From 1bde8120c484ff2c59706befe067eb68dca216f5 Mon Sep 17 00:00:00 2001 From: koalyptus Date: Tue, 20 Sep 2016 04:05:21 +0000 Subject: [PATCH] publish Docs to gh-pages (auto) branch: master SHA: 494e4656ef462ebcad244a01fa9c18f28e3ab611 range SHA: 08b244cbc44c...494e4656ef46 build id: 161225197 build number: 426 --- docs/ast/source/modules/popupFilter.js.json | 10384 +++++++++------- docs/class/src/emitter.js~Emitter.html | 2 +- ...pterEzEditTable.js~AdapterEzEditTable.html | 2 +- .../extensions/colOps/colOps.js~ColOps.html | 2 +- .../colsVisibility.js~ColsVisibility.html | 2 +- ...iltersVisibility.js~FiltersVisibility.html | 2 +- ...Sortabletable.js~AdapterSortableTable.html | 2 +- docs/class/src/feature.js~Feature.html | 2 +- .../alternateRows.js~AlternateRows.html | 2 +- .../src/modules/checkList.js~CheckList.html | 2 +- .../modules/clearButton.js~ClearButton.html | 2 +- .../src/modules/dropdown.js~Dropdown.html | 2 +- .../src/modules/gridLayout.js~GridLayout.html | 2 +- docs/class/src/modules/hash.js~Hash.html | 2 +- docs/class/src/modules/help.js~Help.html | 2 +- ...highlightKeywords.js~HighlightKeyword.html | 2 +- docs/class/src/modules/loader.js~Loader.html | 2 +- .../src/modules/noResults.js~NoResults.html | 2 +- docs/class/src/modules/paging.js~Paging.html | 2 +- .../modules/popupFilter.js~PopupFilter.html | 179 +- .../modules/rowsCounter.js~RowsCounter.html | 2 +- docs/class/src/modules/state.js~State.html | 2 +- .../src/modules/statusBar.js~StatusBar.html | 2 +- .../class/src/modules/storage.js~Storage.html | 2 +- .../class/src/tablefilter.js~TableFilter.html | 2 +- docs/coverage.json | 8 +- docs/dump.json | 1048 +- docs/file/src/array.js.html | 2 +- docs/file/src/const.js.html | 2 +- docs/file/src/cookie.js.html | 2 +- docs/file/src/date.js.html | 2 +- docs/file/src/dom.js.html | 2 +- docs/file/src/emitter.js.html | 2 +- docs/file/src/event.js.html | 2 +- .../advancedGrid/adapterEzEditTable.js.html | 2 +- .../advancedGrid/advancedGrid.js.html | 2 +- .../file/src/extensions/colOps/colOps.js.html | 2 +- .../colsVisibility/colsVisibility.js.html | 2 +- .../filtersVisibility.js.html | 2 +- .../sort/adapterSortabletable.js.html | 2 +- docs/file/src/extensions/sort/sort.js.html | 2 +- docs/file/src/feature.js.html | 2 +- docs/file/src/helpers.js.html | 2 +- docs/file/src/modules/alternateRows.js.html | 2 +- docs/file/src/modules/checkList.js.html | 2 +- docs/file/src/modules/clearButton.js.html | 2 +- docs/file/src/modules/dropdown.js.html | 2 +- docs/file/src/modules/gridLayout.js.html | 2 +- docs/file/src/modules/hash.js.html | 2 +- docs/file/src/modules/help.js.html | 2 +- .../src/modules/highlightKeywords.js.html | 2 +- docs/file/src/modules/loader.js.html | 2 +- docs/file/src/modules/noResults.js.html | 2 +- docs/file/src/modules/paging.js.html | 2 +- docs/file/src/modules/popupFilter.js.html | 81 +- docs/file/src/modules/rowsCounter.js.html | 2 +- docs/file/src/modules/state.js.html | 2 +- docs/file/src/modules/statusBar.js.html | 2 +- docs/file/src/modules/storage.js.html | 2 +- docs/file/src/root.js.html | 2 +- docs/file/src/sort.js.html | 2 +- docs/file/src/string.js.html | 2 +- docs/file/src/tablefilter.js.html | 2 +- docs/file/src/types.js.html | 2 +- docs/identifiers.html | 2 +- docs/index.html | 2 +- docs/package.json | 4 +- docs/script/search_index.js | 18 +- docs/source.html | 84 +- docs/variable/index.html | 2 +- 70 files changed, 6503 insertions(+), 5427 deletions(-) diff --git a/docs/ast/source/modules/popupFilter.js.json b/docs/ast/source/modules/popupFilter.js.json index 0cb3b540..d0198cc3 100644 --- a/docs/ast/source/modules/popupFilter.js.json +++ b/docs/ast/source/modules/popupFilter.js.json @@ -6716,99 +6716,280 @@ "column": 59 } } + }, + { + "type": "Line", + "value": " TODO: Prevent the filters row to simplify headers row index adjusting", + "range": [ + 4284, + 4356 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 165, + "column": 80 + } + } } ] }, { "type": "IfStatement", "test": { - "type": "BinaryExpression", - "operator": "<=", + "type": "LogicalExpression", + "operator": "&&", "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4369, + 4371 + ], + "loc": { + "start": { + "line": 166, + "column": 12 + }, + "end": { + "line": 166, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersRow", + "range": [ + 4372, + 4382 + ], + "loc": { + "start": { + "line": 166, + "column": 15 + }, + "end": { + "line": 166, + "column": 25 + } + } + }, "range": [ - 4288, - 4290 + 4369, + 4382 ], "loc": { "start": { - "line": 165, + "line": 166, "column": 12 }, "end": { - "line": 165, - "column": 14 - } - } - }, - "property": { - "type": "Identifier", - "name": "headersRow", - "range": [ - 4291, - 4301 - ], - "loc": { - "start": { - "line": 165, - "column": 15 - }, - "end": { - "line": 165, + "line": 166, "column": 25 } } }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 4386, + 4387 + ], + "loc": { + "start": { + "line": 166, + "column": 29 + }, + "end": { + "line": 166, + "column": 30 + } + } + }, "range": [ - 4288, - 4301 + 4369, + 4387 ], "loc": { "start": { - "line": 165, + "line": 166, "column": 12 }, "end": { - "line": 165, - "column": 25 - } - } - }, - "right": { - "type": "Literal", - "value": 1, - "raw": "1", - "range": [ - 4305, - 4306 - ], - "loc": { - "start": { - "line": 165, - "column": 29 - }, - "end": { - "line": 165, + "line": 166, "column": 30 } } }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNaN", + "range": [ + 4391, + 4396 + ], + "loc": { + "start": { + "line": 166, + "column": 34 + }, + "end": { + "line": 166, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4397, + 4399 + ], + "loc": { + "start": { + "line": 166, + "column": 40 + }, + "end": { + "line": 166, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 4400, + 4406 + ], + "loc": { + "start": { + "line": 166, + "column": 43 + }, + "end": { + "line": 166, + "column": 49 + } + } + }, + "range": [ + 4397, + 4406 + ], + "loc": { + "start": { + "line": 166, + "column": 40 + }, + "end": { + "line": 166, + "column": 49 + } + } + }, + "arguments": [], + "range": [ + 4397, + 4408 + ], + "loc": { + "start": { + "line": 166, + "column": 40 + }, + "end": { + "line": 166, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "headers_row_index", + "range": [ + 4409, + 4426 + ], + "loc": { + "start": { + "line": 166, + "column": 52 + }, + "end": { + "line": 166, + "column": 69 + } + } + }, + "range": [ + 4397, + 4426 + ], + "loc": { + "start": { + "line": 166, + "column": 40 + }, + "end": { + "line": 166, + "column": 69 + } + } + } + ], + "range": [ + 4391, + 4427 + ], + "loc": { + "start": { + "line": 166, + "column": 34 + }, + "end": { + "line": 166, + "column": 70 + } + } + }, "range": [ - 4288, - 4306 + 4369, + 4427 ], "loc": { "start": { - "line": 165, + "line": 166, "column": 12 }, "end": { - "line": 165, - "column": 30 + "line": 166, + "column": 70 } } }, @@ -6827,16 +7008,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4322, - 4324 + 4443, + 4445 ], "loc": { "start": { - "line": 166, + "line": 167, "column": 12 }, "end": { - "line": 166, + "line": 167, "column": 14 } } @@ -6845,31 +7026,31 @@ "type": "Identifier", "name": "headersRow", "range": [ - 4325, - 4335 + 4446, + 4456 ], "loc": { "start": { - "line": 166, + "line": 167, "column": 15 }, "end": { - "line": 166, + "line": 167, "column": 25 } } }, "range": [ - 4322, - 4335 + 4443, + 4456 ], "loc": { "start": { - "line": 166, + "line": 167, "column": 12 }, "end": { - "line": 166, + "line": 167, "column": 25 } } @@ -6879,78 +7060,78 @@ "value": 0, "raw": "0", "range": [ - 4338, - 4339 + 4459, + 4460 ], "loc": { "start": { - "line": 166, + "line": 167, "column": 28 }, "end": { - "line": 166, + "line": 167, "column": 29 } } }, "range": [ - 4322, - 4339 + 4443, + 4460 ], "loc": { "start": { - "line": 166, + "line": 167, "column": 12 }, "end": { - "line": 166, + "line": 167, "column": 29 } } }, "range": [ - 4322, - 4340 + 4443, + 4461 ], "loc": { "start": { - "line": 166, + "line": 167, "column": 12 }, "end": { - "line": 166, + "line": 167, "column": 30 } } } ], "range": [ - 4308, - 4350 + 4429, + 4471 ], "loc": { "start": { - "line": 165, - "column": 32 + "line": 166, + "column": 72 }, "end": { - "line": 167, + "line": 168, "column": 9 } } }, "alternate": null, "range": [ - 4284, - 4350 + 4365, + 4471 ], "loc": { "start": { - "line": 165, + "line": 166, "column": 8 }, "end": { - "line": 167, + "line": 168, "column": 9 } }, @@ -6972,413 +7153,161 @@ "column": 59 } } + }, + { + "type": "Line", + "value": " TODO: Prevent the filters row to simplify headers row index adjusting", + "range": [ + 4284, + 4356 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 165, + "column": 80 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " Adjust headers row index for grid-layout mode", + "range": [ + 4481, + 4529 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 56 + } + } + }, + { + "type": "Line", + "value": " TODO: Prevent the filters row to simplify headers row index adjusting", + "range": [ + 4538, + 4610 + ], + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 171, + "column": 80 + } + } } ] }, { - "type": "ForStatement", - "init": { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "i", - "range": [ - 4369, - 4370 - ], - "loc": { - "start": { - "line": 169, - "column": 17 - }, - "end": { - "line": 169, - "column": 18 - } - } - }, - "init": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 4373, - 4374 - ], - "loc": { - "start": { - "line": 169, - "column": 21 - }, - "end": { - "line": 169, - "column": 22 - } - } - }, - "range": [ - 4369, - 4374 - ], - "loc": { - "start": { - "line": 169, - "column": 17 - }, - "end": { - "line": 169, - "column": 22 - } - } - } - ], - "kind": "let", - "range": [ - 4365, - 4374 - ], - "loc": { - "start": { - "line": 169, - "column": 13 - }, - "end": { - "line": 169, - "column": 22 - } - } - }, + "type": "IfStatement", "test": { - "type": "BinaryExpression", - "operator": "<", - "left": { + "type": "MemberExpression", + "computed": false, + "object": { "type": "Identifier", - "name": "i", + "name": "tf", "range": [ - 4376, - 4377 + 4623, + 4625 ], "loc": { "start": { - "line": 169, - "column": 24 + "line": 172, + "column": 12 }, "end": { - "line": 169, + "line": 172, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 4626, + 4636 + ], + "loc": { + "start": { + "line": 172, + "column": 15 + }, + "end": { + "line": 172, "column": 25 } } }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 4380, - 4382 - ], - "loc": { - "start": { - "line": 169, - "column": 28 - }, - "end": { - "line": 169, - "column": 30 - } - } - }, - "property": { - "type": "Identifier", - "name": "nbCells", - "range": [ - 4383, - 4390 - ], - "loc": { - "start": { - "line": 169, - "column": 31 - }, - "end": { - "line": 169, - "column": 38 - } - } - }, - "range": [ - 4380, - 4390 - ], - "loc": { - "start": { - "line": 169, - "column": 28 - }, - "end": { - "line": 169, - "column": 38 - } - } - }, "range": [ - 4376, - 4390 + 4623, + 4636 ], "loc": { "start": { - "line": 169, - "column": 24 + "line": 172, + "column": 12 }, "end": { - "line": 169, - "column": 38 + "line": 172, + "column": 25 } } }, - "update": { - "type": "UpdateExpression", - "operator": "++", - "argument": { - "type": "Identifier", - "name": "i", - "range": [ - 4392, - 4393 - ], - "loc": { - "start": { - "line": 169, - "column": 40 - }, - "end": { - "line": 169, - "column": 41 - } - } - }, - "prefix": false, - "range": [ - 4392, - 4395 - ], - "loc": { - "start": { - "line": 169, - "column": 40 - }, - "end": { - "line": 169, - "column": 43 - } - } - }, - "body": { + "consequent": { "type": "BlockStatement", "body": [ { - "type": "IfStatement", - "test": { - "type": "BinaryExpression", - "operator": "===", - "left": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 4415, - 4417 - ], - "loc": { - "start": { - "line": 170, - "column": 16 - }, - "end": { - "line": 170, - "column": 18 - } - } - }, - "property": { - "type": "Identifier", - "name": "getFilterType", - "range": [ - 4418, - 4431 - ], - "loc": { - "start": { - "line": 170, - "column": 19 - }, - "end": { - "line": 170, - "column": 32 - } - } - }, - "range": [ - 4415, - 4431 - ], - "loc": { - "start": { - "line": 170, - "column": 16 - }, - "end": { - "line": 170, - "column": 32 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "i", - "range": [ - 4432, - 4433 - ], - "loc": { - "start": { - "line": 170, - "column": 33 - }, - "end": { - "line": 170, - "column": 34 - } - } - } - ], - "range": [ - 4415, - 4434 - ], - "loc": { - "start": { - "line": 170, - "column": 16 - }, - "end": { - "line": 170, - "column": 35 - } - } - }, - "right": { - "type": "Identifier", - "name": "NONE", - "range": [ - 4439, - 4443 - ], - "loc": { - "start": { - "line": 170, - "column": 40 - }, - "end": { - "line": 170, - "column": 44 - } - } - }, - "range": [ - 4415, - 4443 - ], - "loc": { - "start": { - "line": 170, - "column": 16 - }, - "end": { - "line": 170, - "column": 44 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ContinueStatement", - "label": null, - "range": [ - 4463, - 4472 - ], - "loc": { - "start": { - "line": 171, - "column": 16 - }, - "end": { - "line": 171, - "column": 25 - } - } - } - ], - "range": [ - 4445, - 4486 - ], - "loc": { - "start": { - "line": 170, - "column": 46 - }, - "end": { - "line": 172, - "column": 13 - } - } - }, - "alternate": null, - "range": [ - 4411, - 4486 - ], - "loc": { - "start": { - "line": 170, - "column": 12 - }, - "end": { - "line": 172, - "column": 13 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { "type": "Identifier", - "name": "popUpSpan", + "name": "tf", "range": [ - 4503, - 4512 + 4652, + 4654 ], "loc": { "start": { "line": 173, - "column": 16 + "column": 12 + }, + "end": { + "line": 173, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersRow", + "range": [ + 4655, + 4665 + ], + "loc": { + "start": { + "line": 173, + "column": 15 }, "end": { "line": 173, @@ -7386,374 +7315,40 @@ } } }, - "init": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "createElm", - "range": [ - 4515, - 4524 - ], - "loc": { - "start": { - "line": 173, - "column": 28 - }, - "end": { - "line": 173, - "column": 37 - } - } - }, - "arguments": [ - { - "type": "Literal", - "value": "span", - "raw": "'span'", - "range": [ - 4542, - 4548 - ], - "loc": { - "start": { - "line": 174, - "column": 16 - }, - "end": { - "line": 174, - "column": 22 - } - } - }, - { - "type": "ArrayExpression", - "elements": [ - { - "type": "Literal", - "value": "id", - "raw": "'id'", - "range": [ - 4567, - 4571 - ], - "loc": { - "start": { - "line": 175, - "column": 17 - }, - "end": { - "line": 175, - "column": 21 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 4573, - 4577 - ], - "loc": { - "start": { - "line": 175, - "column": 23 - }, - "end": { - "line": 175, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "name": "prfxSpan", - "range": [ - 4578, - 4586 - ], - "loc": { - "start": { - "line": 175, - "column": 28 - }, - "end": { - "line": 175, - "column": 36 - } - } - }, - "range": [ - 4573, - 4586 - ], - "loc": { - "start": { - "line": 175, - "column": 23 - }, - "end": { - "line": 175, - "column": 36 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 4589, - 4591 - ], - "loc": { - "start": { - "line": 175, - "column": 39 - }, - "end": { - "line": 175, - "column": 41 - } - } - }, - "property": { - "type": "Identifier", - "name": "id", - "range": [ - 4592, - 4594 - ], - "loc": { - "start": { - "line": 175, - "column": 42 - }, - "end": { - "line": 175, - "column": 44 - } - } - }, - "range": [ - 4589, - 4594 - ], - "loc": { - "start": { - "line": 175, - "column": 39 - }, - "end": { - "line": 175, - "column": 44 - } - } - }, - "range": [ - 4573, - 4594 - ], - "loc": { - "start": { - "line": 175, - "column": 23 - }, - "end": { - "line": 175, - "column": 44 - } - } - }, - "right": { - "type": "Literal", - "value": "_", - "raw": "'_'", - "range": [ - 4597, - 4600 - ], - "loc": { - "start": { - "line": 175, - "column": 47 - }, - "end": { - "line": 175, - "column": 50 - } - } - }, - "range": [ - 4573, - 4600 - ], - "loc": { - "start": { - "line": 175, - "column": 23 - }, - "end": { - "line": 175, - "column": 50 - } - } - }, - "right": { - "type": "Identifier", - "name": "i", - "range": [ - 4603, - 4604 - ], - "loc": { - "start": { - "line": 175, - "column": 53 - }, - "end": { - "line": 175, - "column": 54 - } - } - }, - "range": [ - 4573, - 4604 - ], - "loc": { - "start": { - "line": 175, - "column": 23 - }, - "end": { - "line": 175, - "column": 54 - } - } - } - ], - "range": [ - 4566, - 4605 - ], - "loc": { - "start": { - "line": 175, - "column": 16 - }, - "end": { - "line": 175, - "column": 55 - } - } - }, - { - "type": "ArrayExpression", - "elements": [ - { - "type": "Literal", - "value": "ci", - "raw": "'ci'", - "range": [ - 4624, - 4628 - ], - "loc": { - "start": { - "line": 176, - "column": 17 - }, - "end": { - "line": 176, - "column": 21 - } - } - }, - { - "type": "Identifier", - "name": "i", - "range": [ - 4630, - 4631 - ], - "loc": { - "start": { - "line": 176, - "column": 23 - }, - "end": { - "line": 176, - "column": 24 - } - } - } - ], - "range": [ - 4623, - 4632 - ], - "loc": { - "start": { - "line": 176, - "column": 16 - }, - "end": { - "line": 176, - "column": 25 - } - } - } - ], - "range": [ - 4515, - 4646 - ], - "loc": { - "start": { - "line": 173, - "column": 28 - }, - "end": { - "line": 177, - "column": 13 - } - } - }, "range": [ - 4503, - 4646 + 4652, + 4665 ], "loc": { "start": { "line": 173, - "column": 16 + "column": 12 }, "end": { - "line": 177, - "column": 13 + "line": 173, + "column": 25 } } + }, + "prefix": false, + "range": [ + 4652, + 4667 + ], + "loc": { + "start": { + "line": 173, + "column": 12 + }, + "end": { + "line": 173, + "column": 27 + } } - ], - "kind": "let", + }, "range": [ - 4499, - 4647 + 4652, + 4668 ], "loc": { "start": { @@ -7761,993 +7356,183 @@ "column": 12 }, "end": { - "line": 177, - "column": 14 + "line": 173, + "column": 28 } } }, { "type": "ExpressionStatement", "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "popUpSpan", - "range": [ - 4660, - 4669 - ], - "loc": { - "start": { - "line": 178, - "column": 12 - }, - "end": { - "line": 178, - "column": 21 - } - } - }, - "property": { - "type": "Identifier", - "name": "innerHTML", - "range": [ - 4670, - 4679 - ], - "loc": { - "start": { - "line": 178, - "column": 22 - }, - "end": { - "line": 178, - "column": 31 - } - } - }, - "range": [ - 4660, - 4679 - ], - "loc": { - "start": { - "line": 178, - "column": 12 - }, - "end": { - "line": 178, - "column": 31 - } - } - }, - "right": { + "type": "CallExpression", + "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "ThisExpression", "range": [ - 4682, - 4686 + 4681, + 4685 ], "loc": { "start": { - "line": 178, - "column": 34 + "line": 174, + "column": 12 }, "end": { - "line": 178, - "column": 38 - } - } - }, - "property": { - "type": "Identifier", - "name": "iconHtml", - "range": [ - 4687, - 4695 - ], - "loc": { - "start": { - "line": 178, - "column": 39 - }, - "end": { - "line": 178, - "column": 47 - } - } - }, - "range": [ - 4682, - 4695 - ], - "loc": { - "start": { - "line": 178, - "column": 34 - }, - "end": { - "line": 178, - "column": 47 - } - } - }, - "range": [ - 4660, - 4695 - ], - "loc": { - "start": { - "line": 178, - "column": 12 - }, - "end": { - "line": 178, - "column": 47 - } - } - }, - "range": [ - 4660, - 4696 - ], - "loc": { - "start": { - "line": 178, - "column": 12 - }, - "end": { - "line": 178, - "column": 48 - } - } - }, - { - "type": "VariableDeclaration", - "declarations": [ - { - "type": "VariableDeclarator", - "id": { - "type": "Identifier", - "name": "header", - "range": [ - 4713, - 4719 - ], - "loc": { - "start": { - "line": 179, + "line": 174, "column": 16 - }, - "end": { - "line": 179, - "column": 22 - } - } - }, - "init": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 4722, - 4724 - ], - "loc": { - "start": { - "line": 179, - "column": 25 - }, - "end": { - "line": 179, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "name": "getHeaderElement", - "range": [ - 4725, - 4741 - ], - "loc": { - "start": { - "line": 179, - "column": 28 - }, - "end": { - "line": 179, - "column": 44 - } - } - }, - "range": [ - 4722, - 4741 - ], - "loc": { - "start": { - "line": 179, - "column": 25 - }, - "end": { - "line": 179, - "column": 44 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "i", - "range": [ - 4742, - 4743 - ], - "loc": { - "start": { - "line": 179, - "column": 45 - }, - "end": { - "line": 179, - "column": 46 - } - } - } - ], - "range": [ - 4722, - 4744 - ], - "loc": { - "start": { - "line": 179, - "column": 25 - }, - "end": { - "line": 179, - "column": 47 - } - } - }, - "range": [ - 4713, - 4744 - ], - "loc": { - "start": { - "line": 179, - "column": 16 - }, - "end": { - "line": 179, - "column": 47 - } - } - } - ], - "kind": "let", - "range": [ - 4709, - 4745 - ], - "loc": { - "start": { - "line": 179, - "column": 12 - }, - "end": { - "line": 179, - "column": 48 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "header", - "range": [ - 4758, - 4764 - ], - "loc": { - "start": { - "line": 180, - "column": 12 - }, - "end": { - "line": 180, - "column": 18 } } }, "property": { "type": "Identifier", - "name": "appendChild", + "name": "buildIcons", "range": [ - 4765, - 4776 + 4686, + 4696 ], "loc": { "start": { - "line": 180, - "column": 19 + "line": 174, + "column": 17 }, "end": { - "line": 180, - "column": 30 - } - } - }, - "range": [ - 4758, - 4776 - ], - "loc": { - "start": { - "line": 180, - "column": 12 - }, - "end": { - "line": 180, - "column": 30 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "popUpSpan", - "range": [ - 4777, - 4786 - ], - "loc": { - "start": { - "line": 180, - "column": 31 - }, - "end": { - "line": 180, - "column": 40 - } - } - } - ], - "range": [ - 4758, - 4787 - ], - "loc": { - "start": { - "line": 180, - "column": 12 - }, - "end": { - "line": 180, - "column": 41 - } - } - }, - "range": [ - 4758, - 4788 - ], - "loc": { - "start": { - "line": 180, - "column": 12 - }, - "end": { - "line": 180, - "column": 42 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "addEvt", - "range": [ - 4801, - 4807 - ], - "loc": { - "start": { - "line": 181, - "column": 12 - }, - "end": { - "line": 181, - "column": 18 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "popUpSpan", - "range": [ - 4808, - 4817 - ], - "loc": { - "start": { - "line": 181, - "column": 19 - }, - "end": { - "line": 181, - "column": 28 - } - } - }, - { - "type": "Literal", - "value": "click", - "raw": "'click'", - "range": [ - 4819, - 4826 - ], - "loc": { - "start": { - "line": 181, - "column": 30 - }, - "end": { - "line": 181, - "column": 37 - } - } - }, - { - "type": "ArrowFunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "evt", - "range": [ - 4829, - 4832 - ], - "loc": { - "start": { - "line": 181, - "column": 40 - }, - "end": { - "line": 181, - "column": 43 - } - } - } - ], - "body": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 4837, - 4841 - ], - "loc": { - "start": { - "line": 181, - "column": 48 - }, - "end": { - "line": 181, - "column": 52 - } - } - }, - "property": { - "type": "Identifier", - "name": "onClick", - "range": [ - 4842, - 4849 - ], - "loc": { - "start": { - "line": 181, - "column": 53 - }, - "end": { - "line": 181, - "column": 60 - } - } - }, - "range": [ - 4837, - 4849 - ], - "loc": { - "start": { - "line": 181, - "column": 48 - }, - "end": { - "line": 181, - "column": 60 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "evt", - "range": [ - 4850, - 4853 - ], - "loc": { - "start": { - "line": 181, - "column": 61 - }, - "end": { - "line": 181, - "column": 64 - } - } - } - ], - "range": [ - 4837, - 4854 - ], - "loc": { - "start": { - "line": 181, - "column": 48 - }, - "end": { - "line": 181, - "column": 65 - } - } - }, - "generator": false, - "expression": true, - "range": [ - 4828, - 4854 - ], - "loc": { - "start": { - "line": 181, - "column": 39 - }, - "end": { - "line": 181, - "column": 65 - } - } - } - ], - "range": [ - 4801, - 4855 - ], - "loc": { - "start": { - "line": 181, - "column": 12 - }, - "end": { - "line": 181, - "column": 66 - } - } - }, - "range": [ - 4801, - 4856 - ], - "loc": { - "start": { - "line": 181, - "column": 12 - }, - "end": { - "line": 181, - "column": 67 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 4869, - 4873 - ], - "loc": { - "start": { - "line": 182, - "column": 12 - }, - "end": { - "line": 182, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "name": "fltSpans", - "range": [ - 4874, - 4882 - ], - "loc": { - "start": { - "line": 182, - "column": 17 - }, - "end": { - "line": 182, - "column": 25 - } - } - }, - "range": [ - 4869, - 4882 - ], - "loc": { - "start": { - "line": 182, - "column": 12 - }, - "end": { - "line": 182, - "column": 25 - } - } - }, - "property": { - "type": "Identifier", - "name": "i", - "range": [ - 4883, - 4884 - ], - "loc": { - "start": { - "line": 182, - "column": 26 - }, - "end": { - "line": 182, + "line": 174, "column": 27 } } }, "range": [ - 4869, - 4885 + 4681, + 4696 ], "loc": { "start": { - "line": 182, + "line": 174, "column": 12 }, "end": { - "line": 182, - "column": 28 - } - } - }, - "right": { - "type": "Identifier", - "name": "popUpSpan", - "range": [ - 4888, - 4897 - ], - "loc": { - "start": { - "line": 182, - "column": 31 - }, - "end": { - "line": 182, - "column": 40 + "line": 174, + "column": 27 } } }, + "arguments": [], "range": [ - 4869, - 4897 + 4681, + 4698 ], "loc": { "start": { - "line": 182, + "line": 174, "column": 12 }, "end": { - "line": 182, - "column": 40 + "line": 174, + "column": 29 } } }, "range": [ - 4869, - 4898 + 4681, + 4699 ], "loc": { "start": { - "line": 182, + "line": 174, "column": 12 }, "end": { - "line": 182, - "column": 41 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": true, - "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 4911, - 4915 - ], - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 183, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "name": "fltIcons", - "range": [ - 4916, - 4924 - ], - "loc": { - "start": { - "line": 183, - "column": 17 - }, - "end": { - "line": 183, - "column": 25 - } - } - }, - "range": [ - 4911, - 4924 - ], - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 183, - "column": 25 - } - } - }, - "property": { - "type": "Identifier", - "name": "i", - "range": [ - 4925, - 4926 - ], - "loc": { - "start": { - "line": 183, - "column": 26 - }, - "end": { - "line": 183, - "column": 27 - } - } - }, - "range": [ - 4911, - 4927 - ], - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 183, - "column": 28 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "popUpSpan", - "range": [ - 4930, - 4939 - ], - "loc": { - "start": { - "line": 183, - "column": 31 - }, - "end": { - "line": 183, - "column": 40 - } - } - }, - "property": { - "type": "Identifier", - "name": "firstChild", - "range": [ - 4940, - 4950 - ], - "loc": { - "start": { - "line": 183, - "column": 41 - }, - "end": { - "line": 183, - "column": 51 - } - } - }, - "range": [ - 4930, - 4950 - ], - "loc": { - "start": { - "line": 183, - "column": 31 - }, - "end": { - "line": 183, - "column": 51 - } - } - }, - "range": [ - 4911, - 4950 - ], - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 183, - "column": 51 - } - } - }, - "range": [ - 4911, - 4951 - ], - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 183, - "column": 52 + "line": 174, + "column": 30 } } } ], "range": [ - 4397, - 4961 + 4638, + 4709 ], "loc": { "start": { - "line": 169, - "column": 45 + "line": 172, + "column": 27 }, "end": { - "line": 184, + "line": 175, "column": 9 } } }, + "alternate": null, "range": [ - 4360, - 4961 + 4619, + 4709 ], "loc": { "start": { - "line": 169, + "line": 172, "column": 8 }, "end": { - "line": 184, + "line": 175, "column": 9 } }, + "leadingComments": [ + { + "type": "Line", + "value": " Adjust headers row index for grid-layout mode", + "range": [ + 4481, + 4529 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 56 + } + } + }, + { + "type": "Line", + "value": " TODO: Prevent the filters row to simplify headers row index adjusting", + "range": [ + 4538, + 4610 + ], + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 171, + "column": 80 + } + } + } + ], "trailingComments": [ { "type": "Line", "value": " subscribe to events", "range": [ - 4971, - 4993 + 4719, + 4741 ], "loc": { "start": { - "line": 186, + "line": 177, "column": 8 }, "end": { - "line": 186, + "line": 177, "column": 30 } } @@ -8767,16 +7552,16 @@ "object": { "type": "ThisExpression", "range": [ - 5002, - 5006 + 4750, + 4754 ], "loc": { "start": { - "line": 187, + "line": 178, "column": 8 }, "end": { - "line": 187, + "line": 178, "column": 12 } } @@ -8785,31 +7570,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 5007, - 5014 + 4755, + 4762 ], "loc": { "start": { - "line": 187, + "line": 178, "column": 13 }, "end": { - "line": 187, + "line": 178, "column": 20 } } }, "range": [ - 5002, - 5014 + 4750, + 4762 ], "loc": { "start": { - "line": 187, + "line": 178, "column": 8 }, "end": { - "line": 187, + "line": 178, "column": 20 } } @@ -8818,31 +7603,31 @@ "type": "Identifier", "name": "on", "range": [ - 5015, - 5017 + 4763, + 4765 ], "loc": { "start": { - "line": 187, + "line": 178, "column": 21 }, "end": { - "line": 187, + "line": 178, "column": 23 } } }, "range": [ - 5002, - 5017 + 4750, + 4765 ], "loc": { "start": { - "line": 187, + "line": 178, "column": 8 }, "end": { - "line": 187, + "line": 178, "column": 23 } } @@ -8856,32 +7641,32 @@ "value": "before-filtering", "raw": "'before-filtering'", "range": [ - 5019, - 5037 + 4767, + 4785 ], "loc": { "start": { - "line": 187, + "line": 178, "column": 25 }, "end": { - "line": 187, + "line": 178, "column": 43 } } } ], "range": [ - 5018, - 5038 + 4766, + 4786 ], "loc": { "start": { - "line": 187, + "line": 178, "column": 24 }, "end": { - "line": 187, + "line": 178, "column": 44 } } @@ -8898,114 +7683,114 @@ "object": { "type": "ThisExpression", "range": [ - 5046, - 5050 + 4794, + 4798 ], "loc": { "start": { - "line": 187, + "line": 178, "column": 52 }, "end": { - "line": 187, + "line": 178, "column": 56 } } }, "property": { "type": "Identifier", - "name": "buildIcons", + "name": "setIconsState", "range": [ - 5051, - 5061 + 4799, + 4812 ], "loc": { "start": { - "line": 187, + "line": 178, "column": 57 }, "end": { - "line": 187, - "column": 67 + "line": 178, + "column": 70 } } }, "range": [ - 5046, - 5061 + 4794, + 4812 ], "loc": { "start": { - "line": 187, + "line": 178, "column": 52 }, "end": { - "line": 187, - "column": 67 + "line": 178, + "column": 70 } } }, "arguments": [], "range": [ - 5046, - 5063 + 4794, + 4814 ], "loc": { "start": { - "line": 187, + "line": 178, "column": 52 }, "end": { - "line": 187, - "column": 69 + "line": 178, + "column": 72 } } }, "generator": false, "expression": true, "range": [ - 5040, - 5063 + 4788, + 4814 ], "loc": { "start": { - "line": 187, + "line": 178, "column": 46 }, "end": { - "line": 187, - "column": 69 + "line": 178, + "column": 72 } } } ], "range": [ - 5002, - 5064 + 4750, + 4815 ], "loc": { "start": { - "line": 187, + "line": 178, "column": 8 }, "end": { - "line": 187, - "column": 70 + "line": 178, + "column": 73 } } }, "range": [ - 5002, - 5065 + 4750, + 4816 ], "loc": { "start": { - "line": 187, + "line": 178, "column": 8 }, "end": { - "line": 187, - "column": 71 + "line": 178, + "column": 74 } }, "leadingComments": [ @@ -9013,16 +7798,16 @@ "type": "Line", "value": " subscribe to events", "range": [ - 4971, - 4993 + 4719, + 4741 ], "loc": { "start": { - "line": 186, + "line": 177, "column": 8 }, "end": { - "line": 186, + "line": 177, "column": 30 } } @@ -9042,16 +7827,16 @@ "object": { "type": "ThisExpression", "range": [ - 5074, - 5078 + 4825, + 4829 ], "loc": { "start": { - "line": 188, + "line": 179, "column": 8 }, "end": { - "line": 188, + "line": 179, "column": 12 } } @@ -9060,31 +7845,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 5079, - 5086 + 4830, + 4837 ], "loc": { "start": { - "line": 188, + "line": 179, "column": 13 }, "end": { - "line": 188, + "line": 179, "column": 20 } } }, "range": [ - 5074, - 5086 + 4825, + 4837 ], "loc": { "start": { - "line": 188, + "line": 179, "column": 8 }, "end": { - "line": 188, + "line": 179, "column": 20 } } @@ -9093,31 +7878,31 @@ "type": "Identifier", "name": "on", "range": [ - 5087, - 5089 + 4838, + 4840 ], "loc": { "start": { - "line": 188, + "line": 179, "column": 21 }, "end": { - "line": 188, + "line": 179, "column": 23 } } }, "range": [ - 5074, - 5089 + 4825, + 4840 ], "loc": { "start": { - "line": 188, + "line": 179, "column": 8 }, "end": { - "line": 188, + "line": 179, "column": 23 } } @@ -9131,32 +7916,32 @@ "value": "after-filtering", "raw": "'after-filtering'", "range": [ - 5091, - 5108 + 4842, + 4859 ], "loc": { "start": { - "line": 188, + "line": 179, "column": 25 }, "end": { - "line": 188, + "line": 179, "column": 42 } } } ], "range": [ - 5090, - 5109 + 4841, + 4860 ], "loc": { "start": { - "line": 188, + "line": 179, "column": 24 }, "end": { - "line": 188, + "line": 179, "column": 43 } } @@ -9173,16 +7958,16 @@ "object": { "type": "ThisExpression", "range": [ - 5117, - 5121 + 4868, + 4872 ], "loc": { "start": { - "line": 188, + "line": 179, "column": 51 }, "end": { - "line": 188, + "line": 179, "column": 55 } } @@ -9191,47 +7976,47 @@ "type": "Identifier", "name": "closeAll", "range": [ - 5122, - 5130 + 4873, + 4881 ], "loc": { "start": { - "line": 188, + "line": 179, "column": 56 }, "end": { - "line": 188, + "line": 179, "column": 64 } } }, "range": [ - 5117, - 5130 + 4868, + 4881 ], "loc": { "start": { - "line": 188, + "line": 179, "column": 51 }, "end": { - "line": 188, + "line": 179, "column": 64 } } }, "arguments": [], "range": [ - 5117, - 5132 + 4868, + 4883 ], "loc": { "start": { - "line": 188, + "line": 179, "column": 51 }, "end": { - "line": 188, + "line": 179, "column": 66 } } @@ -9239,47 +8024,47 @@ "generator": false, "expression": true, "range": [ - 5111, - 5132 + 4862, + 4883 ], "loc": { "start": { - "line": 188, + "line": 179, "column": 45 }, "end": { - "line": 188, + "line": 179, "column": 66 } } } ], "range": [ - 5074, - 5133 + 4825, + 4884 ], "loc": { "start": { - "line": 188, + "line": 179, "column": 8 }, "end": { - "line": 188, + "line": 179, "column": 67 } } }, "range": [ - 5074, - 5134 + 4825, + 4885 ], "loc": { "start": { - "line": 188, + "line": 179, "column": 8 }, "end": { - "line": 188, + "line": 179, "column": 68 } } @@ -9297,16 +8082,16 @@ "object": { "type": "ThisExpression", "range": [ - 5143, - 5147 + 4894, + 4898 ], "loc": { "start": { - "line": 189, + "line": 180, "column": 8 }, "end": { - "line": 189, + "line": 180, "column": 12 } } @@ -9315,31 +8100,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 5148, - 5155 + 4899, + 4906 ], "loc": { "start": { - "line": 189, + "line": 180, "column": 13 }, "end": { - "line": 189, + "line": 180, "column": 20 } } }, "range": [ - 5143, - 5155 + 4894, + 4906 ], "loc": { "start": { - "line": 189, + "line": 180, "column": 8 }, "end": { - "line": 189, + "line": 180, "column": 20 } } @@ -9348,31 +8133,31 @@ "type": "Identifier", "name": "on", "range": [ - 5156, - 5158 + 4907, + 4909 ], "loc": { "start": { - "line": 189, + "line": 180, "column": 21 }, "end": { - "line": 189, + "line": 180, "column": 23 } } }, "range": [ - 5143, - 5158 + 4894, + 4909 ], "loc": { "start": { - "line": 189, + "line": 180, "column": 8 }, "end": { - "line": 189, + "line": 180, "column": 23 } } @@ -9386,32 +8171,32 @@ "value": "cell-processed", "raw": "'cell-processed'", "range": [ - 5160, - 5176 + 4911, + 4927 ], "loc": { "start": { - "line": 189, + "line": 180, "column": 25 }, "end": { - "line": 189, + "line": 180, "column": 41 } } } ], "range": [ - 5159, - 5177 + 4910, + 4928 ], "loc": { "start": { - "line": 189, + "line": 180, "column": 24 }, "end": { - "line": 189, + "line": 180, "column": 42 } } @@ -9424,16 +8209,16 @@ "type": "Identifier", "name": "tf", "range": [ - 5192, - 5194 + 4943, + 4945 ], "loc": { "start": { - "line": 190, + "line": 181, "column": 13 }, "end": { - "line": 190, + "line": 181, "column": 15 } } @@ -9442,16 +8227,16 @@ "type": "Identifier", "name": "cellIndex", "range": [ - 5196, - 5205 + 4947, + 4956 ], "loc": { "start": { - "line": 190, + "line": 181, "column": 17 }, "end": { - "line": 190, + "line": 181, "column": 26 } } @@ -9465,50 +8250,50 @@ "object": { "type": "ThisExpression", "range": [ - 5210, - 5214 + 4961, + 4965 ], "loc": { "start": { - "line": 190, + "line": 181, "column": 31 }, "end": { - "line": 190, + "line": 181, "column": 35 } } }, "property": { "type": "Identifier", - "name": "buildIcon", + "name": "changeState", "range": [ - 5215, - 5224 + 4966, + 4977 ], "loc": { "start": { - "line": 190, + "line": 181, "column": 36 }, "end": { - "line": 190, - "column": 45 + "line": 181, + "column": 47 } } }, "range": [ - 5210, - 5224 + 4961, + 4977 ], "loc": { "start": { - "line": 190, + "line": 181, "column": 31 }, "end": { - "line": 190, - "column": 45 + "line": 181, + "column": 47 } } }, @@ -9517,17 +8302,17 @@ "type": "Identifier", "name": "cellIndex", "range": [ - 5225, - 5234 + 4978, + 4987 ], "loc": { "start": { - "line": 190, - "column": 46 + "line": 181, + "column": 48 }, "end": { - "line": 190, - "column": 55 + "line": 181, + "column": 57 } } }, @@ -9536,81 +8321,81 @@ "value": true, "raw": "true", "range": [ - 5236, - 5240 + 4989, + 4993 ], "loc": { "start": { - "line": 190, - "column": 57 + "line": 181, + "column": 59 }, "end": { - "line": 190, - "column": 61 + "line": 181, + "column": 63 } } } ], "range": [ - 5210, - 5241 + 4961, + 4994 ], "loc": { "start": { - "line": 190, + "line": 181, "column": 31 }, "end": { - "line": 190, - "column": 62 + "line": 181, + "column": 64 } } }, "generator": false, "expression": true, "range": [ - 5191, - 5241 + 4942, + 4994 ], "loc": { "start": { - "line": 190, + "line": 181, "column": 12 }, "end": { - "line": 190, - "column": 62 + "line": 181, + "column": 64 } } } ], "range": [ - 5143, - 5242 + 4894, + 4995 ], "loc": { "start": { - "line": 189, + "line": 180, "column": 8 }, "end": { - "line": 190, - "column": 63 + "line": 181, + "column": 65 } } }, "range": [ - 5143, - 5243 + 4894, + 4996 ], "loc": { "start": { - "line": 189, + "line": 180, "column": 8 }, "end": { - "line": 190, - "column": 64 + "line": 181, + "column": 66 } } }, @@ -9627,16 +8412,16 @@ "object": { "type": "ThisExpression", "range": [ - 5252, - 5256 + 5005, + 5009 ], "loc": { "start": { - "line": 191, + "line": 182, "column": 8 }, "end": { - "line": 191, + "line": 182, "column": 12 } } @@ -9645,31 +8430,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 5257, - 5264 + 5010, + 5017 ], "loc": { "start": { - "line": 191, + "line": 182, "column": 13 }, "end": { - "line": 191, + "line": 182, "column": 20 } } }, "range": [ - 5252, - 5264 + 5005, + 5017 ], "loc": { "start": { - "line": 191, + "line": 182, "column": 8 }, "end": { - "line": 191, + "line": 182, "column": 20 } } @@ -9678,31 +8463,31 @@ "type": "Identifier", "name": "on", "range": [ - 5265, - 5267 + 5018, + 5020 ], "loc": { "start": { - "line": 191, + "line": 182, "column": 21 }, "end": { - "line": 191, + "line": 182, "column": 23 } } }, "range": [ - 5252, - 5267 + 5005, + 5020 ], "loc": { "start": { - "line": 191, + "line": 182, "column": 8 }, "end": { - "line": 191, + "line": 182, "column": 23 } } @@ -9716,32 +8501,32 @@ "value": "filters-row-inserted", "raw": "'filters-row-inserted'", "range": [ - 5269, - 5291 + 5022, + 5044 ], "loc": { "start": { - "line": 191, + "line": 182, "column": 25 }, "end": { - "line": 191, + "line": 182, "column": 47 } } } ], "range": [ - 5268, - 5292 + 5021, + 5045 ], "loc": { "start": { - "line": 191, + "line": 182, "column": 24 }, "end": { - "line": 191, + "line": 182, "column": 48 } } @@ -9751,158 +8536,121 @@ "id": null, "params": [], "body": { - "type": "UpdateExpression", - "operator": "++", - "argument": { + "type": "CallExpression", + "callee": { "type": "MemberExpression", "computed": false, "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 5300, - 5304 - ], - "loc": { - "start": { - "line": 191, - "column": 56 - }, - "end": { - "line": 191, - "column": 60 - } - } - }, - "property": { - "type": "Identifier", - "name": "tf", - "range": [ - 5305, - 5307 - ], - "loc": { - "start": { - "line": 191, - "column": 61 - }, - "end": { - "line": 191, - "column": 63 - } - } - }, + "type": "ThisExpression", "range": [ - 5300, - 5307 + 5053, + 5057 ], "loc": { "start": { - "line": 191, + "line": 182, "column": 56 }, "end": { - "line": 191, - "column": 63 + "line": 182, + "column": 60 } } }, "property": { "type": "Identifier", - "name": "headersRow", + "name": "buildIcons", "range": [ - 5308, - 5318 + 5058, + 5068 ], "loc": { "start": { - "line": 191, - "column": 64 + "line": 182, + "column": 61 }, "end": { - "line": 191, - "column": 74 + "line": 182, + "column": 71 } } }, "range": [ - 5300, - 5318 + 5053, + 5068 ], "loc": { "start": { - "line": 191, + "line": 182, "column": 56 }, "end": { - "line": 191, - "column": 74 + "line": 182, + "column": 71 } } }, - "prefix": false, + "arguments": [], "range": [ - 5300, - 5320 + 5053, + 5070 ], "loc": { "start": { - "line": 191, + "line": 182, "column": 56 }, "end": { - "line": 191, - "column": 76 + "line": 182, + "column": 73 } } }, "generator": false, "expression": true, "range": [ - 5294, - 5320 + 5047, + 5070 ], "loc": { "start": { - "line": 191, + "line": 182, "column": 50 }, "end": { - "line": 191, - "column": 76 + "line": 182, + "column": 73 } } } ], "range": [ - 5252, - 5321 + 5005, + 5071 ], "loc": { "start": { - "line": 191, + "line": 182, "column": 8 }, "end": { - "line": 191, - "column": 77 + "line": 182, + "column": 74 } } }, "range": [ - 5252, - 5322 + 5005, + 5072 ], "loc": { "start": { - "line": 191, + "line": 182, "column": 8 }, "end": { - "line": 191, - "column": 78 + "line": 182, + "column": 75 } } }, @@ -9919,16 +8667,16 @@ "object": { "type": "ThisExpression", "range": [ - 5331, - 5335 + 5081, + 5085 ], "loc": { "start": { - "line": 192, + "line": 183, "column": 8 }, "end": { - "line": 192, + "line": 183, "column": 12 } } @@ -9937,31 +8685,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 5336, - 5343 + 5086, + 5093 ], "loc": { "start": { - "line": 192, + "line": 183, "column": 13 }, "end": { - "line": 192, + "line": 183, "column": 20 } } }, "range": [ - 5331, - 5343 + 5081, + 5093 ], "loc": { "start": { - "line": 192, + "line": 183, "column": 8 }, "end": { - "line": 192, + "line": 183, "column": 20 } } @@ -9970,31 +8718,31 @@ "type": "Identifier", "name": "on", "range": [ - 5344, - 5346 + 5094, + 5096 ], "loc": { "start": { - "line": 192, + "line": 183, "column": 21 }, "end": { - "line": 192, + "line": 183, "column": 23 } } }, "range": [ - 5331, - 5346 + 5081, + 5096 ], "loc": { "start": { - "line": 192, + "line": 183, "column": 8 }, "end": { - "line": 192, + "line": 183, "column": 23 } } @@ -10008,32 +8756,32 @@ "value": "before-filter-init", "raw": "'before-filter-init'", "range": [ - 5348, - 5368 + 5098, + 5118 ], "loc": { "start": { - "line": 192, + "line": 183, "column": 25 }, "end": { - "line": 192, + "line": 183, "column": 45 } } } ], "range": [ - 5347, - 5369 + 5097, + 5119 ], "loc": { "start": { - "line": 192, + "line": 183, "column": 24 }, "end": { - "line": 192, + "line": 183, "column": 46 } } @@ -10046,16 +8794,16 @@ "type": "Identifier", "name": "tf", "range": [ - 5384, - 5386 + 5134, + 5136 ], "loc": { "start": { - "line": 193, + "line": 184, "column": 13 }, "end": { - "line": 193, + "line": 184, "column": 15 } } @@ -10064,16 +8812,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5388, - 5396 + 5138, + 5146 ], "loc": { "start": { - "line": 193, + "line": 184, "column": 17 }, "end": { - "line": 193, + "line": 184, "column": 25 } } @@ -10087,16 +8835,16 @@ "object": { "type": "ThisExpression", "range": [ - 5401, - 5405 + 5151, + 5155 ], "loc": { "start": { - "line": 193, + "line": 184, "column": 30 }, "end": { - "line": 193, + "line": 184, "column": 34 } } @@ -10105,31 +8853,31 @@ "type": "Identifier", "name": "build", "range": [ - 5406, - 5411 + 5156, + 5161 ], "loc": { "start": { - "line": 193, + "line": 184, "column": 35 }, "end": { - "line": 193, + "line": 184, "column": 40 } } }, "range": [ - 5401, - 5411 + 5151, + 5161 ], "loc": { "start": { - "line": 193, + "line": 184, "column": 30 }, "end": { - "line": 193, + "line": 184, "column": 40 } } @@ -10139,32 +8887,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5412, - 5420 + 5162, + 5170 ], "loc": { "start": { - "line": 193, + "line": 184, "column": 41 }, "end": { - "line": 193, + "line": 184, "column": 49 } } } ], "range": [ - 5401, - 5421 + 5151, + 5171 ], "loc": { "start": { - "line": 193, + "line": 184, "column": 30 }, "end": { - "line": 193, + "line": 184, "column": 50 } } @@ -10172,47 +8920,47 @@ "generator": false, "expression": true, "range": [ - 5383, - 5421 + 5133, + 5171 ], "loc": { "start": { - "line": 193, + "line": 184, "column": 12 }, "end": { - "line": 193, + "line": 184, "column": 50 } } } ], "range": [ - 5331, - 5422 + 5081, + 5172 ], "loc": { "start": { - "line": 192, + "line": 183, "column": 8 }, "end": { - "line": 193, + "line": 184, "column": 51 } } }, "range": [ - 5331, - 5423 + 5081, + 5173 ], "loc": { "start": { - "line": 192, + "line": 183, "column": 8 }, "end": { - "line": 193, + "line": 184, "column": 52 } }, @@ -10221,16 +8969,16 @@ "type": "Block", "value": "*\n * @inherited\n ", "range": [ - 5433, - 5470 + 5183, + 5220 ], "loc": { "start": { - "line": 195, + "line": 186, "column": 8 }, "end": { - "line": 197, + "line": 188, "column": 11 } } @@ -10248,16 +8996,16 @@ "object": { "type": "ThisExpression", "range": [ - 5479, - 5483 + 5229, + 5233 ], "loc": { "start": { - "line": 198, + "line": 189, "column": 8 }, "end": { - "line": 198, + "line": 189, "column": 12 } } @@ -10266,31 +9014,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 5484, - 5495 + 5234, + 5245 ], "loc": { "start": { - "line": 198, + "line": 189, "column": 13 }, "end": { - "line": 198, + "line": 189, "column": 24 } } }, "range": [ - 5479, - 5495 + 5229, + 5245 ], "loc": { "start": { - "line": 198, + "line": 189, "column": 8 }, "end": { - "line": 198, + "line": 189, "column": 24 } } @@ -10300,46 +9048,46 @@ "value": true, "raw": "true", "range": [ - 5498, - 5502 + 5248, + 5252 ], "loc": { "start": { - "line": 198, + "line": 189, "column": 27 }, "end": { - "line": 198, + "line": 189, "column": 31 } } }, "range": [ - 5479, - 5502 + 5229, + 5252 ], "loc": { "start": { - "line": 198, + "line": 189, "column": 8 }, "end": { - "line": 198, + "line": 189, "column": 31 } } }, "range": [ - 5479, - 5503 + 5229, + 5253 ], "loc": { "start": { - "line": 198, + "line": 189, "column": 8 }, "end": { - "line": 198, + "line": 189, "column": 32 } }, @@ -10348,16 +9096,16 @@ "type": "Block", "value": "*\n * @inherited\n ", "range": [ - 5433, - 5470 + 5183, + 5220 ], "loc": { "start": { - "line": 195, + "line": 186, "column": 8 }, "end": { - "line": 197, + "line": 188, "column": 11 } } @@ -10367,7 +9115,7 @@ ], "range": [ 4124, - 5509 + 5259 ], "loc": { "start": { @@ -10375,7 +9123,7 @@ "column": 11 }, "end": { - "line": 199, + "line": 190, "column": 5 } } @@ -10384,7 +9132,7 @@ "expression": false, "range": [ 4121, - 5509 + 5259 ], "loc": { "start": { @@ -10392,7 +9140,7 @@ "column": 8 }, "end": { - "line": 199, + "line": 190, "column": 5 } } @@ -10401,7 +9149,7 @@ "computed": false, "range": [ 4117, - 5509 + 5259 ], "loc": { "start": { @@ -10409,7 +9157,7 @@ "column": 4 }, "end": { - "line": 199, + "line": 190, "column": 5 } }, @@ -10438,16 +9186,16 @@ "type": "Block", "value": "*\n * Reset previously destroyed feature\n ", "range": [ - 5515, - 5568 + 5265, + 5318 ], "loc": { "start": { - "line": 201, + "line": 192, "column": 4 }, "end": { - "line": 203, + "line": 194, "column": 7 } } @@ -10461,16 +9209,16 @@ "type": "Identifier", "name": "reset", "range": [ - 5573, - 5578 + 5323, + 5328 ], "loc": { "start": { - "line": 204, + "line": 195, "column": 4 }, "end": { - "line": 204, + "line": 195, "column": 9 } } @@ -10492,16 +9240,16 @@ "object": { "type": "ThisExpression", "range": [ - 5591, - 5595 + 5341, + 5345 ], "loc": { "start": { - "line": 205, + "line": 196, "column": 8 }, "end": { - "line": 205, + "line": 196, "column": 12 } } @@ -10510,62 +9258,62 @@ "type": "Identifier", "name": "enable", "range": [ - 5596, - 5602 + 5346, + 5352 ], "loc": { "start": { - "line": 205, + "line": 196, "column": 13 }, "end": { - "line": 205, + "line": 196, "column": 19 } } }, "range": [ - 5591, - 5602 + 5341, + 5352 ], "loc": { "start": { - "line": 205, + "line": 196, "column": 8 }, "end": { - "line": 205, + "line": 196, "column": 19 } } }, "arguments": [], "range": [ - 5591, - 5604 + 5341, + 5354 ], "loc": { "start": { - "line": 205, + "line": 196, "column": 8 }, "end": { - "line": 205, + "line": 196, "column": 21 } } }, "range": [ - 5591, - 5605 + 5341, + 5355 ], "loc": { "start": { - "line": 205, + "line": 196, "column": 8 }, "end": { - "line": 205, + "line": 196, "column": 22 } } @@ -10580,16 +9328,16 @@ "object": { "type": "ThisExpression", "range": [ - 5614, - 5618 + 5364, + 5368 ], "loc": { "start": { - "line": 206, + "line": 197, "column": 8 }, "end": { - "line": 206, + "line": 197, "column": 12 } } @@ -10598,62 +9346,62 @@ "type": "Identifier", "name": "init", "range": [ - 5619, - 5623 + 5369, + 5373 ], "loc": { "start": { - "line": 206, + "line": 197, "column": 13 }, "end": { - "line": 206, + "line": 197, "column": 17 } } }, "range": [ - 5614, - 5623 + 5364, + 5373 ], "loc": { "start": { - "line": 206, + "line": 197, "column": 8 }, "end": { - "line": 206, + "line": 197, "column": 17 } } }, "arguments": [], "range": [ - 5614, - 5625 + 5364, + 5375 ], "loc": { "start": { - "line": 206, + "line": 197, "column": 8 }, "end": { - "line": 206, + "line": 197, "column": 19 } } }, "range": [ - 5614, - 5626 + 5364, + 5376 ], "loc": { "start": { - "line": 206, + "line": 197, "column": 8 }, "end": { - "line": 206, + "line": 197, "column": 20 } } @@ -10668,16 +9416,16 @@ "object": { "type": "ThisExpression", "range": [ - 5635, - 5639 + 5385, + 5389 ], "loc": { "start": { - "line": 207, + "line": 198, "column": 8 }, "end": { - "line": 207, + "line": 198, "column": 12 } } @@ -10686,78 +9434,78 @@ "type": "Identifier", "name": "buildAll", "range": [ - 5640, - 5648 + 5390, + 5398 ], "loc": { "start": { - "line": 207, + "line": 198, "column": 13 }, "end": { - "line": 207, + "line": 198, "column": 21 } } }, "range": [ - 5635, - 5648 + 5385, + 5398 ], "loc": { "start": { - "line": 207, + "line": 198, "column": 8 }, "end": { - "line": 207, + "line": 198, "column": 21 } } }, "arguments": [], "range": [ - 5635, - 5650 + 5385, + 5400 ], "loc": { "start": { - "line": 207, + "line": 198, "column": 8 }, "end": { - "line": 207, + "line": 198, "column": 23 } } }, "range": [ - 5635, - 5651 + 5385, + 5401 ], "loc": { "start": { - "line": 207, + "line": 198, "column": 8 }, "end": { - "line": 207, + "line": 198, "column": 24 } } } ], "range": [ - 5581, - 5657 + 5331, + 5407 ], "loc": { "start": { - "line": 204, + "line": 195, "column": 12 }, "end": { - "line": 208, + "line": 199, "column": 5 } } @@ -10765,16 +9513,16 @@ "generator": false, "expression": false, "range": [ - 5578, - 5657 + 5328, + 5407 ], "loc": { "start": { - "line": 204, + "line": 195, "column": 9 }, "end": { - "line": 208, + "line": 199, "column": 5 } } @@ -10782,16 +9530,16 @@ "kind": "method", "computed": false, "range": [ - 5573, - 5657 + 5323, + 5407 ], "loc": { "start": { - "line": 204, + "line": 195, "column": 4 }, "end": { - "line": 208, + "line": 199, "column": 5 } }, @@ -10800,8 +9548,2159 @@ "type": "Block", "value": "*\n * Reset previously destroyed feature\n ", "range": [ - 5515, - 5568 + 5265, + 5318 + ], + "loc": { + "start": { + "line": 192, + "column": 4 + }, + "end": { + "line": 194, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Build all filters icons\n ", + "range": [ + 5413, + 5455 + ], + "loc": { + "start": { + "line": 201, + "column": 4 + }, + "end": { + "line": 203, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "buildIcons", + "range": [ + 5460, + 5470 + ], + "loc": { + "start": { + "line": 204, + "column": 4 + }, + "end": { + "line": 204, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 5487, + 5489 + ], + "loc": { + "start": { + "line": 205, + "column": 12 + }, + "end": { + "line": 205, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5492, + 5496 + ], + "loc": { + "start": { + "line": 205, + "column": 17 + }, + "end": { + "line": 205, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 5497, + 5499 + ], + "loc": { + "start": { + "line": 205, + "column": 22 + }, + "end": { + "line": 205, + "column": 24 + } + } + }, + "range": [ + 5492, + 5499 + ], + "loc": { + "start": { + "line": 205, + "column": 17 + }, + "end": { + "line": 205, + "column": 24 + } + } + }, + "range": [ + 5487, + 5499 + ], + "loc": { + "start": { + "line": 205, + "column": 12 + }, + "end": { + "line": 205, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 5483, + 5500 + ], + "loc": { + "start": { + "line": 205, + "column": 8 + }, + "end": { + "line": 205, + "column": 25 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Filters row is added to the DOM, adjust headers row index", + "range": [ + 5510, + 5570 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 207, + "column": 68 + } + } + }, + { + "type": "Line", + "value": " TODO: Prevent the filters row to simplify headers row index adjusting", + "range": [ + 5579, + 5651 + ], + "loc": { + "start": { + "line": 208, + "column": 8 + }, + "end": { + "line": 208, + "column": 80 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5660, + 5662 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersRow", + "range": [ + 5663, + 5673 + ], + "loc": { + "start": { + "line": 209, + "column": 11 + }, + "end": { + "line": 209, + "column": 21 + } + } + }, + "range": [ + 5660, + 5673 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 21 + } + } + }, + "prefix": false, + "range": [ + 5660, + 5675 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 23 + } + } + }, + "range": [ + 5660, + 5676 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 24 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Filters row is added to the DOM, adjust headers row index", + "range": [ + 5510, + 5570 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 207, + "column": 68 + } + } + }, + { + "type": "Line", + "value": " TODO: Prevent the filters row to simplify headers row index adjusting", + "range": [ + 5579, + 5651 + ], + "loc": { + "start": { + "line": 208, + "column": 8 + }, + "end": { + "line": 208, + "column": 80 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 5695, + 5696 + ], + "loc": { + "start": { + "line": 211, + "column": 17 + }, + "end": { + "line": 211, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 5699, + 5700 + ], + "loc": { + "start": { + "line": 211, + "column": 21 + }, + "end": { + "line": 211, + "column": 22 + } + } + }, + "range": [ + 5695, + 5700 + ], + "loc": { + "start": { + "line": 211, + "column": 17 + }, + "end": { + "line": 211, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 5691, + 5700 + ], + "loc": { + "start": { + "line": 211, + "column": 13 + }, + "end": { + "line": 211, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 5702, + 5703 + ], + "loc": { + "start": { + "line": 211, + "column": 24 + }, + "end": { + "line": 211, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5706, + 5708 + ], + "loc": { + "start": { + "line": 211, + "column": 28 + }, + "end": { + "line": 211, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbCells", + "range": [ + 5709, + 5716 + ], + "loc": { + "start": { + "line": 211, + "column": 31 + }, + "end": { + "line": 211, + "column": 38 + } + } + }, + "range": [ + 5706, + 5716 + ], + "loc": { + "start": { + "line": 211, + "column": 28 + }, + "end": { + "line": 211, + "column": 38 + } + } + }, + "range": [ + 5702, + 5716 + ], + "loc": { + "start": { + "line": 211, + "column": 24 + }, + "end": { + "line": 211, + "column": 38 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 5718, + 5719 + ], + "loc": { + "start": { + "line": 211, + "column": 40 + }, + "end": { + "line": 211, + "column": 41 + } + } + }, + "prefix": false, + "range": [ + 5718, + 5721 + ], + "loc": { + "start": { + "line": 211, + "column": 40 + }, + "end": { + "line": 211, + "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": [ + 5741, + 5743 + ], + "loc": { + "start": { + "line": 212, + "column": 16 + }, + "end": { + "line": 212, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterType", + "range": [ + 5744, + 5757 + ], + "loc": { + "start": { + "line": 212, + "column": 19 + }, + "end": { + "line": 212, + "column": 32 + } + } + }, + "range": [ + 5741, + 5757 + ], + "loc": { + "start": { + "line": 212, + "column": 16 + }, + "end": { + "line": 212, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 5758, + 5759 + ], + "loc": { + "start": { + "line": 212, + "column": 33 + }, + "end": { + "line": 212, + "column": 34 + } + } + } + ], + "range": [ + 5741, + 5760 + ], + "loc": { + "start": { + "line": 212, + "column": 16 + }, + "end": { + "line": 212, + "column": 35 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 5765, + 5769 + ], + "loc": { + "start": { + "line": 212, + "column": 40 + }, + "end": { + "line": 212, + "column": 44 + } + } + }, + "range": [ + 5741, + 5769 + ], + "loc": { + "start": { + "line": 212, + "column": 16 + }, + "end": { + "line": 212, + "column": 44 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 5789, + 5798 + ], + "loc": { + "start": { + "line": 213, + "column": 16 + }, + "end": { + "line": 213, + "column": 25 + } + } + } + ], + "range": [ + 5771, + 5812 + ], + "loc": { + "start": { + "line": 212, + "column": 46 + }, + "end": { + "line": 214, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 5737, + 5812 + ], + "loc": { + "start": { + "line": 212, + "column": 12 + }, + "end": { + "line": 214, + "column": 13 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "popUpSpan", + "range": [ + 5829, + 5838 + ], + "loc": { + "start": { + "line": 215, + "column": 16 + }, + "end": { + "line": 215, + "column": 25 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 5841, + 5850 + ], + "loc": { + "start": { + "line": 215, + "column": 28 + }, + "end": { + "line": 215, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 5868, + 5874 + ], + "loc": { + "start": { + "line": 216, + "column": 16 + }, + "end": { + "line": 216, + "column": 22 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 5893, + 5897 + ], + "loc": { + "start": { + "line": 217, + "column": 17 + }, + "end": { + "line": 217, + "column": 21 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5899, + 5903 + ], + "loc": { + "start": { + "line": 217, + "column": 23 + }, + "end": { + "line": 217, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxSpan", + "range": [ + 5904, + 5912 + ], + "loc": { + "start": { + "line": 217, + "column": 28 + }, + "end": { + "line": 217, + "column": 36 + } + } + }, + "range": [ + 5899, + 5912 + ], + "loc": { + "start": { + "line": 217, + "column": 23 + }, + "end": { + "line": 217, + "column": 36 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5915, + 5917 + ], + "loc": { + "start": { + "line": 217, + "column": 39 + }, + "end": { + "line": 217, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 5918, + 5920 + ], + "loc": { + "start": { + "line": 217, + "column": 42 + }, + "end": { + "line": 217, + "column": 44 + } + } + }, + "range": [ + 5915, + 5920 + ], + "loc": { + "start": { + "line": 217, + "column": 39 + }, + "end": { + "line": 217, + "column": 44 + } + } + }, + "range": [ + 5899, + 5920 + ], + "loc": { + "start": { + "line": 217, + "column": 23 + }, + "end": { + "line": 217, + "column": 44 + } + } + }, + "right": { + "type": "Literal", + "value": "_", + "raw": "'_'", + "range": [ + 5923, + 5926 + ], + "loc": { + "start": { + "line": 217, + "column": 47 + }, + "end": { + "line": 217, + "column": 50 + } + } + }, + "range": [ + 5899, + 5926 + ], + "loc": { + "start": { + "line": 217, + "column": 23 + }, + "end": { + "line": 217, + "column": 50 + } + } + }, + "right": { + "type": "Identifier", + "name": "i", + "range": [ + 5929, + 5930 + ], + "loc": { + "start": { + "line": 217, + "column": 53 + }, + "end": { + "line": 217, + "column": 54 + } + } + }, + "range": [ + 5899, + 5930 + ], + "loc": { + "start": { + "line": 217, + "column": 23 + }, + "end": { + "line": 217, + "column": 54 + } + } + } + ], + "range": [ + 5892, + 5931 + ], + "loc": { + "start": { + "line": 217, + "column": 16 + }, + "end": { + "line": 217, + "column": 55 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "ci", + "raw": "'ci'", + "range": [ + 5950, + 5954 + ], + "loc": { + "start": { + "line": 218, + "column": 17 + }, + "end": { + "line": 218, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "i", + "range": [ + 5956, + 5957 + ], + "loc": { + "start": { + "line": 218, + "column": 23 + }, + "end": { + "line": 218, + "column": 24 + } + } + } + ], + "range": [ + 5949, + 5958 + ], + "loc": { + "start": { + "line": 218, + "column": 16 + }, + "end": { + "line": 218, + "column": 25 + } + } + } + ], + "range": [ + 5841, + 5972 + ], + "loc": { + "start": { + "line": 215, + "column": 28 + }, + "end": { + "line": 219, + "column": 13 + } + } + }, + "range": [ + 5829, + 5972 + ], + "loc": { + "start": { + "line": 215, + "column": 16 + }, + "end": { + "line": 219, + "column": 13 + } + } + } + ], + "kind": "let", + "range": [ + 5825, + 5973 + ], + "loc": { + "start": { + "line": 215, + "column": 12 + }, + "end": { + "line": 219, + "column": 14 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "popUpSpan", + "range": [ + 5986, + 5995 + ], + "loc": { + "start": { + "line": 220, + "column": 12 + }, + "end": { + "line": 220, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 5996, + 6005 + ], + "loc": { + "start": { + "line": 220, + "column": 22 + }, + "end": { + "line": 220, + "column": 31 + } + } + }, + "range": [ + 5986, + 6005 + ], + "loc": { + "start": { + "line": 220, + "column": 12 + }, + "end": { + "line": 220, + "column": 31 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6008, + 6012 + ], + "loc": { + "start": { + "line": 220, + "column": 34 + }, + "end": { + "line": 220, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "iconHtml", + "range": [ + 6013, + 6021 + ], + "loc": { + "start": { + "line": 220, + "column": 39 + }, + "end": { + "line": 220, + "column": 47 + } + } + }, + "range": [ + 6008, + 6021 + ], + "loc": { + "start": { + "line": 220, + "column": 34 + }, + "end": { + "line": 220, + "column": 47 + } + } + }, + "range": [ + 5986, + 6021 + ], + "loc": { + "start": { + "line": 220, + "column": 12 + }, + "end": { + "line": 220, + "column": 47 + } + } + }, + "range": [ + 5986, + 6022 + ], + "loc": { + "start": { + "line": 220, + "column": 12 + }, + "end": { + "line": 220, + "column": 48 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "header", + "range": [ + 6039, + 6045 + ], + "loc": { + "start": { + "line": 221, + "column": 16 + }, + "end": { + "line": 221, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6048, + 6050 + ], + "loc": { + "start": { + "line": 221, + "column": 25 + }, + "end": { + "line": 221, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeaderElement", + "range": [ + 6051, + 6067 + ], + "loc": { + "start": { + "line": 221, + "column": 28 + }, + "end": { + "line": 221, + "column": 44 + } + } + }, + "range": [ + 6048, + 6067 + ], + "loc": { + "start": { + "line": 221, + "column": 25 + }, + "end": { + "line": 221, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 6068, + 6069 + ], + "loc": { + "start": { + "line": 221, + "column": 45 + }, + "end": { + "line": 221, + "column": 46 + } + } + } + ], + "range": [ + 6048, + 6070 + ], + "loc": { + "start": { + "line": 221, + "column": 25 + }, + "end": { + "line": 221, + "column": 47 + } + } + }, + "range": [ + 6039, + 6070 + ], + "loc": { + "start": { + "line": 221, + "column": 16 + }, + "end": { + "line": 221, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 6035, + 6071 + ], + "loc": { + "start": { + "line": 221, + "column": 12 + }, + "end": { + "line": 221, + "column": 48 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "header", + "range": [ + 6084, + 6090 + ], + "loc": { + "start": { + "line": 222, + "column": 12 + }, + "end": { + "line": 222, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 6091, + 6102 + ], + "loc": { + "start": { + "line": 222, + "column": 19 + }, + "end": { + "line": 222, + "column": 30 + } + } + }, + "range": [ + 6084, + 6102 + ], + "loc": { + "start": { + "line": 222, + "column": 12 + }, + "end": { + "line": 222, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "popUpSpan", + "range": [ + 6103, + 6112 + ], + "loc": { + "start": { + "line": 222, + "column": 31 + }, + "end": { + "line": 222, + "column": 40 + } + } + } + ], + "range": [ + 6084, + 6113 + ], + "loc": { + "start": { + "line": 222, + "column": 12 + }, + "end": { + "line": 222, + "column": 41 + } + } + }, + "range": [ + 6084, + 6114 + ], + "loc": { + "start": { + "line": 222, + "column": 12 + }, + "end": { + "line": 222, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 6127, + 6133 + ], + "loc": { + "start": { + "line": 223, + "column": 12 + }, + "end": { + "line": 223, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "popUpSpan", + "range": [ + 6134, + 6143 + ], + "loc": { + "start": { + "line": 223, + "column": 19 + }, + "end": { + "line": 223, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 6145, + 6152 + ], + "loc": { + "start": { + "line": 223, + "column": 30 + }, + "end": { + "line": 223, + "column": 37 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 6155, + 6158 + ], + "loc": { + "start": { + "line": 223, + "column": 40 + }, + "end": { + "line": 223, + "column": 43 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6163, + 6167 + ], + "loc": { + "start": { + "line": 223, + "column": 48 + }, + "end": { + "line": 223, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "onClick", + "range": [ + 6168, + 6175 + ], + "loc": { + "start": { + "line": 223, + "column": 53 + }, + "end": { + "line": 223, + "column": 60 + } + } + }, + "range": [ + 6163, + 6175 + ], + "loc": { + "start": { + "line": 223, + "column": 48 + }, + "end": { + "line": 223, + "column": 60 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 6176, + 6179 + ], + "loc": { + "start": { + "line": 223, + "column": 61 + }, + "end": { + "line": 223, + "column": 64 + } + } + } + ], + "range": [ + 6163, + 6180 + ], + "loc": { + "start": { + "line": 223, + "column": 48 + }, + "end": { + "line": 223, + "column": 65 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 6154, + 6180 + ], + "loc": { + "start": { + "line": 223, + "column": 39 + }, + "end": { + "line": 223, + "column": 65 + } + } + } + ], + "range": [ + 6127, + 6181 + ], + "loc": { + "start": { + "line": 223, + "column": 12 + }, + "end": { + "line": 223, + "column": 66 + } + } + }, + "range": [ + 6127, + 6182 + ], + "loc": { + "start": { + "line": 223, + "column": 12 + }, + "end": { + "line": 223, + "column": 67 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6195, + 6199 + ], + "loc": { + "start": { + "line": 224, + "column": 12 + }, + "end": { + "line": 224, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltSpans", + "range": [ + 6200, + 6208 + ], + "loc": { + "start": { + "line": 224, + "column": 17 + }, + "end": { + "line": 224, + "column": 25 + } + } + }, + "range": [ + 6195, + 6208 + ], + "loc": { + "start": { + "line": 224, + "column": 12 + }, + "end": { + "line": 224, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 6209, + 6210 + ], + "loc": { + "start": { + "line": 224, + "column": 26 + }, + "end": { + "line": 224, + "column": 27 + } + } + }, + "range": [ + 6195, + 6211 + ], + "loc": { + "start": { + "line": 224, + "column": 12 + }, + "end": { + "line": 224, + "column": 28 + } + } + }, + "right": { + "type": "Identifier", + "name": "popUpSpan", + "range": [ + 6214, + 6223 + ], + "loc": { + "start": { + "line": 224, + "column": 31 + }, + "end": { + "line": 224, + "column": 40 + } + } + }, + "range": [ + 6195, + 6223 + ], + "loc": { + "start": { + "line": 224, + "column": 12 + }, + "end": { + "line": 224, + "column": 40 + } + } + }, + "range": [ + 6195, + 6224 + ], + "loc": { + "start": { + "line": 224, + "column": 12 + }, + "end": { + "line": 224, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6237, + 6241 + ], + "loc": { + "start": { + "line": 225, + "column": 12 + }, + "end": { + "line": 225, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIcons", + "range": [ + 6242, + 6250 + ], + "loc": { + "start": { + "line": 225, + "column": 17 + }, + "end": { + "line": 225, + "column": 25 + } + } + }, + "range": [ + 6237, + 6250 + ], + "loc": { + "start": { + "line": 225, + "column": 12 + }, + "end": { + "line": 225, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 6251, + 6252 + ], + "loc": { + "start": { + "line": 225, + "column": 26 + }, + "end": { + "line": 225, + "column": 27 + } + } + }, + "range": [ + 6237, + 6253 + ], + "loc": { + "start": { + "line": 225, + "column": 12 + }, + "end": { + "line": 225, + "column": 28 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "popUpSpan", + "range": [ + 6256, + 6265 + ], + "loc": { + "start": { + "line": 225, + "column": 31 + }, + "end": { + "line": 225, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 6266, + 6276 + ], + "loc": { + "start": { + "line": 225, + "column": 41 + }, + "end": { + "line": 225, + "column": 51 + } + } + }, + "range": [ + 6256, + 6276 + ], + "loc": { + "start": { + "line": 225, + "column": 31 + }, + "end": { + "line": 225, + "column": 51 + } + } + }, + "range": [ + 6237, + 6276 + ], + "loc": { + "start": { + "line": 225, + "column": 12 + }, + "end": { + "line": 225, + "column": 51 + } + } + }, + "range": [ + 6237, + 6277 + ], + "loc": { + "start": { + "line": 225, + "column": 12 + }, + "end": { + "line": 225, + "column": 52 + } + } + } + ], + "range": [ + 5723, + 6287 + ], + "loc": { + "start": { + "line": 211, + "column": 45 + }, + "end": { + "line": 226, + "column": 9 + } + } + }, + "range": [ + 5686, + 6287 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 226, + "column": 9 + } + } + } + ], + "range": [ + 5473, + 6293 + ], + "loc": { + "start": { + "line": 204, + "column": 17 + }, + "end": { + "line": 227, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 5470, + 6293 + ], + "loc": { + "start": { + "line": 204, + "column": 14 + }, + "end": { + "line": 227, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 5460, + 6293 + ], + "loc": { + "start": { + "line": 204, + "column": 4 + }, + "end": { + "line": 227, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Build all filters icons\n ", + "range": [ + 5413, + 5455 ], "loc": { "start": { @@ -10820,16 +11719,16 @@ "type": "Block", "value": "*\n * Build all pop-up filters elements\n ", "range": [ - 5663, - 5715 + 6299, + 6351 ], "loc": { "start": { - "line": 210, + "line": 229, "column": 4 }, "end": { - "line": 212, + "line": 231, "column": 7 } } @@ -10843,16 +11742,16 @@ "type": "Identifier", "name": "buildAll", "range": [ - 5720, - 5728 + 6356, + 6364 ], "loc": { "start": { - "line": 213, + "line": 232, "column": 4 }, "end": { - "line": 213, + "line": 232, "column": 12 } } @@ -10875,16 +11774,16 @@ "type": "Identifier", "name": "i", "range": [ - 5750, - 5751 + 6386, + 6387 ], "loc": { "start": { - "line": 214, + "line": 233, "column": 17 }, "end": { - "line": 214, + "line": 233, "column": 18 } } @@ -10894,31 +11793,31 @@ "value": 0, "raw": "0", "range": [ - 5754, - 5755 + 6390, + 6391 ], "loc": { "start": { - "line": 214, + "line": 233, "column": 21 }, "end": { - "line": 214, + "line": 233, "column": 22 } } }, "range": [ - 5750, - 5755 + 6386, + 6391 ], "loc": { "start": { - "line": 214, + "line": 233, "column": 17 }, "end": { - "line": 214, + "line": 233, "column": 22 } } @@ -10926,16 +11825,16 @@ ], "kind": "let", "range": [ - 5746, - 5755 + 6382, + 6391 ], "loc": { "start": { - "line": 214, + "line": 233, "column": 13 }, "end": { - "line": 214, + "line": 233, "column": 22 } } @@ -10947,16 +11846,16 @@ "type": "Identifier", "name": "i", "range": [ - 5757, - 5758 + 6393, + 6394 ], "loc": { "start": { - "line": 214, + "line": 233, "column": 24 }, "end": { - "line": 214, + "line": 233, "column": 25 } } @@ -10970,16 +11869,16 @@ "object": { "type": "ThisExpression", "range": [ - 5761, - 5765 + 6397, + 6401 ], "loc": { "start": { - "line": 214, + "line": 233, "column": 28 }, "end": { - "line": 214, + "line": 233, "column": 32 } } @@ -10988,31 +11887,31 @@ "type": "Identifier", "name": "filtersCache", "range": [ - 5766, - 5778 + 6402, + 6414 ], "loc": { "start": { - "line": 214, + "line": 233, "column": 33 }, "end": { - "line": 214, + "line": 233, "column": 45 } } }, "range": [ - 5761, - 5778 + 6397, + 6414 ], "loc": { "start": { - "line": 214, + "line": 233, "column": 28 }, "end": { - "line": 214, + "line": 233, "column": 45 } } @@ -11021,46 +11920,46 @@ "type": "Identifier", "name": "length", "range": [ - 5779, - 5785 + 6415, + 6421 ], "loc": { "start": { - "line": 214, + "line": 233, "column": 46 }, "end": { - "line": 214, + "line": 233, "column": 52 } } }, "range": [ - 5761, - 5785 + 6397, + 6421 ], "loc": { "start": { - "line": 214, + "line": 233, "column": 28 }, "end": { - "line": 214, + "line": 233, "column": 52 } } }, "range": [ - 5757, - 5785 + 6393, + 6421 ], "loc": { "start": { - "line": 214, + "line": 233, "column": 24 }, "end": { - "line": 214, + "line": 233, "column": 52 } } @@ -11072,32 +11971,32 @@ "type": "Identifier", "name": "i", "range": [ - 5787, - 5788 + 6423, + 6424 ], "loc": { "start": { - "line": 214, + "line": 233, "column": 54 }, "end": { - "line": 214, + "line": 233, "column": 55 } } }, "prefix": false, "range": [ - 5787, - 5790 + 6423, + 6426 ], "loc": { "start": { - "line": 214, + "line": 233, "column": 54 }, "end": { - "line": 214, + "line": 233, "column": 57 } } @@ -11115,16 +12014,16 @@ "object": { "type": "ThisExpression", "range": [ - 5806, - 5810 + 6442, + 6446 ], "loc": { "start": { - "line": 215, + "line": 234, "column": 12 }, "end": { - "line": 215, + "line": 234, "column": 16 } } @@ -11133,31 +12032,31 @@ "type": "Identifier", "name": "build", "range": [ - 5811, - 5816 + 6447, + 6452 ], "loc": { "start": { - "line": 215, + "line": 234, "column": 17 }, "end": { - "line": 215, + "line": 234, "column": 22 } } }, "range": [ - 5806, - 5816 + 6442, + 6452 ], "loc": { "start": { - "line": 215, + "line": 234, "column": 12 }, "end": { - "line": 215, + "line": 234, "column": 22 } } @@ -11167,16 +12066,16 @@ "type": "Identifier", "name": "i", "range": [ - 5817, - 5818 + 6453, + 6454 ], "loc": { "start": { - "line": 215, + "line": 234, "column": 23 }, "end": { - "line": 215, + "line": 234, "column": 24 } } @@ -11190,16 +12089,16 @@ "object": { "type": "ThisExpression", "range": [ - 5820, - 5824 + 6456, + 6460 ], "loc": { "start": { - "line": 215, + "line": 234, "column": 26 }, "end": { - "line": 215, + "line": 234, "column": 30 } } @@ -11208,31 +12107,31 @@ "type": "Identifier", "name": "filtersCache", "range": [ - 5825, - 5837 + 6461, + 6473 ], "loc": { "start": { - "line": 215, + "line": 234, "column": 31 }, "end": { - "line": 215, + "line": 234, "column": 43 } } }, "range": [ - 5820, - 5837 + 6456, + 6473 ], "loc": { "start": { - "line": 215, + "line": 234, "column": 26 }, "end": { - "line": 215, + "line": 234, "column": 43 } } @@ -11241,109 +12140,109 @@ "type": "Identifier", "name": "i", "range": [ - 5838, - 5839 + 6474, + 6475 ], "loc": { "start": { - "line": 215, + "line": 234, "column": 44 }, "end": { - "line": 215, + "line": 234, "column": 45 } } }, "range": [ - 5820, - 5840 + 6456, + 6476 ], "loc": { "start": { - "line": 215, + "line": 234, "column": 26 }, "end": { - "line": 215, + "line": 234, "column": 46 } } } ], "range": [ - 5806, - 5841 + 6442, + 6477 ], "loc": { "start": { - "line": 215, + "line": 234, "column": 12 }, "end": { - "line": 215, + "line": 234, "column": 47 } } }, "range": [ - 5806, - 5842 + 6442, + 6478 ], "loc": { "start": { - "line": 215, + "line": 234, "column": 12 }, "end": { - "line": 215, + "line": 234, "column": 48 } } } ], "range": [ - 5792, - 5852 + 6428, + 6488 ], "loc": { "start": { - "line": 214, + "line": 233, "column": 59 }, "end": { - "line": 216, + "line": 235, "column": 9 } } }, "range": [ - 5741, - 5852 + 6377, + 6488 ], "loc": { "start": { - "line": 214, + "line": 233, "column": 8 }, "end": { - "line": 216, + "line": 235, "column": 9 } } } ], "range": [ - 5731, - 5858 + 6367, + 6494 ], "loc": { "start": { - "line": 213, + "line": 232, "column": 15 }, "end": { - "line": 217, + "line": 236, "column": 5 } } @@ -11351,16 +12250,16 @@ "generator": false, "expression": false, "range": [ - 5728, - 5858 + 6364, + 6494 ], "loc": { "start": { - "line": 213, + "line": 232, "column": 12 }, "end": { - "line": 217, + "line": 236, "column": 5 } } @@ -11368,16 +12267,16 @@ "kind": "method", "computed": false, "range": [ - 5720, - 5858 + 6356, + 6494 ], "loc": { "start": { - "line": 213, + "line": 232, "column": 4 }, "end": { - "line": 217, + "line": 236, "column": 5 } }, @@ -11386,16 +12285,16 @@ "type": "Block", "value": "*\n * Build all pop-up filters elements\n ", "range": [ - 5663, - 5715 + 6299, + 6351 ], "loc": { "start": { - "line": 210, + "line": 229, "column": 4 }, "end": { - "line": 212, + "line": 231, "column": 7 } } @@ -11406,16 +12305,16 @@ "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": [ - 5864, - 6033 + 6500, + 6669 ], "loc": { "start": { - "line": 219, + "line": 238, "column": 4 }, "end": { - "line": 223, + "line": 242, "column": 7 } } @@ -11429,16 +12328,16 @@ "type": "Identifier", "name": "build", "range": [ - 6038, - 6043 + 6674, + 6679 ], "loc": { "start": { - "line": 224, + "line": 243, "column": 4 }, "end": { - "line": 224, + "line": 243, "column": 9 } } @@ -11451,16 +12350,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 6044, - 6052 + 6680, + 6688 ], "loc": { "start": { - "line": 224, + "line": 243, "column": 10 }, "end": { - "line": 224, + "line": 243, "column": 18 } } @@ -11469,16 +12368,16 @@ "type": "Identifier", "name": "div", "range": [ - 6054, - 6057 + 6690, + 6693 ], "loc": { "start": { - "line": 224, + "line": 243, "column": 20 }, "end": { - "line": 224, + "line": 243, "column": 23 } } @@ -11496,16 +12395,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6073, - 6075 + 6709, + 6711 ], "loc": { "start": { - "line": 225, + "line": 244, "column": 12 }, "end": { - "line": 225, + "line": 244, "column": 14 } } @@ -11516,16 +12415,16 @@ "object": { "type": "ThisExpression", "range": [ - 6078, - 6082 + 6714, + 6718 ], "loc": { "start": { - "line": 225, + "line": 244, "column": 17 }, "end": { - "line": 225, + "line": 244, "column": 21 } } @@ -11534,46 +12433,46 @@ "type": "Identifier", "name": "tf", "range": [ - 6083, - 6085 + 6719, + 6721 ], "loc": { "start": { - "line": 225, + "line": 244, "column": 22 }, "end": { - "line": 225, + "line": 244, "column": 24 } } }, "range": [ - 6078, - 6085 + 6714, + 6721 ], "loc": { "start": { - "line": 225, + "line": 244, "column": 17 }, "end": { - "line": 225, + "line": 244, "column": 24 } } }, "range": [ - 6073, - 6085 + 6709, + 6721 ], "loc": { "start": { - "line": 225, + "line": 244, "column": 12 }, "end": { - "line": 225, + "line": 244, "column": 24 } } @@ -11581,16 +12480,16 @@ ], "kind": "let", "range": [ - 6069, - 6086 + 6705, + 6722 ], "loc": { "start": { - "line": 225, + "line": 244, "column": 8 }, "end": { - "line": 225, + "line": 244, "column": 25 } } @@ -11604,16 +12503,16 @@ "type": "Identifier", "name": "popUpDiv", "range": [ - 6099, - 6107 + 6735, + 6743 ], "loc": { "start": { - "line": 226, + "line": 245, "column": 12 }, "end": { - "line": 226, + "line": 245, "column": 20 } } @@ -11627,32 +12526,32 @@ "type": "Identifier", "name": "div", "range": [ - 6111, - 6114 + 6747, + 6750 ], "loc": { "start": { - "line": 226, + "line": 245, "column": 24 }, "end": { - "line": 226, + "line": 245, "column": 27 } } }, "prefix": true, "range": [ - 6110, - 6114 + 6746, + 6750 ], "loc": { "start": { - "line": 226, + "line": 245, "column": 23 }, "end": { - "line": 226, + "line": 245, "column": 27 } } @@ -11663,16 +12562,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 6129, - 6138 + 6765, + 6774 ], "loc": { "start": { - "line": 227, + "line": 246, "column": 12 }, "end": { - "line": 227, + "line": 246, "column": 21 } } @@ -11683,16 +12582,16 @@ "value": "div", "raw": "'div'", "range": [ - 6139, - 6144 + 6775, + 6780 ], "loc": { "start": { - "line": 227, + "line": 246, "column": 22 }, "end": { - "line": 227, + "line": 246, "column": 27 } } @@ -11705,16 +12604,16 @@ "value": "id", "raw": "'id'", "range": [ - 6163, - 6167 + 6799, + 6803 ], "loc": { "start": { - "line": 228, + "line": 247, "column": 17 }, "end": { - "line": 228, + "line": 247, "column": 21 } } @@ -11734,16 +12633,16 @@ "object": { "type": "ThisExpression", "range": [ - 6169, - 6173 + 6805, + 6809 ], "loc": { "start": { - "line": 228, + "line": 247, "column": 23 }, "end": { - "line": 228, + "line": 247, "column": 27 } } @@ -11752,31 +12651,31 @@ "type": "Identifier", "name": "prfxDiv", "range": [ - 6174, - 6181 + 6810, + 6817 ], "loc": { "start": { - "line": 228, + "line": 247, "column": 28 }, "end": { - "line": 228, + "line": 247, "column": 35 } } }, "range": [ - 6169, - 6181 + 6805, + 6817 ], "loc": { "start": { - "line": 228, + "line": 247, "column": 23 }, "end": { - "line": 228, + "line": 247, "column": 35 } } @@ -11788,16 +12687,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6184, - 6186 + 6820, + 6822 ], "loc": { "start": { - "line": 228, + "line": 247, "column": 38 }, "end": { - "line": 228, + "line": 247, "column": 40 } } @@ -11806,46 +12705,46 @@ "type": "Identifier", "name": "id", "range": [ - 6187, - 6189 + 6823, + 6825 ], "loc": { "start": { - "line": 228, + "line": 247, "column": 41 }, "end": { - "line": 228, + "line": 247, "column": 43 } } }, "range": [ - 6184, - 6189 + 6820, + 6825 ], "loc": { "start": { - "line": 228, + "line": 247, "column": 38 }, "end": { - "line": 228, + "line": 247, "column": 43 } } }, "range": [ - 6169, - 6189 + 6805, + 6825 ], "loc": { "start": { - "line": 228, + "line": 247, "column": 23 }, "end": { - "line": 228, + "line": 247, "column": 43 } } @@ -11855,31 +12754,31 @@ "value": "_", "raw": "'_'", "range": [ - 6192, - 6195 + 6828, + 6831 ], "loc": { "start": { - "line": 228, + "line": 247, "column": 46 }, "end": { - "line": 228, + "line": 247, "column": 49 } } }, "range": [ - 6169, - 6195 + 6805, + 6831 ], "loc": { "start": { - "line": 228, + "line": 247, "column": 23 }, "end": { - "line": 228, + "line": 247, "column": 49 } } @@ -11888,63 +12787,63 @@ "type": "Identifier", "name": "colIndex", "range": [ - 6198, - 6206 + 6834, + 6842 ], "loc": { "start": { - "line": 228, + "line": 247, "column": 52 }, "end": { - "line": 228, + "line": 247, "column": 60 } } }, "range": [ - 6169, - 6206 + 6805, + 6842 ], "loc": { "start": { - "line": 228, + "line": 247, "column": 23 }, "end": { - "line": 228, + "line": 247, "column": 60 } } } ], "range": [ - 6162, - 6207 + 6798, + 6843 ], "loc": { "start": { - "line": 228, + "line": 247, "column": 16 }, "end": { - "line": 228, + "line": 247, "column": 61 } } } ], "range": [ - 6129, - 6208 + 6765, + 6844 ], "loc": { "start": { - "line": 227, + "line": 246, "column": 12 }, "end": { - "line": 228, + "line": 247, "column": 62 } } @@ -11953,46 +12852,46 @@ "type": "Identifier", "name": "div", "range": [ - 6223, - 6226 + 6859, + 6862 ], "loc": { "start": { - "line": 229, + "line": 248, "column": 12 }, "end": { - "line": 229, + "line": 248, "column": 15 } } }, "range": [ - 6110, - 6226 + 6746, + 6862 ], "loc": { "start": { - "line": 226, + "line": 245, "column": 23 }, "end": { - "line": 229, + "line": 248, "column": 15 } } }, "range": [ - 6099, - 6226 + 6735, + 6862 ], "loc": { "start": { - "line": 226, + "line": 245, "column": 12 }, "end": { - "line": 229, + "line": 248, "column": 15 } } @@ -12000,16 +12899,16 @@ ], "kind": "let", "range": [ - 6095, - 6227 + 6731, + 6863 ], "loc": { "start": { - "line": 226, + "line": 245, "column": 8 }, "end": { - "line": 229, + "line": 248, "column": 16 } } @@ -12026,16 +12925,16 @@ "type": "Identifier", "name": "popUpDiv", "range": [ - 6236, - 6244 + 6872, + 6880 ], "loc": { "start": { - "line": 230, + "line": 249, "column": 8 }, "end": { - "line": 230, + "line": 249, "column": 16 } } @@ -12044,31 +12943,31 @@ "type": "Identifier", "name": "className", "range": [ - 6245, - 6254 + 6881, + 6890 ], "loc": { "start": { - "line": 230, + "line": 249, "column": 17 }, "end": { - "line": 230, + "line": 249, "column": 26 } } }, "range": [ - 6236, - 6254 + 6872, + 6890 ], "loc": { "start": { - "line": 230, + "line": 249, "column": 8 }, "end": { - "line": 230, + "line": 249, "column": 26 } } @@ -12079,16 +12978,16 @@ "object": { "type": "ThisExpression", "range": [ - 6257, - 6261 + 6893, + 6897 ], "loc": { "start": { - "line": 230, + "line": 249, "column": 29 }, "end": { - "line": 230, + "line": 249, "column": 33 } } @@ -12097,61 +12996,61 @@ "type": "Identifier", "name": "containerCssClass", "range": [ - 6262, - 6279 + 6898, + 6915 ], "loc": { "start": { - "line": 230, + "line": 249, "column": 34 }, "end": { - "line": 230, + "line": 249, "column": 51 } } }, "range": [ - 6257, - 6279 + 6893, + 6915 ], "loc": { "start": { - "line": 230, + "line": 249, "column": 29 }, "end": { - "line": 230, + "line": 249, "column": 51 } } }, "range": [ - 6236, - 6279 + 6872, + 6915 ], "loc": { "start": { - "line": 230, + "line": 249, "column": 8 }, "end": { - "line": 230, + "line": 249, "column": 51 } } }, "range": [ - 6236, - 6280 + 6872, + 6916 ], "loc": { "start": { - "line": 230, + "line": 249, "column": 8 }, "end": { - "line": 230, + "line": 249, "column": 52 } } @@ -12170,16 +13069,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6289, - 6291 + 6925, + 6927 ], "loc": { "start": { - "line": 231, + "line": 250, "column": 8 }, "end": { - "line": 231, + "line": 250, "column": 10 } } @@ -12188,31 +13087,31 @@ "type": "Identifier", "name": "externalFltTgtIds", "range": [ - 6292, - 6309 + 6928, + 6945 ], "loc": { "start": { - "line": 231, + "line": 250, "column": 11 }, "end": { - "line": 231, + "line": 250, "column": 28 } } }, "range": [ - 6289, - 6309 + 6925, + 6945 ], "loc": { "start": { - "line": 231, + "line": 250, "column": 8 }, "end": { - "line": 231, + "line": 250, "column": 28 } } @@ -12221,31 +13120,31 @@ "type": "Identifier", "name": "push", "range": [ - 6310, - 6314 + 6946, + 6950 ], "loc": { "start": { - "line": 231, + "line": 250, "column": 29 }, "end": { - "line": 231, + "line": 250, "column": 33 } } }, "range": [ - 6289, - 6314 + 6925, + 6950 ], "loc": { "start": { - "line": 231, + "line": 250, "column": 8 }, "end": { - "line": 231, + "line": 250, "column": 33 } } @@ -12258,16 +13157,16 @@ "type": "Identifier", "name": "popUpDiv", "range": [ - 6315, - 6323 + 6951, + 6959 ], "loc": { "start": { - "line": 231, + "line": 250, "column": 34 }, "end": { - "line": 231, + "line": 250, "column": 42 } } @@ -12276,62 +13175,62 @@ "type": "Identifier", "name": "id", "range": [ - 6324, - 6326 + 6960, + 6962 ], "loc": { "start": { - "line": 231, + "line": 250, "column": 43 }, "end": { - "line": 231, + "line": 250, "column": 45 } } }, "range": [ - 6315, - 6326 + 6951, + 6962 ], "loc": { "start": { - "line": 231, + "line": 250, "column": 34 }, "end": { - "line": 231, + "line": 250, "column": 45 } } } ], "range": [ - 6289, - 6327 + 6925, + 6963 ], "loc": { "start": { - "line": 231, + "line": 250, "column": 8 }, "end": { - "line": 231, + "line": 250, "column": 46 } } }, "range": [ - 6289, - 6328 + 6925, + 6964 ], "loc": { "start": { - "line": 231, + "line": 250, "column": 8 }, "end": { - "line": 231, + "line": 250, "column": 47 } } @@ -12345,16 +13244,16 @@ "type": "Identifier", "name": "header", "range": [ - 6341, - 6347 + 6977, + 6983 ], "loc": { "start": { - "line": 232, + "line": 251, "column": 12 }, "end": { - "line": 232, + "line": 251, "column": 18 } } @@ -12368,16 +13267,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6350, - 6352 + 6986, + 6988 ], "loc": { "start": { - "line": 232, + "line": 251, "column": 21 }, "end": { - "line": 232, + "line": 251, "column": 23 } } @@ -12386,31 +13285,31 @@ "type": "Identifier", "name": "getHeaderElement", "range": [ - 6353, - 6369 + 6989, + 7005 ], "loc": { "start": { - "line": 232, + "line": 251, "column": 24 }, "end": { - "line": 232, + "line": 251, "column": 40 } } }, "range": [ - 6350, - 6369 + 6986, + 7005 ], "loc": { "start": { - "line": 232, + "line": 251, "column": 21 }, "end": { - "line": 232, + "line": 251, "column": 40 } } @@ -12420,47 +13319,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 6370, - 6378 + 7006, + 7014 ], "loc": { "start": { - "line": 232, + "line": 251, "column": 41 }, "end": { - "line": 232, + "line": 251, "column": 49 } } } ], "range": [ - 6350, - 6379 + 6986, + 7015 ], "loc": { "start": { - "line": 232, + "line": 251, "column": 21 }, "end": { - "line": 232, + "line": 251, "column": 50 } } }, "range": [ - 6341, - 6379 + 6977, + 7015 ], "loc": { "start": { - "line": 232, + "line": 251, "column": 12 }, "end": { - "line": 232, + "line": 251, "column": 50 } } @@ -12468,16 +13367,16 @@ ], "kind": "let", "range": [ - 6337, - 6380 + 6973, + 7016 ], "loc": { "start": { - "line": 232, + "line": 251, "column": 8 }, "end": { - "line": 232, + "line": 251, "column": 51 } } @@ -12493,16 +13392,16 @@ "type": "Identifier", "name": "header", "range": [ - 6389, - 6395 + 7025, + 7031 ], "loc": { "start": { - "line": 233, + "line": 252, "column": 8 }, "end": { - "line": 233, + "line": 252, "column": 14 } } @@ -12511,31 +13410,31 @@ "type": "Identifier", "name": "insertBefore", "range": [ - 6396, - 6408 + 7032, + 7044 ], "loc": { "start": { - "line": 233, + "line": 252, "column": 15 }, "end": { - "line": 233, + "line": 252, "column": 27 } } }, "range": [ - 6389, - 6408 + 7025, + 7044 ], "loc": { "start": { - "line": 233, + "line": 252, "column": 8 }, "end": { - "line": 233, + "line": 252, "column": 27 } } @@ -12545,16 +13444,16 @@ "type": "Identifier", "name": "popUpDiv", "range": [ - 6409, - 6417 + 7045, + 7053 ], "loc": { "start": { - "line": 233, + "line": 252, "column": 28 }, "end": { - "line": 233, + "line": 252, "column": 36 } } @@ -12566,16 +13465,16 @@ "type": "Identifier", "name": "header", "range": [ - 6419, - 6425 + 7055, + 7061 ], "loc": { "start": { - "line": 233, + "line": 252, "column": 38 }, "end": { - "line": 233, + "line": 252, "column": 44 } } @@ -12584,62 +13483,62 @@ "type": "Identifier", "name": "firstChild", "range": [ - 6426, - 6436 + 7062, + 7072 ], "loc": { "start": { - "line": 233, + "line": 252, "column": 45 }, "end": { - "line": 233, + "line": 252, "column": 55 } } }, "range": [ - 6419, - 6436 + 7055, + 7072 ], "loc": { "start": { - "line": 233, + "line": 252, "column": 38 }, "end": { - "line": 233, + "line": 252, "column": 55 } } } ], "range": [ - 6389, - 6437 + 7025, + 7073 ], "loc": { "start": { - "line": 233, + "line": 252, "column": 8 }, "end": { - "line": 233, + "line": 252, "column": 56 } } }, "range": [ - 6389, - 6438 + 7025, + 7074 ], "loc": { "start": { - "line": 233, + "line": 252, "column": 8 }, "end": { - "line": 233, + "line": 252, "column": 57 } } @@ -12652,16 +13551,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 6447, - 6453 + 7083, + 7089 ], "loc": { "start": { - "line": 234, + "line": 253, "column": 8 }, "end": { - "line": 234, + "line": 253, "column": 14 } } @@ -12671,16 +13570,16 @@ "type": "Identifier", "name": "popUpDiv", "range": [ - 6454, - 6462 + 7090, + 7098 ], "loc": { "start": { - "line": 234, + "line": 253, "column": 15 }, "end": { - "line": 234, + "line": 253, "column": 23 } } @@ -12690,16 +13589,16 @@ "value": "click", "raw": "'click'", "range": [ - 6464, - 6471 + 7100, + 7107 ], "loc": { "start": { - "line": 234, + "line": 253, "column": 25 }, "end": { - "line": 234, + "line": 253, "column": 32 } } @@ -12712,16 +13611,16 @@ "type": "Identifier", "name": "evt", "range": [ - 6474, - 6477 + 7110, + 7113 ], "loc": { "start": { - "line": 234, + "line": 253, "column": 35 }, "end": { - "line": 234, + "line": 253, "column": 38 } } @@ -12733,16 +13632,16 @@ "type": "Identifier", "name": "stopEvt", "range": [ - 6482, - 6489 + 7118, + 7125 ], "loc": { "start": { - "line": 234, + "line": 253, "column": 43 }, "end": { - "line": 234, + "line": 253, "column": 50 } } @@ -12752,32 +13651,32 @@ "type": "Identifier", "name": "evt", "range": [ - 6490, - 6493 + 7126, + 7129 ], "loc": { "start": { - "line": 234, + "line": 253, "column": 51 }, "end": { - "line": 234, + "line": 253, "column": 54 } } } ], "range": [ - 6482, - 6494 + 7118, + 7130 ], "loc": { "start": { - "line": 234, + "line": 253, "column": 43 }, "end": { - "line": 234, + "line": 253, "column": 55 } } @@ -12785,47 +13684,47 @@ "generator": false, "expression": true, "range": [ - 6473, - 6494 + 7109, + 7130 ], "loc": { "start": { - "line": 234, + "line": 253, "column": 34 }, "end": { - "line": 234, + "line": 253, "column": 55 } } } ], "range": [ - 6447, - 6495 + 7083, + 7131 ], "loc": { "start": { - "line": 234, + "line": 253, "column": 8 }, "end": { - "line": 234, + "line": 253, "column": 56 } } }, "range": [ - 6447, - 6496 + 7083, + 7132 ], "loc": { "start": { - "line": 234, + "line": 253, "column": 8 }, "end": { - "line": 234, + "line": 253, "column": 57 } } @@ -12844,16 +13743,16 @@ "object": { "type": "ThisExpression", "range": [ - 6505, - 6509 + 7141, + 7145 ], "loc": { "start": { - "line": 235, + "line": 254, "column": 8 }, "end": { - "line": 235, + "line": 254, "column": 12 } } @@ -12862,31 +13761,31 @@ "type": "Identifier", "name": "fltElms", "range": [ - 6510, - 6517 + 7146, + 7153 ], "loc": { "start": { - "line": 235, + "line": 254, "column": 13 }, "end": { - "line": 235, + "line": 254, "column": 20 } } }, "range": [ - 6505, - 6517 + 7141, + 7153 ], "loc": { "start": { - "line": 235, + "line": 254, "column": 8 }, "end": { - "line": 235, + "line": 254, "column": 20 } } @@ -12895,31 +13794,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 6518, - 6526 + 7154, + 7162 ], "loc": { "start": { - "line": 235, + "line": 254, "column": 21 }, "end": { - "line": 235, + "line": 254, "column": 29 } } }, "range": [ - 6505, - 6527 + 7141, + 7163 ], "loc": { "start": { - "line": 235, + "line": 254, "column": 8 }, "end": { - "line": 235, + "line": 254, "column": 30 } } @@ -12928,62 +13827,62 @@ "type": "Identifier", "name": "popUpDiv", "range": [ - 6530, - 6538 + 7166, + 7174 ], "loc": { "start": { - "line": 235, + "line": 254, "column": 33 }, "end": { - "line": 235, + "line": 254, "column": 41 } } }, "range": [ - 6505, - 6538 + 7141, + 7174 ], "loc": { "start": { - "line": 235, + "line": 254, "column": 8 }, "end": { - "line": 235, + "line": 254, "column": 41 } } }, "range": [ - 6505, - 6539 + 7141, + 7175 ], "loc": { "start": { - "line": 235, + "line": 254, "column": 8 }, "end": { - "line": 235, + "line": 254, "column": 42 } } } ], "range": [ - 6059, - 6545 + 6695, + 7181 ], "loc": { "start": { - "line": 224, + "line": 243, "column": 25 }, "end": { - "line": 236, + "line": 255, "column": 5 } } @@ -12991,16 +13890,16 @@ "generator": false, "expression": false, "range": [ - 6043, - 6545 + 6679, + 7181 ], "loc": { "start": { - "line": 224, + "line": 243, "column": 9 }, "end": { - "line": 236, + "line": 255, "column": 5 } } @@ -13008,16 +13907,16 @@ "kind": "method", "computed": false, "range": [ - 6038, - 6545 + 6674, + 7181 ], "loc": { "start": { - "line": 224, + "line": 243, "column": 4 }, "end": { - "line": 236, + "line": 255, "column": 5 } }, @@ -13026,16 +13925,16 @@ "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": [ - 5864, - 6033 + 6500, + 6669 ], "loc": { "start": { - "line": 219, + "line": 238, "column": 4 }, "end": { - "line": 223, + "line": 242, "column": 7 } } @@ -13046,16 +13945,16 @@ "type": "Block", "value": "*\n * Toogle visibility of specified filter\n * @param {Number} colIndex Column index\n ", "range": [ - 6551, - 6653 + 7187, + 7289 ], "loc": { "start": { - "line": 238, + "line": 257, "column": 4 }, "end": { - "line": 241, + "line": 260, "column": 7 } } @@ -13069,16 +13968,16 @@ "type": "Identifier", "name": "toggle", "range": [ - 6658, - 6664 + 7294, + 7300 ], "loc": { "start": { - "line": 242, + "line": 261, "column": 4 }, "end": { - "line": 242, + "line": 261, "column": 10 } } @@ -13091,16 +13990,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 6665, - 6673 + 7301, + 7309 ], "loc": { "start": { - "line": 242, + "line": 261, "column": 11 }, "end": { - "line": 242, + "line": 261, "column": 19 } } @@ -13118,16 +14017,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6689, - 6691 + 7325, + 7327 ], "loc": { "start": { - "line": 243, + "line": 262, "column": 12 }, "end": { - "line": 243, + "line": 262, "column": 14 } } @@ -13138,16 +14037,16 @@ "object": { "type": "ThisExpression", "range": [ - 6694, - 6698 + 7330, + 7334 ], "loc": { "start": { - "line": 243, + "line": 262, "column": 17 }, "end": { - "line": 243, + "line": 262, "column": 21 } } @@ -13156,46 +14055,46 @@ "type": "Identifier", "name": "tf", "range": [ - 6699, - 6701 + 7335, + 7337 ], "loc": { "start": { - "line": 243, + "line": 262, "column": 22 }, "end": { - "line": 243, + "line": 262, "column": 24 } } }, "range": [ - 6694, - 6701 + 7330, + 7337 ], "loc": { "start": { - "line": 243, + "line": 262, "column": 17 }, "end": { - "line": 243, + "line": 262, "column": 24 } } }, "range": [ - 6689, - 6701 + 7325, + 7337 ], "loc": { "start": { - "line": 243, + "line": 262, "column": 12 }, "end": { - "line": 243, + "line": 262, "column": 24 } } @@ -13206,16 +14105,16 @@ "type": "Identifier", "name": "popUpFltElm", "range": [ - 6715, - 6726 + 7351, + 7362 ], "loc": { "start": { - "line": 244, + "line": 263, "column": 12 }, "end": { - "line": 244, + "line": 263, "column": 23 } } @@ -13229,16 +14128,16 @@ "object": { "type": "ThisExpression", "range": [ - 6729, - 6733 + 7365, + 7369 ], "loc": { "start": { - "line": 244, + "line": 263, "column": 26 }, "end": { - "line": 244, + "line": 263, "column": 30 } } @@ -13247,31 +14146,31 @@ "type": "Identifier", "name": "fltElms", "range": [ - 6734, - 6741 + 7370, + 7377 ], "loc": { "start": { - "line": 244, + "line": 263, "column": 31 }, "end": { - "line": 244, + "line": 263, "column": 38 } } }, "range": [ - 6729, - 6741 + 7365, + 7377 ], "loc": { "start": { - "line": 244, + "line": 263, "column": 26 }, "end": { - "line": 244, + "line": 263, "column": 38 } } @@ -13280,46 +14179,46 @@ "type": "Identifier", "name": "colIndex", "range": [ - 6742, - 6750 + 7378, + 7386 ], "loc": { "start": { - "line": 244, + "line": 263, "column": 39 }, "end": { - "line": 244, + "line": 263, "column": 47 } } }, "range": [ - 6729, - 6751 + 7365, + 7387 ], "loc": { "start": { - "line": 244, + "line": 263, "column": 26 }, "end": { - "line": 244, + "line": 263, "column": 48 } } }, "range": [ - 6715, - 6751 + 7351, + 7387 ], "loc": { "start": { - "line": 244, + "line": 263, "column": 12 }, "end": { - "line": 244, + "line": 263, "column": 48 } } @@ -13327,16 +14226,16 @@ ], "kind": "let", "range": [ - 6685, - 6752 + 7321, + 7388 ], "loc": { "start": { - "line": 243, + "line": 262, "column": 8 }, "end": { - "line": 244, + "line": 263, "column": 49 } } @@ -13359,16 +14258,16 @@ "type": "Identifier", "name": "popUpFltElm", "range": [ - 6766, - 6777 + 7402, + 7413 ], "loc": { "start": { - "line": 246, + "line": 265, "column": 12 }, "end": { - "line": 246, + "line": 265, "column": 23 } } @@ -13377,31 +14276,31 @@ "type": "Identifier", "name": "style", "range": [ - 6778, - 6783 + 7414, + 7419 ], "loc": { "start": { - "line": 246, + "line": 265, "column": 24 }, "end": { - "line": 246, + "line": 265, "column": 29 } } }, "range": [ - 6766, - 6783 + 7402, + 7419 ], "loc": { "start": { - "line": 246, + "line": 265, "column": 12 }, "end": { - "line": 246, + "line": 265, "column": 29 } } @@ -13410,31 +14309,31 @@ "type": "Identifier", "name": "display", "range": [ - 6784, - 6791 + 7420, + 7427 ], "loc": { "start": { - "line": 246, + "line": 265, "column": 30 }, "end": { - "line": 246, + "line": 265, "column": 37 } } }, "range": [ - 6766, - 6791 + 7402, + 7427 ], "loc": { "start": { - "line": 246, + "line": 265, "column": 12 }, "end": { - "line": 246, + "line": 265, "column": 37 } } @@ -13443,31 +14342,31 @@ "type": "Identifier", "name": "NONE", "range": [ - 6796, - 6800 + 7432, + 7436 ], "loc": { "start": { - "line": 246, + "line": 265, "column": 42 }, "end": { - "line": 246, + "line": 265, "column": 46 } } }, "range": [ - 6766, - 6800 + 7402, + 7436 ], "loc": { "start": { - "line": 246, + "line": 265, "column": 12 }, "end": { - "line": 246, + "line": 265, "column": 46 } } @@ -13485,16 +14384,16 @@ "type": "Identifier", "name": "popUpFltElm", "range": [ - 6816, - 6827 + 7452, + 7463 ], "loc": { "start": { - "line": 247, + "line": 266, "column": 12 }, "end": { - "line": 247, + "line": 266, "column": 23 } } @@ -13503,31 +14402,31 @@ "type": "Identifier", "name": "style", "range": [ - 6828, - 6833 + 7464, + 7469 ], "loc": { "start": { - "line": 247, + "line": 266, "column": 24 }, "end": { - "line": 247, + "line": 266, "column": 29 } } }, "range": [ - 6816, - 6833 + 7452, + 7469 ], "loc": { "start": { - "line": 247, + "line": 266, "column": 12 }, "end": { - "line": 247, + "line": 266, "column": 29 } } @@ -13536,31 +14435,31 @@ "type": "Identifier", "name": "display", "range": [ - 6834, - 6841 + 7470, + 7477 ], "loc": { "start": { - "line": 247, + "line": 266, "column": 30 }, "end": { - "line": 247, + "line": 266, "column": 37 } } }, "range": [ - 6816, - 6841 + 7452, + 7477 ], "loc": { "start": { - "line": 247, + "line": 266, "column": 12 }, "end": { - "line": 247, + "line": 266, "column": 37 } } @@ -13570,46 +14469,46 @@ "value": "", "raw": "''", "range": [ - 6846, - 6848 + 7482, + 7484 ], "loc": { "start": { - "line": 247, + "line": 266, "column": 42 }, "end": { - "line": 247, + "line": 266, "column": 44 } } }, "range": [ - 6816, - 6848 + 7452, + 7484 ], "loc": { "start": { - "line": 247, + "line": 266, "column": 12 }, "end": { - "line": 247, + "line": 266, "column": 44 } } }, "range": [ - 6766, - 6848 + 7402, + 7484 ], "loc": { "start": { - "line": 246, + "line": 265, "column": 12 }, "end": { - "line": 247, + "line": 266, "column": 44 } } @@ -13625,16 +14524,16 @@ "object": { "type": "ThisExpression", "range": [ - 6868, - 6872 + 7504, + 7508 ], "loc": { "start": { - "line": 248, + "line": 267, "column": 16 }, "end": { - "line": 248, + "line": 267, "column": 20 } } @@ -13643,31 +14542,31 @@ "type": "Identifier", "name": "onBeforeOpen", "range": [ - 6873, - 6885 + 7509, + 7521 ], "loc": { "start": { - "line": 248, + "line": 267, "column": 21 }, "end": { - "line": 248, + "line": 267, "column": 33 } } }, "range": [ - 6868, - 6885 + 7504, + 7521 ], "loc": { "start": { - "line": 248, + "line": 267, "column": 16 }, "end": { - "line": 248, + "line": 267, "column": 33 } } @@ -13688,16 +14587,16 @@ "object": { "type": "ThisExpression", "range": [ - 6905, - 6909 + 7541, + 7545 ], "loc": { "start": { - "line": 249, + "line": 268, "column": 16 }, "end": { - "line": 249, + "line": 268, "column": 20 } } @@ -13706,31 +14605,31 @@ "type": "Identifier", "name": "onBeforeOpen", "range": [ - 6910, - 6922 + 7546, + 7558 ], "loc": { "start": { - "line": 249, + "line": 268, "column": 21 }, "end": { - "line": 249, + "line": 268, "column": 33 } } }, "range": [ - 6905, - 6922 + 7541, + 7558 ], "loc": { "start": { - "line": 249, + "line": 268, "column": 16 }, "end": { - "line": 249, + "line": 268, "column": 33 } } @@ -13739,31 +14638,31 @@ "type": "Identifier", "name": "call", "range": [ - 6923, - 6927 + 7559, + 7563 ], "loc": { "start": { - "line": 249, + "line": 268, "column": 34 }, "end": { - "line": 249, + "line": 268, "column": 38 } } }, "range": [ - 6905, - 6927 + 7541, + 7563 ], "loc": { "start": { - "line": 249, + "line": 268, "column": 16 }, "end": { - "line": 249, + "line": 268, "column": 38 } } @@ -13774,16 +14673,16 @@ "value": null, "raw": "null", "range": [ - 6949, - 6953 + 7585, + 7589 ], "loc": { "start": { - "line": 250, + "line": 269, "column": 20 }, "end": { - "line": 250, + "line": 269, "column": 24 } } @@ -13791,16 +14690,16 @@ { "type": "ThisExpression", "range": [ - 6955, - 6959 + 7591, + 7595 ], "loc": { "start": { - "line": 250, + "line": 269, "column": 26 }, "end": { - "line": 250, + "line": 269, "column": 30 } } @@ -13814,16 +14713,16 @@ "object": { "type": "ThisExpression", "range": [ - 6961, - 6965 + 7597, + 7601 ], "loc": { "start": { - "line": 250, + "line": 269, "column": 32 }, "end": { - "line": 250, + "line": 269, "column": 36 } } @@ -13832,31 +14731,31 @@ "type": "Identifier", "name": "fltElms", "range": [ - 6966, - 6973 + 7602, + 7609 ], "loc": { "start": { - "line": 250, + "line": 269, "column": 37 }, "end": { - "line": 250, + "line": 269, "column": 44 } } }, "range": [ - 6961, - 6973 + 7597, + 7609 ], "loc": { "start": { - "line": 250, + "line": 269, "column": 32 }, "end": { - "line": 250, + "line": 269, "column": 44 } } @@ -13865,31 +14764,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 6974, - 6982 + 7610, + 7618 ], "loc": { "start": { - "line": 250, + "line": 269, "column": 45 }, "end": { - "line": 250, + "line": 269, "column": 53 } } }, "range": [ - 6961, - 6983 + 7597, + 7619 ], "loc": { "start": { - "line": 250, + "line": 269, "column": 32 }, "end": { - "line": 250, + "line": 269, "column": 54 } } @@ -13898,79 +14797,79 @@ "type": "Identifier", "name": "colIndex", "range": [ - 6985, - 6993 + 7621, + 7629 ], "loc": { "start": { - "line": 250, + "line": 269, "column": 56 }, "end": { - "line": 250, + "line": 269, "column": 64 } } } ], "range": [ - 6905, - 6994 + 7541, + 7630 ], "loc": { "start": { - "line": 249, + "line": 268, "column": 16 }, "end": { - "line": 250, + "line": 269, "column": 65 } } }, "range": [ - 6905, - 6995 + 7541, + 7631 ], "loc": { "start": { - "line": 249, + "line": 268, "column": 16 }, "end": { - "line": 250, + "line": 269, "column": 66 } } } ], "range": [ - 6887, - 7009 + 7523, + 7645 ], "loc": { "start": { - "line": 248, + "line": 267, "column": 35 }, "end": { - "line": 251, + "line": 270, "column": 13 } } }, "alternate": null, "range": [ - 6864, - 7009 + 7500, + 7645 ], "loc": { "start": { - "line": 248, + "line": 267, "column": 12 }, "end": { - "line": 251, + "line": 270, "column": 13 } } @@ -13990,16 +14889,16 @@ "type": "Identifier", "name": "popUpFltElm", "range": [ - 7022, - 7033 + 7658, + 7669 ], "loc": { "start": { - "line": 252, + "line": 271, "column": 12 }, "end": { - "line": 252, + "line": 271, "column": 23 } } @@ -14008,31 +14907,31 @@ "type": "Identifier", "name": "style", "range": [ - 7034, - 7039 + 7670, + 7675 ], "loc": { "start": { - "line": 252, + "line": 271, "column": 24 }, "end": { - "line": 252, + "line": 271, "column": 29 } } }, "range": [ - 7022, - 7039 + 7658, + 7675 ], "loc": { "start": { - "line": 252, + "line": 271, "column": 12 }, "end": { - "line": 252, + "line": 271, "column": 29 } } @@ -14041,31 +14940,31 @@ "type": "Identifier", "name": "display", "range": [ - 7040, - 7047 + 7676, + 7683 ], "loc": { "start": { - "line": 252, + "line": 271, "column": 30 }, "end": { - "line": 252, + "line": 271, "column": 37 } } }, "range": [ - 7022, - 7047 + 7658, + 7683 ], "loc": { "start": { - "line": 252, + "line": 271, "column": 12 }, "end": { - "line": 252, + "line": 271, "column": 37 } } @@ -14075,46 +14974,46 @@ "value": "block", "raw": "'block'", "range": [ - 7050, - 7057 + 7686, + 7693 ], "loc": { "start": { - "line": 252, + "line": 271, "column": 40 }, "end": { - "line": 252, + "line": 271, "column": 47 } } }, "range": [ - 7022, - 7057 + 7658, + 7693 ], "loc": { "start": { - "line": 252, + "line": 271, "column": 12 }, "end": { - "line": 252, + "line": 271, "column": 47 } } }, "range": [ - 7022, - 7058 + 7658, + 7694 ], "loc": { "start": { - "line": 252, + "line": 271, "column": 12 }, "end": { - "line": 252, + "line": 271, "column": 48 } } @@ -14133,16 +15032,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7075, - 7077 + 7711, + 7713 ], "loc": { "start": { - "line": 253, + "line": 272, "column": 16 }, "end": { - "line": 253, + "line": 272, "column": 18 } } @@ -14151,31 +15050,31 @@ "type": "Identifier", "name": "getFilterType", "range": [ - 7078, - 7091 + 7714, + 7727 ], "loc": { "start": { - "line": 253, + "line": 272, "column": 19 }, "end": { - "line": 253, + "line": 272, "column": 32 } } }, "range": [ - 7075, - 7091 + 7711, + 7727 ], "loc": { "start": { - "line": 253, + "line": 272, "column": 16 }, "end": { - "line": 253, + "line": 272, "column": 32 } } @@ -14185,32 +15084,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 7092, - 7100 + 7728, + 7736 ], "loc": { "start": { - "line": 253, + "line": 272, "column": 33 }, "end": { - "line": 253, + "line": 272, "column": 41 } } } ], "range": [ - 7075, - 7101 + 7711, + 7737 ], "loc": { "start": { - "line": 253, + "line": 272, "column": 16 }, "end": { - "line": 253, + "line": 272, "column": 42 } } @@ -14219,31 +15118,31 @@ "type": "Identifier", "name": "INPUT", "range": [ - 7106, - 7111 + 7742, + 7747 ], "loc": { "start": { - "line": 253, + "line": 272, "column": 47 }, "end": { - "line": 253, + "line": 272, "column": 52 } } }, "range": [ - 7075, - 7111 + 7711, + 7747 ], "loc": { "start": { - "line": 253, + "line": 272, "column": 16 }, "end": { - "line": 253, + "line": 272, "column": 52 } } @@ -14260,16 +15159,16 @@ "type": "Identifier", "name": "flt", "range": [ - 7135, - 7138 + 7771, + 7774 ], "loc": { "start": { - "line": 254, + "line": 273, "column": 20 }, "end": { - "line": 254, + "line": 273, "column": 23 } } @@ -14283,16 +15182,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7141, - 7143 + 7777, + 7779 ], "loc": { "start": { - "line": 254, + "line": 273, "column": 26 }, "end": { - "line": 254, + "line": 273, "column": 28 } } @@ -14301,31 +15200,31 @@ "type": "Identifier", "name": "getFilterElement", "range": [ - 7144, - 7160 + 7780, + 7796 ], "loc": { "start": { - "line": 254, + "line": 273, "column": 29 }, "end": { - "line": 254, + "line": 273, "column": 45 } } }, "range": [ - 7141, - 7160 + 7777, + 7796 ], "loc": { "start": { - "line": 254, + "line": 273, "column": 26 }, "end": { - "line": 254, + "line": 273, "column": 45 } } @@ -14335,47 +15234,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 7161, - 7169 + 7797, + 7805 ], "loc": { "start": { - "line": 254, + "line": 273, "column": 46 }, "end": { - "line": 254, + "line": 273, "column": 54 } } } ], "range": [ - 7141, - 7170 + 7777, + 7806 ], "loc": { "start": { - "line": 254, + "line": 273, "column": 26 }, "end": { - "line": 254, + "line": 273, "column": 55 } } }, "range": [ - 7135, - 7170 + 7771, + 7806 ], "loc": { "start": { - "line": 254, + "line": 273, "column": 20 }, "end": { - "line": 254, + "line": 273, "column": 55 } } @@ -14383,16 +15282,16 @@ ], "kind": "let", "range": [ - 7131, - 7171 + 7767, + 7807 ], "loc": { "start": { - "line": 254, + "line": 273, "column": 16 }, "end": { - "line": 254, + "line": 273, "column": 56 } } @@ -14403,16 +15302,16 @@ "type": "Identifier", "name": "flt", "range": [ - 7192, - 7195 + 7828, + 7831 ], "loc": { "start": { - "line": 255, + "line": 274, "column": 20 }, "end": { - "line": 255, + "line": 274, "column": 23 } } @@ -14431,16 +15330,16 @@ "type": "Identifier", "name": "flt", "range": [ - 7219, - 7222 + 7855, + 7858 ], "loc": { "start": { - "line": 256, + "line": 275, "column": 20 }, "end": { - "line": 256, + "line": 275, "column": 23 } } @@ -14449,126 +15348,126 @@ "type": "Identifier", "name": "focus", "range": [ - 7223, - 7228 + 7859, + 7864 ], "loc": { "start": { - "line": 256, + "line": 275, "column": 24 }, "end": { - "line": 256, + "line": 275, "column": 29 } } }, "range": [ - 7219, - 7228 + 7855, + 7864 ], "loc": { "start": { - "line": 256, + "line": 275, "column": 20 }, "end": { - "line": 256, + "line": 275, "column": 29 } } }, "arguments": [], "range": [ - 7219, - 7230 + 7855, + 7866 ], "loc": { "start": { - "line": 256, + "line": 275, "column": 20 }, "end": { - "line": 256, + "line": 275, "column": 31 } } }, "range": [ - 7219, - 7231 + 7855, + 7867 ], "loc": { "start": { - "line": 256, + "line": 275, "column": 20 }, "end": { - "line": 256, + "line": 275, "column": 32 } } } ], "range": [ - 7197, - 7249 + 7833, + 7885 ], "loc": { "start": { - "line": 255, + "line": 274, "column": 25 }, "end": { - "line": 257, + "line": 276, "column": 17 } } }, "alternate": null, "range": [ - 7188, - 7249 + 7824, + 7885 ], "loc": { "start": { - "line": 255, + "line": 274, "column": 16 }, "end": { - "line": 257, + "line": 276, "column": 17 } } } ], "range": [ - 7113, - 7263 + 7749, + 7899 ], "loc": { "start": { - "line": 253, + "line": 272, "column": 54 }, "end": { - "line": 258, + "line": 277, "column": 13 } } }, "alternate": null, "range": [ - 7071, - 7263 + 7707, + 7899 ], "loc": { "start": { - "line": 253, + "line": 272, "column": 12 }, "end": { - "line": 258, + "line": 277, "column": 13 } } @@ -14581,16 +15480,16 @@ "object": { "type": "ThisExpression", "range": [ - 7280, - 7284 + 7916, + 7920 ], "loc": { "start": { - "line": 259, + "line": 278, "column": 16 }, "end": { - "line": 259, + "line": 278, "column": 20 } } @@ -14599,31 +15498,31 @@ "type": "Identifier", "name": "onAfterOpen", "range": [ - 7285, - 7296 + 7921, + 7932 ], "loc": { "start": { - "line": 259, + "line": 278, "column": 21 }, "end": { - "line": 259, + "line": 278, "column": 32 } } }, "range": [ - 7280, - 7296 + 7916, + 7932 ], "loc": { "start": { - "line": 259, + "line": 278, "column": 16 }, "end": { - "line": 259, + "line": 278, "column": 32 } } @@ -14644,16 +15543,16 @@ "object": { "type": "ThisExpression", "range": [ - 7316, - 7320 + 7952, + 7956 ], "loc": { "start": { - "line": 260, + "line": 279, "column": 16 }, "end": { - "line": 260, + "line": 279, "column": 20 } } @@ -14662,31 +15561,31 @@ "type": "Identifier", "name": "onAfterOpen", "range": [ - 7321, - 7332 + 7957, + 7968 ], "loc": { "start": { - "line": 260, + "line": 279, "column": 21 }, "end": { - "line": 260, + "line": 279, "column": 32 } } }, "range": [ - 7316, - 7332 + 7952, + 7968 ], "loc": { "start": { - "line": 260, + "line": 279, "column": 16 }, "end": { - "line": 260, + "line": 279, "column": 32 } } @@ -14695,31 +15594,31 @@ "type": "Identifier", "name": "call", "range": [ - 7333, - 7337 + 7969, + 7973 ], "loc": { "start": { - "line": 260, + "line": 279, "column": 33 }, "end": { - "line": 260, + "line": 279, "column": 37 } } }, "range": [ - 7316, - 7337 + 7952, + 7973 ], "loc": { "start": { - "line": 260, + "line": 279, "column": 16 }, "end": { - "line": 260, + "line": 279, "column": 37 } } @@ -14730,16 +15629,16 @@ "value": null, "raw": "null", "range": [ - 7359, - 7363 + 7995, + 7999 ], "loc": { "start": { - "line": 261, + "line": 280, "column": 20 }, "end": { - "line": 261, + "line": 280, "column": 24 } } @@ -14747,16 +15646,16 @@ { "type": "ThisExpression", "range": [ - 7365, - 7369 + 8001, + 8005 ], "loc": { "start": { - "line": 261, + "line": 280, "column": 26 }, "end": { - "line": 261, + "line": 280, "column": 30 } } @@ -14770,16 +15669,16 @@ "object": { "type": "ThisExpression", "range": [ - 7371, - 7375 + 8007, + 8011 ], "loc": { "start": { - "line": 261, + "line": 280, "column": 32 }, "end": { - "line": 261, + "line": 280, "column": 36 } } @@ -14788,31 +15687,31 @@ "type": "Identifier", "name": "fltElms", "range": [ - 7376, - 7383 + 8012, + 8019 ], "loc": { "start": { - "line": 261, + "line": 280, "column": 37 }, "end": { - "line": 261, + "line": 280, "column": 44 } } }, "range": [ - 7371, - 7383 + 8007, + 8019 ], "loc": { "start": { - "line": 261, + "line": 280, "column": 32 }, "end": { - "line": 261, + "line": 280, "column": 44 } } @@ -14821,31 +15720,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 7384, - 7392 + 8020, + 8028 ], "loc": { "start": { - "line": 261, + "line": 280, "column": 45 }, "end": { - "line": 261, + "line": 280, "column": 53 } } }, "range": [ - 7371, - 7393 + 8007, + 8029 ], "loc": { "start": { - "line": 261, + "line": 280, "column": 32 }, "end": { - "line": 261, + "line": 280, "column": 54 } } @@ -14854,95 +15753,95 @@ "type": "Identifier", "name": "colIndex", "range": [ - 7395, - 7403 + 8031, + 8039 ], "loc": { "start": { - "line": 261, + "line": 280, "column": 56 }, "end": { - "line": 261, + "line": 280, "column": 64 } } } ], "range": [ - 7316, - 7404 + 7952, + 8040 ], "loc": { "start": { - "line": 260, + "line": 279, "column": 16 }, "end": { - "line": 261, + "line": 280, "column": 65 } } }, "range": [ - 7316, - 7405 + 7952, + 8041 ], "loc": { "start": { - "line": 260, + "line": 279, "column": 16 }, "end": { - "line": 261, + "line": 280, "column": 66 } } } ], "range": [ - 7298, - 7419 + 7934, + 8055 ], "loc": { "start": { - "line": 259, + "line": 278, "column": 34 }, "end": { - "line": 262, + "line": 281, "column": 13 } } }, "alternate": null, "range": [ - 7276, - 7419 + 7912, + 8055 ], "loc": { "start": { - "line": 259, + "line": 278, "column": 12 }, "end": { - "line": 262, + "line": 281, "column": 13 } } } ], "range": [ - 6850, - 7429 + 7486, + 8065 ], "loc": { "start": { - "line": 247, + "line": 266, "column": 46 }, "end": { - "line": 263, + "line": 282, "column": 9 } } @@ -14958,16 +15857,16 @@ "object": { "type": "ThisExpression", "range": [ - 7453, - 7457 + 8089, + 8093 ], "loc": { "start": { - "line": 264, + "line": 283, "column": 16 }, "end": { - "line": 264, + "line": 283, "column": 20 } } @@ -14976,31 +15875,31 @@ "type": "Identifier", "name": "onBeforeClose", "range": [ - 7458, - 7471 + 8094, + 8107 ], "loc": { "start": { - "line": 264, + "line": 283, "column": 21 }, "end": { - "line": 264, + "line": 283, "column": 34 } } }, "range": [ - 7453, - 7471 + 8089, + 8107 ], "loc": { "start": { - "line": 264, + "line": 283, "column": 16 }, "end": { - "line": 264, + "line": 283, "column": 34 } } @@ -15021,16 +15920,16 @@ "object": { "type": "ThisExpression", "range": [ - 7491, - 7495 + 8127, + 8131 ], "loc": { "start": { - "line": 265, + "line": 284, "column": 16 }, "end": { - "line": 265, + "line": 284, "column": 20 } } @@ -15039,31 +15938,31 @@ "type": "Identifier", "name": "onBeforeClose", "range": [ - 7496, - 7509 + 8132, + 8145 ], "loc": { "start": { - "line": 265, + "line": 284, "column": 21 }, "end": { - "line": 265, + "line": 284, "column": 34 } } }, "range": [ - 7491, - 7509 + 8127, + 8145 ], "loc": { "start": { - "line": 265, + "line": 284, "column": 16 }, "end": { - "line": 265, + "line": 284, "column": 34 } } @@ -15072,31 +15971,31 @@ "type": "Identifier", "name": "call", "range": [ - 7510, - 7514 + 8146, + 8150 ], "loc": { "start": { - "line": 265, + "line": 284, "column": 35 }, "end": { - "line": 265, + "line": 284, "column": 39 } } }, "range": [ - 7491, - 7514 + 8127, + 8150 ], "loc": { "start": { - "line": 265, + "line": 284, "column": 16 }, "end": { - "line": 265, + "line": 284, "column": 39 } } @@ -15107,16 +16006,16 @@ "value": null, "raw": "null", "range": [ - 7536, - 7540 + 8172, + 8176 ], "loc": { "start": { - "line": 266, + "line": 285, "column": 20 }, "end": { - "line": 266, + "line": 285, "column": 24 } } @@ -15124,16 +16023,16 @@ { "type": "ThisExpression", "range": [ - 7542, - 7546 + 8178, + 8182 ], "loc": { "start": { - "line": 266, + "line": 285, "column": 26 }, "end": { - "line": 266, + "line": 285, "column": 30 } } @@ -15147,16 +16046,16 @@ "object": { "type": "ThisExpression", "range": [ - 7548, - 7552 + 8184, + 8188 ], "loc": { "start": { - "line": 266, + "line": 285, "column": 32 }, "end": { - "line": 266, + "line": 285, "column": 36 } } @@ -15165,31 +16064,31 @@ "type": "Identifier", "name": "fltElms", "range": [ - 7553, - 7560 + 8189, + 8196 ], "loc": { "start": { - "line": 266, + "line": 285, "column": 37 }, "end": { - "line": 266, + "line": 285, "column": 44 } } }, "range": [ - 7548, - 7560 + 8184, + 8196 ], "loc": { "start": { - "line": 266, + "line": 285, "column": 32 }, "end": { - "line": 266, + "line": 285, "column": 44 } } @@ -15198,31 +16097,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 7561, - 7569 + 8197, + 8205 ], "loc": { "start": { - "line": 266, + "line": 285, "column": 45 }, "end": { - "line": 266, + "line": 285, "column": 53 } } }, "range": [ - 7548, - 7570 + 8184, + 8206 ], "loc": { "start": { - "line": 266, + "line": 285, "column": 32 }, "end": { - "line": 266, + "line": 285, "column": 54 } } @@ -15231,79 +16130,79 @@ "type": "Identifier", "name": "colIndex", "range": [ - 7572, - 7580 + 8208, + 8216 ], "loc": { "start": { - "line": 266, + "line": 285, "column": 56 }, "end": { - "line": 266, + "line": 285, "column": 64 } } } ], "range": [ - 7491, - 7581 + 8127, + 8217 ], "loc": { "start": { - "line": 265, + "line": 284, "column": 16 }, "end": { - "line": 266, + "line": 285, "column": 65 } } }, "range": [ - 7491, - 7582 + 8127, + 8218 ], "loc": { "start": { - "line": 265, + "line": 284, "column": 16 }, "end": { - "line": 266, + "line": 285, "column": 66 } } } ], "range": [ - 7473, - 7596 + 8109, + 8232 ], "loc": { "start": { - "line": 264, + "line": 283, "column": 36 }, "end": { - "line": 267, + "line": 286, "column": 13 } } }, "alternate": null, "range": [ - 7449, - 7596 + 8085, + 8232 ], "loc": { "start": { - "line": 264, + "line": 283, "column": 12 }, "end": { - "line": 267, + "line": 286, "column": 13 } } @@ -15323,16 +16222,16 @@ "type": "Identifier", "name": "popUpFltElm", "range": [ - 7609, - 7620 + 8245, + 8256 ], "loc": { "start": { - "line": 268, + "line": 287, "column": 12 }, "end": { - "line": 268, + "line": 287, "column": 23 } } @@ -15341,31 +16240,31 @@ "type": "Identifier", "name": "style", "range": [ - 7621, - 7626 + 8257, + 8262 ], "loc": { "start": { - "line": 268, + "line": 287, "column": 24 }, "end": { - "line": 268, + "line": 287, "column": 29 } } }, "range": [ - 7609, - 7626 + 8245, + 8262 ], "loc": { "start": { - "line": 268, + "line": 287, "column": 12 }, "end": { - "line": 268, + "line": 287, "column": 29 } } @@ -15374,31 +16273,31 @@ "type": "Identifier", "name": "display", "range": [ - 7627, - 7634 + 8263, + 8270 ], "loc": { "start": { - "line": 268, + "line": 287, "column": 30 }, "end": { - "line": 268, + "line": 287, "column": 37 } } }, "range": [ - 7609, - 7634 + 8245, + 8270 ], "loc": { "start": { - "line": 268, + "line": 287, "column": 12 }, "end": { - "line": 268, + "line": 287, "column": 37 } } @@ -15407,46 +16306,46 @@ "type": "Identifier", "name": "NONE", "range": [ - 7637, - 7641 + 8273, + 8277 ], "loc": { "start": { - "line": 268, + "line": 287, "column": 40 }, "end": { - "line": 268, + "line": 287, "column": 44 } } }, "range": [ - 7609, - 7641 + 8245, + 8277 ], "loc": { "start": { - "line": 268, + "line": 287, "column": 12 }, "end": { - "line": 268, + "line": 287, "column": 44 } } }, "range": [ - 7609, - 7642 + 8245, + 8278 ], "loc": { "start": { - "line": 268, + "line": 287, "column": 12 }, "end": { - "line": 268, + "line": 287, "column": 45 } } @@ -15459,16 +16358,16 @@ "object": { "type": "ThisExpression", "range": [ - 7659, - 7663 + 8295, + 8299 ], "loc": { "start": { - "line": 269, + "line": 288, "column": 16 }, "end": { - "line": 269, + "line": 288, "column": 20 } } @@ -15477,31 +16376,31 @@ "type": "Identifier", "name": "onAfterClose", "range": [ - 7664, - 7676 + 8300, + 8312 ], "loc": { "start": { - "line": 269, + "line": 288, "column": 21 }, "end": { - "line": 269, + "line": 288, "column": 33 } } }, "range": [ - 7659, - 7676 + 8295, + 8312 ], "loc": { "start": { - "line": 269, + "line": 288, "column": 16 }, "end": { - "line": 269, + "line": 288, "column": 33 } } @@ -15522,16 +16421,16 @@ "object": { "type": "ThisExpression", "range": [ - 7696, - 7700 + 8332, + 8336 ], "loc": { "start": { - "line": 270, + "line": 289, "column": 16 }, "end": { - "line": 270, + "line": 289, "column": 20 } } @@ -15540,31 +16439,31 @@ "type": "Identifier", "name": "onAfterClose", "range": [ - 7701, - 7713 + 8337, + 8349 ], "loc": { "start": { - "line": 270, + "line": 289, "column": 21 }, "end": { - "line": 270, + "line": 289, "column": 33 } } }, "range": [ - 7696, - 7713 + 8332, + 8349 ], "loc": { "start": { - "line": 270, + "line": 289, "column": 16 }, "end": { - "line": 270, + "line": 289, "column": 33 } } @@ -15573,31 +16472,31 @@ "type": "Identifier", "name": "call", "range": [ - 7714, - 7718 + 8350, + 8354 ], "loc": { "start": { - "line": 270, + "line": 289, "column": 34 }, "end": { - "line": 270, + "line": 289, "column": 38 } } }, "range": [ - 7696, - 7718 + 8332, + 8354 ], "loc": { "start": { - "line": 270, + "line": 289, "column": 16 }, "end": { - "line": 270, + "line": 289, "column": 38 } } @@ -15608,16 +16507,16 @@ "value": null, "raw": "null", "range": [ - 7740, - 7744 + 8376, + 8380 ], "loc": { "start": { - "line": 271, + "line": 290, "column": 20 }, "end": { - "line": 271, + "line": 290, "column": 24 } } @@ -15625,16 +16524,16 @@ { "type": "ThisExpression", "range": [ - 7746, - 7750 + 8382, + 8386 ], "loc": { "start": { - "line": 271, + "line": 290, "column": 26 }, "end": { - "line": 271, + "line": 290, "column": 30 } } @@ -15648,16 +16547,16 @@ "object": { "type": "ThisExpression", "range": [ - 7752, - 7756 + 8388, + 8392 ], "loc": { "start": { - "line": 271, + "line": 290, "column": 32 }, "end": { - "line": 271, + "line": 290, "column": 36 } } @@ -15666,31 +16565,31 @@ "type": "Identifier", "name": "fltElms", "range": [ - 7757, - 7764 + 8393, + 8400 ], "loc": { "start": { - "line": 271, + "line": 290, "column": 37 }, "end": { - "line": 271, + "line": 290, "column": 44 } } }, "range": [ - 7752, - 7764 + 8388, + 8400 ], "loc": { "start": { - "line": 271, + "line": 290, "column": 32 }, "end": { - "line": 271, + "line": 290, "column": 44 } } @@ -15699,31 +16598,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 7765, - 7773 + 8401, + 8409 ], "loc": { "start": { - "line": 271, + "line": 290, "column": 45 }, "end": { - "line": 271, + "line": 290, "column": 53 } } }, "range": [ - 7752, - 7774 + 8388, + 8410 ], "loc": { "start": { - "line": 271, + "line": 290, "column": 32 }, "end": { - "line": 271, + "line": 290, "column": 54 } } @@ -15732,126 +16631,126 @@ "type": "Identifier", "name": "colIndex", "range": [ - 7776, - 7784 + 8412, + 8420 ], "loc": { "start": { - "line": 271, + "line": 290, "column": 56 }, "end": { - "line": 271, + "line": 290, "column": 64 } } } ], "range": [ - 7696, - 7785 + 8332, + 8421 ], "loc": { "start": { - "line": 270, + "line": 289, "column": 16 }, "end": { - "line": 271, + "line": 290, "column": 65 } } }, "range": [ - 7696, - 7786 + 8332, + 8422 ], "loc": { "start": { - "line": 270, + "line": 289, "column": 16 }, "end": { - "line": 271, + "line": 290, "column": 66 } } } ], "range": [ - 7678, - 7800 + 8314, + 8436 ], "loc": { "start": { - "line": 269, + "line": 288, "column": 35 }, "end": { - "line": 272, + "line": 291, "column": 13 } } }, "alternate": null, "range": [ - 7655, - 7800 + 8291, + 8436 ], "loc": { "start": { - "line": 269, + "line": 288, "column": 12 }, "end": { - "line": 272, + "line": 291, "column": 13 } } } ], "range": [ - 7435, - 7810 + 8071, + 8446 ], "loc": { "start": { - "line": 263, + "line": 282, "column": 15 }, "end": { - "line": 273, + "line": 292, "column": 9 } } }, "range": [ - 6762, - 7810 + 7398, + 8446 ], "loc": { "start": { - "line": 246, + "line": 265, "column": 8 }, "end": { - "line": 273, + "line": 292, "column": 9 } } } ], "range": [ - 6675, - 7816 + 7311, + 8452 ], "loc": { "start": { - "line": 242, + "line": 261, "column": 21 }, "end": { - "line": 274, + "line": 293, "column": 5 } } @@ -15859,16 +16758,16 @@ "generator": false, "expression": false, "range": [ - 6664, - 7816 + 7300, + 8452 ], "loc": { "start": { - "line": 242, + "line": 261, "column": 10 }, "end": { - "line": 274, + "line": 293, "column": 5 } } @@ -15876,16 +16775,16 @@ "kind": "method", "computed": false, "range": [ - 6658, - 7816 + 7294, + 8452 ], "loc": { "start": { - "line": 242, + "line": 261, "column": 4 }, "end": { - "line": 274, + "line": 293, "column": 5 } }, @@ -15894,16 +16793,16 @@ "type": "Block", "value": "*\n * Toogle visibility of specified filter\n * @param {Number} colIndex Column index\n ", "range": [ - 6551, - 6653 + 7187, + 7289 ], "loc": { "start": { - "line": 238, + "line": 257, "column": 4 }, "end": { - "line": 241, + "line": 260, "column": 7 } } @@ -15914,16 +16813,16 @@ "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": [ - 7822, - 7970 + 8458, + 8606 ], "loc": { "start": { - "line": 276, + "line": 295, "column": 4 }, "end": { - "line": 279, + "line": 298, "column": 7 } } @@ -15937,16 +16836,16 @@ "type": "Identifier", "name": "closeAll", "range": [ - 7975, - 7983 + 8611, + 8619 ], "loc": { "start": { - "line": 280, + "line": 299, "column": 4 }, "end": { - "line": 280, + "line": 299, "column": 12 } } @@ -15959,16 +16858,16 @@ "type": "Identifier", "name": "exceptIdx", "range": [ - 7984, - 7993 + 8620, + 8629 ], "loc": { "start": { - "line": 280, + "line": 299, "column": 13 }, "end": { - "line": 280, + "line": 299, "column": 22 } } @@ -15988,16 +16887,16 @@ "type": "Identifier", "name": "i", "range": [ - 8014, - 8015 + 8650, + 8651 ], "loc": { "start": { - "line": 281, + "line": 300, "column": 17 }, "end": { - "line": 281, + "line": 300, "column": 18 } } @@ -16007,31 +16906,31 @@ "value": 0, "raw": "0", "range": [ - 8018, - 8019 + 8654, + 8655 ], "loc": { "start": { - "line": 281, + "line": 300, "column": 21 }, "end": { - "line": 281, + "line": 300, "column": 22 } } }, "range": [ - 8014, - 8019 + 8650, + 8655 ], "loc": { "start": { - "line": 281, + "line": 300, "column": 17 }, "end": { - "line": 281, + "line": 300, "column": 22 } } @@ -16039,16 +16938,16 @@ ], "kind": "let", "range": [ - 8010, - 8019 + 8646, + 8655 ], "loc": { "start": { - "line": 281, + "line": 300, "column": 13 }, "end": { - "line": 281, + "line": 300, "column": 22 } } @@ -16060,16 +16959,16 @@ "type": "Identifier", "name": "i", "range": [ - 8021, - 8022 + 8657, + 8658 ], "loc": { "start": { - "line": 281, + "line": 300, "column": 24 }, "end": { - "line": 281, + "line": 300, "column": 25 } } @@ -16083,16 +16982,16 @@ "object": { "type": "ThisExpression", "range": [ - 8025, - 8029 + 8661, + 8665 ], "loc": { "start": { - "line": 281, + "line": 300, "column": 28 }, "end": { - "line": 281, + "line": 300, "column": 32 } } @@ -16101,31 +17000,31 @@ "type": "Identifier", "name": "fltElms", "range": [ - 8030, - 8037 + 8666, + 8673 ], "loc": { "start": { - "line": 281, + "line": 300, "column": 33 }, "end": { - "line": 281, + "line": 300, "column": 40 } } }, "range": [ - 8025, - 8037 + 8661, + 8673 ], "loc": { "start": { - "line": 281, + "line": 300, "column": 28 }, "end": { - "line": 281, + "line": 300, "column": 40 } } @@ -16134,46 +17033,46 @@ "type": "Identifier", "name": "length", "range": [ - 8038, - 8044 + 8674, + 8680 ], "loc": { "start": { - "line": 281, + "line": 300, "column": 41 }, "end": { - "line": 281, + "line": 300, "column": 47 } } }, "range": [ - 8025, - 8044 + 8661, + 8680 ], "loc": { "start": { - "line": 281, + "line": 300, "column": 28 }, "end": { - "line": 281, + "line": 300, "column": 47 } } }, "range": [ - 8021, - 8044 + 8657, + 8680 ], "loc": { "start": { - "line": 281, + "line": 300, "column": 24 }, "end": { - "line": 281, + "line": 300, "column": 47 } } @@ -16185,32 +17084,32 @@ "type": "Identifier", "name": "i", "range": [ - 8046, - 8047 + 8682, + 8683 ], "loc": { "start": { - "line": 281, + "line": 300, "column": 49 }, "end": { - "line": 281, + "line": 300, "column": 50 } } }, "prefix": false, "range": [ - 8046, - 8049 + 8682, + 8685 ], "loc": { "start": { - "line": 281, + "line": 300, "column": 49 }, "end": { - "line": 281, + "line": 300, "column": 52 } } @@ -16227,16 +17126,16 @@ "type": "Identifier", "name": "i", "range": [ - 8069, - 8070 + 8705, + 8706 ], "loc": { "start": { - "line": 282, + "line": 301, "column": 16 }, "end": { - "line": 282, + "line": 301, "column": 17 } } @@ -16245,31 +17144,31 @@ "type": "Identifier", "name": "exceptIdx", "range": [ - 8075, - 8084 + 8711, + 8720 ], "loc": { "start": { - "line": 282, + "line": 301, "column": 22 }, "end": { - "line": 282, + "line": 301, "column": 31 } } }, "range": [ - 8069, - 8084 + 8705, + 8720 ], "loc": { "start": { - "line": 282, + "line": 301, "column": 16 }, "end": { - "line": 282, + "line": 301, "column": 31 } } @@ -16281,48 +17180,48 @@ "type": "ContinueStatement", "label": null, "range": [ - 8104, - 8113 + 8740, + 8749 ], "loc": { "start": { - "line": 283, + "line": 302, "column": 16 }, "end": { - "line": 283, + "line": 302, "column": 25 } } } ], "range": [ - 8086, - 8127 + 8722, + 8763 ], "loc": { "start": { - "line": 282, + "line": 301, "column": 33 }, "end": { - "line": 284, + "line": 303, "column": 13 } } }, "alternate": null, "range": [ - 8065, - 8127 + 8701, + 8763 ], "loc": { "start": { - "line": 282, + "line": 301, "column": 12 }, "end": { - "line": 284, + "line": 303, "column": 13 } } @@ -16336,16 +17235,16 @@ "type": "Identifier", "name": "popUpFltElm", "range": [ - 8144, - 8155 + 8780, + 8791 ], "loc": { "start": { - "line": 285, + "line": 304, "column": 16 }, "end": { - "line": 285, + "line": 304, "column": 27 } } @@ -16359,16 +17258,16 @@ "object": { "type": "ThisExpression", "range": [ - 8158, - 8162 + 8794, + 8798 ], "loc": { "start": { - "line": 285, + "line": 304, "column": 30 }, "end": { - "line": 285, + "line": 304, "column": 34 } } @@ -16377,31 +17276,31 @@ "type": "Identifier", "name": "fltElms", "range": [ - 8163, - 8170 + 8799, + 8806 ], "loc": { "start": { - "line": 285, + "line": 304, "column": 35 }, "end": { - "line": 285, + "line": 304, "column": 42 } } }, "range": [ - 8158, - 8170 + 8794, + 8806 ], "loc": { "start": { - "line": 285, + "line": 304, "column": 30 }, "end": { - "line": 285, + "line": 304, "column": 42 } } @@ -16410,46 +17309,46 @@ "type": "Identifier", "name": "i", "range": [ - 8171, - 8172 + 8807, + 8808 ], "loc": { "start": { - "line": 285, + "line": 304, "column": 43 }, "end": { - "line": 285, + "line": 304, "column": 44 } } }, "range": [ - 8158, - 8173 + 8794, + 8809 ], "loc": { "start": { - "line": 285, + "line": 304, "column": 30 }, "end": { - "line": 285, + "line": 304, "column": 45 } } }, "range": [ - 8144, - 8173 + 8780, + 8809 ], "loc": { "start": { - "line": 285, + "line": 304, "column": 16 }, "end": { - "line": 285, + "line": 304, "column": 45 } } @@ -16457,16 +17356,16 @@ ], "kind": "let", "range": [ - 8140, - 8174 + 8776, + 8810 ], "loc": { "start": { - "line": 285, + "line": 304, "column": 12 }, "end": { - "line": 285, + "line": 304, "column": 46 } } @@ -16477,16 +17376,16 @@ "type": "Identifier", "name": "popUpFltElm", "range": [ - 8191, - 8202 + 8827, + 8838 ], "loc": { "start": { - "line": 286, + "line": 305, "column": 16 }, "end": { - "line": 286, + "line": 305, "column": 27 } } @@ -16509,16 +17408,16 @@ "type": "Identifier", "name": "popUpFltElm", "range": [ - 8222, - 8233 + 8858, + 8869 ], "loc": { "start": { - "line": 287, + "line": 306, "column": 16 }, "end": { - "line": 287, + "line": 306, "column": 27 } } @@ -16527,31 +17426,31 @@ "type": "Identifier", "name": "style", "range": [ - 8234, - 8239 + 8870, + 8875 ], "loc": { "start": { - "line": 287, + "line": 306, "column": 28 }, "end": { - "line": 287, + "line": 306, "column": 33 } } }, "range": [ - 8222, - 8239 + 8858, + 8875 ], "loc": { "start": { - "line": 287, + "line": 306, "column": 16 }, "end": { - "line": 287, + "line": 306, "column": 33 } } @@ -16560,31 +17459,31 @@ "type": "Identifier", "name": "display", "range": [ - 8240, - 8247 + 8876, + 8883 ], "loc": { "start": { - "line": 287, + "line": 306, "column": 34 }, "end": { - "line": 287, + "line": 306, "column": 41 } } }, "range": [ - 8222, - 8247 + 8858, + 8883 ], "loc": { "start": { - "line": 287, + "line": 306, "column": 16 }, "end": { - "line": 287, + "line": 306, "column": 41 } } @@ -16593,125 +17492,125 @@ "type": "Identifier", "name": "NONE", "range": [ - 8250, - 8254 + 8886, + 8890 ], "loc": { "start": { - "line": 287, + "line": 306, "column": 44 }, "end": { - "line": 287, + "line": 306, "column": 48 } } }, "range": [ - 8222, - 8254 + 8858, + 8890 ], "loc": { "start": { - "line": 287, + "line": 306, "column": 16 }, "end": { - "line": 287, + "line": 306, "column": 48 } } }, "range": [ - 8222, - 8255 + 8858, + 8891 ], "loc": { "start": { - "line": 287, + "line": 306, "column": 16 }, "end": { - "line": 287, + "line": 306, "column": 49 } } } ], "range": [ - 8204, - 8269 + 8840, + 8905 ], "loc": { "start": { - "line": 286, + "line": 305, "column": 29 }, "end": { - "line": 288, + "line": 307, "column": 13 } } }, "alternate": null, "range": [ - 8187, - 8269 + 8823, + 8905 ], "loc": { "start": { - "line": 286, + "line": 305, "column": 12 }, "end": { - "line": 288, + "line": 307, "column": 13 } } } ], "range": [ - 8051, - 8279 + 8687, + 8915 ], "loc": { "start": { - "line": 281, + "line": 300, "column": 54 }, "end": { - "line": 289, + "line": 308, "column": 9 } } }, "range": [ - 8005, - 8279 + 8641, + 8915 ], "loc": { "start": { - "line": 281, + "line": 300, "column": 8 }, "end": { - "line": 289, + "line": 308, "column": 9 } } } ], "range": [ - 7995, - 8285 + 8631, + 8921 ], "loc": { "start": { - "line": 280, + "line": 299, "column": 24 }, "end": { - "line": 290, + "line": 309, "column": 5 } } @@ -16719,16 +17618,16 @@ "generator": false, "expression": false, "range": [ - 7983, - 8285 + 8619, + 8921 ], "loc": { "start": { - "line": 280, + "line": 299, "column": 12 }, "end": { - "line": 290, + "line": 309, "column": 5 } } @@ -16736,16 +17635,16 @@ "kind": "method", "computed": false, "range": [ - 7975, - 8285 + 8611, + 8921 ], "loc": { "start": { - "line": 280, + "line": 299, "column": 4 }, "end": { - "line": 290, + "line": 309, "column": 5 } }, @@ -16754,16 +17653,16 @@ "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": [ - 7822, - 7970 + 8458, + 8606 ], "loc": { "start": { - "line": 276, + "line": 295, "column": 4 }, "end": { - "line": 279, + "line": 298, "column": 7 } } @@ -16774,16 +17673,16 @@ "type": "Block", "value": "*\n * Build all the icons representing the pop-up filters\n ", "range": [ - 8291, - 8361 + 8927, + 8997 ], "loc": { "start": { - "line": 292, + "line": 311, "column": 4 }, "end": { - "line": 294, + "line": 313, "column": 7 } } @@ -16795,19 +17694,19 @@ "type": "MethodDefinition", "key": { "type": "Identifier", - "name": "buildIcons", + "name": "setIconsState", "range": [ - 8366, - 8376 + 9002, + 9015 ], "loc": { "start": { - "line": 295, + "line": 314, "column": 4 }, "end": { - "line": 295, - "column": 14 + "line": 314, + "column": 17 } } }, @@ -16829,16 +17728,16 @@ "type": "Identifier", "name": "i", "range": [ - 8398, - 8399 + 9037, + 9038 ], "loc": { "start": { - "line": 296, + "line": 315, "column": 17 }, "end": { - "line": 296, + "line": 315, "column": 18 } } @@ -16848,31 +17747,31 @@ "value": 0, "raw": "0", "range": [ - 8402, - 8403 + 9041, + 9042 ], "loc": { "start": { - "line": 296, + "line": 315, "column": 21 }, "end": { - "line": 296, + "line": 315, "column": 22 } } }, "range": [ - 8398, - 8403 + 9037, + 9042 ], "loc": { "start": { - "line": 296, + "line": 315, "column": 17 }, "end": { - "line": 296, + "line": 315, "column": 22 } } @@ -16880,16 +17779,16 @@ ], "kind": "let", "range": [ - 8394, - 8403 + 9033, + 9042 ], "loc": { "start": { - "line": 296, + "line": 315, "column": 13 }, "end": { - "line": 296, + "line": 315, "column": 22 } } @@ -16901,16 +17800,16 @@ "type": "Identifier", "name": "i", "range": [ - 8405, - 8406 + 9044, + 9045 ], "loc": { "start": { - "line": 296, + "line": 315, "column": 24 }, "end": { - "line": 296, + "line": 315, "column": 25 } } @@ -16924,16 +17823,16 @@ "object": { "type": "ThisExpression", "range": [ - 8409, - 8413 + 9048, + 9052 ], "loc": { "start": { - "line": 296, + "line": 315, "column": 28 }, "end": { - "line": 296, + "line": 315, "column": 32 } } @@ -16942,31 +17841,31 @@ "type": "Identifier", "name": "fltIcons", "range": [ - 8414, - 8422 + 9053, + 9061 ], "loc": { "start": { - "line": 296, + "line": 315, "column": 33 }, "end": { - "line": 296, + "line": 315, "column": 41 } } }, "range": [ - 8409, - 8422 + 9048, + 9061 ], "loc": { "start": { - "line": 296, + "line": 315, "column": 28 }, "end": { - "line": 296, + "line": 315, "column": 41 } } @@ -16975,46 +17874,46 @@ "type": "Identifier", "name": "length", "range": [ - 8423, - 8429 + 9062, + 9068 ], "loc": { "start": { - "line": 296, + "line": 315, "column": 42 }, "end": { - "line": 296, + "line": 315, "column": 48 } } }, "range": [ - 8409, - 8429 + 9048, + 9068 ], "loc": { "start": { - "line": 296, + "line": 315, "column": 28 }, "end": { - "line": 296, + "line": 315, "column": 48 } } }, "range": [ - 8405, - 8429 + 9044, + 9068 ], "loc": { "start": { - "line": 296, + "line": 315, "column": 24 }, "end": { - "line": 296, + "line": 315, "column": 48 } } @@ -17026,32 +17925,32 @@ "type": "Identifier", "name": "i", "range": [ - 8431, - 8432 + 9070, + 9071 ], "loc": { "start": { - "line": 296, + "line": 315, "column": 50 }, "end": { - "line": 296, + "line": 315, "column": 51 } } }, "prefix": false, "range": [ - 8431, - 8434 + 9070, + 9073 ], "loc": { "start": { - "line": 296, + "line": 315, "column": 50 }, "end": { - "line": 296, + "line": 315, "column": 53 } } @@ -17069,50 +17968,50 @@ "object": { "type": "ThisExpression", "range": [ - 8450, - 8454 + 9089, + 9093 ], "loc": { "start": { - "line": 297, + "line": 316, "column": 12 }, "end": { - "line": 297, + "line": 316, "column": 16 } } }, "property": { "type": "Identifier", - "name": "buildIcon", + "name": "changeState", "range": [ - 8455, - 8464 + 9094, + 9105 ], "loc": { "start": { - "line": 297, + "line": 316, "column": 17 }, "end": { - "line": 297, - "column": 26 + "line": 316, + "column": 28 } } }, "range": [ - 8450, - 8464 + 9089, + 9105 ], "loc": { "start": { - "line": 297, + "line": 316, "column": 12 }, "end": { - "line": 297, - "column": 26 + "line": 316, + "column": 28 } } }, @@ -17121,17 +18020,17 @@ "type": "Identifier", "name": "i", "range": [ - 8465, - 8466 + 9106, + 9107 ], "loc": { "start": { - "line": 297, - "column": 27 + "line": 316, + "column": 29 }, "end": { - "line": 297, - "column": 28 + "line": 316, + "column": 30 } } }, @@ -17140,94 +18039,94 @@ "value": false, "raw": "false", "range": [ - 8468, - 8473 + 9109, + 9114 ], "loc": { "start": { - "line": 297, - "column": 30 + "line": 316, + "column": 32 }, "end": { - "line": 297, - "column": 35 + "line": 316, + "column": 37 } } } ], "range": [ - 8450, - 8474 + 9089, + 9115 ], "loc": { "start": { - "line": 297, + "line": 316, "column": 12 }, "end": { - "line": 297, - "column": 36 + "line": 316, + "column": 38 } } }, "range": [ - 8450, - 8475 + 9089, + 9116 ], "loc": { "start": { - "line": 297, + "line": 316, "column": 12 }, "end": { - "line": 297, - "column": 37 + "line": 316, + "column": 39 } } } ], "range": [ - 8436, - 8485 + 9075, + 9126 ], "loc": { "start": { - "line": 296, + "line": 315, "column": 55 }, "end": { - "line": 298, + "line": 317, "column": 9 } } }, "range": [ - 8389, - 8485 + 9028, + 9126 ], "loc": { "start": { - "line": 296, + "line": 315, "column": 8 }, "end": { - "line": 298, + "line": 317, "column": 9 } } } ], "range": [ - 8379, - 8491 + 9018, + 9132 ], "loc": { "start": { - "line": 295, - "column": 17 + "line": 314, + "column": 20 }, "end": { - "line": 299, + "line": 318, "column": 5 } } @@ -17235,16 +18134,16 @@ "generator": false, "expression": false, "range": [ - 8376, - 8491 + 9015, + 9132 ], "loc": { "start": { - "line": 295, - "column": 14 + "line": 314, + "column": 17 }, "end": { - "line": 299, + "line": 318, "column": 5 } } @@ -17252,16 +18151,16 @@ "kind": "method", "computed": false, "range": [ - 8366, - 8491 + 9002, + 9132 ], "loc": { "start": { - "line": 295, + "line": 314, "column": 4 }, "end": { - "line": 299, + "line": 318, "column": 5 } }, @@ -17270,16 +18169,16 @@ "type": "Block", "value": "*\n * Build all the icons representing the pop-up filters\n ", "range": [ - 8291, - 8361 + 8927, + 8997 ], "loc": { "start": { - "line": 292, + "line": 311, "column": 4 }, "end": { - "line": 294, + "line": 313, "column": 7 } } @@ -17290,16 +18189,16 @@ "type": "Block", "value": "*\n * Apply specified icon state\n * @param {Number} colIndex Column index\n * @param {Boolean} active Apply active state\n ", "range": [ - 8497, - 8641 + 9138, + 9282 ], "loc": { "start": { - "line": 301, + "line": 320, "column": 4 }, "end": { - "line": 305, + "line": 324, "column": 7 } } @@ -17311,19 +18210,19 @@ "type": "MethodDefinition", "key": { "type": "Identifier", - "name": "buildIcon", + "name": "changeState", "range": [ - 8646, - 8655 + 9287, + 9298 ], "loc": { "start": { - "line": 306, + "line": 325, "column": 4 }, "end": { - "line": 306, - "column": 13 + "line": 325, + "column": 15 } } }, @@ -17335,17 +18234,17 @@ "type": "Identifier", "name": "colIndex", "range": [ - 8656, - 8664 + 9299, + 9307 ], "loc": { "start": { - "line": 306, - "column": 14 + "line": 325, + "column": 16 }, "end": { - "line": 306, - "column": 22 + "line": 325, + "column": 24 } } }, @@ -17353,17 +18252,17 @@ "type": "Identifier", "name": "active", "range": [ - 8666, - 8672 + 9309, + 9315 ], "loc": { "start": { - "line": 306, - "column": 24 + "line": 325, + "column": 26 }, "end": { - "line": 306, - "column": 30 + "line": 325, + "column": 32 } } } @@ -17382,16 +18281,16 @@ "object": { "type": "ThisExpression", "range": [ - 8688, - 8692 + 9331, + 9335 ], "loc": { "start": { - "line": 307, + "line": 326, "column": 12 }, "end": { - "line": 307, + "line": 326, "column": 16 } } @@ -17400,31 +18299,31 @@ "type": "Identifier", "name": "fltIcons", "range": [ - 8693, - 8701 + 9336, + 9344 ], "loc": { "start": { - "line": 307, + "line": 326, "column": 17 }, "end": { - "line": 307, + "line": 326, "column": 25 } } }, "range": [ - 8688, - 8701 + 9331, + 9344 ], "loc": { "start": { - "line": 307, + "line": 326, "column": 12 }, "end": { - "line": 307, + "line": 326, "column": 25 } } @@ -17433,31 +18332,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 8702, - 8710 + 9345, + 9353 ], "loc": { "start": { - "line": 307, + "line": 326, "column": 26 }, "end": { - "line": 307, + "line": 326, "column": 34 } } }, "range": [ - 8688, - 8711 + 9331, + 9354 ], "loc": { "start": { - "line": 307, + "line": 326, "column": 12 }, "end": { - "line": 307, + "line": 326, "column": 35 } } @@ -17482,16 +18381,16 @@ "object": { "type": "ThisExpression", "range": [ - 8727, - 8731 + 9370, + 9374 ], "loc": { "start": { - "line": 308, + "line": 327, "column": 12 }, "end": { - "line": 308, + "line": 327, "column": 16 } } @@ -17500,31 +18399,31 @@ "type": "Identifier", "name": "fltIcons", "range": [ - 8732, - 8740 + 9375, + 9383 ], "loc": { "start": { - "line": 308, + "line": 327, "column": 17 }, "end": { - "line": 308, + "line": 327, "column": 25 } } }, "range": [ - 8727, - 8740 + 9370, + 9383 ], "loc": { "start": { - "line": 308, + "line": 327, "column": 12 }, "end": { - "line": 308, + "line": 327, "column": 25 } } @@ -17533,31 +18432,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 8741, - 8749 + 9384, + 9392 ], "loc": { "start": { - "line": 308, + "line": 327, "column": 26 }, "end": { - "line": 308, + "line": 327, "column": 34 } } }, "range": [ - 8727, - 8750 + 9370, + 9393 ], "loc": { "start": { - "line": 308, + "line": 327, "column": 12 }, "end": { - "line": 308, + "line": 327, "column": 35 } } @@ -17566,31 +18465,31 @@ "type": "Identifier", "name": "src", "range": [ - 8751, - 8754 + 9394, + 9397 ], "loc": { "start": { - "line": 308, + "line": 327, "column": 36 }, "end": { - "line": 308, + "line": 327, "column": 39 } } }, "range": [ - 8727, - 8754 + 9370, + 9397 ], "loc": { "start": { - "line": 308, + "line": 327, "column": 12 }, "end": { - "line": 308, + "line": 327, "column": 39 } } @@ -17601,16 +18500,16 @@ "type": "Identifier", "name": "active", "range": [ - 8757, - 8763 + 9400, + 9406 ], "loc": { "start": { - "line": 308, + "line": 327, "column": 42 }, "end": { - "line": 308, + "line": 327, "column": 48 } } @@ -17621,16 +18520,16 @@ "object": { "type": "ThisExpression", "range": [ - 8782, - 8786 + 9425, + 9429 ], "loc": { "start": { - "line": 309, + "line": 328, "column": 16 }, "end": { - "line": 309, + "line": 328, "column": 20 } } @@ -17639,31 +18538,31 @@ "type": "Identifier", "name": "activeIconPath", "range": [ - 8787, - 8801 + 9430, + 9444 ], "loc": { "start": { - "line": 309, + "line": 328, "column": 21 }, "end": { - "line": 309, + "line": 328, "column": 35 } } }, "range": [ - 8782, - 8801 + 9425, + 9444 ], "loc": { "start": { - "line": 309, + "line": 328, "column": 16 }, "end": { - "line": 309, + "line": 328, "column": 35 } } @@ -17674,16 +18573,16 @@ "object": { "type": "ThisExpression", "range": [ - 8804, - 8808 + 9447, + 9451 ], "loc": { "start": { - "line": 309, + "line": 328, "column": 38 }, "end": { - "line": 309, + "line": 328, "column": 42 } } @@ -17692,124 +18591,124 @@ "type": "Identifier", "name": "iconPath", "range": [ - 8809, - 8817 + 9452, + 9460 ], "loc": { "start": { - "line": 309, + "line": 328, "column": 43 }, "end": { - "line": 309, + "line": 328, "column": 51 } } }, "range": [ - 8804, - 8817 + 9447, + 9460 ], "loc": { "start": { - "line": 309, + "line": 328, "column": 38 }, "end": { - "line": 309, + "line": 328, "column": 51 } } }, "range": [ - 8757, - 8817 + 9400, + 9460 ], "loc": { "start": { - "line": 308, + "line": 327, "column": 42 }, "end": { - "line": 309, + "line": 328, "column": 51 } } }, "range": [ - 8727, - 8817 + 9370, + 9460 ], "loc": { "start": { - "line": 308, + "line": 327, "column": 12 }, "end": { - "line": 309, + "line": 328, "column": 51 } } }, "range": [ - 8727, - 8818 + 9370, + 9461 ], "loc": { "start": { - "line": 308, + "line": 327, "column": 12 }, "end": { - "line": 309, + "line": 328, "column": 52 } } } ], "range": [ - 8713, - 8828 + 9356, + 9471 ], "loc": { "start": { - "line": 307, + "line": 326, "column": 37 }, "end": { - "line": 310, + "line": 329, "column": 9 } } }, "alternate": null, "range": [ - 8684, - 8828 + 9327, + 9471 ], "loc": { "start": { - "line": 307, + "line": 326, "column": 8 }, "end": { - "line": 310, + "line": 329, "column": 9 } } } ], "range": [ - 8674, - 8834 + 9317, + 9477 ], "loc": { "start": { - "line": 306, - "column": 32 + "line": 325, + "column": 34 }, "end": { - "line": 311, + "line": 330, "column": 5 } } @@ -17817,16 +18716,16 @@ "generator": false, "expression": false, "range": [ - 8655, - 8834 + 9298, + 9477 ], "loc": { "start": { - "line": 306, - "column": 13 + "line": 325, + "column": 15 }, "end": { - "line": 311, + "line": 330, "column": 5 } } @@ -17834,16 +18733,16 @@ "kind": "method", "computed": false, "range": [ - 8646, - 8834 + 9287, + 9477 ], "loc": { "start": { - "line": 306, + "line": 325, "column": 4 }, "end": { - "line": 311, + "line": 330, "column": 5 } }, @@ -17852,16 +18751,16 @@ "type": "Block", "value": "*\n * Apply specified icon state\n * @param {Number} colIndex Column index\n * @param {Boolean} active Apply active state\n ", "range": [ - 8497, - 8641 + 9138, + 9282 ], "loc": { "start": { - "line": 301, + "line": 320, "column": 4 }, "end": { - "line": 305, + "line": 324, "column": 7 } } @@ -17872,16 +18771,16 @@ "type": "Block", "value": "*\n * Remove pop-up filters\n ", "range": [ - 8840, - 8880 + 9483, + 9523 ], "loc": { "start": { - "line": 313, + "line": 332, "column": 4 }, "end": { - "line": 315, + "line": 334, "column": 7 } } @@ -17895,16 +18794,16 @@ "type": "Identifier", "name": "destroy", "range": [ - 8885, - 8892 + 9528, + 9535 ], "loc": { "start": { - "line": 316, + "line": 335, "column": 4 }, "end": { - "line": 316, + "line": 335, "column": 11 } } @@ -17927,16 +18826,16 @@ "object": { "type": "ThisExpression", "range": [ - 8910, - 8914 + 9553, + 9557 ], "loc": { "start": { - "line": 317, + "line": 336, "column": 13 }, "end": { - "line": 317, + "line": 336, "column": 17 } } @@ -17945,47 +18844,47 @@ "type": "Identifier", "name": "initialized", "range": [ - 8915, - 8926 + 9558, + 9569 ], "loc": { "start": { - "line": 317, + "line": 336, "column": 18 }, "end": { - "line": 317, + "line": 336, "column": 29 } } }, "range": [ - 8910, - 8926 + 9553, + 9569 ], "loc": { "start": { - "line": 317, + "line": 336, "column": 13 }, "end": { - "line": 317, + "line": 336, "column": 29 } } }, "prefix": true, "range": [ - 8909, - 8926 + 9552, + 9569 ], "loc": { "start": { - "line": 317, + "line": 336, "column": 12 }, "end": { - "line": 317, + "line": 336, "column": 29 } } @@ -17997,48 +18896,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 8942, - 8949 + 9585, + 9592 ], "loc": { "start": { - "line": 318, + "line": 337, "column": 12 }, "end": { - "line": 318, + "line": 337, "column": 19 } } } ], "range": [ - 8928, - 8959 + 9571, + 9602 ], "loc": { "start": { - "line": 317, + "line": 336, "column": 31 }, "end": { - "line": 319, + "line": 338, "column": 9 } } }, "alternate": null, "range": [ - 8905, - 8959 + 9548, + 9602 ], "loc": { "start": { - "line": 317, + "line": 336, "column": 8 }, "end": { - "line": 319, + "line": 338, "column": 9 } } @@ -18054,16 +18953,16 @@ "object": { "type": "ThisExpression", "range": [ - 8969, - 8973 + 9612, + 9616 ], "loc": { "start": { - "line": 321, + "line": 340, "column": 8 }, "end": { - "line": 321, + "line": 340, "column": 12 } } @@ -18072,31 +18971,31 @@ "type": "Identifier", "name": "filtersCache", "range": [ - 8974, - 8986 + 9617, + 9629 ], "loc": { "start": { - "line": 321, + "line": 340, "column": 13 }, "end": { - "line": 321, + "line": 340, "column": 25 } } }, "range": [ - 8969, - 8986 + 9612, + 9629 ], "loc": { "start": { - "line": 321, + "line": 340, "column": 8 }, "end": { - "line": 321, + "line": 340, "column": 25 } } @@ -18105,46 +19004,46 @@ "type": "ArrayExpression", "elements": [], "range": [ - 8989, - 8991 + 9632, + 9634 ], "loc": { "start": { - "line": 321, + "line": 340, "column": 28 }, "end": { - "line": 321, + "line": 340, "column": 30 } } }, "range": [ - 8969, - 8991 + 9612, + 9634 ], "loc": { "start": { - "line": 321, + "line": 340, "column": 8 }, "end": { - "line": 321, + "line": 340, "column": 30 } } }, "range": [ - 8969, - 8992 + 9612, + 9635 ], "loc": { "start": { - "line": 321, + "line": 340, "column": 8 }, "end": { - "line": 321, + "line": 340, "column": 31 } } @@ -18160,16 +19059,16 @@ "type": "Identifier", "name": "i", "range": [ - 9010, - 9011 + 9653, + 9654 ], "loc": { "start": { - "line": 322, + "line": 341, "column": 17 }, "end": { - "line": 322, + "line": 341, "column": 18 } } @@ -18179,31 +19078,31 @@ "value": 0, "raw": "0", "range": [ - 9014, - 9015 + 9657, + 9658 ], "loc": { "start": { - "line": 322, + "line": 341, "column": 21 }, "end": { - "line": 322, + "line": 341, "column": 22 } } }, "range": [ - 9010, - 9015 + 9653, + 9658 ], "loc": { "start": { - "line": 322, + "line": 341, "column": 17 }, "end": { - "line": 322, + "line": 341, "column": 22 } } @@ -18211,16 +19110,16 @@ ], "kind": "let", "range": [ - 9006, - 9015 + 9649, + 9658 ], "loc": { "start": { - "line": 322, + "line": 341, "column": 13 }, "end": { - "line": 322, + "line": 341, "column": 22 } } @@ -18232,16 +19131,16 @@ "type": "Identifier", "name": "i", "range": [ - 9017, - 9018 + 9660, + 9661 ], "loc": { "start": { - "line": 322, + "line": 341, "column": 24 }, "end": { - "line": 322, + "line": 341, "column": 25 } } @@ -18255,16 +19154,16 @@ "object": { "type": "ThisExpression", "range": [ - 9021, - 9025 + 9664, + 9668 ], "loc": { "start": { - "line": 322, + "line": 341, "column": 28 }, "end": { - "line": 322, + "line": 341, "column": 32 } } @@ -18273,31 +19172,31 @@ "type": "Identifier", "name": "fltElms", "range": [ - 9026, - 9033 + 9669, + 9676 ], "loc": { "start": { - "line": 322, + "line": 341, "column": 33 }, "end": { - "line": 322, + "line": 341, "column": 40 } } }, "range": [ - 9021, - 9033 + 9664, + 9676 ], "loc": { "start": { - "line": 322, + "line": 341, "column": 28 }, "end": { - "line": 322, + "line": 341, "column": 40 } } @@ -18306,46 +19205,46 @@ "type": "Identifier", "name": "length", "range": [ - 9034, - 9040 + 9677, + 9683 ], "loc": { "start": { - "line": 322, + "line": 341, "column": 41 }, "end": { - "line": 322, + "line": 341, "column": 47 } } }, "range": [ - 9021, - 9040 + 9664, + 9683 ], "loc": { "start": { - "line": 322, + "line": 341, "column": 28 }, "end": { - "line": 322, + "line": 341, "column": 47 } } }, "range": [ - 9017, - 9040 + 9660, + 9683 ], "loc": { "start": { - "line": 322, + "line": 341, "column": 24 }, "end": { - "line": 322, + "line": 341, "column": 47 } } @@ -18357,32 +19256,32 @@ "type": "Identifier", "name": "i", "range": [ - 9042, - 9043 + 9685, + 9686 ], "loc": { "start": { - "line": 322, + "line": 341, "column": 49 }, "end": { - "line": 322, + "line": 341, "column": 50 } } }, "prefix": false, "range": [ - 9042, - 9045 + 9685, + 9688 ], "loc": { "start": { - "line": 322, + "line": 341, "column": 49 }, "end": { - "line": 322, + "line": 341, "column": 52 } } @@ -18399,16 +19298,16 @@ "type": "Identifier", "name": "popUpFltElm", "range": [ - 9065, - 9076 + 9708, + 9719 ], "loc": { "start": { - "line": 323, + "line": 342, "column": 16 }, "end": { - "line": 323, + "line": 342, "column": 27 } } @@ -18422,16 +19321,16 @@ "object": { "type": "ThisExpression", "range": [ - 9079, - 9083 + 9722, + 9726 ], "loc": { "start": { - "line": 323, + "line": 342, "column": 30 }, "end": { - "line": 323, + "line": 342, "column": 34 } } @@ -18440,31 +19339,31 @@ "type": "Identifier", "name": "fltElms", "range": [ - 9084, - 9091 + 9727, + 9734 ], "loc": { "start": { - "line": 323, + "line": 342, "column": 35 }, "end": { - "line": 323, + "line": 342, "column": 42 } } }, "range": [ - 9079, - 9091 + 9722, + 9734 ], "loc": { "start": { - "line": 323, + "line": 342, "column": 30 }, "end": { - "line": 323, + "line": 342, "column": 42 } } @@ -18473,46 +19372,46 @@ "type": "Identifier", "name": "i", "range": [ - 9092, - 9093 + 9735, + 9736 ], "loc": { "start": { - "line": 323, + "line": 342, "column": 43 }, "end": { - "line": 323, + "line": 342, "column": 44 } } }, "range": [ - 9079, - 9094 + 9722, + 9737 ], "loc": { "start": { - "line": 323, + "line": 342, "column": 30 }, "end": { - "line": 323, + "line": 342, "column": 45 } } }, "range": [ - 9065, - 9094 + 9708, + 9737 ], "loc": { "start": { - "line": 323, + "line": 342, "column": 16 }, "end": { - "line": 323, + "line": 342, "column": 45 } } @@ -18523,16 +19422,16 @@ "type": "Identifier", "name": "popUpFltSpan", "range": [ - 9112, - 9124 + 9755, + 9767 ], "loc": { "start": { - "line": 324, + "line": 343, "column": 16 }, "end": { - "line": 324, + "line": 343, "column": 28 } } @@ -18546,16 +19445,16 @@ "object": { "type": "ThisExpression", "range": [ - 9127, - 9131 + 9770, + 9774 ], "loc": { "start": { - "line": 324, + "line": 343, "column": 31 }, "end": { - "line": 324, + "line": 343, "column": 35 } } @@ -18564,31 +19463,31 @@ "type": "Identifier", "name": "fltSpans", "range": [ - 9132, - 9140 + 9775, + 9783 ], "loc": { "start": { - "line": 324, + "line": 343, "column": 36 }, "end": { - "line": 324, + "line": 343, "column": 44 } } }, "range": [ - 9127, - 9140 + 9770, + 9783 ], "loc": { "start": { - "line": 324, + "line": 343, "column": 31 }, "end": { - "line": 324, + "line": 343, "column": 44 } } @@ -18597,46 +19496,46 @@ "type": "Identifier", "name": "i", "range": [ - 9141, - 9142 + 9784, + 9785 ], "loc": { "start": { - "line": 324, + "line": 343, "column": 45 }, "end": { - "line": 324, + "line": 343, "column": 46 } } }, "range": [ - 9127, - 9143 + 9770, + 9786 ], "loc": { "start": { - "line": 324, + "line": 343, "column": 31 }, "end": { - "line": 324, + "line": 343, "column": 47 } } }, "range": [ - 9112, - 9143 + 9755, + 9786 ], "loc": { "start": { - "line": 324, + "line": 343, "column": 16 }, "end": { - "line": 324, + "line": 343, "column": 47 } } @@ -18647,16 +19546,16 @@ "type": "Identifier", "name": "popUpFltImg", "range": [ - 9161, - 9172 + 9804, + 9815 ], "loc": { "start": { - "line": 325, + "line": 344, "column": 16 }, "end": { - "line": 325, + "line": 344, "column": 27 } } @@ -18670,16 +19569,16 @@ "object": { "type": "ThisExpression", "range": [ - 9175, - 9179 + 9818, + 9822 ], "loc": { "start": { - "line": 325, + "line": 344, "column": 30 }, "end": { - "line": 325, + "line": 344, "column": 34 } } @@ -18688,31 +19587,31 @@ "type": "Identifier", "name": "fltIcons", "range": [ - 9180, - 9188 + 9823, + 9831 ], "loc": { "start": { - "line": 325, + "line": 344, "column": 35 }, "end": { - "line": 325, + "line": 344, "column": 43 } } }, "range": [ - 9175, - 9188 + 9818, + 9831 ], "loc": { "start": { - "line": 325, + "line": 344, "column": 30 }, "end": { - "line": 325, + "line": 344, "column": 43 } } @@ -18721,46 +19620,46 @@ "type": "Identifier", "name": "i", "range": [ - 9189, - 9190 + 9832, + 9833 ], "loc": { "start": { - "line": 325, + "line": 344, "column": 44 }, "end": { - "line": 325, + "line": 344, "column": 45 } } }, "range": [ - 9175, - 9191 + 9818, + 9834 ], "loc": { "start": { - "line": 325, + "line": 344, "column": 30 }, "end": { - "line": 325, + "line": 344, "column": 46 } } }, "range": [ - 9161, - 9191 + 9804, + 9834 ], "loc": { "start": { - "line": 325, + "line": 344, "column": 16 }, "end": { - "line": 325, + "line": 344, "column": 46 } } @@ -18768,16 +19667,16 @@ ], "kind": "let", "range": [ - 9061, - 9192 + 9704, + 9835 ], "loc": { "start": { - "line": 323, + "line": 342, "column": 12 }, "end": { - "line": 325, + "line": 344, "column": 47 } } @@ -18788,16 +19687,16 @@ "type": "Identifier", "name": "popUpFltElm", "range": [ - 9209, - 9220 + 9852, + 9863 ], "loc": { "start": { - "line": 326, + "line": 345, "column": 16 }, "end": { - "line": 326, + "line": 345, "column": 27 } } @@ -18813,16 +19712,16 @@ "type": "Identifier", "name": "removeElm", "range": [ - 9240, - 9249 + 9883, + 9892 ], "loc": { "start": { - "line": 327, + "line": 346, "column": 16 }, "end": { - "line": 327, + "line": 346, "column": 25 } } @@ -18832,47 +19731,47 @@ "type": "Identifier", "name": "popUpFltElm", "range": [ - 9250, - 9261 + 9893, + 9904 ], "loc": { "start": { - "line": 327, + "line": 346, "column": 26 }, "end": { - "line": 327, + "line": 346, "column": 37 } } } ], "range": [ - 9240, - 9262 + 9883, + 9905 ], "loc": { "start": { - "line": 327, + "line": 346, "column": 16 }, "end": { - "line": 327, + "line": 346, "column": 38 } } }, "range": [ - 9240, - 9263 + 9883, + 9906 ], "loc": { "start": { - "line": 327, + "line": 346, "column": 16 }, "end": { - "line": 327, + "line": 346, "column": 39 } } @@ -18891,16 +19790,16 @@ "object": { "type": "ThisExpression", "range": [ - 9280, - 9284 + 9923, + 9927 ], "loc": { "start": { - "line": 328, + "line": 347, "column": 16 }, "end": { - "line": 328, + "line": 347, "column": 20 } } @@ -18909,31 +19808,31 @@ "type": "Identifier", "name": "filtersCache", "range": [ - 9285, - 9297 + 9928, + 9940 ], "loc": { "start": { - "line": 328, + "line": 347, "column": 21 }, "end": { - "line": 328, + "line": 347, "column": 33 } } }, "range": [ - 9280, - 9297 + 9923, + 9940 ], "loc": { "start": { - "line": 328, + "line": 347, "column": 16 }, "end": { - "line": 328, + "line": 347, "column": 33 } } @@ -18942,31 +19841,31 @@ "type": "Identifier", "name": "i", "range": [ - 9298, - 9299 + 9941, + 9942 ], "loc": { "start": { - "line": 328, + "line": 347, "column": 34 }, "end": { - "line": 328, + "line": 347, "column": 35 } } }, "range": [ - 9280, - 9300 + 9923, + 9943 ], "loc": { "start": { - "line": 328, + "line": 347, "column": 16 }, "end": { - "line": 328, + "line": 347, "column": 36 } } @@ -18975,78 +19874,78 @@ "type": "Identifier", "name": "popUpFltElm", "range": [ - 9303, - 9314 + 9946, + 9957 ], "loc": { "start": { - "line": 328, + "line": 347, "column": 39 }, "end": { - "line": 328, + "line": 347, "column": 50 } } }, "range": [ - 9280, - 9314 + 9923, + 9957 ], "loc": { "start": { - "line": 328, + "line": 347, "column": 16 }, "end": { - "line": 328, + "line": 347, "column": 50 } } }, "range": [ - 9280, - 9315 + 9923, + 9958 ], "loc": { "start": { - "line": 328, + "line": 347, "column": 16 }, "end": { - "line": 328, + "line": 347, "column": 51 } } } ], "range": [ - 9222, - 9329 + 9865, + 9972 ], "loc": { "start": { - "line": 326, + "line": 345, "column": 29 }, "end": { - "line": 329, + "line": 348, "column": 13 } } }, "alternate": null, "range": [ - 9205, - 9329 + 9848, + 9972 ], "loc": { "start": { - "line": 326, + "line": 345, "column": 12 }, "end": { - "line": 329, + "line": 348, "column": 13 } } @@ -19060,16 +19959,16 @@ "type": "Identifier", "name": "popUpFltElm", "range": [ - 9342, - 9353 + 9985, + 9996 ], "loc": { "start": { - "line": 330, + "line": 349, "column": 12 }, "end": { - "line": 330, + "line": 349, "column": 23 } } @@ -19079,46 +19978,46 @@ "value": null, "raw": "null", "range": [ - 9356, - 9360 + 9999, + 10003 ], "loc": { "start": { - "line": 330, + "line": 349, "column": 26 }, "end": { - "line": 330, + "line": 349, "column": 30 } } }, "range": [ - 9342, - 9360 + 9985, + 10003 ], "loc": { "start": { - "line": 330, + "line": 349, "column": 12 }, "end": { - "line": 330, + "line": 349, "column": 30 } } }, "range": [ - 9342, - 9361 + 9985, + 10004 ], "loc": { "start": { - "line": 330, + "line": 349, "column": 12 }, "end": { - "line": 330, + "line": 349, "column": 31 } } @@ -19129,16 +20028,16 @@ "type": "Identifier", "name": "popUpFltSpan", "range": [ - 9378, - 9390 + 10021, + 10033 ], "loc": { "start": { - "line": 331, + "line": 350, "column": 16 }, "end": { - "line": 331, + "line": 350, "column": 28 } } @@ -19154,16 +20053,16 @@ "type": "Identifier", "name": "removeElm", "range": [ - 9410, - 9419 + 10053, + 10062 ], "loc": { "start": { - "line": 332, + "line": 351, "column": 16 }, "end": { - "line": 332, + "line": 351, "column": 25 } } @@ -19173,79 +20072,79 @@ "type": "Identifier", "name": "popUpFltSpan", "range": [ - 9420, - 9432 + 10063, + 10075 ], "loc": { "start": { - "line": 332, + "line": 351, "column": 26 }, "end": { - "line": 332, + "line": 351, "column": 38 } } } ], "range": [ - 9410, - 9433 + 10053, + 10076 ], "loc": { "start": { - "line": 332, + "line": 351, "column": 16 }, "end": { - "line": 332, + "line": 351, "column": 39 } } }, "range": [ - 9410, - 9434 + 10053, + 10077 ], "loc": { "start": { - "line": 332, + "line": 351, "column": 16 }, "end": { - "line": 332, + "line": 351, "column": 40 } } } ], "range": [ - 9392, - 9448 + 10035, + 10091 ], "loc": { "start": { - "line": 331, + "line": 350, "column": 30 }, "end": { - "line": 333, + "line": 352, "column": 13 } } }, "alternate": null, "range": [ - 9374, - 9448 + 10017, + 10091 ], "loc": { "start": { - "line": 331, + "line": 350, "column": 12 }, "end": { - "line": 333, + "line": 352, "column": 13 } } @@ -19259,16 +20158,16 @@ "type": "Identifier", "name": "popUpFltSpan", "range": [ - 9461, - 9473 + 10104, + 10116 ], "loc": { "start": { - "line": 334, + "line": 353, "column": 12 }, "end": { - "line": 334, + "line": 353, "column": 24 } } @@ -19278,46 +20177,46 @@ "value": null, "raw": "null", "range": [ - 9476, - 9480 + 10119, + 10123 ], "loc": { "start": { - "line": 334, + "line": 353, "column": 27 }, "end": { - "line": 334, + "line": 353, "column": 31 } } }, "range": [ - 9461, - 9480 + 10104, + 10123 ], "loc": { "start": { - "line": 334, + "line": 353, "column": 12 }, "end": { - "line": 334, + "line": 353, "column": 31 } } }, "range": [ - 9461, - 9481 + 10104, + 10124 ], "loc": { "start": { - "line": 334, + "line": 353, "column": 12 }, "end": { - "line": 334, + "line": 353, "column": 32 } } @@ -19328,16 +20227,16 @@ "type": "Identifier", "name": "popUpFltImg", "range": [ - 9498, - 9509 + 10141, + 10152 ], "loc": { "start": { - "line": 335, + "line": 354, "column": 16 }, "end": { - "line": 335, + "line": 354, "column": 27 } } @@ -19353,16 +20252,16 @@ "type": "Identifier", "name": "removeElm", "range": [ - 9529, - 9538 + 10172, + 10181 ], "loc": { "start": { - "line": 336, + "line": 355, "column": 16 }, "end": { - "line": 336, + "line": 355, "column": 25 } } @@ -19372,79 +20271,79 @@ "type": "Identifier", "name": "popUpFltImg", "range": [ - 9539, - 9550 + 10182, + 10193 ], "loc": { "start": { - "line": 336, + "line": 355, "column": 26 }, "end": { - "line": 336, + "line": 355, "column": 37 } } } ], "range": [ - 9529, - 9551 + 10172, + 10194 ], "loc": { "start": { - "line": 336, + "line": 355, "column": 16 }, "end": { - "line": 336, + "line": 355, "column": 38 } } }, "range": [ - 9529, - 9552 + 10172, + 10195 ], "loc": { "start": { - "line": 336, + "line": 355, "column": 16 }, "end": { - "line": 336, + "line": 355, "column": 39 } } } ], "range": [ - 9511, - 9566 + 10154, + 10209 ], "loc": { "start": { - "line": 335, + "line": 354, "column": 29 }, "end": { - "line": 337, + "line": 356, "column": 13 } } }, "alternate": null, "range": [ - 9494, - 9566 + 10137, + 10209 ], "loc": { "start": { - "line": 335, + "line": 354, "column": 12 }, "end": { - "line": 337, + "line": 356, "column": 13 } } @@ -19458,16 +20357,16 @@ "type": "Identifier", "name": "popUpFltImg", "range": [ - 9579, - 9590 + 10222, + 10233 ], "loc": { "start": { - "line": 338, + "line": 357, "column": 12 }, "end": { - "line": 338, + "line": 357, "column": 23 } } @@ -19477,77 +20376,77 @@ "value": null, "raw": "null", "range": [ - 9593, - 9597 + 10236, + 10240 ], "loc": { "start": { - "line": 338, + "line": 357, "column": 26 }, "end": { - "line": 338, + "line": 357, "column": 30 } } }, "range": [ - 9579, - 9597 + 10222, + 10240 ], "loc": { "start": { - "line": 338, + "line": 357, "column": 12 }, "end": { - "line": 338, + "line": 357, "column": 30 } } }, "range": [ - 9579, - 9598 + 10222, + 10241 ], "loc": { "start": { - "line": 338, + "line": 357, "column": 12 }, "end": { - "line": 338, + "line": 357, "column": 31 } } } ], "range": [ - 9047, - 9608 + 9690, + 10251 ], "loc": { "start": { - "line": 322, + "line": 341, "column": 54 }, "end": { - "line": 339, + "line": 358, "column": 9 } } }, "range": [ - 9001, - 9608 + 9644, + 10251 ], "loc": { "start": { - "line": 322, + "line": 341, "column": 8 }, "end": { - "line": 339, + "line": 358, "column": 9 } } @@ -19563,16 +20462,16 @@ "object": { "type": "ThisExpression", "range": [ - 9617, - 9621 + 10260, + 10264 ], "loc": { "start": { - "line": 340, + "line": 359, "column": 8 }, "end": { - "line": 340, + "line": 359, "column": 12 } } @@ -19581,31 +20480,31 @@ "type": "Identifier", "name": "fltElms", "range": [ - 9622, - 9629 + 10265, + 10272 ], "loc": { "start": { - "line": 340, + "line": 359, "column": 13 }, "end": { - "line": 340, + "line": 359, "column": 20 } } }, "range": [ - 9617, - 9629 + 10260, + 10272 ], "loc": { "start": { - "line": 340, + "line": 359, "column": 8 }, "end": { - "line": 340, + "line": 359, "column": 20 } } @@ -19614,46 +20513,46 @@ "type": "ArrayExpression", "elements": [], "range": [ - 9632, - 9634 + 10275, + 10277 ], "loc": { "start": { - "line": 340, + "line": 359, "column": 23 }, "end": { - "line": 340, + "line": 359, "column": 25 } } }, "range": [ - 9617, - 9634 + 10260, + 10277 ], "loc": { "start": { - "line": 340, + "line": 359, "column": 8 }, "end": { - "line": 340, + "line": 359, "column": 25 } } }, "range": [ - 9617, - 9635 + 10260, + 10278 ], "loc": { "start": { - "line": 340, + "line": 359, "column": 8 }, "end": { - "line": 340, + "line": 359, "column": 26 } } @@ -19669,16 +20568,16 @@ "object": { "type": "ThisExpression", "range": [ - 9644, - 9648 + 10287, + 10291 ], "loc": { "start": { - "line": 341, + "line": 360, "column": 8 }, "end": { - "line": 341, + "line": 360, "column": 12 } } @@ -19687,31 +20586,31 @@ "type": "Identifier", "name": "fltSpans", "range": [ - 9649, - 9657 + 10292, + 10300 ], "loc": { "start": { - "line": 341, + "line": 360, "column": 13 }, "end": { - "line": 341, + "line": 360, "column": 21 } } }, "range": [ - 9644, - 9657 + 10287, + 10300 ], "loc": { "start": { - "line": 341, + "line": 360, "column": 8 }, "end": { - "line": 341, + "line": 360, "column": 21 } } @@ -19720,46 +20619,46 @@ "type": "ArrayExpression", "elements": [], "range": [ - 9660, - 9662 + 10303, + 10305 ], "loc": { "start": { - "line": 341, + "line": 360, "column": 24 }, "end": { - "line": 341, + "line": 360, "column": 26 } } }, "range": [ - 9644, - 9662 + 10287, + 10305 ], "loc": { "start": { - "line": 341, + "line": 360, "column": 8 }, "end": { - "line": 341, + "line": 360, "column": 26 } } }, "range": [ - 9644, - 9663 + 10287, + 10306 ], "loc": { "start": { - "line": 341, + "line": 360, "column": 8 }, "end": { - "line": 341, + "line": 360, "column": 27 } } @@ -19775,16 +20674,16 @@ "object": { "type": "ThisExpression", "range": [ - 9672, - 9676 + 10315, + 10319 ], "loc": { "start": { - "line": 342, + "line": 361, "column": 8 }, "end": { - "line": 342, + "line": 361, "column": 12 } } @@ -19793,31 +20692,31 @@ "type": "Identifier", "name": "fltIcons", "range": [ - 9677, - 9685 + 10320, + 10328 ], "loc": { "start": { - "line": 342, + "line": 361, "column": 13 }, "end": { - "line": 342, + "line": 361, "column": 21 } } }, "range": [ - 9672, - 9685 + 10315, + 10328 ], "loc": { "start": { - "line": 342, + "line": 361, "column": 8 }, "end": { - "line": 342, + "line": 361, "column": 21 } } @@ -19826,46 +20725,46 @@ "type": "ArrayExpression", "elements": [], "range": [ - 9688, - 9690 + 10331, + 10333 ], "loc": { "start": { - "line": 342, + "line": 361, "column": 24 }, "end": { - "line": 342, + "line": 361, "column": 26 } } }, "range": [ - 9672, - 9690 + 10315, + 10333 ], "loc": { "start": { - "line": 342, + "line": 361, "column": 8 }, "end": { - "line": 342, + "line": 361, "column": 26 } } }, "range": [ - 9672, - 9691 + 10315, + 10334 ], "loc": { "start": { - "line": 342, + "line": 361, "column": 8 }, "end": { - "line": 342, + "line": 361, "column": 27 } }, @@ -19874,16 +20773,16 @@ "type": "Line", "value": " unsubscribe to events", "range": [ - 9701, - 9725 + 10344, + 10368 ], "loc": { "start": { - "line": 344, + "line": 363, "column": 8 }, "end": { - "line": 344, + "line": 363, "column": 32 } } @@ -19903,16 +20802,16 @@ "object": { "type": "ThisExpression", "range": [ - 9734, - 9738 + 10377, + 10381 ], "loc": { "start": { - "line": 345, + "line": 364, "column": 8 }, "end": { - "line": 345, + "line": 364, "column": 12 } } @@ -19921,31 +20820,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 9739, - 9746 + 10382, + 10389 ], "loc": { "start": { - "line": 345, + "line": 364, "column": 13 }, "end": { - "line": 345, + "line": 364, "column": 20 } } }, "range": [ - 9734, - 9746 + 10377, + 10389 ], "loc": { "start": { - "line": 345, + "line": 364, "column": 8 }, "end": { - "line": 345, + "line": 364, "column": 20 } } @@ -19954,31 +20853,31 @@ "type": "Identifier", "name": "off", "range": [ - 9747, - 9750 + 10390, + 10393 ], "loc": { "start": { - "line": 345, + "line": 364, "column": 21 }, "end": { - "line": 345, + "line": 364, "column": 24 } } }, "range": [ - 9734, - 9750 + 10377, + 10393 ], "loc": { "start": { - "line": 345, + "line": 364, "column": 8 }, "end": { - "line": 345, + "line": 364, "column": 24 } } @@ -19992,32 +20891,32 @@ "value": "before-filtering", "raw": "'before-filtering'", "range": [ - 9752, - 9770 + 10395, + 10413 ], "loc": { "start": { - "line": 345, + "line": 364, "column": 26 }, "end": { - "line": 345, + "line": 364, "column": 44 } } } ], "range": [ - 9751, - 9771 + 10394, + 10414 ], "loc": { "start": { - "line": 345, + "line": 364, "column": 25 }, "end": { - "line": 345, + "line": 364, "column": 45 } } @@ -20034,114 +20933,114 @@ "object": { "type": "ThisExpression", "range": [ - 9779, - 9783 + 10422, + 10426 ], "loc": { "start": { - "line": 345, + "line": 364, "column": 53 }, "end": { - "line": 345, + "line": 364, "column": 57 } } }, "property": { "type": "Identifier", - "name": "buildIcons", + "name": "setIconsState", "range": [ - 9784, - 9794 + 10427, + 10440 ], "loc": { "start": { - "line": 345, + "line": 364, "column": 58 }, "end": { - "line": 345, - "column": 68 + "line": 364, + "column": 71 } } }, "range": [ - 9779, - 9794 + 10422, + 10440 ], "loc": { "start": { - "line": 345, + "line": 364, "column": 53 }, "end": { - "line": 345, - "column": 68 + "line": 364, + "column": 71 } } }, "arguments": [], "range": [ - 9779, - 9796 + 10422, + 10442 ], "loc": { "start": { - "line": 345, + "line": 364, "column": 53 }, "end": { - "line": 345, - "column": 70 + "line": 364, + "column": 73 } } }, "generator": false, "expression": true, "range": [ - 9773, - 9796 + 10416, + 10442 ], "loc": { "start": { - "line": 345, + "line": 364, "column": 47 }, "end": { - "line": 345, - "column": 70 + "line": 364, + "column": 73 } } } ], "range": [ - 9734, - 9797 + 10377, + 10443 ], "loc": { "start": { - "line": 345, + "line": 364, "column": 8 }, "end": { - "line": 345, - "column": 71 + "line": 364, + "column": 74 } } }, "range": [ - 9734, - 9798 + 10377, + 10444 ], "loc": { "start": { - "line": 345, + "line": 364, "column": 8 }, "end": { - "line": 345, - "column": 72 + "line": 364, + "column": 75 } }, "leadingComments": [ @@ -20149,16 +21048,16 @@ "type": "Line", "value": " unsubscribe to events", "range": [ - 9701, - 9725 + 10344, + 10368 ], "loc": { "start": { - "line": 344, + "line": 363, "column": 8 }, "end": { - "line": 344, + "line": 363, "column": 32 } } @@ -20178,16 +21077,16 @@ "object": { "type": "ThisExpression", "range": [ - 9807, - 9811 + 10453, + 10457 ], "loc": { "start": { - "line": 346, + "line": 365, "column": 8 }, "end": { - "line": 346, + "line": 365, "column": 12 } } @@ -20196,31 +21095,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 9812, - 9819 + 10458, + 10465 ], "loc": { "start": { - "line": 346, + "line": 365, "column": 13 }, "end": { - "line": 346, + "line": 365, "column": 20 } } }, "range": [ - 9807, - 9819 + 10453, + 10465 ], "loc": { "start": { - "line": 346, + "line": 365, "column": 8 }, "end": { - "line": 346, + "line": 365, "column": 20 } } @@ -20229,31 +21128,31 @@ "type": "Identifier", "name": "off", "range": [ - 9820, - 9823 + 10466, + 10469 ], "loc": { "start": { - "line": 346, + "line": 365, "column": 21 }, "end": { - "line": 346, + "line": 365, "column": 24 } } }, "range": [ - 9807, - 9823 + 10453, + 10469 ], "loc": { "start": { - "line": 346, + "line": 365, "column": 8 }, "end": { - "line": 346, + "line": 365, "column": 24 } } @@ -20267,32 +21166,32 @@ "value": "after-filtering", "raw": "'after-filtering'", "range": [ - 9825, - 9842 + 10471, + 10488 ], "loc": { "start": { - "line": 346, + "line": 365, "column": 26 }, "end": { - "line": 346, + "line": 365, "column": 43 } } } ], "range": [ - 9824, - 9843 + 10470, + 10489 ], "loc": { "start": { - "line": 346, + "line": 365, "column": 25 }, "end": { - "line": 346, + "line": 365, "column": 44 } } @@ -20309,16 +21208,16 @@ "object": { "type": "ThisExpression", "range": [ - 9851, - 9855 + 10497, + 10501 ], "loc": { "start": { - "line": 346, + "line": 365, "column": 52 }, "end": { - "line": 346, + "line": 365, "column": 56 } } @@ -20327,47 +21226,47 @@ "type": "Identifier", "name": "closeAll", "range": [ - 9856, - 9864 + 10502, + 10510 ], "loc": { "start": { - "line": 346, + "line": 365, "column": 57 }, "end": { - "line": 346, + "line": 365, "column": 65 } } }, "range": [ - 9851, - 9864 + 10497, + 10510 ], "loc": { "start": { - "line": 346, + "line": 365, "column": 52 }, "end": { - "line": 346, + "line": 365, "column": 65 } } }, "arguments": [], "range": [ - 9851, - 9866 + 10497, + 10512 ], "loc": { "start": { - "line": 346, + "line": 365, "column": 52 }, "end": { - "line": 346, + "line": 365, "column": 67 } } @@ -20375,47 +21274,47 @@ "generator": false, "expression": true, "range": [ - 9845, - 9866 + 10491, + 10512 ], "loc": { "start": { - "line": 346, + "line": 365, "column": 46 }, "end": { - "line": 346, + "line": 365, "column": 67 } } } ], "range": [ - 9807, - 9867 + 10453, + 10513 ], "loc": { "start": { - "line": 346, + "line": 365, "column": 8 }, "end": { - "line": 346, + "line": 365, "column": 68 } } }, "range": [ - 9807, - 9868 + 10453, + 10514 ], "loc": { "start": { - "line": 346, + "line": 365, "column": 8 }, "end": { - "line": 346, + "line": 365, "column": 69 } } @@ -20433,16 +21332,16 @@ "object": { "type": "ThisExpression", "range": [ - 9877, - 9881 + 10523, + 10527 ], "loc": { "start": { - "line": 347, + "line": 366, "column": 8 }, "end": { - "line": 347, + "line": 366, "column": 12 } } @@ -20451,31 +21350,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 9882, - 9889 + 10528, + 10535 ], "loc": { "start": { - "line": 347, + "line": 366, "column": 13 }, "end": { - "line": 347, + "line": 366, "column": 20 } } }, "range": [ - 9877, - 9889 + 10523, + 10535 ], "loc": { "start": { - "line": 347, + "line": 366, "column": 8 }, "end": { - "line": 347, + "line": 366, "column": 20 } } @@ -20484,31 +21383,31 @@ "type": "Identifier", "name": "off", "range": [ - 9890, - 9893 + 10536, + 10539 ], "loc": { "start": { - "line": 347, + "line": 366, "column": 21 }, "end": { - "line": 347, + "line": 366, "column": 24 } } }, "range": [ - 9877, - 9893 + 10523, + 10539 ], "loc": { "start": { - "line": 347, + "line": 366, "column": 8 }, "end": { - "line": 347, + "line": 366, "column": 24 } } @@ -20522,32 +21421,32 @@ "value": "cell-processed", "raw": "'cell-processed'", "range": [ - 9895, - 9911 + 10541, + 10557 ], "loc": { "start": { - "line": 347, + "line": 366, "column": 26 }, "end": { - "line": 347, + "line": 366, "column": 42 } } } ], "range": [ - 9894, - 9912 + 10540, + 10558 ], "loc": { "start": { - "line": 347, + "line": 366, "column": 25 }, "end": { - "line": 347, + "line": 366, "column": 43 } } @@ -20560,16 +21459,16 @@ "type": "Identifier", "name": "tf", "range": [ - 9927, - 9929 + 10573, + 10575 ], "loc": { "start": { - "line": 348, + "line": 367, "column": 13 }, "end": { - "line": 348, + "line": 367, "column": 15 } } @@ -20578,16 +21477,16 @@ "type": "Identifier", "name": "cellIndex", "range": [ - 9931, - 9940 + 10577, + 10586 ], "loc": { "start": { - "line": 348, + "line": 367, "column": 17 }, "end": { - "line": 348, + "line": 367, "column": 26 } } @@ -20601,50 +21500,50 @@ "object": { "type": "ThisExpression", "range": [ - 9945, - 9949 + 10591, + 10595 ], "loc": { "start": { - "line": 348, + "line": 367, "column": 31 }, "end": { - "line": 348, + "line": 367, "column": 35 } } }, "property": { "type": "Identifier", - "name": "buildIcon", + "name": "changeState", "range": [ - 9950, - 9959 + 10596, + 10607 ], "loc": { "start": { - "line": 348, + "line": 367, "column": 36 }, "end": { - "line": 348, - "column": 45 + "line": 367, + "column": 47 } } }, "range": [ - 9945, - 9959 + 10591, + 10607 ], "loc": { "start": { - "line": 348, + "line": 367, "column": 31 }, "end": { - "line": 348, - "column": 45 + "line": 367, + "column": 47 } } }, @@ -20653,17 +21552,17 @@ "type": "Identifier", "name": "cellIndex", "range": [ - 9960, - 9969 + 10608, + 10617 ], "loc": { "start": { - "line": 348, - "column": 46 + "line": 367, + "column": 48 }, "end": { - "line": 348, - "column": 55 + "line": 367, + "column": 57 } } }, @@ -20672,81 +21571,81 @@ "value": true, "raw": "true", "range": [ - 9971, - 9975 + 10619, + 10623 ], "loc": { "start": { - "line": 348, - "column": 57 + "line": 367, + "column": 59 }, "end": { - "line": 348, - "column": 61 + "line": 367, + "column": 63 } } } ], "range": [ - 9945, - 9976 + 10591, + 10624 ], "loc": { "start": { - "line": 348, + "line": 367, "column": 31 }, "end": { - "line": 348, - "column": 62 + "line": 367, + "column": 64 } } }, "generator": false, "expression": true, "range": [ - 9926, - 9976 + 10572, + 10624 ], "loc": { "start": { - "line": 348, + "line": 367, "column": 12 }, "end": { - "line": 348, - "column": 62 + "line": 367, + "column": 64 } } } ], "range": [ - 9877, - 9977 + 10523, + 10625 ], "loc": { "start": { - "line": 347, + "line": 366, "column": 8 }, "end": { - "line": 348, - "column": 63 + "line": 367, + "column": 65 } } }, "range": [ - 9877, - 9978 + 10523, + 10626 ], "loc": { "start": { - "line": 347, + "line": 366, "column": 8 }, "end": { - "line": 348, - "column": 64 + "line": 367, + "column": 66 } } }, @@ -20763,16 +21662,16 @@ "object": { "type": "ThisExpression", "range": [ - 9987, - 9991 + 10635, + 10639 ], "loc": { "start": { - "line": 349, + "line": 368, "column": 8 }, "end": { - "line": 349, + "line": 368, "column": 12 } } @@ -20781,31 +21680,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 9992, - 9999 + 10640, + 10647 ], "loc": { "start": { - "line": 349, + "line": 368, "column": 13 }, "end": { - "line": 349, + "line": 368, "column": 20 } } }, "range": [ - 9987, - 9999 + 10635, + 10647 ], "loc": { "start": { - "line": 349, + "line": 368, "column": 8 }, "end": { - "line": 349, + "line": 368, "column": 20 } } @@ -20814,31 +21713,31 @@ "type": "Identifier", "name": "off", "range": [ - 10000, - 10003 + 10648, + 10651 ], "loc": { "start": { - "line": 349, + "line": 368, "column": 21 }, "end": { - "line": 349, + "line": 368, "column": 24 } } }, "range": [ - 9987, - 10003 + 10635, + 10651 ], "loc": { "start": { - "line": 349, + "line": 368, "column": 8 }, "end": { - "line": 349, + "line": 368, "column": 24 } } @@ -20852,32 +21751,32 @@ "value": "filters-row-inserted", "raw": "'filters-row-inserted'", "range": [ - 10005, - 10027 + 10653, + 10675 ], "loc": { "start": { - "line": 349, + "line": 368, "column": 26 }, "end": { - "line": 349, + "line": 368, "column": 48 } } } ], "range": [ - 10004, - 10028 + 10652, + 10676 ], "loc": { "start": { - "line": 349, + "line": 368, "column": 25 }, "end": { - "line": 349, + "line": 368, "column": 49 } } @@ -20887,158 +21786,121 @@ "id": null, "params": [], "body": { - "type": "UpdateExpression", - "operator": "++", - "argument": { + "type": "CallExpression", + "callee": { "type": "MemberExpression", "computed": false, "object": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 10036, - 10040 - ], - "loc": { - "start": { - "line": 349, - "column": 57 - }, - "end": { - "line": 349, - "column": 61 - } - } - }, - "property": { - "type": "Identifier", - "name": "tf", - "range": [ - 10041, - 10043 - ], - "loc": { - "start": { - "line": 349, - "column": 62 - }, - "end": { - "line": 349, - "column": 64 - } - } - }, + "type": "ThisExpression", "range": [ - 10036, - 10043 + 10684, + 10688 ], "loc": { "start": { - "line": 349, + "line": 368, "column": 57 }, "end": { - "line": 349, - "column": 64 + "line": 368, + "column": 61 } } }, "property": { "type": "Identifier", - "name": "headersRow", + "name": "buildIcons", "range": [ - 10044, - 10054 + 10689, + 10699 ], "loc": { "start": { - "line": 349, - "column": 65 + "line": 368, + "column": 62 }, "end": { - "line": 349, - "column": 75 + "line": 368, + "column": 72 } } }, "range": [ - 10036, - 10054 + 10684, + 10699 ], "loc": { "start": { - "line": 349, + "line": 368, "column": 57 }, "end": { - "line": 349, - "column": 75 + "line": 368, + "column": 72 } } }, - "prefix": false, + "arguments": [], "range": [ - 10036, - 10056 + 10684, + 10701 ], "loc": { "start": { - "line": 349, + "line": 368, "column": 57 }, "end": { - "line": 349, - "column": 77 + "line": 368, + "column": 74 } } }, "generator": false, "expression": true, "range": [ - 10030, - 10056 + 10678, + 10701 ], "loc": { "start": { - "line": 349, + "line": 368, "column": 51 }, "end": { - "line": 349, - "column": 77 + "line": 368, + "column": 74 } } } ], "range": [ - 9987, - 10057 + 10635, + 10702 ], "loc": { "start": { - "line": 349, + "line": 368, "column": 8 }, "end": { - "line": 349, - "column": 78 + "line": 368, + "column": 75 } } }, "range": [ - 9987, - 10058 + 10635, + 10703 ], "loc": { "start": { - "line": 349, + "line": 368, "column": 8 }, "end": { - "line": 349, - "column": 79 + "line": 368, + "column": 76 } } }, @@ -21055,16 +21917,16 @@ "object": { "type": "ThisExpression", "range": [ - 10067, - 10071 + 10712, + 10716 ], "loc": { "start": { - "line": 350, + "line": 369, "column": 8 }, "end": { - "line": 350, + "line": 369, "column": 12 } } @@ -21073,31 +21935,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 10072, - 10079 + 10717, + 10724 ], "loc": { "start": { - "line": 350, + "line": 369, "column": 13 }, "end": { - "line": 350, + "line": 369, "column": 20 } } }, "range": [ - 10067, - 10079 + 10712, + 10724 ], "loc": { "start": { - "line": 350, + "line": 369, "column": 8 }, "end": { - "line": 350, + "line": 369, "column": 20 } } @@ -21106,31 +21968,31 @@ "type": "Identifier", "name": "off", "range": [ - 10080, - 10083 + 10725, + 10728 ], "loc": { "start": { - "line": 350, + "line": 369, "column": 21 }, "end": { - "line": 350, + "line": 369, "column": 24 } } }, "range": [ - 10067, - 10083 + 10712, + 10728 ], "loc": { "start": { - "line": 350, + "line": 369, "column": 8 }, "end": { - "line": 350, + "line": 369, "column": 24 } } @@ -21144,32 +22006,32 @@ "value": "before-filter-init", "raw": "'before-filter-init'", "range": [ - 10085, - 10105 + 10730, + 10750 ], "loc": { "start": { - "line": 350, + "line": 369, "column": 26 }, "end": { - "line": 350, + "line": 369, "column": 46 } } } ], "range": [ - 10084, - 10106 + 10729, + 10751 ], "loc": { "start": { - "line": 350, + "line": 369, "column": 25 }, "end": { - "line": 350, + "line": 369, "column": 47 } } @@ -21182,16 +22044,16 @@ "type": "Identifier", "name": "tf", "range": [ - 10121, - 10123 + 10766, + 10768 ], "loc": { "start": { - "line": 351, + "line": 370, "column": 13 }, "end": { - "line": 351, + "line": 370, "column": 15 } } @@ -21200,16 +22062,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 10125, - 10133 + 10770, + 10778 ], "loc": { "start": { - "line": 351, + "line": 370, "column": 17 }, "end": { - "line": 351, + "line": 370, "column": 25 } } @@ -21223,16 +22085,16 @@ "object": { "type": "ThisExpression", "range": [ - 10138, - 10142 + 10783, + 10787 ], "loc": { "start": { - "line": 351, + "line": 370, "column": 30 }, "end": { - "line": 351, + "line": 370, "column": 34 } } @@ -21241,31 +22103,31 @@ "type": "Identifier", "name": "build", "range": [ - 10143, - 10148 + 10788, + 10793 ], "loc": { "start": { - "line": 351, + "line": 370, "column": 35 }, "end": { - "line": 351, + "line": 370, "column": 40 } } }, "range": [ - 10138, - 10148 + 10783, + 10793 ], "loc": { "start": { - "line": 351, + "line": 370, "column": 30 }, "end": { - "line": 351, + "line": 370, "column": 40 } } @@ -21275,32 +22137,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 10149, - 10157 + 10794, + 10802 ], "loc": { "start": { - "line": 351, + "line": 370, "column": 41 }, "end": { - "line": 351, + "line": 370, "column": 49 } } } ], "range": [ - 10138, - 10158 + 10783, + 10803 ], "loc": { "start": { - "line": 351, + "line": 370, "column": 30 }, "end": { - "line": 351, + "line": 370, "column": 50 } } @@ -21308,47 +22170,47 @@ "generator": false, "expression": true, "range": [ - 10120, - 10158 + 10765, + 10803 ], "loc": { "start": { - "line": 351, + "line": 370, "column": 12 }, "end": { - "line": 351, + "line": 370, "column": 50 } } } ], "range": [ - 10067, - 10159 + 10712, + 10804 ], "loc": { "start": { - "line": 350, + "line": 369, "column": 8 }, "end": { - "line": 351, + "line": 370, "column": 51 } } }, "range": [ - 10067, - 10160 + 10712, + 10805 ], "loc": { "start": { - "line": 350, + "line": 369, "column": 8 }, "end": { - "line": 351, + "line": 370, "column": 52 } } @@ -21364,16 +22226,16 @@ "object": { "type": "ThisExpression", "range": [ - 10170, - 10174 + 10815, + 10819 ], "loc": { "start": { - "line": 353, + "line": 372, "column": 8 }, "end": { - "line": 353, + "line": 372, "column": 12 } } @@ -21382,31 +22244,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 10175, - 10186 + 10820, + 10831 ], "loc": { "start": { - "line": 353, + "line": 372, "column": 13 }, "end": { - "line": 353, + "line": 372, "column": 24 } } }, "range": [ - 10170, - 10186 + 10815, + 10831 ], "loc": { "start": { - "line": 353, + "line": 372, "column": 8 }, "end": { - "line": 353, + "line": 372, "column": 24 } } @@ -21416,62 +22278,62 @@ "value": false, "raw": "false", "range": [ - 10189, - 10194 + 10834, + 10839 ], "loc": { "start": { - "line": 353, + "line": 372, "column": 27 }, "end": { - "line": 353, + "line": 372, "column": 32 } } }, "range": [ - 10170, - 10194 + 10815, + 10839 ], "loc": { "start": { - "line": 353, + "line": 372, "column": 8 }, "end": { - "line": 353, + "line": 372, "column": 32 } } }, "range": [ - 10170, - 10195 + 10815, + 10840 ], "loc": { "start": { - "line": 353, + "line": 372, "column": 8 }, "end": { - "line": 353, + "line": 372, "column": 33 } } } ], "range": [ - 8895, - 10201 + 9538, + 10846 ], "loc": { "start": { - "line": 316, + "line": 335, "column": 14 }, "end": { - "line": 354, + "line": 373, "column": 5 } } @@ -21479,16 +22341,16 @@ "generator": false, "expression": false, "range": [ - 8892, - 10201 + 9535, + 10846 ], "loc": { "start": { - "line": 316, + "line": 335, "column": 11 }, "end": { - "line": 354, + "line": 373, "column": 5 } } @@ -21496,16 +22358,16 @@ "kind": "method", "computed": false, "range": [ - 8885, - 10201 + 9528, + 10846 ], "loc": { "start": { - "line": 316, + "line": 335, "column": 4 }, "end": { - "line": 354, + "line": 373, "column": 5 } }, @@ -21514,16 +22376,16 @@ "type": "Block", "value": "*\n * Remove pop-up filters\n ", "range": [ - 8840, - 8880 + 9483, + 9523 ], "loc": { "start": { - "line": 313, + "line": 332, "column": 4 }, "end": { - "line": 315, + "line": 334, "column": 7 } } @@ -21534,7 +22396,7 @@ ], "range": [ 346, - 10204 + 10849 ], "loc": { "start": { @@ -21542,14 +22404,14 @@ "column": 41 }, "end": { - "line": 356, + "line": 375, "column": 1 } } }, "range": [ 312, - 10204 + 10849 ], "loc": { "start": { @@ -21557,7 +22419,7 @@ "column": 7 }, "end": { - "line": 356, + "line": 375, "column": 1 } }, @@ -21587,7 +22449,7 @@ "source": null, "range": [ 305, - 10204 + 10849 ], "loc": { "start": { @@ -21595,7 +22457,7 @@ "column": 0 }, "end": { - "line": 356, + "line": 375, "column": 1 } }, @@ -21624,7 +22486,7 @@ "sourceType": "module", "range": [ 0, - 10204 + 10849 ], "loc": { "start": { @@ -21632,7 +22494,7 @@ "column": 0 }, "end": { - "line": 356, + "line": 375, "column": 1 } }, @@ -22035,18 +22897,72 @@ }, { "type": "Line", - "value": " subscribe to events", + "value": " TODO: Prevent the filters row to simplify headers row index adjusting", "range": [ - 4971, - 4993 + 4284, + 4356 ], "loc": { "start": { - "line": 186, + "line": 165, "column": 8 }, "end": { - "line": 186, + "line": 165, + "column": 80 + } + } + }, + { + "type": "Line", + "value": " Adjust headers row index for grid-layout mode", + "range": [ + 4481, + 4529 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 56 + } + } + }, + { + "type": "Line", + "value": " TODO: Prevent the filters row to simplify headers row index adjusting", + "range": [ + 4538, + 4610 + ], + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 171, + "column": 80 + } + } + }, + { + "type": "Line", + "value": " subscribe to events", + "range": [ + 4719, + 4741 + ], + "loc": { + "start": { + "line": 177, + "column": 8 + }, + "end": { + "line": 177, "column": 30 } } @@ -22055,16 +22971,16 @@ "type": "Block", "value": "*\n * @inherited\n ", "range": [ - 5433, - 5470 + 5183, + 5220 ], "loc": { "start": { - "line": 195, + "line": 186, "column": 8 }, "end": { - "line": 197, + "line": 188, "column": 11 } } @@ -22073,8 +22989,26 @@ "type": "Block", "value": "*\n * Reset previously destroyed feature\n ", "range": [ - 5515, - 5568 + 5265, + 5318 + ], + "loc": { + "start": { + "line": 192, + "column": 4 + }, + "end": { + "line": 194, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Build all filters icons\n ", + "range": [ + 5413, + 5455 ], "loc": { "start": { @@ -22088,19 +23022,55 @@ } }, { - "type": "Block", - "value": "*\n * Build all pop-up filters elements\n ", + "type": "Line", + "value": " Filters row is added to the DOM, adjust headers row index", "range": [ - 5663, - 5715 + 5510, + 5570 ], "loc": { "start": { - "line": 210, + "line": 207, + "column": 8 + }, + "end": { + "line": 207, + "column": 68 + } + } + }, + { + "type": "Line", + "value": " TODO: Prevent the filters row to simplify headers row index adjusting", + "range": [ + 5579, + 5651 + ], + "loc": { + "start": { + "line": 208, + "column": 8 + }, + "end": { + "line": 208, + "column": 80 + } + } + }, + { + "type": "Block", + "value": "*\n * Build all pop-up filters elements\n ", + "range": [ + 6299, + 6351 + ], + "loc": { + "start": { + "line": 229, "column": 4 }, "end": { - "line": 212, + "line": 231, "column": 7 } } @@ -22109,16 +23079,16 @@ "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": [ - 5864, - 6033 + 6500, + 6669 ], "loc": { "start": { - "line": 219, + "line": 238, "column": 4 }, "end": { - "line": 223, + "line": 242, "column": 7 } } @@ -22127,16 +23097,16 @@ "type": "Block", "value": "*\n * Toogle visibility of specified filter\n * @param {Number} colIndex Column index\n ", "range": [ - 6551, - 6653 + 7187, + 7289 ], "loc": { "start": { - "line": 238, + "line": 257, "column": 4 }, "end": { - "line": 241, + "line": 260, "column": 7 } } @@ -22145,16 +23115,16 @@ "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": [ - 7822, - 7970 + 8458, + 8606 ], "loc": { "start": { - "line": 276, + "line": 295, "column": 4 }, "end": { - "line": 279, + "line": 298, "column": 7 } } @@ -22163,16 +23133,16 @@ "type": "Block", "value": "*\n * Build all the icons representing the pop-up filters\n ", "range": [ - 8291, - 8361 + 8927, + 8997 ], "loc": { "start": { - "line": 292, + "line": 311, "column": 4 }, "end": { - "line": 294, + "line": 313, "column": 7 } } @@ -22181,16 +23151,16 @@ "type": "Block", "value": "*\n * Apply specified icon state\n * @param {Number} colIndex Column index\n * @param {Boolean} active Apply active state\n ", "range": [ - 8497, - 8641 + 9138, + 9282 ], "loc": { "start": { - "line": 301, + "line": 320, "column": 4 }, "end": { - "line": 305, + "line": 324, "column": 7 } } @@ -22199,16 +23169,16 @@ "type": "Block", "value": "*\n * Remove pop-up filters\n ", "range": [ - 8840, - 8880 + 9483, + 9523 ], "loc": { "start": { - "line": 313, + "line": 332, "column": 4 }, "end": { - "line": 315, + "line": 334, "column": 7 } } @@ -22217,16 +23187,16 @@ "type": "Line", "value": " unsubscribe to events", "range": [ - 9701, - 9725 + 10344, + 10368 ], "loc": { "start": { - "line": 344, + "line": 363, "column": 8 }, "end": { - "line": 344, + "line": 363, "column": 32 } } diff --git a/docs/class/src/emitter.js~Emitter.html b/docs/class/src/emitter.js~Emitter.html index bc0a518f..3ac8b4eb 100644 --- a/docs/class/src/emitter.js~Emitter.html +++ b/docs/class/src/emitter.js~Emitter.html @@ -3,7 +3,7 @@ - Emitter | tablefilter v0.2.65 API Document + Emitter | tablefilter v0.2.66 API Document diff --git a/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html b/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html index 40d35181..3e0efd88 100644 --- a/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html +++ b/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html @@ -3,7 +3,7 @@ - AdapterEzEditTable | tablefilter v0.2.65 API Document + AdapterEzEditTable | tablefilter v0.2.66 API Document diff --git a/docs/class/src/extensions/colOps/colOps.js~ColOps.html b/docs/class/src/extensions/colOps/colOps.js~ColOps.html index d1c06bc4..76210c41 100644 --- a/docs/class/src/extensions/colOps/colOps.js~ColOps.html +++ b/docs/class/src/extensions/colOps/colOps.js~ColOps.html @@ -3,7 +3,7 @@ - ColOps | tablefilter v0.2.65 API Document + ColOps | tablefilter v0.2.66 API Document diff --git a/docs/class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html b/docs/class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html index f355f1c6..3e3fff57 100644 --- a/docs/class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html +++ b/docs/class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html @@ -3,7 +3,7 @@ - ColsVisibility | tablefilter v0.2.65 API Document + ColsVisibility | tablefilter v0.2.66 API Document diff --git a/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html b/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html index c77ce168..9c14b00d 100644 --- a/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html +++ b/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html @@ -3,7 +3,7 @@ - FiltersVisibility | tablefilter v0.2.65 API Document + FiltersVisibility | tablefilter v0.2.66 API Document diff --git a/docs/class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html b/docs/class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html index ccc4d021..4e3cd641 100644 --- a/docs/class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html +++ b/docs/class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html @@ -3,7 +3,7 @@ - AdapterSortableTable | tablefilter v0.2.65 API Document + AdapterSortableTable | tablefilter v0.2.66 API Document diff --git a/docs/class/src/feature.js~Feature.html b/docs/class/src/feature.js~Feature.html index bb1a0929..41e9e2a1 100644 --- a/docs/class/src/feature.js~Feature.html +++ b/docs/class/src/feature.js~Feature.html @@ -3,7 +3,7 @@ - Feature | tablefilter v0.2.65 API Document + Feature | tablefilter v0.2.66 API Document diff --git a/docs/class/src/modules/alternateRows.js~AlternateRows.html b/docs/class/src/modules/alternateRows.js~AlternateRows.html index 1b412d30..d722fd7a 100644 --- a/docs/class/src/modules/alternateRows.js~AlternateRows.html +++ b/docs/class/src/modules/alternateRows.js~AlternateRows.html @@ -3,7 +3,7 @@ - AlternateRows | tablefilter v0.2.65 API Document + AlternateRows | tablefilter v0.2.66 API Document diff --git a/docs/class/src/modules/checkList.js~CheckList.html b/docs/class/src/modules/checkList.js~CheckList.html index 808745f9..a6779123 100644 --- a/docs/class/src/modules/checkList.js~CheckList.html +++ b/docs/class/src/modules/checkList.js~CheckList.html @@ -3,7 +3,7 @@ - CheckList | tablefilter v0.2.65 API Document + CheckList | tablefilter v0.2.66 API Document diff --git a/docs/class/src/modules/clearButton.js~ClearButton.html b/docs/class/src/modules/clearButton.js~ClearButton.html index de60ce33..ffe582ef 100644 --- a/docs/class/src/modules/clearButton.js~ClearButton.html +++ b/docs/class/src/modules/clearButton.js~ClearButton.html @@ -3,7 +3,7 @@ - ClearButton | tablefilter v0.2.65 API Document + ClearButton | tablefilter v0.2.66 API Document diff --git a/docs/class/src/modules/dropdown.js~Dropdown.html b/docs/class/src/modules/dropdown.js~Dropdown.html index 312e155b..67b03df1 100644 --- a/docs/class/src/modules/dropdown.js~Dropdown.html +++ b/docs/class/src/modules/dropdown.js~Dropdown.html @@ -3,7 +3,7 @@ - Dropdown | tablefilter v0.2.65 API Document + Dropdown | tablefilter v0.2.66 API Document diff --git a/docs/class/src/modules/gridLayout.js~GridLayout.html b/docs/class/src/modules/gridLayout.js~GridLayout.html index c7e76405..e47ecbdb 100644 --- a/docs/class/src/modules/gridLayout.js~GridLayout.html +++ b/docs/class/src/modules/gridLayout.js~GridLayout.html @@ -3,7 +3,7 @@ - GridLayout | tablefilter v0.2.65 API Document + GridLayout | tablefilter v0.2.66 API Document diff --git a/docs/class/src/modules/hash.js~Hash.html b/docs/class/src/modules/hash.js~Hash.html index b1ccc4cf..104808c1 100644 --- a/docs/class/src/modules/hash.js~Hash.html +++ b/docs/class/src/modules/hash.js~Hash.html @@ -3,7 +3,7 @@ - Hash | tablefilter v0.2.65 API Document + Hash | tablefilter v0.2.66 API Document diff --git a/docs/class/src/modules/help.js~Help.html b/docs/class/src/modules/help.js~Help.html index b13a3356..ecc02c19 100644 --- a/docs/class/src/modules/help.js~Help.html +++ b/docs/class/src/modules/help.js~Help.html @@ -3,7 +3,7 @@ - Help | tablefilter v0.2.65 API Document + Help | tablefilter v0.2.66 API Document diff --git a/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html b/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html index 07fcd060..32a6f44b 100644 --- a/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html +++ b/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html @@ -3,7 +3,7 @@ - HighlightKeyword | tablefilter v0.2.65 API Document + HighlightKeyword | tablefilter v0.2.66 API Document diff --git a/docs/class/src/modules/loader.js~Loader.html b/docs/class/src/modules/loader.js~Loader.html index d93ab45b..47c103e8 100644 --- a/docs/class/src/modules/loader.js~Loader.html +++ b/docs/class/src/modules/loader.js~Loader.html @@ -3,7 +3,7 @@ - Loader | tablefilter v0.2.65 API Document + Loader | tablefilter v0.2.66 API Document diff --git a/docs/class/src/modules/noResults.js~NoResults.html b/docs/class/src/modules/noResults.js~NoResults.html index 625e229d..37dd1c02 100644 --- a/docs/class/src/modules/noResults.js~NoResults.html +++ b/docs/class/src/modules/noResults.js~NoResults.html @@ -3,7 +3,7 @@ - NoResults | tablefilter v0.2.65 API Document + NoResults | tablefilter v0.2.66 API Document diff --git a/docs/class/src/modules/paging.js~Paging.html b/docs/class/src/modules/paging.js~Paging.html index 25d515f0..b2870558 100644 --- a/docs/class/src/modules/paging.js~Paging.html +++ b/docs/class/src/modules/paging.js~Paging.html @@ -3,7 +3,7 @@ - Paging | tablefilter v0.2.65 API Document + Paging | tablefilter v0.2.66 API Document diff --git a/docs/class/src/modules/popupFilter.js~PopupFilter.html b/docs/class/src/modules/popupFilter.js~PopupFilter.html index b8148231..de7c3084 100644 --- a/docs/class/src/modules/popupFilter.js~PopupFilter.html +++ b/docs/class/src/modules/popupFilter.js~PopupFilter.html @@ -3,7 +3,7 @@ - PopupFilter | tablefilter v0.2.65 API Document + PopupFilter | tablefilter v0.2.66 API Document @@ -521,13 +521,13 @@

- buildIcon(colIndex: Number, active: Boolean) + buildIcons()

-

Apply specified icon state

+

Build all filters icons

@@ -547,13 +547,13 @@

- buildIcons() + changeState(colIndex: Number, active: Boolean)

-

Build all the icons representing the pop-up filters

+

Apply specified icon state

@@ -672,6 +672,32 @@ + + + +
+

+ setIconsState() +

+
+
+ + +

Build all the icons representing the pop-up filters

+
+
+ + + + + + + + + public + + + @@ -1297,7 +1323,7 @@ - source + source @@ -1504,7 +1530,7 @@ - source + source @@ -1569,7 +1595,7 @@ - source + source @@ -1600,17 +1626,58 @@
-

+

public - buildIcon(colIndex: Number, active: Boolean) + buildIcons() - source + source + +

+ + + + +

Build all filters icons

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

+ public + + + + + changeState(colIndex: Number, active: Boolean) + + + + source

@@ -1663,47 +1730,6 @@ -
-
-

- public - - - - - buildIcons() - - - - source - -

- - - - -

Build all the icons representing the pop-up filters

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

@@ -1716,7 +1742,7 @@ - source + source

@@ -1774,7 +1800,7 @@ - source + source @@ -1856,7 +1882,7 @@ - source + source @@ -1885,6 +1911,47 @@ +
+
+

+ public + + + + + setIconsState() + + + + source + +

+ + + + +

Build all the icons representing the pop-up filters

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

@@ -1897,7 +1964,7 @@ - source + source

diff --git a/docs/class/src/modules/rowsCounter.js~RowsCounter.html b/docs/class/src/modules/rowsCounter.js~RowsCounter.html index 3759feab..a36a4c06 100644 --- a/docs/class/src/modules/rowsCounter.js~RowsCounter.html +++ b/docs/class/src/modules/rowsCounter.js~RowsCounter.html @@ -3,7 +3,7 @@ - RowsCounter | tablefilter v0.2.65 API Document + RowsCounter | tablefilter v0.2.66 API Document diff --git a/docs/class/src/modules/state.js~State.html b/docs/class/src/modules/state.js~State.html index 0b0ccf69..88a611d5 100644 --- a/docs/class/src/modules/state.js~State.html +++ b/docs/class/src/modules/state.js~State.html @@ -3,7 +3,7 @@ - State | tablefilter v0.2.65 API Document + State | tablefilter v0.2.66 API Document diff --git a/docs/class/src/modules/statusBar.js~StatusBar.html b/docs/class/src/modules/statusBar.js~StatusBar.html index e68e9fcb..e8947e61 100644 --- a/docs/class/src/modules/statusBar.js~StatusBar.html +++ b/docs/class/src/modules/statusBar.js~StatusBar.html @@ -3,7 +3,7 @@ - StatusBar | tablefilter v0.2.65 API Document + StatusBar | tablefilter v0.2.66 API Document diff --git a/docs/class/src/modules/storage.js~Storage.html b/docs/class/src/modules/storage.js~Storage.html index 6391f34a..9b1f155b 100644 --- a/docs/class/src/modules/storage.js~Storage.html +++ b/docs/class/src/modules/storage.js~Storage.html @@ -3,7 +3,7 @@ - Storage | tablefilter v0.2.65 API Document + Storage | tablefilter v0.2.66 API Document diff --git a/docs/class/src/tablefilter.js~TableFilter.html b/docs/class/src/tablefilter.js~TableFilter.html index e76403c0..63d1c1ab 100644 --- a/docs/class/src/tablefilter.js~TableFilter.html +++ b/docs/class/src/tablefilter.js~TableFilter.html @@ -3,7 +3,7 @@ - TableFilter | tablefilter v0.2.65 API Document + TableFilter | tablefilter v0.2.66 API Document diff --git a/docs/coverage.json b/docs/coverage.json index fd16ba87..3233bf70 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,7 +1,7 @@ { "coverage": "100%", - "expectCount": 628, - "actualCount": 628, + "expectCount": 629, + "actualCount": 629, "files": { "src/const.js": { "expectCount": 13, @@ -99,8 +99,8 @@ "undocumentLines": [] }, "src/modules/popupFilter.js": { - "expectCount": 21, - "actualCount": 21, + "expectCount": 22, + "actualCount": 22, "undocumentLines": [] }, "src/modules/rowsCounter.js": { diff --git a/docs/dump.json b/docs/dump.json index 52f195aa..14346562 100644 --- a/docs/dump.json +++ b/docs/dump.json @@ -12315,7 +12315,7 @@ "access": null, "description": null, "lineNumber": 1, - "content": "import {Feature} from '../feature';\nimport {isFn} from '../types';\nimport {createElm, removeElm} from '../dom';\nimport {addEvt, cancelEvt, stopEvt, targetEvt} from '../event';\nimport {INPUT, NONE} from '../const';\n\n/**\n * Pop-up filter component\n * @export\n * @class PopupFilter\n * @extends {Feature}\n */\nexport class PopupFilter extends Feature {\n\n /**\n * Creates an instance of PopupFilter\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'popupFilters');\n\n // Configuration object\n let f = this.config;\n\n // Enable external filters\n tf.isExternalFlt = true;\n tf.externalFltTgtIds = [];\n\n /**\n * Filter icon path\n * @type {String}\n */\n this.iconPath = f.popup_filters_image ||\n tf.themesPath + 'icn_filter.gif';\n\n /**\n * Active filter icon path\n * @type {string}\n */\n this.activeIconPath = f.popup_filters_image_active ||\n tf.themesPath + 'icn_filterActive.gif';\n\n /**\n * HTML for the filter icon\n * @type {string}\n */\n this.iconHtml = f.popup_filters_image_html ||\n '\"Column';\n\n /**\n * Css class assigned to filter container element\n * @type {String}\n */\n this.containerCssClass = f.popup_div_css_class || 'popUpFilter';\n\n /**\n * Callback fired before a popup filter is opened\n * @type {Function}\n */\n this.onBeforeOpen = isFn(f.on_before_popup_filter_open) ?\n f.on_before_popup_filter_open : null;\n\n /**\n * Callback fired after a popup filter is opened\n * @type {Function}\n */\n this.onAfterOpen = isFn(f.on_after_popup_filter_open) ?\n f.on_after_popup_filter_open : null;\n\n /**\n * Callback fired before a popup filter is closed\n * @type {Function}\n */\n this.onBeforeClose = isFn(f.on_before_popup_filter_close) ?\n f.on_before_popup_filter_close : null;\n\n /**\n * Callback fired after a popup filter is closed\n * @type {Function}\n */\n this.onAfterClose = isFn(f.on_after_popup_filter_close) ?\n f.on_after_popup_filter_close : null;\n\n /**\n * Collection of filters spans\n * @type {Array}\n * @private\n */\n this.fltSpans = [];\n\n /**\n * Collection of filters icons\n * @type {Array}\n * @private\n */\n this.fltIcons = [];\n\n /**\n * Collection of filters icons cached after pop-up filters are removed\n * @type {Array}\n * @private\n */\n this.filtersCache = null;\n\n /**\n * Collection of filters containers\n * @type {Array}\n * @private\n */\n this.fltElms = this.filtersCache || [];\n\n /**\n * Ensure filter's container element width matches column width\n * @type {Boolean}\n */\n this.adjustToContainer = true;\n\n /**\n * Prefix for pop-up filter span ID\n * @type {String}\n * @private\n */\n this.prfxSpan = 'popUpSpan_';\n\n /**\n * Prefix for pop-up filter container ID\n * @type {String}\n * @private\n */\n this.prfxDiv = 'popUpDiv_';\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 colIndex = parseInt(elm.getAttribute('ci'), 10);\n\n this.closeAll(colIndex);\n this.toggle(colIndex);\n\n if (this.adjustToContainer) {\n let popUpDiv = this.fltElms[colIndex],\n header = this.tf.getHeaderElement(colIndex),\n headerWidth = header.clientWidth * 0.95;\n popUpDiv.style.width = parseInt(headerWidth, 10) + 'px';\n }\n cancelEvt(evt);\n stopEvt(evt);\n }\n\n /**\n * Initialize DOM elements\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n\n // Override headers row index if no grouped headers\n if (tf.headersRow <= 1) {\n tf.headersRow = 0;\n }\n\n for (let i = 0; i < tf.nbCells; i++) {\n if (tf.getFilterType(i) === NONE) {\n continue;\n }\n let popUpSpan = createElm(\n 'span',\n ['id', this.prfxSpan + tf.id + '_' + i],\n ['ci', i]\n );\n popUpSpan.innerHTML = this.iconHtml;\n let header = tf.getHeaderElement(i);\n header.appendChild(popUpSpan);\n addEvt(popUpSpan, 'click', (evt) => this.onClick(evt));\n this.fltSpans[i] = popUpSpan;\n this.fltIcons[i] = popUpSpan.firstChild;\n }\n\n // subscribe to events\n this.emitter.on(['before-filtering'], () => this.buildIcons());\n this.emitter.on(['after-filtering'], () => this.closeAll());\n this.emitter.on(['cell-processed'],\n (tf, cellIndex) => this.buildIcon(cellIndex, true));\n this.emitter.on(['filters-row-inserted'], () => this.tf.headersRow++);\n this.emitter.on(['before-filter-init'],\n (tf, colIndex) => this.build(colIndex));\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Reset previously destroyed feature\n */\n reset() {\n this.enable();\n this.init();\n this.buildAll();\n }\n\n /**\n * Build all pop-up filters elements\n */\n buildAll() {\n for (let i = 0; i < this.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 popUpDiv = !div ?\n createElm('div',\n ['id', this.prfxDiv + tf.id + '_' + colIndex]) :\n div;\n popUpDiv.className = this.containerCssClass;\n tf.externalFltTgtIds.push(popUpDiv.id);\n let header = tf.getHeaderElement(colIndex);\n header.insertBefore(popUpDiv, header.firstChild);\n addEvt(popUpDiv, 'click', (evt) => stopEvt(evt));\n this.fltElms[colIndex] = popUpDiv;\n }\n\n /**\n * Toogle visibility of specified filter\n * @param {Number} colIndex Column index\n */\n toggle(colIndex) {\n let tf = this.tf,\n popUpFltElm = this.fltElms[colIndex];\n\n if (popUpFltElm.style.display === NONE ||\n popUpFltElm.style.display === '') {\n if (this.onBeforeOpen) {\n this.onBeforeOpen.call(\n null, this, this.fltElms[colIndex], colIndex);\n }\n popUpFltElm.style.display = 'block';\n if (tf.getFilterType(colIndex) === INPUT) {\n let flt = tf.getFilterElement(colIndex);\n if (flt) {\n flt.focus();\n }\n }\n if (this.onAfterOpen) {\n this.onAfterOpen.call(\n null, this, this.fltElms[colIndex], colIndex);\n }\n } else {\n if (this.onBeforeClose) {\n this.onBeforeClose.call(\n null, this, this.fltElms[colIndex], colIndex);\n }\n popUpFltElm.style.display = NONE;\n if (this.onAfterClose) {\n this.onAfterClose.call(\n null, this, this.fltElms[colIndex], colIndex);\n }\n }\n }\n\n /**\n * Close all filters excepted for the specified one if any\n * @param {Number} exceptIdx Column index of the filter to not close\n */\n closeAll(exceptIdx) {\n for (let i = 0; i < this.fltElms.length; i++) {\n if (i === exceptIdx) {\n continue;\n }\n let popUpFltElm = this.fltElms[i];\n if (popUpFltElm) {\n popUpFltElm.style.display = NONE;\n }\n }\n }\n\n /**\n * Build all the icons representing the pop-up filters\n */\n buildIcons() {\n for (let i = 0; i < this.fltIcons.length; i++) {\n this.buildIcon(i, false);\n }\n }\n\n /**\n * Apply specified icon state\n * @param {Number} colIndex Column index\n * @param {Boolean} active Apply active state\n */\n buildIcon(colIndex, active) {\n if (this.fltIcons[colIndex]) {\n this.fltIcons[colIndex].src = active ?\n 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 popUpFltElm = this.fltElms[i],\n popUpFltSpan = this.fltSpans[i],\n popUpFltImg = this.fltIcons[i];\n if (popUpFltElm) {\n removeElm(popUpFltElm);\n this.filtersCache[i] = popUpFltElm;\n }\n popUpFltElm = null;\n if (popUpFltSpan) {\n removeElm(popUpFltSpan);\n }\n popUpFltSpan = null;\n if (popUpFltImg) {\n removeElm(popUpFltImg);\n }\n popUpFltImg = null;\n }\n this.fltElms = [];\n this.fltSpans = [];\n this.fltIcons = [];\n\n // unsubscribe to events\n this.emitter.off(['before-filtering'], () => this.buildIcons());\n this.emitter.off(['after-filtering'], () => this.closeAll());\n this.emitter.off(['cell-processed'],\n (tf, cellIndex) => this.buildIcon(cellIndex, true));\n this.emitter.off(['filters-row-inserted'], () => this.tf.headersRow++);\n this.emitter.off(['before-filter-init'],\n (tf, colIndex) => this.build(colIndex));\n\n this.initialized = false;\n }\n\n}\n" + "content": "import {Feature} from '../feature';\nimport {isFn} from '../types';\nimport {createElm, removeElm} from '../dom';\nimport {addEvt, cancelEvt, stopEvt, targetEvt} from '../event';\nimport {INPUT, NONE} from '../const';\n\n/**\n * Pop-up filter component\n * @export\n * @class PopupFilter\n * @extends {Feature}\n */\nexport class PopupFilter extends Feature {\n\n /**\n * Creates an instance of PopupFilter\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'popupFilters');\n\n // Configuration object\n let f = this.config;\n\n // Enable external filters\n tf.isExternalFlt = true;\n tf.externalFltTgtIds = [];\n\n /**\n * Filter icon path\n * @type {String}\n */\n this.iconPath = f.popup_filters_image ||\n tf.themesPath + 'icn_filter.gif';\n\n /**\n * Active filter icon path\n * @type {string}\n */\n this.activeIconPath = f.popup_filters_image_active ||\n tf.themesPath + 'icn_filterActive.gif';\n\n /**\n * HTML for the filter icon\n * @type {string}\n */\n this.iconHtml = f.popup_filters_image_html ||\n '\"Column';\n\n /**\n * Css class assigned to filter container element\n * @type {String}\n */\n this.containerCssClass = f.popup_div_css_class || 'popUpFilter';\n\n /**\n * Callback fired before a popup filter is opened\n * @type {Function}\n */\n this.onBeforeOpen = isFn(f.on_before_popup_filter_open) ?\n f.on_before_popup_filter_open : null;\n\n /**\n * Callback fired after a popup filter is opened\n * @type {Function}\n */\n this.onAfterOpen = isFn(f.on_after_popup_filter_open) ?\n f.on_after_popup_filter_open : null;\n\n /**\n * Callback fired before a popup filter is closed\n * @type {Function}\n */\n this.onBeforeClose = isFn(f.on_before_popup_filter_close) ?\n f.on_before_popup_filter_close : null;\n\n /**\n * Callback fired after a popup filter is closed\n * @type {Function}\n */\n this.onAfterClose = isFn(f.on_after_popup_filter_close) ?\n f.on_after_popup_filter_close : null;\n\n /**\n * Collection of filters spans\n * @type {Array}\n * @private\n */\n this.fltSpans = [];\n\n /**\n * Collection of filters icons\n * @type {Array}\n * @private\n */\n this.fltIcons = [];\n\n /**\n * Collection of filters icons cached after pop-up filters are removed\n * @type {Array}\n * @private\n */\n this.filtersCache = null;\n\n /**\n * Collection of filters containers\n * @type {Array}\n * @private\n */\n this.fltElms = this.filtersCache || [];\n\n /**\n * Ensure filter's container element width matches column width\n * @type {Boolean}\n */\n this.adjustToContainer = true;\n\n /**\n * Prefix for pop-up filter span ID\n * @type {String}\n * @private\n */\n this.prfxSpan = 'popUpSpan_';\n\n /**\n * Prefix for pop-up filter container ID\n * @type {String}\n * @private\n */\n this.prfxDiv = 'popUpDiv_';\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 colIndex = parseInt(elm.getAttribute('ci'), 10);\n\n this.closeAll(colIndex);\n this.toggle(colIndex);\n\n if (this.adjustToContainer) {\n let popUpDiv = this.fltElms[colIndex],\n header = this.tf.getHeaderElement(colIndex),\n headerWidth = header.clientWidth * 0.95;\n popUpDiv.style.width = parseInt(headerWidth, 10) + 'px';\n }\n cancelEvt(evt);\n stopEvt(evt);\n }\n\n /**\n * Initialize DOM elements\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n\n // Override headers row index if no grouped headers\n // TODO: Prevent the filters row to simplify headers row index adjusting\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: Prevent the filters row to simplify headers row index adjusting\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 /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Reset previously destroyed feature\n */\n reset() {\n this.enable();\n this.init();\n this.buildAll();\n }\n\n /**\n * Build all filters icons\n */\n buildIcons() {\n let tf = this.tf;\n\n // Filters row is added to the DOM, adjust headers row index\n // TODO: Prevent the filters row to simplify headers row index adjusting\n tf.headersRow++;\n\n for (let i = 0; i < tf.nbCells; i++) {\n if (tf.getFilterType(i) === NONE) {\n continue;\n }\n let popUpSpan = createElm(\n 'span',\n ['id', this.prfxSpan + tf.id + '_' + i],\n ['ci', i]\n );\n popUpSpan.innerHTML = this.iconHtml;\n let header = tf.getHeaderElement(i);\n header.appendChild(popUpSpan);\n addEvt(popUpSpan, 'click', (evt) => this.onClick(evt));\n this.fltSpans[i] = popUpSpan;\n this.fltIcons[i] = popUpSpan.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 popUpDiv = !div ?\n createElm('div',\n ['id', this.prfxDiv + tf.id + '_' + colIndex]) :\n div;\n popUpDiv.className = this.containerCssClass;\n tf.externalFltTgtIds.push(popUpDiv.id);\n let header = tf.getHeaderElement(colIndex);\n header.insertBefore(popUpDiv, header.firstChild);\n addEvt(popUpDiv, 'click', (evt) => stopEvt(evt));\n this.fltElms[colIndex] = popUpDiv;\n }\n\n /**\n * Toogle visibility of specified filter\n * @param {Number} colIndex Column index\n */\n toggle(colIndex) {\n let tf = this.tf,\n popUpFltElm = this.fltElms[colIndex];\n\n if (popUpFltElm.style.display === NONE ||\n popUpFltElm.style.display === '') {\n if (this.onBeforeOpen) {\n this.onBeforeOpen.call(\n null, this, this.fltElms[colIndex], colIndex);\n }\n popUpFltElm.style.display = 'block';\n if (tf.getFilterType(colIndex) === INPUT) {\n let flt = tf.getFilterElement(colIndex);\n if (flt) {\n flt.focus();\n }\n }\n if (this.onAfterOpen) {\n this.onAfterOpen.call(\n null, this, this.fltElms[colIndex], colIndex);\n }\n } else {\n if (this.onBeforeClose) {\n this.onBeforeClose.call(\n null, this, this.fltElms[colIndex], colIndex);\n }\n popUpFltElm.style.display = NONE;\n if (this.onAfterClose) {\n this.onAfterClose.call(\n null, this, this.fltElms[colIndex], colIndex);\n }\n }\n }\n\n /**\n * Close all filters excepted for the specified one if any\n * @param {Number} exceptIdx Column index of the filter to not close\n */\n closeAll(exceptIdx) {\n for (let i = 0; i < this.fltElms.length; i++) {\n if (i === exceptIdx) {\n continue;\n }\n let popUpFltElm = this.fltElms[i];\n if (popUpFltElm) {\n popUpFltElm.style.display = NONE;\n }\n }\n }\n\n /**\n * Build all the icons representing the pop-up filters\n */\n 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 if (this.fltIcons[colIndex]) {\n this.fltIcons[colIndex].src = active ?\n 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 popUpFltElm = this.fltElms[i],\n popUpFltSpan = this.fltSpans[i],\n popUpFltImg = this.fltIcons[i];\n if (popUpFltElm) {\n removeElm(popUpFltElm);\n this.filtersCache[i] = popUpFltElm;\n }\n popUpFltElm = null;\n if (popUpFltSpan) {\n removeElm(popUpFltSpan);\n }\n popUpFltSpan = null;\n if (popUpFltImg) {\n removeElm(popUpFltImg);\n }\n popUpFltImg = null;\n }\n this.fltElms = [];\n this.fltSpans = [];\n this.fltIcons = [];\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__": 579, @@ -12716,7 +12716,7 @@ "longname": "src/modules/popupFilter.js~PopupFilter#initialized", "access": null, "description": "", - "lineNumber": 198, + "lineNumber": 189, "unknown": [ { "tagName": "@inherited", @@ -12739,7 +12739,7 @@ "longname": "src/modules/popupFilter.js~PopupFilter#reset", "access": null, "description": "Reset previously destroyed feature", - "lineNumber": 204, + "lineNumber": 195, "params": [], "generator": false }, @@ -12748,12 +12748,12 @@ "kind": "method", "static": false, "variation": null, - "name": "buildAll", + "name": "buildIcons", "memberof": "src/modules/popupFilter.js~PopupFilter", - "longname": "src/modules/popupFilter.js~PopupFilter#buildAll", + "longname": "src/modules/popupFilter.js~PopupFilter#buildIcons", "access": null, - "description": "Build all pop-up filters elements", - "lineNumber": 213, + "description": "Build all filters icons", + "lineNumber": 204, "params": [], "generator": false }, @@ -12762,12 +12762,26 @@ "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": 232, + "params": [], + "generator": false + }, + { + "__docId__": 602, + "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": 224, + "lineNumber": 243, "params": [ { "nullable": null, @@ -12793,7 +12807,7 @@ "generator": false }, { - "__docId__": 602, + "__docId__": 603, "kind": "method", "static": false, "variation": null, @@ -12802,7 +12816,7 @@ "longname": "src/modules/popupFilter.js~PopupFilter#toggle", "access": null, "description": "Toogle visibility of specified filter", - "lineNumber": 242, + "lineNumber": 261, "params": [ { "nullable": null, @@ -12818,7 +12832,7 @@ "generator": false }, { - "__docId__": 603, + "__docId__": 604, "kind": "method", "static": false, "variation": null, @@ -12827,7 +12841,7 @@ "longname": "src/modules/popupFilter.js~PopupFilter#closeAll", "access": null, "description": "Close all filters excepted for the specified one if any", - "lineNumber": 280, + "lineNumber": 299, "params": [ { "nullable": null, @@ -12842,31 +12856,31 @@ ], "generator": false }, - { - "__docId__": 604, - "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 the icons representing the pop-up filters", - "lineNumber": 295, - "params": [], - "generator": false - }, { "__docId__": 605, "kind": "method", "static": false, "variation": null, - "name": "buildIcon", + "name": "setIconsState", "memberof": "src/modules/popupFilter.js~PopupFilter", - "longname": "src/modules/popupFilter.js~PopupFilter#buildIcon", + "longname": "src/modules/popupFilter.js~PopupFilter#setIconsState", + "access": null, + "description": "Build all the icons representing the pop-up filters", + "lineNumber": 314, + "params": [], + "generator": false + }, + { + "__docId__": 606, + "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": 306, + "lineNumber": 325, "params": [ { "nullable": null, @@ -12892,7 +12906,7 @@ "generator": false }, { - "__docId__": 606, + "__docId__": 607, "kind": "method", "static": false, "variation": null, @@ -12901,36 +12915,18 @@ "longname": "src/modules/popupFilter.js~PopupFilter#destroy", "access": null, "description": "Remove pop-up filters", - "lineNumber": 316, + "lineNumber": 335, "params": [], "generator": false }, - { - "__docId__": 607, - "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": 321, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, { "__docId__": 608, "kind": "member", "static": false, "variation": null, - "name": "fltElms", + "name": "filtersCache", "memberof": "src/modules/popupFilter.js~PopupFilter", - "longname": "src/modules/popupFilter.js~PopupFilter#fltElms", + "longname": "src/modules/popupFilter.js~PopupFilter#filtersCache", "access": null, "description": null, "lineNumber": 340, @@ -12946,12 +12942,12 @@ "kind": "member", "static": false, "variation": null, - "name": "fltSpans", + "name": "fltElms", "memberof": "src/modules/popupFilter.js~PopupFilter", - "longname": "src/modules/popupFilter.js~PopupFilter#fltSpans", + "longname": "src/modules/popupFilter.js~PopupFilter#fltElms", "access": null, "description": null, - "lineNumber": 341, + "lineNumber": 359, "undocument": true, "type": { "types": [ @@ -12964,12 +12960,12 @@ "kind": "member", "static": false, "variation": null, - "name": "fltIcons", + "name": "fltSpans", "memberof": "src/modules/popupFilter.js~PopupFilter", - "longname": "src/modules/popupFilter.js~PopupFilter#fltIcons", + "longname": "src/modules/popupFilter.js~PopupFilter#fltSpans", "access": null, "description": null, - "lineNumber": 342, + "lineNumber": 360, "undocument": true, "type": { "types": [ @@ -12982,12 +12978,30 @@ "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": 361, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 612, + "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": 353, + "lineNumber": 372, "undocument": true, "type": { "types": [ @@ -12996,7 +13010,7 @@ } }, { - "__docId__": 612, + "__docId__": 613, "kind": "file", "static": true, "variation": null, @@ -13009,7 +13023,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {isFn} from '../types';\n\n/**\n * Rows counter UI component\n * @export\n * @class RowsCounter\n * @extends {Feature}\n */\nexport class RowsCounter extends Feature {\n\n /**\n * Creates an instance of RowsCounter\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'rowsCounter');\n\n // TableFilter configuration\n let f = this.config;\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.targetId = f.rows_counter_target_id || null;\n\n /**\n * Container DOM element\n * @type {DOMElement}\n * @private\n */\n this.container = null;\n\n /**\n * Container DOM element for label displaying the total number of rows\n * @type {DOMElement}\n * @private\n */\n this.label = null;\n\n /**\n * Text preceding the total number of rows\n * @type {String}\n */\n this.text = f.rows_counter_text || 'Rows: ';\n\n /**\n * Separator symbol appearing between the first and last visible rows of\n * current page when paging is enabled. ie: Rows: 31-40 / 70\n * @type {String}\n */\n this.fromToTextSeparator = f.from_to_text_separator || '-';\n\n /**\n * Separator symbol appearing between the first and last visible rows of\n * current page and the total number of filterable rows when paging is\n * enabled. ie: Rows: 31-40 / 70\n * @type {String}\n */\n this.overText = f.over_text || ' / ';\n\n /**\n * Css class for container element\n * @type {String}\n */\n this.cssClass = f.tot_rows_css_class || 'tot';\n\n /**\n * Prefix for container ID\n * @type {String}\n * @private\n */\n this.prfxCounter = 'counter_';\n\n /**\n * Prefix for DOM element containing the counter\n * @type {String}\n * @private\n */\n this.prfxLabel = 'totrows_span_';\n\n /**\n * Prefix for label preceding the counter\n * @type {String}\n * @private\n */\n this.prfxText = 'totRowsTextSpan_';\n\n /**\n * Callback fired before the counter is refreshed\n * @type {Function}\n */\n this.onBeforeRefreshCounter = isFn(f.on_before_refresh_counter) ?\n f.on_before_refresh_counter : null;\n\n /**\n * Callback fired after the counter is refreshed\n * @type {Function}\n */\n this.onAfterRefreshCounter = isFn(f.on_after_refresh_counter) ?\n f.on_after_refresh_counter : null;\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', ['id', this.prfxCounter + tf.id]);\n countDiv.className = this.cssClass;\n //rows counter label\n let countSpan = createElm('span', ['id', this.prfxLabel + tf.id]);\n let countText = createElm('span', ['id', this.prfxText + tf.id]);\n countText.appendChild(createText(this.text));\n\n // counter is added to defined element\n if (!this.targetId) {\n tf.setToolbar();\n }\n let targetEl = !this.targetId ? tf.lDiv : elm(this.targetId);\n\n //default container: 'lDiv'\n if (!this.targetId) {\n countDiv.appendChild(countText);\n countDiv.appendChild(countSpan);\n targetEl.appendChild(countDiv);\n }\n else {\n //custom container, no need to append statusDiv\n targetEl.appendChild(countText);\n targetEl.appendChild(countSpan);\n }\n this.container = countDiv;\n this.label = countSpan;\n\n // subscribe to events\n this.emitter.on(['after-filtering', 'grouped-by-page'],\n () => this.refresh(tf.getValidRowsNb()));\n this.emitter.on(['rows-changed'], () => this.refresh());\n\n /**\n * @inherited\n */\n this.initialized = true;\n this.refresh();\n }\n\n /**\n * Refreshes the rows counter\n * @param {Number} p Optional parameter the total number of rows to display\n * @returns\n */\n refresh(p) {\n if (!this.initialized || !this.isEnabled()) {\n return;\n }\n\n let tf = this.tf;\n\n if (this.onBeforeRefreshCounter) {\n this.onBeforeRefreshCounter.call(null, tf, this.label);\n }\n\n let totTxt;\n if (!tf.paging) {\n if (p && p !== '') {\n totTxt = p;\n } else {\n totTxt = tf.getFilterableRowsNb() - tf.nbHiddenRows;\n }\n } else {\n let paging = tf.feature('paging');\n if (paging) {\n //paging start row\n let pagingStartRow = parseInt(paging.startPagingRow, 10) +\n ((tf.getValidRowsNb() > 0) ? 1 : 0);\n let pagingEndRow =\n (pagingStartRow + paging.pagingLength) - 1 <=\n tf.getValidRowsNb() ?\n pagingStartRow + paging.pagingLength - 1 :\n tf.getValidRowsNb();\n totTxt = pagingStartRow + this.fromToTextSeparator +\n pagingEndRow + this.overText + tf.getValidRowsNb();\n }\n }\n\n this.label.innerHTML = totTxt;\n if (this.onAfterRefreshCounter) {\n this.onAfterRefreshCounter.call(null, tf, this.label, totTxt);\n }\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__": 613, + "__docId__": 614, "kind": "class", "static": true, "variation": null, @@ -13038,7 +13052,7 @@ ] }, { - "__docId__": 614, + "__docId__": 615, "kind": "constructor", "static": false, "variation": null, @@ -13063,7 +13077,7 @@ "generator": false }, { - "__docId__": 615, + "__docId__": 616, "kind": "member", "static": false, "variation": null, @@ -13083,7 +13097,7 @@ } }, { - "__docId__": 616, + "__docId__": 617, "kind": "member", "static": false, "variation": null, @@ -13103,7 +13117,7 @@ } }, { - "__docId__": 617, + "__docId__": 618, "kind": "member", "static": false, "variation": null, @@ -13123,7 +13137,7 @@ } }, { - "__docId__": 618, + "__docId__": 619, "kind": "member", "static": false, "variation": null, @@ -13143,7 +13157,7 @@ } }, { - "__docId__": 619, + "__docId__": 620, "kind": "member", "static": false, "variation": null, @@ -13163,7 +13177,7 @@ } }, { - "__docId__": 620, + "__docId__": 621, "kind": "member", "static": false, "variation": null, @@ -13183,7 +13197,7 @@ } }, { - "__docId__": 621, + "__docId__": 622, "kind": "member", "static": false, "variation": null, @@ -13203,7 +13217,7 @@ } }, { - "__docId__": 622, + "__docId__": 623, "kind": "member", "static": false, "variation": null, @@ -13223,7 +13237,7 @@ } }, { - "__docId__": 623, + "__docId__": 624, "kind": "member", "static": false, "variation": null, @@ -13243,7 +13257,7 @@ } }, { - "__docId__": 624, + "__docId__": 625, "kind": "member", "static": false, "variation": null, @@ -13263,7 +13277,7 @@ } }, { - "__docId__": 625, + "__docId__": 626, "kind": "member", "static": false, "variation": null, @@ -13283,7 +13297,7 @@ } }, { - "__docId__": 626, + "__docId__": 627, "kind": "member", "static": false, "variation": null, @@ -13303,7 +13317,7 @@ } }, { - "__docId__": 627, + "__docId__": 628, "kind": "method", "static": false, "variation": null, @@ -13317,7 +13331,7 @@ "generator": false }, { - "__docId__": 628, + "__docId__": 629, "kind": "member", "static": false, "variation": null, @@ -13335,7 +13349,7 @@ } }, { - "__docId__": 629, + "__docId__": 630, "kind": "member", "static": false, "variation": null, @@ -13353,7 +13367,7 @@ } }, { - "__docId__": 630, + "__docId__": 631, "kind": "member", "static": false, "variation": null, @@ -13376,7 +13390,7 @@ } }, { - "__docId__": 631, + "__docId__": 632, "kind": "method", "static": false, "variation": null, @@ -13407,7 +13421,7 @@ "generator": false }, { - "__docId__": 632, + "__docId__": 633, "kind": "method", "static": false, "variation": null, @@ -13421,7 +13435,7 @@ "generator": false }, { - "__docId__": 633, + "__docId__": 634, "kind": "member", "static": false, "variation": null, @@ -13439,7 +13453,7 @@ } }, { - "__docId__": 634, + "__docId__": 635, "kind": "member", "static": false, "variation": null, @@ -13457,7 +13471,7 @@ } }, { - "__docId__": 635, + "__docId__": 636, "kind": "member", "static": false, "variation": null, @@ -13475,7 +13489,7 @@ } }, { - "__docId__": 636, + "__docId__": 637, "kind": "file", "static": true, "variation": null, @@ -13488,7 +13502,7 @@ "content": "import {Feature} from '../feature';\nimport {Hash} from './hash';\nimport {Storage} from './storage';\nimport {isEmpty} from '../string';\nimport {isArray, isNull, isString, isUndef} from '../types';\n\n/**\n * Features state object persistable with localStorage, cookie or URL hash\n *\n * @export\n * @class State\n * @extends {Feature}\n */\nexport class State extends Feature {\n\n /**\n * Creates an instance of State\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'state');\n\n let cfg = this.config.state;\n\n /**\n * Determines whether state is persisted with URL hash\n * @type {Boolean}\n */\n this.enableHash = cfg === true ||\n (isArray(cfg.types) && cfg.types.indexOf('hash') !== -1);\n\n /**\n * Determines whether state is persisted with localStorage\n * @type {Boolean}\n */\n this.enableLocalStorage = isArray(cfg.types) &&\n cfg.types.indexOf('local_storage') !== -1;\n\n /**\n * Determines whether state is persisted with localStorage\n * @type {Boolean}\n */\n this.enableCookie = isArray(cfg.types) &&\n cfg.types.indexOf('cookie') !== -1;\n\n /**\n * Persist filters values, enabled by default\n * @type {Boolean}\n */\n this.persistFilters = cfg.filters === false ? false : true;\n\n /**\n * Persist current page number when paging is enabled\n * @type {Boolean}\n */\n this.persistPageNumber = Boolean(cfg.page_number);\n\n /**\n * Persist page length when paging is enabled\n * @type {Boolean}\n */\n this.persistPageLength = Boolean(cfg.page_length);\n\n /**\n * Persist column sorting\n * @type {Boolean}\n */\n this.persistSort = Boolean(cfg.sort);\n\n /**\n * Persist columns visibility\n * @type {Boolean}\n */\n this.persistColsVisibility = Boolean(cfg.columns_visibility);\n\n /**\n * Persist filters row visibility\n * @type {Boolean}\n */\n this.persistFiltersVisibility = Boolean(cfg.filters_visibility);\n\n /**\n * Cookie duration in hours\n * @type {Boolean}\n */\n this.cookieDuration = !isNaN(cfg.cookie_duration) ?\n parseInt(cfg.cookie_duration, 10) : 87600;\n\n /**\n * Enable Storage if localStorage or cookie is required\n * @type {Boolean}\n * @private\n */\n this.enableStorage = this.enableLocalStorage || this.enableCookie;\n\n /**\n * Storage instance if storage is required\n * @type {Storage}\n * @private\n */\n this.storage = null;\n\n /**\n * Hash instance if URL hash is required\n * @type {Boolean}\n * @private\n */\n this.hash = null;\n\n /**\n * Current page number\n * @type {Number}\n * @private\n */\n this.pageNb = null;\n\n /**\n * Current page length\n * @type {Number}\n * @private\n */\n this.pageLength = null;\n\n /**\n * Current column sorting\n * @type {Object}\n * @private\n */\n this.sort = null;\n\n /**\n * Current hidden columns\n * @type {Object}\n * @private\n */\n this.hiddenCols = null;\n\n /**\n * Filters row visibility\n * @type {Boolean}\n * @private\n */\n this.filtersVisibility = null;\n\n /**\n * State object\n * @type {Object}\n * @private\n */\n this.state = {};\n\n /**\n * Prefix for column ID\n * @type {String}\n * @private\n */\n this.prfxCol = 'col_';\n\n /**\n * Prefix for page number ID\n * @type {String}\n * @private\n */\n this.pageNbKey = 'page';\n\n /**\n * Prefix for page length ID\n * @type {String}\n * @private\n */\n this.pageLengthKey = 'page_length';\n\n /**\n * Prefix for filters visibility ID\n * @type {String}\n * @private\n */\n this.filtersVisKey = 'filters_visibility';\n }\n\n /**\n * Initializes State instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n this.emitter.on(['after-filtering'], () => this.update());\n this.emitter.on(['after-page-change', 'after-clearing-filters'],\n (tf, pageNb) => this.updatePage(pageNb));\n this.emitter.on(['after-page-length-change'],\n (tf, pageLength) => this.updatePageLength(pageLength));\n this.emitter.on(['column-sorted'],\n (tf, index, descending) => this.updateSort(index, descending));\n this.emitter.on(['sort-initialized'], () => this._syncSort());\n this.emitter.on(['columns-visibility-initialized'],\n () => this._syncColsVisibility());\n this.emitter.on(['column-shown', 'column-hidden'], (tf, feature,\n colIndex, hiddenCols) => this.updateColsVisibility(hiddenCols));\n this.emitter.on(['filters-visibility-initialized'],\n () => this._syncFiltersVisibility());\n this.emitter.on(['filters-toggled'],\n (tf, extension, visible) => this.updateFiltersVisibility(visible));\n\n if (this.enableHash) {\n this.hash = new Hash(this);\n this.hash.init();\n }\n if (this.enableStorage) {\n this.storage = new Storage(this);\n this.storage.init();\n }\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n\n /**\n * Update state object based on current features state\n */\n update() {\n if (!this.isEnabled()) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n\n if (this.persistFilters) {\n let filterValues = tf.getFiltersValue();\n\n filterValues.forEach((val, idx) => {\n let key = `${this.prfxCol}${idx}`;\n\n if (isString(val) && isEmpty(val)) {\n if (state.hasOwnProperty(key)) {\n state[key].flt = undefined;\n }\n } else {\n state[key] = state[key] || {};\n state[key].flt = val;\n }\n });\n }\n\n if (this.persistPageNumber) {\n if (isNull(this.pageNb)) {\n state[this.pageNbKey] = undefined;\n } else {\n state[this.pageNbKey] = this.pageNb;\n }\n }\n\n if (this.persistPageLength) {\n if (isNull(this.pageLength)) {\n state[this.pageLengthKey] = undefined;\n } else {\n state[this.pageLengthKey] = this.pageLength;\n }\n }\n\n if (this.persistSort) {\n if (!isNull(this.sort)) {\n // Remove previuosly sorted column\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1 && state[key]) {\n state[key].sort = undefined;\n }\n });\n\n let key = `${this.prfxCol}${this.sort.column}`;\n state[key] = state[key] || {};\n state[key].sort = { descending: this.sort.descending };\n }\n }\n\n if (this.persistColsVisibility) {\n if (!isNull(this.hiddenCols)) {\n // Clear previuosly hidden columns\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1 && state[key]) {\n state[key].hidden = undefined;\n }\n });\n\n this.hiddenCols.forEach((colIdx) => {\n let key = `${this.prfxCol}${colIdx}`;\n state[key] = state[key] || {};\n state[key].hidden = true;\n });\n }\n }\n\n if (this.persistFiltersVisibility) {\n if (isNull(this.filtersVisibility)) {\n state[this.filtersVisKey] = undefined;\n } else {\n state[this.filtersVisKey] = this.filtersVisibility;\n }\n }\n\n this.emitter.emit('state-changed', tf, state);\n }\n\n /**\n * Refresh page number field on page number changes\n *\n * @param {Number} pageNb Current page number\n */\n updatePage(pageNb) {\n this.pageNb = pageNb;\n this.update();\n }\n\n /**\n * Refresh page length field on page length changes\n *\n * @param {Number} pageLength Current page length value\n */\n updatePageLength(pageLength) {\n this.pageLength = pageLength;\n this.update();\n }\n\n /**\n * Refresh column sorting information on sort changes\n *\n * @param index {Number} Column index\n * @param {Boolean} descending Descending manner\n */\n updateSort(index, descending) {\n this.sort = {\n column: index,\n descending: descending\n };\n this.update();\n }\n\n /**\n * Refresh hidden columns information on columns visibility changes\n *\n * @param {Array} hiddenCols Columns indexes\n */\n updateColsVisibility(hiddenCols) {\n this.hiddenCols = hiddenCols;\n this.update();\n }\n\n /**\n * Refresh filters visibility on filters visibility change\n *\n * @param {Boolean} visible Visibility flad\n */\n updateFiltersVisibility(visible) {\n this.filtersVisibility = visible;\n this.update();\n }\n\n /**\n * Override state field\n *\n * @param state State object\n */\n override(state) {\n this.state = state;\n }\n\n /**\n * Sync stored features state\n */\n sync() {\n let state = this.state;\n let tf = this.tf;\n\n this._syncFilters();\n\n if (this.persistPageNumber) {\n let pageNumber = state[this.pageNbKey];\n this.emitter.emit('change-page', tf, pageNumber);\n }\n\n if (this.persistPageLength) {\n let pageLength = state[this.pageLengthKey];\n this.emitter.emit('change-page-results', tf, pageLength);\n }\n\n this._syncSort();\n this._syncColsVisibility();\n this._syncFiltersVisibility();\n }\n\n /**\n * Override current state with passed one and sync features\n *\n * @param {Object} state State object\n */\n overrideAndSync(state) {\n // To prevent state to react to features changes, state is temporarily\n // disabled\n this.disable();\n // State is overriden with passed state object\n this.override(state);\n // New hash state is applied to features\n this.sync();\n // State is re-enabled\n this.enable();\n }\n\n /**\n * Sync filters with stored values and filter table\n *\n * @private\n */\n _syncFilters() {\n if (!this.persistFilters) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1) {\n let colIdx = parseInt(key.replace(this.prfxCol, ''), 10);\n let val = state[key].flt;\n tf.setFilterValue(colIdx, val);\n }\n });\n\n tf.filter();\n }\n\n /**\n * Sync sorted column with stored sorting information and sort table\n *\n * @private\n */\n _syncSort() {\n if (!this.persistSort) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1) {\n let colIdx = parseInt(key.replace(this.prfxCol, ''), 10);\n if (!isUndef(state[key].sort)) {\n let sort = state[key].sort;\n this.emitter.emit('sort', tf, colIdx, sort.descending);\n }\n }\n });\n }\n\n /**\n * Sync hidden columns with stored information\n *\n * @private\n */\n _syncColsVisibility() {\n if (!this.persistColsVisibility) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n let hiddenCols = [];\n\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1) {\n let colIdx = parseInt(key.replace(this.prfxCol, ''), 10);\n if (!isUndef(state[key].hidden)) {\n hiddenCols.push(colIdx);\n }\n }\n });\n\n hiddenCols.forEach((colIdx) => {\n this.emitter.emit('hide-column', tf, colIdx);\n });\n }\n\n /**\n * Sync filters visibility with stored information\n *\n * @private\n */\n _syncFiltersVisibility() {\n if (!this.persistFiltersVisibility) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n let filtersVisibility = state[this.filtersVisKey];\n\n this.filtersVisibility = filtersVisibility;\n this.emitter.emit('show-filters', tf, filtersVisibility);\n }\n\n /**\n * Destroy State instance\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n this.state = {};\n\n this.emitter.off(['after-filtering'], () => this.update());\n this.emitter.off(['after-page-change', 'after-clearing-filters'],\n (tf, pageNb) => this.updatePage(pageNb));\n this.emitter.off(['after-page-length-change'],\n (tf, index) => this.updatePageLength(index));\n this.emitter.off(['column-sorted'],\n (tf, index, descending) => this.updateSort(index, descending));\n this.emitter.off(['sort-initialized'], () => this._syncSort());\n this.emitter.off(['columns-visibility-initialized'],\n () => this._syncColsVisibility());\n this.emitter.off(['column-shown', 'column-hidden'], (tf, feature,\n colIndex, hiddenCols) => this.updateColsVisibility(hiddenCols));\n this.emitter.off(['filters-visibility-initialized'],\n () => this._syncFiltersVisibility());\n this.emitter.off(['filters-toggled'],\n (tf, extension, visible) => this.updateFiltersVisibility(visible));\n\n if (this.enableHash) {\n this.hash.destroy();\n this.hash = null;\n }\n\n if (this.enableStorage) {\n this.storage.destroy();\n this.storage = null;\n }\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 637, + "__docId__": 638, "kind": "class", "static": true, "variation": null, @@ -13517,7 +13531,7 @@ ] }, { - "__docId__": 638, + "__docId__": 639, "kind": "constructor", "static": false, "variation": null, @@ -13542,7 +13556,7 @@ "generator": false }, { - "__docId__": 639, + "__docId__": 640, "kind": "member", "static": false, "variation": null, @@ -13562,7 +13576,7 @@ } }, { - "__docId__": 640, + "__docId__": 641, "kind": "member", "static": false, "variation": null, @@ -13582,7 +13596,7 @@ } }, { - "__docId__": 641, + "__docId__": 642, "kind": "member", "static": false, "variation": null, @@ -13602,7 +13616,7 @@ } }, { - "__docId__": 642, + "__docId__": 643, "kind": "member", "static": false, "variation": null, @@ -13622,7 +13636,7 @@ } }, { - "__docId__": 643, + "__docId__": 644, "kind": "member", "static": false, "variation": null, @@ -13642,7 +13656,7 @@ } }, { - "__docId__": 644, + "__docId__": 645, "kind": "member", "static": false, "variation": null, @@ -13662,7 +13676,7 @@ } }, { - "__docId__": 645, + "__docId__": 646, "kind": "member", "static": false, "variation": null, @@ -13682,7 +13696,7 @@ } }, { - "__docId__": 646, + "__docId__": 647, "kind": "member", "static": false, "variation": null, @@ -13702,7 +13716,7 @@ } }, { - "__docId__": 647, + "__docId__": 648, "kind": "member", "static": false, "variation": null, @@ -13722,7 +13736,7 @@ } }, { - "__docId__": 648, + "__docId__": 649, "kind": "member", "static": false, "variation": null, @@ -13742,7 +13756,7 @@ } }, { - "__docId__": 649, + "__docId__": 650, "kind": "member", "static": false, "variation": null, @@ -13762,7 +13776,7 @@ } }, { - "__docId__": 650, + "__docId__": 651, "kind": "member", "static": false, "variation": null, @@ -13782,7 +13796,7 @@ } }, { - "__docId__": 651, + "__docId__": 652, "kind": "member", "static": false, "variation": null, @@ -13802,7 +13816,7 @@ } }, { - "__docId__": 652, + "__docId__": 653, "kind": "member", "static": false, "variation": null, @@ -13822,7 +13836,7 @@ } }, { - "__docId__": 653, + "__docId__": 654, "kind": "member", "static": false, "variation": null, @@ -13842,7 +13856,7 @@ } }, { - "__docId__": 654, + "__docId__": 655, "kind": "member", "static": false, "variation": null, @@ -13862,7 +13876,7 @@ } }, { - "__docId__": 655, + "__docId__": 656, "kind": "member", "static": false, "variation": null, @@ -13882,7 +13896,7 @@ } }, { - "__docId__": 656, + "__docId__": 657, "kind": "member", "static": false, "variation": null, @@ -13902,7 +13916,7 @@ } }, { - "__docId__": 657, + "__docId__": 658, "kind": "member", "static": false, "variation": null, @@ -13922,7 +13936,7 @@ } }, { - "__docId__": 658, + "__docId__": 659, "kind": "member", "static": false, "variation": null, @@ -13942,7 +13956,7 @@ } }, { - "__docId__": 659, + "__docId__": 660, "kind": "member", "static": false, "variation": null, @@ -13962,7 +13976,7 @@ } }, { - "__docId__": 660, + "__docId__": 661, "kind": "member", "static": false, "variation": null, @@ -13982,7 +13996,7 @@ } }, { - "__docId__": 661, + "__docId__": 662, "kind": "member", "static": false, "variation": null, @@ -14002,7 +14016,7 @@ } }, { - "__docId__": 662, + "__docId__": 663, "kind": "method", "static": false, "variation": null, @@ -14016,7 +14030,7 @@ "generator": false }, { - "__docId__": 663, + "__docId__": 664, "kind": "member", "static": false, "variation": null, @@ -14034,7 +14048,7 @@ } }, { - "__docId__": 664, + "__docId__": 665, "kind": "member", "static": false, "variation": null, @@ -14052,7 +14066,7 @@ } }, { - "__docId__": 665, + "__docId__": 666, "kind": "member", "static": false, "variation": null, @@ -14075,7 +14089,7 @@ } }, { - "__docId__": 666, + "__docId__": 667, "kind": "method", "static": false, "variation": null, @@ -14089,7 +14103,7 @@ "generator": false }, { - "__docId__": 667, + "__docId__": 668, "kind": "method", "static": false, "variation": null, @@ -14114,7 +14128,7 @@ "generator": false }, { - "__docId__": 668, + "__docId__": 669, "kind": "member", "static": false, "variation": null, @@ -14132,7 +14146,7 @@ } }, { - "__docId__": 669, + "__docId__": 670, "kind": "method", "static": false, "variation": null, @@ -14157,7 +14171,7 @@ "generator": false }, { - "__docId__": 670, + "__docId__": 671, "kind": "member", "static": false, "variation": null, @@ -14175,7 +14189,7 @@ } }, { - "__docId__": 671, + "__docId__": 672, "kind": "method", "static": false, "variation": null, @@ -14210,7 +14224,7 @@ "generator": false }, { - "__docId__": 672, + "__docId__": 673, "kind": "member", "static": false, "variation": null, @@ -14228,7 +14242,7 @@ } }, { - "__docId__": 673, + "__docId__": 674, "kind": "method", "static": false, "variation": null, @@ -14253,7 +14267,7 @@ "generator": false }, { - "__docId__": 674, + "__docId__": 675, "kind": "member", "static": false, "variation": null, @@ -14271,7 +14285,7 @@ } }, { - "__docId__": 675, + "__docId__": 676, "kind": "method", "static": false, "variation": null, @@ -14296,7 +14310,7 @@ "generator": false }, { - "__docId__": 676, + "__docId__": 677, "kind": "member", "static": false, "variation": null, @@ -14314,7 +14328,7 @@ } }, { - "__docId__": 677, + "__docId__": 678, "kind": "method", "static": false, "variation": null, @@ -14339,7 +14353,7 @@ "generator": false }, { - "__docId__": 678, + "__docId__": 679, "kind": "member", "static": false, "variation": null, @@ -14357,7 +14371,7 @@ } }, { - "__docId__": 679, + "__docId__": 680, "kind": "method", "static": false, "variation": null, @@ -14371,7 +14385,7 @@ "generator": false }, { - "__docId__": 680, + "__docId__": 681, "kind": "method", "static": false, "variation": null, @@ -14396,7 +14410,7 @@ "generator": false }, { - "__docId__": 681, + "__docId__": 682, "kind": "method", "static": false, "variation": null, @@ -14410,7 +14424,7 @@ "generator": false }, { - "__docId__": 682, + "__docId__": 683, "kind": "method", "static": false, "variation": null, @@ -14424,7 +14438,7 @@ "generator": false }, { - "__docId__": 683, + "__docId__": 684, "kind": "method", "static": false, "variation": null, @@ -14438,7 +14452,7 @@ "generator": false }, { - "__docId__": 684, + "__docId__": 685, "kind": "method", "static": false, "variation": null, @@ -14452,7 +14466,7 @@ "generator": false }, { - "__docId__": 685, + "__docId__": 686, "kind": "member", "static": false, "variation": null, @@ -14470,7 +14484,7 @@ } }, { - "__docId__": 686, + "__docId__": 687, "kind": "method", "static": false, "variation": null, @@ -14484,7 +14498,7 @@ "generator": false }, { - "__docId__": 687, + "__docId__": 688, "kind": "member", "static": false, "variation": null, @@ -14502,7 +14516,7 @@ } }, { - "__docId__": 688, + "__docId__": 689, "kind": "member", "static": false, "variation": null, @@ -14520,7 +14534,7 @@ } }, { - "__docId__": 689, + "__docId__": 690, "kind": "member", "static": false, "variation": null, @@ -14538,7 +14552,7 @@ } }, { - "__docId__": 690, + "__docId__": 691, "kind": "member", "static": false, "variation": null, @@ -14556,7 +14570,7 @@ } }, { - "__docId__": 691, + "__docId__": 692, "kind": "file", "static": true, "variation": null, @@ -14569,7 +14583,7 @@ "content": "import {Feature} from '../feature';\nimport {root} from '../root';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {isFn} from '../types';\n\n/**\n * Status bar UI component\n * @export\n * @class StatusBar\n * @extends {Feature}\n */\nexport class StatusBar extends Feature {\n\n /**\n * Creates an instance of StatusBar\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'statusBar');\n\n // Configuration object\n let f = this.config;\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.targetId = f.status_bar_target_id || null;\n\n /**\n * Container DOM element\n * @type {DOMElement}\n * @private\n */\n this.container = null;\n\n /**\n * Message container DOM element\n * @type {DOMElement}\n * @private\n */\n this.msgContainer = null;\n\n /**\n * Label container DOM element\n * @type {DOMElement}\n * @private\n */\n this.labelContainer = null;\n\n /**\n * Text preceding status message\n * @type {String}\n */\n this.text = f.status_bar_text || '';\n\n /**\n * Css class for container element\n * @type {String}\n */\n this.cssClass = f.status_bar_css_class || 'status';\n\n /**\n * Message visibility duration in milliseconds\n * @type {Number}\n * @private\n */\n this.delay = 250;\n\n /**\n * Callback fired before the message is displayed\n * @type {Function}\n */\n this.onBeforeShowMsg = isFn(f.on_before_show_msg) ?\n f.on_before_show_msg : null;\n\n /**\n * Callback fired after the message is displayed\n * @type {Function}\n */\n this.onAfterShowMsg = isFn(f.on_after_show_msg) ?\n f.on_after_show_msg : null;\n\n /**\n * Message appearing upon filtering\n * @type {String}\n */\n this.msgFilter = f.msg_filter || 'Filtering data...';\n\n /**\n * Message appearing when a drop-down filter is populated\n * @type {String}\n */\n this.msgPopulate = f.msg_populate || 'Populating filter...';\n\n /**\n * Message appearing when a checklist filter is populated\n * @type {String}\n */\n this.msgPopulateCheckList = f.msg_populate_checklist ||\n 'Populating list...';\n\n /**\n * Message appearing when a pagination page is changed\n * @type {String}\n */\n this.msgChangePage = f.msg_change_page || 'Collecting paging data...';\n\n /**\n * Message appearing when filters are cleared\n * @type {String}\n */\n this.msgClear = f.msg_clear || 'Clearing filters...';\n\n /**\n * Message appearing when the page length is changed\n * @type {String}\n */\n this.msgChangeResults = f.msg_change_results ||\n 'Changing results per page...';\n\n /**\n * Message appearing when the page is re-set\n * @type {String}\n */\n this.msgResetPage = f.msg_reset_page || 'Re-setting page...';\n\n /**\n * Message appearing when the page length is re-set\n * @type {String}\n */\n this.msgResetPageLength = f.msg_reset_page_length ||\n 'Re-setting page length...';\n\n /**\n * Message appearing upon column sorting\n * @type {String}\n */\n this.msgSort = f.msg_sort || 'Sorting data...';\n\n /**\n * Message appearing when extensions are loading\n * @type {String}\n */\n this.msgLoadExtensions = f.msg_load_extensions ||\n 'Loading extensions...';\n\n /**\n * Message appearing when themes are loading\n * @type {String}\n */\n this.msgLoadThemes = f.msg_load_themes || 'Loading theme(s)...';\n\n /**\n * Prefix for container ID\n * @type {String}\n * @private\n */\n this.prfxCont = 'status_';\n\n /**\n * Prefix for label container ID\n * @type {String}\n * @private\n */\n this.prfxLabel = 'statusSpan_';\n\n /**\n * Prefix for text preceding the message\n * @type {String}\n * @private\n */\n this.prfxText = 'statusText_';\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', ['id', this.prfxCont + tf.id]);\n statusDiv.className = this.cssClass;\n\n //status bar label\n let statusSpan = createElm('span', ['id', this.prfxLabel + tf.id]);\n //preceding text\n let statusSpanText = createElm('span', ['id', this.prfxText + tf.id]);\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([\n 'after-filtering',\n 'after-populating-filter',\n 'after-page-change',\n 'after-clearing-filters',\n 'after-page-length-change',\n 'after-reset-page',\n 'after-reset-page-length',\n 'after-loading-extensions',\n 'after-loading-themes'],\n () => this.message('')\n );\n\n /**\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 if (this.onBeforeShowMsg) {\n this.onBeforeShowMsg.call(null, this.tf, t);\n }\n\n let d = t === '' ? this.delay : 1;\n root.setTimeout(() => {\n if (!this.initialized) {\n return;\n }\n this.msgContainer.innerHTML = t;\n if (this.onAfterShowMsg) {\n this.onAfterShowMsg.call(null, this.tf, t);\n }\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([\n 'after-filtering',\n 'after-populating-filter',\n 'after-page-change',\n 'after-clearing-filters',\n 'after-page-length-change',\n 'after-reset-page',\n 'after-reset-page-length',\n 'after-loading-extensions',\n 'after-loading-themes'],\n () => this.message('')\n );\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 692, + "__docId__": 693, "kind": "class", "static": true, "variation": null, @@ -14598,7 +14612,7 @@ ] }, { - "__docId__": 693, + "__docId__": 694, "kind": "constructor", "static": false, "variation": null, @@ -14623,7 +14637,7 @@ "generator": false }, { - "__docId__": 694, + "__docId__": 695, "kind": "member", "static": false, "variation": null, @@ -14643,7 +14657,7 @@ } }, { - "__docId__": 695, + "__docId__": 696, "kind": "member", "static": false, "variation": null, @@ -14663,7 +14677,7 @@ } }, { - "__docId__": 696, + "__docId__": 697, "kind": "member", "static": false, "variation": null, @@ -14683,7 +14697,7 @@ } }, { - "__docId__": 697, + "__docId__": 698, "kind": "member", "static": false, "variation": null, @@ -14703,7 +14717,7 @@ } }, { - "__docId__": 698, + "__docId__": 699, "kind": "member", "static": false, "variation": null, @@ -14723,7 +14737,7 @@ } }, { - "__docId__": 699, + "__docId__": 700, "kind": "member", "static": false, "variation": null, @@ -14743,7 +14757,7 @@ } }, { - "__docId__": 700, + "__docId__": 701, "kind": "member", "static": false, "variation": null, @@ -14763,7 +14777,7 @@ } }, { - "__docId__": 701, + "__docId__": 702, "kind": "member", "static": false, "variation": null, @@ -14783,7 +14797,7 @@ } }, { - "__docId__": 702, + "__docId__": 703, "kind": "member", "static": false, "variation": null, @@ -14803,7 +14817,7 @@ } }, { - "__docId__": 703, + "__docId__": 704, "kind": "member", "static": false, "variation": null, @@ -14823,7 +14837,7 @@ } }, { - "__docId__": 704, + "__docId__": 705, "kind": "member", "static": false, "variation": null, @@ -14843,7 +14857,7 @@ } }, { - "__docId__": 705, + "__docId__": 706, "kind": "member", "static": false, "variation": null, @@ -14863,7 +14877,7 @@ } }, { - "__docId__": 706, + "__docId__": 707, "kind": "member", "static": false, "variation": null, @@ -14883,7 +14897,7 @@ } }, { - "__docId__": 707, + "__docId__": 708, "kind": "member", "static": false, "variation": null, @@ -14903,7 +14917,7 @@ } }, { - "__docId__": 708, + "__docId__": 709, "kind": "member", "static": false, "variation": null, @@ -14923,7 +14937,7 @@ } }, { - "__docId__": 709, + "__docId__": 710, "kind": "member", "static": false, "variation": null, @@ -14943,7 +14957,7 @@ } }, { - "__docId__": 710, + "__docId__": 711, "kind": "member", "static": false, "variation": null, @@ -14963,7 +14977,7 @@ } }, { - "__docId__": 711, + "__docId__": 712, "kind": "member", "static": false, "variation": null, @@ -14983,7 +14997,7 @@ } }, { - "__docId__": 712, + "__docId__": 713, "kind": "member", "static": false, "variation": null, @@ -15003,7 +15017,7 @@ } }, { - "__docId__": 713, + "__docId__": 714, "kind": "member", "static": false, "variation": null, @@ -15023,7 +15037,7 @@ } }, { - "__docId__": 714, + "__docId__": 715, "kind": "member", "static": false, "variation": null, @@ -15043,7 +15057,7 @@ } }, { - "__docId__": 715, + "__docId__": 716, "kind": "member", "static": false, "variation": null, @@ -15063,7 +15077,7 @@ } }, { - "__docId__": 716, + "__docId__": 717, "kind": "member", "static": false, "variation": null, @@ -15083,7 +15097,7 @@ } }, { - "__docId__": 717, + "__docId__": 718, "kind": "method", "static": false, "variation": null, @@ -15097,7 +15111,7 @@ "generator": false }, { - "__docId__": 718, + "__docId__": 719, "kind": "member", "static": false, "variation": null, @@ -15115,7 +15129,7 @@ } }, { - "__docId__": 719, + "__docId__": 720, "kind": "member", "static": false, "variation": null, @@ -15133,7 +15147,7 @@ } }, { - "__docId__": 720, + "__docId__": 721, "kind": "member", "static": false, "variation": null, @@ -15151,7 +15165,7 @@ } }, { - "__docId__": 721, + "__docId__": 722, "kind": "member", "static": false, "variation": null, @@ -15174,7 +15188,7 @@ } }, { - "__docId__": 722, + "__docId__": 723, "kind": "method", "static": false, "variation": null, @@ -15201,7 +15215,7 @@ "generator": false }, { - "__docId__": 723, + "__docId__": 724, "kind": "method", "static": false, "variation": null, @@ -15215,7 +15229,7 @@ "generator": false }, { - "__docId__": 724, + "__docId__": 725, "kind": "member", "static": false, "variation": null, @@ -15233,7 +15247,7 @@ } }, { - "__docId__": 725, + "__docId__": 726, "kind": "member", "static": false, "variation": null, @@ -15251,7 +15265,7 @@ } }, { - "__docId__": 726, + "__docId__": 727, "kind": "member", "static": false, "variation": null, @@ -15269,7 +15283,7 @@ } }, { - "__docId__": 727, + "__docId__": 728, "kind": "member", "static": false, "variation": null, @@ -15287,7 +15301,7 @@ } }, { - "__docId__": 728, + "__docId__": 729, "kind": "file", "static": true, "variation": null, @@ -15300,7 +15314,7 @@ "content": "\nimport Cookie from '../cookie';\nimport {root} from '../root';\n\nconst JSON = root.JSON;\nconst localStorage = root.localStorage;\nconst location = root.location;\n\n/**\n * Checks if browser has Storage feature\n */\nexport const hasStorage = () => {\n return 'Storage' in root;\n};\n\n/**\n * Stores the features state in browser's local storage or cookie\n *\n * @export\n * @class Storage\n */\nexport class Storage {\n\n /**\n * Creates an instance of Storage\n *\n * @param {State} state Instance of State\n */\n constructor(state) {\n\n /**\n * State object\n * @type {State}\n * @private\n */\n this.state = state;\n\n /**\n * TableFilter object\n * @type {TableFilter}\n * @private\n */\n this.tf = state.tf;\n\n /**\n * Persist with local storage\n * @type {Boolean}\n * @private\n */\n this.enableLocalStorage = state.enableLocalStorage && hasStorage();\n\n /**\n * Persist with cookie\n * @type {Boolean}\n * @private\n */\n this.enableCookie = state.enableCookie && !this.enableLocalStorage;\n\n /**\n * Emitter object\n * @type {Emitter}\n * @private\n */\n this.emitter = state.emitter;\n\n /**\n * Cookie duration in hours from state object\n * @type {Number}\n * @private\n */\n this.duration = state.cookieDuration;\n }\n\n\n /**\n * Initializes the Storage object\n */\n init() {\n this.emitter.on(['state-changed'], (tf, state) => this.save(state));\n this.emitter.on(['initialized'], () => this.sync());\n }\n\n /**\n * Persists the features state on state changes\n *\n * @param {State} state Instance of State\n */\n save(state) {\n if (this.enableLocalStorage) {\n localStorage[this.getKey()] = JSON.stringify(state);\n } else {\n Cookie.write(this.getKey(), JSON.stringify(state), this.duration);\n }\n }\n\n /**\n * Turns stored string into a State JSON object\n *\n * @returns {Object} JSON object\n */\n retrieve() {\n let state = null;\n if (this.enableLocalStorage) {\n state = localStorage[this.getKey()];\n } else {\n state = Cookie.read(this.getKey());\n }\n\n if (!state) {\n return null;\n }\n return JSON.parse(state);\n }\n\n /**\n * Removes persisted state from storage\n */\n remove() {\n if (this.enableLocalStorage) {\n localStorage.removeItem(this.getKey());\n } else {\n Cookie.remove(this.getKey());\n }\n }\n\n /**\n * Applies persisted state to features\n */\n sync() {\n let state = this.retrieve();\n if (!state) {\n return;\n }\n // override current state with persisted one and sync features\n this.state.overrideAndSync(state);\n }\n\n /**\n * Returns the storage key\n *\n * @returns {String} Key\n */\n getKey() {\n return JSON.stringify({\n key: `${this.tf.prfxTf}_${this.tf.id}`,\n path: location.pathname\n });\n }\n\n /**\n * Release Storage event subscriptions and clear fields\n */\n destroy() {\n this.emitter.off(['state-changed'], (tf, state) => this.save(state));\n this.emitter.off(['initialized'], () => this.sync());\n\n this.remove();\n\n this.state = null;\n this.emitter = null;\n }\n}\n" }, { - "__docId__": 729, + "__docId__": 730, "kind": "variable", "static": true, "variation": null, @@ -15321,7 +15335,7 @@ } }, { - "__docId__": 730, + "__docId__": 731, "kind": "variable", "static": true, "variation": null, @@ -15342,7 +15356,7 @@ } }, { - "__docId__": 731, + "__docId__": 732, "kind": "variable", "static": true, "variation": null, @@ -15363,7 +15377,7 @@ } }, { - "__docId__": 732, + "__docId__": 733, "kind": "variable", "static": true, "variation": null, @@ -15383,7 +15397,7 @@ } }, { - "__docId__": 733, + "__docId__": 734, "kind": "class", "static": true, "variation": null, @@ -15409,7 +15423,7 @@ "interface": false }, { - "__docId__": 734, + "__docId__": 735, "kind": "constructor", "static": false, "variation": null, @@ -15434,7 +15448,7 @@ "generator": false }, { - "__docId__": 735, + "__docId__": 736, "kind": "member", "static": false, "variation": null, @@ -15454,7 +15468,7 @@ } }, { - "__docId__": 736, + "__docId__": 737, "kind": "member", "static": false, "variation": null, @@ -15474,7 +15488,7 @@ } }, { - "__docId__": 737, + "__docId__": 738, "kind": "member", "static": false, "variation": null, @@ -15494,7 +15508,7 @@ } }, { - "__docId__": 738, + "__docId__": 739, "kind": "member", "static": false, "variation": null, @@ -15514,7 +15528,7 @@ } }, { - "__docId__": 739, + "__docId__": 740, "kind": "member", "static": false, "variation": null, @@ -15534,7 +15548,7 @@ } }, { - "__docId__": 740, + "__docId__": 741, "kind": "member", "static": false, "variation": null, @@ -15554,7 +15568,7 @@ } }, { - "__docId__": 741, + "__docId__": 742, "kind": "method", "static": false, "variation": null, @@ -15568,7 +15582,7 @@ "generator": false }, { - "__docId__": 742, + "__docId__": 743, "kind": "method", "static": false, "variation": null, @@ -15593,7 +15607,7 @@ "generator": false }, { - "__docId__": 743, + "__docId__": 744, "kind": "method", "static": false, "variation": null, @@ -15621,7 +15635,7 @@ "generator": false }, { - "__docId__": 744, + "__docId__": 745, "kind": "method", "static": false, "variation": null, @@ -15635,7 +15649,7 @@ "generator": false }, { - "__docId__": 745, + "__docId__": 746, "kind": "method", "static": false, "variation": null, @@ -15649,7 +15663,7 @@ "generator": false }, { - "__docId__": 746, + "__docId__": 747, "kind": "method", "static": false, "variation": null, @@ -15677,7 +15691,7 @@ "generator": false }, { - "__docId__": 747, + "__docId__": 748, "kind": "method", "static": false, "variation": null, @@ -15691,7 +15705,7 @@ "generator": false }, { - "__docId__": 748, + "__docId__": 749, "kind": "member", "static": false, "variation": null, @@ -15709,7 +15723,7 @@ } }, { - "__docId__": 749, + "__docId__": 750, "kind": "member", "static": false, "variation": null, @@ -15727,7 +15741,7 @@ } }, { - "__docId__": 750, + "__docId__": 751, "kind": "file", "static": true, "variation": null, @@ -15740,7 +15754,7 @@ "content": "/**\n * Export window or global object depending on the environment\n */\nexport const root = (typeof self === 'object' && self.self === self && self) ||\n (typeof global === 'object' && global.global === global && global) ||\n this;\n" }, { - "__docId__": 751, + "__docId__": 752, "kind": "variable", "static": true, "variation": null, @@ -15760,7 +15774,7 @@ } }, { - "__docId__": 752, + "__docId__": 753, "kind": "file", "static": true, "variation": null, @@ -15773,7 +15787,7 @@ "content": "/**\n * Sorting utilities\n */\n\n/**\n * Case insensitive compare function for passed strings\n * @param {String} First string\n * @param {String} Second string\n * @return {Number} -1 if first string lower than second one\n * 0 if first string same order as second one\n * 1 if first string greater than second one\n */\nexport const ignoreCase = (a, b) => {\n let x = a.toLowerCase();\n let y = b.toLowerCase();\n return ((x < y) ? -1 : ((x > y) ? 1 : 0));\n}\n\n/**\n * Sorts passed numbers in a ascending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @param {Number} Negative, zero or positive number\n */\nexport const numSortAsc = (a, b) => (a - b);\n\n/**\n * Sorts passed numbers in a descending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @param {Number} Negative, zero or positive number\n */\nexport const numSortDesc = (a, b) => (b - a);\n" }, { - "__docId__": 753, + "__docId__": 754, "kind": "variable", "static": true, "variation": null, @@ -15823,7 +15837,7 @@ } }, { - "__docId__": 754, + "__docId__": 755, "kind": "variable", "static": true, "variation": null, @@ -15875,7 +15889,7 @@ } }, { - "__docId__": 755, + "__docId__": 756, "kind": "variable", "static": true, "variation": null, @@ -15927,7 +15941,7 @@ } }, { - "__docId__": 756, + "__docId__": 757, "kind": "file", "static": true, "variation": null, @@ -15940,7 +15954,7 @@ "content": "/**\n * String utilities\n */\n\n/**\n * Removes whitespace from both sides of passed string\n * @param {String} text\n * @return {String}\n */\nexport const trim = text => {\n if (text.trim) {\n return text.trim();\n }\n return text.replace(/^\\s*|\\s*$/g, '');\n}\n\n/**\n * Checks if passed string is empty\n * @param {String} text\n * @return {Boolean}\n */\nexport const isEmpty = (text) => trim(text) === '';\n\n/**\n * Makes regex safe string by escaping special characters from passed string\n * @param {String} text\n * @return {String} escaped string\n */\nexport const rgxEsc = text => {\n let chars = /[-\\/\\\\^$*+?.()|[\\]{}]/g;\n let escMatch = '\\\\$&';\n return String(text).replace(chars, escMatch);\n}\n\n/**\n * Returns passed string as lowercase if caseSensitive flag set false. By\n * default it returns the string with no casing changes.\n * @param {String} text\n * @return {String} string\n */\nexport const matchCase = (text, caseSensitive = false) => {\n if (!caseSensitive) {\n return text.toLowerCase();\n }\n return text;\n}\n\n/**\n * Checks if passed data contains the searched term\n * @param {String} term Searched term\n * @param {String} data Data string\n * @param {Boolean} exactMatch Exact match\n * @param {Boolean} caseSensitive Case sensitive\n * @return {Boolean}\n */\nexport const contains =\n (term, data, exactMatch = false, caseSensitive = false) => {\n // Improved by Cedric Wartel (cwl) automatic exact match for selects and\n // special characters are now filtered\n let regexp;\n let modifier = caseSensitive ? 'g' : 'gi';\n if (exactMatch) {\n regexp = new RegExp('(^\\\\s*)' + rgxEsc(term) + '(\\\\s*$)',\n modifier);\n } else {\n regexp = new RegExp(rgxEsc(term), modifier);\n }\n return regexp.test(data);\n }\n" }, { - "__docId__": 757, + "__docId__": 758, "kind": "variable", "static": true, "variation": null, @@ -15980,7 +15994,7 @@ } }, { - "__docId__": 758, + "__docId__": 759, "kind": "variable", "static": true, "variation": null, @@ -16020,7 +16034,7 @@ } }, { - "__docId__": 759, + "__docId__": 760, "kind": "variable", "static": true, "variation": null, @@ -16060,7 +16074,7 @@ } }, { - "__docId__": 760, + "__docId__": 761, "kind": "variable", "static": true, "variation": null, @@ -16100,7 +16114,7 @@ } }, { - "__docId__": 761, + "__docId__": 762, "kind": "variable", "static": true, "variation": null, @@ -16170,7 +16184,7 @@ } }, { - "__docId__": 762, + "__docId__": 763, "kind": "file", "static": true, "variation": null, @@ -16183,7 +16197,7 @@ "content": "import {addEvt, cancelEvt, stopEvt, targetEvt, keyCode} from './event';\nimport {\n addClass, createElm, createOpt, elm, getText, getFirstTextNode, hasClass,\n removeClass, removeElm, tag\n} from './dom';\nimport {contains, matchCase, rgxEsc, trim} from './string';\nimport {isEmpty as isEmptyString} from './string';\nimport {isArray, isEmpty, isFn, isNumber, isObj, isString, isUndef}\nfrom './types';\nimport {formatDate, isValidDate} from './date';\nimport {removeNbFormat} from './helpers';\n\nimport {root} from './root';\nimport {Emitter} from './emitter';\nimport {GridLayout} from './modules/gridLayout';\nimport {Loader} from './modules/loader';\nimport {HighlightKeyword} from './modules/highlightKeywords';\nimport {PopupFilter} from './modules/popupFilter';\nimport {Dropdown} from './modules/dropdown';\nimport {CheckList} from './modules/checkList';\nimport {RowsCounter} from './modules/rowsCounter';\nimport {StatusBar} from './modules/statusBar';\nimport {Paging} from './modules/paging';\nimport {ClearButton} from './modules/clearButton';\nimport {Help} from './modules/help';\nimport {AlternateRows} from './modules/alternateRows';\nimport {NoResults} from './modules/noResults';\nimport {State} from './modules/state';\n\nimport {\n INPUT, SELECT, MULTIPLE, CHECKLIST, NONE,\n ENTER_KEY, TAB_KEY, ESC_KEY, UP_ARROW_KEY, DOWN_ARROW_KEY,\n CELL_TAG, AUTO_FILTER_DELAY\n} from './const';\n\nlet doc = root.document;\n\n/**\n * Makes HTML tables filterable and a bit more :)\n *\n * @export\n * @class TableFilter\n */\nexport class TableFilter {\n\n /**\n * Creates an instance of TableFilter\n * requires `table` or `id` arguments, `row` and `configuration` optional\n * @param {DOMElement} table Table DOM element\n * @param {String} id Table id\n * @param {Number} row index indicating the 1st row\n * @param {Object} configuration object\n */\n constructor(...args) {\n /**\n * ID of current instance\n * @type {String}\n * @private\n */\n this.id = null;\n\n /**\n * Current version\n * @type {String}\n */\n this.version = '{VERSION}';\n\n /**\n * Current year\n * @type {Number}\n * @private\n */\n this.year = new Date().getFullYear();\n\n /**\n * HTML Table DOM element\n * @type {DOMElement}\n */\n this.tbl = null;\n\n /**\n * Calculated row's index from which starts filtering once filters\n * are generated\n * @type {Number}\n */\n this.refRow = null;\n\n /**\n * Index of the headers row\n * @type {Number}\n * @private\n */\n this.headersRow = null;\n\n /**\n * Configuration object\n * @type {Object}\n * @private\n */\n this.cfg = {};\n\n /**\n * Number of rows that can be filtered\n * @type {Number}\n * @private\n */\n this.nbFilterableRows = 0;\n\n /**\n * Number of cells in the reference row\n * @type {Number}\n * @private\n */\n this.nbCells = null;\n\n let startRow;\n\n // TODO: use for-of\n args.forEach((arg) => {\n if (typeof arg === 'object' && arg.nodeName === 'TABLE') {\n this.tbl = arg;\n this.id = arg.id || `tf_${new Date().getTime()}_`;\n } else if (isString(arg)) {\n this.id = arg;\n this.tbl = elm(arg);\n } else if (isNumber(arg)) {\n startRow = arg;\n } else if (isObj(arg)) {\n this.cfg = arg;\n }\n });\n\n if (!this.tbl || this.tbl.nodeName !== 'TABLE' ||\n this.getRowsNb() === 0) {\n throw new Error(`Could not instantiate TableFilter: HTML table\n DOM element not found.`);\n }\n\n // configuration object\n let f = this.cfg;\n\n /**\n * Event emitter instance\n * @type {Emitter}\n */\n this.emitter = new Emitter();\n\n //Start row et cols nb\n this.refRow = isUndef(startRow) ? 2 : (startRow + 1);\n try { this.nbCells = this.getCellsNb(this.refRow); }\n catch (e) { this.nbCells = this.getCellsNb(0); }\n\n /**\n * Base path for static assets\n * @type {String}\n */\n this.basePath = f.base_path || 'tablefilter/';\n\n /*** filters' grid properties ***/\n\n /**\n * Enable/disable filters\n * @type {Boolean}\n */\n this.fltGrid = f.grid === false ? false : true;\n\n /**\n * Enable/disable grid layout (fixed headers)\n * @type {Boolean}\n */\n this.gridLayout = Boolean(f.grid_layout);\n\n /**\n * Filters row index\n * @type {Number}\n */\n this.filtersRowIndex = isNaN(f.filters_row_index) ?\n 0 : f.filters_row_index;\n\n /**\n * Headers row index\n * @type {Number}\n */\n this.headersRow = isNaN(f.headers_row_index) ?\n (this.filtersRowIndex === 0 ? 1 : 0) : f.headers_row_index;\n\n /**\n * Define the type of cell containing a filter (td/th)\n * @type {String}\n */\n this.fltCellTag = isString(f.filters_cell_tag) ?\n f.filters_cell_tag : CELL_TAG;\n\n /**\n * List of filters IDs\n * @type {Array}\n * @private\n */\n this.fltIds = [];\n\n /**\n * List of valid rows indexes (rows visible upon filtering)\n * @type {Array}\n * @private\n */\n this.validRowsIndex = [];\n\n /**\n * Toolbar's container DOM element\n * @type {DOMElement}\n * @private\n */\n this.infDiv = null;\n\n /**\n * Left-side inner container DOM element (rows counter in toolbar)\n * @type {DOMElement}\n * @private\n */\n this.lDiv = null;\n\n /**\n * Right-side inner container DOM element (reset button,\n * page length selector in toolbar)\n * @type {DOMElement}\n * @private\n */\n this.rDiv = null;\n\n /**\n * Middle inner container DOM element (paging elements in toolbar)\n * @type {DOMElement}\n * @private\n */\n this.mDiv = null;\n\n /**\n * Css class for toolbar's container DOM element\n * @type {String}\n */\n this.infDivCssClass = f.inf_div_css_class || 'inf';\n\n /**\n * Css class for left-side inner container DOM element\n * @type {String}\n */\n this.lDivCssClass = f.left_div_css_class || 'ldiv';\n\n /**\n * Css class for right-side inner container DOM element\n * @type {String}\n */\n this.rDivCssClass = f.right_div_css_class || 'rdiv';\n\n /**\n * Css class for middle inner container DOM element\n * @type {String}\n */\n this.mDivCssClass = f.middle_div_css_class || 'mdiv';\n\n /*** filters' grid appearance ***/\n /**\n * Path for stylesheets\n * @type {String}\n */\n this.stylePath = f.style_path || this.basePath + 'style/';\n\n /**\n * Main stylesheet path\n * @type {String}\n */\n this.stylesheet = f.stylesheet || this.stylePath + 'tablefilter.css';\n\n /**\n * Main stylesheet ID\n * @type {String}\n * @private\n */\n this.stylesheetId = this.id + '_style';\n\n /**\n * Css class for the filters row\n * @type {String}\n */\n this.fltsRowCssClass = f.flts_row_css_class || 'fltrow';\n\n /**\n * Enable/disable icons (paging, reset button)\n * @type {Boolean}\n */\n this.enableIcons = f.enable_icons === false ? false : true;\n\n /**\n * Enable/disable alternating rows\n * @type {Boolean}\n */\n this.alternateRows = Boolean(f.alternate_rows);\n\n /**\n * Indicate whether columns widths are set\n * @type {Boolean}\n * @private\n */\n this.hasColWidths = isArray(f.col_widths);\n\n /**\n * Columns widths array\n * @type {Array}\n */\n this.colWidths = this.hasColWidths ? f.col_widths : [];\n\n /**\n * Css class for a filter element\n * @type {String}\n */\n this.fltCssClass = f.flt_css_class || 'flt';\n\n /**\n * Css class for multiple select filters\n * @type {String}\n */\n this.fltMultiCssClass = f.flt_multi_css_class || 'flt_multi';\n\n /**\n * Css class for small filter (when submit button is active)\n * @type {String}\n */\n this.fltSmallCssClass = f.flt_small_css_class || 'flt_s';\n\n /**\n * Css class for single filter type\n * @type {String}\n */\n this.singleFltCssClass = f.single_flt_css_class || 'single_flt';\n\n /*** filters' grid behaviours ***/\n\n /**\n * Enable/disable enter key for input type filters\n * @type {Boolean}\n */\n this.enterKey = f.enter_key === false ? false : true;\n\n /**\n * Callback fired before filtering process starts\n * @type {Function}\n */\n this.onBeforeFilter = isFn(f.on_before_filter) ?\n f.on_before_filter : null;\n\n /**\n * Callback fired after filtering process is completed\n * @type {Function}\n */\n this.onAfterFilter = isFn(f.on_after_filter) ? f.on_after_filter : null;\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 * Enable/disable linked filters filtering mode\n * @type {Boolean}\n */\n this.linkedFilters = Boolean(f.linked_filters);\n\n /**\n * Enable/disable readonly state for excluded options when\n * linked filters filtering mode is on\n * @type {Boolean}\n */\n this.disableExcludedOptions = Boolean(f.disable_excluded_options);\n\n /**\n * Active filter ID\n * @type {String}\n * @private\n */\n this.activeFilterId = null;\n\n /**\n * Enable/disable always visible rows, excluded from filtering\n * @type {Boolean}\n */\n this.hasVisibleRows = Boolean(f.rows_always_visible);\n\n /**\n * List of row indexes to be excluded from filtering\n * @type {Array}\n */\n this.visibleRows = this.hasVisibleRows ? f.rows_always_visible : [];\n\n /**\n * Enable/disable external filters generation\n * @type {Boolean}\n */\n this.isExternalFlt = Boolean(f.external_flt_grid);\n\n /**\n * List of containers IDs where external filters will be generated\n * @type {Array}\n */\n this.externalFltTgtIds = f.external_flt_grid_ids || [];\n\n /**\n * Callback fired after filters are generated\n * @type {Function}\n */\n this.onFiltersLoaded = isFn(f.on_filters_loaded) ?\n f.on_filters_loaded : null;\n\n /**\n * Enable/disable single filter filtering all columns\n * @type {Boolean}\n */\n this.singleSearchFlt = Boolean(f.single_filter);\n\n /**\n * Callback fired after a row is validated during filtering\n * @type {Function}\n */\n this.onRowValidated = isFn(f.on_row_validated) ?\n f.on_row_validated : null;\n\n /**\n * List of columns implementing custom filtering\n * @type {Array}\n */\n this.customCellDataCols = f.custom_cell_data_cols ?\n f.custom_cell_data_cols : [];\n\n /**\n * Delegate function for retrieving cell data with custom logic\n * @type {Function}\n */\n this.customCellData = isFn(f.custom_cell_data) ?\n f.custom_cell_data : null;\n\n /**\n * Global watermark text for input filter type or watermark for each\n * filter if an array is supplied\n * @type {String|Array}\n */\n this.watermark = f.watermark || '';\n\n /**\n * Indicate whether watermark is on a per column basis\n * @type {Boolean}\n * @private\n */\n this.isWatermarkArray = isArray(this.watermark);\n\n /**\n * Toolbar's custom container ID\n * @type {String}\n */\n this.toolBarTgtId = f.toolbar_target_id || null;\n\n /**\n * Indicate whether help UI component is disabled\n * @type {Boolean}\n */\n this.help = isUndef(f.help_instructions) ?\n undefined : Boolean(f.help_instructions);\n\n /**\n * Indicate whether pop-up filters UI is enabled\n * @type {Boolean}\n */\n this.popupFilters = Boolean(f.popup_filters);\n\n /**\n * Indicate whether filtered (active) columns indicator is enabled\n * @type {Boolean}\n */\n this.markActiveColumns = Boolean(f.mark_active_columns);\n\n /**\n * Css class for filtered (active) columns\n * @type {String}\n */\n this.activeColumnsCssClass = f.active_columns_css_class ||\n 'activeHeader';\n\n /**\n * Callback fired before a column is marked as filtered\n * @type {Function}\n */\n this.onBeforeActiveColumn = isFn(f.on_before_active_column) ?\n f.on_before_active_column : null;\n\n /**\n * Callback fired after a column is marked as filtered\n * @type {Function}\n */\n this.onAfterActiveColumn = isFn(f.on_after_active_column) ?\n f.on_after_active_column : null;\n\n /*** select filter's customisation and behaviours ***/\n /**\n * Text for clear option in drop-down filter types (1st option)\n * @type {String}\n */\n this.displayAllText = f.display_all_text || 'Clear';\n\n /**\n * Indicate whether empty option is enabled in drop-down filter types\n * @type {Boolean}\n */\n this.enableEmptyOption = Boolean(f.enable_empty_option);\n\n /**\n * Text for empty option in drop-down filter types\n * @type {String}\n */\n this.emptyText = f.empty_text || '(Empty)';\n\n /**\n * Indicate whether non-empty option is enabled in drop-down filter\n * types\n * @type {Boolean}\n */\n this.enableNonEmptyOption = Boolean(f.enable_non_empty_option);\n\n /**\n * Text for non-empty option in drop-down filter types\n * @type {String}\n */\n this.nonEmptyText = f.non_empty_text || '(Non empty)';\n\n /**\n * Indicate whether drop-down filter types filter the table by default\n * on change event\n * @type {Boolean}\n */\n this.onSlcChange = f.on_change === false ? false : true;\n\n /**\n * Indicate whether options in drop-down filter types are sorted in a\n * alpha-numeric manner by default\n * @type {Boolean}\n */\n this.sortSlc = f.sort_select === false ? false : true;\n\n /**\n * Indicate whether options in drop-down filter types are sorted in a\n * ascending numeric manner\n * @type {Boolean}\n * @private\n */\n this.isSortNumAsc = Boolean(f.sort_num_asc);\n\n /**\n * List of columns implementing options sorting in a ascending numeric\n * manner\n * @type {Array}\n */\n this.sortNumAsc = this.isSortNumAsc ? f.sort_num_asc : [];\n\n /**\n * Indicate whether options in drop-down filter types are sorted in a\n * descending numeric manner\n * @type {Boolean}\n * @private\n */\n this.isSortNumDesc = Boolean(f.sort_num_desc);\n\n /**\n * List of columns implementing options sorting in a descending numeric\n * manner\n * @type {Array}\n */\n this.sortNumDesc = this.isSortNumDesc ? f.sort_num_desc : [];\n\n /**\n * Indicate whether drop-down filter types are populated on demand at\n * first usage\n * @type {Boolean}\n */\n this.loadFltOnDemand = Boolean(f.load_filters_on_demand);\n\n /**\n * Indicate whether custom drop-down filter options are implemented\n * @type {Boolean}\n */\n this.hasCustomOptions = isObj(f.custom_options);\n\n /**\n * Custom options definition of a per column basis, ie:\n *\tcustom_options: {\n * cols:[0, 1],\n * texts: [\n * ['a0', 'b0', 'c0'],\n * ['a1', 'b1', 'c1']\n * ],\n * values: [\n * ['a0', 'b0', 'c0'],\n * ['a1', 'b1', 'c1']\n * ],\n * sorts: [false, true]\n * }\n *\n * @type {Object}\n */\n this.customOptions = f.custom_options;\n\n /*** Filter operators ***/\n /**\n * Regular expression operator for input filter. Defaults to 'rgx:'\n * @type {String}\n */\n this.rgxOperator = f.regexp_operator || 'rgx:';\n\n /**\n * Empty cells operator for input filter. Defaults to '[empty]'\n * @type {String}\n */\n this.emOperator = f.empty_operator || '[empty]';\n\n /**\n * Non-empty cells operator for input filter. Defaults to '[nonempty]'\n * @type {String}\n */\n this.nmOperator = f.nonempty_operator || '[nonempty]';\n\n /**\n * Logical OR operator for input filter. Defaults to '||'\n * @type {String}\n */\n this.orOperator = f.or_operator || '||';\n\n /**\n * Logical AND operator for input filter. Defaults to '&&'\n * @type {String}\n */\n this.anOperator = f.and_operator || '&&';\n\n /**\n * Greater than operator for input filter. Defaults to '>'\n * @type {String}\n */\n this.grOperator = f.greater_operator || '>';\n\n /**\n * Lower than operator for input filter. Defaults to '<'\n * @type {String}\n */\n this.lwOperator = f.lower_operator || '<';\n\n /**\n * Lower than or equal operator for input filter. Defaults to '<='\n * @type {String}\n */\n this.leOperator = f.lower_equal_operator || '<=';\n\n /**\n * Greater than or equal operator for input filter. Defaults to '>='\n * @type {String}\n */\n this.geOperator = f.greater_equal_operator || '>=';\n\n /**\n * Inequality operator for input filter. Defaults to '!'\n * @type {String}\n */\n this.dfOperator = f.different_operator || '!';\n\n /**\n * Like operator for input filter. Defaults to '!'\n * @type {String}\n */\n this.lkOperator = f.like_operator || '*';\n\n /**\n * Strict equality operator for input filter. Defaults to '='\n * @type {String}\n */\n this.eqOperator = f.equal_operator || '=';\n\n /**\n * Starts with operator for input filter. Defaults to '='\n * @type {String}\n */\n this.stOperator = f.start_with_operator || '{';\n\n /**\n * Ends with operator for input filter. Defaults to '='\n * @type {String}\n */\n this.enOperator = f.end_with_operator || '}';\n\n // this.curExp = f.cur_exp || '^[¥£€$]';\n\n /**\n * Stored values separator\n * @type {String}\n */\n this.separator = f.separator || ',';\n\n /**\n * Enable rows counter UI component\n * @type {Boolean}\n */\n this.rowsCounter = Boolean(f.rows_counter);\n\n /**\n * Enable status bar UI component\n * @type {Boolean}\n */\n this.statusBar = Boolean(f.status_bar);\n\n /**\n * Enable activity/spinner indicator UI component\n * @type {Boolean}\n */\n this.loader = Boolean(f.loader);\n\n /*** validation - reset buttons/links ***/\n /**\n * Enable filters submission button\n * @type {Boolean}\n */\n this.displayBtn = Boolean(f.btn);\n\n /**\n * Define filters submission button text\n * @type {String}\n */\n this.btnText = f.btn_text || (!this.enableIcons ? 'Go' : '');\n\n /**\n * Css class for filters submission button\n * @type {String}\n */\n this.btnCssClass = f.btn_css_class ||\n (!this.enableIcons ? 'btnflt' : 'btnflt_icon');\n\n /**\n * Enable clear button\n * @type {Boolean}\n */\n this.btnReset = Boolean(f.btn_reset);\n\n /**\n * Callback fired before filters are cleared\n * @type {Function}\n */\n this.onBeforeReset = isFn(f.on_before_reset) ?\n f.on_before_reset : null;\n\n /**\n * Callback fired after filters are cleared\n * @type {Function}\n */\n this.onAfterReset = isFn(f.on_after_reset) ? f.on_after_reset : null;\n\n /**\n * Enable paging component\n * @type {Boolean}\n */\n this.paging = Boolean(f.paging);\n\n /**\n * Number of hidden rows\n * @type {Number}\n * @private\n */\n this.nbHiddenRows = 0;\n\n /**\n * Enable auto-filter behaviour, table is filtered when a user\n * stops typing\n * @type {Boolean}\n */\n this.autoFilter = Boolean(f.auto_filter);\n\n /**\n * Auto-filter delay in msecs\n * @type {Number}\n */\n this.autoFilterDelay = !isNaN(f.auto_filter_delay) ?\n f.auto_filter_delay : AUTO_FILTER_DELAY;\n\n /**\n * Indicate whether user is typing\n * @type {Boolean}\n * @private\n */\n this.isUserTyping = null;\n\n /**\n * Auto-filter interval ID\n * @type {String}\n * @private\n */\n this.autoFilterTimer = null;\n\n /**\n * Enable keyword highlighting behaviour\n * @type {Boolean}\n */\n this.highlightKeywords = Boolean(f.highlight_keywords);\n\n /**\n * Enable no results message UI component\n * @type {Boolean}\n */\n this.noResults = isObj(f.no_results_message) ||\n Boolean(f.no_results_message);\n\n /**\n * Enable state persistence\n * @type {Boolean}\n */\n this.state = isObj(f.state) || Boolean(f.state);\n\n /*** data types ***/\n /**\n * Define default date type (DMY)\n * @type {String}\n */\n this.defaultDateType = f.default_date_type || 'DMY';\n\n /**\n * Define thousands separator ',' or '.', defaults to ','\n * @type {String}\n */\n this.thousandsSeparator = f.thousands_separator || ',';\n\n /**\n * Define decimal separator ',' or '.', defaults to '.'\n * @type {String}\n */\n this.decimalSeparator = f.decimal_separator || '.';\n\n /**\n * Determine whether table has columns with numeric formats\n * @type {Boolean}\n * @private\n */\n this.hasColNbFormat = isArray(f.col_number_format);\n\n /**\n * Define numeric format on a column basis, two possible values 'EU' and\n * 'US', ie:\n * col_number_format : [null, 'US', 'EU', null]\n * @type {Array}\n */\n this.colNbFormat = this.hasColNbFormat ? f.col_number_format : null;\n\n /**\n * Determine whether table has columns with date types\n * @type {Boolean}\n * @private\n */\n this.hasColDateType = isArray(f.col_date_type);\n\n /**\n * Define date format on a column basis, possible values 'DMY', 'MDY',\n * 'YMD', 'DDMMMYYYY', ie:\n * col_date_type : [null, 'DMY', 'MDY', 'YMD', null, 'DDMMMYYYY']\n * @type {Array}\n */\n this.colDateType = this.hasColDateType ? f.col_date_type : null;\n\n /*** ids prefixes ***/\n /**\n * Main prefix\n * @private\n */\n this.prfxTf = 'TF';\n\n /**\n * Filter's ID prefix (inputs - selects)\n * @private\n */\n this.prfxFlt = 'flt';\n\n /**\n * Button's ID prefix\n * @private\n */\n this.prfxValButton = 'btn';\n\n /**\n * Toolbar container ID prefix\n * @private\n */\n this.prfxInfDiv = 'inf_';\n\n /**\n * Toolbar left element ID prefix\n * @private\n */\n this.prfxLDiv = 'ldiv_';\n\n /**\n * Toolbar right element ID prefix\n * @private\n */\n this.prfxRDiv = 'rdiv_';\n\n /**\n * Toolbar middle element ID prefix\n * @private\n */\n this.prfxMDiv = 'mdiv_';\n\n /**\n * Responsive Css class\n * @private\n */\n this.prfxResponsive = 'resp';\n\n /*** extensions ***/\n /**\n * List of loaded extensions\n * @type {Array}\n * @private\n */\n this.extensions = f.extensions;\n\n /**\n * Determine whether extensions are loaded\n * @type {Boolean}\n * @private\n */\n this.hasExtensions = isArray(this.extensions);\n\n /*** themes ***/\n /**\n * Enable default theme\n * @type {Boolean}\n */\n this.enableDefaultTheme = Boolean(f.enable_default_theme);\n\n /**\n * Determine whether themes are enables\n * @type {Boolean}\n * @private\n */\n this.hasThemes = (this.enableDefaultTheme || isArray(f.themes));\n\n /**\n * List of themes, ie:\n * themes: [{ name: 'skyblue' }]\n * @type {Array}\n */\n this.themes = f.themes || [];\n\n /**\n * Define path to themes assets, defaults to\n * 'tablefilter/style/themes/'. Usage:\n * themes: [{ name: 'skyblue' }]\n * @type {Array}\n */\n this.themesPath = f.themes_path || this.stylePath + 'themes/';\n\n /**\n * Enable responsive layout\n * @type {Boolean}\n */\n this.responsive = Boolean(f.responsive);\n\n /**\n * Features registry\n * @private\n */\n this.Mod = {};\n\n /**\n * Extensions registry\n * @private\n */\n this.ExtRegistry = {};\n }\n\n /**\n * Initialise features and layout\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let Mod = this.Mod;\n let n = this.singleSearchFlt ? 1 : this.nbCells;\n let inpclass;\n\n //loads stylesheet if not imported\n this.import(this.stylesheetId, this.stylesheet, null, 'link');\n\n //loads theme\n if (this.hasThemes) {\n this.loadThemes();\n }\n\n // Instantiate help feature and initialise only if set true\n if (!Mod.help) {\n Mod.help = new Help(this);\n }\n if (this.help) {\n Mod.help.init();\n }\n\n if (this.state) {\n if (!Mod.state) {\n Mod.state = new State(this);\n }\n Mod.state.init();\n }\n\n if (this.gridLayout) {\n if (!Mod.gridLayout) {\n Mod.gridLayout = new GridLayout(this);\n }\n Mod.gridLayout.init();\n }\n\n if (this.loader) {\n if (!Mod.loader) {\n Mod.loader = new Loader(this);\n }\n Mod.loader.init();\n }\n\n if (this.highlightKeywords) {\n Mod.highlightKeyword = new HighlightKeyword(this);\n Mod.highlightKeyword.init();\n }\n\n if (this.popupFilters) {\n if (!Mod.popupFilter) {\n Mod.popupFilter = new PopupFilter(this);\n }\n Mod.popupFilter.init();\n }\n\n //filters grid is not generated\n if (!this.fltGrid) {\n this._initNoFilters();\n } else {\n let fltrow = this._insertFiltersRow();\n\n this.nbFilterableRows = this.getRowsNb();\n\n // Generate filters\n for (let i = 0; i < n; i++) {\n this.emitter.emit('before-filter-init', this, i);\n\n let fltcell = createElm(this.fltCellTag),\n col = this.getFilterType(i);\n\n if (this.singleSearchFlt) {\n fltcell.colSpan = this.nbCells;\n }\n if (!this.gridLayout) {\n fltrow.appendChild(fltcell);\n }\n inpclass = (i === n - 1 && this.displayBtn) ?\n this.fltSmallCssClass : this.fltCssClass;\n\n //only 1 input for single search\n if (this.singleSearchFlt) {\n col = INPUT;\n inpclass = this.singleFltCssClass;\n }\n\n //drop-down filters\n if (col === SELECT || col === MULTIPLE) {\n if (!Mod.dropdown) {\n Mod.dropdown = new Dropdown(this);\n }\n Mod.dropdown.init(i, this.isExternalFlt, fltcell);\n }\n // checklist\n else if (col === CHECKLIST) {\n if (!Mod.checkList) {\n Mod.checkList = new CheckList(this);\n }\n Mod.checkList.init(i, this.isExternalFlt, fltcell);\n } else {\n this._buildInputFilter(i, inpclass, fltcell);\n }\n\n // this adds submit button\n if (i === n - 1 && this.displayBtn) {\n this._buildSubmitButton(i, fltcell);\n }\n\n this.emitter.emit('after-filter-init', this, i);\n }\n\n this.emitter.on(['filter-focus'],\n (tf, filter) => this.setActiveFilterId(filter.id));\n\n }//if this.fltGrid\n\n /* Features */\n if (this.hasVisibleRows) {\n this.emitter.on(['after-filtering'],\n () => this.enforceVisibility());\n this.enforceVisibility();\n }\n if (this.rowsCounter) {\n Mod.rowsCounter = new RowsCounter(this);\n Mod.rowsCounter.init();\n }\n if (this.statusBar) {\n Mod.statusBar = new StatusBar(this);\n Mod.statusBar.init();\n }\n if (this.paging) {\n if (!Mod.paging) {\n Mod.paging = new Paging(this);\n Mod.paging.init();\n } else {\n Mod.paging.reset();\n }\n }\n if (this.btnReset) {\n Mod.clearButton = new ClearButton(this);\n Mod.clearButton.init();\n }\n\n if (this.hasColWidths && !this.gridLayout) {\n this.setColWidths();\n }\n if (this.alternateRows) {\n Mod.alternateRows = new AlternateRows(this);\n Mod.alternateRows.init();\n }\n if (this.noResults) {\n if (!Mod.noResults) {\n Mod.noResults = new NoResults(this);\n }\n Mod.noResults.init();\n }\n\n //TF css class is added to table\n if (!this.gridLayout) {\n addClass(this.tbl, this.prfxTf);\n if (this.responsive) {\n addClass(this.tbl, this.prfxResponsive);\n }\n }\n\n /* Loads extensions */\n if (this.hasExtensions) {\n this.initExtensions();\n }\n\n // Subscribe to events\n if (this.markActiveColumns) {\n this.emitter.on(['before-filtering'],\n () => this.clearActiveColumns());\n this.emitter.on(['cell-processed'],\n (tf, colIndex) => this.markActiveColumn(colIndex));\n }\n if (this.linkedFilters) {\n this.emitter.on(['after-filtering'], () => this.linkFilters());\n }\n\n /**\n * @inherited\n */\n this.initialized = true;\n\n if (this.onFiltersLoaded) {\n this.onFiltersLoaded.call(null, this);\n }\n this.emitter.emit('initialized', this);\n }\n\n /**\n * Detect key\n * @param {Event} evt\n */\n detectKey(evt) {\n if (!this.enterKey) {\n return;\n }\n if (evt) {\n let key = keyCode(evt);\n if (key === ENTER_KEY) {\n this.filter();\n cancelEvt(evt);\n stopEvt(evt);\n } else {\n this.isUserTyping = true;\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n }\n }\n }\n\n /**\n * Filter's keyup event: if auto-filter on, detect user is typing and filter\n * columns\n * @param {Event} evt\n */\n onKeyUp(evt) {\n if (!this.autoFilter) {\n return;\n }\n let key = keyCode(evt);\n this.isUserTyping = false;\n\n function filter() {\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n if (!this.isUserTyping) {\n this.filter();\n this.isUserTyping = null;\n }\n }\n\n if (key !== ENTER_KEY && key !== TAB_KEY && key !== ESC_KEY &&\n key !== UP_ARROW_KEY && key !== DOWN_ARROW_KEY) {\n if (this.autoFilterTimer === null) {\n this.autoFilterTimer = root.setInterval(filter.bind(this),\n this.autoFilterDelay);\n }\n } else {\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n }\n }\n\n /**\n * Filter's keydown event: if auto-filter on, detect user is typing\n */\n onKeyDown() {\n if (this.autoFilter) {\n this.isUserTyping = true;\n }\n }\n\n /**\n * Filter's focus event\n * @param {Event} evt\n */\n onInpFocus(evt) {\n let elm = targetEvt(evt);\n this.emitter.emit('filter-focus', this, elm);\n }\n\n /**\n * Filter's blur event: if auto-filter on, clear interval on filter blur\n */\n onInpBlur() {\n if (this.autoFilter) {\n this.isUserTyping = false;\n root.clearInterval(this.autoFilterTimer);\n }\n this.emitter.emit('filter-blur', this);\n }\n\n /**\n * Insert filters row at initialization\n */\n _insertFiltersRow() {\n if (this.gridLayout) {\n return;\n }\n let fltrow;\n\n let thead = tag(this.tbl, 'thead');\n if (thead.length > 0) {\n fltrow = thead[0].insertRow(this.filtersRowIndex);\n } else {\n fltrow = this.tbl.insertRow(this.filtersRowIndex);\n }\n\n fltrow.className = this.fltsRowCssClass;\n\n if (this.isExternalFlt) {\n fltrow.style.display = NONE;\n }\n\n this.emitter.emit('filters-row-inserted', this, fltrow);\n return fltrow;\n }\n\n /**\n * Initialize filtersless table\n */\n _initNoFilters() {\n if (this.fltGrid) {\n return;\n }\n this.refRow = this.refRow > 0 ? this.refRow - 1 : 0;\n this.nbFilterableRows = this.getRowsNb();\n }\n\n /**\n * Build input filter type\n * @param {Number} colIndex Column index\n * @param {String} cssClass Css class applied to filter\n * @param {DOMElement} container Container DOM element\n */\n _buildInputFilter(colIndex, cssClass, container) {\n let col = this.getFilterType(colIndex);\n let externalFltTgtId = this.isExternalFlt ?\n this.externalFltTgtIds[colIndex] : null;\n let inptype = col === INPUT ? 'text' : 'hidden';\n let inp = createElm(INPUT,\n ['id', this.prfxFlt + colIndex + '_' + this.id],\n ['type', inptype], ['ct', colIndex]);\n\n if (inptype !== 'hidden' && this.watermark) {\n inp.setAttribute('placeholder',\n this.isWatermarkArray ? (this.watermark[colIndex] || '') :\n this.watermark\n );\n }\n inp.className = cssClass || this.fltCssClass;\n addEvt(inp, 'focus', (evt) => this.onInpFocus(evt));\n\n //filter is appended in custom element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(inp);\n } else {\n container.appendChild(inp);\n }\n\n this.fltIds.push(inp.id);\n\n addEvt(inp, 'keypress', (evt) => this.detectKey(evt));\n addEvt(inp, 'keydown', () => this.onKeyDown());\n addEvt(inp, 'keyup', (evt) => this.onKeyUp(evt));\n addEvt(inp, 'blur', () => this.onInpBlur());\n }\n\n /**\n * Build submit button\n * @param {Number} colIndex Column index\n * @param {DOMElement} container Container DOM element\n */\n _buildSubmitButton(colIndex, container) {\n let externalFltTgtId = this.isExternalFlt ?\n this.externalFltTgtIds[colIndex] : null;\n let btn = createElm(INPUT,\n ['id', this.prfxValButton + colIndex + '_' + this.id],\n ['type', 'button'], ['value', this.btnText]);\n btn.className = this.btnCssClass;\n\n //filter is appended in custom element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(btn);\n } else {\n container.appendChild(btn);\n }\n\n addEvt(btn, 'click', () => this.filter());\n }\n\n /**\n * Return a feature instance for a given name\n * @param {String} name Name of the feature\n * @return {Object}\n */\n feature(name) {\n return this.Mod[name];\n }\n\n /**\n * Initialise all the extensions defined in the configuration object\n */\n initExtensions() {\n let exts = this.extensions;\n // Set config's publicPath dynamically for Webpack...\n __webpack_public_path__ = this.basePath;\n\n this.emitter.emit('before-loading-extensions', this);\n for (let i = 0, len = exts.length; i < len; i++) {\n let ext = exts[i];\n if (!this.ExtRegistry[ext.name]) {\n this.loadExtension(ext);\n }\n }\n this.emitter.emit('after-loading-extensions', this);\n }\n\n /**\n * Load an extension module\n * @param {Object} ext Extension config object\n */\n loadExtension(ext) {\n if (!ext || !ext.name) {\n return;\n }\n\n let name = ext.name;\n let path = ext.path;\n let modulePath;\n\n if (name && path) {\n modulePath = ext.path + name;\n } else {\n name = name.replace('.js', '');\n modulePath = 'extensions/{}/{}'.replace(/{}/g, name);\n }\n\n // Require pattern for Webpack\n require(['./' + modulePath], (mod) => {\n /* eslint-disable */\n let inst = new mod.default(this, ext);\n /* eslint-enable */\n inst.init();\n this.ExtRegistry[name] = inst;\n });\n }\n\n /**\n * Get an extension instance\n * @param {String} name Name of the extension\n * @return {Object} Extension instance\n */\n extension(name) {\n return this.ExtRegistry[name];\n }\n\n /**\n * Check passed extension name exists\n * @param {String} name Name of the extension\n * @return {Boolean}\n */\n hasExtension(name) {\n return !isEmpty(this.ExtRegistry[name]);\n }\n\n /**\n * Destroy all the extensions defined in the configuration object\n */\n destroyExtensions() {\n let exts = this.extensions;\n\n for (let i = 0, len = exts.length; i < len; i++) {\n let ext = exts[i];\n let extInstance = this.ExtRegistry[ext.name];\n if (extInstance) {\n extInstance.destroy();\n this.ExtRegistry[ext.name] = undefined;\n }\n }\n }\n\n /**\n * Load themes defined in the configuration object\n */\n loadThemes() {\n let themes = this.themes;\n this.emitter.emit('before-loading-themes', this);\n\n //Default theme config\n if (this.enableDefaultTheme) {\n let defaultTheme = { name: 'default' };\n this.themes.push(defaultTheme);\n }\n if (isArray(themes)) {\n for (let i = 0, len = themes.length; i < len; i++) {\n let theme = themes[i];\n let name = theme.name;\n let path = theme.path;\n let styleId = this.prfxTf + name;\n if (name && !path) {\n path = this.themesPath + name + '/' + name + '.css';\n }\n else if (!name && theme.path) {\n name = 'theme{0}'.replace('{0}', i);\n }\n\n if (!this.isImported(path, 'link')) {\n this.import(styleId, path, null, 'link');\n }\n }\n }\n\n // 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 Mod = this.Mod;\n let emitter = this.emitter;\n\n if (this.isExternalFlt && !this.popupFilters) {\n this.removeExternalFlts();\n }\n if (this.infDiv) {\n this.removeToolbar();\n }\n if (this.markActiveColumns) {\n this.clearActiveColumns();\n emitter.off(['before-filtering'], () => this.clearActiveColumns());\n emitter.off(['cell-processed'],\n (tf, colIndex) => this.markActiveColumn(colIndex));\n }\n if (this.hasExtensions) {\n this.destroyExtensions();\n }\n\n this.validateAllRows();\n\n if (this.fltGrid && !this.gridLayout) {\n this.tbl.deleteRow(this.filtersRowIndex);\n }\n\n // broadcast destroy event\n emitter.emit('destroy', this);\n\n // Destroy modules\n // TODO: subcribe modules to destroy event instead\n Object.keys(Mod).forEach(function (key) {\n let feature = Mod[key];\n if (feature && isFn(feature.destroy)) {\n feature.destroy();\n }\n });\n\n // unsubscribe to events\n if (this.hasVisibleRows) {\n emitter.off(['after-filtering'], () => this.enforceVisibility());\n }\n if (this.linkedFilters) {\n emitter.off(['after-filtering'], () => this.linkFilters());\n }\n this.emitter.off(['filter-focus'],\n (tf, filter) => this.setActiveFilterId(filter.id));\n\n removeClass(this.tbl, this.prfxTf);\n removeClass(this.tbl, this.prfxResponsive);\n\n this.nbHiddenRows = 0;\n this.validRowsIndex = [];\n this.fltIds = [];\n this.initialized = false;\n }\n\n /**\n * Generate container element for paging, reset button, rows counter etc.\n */\n setToolbar() {\n if (this.infDiv) {\n return;\n }\n\n /*** container div ***/\n let infdiv = createElm('div', ['id', this.prfxInfDiv + this.id]);\n infdiv.className = this.infDivCssClass;\n\n //custom container\n if (this.toolBarTgtId) {\n elm(this.toolBarTgtId).appendChild(infdiv);\n }\n //grid-layout\n else if (this.gridLayout) {\n let gridLayout = this.Mod.gridLayout;\n gridLayout.tblMainCont.appendChild(infdiv);\n infdiv.className = gridLayout.infDivCssClass;\n }\n //default location: just above the table\n else {\n let cont = createElm('caption');\n cont.appendChild(infdiv);\n this.tbl.insertBefore(cont, this.tbl.firstChild);\n }\n this.infDiv = elm(this.prfxInfDiv + this.id);\n\n /*** left div containing rows # displayer ***/\n let ldiv = createElm('div', ['id', this.prfxLDiv + this.id]);\n ldiv.className = this.lDivCssClass;\n infdiv.appendChild(ldiv);\n this.lDiv = elm(this.prfxLDiv + this.id);\n\n /*** right div containing reset button\n + nb results per page select ***/\n let rdiv = createElm('div', ['id', this.prfxRDiv + this.id]);\n rdiv.className = this.rDivCssClass;\n infdiv.appendChild(rdiv);\n this.rDiv = elm(this.prfxRDiv + this.id);\n\n /*** mid div containing paging elements ***/\n let mdiv = createElm('div', ['id', this.prfxMDiv + this.id]);\n mdiv.className = this.mDivCssClass;\n infdiv.appendChild(mdiv);\n this.mDiv = elm(this.prfxMDiv + this.id);\n\n // emit help initialisation only if undefined\n if (isUndef(this.help)) {\n // explicitily set enabled field to true to initialise help by\n // default, only if setting is undefined\n this.Mod.help.enabled = true;\n this.emitter.emit('init-help', this);\n }\n }\n\n /**\n * Remove toolbar container element\n */\n removeToolbar() {\n if (!this.infDiv) {\n return;\n }\n removeElm(this.infDiv);\n this.infDiv = null;\n\n let tbl = this.tbl;\n let captions = tag(tbl, 'caption');\n if (captions.length > 0) {\n [].forEach.call(captions, (elm) => tbl.removeChild(elm));\n }\n }\n\n /**\n * Remove all the external column filters\n */\n removeExternalFlts() {\n if (!this.isExternalFlt) {\n return;\n }\n let ids = this.externalFltTgtIds,\n len = ids.length;\n for (let ct = 0; ct < len; ct++) {\n let externalFltTgtId = ids[ct],\n externalFlt = elm(externalFltTgtId);\n if (externalFlt) {\n externalFlt.innerHTML = '';\n }\n }\n }\n\n /**\n * Check if given column implements a filter with custom options\n * @param {Number} colIndex Column's index\n * @return {Boolean}\n */\n isCustomOptions(colIndex) {\n return this.hasCustomOptions &&\n this.customOptions.cols.indexOf(colIndex) !== -1;\n }\n\n /**\n * Returns an array [[value0, value1 ...],[text0, text1 ...]] with the\n * custom options values and texts\n * @param {Number} colIndex Column's index\n * @return {Array}\n */\n getCustomOptions(colIndex) {\n if (isEmpty(colIndex) || !this.isCustomOptions(colIndex)) {\n return;\n }\n\n let customOptions = this.customOptions;\n let cols = customOptions.cols;\n let optTxt = [], optArray = [];\n let index = cols.indexOf(colIndex);\n let slcValues = customOptions.values[index];\n let slcTexts = customOptions.texts[index];\n let slcSort = customOptions.sorts[index];\n\n for (let r = 0, len = slcValues.length; r < len; r++) {\n optArray.push(slcValues[r]);\n if (slcTexts[r]) {\n optTxt.push(slcTexts[r]);\n } else {\n optTxt.push(slcValues[r]);\n }\n }\n if (slcSort) {\n optArray.sort();\n optTxt.sort();\n }\n return [optArray, optTxt];\n }\n\n /**\n * Filter the table by retrieving the data from each cell in every single\n * row and comparing it to the search term for current column. A row is\n * hidden when all the search terms are not found in inspected row.\n */\n filter() {\n if (!this.fltGrid || !this.initialized) {\n return;\n }\n //invoke onbefore callback\n if (this.onBeforeFilter) {\n this.onBeforeFilter.call(null, this);\n }\n this.emitter.emit('before-filtering', this);\n\n let row = this.tbl.rows,\n nbRows = this.getRowsNb(true),\n hiddenRows = 0;\n\n this.validRowsIndex = [];\n // search args re-init\n let searchArgs = this.getFiltersValue();\n\n let numCellData;\n let nbFormat;\n let re_le = new RegExp(this.leOperator),\n re_ge = new RegExp(this.geOperator),\n re_l = new RegExp(this.lwOperator),\n re_g = new RegExp(this.grOperator),\n re_d = new RegExp(this.dfOperator),\n re_lk = new RegExp(rgxEsc(this.lkOperator)),\n re_eq = new RegExp(this.eqOperator),\n re_st = new RegExp(this.stOperator),\n re_en = new RegExp(this.enOperator),\n // re_an = new RegExp(this.anOperator),\n // re_cr = new RegExp(this.curExp),\n re_em = this.emOperator,\n re_nm = this.nmOperator,\n re_re = new RegExp(rgxEsc(this.rgxOperator));\n\n //keyword highlighting\n function highlight(str, ok, cell) {\n /*jshint validthis:true */\n if (this.highlightKeywords && ok) {\n str = str.replace(re_lk, '');\n str = str.replace(re_eq, '');\n str = str.replace(re_st, '');\n str = str.replace(re_en, '');\n let w = str;\n if (re_le.test(str) || re_ge.test(str) || re_l.test(str) ||\n re_g.test(str) || re_d.test(str)) {\n w = getText(cell);\n }\n if (w !== '') {\n this.emitter.emit('highlight-keyword', this, cell, w);\n }\n }\n }\n\n //looks for search argument in current row\n function hasArg(sA, cellData, j) {\n sA = matchCase(sA, this.caseSensitive);\n\n let occurence;\n let dtType = this.hasColDateType ?\n this.colDateType[j] : this.defaultDateType;\n\n //Search arg operator tests\n let hasLO = re_l.test(sA),\n hasLE = re_le.test(sA),\n hasGR = re_g.test(sA),\n hasGE = re_ge.test(sA),\n hasDF = re_d.test(sA),\n hasEQ = re_eq.test(sA),\n hasLK = re_lk.test(sA),\n // hasAN = re_an.test(sA),\n hasST = re_st.test(sA),\n hasEN = re_en.test(sA),\n hasEM = (re_em === sA),\n hasNM = (re_nm === sA),\n hasRE = re_re.test(sA);\n\n //Search arg dates tests\n let isLDate = hasLO && isValidDate(sA.replace(re_l, ''), dtType);\n let isLEDate = hasLE && isValidDate(sA.replace(re_le, ''), dtType);\n let isGDate = hasGR && isValidDate(sA.replace(re_g, ''), dtType);\n let isGEDate = hasGE && isValidDate(sA.replace(re_ge, ''), dtType);\n let isDFDate = hasDF && isValidDate(sA.replace(re_d, ''), dtType);\n let isEQDate = hasEQ && isValidDate(sA.replace(re_eq, ''), dtType);\n\n let dte1, dte2;\n //dates\n if (isValidDate(cellData, dtType)) {\n dte1 = formatDate(cellData, dtType);\n // lower date\n if (isLDate) {\n dte2 = formatDate(sA.replace(re_l, ''), dtType);\n occurence = dte1 < dte2;\n }\n // lower equal date\n else if (isLEDate) {\n dte2 = formatDate(sA.replace(re_le, ''), dtType);\n occurence = dte1 <= dte2;\n }\n // greater equal date\n else if (isGEDate) {\n dte2 = formatDate(sA.replace(re_ge, ''), dtType);\n occurence = dte1 >= dte2;\n }\n // greater date\n else if (isGDate) {\n dte2 = formatDate(sA.replace(re_g, ''), dtType);\n occurence = dte1 > dte2;\n }\n // different date\n else if (isDFDate) {\n dte2 = formatDate(sA.replace(re_d, ''), dtType);\n occurence = dte1.toString() !== dte2.toString();\n }\n // equal date\n else if (isEQDate) {\n dte2 = formatDate(sA.replace(re_eq, ''), dtType);\n occurence = dte1.toString() === dte2.toString();\n }\n // searched keyword with * operator doesn't have to be a date\n else if (re_lk.test(sA)) {// like date\n occurence = contains(sA.replace(re_lk, ''), cellData,\n false, this.caseSensitive);\n }\n else if (isValidDate(sA, dtType)) {\n dte2 = formatDate(sA, dtType);\n occurence = dte1.toString() === dte2.toString();\n }\n //empty\n else if (hasEM) {\n occurence = isEmptyString(cellData);\n }\n //non-empty\n else if (hasNM) {\n occurence = !isEmptyString(cellData);\n } else {\n occurence = contains(sA, cellData, this.isExactMatch(j),\n this.caseSensitive);\n }\n }\n\n else {\n //first numbers need to be formated\n if (this.hasColNbFormat && this.colNbFormat[j]) {\n numCellData = removeNbFormat(cellData, this.colNbFormat[j]);\n nbFormat = this.colNbFormat[j];\n } else {\n if (this.thousandsSeparator === ',' &&\n this.decimalSeparator === '.') {\n numCellData = removeNbFormat(cellData, 'us');\n nbFormat = 'us';\n } else {\n numCellData = removeNbFormat(cellData, 'eu');\n nbFormat = 'eu';\n }\n }\n\n // first checks if there is any operator (<,>,<=,>=,!,*,=,{,},\n // rgx:)\n // lower equal\n if (hasLE) {\n occurence = numCellData <= removeNbFormat(\n sA.replace(re_le, ''), nbFormat);\n }\n //greater equal\n else if (hasGE) {\n occurence = numCellData >= removeNbFormat(\n sA.replace(re_ge, ''), nbFormat);\n }\n //lower\n else if (hasLO) {\n occurence = numCellData < removeNbFormat(\n sA.replace(re_l, ''), nbFormat);\n }\n //greater\n else if (hasGR) {\n occurence = numCellData > removeNbFormat(\n sA.replace(re_g, ''), nbFormat);\n }\n //different\n else if (hasDF) {\n occurence = contains(sA.replace(re_d, ''), cellData,\n false, this.caseSensitive) ? false : true;\n }\n //like\n else if (hasLK) {\n occurence = contains(sA.replace(re_lk, ''), cellData,\n false, this.caseSensitive);\n }\n //equal\n else if (hasEQ) {\n occurence = contains(sA.replace(re_eq, ''), cellData,\n true, this.caseSensitive);\n }\n //starts with\n else if (hasST) {\n occurence = cellData.indexOf(sA.replace(re_st, '')) === 0 ?\n true : false;\n }\n //ends with\n else if (hasEN) {\n let searchArg = sA.replace(re_en, '');\n occurence =\n cellData.lastIndexOf(searchArg, cellData.length - 1) ===\n (cellData.length - 1) - (searchArg.length - 1) &&\n cellData.lastIndexOf(searchArg, cellData.length - 1)\n > -1 ? true : false;\n }\n //empty\n else if (hasEM) {\n occurence = isEmptyString(cellData);\n }\n //non-empty\n else if (hasNM) {\n occurence = !isEmptyString(cellData);\n }\n //regexp\n else if (hasRE) {\n //in case regexp fires an exception\n try {\n //operator is removed\n let srchArg = sA.replace(re_re, '');\n let rgx = new RegExp(srchArg);\n occurence = rgx.test(cellData);\n } catch (ex) {\n occurence = false;\n }\n } else {\n // If numeric type data, perform a strict equality test and\n // fallback to unformatted number string comparison\n if (numCellData && this.hasColNbFormat &&\n this.colNbFormat[j] && !this.singleSearchFlt) {\n // removeNbFormat can return 0 for strings which are not\n // formatted numbers, in that case return the original\n // string. TODO: handle this in removeNbFormat\n sA = removeNbFormat(sA, nbFormat) || sA;\n occurence = numCellData === sA ||\n contains(sA.toString(), numCellData.toString(),\n this.isExactMatch(j), this.caseSensitive);\n } else {\n // Finally test search term is contained in cell data\n occurence = contains(sA, cellData, this.isExactMatch(j),\n this.caseSensitive);\n }\n }\n\n }//else\n return occurence;\n }//fn\n\n for (let k = this.refRow; k < nbRows; k++) {\n // already filtered rows display re-init\n row[k].style.display = '';\n\n let cells = row[k].cells;\n let nchilds = cells.length;\n\n // checks if row has exact cell #\n if (nchilds !== this.nbCells) {\n continue;\n }\n\n let occurence = [],\n isRowValid = true,\n //only for single filter search\n singleFltRowValid = false;\n\n // this loop retrieves cell data\n for (let j = 0; j < nchilds; j++) {\n //searched keyword\n let sA = searchArgs[this.singleSearchFlt ? 0 : j];\n\n if (sA === '') {\n continue;\n }\n\n let cellData = matchCase(this.getCellData(cells[j]),\n this.caseSensitive);\n\n //multiple search parameter operator ||\n let sAOrSplit = sA.toString().split(this.orOperator),\n //multiple search || parameter boolean\n hasMultiOrSA = sAOrSplit.length > 1,\n //multiple search parameter operator &&\n sAAndSplit = sA.toString().split(this.anOperator),\n //multiple search && parameter boolean\n hasMultiAndSA = sAAndSplit.length > 1;\n\n //detect operators or array query\n if (isArray(sA) || hasMultiOrSA || hasMultiAndSA) {\n let cS,\n s,\n occur = false;\n if (isArray(sA)) {\n s = sA;\n } else {\n s = hasMultiOrSA ? sAOrSplit : sAAndSplit;\n }\n // TODO: improve clarity/readability of this block\n for (let w = 0, len = s.length; w < len; w++) {\n cS = trim(s[w]);\n occur = hasArg.call(this, cS, cellData, j);\n highlight.call(this, cS, occur, cells[j]);\n if ((hasMultiOrSA && occur) ||\n (hasMultiAndSA && !occur)) {\n break;\n }\n if (isArray(sA) && occur) {\n break;\n }\n }\n occurence[j] = occur;\n\n }\n //single search parameter\n else {\n occurence[j] = hasArg.call(this, trim(sA), cellData, j);\n highlight.call(this, sA, occurence[j], cells[j]);\n }//else single param\n\n if (!occurence[j]) {\n isRowValid = false;\n }\n if (this.singleSearchFlt && occurence[j]) {\n singleFltRowValid = true;\n }\n\n this.emitter.emit('cell-processed', this, j, cells[j]);\n }//for j\n\n if (this.singleSearchFlt && singleFltRowValid) {\n isRowValid = true;\n }\n\n if (!isRowValid) {\n this.validateRow(k, false);\n hiddenRows++;\n } else {\n this.validateRow(k, true);\n }\n\n this.emitter.emit('row-processed', this, k,\n this.validRowsIndex.length, isRowValid);\n }// for k\n\n this.nbHiddenRows = hiddenRows;\n\n //invokes onafterfilter callback\n if (this.onAfterFilter) {\n this.onAfterFilter.call(null, this);\n }\n\n this.emitter.emit('after-filtering', this, searchArgs);\n }\n\n /**\n * Return the data of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} includeHeaders Optional: include headers row\n * @param {Boolean} num Optional: return unformatted number\n * @param {Array} exclude Optional: list of row indexes to be excluded\n * @return {Array} Flat list of data for a column\n */\n getColValues(colIndex, includeHeaders = false, num = false, exclude = []) {\n if (!this.fltGrid) {\n return;\n }\n let row = this.tbl.rows;\n let nbRows = this.getRowsNb(true);\n let colValues = [];\n\n if (includeHeaders) {\n colValues.push(this.getHeadersText()[colIndex]);\n }\n\n for (let i = this.refRow; i < nbRows; i++) {\n let isExludedRow = false;\n // checks if current row index appears in exclude array\n if (exclude.length > 0) {\n isExludedRow = exclude.indexOf(i) !== -1;\n }\n let cell = row[i].cells,\n nchilds = cell.length;\n\n // checks if row has exact cell # and is not excluded\n if (nchilds === this.nbCells && !isExludedRow) {\n // this loop retrieves cell data\n for (let j = 0; j < nchilds; j++) {\n if (j !== colIndex || row[i].style.display !== '') {\n continue;\n }\n let cellData = this.getCellData(cell[j]),\n nbFormat = this.colNbFormat ?\n this.colNbFormat[colIndex] : undefined,\n data = num ? removeNbFormat(cellData, nbFormat) :\n cellData;\n colValues.push(data);\n }\n }\n }\n return colValues;\n }\n\n /**\n * Return the filter's value of a specified column\n * @param {Number} index Column index\n * @return {String} Filter value\n */\n getFilterValue(index) {\n if (!this.fltGrid) {\n return;\n }\n let fltValue = '';\n let flt = this.getFilterElement(index);\n if (!flt) {\n return fltValue;\n }\n\n let fltColType = this.getFilterType(index);\n if (fltColType !== MULTIPLE && fltColType !== CHECKLIST) {\n fltValue = flt.value;\n }\n //mutiple select\n else if (fltColType === MULTIPLE) {\n fltValue = this.feature('dropdown').getValues(index);\n }\n //checklist\n else if (fltColType === CHECKLIST) {\n fltValue = this.feature('checkList').getValues(index);\n }\n //return an empty string if collection is empty or contains a single\n //empty string\n if (isArray(fltValue) && fltValue.length === 0 ||\n (fltValue.length === 1 && fltValue[0] === '')) {\n fltValue = '';\n }\n\n return fltValue;\n }\n\n /**\n * Return the filters' values\n * @return {Array} List of filters' values\n */\n getFiltersValue() {\n if (!this.fltGrid) {\n return;\n }\n let searchArgs = [];\n for (let i = 0, len = this.fltIds.length; i < len; i++) {\n let fltValue = this.getFilterValue(i);\n if (isArray(fltValue)) {\n searchArgs.push(fltValue);\n } else {\n searchArgs.push(trim(fltValue));\n }\n }\n return searchArgs;\n }\n\n /**\n * Return the ID of a specified column's filter\n * @param {Number} index Column's index\n * @return {String} ID of the filter element\n */\n getFilterId(index) {\n if (!this.fltGrid) {\n return;\n }\n return this.fltIds[index];\n }\n\n /**\n * Return the list of ids of filters matching a specified type.\n * Note: hidden filters are also returned\n *\n * @param {String} type Filter type string ('input', 'select', 'multiple',\n * 'checklist')\n * @param {Boolean} bool If true returns columns indexes instead of IDs\n * @return {[type]} List of element IDs or column indexes\n */\n getFiltersByType(type, bool) {\n if (!this.fltGrid) {\n return;\n }\n let arr = [];\n for (let i = 0, len = this.fltIds.length; i < len; i++) {\n let fltType = this.getFilterType(i);\n if (fltType === type.toLowerCase()) {\n let a = bool ? i : this.fltIds[i];\n arr.push(a);\n }\n }\n return arr;\n }\n\n /**\n * Return the filter's DOM element for a given column\n * @param {Number} index Column's index\n * @return {DOMElement}\n */\n getFilterElement(index) {\n let fltId = this.fltIds[index];\n return elm(fltId);\n }\n\n /**\n * Return the number of cells for a given row index\n * @param {Number} rowIndex Index of the row\n * @return {Number} Number of cells\n */\n getCellsNb(rowIndex = 0) {\n let tr = this.tbl.rows[rowIndex];\n return tr.cells.length;\n }\n\n /**\n * Return the number of filterable rows starting from reference row if\n * defined\n * @param {Boolean} includeHeaders Include the headers row\n * @return {Number} Number of filterable rows\n */\n getRowsNb(includeHeaders) {\n let s = isUndef(this.refRow) ? 0 : this.refRow;\n let ntrs = this.tbl.rows.length;\n if (includeHeaders) {\n s = 0;\n }\n return parseInt(ntrs - s, 10);\n }\n\n /**\n * Return the data of a given cell\n * @param {DOMElement} cell Cell's DOM object\n * @return {String}\n */\n getCellData(cell) {\n let idx = cell.cellIndex;\n //Check for customCellData callback\n if (this.customCellData &&\n this.customCellDataCols.indexOf(idx) !== -1) {\n return this.customCellData.call(null, this, cell, idx);\n } else {\n return getText(cell);\n }\n }\n\n /**\n * Return the table data with following format:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} includeHeaders Optional: include headers row\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n */\n getTableData(includeHeaders = false, excludeHiddenCols = false) {\n let rows = this.tbl.rows;\n let nbRows = this.getRowsNb(true);\n let tblData = [];\n if (includeHeaders) {\n let headers = this.getHeadersText(excludeHiddenCols);\n tblData.push([this.getHeadersRowIndex(), headers]);\n }\n for (let k = this.refRow; k < nbRows; k++) {\n let rowData = [k, []];\n let cells = rows[k].cells;\n for (let j = 0, len = cells.length; j < len; j++) {\n if (excludeHiddenCols && this.hasExtension('colsVisibility')) {\n if (this.extension('colsVisibility').isColHidden(j)) {\n continue;\n }\n }\n let cellData = this.getCellData(cells[j]);\n rowData[1].push(cellData);\n }\n tblData.push(rowData);\n }\n return tblData;\n }\n\n /**\n * Return the filtered data with following format:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} includeHeaders Optional: include headers row\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n */\n getFilteredData(includeHeaders = false, excludeHiddenCols = false) {\n if (!this.validRowsIndex) {\n return [];\n }\n let rows = this.tbl.rows,\n filteredData = [];\n if (includeHeaders) {\n let headers = this.getHeadersText(excludeHiddenCols);\n filteredData.push([this.getHeadersRowIndex(), headers]);\n }\n\n let validRows = this.getValidRows(true);\n for (let i = 0; i < validRows.length; i++) {\n let rData = [this.validRowsIndex[i], []],\n cells = rows[this.validRowsIndex[i]].cells;\n for (let k = 0; k < cells.length; k++) {\n if (excludeHiddenCols && this.hasExtension('colsVisibility')) {\n if (this.extension('colsVisibility').isColHidden(k)) {\n continue;\n }\n }\n let cellData = this.getCellData(cells[k]);\n rData[1].push(cellData);\n }\n filteredData.push(rData);\n }\n return filteredData;\n }\n\n /**\n * Return the filtered data for a given column index\n * @param {Number} colIndex Colmun's index\n * @param {Boolean} includeHeaders Optional: include headers row\n * @return {Array} Flat list of values ['val0','val1','val2'...]\n *\n * TODO: provide an API returning data in JSON format\n */\n getFilteredDataCol(colIndex, includeHeaders = false) {\n if (isUndef(colIndex)) {\n return [];\n }\n let data = this.getFilteredData(),\n colData = [];\n if (includeHeaders) {\n colData.push(this.getHeadersText()[colIndex]);\n }\n for (let i = 0, len = data.length; i < len; i++) {\n let r = data[i],\n //cols values of current row\n d = r[1],\n //data of searched column\n c = d[colIndex];\n colData.push(c);\n }\n return colData;\n }\n\n /**\n * Get the display value of a row\n * @param {HTMLTableRowElement} row DOM element of the row\n * @return {String} Usually 'none' or ''\n */\n getRowDisplay(row) {\n return row.style.display;\n }\n\n /**\n * Validate/invalidate row by setting the 'validRow' attribute on the row\n * @param {Number} rowIndex Index of the row\n * @param {Boolean} isValid\n */\n validateRow(rowIndex, isValid) {\n let row = this.tbl.rows[rowIndex];\n if (!row || typeof isValid !== 'boolean') {\n return;\n }\n\n // always visible rows are valid\n if (this.hasVisibleRows && this.visibleRows.indexOf(rowIndex) !== -1) {\n isValid = true;\n }\n\n let displayFlag = isValid ? '' : NONE,\n validFlag = isValid ? 'true' : 'false';\n row.style.display = displayFlag;\n\n if (this.paging) {\n row.setAttribute('validRow', validFlag);\n }\n\n if (isValid) {\n if (this.validRowsIndex.indexOf(rowIndex) === -1) {\n this.validRowsIndex.push(rowIndex);\n }\n\n if (this.onRowValidated) {\n this.onRowValidated.call(null, this, rowIndex);\n }\n\n this.emitter.emit('row-validated', this, rowIndex);\n }\n }\n\n /**\n * Validate all filterable rows\n */\n validateAllRows() {\n if (!this.initialized) {\n return;\n }\n this.validRowsIndex = [];\n for (let k = this.refRow; k < this.nbFilterableRows; k++) {\n this.validateRow(k, true);\n }\n }\n\n /**\n * Set search value to a given filter\n * @param {Number} index Column's index\n * @param {String or Array} query searcharg Search term\n */\n setFilterValue(index, query = '') {\n if (!this.fltGrid) {\n return;\n }\n let slc = this.getFilterElement(index),\n fltColType = this.getFilterType(index);\n\n if (fltColType !== MULTIPLE && fltColType !== CHECKLIST) {\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-select-filter', this, index,\n this.linkedFilters, this.isExternalFlt);\n }\n slc.value = query;\n }\n //multiple selects\n else if (fltColType === MULTIPLE) {\n let values = isArray(query) ? query :\n query.split(' ' + this.orOperator + ' ');\n\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-select-filter', this, index,\n this.linkedFilters, this.isExternalFlt);\n }\n\n this.emitter.emit('select-options', this, index, values);\n }\n //checklist\n else if (fltColType === CHECKLIST) {\n let values = [];\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-checklist-filter', this, index,\n this.isExternalFlt);\n }\n if (isArray(query)) {\n values = query;\n } else {\n query = matchCase(query, this.caseSensitive);\n values = query.split(' ' + this.orOperator + ' ');\n }\n\n this.emitter.emit('select-checklist-options', this, index, values);\n }\n }\n\n /**\n * Set them columns' widths as per configuration\n * @param {Element} tbl DOM element\n */\n setColWidths(tbl) {\n if (!this.hasColWidths) {\n return;\n }\n tbl = tbl || this.tbl;\n\n let nbCols = this.nbCells;\n let colWidths = this.colWidths;\n let colTags = tag(tbl, 'col');\n let tblHasColTag = colTags.length > 0;\n let frag = !tblHasColTag ? doc.createDocumentFragment() : null;\n for (let k = 0; k < nbCols; k++) {\n let col;\n if (tblHasColTag) {\n col = colTags[k];\n } else {\n col = createElm('col', ['id', this.id + '_col_' + k]);\n frag.appendChild(col);\n }\n col.style.width = colWidths[k];\n }\n if (!tblHasColTag) {\n tbl.insertBefore(frag, tbl.firstChild);\n }\n }\n\n /**\n * Makes defined rows always visible\n */\n enforceVisibility() {\n if (!this.hasVisibleRows) {\n return;\n }\n let nbRows = this.getRowsNb(true);\n for (let i = 0, len = this.visibleRows.length; i < len; i++) {\n let row = this.visibleRows[i];\n //row index cannot be > nrows\n if (row <= nbRows) {\n this.validateRow(row, true);\n }\n }\n }\n\n /**\n * Clear all the filters' values\n */\n clearFilters() {\n if (!this.fltGrid) {\n return;\n }\n\n this.emitter.emit('before-clearing-filters', this);\n\n if (this.onBeforeReset) {\n this.onBeforeReset.call(null, this, this.getFiltersValue());\n }\n for (let i = 0, len = this.fltIds.length; i < len; i++) {\n this.setFilterValue(i, '');\n }\n\n this.filter();\n\n if (this.onAfterReset) {\n this.onAfterReset.call(null, this);\n }\n this.emitter.emit('after-clearing-filters', this);\n }\n\n /**\n * Clears filtered columns visual indicator (background color)\n */\n clearActiveColumns() {\n for (let i = 0, len = this.getCellsNb(this.headersRow); i < len; i++) {\n removeClass(this.getHeaderElement(i), this.activeColumnsCssClass);\n }\n }\n\n /**\n * Mark currently filtered column\n * @param {Number} colIndex Column index\n */\n markActiveColumn(colIndex) {\n let header = this.getHeaderElement(colIndex);\n if (hasClass(header, this.activeColumnsCssClass)) {\n return;\n }\n if (this.onBeforeActiveColumn) {\n this.onBeforeActiveColumn.call(null, this, colIndex);\n }\n addClass(header, this.activeColumnsCssClass);\n if (this.onAfterActiveColumn) {\n this.onAfterActiveColumn.call(null, this, colIndex);\n }\n }\n\n /**\n * Return the ID of the current active filter\n * @returns {String}\n */\n getActiveFilterId() {\n return this.activeFilterId;\n }\n\n /**\n * Set the ID of the current active filter\n * @param {String} filterId Element ID\n */\n setActiveFilterId(filterId) {\n this.activeFilterId = filterId;\n }\n\n /**\n * Return the column index for a given filter ID\n * @param {string} [filterId=''] Filter ID\n * @returns {Number} Column index\n */\n getColumnIndexFromFilterId(filterId = '') {\n let idx = filterId.split('_')[0];\n idx = idx.split(this.prfxFlt)[1];\n return parseInt(idx, 10);\n }\n\n /**\n * Make specified column's filter active\n * @param colIndex Index of a column\n */\n activateFilter(colIndex) {\n if (isUndef(colIndex)) {\n return;\n }\n this.setActiveFilterId(this.getFilterId(colIndex));\n }\n\n /**\n * Refresh the filters subject to linking ('select', 'multiple',\n * 'checklist' type)\n */\n linkFilters() {\n if (!this.linkedFilters || !this.activeFilterId) {\n return;\n }\n let slcA1 = this.getFiltersByType(SELECT, true),\n slcA2 = this.getFiltersByType(MULTIPLE, true),\n slcA3 = this.getFiltersByType(CHECKLIST, true),\n slcIndex = slcA1.concat(slcA2);\n slcIndex = slcIndex.concat(slcA3);\n\n let activeIdx = this.getColumnIndexFromFilterId(this.activeFilterId);\n\n for (let i = 0, len = slcIndex.length; i < len; i++) {\n let curSlc = elm(this.fltIds[slcIndex[i]]);\n let slcSelectedValue = this.getFilterValue(slcIndex[i]);\n\n // Welcome to cyclomatic complexity hell :)\n // TODO: simplify/refactor if statement\n if (activeIdx !== slcIndex[i] ||\n (this.paging && slcA1.indexOf(slcIndex[i]) !== -1 &&\n activeIdx === slcIndex[i]) ||\n (!this.paging && (slcA3.indexOf(slcIndex[i]) !== -1 ||\n slcA2.indexOf(slcIndex[i]) !== -1)) ||\n slcSelectedValue === this.displayAllText) {\n\n //1st option needs to be inserted\n if (this.loadFltOnDemand) {\n let opt0 = createOpt(this.displayAllText, '');\n curSlc.innerHTML = '';\n curSlc.appendChild(opt0);\n }\n\n if (slcA3.indexOf(slcIndex[i]) !== -1) {\n this.emitter.emit('build-checklist-filter', this,\n slcIndex[i]);\n } else {\n this.emitter.emit('build-select-filter', this, slcIndex[i],\n true);\n }\n\n this.setFilterValue(slcIndex[i], slcSelectedValue);\n }\n }\n }\n\n /**\n * Determines if passed filter column implements exact query match\n * @param {Number} colIndex [description]\n * @return {Boolean} [description]\n */\n isExactMatch(colIndex) {\n let fltType = this.getFilterType(colIndex);\n return this.exactMatchByCol[colIndex] || this.exactMatch ||\n fltType !== INPUT;\n }\n\n /**\n * Check if passed script or stylesheet is already imported\n * @param {String} filePath Ressource path\n * @param {String} type Possible values: 'script' or 'link'\n * @return {Boolean}\n */\n isImported(filePath, type = 'script') {\n let imported = false,\n attr = type === 'script' ? 'src' : 'href',\n files = tag(doc, type);\n for (let i = 0, len = files.length; i < len; i++) {\n if (isUndef(files[i][attr])) {\n continue;\n }\n if (files[i][attr].match(filePath)) {\n imported = true;\n break;\n }\n }\n return imported;\n }\n\n /**\n * Import script or stylesheet\n * @param {String} fileId Ressource ID\n * @param {String} filePath Ressource path\n * @param {Function} callback Callback\n * @param {String} type Possible values: 'script' or 'link'\n */\n import(fileId, filePath, callback, type = 'script') {\n if (this.isImported(filePath, type)) {\n return;\n }\n let o = this,\n isLoaded = false,\n file,\n head = tag(doc, 'head')[0];\n\n if (type.toLowerCase() === 'link') {\n file = createElm('link',\n ['id', fileId], ['type', 'text/css'],\n ['rel', 'stylesheet'], ['href', filePath]\n );\n } else {\n file = createElm('script',\n ['id', fileId],\n ['type', 'text/javascript'], ['src', filePath]\n );\n }\n\n //Browser <> IE onload event works only for scripts, not for stylesheets\n file.onload = file.onreadystatechange = () => {\n if (!isLoaded &&\n (!this.readyState || this.readyState === 'loaded' ||\n this.readyState === 'complete')) {\n isLoaded = true;\n if (typeof callback === 'function') {\n callback.call(null, o);\n }\n }\n };\n file.onerror = function () {\n throw new Error(`TableFilter could not load: ${filePath}`);\n };\n head.appendChild(file);\n }\n\n /**\n * Check if table has filters grid\n * @return {Boolean}\n */\n isInitialized() {\n return this.initialized;\n }\n\n /**\n * Get list of filter IDs\n * @return {[type]} [description]\n */\n getFiltersId() {\n return this.fltIds || [];\n }\n\n /**\n * Get filtered (valid) rows indexes\n * @param {Boolean} reCalc Force calculation of filtered rows list\n * @return {Array} List of row indexes\n */\n getValidRows(reCalc) {\n if (!reCalc) {\n return this.validRowsIndex;\n }\n\n let nbRows = this.getRowsNb(true);\n this.validRowsIndex = [];\n for (let k = this.refRow; k < nbRows; k++) {\n let r = this.tbl.rows[k];\n if (!this.paging) {\n if (this.getRowDisplay(r) !== NONE) {\n this.validRowsIndex.push(r.rowIndex);\n }\n } else {\n if (r.getAttribute('validRow') === 'true' ||\n r.getAttribute('validRow') === null) {\n this.validRowsIndex.push(r.rowIndex);\n }\n }\n }\n return this.validRowsIndex;\n }\n\n /**\n * Get the index of the row containing the filters\n * @return {Number}\n */\n getFiltersRowIndex() {\n return this.filtersRowIndex;\n }\n\n /**\n * Get the index of the headers row\n * @return {Number}\n */\n getHeadersRowIndex() {\n return this.headersRow;\n }\n\n /**\n * Get the row index from where the filtering process start (1st filterable\n * row)\n * @return {Number}\n */\n getStartRowIndex() {\n return this.refRow;\n }\n\n /**\n * Get the index of the last row\n * @return {Number}\n */\n getLastRowIndex() {\n let nbRows = this.getRowsNb(true);\n return (nbRows - 1);\n }\n\n /**\n * Get the header DOM element for a given column index\n * @param {Number} colIndex Column index\n * @return {Element}\n */\n getHeaderElement(colIndex) {\n let table = this.gridLayout ? this.Mod.gridLayout.headTbl : this.tbl;\n let tHead = tag(table, 'thead');\n let headersRow = this.headersRow;\n let header;\n for (let i = 0; i < this.nbCells; i++) {\n if (i !== colIndex) {\n continue;\n }\n if (tHead.length === 0) {\n header = table.rows[headersRow].cells[i];\n }\n if (tHead.length === 1) {\n header = tHead[0].rows[headersRow].cells[i];\n }\n break;\n }\n return header;\n }\n\n /**\n * Return the list of headers' text\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array} list of headers' text\n */\n getHeadersText(excludeHiddenCols = false) {\n let headers = [];\n for (let j = 0; j < this.nbCells; j++) {\n if (excludeHiddenCols && this.hasExtension('colsVisibility')) {\n if (this.extension('colsVisibility').isColHidden(j)) {\n continue;\n }\n }\n let header = this.getHeaderElement(j);\n let headerText = getFirstTextNode(header);\n headers.push(headerText);\n }\n return headers;\n }\n\n /**\n * Return the filter type for a specified column\n * @param {Number} colIndex Column's index\n * @return {String}\n */\n getFilterType(colIndex) {\n let colType = this.cfg['col_' + colIndex];\n return !colType ? INPUT : colType.toLowerCase();\n }\n\n /**\n * Get the total number of filterable rows\n * @return {Number}\n */\n getFilterableRowsNb() {\n return this.getRowsNb(false);\n }\n\n /**\n * Return the total number of valid rows\n * @param {Boolean} [reCalc=false] Forces calculation of filtered rows\n * @returns {Number}\n */\n getValidRowsNb(reCalc = false) {\n return this.getValidRows(reCalc).length;\n }\n\n /**\n * Get the configuration object (literal object)\n * @return {Object}\n */\n config() {\n return this.cfg;\n }\n}\n" }, { - "__docId__": 763, + "__docId__": 764, "kind": "variable", "static": true, "variation": null, @@ -16204,7 +16218,7 @@ } }, { - "__docId__": 764, + "__docId__": 765, "kind": "class", "static": true, "variation": null, @@ -16230,7 +16244,7 @@ "interface": false }, { - "__docId__": 765, + "__docId__": 766, "kind": "constructor", "static": false, "variation": null, @@ -16285,7 +16299,7 @@ "generator": false }, { - "__docId__": 766, + "__docId__": 767, "kind": "member", "static": false, "variation": null, @@ -16305,7 +16319,7 @@ } }, { - "__docId__": 767, + "__docId__": 768, "kind": "member", "static": false, "variation": null, @@ -16325,7 +16339,7 @@ } }, { - "__docId__": 768, + "__docId__": 769, "kind": "member", "static": false, "variation": null, @@ -16345,7 +16359,7 @@ } }, { - "__docId__": 769, + "__docId__": 770, "kind": "member", "static": false, "variation": null, @@ -16365,7 +16379,7 @@ } }, { - "__docId__": 770, + "__docId__": 771, "kind": "member", "static": false, "variation": null, @@ -16385,7 +16399,7 @@ } }, { - "__docId__": 771, + "__docId__": 772, "kind": "member", "static": false, "variation": null, @@ -16405,7 +16419,7 @@ } }, { - "__docId__": 772, + "__docId__": 773, "kind": "member", "static": false, "variation": null, @@ -16425,7 +16439,7 @@ } }, { - "__docId__": 773, + "__docId__": 774, "kind": "member", "static": false, "variation": null, @@ -16445,7 +16459,7 @@ } }, { - "__docId__": 774, + "__docId__": 775, "kind": "member", "static": false, "variation": null, @@ -16465,7 +16479,7 @@ } }, { - "__docId__": 775, + "__docId__": 776, "kind": "member", "static": false, "variation": null, @@ -16483,7 +16497,7 @@ } }, { - "__docId__": 776, + "__docId__": 777, "kind": "member", "static": false, "variation": null, @@ -16501,7 +16515,7 @@ } }, { - "__docId__": 777, + "__docId__": 778, "kind": "member", "static": false, "variation": null, @@ -16519,7 +16533,7 @@ } }, { - "__docId__": 778, + "__docId__": 779, "kind": "member", "static": false, "variation": null, @@ -16537,7 +16551,7 @@ } }, { - "__docId__": 779, + "__docId__": 780, "kind": "member", "static": false, "variation": null, @@ -16555,7 +16569,7 @@ } }, { - "__docId__": 780, + "__docId__": 781, "kind": "member", "static": false, "variation": null, @@ -16575,7 +16589,7 @@ } }, { - "__docId__": 781, + "__docId__": 782, "kind": "member", "static": false, "variation": null, @@ -16593,7 +16607,7 @@ } }, { - "__docId__": 782, + "__docId__": 783, "kind": "member", "static": false, "variation": null, @@ -16611,7 +16625,7 @@ } }, { - "__docId__": 783, + "__docId__": 784, "kind": "member", "static": false, "variation": null, @@ -16629,7 +16643,7 @@ } }, { - "__docId__": 784, + "__docId__": 785, "kind": "member", "static": false, "variation": null, @@ -16649,7 +16663,7 @@ } }, { - "__docId__": 785, + "__docId__": 786, "kind": "member", "static": false, "variation": null, @@ -16669,7 +16683,7 @@ } }, { - "__docId__": 786, + "__docId__": 787, "kind": "member", "static": false, "variation": null, @@ -16689,7 +16703,7 @@ } }, { - "__docId__": 787, + "__docId__": 788, "kind": "member", "static": false, "variation": null, @@ -16709,7 +16723,7 @@ } }, { - "__docId__": 788, + "__docId__": 789, "kind": "member", "static": false, "variation": null, @@ -16729,7 +16743,7 @@ } }, { - "__docId__": 789, + "__docId__": 790, "kind": "member", "static": false, "variation": null, @@ -16749,7 +16763,7 @@ } }, { - "__docId__": 790, + "__docId__": 791, "kind": "member", "static": false, "variation": null, @@ -16769,7 +16783,7 @@ } }, { - "__docId__": 791, + "__docId__": 792, "kind": "member", "static": false, "variation": null, @@ -16789,7 +16803,7 @@ } }, { - "__docId__": 792, + "__docId__": 793, "kind": "member", "static": false, "variation": null, @@ -16809,7 +16823,7 @@ } }, { - "__docId__": 793, + "__docId__": 794, "kind": "member", "static": false, "variation": null, @@ -16829,7 +16843,7 @@ } }, { - "__docId__": 794, + "__docId__": 795, "kind": "member", "static": false, "variation": null, @@ -16849,7 +16863,7 @@ } }, { - "__docId__": 795, + "__docId__": 796, "kind": "member", "static": false, "variation": null, @@ -16869,7 +16883,7 @@ } }, { - "__docId__": 796, + "__docId__": 797, "kind": "member", "static": false, "variation": null, @@ -16889,7 +16903,7 @@ } }, { - "__docId__": 797, + "__docId__": 798, "kind": "member", "static": false, "variation": null, @@ -16909,7 +16923,7 @@ } }, { - "__docId__": 798, + "__docId__": 799, "kind": "member", "static": false, "variation": null, @@ -16929,7 +16943,7 @@ } }, { - "__docId__": 799, + "__docId__": 800, "kind": "member", "static": false, "variation": null, @@ -16949,7 +16963,7 @@ } }, { - "__docId__": 800, + "__docId__": 801, "kind": "member", "static": false, "variation": null, @@ -16969,7 +16983,7 @@ } }, { - "__docId__": 801, + "__docId__": 802, "kind": "member", "static": false, "variation": null, @@ -16989,7 +17003,7 @@ } }, { - "__docId__": 802, + "__docId__": 803, "kind": "member", "static": false, "variation": null, @@ -17009,7 +17023,7 @@ } }, { - "__docId__": 803, + "__docId__": 804, "kind": "member", "static": false, "variation": null, @@ -17029,7 +17043,7 @@ } }, { - "__docId__": 804, + "__docId__": 805, "kind": "member", "static": false, "variation": null, @@ -17049,7 +17063,7 @@ } }, { - "__docId__": 805, + "__docId__": 806, "kind": "member", "static": false, "variation": null, @@ -17069,7 +17083,7 @@ } }, { - "__docId__": 806, + "__docId__": 807, "kind": "member", "static": false, "variation": null, @@ -17089,7 +17103,7 @@ } }, { - "__docId__": 807, + "__docId__": 808, "kind": "member", "static": false, "variation": null, @@ -17109,7 +17123,7 @@ } }, { - "__docId__": 808, + "__docId__": 809, "kind": "member", "static": false, "variation": null, @@ -17129,7 +17143,7 @@ } }, { - "__docId__": 809, + "__docId__": 810, "kind": "member", "static": false, "variation": null, @@ -17149,7 +17163,7 @@ } }, { - "__docId__": 810, + "__docId__": 811, "kind": "member", "static": false, "variation": null, @@ -17169,7 +17183,7 @@ } }, { - "__docId__": 811, + "__docId__": 812, "kind": "member", "static": false, "variation": null, @@ -17189,7 +17203,7 @@ } }, { - "__docId__": 812, + "__docId__": 813, "kind": "member", "static": false, "variation": null, @@ -17209,7 +17223,7 @@ } }, { - "__docId__": 813, + "__docId__": 814, "kind": "member", "static": false, "variation": null, @@ -17229,7 +17243,7 @@ } }, { - "__docId__": 814, + "__docId__": 815, "kind": "member", "static": false, "variation": null, @@ -17249,7 +17263,7 @@ } }, { - "__docId__": 815, + "__docId__": 816, "kind": "member", "static": false, "variation": null, @@ -17269,7 +17283,7 @@ } }, { - "__docId__": 816, + "__docId__": 817, "kind": "member", "static": false, "variation": null, @@ -17289,7 +17303,7 @@ } }, { - "__docId__": 817, + "__docId__": 818, "kind": "member", "static": false, "variation": null, @@ -17309,7 +17323,7 @@ } }, { - "__docId__": 818, + "__docId__": 819, "kind": "member", "static": false, "variation": null, @@ -17329,7 +17343,7 @@ } }, { - "__docId__": 819, + "__docId__": 820, "kind": "member", "static": false, "variation": null, @@ -17349,7 +17363,7 @@ } }, { - "__docId__": 820, + "__docId__": 821, "kind": "member", "static": false, "variation": null, @@ -17369,7 +17383,7 @@ } }, { - "__docId__": 821, + "__docId__": 822, "kind": "member", "static": false, "variation": null, @@ -17389,7 +17403,7 @@ } }, { - "__docId__": 822, + "__docId__": 823, "kind": "member", "static": false, "variation": null, @@ -17409,7 +17423,7 @@ } }, { - "__docId__": 823, + "__docId__": 824, "kind": "member", "static": false, "variation": null, @@ -17429,7 +17443,7 @@ } }, { - "__docId__": 824, + "__docId__": 825, "kind": "member", "static": false, "variation": null, @@ -17449,7 +17463,7 @@ } }, { - "__docId__": 825, + "__docId__": 826, "kind": "member", "static": false, "variation": null, @@ -17469,7 +17483,7 @@ } }, { - "__docId__": 826, + "__docId__": 827, "kind": "member", "static": false, "variation": null, @@ -17489,7 +17503,7 @@ } }, { - "__docId__": 827, + "__docId__": 828, "kind": "member", "static": false, "variation": null, @@ -17509,7 +17523,7 @@ } }, { - "__docId__": 828, + "__docId__": 829, "kind": "member", "static": false, "variation": null, @@ -17529,7 +17543,7 @@ } }, { - "__docId__": 829, + "__docId__": 830, "kind": "member", "static": false, "variation": null, @@ -17549,7 +17563,7 @@ } }, { - "__docId__": 830, + "__docId__": 831, "kind": "member", "static": false, "variation": null, @@ -17569,7 +17583,7 @@ } }, { - "__docId__": 831, + "__docId__": 832, "kind": "member", "static": false, "variation": null, @@ -17590,7 +17604,7 @@ } }, { - "__docId__": 832, + "__docId__": 833, "kind": "member", "static": false, "variation": null, @@ -17610,7 +17624,7 @@ } }, { - "__docId__": 833, + "__docId__": 834, "kind": "member", "static": false, "variation": null, @@ -17630,7 +17644,7 @@ } }, { - "__docId__": 834, + "__docId__": 835, "kind": "member", "static": false, "variation": null, @@ -17650,7 +17664,7 @@ } }, { - "__docId__": 835, + "__docId__": 836, "kind": "member", "static": false, "variation": null, @@ -17670,7 +17684,7 @@ } }, { - "__docId__": 836, + "__docId__": 837, "kind": "member", "static": false, "variation": null, @@ -17690,7 +17704,7 @@ } }, { - "__docId__": 837, + "__docId__": 838, "kind": "member", "static": false, "variation": null, @@ -17710,7 +17724,7 @@ } }, { - "__docId__": 838, + "__docId__": 839, "kind": "member", "static": false, "variation": null, @@ -17730,7 +17744,7 @@ } }, { - "__docId__": 839, + "__docId__": 840, "kind": "member", "static": false, "variation": null, @@ -17750,7 +17764,7 @@ } }, { - "__docId__": 840, + "__docId__": 841, "kind": "member", "static": false, "variation": null, @@ -17770,7 +17784,7 @@ } }, { - "__docId__": 841, + "__docId__": 842, "kind": "member", "static": false, "variation": null, @@ -17790,7 +17804,7 @@ } }, { - "__docId__": 842, + "__docId__": 843, "kind": "member", "static": false, "variation": null, @@ -17810,7 +17824,7 @@ } }, { - "__docId__": 843, + "__docId__": 844, "kind": "member", "static": false, "variation": null, @@ -17830,7 +17844,7 @@ } }, { - "__docId__": 844, + "__docId__": 845, "kind": "member", "static": false, "variation": null, @@ -17850,7 +17864,7 @@ } }, { - "__docId__": 845, + "__docId__": 846, "kind": "member", "static": false, "variation": null, @@ -17870,7 +17884,7 @@ } }, { - "__docId__": 846, + "__docId__": 847, "kind": "member", "static": false, "variation": null, @@ -17890,7 +17904,7 @@ } }, { - "__docId__": 847, + "__docId__": 848, "kind": "member", "static": false, "variation": null, @@ -17910,7 +17924,7 @@ } }, { - "__docId__": 848, + "__docId__": 849, "kind": "member", "static": false, "variation": null, @@ -17930,7 +17944,7 @@ } }, { - "__docId__": 849, + "__docId__": 850, "kind": "member", "static": false, "variation": null, @@ -17950,7 +17964,7 @@ } }, { - "__docId__": 850, + "__docId__": 851, "kind": "member", "static": false, "variation": null, @@ -17970,7 +17984,7 @@ } }, { - "__docId__": 851, + "__docId__": 852, "kind": "member", "static": false, "variation": null, @@ -17990,7 +18004,7 @@ } }, { - "__docId__": 852, + "__docId__": 853, "kind": "member", "static": false, "variation": null, @@ -18010,7 +18024,7 @@ } }, { - "__docId__": 853, + "__docId__": 854, "kind": "member", "static": false, "variation": null, @@ -18030,7 +18044,7 @@ } }, { - "__docId__": 854, + "__docId__": 855, "kind": "member", "static": false, "variation": null, @@ -18050,7 +18064,7 @@ } }, { - "__docId__": 855, + "__docId__": 856, "kind": "member", "static": false, "variation": null, @@ -18070,7 +18084,7 @@ } }, { - "__docId__": 856, + "__docId__": 857, "kind": "member", "static": false, "variation": null, @@ -18090,7 +18104,7 @@ } }, { - "__docId__": 857, + "__docId__": 858, "kind": "member", "static": false, "variation": null, @@ -18110,7 +18124,7 @@ } }, { - "__docId__": 858, + "__docId__": 859, "kind": "member", "static": false, "variation": null, @@ -18130,7 +18144,7 @@ } }, { - "__docId__": 859, + "__docId__": 860, "kind": "member", "static": false, "variation": null, @@ -18150,7 +18164,7 @@ } }, { - "__docId__": 860, + "__docId__": 861, "kind": "member", "static": false, "variation": null, @@ -18170,7 +18184,7 @@ } }, { - "__docId__": 861, + "__docId__": 862, "kind": "member", "static": false, "variation": null, @@ -18190,7 +18204,7 @@ } }, { - "__docId__": 862, + "__docId__": 863, "kind": "member", "static": false, "variation": null, @@ -18210,7 +18224,7 @@ } }, { - "__docId__": 863, + "__docId__": 864, "kind": "member", "static": false, "variation": null, @@ -18230,7 +18244,7 @@ } }, { - "__docId__": 864, + "__docId__": 865, "kind": "member", "static": false, "variation": null, @@ -18250,7 +18264,7 @@ } }, { - "__docId__": 865, + "__docId__": 866, "kind": "member", "static": false, "variation": null, @@ -18270,7 +18284,7 @@ } }, { - "__docId__": 866, + "__docId__": 867, "kind": "member", "static": false, "variation": null, @@ -18290,7 +18304,7 @@ } }, { - "__docId__": 867, + "__docId__": 868, "kind": "member", "static": false, "variation": null, @@ -18310,7 +18324,7 @@ } }, { - "__docId__": 868, + "__docId__": 869, "kind": "member", "static": false, "variation": null, @@ -18330,7 +18344,7 @@ } }, { - "__docId__": 869, + "__docId__": 870, "kind": "member", "static": false, "variation": null, @@ -18350,7 +18364,7 @@ } }, { - "__docId__": 870, + "__docId__": 871, "kind": "member", "static": false, "variation": null, @@ -18370,7 +18384,7 @@ } }, { - "__docId__": 871, + "__docId__": 872, "kind": "member", "static": false, "variation": null, @@ -18390,7 +18404,7 @@ } }, { - "__docId__": 872, + "__docId__": 873, "kind": "member", "static": false, "variation": null, @@ -18410,7 +18424,7 @@ } }, { - "__docId__": 873, + "__docId__": 874, "kind": "member", "static": false, "variation": null, @@ -18430,7 +18444,7 @@ } }, { - "__docId__": 874, + "__docId__": 875, "kind": "member", "static": false, "variation": null, @@ -18450,7 +18464,7 @@ } }, { - "__docId__": 875, + "__docId__": 876, "kind": "member", "static": false, "variation": null, @@ -18470,7 +18484,7 @@ } }, { - "__docId__": 876, + "__docId__": 877, "kind": "member", "static": false, "variation": null, @@ -18490,7 +18504,7 @@ } }, { - "__docId__": 877, + "__docId__": 878, "kind": "member", "static": false, "variation": null, @@ -18510,7 +18524,7 @@ } }, { - "__docId__": 878, + "__docId__": 879, "kind": "member", "static": false, "variation": null, @@ -18530,7 +18544,7 @@ } }, { - "__docId__": 879, + "__docId__": 880, "kind": "member", "static": false, "variation": null, @@ -18550,7 +18564,7 @@ } }, { - "__docId__": 880, + "__docId__": 881, "kind": "member", "static": false, "variation": null, @@ -18570,7 +18584,7 @@ } }, { - "__docId__": 881, + "__docId__": 882, "kind": "member", "static": false, "variation": null, @@ -18590,7 +18604,7 @@ } }, { - "__docId__": 882, + "__docId__": 883, "kind": "member", "static": false, "variation": null, @@ -18610,7 +18624,7 @@ } }, { - "__docId__": 883, + "__docId__": 884, "kind": "member", "static": false, "variation": null, @@ -18630,7 +18644,7 @@ } }, { - "__docId__": 884, + "__docId__": 885, "kind": "member", "static": false, "variation": null, @@ -18650,7 +18664,7 @@ } }, { - "__docId__": 885, + "__docId__": 886, "kind": "member", "static": false, "variation": null, @@ -18670,7 +18684,7 @@ } }, { - "__docId__": 886, + "__docId__": 887, "kind": "member", "static": false, "variation": null, @@ -18690,7 +18704,7 @@ } }, { - "__docId__": 887, + "__docId__": 888, "kind": "member", "static": false, "variation": null, @@ -18710,7 +18724,7 @@ } }, { - "__docId__": 888, + "__docId__": 889, "kind": "member", "static": false, "variation": null, @@ -18730,7 +18744,7 @@ } }, { - "__docId__": 889, + "__docId__": 890, "kind": "member", "static": false, "variation": null, @@ -18750,7 +18764,7 @@ } }, { - "__docId__": 890, + "__docId__": 891, "kind": "member", "static": false, "variation": null, @@ -18770,7 +18784,7 @@ } }, { - "__docId__": 891, + "__docId__": 892, "kind": "member", "static": false, "variation": null, @@ -18790,7 +18804,7 @@ } }, { - "__docId__": 892, + "__docId__": 893, "kind": "member", "static": false, "variation": null, @@ -18810,7 +18824,7 @@ } }, { - "__docId__": 893, + "__docId__": 894, "kind": "member", "static": false, "variation": null, @@ -18830,7 +18844,7 @@ } }, { - "__docId__": 894, + "__docId__": 895, "kind": "member", "static": false, "variation": null, @@ -18847,7 +18861,7 @@ } }, { - "__docId__": 895, + "__docId__": 896, "kind": "member", "static": false, "variation": null, @@ -18864,7 +18878,7 @@ } }, { - "__docId__": 896, + "__docId__": 897, "kind": "member", "static": false, "variation": null, @@ -18881,7 +18895,7 @@ } }, { - "__docId__": 897, + "__docId__": 898, "kind": "member", "static": false, "variation": null, @@ -18898,7 +18912,7 @@ } }, { - "__docId__": 898, + "__docId__": 899, "kind": "member", "static": false, "variation": null, @@ -18915,7 +18929,7 @@ } }, { - "__docId__": 899, + "__docId__": 900, "kind": "member", "static": false, "variation": null, @@ -18932,7 +18946,7 @@ } }, { - "__docId__": 900, + "__docId__": 901, "kind": "member", "static": false, "variation": null, @@ -18949,7 +18963,7 @@ } }, { - "__docId__": 901, + "__docId__": 902, "kind": "member", "static": false, "variation": null, @@ -18966,7 +18980,7 @@ } }, { - "__docId__": 902, + "__docId__": 903, "kind": "member", "static": false, "variation": null, @@ -18986,7 +19000,7 @@ } }, { - "__docId__": 903, + "__docId__": 904, "kind": "member", "static": false, "variation": null, @@ -19006,7 +19020,7 @@ } }, { - "__docId__": 904, + "__docId__": 905, "kind": "member", "static": false, "variation": null, @@ -19026,7 +19040,7 @@ } }, { - "__docId__": 905, + "__docId__": 906, "kind": "member", "static": false, "variation": null, @@ -19046,7 +19060,7 @@ } }, { - "__docId__": 906, + "__docId__": 907, "kind": "member", "static": false, "variation": null, @@ -19066,7 +19080,7 @@ } }, { - "__docId__": 907, + "__docId__": 908, "kind": "member", "static": false, "variation": null, @@ -19086,7 +19100,7 @@ } }, { - "__docId__": 908, + "__docId__": 909, "kind": "member", "static": false, "variation": null, @@ -19106,7 +19120,7 @@ } }, { - "__docId__": 909, + "__docId__": 910, "kind": "member", "static": false, "variation": null, @@ -19123,7 +19137,7 @@ } }, { - "__docId__": 910, + "__docId__": 911, "kind": "member", "static": false, "variation": null, @@ -19140,7 +19154,7 @@ } }, { - "__docId__": 911, + "__docId__": 912, "kind": "method", "static": false, "variation": null, @@ -19154,7 +19168,7 @@ "generator": false }, { - "__docId__": 912, + "__docId__": 913, "kind": "member", "static": false, "variation": null, @@ -19172,7 +19186,7 @@ } }, { - "__docId__": 913, + "__docId__": 914, "kind": "member", "static": false, "variation": null, @@ -19195,7 +19209,7 @@ } }, { - "__docId__": 914, + "__docId__": 915, "kind": "method", "static": false, "variation": null, @@ -19220,7 +19234,7 @@ "generator": false }, { - "__docId__": 915, + "__docId__": 916, "kind": "member", "static": false, "variation": null, @@ -19238,7 +19252,7 @@ } }, { - "__docId__": 916, + "__docId__": 917, "kind": "member", "static": false, "variation": null, @@ -19256,7 +19270,7 @@ } }, { - "__docId__": 917, + "__docId__": 918, "kind": "method", "static": false, "variation": null, @@ -19281,7 +19295,7 @@ "generator": false }, { - "__docId__": 918, + "__docId__": 919, "kind": "member", "static": false, "variation": null, @@ -19299,7 +19313,7 @@ } }, { - "__docId__": 919, + "__docId__": 920, "kind": "member", "static": false, "variation": null, @@ -19317,7 +19331,7 @@ } }, { - "__docId__": 920, + "__docId__": 921, "kind": "member", "static": false, "variation": null, @@ -19335,7 +19349,7 @@ } }, { - "__docId__": 921, + "__docId__": 922, "kind": "member", "static": false, "variation": null, @@ -19353,7 +19367,7 @@ } }, { - "__docId__": 922, + "__docId__": 923, "kind": "member", "static": false, "variation": null, @@ -19371,7 +19385,7 @@ } }, { - "__docId__": 923, + "__docId__": 924, "kind": "method", "static": false, "variation": null, @@ -19385,7 +19399,7 @@ "generator": false }, { - "__docId__": 924, + "__docId__": 925, "kind": "member", "static": false, "variation": null, @@ -19403,7 +19417,7 @@ } }, { - "__docId__": 925, + "__docId__": 926, "kind": "method", "static": false, "variation": null, @@ -19428,7 +19442,7 @@ "generator": false }, { - "__docId__": 926, + "__docId__": 927, "kind": "method", "static": false, "variation": null, @@ -19442,7 +19456,7 @@ "generator": false }, { - "__docId__": 927, + "__docId__": 928, "kind": "member", "static": false, "variation": null, @@ -19460,7 +19474,7 @@ } }, { - "__docId__": 928, + "__docId__": 929, "kind": "method", "static": false, "variation": null, @@ -19479,7 +19493,7 @@ "generator": false }, { - "__docId__": 929, + "__docId__": 930, "kind": "method", "static": false, "variation": null, @@ -19493,7 +19507,7 @@ "generator": false }, { - "__docId__": 930, + "__docId__": 931, "kind": "member", "static": false, "variation": null, @@ -19511,7 +19525,7 @@ } }, { - "__docId__": 931, + "__docId__": 932, "kind": "member", "static": false, "variation": null, @@ -19529,7 +19543,7 @@ } }, { - "__docId__": 932, + "__docId__": 933, "kind": "method", "static": false, "variation": null, @@ -19574,7 +19588,7 @@ "generator": false }, { - "__docId__": 933, + "__docId__": 934, "kind": "method", "static": false, "variation": null, @@ -19609,7 +19623,7 @@ "generator": false }, { - "__docId__": 934, + "__docId__": 935, "kind": "method", "static": false, "variation": null, @@ -19642,7 +19656,7 @@ "generator": false }, { - "__docId__": 935, + "__docId__": 936, "kind": "method", "static": false, "variation": null, @@ -19656,7 +19670,7 @@ "generator": false }, { - "__docId__": 936, + "__docId__": 937, "kind": "method", "static": false, "variation": null, @@ -19681,7 +19695,7 @@ "generator": false }, { - "__docId__": 937, + "__docId__": 938, "kind": "method", "static": false, "variation": null, @@ -19714,7 +19728,7 @@ "generator": false }, { - "__docId__": 938, + "__docId__": 939, "kind": "method", "static": false, "variation": null, @@ -19747,7 +19761,7 @@ "generator": false }, { - "__docId__": 939, + "__docId__": 940, "kind": "method", "static": false, "variation": null, @@ -19761,7 +19775,7 @@ "generator": false }, { - "__docId__": 940, + "__docId__": 941, "kind": "method", "static": false, "variation": null, @@ -19775,7 +19789,7 @@ "generator": false }, { - "__docId__": 941, + "__docId__": 942, "kind": "member", "static": false, "variation": null, @@ -19793,7 +19807,7 @@ } }, { - "__docId__": 942, + "__docId__": 943, "kind": "method", "static": false, "variation": null, @@ -19825,7 +19839,7 @@ "generator": false }, { - "__docId__": 943, + "__docId__": 944, "kind": "method", "static": false, "variation": null, @@ -19839,7 +19853,7 @@ "generator": false }, { - "__docId__": 944, + "__docId__": 945, "kind": "member", "static": false, "variation": null, @@ -19857,7 +19871,7 @@ } }, { - "__docId__": 945, + "__docId__": 946, "kind": "member", "static": false, "variation": null, @@ -19875,7 +19889,7 @@ } }, { - "__docId__": 946, + "__docId__": 947, "kind": "member", "static": false, "variation": null, @@ -19893,7 +19907,7 @@ } }, { - "__docId__": 947, + "__docId__": 948, "kind": "member", "static": false, "variation": null, @@ -19911,7 +19925,7 @@ } }, { - "__docId__": 948, + "__docId__": 949, "kind": "method", "static": false, "variation": null, @@ -19925,7 +19939,7 @@ "generator": false }, { - "__docId__": 949, + "__docId__": 950, "kind": "member", "static": false, "variation": null, @@ -19943,7 +19957,7 @@ } }, { - "__docId__": 950, + "__docId__": 951, "kind": "member", "static": false, "variation": null, @@ -19961,7 +19975,7 @@ } }, { - "__docId__": 951, + "__docId__": 952, "kind": "member", "static": false, "variation": null, @@ -19979,7 +19993,7 @@ } }, { - "__docId__": 952, + "__docId__": 953, "kind": "member", "static": false, "variation": null, @@ -19997,7 +20011,7 @@ } }, { - "__docId__": 953, + "__docId__": 954, "kind": "method", "static": false, "variation": null, @@ -20011,7 +20025,7 @@ "generator": false }, { - "__docId__": 954, + "__docId__": 955, "kind": "member", "static": false, "variation": null, @@ -20029,7 +20043,7 @@ } }, { - "__docId__": 955, + "__docId__": 956, "kind": "method", "static": false, "variation": null, @@ -20043,7 +20057,7 @@ "generator": false }, { - "__docId__": 956, + "__docId__": 957, "kind": "method", "static": false, "variation": null, @@ -20076,7 +20090,7 @@ "generator": false }, { - "__docId__": 957, + "__docId__": 958, "kind": "method", "static": false, "variation": null, @@ -20109,7 +20123,7 @@ "generator": false }, { - "__docId__": 958, + "__docId__": 959, "kind": "method", "static": false, "variation": null, @@ -20123,7 +20137,7 @@ "generator": false }, { - "__docId__": 959, + "__docId__": 960, "kind": "member", "static": false, "variation": null, @@ -20141,7 +20155,7 @@ } }, { - "__docId__": 960, + "__docId__": 961, "kind": "member", "static": false, "variation": null, @@ -20159,7 +20173,7 @@ } }, { - "__docId__": 961, + "__docId__": 962, "kind": "method", "static": false, "variation": null, @@ -20222,7 +20236,7 @@ "generator": false }, { - "__docId__": 962, + "__docId__": 963, "kind": "method", "static": false, "variation": null, @@ -20255,7 +20269,7 @@ "generator": false }, { - "__docId__": 963, + "__docId__": 964, "kind": "method", "static": false, "variation": null, @@ -20277,7 +20291,7 @@ "generator": false }, { - "__docId__": 964, + "__docId__": 965, "kind": "method", "static": false, "variation": null, @@ -20310,7 +20324,7 @@ "generator": false }, { - "__docId__": 965, + "__docId__": 966, "kind": "method", "static": false, "variation": null, @@ -20353,7 +20367,7 @@ "generator": false }, { - "__docId__": 966, + "__docId__": 967, "kind": "method", "static": false, "variation": null, @@ -20386,7 +20400,7 @@ "generator": false }, { - "__docId__": 967, + "__docId__": 968, "kind": "method", "static": false, "variation": null, @@ -20419,7 +20433,7 @@ "generator": false }, { - "__docId__": 968, + "__docId__": 969, "kind": "method", "static": false, "variation": null, @@ -20452,7 +20466,7 @@ "generator": false }, { - "__docId__": 969, + "__docId__": 970, "kind": "method", "static": false, "variation": null, @@ -20485,7 +20499,7 @@ "generator": false }, { - "__docId__": 970, + "__docId__": 971, "kind": "method", "static": false, "variation": null, @@ -20528,7 +20542,7 @@ "generator": false }, { - "__docId__": 971, + "__docId__": 972, "kind": "method", "static": false, "variation": null, @@ -20571,7 +20585,7 @@ "generator": false }, { - "__docId__": 972, + "__docId__": 973, "kind": "method", "static": false, "variation": null, @@ -20614,7 +20628,7 @@ "generator": false }, { - "__docId__": 973, + "__docId__": 974, "kind": "method", "static": false, "variation": null, @@ -20647,7 +20661,7 @@ "generator": false }, { - "__docId__": 974, + "__docId__": 975, "kind": "method", "static": false, "variation": null, @@ -20682,7 +20696,7 @@ "generator": false }, { - "__docId__": 975, + "__docId__": 976, "kind": "method", "static": false, "variation": null, @@ -20696,7 +20710,7 @@ "generator": false }, { - "__docId__": 976, + "__docId__": 977, "kind": "member", "static": false, "variation": null, @@ -20714,7 +20728,7 @@ } }, { - "__docId__": 977, + "__docId__": 978, "kind": "method", "static": false, "variation": null, @@ -20749,7 +20763,7 @@ "generator": false }, { - "__docId__": 978, + "__docId__": 979, "kind": "method", "static": false, "variation": null, @@ -20774,7 +20788,7 @@ "generator": false }, { - "__docId__": 979, + "__docId__": 980, "kind": "method", "static": false, "variation": null, @@ -20788,7 +20802,7 @@ "generator": false }, { - "__docId__": 980, + "__docId__": 981, "kind": "method", "static": false, "variation": null, @@ -20802,7 +20816,7 @@ "generator": false }, { - "__docId__": 981, + "__docId__": 982, "kind": "method", "static": false, "variation": null, @@ -20816,7 +20830,7 @@ "generator": false }, { - "__docId__": 982, + "__docId__": 983, "kind": "method", "static": false, "variation": null, @@ -20841,7 +20855,7 @@ "generator": false }, { - "__docId__": 983, + "__docId__": 984, "kind": "method", "static": false, "variation": null, @@ -20869,7 +20883,7 @@ "generator": false }, { - "__docId__": 984, + "__docId__": 985, "kind": "method", "static": false, "variation": null, @@ -20894,7 +20908,7 @@ "generator": false }, { - "__docId__": 985, + "__docId__": 986, "kind": "member", "static": false, "variation": null, @@ -20912,7 +20926,7 @@ } }, { - "__docId__": 986, + "__docId__": 987, "kind": "method", "static": false, "variation": null, @@ -20953,7 +20967,7 @@ "generator": false }, { - "__docId__": 987, + "__docId__": 988, "kind": "method", "static": false, "variation": null, @@ -20978,7 +20992,7 @@ "generator": false }, { - "__docId__": 988, + "__docId__": 989, "kind": "method", "static": false, "variation": null, @@ -20992,7 +21006,7 @@ "generator": false }, { - "__docId__": 989, + "__docId__": 990, "kind": "method", "static": false, "variation": null, @@ -21025,7 +21039,7 @@ "generator": false }, { - "__docId__": 990, + "__docId__": 991, "kind": "method", "static": false, "variation": null, @@ -21068,7 +21082,7 @@ "generator": false }, { - "__docId__": 991, + "__docId__": 992, "kind": "method", "static": false, "variation": null, @@ -21123,7 +21137,7 @@ "generator": false }, { - "__docId__": 992, + "__docId__": 993, "kind": "method", "static": false, "variation": null, @@ -21145,7 +21159,7 @@ "generator": false }, { - "__docId__": 993, + "__docId__": 994, "kind": "method", "static": false, "variation": null, @@ -21167,7 +21181,7 @@ "generator": false }, { - "__docId__": 994, + "__docId__": 995, "kind": "method", "static": false, "variation": null, @@ -21200,7 +21214,7 @@ "generator": false }, { - "__docId__": 995, + "__docId__": 996, "kind": "member", "static": false, "variation": null, @@ -21218,7 +21232,7 @@ } }, { - "__docId__": 996, + "__docId__": 997, "kind": "method", "static": false, "variation": null, @@ -21240,7 +21254,7 @@ "generator": false }, { - "__docId__": 997, + "__docId__": 998, "kind": "method", "static": false, "variation": null, @@ -21262,7 +21276,7 @@ "generator": false }, { - "__docId__": 998, + "__docId__": 999, "kind": "method", "static": false, "variation": null, @@ -21284,7 +21298,7 @@ "generator": false }, { - "__docId__": 999, + "__docId__": 1000, "kind": "method", "static": false, "variation": null, @@ -21306,7 +21320,7 @@ "generator": false }, { - "__docId__": 1000, + "__docId__": 1001, "kind": "method", "static": false, "variation": null, @@ -21339,7 +21353,7 @@ "generator": false }, { - "__docId__": 1001, + "__docId__": 1002, "kind": "method", "static": false, "variation": null, @@ -21372,7 +21386,7 @@ "generator": false }, { - "__docId__": 1002, + "__docId__": 1003, "kind": "method", "static": false, "variation": null, @@ -21405,7 +21419,7 @@ "generator": false }, { - "__docId__": 1003, + "__docId__": 1004, "kind": "method", "static": false, "variation": null, @@ -21427,7 +21441,7 @@ "generator": false }, { - "__docId__": 1004, + "__docId__": 1005, "kind": "method", "static": false, "variation": null, @@ -21468,7 +21482,7 @@ "generator": false }, { - "__docId__": 1005, + "__docId__": 1006, "kind": "method", "static": false, "variation": null, @@ -21490,7 +21504,7 @@ "generator": false }, { - "__docId__": 1006, + "__docId__": 1007, "kind": "file", "static": true, "variation": null, @@ -21503,7 +21517,7 @@ "content": "\n/**\n * Types utilities\n */\n\nconst UNDEFINED = void 0;\n\n/**\n * Check passed argument is an object\n * @param {Object} obj\n * @return {Boolean}\n */\nexport const isObj =\n obj => Object.prototype.toString.call(obj) === '[object Object]';\n\n/**\n * Check passed argument is a function\n * @param {Function} obj\n * @return {Boolean}\n */\nexport const isFn =\n obj => Object.prototype.toString.call(obj) === '[object Function]';\n\n/**\n * Check passed argument is an array\n * @param {Array} obj\n * @return {Boolean}\n */\nexport const isArray =\n obj => Object.prototype.toString.call(obj) === '[object Array]';\n\n/**\n * Check passed argument is a string\n * @param {String} obj objue\n * @returns {Boolean}\n */\nexport const isString =\n obj => Object.prototype.toString.call(obj) === '[object String]';\n\n/**\n * Check passed argument is a number\n * @param {Number} obj\n * @returns {Boolean}\n */\nexport const isNumber =\n obj => Object.prototype.toString.call(obj) === '[object Number]';\n\n/**\n * Check passed argument is undefined\n * @param {Any} obj\n * @return {Boolean}\n */\nexport const isUndef = obj => obj === UNDEFINED;\n\n/**\n * Check passed argument is null\n * @param {Any} obj\n * @return {Boolean}\n */\nexport const isNull = obj => obj === null;\n\n/**\n * Check passed argument is empty (undefined, null or empty string)\n * @param {Any} obj\n * @return {Boolean}\n */\nexport const isEmpty = obj => isUndef(obj) || isNull(obj) || obj.length === 0;\n" }, { - "__docId__": 1007, + "__docId__": 1008, "kind": "variable", "static": true, "variation": null, @@ -21523,7 +21537,7 @@ } }, { - "__docId__": 1008, + "__docId__": 1009, "kind": "variable", "static": true, "variation": null, @@ -21563,7 +21577,7 @@ } }, { - "__docId__": 1009, + "__docId__": 1010, "kind": "variable", "static": true, "variation": null, @@ -21603,7 +21617,7 @@ } }, { - "__docId__": 1010, + "__docId__": 1011, "kind": "variable", "static": true, "variation": null, @@ -21643,7 +21657,7 @@ } }, { - "__docId__": 1011, + "__docId__": 1012, "kind": "variable", "static": true, "variation": null, @@ -21689,7 +21703,7 @@ } }, { - "__docId__": 1012, + "__docId__": 1013, "kind": "variable", "static": true, "variation": null, @@ -21735,7 +21749,7 @@ } }, { - "__docId__": 1013, + "__docId__": 1014, "kind": "variable", "static": true, "variation": null, @@ -21775,7 +21789,7 @@ } }, { - "__docId__": 1014, + "__docId__": 1015, "kind": "variable", "static": true, "variation": null, @@ -21815,7 +21829,7 @@ } }, { - "__docId__": 1015, + "__docId__": 1016, "kind": "variable", "static": true, "variation": null, @@ -21855,7 +21869,7 @@ } }, { - "__docId__": 1017, + "__docId__": 1018, "kind": "external", "static": true, "variation": null, @@ -21868,7 +21882,7 @@ "builtinExternal": true }, { - "__docId__": 1018, + "__docId__": 1019, "kind": "external", "static": true, "variation": null, @@ -21881,7 +21895,7 @@ "builtinExternal": true }, { - "__docId__": 1019, + "__docId__": 1020, "kind": "external", "static": true, "variation": null, @@ -21894,7 +21908,7 @@ "builtinExternal": true }, { - "__docId__": 1020, + "__docId__": 1021, "kind": "external", "static": true, "variation": null, @@ -21907,7 +21921,7 @@ "builtinExternal": true }, { - "__docId__": 1021, + "__docId__": 1022, "kind": "external", "static": true, "variation": null, @@ -21920,7 +21934,7 @@ "builtinExternal": true }, { - "__docId__": 1022, + "__docId__": 1023, "kind": "external", "static": true, "variation": null, @@ -21933,7 +21947,7 @@ "builtinExternal": true }, { - "__docId__": 1023, + "__docId__": 1024, "kind": "external", "static": true, "variation": null, @@ -21946,7 +21960,7 @@ "builtinExternal": true }, { - "__docId__": 1024, + "__docId__": 1025, "kind": "external", "static": true, "variation": null, @@ -21959,7 +21973,7 @@ "builtinExternal": true }, { - "__docId__": 1025, + "__docId__": 1026, "kind": "external", "static": true, "variation": null, @@ -21972,7 +21986,7 @@ "builtinExternal": true }, { - "__docId__": 1026, + "__docId__": 1027, "kind": "external", "static": true, "variation": null, @@ -21985,7 +21999,7 @@ "builtinExternal": true }, { - "__docId__": 1027, + "__docId__": 1028, "kind": "external", "static": true, "variation": null, @@ -21998,7 +22012,7 @@ "builtinExternal": true }, { - "__docId__": 1028, + "__docId__": 1029, "kind": "external", "static": true, "variation": null, @@ -22011,7 +22025,7 @@ "builtinExternal": true }, { - "__docId__": 1029, + "__docId__": 1030, "kind": "external", "static": true, "variation": null, @@ -22024,7 +22038,7 @@ "builtinExternal": true }, { - "__docId__": 1030, + "__docId__": 1031, "kind": "external", "static": true, "variation": null, @@ -22037,7 +22051,7 @@ "builtinExternal": true }, { - "__docId__": 1031, + "__docId__": 1032, "kind": "external", "static": true, "variation": null, @@ -22050,7 +22064,7 @@ "builtinExternal": true }, { - "__docId__": 1032, + "__docId__": 1033, "kind": "external", "static": true, "variation": null, @@ -22063,7 +22077,7 @@ "builtinExternal": true }, { - "__docId__": 1033, + "__docId__": 1034, "kind": "external", "static": true, "variation": null, @@ -22076,7 +22090,7 @@ "builtinExternal": true }, { - "__docId__": 1034, + "__docId__": 1035, "kind": "external", "static": true, "variation": null, @@ -22089,7 +22103,7 @@ "builtinExternal": true }, { - "__docId__": 1035, + "__docId__": 1036, "kind": "external", "static": true, "variation": null, @@ -22102,7 +22116,7 @@ "builtinExternal": true }, { - "__docId__": 1036, + "__docId__": 1037, "kind": "external", "static": true, "variation": null, @@ -22115,7 +22129,7 @@ "builtinExternal": true }, { - "__docId__": 1037, + "__docId__": 1038, "kind": "external", "static": true, "variation": null, @@ -22128,7 +22142,7 @@ "builtinExternal": true }, { - "__docId__": 1038, + "__docId__": 1039, "kind": "external", "static": true, "variation": null, @@ -22141,7 +22155,7 @@ "builtinExternal": true }, { - "__docId__": 1039, + "__docId__": 1040, "kind": "external", "static": true, "variation": null, @@ -22154,7 +22168,7 @@ "builtinExternal": true }, { - "__docId__": 1040, + "__docId__": 1041, "kind": "external", "static": true, "variation": null, @@ -22167,7 +22181,7 @@ "builtinExternal": true }, { - "__docId__": 1041, + "__docId__": 1042, "kind": "external", "static": true, "variation": null, @@ -22180,7 +22194,7 @@ "builtinExternal": true }, { - "__docId__": 1042, + "__docId__": 1043, "kind": "external", "static": true, "variation": null, @@ -22193,7 +22207,7 @@ "builtinExternal": true }, { - "__docId__": 1043, + "__docId__": 1044, "kind": "external", "static": true, "variation": null, @@ -22206,7 +22220,7 @@ "builtinExternal": true }, { - "__docId__": 1044, + "__docId__": 1045, "kind": "external", "static": true, "variation": null, @@ -22219,7 +22233,7 @@ "builtinExternal": true }, { - "__docId__": 1045, + "__docId__": 1046, "kind": "external", "static": true, "variation": null, @@ -22232,7 +22246,7 @@ "builtinExternal": true }, { - "__docId__": 1046, + "__docId__": 1047, "kind": "external", "static": true, "variation": null, @@ -22245,7 +22259,7 @@ "builtinExternal": true }, { - "__docId__": 1047, + "__docId__": 1048, "kind": "external", "static": true, "variation": null, @@ -22258,7 +22272,7 @@ "builtinExternal": true }, { - "__docId__": 1048, + "__docId__": 1049, "kind": "external", "static": true, "variation": null, @@ -22271,7 +22285,7 @@ "builtinExternal": true }, { - "__docId__": 1049, + "__docId__": 1050, "kind": "external", "static": true, "variation": null, @@ -22284,7 +22298,7 @@ "builtinExternal": true }, { - "__docId__": 1050, + "__docId__": 1051, "kind": "external", "static": true, "variation": null, @@ -22297,7 +22311,7 @@ "builtinExternal": true }, { - "__docId__": 1051, + "__docId__": 1052, "kind": "external", "static": true, "variation": null, @@ -22310,7 +22324,7 @@ "builtinExternal": true }, { - "__docId__": 1052, + "__docId__": 1053, "kind": "external", "static": true, "variation": null, @@ -22323,7 +22337,7 @@ "builtinExternal": true }, { - "__docId__": 1053, + "__docId__": 1054, "kind": "external", "static": true, "variation": null, @@ -22336,7 +22350,7 @@ "builtinExternal": true }, { - "__docId__": 1054, + "__docId__": 1055, "kind": "external", "static": true, "variation": null, @@ -22349,7 +22363,7 @@ "builtinExternal": true }, { - "__docId__": 1055, + "__docId__": 1056, "kind": "external", "static": true, "variation": null, @@ -22362,7 +22376,7 @@ "builtinExternal": true }, { - "__docId__": 1056, + "__docId__": 1057, "kind": "external", "static": true, "variation": null, @@ -22375,7 +22389,7 @@ "builtinExternal": true }, { - "__docId__": 1057, + "__docId__": 1058, "kind": "external", "static": true, "variation": null, @@ -22388,7 +22402,7 @@ "builtinExternal": true }, { - "__docId__": 1058, + "__docId__": 1059, "kind": "external", "static": true, "variation": null, @@ -22401,7 +22415,7 @@ "builtinExternal": true }, { - "__docId__": 1059, + "__docId__": 1060, "kind": "external", "static": true, "variation": null, @@ -22414,7 +22428,7 @@ "builtinExternal": true }, { - "__docId__": 1060, + "__docId__": 1061, "kind": "external", "static": true, "variation": null, @@ -22427,7 +22441,7 @@ "builtinExternal": true }, { - "__docId__": 1061, + "__docId__": 1062, "kind": "external", "static": true, "variation": null, @@ -22440,7 +22454,7 @@ "builtinExternal": true }, { - "__docId__": 1062, + "__docId__": 1063, "kind": "external", "static": true, "variation": null, @@ -22453,7 +22467,7 @@ "builtinExternal": true }, { - "__docId__": 1063, + "__docId__": 1064, "kind": "external", "static": true, "variation": null, @@ -22466,7 +22480,7 @@ "builtinExternal": true }, { - "__docId__": 1065, + "__docId__": 1066, "kind": "external", "static": true, "variation": null, @@ -22479,7 +22493,7 @@ "builtinExternal": true }, { - "__docId__": 1066, + "__docId__": 1067, "kind": "external", "static": true, "variation": null, @@ -22492,7 +22506,7 @@ "builtinExternal": true }, { - "__docId__": 1067, + "__docId__": 1068, "kind": "external", "static": true, "variation": null, @@ -22505,7 +22519,7 @@ "builtinExternal": true }, { - "__docId__": 1068, + "__docId__": 1069, "kind": "external", "static": true, "variation": null, @@ -22518,7 +22532,7 @@ "builtinExternal": true }, { - "__docId__": 1069, + "__docId__": 1070, "kind": "external", "static": true, "variation": null, @@ -22531,7 +22545,7 @@ "builtinExternal": true }, { - "__docId__": 1070, + "__docId__": 1071, "kind": "external", "static": true, "variation": null, @@ -22544,7 +22558,7 @@ "builtinExternal": true }, { - "__docId__": 1071, + "__docId__": 1072, "kind": "external", "static": true, "variation": null, @@ -22557,7 +22571,7 @@ "builtinExternal": true }, { - "__docId__": 1072, + "__docId__": 1073, "kind": "external", "static": true, "variation": null, diff --git a/docs/file/src/array.js.html b/docs/file/src/array.js.html index 230bc036..3bf516a4 100644 --- a/docs/file/src/array.js.html +++ b/docs/file/src/array.js.html @@ -3,7 +3,7 @@ - src/array.js | tablefilter v0.2.65 API Document + src/array.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/const.js.html b/docs/file/src/const.js.html index f83e9e1f..6e3ddc90 100644 --- a/docs/file/src/const.js.html +++ b/docs/file/src/const.js.html @@ -3,7 +3,7 @@ - src/const.js | tablefilter v0.2.65 API Document + src/const.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/cookie.js.html b/docs/file/src/cookie.js.html index 8518b4f4..6fad6140 100644 --- a/docs/file/src/cookie.js.html +++ b/docs/file/src/cookie.js.html @@ -3,7 +3,7 @@ - src/cookie.js | tablefilter v0.2.65 API Document + src/cookie.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/date.js.html b/docs/file/src/date.js.html index 25a0d4bd..4a43dda1 100644 --- a/docs/file/src/date.js.html +++ b/docs/file/src/date.js.html @@ -3,7 +3,7 @@ - src/date.js | tablefilter v0.2.65 API Document + src/date.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/dom.js.html b/docs/file/src/dom.js.html index ca9cc17f..03d2f844 100644 --- a/docs/file/src/dom.js.html +++ b/docs/file/src/dom.js.html @@ -3,7 +3,7 @@ - src/dom.js | tablefilter v0.2.65 API Document + src/dom.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/emitter.js.html b/docs/file/src/emitter.js.html index 4cbfd6e5..3012caf0 100644 --- a/docs/file/src/emitter.js.html +++ b/docs/file/src/emitter.js.html @@ -3,7 +3,7 @@ - src/emitter.js | tablefilter v0.2.65 API Document + src/emitter.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/event.js.html b/docs/file/src/event.js.html index 2b1a69c6..7f5b865d 100644 --- a/docs/file/src/event.js.html +++ b/docs/file/src/event.js.html @@ -3,7 +3,7 @@ - src/event.js | tablefilter v0.2.65 API Document + src/event.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html b/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html index ea64e216..0302fcfb 100644 --- a/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html +++ b/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html @@ -3,7 +3,7 @@ - src/extensions/advancedGrid/adapterEzEditTable.js | tablefilter v0.2.65 API Document + src/extensions/advancedGrid/adapterEzEditTable.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/extensions/advancedGrid/advancedGrid.js.html b/docs/file/src/extensions/advancedGrid/advancedGrid.js.html index 9ee3c9e8..35700544 100644 --- a/docs/file/src/extensions/advancedGrid/advancedGrid.js.html +++ b/docs/file/src/extensions/advancedGrid/advancedGrid.js.html @@ -3,7 +3,7 @@ - src/extensions/advancedGrid/advancedGrid.js | tablefilter v0.2.65 API Document + src/extensions/advancedGrid/advancedGrid.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/extensions/colOps/colOps.js.html b/docs/file/src/extensions/colOps/colOps.js.html index ead4201d..a31e5d29 100644 --- a/docs/file/src/extensions/colOps/colOps.js.html +++ b/docs/file/src/extensions/colOps/colOps.js.html @@ -3,7 +3,7 @@ - src/extensions/colOps/colOps.js | tablefilter v0.2.65 API Document + src/extensions/colOps/colOps.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/extensions/colsVisibility/colsVisibility.js.html b/docs/file/src/extensions/colsVisibility/colsVisibility.js.html index 3b32f520..a51dfecf 100644 --- a/docs/file/src/extensions/colsVisibility/colsVisibility.js.html +++ b/docs/file/src/extensions/colsVisibility/colsVisibility.js.html @@ -3,7 +3,7 @@ - src/extensions/colsVisibility/colsVisibility.js | tablefilter v0.2.65 API Document + src/extensions/colsVisibility/colsVisibility.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html b/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html index e90a7f44..d47eb78e 100644 --- a/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html +++ b/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html @@ -3,7 +3,7 @@ - src/extensions/filtersVisibility/filtersVisibility.js | tablefilter v0.2.65 API Document + src/extensions/filtersVisibility/filtersVisibility.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/extensions/sort/adapterSortabletable.js.html b/docs/file/src/extensions/sort/adapterSortabletable.js.html index 50e7cca1..bdda47e6 100644 --- a/docs/file/src/extensions/sort/adapterSortabletable.js.html +++ b/docs/file/src/extensions/sort/adapterSortabletable.js.html @@ -3,7 +3,7 @@ - src/extensions/sort/adapterSortabletable.js | tablefilter v0.2.65 API Document + src/extensions/sort/adapterSortabletable.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/extensions/sort/sort.js.html b/docs/file/src/extensions/sort/sort.js.html index c2663837..23cab9e8 100644 --- a/docs/file/src/extensions/sort/sort.js.html +++ b/docs/file/src/extensions/sort/sort.js.html @@ -3,7 +3,7 @@ - src/extensions/sort/sort.js | tablefilter v0.2.65 API Document + src/extensions/sort/sort.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/feature.js.html b/docs/file/src/feature.js.html index 7c9ea87b..20554569 100644 --- a/docs/file/src/feature.js.html +++ b/docs/file/src/feature.js.html @@ -3,7 +3,7 @@ - src/feature.js | tablefilter v0.2.65 API Document + src/feature.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/helpers.js.html b/docs/file/src/helpers.js.html index 4ae37e65..ac7e6734 100644 --- a/docs/file/src/helpers.js.html +++ b/docs/file/src/helpers.js.html @@ -3,7 +3,7 @@ - src/helpers.js | tablefilter v0.2.65 API Document + src/helpers.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/modules/alternateRows.js.html b/docs/file/src/modules/alternateRows.js.html index 1df90bd6..d9fb33b3 100644 --- a/docs/file/src/modules/alternateRows.js.html +++ b/docs/file/src/modules/alternateRows.js.html @@ -3,7 +3,7 @@ - src/modules/alternateRows.js | tablefilter v0.2.65 API Document + src/modules/alternateRows.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/modules/checkList.js.html b/docs/file/src/modules/checkList.js.html index e67a62ce..35cd3c5e 100644 --- a/docs/file/src/modules/checkList.js.html +++ b/docs/file/src/modules/checkList.js.html @@ -3,7 +3,7 @@ - src/modules/checkList.js | tablefilter v0.2.65 API Document + src/modules/checkList.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/modules/clearButton.js.html b/docs/file/src/modules/clearButton.js.html index d3c085f5..0eacaca6 100644 --- a/docs/file/src/modules/clearButton.js.html +++ b/docs/file/src/modules/clearButton.js.html @@ -3,7 +3,7 @@ - src/modules/clearButton.js | tablefilter v0.2.65 API Document + src/modules/clearButton.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/modules/dropdown.js.html b/docs/file/src/modules/dropdown.js.html index ae4b55cb..04f6fef0 100644 --- a/docs/file/src/modules/dropdown.js.html +++ b/docs/file/src/modules/dropdown.js.html @@ -3,7 +3,7 @@ - src/modules/dropdown.js | tablefilter v0.2.65 API Document + src/modules/dropdown.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/modules/gridLayout.js.html b/docs/file/src/modules/gridLayout.js.html index b99ddf20..e3eead4a 100644 --- a/docs/file/src/modules/gridLayout.js.html +++ b/docs/file/src/modules/gridLayout.js.html @@ -3,7 +3,7 @@ - src/modules/gridLayout.js | tablefilter v0.2.65 API Document + src/modules/gridLayout.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/modules/hash.js.html b/docs/file/src/modules/hash.js.html index 4464ed2c..84e2f6cf 100644 --- a/docs/file/src/modules/hash.js.html +++ b/docs/file/src/modules/hash.js.html @@ -3,7 +3,7 @@ - src/modules/hash.js | tablefilter v0.2.65 API Document + src/modules/hash.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/modules/help.js.html b/docs/file/src/modules/help.js.html index 86555b75..84a9b807 100644 --- a/docs/file/src/modules/help.js.html +++ b/docs/file/src/modules/help.js.html @@ -3,7 +3,7 @@ - src/modules/help.js | tablefilter v0.2.65 API Document + src/modules/help.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/modules/highlightKeywords.js.html b/docs/file/src/modules/highlightKeywords.js.html index 4b9da393..3aa452a4 100644 --- a/docs/file/src/modules/highlightKeywords.js.html +++ b/docs/file/src/modules/highlightKeywords.js.html @@ -3,7 +3,7 @@ - src/modules/highlightKeywords.js | tablefilter v0.2.65 API Document + src/modules/highlightKeywords.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/modules/loader.js.html b/docs/file/src/modules/loader.js.html index 1cb18946..33460164 100644 --- a/docs/file/src/modules/loader.js.html +++ b/docs/file/src/modules/loader.js.html @@ -3,7 +3,7 @@ - src/modules/loader.js | tablefilter v0.2.65 API Document + src/modules/loader.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/modules/noResults.js.html b/docs/file/src/modules/noResults.js.html index 44cccfeb..60f1c327 100644 --- a/docs/file/src/modules/noResults.js.html +++ b/docs/file/src/modules/noResults.js.html @@ -3,7 +3,7 @@ - src/modules/noResults.js | tablefilter v0.2.65 API Document + src/modules/noResults.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/modules/paging.js.html b/docs/file/src/modules/paging.js.html index fd4cbde1..481a9696 100644 --- a/docs/file/src/modules/paging.js.html +++ b/docs/file/src/modules/paging.js.html @@ -3,7 +3,7 @@ - src/modules/paging.js | tablefilter v0.2.65 API Document + src/modules/paging.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/modules/popupFilter.js.html b/docs/file/src/modules/popupFilter.js.html index 4b795f94..64435460 100644 --- a/docs/file/src/modules/popupFilter.js.html +++ b/docs/file/src/modules/popupFilter.js.html @@ -3,7 +3,7 @@ - src/modules/popupFilter.js | tablefilter v0.2.65 API Document + src/modules/popupFilter.js | tablefilter v0.2.66 API Document @@ -279,10 +279,52 @@ export class PopupFilter extends Feature { let tf = this.tf; // Override headers row index if no grouped headers - if (tf.headersRow <= 1) { + // TODO: Prevent the filters row to simplify headers row index adjusting + if (tf.headersRow <= 1 && isNaN(tf.config().headers_row_index)) { tf.headersRow = 0; } + // Adjust headers row index for grid-layout mode + // TODO: Prevent the filters row to simplify headers row index adjusting + 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.buildAll(); + } + + /** + * Build all filters icons + */ + buildIcons() { + let tf = this.tf; + + // Filters row is added to the DOM, adjust headers row index + // TODO: Prevent the filters row to simplify headers row index adjusting + tf.headersRow++; + for (let i = 0; i < tf.nbCells; i++) { if (tf.getFilterType(i) === NONE) { continue; @@ -299,29 +341,6 @@ export class PopupFilter extends Feature { this.fltSpans[i] = popUpSpan; this.fltIcons[i] = popUpSpan.firstChild; } - - // subscribe to events - this.emitter.on(['before-filtering'], () => this.buildIcons()); - this.emitter.on(['after-filtering'], () => this.closeAll()); - this.emitter.on(['cell-processed'], - (tf, cellIndex) => this.buildIcon(cellIndex, true)); - this.emitter.on(['filters-row-inserted'], () => this.tf.headersRow++); - 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.buildAll(); } /** @@ -409,9 +428,9 @@ export class PopupFilter extends Feature { /** * Build all the icons representing the pop-up filters */ - buildIcons() { + setIconsState() { for (let i = 0; i < this.fltIcons.length; i++) { - this.buildIcon(i, false); + this.changeState(i, false); } } @@ -420,7 +439,7 @@ export class PopupFilter extends Feature { * @param {Number} colIndex Column index * @param {Boolean} active Apply active state */ - buildIcon(colIndex, active) { + changeState(colIndex, active) { if (this.fltIcons[colIndex]) { this.fltIcons[colIndex].src = active ? this.activeIconPath : this.iconPath; @@ -459,11 +478,11 @@ export class PopupFilter extends Feature { this.fltIcons = []; // unsubscribe to events - this.emitter.off(['before-filtering'], () => this.buildIcons()); + this.emitter.off(['before-filtering'], () => this.setIconsState()); this.emitter.off(['after-filtering'], () => this.closeAll()); this.emitter.off(['cell-processed'], - (tf, cellIndex) => this.buildIcon(cellIndex, true)); - this.emitter.off(['filters-row-inserted'], () => this.tf.headersRow++); + (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)); diff --git a/docs/file/src/modules/rowsCounter.js.html b/docs/file/src/modules/rowsCounter.js.html index 57926b68..76a6b7e6 100644 --- a/docs/file/src/modules/rowsCounter.js.html +++ b/docs/file/src/modules/rowsCounter.js.html @@ -3,7 +3,7 @@ - src/modules/rowsCounter.js | tablefilter v0.2.65 API Document + src/modules/rowsCounter.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/modules/state.js.html b/docs/file/src/modules/state.js.html index 20b96d1a..e788dbba 100644 --- a/docs/file/src/modules/state.js.html +++ b/docs/file/src/modules/state.js.html @@ -3,7 +3,7 @@ - src/modules/state.js | tablefilter v0.2.65 API Document + src/modules/state.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/modules/statusBar.js.html b/docs/file/src/modules/statusBar.js.html index 3790cc01..824d8277 100644 --- a/docs/file/src/modules/statusBar.js.html +++ b/docs/file/src/modules/statusBar.js.html @@ -3,7 +3,7 @@ - src/modules/statusBar.js | tablefilter v0.2.65 API Document + src/modules/statusBar.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/modules/storage.js.html b/docs/file/src/modules/storage.js.html index 1790ecc7..b515cb03 100644 --- a/docs/file/src/modules/storage.js.html +++ b/docs/file/src/modules/storage.js.html @@ -3,7 +3,7 @@ - src/modules/storage.js | tablefilter v0.2.65 API Document + src/modules/storage.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/root.js.html b/docs/file/src/root.js.html index d3511157..30e57400 100644 --- a/docs/file/src/root.js.html +++ b/docs/file/src/root.js.html @@ -3,7 +3,7 @@ - src/root.js | tablefilter v0.2.65 API Document + src/root.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/sort.js.html b/docs/file/src/sort.js.html index 62af6ac8..30a2d1a3 100644 --- a/docs/file/src/sort.js.html +++ b/docs/file/src/sort.js.html @@ -3,7 +3,7 @@ - src/sort.js | tablefilter v0.2.65 API Document + src/sort.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/string.js.html b/docs/file/src/string.js.html index 4b1e57c4..22d51c64 100644 --- a/docs/file/src/string.js.html +++ b/docs/file/src/string.js.html @@ -3,7 +3,7 @@ - src/string.js | tablefilter v0.2.65 API Document + src/string.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/tablefilter.js.html b/docs/file/src/tablefilter.js.html index d4ce51f5..8fd40ef5 100644 --- a/docs/file/src/tablefilter.js.html +++ b/docs/file/src/tablefilter.js.html @@ -3,7 +3,7 @@ - src/tablefilter.js | tablefilter v0.2.65 API Document + src/tablefilter.js | tablefilter v0.2.66 API Document diff --git a/docs/file/src/types.js.html b/docs/file/src/types.js.html index 44849375..786d0142 100644 --- a/docs/file/src/types.js.html +++ b/docs/file/src/types.js.html @@ -3,7 +3,7 @@ - src/types.js | tablefilter v0.2.65 API Document + src/types.js | tablefilter v0.2.66 API Document diff --git a/docs/identifiers.html b/docs/identifiers.html index b6c5d3e1..d25f1a28 100644 --- a/docs/identifiers.html +++ b/docs/identifiers.html @@ -3,7 +3,7 @@ - Index | tablefilter v0.2.65 API Document + Index | tablefilter v0.2.66 API Document diff --git a/docs/index.html b/docs/index.html index 8b40f38b..2b7581b9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,7 +3,7 @@ - tablefilter v0.2.65 API Document + tablefilter v0.2.66 API Document diff --git a/docs/package.json b/docs/package.json index 4c93fa05..ae664534 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "tablefilter", - "version": "0.2.65", + "version": "0.2.66", "description": "A Javascript library making HTML tables filterable and a bit more", "license": "MIT", "author": { @@ -50,7 +50,7 @@ "script-loader": "^0.7.0", "string-replace-webpack-plugin": "^0.0.3", "webpack": "^1.13.2", - "webpack-dev-server": "^1.15.1" + "webpack-dev-server": "^1.16.1" }, "dependencies": {}, "bugs": { diff --git a/docs/script/search_index.js b/docs/script/search_index.js index 71f87b81..48fb44fe 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -2801,18 +2801,18 @@ window.esdocSearchIndex = [ "src/modules/popupFilter.js~PopupFilter#buildAll", "method" ], - [ - "src/modules/popupfilter.js~popupfilter#buildicon", - "class/src/modules/popupFilter.js~PopupFilter.html#instance-method-buildIcon", - "src/modules/popupFilter.js~PopupFilter#buildIcon", - "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#closeall", "class/src/modules/popupFilter.js~PopupFilter.html#instance-method-closeAll", @@ -2891,6 +2891,12 @@ window.esdocSearchIndex = [ "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", diff --git a/docs/source.html b/docs/source.html index e8cb1a12..01ed14d3 100644 --- a/docs/source.html +++ b/docs/source.html @@ -3,7 +3,7 @@ - Source | tablefilter v0.2.65 API Document + Source | tablefilter v0.2.66 API Document @@ -114,7 +114,7 @@
-

Source 628/628

+

Source 629/629

@@ -135,7 +135,7 @@ - + @@ -155,7 +155,7 @@ - + @@ -163,7 +163,7 @@ - + @@ -172,7 +172,7 @@ - + @@ -191,7 +191,7 @@ - + @@ -199,7 +199,7 @@ - + @@ -212,7 +212,7 @@ - + @@ -220,7 +220,7 @@ - + @@ -228,7 +228,7 @@ - + @@ -236,7 +236,7 @@ - + @@ -244,7 +244,7 @@ - + @@ -252,7 +252,7 @@ - + @@ -260,7 +260,7 @@ - + @@ -268,7 +268,7 @@ - + @@ -276,7 +276,7 @@ - + @@ -284,7 +284,7 @@ - + @@ -292,7 +292,7 @@ - + @@ -300,7 +300,7 @@ - + @@ -308,7 +308,7 @@ - + @@ -316,7 +316,7 @@ - + @@ -324,7 +324,7 @@ - + @@ -333,7 +333,7 @@ - + @@ -341,7 +341,7 @@ - + @@ -349,7 +349,7 @@ - + @@ -357,7 +357,7 @@ - + @@ -365,7 +365,7 @@ - + @@ -373,15 +373,15 @@ - + - - - - + + + + @@ -389,7 +389,7 @@ - + @@ -397,7 +397,7 @@ - + @@ -405,7 +405,7 @@ - + @@ -414,7 +414,7 @@ - + @@ -422,7 +422,7 @@ - + @@ -432,7 +432,7 @@ - + @@ -444,7 +444,7 @@ - + @@ -452,7 +452,7 @@ - + @@ -467,7 +467,7 @@ - +
100 %1/1 545 byte 222016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/const.js100 %13/13 1133 byte 842016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/cookie.js- 1412 byte 572016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/date.js100 %2/2 5770 byte 1832016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/dom.js100 %12/12 4787 byte 1912016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/emitter.js100 %6/6 1323 byte 532016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/event.js100 %6/6 2378 byte 1022016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/extensions/advancedGrid/adapterEzEditTable.js100 %13/13 18919 byte 5022016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/extensions/advancedGrid/advancedGrid.js- 90 byte 22016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/extensions/colOps/colOps.js100 %9/9 13472 byte 3582016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/extensions/colsVisibility/colsVisibility.js100 %49/49 20919 byte 7242016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/extensions/filtersVisibility/filtersVisibility.js100 %25/25 7994 byte 3112016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/extensions/sort/adapterSortabletable.js100 %23/23 16072 byte 5292016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/extensions/sort/sort.js- 197 byte 82016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/feature.js100 %14/14 1761 byte 942016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/helpers.js100 %1/1 448 byte 192016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/modules/alternateRows.js100 %9/9 3527 byte 1402016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/modules/checkList.js100 %21/21 18567 byte 5672016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/modules/clearButton.js100 %10/10 3225 byte 1332016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/modules/dropdown.js100 %13/13 13641 byte 4322016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/modules/gridLayout.js100 %16/16 15046 byte 5282016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/modules/hash.js100 %10/10 2981 byte 1262016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/modules/help.js100 %17/17 6347 byte 2172016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/modules/highlightKeywords.js100 %10/10 4434 byte 1472016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/modules/loader.js100 %14/14 5298 byte 2112016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/modules/noResults.js100 %17/17 5178 byte 2152016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/modules/paging.js100 %45/45 29379 byte 9552016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/modules/popupFilter.js PopupFilter100 %21/2110205 byte3562016-09-04 23:47:42 (UTC)100 %22/2210850 byte3752016-09-03 03:57:32 (UTC)
src/modules/rowsCounter.js100 %13/13 6357 byte 2242016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/modules/state.js100 %24/24 14771 byte 5412016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/modules/statusBar.js100 %22/22 9553 byte 3332016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/modules/storage.js100 %10/10 3544 byte 1622016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/root.js100 %1/1 235 byte 62016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/sort.js100 %3/3 930 byte 332016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/string.js100 %5/5 1854 byte 692016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/tablefilter.js100 %165/165 88485 byte 29052016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
src/types.js100 %8/8 1451 byte 672016-09-04 23:47:42 (UTC)2016-09-03 03:57:32 (UTC)
diff --git a/docs/variable/index.html b/docs/variable/index.html index 933d0a02..23b468ab 100644 --- a/docs/variable/index.html +++ b/docs/variable/index.html @@ -3,7 +3,7 @@ - Variable | tablefilter v0.2.65 API Document + Variable | tablefilter v0.2.66 API Document