From 1f3c830f8f81274fc7de2f59bd1046bb7b620d8d Mon Sep 17 00:00:00 2001 From: koalyptus Date: Fri, 15 Jan 2016 07:23:33 +0000 Subject: [PATCH] publish Docs to gh-pages (auto) branch: master SHA: c22f9a5c6a8a91c6c3d0c4a51d06f2d0f3754407 range SHA: 2a51fdf0b29d...c22f9a5c6a8a build id: 102535961 build number: 151 --- docs/ast/source/src/dom.js.json | 4157 ++++++++++------- docs/ast/source/src/tablefilter.js.json | 296 +- ...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 +- .../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 +- .../class/src/modules/feature.js~Feature.html | 2 +- .../src/modules/gridLayout.js~GridLayout.html | 2 +- docs/class/src/modules/help.js~Help.html | 2 +- ...highlightKeywords.js~HighlightKeyword.html | 2 +- docs/class/src/modules/loader.js~Loader.html | 2 +- .../src/modules/noResults.js~NoResults.html | 2 +- docs/class/src/modules/paging.js~Paging.html | 2 +- .../modules/popupFilter.js~PopupFilter.html | 2 +- .../modules/rowsCounter.js~RowsCounter.html | 2 +- .../src/modules/statusBar.js~StatusBar.html | 2 +- docs/class/src/modules/store.js~Store.html | 2 +- .../class/src/tablefilter.js~TableFilter.html | 2 +- docs/dump.json | 6 +- docs/file/src/array.js.html | 2 +- docs/file/src/cookie.js.html | 2 +- docs/file/src/date.js.html | 2 +- docs/file/src/dom.js.html | 16 +- 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/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/feature.js.html | 2 +- docs/file/src/modules/gridLayout.js.html | 2 +- docs/file/src/modules/help.js.html | 2 +- .../src/modules/highlightKeywords.js.html | 2 +- docs/file/src/modules/loader.js.html | 2 +- docs/file/src/modules/noResults.js.html | 2 +- docs/file/src/modules/paging.js.html | 2 +- docs/file/src/modules/popupFilter.js.html | 2 +- docs/file/src/modules/rowsCounter.js.html | 2 +- docs/file/src/modules/statusBar.js.html | 2 +- docs/file/src/modules/store.js.html | 2 +- docs/file/src/sort.js.html | 2 +- docs/file/src/string.js.html | 2 +- docs/file/src/tablefilter.js.html | 4 +- docs/file/src/types.js.html | 2 +- docs/identifiers.html | 2 +- docs/index.html | 2 +- docs/source.html | 72 +- 59 files changed, 2712 insertions(+), 1945 deletions(-) diff --git a/docs/ast/source/src/dom.js.json b/docs/ast/source/src/dom.js.json index c315b3f1..321024b4 100644 --- a/docs/ast/source/src/dom.js.json +++ b/docs/ast/source/src/dom.js.json @@ -796,18 +796,753 @@ "type": "Property", "key": { "type": "Identifier", - "name": "create", + "name": "getFirstTextNode", "range": [ - 734, - 740 + 531, + 547 ], "loc": { "start": { - "line": 26, + "line": 24, "column": 4 }, "end": { - "line": 26, + "line": 24, + "column": 20 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "node", + "range": [ + 548, + 552 + ], + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 24, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 571, + 572 + ], + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 17 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 573, + 574 + ], + "loc": { + "start": { + "line": 25, + "column": 18 + }, + "end": { + "line": 25, + "column": 19 + } + } + }, + "range": [ + 571, + 574 + ], + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 19 + } + } + } + ], + "kind": "let", + "range": [ + 567, + 574 + ], + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 19 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 576, + 577 + ], + "loc": { + "start": { + "line": 25, + "column": 21 + }, + "end": { + "line": 25, + "column": 22 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "node", + "range": [ + 578, + 582 + ], + "loc": { + "start": { + "line": 25, + "column": 23 + }, + "end": { + "line": 25, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "childNodes", + "range": [ + 583, + 593 + ], + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 38 + } + } + }, + "range": [ + 578, + 593 + ], + "loc": { + "start": { + "line": 25, + "column": 23 + }, + "end": { + "line": 25, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 594, + 600 + ], + "loc": { + "start": { + "line": 25, + "column": 39 + }, + "end": { + "line": 25, + "column": 45 + } + } + }, + "range": [ + 578, + 600 + ], + "loc": { + "start": { + "line": 25, + "column": 23 + }, + "end": { + "line": 25, + "column": 45 + } + } + }, + "range": [ + 576, + 600 + ], + "loc": { + "start": { + "line": 25, + "column": 21 + }, + "end": { + "line": 25, + "column": 45 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 602, + 603 + ], + "loc": { + "start": { + "line": 25, + "column": 47 + }, + "end": { + "line": 25, + "column": 48 + } + } + }, + "prefix": false, + "range": [ + 602, + 605 + ], + "loc": { + "start": { + "line": 25, + "column": 47 + }, + "end": { + "line": 25, + "column": 50 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "n", + "range": [ + 624, + 625 + ], + "loc": { + "start": { + "line": 26, + "column": 16 + }, + "end": { + "line": 26, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "node", + "range": [ + 628, + 632 + ], + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "childNodes", + "range": [ + 633, + 643 + ], + "loc": { + "start": { + "line": 26, + "column": 25 + }, + "end": { + "line": 26, + "column": 35 + } + } + }, + "range": [ + 628, + 643 + ], + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 644, + 645 + ], + "loc": { + "start": { + "line": 26, + "column": 36 + }, + "end": { + "line": 26, + "column": 37 + } + } + }, + "range": [ + 628, + 646 + ], + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 38 + } + } + }, + "range": [ + 624, + 646 + ], + "loc": { + "start": { + "line": 26, + "column": 16 + }, + "end": { + "line": 26, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 620, + 647 + ], + "loc": { + "start": { + "line": 26, + "column": 12 + }, + "end": { + "line": 26, + "column": 39 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 663, + 664 + ], + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "nodeType", + "range": [ + 665, + 673 + ], + "loc": { + "start": { + "line": 27, + "column": 17 + }, + "end": { + "line": 27, + "column": 25 + } + } + }, + "range": [ + 663, + 673 + ], + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": 3, + "raw": "3", + "range": [ + 678, + 679 + ], + "loc": { + "start": { + "line": 27, + "column": 30 + }, + "end": { + "line": 27, + "column": 31 + } + } + }, + "range": [ + 663, + 679 + ], + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 705, + 706 + ], + "loc": { + "start": { + "line": 28, + "column": 23 + }, + "end": { + "line": 28, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "data", + "range": [ + 707, + 711 + ], + "loc": { + "start": { + "line": 28, + "column": 25 + }, + "end": { + "line": 28, + "column": 29 + } + } + }, + "range": [ + 705, + 711 + ], + "loc": { + "start": { + "line": 28, + "column": 23 + }, + "end": { + "line": 28, + "column": 29 + } + } + }, + "range": [ + 698, + 712 + ], + "loc": { + "start": { + "line": 28, + "column": 16 + }, + "end": { + "line": 28, + "column": 30 + } + } + } + ], + "range": [ + 680, + 726 + ], + "loc": { + "start": { + "line": 27, + "column": 32 + }, + "end": { + "line": 29, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 660, + 726 + ], + "loc": { + "start": { + "line": 27, + "column": 12 + }, + "end": { + "line": 29, + "column": 13 + } + } + } + ], + "range": [ + 606, + 736 + ], + "loc": { + "start": { + "line": 25, + "column": 51 + }, + "end": { + "line": 30, + "column": 9 + } + } + }, + "range": [ + 563, + 736 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 30, + "column": 9 + } + } + } + ], + "range": [ + 553, + 742 + ], + "loc": { + "start": { + "line": 24, + "column": 26 + }, + "end": { + "line": 31, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 547, + 742 + ], + "loc": { + "start": { + "line": 24, + "column": 20 + }, + "end": { + "line": 31, + "column": 5 + } + } + }, + "kind": "init", + "method": true, + "shorthand": false, + "computed": false, + "range": [ + 531, + 742 + ], + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 31, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns the first text node contained in the supplied node\n * @param {NodeElement} node node\n * @return {String}\n ", + "range": [ + 386, + 526 + ], + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 23, + "column": 7 + } + } + } + ] + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "create", + "range": [ + 1097, + 1103 + ], + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, "column": 10 } } @@ -820,16 +1555,16 @@ "type": "Identifier", "name": "tag", "range": [ - 741, - 744 + 1104, + 1107 ], "loc": { "start": { - "line": 26, + "line": 40, "column": 11 }, "end": { - "line": 26, + "line": 40, "column": 14 } } @@ -850,32 +1585,32 @@ "type": "Identifier", "name": "tag", "range": [ - 759, - 762 + 1122, + 1125 ], "loc": { "start": { - "line": 27, + "line": 41, "column": 12 }, "end": { - "line": 27, + "line": 41, "column": 15 } } }, "prefix": true, "range": [ - 758, - 762 + 1121, + 1125 ], "loc": { "start": { - "line": 27, + "line": 41, "column": 11 }, "end": { - "line": 27, + "line": 41, "column": 15 } } @@ -887,16 +1622,16 @@ "type": "Identifier", "name": "tag", "range": [ - 766, - 769 + 1129, + 1132 ], "loc": { "start": { - "line": 27, + "line": 41, "column": 19 }, "end": { - "line": 27, + "line": 41, "column": 22 } } @@ -906,46 +1641,46 @@ "value": "", "raw": "''", "range": [ - 772, - 774 + 1135, + 1137 ], "loc": { "start": { - "line": 27, + "line": 41, "column": 25 }, "end": { - "line": 27, + "line": 41, "column": 27 } } }, "range": [ - 766, - 774 + 1129, + 1137 ], "loc": { "start": { - "line": 27, + "line": 41, "column": 19 }, "end": { - "line": 27, + "line": 41, "column": 27 } } }, "range": [ - 758, - 774 + 1121, + 1137 ], "loc": { "start": { - "line": 27, + "line": 41, "column": 11 }, "end": { - "line": 27, + "line": 41, "column": 27 } } @@ -957,48 +1692,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 789, - 796 + 1152, + 1159 ], "loc": { "start": { - "line": 28, + "line": 42, "column": 12 }, "end": { - "line": 28, + "line": 42, "column": 19 } } } ], "range": [ - 775, - 806 + 1138, + 1169 ], "loc": { "start": { - "line": 27, + "line": 41, "column": 28 }, "end": { - "line": 29, + "line": 43, "column": 9 } } }, "alternate": null, "range": [ - 755, - 806 + 1118, + 1169 ], "loc": { "start": { - "line": 27, + "line": 41, "column": 8 }, "end": { - "line": 29, + "line": 43, "column": 9 } } @@ -1012,16 +1747,16 @@ "type": "Identifier", "name": "el", "range": [ - 820, - 822 + 1183, + 1185 ], "loc": { "start": { - "line": 31, + "line": 45, "column": 12 }, "end": { - "line": 31, + "line": 45, "column": 14 } } @@ -1035,16 +1770,16 @@ "type": "Identifier", "name": "document", "range": [ - 825, - 833 + 1188, + 1196 ], "loc": { "start": { - "line": 31, + "line": 45, "column": 17 }, "end": { - "line": 31, + "line": 45, "column": 25 } } @@ -1053,31 +1788,31 @@ "type": "Identifier", "name": "createElement", "range": [ - 834, - 847 + 1197, + 1210 ], "loc": { "start": { - "line": 31, + "line": 45, "column": 26 }, "end": { - "line": 31, + "line": 45, "column": 39 } } }, "range": [ - 825, - 847 + 1188, + 1210 ], "loc": { "start": { - "line": 31, + "line": 45, "column": 17 }, "end": { - "line": 31, + "line": 45, "column": 39 } } @@ -1087,47 +1822,47 @@ "type": "Identifier", "name": "tag", "range": [ - 848, - 851 + 1211, + 1214 ], "loc": { "start": { - "line": 31, + "line": 45, "column": 40 }, "end": { - "line": 31, + "line": 45, "column": 43 } } } ], "range": [ - 825, - 852 + 1188, + 1215 ], "loc": { "start": { - "line": 31, + "line": 45, "column": 17 }, "end": { - "line": 31, + "line": 45, "column": 44 } } }, "range": [ - 820, - 852 + 1183, + 1215 ], "loc": { "start": { - "line": 31, + "line": 45, "column": 12 }, "end": { - "line": 31, + "line": 45, "column": 44 } } @@ -1138,16 +1873,16 @@ "type": "Identifier", "name": "args", "range": [ - 866, - 870 + 1229, + 1233 ], "loc": { "start": { - "line": 32, + "line": 46, "column": 12 }, "end": { - "line": 32, + "line": 46, "column": 16 } } @@ -1156,31 +1891,31 @@ "type": "Identifier", "name": "arguments", "range": [ - 873, - 882 + 1236, + 1245 ], "loc": { "start": { - "line": 32, + "line": 46, "column": 19 }, "end": { - "line": 32, + "line": 46, "column": 28 } } }, "range": [ - 866, - 882 + 1229, + 1245 ], "loc": { "start": { - "line": 32, + "line": 46, "column": 12 }, "end": { - "line": 32, + "line": 46, "column": 28 } } @@ -1188,16 +1923,16 @@ ], "kind": "let", "range": [ - 816, - 883 + 1179, + 1246 ], "loc": { "start": { - "line": 31, + "line": 45, "column": 8 }, "end": { - "line": 32, + "line": 46, "column": 29 } } @@ -1214,16 +1949,16 @@ "type": "Identifier", "name": "args", "range": [ - 896, - 900 + 1259, + 1263 ], "loc": { "start": { - "line": 34, + "line": 48, "column": 11 }, "end": { - "line": 34, + "line": 48, "column": 15 } } @@ -1232,31 +1967,31 @@ "type": "Identifier", "name": "length", "range": [ - 901, - 907 + 1264, + 1270 ], "loc": { "start": { - "line": 34, + "line": 48, "column": 16 }, "end": { - "line": 34, + "line": 48, "column": 22 } } }, "range": [ - 896, - 907 + 1259, + 1270 ], "loc": { "start": { - "line": 34, + "line": 48, "column": 11 }, "end": { - "line": 34, + "line": 48, "column": 22 } } @@ -1266,31 +2001,31 @@ "value": 1, "raw": "1", "range": [ - 910, - 911 + 1273, + 1274 ], "loc": { "start": { - "line": 34, + "line": 48, "column": 25 }, "end": { - "line": 34, + "line": 48, "column": 26 } } }, "range": [ - 896, - 911 + 1259, + 1274 ], "loc": { "start": { - "line": 34, + "line": 48, "column": 11 }, "end": { - "line": 34, + "line": 48, "column": 26 } } @@ -1309,16 +2044,16 @@ "type": "Identifier", "name": "i", "range": [ - 934, - 935 + 1297, + 1298 ], "loc": { "start": { - "line": 35, + "line": 49, "column": 20 }, "end": { - "line": 35, + "line": 49, "column": 21 } } @@ -1328,31 +2063,31 @@ "value": 0, "raw": "0", "range": [ - 936, - 937 + 1299, + 1300 ], "loc": { "start": { - "line": 35, + "line": 49, "column": 22 }, "end": { - "line": 35, + "line": 49, "column": 23 } } }, "range": [ - 934, - 937 + 1297, + 1300 ], "loc": { "start": { - "line": 35, + "line": 49, "column": 20 }, "end": { - "line": 35, + "line": 49, "column": 23 } } @@ -1360,16 +2095,16 @@ ], "kind": "let", "range": [ - 930, - 937 + 1293, + 1300 ], "loc": { "start": { - "line": 35, + "line": 49, "column": 16 }, "end": { - "line": 35, + "line": 49, "column": 23 } } @@ -1381,16 +2116,16 @@ "type": "Identifier", "name": "i", "range": [ - 939, - 940 + 1302, + 1303 ], "loc": { "start": { - "line": 35, + "line": 49, "column": 25 }, "end": { - "line": 35, + "line": 49, "column": 26 } } @@ -1402,16 +2137,16 @@ "type": "Identifier", "name": "args", "range": [ - 941, - 945 + 1304, + 1308 ], "loc": { "start": { - "line": 35, + "line": 49, "column": 27 }, "end": { - "line": 35, + "line": 49, "column": 31 } } @@ -1420,46 +2155,46 @@ "type": "Identifier", "name": "length", "range": [ - 946, - 952 + 1309, + 1315 ], "loc": { "start": { - "line": 35, + "line": 49, "column": 32 }, "end": { - "line": 35, + "line": 49, "column": 38 } } }, "range": [ - 941, - 952 + 1304, + 1315 ], "loc": { "start": { - "line": 35, + "line": 49, "column": 27 }, "end": { - "line": 35, + "line": 49, "column": 38 } } }, "range": [ - 939, - 952 + 1302, + 1315 ], "loc": { "start": { - "line": 35, + "line": 49, "column": 25 }, "end": { - "line": 35, + "line": 49, "column": 38 } } @@ -1471,32 +2206,32 @@ "type": "Identifier", "name": "i", "range": [ - 954, - 955 + 1317, + 1318 ], "loc": { "start": { - "line": 35, + "line": 49, "column": 40 }, "end": { - "line": 35, + "line": 49, "column": 41 } } }, "prefix": false, "range": [ - 954, - 957 + 1317, + 1320 ], "loc": { "start": { - "line": 35, + "line": 49, "column": 40 }, "end": { - "line": 35, + "line": 49, "column": 43 } } @@ -1513,16 +2248,16 @@ "type": "Identifier", "name": "argtype", "range": [ - 980, - 987 + 1343, + 1350 ], "loc": { "start": { - "line": 36, + "line": 50, "column": 20 }, "end": { - "line": 36, + "line": 50, "column": 27 } } @@ -1537,16 +2272,16 @@ "type": "Identifier", "name": "args", "range": [ - 997, - 1001 + 1360, + 1364 ], "loc": { "start": { - "line": 36, + "line": 50, "column": 37 }, "end": { - "line": 36, + "line": 50, "column": 41 } } @@ -1555,62 +2290,62 @@ "type": "Identifier", "name": "i", "range": [ - 1002, - 1003 + 1365, + 1366 ], "loc": { "start": { - "line": 36, + "line": 50, "column": 42 }, "end": { - "line": 36, + "line": 50, "column": 43 } } }, "range": [ - 997, - 1004 + 1360, + 1367 ], "loc": { "start": { - "line": 36, + "line": 50, "column": 37 }, "end": { - "line": 36, + "line": 50, "column": 44 } } }, "prefix": true, "range": [ - 990, - 1004 + 1353, + 1367 ], "loc": { "start": { - "line": 36, + "line": 50, "column": 30 }, "end": { - "line": 36, + "line": 50, "column": 44 } } }, "range": [ - 980, - 1004 + 1343, + 1367 ], "loc": { "start": { - "line": 36, + "line": 50, "column": 20 }, "end": { - "line": 36, + "line": 50, "column": 44 } } @@ -1618,16 +2353,16 @@ ], "kind": "let", "range": [ - 976, - 1005 + 1339, + 1368 ], "loc": { "start": { - "line": 36, + "line": 50, "column": 16 }, "end": { - "line": 36, + "line": 50, "column": 45 } } @@ -1649,16 +2384,16 @@ "type": "Identifier", "name": "argtype", "range": [ - 1025, - 1032 + 1388, + 1395 ], "loc": { "start": { - "line": 37, + "line": 51, "column": 19 }, "end": { - "line": 37, + "line": 51, "column": 26 } } @@ -1667,47 +2402,47 @@ "type": "Identifier", "name": "toLowerCase", "range": [ - 1033, - 1044 + 1396, + 1407 ], "loc": { "start": { - "line": 37, + "line": 51, "column": 27 }, "end": { - "line": 37, + "line": 51, "column": 38 } } }, "range": [ - 1025, - 1044 + 1388, + 1407 ], "loc": { "start": { - "line": 37, + "line": 51, "column": 19 }, "end": { - "line": 37, + "line": 51, "column": 38 } } }, "arguments": [], "range": [ - 1025, - 1046 + 1388, + 1409 ], "loc": { "start": { - "line": 37, + "line": 51, "column": 19 }, "end": { - "line": 37, + "line": 51, "column": 40 } } @@ -1717,31 +2452,31 @@ "value": "object", "raw": "'object'", "range": [ - 1051, - 1059 + 1414, + 1422 ], "loc": { "start": { - "line": 37, + "line": 51, "column": 45 }, "end": { - "line": 37, + "line": 51, "column": 53 } } }, "range": [ - 1025, - 1059 + 1388, + 1422 ], "loc": { "start": { - "line": 37, + "line": 51, "column": 19 }, "end": { - "line": 37, + "line": 51, "column": 53 } } @@ -1759,16 +2494,16 @@ "type": "Identifier", "name": "args", "range": [ - 1063, - 1067 + 1426, + 1430 ], "loc": { "start": { - "line": 37, + "line": 51, "column": 57 }, "end": { - "line": 37, + "line": 51, "column": 61 } } @@ -1777,31 +2512,31 @@ "type": "Identifier", "name": "i", "range": [ - 1068, - 1069 + 1431, + 1432 ], "loc": { "start": { - "line": 37, + "line": 51, "column": 62 }, "end": { - "line": 37, + "line": 51, "column": 63 } } }, "range": [ - 1063, - 1070 + 1426, + 1433 ], "loc": { "start": { - "line": 37, + "line": 51, "column": 57 }, "end": { - "line": 37, + "line": 51, "column": 64 } } @@ -1810,31 +2545,31 @@ "type": "Identifier", "name": "length", "range": [ - 1071, - 1077 + 1434, + 1440 ], "loc": { "start": { - "line": 37, + "line": 51, "column": 65 }, "end": { - "line": 37, + "line": 51, "column": 71 } } }, "range": [ - 1063, - 1077 + 1426, + 1440 ], "loc": { "start": { - "line": 37, + "line": 51, "column": 57 }, "end": { - "line": 37, + "line": 51, "column": 71 } } @@ -1844,46 +2579,46 @@ "value": 2, "raw": "2", "range": [ - 1082, - 1083 + 1445, + 1446 ], "loc": { "start": { - "line": 37, + "line": 51, "column": 76 }, "end": { - "line": 37, + "line": 51, "column": 77 } } }, "range": [ - 1063, - 1083 + 1426, + 1446 ], "loc": { "start": { - "line": 37, + "line": 51, "column": 57 }, "end": { - "line": 37, + "line": 51, "column": 77 } } }, "range": [ - 1025, - 1083 + 1388, + 1446 ], "loc": { "start": { - "line": 37, + "line": 51, "column": 19 }, "end": { - "line": 37, + "line": 51, "column": 77 } } @@ -1902,16 +2637,16 @@ "type": "Identifier", "name": "el", "range": [ - 1106, - 1108 + 1469, + 1471 ], "loc": { "start": { - "line": 38, + "line": 52, "column": 20 }, "end": { - "line": 38, + "line": 52, "column": 22 } } @@ -1920,31 +2655,31 @@ "type": "Identifier", "name": "setAttribute", "range": [ - 1109, - 1121 + 1472, + 1484 ], "loc": { "start": { - "line": 38, + "line": 52, "column": 23 }, "end": { - "line": 38, + "line": 52, "column": 35 } } }, "range": [ - 1106, - 1121 + 1469, + 1484 ], "loc": { "start": { - "line": 38, + "line": 52, "column": 20 }, "end": { - "line": 38, + "line": 52, "column": 35 } } @@ -1960,16 +2695,16 @@ "type": "Identifier", "name": "args", "range": [ - 1122, - 1126 + 1485, + 1489 ], "loc": { "start": { - "line": 38, + "line": 52, "column": 36 }, "end": { - "line": 38, + "line": 52, "column": 40 } } @@ -1978,31 +2713,31 @@ "type": "Identifier", "name": "i", "range": [ - 1127, - 1128 + 1490, + 1491 ], "loc": { "start": { - "line": 38, + "line": 52, "column": 41 }, "end": { - "line": 38, + "line": 52, "column": 42 } } }, "range": [ - 1122, - 1129 + 1485, + 1492 ], "loc": { "start": { - "line": 38, + "line": 52, "column": 36 }, "end": { - "line": 38, + "line": 52, "column": 43 } } @@ -2012,31 +2747,31 @@ "value": 0, "raw": "0", "range": [ - 1130, - 1131 + 1493, + 1494 ], "loc": { "start": { - "line": 38, + "line": 52, "column": 44 }, "end": { - "line": 38, + "line": 52, "column": 45 } } }, "range": [ - 1122, - 1132 + 1485, + 1495 ], "loc": { "start": { - "line": 38, + "line": 52, "column": 36 }, "end": { - "line": 38, + "line": 52, "column": 46 } } @@ -2051,16 +2786,16 @@ "type": "Identifier", "name": "args", "range": [ - 1134, - 1138 + 1497, + 1501 ], "loc": { "start": { - "line": 38, + "line": 52, "column": 48 }, "end": { - "line": 38, + "line": 52, "column": 52 } } @@ -2069,31 +2804,31 @@ "type": "Identifier", "name": "i", "range": [ - 1139, - 1140 + 1502, + 1503 ], "loc": { "start": { - "line": 38, + "line": 52, "column": 53 }, "end": { - "line": 38, + "line": 52, "column": 54 } } }, "range": [ - 1134, - 1141 + 1497, + 1504 ], "loc": { "start": { - "line": 38, + "line": 52, "column": 48 }, "end": { - "line": 38, + "line": 52, "column": 55 } } @@ -2103,157 +2838,157 @@ "value": 1, "raw": "1", "range": [ - 1142, - 1143 + 1505, + 1506 ], "loc": { "start": { - "line": 38, + "line": 52, "column": 56 }, "end": { - "line": 38, + "line": 52, "column": 57 } } }, "range": [ - 1134, - 1144 + 1497, + 1507 ], "loc": { "start": { - "line": 38, + "line": 52, "column": 48 }, "end": { - "line": 38, + "line": 52, "column": 58 } } } ], "range": [ - 1106, - 1145 + 1469, + 1508 ], "loc": { "start": { - "line": 38, + "line": 52, "column": 20 }, "end": { - "line": 38, + "line": 52, "column": 59 } } }, "range": [ - 1106, - 1146 + 1469, + 1509 ], "loc": { "start": { - "line": 38, + "line": 52, "column": 20 }, "end": { - "line": 38, + "line": 52, "column": 60 } } } ], "range": [ - 1084, - 1164 + 1447, + 1527 ], "loc": { "start": { - "line": 37, + "line": 51, "column": 78 }, "end": { - "line": 39, + "line": 53, "column": 17 } } }, "alternate": null, "range": [ - 1022, - 1164 + 1385, + 1527 ], "loc": { "start": { - "line": 37, + "line": 51, "column": 16 }, "end": { - "line": 39, + "line": 53, "column": 17 } } } ], "range": [ - 958, - 1178 + 1321, + 1541 ], "loc": { "start": { - "line": 35, + "line": 49, "column": 44 }, "end": { - "line": 40, + "line": 54, "column": 13 } } }, "range": [ - 926, - 1178 + 1289, + 1541 ], "loc": { "start": { - "line": 35, + "line": 49, "column": 12 }, "end": { - "line": 40, + "line": 54, "column": 13 } } } ], "range": [ - 912, - 1188 + 1275, + 1551 ], "loc": { "start": { - "line": 34, + "line": 48, "column": 27 }, "end": { - "line": 41, + "line": 55, "column": 9 } } }, "alternate": null, "range": [ - 893, - 1188 + 1256, + 1551 ], "loc": { "start": { - "line": 34, + "line": 48, "column": 8 }, "end": { - "line": 41, + "line": 55, "column": 9 } } @@ -2264,47 +2999,47 @@ "type": "Identifier", "name": "el", "range": [ - 1204, - 1206 + 1567, + 1569 ], "loc": { "start": { - "line": 42, + "line": 56, "column": 15 }, "end": { - "line": 42, + "line": 56, "column": 17 } } }, "range": [ - 1197, - 1207 + 1560, + 1570 ], "loc": { "start": { - "line": 42, + "line": 56, "column": 8 }, "end": { - "line": 42, + "line": 56, "column": 18 } } } ], "range": [ - 745, - 1213 + 1108, + 1576 ], "loc": { "start": { - "line": 26, + "line": 40, "column": 15 }, "end": { - "line": 43, + "line": 57, "column": 5 } } @@ -2312,16 +3047,16 @@ "generator": false, "expression": false, "range": [ - 740, - 1213 + 1103, + 1576 ], "loc": { "start": { - "line": 26, + "line": 40, "column": 10 }, "end": { - "line": 43, + "line": 57, "column": 5 } } @@ -2331,16 +3066,16 @@ "shorthand": false, "computed": false, "range": [ - 734, - 1213 + 1097, + 1576 ], "loc": { "start": { - "line": 26, + "line": 40, "column": 4 }, "end": { - "line": 43, + "line": 57, "column": 5 } }, @@ -2349,16 +3084,16 @@ "type": "Block", "value": "*\n * Creates an html element with given collection of attributes\n * @param {String} tag a string of the html tag to create\n * @param {Array} an undetermined number of arrays containing the with 2\n * items, the attribute name and its value ['id','myId']\n * @return {Object} created element\n ", "range": [ - 386, - 729 + 749, + 1092 ], "loc": { "start": { - "line": 19, + "line": 33, "column": 4 }, "end": { - "line": 25, + "line": 39, "column": 7 } } @@ -2371,16 +3106,16 @@ "type": "Identifier", "name": "remove", "range": [ - 1352, - 1358 + 1715, + 1721 ], "loc": { "start": { - "line": 50, + "line": 64, "column": 4 }, "end": { - "line": 50, + "line": 64, "column": 10 } } @@ -2393,16 +3128,16 @@ "type": "Identifier", "name": "node", "range": [ - 1359, - 1363 + 1722, + 1726 ], "loc": { "start": { - "line": 50, + "line": 64, "column": 11 }, "end": { - "line": 50, + "line": 64, "column": 15 } } @@ -2425,16 +3160,16 @@ "type": "Identifier", "name": "node", "range": [ - 1381, - 1385 + 1744, + 1748 ], "loc": { "start": { - "line": 51, + "line": 65, "column": 15 }, "end": { - "line": 51, + "line": 65, "column": 19 } } @@ -2443,31 +3178,31 @@ "type": "Identifier", "name": "parentNode", "range": [ - 1386, - 1396 + 1749, + 1759 ], "loc": { "start": { - "line": 51, + "line": 65, "column": 20 }, "end": { - "line": 51, + "line": 65, "column": 30 } } }, "range": [ - 1381, - 1396 + 1744, + 1759 ], "loc": { "start": { - "line": 51, + "line": 65, "column": 15 }, "end": { - "line": 51, + "line": 65, "column": 30 } } @@ -2476,31 +3211,31 @@ "type": "Identifier", "name": "removeChild", "range": [ - 1397, - 1408 + 1760, + 1771 ], "loc": { "start": { - "line": 51, + "line": 65, "column": 31 }, "end": { - "line": 51, + "line": 65, "column": 42 } } }, "range": [ - 1381, - 1408 + 1744, + 1771 ], "loc": { "start": { - "line": 51, + "line": 65, "column": 15 }, "end": { - "line": 51, + "line": 65, "column": 42 } } @@ -2510,63 +3245,63 @@ "type": "Identifier", "name": "node", "range": [ - 1409, - 1413 + 1772, + 1776 ], "loc": { "start": { - "line": 51, + "line": 65, "column": 43 }, "end": { - "line": 51, + "line": 65, "column": 47 } } } ], "range": [ - 1381, - 1414 + 1744, + 1777 ], "loc": { "start": { - "line": 51, + "line": 65, "column": 15 }, "end": { - "line": 51, + "line": 65, "column": 48 } } }, "range": [ - 1374, - 1415 + 1737, + 1778 ], "loc": { "start": { - "line": 51, + "line": 65, "column": 8 }, "end": { - "line": 51, + "line": 65, "column": 49 } } } ], "range": [ - 1364, - 1421 + 1727, + 1784 ], "loc": { "start": { - "line": 50, + "line": 64, "column": 16 }, "end": { - "line": 52, + "line": 66, "column": 5 } } @@ -2574,16 +3309,16 @@ "generator": false, "expression": false, "range": [ - 1358, - 1421 + 1721, + 1784 ], "loc": { "start": { - "line": 50, + "line": 64, "column": 10 }, "end": { - "line": 52, + "line": 66, "column": 5 } } @@ -2593,16 +3328,16 @@ "shorthand": false, "computed": false, "range": [ - 1352, - 1421 + 1715, + 1784 ], "loc": { "start": { - "line": 50, + "line": 64, "column": 4 }, "end": { - "line": 52, + "line": 66, "column": 5 } }, @@ -2611,16 +3346,16 @@ "type": "Block", "value": "*\n * Removes passed node from DOM\n * @param {DOMElement} node\n * @return {DOMElement} old node reference\n ", "range": [ - 1220, - 1347 + 1583, + 1710 ], "loc": { "start": { - "line": 45, + "line": 59, "column": 4 }, "end": { - "line": 49, + "line": 63, "column": 7 } } @@ -2633,16 +3368,16 @@ "type": "Identifier", "name": "text", "range": [ - 1539, - 1543 + 1902, + 1906 ], "loc": { "start": { - "line": 59, + "line": 73, "column": 4 }, "end": { - "line": 59, + "line": 73, "column": 8 } } @@ -2655,16 +3390,16 @@ "type": "Identifier", "name": "txt", "range": [ - 1544, - 1547 + 1907, + 1910 ], "loc": { "start": { - "line": 59, + "line": 73, "column": 9 }, "end": { - "line": 59, + "line": 73, "column": 12 } } @@ -2684,16 +3419,16 @@ "type": "Identifier", "name": "document", "range": [ - 1565, - 1573 + 1928, + 1936 ], "loc": { "start": { - "line": 60, + "line": 74, "column": 15 }, "end": { - "line": 60, + "line": 74, "column": 23 } } @@ -2702,31 +3437,31 @@ "type": "Identifier", "name": "createTextNode", "range": [ - 1574, - 1588 + 1937, + 1951 ], "loc": { "start": { - "line": 60, + "line": 74, "column": 24 }, "end": { - "line": 60, + "line": 74, "column": 38 } } }, "range": [ - 1565, - 1588 + 1928, + 1951 ], "loc": { "start": { - "line": 60, + "line": 74, "column": 15 }, "end": { - "line": 60, + "line": 74, "column": 38 } } @@ -2736,63 +3471,63 @@ "type": "Identifier", "name": "txt", "range": [ - 1589, - 1592 + 1952, + 1955 ], "loc": { "start": { - "line": 60, + "line": 74, "column": 39 }, "end": { - "line": 60, + "line": 74, "column": 42 } } } ], "range": [ - 1565, - 1593 + 1928, + 1956 ], "loc": { "start": { - "line": 60, + "line": 74, "column": 15 }, "end": { - "line": 60, + "line": 74, "column": 43 } } }, "range": [ - 1558, - 1594 + 1921, + 1957 ], "loc": { "start": { - "line": 60, + "line": 74, "column": 8 }, "end": { - "line": 60, + "line": 74, "column": 44 } } } ], "range": [ - 1548, - 1600 + 1911, + 1963 ], "loc": { "start": { - "line": 59, + "line": 73, "column": 13 }, "end": { - "line": 61, + "line": 75, "column": 5 } } @@ -2800,16 +3535,16 @@ "generator": false, "expression": false, "range": [ - 1543, - 1600 + 1906, + 1963 ], "loc": { "start": { - "line": 59, + "line": 73, "column": 8 }, "end": { - "line": 61, + "line": 75, "column": 5 } } @@ -2819,16 +3554,16 @@ "shorthand": false, "computed": false, "range": [ - 1539, - 1600 + 1902, + 1963 ], "loc": { "start": { - "line": 59, + "line": 73, "column": 4 }, "end": { - "line": 61, + "line": 75, "column": 5 } }, @@ -2837,16 +3572,16 @@ "type": "Block", "value": "*\n * Returns a text node with given text\n * @param {String} txt\n * @return {Object}\n ", "range": [ - 1428, - 1534 + 1791, + 1897 ], "loc": { "start": { - "line": 54, + "line": 68, "column": 4 }, "end": { - "line": 58, + "line": 72, "column": 7 } } @@ -2859,16 +3594,16 @@ "type": "Identifier", "name": "hasClass", "range": [ - 1607, - 1615 + 1970, + 1978 ], "loc": { "start": { - "line": 63, + "line": 77, "column": 4 }, "end": { - "line": 63, + "line": 77, "column": 12 } } @@ -2881,16 +3616,16 @@ "type": "Identifier", "name": "ele", "range": [ - 1616, - 1619 + 1979, + 1982 ], "loc": { "start": { - "line": 63, + "line": 77, "column": 13 }, "end": { - "line": 63, + "line": 77, "column": 16 } } @@ -2899,16 +3634,16 @@ "type": "Identifier", "name": "cls", "range": [ - 1621, - 1624 + 1984, + 1987 ], "loc": { "start": { - "line": 63, + "line": 77, "column": 18 }, "end": { - "line": 63, + "line": 77, "column": 21 } } @@ -2926,32 +3661,32 @@ "type": "Identifier", "name": "ele", "range": [ - 1639, - 1642 + 2002, + 2005 ], "loc": { "start": { - "line": 64, + "line": 78, "column": 12 }, "end": { - "line": 64, + "line": 78, "column": 15 } } }, "prefix": true, "range": [ - 1638, - 1642 + 2001, + 2005 ], "loc": { "start": { - "line": 64, + "line": 78, "column": 11 }, "end": { - "line": 64, + "line": 78, "column": 15 } } @@ -2966,63 +3701,63 @@ "value": false, "raw": "false", "range": [ - 1652, - 1657 + 2015, + 2020 ], "loc": { "start": { - "line": 64, + "line": 78, "column": 25 }, "end": { - "line": 64, + "line": 78, "column": 30 } } }, "range": [ - 1645, - 1658 + 2008, + 2021 ], "loc": { "start": { - "line": 64, + "line": 78, "column": 18 }, "end": { - "line": 64, + "line": 78, "column": 31 } } } ], "range": [ - 1643, - 1660 + 2006, + 2023 ], "loc": { "start": { - "line": 64, + "line": 78, "column": 16 }, "end": { - "line": 64, + "line": 78, "column": 33 } } }, "alternate": null, "range": [ - 1635, - 1660 + 1998, + 2023 ], "loc": { "start": { - "line": 64, + "line": 78, "column": 8 }, "end": { - "line": 64, + "line": 78, "column": 33 } } @@ -3035,32 +3770,32 @@ "type": "Identifier", "name": "supportsClassList", "range": [ - 1673, - 1690 + 2036, + 2053 ], "loc": { "start": { - "line": 66, + "line": 80, "column": 11 }, "end": { - "line": 66, + "line": 80, "column": 28 } } }, "arguments": [], "range": [ - 1673, - 1692 + 2036, + 2055 ], "loc": { "start": { - "line": 66, + "line": 80, "column": 11 }, "end": { - "line": 66, + "line": 80, "column": 30 } } @@ -3082,16 +3817,16 @@ "type": "Identifier", "name": "ele", "range": [ - 1714, - 1717 + 2077, + 2080 ], "loc": { "start": { - "line": 67, + "line": 81, "column": 19 }, "end": { - "line": 67, + "line": 81, "column": 22 } } @@ -3100,31 +3835,31 @@ "type": "Identifier", "name": "classList", "range": [ - 1718, - 1727 + 2081, + 2090 ], "loc": { "start": { - "line": 67, + "line": 81, "column": 23 }, "end": { - "line": 67, + "line": 81, "column": 32 } } }, "range": [ - 1714, - 1727 + 2077, + 2090 ], "loc": { "start": { - "line": 67, + "line": 81, "column": 19 }, "end": { - "line": 67, + "line": 81, "column": 32 } } @@ -3133,31 +3868,31 @@ "type": "Identifier", "name": "contains", "range": [ - 1728, - 1736 + 2091, + 2099 ], "loc": { "start": { - "line": 67, + "line": 81, "column": 33 }, "end": { - "line": 67, + "line": 81, "column": 41 } } }, "range": [ - 1714, - 1736 + 2077, + 2099 ], "loc": { "start": { - "line": 67, + "line": 81, "column": 19 }, "end": { - "line": 67, + "line": 81, "column": 41 } } @@ -3167,79 +3902,79 @@ "type": "Identifier", "name": "cls", "range": [ - 1737, - 1740 + 2100, + 2103 ], "loc": { "start": { - "line": 67, + "line": 81, "column": 42 }, "end": { - "line": 67, + "line": 81, "column": 45 } } } ], "range": [ - 1714, - 1741 + 2077, + 2104 ], "loc": { "start": { - "line": 67, + "line": 81, "column": 19 }, "end": { - "line": 67, + "line": 81, "column": 46 } } }, "range": [ - 1707, - 1742 + 2070, + 2105 ], "loc": { "start": { - "line": 67, + "line": 81, "column": 12 }, "end": { - "line": 67, + "line": 81, "column": 47 } } } ], "range": [ - 1693, - 1752 + 2056, + 2115 ], "loc": { "start": { - "line": 66, + "line": 80, "column": 31 }, "end": { - "line": 68, + "line": 82, "column": 9 } } }, "alternate": null, "range": [ - 1670, - 1752 + 2033, + 2115 ], "loc": { "start": { - "line": 66, + "line": 80, "column": 8 }, "end": { - "line": 68, + "line": 82, "column": 9 } } @@ -3258,16 +3993,16 @@ "type": "Identifier", "name": "ele", "range": [ - 1768, - 1771 + 2131, + 2134 ], "loc": { "start": { - "line": 69, + "line": 83, "column": 15 }, "end": { - "line": 69, + "line": 83, "column": 18 } } @@ -3276,31 +4011,31 @@ "type": "Identifier", "name": "className", "range": [ - 1772, - 1781 + 2135, + 2144 ], "loc": { "start": { - "line": 69, + "line": 83, "column": 19 }, "end": { - "line": 69, + "line": 83, "column": 28 } } }, "range": [ - 1768, - 1781 + 2131, + 2144 ], "loc": { "start": { - "line": 69, + "line": 83, "column": 15 }, "end": { - "line": 69, + "line": 83, "column": 28 } } @@ -3309,31 +4044,31 @@ "type": "Identifier", "name": "match", "range": [ - 1782, - 1787 + 2145, + 2150 ], "loc": { "start": { - "line": 69, + "line": 83, "column": 29 }, "end": { - "line": 69, + "line": 83, "column": 34 } } }, "range": [ - 1768, - 1787 + 2131, + 2150 ], "loc": { "start": { - "line": 69, + "line": 83, "column": 15 }, "end": { - "line": 69, + "line": 83, "column": 34 } } @@ -3345,16 +4080,16 @@ "type": "Identifier", "name": "RegExp", "range": [ - 1792, - 1798 + 2155, + 2161 ], "loc": { "start": { - "line": 69, + "line": 83, "column": 39 }, "end": { - "line": 69, + "line": 83, "column": 45 } } @@ -3371,16 +4106,16 @@ "value": "(\\s|^)", "raw": "'(\\\\s|^)'", "range": [ - 1799, - 1808 + 2162, + 2171 ], "loc": { "start": { - "line": 69, + "line": 83, "column": 46 }, "end": { - "line": 69, + "line": 83, "column": 55 } } @@ -3389,31 +4124,31 @@ "type": "Identifier", "name": "cls", "range": [ - 1810, - 1813 + 2173, + 2176 ], "loc": { "start": { - "line": 69, + "line": 83, "column": 57 }, "end": { - "line": 69, + "line": 83, "column": 60 } } }, "range": [ - 1799, - 1813 + 2162, + 2176 ], "loc": { "start": { - "line": 69, + "line": 83, "column": 46 }, "end": { - "line": 69, + "line": 83, "column": 60 } } @@ -3423,94 +4158,94 @@ "value": "(\\s|$)", "raw": "'(\\\\s|$)'", "range": [ - 1815, - 1824 + 2178, + 2187 ], "loc": { "start": { - "line": 69, + "line": 83, "column": 62 }, "end": { - "line": 69, + "line": 83, "column": 71 } } }, "range": [ - 1799, - 1824 + 2162, + 2187 ], "loc": { "start": { - "line": 69, + "line": 83, "column": 46 }, "end": { - "line": 69, + "line": 83, "column": 71 } } } ], "range": [ - 1788, - 1825 + 2151, + 2188 ], "loc": { "start": { - "line": 69, + "line": 83, "column": 35 }, "end": { - "line": 69, + "line": 83, "column": 72 } } } ], "range": [ - 1768, - 1826 + 2131, + 2189 ], "loc": { "start": { - "line": 69, + "line": 83, "column": 15 }, "end": { - "line": 69, + "line": 83, "column": 73 } } }, "range": [ - 1761, - 1827 + 2124, + 2190 ], "loc": { "start": { - "line": 69, + "line": 83, "column": 8 }, "end": { - "line": 69, + "line": 83, "column": 74 } } } ], "range": [ - 1625, - 1833 + 1988, + 2196 ], "loc": { "start": { - "line": 63, + "line": 77, "column": 22 }, "end": { - "line": 70, + "line": 84, "column": 5 } } @@ -3518,16 +4253,16 @@ "generator": false, "expression": false, "range": [ - 1615, - 1833 + 1978, + 2196 ], "loc": { "start": { - "line": 63, + "line": 77, "column": 12 }, "end": { - "line": 70, + "line": 84, "column": 5 } } @@ -3537,16 +4272,16 @@ "shorthand": false, "computed": false, "range": [ - 1607, - 1833 + 1970, + 2196 ], "loc": { "start": { - "line": 63, + "line": 77, "column": 4 }, "end": { - "line": 70, + "line": 84, "column": 5 } } @@ -3557,16 +4292,16 @@ "type": "Identifier", "name": "addClass", "range": [ - 1840, - 1848 + 2203, + 2211 ], "loc": { "start": { - "line": 72, + "line": 86, "column": 4 }, "end": { - "line": 72, + "line": 86, "column": 12 } } @@ -3579,16 +4314,16 @@ "type": "Identifier", "name": "ele", "range": [ - 1849, - 1852 + 2212, + 2215 ], "loc": { "start": { - "line": 72, + "line": 86, "column": 13 }, "end": { - "line": 72, + "line": 86, "column": 16 } } @@ -3597,16 +4332,16 @@ "type": "Identifier", "name": "cls", "range": [ - 1854, - 1857 + 2217, + 2220 ], "loc": { "start": { - "line": 72, + "line": 86, "column": 18 }, "end": { - "line": 72, + "line": 86, "column": 21 } } @@ -3624,32 +4359,32 @@ "type": "Identifier", "name": "ele", "range": [ - 1872, - 1875 + 2235, + 2238 ], "loc": { "start": { - "line": 73, + "line": 87, "column": 12 }, "end": { - "line": 73, + "line": 87, "column": 15 } } }, "prefix": true, "range": [ - 1871, - 1875 + 2234, + 2238 ], "loc": { "start": { - "line": 73, + "line": 87, "column": 11 }, "end": { - "line": 73, + "line": 87, "column": 15 } } @@ -3661,48 +4396,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 1878, - 1885 + 2241, + 2248 ], "loc": { "start": { - "line": 73, + "line": 87, "column": 18 }, "end": { - "line": 73, + "line": 87, "column": 25 } } } ], "range": [ - 1876, - 1887 + 2239, + 2250 ], "loc": { "start": { - "line": 73, + "line": 87, "column": 16 }, "end": { - "line": 73, + "line": 87, "column": 27 } } }, "alternate": null, "range": [ - 1868, - 1887 + 2231, + 2250 ], "loc": { "start": { - "line": 73, + "line": 87, "column": 8 }, "end": { - "line": 73, + "line": 87, "column": 27 } } @@ -3715,32 +4450,32 @@ "type": "Identifier", "name": "supportsClassList", "range": [ - 1900, - 1917 + 2263, + 2280 ], "loc": { "start": { - "line": 75, + "line": 89, "column": 11 }, "end": { - "line": 75, + "line": 89, "column": 28 } } }, "arguments": [], "range": [ - 1900, - 1919 + 2263, + 2282 ], "loc": { "start": { - "line": 75, + "line": 89, "column": 11 }, "end": { - "line": 75, + "line": 89, "column": 30 } } @@ -3762,16 +4497,16 @@ "type": "Identifier", "name": "ele", "range": [ - 1934, - 1937 + 2297, + 2300 ], "loc": { "start": { - "line": 76, + "line": 90, "column": 12 }, "end": { - "line": 76, + "line": 90, "column": 15 } } @@ -3780,31 +4515,31 @@ "type": "Identifier", "name": "classList", "range": [ - 1938, - 1947 + 2301, + 2310 ], "loc": { "start": { - "line": 76, + "line": 90, "column": 16 }, "end": { - "line": 76, + "line": 90, "column": 25 } } }, "range": [ - 1934, - 1947 + 2297, + 2310 ], "loc": { "start": { - "line": 76, + "line": 90, "column": 12 }, "end": { - "line": 76, + "line": 90, "column": 25 } } @@ -3813,31 +4548,31 @@ "type": "Identifier", "name": "add", "range": [ - 1948, - 1951 + 2311, + 2314 ], "loc": { "start": { - "line": 76, + "line": 90, "column": 26 }, "end": { - "line": 76, + "line": 90, "column": 29 } } }, "range": [ - 1934, - 1951 + 2297, + 2314 ], "loc": { "start": { - "line": 76, + "line": 90, "column": 12 }, "end": { - "line": 76, + "line": 90, "column": 29 } } @@ -3847,47 +4582,47 @@ "type": "Identifier", "name": "cls", "range": [ - 1952, - 1955 + 2315, + 2318 ], "loc": { "start": { - "line": 76, + "line": 90, "column": 30 }, "end": { - "line": 76, + "line": 90, "column": 33 } } } ], "range": [ - 1934, - 1956 + 2297, + 2319 ], "loc": { "start": { - "line": 76, + "line": 90, "column": 12 }, "end": { - "line": 76, + "line": 90, "column": 34 } } }, "range": [ - 1934, - 1957 + 2297, + 2320 ], "loc": { "start": { - "line": 76, + "line": 90, "column": 12 }, "end": { - "line": 76, + "line": 90, "column": 35 } } @@ -3896,48 +4631,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 1970, - 1977 + 2333, + 2340 ], "loc": { "start": { - "line": 77, + "line": 91, "column": 12 }, "end": { - "line": 77, + "line": 91, "column": 19 } } } ], "range": [ - 1920, - 1987 + 2283, + 2350 ], "loc": { "start": { - "line": 75, + "line": 89, "column": 31 }, "end": { - "line": 78, + "line": 92, "column": 9 } } }, "alternate": null, "range": [ - 1897, - 1987 + 2260, + 2350 ], "loc": { "start": { - "line": 75, + "line": 89, "column": 8 }, "end": { - "line": 78, + "line": 92, "column": 9 } } @@ -3954,16 +4689,16 @@ "type": "Identifier", "name": "ele", "range": [ - 2000, - 2003 + 2363, + 2366 ], "loc": { "start": { - "line": 80, + "line": 94, "column": 11 }, "end": { - "line": 80, + "line": 94, "column": 14 } } @@ -3972,31 +4707,31 @@ "type": "Identifier", "name": "className", "range": [ - 2004, - 2013 + 2367, + 2376 ], "loc": { "start": { - "line": 80, + "line": 94, "column": 15 }, "end": { - "line": 80, + "line": 94, "column": 24 } } }, "range": [ - 2000, - 2013 + 2363, + 2376 ], "loc": { "start": { - "line": 80, + "line": 94, "column": 11 }, "end": { - "line": 80, + "line": 94, "column": 24 } } @@ -4006,31 +4741,31 @@ "value": "", "raw": "''", "range": [ - 2018, - 2020 + 2381, + 2383 ], "loc": { "start": { - "line": 80, + "line": 94, "column": 29 }, "end": { - "line": 80, + "line": 94, "column": 31 } } }, "range": [ - 2000, - 2020 + 2363, + 2383 ], "loc": { "start": { - "line": 80, + "line": 94, "column": 11 }, "end": { - "line": 80, + "line": 94, "column": 31 } } @@ -4050,16 +4785,16 @@ "type": "Identifier", "name": "ele", "range": [ - 2035, - 2038 + 2398, + 2401 ], "loc": { "start": { - "line": 81, + "line": 95, "column": 12 }, "end": { - "line": 81, + "line": 95, "column": 15 } } @@ -4068,31 +4803,31 @@ "type": "Identifier", "name": "className", "range": [ - 2039, - 2048 + 2402, + 2411 ], "loc": { "start": { - "line": 81, + "line": 95, "column": 16 }, "end": { - "line": 81, + "line": 95, "column": 25 } } }, "range": [ - 2035, - 2048 + 2398, + 2411 ], "loc": { "start": { - "line": 81, + "line": 95, "column": 12 }, "end": { - "line": 81, + "line": 95, "column": 25 } } @@ -4101,62 +4836,62 @@ "type": "Identifier", "name": "cls", "range": [ - 2051, - 2054 + 2414, + 2417 ], "loc": { "start": { - "line": 81, + "line": 95, "column": 28 }, "end": { - "line": 81, + "line": 95, "column": 31 } } }, "range": [ - 2035, - 2054 + 2398, + 2417 ], "loc": { "start": { - "line": 81, + "line": 95, "column": 12 }, "end": { - "line": 81, + "line": 95, "column": 31 } } }, "range": [ - 2035, - 2055 + 2398, + 2418 ], "loc": { "start": { - "line": 81, + "line": 95, "column": 12 }, "end": { - "line": 81, + "line": 95, "column": 32 } } } ], "range": [ - 2021, - 2065 + 2384, + 2428 ], "loc": { "start": { - "line": 80, + "line": 94, "column": 32 }, "end": { - "line": 82, + "line": 96, "column": 9 } } @@ -4174,16 +4909,16 @@ "object": { "type": "ThisExpression", "range": [ - 2083, - 2087 + 2446, + 2450 ], "loc": { "start": { - "line": 83, + "line": 97, "column": 17 }, "end": { - "line": 83, + "line": 97, "column": 21 } } @@ -4192,31 +4927,31 @@ "type": "Identifier", "name": "hasClass", "range": [ - 2088, - 2096 + 2451, + 2459 ], "loc": { "start": { - "line": 83, + "line": 97, "column": 22 }, "end": { - "line": 83, + "line": 97, "column": 30 } } }, "range": [ - 2083, - 2096 + 2446, + 2459 ], "loc": { "start": { - "line": 83, + "line": 97, "column": 17 }, "end": { - "line": 83, + "line": 97, "column": 30 } } @@ -4226,16 +4961,16 @@ "type": "Identifier", "name": "ele", "range": [ - 2097, - 2100 + 2460, + 2463 ], "loc": { "start": { - "line": 83, + "line": 97, "column": 31 }, "end": { - "line": 83, + "line": 97, "column": 34 } } @@ -4244,48 +4979,48 @@ "type": "Identifier", "name": "cls", "range": [ - 2102, - 2105 + 2465, + 2468 ], "loc": { "start": { - "line": 83, + "line": 97, "column": 36 }, "end": { - "line": 83, + "line": 97, "column": 39 } } } ], "range": [ - 2083, - 2106 + 2446, + 2469 ], "loc": { "start": { - "line": 83, + "line": 97, "column": 17 }, "end": { - "line": 83, + "line": 97, "column": 40 } } }, "prefix": true, "range": [ - 2082, - 2106 + 2445, + 2469 ], "loc": { "start": { - "line": 83, + "line": 97, "column": 16 }, "end": { - "line": 83, + "line": 97, "column": 40 } } @@ -4305,16 +5040,16 @@ "type": "Identifier", "name": "ele", "range": [ - 2121, - 2124 + 2484, + 2487 ], "loc": { "start": { - "line": 84, + "line": 98, "column": 12 }, "end": { - "line": 84, + "line": 98, "column": 15 } } @@ -4323,31 +5058,31 @@ "type": "Identifier", "name": "className", "range": [ - 2125, - 2134 + 2488, + 2497 ], "loc": { "start": { - "line": 84, + "line": 98, "column": 16 }, "end": { - "line": 84, + "line": 98, "column": 25 } } }, "range": [ - 2121, - 2134 + 2484, + 2497 ], "loc": { "start": { - "line": 84, + "line": 98, "column": 12 }, "end": { - "line": 84, + "line": 98, "column": 25 } } @@ -4360,16 +5095,16 @@ "value": " ", "raw": "' '", "range": [ - 2138, - 2141 + 2501, + 2504 ], "loc": { "start": { - "line": 84, + "line": 98, "column": 29 }, "end": { - "line": 84, + "line": 98, "column": 32 } } @@ -4378,124 +5113,124 @@ "type": "Identifier", "name": "cls", "range": [ - 2144, - 2147 + 2507, + 2510 ], "loc": { "start": { - "line": 84, + "line": 98, "column": 35 }, "end": { - "line": 84, + "line": 98, "column": 38 } } }, "range": [ - 2138, - 2147 + 2501, + 2510 ], "loc": { "start": { - "line": 84, + "line": 98, "column": 29 }, "end": { - "line": 84, + "line": 98, "column": 38 } } }, "range": [ - 2121, - 2147 + 2484, + 2510 ], "loc": { "start": { - "line": 84, + "line": 98, "column": 12 }, "end": { - "line": 84, + "line": 98, "column": 38 } } }, "range": [ - 2121, - 2148 + 2484, + 2511 ], "loc": { "start": { - "line": 84, + "line": 98, "column": 12 }, "end": { - "line": 84, + "line": 98, "column": 39 } } } ], "range": [ - 2107, - 2158 + 2470, + 2521 ], "loc": { "start": { - "line": 83, + "line": 97, "column": 41 }, "end": { - "line": 85, + "line": 99, "column": 9 } } }, "alternate": null, "range": [ - 2079, - 2158 + 2442, + 2521 ], "loc": { "start": { - "line": 83, + "line": 97, "column": 13 }, "end": { - "line": 85, + "line": 99, "column": 9 } } }, "range": [ - 1997, - 2158 + 2360, + 2521 ], "loc": { "start": { - "line": 80, + "line": 94, "column": 8 }, "end": { - "line": 85, + "line": 99, "column": 9 } } } ], "range": [ - 1858, - 2164 + 2221, + 2527 ], "loc": { "start": { - "line": 72, + "line": 86, "column": 22 }, "end": { - "line": 86, + "line": 100, "column": 5 } } @@ -4503,16 +5238,16 @@ "generator": false, "expression": false, "range": [ - 1848, - 2164 + 2211, + 2527 ], "loc": { "start": { - "line": 72, + "line": 86, "column": 12 }, "end": { - "line": 86, + "line": 100, "column": 5 } } @@ -4522,16 +5257,16 @@ "shorthand": false, "computed": false, "range": [ - 1840, - 2164 + 2203, + 2527 ], "loc": { "start": { - "line": 72, + "line": 86, "column": 4 }, "end": { - "line": 86, + "line": 100, "column": 5 } } @@ -4542,16 +5277,16 @@ "type": "Identifier", "name": "removeClass", "range": [ - 2171, - 2182 + 2534, + 2545 ], "loc": { "start": { - "line": 88, + "line": 102, "column": 4 }, "end": { - "line": 88, + "line": 102, "column": 15 } } @@ -4564,16 +5299,16 @@ "type": "Identifier", "name": "ele", "range": [ - 2183, - 2186 + 2546, + 2549 ], "loc": { "start": { - "line": 88, + "line": 102, "column": 16 }, "end": { - "line": 88, + "line": 102, "column": 19 } } @@ -4582,16 +5317,16 @@ "type": "Identifier", "name": "cls", "range": [ - 2188, - 2191 + 2551, + 2554 ], "loc": { "start": { - "line": 88, + "line": 102, "column": 21 }, "end": { - "line": 88, + "line": 102, "column": 24 } } @@ -4609,32 +5344,32 @@ "type": "Identifier", "name": "ele", "range": [ - 2206, - 2209 + 2569, + 2572 ], "loc": { "start": { - "line": 89, + "line": 103, "column": 12 }, "end": { - "line": 89, + "line": 103, "column": 15 } } }, "prefix": true, "range": [ - 2205, - 2209 + 2568, + 2572 ], "loc": { "start": { - "line": 89, + "line": 103, "column": 11 }, "end": { - "line": 89, + "line": 103, "column": 15 } } @@ -4646,48 +5381,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 2212, - 2219 + 2575, + 2582 ], "loc": { "start": { - "line": 89, + "line": 103, "column": 18 }, "end": { - "line": 89, + "line": 103, "column": 25 } } } ], "range": [ - 2210, - 2221 + 2573, + 2584 ], "loc": { "start": { - "line": 89, + "line": 103, "column": 16 }, "end": { - "line": 89, + "line": 103, "column": 27 } } }, "alternate": null, "range": [ - 2202, - 2221 + 2565, + 2584 ], "loc": { "start": { - "line": 89, + "line": 103, "column": 8 }, "end": { - "line": 89, + "line": 103, "column": 27 } } @@ -4700,32 +5435,32 @@ "type": "Identifier", "name": "supportsClassList", "range": [ - 2234, - 2251 + 2597, + 2614 ], "loc": { "start": { - "line": 91, + "line": 105, "column": 11 }, "end": { - "line": 91, + "line": 105, "column": 28 } } }, "arguments": [], "range": [ - 2234, - 2253 + 2597, + 2616 ], "loc": { "start": { - "line": 91, + "line": 105, "column": 11 }, "end": { - "line": 91, + "line": 105, "column": 30 } } @@ -4747,16 +5482,16 @@ "type": "Identifier", "name": "ele", "range": [ - 2268, - 2271 + 2631, + 2634 ], "loc": { "start": { - "line": 92, + "line": 106, "column": 12 }, "end": { - "line": 92, + "line": 106, "column": 15 } } @@ -4765,31 +5500,31 @@ "type": "Identifier", "name": "classList", "range": [ - 2272, - 2281 + 2635, + 2644 ], "loc": { "start": { - "line": 92, + "line": 106, "column": 16 }, "end": { - "line": 92, + "line": 106, "column": 25 } } }, "range": [ - 2268, - 2281 + 2631, + 2644 ], "loc": { "start": { - "line": 92, + "line": 106, "column": 12 }, "end": { - "line": 92, + "line": 106, "column": 25 } } @@ -4798,31 +5533,31 @@ "type": "Identifier", "name": "remove", "range": [ - 2282, - 2288 + 2645, + 2651 ], "loc": { "start": { - "line": 92, + "line": 106, "column": 26 }, "end": { - "line": 92, + "line": 106, "column": 32 } } }, "range": [ - 2268, - 2288 + 2631, + 2651 ], "loc": { "start": { - "line": 92, + "line": 106, "column": 12 }, "end": { - "line": 92, + "line": 106, "column": 32 } } @@ -4832,47 +5567,47 @@ "type": "Identifier", "name": "cls", "range": [ - 2289, - 2292 + 2652, + 2655 ], "loc": { "start": { - "line": 92, + "line": 106, "column": 33 }, "end": { - "line": 92, + "line": 106, "column": 36 } } } ], "range": [ - 2268, - 2293 + 2631, + 2656 ], "loc": { "start": { - "line": 92, + "line": 106, "column": 12 }, "end": { - "line": 92, + "line": 106, "column": 37 } } }, "range": [ - 2268, - 2294 + 2631, + 2657 ], "loc": { "start": { - "line": 92, + "line": 106, "column": 12 }, "end": { - "line": 92, + "line": 106, "column": 38 } } @@ -4881,48 +5616,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 2307, - 2314 + 2670, + 2677 ], "loc": { "start": { - "line": 93, + "line": 107, "column": 12 }, "end": { - "line": 93, + "line": 107, "column": 19 } } } ], "range": [ - 2254, - 2324 + 2617, + 2687 ], "loc": { "start": { - "line": 91, + "line": 105, "column": 31 }, "end": { - "line": 94, + "line": 108, "column": 9 } } }, "alternate": null, "range": [ - 2231, - 2324 + 2594, + 2687 ], "loc": { "start": { - "line": 91, + "line": 105, "column": 8 }, "end": { - "line": 94, + "line": 108, "column": 9 } } @@ -4936,16 +5671,16 @@ "type": "Identifier", "name": "reg", "range": [ - 2337, - 2340 + 2700, + 2703 ], "loc": { "start": { - "line": 95, + "line": 109, "column": 12 }, "end": { - "line": 95, + "line": 109, "column": 15 } } @@ -4956,16 +5691,16 @@ "type": "Identifier", "name": "RegExp", "range": [ - 2347, - 2353 + 2710, + 2716 ], "loc": { "start": { - "line": 95, + "line": 109, "column": 22 }, "end": { - "line": 95, + "line": 109, "column": 28 } } @@ -4982,16 +5717,16 @@ "value": "(\\s|^)", "raw": "'(\\\\s|^)'", "range": [ - 2354, - 2363 + 2717, + 2726 ], "loc": { "start": { - "line": 95, + "line": 109, "column": 29 }, "end": { - "line": 95, + "line": 109, "column": 38 } } @@ -5000,31 +5735,31 @@ "type": "Identifier", "name": "cls", "range": [ - 2365, - 2368 + 2728, + 2731 ], "loc": { "start": { - "line": 95, + "line": 109, "column": 40 }, "end": { - "line": 95, + "line": 109, "column": 43 } } }, "range": [ - 2354, - 2368 + 2717, + 2731 ], "loc": { "start": { - "line": 95, + "line": 109, "column": 29 }, "end": { - "line": 95, + "line": 109, "column": 43 } } @@ -5034,31 +5769,31 @@ "value": "(\\s|$)", "raw": "'(\\\\s|$)'", "range": [ - 2370, - 2379 + 2733, + 2742 ], "loc": { "start": { - "line": 95, + "line": 109, "column": 45 }, "end": { - "line": 95, + "line": 109, "column": 54 } } }, "range": [ - 2354, - 2379 + 2717, + 2742 ], "loc": { "start": { - "line": 95, + "line": 109, "column": 29 }, "end": { - "line": 95, + "line": 109, "column": 54 } } @@ -5068,47 +5803,47 @@ "value": "g", "raw": "'g'", "range": [ - 2381, - 2384 + 2744, + 2747 ], "loc": { "start": { - "line": 95, + "line": 109, "column": 56 }, "end": { - "line": 95, + "line": 109, "column": 59 } } } ], "range": [ - 2343, - 2385 + 2706, + 2748 ], "loc": { "start": { - "line": 95, + "line": 109, "column": 18 }, "end": { - "line": 95, + "line": 109, "column": 60 } } }, "range": [ - 2337, - 2385 + 2700, + 2748 ], "loc": { "start": { - "line": 95, + "line": 109, "column": 12 }, "end": { - "line": 95, + "line": 109, "column": 60 } } @@ -5116,16 +5851,16 @@ ], "kind": "let", "range": [ - 2333, - 2386 + 2696, + 2749 ], "loc": { "start": { - "line": 95, + "line": 109, "column": 8 }, "end": { - "line": 95, + "line": 109, "column": 61 } } @@ -5142,16 +5877,16 @@ "type": "Identifier", "name": "ele", "range": [ - 2395, - 2398 + 2758, + 2761 ], "loc": { "start": { - "line": 96, + "line": 110, "column": 8 }, "end": { - "line": 96, + "line": 110, "column": 11 } } @@ -5160,31 +5895,31 @@ "type": "Identifier", "name": "className", "range": [ - 2399, - 2408 + 2762, + 2771 ], "loc": { "start": { - "line": 96, + "line": 110, "column": 12 }, "end": { - "line": 96, + "line": 110, "column": 21 } } }, "range": [ - 2395, - 2408 + 2758, + 2771 ], "loc": { "start": { - "line": 96, + "line": 110, "column": 8 }, "end": { - "line": 96, + "line": 110, "column": 21 } } @@ -5201,16 +5936,16 @@ "type": "Identifier", "name": "ele", "range": [ - 2411, - 2414 + 2774, + 2777 ], "loc": { "start": { - "line": 96, + "line": 110, "column": 24 }, "end": { - "line": 96, + "line": 110, "column": 27 } } @@ -5219,31 +5954,31 @@ "type": "Identifier", "name": "className", "range": [ - 2415, - 2424 + 2778, + 2787 ], "loc": { "start": { - "line": 96, + "line": 110, "column": 28 }, "end": { - "line": 96, + "line": 110, "column": 37 } } }, "range": [ - 2411, - 2424 + 2774, + 2787 ], "loc": { "start": { - "line": 96, + "line": 110, "column": 24 }, "end": { - "line": 96, + "line": 110, "column": 37 } } @@ -5252,31 +5987,31 @@ "type": "Identifier", "name": "replace", "range": [ - 2425, - 2432 + 2788, + 2795 ], "loc": { "start": { - "line": 96, + "line": 110, "column": 38 }, "end": { - "line": 96, + "line": 110, "column": 45 } } }, "range": [ - 2411, - 2432 + 2774, + 2795 ], "loc": { "start": { - "line": 96, + "line": 110, "column": 24 }, "end": { - "line": 96, + "line": 110, "column": 45 } } @@ -5286,16 +6021,16 @@ "type": "Identifier", "name": "reg", "range": [ - 2433, - 2436 + 2796, + 2799 ], "loc": { "start": { - "line": 96, + "line": 110, "column": 46 }, "end": { - "line": 96, + "line": 110, "column": 49 } } @@ -5305,78 +6040,78 @@ "value": "", "raw": "''", "range": [ - 2438, - 2440 + 2801, + 2803 ], "loc": { "start": { - "line": 96, + "line": 110, "column": 51 }, "end": { - "line": 96, + "line": 110, "column": 53 } } } ], "range": [ - 2411, - 2441 + 2774, + 2804 ], "loc": { "start": { - "line": 96, + "line": 110, "column": 24 }, "end": { - "line": 96, + "line": 110, "column": 54 } } }, "range": [ - 2395, - 2441 + 2758, + 2804 ], "loc": { "start": { - "line": 96, + "line": 110, "column": 8 }, "end": { - "line": 96, + "line": 110, "column": 54 } } }, "range": [ - 2395, - 2442 + 2758, + 2805 ], "loc": { "start": { - "line": 96, + "line": 110, "column": 8 }, "end": { - "line": 96, + "line": 110, "column": 55 } } } ], "range": [ - 2192, - 2448 + 2555, + 2811 ], "loc": { "start": { - "line": 88, + "line": 102, "column": 25 }, "end": { - "line": 97, + "line": 111, "column": 5 } } @@ -5384,16 +6119,16 @@ "generator": false, "expression": false, "range": [ - 2182, - 2448 + 2545, + 2811 ], "loc": { "start": { - "line": 88, + "line": 102, "column": 15 }, "end": { - "line": 97, + "line": 111, "column": 5 } } @@ -5403,16 +6138,16 @@ "shorthand": false, "computed": false, "range": [ - 2171, - 2448 + 2534, + 2811 ], "loc": { "start": { - "line": 88, + "line": 102, "column": 4 }, "end": { - "line": 97, + "line": 111, "column": 5 } } @@ -5423,16 +6158,16 @@ "type": "Identifier", "name": "createOpt", "range": [ - 2707, - 2716 + 3070, + 3079 ], "loc": { "start": { - "line": 106, + "line": 120, "column": 4 }, "end": { - "line": 106, + "line": 120, "column": 13 } } @@ -5445,16 +6180,16 @@ "type": "Identifier", "name": "text", "range": [ - 2717, - 2721 + 3080, + 3084 ], "loc": { "start": { - "line": 106, + "line": 120, "column": 14 }, "end": { - "line": 106, + "line": 120, "column": 18 } } @@ -5463,16 +6198,16 @@ "type": "Identifier", "name": "value", "range": [ - 2723, - 2728 + 3086, + 3091 ], "loc": { "start": { - "line": 106, + "line": 120, "column": 20 }, "end": { - "line": 106, + "line": 120, "column": 25 } } @@ -5481,16 +6216,16 @@ "type": "Identifier", "name": "isSel", "range": [ - 2730, - 2735 + 3093, + 3098 ], "loc": { "start": { - "line": 106, + "line": 120, "column": 27 }, "end": { - "line": 106, + "line": 120, "column": 32 } } @@ -5508,16 +6243,16 @@ "type": "Identifier", "name": "isSelected", "range": [ - 2750, - 2760 + 3113, + 3123 ], "loc": { "start": { - "line": 107, + "line": 121, "column": 12 }, "end": { - "line": 107, + "line": 121, "column": 22 } } @@ -5528,16 +6263,16 @@ "type": "Identifier", "name": "isSel", "range": [ - 2763, - 2768 + 3126, + 3131 ], "loc": { "start": { - "line": 107, + "line": 121, "column": 25 }, "end": { - "line": 107, + "line": 121, "column": 30 } } @@ -5547,16 +6282,16 @@ "value": true, "raw": "true", "range": [ - 2771, - 2775 + 3134, + 3138 ], "loc": { "start": { - "line": 107, + "line": 121, "column": 33 }, "end": { - "line": 107, + "line": 121, "column": 37 } } @@ -5566,46 +6301,46 @@ "value": false, "raw": "false", "range": [ - 2778, - 2783 + 3141, + 3146 ], "loc": { "start": { - "line": 107, + "line": 121, "column": 40 }, "end": { - "line": 107, + "line": 121, "column": 45 } } }, "range": [ - 2763, - 2783 + 3126, + 3146 ], "loc": { "start": { - "line": 107, + "line": 121, "column": 25 }, "end": { - "line": 107, + "line": 121, "column": 45 } } }, "range": [ - 2750, - 2783 + 3113, + 3146 ], "loc": { "start": { - "line": 107, + "line": 121, "column": 12 }, "end": { - "line": 107, + "line": 121, "column": 45 } } @@ -5616,16 +6351,16 @@ "type": "Identifier", "name": "opt", "range": [ - 2797, - 2800 + 3160, + 3163 ], "loc": { "start": { - "line": 108, + "line": 122, "column": 12 }, "end": { - "line": 108, + "line": 122, "column": 15 } } @@ -5636,16 +6371,16 @@ "type": "Identifier", "name": "isSelected", "range": [ - 2803, - 2813 + 3166, + 3176 ], "loc": { "start": { - "line": 108, + "line": 122, "column": 18 }, "end": { - "line": 108, + "line": 122, "column": 28 } } @@ -5658,16 +6393,16 @@ "object": { "type": "ThisExpression", "range": [ - 2832, - 2836 + 3195, + 3199 ], "loc": { "start": { - "line": 109, + "line": 123, "column": 16 }, "end": { - "line": 109, + "line": 123, "column": 20 } } @@ -5676,31 +6411,31 @@ "type": "Identifier", "name": "create", "range": [ - 2837, - 2843 + 3200, + 3206 ], "loc": { "start": { - "line": 109, + "line": 123, "column": 21 }, "end": { - "line": 109, + "line": 123, "column": 27 } } }, "range": [ - 2832, - 2843 + 3195, + 3206 ], "loc": { "start": { - "line": 109, + "line": 123, "column": 16 }, "end": { - "line": 109, + "line": 123, "column": 27 } } @@ -5711,16 +6446,16 @@ "value": "option", "raw": "'option'", "range": [ - 2844, - 2852 + 3207, + 3215 ], "loc": { "start": { - "line": 109, + "line": 123, "column": 28 }, "end": { - "line": 109, + "line": 123, "column": 36 } } @@ -5733,16 +6468,16 @@ "value": "value", "raw": "'value'", "range": [ - 2855, - 2862 + 3218, + 3225 ], "loc": { "start": { - "line": 109, + "line": 123, "column": 39 }, "end": { - "line": 109, + "line": 123, "column": 46 } } @@ -5751,32 +6486,32 @@ "type": "Identifier", "name": "value", "range": [ - 2863, - 2868 + 3226, + 3231 ], "loc": { "start": { - "line": 109, + "line": 123, "column": 47 }, "end": { - "line": 109, + "line": 123, "column": 52 } } } ], "range": [ - 2854, - 2869 + 3217, + 3232 ], "loc": { "start": { - "line": 109, + "line": 123, "column": 38 }, "end": { - "line": 109, + "line": 123, "column": 53 } } @@ -5789,16 +6524,16 @@ "value": "selected", "raw": "'selected'", "range": [ - 2872, - 2882 + 3235, + 3245 ], "loc": { "start": { - "line": 109, + "line": 123, "column": 56 }, "end": { - "line": 109, + "line": 123, "column": 66 } } @@ -5808,48 +6543,48 @@ "value": "true", "raw": "'true'", "range": [ - 2883, - 2889 + 3246, + 3252 ], "loc": { "start": { - "line": 109, + "line": 123, "column": 67 }, "end": { - "line": 109, + "line": 123, "column": 73 } } } ], "range": [ - 2871, - 2890 + 3234, + 3253 ], "loc": { "start": { - "line": 109, + "line": 123, "column": 55 }, "end": { - "line": 109, + "line": 123, "column": 74 } } } ], "range": [ - 2832, - 2891 + 3195, + 3254 ], "loc": { "start": { - "line": 109, + "line": 123, "column": 16 }, "end": { - "line": 109, + "line": 123, "column": 75 } } @@ -5862,16 +6597,16 @@ "object": { "type": "ThisExpression", "range": [ - 2910, - 2914 + 3273, + 3277 ], "loc": { "start": { - "line": 110, + "line": 124, "column": 16 }, "end": { - "line": 110, + "line": 124, "column": 20 } } @@ -5880,31 +6615,31 @@ "type": "Identifier", "name": "create", "range": [ - 2915, - 2921 + 3278, + 3284 ], "loc": { "start": { - "line": 110, + "line": 124, "column": 21 }, "end": { - "line": 110, + "line": 124, "column": 27 } } }, "range": [ - 2910, - 2921 + 3273, + 3284 ], "loc": { "start": { - "line": 110, + "line": 124, "column": 16 }, "end": { - "line": 110, + "line": 124, "column": 27 } } @@ -5915,16 +6650,16 @@ "value": "option", "raw": "'option'", "range": [ - 2922, - 2930 + 3285, + 3293 ], "loc": { "start": { - "line": 110, + "line": 124, "column": 28 }, "end": { - "line": 110, + "line": 124, "column": 36 } } @@ -5937,16 +6672,16 @@ "value": "value", "raw": "'value'", "range": [ - 2933, - 2940 + 3296, + 3303 ], "loc": { "start": { - "line": 110, + "line": 124, "column": 39 }, "end": { - "line": 110, + "line": 124, "column": 46 } } @@ -5955,78 +6690,78 @@ "type": "Identifier", "name": "value", "range": [ - 2941, - 2946 + 3304, + 3309 ], "loc": { "start": { - "line": 110, + "line": 124, "column": 47 }, "end": { - "line": 110, + "line": 124, "column": 52 } } } ], "range": [ - 2932, - 2947 + 3295, + 3310 ], "loc": { "start": { - "line": 110, + "line": 124, "column": 38 }, "end": { - "line": 110, + "line": 124, "column": 53 } } } ], "range": [ - 2910, - 2948 + 3273, + 3311 ], "loc": { "start": { - "line": 110, + "line": 124, "column": 16 }, "end": { - "line": 110, + "line": 124, "column": 54 } } }, "range": [ - 2803, - 2948 + 3166, + 3311 ], "loc": { "start": { - "line": 108, + "line": 122, "column": 18 }, "end": { - "line": 110, + "line": 124, "column": 54 } } }, "range": [ - 2797, - 2948 + 3160, + 3311 ], "loc": { "start": { - "line": 108, + "line": 122, "column": 12 }, "end": { - "line": 110, + "line": 124, "column": 54 } } @@ -6034,16 +6769,16 @@ ], "kind": "let", "range": [ - 2746, - 2949 + 3109, + 3312 ], "loc": { "start": { - "line": 107, + "line": 121, "column": 8 }, "end": { - "line": 110, + "line": 124, "column": 55 } } @@ -6059,16 +6794,16 @@ "type": "Identifier", "name": "opt", "range": [ - 2958, - 2961 + 3321, + 3324 ], "loc": { "start": { - "line": 111, + "line": 125, "column": 8 }, "end": { - "line": 111, + "line": 125, "column": 11 } } @@ -6077,31 +6812,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 2962, - 2973 + 3325, + 3336 ], "loc": { "start": { - "line": 111, + "line": 125, "column": 12 }, "end": { - "line": 111, + "line": 125, "column": 23 } } }, "range": [ - 2958, - 2973 + 3321, + 3336 ], "loc": { "start": { - "line": 111, + "line": 125, "column": 8 }, "end": { - "line": 111, + "line": 125, "column": 23 } } @@ -6115,16 +6850,16 @@ "object": { "type": "ThisExpression", "range": [ - 2974, - 2978 + 3337, + 3341 ], "loc": { "start": { - "line": 111, + "line": 125, "column": 24 }, "end": { - "line": 111, + "line": 125, "column": 28 } } @@ -6133,31 +6868,31 @@ "type": "Identifier", "name": "text", "range": [ - 2979, - 2983 + 3342, + 3346 ], "loc": { "start": { - "line": 111, + "line": 125, "column": 29 }, "end": { - "line": 111, + "line": 125, "column": 33 } } }, "range": [ - 2974, - 2983 + 3337, + 3346 ], "loc": { "start": { - "line": 111, + "line": 125, "column": 24 }, "end": { - "line": 111, + "line": 125, "column": 33 } } @@ -6167,63 +6902,63 @@ "type": "Identifier", "name": "text", "range": [ - 2984, - 2988 + 3347, + 3351 ], "loc": { "start": { - "line": 111, + "line": 125, "column": 34 }, "end": { - "line": 111, + "line": 125, "column": 38 } } } ], "range": [ - 2974, - 2989 + 3337, + 3352 ], "loc": { "start": { - "line": 111, + "line": 125, "column": 24 }, "end": { - "line": 111, + "line": 125, "column": 39 } } } ], "range": [ - 2958, - 2990 + 3321, + 3353 ], "loc": { "start": { - "line": 111, + "line": 125, "column": 8 }, "end": { - "line": 111, + "line": 125, "column": 40 } } }, "range": [ - 2958, - 2991 + 3321, + 3354 ], "loc": { "start": { - "line": 111, + "line": 125, "column": 8 }, "end": { - "line": 111, + "line": 125, "column": 41 } } @@ -6234,47 +6969,47 @@ "type": "Identifier", "name": "opt", "range": [ - 3007, - 3010 + 3370, + 3373 ], "loc": { "start": { - "line": 112, + "line": 126, "column": 15 }, "end": { - "line": 112, + "line": 126, "column": 18 } } }, "range": [ - 3000, - 3011 + 3363, + 3374 ], "loc": { "start": { - "line": 112, + "line": 126, "column": 8 }, "end": { - "line": 112, + "line": 126, "column": 19 } } } ], "range": [ - 2736, - 3017 + 3099, + 3380 ], "loc": { "start": { - "line": 106, + "line": 120, "column": 33 }, "end": { - "line": 113, + "line": 127, "column": 5 } } @@ -6282,16 +7017,16 @@ "generator": false, "expression": false, "range": [ - 2716, - 3017 + 3079, + 3380 ], "loc": { "start": { - "line": 106, + "line": 120, "column": 13 }, "end": { - "line": 113, + "line": 127, "column": 5 } } @@ -6301,16 +7036,16 @@ "shorthand": false, "computed": false, "range": [ - 2707, - 3017 + 3070, + 3380 ], "loc": { "start": { - "line": 106, + "line": 120, "column": 4 }, "end": { - "line": 113, + "line": 127, "column": 5 } }, @@ -6319,16 +7054,16 @@ "type": "Block", "value": "*\n * Creates and returns an option element\n * @param {String} text option text\n * @param {String} value option value\n * @param {Boolean} isSel whether option is selected\n * @return {Object} option element\n ", "range": [ - 2455, - 2702 + 2818, + 3065 ], "loc": { "start": { - "line": 99, + "line": 113, "column": 4 }, "end": { - "line": 105, + "line": 119, "column": 7 } } @@ -6341,16 +7076,16 @@ "type": "Identifier", "name": "createCheckItem", "range": [ - 3294, - 3309 + 3657, + 3672 ], "loc": { "start": { - "line": 122, + "line": 136, "column": 4 }, "end": { - "line": 122, + "line": 136, "column": 19 } } @@ -6363,16 +7098,16 @@ "type": "Identifier", "name": "chkIndex", "range": [ - 3310, - 3318 + 3673, + 3681 ], "loc": { "start": { - "line": 122, + "line": 136, "column": 20 }, "end": { - "line": 122, + "line": 136, "column": 28 } } @@ -6381,16 +7116,16 @@ "type": "Identifier", "name": "chkValue", "range": [ - 3320, - 3328 + 3683, + 3691 ], "loc": { "start": { - "line": 122, + "line": 136, "column": 30 }, "end": { - "line": 122, + "line": 136, "column": 38 } } @@ -6399,16 +7134,16 @@ "type": "Identifier", "name": "labelText", "range": [ - 3330, - 3339 + 3693, + 3702 ], "loc": { "start": { - "line": 122, + "line": 136, "column": 40 }, "end": { - "line": 122, + "line": 136, "column": 49 } } @@ -6426,16 +7161,16 @@ "type": "Identifier", "name": "li", "range": [ - 3354, - 3356 + 3717, + 3719 ], "loc": { "start": { - "line": 123, + "line": 137, "column": 12 }, "end": { - "line": 123, + "line": 137, "column": 14 } } @@ -6448,16 +7183,16 @@ "object": { "type": "ThisExpression", "range": [ - 3359, - 3363 + 3722, + 3726 ], "loc": { "start": { - "line": 123, + "line": 137, "column": 17 }, "end": { - "line": 123, + "line": 137, "column": 21 } } @@ -6466,31 +7201,31 @@ "type": "Identifier", "name": "create", "range": [ - 3364, - 3370 + 3727, + 3733 ], "loc": { "start": { - "line": 123, + "line": 137, "column": 22 }, "end": { - "line": 123, + "line": 137, "column": 28 } } }, "range": [ - 3359, - 3370 + 3722, + 3733 ], "loc": { "start": { - "line": 123, + "line": 137, "column": 17 }, "end": { - "line": 123, + "line": 137, "column": 28 } } @@ -6501,47 +7236,47 @@ "value": "li", "raw": "'li'", "range": [ - 3371, - 3375 + 3734, + 3738 ], "loc": { "start": { - "line": 123, + "line": 137, "column": 29 }, "end": { - "line": 123, + "line": 137, "column": 33 } } } ], "range": [ - 3359, - 3376 + 3722, + 3739 ], "loc": { "start": { - "line": 123, + "line": 137, "column": 17 }, "end": { - "line": 123, + "line": 137, "column": 34 } } }, "range": [ - 3354, - 3376 + 3717, + 3739 ], "loc": { "start": { - "line": 123, + "line": 137, "column": 12 }, "end": { - "line": 123, + "line": 137, "column": 34 } } @@ -6552,16 +7287,16 @@ "type": "Identifier", "name": "label", "range": [ - 3390, - 3395 + 3753, + 3758 ], "loc": { "start": { - "line": 124, + "line": 138, "column": 12 }, "end": { - "line": 124, + "line": 138, "column": 17 } } @@ -6574,16 +7309,16 @@ "object": { "type": "ThisExpression", "range": [ - 3398, - 3402 + 3761, + 3765 ], "loc": { "start": { - "line": 124, + "line": 138, "column": 20 }, "end": { - "line": 124, + "line": 138, "column": 24 } } @@ -6592,31 +7327,31 @@ "type": "Identifier", "name": "create", "range": [ - 3403, - 3409 + 3766, + 3772 ], "loc": { "start": { - "line": 124, + "line": 138, "column": 25 }, "end": { - "line": 124, + "line": 138, "column": 31 } } }, "range": [ - 3398, - 3409 + 3761, + 3772 ], "loc": { "start": { - "line": 124, + "line": 138, "column": 20 }, "end": { - "line": 124, + "line": 138, "column": 31 } } @@ -6627,16 +7362,16 @@ "value": "label", "raw": "'label'", "range": [ - 3410, - 3417 + 3773, + 3780 ], "loc": { "start": { - "line": 124, + "line": 138, "column": 32 }, "end": { - "line": 124, + "line": 138, "column": 39 } } @@ -6649,16 +7384,16 @@ "value": "for", "raw": "'for'", "range": [ - 3420, - 3425 + 3783, + 3788 ], "loc": { "start": { - "line": 124, + "line": 138, "column": 42 }, "end": { - "line": 124, + "line": 138, "column": 47 } } @@ -6667,63 +7402,63 @@ "type": "Identifier", "name": "chkIndex", "range": [ - 3427, - 3435 + 3790, + 3798 ], "loc": { "start": { - "line": 124, + "line": 138, "column": 49 }, "end": { - "line": 124, + "line": 138, "column": 57 } } } ], "range": [ - 3419, - 3436 + 3782, + 3799 ], "loc": { "start": { - "line": 124, + "line": 138, "column": 41 }, "end": { - "line": 124, + "line": 138, "column": 58 } } } ], "range": [ - 3398, - 3437 + 3761, + 3800 ], "loc": { "start": { - "line": 124, + "line": 138, "column": 20 }, "end": { - "line": 124, + "line": 138, "column": 59 } } }, "range": [ - 3390, - 3437 + 3753, + 3800 ], "loc": { "start": { - "line": 124, + "line": 138, "column": 12 }, "end": { - "line": 124, + "line": 138, "column": 59 } } @@ -6734,16 +7469,16 @@ "type": "Identifier", "name": "check", "range": [ - 3451, - 3456 + 3814, + 3819 ], "loc": { "start": { - "line": 125, + "line": 139, "column": 12 }, "end": { - "line": 125, + "line": 139, "column": 17 } } @@ -6756,16 +7491,16 @@ "object": { "type": "ThisExpression", "range": [ - 3459, - 3463 + 3822, + 3826 ], "loc": { "start": { - "line": 125, + "line": 139, "column": 20 }, "end": { - "line": 125, + "line": 139, "column": 24 } } @@ -6774,31 +7509,31 @@ "type": "Identifier", "name": "create", "range": [ - 3464, - 3470 + 3827, + 3833 ], "loc": { "start": { - "line": 125, + "line": 139, "column": 25 }, "end": { - "line": 125, + "line": 139, "column": 31 } } }, "range": [ - 3459, - 3470 + 3822, + 3833 ], "loc": { "start": { - "line": 125, + "line": 139, "column": 20 }, "end": { - "line": 125, + "line": 139, "column": 31 } } @@ -6809,16 +7544,16 @@ "value": "input", "raw": "'input'", "range": [ - 3471, - 3478 + 3834, + 3841 ], "loc": { "start": { - "line": 125, + "line": 139, "column": 32 }, "end": { - "line": 125, + "line": 139, "column": 39 } } @@ -6831,16 +7566,16 @@ "value": "id", "raw": "'id'", "range": [ - 3497, - 3501 + 3860, + 3864 ], "loc": { "start": { - "line": 126, + "line": 140, "column": 17 }, "end": { - "line": 126, + "line": 140, "column": 21 } } @@ -6849,32 +7584,32 @@ "type": "Identifier", "name": "chkIndex", "range": [ - 3503, - 3511 + 3866, + 3874 ], "loc": { "start": { - "line": 126, + "line": 140, "column": 23 }, "end": { - "line": 126, + "line": 140, "column": 31 } } } ], "range": [ - 3496, - 3512 + 3859, + 3875 ], "loc": { "start": { - "line": 126, + "line": 140, "column": 16 }, "end": { - "line": 126, + "line": 140, "column": 32 } } @@ -6887,16 +7622,16 @@ "value": "name", "raw": "'name'", "range": [ - 3531, - 3537 + 3894, + 3900 ], "loc": { "start": { - "line": 127, + "line": 141, "column": 17 }, "end": { - "line": 127, + "line": 141, "column": 23 } } @@ -6905,32 +7640,32 @@ "type": "Identifier", "name": "chkIndex", "range": [ - 3539, - 3547 + 3902, + 3910 ], "loc": { "start": { - "line": 127, + "line": 141, "column": 25 }, "end": { - "line": 127, + "line": 141, "column": 33 } } } ], "range": [ - 3530, - 3548 + 3893, + 3911 ], "loc": { "start": { - "line": 127, + "line": 141, "column": 16 }, "end": { - "line": 127, + "line": 141, "column": 34 } } @@ -6943,16 +7678,16 @@ "value": "type", "raw": "'type'", "range": [ - 3567, - 3573 + 3930, + 3936 ], "loc": { "start": { - "line": 128, + "line": 142, "column": 17 }, "end": { - "line": 128, + "line": 142, "column": 23 } } @@ -6962,32 +7697,32 @@ "value": "checkbox", "raw": "'checkbox'", "range": [ - 3575, - 3585 + 3938, + 3948 ], "loc": { "start": { - "line": 128, + "line": 142, "column": 25 }, "end": { - "line": 128, + "line": 142, "column": 35 } } } ], "range": [ - 3566, - 3586 + 3929, + 3949 ], "loc": { "start": { - "line": 128, + "line": 142, "column": 16 }, "end": { - "line": 128, + "line": 142, "column": 36 } } @@ -7000,16 +7735,16 @@ "value": "value", "raw": "'value'", "range": [ - 3605, - 3612 + 3968, + 3975 ], "loc": { "start": { - "line": 129, + "line": 143, "column": 17 }, "end": { - "line": 129, + "line": 143, "column": 24 } } @@ -7018,63 +7753,63 @@ "type": "Identifier", "name": "chkValue", "range": [ - 3614, - 3622 + 3977, + 3985 ], "loc": { "start": { - "line": 129, + "line": 143, "column": 26 }, "end": { - "line": 129, + "line": 143, "column": 34 } } } ], "range": [ - 3604, - 3623 + 3967, + 3986 ], "loc": { "start": { - "line": 129, + "line": 143, "column": 16 }, "end": { - "line": 129, + "line": 143, "column": 35 } } } ], "range": [ - 3459, - 3637 + 3822, + 4000 ], "loc": { "start": { - "line": 125, + "line": 139, "column": 20 }, "end": { - "line": 130, + "line": 144, "column": 13 } } }, "range": [ - 3451, - 3637 + 3814, + 4000 ], "loc": { "start": { - "line": 125, + "line": 139, "column": 12 }, "end": { - "line": 130, + "line": 144, "column": 13 } } @@ -7082,16 +7817,16 @@ ], "kind": "let", "range": [ - 3350, - 3638 + 3713, + 4001 ], "loc": { "start": { - "line": 123, + "line": 137, "column": 8 }, "end": { - "line": 130, + "line": 144, "column": 14 } } @@ -7107,16 +7842,16 @@ "type": "Identifier", "name": "label", "range": [ - 3647, - 3652 + 4010, + 4015 ], "loc": { "start": { - "line": 131, + "line": 145, "column": 8 }, "end": { - "line": 131, + "line": 145, "column": 13 } } @@ -7125,31 +7860,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 3653, - 3664 + 4016, + 4027 ], "loc": { "start": { - "line": 131, + "line": 145, "column": 14 }, "end": { - "line": 131, + "line": 145, "column": 25 } } }, "range": [ - 3647, - 3664 + 4010, + 4027 ], "loc": { "start": { - "line": 131, + "line": 145, "column": 8 }, "end": { - "line": 131, + "line": 145, "column": 25 } } @@ -7159,47 +7894,47 @@ "type": "Identifier", "name": "check", "range": [ - 3665, - 3670 + 4028, + 4033 ], "loc": { "start": { - "line": 131, + "line": 145, "column": 26 }, "end": { - "line": 131, + "line": 145, "column": 31 } } } ], "range": [ - 3647, - 3671 + 4010, + 4034 ], "loc": { "start": { - "line": 131, + "line": 145, "column": 8 }, "end": { - "line": 131, + "line": 145, "column": 32 } } }, "range": [ - 3647, - 3672 + 4010, + 4035 ], "loc": { "start": { - "line": 131, + "line": 145, "column": 8 }, "end": { - "line": 131, + "line": 145, "column": 33 } } @@ -7215,16 +7950,16 @@ "type": "Identifier", "name": "label", "range": [ - 3681, - 3686 + 4044, + 4049 ], "loc": { "start": { - "line": 132, + "line": 146, "column": 8 }, "end": { - "line": 132, + "line": 146, "column": 13 } } @@ -7233,31 +7968,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 3687, - 3698 + 4050, + 4061 ], "loc": { "start": { - "line": 132, + "line": 146, "column": 14 }, "end": { - "line": 132, + "line": 146, "column": 25 } } }, "range": [ - 3681, - 3698 + 4044, + 4061 ], "loc": { "start": { - "line": 132, + "line": 146, "column": 8 }, "end": { - "line": 132, + "line": 146, "column": 25 } } @@ -7271,16 +8006,16 @@ "object": { "type": "ThisExpression", "range": [ - 3699, - 3703 + 4062, + 4066 ], "loc": { "start": { - "line": 132, + "line": 146, "column": 26 }, "end": { - "line": 132, + "line": 146, "column": 30 } } @@ -7289,31 +8024,31 @@ "type": "Identifier", "name": "text", "range": [ - 3704, - 3708 + 4067, + 4071 ], "loc": { "start": { - "line": 132, + "line": 146, "column": 31 }, "end": { - "line": 132, + "line": 146, "column": 35 } } }, "range": [ - 3699, - 3708 + 4062, + 4071 ], "loc": { "start": { - "line": 132, + "line": 146, "column": 26 }, "end": { - "line": 132, + "line": 146, "column": 35 } } @@ -7323,63 +8058,63 @@ "type": "Identifier", "name": "labelText", "range": [ - 3709, - 3718 + 4072, + 4081 ], "loc": { "start": { - "line": 132, + "line": 146, "column": 36 }, "end": { - "line": 132, + "line": 146, "column": 45 } } } ], "range": [ - 3699, - 3719 + 4062, + 4082 ], "loc": { "start": { - "line": 132, + "line": 146, "column": 26 }, "end": { - "line": 132, + "line": 146, "column": 46 } } } ], "range": [ - 3681, - 3720 + 4044, + 4083 ], "loc": { "start": { - "line": 132, + "line": 146, "column": 8 }, "end": { - "line": 132, + "line": 146, "column": 47 } } }, "range": [ - 3681, - 3721 + 4044, + 4084 ], "loc": { "start": { - "line": 132, + "line": 146, "column": 8 }, "end": { - "line": 132, + "line": 146, "column": 48 } } @@ -7395,16 +8130,16 @@ "type": "Identifier", "name": "li", "range": [ - 3730, - 3732 + 4093, + 4095 ], "loc": { "start": { - "line": 133, + "line": 147, "column": 8 }, "end": { - "line": 133, + "line": 147, "column": 10 } } @@ -7413,31 +8148,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 3733, - 3744 + 4096, + 4107 ], "loc": { "start": { - "line": 133, + "line": 147, "column": 11 }, "end": { - "line": 133, + "line": 147, "column": 22 } } }, "range": [ - 3730, - 3744 + 4093, + 4107 ], "loc": { "start": { - "line": 133, + "line": 147, "column": 8 }, "end": { - "line": 133, + "line": 147, "column": 22 } } @@ -7447,47 +8182,47 @@ "type": "Identifier", "name": "label", "range": [ - 3745, - 3750 + 4108, + 4113 ], "loc": { "start": { - "line": 133, + "line": 147, "column": 23 }, "end": { - "line": 133, + "line": 147, "column": 28 } } } ], "range": [ - 3730, - 3751 + 4093, + 4114 ], "loc": { "start": { - "line": 133, + "line": 147, "column": 8 }, "end": { - "line": 133, + "line": 147, "column": 29 } } }, "range": [ - 3730, - 3752 + 4093, + 4115 ], "loc": { "start": { - "line": 133, + "line": 147, "column": 8 }, "end": { - "line": 133, + "line": 147, "column": 30 } } @@ -7504,16 +8239,16 @@ "type": "Identifier", "name": "li", "range": [ - 3761, - 3763 + 4124, + 4126 ], "loc": { "start": { - "line": 134, + "line": 148, "column": 8 }, "end": { - "line": 134, + "line": 148, "column": 10 } } @@ -7522,31 +8257,31 @@ "type": "Identifier", "name": "label", "range": [ - 3764, - 3769 + 4127, + 4132 ], "loc": { "start": { - "line": 134, + "line": 148, "column": 11 }, "end": { - "line": 134, + "line": 148, "column": 16 } } }, "range": [ - 3761, - 3769 + 4124, + 4132 ], "loc": { "start": { - "line": 134, + "line": 148, "column": 8 }, "end": { - "line": 134, + "line": 148, "column": 16 } } @@ -7555,46 +8290,46 @@ "type": "Identifier", "name": "label", "range": [ - 3772, - 3777 + 4135, + 4140 ], "loc": { "start": { - "line": 134, + "line": 148, "column": 19 }, "end": { - "line": 134, + "line": 148, "column": 24 } } }, "range": [ - 3761, - 3777 + 4124, + 4140 ], "loc": { "start": { - "line": 134, + "line": 148, "column": 8 }, "end": { - "line": 134, + "line": 148, "column": 24 } } }, "range": [ - 3761, - 3778 + 4124, + 4141 ], "loc": { "start": { - "line": 134, + "line": 148, "column": 8 }, "end": { - "line": 134, + "line": 148, "column": 25 } } @@ -7611,16 +8346,16 @@ "type": "Identifier", "name": "li", "range": [ - 3787, - 3789 + 4150, + 4152 ], "loc": { "start": { - "line": 135, + "line": 149, "column": 8 }, "end": { - "line": 135, + "line": 149, "column": 10 } } @@ -7629,31 +8364,31 @@ "type": "Identifier", "name": "check", "range": [ - 3790, - 3795 + 4153, + 4158 ], "loc": { "start": { - "line": 135, + "line": 149, "column": 11 }, "end": { - "line": 135, + "line": 149, "column": 16 } } }, "range": [ - 3787, - 3795 + 4150, + 4158 ], "loc": { "start": { - "line": 135, + "line": 149, "column": 8 }, "end": { - "line": 135, + "line": 149, "column": 16 } } @@ -7662,46 +8397,46 @@ "type": "Identifier", "name": "check", "range": [ - 3798, - 3803 + 4161, + 4166 ], "loc": { "start": { - "line": 135, + "line": 149, "column": 19 }, "end": { - "line": 135, + "line": 149, "column": 24 } } }, "range": [ - 3787, - 3803 + 4150, + 4166 ], "loc": { "start": { - "line": 135, + "line": 149, "column": 8 }, "end": { - "line": 135, + "line": 149, "column": 24 } } }, "range": [ - 3787, - 3804 + 4150, + 4167 ], "loc": { "start": { - "line": 135, + "line": 149, "column": 8 }, "end": { - "line": 135, + "line": 149, "column": 25 } } @@ -7712,47 +8447,47 @@ "type": "Identifier", "name": "li", "range": [ - 3820, - 3822 + 4183, + 4185 ], "loc": { "start": { - "line": 136, + "line": 150, "column": 15 }, "end": { - "line": 136, + "line": 150, "column": 17 } } }, "range": [ - 3813, - 3823 + 4176, + 4186 ], "loc": { "start": { - "line": 136, + "line": 150, "column": 8 }, "end": { - "line": 136, + "line": 150, "column": 18 } } } ], "range": [ - 3340, - 3829 + 3703, + 4192 ], "loc": { "start": { - "line": 122, + "line": 136, "column": 50 }, "end": { - "line": 137, + "line": 151, "column": 5 } } @@ -7760,16 +8495,16 @@ "generator": false, "expression": false, "range": [ - 3309, - 3829 + 3672, + 4192 ], "loc": { "start": { - "line": 122, + "line": 136, "column": 19 }, "end": { - "line": 137, + "line": 151, "column": 5 } } @@ -7779,16 +8514,16 @@ "shorthand": false, "computed": false, "range": [ - 3294, - 3829 + 3657, + 4192 ], "loc": { "start": { - "line": 122, + "line": 136, "column": 4 }, "end": { - "line": 137, + "line": 151, "column": 5 } }, @@ -7797,16 +8532,16 @@ "type": "Block", "value": "*\n * Creates and returns a checklist item\n * @param {Number} chkIndex index of check item\n * @param {String} chkValue check item value\n * @param {String} labelText check item label text\n * @return {Object} li DOM element\n ", "range": [ - 3024, - 3289 + 3387, + 3652 ], "loc": { "start": { - "line": 115, + "line": 129, "column": 4 }, "end": { - "line": 121, + "line": 135, "column": 7 } } @@ -7819,16 +8554,16 @@ "type": "Identifier", "name": "id", "range": [ - 3836, - 3838 + 4199, + 4201 ], "loc": { "start": { - "line": 139, + "line": 153, "column": 4 }, "end": { - "line": 139, + "line": 153, "column": 6 } } @@ -7841,16 +8576,16 @@ "type": "Identifier", "name": "key", "range": [ - 3839, - 3842 + 4202, + 4205 ], "loc": { "start": { - "line": 139, + "line": 153, "column": 7 }, "end": { - "line": 139, + "line": 153, "column": 10 } } @@ -7870,16 +8605,16 @@ "type": "Identifier", "name": "document", "range": [ - 3860, - 3868 + 4223, + 4231 ], "loc": { "start": { - "line": 140, + "line": 154, "column": 15 }, "end": { - "line": 140, + "line": 154, "column": 23 } } @@ -7888,31 +8623,31 @@ "type": "Identifier", "name": "getElementById", "range": [ - 3869, - 3883 + 4232, + 4246 ], "loc": { "start": { - "line": 140, + "line": 154, "column": 24 }, "end": { - "line": 140, + "line": 154, "column": 38 } } }, "range": [ - 3860, - 3883 + 4223, + 4246 ], "loc": { "start": { - "line": 140, + "line": 154, "column": 15 }, "end": { - "line": 140, + "line": 154, "column": 38 } } @@ -7922,63 +8657,63 @@ "type": "Identifier", "name": "key", "range": [ - 3884, - 3887 + 4247, + 4250 ], "loc": { "start": { - "line": 140, + "line": 154, "column": 39 }, "end": { - "line": 140, + "line": 154, "column": 42 } } } ], "range": [ - 3860, - 3888 + 4223, + 4251 ], "loc": { "start": { - "line": 140, + "line": 154, "column": 15 }, "end": { - "line": 140, + "line": 154, "column": 43 } } }, "range": [ - 3853, - 3889 + 4216, + 4252 ], "loc": { "start": { - "line": 140, + "line": 154, "column": 8 }, "end": { - "line": 140, + "line": 154, "column": 44 } } } ], "range": [ - 3843, - 3895 + 4206, + 4258 ], "loc": { "start": { - "line": 139, + "line": 153, "column": 11 }, "end": { - "line": 141, + "line": 155, "column": 5 } } @@ -7986,16 +8721,16 @@ "generator": false, "expression": false, "range": [ - 3838, - 3895 + 4201, + 4258 ], "loc": { "start": { - "line": 139, + "line": 153, "column": 6 }, "end": { - "line": 141, + "line": 155, "column": 5 } } @@ -8005,16 +8740,16 @@ "shorthand": false, "computed": false, "range": [ - 3836, - 3895 + 4199, + 4258 ], "loc": { "start": { - "line": 139, + "line": 153, "column": 4 }, "end": { - "line": 141, + "line": 155, "column": 5 } } @@ -8025,16 +8760,16 @@ "type": "Identifier", "name": "tag", "range": [ - 3902, - 3905 + 4265, + 4268 ], "loc": { "start": { - "line": 143, + "line": 157, "column": 4 }, "end": { - "line": 143, + "line": 157, "column": 7 } } @@ -8047,16 +8782,16 @@ "type": "Identifier", "name": "o", "range": [ - 3906, - 3907 + 4269, + 4270 ], "loc": { "start": { - "line": 143, + "line": 157, "column": 8 }, "end": { - "line": 143, + "line": 157, "column": 9 } } @@ -8065,16 +8800,16 @@ "type": "Identifier", "name": "tagname", "range": [ - 3909, - 3916 + 4272, + 4279 ], "loc": { "start": { - "line": 143, + "line": 157, "column": 11 }, "end": { - "line": 143, + "line": 157, "column": 18 } } @@ -8094,16 +8829,16 @@ "type": "Identifier", "name": "o", "range": [ - 3934, - 3935 + 4297, + 4298 ], "loc": { "start": { - "line": 144, + "line": 158, "column": 15 }, "end": { - "line": 144, + "line": 158, "column": 16 } } @@ -8112,31 +8847,31 @@ "type": "Identifier", "name": "getElementsByTagName", "range": [ - 3936, - 3956 + 4299, + 4319 ], "loc": { "start": { - "line": 144, + "line": 158, "column": 17 }, "end": { - "line": 144, + "line": 158, "column": 37 } } }, "range": [ - 3934, - 3956 + 4297, + 4319 ], "loc": { "start": { - "line": 144, + "line": 158, "column": 15 }, "end": { - "line": 144, + "line": 158, "column": 37 } } @@ -8146,63 +8881,63 @@ "type": "Identifier", "name": "tagname", "range": [ - 3957, - 3964 + 4320, + 4327 ], "loc": { "start": { - "line": 144, + "line": 158, "column": 38 }, "end": { - "line": 144, + "line": 158, "column": 45 } } } ], "range": [ - 3934, - 3965 + 4297, + 4328 ], "loc": { "start": { - "line": 144, + "line": 158, "column": 15 }, "end": { - "line": 144, + "line": 158, "column": 46 } } }, "range": [ - 3927, - 3966 + 4290, + 4329 ], "loc": { "start": { - "line": 144, + "line": 158, "column": 8 }, "end": { - "line": 144, + "line": 158, "column": 47 } } } ], "range": [ - 3917, - 3972 + 4280, + 4335 ], "loc": { "start": { - "line": 143, + "line": 157, "column": 19 }, "end": { - "line": 145, + "line": 159, "column": 5 } } @@ -8210,16 +8945,16 @@ "generator": false, "expression": false, "range": [ - 3905, - 3972 + 4268, + 4335 ], "loc": { "start": { - "line": 143, + "line": 157, "column": 7 }, "end": { - "line": 145, + "line": 159, "column": 5 } } @@ -8229,16 +8964,16 @@ "shorthand": false, "computed": false, "range": [ - 3902, - 3972 + 4265, + 4335 ], "loc": { "start": { - "line": 143, + "line": 157, "column": 4 }, "end": { - "line": 145, + "line": 159, "column": 5 } } @@ -8246,7 +8981,7 @@ ], "range": [ 41, - 3974 + 4337 ], "loc": { "start": { @@ -8254,7 +8989,7 @@ "column": 15 }, "end": { - "line": 146, + "line": 160, "column": 1 } }, @@ -8264,16 +8999,16 @@ "type": "Line", "value": " HTML5 classList API", "range": [ - 3977, - 3999 + 4340, + 4362 ], "loc": { "start": { - "line": 148, + "line": 162, "column": 0 }, "end": { - "line": 148, + "line": 162, "column": 22 } } @@ -8282,7 +9017,7 @@ }, "range": [ 26, - 3975 + 4338 ], "loc": { "start": { @@ -8290,7 +9025,7 @@ "column": 0 }, "end": { - "line": 146, + "line": 160, "column": 2 } }, @@ -8299,16 +9034,16 @@ "type": "Line", "value": " HTML5 classList API", "range": [ - 3977, - 3999 + 4340, + 4362 ], "loc": { "start": { - "line": 148, + "line": 162, "column": 0 }, "end": { - "line": 148, + "line": 162, "column": 22 } } @@ -8321,16 +9056,16 @@ "type": "Identifier", "name": "supportsClassList", "range": [ - 4009, - 4026 + 4372, + 4389 ], "loc": { "start": { - "line": 149, + "line": 163, "column": 9 }, "end": { - "line": 149, + "line": 163, "column": 26 } } @@ -8351,16 +9086,16 @@ "type": "Identifier", "name": "document", "range": [ - 4041, - 4049 + 4404, + 4412 ], "loc": { "start": { - "line": 150, + "line": 164, "column": 11 }, "end": { - "line": 150, + "line": 164, "column": 19 } } @@ -8369,31 +9104,31 @@ "type": "Identifier", "name": "documentElement", "range": [ - 4050, - 4065 + 4413, + 4428 ], "loc": { "start": { - "line": 150, + "line": 164, "column": 20 }, "end": { - "line": 150, + "line": 164, "column": 35 } } }, "range": [ - 4041, - 4065 + 4404, + 4428 ], "loc": { "start": { - "line": 150, + "line": 164, "column": 11 }, "end": { - "line": 150, + "line": 164, "column": 35 } } @@ -8402,62 +9137,62 @@ "type": "Identifier", "name": "classList", "range": [ - 4066, - 4075 + 4429, + 4438 ], "loc": { "start": { - "line": 150, + "line": 164, "column": 36 }, "end": { - "line": 150, + "line": 164, "column": 45 } } }, "range": [ - 4041, - 4075 + 4404, + 4438 ], "loc": { "start": { - "line": 150, + "line": 164, "column": 11 }, "end": { - "line": 150, + "line": 164, "column": 45 } } }, "range": [ - 4034, - 4076 + 4397, + 4439 ], "loc": { "start": { - "line": 150, + "line": 164, "column": 4 }, "end": { - "line": 150, + "line": 164, "column": 46 } } } ], "range": [ - 4028, - 4078 + 4391, + 4441 ], "loc": { "start": { - "line": 149, + "line": 163, "column": 28 }, "end": { - "line": 151, + "line": 165, "column": 1 } } @@ -8465,16 +9200,16 @@ "generator": false, "expression": false, "range": [ - 4000, - 4078 + 4363, + 4441 ], "loc": { "start": { - "line": 149, + "line": 163, "column": 0 }, "end": { - "line": 151, + "line": 165, "column": 1 } }, @@ -8483,16 +9218,16 @@ "type": "Line", "value": " HTML5 classList API", "range": [ - 3977, - 3999 + 4340, + 4362 ], "loc": { "start": { - "line": 148, + "line": 162, "column": 0 }, "end": { - "line": 148, + "line": 162, "column": 22 } } @@ -8503,7 +9238,7 @@ "sourceType": "module", "range": [ 26, - 4078 + 4441 ], "loc": { "start": { @@ -8511,7 +9246,7 @@ "column": 0 }, "end": { - "line": 151, + "line": 165, "column": 1 } }, @@ -8554,10 +9289,10 @@ }, { "type": "Block", - "value": "*\n * Creates an html element with given collection of attributes\n * @param {String} tag a string of the html tag to create\n * @param {Array} an undetermined number of arrays containing the with 2\n * items, the attribute name and its value ['id','myId']\n * @return {Object} created element\n ", + "value": "*\n * Returns the first text node contained in the supplied node\n * @param {NodeElement} node node\n * @return {String}\n ", "range": [ 386, - 729 + 526 ], "loc": { "start": { @@ -8565,7 +9300,25 @@ "column": 4 }, "end": { - "line": 25, + "line": 23, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an html element with given collection of attributes\n * @param {String} tag a string of the html tag to create\n * @param {Array} an undetermined number of arrays containing the with 2\n * items, the attribute name and its value ['id','myId']\n * @return {Object} created element\n ", + "range": [ + 749, + 1092 + ], + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 39, "column": 7 } } @@ -8574,16 +9327,16 @@ "type": "Block", "value": "*\n * Removes passed node from DOM\n * @param {DOMElement} node\n * @return {DOMElement} old node reference\n ", "range": [ - 1220, - 1347 + 1583, + 1710 ], "loc": { "start": { - "line": 45, + "line": 59, "column": 4 }, "end": { - "line": 49, + "line": 63, "column": 7 } } @@ -8592,16 +9345,16 @@ "type": "Block", "value": "*\n * Returns a text node with given text\n * @param {String} txt\n * @return {Object}\n ", "range": [ - 1428, - 1534 + 1791, + 1897 ], "loc": { "start": { - "line": 54, + "line": 68, "column": 4 }, "end": { - "line": 58, + "line": 72, "column": 7 } } @@ -8610,16 +9363,16 @@ "type": "Block", "value": "*\n * Creates and returns an option element\n * @param {String} text option text\n * @param {String} value option value\n * @param {Boolean} isSel whether option is selected\n * @return {Object} option element\n ", "range": [ - 2455, - 2702 + 2818, + 3065 ], "loc": { "start": { - "line": 99, + "line": 113, "column": 4 }, "end": { - "line": 105, + "line": 119, "column": 7 } } @@ -8628,16 +9381,16 @@ "type": "Block", "value": "*\n * Creates and returns a checklist item\n * @param {Number} chkIndex index of check item\n * @param {String} chkValue check item value\n * @param {String} labelText check item label text\n * @return {Object} li DOM element\n ", "range": [ - 3024, - 3289 + 3387, + 3652 ], "loc": { "start": { - "line": 115, + "line": 129, "column": 4 }, "end": { - "line": 121, + "line": 135, "column": 7 } } @@ -8646,16 +9399,16 @@ "type": "Line", "value": " HTML5 classList API", "range": [ - 3977, - 3999 + 4340, + 4362 ], "loc": { "start": { - "line": 148, + "line": 162, "column": 0 }, "end": { - "line": 148, + "line": 162, "column": 22 } } diff --git a/docs/ast/source/src/tablefilter.js.json b/docs/ast/source/src/tablefilter.js.json index ee4349a5..f0585dd8 100644 --- a/docs/ast/source/src/tablefilter.js.json +++ b/docs/ast/source/src/tablefilter.js.json @@ -216900,10 +216900,10 @@ }, "property": { "type": "Identifier", - "name": "getText", + "name": "getFirstTextNode", "range": [ 97646, - 97653 + 97662 ], "loc": { "start": { @@ -216912,13 +216912,13 @@ }, "end": { "line": 2746, - "column": 40 + "column": 49 } } }, "range": [ 97642, - 97653 + 97662 ], "loc": { "start": { @@ -216927,7 +216927,7 @@ }, "end": { "line": 2746, - "column": 40 + "column": 49 } } }, @@ -216936,24 +216936,24 @@ "type": "Identifier", "name": "header", "range": [ - 97654, - 97660 + 97663, + 97669 ], "loc": { "start": { "line": 2746, - "column": 41 + "column": 50 }, "end": { "line": 2746, - "column": 47 + "column": 56 } } } ], "range": [ 97642, - 97661 + 97670 ], "loc": { "start": { @@ -216962,13 +216962,13 @@ }, "end": { "line": 2746, - "column": 48 + "column": 57 } } }, "range": [ 97629, - 97661 + 97670 ], "loc": { "start": { @@ -216977,7 +216977,7 @@ }, "end": { "line": 2746, - "column": 48 + "column": 57 } } } @@ -216985,7 +216985,7 @@ "kind": "let", "range": [ 97625, - 97662 + 97671 ], "loc": { "start": { @@ -216994,7 +216994,7 @@ }, "end": { "line": 2746, - "column": 49 + "column": 58 } } }, @@ -217009,8 +217009,8 @@ "type": "Identifier", "name": "headers", "range": [ - 97675, - 97682 + 97684, + 97691 ], "loc": { "start": { @@ -217027,8 +217027,8 @@ "type": "Identifier", "name": "push", "range": [ - 97683, - 97687 + 97692, + 97696 ], "loc": { "start": { @@ -217042,8 +217042,8 @@ } }, "range": [ - 97675, - 97687 + 97684, + 97696 ], "loc": { "start": { @@ -217061,8 +217061,8 @@ "type": "Identifier", "name": "headerText", "range": [ - 97688, - 97698 + 97697, + 97707 ], "loc": { "start": { @@ -217077,8 +217077,8 @@ } ], "range": [ - 97675, - 97699 + 97684, + 97708 ], "loc": { "start": { @@ -217092,8 +217092,8 @@ } }, "range": [ - 97675, - 97700 + 97684, + 97709 ], "loc": { "start": { @@ -217109,7 +217109,7 @@ ], "range": [ 97355, - 97710 + 97719 ], "loc": { "start": { @@ -217124,7 +217124,7 @@ }, "range": [ 97322, - 97710 + 97719 ], "loc": { "start": { @@ -217143,8 +217143,8 @@ "type": "Identifier", "name": "headers", "range": [ - 97726, - 97733 + 97735, + 97742 ], "loc": { "start": { @@ -217158,8 +217158,8 @@ } }, "range": [ - 97719, - 97734 + 97728, + 97743 ], "loc": { "start": { @@ -217175,7 +217175,7 @@ ], "range": [ 97286, - 97740 + 97749 ], "loc": { "start": { @@ -217192,7 +217192,7 @@ "expression": false, "range": [ 97261, - 97740 + 97749 ], "loc": { "start": { @@ -217209,7 +217209,7 @@ "computed": false, "range": [ 97247, - 97740 + 97749 ], "loc": { "start": { @@ -217246,8 +217246,8 @@ "type": "Block", "value": "*\n * Return the filter type for a specified column\n * @param {Number} colIndex Column's index\n * @return {String}\n ", "range": [ - 97746, - 97882 + 97755, + 97891 ], "loc": { "start": { @@ -217269,8 +217269,8 @@ "type": "Identifier", "name": "getFilterType", "range": [ - 97887, - 97900 + 97896, + 97909 ], "loc": { "start": { @@ -217291,8 +217291,8 @@ "type": "Identifier", "name": "colIndex", "range": [ - 97901, - 97909 + 97910, + 97918 ], "loc": { "start": { @@ -217318,8 +217318,8 @@ "type": "Identifier", "name": "colType", "range": [ - 97924, - 97931 + 97933, + 97940 ], "loc": { "start": { @@ -217341,8 +217341,8 @@ "object": { "type": "ThisExpression", "range": [ - 97934, - 97938 + 97943, + 97947 ], "loc": { "start": { @@ -217359,8 +217359,8 @@ "type": "Identifier", "name": "cfg", "range": [ - 97939, - 97942 + 97948, + 97951 ], "loc": { "start": { @@ -217374,8 +217374,8 @@ } }, "range": [ - 97934, - 97942 + 97943, + 97951 ], "loc": { "start": { @@ -217396,8 +217396,8 @@ "value": "col_", "raw": "'col_'", "range": [ - 97943, - 97949 + 97952, + 97958 ], "loc": { "start": { @@ -217414,8 +217414,8 @@ "type": "Identifier", "name": "colIndex", "range": [ - 97950, - 97958 + 97959, + 97967 ], "loc": { "start": { @@ -217429,8 +217429,8 @@ } }, "range": [ - 97943, - 97958 + 97952, + 97967 ], "loc": { "start": { @@ -217444,8 +217444,8 @@ } }, "range": [ - 97934, - 97959 + 97943, + 97968 ], "loc": { "start": { @@ -217459,8 +217459,8 @@ } }, "range": [ - 97924, - 97959 + 97933, + 97968 ], "loc": { "start": { @@ -217476,8 +217476,8 @@ ], "kind": "let", "range": [ - 97920, - 97960 + 97929, + 97969 ], "loc": { "start": { @@ -217501,8 +217501,8 @@ "type": "Identifier", "name": "colType", "range": [ - 97977, - 97984 + 97986, + 97993 ], "loc": { "start": { @@ -217517,8 +217517,8 @@ }, "prefix": true, "range": [ - 97976, - 97984 + 97985, + 97993 ], "loc": { "start": { @@ -217537,8 +217537,8 @@ "object": { "type": "ThisExpression", "range": [ - 97987, - 97991 + 97996, + 98000 ], "loc": { "start": { @@ -217555,8 +217555,8 @@ "type": "Identifier", "name": "fltTypeInp", "range": [ - 97992, - 98002 + 98001, + 98011 ], "loc": { "start": { @@ -217570,8 +217570,8 @@ } }, "range": [ - 97987, - 98002 + 97996, + 98011 ], "loc": { "start": { @@ -217593,8 +217593,8 @@ "type": "Identifier", "name": "Str", "range": [ - 98005, - 98008 + 98014, + 98017 ], "loc": { "start": { @@ -217611,8 +217611,8 @@ "type": "Identifier", "name": "lower", "range": [ - 98009, - 98014 + 98018, + 98023 ], "loc": { "start": { @@ -217626,8 +217626,8 @@ } }, "range": [ - 98005, - 98014 + 98014, + 98023 ], "loc": { "start": { @@ -217645,8 +217645,8 @@ "type": "Identifier", "name": "colType", "range": [ - 98015, - 98022 + 98024, + 98031 ], "loc": { "start": { @@ -217661,8 +217661,8 @@ } ], "range": [ - 98005, - 98023 + 98014, + 98032 ], "loc": { "start": { @@ -217676,8 +217676,8 @@ } }, "range": [ - 97976, - 98023 + 97985, + 98032 ], "loc": { "start": { @@ -217691,8 +217691,8 @@ } }, "range": [ - 97969, - 98024 + 97978, + 98033 ], "loc": { "start": { @@ -217707,8 +217707,8 @@ } ], "range": [ - 97910, - 98030 + 97919, + 98039 ], "loc": { "start": { @@ -217724,8 +217724,8 @@ "generator": false, "expression": false, "range": [ - 97900, - 98030 + 97909, + 98039 ], "loc": { "start": { @@ -217741,8 +217741,8 @@ "kind": "method", "computed": false, "range": [ - 97887, - 98030 + 97896, + 98039 ], "loc": { "start": { @@ -217759,8 +217759,8 @@ "type": "Block", "value": "*\n * Return the filter type for a specified column\n * @param {Number} colIndex Column's index\n * @return {String}\n ", "range": [ - 97746, - 97882 + 97755, + 97891 ], "loc": { "start": { @@ -217779,8 +217779,8 @@ "type": "Block", "value": "*\n * Get the total number of filterable rows\n * @return {Number}\n ", "range": [ - 98036, - 98118 + 98045, + 98127 ], "loc": { "start": { @@ -217802,8 +217802,8 @@ "type": "Identifier", "name": "getFilterableRowsNb", "range": [ - 98123, - 98142 + 98132, + 98151 ], "loc": { "start": { @@ -217833,8 +217833,8 @@ "object": { "type": "ThisExpression", "range": [ - 98161, - 98165 + 98170, + 98174 ], "loc": { "start": { @@ -217851,8 +217851,8 @@ "type": "Identifier", "name": "getRowsNb", "range": [ - 98166, - 98175 + 98175, + 98184 ], "loc": { "start": { @@ -217866,8 +217866,8 @@ } }, "range": [ - 98161, - 98175 + 98170, + 98184 ], "loc": { "start": { @@ -217886,8 +217886,8 @@ "value": false, "raw": "false", "range": [ - 98176, - 98181 + 98185, + 98190 ], "loc": { "start": { @@ -217902,8 +217902,8 @@ } ], "range": [ - 98161, - 98182 + 98170, + 98191 ], "loc": { "start": { @@ -217917,8 +217917,8 @@ } }, "range": [ - 98154, - 98183 + 98163, + 98192 ], "loc": { "start": { @@ -217933,8 +217933,8 @@ } ], "range": [ - 98144, - 98189 + 98153, + 98198 ], "loc": { "start": { @@ -217950,8 +217950,8 @@ "generator": false, "expression": false, "range": [ - 98142, - 98189 + 98151, + 98198 ], "loc": { "start": { @@ -217967,8 +217967,8 @@ "kind": "method", "computed": false, "range": [ - 98123, - 98189 + 98132, + 98198 ], "loc": { "start": { @@ -217985,8 +217985,8 @@ "type": "Block", "value": "*\n * Get the total number of filterable rows\n * @return {Number}\n ", "range": [ - 98036, - 98118 + 98045, + 98127 ], "loc": { "start": { @@ -218005,8 +218005,8 @@ "type": "Block", "value": "*\n * Get the configuration object (literal object)\n * @return {Object}\n ", "range": [ - 98195, - 98283 + 98204, + 98292 ], "loc": { "start": { @@ -218028,8 +218028,8 @@ "type": "Identifier", "name": "config", "range": [ - 98288, - 98294 + 98297, + 98303 ], "loc": { "start": { @@ -218057,8 +218057,8 @@ "object": { "type": "ThisExpression", "range": [ - 98313, - 98317 + 98322, + 98326 ], "loc": { "start": { @@ -218075,8 +218075,8 @@ "type": "Identifier", "name": "cfg", "range": [ - 98318, - 98321 + 98327, + 98330 ], "loc": { "start": { @@ -218090,8 +218090,8 @@ } }, "range": [ - 98313, - 98321 + 98322, + 98330 ], "loc": { "start": { @@ -218105,8 +218105,8 @@ } }, "range": [ - 98306, - 98322 + 98315, + 98331 ], "loc": { "start": { @@ -218121,8 +218121,8 @@ } ], "range": [ - 98296, - 98328 + 98305, + 98337 ], "loc": { "start": { @@ -218138,8 +218138,8 @@ "generator": false, "expression": false, "range": [ - 98294, - 98328 + 98303, + 98337 ], "loc": { "start": { @@ -218155,8 +218155,8 @@ "kind": "method", "computed": false, "range": [ - 98288, - 98328 + 98297, + 98337 ], "loc": { "start": { @@ -218173,8 +218173,8 @@ "type": "Block", "value": "*\n * Get the configuration object (literal object)\n * @return {Object}\n ", "range": [ - 98195, - 98283 + 98204, + 98292 ], "loc": { "start": { @@ -218193,7 +218193,7 @@ ], "range": [ 985, - 98330 + 98339 ], "loc": { "start": { @@ -218208,7 +218208,7 @@ }, "range": [ 968, - 98330 + 98339 ], "loc": { "start": { @@ -218227,7 +218227,7 @@ "source": null, "range": [ 961, - 98330 + 98339 ], "loc": { "start": { @@ -218244,7 +218244,7 @@ "sourceType": "module", "range": [ 0, - 98330 + 98339 ], "loc": { "start": { @@ -224867,8 +224867,8 @@ "type": "Block", "value": "*\n * Return the filter type for a specified column\n * @param {Number} colIndex Column's index\n * @return {String}\n ", "range": [ - 97746, - 97882 + 97755, + 97891 ], "loc": { "start": { @@ -224885,8 +224885,8 @@ "type": "Block", "value": "*\n * Get the total number of filterable rows\n * @return {Number}\n ", "range": [ - 98036, - 98118 + 98045, + 98127 ], "loc": { "start": { @@ -224903,8 +224903,8 @@ "type": "Block", "value": "*\n * Get the configuration object (literal object)\n * @return {Object}\n ", "range": [ - 98195, - 98283 + 98204, + 98292 ], "loc": { "start": { diff --git a/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html b/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html index 6adce092..be08e022 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.0.22 API Document + AdapterEzEditTable | tablefilter v0.0.23 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 8fffe62e..16e671e1 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.0.22 API Document + ColOps | tablefilter v0.0.23 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 b6b06de6..822c9d7d 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.0.22 API Document + ColsVisibility | tablefilter v0.0.23 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 40555a3d..26fcb262 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.0.22 API Document + FiltersVisibility | tablefilter v0.0.23 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 8ffd4d16..36bedd18 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.0.22 API Document + AdapterSortableTable | tablefilter v0.0.23 API Document diff --git a/docs/class/src/modules/alternateRows.js~AlternateRows.html b/docs/class/src/modules/alternateRows.js~AlternateRows.html index e99c98db..b256e125 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.0.22 API Document + AlternateRows | tablefilter v0.0.23 API Document diff --git a/docs/class/src/modules/checkList.js~CheckList.html b/docs/class/src/modules/checkList.js~CheckList.html index 4e02b0dc..e8824490 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.0.22 API Document + CheckList | tablefilter v0.0.23 API Document diff --git a/docs/class/src/modules/clearButton.js~ClearButton.html b/docs/class/src/modules/clearButton.js~ClearButton.html index ba96c222..f0411b0b 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.0.22 API Document + ClearButton | tablefilter v0.0.23 API Document diff --git a/docs/class/src/modules/dropdown.js~Dropdown.html b/docs/class/src/modules/dropdown.js~Dropdown.html index e6d8915d..02426983 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.0.22 API Document + Dropdown | tablefilter v0.0.23 API Document diff --git a/docs/class/src/modules/feature.js~Feature.html b/docs/class/src/modules/feature.js~Feature.html index df24fdc7..57143403 100644 --- a/docs/class/src/modules/feature.js~Feature.html +++ b/docs/class/src/modules/feature.js~Feature.html @@ -3,7 +3,7 @@ - Feature | tablefilter v0.0.22 API Document + Feature | tablefilter v0.0.23 API Document diff --git a/docs/class/src/modules/gridLayout.js~GridLayout.html b/docs/class/src/modules/gridLayout.js~GridLayout.html index eec8b6d9..b2ce5312 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.0.22 API Document + GridLayout | tablefilter v0.0.23 API Document diff --git a/docs/class/src/modules/help.js~Help.html b/docs/class/src/modules/help.js~Help.html index 56a6d6c4..889411b3 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.0.22 API Document + Help | tablefilter v0.0.23 API Document diff --git a/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html b/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html index 04fa7631..58a4ad21 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.0.22 API Document + HighlightKeyword | tablefilter v0.0.23 API Document diff --git a/docs/class/src/modules/loader.js~Loader.html b/docs/class/src/modules/loader.js~Loader.html index 54729f6d..9924768d 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.0.22 API Document + Loader | tablefilter v0.0.23 API Document diff --git a/docs/class/src/modules/noResults.js~NoResults.html b/docs/class/src/modules/noResults.js~NoResults.html index a1acbf2c..eefc193e 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.0.22 API Document + NoResults | tablefilter v0.0.23 API Document diff --git a/docs/class/src/modules/paging.js~Paging.html b/docs/class/src/modules/paging.js~Paging.html index fdbac19b..3a8ca660 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.0.22 API Document + Paging | tablefilter v0.0.23 API Document diff --git a/docs/class/src/modules/popupFilter.js~PopupFilter.html b/docs/class/src/modules/popupFilter.js~PopupFilter.html index 162a9f76..fe9dc579 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.0.22 API Document + PopupFilter | tablefilter v0.0.23 API Document diff --git a/docs/class/src/modules/rowsCounter.js~RowsCounter.html b/docs/class/src/modules/rowsCounter.js~RowsCounter.html index 07ab0635..89fb9ee2 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.0.22 API Document + RowsCounter | tablefilter v0.0.23 API Document diff --git a/docs/class/src/modules/statusBar.js~StatusBar.html b/docs/class/src/modules/statusBar.js~StatusBar.html index 33c05e6b..b3464a44 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.0.22 API Document + StatusBar | tablefilter v0.0.23 API Document diff --git a/docs/class/src/modules/store.js~Store.html b/docs/class/src/modules/store.js~Store.html index 2554af95..a5bcb2c4 100644 --- a/docs/class/src/modules/store.js~Store.html +++ b/docs/class/src/modules/store.js~Store.html @@ -3,7 +3,7 @@ - Store | tablefilter v0.0.22 API Document + Store | tablefilter v0.0.23 API Document diff --git a/docs/class/src/tablefilter.js~TableFilter.html b/docs/class/src/tablefilter.js~TableFilter.html index 6ad0b9fd..de228dec 100644 --- a/docs/class/src/tablefilter.js~TableFilter.html +++ b/docs/class/src/tablefilter.js~TableFilter.html @@ -3,7 +3,7 @@ - TableFilter | tablefilter v0.0.22 API Document + TableFilter | tablefilter v0.0.23 API Document diff --git a/docs/dump.json b/docs/dump.json index 4e1dda70..931828f9 100644 --- a/docs/dump.json +++ b/docs/dump.json @@ -103,7 +103,7 @@ "access": null, "description": null, "lineNumber": 5, - "content": "/**\n * DOM utilities\n */\n\nexport default {\n\n /**\n * Returns text + text of children of given node\n * @param {NodeElement} node\n * @return {String}\n */\n getText(node){\n let s = node.textContent || node.innerText ||\n node.innerHTML.replace(/<[^<>]+>/g, '');\n s = s.replace(/^\\s+/, '').replace(/\\s+$/, '');\n return s;\n },\n\n /**\n * Creates an html element with given collection of attributes\n * @param {String} tag a string of the html tag to create\n * @param {Array} an undetermined number of arrays containing the with 2\n * items, the attribute name and its value ['id','myId']\n * @return {Object} created element\n */\n create(tag){\n if(!tag || tag===''){\n return;\n }\n\n let el = document.createElement(tag),\n args = arguments;\n\n if(args.length > 1){\n for(let i=0; i]+>/g, '');\n s = s.replace(/^\\s+/, '').replace(/\\s+$/, '');\n return s;\n },\n\n /**\n * Returns the first text node contained in the supplied node\n * @param {NodeElement} node node\n * @return {String}\n */\n getFirstTextNode(node){\n for(let i=0; i 1){\n for(let i=0; i {\n let argtype = typeof arg;\n if(argtype === 'object' && arg && arg.nodeName === 'TABLE'){\n this.tbl = arg;\n this.id = arg.id || `tf_${new Date().getTime()}_`;\n } else if(argtype === 'string'){\n this.id = arg;\n this.tbl = Dom.id(arg);\n } else if(argtype === 'number'){\n this.startRow = arg;\n } else if(argtype === 'object'){\n this.cfg = arg;\n }\n });\n\n if(!this.tbl || this.tbl.nodeName != 'TABLE' || this.getRowsNb() === 0){\n throw new Error(\n 'Could not instantiate TableFilter: HTML table not found.');\n }\n\n // configuration object\n let f = this.cfg;\n\n //Start row et cols nb\n this.refRow = this.startRow === null ? 2 : (this.startRow+1);\n try{ this.nbCells = this.getCellsNb(this.refRow); }\n catch(e){ this.nbCells = this.getCellsNb(0); }\n\n //default script base path\n this.basePath = f.base_path || 'tablefilter/';\n\n /*** filter types ***/\n this.fltTypeInp = 'input';\n this.fltTypeSlc = 'select';\n this.fltTypeMulti = 'multiple';\n this.fltTypeCheckList = 'checklist';\n this.fltTypeNone = 'none';\n\n /*** filters' grid properties ***/\n\n //enables/disables filter grid\n this.fltGrid = f.grid === false ? false : true;\n\n //enables/disables grid layout (fixed headers)\n this.gridLayout = Boolean(f.grid_layout);\n\n this.filtersRowIndex = isNaN(f.filters_row_index) ?\n 0 : f.filters_row_index;\n this.headersRow = isNaN(f.headers_row_index) ?\n (this.filtersRowIndex === 0 ? 1 : 0) : f.headers_row_index;\n\n if(this.gridLayout){\n if(this.headersRow > 1){\n this.filtersRowIndex = this.headersRow+1;\n } else {\n this.filtersRowIndex = 1;\n this.headersRow = 0;\n }\n }\n\n //defines tag of the cells containing filters (td/th)\n this.fltCellTag = f.filters_cell_tag!=='th' ||\n f.filters_cell_tag!=='td' ? 'td' : f.filters_cell_tag;\n\n //stores filters ids\n this.fltIds = [];\n //stores filters DOM elements\n this.fltElms = [];\n //stores filters values\n this.searchArgs = null;\n //stores valid rows indexes (rows visible upon filtering)\n this.validRowsIndex = null;\n //stores filters row element\n this.fltGridEl = null;\n //is first load boolean\n this.isFirstLoad = true;\n //container div for paging elements, reset btn etc.\n this.infDiv = null;\n //div for rows counter\n this.lDiv = null;\n //div for reset button and results per page select\n this.rDiv = null;\n //div for paging elements\n this.mDiv = null;\n\n //defines css class for div containing paging elements, rows counter etc\n this.infDivCssClass = f.inf_div_css_class || 'inf';\n //defines css class for left div\n this.lDivCssClass = f.left_div_css_class || 'ldiv';\n //defines css class for right div\n this.rDivCssClass = f.right_div_css_class || 'rdiv';\n //defines css class for mid div\n this.mDivCssClass = f.middle_div_css_class || 'mdiv';\n //table container div css class\n this.contDivCssClass = f.content_div_css_class || 'cont';\n\n /*** filters' grid appearance ***/\n //stylesheet file\n this.stylePath = f.style_path || this.basePath + 'style/';\n this.stylesheet = f.stylesheet || this.stylePath+'tablefilter.css';\n this.stylesheetId = this.id + '_style';\n //defines css class for filters row\n this.fltsRowCssClass = f.flts_row_css_class || 'fltrow';\n //enables/disables icons (paging, reset button)\n this.enableIcons = f.enable_icons===false ? false : true;\n //enables/disbles rows alternating bg colors\n this.alternateRows = Boolean(f.alternate_rows);\n //defines widths of columns\n this.hasColWidths = Types.isArray(f.col_widths);\n this.colWidths = this.hasColWidths ? f.col_widths : null;\n //defines css class for filters\n this.fltCssClass = f.flt_css_class || 'flt';\n //defines css class for multiple selects filters\n this.fltMultiCssClass = f.flt_multi_css_class || 'flt_multi';\n //defines css class for filters\n this.fltSmallCssClass = f.flt_small_css_class || 'flt_s';\n //defines css class for single-filter\n this.singleFltCssClass = f.single_flt_css_class || 'single_flt';\n\n /*** filters' grid behaviours ***/\n //enables/disables enter key\n this.enterKey = f.enter_key===false ? false : true;\n //calls function before filtering starts\n this.onBeforeFilter = Types.isFn(f.on_before_filter) ?\n f.on_before_filter : null;\n //calls function after filtering\n this.onAfterFilter = Types.isFn(f.on_after_filter) ?\n f.on_after_filter : null;\n //enables/disables case sensitivity\n this.caseSensitive = Boolean(f.case_sensitive);\n //has exact match per column\n this.hasExactMatchByCol = Types.isArray(f.columns_exact_match);\n this.exactMatchByCol = this.hasExactMatchByCol ?\n f.columns_exact_match : [];\n //enables/disbles exact match for search\n this.exactMatch = Boolean(f.exact_match);\n //refreshes drop-down lists upon validation\n this.linkedFilters = Boolean(f.linked_filters);\n //wheter excluded options are disabled\n this.disableExcludedOptions = Boolean(f.disable_excluded_options);\n //stores active filter element\n this.activeFlt = null;\n //id of active filter\n this.activeFilterId = null;\n //enables always visible rows\n this.hasVisibleRows = Boolean(f.rows_always_visible);\n //array containing always visible rows\n this.visibleRows = this.hasVisibleRows ? f.rows_always_visible : [];\n //enables/disables external filters generation\n this.isExternalFlt = Boolean(f.external_flt_grid);\n //array containing ids of external elements containing filters\n this.externalFltTgtIds = f.external_flt_grid_ids || null;\n //stores filters elements if isExternalFlt is true\n this.externalFltEls = [];\n //delays any filtering process if loader true\n this.execDelay = !isNaN(f.exec_delay) ? parseInt(f.exec_delay,10) : 100;\n //calls function when filters grid loaded\n this.onFiltersLoaded = Types.isFn(f.on_filters_loaded) ?\n f.on_filters_loaded : null;\n //enables/disables single filter search\n this.singleSearchFlt = Boolean(f.single_filter);\n //calls function after row is validated\n this.onRowValidated = Types.isFn(f.on_row_validated) ?\n f.on_row_validated : null;\n //array defining columns for customCellData event\n this.customCellDataCols = f.custom_cell_data_cols ?\n f.custom_cell_data_cols : [];\n //calls custom function for retrieving cell data\n this.customCellData = Types.isFn(f.custom_cell_data) ?\n f.custom_cell_data : null;\n //input watermark text array\n this.watermark = f.watermark || '';\n this.isWatermarkArray = Types.isArray(this.watermark);\n //id of toolbar container element\n this.toolBarTgtId = f.toolbar_target_id || null;\n //enables/disables help div\n this.help = Types.isUndef(f.help_instructions) ?\n undefined : Boolean(f.help_instructions);\n //popup filters\n this.popupFilters = Boolean(f.popup_filters);\n //active columns color\n this.markActiveColumns = Boolean(f.mark_active_columns);\n //defines css class for active column header\n this.activeColumnsCssClass = f.active_columns_css_class ||\n 'activeHeader';\n //calls function before active column header is marked\n this.onBeforeActiveColumn = Types.isFn(f.on_before_active_column) ?\n f.on_before_active_column : null;\n //calls function after active column header is marked\n this.onAfterActiveColumn = Types.isFn(f.on_after_active_column) ?\n f.on_after_active_column : null;\n\n /*** select filter's customisation and behaviours ***/\n //defines 1st option text\n this.displayAllText = f.display_all_text || 'Clear';\n //enables/disables empty option in combo-box filters\n this.enableEmptyOption = Boolean(f.enable_empty_option);\n //defines empty option text\n this.emptyText = f.empty_text || '(Empty)';\n //enables/disables non empty option in combo-box filters\n this.enableNonEmptyOption = Boolean(f.enable_non_empty_option);\n //defines empty option text\n this.nonEmptyText = f.non_empty_text || '(Non empty)';\n //enables/disables onChange event on combo-box\n this.onSlcChange = f.on_change===false ? false : true;\n //enables/disables select options sorting\n this.sortSlc = f.sort_select===false ? false : true;\n //enables/disables ascending numeric options sorting\n this.isSortNumAsc = Boolean(f.sort_num_asc);\n this.sortNumAsc = this.isSortNumAsc ? f.sort_num_asc : null;\n //enables/disables descending numeric options sorting\n this.isSortNumDesc = Boolean(f.sort_num_desc);\n this.sortNumDesc = this.isSortNumDesc ? f.sort_num_desc : null;\n //Select filters are populated on demand\n this.loadFltOnDemand = Boolean(f.load_filters_on_demand);\n this.hasCustomOptions = Types.isObj(f.custom_options);\n this.customOptions = f.custom_options;\n\n /*** Filter operators ***/\n this.rgxOperator = f.regexp_operator || 'rgx:';\n this.emOperator = f.empty_operator || '[empty]';\n this.nmOperator = f.nonempty_operator || '[nonempty]';\n this.orOperator = f.or_operator || '||';\n this.anOperator = f.and_operator || '&&';\n this.grOperator = f.greater_operator || '>';\n this.lwOperator = f.lower_operator || '<';\n this.leOperator = f.lower_equal_operator || '<=';\n this.geOperator = f.greater_equal_operator || '>=';\n this.dfOperator = f.different_operator || '!';\n this.lkOperator = f.like_operator || '*';\n this.eqOperator = f.equal_operator || '=';\n this.stOperator = f.start_with_operator || '{';\n this.enOperator = f.end_with_operator || '}';\n this.curExp = f.cur_exp || '^[¥£€$]';\n this.separator = f.separator || ',';\n\n /*** rows counter ***/\n //show/hides rows counter\n this.rowsCounter = Boolean(f.rows_counter);\n\n /*** status bar ***/\n //show/hides status bar\n this.statusBar = Boolean(f.status_bar);\n\n /*** loader ***/\n //enables/disables loader/spinner indicator\n this.loader = Boolean(f.loader);\n\n /*** validation - reset buttons/links ***/\n //show/hides filter's validation button\n this.displayBtn = Boolean(f.btn);\n //defines validation button text\n this.btnText = f.btn_text || (!this.enableIcons ? 'Go' : '');\n //defines css class for validation button\n this.btnCssClass = f.btn_css_class ||\n (!this.enableIcons ? 'btnflt' : 'btnflt_icon');\n //show/hides reset link\n this.btnReset = Boolean(f.btn_reset);\n //defines css class for reset button\n this.btnResetCssClass = f.btn_reset_css_class || 'reset';\n //callback function before filters are cleared\n this.onBeforeReset = Types.isFn(f.on_before_reset) ?\n f.on_before_reset : null;\n //callback function after filters are cleared\n this.onAfterReset = Types.isFn(f.on_after_reset) ?\n f.on_after_reset : null;\n\n /*** paging ***/\n //enables/disables table paging\n this.paging = Boolean(f.paging);\n this.nbVisibleRows = 0; //nb visible rows\n this.nbHiddenRows = 0; //nb hidden rows\n\n /*** autofilter on typing ***/\n //enables/disables auto filtering, table is filtered when user stops\n //typing\n this.autoFilter = Boolean(f.auto_filter);\n //onkeyup delay timer (msecs)\n this.autoFilterDelay = !isNaN(f.auto_filter_delay) ?\n f.auto_filter_delay : 900;\n //typing indicator\n this.isUserTyping = null;\n this.autoFilterTimer = null;\n\n /*** keyword highlighting ***/\n //enables/disables keyword highlighting\n this.highlightKeywords = Boolean(f.highlight_keywords);\n\n /*** No results feature ***/\n this.noResults = Types.isObj(f.no_results_message) ||\n Boolean(f.no_results_message);\n\n /*** data types ***/\n //defines default date type (european DMY)\n this.defaultDateType = f.default_date_type || 'DMY';\n //defines default thousands separator\n //US = ',' EU = '.'\n this.thousandsSeparator = f.thousands_separator || ',';\n //defines default decimal separator\n //US & javascript = '.' EU = ','\n this.decimalSeparator = f.decimal_separator || '.';\n //enables number format per column\n this.hasColNbFormat = Types.isArray(f.col_number_format);\n //array containing columns nb formats\n this.colNbFormat = this.hasColNbFormat ? f.col_number_format : null;\n //enables date type per column\n this.hasColDateType = Types.isArray(f.col_date_type);\n //array containing columns date type\n this.colDateType = this.hasColDateType ? f.col_date_type : null;\n\n /*** status messages ***/\n //filtering\n this.msgFilter = f.msg_filter || 'Filtering data...';\n //populating drop-downs\n this.msgPopulate = f.msg_populate || 'Populating filter...';\n //populating drop-downs\n this.msgPopulateCheckList = f.msg_populate_checklist ||\n 'Populating list...';\n //changing paging page\n this.msgChangePage = f.msg_change_page || 'Collecting paging data...';\n //clearing filters\n this.msgClear = f.msg_clear || 'Clearing filters...';\n //changing nb results/page\n this.msgChangeResults = f.msg_change_results ||\n 'Changing results per page...';\n //re-setting grid values\n this.msgResetValues = f.msg_reset_grid_values ||\n 'Re-setting filters values...';\n //re-setting page\n this.msgResetPage = f.msg_reset_page || 'Re-setting page...';\n //re-setting page length\n this.msgResetPageLength = f.msg_reset_page_length ||\n 'Re-setting page length...';\n //table sorting\n this.msgSort = f.msg_sort || 'Sorting data...';\n //extensions loading\n this.msgLoadExtensions = f.msg_load_extensions ||\n 'Loading extensions...';\n //themes loading\n this.msgLoadThemes = f.msg_load_themes || 'Loading theme(s)...';\n\n /*** ids prefixes ***/\n //css class name added to table\n this.prfxTf = 'TF';\n //filters (inputs - selects)\n this.prfxFlt = 'flt';\n //validation button\n this.prfxValButton = 'btn';\n //container div for paging elements, rows counter etc.\n this.prfxInfDiv = 'inf_';\n //left div\n this.prfxLDiv = 'ldiv_';\n //right div\n this.prfxRDiv = 'rdiv_';\n //middle div\n this.prfxMDiv = 'mdiv_';\n //filter values cookie\n this.prfxCookieFltsValues = 'tf_flts_';\n //page nb cookie\n this.prfxCookiePageNb = 'tf_pgnb_';\n //page length cookie\n this.prfxCookiePageLen = 'tf_pglen_';\n\n /*** cookies ***/\n this.hasStoredValues = false;\n //remembers filters values on page load\n this.rememberGridValues = Boolean(f.remember_grid_values);\n //cookie storing filter values\n this.fltsValuesCookie = this.prfxCookieFltsValues + this.id;\n //remembers page nb on page load\n this.rememberPageNb = this.paging && f.remember_page_number;\n //cookie storing page nb\n this.pgNbCookie = this.prfxCookiePageNb + this.id;\n //remembers page length on page load\n this.rememberPageLen = this.paging && f.remember_page_length;\n //cookie storing page length\n this.pgLenCookie = this.prfxCookiePageLen + this.id;\n\n /*** extensions ***/\n //imports external script\n this.extensions = f.extensions;\n this.hasExtensions = Types.isArray(this.extensions);\n\n /*** themes ***/\n this.enableDefaultTheme = Boolean(f.enable_default_theme);\n //imports themes\n this.hasThemes = (this.enableDefaultTheme || Types.isArray(f.themes));\n this.themes = f.themes || [];\n //themes path\n this.themesPath = f.themes_path || this.stylePath + 'themes/';\n\n // Features registry\n this.Mod = {};\n\n // Extensions registry\n this.ExtRegistry = {};\n\n /*** TF events ***/\n this.Evt = {\n name: {\n filter: 'Filter',\n dropdown: 'DropDown',\n checklist: 'CheckList',\n changepage: 'ChangePage',\n clear: 'Clear',\n changeresultsperpage: 'ChangeResults',\n resetvalues: 'ResetValues',\n resetpage: 'ResetPage',\n resetpagelength: 'ResetPageLength',\n loadextensions: 'LoadExtensions',\n loadthemes: 'LoadThemes'\n },\n\n // Detect key\n detectKey(e) {\n if(!this.enterKey){ return; }\n let _ev = e || global.event;\n if(_ev){\n let key = Event.keyCode(_ev);\n if(key===13){\n this.filter();\n Event.cancel(_ev);\n Event.stop(_ev);\n } else {\n this.isUserTyping = true;\n global.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n }\n }\n },\n // if auto-filter on, detect user is typing and filter columns\n onKeyUp(e) {\n if(!this.autoFilter){\n return;\n }\n let _ev = e || global.event;\n let key = Event.keyCode(_ev);\n this.isUserTyping = false;\n\n function filter() {\n /*jshint validthis:true */\n global.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n if(!this.isUserTyping){\n this.filter();\n this.isUserTyping = null;\n }\n }\n\n if(key!==13 && key!==9 && key!==27 && key!==38 && key!==40) {\n if(this.autoFilterTimer === null){\n this.autoFilterTimer = global.setInterval(\n filter.bind(this), this.autoFilterDelay);\n }\n } else {\n global.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n }\n },\n // if auto-filter on, detect user is typing\n onKeyDown() {\n if(!this.autoFilter) { return; }\n this.isUserTyping = true;\n },\n // if auto-filter on, clear interval on filter blur\n onInpBlur() {\n if(this.autoFilter){\n this.isUserTyping = false;\n global.clearInterval(this.autoFilterTimer);\n }\n // TODO: hack to prevent ezEditTable enter key event hijaking.\n // Needs to be fixed in the vendor's library\n if(this.hasExtension('advancedGrid')){\n var advGrid = this.extension('advancedGrid');\n var ezEditTable = advGrid._ezEditTable;\n if(advGrid.cfg.editable){\n ezEditTable.Editable.Set();\n }\n if(advGrid.cfg.selection){\n ezEditTable.Selection.Set();\n }\n }\n },\n // set focused text-box filter as active\n onInpFocus(e) {\n let _ev = e || global.event;\n let elm = Event.target(_ev);\n this.activeFilterId = elm.getAttribute('id');\n this.activeFlt = Dom.id(this.activeFilterId);\n if(this.popupFilters){\n Event.cancel(_ev);\n Event.stop(_ev);\n }\n // TODO: hack to prevent ezEditTable enter key event hijaking.\n // Needs to be fixed in the vendor's library\n if(this.hasExtension('advancedGrid')){\n var advGrid = this.extension('advancedGrid');\n var ezEditTable = advGrid._ezEditTable;\n if(advGrid.cfg.editable){\n ezEditTable.Editable.Remove();\n }\n if(advGrid.cfg.selection){\n ezEditTable.Selection.Remove();\n }\n }\n },\n // set focused drop-down filter as active\n onSlcFocus(e) {\n let _ev = e || global.event;\n let elm = Event.target(_ev);\n this.activeFilterId = elm.getAttribute('id');\n this.activeFlt = Dom.id(this.activeFilterId);\n // select is populated when element has focus\n if(this.loadFltOnDemand && elm.getAttribute('filled') === '0'){\n let ct = elm.getAttribute('ct');\n this.Mod.dropdown._build(ct);\n }\n if(this.popupFilters){\n Event.cancel(_ev);\n Event.stop(_ev);\n }\n },\n // filter columns on drop-down filter change\n onSlcChange(e) {\n if(!this.activeFlt){ return; }\n let _ev = e || global.event;\n if(this.popupFilters){ Event.stop(_ev); }\n if(this.onSlcChange){ this.filter(); }\n },\n // fill checklist filter on click if required\n onCheckListClick(e) {\n let _ev = e || global.event;\n let elm = Event.target(_ev);\n if(this.loadFltOnDemand && elm.getAttribute('filled') === '0'){\n let ct = elm.getAttribute('ct');\n this.Mod.checkList._build(ct);\n this.Mod.checkList.checkListDiv[ct].onclick = null;\n this.Mod.checkList.checkListDiv[ct].title = '';\n }\n }\n };\n }\n\n /**\n * Initialise filtering grid bar behaviours and layout\n *\n * TODO: decompose in smaller methods\n */\n init(){\n if(this._hasGrid){\n return;\n }\n if(!this.tbl){\n this.tbl = Dom.id(this.id);\n }\n if(this.gridLayout){\n this.refRow = this.startRow===null ? 0 : this.startRow;\n }\n if(this.popupFilters &&\n ((this.filtersRowIndex === 0 && this.headersRow === 1) ||\n this.gridLayout)){\n this.headersRow = 0;\n }\n\n let Mod = this.Mod;\n let n = this.singleSearchFlt ? 1 : this.nbCells,\n 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){ this._loadThemes(); }\n\n if(this.rememberGridValues || this.rememberPageNb ||\n this.rememberPageLen){\n Mod.store = new Store(this);\n }\n\n if(this.gridLayout){\n Mod.gridLayout = new GridLayout(this);\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 }\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.refRow = this.refRow-1;\n if(this.gridLayout){\n this.refRow = 0;\n }\n this.nbFilterableRows = this.getRowsNb();\n this.nbVisibleRows = this.nbFilterableRows;\n this.nbRows = this.nbFilterableRows + this.refRow;\n } else {\n if(this.isFirstLoad){\n let fltrow;\n if(!this.gridLayout){\n let thead = Dom.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 if(this.headersRow > 1 &&\n this.filtersRowIndex <= this.headersRow &&\n !this.popupFilters){\n this.headersRow++;\n }\n if(this.popupFilters){\n this.headersRow++;\n }\n\n fltrow.className = this.fltsRowCssClass;\n\n if(this.isExternalFlt || this.popupFilters){\n fltrow.style.display = 'none';\n }\n }\n\n this.nbFilterableRows = this.getRowsNb();\n this.nbVisibleRows = this.nbFilterableRows;\n this.nbRows = this.tbl.rows.length;\n\n for(let i=0; i this.filter());\n }//if\n\n }// for i\n\n } else {\n this._resetGrid();\n }//if isFirstLoad\n\n }//if this.fltGrid\n\n /* Features */\n if(this.hasVisibleRows){\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 || Mod.paging){\n if(!Mod.paging){\n Mod.paging = new Paging(this);\n Mod.paging.init();\n }\n Mod.paging.reset();\n }\n if(this.btnReset){\n Mod.clearButton = new ClearButton(this);\n Mod.clearButton.init();\n }\n if(this.help){\n if(!Mod.help){\n Mod.help = new Help(this);\n }\n Mod.help.init();\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 this.isFirstLoad = false;\n this._hasGrid = true;\n\n if(this.rememberGridValues || this.rememberPageLen ||\n this.rememberPageNb){\n this.resetValues();\n }\n\n //TF css class is added to table\n if(!this.gridLayout){\n Dom.addClass(this.tbl, this.prfxTf);\n }\n\n if(this.loader){\n Mod.loader.show('none');\n }\n\n /* Loads extensions */\n if(this.hasExtensions){\n this.initExtensions();\n }\n\n if(this.onFiltersLoaded){\n this.onFiltersLoaded.call(null, this);\n }\n }\n\n /**\n * Manages state messages\n * @param {String} evt Event name\n * @param {Object} cfg Config object\n */\n EvtManager(evt,\n cfg={ slcIndex: null, slcExternal: false, slcId: null, pgIndex: null }){\n let slcIndex = cfg.slcIndex;\n let slcExternal = cfg.slcExternal;\n let slcId = cfg.slcId;\n let pgIndex = cfg.pgIndex;\n let cpt = this.Mod;\n\n function efx(){\n /*jshint validthis:true */\n let ev = this.Evt.name;\n\n switch(evt){\n case ev.filter:\n this._filter();\n break;\n case ev.dropdown:\n if(this.linkedFilters){\n cpt.dropdown._build(slcIndex, true);\n } else {\n cpt.dropdown._build(\n slcIndex, false, slcExternal, slcId);\n }\n break;\n case ev.checklist:\n cpt.checkList._build(slcIndex, slcExternal, slcId);\n break;\n case ev.changepage:\n cpt.paging._changePage(pgIndex);\n break;\n case ev.clear:\n this._clearFilters();\n this._filter();\n break;\n case ev.changeresultsperpage:\n cpt.paging._changeResultsPerPage();\n break;\n case ev.resetvalues:\n this._resetValues();\n this._filter();\n break;\n case ev.resetpage:\n cpt.paging._resetPage(this.pgNbCookie);\n break;\n case ev.resetpagelength:\n cpt.paging._resetPageLength(this.pgLenCookie);\n break;\n case ev.loadextensions:\n this._loadExtensions();\n break;\n case ev.loadthemes:\n this._loadThemes();\n break;\n }\n if(this.statusBar){\n cpt.statusBar.message('');\n }\n if(this.loader){\n cpt.loader.show('none');\n }\n }\n\n if(!this.loader && !this.statusBar && !this.linkedFilters) {\n efx.call(this);\n } else {\n if(this.loader){\n cpt.loader.show('');\n }\n if(this.statusBar){\n cpt.statusBar.message(this['msg'+evt]);\n }\n global.setTimeout(efx.bind(this), this.execDelay);\n }\n }\n\n /**\n * Return a feature instance for a given name\n * @param {String} name Name of the feature\n * @return {Object}\n */\n feature(name){\n return this.Mod[name];\n }\n\n /**\n * Initialise all the extensions defined in the configuration object\n */\n initExtensions(){\n let exts = this.extensions;\n\n for(let i=0, len=exts.length; i {\n let inst = new mod.default(this, ext);\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 !Types.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';\n\n //Paging buttons\n this.btnPrevPageHtml = '';\n this.btnNextPageHtml = '';\n this.btnFirstPageHtml = '';\n this.btnLastPageHtml = '';\n\n //Loader\n this.loader = true;\n this.loaderHtml = '
';\n this.loaderText = null;\n }\n\n /**\n * Return stylesheet DOM element for a given theme name\n * @return {DOMElement} stylesheet element\n */\n getStylesheet(name='default'){\n return Dom.id(this.prfxTf + name);\n }\n\n /**\n * Destroy filter grid\n */\n destroy(){\n if(!this._hasGrid){\n return;\n }\n let rows = this.tbl.rows,\n Mod = this.Mod;\n\n this._clearFilters();\n\n if(this.isExternalFlt && !this.popupFilters){\n this.removeExternalFlts();\n }\n if(this.infDiv){\n this.removeToolbar();\n }\n if(this.highlightKeywords){\n Mod.highlightKeyword.unhighlightAll();\n }\n if(this.markActiveColumns){\n this.clearActiveColumns();\n }\n if(this.hasExtensions){\n this.destroyExtensions();\n }\n\n for(let j=this.refRow; j 0){\n [].forEach.call(captions, function(elm) {\n tbl.removeChild(elm);\n });\n }\n }\n\n /**\n * Remove all the external column filters\n */\n removeExternalFlts(){\n if(!this.isExternalFlt || !this.externalFltTgtIds){\n return;\n }\n let ids = this.externalFltTgtIds,\n len = ids.length;\n for(let ct=0; ct