diff --git a/docs/ast/source/extensions/colsVisibility/colsVisibility.js.json b/docs/ast/source/extensions/colsVisibility/colsVisibility.js.json index 7e57fbdb..bda11765 100644 --- a/docs/ast/source/extensions/colsVisibility/colsVisibility.js.json +++ b/docs/ast/source/extensions/colsVisibility/colsVisibility.js.json @@ -465,59 +465,6 @@ "column": 11 } } - }, - { - "type": "ImportSpecifier", - "local": { - "type": "Identifier", - "name": "tag", - "range": [ - 132, - 135 - ], - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - "imported": { - "type": "Identifier", - "name": "tag", - "range": [ - 132, - 135 - ], - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - "range": [ - 132, - 135 - ], - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 16 - } - } } ], "source": { @@ -525,8 +472,8 @@ "value": "../../dom", "raw": "'../../dom'", "range": [ - 143, - 154 + 138, + 149 ], "loc": { "start": { @@ -541,7 +488,7 @@ }, "range": [ 39, - 155 + 150 ], "loc": { "start": { @@ -563,8 +510,8 @@ "type": "Identifier", "name": "isFn", "range": [ - 164, - 168 + 159, + 163 ], "loc": { "start": { @@ -581,8 +528,8 @@ "type": "Identifier", "name": "isFn", "range": [ - 164, - 168 + 159, + 163 ], "loc": { "start": { @@ -596,8 +543,8 @@ } }, "range": [ - 164, - 168 + 159, + 163 ], "loc": { "start": { @@ -616,8 +563,8 @@ "value": "../../types", "raw": "'../../types'", "range": [ - 175, - 188 + 170, + 183 ], "loc": { "start": { @@ -631,8 +578,8 @@ } }, "range": [ - 156, - 189 + 151, + 184 ], "loc": { "start": { @@ -654,8 +601,8 @@ "type": "Identifier", "name": "addEvt", "range": [ - 198, - 204 + 193, + 199 ], "loc": { "start": { @@ -672,8 +619,8 @@ "type": "Identifier", "name": "addEvt", "range": [ - 198, - 204 + 193, + 199 ], "loc": { "start": { @@ -687,8 +634,8 @@ } }, "range": [ - 198, - 204 + 193, + 199 ], "loc": { "start": { @@ -707,8 +654,8 @@ "type": "Identifier", "name": "targetEvt", "range": [ - 206, - 215 + 201, + 210 ], "loc": { "start": { @@ -725,8 +672,8 @@ "type": "Identifier", "name": "targetEvt", "range": [ - 206, - 215 + 201, + 210 ], "loc": { "start": { @@ -740,8 +687,8 @@ } }, "range": [ - 206, - 215 + 201, + 210 ], "loc": { "start": { @@ -760,8 +707,8 @@ "value": "../../event", "raw": "'../../event'", "range": [ - 222, - 235 + 217, + 230 ], "loc": { "start": { @@ -775,8 +722,8 @@ } }, "range": [ - 190, - 236 + 185, + 231 ], "loc": { "start": { @@ -787,7 +734,27 @@ "line": 7, "column": 46 } - } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Columns Visibility extension\n ", + "range": [ + 233, + 272 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ] }, { "type": "ExportDefaultDeclaration", @@ -797,16 +764,16 @@ "type": "Identifier", "name": "ColsVisibility", "range": [ - 259, - 273 + 294, + 308 ], "loc": { "start": { - "line": 9, + "line": 12, "column": 21 }, "end": { - "line": 9, + "line": 12, "column": 35 } } @@ -815,16 +782,16 @@ "type": "Identifier", "name": "Feature", "range": [ - 282, - 289 + 317, + 324 ], "loc": { "start": { - "line": 9, + "line": 12, "column": 44 }, "end": { - "line": 9, + "line": 12, "column": 51 } } @@ -838,16 +805,16 @@ "type": "Identifier", "name": "constructor", "range": [ - 447, - 458 + 496, + 507 ], "loc": { "start": { - "line": 16, + "line": 20, "column": 4 }, "end": { - "line": 16, + "line": 20, "column": 15 } } @@ -860,16 +827,16 @@ "type": "Identifier", "name": "tf", "range": [ - 459, - 461 + 508, + 510 ], "loc": { "start": { - "line": 16, + "line": 20, "column": 16 }, "end": { - "line": 16, + "line": 20, "column": 18 } } @@ -878,16 +845,16 @@ "type": "Identifier", "name": "f", "range": [ - 463, - 464 + 512, + 513 ], "loc": { "start": { - "line": 16, + "line": 20, "column": 20 }, "end": { - "line": 16, + "line": 20, "column": 21 } } @@ -903,16 +870,16 @@ "callee": { "type": "Super", "range": [ - 476, - 481 + 525, + 530 ], "loc": { "start": { - "line": 17, + "line": 21, "column": 8 }, "end": { - "line": 17, + "line": 21, "column": 13 } } @@ -922,16 +889,16 @@ "type": "Identifier", "name": "tf", "range": [ - 482, - 484 + 531, + 533 ], "loc": { "start": { - "line": 17, + "line": 21, "column": 14 }, "end": { - "line": 17, + "line": 21, "column": 16 } } @@ -943,16 +910,16 @@ "type": "Identifier", "name": "f", "range": [ - 486, - 487 + 535, + 536 ], "loc": { "start": { - "line": 17, + "line": 21, "column": 18 }, "end": { - "line": 17, + "line": 21, "column": 19 } } @@ -961,62 +928,62 @@ "type": "Identifier", "name": "name", "range": [ - 488, - 492 + 537, + 541 ], "loc": { "start": { - "line": 17, + "line": 21, "column": 20 }, "end": { - "line": 17, + "line": 21, "column": 24 } } }, "range": [ - 486, - 492 + 535, + 541 ], "loc": { "start": { - "line": 17, + "line": 21, "column": 18 }, "end": { - "line": 17, + "line": 21, "column": 24 } } } ], "range": [ - 476, - 493 + 525, + 542 ], "loc": { "start": { - "line": 17, + "line": 21, "column": 8 }, "end": { - "line": 17, + "line": 21, "column": 25 } } }, "range": [ - 476, - 494 + 525, + 543 ], "loc": { "start": { - "line": 17, + "line": 21, "column": 8 }, "end": { - "line": 17, + "line": 21, "column": 26 } }, @@ -1025,16 +992,16 @@ "type": "Line", "value": " Configuration object", "range": [ - 504, - 527 + 553, + 576 ], "loc": { "start": { - "line": 19, + "line": 23, "column": 8 }, "end": { - "line": 19, + "line": 23, "column": 31 } } @@ -1050,103 +1017,84 @@ "type": "Identifier", "name": "cfg", "range": [ - 540, - 543 + 589, + 592 ], "loc": { "start": { - "line": 20, + "line": 24, "column": 12 }, "end": { - "line": 20, + "line": 24, "column": 15 } } }, "init": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 546, - 548 - ], - "loc": { - "start": { - "line": 20, - "column": 18 - }, - "end": { - "line": 20, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "name": "config", - "range": [ - 549, - 555 - ], - "loc": { - "start": { - "line": 20, - "column": 21 - }, - "end": { - "line": 20, - "column": 27 - } - } - }, + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", "range": [ - 546, - 555 + 595, + 599 ], "loc": { "start": { - "line": 20, + "line": 24, "column": 18 }, "end": { - "line": 20, - "column": 27 + "line": 24, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 600, + 606 + ], + "loc": { + "start": { + "line": 24, + "column": 23 + }, + "end": { + "line": 24, + "column": 29 } } }, - "arguments": [], "range": [ - 546, - 557 + 595, + 606 ], "loc": { "start": { - "line": 20, + "line": 24, "column": 18 }, "end": { - "line": 20, + "line": 24, "column": 29 } } }, "range": [ - 540, - 557 + 589, + 606 ], "loc": { "start": { - "line": 20, + "line": 24, "column": 12 }, "end": { - "line": 20, + "line": 24, "column": 29 } } @@ -1154,16 +1102,16 @@ ], "kind": "let", "range": [ - 536, - 558 + 585, + 607 ], "loc": { "start": { - "line": 20, + "line": 24, "column": 8 }, "end": { - "line": 20, + "line": 24, "column": 30 } }, @@ -1172,20 +1120,40 @@ "type": "Line", "value": " Configuration object", "range": [ - 504, - 527 + 553, + 576 ], "loc": { "start": { - "line": 19, + "line": 23, "column": 8 }, "end": { - "line": 19, + "line": 23, "column": 31 } } } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Module name\n * @type {String}\n ", + "range": [ + 617, + 681 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 29, + "column": 11 + } + } + } ] }, { @@ -1199,123 +1167,16 @@ "object": { "type": "ThisExpression", "range": [ - 568, - 572 + 690, + 694 ], "loc": { "start": { - "line": 22, + "line": 30, "column": 8 }, "end": { - "line": 22, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "initialized", - "range": [ - 573, - 584 - ], - "loc": { - "start": { - "line": 22, - "column": 13 - }, - "end": { - "line": 22, - "column": 24 - } - } - }, - "range": [ - 568, - 584 - ], - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 24 - } - } - }, - "right": { - "type": "Literal", - "value": false, - "raw": "false", - "range": [ - 587, - 592 - ], - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 32 - } - } - }, - "range": [ - 568, - 592 - ], - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 32 - } - } - }, - "range": [ - 568, - 593 - ], - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 33 - } - } - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 602, - 606 - ], - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, + "line": 30, "column": 12 } } @@ -1324,31 +1185,31 @@ "type": "Identifier", "name": "name", "range": [ - 607, - 611 + 695, + 699 ], "loc": { "start": { - "line": 23, + "line": 30, "column": 13 }, "end": { - "line": 23, + "line": 30, "column": 17 } } }, "range": [ - 602, - 611 + 690, + 699 ], "loc": { "start": { - "line": 23, + "line": 30, "column": 8 }, "end": { - "line": 23, + "line": 30, "column": 17 } } @@ -1360,16 +1221,16 @@ "type": "Identifier", "name": "f", "range": [ - 614, - 615 + 702, + 703 ], "loc": { "start": { - "line": 23, + "line": 30, "column": 20 }, "end": { - "line": 23, + "line": 30, "column": 21 } } @@ -1378,64 +1239,104 @@ "type": "Identifier", "name": "name", "range": [ - 616, - 620 + 704, + 708 ], "loc": { "start": { - "line": 23, + "line": 30, "column": 22 }, "end": { - "line": 23, + "line": 30, "column": 26 } } }, "range": [ - 614, - 620 + 702, + 708 ], "loc": { "start": { - "line": 23, + "line": 30, "column": 20 }, "end": { - "line": 23, + "line": 30, "column": 26 } } }, "range": [ - 602, - 620 + 690, + 708 ], "loc": { "start": { - "line": 23, + "line": 30, "column": 8 }, "end": { - "line": 23, + "line": 30, "column": 26 } } }, "range": [ - 602, - 621 + 690, + 709 ], "loc": { "start": { - "line": 23, + "line": 30, "column": 8 }, "end": { - "line": 23, + "line": 30, "column": 27 } - } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Module name\n * @type {String}\n ", + "range": [ + 617, + 681 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 29, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Module description\n * @type {String}\n ", + "range": [ + 719, + 790 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 35, + "column": 11 + } + } + } + ] }, { "type": "ExpressionStatement", @@ -1448,16 +1349,16 @@ "object": { "type": "ThisExpression", "range": [ - 630, - 634 + 799, + 803 ], "loc": { "start": { - "line": 24, + "line": 36, "column": 8 }, "end": { - "line": 24, + "line": 36, "column": 12 } } @@ -1466,31 +1367,31 @@ "type": "Identifier", "name": "desc", "range": [ - 635, - 639 + 804, + 808 ], "loc": { "start": { - "line": 24, + "line": 36, "column": 13 }, "end": { - "line": 24, + "line": 36, "column": 17 } } }, "range": [ - 630, - 639 + 799, + 808 ], "loc": { "start": { - "line": 24, + "line": 36, "column": 8 }, "end": { - "line": 24, + "line": 36, "column": 17 } } @@ -1505,16 +1406,16 @@ "type": "Identifier", "name": "f", "range": [ - 642, - 643 + 811, + 812 ], "loc": { "start": { - "line": 24, + "line": 36, "column": 20 }, "end": { - "line": 24, + "line": 36, "column": 21 } } @@ -1523,31 +1424,31 @@ "type": "Identifier", "name": "description", "range": [ - 644, - 655 + 813, + 824 ], "loc": { "start": { - "line": 24, + "line": 36, "column": 22 }, "end": { - "line": 24, + "line": 36, "column": 33 } } }, "range": [ - 642, - 655 + 811, + 824 ], "loc": { "start": { - "line": 24, + "line": 36, "column": 20 }, "end": { - "line": 24, + "line": 36, "column": 33 } } @@ -1557,80 +1458,100 @@ "value": "Columns visibility manager", "raw": "'Columns visibility manager'", "range": [ - 659, - 687 + 828, + 856 ], "loc": { "start": { - "line": 24, + "line": 36, "column": 37 }, "end": { - "line": 24, + "line": 36, "column": 65 } } }, "range": [ - 642, - 687 + 811, + 856 ], "loc": { "start": { - "line": 24, + "line": 36, "column": 20 }, "end": { - "line": 24, + "line": 36, "column": 65 } } }, "range": [ - 630, - 687 + 799, + 856 ], "loc": { "start": { - "line": 24, + "line": 36, "column": 8 }, "end": { - "line": 24, + "line": 36, "column": 65 } } }, "range": [ - 630, - 688 + 799, + 857 ], "loc": { "start": { - "line": 24, + "line": 36, "column": 8 }, "end": { - "line": 24, + "line": 36, "column": 66 } }, - "trailingComments": [ + "leadingComments": [ { - "type": "Line", - "value": "show/hide cols span element", + "type": "Block", + "value": "*\n * Module description\n * @type {String}\n ", "range": [ - 698, - 727 + 719, + 790 ], "loc": { "start": { - "line": 26, + "line": 32, "column": 8 }, "end": { - "line": 26, - "column": 37 + "line": 35, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * show/hide columns container element\n * @private\n ", + "range": [ + 867, + 949 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 } } } @@ -1647,16 +1568,16 @@ "object": { "type": "ThisExpression", "range": [ - 736, - 740 + 958, + 962 ], "loc": { "start": { - "line": 27, + "line": 42, "column": 8 }, "end": { - "line": 27, + "line": 42, "column": 12 } } @@ -1665,31 +1586,31 @@ "type": "Identifier", "name": "spanEl", "range": [ - 741, - 747 + 963, + 969 ], "loc": { "start": { - "line": 27, + "line": 42, "column": 13 }, "end": { - "line": 27, + "line": 42, "column": 19 } } }, "range": [ - 736, - 747 + 958, + 969 ], "loc": { "start": { - "line": 27, + "line": 42, "column": 8 }, "end": { - "line": 27, + "line": 42, "column": 19 } } @@ -1699,85 +1620,85 @@ "value": null, "raw": "null", "range": [ - 750, - 754 + 972, + 976 ], "loc": { "start": { - "line": 27, + "line": 42, "column": 22 }, "end": { - "line": 27, + "line": 42, "column": 26 } } }, "range": [ - 736, - 754 + 958, + 976 ], "loc": { "start": { - "line": 27, + "line": 42, "column": 8 }, "end": { - "line": 27, + "line": 42, "column": 26 } } }, "range": [ - 736, - 755 + 958, + 977 ], "loc": { "start": { - "line": 27, + "line": 42, "column": 8 }, "end": { - "line": 27, + "line": 42, "column": 27 } }, "leadingComments": [ { - "type": "Line", - "value": "show/hide cols span element", + "type": "Block", + "value": "*\n * show/hide columns container element\n * @private\n ", "range": [ - 698, - 727 + 867, + 949 ], "loc": { "start": { - "line": 26, + "line": 38, "column": 8 }, "end": { - "line": 26, - "column": 37 + "line": 41, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "show/hide cols button element", + "type": "Block", + "value": "*\n * show/hide columns button element\n * @private\n ", "range": [ - 764, - 795 + 987, + 1066 ], "loc": { "start": { - "line": 28, + "line": 44, "column": 8 }, "end": { - "line": 28, - "column": 39 + "line": 47, + "column": 11 } } } @@ -1794,16 +1715,16 @@ "object": { "type": "ThisExpression", "range": [ - 804, - 808 + 1075, + 1079 ], "loc": { "start": { - "line": 29, + "line": 48, "column": 8 }, "end": { - "line": 29, + "line": 48, "column": 12 } } @@ -1812,31 +1733,31 @@ "type": "Identifier", "name": "btnEl", "range": [ - 809, - 814 + 1080, + 1085 ], "loc": { "start": { - "line": 29, + "line": 48, "column": 13 }, "end": { - "line": 29, + "line": 48, "column": 18 } } }, "range": [ - 804, - 814 + 1075, + 1085 ], "loc": { "start": { - "line": 29, + "line": 48, "column": 8 }, "end": { - "line": 29, + "line": 48, "column": 18 } } @@ -1846,85 +1767,85 @@ "value": null, "raw": "null", "range": [ - 817, - 821 + 1088, + 1092 ], "loc": { "start": { - "line": 29, + "line": 48, "column": 21 }, "end": { - "line": 29, + "line": 48, "column": 25 } } }, "range": [ - 804, - 821 + 1075, + 1092 ], "loc": { "start": { - "line": 29, + "line": 48, "column": 8 }, "end": { - "line": 29, + "line": 48, "column": 25 } } }, "range": [ - 804, - 822 + 1075, + 1093 ], "loc": { "start": { - "line": 29, + "line": 48, "column": 8 }, "end": { - "line": 29, + "line": 48, "column": 26 } }, "leadingComments": [ { - "type": "Line", - "value": "show/hide cols button element", + "type": "Block", + "value": "*\n * show/hide columns button element\n * @private\n ", "range": [ - 764, - 795 + 987, + 1066 ], "loc": { "start": { - "line": 28, + "line": 44, "column": 8 }, "end": { - "line": 28, - "column": 39 + "line": 47, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "show/hide cols container div element", + "type": "Block", + "value": "*\n * show/hide columns main container element\n * @private\n ", "range": [ - 831, - 869 + 1103, + 1190 ], "loc": { "start": { - "line": 30, + "line": 50, "column": 8 }, "end": { - "line": 30, - "column": 46 + "line": 53, + "column": 11 } } } @@ -1941,16 +1862,16 @@ "object": { "type": "ThisExpression", "range": [ - 878, - 882 + 1199, + 1203 ], "loc": { "start": { - "line": 31, + "line": 54, "column": 8 }, "end": { - "line": 31, + "line": 54, "column": 12 } } @@ -1959,31 +1880,31 @@ "type": "Identifier", "name": "contEl", "range": [ - 883, - 889 + 1204, + 1210 ], "loc": { "start": { - "line": 31, + "line": 54, "column": 13 }, "end": { - "line": 31, + "line": 54, "column": 19 } } }, "range": [ - 878, - 889 + 1199, + 1210 ], "loc": { "start": { - "line": 31, + "line": 54, "column": 8 }, "end": { - "line": 31, + "line": 54, "column": 19 } } @@ -1993,85 +1914,85 @@ "value": null, "raw": "null", "range": [ - 892, - 896 + 1213, + 1217 ], "loc": { "start": { - "line": 31, + "line": 54, "column": 22 }, "end": { - "line": 31, + "line": 54, "column": 26 } } }, "range": [ - 878, - 896 + 1199, + 1217 ], "loc": { "start": { - "line": 31, + "line": 54, "column": 8 }, "end": { - "line": 31, + "line": 54, "column": 26 } } }, "range": [ - 878, - 897 + 1199, + 1218 ], "loc": { "start": { - "line": 31, + "line": 54, "column": 8 }, "end": { - "line": 31, + "line": 54, "column": 27 } }, "leadingComments": [ { - "type": "Line", - "value": "show/hide cols container div element", + "type": "Block", + "value": "*\n * show/hide columns main container element\n * @private\n ", "range": [ - 831, - 869 + 1103, + 1190 ], "loc": { "start": { - "line": 30, + "line": 50, "column": 8 }, "end": { - "line": 30, - "column": 46 + "line": 53, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "tick to hide or show column", + "type": "Block", + "value": "*\n * Enable tick to hide a column, defaults to true\n * @type {Boolean}\n ", "range": [ - 907, - 936 + 1228, + 1328 ], "loc": { "start": { - "line": 33, + "line": 56, "column": 8 }, "end": { - "line": 33, - "column": 37 + "line": 59, + "column": 11 } } } @@ -2088,16 +2009,16 @@ "object": { "type": "ThisExpression", "range": [ - 945, - 949 + 1337, + 1341 ], "loc": { "start": { - "line": 34, + "line": 60, "column": 8 }, "end": { - "line": 34, + "line": 60, "column": 12 } } @@ -2106,31 +2027,31 @@ "type": "Identifier", "name": "tickToHide", "range": [ - 950, - 960 + 1342, + 1352 ], "loc": { "start": { - "line": 34, + "line": 60, "column": 13 }, "end": { - "line": 34, + "line": 60, "column": 23 } } }, "range": [ - 945, - 960 + 1337, + 1352 ], "loc": { "start": { - "line": 34, + "line": 60, "column": 8 }, "end": { - "line": 34, + "line": 60, "column": 23 } } @@ -2147,16 +2068,16 @@ "type": "Identifier", "name": "f", "range": [ - 963, - 964 + 1355, + 1356 ], "loc": { "start": { - "line": 34, + "line": 60, "column": 26 }, "end": { - "line": 34, + "line": 60, "column": 27 } } @@ -2165,31 +2086,31 @@ "type": "Identifier", "name": "tick_to_hide", "range": [ - 965, - 977 + 1357, + 1369 ], "loc": { "start": { - "line": 34, + "line": 60, "column": 28 }, "end": { - "line": 34, + "line": 60, "column": 40 } } }, "range": [ - 963, - 977 + 1355, + 1369 ], "loc": { "start": { - "line": 34, + "line": 60, "column": 26 }, "end": { - "line": 34, + "line": 60, "column": 40 } } @@ -2199,31 +2120,31 @@ "value": false, "raw": "false", "range": [ - 982, - 987 + 1374, + 1379 ], "loc": { "start": { - "line": 34, + "line": 60, "column": 45 }, "end": { - "line": 34, + "line": 60, "column": 50 } } }, "range": [ - 963, - 987 + 1355, + 1379 ], "loc": { "start": { - "line": 34, + "line": 60, "column": 26 }, "end": { - "line": 34, + "line": 60, "column": 50 } } @@ -2233,16 +2154,16 @@ "value": false, "raw": "false", "range": [ - 990, - 995 + 1382, + 1387 ], "loc": { "start": { - "line": 34, + "line": 60, "column": 53 }, "end": { - "line": 34, + "line": 60, "column": 58 } } @@ -2252,100 +2173,100 @@ "value": true, "raw": "true", "range": [ - 998, - 1002 + 1390, + 1394 ], "loc": { "start": { - "line": 34, + "line": 60, "column": 61 }, "end": { - "line": 34, + "line": 60, "column": 65 } } }, "range": [ - 963, - 1002 + 1355, + 1394 ], "loc": { "start": { - "line": 34, + "line": 60, "column": 26 }, "end": { - "line": 34, + "line": 60, "column": 65 } } }, "range": [ - 945, - 1002 + 1337, + 1394 ], "loc": { "start": { - "line": 34, + "line": 60, "column": 8 }, "end": { - "line": 34, + "line": 60, "column": 65 } } }, "range": [ - 945, - 1003 + 1337, + 1395 ], "loc": { "start": { - "line": 34, + "line": 60, "column": 8 }, "end": { - "line": 34, + "line": 60, "column": 66 } }, "leadingComments": [ { - "type": "Line", - "value": "tick to hide or show column", + "type": "Block", + "value": "*\n * Enable tick to hide a column, defaults to true\n * @type {Boolean}\n ", "range": [ - 907, - 936 + 1228, + 1328 ], "loc": { "start": { - "line": 33, + "line": 56, "column": 8 }, "end": { - "line": 33, - "column": 37 + "line": 59, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "enables/disables cols manager generation", + "type": "Block", + "value": "*\n * Enable columns manager UI, defaults to true\n * @type {Boolean}\n ", "range": [ - 1012, - 1054 + 1405, + 1502 ], "loc": { "start": { - "line": 35, + "line": 62, "column": 8 }, "end": { - "line": 35, - "column": 50 + "line": 65, + "column": 11 } } } @@ -2362,16 +2283,16 @@ "object": { "type": "ThisExpression", "range": [ - 1063, - 1067 + 1511, + 1515 ], "loc": { "start": { - "line": 36, + "line": 66, "column": 8 }, "end": { - "line": 36, + "line": 66, "column": 12 } } @@ -2380,31 +2301,31 @@ "type": "Identifier", "name": "manager", "range": [ - 1068, - 1075 + 1516, + 1523 ], "loc": { "start": { - "line": 36, + "line": 66, "column": 13 }, "end": { - "line": 36, + "line": 66, "column": 20 } } }, "range": [ - 1063, - 1075 + 1511, + 1523 ], "loc": { "start": { - "line": 36, + "line": 66, "column": 8 }, "end": { - "line": 36, + "line": 66, "column": 20 } } @@ -2421,16 +2342,16 @@ "type": "Identifier", "name": "f", "range": [ - 1078, - 1079 + 1526, + 1527 ], "loc": { "start": { - "line": 36, + "line": 66, "column": 23 }, "end": { - "line": 36, + "line": 66, "column": 24 } } @@ -2439,31 +2360,31 @@ "type": "Identifier", "name": "manager", "range": [ - 1080, - 1087 + 1528, + 1535 ], "loc": { "start": { - "line": 36, + "line": 66, "column": 25 }, "end": { - "line": 36, + "line": 66, "column": 32 } } }, "range": [ - 1078, - 1087 + 1526, + 1535 ], "loc": { "start": { - "line": 36, + "line": 66, "column": 23 }, "end": { - "line": 36, + "line": 66, "column": 32 } } @@ -2473,31 +2394,31 @@ "value": false, "raw": "false", "range": [ - 1092, - 1097 + 1540, + 1545 ], "loc": { "start": { - "line": 36, + "line": 66, "column": 37 }, "end": { - "line": 36, + "line": 66, "column": 42 } } }, "range": [ - 1078, - 1097 + 1526, + 1545 ], "loc": { "start": { - "line": 36, + "line": 66, "column": 23 }, "end": { - "line": 36, + "line": 66, "column": 42 } } @@ -2507,16 +2428,16 @@ "value": false, "raw": "false", "range": [ - 1100, - 1105 + 1548, + 1553 ], "loc": { "start": { - "line": 36, + "line": 66, "column": 45 }, "end": { - "line": 36, + "line": 66, "column": 50 } } @@ -2526,100 +2447,100 @@ "value": true, "raw": "true", "range": [ - 1108, - 1112 + 1556, + 1560 ], "loc": { "start": { - "line": 36, + "line": 66, "column": 53 }, "end": { - "line": 36, + "line": 66, "column": 57 } } }, "range": [ - 1078, - 1112 + 1526, + 1560 ], "loc": { "start": { - "line": 36, + "line": 66, "column": 23 }, "end": { - "line": 36, + "line": 66, "column": 57 } } }, "range": [ - 1063, - 1112 + 1511, + 1560 ], "loc": { "start": { - "line": 36, + "line": 66, "column": 8 }, "end": { - "line": 36, + "line": 66, "column": 57 } } }, "range": [ - 1063, - 1113 + 1511, + 1561 ], "loc": { "start": { - "line": 36, + "line": 66, "column": 8 }, "end": { - "line": 36, + "line": 66, "column": 58 } }, "leadingComments": [ { - "type": "Line", - "value": "enables/disables cols manager generation", + "type": "Block", + "value": "*\n * Enable columns manager UI, defaults to true\n * @type {Boolean}\n ", "range": [ - 1012, - 1054 + 1405, + 1502 ], "loc": { "start": { - "line": 35, + "line": 62, "column": 8 }, "end": { - "line": 35, - "column": 50 + "line": 65, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "only if external headers", + "type": "Block", + "value": "*\n * Headers HTML table reference only if headers are external\n * @type {DOMElement}\n ", "range": [ - 1122, - 1148 + 1571, + 1685 ], "loc": { "start": { - "line": 37, + "line": 68, "column": 8 }, "end": { - "line": 37, - "column": 34 + "line": 71, + "column": 11 } } } @@ -2636,16 +2557,16 @@ "object": { "type": "ThisExpression", "range": [ - 1157, - 1161 + 1694, + 1698 ], "loc": { "start": { - "line": 38, + "line": 72, "column": 8 }, "end": { - "line": 38, + "line": 72, "column": 12 } } @@ -2654,31 +2575,31 @@ "type": "Identifier", "name": "headersTbl", "range": [ - 1162, - 1172 + 1699, + 1709 ], "loc": { "start": { - "line": 38, + "line": 72, "column": 13 }, "end": { - "line": 38, + "line": 72, "column": 23 } } }, "range": [ - 1157, - 1172 + 1694, + 1709 ], "loc": { "start": { - "line": 38, + "line": 72, "column": 8 }, "end": { - "line": 38, + "line": 72, "column": 23 } } @@ -2693,16 +2614,16 @@ "type": "Identifier", "name": "f", "range": [ - 1175, - 1176 + 1712, + 1713 ], "loc": { "start": { - "line": 38, + "line": 72, "column": 26 }, "end": { - "line": 38, + "line": 72, "column": 27 } } @@ -2711,134 +2632,134 @@ "type": "Identifier", "name": "headers_table", "range": [ - 1177, - 1190 + 1714, + 1727 ], "loc": { "start": { - "line": 38, + "line": 72, "column": 28 }, "end": { - "line": 38, + "line": 72, "column": 41 } } }, "range": [ - 1175, - 1190 + 1712, + 1727 ], "loc": { "start": { - "line": 38, + "line": 72, "column": 26 }, "end": { - "line": 38, + "line": 72, "column": 41 } } }, "right": { "type": "Literal", - "value": false, - "raw": "false", + "value": null, + "raw": "null", "range": [ - 1194, - 1199 + 1731, + 1735 ], "loc": { "start": { - "line": 38, + "line": 72, "column": 45 }, "end": { - "line": 38, - "column": 50 + "line": 72, + "column": 49 } } }, "range": [ - 1175, - 1199 + 1712, + 1735 ], "loc": { "start": { - "line": 38, + "line": 72, "column": 26 }, "end": { - "line": 38, - "column": 50 + "line": 72, + "column": 49 } } }, "range": [ - 1157, - 1199 + 1694, + 1735 ], "loc": { "start": { - "line": 38, + "line": 72, "column": 8 }, "end": { - "line": 38, - "column": 50 + "line": 72, + "column": 49 } } }, "range": [ - 1157, - 1200 + 1694, + 1736 ], "loc": { "start": { - "line": 38, + "line": 72, "column": 8 }, "end": { - "line": 38, - "column": 51 + "line": 72, + "column": 50 } }, "leadingComments": [ { - "type": "Line", - "value": "only if external headers", + "type": "Block", + "value": "*\n * Headers HTML table reference only if headers are external\n * @type {DOMElement}\n ", "range": [ - 1122, - 1148 + 1571, + 1685 ], "loc": { "start": { - "line": 37, + "line": 68, "column": 8 }, "end": { - "line": 37, - "column": 34 + "line": 71, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "only if external headers", + "type": "Block", + "value": "*\n * Headers row index only if headers are external\n * @type {Number}\n ", "range": [ - 1209, - 1235 + 1746, + 1845 ], "loc": { "start": { - "line": 39, + "line": 74, "column": 8 }, "end": { - "line": 39, - "column": 34 + "line": 77, + "column": 11 } } } @@ -2855,16 +2776,16 @@ "object": { "type": "ThisExpression", "range": [ - 1244, - 1248 + 1854, + 1858 ], "loc": { "start": { - "line": 40, + "line": 78, "column": 8 }, "end": { - "line": 40, + "line": 78, "column": 12 } } @@ -2873,31 +2794,31 @@ "type": "Identifier", "name": "headersIndex", "range": [ - 1249, - 1261 + 1859, + 1871 ], "loc": { "start": { - "line": 40, + "line": 78, "column": 13 }, "end": { - "line": 40, + "line": 78, "column": 25 } } }, "range": [ - 1244, - 1261 + 1854, + 1871 ], "loc": { "start": { - "line": 40, + "line": 78, "column": 8 }, "end": { - "line": 40, + "line": 78, "column": 25 } } @@ -2912,16 +2833,16 @@ "type": "Identifier", "name": "f", "range": [ - 1264, - 1265 + 1874, + 1875 ], "loc": { "start": { - "line": 40, + "line": 78, "column": 28 }, "end": { - "line": 40, + "line": 78, "column": 29 } } @@ -2930,31 +2851,31 @@ "type": "Identifier", "name": "headers_index", "range": [ - 1266, - 1279 + 1876, + 1889 ], "loc": { "start": { - "line": 40, + "line": 78, "column": 30 }, "end": { - "line": 40, + "line": 78, "column": 43 } } }, "range": [ - 1264, - 1279 + 1874, + 1889 ], "loc": { "start": { - "line": 40, + "line": 78, "column": 28 }, "end": { - "line": 40, + "line": 78, "column": 43 } } @@ -2964,100 +2885,100 @@ "value": 1, "raw": "1", "range": [ - 1283, - 1284 + 1893, + 1894 ], "loc": { "start": { - "line": 40, + "line": 78, "column": 47 }, "end": { - "line": 40, + "line": 78, "column": 48 } } }, "range": [ - 1264, - 1284 + 1874, + 1894 ], "loc": { "start": { - "line": 40, + "line": 78, "column": 28 }, "end": { - "line": 40, + "line": 78, "column": 48 } } }, "range": [ - 1244, - 1284 + 1854, + 1894 ], "loc": { "start": { - "line": 40, + "line": 78, "column": 8 }, "end": { - "line": 40, + "line": 78, "column": 48 } } }, "range": [ - 1244, - 1285 + 1854, + 1895 ], "loc": { "start": { - "line": 40, + "line": 78, "column": 8 }, "end": { - "line": 40, + "line": 78, "column": 49 } }, "leadingComments": [ { - "type": "Line", - "value": "only if external headers", + "type": "Block", + "value": "*\n * Headers row index only if headers are external\n * @type {Number}\n ", "range": [ - 1209, - 1235 + 1746, + 1845 ], "loc": { "start": { - "line": 39, + "line": 74, "column": 8 }, "end": { - "line": 39, - "column": 34 + "line": 77, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "id of container element", + "type": "Block", + "value": "*\n * ID of main container element\n * @type {String}\n ", "range": [ - 1294, - 1319 + 1905, + 1986 ], "loc": { "start": { - "line": 41, + "line": 80, "column": 8 }, "end": { - "line": 41, - "column": 33 + "line": 83, + "column": 11 } } } @@ -3074,16 +2995,16 @@ "object": { "type": "ThisExpression", "range": [ - 1328, - 1332 + 1995, + 1999 ], "loc": { "start": { - "line": 42, + "line": 84, "column": 8 }, "end": { - "line": 42, + "line": 84, "column": 12 } } @@ -3092,31 +3013,31 @@ "type": "Identifier", "name": "contElTgtId", "range": [ - 1333, - 1344 + 2000, + 2011 ], "loc": { "start": { - "line": 42, + "line": 84, "column": 13 }, "end": { - "line": 42, + "line": 84, "column": 24 } } }, "range": [ - 1328, - 1344 + 1995, + 2011 ], "loc": { "start": { - "line": 42, + "line": 84, "column": 8 }, "end": { - "line": 42, + "line": 84, "column": 24 } } @@ -3131,16 +3052,16 @@ "type": "Identifier", "name": "f", "range": [ - 1347, - 1348 + 2014, + 2015 ], "loc": { "start": { - "line": 42, + "line": 84, "column": 27 }, "end": { - "line": 42, + "line": 84, "column": 28 } } @@ -3149,31 +3070,31 @@ "type": "Identifier", "name": "container_target_id", "range": [ - 1349, - 1368 + 2016, + 2035 ], "loc": { "start": { - "line": 42, + "line": 84, "column": 29 }, "end": { - "line": 42, + "line": 84, "column": 48 } } }, "range": [ - 1347, - 1368 + 2014, + 2035 ], "loc": { "start": { - "line": 42, + "line": 84, "column": 27 }, "end": { - "line": 42, + "line": 84, "column": 48 } } @@ -3183,100 +3104,100 @@ "value": null, "raw": "null", "range": [ - 1372, - 1376 + 2039, + 2043 ], "loc": { "start": { - "line": 42, + "line": 84, "column": 52 }, "end": { - "line": 42, + "line": 84, "column": 56 } } }, "range": [ - 1347, - 1376 + 2014, + 2043 ], "loc": { "start": { - "line": 42, + "line": 84, "column": 27 }, "end": { - "line": 42, + "line": 84, "column": 56 } } }, "range": [ - 1328, - 1376 + 1995, + 2043 ], "loc": { "start": { - "line": 42, + "line": 84, "column": 8 }, "end": { - "line": 42, + "line": 84, "column": 56 } } }, "range": [ - 1328, - 1377 + 1995, + 2044 ], "loc": { "start": { - "line": 42, + "line": 84, "column": 8 }, "end": { - "line": 42, + "line": 84, "column": 57 } }, "leadingComments": [ { - "type": "Line", - "value": "id of container element", + "type": "Block", + "value": "*\n * ID of main container element\n * @type {String}\n ", "range": [ - 1294, - 1319 + 1905, + 1986 ], "loc": { "start": { - "line": 41, + "line": 80, "column": 8 }, "end": { - "line": 41, - "column": 33 + "line": 83, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "alternative headers text", + "type": "Block", + "value": "*\n * Alternative text for column headers in column manager UI\n * @type {Array}\n ", "range": [ - 1386, - 1412 + 2054, + 2162 ], "loc": { "start": { - "line": 43, + "line": 86, "column": 8 }, "end": { - "line": 43, - "column": 34 + "line": 89, + "column": 11 } } } @@ -3293,16 +3214,16 @@ "object": { "type": "ThisExpression", "range": [ - 1421, - 1425 + 2171, + 2175 ], "loc": { "start": { - "line": 44, + "line": 90, "column": 8 }, "end": { - "line": 44, + "line": 90, "column": 12 } } @@ -3311,31 +3232,31 @@ "type": "Identifier", "name": "headersText", "range": [ - 1426, - 1437 + 2176, + 2187 ], "loc": { "start": { - "line": 44, + "line": 90, "column": 13 }, "end": { - "line": 44, + "line": 90, "column": 24 } } }, "range": [ - 1421, - 1437 + 2171, + 2187 ], "loc": { "start": { - "line": 44, + "line": 90, "column": 8 }, "end": { - "line": 44, + "line": 90, "column": 24 } } @@ -3350,16 +3271,16 @@ "type": "Identifier", "name": "f", "range": [ - 1440, - 1441 + 2190, + 2191 ], "loc": { "start": { - "line": 44, + "line": 90, "column": 27 }, "end": { - "line": 44, + "line": 90, "column": 28 } } @@ -3368,31 +3289,31 @@ "type": "Identifier", "name": "headers_text", "range": [ - 1442, - 1454 + 2192, + 2204 ], "loc": { "start": { - "line": 44, + "line": 90, "column": 29 }, "end": { - "line": 44, + "line": 90, "column": 41 } } }, "range": [ - 1440, - 1454 + 2190, + 2204 ], "loc": { "start": { - "line": 44, + "line": 90, "column": 27 }, "end": { - "line": 44, + "line": 90, "column": 41 } } @@ -3402,100 +3323,100 @@ "value": null, "raw": "null", "range": [ - 1458, - 1462 + 2208, + 2212 ], "loc": { "start": { - "line": 44, + "line": 90, "column": 45 }, "end": { - "line": 44, + "line": 90, "column": 49 } } }, "range": [ - 1440, - 1462 + 2190, + 2212 ], "loc": { "start": { - "line": 44, + "line": 90, "column": 27 }, "end": { - "line": 44, + "line": 90, "column": 49 } } }, "range": [ - 1421, - 1462 + 2171, + 2212 ], "loc": { "start": { - "line": 44, + "line": 90, "column": 8 }, "end": { - "line": 44, + "line": 90, "column": 49 } } }, "range": [ - 1421, - 1463 + 2171, + 2213 ], "loc": { "start": { - "line": 44, + "line": 90, "column": 8 }, "end": { - "line": 44, + "line": 90, "column": 50 } }, "leadingComments": [ { - "type": "Line", - "value": "alternative headers text", + "type": "Block", + "value": "*\n * Alternative text for column headers in column manager UI\n * @type {Array}\n ", "range": [ - 1386, - 1412 + 2054, + 2162 ], "loc": { "start": { - "line": 43, + "line": 86, "column": 8 }, "end": { - "line": 43, - "column": 34 + "line": 89, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "id of button container element", + "type": "Block", + "value": "*\n * ID of button's container element\n * @type {String}\n ", "range": [ - 1472, - 1504 + 2223, + 2308 ], "loc": { "start": { - "line": 45, + "line": 92, "column": 8 }, "end": { - "line": 45, - "column": 40 + "line": 95, + "column": 11 } } } @@ -3512,16 +3433,16 @@ "object": { "type": "ThisExpression", "range": [ - 1513, - 1517 + 2317, + 2321 ], "loc": { "start": { - "line": 46, + "line": 96, "column": 8 }, "end": { - "line": 46, + "line": 96, "column": 12 } } @@ -3530,31 +3451,31 @@ "type": "Identifier", "name": "btnTgtId", "range": [ - 1518, - 1526 + 2322, + 2330 ], "loc": { "start": { - "line": 46, + "line": 96, "column": 13 }, "end": { - "line": 46, + "line": 96, "column": 21 } } }, "range": [ - 1513, - 1526 + 2317, + 2330 ], "loc": { "start": { - "line": 46, + "line": 96, "column": 8 }, "end": { - "line": 46, + "line": 96, "column": 21 } } @@ -3569,16 +3490,16 @@ "type": "Identifier", "name": "f", "range": [ - 1529, - 1530 + 2333, + 2334 ], "loc": { "start": { - "line": 46, + "line": 96, "column": 24 }, "end": { - "line": 46, + "line": 96, "column": 25 } } @@ -3587,31 +3508,31 @@ "type": "Identifier", "name": "btn_target_id", "range": [ - 1531, - 1544 + 2335, + 2348 ], "loc": { "start": { - "line": 46, + "line": 96, "column": 26 }, "end": { - "line": 46, + "line": 96, "column": 39 } } }, "range": [ - 1529, - 1544 + 2333, + 2348 ], "loc": { "start": { - "line": 46, + "line": 96, "column": 24 }, "end": { - "line": 46, + "line": 96, "column": 39 } } @@ -3621,100 +3542,100 @@ "value": null, "raw": "null", "range": [ - 1548, - 1552 + 2352, + 2356 ], "loc": { "start": { - "line": 46, + "line": 96, "column": 43 }, "end": { - "line": 46, + "line": 96, "column": 47 } } }, "range": [ - 1529, - 1552 + 2333, + 2356 ], "loc": { "start": { - "line": 46, + "line": 96, "column": 24 }, "end": { - "line": 46, + "line": 96, "column": 47 } } }, "range": [ - 1513, - 1552 + 2317, + 2356 ], "loc": { "start": { - "line": 46, + "line": 96, "column": 8 }, "end": { - "line": 46, + "line": 96, "column": 47 } } }, "range": [ - 1513, - 1553 + 2317, + 2357 ], "loc": { "start": { - "line": 46, + "line": 96, "column": 8 }, "end": { - "line": 46, + "line": 96, "column": 48 } }, "leadingComments": [ { - "type": "Line", - "value": "id of button container element", + "type": "Block", + "value": "*\n * ID of button's container element\n * @type {String}\n ", "range": [ - 1472, - 1504 + 2223, + 2308 ], "loc": { "start": { - "line": 45, + "line": 92, "column": 8 }, "end": { - "line": 45, - "column": 40 + "line": 95, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "defines show/hide cols text", + "type": "Block", + "value": "*\n * Button's text, defaults to Columns▼\n * @type {String}\n ", "range": [ - 1562, - 1591 + 2367, + 2461 ], "loc": { "start": { - "line": 47, + "line": 98, "column": 8 }, "end": { - "line": 47, - "column": 37 + "line": 101, + "column": 11 } } } @@ -3731,16 +3652,16 @@ "object": { "type": "ThisExpression", "range": [ - 1600, - 1604 + 2470, + 2474 ], "loc": { "start": { - "line": 48, + "line": 102, "column": 8 }, "end": { - "line": 48, + "line": 102, "column": 12 } } @@ -3749,31 +3670,31 @@ "type": "Identifier", "name": "btnText", "range": [ - 1605, - 1612 + 2475, + 2482 ], "loc": { "start": { - "line": 48, + "line": 102, "column": 13 }, "end": { - "line": 48, + "line": 102, "column": 20 } } }, "range": [ - 1600, - 1612 + 2470, + 2482 ], "loc": { "start": { - "line": 48, + "line": 102, "column": 8 }, "end": { - "line": 48, + "line": 102, "column": 20 } } @@ -3788,16 +3709,16 @@ "type": "Identifier", "name": "f", "range": [ - 1615, - 1616 + 2485, + 2486 ], "loc": { "start": { - "line": 48, + "line": 102, "column": 23 }, "end": { - "line": 48, + "line": 102, "column": 24 } } @@ -3806,31 +3727,31 @@ "type": "Identifier", "name": "btn_text", "range": [ - 1617, - 1625 + 2487, + 2495 ], "loc": { "start": { - "line": 48, + "line": 102, "column": 25 }, "end": { - "line": 48, + "line": 102, "column": 33 } } }, "range": [ - 1615, - 1625 + 2485, + 2495 ], "loc": { "start": { - "line": 48, + "line": 102, "column": 23 }, "end": { - "line": 48, + "line": 102, "column": 33 } } @@ -3840,100 +3761,100 @@ "value": "Columns▼", "raw": "'Columns▼'", "range": [ - 1629, - 1645 + 2499, + 2515 ], "loc": { "start": { - "line": 48, + "line": 102, "column": 37 }, "end": { - "line": 48, + "line": 102, "column": 53 } } }, "range": [ - 1615, - 1645 + 2485, + 2515 ], "loc": { "start": { - "line": 48, + "line": 102, "column": 23 }, "end": { - "line": 48, + "line": 102, "column": 53 } } }, "range": [ - 1600, - 1645 + 2470, + 2515 ], "loc": { "start": { - "line": 48, + "line": 102, "column": 8 }, "end": { - "line": 48, + "line": 102, "column": 53 } } }, "range": [ - 1600, - 1646 + 2470, + 2516 ], "loc": { "start": { - "line": 48, + "line": 102, "column": 8 }, "end": { - "line": 48, + "line": 102, "column": 54 } }, "leadingComments": [ { - "type": "Line", - "value": "defines show/hide cols text", + "type": "Block", + "value": "*\n * Button's text, defaults to Columns▼\n * @type {String}\n ", "range": [ - 1562, - 1591 + 2367, + 2461 ], "loc": { "start": { - "line": 47, + "line": 98, "column": 8 }, "end": { - "line": 47, - "column": 37 + "line": 101, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "defines show/hide cols button innerHtml", + "type": "Block", + "value": "*\n * Button's inner HTML\n * @type {String}\n ", "range": [ - 1655, - 1696 + 2526, + 2598 ], "loc": { "start": { - "line": 49, + "line": 104, "column": 8 }, "end": { - "line": 49, - "column": 49 + "line": 107, + "column": 11 } } } @@ -3950,16 +3871,16 @@ "object": { "type": "ThisExpression", "range": [ - 1705, - 1709 + 2607, + 2611 ], "loc": { "start": { - "line": 50, + "line": 108, "column": 8 }, "end": { - "line": 50, + "line": 108, "column": 12 } } @@ -3968,31 +3889,31 @@ "type": "Identifier", "name": "btnHtml", "range": [ - 1710, - 1717 + 2612, + 2619 ], "loc": { "start": { - "line": 50, + "line": 108, "column": 13 }, "end": { - "line": 50, + "line": 108, "column": 20 } } }, "range": [ - 1705, - 1717 + 2607, + 2619 ], "loc": { "start": { - "line": 50, + "line": 108, "column": 8 }, "end": { - "line": 50, + "line": 108, "column": 20 } } @@ -4007,16 +3928,16 @@ "type": "Identifier", "name": "f", "range": [ - 1720, - 1721 + 2622, + 2623 ], "loc": { "start": { - "line": 50, + "line": 108, "column": 23 }, "end": { - "line": 50, + "line": 108, "column": 24 } } @@ -4025,31 +3946,31 @@ "type": "Identifier", "name": "btn_html", "range": [ - 1722, - 1730 + 2624, + 2632 ], "loc": { "start": { - "line": 50, + "line": 108, "column": 25 }, "end": { - "line": 50, + "line": 108, "column": 33 } } }, "range": [ - 1720, - 1730 + 2622, + 2632 ], "loc": { "start": { - "line": 50, + "line": 108, "column": 23 }, "end": { - "line": 50, + "line": 108, "column": 33 } } @@ -4059,100 +3980,100 @@ "value": null, "raw": "null", "range": [ - 1734, - 1738 + 2636, + 2640 ], "loc": { "start": { - "line": 50, + "line": 108, "column": 37 }, "end": { - "line": 50, + "line": 108, "column": 41 } } }, "range": [ - 1720, - 1738 + 2622, + 2640 ], "loc": { "start": { - "line": 50, + "line": 108, "column": 23 }, "end": { - "line": 50, + "line": 108, "column": 41 } } }, "range": [ - 1705, - 1738 + 2607, + 2640 ], "loc": { "start": { - "line": 50, + "line": 108, "column": 8 }, "end": { - "line": 50, + "line": 108, "column": 41 } } }, "range": [ - 1705, - 1739 + 2607, + 2641 ], "loc": { "start": { - "line": 50, + "line": 108, "column": 8 }, "end": { - "line": 50, + "line": 108, "column": 42 } }, "leadingComments": [ { - "type": "Line", - "value": "defines show/hide cols button innerHtml", + "type": "Block", + "value": "*\n * Button's inner HTML\n * @type {String}\n ", "range": [ - 1655, - 1696 + 2526, + 2598 ], "loc": { "start": { - "line": 49, + "line": 104, "column": 8 }, "end": { - "line": 49, - "column": 49 + "line": 107, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "defines css class for show/hide cols button", + "type": "Block", + "value": "*\n * Css class for button\n * @type {String}\n ", "range": [ - 1748, - 1793 + 2651, + 2724 ], "loc": { "start": { - "line": 51, + "line": 110, "column": 8 }, "end": { - "line": 51, - "column": 53 + "line": 113, + "column": 11 } } } @@ -4169,16 +4090,16 @@ "object": { "type": "ThisExpression", "range": [ - 1802, - 1806 + 2733, + 2737 ], "loc": { "start": { - "line": 52, + "line": 114, "column": 8 }, "end": { - "line": 52, + "line": 114, "column": 12 } } @@ -4187,31 +4108,31 @@ "type": "Identifier", "name": "btnCssClass", "range": [ - 1807, - 1818 + 2738, + 2749 ], "loc": { "start": { - "line": 52, + "line": 114, "column": 13 }, "end": { - "line": 52, + "line": 114, "column": 24 } } }, "range": [ - 1802, - 1818 + 2733, + 2749 ], "loc": { "start": { - "line": 52, + "line": 114, "column": 8 }, "end": { - "line": 52, + "line": 114, "column": 24 } } @@ -4226,16 +4147,16 @@ "type": "Identifier", "name": "f", "range": [ - 1821, - 1822 + 2752, + 2753 ], "loc": { "start": { - "line": 52, + "line": 114, "column": 27 }, "end": { - "line": 52, + "line": 114, "column": 28 } } @@ -4244,31 +4165,31 @@ "type": "Identifier", "name": "btn_css_class", "range": [ - 1823, - 1836 + 2754, + 2767 ], "loc": { "start": { - "line": 52, + "line": 114, "column": 29 }, "end": { - "line": 52, + "line": 114, "column": 42 } } }, "range": [ - 1821, - 1836 + 2752, + 2767 ], "loc": { "start": { - "line": 52, + "line": 114, "column": 27 }, "end": { - "line": 52, + "line": 114, "column": 42 } } @@ -4278,100 +4199,100 @@ "value": "colVis", "raw": "'colVis'", "range": [ - 1840, - 1848 + 2771, + 2779 ], "loc": { "start": { - "line": 52, + "line": 114, "column": 46 }, "end": { - "line": 52, + "line": 114, "column": 54 } } }, "range": [ - 1821, - 1848 + 2752, + 2779 ], "loc": { "start": { - "line": 52, + "line": 114, "column": 27 }, "end": { - "line": 52, + "line": 114, "column": 54 } } }, "range": [ - 1802, - 1848 + 2733, + 2779 ], "loc": { "start": { - "line": 52, + "line": 114, "column": 8 }, "end": { - "line": 52, + "line": 114, "column": 54 } } }, "range": [ - 1802, - 1849 + 2733, + 2780 ], "loc": { "start": { - "line": 52, + "line": 114, "column": 8 }, "end": { - "line": 52, + "line": 114, "column": 55 } }, "leadingComments": [ { - "type": "Line", - "value": "defines css class for show/hide cols button", + "type": "Block", + "value": "*\n * Css class for button\n * @type {String}\n ", "range": [ - 1748, - 1793 + 2651, + 2724 ], "loc": { "start": { - "line": 51, + "line": 110, "column": 8 }, "end": { - "line": 51, - "column": 53 + "line": 113, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "defines close link text", + "type": "Block", + "value": "*\n * Columns manager UI close link text, defaults to 'Close'\n * @type {String}\n ", "range": [ - 1858, - 1883 + 2790, + 2898 ], "loc": { "start": { - "line": 53, + "line": 116, "column": 8 }, "end": { - "line": 53, - "column": 33 + "line": 119, + "column": 11 } } } @@ -4388,16 +4309,16 @@ "object": { "type": "ThisExpression", "range": [ - 1892, - 1896 + 2907, + 2911 ], "loc": { "start": { - "line": 54, + "line": 120, "column": 8 }, "end": { - "line": 54, + "line": 120, "column": 12 } } @@ -4406,31 +4327,31 @@ "type": "Identifier", "name": "btnCloseText", "range": [ - 1897, - 1909 + 2912, + 2924 ], "loc": { "start": { - "line": 54, + "line": 120, "column": 13 }, "end": { - "line": 54, + "line": 120, "column": 25 } } }, "range": [ - 1892, - 1909 + 2907, + 2924 ], "loc": { "start": { - "line": 54, + "line": 120, "column": 8 }, "end": { - "line": 54, + "line": 120, "column": 25 } } @@ -4445,16 +4366,16 @@ "type": "Identifier", "name": "f", "range": [ - 1912, - 1913 + 2927, + 2928 ], "loc": { "start": { - "line": 54, + "line": 120, "column": 28 }, "end": { - "line": 54, + "line": 120, "column": 29 } } @@ -4463,31 +4384,31 @@ "type": "Identifier", "name": "btn_close_text", "range": [ - 1914, - 1928 + 2929, + 2943 ], "loc": { "start": { - "line": 54, + "line": 120, "column": 30 }, "end": { - "line": 54, + "line": 120, "column": 44 } } }, "range": [ - 1912, - 1928 + 2927, + 2943 ], "loc": { "start": { - "line": 54, + "line": 120, "column": 28 }, "end": { - "line": 54, + "line": 120, "column": 44 } } @@ -4497,100 +4418,100 @@ "value": "Close", "raw": "'Close'", "range": [ - 1932, - 1939 + 2947, + 2954 ], "loc": { "start": { - "line": 54, + "line": 120, "column": 48 }, "end": { - "line": 54, + "line": 120, "column": 55 } } }, "range": [ - 1912, - 1939 + 2927, + 2954 ], "loc": { "start": { - "line": 54, + "line": 120, "column": 28 }, "end": { - "line": 54, + "line": 120, "column": 55 } } }, "range": [ - 1892, - 1939 + 2907, + 2954 ], "loc": { "start": { - "line": 54, + "line": 120, "column": 8 }, "end": { - "line": 54, + "line": 120, "column": 55 } } }, "range": [ - 1892, - 1940 + 2907, + 2955 ], "loc": { "start": { - "line": 54, + "line": 120, "column": 8 }, "end": { - "line": 54, + "line": 120, "column": 56 } }, "leadingComments": [ { - "type": "Line", - "value": "defines close link text", + "type": "Block", + "value": "*\n * Columns manager UI close link text, defaults to 'Close'\n * @type {String}\n ", "range": [ - 1858, - 1883 + 2790, + 2898 ], "loc": { "start": { - "line": 53, + "line": 116, "column": 8 }, "end": { - "line": 53, - "column": 33 + "line": 119, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "defines close button innerHtml", + "type": "Block", + "value": "*\n * Columns manager UI close link HTML\n * @type {String}\n ", "range": [ - 1949, - 1981 + 2965, + 3052 ], "loc": { "start": { - "line": 55, + "line": 122, "column": 8 }, "end": { - "line": 55, - "column": 40 + "line": 125, + "column": 11 } } } @@ -4607,16 +4528,16 @@ "object": { "type": "ThisExpression", "range": [ - 1990, - 1994 + 3061, + 3065 ], "loc": { "start": { - "line": 56, + "line": 126, "column": 8 }, "end": { - "line": 56, + "line": 126, "column": 12 } } @@ -4625,31 +4546,31 @@ "type": "Identifier", "name": "btnCloseHtml", "range": [ - 1995, - 2007 + 3066, + 3078 ], "loc": { "start": { - "line": 56, + "line": 126, "column": 13 }, "end": { - "line": 56, + "line": 126, "column": 25 } } }, "range": [ - 1990, - 2007 + 3061, + 3078 ], "loc": { "start": { - "line": 56, + "line": 126, "column": 8 }, "end": { - "line": 56, + "line": 126, "column": 25 } } @@ -4664,16 +4585,16 @@ "type": "Identifier", "name": "f", "range": [ - 2010, - 2011 + 3081, + 3082 ], "loc": { "start": { - "line": 56, + "line": 126, "column": 28 }, "end": { - "line": 56, + "line": 126, "column": 29 } } @@ -4682,31 +4603,31 @@ "type": "Identifier", "name": "btn_close_html", "range": [ - 2012, - 2026 + 3083, + 3097 ], "loc": { "start": { - "line": 56, + "line": 126, "column": 30 }, "end": { - "line": 56, + "line": 126, "column": 44 } } }, "range": [ - 2010, - 2026 + 3081, + 3097 ], "loc": { "start": { - "line": 56, + "line": 126, "column": 28 }, "end": { - "line": 56, + "line": 126, "column": 44 } } @@ -4716,100 +4637,100 @@ "value": null, "raw": "null", "range": [ - 2030, - 2034 + 3101, + 3105 ], "loc": { "start": { - "line": 56, + "line": 126, "column": 48 }, "end": { - "line": 56, + "line": 126, "column": 52 } } }, "range": [ - 2010, - 2034 + 3081, + 3105 ], "loc": { "start": { - "line": 56, + "line": 126, "column": 28 }, "end": { - "line": 56, + "line": 126, "column": 52 } } }, "range": [ - 1990, - 2034 + 3061, + 3105 ], "loc": { "start": { - "line": 56, + "line": 126, "column": 8 }, "end": { - "line": 56, + "line": 126, "column": 52 } } }, "range": [ - 1990, - 2035 + 3061, + 3106 ], "loc": { "start": { - "line": 56, + "line": 126, "column": 8 }, "end": { - "line": 56, + "line": 126, "column": 53 } }, "leadingComments": [ { - "type": "Line", - "value": "defines close button innerHtml", + "type": "Block", + "value": "*\n * Columns manager UI close link HTML\n * @type {String}\n ", "range": [ - 1949, - 1981 + 2965, + 3052 ], "loc": { "start": { - "line": 55, + "line": 122, "column": 8 }, "end": { - "line": 55, - "column": 40 + "line": 125, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "defines css class for close button", + "type": "Block", + "value": "*\n * Css for columns manager UI close link\n * @type {String}\n ", "range": [ - 2044, - 2080 + 3116, + 3206 ], "loc": { "start": { - "line": 57, + "line": 128, "column": 8 }, "end": { - "line": 57, - "column": 44 + "line": 131, + "column": 11 } } } @@ -4826,16 +4747,16 @@ "object": { "type": "ThisExpression", "range": [ - 2089, - 2093 + 3215, + 3219 ], "loc": { "start": { - "line": 58, + "line": 132, "column": 8 }, "end": { - "line": 58, + "line": 132, "column": 12 } } @@ -4844,31 +4765,31 @@ "type": "Identifier", "name": "btnCloseCssClass", "range": [ - 2094, - 2110 + 3220, + 3236 ], "loc": { "start": { - "line": 58, + "line": 132, "column": 13 }, "end": { - "line": 58, + "line": 132, "column": 29 } } }, "range": [ - 2089, - 2110 + 3215, + 3236 ], "loc": { "start": { - "line": 58, + "line": 132, "column": 8 }, "end": { - "line": 58, + "line": 132, "column": 29 } } @@ -4883,16 +4804,16 @@ "type": "Identifier", "name": "f", "range": [ - 2113, - 2114 + 3239, + 3240 ], "loc": { "start": { - "line": 58, + "line": 132, "column": 32 }, "end": { - "line": 58, + "line": 132, "column": 33 } } @@ -4901,31 +4822,31 @@ "type": "Identifier", "name": "btn_close_css_class", "range": [ - 2115, - 2134 + 3241, + 3260 ], "loc": { "start": { - "line": 58, + "line": 132, "column": 34 }, "end": { - "line": 58, + "line": 132, "column": 53 } } }, "range": [ - 2113, - 2134 + 3239, + 3260 ], "loc": { "start": { - "line": 58, + "line": 132, "column": 32 }, "end": { - "line": 58, + "line": 132, "column": 53 } } @@ -4936,16 +4857,16 @@ "object": { "type": "ThisExpression", "range": [ - 2138, - 2142 + 3264, + 3268 ], "loc": { "start": { - "line": 58, + "line": 132, "column": 57 }, "end": { - "line": 58, + "line": 132, "column": 61 } } @@ -4954,95 +4875,115 @@ "type": "Identifier", "name": "btnCssClass", "range": [ - 2143, - 2154 + 3269, + 3280 ], "loc": { "start": { - "line": 58, + "line": 132, "column": 62 }, "end": { - "line": 58, + "line": 132, "column": 73 } } }, "range": [ - 2138, - 2154 + 3264, + 3280 ], "loc": { "start": { - "line": 58, + "line": 132, "column": 57 }, "end": { - "line": 58, + "line": 132, "column": 73 } } }, "range": [ - 2113, - 2154 + 3239, + 3280 ], "loc": { "start": { - "line": 58, + "line": 132, "column": 32 }, "end": { - "line": 58, + "line": 132, "column": 73 } } }, "range": [ - 2089, - 2154 + 3215, + 3280 ], "loc": { "start": { - "line": 58, + "line": 132, "column": 8 }, "end": { - "line": 58, + "line": 132, "column": 73 } } }, "range": [ - 2089, - 2155 + 3215, + 3281 ], "loc": { "start": { - "line": 58, + "line": 132, "column": 8 }, "end": { - "line": 58, + "line": 132, "column": 74 } }, "leadingComments": [ { - "type": "Line", - "value": "defines css class for close button", + "type": "Block", + "value": "*\n * Css for columns manager UI close link\n * @type {String}\n ", "range": [ - 2044, - 2080 + 3116, + 3206 ], "loc": { "start": { - "line": 57, + "line": 128, "column": 8 }, "end": { - "line": 57, - "column": 44 + "line": 131, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Extension's stylesheet filename\n * @type {String}\n ", + "range": [ + 3291, + 3375 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 137, + "column": 11 } } } @@ -5059,16 +5000,16 @@ "object": { "type": "ThisExpression", "range": [ - 2164, - 2168 + 3384, + 3388 ], "loc": { "start": { - "line": 59, + "line": 138, "column": 8 }, "end": { - "line": 59, + "line": 138, "column": 12 } } @@ -5077,31 +5018,31 @@ "type": "Identifier", "name": "stylesheet", "range": [ - 2169, - 2179 + 3389, + 3399 ], "loc": { "start": { - "line": 59, + "line": 138, "column": 13 }, "end": { - "line": 59, + "line": 138, "column": 23 } } }, "range": [ - 2164, - 2179 + 3384, + 3399 ], "loc": { "start": { - "line": 59, + "line": 138, "column": 8 }, "end": { - "line": 59, + "line": 138, "column": 23 } } @@ -5116,16 +5057,16 @@ "type": "Identifier", "name": "f", "range": [ - 2182, - 2183 + 3402, + 3403 ], "loc": { "start": { - "line": 59, + "line": 138, "column": 26 }, "end": { - "line": 59, + "line": 138, "column": 27 } } @@ -5134,31 +5075,31 @@ "type": "Identifier", "name": "stylesheet", "range": [ - 2184, - 2194 + 3404, + 3414 ], "loc": { "start": { - "line": 59, + "line": 138, "column": 28 }, "end": { - "line": 59, + "line": 138, "column": 38 } } }, "range": [ - 2182, - 2194 + 3402, + 3414 ], "loc": { "start": { - "line": 59, + "line": 138, "column": 26 }, "end": { - "line": 59, + "line": 138, "column": 38 } } @@ -5168,80 +5109,100 @@ "value": "colsVisibility.css", "raw": "'colsVisibility.css'", "range": [ - 2198, - 2218 + 3418, + 3438 ], "loc": { "start": { - "line": 59, + "line": 138, "column": 42 }, "end": { - "line": 59, + "line": 138, "column": 62 } } }, "range": [ - 2182, - 2218 + 3402, + 3438 ], "loc": { "start": { - "line": 59, + "line": 138, "column": 26 }, "end": { - "line": 59, + "line": 138, "column": 62 } } }, "range": [ - 2164, - 2218 + 3384, + 3438 ], "loc": { "start": { - "line": 59, + "line": 138, "column": 8 }, "end": { - "line": 59, + "line": 138, "column": 62 } } }, "range": [ - 2164, - 2219 + 3384, + 3439 ], "loc": { "start": { - "line": 59, + "line": 138, "column": 8 }, "end": { - "line": 59, + "line": 138, "column": 63 } }, - "trailingComments": [ + "leadingComments": [ { - "type": "Line", - "value": "span containing show/hide cols button", + "type": "Block", + "value": "*\n * Extension's stylesheet filename\n * @type {String}\n ", "range": [ - 2228, - 2267 + 3291, + 3375 ], "loc": { "start": { - "line": 60, + "line": 134, "column": 8 }, "end": { - "line": 60, - "column": 47 + "line": 137, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Extension's prefix\n * @private\n ", + "range": [ + 3449, + 3514 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 143, + "column": 11 } } } @@ -5258,16 +5219,16 @@ "object": { "type": "ThisExpression", "range": [ - 2276, - 2280 + 3523, + 3527 ], "loc": { "start": { - "line": 61, + "line": 144, "column": 8 }, "end": { - "line": 61, + "line": 144, "column": 12 } } @@ -5276,31 +5237,31 @@ "type": "Identifier", "name": "prfx", "range": [ - 2281, - 2285 + 3528, + 3532 ], "loc": { "start": { - "line": 61, + "line": 144, "column": 13 }, "end": { - "line": 61, + "line": 144, "column": 17 } } }, "range": [ - 2276, - 2285 + 3523, + 3532 ], "loc": { "start": { - "line": 61, + "line": 144, "column": 8 }, "end": { - "line": 61, + "line": 144, "column": 17 } } @@ -5310,85 +5271,85 @@ "value": "colVis_", "raw": "'colVis_'", "range": [ - 2288, - 2297 + 3535, + 3544 ], "loc": { "start": { - "line": 61, + "line": 144, "column": 20 }, "end": { - "line": 61, + "line": 144, "column": 29 } } }, "range": [ - 2276, - 2297 + 3523, + 3544 ], "loc": { "start": { - "line": 61, + "line": 144, "column": 8 }, "end": { - "line": 61, + "line": 144, "column": 29 } } }, "range": [ - 2276, - 2298 + 3523, + 3545 ], "loc": { "start": { - "line": 61, + "line": 144, "column": 8 }, "end": { - "line": 61, + "line": 144, "column": 30 } }, "leadingComments": [ { - "type": "Line", - "value": "span containing show/hide cols button", + "type": "Block", + "value": "*\n * Extension's prefix\n * @private\n ", "range": [ - 2228, - 2267 + 3449, + 3514 ], "loc": { "start": { - "line": 60, + "line": 140, "column": 8 }, "end": { - "line": 60, - "column": 47 + "line": 143, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "defines css class span containing show/hide cols", + "type": "Block", + "value": "*\n * Css for columns manager UI span\n * @type {String}\n ", "range": [ - 2307, - 2357 + 3555, + 3639 ], "loc": { "start": { - "line": 62, + "line": 146, "column": 8 }, "end": { - "line": 62, - "column": 58 + "line": 149, + "column": 11 } } } @@ -5405,16 +5366,16 @@ "object": { "type": "ThisExpression", "range": [ - 2366, - 2370 + 3648, + 3652 ], "loc": { "start": { - "line": 63, + "line": 150, "column": 8 }, "end": { - "line": 63, + "line": 150, "column": 12 } } @@ -5423,31 +5384,31 @@ "type": "Identifier", "name": "spanCssClass", "range": [ - 2371, - 2383 + 3653, + 3665 ], "loc": { "start": { - "line": 63, + "line": 150, "column": 13 }, "end": { - "line": 63, + "line": 150, "column": 25 } } }, "range": [ - 2366, - 2383 + 3648, + 3665 ], "loc": { "start": { - "line": 63, + "line": 150, "column": 8 }, "end": { - "line": 63, + "line": 150, "column": 25 } } @@ -5462,16 +5423,16 @@ "type": "Identifier", "name": "f", "range": [ - 2386, - 2387 + 3668, + 3669 ], "loc": { "start": { - "line": 63, + "line": 150, "column": 28 }, "end": { - "line": 63, + "line": 150, "column": 29 } } @@ -5480,31 +5441,31 @@ "type": "Identifier", "name": "span_css_class", "range": [ - 2388, - 2402 + 3670, + 3684 ], "loc": { "start": { - "line": 63, + "line": 150, "column": 30 }, "end": { - "line": 63, + "line": 150, "column": 44 } } }, "range": [ - 2386, - 2402 + 3668, + 3684 ], "loc": { "start": { - "line": 63, + "line": 150, "column": 28 }, "end": { - "line": 63, + "line": 150, "column": 44 } } @@ -5514,80 +5475,100 @@ "value": "colVisSpan", "raw": "'colVisSpan'", "range": [ - 2406, - 2418 + 3688, + 3700 ], "loc": { "start": { - "line": 63, + "line": 150, "column": 48 }, "end": { - "line": 63, + "line": 150, "column": 60 } } }, "range": [ - 2386, - 2418 + 3668, + 3700 ], "loc": { "start": { - "line": 63, + "line": 150, "column": 28 }, "end": { - "line": 63, + "line": 150, "column": 60 } } }, "range": [ - 2366, - 2418 + 3648, + 3700 ], "loc": { "start": { - "line": 63, + "line": 150, "column": 8 }, "end": { - "line": 63, + "line": 150, "column": 60 } } }, "range": [ - 2366, - 2419 + 3648, + 3701 ], "loc": { "start": { - "line": 63, + "line": 150, "column": 8 }, "end": { - "line": 63, + "line": 150, "column": 61 } }, "leadingComments": [ { - "type": "Line", - "value": "defines css class span containing show/hide cols", + "type": "Block", + "value": "*\n * Css for columns manager UI span\n * @type {String}\n ", "range": [ - 2307, - 2357 + 3555, + 3639 ], "loc": { "start": { - "line": 62, + "line": 146, "column": 8 }, "end": { - "line": 62, - "column": 58 + "line": 149, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Main container prefix\n * @private\n ", + "range": [ + 3711, + 3779 + ], + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 155, + "column": 11 } } } @@ -5604,16 +5585,16 @@ "object": { "type": "ThisExpression", "range": [ - 2428, - 2432 + 3788, + 3792 ], "loc": { "start": { - "line": 64, + "line": 156, "column": 8 }, "end": { - "line": 64, + "line": 156, "column": 12 } } @@ -5622,31 +5603,31 @@ "type": "Identifier", "name": "prfxCont", "range": [ - 2433, - 2441 + 3793, + 3801 ], "loc": { "start": { - "line": 64, + "line": 156, "column": 13 }, "end": { - "line": 64, + "line": 156, "column": 21 } } }, "range": [ - 2428, - 2441 + 3788, + 3801 ], "loc": { "start": { - "line": 64, + "line": 156, "column": 8 }, "end": { - "line": 64, + "line": 156, "column": 21 } } @@ -5660,16 +5641,16 @@ "object": { "type": "ThisExpression", "range": [ - 2444, - 2448 + 3804, + 3808 ], "loc": { "start": { - "line": 64, + "line": 156, "column": 24 }, "end": { - "line": 64, + "line": 156, "column": 28 } } @@ -5678,31 +5659,31 @@ "type": "Identifier", "name": "prfx", "range": [ - 2449, - 2453 + 3809, + 3813 ], "loc": { "start": { - "line": 64, + "line": 156, "column": 29 }, "end": { - "line": 64, + "line": 156, "column": 33 } } }, "range": [ - 2444, - 2453 + 3804, + 3813 ], "loc": { "start": { - "line": 64, + "line": 156, "column": 24 }, "end": { - "line": 64, + "line": 156, "column": 33 } } @@ -5712,80 +5693,100 @@ "value": "Cont_", "raw": "'Cont_'", "range": [ - 2456, - 2463 + 3816, + 3823 ], "loc": { "start": { - "line": 64, + "line": 156, "column": 36 }, "end": { - "line": 64, + "line": 156, "column": 43 } } }, "range": [ - 2444, - 2463 + 3804, + 3823 ], "loc": { "start": { - "line": 64, + "line": 156, "column": 24 }, "end": { - "line": 64, + "line": 156, "column": 43 } } }, "range": [ - 2428, - 2463 + 3788, + 3823 ], "loc": { "start": { - "line": 64, + "line": 156, "column": 8 }, "end": { - "line": 64, + "line": 156, "column": 43 } } }, "range": [ - 2428, - 2464 + 3788, + 3824 ], "loc": { "start": { - "line": 64, + "line": 156, "column": 8 }, "end": { - "line": 64, + "line": 156, "column": 44 } }, - "trailingComments": [ + "leadingComments": [ { - "type": "Line", - "value": "defines css class div containing show/hide cols", + "type": "Block", + "value": "*\n * Main container prefix\n * @private\n ", "range": [ - 2473, - 2522 + 3711, + 3779 ], "loc": { "start": { - "line": 65, + "line": 152, "column": 8 }, "end": { - "line": 65, - "column": 57 + "line": 155, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css for columns manager UI main container\n * @type {String}\n ", + "range": [ + 3834, + 3928 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 161, + "column": 11 } } } @@ -5802,16 +5803,16 @@ "object": { "type": "ThisExpression", "range": [ - 2531, - 2535 + 3937, + 3941 ], "loc": { "start": { - "line": 66, + "line": 162, "column": 8 }, "end": { - "line": 66, + "line": 162, "column": 12 } } @@ -5820,31 +5821,31 @@ "type": "Identifier", "name": "contCssClass", "range": [ - 2536, - 2548 + 3942, + 3954 ], "loc": { "start": { - "line": 66, + "line": 162, "column": 13 }, "end": { - "line": 66, + "line": 162, "column": 25 } } }, "range": [ - 2531, - 2548 + 3937, + 3954 ], "loc": { "start": { - "line": 66, + "line": 162, "column": 8 }, "end": { - "line": 66, + "line": 162, "column": 25 } } @@ -5859,16 +5860,16 @@ "type": "Identifier", "name": "f", "range": [ - 2551, - 2552 + 3957, + 3958 ], "loc": { "start": { - "line": 66, + "line": 162, "column": 28 }, "end": { - "line": 66, + "line": 162, "column": 29 } } @@ -5877,31 +5878,31 @@ "type": "Identifier", "name": "cont_css_class", "range": [ - 2553, - 2567 + 3959, + 3973 ], "loc": { "start": { - "line": 66, + "line": 162, "column": 30 }, "end": { - "line": 66, + "line": 162, "column": 44 } } }, "range": [ - 2551, - 2567 + 3957, + 3973 ], "loc": { "start": { - "line": 66, + "line": 162, "column": 28 }, "end": { - "line": 66, + "line": 162, "column": 44 } } @@ -5911,100 +5912,100 @@ "value": "colVisCont", "raw": "'colVisCont'", "range": [ - 2571, - 2583 + 3977, + 3989 ], "loc": { "start": { - "line": 66, + "line": 162, "column": 48 }, "end": { - "line": 66, + "line": 162, "column": 60 } } }, "range": [ - 2551, - 2583 + 3957, + 3989 ], "loc": { "start": { - "line": 66, + "line": 162, "column": 28 }, "end": { - "line": 66, + "line": 162, "column": 60 } } }, "range": [ - 2531, - 2583 + 3937, + 3989 ], "loc": { "start": { - "line": 66, + "line": 162, "column": 8 }, "end": { - "line": 66, + "line": 162, "column": 60 } } }, "range": [ - 2531, - 2584 + 3937, + 3990 ], "loc": { "start": { - "line": 66, + "line": 162, "column": 8 }, "end": { - "line": 66, + "line": 162, "column": 61 } }, "leadingComments": [ { - "type": "Line", - "value": "defines css class div containing show/hide cols", + "type": "Block", + "value": "*\n * Css for columns manager UI main container\n * @type {String}\n ", "range": [ - 2473, - 2522 + 3834, + 3928 ], "loc": { "start": { - "line": 65, + "line": 158, "column": 8 }, "end": { - "line": 65, - "column": 57 + "line": 161, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "defines css class for cols list (ul)", + "type": "Block", + "value": "*\n * Css for columns manager UI checklist (ul)\n * @type {String}\n ", "range": [ - 2593, - 2631 + 4000, + 4094 ], "loc": { "start": { - "line": 67, + "line": 164, "column": 8 }, "end": { - "line": 67, - "column": 46 + "line": 167, + "column": 11 } } } @@ -6021,16 +6022,16 @@ "object": { "type": "ThisExpression", "range": [ - 2640, - 2644 + 4103, + 4107 ], "loc": { "start": { - "line": 68, + "line": 168, "column": 8 }, "end": { - "line": 68, + "line": 168, "column": 12 } } @@ -6039,31 +6040,31 @@ "type": "Identifier", "name": "listCssClass", "range": [ - 2645, - 2657 + 4108, + 4120 ], "loc": { "start": { - "line": 68, + "line": 168, "column": 13 }, "end": { - "line": 68, + "line": 168, "column": 25 } } }, "range": [ - 2640, - 2657 + 4103, + 4120 ], "loc": { "start": { - "line": 68, + "line": 168, "column": 8 }, "end": { - "line": 68, + "line": 168, "column": 25 } } @@ -6078,16 +6079,16 @@ "type": "Identifier", "name": "cfg", "range": [ - 2660, - 2663 + 4123, + 4126 ], "loc": { "start": { - "line": 68, + "line": 168, "column": 28 }, "end": { - "line": 68, + "line": 168, "column": 31 } } @@ -6096,31 +6097,31 @@ "type": "Identifier", "name": "list_css_class", "range": [ - 2664, - 2678 + 4127, + 4141 ], "loc": { "start": { - "line": 68, + "line": 168, "column": 32 }, "end": { - "line": 68, + "line": 168, "column": 46 } } }, "range": [ - 2660, - 2678 + 4123, + 4141 ], "loc": { "start": { - "line": 68, + "line": 168, "column": 28 }, "end": { - "line": 68, + "line": 168, "column": 46 } } @@ -6130,100 +6131,100 @@ "value": "cols_checklist", "raw": "'cols_checklist'", "range": [ - 2682, - 2698 + 4145, + 4161 ], "loc": { "start": { - "line": 68, + "line": 168, "column": 50 }, "end": { - "line": 68, + "line": 168, "column": 66 } } }, "range": [ - 2660, - 2698 + 4123, + 4161 ], "loc": { "start": { - "line": 68, + "line": 168, "column": 28 }, "end": { - "line": 68, + "line": 168, "column": 66 } } }, "range": [ - 2640, - 2698 + 4103, + 4161 ], "loc": { "start": { - "line": 68, + "line": 168, "column": 8 }, "end": { - "line": 68, + "line": 168, "column": 66 } } }, "range": [ - 2640, - 2699 + 4103, + 4162 ], "loc": { "start": { - "line": 68, + "line": 168, "column": 8 }, "end": { - "line": 68, + "line": 168, "column": 67 } }, "leadingComments": [ { - "type": "Line", - "value": "defines css class for cols list (ul)", + "type": "Block", + "value": "*\n * Css for columns manager UI checklist (ul)\n * @type {String}\n ", "range": [ - 2593, - 2631 + 4000, + 4094 ], "loc": { "start": { - "line": 67, + "line": 164, "column": 8 }, "end": { - "line": 67, - "column": 46 + "line": 167, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "defines css class for list item (li)", + "type": "Block", + "value": "*\n * Css for columns manager UI checklist item (li)\n * @type {String}\n ", "range": [ - 2708, - 2746 + 4172, + 4271 ], "loc": { "start": { - "line": 69, + "line": 170, "column": 8 }, "end": { - "line": 69, - "column": 46 + "line": 173, + "column": 11 } } } @@ -6240,16 +6241,16 @@ "object": { "type": "ThisExpression", "range": [ - 2755, - 2759 + 4280, + 4284 ], "loc": { "start": { - "line": 70, + "line": 174, "column": 8 }, "end": { - "line": 70, + "line": 174, "column": 12 } } @@ -6258,31 +6259,31 @@ "type": "Identifier", "name": "listItemCssClass", "range": [ - 2760, - 2776 + 4285, + 4301 ], "loc": { "start": { - "line": 70, + "line": 174, "column": 13 }, "end": { - "line": 70, + "line": 174, "column": 29 } } }, "range": [ - 2755, - 2776 + 4280, + 4301 ], "loc": { "start": { - "line": 70, + "line": 174, "column": 8 }, "end": { - "line": 70, + "line": 174, "column": 29 } } @@ -6297,16 +6298,16 @@ "type": "Identifier", "name": "cfg", "range": [ - 2779, - 2782 + 4304, + 4307 ], "loc": { "start": { - "line": 70, + "line": 174, "column": 32 }, "end": { - "line": 70, + "line": 174, "column": 35 } } @@ -6315,31 +6316,31 @@ "type": "Identifier", "name": "checklist_item_css_class", "range": [ - 2783, - 2807 + 4308, + 4332 ], "loc": { "start": { - "line": 70, + "line": 174, "column": 36 }, "end": { - "line": 70, + "line": 174, "column": 60 } } }, "range": [ - 2779, - 2807 + 4304, + 4332 ], "loc": { "start": { - "line": 70, + "line": 174, "column": 32 }, "end": { - "line": 70, + "line": 174, "column": 60 } } @@ -6349,100 +6350,100 @@ "value": "cols_checklist_item", "raw": "'cols_checklist_item'", "range": [ - 2823, - 2844 + 4348, + 4369 ], "loc": { "start": { - "line": 71, + "line": 175, "column": 12 }, "end": { - "line": 71, + "line": 175, "column": 33 } } }, "range": [ - 2779, - 2844 + 4304, + 4369 ], "loc": { "start": { - "line": 70, + "line": 174, "column": 32 }, "end": { - "line": 71, + "line": 175, "column": 33 } } }, "range": [ - 2755, - 2844 + 4280, + 4369 ], "loc": { "start": { - "line": 70, + "line": 174, "column": 8 }, "end": { - "line": 71, + "line": 175, "column": 33 } } }, "range": [ - 2755, - 2845 + 4280, + 4370 ], "loc": { "start": { - "line": 70, + "line": 174, "column": 8 }, "end": { - "line": 71, + "line": 175, "column": 34 } }, "leadingComments": [ { - "type": "Line", - "value": "defines css class for list item (li)", + "type": "Block", + "value": "*\n * Css for columns manager UI checklist item (li)\n * @type {String}\n ", "range": [ - 2708, - 2746 + 4172, + 4271 ], "loc": { "start": { - "line": 69, + "line": 170, "column": 8 }, "end": { - "line": 69, - "column": 46 + "line": 173, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "defines css class for selected list item (li)", + "type": "Block", + "value": "*\n * Css for columns manager UI checklist item selected state (li)\n * @type {String}\n ", "range": [ - 2854, - 2901 + 4380, + 4494 ], "loc": { "start": { - "line": 72, + "line": 177, "column": 8 }, "end": { - "line": 72, - "column": 55 + "line": 180, + "column": 11 } } } @@ -6459,16 +6460,16 @@ "object": { "type": "ThisExpression", "range": [ - 2910, - 2914 + 4503, + 4507 ], "loc": { "start": { - "line": 73, + "line": 181, "column": 8 }, "end": { - "line": 73, + "line": 181, "column": 12 } } @@ -6477,31 +6478,31 @@ "type": "Identifier", "name": "listSlcItemCssClass", "range": [ - 2915, - 2934 + 4508, + 4527 ], "loc": { "start": { - "line": 73, + "line": 181, "column": 13 }, "end": { - "line": 73, + "line": 181, "column": 32 } } }, "range": [ - 2910, - 2934 + 4503, + 4527 ], "loc": { "start": { - "line": 73, + "line": 181, "column": 8 }, "end": { - "line": 73, + "line": 181, "column": 32 } } @@ -6516,16 +6517,16 @@ "type": "Identifier", "name": "cfg", "range": [ - 2937, - 2940 + 4530, + 4533 ], "loc": { "start": { - "line": 73, + "line": 181, "column": 35 }, "end": { - "line": 73, + "line": 181, "column": 38 } } @@ -6534,31 +6535,31 @@ "type": "Identifier", "name": "checklist_selected_item_css_class", "range": [ - 2941, - 2974 + 4534, + 4567 ], "loc": { "start": { - "line": 73, + "line": 181, "column": 39 }, "end": { - "line": 73, + "line": 181, "column": 72 } } }, "range": [ - 2937, - 2974 + 4530, + 4567 ], "loc": { "start": { - "line": 73, + "line": 181, "column": 35 }, "end": { - "line": 73, + "line": 181, "column": 72 } } @@ -6568,100 +6569,100 @@ "value": "cols_checklist_slc_item", "raw": "'cols_checklist_slc_item'", "range": [ - 2990, - 3015 + 4583, + 4608 ], "loc": { "start": { - "line": 74, + "line": 182, "column": 12 }, "end": { - "line": 74, + "line": 182, "column": 37 } } }, "range": [ - 2937, - 3015 + 4530, + 4608 ], "loc": { "start": { - "line": 73, + "line": 181, "column": 35 }, "end": { - "line": 74, + "line": 182, "column": 37 } } }, "range": [ - 2910, - 3015 + 4503, + 4608 ], "loc": { "start": { - "line": 73, + "line": 181, "column": 8 }, "end": { - "line": 74, + "line": 182, "column": 37 } } }, "range": [ - 2910, - 3016 + 4503, + 4609 ], "loc": { "start": { - "line": 73, + "line": 181, "column": 8 }, "end": { - "line": 74, + "line": 182, "column": 38 } }, "leadingComments": [ { - "type": "Line", - "value": "defines css class for selected list item (li)", + "type": "Block", + "value": "*\n * Css for columns manager UI checklist item selected state (li)\n * @type {String}\n ", "range": [ - 2854, - 2901 + 4380, + 4494 ], "loc": { "start": { - "line": 72, + "line": 177, "column": 8 }, "end": { - "line": 72, - "column": 55 + "line": 180, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "text preceding columns list", + "type": "Block", + "value": "*\n * Text preceding the columns list, defaults to 'Hide' or 'Show'\n * depending on tick mode (tick_to_hide option)\n * @type {String}\n ", "range": [ - 3025, - 3054 + 4619, + 4789 ], "loc": { "start": { - "line": 75, + "line": 184, "column": 8 }, "end": { - "line": 75, - "column": 37 + "line": 188, + "column": 11 } } } @@ -6678,16 +6679,16 @@ "object": { "type": "ThisExpression", "range": [ - 3063, - 3067 + 4798, + 4802 ], "loc": { "start": { - "line": 76, + "line": 189, "column": 8 }, "end": { - "line": 76, + "line": 189, "column": 12 } } @@ -6696,31 +6697,31 @@ "type": "Identifier", "name": "text", "range": [ - 3068, - 3072 + 4803, + 4807 ], "loc": { "start": { - "line": 76, + "line": 189, "column": 13 }, "end": { - "line": 76, + "line": 189, "column": 17 } } }, "range": [ - 3063, - 3072 + 4798, + 4807 ], "loc": { "start": { - "line": 76, + "line": 189, "column": 8 }, "end": { - "line": 76, + "line": 189, "column": 17 } } @@ -6735,16 +6736,16 @@ "type": "Identifier", "name": "f", "range": [ - 3075, - 3076 + 4810, + 4811 ], "loc": { "start": { - "line": 76, + "line": 189, "column": 20 }, "end": { - "line": 76, + "line": 189, "column": 21 } } @@ -6753,31 +6754,31 @@ "type": "Identifier", "name": "text", "range": [ - 3077, - 3081 + 4812, + 4816 ], "loc": { "start": { - "line": 76, + "line": 189, "column": 22 }, "end": { - "line": 76, + "line": 189, "column": 26 } } }, "range": [ - 3075, - 3081 + 4810, + 4816 ], "loc": { "start": { - "line": 76, + "line": 189, "column": 20 }, "end": { - "line": 76, + "line": 189, "column": 26 } } @@ -6790,16 +6791,16 @@ "object": { "type": "ThisExpression", "range": [ - 3086, - 3090 + 4821, + 4825 ], "loc": { "start": { - "line": 76, + "line": 189, "column": 31 }, "end": { - "line": 76, + "line": 189, "column": 35 } } @@ -6808,31 +6809,31 @@ "type": "Identifier", "name": "tickToHide", "range": [ - 3091, - 3101 + 4826, + 4836 ], "loc": { "start": { - "line": 76, + "line": 189, "column": 36 }, "end": { - "line": 76, + "line": 189, "column": 46 } } }, "range": [ - 3086, - 3101 + 4821, + 4836 ], "loc": { "start": { - "line": 76, + "line": 189, "column": 31 }, "end": { - "line": 76, + "line": 189, "column": 46 } } @@ -6842,16 +6843,16 @@ "value": "Hide: ", "raw": "'Hide: '", "range": [ - 3104, - 3112 + 4839, + 4847 ], "loc": { "start": { - "line": 76, + "line": 189, "column": 49 }, "end": { - "line": 76, + "line": 189, "column": 57 } } @@ -6861,95 +6862,115 @@ "value": "Show: ", "raw": "'Show: '", "range": [ - 3115, - 3123 + 4850, + 4858 ], "loc": { "start": { - "line": 76, + "line": 189, "column": 60 }, "end": { - "line": 76, + "line": 189, "column": 68 } } }, "range": [ - 3086, - 3123 + 4821, + 4858 ], "loc": { "start": { - "line": 76, + "line": 189, "column": 31 }, "end": { - "line": 76, + "line": 189, "column": 68 } } }, "range": [ - 3075, - 3124 + 4810, + 4859 ], "loc": { "start": { - "line": 76, + "line": 189, "column": 20 }, "end": { - "line": 76, + "line": 189, "column": 69 } } }, "range": [ - 3063, - 3124 + 4798, + 4859 ], "loc": { "start": { - "line": 76, + "line": 189, "column": 8 }, "end": { - "line": 76, + "line": 189, "column": 69 } } }, "range": [ - 3063, - 3125 + 4798, + 4860 ], "loc": { "start": { - "line": 76, + "line": 189, "column": 8 }, "end": { - "line": 76, + "line": 189, "column": 70 } }, "leadingComments": [ { - "type": "Line", - "value": "text preceding columns list", + "type": "Block", + "value": "*\n * Text preceding the columns list, defaults to 'Hide' or 'Show'\n * depending on tick mode (tick_to_hide option)\n * @type {String}\n ", "range": [ - 3025, - 3054 + 4619, + 4789 ], "loc": { "start": { - "line": 75, + "line": 184, "column": 8 }, "end": { - "line": 75, - "column": 37 + "line": 188, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of columns indexes to be hidden at initialization\n * @type {Array}\n ", + "range": [ + 4870, + 4976 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 194, + "column": 11 } } } @@ -6966,16 +6987,16 @@ "object": { "type": "ThisExpression", "range": [ - 3134, - 3138 + 4985, + 4989 ], "loc": { "start": { - "line": 77, + "line": 195, "column": 8 }, "end": { - "line": 77, + "line": 195, "column": 12 } } @@ -6984,31 +7005,31 @@ "type": "Identifier", "name": "atStart", "range": [ - 3139, - 3146 + 4990, + 4997 ], "loc": { "start": { - "line": 77, + "line": 195, "column": 13 }, "end": { - "line": 77, + "line": 195, "column": 20 } } }, "range": [ - 3134, - 3146 + 4985, + 4997 ], "loc": { "start": { - "line": 77, + "line": 195, "column": 8 }, "end": { - "line": 77, + "line": 195, "column": 20 } } @@ -7023,16 +7044,16 @@ "type": "Identifier", "name": "f", "range": [ - 3149, - 3150 + 5000, + 5001 ], "loc": { "start": { - "line": 77, + "line": 195, "column": 23 }, "end": { - "line": 77, + "line": 195, "column": 24 } } @@ -7041,98 +7062,137 @@ "type": "Identifier", "name": "at_start", "range": [ - 3151, - 3159 + 5002, + 5010 ], "loc": { "start": { - "line": 77, + "line": 195, "column": 25 }, "end": { - "line": 77, + "line": 195, "column": 33 } } }, "range": [ - 3149, - 3159 + 5000, + 5010 ], "loc": { "start": { - "line": 77, + "line": 195, "column": 23 }, "end": { - "line": 77, + "line": 195, "column": 33 } } }, "right": { - "type": "Literal", - "value": null, - "raw": "null", + "type": "ArrayExpression", + "elements": [], "range": [ - 3163, - 3167 + 5014, + 5016 ], "loc": { "start": { - "line": 77, + "line": 195, "column": 37 }, "end": { - "line": 77, - "column": 41 + "line": 195, + "column": 39 } } }, "range": [ - 3149, - 3167 + 5000, + 5016 ], "loc": { "start": { - "line": 77, + "line": 195, "column": 23 }, "end": { - "line": 77, - "column": 41 + "line": 195, + "column": 39 } } }, "range": [ - 3134, - 3167 + 4985, + 5016 ], "loc": { "start": { - "line": 77, + "line": 195, "column": 8 }, "end": { - "line": 77, - "column": 41 + "line": 195, + "column": 39 } } }, "range": [ - 3134, - 3168 + 4985, + 5017 ], "loc": { "start": { - "line": 77, + "line": 195, "column": 8 }, "end": { - "line": 77, - "column": 42 + "line": 195, + "column": 40 } - } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of columns indexes to be hidden at initialization\n * @type {Array}\n ", + "range": [ + 4870, + 4976 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 194, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable hover behaviour on columns manager button/link\n * @type {Boolean}\n ", + "range": [ + 5027, + 5134 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 200, + "column": 11 + } + } + } + ] }, { "type": "ExpressionStatement", @@ -7145,16 +7205,16 @@ "object": { "type": "ThisExpression", "range": [ - 3177, - 3181 + 5143, + 5147 ], "loc": { "start": { - "line": 78, + "line": 201, "column": 8 }, "end": { - "line": 78, + "line": 201, "column": 12 } } @@ -7163,31 +7223,31 @@ "type": "Identifier", "name": "enableHover", "range": [ - 3182, - 3193 + 5148, + 5159 ], "loc": { "start": { - "line": 78, + "line": 201, "column": 13 }, "end": { - "line": 78, + "line": 201, "column": 24 } } }, "range": [ - 3177, - 3193 + 5143, + 5159 ], "loc": { "start": { - "line": 78, + "line": 201, "column": 8 }, "end": { - "line": 78, + "line": 201, "column": 24 } } @@ -7198,16 +7258,16 @@ "type": "Identifier", "name": "Boolean", "range": [ - 3196, - 3203 + 5162, + 5169 ], "loc": { "start": { - "line": 78, + "line": 201, "column": 27 }, "end": { - "line": 78, + "line": 201, "column": 34 } } @@ -7220,16 +7280,16 @@ "type": "Identifier", "name": "f", "range": [ - 3204, - 3205 + 5170, + 5171 ], "loc": { "start": { - "line": 78, + "line": 201, "column": 35 }, "end": { - "line": 78, + "line": 201, "column": 36 } } @@ -7238,96 +7298,116 @@ "type": "Identifier", "name": "enable_hover", "range": [ - 3206, - 3218 + 5172, + 5184 ], "loc": { "start": { - "line": 78, + "line": 201, "column": 37 }, "end": { - "line": 78, + "line": 201, "column": 49 } } }, "range": [ - 3204, - 3218 + 5170, + 5184 ], "loc": { "start": { - "line": 78, + "line": 201, "column": 35 }, "end": { - "line": 78, + "line": 201, "column": 49 } } } ], "range": [ - 3196, - 3219 + 5162, + 5185 ], "loc": { "start": { - "line": 78, + "line": 201, "column": 27 }, "end": { - "line": 78, + "line": 201, "column": 50 } } }, "range": [ - 3177, - 3219 + 5143, + 5185 ], "loc": { "start": { - "line": 78, + "line": 201, "column": 8 }, "end": { - "line": 78, + "line": 201, "column": 50 } } }, "range": [ - 3177, - 3220 + 5143, + 5186 ], "loc": { "start": { - "line": 78, + "line": 201, "column": 8 }, "end": { - "line": 78, + "line": 201, "column": 51 } }, - "trailingComments": [ + "leadingComments": [ { - "type": "Line", - "value": "enables select all option", + "type": "Block", + "value": "*\n * Enable hover behaviour on columns manager button/link\n * @type {Boolean}\n ", "range": [ - 3229, - 3256 + 5027, + 5134 ], "loc": { "start": { - "line": 79, + "line": 197, "column": 8 }, "end": { - "line": 79, - "column": 35 + "line": 200, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable select all option, disabled by default\n * @type {Boolean}\n ", + "range": [ + 5196, + 5295 + ], + "loc": { + "start": { + "line": 203, + "column": 8 + }, + "end": { + "line": 206, + "column": 11 } } } @@ -7344,16 +7424,16 @@ "object": { "type": "ThisExpression", "range": [ - 3265, - 3269 + 5304, + 5308 ], "loc": { "start": { - "line": 80, + "line": 207, "column": 8 }, "end": { - "line": 80, + "line": 207, "column": 12 } } @@ -7362,31 +7442,31 @@ "type": "Identifier", "name": "enableTickAll", "range": [ - 3270, - 3283 + 5309, + 5322 ], "loc": { "start": { - "line": 80, + "line": 207, "column": 13 }, "end": { - "line": 80, + "line": 207, "column": 26 } } }, "range": [ - 3265, - 3283 + 5304, + 5322 ], "loc": { "start": { - "line": 80, + "line": 207, "column": 8 }, "end": { - "line": 80, + "line": 207, "column": 26 } } @@ -7397,16 +7477,16 @@ "type": "Identifier", "name": "Boolean", "range": [ - 3286, - 3293 + 5325, + 5332 ], "loc": { "start": { - "line": 80, + "line": 207, "column": 29 }, "end": { - "line": 80, + "line": 207, "column": 36 } } @@ -7419,16 +7499,16 @@ "type": "Identifier", "name": "f", "range": [ - 3294, - 3295 + 5333, + 5334 ], "loc": { "start": { - "line": 80, + "line": 207, "column": 37 }, "end": { - "line": 80, + "line": 207, "column": 38 } } @@ -7437,116 +7517,116 @@ "type": "Identifier", "name": "enable_tick_all", "range": [ - 3296, - 3311 + 5335, + 5350 ], "loc": { "start": { - "line": 80, + "line": 207, "column": 39 }, "end": { - "line": 80, + "line": 207, "column": 54 } } }, "range": [ - 3294, - 3311 + 5333, + 5350 ], "loc": { "start": { - "line": 80, + "line": 207, "column": 37 }, "end": { - "line": 80, + "line": 207, "column": 54 } } } ], "range": [ - 3286, - 3312 + 5325, + 5351 ], "loc": { "start": { - "line": 80, + "line": 207, "column": 29 }, "end": { - "line": 80, + "line": 207, "column": 55 } } }, "range": [ - 3265, - 3312 + 5304, + 5351 ], "loc": { "start": { - "line": 80, + "line": 207, "column": 8 }, "end": { - "line": 80, + "line": 207, "column": 55 } } }, "range": [ - 3265, - 3313 + 5304, + 5352 ], "loc": { "start": { - "line": 80, + "line": 207, "column": 8 }, "end": { - "line": 80, + "line": 207, "column": 56 } }, "leadingComments": [ { - "type": "Line", - "value": "enables select all option", + "type": "Block", + "value": "*\n * Enable select all option, disabled by default\n * @type {Boolean}\n ", "range": [ - 3229, - 3256 + 5196, + 5295 ], "loc": { "start": { - "line": 79, + "line": 203, "column": 8 }, "end": { - "line": 79, - "column": 35 + "line": 206, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "text preceding columns list", + "type": "Block", + "value": "*\n * Text for select all option, defaults to 'Select all:'\n * @type {String}\n ", "range": [ - 3322, - 3351 + 5362, + 5468 ], "loc": { "start": { - "line": 81, + "line": 209, "column": 8 }, "end": { - "line": 81, - "column": 37 + "line": 212, + "column": 11 } } } @@ -7563,16 +7643,16 @@ "object": { "type": "ThisExpression", "range": [ - 3360, - 3364 + 5477, + 5481 ], "loc": { "start": { - "line": 82, + "line": 213, "column": 8 }, "end": { - "line": 82, + "line": 213, "column": 12 } } @@ -7581,31 +7661,31 @@ "type": "Identifier", "name": "tickAllText", "range": [ - 3365, - 3376 + 5482, + 5493 ], "loc": { "start": { - "line": 82, + "line": 213, "column": 13 }, "end": { - "line": 82, + "line": 213, "column": 24 } } }, "range": [ - 3360, - 3376 + 5477, + 5493 ], "loc": { "start": { - "line": 82, + "line": 213, "column": 8 }, "end": { - "line": 82, + "line": 213, "column": 24 } } @@ -7620,16 +7700,16 @@ "type": "Identifier", "name": "f", "range": [ - 3379, - 3380 + 5496, + 5497 ], "loc": { "start": { - "line": 82, + "line": 213, "column": 27 }, "end": { - "line": 82, + "line": 213, "column": 28 } } @@ -7638,31 +7718,31 @@ "type": "Identifier", "name": "tick_all_text", "range": [ - 3381, - 3394 + 5498, + 5511 ], "loc": { "start": { - "line": 82, + "line": 213, "column": 29 }, "end": { - "line": 82, + "line": 213, "column": 42 } } }, "range": [ - 3379, - 3394 + 5496, + 5511 ], "loc": { "start": { - "line": 82, + "line": 213, "column": 27 }, "end": { - "line": 82, + "line": 213, "column": 42 } } @@ -7672,100 +7752,100 @@ "value": "Select all:", "raw": "'Select all:'", "range": [ - 3398, - 3411 + 5515, + 5528 ], "loc": { "start": { - "line": 82, + "line": 213, "column": 46 }, "end": { - "line": 82, + "line": 213, "column": 59 } } }, "range": [ - 3379, - 3411 + 5496, + 5528 ], "loc": { "start": { - "line": 82, + "line": 213, "column": 27 }, "end": { - "line": 82, + "line": 213, "column": 59 } } }, "range": [ - 3360, - 3411 + 5477, + 5528 ], "loc": { "start": { - "line": 82, + "line": 213, "column": 8 }, "end": { - "line": 82, + "line": 213, "column": 59 } } }, "range": [ - 3360, - 3412 + 5477, + 5529 ], "loc": { "start": { - "line": 82, + "line": 213, "column": 8 }, "end": { - "line": 82, + "line": 213, "column": 60 } }, "leadingComments": [ { - "type": "Line", - "value": "text preceding columns list", + "type": "Block", + "value": "*\n * Text for select all option, defaults to 'Select all:'\n * @type {String}\n ", "range": [ - 3322, - 3351 + 5362, + 5468 ], "loc": { "start": { - "line": 81, + "line": 209, "column": 8 }, "end": { - "line": 81, - "column": 37 + "line": 212, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "array containing hidden columns indexes", + "type": "Block", + "value": "*\n * List of indexes of hidden columns\n * @private\n ", "range": [ - 3422, - 3463 + 5539, + 5619 ], "loc": { "start": { - "line": 84, + "line": 215, "column": 8 }, "end": { - "line": 84, - "column": 49 + "line": 218, + "column": 11 } } } @@ -7782,16 +7862,16 @@ "object": { "type": "ThisExpression", "range": [ - 3472, - 3476 + 5628, + 5632 ], "loc": { "start": { - "line": 85, + "line": 219, "column": 8 }, "end": { - "line": 85, + "line": 219, "column": 12 } } @@ -7800,31 +7880,31 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 3477, - 3487 + 5633, + 5643 ], "loc": { "start": { - "line": 85, + "line": 219, "column": 13 }, "end": { - "line": 85, + "line": 219, "column": 23 } } }, "range": [ - 3472, - 3487 + 5628, + 5643 ], "loc": { "start": { - "line": 85, + "line": 219, "column": 8 }, "end": { - "line": 85, + "line": 219, "column": 23 } } @@ -7833,356 +7913,85 @@ "type": "ArrayExpression", "elements": [], "range": [ - 3490, - 3492 + 5646, + 5648 ], "loc": { "start": { - "line": 85, + "line": 219, "column": 26 }, "end": { - "line": 85, + "line": 219, "column": 28 } } }, "range": [ - 3472, - 3492 + 5628, + 5648 ], "loc": { "start": { - "line": 85, + "line": 219, "column": 8 }, "end": { - "line": 85, + "line": 219, "column": 28 } } }, "range": [ - 3472, - 3493 + 5628, + 5649 ], "loc": { "start": { - "line": 85, + "line": 219, "column": 8 }, "end": { - "line": 85, + "line": 219, "column": 29 } }, "leadingComments": [ { - "type": "Line", - "value": "array containing hidden columns indexes", + "type": "Block", + "value": "*\n * List of indexes of hidden columns\n * @private\n ", "range": [ - 3422, - 3463 + 5539, + 5619 ], "loc": { "start": { - "line": 84, + "line": 215, "column": 8 }, "end": { - "line": 84, - "column": 49 + "line": 218, + "column": 11 } } } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 3502, - 3506 - ], - "loc": { - "start": { - "line": 86, - "column": 8 - }, - "end": { - "line": 86, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "tblHasColTag", - "range": [ - 3507, - 3519 - ], - "loc": { - "start": { - "line": 86, - "column": 13 - }, - "end": { - "line": 86, - "column": 25 - } - } - }, - "range": [ - 3502, - 3519 - ], - "loc": { - "start": { - "line": 86, - "column": 8 - }, - "end": { - "line": 86, - "column": 25 - } - } - }, - "right": { - "type": "BinaryExpression", - "operator": ">", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "tag", - "range": [ - 3522, - 3525 - ], - "loc": { - "start": { - "line": 86, - "column": 28 - }, - "end": { - "line": 86, - "column": 31 - } - } - }, - "arguments": [ - { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 3526, - 3528 - ], - "loc": { - "start": { - "line": 86, - "column": 32 - }, - "end": { - "line": 86, - "column": 34 - } - } - }, - "property": { - "type": "Identifier", - "name": "tbl", - "range": [ - 3529, - 3532 - ], - "loc": { - "start": { - "line": 86, - "column": 35 - }, - "end": { - "line": 86, - "column": 38 - } - } - }, - "range": [ - 3526, - 3532 - ], - "loc": { - "start": { - "line": 86, - "column": 32 - }, - "end": { - "line": 86, - "column": 38 - } - } - }, - { - "type": "Literal", - "value": "col", - "raw": "'col'", - "range": [ - 3534, - 3539 - ], - "loc": { - "start": { - "line": 86, - "column": 40 - }, - "end": { - "line": 86, - "column": 45 - } - } - } - ], - "range": [ - 3522, - 3540 - ], - "loc": { - "start": { - "line": 86, - "column": 28 - }, - "end": { - "line": 86, - "column": 46 - } - } - }, - "property": { - "type": "Identifier", - "name": "length", - "range": [ - 3541, - 3547 - ], - "loc": { - "start": { - "line": 86, - "column": 47 - }, - "end": { - "line": 86, - "column": 53 - } - } - }, - "range": [ - 3522, - 3547 - ], - "loc": { - "start": { - "line": 86, - "column": 28 - }, - "end": { - "line": 86, - "column": 53 - } - } - }, - "right": { - "type": "Literal", - "value": 0, - "raw": "0", - "range": [ - 3550, - 3551 - ], - "loc": { - "start": { - "line": 86, - "column": 56 - }, - "end": { - "line": 86, - "column": 57 - } - } - }, - "range": [ - 3522, - 3551 - ], - "loc": { - "start": { - "line": 86, - "column": 28 - }, - "end": { - "line": 86, - "column": 57 - } - } - }, - "range": [ - 3502, - 3551 - ], - "loc": { - "start": { - "line": 86, - "column": 8 - }, - "end": { - "line": 86, - "column": 57 - } - } - }, - "range": [ - 3502, - 3552 ], - "loc": { - "start": { - "line": 86, - "column": 8 - }, - "end": { - "line": 86, - "column": 58 - } - }, "trailingComments": [ { - "type": "Line", - "value": "callback invoked just after cols manager is loaded", + "type": "Block", + "value": "*\n * Callback fired when the extension is initialized\n * @type {Function}\n ", "range": [ - 3562, - 3614 + 5659, + 5762 ], "loc": { "start": { - "line": 88, + "line": 221, "column": 8 }, "end": { - "line": 88, - "column": 60 + "line": 224, + "column": 11 } } } @@ -8199,16 +8008,16 @@ "object": { "type": "ThisExpression", "range": [ - 3623, - 3627 + 5771, + 5775 ], "loc": { "start": { - "line": 89, + "line": 225, "column": 8 }, "end": { - "line": 89, + "line": 225, "column": 12 } } @@ -8217,31 +8026,31 @@ "type": "Identifier", "name": "onLoaded", "range": [ - 3628, - 3636 + 5776, + 5784 ], "loc": { "start": { - "line": 89, + "line": 225, "column": 13 }, "end": { - "line": 89, + "line": 225, "column": 21 } } }, "range": [ - 3623, - 3636 + 5771, + 5784 ], "loc": { "start": { - "line": 89, + "line": 225, "column": 8 }, "end": { - "line": 89, + "line": 225, "column": 21 } } @@ -8254,16 +8063,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 3639, - 3643 + 5787, + 5791 ], "loc": { "start": { - "line": 89, + "line": 225, "column": 24 }, "end": { - "line": 89, + "line": 225, "column": 28 } } @@ -8276,16 +8085,16 @@ "type": "Identifier", "name": "f", "range": [ - 3644, - 3645 + 5792, + 5793 ], "loc": { "start": { - "line": 89, + "line": 225, "column": 29 }, "end": { - "line": 89, + "line": 225, "column": 30 } } @@ -8294,47 +8103,47 @@ "type": "Identifier", "name": "on_loaded", "range": [ - 3646, - 3655 + 5794, + 5803 ], "loc": { "start": { - "line": 89, + "line": 225, "column": 31 }, "end": { - "line": 89, + "line": 225, "column": 40 } } }, "range": [ - 3644, - 3655 + 5792, + 5803 ], "loc": { "start": { - "line": 89, + "line": 225, "column": 29 }, "end": { - "line": 89, + "line": 225, "column": 40 } } } ], "range": [ - 3639, - 3656 + 5787, + 5804 ], "loc": { "start": { - "line": 89, + "line": 225, "column": 24 }, "end": { - "line": 89, + "line": 225, "column": 41 } } @@ -8346,16 +8155,16 @@ "type": "Identifier", "name": "f", "range": [ - 3659, - 3660 + 5807, + 5808 ], "loc": { "start": { - "line": 89, + "line": 225, "column": 44 }, "end": { - "line": 89, + "line": 225, "column": 45 } } @@ -8364,31 +8173,31 @@ "type": "Identifier", "name": "on_loaded", "range": [ - 3661, - 3670 + 5809, + 5818 ], "loc": { "start": { - "line": 89, + "line": 225, "column": 46 }, "end": { - "line": 89, + "line": 225, "column": 55 } } }, "range": [ - 3659, - 3670 + 5807, + 5818 ], "loc": { "start": { - "line": 89, + "line": 225, "column": 44 }, "end": { - "line": 89, + "line": 225, "column": 55 } } @@ -8398,100 +8207,100 @@ "value": null, "raw": "null", "range": [ - 3673, - 3677 + 5821, + 5825 ], "loc": { "start": { - "line": 89, + "line": 225, "column": 58 }, "end": { - "line": 89, + "line": 225, "column": 62 } } }, "range": [ - 3639, - 3677 + 5787, + 5825 ], "loc": { "start": { - "line": 89, + "line": 225, "column": 24 }, "end": { - "line": 89, + "line": 225, "column": 62 } } }, "range": [ - 3623, - 3677 + 5771, + 5825 ], "loc": { "start": { - "line": 89, + "line": 225, "column": 8 }, "end": { - "line": 89, + "line": 225, "column": 62 } } }, "range": [ - 3623, - 3678 + 5771, + 5826 ], "loc": { "start": { - "line": 89, + "line": 225, "column": 8 }, "end": { - "line": 89, + "line": 225, "column": 63 } }, "leadingComments": [ { - "type": "Line", - "value": "callback invoked just after cols manager is loaded", + "type": "Block", + "value": "*\n * Callback fired when the extension is initialized\n * @type {Function}\n ", "range": [ - 3562, - 3614 + 5659, + 5762 ], "loc": { "start": { - "line": 88, + "line": 221, "column": 8 }, "end": { - "line": 88, - "column": 60 + "line": 224, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "calls function before cols manager is opened", + "type": "Block", + "value": "*\n * Callback fired before the columns manager is opened\n * @type {Function}\n ", "range": [ - 3687, - 3733 + 5836, + 5942 ], "loc": { "start": { - "line": 90, + "line": 227, "column": 8 }, "end": { - "line": 90, - "column": 54 + "line": 230, + "column": 11 } } } @@ -8508,16 +8317,16 @@ "object": { "type": "ThisExpression", "range": [ - 3742, - 3746 + 5951, + 5955 ], "loc": { "start": { - "line": 91, + "line": 231, "column": 8 }, "end": { - "line": 91, + "line": 231, "column": 12 } } @@ -8526,31 +8335,31 @@ "type": "Identifier", "name": "onBeforeOpen", "range": [ - 3747, - 3759 + 5956, + 5968 ], "loc": { "start": { - "line": 91, + "line": 231, "column": 13 }, "end": { - "line": 91, + "line": 231, "column": 25 } } }, "range": [ - 3742, - 3759 + 5951, + 5968 ], "loc": { "start": { - "line": 91, + "line": 231, "column": 8 }, "end": { - "line": 91, + "line": 231, "column": 25 } } @@ -8563,16 +8372,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 3762, - 3766 + 5971, + 5975 ], "loc": { "start": { - "line": 91, + "line": 231, "column": 28 }, "end": { - "line": 91, + "line": 231, "column": 32 } } @@ -8585,16 +8394,16 @@ "type": "Identifier", "name": "f", "range": [ - 3767, - 3768 + 5976, + 5977 ], "loc": { "start": { - "line": 91, + "line": 231, "column": 33 }, "end": { - "line": 91, + "line": 231, "column": 34 } } @@ -8603,47 +8412,47 @@ "type": "Identifier", "name": "on_before_open", "range": [ - 3769, - 3783 + 5978, + 5992 ], "loc": { "start": { - "line": 91, + "line": 231, "column": 35 }, "end": { - "line": 91, + "line": 231, "column": 49 } } }, "range": [ - 3767, - 3783 + 5976, + 5992 ], "loc": { "start": { - "line": 91, + "line": 231, "column": 33 }, "end": { - "line": 91, + "line": 231, "column": 49 } } } ], "range": [ - 3762, - 3784 + 5971, + 5993 ], "loc": { "start": { - "line": 91, + "line": 231, "column": 28 }, "end": { - "line": 91, + "line": 231, "column": 50 } } @@ -8655,16 +8464,16 @@ "type": "Identifier", "name": "f", "range": [ - 3787, - 3788 + 5996, + 5997 ], "loc": { "start": { - "line": 91, + "line": 231, "column": 53 }, "end": { - "line": 91, + "line": 231, "column": 54 } } @@ -8673,31 +8482,31 @@ "type": "Identifier", "name": "on_before_open", "range": [ - 3789, - 3803 + 5998, + 6012 ], "loc": { "start": { - "line": 91, + "line": 231, "column": 55 }, "end": { - "line": 91, + "line": 231, "column": 69 } } }, "range": [ - 3787, - 3803 + 5996, + 6012 ], "loc": { "start": { - "line": 91, + "line": 231, "column": 53 }, "end": { - "line": 91, + "line": 231, "column": 69 } } @@ -8707,100 +8516,100 @@ "value": null, "raw": "null", "range": [ - 3806, - 3810 + 6015, + 6019 ], "loc": { "start": { - "line": 91, + "line": 231, "column": 72 }, "end": { - "line": 91, + "line": 231, "column": 76 } } }, "range": [ - 3762, - 3810 + 5971, + 6019 ], "loc": { "start": { - "line": 91, + "line": 231, "column": 28 }, "end": { - "line": 91, + "line": 231, "column": 76 } } }, "range": [ - 3742, - 3810 + 5951, + 6019 ], "loc": { "start": { - "line": 91, + "line": 231, "column": 8 }, "end": { - "line": 91, + "line": 231, "column": 76 } } }, "range": [ - 3742, - 3811 + 5951, + 6020 ], "loc": { "start": { - "line": 91, + "line": 231, "column": 8 }, "end": { - "line": 91, + "line": 231, "column": 77 } }, "leadingComments": [ { - "type": "Line", - "value": "calls function before cols manager is opened", + "type": "Block", + "value": "*\n * Callback fired before the columns manager is opened\n * @type {Function}\n ", "range": [ - 3687, - 3733 + 5836, + 5942 ], "loc": { "start": { - "line": 90, + "line": 227, "column": 8 }, "end": { - "line": 90, - "column": 54 + "line": 230, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "calls function after cols manager is opened", + "type": "Block", + "value": "*\n * Callback fired after the columns manager is opened\n * @type {Function}\n ", "range": [ - 3820, - 3865 + 6030, + 6135 ], "loc": { "start": { - "line": 92, + "line": 233, "column": 8 }, "end": { - "line": 92, - "column": 53 + "line": 236, + "column": 11 } } } @@ -8817,16 +8626,16 @@ "object": { "type": "ThisExpression", "range": [ - 3874, - 3878 + 6144, + 6148 ], "loc": { "start": { - "line": 93, + "line": 237, "column": 8 }, "end": { - "line": 93, + "line": 237, "column": 12 } } @@ -8835,31 +8644,31 @@ "type": "Identifier", "name": "onAfterOpen", "range": [ - 3879, - 3890 + 6149, + 6160 ], "loc": { "start": { - "line": 93, + "line": 237, "column": 13 }, "end": { - "line": 93, + "line": 237, "column": 24 } } }, "range": [ - 3874, - 3890 + 6144, + 6160 ], "loc": { "start": { - "line": 93, + "line": 237, "column": 8 }, "end": { - "line": 93, + "line": 237, "column": 24 } } @@ -8872,16 +8681,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 3893, - 3897 + 6163, + 6167 ], "loc": { "start": { - "line": 93, + "line": 237, "column": 27 }, "end": { - "line": 93, + "line": 237, "column": 31 } } @@ -8894,16 +8703,16 @@ "type": "Identifier", "name": "f", "range": [ - 3898, - 3899 + 6168, + 6169 ], "loc": { "start": { - "line": 93, + "line": 237, "column": 32 }, "end": { - "line": 93, + "line": 237, "column": 33 } } @@ -8912,47 +8721,47 @@ "type": "Identifier", "name": "on_after_open", "range": [ - 3900, - 3913 + 6170, + 6183 ], "loc": { "start": { - "line": 93, + "line": 237, "column": 34 }, "end": { - "line": 93, + "line": 237, "column": 47 } } }, "range": [ - 3898, - 3913 + 6168, + 6183 ], "loc": { "start": { - "line": 93, + "line": 237, "column": 32 }, "end": { - "line": 93, + "line": 237, "column": 47 } } } ], "range": [ - 3893, - 3914 + 6163, + 6184 ], "loc": { "start": { - "line": 93, + "line": 237, "column": 27 }, "end": { - "line": 93, + "line": 237, "column": 48 } } @@ -8964,16 +8773,16 @@ "type": "Identifier", "name": "f", "range": [ - 3917, - 3918 + 6187, + 6188 ], "loc": { "start": { - "line": 93, + "line": 237, "column": 51 }, "end": { - "line": 93, + "line": 237, "column": 52 } } @@ -8982,31 +8791,31 @@ "type": "Identifier", "name": "on_after_open", "range": [ - 3919, - 3932 + 6189, + 6202 ], "loc": { "start": { - "line": 93, + "line": 237, "column": 53 }, "end": { - "line": 93, + "line": 237, "column": 66 } } }, "range": [ - 3917, - 3932 + 6187, + 6202 ], "loc": { "start": { - "line": 93, + "line": 237, "column": 51 }, "end": { - "line": 93, + "line": 237, "column": 66 } } @@ -9016,100 +8825,100 @@ "value": null, "raw": "null", "range": [ - 3935, - 3939 + 6205, + 6209 ], "loc": { "start": { - "line": 93, + "line": 237, "column": 69 }, "end": { - "line": 93, + "line": 237, "column": 73 } } }, "range": [ - 3893, - 3939 + 6163, + 6209 ], "loc": { "start": { - "line": 93, + "line": 237, "column": 27 }, "end": { - "line": 93, + "line": 237, "column": 73 } } }, "range": [ - 3874, - 3939 + 6144, + 6209 ], "loc": { "start": { - "line": 93, + "line": 237, "column": 8 }, "end": { - "line": 93, + "line": 237, "column": 73 } } }, "range": [ - 3874, - 3940 + 6144, + 6210 ], "loc": { "start": { - "line": 93, + "line": 237, "column": 8 }, "end": { - "line": 93, + "line": 237, "column": 74 } }, "leadingComments": [ { - "type": "Line", - "value": "calls function after cols manager is opened", + "type": "Block", + "value": "*\n * Callback fired after the columns manager is opened\n * @type {Function}\n ", "range": [ - 3820, - 3865 + 6030, + 6135 ], "loc": { "start": { - "line": 92, + "line": 233, "column": 8 }, "end": { - "line": 92, - "column": 53 + "line": 236, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "calls function before cols manager is closed", + "type": "Block", + "value": "*\n * Callback fired before the columns manager is closed\n * @type {Function}\n ", "range": [ - 3949, - 3995 + 6220, + 6326 ], "loc": { "start": { - "line": 94, + "line": 239, "column": 8 }, "end": { - "line": 94, - "column": 54 + "line": 242, + "column": 11 } } } @@ -9126,16 +8935,16 @@ "object": { "type": "ThisExpression", "range": [ - 4004, - 4008 + 6335, + 6339 ], "loc": { "start": { - "line": 95, + "line": 243, "column": 8 }, "end": { - "line": 95, + "line": 243, "column": 12 } } @@ -9144,31 +8953,31 @@ "type": "Identifier", "name": "onBeforeClose", "range": [ - 4009, - 4022 + 6340, + 6353 ], "loc": { "start": { - "line": 95, + "line": 243, "column": 13 }, "end": { - "line": 95, + "line": 243, "column": 26 } } }, "range": [ - 4004, - 4022 + 6335, + 6353 ], "loc": { "start": { - "line": 95, + "line": 243, "column": 8 }, "end": { - "line": 95, + "line": 243, "column": 26 } } @@ -9181,16 +8990,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 4025, - 4029 + 6356, + 6360 ], "loc": { "start": { - "line": 95, + "line": 243, "column": 29 }, "end": { - "line": 95, + "line": 243, "column": 33 } } @@ -9203,16 +9012,16 @@ "type": "Identifier", "name": "f", "range": [ - 4030, - 4031 + 6361, + 6362 ], "loc": { "start": { - "line": 95, + "line": 243, "column": 34 }, "end": { - "line": 95, + "line": 243, "column": 35 } } @@ -9221,47 +9030,47 @@ "type": "Identifier", "name": "on_before_close", "range": [ - 4032, - 4047 + 6363, + 6378 ], "loc": { "start": { - "line": 95, + "line": 243, "column": 36 }, "end": { - "line": 95, + "line": 243, "column": 51 } } }, "range": [ - 4030, - 4047 + 6361, + 6378 ], "loc": { "start": { - "line": 95, + "line": 243, "column": 34 }, "end": { - "line": 95, + "line": 243, "column": 51 } } } ], "range": [ - 4025, - 4048 + 6356, + 6379 ], "loc": { "start": { - "line": 95, + "line": 243, "column": 29 }, "end": { - "line": 95, + "line": 243, "column": 52 } } @@ -9273,16 +9082,16 @@ "type": "Identifier", "name": "f", "range": [ - 4051, - 4052 + 6382, + 6383 ], "loc": { "start": { - "line": 95, + "line": 243, "column": 55 }, "end": { - "line": 95, + "line": 243, "column": 56 } } @@ -9291,31 +9100,31 @@ "type": "Identifier", "name": "on_before_close", "range": [ - 4053, - 4068 + 6384, + 6399 ], "loc": { "start": { - "line": 95, + "line": 243, "column": 57 }, "end": { - "line": 95, + "line": 243, "column": 72 } } }, "range": [ - 4051, - 4068 + 6382, + 6399 ], "loc": { "start": { - "line": 95, + "line": 243, "column": 55 }, "end": { - "line": 95, + "line": 243, "column": 72 } } @@ -9325,100 +9134,100 @@ "value": null, "raw": "null", "range": [ - 4071, - 4075 + 6402, + 6406 ], "loc": { "start": { - "line": 95, + "line": 243, "column": 75 }, "end": { - "line": 95, + "line": 243, "column": 79 } } }, "range": [ - 4025, - 4075 + 6356, + 6406 ], "loc": { "start": { - "line": 95, + "line": 243, "column": 29 }, "end": { - "line": 95, + "line": 243, "column": 79 } } }, "range": [ - 4004, - 4075 + 6335, + 6406 ], "loc": { "start": { - "line": 95, + "line": 243, "column": 8 }, "end": { - "line": 95, + "line": 243, "column": 79 } } }, "range": [ - 4004, - 4076 + 6335, + 6407 ], "loc": { "start": { - "line": 95, + "line": 243, "column": 8 }, "end": { - "line": 95, + "line": 243, "column": 80 } }, "leadingComments": [ { - "type": "Line", - "value": "calls function before cols manager is closed", + "type": "Block", + "value": "*\n * Callback fired before the columns manager is closed\n * @type {Function}\n ", "range": [ - 3949, - 3995 + 6220, + 6326 ], "loc": { "start": { - "line": 94, + "line": 239, "column": 8 }, "end": { - "line": 94, - "column": 54 + "line": 242, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "calls function after cols manager is closed", + "type": "Block", + "value": "*\n * Callback fired after the columns manager is closed\n * @type {Function}\n ", "range": [ - 4085, - 4130 + 6417, + 6522 ], "loc": { "start": { - "line": 96, + "line": 245, "column": 8 }, "end": { - "line": 96, - "column": 53 + "line": 248, + "column": 11 } } } @@ -9435,16 +9244,16 @@ "object": { "type": "ThisExpression", "range": [ - 4139, - 4143 + 6531, + 6535 ], "loc": { "start": { - "line": 97, + "line": 249, "column": 8 }, "end": { - "line": 97, + "line": 249, "column": 12 } } @@ -9453,31 +9262,31 @@ "type": "Identifier", "name": "onAfterClose", "range": [ - 4144, - 4156 + 6536, + 6548 ], "loc": { "start": { - "line": 97, + "line": 249, "column": 13 }, "end": { - "line": 97, + "line": 249, "column": 25 } } }, "range": [ - 4139, - 4156 + 6531, + 6548 ], "loc": { "start": { - "line": 97, + "line": 249, "column": 8 }, "end": { - "line": 97, + "line": 249, "column": 25 } } @@ -9490,16 +9299,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 4159, - 4163 + 6551, + 6555 ], "loc": { "start": { - "line": 97, + "line": 249, "column": 28 }, "end": { - "line": 97, + "line": 249, "column": 32 } } @@ -9512,16 +9321,16 @@ "type": "Identifier", "name": "f", "range": [ - 4164, - 4165 + 6556, + 6557 ], "loc": { "start": { - "line": 97, + "line": 249, "column": 33 }, "end": { - "line": 97, + "line": 249, "column": 34 } } @@ -9530,47 +9339,47 @@ "type": "Identifier", "name": "on_after_close", "range": [ - 4166, - 4180 + 6558, + 6572 ], "loc": { "start": { - "line": 97, + "line": 249, "column": 35 }, "end": { - "line": 97, + "line": 249, "column": 49 } } }, "range": [ - 4164, - 4180 + 6556, + 6572 ], "loc": { "start": { - "line": 97, + "line": 249, "column": 33 }, "end": { - "line": 97, + "line": 249, "column": 49 } } } ], "range": [ - 4159, - 4181 + 6551, + 6573 ], "loc": { "start": { - "line": 97, + "line": 249, "column": 28 }, "end": { - "line": 97, + "line": 249, "column": 50 } } @@ -9582,16 +9391,16 @@ "type": "Identifier", "name": "f", "range": [ - 4184, - 4185 + 6576, + 6577 ], "loc": { "start": { - "line": 97, + "line": 249, "column": 53 }, "end": { - "line": 97, + "line": 249, "column": 54 } } @@ -9600,31 +9409,31 @@ "type": "Identifier", "name": "on_after_close", "range": [ - 4186, - 4200 + 6578, + 6592 ], "loc": { "start": { - "line": 97, + "line": 249, "column": 55 }, "end": { - "line": 97, + "line": 249, "column": 69 } } }, "range": [ - 4184, - 4200 + 6576, + 6592 ], "loc": { "start": { - "line": 97, + "line": 249, "column": 53 }, "end": { - "line": 97, + "line": 249, "column": 69 } } @@ -9634,100 +9443,100 @@ "value": null, "raw": "null", "range": [ - 4203, - 4207 + 6595, + 6599 ], "loc": { "start": { - "line": 97, + "line": 249, "column": 72 }, "end": { - "line": 97, + "line": 249, "column": 76 } } }, "range": [ - 4159, - 4207 + 6551, + 6599 ], "loc": { "start": { - "line": 97, + "line": 249, "column": 28 }, "end": { - "line": 97, + "line": 249, "column": 76 } } }, "range": [ - 4139, - 4207 + 6531, + 6599 ], "loc": { "start": { - "line": 97, + "line": 249, "column": 8 }, "end": { - "line": 97, + "line": 249, "column": 76 } } }, "range": [ - 4139, - 4208 + 6531, + 6600 ], "loc": { "start": { - "line": 97, + "line": 249, "column": 8 }, "end": { - "line": 97, + "line": 249, "column": 77 } }, "leadingComments": [ { - "type": "Line", - "value": "calls function after cols manager is closed", + "type": "Block", + "value": "*\n * Callback fired after the columns manager is closed\n * @type {Function}\n ", "range": [ - 4085, - 4130 + 6417, + 6522 ], "loc": { "start": { - "line": 96, + "line": 245, "column": 8 }, "end": { - "line": 96, - "column": 53 + "line": 248, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "callback before col is hidden", + "type": "Block", + "value": "*\n * Callback fired before a column is hidden\n * @type {Function}\n ", "range": [ - 4218, - 4249 + 6610, + 6705 ], "loc": { "start": { - "line": 99, + "line": 251, "column": 8 }, "end": { - "line": 99, - "column": 39 + "line": 254, + "column": 11 } } } @@ -9744,16 +9553,16 @@ "object": { "type": "ThisExpression", "range": [ - 4258, - 4262 + 6714, + 6718 ], "loc": { "start": { - "line": 100, + "line": 255, "column": 8 }, "end": { - "line": 100, + "line": 255, "column": 12 } } @@ -9762,31 +9571,31 @@ "type": "Identifier", "name": "onBeforeColHidden", "range": [ - 4263, - 4280 + 6719, + 6736 ], "loc": { "start": { - "line": 100, + "line": 255, "column": 13 }, "end": { - "line": 100, + "line": 255, "column": 30 } } }, "range": [ - 4258, - 4280 + 6714, + 6736 ], "loc": { "start": { - "line": 100, + "line": 255, "column": 8 }, "end": { - "line": 100, + "line": 255, "column": 30 } } @@ -9799,16 +9608,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 4283, - 4287 + 6739, + 6743 ], "loc": { "start": { - "line": 100, + "line": 255, "column": 33 }, "end": { - "line": 100, + "line": 255, "column": 37 } } @@ -9821,16 +9630,16 @@ "type": "Identifier", "name": "f", "range": [ - 4288, - 4289 + 6744, + 6745 ], "loc": { "start": { - "line": 100, + "line": 255, "column": 38 }, "end": { - "line": 100, + "line": 255, "column": 39 } } @@ -9839,47 +9648,47 @@ "type": "Identifier", "name": "on_before_col_hidden", "range": [ - 4290, - 4310 + 6746, + 6766 ], "loc": { "start": { - "line": 100, + "line": 255, "column": 40 }, "end": { - "line": 100, + "line": 255, "column": 60 } } }, "range": [ - 4288, - 4310 + 6744, + 6766 ], "loc": { "start": { - "line": 100, + "line": 255, "column": 38 }, "end": { - "line": 100, + "line": 255, "column": 60 } } } ], "range": [ - 4283, - 4311 + 6739, + 6767 ], "loc": { "start": { - "line": 100, + "line": 255, "column": 33 }, "end": { - "line": 100, + "line": 255, "column": 61 } } @@ -9891,16 +9700,16 @@ "type": "Identifier", "name": "f", "range": [ - 4326, - 4327 + 6782, + 6783 ], "loc": { "start": { - "line": 101, + "line": 256, "column": 12 }, "end": { - "line": 101, + "line": 256, "column": 13 } } @@ -9909,31 +9718,31 @@ "type": "Identifier", "name": "on_before_col_hidden", "range": [ - 4328, - 4348 + 6784, + 6804 ], "loc": { "start": { - "line": 101, + "line": 256, "column": 14 }, "end": { - "line": 101, + "line": 256, "column": 34 } } }, "range": [ - 4326, - 4348 + 6782, + 6804 ], "loc": { "start": { - "line": 101, + "line": 256, "column": 12 }, "end": { - "line": 101, + "line": 256, "column": 34 } } @@ -9943,100 +9752,100 @@ "value": null, "raw": "null", "range": [ - 4351, - 4355 + 6807, + 6811 ], "loc": { "start": { - "line": 101, + "line": 256, "column": 37 }, "end": { - "line": 101, + "line": 256, "column": 41 } } }, "range": [ - 4283, - 4355 + 6739, + 6811 ], "loc": { "start": { - "line": 100, + "line": 255, "column": 33 }, "end": { - "line": 101, + "line": 256, "column": 41 } } }, "range": [ - 4258, - 4355 + 6714, + 6811 ], "loc": { "start": { - "line": 100, + "line": 255, "column": 8 }, "end": { - "line": 101, + "line": 256, "column": 41 } } }, "range": [ - 4258, - 4356 + 6714, + 6812 ], "loc": { "start": { - "line": 100, + "line": 255, "column": 8 }, "end": { - "line": 101, + "line": 256, "column": 42 } }, "leadingComments": [ { - "type": "Line", - "value": "callback before col is hidden", + "type": "Block", + "value": "*\n * Callback fired before a column is hidden\n * @type {Function}\n ", "range": [ - 4218, - 4249 + 6610, + 6705 ], "loc": { "start": { - "line": 99, + "line": 251, "column": 8 }, "end": { - "line": 99, - "column": 39 + "line": 254, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "callback after col is hidden", + "type": "Block", + "value": "*\n * Callback fired after a column is hidden\n * @type {Function}\n ", "range": [ - 4365, - 4395 + 6822, + 6916 ], "loc": { "start": { - "line": 102, + "line": 258, "column": 8 }, "end": { - "line": 102, - "column": 38 + "line": 261, + "column": 11 } } } @@ -10053,16 +9862,16 @@ "object": { "type": "ThisExpression", "range": [ - 4404, - 4408 + 6925, + 6929 ], "loc": { "start": { - "line": 103, + "line": 262, "column": 8 }, "end": { - "line": 103, + "line": 262, "column": 12 } } @@ -10071,31 +9880,31 @@ "type": "Identifier", "name": "onAfterColHidden", "range": [ - 4409, - 4425 + 6930, + 6946 ], "loc": { "start": { - "line": 103, + "line": 262, "column": 13 }, "end": { - "line": 103, + "line": 262, "column": 29 } } }, "range": [ - 4404, - 4425 + 6925, + 6946 ], "loc": { "start": { - "line": 103, + "line": 262, "column": 8 }, "end": { - "line": 103, + "line": 262, "column": 29 } } @@ -10108,16 +9917,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 4428, - 4432 + 6949, + 6953 ], "loc": { "start": { - "line": 103, + "line": 262, "column": 32 }, "end": { - "line": 103, + "line": 262, "column": 36 } } @@ -10130,16 +9939,16 @@ "type": "Identifier", "name": "f", "range": [ - 4433, - 4434 + 6954, + 6955 ], "loc": { "start": { - "line": 103, + "line": 262, "column": 37 }, "end": { - "line": 103, + "line": 262, "column": 38 } } @@ -10148,47 +9957,47 @@ "type": "Identifier", "name": "on_after_col_hidden", "range": [ - 4435, - 4454 + 6956, + 6975 ], "loc": { "start": { - "line": 103, + "line": 262, "column": 39 }, "end": { - "line": 103, + "line": 262, "column": 58 } } }, "range": [ - 4433, - 4454 + 6954, + 6975 ], "loc": { "start": { - "line": 103, + "line": 262, "column": 37 }, "end": { - "line": 103, + "line": 262, "column": 58 } } } ], "range": [ - 4428, - 4455 + 6949, + 6976 ], "loc": { "start": { - "line": 103, + "line": 262, "column": 32 }, "end": { - "line": 103, + "line": 262, "column": 59 } } @@ -10200,16 +10009,16 @@ "type": "Identifier", "name": "f", "range": [ - 4470, - 4471 + 6991, + 6992 ], "loc": { "start": { - "line": 104, + "line": 263, "column": 12 }, "end": { - "line": 104, + "line": 263, "column": 13 } } @@ -10218,31 +10027,31 @@ "type": "Identifier", "name": "on_after_col_hidden", "range": [ - 4472, - 4491 + 6993, + 7012 ], "loc": { "start": { - "line": 104, + "line": 263, "column": 14 }, "end": { - "line": 104, + "line": 263, "column": 33 } } }, "range": [ - 4470, - 4491 + 6991, + 7012 ], "loc": { "start": { - "line": 104, + "line": 263, "column": 12 }, "end": { - "line": 104, + "line": 263, "column": 33 } } @@ -10252,100 +10061,100 @@ "value": null, "raw": "null", "range": [ - 4494, - 4498 + 7015, + 7019 ], "loc": { "start": { - "line": 104, + "line": 263, "column": 36 }, "end": { - "line": 104, + "line": 263, "column": 40 } } }, "range": [ - 4428, - 4498 + 6949, + 7019 ], "loc": { "start": { - "line": 103, + "line": 262, "column": 32 }, "end": { - "line": 104, + "line": 263, "column": 40 } } }, "range": [ - 4404, - 4498 + 6925, + 7019 ], "loc": { "start": { - "line": 103, + "line": 262, "column": 8 }, "end": { - "line": 104, + "line": 263, "column": 40 } } }, "range": [ - 4404, - 4499 + 6925, + 7020 ], "loc": { "start": { - "line": 103, + "line": 262, "column": 8 }, "end": { - "line": 104, + "line": 263, "column": 41 } }, "leadingComments": [ { - "type": "Line", - "value": "callback after col is hidden", + "type": "Block", + "value": "*\n * Callback fired after a column is hidden\n * @type {Function}\n ", "range": [ - 4365, - 4395 + 6822, + 6916 ], "loc": { "start": { - "line": 102, + "line": 258, "column": 8 }, "end": { - "line": 102, - "column": 38 + "line": 261, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "callback before col is displayed", + "type": "Block", + "value": "*\n * Callback fired before a column is displayed\n * @type {Function}\n ", "range": [ - 4508, - 4542 + 7030, + 7128 ], "loc": { "start": { - "line": 105, + "line": 265, "column": 8 }, "end": { - "line": 105, - "column": 42 + "line": 268, + "column": 11 } } } @@ -10362,16 +10171,16 @@ "object": { "type": "ThisExpression", "range": [ - 4551, - 4555 + 7137, + 7141 ], "loc": { "start": { - "line": 106, + "line": 269, "column": 8 }, "end": { - "line": 106, + "line": 269, "column": 12 } } @@ -10380,31 +10189,31 @@ "type": "Identifier", "name": "onBeforeColDisplayed", "range": [ - 4556, - 4576 + 7142, + 7162 ], "loc": { "start": { - "line": 106, + "line": 269, "column": 13 }, "end": { - "line": 106, + "line": 269, "column": 33 } } }, "range": [ - 4551, - 4576 + 7137, + 7162 ], "loc": { "start": { - "line": 106, + "line": 269, "column": 8 }, "end": { - "line": 106, + "line": 269, "column": 33 } } @@ -10417,16 +10226,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 4579, - 4583 + 7165, + 7169 ], "loc": { "start": { - "line": 106, + "line": 269, "column": 36 }, "end": { - "line": 106, + "line": 269, "column": 40 } } @@ -10439,16 +10248,16 @@ "type": "Identifier", "name": "f", "range": [ - 4584, - 4585 + 7170, + 7171 ], "loc": { "start": { - "line": 106, + "line": 269, "column": 41 }, "end": { - "line": 106, + "line": 269, "column": 42 } } @@ -10457,47 +10266,47 @@ "type": "Identifier", "name": "on_before_col_displayed", "range": [ - 4586, - 4609 + 7172, + 7195 ], "loc": { "start": { - "line": 106, + "line": 269, "column": 43 }, "end": { - "line": 106, + "line": 269, "column": 66 } } }, "range": [ - 4584, - 4609 + 7170, + 7195 ], "loc": { "start": { - "line": 106, + "line": 269, "column": 41 }, "end": { - "line": 106, + "line": 269, "column": 66 } } } ], "range": [ - 4579, - 4610 + 7165, + 7196 ], "loc": { "start": { - "line": 106, + "line": 269, "column": 36 }, "end": { - "line": 106, + "line": 269, "column": 67 } } @@ -10509,16 +10318,16 @@ "type": "Identifier", "name": "f", "range": [ - 4625, - 4626 + 7211, + 7212 ], "loc": { "start": { - "line": 107, + "line": 270, "column": 12 }, "end": { - "line": 107, + "line": 270, "column": 13 } } @@ -10527,31 +10336,31 @@ "type": "Identifier", "name": "on_before_col_displayed", "range": [ - 4627, - 4650 + 7213, + 7236 ], "loc": { "start": { - "line": 107, + "line": 270, "column": 14 }, "end": { - "line": 107, + "line": 270, "column": 37 } } }, "range": [ - 4625, - 4650 + 7211, + 7236 ], "loc": { "start": { - "line": 107, + "line": 270, "column": 12 }, "end": { - "line": 107, + "line": 270, "column": 37 } } @@ -10561,100 +10370,100 @@ "value": null, "raw": "null", "range": [ - 4653, - 4657 + 7239, + 7243 ], "loc": { "start": { - "line": 107, + "line": 270, "column": 40 }, "end": { - "line": 107, + "line": 270, "column": 44 } } }, "range": [ - 4579, - 4657 + 7165, + 7243 ], "loc": { "start": { - "line": 106, + "line": 269, "column": 36 }, "end": { - "line": 107, + "line": 270, "column": 44 } } }, "range": [ - 4551, - 4657 + 7137, + 7243 ], "loc": { "start": { - "line": 106, + "line": 269, "column": 8 }, "end": { - "line": 107, + "line": 270, "column": 44 } } }, "range": [ - 4551, - 4658 + 7137, + 7244 ], "loc": { "start": { - "line": 106, + "line": 269, "column": 8 }, "end": { - "line": 107, + "line": 270, "column": 45 } }, "leadingComments": [ { - "type": "Line", - "value": "callback before col is displayed", + "type": "Block", + "value": "*\n * Callback fired before a column is displayed\n * @type {Function}\n ", "range": [ - 4508, - 4542 + 7030, + 7128 ], "loc": { "start": { - "line": 105, + "line": 265, "column": 8 }, "end": { - "line": 105, - "column": 42 + "line": 268, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "callback after col is displayed", + "type": "Block", + "value": "*\n * Callback fired after a column is displayed\n * @type {Function}\n ", "range": [ - 4667, - 4700 + 7254, + 7351 ], "loc": { "start": { - "line": 108, + "line": 272, "column": 8 }, "end": { - "line": 108, - "column": 41 + "line": 275, + "column": 11 } } } @@ -10671,16 +10480,16 @@ "object": { "type": "ThisExpression", "range": [ - 4709, - 4713 + 7360, + 7364 ], "loc": { "start": { - "line": 109, + "line": 276, "column": 8 }, "end": { - "line": 109, + "line": 276, "column": 12 } } @@ -10689,31 +10498,31 @@ "type": "Identifier", "name": "onAfterColDisplayed", "range": [ - 4714, - 4733 + 7365, + 7384 ], "loc": { "start": { - "line": 109, + "line": 276, "column": 13 }, "end": { - "line": 109, + "line": 276, "column": 32 } } }, "range": [ - 4709, - 4733 + 7360, + 7384 ], "loc": { "start": { - "line": 109, + "line": 276, "column": 8 }, "end": { - "line": 109, + "line": 276, "column": 32 } } @@ -10726,16 +10535,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 4736, - 4740 + 7387, + 7391 ], "loc": { "start": { - "line": 109, + "line": 276, "column": 35 }, "end": { - "line": 109, + "line": 276, "column": 39 } } @@ -10748,16 +10557,16 @@ "type": "Identifier", "name": "f", "range": [ - 4741, - 4742 + 7392, + 7393 ], "loc": { "start": { - "line": 109, + "line": 276, "column": 40 }, "end": { - "line": 109, + "line": 276, "column": 41 } } @@ -10766,47 +10575,47 @@ "type": "Identifier", "name": "on_after_col_displayed", "range": [ - 4743, - 4765 + 7394, + 7416 ], "loc": { "start": { - "line": 109, + "line": 276, "column": 42 }, "end": { - "line": 109, + "line": 276, "column": 64 } } }, "range": [ - 4741, - 4765 + 7392, + 7416 ], "loc": { "start": { - "line": 109, + "line": 276, "column": 40 }, "end": { - "line": 109, + "line": 276, "column": 64 } } } ], "range": [ - 4736, - 4766 + 7387, + 7417 ], "loc": { "start": { - "line": 109, + "line": 276, "column": 35 }, "end": { - "line": 109, + "line": 276, "column": 65 } } @@ -10818,16 +10627,16 @@ "type": "Identifier", "name": "f", "range": [ - 4781, - 4782 + 7432, + 7433 ], "loc": { "start": { - "line": 110, + "line": 277, "column": 12 }, "end": { - "line": 110, + "line": 277, "column": 13 } } @@ -10836,31 +10645,31 @@ "type": "Identifier", "name": "on_after_col_displayed", "range": [ - 4783, - 4805 + 7434, + 7456 ], "loc": { "start": { - "line": 110, + "line": 277, "column": 14 }, "end": { - "line": 110, + "line": 277, "column": 36 } } }, "range": [ - 4781, - 4805 + 7432, + 7456 ], "loc": { "start": { - "line": 110, + "line": 277, "column": 12 }, "end": { - "line": 110, + "line": 277, "column": 36 } } @@ -10870,80 +10679,80 @@ "value": null, "raw": "null", "range": [ - 4808, - 4812 + 7459, + 7463 ], "loc": { "start": { - "line": 110, + "line": 277, "column": 39 }, "end": { - "line": 110, + "line": 277, "column": 43 } } }, "range": [ - 4736, - 4812 + 7387, + 7463 ], "loc": { "start": { - "line": 109, + "line": 276, "column": 35 }, "end": { - "line": 110, + "line": 277, "column": 43 } } }, "range": [ - 4709, - 4812 + 7360, + 7463 ], "loc": { "start": { - "line": 109, + "line": 276, "column": 8 }, "end": { - "line": 110, + "line": 277, "column": 43 } } }, "range": [ - 4709, - 4813 + 7360, + 7464 ], "loc": { "start": { - "line": 109, + "line": 276, "column": 8 }, "end": { - "line": 110, + "line": 277, "column": 44 } }, "leadingComments": [ { - "type": "Line", - "value": "callback after col is displayed", + "type": "Block", + "value": "*\n * Callback fired after a column is displayed\n * @type {Function}\n ", "range": [ - 4667, - 4700 + 7254, + 7351 ], "loc": { "start": { - "line": 108, + "line": 272, "column": 8 }, "end": { - "line": 108, - "column": 41 + "line": 275, + "column": 11 } } } @@ -10951,19 +10760,19 @@ "trailingComments": [ { "type": "Line", - "value": "Grid layout compatibility", + "value": "Grid layout support", "range": [ - 4823, - 4850 + 7474, + 7495 ], "loc": { "start": { - "line": 112, + "line": 279, "column": 8 }, "end": { - "line": 112, - "column": 35 + "line": 279, + "column": 29 } } } @@ -10978,16 +10787,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4863, - 4865 + 7508, + 7510 ], "loc": { "start": { - "line": 113, + "line": 280, "column": 12 }, "end": { - "line": 113, + "line": 280, "column": 14 } } @@ -10996,31 +10805,31 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 4866, - 4876 + 7511, + 7521 ], "loc": { "start": { - "line": 113, + "line": 280, "column": 15 }, "end": { - "line": 113, + "line": 280, "column": 25 } } }, "range": [ - 4863, - 4876 + 7508, + 7521 ], "loc": { "start": { - "line": 113, + "line": 280, "column": 12 }, "end": { - "line": 113, + "line": 280, "column": 25 } } @@ -11039,16 +10848,16 @@ "object": { "type": "ThisExpression", "range": [ - 4892, - 4896 + 7537, + 7541 ], "loc": { "start": { - "line": 114, + "line": 281, "column": 12 }, "end": { - "line": 114, + "line": 281, "column": 16 } } @@ -11057,31 +10866,31 @@ "type": "Identifier", "name": "headersTbl", "range": [ - 4897, - 4907 + 7542, + 7552 ], "loc": { "start": { - "line": 114, + "line": 281, "column": 17 }, "end": { - "line": 114, + "line": 281, "column": 27 } } }, "range": [ - 4892, - 4907 + 7537, + 7552 ], "loc": { "start": { - "line": 114, + "line": 281, "column": 12 }, "end": { - "line": 114, + "line": 281, "column": 27 } } @@ -11098,16 +10907,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4910, - 4912 + 7555, + 7557 ], "loc": { "start": { - "line": 114, + "line": 281, "column": 30 }, "end": { - "line": 114, + "line": 281, "column": 32 } } @@ -11116,31 +10925,31 @@ "type": "Identifier", "name": "feature", "range": [ - 4913, - 4920 + 7558, + 7565 ], "loc": { "start": { - "line": 114, + "line": 281, "column": 33 }, "end": { - "line": 114, + "line": 281, "column": 40 } } }, "range": [ - 4910, - 4920 + 7555, + 7565 ], "loc": { "start": { - "line": 114, + "line": 281, "column": 30 }, "end": { - "line": 114, + "line": 281, "column": 40 } } @@ -11151,32 +10960,32 @@ "value": "gridLayout", "raw": "'gridLayout'", "range": [ - 4921, - 4933 + 7566, + 7578 ], "loc": { "start": { - "line": 114, + "line": 281, "column": 41 }, "end": { - "line": 114, + "line": 281, "column": 53 } } } ], "range": [ - 4910, - 4934 + 7555, + 7579 ], "loc": { "start": { - "line": 114, + "line": 281, "column": 30 }, "end": { - "line": 114, + "line": 281, "column": 54 } } @@ -11185,61 +10994,61 @@ "type": "Identifier", "name": "headTbl", "range": [ - 4935, - 4942 + 7580, + 7587 ], "loc": { "start": { - "line": 114, + "line": 281, "column": 55 }, "end": { - "line": 114, + "line": 281, "column": 62 } } }, "range": [ - 4910, - 4942 + 7555, + 7587 ], "loc": { "start": { - "line": 114, + "line": 281, "column": 30 }, "end": { - "line": 114, + "line": 281, "column": 62 } } }, "range": [ - 4892, - 4942 + 7537, + 7587 ], "loc": { "start": { - "line": 114, + "line": 281, "column": 12 }, "end": { - "line": 114, + "line": 281, "column": 62 } } }, "range": [ - 4892, - 4943 + 7537, + 7588 ], "loc": { "start": { - "line": 114, + "line": 281, "column": 12 }, "end": { - "line": 114, + "line": 281, "column": 63 } }, @@ -11248,16 +11057,16 @@ "type": "Line", "value": "headers table", "range": [ - 4944, - 4959 + 7589, + 7604 ], "loc": { "start": { - "line": 114, + "line": 281, "column": 64 }, "end": { - "line": 114, + "line": 281, "column": 79 } } @@ -11275,16 +11084,16 @@ "object": { "type": "ThisExpression", "range": [ - 4972, - 4976 + 7617, + 7621 ], "loc": { "start": { - "line": 115, + "line": 282, "column": 12 }, "end": { - "line": 115, + "line": 282, "column": 16 } } @@ -11293,31 +11102,31 @@ "type": "Identifier", "name": "headersIndex", "range": [ - 4977, - 4989 + 7622, + 7634 ], "loc": { "start": { - "line": 115, + "line": 282, "column": 17 }, "end": { - "line": 115, + "line": 282, "column": 29 } } }, "range": [ - 4972, - 4989 + 7617, + 7634 ], "loc": { "start": { - "line": 115, + "line": 282, "column": 12 }, "end": { - "line": 115, + "line": 282, "column": 29 } } @@ -11327,46 +11136,46 @@ "value": 0, "raw": "0", "range": [ - 4992, - 4993 + 7637, + 7638 ], "loc": { "start": { - "line": 115, + "line": 282, "column": 32 }, "end": { - "line": 115, + "line": 282, "column": 33 } } }, "range": [ - 4972, - 4993 + 7617, + 7638 ], "loc": { "start": { - "line": 115, + "line": 282, "column": 12 }, "end": { - "line": 115, + "line": 282, "column": 33 } } }, "range": [ - 4972, - 4994 + 7617, + 7639 ], "loc": { "start": { - "line": 115, + "line": 282, "column": 12 }, "end": { - "line": 115, + "line": 282, "column": 34 } }, @@ -11375,16 +11184,16 @@ "type": "Line", "value": "headers table", "range": [ - 4944, - 4959 + 7589, + 7604 ], "loc": { "start": { - "line": 114, + "line": 281, "column": 64 }, "end": { - "line": 114, + "line": 281, "column": 79 } } @@ -11395,16 +11204,16 @@ "type": "Line", "value": "headers index", "range": [ - 4995, - 5010 + 7640, + 7655 ], "loc": { "start": { - "line": 115, + "line": 282, "column": 35 }, "end": { - "line": 115, + "line": 282, "column": 50 } } @@ -11422,16 +11231,16 @@ "object": { "type": "ThisExpression", "range": [ - 5023, - 5027 + 7668, + 7672 ], "loc": { "start": { - "line": 116, + "line": 283, "column": 12 }, "end": { - "line": 116, + "line": 283, "column": 16 } } @@ -11440,31 +11249,31 @@ "type": "Identifier", "name": "onAfterColDisplayed", "range": [ - 5028, - 5047 + 7673, + 7692 ], "loc": { "start": { - "line": 116, + "line": 283, "column": 17 }, "end": { - "line": 116, + "line": 283, "column": 36 } } }, "range": [ - 5023, - 5047 + 7668, + 7692 ], "loc": { "start": { - "line": 116, + "line": 283, "column": 12 }, "end": { - "line": 116, + "line": 283, "column": 36 } } @@ -11477,16 +11286,16 @@ "type": "BlockStatement", "body": [], "range": [ - 5062, - 5065 + 7707, + 7710 ], "loc": { "start": { - "line": 116, + "line": 283, "column": 51 }, "end": { - "line": 116, + "line": 283, "column": 54 } } @@ -11494,46 +11303,46 @@ "generator": false, "expression": false, "range": [ - 5050, - 5065 + 7695, + 7710 ], "loc": { "start": { - "line": 116, + "line": 283, "column": 39 }, "end": { - "line": 116, + "line": 283, "column": 54 } } }, "range": [ - 5023, - 5065 + 7668, + 7710 ], "loc": { "start": { - "line": 116, + "line": 283, "column": 12 }, "end": { - "line": 116, + "line": 283, "column": 54 } } }, "range": [ - 5023, - 5066 + 7668, + 7711 ], "loc": { "start": { - "line": 116, + "line": 283, "column": 12 }, "end": { - "line": 116, + "line": 283, "column": 55 } }, @@ -11542,16 +11351,16 @@ "type": "Line", "value": "headers index", "range": [ - 4995, - 5010 + 7640, + 7655 ], "loc": { "start": { - "line": 115, + "line": 282, "column": 35 }, "end": { - "line": 115, + "line": 282, "column": 50 } } @@ -11569,16 +11378,16 @@ "object": { "type": "ThisExpression", "range": [ - 5079, - 5083 + 7724, + 7728 ], "loc": { "start": { - "line": 117, + "line": 284, "column": 12 }, "end": { - "line": 117, + "line": 284, "column": 16 } } @@ -11587,31 +11396,31 @@ "type": "Identifier", "name": "onAfterColHidden", "range": [ - 5084, - 5100 + 7729, + 7745 ], "loc": { "start": { - "line": 117, + "line": 284, "column": 17 }, "end": { - "line": 117, + "line": 284, "column": 33 } } }, "range": [ - 5079, - 5100 + 7724, + 7745 ], "loc": { "start": { - "line": 117, + "line": 284, "column": 12 }, "end": { - "line": 117, + "line": 284, "column": 33 } } @@ -11624,16 +11433,16 @@ "type": "BlockStatement", "body": [], "range": [ - 5115, - 5118 + 7760, + 7763 ], "loc": { "start": { - "line": 117, + "line": 284, "column": 48 }, "end": { - "line": 117, + "line": 284, "column": 51 } } @@ -11641,97 +11450,97 @@ "generator": false, "expression": false, "range": [ - 5103, - 5118 + 7748, + 7763 ], "loc": { "start": { - "line": 117, + "line": 284, "column": 36 }, "end": { - "line": 117, + "line": 284, "column": 51 } } }, "range": [ - 5079, - 5118 + 7724, + 7763 ], "loc": { "start": { - "line": 117, + "line": 284, "column": 12 }, "end": { - "line": 117, + "line": 284, "column": 51 } } }, "range": [ - 5079, - 5119 + 7724, + 7764 ], "loc": { "start": { - "line": 117, + "line": 284, "column": 12 }, "end": { - "line": 117, + "line": 284, "column": 52 } } } ], "range": [ - 4878, - 5129 + 7523, + 7774 ], "loc": { "start": { - "line": 113, + "line": 280, "column": 27 }, "end": { - "line": 118, + "line": 285, "column": 9 } } }, "alternate": null, "range": [ - 4859, - 5129 + 7504, + 7774 ], "loc": { "start": { - "line": 113, + "line": 280, "column": 8 }, "end": { - "line": 118, + "line": 285, "column": 9 } }, "leadingComments": [ { "type": "Line", - "value": "Grid layout compatibility", + "value": "Grid layout support", "range": [ - 4823, - 4850 + 7474, + 7495 ], "loc": { "start": { - "line": 112, + "line": 279, "column": 8 }, "end": { - "line": 112, - "column": 35 + "line": 279, + "column": 29 } } } @@ -11741,16 +11550,16 @@ "type": "Line", "value": "Loads extension stylesheet", "range": [ - 5139, - 5167 + 7784, + 7812 ], "loc": { "start": { - "line": 120, + "line": 287, "column": 8 }, "end": { - "line": 120, + "line": 287, "column": 36 } } @@ -11768,16 +11577,16 @@ "type": "Identifier", "name": "tf", "range": [ - 5176, - 5178 + 7821, + 7823 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 8 }, "end": { - "line": 121, + "line": 288, "column": 10 } } @@ -11786,31 +11595,31 @@ "type": "Identifier", "name": "import", "range": [ - 5179, - 5185 + 7824, + 7830 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 11 }, "end": { - "line": 121, + "line": 288, "column": 17 } } }, "range": [ - 5176, - 5185 + 7821, + 7830 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 8 }, "end": { - "line": 121, + "line": 288, "column": 17 } } @@ -11826,16 +11635,16 @@ "type": "Identifier", "name": "f", "range": [ - 5186, - 5187 + 7831, + 7832 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 18 }, "end": { - "line": 121, + "line": 288, "column": 19 } } @@ -11844,31 +11653,31 @@ "type": "Identifier", "name": "name", "range": [ - 5188, - 5192 + 7833, + 7837 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 20 }, "end": { - "line": 121, + "line": 288, "column": 24 } } }, "range": [ - 5186, - 5192 + 7831, + 7837 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 18 }, "end": { - "line": 121, + "line": 288, "column": 24 } } @@ -11878,31 +11687,31 @@ "value": "Style", "raw": "'Style'", "range": [ - 5195, - 5202 + 7840, + 7847 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 27 }, "end": { - "line": 121, + "line": 288, "column": 34 } } }, "range": [ - 5186, - 5202 + 7831, + 7847 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 18 }, "end": { - "line": 121, + "line": 288, "column": 34 } } @@ -11917,16 +11726,16 @@ "type": "Identifier", "name": "tf", "range": [ - 5204, - 5206 + 7849, + 7851 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 36 }, "end": { - "line": 121, + "line": 288, "column": 38 } } @@ -11935,31 +11744,31 @@ "type": "Identifier", "name": "stylePath", "range": [ - 5207, - 5216 + 7852, + 7861 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 39 }, "end": { - "line": 121, + "line": 288, "column": 48 } } }, "range": [ - 5204, - 5216 + 7849, + 7861 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 36 }, "end": { - "line": 121, + "line": 288, "column": 48 } } @@ -11970,16 +11779,16 @@ "object": { "type": "ThisExpression", "range": [ - 5219, - 5223 + 7864, + 7868 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 51 }, "end": { - "line": 121, + "line": 288, "column": 55 } } @@ -11988,46 +11797,46 @@ "type": "Identifier", "name": "stylesheet", "range": [ - 5224, - 5234 + 7869, + 7879 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 56 }, "end": { - "line": 121, + "line": 288, "column": 66 } } }, "range": [ - 5219, - 5234 + 7864, + 7879 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 51 }, "end": { - "line": 121, + "line": 288, "column": 66 } } }, "range": [ - 5204, - 5234 + 7849, + 7879 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 36 }, "end": { - "line": 121, + "line": 288, "column": 66 } } @@ -12037,16 +11846,16 @@ "value": null, "raw": "null", "range": [ - 5236, - 5240 + 7881, + 7885 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 68 }, "end": { - "line": 121, + "line": 288, "column": 72 } } @@ -12056,47 +11865,47 @@ "value": "link", "raw": "'link'", "range": [ - 5254, - 5260 + 7899, + 7905 ], "loc": { "start": { - "line": 122, + "line": 289, "column": 12 }, "end": { - "line": 122, + "line": 289, "column": 18 } } } ], "range": [ - 5176, - 5261 + 7821, + 7906 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 8 }, "end": { - "line": 122, + "line": 289, "column": 19 } } }, "range": [ - 5176, - 5262 + 7821, + 7907 ], "loc": { "start": { - "line": 121, + "line": 288, "column": 8 }, "end": { - "line": 122, + "line": 289, "column": 20 } }, @@ -12105,16 +11914,16 @@ "type": "Line", "value": "Loads extension stylesheet", "range": [ - 5139, - 5167 + 7784, + 7812 ], "loc": { "start": { - "line": 120, + "line": 287, "column": 8 }, "end": { - "line": 120, + "line": 287, "column": 36 } } @@ -12131,16 +11940,16 @@ "object": { "type": "ThisExpression", "range": [ - 5272, - 5276 + 7917, + 7921 ], "loc": { "start": { - "line": 124, + "line": 291, "column": 8 }, "end": { - "line": 124, + "line": 291, "column": 12 } } @@ -12149,78 +11958,78 @@ "type": "Identifier", "name": "enable", "range": [ - 5277, - 5283 + 7922, + 7928 ], "loc": { "start": { - "line": 124, + "line": 291, "column": 13 }, "end": { - "line": 124, + "line": 291, "column": 19 } } }, "range": [ - 5272, - 5283 + 7917, + 7928 ], "loc": { "start": { - "line": 124, + "line": 291, "column": 8 }, "end": { - "line": 124, + "line": 291, "column": 19 } } }, "arguments": [], "range": [ - 5272, - 5285 + 7917, + 7930 ], "loc": { "start": { - "line": 124, + "line": 291, "column": 8 }, "end": { - "line": 124, + "line": 291, "column": 21 } } }, "range": [ - 5272, - 5286 + 7917, + 7931 ], "loc": { "start": { - "line": 124, + "line": 291, "column": 8 }, "end": { - "line": 124, + "line": 291, "column": 22 } } } ], "range": [ - 466, - 5292 + 515, + 7937 ], "loc": { "start": { - "line": 16, + "line": 20, "column": 23 }, "end": { - "line": 125, + "line": 292, "column": 5 } } @@ -12228,16 +12037,16 @@ "generator": false, "expression": false, "range": [ - 458, - 5292 + 507, + 7937 ], "loc": { "start": { - "line": 16, + "line": 20, "column": 15 }, "end": { - "line": 125, + "line": 292, "column": 5 } } @@ -12245,34 +12054,54 @@ "kind": "constructor", "computed": false, "range": [ - 447, - 5292 + 496, + 7937 ], "loc": { "start": { - "line": 16, + "line": 20, "column": 4 }, "end": { - "line": 125, + "line": 292, "column": 5 } }, "leadingComments": [ { "type": "Block", - "value": "*\n * Columns Visibility extension\n * @param {Object} tf TableFilter instance\n * @param {Object} f Extension's configuration\n ", + "value": "*\n * Creates an instance of ColsVisibility\n *\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} Configuration object\n ", "range": [ - 297, - 442 + 332, + 491 ], "loc": { "start": { - "line": 11, + "line": 14, "column": 4 }, "end": { - "line": 15, + "line": 19, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Toggle columns manager UI\n ", + "range": [ + 7943, + 7987 + ], + "loc": { + "start": { + "line": 294, + "column": 4 + }, + "end": { + "line": 296, "column": 7 } } @@ -12286,16 +12115,16 @@ "type": "Identifier", "name": "toggle", "range": [ - 5298, - 5304 + 7992, + 7998 ], "loc": { "start": { - "line": 127, + "line": 297, "column": 4 }, "end": { - "line": 127, + "line": 297, "column": 10 } } @@ -12316,16 +12145,16 @@ "type": "Identifier", "name": "contDisplay", "range": [ - 5321, - 5332 + 8015, + 8026 ], "loc": { "start": { - "line": 128, + "line": 298, "column": 12 }, "end": { - "line": 128, + "line": 298, "column": 23 } } @@ -12342,16 +12171,16 @@ "object": { "type": "ThisExpression", "range": [ - 5335, - 5339 + 8029, + 8033 ], "loc": { "start": { - "line": 128, + "line": 298, "column": 26 }, "end": { - "line": 128, + "line": 298, "column": 30 } } @@ -12360,31 +12189,31 @@ "type": "Identifier", "name": "contEl", "range": [ - 5340, - 5346 + 8034, + 8040 ], "loc": { "start": { - "line": 128, + "line": 298, "column": 31 }, "end": { - "line": 128, + "line": 298, "column": 37 } } }, "range": [ - 5335, - 5346 + 8029, + 8040 ], "loc": { "start": { - "line": 128, + "line": 298, "column": 26 }, "end": { - "line": 128, + "line": 298, "column": 37 } } @@ -12393,31 +12222,31 @@ "type": "Identifier", "name": "style", "range": [ - 5347, - 5352 + 8041, + 8046 ], "loc": { "start": { - "line": 128, + "line": 298, "column": 38 }, "end": { - "line": 128, + "line": 298, "column": 43 } } }, "range": [ - 5335, - 5352 + 8029, + 8046 ], "loc": { "start": { - "line": 128, + "line": 298, "column": 26 }, "end": { - "line": 128, + "line": 298, "column": 43 } } @@ -12426,46 +12255,46 @@ "type": "Identifier", "name": "display", "range": [ - 5353, - 5360 + 8047, + 8054 ], "loc": { "start": { - "line": 128, + "line": 298, "column": 44 }, "end": { - "line": 128, + "line": 298, "column": 51 } } }, "range": [ - 5335, - 5360 + 8029, + 8054 ], "loc": { "start": { - "line": 128, + "line": 298, "column": 26 }, "end": { - "line": 128, + "line": 298, "column": 51 } } }, "range": [ - 5321, - 5360 + 8015, + 8054 ], "loc": { "start": { - "line": 128, + "line": 298, "column": 12 }, "end": { - "line": 128, + "line": 298, "column": 51 } } @@ -12473,16 +12302,16 @@ ], "kind": "let", "range": [ - 5317, - 5361 + 8011, + 8055 ], "loc": { "start": { - "line": 128, + "line": 298, "column": 8 }, "end": { - "line": 128, + "line": 298, "column": 52 } } @@ -12496,16 +12325,16 @@ "type": "Identifier", "name": "onBeforeOpen", "range": [ - 5374, - 5386 + 8068, + 8080 ], "loc": { "start": { - "line": 129, + "line": 299, "column": 12 }, "end": { - "line": 129, + "line": 299, "column": 24 } } @@ -12516,16 +12345,16 @@ "object": { "type": "ThisExpression", "range": [ - 5389, - 5393 + 8083, + 8087 ], "loc": { "start": { - "line": 129, + "line": 299, "column": 27 }, "end": { - "line": 129, + "line": 299, "column": 31 } } @@ -12534,46 +12363,46 @@ "type": "Identifier", "name": "onBeforeOpen", "range": [ - 5394, - 5406 + 8088, + 8100 ], "loc": { "start": { - "line": 129, + "line": 299, "column": 32 }, "end": { - "line": 129, + "line": 299, "column": 44 } } }, "range": [ - 5389, - 5406 + 8083, + 8100 ], "loc": { "start": { - "line": 129, + "line": 299, "column": 27 }, "end": { - "line": 129, + "line": 299, "column": 44 } } }, "range": [ - 5374, - 5406 + 8068, + 8100 ], "loc": { "start": { - "line": 129, + "line": 299, "column": 12 }, "end": { - "line": 129, + "line": 299, "column": 44 } } @@ -12581,16 +12410,16 @@ ], "kind": "let", "range": [ - 5370, - 5407 + 8064, + 8101 ], "loc": { "start": { - "line": 129, + "line": 299, "column": 8 }, "end": { - "line": 129, + "line": 299, "column": 45 } } @@ -12604,16 +12433,16 @@ "type": "Identifier", "name": "onBeforeClose", "range": [ - 5420, - 5433 + 8114, + 8127 ], "loc": { "start": { - "line": 130, + "line": 300, "column": 12 }, "end": { - "line": 130, + "line": 300, "column": 25 } } @@ -12624,16 +12453,16 @@ "object": { "type": "ThisExpression", "range": [ - 5436, - 5440 + 8130, + 8134 ], "loc": { "start": { - "line": 130, + "line": 300, "column": 28 }, "end": { - "line": 130, + "line": 300, "column": 32 } } @@ -12642,46 +12471,46 @@ "type": "Identifier", "name": "onBeforeClose", "range": [ - 5441, - 5454 + 8135, + 8148 ], "loc": { "start": { - "line": 130, + "line": 300, "column": 33 }, "end": { - "line": 130, + "line": 300, "column": 46 } } }, "range": [ - 5436, - 5454 + 8130, + 8148 ], "loc": { "start": { - "line": 130, + "line": 300, "column": 28 }, "end": { - "line": 130, + "line": 300, "column": 46 } } }, "range": [ - 5420, - 5454 + 8114, + 8148 ], "loc": { "start": { - "line": 130, + "line": 300, "column": 12 }, "end": { - "line": 130, + "line": 300, "column": 46 } } @@ -12689,16 +12518,16 @@ ], "kind": "let", "range": [ - 5416, - 5455 + 8110, + 8149 ], "loc": { "start": { - "line": 130, + "line": 300, "column": 8 }, "end": { - "line": 130, + "line": 300, "column": 47 } } @@ -12712,16 +12541,16 @@ "type": "Identifier", "name": "onAfterOpen", "range": [ - 5468, - 5479 + 8162, + 8173 ], "loc": { "start": { - "line": 131, + "line": 301, "column": 12 }, "end": { - "line": 131, + "line": 301, "column": 23 } } @@ -12732,16 +12561,16 @@ "object": { "type": "ThisExpression", "range": [ - 5482, - 5486 + 8176, + 8180 ], "loc": { "start": { - "line": 131, + "line": 301, "column": 26 }, "end": { - "line": 131, + "line": 301, "column": 30 } } @@ -12750,46 +12579,46 @@ "type": "Identifier", "name": "onAfterOpen", "range": [ - 5487, - 5498 + 8181, + 8192 ], "loc": { "start": { - "line": 131, + "line": 301, "column": 31 }, "end": { - "line": 131, + "line": 301, "column": 42 } } }, "range": [ - 5482, - 5498 + 8176, + 8192 ], "loc": { "start": { - "line": 131, + "line": 301, "column": 26 }, "end": { - "line": 131, + "line": 301, "column": 42 } } }, "range": [ - 5468, - 5498 + 8162, + 8192 ], "loc": { "start": { - "line": 131, + "line": 301, "column": 12 }, "end": { - "line": 131, + "line": 301, "column": 42 } } @@ -12797,16 +12626,16 @@ ], "kind": "let", "range": [ - 5464, - 5499 + 8158, + 8193 ], "loc": { "start": { - "line": 131, + "line": 301, "column": 8 }, "end": { - "line": 131, + "line": 301, "column": 43 } } @@ -12820,16 +12649,16 @@ "type": "Identifier", "name": "onAfterClose", "range": [ - 5512, - 5524 + 8206, + 8218 ], "loc": { "start": { - "line": 132, + "line": 302, "column": 12 }, "end": { - "line": 132, + "line": 302, "column": 24 } } @@ -12840,16 +12669,16 @@ "object": { "type": "ThisExpression", "range": [ - 5527, - 5531 + 8221, + 8225 ], "loc": { "start": { - "line": 132, + "line": 302, "column": 27 }, "end": { - "line": 132, + "line": 302, "column": 31 } } @@ -12858,46 +12687,46 @@ "type": "Identifier", "name": "onAfterClose", "range": [ - 5532, - 5544 + 8226, + 8238 ], "loc": { "start": { - "line": 132, + "line": 302, "column": 32 }, "end": { - "line": 132, + "line": 302, "column": 44 } } }, "range": [ - 5527, - 5544 + 8221, + 8238 ], "loc": { "start": { - "line": 132, + "line": 302, "column": 27 }, "end": { - "line": 132, + "line": 302, "column": 44 } } }, "range": [ - 5512, - 5544 + 8206, + 8238 ], "loc": { "start": { - "line": 132, + "line": 302, "column": 12 }, "end": { - "line": 132, + "line": 302, "column": 44 } } @@ -12905,16 +12734,16 @@ ], "kind": "let", "range": [ - 5508, - 5545 + 8202, + 8239 ], "loc": { "start": { - "line": 132, + "line": 302, "column": 8 }, "end": { - "line": 132, + "line": 302, "column": 45 } } @@ -12928,16 +12757,16 @@ "type": "Identifier", "name": "onBeforeOpen", "range": [ - 5559, - 5571 + 8253, + 8265 ], "loc": { "start": { - "line": 134, + "line": 304, "column": 12 }, "end": { - "line": 134, + "line": 304, "column": 24 } } @@ -12949,16 +12778,16 @@ "type": "Identifier", "name": "contDisplay", "range": [ - 5575, - 5586 + 8269, + 8280 ], "loc": { "start": { - "line": 134, + "line": 304, "column": 28 }, "end": { - "line": 134, + "line": 304, "column": 39 } } @@ -12968,46 +12797,46 @@ "value": "inline", "raw": "'inline'", "range": [ - 5591, - 5599 + 8285, + 8293 ], "loc": { "start": { - "line": 134, + "line": 304, "column": 44 }, "end": { - "line": 134, + "line": 304, "column": 52 } } }, "range": [ - 5575, - 5599 + 8269, + 8293 ], "loc": { "start": { - "line": 134, + "line": 304, "column": 28 }, "end": { - "line": 134, + "line": 304, "column": 52 } } }, "range": [ - 5559, - 5599 + 8253, + 8293 ], "loc": { "start": { - "line": 134, + "line": 304, "column": 12 }, "end": { - "line": 134, + "line": 304, "column": 52 } } @@ -13026,16 +12855,16 @@ "type": "Identifier", "name": "onBeforeOpen", "range": [ - 5615, - 5627 + 8309, + 8321 ], "loc": { "start": { - "line": 135, + "line": 305, "column": 12 }, "end": { - "line": 135, + "line": 305, "column": 24 } } @@ -13044,31 +12873,31 @@ "type": "Identifier", "name": "call", "range": [ - 5628, - 5632 + 8322, + 8326 ], "loc": { "start": { - "line": 135, + "line": 305, "column": 25 }, "end": { - "line": 135, + "line": 305, "column": 29 } } }, "range": [ - 5615, - 5632 + 8309, + 8326 ], "loc": { "start": { - "line": 135, + "line": 305, "column": 12 }, "end": { - "line": 135, + "line": 305, "column": 29 } } @@ -13079,16 +12908,16 @@ "value": null, "raw": "null", "range": [ - 5633, - 5637 + 8327, + 8331 ], "loc": { "start": { - "line": 135, + "line": 305, "column": 30 }, "end": { - "line": 135, + "line": 305, "column": 34 } } @@ -13096,79 +12925,79 @@ { "type": "ThisExpression", "range": [ - 5639, - 5643 + 8333, + 8337 ], "loc": { "start": { - "line": 135, + "line": 305, "column": 36 }, "end": { - "line": 135, + "line": 305, "column": 40 } } } ], "range": [ - 5615, - 5644 + 8309, + 8338 ], "loc": { "start": { - "line": 135, + "line": 305, "column": 12 }, "end": { - "line": 135, + "line": 305, "column": 41 } } }, "range": [ - 5615, - 5645 + 8309, + 8339 ], "loc": { "start": { - "line": 135, + "line": 305, "column": 12 }, "end": { - "line": 135, + "line": 305, "column": 42 } } } ], "range": [ - 5601, - 5655 + 8295, + 8349 ], "loc": { "start": { - "line": 134, + "line": 304, "column": 54 }, "end": { - "line": 136, + "line": 306, "column": 9 } } }, "alternate": null, "range": [ - 5555, - 5655 + 8249, + 8349 ], "loc": { "start": { - "line": 134, + "line": 304, "column": 8 }, "end": { - "line": 136, + "line": 306, "column": 9 } } @@ -13182,16 +13011,16 @@ "type": "Identifier", "name": "onBeforeClose", "range": [ - 5668, - 5681 + 8362, + 8375 ], "loc": { "start": { - "line": 137, + "line": 307, "column": 12 }, "end": { - "line": 137, + "line": 307, "column": 25 } } @@ -13203,16 +13032,16 @@ "type": "Identifier", "name": "contDisplay", "range": [ - 5685, - 5696 + 8379, + 8390 ], "loc": { "start": { - "line": 137, + "line": 307, "column": 29 }, "end": { - "line": 137, + "line": 307, "column": 40 } } @@ -13222,46 +13051,46 @@ "value": "inline", "raw": "'inline'", "range": [ - 5701, - 5709 + 8395, + 8403 ], "loc": { "start": { - "line": 137, + "line": 307, "column": 45 }, "end": { - "line": 137, + "line": 307, "column": 53 } } }, "range": [ - 5685, - 5709 + 8379, + 8403 ], "loc": { "start": { - "line": 137, + "line": 307, "column": 29 }, "end": { - "line": 137, + "line": 307, "column": 53 } } }, "range": [ - 5668, - 5709 + 8362, + 8403 ], "loc": { "start": { - "line": 137, + "line": 307, "column": 12 }, "end": { - "line": 137, + "line": 307, "column": 53 } } @@ -13280,16 +13109,16 @@ "type": "Identifier", "name": "onBeforeClose", "range": [ - 5725, - 5738 + 8419, + 8432 ], "loc": { "start": { - "line": 138, + "line": 308, "column": 12 }, "end": { - "line": 138, + "line": 308, "column": 25 } } @@ -13298,31 +13127,31 @@ "type": "Identifier", "name": "call", "range": [ - 5739, - 5743 + 8433, + 8437 ], "loc": { "start": { - "line": 138, + "line": 308, "column": 26 }, "end": { - "line": 138, + "line": 308, "column": 30 } } }, "range": [ - 5725, - 5743 + 8419, + 8437 ], "loc": { "start": { - "line": 138, + "line": 308, "column": 12 }, "end": { - "line": 138, + "line": 308, "column": 30 } } @@ -13333,16 +13162,16 @@ "value": null, "raw": "null", "range": [ - 5744, - 5748 + 8438, + 8442 ], "loc": { "start": { - "line": 138, + "line": 308, "column": 31 }, "end": { - "line": 138, + "line": 308, "column": 35 } } @@ -13350,79 +13179,79 @@ { "type": "ThisExpression", "range": [ - 5750, - 5754 + 8444, + 8448 ], "loc": { "start": { - "line": 138, + "line": 308, "column": 37 }, "end": { - "line": 138, + "line": 308, "column": 41 } } } ], "range": [ - 5725, - 5755 + 8419, + 8449 ], "loc": { "start": { - "line": 138, + "line": 308, "column": 12 }, "end": { - "line": 138, + "line": 308, "column": 42 } } }, "range": [ - 5725, - 5756 + 8419, + 8450 ], "loc": { "start": { - "line": 138, + "line": 308, "column": 12 }, "end": { - "line": 138, + "line": 308, "column": 43 } } } ], "range": [ - 5711, - 5766 + 8405, + 8460 ], "loc": { "start": { - "line": 137, + "line": 307, "column": 55 }, "end": { - "line": 139, + "line": 309, "column": 9 } } }, "alternate": null, "range": [ - 5664, - 5766 + 8358, + 8460 ], "loc": { "start": { - "line": 137, + "line": 307, "column": 8 }, "end": { - "line": 139, + "line": 309, "column": 9 } } @@ -13444,16 +13273,16 @@ "object": { "type": "ThisExpression", "range": [ - 5776, - 5780 + 8470, + 8474 ], "loc": { "start": { - "line": 141, + "line": 311, "column": 8 }, "end": { - "line": 141, + "line": 311, "column": 12 } } @@ -13462,31 +13291,31 @@ "type": "Identifier", "name": "contEl", "range": [ - 5781, - 5787 + 8475, + 8481 ], "loc": { "start": { - "line": 141, + "line": 311, "column": 13 }, "end": { - "line": 141, + "line": 311, "column": 19 } } }, "range": [ - 5776, - 5787 + 8470, + 8481 ], "loc": { "start": { - "line": 141, + "line": 311, "column": 8 }, "end": { - "line": 141, + "line": 311, "column": 19 } } @@ -13495,31 +13324,31 @@ "type": "Identifier", "name": "style", "range": [ - 5788, - 5793 + 8482, + 8487 ], "loc": { "start": { - "line": 141, + "line": 311, "column": 20 }, "end": { - "line": 141, + "line": 311, "column": 25 } } }, "range": [ - 5776, - 5793 + 8470, + 8487 ], "loc": { "start": { - "line": 141, + "line": 311, "column": 8 }, "end": { - "line": 141, + "line": 311, "column": 25 } } @@ -13528,31 +13357,31 @@ "type": "Identifier", "name": "display", "range": [ - 5794, - 5801 + 8488, + 8495 ], "loc": { "start": { - "line": 141, + "line": 311, "column": 26 }, "end": { - "line": 141, + "line": 311, "column": 33 } } }, "range": [ - 5776, - 5801 + 8470, + 8495 ], "loc": { "start": { - "line": 141, + "line": 311, "column": 8 }, "end": { - "line": 141, + "line": 311, "column": 33 } } @@ -13566,16 +13395,16 @@ "type": "Identifier", "name": "contDisplay", "range": [ - 5804, - 5815 + 8498, + 8509 ], "loc": { "start": { - "line": 141, + "line": 311, "column": 36 }, "end": { - "line": 141, + "line": 311, "column": 47 } } @@ -13585,31 +13414,31 @@ "value": "inline", "raw": "'inline'", "range": [ - 5820, - 5828 + 8514, + 8522 ], "loc": { "start": { - "line": 141, + "line": 311, "column": 52 }, "end": { - "line": 141, + "line": 311, "column": 60 } } }, "range": [ - 5804, - 5828 + 8498, + 8522 ], "loc": { "start": { - "line": 141, + "line": 311, "column": 36 }, "end": { - "line": 141, + "line": 311, "column": 60 } } @@ -13619,16 +13448,16 @@ "value": "none", "raw": "'none'", "range": [ - 5843, - 5849 + 8537, + 8543 ], "loc": { "start": { - "line": 142, + "line": 312, "column": 12 }, "end": { - "line": 142, + "line": 312, "column": 18 } } @@ -13638,61 +13467,61 @@ "value": "inline", "raw": "'inline'", "range": [ - 5852, - 5860 + 8546, + 8554 ], "loc": { "start": { - "line": 142, + "line": 312, "column": 21 }, "end": { - "line": 142, + "line": 312, "column": 29 } } }, "range": [ - 5804, - 5860 + 8498, + 8554 ], "loc": { "start": { - "line": 141, + "line": 311, "column": 36 }, "end": { - "line": 142, + "line": 312, "column": 29 } } }, "range": [ - 5776, - 5860 + 8470, + 8554 ], "loc": { "start": { - "line": 141, + "line": 311, "column": 8 }, "end": { - "line": 142, + "line": 312, "column": 29 } } }, "range": [ - 5776, - 5861 + 8470, + 8555 ], "loc": { "start": { - "line": 141, + "line": 311, "column": 8 }, "end": { - "line": 142, + "line": 312, "column": 30 } } @@ -13706,16 +13535,16 @@ "type": "Identifier", "name": "onAfterOpen", "range": [ - 5875, - 5886 + 8569, + 8580 ], "loc": { "start": { - "line": 144, + "line": 314, "column": 12 }, "end": { - "line": 144, + "line": 314, "column": 23 } } @@ -13727,16 +13556,16 @@ "type": "Identifier", "name": "contDisplay", "range": [ - 5890, - 5901 + 8584, + 8595 ], "loc": { "start": { - "line": 144, + "line": 314, "column": 27 }, "end": { - "line": 144, + "line": 314, "column": 38 } } @@ -13746,46 +13575,46 @@ "value": "inline", "raw": "'inline'", "range": [ - 5906, - 5914 + 8600, + 8608 ], "loc": { "start": { - "line": 144, + "line": 314, "column": 43 }, "end": { - "line": 144, + "line": 314, "column": 51 } } }, "range": [ - 5890, - 5914 + 8584, + 8608 ], "loc": { "start": { - "line": 144, + "line": 314, "column": 27 }, "end": { - "line": 144, + "line": 314, "column": 51 } } }, "range": [ - 5875, - 5914 + 8569, + 8608 ], "loc": { "start": { - "line": 144, + "line": 314, "column": 12 }, "end": { - "line": 144, + "line": 314, "column": 51 } } @@ -13804,16 +13633,16 @@ "type": "Identifier", "name": "onAfterOpen", "range": [ - 5930, - 5941 + 8624, + 8635 ], "loc": { "start": { - "line": 145, + "line": 315, "column": 12 }, "end": { - "line": 145, + "line": 315, "column": 23 } } @@ -13822,31 +13651,31 @@ "type": "Identifier", "name": "call", "range": [ - 5942, - 5946 + 8636, + 8640 ], "loc": { "start": { - "line": 145, + "line": 315, "column": 24 }, "end": { - "line": 145, + "line": 315, "column": 28 } } }, "range": [ - 5930, - 5946 + 8624, + 8640 ], "loc": { "start": { - "line": 145, + "line": 315, "column": 12 }, "end": { - "line": 145, + "line": 315, "column": 28 } } @@ -13857,16 +13686,16 @@ "value": null, "raw": "null", "range": [ - 5947, - 5951 + 8641, + 8645 ], "loc": { "start": { - "line": 145, + "line": 315, "column": 29 }, "end": { - "line": 145, + "line": 315, "column": 33 } } @@ -13874,79 +13703,79 @@ { "type": "ThisExpression", "range": [ - 5953, - 5957 + 8647, + 8651 ], "loc": { "start": { - "line": 145, + "line": 315, "column": 35 }, "end": { - "line": 145, + "line": 315, "column": 39 } } } ], "range": [ - 5930, - 5958 + 8624, + 8652 ], "loc": { "start": { - "line": 145, + "line": 315, "column": 12 }, "end": { - "line": 145, + "line": 315, "column": 40 } } }, "range": [ - 5930, - 5959 + 8624, + 8653 ], "loc": { "start": { - "line": 145, + "line": 315, "column": 12 }, "end": { - "line": 145, + "line": 315, "column": 41 } } } ], "range": [ - 5916, - 5969 + 8610, + 8663 ], "loc": { "start": { - "line": 144, + "line": 314, "column": 53 }, "end": { - "line": 146, + "line": 316, "column": 9 } } }, "alternate": null, "range": [ - 5871, - 5969 + 8565, + 8663 ], "loc": { "start": { - "line": 144, + "line": 314, "column": 8 }, "end": { - "line": 146, + "line": 316, "column": 9 } } @@ -13960,16 +13789,16 @@ "type": "Identifier", "name": "onAfterClose", "range": [ - 5982, - 5994 + 8676, + 8688 ], "loc": { "start": { - "line": 147, + "line": 317, "column": 12 }, "end": { - "line": 147, + "line": 317, "column": 24 } } @@ -13981,16 +13810,16 @@ "type": "Identifier", "name": "contDisplay", "range": [ - 5998, - 6009 + 8692, + 8703 ], "loc": { "start": { - "line": 147, + "line": 317, "column": 28 }, "end": { - "line": 147, + "line": 317, "column": 39 } } @@ -14000,46 +13829,46 @@ "value": "inline", "raw": "'inline'", "range": [ - 6014, - 6022 + 8708, + 8716 ], "loc": { "start": { - "line": 147, + "line": 317, "column": 44 }, "end": { - "line": 147, + "line": 317, "column": 52 } } }, "range": [ - 5998, - 6022 + 8692, + 8716 ], "loc": { "start": { - "line": 147, + "line": 317, "column": 28 }, "end": { - "line": 147, + "line": 317, "column": 52 } } }, "range": [ - 5982, - 6022 + 8676, + 8716 ], "loc": { "start": { - "line": 147, + "line": 317, "column": 12 }, "end": { - "line": 147, + "line": 317, "column": 52 } } @@ -14058,16 +13887,16 @@ "type": "Identifier", "name": "onAfterClose", "range": [ - 6038, - 6050 + 8732, + 8744 ], "loc": { "start": { - "line": 148, + "line": 318, "column": 12 }, "end": { - "line": 148, + "line": 318, "column": 24 } } @@ -14076,31 +13905,31 @@ "type": "Identifier", "name": "call", "range": [ - 6051, - 6055 + 8745, + 8749 ], "loc": { "start": { - "line": 148, + "line": 318, "column": 25 }, "end": { - "line": 148, + "line": 318, "column": 29 } } }, "range": [ - 6038, - 6055 + 8732, + 8749 ], "loc": { "start": { - "line": 148, + "line": 318, "column": 12 }, "end": { - "line": 148, + "line": 318, "column": 29 } } @@ -14111,16 +13940,16 @@ "value": null, "raw": "null", "range": [ - 6056, - 6060 + 8750, + 8754 ], "loc": { "start": { - "line": 148, + "line": 318, "column": 30 }, "end": { - "line": 148, + "line": 318, "column": 34 } } @@ -14128,95 +13957,95 @@ { "type": "ThisExpression", "range": [ - 6062, - 6066 + 8756, + 8760 ], "loc": { "start": { - "line": 148, + "line": 318, "column": 36 }, "end": { - "line": 148, + "line": 318, "column": 40 } } } ], "range": [ - 6038, - 6067 + 8732, + 8761 ], "loc": { "start": { - "line": 148, + "line": 318, "column": 12 }, "end": { - "line": 148, + "line": 318, "column": 41 } } }, "range": [ - 6038, - 6068 + 8732, + 8762 ], "loc": { "start": { - "line": 148, + "line": 318, "column": 12 }, "end": { - "line": 148, + "line": 318, "column": 42 } } } ], "range": [ - 6024, - 6078 + 8718, + 8772 ], "loc": { "start": { - "line": 147, + "line": 317, "column": 54 }, "end": { - "line": 149, + "line": 319, "column": 9 } } }, "alternate": null, "range": [ - 5978, - 6078 + 8672, + 8772 ], "loc": { "start": { - "line": 147, + "line": 317, "column": 8 }, "end": { - "line": 149, + "line": 319, "column": 9 } } } ], "range": [ - 5307, - 6084 + 8001, + 8778 ], "loc": { "start": { - "line": 127, + "line": 297, "column": 13 }, "end": { - "line": 150, + "line": 320, "column": 5 } } @@ -14224,16 +14053,16 @@ "generator": false, "expression": false, "range": [ - 5304, - 6084 + 7998, + 8778 ], "loc": { "start": { - "line": 127, + "line": 297, "column": 10 }, "end": { - "line": 150, + "line": 320, "column": 5 } } @@ -14241,19 +14070,59 @@ "kind": "method", "computed": false, "range": [ - 5298, - 6084 + 7992, + 8778 ], "loc": { "start": { - "line": 127, + "line": 297, "column": 4 }, "end": { - "line": 150, + "line": 320, "column": 5 } }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Toggle columns manager UI\n ", + "range": [ + 7943, + 7987 + ], + "loc": { + "start": { + "line": 294, + "column": 4 + }, + "end": { + "line": 296, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check an item in columns manager UI\n * @private\n ", + "range": [ + 8784, + 8854 + ], + "loc": { + "start": { + "line": 322, + "column": 4 + }, + "end": { + "line": 325, + "column": 7 + } + } + } + ], "static": false }, { @@ -14262,16 +14131,16 @@ "type": "Identifier", "name": "checkItem", "range": [ - 6090, - 6099 + 8859, + 8868 ], "loc": { "start": { - "line": 152, + "line": 326, "column": 4 }, "end": { - "line": 152, + "line": 326, "column": 13 } } @@ -14284,16 +14153,16 @@ "type": "Identifier", "name": "lbl", "range": [ - 6100, - 6103 + 8869, + 8872 ], "loc": { "start": { - "line": 152, + "line": 326, "column": 14 }, "end": { - "line": 152, + "line": 326, "column": 17 } } @@ -14311,16 +14180,16 @@ "type": "Identifier", "name": "li", "range": [ - 6119, - 6121 + 8888, + 8890 ], "loc": { "start": { - "line": 153, + "line": 327, "column": 12 }, "end": { - "line": 153, + "line": 327, "column": 14 } } @@ -14332,16 +14201,16 @@ "type": "Identifier", "name": "lbl", "range": [ - 6124, - 6127 + 8893, + 8896 ], "loc": { "start": { - "line": 153, + "line": 327, "column": 17 }, "end": { - "line": 153, + "line": 327, "column": 20 } } @@ -14350,46 +14219,46 @@ "type": "Identifier", "name": "parentNode", "range": [ - 6128, - 6138 + 8897, + 8907 ], "loc": { "start": { - "line": 153, + "line": 327, "column": 21 }, "end": { - "line": 153, + "line": 327, "column": 31 } } }, "range": [ - 6124, - 6138 + 8893, + 8907 ], "loc": { "start": { - "line": 153, + "line": 327, "column": 17 }, "end": { - "line": 153, + "line": 327, "column": 31 } } }, "range": [ - 6119, - 6138 + 8888, + 8907 ], "loc": { "start": { - "line": 153, + "line": 327, "column": 12 }, "end": { - "line": 153, + "line": 327, "column": 31 } } @@ -14397,16 +14266,16 @@ ], "kind": "let", "range": [ - 6115, - 6139 + 8884, + 8908 ], "loc": { "start": { - "line": 153, + "line": 327, "column": 8 }, "end": { - "line": 153, + "line": 327, "column": 32 } } @@ -14423,32 +14292,32 @@ "type": "Identifier", "name": "li", "range": [ - 6153, - 6155 + 8922, + 8924 ], "loc": { "start": { - "line": 154, + "line": 328, "column": 13 }, "end": { - "line": 154, + "line": 328, "column": 15 } } }, "prefix": true, "range": [ - 6152, - 6155 + 8921, + 8924 ], "loc": { "start": { - "line": 154, + "line": 328, "column": 12 }, "end": { - "line": 154, + "line": 328, "column": 15 } } @@ -14460,47 +14329,47 @@ "type": "Identifier", "name": "lbl", "range": [ - 6160, - 6163 + 8929, + 8932 ], "loc": { "start": { - "line": 154, + "line": 328, "column": 20 }, "end": { - "line": 154, + "line": 328, "column": 23 } } }, "prefix": true, "range": [ - 6159, - 6163 + 8928, + 8932 ], "loc": { "start": { - "line": 154, + "line": 328, "column": 19 }, "end": { - "line": 154, + "line": 328, "column": 23 } } }, "range": [ - 6152, - 6163 + 8921, + 8932 ], "loc": { "start": { - "line": 154, + "line": 328, "column": 12 }, "end": { - "line": 154, + "line": 328, "column": 23 } } @@ -14512,48 +14381,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 6179, - 6186 + 8948, + 8955 ], "loc": { "start": { - "line": 155, + "line": 329, "column": 12 }, "end": { - "line": 155, + "line": 329, "column": 19 } } } ], "range": [ - 6165, - 6196 + 8934, + 8965 ], "loc": { "start": { - "line": 154, + "line": 328, "column": 25 }, "end": { - "line": 156, + "line": 330, "column": 9 } } }, "alternate": null, "range": [ - 6148, - 6196 + 8917, + 8965 ], "loc": { "start": { - "line": 154, + "line": 328, "column": 8 }, "end": { - "line": 156, + "line": 330, "column": 9 } } @@ -14567,16 +14436,16 @@ "type": "Identifier", "name": "isChecked", "range": [ - 6209, - 6218 + 8978, + 8987 ], "loc": { "start": { - "line": 157, + "line": 331, "column": 12 }, "end": { - "line": 157, + "line": 331, "column": 21 } } @@ -14591,16 +14460,16 @@ "type": "Identifier", "name": "lbl", "range": [ - 6221, - 6224 + 8990, + 8993 ], "loc": { "start": { - "line": 157, + "line": 331, "column": 24 }, "end": { - "line": 157, + "line": 331, "column": 27 } } @@ -14609,31 +14478,31 @@ "type": "Identifier", "name": "firstChild", "range": [ - 6225, - 6235 + 8994, + 9004 ], "loc": { "start": { - "line": 157, + "line": 331, "column": 28 }, "end": { - "line": 157, + "line": 331, "column": 38 } } }, "range": [ - 6221, - 6235 + 8990, + 9004 ], "loc": { "start": { - "line": 157, + "line": 331, "column": 24 }, "end": { - "line": 157, + "line": 331, "column": 38 } } @@ -14642,46 +14511,46 @@ "type": "Identifier", "name": "checked", "range": [ - 6236, - 6243 + 9005, + 9012 ], "loc": { "start": { - "line": 157, + "line": 331, "column": 39 }, "end": { - "line": 157, + "line": 331, "column": 46 } } }, "range": [ - 6221, - 6243 + 8990, + 9012 ], "loc": { "start": { - "line": 157, + "line": 331, "column": 24 }, "end": { - "line": 157, + "line": 331, "column": 46 } } }, "range": [ - 6209, - 6243 + 8978, + 9012 ], "loc": { "start": { - "line": 157, + "line": 331, "column": 12 }, "end": { - "line": 157, + "line": 331, "column": 46 } } @@ -14689,16 +14558,16 @@ ], "kind": "let", "range": [ - 6205, - 6244 + 8974, + 9013 ], "loc": { "start": { - "line": 157, + "line": 331, "column": 8 }, "end": { - "line": 157, + "line": 331, "column": 47 } } @@ -14712,16 +14581,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 6257, - 6265 + 9026, + 9034 ], "loc": { "start": { - "line": 158, + "line": 332, "column": 12 }, "end": { - "line": 158, + "line": 332, "column": 20 } } @@ -14746,16 +14615,16 @@ "type": "Identifier", "name": "lbl", "range": [ - 6268, - 6271 + 9037, + 9040 ], "loc": { "start": { - "line": 158, + "line": 332, "column": 23 }, "end": { - "line": 158, + "line": 332, "column": 26 } } @@ -14764,31 +14633,31 @@ "type": "Identifier", "name": "firstChild", "range": [ - 6272, - 6282 + 9041, + 9051 ], "loc": { "start": { - "line": 158, + "line": 332, "column": 27 }, "end": { - "line": 158, + "line": 332, "column": 37 } } }, "range": [ - 6268, - 6282 + 9037, + 9051 ], "loc": { "start": { - "line": 158, + "line": 332, "column": 23 }, "end": { - "line": 158, + "line": 332, "column": 37 } } @@ -14797,31 +14666,31 @@ "type": "Identifier", "name": "getAttribute", "range": [ - 6283, - 6295 + 9052, + 9064 ], "loc": { "start": { - "line": 158, + "line": 332, "column": 38 }, "end": { - "line": 158, + "line": 332, "column": 50 } } }, "range": [ - 6268, - 6295 + 9037, + 9064 ], "loc": { "start": { - "line": 158, + "line": 332, "column": 23 }, "end": { - "line": 158, + "line": 332, "column": 50 } } @@ -14832,32 +14701,32 @@ "value": "id", "raw": "'id'", "range": [ - 6296, - 6300 + 9065, + 9069 ], "loc": { "start": { - "line": 158, + "line": 332, "column": 51 }, "end": { - "line": 158, + "line": 332, "column": 55 } } } ], "range": [ - 6268, - 6301 + 9037, + 9070 ], "loc": { "start": { - "line": 158, + "line": 332, "column": 23 }, "end": { - "line": 158, + "line": 332, "column": 56 } } @@ -14866,31 +14735,31 @@ "type": "Identifier", "name": "split", "range": [ - 6302, - 6307 + 9071, + 9076 ], "loc": { "start": { - "line": 158, + "line": 332, "column": 57 }, "end": { - "line": 158, + "line": 332, "column": 62 } } }, "range": [ - 6268, - 6307 + 9037, + 9076 ], "loc": { "start": { - "line": 158, + "line": 332, "column": 23 }, "end": { - "line": 158, + "line": 332, "column": 62 } } @@ -14901,32 +14770,32 @@ "value": "_", "raw": "'_'", "range": [ - 6308, - 6311 + 9077, + 9080 ], "loc": { "start": { - "line": 158, + "line": 332, "column": 63 }, "end": { - "line": 158, + "line": 332, "column": 66 } } } ], "range": [ - 6268, - 6312 + 9037, + 9081 ], "loc": { "start": { - "line": 158, + "line": 332, "column": 23 }, "end": { - "line": 158, + "line": 332, "column": 67 } } @@ -14936,46 +14805,46 @@ "value": 1, "raw": "1", "range": [ - 6313, - 6314 + 9082, + 9083 ], "loc": { "start": { - "line": 158, + "line": 332, "column": 68 }, "end": { - "line": 158, + "line": 332, "column": 69 } } }, "range": [ - 6268, - 6315 + 9037, + 9084 ], "loc": { "start": { - "line": 158, + "line": 332, "column": 23 }, "end": { - "line": 158, + "line": 332, "column": 70 } } }, "range": [ - 6257, - 6315 + 9026, + 9084 ], "loc": { "start": { - "line": 158, + "line": 332, "column": 12 }, "end": { - "line": 158, + "line": 332, "column": 70 } } @@ -14983,16 +14852,16 @@ ], "kind": "let", "range": [ - 6253, - 6316 + 9022, + 9085 ], "loc": { "start": { - "line": 158, + "line": 332, "column": 8 }, "end": { - "line": 158, + "line": 332, "column": 71 } } @@ -15006,16 +14875,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 6325, - 6333 + 9094, + 9102 ], "loc": { "start": { - "line": 159, + "line": 333, "column": 8 }, "end": { - "line": 159, + "line": 333, "column": 16 } } @@ -15026,16 +14895,16 @@ "type": "Identifier", "name": "parseInt", "range": [ - 6336, - 6344 + 9105, + 9113 ], "loc": { "start": { - "line": 159, + "line": 333, "column": 19 }, "end": { - "line": 159, + "line": 333, "column": 27 } } @@ -15045,16 +14914,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 6345, - 6353 + 9114, + 9122 ], "loc": { "start": { - "line": 159, + "line": 333, "column": 28 }, "end": { - "line": 159, + "line": 333, "column": 36 } } @@ -15064,62 +14933,62 @@ "value": 10, "raw": "10", "range": [ - 6355, - 6357 + 9124, + 9126 ], "loc": { "start": { - "line": 159, + "line": 333, "column": 38 }, "end": { - "line": 159, + "line": 333, "column": 40 } } } ], "range": [ - 6336, - 6358 + 9105, + 9127 ], "loc": { "start": { - "line": 159, + "line": 333, "column": 19 }, "end": { - "line": 159, + "line": 333, "column": 41 } } }, "range": [ - 6325, - 6358 + 9094, + 9127 ], "loc": { "start": { - "line": 159, + "line": 333, "column": 8 }, "end": { - "line": 159, + "line": 333, "column": 41 } } }, "range": [ - 6325, - 6359 + 9094, + 9128 ], "loc": { "start": { - "line": 159, + "line": 333, "column": 8 }, "end": { - "line": 159, + "line": 333, "column": 42 } } @@ -15130,16 +14999,16 @@ "type": "Identifier", "name": "isChecked", "range": [ - 6372, - 6381 + 9141, + 9150 ], "loc": { "start": { - "line": 160, + "line": 334, "column": 12 }, "end": { - "line": 160, + "line": 334, "column": 21 } } @@ -15155,16 +15024,16 @@ "type": "Identifier", "name": "addClass", "range": [ - 6397, - 6405 + 9166, + 9174 ], "loc": { "start": { - "line": 161, + "line": 335, "column": 12 }, "end": { - "line": 161, + "line": 335, "column": 20 } } @@ -15174,16 +15043,16 @@ "type": "Identifier", "name": "li", "range": [ - 6406, - 6408 + 9175, + 9177 ], "loc": { "start": { - "line": 161, + "line": 335, "column": 21 }, "end": { - "line": 161, + "line": 335, "column": 23 } } @@ -15194,16 +15063,16 @@ "object": { "type": "ThisExpression", "range": [ - 6410, - 6414 + 9179, + 9183 ], "loc": { "start": { - "line": 161, + "line": 335, "column": 25 }, "end": { - "line": 161, + "line": 335, "column": 29 } } @@ -15212,78 +15081,78 @@ "type": "Identifier", "name": "listSlcItemCssClass", "range": [ - 6415, - 6434 + 9184, + 9203 ], "loc": { "start": { - "line": 161, + "line": 335, "column": 30 }, "end": { - "line": 161, + "line": 335, "column": 49 } } }, "range": [ - 6410, - 6434 + 9179, + 9203 ], "loc": { "start": { - "line": 161, + "line": 335, "column": 25 }, "end": { - "line": 161, + "line": 335, "column": 49 } } } ], "range": [ - 6397, - 6435 + 9166, + 9204 ], "loc": { "start": { - "line": 161, + "line": 335, "column": 12 }, "end": { - "line": 161, + "line": 335, "column": 50 } } }, "range": [ - 6397, - 6436 + 9166, + 9205 ], "loc": { "start": { - "line": 161, + "line": 335, "column": 12 }, "end": { - "line": 161, + "line": 335, "column": 51 } } } ], "range": [ - 6383, - 6446 + 9152, + 9215 ], "loc": { "start": { - "line": 160, + "line": 334, "column": 23 }, "end": { - "line": 162, + "line": 336, "column": 9 } } @@ -15299,16 +15168,16 @@ "type": "Identifier", "name": "removeClass", "range": [ - 6466, - 6477 + 9235, + 9246 ], "loc": { "start": { - "line": 163, + "line": 337, "column": 12 }, "end": { - "line": 163, + "line": 337, "column": 23 } } @@ -15318,16 +15187,16 @@ "type": "Identifier", "name": "li", "range": [ - 6478, - 6480 + 9247, + 9249 ], "loc": { "start": { - "line": 163, + "line": 337, "column": 24 }, "end": { - "line": 163, + "line": 337, "column": 26 } } @@ -15338,16 +15207,16 @@ "object": { "type": "ThisExpression", "range": [ - 6482, - 6486 + 9251, + 9255 ], "loc": { "start": { - "line": 163, + "line": 337, "column": 28 }, "end": { - "line": 163, + "line": 337, "column": 32 } } @@ -15356,93 +15225,93 @@ "type": "Identifier", "name": "listSlcItemCssClass", "range": [ - 6487, - 6506 + 9256, + 9275 ], "loc": { "start": { - "line": 163, + "line": 337, "column": 33 }, "end": { - "line": 163, + "line": 337, "column": 52 } } }, "range": [ - 6482, - 6506 + 9251, + 9275 ], "loc": { "start": { - "line": 163, + "line": 337, "column": 28 }, "end": { - "line": 163, + "line": 337, "column": 52 } } } ], "range": [ - 6466, - 6507 + 9235, + 9276 ], "loc": { "start": { - "line": 163, + "line": 337, "column": 12 }, "end": { - "line": 163, + "line": 337, "column": 53 } } }, "range": [ - 6466, - 6508 + 9235, + 9277 ], "loc": { "start": { - "line": 163, + "line": 337, "column": 12 }, "end": { - "line": 163, + "line": 337, "column": 54 } } } ], "range": [ - 6452, - 6518 + 9221, + 9287 ], "loc": { "start": { - "line": 162, + "line": 336, "column": 15 }, "end": { - "line": 164, + "line": 338, "column": 9 } } }, "range": [ - 6368, - 6518 + 9137, + 9287 ], "loc": { "start": { - "line": 160, + "line": 334, "column": 8 }, "end": { - "line": 164, + "line": 338, "column": 9 } } @@ -15456,16 +15325,16 @@ "type": "Identifier", "name": "hide", "range": [ - 6532, - 6536 + 9301, + 9305 ], "loc": { "start": { - "line": 166, + "line": 340, "column": 12 }, "end": { - "line": 166, + "line": 340, "column": 16 } } @@ -15475,31 +15344,31 @@ "value": false, "raw": "false", "range": [ - 6539, - 6544 + 9308, + 9313 ], "loc": { "start": { - "line": 166, + "line": 340, "column": 19 }, "end": { - "line": 166, + "line": 340, "column": 24 } } }, "range": [ - 6532, - 6544 + 9301, + 9313 ], "loc": { "start": { - "line": 166, + "line": 340, "column": 12 }, "end": { - "line": 166, + "line": 340, "column": 24 } } @@ -15507,16 +15376,16 @@ ], "kind": "let", "range": [ - 6528, - 6545 + 9297, + 9314 ], "loc": { "start": { - "line": 166, + "line": 340, "column": 8 }, "end": { - "line": 166, + "line": 340, "column": 25 } } @@ -15535,16 +15404,16 @@ "object": { "type": "ThisExpression", "range": [ - 6559, - 6563 + 9328, + 9332 ], "loc": { "start": { - "line": 167, + "line": 341, "column": 13 }, "end": { - "line": 167, + "line": 341, "column": 17 } } @@ -15553,31 +15422,31 @@ "type": "Identifier", "name": "tickToHide", "range": [ - 6564, - 6574 + 9333, + 9343 ], "loc": { "start": { - "line": 167, + "line": 341, "column": 18 }, "end": { - "line": 167, + "line": 341, "column": 28 } } }, "range": [ - 6559, - 6574 + 9328, + 9343 ], "loc": { "start": { - "line": 167, + "line": 341, "column": 13 }, "end": { - "line": 167, + "line": 341, "column": 28 } } @@ -15586,31 +15455,31 @@ "type": "Identifier", "name": "isChecked", "range": [ - 6578, - 6587 + 9347, + 9356 ], "loc": { "start": { - "line": 167, + "line": 341, "column": 32 }, "end": { - "line": 167, + "line": 341, "column": 41 } } }, "range": [ - 6559, - 6587 + 9328, + 9356 ], "loc": { "start": { - "line": 167, + "line": 341, "column": 13 }, "end": { - "line": 167, + "line": 341, "column": 41 } } @@ -15627,16 +15496,16 @@ "object": { "type": "ThisExpression", "range": [ - 6606, - 6610 + 9375, + 9379 ], "loc": { "start": { - "line": 168, + "line": 342, "column": 14 }, "end": { - "line": 168, + "line": 342, "column": 18 } } @@ -15645,47 +15514,47 @@ "type": "Identifier", "name": "tickToHide", "range": [ - 6611, - 6621 + 9380, + 9390 ], "loc": { "start": { - "line": 168, + "line": 342, "column": 19 }, "end": { - "line": 168, + "line": 342, "column": 29 } } }, "range": [ - 6606, - 6621 + 9375, + 9390 ], "loc": { "start": { - "line": 168, + "line": 342, "column": 14 }, "end": { - "line": 168, + "line": 342, "column": 29 } } }, "prefix": true, "range": [ - 6605, - 6621 + 9374, + 9390 ], "loc": { "start": { - "line": 168, + "line": 342, "column": 13 }, "end": { - "line": 168, + "line": 342, "column": 29 } } @@ -15697,62 +15566,62 @@ "type": "Identifier", "name": "isChecked", "range": [ - 6626, - 6635 + 9395, + 9404 ], "loc": { "start": { - "line": 168, + "line": 342, "column": 34 }, "end": { - "line": 168, + "line": 342, "column": 43 } } }, "prefix": true, "range": [ - 6625, - 6635 + 9394, + 9404 ], "loc": { "start": { - "line": 168, + "line": 342, "column": 33 }, "end": { - "line": 168, + "line": 342, "column": 43 } } }, "range": [ - 6605, - 6635 + 9374, + 9404 ], "loc": { "start": { - "line": 168, + "line": 342, "column": 13 }, "end": { - "line": 168, + "line": 342, "column": 43 } } }, "range": [ - 6558, - 6636 + 9327, + 9405 ], "loc": { "start": { - "line": 167, + "line": 341, "column": 12 }, "end": { - "line": 168, + "line": 342, "column": 44 } } @@ -15769,16 +15638,16 @@ "type": "Identifier", "name": "hide", "range": [ - 6652, - 6656 + 9421, + 9425 ], "loc": { "start": { - "line": 169, + "line": 343, "column": 12 }, "end": { - "line": 169, + "line": 343, "column": 16 } } @@ -15788,78 +15657,78 @@ "value": true, "raw": "true", "range": [ - 6659, - 6663 + 9428, + 9432 ], "loc": { "start": { - "line": 169, + "line": 343, "column": 19 }, "end": { - "line": 169, + "line": 343, "column": 23 } } }, "range": [ - 6652, - 6663 + 9421, + 9432 ], "loc": { "start": { - "line": 169, + "line": 343, "column": 12 }, "end": { - "line": 169, + "line": 343, "column": 23 } } }, "range": [ - 6652, - 6664 + 9421, + 9433 ], "loc": { "start": { - "line": 169, + "line": 343, "column": 12 }, "end": { - "line": 169, + "line": 343, "column": 24 } } } ], "range": [ - 6638, - 6674 + 9407, + 9443 ], "loc": { "start": { - "line": 168, + "line": 342, "column": 46 }, "end": { - "line": 170, + "line": 344, "column": 9 } } }, "alternate": null, "range": [ - 6554, - 6674 + 9323, + 9443 ], "loc": { "start": { - "line": 167, + "line": 341, "column": 8 }, "end": { - "line": 170, + "line": 344, "column": 9 } } @@ -15874,16 +15743,16 @@ "object": { "type": "ThisExpression", "range": [ - 6683, - 6687 + 9452, + 9456 ], "loc": { "start": { - "line": 171, + "line": 345, "column": 8 }, "end": { - "line": 171, + "line": 345, "column": 12 } } @@ -15892,31 +15761,31 @@ "type": "Identifier", "name": "setHidden", "range": [ - 6688, - 6697 + 9457, + 9466 ], "loc": { "start": { - "line": 171, + "line": 345, "column": 13 }, "end": { - "line": 171, + "line": 345, "column": 22 } } }, "range": [ - 6683, - 6697 + 9452, + 9466 ], "loc": { "start": { - "line": 171, + "line": 345, "column": 8 }, "end": { - "line": 171, + "line": 345, "column": 22 } } @@ -15926,16 +15795,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 6698, - 6706 + 9467, + 9475 ], "loc": { "start": { - "line": 171, + "line": 345, "column": 23 }, "end": { - "line": 171, + "line": 345, "column": 31 } } @@ -15944,63 +15813,63 @@ "type": "Identifier", "name": "hide", "range": [ - 6708, - 6712 + 9477, + 9481 ], "loc": { "start": { - "line": 171, + "line": 345, "column": 33 }, "end": { - "line": 171, + "line": 345, "column": 37 } } } ], "range": [ - 6683, - 6713 + 9452, + 9482 ], "loc": { "start": { - "line": 171, + "line": 345, "column": 8 }, "end": { - "line": 171, + "line": 345, "column": 38 } } }, "range": [ - 6683, - 6714 + 9452, + 9483 ], "loc": { "start": { - "line": 171, + "line": 345, "column": 8 }, "end": { - "line": 171, + "line": 345, "column": 39 } } } ], "range": [ - 6105, - 6720 + 8874, + 9489 ], "loc": { "start": { - "line": 152, + "line": 326, "column": 19 }, "end": { - "line": 172, + "line": 346, "column": 5 } } @@ -16008,16 +15877,16 @@ "generator": false, "expression": false, "range": [ - 6099, - 6720 + 8868, + 9489 ], "loc": { "start": { - "line": 152, + "line": 326, "column": 13 }, "end": { - "line": 172, + "line": 346, "column": 5 } } @@ -16025,19 +15894,59 @@ "kind": "method", "computed": false, "range": [ - 6090, - 6720 + 8859, + 9489 ], "loc": { "start": { - "line": 152, + "line": 326, "column": 4 }, "end": { - "line": 172, + "line": 346, "column": 5 } }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check an item in columns manager UI\n * @private\n ", + "range": [ + 8784, + 8854 + ], + "loc": { + "start": { + "line": 322, + "column": 4 + }, + "end": { + "line": 325, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initializes ColsVisibility instance\n ", + "range": [ + 9495, + 9549 + ], + "loc": { + "start": { + "line": 348, + "column": 4 + }, + "end": { + "line": 350, + "column": 7 + } + } + } + ], "static": false }, { @@ -16046,16 +15955,16 @@ "type": "Identifier", "name": "init", "range": [ - 6726, - 6730 + 9554, + 9558 ], "loc": { "start": { - "line": 174, + "line": 351, "column": 4 }, "end": { - "line": 174, + "line": 351, "column": 8 } } @@ -16078,16 +15987,16 @@ "object": { "type": "ThisExpression", "range": [ - 6747, - 6751 + 9575, + 9579 ], "loc": { "start": { - "line": 175, + "line": 352, "column": 12 }, "end": { - "line": 175, + "line": 352, "column": 16 } } @@ -16096,31 +16005,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 6752, - 6763 + 9580, + 9591 ], "loc": { "start": { - "line": 175, + "line": 352, "column": 17 }, "end": { - "line": 175, + "line": 352, "column": 28 } } }, "range": [ - 6747, - 6763 + 9575, + 9591 ], "loc": { "start": { - "line": 175, + "line": 352, "column": 12 }, "end": { - "line": 175, + "line": 352, "column": 28 } } @@ -16134,16 +16043,16 @@ "object": { "type": "ThisExpression", "range": [ - 6768, - 6772 + 9596, + 9600 ], "loc": { "start": { - "line": 175, + "line": 352, "column": 33 }, "end": { - "line": 175, + "line": 352, "column": 37 } } @@ -16152,62 +16061,62 @@ "type": "Identifier", "name": "manager", "range": [ - 6773, - 6780 + 9601, + 9608 ], "loc": { "start": { - "line": 175, + "line": 352, "column": 38 }, "end": { - "line": 175, + "line": 352, "column": 45 } } }, "range": [ - 6768, - 6780 + 9596, + 9608 ], "loc": { "start": { - "line": 175, + "line": 352, "column": 33 }, "end": { - "line": 175, + "line": 352, "column": 45 } } }, "prefix": true, "range": [ - 6767, - 6780 + 9595, + 9608 ], "loc": { "start": { - "line": 175, + "line": 352, "column": 32 }, "end": { - "line": 175, + "line": 352, "column": 45 } } }, "range": [ - 6747, - 6780 + 9575, + 9608 ], "loc": { "start": { - "line": 175, + "line": 352, "column": 12 }, "end": { - "line": 175, + "line": 352, "column": 45 } } @@ -16219,48 +16128,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 6796, - 6803 + 9624, + 9631 ], "loc": { "start": { - "line": 176, + "line": 353, "column": 12 }, "end": { - "line": 176, + "line": 353, "column": 19 } } } ], "range": [ - 6782, - 6813 + 9610, + 9641 ], "loc": { "start": { - "line": 175, + "line": 352, "column": 47 }, "end": { - "line": 177, + "line": 354, "column": 9 } } }, "alternate": null, "range": [ - 6743, - 6813 + 9571, + 9641 ], "loc": { "start": { - "line": 175, + "line": 352, "column": 8 }, "end": { - "line": 177, + "line": 354, "column": 9 } } @@ -16278,16 +16187,16 @@ "object": { "type": "ThisExpression", "range": [ - 6823, - 6827 + 9651, + 9655 ], "loc": { "start": { - "line": 179, + "line": 356, "column": 8 }, "end": { - "line": 179, + "line": 356, "column": 12 } } @@ -16296,31 +16205,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 6828, - 6835 + 9656, + 9663 ], "loc": { "start": { - "line": 179, + "line": 356, "column": 13 }, "end": { - "line": 179, + "line": 356, "column": 20 } } }, "range": [ - 6823, - 6835 + 9651, + 9663 ], "loc": { "start": { - "line": 179, + "line": 356, "column": 8 }, "end": { - "line": 179, + "line": 356, "column": 20 } } @@ -16329,31 +16238,31 @@ "type": "Identifier", "name": "on", "range": [ - 6836, - 6838 + 9664, + 9666 ], "loc": { "start": { - "line": 179, + "line": 356, "column": 21 }, "end": { - "line": 179, + "line": 356, "column": 23 } } }, "range": [ - 6823, - 6838 + 9651, + 9666 ], "loc": { "start": { - "line": 179, + "line": 356, "column": 8 }, "end": { - "line": 179, + "line": 356, "column": 23 } } @@ -16367,32 +16276,32 @@ "value": "hide-column", "raw": "'hide-column'", "range": [ - 6840, - 6853 + 9668, + 9681 ], "loc": { "start": { - "line": 179, + "line": 356, "column": 25 }, "end": { - "line": 179, + "line": 356, "column": 38 } } } ], "range": [ - 6839, - 6854 + 9667, + 9682 ], "loc": { "start": { - "line": 179, + "line": 356, "column": 24 }, "end": { - "line": 179, + "line": 356, "column": 39 } } @@ -16405,16 +16314,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6869, - 6871 + 9697, + 9699 ], "loc": { "start": { - "line": 180, + "line": 357, "column": 13 }, "end": { - "line": 180, + "line": 357, "column": 15 } } @@ -16423,16 +16332,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 6873, - 6881 + 9701, + 9709 ], "loc": { "start": { - "line": 180, + "line": 357, "column": 17 }, "end": { - "line": 180, + "line": 357, "column": 25 } } @@ -16446,16 +16355,16 @@ "object": { "type": "ThisExpression", "range": [ - 6886, - 6890 + 9714, + 9718 ], "loc": { "start": { - "line": 180, + "line": 357, "column": 30 }, "end": { - "line": 180, + "line": 357, "column": 34 } } @@ -16464,31 +16373,31 @@ "type": "Identifier", "name": "hideCol", "range": [ - 6891, - 6898 + 9719, + 9726 ], "loc": { "start": { - "line": 180, + "line": 357, "column": 35 }, "end": { - "line": 180, + "line": 357, "column": 42 } } }, "range": [ - 6886, - 6898 + 9714, + 9726 ], "loc": { "start": { - "line": 180, + "line": 357, "column": 30 }, "end": { - "line": 180, + "line": 357, "column": 42 } } @@ -16498,32 +16407,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 6899, - 6907 + 9727, + 9735 ], "loc": { "start": { - "line": 180, + "line": 357, "column": 43 }, "end": { - "line": 180, + "line": 357, "column": 51 } } } ], "range": [ - 6886, - 6908 + 9714, + 9736 ], "loc": { "start": { - "line": 180, + "line": 357, "column": 30 }, "end": { - "line": 180, + "line": 357, "column": 52 } } @@ -16531,47 +16440,47 @@ "generator": false, "expression": true, "range": [ - 6868, - 6908 + 9696, + 9736 ], "loc": { "start": { - "line": 180, + "line": 357, "column": 12 }, "end": { - "line": 180, + "line": 357, "column": 52 } } } ], "range": [ - 6823, - 6909 + 9651, + 9737 ], "loc": { "start": { - "line": 179, + "line": 356, "column": 8 }, "end": { - "line": 180, + "line": 357, "column": 53 } } }, "range": [ - 6823, - 6910 + 9651, + 9738 ], "loc": { "start": { - "line": 179, + "line": 356, "column": 8 }, "end": { - "line": 180, + "line": 357, "column": 54 } } @@ -16586,16 +16495,16 @@ "object": { "type": "ThisExpression", "range": [ - 6920, - 6924 + 9748, + 9752 ], "loc": { "start": { - "line": 182, + "line": 359, "column": 8 }, "end": { - "line": 182, + "line": 359, "column": 12 } } @@ -16604,62 +16513,62 @@ "type": "Identifier", "name": "buildBtn", "range": [ - 6925, - 6933 + 9753, + 9761 ], "loc": { "start": { - "line": 182, + "line": 359, "column": 13 }, "end": { - "line": 182, + "line": 359, "column": 21 } } }, "range": [ - 6920, - 6933 + 9748, + 9761 ], "loc": { "start": { - "line": 182, + "line": 359, "column": 8 }, "end": { - "line": 182, + "line": 359, "column": 21 } } }, "arguments": [], "range": [ - 6920, - 6935 + 9748, + 9763 ], "loc": { "start": { - "line": 182, + "line": 359, "column": 8 }, "end": { - "line": 182, + "line": 359, "column": 23 } } }, "range": [ - 6920, - 6936 + 9748, + 9764 ], "loc": { "start": { - "line": 182, + "line": 359, "column": 8 }, "end": { - "line": 182, + "line": 359, "column": 24 } } @@ -16674,16 +16583,16 @@ "object": { "type": "ThisExpression", "range": [ - 6945, - 6949 + 9773, + 9777 ], "loc": { "start": { - "line": 183, + "line": 360, "column": 8 }, "end": { - "line": 183, + "line": 360, "column": 12 } } @@ -16692,62 +16601,62 @@ "type": "Identifier", "name": "buildManager", "range": [ - 6950, - 6962 + 9778, + 9790 ], "loc": { "start": { - "line": 183, + "line": 360, "column": 13 }, "end": { - "line": 183, + "line": 360, "column": 25 } } }, "range": [ - 6945, - 6962 + 9773, + 9790 ], "loc": { "start": { - "line": 183, + "line": 360, "column": 8 }, "end": { - "line": 183, + "line": 360, "column": 25 } } }, "arguments": [], "range": [ - 6945, - 6964 + 9773, + 9792 ], "loc": { "start": { - "line": 183, + "line": 360, "column": 8 }, "end": { - "line": 183, + "line": 360, "column": 27 } } }, "range": [ - 6945, - 6965 + 9773, + 9793 ], "loc": { "start": { - "line": 183, + "line": 360, "column": 8 }, "end": { - "line": 183, + "line": 360, "column": 28 } } @@ -16763,16 +16672,16 @@ "object": { "type": "ThisExpression", "range": [ - 6975, - 6979 + 9803, + 9807 ], "loc": { "start": { - "line": 185, + "line": 362, "column": 8 }, "end": { - "line": 185, + "line": 362, "column": 12 } } @@ -16781,31 +16690,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 6980, - 6991 + 9808, + 9819 ], "loc": { "start": { - "line": 185, + "line": 362, "column": 13 }, "end": { - "line": 185, + "line": 362, "column": 24 } } }, "range": [ - 6975, - 6991 + 9803, + 9819 ], "loc": { "start": { - "line": 185, + "line": 362, "column": 8 }, "end": { - "line": 185, + "line": 362, "column": 24 } } @@ -16815,46 +16724,46 @@ "value": true, "raw": "true", "range": [ - 6994, - 6998 + 9822, + 9826 ], "loc": { "start": { - "line": 185, + "line": 362, "column": 27 }, "end": { - "line": 185, + "line": 362, "column": 31 } } }, "range": [ - 6975, - 6998 + 9803, + 9826 ], "loc": { "start": { - "line": 185, + "line": 362, "column": 8 }, "end": { - "line": 185, + "line": 362, "column": 31 } } }, "range": [ - 6975, - 6999 + 9803, + 9827 ], "loc": { "start": { - "line": 185, + "line": 362, "column": 8 }, "end": { - "line": 185, + "line": 362, "column": 32 } } @@ -16872,16 +16781,16 @@ "object": { "type": "ThisExpression", "range": [ - 7008, - 7012 + 9836, + 9840 ], "loc": { "start": { - "line": 186, + "line": 363, "column": 8 }, "end": { - "line": 186, + "line": 363, "column": 12 } } @@ -16890,31 +16799,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 7013, - 7020 + 9841, + 9848 ], "loc": { "start": { - "line": 186, + "line": 363, "column": 13 }, "end": { - "line": 186, + "line": 363, "column": 20 } } }, "range": [ - 7008, - 7020 + 9836, + 9848 ], "loc": { "start": { - "line": 186, + "line": 363, "column": 8 }, "end": { - "line": 186, + "line": 363, "column": 20 } } @@ -16923,31 +16832,31 @@ "type": "Identifier", "name": "emit", "range": [ - 7021, - 7025 + 9849, + 9853 ], "loc": { "start": { - "line": 186, + "line": 363, "column": 21 }, "end": { - "line": 186, + "line": 363, "column": 25 } } }, "range": [ - 7008, - 7025 + 9836, + 9853 ], "loc": { "start": { - "line": 186, + "line": 363, "column": 8 }, "end": { - "line": 186, + "line": 363, "column": 25 } } @@ -16958,16 +16867,16 @@ "value": "columns-visibility-initialized", "raw": "'columns-visibility-initialized'", "range": [ - 7026, - 7058 + 9854, + 9886 ], "loc": { "start": { - "line": 186, + "line": 363, "column": 26 }, "end": { - "line": 186, + "line": 363, "column": 58 } } @@ -16978,16 +16887,16 @@ "object": { "type": "ThisExpression", "range": [ - 7060, - 7064 + 9888, + 9892 ], "loc": { "start": { - "line": 186, + "line": 363, "column": 60 }, "end": { - "line": 186, + "line": 363, "column": 64 } } @@ -16996,31 +16905,31 @@ "type": "Identifier", "name": "tf", "range": [ - 7065, - 7067 + 9893, + 9895 ], "loc": { "start": { - "line": 186, + "line": 363, "column": 65 }, "end": { - "line": 186, + "line": 363, "column": 67 } } }, "range": [ - 7060, - 7067 + 9888, + 9895 ], "loc": { "start": { - "line": 186, + "line": 363, "column": 60 }, "end": { - "line": 186, + "line": 363, "column": 67 } } @@ -17028,66 +16937,84 @@ { "type": "ThisExpression", "range": [ - 7069, - 7073 + 9897, + 9901 ], "loc": { "start": { - "line": 186, + "line": 363, "column": 69 }, "end": { - "line": 186, + "line": 363, "column": 73 } } } ], "range": [ - 7008, - 7074 + 9836, + 9902 ], "loc": { "start": { - "line": 186, + "line": 363, "column": 8 }, "end": { - "line": 186, + "line": 363, "column": 74 } } }, "range": [ - 7008, - 7075 + 9836, + 9903 ], "loc": { "start": { - "line": 186, + "line": 363, "column": 8 }, "end": { - "line": 186, + "line": 363, "column": 75 } }, "trailingComments": [ { "type": "Line", - "value": " Hide columns at start at very end of initialization", + "value": " Hide columns at start at very end of initialization, do not move", "range": [ - 7085, - 7139 + 9913, + 9980 ], "loc": { "start": { - "line": 188, + "line": 365, "column": 8 }, "end": { - "line": 188, - "column": 62 + "line": 365, + "column": 75 + } + } + }, + { + "type": "Line", + "value": " as order is important", + "range": [ + 9989, + 10013 + ], + "loc": { + "start": { + "line": 366, + "column": 8 + }, + "end": { + "line": 366, + "column": 32 } } } @@ -17103,16 +17030,16 @@ "object": { "type": "ThisExpression", "range": [ - 7148, - 7152 + 10022, + 10026 ], "loc": { "start": { - "line": 189, + "line": 367, "column": 8 }, "end": { - "line": 189, + "line": 367, "column": 12 } } @@ -17121,81 +17048,99 @@ "type": "Identifier", "name": "_hideAtStart", "range": [ - 7153, - 7165 + 10027, + 10039 ], "loc": { "start": { - "line": 189, + "line": 367, "column": 13 }, "end": { - "line": 189, + "line": 367, "column": 25 } } }, "range": [ - 7148, - 7165 + 10022, + 10039 ], "loc": { "start": { - "line": 189, + "line": 367, "column": 8 }, "end": { - "line": 189, + "line": 367, "column": 25 } } }, "arguments": [], "range": [ - 7148, - 7167 + 10022, + 10041 ], "loc": { "start": { - "line": 189, + "line": 367, "column": 8 }, "end": { - "line": 189, + "line": 367, "column": 27 } } }, "range": [ - 7148, - 7168 + 10022, + 10042 ], "loc": { "start": { - "line": 189, + "line": 367, "column": 8 }, "end": { - "line": 189, + "line": 367, "column": 28 } }, "leadingComments": [ { "type": "Line", - "value": " Hide columns at start at very end of initialization", + "value": " Hide columns at start at very end of initialization, do not move", "range": [ - 7085, - 7139 + 9913, + 9980 ], "loc": { "start": { - "line": 188, + "line": 365, "column": 8 }, "end": { - "line": 188, - "column": 62 + "line": 365, + "column": 75 + } + } + }, + { + "type": "Line", + "value": " as order is important", + "range": [ + 9989, + 10013 + ], + "loc": { + "start": { + "line": 366, + "column": 8 + }, + "end": { + "line": 366, + "column": 32 } } } @@ -17203,16 +17148,16 @@ } ], "range": [ - 6733, - 7174 + 9561, + 10048 ], "loc": { "start": { - "line": 174, + "line": 351, "column": 11 }, "end": { - "line": 190, + "line": 368, "column": 5 } } @@ -17220,16 +17165,16 @@ "generator": false, "expression": false, "range": [ - 6730, - 7174 + 9558, + 10048 ], "loc": { "start": { - "line": 174, + "line": 351, "column": 8 }, "end": { - "line": 190, + "line": 368, "column": 5 } } @@ -17237,34 +17182,54 @@ "kind": "method", "computed": false, "range": [ - 6726, - 7174 + 9554, + 10048 ], "loc": { "start": { - "line": 174, + "line": 351, "column": 4 }, "end": { - "line": 190, + "line": 368, "column": 5 } }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initializes ColsVisibility instance\n ", + "range": [ + 9495, + 9549 + ], + "loc": { + "start": { + "line": 348, + "column": 4 + }, + "end": { + "line": 350, + "column": 7 + } + } + } + ], "trailingComments": [ { "type": "Block", "value": "*\n * Build main button UI\n ", "range": [ - 7180, - 7219 + 10054, + 10093 ], "loc": { "start": { - "line": 192, + "line": 370, "column": 4 }, "end": { - "line": 194, + "line": 372, "column": 7 } } @@ -17278,16 +17243,16 @@ "type": "Identifier", "name": "buildBtn", "range": [ - 7224, - 7232 + 10098, + 10106 ], "loc": { "start": { - "line": 195, + "line": 373, "column": 4 }, "end": { - "line": 195, + "line": 373, "column": 12 } } @@ -17307,16 +17272,16 @@ "object": { "type": "ThisExpression", "range": [ - 7249, - 7253 + 10123, + 10127 ], "loc": { "start": { - "line": 196, + "line": 374, "column": 12 }, "end": { - "line": 196, + "line": 374, "column": 16 } } @@ -17325,31 +17290,31 @@ "type": "Identifier", "name": "btnEl", "range": [ - 7254, - 7259 + 10128, + 10133 ], "loc": { "start": { - "line": 196, + "line": 374, "column": 17 }, "end": { - "line": 196, + "line": 374, "column": 22 } } }, "range": [ - 7249, - 7259 + 10123, + 10133 ], "loc": { "start": { - "line": 196, + "line": 374, "column": 12 }, "end": { - "line": 196, + "line": 374, "column": 22 } } @@ -17361,48 +17326,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 7275, - 7282 + 10149, + 10156 ], "loc": { "start": { - "line": 197, + "line": 375, "column": 12 }, "end": { - "line": 197, + "line": 375, "column": 19 } } } ], "range": [ - 7261, - 7292 + 10135, + 10166 ], "loc": { "start": { - "line": 196, + "line": 374, "column": 24 }, "end": { - "line": 198, + "line": 376, "column": 9 } } }, "alternate": null, "range": [ - 7245, - 7292 + 10119, + 10166 ], "loc": { "start": { - "line": 196, + "line": 374, "column": 8 }, "end": { - "line": 198, + "line": 376, "column": 9 } } @@ -17416,16 +17381,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7305, - 7307 + 10179, + 10181 ], "loc": { "start": { - "line": 199, + "line": 377, "column": 12 }, "end": { - "line": 199, + "line": 377, "column": 14 } } @@ -17436,16 +17401,16 @@ "object": { "type": "ThisExpression", "range": [ - 7310, - 7314 + 10184, + 10188 ], "loc": { "start": { - "line": 199, + "line": 377, "column": 17 }, "end": { - "line": 199, + "line": 377, "column": 21 } } @@ -17454,46 +17419,46 @@ "type": "Identifier", "name": "tf", "range": [ - 7315, - 7317 + 10189, + 10191 ], "loc": { "start": { - "line": 199, + "line": 377, "column": 22 }, "end": { - "line": 199, + "line": 377, "column": 24 } } }, "range": [ - 7310, - 7317 + 10184, + 10191 ], "loc": { "start": { - "line": 199, + "line": 377, "column": 17 }, "end": { - "line": 199, + "line": 377, "column": 24 } } }, "range": [ - 7305, - 7317 + 10179, + 10191 ], "loc": { "start": { - "line": 199, + "line": 377, "column": 12 }, "end": { - "line": 199, + "line": 377, "column": 24 } } @@ -17501,16 +17466,16 @@ ], "kind": "let", "range": [ - 7301, - 7318 + 10175, + 10192 ], "loc": { "start": { - "line": 199, + "line": 377, "column": 8 }, "end": { - "line": 199, + "line": 377, "column": 25 } } @@ -17524,16 +17489,16 @@ "type": "Identifier", "name": "span", "range": [ - 7331, - 7335 + 10205, + 10209 ], "loc": { "start": { - "line": 200, + "line": 378, "column": 12 }, "end": { - "line": 200, + "line": 378, "column": 16 } } @@ -17544,16 +17509,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 7338, - 7347 + 10212, + 10221 ], "loc": { "start": { - "line": 200, + "line": 378, "column": 19 }, "end": { - "line": 200, + "line": 378, "column": 28 } } @@ -17564,16 +17529,16 @@ "value": "span", "raw": "'span'", "range": [ - 7348, - 7354 + 10222, + 10228 ], "loc": { "start": { - "line": 200, + "line": 378, "column": 29 }, "end": { - "line": 200, + "line": 378, "column": 35 } } @@ -17586,16 +17551,16 @@ "value": "id", "raw": "'id'", "range": [ - 7357, - 7361 + 10231, + 10235 ], "loc": { "start": { - "line": 200, + "line": 378, "column": 38 }, "end": { - "line": 200, + "line": 378, "column": 42 } } @@ -17609,16 +17574,16 @@ "object": { "type": "ThisExpression", "range": [ - 7363, - 7367 + 10237, + 10241 ], "loc": { "start": { - "line": 200, + "line": 378, "column": 44 }, "end": { - "line": 200, + "line": 378, "column": 48 } } @@ -17627,31 +17592,31 @@ "type": "Identifier", "name": "prfx", "range": [ - 7368, - 7372 + 10242, + 10246 ], "loc": { "start": { - "line": 200, + "line": 378, "column": 49 }, "end": { - "line": 200, + "line": 378, "column": 53 } } }, "range": [ - 7363, - 7372 + 10237, + 10246 ], "loc": { "start": { - "line": 200, + "line": 378, "column": 44 }, "end": { - "line": 200, + "line": 378, "column": 53 } } @@ -17663,16 +17628,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7375, - 7377 + 10249, + 10251 ], "loc": { "start": { - "line": 200, + "line": 378, "column": 56 }, "end": { - "line": 200, + "line": 378, "column": 58 } } @@ -17681,93 +17646,93 @@ "type": "Identifier", "name": "id", "range": [ - 7378, - 7380 + 10252, + 10254 ], "loc": { "start": { - "line": 200, + "line": 378, "column": 59 }, "end": { - "line": 200, + "line": 378, "column": 61 } } }, "range": [ - 7375, - 7380 + 10249, + 10254 ], "loc": { "start": { - "line": 200, + "line": 378, "column": 56 }, "end": { - "line": 200, + "line": 378, "column": 61 } } }, "range": [ - 7363, - 7380 + 10237, + 10254 ], "loc": { "start": { - "line": 200, + "line": 378, "column": 44 }, "end": { - "line": 200, + "line": 378, "column": 61 } } } ], "range": [ - 7356, - 7381 + 10230, + 10255 ], "loc": { "start": { - "line": 200, + "line": 378, "column": 37 }, "end": { - "line": 200, + "line": 378, "column": 62 } } } ], "range": [ - 7338, - 7382 + 10212, + 10256 ], "loc": { "start": { - "line": 200, + "line": 378, "column": 19 }, "end": { - "line": 200, + "line": 378, "column": 63 } } }, "range": [ - 7331, - 7382 + 10205, + 10256 ], "loc": { "start": { - "line": 200, + "line": 378, "column": 12 }, "end": { - "line": 200, + "line": 378, "column": 63 } } @@ -17775,16 +17740,16 @@ ], "kind": "let", "range": [ - 7327, - 7383 + 10201, + 10257 ], "loc": { "start": { - "line": 200, + "line": 378, "column": 8 }, "end": { - "line": 200, + "line": 378, "column": 64 } } @@ -17801,16 +17766,16 @@ "type": "Identifier", "name": "span", "range": [ - 7392, - 7396 + 10266, + 10270 ], "loc": { "start": { - "line": 201, + "line": 379, "column": 8 }, "end": { - "line": 201, + "line": 379, "column": 12 } } @@ -17819,31 +17784,31 @@ "type": "Identifier", "name": "className", "range": [ - 7397, - 7406 + 10271, + 10280 ], "loc": { "start": { - "line": 201, + "line": 379, "column": 13 }, "end": { - "line": 201, + "line": 379, "column": 22 } } }, "range": [ - 7392, - 7406 + 10266, + 10280 ], "loc": { "start": { - "line": 201, + "line": 379, "column": 8 }, "end": { - "line": 201, + "line": 379, "column": 22 } } @@ -17854,16 +17819,16 @@ "object": { "type": "ThisExpression", "range": [ - 7409, - 7413 + 10283, + 10287 ], "loc": { "start": { - "line": 201, + "line": 379, "column": 25 }, "end": { - "line": 201, + "line": 379, "column": 29 } } @@ -17872,61 +17837,61 @@ "type": "Identifier", "name": "spanCssClass", "range": [ - 7414, - 7426 + 10288, + 10300 ], "loc": { "start": { - "line": 201, + "line": 379, "column": 30 }, "end": { - "line": 201, + "line": 379, "column": 42 } } }, "range": [ - 7409, - 7426 + 10283, + 10300 ], "loc": { "start": { - "line": 201, + "line": 379, "column": 25 }, "end": { - "line": 201, + "line": 379, "column": 42 } } }, "range": [ - 7392, - 7426 + 10266, + 10300 ], "loc": { "start": { - "line": 201, + "line": 379, "column": 8 }, "end": { - "line": 201, + "line": 379, "column": 42 } } }, "range": [ - 7392, - 7427 + 10266, + 10301 ], "loc": { "start": { - "line": 201, + "line": 379, "column": 8 }, "end": { - "line": 201, + "line": 379, "column": 43 } }, @@ -17935,16 +17900,16 @@ "type": "Line", "value": "Container element (rdiv or custom element)", "range": [ - 7437, - 7481 + 10311, + 10355 ], "loc": { "start": { - "line": 203, + "line": 381, "column": 8 }, "end": { - "line": 203, + "line": 381, "column": 52 } } @@ -17962,16 +17927,16 @@ "object": { "type": "ThisExpression", "range": [ - 7495, - 7499 + 10369, + 10373 ], "loc": { "start": { - "line": 204, + "line": 382, "column": 13 }, "end": { - "line": 204, + "line": 382, "column": 17 } } @@ -17980,47 +17945,47 @@ "type": "Identifier", "name": "btnTgtId", "range": [ - 7500, - 7508 + 10374, + 10382 ], "loc": { "start": { - "line": 204, + "line": 382, "column": 18 }, "end": { - "line": 204, + "line": 382, "column": 26 } } }, "range": [ - 7495, - 7508 + 10369, + 10382 ], "loc": { "start": { - "line": 204, + "line": 382, "column": 13 }, "end": { - "line": 204, + "line": 382, "column": 26 } } }, "prefix": true, "range": [ - 7494, - 7508 + 10368, + 10382 ], "loc": { "start": { - "line": 204, + "line": 382, "column": 12 }, "end": { - "line": 204, + "line": 382, "column": 26 } } @@ -18039,16 +18004,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7524, - 7526 + 10398, + 10400 ], "loc": { "start": { - "line": 205, + "line": 383, "column": 12 }, "end": { - "line": 205, + "line": 383, "column": 14 } } @@ -18057,94 +18022,94 @@ "type": "Identifier", "name": "setToolbar", "range": [ - 7527, - 7537 + 10401, + 10411 ], "loc": { "start": { - "line": 205, + "line": 383, "column": 15 }, "end": { - "line": 205, + "line": 383, "column": 25 } } }, "range": [ - 7524, - 7537 + 10398, + 10411 ], "loc": { "start": { - "line": 205, + "line": 383, "column": 12 }, "end": { - "line": 205, + "line": 383, "column": 25 } } }, "arguments": [], "range": [ - 7524, - 7539 + 10398, + 10413 ], "loc": { "start": { - "line": 205, + "line": 383, "column": 12 }, "end": { - "line": 205, + "line": 383, "column": 27 } } }, "range": [ - 7524, - 7540 + 10398, + 10414 ], "loc": { "start": { - "line": 205, + "line": 383, "column": 12 }, "end": { - "line": 205, + "line": 383, "column": 28 } } } ], "range": [ - 7510, - 7550 + 10384, + 10424 ], "loc": { "start": { - "line": 204, + "line": 382, "column": 28 }, "end": { - "line": 206, + "line": 384, "column": 9 } } }, "alternate": null, "range": [ - 7490, - 7550 + 10364, + 10424 ], "loc": { "start": { - "line": 204, + "line": 382, "column": 8 }, "end": { - "line": 206, + "line": 384, "column": 9 } }, @@ -18153,16 +18118,16 @@ "type": "Line", "value": "Container element (rdiv or custom element)", "range": [ - 7437, - 7481 + 10311, + 10355 ], "loc": { "start": { - "line": 203, + "line": 381, "column": 8 }, "end": { - "line": 203, + "line": 381, "column": 52 } } @@ -18178,16 +18143,16 @@ "type": "Identifier", "name": "targetEl", "range": [ - 7563, - 7571 + 10437, + 10445 ], "loc": { "start": { - "line": 207, + "line": 385, "column": 12 }, "end": { - "line": 207, + "line": 385, "column": 20 } } @@ -18203,16 +18168,16 @@ "object": { "type": "ThisExpression", "range": [ - 7575, - 7579 + 10449, + 10453 ], "loc": { "start": { - "line": 207, + "line": 385, "column": 24 }, "end": { - "line": 207, + "line": 385, "column": 28 } } @@ -18221,47 +18186,47 @@ "type": "Identifier", "name": "btnTgtId", "range": [ - 7580, - 7588 + 10454, + 10462 ], "loc": { "start": { - "line": 207, + "line": 385, "column": 29 }, "end": { - "line": 207, + "line": 385, "column": 37 } } }, "range": [ - 7575, - 7588 + 10449, + 10462 ], "loc": { "start": { - "line": 207, + "line": 385, "column": 24 }, "end": { - "line": 207, + "line": 385, "column": 37 } } }, "prefix": true, "range": [ - 7574, - 7588 + 10448, + 10462 ], "loc": { "start": { - "line": 207, + "line": 385, "column": 23 }, "end": { - "line": 207, + "line": 385, "column": 37 } } @@ -18273,16 +18238,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7591, - 7593 + 10465, + 10467 ], "loc": { "start": { - "line": 207, + "line": 385, "column": 40 }, "end": { - "line": 207, + "line": 385, "column": 42 } } @@ -18291,31 +18256,31 @@ "type": "Identifier", "name": "rDiv", "range": [ - 7594, - 7598 + 10468, + 10472 ], "loc": { "start": { - "line": 207, + "line": 385, "column": 43 }, "end": { - "line": 207, + "line": 385, "column": 47 } } }, "range": [ - 7591, - 7598 + 10465, + 10472 ], "loc": { "start": { - "line": 207, + "line": 385, "column": 40 }, "end": { - "line": 207, + "line": 385, "column": 47 } } @@ -18326,16 +18291,16 @@ "type": "Identifier", "name": "elm", "range": [ - 7601, - 7604 + 10475, + 10478 ], "loc": { "start": { - "line": 207, + "line": 385, "column": 50 }, "end": { - "line": 207, + "line": 385, "column": 53 } } @@ -18347,16 +18312,16 @@ "object": { "type": "ThisExpression", "range": [ - 7605, - 7609 + 10479, + 10483 ], "loc": { "start": { - "line": 207, + "line": 385, "column": 54 }, "end": { - "line": 207, + "line": 385, "column": 58 } } @@ -18365,77 +18330,77 @@ "type": "Identifier", "name": "btnTgtId", "range": [ - 7610, - 7618 + 10484, + 10492 ], "loc": { "start": { - "line": 207, + "line": 385, "column": 59 }, "end": { - "line": 207, + "line": 385, "column": 67 } } }, "range": [ - 7605, - 7618 + 10479, + 10492 ], "loc": { "start": { - "line": 207, + "line": 385, "column": 54 }, "end": { - "line": 207, + "line": 385, "column": 67 } } } ], "range": [ - 7601, - 7619 + 10475, + 10493 ], "loc": { "start": { - "line": 207, + "line": 385, "column": 50 }, "end": { - "line": 207, + "line": 385, "column": 68 } } }, "range": [ - 7574, - 7619 + 10448, + 10493 ], "loc": { "start": { - "line": 207, + "line": 385, "column": 23 }, "end": { - "line": 207, + "line": 385, "column": 68 } } }, "range": [ - 7563, - 7619 + 10437, + 10493 ], "loc": { "start": { - "line": 207, + "line": 385, "column": 12 }, "end": { - "line": 207, + "line": 385, "column": 68 } } @@ -18443,16 +18408,16 @@ ], "kind": "let", "range": [ - 7559, - 7620 + 10433, + 10494 ], "loc": { "start": { - "line": 207, + "line": 385, "column": 8 }, "end": { - "line": 207, + "line": 385, "column": 69 } } @@ -18468,16 +18433,16 @@ "object": { "type": "ThisExpression", "range": [ - 7635, - 7639 + 10509, + 10513 ], "loc": { "start": { - "line": 209, + "line": 387, "column": 13 }, "end": { - "line": 209, + "line": 387, "column": 17 } } @@ -18486,47 +18451,47 @@ "type": "Identifier", "name": "btnTgtId", "range": [ - 7640, - 7648 + 10514, + 10522 ], "loc": { "start": { - "line": 209, + "line": 387, "column": 18 }, "end": { - "line": 209, + "line": 387, "column": 26 } } }, "range": [ - 7635, - 7648 + 10509, + 10522 ], "loc": { "start": { - "line": 209, + "line": 387, "column": 13 }, "end": { - "line": 209, + "line": 387, "column": 26 } } }, "prefix": true, "range": [ - 7634, - 7648 + 10508, + 10522 ], "loc": { "start": { - "line": 209, + "line": 387, "column": 12 }, "end": { - "line": 209, + "line": 387, "column": 26 } } @@ -18543,16 +18508,16 @@ "type": "Identifier", "name": "firstChild", "range": [ - 7668, - 7678 + 10542, + 10552 ], "loc": { "start": { - "line": 210, + "line": 388, "column": 16 }, "end": { - "line": 210, + "line": 388, "column": 26 } } @@ -18564,16 +18529,16 @@ "type": "Identifier", "name": "targetEl", "range": [ - 7681, - 7689 + 10555, + 10563 ], "loc": { "start": { - "line": 210, + "line": 388, "column": 29 }, "end": { - "line": 210, + "line": 388, "column": 37 } } @@ -18582,46 +18547,46 @@ "type": "Identifier", "name": "firstChild", "range": [ - 7690, - 7700 + 10564, + 10574 ], "loc": { "start": { - "line": 210, + "line": 388, "column": 38 }, "end": { - "line": 210, + "line": 388, "column": 48 } } }, "range": [ - 7681, - 7700 + 10555, + 10574 ], "loc": { "start": { - "line": 210, + "line": 388, "column": 29 }, "end": { - "line": 210, + "line": 388, "column": 48 } } }, "range": [ - 7668, - 7700 + 10542, + 10574 ], "loc": { "start": { - "line": 210, + "line": 388, "column": 16 }, "end": { - "line": 210, + "line": 388, "column": 48 } } @@ -18629,16 +18594,16 @@ ], "kind": "let", "range": [ - 7664, - 7701 + 10538, + 10575 ], "loc": { "start": { - "line": 210, + "line": 388, "column": 12 }, "end": { - "line": 210, + "line": 388, "column": 49 } } @@ -18657,16 +18622,16 @@ "type": "Identifier", "name": "firstChild", "range": [ - 7714, - 7724 + 10588, + 10598 ], "loc": { "start": { - "line": 211, + "line": 389, "column": 12 }, "end": { - "line": 211, + "line": 389, "column": 22 } } @@ -18675,31 +18640,31 @@ "type": "Identifier", "name": "parentNode", "range": [ - 7725, - 7735 + 10599, + 10609 ], "loc": { "start": { - "line": 211, + "line": 389, "column": 23 }, "end": { - "line": 211, + "line": 389, "column": 33 } } }, "range": [ - 7714, - 7735 + 10588, + 10609 ], "loc": { "start": { - "line": 211, + "line": 389, "column": 12 }, "end": { - "line": 211, + "line": 389, "column": 33 } } @@ -18708,31 +18673,31 @@ "type": "Identifier", "name": "insertBefore", "range": [ - 7736, - 7748 + 10610, + 10622 ], "loc": { "start": { - "line": 211, + "line": 389, "column": 34 }, "end": { - "line": 211, + "line": 389, "column": 46 } } }, "range": [ - 7714, - 7748 + 10588, + 10622 ], "loc": { "start": { - "line": 211, + "line": 389, "column": 12 }, "end": { - "line": 211, + "line": 389, "column": 46 } } @@ -18742,16 +18707,16 @@ "type": "Identifier", "name": "span", "range": [ - 7749, - 7753 + 10623, + 10627 ], "loc": { "start": { - "line": 211, + "line": 389, "column": 47 }, "end": { - "line": 211, + "line": 389, "column": 51 } } @@ -18760,63 +18725,63 @@ "type": "Identifier", "name": "firstChild", "range": [ - 7755, - 7765 + 10629, + 10639 ], "loc": { "start": { - "line": 211, + "line": 389, "column": 53 }, "end": { - "line": 211, + "line": 389, "column": 63 } } } ], "range": [ - 7714, - 7766 + 10588, + 10640 ], "loc": { "start": { - "line": 211, + "line": 389, "column": 12 }, "end": { - "line": 211, + "line": 389, "column": 64 } } }, "range": [ - 7714, - 7767 + 10588, + 10641 ], "loc": { "start": { - "line": 211, + "line": 389, "column": 12 }, "end": { - "line": 211, + "line": 389, "column": 65 } } } ], "range": [ - 7650, - 7777 + 10524, + 10651 ], "loc": { "start": { - "line": 209, + "line": 387, "column": 28 }, "end": { - "line": 212, + "line": 390, "column": 9 } } @@ -18835,16 +18800,16 @@ "type": "Identifier", "name": "targetEl", "range": [ - 7797, - 7805 + 10671, + 10679 ], "loc": { "start": { - "line": 213, + "line": 391, "column": 12 }, "end": { - "line": 213, + "line": 391, "column": 20 } } @@ -18853,31 +18818,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 7806, - 7817 + 10680, + 10691 ], "loc": { "start": { - "line": 213, + "line": 391, "column": 21 }, "end": { - "line": 213, + "line": 391, "column": 32 } } }, "range": [ - 7797, - 7817 + 10671, + 10691 ], "loc": { "start": { - "line": 213, + "line": 391, "column": 12 }, "end": { - "line": 213, + "line": 391, "column": 32 } } @@ -18887,78 +18852,78 @@ "type": "Identifier", "name": "span", "range": [ - 7818, - 7822 + 10692, + 10696 ], "loc": { "start": { - "line": 213, + "line": 391, "column": 33 }, "end": { - "line": 213, + "line": 391, "column": 37 } } } ], "range": [ - 7797, - 7823 + 10671, + 10697 ], "loc": { "start": { - "line": 213, + "line": 391, "column": 12 }, "end": { - "line": 213, + "line": 391, "column": 38 } } }, "range": [ - 7797, - 7824 + 10671, + 10698 ], "loc": { "start": { - "line": 213, + "line": 391, "column": 12 }, "end": { - "line": 213, + "line": 391, "column": 39 } } } ], "range": [ - 7783, - 7834 + 10657, + 10708 ], "loc": { "start": { - "line": 212, + "line": 390, "column": 15 }, "end": { - "line": 214, + "line": 392, "column": 9 } } }, "range": [ - 7630, - 7834 + 10504, + 10708 ], "loc": { "start": { - "line": 209, + "line": 387, "column": 8 }, "end": { - "line": 214, + "line": 392, "column": 9 } } @@ -18974,16 +18939,16 @@ "object": { "type": "ThisExpression", "range": [ - 7849, - 7853 + 10723, + 10727 ], "loc": { "start": { - "line": 216, + "line": 394, "column": 13 }, "end": { - "line": 216, + "line": 394, "column": 17 } } @@ -18992,47 +18957,47 @@ "type": "Identifier", "name": "btnHtml", "range": [ - 7854, - 7861 + 10728, + 10735 ], "loc": { "start": { - "line": 216, + "line": 394, "column": 18 }, "end": { - "line": 216, + "line": 394, "column": 25 } } }, "range": [ - 7849, - 7861 + 10723, + 10735 ], "loc": { "start": { - "line": 216, + "line": 394, "column": 13 }, "end": { - "line": 216, + "line": 394, "column": 25 } } }, "prefix": true, "range": [ - 7848, - 7861 + 10722, + 10735 ], "loc": { "start": { - "line": 216, + "line": 394, "column": 12 }, "end": { - "line": 216, + "line": 394, "column": 25 } } @@ -19049,16 +19014,16 @@ "type": "Identifier", "name": "btn", "range": [ - 7881, - 7884 + 10755, + 10758 ], "loc": { "start": { - "line": 217, + "line": 395, "column": 16 }, "end": { - "line": 217, + "line": 395, "column": 19 } } @@ -19069,16 +19034,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 7887, - 7896 + 10761, + 10770 ], "loc": { "start": { - "line": 217, + "line": 395, "column": 22 }, "end": { - "line": 217, + "line": 395, "column": 31 } } @@ -19089,16 +19054,16 @@ "value": "a", "raw": "'a'", "range": [ - 7897, - 7900 + 10771, + 10774 ], "loc": { "start": { - "line": 217, + "line": 395, "column": 32 }, "end": { - "line": 217, + "line": 395, "column": 35 } } @@ -19111,16 +19076,16 @@ "value": "href", "raw": "'href'", "range": [ - 7903, - 7909 + 10777, + 10783 ], "loc": { "start": { - "line": 217, + "line": 395, "column": 38 }, "end": { - "line": 217, + "line": 395, "column": 44 } } @@ -19130,63 +19095,63 @@ "value": "javascript:;", "raw": "'javascript:;'", "range": [ - 7911, - 7925 + 10785, + 10799 ], "loc": { "start": { - "line": 217, + "line": 395, "column": 46 }, "end": { - "line": 217, + "line": 395, "column": 60 } } } ], "range": [ - 7902, - 7926 + 10776, + 10800 ], "loc": { "start": { - "line": 217, + "line": 395, "column": 37 }, "end": { - "line": 217, + "line": 395, "column": 61 } } } ], "range": [ - 7887, - 7927 + 10761, + 10801 ], "loc": { "start": { - "line": 217, + "line": 395, "column": 22 }, "end": { - "line": 217, + "line": 395, "column": 62 } } }, "range": [ - 7881, - 7927 + 10755, + 10801 ], "loc": { "start": { - "line": 217, + "line": 395, "column": 16 }, "end": { - "line": 217, + "line": 395, "column": 62 } } @@ -19194,16 +19159,16 @@ ], "kind": "let", "range": [ - 7877, - 7928 + 10751, + 10802 ], "loc": { "start": { - "line": 217, + "line": 395, "column": 12 }, "end": { - "line": 217, + "line": 395, "column": 63 } } @@ -19220,16 +19185,16 @@ "type": "Identifier", "name": "btn", "range": [ - 7941, - 7944 + 10815, + 10818 ], "loc": { "start": { - "line": 218, + "line": 396, "column": 12 }, "end": { - "line": 218, + "line": 396, "column": 15 } } @@ -19238,31 +19203,31 @@ "type": "Identifier", "name": "className", "range": [ - 7945, - 7954 + 10819, + 10828 ], "loc": { "start": { - "line": 218, + "line": 396, "column": 16 }, "end": { - "line": 218, + "line": 396, "column": 25 } } }, "range": [ - 7941, - 7954 + 10815, + 10828 ], "loc": { "start": { - "line": 218, + "line": 396, "column": 12 }, "end": { - "line": 218, + "line": 396, "column": 25 } } @@ -19273,16 +19238,16 @@ "object": { "type": "ThisExpression", "range": [ - 7957, - 7961 + 10831, + 10835 ], "loc": { "start": { - "line": 218, + "line": 396, "column": 28 }, "end": { - "line": 218, + "line": 396, "column": 32 } } @@ -19291,61 +19256,61 @@ "type": "Identifier", "name": "btnCssClass", "range": [ - 7962, - 7973 + 10836, + 10847 ], "loc": { "start": { - "line": 218, + "line": 396, "column": 33 }, "end": { - "line": 218, + "line": 396, "column": 44 } } }, "range": [ - 7957, - 7973 + 10831, + 10847 ], "loc": { "start": { - "line": 218, + "line": 396, "column": 28 }, "end": { - "line": 218, + "line": 396, "column": 44 } } }, "range": [ - 7941, - 7973 + 10815, + 10847 ], "loc": { "start": { - "line": 218, + "line": 396, "column": 12 }, "end": { - "line": 218, + "line": 396, "column": 44 } } }, "range": [ - 7941, - 7974 + 10815, + 10848 ], "loc": { "start": { - "line": 218, + "line": 396, "column": 12 }, "end": { - "line": 218, + "line": 396, "column": 45 } } @@ -19362,16 +19327,16 @@ "type": "Identifier", "name": "btn", "range": [ - 7987, - 7990 + 10861, + 10864 ], "loc": { "start": { - "line": 219, + "line": 397, "column": 12 }, "end": { - "line": 219, + "line": 397, "column": 15 } } @@ -19380,31 +19345,31 @@ "type": "Identifier", "name": "title", "range": [ - 7991, - 7996 + 10865, + 10870 ], "loc": { "start": { - "line": 219, + "line": 397, "column": 16 }, "end": { - "line": 219, + "line": 397, "column": 21 } } }, "range": [ - 7987, - 7996 + 10861, + 10870 ], "loc": { "start": { - "line": 219, + "line": 397, "column": 12 }, "end": { - "line": 219, + "line": 397, "column": 21 } } @@ -19415,16 +19380,16 @@ "object": { "type": "ThisExpression", "range": [ - 7999, - 8003 + 10873, + 10877 ], "loc": { "start": { - "line": 219, + "line": 397, "column": 24 }, "end": { - "line": 219, + "line": 397, "column": 28 } } @@ -19433,61 +19398,61 @@ "type": "Identifier", "name": "desc", "range": [ - 8004, - 8008 + 10878, + 10882 ], "loc": { "start": { - "line": 219, + "line": 397, "column": 29 }, "end": { - "line": 219, + "line": 397, "column": 33 } } }, "range": [ - 7999, - 8008 + 10873, + 10882 ], "loc": { "start": { - "line": 219, + "line": 397, "column": 24 }, "end": { - "line": 219, + "line": 397, "column": 33 } } }, "range": [ - 7987, - 8008 + 10861, + 10882 ], "loc": { "start": { - "line": 219, + "line": 397, "column": 12 }, "end": { - "line": 219, + "line": 397, "column": 33 } } }, "range": [ - 7987, - 8009 + 10861, + 10883 ], "loc": { "start": { - "line": 219, + "line": 397, "column": 12 }, "end": { - "line": 219, + "line": 397, "column": 34 } } @@ -19504,16 +19469,16 @@ "type": "Identifier", "name": "btn", "range": [ - 8023, - 8026 + 10897, + 10900 ], "loc": { "start": { - "line": 221, + "line": 399, "column": 12 }, "end": { - "line": 221, + "line": 399, "column": 15 } } @@ -19522,31 +19487,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 8027, - 8036 + 10901, + 10910 ], "loc": { "start": { - "line": 221, + "line": 399, "column": 16 }, "end": { - "line": 221, + "line": 399, "column": 25 } } }, "range": [ - 8023, - 8036 + 10897, + 10910 ], "loc": { "start": { - "line": 221, + "line": 399, "column": 12 }, "end": { - "line": 221, + "line": 399, "column": 25 } } @@ -19557,16 +19522,16 @@ "object": { "type": "ThisExpression", "range": [ - 8039, - 8043 + 10913, + 10917 ], "loc": { "start": { - "line": 221, + "line": 399, "column": 28 }, "end": { - "line": 221, + "line": 399, "column": 32 } } @@ -19575,61 +19540,61 @@ "type": "Identifier", "name": "btnText", "range": [ - 8044, - 8051 + 10918, + 10925 ], "loc": { "start": { - "line": 221, + "line": 399, "column": 33 }, "end": { - "line": 221, + "line": 399, "column": 40 } } }, "range": [ - 8039, - 8051 + 10913, + 10925 ], "loc": { "start": { - "line": 221, + "line": 399, "column": 28 }, "end": { - "line": 221, + "line": 399, "column": 40 } } }, "range": [ - 8023, - 8051 + 10897, + 10925 ], "loc": { "start": { - "line": 221, + "line": 399, "column": 12 }, "end": { - "line": 221, + "line": 399, "column": 40 } } }, "range": [ - 8023, - 8052 + 10897, + 10926 ], "loc": { "start": { - "line": 221, + "line": 399, "column": 12 }, "end": { - "line": 221, + "line": 399, "column": 41 } } @@ -19645,16 +19610,16 @@ "type": "Identifier", "name": "span", "range": [ - 8065, - 8069 + 10939, + 10943 ], "loc": { "start": { - "line": 222, + "line": 400, "column": 12 }, "end": { - "line": 222, + "line": 400, "column": 16 } } @@ -19663,31 +19628,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 8070, - 8081 + 10944, + 10955 ], "loc": { "start": { - "line": 222, + "line": 400, "column": 17 }, "end": { - "line": 222, + "line": 400, "column": 28 } } }, "range": [ - 8065, - 8081 + 10939, + 10955 ], "loc": { "start": { - "line": 222, + "line": 400, "column": 12 }, "end": { - "line": 222, + "line": 400, "column": 28 } } @@ -19697,47 +19662,47 @@ "type": "Identifier", "name": "btn", "range": [ - 8082, - 8085 + 10956, + 10959 ], "loc": { "start": { - "line": 222, + "line": 400, "column": 29 }, "end": { - "line": 222, + "line": 400, "column": 32 } } } ], "range": [ - 8065, - 8086 + 10939, + 10960 ], "loc": { "start": { - "line": 222, + "line": 400, "column": 12 }, "end": { - "line": 222, + "line": 400, "column": 33 } } }, "range": [ - 8065, - 8087 + 10939, + 10961 ], "loc": { "start": { - "line": 222, + "line": 400, "column": 12 }, "end": { - "line": 222, + "line": 400, "column": 34 } } @@ -19753,16 +19718,16 @@ "object": { "type": "ThisExpression", "range": [ - 8105, - 8109 + 10979, + 10983 ], "loc": { "start": { - "line": 223, + "line": 401, "column": 17 }, "end": { - "line": 223, + "line": 401, "column": 21 } } @@ -19771,47 +19736,47 @@ "type": "Identifier", "name": "enableHover", "range": [ - 8110, - 8121 + 10984, + 10995 ], "loc": { "start": { - "line": 223, + "line": 401, "column": 22 }, "end": { - "line": 223, + "line": 401, "column": 33 } } }, "range": [ - 8105, - 8121 + 10979, + 10995 ], "loc": { "start": { - "line": 223, + "line": 401, "column": 17 }, "end": { - "line": 223, + "line": 401, "column": 33 } } }, "prefix": true, "range": [ - 8104, - 8121 + 10978, + 10995 ], "loc": { "start": { - "line": 223, + "line": 401, "column": 16 }, "end": { - "line": 223, + "line": 401, "column": 33 } } @@ -19827,16 +19792,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 8141, - 8147 + 11015, + 11021 ], "loc": { "start": { - "line": 224, + "line": 402, "column": 16 }, "end": { - "line": 224, + "line": 402, "column": 22 } } @@ -19846,16 +19811,16 @@ "type": "Identifier", "name": "btn", "range": [ - 8148, - 8151 + 11022, + 11025 ], "loc": { "start": { - "line": 224, + "line": 402, "column": 23 }, "end": { - "line": 224, + "line": 402, "column": 26 } } @@ -19865,16 +19830,16 @@ "value": "click", "raw": "'click'", "range": [ - 8153, - 8160 + 11027, + 11034 ], "loc": { "start": { - "line": 224, + "line": 402, "column": 28 }, "end": { - "line": 224, + "line": 402, "column": 35 } } @@ -19887,16 +19852,16 @@ "type": "Identifier", "name": "evt", "range": [ - 8163, - 8166 + 11037, + 11040 ], "loc": { "start": { - "line": 224, + "line": 402, "column": 38 }, "end": { - "line": 224, + "line": 402, "column": 41 } } @@ -19910,16 +19875,16 @@ "object": { "type": "ThisExpression", "range": [ - 8171, - 8175 + 11045, + 11049 ], "loc": { "start": { - "line": 224, + "line": 402, "column": 46 }, "end": { - "line": 224, + "line": 402, "column": 50 } } @@ -19928,31 +19893,31 @@ "type": "Identifier", "name": "toggle", "range": [ - 8176, - 8182 + 11050, + 11056 ], "loc": { "start": { - "line": 224, + "line": 402, "column": 51 }, "end": { - "line": 224, + "line": 402, "column": 57 } } }, "range": [ - 8171, - 8182 + 11045, + 11056 ], "loc": { "start": { - "line": 224, + "line": 402, "column": 46 }, "end": { - "line": 224, + "line": 402, "column": 57 } } @@ -19962,32 +19927,32 @@ "type": "Identifier", "name": "evt", "range": [ - 8183, - 8186 + 11057, + 11060 ], "loc": { "start": { - "line": 224, + "line": 402, "column": 58 }, "end": { - "line": 224, + "line": 402, "column": 61 } } } ], "range": [ - 8171, - 8187 + 11045, + 11061 ], "loc": { "start": { - "line": 224, + "line": 402, "column": 46 }, "end": { - "line": 224, + "line": 402, "column": 62 } } @@ -19995,63 +19960,63 @@ "generator": false, "expression": true, "range": [ - 8162, - 8187 + 11036, + 11061 ], "loc": { "start": { - "line": 224, + "line": 402, "column": 37 }, "end": { - "line": 224, + "line": 402, "column": 62 } } } ], "range": [ - 8141, - 8188 + 11015, + 11062 ], "loc": { "start": { - "line": 224, + "line": 402, "column": 16 }, "end": { - "line": 224, + "line": 402, "column": 63 } } }, "range": [ - 8141, - 8189 + 11015, + 11063 ], "loc": { "start": { - "line": 224, + "line": 402, "column": 16 }, "end": { - "line": 224, + "line": 402, "column": 64 } } } ], "range": [ - 8123, - 8203 + 10997, + 11077 ], "loc": { "start": { - "line": 223, + "line": 401, "column": 35 }, "end": { - "line": 225, + "line": 403, "column": 13 } } @@ -20067,16 +20032,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 8227, - 8233 + 11101, + 11107 ], "loc": { "start": { - "line": 226, + "line": 404, "column": 16 }, "end": { - "line": 226, + "line": 404, "column": 22 } } @@ -20086,16 +20051,16 @@ "type": "Identifier", "name": "btn", "range": [ - 8234, - 8237 + 11108, + 11111 ], "loc": { "start": { - "line": 226, + "line": 404, "column": 23 }, "end": { - "line": 226, + "line": 404, "column": 26 } } @@ -20105,16 +20070,16 @@ "value": "mouseover", "raw": "'mouseover'", "range": [ - 8239, - 8250 + 11113, + 11124 ], "loc": { "start": { - "line": 226, + "line": 404, "column": 28 }, "end": { - "line": 226, + "line": 404, "column": 39 } } @@ -20127,16 +20092,16 @@ "type": "Identifier", "name": "evt", "range": [ - 8253, - 8256 + 11127, + 11130 ], "loc": { "start": { - "line": 226, + "line": 404, "column": 42 }, "end": { - "line": 226, + "line": 404, "column": 45 } } @@ -20150,16 +20115,16 @@ "object": { "type": "ThisExpression", "range": [ - 8261, - 8265 + 11135, + 11139 ], "loc": { "start": { - "line": 226, + "line": 404, "column": 50 }, "end": { - "line": 226, + "line": 404, "column": 54 } } @@ -20168,31 +20133,31 @@ "type": "Identifier", "name": "toggle", "range": [ - 8266, - 8272 + 11140, + 11146 ], "loc": { "start": { - "line": 226, + "line": 404, "column": 55 }, "end": { - "line": 226, + "line": 404, "column": 61 } } }, "range": [ - 8261, - 8272 + 11135, + 11146 ], "loc": { "start": { - "line": 226, + "line": 404, "column": 50 }, "end": { - "line": 226, + "line": 404, "column": 61 } } @@ -20202,32 +20167,32 @@ "type": "Identifier", "name": "evt", "range": [ - 8273, - 8276 + 11147, + 11150 ], "loc": { "start": { - "line": 226, + "line": 404, "column": 62 }, "end": { - "line": 226, + "line": 404, "column": 65 } } } ], "range": [ - 8261, - 8277 + 11135, + 11151 ], "loc": { "start": { - "line": 226, + "line": 404, "column": 50 }, "end": { - "line": 226, + "line": 404, "column": 66 } } @@ -20235,94 +20200,94 @@ "generator": false, "expression": true, "range": [ - 8252, - 8277 + 11126, + 11151 ], "loc": { "start": { - "line": 226, + "line": 404, "column": 41 }, "end": { - "line": 226, + "line": 404, "column": 66 } } } ], "range": [ - 8227, - 8278 + 11101, + 11152 ], "loc": { "start": { - "line": 226, + "line": 404, "column": 16 }, "end": { - "line": 226, + "line": 404, "column": 67 } } }, "range": [ - 8227, - 8279 + 11101, + 11153 ], "loc": { "start": { - "line": 226, + "line": 404, "column": 16 }, "end": { - "line": 226, + "line": 404, "column": 68 } } } ], "range": [ - 8209, - 8293 + 11083, + 11167 ], "loc": { "start": { - "line": 225, + "line": 403, "column": 19 }, "end": { - "line": 227, + "line": 405, "column": 13 } } }, "range": [ - 8100, - 8293 + 10974, + 11167 ], "loc": { "start": { - "line": 223, + "line": 401, "column": 12 }, "end": { - "line": 227, + "line": 405, "column": 13 } } } ], "range": [ - 7863, - 8303 + 10737, + 11177 ], "loc": { "start": { - "line": 216, + "line": 394, "column": 27 }, "end": { - "line": 228, + "line": 406, "column": 9 } } @@ -20342,16 +20307,16 @@ "type": "Identifier", "name": "span", "range": [ - 8337, - 8341 + 11211, + 11215 ], "loc": { "start": { - "line": 229, + "line": 407, "column": 12 }, "end": { - "line": 229, + "line": 407, "column": 16 } } @@ -20360,31 +20325,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 8342, - 8351 + 11216, + 11225 ], "loc": { "start": { - "line": 229, + "line": 407, "column": 17 }, "end": { - "line": 229, + "line": 407, "column": 26 } } }, "range": [ - 8337, - 8351 + 11211, + 11225 ], "loc": { "start": { - "line": 229, + "line": 407, "column": 12 }, "end": { - "line": 229, + "line": 407, "column": 26 } } @@ -20395,16 +20360,16 @@ "object": { "type": "ThisExpression", "range": [ - 8354, - 8358 + 11228, + 11232 ], "loc": { "start": { - "line": 229, + "line": 407, "column": 29 }, "end": { - "line": 229, + "line": 407, "column": 33 } } @@ -20413,61 +20378,61 @@ "type": "Identifier", "name": "btnHtml", "range": [ - 8359, - 8366 + 11233, + 11240 ], "loc": { "start": { - "line": 229, + "line": 407, "column": 34 }, "end": { - "line": 229, + "line": 407, "column": 41 } } }, "range": [ - 8354, - 8366 + 11228, + 11240 ], "loc": { "start": { - "line": 229, + "line": 407, "column": 29 }, "end": { - "line": 229, + "line": 407, "column": 41 } } }, "range": [ - 8337, - 8366 + 11211, + 11240 ], "loc": { "start": { - "line": 229, + "line": 407, "column": 12 }, "end": { - "line": 229, + "line": 407, "column": 41 } } }, "range": [ - 8337, - 8367 + 11211, + 11241 ], "loc": { "start": { - "line": 229, + "line": 407, "column": 12 }, "end": { - "line": 229, + "line": 407, "column": 42 } }, @@ -20476,16 +20441,16 @@ "type": "Line", "value": "Custom html", "range": [ - 8311, - 8324 + 11185, + 11198 ], "loc": { "start": { - "line": 228, + "line": 406, "column": 17 }, "end": { - "line": 228, + "line": 406, "column": 30 } } @@ -20501,16 +20466,16 @@ "type": "Identifier", "name": "colVisEl", "range": [ - 8384, - 8392 + 11258, + 11266 ], "loc": { "start": { - "line": 230, + "line": 408, "column": 16 }, "end": { - "line": 230, + "line": 408, "column": 24 } } @@ -20522,16 +20487,16 @@ "type": "Identifier", "name": "span", "range": [ - 8395, - 8399 + 11269, + 11273 ], "loc": { "start": { - "line": 230, + "line": 408, "column": 27 }, "end": { - "line": 230, + "line": 408, "column": 31 } } @@ -20540,46 +20505,46 @@ "type": "Identifier", "name": "firstChild", "range": [ - 8400, - 8410 + 11274, + 11284 ], "loc": { "start": { - "line": 230, + "line": 408, "column": 32 }, "end": { - "line": 230, + "line": 408, "column": 42 } } }, "range": [ - 8395, - 8410 + 11269, + 11284 ], "loc": { "start": { - "line": 230, + "line": 408, "column": 27 }, "end": { - "line": 230, + "line": 408, "column": 42 } } }, "range": [ - 8384, - 8410 + 11258, + 11284 ], "loc": { "start": { - "line": 230, + "line": 408, "column": 16 }, "end": { - "line": 230, + "line": 408, "column": 42 } } @@ -20587,16 +20552,16 @@ ], "kind": "let", "range": [ - 8380, - 8411 + 11254, + 11285 ], "loc": { "start": { - "line": 230, + "line": 408, "column": 12 }, "end": { - "line": 230, + "line": 408, "column": 43 } } @@ -20612,16 +20577,16 @@ "object": { "type": "ThisExpression", "range": [ - 8429, - 8433 + 11303, + 11307 ], "loc": { "start": { - "line": 231, + "line": 409, "column": 17 }, "end": { - "line": 231, + "line": 409, "column": 21 } } @@ -20630,47 +20595,47 @@ "type": "Identifier", "name": "enableHover", "range": [ - 8434, - 8445 + 11308, + 11319 ], "loc": { "start": { - "line": 231, + "line": 409, "column": 22 }, "end": { - "line": 231, + "line": 409, "column": 33 } } }, "range": [ - 8429, - 8445 + 11303, + 11319 ], "loc": { "start": { - "line": 231, + "line": 409, "column": 17 }, "end": { - "line": 231, + "line": 409, "column": 33 } } }, "prefix": true, "range": [ - 8428, - 8445 + 11302, + 11319 ], "loc": { "start": { - "line": 231, + "line": 409, "column": 16 }, "end": { - "line": 231, + "line": 409, "column": 33 } } @@ -20686,16 +20651,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 8465, - 8471 + 11339, + 11345 ], "loc": { "start": { - "line": 232, + "line": 410, "column": 16 }, "end": { - "line": 232, + "line": 410, "column": 22 } } @@ -20705,16 +20670,16 @@ "type": "Identifier", "name": "colVisEl", "range": [ - 8472, - 8480 + 11346, + 11354 ], "loc": { "start": { - "line": 232, + "line": 410, "column": 23 }, "end": { - "line": 232, + "line": 410, "column": 31 } } @@ -20724,16 +20689,16 @@ "value": "click", "raw": "'click'", "range": [ - 8482, - 8489 + 11356, + 11363 ], "loc": { "start": { - "line": 232, + "line": 410, "column": 33 }, "end": { - "line": 232, + "line": 410, "column": 40 } } @@ -20746,16 +20711,16 @@ "type": "Identifier", "name": "evt", "range": [ - 8492, - 8495 + 11366, + 11369 ], "loc": { "start": { - "line": 232, + "line": 410, "column": 43 }, "end": { - "line": 232, + "line": 410, "column": 46 } } @@ -20769,16 +20734,16 @@ "object": { "type": "ThisExpression", "range": [ - 8500, - 8504 + 11374, + 11378 ], "loc": { "start": { - "line": 232, + "line": 410, "column": 51 }, "end": { - "line": 232, + "line": 410, "column": 55 } } @@ -20787,31 +20752,31 @@ "type": "Identifier", "name": "toggle", "range": [ - 8505, - 8511 + 11379, + 11385 ], "loc": { "start": { - "line": 232, + "line": 410, "column": 56 }, "end": { - "line": 232, + "line": 410, "column": 62 } } }, "range": [ - 8500, - 8511 + 11374, + 11385 ], "loc": { "start": { - "line": 232, + "line": 410, "column": 51 }, "end": { - "line": 232, + "line": 410, "column": 62 } } @@ -20821,32 +20786,32 @@ "type": "Identifier", "name": "evt", "range": [ - 8512, - 8515 + 11386, + 11389 ], "loc": { "start": { - "line": 232, + "line": 410, "column": 63 }, "end": { - "line": 232, + "line": 410, "column": 66 } } } ], "range": [ - 8500, - 8516 + 11374, + 11390 ], "loc": { "start": { - "line": 232, + "line": 410, "column": 51 }, "end": { - "line": 232, + "line": 410, "column": 67 } } @@ -20854,63 +20819,63 @@ "generator": false, "expression": true, "range": [ - 8491, - 8516 + 11365, + 11390 ], "loc": { "start": { - "line": 232, + "line": 410, "column": 42 }, "end": { - "line": 232, + "line": 410, "column": 67 } } } ], "range": [ - 8465, - 8517 + 11339, + 11391 ], "loc": { "start": { - "line": 232, + "line": 410, "column": 16 }, "end": { - "line": 232, + "line": 410, "column": 68 } } }, "range": [ - 8465, - 8518 + 11339, + 11392 ], "loc": { "start": { - "line": 232, + "line": 410, "column": 16 }, "end": { - "line": 232, + "line": 410, "column": 69 } } } ], "range": [ - 8447, - 8532 + 11321, + 11406 ], "loc": { "start": { - "line": 231, + "line": 409, "column": 35 }, "end": { - "line": 233, + "line": 411, "column": 13 } } @@ -20926,16 +20891,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 8556, - 8562 + 11430, + 11436 ], "loc": { "start": { - "line": 234, + "line": 412, "column": 16 }, "end": { - "line": 234, + "line": 412, "column": 22 } } @@ -20945,16 +20910,16 @@ "type": "Identifier", "name": "colVisEl", "range": [ - 8563, - 8571 + 11437, + 11445 ], "loc": { "start": { - "line": 234, + "line": 412, "column": 23 }, "end": { - "line": 234, + "line": 412, "column": 31 } } @@ -20964,16 +20929,16 @@ "value": "mouseover", "raw": "'mouseover'", "range": [ - 8573, - 8584 + 11447, + 11458 ], "loc": { "start": { - "line": 234, + "line": 412, "column": 33 }, "end": { - "line": 234, + "line": 412, "column": 44 } } @@ -20986,16 +20951,16 @@ "type": "Identifier", "name": "evt", "range": [ - 8587, - 8590 + 11461, + 11464 ], "loc": { "start": { - "line": 234, + "line": 412, "column": 47 }, "end": { - "line": 234, + "line": 412, "column": 50 } } @@ -21009,16 +20974,16 @@ "object": { "type": "ThisExpression", "range": [ - 8595, - 8599 + 11469, + 11473 ], "loc": { "start": { - "line": 234, + "line": 412, "column": 55 }, "end": { - "line": 234, + "line": 412, "column": 59 } } @@ -21027,31 +20992,31 @@ "type": "Identifier", "name": "toggle", "range": [ - 8600, - 8606 + 11474, + 11480 ], "loc": { "start": { - "line": 234, + "line": 412, "column": 60 }, "end": { - "line": 234, + "line": 412, "column": 66 } } }, "range": [ - 8595, - 8606 + 11469, + 11480 ], "loc": { "start": { - "line": 234, + "line": 412, "column": 55 }, "end": { - "line": 234, + "line": 412, "column": 66 } } @@ -21061,32 +21026,32 @@ "type": "Identifier", "name": "evt", "range": [ - 8607, - 8610 + 11481, + 11484 ], "loc": { "start": { - "line": 234, + "line": 412, "column": 67 }, "end": { - "line": 234, + "line": 412, "column": 70 } } } ], "range": [ - 8595, - 8611 + 11469, + 11485 ], "loc": { "start": { - "line": 234, + "line": 412, "column": 55 }, "end": { - "line": 234, + "line": 412, "column": 71 } } @@ -21094,109 +21059,109 @@ "generator": false, "expression": true, "range": [ - 8586, - 8611 + 11460, + 11485 ], "loc": { "start": { - "line": 234, + "line": 412, "column": 46 }, "end": { - "line": 234, + "line": 412, "column": 71 } } } ], "range": [ - 8556, - 8612 + 11430, + 11486 ], "loc": { "start": { - "line": 234, + "line": 412, "column": 16 }, "end": { - "line": 234, + "line": 412, "column": 72 } } }, "range": [ - 8556, - 8613 + 11430, + 11487 ], "loc": { "start": { - "line": 234, + "line": 412, "column": 16 }, "end": { - "line": 234, + "line": 412, "column": 73 } } } ], "range": [ - 8538, - 8627 + 11412, + 11501 ], "loc": { "start": { - "line": 233, + "line": 411, "column": 19 }, "end": { - "line": 235, + "line": 413, "column": 13 } } }, "range": [ - 8424, - 8627 + 11298, + 11501 ], "loc": { "start": { - "line": 231, + "line": 409, "column": 12 }, "end": { - "line": 235, + "line": 413, "column": 13 } } } ], "range": [ - 8309, - 8637 + 11183, + 11511 ], "loc": { "start": { - "line": 228, + "line": 406, "column": 15 }, "end": { - "line": 236, + "line": 414, "column": 9 } } }, "range": [ - 7844, - 8637 + 10718, + 11511 ], "loc": { "start": { - "line": 216, + "line": 394, "column": 8 }, "end": { - "line": 236, + "line": 414, "column": 9 } } @@ -21212,16 +21177,16 @@ "object": { "type": "ThisExpression", "range": [ - 8647, - 8651 + 11521, + 11525 ], "loc": { "start": { - "line": 238, + "line": 416, "column": 8 }, "end": { - "line": 238, + "line": 416, "column": 12 } } @@ -21230,31 +21195,31 @@ "type": "Identifier", "name": "spanEl", "range": [ - 8652, - 8658 + 11526, + 11532 ], "loc": { "start": { - "line": 238, + "line": 416, "column": 13 }, "end": { - "line": 238, + "line": 416, "column": 19 } } }, "range": [ - 8647, - 8658 + 11521, + 11532 ], "loc": { "start": { - "line": 238, + "line": 416, "column": 8 }, "end": { - "line": 238, + "line": 416, "column": 19 } } @@ -21263,46 +21228,46 @@ "type": "Identifier", "name": "span", "range": [ - 8661, - 8665 + 11535, + 11539 ], "loc": { "start": { - "line": 238, + "line": 416, "column": 22 }, "end": { - "line": 238, + "line": 416, "column": 26 } } }, "range": [ - 8647, - 8665 + 11521, + 11539 ], "loc": { "start": { - "line": 238, + "line": 416, "column": 8 }, "end": { - "line": 238, + "line": 416, "column": 26 } } }, "range": [ - 8647, - 8666 + 11521, + 11540 ], "loc": { "start": { - "line": 238, + "line": 416, "column": 8 }, "end": { - "line": 238, + "line": 416, "column": 27 } } @@ -21318,16 +21283,16 @@ "object": { "type": "ThisExpression", "range": [ - 8675, - 8679 + 11549, + 11553 ], "loc": { "start": { - "line": 239, + "line": 417, "column": 8 }, "end": { - "line": 239, + "line": 417, "column": 12 } } @@ -21336,31 +21301,31 @@ "type": "Identifier", "name": "btnEl", "range": [ - 8680, - 8685 + 11554, + 11559 ], "loc": { "start": { - "line": 239, + "line": 417, "column": 13 }, "end": { - "line": 239, + "line": 417, "column": 18 } } }, "range": [ - 8675, - 8685 + 11549, + 11559 ], "loc": { "start": { - "line": 239, + "line": 417, "column": 8 }, "end": { - "line": 239, + "line": 417, "column": 18 } } @@ -21374,16 +21339,16 @@ "object": { "type": "ThisExpression", "range": [ - 8688, - 8692 + 11562, + 11566 ], "loc": { "start": { - "line": 239, + "line": 417, "column": 21 }, "end": { - "line": 239, + "line": 417, "column": 25 } } @@ -21392,31 +21357,31 @@ "type": "Identifier", "name": "spanEl", "range": [ - 8693, - 8699 + 11567, + 11573 ], "loc": { "start": { - "line": 239, + "line": 417, "column": 26 }, "end": { - "line": 239, + "line": 417, "column": 32 } } }, "range": [ - 8688, - 8699 + 11562, + 11573 ], "loc": { "start": { - "line": 239, + "line": 417, "column": 21 }, "end": { - "line": 239, + "line": 417, "column": 32 } } @@ -21425,61 +21390,61 @@ "type": "Identifier", "name": "firstChild", "range": [ - 8700, - 8710 + 11574, + 11584 ], "loc": { "start": { - "line": 239, + "line": 417, "column": 33 }, "end": { - "line": 239, + "line": 417, "column": 43 } } }, "range": [ - 8688, - 8710 + 11562, + 11584 ], "loc": { "start": { - "line": 239, + "line": 417, "column": 21 }, "end": { - "line": 239, + "line": 417, "column": 43 } } }, "range": [ - 8675, - 8710 + 11549, + 11584 ], "loc": { "start": { - "line": 239, + "line": 417, "column": 8 }, "end": { - "line": 239, + "line": 417, "column": 43 } } }, "range": [ - 8675, - 8711 + 11549, + 11585 ], "loc": { "start": { - "line": 239, + "line": 417, "column": 8 }, "end": { - "line": 239, + "line": 417, "column": 44 } } @@ -21492,16 +21457,16 @@ "object": { "type": "ThisExpression", "range": [ - 8725, - 8729 + 11599, + 11603 ], "loc": { "start": { - "line": 241, + "line": 419, "column": 12 }, "end": { - "line": 241, + "line": 419, "column": 16 } } @@ -21510,31 +21475,31 @@ "type": "Identifier", "name": "onLoaded", "range": [ - 8730, - 8738 + 11604, + 11612 ], "loc": { "start": { - "line": 241, + "line": 419, "column": 17 }, "end": { - "line": 241, + "line": 419, "column": 25 } } }, "range": [ - 8725, - 8738 + 11599, + 11612 ], "loc": { "start": { - "line": 241, + "line": 419, "column": 12 }, "end": { - "line": 241, + "line": 419, "column": 25 } } @@ -21555,16 +21520,16 @@ "object": { "type": "ThisExpression", "range": [ - 8754, - 8758 + 11628, + 11632 ], "loc": { "start": { - "line": 242, + "line": 420, "column": 12 }, "end": { - "line": 242, + "line": 420, "column": 16 } } @@ -21573,31 +21538,31 @@ "type": "Identifier", "name": "onLoaded", "range": [ - 8759, - 8767 + 11633, + 11641 ], "loc": { "start": { - "line": 242, + "line": 420, "column": 17 }, "end": { - "line": 242, + "line": 420, "column": 25 } } }, "range": [ - 8754, - 8767 + 11628, + 11641 ], "loc": { "start": { - "line": 242, + "line": 420, "column": 12 }, "end": { - "line": 242, + "line": 420, "column": 25 } } @@ -21606,31 +21571,31 @@ "type": "Identifier", "name": "call", "range": [ - 8768, - 8772 + 11642, + 11646 ], "loc": { "start": { - "line": 242, + "line": 420, "column": 26 }, "end": { - "line": 242, + "line": 420, "column": 30 } } }, "range": [ - 8754, - 8772 + 11628, + 11646 ], "loc": { "start": { - "line": 242, + "line": 420, "column": 12 }, "end": { - "line": 242, + "line": 420, "column": 30 } } @@ -21641,16 +21606,16 @@ "value": null, "raw": "null", "range": [ - 8773, - 8777 + 11647, + 11651 ], "loc": { "start": { - "line": 242, + "line": 420, "column": 31 }, "end": { - "line": 242, + "line": 420, "column": 35 } } @@ -21658,95 +21623,95 @@ { "type": "ThisExpression", "range": [ - 8779, - 8783 + 11653, + 11657 ], "loc": { "start": { - "line": 242, + "line": 420, "column": 37 }, "end": { - "line": 242, + "line": 420, "column": 41 } } } ], "range": [ - 8754, - 8784 + 11628, + 11658 ], "loc": { "start": { - "line": 242, + "line": 420, "column": 12 }, "end": { - "line": 242, + "line": 420, "column": 42 } } }, "range": [ - 8754, - 8785 + 11628, + 11659 ], "loc": { "start": { - "line": 242, + "line": 420, "column": 12 }, "end": { - "line": 242, + "line": 420, "column": 43 } } } ], "range": [ - 8740, - 8795 + 11614, + 11669 ], "loc": { "start": { - "line": 241, + "line": 419, "column": 27 }, "end": { - "line": 243, + "line": 421, "column": 9 } } }, "alternate": null, "range": [ - 8721, - 8795 + 11595, + 11669 ], "loc": { "start": { - "line": 241, + "line": 419, "column": 8 }, "end": { - "line": 243, + "line": 421, "column": 9 } } } ], "range": [ - 7235, - 8801 + 10109, + 11675 ], "loc": { "start": { - "line": 195, + "line": 373, "column": 15 }, "end": { - "line": 244, + "line": 422, "column": 5 } } @@ -21754,16 +21719,16 @@ "generator": false, "expression": false, "range": [ - 7232, - 8801 + 10106, + 11675 ], "loc": { "start": { - "line": 195, + "line": 373, "column": 12 }, "end": { - "line": 244, + "line": 422, "column": 5 } } @@ -21771,16 +21736,16 @@ "kind": "method", "computed": false, "range": [ - 7224, - 8801 + 10098, + 11675 ], "loc": { "start": { - "line": 195, + "line": 373, "column": 4 }, "end": { - "line": 244, + "line": 422, "column": 5 } }, @@ -21789,16 +21754,16 @@ "type": "Block", "value": "*\n * Build main button UI\n ", "range": [ - 7180, - 7219 + 10054, + 10093 ], "loc": { "start": { - "line": 192, + "line": 370, "column": 4 }, "end": { - "line": 194, + "line": 372, "column": 7 } } @@ -21809,16 +21774,16 @@ "type": "Block", "value": "*\n * Build columns manager UI\n ", "range": [ - 8807, - 8850 + 11681, + 11724 ], "loc": { "start": { - "line": 246, + "line": 424, "column": 4 }, "end": { - "line": 248, + "line": 426, "column": 7 } } @@ -21832,16 +21797,16 @@ "type": "Identifier", "name": "buildManager", "range": [ - 8855, - 8867 + 11729, + 11741 ], "loc": { "start": { - "line": 249, + "line": 427, "column": 4 }, "end": { - "line": 249, + "line": 427, "column": 16 } } @@ -21862,16 +21827,16 @@ "type": "Identifier", "name": "tf", "range": [ - 8884, - 8886 + 11758, + 11760 ], "loc": { "start": { - "line": 250, + "line": 428, "column": 12 }, "end": { - "line": 250, + "line": 428, "column": 14 } } @@ -21882,16 +21847,16 @@ "object": { "type": "ThisExpression", "range": [ - 8889, - 8893 + 11763, + 11767 ], "loc": { "start": { - "line": 250, + "line": 428, "column": 17 }, "end": { - "line": 250, + "line": 428, "column": 21 } } @@ -21900,46 +21865,46 @@ "type": "Identifier", "name": "tf", "range": [ - 8894, - 8896 + 11768, + 11770 ], "loc": { "start": { - "line": 250, + "line": 428, "column": 22 }, "end": { - "line": 250, + "line": 428, "column": 24 } } }, "range": [ - 8889, - 8896 + 11763, + 11770 ], "loc": { "start": { - "line": 250, + "line": 428, "column": 17 }, "end": { - "line": 250, + "line": 428, "column": 24 } } }, "range": [ - 8884, - 8896 + 11758, + 11770 ], "loc": { "start": { - "line": 250, + "line": 428, "column": 12 }, "end": { - "line": 250, + "line": 428, "column": 24 } } @@ -21947,16 +21912,16 @@ ], "kind": "let", "range": [ - 8880, - 8897 + 11754, + 11771 ], "loc": { "start": { - "line": 250, + "line": 428, "column": 8 }, "end": { - "line": 250, + "line": 428, "column": 25 } } @@ -21970,16 +21935,16 @@ "type": "Identifier", "name": "container", "range": [ - 8911, - 8920 + 11785, + 11794 ], "loc": { "start": { - "line": 252, + "line": 430, "column": 12 }, "end": { - "line": 252, + "line": 430, "column": 21 } } @@ -21995,16 +21960,16 @@ "object": { "type": "ThisExpression", "range": [ - 8924, - 8928 + 11798, + 11802 ], "loc": { "start": { - "line": 252, + "line": 430, "column": 25 }, "end": { - "line": 252, + "line": 430, "column": 29 } } @@ -22013,47 +21978,47 @@ "type": "Identifier", "name": "contElTgtId", "range": [ - 8929, - 8940 + 11803, + 11814 ], "loc": { "start": { - "line": 252, + "line": 430, "column": 30 }, "end": { - "line": 252, + "line": 430, "column": 41 } } }, "range": [ - 8924, - 8940 + 11798, + 11814 ], "loc": { "start": { - "line": 252, + "line": 430, "column": 25 }, "end": { - "line": 252, + "line": 430, "column": 41 } } }, "prefix": true, "range": [ - 8923, - 8940 + 11797, + 11814 ], "loc": { "start": { - "line": 252, + "line": 430, "column": 24 }, "end": { - "line": 252, + "line": 430, "column": 41 } } @@ -22064,16 +22029,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 8955, - 8964 + 11829, + 11838 ], "loc": { "start": { - "line": 253, + "line": 431, "column": 12 }, "end": { - "line": 253, + "line": 431, "column": 21 } } @@ -22084,16 +22049,16 @@ "value": "div", "raw": "'div'", "range": [ - 8965, - 8970 + 11839, + 11844 ], "loc": { "start": { - "line": 253, + "line": 431, "column": 22 }, "end": { - "line": 253, + "line": 431, "column": 27 } } @@ -22106,16 +22071,16 @@ "value": "id", "raw": "'id'", "range": [ - 8973, - 8977 + 11847, + 11851 ], "loc": { "start": { - "line": 253, + "line": 431, "column": 30 }, "end": { - "line": 253, + "line": 431, "column": 34 } } @@ -22129,16 +22094,16 @@ "object": { "type": "ThisExpression", "range": [ - 8979, - 8983 + 11853, + 11857 ], "loc": { "start": { - "line": 253, + "line": 431, "column": 36 }, "end": { - "line": 253, + "line": 431, "column": 40 } } @@ -22147,31 +22112,31 @@ "type": "Identifier", "name": "prfxCont", "range": [ - 8984, - 8992 + 11858, + 11866 ], "loc": { "start": { - "line": 253, + "line": 431, "column": 41 }, "end": { - "line": 253, + "line": 431, "column": 49 } } }, "range": [ - 8979, - 8992 + 11853, + 11866 ], "loc": { "start": { - "line": 253, + "line": 431, "column": 36 }, "end": { - "line": 253, + "line": 431, "column": 49 } } @@ -22183,16 +22148,16 @@ "type": "Identifier", "name": "tf", "range": [ - 8995, - 8997 + 11869, + 11871 ], "loc": { "start": { - "line": 253, + "line": 431, "column": 52 }, "end": { - "line": 253, + "line": 431, "column": 54 } } @@ -22201,78 +22166,78 @@ "type": "Identifier", "name": "id", "range": [ - 8998, - 9000 + 11872, + 11874 ], "loc": { "start": { - "line": 253, + "line": 431, "column": 55 }, "end": { - "line": 253, + "line": 431, "column": 57 } } }, "range": [ - 8995, - 9000 + 11869, + 11874 ], "loc": { "start": { - "line": 253, + "line": 431, "column": 52 }, "end": { - "line": 253, + "line": 431, "column": 57 } } }, "range": [ - 8979, - 9000 + 11853, + 11874 ], "loc": { "start": { - "line": 253, + "line": 431, "column": 36 }, "end": { - "line": 253, + "line": 431, "column": 57 } } } ], "range": [ - 8972, - 9001 + 11846, + 11875 ], "loc": { "start": { - "line": 253, + "line": 431, "column": 29 }, "end": { - "line": 253, + "line": 431, "column": 58 } } } ], "range": [ - 8955, - 9002 + 11829, + 11876 ], "loc": { "start": { - "line": 253, + "line": 431, "column": 12 }, "end": { - "line": 253, + "line": 431, "column": 59 } } @@ -22283,16 +22248,16 @@ "type": "Identifier", "name": "elm", "range": [ - 9017, - 9020 + 11891, + 11894 ], "loc": { "start": { - "line": 254, + "line": 432, "column": 12 }, "end": { - "line": 254, + "line": 432, "column": 15 } } @@ -22304,16 +22269,16 @@ "object": { "type": "ThisExpression", "range": [ - 9021, - 9025 + 11895, + 11899 ], "loc": { "start": { - "line": 254, + "line": 432, "column": 16 }, "end": { - "line": 254, + "line": 432, "column": 20 } } @@ -22322,77 +22287,77 @@ "type": "Identifier", "name": "contElTgtId", "range": [ - 9026, - 9037 + 11900, + 11911 ], "loc": { "start": { - "line": 254, + "line": 432, "column": 21 }, "end": { - "line": 254, + "line": 432, "column": 32 } } }, "range": [ - 9021, - 9037 + 11895, + 11911 ], "loc": { "start": { - "line": 254, + "line": 432, "column": 16 }, "end": { - "line": 254, + "line": 432, "column": 32 } } } ], "range": [ - 9017, - 9038 + 11891, + 11912 ], "loc": { "start": { - "line": 254, + "line": 432, "column": 12 }, "end": { - "line": 254, + "line": 432, "column": 33 } } }, "range": [ - 8923, - 9038 + 11797, + 11912 ], "loc": { "start": { - "line": 252, + "line": 430, "column": 24 }, "end": { - "line": 254, + "line": 432, "column": 33 } } }, "range": [ - 8911, - 9038 + 11785, + 11912 ], "loc": { "start": { - "line": 252, + "line": 430, "column": 12 }, "end": { - "line": 254, + "line": 432, "column": 33 } } @@ -22400,16 +22365,16 @@ ], "kind": "let", "range": [ - 8907, - 9039 + 11781, + 11913 ], "loc": { "start": { - "line": 252, + "line": 430, "column": 8 }, "end": { - "line": 254, + "line": 432, "column": 34 } } @@ -22426,16 +22391,16 @@ "type": "Identifier", "name": "container", "range": [ - 9048, - 9057 + 11922, + 11931 ], "loc": { "start": { - "line": 255, + "line": 433, "column": 8 }, "end": { - "line": 255, + "line": 433, "column": 17 } } @@ -22444,31 +22409,31 @@ "type": "Identifier", "name": "className", "range": [ - 9058, - 9067 + 11932, + 11941 ], "loc": { "start": { - "line": 255, + "line": 433, "column": 18 }, "end": { - "line": 255, + "line": 433, "column": 27 } } }, "range": [ - 9048, - 9067 + 11922, + 11941 ], "loc": { "start": { - "line": 255, + "line": 433, "column": 8 }, "end": { - "line": 255, + "line": 433, "column": 27 } } @@ -22479,16 +22444,16 @@ "object": { "type": "ThisExpression", "range": [ - 9070, - 9074 + 11944, + 11948 ], "loc": { "start": { - "line": 255, + "line": 433, "column": 30 }, "end": { - "line": 255, + "line": 433, "column": 34 } } @@ -22497,61 +22462,61 @@ "type": "Identifier", "name": "contCssClass", "range": [ - 9075, - 9087 + 11949, + 11961 ], "loc": { "start": { - "line": 255, + "line": 433, "column": 35 }, "end": { - "line": 255, + "line": 433, "column": 47 } } }, "range": [ - 9070, - 9087 + 11944, + 11961 ], "loc": { "start": { - "line": 255, + "line": 433, "column": 30 }, "end": { - "line": 255, + "line": 433, "column": 47 } } }, "range": [ - 9048, - 9087 + 11922, + 11961 ], "loc": { "start": { - "line": 255, + "line": 433, "column": 8 }, "end": { - "line": 255, + "line": 433, "column": 47 } } }, "range": [ - 9048, - 9088 + 11922, + 11962 ], "loc": { "start": { - "line": 255, + "line": 433, "column": 8 }, "end": { - "line": 255, + "line": 433, "column": 48 } }, @@ -22560,16 +22525,16 @@ "type": "Line", "value": "Extension description", "range": [ - 9098, - 9121 + 11972, + 11995 ], "loc": { "start": { - "line": 257, + "line": 435, "column": 8 }, "end": { - "line": 257, + "line": 435, "column": 31 } } @@ -22585,16 +22550,16 @@ "type": "Identifier", "name": "extNameLabel", "range": [ - 9134, - 9146 + 12008, + 12020 ], "loc": { "start": { - "line": 258, + "line": 436, "column": 12 }, "end": { - "line": 258, + "line": 436, "column": 24 } } @@ -22605,16 +22570,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 9149, - 9158 + 12023, + 12032 ], "loc": { "start": { - "line": 258, + "line": 436, "column": 27 }, "end": { - "line": 258, + "line": 436, "column": 36 } } @@ -22625,47 +22590,47 @@ "value": "p", "raw": "'p'", "range": [ - 9159, - 9162 + 12033, + 12036 ], "loc": { "start": { - "line": 258, + "line": 436, "column": 37 }, "end": { - "line": 258, + "line": 436, "column": 40 } } } ], "range": [ - 9149, - 9163 + 12023, + 12037 ], "loc": { "start": { - "line": 258, + "line": 436, "column": 27 }, "end": { - "line": 258, + "line": 436, "column": 41 } } }, "range": [ - 9134, - 9163 + 12008, + 12037 ], "loc": { "start": { - "line": 258, + "line": 436, "column": 12 }, "end": { - "line": 258, + "line": 436, "column": 41 } } @@ -22673,16 +22638,16 @@ ], "kind": "let", "range": [ - 9130, - 9164 + 12004, + 12038 ], "loc": { "start": { - "line": 258, + "line": 436, "column": 8 }, "end": { - "line": 258, + "line": 436, "column": 42 } }, @@ -22691,16 +22656,16 @@ "type": "Line", "value": "Extension description", "range": [ - 9098, - 9121 + 11972, + 11995 ], "loc": { "start": { - "line": 257, + "line": 435, "column": 8 }, "end": { - "line": 257, + "line": 435, "column": 31 } } @@ -22719,16 +22684,16 @@ "type": "Identifier", "name": "extNameLabel", "range": [ - 9173, - 9185 + 12047, + 12059 ], "loc": { "start": { - "line": 259, + "line": 437, "column": 8 }, "end": { - "line": 259, + "line": 437, "column": 20 } } @@ -22737,31 +22702,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 9186, - 9195 + 12060, + 12069 ], "loc": { "start": { - "line": 259, + "line": 437, "column": 21 }, "end": { - "line": 259, + "line": 437, "column": 30 } } }, "range": [ - 9173, - 9195 + 12047, + 12069 ], "loc": { "start": { - "line": 259, + "line": 437, "column": 8 }, "end": { - "line": 259, + "line": 437, "column": 30 } } @@ -22772,16 +22737,16 @@ "object": { "type": "ThisExpression", "range": [ - 9198, - 9202 + 12072, + 12076 ], "loc": { "start": { - "line": 259, + "line": 437, "column": 33 }, "end": { - "line": 259, + "line": 437, "column": 37 } } @@ -22790,61 +22755,61 @@ "type": "Identifier", "name": "text", "range": [ - 9203, - 9207 + 12077, + 12081 ], "loc": { "start": { - "line": 259, + "line": 437, "column": 38 }, "end": { - "line": 259, + "line": 437, "column": 42 } } }, "range": [ - 9198, - 9207 + 12072, + 12081 ], "loc": { "start": { - "line": 259, + "line": 437, "column": 33 }, "end": { - "line": 259, + "line": 437, "column": 42 } } }, "range": [ - 9173, - 9207 + 12047, + 12081 ], "loc": { "start": { - "line": 259, + "line": 437, "column": 8 }, "end": { - "line": 259, + "line": 437, "column": 42 } } }, "range": [ - 9173, - 9208 + 12047, + 12082 ], "loc": { "start": { - "line": 259, + "line": 437, "column": 8 }, "end": { - "line": 259, + "line": 437, "column": 43 } } @@ -22860,16 +22825,16 @@ "type": "Identifier", "name": "container", "range": [ - 9217, - 9226 + 12091, + 12100 ], "loc": { "start": { - "line": 260, + "line": 438, "column": 8 }, "end": { - "line": 260, + "line": 438, "column": 17 } } @@ -22878,31 +22843,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 9227, - 9238 + 12101, + 12112 ], "loc": { "start": { - "line": 260, + "line": 438, "column": 18 }, "end": { - "line": 260, + "line": 438, "column": 29 } } }, "range": [ - 9217, - 9238 + 12091, + 12112 ], "loc": { "start": { - "line": 260, + "line": 438, "column": 8 }, "end": { - "line": 260, + "line": 438, "column": 29 } } @@ -22912,47 +22877,47 @@ "type": "Identifier", "name": "extNameLabel", "range": [ - 9239, - 9251 + 12113, + 12125 ], "loc": { "start": { - "line": 260, + "line": 438, "column": 30 }, "end": { - "line": 260, + "line": 438, "column": 42 } } } ], "range": [ - 9217, - 9252 + 12091, + 12126 ], "loc": { "start": { - "line": 260, + "line": 438, "column": 8 }, "end": { - "line": 260, + "line": 438, "column": 43 } } }, "range": [ - 9217, - 9253 + 12091, + 12127 ], "loc": { "start": { - "line": 260, + "line": 438, "column": 8 }, "end": { - "line": 260, + "line": 438, "column": 44 } }, @@ -22961,16 +22926,16 @@ "type": "Line", "value": "Headers list", "range": [ - 9263, - 9277 + 12137, + 12151 ], "loc": { "start": { - "line": 262, + "line": 440, "column": 8 }, "end": { - "line": 262, + "line": 440, "column": 22 } } @@ -22986,16 +22951,16 @@ "type": "Identifier", "name": "ul", "range": [ - 9290, - 9292 + 12164, + 12166 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 12 }, "end": { - "line": 263, + "line": 441, "column": 14 } } @@ -23006,16 +22971,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 9295, - 9304 + 12169, + 12178 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 17 }, "end": { - "line": 263, + "line": 441, "column": 26 } } @@ -23026,16 +22991,16 @@ "value": "ul", "raw": "'ul'", "range": [ - 9305, - 9309 + 12179, + 12183 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 27 }, "end": { - "line": 263, + "line": 441, "column": 31 } } @@ -23048,16 +23013,16 @@ "value": "id", "raw": "'id'", "range": [ - 9312, - 9316 + 12186, + 12190 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 34 }, "end": { - "line": 263, + "line": 441, "column": 38 } } @@ -23076,16 +23041,16 @@ "value": "ul", "raw": "'ul'", "range": [ - 9318, - 9322 + 12192, + 12196 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 40 }, "end": { - "line": 263, + "line": 441, "column": 44 } } @@ -23096,16 +23061,16 @@ "object": { "type": "ThisExpression", "range": [ - 9325, - 9329 + 12199, + 12203 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 47 }, "end": { - "line": 263, + "line": 441, "column": 51 } } @@ -23114,46 +23079,46 @@ "type": "Identifier", "name": "name", "range": [ - 9330, - 9334 + 12204, + 12208 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 52 }, "end": { - "line": 263, + "line": 441, "column": 56 } } }, "range": [ - 9325, - 9334 + 12199, + 12208 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 47 }, "end": { - "line": 263, + "line": 441, "column": 56 } } }, "range": [ - 9318, - 9334 + 12192, + 12208 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 40 }, "end": { - "line": 263, + "line": 441, "column": 56 } } @@ -23163,31 +23128,31 @@ "value": "_", "raw": "'_'", "range": [ - 9337, - 9340 + 12211, + 12214 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 59 }, "end": { - "line": 263, + "line": 441, "column": 62 } } }, "range": [ - 9318, - 9340 + 12192, + 12214 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 40 }, "end": { - "line": 263, + "line": 441, "column": 62 } } @@ -23199,16 +23164,16 @@ "type": "Identifier", "name": "tf", "range": [ - 9343, - 9345 + 12217, + 12219 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 65 }, "end": { - "line": 263, + "line": 441, "column": 67 } } @@ -23217,93 +23182,93 @@ "type": "Identifier", "name": "id", "range": [ - 9346, - 9348 + 12220, + 12222 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 68 }, "end": { - "line": 263, + "line": 441, "column": 70 } } }, "range": [ - 9343, - 9348 + 12217, + 12222 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 65 }, "end": { - "line": 263, + "line": 441, "column": 70 } } }, "range": [ - 9318, - 9348 + 12192, + 12222 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 40 }, "end": { - "line": 263, + "line": 441, "column": 70 } } } ], "range": [ - 9311, - 9349 + 12185, + 12223 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 33 }, "end": { - "line": 263, + "line": 441, "column": 71 } } } ], "range": [ - 9295, - 9350 + 12169, + 12224 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 17 }, "end": { - "line": 263, + "line": 441, "column": 72 } } }, "range": [ - 9290, - 9350 + 12164, + 12224 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 12 }, "end": { - "line": 263, + "line": 441, "column": 72 } } @@ -23311,16 +23276,16 @@ ], "kind": "let", "range": [ - 9286, - 9351 + 12160, + 12225 ], "loc": { "start": { - "line": 263, + "line": 441, "column": 8 }, "end": { - "line": 263, + "line": 441, "column": 73 } }, @@ -23329,16 +23294,16 @@ "type": "Line", "value": "Headers list", "range": [ - 9263, - 9277 + 12137, + 12151 ], "loc": { "start": { - "line": 262, + "line": 440, "column": 8 }, "end": { - "line": 262, + "line": 440, "column": 22 } } @@ -23357,16 +23322,16 @@ "type": "Identifier", "name": "ul", "range": [ - 9360, - 9362 + 12234, + 12236 ], "loc": { "start": { - "line": 264, + "line": 442, "column": 8 }, "end": { - "line": 264, + "line": 442, "column": 10 } } @@ -23375,31 +23340,31 @@ "type": "Identifier", "name": "className", "range": [ - 9363, - 9372 + 12237, + 12246 ], "loc": { "start": { - "line": 264, + "line": 442, "column": 11 }, "end": { - "line": 264, + "line": 442, "column": 20 } } }, "range": [ - 9360, - 9372 + 12234, + 12246 ], "loc": { "start": { - "line": 264, + "line": 442, "column": 8 }, "end": { - "line": 264, + "line": 442, "column": 20 } } @@ -23410,16 +23375,16 @@ "object": { "type": "ThisExpression", "range": [ - 9375, - 9379 + 12249, + 12253 ], "loc": { "start": { - "line": 264, + "line": 442, "column": 23 }, "end": { - "line": 264, + "line": 442, "column": 27 } } @@ -23428,61 +23393,61 @@ "type": "Identifier", "name": "listCssClass", "range": [ - 9380, - 9392 + 12254, + 12266 ], "loc": { "start": { - "line": 264, + "line": 442, "column": 28 }, "end": { - "line": 264, + "line": 442, "column": 40 } } }, "range": [ - 9375, - 9392 + 12249, + 12266 ], "loc": { "start": { - "line": 264, + "line": 442, "column": 23 }, "end": { - "line": 264, + "line": 442, "column": 40 } } }, "range": [ - 9360, - 9392 + 12234, + 12266 ], "loc": { "start": { - "line": 264, + "line": 442, "column": 8 }, "end": { - "line": 264, + "line": 442, "column": 40 } } }, "range": [ - 9360, - 9393 + 12234, + 12267 ], "loc": { "start": { - "line": 264, + "line": 442, "column": 8 }, "end": { - "line": 264, + "line": 442, "column": 41 } } @@ -23496,16 +23461,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 9407, - 9410 + 12281, + 12284 ], "loc": { "start": { - "line": 266, + "line": 444, "column": 12 }, "end": { - "line": 266, + "line": 444, "column": 15 } } @@ -23518,16 +23483,16 @@ "object": { "type": "ThisExpression", "range": [ - 9413, - 9417 + 12287, + 12291 ], "loc": { "start": { - "line": 266, + "line": 444, "column": 18 }, "end": { - "line": 266, + "line": 444, "column": 22 } } @@ -23536,31 +23501,31 @@ "type": "Identifier", "name": "headersTbl", "range": [ - 9418, - 9428 + 12292, + 12302 ], "loc": { "start": { - "line": 266, + "line": 444, "column": 23 }, "end": { - "line": 266, + "line": 444, "column": 33 } } }, "range": [ - 9413, - 9428 + 12287, + 12302 ], "loc": { "start": { - "line": 266, + "line": 444, "column": 18 }, "end": { - "line": 266, + "line": 444, "column": 33 } } @@ -23571,16 +23536,16 @@ "object": { "type": "ThisExpression", "range": [ - 9431, - 9435 + 12305, + 12309 ], "loc": { "start": { - "line": 266, + "line": 444, "column": 36 }, "end": { - "line": 266, + "line": 444, "column": 40 } } @@ -23589,31 +23554,31 @@ "type": "Identifier", "name": "headersTbl", "range": [ - 9436, - 9446 + 12310, + 12320 ], "loc": { "start": { - "line": 266, + "line": 444, "column": 41 }, "end": { - "line": 266, + "line": 444, "column": 51 } } }, "range": [ - 9431, - 9446 + 12305, + 12320 ], "loc": { "start": { - "line": 266, + "line": 444, "column": 36 }, "end": { - "line": 266, + "line": 444, "column": 51 } } @@ -23625,16 +23590,16 @@ "type": "Identifier", "name": "tf", "range": [ - 9449, - 9451 + 12323, + 12325 ], "loc": { "start": { - "line": 266, + "line": 444, "column": 54 }, "end": { - "line": 266, + "line": 444, "column": 56 } } @@ -23643,61 +23608,61 @@ "type": "Identifier", "name": "tbl", "range": [ - 9452, - 9455 + 12326, + 12329 ], "loc": { "start": { - "line": 266, + "line": 444, "column": 57 }, "end": { - "line": 266, + "line": 444, "column": 60 } } }, "range": [ - 9449, - 9455 + 12323, + 12329 ], "loc": { "start": { - "line": 266, + "line": 444, "column": 54 }, "end": { - "line": 266, + "line": 444, "column": 60 } } }, "range": [ - 9413, - 9455 + 12287, + 12329 ], "loc": { "start": { - "line": 266, + "line": 444, "column": 18 }, "end": { - "line": 266, + "line": 444, "column": 60 } } }, "range": [ - 9407, - 9455 + 12281, + 12329 ], "loc": { "start": { - "line": 266, + "line": 444, "column": 12 }, "end": { - "line": 266, + "line": 444, "column": 60 } } @@ -23705,16 +23670,16 @@ ], "kind": "let", "range": [ - 9403, - 9456 + 12277, + 12330 ], "loc": { "start": { - "line": 266, + "line": 444, "column": 8 }, "end": { - "line": 266, + "line": 444, "column": 61 } } @@ -23728,16 +23693,16 @@ "type": "Identifier", "name": "headerIndex", "range": [ - 9469, - 9480 + 12343, + 12354 ], "loc": { "start": { - "line": 267, + "line": 445, "column": 12 }, "end": { - "line": 267, + "line": 445, "column": 23 } } @@ -23750,16 +23715,16 @@ "object": { "type": "ThisExpression", "range": [ - 9483, - 9487 + 12357, + 12361 ], "loc": { "start": { - "line": 267, + "line": 445, "column": 26 }, "end": { - "line": 267, + "line": 445, "column": 30 } } @@ -23768,31 +23733,31 @@ "type": "Identifier", "name": "headersTbl", "range": [ - 9488, - 9498 + 12362, + 12372 ], "loc": { "start": { - "line": 267, + "line": 445, "column": 31 }, "end": { - "line": 267, + "line": 445, "column": 41 } } }, "range": [ - 9483, - 9498 + 12357, + 12372 ], "loc": { "start": { - "line": 267, + "line": 445, "column": 26 }, "end": { - "line": 267, + "line": 445, "column": 41 } } @@ -23803,16 +23768,16 @@ "object": { "type": "ThisExpression", "range": [ - 9513, - 9517 + 12387, + 12391 ], "loc": { "start": { - "line": 268, + "line": 446, "column": 12 }, "end": { - "line": 268, + "line": 446, "column": 16 } } @@ -23821,31 +23786,31 @@ "type": "Identifier", "name": "headersIndex", "range": [ - 9518, - 9530 + 12392, + 12404 ], "loc": { "start": { - "line": 268, + "line": 446, "column": 17 }, "end": { - "line": 268, + "line": 446, "column": 29 } } }, "range": [ - 9513, - 9530 + 12387, + 12404 ], "loc": { "start": { - "line": 268, + "line": 446, "column": 12 }, "end": { - "line": 268, + "line": 446, "column": 29 } } @@ -23859,16 +23824,16 @@ "type": "Identifier", "name": "tf", "range": [ - 9533, - 9535 + 12407, + 12409 ], "loc": { "start": { - "line": 268, + "line": 446, "column": 32 }, "end": { - "line": 268, + "line": 446, "column": 34 } } @@ -23877,77 +23842,77 @@ "type": "Identifier", "name": "getHeadersRowIndex", "range": [ - 9536, - 9554 + 12410, + 12428 ], "loc": { "start": { - "line": 268, + "line": 446, "column": 35 }, "end": { - "line": 268, + "line": 446, "column": 53 } } }, "range": [ - 9533, - 9554 + 12407, + 12428 ], "loc": { "start": { - "line": 268, + "line": 446, "column": 32 }, "end": { - "line": 268, + "line": 446, "column": 53 } } }, "arguments": [], "range": [ - 9533, - 9556 + 12407, + 12430 ], "loc": { "start": { - "line": 268, + "line": 446, "column": 32 }, "end": { - "line": 268, + "line": 446, "column": 55 } } }, "range": [ - 9483, - 9556 + 12357, + 12430 ], "loc": { "start": { - "line": 267, + "line": 445, "column": 26 }, "end": { - "line": 268, + "line": 446, "column": 55 } } }, "range": [ - 9469, - 9556 + 12343, + 12430 ], "loc": { "start": { - "line": 267, + "line": 445, "column": 12 }, "end": { - "line": 268, + "line": 446, "column": 55 } } @@ -23955,16 +23920,16 @@ ], "kind": "let", "range": [ - 9465, - 9557 + 12339, + 12431 ], "loc": { "start": { - "line": 267, + "line": 445, "column": 8 }, "end": { - "line": 268, + "line": 446, "column": 56 } } @@ -23978,16 +23943,16 @@ "type": "Identifier", "name": "headerRow", "range": [ - 9570, - 9579 + 12444, + 12453 ], "loc": { "start": { - "line": 269, + "line": 447, "column": 12 }, "end": { - "line": 269, + "line": 447, "column": 21 } } @@ -24002,16 +23967,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 9582, - 9585 + 12456, + 12459 ], "loc": { "start": { - "line": 269, + "line": 447, "column": 24 }, "end": { - "line": 269, + "line": 447, "column": 27 } } @@ -24020,31 +23985,31 @@ "type": "Identifier", "name": "rows", "range": [ - 9586, - 9590 + 12460, + 12464 ], "loc": { "start": { - "line": 269, + "line": 447, "column": 28 }, "end": { - "line": 269, + "line": 447, "column": 32 } } }, "range": [ - 9582, - 9590 + 12456, + 12464 ], "loc": { "start": { - "line": 269, + "line": 447, "column": 24 }, "end": { - "line": 269, + "line": 447, "column": 32 } } @@ -24053,46 +24018,46 @@ "type": "Identifier", "name": "headerIndex", "range": [ - 9591, - 9602 + 12465, + 12476 ], "loc": { "start": { - "line": 269, + "line": 447, "column": 33 }, "end": { - "line": 269, + "line": 447, "column": 44 } } }, "range": [ - 9582, - 9603 + 12456, + 12477 ], "loc": { "start": { - "line": 269, + "line": 447, "column": 24 }, "end": { - "line": 269, + "line": 447, "column": 45 } } }, "range": [ - 9570, - 9603 + 12444, + 12477 ], "loc": { "start": { - "line": 269, + "line": 447, "column": 12 }, "end": { - "line": 269, + "line": 447, "column": 45 } } @@ -24100,16 +24065,16 @@ ], "kind": "let", "range": [ - 9566, - 9604 + 12440, + 12478 ], "loc": { "start": { - "line": 269, + "line": 447, "column": 8 }, "end": { - "line": 269, + "line": 447, "column": 46 } }, @@ -24118,16 +24083,16 @@ "type": "Line", "value": "Tick all option", "range": [ - 9614, - 9631 + 12488, + 12505 ], "loc": { "start": { - "line": 271, + "line": 449, "column": 8 }, "end": { - "line": 271, + "line": 449, "column": 25 } } @@ -24142,16 +24107,16 @@ "object": { "type": "ThisExpression", "range": [ - 9644, - 9648 + 12518, + 12522 ], "loc": { "start": { - "line": 272, + "line": 450, "column": 12 }, "end": { - "line": 272, + "line": 450, "column": 16 } } @@ -24160,31 +24125,31 @@ "type": "Identifier", "name": "enableTickAll", "range": [ - 9649, - 9662 + 12523, + 12536 ], "loc": { "start": { - "line": 272, + "line": 450, "column": 17 }, "end": { - "line": 272, + "line": 450, "column": 30 } } }, "range": [ - 9644, - 9662 + 12518, + 12536 ], "loc": { "start": { - "line": 272, + "line": 450, "column": 12 }, "end": { - "line": 272, + "line": 450, "column": 30 } } @@ -24201,16 +24166,16 @@ "type": "Identifier", "name": "li", "range": [ - 9682, - 9684 + 12556, + 12558 ], "loc": { "start": { - "line": 273, + "line": 451, "column": 16 }, "end": { - "line": 273, + "line": 451, "column": 18 } } @@ -24221,16 +24186,16 @@ "type": "Identifier", "name": "createCheckItem", "range": [ - 9687, - 9702 + 12561, + 12576 ], "loc": { "start": { - "line": 273, + "line": 451, "column": 21 }, "end": { - "line": 273, + "line": 451, "column": 36 } } @@ -24244,16 +24209,16 @@ "value": "col__", "raw": "'col__'", "range": [ - 9703, - 9710 + 12577, + 12584 ], "loc": { "start": { - "line": 273, + "line": 451, "column": 37 }, "end": { - "line": 273, + "line": 451, "column": 44 } } @@ -24265,16 +24230,16 @@ "type": "Identifier", "name": "tf", "range": [ - 9713, - 9715 + 12587, + 12589 ], "loc": { "start": { - "line": 273, + "line": 451, "column": 47 }, "end": { - "line": 273, + "line": 451, "column": 49 } } @@ -24283,46 +24248,46 @@ "type": "Identifier", "name": "id", "range": [ - 9716, - 9718 + 12590, + 12592 ], "loc": { "start": { - "line": 273, + "line": 451, "column": 50 }, "end": { - "line": 273, + "line": 451, "column": 52 } } }, "range": [ - 9713, - 9718 + 12587, + 12592 ], "loc": { "start": { - "line": 273, + "line": 451, "column": 47 }, "end": { - "line": 273, + "line": 451, "column": 52 } } }, "range": [ - 9703, - 9718 + 12577, + 12592 ], "loc": { "start": { - "line": 273, + "line": 451, "column": 37 }, "end": { - "line": 273, + "line": 451, "column": 52 } } @@ -24333,16 +24298,16 @@ "object": { "type": "ThisExpression", "range": [ - 9720, - 9724 + 12594, + 12598 ], "loc": { "start": { - "line": 273, + "line": 451, "column": 54 }, "end": { - "line": 273, + "line": 451, "column": 58 } } @@ -24351,31 +24316,31 @@ "type": "Identifier", "name": "tickAllText", "range": [ - 9725, - 9736 + 12599, + 12610 ], "loc": { "start": { - "line": 273, + "line": 451, "column": 59 }, "end": { - "line": 273, + "line": 451, "column": 70 } } }, "range": [ - 9720, - 9736 + 12594, + 12610 ], "loc": { "start": { - "line": 273, + "line": 451, "column": 54 }, "end": { - "line": 273, + "line": 451, "column": 70 } } @@ -24386,16 +24351,16 @@ "object": { "type": "ThisExpression", "range": [ - 9754, - 9758 + 12628, + 12632 ], "loc": { "start": { - "line": 274, + "line": 452, "column": 16 }, "end": { - "line": 274, + "line": 452, "column": 20 } } @@ -24404,62 +24369,62 @@ "type": "Identifier", "name": "tickAllText", "range": [ - 9759, - 9770 + 12633, + 12644 ], "loc": { "start": { - "line": 274, + "line": 452, "column": 21 }, "end": { - "line": 274, + "line": 452, "column": 32 } } }, "range": [ - 9754, - 9770 + 12628, + 12644 ], "loc": { "start": { - "line": 274, + "line": 452, "column": 16 }, "end": { - "line": 274, + "line": 452, "column": 32 } } } ], "range": [ - 9687, - 9771 + 12561, + 12645 ], "loc": { "start": { - "line": 273, + "line": 451, "column": 21 }, "end": { - "line": 274, + "line": 452, "column": 33 } } }, "range": [ - 9682, - 9771 + 12556, + 12645 ], "loc": { "start": { - "line": 273, + "line": 451, "column": 16 }, "end": { - "line": 274, + "line": 452, "column": 33 } } @@ -24467,16 +24432,16 @@ ], "kind": "let", "range": [ - 9678, - 9772 + 12552, + 12646 ], "loc": { "start": { - "line": 273, + "line": 451, "column": 12 }, "end": { - "line": 274, + "line": 452, "column": 34 } } @@ -24489,16 +24454,16 @@ "type": "Identifier", "name": "addClass", "range": [ - 9785, - 9793 + 12659, + 12667 ], "loc": { "start": { - "line": 275, + "line": 453, "column": 12 }, "end": { - "line": 275, + "line": 453, "column": 20 } } @@ -24508,16 +24473,16 @@ "type": "Identifier", "name": "li", "range": [ - 9794, - 9796 + 12668, + 12670 ], "loc": { "start": { - "line": 275, + "line": 453, "column": 21 }, "end": { - "line": 275, + "line": 453, "column": 23 } } @@ -24528,16 +24493,16 @@ "object": { "type": "ThisExpression", "range": [ - 9798, - 9802 + 12672, + 12676 ], "loc": { "start": { - "line": 275, + "line": 453, "column": 25 }, "end": { - "line": 275, + "line": 453, "column": 29 } } @@ -24546,62 +24511,62 @@ "type": "Identifier", "name": "listItemCssClass", "range": [ - 9803, - 9819 + 12677, + 12693 ], "loc": { "start": { - "line": 275, + "line": 453, "column": 30 }, "end": { - "line": 275, + "line": 453, "column": 46 } } }, "range": [ - 9798, - 9819 + 12672, + 12693 ], "loc": { "start": { - "line": 275, + "line": 453, "column": 25 }, "end": { - "line": 275, + "line": 453, "column": 46 } } } ], "range": [ - 9785, - 9820 + 12659, + 12694 ], "loc": { "start": { - "line": 275, + "line": 453, "column": 12 }, "end": { - "line": 275, + "line": 453, "column": 47 } } }, "range": [ - 9785, - 9821 + 12659, + 12695 ], "loc": { "start": { - "line": 275, + "line": 453, "column": 12 }, "end": { - "line": 275, + "line": 453, "column": 48 } } @@ -24617,16 +24582,16 @@ "type": "Identifier", "name": "ul", "range": [ - 9834, - 9836 + 12708, + 12710 ], "loc": { "start": { - "line": 276, + "line": 454, "column": 12 }, "end": { - "line": 276, + "line": 454, "column": 14 } } @@ -24635,31 +24600,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 9837, - 9848 + 12711, + 12722 ], "loc": { "start": { - "line": 276, + "line": 454, "column": 15 }, "end": { - "line": 276, + "line": 454, "column": 26 } } }, "range": [ - 9834, - 9848 + 12708, + 12722 ], "loc": { "start": { - "line": 276, + "line": 454, "column": 12 }, "end": { - "line": 276, + "line": 454, "column": 26 } } @@ -24669,47 +24634,47 @@ "type": "Identifier", "name": "li", "range": [ - 9849, - 9851 + 12723, + 12725 ], "loc": { "start": { - "line": 276, + "line": 454, "column": 27 }, "end": { - "line": 276, + "line": 454, "column": 29 } } } ], "range": [ - 9834, - 9852 + 12708, + 12726 ], "loc": { "start": { - "line": 276, + "line": 454, "column": 12 }, "end": { - "line": 276, + "line": 454, "column": 30 } } }, "range": [ - 9834, - 9853 + 12708, + 12727 ], "loc": { "start": { - "line": 276, + "line": 454, "column": 12 }, "end": { - "line": 276, + "line": 454, "column": 31 } } @@ -24729,16 +24694,16 @@ "type": "Identifier", "name": "li", "range": [ - 9866, - 9868 + 12740, + 12742 ], "loc": { "start": { - "line": 277, + "line": 455, "column": 12 }, "end": { - "line": 277, + "line": 455, "column": 14 } } @@ -24747,31 +24712,31 @@ "type": "Identifier", "name": "check", "range": [ - 9869, - 9874 + 12743, + 12748 ], "loc": { "start": { - "line": 277, + "line": 455, "column": 15 }, "end": { - "line": 277, + "line": 455, "column": 20 } } }, "range": [ - 9866, - 9874 + 12740, + 12748 ], "loc": { "start": { - "line": 277, + "line": 455, "column": 12 }, "end": { - "line": 277, + "line": 455, "column": 20 } } @@ -24780,31 +24745,31 @@ "type": "Identifier", "name": "checked", "range": [ - 9875, - 9882 + 12749, + 12756 ], "loc": { "start": { - "line": 277, + "line": 455, "column": 21 }, "end": { - "line": 277, + "line": 455, "column": 28 } } }, "range": [ - 9866, - 9882 + 12740, + 12756 ], "loc": { "start": { - "line": 277, + "line": 455, "column": 12 }, "end": { - "line": 277, + "line": 455, "column": 28 } } @@ -24818,16 +24783,16 @@ "object": { "type": "ThisExpression", "range": [ - 9886, - 9890 + 12760, + 12764 ], "loc": { "start": { - "line": 277, + "line": 455, "column": 32 }, "end": { - "line": 277, + "line": 455, "column": 36 } } @@ -24836,77 +24801,77 @@ "type": "Identifier", "name": "tickToHide", "range": [ - 9891, - 9901 + 12765, + 12775 ], "loc": { "start": { - "line": 277, + "line": 455, "column": 37 }, "end": { - "line": 277, + "line": 455, "column": 47 } } }, "range": [ - 9886, - 9901 + 12760, + 12775 ], "loc": { "start": { - "line": 277, + "line": 455, "column": 32 }, "end": { - "line": 277, + "line": 455, "column": 47 } } }, "prefix": true, "range": [ - 9885, - 9901 + 12759, + 12775 ], "loc": { "start": { - "line": 277, + "line": 455, "column": 31 }, "end": { - "line": 277, + "line": 455, "column": 47 } } }, "range": [ - 9866, - 9901 + 12740, + 12775 ], "loc": { "start": { - "line": 277, + "line": 455, "column": 12 }, "end": { - "line": 277, + "line": 455, "column": 47 } } }, "range": [ - 9866, - 9902 + 12740, + 12776 ], "loc": { "start": { - "line": 277, + "line": 455, "column": 12 }, "end": { - "line": 277, + "line": 455, "column": 48 } } @@ -24919,16 +24884,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 9916, - 9922 + 12790, + 12796 ], "loc": { "start": { - "line": 279, + "line": 457, "column": 12 }, "end": { - "line": 279, + "line": 457, "column": 18 } } @@ -24941,16 +24906,16 @@ "type": "Identifier", "name": "li", "range": [ - 9923, - 9925 + 12797, + 12799 ], "loc": { "start": { - "line": 279, + "line": 457, "column": 19 }, "end": { - "line": 279, + "line": 457, "column": 21 } } @@ -24959,31 +24924,31 @@ "type": "Identifier", "name": "check", "range": [ - 9926, - 9931 + 12800, + 12805 ], "loc": { "start": { - "line": 279, + "line": 457, "column": 22 }, "end": { - "line": 279, + "line": 457, "column": 27 } } }, "range": [ - 9923, - 9931 + 12797, + 12805 ], "loc": { "start": { - "line": 279, + "line": 457, "column": 19 }, "end": { - "line": 279, + "line": 457, "column": 27 } } @@ -24993,16 +24958,16 @@ "value": "click", "raw": "'click'", "range": [ - 9933, - 9940 + 12807, + 12814 ], "loc": { "start": { - "line": 279, + "line": 457, "column": 29 }, "end": { - "line": 279, + "line": 457, "column": 36 } } @@ -25025,16 +24990,16 @@ "type": "Identifier", "name": "h", "range": [ - 9975, - 9976 + 12849, + 12850 ], "loc": { "start": { - "line": 280, + "line": 458, "column": 25 }, "end": { - "line": 280, + "line": 458, "column": 26 } } @@ -25044,31 +25009,31 @@ "value": 0, "raw": "0", "range": [ - 9979, - 9980 + 12853, + 12854 ], "loc": { "start": { - "line": 280, + "line": 458, "column": 29 }, "end": { - "line": 280, + "line": 458, "column": 30 } } }, "range": [ - 9975, - 9980 + 12849, + 12854 ], "loc": { "start": { - "line": 280, + "line": 458, "column": 25 }, "end": { - "line": 280, + "line": 458, "column": 30 } } @@ -25076,16 +25041,16 @@ ], "kind": "let", "range": [ - 9971, - 9980 + 12845, + 12854 ], "loc": { "start": { - "line": 280, + "line": 458, "column": 21 }, "end": { - "line": 280, + "line": 458, "column": 30 } } @@ -25097,16 +25062,16 @@ "type": "Identifier", "name": "h", "range": [ - 9982, - 9983 + 12856, + 12857 ], "loc": { "start": { - "line": 280, + "line": 458, "column": 32 }, "end": { - "line": 280, + "line": 458, "column": 33 } } @@ -25121,16 +25086,16 @@ "type": "Identifier", "name": "headerRow", "range": [ - 9986, - 9995 + 12860, + 12869 ], "loc": { "start": { - "line": 280, + "line": 458, "column": 36 }, "end": { - "line": 280, + "line": 458, "column": 45 } } @@ -25139,31 +25104,31 @@ "type": "Identifier", "name": "cells", "range": [ - 9996, - 10001 + 12870, + 12875 ], "loc": { "start": { - "line": 280, + "line": 458, "column": 46 }, "end": { - "line": 280, + "line": 458, "column": 51 } } }, "range": [ - 9986, - 10001 + 12860, + 12875 ], "loc": { "start": { - "line": 280, + "line": 458, "column": 36 }, "end": { - "line": 280, + "line": 458, "column": 51 } } @@ -25172,46 +25137,46 @@ "type": "Identifier", "name": "length", "range": [ - 10002, - 10008 + 12876, + 12882 ], "loc": { "start": { - "line": 280, + "line": 458, "column": 52 }, "end": { - "line": 280, + "line": 458, "column": 58 } } }, "range": [ - 9986, - 10008 + 12860, + 12882 ], "loc": { "start": { - "line": 280, + "line": 458, "column": 36 }, "end": { - "line": 280, + "line": 458, "column": 58 } } }, "range": [ - 9982, - 10008 + 12856, + 12882 ], "loc": { "start": { - "line": 280, + "line": 458, "column": 32 }, "end": { - "line": 280, + "line": 458, "column": 58 } } @@ -25223,32 +25188,32 @@ "type": "Identifier", "name": "h", "range": [ - 10010, - 10011 + 12884, + 12885 ], "loc": { "start": { - "line": 280, + "line": 458, "column": 60 }, "end": { - "line": 280, + "line": 458, "column": 61 } } }, "prefix": false, "range": [ - 10010, - 10013 + 12884, + 12887 ], "loc": { "start": { - "line": 280, + "line": 458, "column": 60 }, "end": { - "line": 280, + "line": 458, "column": 63 } } @@ -25265,16 +25230,16 @@ "type": "Identifier", "name": "itm", "range": [ - 10041, - 10044 + 12915, + 12918 ], "loc": { "start": { - "line": 281, + "line": 459, "column": 24 }, "end": { - "line": 281, + "line": 459, "column": 27 } } @@ -25285,16 +25250,16 @@ "type": "Identifier", "name": "elm", "range": [ - 10047, - 10050 + 12921, + 12924 ], "loc": { "start": { - "line": 281, + "line": 459, "column": 30 }, "end": { - "line": 281, + "line": 459, "column": 33 } } @@ -25314,16 +25279,16 @@ "value": "col_", "raw": "'col_'", "range": [ - 10051, - 10057 + 12925, + 12931 ], "loc": { "start": { - "line": 281, + "line": 459, "column": 34 }, "end": { - "line": 281, + "line": 459, "column": 40 } } @@ -25332,31 +25297,31 @@ "type": "Identifier", "name": "h", "range": [ - 10060, - 10061 + 12934, + 12935 ], "loc": { "start": { - "line": 281, + "line": 459, "column": 43 }, "end": { - "line": 281, + "line": 459, "column": 44 } } }, "range": [ - 10051, - 10061 + 12925, + 12935 ], "loc": { "start": { - "line": 281, + "line": 459, "column": 34 }, "end": { - "line": 281, + "line": 459, "column": 44 } } @@ -25366,31 +25331,31 @@ "value": "_", "raw": "'_'", "range": [ - 10064, - 10067 + 12938, + 12941 ], "loc": { "start": { - "line": 281, + "line": 459, "column": 47 }, "end": { - "line": 281, + "line": 459, "column": 50 } } }, "range": [ - 10051, - 10067 + 12925, + 12941 ], "loc": { "start": { - "line": 281, + "line": 459, "column": 34 }, "end": { - "line": 281, + "line": 459, "column": 50 } } @@ -25402,16 +25367,16 @@ "type": "Identifier", "name": "tf", "range": [ - 10070, - 10072 + 12944, + 12946 ], "loc": { "start": { - "line": 281, + "line": 459, "column": 53 }, "end": { - "line": 281, + "line": 459, "column": 55 } } @@ -25420,77 +25385,77 @@ "type": "Identifier", "name": "id", "range": [ - 10073, - 10075 + 12947, + 12949 ], "loc": { "start": { - "line": 281, + "line": 459, "column": 56 }, "end": { - "line": 281, + "line": 459, "column": 58 } } }, "range": [ - 10070, - 10075 + 12944, + 12949 ], "loc": { "start": { - "line": 281, + "line": 459, "column": 53 }, "end": { - "line": 281, + "line": 459, "column": 58 } } }, "range": [ - 10051, - 10075 + 12925, + 12949 ], "loc": { "start": { - "line": 281, + "line": 459, "column": 34 }, "end": { - "line": 281, + "line": 459, "column": 58 } } } ], "range": [ - 10047, - 10076 + 12921, + 12950 ], "loc": { "start": { - "line": 281, + "line": 459, "column": 30 }, "end": { - "line": 281, + "line": 459, "column": 59 } } }, "range": [ - 10041, - 10076 + 12915, + 12950 ], "loc": { "start": { - "line": 281, + "line": 459, "column": 24 }, "end": { - "line": 281, + "line": 459, "column": 59 } } @@ -25498,16 +25463,16 @@ ], "kind": "let", "range": [ - 10037, - 10077 + 12911, + 12951 ], "loc": { "start": { - "line": 281, + "line": 459, "column": 20 }, "end": { - "line": 281, + "line": 459, "column": 60 } } @@ -25521,16 +25486,16 @@ "type": "Identifier", "name": "itm", "range": [ - 10102, - 10105 + 12976, + 12979 ], "loc": { "start": { - "line": 282, + "line": 460, "column": 24 }, "end": { - "line": 282, + "line": 460, "column": 27 } } @@ -25548,16 +25513,16 @@ "type": "Identifier", "name": "li", "range": [ - 10109, - 10111 + 12983, + 12985 ], "loc": { "start": { - "line": 282, + "line": 460, "column": 31 }, "end": { - "line": 282, + "line": 460, "column": 33 } } @@ -25566,31 +25531,31 @@ "type": "Identifier", "name": "check", "range": [ - 10112, - 10117 + 12986, + 12991 ], "loc": { "start": { - "line": 282, + "line": 460, "column": 34 }, "end": { - "line": 282, + "line": 460, "column": 39 } } }, "range": [ - 10109, - 10117 + 12983, + 12991 ], "loc": { "start": { - "line": 282, + "line": 460, "column": 31 }, "end": { - "line": 282, + "line": 460, "column": 39 } } @@ -25599,31 +25564,31 @@ "type": "Identifier", "name": "checked", "range": [ - 10118, - 10125 + 12992, + 12999 ], "loc": { "start": { - "line": 282, + "line": 460, "column": 40 }, "end": { - "line": 282, + "line": 460, "column": 47 } } }, "range": [ - 10109, - 10125 + 12983, + 12999 ], "loc": { "start": { - "line": 282, + "line": 460, "column": 31 }, "end": { - "line": 282, + "line": 460, "column": 47 } } @@ -25635,16 +25600,16 @@ "type": "Identifier", "name": "itm", "range": [ - 10130, - 10133 + 13004, + 13007 ], "loc": { "start": { - "line": 282, + "line": 460, "column": 52 }, "end": { - "line": 282, + "line": 460, "column": 55 } } @@ -25653,61 +25618,61 @@ "type": "Identifier", "name": "checked", "range": [ - 10134, - 10141 + 13008, + 13015 ], "loc": { "start": { - "line": 282, + "line": 460, "column": 56 }, "end": { - "line": 282, + "line": 460, "column": 63 } } }, "range": [ - 10130, - 10141 + 13004, + 13015 ], "loc": { "start": { - "line": 282, + "line": 460, "column": 52 }, "end": { - "line": 282, + "line": 460, "column": 63 } } }, "range": [ - 10109, - 10141 + 12983, + 13015 ], "loc": { "start": { - "line": 282, + "line": 460, "column": 31 }, "end": { - "line": 282, + "line": 460, "column": 63 } } }, "range": [ - 10102, - 10141 + 12976, + 13015 ], "loc": { "start": { - "line": 282, + "line": 460, "column": 24 }, "end": { - "line": 282, + "line": 460, "column": 63 } } @@ -25726,16 +25691,16 @@ "type": "Identifier", "name": "itm", "range": [ - 10169, - 10172 + 13043, + 13046 ], "loc": { "start": { - "line": 283, + "line": 461, "column": 24 }, "end": { - "line": 283, + "line": 461, "column": 27 } } @@ -25744,62 +25709,62 @@ "type": "Identifier", "name": "click", "range": [ - 10173, - 10178 + 13047, + 13052 ], "loc": { "start": { - "line": 283, + "line": 461, "column": 28 }, "end": { - "line": 283, + "line": 461, "column": 33 } } }, "range": [ - 10169, - 10178 + 13043, + 13052 ], "loc": { "start": { - "line": 283, + "line": 461, "column": 24 }, "end": { - "line": 283, + "line": 461, "column": 33 } } }, "arguments": [], "range": [ - 10169, - 10180 + 13043, + 13054 ], "loc": { "start": { - "line": 283, + "line": 461, "column": 24 }, "end": { - "line": 283, + "line": 461, "column": 35 } } }, "range": [ - 10169, - 10181 + 13043, + 13055 ], "loc": { "start": { - "line": 283, + "line": 461, "column": 24 }, "end": { - "line": 283, + "line": 461, "column": 36 } } @@ -25816,16 +25781,16 @@ "type": "Identifier", "name": "itm", "range": [ - 10206, - 10209 + 13080, + 13083 ], "loc": { "start": { - "line": 284, + "line": 462, "column": 24 }, "end": { - "line": 284, + "line": 462, "column": 27 } } @@ -25834,31 +25799,31 @@ "type": "Identifier", "name": "checked", "range": [ - 10210, - 10217 + 13084, + 13091 ], "loc": { "start": { - "line": 284, + "line": 462, "column": 28 }, "end": { - "line": 284, + "line": 462, "column": 35 } } }, "range": [ - 10206, - 10217 + 13080, + 13091 ], "loc": { "start": { - "line": 284, + "line": 462, "column": 24 }, "end": { - "line": 284, + "line": 462, "column": 35 } } @@ -25873,16 +25838,16 @@ "type": "Identifier", "name": "li", "range": [ - 10220, - 10222 + 13094, + 13096 ], "loc": { "start": { - "line": 284, + "line": 462, "column": 38 }, "end": { - "line": 284, + "line": 462, "column": 40 } } @@ -25891,31 +25856,31 @@ "type": "Identifier", "name": "check", "range": [ - 10223, - 10228 + 13097, + 13102 ], "loc": { "start": { - "line": 284, + "line": 462, "column": 41 }, "end": { - "line": 284, + "line": 462, "column": 46 } } }, "range": [ - 10220, - 10228 + 13094, + 13102 ], "loc": { "start": { - "line": 284, + "line": 462, "column": 38 }, "end": { - "line": 284, + "line": 462, "column": 46 } } @@ -25924,140 +25889,140 @@ "type": "Identifier", "name": "checked", "range": [ - 10229, - 10236 + 13103, + 13110 ], "loc": { "start": { - "line": 284, + "line": 462, "column": 47 }, "end": { - "line": 284, + "line": 462, "column": 54 } } }, "range": [ - 10220, - 10236 + 13094, + 13110 ], "loc": { "start": { - "line": 284, + "line": 462, "column": 38 }, "end": { - "line": 284, + "line": 462, "column": 54 } } }, "range": [ - 10206, - 10236 + 13080, + 13110 ], "loc": { "start": { - "line": 284, + "line": 462, "column": 24 }, "end": { - "line": 284, + "line": 462, "column": 54 } } }, "range": [ - 10206, - 10237 + 13080, + 13111 ], "loc": { "start": { - "line": 284, + "line": 462, "column": 24 }, "end": { - "line": 284, + "line": 462, "column": 55 } } } ], "range": [ - 10143, - 10259 + 13017, + 13133 ], "loc": { "start": { - "line": 282, + "line": 460, "column": 65 }, "end": { - "line": 285, + "line": 463, "column": 21 } } }, "alternate": null, "range": [ - 10098, - 10259 + 12972, + 13133 ], "loc": { "start": { - "line": 282, + "line": 460, "column": 20 }, "end": { - "line": 285, + "line": 463, "column": 21 } } } ], "range": [ - 10015, - 10277 + 12889, + 13151 ], "loc": { "start": { - "line": 280, + "line": 458, "column": 65 }, "end": { - "line": 286, + "line": 464, "column": 17 } } }, "range": [ - 9966, - 10277 + 12840, + 13151 ], "loc": { "start": { - "line": 280, + "line": 458, "column": 16 }, "end": { - "line": 286, + "line": 464, "column": 17 } } } ], "range": [ - 9948, - 10291 + 12822, + 13165 ], "loc": { "start": { - "line": 279, + "line": 457, "column": 44 }, "end": { - "line": 287, + "line": 465, "column": 13 } } @@ -26065,79 +26030,79 @@ "generator": false, "expression": false, "range": [ - 9942, - 10291 + 12816, + 13165 ], "loc": { "start": { - "line": 279, + "line": 457, "column": 38 }, "end": { - "line": 287, + "line": 465, "column": 13 } } } ], "range": [ - 9916, - 10292 + 12790, + 13166 ], "loc": { "start": { - "line": 279, + "line": 457, "column": 12 }, "end": { - "line": 287, + "line": 465, "column": 14 } } }, "range": [ - 9916, - 10293 + 12790, + 13167 ], "loc": { "start": { - "line": 279, + "line": 457, "column": 12 }, "end": { - "line": 287, + "line": 465, "column": 15 } } } ], "range": [ - 9664, - 10303 + 12538, + 13177 ], "loc": { "start": { - "line": 272, + "line": 450, "column": 32 }, "end": { - "line": 288, + "line": 466, "column": 9 } } }, "alternate": null, "range": [ - 9640, - 10303 + 12514, + 13177 ], "loc": { "start": { - "line": 272, + "line": 450, "column": 8 }, "end": { - "line": 288, + "line": 466, "column": 9 } }, @@ -26146,16 +26111,16 @@ "type": "Line", "value": "Tick all option", "range": [ - 9614, - 9631 + 12488, + 12505 ], "loc": { "start": { - "line": 271, + "line": 449, "column": 8 }, "end": { - "line": 271, + "line": 449, "column": 25 } } @@ -26173,16 +26138,16 @@ "type": "Identifier", "name": "i", "range": [ - 10322, - 10323 + 13196, + 13197 ], "loc": { "start": { - "line": 290, + "line": 468, "column": 17 }, "end": { - "line": 290, + "line": 468, "column": 18 } } @@ -26192,31 +26157,31 @@ "value": 0, "raw": "0", "range": [ - 10326, - 10327 + 13200, + 13201 ], "loc": { "start": { - "line": 290, + "line": 468, "column": 21 }, "end": { - "line": 290, + "line": 468, "column": 22 } } }, "range": [ - 10322, - 10327 + 13196, + 13201 ], "loc": { "start": { - "line": 290, + "line": 468, "column": 17 }, "end": { - "line": 290, + "line": 468, "column": 22 } } @@ -26224,16 +26189,16 @@ ], "kind": "let", "range": [ - 10318, - 10327 + 13192, + 13201 ], "loc": { "start": { - "line": 290, + "line": 468, "column": 13 }, "end": { - "line": 290, + "line": 468, "column": 22 } } @@ -26245,16 +26210,16 @@ "type": "Identifier", "name": "i", "range": [ - 10329, - 10330 + 13203, + 13204 ], "loc": { "start": { - "line": 290, + "line": 468, "column": 24 }, "end": { - "line": 290, + "line": 468, "column": 25 } } @@ -26269,16 +26234,16 @@ "type": "Identifier", "name": "headerRow", "range": [ - 10333, - 10342 + 13207, + 13216 ], "loc": { "start": { - "line": 290, + "line": 468, "column": 28 }, "end": { - "line": 290, + "line": 468, "column": 37 } } @@ -26287,31 +26252,31 @@ "type": "Identifier", "name": "cells", "range": [ - 10343, - 10348 + 13217, + 13222 ], "loc": { "start": { - "line": 290, + "line": 468, "column": 38 }, "end": { - "line": 290, + "line": 468, "column": 43 } } }, "range": [ - 10333, - 10348 + 13207, + 13222 ], "loc": { "start": { - "line": 290, + "line": 468, "column": 28 }, "end": { - "line": 290, + "line": 468, "column": 43 } } @@ -26320,46 +26285,46 @@ "type": "Identifier", "name": "length", "range": [ - 10349, - 10355 + 13223, + 13229 ], "loc": { "start": { - "line": 290, + "line": 468, "column": 44 }, "end": { - "line": 290, + "line": 468, "column": 50 } } }, "range": [ - 10333, - 10355 + 13207, + 13229 ], "loc": { "start": { - "line": 290, + "line": 468, "column": 28 }, "end": { - "line": 290, + "line": 468, "column": 50 } } }, "range": [ - 10329, - 10355 + 13203, + 13229 ], "loc": { "start": { - "line": 290, + "line": 468, "column": 24 }, "end": { - "line": 290, + "line": 468, "column": 50 } } @@ -26371,32 +26336,32 @@ "type": "Identifier", "name": "i", "range": [ - 10357, - 10358 + 13231, + 13232 ], "loc": { "start": { - "line": 290, + "line": 468, "column": 52 }, "end": { - "line": 290, + "line": 468, "column": 53 } } }, "prefix": false, "range": [ - 10357, - 10360 + 13231, + 13234 ], "loc": { "start": { - "line": 290, + "line": 468, "column": 52 }, "end": { - "line": 290, + "line": 468, "column": 55 } } @@ -26413,16 +26378,16 @@ "type": "Identifier", "name": "cell", "range": [ - 10380, - 10384 + 13254, + 13258 ], "loc": { "start": { - "line": 291, + "line": 469, "column": 16 }, "end": { - "line": 291, + "line": 469, "column": 20 } } @@ -26437,16 +26402,16 @@ "type": "Identifier", "name": "headerRow", "range": [ - 10387, - 10396 + 13261, + 13270 ], "loc": { "start": { - "line": 291, + "line": 469, "column": 23 }, "end": { - "line": 291, + "line": 469, "column": 32 } } @@ -26455,31 +26420,31 @@ "type": "Identifier", "name": "cells", "range": [ - 10397, - 10402 + 13271, + 13276 ], "loc": { "start": { - "line": 291, + "line": 469, "column": 33 }, "end": { - "line": 291, + "line": 469, "column": 38 } } }, "range": [ - 10387, - 10402 + 13261, + 13276 ], "loc": { "start": { - "line": 291, + "line": 469, "column": 23 }, "end": { - "line": 291, + "line": 469, "column": 38 } } @@ -26488,46 +26453,46 @@ "type": "Identifier", "name": "i", "range": [ - 10403, - 10404 + 13277, + 13278 ], "loc": { "start": { - "line": 291, + "line": 469, "column": 39 }, "end": { - "line": 291, + "line": 469, "column": 40 } } }, "range": [ - 10387, - 10405 + 13261, + 13279 ], "loc": { "start": { - "line": 291, + "line": 469, "column": 23 }, "end": { - "line": 291, + "line": 469, "column": 41 } } }, "range": [ - 10380, - 10405 + 13254, + 13279 ], "loc": { "start": { - "line": 291, + "line": 469, "column": 16 }, "end": { - "line": 291, + "line": 469, "column": 41 } } @@ -26535,16 +26500,16 @@ ], "kind": "let", "range": [ - 10376, - 10406 + 13250, + 13280 ], "loc": { "start": { - "line": 291, + "line": 469, "column": 12 }, "end": { - "line": 291, + "line": 469, "column": 42 } } @@ -26558,16 +26523,16 @@ "type": "Identifier", "name": "cellText", "range": [ - 10423, - 10431 + 13297, + 13305 ], "loc": { "start": { - "line": 292, + "line": 470, "column": 16 }, "end": { - "line": 292, + "line": 470, "column": 24 } } @@ -26583,16 +26548,16 @@ "object": { "type": "ThisExpression", "range": [ - 10434, - 10438 + 13308, + 13312 ], "loc": { "start": { - "line": 292, + "line": 470, "column": 27 }, "end": { - "line": 292, + "line": 470, "column": 31 } } @@ -26601,31 +26566,31 @@ "type": "Identifier", "name": "headersText", "range": [ - 10439, - 10450 + 13313, + 13324 ], "loc": { "start": { - "line": 292, + "line": 470, "column": 32 }, "end": { - "line": 292, + "line": 470, "column": 43 } } }, "range": [ - 10434, - 10450 + 13308, + 13324 ], "loc": { "start": { - "line": 292, + "line": 470, "column": 27 }, "end": { - "line": 292, + "line": 470, "column": 43 } } @@ -26639,16 +26604,16 @@ "object": { "type": "ThisExpression", "range": [ - 10454, - 10458 + 13328, + 13332 ], "loc": { "start": { - "line": 292, + "line": 470, "column": 47 }, "end": { - "line": 292, + "line": 470, "column": 51 } } @@ -26657,31 +26622,31 @@ "type": "Identifier", "name": "headersText", "range": [ - 10459, - 10470 + 13333, + 13344 ], "loc": { "start": { - "line": 292, + "line": 470, "column": 52 }, "end": { - "line": 292, + "line": 470, "column": 63 } } }, "range": [ - 10454, - 10470 + 13328, + 13344 ], "loc": { "start": { - "line": 292, + "line": 470, "column": 47 }, "end": { - "line": 292, + "line": 470, "column": 63 } } @@ -26690,46 +26655,46 @@ "type": "Identifier", "name": "i", "range": [ - 10471, - 10472 + 13345, + 13346 ], "loc": { "start": { - "line": 292, + "line": 470, "column": 64 }, "end": { - "line": 292, + "line": 470, "column": 65 } } }, "range": [ - 10454, - 10473 + 13328, + 13347 ], "loc": { "start": { - "line": 292, + "line": 470, "column": 47 }, "end": { - "line": 292, + "line": 470, "column": 66 } } }, "range": [ - 10434, - 10473 + 13308, + 13347 ], "loc": { "start": { - "line": 292, + "line": 470, "column": 27 }, "end": { - "line": 292, + "line": 470, "column": 66 } } @@ -26743,16 +26708,16 @@ "object": { "type": "ThisExpression", "range": [ - 10492, - 10496 + 13366, + 13370 ], "loc": { "start": { - "line": 293, + "line": 471, "column": 16 }, "end": { - "line": 293, + "line": 471, "column": 20 } } @@ -26761,31 +26726,31 @@ "type": "Identifier", "name": "headersText", "range": [ - 10497, - 10508 + 13371, + 13382 ], "loc": { "start": { - "line": 293, + "line": 471, "column": 21 }, "end": { - "line": 293, + "line": 471, "column": 32 } } }, "range": [ - 10492, - 10508 + 13366, + 13382 ], "loc": { "start": { - "line": 293, + "line": 471, "column": 16 }, "end": { - "line": 293, + "line": 471, "column": 32 } } @@ -26794,31 +26759,31 @@ "type": "Identifier", "name": "i", "range": [ - 10509, - 10510 + 13383, + 13384 ], "loc": { "start": { - "line": 293, + "line": 471, "column": 33 }, "end": { - "line": 293, + "line": 471, "column": 34 } } }, "range": [ - 10492, - 10511 + 13366, + 13385 ], "loc": { "start": { - "line": 293, + "line": 471, "column": 16 }, "end": { - "line": 293, + "line": 471, "column": 35 } } @@ -26831,16 +26796,16 @@ "object": { "type": "ThisExpression", "range": [ - 10514, - 10518 + 13388, + 13392 ], "loc": { "start": { - "line": 293, + "line": 471, "column": 38 }, "end": { - "line": 293, + "line": 471, "column": 42 } } @@ -26849,31 +26814,31 @@ "type": "Identifier", "name": "_getHeaderText", "range": [ - 10519, - 10533 + 13393, + 13407 ], "loc": { "start": { - "line": 293, + "line": 471, "column": 43 }, "end": { - "line": 293, + "line": 471, "column": 57 } } }, "range": [ - 10514, - 10533 + 13388, + 13407 ], "loc": { "start": { - "line": 293, + "line": 471, "column": 38 }, "end": { - "line": 293, + "line": 471, "column": 57 } } @@ -26883,62 +26848,62 @@ "type": "Identifier", "name": "cell", "range": [ - 10534, - 10538 + 13408, + 13412 ], "loc": { "start": { - "line": 293, + "line": 471, "column": 58 }, "end": { - "line": 293, + "line": 471, "column": 62 } } } ], "range": [ - 10514, - 10539 + 13388, + 13413 ], "loc": { "start": { - "line": 293, + "line": 471, "column": 38 }, "end": { - "line": 293, + "line": 471, "column": 63 } } }, "range": [ - 10434, - 10539 + 13308, + 13413 ], "loc": { "start": { - "line": 292, + "line": 470, "column": 27 }, "end": { - "line": 293, + "line": 471, "column": 63 } } }, "range": [ - 10423, - 10539 + 13297, + 13413 ], "loc": { "start": { - "line": 292, + "line": 470, "column": 16 }, "end": { - "line": 293, + "line": 471, "column": 63 } } @@ -26946,16 +26911,16 @@ ], "kind": "let", "range": [ - 10419, - 10540 + 13293, + 13414 ], "loc": { "start": { - "line": 292, + "line": 470, "column": 12 }, "end": { - "line": 293, + "line": 471, "column": 64 } } @@ -26969,16 +26934,16 @@ "type": "Identifier", "name": "liElm", "range": [ - 10557, - 10562 + 13431, + 13436 ], "loc": { "start": { - "line": 294, + "line": 472, "column": 16 }, "end": { - "line": 294, + "line": 472, "column": 21 } } @@ -26989,16 +26954,16 @@ "type": "Identifier", "name": "createCheckItem", "range": [ - 10565, - 10580 + 13439, + 13454 ], "loc": { "start": { - "line": 294, + "line": 472, "column": 24 }, "end": { - "line": 294, + "line": 472, "column": 39 } } @@ -27018,16 +26983,16 @@ "value": "col_", "raw": "'col_'", "range": [ - 10581, - 10587 + 13455, + 13461 ], "loc": { "start": { - "line": 294, + "line": 472, "column": 40 }, "end": { - "line": 294, + "line": 472, "column": 46 } } @@ -27036,31 +27001,31 @@ "type": "Identifier", "name": "i", "range": [ - 10590, - 10591 + 13464, + 13465 ], "loc": { "start": { - "line": 294, + "line": 472, "column": 49 }, "end": { - "line": 294, + "line": 472, "column": 50 } } }, "range": [ - 10581, - 10591 + 13455, + 13465 ], "loc": { "start": { - "line": 294, + "line": 472, "column": 40 }, "end": { - "line": 294, + "line": 472, "column": 50 } } @@ -27070,31 +27035,31 @@ "value": "_", "raw": "'_'", "range": [ - 10594, - 10597 + 13468, + 13471 ], "loc": { "start": { - "line": 294, + "line": 472, "column": 53 }, "end": { - "line": 294, + "line": 472, "column": 56 } } }, "range": [ - 10581, - 10597 + 13455, + 13471 ], "loc": { "start": { - "line": 294, + "line": 472, "column": 40 }, "end": { - "line": 294, + "line": 472, "column": 56 } } @@ -27106,16 +27071,16 @@ "type": "Identifier", "name": "tf", "range": [ - 10600, - 10602 + 13474, + 13476 ], "loc": { "start": { - "line": 294, + "line": 472, "column": 59 }, "end": { - "line": 294, + "line": 472, "column": 61 } } @@ -27124,46 +27089,46 @@ "type": "Identifier", "name": "id", "range": [ - 10603, - 10605 + 13477, + 13479 ], "loc": { "start": { - "line": 294, + "line": 472, "column": 62 }, "end": { - "line": 294, + "line": 472, "column": 64 } } }, "range": [ - 10600, - 10605 + 13474, + 13479 ], "loc": { "start": { - "line": 294, + "line": 472, "column": 59 }, "end": { - "line": 294, + "line": 472, "column": 64 } } }, "range": [ - 10581, - 10605 + 13455, + 13479 ], "loc": { "start": { - "line": 294, + "line": 472, "column": 40 }, "end": { - "line": 294, + "line": 472, "column": 64 } } @@ -27172,16 +27137,16 @@ "type": "Identifier", "name": "cellText", "range": [ - 10607, - 10615 + 13481, + 13489 ], "loc": { "start": { - "line": 294, + "line": 472, "column": 66 }, "end": { - "line": 294, + "line": 472, "column": 74 } } @@ -27190,47 +27155,47 @@ "type": "Identifier", "name": "cellText", "range": [ - 10633, - 10641 + 13507, + 13515 ], "loc": { "start": { - "line": 295, + "line": 473, "column": 16 }, "end": { - "line": 295, + "line": 473, "column": 24 } } } ], "range": [ - 10565, - 10642 + 13439, + 13516 ], "loc": { "start": { - "line": 294, + "line": 472, "column": 24 }, "end": { - "line": 295, + "line": 473, "column": 25 } } }, "range": [ - 10557, - 10642 + 13431, + 13516 ], "loc": { "start": { - "line": 294, + "line": 472, "column": 16 }, "end": { - "line": 295, + "line": 473, "column": 25 } } @@ -27238,16 +27203,16 @@ ], "kind": "let", "range": [ - 10553, - 10643 + 13427, + 13517 ], "loc": { "start": { - "line": 294, + "line": 472, "column": 12 }, "end": { - "line": 295, + "line": 473, "column": 26 } } @@ -27260,16 +27225,16 @@ "type": "Identifier", "name": "addClass", "range": [ - 10656, - 10664 + 13530, + 13538 ], "loc": { "start": { - "line": 296, + "line": 474, "column": 12 }, "end": { - "line": 296, + "line": 474, "column": 20 } } @@ -27279,16 +27244,16 @@ "type": "Identifier", "name": "liElm", "range": [ - 10665, - 10670 + 13539, + 13544 ], "loc": { "start": { - "line": 296, + "line": 474, "column": 21 }, "end": { - "line": 296, + "line": 474, "column": 26 } } @@ -27299,16 +27264,16 @@ "object": { "type": "ThisExpression", "range": [ - 10672, - 10676 + 13546, + 13550 ], "loc": { "start": { - "line": 296, + "line": 474, "column": 28 }, "end": { - "line": 296, + "line": 474, "column": 32 } } @@ -27317,62 +27282,62 @@ "type": "Identifier", "name": "listItemCssClass", "range": [ - 10677, - 10693 + 13551, + 13567 ], "loc": { "start": { - "line": 296, + "line": 474, "column": 33 }, "end": { - "line": 296, + "line": 474, "column": 49 } } }, "range": [ - 10672, - 10693 + 13546, + 13567 ], "loc": { "start": { - "line": 296, + "line": 474, "column": 28 }, "end": { - "line": 296, + "line": 474, "column": 49 } } } ], "range": [ - 10656, - 10694 + 13530, + 13568 ], "loc": { "start": { - "line": 296, + "line": 474, "column": 12 }, "end": { - "line": 296, + "line": 474, "column": 50 } } }, "range": [ - 10656, - 10695 + 13530, + 13569 ], "loc": { "start": { - "line": 296, + "line": 474, "column": 12 }, "end": { - "line": 296, + "line": 474, "column": 51 } } @@ -27388,16 +27353,16 @@ "object": { "type": "ThisExpression", "range": [ - 10713, - 10717 + 13587, + 13591 ], "loc": { "start": { - "line": 297, + "line": 475, "column": 17 }, "end": { - "line": 297, + "line": 475, "column": 21 } } @@ -27406,47 +27371,47 @@ "type": "Identifier", "name": "tickToHide", "range": [ - 10718, - 10728 + 13592, + 13602 ], "loc": { "start": { - "line": 297, + "line": 475, "column": 22 }, "end": { - "line": 297, + "line": 475, "column": 32 } } }, "range": [ - 10713, - 10728 + 13587, + 13602 ], "loc": { "start": { - "line": 297, + "line": 475, "column": 17 }, "end": { - "line": 297, + "line": 475, "column": 32 } } }, "prefix": true, "range": [ - 10712, - 10728 + 13586, + 13602 ], "loc": { "start": { - "line": 297, + "line": 475, "column": 16 }, "end": { - "line": 297, + "line": 475, "column": 32 } } @@ -27462,16 +27427,16 @@ "type": "Identifier", "name": "addClass", "range": [ - 10748, - 10756 + 13622, + 13630 ], "loc": { "start": { - "line": 298, + "line": 476, "column": 16 }, "end": { - "line": 298, + "line": 476, "column": 24 } } @@ -27481,16 +27446,16 @@ "type": "Identifier", "name": "liElm", "range": [ - 10757, - 10762 + 13631, + 13636 ], "loc": { "start": { - "line": 298, + "line": 476, "column": 25 }, "end": { - "line": 298, + "line": 476, "column": 30 } } @@ -27501,16 +27466,16 @@ "object": { "type": "ThisExpression", "range": [ - 10764, - 10768 + 13638, + 13642 ], "loc": { "start": { - "line": 298, + "line": 476, "column": 32 }, "end": { - "line": 298, + "line": 476, "column": 36 } } @@ -27519,94 +27484,94 @@ "type": "Identifier", "name": "listSlcItemCssClass", "range": [ - 10769, - 10788 + 13643, + 13662 ], "loc": { "start": { - "line": 298, + "line": 476, "column": 37 }, "end": { - "line": 298, + "line": 476, "column": 56 } } }, "range": [ - 10764, - 10788 + 13638, + 13662 ], "loc": { "start": { - "line": 298, + "line": 476, "column": 32 }, "end": { - "line": 298, + "line": 476, "column": 56 } } } ], "range": [ - 10748, - 10789 + 13622, + 13663 ], "loc": { "start": { - "line": 298, + "line": 476, "column": 16 }, "end": { - "line": 298, + "line": 476, "column": 57 } } }, "range": [ - 10748, - 10790 + 13622, + 13664 ], "loc": { "start": { - "line": 298, + "line": 476, "column": 16 }, "end": { - "line": 298, + "line": 476, "column": 58 } } } ], "range": [ - 10730, - 10804 + 13604, + 13678 ], "loc": { "start": { - "line": 297, + "line": 475, "column": 34 }, "end": { - "line": 299, + "line": 477, "column": 13 } } }, "alternate": null, "range": [ - 10708, - 10804 + 13582, + 13678 ], "loc": { "start": { - "line": 297, + "line": 475, "column": 12 }, "end": { - "line": 299, + "line": 477, "column": 13 } } @@ -27622,16 +27587,16 @@ "type": "Identifier", "name": "ul", "range": [ - 10817, - 10819 + 13691, + 13693 ], "loc": { "start": { - "line": 300, + "line": 478, "column": 12 }, "end": { - "line": 300, + "line": 478, "column": 14 } } @@ -27640,31 +27605,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 10820, - 10831 + 13694, + 13705 ], "loc": { "start": { - "line": 300, + "line": 478, "column": 15 }, "end": { - "line": 300, + "line": 478, "column": 26 } } }, "range": [ - 10817, - 10831 + 13691, + 13705 ], "loc": { "start": { - "line": 300, + "line": 478, "column": 12 }, "end": { - "line": 300, + "line": 478, "column": 26 } } @@ -27674,47 +27639,47 @@ "type": "Identifier", "name": "liElm", "range": [ - 10832, - 10837 + 13706, + 13711 ], "loc": { "start": { - "line": 300, + "line": 478, "column": 27 }, "end": { - "line": 300, + "line": 478, "column": 32 } } } ], "range": [ - 10817, - 10838 + 13691, + 13712 ], "loc": { "start": { - "line": 300, + "line": 478, "column": 12 }, "end": { - "line": 300, + "line": 478, "column": 33 } } }, "range": [ - 10817, - 10839 + 13691, + 13713 ], "loc": { "start": { - "line": 300, + "line": 478, "column": 12 }, "end": { - "line": 300, + "line": 478, "column": 34 } } @@ -27730,16 +27695,16 @@ "object": { "type": "ThisExpression", "range": [ - 10857, - 10861 + 13731, + 13735 ], "loc": { "start": { - "line": 301, + "line": 479, "column": 17 }, "end": { - "line": 301, + "line": 479, "column": 21 } } @@ -27748,47 +27713,47 @@ "type": "Identifier", "name": "tickToHide", "range": [ - 10862, - 10872 + 13736, + 13746 ], "loc": { "start": { - "line": 301, + "line": 479, "column": 22 }, "end": { - "line": 301, + "line": 479, "column": 32 } } }, "range": [ - 10857, - 10872 + 13731, + 13746 ], "loc": { "start": { - "line": 301, + "line": 479, "column": 17 }, "end": { - "line": 301, + "line": 479, "column": 32 } } }, "prefix": true, "range": [ - 10856, - 10872 + 13730, + 13746 ], "loc": { "start": { - "line": 301, + "line": 479, "column": 16 }, "end": { - "line": 301, + "line": 479, "column": 32 } } @@ -27811,16 +27776,16 @@ "type": "Identifier", "name": "liElm", "range": [ - 10892, - 10897 + 13766, + 13771 ], "loc": { "start": { - "line": 302, + "line": 480, "column": 16 }, "end": { - "line": 302, + "line": 480, "column": 21 } } @@ -27829,31 +27794,31 @@ "type": "Identifier", "name": "check", "range": [ - 10898, - 10903 + 13772, + 13777 ], "loc": { "start": { - "line": 302, + "line": 480, "column": 22 }, "end": { - "line": 302, + "line": 480, "column": 27 } } }, "range": [ - 10892, - 10903 + 13766, + 13777 ], "loc": { "start": { - "line": 302, + "line": 480, "column": 16 }, "end": { - "line": 302, + "line": 480, "column": 27 } } @@ -27862,31 +27827,31 @@ "type": "Identifier", "name": "checked", "range": [ - 10904, - 10911 + 13778, + 13785 ], "loc": { "start": { - "line": 302, + "line": 480, "column": 28 }, "end": { - "line": 302, + "line": 480, "column": 35 } } }, "range": [ - 10892, - 10911 + 13766, + 13785 ], "loc": { "start": { - "line": 302, + "line": 480, "column": 16 }, "end": { - "line": 302, + "line": 480, "column": 35 } } @@ -27896,78 +27861,78 @@ "value": true, "raw": "true", "range": [ - 10914, - 10918 + 13788, + 13792 ], "loc": { "start": { - "line": 302, + "line": 480, "column": 38 }, "end": { - "line": 302, + "line": 480, "column": 42 } } }, "range": [ - 10892, - 10918 + 13766, + 13792 ], "loc": { "start": { - "line": 302, + "line": 480, "column": 16 }, "end": { - "line": 302, + "line": 480, "column": 42 } } }, "range": [ - 10892, - 10919 + 13766, + 13793 ], "loc": { "start": { - "line": 302, + "line": 480, "column": 16 }, "end": { - "line": 302, + "line": 480, "column": 43 } } } ], "range": [ - 10874, - 10933 + 13748, + 13807 ], "loc": { "start": { - "line": 301, + "line": 479, "column": 34 }, "end": { - "line": 303, + "line": 481, "column": 13 } } }, "alternate": null, "range": [ - 10852, - 10933 + 13726, + 13807 ], "loc": { "start": { - "line": 301, + "line": 479, "column": 12 }, "end": { - "line": 303, + "line": 481, "column": 13 } } @@ -27980,16 +27945,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 10947, - 10953 + 13821, + 13827 ], "loc": { "start": { - "line": 305, + "line": 483, "column": 12 }, "end": { - "line": 305, + "line": 483, "column": 18 } } @@ -28002,16 +27967,16 @@ "type": "Identifier", "name": "liElm", "range": [ - 10954, - 10959 + 13828, + 13833 ], "loc": { "start": { - "line": 305, + "line": 483, "column": 19 }, "end": { - "line": 305, + "line": 483, "column": 24 } } @@ -28020,31 +27985,31 @@ "type": "Identifier", "name": "check", "range": [ - 10960, - 10965 + 13834, + 13839 ], "loc": { "start": { - "line": 305, + "line": 483, "column": 25 }, "end": { - "line": 305, + "line": 483, "column": 30 } } }, "range": [ - 10954, - 10965 + 13828, + 13839 ], "loc": { "start": { - "line": 305, + "line": 483, "column": 19 }, "end": { - "line": 305, + "line": 483, "column": 30 } } @@ -28054,16 +28019,16 @@ "value": "click", "raw": "'click'", "range": [ - 10967, - 10974 + 13841, + 13848 ], "loc": { "start": { - "line": 305, + "line": 483, "column": 32 }, "end": { - "line": 305, + "line": 483, "column": 39 } } @@ -28076,16 +28041,16 @@ "type": "Identifier", "name": "evt", "range": [ - 10977, - 10980 + 13851, + 13854 ], "loc": { "start": { - "line": 305, + "line": 483, "column": 42 }, "end": { - "line": 305, + "line": 483, "column": 45 } } @@ -28103,16 +28068,16 @@ "type": "Identifier", "name": "elm", "range": [ - 11007, - 11010 + 13881, + 13884 ], "loc": { "start": { - "line": 306, + "line": 484, "column": 20 }, "end": { - "line": 306, + "line": 484, "column": 23 } } @@ -28123,16 +28088,16 @@ "type": "Identifier", "name": "targetEvt", "range": [ - 11013, - 11022 + 13887, + 13896 ], "loc": { "start": { - "line": 306, + "line": 484, "column": 26 }, "end": { - "line": 306, + "line": 484, "column": 35 } } @@ -28142,47 +28107,47 @@ "type": "Identifier", "name": "evt", "range": [ - 11023, - 11026 + 13897, + 13900 ], "loc": { "start": { - "line": 306, + "line": 484, "column": 36 }, "end": { - "line": 306, + "line": 484, "column": 39 } } } ], "range": [ - 11013, - 11027 + 13887, + 13901 ], "loc": { "start": { - "line": 306, + "line": 484, "column": 26 }, "end": { - "line": 306, + "line": 484, "column": 40 } } }, "range": [ - 11007, - 11027 + 13881, + 13901 ], "loc": { "start": { - "line": 306, + "line": 484, "column": 20 }, "end": { - "line": 306, + "line": 484, "column": 40 } } @@ -28190,16 +28155,16 @@ ], "kind": "let", "range": [ - 11003, - 11028 + 13877, + 13902 ], "loc": { "start": { - "line": 306, + "line": 484, "column": 16 }, "end": { - "line": 306, + "line": 484, "column": 41 } } @@ -28213,16 +28178,16 @@ "type": "Identifier", "name": "lbl", "range": [ - 11049, - 11052 + 13923, + 13926 ], "loc": { "start": { - "line": 307, + "line": 485, "column": 20 }, "end": { - "line": 307, + "line": 485, "column": 23 } } @@ -28234,16 +28199,16 @@ "type": "Identifier", "name": "elm", "range": [ - 11055, - 11058 + 13929, + 13932 ], "loc": { "start": { - "line": 307, + "line": 485, "column": 26 }, "end": { - "line": 307, + "line": 485, "column": 29 } } @@ -28252,46 +28217,46 @@ "type": "Identifier", "name": "parentNode", "range": [ - 11059, - 11069 + 13933, + 13943 ], "loc": { "start": { - "line": 307, + "line": 485, "column": 30 }, "end": { - "line": 307, + "line": 485, "column": 40 } } }, "range": [ - 11055, - 11069 + 13929, + 13943 ], "loc": { "start": { - "line": 307, + "line": 485, "column": 26 }, "end": { - "line": 307, + "line": 485, "column": 40 } } }, "range": [ - 11049, - 11069 + 13923, + 13943 ], "loc": { "start": { - "line": 307, + "line": 485, "column": 20 }, "end": { - "line": 307, + "line": 485, "column": 40 } } @@ -28299,16 +28264,16 @@ ], "kind": "let", "range": [ - 11045, - 11070 + 13919, + 13944 ], "loc": { "start": { - "line": 307, + "line": 485, "column": 16 }, "end": { - "line": 307, + "line": 485, "column": 41 } } @@ -28323,16 +28288,16 @@ "object": { "type": "ThisExpression", "range": [ - 11087, - 11091 + 13961, + 13965 ], "loc": { "start": { - "line": 308, + "line": 486, "column": 16 }, "end": { - "line": 308, + "line": 486, "column": 20 } } @@ -28341,31 +28306,31 @@ "type": "Identifier", "name": "checkItem", "range": [ - 11092, - 11101 + 13966, + 13975 ], "loc": { "start": { - "line": 308, + "line": 486, "column": 21 }, "end": { - "line": 308, + "line": 486, "column": 30 } } }, "range": [ - 11087, - 11101 + 13961, + 13975 ], "loc": { "start": { - "line": 308, + "line": 486, "column": 16 }, "end": { - "line": 308, + "line": 486, "column": 30 } } @@ -28375,63 +28340,63 @@ "type": "Identifier", "name": "lbl", "range": [ - 11102, - 11105 + 13976, + 13979 ], "loc": { "start": { - "line": 308, + "line": 486, "column": 31 }, "end": { - "line": 308, + "line": 486, "column": 34 } } } ], "range": [ - 11087, - 11106 + 13961, + 13980 ], "loc": { "start": { - "line": 308, + "line": 486, "column": 16 }, "end": { - "line": 308, + "line": 486, "column": 35 } } }, "range": [ - 11087, - 11107 + 13961, + 13981 ], "loc": { "start": { - "line": 308, + "line": 486, "column": 16 }, "end": { - "line": 308, + "line": 486, "column": 36 } } } ], "range": [ - 10985, - 11121 + 13859, + 13995 ], "loc": { "start": { - "line": 305, + "line": 483, "column": 50 }, "end": { - "line": 309, + "line": 487, "column": 13 } } @@ -28439,78 +28404,78 @@ "generator": false, "expression": false, "range": [ - 10976, - 11121 + 13850, + 13995 ], "loc": { "start": { - "line": 305, + "line": 483, "column": 41 }, "end": { - "line": 309, + "line": 487, "column": 13 } } } ], "range": [ - 10947, - 11122 + 13821, + 13996 ], "loc": { "start": { - "line": 305, + "line": 483, "column": 12 }, "end": { - "line": 309, + "line": 487, "column": 14 } } }, "range": [ - 10947, - 11123 + 13821, + 13997 ], "loc": { "start": { - "line": 305, + "line": 483, "column": 12 }, "end": { - "line": 309, + "line": 487, "column": 15 } } } ], "range": [ - 10362, - 11133 + 13236, + 14007 ], "loc": { "start": { - "line": 290, + "line": 468, "column": 57 }, "end": { - "line": 310, + "line": 488, "column": 9 } } }, "range": [ - 10313, - 11133 + 13187, + 14007 ], "loc": { "start": { - "line": 290, + "line": 468, "column": 8 }, "end": { - "line": 310, + "line": 488, "column": 9 } }, @@ -28519,16 +28484,16 @@ "type": "Line", "value": "separator", "range": [ - 11143, - 11154 + 14017, + 14028 ], "loc": { "start": { - "line": 312, + "line": 490, "column": 8 }, "end": { - "line": 312, + "line": 490, "column": 19 } } @@ -28544,16 +28509,16 @@ "type": "Identifier", "name": "p", "range": [ - 11167, - 11168 + 14041, + 14042 ], "loc": { "start": { - "line": 313, + "line": 491, "column": 12 }, "end": { - "line": 313, + "line": 491, "column": 13 } } @@ -28564,16 +28529,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 11171, - 11180 + 14045, + 14054 ], "loc": { "start": { - "line": 313, + "line": 491, "column": 16 }, "end": { - "line": 313, + "line": 491, "column": 25 } } @@ -28584,16 +28549,16 @@ "value": "p", "raw": "'p'", "range": [ - 11181, - 11184 + 14055, + 14058 ], "loc": { "start": { - "line": 313, + "line": 491, "column": 26 }, "end": { - "line": 313, + "line": 491, "column": 29 } } @@ -28606,16 +28571,16 @@ "value": "align", "raw": "'align'", "range": [ - 11187, - 11194 + 14061, + 14068 ], "loc": { "start": { - "line": 313, + "line": 491, "column": 32 }, "end": { - "line": 313, + "line": 491, "column": 39 } } @@ -28625,63 +28590,63 @@ "value": "center", "raw": "'center'", "range": [ - 11196, - 11204 + 14070, + 14078 ], "loc": { "start": { - "line": 313, + "line": 491, "column": 41 }, "end": { - "line": 313, + "line": 491, "column": 49 } } } ], "range": [ - 11186, - 11205 + 14060, + 14079 ], "loc": { "start": { - "line": 313, + "line": 491, "column": 31 }, "end": { - "line": 313, + "line": 491, "column": 50 } } } ], "range": [ - 11171, - 11206 + 14045, + 14080 ], "loc": { "start": { - "line": 313, + "line": 491, "column": 16 }, "end": { - "line": 313, + "line": 491, "column": 51 } } }, "range": [ - 11167, - 11206 + 14041, + 14080 ], "loc": { "start": { - "line": 313, + "line": 491, "column": 12 }, "end": { - "line": 313, + "line": 491, "column": 51 } } @@ -28689,16 +28654,16 @@ ], "kind": "let", "range": [ - 11163, - 11207 + 14037, + 14081 ], "loc": { "start": { - "line": 313, + "line": 491, "column": 8 }, "end": { - "line": 313, + "line": 491, "column": 52 } }, @@ -28707,16 +28672,16 @@ "type": "Line", "value": "separator", "range": [ - 11143, - 11154 + 14017, + 14028 ], "loc": { "start": { - "line": 312, + "line": 490, "column": 8 }, "end": { - "line": 312, + "line": 490, "column": 19 } } @@ -28732,32 +28697,32 @@ "type": "Identifier", "name": "btn", "range": [ - 11220, - 11223 + 14094, + 14097 ], "loc": { "start": { - "line": 314, + "line": 492, "column": 12 }, "end": { - "line": 314, + "line": 492, "column": 15 } } }, "init": null, "range": [ - 11220, - 11223 + 14094, + 14097 ], "loc": { "start": { - "line": 314, + "line": 492, "column": 12 }, "end": { - "line": 314, + "line": 492, "column": 15 } } @@ -28765,16 +28730,16 @@ ], "kind": "let", "range": [ - 11216, - 11224 + 14090, + 14098 ], "loc": { "start": { - "line": 314, + "line": 492, "column": 8 }, "end": { - "line": 314, + "line": 492, "column": 16 } }, @@ -28783,16 +28748,16 @@ "type": "Line", "value": "Close link", "range": [ - 11233, - 11245 + 14107, + 14119 ], "loc": { "start": { - "line": 315, + "line": 493, "column": 8 }, "end": { - "line": 315, + "line": 493, "column": 20 } } @@ -28810,16 +28775,16 @@ "object": { "type": "ThisExpression", "range": [ - 11259, - 11263 + 14133, + 14137 ], "loc": { "start": { - "line": 316, + "line": 494, "column": 13 }, "end": { - "line": 316, + "line": 494, "column": 17 } } @@ -28828,47 +28793,47 @@ "type": "Identifier", "name": "btnCloseHtml", "range": [ - 11264, - 11276 + 14138, + 14150 ], "loc": { "start": { - "line": 316, + "line": 494, "column": 18 }, "end": { - "line": 316, + "line": 494, "column": 30 } } }, "range": [ - 11259, - 11276 + 14133, + 14150 ], "loc": { "start": { - "line": 316, + "line": 494, "column": 13 }, "end": { - "line": 316, + "line": 494, "column": 30 } } }, "prefix": true, "range": [ - 11258, - 11276 + 14132, + 14150 ], "loc": { "start": { - "line": 316, + "line": 494, "column": 12 }, "end": { - "line": 316, + "line": 494, "column": 30 } } @@ -28885,16 +28850,16 @@ "type": "Identifier", "name": "btn", "range": [ - 11292, - 11295 + 14166, + 14169 ], "loc": { "start": { - "line": 317, + "line": 495, "column": 12 }, "end": { - "line": 317, + "line": 495, "column": 15 } } @@ -28905,16 +28870,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 11298, - 11307 + 14172, + 14181 ], "loc": { "start": { - "line": 317, + "line": 495, "column": 18 }, "end": { - "line": 317, + "line": 495, "column": 27 } } @@ -28925,16 +28890,16 @@ "value": "a", "raw": "'a'", "range": [ - 11308, - 11311 + 14182, + 14185 ], "loc": { "start": { - "line": 317, + "line": 495, "column": 28 }, "end": { - "line": 317, + "line": 495, "column": 31 } } @@ -28947,16 +28912,16 @@ "value": "href", "raw": "'href'", "range": [ - 11314, - 11320 + 14188, + 14194 ], "loc": { "start": { - "line": 317, + "line": 495, "column": 34 }, "end": { - "line": 317, + "line": 495, "column": 40 } } @@ -28966,78 +28931,78 @@ "value": "javascript:;", "raw": "'javascript:;'", "range": [ - 11322, - 11336 + 14196, + 14210 ], "loc": { "start": { - "line": 317, + "line": 495, "column": 42 }, "end": { - "line": 317, + "line": 495, "column": 56 } } } ], "range": [ - 11313, - 11337 + 14187, + 14211 ], "loc": { "start": { - "line": 317, + "line": 495, "column": 33 }, "end": { - "line": 317, + "line": 495, "column": 57 } } } ], "range": [ - 11298, - 11338 + 14172, + 14212 ], "loc": { "start": { - "line": 317, + "line": 495, "column": 18 }, "end": { - "line": 317, + "line": 495, "column": 58 } } }, "range": [ - 11292, - 11338 + 14166, + 14212 ], "loc": { "start": { - "line": 317, + "line": 495, "column": 12 }, "end": { - "line": 317, + "line": 495, "column": 58 } } }, "range": [ - 11292, - 11339 + 14166, + 14213 ], "loc": { "start": { - "line": 317, + "line": 495, "column": 12 }, "end": { - "line": 317, + "line": 495, "column": 59 } } @@ -29054,16 +29019,16 @@ "type": "Identifier", "name": "btn", "range": [ - 11352, - 11355 + 14226, + 14229 ], "loc": { "start": { - "line": 318, + "line": 496, "column": 12 }, "end": { - "line": 318, + "line": 496, "column": 15 } } @@ -29072,31 +29037,31 @@ "type": "Identifier", "name": "className", "range": [ - 11356, - 11365 + 14230, + 14239 ], "loc": { "start": { - "line": 318, + "line": 496, "column": 16 }, "end": { - "line": 318, + "line": 496, "column": 25 } } }, "range": [ - 11352, - 11365 + 14226, + 14239 ], "loc": { "start": { - "line": 318, + "line": 496, "column": 12 }, "end": { - "line": 318, + "line": 496, "column": 25 } } @@ -29107,16 +29072,16 @@ "object": { "type": "ThisExpression", "range": [ - 11368, - 11372 + 14242, + 14246 ], "loc": { "start": { - "line": 318, + "line": 496, "column": 28 }, "end": { - "line": 318, + "line": 496, "column": 32 } } @@ -29125,61 +29090,61 @@ "type": "Identifier", "name": "btnCloseCssClass", "range": [ - 11373, - 11389 + 14247, + 14263 ], "loc": { "start": { - "line": 318, + "line": 496, "column": 33 }, "end": { - "line": 318, + "line": 496, "column": 49 } } }, "range": [ - 11368, - 11389 + 14242, + 14263 ], "loc": { "start": { - "line": 318, + "line": 496, "column": 28 }, "end": { - "line": 318, + "line": 496, "column": 49 } } }, "range": [ - 11352, - 11389 + 14226, + 14263 ], "loc": { "start": { - "line": 318, + "line": 496, "column": 12 }, "end": { - "line": 318, + "line": 496, "column": 49 } } }, "range": [ - 11352, - 11390 + 14226, + 14264 ], "loc": { "start": { - "line": 318, + "line": 496, "column": 12 }, "end": { - "line": 318, + "line": 496, "column": 50 } } @@ -29196,16 +29161,16 @@ "type": "Identifier", "name": "btn", "range": [ - 11403, - 11406 + 14277, + 14280 ], "loc": { "start": { - "line": 319, + "line": 497, "column": 12 }, "end": { - "line": 319, + "line": 497, "column": 15 } } @@ -29214,31 +29179,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 11407, - 11416 + 14281, + 14290 ], "loc": { "start": { - "line": 319, + "line": 497, "column": 16 }, "end": { - "line": 319, + "line": 497, "column": 25 } } }, "range": [ - 11403, - 11416 + 14277, + 14290 ], "loc": { "start": { - "line": 319, + "line": 497, "column": 12 }, "end": { - "line": 319, + "line": 497, "column": 25 } } @@ -29249,16 +29214,16 @@ "object": { "type": "ThisExpression", "range": [ - 11419, - 11423 + 14293, + 14297 ], "loc": { "start": { - "line": 319, + "line": 497, "column": 28 }, "end": { - "line": 319, + "line": 497, "column": 32 } } @@ -29267,61 +29232,61 @@ "type": "Identifier", "name": "btnCloseText", "range": [ - 11424, - 11436 + 14298, + 14310 ], "loc": { "start": { - "line": 319, + "line": 497, "column": 33 }, "end": { - "line": 319, + "line": 497, "column": 45 } } }, "range": [ - 11419, - 11436 + 14293, + 14310 ], "loc": { "start": { - "line": 319, + "line": 497, "column": 28 }, "end": { - "line": 319, + "line": 497, "column": 45 } } }, "range": [ - 11403, - 11436 + 14277, + 14310 ], "loc": { "start": { - "line": 319, + "line": 497, "column": 12 }, "end": { - "line": 319, + "line": 497, "column": 45 } } }, "range": [ - 11403, - 11437 + 14277, + 14311 ], "loc": { "start": { - "line": 319, + "line": 497, "column": 12 }, "end": { - "line": 319, + "line": 497, "column": 46 } } @@ -29334,16 +29299,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 11450, - 11456 + 14324, + 14330 ], "loc": { "start": { - "line": 320, + "line": 498, "column": 12 }, "end": { - "line": 320, + "line": 498, "column": 18 } } @@ -29353,16 +29318,16 @@ "type": "Identifier", "name": "btn", "range": [ - 11457, - 11460 + 14331, + 14334 ], "loc": { "start": { - "line": 320, + "line": 498, "column": 19 }, "end": { - "line": 320, + "line": 498, "column": 22 } } @@ -29372,16 +29337,16 @@ "value": "click", "raw": "'click'", "range": [ - 11462, - 11469 + 14336, + 14343 ], "loc": { "start": { - "line": 320, + "line": 498, "column": 24 }, "end": { - "line": 320, + "line": 498, "column": 31 } } @@ -29394,16 +29359,16 @@ "type": "Identifier", "name": "evt", "range": [ - 11472, - 11475 + 14346, + 14349 ], "loc": { "start": { - "line": 320, + "line": 498, "column": 34 }, "end": { - "line": 320, + "line": 498, "column": 37 } } @@ -29417,16 +29382,16 @@ "object": { "type": "ThisExpression", "range": [ - 11480, - 11484 + 14354, + 14358 ], "loc": { "start": { - "line": 320, + "line": 498, "column": 42 }, "end": { - "line": 320, + "line": 498, "column": 46 } } @@ -29435,31 +29400,31 @@ "type": "Identifier", "name": "toggle", "range": [ - 11485, - 11491 + 14359, + 14365 ], "loc": { "start": { - "line": 320, + "line": 498, "column": 47 }, "end": { - "line": 320, + "line": 498, "column": 53 } } }, "range": [ - 11480, - 11491 + 14354, + 14365 ], "loc": { "start": { - "line": 320, + "line": 498, "column": 42 }, "end": { - "line": 320, + "line": 498, "column": 53 } } @@ -29469,32 +29434,32 @@ "type": "Identifier", "name": "evt", "range": [ - 11492, - 11495 + 14366, + 14369 ], "loc": { "start": { - "line": 320, + "line": 498, "column": 54 }, "end": { - "line": 320, + "line": 498, "column": 57 } } } ], "range": [ - 11480, - 11496 + 14354, + 14370 ], "loc": { "start": { - "line": 320, + "line": 498, "column": 42 }, "end": { - "line": 320, + "line": 498, "column": 58 } } @@ -29502,47 +29467,47 @@ "generator": false, "expression": true, "range": [ - 11471, - 11496 + 14345, + 14370 ], "loc": { "start": { - "line": 320, + "line": 498, "column": 33 }, "end": { - "line": 320, + "line": 498, "column": 58 } } } ], "range": [ - 11450, - 11497 + 14324, + 14371 ], "loc": { "start": { - "line": 320, + "line": 498, "column": 12 }, "end": { - "line": 320, + "line": 498, "column": 59 } } }, "range": [ - 11450, - 11498 + 14324, + 14372 ], "loc": { "start": { - "line": 320, + "line": 498, "column": 12 }, "end": { - "line": 320, + "line": 498, "column": 60 } } @@ -29558,16 +29523,16 @@ "type": "Identifier", "name": "p", "range": [ - 11511, - 11512 + 14385, + 14386 ], "loc": { "start": { - "line": 321, + "line": 499, "column": 12 }, "end": { - "line": 321, + "line": 499, "column": 13 } } @@ -29576,31 +29541,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 11513, - 11524 + 14387, + 14398 ], "loc": { "start": { - "line": 321, + "line": 499, "column": 14 }, "end": { - "line": 321, + "line": 499, "column": 25 } } }, "range": [ - 11511, - 11524 + 14385, + 14398 ], "loc": { "start": { - "line": 321, + "line": 499, "column": 12 }, "end": { - "line": 321, + "line": 499, "column": 25 } } @@ -29610,63 +29575,63 @@ "type": "Identifier", "name": "btn", "range": [ - 11525, - 11528 + 14399, + 14402 ], "loc": { "start": { - "line": 321, + "line": 499, "column": 26 }, "end": { - "line": 321, + "line": 499, "column": 29 } } } ], "range": [ - 11511, - 11529 + 14385, + 14403 ], "loc": { "start": { - "line": 321, + "line": 499, "column": 12 }, "end": { - "line": 321, + "line": 499, "column": 30 } } }, "range": [ - 11511, - 11530 + 14385, + 14404 ], "loc": { "start": { - "line": 321, + "line": 499, "column": 12 }, "end": { - "line": 321, + "line": 499, "column": 31 } } } ], "range": [ - 11278, - 11540 + 14152, + 14414 ], "loc": { "start": { - "line": 316, + "line": 494, "column": 32 }, "end": { - "line": 322, + "line": 500, "column": 9 } } @@ -29686,16 +29651,16 @@ "type": "Identifier", "name": "p", "range": [ - 11560, - 11561 + 14434, + 14435 ], "loc": { "start": { - "line": 323, + "line": 501, "column": 12 }, "end": { - "line": 323, + "line": 501, "column": 13 } } @@ -29704,31 +29669,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 11562, - 11571 + 14436, + 14445 ], "loc": { "start": { - "line": 323, + "line": 501, "column": 14 }, "end": { - "line": 323, + "line": 501, "column": 23 } } }, "range": [ - 11560, - 11571 + 14434, + 14445 ], "loc": { "start": { - "line": 323, + "line": 501, "column": 12 }, "end": { - "line": 323, + "line": 501, "column": 23 } } @@ -29739,16 +29704,16 @@ "object": { "type": "ThisExpression", "range": [ - 11574, - 11578 + 14448, + 14452 ], "loc": { "start": { - "line": 323, + "line": 501, "column": 26 }, "end": { - "line": 323, + "line": 501, "column": 30 } } @@ -29757,61 +29722,61 @@ "type": "Identifier", "name": "btnCloseHtml", "range": [ - 11579, - 11591 + 14453, + 14465 ], "loc": { "start": { - "line": 323, + "line": 501, "column": 31 }, "end": { - "line": 323, + "line": 501, "column": 43 } } }, "range": [ - 11574, - 11591 + 14448, + 14465 ], "loc": { "start": { - "line": 323, + "line": 501, "column": 26 }, "end": { - "line": 323, + "line": 501, "column": 43 } } }, "range": [ - 11560, - 11591 + 14434, + 14465 ], "loc": { "start": { - "line": 323, + "line": 501, "column": 12 }, "end": { - "line": 323, + "line": 501, "column": 43 } } }, "range": [ - 11560, - 11592 + 14434, + 14466 ], "loc": { "start": { - "line": 323, + "line": 501, "column": 12 }, "end": { - "line": 323, + "line": 501, "column": 44 } } @@ -29825,16 +29790,16 @@ "type": "Identifier", "name": "btn", "range": [ - 11605, - 11608 + 14479, + 14482 ], "loc": { "start": { - "line": 324, + "line": 502, "column": 12 }, "end": { - "line": 324, + "line": 502, "column": 15 } } @@ -29846,16 +29811,16 @@ "type": "Identifier", "name": "p", "range": [ - 11611, - 11612 + 14485, + 14486 ], "loc": { "start": { - "line": 324, + "line": 502, "column": 18 }, "end": { - "line": 324, + "line": 502, "column": 19 } } @@ -29864,61 +29829,61 @@ "type": "Identifier", "name": "firstChild", "range": [ - 11613, - 11623 + 14487, + 14497 ], "loc": { "start": { - "line": 324, + "line": 502, "column": 20 }, "end": { - "line": 324, + "line": 502, "column": 30 } } }, "range": [ - 11611, - 11623 + 14485, + 14497 ], "loc": { "start": { - "line": 324, + "line": 502, "column": 18 }, "end": { - "line": 324, + "line": 502, "column": 30 } } }, "range": [ - 11605, - 11623 + 14479, + 14497 ], "loc": { "start": { - "line": 324, + "line": 502, "column": 12 }, "end": { - "line": 324, + "line": 502, "column": 30 } } }, "range": [ - 11605, - 11624 + 14479, + 14498 ], "loc": { "start": { - "line": 324, + "line": 502, "column": 12 }, "end": { - "line": 324, + "line": 502, "column": 31 } } @@ -29931,16 +29896,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 11637, - 11643 + 14511, + 14517 ], "loc": { "start": { - "line": 325, + "line": 503, "column": 12 }, "end": { - "line": 325, + "line": 503, "column": 18 } } @@ -29950,16 +29915,16 @@ "type": "Identifier", "name": "btn", "range": [ - 11644, - 11647 + 14518, + 14521 ], "loc": { "start": { - "line": 325, + "line": 503, "column": 19 }, "end": { - "line": 325, + "line": 503, "column": 22 } } @@ -29969,16 +29934,16 @@ "value": "click", "raw": "'click'", "range": [ - 11649, - 11656 + 14523, + 14530 ], "loc": { "start": { - "line": 325, + "line": 503, "column": 24 }, "end": { - "line": 325, + "line": 503, "column": 31 } } @@ -29991,16 +29956,16 @@ "type": "Identifier", "name": "evt", "range": [ - 11659, - 11662 + 14533, + 14536 ], "loc": { "start": { - "line": 325, + "line": 503, "column": 34 }, "end": { - "line": 325, + "line": 503, "column": 37 } } @@ -30014,16 +29979,16 @@ "object": { "type": "ThisExpression", "range": [ - 11667, - 11671 + 14541, + 14545 ], "loc": { "start": { - "line": 325, + "line": 503, "column": 42 }, "end": { - "line": 325, + "line": 503, "column": 46 } } @@ -30032,31 +29997,31 @@ "type": "Identifier", "name": "toggle", "range": [ - 11672, - 11678 + 14546, + 14552 ], "loc": { "start": { - "line": 325, + "line": 503, "column": 47 }, "end": { - "line": 325, + "line": 503, "column": 53 } } }, "range": [ - 11667, - 11678 + 14541, + 14552 ], "loc": { "start": { - "line": 325, + "line": 503, "column": 42 }, "end": { - "line": 325, + "line": 503, "column": 53 } } @@ -30066,32 +30031,32 @@ "type": "Identifier", "name": "evt", "range": [ - 11679, - 11682 + 14553, + 14556 ], "loc": { "start": { - "line": 325, + "line": 503, "column": 54 }, "end": { - "line": 325, + "line": 503, "column": 57 } } } ], "range": [ - 11667, - 11683 + 14541, + 14557 ], "loc": { "start": { - "line": 325, + "line": 503, "column": 42 }, "end": { - "line": 325, + "line": 503, "column": 58 } } @@ -30099,78 +30064,78 @@ "generator": false, "expression": true, "range": [ - 11658, - 11683 + 14532, + 14557 ], "loc": { "start": { - "line": 325, + "line": 503, "column": 33 }, "end": { - "line": 325, + "line": 503, "column": 58 } } } ], "range": [ - 11637, - 11684 + 14511, + 14558 ], "loc": { "start": { - "line": 325, + "line": 503, "column": 12 }, "end": { - "line": 325, + "line": 503, "column": 59 } } }, "range": [ - 11637, - 11685 + 14511, + 14559 ], "loc": { "start": { - "line": 325, + "line": 503, "column": 12 }, "end": { - "line": 325, + "line": 503, "column": 60 } } } ], "range": [ - 11546, - 11695 + 14420, + 14569 ], "loc": { "start": { - "line": 322, + "line": 500, "column": 15 }, "end": { - "line": 326, + "line": 504, "column": 9 } } }, "range": [ - 11254, - 11695 + 14128, + 14569 ], "loc": { "start": { - "line": 316, + "line": 494, "column": 8 }, "end": { - "line": 326, + "line": 504, "column": 9 } }, @@ -30179,16 +30144,16 @@ "type": "Line", "value": "Close link", "range": [ - 11233, - 11245 + 14107, + 14119 ], "loc": { "start": { - "line": 315, + "line": 493, "column": 8 }, "end": { - "line": 315, + "line": 493, "column": 20 } } @@ -30206,16 +30171,16 @@ "type": "Identifier", "name": "container", "range": [ - 11705, - 11714 + 14579, + 14588 ], "loc": { "start": { - "line": 328, + "line": 506, "column": 8 }, "end": { - "line": 328, + "line": 506, "column": 17 } } @@ -30224,31 +30189,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 11715, - 11726 + 14589, + 14600 ], "loc": { "start": { - "line": 328, + "line": 506, "column": 18 }, "end": { - "line": 328, + "line": 506, "column": 29 } } }, "range": [ - 11705, - 11726 + 14579, + 14600 ], "loc": { "start": { - "line": 328, + "line": 506, "column": 8 }, "end": { - "line": 328, + "line": 506, "column": 29 } } @@ -30258,47 +30223,47 @@ "type": "Identifier", "name": "ul", "range": [ - 11727, - 11729 + 14601, + 14603 ], "loc": { "start": { - "line": 328, + "line": 506, "column": 30 }, "end": { - "line": 328, + "line": 506, "column": 32 } } } ], "range": [ - 11705, - 11730 + 14579, + 14604 ], "loc": { "start": { - "line": 328, + "line": 506, "column": 8 }, "end": { - "line": 328, + "line": 506, "column": 33 } } }, "range": [ - 11705, - 11731 + 14579, + 14605 ], "loc": { "start": { - "line": 328, + "line": 506, "column": 8 }, "end": { - "line": 328, + "line": 506, "column": 34 } } @@ -30314,16 +30279,16 @@ "type": "Identifier", "name": "container", "range": [ - 11740, - 11749 + 14614, + 14623 ], "loc": { "start": { - "line": 329, + "line": 507, "column": 8 }, "end": { - "line": 329, + "line": 507, "column": 17 } } @@ -30332,31 +30297,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 11750, - 11761 + 14624, + 14635 ], "loc": { "start": { - "line": 329, + "line": 507, "column": 18 }, "end": { - "line": 329, + "line": 507, "column": 29 } } }, "range": [ - 11740, - 11761 + 14614, + 14635 ], "loc": { "start": { - "line": 329, + "line": 507, "column": 8 }, "end": { - "line": 329, + "line": 507, "column": 29 } } @@ -30366,47 +30331,47 @@ "type": "Identifier", "name": "p", "range": [ - 11762, - 11763 + 14636, + 14637 ], "loc": { "start": { - "line": 329, + "line": 507, "column": 30 }, "end": { - "line": 329, + "line": 507, "column": 31 } } } ], "range": [ - 11740, - 11764 + 14614, + 14638 ], "loc": { "start": { - "line": 329, + "line": 507, "column": 8 }, "end": { - "line": 329, + "line": 507, "column": 32 } } }, "range": [ - 11740, - 11765 + 14614, + 14639 ], "loc": { "start": { - "line": 329, + "line": 507, "column": 8 }, "end": { - "line": 329, + "line": 507, "column": 33 } } @@ -30427,16 +30392,16 @@ "object": { "type": "ThisExpression", "range": [ - 11775, - 11779 + 14649, + 14653 ], "loc": { "start": { - "line": 331, + "line": 509, "column": 8 }, "end": { - "line": 331, + "line": 509, "column": 12 } } @@ -30445,31 +30410,31 @@ "type": "Identifier", "name": "btnEl", "range": [ - 11780, - 11785 + 14654, + 14659 ], "loc": { "start": { - "line": 331, + "line": 509, "column": 13 }, "end": { - "line": 331, + "line": 509, "column": 18 } } }, "range": [ - 11775, - 11785 + 14649, + 14659 ], "loc": { "start": { - "line": 331, + "line": 509, "column": 8 }, "end": { - "line": 331, + "line": 509, "column": 18 } } @@ -30478,31 +30443,31 @@ "type": "Identifier", "name": "parentNode", "range": [ - 11786, - 11796 + 14660, + 14670 ], "loc": { "start": { - "line": 331, + "line": 509, "column": 19 }, "end": { - "line": 331, + "line": 509, "column": 29 } } }, "range": [ - 11775, - 11796 + 14649, + 14670 ], "loc": { "start": { - "line": 331, + "line": 509, "column": 8 }, "end": { - "line": 331, + "line": 509, "column": 29 } } @@ -30511,31 +30476,31 @@ "type": "Identifier", "name": "insertBefore", "range": [ - 11797, - 11809 + 14671, + 14683 ], "loc": { "start": { - "line": 331, + "line": 509, "column": 30 }, "end": { - "line": 331, + "line": 509, "column": 42 } } }, "range": [ - 11775, - 11809 + 14649, + 14683 ], "loc": { "start": { - "line": 331, + "line": 509, "column": 8 }, "end": { - "line": 331, + "line": 509, "column": 42 } } @@ -30545,16 +30510,16 @@ "type": "Identifier", "name": "container", "range": [ - 11810, - 11819 + 14684, + 14693 ], "loc": { "start": { - "line": 331, + "line": 509, "column": 43 }, "end": { - "line": 331, + "line": 509, "column": 52 } } @@ -30565,16 +30530,16 @@ "object": { "type": "ThisExpression", "range": [ - 11821, - 11825 + 14695, + 14699 ], "loc": { "start": { - "line": 331, + "line": 509, "column": 54 }, "end": { - "line": 331, + "line": 509, "column": 58 } } @@ -30583,62 +30548,62 @@ "type": "Identifier", "name": "btnEl", "range": [ - 11826, - 11831 + 14700, + 14705 ], "loc": { "start": { - "line": 331, + "line": 509, "column": 59 }, "end": { - "line": 331, + "line": 509, "column": 64 } } }, "range": [ - 11821, - 11831 + 14695, + 14705 ], "loc": { "start": { - "line": 331, + "line": 509, "column": 54 }, "end": { - "line": 331, + "line": 509, "column": 64 } } } ], "range": [ - 11775, - 11832 + 14649, + 14706 ], "loc": { "start": { - "line": 331, + "line": 509, "column": 8 }, "end": { - "line": 331, + "line": 509, "column": 65 } } }, "range": [ - 11775, - 11833 + 14649, + 14707 ], "loc": { "start": { - "line": 331, + "line": 509, "column": 8 }, "end": { - "line": 331, + "line": 509, "column": 66 } } @@ -30654,16 +30619,16 @@ "object": { "type": "ThisExpression", "range": [ - 11842, - 11846 + 14716, + 14720 ], "loc": { "start": { - "line": 332, + "line": 510, "column": 8 }, "end": { - "line": 332, + "line": 510, "column": 12 } } @@ -30672,31 +30637,31 @@ "type": "Identifier", "name": "contEl", "range": [ - 11847, - 11853 + 14721, + 14727 ], "loc": { "start": { - "line": 332, + "line": 510, "column": 13 }, "end": { - "line": 332, + "line": 510, "column": 19 } } }, "range": [ - 11842, - 11853 + 14716, + 14727 ], "loc": { "start": { - "line": 332, + "line": 510, "column": 8 }, "end": { - "line": 332, + "line": 510, "column": 19 } } @@ -30705,62 +30670,62 @@ "type": "Identifier", "name": "container", "range": [ - 11856, - 11865 + 14730, + 14739 ], "loc": { "start": { - "line": 332, + "line": 510, "column": 22 }, "end": { - "line": 332, + "line": 510, "column": 31 } } }, "range": [ - 11842, - 11865 + 14716, + 14739 ], "loc": { "start": { - "line": 332, + "line": 510, "column": 8 }, "end": { - "line": 332, + "line": 510, "column": 31 } } }, "range": [ - 11842, - 11866 + 14716, + 14740 ], "loc": { "start": { - "line": 332, + "line": 510, "column": 8 }, "end": { - "line": 332, + "line": 510, "column": 32 } } } ], "range": [ - 8870, - 11872 + 11744, + 14746 ], "loc": { "start": { - "line": 249, + "line": 427, "column": 19 }, "end": { - "line": 333, + "line": 511, "column": 5 } } @@ -30768,16 +30733,16 @@ "generator": false, "expression": false, "range": [ - 8867, - 11872 + 11741, + 14746 ], "loc": { "start": { - "line": 249, + "line": 427, "column": 16 }, "end": { - "line": 333, + "line": 511, "column": 5 } } @@ -30785,16 +30750,16 @@ "kind": "method", "computed": false, "range": [ - 8855, - 11872 + 11729, + 14746 ], "loc": { "start": { - "line": 249, + "line": 427, "column": 4 }, "end": { - "line": 333, + "line": 511, "column": 5 } }, @@ -30803,16 +30768,16 @@ "type": "Block", "value": "*\n * Build columns manager UI\n ", "range": [ - 8807, - 8850 + 11681, + 11724 ], "loc": { "start": { - "line": 246, + "line": 424, "column": 4 }, "end": { - "line": 248, + "line": 426, "column": 7 } } @@ -30821,18 +30786,18 @@ "trailingComments": [ { "type": "Block", - "value": "*\n * Hide or show specified columns\n * @param {Numner} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n ", + "value": "*\n * Hide or show specified columns\n * @param {Number} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n ", "range": [ - 11878, - 12041 + 14752, + 14915 ], "loc": { "start": { - "line": 335, + "line": 513, "column": 4 }, "end": { - "line": 339, + "line": 517, "column": 7 } } @@ -30846,16 +30811,16 @@ "type": "Identifier", "name": "setHidden", "range": [ - 12046, - 12055 + 14920, + 14929 ], "loc": { "start": { - "line": 340, + "line": 518, "column": 4 }, "end": { - "line": 340, + "line": 518, "column": 13 } } @@ -30868,16 +30833,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 12056, - 12064 + 14930, + 14938 ], "loc": { "start": { - "line": 340, + "line": 518, "column": 14 }, "end": { - "line": 340, + "line": 518, "column": 22 } } @@ -30886,16 +30851,16 @@ "type": "Identifier", "name": "hide", "range": [ - 12066, - 12070 + 14940, + 14944 ], "loc": { "start": { - "line": 340, + "line": 518, "column": 24 }, "end": { - "line": 340, + "line": 518, "column": 28 } } @@ -30913,16 +30878,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12086, - 12088 + 14960, + 14962 ], "loc": { "start": { - "line": 341, + "line": 519, "column": 12 }, "end": { - "line": 341, + "line": 519, "column": 14 } } @@ -30933,16 +30898,16 @@ "object": { "type": "ThisExpression", "range": [ - 12091, - 12095 + 14965, + 14969 ], "loc": { "start": { - "line": 341, + "line": 519, "column": 17 }, "end": { - "line": 341, + "line": 519, "column": 21 } } @@ -30951,46 +30916,46 @@ "type": "Identifier", "name": "tf", "range": [ - 12096, - 12098 + 14970, + 14972 ], "loc": { "start": { - "line": 341, + "line": 519, "column": 22 }, "end": { - "line": 341, + "line": 519, "column": 24 } } }, "range": [ - 12091, - 12098 + 14965, + 14972 ], "loc": { "start": { - "line": 341, + "line": 519, "column": 17 }, "end": { - "line": 341, + "line": 519, "column": 24 } } }, "range": [ - 12086, - 12098 + 14960, + 14972 ], "loc": { "start": { - "line": 341, + "line": 519, "column": 12 }, "end": { - "line": 341, + "line": 519, "column": 24 } } @@ -30998,16 +30963,16 @@ ], "kind": "let", "range": [ - 12082, - 12099 + 14956, + 14973 ], "loc": { "start": { - "line": 341, + "line": 519, "column": 8 }, "end": { - "line": 341, + "line": 519, "column": 25 } } @@ -31021,16 +30986,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 12112, - 12115 + 14986, + 14989 ], "loc": { "start": { - "line": 342, + "line": 520, "column": 12 }, "end": { - "line": 342, + "line": 520, "column": 15 } } @@ -31042,16 +31007,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12118, - 12120 + 14992, + 14994 ], "loc": { "start": { - "line": 342, + "line": 520, "column": 18 }, "end": { - "line": 342, + "line": 520, "column": 20 } } @@ -31060,46 +31025,46 @@ "type": "Identifier", "name": "tbl", "range": [ - 12121, - 12124 + 14995, + 14998 ], "loc": { "start": { - "line": 342, + "line": 520, "column": 21 }, "end": { - "line": 342, + "line": 520, "column": 24 } } }, "range": [ - 12118, - 12124 + 14992, + 14998 ], "loc": { "start": { - "line": 342, + "line": 520, "column": 18 }, "end": { - "line": 342, + "line": 520, "column": 24 } } }, "range": [ - 12112, - 12124 + 14986, + 14998 ], "loc": { "start": { - "line": 342, + "line": 520, "column": 12 }, "end": { - "line": 342, + "line": 520, "column": 24 } } @@ -31107,16 +31072,16 @@ ], "kind": "let", "range": [ - 12108, - 12125 + 14982, + 14999 ], "loc": { "start": { - "line": 342, + "line": 520, "column": 8 }, "end": { - "line": 342, + "line": 520, "column": 25 } } @@ -31132,16 +31097,16 @@ "object": { "type": "ThisExpression", "range": [ - 12139, - 12143 + 15013, + 15017 ], "loc": { "start": { - "line": 344, + "line": 522, "column": 12 }, "end": { - "line": 344, + "line": 522, "column": 16 } } @@ -31150,31 +31115,31 @@ "type": "Identifier", "name": "onBeforeColHidden", "range": [ - 12144, - 12161 + 15018, + 15035 ], "loc": { "start": { - "line": 344, + "line": 522, "column": 17 }, "end": { - "line": 344, + "line": 522, "column": 34 } } }, "range": [ - 12139, - 12161 + 15013, + 15035 ], "loc": { "start": { - "line": 344, + "line": 522, "column": 12 }, "end": { - "line": 344, + "line": 522, "column": 34 } } @@ -31183,31 +31148,31 @@ "type": "Identifier", "name": "hide", "range": [ - 12165, - 12169 + 15039, + 15043 ], "loc": { "start": { - "line": 344, + "line": 522, "column": 38 }, "end": { - "line": 344, + "line": 522, "column": 42 } } }, "range": [ - 12139, - 12169 + 15013, + 15043 ], "loc": { "start": { - "line": 344, + "line": 522, "column": 12 }, "end": { - "line": 344, + "line": 522, "column": 42 } } @@ -31228,16 +31193,16 @@ "object": { "type": "ThisExpression", "range": [ - 12185, - 12189 + 15059, + 15063 ], "loc": { "start": { - "line": 345, + "line": 523, "column": 12 }, "end": { - "line": 345, + "line": 523, "column": 16 } } @@ -31246,31 +31211,31 @@ "type": "Identifier", "name": "onBeforeColHidden", "range": [ - 12190, - 12207 + 15064, + 15081 ], "loc": { "start": { - "line": 345, + "line": 523, "column": 17 }, "end": { - "line": 345, + "line": 523, "column": 34 } } }, "range": [ - 12185, - 12207 + 15059, + 15081 ], "loc": { "start": { - "line": 345, + "line": 523, "column": 12 }, "end": { - "line": 345, + "line": 523, "column": 34 } } @@ -31279,31 +31244,31 @@ "type": "Identifier", "name": "call", "range": [ - 12208, - 12212 + 15082, + 15086 ], "loc": { "start": { - "line": 345, + "line": 523, "column": 35 }, "end": { - "line": 345, + "line": 523, "column": 39 } } }, "range": [ - 12185, - 12212 + 15059, + 15086 ], "loc": { "start": { - "line": 345, + "line": 523, "column": 12 }, "end": { - "line": 345, + "line": 523, "column": 39 } } @@ -31314,16 +31279,16 @@ "value": null, "raw": "null", "range": [ - 12213, - 12217 + 15087, + 15091 ], "loc": { "start": { - "line": 345, + "line": 523, "column": 40 }, "end": { - "line": 345, + "line": 523, "column": 44 } } @@ -31331,16 +31296,16 @@ { "type": "ThisExpression", "range": [ - 12219, - 12223 + 15093, + 15097 ], "loc": { "start": { - "line": 345, + "line": 523, "column": 46 }, "end": { - "line": 345, + "line": 523, "column": 50 } } @@ -31349,79 +31314,79 @@ "type": "Identifier", "name": "colIndex", "range": [ - 12225, - 12233 + 15099, + 15107 ], "loc": { "start": { - "line": 345, + "line": 523, "column": 52 }, "end": { - "line": 345, + "line": 523, "column": 60 } } } ], "range": [ - 12185, - 12234 + 15059, + 15108 ], "loc": { "start": { - "line": 345, + "line": 523, "column": 12 }, "end": { - "line": 345, + "line": 523, "column": 61 } } }, "range": [ - 12185, - 12235 + 15059, + 15109 ], "loc": { "start": { - "line": 345, + "line": 523, "column": 12 }, "end": { - "line": 345, + "line": 523, "column": 62 } } } ], "range": [ - 12171, - 12245 + 15045, + 15119 ], "loc": { "start": { - "line": 344, + "line": 522, "column": 44 }, "end": { - "line": 346, + "line": 524, "column": 9 } } }, "alternate": null, "range": [ - 12135, - 12245 + 15009, + 15119 ], "loc": { "start": { - "line": 344, + "line": 522, "column": 8 }, "end": { - "line": 346, + "line": 524, "column": 9 } } @@ -31437,16 +31402,16 @@ "object": { "type": "ThisExpression", "range": [ - 12258, - 12262 + 15132, + 15136 ], "loc": { "start": { - "line": 347, + "line": 525, "column": 12 }, "end": { - "line": 347, + "line": 525, "column": 16 } } @@ -31455,31 +31420,31 @@ "type": "Identifier", "name": "onBeforeColDisplayed", "range": [ - 12263, - 12283 + 15137, + 15157 ], "loc": { "start": { - "line": 347, + "line": 525, "column": 17 }, "end": { - "line": 347, + "line": 525, "column": 37 } } }, "range": [ - 12258, - 12283 + 15132, + 15157 ], "loc": { "start": { - "line": 347, + "line": 525, "column": 12 }, "end": { - "line": 347, + "line": 525, "column": 37 } } @@ -31491,47 +31456,47 @@ "type": "Identifier", "name": "hide", "range": [ - 12288, - 12292 + 15162, + 15166 ], "loc": { "start": { - "line": 347, + "line": 525, "column": 42 }, "end": { - "line": 347, + "line": 525, "column": 46 } } }, "prefix": true, "range": [ - 12287, - 12292 + 15161, + 15166 ], "loc": { "start": { - "line": 347, + "line": 525, "column": 41 }, "end": { - "line": 347, + "line": 525, "column": 46 } } }, "range": [ - 12258, - 12292 + 15132, + 15166 ], "loc": { "start": { - "line": 347, + "line": 525, "column": 12 }, "end": { - "line": 347, + "line": 525, "column": 46 } } @@ -31552,16 +31517,16 @@ "object": { "type": "ThisExpression", "range": [ - 12308, - 12312 + 15182, + 15186 ], "loc": { "start": { - "line": 348, + "line": 526, "column": 12 }, "end": { - "line": 348, + "line": 526, "column": 16 } } @@ -31570,31 +31535,31 @@ "type": "Identifier", "name": "onBeforeColDisplayed", "range": [ - 12313, - 12333 + 15187, + 15207 ], "loc": { "start": { - "line": 348, + "line": 526, "column": 17 }, "end": { - "line": 348, + "line": 526, "column": 37 } } }, "range": [ - 12308, - 12333 + 15182, + 15207 ], "loc": { "start": { - "line": 348, + "line": 526, "column": 12 }, "end": { - "line": 348, + "line": 526, "column": 37 } } @@ -31603,31 +31568,31 @@ "type": "Identifier", "name": "call", "range": [ - 12334, - 12338 + 15208, + 15212 ], "loc": { "start": { - "line": 348, + "line": 526, "column": 38 }, "end": { - "line": 348, + "line": 526, "column": 42 } } }, "range": [ - 12308, - 12338 + 15182, + 15212 ], "loc": { "start": { - "line": 348, + "line": 526, "column": 12 }, "end": { - "line": 348, + "line": 526, "column": 42 } } @@ -31638,16 +31603,16 @@ "value": null, "raw": "null", "range": [ - 12339, - 12343 + 15213, + 15217 ], "loc": { "start": { - "line": 348, + "line": 526, "column": 43 }, "end": { - "line": 348, + "line": 526, "column": 47 } } @@ -31655,16 +31620,16 @@ { "type": "ThisExpression", "range": [ - 12345, - 12349 + 15219, + 15223 ], "loc": { "start": { - "line": 348, + "line": 526, "column": 49 }, "end": { - "line": 348, + "line": 526, "column": 53 } } @@ -31673,79 +31638,79 @@ "type": "Identifier", "name": "colIndex", "range": [ - 12351, - 12359 + 15225, + 15233 ], "loc": { "start": { - "line": 348, + "line": 526, "column": 55 }, "end": { - "line": 348, + "line": 526, "column": 63 } } } ], "range": [ - 12308, - 12360 + 15182, + 15234 ], "loc": { "start": { - "line": 348, + "line": 526, "column": 12 }, "end": { - "line": 348, + "line": 526, "column": 64 } } }, "range": [ - 12308, - 12361 + 15182, + 15235 ], "loc": { "start": { - "line": 348, + "line": 526, "column": 12 }, "end": { - "line": 348, + "line": 526, "column": 65 } } } ], "range": [ - 12294, - 12371 + 15168, + 15245 ], "loc": { "start": { - "line": 347, + "line": 525, "column": 48 }, "end": { - "line": 349, + "line": 527, "column": 9 } } }, "alternate": null, "range": [ - 12254, - 12371 + 15128, + 15245 ], "loc": { "start": { - "line": 347, + "line": 525, "column": 8 }, "end": { - "line": 349, + "line": 527, "column": 9 } } @@ -31760,16 +31725,16 @@ "object": { "type": "ThisExpression", "range": [ - 12381, - 12385 + 15255, + 15259 ], "loc": { "start": { - "line": 351, + "line": 529, "column": 8 }, "end": { - "line": 351, + "line": 529, "column": 12 } } @@ -31778,31 +31743,31 @@ "type": "Identifier", "name": "_hideCells", "range": [ - 12386, - 12396 + 15260, + 15270 ], "loc": { "start": { - "line": 351, + "line": 529, "column": 13 }, "end": { - "line": 351, + "line": 529, "column": 23 } } }, "range": [ - 12381, - 12396 + 15255, + 15270 ], "loc": { "start": { - "line": 351, + "line": 529, "column": 8 }, "end": { - "line": 351, + "line": 529, "column": 23 } } @@ -31812,16 +31777,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 12397, - 12400 + 15271, + 15274 ], "loc": { "start": { - "line": 351, + "line": 529, "column": 24 }, "end": { - "line": 351, + "line": 529, "column": 27 } } @@ -31830,16 +31795,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 12402, - 12410 + 15276, + 15284 ], "loc": { "start": { - "line": 351, + "line": 529, "column": 29 }, "end": { - "line": 351, + "line": 529, "column": 37 } } @@ -31848,47 +31813,47 @@ "type": "Identifier", "name": "hide", "range": [ - 12412, - 12416 + 15286, + 15290 ], "loc": { "start": { - "line": 351, + "line": 529, "column": 39 }, "end": { - "line": 351, + "line": 529, "column": 43 } } } ], "range": [ - 12381, - 12417 + 15255, + 15291 ], "loc": { "start": { - "line": 351, + "line": 529, "column": 8 }, "end": { - "line": 351, + "line": 529, "column": 44 } } }, "range": [ - 12381, - 12418 + 15255, + 15292 ], "loc": { "start": { - "line": 351, + "line": 529, "column": 8 }, "end": { - "line": 351, + "line": 529, "column": 45 } } @@ -31901,16 +31866,16 @@ "object": { "type": "ThisExpression", "range": [ - 12431, - 12435 + 15305, + 15309 ], "loc": { "start": { - "line": 352, + "line": 530, "column": 12 }, "end": { - "line": 352, + "line": 530, "column": 16 } } @@ -31919,31 +31884,31 @@ "type": "Identifier", "name": "headersTbl", "range": [ - 12436, - 12446 + 15310, + 15320 ], "loc": { "start": { - "line": 352, + "line": 530, "column": 17 }, "end": { - "line": 352, + "line": 530, "column": 27 } } }, "range": [ - 12431, - 12446 + 15305, + 15320 ], "loc": { "start": { - "line": 352, + "line": 530, "column": 12 }, "end": { - "line": 352, + "line": 530, "column": 27 } } @@ -31961,16 +31926,16 @@ "object": { "type": "ThisExpression", "range": [ - 12462, - 12466 + 15336, + 15340 ], "loc": { "start": { - "line": 353, + "line": 531, "column": 12 }, "end": { - "line": 353, + "line": 531, "column": 16 } } @@ -31979,31 +31944,31 @@ "type": "Identifier", "name": "_hideCells", "range": [ - 12467, - 12477 + 15341, + 15351 ], "loc": { "start": { - "line": 353, + "line": 531, "column": 17 }, "end": { - "line": 353, + "line": 531, "column": 27 } } }, "range": [ - 12462, - 12477 + 15336, + 15351 ], "loc": { "start": { - "line": 353, + "line": 531, "column": 12 }, "end": { - "line": 353, + "line": 531, "column": 27 } } @@ -32015,16 +31980,16 @@ "object": { "type": "ThisExpression", "range": [ - 12478, - 12482 + 15352, + 15356 ], "loc": { "start": { - "line": 353, + "line": 531, "column": 28 }, "end": { - "line": 353, + "line": 531, "column": 32 } } @@ -32033,31 +31998,31 @@ "type": "Identifier", "name": "headersTbl", "range": [ - 12483, - 12493 + 15357, + 15367 ], "loc": { "start": { - "line": 353, + "line": 531, "column": 33 }, "end": { - "line": 353, + "line": 531, "column": 43 } } }, "range": [ - 12478, - 12493 + 15352, + 15367 ], "loc": { "start": { - "line": 353, + "line": 531, "column": 28 }, "end": { - "line": 353, + "line": 531, "column": 43 } } @@ -32066,16 +32031,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 12495, - 12503 + 15369, + 15377 ], "loc": { "start": { - "line": 353, + "line": 531, "column": 45 }, "end": { - "line": 353, + "line": 531, "column": 53 } } @@ -32084,79 +32049,79 @@ "type": "Identifier", "name": "hide", "range": [ - 12505, - 12509 + 15379, + 15383 ], "loc": { "start": { - "line": 353, + "line": 531, "column": 55 }, "end": { - "line": 353, + "line": 531, "column": 59 } } } ], "range": [ - 12462, - 12510 + 15336, + 15384 ], "loc": { "start": { - "line": 353, + "line": 531, "column": 12 }, "end": { - "line": 353, + "line": 531, "column": 60 } } }, "range": [ - 12462, - 12511 + 15336, + 15385 ], "loc": { "start": { - "line": 353, + "line": 531, "column": 12 }, "end": { - "line": 353, + "line": 531, "column": 61 } } } ], "range": [ - 12448, - 12521 + 15322, + 15395 ], "loc": { "start": { - "line": 352, + "line": 530, "column": 29 }, "end": { - "line": 354, + "line": 532, "column": 9 } } }, "alternate": null, "range": [ - 12427, - 12521 + 15301, + 15395 ], "loc": { "start": { - "line": 352, + "line": 530, "column": 8 }, "end": { - "line": 354, + "line": 532, "column": 9 } } @@ -32170,16 +32135,16 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 12535, - 12545 + 15409, + 15419 ], "loc": { "start": { - "line": 356, + "line": 534, "column": 12 }, "end": { - "line": 356, + "line": 534, "column": 22 } } @@ -32190,16 +32155,16 @@ "object": { "type": "ThisExpression", "range": [ - 12548, - 12552 + 15422, + 15426 ], "loc": { "start": { - "line": 356, + "line": 534, "column": 25 }, "end": { - "line": 356, + "line": 534, "column": 29 } } @@ -32208,46 +32173,46 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 12553, - 12563 + 15427, + 15437 ], "loc": { "start": { - "line": 356, + "line": 534, "column": 30 }, "end": { - "line": 356, + "line": 534, "column": 40 } } }, "range": [ - 12548, - 12563 + 15422, + 15437 ], "loc": { "start": { - "line": 356, + "line": 534, "column": 25 }, "end": { - "line": 356, + "line": 534, "column": 40 } } }, "range": [ - 12535, - 12563 + 15409, + 15437 ], "loc": { "start": { - "line": 356, + "line": 534, "column": 12 }, "end": { - "line": 356, + "line": 534, "column": 40 } } @@ -32255,16 +32220,16 @@ ], "kind": "let", "range": [ - 12531, - 12564 + 15405, + 15438 ], "loc": { "start": { - "line": 356, + "line": 534, "column": 8 }, "end": { - "line": 356, + "line": 534, "column": 41 } } @@ -32278,16 +32243,16 @@ "type": "Identifier", "name": "itemIndex", "range": [ - 12577, - 12586 + 15451, + 15460 ], "loc": { "start": { - "line": 357, + "line": 535, "column": 12 }, "end": { - "line": 357, + "line": 535, "column": 21 } } @@ -32301,16 +32266,16 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 12589, - 12599 + 15463, + 15473 ], "loc": { "start": { - "line": 357, + "line": 535, "column": 24 }, "end": { - "line": 357, + "line": 535, "column": 34 } } @@ -32319,31 +32284,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 12600, - 12607 + 15474, + 15481 ], "loc": { "start": { - "line": 357, + "line": 535, "column": 35 }, "end": { - "line": 357, + "line": 535, "column": 42 } } }, "range": [ - 12589, - 12607 + 15463, + 15481 ], "loc": { "start": { - "line": 357, + "line": 535, "column": 24 }, "end": { - "line": 357, + "line": 535, "column": 42 } } @@ -32353,47 +32318,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 12608, - 12616 + 15482, + 15490 ], "loc": { "start": { - "line": 357, + "line": 535, "column": 43 }, "end": { - "line": 357, + "line": 535, "column": 51 } } } ], "range": [ - 12589, - 12617 + 15463, + 15491 ], "loc": { "start": { - "line": 357, + "line": 535, "column": 24 }, "end": { - "line": 357, + "line": 535, "column": 52 } } }, "range": [ - 12577, - 12617 + 15451, + 15491 ], "loc": { "start": { - "line": 357, + "line": 535, "column": 12 }, "end": { - "line": 357, + "line": 535, "column": 52 } } @@ -32401,16 +32366,16 @@ ], "kind": "let", "range": [ - 12573, - 12618 + 15447, + 15492 ], "loc": { "start": { - "line": 357, + "line": 535, "column": 8 }, "end": { - "line": 357, + "line": 535, "column": 53 } } @@ -32421,16 +32386,16 @@ "type": "Identifier", "name": "hide", "range": [ - 12631, - 12635 + 15505, + 15509 ], "loc": { "start": { - "line": 358, + "line": 536, "column": 12 }, "end": { - "line": 358, + "line": 536, "column": 16 } } @@ -32447,16 +32412,16 @@ "type": "Identifier", "name": "itemIndex", "range": [ - 12655, - 12664 + 15529, + 15538 ], "loc": { "start": { - "line": 359, + "line": 537, "column": 16 }, "end": { - "line": 359, + "line": 537, "column": 25 } } @@ -32469,47 +32434,47 @@ "value": 1, "raw": "1", "range": [ - 12670, - 12671 + 15544, + 15545 ], "loc": { "start": { - "line": 359, + "line": 537, "column": 31 }, "end": { - "line": 359, + "line": 537, "column": 32 } } }, "prefix": true, "range": [ - 12669, - 12671 + 15543, + 15545 ], "loc": { "start": { - "line": 359, + "line": 537, "column": 30 }, "end": { - "line": 359, + "line": 537, "column": 32 } } }, "range": [ - 12655, - 12671 + 15529, + 15545 ], "loc": { "start": { - "line": 359, + "line": 537, "column": 16 }, "end": { - "line": 359, + "line": 537, "column": 32 } } @@ -32530,16 +32495,16 @@ "object": { "type": "ThisExpression", "range": [ - 12691, - 12695 + 15565, + 15569 ], "loc": { "start": { - "line": 360, + "line": 538, "column": 16 }, "end": { - "line": 360, + "line": 538, "column": 20 } } @@ -32548,31 +32513,31 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 12696, - 12706 + 15570, + 15580 ], "loc": { "start": { - "line": 360, + "line": 538, "column": 21 }, "end": { - "line": 360, + "line": 538, "column": 31 } } }, "range": [ - 12691, - 12706 + 15565, + 15580 ], "loc": { "start": { - "line": 360, + "line": 538, "column": 16 }, "end": { - "line": 360, + "line": 538, "column": 31 } } @@ -32581,31 +32546,31 @@ "type": "Identifier", "name": "push", "range": [ - 12707, - 12711 + 15581, + 15585 ], "loc": { "start": { - "line": 360, + "line": 538, "column": 32 }, "end": { - "line": 360, + "line": 538, "column": 36 } } }, "range": [ - 12691, - 12711 + 15565, + 15585 ], "loc": { "start": { - "line": 360, + "line": 538, "column": 16 }, "end": { - "line": 360, + "line": 538, "column": 36 } } @@ -32615,95 +32580,95 @@ "type": "Identifier", "name": "colIndex", "range": [ - 12712, - 12720 + 15586, + 15594 ], "loc": { "start": { - "line": 360, + "line": 538, "column": 37 }, "end": { - "line": 360, + "line": 538, "column": 45 } } } ], "range": [ - 12691, - 12721 + 15565, + 15595 ], "loc": { "start": { - "line": 360, + "line": 538, "column": 16 }, "end": { - "line": 360, + "line": 538, "column": 46 } } }, "range": [ - 12691, - 12722 + 15565, + 15596 ], "loc": { "start": { - "line": 360, + "line": 538, "column": 16 }, "end": { - "line": 360, + "line": 538, "column": 47 } } } ], "range": [ - 12673, - 12736 + 15547, + 15610 ], "loc": { "start": { - "line": 359, + "line": 537, "column": 34 }, "end": { - "line": 361, + "line": 539, "column": 13 } } }, "alternate": null, "range": [ - 12651, - 12736 + 15525, + 15610 ], "loc": { "start": { - "line": 359, + "line": 537, "column": 12 }, "end": { - "line": 361, + "line": 539, "column": 13 } } } ], "range": [ - 12637, - 12746 + 15511, + 15620 ], "loc": { "start": { - "line": 358, + "line": 536, "column": 18 }, "end": { - "line": 362, + "line": 540, "column": 9 } } @@ -32720,16 +32685,16 @@ "type": "Identifier", "name": "itemIndex", "range": [ - 12770, - 12779 + 15644, + 15653 ], "loc": { "start": { - "line": 363, + "line": 541, "column": 16 }, "end": { - "line": 363, + "line": 541, "column": 25 } } @@ -32742,47 +32707,47 @@ "value": 1, "raw": "1", "range": [ - 12785, - 12786 + 15659, + 15660 ], "loc": { "start": { - "line": 363, + "line": 541, "column": 31 }, "end": { - "line": 363, + "line": 541, "column": 32 } } }, "prefix": true, "range": [ - 12784, - 12786 + 15658, + 15660 ], "loc": { "start": { - "line": 363, + "line": 541, "column": 30 }, "end": { - "line": 363, + "line": 541, "column": 32 } } }, "range": [ - 12770, - 12786 + 15644, + 15660 ], "loc": { "start": { - "line": 363, + "line": 541, "column": 16 }, "end": { - "line": 363, + "line": 541, "column": 32 } } @@ -32803,16 +32768,16 @@ "object": { "type": "ThisExpression", "range": [ - 12806, - 12810 + 15680, + 15684 ], "loc": { "start": { - "line": 364, + "line": 542, "column": 16 }, "end": { - "line": 364, + "line": 542, "column": 20 } } @@ -32821,31 +32786,31 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 12811, - 12821 + 15685, + 15695 ], "loc": { "start": { - "line": 364, + "line": 542, "column": 21 }, "end": { - "line": 364, + "line": 542, "column": 31 } } }, "range": [ - 12806, - 12821 + 15680, + 15695 ], "loc": { "start": { - "line": 364, + "line": 542, "column": 16 }, "end": { - "line": 364, + "line": 542, "column": 31 } } @@ -32854,31 +32819,31 @@ "type": "Identifier", "name": "splice", "range": [ - 12822, - 12828 + 15696, + 15702 ], "loc": { "start": { - "line": 364, + "line": 542, "column": 32 }, "end": { - "line": 364, + "line": 542, "column": 38 } } }, "range": [ - 12806, - 12828 + 15680, + 15702 ], "loc": { "start": { - "line": 364, + "line": 542, "column": 16 }, "end": { - "line": 364, + "line": 542, "column": 38 } } @@ -32888,16 +32853,16 @@ "type": "Identifier", "name": "itemIndex", "range": [ - 12829, - 12838 + 15703, + 15712 ], "loc": { "start": { - "line": 364, + "line": 542, "column": 39 }, "end": { - "line": 364, + "line": 542, "column": 48 } } @@ -32907,110 +32872,110 @@ "value": 1, "raw": "1", "range": [ - 12840, - 12841 + 15714, + 15715 ], "loc": { "start": { - "line": 364, + "line": 542, "column": 50 }, "end": { - "line": 364, + "line": 542, "column": 51 } } } ], "range": [ - 12806, - 12842 + 15680, + 15716 ], "loc": { "start": { - "line": 364, + "line": 542, "column": 16 }, "end": { - "line": 364, + "line": 542, "column": 52 } } }, "range": [ - 12806, - 12843 + 15680, + 15717 ], "loc": { "start": { - "line": 364, + "line": 542, "column": 16 }, "end": { - "line": 364, + "line": 542, "column": 53 } } } ], "range": [ - 12788, - 12857 + 15662, + 15731 ], "loc": { "start": { - "line": 363, + "line": 541, "column": 34 }, "end": { - "line": 365, + "line": 543, "column": 13 } } }, "alternate": null, "range": [ - 12766, - 12857 + 15640, + 15731 ], "loc": { "start": { - "line": 363, + "line": 541, "column": 12 }, "end": { - "line": 365, + "line": 543, "column": 13 } } } ], "range": [ - 12752, - 12867 + 15626, + 15741 ], "loc": { "start": { - "line": 362, + "line": 540, "column": 15 }, "end": { - "line": 366, + "line": 544, "column": 9 } } }, "range": [ - 12627, - 12867 + 15501, + 15741 ], "loc": { "start": { - "line": 358, + "line": 536, "column": 8 }, "end": { - "line": 366, + "line": 544, "column": 9 } } @@ -33024,32 +32989,32 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 12881, - 12891 + 15755, + 15765 ], "loc": { "start": { - "line": 368, + "line": 546, "column": 12 }, "end": { - "line": 368, + "line": 546, "column": 22 } } }, "init": null, "range": [ - 12881, - 12891 + 15755, + 15765 ], "loc": { "start": { - "line": 368, + "line": 546, "column": 12 }, "end": { - "line": 368, + "line": 546, "column": 22 } } @@ -33057,16 +33022,16 @@ ], "kind": "let", "range": [ - 12877, - 12892 + 15751, + 15766 ], "loc": { "start": { - "line": 368, + "line": 546, "column": 8 }, "end": { - "line": 368, + "line": 546, "column": 23 } } @@ -33080,32 +33045,32 @@ "type": "Identifier", "name": "headTbl", "range": [ - 12905, - 12912 + 15779, + 15786 ], "loc": { "start": { - "line": 369, + "line": 547, "column": 12 }, "end": { - "line": 369, + "line": 547, "column": 19 } } }, "init": null, "range": [ - 12905, - 12912 + 15779, + 15786 ], "loc": { "start": { - "line": 369, + "line": 547, "column": 12 }, "end": { - "line": 369, + "line": 547, "column": 19 } } @@ -33113,16 +33078,16 @@ ], "kind": "let", "range": [ - 12901, - 12913 + 15775, + 15787 ], "loc": { "start": { - "line": 369, + "line": 547, "column": 8 }, "end": { - "line": 369, + "line": 547, "column": 20 } } @@ -33136,32 +33101,32 @@ "type": "Identifier", "name": "gridColElms", "range": [ - 12926, - 12937 + 15800, + 15811 ], "loc": { "start": { - "line": 370, + "line": 548, "column": 12 }, "end": { - "line": 370, + "line": 548, "column": 23 } } }, "init": null, "range": [ - 12926, - 12937 + 15800, + 15811 ], "loc": { "start": { - "line": 370, + "line": 548, "column": 12 }, "end": { - "line": 370, + "line": 548, "column": 23 } } @@ -33169,16 +33134,16 @@ ], "kind": "let", "range": [ - 12922, - 12938 + 15796, + 15812 ], "loc": { "start": { - "line": 370, + "line": 548, "column": 8 }, "end": { - "line": 370, + "line": 548, "column": 24 } } @@ -33189,16 +33154,16 @@ "type": "Identifier", "name": "hide", "range": [ - 12951, - 12955 + 15825, + 15829 ], "loc": { "start": { - "line": 371, + "line": 549, "column": 12 }, "end": { - "line": 371, + "line": 549, "column": 16 } } @@ -33215,16 +33180,16 @@ "type": "Identifier", "name": "tf", "range": [ - 13178, - 13180 + 16052, + 16054 ], "loc": { "start": { - "line": 376, + "line": 554, "column": 16 }, "end": { - "line": 376, + "line": 554, "column": 18 } } @@ -33233,31 +33198,31 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 13181, - 13191 + 16055, + 16065 ], "loc": { "start": { - "line": 376, + "line": 554, "column": 19 }, "end": { - "line": 376, + "line": 554, "column": 29 } } }, "range": [ - 13178, - 13191 + 16052, + 16065 ], "loc": { "start": { - "line": 376, + "line": 554, "column": 16 }, "end": { - "line": 376, + "line": 554, "column": 29 } } @@ -33274,16 +33239,16 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 13211, - 13221 + 16085, + 16095 ], "loc": { "start": { - "line": 377, + "line": 555, "column": 16 }, "end": { - "line": 377, + "line": 555, "column": 26 } } @@ -33297,16 +33262,16 @@ "type": "Identifier", "name": "tf", "range": [ - 13224, - 13226 + 16098, + 16100 ], "loc": { "start": { - "line": 377, + "line": 555, "column": 29 }, "end": { - "line": 377, + "line": 555, "column": 31 } } @@ -33315,31 +33280,31 @@ "type": "Identifier", "name": "feature", "range": [ - 13227, - 13234 + 16101, + 16108 ], "loc": { "start": { - "line": 377, + "line": 555, "column": 32 }, "end": { - "line": 377, + "line": 555, "column": 39 } } }, "range": [ - 13224, - 13234 + 16098, + 16108 ], "loc": { "start": { - "line": 377, + "line": 555, "column": 29 }, "end": { - "line": 377, + "line": 555, "column": 39 } } @@ -33350,62 +33315,62 @@ "value": "gridLayout", "raw": "'gridLayout'", "range": [ - 13235, - 13247 + 16109, + 16121 ], "loc": { "start": { - "line": 377, + "line": 555, "column": 40 }, "end": { - "line": 377, + "line": 555, "column": 52 } } } ], "range": [ - 13224, - 13248 + 16098, + 16122 ], "loc": { "start": { - "line": 377, + "line": 555, "column": 29 }, "end": { - "line": 377, + "line": 555, "column": 53 } } }, "range": [ - 13211, - 13248 + 16085, + 16122 ], "loc": { "start": { - "line": 377, + "line": 555, "column": 16 }, "end": { - "line": 377, + "line": 555, "column": 53 } } }, "range": [ - 13211, - 13249 + 16085, + 16123 ], "loc": { "start": { - "line": 377, + "line": 555, "column": 16 }, "end": { - "line": 377, + "line": 555, "column": 54 } } @@ -33419,16 +33384,16 @@ "type": "Identifier", "name": "headTbl", "range": [ - 13266, - 13273 + 16140, + 16147 ], "loc": { "start": { - "line": 378, + "line": 556, "column": 16 }, "end": { - "line": 378, + "line": 556, "column": 23 } } @@ -33440,16 +33405,16 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 13276, - 13286 + 16150, + 16160 ], "loc": { "start": { - "line": 378, + "line": 556, "column": 26 }, "end": { - "line": 378, + "line": 556, "column": 36 } } @@ -33458,61 +33423,61 @@ "type": "Identifier", "name": "headTbl", "range": [ - 13287, - 13294 + 16161, + 16168 ], "loc": { "start": { - "line": 378, + "line": 556, "column": 37 }, "end": { - "line": 378, + "line": 556, "column": 44 } } }, "range": [ - 13276, - 13294 + 16150, + 16168 ], "loc": { "start": { - "line": 378, + "line": 556, "column": 26 }, "end": { - "line": 378, + "line": 556, "column": 44 } } }, "range": [ - 13266, - 13294 + 16140, + 16168 ], "loc": { "start": { - "line": 378, + "line": 556, "column": 16 }, "end": { - "line": 378, + "line": 556, "column": 44 } } }, "range": [ - 13266, - 13295 + 16140, + 16169 ], "loc": { "start": { - "line": 378, + "line": 556, "column": 16 }, "end": { - "line": 378, + "line": 556, "column": 45 } } @@ -33526,16 +33491,16 @@ "type": "Identifier", "name": "gridColElms", "range": [ - 13312, - 13323 + 16186, + 16197 ], "loc": { "start": { - "line": 379, + "line": 557, "column": 16 }, "end": { - "line": 379, + "line": 557, "column": 27 } } @@ -33547,16 +33512,16 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 13326, - 13336 + 16200, + 16210 ], "loc": { "start": { - "line": 379, + "line": 557, "column": 30 }, "end": { - "line": 379, + "line": 557, "column": 40 } } @@ -33565,61 +33530,61 @@ "type": "Identifier", "name": "colElms", "range": [ - 13337, - 13344 + 16211, + 16218 ], "loc": { "start": { - "line": 379, + "line": 557, "column": 41 }, "end": { - "line": 379, + "line": 557, "column": 48 } } }, "range": [ - 13326, - 13344 + 16200, + 16218 ], "loc": { "start": { - "line": 379, + "line": 557, "column": 30 }, "end": { - "line": 379, + "line": 557, "column": 48 } } }, "range": [ - 13312, - 13344 + 16186, + 16218 ], "loc": { "start": { - "line": 379, + "line": 557, "column": 16 }, "end": { - "line": 379, + "line": 557, "column": 48 } } }, "range": [ - 13312, - 13345 + 16186, + 16219 ], "loc": { "start": { - "line": 379, + "line": 557, "column": 16 }, "end": { - "line": 379, + "line": 557, "column": 49 } } @@ -33633,16 +33598,16 @@ "type": "Identifier", "name": "hiddenWidth", "range": [ - 13366, - 13377 + 16240, + 16251 ], "loc": { "start": { - "line": 380, + "line": 558, "column": 20 }, "end": { - "line": 380, + "line": 558, "column": 31 } } @@ -33653,16 +33618,16 @@ "type": "Identifier", "name": "parseInt", "range": [ - 13380, - 13388 + 16254, + 16262 ], "loc": { "start": { - "line": 380, + "line": 558, "column": 34 }, "end": { - "line": 380, + "line": 558, "column": 42 } } @@ -33681,16 +33646,16 @@ "type": "Identifier", "name": "gridColElms", "range": [ - 13410, - 13421 + 16284, + 16295 ], "loc": { "start": { - "line": 381, + "line": 559, "column": 20 }, "end": { - "line": 381, + "line": 559, "column": 31 } } @@ -33699,31 +33664,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 13422, - 13430 + 16296, + 16304 ], "loc": { "start": { - "line": 381, + "line": 559, "column": 32 }, "end": { - "line": 381, + "line": 559, "column": 40 } } }, "range": [ - 13410, - 13431 + 16284, + 16305 ], "loc": { "start": { - "line": 381, + "line": 559, "column": 20 }, "end": { - "line": 381, + "line": 559, "column": 41 } } @@ -33732,31 +33697,31 @@ "type": "Identifier", "name": "style", "range": [ - 13432, - 13437 + 16306, + 16311 ], "loc": { "start": { - "line": 381, + "line": 559, "column": 42 }, "end": { - "line": 381, + "line": 559, "column": 47 } } }, "range": [ - 13410, - 13437 + 16284, + 16311 ], "loc": { "start": { - "line": 381, + "line": 559, "column": 20 }, "end": { - "line": 381, + "line": 559, "column": 47 } } @@ -33765,31 +33730,31 @@ "type": "Identifier", "name": "width", "range": [ - 13438, - 13443 + 16312, + 16317 ], "loc": { "start": { - "line": 381, + "line": 559, "column": 48 }, "end": { - "line": 381, + "line": 559, "column": 53 } } }, "range": [ - 13410, - 13443 + 16284, + 16317 ], "loc": { "start": { - "line": 381, + "line": 559, "column": 20 }, "end": { - "line": 381, + "line": 559, "column": 53 } } @@ -33799,47 +33764,47 @@ "value": 10, "raw": "10", "range": [ - 13445, - 13447 + 16319, + 16321 ], "loc": { "start": { - "line": 381, + "line": 559, "column": 55 }, "end": { - "line": 381, + "line": 559, "column": 57 } } } ], "range": [ - 13380, - 13448 + 16254, + 16322 ], "loc": { "start": { - "line": 380, + "line": 558, "column": 34 }, "end": { - "line": 381, + "line": 559, "column": 58 } } }, "range": [ - 13366, - 13448 + 16240, + 16322 ], "loc": { "start": { - "line": 380, + "line": 558, "column": 20 }, "end": { - "line": 381, + "line": 559, "column": 58 } } @@ -33847,16 +33812,16 @@ ], "kind": "let", "range": [ - 13362, - 13449 + 16236, + 16323 ], "loc": { "start": { - "line": 380, + "line": 558, "column": 16 }, "end": { - "line": 381, + "line": 559, "column": 59 } } @@ -33870,16 +33835,16 @@ "type": "Identifier", "name": "headTblW", "range": [ - 13471, - 13479 + 16345, + 16353 ], "loc": { "start": { - "line": 383, + "line": 561, "column": 20 }, "end": { - "line": 383, + "line": 561, "column": 28 } } @@ -33890,16 +33855,16 @@ "type": "Identifier", "name": "parseInt", "range": [ - 13482, - 13490 + 16356, + 16364 ], "loc": { "start": { - "line": 383, + "line": 561, "column": 31 }, "end": { - "line": 383, + "line": 561, "column": 39 } } @@ -33915,16 +33880,16 @@ "type": "Identifier", "name": "headTbl", "range": [ - 13491, - 13498 + 16365, + 16372 ], "loc": { "start": { - "line": 383, + "line": 561, "column": 40 }, "end": { - "line": 383, + "line": 561, "column": 47 } } @@ -33933,31 +33898,31 @@ "type": "Identifier", "name": "style", "range": [ - 13499, - 13504 + 16373, + 16378 ], "loc": { "start": { - "line": 383, + "line": 561, "column": 48 }, "end": { - "line": 383, + "line": 561, "column": 53 } } }, "range": [ - 13491, - 13504 + 16365, + 16378 ], "loc": { "start": { - "line": 383, + "line": 561, "column": 40 }, "end": { - "line": 383, + "line": 561, "column": 53 } } @@ -33966,31 +33931,31 @@ "type": "Identifier", "name": "width", "range": [ - 13505, - 13510 + 16379, + 16384 ], "loc": { "start": { - "line": 383, + "line": 561, "column": 54 }, "end": { - "line": 383, + "line": 561, "column": 59 } } }, "range": [ - 13491, - 13510 + 16365, + 16384 ], "loc": { "start": { - "line": 383, + "line": 561, "column": 40 }, "end": { - "line": 383, + "line": 561, "column": 59 } } @@ -34000,47 +33965,47 @@ "value": 10, "raw": "10", "range": [ - 13512, - 13514 + 16386, + 16388 ], "loc": { "start": { - "line": 383, + "line": 561, "column": 61 }, "end": { - "line": 383, + "line": 561, "column": 63 } } } ], "range": [ - 13482, - 13515 + 16356, + 16389 ], "loc": { "start": { - "line": 383, + "line": 561, "column": 31 }, "end": { - "line": 383, + "line": 561, "column": 64 } } }, "range": [ - 13471, - 13515 + 16345, + 16389 ], "loc": { "start": { - "line": 383, + "line": 561, "column": 20 }, "end": { - "line": 383, + "line": 561, "column": 64 } } @@ -34048,16 +34013,16 @@ ], "kind": "let", "range": [ - 13467, - 13516 + 16341, + 16390 ], "loc": { "start": { - "line": 383, + "line": 561, "column": 16 }, "end": { - "line": 383, + "line": 561, "column": 65 } } @@ -34077,16 +34042,16 @@ "type": "Identifier", "name": "headTbl", "range": [ - 13533, - 13540 + 16407, + 16414 ], "loc": { "start": { - "line": 384, + "line": 562, "column": 16 }, "end": { - "line": 384, + "line": 562, "column": 23 } } @@ -34095,31 +34060,31 @@ "type": "Identifier", "name": "style", "range": [ - 13541, - 13546 + 16415, + 16420 ], "loc": { "start": { - "line": 384, + "line": 562, "column": 24 }, "end": { - "line": 384, + "line": 562, "column": 29 } } }, "range": [ - 13533, - 13546 + 16407, + 16420 ], "loc": { "start": { - "line": 384, + "line": 562, "column": 16 }, "end": { - "line": 384, + "line": 562, "column": 29 } } @@ -34128,31 +34093,31 @@ "type": "Identifier", "name": "width", "range": [ - 13547, - 13552 + 16421, + 16426 ], "loc": { "start": { - "line": 384, + "line": 562, "column": 30 }, "end": { - "line": 384, + "line": 562, "column": 35 } } }, "range": [ - 13533, - 13552 + 16407, + 16426 ], "loc": { "start": { - "line": 384, + "line": 562, "column": 16 }, "end": { - "line": 384, + "line": 562, "column": 35 } } @@ -34167,16 +34132,16 @@ "type": "Identifier", "name": "headTblW", "range": [ - 13555, - 13563 + 16429, + 16437 ], "loc": { "start": { - "line": 384, + "line": 562, "column": 38 }, "end": { - "line": 384, + "line": 562, "column": 46 } } @@ -34185,31 +34150,31 @@ "type": "Identifier", "name": "hiddenWidth", "range": [ - 13566, - 13577 + 16440, + 16451 ], "loc": { "start": { - "line": 384, + "line": 562, "column": 49 }, "end": { - "line": 384, + "line": 562, "column": 60 } } }, "range": [ - 13555, - 13577 + 16429, + 16451 ], "loc": { "start": { - "line": 384, + "line": 562, "column": 38 }, "end": { - "line": 384, + "line": 562, "column": 60 } } @@ -34219,61 +34184,61 @@ "value": "px", "raw": "'px'", "range": [ - 13580, - 13584 + 16454, + 16458 ], "loc": { "start": { - "line": 384, + "line": 562, "column": 63 }, "end": { - "line": 384, + "line": 562, "column": 67 } } }, "range": [ - 13555, - 13584 + 16429, + 16458 ], "loc": { "start": { - "line": 384, + "line": 562, "column": 38 }, "end": { - "line": 384, + "line": 562, "column": 67 } } }, "range": [ - 13533, - 13584 + 16407, + 16458 ], "loc": { "start": { - "line": 384, + "line": 562, "column": 16 }, "end": { - "line": 384, + "line": 562, "column": 67 } } }, "range": [ - 13533, - 13585 + 16407, + 16459 ], "loc": { "start": { - "line": 384, + "line": 562, "column": 16 }, "end": { - "line": 384, + "line": 562, "column": 68 } } @@ -34293,16 +34258,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 13602, - 13605 + 16476, + 16479 ], "loc": { "start": { - "line": 385, + "line": 563, "column": 16 }, "end": { - "line": 385, + "line": 563, "column": 19 } } @@ -34311,31 +34276,31 @@ "type": "Identifier", "name": "style", "range": [ - 13606, - 13611 + 16480, + 16485 ], "loc": { "start": { - "line": 385, + "line": 563, "column": 20 }, "end": { - "line": 385, + "line": 563, "column": 25 } } }, "range": [ - 13602, - 13611 + 16476, + 16485 ], "loc": { "start": { - "line": 385, + "line": 563, "column": 16 }, "end": { - "line": 385, + "line": 563, "column": 25 } } @@ -34344,31 +34309,31 @@ "type": "Identifier", "name": "width", "range": [ - 13612, - 13617 + 16486, + 16491 ], "loc": { "start": { - "line": 385, + "line": 563, "column": 26 }, "end": { - "line": 385, + "line": 563, "column": 31 } } }, "range": [ - 13602, - 13617 + 16476, + 16491 ], "loc": { "start": { - "line": 385, + "line": 563, "column": 16 }, "end": { - "line": 385, + "line": 563, "column": 31 } } @@ -34383,16 +34348,16 @@ "type": "Identifier", "name": "headTbl", "range": [ - 13620, - 13627 + 16494, + 16501 ], "loc": { "start": { - "line": 385, + "line": 563, "column": 34 }, "end": { - "line": 385, + "line": 563, "column": 41 } } @@ -34401,31 +34366,31 @@ "type": "Identifier", "name": "style", "range": [ - 13628, - 13633 + 16502, + 16507 ], "loc": { "start": { - "line": 385, + "line": 563, "column": 42 }, "end": { - "line": 385, + "line": 563, "column": 47 } } }, "range": [ - 13620, - 13633 + 16494, + 16507 ], "loc": { "start": { - "line": 385, + "line": 563, "column": 34 }, "end": { - "line": 385, + "line": 563, "column": 47 } } @@ -34434,93 +34399,93 @@ "type": "Identifier", "name": "width", "range": [ - 13634, - 13639 + 16508, + 16513 ], "loc": { "start": { - "line": 385, + "line": 563, "column": 48 }, "end": { - "line": 385, + "line": 563, "column": 53 } } }, "range": [ - 13620, - 13639 + 16494, + 16513 ], "loc": { "start": { - "line": 385, + "line": 563, "column": 34 }, "end": { - "line": 385, + "line": 563, "column": 53 } } }, "range": [ - 13602, - 13639 + 16476, + 16513 ], "loc": { "start": { - "line": 385, + "line": 563, "column": 16 }, "end": { - "line": 385, + "line": 563, "column": 53 } } }, "range": [ - 13602, - 13640 + 16476, + 16514 ], "loc": { "start": { - "line": 385, + "line": 563, "column": 16 }, "end": { - "line": 385, + "line": 563, "column": 54 } } } ], "range": [ - 13193, - 13654 + 16067, + 16528 ], "loc": { "start": { - "line": 376, + "line": 554, "column": 31 }, "end": { - "line": 386, + "line": 564, "column": 13 } } }, "alternate": null, "range": [ - 13174, - 13654 + 16048, + 16528 ], "loc": { "start": { - "line": 376, + "line": 554, "column": 12 }, "end": { - "line": 386, + "line": 564, "column": 13 } }, @@ -34529,16 +34494,16 @@ "type": "Line", "value": "This event is fired just after a column is displayed for", "range": [ - 12971, - 13029 + 15845, + 15903 ], "loc": { "start": { - "line": 372, + "line": 550, "column": 12 }, "end": { - "line": 372, + "line": 550, "column": 70 } } @@ -34547,16 +34512,16 @@ "type": "Line", "value": "grid_layout support", "range": [ - 13042, - 13063 + 15916, + 15937 ], "loc": { "start": { - "line": 373, + "line": 551, "column": 12 }, "end": { - "line": 373, + "line": 551, "column": 33 } } @@ -34565,16 +34530,16 @@ "type": "Line", "value": "TODO: grid layout module should be responsible for those", "range": [ - 13076, - 13134 + 15950, + 16008 ], "loc": { "start": { - "line": 374, + "line": 552, "column": 12 }, "end": { - "line": 374, + "line": 552, "column": 70 } } @@ -34583,16 +34548,16 @@ "type": "Line", "value": "calculations", "range": [ - 13147, - 13161 + 16021, + 16035 ], "loc": { "start": { - "line": 375, + "line": 553, "column": 12 }, "end": { - "line": 375, + "line": 553, "column": 26 } } @@ -34607,16 +34572,16 @@ "object": { "type": "ThisExpression", "range": [ - 13671, - 13675 + 16545, + 16549 ], "loc": { "start": { - "line": 387, + "line": 565, "column": 16 }, "end": { - "line": 387, + "line": 565, "column": 20 } } @@ -34625,31 +34590,31 @@ "type": "Identifier", "name": "onAfterColHidden", "range": [ - 13676, - 13692 + 16550, + 16566 ], "loc": { "start": { - "line": 387, + "line": 565, "column": 21 }, "end": { - "line": 387, + "line": 565, "column": 37 } } }, "range": [ - 13671, - 13692 + 16545, + 16566 ], "loc": { "start": { - "line": 387, + "line": 565, "column": 16 }, "end": { - "line": 387, + "line": 565, "column": 37 } } @@ -34670,16 +34635,16 @@ "object": { "type": "ThisExpression", "range": [ - 13712, - 13716 + 16586, + 16590 ], "loc": { "start": { - "line": 388, + "line": 566, "column": 16 }, "end": { - "line": 388, + "line": 566, "column": 20 } } @@ -34688,31 +34653,31 @@ "type": "Identifier", "name": "onAfterColHidden", "range": [ - 13717, - 13733 + 16591, + 16607 ], "loc": { "start": { - "line": 388, + "line": 566, "column": 21 }, "end": { - "line": 388, + "line": 566, "column": 37 } } }, "range": [ - 13712, - 13733 + 16586, + 16607 ], "loc": { "start": { - "line": 388, + "line": 566, "column": 16 }, "end": { - "line": 388, + "line": 566, "column": 37 } } @@ -34721,31 +34686,31 @@ "type": "Identifier", "name": "call", "range": [ - 13734, - 13738 + 16608, + 16612 ], "loc": { "start": { - "line": 388, + "line": 566, "column": 38 }, "end": { - "line": 388, + "line": 566, "column": 42 } } }, "range": [ - 13712, - 13738 + 16586, + 16612 ], "loc": { "start": { - "line": 388, + "line": 566, "column": 16 }, "end": { - "line": 388, + "line": 566, "column": 42 } } @@ -34756,16 +34721,16 @@ "value": null, "raw": "null", "range": [ - 13739, - 13743 + 16613, + 16617 ], "loc": { "start": { - "line": 388, + "line": 566, "column": 43 }, "end": { - "line": 388, + "line": 566, "column": 47 } } @@ -34773,16 +34738,16 @@ { "type": "ThisExpression", "range": [ - 13745, - 13749 + 16619, + 16623 ], "loc": { "start": { - "line": 388, + "line": 566, "column": 49 }, "end": { - "line": 388, + "line": 566, "column": 53 } } @@ -34791,79 +34756,79 @@ "type": "Identifier", "name": "colIndex", "range": [ - 13751, - 13759 + 16625, + 16633 ], "loc": { "start": { - "line": 388, + "line": 566, "column": 55 }, "end": { - "line": 388, + "line": 566, "column": 63 } } } ], "range": [ - 13712, - 13760 + 16586, + 16634 ], "loc": { "start": { - "line": 388, + "line": 566, "column": 16 }, "end": { - "line": 388, + "line": 566, "column": 64 } } }, "range": [ - 13712, - 13761 + 16586, + 16635 ], "loc": { "start": { - "line": 388, + "line": 566, "column": 16 }, "end": { - "line": 388, + "line": 566, "column": 65 } } } ], "range": [ - 13694, - 13775 + 16568, + 16649 ], "loc": { "start": { - "line": 387, + "line": 565, "column": 39 }, "end": { - "line": 389, + "line": 567, "column": 13 } } }, "alternate": null, "range": [ - 13667, - 13775 + 16541, + 16649 ], "loc": { "start": { - "line": 387, + "line": 565, "column": 12 }, "end": { - "line": 389, + "line": 567, "column": 13 } } @@ -34881,16 +34846,16 @@ "object": { "type": "ThisExpression", "range": [ - 13788, - 13792 + 16662, + 16666 ], "loc": { "start": { - "line": 390, + "line": 568, "column": 12 }, "end": { - "line": 390, + "line": 568, "column": 16 } } @@ -34899,31 +34864,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 13793, - 13800 + 16667, + 16674 ], "loc": { "start": { - "line": 390, + "line": 568, "column": 17 }, "end": { - "line": 390, + "line": 568, "column": 24 } } }, "range": [ - 13788, - 13800 + 16662, + 16674 ], "loc": { "start": { - "line": 390, + "line": 568, "column": 12 }, "end": { - "line": 390, + "line": 568, "column": 24 } } @@ -34932,31 +34897,31 @@ "type": "Identifier", "name": "emit", "range": [ - 13801, - 13805 + 16675, + 16679 ], "loc": { "start": { - "line": 390, + "line": 568, "column": 25 }, "end": { - "line": 390, + "line": 568, "column": 29 } } }, "range": [ - 13788, - 13805 + 16662, + 16679 ], "loc": { "start": { - "line": 390, + "line": 568, "column": 12 }, "end": { - "line": 390, + "line": 568, "column": 29 } } @@ -34967,16 +34932,16 @@ "value": "column-hidden", "raw": "'column-hidden'", "range": [ - 13806, - 13821 + 16680, + 16695 ], "loc": { "start": { - "line": 390, + "line": 568, "column": 30 }, "end": { - "line": 390, + "line": 568, "column": 45 } } @@ -34985,16 +34950,16 @@ "type": "Identifier", "name": "tf", "range": [ - 13823, - 13825 + 16697, + 16699 ], "loc": { "start": { - "line": 390, + "line": 568, "column": 47 }, "end": { - "line": 390, + "line": 568, "column": 49 } } @@ -35002,16 +34967,16 @@ { "type": "ThisExpression", "range": [ - 13827, - 13831 + 16701, + 16705 ], "loc": { "start": { - "line": 390, + "line": 568, "column": 51 }, "end": { - "line": 390, + "line": 568, "column": 55 } } @@ -35020,16 +34985,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 13833, - 13841 + 16707, + 16715 ], "loc": { "start": { - "line": 390, + "line": 568, "column": 57 }, "end": { - "line": 390, + "line": 568, "column": 65 } } @@ -35040,16 +35005,16 @@ "object": { "type": "ThisExpression", "range": [ - 13859, - 13863 + 16733, + 16737 ], "loc": { "start": { - "line": 391, + "line": 569, "column": 16 }, "end": { - "line": 391, + "line": 569, "column": 20 } } @@ -35058,94 +35023,94 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 13864, - 13874 + 16738, + 16748 ], "loc": { "start": { - "line": 391, + "line": 569, "column": 21 }, "end": { - "line": 391, + "line": 569, "column": 31 } } }, "range": [ - 13859, - 13874 + 16733, + 16748 ], "loc": { "start": { - "line": 391, + "line": 569, "column": 16 }, "end": { - "line": 391, + "line": 569, "column": 31 } } } ], "range": [ - 13788, - 13875 + 16662, + 16749 ], "loc": { "start": { - "line": 390, + "line": 568, "column": 12 }, "end": { - "line": 391, + "line": 569, "column": 32 } } }, "range": [ - 13788, - 13876 + 16662, + 16750 ], "loc": { "start": { - "line": 390, + "line": 568, "column": 12 }, "end": { - "line": 391, + "line": 569, "column": 33 } } } ], "range": [ - 12957, - 13886 + 15831, + 16760 ], "loc": { "start": { - "line": 371, + "line": 549, "column": 18 }, "end": { - "line": 392, + "line": 570, "column": 9 } } }, "alternate": null, "range": [ - 12947, - 13886 + 15821, + 16760 ], "loc": { "start": { - "line": 371, + "line": 549, "column": 8 }, "end": { - "line": 392, + "line": 570, "column": 9 } } @@ -35159,32 +35124,32 @@ "type": "Identifier", "name": "hide", "range": [ - 13901, - 13905 + 16775, + 16779 ], "loc": { "start": { - "line": 394, + "line": 572, "column": 13 }, "end": { - "line": 394, + "line": 572, "column": 17 } } }, "prefix": true, "range": [ - 13900, - 13905 + 16774, + 16779 ], "loc": { "start": { - "line": 394, + "line": 572, "column": 12 }, "end": { - "line": 394, + "line": 572, "column": 17 } } @@ -35201,16 +35166,16 @@ "type": "Identifier", "name": "tf", "range": [ - 14128, - 14130 + 17002, + 17004 ], "loc": { "start": { - "line": 399, + "line": 577, "column": 16 }, "end": { - "line": 399, + "line": 577, "column": 18 } } @@ -35219,31 +35184,31 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 14131, - 14141 + 17005, + 17015 ], "loc": { "start": { - "line": 399, + "line": 577, "column": 19 }, "end": { - "line": 399, + "line": 577, "column": 29 } } }, "range": [ - 14128, - 14141 + 17002, + 17015 ], "loc": { "start": { - "line": 399, + "line": 577, "column": 16 }, "end": { - "line": 399, + "line": 577, "column": 29 } } @@ -35260,16 +35225,16 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 14161, - 14171 + 17035, + 17045 ], "loc": { "start": { - "line": 400, + "line": 578, "column": 16 }, "end": { - "line": 400, + "line": 578, "column": 26 } } @@ -35283,16 +35248,16 @@ "type": "Identifier", "name": "tf", "range": [ - 14174, - 14176 + 17048, + 17050 ], "loc": { "start": { - "line": 400, + "line": 578, "column": 29 }, "end": { - "line": 400, + "line": 578, "column": 31 } } @@ -35301,31 +35266,31 @@ "type": "Identifier", "name": "feature", "range": [ - 14177, - 14184 + 17051, + 17058 ], "loc": { "start": { - "line": 400, + "line": 578, "column": 32 }, "end": { - "line": 400, + "line": 578, "column": 39 } } }, "range": [ - 14174, - 14184 + 17048, + 17058 ], "loc": { "start": { - "line": 400, + "line": 578, "column": 29 }, "end": { - "line": 400, + "line": 578, "column": 39 } } @@ -35336,62 +35301,62 @@ "value": "gridLayout", "raw": "'gridLayout'", "range": [ - 14185, - 14197 + 17059, + 17071 ], "loc": { "start": { - "line": 400, + "line": 578, "column": 40 }, "end": { - "line": 400, + "line": 578, "column": 52 } } } ], "range": [ - 14174, - 14198 + 17048, + 17072 ], "loc": { "start": { - "line": 400, + "line": 578, "column": 29 }, "end": { - "line": 400, + "line": 578, "column": 53 } } }, "range": [ - 14161, - 14198 + 17035, + 17072 ], "loc": { "start": { - "line": 400, + "line": 578, "column": 16 }, "end": { - "line": 400, + "line": 578, "column": 53 } } }, "range": [ - 14161, - 14199 + 17035, + 17073 ], "loc": { "start": { - "line": 400, + "line": 578, "column": 16 }, "end": { - "line": 400, + "line": 578, "column": 54 } } @@ -35405,16 +35370,16 @@ "type": "Identifier", "name": "headTbl", "range": [ - 14216, - 14223 + 17090, + 17097 ], "loc": { "start": { - "line": 401, + "line": 579, "column": 16 }, "end": { - "line": 401, + "line": 579, "column": 23 } } @@ -35426,16 +35391,16 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 14226, - 14236 + 17100, + 17110 ], "loc": { "start": { - "line": 401, + "line": 579, "column": 26 }, "end": { - "line": 401, + "line": 579, "column": 36 } } @@ -35444,61 +35409,61 @@ "type": "Identifier", "name": "headTbl", "range": [ - 14237, - 14244 + 17111, + 17118 ], "loc": { "start": { - "line": 401, + "line": 579, "column": 37 }, "end": { - "line": 401, + "line": 579, "column": 44 } } }, "range": [ - 14226, - 14244 + 17100, + 17118 ], "loc": { "start": { - "line": 401, + "line": 579, "column": 26 }, "end": { - "line": 401, + "line": 579, "column": 44 } } }, "range": [ - 14216, - 14244 + 17090, + 17118 ], "loc": { "start": { - "line": 401, + "line": 579, "column": 16 }, "end": { - "line": 401, + "line": 579, "column": 44 } } }, "range": [ - 14216, - 14245 + 17090, + 17119 ], "loc": { "start": { - "line": 401, + "line": 579, "column": 16 }, "end": { - "line": 401, + "line": 579, "column": 45 } } @@ -35512,16 +35477,16 @@ "type": "Identifier", "name": "gridColElms", "range": [ - 14262, - 14273 + 17136, + 17147 ], "loc": { "start": { - "line": 402, + "line": 580, "column": 16 }, "end": { - "line": 402, + "line": 580, "column": 27 } } @@ -35533,16 +35498,16 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 14276, - 14286 + 17150, + 17160 ], "loc": { "start": { - "line": 402, + "line": 580, "column": 30 }, "end": { - "line": 402, + "line": 580, "column": 40 } } @@ -35551,61 +35516,61 @@ "type": "Identifier", "name": "colElms", "range": [ - 14287, - 14294 + 17161, + 17168 ], "loc": { "start": { - "line": 402, + "line": 580, "column": 41 }, "end": { - "line": 402, + "line": 580, "column": 48 } } }, "range": [ - 14276, - 14294 + 17150, + 17168 ], "loc": { "start": { - "line": 402, + "line": 580, "column": 30 }, "end": { - "line": 402, + "line": 580, "column": 48 } } }, "range": [ - 14262, - 14294 + 17136, + 17168 ], "loc": { "start": { - "line": 402, + "line": 580, "column": 16 }, "end": { - "line": 402, + "line": 580, "column": 48 } } }, "range": [ - 14262, - 14295 + 17136, + 17169 ], "loc": { "start": { - "line": 402, + "line": 580, "column": 16 }, "end": { - "line": 402, + "line": 580, "column": 49 } } @@ -35619,16 +35584,16 @@ "type": "Identifier", "name": "width", "range": [ - 14316, - 14321 + 17190, + 17195 ], "loc": { "start": { - "line": 403, + "line": 581, "column": 20 }, "end": { - "line": 403, + "line": 581, "column": 25 } } @@ -35639,16 +35604,16 @@ "type": "Identifier", "name": "parseInt", "range": [ - 14324, - 14332 + 17198, + 17206 ], "loc": { "start": { - "line": 403, + "line": 581, "column": 28 }, "end": { - "line": 403, + "line": 581, "column": 36 } } @@ -35667,16 +35632,16 @@ "type": "Identifier", "name": "gridColElms", "range": [ - 14333, - 14344 + 17207, + 17218 ], "loc": { "start": { - "line": 403, + "line": 581, "column": 37 }, "end": { - "line": 403, + "line": 581, "column": 48 } } @@ -35685,31 +35650,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 14345, - 14353 + 17219, + 17227 ], "loc": { "start": { - "line": 403, + "line": 581, "column": 49 }, "end": { - "line": 403, + "line": 581, "column": 57 } } }, "range": [ - 14333, - 14354 + 17207, + 17228 ], "loc": { "start": { - "line": 403, + "line": 581, "column": 37 }, "end": { - "line": 403, + "line": 581, "column": 58 } } @@ -35718,31 +35683,31 @@ "type": "Identifier", "name": "style", "range": [ - 14355, - 14360 + 17229, + 17234 ], "loc": { "start": { - "line": 403, + "line": 581, "column": 59 }, "end": { - "line": 403, + "line": 581, "column": 64 } } }, "range": [ - 14333, - 14360 + 17207, + 17234 ], "loc": { "start": { - "line": 403, + "line": 581, "column": 37 }, "end": { - "line": 403, + "line": 581, "column": 64 } } @@ -35751,31 +35716,31 @@ "type": "Identifier", "name": "width", "range": [ - 14361, - 14366 + 17235, + 17240 ], "loc": { "start": { - "line": 403, + "line": 581, "column": 65 }, "end": { - "line": 403, + "line": 581, "column": 70 } } }, "range": [ - 14333, - 14366 + 17207, + 17240 ], "loc": { "start": { - "line": 403, + "line": 581, "column": 37 }, "end": { - "line": 403, + "line": 581, "column": 70 } } @@ -35785,47 +35750,47 @@ "value": 10, "raw": "10", "range": [ - 14368, - 14370 + 17242, + 17244 ], "loc": { "start": { - "line": 403, + "line": 581, "column": 72 }, "end": { - "line": 403, + "line": 581, "column": 74 } } } ], "range": [ - 14324, - 14371 + 17198, + 17245 ], "loc": { "start": { - "line": 403, + "line": 581, "column": 28 }, "end": { - "line": 403, + "line": 581, "column": 75 } } }, "range": [ - 14316, - 14371 + 17190, + 17245 ], "loc": { "start": { - "line": 403, + "line": 581, "column": 20 }, "end": { - "line": 403, + "line": 581, "column": 75 } } @@ -35833,16 +35798,16 @@ ], "kind": "let", "range": [ - 14312, - 14372 + 17186, + 17246 ], "loc": { "start": { - "line": 403, + "line": 581, "column": 16 }, "end": { - "line": 403, + "line": 581, "column": 76 } } @@ -35862,16 +35827,16 @@ "type": "Identifier", "name": "headTbl", "range": [ - 14389, - 14396 + 17263, + 17270 ], "loc": { "start": { - "line": 404, + "line": 582, "column": 16 }, "end": { - "line": 404, + "line": 582, "column": 23 } } @@ -35880,31 +35845,31 @@ "type": "Identifier", "name": "style", "range": [ - 14397, - 14402 + 17271, + 17276 ], "loc": { "start": { - "line": 404, + "line": 582, "column": 24 }, "end": { - "line": 404, + "line": 582, "column": 29 } } }, "range": [ - 14389, - 14402 + 17263, + 17276 ], "loc": { "start": { - "line": 404, + "line": 582, "column": 16 }, "end": { - "line": 404, + "line": 582, "column": 29 } } @@ -35913,31 +35878,31 @@ "type": "Identifier", "name": "width", "range": [ - 14403, - 14408 + 17277, + 17282 ], "loc": { "start": { - "line": 404, + "line": 582, "column": 30 }, "end": { - "line": 404, + "line": 582, "column": 35 } } }, "range": [ - 14389, - 14408 + 17263, + 17282 ], "loc": { "start": { - "line": 404, + "line": 582, "column": 16 }, "end": { - "line": 404, + "line": 582, "column": 35 } } @@ -35954,16 +35919,16 @@ "type": "Identifier", "name": "parseInt", "range": [ - 14432, - 14440 + 17306, + 17314 ], "loc": { "start": { - "line": 405, + "line": 583, "column": 21 }, "end": { - "line": 405, + "line": 583, "column": 29 } } @@ -35979,16 +35944,16 @@ "type": "Identifier", "name": "headTbl", "range": [ - 14441, - 14448 + 17315, + 17322 ], "loc": { "start": { - "line": 405, + "line": 583, "column": 30 }, "end": { - "line": 405, + "line": 583, "column": 37 } } @@ -35997,31 +35962,31 @@ "type": "Identifier", "name": "style", "range": [ - 14449, - 14454 + 17323, + 17328 ], "loc": { "start": { - "line": 405, + "line": 583, "column": 38 }, "end": { - "line": 405, + "line": 583, "column": 43 } } }, "range": [ - 14441, - 14454 + 17315, + 17328 ], "loc": { "start": { - "line": 405, + "line": 583, "column": 30 }, "end": { - "line": 405, + "line": 583, "column": 43 } } @@ -36030,31 +35995,31 @@ "type": "Identifier", "name": "width", "range": [ - 14455, - 14460 + 17329, + 17334 ], "loc": { "start": { - "line": 405, + "line": 583, "column": 44 }, "end": { - "line": 405, + "line": 583, "column": 49 } } }, "range": [ - 14441, - 14460 + 17315, + 17334 ], "loc": { "start": { - "line": 405, + "line": 583, "column": 30 }, "end": { - "line": 405, + "line": 583, "column": 49 } } @@ -36064,32 +36029,32 @@ "value": 10, "raw": "10", "range": [ - 14462, - 14464 + 17336, + 17338 ], "loc": { "start": { - "line": 405, + "line": 583, "column": 51 }, "end": { - "line": 405, + "line": 583, "column": 53 } } } ], "range": [ - 14432, - 14465 + 17306, + 17339 ], "loc": { "start": { - "line": 405, + "line": 583, "column": 21 }, "end": { - "line": 405, + "line": 583, "column": 54 } } @@ -36098,31 +36063,31 @@ "type": "Identifier", "name": "width", "range": [ - 14468, - 14473 + 17342, + 17347 ], "loc": { "start": { - "line": 405, + "line": 583, "column": 57 }, "end": { - "line": 405, + "line": 583, "column": 62 } } }, "range": [ - 14432, - 14473 + 17306, + 17347 ], "loc": { "start": { - "line": 405, + "line": 583, "column": 21 }, "end": { - "line": 405, + "line": 583, "column": 62 } } @@ -36132,61 +36097,61 @@ "value": "px", "raw": "'px'", "range": [ - 14477, - 14481 + 17351, + 17355 ], "loc": { "start": { - "line": 405, + "line": 583, "column": 66 }, "end": { - "line": 405, + "line": 583, "column": 70 } } }, "range": [ - 14431, - 14481 + 17305, + 17355 ], "loc": { "start": { - "line": 405, + "line": 583, "column": 20 }, "end": { - "line": 405, + "line": 583, "column": 70 } } }, "range": [ - 14389, - 14481 + 17263, + 17355 ], "loc": { "start": { - "line": 404, + "line": 582, "column": 16 }, "end": { - "line": 405, + "line": 583, "column": 70 } } }, "range": [ - 14389, - 14482 + 17263, + 17356 ], "loc": { "start": { - "line": 404, + "line": 582, "column": 16 }, "end": { - "line": 405, + "line": 583, "column": 71 } } @@ -36209,16 +36174,16 @@ "type": "Identifier", "name": "tf", "range": [ - 14499, - 14501 + 17373, + 17375 ], "loc": { "start": { - "line": 406, + "line": 584, "column": 16 }, "end": { - "line": 406, + "line": 584, "column": 18 } } @@ -36227,31 +36192,31 @@ "type": "Identifier", "name": "tbl", "range": [ - 14502, - 14505 + 17376, + 17379 ], "loc": { "start": { - "line": 406, + "line": 584, "column": 19 }, "end": { - "line": 406, + "line": 584, "column": 22 } } }, "range": [ - 14499, - 14505 + 17373, + 17379 ], "loc": { "start": { - "line": 406, + "line": 584, "column": 16 }, "end": { - "line": 406, + "line": 584, "column": 22 } } @@ -36260,31 +36225,31 @@ "type": "Identifier", "name": "style", "range": [ - 14506, - 14511 + 17380, + 17385 ], "loc": { "start": { - "line": 406, + "line": 584, "column": 23 }, "end": { - "line": 406, + "line": 584, "column": 28 } } }, "range": [ - 14499, - 14511 + 17373, + 17385 ], "loc": { "start": { - "line": 406, + "line": 584, "column": 16 }, "end": { - "line": 406, + "line": 584, "column": 28 } } @@ -36293,31 +36258,31 @@ "type": "Identifier", "name": "width", "range": [ - 14512, - 14517 + 17386, + 17391 ], "loc": { "start": { - "line": 406, + "line": 584, "column": 29 }, "end": { - "line": 406, + "line": 584, "column": 34 } } }, "range": [ - 14499, - 14517 + 17373, + 17391 ], "loc": { "start": { - "line": 406, + "line": 584, "column": 16 }, "end": { - "line": 406, + "line": 584, "column": 34 } } @@ -36332,16 +36297,16 @@ "type": "Identifier", "name": "headTbl", "range": [ - 14520, - 14527 + 17394, + 17401 ], "loc": { "start": { - "line": 406, + "line": 584, "column": 37 }, "end": { - "line": 406, + "line": 584, "column": 44 } } @@ -36350,31 +36315,31 @@ "type": "Identifier", "name": "style", "range": [ - 14528, - 14533 + 17402, + 17407 ], "loc": { "start": { - "line": 406, + "line": 584, "column": 45 }, "end": { - "line": 406, + "line": 584, "column": 50 } } }, "range": [ - 14520, - 14533 + 17394, + 17407 ], "loc": { "start": { - "line": 406, + "line": 584, "column": 37 }, "end": { - "line": 406, + "line": 584, "column": 50 } } @@ -36383,93 +36348,93 @@ "type": "Identifier", "name": "width", "range": [ - 14534, - 14539 + 17408, + 17413 ], "loc": { "start": { - "line": 406, + "line": 584, "column": 51 }, "end": { - "line": 406, + "line": 584, "column": 56 } } }, "range": [ - 14520, - 14539 + 17394, + 17413 ], "loc": { "start": { - "line": 406, + "line": 584, "column": 37 }, "end": { - "line": 406, + "line": 584, "column": 56 } } }, "range": [ - 14499, - 14539 + 17373, + 17413 ], "loc": { "start": { - "line": 406, + "line": 584, "column": 16 }, "end": { - "line": 406, + "line": 584, "column": 56 } } }, "range": [ - 14499, - 14540 + 17373, + 17414 ], "loc": { "start": { - "line": 406, + "line": 584, "column": 16 }, "end": { - "line": 406, + "line": 584, "column": 57 } } } ], "range": [ - 14143, - 14554 + 17017, + 17428 ], "loc": { "start": { - "line": 399, + "line": 577, "column": 31 }, "end": { - "line": 407, + "line": 585, "column": 13 } } }, "alternate": null, "range": [ - 14124, - 14554 + 16998, + 17428 ], "loc": { "start": { - "line": 399, + "line": 577, "column": 12 }, "end": { - "line": 407, + "line": 585, "column": 13 } }, @@ -36478,16 +36443,16 @@ "type": "Line", "value": "This event is fired just after a column is displayed for", "range": [ - 13921, - 13979 + 16795, + 16853 ], "loc": { "start": { - "line": 395, + "line": 573, "column": 12 }, "end": { - "line": 395, + "line": 573, "column": 70 } } @@ -36496,16 +36461,16 @@ "type": "Line", "value": "grid_layout support", "range": [ - 13992, - 14013 + 16866, + 16887 ], "loc": { "start": { - "line": 396, + "line": 574, "column": 12 }, "end": { - "line": 396, + "line": 574, "column": 33 } } @@ -36514,16 +36479,16 @@ "type": "Line", "value": "TODO: grid layout module should be responsible for those", "range": [ - 14026, - 14084 + 16900, + 16958 ], "loc": { "start": { - "line": 397, + "line": 575, "column": 12 }, "end": { - "line": 397, + "line": 575, "column": 70 } } @@ -36532,16 +36497,16 @@ "type": "Line", "value": "calculations", "range": [ - 14097, - 14111 + 16971, + 16985 ], "loc": { "start": { - "line": 398, + "line": 576, "column": 12 }, "end": { - "line": 398, + "line": 576, "column": 26 } } @@ -36556,16 +36521,16 @@ "object": { "type": "ThisExpression", "range": [ - 14571, - 14575 + 17445, + 17449 ], "loc": { "start": { - "line": 408, + "line": 586, "column": 16 }, "end": { - "line": 408, + "line": 586, "column": 20 } } @@ -36574,31 +36539,31 @@ "type": "Identifier", "name": "onAfterColDisplayed", "range": [ - 14576, - 14595 + 17450, + 17469 ], "loc": { "start": { - "line": 408, + "line": 586, "column": 21 }, "end": { - "line": 408, + "line": 586, "column": 40 } } }, "range": [ - 14571, - 14595 + 17445, + 17469 ], "loc": { "start": { - "line": 408, + "line": 586, "column": 16 }, "end": { - "line": 408, + "line": 586, "column": 40 } } @@ -36619,16 +36584,16 @@ "object": { "type": "ThisExpression", "range": [ - 14615, - 14619 + 17489, + 17493 ], "loc": { "start": { - "line": 409, + "line": 587, "column": 16 }, "end": { - "line": 409, + "line": 587, "column": 20 } } @@ -36637,31 +36602,31 @@ "type": "Identifier", "name": "onAfterColDisplayed", "range": [ - 14620, - 14639 + 17494, + 17513 ], "loc": { "start": { - "line": 409, + "line": 587, "column": 21 }, "end": { - "line": 409, + "line": 587, "column": 40 } } }, "range": [ - 14615, - 14639 + 17489, + 17513 ], "loc": { "start": { - "line": 409, + "line": 587, "column": 16 }, "end": { - "line": 409, + "line": 587, "column": 40 } } @@ -36670,31 +36635,31 @@ "type": "Identifier", "name": "call", "range": [ - 14640, - 14644 + 17514, + 17518 ], "loc": { "start": { - "line": 409, + "line": 587, "column": 41 }, "end": { - "line": 409, + "line": 587, "column": 45 } } }, "range": [ - 14615, - 14644 + 17489, + 17518 ], "loc": { "start": { - "line": 409, + "line": 587, "column": 16 }, "end": { - "line": 409, + "line": 587, "column": 45 } } @@ -36705,16 +36670,16 @@ "value": null, "raw": "null", "range": [ - 14645, - 14649 + 17519, + 17523 ], "loc": { "start": { - "line": 409, + "line": 587, "column": 46 }, "end": { - "line": 409, + "line": 587, "column": 50 } } @@ -36722,16 +36687,16 @@ { "type": "ThisExpression", "range": [ - 14651, - 14655 + 17525, + 17529 ], "loc": { "start": { - "line": 409, + "line": 587, "column": 52 }, "end": { - "line": 409, + "line": 587, "column": 56 } } @@ -36740,79 +36705,79 @@ "type": "Identifier", "name": "colIndex", "range": [ - 14657, - 14665 + 17531, + 17539 ], "loc": { "start": { - "line": 409, + "line": 587, "column": 58 }, "end": { - "line": 409, + "line": 587, "column": 66 } } } ], "range": [ - 14615, - 14666 + 17489, + 17540 ], "loc": { "start": { - "line": 409, + "line": 587, "column": 16 }, "end": { - "line": 409, + "line": 587, "column": 67 } } }, "range": [ - 14615, - 14667 + 17489, + 17541 ], "loc": { "start": { - "line": 409, + "line": 587, "column": 16 }, "end": { - "line": 409, + "line": 587, "column": 68 } } } ], "range": [ - 14597, - 14681 + 17471, + 17555 ], "loc": { "start": { - "line": 408, + "line": 586, "column": 42 }, "end": { - "line": 410, + "line": 588, "column": 13 } } }, "alternate": null, "range": [ - 14567, - 14681 + 17441, + 17555 ], "loc": { "start": { - "line": 408, + "line": 586, "column": 12 }, "end": { - "line": 410, + "line": 588, "column": 13 } } @@ -36830,16 +36795,16 @@ "object": { "type": "ThisExpression", "range": [ - 14694, - 14698 + 17568, + 17572 ], "loc": { "start": { - "line": 411, + "line": 589, "column": 12 }, "end": { - "line": 411, + "line": 589, "column": 16 } } @@ -36848,31 +36813,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 14699, - 14706 + 17573, + 17580 ], "loc": { "start": { - "line": 411, + "line": 589, "column": 17 }, "end": { - "line": 411, + "line": 589, "column": 24 } } }, "range": [ - 14694, - 14706 + 17568, + 17580 ], "loc": { "start": { - "line": 411, + "line": 589, "column": 12 }, "end": { - "line": 411, + "line": 589, "column": 24 } } @@ -36881,31 +36846,31 @@ "type": "Identifier", "name": "emit", "range": [ - 14707, - 14711 + 17581, + 17585 ], "loc": { "start": { - "line": 411, + "line": 589, "column": 25 }, "end": { - "line": 411, + "line": 589, "column": 29 } } }, "range": [ - 14694, - 14711 + 17568, + 17585 ], "loc": { "start": { - "line": 411, + "line": 589, "column": 12 }, "end": { - "line": 411, + "line": 589, "column": 29 } } @@ -36916,16 +36881,16 @@ "value": "column-shown", "raw": "'column-shown'", "range": [ - 14712, - 14726 + 17586, + 17600 ], "loc": { "start": { - "line": 411, + "line": 589, "column": 30 }, "end": { - "line": 411, + "line": 589, "column": 44 } } @@ -36934,16 +36899,16 @@ "type": "Identifier", "name": "tf", "range": [ - 14728, - 14730 + 17602, + 17604 ], "loc": { "start": { - "line": 411, + "line": 589, "column": 46 }, "end": { - "line": 411, + "line": 589, "column": 48 } } @@ -36951,16 +36916,16 @@ { "type": "ThisExpression", "range": [ - 14732, - 14736 + 17606, + 17610 ], "loc": { "start": { - "line": 411, + "line": 589, "column": 50 }, "end": { - "line": 411, + "line": 589, "column": 54 } } @@ -36969,16 +36934,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 14738, - 14746 + 17612, + 17620 ], "loc": { "start": { - "line": 411, + "line": 589, "column": 56 }, "end": { - "line": 411, + "line": 589, "column": 64 } } @@ -36989,16 +36954,16 @@ "object": { "type": "ThisExpression", "range": [ - 14764, - 14768 + 17638, + 17642 ], "loc": { "start": { - "line": 412, + "line": 590, "column": 16 }, "end": { - "line": 412, + "line": 590, "column": 20 } } @@ -37007,110 +36972,110 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 14769, - 14779 + 17643, + 17653 ], "loc": { "start": { - "line": 412, + "line": 590, "column": 21 }, "end": { - "line": 412, + "line": 590, "column": 31 } } }, "range": [ - 14764, - 14779 + 17638, + 17653 ], "loc": { "start": { - "line": 412, + "line": 590, "column": 16 }, "end": { - "line": 412, + "line": 590, "column": 31 } } } ], "range": [ - 14694, - 14780 + 17568, + 17654 ], "loc": { "start": { - "line": 411, + "line": 589, "column": 12 }, "end": { - "line": 412, + "line": 590, "column": 32 } } }, "range": [ - 14694, - 14781 + 17568, + 17655 ], "loc": { "start": { - "line": 411, + "line": 589, "column": 12 }, "end": { - "line": 412, + "line": 590, "column": 33 } } } ], "range": [ - 13907, - 14791 + 16781, + 17665 ], "loc": { "start": { - "line": 394, + "line": 572, "column": 19 }, "end": { - "line": 413, + "line": 591, "column": 9 } } }, "alternate": null, "range": [ - 13896, - 14791 + 16770, + 17665 ], "loc": { "start": { - "line": 394, + "line": 572, "column": 8 }, "end": { - "line": 413, + "line": 591, "column": 9 } } } ], "range": [ - 12072, - 14797 + 14946, + 17671 ], "loc": { "start": { - "line": 340, + "line": 518, "column": 30 }, "end": { - "line": 414, + "line": 592, "column": 5 } } @@ -37118,16 +37083,16 @@ "generator": false, "expression": false, "range": [ - 12055, - 14797 + 14929, + 17671 ], "loc": { "start": { - "line": 340, + "line": 518, "column": 13 }, "end": { - "line": 414, + "line": 592, "column": 5 } } @@ -37135,34 +37100,34 @@ "kind": "method", "computed": false, "range": [ - 12046, - 14797 + 14920, + 17671 ], "loc": { "start": { - "line": 340, + "line": 518, "column": 4 }, "end": { - "line": 414, + "line": 592, "column": 5 } }, "leadingComments": [ { "type": "Block", - "value": "*\n * Hide or show specified columns\n * @param {Numner} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n ", + "value": "*\n * Hide or show specified columns\n * @param {Number} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n ", "range": [ - 11878, - 12041 + 14752, + 14915 ], "loc": { "start": { - "line": 335, + "line": 513, "column": 4 }, "end": { - "line": 339, + "line": 517, "column": 7 } } @@ -37173,16 +37138,16 @@ "type": "Block", "value": "*\n * Show specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 14803, - 14889 + 17677, + 17763 ], "loc": { "start": { - "line": 416, + "line": 594, "column": 4 }, "end": { - "line": 419, + "line": 597, "column": 7 } } @@ -37196,16 +37161,16 @@ "type": "Identifier", "name": "showCol", "range": [ - 14894, - 14901 + 17768, + 17775 ], "loc": { "start": { - "line": 420, + "line": 598, "column": 4 }, "end": { - "line": 420, + "line": 598, "column": 11 } } @@ -37218,16 +37183,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 14902, - 14910 + 17776, + 17784 ], "loc": { "start": { - "line": 420, + "line": 598, "column": 12 }, "end": { - "line": 420, + "line": 598, "column": 20 } } @@ -37248,16 +37213,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 14926, - 14934 + 17800, + 17808 ], "loc": { "start": { - "line": 421, + "line": 599, "column": 12 }, "end": { - "line": 421, + "line": 599, "column": 20 } } @@ -37266,31 +37231,31 @@ "type": "Identifier", "name": "undefined", "range": [ - 14939, - 14948 + 17813, + 17822 ], "loc": { "start": { - "line": 421, + "line": 599, "column": 25 }, "end": { - "line": 421, + "line": 599, "column": 34 } } }, "range": [ - 14926, - 14948 + 17800, + 17822 ], "loc": { "start": { - "line": 421, + "line": 599, "column": 12 }, "end": { - "line": 421, + "line": 599, "column": 34 } } @@ -37306,16 +37271,16 @@ "object": { "type": "ThisExpression", "range": [ - 14953, - 14957 + 17827, + 17831 ], "loc": { "start": { - "line": 421, + "line": 599, "column": 39 }, "end": { - "line": 421, + "line": 599, "column": 43 } } @@ -37324,31 +37289,31 @@ "type": "Identifier", "name": "isColHidden", "range": [ - 14958, - 14969 + 17832, + 17843 ], "loc": { "start": { - "line": 421, + "line": 599, "column": 44 }, "end": { - "line": 421, + "line": 599, "column": 55 } } }, "range": [ - 14953, - 14969 + 17827, + 17843 ], "loc": { "start": { - "line": 421, + "line": 599, "column": 39 }, "end": { - "line": 421, + "line": 599, "column": 55 } } @@ -37358,63 +37323,63 @@ "type": "Identifier", "name": "colIndex", "range": [ - 14970, - 14978 + 17844, + 17852 ], "loc": { "start": { - "line": 421, + "line": 599, "column": 56 }, "end": { - "line": 421, + "line": 599, "column": 64 } } } ], "range": [ - 14953, - 14979 + 17827, + 17853 ], "loc": { "start": { - "line": 421, + "line": 599, "column": 39 }, "end": { - "line": 421, + "line": 599, "column": 65 } } }, "prefix": true, "range": [ - 14952, - 14979 + 17826, + 17853 ], "loc": { "start": { - "line": 421, + "line": 599, "column": 38 }, "end": { - "line": 421, + "line": 599, "column": 65 } } }, "range": [ - 14926, - 14979 + 17800, + 17853 ], "loc": { "start": { - "line": 421, + "line": 599, "column": 12 }, "end": { - "line": 421, + "line": 599, "column": 65 } } @@ -37426,48 +37391,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 14995, - 15002 + 17869, + 17876 ], "loc": { "start": { - "line": 422, + "line": 600, "column": 12 }, "end": { - "line": 422, + "line": 600, "column": 19 } } } ], "range": [ - 14981, - 15012 + 17855, + 17886 ], "loc": { "start": { - "line": 421, + "line": 599, "column": 67 }, "end": { - "line": 423, + "line": 601, "column": 9 } } }, "alternate": null, "range": [ - 14922, - 15012 + 17796, + 17886 ], "loc": { "start": { - "line": 421, + "line": 599, "column": 8 }, "end": { - "line": 423, + "line": 601, "column": 9 } } @@ -37483,16 +37448,16 @@ "object": { "type": "ThisExpression", "range": [ - 15025, - 15029 + 17899, + 17903 ], "loc": { "start": { - "line": 424, + "line": 602, "column": 12 }, "end": { - "line": 424, + "line": 602, "column": 16 } } @@ -37501,31 +37466,31 @@ "type": "Identifier", "name": "manager", "range": [ - 15030, - 15037 + 17904, + 17911 ], "loc": { "start": { - "line": 424, + "line": 602, "column": 17 }, "end": { - "line": 424, + "line": 602, "column": 24 } } }, "range": [ - 15025, - 15037 + 17899, + 17911 ], "loc": { "start": { - "line": 424, + "line": 602, "column": 12 }, "end": { - "line": 424, + "line": 602, "column": 24 } } @@ -37536,16 +37501,16 @@ "object": { "type": "ThisExpression", "range": [ - 15041, - 15045 + 17915, + 17919 ], "loc": { "start": { - "line": 424, + "line": 602, "column": 28 }, "end": { - "line": 424, + "line": 602, "column": 32 } } @@ -37554,46 +37519,46 @@ "type": "Identifier", "name": "contEl", "range": [ - 15046, - 15052 + 17920, + 17926 ], "loc": { "start": { - "line": 424, + "line": 602, "column": 33 }, "end": { - "line": 424, + "line": 602, "column": 39 } } }, "range": [ - 15041, - 15052 + 17915, + 17926 ], "loc": { "start": { - "line": 424, + "line": 602, "column": 28 }, "end": { - "line": 424, + "line": 602, "column": 39 } } }, "range": [ - 15025, - 15052 + 17899, + 17926 ], "loc": { "start": { - "line": 424, + "line": 602, "column": 12 }, "end": { - "line": 424, + "line": 602, "column": 39 } } @@ -37610,16 +37575,16 @@ "type": "Identifier", "name": "itm", "range": [ - 15072, - 15075 + 17946, + 17949 ], "loc": { "start": { - "line": 425, + "line": 603, "column": 16 }, "end": { - "line": 425, + "line": 603, "column": 19 } } @@ -37630,16 +37595,16 @@ "type": "Identifier", "name": "elm", "range": [ - 15078, - 15081 + 17952, + 17955 ], "loc": { "start": { - "line": 425, + "line": 603, "column": 22 }, "end": { - "line": 425, + "line": 603, "column": 25 } } @@ -37659,16 +37624,16 @@ "value": "col_", "raw": "'col_'", "range": [ - 15082, - 15088 + 17956, + 17962 ], "loc": { "start": { - "line": 425, + "line": 603, "column": 26 }, "end": { - "line": 425, + "line": 603, "column": 32 } } @@ -37677,31 +37642,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 15091, - 15099 + 17965, + 17973 ], "loc": { "start": { - "line": 425, + "line": 603, "column": 35 }, "end": { - "line": 425, + "line": 603, "column": 43 } } }, "range": [ - 15082, - 15099 + 17956, + 17973 ], "loc": { "start": { - "line": 425, + "line": 603, "column": 26 }, "end": { - "line": 425, + "line": 603, "column": 43 } } @@ -37711,31 +37676,31 @@ "value": "_", "raw": "'_'", "range": [ - 15102, - 15105 + 17976, + 17979 ], "loc": { "start": { - "line": 425, + "line": 603, "column": 46 }, "end": { - "line": 425, + "line": 603, "column": 49 } } }, "range": [ - 15082, - 15105 + 17956, + 17979 ], "loc": { "start": { - "line": 425, + "line": 603, "column": 26 }, "end": { - "line": 425, + "line": 603, "column": 49 } } @@ -37749,16 +37714,16 @@ "object": { "type": "ThisExpression", "range": [ - 15108, - 15112 + 17982, + 17986 ], "loc": { "start": { - "line": 425, + "line": 603, "column": 52 }, "end": { - "line": 425, + "line": 603, "column": 56 } } @@ -37767,31 +37732,31 @@ "type": "Identifier", "name": "tf", "range": [ - 15113, - 15115 + 17987, + 17989 ], "loc": { "start": { - "line": 425, + "line": 603, "column": 57 }, "end": { - "line": 425, + "line": 603, "column": 59 } } }, "range": [ - 15108, - 15115 + 17982, + 17989 ], "loc": { "start": { - "line": 425, + "line": 603, "column": 52 }, "end": { - "line": 425, + "line": 603, "column": 59 } } @@ -37800,77 +37765,77 @@ "type": "Identifier", "name": "id", "range": [ - 15116, - 15118 + 17990, + 17992 ], "loc": { "start": { - "line": 425, + "line": 603, "column": 60 }, "end": { - "line": 425, + "line": 603, "column": 62 } } }, "range": [ - 15108, - 15118 + 17982, + 17992 ], "loc": { "start": { - "line": 425, + "line": 603, "column": 52 }, "end": { - "line": 425, + "line": 603, "column": 62 } } }, "range": [ - 15082, - 15118 + 17956, + 17992 ], "loc": { "start": { - "line": 425, + "line": 603, "column": 26 }, "end": { - "line": 425, + "line": 603, "column": 62 } } } ], "range": [ - 15078, - 15119 + 17952, + 17993 ], "loc": { "start": { - "line": 425, + "line": 603, "column": 22 }, "end": { - "line": 425, + "line": 603, "column": 63 } } }, "range": [ - 15072, - 15119 + 17946, + 17993 ], "loc": { "start": { - "line": 425, + "line": 603, "column": 16 }, "end": { - "line": 425, + "line": 603, "column": 63 } } @@ -37878,16 +37843,16 @@ ], "kind": "let", "range": [ - 15068, - 15120 + 17942, + 17994 ], "loc": { "start": { - "line": 425, + "line": 603, "column": 12 }, "end": { - "line": 425, + "line": 603, "column": 64 } } @@ -37898,16 +37863,16 @@ "type": "Identifier", "name": "itm", "range": [ - 15137, - 15140 + 18011, + 18014 ], "loc": { "start": { - "line": 426, + "line": 604, "column": 16 }, "end": { - "line": 426, + "line": 604, "column": 19 } } @@ -37926,16 +37891,16 @@ "type": "Identifier", "name": "itm", "range": [ - 15160, - 15163 + 18034, + 18037 ], "loc": { "start": { - "line": 427, + "line": 605, "column": 16 }, "end": { - "line": 427, + "line": 605, "column": 19 } } @@ -37944,110 +37909,110 @@ "type": "Identifier", "name": "click", "range": [ - 15164, - 15169 + 18038, + 18043 ], "loc": { "start": { - "line": 427, + "line": 605, "column": 20 }, "end": { - "line": 427, + "line": 605, "column": 25 } } }, "range": [ - 15160, - 15169 + 18034, + 18043 ], "loc": { "start": { - "line": 427, + "line": 605, "column": 16 }, "end": { - "line": 427, + "line": 605, "column": 25 } } }, "arguments": [], "range": [ - 15160, - 15171 + 18034, + 18045 ], "loc": { "start": { - "line": 427, + "line": 605, "column": 16 }, "end": { - "line": 427, + "line": 605, "column": 27 } } }, "range": [ - 15160, - 15172 + 18034, + 18046 ], "loc": { "start": { - "line": 427, + "line": 605, "column": 16 }, "end": { - "line": 427, + "line": 605, "column": 28 } } } ], "range": [ - 15142, - 15186 + 18016, + 18060 ], "loc": { "start": { - "line": 426, + "line": 604, "column": 21 }, "end": { - "line": 428, + "line": 606, "column": 13 } } }, "alternate": null, "range": [ - 15133, - 15186 + 18007, + 18060 ], "loc": { "start": { - "line": 426, + "line": 604, "column": 12 }, "end": { - "line": 428, + "line": 606, "column": 13 } } } ], "range": [ - 15054, - 15196 + 17928, + 18070 ], "loc": { "start": { - "line": 424, + "line": 602, "column": 41 }, "end": { - "line": 429, + "line": 607, "column": 9 } } @@ -38065,16 +38030,16 @@ "object": { "type": "ThisExpression", "range": [ - 15216, - 15220 + 18090, + 18094 ], "loc": { "start": { - "line": 430, + "line": 608, "column": 12 }, "end": { - "line": 430, + "line": 608, "column": 16 } } @@ -38083,31 +38048,31 @@ "type": "Identifier", "name": "setHidden", "range": [ - 15221, - 15230 + 18095, + 18104 ], "loc": { "start": { - "line": 430, + "line": 608, "column": 17 }, "end": { - "line": 430, + "line": 608, "column": 26 } } }, "range": [ - 15216, - 15230 + 18090, + 18104 ], "loc": { "start": { - "line": 430, + "line": 608, "column": 12 }, "end": { - "line": 430, + "line": 608, "column": 26 } } @@ -38117,16 +38082,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 15231, - 15239 + 18105, + 18113 ], "loc": { "start": { - "line": 430, + "line": 608, "column": 27 }, "end": { - "line": 430, + "line": 608, "column": 35 } } @@ -38136,94 +38101,94 @@ "value": false, "raw": "false", "range": [ - 15241, - 15246 + 18115, + 18120 ], "loc": { "start": { - "line": 430, + "line": 608, "column": 37 }, "end": { - "line": 430, + "line": 608, "column": 42 } } } ], "range": [ - 15216, - 15247 + 18090, + 18121 ], "loc": { "start": { - "line": 430, + "line": 608, "column": 12 }, "end": { - "line": 430, + "line": 608, "column": 43 } } }, "range": [ - 15216, - 15248 + 18090, + 18122 ], "loc": { "start": { - "line": 430, + "line": 608, "column": 12 }, "end": { - "line": 430, + "line": 608, "column": 44 } } } ], "range": [ - 15202, - 15258 + 18076, + 18132 ], "loc": { "start": { - "line": 429, + "line": 607, "column": 15 }, "end": { - "line": 431, + "line": 609, "column": 9 } } }, "range": [ - 15021, - 15258 + 17895, + 18132 ], "loc": { "start": { - "line": 424, + "line": 602, "column": 8 }, "end": { - "line": 431, + "line": 609, "column": 9 } } } ], "range": [ - 14912, - 15264 + 17786, + 18138 ], "loc": { "start": { - "line": 420, + "line": 598, "column": 22 }, "end": { - "line": 432, + "line": 610, "column": 5 } } @@ -38231,16 +38196,16 @@ "generator": false, "expression": false, "range": [ - 14901, - 15264 + 17775, + 18138 ], "loc": { "start": { - "line": 420, + "line": 598, "column": 11 }, "end": { - "line": 432, + "line": 610, "column": 5 } } @@ -38248,16 +38213,16 @@ "kind": "method", "computed": false, "range": [ - 14894, - 15264 + 17768, + 18138 ], "loc": { "start": { - "line": 420, + "line": 598, "column": 4 }, "end": { - "line": 432, + "line": 610, "column": 5 } }, @@ -38266,16 +38231,16 @@ "type": "Block", "value": "*\n * Show specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 14803, - 14889 + 17677, + 17763 ], "loc": { "start": { - "line": 416, + "line": 594, "column": 4 }, "end": { - "line": 419, + "line": 597, "column": 7 } } @@ -38286,16 +38251,16 @@ "type": "Block", "value": "*\n * Hide specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 15270, - 15356 + 18144, + 18230 ], "loc": { "start": { - "line": 434, + "line": 612, "column": 4 }, "end": { - "line": 437, + "line": 615, "column": 7 } } @@ -38309,16 +38274,16 @@ "type": "Identifier", "name": "hideCol", "range": [ - 15361, - 15368 + 18235, + 18242 ], "loc": { "start": { - "line": 438, + "line": 616, "column": 4 }, "end": { - "line": 438, + "line": 616, "column": 11 } } @@ -38331,16 +38296,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 15369, - 15377 + 18243, + 18251 ], "loc": { "start": { - "line": 438, + "line": 616, "column": 12 }, "end": { - "line": 438, + "line": 616, "column": 20 } } @@ -38361,16 +38326,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 15393, - 15401 + 18267, + 18275 ], "loc": { "start": { - "line": 439, + "line": 617, "column": 12 }, "end": { - "line": 439, + "line": 617, "column": 20 } } @@ -38379,31 +38344,31 @@ "type": "Identifier", "name": "undefined", "range": [ - 15406, - 15415 + 18280, + 18289 ], "loc": { "start": { - "line": 439, + "line": 617, "column": 25 }, "end": { - "line": 439, + "line": 617, "column": 34 } } }, "range": [ - 15393, - 15415 + 18267, + 18289 ], "loc": { "start": { - "line": 439, + "line": 617, "column": 12 }, "end": { - "line": 439, + "line": 617, "column": 34 } } @@ -38416,16 +38381,16 @@ "object": { "type": "ThisExpression", "range": [ - 15419, - 15423 + 18293, + 18297 ], "loc": { "start": { - "line": 439, + "line": 617, "column": 38 }, "end": { - "line": 439, + "line": 617, "column": 42 } } @@ -38434,31 +38399,31 @@ "type": "Identifier", "name": "isColHidden", "range": [ - 15424, - 15435 + 18298, + 18309 ], "loc": { "start": { - "line": 439, + "line": 617, "column": 43 }, "end": { - "line": 439, + "line": 617, "column": 54 } } }, "range": [ - 15419, - 15435 + 18293, + 18309 ], "loc": { "start": { - "line": 439, + "line": 617, "column": 38 }, "end": { - "line": 439, + "line": 617, "column": 54 } } @@ -38468,47 +38433,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 15436, - 15444 + 18310, + 18318 ], "loc": { "start": { - "line": 439, + "line": 617, "column": 55 }, "end": { - "line": 439, + "line": 617, "column": 63 } } } ], "range": [ - 15419, - 15445 + 18293, + 18319 ], "loc": { "start": { - "line": 439, + "line": 617, "column": 38 }, "end": { - "line": 439, + "line": 617, "column": 64 } } }, "range": [ - 15393, - 15445 + 18267, + 18319 ], "loc": { "start": { - "line": 439, + "line": 617, "column": 12 }, "end": { - "line": 439, + "line": 617, "column": 64 } } @@ -38520,48 +38485,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 15461, - 15468 + 18335, + 18342 ], "loc": { "start": { - "line": 440, + "line": 618, "column": 12 }, "end": { - "line": 440, + "line": 618, "column": 19 } } } ], "range": [ - 15447, - 15478 + 18321, + 18352 ], "loc": { "start": { - "line": 439, + "line": 617, "column": 66 }, "end": { - "line": 441, + "line": 619, "column": 9 } } }, "alternate": null, "range": [ - 15389, - 15478 + 18263, + 18352 ], "loc": { "start": { - "line": 439, + "line": 617, "column": 8 }, "end": { - "line": 441, + "line": 619, "column": 9 } } @@ -38577,16 +38542,16 @@ "object": { "type": "ThisExpression", "range": [ - 15491, - 15495 + 18365, + 18369 ], "loc": { "start": { - "line": 442, + "line": 620, "column": 12 }, "end": { - "line": 442, + "line": 620, "column": 16 } } @@ -38595,31 +38560,31 @@ "type": "Identifier", "name": "manager", "range": [ - 15496, - 15503 + 18370, + 18377 ], "loc": { "start": { - "line": 442, + "line": 620, "column": 17 }, "end": { - "line": 442, + "line": 620, "column": 24 } } }, "range": [ - 15491, - 15503 + 18365, + 18377 ], "loc": { "start": { - "line": 442, + "line": 620, "column": 12 }, "end": { - "line": 442, + "line": 620, "column": 24 } } @@ -38630,16 +38595,16 @@ "object": { "type": "ThisExpression", "range": [ - 15507, - 15511 + 18381, + 18385 ], "loc": { "start": { - "line": 442, + "line": 620, "column": 28 }, "end": { - "line": 442, + "line": 620, "column": 32 } } @@ -38648,46 +38613,46 @@ "type": "Identifier", "name": "contEl", "range": [ - 15512, - 15518 + 18386, + 18392 ], "loc": { "start": { - "line": 442, + "line": 620, "column": 33 }, "end": { - "line": 442, + "line": 620, "column": 39 } } }, "range": [ - 15507, - 15518 + 18381, + 18392 ], "loc": { "start": { - "line": 442, + "line": 620, "column": 28 }, "end": { - "line": 442, + "line": 620, "column": 39 } } }, "range": [ - 15491, - 15518 + 18365, + 18392 ], "loc": { "start": { - "line": 442, + "line": 620, "column": 12 }, "end": { - "line": 442, + "line": 620, "column": 39 } } @@ -38704,16 +38669,16 @@ "type": "Identifier", "name": "itm", "range": [ - 15538, - 15541 + 18412, + 18415 ], "loc": { "start": { - "line": 443, + "line": 621, "column": 16 }, "end": { - "line": 443, + "line": 621, "column": 19 } } @@ -38724,16 +38689,16 @@ "type": "Identifier", "name": "elm", "range": [ - 15544, - 15547 + 18418, + 18421 ], "loc": { "start": { - "line": 443, + "line": 621, "column": 22 }, "end": { - "line": 443, + "line": 621, "column": 25 } } @@ -38753,16 +38718,16 @@ "value": "col_", "raw": "'col_'", "range": [ - 15548, - 15554 + 18422, + 18428 ], "loc": { "start": { - "line": 443, + "line": 621, "column": 26 }, "end": { - "line": 443, + "line": 621, "column": 32 } } @@ -38771,31 +38736,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 15557, - 15565 + 18431, + 18439 ], "loc": { "start": { - "line": 443, + "line": 621, "column": 35 }, "end": { - "line": 443, + "line": 621, "column": 43 } } }, "range": [ - 15548, - 15565 + 18422, + 18439 ], "loc": { "start": { - "line": 443, + "line": 621, "column": 26 }, "end": { - "line": 443, + "line": 621, "column": 43 } } @@ -38805,31 +38770,31 @@ "value": "_", "raw": "'_'", "range": [ - 15568, - 15571 + 18442, + 18445 ], "loc": { "start": { - "line": 443, + "line": 621, "column": 46 }, "end": { - "line": 443, + "line": 621, "column": 49 } } }, "range": [ - 15548, - 15571 + 18422, + 18445 ], "loc": { "start": { - "line": 443, + "line": 621, "column": 26 }, "end": { - "line": 443, + "line": 621, "column": 49 } } @@ -38843,16 +38808,16 @@ "object": { "type": "ThisExpression", "range": [ - 15574, - 15578 + 18448, + 18452 ], "loc": { "start": { - "line": 443, + "line": 621, "column": 52 }, "end": { - "line": 443, + "line": 621, "column": 56 } } @@ -38861,31 +38826,31 @@ "type": "Identifier", "name": "tf", "range": [ - 15579, - 15581 + 18453, + 18455 ], "loc": { "start": { - "line": 443, + "line": 621, "column": 57 }, "end": { - "line": 443, + "line": 621, "column": 59 } } }, "range": [ - 15574, - 15581 + 18448, + 18455 ], "loc": { "start": { - "line": 443, + "line": 621, "column": 52 }, "end": { - "line": 443, + "line": 621, "column": 59 } } @@ -38894,77 +38859,77 @@ "type": "Identifier", "name": "id", "range": [ - 15582, - 15584 + 18456, + 18458 ], "loc": { "start": { - "line": 443, + "line": 621, "column": 60 }, "end": { - "line": 443, + "line": 621, "column": 62 } } }, "range": [ - 15574, - 15584 + 18448, + 18458 ], "loc": { "start": { - "line": 443, + "line": 621, "column": 52 }, "end": { - "line": 443, + "line": 621, "column": 62 } } }, "range": [ - 15548, - 15584 + 18422, + 18458 ], "loc": { "start": { - "line": 443, + "line": 621, "column": 26 }, "end": { - "line": 443, + "line": 621, "column": 62 } } } ], "range": [ - 15544, - 15585 + 18418, + 18459 ], "loc": { "start": { - "line": 443, + "line": 621, "column": 22 }, "end": { - "line": 443, + "line": 621, "column": 63 } } }, "range": [ - 15538, - 15585 + 18412, + 18459 ], "loc": { "start": { - "line": 443, + "line": 621, "column": 16 }, "end": { - "line": 443, + "line": 621, "column": 63 } } @@ -38972,16 +38937,16 @@ ], "kind": "let", "range": [ - 15534, - 15586 + 18408, + 18460 ], "loc": { "start": { - "line": 443, + "line": 621, "column": 12 }, "end": { - "line": 443, + "line": 621, "column": 64 } } @@ -38992,16 +38957,16 @@ "type": "Identifier", "name": "itm", "range": [ - 15603, - 15606 + 18477, + 18480 ], "loc": { "start": { - "line": 444, + "line": 622, "column": 16 }, "end": { - "line": 444, + "line": 622, "column": 19 } } @@ -39020,16 +38985,16 @@ "type": "Identifier", "name": "itm", "range": [ - 15626, - 15629 + 18500, + 18503 ], "loc": { "start": { - "line": 445, + "line": 623, "column": 16 }, "end": { - "line": 445, + "line": 623, "column": 19 } } @@ -39038,110 +39003,110 @@ "type": "Identifier", "name": "click", "range": [ - 15630, - 15635 + 18504, + 18509 ], "loc": { "start": { - "line": 445, + "line": 623, "column": 20 }, "end": { - "line": 445, + "line": 623, "column": 25 } } }, "range": [ - 15626, - 15635 + 18500, + 18509 ], "loc": { "start": { - "line": 445, + "line": 623, "column": 16 }, "end": { - "line": 445, + "line": 623, "column": 25 } } }, "arguments": [], "range": [ - 15626, - 15637 + 18500, + 18511 ], "loc": { "start": { - "line": 445, + "line": 623, "column": 16 }, "end": { - "line": 445, + "line": 623, "column": 27 } } }, "range": [ - 15626, - 15638 + 18500, + 18512 ], "loc": { "start": { - "line": 445, + "line": 623, "column": 16 }, "end": { - "line": 445, + "line": 623, "column": 28 } } } ], "range": [ - 15608, - 15652 + 18482, + 18526 ], "loc": { "start": { - "line": 444, + "line": 622, "column": 21 }, "end": { - "line": 446, + "line": 624, "column": 13 } } }, "alternate": null, "range": [ - 15599, - 15652 + 18473, + 18526 ], "loc": { "start": { - "line": 444, + "line": 622, "column": 12 }, "end": { - "line": 446, + "line": 624, "column": 13 } } } ], "range": [ - 15520, - 15662 + 18394, + 18536 ], "loc": { "start": { - "line": 442, + "line": 620, "column": 41 }, "end": { - "line": 447, + "line": 625, "column": 9 } } @@ -39159,16 +39124,16 @@ "object": { "type": "ThisExpression", "range": [ - 15682, - 15686 + 18556, + 18560 ], "loc": { "start": { - "line": 448, + "line": 626, "column": 12 }, "end": { - "line": 448, + "line": 626, "column": 16 } } @@ -39177,31 +39142,31 @@ "type": "Identifier", "name": "setHidden", "range": [ - 15687, - 15696 + 18561, + 18570 ], "loc": { "start": { - "line": 448, + "line": 626, "column": 17 }, "end": { - "line": 448, + "line": 626, "column": 26 } } }, "range": [ - 15682, - 15696 + 18556, + 18570 ], "loc": { "start": { - "line": 448, + "line": 626, "column": 12 }, "end": { - "line": 448, + "line": 626, "column": 26 } } @@ -39211,16 +39176,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 15697, - 15705 + 18571, + 18579 ], "loc": { "start": { - "line": 448, + "line": 626, "column": 27 }, "end": { - "line": 448, + "line": 626, "column": 35 } } @@ -39230,94 +39195,94 @@ "value": true, "raw": "true", "range": [ - 15707, - 15711 + 18581, + 18585 ], "loc": { "start": { - "line": 448, + "line": 626, "column": 37 }, "end": { - "line": 448, + "line": 626, "column": 41 } } } ], "range": [ - 15682, - 15712 + 18556, + 18586 ], "loc": { "start": { - "line": 448, + "line": 626, "column": 12 }, "end": { - "line": 448, + "line": 626, "column": 42 } } }, "range": [ - 15682, - 15713 + 18556, + 18587 ], "loc": { "start": { - "line": 448, + "line": 626, "column": 12 }, "end": { - "line": 448, + "line": 626, "column": 43 } } } ], "range": [ - 15668, - 15723 + 18542, + 18597 ], "loc": { "start": { - "line": 447, + "line": 625, "column": 15 }, "end": { - "line": 449, + "line": 627, "column": 9 } } }, "range": [ - 15487, - 15723 + 18361, + 18597 ], "loc": { "start": { - "line": 442, + "line": 620, "column": 8 }, "end": { - "line": 449, + "line": 627, "column": 9 } } } ], "range": [ - 15379, - 15729 + 18253, + 18603 ], "loc": { "start": { - "line": 438, + "line": 616, "column": 22 }, "end": { - "line": 450, + "line": 628, "column": 5 } } @@ -39325,16 +39290,16 @@ "generator": false, "expression": false, "range": [ - 15368, - 15729 + 18242, + 18603 ], "loc": { "start": { - "line": 438, + "line": 616, "column": 11 }, "end": { - "line": 450, + "line": 628, "column": 5 } } @@ -39342,16 +39307,16 @@ "kind": "method", "computed": false, "range": [ - 15361, - 15729 + 18235, + 18603 ], "loc": { "start": { - "line": 438, + "line": 616, "column": 4 }, "end": { - "line": 450, + "line": 628, "column": 5 } }, @@ -39360,16 +39325,16 @@ "type": "Block", "value": "*\n * Hide specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 15270, - 15356 + 18144, + 18230 ], "loc": { "start": { - "line": 434, + "line": 612, "column": 4 }, "end": { - "line": 437, + "line": 615, "column": 7 } } @@ -39380,16 +39345,16 @@ "type": "Block", "value": "*\n * Determine if specified column is hidden\n * @param {Number} colIndex Column index\n ", "range": [ - 15735, - 15839 + 18609, + 18713 ], "loc": { "start": { - "line": 452, + "line": 630, "column": 4 }, "end": { - "line": 455, + "line": 633, "column": 7 } } @@ -39403,16 +39368,16 @@ "type": "Identifier", "name": "isColHidden", "range": [ - 15844, - 15855 + 18718, + 18729 ], "loc": { "start": { - "line": 456, + "line": 634, "column": 4 }, "end": { - "line": 456, + "line": 634, "column": 15 } } @@ -39425,16 +39390,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 15856, - 15864 + 18730, + 18738 ], "loc": { "start": { - "line": 456, + "line": 634, "column": 16 }, "end": { - "line": 456, + "line": 634, "column": 24 } } @@ -39459,16 +39424,16 @@ "object": { "type": "ThisExpression", "range": [ - 15880, - 15884 + 18754, + 18758 ], "loc": { "start": { - "line": 457, + "line": 635, "column": 12 }, "end": { - "line": 457, + "line": 635, "column": 16 } } @@ -39477,31 +39442,31 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 15885, - 15895 + 18759, + 18769 ], "loc": { "start": { - "line": 457, + "line": 635, "column": 17 }, "end": { - "line": 457, + "line": 635, "column": 27 } } }, "range": [ - 15880, - 15895 + 18754, + 18769 ], "loc": { "start": { - "line": 457, + "line": 635, "column": 12 }, "end": { - "line": 457, + "line": 635, "column": 27 } } @@ -39510,31 +39475,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 15896, - 15903 + 18770, + 18777 ], "loc": { "start": { - "line": 457, + "line": 635, "column": 28 }, "end": { - "line": 457, + "line": 635, "column": 35 } } }, "range": [ - 15880, - 15903 + 18754, + 18777 ], "loc": { "start": { - "line": 457, + "line": 635, "column": 12 }, "end": { - "line": 457, + "line": 635, "column": 35 } } @@ -39544,32 +39509,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 15904, - 15912 + 18778, + 18786 ], "loc": { "start": { - "line": 457, + "line": 635, "column": 36 }, "end": { - "line": 457, + "line": 635, "column": 44 } } } ], "range": [ - 15880, - 15913 + 18754, + 18787 ], "loc": { "start": { - "line": 457, + "line": 635, "column": 12 }, "end": { - "line": 457, + "line": 635, "column": 45 } } @@ -39582,47 +39547,47 @@ "value": 1, "raw": "1", "range": [ - 15919, - 15920 + 18793, + 18794 ], "loc": { "start": { - "line": 457, + "line": 635, "column": 51 }, "end": { - "line": 457, + "line": 635, "column": 52 } } }, "prefix": true, "range": [ - 15918, - 15920 + 18792, + 18794 ], "loc": { "start": { - "line": 457, + "line": 635, "column": 50 }, "end": { - "line": 457, + "line": 635, "column": 52 } } }, "range": [ - 15880, - 15920 + 18754, + 18794 ], "loc": { "start": { - "line": 457, + "line": 635, "column": 12 }, "end": { - "line": 457, + "line": 635, "column": 52 } } @@ -39637,63 +39602,63 @@ "value": true, "raw": "true", "range": [ - 15943, - 15947 + 18817, + 18821 ], "loc": { "start": { - "line": 458, + "line": 636, "column": 19 }, "end": { - "line": 458, + "line": 636, "column": 23 } } }, "range": [ - 15936, - 15948 + 18810, + 18822 ], "loc": { "start": { - "line": 458, + "line": 636, "column": 12 }, "end": { - "line": 458, + "line": 636, "column": 24 } } } ], "range": [ - 15922, - 15958 + 18796, + 18832 ], "loc": { "start": { - "line": 457, + "line": 635, "column": 54 }, "end": { - "line": 459, + "line": 637, "column": 9 } } }, "alternate": null, "range": [ - 15876, - 15958 + 18750, + 18832 ], "loc": { "start": { - "line": 457, + "line": 635, "column": 8 }, "end": { - "line": 459, + "line": 637, "column": 9 } } @@ -39705,47 +39670,47 @@ "value": false, "raw": "false", "range": [ - 15974, - 15979 + 18848, + 18853 ], "loc": { "start": { - "line": 460, + "line": 638, "column": 15 }, "end": { - "line": 460, + "line": 638, "column": 20 } } }, "range": [ - 15967, - 15980 + 18841, + 18854 ], "loc": { "start": { - "line": 460, + "line": 638, "column": 8 }, "end": { - "line": 460, + "line": 638, "column": 21 } } } ], "range": [ - 15866, - 15986 + 18740, + 18860 ], "loc": { "start": { - "line": 456, + "line": 634, "column": 26 }, "end": { - "line": 461, + "line": 639, "column": 5 } } @@ -39753,16 +39718,16 @@ "generator": false, "expression": false, "range": [ - 15855, - 15986 + 18729, + 18860 ], "loc": { "start": { - "line": 456, + "line": 634, "column": 15 }, "end": { - "line": 461, + "line": 639, "column": 5 } } @@ -39770,16 +39735,16 @@ "kind": "method", "computed": false, "range": [ - 15844, - 15986 + 18718, + 18860 ], "loc": { "start": { - "line": 456, + "line": 634, "column": 4 }, "end": { - "line": 461, + "line": 639, "column": 5 } }, @@ -39788,16 +39753,16 @@ "type": "Block", "value": "*\n * Determine if specified column is hidden\n * @param {Number} colIndex Column index\n ", "range": [ - 15735, - 15839 + 18609, + 18713 ], "loc": { "start": { - "line": 452, + "line": 630, "column": 4 }, "end": { - "line": 455, + "line": 633, "column": 7 } } @@ -39808,16 +39773,16 @@ "type": "Block", "value": "*\n * Toggle visibility of specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 15992, - 16094 + 18866, + 18968 ], "loc": { "start": { - "line": 463, + "line": 641, "column": 4 }, "end": { - "line": 466, + "line": 644, "column": 7 } } @@ -39831,16 +39796,16 @@ "type": "Identifier", "name": "toggleCol", "range": [ - 16099, - 16108 + 18973, + 18982 ], "loc": { "start": { - "line": 467, + "line": 645, "column": 4 }, "end": { - "line": 467, + "line": 645, "column": 13 } } @@ -39853,16 +39818,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 16109, - 16117 + 18983, + 18991 ], "loc": { "start": { - "line": 467, + "line": 645, "column": 14 }, "end": { - "line": 467, + "line": 645, "column": 22 } } @@ -39883,16 +39848,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 16133, - 16141 + 19007, + 19015 ], "loc": { "start": { - "line": 468, + "line": 646, "column": 12 }, "end": { - "line": 468, + "line": 646, "column": 20 } } @@ -39901,31 +39866,31 @@ "type": "Identifier", "name": "undefined", "range": [ - 16146, - 16155 + 19020, + 19029 ], "loc": { "start": { - "line": 468, + "line": 646, "column": 25 }, "end": { - "line": 468, + "line": 646, "column": 34 } } }, "range": [ - 16133, - 16155 + 19007, + 19029 ], "loc": { "start": { - "line": 468, + "line": 646, "column": 12 }, "end": { - "line": 468, + "line": 646, "column": 34 } } @@ -39938,16 +39903,16 @@ "object": { "type": "ThisExpression", "range": [ - 16159, - 16163 + 19033, + 19037 ], "loc": { "start": { - "line": 468, + "line": 646, "column": 38 }, "end": { - "line": 468, + "line": 646, "column": 42 } } @@ -39956,31 +39921,31 @@ "type": "Identifier", "name": "isColHidden", "range": [ - 16164, - 16175 + 19038, + 19049 ], "loc": { "start": { - "line": 468, + "line": 646, "column": 43 }, "end": { - "line": 468, + "line": 646, "column": 54 } } }, "range": [ - 16159, - 16175 + 19033, + 19049 ], "loc": { "start": { - "line": 468, + "line": 646, "column": 38 }, "end": { - "line": 468, + "line": 646, "column": 54 } } @@ -39990,47 +39955,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 16176, - 16184 + 19050, + 19058 ], "loc": { "start": { - "line": 468, + "line": 646, "column": 55 }, "end": { - "line": 468, + "line": 646, "column": 63 } } } ], "range": [ - 16159, - 16185 + 19033, + 19059 ], "loc": { "start": { - "line": 468, + "line": 646, "column": 38 }, "end": { - "line": 468, + "line": 646, "column": 64 } } }, "range": [ - 16133, - 16185 + 19007, + 19059 ], "loc": { "start": { - "line": 468, + "line": 646, "column": 12 }, "end": { - "line": 468, + "line": 646, "column": 64 } } @@ -40048,16 +40013,16 @@ "object": { "type": "ThisExpression", "range": [ - 16201, - 16205 + 19075, + 19079 ], "loc": { "start": { - "line": 469, + "line": 647, "column": 12 }, "end": { - "line": 469, + "line": 647, "column": 16 } } @@ -40066,31 +40031,31 @@ "type": "Identifier", "name": "showCol", "range": [ - 16206, - 16213 + 19080, + 19087 ], "loc": { "start": { - "line": 469, + "line": 647, "column": 17 }, "end": { - "line": 469, + "line": 647, "column": 24 } } }, "range": [ - 16201, - 16213 + 19075, + 19087 ], "loc": { "start": { - "line": 469, + "line": 647, "column": 12 }, "end": { - "line": 469, + "line": 647, "column": 24 } } @@ -40100,63 +40065,63 @@ "type": "Identifier", "name": "colIndex", "range": [ - 16214, - 16222 + 19088, + 19096 ], "loc": { "start": { - "line": 469, + "line": 647, "column": 25 }, "end": { - "line": 469, + "line": 647, "column": 33 } } } ], "range": [ - 16201, - 16223 + 19075, + 19097 ], "loc": { "start": { - "line": 469, + "line": 647, "column": 12 }, "end": { - "line": 469, + "line": 647, "column": 34 } } }, "range": [ - 16201, - 16224 + 19075, + 19098 ], "loc": { "start": { - "line": 469, + "line": 647, "column": 12 }, "end": { - "line": 469, + "line": 647, "column": 35 } } } ], "range": [ - 16187, - 16234 + 19061, + 19108 ], "loc": { "start": { - "line": 468, + "line": 646, "column": 66 }, "end": { - "line": 470, + "line": 648, "column": 9 } } @@ -40174,16 +40139,16 @@ "object": { "type": "ThisExpression", "range": [ - 16254, - 16258 + 19128, + 19132 ], "loc": { "start": { - "line": 471, + "line": 649, "column": 12 }, "end": { - "line": 471, + "line": 649, "column": 16 } } @@ -40192,31 +40157,31 @@ "type": "Identifier", "name": "hideCol", "range": [ - 16259, - 16266 + 19133, + 19140 ], "loc": { "start": { - "line": 471, + "line": 649, "column": 17 }, "end": { - "line": 471, + "line": 649, "column": 24 } } }, "range": [ - 16254, - 16266 + 19128, + 19140 ], "loc": { "start": { - "line": 471, + "line": 649, "column": 12 }, "end": { - "line": 471, + "line": 649, "column": 24 } } @@ -40226,94 +40191,94 @@ "type": "Identifier", "name": "colIndex", "range": [ - 16267, - 16275 + 19141, + 19149 ], "loc": { "start": { - "line": 471, + "line": 649, "column": 25 }, "end": { - "line": 471, + "line": 649, "column": 33 } } } ], "range": [ - 16254, - 16276 + 19128, + 19150 ], "loc": { "start": { - "line": 471, + "line": 649, "column": 12 }, "end": { - "line": 471, + "line": 649, "column": 34 } } }, "range": [ - 16254, - 16277 + 19128, + 19151 ], "loc": { "start": { - "line": 471, + "line": 649, "column": 12 }, "end": { - "line": 471, + "line": 649, "column": 35 } } } ], "range": [ - 16240, - 16287 + 19114, + 19161 ], "loc": { "start": { - "line": 470, + "line": 648, "column": 15 }, "end": { - "line": 472, + "line": 650, "column": 9 } } }, "range": [ - 16129, - 16287 + 19003, + 19161 ], "loc": { "start": { - "line": 468, + "line": 646, "column": 8 }, "end": { - "line": 472, + "line": 650, "column": 9 } } } ], "range": [ - 16119, - 16293 + 18993, + 19167 ], "loc": { "start": { - "line": 467, + "line": 645, "column": 24 }, "end": { - "line": 473, + "line": 651, "column": 5 } } @@ -40321,16 +40286,16 @@ "generator": false, "expression": false, "range": [ - 16108, - 16293 + 18982, + 19167 ], "loc": { "start": { - "line": 467, + "line": 645, "column": 13 }, "end": { - "line": 473, + "line": 651, "column": 5 } } @@ -40338,16 +40303,16 @@ "kind": "method", "computed": false, "range": [ - 16099, - 16293 + 18973, + 19167 ], "loc": { "start": { - "line": 467, + "line": 645, "column": 4 }, "end": { - "line": 473, + "line": 651, "column": 5 } }, @@ -40356,16 +40321,16 @@ "type": "Block", "value": "*\n * Toggle visibility of specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 15992, - 16094 + 18866, + 18968 ], "loc": { "start": { - "line": 463, + "line": 641, "column": 4 }, "end": { - "line": 466, + "line": 644, "column": 7 } } @@ -40376,16 +40341,16 @@ "type": "Block", "value": "*\n * Return the indexes of the columns currently hidden\n * @return {Array} column indexes\n ", "range": [ - 16299, - 16406 + 19173, + 19280 ], "loc": { "start": { - "line": 475, + "line": 653, "column": 4 }, "end": { - "line": 478, + "line": 656, "column": 7 } } @@ -40399,16 +40364,16 @@ "type": "Identifier", "name": "getHiddenCols", "range": [ - 16411, - 16424 + 19285, + 19298 ], "loc": { "start": { - "line": 479, + "line": 657, "column": 4 }, "end": { - "line": 479, + "line": 657, "column": 17 } } @@ -40428,16 +40393,16 @@ "object": { "type": "ThisExpression", "range": [ - 16444, - 16448 + 19318, + 19322 ], "loc": { "start": { - "line": 480, + "line": 658, "column": 15 }, "end": { - "line": 480, + "line": 658, "column": 19 } } @@ -40446,62 +40411,62 @@ "type": "Identifier", "name": "hiddenCols", "range": [ - 16449, - 16459 + 19323, + 19333 ], "loc": { "start": { - "line": 480, + "line": 658, "column": 20 }, "end": { - "line": 480, + "line": 658, "column": 30 } } }, "range": [ - 16444, - 16459 + 19318, + 19333 ], "loc": { "start": { - "line": 480, + "line": 658, "column": 15 }, "end": { - "line": 480, + "line": 658, "column": 30 } } }, "range": [ - 16437, - 16460 + 19311, + 19334 ], "loc": { "start": { - "line": 480, + "line": 658, "column": 8 }, "end": { - "line": 480, + "line": 658, "column": 31 } } } ], "range": [ - 16427, - 16466 + 19301, + 19340 ], "loc": { "start": { - "line": 479, + "line": 657, "column": 20 }, "end": { - "line": 481, + "line": 659, "column": 5 } } @@ -40509,16 +40474,16 @@ "generator": false, "expression": false, "range": [ - 16424, - 16466 + 19298, + 19340 ], "loc": { "start": { - "line": 479, + "line": 657, "column": 17 }, "end": { - "line": 481, + "line": 659, "column": 5 } } @@ -40526,16 +40491,16 @@ "kind": "method", "computed": false, "range": [ - 16411, - 16466 + 19285, + 19340 ], "loc": { "start": { - "line": 479, + "line": 657, "column": 4 }, "end": { - "line": 481, + "line": 659, "column": 5 } }, @@ -40544,16 +40509,16 @@ "type": "Block", "value": "*\n * Return the indexes of the columns currently hidden\n * @return {Array} column indexes\n ", "range": [ - 16299, - 16406 + 19173, + 19280 ], "loc": { "start": { - "line": 475, + "line": 653, "column": 4 }, "end": { - "line": 478, + "line": 656, "column": 7 } } @@ -40564,16 +40529,16 @@ "type": "Block", "value": "*\n * Remove the columns manager\n ", "range": [ - 16472, - 16517 + 19346, + 19391 ], "loc": { "start": { - "line": 483, + "line": 661, "column": 4 }, "end": { - "line": 485, + "line": 663, "column": 7 } } @@ -40587,16 +40552,16 @@ "type": "Identifier", "name": "destroy", "range": [ - 16522, - 16529 + 19396, + 19403 ], "loc": { "start": { - "line": 486, + "line": 664, "column": 4 }, "end": { - "line": 486, + "line": 664, "column": 11 } } @@ -40619,16 +40584,16 @@ "object": { "type": "ThisExpression", "range": [ - 16547, - 16551 + 19421, + 19425 ], "loc": { "start": { - "line": 487, + "line": 665, "column": 13 }, "end": { - "line": 487, + "line": 665, "column": 17 } } @@ -40637,47 +40602,47 @@ "type": "Identifier", "name": "initialized", "range": [ - 16552, - 16563 + 19426, + 19437 ], "loc": { "start": { - "line": 487, + "line": 665, "column": 18 }, "end": { - "line": 487, + "line": 665, "column": 29 } } }, "range": [ - 16547, - 16563 + 19421, + 19437 ], "loc": { "start": { - "line": 487, + "line": 665, "column": 13 }, "end": { - "line": 487, + "line": 665, "column": 29 } } }, "prefix": true, "range": [ - 16546, - 16563 + 19420, + 19437 ], "loc": { "start": { - "line": 487, + "line": 665, "column": 12 }, "end": { - "line": 487, + "line": 665, "column": 29 } } @@ -40689,48 +40654,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 16579, - 16586 + 19453, + 19460 ], "loc": { "start": { - "line": 488, + "line": 666, "column": 12 }, "end": { - "line": 488, + "line": 666, "column": 19 } } } ], "range": [ - 16565, - 16596 + 19439, + 19470 ], "loc": { "start": { - "line": 487, + "line": 665, "column": 31 }, "end": { - "line": 489, + "line": 667, "column": 9 } } }, "alternate": null, "range": [ - 16542, - 16596 + 19416, + 19470 ], "loc": { "start": { - "line": 487, + "line": 665, "column": 8 }, "end": { - "line": 489, + "line": 667, "column": 9 } } @@ -40743,16 +40708,16 @@ "type": "Identifier", "name": "elm", "range": [ - 16609, - 16612 + 19483, + 19486 ], "loc": { "start": { - "line": 490, + "line": 668, "column": 12 }, "end": { - "line": 490, + "line": 668, "column": 15 } } @@ -40764,16 +40729,16 @@ "object": { "type": "ThisExpression", "range": [ - 16613, - 16617 + 19487, + 19491 ], "loc": { "start": { - "line": 490, + "line": 668, "column": 16 }, "end": { - "line": 490, + "line": 668, "column": 20 } } @@ -40782,47 +40747,47 @@ "type": "Identifier", "name": "contElTgtId", "range": [ - 16618, - 16629 + 19492, + 19503 ], "loc": { "start": { - "line": 490, + "line": 668, "column": 21 }, "end": { - "line": 490, + "line": 668, "column": 32 } } }, "range": [ - 16613, - 16629 + 19487, + 19503 ], "loc": { "start": { - "line": 490, + "line": 668, "column": 16 }, "end": { - "line": 490, + "line": 668, "column": 32 } } } ], "range": [ - 16609, - 16630 + 19483, + 19504 ], "loc": { "start": { - "line": 490, + "line": 668, "column": 12 }, "end": { - "line": 490, + "line": 668, "column": 33 } } @@ -40844,16 +40809,16 @@ "type": "Identifier", "name": "elm", "range": [ - 16646, - 16649 + 19520, + 19523 ], "loc": { "start": { - "line": 491, + "line": 669, "column": 12 }, "end": { - "line": 491, + "line": 669, "column": 15 } } @@ -40865,16 +40830,16 @@ "object": { "type": "ThisExpression", "range": [ - 16650, - 16654 + 19524, + 19528 ], "loc": { "start": { - "line": 491, + "line": 669, "column": 16 }, "end": { - "line": 491, + "line": 669, "column": 20 } } @@ -40883,47 +40848,47 @@ "type": "Identifier", "name": "contElTgtId", "range": [ - 16655, - 16666 + 19529, + 19540 ], "loc": { "start": { - "line": 491, + "line": 669, "column": 21 }, "end": { - "line": 491, + "line": 669, "column": 32 } } }, "range": [ - 16650, - 16666 + 19524, + 19540 ], "loc": { "start": { - "line": 491, + "line": 669, "column": 16 }, "end": { - "line": 491, + "line": 669, "column": 32 } } } ], "range": [ - 16646, - 16667 + 19520, + 19541 ], "loc": { "start": { - "line": 491, + "line": 669, "column": 12 }, "end": { - "line": 491, + "line": 669, "column": 33 } } @@ -40932,31 +40897,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 16668, - 16677 + 19542, + 19551 ], "loc": { "start": { - "line": 491, + "line": 669, "column": 34 }, "end": { - "line": 491, + "line": 669, "column": 43 } } }, "range": [ - 16646, - 16677 + 19520, + 19551 ], "loc": { "start": { - "line": 491, + "line": 669, "column": 12 }, "end": { - "line": 491, + "line": 669, "column": 43 } } @@ -40966,62 +40931,62 @@ "value": "", "raw": "''", "range": [ - 16680, - 16682 + 19554, + 19556 ], "loc": { "start": { - "line": 491, + "line": 669, "column": 46 }, "end": { - "line": 491, + "line": 669, "column": 48 } } }, "range": [ - 16646, - 16682 + 19520, + 19556 ], "loc": { "start": { - "line": 491, + "line": 669, "column": 12 }, "end": { - "line": 491, + "line": 669, "column": 48 } } }, "range": [ - 16646, - 16683 + 19520, + 19557 ], "loc": { "start": { - "line": 491, + "line": 669, "column": 12 }, "end": { - "line": 491, + "line": 669, "column": 49 } } } ], "range": [ - 16632, - 16693 + 19506, + 19567 ], "loc": { "start": { - "line": 490, + "line": 668, "column": 35 }, "end": { - "line": 492, + "line": 670, "column": 9 } } @@ -41043,16 +41008,16 @@ "object": { "type": "ThisExpression", "range": [ - 16713, - 16717 + 19587, + 19591 ], "loc": { "start": { - "line": 493, + "line": 671, "column": 12 }, "end": { - "line": 493, + "line": 671, "column": 16 } } @@ -41061,31 +41026,31 @@ "type": "Identifier", "name": "contEl", "range": [ - 16718, - 16724 + 19592, + 19598 ], "loc": { "start": { - "line": 493, + "line": 671, "column": 17 }, "end": { - "line": 493, + "line": 671, "column": 23 } } }, "range": [ - 16713, - 16724 + 19587, + 19598 ], "loc": { "start": { - "line": 493, + "line": 671, "column": 12 }, "end": { - "line": 493, + "line": 671, "column": 23 } } @@ -41094,31 +41059,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 16725, - 16734 + 19599, + 19608 ], "loc": { "start": { - "line": 493, + "line": 671, "column": 24 }, "end": { - "line": 493, + "line": 671, "column": 33 } } }, "range": [ - 16713, - 16734 + 19587, + 19608 ], "loc": { "start": { - "line": 493, + "line": 671, "column": 12 }, "end": { - "line": 493, + "line": 671, "column": 33 } } @@ -41128,46 +41093,46 @@ "value": "", "raw": "''", "range": [ - 16737, - 16739 + 19611, + 19613 ], "loc": { "start": { - "line": 493, + "line": 671, "column": 36 }, "end": { - "line": 493, + "line": 671, "column": 38 } } }, "range": [ - 16713, - 16739 + 19587, + 19613 ], "loc": { "start": { - "line": 493, + "line": 671, "column": 12 }, "end": { - "line": 493, + "line": 671, "column": 38 } } }, "range": [ - 16713, - 16740 + 19587, + 19614 ], "loc": { "start": { - "line": 493, + "line": 671, "column": 12 }, "end": { - "line": 493, + "line": 671, "column": 39 } } @@ -41180,16 +41145,16 @@ "type": "Identifier", "name": "removeElm", "range": [ - 16753, - 16762 + 19627, + 19636 ], "loc": { "start": { - "line": 494, + "line": 672, "column": 12 }, "end": { - "line": 494, + "line": 672, "column": 21 } } @@ -41201,16 +41166,16 @@ "object": { "type": "ThisExpression", "range": [ - 16763, - 16767 + 19637, + 19641 ], "loc": { "start": { - "line": 494, + "line": 672, "column": 22 }, "end": { - "line": 494, + "line": 672, "column": 26 } } @@ -41219,62 +41184,62 @@ "type": "Identifier", "name": "contEl", "range": [ - 16768, - 16774 + 19642, + 19648 ], "loc": { "start": { - "line": 494, + "line": 672, "column": 27 }, "end": { - "line": 494, + "line": 672, "column": 33 } } }, "range": [ - 16763, - 16774 + 19637, + 19648 ], "loc": { "start": { - "line": 494, + "line": 672, "column": 22 }, "end": { - "line": 494, + "line": 672, "column": 33 } } } ], "range": [ - 16753, - 16775 + 19627, + 19649 ], "loc": { "start": { - "line": 494, + "line": 672, "column": 12 }, "end": { - "line": 494, + "line": 672, "column": 34 } } }, "range": [ - 16753, - 16776 + 19627, + 19650 ], "loc": { "start": { - "line": 494, + "line": 672, "column": 12 }, "end": { - "line": 494, + "line": 672, "column": 35 } } @@ -41290,16 +41255,16 @@ "object": { "type": "ThisExpression", "range": [ - 16789, - 16793 + 19663, + 19667 ], "loc": { "start": { - "line": 495, + "line": 673, "column": 12 }, "end": { - "line": 495, + "line": 673, "column": 16 } } @@ -41308,31 +41273,31 @@ "type": "Identifier", "name": "contEl", "range": [ - 16794, - 16800 + 19668, + 19674 ], "loc": { "start": { - "line": 495, + "line": 673, "column": 17 }, "end": { - "line": 495, + "line": 673, "column": 23 } } }, "range": [ - 16789, - 16800 + 19663, + 19674 ], "loc": { "start": { - "line": 495, + "line": 673, "column": 12 }, "end": { - "line": 495, + "line": 673, "column": 23 } } @@ -41342,77 +41307,77 @@ "value": null, "raw": "null", "range": [ - 16803, - 16807 + 19677, + 19681 ], "loc": { "start": { - "line": 495, + "line": 673, "column": 26 }, "end": { - "line": 495, + "line": 673, "column": 30 } } }, "range": [ - 16789, - 16807 + 19663, + 19681 ], "loc": { "start": { - "line": 495, + "line": 673, "column": 12 }, "end": { - "line": 495, + "line": 673, "column": 30 } } }, "range": [ - 16789, - 16808 + 19663, + 19682 ], "loc": { "start": { - "line": 495, + "line": 673, "column": 12 }, "end": { - "line": 495, + "line": 673, "column": 31 } } } ], "range": [ - 16699, - 16818 + 19573, + 19692 ], "loc": { "start": { - "line": 492, + "line": 670, "column": 15 }, "end": { - "line": 496, + "line": 674, "column": 9 } } }, "range": [ - 16605, - 16818 + 19479, + 19692 ], "loc": { "start": { - "line": 490, + "line": 668, "column": 8 }, "end": { - "line": 496, + "line": 674, "column": 9 } } @@ -41431,16 +41396,16 @@ "object": { "type": "ThisExpression", "range": [ - 16827, - 16831 + 19701, + 19705 ], "loc": { "start": { - "line": 497, + "line": 675, "column": 8 }, "end": { - "line": 497, + "line": 675, "column": 12 } } @@ -41449,31 +41414,31 @@ "type": "Identifier", "name": "btnEl", "range": [ - 16832, - 16837 + 19706, + 19711 ], "loc": { "start": { - "line": 497, + "line": 675, "column": 13 }, "end": { - "line": 497, + "line": 675, "column": 18 } } }, "range": [ - 16827, - 16837 + 19701, + 19711 ], "loc": { "start": { - "line": 497, + "line": 675, "column": 8 }, "end": { - "line": 497, + "line": 675, "column": 18 } } @@ -41482,31 +41447,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 16838, - 16847 + 19712, + 19721 ], "loc": { "start": { - "line": 497, + "line": 675, "column": 19 }, "end": { - "line": 497, + "line": 675, "column": 28 } } }, "range": [ - 16827, - 16847 + 19701, + 19721 ], "loc": { "start": { - "line": 497, + "line": 675, "column": 8 }, "end": { - "line": 497, + "line": 675, "column": 28 } } @@ -41516,46 +41481,46 @@ "value": "", "raw": "''", "range": [ - 16850, - 16852 + 19724, + 19726 ], "loc": { "start": { - "line": 497, + "line": 675, "column": 31 }, "end": { - "line": 497, + "line": 675, "column": 33 } } }, "range": [ - 16827, - 16852 + 19701, + 19726 ], "loc": { "start": { - "line": 497, + "line": 675, "column": 8 }, "end": { - "line": 497, + "line": 675, "column": 33 } } }, "range": [ - 16827, - 16853 + 19701, + 19727 ], "loc": { "start": { - "line": 497, + "line": 675, "column": 8 }, "end": { - "line": 497, + "line": 675, "column": 34 } } @@ -41568,16 +41533,16 @@ "type": "Identifier", "name": "removeElm", "range": [ - 16862, - 16871 + 19736, + 19745 ], "loc": { "start": { - "line": 498, + "line": 676, "column": 8 }, "end": { - "line": 498, + "line": 676, "column": 17 } } @@ -41589,16 +41554,16 @@ "object": { "type": "ThisExpression", "range": [ - 16872, - 16876 + 19746, + 19750 ], "loc": { "start": { - "line": 498, + "line": 676, "column": 18 }, "end": { - "line": 498, + "line": 676, "column": 22 } } @@ -41607,62 +41572,62 @@ "type": "Identifier", "name": "btnEl", "range": [ - 16877, - 16882 + 19751, + 19756 ], "loc": { "start": { - "line": 498, + "line": 676, "column": 23 }, "end": { - "line": 498, + "line": 676, "column": 28 } } }, "range": [ - 16872, - 16882 + 19746, + 19756 ], "loc": { "start": { - "line": 498, + "line": 676, "column": 18 }, "end": { - "line": 498, + "line": 676, "column": 28 } } } ], "range": [ - 16862, - 16883 + 19736, + 19757 ], "loc": { "start": { - "line": 498, + "line": 676, "column": 8 }, "end": { - "line": 498, + "line": 676, "column": 29 } } }, "range": [ - 16862, - 16884 + 19736, + 19758 ], "loc": { "start": { - "line": 498, + "line": 676, "column": 8 }, "end": { - "line": 498, + "line": 676, "column": 30 } } @@ -41678,16 +41643,16 @@ "object": { "type": "ThisExpression", "range": [ - 16893, - 16897 + 19767, + 19771 ], "loc": { "start": { - "line": 499, + "line": 677, "column": 8 }, "end": { - "line": 499, + "line": 677, "column": 12 } } @@ -41696,31 +41661,31 @@ "type": "Identifier", "name": "btnEl", "range": [ - 16898, - 16903 + 19772, + 19777 ], "loc": { "start": { - "line": 499, + "line": 677, "column": 13 }, "end": { - "line": 499, + "line": 677, "column": 18 } } }, "range": [ - 16893, - 16903 + 19767, + 19777 ], "loc": { "start": { - "line": 499, + "line": 677, "column": 8 }, "end": { - "line": 499, + "line": 677, "column": 18 } } @@ -41730,46 +41695,46 @@ "value": null, "raw": "null", "range": [ - 16906, - 16910 + 19780, + 19784 ], "loc": { "start": { - "line": 499, + "line": 677, "column": 21 }, "end": { - "line": 499, + "line": 677, "column": 25 } } }, "range": [ - 16893, - 16910 + 19767, + 19784 ], "loc": { "start": { - "line": 499, + "line": 677, "column": 8 }, "end": { - "line": 499, + "line": 677, "column": 25 } } }, "range": [ - 16893, - 16911 + 19767, + 19785 ], "loc": { "start": { - "line": 499, + "line": 677, "column": 8 }, "end": { - "line": 499, + "line": 677, "column": 26 } } @@ -41787,16 +41752,16 @@ "object": { "type": "ThisExpression", "range": [ - 16921, - 16925 + 19795, + 19799 ], "loc": { "start": { - "line": 501, + "line": 679, "column": 8 }, "end": { - "line": 501, + "line": 679, "column": 12 } } @@ -41805,31 +41770,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 16926, - 16933 + 19800, + 19807 ], "loc": { "start": { - "line": 501, + "line": 679, "column": 13 }, "end": { - "line": 501, + "line": 679, "column": 20 } } }, "range": [ - 16921, - 16933 + 19795, + 19807 ], "loc": { "start": { - "line": 501, + "line": 679, "column": 8 }, "end": { - "line": 501, + "line": 679, "column": 20 } } @@ -41838,31 +41803,31 @@ "type": "Identifier", "name": "off", "range": [ - 16934, - 16937 + 19808, + 19811 ], "loc": { "start": { - "line": 501, + "line": 679, "column": 21 }, "end": { - "line": 501, + "line": 679, "column": 24 } } }, "range": [ - 16921, - 16937 + 19795, + 19811 ], "loc": { "start": { - "line": 501, + "line": 679, "column": 8 }, "end": { - "line": 501, + "line": 679, "column": 24 } } @@ -41876,32 +41841,32 @@ "value": "hide-column", "raw": "'hide-column'", "range": [ - 16939, - 16952 + 19813, + 19826 ], "loc": { "start": { - "line": 501, + "line": 679, "column": 26 }, "end": { - "line": 501, + "line": 679, "column": 39 } } } ], "range": [ - 16938, - 16953 + 19812, + 19827 ], "loc": { "start": { - "line": 501, + "line": 679, "column": 25 }, "end": { - "line": 501, + "line": 679, "column": 40 } } @@ -41914,16 +41879,16 @@ "type": "Identifier", "name": "tf", "range": [ - 16968, - 16970 + 19842, + 19844 ], "loc": { "start": { - "line": 502, + "line": 680, "column": 13 }, "end": { - "line": 502, + "line": 680, "column": 15 } } @@ -41932,16 +41897,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 16972, - 16980 + 19846, + 19854 ], "loc": { "start": { - "line": 502, + "line": 680, "column": 17 }, "end": { - "line": 502, + "line": 680, "column": 25 } } @@ -41955,16 +41920,16 @@ "object": { "type": "ThisExpression", "range": [ - 16985, - 16989 + 19859, + 19863 ], "loc": { "start": { - "line": 502, + "line": 680, "column": 30 }, "end": { - "line": 502, + "line": 680, "column": 34 } } @@ -41973,31 +41938,31 @@ "type": "Identifier", "name": "hideCol", "range": [ - 16990, - 16997 + 19864, + 19871 ], "loc": { "start": { - "line": 502, + "line": 680, "column": 35 }, "end": { - "line": 502, + "line": 680, "column": 42 } } }, "range": [ - 16985, - 16997 + 19859, + 19871 ], "loc": { "start": { - "line": 502, + "line": 680, "column": 30 }, "end": { - "line": 502, + "line": 680, "column": 42 } } @@ -42007,32 +41972,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 16998, - 17006 + 19872, + 19880 ], "loc": { "start": { - "line": 502, + "line": 680, "column": 43 }, "end": { - "line": 502, + "line": 680, "column": 51 } } } ], "range": [ - 16985, - 17007 + 19859, + 19881 ], "loc": { "start": { - "line": 502, + "line": 680, "column": 30 }, "end": { - "line": 502, + "line": 680, "column": 52 } } @@ -42040,47 +42005,47 @@ "generator": false, "expression": true, "range": [ - 16967, - 17007 + 19841, + 19881 ], "loc": { "start": { - "line": 502, + "line": 680, "column": 12 }, "end": { - "line": 502, + "line": 680, "column": 52 } } } ], "range": [ - 16921, - 17008 + 19795, + 19882 ], "loc": { "start": { - "line": 501, + "line": 679, "column": 8 }, "end": { - "line": 502, + "line": 680, "column": 53 } } }, "range": [ - 16921, - 17009 + 19795, + 19883 ], "loc": { "start": { - "line": 501, + "line": 679, "column": 8 }, "end": { - "line": 502, + "line": 680, "column": 54 } } @@ -42096,16 +42061,16 @@ "object": { "type": "ThisExpression", "range": [ - 17019, - 17023 + 19893, + 19897 ], "loc": { "start": { - "line": 504, + "line": 682, "column": 8 }, "end": { - "line": 504, + "line": 682, "column": 12 } } @@ -42114,31 +42079,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 17024, - 17035 + 19898, + 19909 ], "loc": { "start": { - "line": 504, + "line": 682, "column": 13 }, "end": { - "line": 504, + "line": 682, "column": 24 } } }, "range": [ - 17019, - 17035 + 19893, + 19909 ], "loc": { "start": { - "line": 504, + "line": 682, "column": 8 }, "end": { - "line": 504, + "line": 682, "column": 24 } } @@ -42148,62 +42113,62 @@ "value": false, "raw": "false", "range": [ - 17038, - 17043 + 19912, + 19917 ], "loc": { "start": { - "line": 504, + "line": 682, "column": 27 }, "end": { - "line": 504, + "line": 682, "column": 32 } } }, "range": [ - 17019, - 17043 + 19893, + 19917 ], "loc": { "start": { - "line": 504, + "line": 682, "column": 8 }, "end": { - "line": 504, + "line": 682, "column": 32 } } }, "range": [ - 17019, - 17044 + 19893, + 19918 ], "loc": { "start": { - "line": 504, + "line": 682, "column": 8 }, "end": { - "line": 504, + "line": 682, "column": 33 } } } ], "range": [ - 16532, - 17050 + 19406, + 19924 ], "loc": { "start": { - "line": 486, + "line": 664, "column": 14 }, "end": { - "line": 505, + "line": 683, "column": 5 } } @@ -42211,16 +42176,16 @@ "generator": false, "expression": false, "range": [ - 16529, - 17050 + 19403, + 19924 ], "loc": { "start": { - "line": 486, + "line": 664, "column": 11 }, "end": { - "line": 505, + "line": 683, "column": 5 } } @@ -42228,16 +42193,16 @@ "kind": "method", "computed": false, "range": [ - 16522, - 17050 + 19396, + 19924 ], "loc": { "start": { - "line": 486, + "line": 664, "column": 4 }, "end": { - "line": 505, + "line": 683, "column": 5 } }, @@ -42246,16 +42211,16 @@ "type": "Block", "value": "*\n * Remove the columns manager\n ", "range": [ - 16472, - 16517 + 19346, + 19391 ], "loc": { "start": { - "line": 483, + "line": 661, "column": 4 }, "end": { - "line": 485, + "line": 663, "column": 7 } } @@ -42269,16 +42234,16 @@ "type": "Identifier", "name": "_getHeaderText", "range": [ - 17056, - 17070 + 19930, + 19944 ], "loc": { "start": { - "line": 507, + "line": 685, "column": 4 }, "end": { - "line": 507, + "line": 685, "column": 18 } } @@ -42291,16 +42256,16 @@ "type": "Identifier", "name": "cell", "range": [ - 17071, - 17075 + 19945, + 19949 ], "loc": { "start": { - "line": 507, + "line": 685, "column": 19 }, "end": { - "line": 507, + "line": 685, "column": 23 } } @@ -42321,16 +42286,16 @@ "type": "Identifier", "name": "cell", "range": [ - 17092, - 17096 + 19966, + 19970 ], "loc": { "start": { - "line": 508, + "line": 686, "column": 13 }, "end": { - "line": 508, + "line": 686, "column": 17 } } @@ -42339,47 +42304,47 @@ "type": "Identifier", "name": "hasChildNodes", "range": [ - 17097, - 17110 + 19971, + 19984 ], "loc": { "start": { - "line": 508, + "line": 686, "column": 18 }, "end": { - "line": 508, + "line": 686, "column": 31 } } }, "range": [ - 17092, - 17110 + 19966, + 19984 ], "loc": { "start": { - "line": 508, + "line": 686, "column": 13 }, "end": { - "line": 508, + "line": 686, "column": 31 } } }, "prefix": true, "range": [ - 17091, - 17110 + 19965, + 19984 ], "loc": { "start": { - "line": 508, + "line": 686, "column": 12 }, "end": { - "line": 508, + "line": 686, "column": 31 } } @@ -42394,63 +42359,63 @@ "value": "", "raw": "''", "range": [ - 17133, - 17135 + 20007, + 20009 ], "loc": { "start": { - "line": 509, + "line": 687, "column": 19 }, "end": { - "line": 509, + "line": 687, "column": 21 } } }, "range": [ - 17126, - 17136 + 20000, + 20010 ], "loc": { "start": { - "line": 509, + "line": 687, "column": 12 }, "end": { - "line": 509, + "line": 687, "column": 22 } } } ], "range": [ - 17112, - 17146 + 19986, + 20020 ], "loc": { "start": { - "line": 508, + "line": 686, "column": 33 }, "end": { - "line": 510, + "line": 688, "column": 9 } } }, "alternate": null, "range": [ - 17087, - 17146 + 19961, + 20020 ], "loc": { "start": { - "line": 508, + "line": 686, "column": 8 }, "end": { - "line": 510, + "line": 688, "column": 9 } } @@ -42466,16 +42431,16 @@ "type": "Identifier", "name": "i", "range": [ - 17165, - 17166 + 20039, + 20040 ], "loc": { "start": { - "line": 512, + "line": 690, "column": 17 }, "end": { - "line": 512, + "line": 690, "column": 18 } } @@ -42485,31 +42450,31 @@ "value": 0, "raw": "0", "range": [ - 17169, - 17170 + 20043, + 20044 ], "loc": { "start": { - "line": 512, + "line": 690, "column": 21 }, "end": { - "line": 512, + "line": 690, "column": 22 } } }, "range": [ - 17165, - 17170 + 20039, + 20044 ], "loc": { "start": { - "line": 512, + "line": 690, "column": 17 }, "end": { - "line": 512, + "line": 690, "column": 22 } } @@ -42517,16 +42482,16 @@ ], "kind": "let", "range": [ - 17161, - 17170 + 20035, + 20044 ], "loc": { "start": { - "line": 512, + "line": 690, "column": 13 }, "end": { - "line": 512, + "line": 690, "column": 22 } } @@ -42538,16 +42503,16 @@ "type": "Identifier", "name": "i", "range": [ - 17172, - 17173 + 20046, + 20047 ], "loc": { "start": { - "line": 512, + "line": 690, "column": 24 }, "end": { - "line": 512, + "line": 690, "column": 25 } } @@ -42562,16 +42527,16 @@ "type": "Identifier", "name": "cell", "range": [ - 17176, - 17180 + 20050, + 20054 ], "loc": { "start": { - "line": 512, + "line": 690, "column": 28 }, "end": { - "line": 512, + "line": 690, "column": 32 } } @@ -42580,31 +42545,31 @@ "type": "Identifier", "name": "childNodes", "range": [ - 17181, - 17191 + 20055, + 20065 ], "loc": { "start": { - "line": 512, + "line": 690, "column": 33 }, "end": { - "line": 512, + "line": 690, "column": 43 } } }, "range": [ - 17176, - 17191 + 20050, + 20065 ], "loc": { "start": { - "line": 512, + "line": 690, "column": 28 }, "end": { - "line": 512, + "line": 690, "column": 43 } } @@ -42613,46 +42578,46 @@ "type": "Identifier", "name": "length", "range": [ - 17192, - 17198 + 20066, + 20072 ], "loc": { "start": { - "line": 512, + "line": 690, "column": 44 }, "end": { - "line": 512, + "line": 690, "column": 50 } } }, "range": [ - 17176, - 17198 + 20050, + 20072 ], "loc": { "start": { - "line": 512, + "line": 690, "column": 28 }, "end": { - "line": 512, + "line": 690, "column": 50 } } }, "range": [ - 17172, - 17198 + 20046, + 20072 ], "loc": { "start": { - "line": 512, + "line": 690, "column": 24 }, "end": { - "line": 512, + "line": 690, "column": 50 } } @@ -42664,32 +42629,32 @@ "type": "Identifier", "name": "i", "range": [ - 17200, - 17201 + 20074, + 20075 ], "loc": { "start": { - "line": 512, + "line": 690, "column": 52 }, "end": { - "line": 512, + "line": 690, "column": 53 } } }, "prefix": false, "range": [ - 17200, - 17203 + 20074, + 20077 ], "loc": { "start": { - "line": 512, + "line": 690, "column": 52 }, "end": { - "line": 512, + "line": 690, "column": 55 } } @@ -42706,16 +42671,16 @@ "type": "Identifier", "name": "n", "range": [ - 17223, - 17224 + 20097, + 20098 ], "loc": { "start": { - "line": 513, + "line": 691, "column": 16 }, "end": { - "line": 513, + "line": 691, "column": 17 } } @@ -42730,16 +42695,16 @@ "type": "Identifier", "name": "cell", "range": [ - 17227, - 17231 + 20101, + 20105 ], "loc": { "start": { - "line": 513, + "line": 691, "column": 20 }, "end": { - "line": 513, + "line": 691, "column": 24 } } @@ -42748,31 +42713,31 @@ "type": "Identifier", "name": "childNodes", "range": [ - 17232, - 17242 + 20106, + 20116 ], "loc": { "start": { - "line": 513, + "line": 691, "column": 25 }, "end": { - "line": 513, + "line": 691, "column": 35 } } }, "range": [ - 17227, - 17242 + 20101, + 20116 ], "loc": { "start": { - "line": 513, + "line": 691, "column": 20 }, "end": { - "line": 513, + "line": 691, "column": 35 } } @@ -42781,46 +42746,46 @@ "type": "Identifier", "name": "i", "range": [ - 17243, - 17244 + 20117, + 20118 ], "loc": { "start": { - "line": 513, + "line": 691, "column": 36 }, "end": { - "line": 513, + "line": 691, "column": 37 } } }, "range": [ - 17227, - 17245 + 20101, + 20119 ], "loc": { "start": { - "line": 513, + "line": 691, "column": 20 }, "end": { - "line": 513, + "line": 691, "column": 38 } } }, "range": [ - 17223, - 17245 + 20097, + 20119 ], "loc": { "start": { - "line": 513, + "line": 691, "column": 16 }, "end": { - "line": 513, + "line": 691, "column": 38 } } @@ -42828,16 +42793,16 @@ ], "kind": "let", "range": [ - 17219, - 17246 + 20093, + 20120 ], "loc": { "start": { - "line": 513, + "line": 691, "column": 12 }, "end": { - "line": 513, + "line": 691, "column": 39 } } @@ -42854,16 +42819,16 @@ "type": "Identifier", "name": "n", "range": [ - 17263, - 17264 + 20137, + 20138 ], "loc": { "start": { - "line": 514, + "line": 692, "column": 16 }, "end": { - "line": 514, + "line": 692, "column": 17 } } @@ -42872,31 +42837,31 @@ "type": "Identifier", "name": "nodeType", "range": [ - 17265, - 17273 + 20139, + 20147 ], "loc": { "start": { - "line": 514, + "line": 692, "column": 18 }, "end": { - "line": 514, + "line": 692, "column": 26 } } }, "range": [ - 17263, - 17273 + 20137, + 20147 ], "loc": { "start": { - "line": 514, + "line": 692, "column": 16 }, "end": { - "line": 514, + "line": 692, "column": 26 } } @@ -42906,31 +42871,31 @@ "value": 3, "raw": "3", "range": [ - 17278, - 17279 + 20152, + 20153 ], "loc": { "start": { - "line": 514, + "line": 692, "column": 31 }, "end": { - "line": 514, + "line": 692, "column": 32 } } }, "range": [ - 17263, - 17279 + 20137, + 20153 ], "loc": { "start": { - "line": 514, + "line": 692, "column": 16 }, "end": { - "line": 514, + "line": 692, "column": 32 } } @@ -42947,16 +42912,16 @@ "type": "Identifier", "name": "n", "range": [ - 17306, - 17307 + 20180, + 20181 ], "loc": { "start": { - "line": 515, + "line": 693, "column": 23 }, "end": { - "line": 515, + "line": 693, "column": 24 } } @@ -42965,62 +42930,62 @@ "type": "Identifier", "name": "nodeValue", "range": [ - 17308, - 17317 + 20182, + 20191 ], "loc": { "start": { - "line": 515, + "line": 693, "column": 25 }, "end": { - "line": 515, + "line": 693, "column": 34 } } }, "range": [ - 17306, - 17317 + 20180, + 20191 ], "loc": { "start": { - "line": 515, + "line": 693, "column": 23 }, "end": { - "line": 515, + "line": 693, "column": 34 } } }, "range": [ - 17299, - 17318 + 20173, + 20192 ], "loc": { "start": { - "line": 515, + "line": 693, "column": 16 }, "end": { - "line": 515, + "line": 693, "column": 35 } } } ], "range": [ - 17281, - 17332 + 20155, + 20206 ], "loc": { "start": { - "line": 514, + "line": 692, "column": 34 }, "end": { - "line": 516, + "line": 694, "column": 13 } } @@ -43037,16 +43002,16 @@ "type": "Identifier", "name": "n", "range": [ - 17342, - 17343 + 20216, + 20217 ], "loc": { "start": { - "line": 516, + "line": 694, "column": 23 }, "end": { - "line": 516, + "line": 694, "column": 24 } } @@ -43055,31 +43020,31 @@ "type": "Identifier", "name": "nodeType", "range": [ - 17344, - 17352 + 20218, + 20226 ], "loc": { "start": { - "line": 516, + "line": 694, "column": 25 }, "end": { - "line": 516, + "line": 694, "column": 33 } } }, "range": [ - 17342, - 17352 + 20216, + 20226 ], "loc": { "start": { - "line": 516, + "line": 694, "column": 23 }, "end": { - "line": 516, + "line": 694, "column": 33 } } @@ -43089,31 +43054,31 @@ "value": 1, "raw": "1", "range": [ - 17357, - 17358 + 20231, + 20232 ], "loc": { "start": { - "line": 516, + "line": 694, "column": 38 }, "end": { - "line": 516, + "line": 694, "column": 39 } } }, "range": [ - 17342, - 17358 + 20216, + 20232 ], "loc": { "start": { - "line": 516, + "line": 694, "column": 23 }, "end": { - "line": 516, + "line": 694, "column": 39 } } @@ -43133,16 +43098,16 @@ "type": "Identifier", "name": "n", "range": [ - 17382, - 17383 + 20256, + 20257 ], "loc": { "start": { - "line": 517, + "line": 695, "column": 20 }, "end": { - "line": 517, + "line": 695, "column": 21 } } @@ -43151,31 +43116,31 @@ "type": "Identifier", "name": "id", "range": [ - 17384, - 17386 + 20258, + 20260 ], "loc": { "start": { - "line": 517, + "line": 695, "column": 22 }, "end": { - "line": 517, + "line": 695, "column": 24 } } }, "range": [ - 17382, - 17386 + 20256, + 20260 ], "loc": { "start": { - "line": 517, + "line": 695, "column": 20 }, "end": { - "line": 517, + "line": 695, "column": 24 } } @@ -43195,16 +43160,16 @@ "type": "Identifier", "name": "n", "range": [ - 17390, - 17391 + 20264, + 20265 ], "loc": { "start": { - "line": 517, + "line": 695, "column": 28 }, "end": { - "line": 517, + "line": 695, "column": 29 } } @@ -43213,31 +43178,31 @@ "type": "Identifier", "name": "id", "range": [ - 17392, - 17394 + 20266, + 20268 ], "loc": { "start": { - "line": 517, + "line": 695, "column": 30 }, "end": { - "line": 517, + "line": 695, "column": 32 } } }, "range": [ - 17390, - 17394 + 20264, + 20268 ], "loc": { "start": { - "line": 517, + "line": 695, "column": 28 }, "end": { - "line": 517, + "line": 695, "column": 32 } } @@ -43246,31 +43211,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 17395, - 17402 + 20269, + 20276 ], "loc": { "start": { - "line": 517, + "line": 695, "column": 33 }, "end": { - "line": 517, + "line": 695, "column": 40 } } }, "range": [ - 17390, - 17402 + 20264, + 20276 ], "loc": { "start": { - "line": 517, + "line": 695, "column": 28 }, "end": { - "line": 517, + "line": 695, "column": 40 } } @@ -43281,32 +43246,32 @@ "value": "popUp", "raw": "'popUp'", "range": [ - 17403, - 17410 + 20277, + 20284 ], "loc": { "start": { - "line": 517, + "line": 695, "column": 41 }, "end": { - "line": 517, + "line": 695, "column": 48 } } } ], "range": [ - 17390, - 17411 + 20264, + 20285 ], "loc": { "start": { - "line": 517, + "line": 695, "column": 28 }, "end": { - "line": 517, + "line": 695, "column": 49 } } @@ -43319,62 +43284,62 @@ "value": 1, "raw": "1", "range": [ - 17417, - 17418 + 20291, + 20292 ], "loc": { "start": { - "line": 517, + "line": 695, "column": 55 }, "end": { - "line": 517, + "line": 695, "column": 56 } } }, "prefix": true, "range": [ - 17416, - 17418 + 20290, + 20292 ], "loc": { "start": { - "line": 517, + "line": 695, "column": 54 }, "end": { - "line": 517, + "line": 695, "column": 56 } } }, "range": [ - 17390, - 17418 + 20264, + 20292 ], "loc": { "start": { - "line": 517, + "line": 695, "column": 28 }, "end": { - "line": 517, + "line": 695, "column": 56 } } }, "range": [ - 17382, - 17418 + 20256, + 20292 ], "loc": { "start": { - "line": 517, + "line": 695, "column": 20 }, "end": { - "line": 517, + "line": 695, "column": 56 } } @@ -43386,32 +43351,32 @@ "type": "ContinueStatement", "label": null, "range": [ - 17442, - 17451 + 20316, + 20325 ], "loc": { "start": { - "line": 518, + "line": 696, "column": 20 }, "end": { - "line": 518, + "line": 696, "column": 29 } } } ], "range": [ - 17420, - 17469 + 20294, + 20343 ], "loc": { "start": { - "line": 517, + "line": 695, "column": 58 }, "end": { - "line": 519, + "line": 697, "column": 17 } } @@ -43427,16 +43392,16 @@ "type": "Identifier", "name": "getText", "range": [ - 17504, - 17511 + 20378, + 20385 ], "loc": { "start": { - "line": 520, + "line": 698, "column": 27 }, "end": { - "line": 520, + "line": 698, "column": 34 } } @@ -43446,125 +43411,125 @@ "type": "Identifier", "name": "n", "range": [ - 17512, - 17513 + 20386, + 20387 ], "loc": { "start": { - "line": 520, + "line": 698, "column": 35 }, "end": { - "line": 520, + "line": 698, "column": 36 } } } ], "range": [ - 17504, - 17514 + 20378, + 20388 ], "loc": { "start": { - "line": 520, + "line": 698, "column": 27 }, "end": { - "line": 520, + "line": 698, "column": 37 } } }, "range": [ - 17497, - 17515 + 20371, + 20389 ], "loc": { "start": { - "line": 520, + "line": 698, "column": 20 }, "end": { - "line": 520, + "line": 698, "column": 38 } } } ], "range": [ - 17475, - 17533 + 20349, + 20407 ], "loc": { "start": { - "line": 519, + "line": 697, "column": 23 }, "end": { - "line": 521, + "line": 699, "column": 17 } } }, "range": [ - 17378, - 17533 + 20252, + 20407 ], "loc": { "start": { - "line": 517, + "line": 695, "column": 16 }, "end": { - "line": 521, + "line": 699, "column": 17 } } } ], "range": [ - 17360, - 17547 + 20234, + 20421 ], "loc": { "start": { - "line": 516, + "line": 694, "column": 41 }, "end": { - "line": 522, + "line": 700, "column": 13 } } }, "alternate": null, "range": [ - 17338, - 17547 + 20212, + 20421 ], "loc": { "start": { - "line": 516, + "line": 694, "column": 19 }, "end": { - "line": 522, + "line": 700, "column": 13 } } }, "range": [ - 17259, - 17547 + 20133, + 20421 ], "loc": { "start": { - "line": 514, + "line": 692, "column": 12 }, "end": { - "line": 522, + "line": 700, "column": 13 } } @@ -43573,47 +43538,47 @@ "type": "ContinueStatement", "label": null, "range": [ - 17560, - 17569 + 20434, + 20443 ], "loc": { "start": { - "line": 523, + "line": 701, "column": 12 }, "end": { - "line": 523, + "line": 701, "column": 21 } } } ], "range": [ - 17205, - 17579 + 20079, + 20453 ], "loc": { "start": { - "line": 512, + "line": 690, "column": 57 }, "end": { - "line": 524, + "line": 702, "column": 9 } } }, "range": [ - 17156, - 17579 + 20030, + 20453 ], "loc": { "start": { - "line": 512, + "line": 690, "column": 8 }, "end": { - "line": 524, + "line": 702, "column": 9 } } @@ -43625,47 +43590,47 @@ "value": "", "raw": "''", "range": [ - 17595, - 17597 + 20469, + 20471 ], "loc": { "start": { - "line": 525, + "line": 703, "column": 15 }, "end": { - "line": 525, + "line": 703, "column": 17 } } }, "range": [ - 17588, - 17598 + 20462, + 20472 ], "loc": { "start": { - "line": 525, + "line": 703, "column": 8 }, "end": { - "line": 525, + "line": 703, "column": 18 } } } ], "range": [ - 17077, - 17604 + 19951, + 20478 ], "loc": { "start": { - "line": 507, + "line": 685, "column": 25 }, "end": { - "line": 526, + "line": 704, "column": 5 } } @@ -43673,16 +43638,16 @@ "generator": false, "expression": false, "range": [ - 17070, - 17604 + 19944, + 20478 ], "loc": { "start": { - "line": 507, + "line": 685, "column": 18 }, "end": { - "line": 526, + "line": 704, "column": 5 } } @@ -43690,16 +43655,16 @@ "kind": "method", "computed": false, "range": [ - 17056, - 17604 + 19930, + 20478 ], "loc": { "start": { - "line": 507, + "line": 685, "column": 4 }, "end": { - "line": 526, + "line": 704, "column": 5 } }, @@ -43711,16 +43676,16 @@ "type": "Identifier", "name": "_hideCells", "range": [ - 17610, - 17620 + 20484, + 20494 ], "loc": { "start": { - "line": 528, + "line": 706, "column": 4 }, "end": { - "line": 528, + "line": 706, "column": 14 } } @@ -43733,16 +43698,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 17621, - 17624 + 20495, + 20498 ], "loc": { "start": { - "line": 528, + "line": 706, "column": 15 }, "end": { - "line": 528, + "line": 706, "column": 18 } } @@ -43751,16 +43716,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 17626, - 17634 + 20500, + 20508 ], "loc": { "start": { - "line": 528, + "line": 706, "column": 20 }, "end": { - "line": 528, + "line": 706, "column": 28 } } @@ -43769,16 +43734,16 @@ "type": "Identifier", "name": "hide", "range": [ - 17636, - 17640 + 20510, + 20514 ], "loc": { "start": { - "line": 528, + "line": 706, "column": 30 }, "end": { - "line": 528, + "line": 706, "column": 34 } } @@ -43798,16 +43763,16 @@ "type": "Identifier", "name": "i", "range": [ - 17661, - 17662 + 20535, + 20536 ], "loc": { "start": { - "line": 529, + "line": 707, "column": 17 }, "end": { - "line": 529, + "line": 707, "column": 18 } } @@ -43817,31 +43782,31 @@ "value": 0, "raw": "0", "range": [ - 17665, - 17666 + 20539, + 20540 ], "loc": { "start": { - "line": 529, + "line": 707, "column": 21 }, "end": { - "line": 529, + "line": 707, "column": 22 } } }, "range": [ - 17661, - 17666 + 20535, + 20540 ], "loc": { "start": { - "line": 529, + "line": 707, "column": 17 }, "end": { - "line": 529, + "line": 707, "column": 22 } } @@ -43849,16 +43814,16 @@ ], "kind": "let", "range": [ - 17657, - 17666 + 20531, + 20540 ], "loc": { "start": { - "line": 529, + "line": 707, "column": 13 }, "end": { - "line": 529, + "line": 707, "column": 22 } } @@ -43870,16 +43835,16 @@ "type": "Identifier", "name": "i", "range": [ - 17668, - 17669 + 20542, + 20543 ], "loc": { "start": { - "line": 529, + "line": 707, "column": 24 }, "end": { - "line": 529, + "line": 707, "column": 25 } } @@ -43894,16 +43859,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 17672, - 17675 + 20546, + 20549 ], "loc": { "start": { - "line": 529, + "line": 707, "column": 28 }, "end": { - "line": 529, + "line": 707, "column": 31 } } @@ -43912,31 +43877,31 @@ "type": "Identifier", "name": "rows", "range": [ - 17676, - 17680 + 20550, + 20554 ], "loc": { "start": { - "line": 529, + "line": 707, "column": 32 }, "end": { - "line": 529, + "line": 707, "column": 36 } } }, "range": [ - 17672, - 17680 + 20546, + 20554 ], "loc": { "start": { - "line": 529, + "line": 707, "column": 28 }, "end": { - "line": 529, + "line": 707, "column": 36 } } @@ -43945,46 +43910,46 @@ "type": "Identifier", "name": "length", "range": [ - 17681, - 17687 + 20555, + 20561 ], "loc": { "start": { - "line": 529, + "line": 707, "column": 37 }, "end": { - "line": 529, + "line": 707, "column": 43 } } }, "range": [ - 17672, - 17687 + 20546, + 20561 ], "loc": { "start": { - "line": 529, + "line": 707, "column": 28 }, "end": { - "line": 529, + "line": 707, "column": 43 } } }, "range": [ - 17668, - 17687 + 20542, + 20561 ], "loc": { "start": { - "line": 529, + "line": 707, "column": 24 }, "end": { - "line": 529, + "line": 707, "column": 43 } } @@ -43996,32 +43961,32 @@ "type": "Identifier", "name": "i", "range": [ - 17689, - 17690 + 20563, + 20564 ], "loc": { "start": { - "line": 529, + "line": 707, "column": 45 }, "end": { - "line": 529, + "line": 707, "column": 46 } } }, "prefix": false, "range": [ - 17689, - 17692 + 20563, + 20566 ], "loc": { "start": { - "line": 529, + "line": 707, "column": 45 }, "end": { - "line": 529, + "line": 707, "column": 48 } } @@ -44038,16 +44003,16 @@ "type": "Identifier", "name": "row", "range": [ - 17712, - 17715 + 20586, + 20589 ], "loc": { "start": { - "line": 530, + "line": 708, "column": 16 }, "end": { - "line": 530, + "line": 708, "column": 19 } } @@ -44062,16 +44027,16 @@ "type": "Identifier", "name": "tbl", "range": [ - 17718, - 17721 + 20592, + 20595 ], "loc": { "start": { - "line": 530, + "line": 708, "column": 22 }, "end": { - "line": 530, + "line": 708, "column": 25 } } @@ -44080,31 +44045,31 @@ "type": "Identifier", "name": "rows", "range": [ - 17722, - 17726 + 20596, + 20600 ], "loc": { "start": { - "line": 530, + "line": 708, "column": 26 }, "end": { - "line": 530, + "line": 708, "column": 30 } } }, "range": [ - 17718, - 17726 + 20592, + 20600 ], "loc": { "start": { - "line": 530, + "line": 708, "column": 22 }, "end": { - "line": 530, + "line": 708, "column": 30 } } @@ -44113,46 +44078,46 @@ "type": "Identifier", "name": "i", "range": [ - 17727, - 17728 + 20601, + 20602 ], "loc": { "start": { - "line": 530, + "line": 708, "column": 31 }, "end": { - "line": 530, + "line": 708, "column": 32 } } }, "range": [ - 17718, - 17729 + 20592, + 20603 ], "loc": { "start": { - "line": 530, + "line": 708, "column": 22 }, "end": { - "line": 530, + "line": 708, "column": 33 } } }, "range": [ - 17712, - 17729 + 20586, + 20603 ], "loc": { "start": { - "line": 530, + "line": 708, "column": 16 }, "end": { - "line": 530, + "line": 708, "column": 33 } } @@ -44160,16 +44125,16 @@ ], "kind": "let", "range": [ - 17708, - 17730 + 20582, + 20604 ], "loc": { "start": { - "line": 530, + "line": 708, "column": 12 }, "end": { - "line": 530, + "line": 708, "column": 34 } } @@ -44183,16 +44148,16 @@ "type": "Identifier", "name": "cell", "range": [ - 17747, - 17751 + 20621, + 20625 ], "loc": { "start": { - "line": 531, + "line": 709, "column": 16 }, "end": { - "line": 531, + "line": 709, "column": 20 } } @@ -44207,16 +44172,16 @@ "type": "Identifier", "name": "row", "range": [ - 17754, - 17757 + 20628, + 20631 ], "loc": { "start": { - "line": 531, + "line": 709, "column": 23 }, "end": { - "line": 531, + "line": 709, "column": 26 } } @@ -44225,31 +44190,31 @@ "type": "Identifier", "name": "cells", "range": [ - 17758, - 17763 + 20632, + 20637 ], "loc": { "start": { - "line": 531, + "line": 709, "column": 27 }, "end": { - "line": 531, + "line": 709, "column": 32 } } }, "range": [ - 17754, - 17763 + 20628, + 20637 ], "loc": { "start": { - "line": 531, + "line": 709, "column": 23 }, "end": { - "line": 531, + "line": 709, "column": 32 } } @@ -44258,46 +44223,46 @@ "type": "Identifier", "name": "colIndex", "range": [ - 17764, - 17772 + 20638, + 20646 ], "loc": { "start": { - "line": 531, + "line": 709, "column": 33 }, "end": { - "line": 531, + "line": 709, "column": 41 } } }, "range": [ - 17754, - 17773 + 20628, + 20647 ], "loc": { "start": { - "line": 531, + "line": 709, "column": 23 }, "end": { - "line": 531, + "line": 709, "column": 42 } } }, "range": [ - 17747, - 17773 + 20621, + 20647 ], "loc": { "start": { - "line": 531, + "line": 709, "column": 16 }, "end": { - "line": 531, + "line": 709, "column": 42 } } @@ -44305,16 +44270,16 @@ ], "kind": "let", "range": [ - 17743, - 17774 + 20617, + 20648 ], "loc": { "start": { - "line": 531, + "line": 709, "column": 12 }, "end": { - "line": 531, + "line": 709, "column": 43 } } @@ -44325,16 +44290,16 @@ "type": "Identifier", "name": "cell", "range": [ - 17791, - 17795 + 20665, + 20669 ], "loc": { "start": { - "line": 532, + "line": 710, "column": 16 }, "end": { - "line": 532, + "line": 710, "column": 20 } } @@ -44357,16 +44322,16 @@ "type": "Identifier", "name": "cell", "range": [ - 17815, - 17819 + 20689, + 20693 ], "loc": { "start": { - "line": 533, + "line": 711, "column": 16 }, "end": { - "line": 533, + "line": 711, "column": 20 } } @@ -44375,31 +44340,31 @@ "type": "Identifier", "name": "style", "range": [ - 17820, - 17825 + 20694, + 20699 ], "loc": { "start": { - "line": 533, + "line": 711, "column": 21 }, "end": { - "line": 533, + "line": 711, "column": 26 } } }, "range": [ - 17815, - 17825 + 20689, + 20699 ], "loc": { "start": { - "line": 533, + "line": 711, "column": 16 }, "end": { - "line": 533, + "line": 711, "column": 26 } } @@ -44408,31 +44373,31 @@ "type": "Identifier", "name": "display", "range": [ - 17826, - 17833 + 20700, + 20707 ], "loc": { "start": { - "line": 533, + "line": 711, "column": 27 }, "end": { - "line": 533, + "line": 711, "column": 34 } } }, "range": [ - 17815, - 17833 + 20689, + 20707 ], "loc": { "start": { - "line": 533, + "line": 711, "column": 16 }, "end": { - "line": 533, + "line": 711, "column": 34 } } @@ -44443,16 +44408,16 @@ "type": "Identifier", "name": "hide", "range": [ - 17836, - 17840 + 20710, + 20714 ], "loc": { "start": { - "line": 533, + "line": 711, "column": 37 }, "end": { - "line": 533, + "line": 711, "column": 41 } } @@ -44462,16 +44427,16 @@ "value": "none", "raw": "'none'", "range": [ - 17843, - 17849 + 20717, + 20723 ], "loc": { "start": { - "line": 533, + "line": 711, "column": 44 }, "end": { - "line": 533, + "line": 711, "column": 50 } } @@ -44481,140 +44446,140 @@ "value": "", "raw": "''", "range": [ - 17852, - 17854 + 20726, + 20728 ], "loc": { "start": { - "line": 533, + "line": 711, "column": 53 }, "end": { - "line": 533, + "line": 711, "column": 55 } } }, "range": [ - 17836, - 17854 + 20710, + 20728 ], "loc": { "start": { - "line": 533, + "line": 711, "column": 37 }, "end": { - "line": 533, + "line": 711, "column": 55 } } }, "range": [ - 17815, - 17854 + 20689, + 20728 ], "loc": { "start": { - "line": 533, + "line": 711, "column": 16 }, "end": { - "line": 533, + "line": 711, "column": 55 } } }, "range": [ - 17815, - 17855 + 20689, + 20729 ], "loc": { "start": { - "line": 533, + "line": 711, "column": 16 }, "end": { - "line": 533, + "line": 711, "column": 56 } } } ], "range": [ - 17797, - 17869 + 20671, + 20743 ], "loc": { "start": { - "line": 532, + "line": 710, "column": 22 }, "end": { - "line": 534, + "line": 712, "column": 13 } } }, "alternate": null, "range": [ - 17787, - 17869 + 20661, + 20743 ], "loc": { "start": { - "line": 532, + "line": 710, "column": 12 }, "end": { - "line": 534, + "line": 712, "column": 13 } } } ], "range": [ - 17694, - 17879 + 20568, + 20753 ], "loc": { "start": { - "line": 529, + "line": 707, "column": 50 }, "end": { - "line": 535, + "line": 713, "column": 9 } } }, "range": [ - 17652, - 17879 + 20526, + 20753 ], "loc": { "start": { - "line": 529, + "line": 707, "column": 8 }, "end": { - "line": 535, + "line": 713, "column": 9 } } } ], "range": [ - 17642, - 17885 + 20516, + 20759 ], "loc": { "start": { - "line": 528, + "line": 706, "column": 36 }, "end": { - "line": 536, + "line": 714, "column": 5 } } @@ -44622,16 +44587,16 @@ "generator": false, "expression": false, "range": [ - 17620, - 17885 + 20494, + 20759 ], "loc": { "start": { - "line": 528, + "line": 706, "column": 14 }, "end": { - "line": 536, + "line": 714, "column": 5 } } @@ -44639,16 +44604,16 @@ "kind": "method", "computed": false, "range": [ - 17610, - 17885 + 20484, + 20759 ], "loc": { "start": { - "line": 528, + "line": 706, "column": 4 }, "end": { - "line": 536, + "line": 714, "column": 5 } }, @@ -44660,16 +44625,16 @@ "type": "Identifier", "name": "_hideAtStart", "range": [ - 17891, - 17903 + 20765, + 20777 ], "loc": { "start": { - "line": 538, + "line": 716, "column": 4 }, "end": { - "line": 538, + "line": 716, "column": 16 } } @@ -44681,133 +44646,6 @@ "body": { "type": "BlockStatement", "body": [ - { - "type": "IfStatement", - "test": { - "type": "UnaryExpression", - "operator": "!", - "argument": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 17921, - 17925 - ], - "loc": { - "start": { - "line": 539, - "column": 13 - }, - "end": { - "line": 539, - "column": 17 - } - } - }, - "property": { - "type": "Identifier", - "name": "atStart", - "range": [ - 17926, - 17933 - ], - "loc": { - "start": { - "line": 539, - "column": 18 - }, - "end": { - "line": 539, - "column": 25 - } - } - }, - "range": [ - 17921, - 17933 - ], - "loc": { - "start": { - "line": 539, - "column": 13 - }, - "end": { - "line": 539, - "column": 25 - } - } - }, - "prefix": true, - "range": [ - 17920, - 17933 - ], - "loc": { - "start": { - "line": 539, - "column": 12 - }, - "end": { - "line": 539, - "column": 25 - } - } - }, - "consequent": { - "type": "BlockStatement", - "body": [ - { - "type": "ReturnStatement", - "argument": null, - "range": [ - 17949, - 17956 - ], - "loc": { - "start": { - "line": 540, - "column": 12 - }, - "end": { - "line": 540, - "column": 19 - } - } - } - ], - "range": [ - 17935, - 17966 - ], - "loc": { - "start": { - "line": 539, - "column": 27 - }, - "end": { - "line": 541, - "column": 9 - } - } - }, - "alternate": null, - "range": [ - 17916, - 17966 - ], - "loc": { - "start": { - "line": 539, - "column": 8 - }, - "end": { - "line": 541, - "column": 9 - } - } - }, { "type": "ExpressionStatement", "expression": { @@ -44821,16 +44659,16 @@ "object": { "type": "ThisExpression", "range": [ - 17975, - 17979 + 20790, + 20794 ], "loc": { "start": { - "line": 542, + "line": 717, "column": 8 }, "end": { - "line": 542, + "line": 717, "column": 12 } } @@ -44839,31 +44677,31 @@ "type": "Identifier", "name": "atStart", "range": [ - 17980, - 17987 + 20795, + 20802 ], "loc": { "start": { - "line": 542, + "line": 717, "column": 13 }, "end": { - "line": 542, + "line": 717, "column": 20 } } }, "range": [ - 17975, - 17987 + 20790, + 20802 ], "loc": { "start": { - "line": 542, + "line": 717, "column": 8 }, "end": { - "line": 542, + "line": 717, "column": 20 } } @@ -44872,31 +44710,31 @@ "type": "Identifier", "name": "forEach", "range": [ - 17988, - 17995 + 20803, + 20810 ], "loc": { "start": { - "line": 542, + "line": 717, "column": 21 }, "end": { - "line": 542, + "line": 717, "column": 28 } } }, "range": [ - 17975, - 17995 + 20790, + 20810 ], "loc": { "start": { - "line": 542, + "line": 717, "column": 8 }, "end": { - "line": 542, + "line": 717, "column": 28 } } @@ -44910,16 +44748,16 @@ "type": "Identifier", "name": "colIdx", "range": [ - 17997, - 18003 + 20812, + 20818 ], "loc": { "start": { - "line": 542, + "line": 717, "column": 30 }, "end": { - "line": 542, + "line": 717, "column": 36 } } @@ -44938,16 +44776,16 @@ "object": { "type": "ThisExpression", "range": [ - 18022, - 18026 + 20837, + 20841 ], "loc": { "start": { - "line": 543, + "line": 718, "column": 12 }, "end": { - "line": 543, + "line": 718, "column": 16 } } @@ -44956,31 +44794,31 @@ "type": "Identifier", "name": "hideCol", "range": [ - 18027, - 18034 + 20842, + 20849 ], "loc": { "start": { - "line": 543, + "line": 718, "column": 17 }, "end": { - "line": 543, + "line": 718, "column": 24 } } }, "range": [ - 18022, - 18034 + 20837, + 20849 ], "loc": { "start": { - "line": 543, + "line": 718, "column": 12 }, "end": { - "line": 543, + "line": 718, "column": 24 } } @@ -44990,63 +44828,63 @@ "type": "Identifier", "name": "colIdx", "range": [ - 18035, - 18041 + 20850, + 20856 ], "loc": { "start": { - "line": 543, + "line": 718, "column": 25 }, "end": { - "line": 543, + "line": 718, "column": 31 } } } ], "range": [ - 18022, - 18042 + 20837, + 20857 ], "loc": { "start": { - "line": 543, + "line": 718, "column": 12 }, "end": { - "line": 543, + "line": 718, "column": 32 } } }, "range": [ - 18022, - 18043 + 20837, + 20858 ], "loc": { "start": { - "line": 543, + "line": 718, "column": 12 }, "end": { - "line": 543, + "line": 718, "column": 33 } } } ], "range": [ - 18008, - 18053 + 20823, + 20868 ], "loc": { "start": { - "line": 542, + "line": 717, "column": 41 }, "end": { - "line": 544, + "line": 719, "column": 9 } } @@ -45054,63 +44892,63 @@ "generator": false, "expression": false, "range": [ - 17996, - 18053 + 20811, + 20868 ], "loc": { "start": { - "line": 542, + "line": 717, "column": 29 }, "end": { - "line": 544, + "line": 719, "column": 9 } } } ], "range": [ - 17975, - 18054 + 20790, + 20869 ], "loc": { "start": { - "line": 542, + "line": 717, "column": 8 }, "end": { - "line": 544, + "line": 719, "column": 10 } } }, "range": [ - 17975, - 18055 + 20790, + 20870 ], "loc": { "start": { - "line": 542, + "line": 717, "column": 8 }, "end": { - "line": 544, + "line": 719, "column": 11 } } } ], "range": [ - 17906, - 18061 + 20780, + 20876 ], "loc": { "start": { - "line": 538, + "line": 716, "column": 19 }, "end": { - "line": 545, + "line": 720, "column": 5 } } @@ -45118,16 +44956,16 @@ "generator": false, "expression": false, "range": [ - 17903, - 18061 + 20777, + 20876 ], "loc": { "start": { - "line": 538, + "line": 716, "column": 16 }, "end": { - "line": 545, + "line": 720, "column": 5 } } @@ -45135,16 +44973,16 @@ "kind": "method", "computed": false, "range": [ - 17891, - 18061 + 20765, + 20876 ], "loc": { "start": { - "line": 538, + "line": 716, "column": 4 }, "end": { - "line": 545, + "line": 720, "column": 5 } }, @@ -45152,57 +44990,96 @@ } ], "range": [ - 290, - 18063 + 325, + 20878 ], "loc": { "start": { - "line": 9, + "line": 12, "column": 52 }, "end": { - "line": 546, + "line": 721, "column": 1 } } }, "range": [ - 253, - 18063 + 288, + 20878 ], "loc": { "start": { - "line": 9, + "line": 12, "column": 15 }, "end": { - "line": 546, + "line": 721, "column": 1 } }, - "leadingComments": [], + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Columns Visibility extension\n ", + "range": [ + 233, + 272 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], "trailingComments": [] }, "range": [ - 238, - 18063 + 273, + 20878 ], "loc": { "start": { - "line": 9, + "line": 12, "column": 0 }, "end": { - "line": 546, + "line": 721, "column": 1 } - } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Columns Visibility extension\n ", + "range": [ + 233, + 272 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ] } ], "sourceType": "module", "range": [ 0, - 18063 + 20878 ], "loc": { "start": { @@ -45210,25 +45087,43 @@ "column": 0 }, "end": { - "line": 546, + "line": 721, "column": 1 } }, "comments": [ { "type": "Block", - "value": "*\n * Columns Visibility extension\n * @param {Object} tf TableFilter instance\n * @param {Object} f Extension's configuration\n ", + "value": "*\n * Columns Visibility extension\n ", "range": [ - 297, - 442 + 233, + 272 ], "loc": { "start": { + "line": 9, + "column": 0 + }, + "end": { "line": 11, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of ColsVisibility\n *\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} Configuration object\n ", + "range": [ + 332, + 491 + ], + "loc": { + "start": { + "line": 14, "column": 4 }, "end": { - "line": 15, + "line": 19, "column": 7 } } @@ -45237,26 +45132,26 @@ "type": "Line", "value": " Configuration object", "range": [ - 504, - 527 + 553, + 576 ], "loc": { "start": { - "line": 19, + "line": 23, "column": 8 }, "end": { - "line": 19, + "line": 23, "column": 31 } } }, { - "type": "Line", - "value": "show/hide cols span element", + "type": "Block", + "value": "*\n * Module name\n * @type {String}\n ", "range": [ - 698, - 727 + 617, + 681 ], "loc": { "start": { @@ -45264,305 +45159,107 @@ "column": 8 }, "end": { - "line": 26, - "column": 37 + "line": 29, + "column": 11 } } }, { - "type": "Line", - "value": "show/hide cols button element", + "type": "Block", + "value": "*\n * Module description\n * @type {String}\n ", "range": [ - 764, - 795 + 719, + 790 ], "loc": { "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 39 - } - } - }, - { - "type": "Line", - "value": "show/hide cols container div element", - "range": [ - 831, - 869 - ], - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 46 - } - } - }, - { - "type": "Line", - "value": "tick to hide or show column", - "range": [ - 907, - 936 - ], - "loc": { - "start": { - "line": 33, - "column": 8 - }, - "end": { - "line": 33, - "column": 37 - } - } - }, - { - "type": "Line", - "value": "enables/disables cols manager generation", - "range": [ - 1012, - 1054 - ], - "loc": { - "start": { - "line": 35, + "line": 32, "column": 8 }, "end": { "line": 35, - "column": 50 + "column": 11 } } }, { - "type": "Line", - "value": "only if external headers", + "type": "Block", + "value": "*\n * show/hide columns container element\n * @private\n ", "range": [ - 1122, - 1148 + 867, + 949 ], "loc": { "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 34 - } - } - }, - { - "type": "Line", - "value": "only if external headers", - "range": [ - 1209, - 1235 - ], - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 34 - } - } - }, - { - "type": "Line", - "value": "id of container element", - "range": [ - 1294, - 1319 - ], - "loc": { - "start": { - "line": 41, + "line": 38, "column": 8 }, "end": { "line": 41, - "column": 33 + "column": 11 } } }, { - "type": "Line", - "value": "alternative headers text", + "type": "Block", + "value": "*\n * show/hide columns button element\n * @private\n ", "range": [ - 1386, - 1412 + 987, + 1066 ], "loc": { "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 34 - } - } - }, - { - "type": "Line", - "value": "id of button container element", - "range": [ - 1472, - 1504 - ], - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 40 - } - } - }, - { - "type": "Line", - "value": "defines show/hide cols text", - "range": [ - 1562, - 1591 - ], - "loc": { - "start": { - "line": 47, + "line": 44, "column": 8 }, "end": { "line": 47, - "column": 37 + "column": 11 } } }, { - "type": "Line", - "value": "defines show/hide cols button innerHtml", + "type": "Block", + "value": "*\n * show/hide columns main container element\n * @private\n ", "range": [ - 1655, - 1696 + 1103, + 1190 ], "loc": { "start": { - "line": 49, - "column": 8 - }, - "end": { - "line": 49, - "column": 49 - } - } - }, - { - "type": "Line", - "value": "defines css class for show/hide cols button", - "range": [ - 1748, - 1793 - ], - "loc": { - "start": { - "line": 51, - "column": 8 - }, - "end": { - "line": 51, - "column": 53 - } - } - }, - { - "type": "Line", - "value": "defines close link text", - "range": [ - 1858, - 1883 - ], - "loc": { - "start": { - "line": 53, + "line": 50, "column": 8 }, "end": { "line": 53, - "column": 33 + "column": 11 } } }, { - "type": "Line", - "value": "defines close button innerHtml", + "type": "Block", + "value": "*\n * Enable tick to hide a column, defaults to true\n * @type {Boolean}\n ", "range": [ - 1949, - 1981 + 1228, + 1328 ], "loc": { "start": { - "line": 55, + "line": 56, "column": 8 }, "end": { - "line": 55, - "column": 40 + "line": 59, + "column": 11 } } }, { - "type": "Line", - "value": "defines css class for close button", + "type": "Block", + "value": "*\n * Enable columns manager UI, defaults to true\n * @type {Boolean}\n ", "range": [ - 2044, - 2080 - ], - "loc": { - "start": { - "line": 57, - "column": 8 - }, - "end": { - "line": 57, - "column": 44 - } - } - }, - { - "type": "Line", - "value": "span containing show/hide cols button", - "range": [ - 2228, - 2267 - ], - "loc": { - "start": { - "line": 60, - "column": 8 - }, - "end": { - "line": 60, - "column": 47 - } - } - }, - { - "type": "Line", - "value": "defines css class span containing show/hide cols", - "range": [ - 2307, - 2357 + 1405, + 1502 ], "loc": { "start": { @@ -45570,197 +45267,89 @@ "column": 8 }, "end": { - "line": 62, - "column": 58 - } - } - }, - { - "type": "Line", - "value": "defines css class div containing show/hide cols", - "range": [ - 2473, - 2522 - ], - "loc": { - "start": { "line": 65, - "column": 8 - }, - "end": { - "line": 65, - "column": 57 + "column": 11 } } }, { - "type": "Line", - "value": "defines css class for cols list (ul)", + "type": "Block", + "value": "*\n * Headers HTML table reference only if headers are external\n * @type {DOMElement}\n ", "range": [ - 2593, - 2631 + 1571, + 1685 ], "loc": { "start": { - "line": 67, + "line": 68, "column": 8 }, "end": { - "line": 67, - "column": 46 + "line": 71, + "column": 11 } } }, { - "type": "Line", - "value": "defines css class for list item (li)", + "type": "Block", + "value": "*\n * Headers row index only if headers are external\n * @type {Number}\n ", "range": [ - 2708, - 2746 + 1746, + 1845 ], "loc": { "start": { - "line": 69, + "line": 74, "column": 8 }, "end": { - "line": 69, - "column": 46 + "line": 77, + "column": 11 } } }, { - "type": "Line", - "value": "defines css class for selected list item (li)", + "type": "Block", + "value": "*\n * ID of main container element\n * @type {String}\n ", "range": [ - 2854, - 2901 + 1905, + 1986 ], "loc": { "start": { - "line": 72, + "line": 80, "column": 8 }, "end": { - "line": 72, - "column": 55 + "line": 83, + "column": 11 } } }, { - "type": "Line", - "value": "text preceding columns list", + "type": "Block", + "value": "*\n * Alternative text for column headers in column manager UI\n * @type {Array}\n ", "range": [ - 3025, - 3054 + 2054, + 2162 ], "loc": { "start": { - "line": 75, + "line": 86, "column": 8 }, "end": { - "line": 75, - "column": 37 + "line": 89, + "column": 11 } } }, { - "type": "Line", - "value": "enables select all option", + "type": "Block", + "value": "*\n * ID of button's container element\n * @type {String}\n ", "range": [ - 3229, - 3256 - ], - "loc": { - "start": { - "line": 79, - "column": 8 - }, - "end": { - "line": 79, - "column": 35 - } - } - }, - { - "type": "Line", - "value": "text preceding columns list", - "range": [ - 3322, - 3351 - ], - "loc": { - "start": { - "line": 81, - "column": 8 - }, - "end": { - "line": 81, - "column": 37 - } - } - }, - { - "type": "Line", - "value": "array containing hidden columns indexes", - "range": [ - 3422, - 3463 - ], - "loc": { - "start": { - "line": 84, - "column": 8 - }, - "end": { - "line": 84, - "column": 49 - } - } - }, - { - "type": "Line", - "value": "callback invoked just after cols manager is loaded", - "range": [ - 3562, - 3614 - ], - "loc": { - "start": { - "line": 88, - "column": 8 - }, - "end": { - "line": 88, - "column": 60 - } - } - }, - { - "type": "Line", - "value": "calls function before cols manager is opened", - "range": [ - 3687, - 3733 - ], - "loc": { - "start": { - "line": 90, - "column": 8 - }, - "end": { - "line": 90, - "column": 54 - } - } - }, - { - "type": "Line", - "value": "calls function after cols manager is opened", - "range": [ - 3820, - 3865 + 2223, + 2308 ], "loc": { "start": { @@ -45768,134 +45357,548 @@ "column": 8 }, "end": { - "line": 92, - "column": 53 + "line": 95, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Button's text, defaults to Columns▼\n * @type {String}\n ", + "range": [ + 2367, + 2461 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 101, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Button's inner HTML\n * @type {String}\n ", + "range": [ + 2526, + 2598 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 107, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for button\n * @type {String}\n ", + "range": [ + 2651, + 2724 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 113, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Columns manager UI close link text, defaults to 'Close'\n * @type {String}\n ", + "range": [ + 2790, + 2898 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 119, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Columns manager UI close link HTML\n * @type {String}\n ", + "range": [ + 2965, + 3052 + ], + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 125, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css for columns manager UI close link\n * @type {String}\n ", + "range": [ + 3116, + 3206 + ], + "loc": { + "start": { + "line": 128, + "column": 8 + }, + "end": { + "line": 131, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Extension's stylesheet filename\n * @type {String}\n ", + "range": [ + 3291, + 3375 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 137, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Extension's prefix\n * @private\n ", + "range": [ + 3449, + 3514 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 143, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css for columns manager UI span\n * @type {String}\n ", + "range": [ + 3555, + 3639 + ], + "loc": { + "start": { + "line": 146, + "column": 8 + }, + "end": { + "line": 149, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Main container prefix\n * @private\n ", + "range": [ + 3711, + 3779 + ], + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 155, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css for columns manager UI main container\n * @type {String}\n ", + "range": [ + 3834, + 3928 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 161, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css for columns manager UI checklist (ul)\n * @type {String}\n ", + "range": [ + 4000, + 4094 + ], + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 167, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css for columns manager UI checklist item (li)\n * @type {String}\n ", + "range": [ + 4172, + 4271 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 173, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css for columns manager UI checklist item selected state (li)\n * @type {String}\n ", + "range": [ + 4380, + 4494 + ], + "loc": { + "start": { + "line": 177, + "column": 8 + }, + "end": { + "line": 180, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Text preceding the columns list, defaults to 'Hide' or 'Show'\n * depending on tick mode (tick_to_hide option)\n * @type {String}\n ", + "range": [ + 4619, + 4789 + ], + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 188, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of columns indexes to be hidden at initialization\n * @type {Array}\n ", + "range": [ + 4870, + 4976 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 194, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable hover behaviour on columns manager button/link\n * @type {Boolean}\n ", + "range": [ + 5027, + 5134 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 200, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable select all option, disabled by default\n * @type {Boolean}\n ", + "range": [ + 5196, + 5295 + ], + "loc": { + "start": { + "line": 203, + "column": 8 + }, + "end": { + "line": 206, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Text for select all option, defaults to 'Select all:'\n * @type {String}\n ", + "range": [ + 5362, + 5468 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 212, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of indexes of hidden columns\n * @private\n ", + "range": [ + 5539, + 5619 + ], + "loc": { + "start": { + "line": 215, + "column": 8 + }, + "end": { + "line": 218, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired when the extension is initialized\n * @type {Function}\n ", + "range": [ + 5659, + 5762 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 224, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before the columns manager is opened\n * @type {Function}\n ", + "range": [ + 5836, + 5942 + ], + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 230, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after the columns manager is opened\n * @type {Function}\n ", + "range": [ + 6030, + 6135 + ], + "loc": { + "start": { + "line": 233, + "column": 8 + }, + "end": { + "line": 236, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before the columns manager is closed\n * @type {Function}\n ", + "range": [ + 6220, + 6326 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 242, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after the columns manager is closed\n * @type {Function}\n ", + "range": [ + 6417, + 6522 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 248, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before a column is hidden\n * @type {Function}\n ", + "range": [ + 6610, + 6705 + ], + "loc": { + "start": { + "line": 251, + "column": 8 + }, + "end": { + "line": 254, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after a column is hidden\n * @type {Function}\n ", + "range": [ + 6822, + 6916 + ], + "loc": { + "start": { + "line": 258, + "column": 8 + }, + "end": { + "line": 261, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before a column is displayed\n * @type {Function}\n ", + "range": [ + 7030, + 7128 + ], + "loc": { + "start": { + "line": 265, + "column": 8 + }, + "end": { + "line": 268, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after a column is displayed\n * @type {Function}\n ", + "range": [ + 7254, + 7351 + ], + "loc": { + "start": { + "line": 272, + "column": 8 + }, + "end": { + "line": 275, + "column": 11 } } }, { "type": "Line", - "value": "calls function before cols manager is closed", + "value": "Grid layout support", "range": [ - 3949, - 3995 + 7474, + 7495 ], "loc": { "start": { - "line": 94, + "line": 279, "column": 8 }, "end": { - "line": 94, - "column": 54 - } - } - }, - { - "type": "Line", - "value": "calls function after cols manager is closed", - "range": [ - 4085, - 4130 - ], - "loc": { - "start": { - "line": 96, - "column": 8 - }, - "end": { - "line": 96, - "column": 53 - } - } - }, - { - "type": "Line", - "value": "callback before col is hidden", - "range": [ - 4218, - 4249 - ], - "loc": { - "start": { - "line": 99, - "column": 8 - }, - "end": { - "line": 99, - "column": 39 - } - } - }, - { - "type": "Line", - "value": "callback after col is hidden", - "range": [ - 4365, - 4395 - ], - "loc": { - "start": { - "line": 102, - "column": 8 - }, - "end": { - "line": 102, - "column": 38 - } - } - }, - { - "type": "Line", - "value": "callback before col is displayed", - "range": [ - 4508, - 4542 - ], - "loc": { - "start": { - "line": 105, - "column": 8 - }, - "end": { - "line": 105, - "column": 42 - } - } - }, - { - "type": "Line", - "value": "callback after col is displayed", - "range": [ - 4667, - 4700 - ], - "loc": { - "start": { - "line": 108, - "column": 8 - }, - "end": { - "line": 108, - "column": 41 - } - } - }, - { - "type": "Line", - "value": "Grid layout compatibility", - "range": [ - 4823, - 4850 - ], - "loc": { - "start": { - "line": 112, - "column": 8 - }, - "end": { - "line": 112, - "column": 35 + "line": 279, + "column": 29 } } }, @@ -45903,16 +45906,16 @@ "type": "Line", "value": "headers table", "range": [ - 4944, - 4959 + 7589, + 7604 ], "loc": { "start": { - "line": 114, + "line": 281, "column": 64 }, "end": { - "line": 114, + "line": 281, "column": 79 } } @@ -45921,16 +45924,16 @@ "type": "Line", "value": "headers index", "range": [ - 4995, - 5010 + 7640, + 7655 ], "loc": { "start": { - "line": 115, + "line": 282, "column": 35 }, "end": { - "line": 115, + "line": 282, "column": 50 } } @@ -45939,35 +45942,107 @@ "type": "Line", "value": "Loads extension stylesheet", "range": [ - 5139, - 5167 + 7784, + 7812 ], "loc": { "start": { - "line": 120, + "line": 287, "column": 8 }, "end": { - "line": 120, + "line": 287, "column": 36 } } }, { - "type": "Line", - "value": " Hide columns at start at very end of initialization", + "type": "Block", + "value": "*\n * Toggle columns manager UI\n ", "range": [ - 7085, - 7139 + 7943, + 7987 ], "loc": { "start": { - "line": 188, + "line": 294, + "column": 4 + }, + "end": { + "line": 296, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Check an item in columns manager UI\n * @private\n ", + "range": [ + 8784, + 8854 + ], + "loc": { + "start": { + "line": 322, + "column": 4 + }, + "end": { + "line": 325, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Initializes ColsVisibility instance\n ", + "range": [ + 9495, + 9549 + ], + "loc": { + "start": { + "line": 348, + "column": 4 + }, + "end": { + "line": 350, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Hide columns at start at very end of initialization, do not move", + "range": [ + 9913, + 9980 + ], + "loc": { + "start": { + "line": 365, "column": 8 }, "end": { - "line": 188, - "column": 62 + "line": 365, + "column": 75 + } + } + }, + { + "type": "Line", + "value": " as order is important", + "range": [ + 9989, + 10013 + ], + "loc": { + "start": { + "line": 366, + "column": 8 + }, + "end": { + "line": 366, + "column": 32 } } }, @@ -45975,16 +46050,16 @@ "type": "Block", "value": "*\n * Build main button UI\n ", "range": [ - 7180, - 7219 + 10054, + 10093 ], "loc": { "start": { - "line": 192, + "line": 370, "column": 4 }, "end": { - "line": 194, + "line": 372, "column": 7 } } @@ -45993,16 +46068,16 @@ "type": "Line", "value": "Container element (rdiv or custom element)", "range": [ - 7437, - 7481 + 10311, + 10355 ], "loc": { "start": { - "line": 203, + "line": 381, "column": 8 }, "end": { - "line": 203, + "line": 381, "column": 52 } } @@ -46011,16 +46086,16 @@ "type": "Line", "value": "Custom html", "range": [ - 8311, - 8324 + 11185, + 11198 ], "loc": { "start": { - "line": 228, + "line": 406, "column": 17 }, "end": { - "line": 228, + "line": 406, "column": 30 } } @@ -46029,16 +46104,16 @@ "type": "Block", "value": "*\n * Build columns manager UI\n ", "range": [ - 8807, - 8850 + 11681, + 11724 ], "loc": { "start": { - "line": 246, + "line": 424, "column": 4 }, "end": { - "line": 248, + "line": 426, "column": 7 } } @@ -46047,16 +46122,16 @@ "type": "Line", "value": "Extension description", "range": [ - 9098, - 9121 + 11972, + 11995 ], "loc": { "start": { - "line": 257, + "line": 435, "column": 8 }, "end": { - "line": 257, + "line": 435, "column": 31 } } @@ -46065,16 +46140,16 @@ "type": "Line", "value": "Headers list", "range": [ - 9263, - 9277 + 12137, + 12151 ], "loc": { "start": { - "line": 262, + "line": 440, "column": 8 }, "end": { - "line": 262, + "line": 440, "column": 22 } } @@ -46083,16 +46158,16 @@ "type": "Line", "value": "Tick all option", "range": [ - 9614, - 9631 + 12488, + 12505 ], "loc": { "start": { - "line": 271, + "line": 449, "column": 8 }, "end": { - "line": 271, + "line": 449, "column": 25 } } @@ -46101,16 +46176,16 @@ "type": "Line", "value": "separator", "range": [ - 11143, - 11154 + 14017, + 14028 ], "loc": { "start": { - "line": 312, + "line": 490, "column": 8 }, "end": { - "line": 312, + "line": 490, "column": 19 } } @@ -46119,34 +46194,34 @@ "type": "Line", "value": "Close link", "range": [ - 11233, - 11245 + 14107, + 14119 ], "loc": { "start": { - "line": 315, + "line": 493, "column": 8 }, "end": { - "line": 315, + "line": 493, "column": 20 } } }, { "type": "Block", - "value": "*\n * Hide or show specified columns\n * @param {Numner} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n ", + "value": "*\n * Hide or show specified columns\n * @param {Number} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n ", "range": [ - 11878, - 12041 + 14752, + 14915 ], "loc": { "start": { - "line": 335, + "line": 513, "column": 4 }, "end": { - "line": 339, + "line": 517, "column": 7 } } @@ -46155,16 +46230,16 @@ "type": "Line", "value": "This event is fired just after a column is displayed for", "range": [ - 12971, - 13029 + 15845, + 15903 ], "loc": { "start": { - "line": 372, + "line": 550, "column": 12 }, "end": { - "line": 372, + "line": 550, "column": 70 } } @@ -46173,16 +46248,16 @@ "type": "Line", "value": "grid_layout support", "range": [ - 13042, - 13063 + 15916, + 15937 ], "loc": { "start": { - "line": 373, + "line": 551, "column": 12 }, "end": { - "line": 373, + "line": 551, "column": 33 } } @@ -46191,16 +46266,16 @@ "type": "Line", "value": "TODO: grid layout module should be responsible for those", "range": [ - 13076, - 13134 + 15950, + 16008 ], "loc": { "start": { - "line": 374, + "line": 552, "column": 12 }, "end": { - "line": 374, + "line": 552, "column": 70 } } @@ -46209,16 +46284,16 @@ "type": "Line", "value": "calculations", "range": [ - 13147, - 13161 + 16021, + 16035 ], "loc": { "start": { - "line": 375, + "line": 553, "column": 12 }, "end": { - "line": 375, + "line": 553, "column": 26 } } @@ -46227,16 +46302,16 @@ "type": "Line", "value": "This event is fired just after a column is displayed for", "range": [ - 13921, - 13979 + 16795, + 16853 ], "loc": { "start": { - "line": 395, + "line": 573, "column": 12 }, "end": { - "line": 395, + "line": 573, "column": 70 } } @@ -46245,16 +46320,16 @@ "type": "Line", "value": "grid_layout support", "range": [ - 13992, - 14013 + 16866, + 16887 ], "loc": { "start": { - "line": 396, + "line": 574, "column": 12 }, "end": { - "line": 396, + "line": 574, "column": 33 } } @@ -46263,16 +46338,16 @@ "type": "Line", "value": "TODO: grid layout module should be responsible for those", "range": [ - 14026, - 14084 + 16900, + 16958 ], "loc": { "start": { - "line": 397, + "line": 575, "column": 12 }, "end": { - "line": 397, + "line": 575, "column": 70 } } @@ -46281,16 +46356,16 @@ "type": "Line", "value": "calculations", "range": [ - 14097, - 14111 + 16971, + 16985 ], "loc": { "start": { - "line": 398, + "line": 576, "column": 12 }, "end": { - "line": 398, + "line": 576, "column": 26 } } @@ -46299,16 +46374,16 @@ "type": "Block", "value": "*\n * Show specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 14803, - 14889 + 17677, + 17763 ], "loc": { "start": { - "line": 416, + "line": 594, "column": 4 }, "end": { - "line": 419, + "line": 597, "column": 7 } } @@ -46317,16 +46392,16 @@ "type": "Block", "value": "*\n * Hide specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 15270, - 15356 + 18144, + 18230 ], "loc": { "start": { - "line": 434, + "line": 612, "column": 4 }, "end": { - "line": 437, + "line": 615, "column": 7 } } @@ -46335,16 +46410,16 @@ "type": "Block", "value": "*\n * Determine if specified column is hidden\n * @param {Number} colIndex Column index\n ", "range": [ - 15735, - 15839 + 18609, + 18713 ], "loc": { "start": { - "line": 452, + "line": 630, "column": 4 }, "end": { - "line": 455, + "line": 633, "column": 7 } } @@ -46353,16 +46428,16 @@ "type": "Block", "value": "*\n * Toggle visibility of specified column\n * @param {Number} colIndex Column index\n ", "range": [ - 15992, - 16094 + 18866, + 18968 ], "loc": { "start": { - "line": 463, + "line": 641, "column": 4 }, "end": { - "line": 466, + "line": 644, "column": 7 } } @@ -46371,16 +46446,16 @@ "type": "Block", "value": "*\n * Return the indexes of the columns currently hidden\n * @return {Array} column indexes\n ", "range": [ - 16299, - 16406 + 19173, + 19280 ], "loc": { "start": { - "line": 475, + "line": 653, "column": 4 }, "end": { - "line": 478, + "line": 656, "column": 7 } } @@ -46389,16 +46464,16 @@ "type": "Block", "value": "*\n * Remove the columns manager\n ", "range": [ - 16472, - 16517 + 19346, + 19391 ], "loc": { "start": { - "line": 483, + "line": 661, "column": 4 }, "end": { - "line": 485, + "line": 663, "column": 7 } } diff --git a/docs/ast/source/modules/clearButton.js.json b/docs/ast/source/modules/clearButton.js.json index 5621eb59..e14b8f10 100644 --- a/docs/ast/source/modules/clearButton.js.json +++ b/docs/ast/source/modules/clearButton.js.json @@ -4204,7 +4204,7 @@ "type": "VariableDeclarator", "id": { "type": "Identifier", - "name": "fltreset", + "name": "fltReset", "range": [ 2291, 2299 @@ -4375,7 +4375,7 @@ "computed": false, "object": { "type": "Identifier", - "name": "fltreset", + "name": "fltReset", "range": [ 2363, 2371 @@ -4516,7 +4516,7 @@ "computed": false, "object": { "type": "Identifier", - "name": "fltreset", + "name": "fltReset", "range": [ 2411, 2419 @@ -4748,7 +4748,7 @@ "arguments": [ { "type": "Identifier", - "name": "fltreset", + "name": "fltReset", "range": [ 2490, 2498 @@ -4820,7 +4820,7 @@ "arguments": [ { "type": "Identifier", - "name": "fltreset", + "name": "fltReset", "range": [ 2520, 2528 diff --git a/docs/badge.svg b/docs/badge.svg index b6d1874c..91f82c4c 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -5,13 +5,13 @@ - - + + document document - 84% - 84% + 91% + 91% diff --git a/docs/class/src/emitter.js~Emitter.html b/docs/class/src/emitter.js~Emitter.html index 8550a2e5..4a347533 100644 --- a/docs/class/src/emitter.js~Emitter.html +++ b/docs/class/src/emitter.js~Emitter.html @@ -3,7 +3,7 @@ - Emitter | tablefilter v0.2.61 API Document + Emitter | tablefilter v0.2.62 API Document diff --git a/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html b/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html index 68f9af8b..57563299 100644 --- a/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html +++ b/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html @@ -3,7 +3,7 @@ - AdapterEzEditTable | tablefilter v0.2.61 API Document + AdapterEzEditTable | tablefilter v0.2.62 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 4d4a137c..3ac5cfe0 100644 --- a/docs/class/src/extensions/colOps/colOps.js~ColOps.html +++ b/docs/class/src/extensions/colOps/colOps.js~ColOps.html @@ -3,7 +3,7 @@ - ColOps | tablefilter v0.2.61 API Document + ColOps | tablefilter v0.2.62 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 83e41bb4..e11d6ca9 100644 --- a/docs/class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html +++ b/docs/class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html @@ -3,7 +3,7 @@ - ColsVisibility | tablefilter v0.2.61 API Document + ColsVisibility | tablefilter v0.2.62 API Document @@ -115,13 +115,13 @@
- + public class - | source + | source
@@ -141,7 +141,8 @@ - +

Columns Visibility extension

+
@@ -169,13 +170,13 @@

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

-

Columns Visibility extension

+

Creates an instance of ColsVisibility

@@ -202,13 +203,14 @@
- +

List of columns indexes to be hidden at initialization

+
@@ -227,13 +229,14 @@
- +

Css for columns manager UI close link

+
@@ -252,13 +255,14 @@
- +

Columns manager UI close link HTML

+
@@ -277,13 +281,14 @@
- +

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

+
@@ -302,13 +307,14 @@
- +

Css class for button

+
@@ -327,13 +333,14 @@

- btnEl: * + btnHtml: String

- +

Button's inner HTML

+
@@ -352,13 +359,14 @@
- +

Button's text, defaults to Columns▼

+
@@ -377,13 +385,14 @@
- +

ID of button's container element

+
@@ -402,13 +411,14 @@
- +

Css for columns manager UI main container

+
@@ -427,13 +437,14 @@
- +

ID of main container element

+
@@ -452,13 +463,14 @@

- contEl: * + desc: String

- +

Module description

+
@@ -477,13 +489,14 @@
- +

Enable hover behaviour on columns manager button/link

+
@@ -502,13 +515,14 @@
- +

Enable select all option, disabled by default

+
@@ -527,13 +541,14 @@
- +

Headers row index only if headers are external

+
@@ -552,13 +567,14 @@

- enableTickAll: * + headersTbl: DOMElement

- +

Headers HTML table reference only if headers are external

+
@@ -577,88 +593,14 @@
- -
- - - - - - - - - public - - - - - - -
-

- headersTbl: * -

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

- headersText: * -

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

- hiddenCols: * -

-
-
- - - +

Alternative text for column headers in column manager UI

+
@@ -702,13 +644,14 @@
- +

Css for columns manager UI checklist (ul)

+
@@ -727,13 +670,14 @@
- +

Css for columns manager UI checklist item (li)

+
@@ -752,13 +696,14 @@
- +

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

+
@@ -777,13 +722,14 @@
- +

Enable columns manager UI, defaults to true

+
@@ -802,13 +748,14 @@

- name: * + name: String

- +

Module name

+
@@ -827,13 +774,14 @@
- +

Callback fired after the columns manager is closed

+
@@ -852,13 +800,14 @@
- +

Callback fired after a column is displayed

+
@@ -877,13 +826,14 @@
- +

Callback fired after a column is hidden

+
@@ -902,13 +852,14 @@
- +

Callback fired after the columns manager is opened

+
@@ -927,13 +878,14 @@
- +

Callback fired before the columns manager is closed

+
@@ -952,13 +904,14 @@
- +

Callback fired before a column is displayed

+
@@ -977,13 +930,14 @@
- +

Callback fired before a column is hidden

+
@@ -1002,13 +956,14 @@
- +

Callback fired before the columns manager is opened

+
@@ -1027,13 +982,14 @@
- +

Callback fired when the extension is initialized

+
@@ -1052,13 +1008,14 @@
- +

Css for columns manager UI span

+
@@ -1077,13 +1034,14 @@
- +

Extension's stylesheet filename

+
@@ -1102,13 +1060,15 @@
- +

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

+
@@ -1127,13 +1087,14 @@
- +

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

+
@@ -1152,113 +1113,14 @@
- -
- - - - - - - - - public - - - - - - -
-

- tblHasColTag: * -

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

- text: * -

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

- tickAllText: * -

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

- tickToHide: * -

-
-
- - - +

Enable tick to hide a column, defaults to true

+
@@ -1331,31 +1193,6 @@ - - - -
-

- checkItem(lbl: *) -

-
-
- - - -
- - - - - - - - - public - - - @@ -1445,7 +1282,8 @@
- +

Initializes ColsVisibility instance

+
@@ -1490,7 +1328,7 @@

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

@@ -1548,7 +1386,8 @@
- +

Toggle columns manager UI

+
@@ -1917,18 +1756,18 @@ - constructor(tf: Object, f: Object) + constructor(tf: TableFilter, Configuration: Object) - source + source -

Columns Visibility extension

+

Creates an instance of ColsVisibility

@@ -1943,16 +1782,16 @@ tf - Object + TableFilter

TableFilter instance

- f + Configuration Object -

Extension's configuration

+

object

@@ -1985,18 +1824,19 @@ - atStart: * + atStart: Array - source + source - +

List of columns indexes to be hidden at initialization

+
@@ -2025,18 +1865,19 @@ - btnCloseCssClass: * + btnCloseCssClass: String - source + source - +

Css for columns manager UI close link

+
@@ -2065,18 +1906,19 @@ - btnCloseHtml: * + btnCloseHtml: String - source + source - +

Columns manager UI close link HTML

+
@@ -2105,18 +1947,19 @@ - btnCloseText: * + btnCloseText: String - source + source - +

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

+
@@ -2145,61 +1988,22 @@ - btnCssClass: * + btnCssClass: String - source + source - - - - -
+

Css class for button

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

- public - - - - - btnEl: * - - - - source - -

- - - - - - - -
@@ -2225,18 +2029,19 @@ - btnHtml: * + btnHtml: String - source + source - +

Button's inner HTML

+
@@ -2265,18 +2070,19 @@ - btnText: * + btnText: String - source + source - +

Button's text, defaults to Columns▼

+
@@ -2305,18 +2111,19 @@ - btnTgtId: * + btnTgtId: String - source + source - +

ID of button's container element

+
@@ -2345,61 +2152,22 @@ - contCssClass: * + contCssClass: String - source + source - - - - -
+

Css for columns manager UI main container

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

- public - - - - - contEl: * - - - - source - -

- - - - - - - -
@@ -2425,18 +2193,19 @@ - contElTgtId: * + contElTgtId: String - source + source - +

ID of main container element

+
@@ -2465,18 +2234,19 @@ - desc: * + desc: String - source + source - +

Module description

+
@@ -2505,18 +2275,19 @@ - enableHover: * + enableHover: Boolean - source + source - +

Enable hover behaviour on columns manager button/link

+
@@ -2545,18 +2316,19 @@ - enableTickAll: * + enableTickAll: Boolean - source + source - +

Enable select all option, disabled by default

+
@@ -2585,18 +2357,19 @@ - headersIndex: * + headersIndex: Number - source + source - +

Headers row index only if headers are external

+
@@ -2625,18 +2398,19 @@ - headersTbl: * + headersTbl: DOMElement - source + source - +

Headers HTML table reference only if headers are external

+
@@ -2665,61 +2439,22 @@ - headersText: * + headersText: Array - source + source - - - - -
+

Alternative text for column headers in column manager UI

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

- public - - - - - hiddenCols: * - - - - source - -

- - - - - - - -
@@ -2749,7 +2484,7 @@ - source + source @@ -2785,18 +2520,19 @@ - listCssClass: * + listCssClass: String - source + source - +

Css for columns manager UI checklist (ul)

+
@@ -2825,18 +2561,19 @@ - listItemCssClass: * + listItemCssClass: String - source + source - +

Css for columns manager UI checklist item (li)

+
@@ -2865,18 +2602,19 @@ - listSlcItemCssClass: * + listSlcItemCssClass: String - source + source - +

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

+
@@ -2905,18 +2643,19 @@ - manager: * + manager: Boolean - source + source - +

Enable columns manager UI, defaults to true

+
@@ -2945,18 +2684,19 @@ - name: * + name: String - source + source - +

Module name

+
@@ -2985,18 +2725,19 @@ - onAfterClose: * + onAfterClose: Function - source + source - +

Callback fired after the columns manager is closed

+
@@ -3025,18 +2766,19 @@ - onAfterColDisplayed: * + onAfterColDisplayed: Function - source + source - +

Callback fired after a column is displayed

+
@@ -3065,18 +2807,19 @@ - onAfterColHidden: * + onAfterColHidden: Function - source + source - +

Callback fired after a column is hidden

+
@@ -3105,18 +2848,19 @@ - onAfterOpen: * + onAfterOpen: Function - source + source - +

Callback fired after the columns manager is opened

+
@@ -3145,18 +2889,19 @@ - onBeforeClose: * + onBeforeClose: Function - source + source - +

Callback fired before the columns manager is closed

+
@@ -3185,18 +2930,19 @@ - onBeforeColDisplayed: * + onBeforeColDisplayed: Function - source + source - +

Callback fired before a column is displayed

+
@@ -3225,18 +2971,19 @@ - onBeforeColHidden: * + onBeforeColHidden: Function - source + source - +

Callback fired before a column is hidden

+
@@ -3265,18 +3012,19 @@ - onBeforeOpen: * + onBeforeOpen: Function - source + source - +

Callback fired before the columns manager is opened

+
@@ -3305,101 +3053,22 @@ - onLoaded: * + onLoaded: Function - source + source - - - - -
+

Callback fired when the extension is initialized

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

- public - - - - - prfx: string - - - - source - -

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

- public - - - - - prfxCont: * - - - - source - -

- - - - - - - -
@@ -3425,61 +3094,22 @@ - spanCssClass: * + spanCssClass: String - source + source - - - - -
+

Css for columns manager UI span

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

- public - - - - - spanEl: * - - - - source - -

- - - - - - - -
@@ -3505,61 +3135,22 @@ - stylesheet: * + stylesheet: String - source + source - - - - -
+

Extension's stylesheet filename

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

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

- - - - - - - -
@@ -3585,18 +3176,20 @@ - text: * + text: String - source + source - +

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

+
@@ -3625,18 +3218,19 @@ - tickAllText: * + tickAllText: String - source + source - +

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

+
@@ -3665,18 +3259,19 @@ - tickToHide: * + tickToHide: Boolean - source + source - +

Enable tick to hide a column, defaults to true

+
@@ -3712,7 +3307,7 @@ - source + source @@ -3753,7 +3348,7 @@ - source + source @@ -3782,62 +3377,6 @@ -
-
-

- public - - - - - checkItem(lbl: *) - - - - source - -

- - - - - - - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
lbl*
-
-
- - - - - - - - - - - - - - -

@@ -3850,7 +3389,7 @@ - source + source

@@ -3891,7 +3430,7 @@ - source + source @@ -3943,7 +3482,7 @@ - source + source @@ -4001,14 +3540,15 @@ - source + source - +

Initializes ColsVisibility instance

+

Override:

Feature#init
@@ -4041,7 +3581,7 @@ - source + source @@ -4105,11 +3645,11 @@ - setHidden(colIndex: Numner, hide: Boolean) + setHidden(colIndex: Number, hide: Boolean) - source + source @@ -4131,7 +3671,7 @@ colIndex - Numner + Number

Column index

@@ -4174,7 +3714,7 @@ - source + source @@ -4232,14 +3772,15 @@ - source + source - +

Toggle columns manager UI

+
@@ -4272,7 +3813,7 @@ - source + source diff --git a/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html b/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html index 08314b52..9610b2b4 100644 --- a/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html +++ b/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html @@ -3,7 +3,7 @@ - FiltersVisibility | tablefilter v0.2.61 API Document + FiltersVisibility | tablefilter v0.2.62 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 77ae1d20..bdc9fda1 100644 --- a/docs/class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html +++ b/docs/class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html @@ -3,7 +3,7 @@ - AdapterSortableTable | tablefilter v0.2.61 API Document + AdapterSortableTable | tablefilter v0.2.62 API Document diff --git a/docs/class/src/feature.js~Feature.html b/docs/class/src/feature.js~Feature.html index 45e1e72e..cc4832ac 100644 --- a/docs/class/src/feature.js~Feature.html +++ b/docs/class/src/feature.js~Feature.html @@ -3,7 +3,7 @@ - Feature | tablefilter v0.2.61 API Document + Feature | tablefilter v0.2.62 API Document diff --git a/docs/class/src/modules/alternateRows.js~AlternateRows.html b/docs/class/src/modules/alternateRows.js~AlternateRows.html index 77d49a9f..803c577e 100644 --- a/docs/class/src/modules/alternateRows.js~AlternateRows.html +++ b/docs/class/src/modules/alternateRows.js~AlternateRows.html @@ -3,7 +3,7 @@ - AlternateRows | tablefilter v0.2.61 API Document + AlternateRows | tablefilter v0.2.62 API Document diff --git a/docs/class/src/modules/checkList.js~CheckList.html b/docs/class/src/modules/checkList.js~CheckList.html index ca09e42c..813e78f5 100644 --- a/docs/class/src/modules/checkList.js~CheckList.html +++ b/docs/class/src/modules/checkList.js~CheckList.html @@ -3,7 +3,7 @@ - CheckList | tablefilter v0.2.61 API Document + CheckList | tablefilter v0.2.62 API Document diff --git a/docs/class/src/modules/clearButton.js~ClearButton.html b/docs/class/src/modules/clearButton.js~ClearButton.html index 26e74347..28616d11 100644 --- a/docs/class/src/modules/clearButton.js~ClearButton.html +++ b/docs/class/src/modules/clearButton.js~ClearButton.html @@ -3,7 +3,7 @@ - ClearButton | tablefilter v0.2.61 API Document + ClearButton | tablefilter v0.2.62 API Document diff --git a/docs/class/src/modules/dropdown.js~Dropdown.html b/docs/class/src/modules/dropdown.js~Dropdown.html index ddb06364..d72dbe48 100644 --- a/docs/class/src/modules/dropdown.js~Dropdown.html +++ b/docs/class/src/modules/dropdown.js~Dropdown.html @@ -3,7 +3,7 @@ - Dropdown | tablefilter v0.2.61 API Document + Dropdown | tablefilter v0.2.62 API Document diff --git a/docs/class/src/modules/gridLayout.js~GridLayout.html b/docs/class/src/modules/gridLayout.js~GridLayout.html index 7373b189..227e4ac9 100644 --- a/docs/class/src/modules/gridLayout.js~GridLayout.html +++ b/docs/class/src/modules/gridLayout.js~GridLayout.html @@ -3,7 +3,7 @@ - GridLayout | tablefilter v0.2.61 API Document + GridLayout | tablefilter v0.2.62 API Document diff --git a/docs/class/src/modules/hash.js~Hash.html b/docs/class/src/modules/hash.js~Hash.html index b8e27717..5d78e935 100644 --- a/docs/class/src/modules/hash.js~Hash.html +++ b/docs/class/src/modules/hash.js~Hash.html @@ -3,7 +3,7 @@ - Hash | tablefilter v0.2.61 API Document + Hash | tablefilter v0.2.62 API Document diff --git a/docs/class/src/modules/help.js~Help.html b/docs/class/src/modules/help.js~Help.html index b1cc973f..5861905e 100644 --- a/docs/class/src/modules/help.js~Help.html +++ b/docs/class/src/modules/help.js~Help.html @@ -3,7 +3,7 @@ - Help | tablefilter v0.2.61 API Document + Help | tablefilter v0.2.62 API Document diff --git a/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html b/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html index c9f30a91..6dd91bf6 100644 --- a/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html +++ b/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html @@ -3,7 +3,7 @@ - HighlightKeyword | tablefilter v0.2.61 API Document + HighlightKeyword | tablefilter v0.2.62 API Document diff --git a/docs/class/src/modules/loader.js~Loader.html b/docs/class/src/modules/loader.js~Loader.html index 8c32e252..68d75c57 100644 --- a/docs/class/src/modules/loader.js~Loader.html +++ b/docs/class/src/modules/loader.js~Loader.html @@ -3,7 +3,7 @@ - Loader | tablefilter v0.2.61 API Document + Loader | tablefilter v0.2.62 API Document diff --git a/docs/class/src/modules/noResults.js~NoResults.html b/docs/class/src/modules/noResults.js~NoResults.html index 542fae2b..5d6d7a7a 100644 --- a/docs/class/src/modules/noResults.js~NoResults.html +++ b/docs/class/src/modules/noResults.js~NoResults.html @@ -3,7 +3,7 @@ - NoResults | tablefilter v0.2.61 API Document + NoResults | tablefilter v0.2.62 API Document diff --git a/docs/class/src/modules/paging.js~Paging.html b/docs/class/src/modules/paging.js~Paging.html index 9c2f789e..a4184e5f 100644 --- a/docs/class/src/modules/paging.js~Paging.html +++ b/docs/class/src/modules/paging.js~Paging.html @@ -3,7 +3,7 @@ - Paging | tablefilter v0.2.61 API Document + Paging | tablefilter v0.2.62 API Document diff --git a/docs/class/src/modules/popupFilter.js~PopupFilter.html b/docs/class/src/modules/popupFilter.js~PopupFilter.html index 2c6fd585..8b68f215 100644 --- a/docs/class/src/modules/popupFilter.js~PopupFilter.html +++ b/docs/class/src/modules/popupFilter.js~PopupFilter.html @@ -3,7 +3,7 @@ - PopupFilter | tablefilter v0.2.61 API Document + PopupFilter | tablefilter v0.2.62 API Document diff --git a/docs/class/src/modules/rowsCounter.js~RowsCounter.html b/docs/class/src/modules/rowsCounter.js~RowsCounter.html index ea9b71cc..6099350c 100644 --- a/docs/class/src/modules/rowsCounter.js~RowsCounter.html +++ b/docs/class/src/modules/rowsCounter.js~RowsCounter.html @@ -3,7 +3,7 @@ - RowsCounter | tablefilter v0.2.61 API Document + RowsCounter | tablefilter v0.2.62 API Document diff --git a/docs/class/src/modules/state.js~State.html b/docs/class/src/modules/state.js~State.html index 98501f22..516bc29e 100644 --- a/docs/class/src/modules/state.js~State.html +++ b/docs/class/src/modules/state.js~State.html @@ -3,7 +3,7 @@ - State | tablefilter v0.2.61 API Document + State | tablefilter v0.2.62 API Document diff --git a/docs/class/src/modules/statusBar.js~StatusBar.html b/docs/class/src/modules/statusBar.js~StatusBar.html index 6174e54f..8087bc3d 100644 --- a/docs/class/src/modules/statusBar.js~StatusBar.html +++ b/docs/class/src/modules/statusBar.js~StatusBar.html @@ -3,7 +3,7 @@ - StatusBar | tablefilter v0.2.61 API Document + StatusBar | tablefilter v0.2.62 API Document diff --git a/docs/class/src/modules/storage.js~Storage.html b/docs/class/src/modules/storage.js~Storage.html index a083357a..7fda1b32 100644 --- a/docs/class/src/modules/storage.js~Storage.html +++ b/docs/class/src/modules/storage.js~Storage.html @@ -3,7 +3,7 @@ - Storage | tablefilter v0.2.61 API Document + Storage | tablefilter v0.2.62 API Document diff --git a/docs/class/src/tablefilter.js~TableFilter.html b/docs/class/src/tablefilter.js~TableFilter.html index 0e28118c..e2e484f5 100644 --- a/docs/class/src/tablefilter.js~TableFilter.html +++ b/docs/class/src/tablefilter.js~TableFilter.html @@ -3,7 +3,7 @@ - TableFilter | tablefilter v0.2.61 API Document + TableFilter | tablefilter v0.2.62 API Document diff --git a/docs/coverage.json b/docs/coverage.json index 3e86368e..8c4ac26f 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,7 +1,7 @@ { - "coverage": "84.48%", - "expectCount": 651, - "actualCount": 550, + "coverage": "91.44%", + "expectCount": 643, + "actualCount": 588, "files": { "src/const.js": { "expectCount": 13, @@ -63,56 +63,10 @@ "undocumentLines": [] }, "src/extensions/colsVisibility/colsVisibility.js": { - "expectCount": 57, - "actualCount": 10, + "expectCount": 49, + "actualCount": 48, "undocumentLines": [ - 9, - 77, - 58, - 56, - 54, - 52, - 29, - 50, - 48, - 46, - 152, - 66, - 31, - 42, - 24, - 78, - 80, - 40, - 38, - 44, - 85, - 174, - 22, - 68, - 70, - 73, - 36, - 23, - 97, - 109, - 103, - 93, - 95, - 106, - 100, - 91, - 89, - 61, - 64, - 63, - 27, - 59, - 86, - 76, - 82, - 34, - 127 + 362 ] }, "src/modules/dropdown.js": { diff --git a/docs/dump.json b/docs/dump.json index 83730078..c098279f 100644 --- a/docs/dump.json +++ b/docs/dump.json @@ -2288,7 +2288,7 @@ "access": null, "description": null, "lineNumber": 1, - "content": "import {Feature} from '../../feature';\nimport {\n addClass, removeClass, createCheckItem, createElm, elm, removeElm,\n getText, tag\n} from '../../dom';\nimport {isFn} from '../../types';\nimport {addEvt, targetEvt} from '../../event';\n\nexport default class ColsVisibility extends Feature {\n\n /**\n * Columns Visibility extension\n * @param {Object} tf TableFilter instance\n * @param {Object} f Extension's configuration\n */\n constructor(tf, f) {\n super(tf, f.name);\n\n // Configuration object\n let cfg = tf.config();\n\n this.initialized = false;\n this.name = f.name;\n this.desc = f.description || 'Columns visibility manager';\n\n //show/hide cols span element\n this.spanEl = null;\n //show/hide cols button element\n this.btnEl = null;\n //show/hide cols container div element\n this.contEl = null;\n\n //tick to hide or show column\n this.tickToHide = f.tick_to_hide === false ? false : true;\n //enables/disables cols manager generation\n this.manager = f.manager === false ? false : true;\n //only if external headers\n this.headersTbl = f.headers_table || false;\n //only if external headers\n this.headersIndex = f.headers_index || 1;\n //id of container element\n this.contElTgtId = f.container_target_id || null;\n //alternative headers text\n this.headersText = f.headers_text || null;\n //id of button container element\n this.btnTgtId = f.btn_target_id || null;\n //defines show/hide cols text\n this.btnText = f.btn_text || 'Columns▼';\n //defines show/hide cols button innerHtml\n this.btnHtml = f.btn_html || null;\n //defines css class for show/hide cols button\n this.btnCssClass = f.btn_css_class || 'colVis';\n //defines close link text\n this.btnCloseText = f.btn_close_text || 'Close';\n //defines close button innerHtml\n this.btnCloseHtml = f.btn_close_html || null;\n //defines css class for close button\n this.btnCloseCssClass = f.btn_close_css_class || this.btnCssClass;\n this.stylesheet = f.stylesheet || 'colsVisibility.css';\n //span containing show/hide cols button\n this.prfx = 'colVis_';\n //defines css class span containing show/hide cols\n this.spanCssClass = f.span_css_class || 'colVisSpan';\n this.prfxCont = this.prfx + 'Cont_';\n //defines css class div containing show/hide cols\n this.contCssClass = f.cont_css_class || 'colVisCont';\n //defines css class for cols list (ul)\n this.listCssClass = cfg.list_css_class || 'cols_checklist';\n //defines css class for list item (li)\n this.listItemCssClass = cfg.checklist_item_css_class ||\n 'cols_checklist_item';\n //defines css class for selected list item (li)\n this.listSlcItemCssClass = cfg.checklist_selected_item_css_class ||\n 'cols_checklist_slc_item';\n //text preceding columns list\n this.text = f.text || (this.tickToHide ? 'Hide: ' : 'Show: ');\n this.atStart = f.at_start || null;\n this.enableHover = Boolean(f.enable_hover);\n //enables select all option\n this.enableTickAll = Boolean(f.enable_tick_all);\n //text preceding columns list\n this.tickAllText = f.tick_all_text || 'Select all:';\n\n //array containing hidden columns indexes\n this.hiddenCols = [];\n this.tblHasColTag = tag(tf.tbl, 'col').length > 0;\n\n //callback invoked just after cols manager is loaded\n this.onLoaded = isFn(f.on_loaded) ? f.on_loaded : null;\n //calls function before cols manager is opened\n this.onBeforeOpen = isFn(f.on_before_open) ? f.on_before_open : null;\n //calls function after cols manager is opened\n this.onAfterOpen = isFn(f.on_after_open) ? f.on_after_open : null;\n //calls function before cols manager is closed\n this.onBeforeClose = isFn(f.on_before_close) ? f.on_before_close : null;\n //calls function after cols manager is closed\n this.onAfterClose = isFn(f.on_after_close) ? f.on_after_close : null;\n\n //callback before col is hidden\n this.onBeforeColHidden = isFn(f.on_before_col_hidden) ?\n f.on_before_col_hidden : null;\n //callback after col is hidden\n this.onAfterColHidden = isFn(f.on_after_col_hidden) ?\n f.on_after_col_hidden : null;\n //callback before col is displayed\n this.onBeforeColDisplayed = isFn(f.on_before_col_displayed) ?\n f.on_before_col_displayed : null;\n //callback after col is displayed\n this.onAfterColDisplayed = isFn(f.on_after_col_displayed) ?\n f.on_after_col_displayed : null;\n\n //Grid layout compatibility\n if (tf.gridLayout) {\n this.headersTbl = tf.feature('gridLayout').headTbl; //headers table\n this.headersIndex = 0; //headers index\n this.onAfterColDisplayed = function () { };\n this.onAfterColHidden = function () { };\n }\n\n //Loads extension stylesheet\n tf.import(f.name + 'Style', tf.stylePath + this.stylesheet, null,\n 'link');\n\n this.enable();\n }\n\n toggle() {\n let contDisplay = this.contEl.style.display;\n let onBeforeOpen = this.onBeforeOpen;\n let onBeforeClose = this.onBeforeClose;\n let onAfterOpen = this.onAfterOpen;\n let onAfterClose = this.onAfterClose;\n\n if (onBeforeOpen && contDisplay !== 'inline') {\n onBeforeOpen.call(null, this);\n }\n if (onBeforeClose && contDisplay === 'inline') {\n onBeforeClose.call(null, this);\n }\n\n this.contEl.style.display = contDisplay === 'inline' ?\n 'none' : 'inline';\n\n if (onAfterOpen && contDisplay !== 'inline') {\n onAfterOpen.call(null, this);\n }\n if (onAfterClose && contDisplay === 'inline') {\n onAfterClose.call(null, this);\n }\n }\n\n checkItem(lbl) {\n let li = lbl.parentNode;\n if (!li || !lbl) {\n return;\n }\n let isChecked = lbl.firstChild.checked;\n let colIndex = lbl.firstChild.getAttribute('id').split('_')[1];\n colIndex = parseInt(colIndex, 10);\n if (isChecked) {\n addClass(li, this.listSlcItemCssClass);\n } else {\n removeClass(li, this.listSlcItemCssClass);\n }\n\n let hide = false;\n if ((this.tickToHide && isChecked) ||\n (!this.tickToHide && !isChecked)) {\n hide = true;\n }\n this.setHidden(colIndex, hide);\n }\n\n init() {\n if (this.initialized || !this.manager) {\n return;\n }\n\n this.emitter.on(['hide-column'],\n (tf, colIndex) => this.hideCol(colIndex));\n\n this.buildBtn();\n this.buildManager();\n\n this.initialized = true;\n this.emitter.emit('columns-visibility-initialized', this.tf, this);\n\n // Hide columns at start at very end of initialization\n this._hideAtStart();\n }\n\n /**\n * Build main button UI\n */\n buildBtn() {\n if (this.btnEl) {\n return;\n }\n let tf = this.tf;\n let span = createElm('span', ['id', this.prfx + tf.id]);\n span.className = this.spanCssClass;\n\n //Container element (rdiv or custom element)\n if (!this.btnTgtId) {\n tf.setToolbar();\n }\n let targetEl = !this.btnTgtId ? tf.rDiv : elm(this.btnTgtId);\n\n if (!this.btnTgtId) {\n let firstChild = targetEl.firstChild;\n firstChild.parentNode.insertBefore(span, firstChild);\n } else {\n targetEl.appendChild(span);\n }\n\n if (!this.btnHtml) {\n let btn = createElm('a', ['href', 'javascript:;']);\n btn.className = this.btnCssClass;\n btn.title = this.desc;\n\n btn.innerHTML = this.btnText;\n span.appendChild(btn);\n if (!this.enableHover) {\n addEvt(btn, 'click', (evt) => this.toggle(evt));\n } else {\n addEvt(btn, 'mouseover', (evt) => this.toggle(evt));\n }\n } else { //Custom html\n span.innerHTML = this.btnHtml;\n let colVisEl = span.firstChild;\n if (!this.enableHover) {\n addEvt(colVisEl, 'click', (evt) => this.toggle(evt));\n } else {\n addEvt(colVisEl, 'mouseover', (evt) => this.toggle(evt));\n }\n }\n\n this.spanEl = span;\n this.btnEl = this.spanEl.firstChild;\n\n if (this.onLoaded) {\n this.onLoaded.call(null, this);\n }\n }\n\n /**\n * Build columns manager UI\n */\n buildManager() {\n let tf = this.tf;\n\n let container = !this.contElTgtId ?\n createElm('div', ['id', this.prfxCont + tf.id]) :\n elm(this.contElTgtId);\n container.className = this.contCssClass;\n\n //Extension description\n let extNameLabel = createElm('p');\n extNameLabel.innerHTML = this.text;\n container.appendChild(extNameLabel);\n\n //Headers list\n let ul = createElm('ul', ['id', 'ul' + this.name + '_' + tf.id]);\n ul.className = this.listCssClass;\n\n let tbl = this.headersTbl ? this.headersTbl : tf.tbl;\n let headerIndex = this.headersTbl ?\n this.headersIndex : tf.getHeadersRowIndex();\n let headerRow = tbl.rows[headerIndex];\n\n //Tick all option\n if (this.enableTickAll) {\n let li = createCheckItem('col__' + tf.id, this.tickAllText,\n this.tickAllText);\n addClass(li, this.listItemCssClass);\n ul.appendChild(li);\n li.check.checked = !this.tickToHide;\n\n addEvt(li.check, 'click', () => {\n for (let h = 0; h < headerRow.cells.length; h++) {\n let itm = elm('col_' + h + '_' + tf.id);\n if (itm && li.check.checked !== itm.checked) {\n itm.click();\n itm.checked = li.check.checked;\n }\n }\n });\n }\n\n for (let i = 0; i < headerRow.cells.length; i++) {\n let cell = headerRow.cells[i];\n let cellText = this.headersText && this.headersText[i] ?\n this.headersText[i] : this._getHeaderText(cell);\n let liElm = createCheckItem('col_' + i + '_' + tf.id, cellText,\n cellText);\n addClass(liElm, this.listItemCssClass);\n if (!this.tickToHide) {\n addClass(liElm, this.listSlcItemCssClass);\n }\n ul.appendChild(liElm);\n if (!this.tickToHide) {\n liElm.check.checked = true;\n }\n\n addEvt(liElm.check, 'click', (evt) => {\n let elm = targetEvt(evt);\n let lbl = elm.parentNode;\n this.checkItem(lbl);\n });\n }\n\n //separator\n let p = createElm('p', ['align', 'center']);\n let btn;\n //Close link\n if (!this.btnCloseHtml) {\n btn = createElm('a', ['href', 'javascript:;']);\n btn.className = this.btnCloseCssClass;\n btn.innerHTML = this.btnCloseText;\n addEvt(btn, 'click', (evt) => this.toggle(evt));\n p.appendChild(btn);\n } else {\n p.innerHTML = this.btnCloseHtml;\n btn = p.firstChild;\n addEvt(btn, 'click', (evt) => this.toggle(evt));\n }\n\n container.appendChild(ul);\n container.appendChild(p);\n\n this.btnEl.parentNode.insertBefore(container, this.btnEl);\n this.contEl = container;\n }\n\n /**\n * Hide or show specified columns\n * @param {Numner} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n */\n setHidden(colIndex, hide) {\n let tf = this.tf;\n let tbl = tf.tbl;\n\n if (this.onBeforeColHidden && hide) {\n this.onBeforeColHidden.call(null, this, colIndex);\n }\n if (this.onBeforeColDisplayed && !hide) {\n this.onBeforeColDisplayed.call(null, this, colIndex);\n }\n\n this._hideCells(tbl, colIndex, hide);\n if (this.headersTbl) {\n this._hideCells(this.headersTbl, colIndex, hide);\n }\n\n let hiddenCols = this.hiddenCols;\n let itemIndex = hiddenCols.indexOf(colIndex);\n if (hide) {\n if (itemIndex === -1) {\n this.hiddenCols.push(colIndex);\n }\n } else {\n if (itemIndex !== -1) {\n this.hiddenCols.splice(itemIndex, 1);\n }\n }\n\n let gridLayout;\n let headTbl;\n let gridColElms;\n if (hide) {\n //This event is fired just after a column is displayed for\n //grid_layout support\n //TODO: grid layout module should be responsible for those\n //calculations\n if (tf.gridLayout) {\n gridLayout = tf.feature('gridLayout');\n headTbl = gridLayout.headTbl;\n gridColElms = gridLayout.colElms;\n let hiddenWidth = parseInt(\n gridColElms[colIndex].style.width, 10);\n\n let headTblW = parseInt(headTbl.style.width, 10);\n headTbl.style.width = headTblW - hiddenWidth + 'px';\n tbl.style.width = headTbl.style.width;\n }\n if (this.onAfterColHidden) {\n this.onAfterColHidden.call(null, this, colIndex);\n }\n this.emitter.emit('column-hidden', tf, this, colIndex,\n this.hiddenCols);\n }\n\n if (!hide) {\n //This event is fired just after a column is displayed for\n //grid_layout support\n //TODO: grid layout module should be responsible for those\n //calculations\n if (tf.gridLayout) {\n gridLayout = tf.feature('gridLayout');\n headTbl = gridLayout.headTbl;\n gridColElms = gridLayout.colElms;\n let width = parseInt(gridColElms[colIndex].style.width, 10);\n headTbl.style.width =\n (parseInt(headTbl.style.width, 10) + width) + 'px';\n tf.tbl.style.width = headTbl.style.width;\n }\n if (this.onAfterColDisplayed) {\n this.onAfterColDisplayed.call(null, this, colIndex);\n }\n this.emitter.emit('column-shown', tf, this, colIndex,\n this.hiddenCols);\n }\n }\n\n /**\n * Show specified column\n * @param {Number} colIndex Column index\n */\n showCol(colIndex) {\n if (colIndex === undefined || !this.isColHidden(colIndex)) {\n return;\n }\n if (this.manager && this.contEl) {\n let itm = elm('col_' + colIndex + '_' + this.tf.id);\n if (itm) {\n itm.click();\n }\n } else {\n this.setHidden(colIndex, false);\n }\n }\n\n /**\n * Hide specified column\n * @param {Number} colIndex Column index\n */\n hideCol(colIndex) {\n if (colIndex === undefined || this.isColHidden(colIndex)) {\n return;\n }\n if (this.manager && this.contEl) {\n let itm = elm('col_' + colIndex + '_' + this.tf.id);\n if (itm) {\n itm.click();\n }\n } else {\n this.setHidden(colIndex, true);\n }\n }\n\n /**\n * Determine if specified column is hidden\n * @param {Number} colIndex Column index\n */\n isColHidden(colIndex) {\n if (this.hiddenCols.indexOf(colIndex) !== -1) {\n return true;\n }\n return false;\n }\n\n /**\n * Toggle visibility of specified column\n * @param {Number} colIndex Column index\n */\n toggleCol(colIndex) {\n if (colIndex === undefined || this.isColHidden(colIndex)) {\n this.showCol(colIndex);\n } else {\n this.hideCol(colIndex);\n }\n }\n\n /**\n * Return the indexes of the columns currently hidden\n * @return {Array} column indexes\n */\n getHiddenCols() {\n return this.hiddenCols;\n }\n\n /**\n * Remove the columns manager\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n if (elm(this.contElTgtId)) {\n elm(this.contElTgtId).innerHTML = '';\n } else {\n this.contEl.innerHTML = '';\n removeElm(this.contEl);\n this.contEl = null;\n }\n this.btnEl.innerHTML = '';\n removeElm(this.btnEl);\n this.btnEl = null;\n\n this.emitter.off(['hide-column'],\n (tf, colIndex) => this.hideCol(colIndex));\n\n this.initialized = false;\n }\n\n _getHeaderText(cell) {\n if (!cell.hasChildNodes) {\n return '';\n }\n\n for (let i = 0; i < cell.childNodes.length; i++) {\n let n = cell.childNodes[i];\n if (n.nodeType === 3) {\n return n.nodeValue;\n } else if (n.nodeType === 1) {\n if (n.id && n.id.indexOf('popUp') !== -1) {\n continue;\n } else {\n return getText(n);\n }\n }\n continue;\n }\n return '';\n }\n\n _hideCells(tbl, colIndex, hide) {\n for (let i = 0; i < tbl.rows.length; i++) {\n let row = tbl.rows[i];\n let cell = row.cells[colIndex];\n if (cell) {\n cell.style.display = hide ? 'none' : '';\n }\n }\n }\n\n _hideAtStart() {\n if (!this.atStart) {\n return;\n }\n this.atStart.forEach((colIdx) => {\n this.hideCol(colIdx);\n });\n }\n}\n" + "content": "import {Feature} from '../../feature';\nimport {\n addClass, removeClass, createCheckItem, createElm, elm, removeElm,\n getText\n} from '../../dom';\nimport {isFn} from '../../types';\nimport {addEvt, targetEvt} from '../../event';\n\n/**\n * Columns Visibility extension\n */\nexport default class ColsVisibility extends Feature {\n\n /**\n * Creates an instance of ColsVisibility\n *\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} Configuration object\n */\n constructor(tf, f) {\n super(tf, f.name);\n\n // Configuration object\n let cfg = this.config;\n\n /**\n * Module name\n * @type {String}\n */\n this.name = f.name;\n\n /**\n * Module description\n * @type {String}\n */\n this.desc = f.description || 'Columns visibility manager';\n\n /**\n * show/hide columns container element\n * @private\n */\n this.spanEl = null;\n\n /**\n * show/hide columns button element\n * @private\n */\n this.btnEl = null;\n\n /**\n * show/hide columns main container element\n * @private\n */\n this.contEl = null;\n\n /**\n * Enable tick to hide a column, defaults to true\n * @type {Boolean}\n */\n this.tickToHide = f.tick_to_hide === false ? false : true;\n\n /**\n * Enable columns manager UI, defaults to true\n * @type {Boolean}\n */\n this.manager = f.manager === false ? false : true;\n\n /**\n * Headers HTML table reference only if headers are external\n * @type {DOMElement}\n */\n this.headersTbl = f.headers_table || null;\n\n /**\n * Headers row index only if headers are external\n * @type {Number}\n */\n this.headersIndex = f.headers_index || 1;\n\n /**\n * ID of main container element\n * @type {String}\n */\n this.contElTgtId = f.container_target_id || null;\n\n /**\n * Alternative text for column headers in column manager UI\n * @type {Array}\n */\n this.headersText = f.headers_text || null;\n\n /**\n * ID of button's container element\n * @type {String}\n */\n this.btnTgtId = f.btn_target_id || null;\n\n /**\n * Button's text, defaults to Columns▼\n * @type {String}\n */\n this.btnText = f.btn_text || 'Columns▼';\n\n /**\n * Button's inner HTML\n * @type {String}\n */\n this.btnHtml = f.btn_html || null;\n\n /**\n * Css class for button\n * @type {String}\n */\n this.btnCssClass = f.btn_css_class || 'colVis';\n\n /**\n * Columns manager UI close link text, defaults to 'Close'\n * @type {String}\n */\n this.btnCloseText = f.btn_close_text || 'Close';\n\n /**\n * Columns manager UI close link HTML\n * @type {String}\n */\n this.btnCloseHtml = f.btn_close_html || null;\n\n /**\n * Css for columns manager UI close link\n * @type {String}\n */\n this.btnCloseCssClass = f.btn_close_css_class || this.btnCssClass;\n\n /**\n * Extension's stylesheet filename\n * @type {String}\n */\n this.stylesheet = f.stylesheet || 'colsVisibility.css';\n\n /**\n * Extension's prefix\n * @private\n */\n this.prfx = 'colVis_';\n\n /**\n * Css for columns manager UI span\n * @type {String}\n */\n this.spanCssClass = f.span_css_class || 'colVisSpan';\n\n /**\n * Main container prefix\n * @private\n */\n this.prfxCont = this.prfx + 'Cont_';\n\n /**\n * Css for columns manager UI main container\n * @type {String}\n */\n this.contCssClass = f.cont_css_class || 'colVisCont';\n\n /**\n * Css for columns manager UI checklist (ul)\n * @type {String}\n */\n this.listCssClass = cfg.list_css_class || 'cols_checklist';\n\n /**\n * Css for columns manager UI checklist item (li)\n * @type {String}\n */\n this.listItemCssClass = cfg.checklist_item_css_class ||\n 'cols_checklist_item';\n\n /**\n * Css for columns manager UI checklist item selected state (li)\n * @type {String}\n */\n this.listSlcItemCssClass = cfg.checklist_selected_item_css_class ||\n 'cols_checklist_slc_item';\n\n /**\n * Text preceding the columns list, defaults to 'Hide' or 'Show'\n * depending on tick mode (tick_to_hide option)\n * @type {String}\n */\n this.text = f.text || (this.tickToHide ? 'Hide: ' : 'Show: ');\n\n /**\n * List of columns indexes to be hidden at initialization\n * @type {Array}\n */\n this.atStart = f.at_start || [];\n\n /**\n * Enable hover behaviour on columns manager button/link\n * @type {Boolean}\n */\n this.enableHover = Boolean(f.enable_hover);\n\n /**\n * Enable select all option, disabled by default\n * @type {Boolean}\n */\n this.enableTickAll = Boolean(f.enable_tick_all);\n\n /**\n * Text for select all option, defaults to 'Select all:'\n * @type {String}\n */\n this.tickAllText = f.tick_all_text || 'Select all:';\n\n /**\n * List of indexes of hidden columns\n * @private\n */\n this.hiddenCols = [];\n\n /**\n * Callback fired when the extension is initialized\n * @type {Function}\n */\n this.onLoaded = isFn(f.on_loaded) ? f.on_loaded : null;\n\n /**\n * Callback fired before the columns manager is opened\n * @type {Function}\n */\n this.onBeforeOpen = isFn(f.on_before_open) ? f.on_before_open : null;\n\n /**\n * Callback fired after the columns manager is opened\n * @type {Function}\n */\n this.onAfterOpen = isFn(f.on_after_open) ? f.on_after_open : null;\n\n /**\n * Callback fired before the columns manager is closed\n * @type {Function}\n */\n this.onBeforeClose = isFn(f.on_before_close) ? f.on_before_close : null;\n\n /**\n * Callback fired after the columns manager is closed\n * @type {Function}\n */\n this.onAfterClose = isFn(f.on_after_close) ? f.on_after_close : null;\n\n /**\n * Callback fired before a column is hidden\n * @type {Function}\n */\n this.onBeforeColHidden = isFn(f.on_before_col_hidden) ?\n f.on_before_col_hidden : null;\n\n /**\n * Callback fired after a column is hidden\n * @type {Function}\n */\n this.onAfterColHidden = isFn(f.on_after_col_hidden) ?\n f.on_after_col_hidden : null;\n\n /**\n * Callback fired before a column is displayed\n * @type {Function}\n */\n this.onBeforeColDisplayed = isFn(f.on_before_col_displayed) ?\n f.on_before_col_displayed : null;\n\n /**\n * Callback fired after a column is displayed\n * @type {Function}\n */\n this.onAfterColDisplayed = isFn(f.on_after_col_displayed) ?\n f.on_after_col_displayed : null;\n\n //Grid layout support\n if (tf.gridLayout) {\n this.headersTbl = tf.feature('gridLayout').headTbl; //headers table\n this.headersIndex = 0; //headers index\n this.onAfterColDisplayed = function () { };\n this.onAfterColHidden = function () { };\n }\n\n //Loads extension stylesheet\n tf.import(f.name + 'Style', tf.stylePath + this.stylesheet, null,\n 'link');\n\n this.enable();\n }\n\n /**\n * Toggle columns manager UI\n */\n toggle() {\n let contDisplay = this.contEl.style.display;\n let onBeforeOpen = this.onBeforeOpen;\n let onBeforeClose = this.onBeforeClose;\n let onAfterOpen = this.onAfterOpen;\n let onAfterClose = this.onAfterClose;\n\n if (onBeforeOpen && contDisplay !== 'inline') {\n onBeforeOpen.call(null, this);\n }\n if (onBeforeClose && contDisplay === 'inline') {\n onBeforeClose.call(null, this);\n }\n\n this.contEl.style.display = contDisplay === 'inline' ?\n 'none' : 'inline';\n\n if (onAfterOpen && contDisplay !== 'inline') {\n onAfterOpen.call(null, this);\n }\n if (onAfterClose && contDisplay === 'inline') {\n onAfterClose.call(null, this);\n }\n }\n\n /**\n * Check an item in columns manager UI\n * @private\n */\n checkItem(lbl) {\n let li = lbl.parentNode;\n if (!li || !lbl) {\n return;\n }\n let isChecked = lbl.firstChild.checked;\n let colIndex = lbl.firstChild.getAttribute('id').split('_')[1];\n colIndex = parseInt(colIndex, 10);\n if (isChecked) {\n addClass(li, this.listSlcItemCssClass);\n } else {\n removeClass(li, this.listSlcItemCssClass);\n }\n\n let hide = false;\n if ((this.tickToHide && isChecked) ||\n (!this.tickToHide && !isChecked)) {\n hide = true;\n }\n this.setHidden(colIndex, hide);\n }\n\n /**\n * Initializes ColsVisibility instance\n */\n init() {\n if (this.initialized || !this.manager) {\n return;\n }\n\n this.emitter.on(['hide-column'],\n (tf, colIndex) => this.hideCol(colIndex));\n\n this.buildBtn();\n this.buildManager();\n\n this.initialized = true;\n this.emitter.emit('columns-visibility-initialized', this.tf, this);\n\n // Hide columns at start at very end of initialization, do not move\n // as order is important\n this._hideAtStart();\n }\n\n /**\n * Build main button UI\n */\n buildBtn() {\n if (this.btnEl) {\n return;\n }\n let tf = this.tf;\n let span = createElm('span', ['id', this.prfx + tf.id]);\n span.className = this.spanCssClass;\n\n //Container element (rdiv or custom element)\n if (!this.btnTgtId) {\n tf.setToolbar();\n }\n let targetEl = !this.btnTgtId ? tf.rDiv : elm(this.btnTgtId);\n\n if (!this.btnTgtId) {\n let firstChild = targetEl.firstChild;\n firstChild.parentNode.insertBefore(span, firstChild);\n } else {\n targetEl.appendChild(span);\n }\n\n if (!this.btnHtml) {\n let btn = createElm('a', ['href', 'javascript:;']);\n btn.className = this.btnCssClass;\n btn.title = this.desc;\n\n btn.innerHTML = this.btnText;\n span.appendChild(btn);\n if (!this.enableHover) {\n addEvt(btn, 'click', (evt) => this.toggle(evt));\n } else {\n addEvt(btn, 'mouseover', (evt) => this.toggle(evt));\n }\n } else { //Custom html\n span.innerHTML = this.btnHtml;\n let colVisEl = span.firstChild;\n if (!this.enableHover) {\n addEvt(colVisEl, 'click', (evt) => this.toggle(evt));\n } else {\n addEvt(colVisEl, 'mouseover', (evt) => this.toggle(evt));\n }\n }\n\n this.spanEl = span;\n this.btnEl = this.spanEl.firstChild;\n\n if (this.onLoaded) {\n this.onLoaded.call(null, this);\n }\n }\n\n /**\n * Build columns manager UI\n */\n buildManager() {\n let tf = this.tf;\n\n let container = !this.contElTgtId ?\n createElm('div', ['id', this.prfxCont + tf.id]) :\n elm(this.contElTgtId);\n container.className = this.contCssClass;\n\n //Extension description\n let extNameLabel = createElm('p');\n extNameLabel.innerHTML = this.text;\n container.appendChild(extNameLabel);\n\n //Headers list\n let ul = createElm('ul', ['id', 'ul' + this.name + '_' + tf.id]);\n ul.className = this.listCssClass;\n\n let tbl = this.headersTbl ? this.headersTbl : tf.tbl;\n let headerIndex = this.headersTbl ?\n this.headersIndex : tf.getHeadersRowIndex();\n let headerRow = tbl.rows[headerIndex];\n\n //Tick all option\n if (this.enableTickAll) {\n let li = createCheckItem('col__' + tf.id, this.tickAllText,\n this.tickAllText);\n addClass(li, this.listItemCssClass);\n ul.appendChild(li);\n li.check.checked = !this.tickToHide;\n\n addEvt(li.check, 'click', () => {\n for (let h = 0; h < headerRow.cells.length; h++) {\n let itm = elm('col_' + h + '_' + tf.id);\n if (itm && li.check.checked !== itm.checked) {\n itm.click();\n itm.checked = li.check.checked;\n }\n }\n });\n }\n\n for (let i = 0; i < headerRow.cells.length; i++) {\n let cell = headerRow.cells[i];\n let cellText = this.headersText && this.headersText[i] ?\n this.headersText[i] : this._getHeaderText(cell);\n let liElm = createCheckItem('col_' + i + '_' + tf.id, cellText,\n cellText);\n addClass(liElm, this.listItemCssClass);\n if (!this.tickToHide) {\n addClass(liElm, this.listSlcItemCssClass);\n }\n ul.appendChild(liElm);\n if (!this.tickToHide) {\n liElm.check.checked = true;\n }\n\n addEvt(liElm.check, 'click', (evt) => {\n let elm = targetEvt(evt);\n let lbl = elm.parentNode;\n this.checkItem(lbl);\n });\n }\n\n //separator\n let p = createElm('p', ['align', 'center']);\n let btn;\n //Close link\n if (!this.btnCloseHtml) {\n btn = createElm('a', ['href', 'javascript:;']);\n btn.className = this.btnCloseCssClass;\n btn.innerHTML = this.btnCloseText;\n addEvt(btn, 'click', (evt) => this.toggle(evt));\n p.appendChild(btn);\n } else {\n p.innerHTML = this.btnCloseHtml;\n btn = p.firstChild;\n addEvt(btn, 'click', (evt) => this.toggle(evt));\n }\n\n container.appendChild(ul);\n container.appendChild(p);\n\n this.btnEl.parentNode.insertBefore(container, this.btnEl);\n this.contEl = container;\n }\n\n /**\n * Hide or show specified columns\n * @param {Number} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n */\n setHidden(colIndex, hide) {\n let tf = this.tf;\n let tbl = tf.tbl;\n\n if (this.onBeforeColHidden && hide) {\n this.onBeforeColHidden.call(null, this, colIndex);\n }\n if (this.onBeforeColDisplayed && !hide) {\n this.onBeforeColDisplayed.call(null, this, colIndex);\n }\n\n this._hideCells(tbl, colIndex, hide);\n if (this.headersTbl) {\n this._hideCells(this.headersTbl, colIndex, hide);\n }\n\n let hiddenCols = this.hiddenCols;\n let itemIndex = hiddenCols.indexOf(colIndex);\n if (hide) {\n if (itemIndex === -1) {\n this.hiddenCols.push(colIndex);\n }\n } else {\n if (itemIndex !== -1) {\n this.hiddenCols.splice(itemIndex, 1);\n }\n }\n\n let gridLayout;\n let headTbl;\n let gridColElms;\n if (hide) {\n //This event is fired just after a column is displayed for\n //grid_layout support\n //TODO: grid layout module should be responsible for those\n //calculations\n if (tf.gridLayout) {\n gridLayout = tf.feature('gridLayout');\n headTbl = gridLayout.headTbl;\n gridColElms = gridLayout.colElms;\n let hiddenWidth = parseInt(\n gridColElms[colIndex].style.width, 10);\n\n let headTblW = parseInt(headTbl.style.width, 10);\n headTbl.style.width = headTblW - hiddenWidth + 'px';\n tbl.style.width = headTbl.style.width;\n }\n if (this.onAfterColHidden) {\n this.onAfterColHidden.call(null, this, colIndex);\n }\n this.emitter.emit('column-hidden', tf, this, colIndex,\n this.hiddenCols);\n }\n\n if (!hide) {\n //This event is fired just after a column is displayed for\n //grid_layout support\n //TODO: grid layout module should be responsible for those\n //calculations\n if (tf.gridLayout) {\n gridLayout = tf.feature('gridLayout');\n headTbl = gridLayout.headTbl;\n gridColElms = gridLayout.colElms;\n let width = parseInt(gridColElms[colIndex].style.width, 10);\n headTbl.style.width =\n (parseInt(headTbl.style.width, 10) + width) + 'px';\n tf.tbl.style.width = headTbl.style.width;\n }\n if (this.onAfterColDisplayed) {\n this.onAfterColDisplayed.call(null, this, colIndex);\n }\n this.emitter.emit('column-shown', tf, this, colIndex,\n this.hiddenCols);\n }\n }\n\n /**\n * Show specified column\n * @param {Number} colIndex Column index\n */\n showCol(colIndex) {\n if (colIndex === undefined || !this.isColHidden(colIndex)) {\n return;\n }\n if (this.manager && this.contEl) {\n let itm = elm('col_' + colIndex + '_' + this.tf.id);\n if (itm) {\n itm.click();\n }\n } else {\n this.setHidden(colIndex, false);\n }\n }\n\n /**\n * Hide specified column\n * @param {Number} colIndex Column index\n */\n hideCol(colIndex) {\n if (colIndex === undefined || this.isColHidden(colIndex)) {\n return;\n }\n if (this.manager && this.contEl) {\n let itm = elm('col_' + colIndex + '_' + this.tf.id);\n if (itm) {\n itm.click();\n }\n } else {\n this.setHidden(colIndex, true);\n }\n }\n\n /**\n * Determine if specified column is hidden\n * @param {Number} colIndex Column index\n */\n isColHidden(colIndex) {\n if (this.hiddenCols.indexOf(colIndex) !== -1) {\n return true;\n }\n return false;\n }\n\n /**\n * Toggle visibility of specified column\n * @param {Number} colIndex Column index\n */\n toggleCol(colIndex) {\n if (colIndex === undefined || this.isColHidden(colIndex)) {\n this.showCol(colIndex);\n } else {\n this.hideCol(colIndex);\n }\n }\n\n /**\n * Return the indexes of the columns currently hidden\n * @return {Array} column indexes\n */\n getHiddenCols() {\n return this.hiddenCols;\n }\n\n /**\n * Remove the columns manager\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n if (elm(this.contElTgtId)) {\n elm(this.contElTgtId).innerHTML = '';\n } else {\n this.contEl.innerHTML = '';\n removeElm(this.contEl);\n this.contEl = null;\n }\n this.btnEl.innerHTML = '';\n removeElm(this.btnEl);\n this.btnEl = null;\n\n this.emitter.off(['hide-column'],\n (tf, colIndex) => this.hideCol(colIndex));\n\n this.initialized = false;\n }\n\n _getHeaderText(cell) {\n if (!cell.hasChildNodes) {\n return '';\n }\n\n for (let i = 0; i < cell.childNodes.length; i++) {\n let n = cell.childNodes[i];\n if (n.nodeType === 3) {\n return n.nodeValue;\n } else if (n.nodeType === 1) {\n if (n.id && n.id.indexOf('popUp') !== -1) {\n continue;\n } else {\n return getText(n);\n }\n }\n continue;\n }\n return '';\n }\n\n _hideCells(tbl, colIndex, hide) {\n for (let i = 0; i < tbl.rows.length; i++) {\n let row = tbl.rows[i];\n let cell = row.cells[colIndex];\n if (cell) {\n cell.style.display = hide ? 'none' : '';\n }\n }\n }\n\n _hideAtStart() {\n this.atStart.forEach((colIdx) => {\n this.hideCol(colIdx);\n });\n }\n}\n" }, { "__docId__": 87, @@ -2302,9 +2302,8 @@ "export": true, "importPath": "tablefilter/src/extensions/colsVisibility/colsVisibility.js", "importStyle": "ColsVisibility", - "description": null, - "lineNumber": 9, - "undocument": true, + "description": "Columns Visibility extension", + "lineNumber": 12, "interface": false, "extends": [ "src/feature.js~Feature" @@ -2319,13 +2318,13 @@ "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#constructor", "access": null, - "description": "Columns Visibility extension", - "lineNumber": 16, + "description": "Creates an instance of ColsVisibility", + "lineNumber": 20, "params": [ { "nullable": null, "types": [ - "Object" + "TableFilter" ], "spread": false, "optional": false, @@ -2339,8 +2338,8 @@ ], "spread": false, "optional": false, - "name": "f", - "description": "Extension's configuration" + "name": "Configuration", + "description": "object" } ], "generator": false @@ -2350,17 +2349,19 @@ "kind": "member", "static": false, "variation": null, - "name": "initialized", + "name": "name", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#initialized", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#name", "access": null, - "description": null, - "lineNumber": 22, - "undocument": true, + "description": "Module name", + "lineNumber": 30, "type": { + "nullable": null, "types": [ - "boolean" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2368,17 +2369,19 @@ "kind": "member", "static": false, "variation": null, - "name": "name", + "name": "desc", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#name", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#desc", "access": null, - "description": null, - "lineNumber": 23, - "undocument": true, + "description": "Module description", + "lineNumber": 36, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2386,13 +2389,12 @@ "kind": "member", "static": false, "variation": null, - "name": "desc", + "name": "spanEl", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#desc", - "access": null, - "description": null, - "lineNumber": 24, - "undocument": true, + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#spanEl", + "access": "private", + "description": "show/hide columns container element", + "lineNumber": 42, "type": { "types": [ "*" @@ -2404,13 +2406,12 @@ "kind": "member", "static": false, "variation": null, - "name": "spanEl", + "name": "btnEl", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#spanEl", - "access": null, - "description": null, - "lineNumber": 27, - "undocument": true, + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnEl", + "access": "private", + "description": "show/hide columns button element", + "lineNumber": 48, "type": { "types": [ "*" @@ -2422,13 +2423,12 @@ "kind": "member", "static": false, "variation": null, - "name": "btnEl", + "name": "contEl", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnEl", - "access": null, - "description": null, - "lineNumber": 29, - "undocument": true, + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contEl", + "access": "private", + "description": "show/hide columns main container element", + "lineNumber": 54, "type": { "types": [ "*" @@ -2440,17 +2440,19 @@ "kind": "member", "static": false, "variation": null, - "name": "contEl", + "name": "tickToHide", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contEl", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#tickToHide", "access": null, - "description": null, - "lineNumber": 31, - "undocument": true, + "description": "Enable tick to hide a column, defaults to true", + "lineNumber": 60, "type": { + "nullable": null, "types": [ - "*" - ] + "Boolean" + ], + "spread": false, + "description": null } }, { @@ -2458,17 +2460,19 @@ "kind": "member", "static": false, "variation": null, - "name": "tickToHide", + "name": "manager", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#tickToHide", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#manager", "access": null, - "description": null, - "lineNumber": 34, - "undocument": true, + "description": "Enable columns manager UI, defaults to true", + "lineNumber": 66, "type": { + "nullable": null, "types": [ - "*" - ] + "Boolean" + ], + "spread": false, + "description": null } }, { @@ -2476,17 +2480,19 @@ "kind": "member", "static": false, "variation": null, - "name": "manager", + "name": "headersTbl", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#manager", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersTbl", "access": null, - "description": null, - "lineNumber": 36, - "undocument": true, + "description": "Headers HTML table reference only if headers are external", + "lineNumber": 72, "type": { + "nullable": null, "types": [ - "*" - ] + "DOMElement" + ], + "spread": false, + "description": null } }, { @@ -2494,17 +2500,19 @@ "kind": "member", "static": false, "variation": null, - "name": "headersTbl", + "name": "headersIndex", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersTbl", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersIndex", "access": null, - "description": null, - "lineNumber": 38, - "undocument": true, + "description": "Headers row index only if headers are external", + "lineNumber": 78, "type": { + "nullable": null, "types": [ - "*" - ] + "Number" + ], + "spread": false, + "description": null } }, { @@ -2512,17 +2520,19 @@ "kind": "member", "static": false, "variation": null, - "name": "headersIndex", + "name": "contElTgtId", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersIndex", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contElTgtId", "access": null, - "description": null, - "lineNumber": 40, - "undocument": true, + "description": "ID of main container element", + "lineNumber": 84, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2530,17 +2540,19 @@ "kind": "member", "static": false, "variation": null, - "name": "contElTgtId", + "name": "headersText", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contElTgtId", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersText", "access": null, - "description": null, - "lineNumber": 42, - "undocument": true, + "description": "Alternative text for column headers in column manager UI", + "lineNumber": 90, "type": { + "nullable": null, "types": [ - "*" - ] + "Array" + ], + "spread": false, + "description": null } }, { @@ -2548,17 +2560,19 @@ "kind": "member", "static": false, "variation": null, - "name": "headersText", + "name": "btnTgtId", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersText", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnTgtId", "access": null, - "description": null, - "lineNumber": 44, - "undocument": true, + "description": "ID of button's container element", + "lineNumber": 96, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2566,17 +2580,19 @@ "kind": "member", "static": false, "variation": null, - "name": "btnTgtId", + "name": "btnText", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnTgtId", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnText", "access": null, - "description": null, - "lineNumber": 46, - "undocument": true, + "description": "Button's text, defaults to Columns▼", + "lineNumber": 102, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2584,17 +2600,19 @@ "kind": "member", "static": false, "variation": null, - "name": "btnText", + "name": "btnHtml", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnText", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnHtml", "access": null, - "description": null, - "lineNumber": 48, - "undocument": true, + "description": "Button's inner HTML", + "lineNumber": 108, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2602,17 +2620,19 @@ "kind": "member", "static": false, "variation": null, - "name": "btnHtml", + "name": "btnCssClass", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnHtml", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCssClass", "access": null, - "description": null, - "lineNumber": 50, - "undocument": true, + "description": "Css class for button", + "lineNumber": 114, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2620,17 +2640,19 @@ "kind": "member", "static": false, "variation": null, - "name": "btnCssClass", + "name": "btnCloseText", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCssClass", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCloseText", "access": null, - "description": null, - "lineNumber": 52, - "undocument": true, + "description": "Columns manager UI close link text, defaults to 'Close'", + "lineNumber": 120, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2638,17 +2660,19 @@ "kind": "member", "static": false, "variation": null, - "name": "btnCloseText", + "name": "btnCloseHtml", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCloseText", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCloseHtml", "access": null, - "description": null, - "lineNumber": 54, - "undocument": true, + "description": "Columns manager UI close link HTML", + "lineNumber": 126, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2656,17 +2680,19 @@ "kind": "member", "static": false, "variation": null, - "name": "btnCloseHtml", + "name": "btnCloseCssClass", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCloseHtml", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCloseCssClass", "access": null, - "description": null, - "lineNumber": 56, - "undocument": true, + "description": "Css for columns manager UI close link", + "lineNumber": 132, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2674,17 +2700,19 @@ "kind": "member", "static": false, "variation": null, - "name": "btnCloseCssClass", + "name": "stylesheet", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCloseCssClass", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#stylesheet", "access": null, - "description": null, - "lineNumber": 58, - "undocument": true, + "description": "Extension's stylesheet filename", + "lineNumber": 138, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2692,16 +2720,15 @@ "kind": "member", "static": false, "variation": null, - "name": "stylesheet", + "name": "prfx", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#stylesheet", - "access": null, - "description": null, - "lineNumber": 59, - "undocument": true, + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#prfx", + "access": "private", + "description": "Extension's prefix", + "lineNumber": 144, "type": { "types": [ - "*" + "string" ] } }, @@ -2710,17 +2737,19 @@ "kind": "member", "static": false, "variation": null, - "name": "prfx", + "name": "spanCssClass", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#prfx", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#spanCssClass", "access": null, - "description": null, - "lineNumber": 61, - "undocument": true, + "description": "Css for columns manager UI span", + "lineNumber": 150, "type": { + "nullable": null, "types": [ - "string" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2728,13 +2757,12 @@ "kind": "member", "static": false, "variation": null, - "name": "spanCssClass", + "name": "prfxCont", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#spanCssClass", - "access": null, - "description": null, - "lineNumber": 63, - "undocument": true, + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#prfxCont", + "access": "private", + "description": "Main container prefix", + "lineNumber": 156, "type": { "types": [ "*" @@ -2746,17 +2774,19 @@ "kind": "member", "static": false, "variation": null, - "name": "prfxCont", + "name": "contCssClass", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#prfxCont", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contCssClass", "access": null, - "description": null, - "lineNumber": 64, - "undocument": true, + "description": "Css for columns manager UI main container", + "lineNumber": 162, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2764,17 +2794,19 @@ "kind": "member", "static": false, "variation": null, - "name": "contCssClass", + "name": "listCssClass", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contCssClass", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#listCssClass", "access": null, - "description": null, - "lineNumber": 66, - "undocument": true, + "description": "Css for columns manager UI checklist (ul)", + "lineNumber": 168, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2782,17 +2814,19 @@ "kind": "member", "static": false, "variation": null, - "name": "listCssClass", + "name": "listItemCssClass", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#listCssClass", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#listItemCssClass", "access": null, - "description": null, - "lineNumber": 68, - "undocument": true, + "description": "Css for columns manager UI checklist item (li)", + "lineNumber": 174, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2800,17 +2834,19 @@ "kind": "member", "static": false, "variation": null, - "name": "listItemCssClass", + "name": "listSlcItemCssClass", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#listItemCssClass", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#listSlcItemCssClass", "access": null, - "description": null, - "lineNumber": 70, - "undocument": true, + "description": "Css for columns manager UI checklist item selected state (li)", + "lineNumber": 181, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2818,17 +2854,19 @@ "kind": "member", "static": false, "variation": null, - "name": "listSlcItemCssClass", + "name": "text", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#listSlcItemCssClass", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#text", "access": null, - "description": null, - "lineNumber": 73, - "undocument": true, + "description": "Text preceding the columns list, defaults to 'Hide' or 'Show'\ndepending on tick mode (tick_to_hide option)", + "lineNumber": 189, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2836,17 +2874,19 @@ "kind": "member", "static": false, "variation": null, - "name": "text", + "name": "atStart", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#text", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#atStart", "access": null, - "description": null, - "lineNumber": 76, - "undocument": true, + "description": "List of columns indexes to be hidden at initialization", + "lineNumber": 195, "type": { + "nullable": null, "types": [ - "*" - ] + "Array" + ], + "spread": false, + "description": null } }, { @@ -2854,17 +2894,19 @@ "kind": "member", "static": false, "variation": null, - "name": "atStart", + "name": "enableHover", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#atStart", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#enableHover", "access": null, - "description": null, - "lineNumber": 77, - "undocument": true, + "description": "Enable hover behaviour on columns manager button/link", + "lineNumber": 201, "type": { + "nullable": null, "types": [ - "*" - ] + "Boolean" + ], + "spread": false, + "description": null } }, { @@ -2872,17 +2914,19 @@ "kind": "member", "static": false, "variation": null, - "name": "enableHover", + "name": "enableTickAll", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#enableHover", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#enableTickAll", "access": null, - "description": null, - "lineNumber": 78, - "undocument": true, + "description": "Enable select all option, disabled by default", + "lineNumber": 207, "type": { + "nullable": null, "types": [ - "*" - ] + "Boolean" + ], + "spread": false, + "description": null } }, { @@ -2890,17 +2934,19 @@ "kind": "member", "static": false, "variation": null, - "name": "enableTickAll", + "name": "tickAllText", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#enableTickAll", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#tickAllText", "access": null, - "description": null, - "lineNumber": 80, - "undocument": true, + "description": "Text for select all option, defaults to 'Select all:'", + "lineNumber": 213, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -2908,13 +2954,12 @@ "kind": "member", "static": false, "variation": null, - "name": "tickAllText", + "name": "hiddenCols", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#tickAllText", - "access": null, - "description": null, - "lineNumber": 82, - "undocument": true, + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#hiddenCols", + "access": "private", + "description": "List of indexes of hidden columns", + "lineNumber": 219, "type": { "types": [ "*" @@ -2926,17 +2971,19 @@ "kind": "member", "static": false, "variation": null, - "name": "hiddenCols", + "name": "onLoaded", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#hiddenCols", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onLoaded", "access": null, - "description": null, - "lineNumber": 85, - "undocument": true, + "description": "Callback fired when the extension is initialized", + "lineNumber": 225, "type": { + "nullable": null, "types": [ - "*" - ] + "Function" + ], + "spread": false, + "description": null } }, { @@ -2944,17 +2991,19 @@ "kind": "member", "static": false, "variation": null, - "name": "tblHasColTag", + "name": "onBeforeOpen", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#tblHasColTag", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeOpen", "access": null, - "description": null, - "lineNumber": 86, - "undocument": true, + "description": "Callback fired before the columns manager is opened", + "lineNumber": 231, "type": { + "nullable": null, "types": [ - "*" - ] + "Function" + ], + "spread": false, + "description": null } }, { @@ -2962,17 +3011,19 @@ "kind": "member", "static": false, "variation": null, - "name": "onLoaded", + "name": "onAfterOpen", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onLoaded", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterOpen", "access": null, - "description": null, - "lineNumber": 89, - "undocument": true, + "description": "Callback fired after the columns manager is opened", + "lineNumber": 237, "type": { + "nullable": null, "types": [ - "*" - ] + "Function" + ], + "spread": false, + "description": null } }, { @@ -2980,17 +3031,19 @@ "kind": "member", "static": false, "variation": null, - "name": "onBeforeOpen", + "name": "onBeforeClose", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeOpen", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeClose", "access": null, - "description": null, - "lineNumber": 91, - "undocument": true, + "description": "Callback fired before the columns manager is closed", + "lineNumber": 243, "type": { + "nullable": null, "types": [ - "*" - ] + "Function" + ], + "spread": false, + "description": null } }, { @@ -2998,17 +3051,19 @@ "kind": "member", "static": false, "variation": null, - "name": "onAfterOpen", + "name": "onAfterClose", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterOpen", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterClose", "access": null, - "description": null, - "lineNumber": 93, - "undocument": true, + "description": "Callback fired after the columns manager is closed", + "lineNumber": 249, "type": { + "nullable": null, "types": [ - "*" - ] + "Function" + ], + "spread": false, + "description": null } }, { @@ -3016,17 +3071,19 @@ "kind": "member", "static": false, "variation": null, - "name": "onBeforeClose", + "name": "onBeforeColHidden", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeClose", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeColHidden", "access": null, - "description": null, - "lineNumber": 95, - "undocument": true, + "description": "Callback fired before a column is hidden", + "lineNumber": 255, "type": { + "nullable": null, "types": [ - "*" - ] + "Function" + ], + "spread": false, + "description": null } }, { @@ -3034,17 +3091,19 @@ "kind": "member", "static": false, "variation": null, - "name": "onAfterClose", + "name": "onAfterColHidden", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterClose", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterColHidden", "access": null, - "description": null, - "lineNumber": 97, - "undocument": true, + "description": "Callback fired after a column is hidden", + "lineNumber": 262, "type": { + "nullable": null, "types": [ - "*" - ] + "Function" + ], + "spread": false, + "description": null } }, { @@ -3052,17 +3111,19 @@ "kind": "member", "static": false, "variation": null, - "name": "onBeforeColHidden", + "name": "onBeforeColDisplayed", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeColHidden", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeColDisplayed", "access": null, - "description": null, - "lineNumber": 100, - "undocument": true, + "description": "Callback fired before a column is displayed", + "lineNumber": 269, "type": { + "nullable": null, "types": [ - "*" - ] + "Function" + ], + "spread": false, + "description": null } }, { @@ -3070,17 +3131,19 @@ "kind": "member", "static": false, "variation": null, - "name": "onAfterColHidden", + "name": "onAfterColDisplayed", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterColHidden", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterColDisplayed", "access": null, - "description": null, - "lineNumber": 103, - "undocument": true, + "description": "Callback fired after a column is displayed", + "lineNumber": 276, "type": { + "nullable": null, "types": [ - "*" - ] + "Function" + ], + "spread": false, + "description": null } }, { @@ -3088,12 +3151,12 @@ "kind": "member", "static": false, "variation": null, - "name": "onBeforeColDisplayed", + "name": "headersTbl", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeColDisplayed", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersTbl", "access": null, "description": null, - "lineNumber": 106, + "lineNumber": 281, "undocument": true, "type": { "types": [ @@ -3106,48 +3169,12 @@ "kind": "member", "static": false, "variation": null, - "name": "onAfterColDisplayed", - "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterColDisplayed", - "access": null, - "description": null, - "lineNumber": 109, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 132, - "kind": "member", - "static": false, - "variation": null, - "name": "headersTbl", - "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersTbl", - "access": null, - "description": null, - "lineNumber": 114, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 133, - "kind": "member", - "static": false, - "variation": null, "name": "headersIndex", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersIndex", "access": null, "description": null, - "lineNumber": 115, + "lineNumber": 282, "undocument": true, "type": { "types": [ @@ -3156,7 +3183,7 @@ } }, { - "__docId__": 134, + "__docId__": 132, "kind": "method", "static": false, "variation": null, @@ -3164,24 +3191,22 @@ "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#toggle", "access": null, - "description": null, - "lineNumber": 127, - "undocument": true, + "description": "Toggle columns manager UI", + "lineNumber": 297, "params": [], "generator": false }, { - "__docId__": 135, + "__docId__": 133, "kind": "method", "static": false, "variation": null, "name": "checkItem", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#checkItem", - "access": null, - "description": null, - "lineNumber": 152, - "undocument": true, + "access": "private", + "description": "Check an item in columns manager UI", + "lineNumber": 326, "params": [ { "name": "lbl", @@ -3193,7 +3218,7 @@ "generator": false }, { - "__docId__": 136, + "__docId__": 134, "kind": "method", "static": false, "variation": null, @@ -3201,14 +3226,13 @@ "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#init", "access": null, - "description": null, - "lineNumber": 174, - "undocument": true, + "description": "Initializes ColsVisibility instance", + "lineNumber": 351, "params": [], "generator": false }, { - "__docId__": 137, + "__docId__": 135, "kind": "member", "static": false, "variation": null, @@ -3217,7 +3241,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#initialized", "access": null, "description": null, - "lineNumber": 185, + "lineNumber": 362, "undocument": true, "type": { "types": [ @@ -3226,7 +3250,7 @@ } }, { - "__docId__": 138, + "__docId__": 136, "kind": "method", "static": false, "variation": null, @@ -3235,12 +3259,12 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#buildBtn", "access": null, "description": "Build main button UI", - "lineNumber": 195, + "lineNumber": 373, "params": [], "generator": false }, { - "__docId__": 139, + "__docId__": 137, "kind": "member", "static": false, "variation": null, @@ -3249,7 +3273,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#spanEl", "access": null, "description": null, - "lineNumber": 238, + "lineNumber": 416, "undocument": true, "type": { "types": [ @@ -3258,7 +3282,7 @@ } }, { - "__docId__": 140, + "__docId__": 138, "kind": "member", "static": false, "variation": null, @@ -3267,7 +3291,39 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnEl", "access": null, "description": null, - "lineNumber": 239, + "lineNumber": 417, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 139, + "kind": "method", + "static": false, + "variation": null, + "name": "buildManager", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#buildManager", + "access": null, + "description": "Build columns manager UI", + "lineNumber": 427, + "params": [], + "generator": false + }, + { + "__docId__": 140, + "kind": "member", + "static": false, + "variation": null, + "name": "contEl", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contEl", + "access": null, + "description": null, + "lineNumber": 510, "undocument": true, "type": { "types": [ @@ -3280,49 +3336,17 @@ "kind": "method", "static": false, "variation": null, - "name": "buildManager", - "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#buildManager", - "access": null, - "description": "Build columns manager UI", - "lineNumber": 249, - "params": [], - "generator": false - }, - { - "__docId__": 142, - "kind": "member", - "static": false, - "variation": null, - "name": "contEl", - "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contEl", - "access": null, - "description": null, - "lineNumber": 332, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 143, - "kind": "method", - "static": false, - "variation": null, "name": "setHidden", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#setHidden", "access": null, "description": "Hide or show specified columns", - "lineNumber": 340, + "lineNumber": 518, "params": [ { "nullable": null, "types": [ - "Numner" + "Number" ], "spread": false, "optional": false, @@ -3343,7 +3367,7 @@ "generator": false }, { - "__docId__": 144, + "__docId__": 142, "kind": "method", "static": false, "variation": null, @@ -3352,7 +3376,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#showCol", "access": null, "description": "Show specified column", - "lineNumber": 420, + "lineNumber": 598, "params": [ { "nullable": null, @@ -3368,7 +3392,7 @@ "generator": false }, { - "__docId__": 145, + "__docId__": 143, "kind": "method", "static": false, "variation": null, @@ -3377,7 +3401,62 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#hideCol", "access": null, "description": "Hide specified column", - "lineNumber": 438, + "lineNumber": 616, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "generator": false + }, + { + "__docId__": 144, + "kind": "method", + "static": false, + "variation": null, + "name": "isColHidden", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#isColHidden", + "access": null, + "description": "Determine if specified column is hidden", + "lineNumber": 634, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "return": { + "types": [ + "boolean" + ] + }, + "generator": false + }, + { + "__docId__": 145, + "kind": "method", + "static": false, + "variation": null, + "name": "toggleCol", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#toggleCol", + "access": null, + "description": "Toggle visibility of specified column", + "lineNumber": 645, "params": [ { "nullable": null, @@ -3397,67 +3476,12 @@ "kind": "method", "static": false, "variation": null, - "name": "isColHidden", - "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#isColHidden", - "access": null, - "description": "Determine if specified column is hidden", - "lineNumber": 456, - "params": [ - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "colIndex", - "description": "Column index" - } - ], - "return": { - "types": [ - "boolean" - ] - }, - "generator": false - }, - { - "__docId__": 147, - "kind": "method", - "static": false, - "variation": null, - "name": "toggleCol", - "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", - "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#toggleCol", - "access": null, - "description": "Toggle visibility of specified column", - "lineNumber": 467, - "params": [ - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": false, - "name": "colIndex", - "description": "Column index" - } - ], - "generator": false - }, - { - "__docId__": 148, - "kind": "method", - "static": false, - "variation": null, "name": "getHiddenCols", "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#getHiddenCols", "access": null, "description": "Return the indexes of the columns currently hidden", - "lineNumber": 479, + "lineNumber": 657, "params": [], "return": { "nullable": null, @@ -3470,7 +3494,7 @@ "generator": false }, { - "__docId__": 149, + "__docId__": 147, "kind": "method", "static": false, "variation": null, @@ -3479,12 +3503,12 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#destroy", "access": null, "description": "Remove the columns manager", - "lineNumber": 486, + "lineNumber": 664, "params": [], "generator": false }, { - "__docId__": 150, + "__docId__": 148, "kind": "member", "static": false, "variation": null, @@ -3493,7 +3517,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contEl", "access": null, "description": null, - "lineNumber": 495, + "lineNumber": 673, "undocument": true, "type": { "types": [ @@ -3502,7 +3526,7 @@ } }, { - "__docId__": 151, + "__docId__": 149, "kind": "member", "static": false, "variation": null, @@ -3511,7 +3535,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnEl", "access": null, "description": null, - "lineNumber": 499, + "lineNumber": 677, "undocument": true, "type": { "types": [ @@ -3520,7 +3544,7 @@ } }, { - "__docId__": 152, + "__docId__": 150, "kind": "member", "static": false, "variation": null, @@ -3529,7 +3553,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#initialized", "access": null, "description": null, - "lineNumber": 504, + "lineNumber": 682, "undocument": true, "type": { "types": [ @@ -3538,7 +3562,7 @@ } }, { - "__docId__": 153, + "__docId__": 151, "kind": "method", "static": false, "variation": null, @@ -3547,7 +3571,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#_getHeaderText", "access": null, "description": null, - "lineNumber": 507, + "lineNumber": 685, "undocument": true, "params": [ { @@ -3565,7 +3589,7 @@ "generator": false }, { - "__docId__": 154, + "__docId__": 152, "kind": "method", "static": false, "variation": null, @@ -3574,7 +3598,7 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#_hideCells", "access": null, "description": null, - "lineNumber": 528, + "lineNumber": 706, "undocument": true, "params": [ { @@ -3599,7 +3623,7 @@ "generator": false }, { - "__docId__": 155, + "__docId__": 153, "kind": "method", "static": false, "variation": null, @@ -3608,13 +3632,13 @@ "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#_hideAtStart", "access": null, "description": null, - "lineNumber": 538, + "lineNumber": 716, "undocument": true, "params": [], "generator": false }, { - "__docId__": 156, + "__docId__": 154, "kind": "file", "static": true, "variation": null, @@ -3627,7 +3651,7 @@ "content": "import {Feature} from '../../feature';\nimport {createElm, removeElm, elm} from '../../dom';\nimport {isFn, isUndef} from '../../types';\nimport {addEvt} from '../../event';\n\nexport default class FiltersVisibility extends Feature {\n\n /**\n * Filters Row Visibility extension\n * @param {Object} tf TableFilter instance\n * @param {Object} f Config\n */\n constructor(tf, f) {\n super(tf, f.name);\n\n this.name = f.name;\n this.desc = f.description || 'Filters row visibility manager';\n\n // Path and image filenames\n this.stylesheet = f.stylesheet || 'filtersVisibility.css';\n this.icnExpand = f.expand_icon_name || 'icn_exp.png';\n this.icnCollapse = f.collapse_icon_name || 'icn_clp.png';\n\n //expand/collapse filters span element\n this.contEl = null;\n //expand/collapse filters btn element\n this.btnEl = null;\n\n this.icnExpandHtml = '\"Expand';\n this.icnCollapseHtml = '\"Collapse';\n this.defaultText = 'Toggle filters';\n\n //id of container element\n this.targetId = f.target_id || null;\n //enables/disables expand/collapse icon\n this.enableIcon = f.enable_icon === false ? false : true;\n this.btnText = f.btn_text || '';\n\n //defines expand/collapse filters text\n this.collapseBtnHtml = this.enableIcon ?\n this.icnCollapseHtml + this.btnText :\n this.btnText || this.defaultText;\n this.expandBtnHtml = this.enableIcon ?\n this.icnExpandHtml + this.btnText :\n this.btnText || this.defaultText;\n\n //defines expand/collapse filters button innerHtml\n this.btnHtml = f.btn_html || null;\n //defines css class for expand/collapse filters button\n this.btnCssClass = f.btn_css_class || 'btnExpClpFlt';\n //defines css class span containing expand/collapse filters\n this.contCssClass = f.cont_css_class || 'expClpFlt';\n this.filtersRowIndex = !isUndef(f.filters_row_index) ?\n f.filters_row_index : tf.getFiltersRowIndex();\n\n this.visibleAtStart = !isUndef(f.visible_at_start) ?\n Boolean(f.visible_at_start) : true;\n\n // Prefix\n this.prfx = 'fltsVis_';\n\n //callback before filters row is shown\n this.onBeforeShow = isFn(f.on_before_show) ? f.on_before_show : null;\n //callback after filters row is shown\n this.onAfterShow = isFn(f.on_after_show) ? f.on_after_show : null;\n //callback before filters row is hidden\n this.onBeforeHide = isFn(f.on_before_hide) ? f.on_before_hide : null;\n //callback after filters row is hidden\n this.onAfterHide = isFn(f.on_after_hide) ? f.on_after_hide : null;\n\n //Loads extension stylesheet\n tf.import(f.name + 'Style', tf.stylePath + this.stylesheet, null,\n 'link');\n\n this.enable();\n }\n\n /**\n * Initialise extension\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n this.buildUI();\n this.initialized = true;\n this.emitter.on(['show-filters'], (tf, visible) => this.show(visible));\n this.emitter.emit('filters-visibility-initialized', this.tf, this);\n }\n\n /**\n * Build UI elements\n */\n buildUI() {\n let tf = this.tf;\n let span = createElm('span', ['id', this.prfx + tf.id]);\n span.className = this.contCssClass;\n\n //Container element (rdiv or custom element)\n if (!this.targetId) {\n tf.setToolbar();\n }\n let targetEl = !this.targetId ? tf.rDiv : elm(this.targetId);\n\n if (!this.targetId) {\n let firstChild = targetEl.firstChild;\n firstChild.parentNode.insertBefore(span, firstChild);\n } else {\n targetEl.appendChild(span);\n }\n\n let btn;\n if (!this.btnHtml) {\n btn = createElm('a', ['href', 'javascript:void(0);']);\n btn.className = this.btnCssClass;\n btn.title = this.btnText || this.defaultText;\n btn.innerHTML = this.collapseBtnHtml;\n span.appendChild(btn);\n } else { //Custom html\n span.innerHTML = this.btnHtml;\n btn = span.firstChild;\n }\n\n addEvt(btn, 'click', () => this.toggle());\n\n this.contEl = span;\n this.btnEl = btn;\n\n if (!this.visibleAtStart) {\n this.toggle();\n }\n }\n\n /**\n * Toggle filters visibility\n */\n toggle() {\n let tf = this.tf;\n let tbl = tf.gridLayout ? tf.feature('gridLayout').headTbl : tf.tbl;\n let fltRow = tbl.rows[this.filtersRowIndex];\n let isDisplayed = fltRow.style.display === '';\n\n this.show(!isDisplayed);\n }\n\n /**\n * Show or hide filters\n *\n * @param {boolean} [visible=true] Visibility flag\n */\n show(visible = true) {\n let tf = this.tf;\n let tbl = tf.gridLayout ? tf.feature('gridLayout').headTbl : tf.tbl;\n let fltRow = tbl.rows[this.filtersRowIndex];\n\n if (this.onBeforeShow && visible) {\n this.onBeforeShow.call(this, this);\n }\n if (this.onBeforeHide && !visible) {\n this.onBeforeHide.call(null, this);\n }\n\n fltRow.style.display = visible ? '' : 'none';\n if (this.enableIcon && !this.btnHtml) {\n this.btnEl.innerHTML = visible ?\n this.collapseBtnHtml : this.expandBtnHtml;\n }\n\n if (this.onAfterShow && visible) {\n this.onAfterShow.call(null, this);\n }\n if (this.onAfterHide && !visible) {\n this.onAfterHide.call(null, this);\n }\n\n this.emitter.emit('filters-toggled', tf, this, visible);\n }\n\n /**\n * Destroy the UI\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n this.emitter.off(['show-filters'], (tf, visible) => this.show(visible));\n\n this.btnEl.innerHTML = '';\n removeElm(this.btnEl);\n this.btnEl = null;\n\n this.contEl.innerHTML = '';\n removeElm(this.contEl);\n this.contEl = null;\n this.initialized = false;\n }\n\n}\n" }, { - "__docId__": 157, + "__docId__": 155, "kind": "class", "static": true, "variation": null, @@ -3647,7 +3671,7 @@ ] }, { - "__docId__": 158, + "__docId__": 156, "kind": "constructor", "static": false, "variation": null, @@ -3682,7 +3706,7 @@ "generator": false }, { - "__docId__": 159, + "__docId__": 157, "kind": "member", "static": false, "variation": null, @@ -3700,7 +3724,7 @@ } }, { - "__docId__": 160, + "__docId__": 158, "kind": "member", "static": false, "variation": null, @@ -3718,7 +3742,7 @@ } }, { - "__docId__": 161, + "__docId__": 159, "kind": "member", "static": false, "variation": null, @@ -3736,7 +3760,7 @@ } }, { - "__docId__": 162, + "__docId__": 160, "kind": "member", "static": false, "variation": null, @@ -3754,7 +3778,7 @@ } }, { - "__docId__": 163, + "__docId__": 161, "kind": "member", "static": false, "variation": null, @@ -3772,7 +3796,7 @@ } }, { - "__docId__": 164, + "__docId__": 162, "kind": "member", "static": false, "variation": null, @@ -3790,7 +3814,7 @@ } }, { - "__docId__": 165, + "__docId__": 163, "kind": "member", "static": false, "variation": null, @@ -3808,7 +3832,7 @@ } }, { - "__docId__": 166, + "__docId__": 164, "kind": "member", "static": false, "variation": null, @@ -3826,7 +3850,7 @@ } }, { - "__docId__": 167, + "__docId__": 165, "kind": "member", "static": false, "variation": null, @@ -3844,7 +3868,7 @@ } }, { - "__docId__": 168, + "__docId__": 166, "kind": "member", "static": false, "variation": null, @@ -3862,7 +3886,7 @@ } }, { - "__docId__": 169, + "__docId__": 167, "kind": "member", "static": false, "variation": null, @@ -3880,7 +3904,7 @@ } }, { - "__docId__": 170, + "__docId__": 168, "kind": "member", "static": false, "variation": null, @@ -3898,7 +3922,7 @@ } }, { - "__docId__": 171, + "__docId__": 169, "kind": "member", "static": false, "variation": null, @@ -3916,7 +3940,7 @@ } }, { - "__docId__": 172, + "__docId__": 170, "kind": "member", "static": false, "variation": null, @@ -3934,7 +3958,7 @@ } }, { - "__docId__": 173, + "__docId__": 171, "kind": "member", "static": false, "variation": null, @@ -3952,7 +3976,7 @@ } }, { - "__docId__": 174, + "__docId__": 172, "kind": "member", "static": false, "variation": null, @@ -3970,7 +3994,7 @@ } }, { - "__docId__": 175, + "__docId__": 173, "kind": "member", "static": false, "variation": null, @@ -3988,7 +4012,7 @@ } }, { - "__docId__": 176, + "__docId__": 174, "kind": "member", "static": false, "variation": null, @@ -4006,7 +4030,7 @@ } }, { - "__docId__": 177, + "__docId__": 175, "kind": "member", "static": false, "variation": null, @@ -4024,7 +4048,7 @@ } }, { - "__docId__": 178, + "__docId__": 176, "kind": "member", "static": false, "variation": null, @@ -4042,7 +4066,7 @@ } }, { - "__docId__": 179, + "__docId__": 177, "kind": "member", "static": false, "variation": null, @@ -4060,7 +4084,7 @@ } }, { - "__docId__": 180, + "__docId__": 178, "kind": "member", "static": false, "variation": null, @@ -4078,7 +4102,7 @@ } }, { - "__docId__": 181, + "__docId__": 179, "kind": "member", "static": false, "variation": null, @@ -4096,7 +4120,7 @@ } }, { - "__docId__": 182, + "__docId__": 180, "kind": "member", "static": false, "variation": null, @@ -4114,7 +4138,7 @@ } }, { - "__docId__": 183, + "__docId__": 181, "kind": "member", "static": false, "variation": null, @@ -4132,7 +4156,7 @@ } }, { - "__docId__": 184, + "__docId__": 182, "kind": "method", "static": false, "variation": null, @@ -4146,7 +4170,7 @@ "generator": false }, { - "__docId__": 185, + "__docId__": 183, "kind": "member", "static": false, "variation": null, @@ -4164,7 +4188,7 @@ } }, { - "__docId__": 186, + "__docId__": 184, "kind": "method", "static": false, "variation": null, @@ -4178,7 +4202,7 @@ "generator": false }, { - "__docId__": 187, + "__docId__": 185, "kind": "member", "static": false, "variation": null, @@ -4196,7 +4220,7 @@ } }, { - "__docId__": 188, + "__docId__": 186, "kind": "member", "static": false, "variation": null, @@ -4214,7 +4238,7 @@ } }, { - "__docId__": 189, + "__docId__": 187, "kind": "method", "static": false, "variation": null, @@ -4228,7 +4252,7 @@ "generator": false }, { - "__docId__": 190, + "__docId__": 188, "kind": "method", "static": false, "variation": null, @@ -4255,7 +4279,7 @@ "generator": false }, { - "__docId__": 191, + "__docId__": 189, "kind": "method", "static": false, "variation": null, @@ -4269,7 +4293,7 @@ "generator": false }, { - "__docId__": 192, + "__docId__": 190, "kind": "member", "static": false, "variation": null, @@ -4287,7 +4311,7 @@ } }, { - "__docId__": 193, + "__docId__": 191, "kind": "member", "static": false, "variation": null, @@ -4305,7 +4329,7 @@ } }, { - "__docId__": 194, + "__docId__": 192, "kind": "member", "static": false, "variation": null, @@ -4323,7 +4347,7 @@ } }, { - "__docId__": 195, + "__docId__": 193, "kind": "file", "static": true, "variation": null, @@ -4336,7 +4360,7 @@ "content": "import {Feature} from '../../feature';\nimport {isArray, isFn, isUndef} from '../../types';\nimport {createElm, elm, getText, tag} from '../../dom';\nimport {addEvt} from '../../event';\nimport {formatDate} from '../../date';\nimport {removeNbFormat} from '../../helpers';\nimport {NONE, CELL_TAG, HEADER_TAG} from '../../const';\n\nexport default class AdapterSortableTable extends Feature {\n\n /**\n * SortableTable Adapter module\n * @param {Object} tf TableFilter instance\n */\n constructor(tf, opts) {\n super(tf, opts.name);\n\n this.name = opts.name;\n this.desc = opts.description || 'Sortable table';\n\n //indicates if table previously sorted\n this.sorted = false;\n\n this.sortTypes = isArray(opts.types) ? opts.types : [];\n this.sortColAtStart = isArray(opts.sort_col_at_start) ?\n opts.sort_col_at_start : null;\n this.asyncSort = Boolean(opts.async_sort);\n this.triggerIds = isArray(opts.trigger_ids) ? opts.trigger_ids : [];\n\n // edit .sort-arrow.descending / .sort-arrow.ascending in\n // tablefilter.css to reflect any path change\n this.imgPath = opts.images_path || tf.themesPath;\n this.imgBlank = opts.image_blank || 'blank.png';\n this.imgClassName = opts.image_class_name || 'sort-arrow';\n this.imgAscClassName = opts.image_asc_class_name || 'ascending';\n this.imgDescClassName = opts.image_desc_class_name || 'descending';\n //cell attribute storing custom key\n this.customKey = opts.custom_key || 'data-tf-sortKey';\n\n // callback invoked after sort is loaded and instanciated\n this.onSortLoaded = isFn(opts.on_sort_loaded) ?\n opts.on_sort_loaded : null;\n // callback invoked before table is sorted\n this.onBeforeSort = isFn(opts.on_before_sort) ?\n opts.on_before_sort : null;\n // callback invoked after table is sorted\n this.onAfterSort = isFn(opts.on_after_sort) ? opts.on_after_sort : null;\n\n this.enable();\n }\n\n init() {\n if (this.initialized) {\n return;\n }\n let tf = this.tf;\n let adpt = this;\n\n // SortableTable class sanity check (sortabletable.js)\n if (isUndef(SortableTable)) {\n throw new Error('SortableTable class not found.');\n }\n\n this.overrideSortableTable();\n this.setSortTypes();\n\n //Column sort at start\n let sortColAtStart = adpt.sortColAtStart;\n if (sortColAtStart) {\n this.stt.sort(sortColAtStart[0], sortColAtStart[1]);\n }\n\n if (this.onSortLoaded) {\n this.onSortLoaded.call(null, tf, this);\n }\n\n /*** SortableTable callbacks ***/\n this.stt.onbeforesort = function () {\n if (adpt.onBeforeSort) {\n adpt.onBeforeSort.call(null, tf, adpt.stt.sortColumn);\n }\n\n /*** sort behaviour for paging ***/\n if (tf.paging) {\n tf.feature('paging').disable();\n }\n };\n\n this.stt.onsort = function () {\n adpt.sorted = true;\n\n //sort behaviour for paging\n if (tf.paging) {\n let paginator = tf.feature('paging');\n // recalculate valid rows index as sorting may have change it\n tf.getValidRows(true);\n paginator.enable();\n paginator.setPage(paginator.getPage());\n }\n\n if (adpt.onAfterSort) {\n adpt.onAfterSort.call(null, tf, adpt.stt.sortColumn,\n adpt.stt.descending);\n }\n\n adpt.emitter.emit('column-sorted', tf, adpt.stt.sortColumn,\n adpt.stt.descending);\n };\n\n this.emitter.on(['sort'],\n (tf, colIdx, desc) => this.sortByColumnIndex(colIdx, desc));\n\n this.initialized = true;\n this.emitter.emit('sort-initialized', tf, this);\n }\n\n /**\n * Sort specified column\n * @param {Number} colIdx Column index\n * @param {Boolean} desc Optional: descending manner\n */\n sortByColumnIndex(colIdx, desc) {\n this.stt.sort(colIdx, desc);\n }\n\n overrideSortableTable() {\n let adpt = this,\n tf = this.tf;\n\n /**\n * Overrides headerOnclick method in order to handle th event\n * @param {Object} e [description]\n */\n SortableTable.prototype.headerOnclick = function (evt) {\n if (!adpt.initialized) {\n return;\n }\n\n // find Header element\n let el = evt.target || evt.srcElement;\n\n while (el.tagName !== CELL_TAG && el.tagName !== HEADER_TAG) {\n el = el.parentNode;\n }\n\n this.sort(\n SortableTable.msie ?\n SortableTable.getCellIndex(el) : el.cellIndex\n );\n };\n\n /**\n * Overrides getCellIndex IE returns wrong cellIndex when columns are\n * hidden\n * @param {Object} oTd TD element\n * @return {Number} Cell index\n */\n SortableTable.getCellIndex = function (oTd) {\n let cells = oTd.parentNode.cells,\n l = cells.length, i;\n for (i = 0; cells[i] !== oTd && i < l; i++) { }\n return i;\n };\n\n /**\n * Overrides initHeader in order to handle filters row position\n * @param {Array} oSortTypes\n */\n SortableTable.prototype.initHeader = function (oSortTypes) {\n let stt = this;\n if (!stt.tHead) {\n if (tf.gridLayout) {\n stt.tHead = tf.feature('gridLayout').headTbl.tHead;\n } else {\n return;\n }\n }\n\n stt.headersRow = tf.headersRow;\n let cells = stt.tHead.rows[stt.headersRow].cells;\n stt.sortTypes = oSortTypes || [];\n let l = cells.length;\n let img, c;\n\n for (let i = 0; i < l; i++) {\n c = cells[i];\n if (stt.sortTypes[i] !== null && stt.sortTypes[i] !== 'None') {\n c.style.cursor = 'pointer';\n img = createElm('img',\n ['src', adpt.imgPath + adpt.imgBlank]);\n c.appendChild(img);\n if (stt.sortTypes[i] !== null) {\n c.setAttribute('_sortType', stt.sortTypes[i]);\n }\n addEvt(c, 'click', stt._headerOnclick);\n } else {\n c.setAttribute('_sortType', oSortTypes[i]);\n c._sortType = 'None';\n }\n }\n stt.updateHeaderArrows();\n };\n\n /**\n * Overrides updateHeaderArrows in order to handle arrows indicators\n */\n SortableTable.prototype.updateHeaderArrows = function () {\n let stt = this;\n let cells, l, img;\n\n // external headers\n if (adpt.asyncSort && adpt.triggerIds.length > 0) {\n let triggers = adpt.triggerIds;\n cells = [];\n l = triggers.length;\n for (let j = 0; j < l; j++) {\n cells.push(elm(triggers[j]));\n }\n } else {\n if (!this.tHead) {\n return;\n }\n cells = stt.tHead.rows[stt.headersRow].cells;\n l = cells.length;\n }\n for (let i = 0; i < l; i++) {\n let cell = cells[i];\n if (!cell) {\n continue;\n }\n let cellAttr = cell.getAttribute('_sortType');\n if (cellAttr !== null && cellAttr !== 'None') {\n img = cell.lastChild || cell;\n if (img.nodeName.toLowerCase() !== 'img') {\n img = createElm('img',\n ['src', adpt.imgPath + adpt.imgBlank]);\n cell.appendChild(img);\n }\n if (i === stt.sortColumn) {\n img.className = adpt.imgClassName + ' ' +\n (this.descending ?\n adpt.imgDescClassName :\n adpt.imgAscClassName);\n } else {\n img.className = adpt.imgClassName;\n }\n }\n }\n };\n\n /**\n * Overrides getRowValue for custom key value feature\n * @param {Object} oRow Row element\n * @param {String} sType\n * @param {Number} nColumn\n * @return {String}\n */\n SortableTable.prototype.getRowValue = function (oRow, sType, nColumn) {\n let stt = this;\n // if we have defined a custom getRowValue use that\n let sortTypeInfo = stt._sortTypeInfo[sType];\n if (sortTypeInfo && sortTypeInfo.getRowValue) {\n return sortTypeInfo.getRowValue(oRow, nColumn);\n }\n let c = oRow.cells[nColumn];\n let s = SortableTable.getInnerText(c);\n return stt.getValueFromString(s, sType);\n };\n\n /**\n * Overrides getInnerText in order to avoid Firefox unexpected sorting\n * behaviour with untrimmed text elements\n * @param {Object} oNode DOM element\n * @return {String} DOM element inner text\n */\n SortableTable.getInnerText = function (oNode) {\n if (!oNode) {\n return;\n }\n if (oNode.getAttribute(adpt.customKey)) {\n return oNode.getAttribute(adpt.customKey);\n } else {\n return getText(oNode);\n }\n };\n }\n\n addSortType() {\n var args = arguments;\n SortableTable.prototype.addSortType(args[0], args[1], args[2], args[3]);\n }\n\n setSortTypes() {\n let tf = this.tf,\n sortTypes = this.sortTypes,\n _sortTypes = [];\n\n for (let i = 0; i < tf.nbCells; i++) {\n let colType;\n\n if (sortTypes[i]) {\n colType = sortTypes[i].toLowerCase();\n if (colType === NONE) {\n colType = 'None';\n }\n } else { // resolve column types\n if (tf.hasColNbFormat && tf.colNbFormat[i] !== null) {\n colType = tf.colNbFormat[i].toLowerCase();\n } else if (tf.hasColDateType && tf.colDateType[i] !== null) {\n colType = tf.colDateType[i].toLowerCase() + 'date';\n } else {\n colType = 'String';\n }\n }\n _sortTypes.push(colType);\n }\n\n //Public TF method to add sort type\n\n //Custom sort types\n this.addSortType('number', Number);\n this.addSortType('caseinsensitivestring', SortableTable.toUpperCase);\n this.addSortType('date', SortableTable.toDate);\n this.addSortType('string');\n this.addSortType('us', usNumberConverter);\n this.addSortType('eu', euNumberConverter);\n this.addSortType('dmydate', dmyDateConverter);\n this.addSortType('ymddate', ymdDateConverter);\n this.addSortType('mdydate', mdyDateConverter);\n this.addSortType('ddmmmyyyydate', ddmmmyyyyDateConverter);\n this.addSortType('ipaddress', ipAddress, sortIP);\n\n this.stt = new SortableTable(tf.tbl, _sortTypes);\n\n /*** external table headers adapter ***/\n if (this.asyncSort && this.triggerIds.length > 0) {\n let triggers = this.triggerIds;\n for (let j = 0; j < triggers.length; j++) {\n if (triggers[j] === null) {\n continue;\n }\n let trigger = elm(triggers[j]);\n if (trigger) {\n trigger.style.cursor = 'pointer';\n\n addEvt(trigger, 'click', (evt) => {\n let elm = evt.target;\n if (!this.tf.sort) {\n return;\n }\n this.stt.asyncSort(triggers.indexOf(elm.id));\n });\n trigger.setAttribute('_sortType', _sortTypes[j]);\n }\n }\n }\n }\n\n /**\n * Destroy sort\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n let tf = this.tf;\n this.emitter.off(['sort'],\n (tf, colIdx, desc) => this.sortByColumnIndex(colIdx, desc));\n this.sorted = false;\n this.initialized = false;\n this.stt.destroy();\n\n let ids = tf.getFiltersId();\n for (let idx = 0; idx < ids.length; idx++) {\n let header = tf.getHeaderElement(idx);\n let img = tag(header, 'img');\n\n if (img.length === 1) {\n header.removeChild(img[0]);\n }\n }\n this.initialized = false;\n }\n\n}\n\n//Converters\nfunction usNumberConverter(s) {\n return removeNbFormat(s, 'us');\n}\nfunction euNumberConverter(s) {\n return removeNbFormat(s, 'eu');\n}\nfunction dateConverter(s, format) {\n return formatDate(s, format);\n}\nfunction dmyDateConverter(s) {\n return dateConverter(s, 'DMY');\n}\nfunction mdyDateConverter(s) {\n return dateConverter(s, 'MDY');\n}\nfunction ymdDateConverter(s) {\n return dateConverter(s, 'YMD');\n}\nfunction ddmmmyyyyDateConverter(s) {\n return dateConverter(s, 'DDMMMYYYY');\n}\n\nfunction ipAddress(value) {\n let vals = value.split('.');\n for (let x in vals) {\n let val = vals[x];\n while (3 > val.length) {\n val = '0' + val;\n }\n vals[x] = val;\n }\n return vals.join('.');\n}\n\nfunction sortIP(a, b) {\n let aa = ipAddress(a.value.toLowerCase());\n let bb = ipAddress(b.value.toLowerCase());\n if (aa === bb) {\n return 0;\n } else if (aa < bb) {\n return -1;\n } else {\n return 1;\n }\n}\n" }, { - "__docId__": 196, + "__docId__": 194, "kind": "class", "static": true, "variation": null, @@ -4356,7 +4380,7 @@ ] }, { - "__docId__": 197, + "__docId__": 195, "kind": "constructor", "static": false, "variation": null, @@ -4381,7 +4405,7 @@ "generator": false }, { - "__docId__": 198, + "__docId__": 196, "kind": "member", "static": false, "variation": null, @@ -4399,7 +4423,7 @@ } }, { - "__docId__": 199, + "__docId__": 197, "kind": "member", "static": false, "variation": null, @@ -4417,7 +4441,7 @@ } }, { - "__docId__": 200, + "__docId__": 198, "kind": "member", "static": false, "variation": null, @@ -4435,7 +4459,7 @@ } }, { - "__docId__": 201, + "__docId__": 199, "kind": "member", "static": false, "variation": null, @@ -4453,7 +4477,7 @@ } }, { - "__docId__": 202, + "__docId__": 200, "kind": "member", "static": false, "variation": null, @@ -4471,7 +4495,7 @@ } }, { - "__docId__": 203, + "__docId__": 201, "kind": "member", "static": false, "variation": null, @@ -4489,7 +4513,7 @@ } }, { - "__docId__": 204, + "__docId__": 202, "kind": "member", "static": false, "variation": null, @@ -4507,7 +4531,7 @@ } }, { - "__docId__": 205, + "__docId__": 203, "kind": "member", "static": false, "variation": null, @@ -4525,7 +4549,7 @@ } }, { - "__docId__": 206, + "__docId__": 204, "kind": "member", "static": false, "variation": null, @@ -4543,7 +4567,7 @@ } }, { - "__docId__": 207, + "__docId__": 205, "kind": "member", "static": false, "variation": null, @@ -4561,7 +4585,7 @@ } }, { - "__docId__": 208, + "__docId__": 206, "kind": "member", "static": false, "variation": null, @@ -4579,7 +4603,7 @@ } }, { - "__docId__": 209, + "__docId__": 207, "kind": "member", "static": false, "variation": null, @@ -4597,7 +4621,7 @@ } }, { - "__docId__": 210, + "__docId__": 208, "kind": "member", "static": false, "variation": null, @@ -4615,7 +4639,7 @@ } }, { - "__docId__": 211, + "__docId__": 209, "kind": "member", "static": false, "variation": null, @@ -4633,7 +4657,7 @@ } }, { - "__docId__": 212, + "__docId__": 210, "kind": "member", "static": false, "variation": null, @@ -4651,7 +4675,7 @@ } }, { - "__docId__": 213, + "__docId__": 211, "kind": "member", "static": false, "variation": null, @@ -4669,7 +4693,7 @@ } }, { - "__docId__": 214, + "__docId__": 212, "kind": "method", "static": false, "variation": null, @@ -4684,7 +4708,7 @@ "generator": false }, { - "__docId__": 215, + "__docId__": 213, "kind": "member", "static": false, "variation": null, @@ -4702,7 +4726,7 @@ } }, { - "__docId__": 216, + "__docId__": 214, "kind": "method", "static": false, "variation": null, @@ -4737,7 +4761,7 @@ "generator": false }, { - "__docId__": 217, + "__docId__": 215, "kind": "method", "static": false, "variation": null, @@ -4752,7 +4776,7 @@ "generator": false }, { - "__docId__": 218, + "__docId__": 216, "kind": "method", "static": false, "variation": null, @@ -4767,7 +4791,7 @@ "generator": false }, { - "__docId__": 219, + "__docId__": 217, "kind": "method", "static": false, "variation": null, @@ -4782,7 +4806,7 @@ "generator": false }, { - "__docId__": 220, + "__docId__": 218, "kind": "member", "static": false, "variation": null, @@ -4800,7 +4824,7 @@ } }, { - "__docId__": 221, + "__docId__": 219, "kind": "method", "static": false, "variation": null, @@ -4814,7 +4838,7 @@ "generator": false }, { - "__docId__": 222, + "__docId__": 220, "kind": "member", "static": false, "variation": null, @@ -4832,7 +4856,7 @@ } }, { - "__docId__": 223, + "__docId__": 221, "kind": "member", "static": false, "variation": null, @@ -4850,7 +4874,7 @@ } }, { - "__docId__": 224, + "__docId__": 222, "kind": "member", "static": false, "variation": null, @@ -4868,7 +4892,7 @@ } }, { - "__docId__": 225, + "__docId__": 223, "kind": "function", "static": true, "variation": null, @@ -4898,7 +4922,7 @@ "generator": false }, { - "__docId__": 226, + "__docId__": 224, "kind": "function", "static": true, "variation": null, @@ -4928,7 +4952,7 @@ "generator": false }, { - "__docId__": 227, + "__docId__": 225, "kind": "function", "static": true, "variation": null, @@ -4964,7 +4988,7 @@ "generator": false }, { - "__docId__": 228, + "__docId__": 226, "kind": "function", "static": true, "variation": null, @@ -4994,7 +5018,7 @@ "generator": false }, { - "__docId__": 229, + "__docId__": 227, "kind": "function", "static": true, "variation": null, @@ -5024,7 +5048,7 @@ "generator": false }, { - "__docId__": 230, + "__docId__": 228, "kind": "function", "static": true, "variation": null, @@ -5054,7 +5078,7 @@ "generator": false }, { - "__docId__": 231, + "__docId__": 229, "kind": "function", "static": true, "variation": null, @@ -5084,7 +5108,7 @@ "generator": false }, { - "__docId__": 232, + "__docId__": 230, "kind": "function", "static": true, "variation": null, @@ -5114,7 +5138,7 @@ "generator": false }, { - "__docId__": 233, + "__docId__": 231, "kind": "function", "static": true, "variation": null, @@ -5150,7 +5174,7 @@ "generator": false }, { - "__docId__": 234, + "__docId__": 232, "kind": "file", "static": true, "variation": null, @@ -5163,7 +5187,7 @@ "content": "import AdapterSortableTable from './adapterSortabletable';\nimport {root} from '../../root';\n\nif (!root.SortableTable) {\n require('script!sortabletable');\n}\n\nexport default AdapterSortableTable;\n" }, { - "__docId__": 235, + "__docId__": 233, "kind": "file", "static": true, "variation": null, @@ -5176,7 +5200,7 @@ "content": "\nconst NOTIMPLEMENTED = 'Not implemented.';\n\n/**\n * Base class defining the interface of a TableFilter feature\n */\nexport class Feature {\n /**\n * Creates an instance of Feature\n * @param {Object} tf TableFilter instance\n * @param {String} feature Feature name known by TableFilter\n */\n constructor(tf, feature) {\n /**\n * TableFilter instance\n * @type {TableFilter}\n */\n this.tf = tf;\n\n /**\n * Feature name\n * @type {String}\n */\n this.feature = feature;\n\n /**\n * TableFilter feature setting\n * @type {Boolean}\n */\n this.enabled = tf[feature];\n\n /**\n * TableFilter configuration\n * @type {Object}\n */\n this.config = tf.config();\n\n /**\n * TableFilter emitter instance\n * @type {Emitter}\n */\n this.emitter = tf.emitter;\n\n /**\n * Field indicating whether Feature is initialized\n * @type {Boolean}\n */\n this.initialized = false;\n }\n\n /**\n * Initialize the feature\n */\n init() {\n throw new Error(NOTIMPLEMENTED);\n }\n\n /**\n * Reset the feature after being disabled\n */\n reset() {\n this.enable();\n this.init();\n }\n\n /**\n * Destroy the feature\n */\n destroy() {\n throw new Error(NOTIMPLEMENTED);\n }\n\n /**\n * Enable the feature\n */\n enable() {\n this.enabled = true;\n }\n\n /**\n * Disable the feature\n */\n disable() {\n this.enabled = false;\n }\n\n /**\n * Indicate whether the feature is enabled or not\n * @returns {Boolean}\n */\n isEnabled() {\n return this.enabled;\n }\n}\n" }, { - "__docId__": 236, + "__docId__": 234, "kind": "variable", "static": true, "variation": null, @@ -5197,7 +5221,7 @@ } }, { - "__docId__": 237, + "__docId__": 235, "kind": "class", "static": true, "variation": null, @@ -5213,7 +5237,7 @@ "interface": false }, { - "__docId__": 238, + "__docId__": 236, "kind": "constructor", "static": false, "variation": null, @@ -5248,7 +5272,7 @@ "generator": false }, { - "__docId__": 239, + "__docId__": 237, "kind": "member", "static": false, "variation": null, @@ -5268,7 +5292,7 @@ } }, { - "__docId__": 240, + "__docId__": 238, "kind": "member", "static": false, "variation": null, @@ -5288,7 +5312,7 @@ } }, { - "__docId__": 241, + "__docId__": 239, "kind": "member", "static": false, "variation": null, @@ -5308,7 +5332,7 @@ } }, { - "__docId__": 242, + "__docId__": 240, "kind": "member", "static": false, "variation": null, @@ -5328,7 +5352,7 @@ } }, { - "__docId__": 243, + "__docId__": 241, "kind": "member", "static": false, "variation": null, @@ -5348,7 +5372,7 @@ } }, { - "__docId__": 244, + "__docId__": 242, "kind": "member", "static": false, "variation": null, @@ -5368,7 +5392,7 @@ } }, { - "__docId__": 245, + "__docId__": 243, "kind": "method", "static": false, "variation": null, @@ -5382,7 +5406,7 @@ "generator": false }, { - "__docId__": 246, + "__docId__": 244, "kind": "method", "static": false, "variation": null, @@ -5396,7 +5420,7 @@ "generator": false }, { - "__docId__": 247, + "__docId__": 245, "kind": "method", "static": false, "variation": null, @@ -5410,7 +5434,7 @@ "generator": false }, { - "__docId__": 248, + "__docId__": 246, "kind": "method", "static": false, "variation": null, @@ -5424,7 +5448,7 @@ "generator": false }, { - "__docId__": 249, + "__docId__": 247, "kind": "member", "static": false, "variation": null, @@ -5442,7 +5466,7 @@ } }, { - "__docId__": 250, + "__docId__": 248, "kind": "method", "static": false, "variation": null, @@ -5456,7 +5480,7 @@ "generator": false }, { - "__docId__": 251, + "__docId__": 249, "kind": "member", "static": false, "variation": null, @@ -5474,7 +5498,7 @@ } }, { - "__docId__": 252, + "__docId__": 250, "kind": "method", "static": false, "variation": null, @@ -5502,7 +5526,7 @@ "generator": false }, { - "__docId__": 253, + "__docId__": 251, "kind": "file", "static": true, "variation": null, @@ -5515,7 +5539,7 @@ "content": "/**\n * Misc helpers\n */\n\n/**\n * Returns a unformatted number\n * @param {String} Formatted number\n * @param {String} Format type, currently 'us' or 'eu'\n * @return {String} Unformatted number\n */\nexport const removeNbFormat = (data, format = 'us') => {\n let n = data;\n if (format.toLowerCase() === 'us') {\n n = + n.replace(/[^\\d\\.-]/g, '');\n } else {\n n = + n.replace(/[^\\d\\,-]/g, '').replace(',', '.');\n }\n return n;\n}\n" }, { - "__docId__": 254, + "__docId__": 252, "kind": "variable", "static": true, "variation": null, @@ -5565,7 +5589,7 @@ } }, { - "__docId__": 255, + "__docId__": 253, "kind": "file", "static": true, "variation": null, @@ -5578,7 +5602,7 @@ "content": "import {Feature} from '../feature';\nimport {addClass, removeClass} from '../dom';\n\n/**\n * Rows with alternating background color for improved readability\n */\nexport class AlternateRows extends Feature {\n\n /**\n * Creates an instance of AlternateRows.\n *\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'alternateRows');\n\n let config = this.config;\n /**\n * Css class for even rows (default: 'even')\n * @type {String}\n */\n this.evenCss = config.even_row_css_class || 'even';\n\n /**\n * Css class for odd rows (default: 'odd')\n * @type {String}\n */\n this.oddCss = config.odd_row_css_class || 'odd';\n }\n\n /**\n * Sets alternating rows color\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n this.processAll();\n\n // Subscribe to events\n this.emitter.on(['row-processed', 'row-paged'],\n (tf, rowIndex, arrIndex, isValid) =>\n this.processRow(rowIndex, arrIndex, isValid));\n this.emitter.on(['column-sorted'], () => this.processAll());\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Apply background to all valid rows\n */\n processAll() {\n if (!this.isEnabled()) {\n return;\n }\n let tf = this.tf;\n let validRowsIndex = tf.getValidRows(true);\n let indexLen = validRowsIndex.length;\n let idx = 0;\n\n //alternates bg color\n for (let j = 0; j < indexLen; j++) {\n let rowIdx = validRowsIndex[j];\n this.setRowBg(rowIdx, idx);\n idx++;\n }\n }\n\n /**\n * Set/remove row background based on row validation\n * @param {Number} rowIdx Row index\n * @param {Number} arrIdx Array index\n * @param {Boolean} isValid Valid row flag\n */\n processRow(rowIdx, arrIdx, isValid) {\n if (isValid) {\n this.setRowBg(rowIdx, arrIdx);\n } else {\n this.removeRowBg(rowIdx);\n }\n }\n\n /**\n * Sets row background color\n * @param {Number} rowIdx Row index\n * @param {Number} idx Valid rows collection index needed to calculate bg\n * color\n * @private\n */\n setRowBg(rowIdx, idx) {\n if (!this.isEnabled() || isNaN(rowIdx)) {\n return;\n }\n let rows = this.tf.tbl.rows;\n let i = isNaN(idx) ? rowIdx : idx;\n this.removeRowBg(rowIdx);\n\n addClass(rows[rowIdx], (i % 2) ? this.evenCss : this.oddCss);\n }\n\n /**\n * Removes row background color\n * @param {Number} idx Row index\n * @private\n */\n removeRowBg(idx) {\n if (isNaN(idx)) {\n return;\n }\n let rows = this.tf.tbl.rows;\n removeClass(rows[idx], this.oddCss);\n removeClass(rows[idx], this.evenCss);\n }\n\n /**\n * Removes all alternating backgrounds\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n let nbRows = this.tf.getRowsNb(true);\n for (let i = 0; i < nbRows; i++) {\n this.removeRowBg(i);\n }\n\n // Unsubscribe to events\n this.emitter.off(['row-processed', 'row-paged'],\n (tf, rowIndex, arrIndex, isValid) =>\n this.processRow(rowIndex, arrIndex, isValid));\n this.emitter.off(['column-sorted'], () => this.processAll());\n\n this.initialized = false;\n }\n\n}\n" }, { - "__docId__": 256, + "__docId__": 254, "kind": "class", "static": true, "variation": null, @@ -5597,7 +5621,7 @@ ] }, { - "__docId__": 257, + "__docId__": 255, "kind": "constructor", "static": false, "variation": null, @@ -5622,7 +5646,7 @@ "generator": false }, { - "__docId__": 258, + "__docId__": 256, "kind": "member", "static": false, "variation": null, @@ -5642,7 +5666,7 @@ } }, { - "__docId__": 259, + "__docId__": 257, "kind": "member", "static": false, "variation": null, @@ -5662,7 +5686,7 @@ } }, { - "__docId__": 260, + "__docId__": 258, "kind": "method", "static": false, "variation": null, @@ -5676,7 +5700,7 @@ "generator": false }, { - "__docId__": 261, + "__docId__": 259, "kind": "member", "static": false, "variation": null, @@ -5699,7 +5723,7 @@ } }, { - "__docId__": 262, + "__docId__": 260, "kind": "method", "static": false, "variation": null, @@ -5713,7 +5737,7 @@ "generator": false }, { - "__docId__": 263, + "__docId__": 261, "kind": "method", "static": false, "variation": null, @@ -5758,7 +5782,7 @@ "generator": false }, { - "__docId__": 264, + "__docId__": 262, "kind": "method", "static": false, "variation": null, @@ -5793,7 +5817,7 @@ "generator": false }, { - "__docId__": 265, + "__docId__": 263, "kind": "method", "static": false, "variation": null, @@ -5818,7 +5842,7 @@ "generator": false }, { - "__docId__": 266, + "__docId__": 264, "kind": "method", "static": false, "variation": null, @@ -5832,7 +5856,7 @@ "generator": false }, { - "__docId__": 267, + "__docId__": 265, "kind": "member", "static": false, "variation": null, @@ -5850,7 +5874,7 @@ } }, { - "__docId__": 268, + "__docId__": 266, "kind": "file", "static": true, "variation": null, @@ -5863,7 +5887,7 @@ "content": "import {Feature} from '../feature';\nimport {\n addClass, createCheckItem, createText, createElm, elm, getText,\n removeClass, tag\n} from '../dom';\nimport {has} from '../array';\nimport {matchCase, trim, rgxEsc} from '../string';\nimport {ignoreCase, numSortAsc, numSortDesc} from '../sort';\nimport {addEvt, removeEvt, targetEvt} from '../event';\nimport {isEmpty} from '../types';\nimport {CHECKLIST, NONE} from '../const';\n\nconst SORT_ERROR = 'Filter options for column {0} cannot be sorted in ' +\n '{1} manner.';\n\n/**\n * Checklist filter UI component\n */\nexport class CheckList extends Feature {\n\n /**\n * Creates an instance of CheckList\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'checkList');\n\n let f = this.config;\n\n /**\n * List of container DOM elements\n * @type {Array}\n */\n this.containers = [];\n\n /**\n * Css class for the container of the checklist filter (div)\n * @type {String}\n */\n this.containerCssClass = f.div_checklist_css_class || 'div_checklist';\n\n /**\n * Css class for the checklist filter element (ul)\n * @type {String}\n */\n this.filterCssClass = f.checklist_css_class || 'flt_checklist';\n\n /**\n * Css class for the item of a checklist (li)\n * @type {String}\n */\n this.itemCssClass = f.checklist_item_css_class || 'flt_checklist_item';\n\n /**\n * Css class for a selected item of a checklist (li)\n * @type {String}\n */\n this.selectedItemCssClass =\n f.checklist_selected_item_css_class || 'flt_checklist_slc_item';\n\n /**\n * Text placed in the filter's container when load filter on demand\n * feature is enabled\n * @type {String}\n */\n this.activateText =\n f.activate_checklist_text || 'Click to load filter data';\n\n /**\n * Css class for a disabled item of a checklist (li)\n * @type {String}\n */\n this.disabledItemCssClass = f.checklist_item_disabled_css_class ||\n 'flt_checklist_item_disabled';\n\n /**\n * Enable the reset filter option as first item\n * @type {Boolean}\n */\n this.enableResetOption = f.enable_checklist_reset_filter === false ?\n false : true;\n\n /**\n * Prefix for container element ID\n * @type {String}\n * @private\n */\n this.prfx = 'chkdiv_';\n\n /**\n * Has custom options\n * @type {Boolean}\n * @private\n */\n this.isCustom = false;\n\n /**\n * List of options values\n * @type {Array}\n * @private\n */\n this.opts = [];\n\n /**\n * List of options texts for custom values\n * @type {Array}\n * @private\n */\n this.optsTxt = [];\n\n /**\n * List of options to be excluded from the checklist filter\n * @type {Array}\n * @private\n */\n this.excludedOpts = [];\n }\n\n /**\n * Checklist option click event handler\n * @param {Event} evt\n */\n optionClick(evt) {\n let elm = targetEvt(evt);\n let tf = this.tf;\n\n this.emitter.emit('filter-focus', tf, elm);\n this.setCheckListValues(elm);\n tf.filter();\n }\n\n /**\n * Checklist container click event handler for load-on-demand feature\n * @param {Event} evt\n */\n onCheckListClick(evt) {\n let elm = targetEvt(evt);\n if (this.tf.loadFltOnDemand && elm.getAttribute('filled') === '0') {\n let ct = elm.getAttribute('ct');\n let div = this.containers[ct];\n this.build(ct);\n removeEvt(div, 'click', (evt) => this.onCheckListClick(evt));\n }\n }\n\n /**\n * Initialize checklist filter\n * @param {Number} colIndex Column index\n * @param {Boolean} isExternal External filter flag\n * @param {DOMElement} container Dom element containing the filter\n */\n init(colIndex, isExternal, container) {\n let tf = this.tf;\n let externalFltTgtId = isExternal ?\n tf.externalFltTgtIds[colIndex] : null;\n\n let divCont = createElm('div',\n ['id', this.prfx + colIndex + '_' + tf.id],\n ['ct', colIndex], ['filled', '0']);\n divCont.className = this.containerCssClass;\n\n //filter is appended in desired element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(divCont);\n } else {\n container.appendChild(divCont);\n }\n\n this.containers[colIndex] = divCont;\n tf.fltIds.push(tf.prfxFlt + colIndex + '_' + tf.id);\n\n if (!tf.loadFltOnDemand) {\n this.build(colIndex);\n } else {\n addEvt(divCont, 'click', (evt) => this.onCheckListClick(evt));\n divCont.appendChild(createText(this.activateText));\n }\n\n this.emitter.on(\n ['build-checklist-filter'],\n (tf, colIndex) => this.build(colIndex)\n );\n\n this.emitter.on(\n ['select-checklist-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Build checklist UI\n * @param {Number} colIndex Column index\n */\n build(colIndex) {\n let tf = this.tf;\n colIndex = parseInt(colIndex, 10);\n\n this.emitter.emit('before-populating-filter', tf, colIndex);\n\n this.opts = [];\n this.optsTxt = [];\n\n let flt = this.containers[colIndex];\n let ul = createElm('ul', ['id', tf.fltIds[colIndex]],\n ['colIndex', colIndex]);\n ul.className = this.filterCssClass;\n\n let rows = tf.tbl.rows;\n let nbRows = tf.getRowsNb(true);\n let caseSensitive = tf.caseSensitive;\n this.isCustom = tf.isCustomOptions(colIndex);\n\n let activeIdx;\n let activeFilterId = tf.getActiveFilterId();\n if (tf.linkedFilters && activeFilterId) {\n activeIdx = tf.getColumnIndexFromFilterId(activeFilterId);\n }\n\n let filteredDataCol = [];\n if (tf.linkedFilters && tf.disableExcludedOptions) {\n this.excludedOpts = [];\n }\n\n flt.innerHTML = '';\n\n for (let k = tf.refRow; k < nbRows; k++) {\n // always visible rows don't need to appear on selects as always\n // valid\n if (tf.hasVisibleRows && tf.visibleRows.indexOf(k) !== -1) {\n continue;\n }\n\n let cells = rows[k].cells;\n let ncells = cells.length;\n\n // checks if row has exact cell #\n if (ncells !== tf.nbCells || this.isCustom) {\n continue;\n }\n\n // this loop retrieves cell data\n for (let j = 0; j < ncells; j++) {\n // WTF: cyclomatic complexity hell :)\n if ((colIndex === j && (!tf.linkedFilters ||\n (tf.linkedFilters && tf.disableExcludedOptions))) ||\n (colIndex === j && tf.linkedFilters &&\n ((rows[k].style.display === '' && !tf.paging) ||\n (tf.paging && ((!activeIdx ||\n activeIdx === colIndex) ||\n (activeIdx !== colIndex &&\n tf.validRowsIndex.indexOf(k) !== -1)))))) {\n\n let cellData = tf.getCellData(cells[j]);\n //Vary Peter's patch\n let cellString = matchCase(cellData, caseSensitive);\n // checks if celldata is already in array\n if (!has(this.opts, cellString, caseSensitive)) {\n this.opts.push(cellData);\n }\n let filteredCol = filteredDataCol[j];\n if (tf.linkedFilters && tf.disableExcludedOptions) {\n if (!filteredCol) {\n filteredCol = tf.getFilteredDataCol(j);\n }\n if (!has(filteredCol, cellString, caseSensitive) &&\n !has(this.excludedOpts, cellString,\n caseSensitive)) {\n this.excludedOpts.push(cellData);\n }\n }\n }\n }\n }\n\n //Retrieves custom values\n if (this.isCustom) {\n let customValues = tf.getCustomOptions(colIndex);\n this.opts = customValues[0];\n this.optsTxt = customValues[1];\n }\n\n if (tf.sortSlc && !this.isCustom) {\n if (!caseSensitive) {\n this.opts.sort(ignoreCase);\n if (this.excludedOpts) {\n this.excludedOpts.sort(ignoreCase);\n }\n } else {\n this.opts.sort();\n if (this.excludedOpts) {\n this.excludedOpts.sort();\n }\n }\n }\n //asc sort\n if (tf.sortNumAsc.indexOf(colIndex) !== -1) {\n try {\n this.opts.sort(numSortAsc);\n if (this.excludedOpts) {\n this.excludedOpts.sort(numSortAsc);\n }\n if (this.isCustom) {\n this.optsTxt.sort(numSortAsc);\n }\n } catch (e) {\n throw new Error(SORT_ERROR.replace('{0}', colIndex)\n .replace('{1}', 'ascending'));\n }//in case there are alphanumeric values\n }\n //desc sort\n if (tf.sortNumDesc.indexOf(colIndex) !== -1) {\n try {\n this.opts.sort(numSortDesc);\n if (this.excludedOpts) {\n this.excludedOpts.sort(numSortDesc);\n }\n if (this.isCustom) {\n this.optsTxt.sort(numSortDesc);\n }\n } catch (e) {\n throw new Error(SORT_ERROR.replace('{0}', colIndex)\n .replace('{1}', 'descending'));\n }//in case there are alphanumeric values\n }\n\n this.addChecks(colIndex, ul);\n\n if (tf.loadFltOnDemand) {\n flt.innerHTML = '';\n }\n flt.appendChild(ul);\n flt.setAttribute('filled', '1');\n\n this.emitter.emit('after-populating-filter', tf, colIndex, flt);\n }\n\n /**\n * Add checklist options\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n */\n addChecks(colIndex, ul) {\n let tf = this.tf;\n let chkCt = this.addTChecks(colIndex, ul);\n\n for (let y = 0; y < this.opts.length; y++) {\n let val = this.opts[y]; //item value\n let lbl = this.isCustom ? this.optsTxt[y] : val; //item text\n let li = createCheckItem(tf.fltIds[colIndex] + '_' + (y + chkCt),\n val, lbl);\n li.className = this.itemCssClass;\n\n if (tf.linkedFilters && tf.disableExcludedOptions &&\n has(this.excludedOpts, matchCase(val, tf.caseSensitive),\n tf.caseSensitive)) {\n addClass(li, this.disabledItemCssClass);\n li.check.disabled = true;\n li.disabled = true;\n } else {\n addEvt(li.check, 'click', evt => this.optionClick(evt));\n }\n ul.appendChild(li);\n\n if (val === '') {\n //item is hidden\n li.style.display = NONE;\n }\n }\n }\n\n /**\n * Add checklist header option\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n */\n addTChecks(colIndex, ul) {\n let tf = this.tf;\n let chkCt = 1;\n let li0 = createCheckItem(tf.fltIds[colIndex] + '_0', '',\n tf.displayAllText);\n li0.className = this.itemCssClass;\n ul.appendChild(li0);\n\n addEvt(li0.check, 'click', evt => this.optionClick(evt));\n\n if (!this.enableResetOption) {\n li0.style.display = NONE;\n }\n\n if (tf.enableEmptyOption) {\n let li1 = createCheckItem(tf.fltIds[colIndex] + '_1',\n tf.emOperator, tf.emptyText);\n li1.className = this.itemCssClass;\n ul.appendChild(li1);\n addEvt(li1.check, 'click', evt => this.optionClick(evt));\n chkCt++;\n }\n\n if (tf.enableNonEmptyOption) {\n let li2 = createCheckItem(tf.fltIds[colIndex] + '_2', tf.nmOperator,\n tf.nonEmptyText);\n li2.className = this.itemCssClass;\n ul.appendChild(li2);\n addEvt(li2.check, 'click', evt => this.optionClick(evt));\n chkCt++;\n }\n return chkCt;\n }\n\n /**\n * Store checked options in DOM element attribute\n * @param {Object} o checklist option DOM element\n */\n setCheckListValues(o) {\n if (!o) {\n return;\n }\n\n let tf = this.tf;\n let chkValue = o.value; //checked item value\n // TODO: provide helper to extract column index, ugly!\n let chkIndex = parseInt(o.id.split('_')[2], 10);\n let colIdx = tf.getColumnIndexFromFilterId(o.id);\n let itemTag = 'LI';\n\n let n = tf.getFilterElement(parseInt(colIdx, 10));\n let li = n.childNodes[chkIndex];\n let colIndex = n.getAttribute('colIndex');\n let fltValue = n.getAttribute('value'); //filter value (ul tag)\n let fltIndexes = n.getAttribute('indexes'); //selected items (ul tag)\n\n if (o.checked) {\n //show all item\n if (chkValue === '') {\n if ((fltIndexes && fltIndexes !== '')) {\n //items indexes\n let indSplit = fltIndexes.split(tf.separator);\n //checked items loop\n for (let u = 0; u < indSplit.length; u++) {\n //checked item\n let cChk = elm(tf.fltIds[colIndex] + '_' +\n indSplit[u]);\n if (cChk) {\n cChk.checked = false;\n removeClass(n.childNodes[indSplit[u]],\n this.selectedItemCssClass);\n }\n }\n }\n n.setAttribute('value', '');\n n.setAttribute('indexes', '');\n\n } else {\n fltValue = (fltValue) ? fltValue : '';\n chkValue = trim(fltValue + ' ' + chkValue + ' ' +\n tf.orOperator);\n chkIndex = fltIndexes + chkIndex + tf.separator;\n n.setAttribute('value', chkValue);\n n.setAttribute('indexes', chkIndex);\n //1st option unchecked\n if (elm(tf.fltIds[colIndex] + '_0')) {\n elm(tf.fltIds[colIndex] + '_0').checked = false;\n }\n }\n\n if (li.nodeName === itemTag) {\n removeClass(n.childNodes[0], this.selectedItemCssClass);\n addClass(li, this.selectedItemCssClass);\n }\n } else { //removes values and indexes\n if (chkValue !== '') {\n let replaceValue = new RegExp(\n rgxEsc(chkValue + ' ' + tf.orOperator));\n fltValue = fltValue.replace(replaceValue, '');\n n.setAttribute('value', trim(fltValue));\n\n let replaceIndex = new RegExp(\n rgxEsc(chkIndex + tf.separator));\n fltIndexes = fltIndexes.replace(replaceIndex, '');\n n.setAttribute('indexes', fltIndexes);\n }\n if (li.nodeName === itemTag) {\n removeClass(li, this.selectedItemCssClass);\n }\n }\n }\n\n /**\n * Select filter options programmatically\n * @param {Number} colIndex Column index\n * @param {Array} values Array of option values to select\n */\n selectOptions(colIndex, values = []) {\n let tf = this.tf;\n let flt = tf.getFilterElement(colIndex);\n if (tf.getFilterType(colIndex) !== CHECKLIST || !flt) {\n return;\n }\n\n let lisNb = tag(flt, 'li').length;\n\n flt.setAttribute('value', '');\n flt.setAttribute('indexes', '');\n\n for (let k = 0; k < lisNb; k++) {\n let li = tag(flt, 'li')[k];\n let lbl = tag(li, 'label')[0];\n let chk = tag(li, 'input')[0];\n let lblTxt = matchCase(getText(lbl), tf.caseSensitive);\n\n if (lblTxt !== '' && has(values, lblTxt, tf.caseSensitive)) {\n chk.checked = true;\n } else {\n // Check non-empty-text or empty-text option\n if (values.indexOf(tf.nmOperator) !== -1 &&\n lblTxt === matchCase(tf.nonEmptyText, tf.caseSensitive)) {\n chk.checked = true;\n }\n else if (values.indexOf(tf.emOperator) !== -1 &&\n lblTxt === matchCase(tf.emptyText, tf.caseSensitive)) {\n chk.checked = true;\n } else {\n chk.checked = false;\n }\n }\n this.setCheckListValues(chk);\n }\n }\n\n /**\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Collection of selected values\n */\n getValues(colIndex) {\n let tf = this.tf;\n let flt = tf.getFilterElement(colIndex);\n let fltAttr = flt.getAttribute('value');\n let values = isEmpty(fltAttr) ? '' : fltAttr;\n\n //removes last operator ||\n values = values.substr(0, values.length - 3);\n //turn || separated values into array\n values = values.split(' ' + tf.orOperator + ' ');\n\n return values;\n }\n\n /**\n * Destroy CheckList instance\n */\n destroy() {\n this.emitter.off(\n ['build-checklist-filter'],\n (tf, colIndex, isExternal) => this.build(colIndex, isExternal)\n );\n this.emitter.off(\n ['select-checklist-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n }\n}\n" }, { - "__docId__": 269, + "__docId__": 267, "kind": "variable", "static": true, "variation": null, @@ -5884,7 +5908,7 @@ } }, { - "__docId__": 270, + "__docId__": 268, "kind": "class", "static": true, "variation": null, @@ -5903,7 +5927,7 @@ ] }, { - "__docId__": 271, + "__docId__": 269, "kind": "constructor", "static": false, "variation": null, @@ -5928,7 +5952,7 @@ "generator": false }, { - "__docId__": 272, + "__docId__": 270, "kind": "member", "static": false, "variation": null, @@ -5948,7 +5972,7 @@ } }, { - "__docId__": 273, + "__docId__": 271, "kind": "member", "static": false, "variation": null, @@ -5968,7 +5992,7 @@ } }, { - "__docId__": 274, + "__docId__": 272, "kind": "member", "static": false, "variation": null, @@ -5988,7 +6012,7 @@ } }, { - "__docId__": 275, + "__docId__": 273, "kind": "member", "static": false, "variation": null, @@ -6008,7 +6032,7 @@ } }, { - "__docId__": 276, + "__docId__": 274, "kind": "member", "static": false, "variation": null, @@ -6028,7 +6052,7 @@ } }, { - "__docId__": 277, + "__docId__": 275, "kind": "member", "static": false, "variation": null, @@ -6048,7 +6072,7 @@ } }, { - "__docId__": 278, + "__docId__": 276, "kind": "member", "static": false, "variation": null, @@ -6068,7 +6092,7 @@ } }, { - "__docId__": 279, + "__docId__": 277, "kind": "member", "static": false, "variation": null, @@ -6088,7 +6112,7 @@ } }, { - "__docId__": 280, + "__docId__": 278, "kind": "member", "static": false, "variation": null, @@ -6108,7 +6132,7 @@ } }, { - "__docId__": 281, + "__docId__": 279, "kind": "member", "static": false, "variation": null, @@ -6128,7 +6152,7 @@ } }, { - "__docId__": 282, + "__docId__": 280, "kind": "member", "static": false, "variation": null, @@ -6148,7 +6172,7 @@ } }, { - "__docId__": 283, + "__docId__": 281, "kind": "member", "static": false, "variation": null, @@ -6168,7 +6192,7 @@ } }, { - "__docId__": 284, + "__docId__": 282, "kind": "member", "static": false, "variation": null, @@ -6188,7 +6212,7 @@ } }, { - "__docId__": 285, + "__docId__": 283, "kind": "method", "static": false, "variation": null, @@ -6213,7 +6237,7 @@ "generator": false }, { - "__docId__": 286, + "__docId__": 284, "kind": "method", "static": false, "variation": null, @@ -6238,7 +6262,7 @@ "generator": false }, { - "__docId__": 287, + "__docId__": 285, "kind": "method", "static": false, "variation": null, @@ -6283,7 +6307,7 @@ "generator": false }, { - "__docId__": 288, + "__docId__": 286, "kind": "member", "static": false, "variation": null, @@ -6306,7 +6330,7 @@ } }, { - "__docId__": 289, + "__docId__": 287, "kind": "method", "static": false, "variation": null, @@ -6331,7 +6355,7 @@ "generator": false }, { - "__docId__": 290, + "__docId__": 288, "kind": "member", "static": false, "variation": null, @@ -6349,7 +6373,7 @@ } }, { - "__docId__": 291, + "__docId__": 289, "kind": "member", "static": false, "variation": null, @@ -6367,7 +6391,7 @@ } }, { - "__docId__": 292, + "__docId__": 290, "kind": "member", "static": false, "variation": null, @@ -6385,7 +6409,7 @@ } }, { - "__docId__": 293, + "__docId__": 291, "kind": "member", "static": false, "variation": null, @@ -6403,7 +6427,7 @@ } }, { - "__docId__": 294, + "__docId__": 292, "kind": "member", "static": false, "variation": null, @@ -6421,7 +6445,7 @@ } }, { - "__docId__": 295, + "__docId__": 293, "kind": "member", "static": false, "variation": null, @@ -6439,7 +6463,7 @@ } }, { - "__docId__": 296, + "__docId__": 294, "kind": "method", "static": false, "variation": null, @@ -6474,7 +6498,7 @@ "generator": false }, { - "__docId__": 297, + "__docId__": 295, "kind": "method", "static": false, "variation": null, @@ -6514,7 +6538,7 @@ "generator": false }, { - "__docId__": 298, + "__docId__": 296, "kind": "method", "static": false, "variation": null, @@ -6539,7 +6563,7 @@ "generator": false }, { - "__docId__": 299, + "__docId__": 297, "kind": "method", "static": false, "variation": null, @@ -6574,7 +6598,7 @@ "generator": false }, { - "__docId__": 300, + "__docId__": 298, "kind": "method", "static": false, "variation": null, @@ -6613,7 +6637,7 @@ "generator": false }, { - "__docId__": 301, + "__docId__": 299, "kind": "method", "static": false, "variation": null, @@ -6627,7 +6651,7 @@ "generator": false }, { - "__docId__": 302, + "__docId__": 300, "kind": "file", "static": true, "variation": null, @@ -6637,10 +6661,10 @@ "access": null, "description": null, "lineNumber": 1, - "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {addEvt} from '../event';\n\n/**\n * Clear button UI component\n */\nexport class ClearButton extends Feature {\n\n /**\n * Creates an instance of ClearButton\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'btnReset');\n\n let f = this.config;\n\n /**\n * Container element ID\n * @type {String}\n */\n this.targetId = f.btn_reset_target_id || null;\n\n /**\n * Clear button element\n * @type {DOMElement}\n * @private\n */\n this.element = null;\n\n /**\n * Text for the clear button\n * @type {String}\n */\n this.text = f.btn_reset_text || 'Reset';\n\n /**\n * Css class for reset button\n * @type {String}\n */\n this.cssClass = f.btn_reset_css_class || 'reset';\n\n /**\n * Tooltip text for the clear button\n * @type {String}\n */\n this.tooltip = f.btn_reset_tooltip || 'Clear filters';\n\n /**\n * Custom Html string for the clear button\n * @type {String}\n */\n this.html = f.btn_reset_html ||\n (!tf.enableIcons ? null :\n '');\n\n /**\n * Prefix for container ID\n * @type {String}\n * @private\n */\n this.prfxCont = 'resetspan_';\n }\n\n /**\n * Click event handler for clear button\n * @private\n */\n onClick() {\n if (!this.isEnabled()) {\n return;\n }\n this.tf.clearFilters();\n }\n\n /**\n * Initialize clear button component\n */\n init() {\n let tf = this.tf;\n\n if (this.initialized) {\n return;\n }\n\n let resetspan = createElm('span', ['id', this.prfxCont + tf.id]);\n\n // reset button is added to defined element\n if (!this.targetId) {\n tf.setToolbar();\n }\n let targetEl = !this.targetId ? tf.rDiv : elm(this.targetId);\n targetEl.appendChild(resetspan);\n\n if (!this.html) {\n let fltreset = createElm('a', ['href', 'javascript:void(0);']);\n fltreset.className = this.cssClass;\n fltreset.appendChild(createText(this.text));\n resetspan.appendChild(fltreset);\n addEvt(fltreset, 'click', () => this.onClick());\n } else {\n resetspan.innerHTML = this.html;\n let resetEl = resetspan.firstChild;\n addEvt(resetEl, 'click', () => this.onClick());\n }\n this.element = resetspan.firstChild;\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Destroy ClearButton instance\n */\n destroy() {\n let tf = this.tf;\n\n if (!this.initialized) {\n return;\n }\n\n let resetspan = elm(this.prfxCont + tf.id);\n if (resetspan) {\n removeElm(resetspan);\n }\n this.element = null;\n this.initialized = false;\n }\n}\n" + "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {addEvt} from '../event';\n\n/**\n * Clear button UI component\n */\nexport class ClearButton extends Feature {\n\n /**\n * Creates an instance of ClearButton\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'btnReset');\n\n let f = this.config;\n\n /**\n * Container element ID\n * @type {String}\n */\n this.targetId = f.btn_reset_target_id || null;\n\n /**\n * Clear button element\n * @type {DOMElement}\n * @private\n */\n this.element = null;\n\n /**\n * Text for the clear button\n * @type {String}\n */\n this.text = f.btn_reset_text || 'Reset';\n\n /**\n * Css class for reset button\n * @type {String}\n */\n this.cssClass = f.btn_reset_css_class || 'reset';\n\n /**\n * Tooltip text for the clear button\n * @type {String}\n */\n this.tooltip = f.btn_reset_tooltip || 'Clear filters';\n\n /**\n * Custom Html string for the clear button\n * @type {String}\n */\n this.html = f.btn_reset_html ||\n (!tf.enableIcons ? null :\n '');\n\n /**\n * Prefix for container ID\n * @type {String}\n * @private\n */\n this.prfxCont = 'resetspan_';\n }\n\n /**\n * Click event handler for clear button\n * @private\n */\n onClick() {\n if (!this.isEnabled()) {\n return;\n }\n this.tf.clearFilters();\n }\n\n /**\n * Initialize clear button component\n */\n init() {\n let tf = this.tf;\n\n if (this.initialized) {\n return;\n }\n\n let resetspan = createElm('span', ['id', this.prfxCont + tf.id]);\n\n // reset button is added to defined element\n if (!this.targetId) {\n tf.setToolbar();\n }\n let targetEl = !this.targetId ? tf.rDiv : elm(this.targetId);\n targetEl.appendChild(resetspan);\n\n if (!this.html) {\n let fltReset = createElm('a', ['href', 'javascript:void(0);']);\n fltReset.className = this.cssClass;\n fltReset.appendChild(createText(this.text));\n resetspan.appendChild(fltReset);\n addEvt(fltReset, 'click', () => this.onClick());\n } else {\n resetspan.innerHTML = this.html;\n let resetEl = resetspan.firstChild;\n addEvt(resetEl, 'click', () => this.onClick());\n }\n this.element = resetspan.firstChild;\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Destroy ClearButton instance\n */\n destroy() {\n let tf = this.tf;\n\n if (!this.initialized) {\n return;\n }\n\n let resetspan = elm(this.prfxCont + tf.id);\n if (resetspan) {\n removeElm(resetspan);\n }\n this.element = null;\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 303, + "__docId__": 301, "kind": "class", "static": true, "variation": null, @@ -6659,7 +6683,7 @@ ] }, { - "__docId__": 304, + "__docId__": 302, "kind": "constructor", "static": false, "variation": null, @@ -6684,7 +6708,7 @@ "generator": false }, { - "__docId__": 305, + "__docId__": 303, "kind": "member", "static": false, "variation": null, @@ -6704,7 +6728,7 @@ } }, { - "__docId__": 306, + "__docId__": 304, "kind": "member", "static": false, "variation": null, @@ -6724,7 +6748,7 @@ } }, { - "__docId__": 307, + "__docId__": 305, "kind": "member", "static": false, "variation": null, @@ -6744,7 +6768,7 @@ } }, { - "__docId__": 308, + "__docId__": 306, "kind": "member", "static": false, "variation": null, @@ -6764,7 +6788,7 @@ } }, { - "__docId__": 309, + "__docId__": 307, "kind": "member", "static": false, "variation": null, @@ -6784,7 +6808,7 @@ } }, { - "__docId__": 310, + "__docId__": 308, "kind": "member", "static": false, "variation": null, @@ -6804,7 +6828,7 @@ } }, { - "__docId__": 311, + "__docId__": 309, "kind": "member", "static": false, "variation": null, @@ -6824,7 +6848,7 @@ } }, { - "__docId__": 312, + "__docId__": 310, "kind": "method", "static": false, "variation": null, @@ -6838,7 +6862,7 @@ "generator": false }, { - "__docId__": 313, + "__docId__": 311, "kind": "method", "static": false, "variation": null, @@ -6852,7 +6876,7 @@ "generator": false }, { - "__docId__": 314, + "__docId__": 312, "kind": "member", "static": false, "variation": null, @@ -6870,7 +6894,7 @@ } }, { - "__docId__": 315, + "__docId__": 313, "kind": "member", "static": false, "variation": null, @@ -6893,7 +6917,7 @@ } }, { - "__docId__": 316, + "__docId__": 314, "kind": "method", "static": false, "variation": null, @@ -6907,7 +6931,7 @@ "generator": false }, { - "__docId__": 317, + "__docId__": 315, "kind": "member", "static": false, "variation": null, @@ -6925,7 +6949,7 @@ } }, { - "__docId__": 318, + "__docId__": 316, "kind": "member", "static": false, "variation": null, @@ -6943,7 +6967,7 @@ } }, { - "__docId__": 319, + "__docId__": 317, "kind": "file", "static": true, "variation": null, @@ -6956,7 +6980,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createOpt, elm} from '../dom';\nimport {has} from '../array';\nimport {matchCase} from '../string';\nimport {ignoreCase, numSortAsc, numSortDesc} from '../sort';\nimport {addEvt, targetEvt} from '../event';\nimport {SELECT, MULTIPLE, NONE} from '../const';\n\nconst SORT_ERROR = 'Filter options for column {0} cannot be sorted in ' +\n '{1} manner.';\n\n/**\n * Dropdown filter UI component\n */\nexport class Dropdown extends Feature {\n\n /**\n * Creates an instance of Dropdown\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'dropdown');\n\n // Configuration object\n let f = this.config;\n\n /**\n * Enable the reset filter option as first item\n * @type {Boolean}\n */\n this.enableSlcResetFilter = f.enable_slc_reset_filter === false ?\n false : true;\n\n /**\n * Non empty option text\n * @type {String}\n */\n this.nonEmptyText = f.non_empty_text || '(Non empty)';\n\n /**\n * Tooltip text appearing on multiple select\n * @type {String}\n */\n this.multipleSlcTooltip = f.multiple_slc_tooltip ||\n 'Use Ctrl/Cmd key for multiple selections';\n\n /**\n * Indicates drop-down has custom options\n * @private\n */\n this.isCustom = null;\n\n /**\n * List of options values\n * @type {Array}\n * @private\n */\n this.opts = null;\n\n /**\n * List of options texts for custom values\n * @type {Array}\n * @private\n */\n this.optsTxt = null;\n }\n\n\n /**\n * Drop-down filter focus event handler\n * @param {Event} e DOM Event\n * @private\n */\n onSlcFocus(e) {\n let elm = targetEvt(e);\n let tf = this.tf;\n // select is populated when element has focus\n if (tf.loadFltOnDemand && elm.getAttribute('filled') === '0') {\n let ct = elm.getAttribute('ct');\n this.build(ct);\n }\n this.emitter.emit('filter-focus', tf, elm);\n }\n\n /**\n * Drop-down filter change event handler\n * @private\n */\n onSlcChange() {\n if (this.tf.onSlcChange) {\n this.tf.filter();\n }\n }\n\n /**\n * Initialize drop-down filter\n * @param {Number} colIndex Column index\n * @param {Boolean} isExternal External filter flag\n * @param {DOMElement} container Dom element containing the filter\n */\n init(colIndex, isExternal, container) {\n let tf = this.tf;\n let col = tf.getFilterType(colIndex);\n let externalFltTgtId = isExternal ?\n tf.externalFltTgtIds[colIndex] : null;\n\n let slc = createElm(SELECT,\n ['id', tf.prfxFlt + colIndex + '_' + tf.id],\n ['ct', colIndex], ['filled', '0']\n );\n\n if (col === MULTIPLE) {\n slc.multiple = MULTIPLE;\n slc.title = this.multipleSlcTooltip;\n }\n slc.className = col.toLowerCase() === SELECT ?\n tf.fltCssClass : tf.fltMultiCssClass;\n\n //filter is appended in container element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(slc);\n } else {\n container.appendChild(slc);\n }\n\n tf.fltIds.push(slc.id);\n\n if (!tf.loadFltOnDemand) {\n this.build(colIndex);\n } else {\n //1st option is created here since build isn't invoked\n let opt0 = createOpt(tf.displayAllText, '');\n slc.appendChild(opt0);\n }\n\n addEvt(slc, 'change', () => this.onSlcChange());\n addEvt(slc, 'focus', (e) => this.onSlcFocus(e));\n\n this.emitter.on(\n ['build-select-filter'],\n (tf, colIndex, isLinked, isExternal) =>\n this.build(colIndex, isLinked, isExternal)\n );\n this.emitter.on(\n ['select-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Build drop-down filter UI\n * @param {Number} colIndex Column index\n * @param {Boolean} isLinked Enable linked refresh behaviour\n */\n build(colIndex, isLinked = false) {\n let tf = this.tf;\n colIndex = parseInt(colIndex, 10);\n\n this.emitter.emit('before-populating-filter', tf, colIndex);\n\n this.opts = [];\n this.optsTxt = [];\n\n let slcId = tf.fltIds[colIndex];\n let slc = elm(slcId);\n let rows = tf.tbl.rows;\n let nbRows = tf.getRowsNb(true);\n\n //custom select test\n this.isCustom = tf.isCustomOptions(colIndex);\n\n //custom selects text\n let activeIdx;\n let activeFilterId = tf.getActiveFilterId();\n if (isLinked && activeFilterId) {\n activeIdx = tf.getColumnIndexFromFilterId(activeFilterId);\n }\n\n let excludedOpts = null,\n filteredDataCol = null;\n if (isLinked && tf.disableExcludedOptions) {\n excludedOpts = [];\n filteredDataCol = [];\n }\n\n for (let k = tf.refRow; k < nbRows; k++) {\n // always visible rows don't need to appear on selects as always\n // valid\n if (tf.hasVisibleRows && tf.visibleRows.indexOf(k) !== -1) {\n continue;\n }\n\n let cell = rows[k].cells,\n nchilds = cell.length;\n\n // checks if row has exact cell #\n if (nchilds !== tf.nbCells || this.isCustom) {\n continue;\n }\n\n // this loop retrieves cell data\n for (let j = 0; j < nchilds; j++) {\n // WTF: cyclomatic complexity hell\n // TODO: simplify hell below\n if ((colIndex === j &&\n (!isLinked ||\n (isLinked && tf.disableExcludedOptions))) ||\n (colIndex === j && isLinked &&\n ((rows[k].style.display === '' && !tf.paging) ||\n (tf.paging && (!tf.validRowsIndex ||\n (tf.validRowsIndex &&\n tf.validRowsIndex.indexOf(k) !== -1)) &&\n ((activeIdx === undefined ||\n activeIdx === colIndex) ||\n (activeIdx !== colIndex &&\n tf.validRowsIndex.indexOf(k) !== -1)))))) {\n let cellData = tf.getCellData(cell[j]),\n //Vary Peter's patch\n cellString = matchCase(cellData, tf.caseSensitive);\n\n // checks if celldata is already in array\n if (!has(this.opts, cellString, tf.caseSensitive)) {\n this.opts.push(cellData);\n }\n\n if (isLinked && tf.disableExcludedOptions) {\n let filteredCol = filteredDataCol[j];\n if (!filteredCol) {\n filteredCol = tf.getFilteredDataCol(j);\n }\n if (!has(filteredCol, cellString, tf.caseSensitive) &&\n !has(excludedOpts, cellString, tf.caseSensitive)) {\n excludedOpts.push(cellData);\n }\n }\n }//if colIndex==j\n }//for j\n }//for k\n\n //Retrieves custom values\n if (this.isCustom) {\n let customValues = tf.getCustomOptions(colIndex);\n this.opts = customValues[0];\n this.optsTxt = customValues[1];\n }\n\n if (tf.sortSlc && !this.isCustom) {\n if (!tf.caseSensitive) {\n this.opts.sort(ignoreCase);\n if (excludedOpts) {\n excludedOpts.sort(ignoreCase);\n }\n } else {\n this.opts.sort();\n if (excludedOpts) { excludedOpts.sort(); }\n }\n }\n\n //asc sort\n if (tf.sortNumAsc.indexOf(colIndex) !== -1) {\n try {\n this.opts.sort(numSortAsc);\n if (excludedOpts) {\n excludedOpts.sort(numSortAsc);\n }\n if (this.isCustom) {\n this.optsTxt.sort(numSortAsc);\n }\n } catch (e) {\n throw new Error(SORT_ERROR.replace('{0}', colIndex)\n .replace('{1}', 'ascending'));\n }//in case there are alphanumeric values\n }\n //desc sort\n if (tf.sortNumDesc.indexOf(colIndex) !== -1) {\n try {\n this.opts.sort(numSortDesc);\n if (excludedOpts) {\n excludedOpts.sort(numSortDesc);\n }\n if (this.isCustom) {\n this.optsTxt.sort(numSortDesc);\n }\n } catch (e) {\n throw new Error(SORT_ERROR.replace('{0}', colIndex)\n .replace('{1}', 'ascending'));\n }//in case there are alphanumeric values\n }\n\n //populates drop-down\n this.addOptions(colIndex, slc, isLinked, excludedOpts);\n\n this.emitter.emit('after-populating-filter', tf, colIndex, slc);\n }\n\n /**\n * Add drop-down options\n * @param {Number} colIndex Column index\n * @param {Object} slc Select Dom element\n * @param {Boolean} isLinked Enable linked refresh behaviour\n * @param {Array} excludedOpts Array of excluded options\n */\n addOptions(colIndex, slc, isLinked, excludedOpts) {\n let tf = this.tf,\n slcValue = slc.value;\n\n slc.innerHTML = '';\n slc = this.addFirstOption(slc);\n\n for (let y = 0; y < this.opts.length; y++) {\n if (this.opts[y] === '') {\n continue;\n }\n let val = this.opts[y]; //option value\n let lbl = this.isCustom ? this.optsTxt[y] : val; //option text\n let isDisabled = false;\n if (isLinked && tf.disableExcludedOptions &&\n has(excludedOpts, matchCase(val, tf.caseSensitive),\n tf.caseSensitive)) {\n isDisabled = true;\n }\n\n let opt;\n //fill select on demand\n if (tf.loadFltOnDemand && slcValue === this.opts[y] &&\n tf.getFilterType(colIndex) === SELECT) {\n opt = createOpt(lbl, val, true);\n } else {\n opt = createOpt(lbl, val, false);\n }\n if (isDisabled) {\n opt.disabled = true;\n }\n slc.appendChild(opt);\n }// for y\n\n slc.setAttribute('filled', '1');\n }\n\n /**\n * Add drop-down header option\n * @param {Object} slc Select DOM element\n */\n addFirstOption(slc) {\n let tf = this.tf;\n\n let opt0 = createOpt(\n (!this.enableSlcResetFilter ? '' : tf.displayAllText), '');\n if (!this.enableSlcResetFilter) {\n opt0.style.display = NONE;\n }\n slc.appendChild(opt0);\n if (tf.enableEmptyOption) {\n let opt1 = createOpt(tf.emptyText, tf.emOperator);\n slc.appendChild(opt1);\n }\n if (tf.enableNonEmptyOption) {\n let opt2 = createOpt(tf.nonEmptyText, tf.nmOperator);\n slc.appendChild(opt2);\n }\n return slc;\n }\n\n /**\n * Select filter options programmatically\n * @param {Number} colIndex Column index\n * @param {Array} values Array of option values to select\n */\n selectOptions(colIndex, values = []) {\n let tf = this.tf;\n if (tf.getFilterType(colIndex) !== MULTIPLE || values.length === 0) {\n return;\n }\n let slc = tf.getFilterElement(colIndex);\n [].forEach.call(slc.options, (option) => {\n // Empty value means clear all selections and first option is the\n // clear all option\n if (values[0] === '' || option.value === '') {\n option.selected = false;\n }\n\n if (option.value !== '' && has(values, option.value, true)) {\n option.selected = true;\n }//if\n });\n }\n\n /**\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Array of selected values\n */\n getValues(colIndex) {\n let tf = this.tf;\n let slc = tf.getFilterElement(colIndex);\n let values = [];\n\n // IE >= 9 does not support the selectedOptions property :(\n if (slc.selectedOptions) {\n [].forEach.call(slc.selectedOptions,\n option => values.push(option.value));\n } else {\n [].forEach.call(slc.options, (option) => {\n if (option.selected) {\n values.push(option.value);\n }\n });\n }\n\n return values;\n }\n\n /**\n * Destroy Dropdown instance\n */\n destroy() {\n this.emitter.off(\n ['build-select-filter'],\n (colIndex, isLinked, isExternal) =>\n this.build(colIndex, isLinked, isExternal)\n );\n this.emitter.off(\n ['select-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n }\n}\n" }, { - "__docId__": 320, + "__docId__": 318, "kind": "variable", "static": true, "variation": null, @@ -6977,7 +7001,7 @@ } }, { - "__docId__": 321, + "__docId__": 319, "kind": "class", "static": true, "variation": null, @@ -6996,7 +7020,7 @@ ] }, { - "__docId__": 322, + "__docId__": 320, "kind": "constructor", "static": false, "variation": null, @@ -7021,7 +7045,7 @@ "generator": false }, { - "__docId__": 323, + "__docId__": 321, "kind": "member", "static": false, "variation": null, @@ -7041,7 +7065,7 @@ } }, { - "__docId__": 324, + "__docId__": 322, "kind": "member", "static": false, "variation": null, @@ -7061,7 +7085,7 @@ } }, { - "__docId__": 325, + "__docId__": 323, "kind": "member", "static": false, "variation": null, @@ -7081,7 +7105,7 @@ } }, { - "__docId__": 326, + "__docId__": 324, "kind": "member", "static": false, "variation": null, @@ -7098,7 +7122,7 @@ } }, { - "__docId__": 327, + "__docId__": 325, "kind": "member", "static": false, "variation": null, @@ -7118,7 +7142,7 @@ } }, { - "__docId__": 328, + "__docId__": 326, "kind": "member", "static": false, "variation": null, @@ -7138,7 +7162,7 @@ } }, { - "__docId__": 329, + "__docId__": 327, "kind": "method", "static": false, "variation": null, @@ -7163,7 +7187,7 @@ "generator": false }, { - "__docId__": 330, + "__docId__": 328, "kind": "method", "static": false, "variation": null, @@ -7177,7 +7201,7 @@ "generator": false }, { - "__docId__": 331, + "__docId__": 329, "kind": "method", "static": false, "variation": null, @@ -7222,7 +7246,7 @@ "generator": false }, { - "__docId__": 332, + "__docId__": 330, "kind": "member", "static": false, "variation": null, @@ -7245,7 +7269,7 @@ } }, { - "__docId__": 333, + "__docId__": 331, "kind": "method", "static": false, "variation": null, @@ -7280,7 +7304,7 @@ "generator": false }, { - "__docId__": 334, + "__docId__": 332, "kind": "member", "static": false, "variation": null, @@ -7298,7 +7322,7 @@ } }, { - "__docId__": 335, + "__docId__": 333, "kind": "member", "static": false, "variation": null, @@ -7316,7 +7340,7 @@ } }, { - "__docId__": 336, + "__docId__": 334, "kind": "member", "static": false, "variation": null, @@ -7334,7 +7358,7 @@ } }, { - "__docId__": 337, + "__docId__": 335, "kind": "member", "static": false, "variation": null, @@ -7352,7 +7376,7 @@ } }, { - "__docId__": 338, + "__docId__": 336, "kind": "member", "static": false, "variation": null, @@ -7370,7 +7394,7 @@ } }, { - "__docId__": 339, + "__docId__": 337, "kind": "method", "static": false, "variation": null, @@ -7425,7 +7449,7 @@ "generator": false }, { - "__docId__": 340, + "__docId__": 338, "kind": "method", "static": false, "variation": null, @@ -7455,7 +7479,7 @@ "generator": false }, { - "__docId__": 341, + "__docId__": 339, "kind": "method", "static": false, "variation": null, @@ -7490,7 +7514,7 @@ "generator": false }, { - "__docId__": 342, + "__docId__": 340, "kind": "method", "static": false, "variation": null, @@ -7529,7 +7553,7 @@ "generator": false }, { - "__docId__": 343, + "__docId__": 341, "kind": "method", "static": false, "variation": null, @@ -7543,7 +7567,7 @@ "generator": false }, { - "__docId__": 344, + "__docId__": 342, "kind": "file", "static": true, "variation": null, @@ -7556,7 +7580,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, removeElm, elm, tag} from '../dom';\nimport {addEvt, targetEvt} from '../event';\nimport {contains} from '../string';\nimport {NONE} from '../const';\n\n/**\n * Grid layout, table with fixed headers\n */\nexport class GridLayout extends Feature {\n\n /**\n * Creates an instance of GridLayout\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'gridLayout');\n\n let f = this.config;\n\n /**\n * Grid-layout container width as CSS string\n * @type {String}\n */\n this.width = f.grid_width || null;\n\n /**\n * Grid-layout container height as CSS string\n * @type {String}\n */\n this.height = f.grid_height || null;\n\n /**\n * Css class for main container element\n * @type {String}\n */\n this.mainContCssClass = f.grid_cont_css_class || 'grd_Cont';\n\n /**\n * Css class for body table container element\n * @type {String}\n */\n this.contCssClass = f.grid_tbl_cont_css_class || 'grd_tblCont';\n\n /**\n * Css class for headers table container element\n * @type {String}\n */\n this.headContCssClass = f.grid_tblHead_cont_css_class ||\n 'grd_headTblCont';\n\n /**\n * Css class for toolbar container element (rows counter, paging etc.)\n * @type {String}\n */\n this.infDivCssClass = f.grid_inf_grid_css_class || 'grd_inf';\n\n /**\n * Index of the headers row, default: 0\n * @type {Number}\n */\n this.headRowIndex = f.grid_headers_row_index || 0;\n\n /**\n * Collection of the header row indexes to be moved into headers table\n * @type {Array}\n */\n this.headRows = f.grid_headers_rows || [0];\n\n /**\n * Enable or disable column filters generation, default: true\n * @type {Boolean}\n */\n this.enableFilters = f.grid_enable_default_filters === false ?\n false : true;\n\n /**\n * Enable or disable column headers, default: false\n * @type {Boolean}\n */\n this.noHeaders = Boolean(f.grid_no_headers);\n\n /**\n * Grid-layout default column widht as CSS string\n * @type {String}\n */\n this.defaultColWidth = f.grid_default_col_width || '100px';\n\n /**\n * List of column elements\n * @type {Array}\n * @private\n */\n this.colElms = [];\n\n /**\n * Prefix for grid-layout main container ID\n * @type {String}\n * @private\n */\n this.prfxMainTblCont = 'gridCont_';\n\n /**\n * Prefix for grid-layout body table container ID\n * @type {String}\n * @private\n */\n this.prfxTblCont = 'tblCont_';\n\n /**\n * Prefix for grid-layout headers table container ID\n * @type {String}\n * @private\n */\n this.prfxHeadTblCont = 'tblHeadCont_';\n\n /**\n * Prefix for grid-layout headers table ID\n * @type {String}\n * @private\n */\n this.prfxHeadTbl = 'tblHead_';\n\n /**\n * Prefix for grid-layout filter's cell ID\n * @type {String}\n * @private\n */\n this.prfxGridFltTd = '_td_';\n\n /**\n * Prefix for grid-layout header's cell ID\n * @type {String}\n * @private\n */\n this.prfxGridTh = 'tblHeadTh_';\n\n /**\n * Mark-up of original HTML table\n * @type {String}\n * @private\n */\n this.sourceTblHtml = tf.tbl.outerHTML;\n\n /**\n * Indicates if working table has column elements\n * @type {Boolean}\n * @private\n */\n this.tblHasColTag = tag(tf.tbl, 'col').length > 0 ? true : false;\n\n // filters flag at TF level\n tf.fltGrid = this.enableFilters;\n }\n\n /**\n * Generates a grid with fixed headers\n * TODO: reduce size of init by extracting single purposed methods\n */\n init() {\n let tf = this.tf;\n let tbl = tf.tbl;\n\n if (this.initialized) {\n return;\n }\n\n // Override relevant TableFilter properties\n this.setOverrides();\n\n // Assign default column widths\n this.setDefaultColWidths();\n\n // Initial table width\n let tblW = this.initialTableWidth();\n\n //Main container: it will contain all the elements\n this.tblMainCont = this.createContainer(this.prfxMainTblCont + tf.id,\n 'div', this.mainContCssClass);\n if (this.width) {\n this.tblMainCont.style.width = this.width;\n }\n tbl.parentNode.insertBefore(this.tblMainCont, tbl);\n\n //Table container: div wrapping content table\n this.tblCont = this.createContainer(this.prfxTblCont + tf.id, 'div',\n this.contCssClass);\n this.setConfigWidth(this.tblCont);\n if (this.height) {\n this.tblCont.style.height = this.height;\n }\n tbl.parentNode.insertBefore(this.tblCont, tbl);\n let t = removeElm(tbl);\n this.tblCont.appendChild(t);\n\n //In case table width is expressed in %\n if (tbl.style.width === '') {\n tbl.style.width = (contains('%', tblW) ?\n tbl.clientWidth : tblW) + 'px';\n }\n\n let d = removeElm(this.tblCont);\n this.tblMainCont.appendChild(d);\n\n //Headers table container: div wrapping headers table\n this.headTblCont = this.createContainer(this.prfxHeadTblCont + tf.id,\n 'div', this.headContCssClass);\n this.setConfigWidth(this.headTblCont);\n\n //Headers table\n this.headTbl = createElm('table', ['id', this.prfxHeadTbl + tf.id]);\n let tH = createElm('tHead');\n\n //1st row should be headers row, ids are added if not set\n //Those ids are used by the sort feature\n let hRow = tbl.rows[this.headRowIndex];\n let sortTriggers = this.getSortTriggerIds(hRow);\n\n //Filters row is created\n let filtersRow = this.createFiltersRow();\n\n //Headers row are moved from content table to headers table\n this.setHeadersRow(tH);\n\n this.headTbl.appendChild(tH);\n if (tf.filtersRowIndex === 0) {\n tH.insertBefore(filtersRow, hRow);\n } else {\n tH.appendChild(filtersRow);\n }\n\n this.headTblCont.appendChild(this.headTbl);\n this.tblCont.parentNode.insertBefore(this.headTblCont, this.tblCont);\n\n //THead needs to be removed in content table for sort feature\n let thead = tag(tbl, 'thead');\n if (thead.length > 0) {\n tbl.removeChild(thead[0]);\n }\n\n //Headers table style\n this.headTbl.style.tableLayout = 'fixed';\n tbl.style.tableLayout = 'fixed';\n this.headTbl.cellPadding = tbl.cellPadding;\n this.headTbl.cellSpacing = tbl.cellSpacing;\n // this.headTbl.style.width = tbl.style.width;\n\n //content table without headers needs col widths to be reset\n tf.setColWidths(this.headTbl);\n\n //Headers container width\n // this.headTblCont.style.width = this.tblCont.clientWidth+'px';\n\n tbl.style.width = '';\n //\n this.headTbl.style.width = tbl.clientWidth + 'px';\n //\n\n //scroll synchronisation\n addEvt(this.tblCont, 'scroll', (evt) => {\n let elm = targetEvt(evt);\n let scrollLeft = elm.scrollLeft;\n this.headTblCont.scrollLeft = scrollLeft;\n //New pointerX calc taking into account scrollLeft\n // if(!o.isPointerXOverwritten){\n // try{\n // o.Evt.pointerX = function(evt){\n // let e = evt || global.event;\n // let bdScrollLeft = tf_StandardBody().scrollLeft +\n // scrollLeft;\n // return (e.pageX + scrollLeft) ||\n // (e.clientX + bdScrollLeft);\n // };\n // o.isPointerXOverwritten = true;\n // } catch(err) {\n // o.isPointerXOverwritten = false;\n // }\n // }\n });\n\n // TODO: Trigger a custom event handled by sort extension\n let sort = tf.extension('sort');\n if (sort) {\n sort.asyncSort = true;\n sort.triggerIds = sortTriggers;\n }\n\n //Col elements are enough to keep column widths after sorting and\n //filtering\n this.setColumnElements();\n\n if (tf.popupFilters) {\n filtersRow.style.display = NONE;\n }\n\n if (tbl.clientWidth !== this.headTbl.clientWidth) {\n tbl.style.width = this.headTbl.clientWidth + 'px';\n }\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Overrides TableFilter instance properties to adjust to grid layout mode\n * @private\n */\n setOverrides() {\n let tf = this.tf;\n tf.refRow = 0;\n tf.headersRow = 0;\n tf.filtersRowIndex = 1;\n tf.isExternalFlt = true;\n }\n\n /**\n * Set grid-layout default column widths if column widths are not defined\n * @private\n */\n setDefaultColWidths() {\n let tf = this.tf;\n if (tf.hasColWidths) {\n return;\n }\n for (let k = 0, len = tf.getCellsNb(); k < len; k++) {\n let colW;\n let cell = tf.tbl.rows[tf.getHeadersRowIndex()].cells[k];\n if (cell.width !== '') {\n colW = cell.width;\n } else if (cell.style.width !== '') {\n colW = parseInt(cell.style.width, 10);\n } else {\n colW = this.defaultColWidth;\n }\n tf.colWidths[k] = colW;\n }\n tf.hasColWidths = true;\n tf.setColWidths();\n }\n\n /**\n * Initial table width\n * @returns {Number}\n * @private\n */\n initialTableWidth() {\n let tbl = this.tf.tbl;\n let width; //initial table width\n\n if (tbl.width !== '') {\n width = tbl.width;\n }\n else if (tbl.style.width !== '') {\n width = tbl.style.width;\n } else {\n width = tbl.clientWidth;\n }\n return parseInt(width, 10);\n }\n\n /**\n * Creates container element\n * @param {String} id Element ID\n * @param {String} tag Tag name\n * @param {String} className Css class to assign to element\n * @returns {DOMElement}\n * @private\n */\n createContainer(id, tag, className) {\n let element = createElm(tag, ['id', id]);\n element.className = className;\n return element;\n }\n\n /**\n * Creates filters row with cells\n * @returns {HTMLTableRowElement}\n * @private\n */\n createFiltersRow() {\n let tf = this.tf;\n let filtersRow = createElm('tr');\n if (this.enableFilters && tf.fltGrid) {\n tf.externalFltTgtIds = [];\n for (let j = 0; j < tf.getCellsNb(); j++) {\n let fltTdId = tf.prfxFlt + j + this.prfxGridFltTd + tf.id;\n let cl = createElm(tf.fltCellTag, ['id', fltTdId]);\n filtersRow.appendChild(cl);\n tf.externalFltTgtIds[j] = fltTdId;\n }\n }\n return filtersRow;\n }\n\n /**\n * Generates column elements if necessary and assigns their widths\n * @private\n */\n setColumnElements() {\n let tf = this.tf;\n let cols = tag(tf.tbl, 'col');\n this.tblHasColTag = cols.length > 0;\n\n for (let k = (tf.nbCells - 1); k >= 0; k--) {\n let col;\n let id = `${tf.id}_col_${k}`;\n\n if (!this.tblHasColTag) {\n col = createElm('col', ['id', id]);\n tf.tbl.insertBefore(col, tf.tbl.firstChild);\n } else {\n col = cols[k];\n col.setAttribute('id', id);\n }\n col.style.width = tf.colWidths[k];\n this.colElms[k] = col;\n }\n this.tblHasColTag = true;\n }\n\n /**\n * Sets headers row in headers table\n * @param {HTMLHeadElement} tableHead Table head element\n * @private\n */\n setHeadersRow(tableHead) {\n if (this.noHeaders) {\n // Handle table with no headers, assuming here headers do not\n // exist\n tableHead.appendChild(createElm('tr'));\n } else {\n // Headers row are moved from content table to headers table\n for (let i = 0; i < this.headRows.length; i++) {\n let row = this.tf.tbl.rows[this.headRows[i]];\n tableHead.appendChild(row);\n }\n }\n }\n\n /**\n * Sets width defined in configuration to passed element\n * @param {DOMElement} element DOM element\n * @private\n */\n setConfigWidth(element) {\n if (!this.width) {\n return;\n }\n if (this.width.indexOf('%') !== -1) {\n element.style.width = '100%';\n } else {\n element.style.width = this.width;\n }\n }\n\n /**\n * Returns a list of header IDs used for specifing external sort triggers\n * @param {HTMLTableRowElement} row DOM row element\n * @returns {Array} List of IDs\n * @private\n */\n getSortTriggerIds(row) {\n let tf = this.tf;\n let sortTriggers = [];\n for (let n = 0; n < tf.getCellsNb(); n++) {\n let c = row.cells[n];\n let thId = c.getAttribute('id');\n if (!thId || thId === '') {\n thId = this.prfxGridTh + n + '_' + tf.id;\n c.setAttribute('id', thId);\n }\n sortTriggers.push(thId);\n }\n return sortTriggers;\n }\n\n /**\n * Removes the grid layout\n */\n destroy() {\n let tf = this.tf;\n let tbl = tf.tbl;\n\n if (!this.initialized) {\n return;\n }\n let t = removeElm(tbl);\n this.tblMainCont.parentNode.insertBefore(t, this.tblMainCont);\n removeElm(this.tblMainCont);\n\n this.tblMainCont = null;\n this.headTblCont = null;\n this.headTbl = null;\n this.tblCont = null;\n\n tbl.outerHTML = this.sourceTblHtml;\n //needed to keep reference of table element for future usage\n this.tf.tbl = elm(tf.id);\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 345, + "__docId__": 343, "kind": "class", "static": true, "variation": null, @@ -7575,7 +7599,7 @@ ] }, { - "__docId__": 346, + "__docId__": 344, "kind": "constructor", "static": false, "variation": null, @@ -7600,7 +7624,7 @@ "generator": false }, { - "__docId__": 347, + "__docId__": 345, "kind": "member", "static": false, "variation": null, @@ -7620,7 +7644,7 @@ } }, { - "__docId__": 348, + "__docId__": 346, "kind": "member", "static": false, "variation": null, @@ -7640,7 +7664,7 @@ } }, { - "__docId__": 349, + "__docId__": 347, "kind": "member", "static": false, "variation": null, @@ -7660,7 +7684,7 @@ } }, { - "__docId__": 350, + "__docId__": 348, "kind": "member", "static": false, "variation": null, @@ -7680,7 +7704,7 @@ } }, { - "__docId__": 351, + "__docId__": 349, "kind": "member", "static": false, "variation": null, @@ -7700,7 +7724,7 @@ } }, { - "__docId__": 352, + "__docId__": 350, "kind": "member", "static": false, "variation": null, @@ -7720,7 +7744,7 @@ } }, { - "__docId__": 353, + "__docId__": 351, "kind": "member", "static": false, "variation": null, @@ -7740,7 +7764,7 @@ } }, { - "__docId__": 354, + "__docId__": 352, "kind": "member", "static": false, "variation": null, @@ -7760,7 +7784,7 @@ } }, { - "__docId__": 355, + "__docId__": 353, "kind": "member", "static": false, "variation": null, @@ -7780,7 +7804,7 @@ } }, { - "__docId__": 356, + "__docId__": 354, "kind": "member", "static": false, "variation": null, @@ -7800,7 +7824,7 @@ } }, { - "__docId__": 357, + "__docId__": 355, "kind": "member", "static": false, "variation": null, @@ -7820,7 +7844,7 @@ } }, { - "__docId__": 358, + "__docId__": 356, "kind": "member", "static": false, "variation": null, @@ -7840,7 +7864,7 @@ } }, { - "__docId__": 359, + "__docId__": 357, "kind": "member", "static": false, "variation": null, @@ -7860,7 +7884,7 @@ } }, { - "__docId__": 360, + "__docId__": 358, "kind": "member", "static": false, "variation": null, @@ -7880,7 +7904,7 @@ } }, { - "__docId__": 361, + "__docId__": 359, "kind": "member", "static": false, "variation": null, @@ -7900,7 +7924,7 @@ } }, { - "__docId__": 362, + "__docId__": 360, "kind": "member", "static": false, "variation": null, @@ -7920,7 +7944,7 @@ } }, { - "__docId__": 363, + "__docId__": 361, "kind": "member", "static": false, "variation": null, @@ -7940,7 +7964,7 @@ } }, { - "__docId__": 364, + "__docId__": 362, "kind": "member", "static": false, "variation": null, @@ -7960,7 +7984,7 @@ } }, { - "__docId__": 365, + "__docId__": 363, "kind": "member", "static": false, "variation": null, @@ -7980,7 +8004,7 @@ } }, { - "__docId__": 366, + "__docId__": 364, "kind": "member", "static": false, "variation": null, @@ -8000,7 +8024,7 @@ } }, { - "__docId__": 367, + "__docId__": 365, "kind": "method", "static": false, "variation": null, @@ -8014,7 +8038,7 @@ "generator": false }, { - "__docId__": 368, + "__docId__": 366, "kind": "member", "static": false, "variation": null, @@ -8032,7 +8056,7 @@ } }, { - "__docId__": 369, + "__docId__": 367, "kind": "member", "static": false, "variation": null, @@ -8050,7 +8074,7 @@ } }, { - "__docId__": 370, + "__docId__": 368, "kind": "member", "static": false, "variation": null, @@ -8068,7 +8092,7 @@ } }, { - "__docId__": 371, + "__docId__": 369, "kind": "member", "static": false, "variation": null, @@ -8086,7 +8110,7 @@ } }, { - "__docId__": 372, + "__docId__": 370, "kind": "member", "static": false, "variation": null, @@ -8109,7 +8133,7 @@ } }, { - "__docId__": 373, + "__docId__": 371, "kind": "method", "static": false, "variation": null, @@ -8123,7 +8147,7 @@ "generator": false }, { - "__docId__": 374, + "__docId__": 372, "kind": "method", "static": false, "variation": null, @@ -8137,7 +8161,7 @@ "generator": false }, { - "__docId__": 375, + "__docId__": 373, "kind": "method", "static": false, "variation": null, @@ -8165,7 +8189,7 @@ "generator": false }, { - "__docId__": 376, + "__docId__": 374, "kind": "method", "static": false, "variation": null, @@ -8224,7 +8248,7 @@ "generator": false }, { - "__docId__": 377, + "__docId__": 375, "kind": "method", "static": false, "variation": null, @@ -8252,7 +8276,7 @@ "generator": false }, { - "__docId__": 378, + "__docId__": 376, "kind": "method", "static": false, "variation": null, @@ -8266,7 +8290,7 @@ "generator": false }, { - "__docId__": 379, + "__docId__": 377, "kind": "member", "static": false, "variation": null, @@ -8284,7 +8308,7 @@ } }, { - "__docId__": 380, + "__docId__": 378, "kind": "member", "static": false, "variation": null, @@ -8302,7 +8326,7 @@ } }, { - "__docId__": 381, + "__docId__": 379, "kind": "method", "static": false, "variation": null, @@ -8327,7 +8351,7 @@ "generator": false }, { - "__docId__": 382, + "__docId__": 380, "kind": "method", "static": false, "variation": null, @@ -8352,7 +8376,7 @@ "generator": false }, { - "__docId__": 383, + "__docId__": 381, "kind": "method", "static": false, "variation": null, @@ -8391,7 +8415,7 @@ "generator": false }, { - "__docId__": 384, + "__docId__": 382, "kind": "method", "static": false, "variation": null, @@ -8405,7 +8429,7 @@ "generator": false }, { - "__docId__": 385, + "__docId__": 383, "kind": "member", "static": false, "variation": null, @@ -8423,7 +8447,7 @@ } }, { - "__docId__": 386, + "__docId__": 384, "kind": "member", "static": false, "variation": null, @@ -8441,7 +8465,7 @@ } }, { - "__docId__": 387, + "__docId__": 385, "kind": "member", "static": false, "variation": null, @@ -8459,7 +8483,7 @@ } }, { - "__docId__": 388, + "__docId__": 386, "kind": "member", "static": false, "variation": null, @@ -8477,7 +8501,7 @@ } }, { - "__docId__": 389, + "__docId__": 387, "kind": "member", "static": false, "variation": null, @@ -8495,7 +8519,7 @@ } }, { - "__docId__": 390, + "__docId__": 388, "kind": "file", "static": true, "variation": null, @@ -8508,7 +8532,7 @@ "content": "import {addEvt, removeEvt} from '../event';\nimport {root} from '../root';\n\nconst JSON = root.JSON;\nconst location = root.location;\nconst decodeURIComponent = root.decodeURIComponent;\nconst encodeURIComponent = root.encodeURIComponent;\n\n/**\n * Checks if browser has onhashchange event\n */\nexport const hasHashChange = () => {\n let docMode = root.documentMode;\n return ('onhashchange' in root) && (docMode === undefined || docMode > 7);\n};\n\n/**\n * Manages state via URL hash changes\n *\n * @export\n * @class Hash\n */\nexport class Hash {\n\n /**\n * Creates an instance of Hash\n *\n * @param {State} state Instance of State\n */\n constructor(state) {\n /**\n * State object\n * @type {State}\n */\n this.state = state;\n\n /**\n * Cached URL hash\n * @type {String} Hash string\n * @private\n */\n this.lastHash = null;\n\n /**\n * Application event emitter instance\n * @type {Emitter}\n */\n this.emitter = state.emitter;\n\n /**\n * Bound sync wrapper for future use\n * @private\n */\n this.boundSync = null;\n }\n\n /**\n * Initializes the Hash object\n */\n init() {\n if (!hasHashChange()) {\n return;\n }\n\n this.lastHash = location.hash;\n //Store a bound sync wrapper\n this.boundSync = this.sync.bind(this);\n this.emitter.on(['state-changed'], (tf, state) => this.update(state));\n this.emitter.on(['initialized'], this.boundSync);\n addEvt(root, 'hashchange', this.boundSync);\n }\n\n /**\n * Updates the URL hash based on a state change\n *\n * @param {State} state Instance of State\n */\n update(state) {\n let hash = `#${encodeURIComponent(JSON.stringify(state))}`;\n if (this.lastHash === hash) {\n return;\n }\n\n location.hash = hash;\n this.lastHash = hash;\n }\n\n /**\n * Converts a URL hash into a state JSON object\n *\n * @param {String} hash URL hash fragment\n * @returns {Object} JSON object\n */\n parse(hash) {\n if (hash.indexOf('#') === -1) {\n return null;\n }\n hash = hash.substr(1);\n return JSON.parse(decodeURIComponent(hash));\n }\n\n /**\n * Applies current hash state to features\n */\n sync() {\n let state = this.parse(location.hash);\n if (!state) {\n return;\n }\n // override current state with persisted one and sync features\n this.state.overrideAndSync(state);\n }\n\n /**\n * Release Hash event subscriptions and clear fields\n */\n destroy() {\n this.emitter.off(['state-changed'], (tf, state) => this.update(state));\n this.emitter.off(['initialized'], this.boundSync);\n removeEvt(root, 'hashchange', this.boundSync);\n\n this.state = null;\n this.lastHash = null;\n this.emitter = null;\n }\n}\n" }, { - "__docId__": 391, + "__docId__": 389, "kind": "variable", "static": true, "variation": null, @@ -8529,7 +8553,7 @@ } }, { - "__docId__": 392, + "__docId__": 390, "kind": "variable", "static": true, "variation": null, @@ -8550,7 +8574,7 @@ } }, { - "__docId__": 393, + "__docId__": 391, "kind": "variable", "static": true, "variation": null, @@ -8571,7 +8595,7 @@ } }, { - "__docId__": 394, + "__docId__": 392, "kind": "variable", "static": true, "variation": null, @@ -8592,7 +8616,7 @@ } }, { - "__docId__": 395, + "__docId__": 393, "kind": "variable", "static": true, "variation": null, @@ -8612,7 +8636,7 @@ } }, { - "__docId__": 396, + "__docId__": 394, "kind": "class", "static": true, "variation": null, @@ -8638,7 +8662,7 @@ "interface": false }, { - "__docId__": 397, + "__docId__": 395, "kind": "constructor", "static": false, "variation": null, @@ -8663,7 +8687,7 @@ "generator": false }, { - "__docId__": 398, + "__docId__": 396, "kind": "member", "static": false, "variation": null, @@ -8683,7 +8707,7 @@ } }, { - "__docId__": 399, + "__docId__": 397, "kind": "member", "static": false, "variation": null, @@ -8703,7 +8727,7 @@ } }, { - "__docId__": 400, + "__docId__": 398, "kind": "member", "static": false, "variation": null, @@ -8723,7 +8747,7 @@ } }, { - "__docId__": 401, + "__docId__": 399, "kind": "member", "static": false, "variation": null, @@ -8740,7 +8764,7 @@ } }, { - "__docId__": 402, + "__docId__": 400, "kind": "method", "static": false, "variation": null, @@ -8754,7 +8778,7 @@ "generator": false }, { - "__docId__": 403, + "__docId__": 401, "kind": "member", "static": false, "variation": null, @@ -8772,7 +8796,7 @@ } }, { - "__docId__": 404, + "__docId__": 402, "kind": "member", "static": false, "variation": null, @@ -8790,7 +8814,7 @@ } }, { - "__docId__": 405, + "__docId__": 403, "kind": "method", "static": false, "variation": null, @@ -8815,7 +8839,7 @@ "generator": false }, { - "__docId__": 406, + "__docId__": 404, "kind": "member", "static": false, "variation": null, @@ -8833,7 +8857,7 @@ } }, { - "__docId__": 407, + "__docId__": 405, "kind": "method", "static": false, "variation": null, @@ -8872,7 +8896,7 @@ "generator": false }, { - "__docId__": 408, + "__docId__": 406, "kind": "method", "static": false, "variation": null, @@ -8886,7 +8910,7 @@ "generator": false }, { - "__docId__": 409, + "__docId__": 407, "kind": "method", "static": false, "variation": null, @@ -8900,7 +8924,7 @@ "generator": false }, { - "__docId__": 410, + "__docId__": 408, "kind": "member", "static": false, "variation": null, @@ -8918,7 +8942,7 @@ } }, { - "__docId__": 411, + "__docId__": 409, "kind": "member", "static": false, "variation": null, @@ -8936,7 +8960,7 @@ } }, { - "__docId__": 412, + "__docId__": 410, "kind": "member", "static": false, "variation": null, @@ -8954,7 +8978,7 @@ } }, { - "__docId__": 413, + "__docId__": 411, "kind": "file", "static": true, "variation": null, @@ -8967,7 +8991,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {addEvt} from '../event';\nimport {NONE} from '../const';\n\nconst WIKI_URL = 'https://github.com/koalyptus/TableFilter/wiki/' +\n '4.-Filter-operators';\nconst WEBSITE_URL = 'http://koalyptus.github.io/TableFilter/';\n\n/**\n * Help UI component\n */\nexport class Help extends Feature {\n\n /**\n * Creates an instance of Help.\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'help');\n\n var f = this.config;\n\n /**\n * ID of main custom container element\n * @type {String}\n */\n this.tgtId = f.help_instructions_target_id || null;\n\n /**\n * ID of custom container element for instructions\n * @type {String}\n */\n this.contTgtId = f.help_instructions_container_target_id ||\n null;\n\n /**\n * Instructions text (accepts HTML)\n * @type {String}\n */\n this.instrText = f.help_instructions_text ?\n f.help_instructions_text :\n 'Use the filters above each column to filter and limit table ' +\n 'data. Advanced searches can be performed by using the following ' +\n 'operators:
<, <=, >, ' +\n '>=, =, *, !, {, }, ' +\n '||,&&, [empty], [nonempty], ' +\n 'rgx:
' +\n 'Learn more
';\n\n /**\n * Instructions HTML\n * @type {String}\n */\n this.instrHtml = f.help_instructions_html || null;\n\n /**\n * Help button text ('?')\n * @type {String}\n */\n this.btnText = f.help_instructions_btn_text || '?';\n\n /**\n * Custom help button HTML\n * @type {String}\n */\n this.btnHtml = f.help_instructions_btn_html || null;\n\n /**\n * Css class for help button\n * @type {String}\n */\n this.btnCssClass = f.help_instructions_btn_css_class || 'helpBtn';\n\n /**\n * Css class for help container element\n * @type {String}\n */\n this.contCssClass = f.help_instructions_container_css_class ||\n 'helpCont';\n\n /**\n * Stores button DOM element\n * @type {DOMElement}\n */\n this.btn = null;\n\n /**\n * Stores help container DOM element\n * @type {DOMElement}\n */\n this.cont = null;\n\n /**\n * Default HTML appended to instructions text\n * @type {String}\n */\n this.defaultHtml = '

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

' + '' + WEBSITE_URL + '' +\n '
©2015-' + tf.year + ' {AUTHOR}' +\n '
' +\n 'Close
';\n\n /**\n * Prefix for help main container ID\n * @type {String}\n * @private\n */\n this.prfxHelpSpan = 'helpSpan_';\n\n /**\n * Prefix for help instructions container ID\n * @type {String}\n * @private\n */\n this.prfxHelpDiv = 'helpDiv_';\n\n this.emitter.on(['init-help'], () => this.init());\n }\n\n /**\n * Initialise Help instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n var tf = this.tf;\n\n var helpspan = createElm('span', ['id', this.prfxHelpSpan + tf.id]);\n var helpdiv = createElm('div', ['id', this.prfxHelpDiv + tf.id]);\n\n //help button is added to defined element\n if (!this.tgtId) {\n tf.setToolbar();\n }\n var targetEl = !this.tgtId ? tf.rDiv : elm(this.tgtId);\n targetEl.appendChild(helpspan);\n\n var divContainer = !this.contTgtId ? helpspan : elm(this.contTgtId);\n\n if (!this.btnHtml) {\n divContainer.appendChild(helpdiv);\n var helplink = createElm('a', ['href', 'javascript:void(0);']);\n helplink.className = this.btnCssClass;\n helplink.appendChild(createText(this.btnText));\n helpspan.appendChild(helplink);\n addEvt(helplink, 'click', () => this.toggle());\n } else {\n helpspan.innerHTML = this.btnHtml;\n var helpEl = helpspan.firstChild;\n addEvt(helpEl, 'click', () => this.toggle());\n divContainer.appendChild(helpdiv);\n }\n\n if (!this.instrHtml) {\n helpdiv.innerHTML = this.instrText;\n helpdiv.className = this.contCssClass;\n addEvt(helpdiv, 'dblclick', () => this.toggle());\n } else {\n if (this.contTgtId) {\n divContainer.appendChild(helpdiv);\n }\n helpdiv.innerHTML = this.instrHtml;\n if (!this.contTgtId) {\n helpdiv.className = this.contCssClass;\n addEvt(helpdiv, 'dblclick', () => this.toggle());\n }\n }\n helpdiv.innerHTML += this.defaultHtml;\n addEvt(helpdiv, 'click', () => this.toggle());\n\n this.cont = helpdiv;\n this.btn = helpspan;\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Toggle help pop-up\n */\n toggle() {\n // check only if explicitily set to false as in this case undefined\n // signifies the help feature is enabled by default\n if (this.enabled === false) {\n return;\n }\n var divDisplay = this.cont.style.display;\n if (divDisplay === '' || divDisplay === NONE) {\n this.cont.style.display = 'inline';\n } else {\n this.cont.style.display = NONE;\n }\n }\n\n /**\n * Remove help UI\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n removeElm(this.btn);\n this.btn = null;\n if (!this.cont) {\n return;\n }\n removeElm(this.cont);\n this.cont = null;\n this.initialized = false;\n }\n\n}\n" }, { - "__docId__": 414, + "__docId__": 412, "kind": "variable", "static": true, "variation": null, @@ -8988,7 +9012,7 @@ } }, { - "__docId__": 415, + "__docId__": 413, "kind": "variable", "static": true, "variation": null, @@ -9009,7 +9033,7 @@ } }, { - "__docId__": 416, + "__docId__": 414, "kind": "class", "static": true, "variation": null, @@ -9028,7 +9052,7 @@ ] }, { - "__docId__": 417, + "__docId__": 415, "kind": "constructor", "static": false, "variation": null, @@ -9053,7 +9077,7 @@ "generator": false }, { - "__docId__": 418, + "__docId__": 416, "kind": "member", "static": false, "variation": null, @@ -9073,7 +9097,7 @@ } }, { - "__docId__": 419, + "__docId__": 417, "kind": "member", "static": false, "variation": null, @@ -9093,7 +9117,7 @@ } }, { - "__docId__": 420, + "__docId__": 418, "kind": "member", "static": false, "variation": null, @@ -9113,7 +9137,7 @@ } }, { - "__docId__": 421, + "__docId__": 419, "kind": "member", "static": false, "variation": null, @@ -9133,7 +9157,7 @@ } }, { - "__docId__": 422, + "__docId__": 420, "kind": "member", "static": false, "variation": null, @@ -9153,7 +9177,7 @@ } }, { - "__docId__": 423, + "__docId__": 421, "kind": "member", "static": false, "variation": null, @@ -9173,7 +9197,7 @@ } }, { - "__docId__": 424, + "__docId__": 422, "kind": "member", "static": false, "variation": null, @@ -9193,7 +9217,7 @@ } }, { - "__docId__": 425, + "__docId__": 423, "kind": "member", "static": false, "variation": null, @@ -9213,7 +9237,7 @@ } }, { - "__docId__": 426, + "__docId__": 424, "kind": "member", "static": false, "variation": null, @@ -9233,7 +9257,7 @@ } }, { - "__docId__": 427, + "__docId__": 425, "kind": "member", "static": false, "variation": null, @@ -9253,7 +9277,7 @@ } }, { - "__docId__": 428, + "__docId__": 426, "kind": "member", "static": false, "variation": null, @@ -9273,7 +9297,7 @@ } }, { - "__docId__": 429, + "__docId__": 427, "kind": "member", "static": false, "variation": null, @@ -9293,7 +9317,7 @@ } }, { - "__docId__": 430, + "__docId__": 428, "kind": "member", "static": false, "variation": null, @@ -9313,7 +9337,7 @@ } }, { - "__docId__": 431, + "__docId__": 429, "kind": "method", "static": false, "variation": null, @@ -9327,7 +9351,7 @@ "generator": false }, { - "__docId__": 432, + "__docId__": 430, "kind": "member", "static": false, "variation": null, @@ -9345,7 +9369,7 @@ } }, { - "__docId__": 433, + "__docId__": 431, "kind": "member", "static": false, "variation": null, @@ -9363,7 +9387,7 @@ } }, { - "__docId__": 434, + "__docId__": 432, "kind": "member", "static": false, "variation": null, @@ -9386,7 +9410,7 @@ } }, { - "__docId__": 435, + "__docId__": 433, "kind": "method", "static": false, "variation": null, @@ -9400,7 +9424,7 @@ "generator": false }, { - "__docId__": 436, + "__docId__": 434, "kind": "method", "static": false, "variation": null, @@ -9414,7 +9438,7 @@ "generator": false }, { - "__docId__": 437, + "__docId__": 435, "kind": "member", "static": false, "variation": null, @@ -9432,7 +9456,7 @@ } }, { - "__docId__": 438, + "__docId__": 436, "kind": "member", "static": false, "variation": null, @@ -9450,7 +9474,7 @@ } }, { - "__docId__": 439, + "__docId__": 437, "kind": "member", "static": false, "variation": null, @@ -9468,7 +9492,7 @@ } }, { - "__docId__": 440, + "__docId__": 438, "kind": "file", "static": true, "variation": null, @@ -9481,7 +9505,7 @@ "content": "import {createText, createElm, getText} from '../dom';\nimport {isArray} from '../types';\n\n/**\n * Highlight matched keywords upon filtering\n *\n * @export\n * @class HighlightKeyword\n */\nexport class HighlightKeyword {\n\n /**\n * Creates an instance of HighlightKeyword\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n let f = tf.config();\n\n /**\n * Css class for highlighted term\n * @type {String}\n */\n this.highlightCssClass = f.highlight_css_class || 'keyword';\n\n /**\n * TableFilter instance\n * @type {TableFilter}\n */\n this.tf = tf;\n\n /**\n * TableFilter's emitter instance\n * @type {Emitter}\n */\n this.emitter = tf.emitter;\n }\n\n /**\n * Initializes HighlightKeyword instance\n */\n init() {\n this.emitter.on(\n ['before-filtering', 'destroy'],\n () => this.unhighlightAll()\n );\n this.emitter.on(\n ['highlight-keyword'],\n (tf, cell, word) =>\n this.highlight(cell, word, this.highlightCssClass)\n );\n }\n\n /**\n * Highlight occurences of searched term in passed node\n * @param {Node} node\n * @param {String} word Searched term\n * @param {String} cssClass Css class name\n *\n * TODO: refactor this method\n */\n highlight(node, word, cssClass) {\n // Iterate into this nodes childNodes\n if (node.hasChildNodes) {\n let children = node.childNodes;\n for (let i = 0; i < children.length; i++) {\n this.highlight(children[i], word, cssClass);\n }\n }\n\n if (node.nodeType === 3) {\n let tempNodeVal = node.nodeValue.toLowerCase();\n let tempWordVal = word.toLowerCase();\n if (tempNodeVal.indexOf(tempWordVal) !== -1) {\n let pn = node.parentNode;\n if (pn && pn.className !== cssClass) {\n // word not highlighted yet\n let nv = node.nodeValue,\n ni = tempNodeVal.indexOf(tempWordVal),\n // Create a load of replacement nodes\n before = createText(nv.substr(0, ni)),\n docWordVal = nv.substr(ni, word.length),\n after = createText(nv.substr(ni + word.length)),\n hiwordtext = createText(docWordVal),\n hiword = createElm('span');\n hiword.className = cssClass;\n hiword.appendChild(hiwordtext);\n pn.insertBefore(before, node);\n pn.insertBefore(hiword, node);\n pn.insertBefore(after, node);\n pn.removeChild(node);\n }\n }\n }\n }\n\n /**\n * Removes highlight to nodes matching passed string\n * @param {String} word\n * @param {String} cssClass Css class to remove\n */\n unhighlight(word, cssClass) {\n let highlightedNodes = this.tf.tbl.querySelectorAll(`.${cssClass}`);\n for (let i = 0; i < highlightedNodes.length; i++) {\n let n = highlightedNodes[i];\n let nodeVal = getText(n),\n tempNodeVal = nodeVal.toLowerCase(),\n tempWordVal = word.toLowerCase();\n\n if (tempNodeVal.indexOf(tempWordVal) !== -1) {\n n.parentNode.replaceChild(createText(nodeVal), n);\n }\n }\n }\n\n /**\n * Clear all occurrences of highlighted nodes\n */\n unhighlightAll() {\n if (!this.tf.highlightKeywords) {\n return;\n }\n // iterate filters values to unhighlight all values\n this.tf.getFiltersValue().forEach((val) => {\n if (isArray(val)) {\n val.forEach((item) =>\n this.unhighlight(item, this.highlightCssClass));\n } else {\n this.unhighlight(val, this.highlightCssClass);\n }\n });\n }\n\n /**\n * Remove feature\n */\n destroy() {\n this.emitter.off(\n ['before-filtering', 'destroy'],\n () => this.unhighlightAll()\n );\n this.emitter.off(\n ['highlight-keyword'],\n (tf, cell, word) =>\n this.highlight(cell, word, this.highlightCssClass)\n );\n }\n}\n" }, { - "__docId__": 441, + "__docId__": 439, "kind": "class", "static": true, "variation": null, @@ -9507,7 +9531,7 @@ "interface": false }, { - "__docId__": 442, + "__docId__": 440, "kind": "constructor", "static": false, "variation": null, @@ -9532,7 +9556,7 @@ "generator": false }, { - "__docId__": 443, + "__docId__": 441, "kind": "member", "static": false, "variation": null, @@ -9552,7 +9576,7 @@ } }, { - "__docId__": 444, + "__docId__": 442, "kind": "member", "static": false, "variation": null, @@ -9572,7 +9596,7 @@ } }, { - "__docId__": 445, + "__docId__": 443, "kind": "member", "static": false, "variation": null, @@ -9592,7 +9616,7 @@ } }, { - "__docId__": 446, + "__docId__": 444, "kind": "method", "static": false, "variation": null, @@ -9606,7 +9630,7 @@ "generator": false }, { - "__docId__": 447, + "__docId__": 445, "kind": "method", "static": false, "variation": null, @@ -9651,7 +9675,7 @@ "generator": false }, { - "__docId__": 448, + "__docId__": 446, "kind": "method", "static": false, "variation": null, @@ -9686,7 +9710,7 @@ "generator": false }, { - "__docId__": 449, + "__docId__": 447, "kind": "method", "static": false, "variation": null, @@ -9700,7 +9724,7 @@ "generator": false }, { - "__docId__": 450, + "__docId__": 448, "kind": "method", "static": false, "variation": null, @@ -9714,7 +9738,7 @@ "generator": false }, { - "__docId__": 451, + "__docId__": 449, "kind": "file", "static": true, "variation": null, @@ -9727,7 +9751,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {isFn} from '../types';\nimport {root} from '../root';\nimport {NONE} from '../const';\n\n/**\n * Activity indicator\n *\n * @export\n * @class Loader\n * @extends {Feature}\n */\nexport class Loader extends Feature {\n\n /**\n * Creates an instance of Loader.\n *\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'loader');\n\n let f = this.config;\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.targetId = f.loader_target_id || null;\n\n /**\n * Loader container DOM element\n * @type {DOMElement}\n */\n this.cont = null;\n\n /**\n * Text displayed when indicator is visible\n * @type {String}\n */\n this.text = f.loader_text || 'Loading...';\n\n /**\n * Custom HTML injected in Loader's container element\n * @type {String}\n */\n this.html = f.loader_html || null;\n\n /**\n * Css class for Loader's container element\n * @type {String}\n */\n this.cssClass = f.loader_css_class || 'loader';\n\n /**\n * Close delay in milliseconds\n * @type {Number}\n */\n this.closeDelay = 250;\n\n /**\n * Callback fired when loader is displayed\n * @type {Function}\n */\n this.onShow = isFn(f.on_show_loader) ? f.on_show_loader : null;\n\n /**\n * Callback fired when loader is closed\n * @type {Function}\n */\n this.onHide = isFn(f.on_hide_loader) ? f.on_hide_loader : null;\n\n /**\n * Prefix for container ID\n * @type {String}\n * @private\n */\n this.prfx = 'load_';\n }\n\n /**\n * Initializes Loader instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n let emitter = this.emitter;\n\n let containerDiv = createElm('div', ['id', this.prfx + tf.id]);\n containerDiv.className = this.cssClass;\n\n let targetEl = !this.targetId ?\n tf.tbl.parentNode : elm(this.targetId);\n if (!this.targetId) {\n targetEl.insertBefore(containerDiv, tf.tbl);\n } else {\n targetEl.appendChild(containerDiv);\n }\n this.cont = containerDiv;\n if (!this.html) {\n this.cont.appendChild(createText(this.text));\n } else {\n this.cont.innerHTML = this.html;\n }\n\n this.show(NONE);\n\n // Subscribe to events\n emitter.on([\n 'before-filtering',\n 'before-populating-filter',\n 'before-page-change',\n 'before-clearing-filters',\n 'before-page-length-change',\n 'before-reset-page',\n 'before-reset-page-length',\n 'before-loading-extensions',\n 'before-loading-themes'],\n () => this.show('')\n );\n emitter.on([\n 'after-filtering',\n 'after-populating-filter',\n 'after-page-change',\n 'after-clearing-filters',\n 'after-page-length-change',\n 'after-reset-page',\n 'after-reset-page-length',\n 'after-loading-extensions',\n 'after-loading-themes'],\n () => this.show(NONE)\n );\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Shows or hides activity indicator\n * @param {String} Two possible values: '' or 'none'\n */\n show(p) {\n if (!this.isEnabled()) {\n return;\n }\n\n let displayLoader = () => {\n if (!this.cont) {\n return;\n }\n if (this.onShow && p !== NONE) {\n this.onShow.call(null, this);\n }\n this.cont.style.display = p;\n if (this.onHide && p === NONE) {\n this.onHide.call(null, this);\n }\n };\n\n let t = p === NONE ? this.closeDelay : 1;\n root.setTimeout(displayLoader, t);\n }\n\n /**\n * Removes feature\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n let emitter = this.emitter;\n\n removeElm(this.cont);\n this.cont = null;\n\n // Unsubscribe to events\n emitter.off([\n 'before-filtering',\n 'before-populating-filter',\n 'before-page-change',\n 'before-clearing-filters',\n 'before-page-length-change',\n 'before-reset-page',\n 'before-reset-page-length',\n 'before-loading-extensions',\n 'before-loading-themes'],\n () => this.show('')\n );\n emitter.off([\n 'after-filtering',\n 'after-populating-filter',\n 'after-page-change',\n 'after-clearing-filters',\n 'after-page-length-change',\n 'after-reset-page',\n 'after-reset-page-length',\n 'after-loading-extensions',\n 'after-loading-themes'],\n () => this.show(NONE)\n );\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 452, + "__docId__": 450, "kind": "class", "static": true, "variation": null, @@ -9756,7 +9780,7 @@ ] }, { - "__docId__": 453, + "__docId__": 451, "kind": "constructor", "static": false, "variation": null, @@ -9781,7 +9805,7 @@ "generator": false }, { - "__docId__": 454, + "__docId__": 452, "kind": "member", "static": false, "variation": null, @@ -9801,7 +9825,7 @@ } }, { - "__docId__": 455, + "__docId__": 453, "kind": "member", "static": false, "variation": null, @@ -9821,7 +9845,7 @@ } }, { - "__docId__": 456, + "__docId__": 454, "kind": "member", "static": false, "variation": null, @@ -9841,7 +9865,7 @@ } }, { - "__docId__": 457, + "__docId__": 455, "kind": "member", "static": false, "variation": null, @@ -9861,7 +9885,7 @@ } }, { - "__docId__": 458, + "__docId__": 456, "kind": "member", "static": false, "variation": null, @@ -9881,7 +9905,7 @@ } }, { - "__docId__": 459, + "__docId__": 457, "kind": "member", "static": false, "variation": null, @@ -9901,7 +9925,7 @@ } }, { - "__docId__": 460, + "__docId__": 458, "kind": "member", "static": false, "variation": null, @@ -9921,7 +9945,7 @@ } }, { - "__docId__": 461, + "__docId__": 459, "kind": "member", "static": false, "variation": null, @@ -9941,7 +9965,7 @@ } }, { - "__docId__": 462, + "__docId__": 460, "kind": "member", "static": false, "variation": null, @@ -9961,7 +9985,7 @@ } }, { - "__docId__": 463, + "__docId__": 461, "kind": "method", "static": false, "variation": null, @@ -9975,7 +9999,7 @@ "generator": false }, { - "__docId__": 464, + "__docId__": 462, "kind": "member", "static": false, "variation": null, @@ -9993,7 +10017,7 @@ } }, { - "__docId__": 465, + "__docId__": 463, "kind": "member", "static": false, "variation": null, @@ -10016,7 +10040,7 @@ } }, { - "__docId__": 466, + "__docId__": 464, "kind": "method", "static": false, "variation": null, @@ -10041,7 +10065,7 @@ "generator": false }, { - "__docId__": 467, + "__docId__": 465, "kind": "method", "static": false, "variation": null, @@ -10055,7 +10079,7 @@ "generator": false }, { - "__docId__": 468, + "__docId__": 466, "kind": "member", "static": false, "variation": null, @@ -10073,7 +10097,7 @@ } }, { - "__docId__": 469, + "__docId__": 467, "kind": "member", "static": false, "variation": null, @@ -10091,7 +10115,7 @@ } }, { - "__docId__": 470, + "__docId__": 468, "kind": "file", "static": true, "variation": null, @@ -10104,7 +10128,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, elm, removeElm} from '../dom';\nimport {isEmpty, isFn} from '../types';\nimport {NONE} from '../const';\n\n/**\n * UI when filtering yields no matches\n * @export\n * @class NoResults\n * @extends {Feature}\n */\nexport class NoResults extends Feature {\n\n /**\n * Creates an instance of NoResults\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'noResults');\n\n //configuration object\n let f = this.config.no_results_message;\n\n /**\n * Text (accepts HTML)\n * @type {String}\n */\n this.content = f.content || 'No results';\n\n /**\n * Custom container DOM element\n * @type {DOMElement}\n */\n this.customContainer = f.custom_container || null;\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.customContainerId = f.custom_container_id || null;\n\n /**\n * Indicates if UI is contained in a external element\n * @type {Boolean}\n * @private\n */\n this.isExternal = !isEmpty(this.customContainer) ||\n !isEmpty(this.customContainerId);\n\n /**\n * Css class assigned to container element\n * @type {String}\n */\n this.cssClass = f.css_class || 'no-results';\n\n /**\n * Stores container DOM element\n * @type {DOMElement}\n */\n this.cont = null;\n\n /**\n * Callback fired before the message is displayed\n * @type {Function}\n */\n this.onBeforeShow = isFn(f.on_before_show_msg) ?\n f.on_before_show_msg : null;\n\n /**\n * Callback fired after the message is displayed\n * @type {Function}\n */\n this.onAfterShow = isFn(f.on_after_show_msg) ?\n f.on_after_show_msg : null;\n\n /**\n * Callback fired before the message is hidden\n * @type {Function}\n */\n this.onBeforeHide = isFn(f.on_before_hide_msg) ?\n f.on_before_hide_msg : null;\n\n /**\n * Callback fired after the message is hidden\n * @type {Function}\n */\n this.onAfterHide = isFn(f.on_after_hide_msg) ?\n f.on_after_hide_msg : null;\n\n /**\n * Prefix for container ID\n * @type {String}\n * @private\n */\n this.prfx = 'nores_';\n }\n\n /**\n * Initializes NoResults instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n let tf = this.tf;\n let target = this.customContainer || elm(this.customContainerId) ||\n tf.tbl;\n\n //container\n let cont = createElm('div', ['id', this.prfx + tf.id]);\n cont.className = this.cssClass;\n cont.innerHTML = this.content;\n\n if (this.isExternal) {\n target.appendChild(cont);\n } else {\n target.parentNode.insertBefore(cont, target.nextSibling);\n }\n\n this.cont = cont;\n\n // subscribe to after-filtering event\n this.emitter.on(['after-filtering'], () => this.toggle());\n\n /**\n * @inherited\n */\n this.initialized = true;\n\n this.hide();\n }\n\n /**\n * Toggle no results message\n */\n toggle() {\n if (this.tf.getValidRowsNb() > 0) {\n this.hide();\n } else {\n this.show();\n }\n }\n\n /**\n * Show no results message\n */\n show() {\n if (!this.initialized || !this.isEnabled()) {\n return;\n }\n\n if (this.onBeforeShow) {\n this.onBeforeShow.call(null, this.tf, this);\n }\n\n this.setWidth();\n this.cont.style.display = 'block';\n\n if (this.onAfterShow) {\n this.onAfterShow.call(null, this.tf, this);\n }\n }\n\n /**\n * Hide no results message\n */\n hide() {\n if (!this.initialized || !this.isEnabled()) {\n return;\n }\n\n if (this.onBeforeHide) {\n this.onBeforeHide.call(null, this.tf, this);\n }\n\n this.cont.style.display = NONE;\n\n if (this.onAfterHide) {\n this.onAfterHide.call(null, this.tf, this);\n }\n }\n\n /**\n * Sets no results container width\n * @private\n */\n setWidth() {\n if (!this.initialized || this.isExternal || !this.isEnabled()) {\n return;\n }\n let tf = this.tf;\n if (tf.gridLayout) {\n let gridLayout = tf.feature('gridLayout');\n this.cont.style.width = gridLayout.tblCont.clientWidth + 'px';\n } else {\n this.cont.style.width = (tf.tbl.tHead ? tf.tbl.tHead.clientWidth :\n tf.tbl.tBodies[0].clientWidth) + 'px';\n }\n }\n\n /**\n * Remove feature\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n removeElm(this.cont);\n this.cont = null;\n // unsubscribe to after-filtering event\n this.emitter.off(['after-filtering'], () => this.toggle());\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 471, + "__docId__": 469, "kind": "class", "static": true, "variation": null, @@ -10133,7 +10157,7 @@ ] }, { - "__docId__": 472, + "__docId__": 470, "kind": "constructor", "static": false, "variation": null, @@ -10158,7 +10182,7 @@ "generator": false }, { - "__docId__": 473, + "__docId__": 471, "kind": "member", "static": false, "variation": null, @@ -10178,7 +10202,7 @@ } }, { - "__docId__": 474, + "__docId__": 472, "kind": "member", "static": false, "variation": null, @@ -10198,7 +10222,7 @@ } }, { - "__docId__": 475, + "__docId__": 473, "kind": "member", "static": false, "variation": null, @@ -10218,7 +10242,7 @@ } }, { - "__docId__": 476, + "__docId__": 474, "kind": "member", "static": false, "variation": null, @@ -10238,7 +10262,7 @@ } }, { - "__docId__": 477, + "__docId__": 475, "kind": "member", "static": false, "variation": null, @@ -10258,7 +10282,7 @@ } }, { - "__docId__": 478, + "__docId__": 476, "kind": "member", "static": false, "variation": null, @@ -10278,7 +10302,7 @@ } }, { - "__docId__": 479, + "__docId__": 477, "kind": "member", "static": false, "variation": null, @@ -10298,7 +10322,7 @@ } }, { - "__docId__": 480, + "__docId__": 478, "kind": "member", "static": false, "variation": null, @@ -10318,7 +10342,7 @@ } }, { - "__docId__": 481, + "__docId__": 479, "kind": "member", "static": false, "variation": null, @@ -10338,7 +10362,7 @@ } }, { - "__docId__": 482, + "__docId__": 480, "kind": "member", "static": false, "variation": null, @@ -10358,7 +10382,7 @@ } }, { - "__docId__": 483, + "__docId__": 481, "kind": "member", "static": false, "variation": null, @@ -10378,7 +10402,7 @@ } }, { - "__docId__": 484, + "__docId__": 482, "kind": "method", "static": false, "variation": null, @@ -10392,7 +10416,7 @@ "generator": false }, { - "__docId__": 485, + "__docId__": 483, "kind": "member", "static": false, "variation": null, @@ -10410,7 +10434,7 @@ } }, { - "__docId__": 486, + "__docId__": 484, "kind": "member", "static": false, "variation": null, @@ -10433,7 +10457,7 @@ } }, { - "__docId__": 487, + "__docId__": 485, "kind": "method", "static": false, "variation": null, @@ -10447,7 +10471,7 @@ "generator": false }, { - "__docId__": 488, + "__docId__": 486, "kind": "method", "static": false, "variation": null, @@ -10461,7 +10485,7 @@ "generator": false }, { - "__docId__": 489, + "__docId__": 487, "kind": "method", "static": false, "variation": null, @@ -10475,7 +10499,7 @@ "generator": false }, { - "__docId__": 490, + "__docId__": 488, "kind": "method", "static": false, "variation": null, @@ -10489,7 +10513,7 @@ "generator": false }, { - "__docId__": 491, + "__docId__": 489, "kind": "method", "static": false, "variation": null, @@ -10503,7 +10527,7 @@ "generator": false }, { - "__docId__": 492, + "__docId__": 490, "kind": "member", "static": false, "variation": null, @@ -10521,7 +10545,7 @@ } }, { - "__docId__": 493, + "__docId__": 491, "kind": "member", "static": false, "variation": null, @@ -10539,7 +10563,7 @@ } }, { - "__docId__": 494, + "__docId__": 492, "kind": "file", "static": true, "variation": null, @@ -10552,7 +10576,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createOpt, createText, elm, removeElm} from '../dom';\nimport {isArray, isFn, isNull} from '../types';\nimport {addEvt, keyCode, removeEvt} from '../event';\nimport {INPUT, SELECT, NONE, ENTER_KEY} from '../const';\n\n/**\n * Paging UI component\n * @export\n * @class Paging\n * @extends {Feature}\n */\nexport class Paging extends Feature {\n\n /**\n * Creates an instance of Paging\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'paging');\n\n // Configuration object\n var f = this.config;\n\n /**\n * Css class for the paging buttons (previous, next, etc.)\n * @type {String}\n */\n this.btnPageCssClass = f.paging_btn_css_class || 'pgInp';\n\n /**\n * Main select DOM element\n * @type {DOMElement}\n */\n this.pagingSlc = null;\n\n /**\n * Results per page select DOM element\n * @type {DOMElement}\n */\n this.resultsPerPageSlc = null;\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.pagingTgtId = f.paging_target_id || null;\n\n /**\n * Number of rows contained in a page\n * @type {Number}\n */\n this.pagingLength = !isNaN(f.paging_length) ? f.paging_length : 10;\n\n /**\n * ID of custom container element for the results per page selector\n * @type {String}\n */\n this.resultsPerPageTgtId = f.results_per_page_target_id || null;\n\n /**\n * Css class for the paging select element\n * @type {String}\n */\n this.pgSlcCssClass = f.paging_slc_css_class || 'pgSlc';\n\n /**\n * Css class for the paging input element\n * @type {String}\n */\n this.pgInpCssClass = f.paging_inp_css_class || 'pgNbInp';\n\n /**\n * Label and values for the results per page select, example of usage:\n * ['Records: ', [10,25,50,100]]\n * @type {Array}\n */\n this.resultsPerPage = f.results_per_page || null;\n\n /**\n * Determines if results per page is configured\n * @type {Boolean}\n */\n this.hasResultsPerPage = isArray(this.resultsPerPage);\n\n /**\n * Css class for the results per page select\n * @type {String}\n */\n this.resultsSlcCssClass = f.results_slc_css_class || 'rspg';\n\n /**\n * Css class for the label preceding results per page select\n * @type {String}\n */\n this.resultsSpanCssClass = f.results_span_css_class || 'rspgSpan';\n\n /**\n * Index of the first row of current page\n * @type {Number}\n * @private\n */\n this.startPagingRow = 0;\n\n /**\n * Total number of pages\n * @type {Number}\n * @private\n */\n this.nbPages = 0;\n\n /**\n * Current page number\n * @type {Number}\n * @private\n */\n this.currentPageNb = 1;\n\n /**\n * Next page button text\n * @type {String}\n */\n this.btnNextPageText = f.btn_next_page_text || '>';\n\n /**\n * Previous page button text\n * @type {String}\n */\n this.btnPrevPageText = f.btn_prev_page_text || '<';\n\n /**\n * Last page button text\n * @type {String}\n */\n this.btnLastPageText = f.btn_last_page_text || '>|';\n\n /**\n * First page button text\n * @type {String}\n */\n this.btnFirstPageText = f.btn_first_page_text || '|<';\n\n /**\n * Next page button HTML\n * @type {String}\n */\n this.btnNextPageHtml = f.btn_next_page_html ||\n (!tf.enableIcons ? null :\n '');\n\n /**\n * Previous page button HTML\n * @type {String}\n */\n this.btnPrevPageHtml = f.btn_prev_page_html ||\n (!tf.enableIcons ? null :\n '');\n\n /**\n * First page button HTML\n * @type {String}\n */\n this.btnFirstPageHtml = f.btn_first_page_html ||\n (!tf.enableIcons ? null :\n '');\n\n /**\n * Last page button HTML\n * @type {String}\n */\n this.btnLastPageHtml = f.btn_last_page_html ||\n (!tf.enableIcons ? null :\n '');\n\n /**\n * Text preceeding page selector drop-down\n * @type {String}\n */\n this.pageText = f.page_text || ' Page ';\n\n /**\n * Text after page selector drop-down\n * @type {String}\n */\n this.ofText = f.of_text || ' of ';\n\n /**\n * Css class for the span containing total number of pages\n * @type {String}\n */\n this.nbPgSpanCssClass = f.nb_pages_css_class || 'nbpg';\n\n /**\n * Determines if paging buttons are enabled (default: true)\n * @type {Boolean}\n */\n this.hasPagingBtns = f.paging_btns === false ? false : true;\n\n /**\n * Defines page selector type, two possible values: 'select', 'input'\n * @type {String}\n */\n this.pageSelectorType = f.page_selector_type || SELECT;\n\n /**\n * Callback fired before the page is changed\n * @type {Function}\n */\n this.onBeforeChangePage = isFn(f.on_before_change_page) ?\n f.on_before_change_page : null;\n\n /**\n * Callback fired after the page is changed\n * @type {Function}\n */\n this.onAfterChangePage = isFn(f.on_after_change_page) ?\n f.on_after_change_page : null;\n\n /**\n * Element IDs prefixes\n */\n /**\n * Page select\n * @type {String}\n * @private\n */\n this.prfxSlcPages = 'slcPages_';\n /**\n * Results per page select\n * @type {String}\n * @private\n */\n this.prfxSlcResults = 'slcResults_';\n /**\n * Label preciding results per page select\n * @type {String}\n * @private\n */\n this.prfxSlcResultsTxt = 'slcResultsTxt_';\n /**\n * Span containing next page button\n * @type {String}\n * @private\n */\n this.prfxBtnNextSpan = 'btnNextSpan_';\n /**\n * Span containing previous page button\n * @type {String}\n * @private\n */\n this.prfxBtnPrevSpan = 'btnPrevSpan_';\n /**\n * Span containing last page button\n * @type {String}\n * @private\n */\n this.prfxBtnLastSpan = 'btnLastSpan_';\n /**\n * Span containing first page button\n * @type {String}\n * @private\n */\n this.prfxBtnFirstSpan = 'btnFirstSpan_';\n /**\n * Next button\n * @type {String}\n * @private\n */\n this.prfxBtnNext = 'btnNext_';\n /**\n * Previous button\n * @type {String}\n * @private\n */\n this.prfxBtnPrev = 'btnPrev_';\n /**\n * Last button\n * @type {String}\n * @private\n */\n this.prfxBtnLast = 'btnLast_';\n /**\n * First button\n * @type {String}\n * @private\n */\n this.prfxBtnFirst = 'btnFirst_';\n /**\n * Span for tot nb pages\n * @type {String}\n * @private\n */\n this.prfxPgSpan = 'pgspan_';\n /**\n * Span preceding pages select (contains 'Page')\n * @type {String}\n * @private\n */\n this.prfxPgBeforeSpan = 'pgbeforespan_';\n /**\n * Span following pages select (contains ' of ')\n * @type {String}\n * @private\n */\n this.prfxPgAfterSpan = 'pgafterspan_';\n\n var start_row = tf.refRow;\n var nrows = tf.getRowsNb(true);\n //calculates page nb\n this.nbPages = Math.ceil((nrows - start_row) / this.pagingLength);\n\n var o = this;\n /**\n * Paging DOM events handlers\n * @type {String}\n * @private\n */\n this.evt = {\n slcIndex() {\n return (o.pageSelectorType === SELECT) ?\n o.pagingSlc.options.selectedIndex :\n parseInt(o.pagingSlc.value, 10) - 1;\n },\n nbOpts() {\n return (o.pageSelectorType === SELECT) ?\n parseInt(o.pagingSlc.options.length, 10) - 1 :\n (o.nbPages - 1);\n },\n next() {\n var nextIndex = o.evt.slcIndex() < o.evt.nbOpts() ?\n o.evt.slcIndex() + 1 : 0;\n o.changePage(nextIndex);\n },\n prev() {\n var prevIndex = o.evt.slcIndex() > 0 ?\n o.evt.slcIndex() - 1 : o.evt.nbOpts();\n o.changePage(prevIndex);\n },\n last() {\n o.changePage(o.evt.nbOpts());\n },\n first() {\n o.changePage(0);\n },\n _detectKey(e) {\n var key = keyCode(e);\n if (key === ENTER_KEY) {\n if (tf.sorted) {\n tf.filter();\n o.changePage(o.evt.slcIndex());\n } else {\n o.changePage();\n }\n this.blur();\n }\n },\n slcPagesChange: null,\n nextEvt: null,\n prevEvt: null,\n lastEvt: null,\n firstEvt: null\n };\n }\n\n /**\n * Initialize DOM elements\n */\n init() {\n var slcPages;\n var tf = this.tf;\n var evt = this.evt;\n\n if (this.initialized) {\n return;\n }\n\n // Check resultsPerPage is in expected format and initialise the\n // results per page component\n if (this.hasResultsPerPage) {\n if (this.resultsPerPage.length < 2) {\n this.hasResultsPerPage = false;\n } else {\n this.pagingLength = this.resultsPerPage[1][0];\n this.setResultsPerPage();\n }\n }\n\n evt.slcPagesChange = (event) => {\n var slc = event.target;\n this.changePage(slc.selectedIndex);\n };\n\n // Paging drop-down list selector\n if (this.pageSelectorType === SELECT) {\n slcPages = createElm(SELECT, ['id', this.prfxSlcPages + tf.id]);\n slcPages.className = this.pgSlcCssClass;\n addEvt(slcPages, 'change', evt.slcPagesChange);\n }\n\n // Paging input selector\n if (this.pageSelectorType === INPUT) {\n slcPages = createElm(INPUT,\n ['id', this.prfxSlcPages + tf.id],\n ['value', this.currentPageNb]\n );\n slcPages.className = this.pgInpCssClass;\n addEvt(slcPages, 'keypress', evt._detectKey);\n }\n\n // btns containers\n var btnNextSpan = createElm(\n 'span', ['id', this.prfxBtnNextSpan + tf.id]);\n var btnPrevSpan = createElm(\n 'span', ['id', this.prfxBtnPrevSpan + tf.id]);\n var btnLastSpan = createElm(\n 'span', ['id', this.prfxBtnLastSpan + tf.id]);\n var btnFirstSpan = createElm(\n 'span', ['id', this.prfxBtnFirstSpan + tf.id]);\n\n if (this.hasPagingBtns) {\n // Next button\n if (!this.btnNextPageHtml) {\n var btn_next = createElm(INPUT,\n ['id', this.prfxBtnNext + tf.id],\n ['type', 'button'],\n ['value', this.btnNextPageText],\n ['title', 'Next']\n );\n btn_next.className = this.btnPageCssClass;\n addEvt(btn_next, 'click', evt.next);\n btnNextSpan.appendChild(btn_next);\n } else {\n btnNextSpan.innerHTML = this.btnNextPageHtml;\n addEvt(btnNextSpan, 'click', evt.next);\n }\n // Previous button\n if (!this.btnPrevPageHtml) {\n var btn_prev = createElm(INPUT,\n ['id', this.prfxBtnPrev + tf.id],\n ['type', 'button'],\n ['value', this.btnPrevPageText],\n ['title', 'Previous']\n );\n btn_prev.className = this.btnPageCssClass;\n addEvt(btn_prev, 'click', evt.prev);\n btnPrevSpan.appendChild(btn_prev);\n } else {\n btnPrevSpan.innerHTML = this.btnPrevPageHtml;\n addEvt(btnPrevSpan, 'click', evt.prev);\n }\n // Last button\n if (!this.btnLastPageHtml) {\n var btn_last = createElm(INPUT,\n ['id', this.prfxBtnLast + tf.id],\n ['type', 'button'],\n ['value', this.btnLastPageText],\n ['title', 'Last']\n );\n btn_last.className = this.btnPageCssClass;\n addEvt(btn_last, 'click', evt.last);\n btnLastSpan.appendChild(btn_last);\n } else {\n btnLastSpan.innerHTML = this.btnLastPageHtml;\n addEvt(btnLastSpan, 'click', evt.last);\n }\n // First button\n if (!this.btnFirstPageHtml) {\n var btn_first = createElm(INPUT,\n ['id', this.prfxBtnFirst + tf.id],\n ['type', 'button'],\n ['value', this.btnFirstPageText],\n ['title', 'First']\n );\n btn_first.className = this.btnPageCssClass;\n addEvt(btn_first, 'click', evt.first);\n btnFirstSpan.appendChild(btn_first);\n } else {\n btnFirstSpan.innerHTML = this.btnFirstPageHtml;\n addEvt(btnFirstSpan, 'click', evt.first);\n }\n }\n\n // paging elements (buttons+drop-down list) are added to defined element\n if (!this.pagingTgtId) {\n tf.setToolbar();\n }\n var targetEl = !this.pagingTgtId ? tf.mDiv : elm(this.pagingTgtId);\n targetEl.appendChild(btnFirstSpan);\n targetEl.appendChild(btnPrevSpan);\n\n var pgBeforeSpan = createElm(\n 'span', ['id', this.prfxPgBeforeSpan + tf.id]);\n pgBeforeSpan.appendChild(createText(this.pageText));\n pgBeforeSpan.className = this.nbPgSpanCssClass;\n targetEl.appendChild(pgBeforeSpan);\n targetEl.appendChild(slcPages);\n var pgAfterSpan = createElm(\n 'span', ['id', this.prfxPgAfterSpan + tf.id]);\n pgAfterSpan.appendChild(createText(this.ofText));\n pgAfterSpan.className = this.nbPgSpanCssClass;\n targetEl.appendChild(pgAfterSpan);\n var pgspan = createElm('span', ['id', this.prfxPgSpan + tf.id]);\n pgspan.className = this.nbPgSpanCssClass;\n pgspan.appendChild(createText(' ' + this.nbPages + ' '));\n targetEl.appendChild(pgspan);\n targetEl.appendChild(btnNextSpan);\n targetEl.appendChild(btnLastSpan);\n this.pagingSlc = elm(this.prfxSlcPages + tf.id);\n\n this.setPagingInfo();\n\n if (!tf.fltGrid) {\n tf.validateAllRows();\n this.setPagingInfo(tf.validRowsIndex);\n }\n\n this.emitter.on(['after-filtering'], () => this.resetPagingInfo());\n this.emitter.on(['change-page'],\n (tf, pageNumber) => this.setPage(pageNumber));\n this.emitter.on(['change-page-results'],\n (tf, pageLength) => this.changeResultsPerPage(pageLength));\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Reset paging when filters are already instantiated\n * @param {Boolean} filterTable Execute filtering once paging instanciated\n */\n reset(filterTable = false) {\n var tf = this.tf;\n if (this.isEnabled()) {\n return;\n }\n this.enable();\n this.init();\n\n if (filterTable) {\n tf.filter();\n }\n }\n\n /**\n * Reset paging info from scratch after a filtering process\n */\n resetPagingInfo() {\n this.startPagingRow = 0;\n this.currentPageNb = 1;\n this.setPagingInfo(this.tf.validRowsIndex);\n }\n\n /**\n * Calculate number of pages based on valid rows\n * Refresh paging select according to number of pages\n * @param {Array} validRows Collection of valid rows\n */\n setPagingInfo(validRows) {\n var tf = this.tf;\n var mdiv = !this.pagingTgtId ? tf.mDiv : elm(this.pagingTgtId);\n var pgspan = elm(this.prfxPgSpan + tf.id);\n\n //store valid rows indexes\n tf.validRowsIndex = validRows || tf.getValidRows(true);\n\n //calculate nb of pages\n this.nbPages = Math.ceil(tf.validRowsIndex.length / this.pagingLength);\n //refresh page nb span\n pgspan.innerHTML = this.nbPages;\n //select clearing shortcut\n if (this.pageSelectorType === SELECT) {\n this.pagingSlc.innerHTML = '';\n }\n\n if (this.nbPages > 0) {\n mdiv.style.visibility = 'visible';\n if (this.pageSelectorType === SELECT) {\n for (var z = 0; z < this.nbPages; z++) {\n var opt = createOpt(z + 1, z * this.pagingLength, false);\n this.pagingSlc.options[z] = opt;\n }\n } else {\n //input type\n this.pagingSlc.value = this.currentPageNb;\n }\n\n } else {\n /*** if no results paging select and buttons are hidden ***/\n mdiv.style.visibility = 'hidden';\n }\n this.groupByPage(tf.validRowsIndex);\n }\n\n /**\n * Group table rows by page and display valid rows\n * @param {Array} validRows Collection of valid rows\n */\n groupByPage(validRows) {\n var tf = this.tf;\n var rows = tf.tbl.rows;\n var startPagingRow = parseInt(this.startPagingRow, 10);\n var endPagingRow = startPagingRow + parseInt(this.pagingLength, 10);\n\n //store valid rows indexes\n if (validRows) {\n tf.validRowsIndex = validRows;\n }\n\n //this loop shows valid rows of current page\n for (var h = 0, len = tf.getValidRowsNb(true); h < len; h++) {\n var validRowIdx = tf.validRowsIndex[h];\n var r = rows[validRowIdx];\n var isRowValid = r.getAttribute('validRow');\n var rowDisplayed = false;\n\n if (h >= startPagingRow && h < endPagingRow) {\n if (isNull(isRowValid) || Boolean(isRowValid === 'true')) {\n r.style.display = '';\n rowDisplayed = true;\n }\n } else {\n r.style.display = NONE;\n }\n this.emitter.emit('row-paged', tf, validRowIdx, h, rowDisplayed);\n }\n\n // broadcast grouping by page\n this.emitter.emit('grouped-by-page', tf, this);\n }\n\n /**\n * Return the current page number\n * @return {Number} Page number\n */\n getPage() {\n return this.currentPageNb;\n }\n\n /**\n * Show page defined by passed argument (string or number):\n * @param {String}/{Number} cmd possible string values: 'next',\n * 'previous', 'last', 'first' or page number as per param\n */\n setPage(cmd) {\n var tf = this.tf;\n if (!tf.isInitialized() || !this.isEnabled()) {\n return;\n }\n var btnEvt = this.evt,\n cmdtype = typeof cmd;\n if (cmdtype === 'string') {\n switch (cmd.toLowerCase()) {\n case 'next':\n btnEvt.next();\n break;\n case 'previous':\n btnEvt.prev();\n break;\n case 'last':\n btnEvt.last();\n break;\n case 'first':\n btnEvt.first();\n break;\n default:\n btnEvt.next();\n break;\n }\n }\n else if (cmdtype === 'number') {\n this.changePage(cmd - 1);\n }\n }\n\n /**\n * Generates UI elements for the number of results per page drop-down\n */\n setResultsPerPage() {\n var tf = this.tf;\n var evt = this.evt;\n\n if (this.resultsPerPageSlc || !this.resultsPerPage) {\n return;\n }\n\n evt.slcResultsChange = (ev) => {\n this.onChangeResultsPerPage();\n ev.target.blur();\n };\n\n var slcR = createElm(SELECT, ['id', this.prfxSlcResults + tf.id]);\n slcR.className = this.resultsSlcCssClass;\n var slcRText = this.resultsPerPage[0],\n slcROpts = this.resultsPerPage[1];\n var slcRSpan = createElm(\n 'span', ['id', this.prfxSlcResultsTxt + tf.id]);\n slcRSpan.className = this.resultsSpanCssClass;\n\n // results per page select is added to external element\n if (!this.resultsPerPageTgtId) {\n tf.setToolbar();\n }\n var targetEl = !this.resultsPerPageTgtId ?\n tf.rDiv : elm(this.resultsPerPageTgtId);\n slcRSpan.appendChild(createText(slcRText));\n\n var help = tf.feature('help');\n if (help && help.btn) {\n help.btn.parentNode.insertBefore(slcRSpan, help.btn);\n help.btn.parentNode.insertBefore(slcR, help.btn);\n } else {\n targetEl.appendChild(slcRSpan);\n targetEl.appendChild(slcR);\n }\n\n for (var r = 0; r < slcROpts.length; r++) {\n var currOpt = new Option(slcROpts[r], slcROpts[r], false, false);\n slcR.options[r] = currOpt;\n }\n addEvt(slcR, 'change', evt.slcResultsChange);\n this.resultsPerPageSlc = slcR;\n }\n\n /**\n * Remove number of results per page UI elements\n */\n removeResultsPerPage() {\n var tf = this.tf;\n if (!tf.isInitialized() || !this.resultsPerPageSlc ||\n !this.resultsPerPage) {\n return;\n }\n var slcR = this.resultsPerPageSlc,\n slcRSpan = elm(this.prfxSlcResultsTxt + tf.id);\n if (slcR) {\n removeElm(slcR);\n }\n if (slcRSpan) {\n removeElm(slcRSpan);\n }\n this.resultsPerPageSlc = null;\n }\n\n /**\n * Change the page based on passed index\n * @param {Number} index Index of the page (0-n)\n */\n changePage(index) {\n var tf = this.tf;\n\n if (!this.isEnabled()) {\n return;\n }\n\n this.emitter.emit('before-page-change', tf, (index + 1));\n\n if (index === null) {\n index = this.pageSelectorType === SELECT ?\n this.pagingSlc.options.selectedIndex : this.pagingSlc.value - 1;\n }\n if (index >= 0 && index <= (this.nbPages - 1)) {\n if (this.onBeforeChangePage) {\n this.onBeforeChangePage.call(null, this, (index + 1));\n }\n this.currentPageNb = parseInt(index, 10) + 1;\n if (this.pageSelectorType === SELECT) {\n this.pagingSlc.options[index].selected = true;\n } else {\n this.pagingSlc.value = this.currentPageNb;\n }\n\n this.startPagingRow = (this.pageSelectorType === SELECT) ?\n this.pagingSlc.value : (index * this.pagingLength);\n\n this.groupByPage();\n\n if (this.onAfterChangePage) {\n this.onAfterChangePage.call(null, this, (index + 1));\n }\n }\n\n this.emitter.emit('after-page-change', tf, (index + 1));\n }\n\n /**\n * Change the number of results per page based on passed value\n * @param {String} val The number of results per page\n */\n changeResultsPerPage(val) {\n if (!this.isEnabled() || isNaN(val)) {\n return;\n }\n\n this.resultsPerPageSlc.value = val;\n this.onChangeResultsPerPage();\n }\n\n /**\n * Change rows according to page results drop-down\n */\n onChangeResultsPerPage() {\n var tf = this.tf;\n\n if (!this.isEnabled()) {\n return;\n }\n\n this.emitter.emit('before-page-length-change', tf);\n\n var slcR = this.resultsPerPageSlc;\n var slcIndex = slcR.selectedIndex;\n var slcPagesSelIndex = (this.pageSelectorType === SELECT) ?\n this.pagingSlc.selectedIndex :\n parseInt(this.pagingSlc.value - 1, 10);\n this.pagingLength = parseInt(slcR.options[slcIndex].value, 10);\n this.startPagingRow = this.pagingLength * slcPagesSelIndex;\n\n if (!isNaN(this.pagingLength)) {\n if (this.startPagingRow >= tf.nbFilterableRows) {\n this.startPagingRow = (tf.nbFilterableRows - this.pagingLength);\n }\n this.setPagingInfo();\n\n if (this.pageSelectorType === SELECT) {\n var slcIdx =\n (this.pagingSlc.options.length - 1 <= slcPagesSelIndex) ?\n (this.pagingSlc.options.length - 1) : slcPagesSelIndex;\n this.pagingSlc.options[slcIdx].selected = true;\n }\n }\n\n this.emitter.emit('after-page-length-change', tf, this.pagingLength);\n }\n\n /**\n * Re-set page nb at page re-load\n */\n resetPage() {\n var tf = this.tf;\n if (!this.isEnabled()) {\n return;\n }\n this.emitter.emit('before-reset-page', tf);\n var pgNb = tf.feature('store').getPageNb();\n if (pgNb !== '') {\n this.changePage((pgNb - 1));\n }\n this.emitter.emit('after-reset-page', tf, pgNb);\n }\n\n /**\n * Re-set page length value at page re-load\n */\n resetPageLength() {\n var tf = this.tf;\n if (!this.isEnabled()) {\n return;\n }\n this.emitter.emit('before-reset-page-length', tf);\n var pglenIndex = tf.feature('store').getPageLength();\n\n if (pglenIndex !== '') {\n this.resultsPerPageSlc.options[pglenIndex].selected = true;\n this.changeResultsPerPage();\n }\n this.emitter.emit('after-reset-page-length', tf, pglenIndex);\n }\n\n /**\n * Remove paging feature\n */\n destroy() {\n var tf = this.tf;\n\n if (!this.initialized) {\n return;\n }\n // btns containers\n var btnNextSpan = elm(this.prfxBtnNextSpan + tf.id);\n var btnPrevSpan = elm(this.prfxBtnPrevSpan + tf.id);\n var btnLastSpan = elm(this.prfxBtnLastSpan + tf.id);\n var btnFirstSpan = elm(this.prfxBtnFirstSpan + tf.id);\n //span containing 'Page' text\n var pgBeforeSpan = elm(this.prfxPgBeforeSpan + tf.id);\n //span containing 'of' text\n var pgAfterSpan = elm(this.prfxPgAfterSpan + tf.id);\n //span containing nb of pages\n var pgspan = elm(this.prfxPgSpan + tf.id);\n\n var evt = this.evt;\n\n if (this.pagingSlc) {\n if (this.pageSelectorType === SELECT) {\n removeEvt(this.pagingSlc, 'change', evt.slcPagesChange);\n }\n else if (this.pageSelectorType === INPUT) {\n removeEvt(this.pagingSlc, 'keypress', evt._detectKey);\n }\n removeElm(this.pagingSlc);\n }\n\n if (btnNextSpan) {\n removeEvt(btnNextSpan, 'click', evt.next);\n removeElm(btnNextSpan);\n }\n\n if (btnPrevSpan) {\n removeEvt(btnPrevSpan, 'click', evt.prev);\n removeElm(btnPrevSpan);\n }\n\n if (btnLastSpan) {\n removeEvt(btnLastSpan, 'click', evt.last);\n removeElm(btnLastSpan);\n }\n\n if (btnFirstSpan) {\n removeEvt(btnFirstSpan, 'click', evt.first);\n removeElm(btnFirstSpan);\n }\n\n if (pgBeforeSpan) {\n removeElm(pgBeforeSpan);\n }\n\n if (pgAfterSpan) {\n removeElm(pgAfterSpan);\n }\n\n if (pgspan) {\n removeElm(pgspan);\n }\n\n if (this.hasResultsPerPage) {\n this.removeResultsPerPage();\n }\n\n this.emitter.off(['after-filtering'], () => this.resetPagingInfo());\n this.emitter.off(['change-page'],\n (tf, pageNumber) => this.setPage(pageNumber));\n this.emitter.off(['change-page-results'],\n (tf, pageLength) => this.changeResultsPerPage(pageLength));\n\n this.pagingSlc = null;\n this.nbPages = 0;\n this.disable();\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 495, + "__docId__": 493, "kind": "class", "static": true, "variation": null, @@ -10581,7 +10605,7 @@ ] }, { - "__docId__": 496, + "__docId__": 494, "kind": "constructor", "static": false, "variation": null, @@ -10606,7 +10630,7 @@ "generator": false }, { - "__docId__": 497, + "__docId__": 495, "kind": "member", "static": false, "variation": null, @@ -10626,7 +10650,7 @@ } }, { - "__docId__": 498, + "__docId__": 496, "kind": "member", "static": false, "variation": null, @@ -10646,7 +10670,7 @@ } }, { - "__docId__": 499, + "__docId__": 497, "kind": "member", "static": false, "variation": null, @@ -10666,7 +10690,7 @@ } }, { - "__docId__": 500, + "__docId__": 498, "kind": "member", "static": false, "variation": null, @@ -10686,7 +10710,7 @@ } }, { - "__docId__": 501, + "__docId__": 499, "kind": "member", "static": false, "variation": null, @@ -10706,7 +10730,7 @@ } }, { - "__docId__": 502, + "__docId__": 500, "kind": "member", "static": false, "variation": null, @@ -10726,7 +10750,7 @@ } }, { - "__docId__": 503, + "__docId__": 501, "kind": "member", "static": false, "variation": null, @@ -10746,7 +10770,7 @@ } }, { - "__docId__": 504, + "__docId__": 502, "kind": "member", "static": false, "variation": null, @@ -10766,7 +10790,7 @@ } }, { - "__docId__": 505, + "__docId__": 503, "kind": "member", "static": false, "variation": null, @@ -10786,7 +10810,7 @@ } }, { - "__docId__": 506, + "__docId__": 504, "kind": "member", "static": false, "variation": null, @@ -10806,7 +10830,7 @@ } }, { - "__docId__": 507, + "__docId__": 505, "kind": "member", "static": false, "variation": null, @@ -10826,7 +10850,7 @@ } }, { - "__docId__": 508, + "__docId__": 506, "kind": "member", "static": false, "variation": null, @@ -10846,7 +10870,7 @@ } }, { - "__docId__": 509, + "__docId__": 507, "kind": "member", "static": false, "variation": null, @@ -10866,7 +10890,7 @@ } }, { - "__docId__": 510, + "__docId__": 508, "kind": "member", "static": false, "variation": null, @@ -10886,7 +10910,7 @@ } }, { - "__docId__": 511, + "__docId__": 509, "kind": "member", "static": false, "variation": null, @@ -10906,7 +10930,7 @@ } }, { - "__docId__": 512, + "__docId__": 510, "kind": "member", "static": false, "variation": null, @@ -10926,7 +10950,7 @@ } }, { - "__docId__": 513, + "__docId__": 511, "kind": "member", "static": false, "variation": null, @@ -10946,7 +10970,7 @@ } }, { - "__docId__": 514, + "__docId__": 512, "kind": "member", "static": false, "variation": null, @@ -10966,7 +10990,7 @@ } }, { - "__docId__": 515, + "__docId__": 513, "kind": "member", "static": false, "variation": null, @@ -10986,7 +11010,7 @@ } }, { - "__docId__": 516, + "__docId__": 514, "kind": "member", "static": false, "variation": null, @@ -11006,7 +11030,7 @@ } }, { - "__docId__": 517, + "__docId__": 515, "kind": "member", "static": false, "variation": null, @@ -11026,7 +11050,7 @@ } }, { - "__docId__": 518, + "__docId__": 516, "kind": "member", "static": false, "variation": null, @@ -11046,7 +11070,7 @@ } }, { - "__docId__": 519, + "__docId__": 517, "kind": "member", "static": false, "variation": null, @@ -11066,7 +11090,7 @@ } }, { - "__docId__": 520, + "__docId__": 518, "kind": "member", "static": false, "variation": null, @@ -11086,7 +11110,7 @@ } }, { - "__docId__": 521, + "__docId__": 519, "kind": "member", "static": false, "variation": null, @@ -11106,7 +11130,7 @@ } }, { - "__docId__": 522, + "__docId__": 520, "kind": "member", "static": false, "variation": null, @@ -11126,7 +11150,7 @@ } }, { - "__docId__": 523, + "__docId__": 521, "kind": "member", "static": false, "variation": null, @@ -11146,7 +11170,7 @@ } }, { - "__docId__": 524, + "__docId__": 522, "kind": "member", "static": false, "variation": null, @@ -11166,7 +11190,7 @@ } }, { - "__docId__": 525, + "__docId__": 523, "kind": "member", "static": false, "variation": null, @@ -11186,7 +11210,7 @@ } }, { - "__docId__": 526, + "__docId__": 524, "kind": "member", "static": false, "variation": null, @@ -11206,7 +11230,7 @@ } }, { - "__docId__": 527, + "__docId__": 525, "kind": "member", "static": false, "variation": null, @@ -11226,7 +11250,7 @@ } }, { - "__docId__": 528, + "__docId__": 526, "kind": "member", "static": false, "variation": null, @@ -11246,7 +11270,7 @@ } }, { - "__docId__": 529, + "__docId__": 527, "kind": "member", "static": false, "variation": null, @@ -11266,7 +11290,7 @@ } }, { - "__docId__": 530, + "__docId__": 528, "kind": "member", "static": false, "variation": null, @@ -11286,7 +11310,7 @@ } }, { - "__docId__": 531, + "__docId__": 529, "kind": "member", "static": false, "variation": null, @@ -11306,7 +11330,7 @@ } }, { - "__docId__": 532, + "__docId__": 530, "kind": "member", "static": false, "variation": null, @@ -11326,7 +11350,7 @@ } }, { - "__docId__": 533, + "__docId__": 531, "kind": "member", "static": false, "variation": null, @@ -11346,7 +11370,7 @@ } }, { - "__docId__": 534, + "__docId__": 532, "kind": "member", "static": false, "variation": null, @@ -11366,7 +11390,7 @@ } }, { - "__docId__": 535, + "__docId__": 533, "kind": "member", "static": false, "variation": null, @@ -11386,7 +11410,7 @@ } }, { - "__docId__": 536, + "__docId__": 534, "kind": "member", "static": false, "variation": null, @@ -11406,7 +11430,7 @@ } }, { - "__docId__": 537, + "__docId__": 535, "kind": "member", "static": false, "variation": null, @@ -11426,7 +11450,7 @@ } }, { - "__docId__": 538, + "__docId__": 536, "kind": "member", "static": false, "variation": null, @@ -11446,7 +11470,7 @@ } }, { - "__docId__": 539, + "__docId__": 537, "kind": "member", "static": false, "variation": null, @@ -11466,7 +11490,7 @@ } }, { - "__docId__": 540, + "__docId__": 538, "kind": "member", "static": false, "variation": null, @@ -11486,7 +11510,7 @@ } }, { - "__docId__": 541, + "__docId__": 539, "kind": "member", "static": false, "variation": null, @@ -11504,7 +11528,7 @@ } }, { - "__docId__": 542, + "__docId__": 540, "kind": "member", "static": false, "variation": null, @@ -11524,7 +11548,7 @@ } }, { - "__docId__": 543, + "__docId__": 541, "kind": "method", "static": false, "variation": null, @@ -11538,7 +11562,7 @@ "generator": false }, { - "__docId__": 544, + "__docId__": 542, "kind": "member", "static": false, "variation": null, @@ -11556,7 +11580,7 @@ } }, { - "__docId__": 545, + "__docId__": 543, "kind": "member", "static": false, "variation": null, @@ -11574,7 +11598,7 @@ } }, { - "__docId__": 546, + "__docId__": 544, "kind": "member", "static": false, "variation": null, @@ -11592,7 +11616,7 @@ } }, { - "__docId__": 547, + "__docId__": 545, "kind": "member", "static": false, "variation": null, @@ -11615,7 +11639,7 @@ } }, { - "__docId__": 548, + "__docId__": 546, "kind": "method", "static": false, "variation": null, @@ -11640,7 +11664,7 @@ "generator": false }, { - "__docId__": 549, + "__docId__": 547, "kind": "method", "static": false, "variation": null, @@ -11654,7 +11678,7 @@ "generator": false }, { - "__docId__": 550, + "__docId__": 548, "kind": "member", "static": false, "variation": null, @@ -11672,7 +11696,7 @@ } }, { - "__docId__": 551, + "__docId__": 549, "kind": "member", "static": false, "variation": null, @@ -11690,7 +11714,7 @@ } }, { - "__docId__": 552, + "__docId__": 550, "kind": "method", "static": false, "variation": null, @@ -11715,7 +11739,7 @@ "generator": false }, { - "__docId__": 553, + "__docId__": 551, "kind": "member", "static": false, "variation": null, @@ -11733,7 +11757,7 @@ } }, { - "__docId__": 554, + "__docId__": 552, "kind": "method", "static": false, "variation": null, @@ -11758,7 +11782,7 @@ "generator": false }, { - "__docId__": 555, + "__docId__": 553, "kind": "method", "static": false, "variation": null, @@ -11780,7 +11804,7 @@ "generator": false }, { - "__docId__": 556, + "__docId__": 554, "kind": "method", "static": false, "variation": null, @@ -11805,7 +11829,7 @@ "generator": false }, { - "__docId__": 557, + "__docId__": 555, "kind": "method", "static": false, "variation": null, @@ -11819,7 +11843,7 @@ "generator": false }, { - "__docId__": 558, + "__docId__": 556, "kind": "member", "static": false, "variation": null, @@ -11837,7 +11861,7 @@ } }, { - "__docId__": 559, + "__docId__": 557, "kind": "method", "static": false, "variation": null, @@ -11851,7 +11875,7 @@ "generator": false }, { - "__docId__": 560, + "__docId__": 558, "kind": "member", "static": false, "variation": null, @@ -11869,7 +11893,7 @@ } }, { - "__docId__": 561, + "__docId__": 559, "kind": "method", "static": false, "variation": null, @@ -11894,7 +11918,7 @@ "generator": false }, { - "__docId__": 562, + "__docId__": 560, "kind": "member", "static": false, "variation": null, @@ -11912,7 +11936,7 @@ } }, { - "__docId__": 563, + "__docId__": 561, "kind": "member", "static": false, "variation": null, @@ -11930,7 +11954,7 @@ } }, { - "__docId__": 564, + "__docId__": 562, "kind": "method", "static": false, "variation": null, @@ -11955,7 +11979,7 @@ "generator": false }, { - "__docId__": 565, + "__docId__": 563, "kind": "method", "static": false, "variation": null, @@ -11969,7 +11993,7 @@ "generator": false }, { - "__docId__": 566, + "__docId__": 564, "kind": "member", "static": false, "variation": null, @@ -11987,7 +12011,7 @@ } }, { - "__docId__": 567, + "__docId__": 565, "kind": "member", "static": false, "variation": null, @@ -12005,7 +12029,7 @@ } }, { - "__docId__": 568, + "__docId__": 566, "kind": "member", "static": false, "variation": null, @@ -12023,7 +12047,7 @@ } }, { - "__docId__": 569, + "__docId__": 567, "kind": "method", "static": false, "variation": null, @@ -12037,7 +12061,7 @@ "generator": false }, { - "__docId__": 570, + "__docId__": 568, "kind": "method", "static": false, "variation": null, @@ -12051,7 +12075,7 @@ "generator": false }, { - "__docId__": 571, + "__docId__": 569, "kind": "method", "static": false, "variation": null, @@ -12065,7 +12089,7 @@ "generator": false }, { - "__docId__": 572, + "__docId__": 570, "kind": "member", "static": false, "variation": null, @@ -12083,7 +12107,7 @@ } }, { - "__docId__": 573, + "__docId__": 571, "kind": "member", "static": false, "variation": null, @@ -12101,7 +12125,7 @@ } }, { - "__docId__": 574, + "__docId__": 572, "kind": "member", "static": false, "variation": null, @@ -12119,7 +12143,7 @@ } }, { - "__docId__": 575, + "__docId__": 573, "kind": "file", "static": true, "variation": null, @@ -12132,7 +12156,7 @@ "content": "import {Feature} from '../feature';\nimport {isFn} from '../types';\nimport {createElm, removeElm} from '../dom';\nimport {addEvt, cancelEvt, stopEvt, targetEvt} from '../event';\nimport {INPUT, NONE} from '../const';\n\n/**\n * Pop-up filter component\n * @export\n * @class PopupFilter\n * @extends {Feature}\n */\nexport class PopupFilter extends Feature {\n\n /**\n * Creates an instance of PopupFilter\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'popupFilters');\n\n // Configuration object\n let f = this.config;\n\n // Enable external filters\n tf.isExternalFlt = true;\n tf.externalFltTgtIds = [];\n\n /**\n * Filter icon path\n * @type {String}\n */\n this.iconPath = f.popup_filters_image ||\n tf.themesPath + 'icn_filter.gif';\n\n /**\n * Active filter icon path\n * @type {string}\n */\n this.activeIconPath = f.popup_filters_image_active ||\n tf.themesPath + 'icn_filterActive.gif';\n\n /**\n * HTML for the filter icon\n * @type {string}\n */\n this.iconHtml = f.popup_filters_image_html ||\n '\"Column';\n\n /**\n * Css class assigned to filter container element\n * @type {String}\n */\n this.containerCssClass = f.popup_div_css_class || 'popUpFilter';\n\n /**\n * Callback fired before a popup filter is opened\n * @type {Function}\n */\n this.onBeforeOpen = isFn(f.on_before_popup_filter_open) ?\n f.on_before_popup_filter_open : null;\n\n /**\n * Callback fired after a popup filter is opened\n * @type {Function}\n */\n this.onAfterOpen = isFn(f.on_after_popup_filter_open) ?\n f.on_after_popup_filter_open : null;\n\n /**\n * Callback fired before a popup filter is closed\n * @type {Function}\n */\n this.onBeforeClose = isFn(f.on_before_popup_filter_close) ?\n f.on_before_popup_filter_close : null;\n\n /**\n * Callback fired after a popup filter is closed\n * @type {Function}\n */\n this.onAfterClose = isFn(f.on_after_popup_filter_close) ?\n f.on_after_popup_filter_close : null;\n\n /**\n * Collection of filters spans\n * @type {Array}\n * @private\n */\n this.fltSpans = [];\n\n /**\n * Collection of filters icons\n * @type {Array}\n * @private\n */\n this.fltIcons = [];\n\n /**\n * Collection of filters icons cached after pop-up filters are removed\n * @type {Array}\n * @private\n */\n this.filtersCache = null;\n\n /**\n * Collection of filters containers\n * @type {Array}\n * @private\n */\n this.fltElms = this.filtersCache || [];\n\n /**\n * Ensure filter's container element width matches column width\n * @type {Boolean}\n */\n this.adjustToContainer = true;\n\n /**\n * Prefix for pop-up filter span ID\n * @type {String}\n * @private\n */\n this.prfxSpan = 'popUpSpan_';\n\n /**\n * Prefix for pop-up filter container ID\n * @type {String}\n * @private\n */\n this.prfxDiv = 'popUpDiv_';\n }\n\n /**\n * Click event handler for pop-up filter icon\n * @private\n */\n onClick(evt) {\n let elm = targetEvt(evt).parentNode,\n colIndex = parseInt(elm.getAttribute('ci'), 10);\n\n this.closeAll(colIndex);\n this.toggle(colIndex);\n\n if (this.adjustToContainer) {\n let popUpDiv = this.fltElms[colIndex],\n header = this.tf.getHeaderElement(colIndex),\n headerWidth = header.clientWidth * 0.95;\n popUpDiv.style.width = parseInt(headerWidth, 10) + 'px';\n }\n cancelEvt(evt);\n stopEvt(evt);\n }\n\n /**\n * Initialize DOM elements\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n\n // Override headers row index if no grouped headers\n if (tf.headersRow <= 1) {\n tf.headersRow = 0;\n }\n\n for (let i = 0; i < tf.nbCells; i++) {\n if (tf.getFilterType(i) === NONE) {\n continue;\n }\n let popUpSpan = createElm(\n 'span',\n ['id', this.prfxSpan + tf.id + '_' + i],\n ['ci', i]\n );\n popUpSpan.innerHTML = this.iconHtml;\n let header = tf.getHeaderElement(i);\n header.appendChild(popUpSpan);\n addEvt(popUpSpan, 'click', (evt) => this.onClick(evt));\n this.fltSpans[i] = popUpSpan;\n this.fltIcons[i] = popUpSpan.firstChild;\n }\n\n // subscribe to events\n this.emitter.on(['before-filtering'], () => this.buildIcons());\n this.emitter.on(['after-filtering'], () => this.closeAll());\n this.emitter.on(['cell-processed'],\n (tf, cellIndex) => this.buildIcon(cellIndex, true));\n this.emitter.on(['filters-row-inserted'], () => this.tf.headersRow++);\n this.emitter.on(['before-filter-init'],\n (tf, colIndex) => this.build(colIndex));\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Reset previously destroyed feature\n */\n reset() {\n this.enable();\n this.init();\n this.buildAll();\n }\n\n /**\n * Build all pop-up filters elements\n */\n buildAll() {\n for (let i = 0; i < this.filtersCache.length; i++) {\n this.build(i, this.filtersCache[i]);\n }\n }\n\n /**\n * Build a specified pop-up filter elements\n * @param {Number} colIndex Column index\n * @param {Object} div Optional container DOM element\n */\n build(colIndex, div) {\n let tf = this.tf;\n let popUpDiv = !div ?\n createElm('div',\n ['id', this.prfxDiv + tf.id + '_' + colIndex]) :\n div;\n popUpDiv.className = this.containerCssClass;\n tf.externalFltTgtIds.push(popUpDiv.id);\n let header = tf.getHeaderElement(colIndex);\n header.insertBefore(popUpDiv, header.firstChild);\n addEvt(popUpDiv, 'click', (evt) => stopEvt(evt));\n this.fltElms[colIndex] = popUpDiv;\n }\n\n /**\n * Toogle visibility of specified filter\n * @param {Number} colIndex Column index\n */\n toggle(colIndex) {\n let tf = this.tf,\n popUpFltElm = this.fltElms[colIndex];\n\n if (popUpFltElm.style.display === NONE ||\n popUpFltElm.style.display === '') {\n if (this.onBeforeOpen) {\n this.onBeforeOpen.call(\n null, this, this.fltElms[colIndex], colIndex);\n }\n popUpFltElm.style.display = 'block';\n if (tf.getFilterType(colIndex) === INPUT) {\n let flt = tf.getFilterElement(colIndex);\n if (flt) {\n flt.focus();\n }\n }\n if (this.onAfterOpen) {\n this.onAfterOpen.call(\n null, this, this.fltElms[colIndex], colIndex);\n }\n } else {\n if (this.onBeforeClose) {\n this.onBeforeClose.call(\n null, this, this.fltElms[colIndex], colIndex);\n }\n popUpFltElm.style.display = NONE;\n if (this.onAfterClose) {\n this.onAfterClose.call(\n null, this, this.fltElms[colIndex], colIndex);\n }\n }\n }\n\n /**\n * Close all filters excepted for the specified one if any\n * @param {Number} exceptIdx Column index of the filter to not close\n */\n closeAll(exceptIdx) {\n for (let i = 0; i < this.fltElms.length; i++) {\n if (i === exceptIdx) {\n continue;\n }\n let popUpFltElm = this.fltElms[i];\n if (popUpFltElm) {\n popUpFltElm.style.display = NONE;\n }\n }\n }\n\n /**\n * Build all the icons representing the pop-up filters\n */\n buildIcons() {\n for (let i = 0; i < this.fltIcons.length; i++) {\n this.buildIcon(i, false);\n }\n }\n\n /**\n * Apply specified icon state\n * @param {Number} colIndex Column index\n * @param {Boolean} active Apply active state\n */\n buildIcon(colIndex, active) {\n if (this.fltIcons[colIndex]) {\n this.fltIcons[colIndex].src = active ?\n this.activeIconPath : this.iconPath;\n }\n }\n\n /**\n * Remove pop-up filters\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n this.filtersCache = [];\n for (let i = 0; i < this.fltElms.length; i++) {\n let popUpFltElm = this.fltElms[i],\n popUpFltSpan = this.fltSpans[i],\n popUpFltImg = this.fltIcons[i];\n if (popUpFltElm) {\n removeElm(popUpFltElm);\n this.filtersCache[i] = popUpFltElm;\n }\n popUpFltElm = null;\n if (popUpFltSpan) {\n removeElm(popUpFltSpan);\n }\n popUpFltSpan = null;\n if (popUpFltImg) {\n removeElm(popUpFltImg);\n }\n popUpFltImg = null;\n }\n this.fltElms = [];\n this.fltSpans = [];\n this.fltIcons = [];\n\n // unsubscribe to events\n this.emitter.off(['before-filtering'], () => this.buildIcons());\n this.emitter.off(['after-filtering'], () => this.closeAll());\n this.emitter.off(['cell-processed'],\n (tf, cellIndex) => this.buildIcon(cellIndex, true));\n this.emitter.off(['filters-row-inserted'], () => this.tf.headersRow++);\n this.emitter.off(['before-filter-init'],\n (tf, colIndex) => this.build(colIndex));\n\n this.initialized = false;\n }\n\n}\n" }, { - "__docId__": 576, + "__docId__": 574, "kind": "class", "static": true, "variation": null, @@ -12161,7 +12185,7 @@ ] }, { - "__docId__": 577, + "__docId__": 575, "kind": "constructor", "static": false, "variation": null, @@ -12186,7 +12210,7 @@ "generator": false }, { - "__docId__": 578, + "__docId__": 576, "kind": "member", "static": false, "variation": null, @@ -12206,7 +12230,7 @@ } }, { - "__docId__": 579, + "__docId__": 577, "kind": "member", "static": false, "variation": null, @@ -12226,7 +12250,7 @@ } }, { - "__docId__": 580, + "__docId__": 578, "kind": "member", "static": false, "variation": null, @@ -12246,7 +12270,7 @@ } }, { - "__docId__": 581, + "__docId__": 579, "kind": "member", "static": false, "variation": null, @@ -12266,7 +12290,7 @@ } }, { - "__docId__": 582, + "__docId__": 580, "kind": "member", "static": false, "variation": null, @@ -12286,7 +12310,7 @@ } }, { - "__docId__": 583, + "__docId__": 581, "kind": "member", "static": false, "variation": null, @@ -12306,7 +12330,7 @@ } }, { - "__docId__": 584, + "__docId__": 582, "kind": "member", "static": false, "variation": null, @@ -12326,7 +12350,7 @@ } }, { - "__docId__": 585, + "__docId__": 583, "kind": "member", "static": false, "variation": null, @@ -12346,7 +12370,7 @@ } }, { - "__docId__": 586, + "__docId__": 584, "kind": "member", "static": false, "variation": null, @@ -12366,7 +12390,7 @@ } }, { - "__docId__": 587, + "__docId__": 585, "kind": "member", "static": false, "variation": null, @@ -12386,7 +12410,7 @@ } }, { - "__docId__": 588, + "__docId__": 586, "kind": "member", "static": false, "variation": null, @@ -12406,7 +12430,7 @@ } }, { - "__docId__": 589, + "__docId__": 587, "kind": "member", "static": false, "variation": null, @@ -12426,7 +12450,7 @@ } }, { - "__docId__": 590, + "__docId__": 588, "kind": "member", "static": false, "variation": null, @@ -12446,7 +12470,7 @@ } }, { - "__docId__": 591, + "__docId__": 589, "kind": "member", "static": false, "variation": null, @@ -12466,7 +12490,7 @@ } }, { - "__docId__": 592, + "__docId__": 590, "kind": "member", "static": false, "variation": null, @@ -12486,7 +12510,7 @@ } }, { - "__docId__": 593, + "__docId__": 591, "kind": "method", "static": false, "variation": null, @@ -12507,7 +12531,7 @@ "generator": false }, { - "__docId__": 594, + "__docId__": 592, "kind": "method", "static": false, "variation": null, @@ -12521,7 +12545,7 @@ "generator": false }, { - "__docId__": 595, + "__docId__": 593, "kind": "member", "static": false, "variation": null, @@ -12544,7 +12568,7 @@ } }, { - "__docId__": 596, + "__docId__": 594, "kind": "method", "static": false, "variation": null, @@ -12558,7 +12582,7 @@ "generator": false }, { - "__docId__": 597, + "__docId__": 595, "kind": "method", "static": false, "variation": null, @@ -12572,7 +12596,7 @@ "generator": false }, { - "__docId__": 598, + "__docId__": 596, "kind": "method", "static": false, "variation": null, @@ -12607,7 +12631,7 @@ "generator": false }, { - "__docId__": 599, + "__docId__": 597, "kind": "method", "static": false, "variation": null, @@ -12632,7 +12656,7 @@ "generator": false }, { - "__docId__": 600, + "__docId__": 598, "kind": "method", "static": false, "variation": null, @@ -12657,7 +12681,7 @@ "generator": false }, { - "__docId__": 601, + "__docId__": 599, "kind": "method", "static": false, "variation": null, @@ -12671,7 +12695,7 @@ "generator": false }, { - "__docId__": 602, + "__docId__": 600, "kind": "method", "static": false, "variation": null, @@ -12706,7 +12730,7 @@ "generator": false }, { - "__docId__": 603, + "__docId__": 601, "kind": "method", "static": false, "variation": null, @@ -12720,7 +12744,7 @@ "generator": false }, { - "__docId__": 604, + "__docId__": 602, "kind": "member", "static": false, "variation": null, @@ -12738,7 +12762,7 @@ } }, { - "__docId__": 605, + "__docId__": 603, "kind": "member", "static": false, "variation": null, @@ -12756,7 +12780,7 @@ } }, { - "__docId__": 606, + "__docId__": 604, "kind": "member", "static": false, "variation": null, @@ -12774,7 +12798,7 @@ } }, { - "__docId__": 607, + "__docId__": 605, "kind": "member", "static": false, "variation": null, @@ -12792,7 +12816,7 @@ } }, { - "__docId__": 608, + "__docId__": 606, "kind": "member", "static": false, "variation": null, @@ -12810,7 +12834,7 @@ } }, { - "__docId__": 609, + "__docId__": 607, "kind": "file", "static": true, "variation": null, @@ -12823,7 +12847,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {isFn} from '../types';\n\n/**\n * Rows counter UI component\n * @export\n * @class RowsCounter\n * @extends {Feature}\n */\nexport class RowsCounter extends Feature {\n\n /**\n * Creates an instance of RowsCounter\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'rowsCounter');\n\n // TableFilter configuration\n let f = this.config;\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.targetId = f.rows_counter_target_id || null;\n\n /**\n * Container DOM element\n * @type {DOMElement}\n * @private\n */\n this.container = null;\n\n /**\n * Container DOM element for label displaying the total number of rows\n * @type {DOMElement}\n * @private\n */\n this.label = null;\n\n /**\n * Text preceding the total number of rows\n * @type {String}\n */\n this.text = f.rows_counter_text || 'Rows: ';\n\n /**\n * Separator symbol appearing between the first and last visible rows of\n * current page when paging is enabled. ie: Rows: 31-40 / 70\n * @type {String}\n */\n this.fromToTextSeparator = f.from_to_text_separator || '-';\n\n /**\n * Separator symbol appearing between the first and last visible rows of\n * current page and the total number of filterable rows when paging is\n * enabled. ie: Rows: 31-40 / 70\n * @type {String}\n */\n this.overText = f.over_text || ' / ';\n\n /**\n * Css class for container element\n * @type {String}\n */\n this.cssClass = f.tot_rows_css_class || 'tot';\n\n /**\n * Prefix for container ID\n * @type {String}\n * @private\n */\n this.prfxCounter = 'counter_';\n\n /**\n * Prefix for DOM element containing the counter\n * @type {String}\n * @private\n */\n this.prfxLabel = 'totrows_span_';\n\n /**\n * Prefix for label preceding the counter\n * @type {String}\n * @private\n */\n this.prfxText = 'totRowsTextSpan_';\n\n /**\n * Callback fired before the counter is refreshed\n * @type {Function}\n */\n this.onBeforeRefreshCounter = isFn(f.on_before_refresh_counter) ?\n f.on_before_refresh_counter : null;\n\n /**\n * Callback fired after the counter is refreshed\n * @type {Function}\n */\n this.onAfterRefreshCounter = isFn(f.on_after_refresh_counter) ?\n f.on_after_refresh_counter : null;\n }\n\n /**\n * Initializes RowsCounter instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n\n //rows counter container\n let countDiv = createElm('div', ['id', this.prfxCounter + tf.id]);\n countDiv.className = this.cssClass;\n //rows counter label\n let countSpan = createElm('span', ['id', this.prfxLabel + tf.id]);\n let countText = createElm('span', ['id', this.prfxText + tf.id]);\n countText.appendChild(createText(this.text));\n\n // counter is added to defined element\n if (!this.targetId) {\n tf.setToolbar();\n }\n let targetEl = !this.targetId ? tf.lDiv : elm(this.targetId);\n\n //default container: 'lDiv'\n if (!this.targetId) {\n countDiv.appendChild(countText);\n countDiv.appendChild(countSpan);\n targetEl.appendChild(countDiv);\n }\n else {\n //custom container, no need to append statusDiv\n targetEl.appendChild(countText);\n targetEl.appendChild(countSpan);\n }\n this.container = countDiv;\n this.label = countSpan;\n\n // subscribe to events\n this.emitter.on(['after-filtering', 'grouped-by-page'],\n () => this.refresh(tf.getValidRowsNb()));\n this.emitter.on(['rows-changed'], () => this.refresh());\n\n /**\n * @inherited\n */\n this.initialized = true;\n this.refresh();\n }\n\n /**\n * Refreshes the rows counter\n * @param {Number} p Optional parameter the total number of rows to display\n * @returns\n */\n refresh(p) {\n if (!this.initialized || !this.isEnabled()) {\n return;\n }\n\n let tf = this.tf;\n\n if (this.onBeforeRefreshCounter) {\n this.onBeforeRefreshCounter.call(null, tf, this.label);\n }\n\n let totTxt;\n if (!tf.paging) {\n if (p && p !== '') {\n totTxt = p;\n } else {\n totTxt = tf.getFilterableRowsNb() - tf.nbHiddenRows;\n }\n } else {\n let paging = tf.feature('paging');\n if (paging) {\n //paging start row\n let pagingStartRow = parseInt(paging.startPagingRow, 10) +\n ((tf.getValidRowsNb() > 0) ? 1 : 0);\n let pagingEndRow =\n (pagingStartRow + paging.pagingLength) - 1 <=\n tf.getValidRowsNb() ?\n pagingStartRow + paging.pagingLength - 1 :\n tf.getValidRowsNb();\n totTxt = pagingStartRow + this.fromToTextSeparator +\n pagingEndRow + this.overText + tf.getValidRowsNb();\n }\n }\n\n this.label.innerHTML = totTxt;\n if (this.onAfterRefreshCounter) {\n this.onAfterRefreshCounter.call(null, tf, this.label, totTxt);\n }\n }\n\n /**\n * Remove feature\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n if (!this.targetId && this.container) {\n removeElm(this.container);\n } else {\n elm(this.targetId).innerHTML = '';\n }\n this.label = null;\n this.container = null;\n\n // unsubscribe to events\n this.emitter.off(['after-filtering', 'grouped-by-page'],\n () => this.refresh(tf.getValidRowsNb()));\n this.emitter.off(['rows-changed'], () => this.refresh());\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 610, + "__docId__": 608, "kind": "class", "static": true, "variation": null, @@ -12852,7 +12876,7 @@ ] }, { - "__docId__": 611, + "__docId__": 609, "kind": "constructor", "static": false, "variation": null, @@ -12877,7 +12901,7 @@ "generator": false }, { - "__docId__": 612, + "__docId__": 610, "kind": "member", "static": false, "variation": null, @@ -12897,7 +12921,7 @@ } }, { - "__docId__": 613, + "__docId__": 611, "kind": "member", "static": false, "variation": null, @@ -12917,7 +12941,7 @@ } }, { - "__docId__": 614, + "__docId__": 612, "kind": "member", "static": false, "variation": null, @@ -12937,7 +12961,7 @@ } }, { - "__docId__": 615, + "__docId__": 613, "kind": "member", "static": false, "variation": null, @@ -12957,7 +12981,7 @@ } }, { - "__docId__": 616, + "__docId__": 614, "kind": "member", "static": false, "variation": null, @@ -12977,7 +13001,7 @@ } }, { - "__docId__": 617, + "__docId__": 615, "kind": "member", "static": false, "variation": null, @@ -12997,7 +13021,7 @@ } }, { - "__docId__": 618, + "__docId__": 616, "kind": "member", "static": false, "variation": null, @@ -13017,7 +13041,7 @@ } }, { - "__docId__": 619, + "__docId__": 617, "kind": "member", "static": false, "variation": null, @@ -13037,7 +13061,7 @@ } }, { - "__docId__": 620, + "__docId__": 618, "kind": "member", "static": false, "variation": null, @@ -13057,7 +13081,7 @@ } }, { - "__docId__": 621, + "__docId__": 619, "kind": "member", "static": false, "variation": null, @@ -13077,7 +13101,7 @@ } }, { - "__docId__": 622, + "__docId__": 620, "kind": "member", "static": false, "variation": null, @@ -13097,7 +13121,7 @@ } }, { - "__docId__": 623, + "__docId__": 621, "kind": "member", "static": false, "variation": null, @@ -13117,7 +13141,7 @@ } }, { - "__docId__": 624, + "__docId__": 622, "kind": "method", "static": false, "variation": null, @@ -13131,7 +13155,7 @@ "generator": false }, { - "__docId__": 625, + "__docId__": 623, "kind": "member", "static": false, "variation": null, @@ -13149,7 +13173,7 @@ } }, { - "__docId__": 626, + "__docId__": 624, "kind": "member", "static": false, "variation": null, @@ -13167,7 +13191,7 @@ } }, { - "__docId__": 627, + "__docId__": 625, "kind": "member", "static": false, "variation": null, @@ -13190,7 +13214,7 @@ } }, { - "__docId__": 628, + "__docId__": 626, "kind": "method", "static": false, "variation": null, @@ -13221,7 +13245,7 @@ "generator": false }, { - "__docId__": 629, + "__docId__": 627, "kind": "method", "static": false, "variation": null, @@ -13235,7 +13259,7 @@ "generator": false }, { - "__docId__": 630, + "__docId__": 628, "kind": "member", "static": false, "variation": null, @@ -13253,7 +13277,7 @@ } }, { - "__docId__": 631, + "__docId__": 629, "kind": "member", "static": false, "variation": null, @@ -13271,7 +13295,7 @@ } }, { - "__docId__": 632, + "__docId__": 630, "kind": "member", "static": false, "variation": null, @@ -13289,7 +13313,7 @@ } }, { - "__docId__": 633, + "__docId__": 631, "kind": "file", "static": true, "variation": null, @@ -13302,7 +13326,7 @@ "content": "import {Feature} from '../feature';\nimport {Hash} from './hash';\nimport {Storage} from './storage';\nimport {isEmpty} from '../string';\nimport {isArray, isNull, isString, isUndef} from '../types';\n\n/**\n * Features state object persistable with localStorage, cookie or URL hash\n *\n * @export\n * @class State\n * @extends {Feature}\n */\nexport class State extends Feature {\n\n /**\n * Creates an instance of State\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'state');\n\n let cfg = this.config.state;\n\n /**\n * Determines whether state is persisted with URL hash\n * @type {Boolean}\n */\n this.enableHash = cfg === true ||\n (isArray(cfg.types) && cfg.types.indexOf('hash') !== -1);\n\n /**\n * Determines whether state is persisted with localStorage\n * @type {Boolean}\n */\n this.enableLocalStorage = isArray(cfg.types) &&\n cfg.types.indexOf('local_storage') !== -1;\n\n /**\n * Determines whether state is persisted with localStorage\n * @type {Boolean}\n */\n this.enableCookie = isArray(cfg.types) &&\n cfg.types.indexOf('cookie') !== -1;\n\n /**\n * Persist filters values, enabled by default\n * @type {Boolean}\n */\n this.persistFilters = cfg.filters === false ? false : true;\n\n /**\n * Persist current page number when paging is enabled\n * @type {Boolean}\n */\n this.persistPageNumber = Boolean(cfg.page_number);\n\n /**\n * Persist page length when paging is enabled\n * @type {Boolean}\n */\n this.persistPageLength = Boolean(cfg.page_length);\n\n /**\n * Persist column sorting\n * @type {Boolean}\n */\n this.persistSort = Boolean(cfg.sort);\n\n /**\n * Persist columns visibility\n * @type {Boolean}\n */\n this.persistColsVisibility = Boolean(cfg.columns_visibility);\n\n /**\n * Persist filters row visibility\n * @type {Boolean}\n */\n this.persistFiltersVisibility = Boolean(cfg.filters_visibility);\n\n /**\n * Cookie duration in hours\n * @type {Boolean}\n */\n this.cookieDuration = !isNaN(cfg.cookie_duration) ?\n parseInt(cfg.cookie_duration, 10) : 87600;\n\n /**\n * Enable Storage if localStorage or cookie is required\n * @type {Boolean}\n * @private\n */\n this.enableStorage = this.enableLocalStorage || this.enableCookie;\n\n /**\n * Storage instance if storage is required\n * @type {Storage}\n * @private\n */\n this.storage = null;\n\n /**\n * Hash instance if URL hash is required\n * @type {Boolean}\n * @private\n */\n this.hash = null;\n\n /**\n * Current page number\n * @type {Number}\n * @private\n */\n this.pageNb = null;\n\n /**\n * Current page length\n * @type {Number}\n * @private\n */\n this.pageLength = null;\n\n /**\n * Current column sorting\n * @type {Object}\n * @private\n */\n this.sort = null;\n\n /**\n * Current hidden columns\n * @type {Object}\n * @private\n */\n this.hiddenCols = null;\n\n /**\n * Filters row visibility\n * @type {Boolean}\n * @private\n */\n this.filtersVisibility = null;\n\n /**\n * State object\n * @type {Object}\n * @private\n */\n this.state = {};\n\n /**\n * Prefix for column ID\n * @type {String}\n * @private\n */\n this.prfxCol = 'col_';\n\n /**\n * Prefix for page number ID\n * @type {String}\n * @private\n */\n this.pageNbKey = 'page';\n\n /**\n * Prefix for page length ID\n * @type {String}\n * @private\n */\n this.pageLengthKey = 'page_length';\n\n /**\n * Prefix for filters visibility ID\n * @type {String}\n * @private\n */\n this.filtersVisKey = 'filters_visibility';\n }\n\n /**\n * Initializes State instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n this.emitter.on(['after-filtering'], () => this.update());\n this.emitter.on(['after-page-change', 'after-clearing-filters'],\n (tf, pageNb) => this.updatePage(pageNb));\n this.emitter.on(['after-page-length-change'],\n (tf, pageLength) => this.updatePageLength(pageLength));\n this.emitter.on(['column-sorted'],\n (tf, index, descending) => this.updateSort(index, descending));\n this.emitter.on(['sort-initialized'], () => this._syncSort());\n this.emitter.on(['columns-visibility-initialized'],\n () => this._syncColsVisibility());\n this.emitter.on(['column-shown', 'column-hidden'], (tf, feature,\n colIndex, hiddenCols) => this.updateColsVisibility(hiddenCols));\n this.emitter.on(['filters-visibility-initialized'],\n () => this._syncFiltersVisibility());\n this.emitter.on(['filters-toggled'],\n (tf, extension, visible) => this.updateFiltersVisibility(visible));\n\n if (this.enableHash) {\n this.hash = new Hash(this);\n this.hash.init();\n }\n if (this.enableStorage) {\n this.storage = new Storage(this);\n this.storage.init();\n }\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n\n /**\n * Update state object based on current features state\n */\n update() {\n if (!this.isEnabled()) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n\n if (this.persistFilters) {\n let filterValues = tf.getFiltersValue();\n\n filterValues.forEach((val, idx) => {\n let key = `${this.prfxCol}${idx}`;\n\n if (isString(val) && isEmpty(val)) {\n if (state.hasOwnProperty(key)) {\n state[key].flt = undefined;\n }\n } else {\n state[key] = state[key] || {};\n state[key].flt = val;\n }\n });\n }\n\n if (this.persistPageNumber) {\n if (isNull(this.pageNb)) {\n state[this.pageNbKey] = undefined;\n } else {\n state[this.pageNbKey] = this.pageNb;\n }\n }\n\n if (this.persistPageLength) {\n if (isNull(this.pageLength)) {\n state[this.pageLengthKey] = undefined;\n } else {\n state[this.pageLengthKey] = this.pageLength;\n }\n }\n\n if (this.persistSort) {\n if (!isNull(this.sort)) {\n // Remove previuosly sorted column\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1 && state[key]) {\n state[key].sort = undefined;\n }\n });\n\n let key = `${this.prfxCol}${this.sort.column}`;\n state[key] = state[key] || {};\n state[key].sort = { descending: this.sort.descending };\n }\n }\n\n if (this.persistColsVisibility) {\n if (!isNull(this.hiddenCols)) {\n // Clear previuosly hidden columns\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1 && state[key]) {\n state[key].hidden = undefined;\n }\n });\n\n this.hiddenCols.forEach((colIdx) => {\n let key = `${this.prfxCol}${colIdx}`;\n state[key] = state[key] || {};\n state[key].hidden = true;\n });\n }\n }\n\n if (this.persistFiltersVisibility) {\n if (isNull(this.filtersVisibility)) {\n state[this.filtersVisKey] = undefined;\n } else {\n state[this.filtersVisKey] = this.filtersVisibility;\n }\n }\n\n this.emitter.emit('state-changed', tf, state);\n }\n\n /**\n * Refresh page number field on page number changes\n *\n * @param {Number} pageNb Current page number\n */\n updatePage(pageNb) {\n this.pageNb = pageNb;\n this.update();\n }\n\n /**\n * Refresh page length field on page length changes\n *\n * @param {Number} pageLength Current page length value\n */\n updatePageLength(pageLength) {\n this.pageLength = pageLength;\n this.update();\n }\n\n /**\n * Refresh column sorting information on sort changes\n *\n * @param index {Number} Column index\n * @param {Boolean} descending Descending manner\n */\n updateSort(index, descending) {\n this.sort = {\n column: index,\n descending: descending\n };\n this.update();\n }\n\n /**\n * Refresh hidden columns information on columns visibility changes\n *\n * @param {Array} hiddenCols Columns indexes\n */\n updateColsVisibility(hiddenCols) {\n this.hiddenCols = hiddenCols;\n this.update();\n }\n\n /**\n * Refresh filters visibility on filters visibility change\n *\n * @param {Boolean} visible Visibility flad\n */\n updateFiltersVisibility(visible) {\n this.filtersVisibility = visible;\n this.update();\n }\n\n /**\n * Override state field\n *\n * @param state State object\n */\n override(state) {\n this.state = state;\n }\n\n /**\n * Sync stored features state\n */\n sync() {\n let state = this.state;\n let tf = this.tf;\n\n this._syncFilters();\n\n if (this.persistPageNumber) {\n let pageNumber = state[this.pageNbKey];\n this.emitter.emit('change-page', tf, pageNumber);\n }\n\n if (this.persistPageLength) {\n let pageLength = state[this.pageLengthKey];\n this.emitter.emit('change-page-results', tf, pageLength);\n }\n\n this._syncSort();\n this._syncColsVisibility();\n this._syncFiltersVisibility();\n }\n\n /**\n * Override current state with passed one and sync features\n *\n * @param {Object} state State object\n */\n overrideAndSync(state) {\n // To prevent state to react to features changes, state is temporarily\n // disabled\n this.disable();\n // State is overriden with passed state object\n this.override(state);\n // New hash state is applied to features\n this.sync();\n // State is re-enabled\n this.enable();\n }\n\n /**\n * Sync filters with stored values and filter table\n *\n * @private\n */\n _syncFilters() {\n if (!this.persistFilters) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1) {\n let colIdx = parseInt(key.replace(this.prfxCol, ''), 10);\n let val = state[key].flt;\n tf.setFilterValue(colIdx, val);\n }\n });\n\n tf.filter();\n }\n\n /**\n * Sync sorted column with stored sorting information and sort table\n *\n * @private\n */\n _syncSort() {\n if (!this.persistSort) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1) {\n let colIdx = parseInt(key.replace(this.prfxCol, ''), 10);\n if (!isUndef(state[key].sort)) {\n let sort = state[key].sort;\n this.emitter.emit('sort', tf, colIdx, sort.descending);\n }\n }\n });\n }\n\n /**\n * Sync hidden columns with stored information\n *\n * @private\n */\n _syncColsVisibility() {\n if (!this.persistColsVisibility) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n let hiddenCols = [];\n\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1) {\n let colIdx = parseInt(key.replace(this.prfxCol, ''), 10);\n if (!isUndef(state[key].hidden)) {\n hiddenCols.push(colIdx);\n }\n }\n });\n\n hiddenCols.forEach((colIdx) => {\n this.emitter.emit('hide-column', tf, colIdx);\n });\n }\n\n /**\n * Sync filters visibility with stored information\n *\n * @private\n */\n _syncFiltersVisibility() {\n if (!this.persistFiltersVisibility) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n let filtersVisibility = state[this.filtersVisKey];\n\n this.filtersVisibility = filtersVisibility;\n this.emitter.emit('show-filters', tf, filtersVisibility);\n }\n\n /**\n * Destroy State instance\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n this.state = {};\n\n this.emitter.off(['after-filtering'], () => this.update());\n this.emitter.off(['after-page-change', 'after-clearing-filters'],\n (tf, pageNb) => this.updatePage(pageNb));\n this.emitter.off(['after-page-length-change'],\n (tf, index) => this.updatePageLength(index));\n this.emitter.off(['column-sorted'],\n (tf, index, descending) => this.updateSort(index, descending));\n this.emitter.off(['sort-initialized'], () => this._syncSort());\n this.emitter.off(['columns-visibility-initialized'],\n () => this._syncColsVisibility());\n this.emitter.off(['column-shown', 'column-hidden'], (tf, feature,\n colIndex, hiddenCols) => this.updateColsVisibility(hiddenCols));\n this.emitter.off(['filters-visibility-initialized'],\n () => this._syncFiltersVisibility());\n this.emitter.off(['filters-toggled'],\n (tf, extension, visible) => this.updateFiltersVisibility(visible));\n\n if (this.enableHash) {\n this.hash.destroy();\n this.hash = null;\n }\n\n if (this.enableStorage) {\n this.storage.destroy();\n this.storage = null;\n }\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 634, + "__docId__": 632, "kind": "class", "static": true, "variation": null, @@ -13331,7 +13355,7 @@ ] }, { - "__docId__": 635, + "__docId__": 633, "kind": "constructor", "static": false, "variation": null, @@ -13356,7 +13380,7 @@ "generator": false }, { - "__docId__": 636, + "__docId__": 634, "kind": "member", "static": false, "variation": null, @@ -13376,7 +13400,7 @@ } }, { - "__docId__": 637, + "__docId__": 635, "kind": "member", "static": false, "variation": null, @@ -13396,7 +13420,7 @@ } }, { - "__docId__": 638, + "__docId__": 636, "kind": "member", "static": false, "variation": null, @@ -13416,7 +13440,7 @@ } }, { - "__docId__": 639, + "__docId__": 637, "kind": "member", "static": false, "variation": null, @@ -13436,7 +13460,7 @@ } }, { - "__docId__": 640, + "__docId__": 638, "kind": "member", "static": false, "variation": null, @@ -13456,7 +13480,7 @@ } }, { - "__docId__": 641, + "__docId__": 639, "kind": "member", "static": false, "variation": null, @@ -13476,7 +13500,7 @@ } }, { - "__docId__": 642, + "__docId__": 640, "kind": "member", "static": false, "variation": null, @@ -13496,7 +13520,7 @@ } }, { - "__docId__": 643, + "__docId__": 641, "kind": "member", "static": false, "variation": null, @@ -13516,7 +13540,7 @@ } }, { - "__docId__": 644, + "__docId__": 642, "kind": "member", "static": false, "variation": null, @@ -13536,7 +13560,7 @@ } }, { - "__docId__": 645, + "__docId__": 643, "kind": "member", "static": false, "variation": null, @@ -13556,7 +13580,7 @@ } }, { - "__docId__": 646, + "__docId__": 644, "kind": "member", "static": false, "variation": null, @@ -13576,7 +13600,7 @@ } }, { - "__docId__": 647, + "__docId__": 645, "kind": "member", "static": false, "variation": null, @@ -13596,7 +13620,7 @@ } }, { - "__docId__": 648, + "__docId__": 646, "kind": "member", "static": false, "variation": null, @@ -13616,7 +13640,7 @@ } }, { - "__docId__": 649, + "__docId__": 647, "kind": "member", "static": false, "variation": null, @@ -13636,7 +13660,7 @@ } }, { - "__docId__": 650, + "__docId__": 648, "kind": "member", "static": false, "variation": null, @@ -13656,7 +13680,7 @@ } }, { - "__docId__": 651, + "__docId__": 649, "kind": "member", "static": false, "variation": null, @@ -13676,7 +13700,7 @@ } }, { - "__docId__": 652, + "__docId__": 650, "kind": "member", "static": false, "variation": null, @@ -13696,7 +13720,7 @@ } }, { - "__docId__": 653, + "__docId__": 651, "kind": "member", "static": false, "variation": null, @@ -13716,7 +13740,7 @@ } }, { - "__docId__": 654, + "__docId__": 652, "kind": "member", "static": false, "variation": null, @@ -13736,7 +13760,7 @@ } }, { - "__docId__": 655, + "__docId__": 653, "kind": "member", "static": false, "variation": null, @@ -13756,7 +13780,7 @@ } }, { - "__docId__": 656, + "__docId__": 654, "kind": "member", "static": false, "variation": null, @@ -13776,7 +13800,7 @@ } }, { - "__docId__": 657, + "__docId__": 655, "kind": "member", "static": false, "variation": null, @@ -13796,7 +13820,7 @@ } }, { - "__docId__": 658, + "__docId__": 656, "kind": "member", "static": false, "variation": null, @@ -13816,7 +13840,7 @@ } }, { - "__docId__": 659, + "__docId__": 657, "kind": "method", "static": false, "variation": null, @@ -13830,7 +13854,7 @@ "generator": false }, { - "__docId__": 660, + "__docId__": 658, "kind": "member", "static": false, "variation": null, @@ -13848,7 +13872,7 @@ } }, { - "__docId__": 661, + "__docId__": 659, "kind": "member", "static": false, "variation": null, @@ -13866,7 +13890,7 @@ } }, { - "__docId__": 662, + "__docId__": 660, "kind": "member", "static": false, "variation": null, @@ -13889,7 +13913,7 @@ } }, { - "__docId__": 663, + "__docId__": 661, "kind": "method", "static": false, "variation": null, @@ -13903,7 +13927,7 @@ "generator": false }, { - "__docId__": 664, + "__docId__": 662, "kind": "method", "static": false, "variation": null, @@ -13928,7 +13952,7 @@ "generator": false }, { - "__docId__": 665, + "__docId__": 663, "kind": "member", "static": false, "variation": null, @@ -13946,7 +13970,7 @@ } }, { - "__docId__": 666, + "__docId__": 664, "kind": "method", "static": false, "variation": null, @@ -13971,7 +13995,7 @@ "generator": false }, { - "__docId__": 667, + "__docId__": 665, "kind": "member", "static": false, "variation": null, @@ -13989,7 +14013,7 @@ } }, { - "__docId__": 668, + "__docId__": 666, "kind": "method", "static": false, "variation": null, @@ -14024,7 +14048,7 @@ "generator": false }, { - "__docId__": 669, + "__docId__": 667, "kind": "member", "static": false, "variation": null, @@ -14042,7 +14066,7 @@ } }, { - "__docId__": 670, + "__docId__": 668, "kind": "method", "static": false, "variation": null, @@ -14067,7 +14091,7 @@ "generator": false }, { - "__docId__": 671, + "__docId__": 669, "kind": "member", "static": false, "variation": null, @@ -14085,7 +14109,7 @@ } }, { - "__docId__": 672, + "__docId__": 670, "kind": "method", "static": false, "variation": null, @@ -14110,7 +14134,7 @@ "generator": false }, { - "__docId__": 673, + "__docId__": 671, "kind": "member", "static": false, "variation": null, @@ -14128,7 +14152,7 @@ } }, { - "__docId__": 674, + "__docId__": 672, "kind": "method", "static": false, "variation": null, @@ -14153,7 +14177,7 @@ "generator": false }, { - "__docId__": 675, + "__docId__": 673, "kind": "member", "static": false, "variation": null, @@ -14171,7 +14195,7 @@ } }, { - "__docId__": 676, + "__docId__": 674, "kind": "method", "static": false, "variation": null, @@ -14185,7 +14209,7 @@ "generator": false }, { - "__docId__": 677, + "__docId__": 675, "kind": "method", "static": false, "variation": null, @@ -14210,7 +14234,7 @@ "generator": false }, { - "__docId__": 678, + "__docId__": 676, "kind": "method", "static": false, "variation": null, @@ -14224,7 +14248,7 @@ "generator": false }, { - "__docId__": 679, + "__docId__": 677, "kind": "method", "static": false, "variation": null, @@ -14238,7 +14262,7 @@ "generator": false }, { - "__docId__": 680, + "__docId__": 678, "kind": "method", "static": false, "variation": null, @@ -14252,7 +14276,7 @@ "generator": false }, { - "__docId__": 681, + "__docId__": 679, "kind": "method", "static": false, "variation": null, @@ -14266,7 +14290,7 @@ "generator": false }, { - "__docId__": 682, + "__docId__": 680, "kind": "member", "static": false, "variation": null, @@ -14284,7 +14308,7 @@ } }, { - "__docId__": 683, + "__docId__": 681, "kind": "method", "static": false, "variation": null, @@ -14298,7 +14322,7 @@ "generator": false }, { - "__docId__": 684, + "__docId__": 682, "kind": "member", "static": false, "variation": null, @@ -14316,7 +14340,7 @@ } }, { - "__docId__": 685, + "__docId__": 683, "kind": "member", "static": false, "variation": null, @@ -14334,7 +14358,7 @@ } }, { - "__docId__": 686, + "__docId__": 684, "kind": "member", "static": false, "variation": null, @@ -14352,7 +14376,7 @@ } }, { - "__docId__": 687, + "__docId__": 685, "kind": "member", "static": false, "variation": null, @@ -14370,7 +14394,7 @@ } }, { - "__docId__": 688, + "__docId__": 686, "kind": "file", "static": true, "variation": null, @@ -14383,7 +14407,7 @@ "content": "import {Feature} from '../feature';\nimport {root} from '../root';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {isFn} from '../types';\n\n/**\n * Status bar UI component\n * @export\n * @class StatusBar\n * @extends {Feature}\n */\nexport class StatusBar extends Feature {\n\n /**\n * Creates an instance of StatusBar\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'statusBar');\n\n // Configuration object\n let f = this.config;\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.targetId = f.status_bar_target_id || null;\n\n /**\n * Container DOM element\n * @type {DOMElement}\n * @private\n */\n this.container = null;\n\n /**\n * Message container DOM element\n * @type {DOMElement}\n * @private\n */\n this.msgContainer = null;\n\n /**\n * Label container DOM element\n * @type {DOMElement}\n * @private\n */\n this.labelContainer = null;\n\n /**\n * Text preceding status message\n * @type {String}\n */\n this.text = f.status_bar_text || '';\n\n /**\n * Css class for container element\n * @type {String}\n */\n this.cssClass = f.status_bar_css_class || 'status';\n\n /**\n * Message visibility duration in milliseconds\n * @type {Number}\n * @private\n */\n this.delay = 250;\n\n /**\n * Callback fired before the message is displayed\n * @type {Function}\n */\n this.onBeforeShowMsg = isFn(f.on_before_show_msg) ?\n f.on_before_show_msg : null;\n\n /**\n * Callback fired after the message is displayed\n * @type {Function}\n */\n this.onAfterShowMsg = isFn(f.on_after_show_msg) ?\n f.on_after_show_msg : null;\n\n /**\n * Message appearing upon filtering\n * @type {String}\n */\n this.msgFilter = f.msg_filter || 'Filtering data...';\n\n /**\n * Message appearing when a drop-down filter is populated\n * @type {String}\n */\n this.msgPopulate = f.msg_populate || 'Populating filter...';\n\n /**\n * Message appearing when a checklist filter is populated\n * @type {String}\n */\n this.msgPopulateCheckList = f.msg_populate_checklist ||\n 'Populating list...';\n\n /**\n * Message appearing when a pagination page is changed\n * @type {String}\n */\n this.msgChangePage = f.msg_change_page || 'Collecting paging data...';\n\n /**\n * Message appearing when filters are cleared\n * @type {String}\n */\n this.msgClear = f.msg_clear || 'Clearing filters...';\n\n /**\n * Message appearing when the page length is changed\n * @type {String}\n */\n this.msgChangeResults = f.msg_change_results ||\n 'Changing results per page...';\n\n /**\n * Message appearing when the page is re-set\n * @type {String}\n */\n this.msgResetPage = f.msg_reset_page || 'Re-setting page...';\n\n /**\n * Message appearing when the page length is re-set\n * @type {String}\n */\n this.msgResetPageLength = f.msg_reset_page_length ||\n 'Re-setting page length...';\n\n /**\n * Message appearing upon column sorting\n * @type {String}\n */\n this.msgSort = f.msg_sort || 'Sorting data...';\n\n /**\n * Message appearing when extensions are loading\n * @type {String}\n */\n this.msgLoadExtensions = f.msg_load_extensions ||\n 'Loading extensions...';\n\n /**\n * Message appearing when themes are loading\n * @type {String}\n */\n this.msgLoadThemes = f.msg_load_themes || 'Loading theme(s)...';\n\n /**\n * Prefix for container ID\n * @type {String}\n * @private\n */\n this.prfxCont = 'status_';\n\n /**\n * Prefix for label container ID\n * @type {String}\n * @private\n */\n this.prfxLabel = 'statusSpan_';\n\n /**\n * Prefix for text preceding the message\n * @type {String}\n * @private\n */\n this.prfxText = 'statusText_';\n }\n\n /**\n * Initializes StatusBar instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n let emitter = this.emitter;\n\n //status bar container\n let statusDiv = createElm('div', ['id', this.prfxCont + tf.id]);\n statusDiv.className = this.cssClass;\n\n //status bar label\n let statusSpan = createElm('span', ['id', this.prfxLabel + tf.id]);\n //preceding text\n let statusSpanText = createElm('span', ['id', this.prfxText + tf.id]);\n statusSpanText.appendChild(createText(this.text));\n\n // target element container\n if (!this.targetId) {\n tf.setToolbar();\n }\n let targetEl = (!this.targetId) ? tf.lDiv : elm(this.targetId);\n\n //default container: 'lDiv'\n if (!this.targetId) {\n statusDiv.appendChild(statusSpanText);\n statusDiv.appendChild(statusSpan);\n targetEl.appendChild(statusDiv);\n } else {\n // custom container, no need to append statusDiv\n targetEl.appendChild(statusSpanText);\n targetEl.appendChild(statusSpan);\n }\n\n this.container = statusDiv;\n this.msgContainer = statusSpan;\n this.labelContainer = statusSpanText;\n\n // Subscribe to events\n emitter.on(['before-filtering'], () => this.message(this.msgFilter));\n emitter.on(['before-populating-filter'],\n () => this.message(this.msgPopulate));\n emitter.on(['before-page-change'],\n () => this.message(this.msgChangePage));\n emitter.on(['before-clearing-filters'], () =>\n this.message(this.msgClear));\n emitter.on(['before-page-length-change'],\n () => this.message(this.msgChangeResults));\n emitter.on(['before-reset-page'],\n () => this.message(this.msgResetPage));\n emitter.on(['before-reset-page-length'],\n () => this.message(this.msgResetPageLength));\n emitter.on(['before-loading-extensions'],\n () => this.message(this.msgLoadExtensions));\n emitter.on(['before-loading-themes'],\n () => this.message(this.msgLoadThemes));\n\n emitter.on([\n 'after-filtering',\n 'after-populating-filter',\n 'after-page-change',\n 'after-clearing-filters',\n 'after-page-length-change',\n 'after-reset-page',\n 'after-reset-page-length',\n 'after-loading-extensions',\n 'after-loading-themes'],\n () => this.message('')\n );\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Display status message\n * @param {String} [t=''] Message to be displayed\n */\n message(t = '') {\n if (!this.isEnabled()) {\n return;\n }\n\n if (this.onBeforeShowMsg) {\n this.onBeforeShowMsg.call(null, this.tf, t);\n }\n\n let d = t === '' ? this.delay : 1;\n root.setTimeout(() => {\n if (!this.initialized) {\n return;\n }\n this.msgContainer.innerHTML = t;\n if (this.onAfterShowMsg) {\n this.onAfterShowMsg.call(null, this.tf, t);\n }\n }, d);\n }\n\n /**\n * Destroy StatusBar instance\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n let emitter = this.emitter;\n\n this.container.innerHTML = '';\n if (!this.targetId) {\n removeElm(this.container);\n }\n this.labelContainer = null;\n this.msgContainer = null;\n this.container = null;\n\n // Unsubscribe to events\n emitter.off(['before-filtering'], () => this.message(this.msgFilter));\n emitter.off(['before-populating-filter'],\n () => this.message(this.msgPopulate));\n emitter.off(['before-page-change'],\n () => this.message(this.msgChangePage));\n emitter.off(['before-clearing-filters'],\n () => this.message(this.msgClear));\n emitter.off(['before-page-length-change'],\n () => this.message(this.msgChangeResults));\n emitter.off(['before-reset-page'], () =>\n this.message(this.msgResetPage));\n emitter.off(['before-reset-page-length'],\n () => this.message(this.msgResetPageLength));\n emitter.off(['before-loading-extensions'],\n () => this.message(this.msgLoadExtensions));\n emitter.off(['before-loading-themes'],\n () => this.message(this.msgLoadThemes));\n\n emitter.off([\n 'after-filtering',\n 'after-populating-filter',\n 'after-page-change',\n 'after-clearing-filters',\n 'after-page-length-change',\n 'after-reset-page',\n 'after-reset-page-length',\n 'after-loading-extensions',\n 'after-loading-themes'],\n () => this.message('')\n );\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 689, + "__docId__": 687, "kind": "class", "static": true, "variation": null, @@ -14412,7 +14436,7 @@ ] }, { - "__docId__": 690, + "__docId__": 688, "kind": "constructor", "static": false, "variation": null, @@ -14437,7 +14461,7 @@ "generator": false }, { - "__docId__": 691, + "__docId__": 689, "kind": "member", "static": false, "variation": null, @@ -14457,7 +14481,7 @@ } }, { - "__docId__": 692, + "__docId__": 690, "kind": "member", "static": false, "variation": null, @@ -14477,7 +14501,7 @@ } }, { - "__docId__": 693, + "__docId__": 691, "kind": "member", "static": false, "variation": null, @@ -14497,7 +14521,7 @@ } }, { - "__docId__": 694, + "__docId__": 692, "kind": "member", "static": false, "variation": null, @@ -14517,7 +14541,7 @@ } }, { - "__docId__": 695, + "__docId__": 693, "kind": "member", "static": false, "variation": null, @@ -14537,7 +14561,7 @@ } }, { - "__docId__": 696, + "__docId__": 694, "kind": "member", "static": false, "variation": null, @@ -14557,7 +14581,7 @@ } }, { - "__docId__": 697, + "__docId__": 695, "kind": "member", "static": false, "variation": null, @@ -14577,7 +14601,7 @@ } }, { - "__docId__": 698, + "__docId__": 696, "kind": "member", "static": false, "variation": null, @@ -14597,7 +14621,7 @@ } }, { - "__docId__": 699, + "__docId__": 697, "kind": "member", "static": false, "variation": null, @@ -14617,7 +14641,7 @@ } }, { - "__docId__": 700, + "__docId__": 698, "kind": "member", "static": false, "variation": null, @@ -14637,7 +14661,7 @@ } }, { - "__docId__": 701, + "__docId__": 699, "kind": "member", "static": false, "variation": null, @@ -14657,7 +14681,7 @@ } }, { - "__docId__": 702, + "__docId__": 700, "kind": "member", "static": false, "variation": null, @@ -14677,7 +14701,7 @@ } }, { - "__docId__": 703, + "__docId__": 701, "kind": "member", "static": false, "variation": null, @@ -14697,7 +14721,7 @@ } }, { - "__docId__": 704, + "__docId__": 702, "kind": "member", "static": false, "variation": null, @@ -14717,7 +14741,7 @@ } }, { - "__docId__": 705, + "__docId__": 703, "kind": "member", "static": false, "variation": null, @@ -14737,7 +14761,7 @@ } }, { - "__docId__": 706, + "__docId__": 704, "kind": "member", "static": false, "variation": null, @@ -14757,7 +14781,7 @@ } }, { - "__docId__": 707, + "__docId__": 705, "kind": "member", "static": false, "variation": null, @@ -14777,7 +14801,7 @@ } }, { - "__docId__": 708, + "__docId__": 706, "kind": "member", "static": false, "variation": null, @@ -14797,7 +14821,7 @@ } }, { - "__docId__": 709, + "__docId__": 707, "kind": "member", "static": false, "variation": null, @@ -14817,7 +14841,7 @@ } }, { - "__docId__": 710, + "__docId__": 708, "kind": "member", "static": false, "variation": null, @@ -14837,7 +14861,7 @@ } }, { - "__docId__": 711, + "__docId__": 709, "kind": "member", "static": false, "variation": null, @@ -14857,7 +14881,7 @@ } }, { - "__docId__": 712, + "__docId__": 710, "kind": "member", "static": false, "variation": null, @@ -14877,7 +14901,7 @@ } }, { - "__docId__": 713, + "__docId__": 711, "kind": "member", "static": false, "variation": null, @@ -14897,7 +14921,7 @@ } }, { - "__docId__": 714, + "__docId__": 712, "kind": "method", "static": false, "variation": null, @@ -14911,7 +14935,7 @@ "generator": false }, { - "__docId__": 715, + "__docId__": 713, "kind": "member", "static": false, "variation": null, @@ -14929,7 +14953,7 @@ } }, { - "__docId__": 716, + "__docId__": 714, "kind": "member", "static": false, "variation": null, @@ -14947,7 +14971,7 @@ } }, { - "__docId__": 717, + "__docId__": 715, "kind": "member", "static": false, "variation": null, @@ -14965,7 +14989,7 @@ } }, { - "__docId__": 718, + "__docId__": 716, "kind": "member", "static": false, "variation": null, @@ -14988,7 +15012,7 @@ } }, { - "__docId__": 719, + "__docId__": 717, "kind": "method", "static": false, "variation": null, @@ -15015,7 +15039,7 @@ "generator": false }, { - "__docId__": 720, + "__docId__": 718, "kind": "method", "static": false, "variation": null, @@ -15029,7 +15053,7 @@ "generator": false }, { - "__docId__": 721, + "__docId__": 719, "kind": "member", "static": false, "variation": null, @@ -15047,7 +15071,7 @@ } }, { - "__docId__": 722, + "__docId__": 720, "kind": "member", "static": false, "variation": null, @@ -15065,7 +15089,7 @@ } }, { - "__docId__": 723, + "__docId__": 721, "kind": "member", "static": false, "variation": null, @@ -15083,7 +15107,7 @@ } }, { - "__docId__": 724, + "__docId__": 722, "kind": "member", "static": false, "variation": null, @@ -15101,7 +15125,7 @@ } }, { - "__docId__": 725, + "__docId__": 723, "kind": "file", "static": true, "variation": null, @@ -15114,7 +15138,7 @@ "content": "\nimport Cookie from '../cookie';\nimport {root} from '../root';\n\nconst JSON = root.JSON;\nconst localStorage = root.localStorage;\nconst location = root.location;\n\n/**\n * Checks if browser has Storage feature\n */\nexport const hasStorage = () => {\n return 'Storage' in root;\n};\n\n/**\n * Stores the features state in browser's local storage or cookie\n *\n * @export\n * @class Storage\n */\nexport class Storage {\n\n /**\n * Creates an instance of Storage\n *\n * @param {State} state Instance of State\n */\n constructor(state) {\n\n /**\n * State object\n * @type {State}\n * @private\n */\n this.state = state;\n\n /**\n * TableFilter object\n * @type {TableFilter}\n * @private\n */\n this.tf = state.tf;\n\n /**\n * Persist with local storage\n * @type {Boolean}\n * @private\n */\n this.enableLocalStorage = state.enableLocalStorage && hasStorage();\n\n /**\n * Persist with cookie\n * @type {Boolean}\n * @private\n */\n this.enableCookie = state.enableCookie && !this.enableLocalStorage;\n\n /**\n * Emitter object\n * @type {Emitter}\n * @private\n */\n this.emitter = state.emitter;\n\n /**\n * Cookie duration in hours from state object\n * @type {Number}\n * @private\n */\n this.duration = state.cookieDuration;\n }\n\n\n /**\n * Initializes the Storage object\n */\n init() {\n this.emitter.on(['state-changed'], (tf, state) => this.save(state));\n this.emitter.on(['initialized'], () => this.sync());\n }\n\n /**\n * Persists the features state on state changes\n *\n * @param {State} state Instance of State\n */\n save(state) {\n if (this.enableLocalStorage) {\n localStorage[this.getKey()] = JSON.stringify(state);\n } else {\n Cookie.write(this.getKey(), JSON.stringify(state), this.duration);\n }\n }\n\n /**\n * Turns stored string into a State JSON object\n *\n * @returns {Object} JSON object\n */\n retrieve() {\n let state = null;\n if (this.enableLocalStorage) {\n state = localStorage[this.getKey()];\n } else {\n state = Cookie.read(this.getKey());\n }\n\n if (!state) {\n return null;\n }\n return JSON.parse(state);\n }\n\n /**\n * Removes persisted state from storage\n */\n remove() {\n if (this.enableLocalStorage) {\n localStorage.removeItem(this.getKey());\n } else {\n Cookie.remove(this.getKey());\n }\n }\n\n /**\n * Applies persisted state to features\n */\n sync() {\n let state = this.retrieve();\n if (!state) {\n return;\n }\n // override current state with persisted one and sync features\n this.state.overrideAndSync(state);\n }\n\n /**\n * Returns the storage key\n *\n * @returns {String} Key\n */\n getKey() {\n return JSON.stringify({\n key: `${this.tf.prfxTf}_${this.tf.id}`,\n path: location.pathname\n });\n }\n\n /**\n * Release Storage event subscriptions and clear fields\n */\n destroy() {\n this.emitter.off(['state-changed'], (tf, state) => this.save(state));\n this.emitter.off(['initialized'], () => this.sync());\n\n this.remove();\n\n this.state = null;\n this.emitter = null;\n }\n}\n" }, { - "__docId__": 726, + "__docId__": 724, "kind": "variable", "static": true, "variation": null, @@ -15135,7 +15159,7 @@ } }, { - "__docId__": 727, + "__docId__": 725, "kind": "variable", "static": true, "variation": null, @@ -15156,7 +15180,7 @@ } }, { - "__docId__": 728, + "__docId__": 726, "kind": "variable", "static": true, "variation": null, @@ -15177,7 +15201,7 @@ } }, { - "__docId__": 729, + "__docId__": 727, "kind": "variable", "static": true, "variation": null, @@ -15197,7 +15221,7 @@ } }, { - "__docId__": 730, + "__docId__": 728, "kind": "class", "static": true, "variation": null, @@ -15223,7 +15247,7 @@ "interface": false }, { - "__docId__": 731, + "__docId__": 729, "kind": "constructor", "static": false, "variation": null, @@ -15248,7 +15272,7 @@ "generator": false }, { - "__docId__": 732, + "__docId__": 730, "kind": "member", "static": false, "variation": null, @@ -15268,7 +15292,7 @@ } }, { - "__docId__": 733, + "__docId__": 731, "kind": "member", "static": false, "variation": null, @@ -15288,7 +15312,7 @@ } }, { - "__docId__": 734, + "__docId__": 732, "kind": "member", "static": false, "variation": null, @@ -15308,7 +15332,7 @@ } }, { - "__docId__": 735, + "__docId__": 733, "kind": "member", "static": false, "variation": null, @@ -15328,7 +15352,7 @@ } }, { - "__docId__": 736, + "__docId__": 734, "kind": "member", "static": false, "variation": null, @@ -15348,7 +15372,7 @@ } }, { - "__docId__": 737, + "__docId__": 735, "kind": "member", "static": false, "variation": null, @@ -15368,7 +15392,7 @@ } }, { - "__docId__": 738, + "__docId__": 736, "kind": "method", "static": false, "variation": null, @@ -15382,7 +15406,7 @@ "generator": false }, { - "__docId__": 739, + "__docId__": 737, "kind": "method", "static": false, "variation": null, @@ -15407,7 +15431,7 @@ "generator": false }, { - "__docId__": 740, + "__docId__": 738, "kind": "method", "static": false, "variation": null, @@ -15435,7 +15459,7 @@ "generator": false }, { - "__docId__": 741, + "__docId__": 739, "kind": "method", "static": false, "variation": null, @@ -15449,7 +15473,7 @@ "generator": false }, { - "__docId__": 742, + "__docId__": 740, "kind": "method", "static": false, "variation": null, @@ -15463,7 +15487,7 @@ "generator": false }, { - "__docId__": 743, + "__docId__": 741, "kind": "method", "static": false, "variation": null, @@ -15491,7 +15515,7 @@ "generator": false }, { - "__docId__": 744, + "__docId__": 742, "kind": "method", "static": false, "variation": null, @@ -15505,7 +15529,7 @@ "generator": false }, { - "__docId__": 745, + "__docId__": 743, "kind": "member", "static": false, "variation": null, @@ -15523,7 +15547,7 @@ } }, { - "__docId__": 746, + "__docId__": 744, "kind": "member", "static": false, "variation": null, @@ -15541,7 +15565,7 @@ } }, { - "__docId__": 747, + "__docId__": 745, "kind": "file", "static": true, "variation": null, @@ -15554,7 +15578,7 @@ "content": "/**\n * Export window or global object depending on the environment\n */\nexport const root = (typeof self === 'object' && self.self === self && self) ||\n (typeof global === 'object' && global.global === global && global) ||\n this;\n" }, { - "__docId__": 748, + "__docId__": 746, "kind": "variable", "static": true, "variation": null, @@ -15574,7 +15598,7 @@ } }, { - "__docId__": 749, + "__docId__": 747, "kind": "file", "static": true, "variation": null, @@ -15587,7 +15611,7 @@ "content": "/**\n * Sorting utilities\n */\n\n/**\n * Case insensitive compare function for passed strings\n * @param {String} First string\n * @param {String} Second string\n * @return {Number} -1 if first string lower than second one\n * 0 if first string same order as second one\n * 1 if first string greater than second one\n */\nexport const ignoreCase = (a, b) => {\n let x = a.toLowerCase();\n let y = b.toLowerCase();\n return ((x < y) ? -1 : ((x > y) ? 1 : 0));\n}\n\n/**\n * Sorts passed numbers in a ascending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @param {Number} Negative, zero or positive number\n */\nexport const numSortAsc = (a, b) => (a - b);\n\n/**\n * Sorts passed numbers in a descending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @param {Number} Negative, zero or positive number\n */\nexport const numSortDesc = (a, b) => (b - a);\n" }, { - "__docId__": 750, + "__docId__": 748, "kind": "variable", "static": true, "variation": null, @@ -15637,7 +15661,7 @@ } }, { - "__docId__": 751, + "__docId__": 749, "kind": "variable", "static": true, "variation": null, @@ -15689,7 +15713,7 @@ } }, { - "__docId__": 752, + "__docId__": 750, "kind": "variable", "static": true, "variation": null, @@ -15741,7 +15765,7 @@ } }, { - "__docId__": 753, + "__docId__": 751, "kind": "file", "static": true, "variation": null, @@ -15754,7 +15778,7 @@ "content": "/**\n * String utilities\n */\n\n/**\n * Removes whitespace from both sides of passed string\n * @param {String} text\n * @return {String}\n */\nexport const trim = text => {\n if (text.trim) {\n return text.trim();\n }\n return text.replace(/^\\s*|\\s*$/g, '');\n}\n\n/**\n * Checks if passed string is empty\n * @param {String} text\n * @return {Boolean}\n */\nexport const isEmpty = (text) => trim(text) === '';\n\n/**\n * Makes regex safe string by escaping special characters from passed string\n * @param {String} text\n * @return {String} escaped string\n */\nexport const rgxEsc = text => {\n let chars = /[-\\/\\\\^$*+?.()|[\\]{}]/g;\n let escMatch = '\\\\$&';\n return String(text).replace(chars, escMatch);\n}\n\n/**\n * Returns passed string as lowercase if caseSensitive flag set false. By\n * default it returns the string with no casing changes.\n * @param {String} text\n * @return {String} string\n */\nexport const matchCase = (text, caseSensitive = false) => {\n if (!caseSensitive) {\n return text.toLowerCase();\n }\n return text;\n}\n\n/**\n * Checks if passed data contains the searched term\n * @param {String} term Searched term\n * @param {String} data Data string\n * @param {Boolean} exactMatch Exact match\n * @param {Boolean} caseSensitive Case sensitive\n * @return {Boolean}\n */\nexport const contains =\n (term, data, exactMatch = false, caseSensitive = false) => {\n // Improved by Cedric Wartel (cwl) automatic exact match for selects and\n // special characters are now filtered\n let regexp;\n let modifier = caseSensitive ? 'g' : 'gi';\n if (exactMatch) {\n regexp = new RegExp('(^\\\\s*)' + rgxEsc(term) + '(\\\\s*$)',\n modifier);\n } else {\n regexp = new RegExp(rgxEsc(term), modifier);\n }\n return regexp.test(data);\n }\n" }, { - "__docId__": 754, + "__docId__": 752, "kind": "variable", "static": true, "variation": null, @@ -15794,7 +15818,7 @@ } }, { - "__docId__": 755, + "__docId__": 753, "kind": "variable", "static": true, "variation": null, @@ -15834,7 +15858,7 @@ } }, { - "__docId__": 756, + "__docId__": 754, "kind": "variable", "static": true, "variation": null, @@ -15874,7 +15898,7 @@ } }, { - "__docId__": 757, + "__docId__": 755, "kind": "variable", "static": true, "variation": null, @@ -15914,7 +15938,7 @@ } }, { - "__docId__": 758, + "__docId__": 756, "kind": "variable", "static": true, "variation": null, @@ -15984,7 +16008,7 @@ } }, { - "__docId__": 759, + "__docId__": 757, "kind": "file", "static": true, "variation": null, @@ -15997,7 +16021,7 @@ "content": "import {addEvt, cancelEvt, stopEvt, targetEvt, keyCode} from './event';\nimport {\n addClass, createElm, createOpt, elm, getText, getFirstTextNode, hasClass,\n removeClass, removeElm, tag\n} from './dom';\nimport {contains, matchCase, rgxEsc, trim} from './string';\nimport {isEmpty as isEmptyString} from './string';\nimport {isArray, isEmpty, isFn, isNumber, isObj, isString, isUndef}\nfrom './types';\nimport {formatDate, isValidDate} from './date';\nimport {removeNbFormat} from './helpers';\n\nimport {root} from './root';\nimport {Emitter} from './emitter';\nimport {GridLayout} from './modules/gridLayout';\nimport {Loader} from './modules/loader';\nimport {HighlightKeyword} from './modules/highlightKeywords';\nimport {PopupFilter} from './modules/popupFilter';\nimport {Dropdown} from './modules/dropdown';\nimport {CheckList} from './modules/checkList';\nimport {RowsCounter} from './modules/rowsCounter';\nimport {StatusBar} from './modules/statusBar';\nimport {Paging} from './modules/paging';\nimport {ClearButton} from './modules/clearButton';\nimport {Help} from './modules/help';\nimport {AlternateRows} from './modules/alternateRows';\nimport {NoResults} from './modules/noResults';\nimport {State} from './modules/state';\n\nimport {\n INPUT, SELECT, MULTIPLE, CHECKLIST, NONE,\n ENTER_KEY, TAB_KEY, ESC_KEY, UP_ARROW_KEY, DOWN_ARROW_KEY,\n CELL_TAG, AUTO_FILTER_DELAY\n} from './const';\n\nlet doc = root.document;\n\n/**\n * Makes HTML tables filterable and a bit more :)\n *\n * @export\n * @class TableFilter\n */\nexport class TableFilter {\n\n /**\n * Creates an instance of TableFilter\n * requires `table` or `id` arguments, `row` and `configuration` optional\n * @param {DOMElement} table Table DOM element\n * @param {String} id Table id\n * @param {Number} row index indicating the 1st row\n * @param {Object} configuration object\n */\n constructor(...args) {\n /**\n * ID of current instance\n * @type {String}\n * @private\n */\n this.id = null;\n\n /**\n * Current version\n * @type {String}\n */\n this.version = '{VERSION}';\n\n /**\n * Current year\n * @type {Number}\n * @private\n */\n this.year = new Date().getFullYear();\n\n /**\n * HTML Table DOM element\n * @type {DOMElement}\n */\n this.tbl = null;\n\n /**\n * Calculated row's index from which starts filtering once filters\n * are generated\n * @type {Number}\n */\n this.refRow = null;\n\n /**\n * Index of the headers row\n * @type {Number}\n * @private\n */\n this.headersRow = null;\n\n /**\n * Configuration object\n * @type {Object}\n * @private\n */\n this.cfg = {};\n\n /**\n * Number of rows that can be filtered\n * @type {Number}\n * @private\n */\n this.nbFilterableRows = 0;\n\n /**\n * Number of cells in the reference row\n * @type {Number}\n * @private\n */\n this.nbCells = null;\n\n let startRow;\n\n // TODO: use for-of\n args.forEach((arg) => {\n if (typeof arg === 'object' && arg.nodeName === 'TABLE') {\n this.tbl = arg;\n this.id = arg.id || `tf_${new Date().getTime()}_`;\n } else if (isString(arg)) {\n this.id = arg;\n this.tbl = elm(arg);\n } else if (isNumber(arg)) {\n startRow = arg;\n } else if (isObj(arg)) {\n this.cfg = arg;\n }\n });\n\n if (!this.tbl || this.tbl.nodeName !== 'TABLE' ||\n this.getRowsNb() === 0) {\n throw new Error(`Could not instantiate TableFilter: HTML table\n DOM element not found.`);\n }\n\n // configuration object\n let f = this.cfg;\n\n /**\n * Event emitter instance\n * @type {Emitter}\n */\n this.emitter = new Emitter();\n\n //Start row et cols nb\n this.refRow = isUndef(startRow) ? 2 : (startRow + 1);\n try { this.nbCells = this.getCellsNb(this.refRow); }\n catch (e) { this.nbCells = this.getCellsNb(0); }\n\n /**\n * Base path for static assets\n * @type {String}\n */\n this.basePath = f.base_path || 'tablefilter/';\n\n /*** filters' grid properties ***/\n\n /**\n * Enable/disable filters\n * @type {Boolean}\n */\n this.fltGrid = f.grid === false ? false : true;\n\n /**\n * Enable/disable grid layout (fixed headers)\n * @type {Boolean}\n */\n this.gridLayout = Boolean(f.grid_layout);\n\n /**\n * Filters row index\n * @type {Number}\n */\n this.filtersRowIndex = isNaN(f.filters_row_index) ?\n 0 : f.filters_row_index;\n\n /**\n * Headers row index\n * @type {Number}\n */\n this.headersRow = isNaN(f.headers_row_index) ?\n (this.filtersRowIndex === 0 ? 1 : 0) : f.headers_row_index;\n\n /**\n * Define the type of cell containing a filter (td/th)\n * @type {String}\n */\n this.fltCellTag = isString(f.filters_cell_tag) ?\n f.filters_cell_tag : CELL_TAG;\n\n /**\n * List of filters IDs\n * @type {Array}\n * @private\n */\n this.fltIds = [];\n\n /**\n * List of valid rows indexes (rows visible upon filtering)\n * @type {Array}\n * @private\n */\n this.validRowsIndex = [];\n\n /**\n * Toolbar's container DOM element\n * @type {DOMElement}\n * @private\n */\n this.infDiv = null;\n\n /**\n * Left-side inner container DOM element (rows counter in toolbar)\n * @type {DOMElement}\n * @private\n */\n this.lDiv = null;\n\n /**\n * Right-side inner container DOM element (reset button,\n * page length selector in toolbar)\n * @type {DOMElement}\n * @private\n */\n this.rDiv = null;\n\n /**\n * Middle inner container DOM element (paging elements in toolbar)\n * @type {DOMElement}\n * @private\n */\n this.mDiv = null;\n\n /**\n * Css class for toolbar's container DOM element\n * @type {String}\n */\n this.infDivCssClass = f.inf_div_css_class || 'inf';\n\n /**\n * Css class for left-side inner container DOM element\n * @type {String}\n */\n this.lDivCssClass = f.left_div_css_class || 'ldiv';\n\n /**\n * Css class for right-side inner container DOM element\n * @type {String}\n */\n this.rDivCssClass = f.right_div_css_class || 'rdiv';\n\n /**\n * Css class for middle inner container DOM element\n * @type {String}\n */\n this.mDivCssClass = f.middle_div_css_class || 'mdiv';\n\n /*** filters' grid appearance ***/\n /**\n * Path for stylesheets\n * @type {String}\n */\n this.stylePath = f.style_path || this.basePath + 'style/';\n\n /**\n * Main stylesheet path\n * @type {String}\n */\n this.stylesheet = f.stylesheet || this.stylePath + 'tablefilter.css';\n\n /**\n * Main stylesheet ID\n * @type {String}\n * @private\n */\n this.stylesheetId = this.id + '_style';\n\n /**\n * Css class for the filters row\n * @type {String}\n */\n this.fltsRowCssClass = f.flts_row_css_class || 'fltrow';\n\n /**\n * Enable/disable icons (paging, reset button)\n * @type {Boolean}\n */\n this.enableIcons = f.enable_icons === false ? false : true;\n\n /**\n * Enable/disable alternating rows\n * @type {Boolean}\n */\n this.alternateRows = Boolean(f.alternate_rows);\n\n /**\n * Indicate whether columns widths are set\n * @type {Boolean}\n * @private\n */\n this.hasColWidths = isArray(f.col_widths);\n\n /**\n * Columns widths array\n * @type {Array}\n */\n this.colWidths = this.hasColWidths ? f.col_widths : [];\n\n /**\n * Css class for a filter element\n * @type {String}\n */\n this.fltCssClass = f.flt_css_class || 'flt';\n\n /**\n * Css class for multiple select filters\n * @type {String}\n */\n this.fltMultiCssClass = f.flt_multi_css_class || 'flt_multi';\n\n /**\n * Css class for small filter (when submit button is active)\n * @type {String}\n */\n this.fltSmallCssClass = f.flt_small_css_class || 'flt_s';\n\n /**\n * Css class for single filter type\n * @type {String}\n */\n this.singleFltCssClass = f.single_flt_css_class || 'single_flt';\n\n /*** filters' grid behaviours ***/\n\n /**\n * Enable/disable enter key for input type filters\n * @type {Boolean}\n */\n this.enterKey = f.enter_key === false ? false : true;\n\n /**\n * Callback fired before filtering process starts\n * @type {Function}\n */\n this.onBeforeFilter = isFn(f.on_before_filter) ?\n f.on_before_filter : null;\n\n /**\n * Callback fired after filtering process is completed\n * @type {Function}\n */\n this.onAfterFilter = isFn(f.on_after_filter) ? f.on_after_filter : null;\n\n /**\n * Enable/disable case sensitivity filtering\n * @type {Boolean}\n */\n this.caseSensitive = Boolean(f.case_sensitive);\n\n /**\n * Indicate whether exact match filtering is enabled on a per column\n * basis\n * @type {Boolean}\n * @private\n */\n this.hasExactMatchByCol = isArray(f.columns_exact_match);\n\n /**\n * Exact match filtering per column array\n * @type {Array}\n */\n this.exactMatchByCol = this.hasExactMatchByCol ?\n f.columns_exact_match : [];\n\n /**\n * Globally enable/disable exact match filtering\n * @type {Boolean}\n */\n this.exactMatch = Boolean(f.exact_match);\n\n /**\n * Enable/disable linked filters filtering mode\n * @type {Boolean}\n */\n this.linkedFilters = Boolean(f.linked_filters);\n\n /**\n * Enable/disable readonly state for excluded options when\n * linked filters filtering mode is on\n * @type {Boolean}\n */\n this.disableExcludedOptions = Boolean(f.disable_excluded_options);\n\n /**\n * Active filter ID\n * @type {String}\n * @private\n */\n this.activeFilterId = null;\n\n /**\n * Enable/disable always visible rows, excluded from filtering\n * @type {Boolean}\n */\n this.hasVisibleRows = Boolean(f.rows_always_visible);\n\n /**\n * List of row indexes to be excluded from filtering\n * @type {Array}\n */\n this.visibleRows = this.hasVisibleRows ? f.rows_always_visible : [];\n\n /**\n * Enable/disable external filters generation\n * @type {Boolean}\n */\n this.isExternalFlt = Boolean(f.external_flt_grid);\n\n /**\n * List of containers IDs where external filters will be generated\n * @type {Array}\n */\n this.externalFltTgtIds = f.external_flt_grid_ids || [];\n\n /**\n * Callback fired after filters are generated\n * @type {Function}\n */\n this.onFiltersLoaded = isFn(f.on_filters_loaded) ?\n f.on_filters_loaded : null;\n\n /**\n * Enable/disable single filter filtering all columns\n * @type {Boolean}\n */\n this.singleSearchFlt = Boolean(f.single_filter);\n\n /**\n * Callback fired after a row is validated during filtering\n * @type {Function}\n */\n this.onRowValidated = isFn(f.on_row_validated) ?\n f.on_row_validated : null;\n\n /**\n * List of columns implementing custom filtering\n * @type {Array}\n */\n this.customCellDataCols = f.custom_cell_data_cols ?\n f.custom_cell_data_cols : [];\n\n /**\n * Delegate function for retrieving cell data with custom logic\n * @type {Function}\n */\n this.customCellData = isFn(f.custom_cell_data) ?\n f.custom_cell_data : null;\n\n /**\n * Global watermark text for input filter type or watermark for each\n * filter if an array is supplied\n * @type {String|Array}\n */\n this.watermark = f.watermark || '';\n\n /**\n * Indicate whether watermark is on a per column basis\n * @type {Boolean}\n * @private\n */\n this.isWatermarkArray = isArray(this.watermark);\n\n /**\n * Toolbar's custom container ID\n * @type {String}\n */\n this.toolBarTgtId = f.toolbar_target_id || null;\n\n /**\n * Indicate whether help UI component is disabled\n * @type {Boolean}\n */\n this.help = isUndef(f.help_instructions) ?\n undefined : Boolean(f.help_instructions);\n\n /**\n * Indicate whether pop-up filters UI is enabled\n * @type {Boolean}\n */\n this.popupFilters = Boolean(f.popup_filters);\n\n /**\n * Indicate whether filtered (active) columns indicator is enabled\n * @type {Boolean}\n */\n this.markActiveColumns = Boolean(f.mark_active_columns);\n\n /**\n * Css class for filtered (active) columns\n * @type {String}\n */\n this.activeColumnsCssClass = f.active_columns_css_class ||\n 'activeHeader';\n\n /**\n * Callback fired before a column is marked as filtered\n * @type {Function}\n */\n this.onBeforeActiveColumn = isFn(f.on_before_active_column) ?\n f.on_before_active_column : null;\n\n /**\n * Callback fired after a column is marked as filtered\n * @type {Function}\n */\n this.onAfterActiveColumn = isFn(f.on_after_active_column) ?\n f.on_after_active_column : null;\n\n /*** select filter's customisation and behaviours ***/\n /**\n * Text for clear option in drop-down filter types (1st option)\n * @type {String}\n */\n this.displayAllText = f.display_all_text || 'Clear';\n\n /**\n * Indicate whether empty option is enabled in drop-down filter types\n * @type {Boolean}\n */\n this.enableEmptyOption = Boolean(f.enable_empty_option);\n\n /**\n * Text for empty option in drop-down filter types\n * @type {String}\n */\n this.emptyText = f.empty_text || '(Empty)';\n\n /**\n * Indicate whether non-empty option is enabled in drop-down filter\n * types\n * @type {Boolean}\n */\n this.enableNonEmptyOption = Boolean(f.enable_non_empty_option);\n\n /**\n * Text for non-empty option in drop-down filter types\n * @type {String}\n */\n this.nonEmptyText = f.non_empty_text || '(Non empty)';\n\n /**\n * Indicate whether drop-down filter types filter the table by default\n * on change event\n * @type {Boolean}\n */\n this.onSlcChange = f.on_change === false ? false : true;\n\n /**\n * Indicate whether options in drop-down filter types are sorted in a\n * alpha-numeric manner by default\n * @type {Boolean}\n */\n this.sortSlc = f.sort_select === false ? false : true;\n\n /**\n * Indicate whether options in drop-down filter types are sorted in a\n * ascending numeric manner\n * @type {Boolean}\n * @private\n */\n this.isSortNumAsc = Boolean(f.sort_num_asc);\n\n /**\n * List of columns implementing options sorting in a ascending numeric\n * manner\n * @type {Array}\n */\n this.sortNumAsc = this.isSortNumAsc ? f.sort_num_asc : [];\n\n /**\n * Indicate whether options in drop-down filter types are sorted in a\n * descending numeric manner\n * @type {Boolean}\n * @private\n */\n this.isSortNumDesc = Boolean(f.sort_num_desc);\n\n /**\n * List of columns implementing options sorting in a descending numeric\n * manner\n * @type {Array}\n */\n this.sortNumDesc = this.isSortNumDesc ? f.sort_num_desc : [];\n\n /**\n * Indicate whether drop-down filter types are populated on demand at\n * first usage\n * @type {Boolean}\n */\n this.loadFltOnDemand = Boolean(f.load_filters_on_demand);\n\n /**\n * Indicate whether custom drop-down filter options are implemented\n * @type {Boolean}\n */\n this.hasCustomOptions = isObj(f.custom_options);\n\n /**\n * Custom options definition of a per column basis, ie:\n *\tcustom_options: {\n * cols:[0, 1],\n * texts: [\n * ['a0', 'b0', 'c0'],\n * ['a1', 'b1', 'c1']\n * ],\n * values: [\n * ['a0', 'b0', 'c0'],\n * ['a1', 'b1', 'c1']\n * ],\n * sorts: [false, true]\n * }\n *\n * @type {Object}\n */\n this.customOptions = f.custom_options;\n\n /*** Filter operators ***/\n /**\n * Regular expression operator for input filter. Defaults to 'rgx:'\n * @type {String}\n */\n this.rgxOperator = f.regexp_operator || 'rgx:';\n\n /**\n * Empty cells operator for input filter. Defaults to '[empty]'\n * @type {String}\n */\n this.emOperator = f.empty_operator || '[empty]';\n\n /**\n * Non-empty cells operator for input filter. Defaults to '[nonempty]'\n * @type {String}\n */\n this.nmOperator = f.nonempty_operator || '[nonempty]';\n\n /**\n * Logical OR operator for input filter. Defaults to '||'\n * @type {String}\n */\n this.orOperator = f.or_operator || '||';\n\n /**\n * Logical AND operator for input filter. Defaults to '&&'\n * @type {String}\n */\n this.anOperator = f.and_operator || '&&';\n\n /**\n * Greater than operator for input filter. Defaults to '>'\n * @type {String}\n */\n this.grOperator = f.greater_operator || '>';\n\n /**\n * Lower than operator for input filter. Defaults to '<'\n * @type {String}\n */\n this.lwOperator = f.lower_operator || '<';\n\n /**\n * Lower than or equal operator for input filter. Defaults to '<='\n * @type {String}\n */\n this.leOperator = f.lower_equal_operator || '<=';\n\n /**\n * Greater than or equal operator for input filter. Defaults to '>='\n * @type {String}\n */\n this.geOperator = f.greater_equal_operator || '>=';\n\n /**\n * Inequality operator for input filter. Defaults to '!'\n * @type {String}\n */\n this.dfOperator = f.different_operator || '!';\n\n /**\n * Like operator for input filter. Defaults to '!'\n * @type {String}\n */\n this.lkOperator = f.like_operator || '*';\n\n /**\n * Strict equality operator for input filter. Defaults to '='\n * @type {String}\n */\n this.eqOperator = f.equal_operator || '=';\n\n /**\n * Starts with operator for input filter. Defaults to '='\n * @type {String}\n */\n this.stOperator = f.start_with_operator || '{';\n\n /**\n * Ends with operator for input filter. Defaults to '='\n * @type {String}\n */\n this.enOperator = f.end_with_operator || '}';\n\n // this.curExp = f.cur_exp || '^[¥£€$]';\n\n /**\n * Stored values separator\n * @type {String}\n */\n this.separator = f.separator || ',';\n\n /**\n * Enable rows counter UI component\n * @type {Boolean}\n */\n this.rowsCounter = Boolean(f.rows_counter);\n\n /**\n * Enable status bar UI component\n * @type {Boolean}\n */\n this.statusBar = Boolean(f.status_bar);\n\n /**\n * Enable activity/spinner indicator UI component\n * @type {Boolean}\n */\n this.loader = Boolean(f.loader);\n\n /*** validation - reset buttons/links ***/\n /**\n * Enable filters submission button\n * @type {Boolean}\n */\n this.displayBtn = Boolean(f.btn);\n\n /**\n * Define filters submission button text\n * @type {String}\n */\n this.btnText = f.btn_text || (!this.enableIcons ? 'Go' : '');\n\n /**\n * Css class for filters submission button\n * @type {String}\n */\n this.btnCssClass = f.btn_css_class ||\n (!this.enableIcons ? 'btnflt' : 'btnflt_icon');\n\n /**\n * Enable clear button\n * @type {Boolean}\n */\n this.btnReset = Boolean(f.btn_reset);\n\n /**\n * Callback fired before filters are cleared\n * @type {Function}\n */\n this.onBeforeReset = isFn(f.on_before_reset) ?\n f.on_before_reset : null;\n\n /**\n * Callback fired after filters are cleared\n * @type {Function}\n */\n this.onAfterReset = isFn(f.on_after_reset) ? f.on_after_reset : null;\n\n /**\n * Enable paging component\n * @type {Boolean}\n */\n this.paging = Boolean(f.paging);\n\n /**\n * Number of hidden rows\n * @type {Number}\n * @private\n */\n this.nbHiddenRows = 0;\n\n /**\n * Enable auto-filter behaviour, table is filtered when a user\n * stops typing\n * @type {Boolean}\n */\n this.autoFilter = Boolean(f.auto_filter);\n\n /**\n * Auto-filter delay in msecs\n * @type {Number}\n */\n this.autoFilterDelay = !isNaN(f.auto_filter_delay) ?\n f.auto_filter_delay : AUTO_FILTER_DELAY;\n\n /**\n * Indicate whether user is typing\n * @type {Boolean}\n * @private\n */\n this.isUserTyping = null;\n\n /**\n * Auto-filter interval ID\n * @type {String}\n * @private\n */\n this.autoFilterTimer = null;\n\n /**\n * Enable keyword highlighting behaviour\n * @type {Boolean}\n */\n this.highlightKeywords = Boolean(f.highlight_keywords);\n\n /**\n * Enable no results message UI component\n * @type {Boolean}\n */\n this.noResults = isObj(f.no_results_message) ||\n Boolean(f.no_results_message);\n\n /**\n * Enable state persistence\n * @type {Boolean}\n */\n this.state = isObj(f.state) || Boolean(f.state);\n\n /*** data types ***/\n /**\n * Define default date type (DMY)\n * @type {String}\n */\n this.defaultDateType = f.default_date_type || 'DMY';\n\n /**\n * Define thousands separator ',' or '.', defaults to ','\n * @type {String}\n */\n this.thousandsSeparator = f.thousands_separator || ',';\n\n /**\n * Define decimal separator ',' or '.', defaults to '.'\n * @type {String}\n */\n this.decimalSeparator = f.decimal_separator || '.';\n\n /**\n * Determine whether table has columns with numeric formats\n * @type {Boolean}\n * @private\n */\n this.hasColNbFormat = isArray(f.col_number_format);\n\n /**\n * Define numeric format on a column basis, two possible values 'EU' and\n * 'US', ie:\n * col_number_format : [null, 'US', 'EU', null]\n * @type {Array}\n */\n this.colNbFormat = this.hasColNbFormat ? f.col_number_format : null;\n\n /**\n * Determine whether table has columns with date types\n * @type {Boolean}\n * @private\n */\n this.hasColDateType = isArray(f.col_date_type);\n\n /**\n * Define date format on a column basis, possible values 'DMY', 'MDY',\n * 'YMD', 'DDMMMYYYY', ie:\n * col_date_type : [null, 'DMY', 'MDY', 'YMD', null, 'DDMMMYYYY']\n * @type {Array}\n */\n this.colDateType = this.hasColDateType ? f.col_date_type : null;\n\n /*** ids prefixes ***/\n /**\n * Main prefix\n * @private\n */\n this.prfxTf = 'TF';\n\n /**\n * Filter's ID prefix (inputs - selects)\n * @private\n */\n this.prfxFlt = 'flt';\n\n /**\n * Button's ID prefix\n * @private\n */\n this.prfxValButton = 'btn';\n\n /**\n * Toolbar container ID prefix\n * @private\n */\n this.prfxInfDiv = 'inf_';\n\n /**\n * Toolbar left element ID prefix\n * @private\n */\n this.prfxLDiv = 'ldiv_';\n\n /**\n * Toolbar right element ID prefix\n * @private\n */\n this.prfxRDiv = 'rdiv_';\n\n /**\n * Toolbar middle element ID prefix\n * @private\n */\n this.prfxMDiv = 'mdiv_';\n\n /**\n * Responsive Css class\n * @private\n */\n this.prfxResponsive = 'resp';\n\n /*** extensions ***/\n /**\n * List of loaded extensions\n * @type {Array}\n * @private\n */\n this.extensions = f.extensions;\n\n /**\n * Determine whether extensions are loaded\n * @type {Boolean}\n * @private\n */\n this.hasExtensions = isArray(this.extensions);\n\n /*** themes ***/\n /**\n * Enable default theme\n * @type {Boolean}\n */\n this.enableDefaultTheme = Boolean(f.enable_default_theme);\n\n /**\n * Determine whether themes are enables\n * @type {Boolean}\n * @private\n */\n this.hasThemes = (this.enableDefaultTheme || isArray(f.themes));\n\n /**\n * List of themes, ie:\n * themes: [{ name: 'skyblue' }]\n * @type {Array}\n */\n this.themes = f.themes || [];\n\n /**\n * Define path to themes assets, defaults to\n * 'tablefilter/style/themes/'. Usage:\n * themes: [{ name: 'skyblue' }]\n * @type {Array}\n */\n this.themesPath = f.themes_path || this.stylePath + 'themes/';\n\n /**\n * Enable responsive layout\n * @type {Boolean}\n */\n this.responsive = Boolean(f.responsive);\n\n /**\n * Features registry\n * @private\n */\n this.Mod = {};\n\n /**\n * Extensions registry\n * @private\n */\n this.ExtRegistry = {};\n }\n\n /**\n * Initialise features and layout\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let Mod = this.Mod;\n let n = this.singleSearchFlt ? 1 : this.nbCells;\n let inpclass;\n\n //loads stylesheet if not imported\n this.import(this.stylesheetId, this.stylesheet, null, 'link');\n\n //loads theme\n if (this.hasThemes) {\n this.loadThemes();\n }\n\n // Instantiate help feature and initialise only if set true\n if (!Mod.help) {\n Mod.help = new Help(this);\n }\n if (this.help) {\n Mod.help.init();\n }\n\n if (this.state) {\n if (!Mod.state) {\n Mod.state = new State(this);\n }\n Mod.state.init();\n }\n\n if (this.gridLayout) {\n if (!Mod.gridLayout) {\n Mod.gridLayout = new GridLayout(this);\n }\n Mod.gridLayout.init();\n }\n\n if (this.loader) {\n if (!Mod.loader) {\n Mod.loader = new Loader(this);\n }\n Mod.loader.init();\n }\n\n if (this.highlightKeywords) {\n Mod.highlightKeyword = new HighlightKeyword(this);\n Mod.highlightKeyword.init();\n }\n\n if (this.popupFilters) {\n if (!Mod.popupFilter) {\n Mod.popupFilter = new PopupFilter(this);\n }\n Mod.popupFilter.init();\n }\n\n //filters grid is not generated\n if (!this.fltGrid) {\n this._initNoFilters();\n } else {\n let fltrow = this._insertFiltersRow();\n\n this.nbFilterableRows = this.getRowsNb();\n\n // Generate filters\n for (let i = 0; i < n; i++) {\n this.emitter.emit('before-filter-init', this, i);\n\n let fltcell = createElm(this.fltCellTag),\n col = this.getFilterType(i);\n\n if (this.singleSearchFlt) {\n fltcell.colSpan = this.nbCells;\n }\n if (!this.gridLayout) {\n fltrow.appendChild(fltcell);\n }\n inpclass = (i === n - 1 && this.displayBtn) ?\n this.fltSmallCssClass : this.fltCssClass;\n\n //only 1 input for single search\n if (this.singleSearchFlt) {\n col = INPUT;\n inpclass = this.singleFltCssClass;\n }\n\n //drop-down filters\n if (col === SELECT || col === MULTIPLE) {\n if (!Mod.dropdown) {\n Mod.dropdown = new Dropdown(this);\n }\n Mod.dropdown.init(i, this.isExternalFlt, fltcell);\n }\n // checklist\n else if (col === CHECKLIST) {\n if (!Mod.checkList) {\n Mod.checkList = new CheckList(this);\n }\n Mod.checkList.init(i, this.isExternalFlt, fltcell);\n } else {\n this._buildInputFilter(i, inpclass, fltcell);\n }\n\n // this adds submit button\n if (i === n - 1 && this.displayBtn) {\n this._buildSubmitButton(i, fltcell);\n }\n\n this.emitter.emit('after-filter-init', this, i);\n }\n\n this.emitter.on(['filter-focus'],\n (tf, filter) => this.setActiveFilterId(filter.id));\n\n }//if this.fltGrid\n\n /* Features */\n if (this.hasVisibleRows) {\n this.emitter.on(['after-filtering'],\n () => this.enforceVisibility());\n this.enforceVisibility();\n }\n if (this.rowsCounter) {\n Mod.rowsCounter = new RowsCounter(this);\n Mod.rowsCounter.init();\n }\n if (this.statusBar) {\n Mod.statusBar = new StatusBar(this);\n Mod.statusBar.init();\n }\n if (this.paging) {\n if (!Mod.paging) {\n Mod.paging = new Paging(this);\n Mod.paging.init();\n } else {\n Mod.paging.reset();\n }\n }\n if (this.btnReset) {\n Mod.clearButton = new ClearButton(this);\n Mod.clearButton.init();\n }\n\n if (this.hasColWidths && !this.gridLayout) {\n this.setColWidths();\n }\n if (this.alternateRows) {\n Mod.alternateRows = new AlternateRows(this);\n Mod.alternateRows.init();\n }\n if (this.noResults) {\n if (!Mod.noResults) {\n Mod.noResults = new NoResults(this);\n }\n Mod.noResults.init();\n }\n\n //TF css class is added to table\n if (!this.gridLayout) {\n addClass(this.tbl, this.prfxTf);\n if (this.responsive) {\n addClass(this.tbl, this.prfxResponsive);\n }\n }\n\n /* Loads extensions */\n if (this.hasExtensions) {\n this.initExtensions();\n }\n\n // Subscribe to events\n if (this.markActiveColumns) {\n this.emitter.on(['before-filtering'],\n () => this.clearActiveColumns());\n this.emitter.on(['cell-processed'],\n (tf, colIndex) => this.markActiveColumn(colIndex));\n }\n if (this.linkedFilters) {\n this.emitter.on(['after-filtering'], () => this.linkFilters());\n }\n\n /**\n * @inherited\n */\n this.initialized = true;\n\n if (this.onFiltersLoaded) {\n this.onFiltersLoaded.call(null, this);\n }\n this.emitter.emit('initialized', this);\n }\n\n /**\n * Detect key\n * @param {Event} evt\n */\n detectKey(evt) {\n if (!this.enterKey) {\n return;\n }\n if (evt) {\n let key = keyCode(evt);\n if (key === ENTER_KEY) {\n this.filter();\n cancelEvt(evt);\n stopEvt(evt);\n } else {\n this.isUserTyping = true;\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n }\n }\n }\n\n /**\n * Filter's keyup event: if auto-filter on, detect user is typing and filter\n * columns\n * @param {Event} evt\n */\n onKeyUp(evt) {\n if (!this.autoFilter) {\n return;\n }\n let key = keyCode(evt);\n this.isUserTyping = false;\n\n function filter() {\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n if (!this.isUserTyping) {\n this.filter();\n this.isUserTyping = null;\n }\n }\n\n if (key !== ENTER_KEY && key !== TAB_KEY && key !== ESC_KEY &&\n key !== UP_ARROW_KEY && key !== DOWN_ARROW_KEY) {\n if (this.autoFilterTimer === null) {\n this.autoFilterTimer = root.setInterval(filter.bind(this),\n this.autoFilterDelay);\n }\n } else {\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n }\n }\n\n /**\n * Filter's keydown event: if auto-filter on, detect user is typing\n */\n onKeyDown() {\n if (this.autoFilter) {\n this.isUserTyping = true;\n }\n }\n\n /**\n * Filter's focus event\n * @param {Event} evt\n */\n onInpFocus(evt) {\n let elm = targetEvt(evt);\n this.emitter.emit('filter-focus', this, elm);\n }\n\n /**\n * Filter's blur event: if auto-filter on, clear interval on filter blur\n */\n onInpBlur() {\n if (this.autoFilter) {\n this.isUserTyping = false;\n root.clearInterval(this.autoFilterTimer);\n }\n this.emitter.emit('filter-blur', this);\n }\n\n /**\n * Insert filters row at initialization\n */\n _insertFiltersRow() {\n if (this.gridLayout) {\n return;\n }\n let fltrow;\n\n let thead = tag(this.tbl, 'thead');\n if (thead.length > 0) {\n fltrow = thead[0].insertRow(this.filtersRowIndex);\n } else {\n fltrow = this.tbl.insertRow(this.filtersRowIndex);\n }\n\n fltrow.className = this.fltsRowCssClass;\n\n if (this.isExternalFlt) {\n fltrow.style.display = NONE;\n }\n\n this.emitter.emit('filters-row-inserted', this, fltrow);\n return fltrow;\n }\n\n /**\n * Initialize filtersless table\n */\n _initNoFilters() {\n if (this.fltGrid) {\n return;\n }\n this.refRow = this.refRow > 0 ? this.refRow - 1 : 0;\n this.nbFilterableRows = this.getRowsNb();\n }\n\n /**\n * Build input filter type\n * @param {Number} colIndex Column index\n * @param {String} cssClass Css class applied to filter\n * @param {DOMElement} container Container DOM element\n */\n _buildInputFilter(colIndex, cssClass, container) {\n let col = this.getFilterType(colIndex);\n let externalFltTgtId = this.isExternalFlt ?\n this.externalFltTgtIds[colIndex] : null;\n let inptype = col === INPUT ? 'text' : 'hidden';\n let inp = createElm(INPUT,\n ['id', this.prfxFlt + colIndex + '_' + this.id],\n ['type', inptype], ['ct', colIndex]);\n\n if (inptype !== 'hidden' && this.watermark) {\n inp.setAttribute('placeholder',\n this.isWatermarkArray ? (this.watermark[colIndex] || '') :\n this.watermark\n );\n }\n inp.className = cssClass || this.fltCssClass;\n addEvt(inp, 'focus', (evt) => this.onInpFocus(evt));\n\n //filter is appended in custom element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(inp);\n } else {\n container.appendChild(inp);\n }\n\n this.fltIds.push(inp.id);\n\n addEvt(inp, 'keypress', (evt) => this.detectKey(evt));\n addEvt(inp, 'keydown', () => this.onKeyDown());\n addEvt(inp, 'keyup', (evt) => this.onKeyUp(evt));\n addEvt(inp, 'blur', () => this.onInpBlur());\n }\n\n /**\n * Build submit button\n * @param {Number} colIndex Column index\n * @param {DOMElement} container Container DOM element\n */\n _buildSubmitButton(colIndex, container) {\n let externalFltTgtId = this.isExternalFlt ?\n this.externalFltTgtIds[colIndex] : null;\n let btn = createElm(INPUT,\n ['id', this.prfxValButton + colIndex + '_' + this.id],\n ['type', 'button'], ['value', this.btnText]);\n btn.className = this.btnCssClass;\n\n //filter is appended in custom element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(btn);\n } else {\n container.appendChild(btn);\n }\n\n addEvt(btn, 'click', () => this.filter());\n }\n\n /**\n * Return a feature instance for a given name\n * @param {String} name Name of the feature\n * @return {Object}\n */\n feature(name) {\n return this.Mod[name];\n }\n\n /**\n * Initialise all the extensions defined in the configuration object\n */\n initExtensions() {\n let exts = this.extensions;\n // Set config's publicPath dynamically for Webpack...\n __webpack_public_path__ = this.basePath;\n\n this.emitter.emit('before-loading-extensions', this);\n for (let i = 0, len = exts.length; i < len; i++) {\n let ext = exts[i];\n if (!this.ExtRegistry[ext.name]) {\n this.loadExtension(ext);\n }\n }\n this.emitter.emit('after-loading-extensions', this);\n }\n\n /**\n * Load an extension module\n * @param {Object} ext Extension config object\n */\n loadExtension(ext) {\n if (!ext || !ext.name) {\n return;\n }\n\n let name = ext.name;\n let path = ext.path;\n let modulePath;\n\n if (name && path) {\n modulePath = ext.path + name;\n } else {\n name = name.replace('.js', '');\n modulePath = 'extensions/{}/{}'.replace(/{}/g, name);\n }\n\n // Require pattern for Webpack\n require(['./' + modulePath], (mod) => {\n /* eslint-disable */\n let inst = new mod.default(this, ext);\n /* eslint-enable */\n inst.init();\n this.ExtRegistry[name] = inst;\n });\n }\n\n /**\n * Get an extension instance\n * @param {String} name Name of the extension\n * @return {Object} Extension instance\n */\n extension(name) {\n return this.ExtRegistry[name];\n }\n\n /**\n * Check passed extension name exists\n * @param {String} name Name of the extension\n * @return {Boolean}\n */\n hasExtension(name) {\n return !isEmpty(this.ExtRegistry[name]);\n }\n\n /**\n * Destroy all the extensions defined in the configuration object\n */\n destroyExtensions() {\n let exts = this.extensions;\n\n for (let i = 0, len = exts.length; i < len; i++) {\n let ext = exts[i];\n let extInstance = this.ExtRegistry[ext.name];\n if (extInstance) {\n extInstance.destroy();\n this.ExtRegistry[ext.name] = undefined;\n }\n }\n }\n\n /**\n * Load themes defined in the configuration object\n */\n loadThemes() {\n let themes = this.themes;\n this.emitter.emit('before-loading-themes', this);\n\n //Default theme config\n if (this.enableDefaultTheme) {\n let defaultTheme = { name: 'default' };\n this.themes.push(defaultTheme);\n }\n if (isArray(themes)) {\n for (let i = 0, len = themes.length; i < len; i++) {\n let theme = themes[i];\n let name = theme.name;\n let path = theme.path;\n let styleId = this.prfxTf + name;\n if (name && !path) {\n path = this.themesPath + name + '/' + name + '.css';\n }\n else if (!name && theme.path) {\n name = 'theme{0}'.replace('{0}', i);\n }\n\n if (!this.isImported(path, 'link')) {\n this.import(styleId, path, null, 'link');\n }\n }\n }\n\n // Enable loader indicator\n this.loader = true;\n\n this.emitter.emit('after-loading-themes', this);\n }\n\n /**\n * Return stylesheet DOM element for a given theme name\n * @return {DOMElement} stylesheet element\n */\n getStylesheet(name = 'default') {\n return elm(this.prfxTf + name);\n }\n\n /**\n * Destroy filter grid\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n let Mod = this.Mod;\n let emitter = this.emitter;\n\n if (this.isExternalFlt && !this.popupFilters) {\n this.removeExternalFlts();\n }\n if (this.infDiv) {\n this.removeToolbar();\n }\n if (this.markActiveColumns) {\n this.clearActiveColumns();\n emitter.off(['before-filtering'], () => this.clearActiveColumns());\n emitter.off(['cell-processed'],\n (tf, colIndex) => this.markActiveColumn(colIndex));\n }\n if (this.hasExtensions) {\n this.destroyExtensions();\n }\n\n this.validateAllRows();\n\n if (this.fltGrid && !this.gridLayout) {\n this.tbl.deleteRow(this.filtersRowIndex);\n }\n\n // broadcast destroy event\n emitter.emit('destroy', this);\n\n // Destroy modules\n // TODO: subcribe modules to destroy event instead\n Object.keys(Mod).forEach(function (key) {\n let feature = Mod[key];\n if (feature && isFn(feature.destroy)) {\n feature.destroy();\n }\n });\n\n // unsubscribe to events\n if (this.hasVisibleRows) {\n emitter.off(['after-filtering'], () => this.enforceVisibility());\n }\n if (this.linkedFilters) {\n emitter.off(['after-filtering'], () => this.linkFilters());\n }\n this.emitter.off(['filter-focus'],\n (tf, filter) => this.setActiveFilterId(filter.id));\n\n removeClass(this.tbl, this.prfxTf);\n removeClass(this.tbl, this.prfxResponsive);\n\n this.nbHiddenRows = 0;\n this.validRowsIndex = [];\n this.fltIds = [];\n this.initialized = false;\n }\n\n /**\n * Generate container element for paging, reset button, rows counter etc.\n */\n setToolbar() {\n if (this.infDiv) {\n return;\n }\n\n /*** container div ***/\n let infdiv = createElm('div', ['id', this.prfxInfDiv + this.id]);\n infdiv.className = this.infDivCssClass;\n\n //custom container\n if (this.toolBarTgtId) {\n elm(this.toolBarTgtId).appendChild(infdiv);\n }\n //grid-layout\n else if (this.gridLayout) {\n let gridLayout = this.Mod.gridLayout;\n gridLayout.tblMainCont.appendChild(infdiv);\n infdiv.className = gridLayout.infDivCssClass;\n }\n //default location: just above the table\n else {\n let cont = createElm('caption');\n cont.appendChild(infdiv);\n this.tbl.insertBefore(cont, this.tbl.firstChild);\n }\n this.infDiv = elm(this.prfxInfDiv + this.id);\n\n /*** left div containing rows # displayer ***/\n let ldiv = createElm('div', ['id', this.prfxLDiv + this.id]);\n ldiv.className = this.lDivCssClass;\n infdiv.appendChild(ldiv);\n this.lDiv = elm(this.prfxLDiv + this.id);\n\n /*** right div containing reset button\n + nb results per page select ***/\n let rdiv = createElm('div', ['id', this.prfxRDiv + this.id]);\n rdiv.className = this.rDivCssClass;\n infdiv.appendChild(rdiv);\n this.rDiv = elm(this.prfxRDiv + this.id);\n\n /*** mid div containing paging elements ***/\n let mdiv = createElm('div', ['id', this.prfxMDiv + this.id]);\n mdiv.className = this.mDivCssClass;\n infdiv.appendChild(mdiv);\n this.mDiv = elm(this.prfxMDiv + this.id);\n\n // emit help initialisation only if undefined\n if (isUndef(this.help)) {\n // explicitily set enabled field to true to initialise help by\n // default, only if setting is undefined\n this.Mod.help.enabled = true;\n this.emitter.emit('init-help', this);\n }\n }\n\n /**\n * Remove toolbar container element\n */\n removeToolbar() {\n if (!this.infDiv) {\n return;\n }\n removeElm(this.infDiv);\n this.infDiv = null;\n\n let tbl = this.tbl;\n let captions = tag(tbl, 'caption');\n if (captions.length > 0) {\n [].forEach.call(captions, (elm) => tbl.removeChild(elm));\n }\n }\n\n /**\n * Remove all the external column filters\n */\n removeExternalFlts() {\n if (!this.isExternalFlt) {\n return;\n }\n let ids = this.externalFltTgtIds,\n len = ids.length;\n for (let ct = 0; ct < len; ct++) {\n let externalFltTgtId = ids[ct],\n externalFlt = elm(externalFltTgtId);\n if (externalFlt) {\n externalFlt.innerHTML = '';\n }\n }\n }\n\n /**\n * Check if given column implements a filter with custom options\n * @param {Number} colIndex Column's index\n * @return {Boolean}\n */\n isCustomOptions(colIndex) {\n return this.hasCustomOptions &&\n this.customOptions.cols.indexOf(colIndex) !== -1;\n }\n\n /**\n * Returns an array [[value0, value1 ...],[text0, text1 ...]] with the\n * custom options values and texts\n * @param {Number} colIndex Column's index\n * @return {Array}\n */\n getCustomOptions(colIndex) {\n if (isEmpty(colIndex) || !this.isCustomOptions(colIndex)) {\n return;\n }\n\n let customOptions = this.customOptions;\n let cols = customOptions.cols;\n let optTxt = [], optArray = [];\n let index = cols.indexOf(colIndex);\n let slcValues = customOptions.values[index];\n let slcTexts = customOptions.texts[index];\n let slcSort = customOptions.sorts[index];\n\n for (let r = 0, len = slcValues.length; r < len; r++) {\n optArray.push(slcValues[r]);\n if (slcTexts[r]) {\n optTxt.push(slcTexts[r]);\n } else {\n optTxt.push(slcValues[r]);\n }\n }\n if (slcSort) {\n optArray.sort();\n optTxt.sort();\n }\n return [optArray, optTxt];\n }\n\n /**\n * Filter the table by retrieving the data from each cell in every single\n * row and comparing it to the search term for current column. A row is\n * hidden when all the search terms are not found in inspected row.\n */\n filter() {\n if (!this.fltGrid || !this.initialized) {\n return;\n }\n //invoke onbefore callback\n if (this.onBeforeFilter) {\n this.onBeforeFilter.call(null, this);\n }\n this.emitter.emit('before-filtering', this);\n\n let row = this.tbl.rows,\n nbRows = this.getRowsNb(true),\n hiddenRows = 0;\n\n this.validRowsIndex = [];\n // search args re-init\n let searchArgs = this.getFiltersValue();\n\n let numCellData;\n let nbFormat;\n let re_le = new RegExp(this.leOperator),\n re_ge = new RegExp(this.geOperator),\n re_l = new RegExp(this.lwOperator),\n re_g = new RegExp(this.grOperator),\n re_d = new RegExp(this.dfOperator),\n re_lk = new RegExp(rgxEsc(this.lkOperator)),\n re_eq = new RegExp(this.eqOperator),\n re_st = new RegExp(this.stOperator),\n re_en = new RegExp(this.enOperator),\n // re_an = new RegExp(this.anOperator),\n // re_cr = new RegExp(this.curExp),\n re_em = this.emOperator,\n re_nm = this.nmOperator,\n re_re = new RegExp(rgxEsc(this.rgxOperator));\n\n //keyword highlighting\n function highlight(str, ok, cell) {\n /*jshint validthis:true */\n if (this.highlightKeywords && ok) {\n str = str.replace(re_lk, '');\n str = str.replace(re_eq, '');\n str = str.replace(re_st, '');\n str = str.replace(re_en, '');\n let w = str;\n if (re_le.test(str) || re_ge.test(str) || re_l.test(str) ||\n re_g.test(str) || re_d.test(str)) {\n w = getText(cell);\n }\n if (w !== '') {\n this.emitter.emit('highlight-keyword', this, cell, w);\n }\n }\n }\n\n //looks for search argument in current row\n function hasArg(sA, cellData, j) {\n sA = matchCase(sA, this.caseSensitive);\n\n let occurence;\n let dtType = this.hasColDateType ?\n this.colDateType[j] : this.defaultDateType;\n\n //Search arg operator tests\n let hasLO = re_l.test(sA),\n hasLE = re_le.test(sA),\n hasGR = re_g.test(sA),\n hasGE = re_ge.test(sA),\n hasDF = re_d.test(sA),\n hasEQ = re_eq.test(sA),\n hasLK = re_lk.test(sA),\n // hasAN = re_an.test(sA),\n hasST = re_st.test(sA),\n hasEN = re_en.test(sA),\n hasEM = (re_em === sA),\n hasNM = (re_nm === sA),\n hasRE = re_re.test(sA);\n\n //Search arg dates tests\n let isLDate = hasLO && isValidDate(sA.replace(re_l, ''), dtType);\n let isLEDate = hasLE && isValidDate(sA.replace(re_le, ''), dtType);\n let isGDate = hasGR && isValidDate(sA.replace(re_g, ''), dtType);\n let isGEDate = hasGE && isValidDate(sA.replace(re_ge, ''), dtType);\n let isDFDate = hasDF && isValidDate(sA.replace(re_d, ''), dtType);\n let isEQDate = hasEQ && isValidDate(sA.replace(re_eq, ''), dtType);\n\n let dte1, dte2;\n //dates\n if (isValidDate(cellData, dtType)) {\n dte1 = formatDate(cellData, dtType);\n // lower date\n if (isLDate) {\n dte2 = formatDate(sA.replace(re_l, ''), dtType);\n occurence = dte1 < dte2;\n }\n // lower equal date\n else if (isLEDate) {\n dte2 = formatDate(sA.replace(re_le, ''), dtType);\n occurence = dte1 <= dte2;\n }\n // greater equal date\n else if (isGEDate) {\n dte2 = formatDate(sA.replace(re_ge, ''), dtType);\n occurence = dte1 >= dte2;\n }\n // greater date\n else if (isGDate) {\n dte2 = formatDate(sA.replace(re_g, ''), dtType);\n occurence = dte1 > dte2;\n }\n // different date\n else if (isDFDate) {\n dte2 = formatDate(sA.replace(re_d, ''), dtType);\n occurence = dte1.toString() !== dte2.toString();\n }\n // equal date\n else if (isEQDate) {\n dte2 = formatDate(sA.replace(re_eq, ''), dtType);\n occurence = dte1.toString() === dte2.toString();\n }\n // searched keyword with * operator doesn't have to be a date\n else if (re_lk.test(sA)) {// like date\n occurence = contains(sA.replace(re_lk, ''), cellData,\n false, this.caseSensitive);\n }\n else if (isValidDate(sA, dtType)) {\n dte2 = formatDate(sA, dtType);\n occurence = dte1.toString() === dte2.toString();\n }\n //empty\n else if (hasEM) {\n occurence = isEmptyString(cellData);\n }\n //non-empty\n else if (hasNM) {\n occurence = !isEmptyString(cellData);\n } else {\n occurence = contains(sA, cellData, this.isExactMatch(j),\n this.caseSensitive);\n }\n }\n\n else {\n //first numbers need to be formated\n if (this.hasColNbFormat && this.colNbFormat[j]) {\n numCellData = removeNbFormat(cellData, this.colNbFormat[j]);\n nbFormat = this.colNbFormat[j];\n } else {\n if (this.thousandsSeparator === ',' &&\n this.decimalSeparator === '.') {\n numCellData = removeNbFormat(cellData, 'us');\n nbFormat = 'us';\n } else {\n numCellData = removeNbFormat(cellData, 'eu');\n nbFormat = 'eu';\n }\n }\n\n // first checks if there is any operator (<,>,<=,>=,!,*,=,{,},\n // rgx:)\n // lower equal\n if (hasLE) {\n occurence = numCellData <= removeNbFormat(\n sA.replace(re_le, ''), nbFormat);\n }\n //greater equal\n else if (hasGE) {\n occurence = numCellData >= removeNbFormat(\n sA.replace(re_ge, ''), nbFormat);\n }\n //lower\n else if (hasLO) {\n occurence = numCellData < removeNbFormat(\n sA.replace(re_l, ''), nbFormat);\n }\n //greater\n else if (hasGR) {\n occurence = numCellData > removeNbFormat(\n sA.replace(re_g, ''), nbFormat);\n }\n //different\n else if (hasDF) {\n occurence = contains(sA.replace(re_d, ''), cellData,\n false, this.caseSensitive) ? false : true;\n }\n //like\n else if (hasLK) {\n occurence = contains(sA.replace(re_lk, ''), cellData,\n false, this.caseSensitive);\n }\n //equal\n else if (hasEQ) {\n occurence = contains(sA.replace(re_eq, ''), cellData,\n true, this.caseSensitive);\n }\n //starts with\n else if (hasST) {\n occurence = cellData.indexOf(sA.replace(re_st, '')) === 0 ?\n true : false;\n }\n //ends with\n else if (hasEN) {\n let searchArg = sA.replace(re_en, '');\n occurence =\n cellData.lastIndexOf(searchArg, cellData.length - 1) ===\n (cellData.length - 1) - (searchArg.length - 1) &&\n cellData.lastIndexOf(searchArg, cellData.length - 1)\n > -1 ? true : false;\n }\n //empty\n else if (hasEM) {\n occurence = isEmptyString(cellData);\n }\n //non-empty\n else if (hasNM) {\n occurence = !isEmptyString(cellData);\n }\n //regexp\n else if (hasRE) {\n //in case regexp fires an exception\n try {\n //operator is removed\n let srchArg = sA.replace(re_re, '');\n let rgx = new RegExp(srchArg);\n occurence = rgx.test(cellData);\n } catch (ex) {\n occurence = false;\n }\n } else {\n // If numeric type data, perform a strict equality test and\n // fallback to unformatted number string comparison\n if (numCellData && this.hasColNbFormat &&\n this.colNbFormat[j] && !this.singleSearchFlt) {\n // removeNbFormat can return 0 for strings which are not\n // formatted numbers, in that case return the original\n // string. TODO: handle this in removeNbFormat\n sA = removeNbFormat(sA, nbFormat) || sA;\n occurence = numCellData === sA ||\n contains(sA.toString(), numCellData.toString(),\n this.isExactMatch(j), this.caseSensitive);\n } else {\n // Finally test search term is contained in cell data\n occurence = contains(sA, cellData, this.isExactMatch(j),\n this.caseSensitive);\n }\n }\n\n }//else\n return occurence;\n }//fn\n\n for (let k = this.refRow; k < nbRows; k++) {\n // already filtered rows display re-init\n row[k].style.display = '';\n\n let cells = row[k].cells;\n let nchilds = cells.length;\n\n // checks if row has exact cell #\n if (nchilds !== this.nbCells) {\n continue;\n }\n\n let occurence = [],\n isRowValid = true,\n //only for single filter search\n singleFltRowValid = false;\n\n // this loop retrieves cell data\n for (let j = 0; j < nchilds; j++) {\n //searched keyword\n let sA = searchArgs[this.singleSearchFlt ? 0 : j];\n\n if (sA === '') {\n continue;\n }\n\n let cellData = matchCase(this.getCellData(cells[j]),\n this.caseSensitive);\n\n //multiple search parameter operator ||\n let sAOrSplit = sA.toString().split(this.orOperator),\n //multiple search || parameter boolean\n hasMultiOrSA = sAOrSplit.length > 1,\n //multiple search parameter operator &&\n sAAndSplit = sA.toString().split(this.anOperator),\n //multiple search && parameter boolean\n hasMultiAndSA = sAAndSplit.length > 1;\n\n //detect operators or array query\n if (isArray(sA) || hasMultiOrSA || hasMultiAndSA) {\n let cS,\n s,\n occur = false;\n if (isArray(sA)) {\n s = sA;\n } else {\n s = hasMultiOrSA ? sAOrSplit : sAAndSplit;\n }\n // TODO: improve clarity/readability of this block\n for (let w = 0, len = s.length; w < len; w++) {\n cS = trim(s[w]);\n occur = hasArg.call(this, cS, cellData, j);\n highlight.call(this, cS, occur, cells[j]);\n if ((hasMultiOrSA && occur) ||\n (hasMultiAndSA && !occur)) {\n break;\n }\n if (isArray(sA) && occur) {\n break;\n }\n }\n occurence[j] = occur;\n\n }\n //single search parameter\n else {\n occurence[j] = hasArg.call(this, trim(sA), cellData, j);\n highlight.call(this, sA, occurence[j], cells[j]);\n }//else single param\n\n if (!occurence[j]) {\n isRowValid = false;\n }\n if (this.singleSearchFlt && occurence[j]) {\n singleFltRowValid = true;\n }\n\n this.emitter.emit('cell-processed', this, j, cells[j]);\n }//for j\n\n if (this.singleSearchFlt && singleFltRowValid) {\n isRowValid = true;\n }\n\n if (!isRowValid) {\n this.validateRow(k, false);\n hiddenRows++;\n } else {\n this.validateRow(k, true);\n }\n\n this.emitter.emit('row-processed', this, k,\n this.validRowsIndex.length, isRowValid);\n }// for k\n\n this.nbHiddenRows = hiddenRows;\n\n //invokes onafterfilter callback\n if (this.onAfterFilter) {\n this.onAfterFilter.call(null, this);\n }\n\n this.emitter.emit('after-filtering', this, searchArgs);\n }\n\n /**\n * Return the data of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} includeHeaders Optional: include headers row\n * @param {Boolean} num Optional: return unformatted number\n * @param {Array} exclude Optional: list of row indexes to be excluded\n * @return {Array} Flat list of data for a column\n */\n getColValues(colIndex, includeHeaders = false, num = false, exclude = []) {\n if (!this.fltGrid) {\n return;\n }\n let row = this.tbl.rows;\n let nbRows = this.getRowsNb(true);\n let colValues = [];\n\n if (includeHeaders) {\n colValues.push(this.getHeadersText()[colIndex]);\n }\n\n for (let i = this.refRow; i < nbRows; i++) {\n let isExludedRow = false;\n // checks if current row index appears in exclude array\n if (exclude.length > 0) {\n isExludedRow = exclude.indexOf(i) !== -1;\n }\n let cell = row[i].cells,\n nchilds = cell.length;\n\n // checks if row has exact cell # and is not excluded\n if (nchilds === this.nbCells && !isExludedRow) {\n // this loop retrieves cell data\n for (let j = 0; j < nchilds; j++) {\n if (j !== colIndex || row[i].style.display !== '') {\n continue;\n }\n let cellData = this.getCellData(cell[j]),\n nbFormat = this.colNbFormat ?\n this.colNbFormat[colIndex] : undefined,\n data = num ? removeNbFormat(cellData, nbFormat) :\n cellData;\n colValues.push(data);\n }\n }\n }\n return colValues;\n }\n\n /**\n * Return the filter's value of a specified column\n * @param {Number} index Column index\n * @return {String} Filter value\n */\n getFilterValue(index) {\n if (!this.fltGrid) {\n return;\n }\n let fltValue = '';\n let flt = this.getFilterElement(index);\n if (!flt) {\n return fltValue;\n }\n\n let fltColType = this.getFilterType(index);\n if (fltColType !== MULTIPLE && fltColType !== CHECKLIST) {\n fltValue = flt.value;\n }\n //mutiple select\n else if (fltColType === MULTIPLE) {\n fltValue = this.feature('dropdown').getValues(index);\n }\n //checklist\n else if (fltColType === CHECKLIST) {\n fltValue = this.feature('checkList').getValues(index);\n }\n //return an empty string if collection is empty or contains a single\n //empty string\n if (isArray(fltValue) && fltValue.length === 0 ||\n (fltValue.length === 1 && fltValue[0] === '')) {\n fltValue = '';\n }\n\n return fltValue;\n }\n\n /**\n * Return the filters' values\n * @return {Array} List of filters' values\n */\n getFiltersValue() {\n if (!this.fltGrid) {\n return;\n }\n let searchArgs = [];\n for (let i = 0, len = this.fltIds.length; i < len; i++) {\n let fltValue = this.getFilterValue(i);\n if (isArray(fltValue)) {\n searchArgs.push(fltValue);\n } else {\n searchArgs.push(trim(fltValue));\n }\n }\n return searchArgs;\n }\n\n /**\n * Return the ID of a specified column's filter\n * @param {Number} index Column's index\n * @return {String} ID of the filter element\n */\n getFilterId(index) {\n if (!this.fltGrid) {\n return;\n }\n return this.fltIds[index];\n }\n\n /**\n * Return the list of ids of filters matching a specified type.\n * Note: hidden filters are also returned\n *\n * @param {String} type Filter type string ('input', 'select', 'multiple',\n * 'checklist')\n * @param {Boolean} bool If true returns columns indexes instead of IDs\n * @return {[type]} List of element IDs or column indexes\n */\n getFiltersByType(type, bool) {\n if (!this.fltGrid) {\n return;\n }\n let arr = [];\n for (let i = 0, len = this.fltIds.length; i < len; i++) {\n let fltType = this.getFilterType(i);\n if (fltType === type.toLowerCase()) {\n let a = bool ? i : this.fltIds[i];\n arr.push(a);\n }\n }\n return arr;\n }\n\n /**\n * Return the filter's DOM element for a given column\n * @param {Number} index Column's index\n * @return {DOMElement}\n */\n getFilterElement(index) {\n let fltId = this.fltIds[index];\n return elm(fltId);\n }\n\n /**\n * Return the number of cells for a given row index\n * @param {Number} rowIndex Index of the row\n * @return {Number} Number of cells\n */\n getCellsNb(rowIndex = 0) {\n let tr = this.tbl.rows[rowIndex];\n return tr.cells.length;\n }\n\n /**\n * Return the number of filterable rows starting from reference row if\n * defined\n * @param {Boolean} includeHeaders Include the headers row\n * @return {Number} Number of filterable rows\n */\n getRowsNb(includeHeaders) {\n let s = isUndef(this.refRow) ? 0 : this.refRow;\n let ntrs = this.tbl.rows.length;\n if (includeHeaders) {\n s = 0;\n }\n return parseInt(ntrs - s, 10);\n }\n\n /**\n * Return the data of a given cell\n * @param {DOMElement} cell Cell's DOM object\n * @return {String}\n */\n getCellData(cell) {\n let idx = cell.cellIndex;\n //Check for customCellData callback\n if (this.customCellData &&\n this.customCellDataCols.indexOf(idx) !== -1) {\n return this.customCellData.call(null, this, cell, idx);\n } else {\n return getText(cell);\n }\n }\n\n /**\n * Return the table data with following format:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} includeHeaders Optional: include headers row\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n */\n getTableData(includeHeaders = false, excludeHiddenCols = false) {\n let rows = this.tbl.rows;\n let nbRows = this.getRowsNb(true);\n let tblData = [];\n if (includeHeaders) {\n let headers = this.getHeadersText(excludeHiddenCols);\n tblData.push([this.getHeadersRowIndex(), headers]);\n }\n for (let k = this.refRow; k < nbRows; k++) {\n let rowData = [k, []];\n let cells = rows[k].cells;\n for (let j = 0, len = cells.length; j < len; j++) {\n if (excludeHiddenCols && this.hasExtension('colsVisibility')) {\n if (this.extension('colsVisibility').isColHidden(j)) {\n continue;\n }\n }\n let cellData = this.getCellData(cells[j]);\n rowData[1].push(cellData);\n }\n tblData.push(rowData);\n }\n return tblData;\n }\n\n /**\n * Return the filtered data with following format:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} includeHeaders Optional: include headers row\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n */\n getFilteredData(includeHeaders = false, excludeHiddenCols = false) {\n if (!this.validRowsIndex) {\n return [];\n }\n let rows = this.tbl.rows,\n filteredData = [];\n if (includeHeaders) {\n let headers = this.getHeadersText(excludeHiddenCols);\n filteredData.push([this.getHeadersRowIndex(), headers]);\n }\n\n let validRows = this.getValidRows(true);\n for (let i = 0; i < validRows.length; i++) {\n let rData = [this.validRowsIndex[i], []],\n cells = rows[this.validRowsIndex[i]].cells;\n for (let k = 0; k < cells.length; k++) {\n if (excludeHiddenCols && this.hasExtension('colsVisibility')) {\n if (this.extension('colsVisibility').isColHidden(k)) {\n continue;\n }\n }\n let cellData = this.getCellData(cells[k]);\n rData[1].push(cellData);\n }\n filteredData.push(rData);\n }\n return filteredData;\n }\n\n /**\n * Return the filtered data for a given column index\n * @param {Number} colIndex Colmun's index\n * @param {Boolean} includeHeaders Optional: include headers row\n * @return {Array} Flat list of values ['val0','val1','val2'...]\n *\n * TODO: provide an API returning data in JSON format\n */\n getFilteredDataCol(colIndex, includeHeaders = false) {\n if (isUndef(colIndex)) {\n return [];\n }\n let data = this.getFilteredData(),\n colData = [];\n if (includeHeaders) {\n colData.push(this.getHeadersText()[colIndex]);\n }\n for (let i = 0, len = data.length; i < len; i++) {\n let r = data[i],\n //cols values of current row\n d = r[1],\n //data of searched column\n c = d[colIndex];\n colData.push(c);\n }\n return colData;\n }\n\n /**\n * Get the display value of a row\n * @param {HTMLTableRowElement} row DOM element of the row\n * @return {String} Usually 'none' or ''\n */\n getRowDisplay(row) {\n return row.style.display;\n }\n\n /**\n * Validate/invalidate row by setting the 'validRow' attribute on the row\n * @param {Number} rowIndex Index of the row\n * @param {Boolean} isValid\n */\n validateRow(rowIndex, isValid) {\n let row = this.tbl.rows[rowIndex];\n if (!row || typeof isValid !== 'boolean') {\n return;\n }\n\n // always visible rows are valid\n if (this.hasVisibleRows && this.visibleRows.indexOf(rowIndex) !== -1) {\n isValid = true;\n }\n\n let displayFlag = isValid ? '' : NONE,\n validFlag = isValid ? 'true' : 'false';\n row.style.display = displayFlag;\n\n if (this.paging) {\n row.setAttribute('validRow', validFlag);\n }\n\n if (isValid) {\n if (this.validRowsIndex.indexOf(rowIndex) === -1) {\n this.validRowsIndex.push(rowIndex);\n }\n\n if (this.onRowValidated) {\n this.onRowValidated.call(null, this, rowIndex);\n }\n\n this.emitter.emit('row-validated', this, rowIndex);\n }\n }\n\n /**\n * Validate all filterable rows\n */\n validateAllRows() {\n if (!this.initialized) {\n return;\n }\n this.validRowsIndex = [];\n for (let k = this.refRow; k < this.nbFilterableRows; k++) {\n this.validateRow(k, true);\n }\n }\n\n /**\n * Set search value to a given filter\n * @param {Number} index Column's index\n * @param {String or Array} query searcharg Search term\n */\n setFilterValue(index, query = '') {\n if (!this.fltGrid) {\n return;\n }\n let slc = this.getFilterElement(index),\n fltColType = this.getFilterType(index);\n\n if (fltColType !== MULTIPLE && fltColType !== CHECKLIST) {\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-select-filter', this, index,\n this.linkedFilters, this.isExternalFlt);\n }\n slc.value = query;\n }\n //multiple selects\n else if (fltColType === MULTIPLE) {\n let values = isArray(query) ? query :\n query.split(' ' + this.orOperator + ' ');\n\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-select-filter', this, index,\n this.linkedFilters, this.isExternalFlt);\n }\n\n this.emitter.emit('select-options', this, index, values);\n }\n //checklist\n else if (fltColType === CHECKLIST) {\n let values = [];\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-checklist-filter', this, index,\n this.isExternalFlt);\n }\n if (isArray(query)) {\n values = query;\n } else {\n query = matchCase(query, this.caseSensitive);\n values = query.split(' ' + this.orOperator + ' ');\n }\n\n this.emitter.emit('select-checklist-options', this, index, values);\n }\n }\n\n /**\n * Set them columns' widths as per configuration\n * @param {Element} tbl DOM element\n */\n setColWidths(tbl) {\n if (!this.hasColWidths) {\n return;\n }\n tbl = tbl || this.tbl;\n\n let nbCols = this.nbCells;\n let colWidths = this.colWidths;\n let colTags = tag(tbl, 'col');\n let tblHasColTag = colTags.length > 0;\n let frag = !tblHasColTag ? doc.createDocumentFragment() : null;\n for (let k = 0; k < nbCols; k++) {\n let col;\n if (tblHasColTag) {\n col = colTags[k];\n } else {\n col = createElm('col', ['id', this.id + '_col_' + k]);\n frag.appendChild(col);\n }\n col.style.width = colWidths[k];\n }\n if (!tblHasColTag) {\n tbl.insertBefore(frag, tbl.firstChild);\n }\n }\n\n /**\n * Makes defined rows always visible\n */\n enforceVisibility() {\n if (!this.hasVisibleRows) {\n return;\n }\n let nbRows = this.getRowsNb(true);\n for (let i = 0, len = this.visibleRows.length; i < len; i++) {\n let row = this.visibleRows[i];\n //row index cannot be > nrows\n if (row <= nbRows) {\n this.validateRow(row, true);\n }\n }\n }\n\n /**\n * Clear all the filters' values\n */\n clearFilters() {\n if (!this.fltGrid) {\n return;\n }\n\n this.emitter.emit('before-clearing-filters', this);\n\n if (this.onBeforeReset) {\n this.onBeforeReset.call(null, this, this.getFiltersValue());\n }\n for (let i = 0, len = this.fltIds.length; i < len; i++) {\n this.setFilterValue(i, '');\n }\n\n this.filter();\n\n if (this.onAfterReset) {\n this.onAfterReset.call(null, this);\n }\n this.emitter.emit('after-clearing-filters', this);\n }\n\n /**\n * Clears filtered columns visual indicator (background color)\n */\n clearActiveColumns() {\n for (let i = 0, len = this.getCellsNb(this.headersRow); i < len; i++) {\n removeClass(this.getHeaderElement(i), this.activeColumnsCssClass);\n }\n }\n\n /**\n * Mark currently filtered column\n * @param {Number} colIndex Column index\n */\n markActiveColumn(colIndex) {\n let header = this.getHeaderElement(colIndex);\n if (hasClass(header, this.activeColumnsCssClass)) {\n return;\n }\n if (this.onBeforeActiveColumn) {\n this.onBeforeActiveColumn.call(null, this, colIndex);\n }\n addClass(header, this.activeColumnsCssClass);\n if (this.onAfterActiveColumn) {\n this.onAfterActiveColumn.call(null, this, colIndex);\n }\n }\n\n /**\n * Return the ID of the current active filter\n * @returns {String}\n */\n getActiveFilterId() {\n return this.activeFilterId;\n }\n\n /**\n * Set the ID of the current active filter\n * @param {String} filterId Element ID\n */\n setActiveFilterId(filterId) {\n this.activeFilterId = filterId;\n }\n\n /**\n * Return the column index for a given filter ID\n * @param {string} [filterId=''] Filter ID\n * @returns {Number} Column index\n */\n getColumnIndexFromFilterId(filterId = '') {\n let idx = filterId.split('_')[0];\n idx = idx.split(this.prfxFlt)[1];\n return parseInt(idx, 10);\n }\n\n /**\n * Make specified column's filter active\n * @param colIndex Index of a column\n */\n activateFilter(colIndex) {\n if (isUndef(colIndex)) {\n return;\n }\n this.setActiveFilterId(this.getFilterId(colIndex));\n }\n\n /**\n * Refresh the filters subject to linking ('select', 'multiple',\n * 'checklist' type)\n */\n linkFilters() {\n if (!this.linkedFilters || !this.activeFilterId) {\n return;\n }\n let slcA1 = this.getFiltersByType(SELECT, true),\n slcA2 = this.getFiltersByType(MULTIPLE, true),\n slcA3 = this.getFiltersByType(CHECKLIST, true),\n slcIndex = slcA1.concat(slcA2);\n slcIndex = slcIndex.concat(slcA3);\n\n let activeIdx = this.getColumnIndexFromFilterId(this.activeFilterId);\n\n for (let i = 0, len = slcIndex.length; i < len; i++) {\n let curSlc = elm(this.fltIds[slcIndex[i]]);\n let slcSelectedValue = this.getFilterValue(slcIndex[i]);\n\n // Welcome to cyclomatic complexity hell :)\n // TODO: simplify/refactor if statement\n if (activeIdx !== slcIndex[i] ||\n (this.paging && slcA1.indexOf(slcIndex[i]) !== -1 &&\n activeIdx === slcIndex[i]) ||\n (!this.paging && (slcA3.indexOf(slcIndex[i]) !== -1 ||\n slcA2.indexOf(slcIndex[i]) !== -1)) ||\n slcSelectedValue === this.displayAllText) {\n\n //1st option needs to be inserted\n if (this.loadFltOnDemand) {\n let opt0 = createOpt(this.displayAllText, '');\n curSlc.innerHTML = '';\n curSlc.appendChild(opt0);\n }\n\n if (slcA3.indexOf(slcIndex[i]) !== -1) {\n this.emitter.emit('build-checklist-filter', this,\n slcIndex[i]);\n } else {\n this.emitter.emit('build-select-filter', this, slcIndex[i],\n true);\n }\n\n this.setFilterValue(slcIndex[i], slcSelectedValue);\n }\n }\n }\n\n /**\n * Determines if passed filter column implements exact query match\n * @param {Number} colIndex [description]\n * @return {Boolean} [description]\n */\n isExactMatch(colIndex) {\n let fltType = this.getFilterType(colIndex);\n return this.exactMatchByCol[colIndex] || this.exactMatch ||\n fltType !== INPUT;\n }\n\n /**\n * Check if passed script or stylesheet is already imported\n * @param {String} filePath Ressource path\n * @param {String} type Possible values: 'script' or 'link'\n * @return {Boolean}\n */\n isImported(filePath, type = 'script') {\n let imported = false,\n attr = type === 'script' ? 'src' : 'href',\n files = tag(doc, type);\n for (let i = 0, len = files.length; i < len; i++) {\n if (isUndef(files[i][attr])) {\n continue;\n }\n if (files[i][attr].match(filePath)) {\n imported = true;\n break;\n }\n }\n return imported;\n }\n\n /**\n * Import script or stylesheet\n * @param {String} fileId Ressource ID\n * @param {String} filePath Ressource path\n * @param {Function} callback Callback\n * @param {String} type Possible values: 'script' or 'link'\n */\n import(fileId, filePath, callback, type = 'script') {\n if (this.isImported(filePath, type)) {\n return;\n }\n let o = this,\n isLoaded = false,\n file,\n head = tag(doc, 'head')[0];\n\n if (type.toLowerCase() === 'link') {\n file = createElm('link',\n ['id', fileId], ['type', 'text/css'],\n ['rel', 'stylesheet'], ['href', filePath]\n );\n } else {\n file = createElm('script',\n ['id', fileId],\n ['type', 'text/javascript'], ['src', filePath]\n );\n }\n\n //Browser <> IE onload event works only for scripts, not for stylesheets\n file.onload = file.onreadystatechange = () => {\n if (!isLoaded &&\n (!this.readyState || this.readyState === 'loaded' ||\n this.readyState === 'complete')) {\n isLoaded = true;\n if (typeof callback === 'function') {\n callback.call(null, o);\n }\n }\n };\n file.onerror = function () {\n throw new Error(`TableFilter could not load: ${filePath}`);\n };\n head.appendChild(file);\n }\n\n /**\n * Check if table has filters grid\n * @return {Boolean}\n */\n isInitialized() {\n return this.initialized;\n }\n\n /**\n * Get list of filter IDs\n * @return {[type]} [description]\n */\n getFiltersId() {\n return this.fltIds || [];\n }\n\n /**\n * Get filtered (valid) rows indexes\n * @param {Boolean} reCalc Force calculation of filtered rows list\n * @return {Array} List of row indexes\n */\n getValidRows(reCalc) {\n if (!reCalc) {\n return this.validRowsIndex;\n }\n\n let nbRows = this.getRowsNb(true);\n this.validRowsIndex = [];\n for (let k = this.refRow; k < nbRows; k++) {\n let r = this.tbl.rows[k];\n if (!this.paging) {\n if (this.getRowDisplay(r) !== NONE) {\n this.validRowsIndex.push(r.rowIndex);\n }\n } else {\n if (r.getAttribute('validRow') === 'true' ||\n r.getAttribute('validRow') === null) {\n this.validRowsIndex.push(r.rowIndex);\n }\n }\n }\n return this.validRowsIndex;\n }\n\n /**\n * Get the index of the row containing the filters\n * @return {Number}\n */\n getFiltersRowIndex() {\n return this.filtersRowIndex;\n }\n\n /**\n * Get the index of the headers row\n * @return {Number}\n */\n getHeadersRowIndex() {\n return this.headersRow;\n }\n\n /**\n * Get the row index from where the filtering process start (1st filterable\n * row)\n * @return {Number}\n */\n getStartRowIndex() {\n return this.refRow;\n }\n\n /**\n * Get the index of the last row\n * @return {Number}\n */\n getLastRowIndex() {\n let nbRows = this.getRowsNb(true);\n return (nbRows - 1);\n }\n\n /**\n * Get the header DOM element for a given column index\n * @param {Number} colIndex Column index\n * @return {Element}\n */\n getHeaderElement(colIndex) {\n let table = this.gridLayout ? this.Mod.gridLayout.headTbl : this.tbl;\n let tHead = tag(table, 'thead');\n let headersRow = this.headersRow;\n let header;\n for (let i = 0; i < this.nbCells; i++) {\n if (i !== colIndex) {\n continue;\n }\n if (tHead.length === 0) {\n header = table.rows[headersRow].cells[i];\n }\n if (tHead.length === 1) {\n header = tHead[0].rows[headersRow].cells[i];\n }\n break;\n }\n return header;\n }\n\n /**\n * Return the list of headers' text\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array} list of headers' text\n */\n getHeadersText(excludeHiddenCols = false) {\n let headers = [];\n for (let j = 0; j < this.nbCells; j++) {\n if (excludeHiddenCols && this.hasExtension('colsVisibility')) {\n if (this.extension('colsVisibility').isColHidden(j)) {\n continue;\n }\n }\n let header = this.getHeaderElement(j);\n let headerText = getFirstTextNode(header);\n headers.push(headerText);\n }\n return headers;\n }\n\n /**\n * Return the filter type for a specified column\n * @param {Number} colIndex Column's index\n * @return {String}\n */\n getFilterType(colIndex) {\n let colType = this.cfg['col_' + colIndex];\n return !colType ? INPUT : colType.toLowerCase();\n }\n\n /**\n * Get the total number of filterable rows\n * @return {Number}\n */\n getFilterableRowsNb() {\n return this.getRowsNb(false);\n }\n\n /**\n * Return the total number of valid rows\n * @param {Boolean} [reCalc=false] Forces calculation of filtered rows\n * @returns {Number}\n */\n getValidRowsNb(reCalc = false) {\n return this.getValidRows(reCalc).length;\n }\n\n /**\n * Get the configuration object (literal object)\n * @return {Object}\n */\n config() {\n return this.cfg;\n }\n}\n" }, { - "__docId__": 760, + "__docId__": 758, "kind": "variable", "static": true, "variation": null, @@ -16018,7 +16042,7 @@ } }, { - "__docId__": 761, + "__docId__": 759, "kind": "class", "static": true, "variation": null, @@ -16044,7 +16068,7 @@ "interface": false }, { - "__docId__": 762, + "__docId__": 760, "kind": "constructor", "static": false, "variation": null, @@ -16099,7 +16123,7 @@ "generator": false }, { - "__docId__": 763, + "__docId__": 761, "kind": "member", "static": false, "variation": null, @@ -16119,7 +16143,7 @@ } }, { - "__docId__": 764, + "__docId__": 762, "kind": "member", "static": false, "variation": null, @@ -16139,7 +16163,7 @@ } }, { - "__docId__": 765, + "__docId__": 763, "kind": "member", "static": false, "variation": null, @@ -16159,7 +16183,7 @@ } }, { - "__docId__": 766, + "__docId__": 764, "kind": "member", "static": false, "variation": null, @@ -16179,7 +16203,7 @@ } }, { - "__docId__": 767, + "__docId__": 765, "kind": "member", "static": false, "variation": null, @@ -16199,7 +16223,7 @@ } }, { - "__docId__": 768, + "__docId__": 766, "kind": "member", "static": false, "variation": null, @@ -16219,7 +16243,7 @@ } }, { - "__docId__": 769, + "__docId__": 767, "kind": "member", "static": false, "variation": null, @@ -16239,7 +16263,7 @@ } }, { - "__docId__": 770, + "__docId__": 768, "kind": "member", "static": false, "variation": null, @@ -16259,7 +16283,7 @@ } }, { - "__docId__": 771, + "__docId__": 769, "kind": "member", "static": false, "variation": null, @@ -16279,7 +16303,7 @@ } }, { - "__docId__": 772, + "__docId__": 770, "kind": "member", "static": false, "variation": null, @@ -16297,7 +16321,7 @@ } }, { - "__docId__": 773, + "__docId__": 771, "kind": "member", "static": false, "variation": null, @@ -16315,7 +16339,7 @@ } }, { - "__docId__": 774, + "__docId__": 772, "kind": "member", "static": false, "variation": null, @@ -16333,7 +16357,7 @@ } }, { - "__docId__": 775, + "__docId__": 773, "kind": "member", "static": false, "variation": null, @@ -16351,7 +16375,7 @@ } }, { - "__docId__": 776, + "__docId__": 774, "kind": "member", "static": false, "variation": null, @@ -16369,7 +16393,7 @@ } }, { - "__docId__": 777, + "__docId__": 775, "kind": "member", "static": false, "variation": null, @@ -16389,7 +16413,7 @@ } }, { - "__docId__": 778, + "__docId__": 776, "kind": "member", "static": false, "variation": null, @@ -16407,7 +16431,7 @@ } }, { - "__docId__": 779, + "__docId__": 777, "kind": "member", "static": false, "variation": null, @@ -16425,7 +16449,7 @@ } }, { - "__docId__": 780, + "__docId__": 778, "kind": "member", "static": false, "variation": null, @@ -16443,7 +16467,7 @@ } }, { - "__docId__": 781, + "__docId__": 779, "kind": "member", "static": false, "variation": null, @@ -16463,7 +16487,7 @@ } }, { - "__docId__": 782, + "__docId__": 780, "kind": "member", "static": false, "variation": null, @@ -16483,7 +16507,7 @@ } }, { - "__docId__": 783, + "__docId__": 781, "kind": "member", "static": false, "variation": null, @@ -16503,7 +16527,7 @@ } }, { - "__docId__": 784, + "__docId__": 782, "kind": "member", "static": false, "variation": null, @@ -16523,7 +16547,7 @@ } }, { - "__docId__": 785, + "__docId__": 783, "kind": "member", "static": false, "variation": null, @@ -16543,7 +16567,7 @@ } }, { - "__docId__": 786, + "__docId__": 784, "kind": "member", "static": false, "variation": null, @@ -16563,7 +16587,7 @@ } }, { - "__docId__": 787, + "__docId__": 785, "kind": "member", "static": false, "variation": null, @@ -16583,7 +16607,7 @@ } }, { - "__docId__": 788, + "__docId__": 786, "kind": "member", "static": false, "variation": null, @@ -16603,7 +16627,7 @@ } }, { - "__docId__": 789, + "__docId__": 787, "kind": "member", "static": false, "variation": null, @@ -16623,7 +16647,7 @@ } }, { - "__docId__": 790, + "__docId__": 788, "kind": "member", "static": false, "variation": null, @@ -16643,7 +16667,7 @@ } }, { - "__docId__": 791, + "__docId__": 789, "kind": "member", "static": false, "variation": null, @@ -16663,7 +16687,7 @@ } }, { - "__docId__": 792, + "__docId__": 790, "kind": "member", "static": false, "variation": null, @@ -16683,7 +16707,7 @@ } }, { - "__docId__": 793, + "__docId__": 791, "kind": "member", "static": false, "variation": null, @@ -16703,7 +16727,7 @@ } }, { - "__docId__": 794, + "__docId__": 792, "kind": "member", "static": false, "variation": null, @@ -16723,7 +16747,7 @@ } }, { - "__docId__": 795, + "__docId__": 793, "kind": "member", "static": false, "variation": null, @@ -16743,7 +16767,7 @@ } }, { - "__docId__": 796, + "__docId__": 794, "kind": "member", "static": false, "variation": null, @@ -16763,7 +16787,7 @@ } }, { - "__docId__": 797, + "__docId__": 795, "kind": "member", "static": false, "variation": null, @@ -16783,7 +16807,7 @@ } }, { - "__docId__": 798, + "__docId__": 796, "kind": "member", "static": false, "variation": null, @@ -16803,7 +16827,7 @@ } }, { - "__docId__": 799, + "__docId__": 797, "kind": "member", "static": false, "variation": null, @@ -16823,7 +16847,7 @@ } }, { - "__docId__": 800, + "__docId__": 798, "kind": "member", "static": false, "variation": null, @@ -16843,7 +16867,7 @@ } }, { - "__docId__": 801, + "__docId__": 799, "kind": "member", "static": false, "variation": null, @@ -16863,7 +16887,7 @@ } }, { - "__docId__": 802, + "__docId__": 800, "kind": "member", "static": false, "variation": null, @@ -16883,7 +16907,7 @@ } }, { - "__docId__": 803, + "__docId__": 801, "kind": "member", "static": false, "variation": null, @@ -16903,7 +16927,7 @@ } }, { - "__docId__": 804, + "__docId__": 802, "kind": "member", "static": false, "variation": null, @@ -16923,7 +16947,7 @@ } }, { - "__docId__": 805, + "__docId__": 803, "kind": "member", "static": false, "variation": null, @@ -16943,7 +16967,7 @@ } }, { - "__docId__": 806, + "__docId__": 804, "kind": "member", "static": false, "variation": null, @@ -16963,7 +16987,7 @@ } }, { - "__docId__": 807, + "__docId__": 805, "kind": "member", "static": false, "variation": null, @@ -16983,7 +17007,7 @@ } }, { - "__docId__": 808, + "__docId__": 806, "kind": "member", "static": false, "variation": null, @@ -17003,7 +17027,7 @@ } }, { - "__docId__": 809, + "__docId__": 807, "kind": "member", "static": false, "variation": null, @@ -17023,7 +17047,7 @@ } }, { - "__docId__": 810, + "__docId__": 808, "kind": "member", "static": false, "variation": null, @@ -17043,7 +17067,7 @@ } }, { - "__docId__": 811, + "__docId__": 809, "kind": "member", "static": false, "variation": null, @@ -17063,7 +17087,7 @@ } }, { - "__docId__": 812, + "__docId__": 810, "kind": "member", "static": false, "variation": null, @@ -17083,7 +17107,7 @@ } }, { - "__docId__": 813, + "__docId__": 811, "kind": "member", "static": false, "variation": null, @@ -17103,7 +17127,7 @@ } }, { - "__docId__": 814, + "__docId__": 812, "kind": "member", "static": false, "variation": null, @@ -17123,7 +17147,7 @@ } }, { - "__docId__": 815, + "__docId__": 813, "kind": "member", "static": false, "variation": null, @@ -17143,7 +17167,7 @@ } }, { - "__docId__": 816, + "__docId__": 814, "kind": "member", "static": false, "variation": null, @@ -17163,7 +17187,7 @@ } }, { - "__docId__": 817, + "__docId__": 815, "kind": "member", "static": false, "variation": null, @@ -17183,7 +17207,7 @@ } }, { - "__docId__": 818, + "__docId__": 816, "kind": "member", "static": false, "variation": null, @@ -17203,7 +17227,7 @@ } }, { - "__docId__": 819, + "__docId__": 817, "kind": "member", "static": false, "variation": null, @@ -17223,7 +17247,7 @@ } }, { - "__docId__": 820, + "__docId__": 818, "kind": "member", "static": false, "variation": null, @@ -17243,7 +17267,7 @@ } }, { - "__docId__": 821, + "__docId__": 819, "kind": "member", "static": false, "variation": null, @@ -17263,7 +17287,7 @@ } }, { - "__docId__": 822, + "__docId__": 820, "kind": "member", "static": false, "variation": null, @@ -17283,7 +17307,7 @@ } }, { - "__docId__": 823, + "__docId__": 821, "kind": "member", "static": false, "variation": null, @@ -17303,7 +17327,7 @@ } }, { - "__docId__": 824, + "__docId__": 822, "kind": "member", "static": false, "variation": null, @@ -17323,7 +17347,7 @@ } }, { - "__docId__": 825, + "__docId__": 823, "kind": "member", "static": false, "variation": null, @@ -17343,7 +17367,7 @@ } }, { - "__docId__": 826, + "__docId__": 824, "kind": "member", "static": false, "variation": null, @@ -17363,7 +17387,7 @@ } }, { - "__docId__": 827, + "__docId__": 825, "kind": "member", "static": false, "variation": null, @@ -17383,7 +17407,7 @@ } }, { - "__docId__": 828, + "__docId__": 826, "kind": "member", "static": false, "variation": null, @@ -17404,7 +17428,7 @@ } }, { - "__docId__": 829, + "__docId__": 827, "kind": "member", "static": false, "variation": null, @@ -17424,7 +17448,7 @@ } }, { - "__docId__": 830, + "__docId__": 828, "kind": "member", "static": false, "variation": null, @@ -17444,7 +17468,7 @@ } }, { - "__docId__": 831, + "__docId__": 829, "kind": "member", "static": false, "variation": null, @@ -17464,7 +17488,7 @@ } }, { - "__docId__": 832, + "__docId__": 830, "kind": "member", "static": false, "variation": null, @@ -17484,7 +17508,7 @@ } }, { - "__docId__": 833, + "__docId__": 831, "kind": "member", "static": false, "variation": null, @@ -17504,7 +17528,7 @@ } }, { - "__docId__": 834, + "__docId__": 832, "kind": "member", "static": false, "variation": null, @@ -17524,7 +17548,7 @@ } }, { - "__docId__": 835, + "__docId__": 833, "kind": "member", "static": false, "variation": null, @@ -17544,7 +17568,7 @@ } }, { - "__docId__": 836, + "__docId__": 834, "kind": "member", "static": false, "variation": null, @@ -17564,7 +17588,7 @@ } }, { - "__docId__": 837, + "__docId__": 835, "kind": "member", "static": false, "variation": null, @@ -17584,7 +17608,7 @@ } }, { - "__docId__": 838, + "__docId__": 836, "kind": "member", "static": false, "variation": null, @@ -17604,7 +17628,7 @@ } }, { - "__docId__": 839, + "__docId__": 837, "kind": "member", "static": false, "variation": null, @@ -17624,7 +17648,7 @@ } }, { - "__docId__": 840, + "__docId__": 838, "kind": "member", "static": false, "variation": null, @@ -17644,7 +17668,7 @@ } }, { - "__docId__": 841, + "__docId__": 839, "kind": "member", "static": false, "variation": null, @@ -17664,7 +17688,7 @@ } }, { - "__docId__": 842, + "__docId__": 840, "kind": "member", "static": false, "variation": null, @@ -17684,7 +17708,7 @@ } }, { - "__docId__": 843, + "__docId__": 841, "kind": "member", "static": false, "variation": null, @@ -17704,7 +17728,7 @@ } }, { - "__docId__": 844, + "__docId__": 842, "kind": "member", "static": false, "variation": null, @@ -17724,7 +17748,7 @@ } }, { - "__docId__": 845, + "__docId__": 843, "kind": "member", "static": false, "variation": null, @@ -17744,7 +17768,7 @@ } }, { - "__docId__": 846, + "__docId__": 844, "kind": "member", "static": false, "variation": null, @@ -17764,7 +17788,7 @@ } }, { - "__docId__": 847, + "__docId__": 845, "kind": "member", "static": false, "variation": null, @@ -17784,7 +17808,7 @@ } }, { - "__docId__": 848, + "__docId__": 846, "kind": "member", "static": false, "variation": null, @@ -17804,7 +17828,7 @@ } }, { - "__docId__": 849, + "__docId__": 847, "kind": "member", "static": false, "variation": null, @@ -17824,7 +17848,7 @@ } }, { - "__docId__": 850, + "__docId__": 848, "kind": "member", "static": false, "variation": null, @@ -17844,7 +17868,7 @@ } }, { - "__docId__": 851, + "__docId__": 849, "kind": "member", "static": false, "variation": null, @@ -17864,7 +17888,7 @@ } }, { - "__docId__": 852, + "__docId__": 850, "kind": "member", "static": false, "variation": null, @@ -17884,7 +17908,7 @@ } }, { - "__docId__": 853, + "__docId__": 851, "kind": "member", "static": false, "variation": null, @@ -17904,7 +17928,7 @@ } }, { - "__docId__": 854, + "__docId__": 852, "kind": "member", "static": false, "variation": null, @@ -17924,7 +17948,7 @@ } }, { - "__docId__": 855, + "__docId__": 853, "kind": "member", "static": false, "variation": null, @@ -17944,7 +17968,7 @@ } }, { - "__docId__": 856, + "__docId__": 854, "kind": "member", "static": false, "variation": null, @@ -17964,7 +17988,7 @@ } }, { - "__docId__": 857, + "__docId__": 855, "kind": "member", "static": false, "variation": null, @@ -17984,7 +18008,7 @@ } }, { - "__docId__": 858, + "__docId__": 856, "kind": "member", "static": false, "variation": null, @@ -18004,7 +18028,7 @@ } }, { - "__docId__": 859, + "__docId__": 857, "kind": "member", "static": false, "variation": null, @@ -18024,7 +18048,7 @@ } }, { - "__docId__": 860, + "__docId__": 858, "kind": "member", "static": false, "variation": null, @@ -18044,7 +18068,7 @@ } }, { - "__docId__": 861, + "__docId__": 859, "kind": "member", "static": false, "variation": null, @@ -18064,7 +18088,7 @@ } }, { - "__docId__": 862, + "__docId__": 860, "kind": "member", "static": false, "variation": null, @@ -18084,7 +18108,7 @@ } }, { - "__docId__": 863, + "__docId__": 861, "kind": "member", "static": false, "variation": null, @@ -18104,7 +18128,7 @@ } }, { - "__docId__": 864, + "__docId__": 862, "kind": "member", "static": false, "variation": null, @@ -18124,7 +18148,7 @@ } }, { - "__docId__": 865, + "__docId__": 863, "kind": "member", "static": false, "variation": null, @@ -18144,7 +18168,7 @@ } }, { - "__docId__": 866, + "__docId__": 864, "kind": "member", "static": false, "variation": null, @@ -18164,7 +18188,7 @@ } }, { - "__docId__": 867, + "__docId__": 865, "kind": "member", "static": false, "variation": null, @@ -18184,7 +18208,7 @@ } }, { - "__docId__": 868, + "__docId__": 866, "kind": "member", "static": false, "variation": null, @@ -18204,7 +18228,7 @@ } }, { - "__docId__": 869, + "__docId__": 867, "kind": "member", "static": false, "variation": null, @@ -18224,7 +18248,7 @@ } }, { - "__docId__": 870, + "__docId__": 868, "kind": "member", "static": false, "variation": null, @@ -18244,7 +18268,7 @@ } }, { - "__docId__": 871, + "__docId__": 869, "kind": "member", "static": false, "variation": null, @@ -18264,7 +18288,7 @@ } }, { - "__docId__": 872, + "__docId__": 870, "kind": "member", "static": false, "variation": null, @@ -18284,7 +18308,7 @@ } }, { - "__docId__": 873, + "__docId__": 871, "kind": "member", "static": false, "variation": null, @@ -18304,7 +18328,7 @@ } }, { - "__docId__": 874, + "__docId__": 872, "kind": "member", "static": false, "variation": null, @@ -18324,7 +18348,7 @@ } }, { - "__docId__": 875, + "__docId__": 873, "kind": "member", "static": false, "variation": null, @@ -18344,7 +18368,7 @@ } }, { - "__docId__": 876, + "__docId__": 874, "kind": "member", "static": false, "variation": null, @@ -18364,7 +18388,7 @@ } }, { - "__docId__": 877, + "__docId__": 875, "kind": "member", "static": false, "variation": null, @@ -18384,7 +18408,7 @@ } }, { - "__docId__": 878, + "__docId__": 876, "kind": "member", "static": false, "variation": null, @@ -18404,7 +18428,7 @@ } }, { - "__docId__": 879, + "__docId__": 877, "kind": "member", "static": false, "variation": null, @@ -18424,7 +18448,7 @@ } }, { - "__docId__": 880, + "__docId__": 878, "kind": "member", "static": false, "variation": null, @@ -18444,7 +18468,7 @@ } }, { - "__docId__": 881, + "__docId__": 879, "kind": "member", "static": false, "variation": null, @@ -18464,7 +18488,7 @@ } }, { - "__docId__": 882, + "__docId__": 880, "kind": "member", "static": false, "variation": null, @@ -18484,7 +18508,7 @@ } }, { - "__docId__": 883, + "__docId__": 881, "kind": "member", "static": false, "variation": null, @@ -18504,7 +18528,7 @@ } }, { - "__docId__": 884, + "__docId__": 882, "kind": "member", "static": false, "variation": null, @@ -18524,7 +18548,7 @@ } }, { - "__docId__": 885, + "__docId__": 883, "kind": "member", "static": false, "variation": null, @@ -18544,7 +18568,7 @@ } }, { - "__docId__": 886, + "__docId__": 884, "kind": "member", "static": false, "variation": null, @@ -18564,7 +18588,7 @@ } }, { - "__docId__": 887, + "__docId__": 885, "kind": "member", "static": false, "variation": null, @@ -18584,7 +18608,7 @@ } }, { - "__docId__": 888, + "__docId__": 886, "kind": "member", "static": false, "variation": null, @@ -18604,7 +18628,7 @@ } }, { - "__docId__": 889, + "__docId__": 887, "kind": "member", "static": false, "variation": null, @@ -18624,7 +18648,7 @@ } }, { - "__docId__": 890, + "__docId__": 888, "kind": "member", "static": false, "variation": null, @@ -18644,7 +18668,7 @@ } }, { - "__docId__": 891, + "__docId__": 889, "kind": "member", "static": false, "variation": null, @@ -18661,7 +18685,7 @@ } }, { - "__docId__": 892, + "__docId__": 890, "kind": "member", "static": false, "variation": null, @@ -18678,7 +18702,7 @@ } }, { - "__docId__": 893, + "__docId__": 891, "kind": "member", "static": false, "variation": null, @@ -18695,7 +18719,7 @@ } }, { - "__docId__": 894, + "__docId__": 892, "kind": "member", "static": false, "variation": null, @@ -18712,7 +18736,7 @@ } }, { - "__docId__": 895, + "__docId__": 893, "kind": "member", "static": false, "variation": null, @@ -18729,7 +18753,7 @@ } }, { - "__docId__": 896, + "__docId__": 894, "kind": "member", "static": false, "variation": null, @@ -18746,7 +18770,7 @@ } }, { - "__docId__": 897, + "__docId__": 895, "kind": "member", "static": false, "variation": null, @@ -18763,7 +18787,7 @@ } }, { - "__docId__": 898, + "__docId__": 896, "kind": "member", "static": false, "variation": null, @@ -18780,7 +18804,7 @@ } }, { - "__docId__": 899, + "__docId__": 897, "kind": "member", "static": false, "variation": null, @@ -18800,7 +18824,7 @@ } }, { - "__docId__": 900, + "__docId__": 898, "kind": "member", "static": false, "variation": null, @@ -18820,7 +18844,7 @@ } }, { - "__docId__": 901, + "__docId__": 899, "kind": "member", "static": false, "variation": null, @@ -18840,7 +18864,7 @@ } }, { - "__docId__": 902, + "__docId__": 900, "kind": "member", "static": false, "variation": null, @@ -18860,7 +18884,7 @@ } }, { - "__docId__": 903, + "__docId__": 901, "kind": "member", "static": false, "variation": null, @@ -18880,7 +18904,7 @@ } }, { - "__docId__": 904, + "__docId__": 902, "kind": "member", "static": false, "variation": null, @@ -18900,7 +18924,7 @@ } }, { - "__docId__": 905, + "__docId__": 903, "kind": "member", "static": false, "variation": null, @@ -18920,7 +18944,7 @@ } }, { - "__docId__": 906, + "__docId__": 904, "kind": "member", "static": false, "variation": null, @@ -18937,7 +18961,7 @@ } }, { - "__docId__": 907, + "__docId__": 905, "kind": "member", "static": false, "variation": null, @@ -18954,7 +18978,7 @@ } }, { - "__docId__": 908, + "__docId__": 906, "kind": "method", "static": false, "variation": null, @@ -18968,7 +18992,7 @@ "generator": false }, { - "__docId__": 909, + "__docId__": 907, "kind": "member", "static": false, "variation": null, @@ -18986,7 +19010,7 @@ } }, { - "__docId__": 910, + "__docId__": 908, "kind": "member", "static": false, "variation": null, @@ -19009,7 +19033,7 @@ } }, { - "__docId__": 911, + "__docId__": 909, "kind": "method", "static": false, "variation": null, @@ -19034,7 +19058,7 @@ "generator": false }, { - "__docId__": 912, + "__docId__": 910, "kind": "member", "static": false, "variation": null, @@ -19052,7 +19076,7 @@ } }, { - "__docId__": 913, + "__docId__": 911, "kind": "member", "static": false, "variation": null, @@ -19070,7 +19094,7 @@ } }, { - "__docId__": 914, + "__docId__": 912, "kind": "method", "static": false, "variation": null, @@ -19095,7 +19119,7 @@ "generator": false }, { - "__docId__": 915, + "__docId__": 913, "kind": "member", "static": false, "variation": null, @@ -19113,7 +19137,7 @@ } }, { - "__docId__": 916, + "__docId__": 914, "kind": "member", "static": false, "variation": null, @@ -19131,7 +19155,7 @@ } }, { - "__docId__": 917, + "__docId__": 915, "kind": "member", "static": false, "variation": null, @@ -19149,7 +19173,7 @@ } }, { - "__docId__": 918, + "__docId__": 916, "kind": "member", "static": false, "variation": null, @@ -19167,7 +19191,7 @@ } }, { - "__docId__": 919, + "__docId__": 917, "kind": "member", "static": false, "variation": null, @@ -19185,7 +19209,7 @@ } }, { - "__docId__": 920, + "__docId__": 918, "kind": "method", "static": false, "variation": null, @@ -19199,7 +19223,7 @@ "generator": false }, { - "__docId__": 921, + "__docId__": 919, "kind": "member", "static": false, "variation": null, @@ -19217,7 +19241,7 @@ } }, { - "__docId__": 922, + "__docId__": 920, "kind": "method", "static": false, "variation": null, @@ -19242,7 +19266,7 @@ "generator": false }, { - "__docId__": 923, + "__docId__": 921, "kind": "method", "static": false, "variation": null, @@ -19256,7 +19280,7 @@ "generator": false }, { - "__docId__": 924, + "__docId__": 922, "kind": "member", "static": false, "variation": null, @@ -19274,7 +19298,7 @@ } }, { - "__docId__": 925, + "__docId__": 923, "kind": "method", "static": false, "variation": null, @@ -19293,7 +19317,7 @@ "generator": false }, { - "__docId__": 926, + "__docId__": 924, "kind": "method", "static": false, "variation": null, @@ -19307,7 +19331,7 @@ "generator": false }, { - "__docId__": 927, + "__docId__": 925, "kind": "member", "static": false, "variation": null, @@ -19325,7 +19349,7 @@ } }, { - "__docId__": 928, + "__docId__": 926, "kind": "member", "static": false, "variation": null, @@ -19343,7 +19367,7 @@ } }, { - "__docId__": 929, + "__docId__": 927, "kind": "method", "static": false, "variation": null, @@ -19388,7 +19412,7 @@ "generator": false }, { - "__docId__": 930, + "__docId__": 928, "kind": "method", "static": false, "variation": null, @@ -19423,7 +19447,7 @@ "generator": false }, { - "__docId__": 931, + "__docId__": 929, "kind": "method", "static": false, "variation": null, @@ -19456,7 +19480,7 @@ "generator": false }, { - "__docId__": 932, + "__docId__": 930, "kind": "method", "static": false, "variation": null, @@ -19470,7 +19494,7 @@ "generator": false }, { - "__docId__": 933, + "__docId__": 931, "kind": "method", "static": false, "variation": null, @@ -19495,7 +19519,7 @@ "generator": false }, { - "__docId__": 934, + "__docId__": 932, "kind": "method", "static": false, "variation": null, @@ -19528,7 +19552,7 @@ "generator": false }, { - "__docId__": 935, + "__docId__": 933, "kind": "method", "static": false, "variation": null, @@ -19561,7 +19585,7 @@ "generator": false }, { - "__docId__": 936, + "__docId__": 934, "kind": "method", "static": false, "variation": null, @@ -19575,7 +19599,7 @@ "generator": false }, { - "__docId__": 937, + "__docId__": 935, "kind": "method", "static": false, "variation": null, @@ -19589,7 +19613,7 @@ "generator": false }, { - "__docId__": 938, + "__docId__": 936, "kind": "member", "static": false, "variation": null, @@ -19607,7 +19631,7 @@ } }, { - "__docId__": 939, + "__docId__": 937, "kind": "method", "static": false, "variation": null, @@ -19639,7 +19663,7 @@ "generator": false }, { - "__docId__": 940, + "__docId__": 938, "kind": "method", "static": false, "variation": null, @@ -19653,7 +19677,7 @@ "generator": false }, { - "__docId__": 941, + "__docId__": 939, "kind": "member", "static": false, "variation": null, @@ -19671,7 +19695,7 @@ } }, { - "__docId__": 942, + "__docId__": 940, "kind": "member", "static": false, "variation": null, @@ -19689,7 +19713,7 @@ } }, { - "__docId__": 943, + "__docId__": 941, "kind": "member", "static": false, "variation": null, @@ -19707,7 +19731,7 @@ } }, { - "__docId__": 944, + "__docId__": 942, "kind": "member", "static": false, "variation": null, @@ -19725,7 +19749,7 @@ } }, { - "__docId__": 945, + "__docId__": 943, "kind": "method", "static": false, "variation": null, @@ -19739,7 +19763,7 @@ "generator": false }, { - "__docId__": 946, + "__docId__": 944, "kind": "member", "static": false, "variation": null, @@ -19757,7 +19781,7 @@ } }, { - "__docId__": 947, + "__docId__": 945, "kind": "member", "static": false, "variation": null, @@ -19775,7 +19799,7 @@ } }, { - "__docId__": 948, + "__docId__": 946, "kind": "member", "static": false, "variation": null, @@ -19793,7 +19817,7 @@ } }, { - "__docId__": 949, + "__docId__": 947, "kind": "member", "static": false, "variation": null, @@ -19811,7 +19835,7 @@ } }, { - "__docId__": 950, + "__docId__": 948, "kind": "method", "static": false, "variation": null, @@ -19825,7 +19849,7 @@ "generator": false }, { - "__docId__": 951, + "__docId__": 949, "kind": "member", "static": false, "variation": null, @@ -19843,7 +19867,7 @@ } }, { - "__docId__": 952, + "__docId__": 950, "kind": "method", "static": false, "variation": null, @@ -19857,7 +19881,7 @@ "generator": false }, { - "__docId__": 953, + "__docId__": 951, "kind": "method", "static": false, "variation": null, @@ -19890,7 +19914,7 @@ "generator": false }, { - "__docId__": 954, + "__docId__": 952, "kind": "method", "static": false, "variation": null, @@ -19923,7 +19947,7 @@ "generator": false }, { - "__docId__": 955, + "__docId__": 953, "kind": "method", "static": false, "variation": null, @@ -19937,7 +19961,7 @@ "generator": false }, { - "__docId__": 956, + "__docId__": 954, "kind": "member", "static": false, "variation": null, @@ -19955,7 +19979,7 @@ } }, { - "__docId__": 957, + "__docId__": 955, "kind": "member", "static": false, "variation": null, @@ -19973,7 +19997,7 @@ } }, { - "__docId__": 958, + "__docId__": 956, "kind": "method", "static": false, "variation": null, @@ -20036,7 +20060,7 @@ "generator": false }, { - "__docId__": 959, + "__docId__": 957, "kind": "method", "static": false, "variation": null, @@ -20069,7 +20093,7 @@ "generator": false }, { - "__docId__": 960, + "__docId__": 958, "kind": "method", "static": false, "variation": null, @@ -20091,7 +20115,7 @@ "generator": false }, { - "__docId__": 961, + "__docId__": 959, "kind": "method", "static": false, "variation": null, @@ -20124,7 +20148,7 @@ "generator": false }, { - "__docId__": 962, + "__docId__": 960, "kind": "method", "static": false, "variation": null, @@ -20167,7 +20191,7 @@ "generator": false }, { - "__docId__": 963, + "__docId__": 961, "kind": "method", "static": false, "variation": null, @@ -20200,7 +20224,7 @@ "generator": false }, { - "__docId__": 964, + "__docId__": 962, "kind": "method", "static": false, "variation": null, @@ -20233,7 +20257,7 @@ "generator": false }, { - "__docId__": 965, + "__docId__": 963, "kind": "method", "static": false, "variation": null, @@ -20266,7 +20290,7 @@ "generator": false }, { - "__docId__": 966, + "__docId__": 964, "kind": "method", "static": false, "variation": null, @@ -20299,7 +20323,7 @@ "generator": false }, { - "__docId__": 967, + "__docId__": 965, "kind": "method", "static": false, "variation": null, @@ -20342,7 +20366,7 @@ "generator": false }, { - "__docId__": 968, + "__docId__": 966, "kind": "method", "static": false, "variation": null, @@ -20385,7 +20409,7 @@ "generator": false }, { - "__docId__": 969, + "__docId__": 967, "kind": "method", "static": false, "variation": null, @@ -20428,7 +20452,7 @@ "generator": false }, { - "__docId__": 970, + "__docId__": 968, "kind": "method", "static": false, "variation": null, @@ -20461,7 +20485,7 @@ "generator": false }, { - "__docId__": 971, + "__docId__": 969, "kind": "method", "static": false, "variation": null, @@ -20496,7 +20520,7 @@ "generator": false }, { - "__docId__": 972, + "__docId__": 970, "kind": "method", "static": false, "variation": null, @@ -20510,7 +20534,7 @@ "generator": false }, { - "__docId__": 973, + "__docId__": 971, "kind": "member", "static": false, "variation": null, @@ -20528,7 +20552,7 @@ } }, { - "__docId__": 974, + "__docId__": 972, "kind": "method", "static": false, "variation": null, @@ -20563,7 +20587,7 @@ "generator": false }, { - "__docId__": 975, + "__docId__": 973, "kind": "method", "static": false, "variation": null, @@ -20588,7 +20612,7 @@ "generator": false }, { - "__docId__": 976, + "__docId__": 974, "kind": "method", "static": false, "variation": null, @@ -20602,7 +20626,7 @@ "generator": false }, { - "__docId__": 977, + "__docId__": 975, "kind": "method", "static": false, "variation": null, @@ -20616,7 +20640,7 @@ "generator": false }, { - "__docId__": 978, + "__docId__": 976, "kind": "method", "static": false, "variation": null, @@ -20630,7 +20654,7 @@ "generator": false }, { - "__docId__": 979, + "__docId__": 977, "kind": "method", "static": false, "variation": null, @@ -20655,7 +20679,7 @@ "generator": false }, { - "__docId__": 980, + "__docId__": 978, "kind": "method", "static": false, "variation": null, @@ -20683,7 +20707,7 @@ "generator": false }, { - "__docId__": 981, + "__docId__": 979, "kind": "method", "static": false, "variation": null, @@ -20708,7 +20732,7 @@ "generator": false }, { - "__docId__": 982, + "__docId__": 980, "kind": "member", "static": false, "variation": null, @@ -20726,7 +20750,7 @@ } }, { - "__docId__": 983, + "__docId__": 981, "kind": "method", "static": false, "variation": null, @@ -20767,7 +20791,7 @@ "generator": false }, { - "__docId__": 984, + "__docId__": 982, "kind": "method", "static": false, "variation": null, @@ -20792,7 +20816,7 @@ "generator": false }, { - "__docId__": 985, + "__docId__": 983, "kind": "method", "static": false, "variation": null, @@ -20806,7 +20830,7 @@ "generator": false }, { - "__docId__": 986, + "__docId__": 984, "kind": "method", "static": false, "variation": null, @@ -20839,7 +20863,7 @@ "generator": false }, { - "__docId__": 987, + "__docId__": 985, "kind": "method", "static": false, "variation": null, @@ -20882,7 +20906,7 @@ "generator": false }, { - "__docId__": 988, + "__docId__": 986, "kind": "method", "static": false, "variation": null, @@ -20937,7 +20961,7 @@ "generator": false }, { - "__docId__": 989, + "__docId__": 987, "kind": "method", "static": false, "variation": null, @@ -20959,7 +20983,7 @@ "generator": false }, { - "__docId__": 990, + "__docId__": 988, "kind": "method", "static": false, "variation": null, @@ -20981,7 +21005,7 @@ "generator": false }, { - "__docId__": 991, + "__docId__": 989, "kind": "method", "static": false, "variation": null, @@ -21014,7 +21038,7 @@ "generator": false }, { - "__docId__": 992, + "__docId__": 990, "kind": "member", "static": false, "variation": null, @@ -21032,7 +21056,7 @@ } }, { - "__docId__": 993, + "__docId__": 991, "kind": "method", "static": false, "variation": null, @@ -21054,7 +21078,7 @@ "generator": false }, { - "__docId__": 994, + "__docId__": 992, "kind": "method", "static": false, "variation": null, @@ -21076,7 +21100,7 @@ "generator": false }, { - "__docId__": 995, + "__docId__": 993, "kind": "method", "static": false, "variation": null, @@ -21098,7 +21122,7 @@ "generator": false }, { - "__docId__": 996, + "__docId__": 994, "kind": "method", "static": false, "variation": null, @@ -21120,7 +21144,7 @@ "generator": false }, { - "__docId__": 997, + "__docId__": 995, "kind": "method", "static": false, "variation": null, @@ -21153,7 +21177,7 @@ "generator": false }, { - "__docId__": 998, + "__docId__": 996, "kind": "method", "static": false, "variation": null, @@ -21186,7 +21210,7 @@ "generator": false }, { - "__docId__": 999, + "__docId__": 997, "kind": "method", "static": false, "variation": null, @@ -21219,7 +21243,7 @@ "generator": false }, { - "__docId__": 1000, + "__docId__": 998, "kind": "method", "static": false, "variation": null, @@ -21241,7 +21265,7 @@ "generator": false }, { - "__docId__": 1001, + "__docId__": 999, "kind": "method", "static": false, "variation": null, @@ -21282,7 +21306,7 @@ "generator": false }, { - "__docId__": 1002, + "__docId__": 1000, "kind": "method", "static": false, "variation": null, @@ -21304,7 +21328,7 @@ "generator": false }, { - "__docId__": 1003, + "__docId__": 1001, "kind": "file", "static": true, "variation": null, @@ -21317,7 +21341,7 @@ "content": "\n/**\n * Types utilities\n */\n\nconst UNDEFINED = void 0;\n\n/**\n * Check passed argument is an object\n * @param {Object} obj\n * @return {Boolean}\n */\nexport const isObj =\n obj => Object.prototype.toString.call(obj) === '[object Object]';\n\n/**\n * Check passed argument is a function\n * @param {Function} obj\n * @return {Boolean}\n */\nexport const isFn =\n obj => Object.prototype.toString.call(obj) === '[object Function]';\n\n/**\n * Check passed argument is an array\n * @param {Array} obj\n * @return {Boolean}\n */\nexport const isArray =\n obj => Object.prototype.toString.call(obj) === '[object Array]';\n\n/**\n * Check passed argument is a string\n * @param {String} obj objue\n * @returns {Boolean}\n */\nexport const isString =\n obj => Object.prototype.toString.call(obj) === '[object String]';\n\n/**\n * Check passed argument is a number\n * @param {Number} obj\n * @returns {Boolean}\n */\nexport const isNumber =\n obj => Object.prototype.toString.call(obj) === '[object Number]';\n\n/**\n * Check passed argument is undefined\n * @param {Any} obj\n * @return {Boolean}\n */\nexport const isUndef = obj => obj === UNDEFINED;\n\n/**\n * Check passed argument is null\n * @param {Any} obj\n * @return {Boolean}\n */\nexport const isNull = obj => obj === null;\n\n/**\n * Check passed argument is empty (undefined, null or empty string)\n * @param {Any} obj\n * @return {Boolean}\n */\nexport const isEmpty = obj => isUndef(obj) || isNull(obj) || obj.length === 0;\n" }, { - "__docId__": 1004, + "__docId__": 1002, "kind": "variable", "static": true, "variation": null, @@ -21337,7 +21361,7 @@ } }, { - "__docId__": 1005, + "__docId__": 1003, "kind": "variable", "static": true, "variation": null, @@ -21377,7 +21401,7 @@ } }, { - "__docId__": 1006, + "__docId__": 1004, "kind": "variable", "static": true, "variation": null, @@ -21417,7 +21441,7 @@ } }, { - "__docId__": 1007, + "__docId__": 1005, "kind": "variable", "static": true, "variation": null, @@ -21457,7 +21481,7 @@ } }, { - "__docId__": 1008, + "__docId__": 1006, "kind": "variable", "static": true, "variation": null, @@ -21503,7 +21527,7 @@ } }, { - "__docId__": 1009, + "__docId__": 1007, "kind": "variable", "static": true, "variation": null, @@ -21549,7 +21573,7 @@ } }, { - "__docId__": 1010, + "__docId__": 1008, "kind": "variable", "static": true, "variation": null, @@ -21589,7 +21613,7 @@ } }, { - "__docId__": 1011, + "__docId__": 1009, "kind": "variable", "static": true, "variation": null, @@ -21629,7 +21653,7 @@ } }, { - "__docId__": 1012, + "__docId__": 1010, "kind": "variable", "static": true, "variation": null, @@ -21669,7 +21693,7 @@ } }, { - "__docId__": 1014, + "__docId__": 1012, "kind": "external", "static": true, "variation": null, @@ -21682,7 +21706,7 @@ "builtinExternal": true }, { - "__docId__": 1015, + "__docId__": 1013, "kind": "external", "static": true, "variation": null, @@ -21695,7 +21719,7 @@ "builtinExternal": true }, { - "__docId__": 1016, + "__docId__": 1014, "kind": "external", "static": true, "variation": null, @@ -21708,7 +21732,7 @@ "builtinExternal": true }, { - "__docId__": 1017, + "__docId__": 1015, "kind": "external", "static": true, "variation": null, @@ -21721,7 +21745,7 @@ "builtinExternal": true }, { - "__docId__": 1018, + "__docId__": 1016, "kind": "external", "static": true, "variation": null, @@ -21734,7 +21758,7 @@ "builtinExternal": true }, { - "__docId__": 1019, + "__docId__": 1017, "kind": "external", "static": true, "variation": null, @@ -21747,7 +21771,7 @@ "builtinExternal": true }, { - "__docId__": 1020, + "__docId__": 1018, "kind": "external", "static": true, "variation": null, @@ -21760,7 +21784,7 @@ "builtinExternal": true }, { - "__docId__": 1021, + "__docId__": 1019, "kind": "external", "static": true, "variation": null, @@ -21773,7 +21797,7 @@ "builtinExternal": true }, { - "__docId__": 1022, + "__docId__": 1020, "kind": "external", "static": true, "variation": null, @@ -21786,7 +21810,7 @@ "builtinExternal": true }, { - "__docId__": 1023, + "__docId__": 1021, "kind": "external", "static": true, "variation": null, @@ -21799,7 +21823,7 @@ "builtinExternal": true }, { - "__docId__": 1024, + "__docId__": 1022, "kind": "external", "static": true, "variation": null, @@ -21812,7 +21836,7 @@ "builtinExternal": true }, { - "__docId__": 1025, + "__docId__": 1023, "kind": "external", "static": true, "variation": null, @@ -21825,7 +21849,7 @@ "builtinExternal": true }, { - "__docId__": 1026, + "__docId__": 1024, "kind": "external", "static": true, "variation": null, @@ -21838,7 +21862,7 @@ "builtinExternal": true }, { - "__docId__": 1027, + "__docId__": 1025, "kind": "external", "static": true, "variation": null, @@ -21851,7 +21875,7 @@ "builtinExternal": true }, { - "__docId__": 1028, + "__docId__": 1026, "kind": "external", "static": true, "variation": null, @@ -21864,7 +21888,7 @@ "builtinExternal": true }, { - "__docId__": 1029, + "__docId__": 1027, "kind": "external", "static": true, "variation": null, @@ -21877,7 +21901,7 @@ "builtinExternal": true }, { - "__docId__": 1030, + "__docId__": 1028, "kind": "external", "static": true, "variation": null, @@ -21890,7 +21914,7 @@ "builtinExternal": true }, { - "__docId__": 1031, + "__docId__": 1029, "kind": "external", "static": true, "variation": null, @@ -21903,7 +21927,7 @@ "builtinExternal": true }, { - "__docId__": 1032, + "__docId__": 1030, "kind": "external", "static": true, "variation": null, @@ -21916,7 +21940,7 @@ "builtinExternal": true }, { - "__docId__": 1033, + "__docId__": 1031, "kind": "external", "static": true, "variation": null, @@ -21929,7 +21953,7 @@ "builtinExternal": true }, { - "__docId__": 1034, + "__docId__": 1032, "kind": "external", "static": true, "variation": null, @@ -21942,7 +21966,7 @@ "builtinExternal": true }, { - "__docId__": 1035, + "__docId__": 1033, "kind": "external", "static": true, "variation": null, @@ -21955,7 +21979,7 @@ "builtinExternal": true }, { - "__docId__": 1036, + "__docId__": 1034, "kind": "external", "static": true, "variation": null, @@ -21968,7 +21992,7 @@ "builtinExternal": true }, { - "__docId__": 1037, + "__docId__": 1035, "kind": "external", "static": true, "variation": null, @@ -21981,7 +22005,7 @@ "builtinExternal": true }, { - "__docId__": 1038, + "__docId__": 1036, "kind": "external", "static": true, "variation": null, @@ -21994,7 +22018,7 @@ "builtinExternal": true }, { - "__docId__": 1039, + "__docId__": 1037, "kind": "external", "static": true, "variation": null, @@ -22007,7 +22031,7 @@ "builtinExternal": true }, { - "__docId__": 1040, + "__docId__": 1038, "kind": "external", "static": true, "variation": null, @@ -22020,7 +22044,7 @@ "builtinExternal": true }, { - "__docId__": 1041, + "__docId__": 1039, "kind": "external", "static": true, "variation": null, @@ -22033,7 +22057,7 @@ "builtinExternal": true }, { - "__docId__": 1042, + "__docId__": 1040, "kind": "external", "static": true, "variation": null, @@ -22046,7 +22070,7 @@ "builtinExternal": true }, { - "__docId__": 1043, + "__docId__": 1041, "kind": "external", "static": true, "variation": null, @@ -22059,7 +22083,7 @@ "builtinExternal": true }, { - "__docId__": 1044, + "__docId__": 1042, "kind": "external", "static": true, "variation": null, @@ -22072,7 +22096,7 @@ "builtinExternal": true }, { - "__docId__": 1045, + "__docId__": 1043, "kind": "external", "static": true, "variation": null, @@ -22085,7 +22109,7 @@ "builtinExternal": true }, { - "__docId__": 1046, + "__docId__": 1044, "kind": "external", "static": true, "variation": null, @@ -22098,7 +22122,7 @@ "builtinExternal": true }, { - "__docId__": 1047, + "__docId__": 1045, "kind": "external", "static": true, "variation": null, @@ -22111,7 +22135,7 @@ "builtinExternal": true }, { - "__docId__": 1048, + "__docId__": 1046, "kind": "external", "static": true, "variation": null, @@ -22124,7 +22148,7 @@ "builtinExternal": true }, { - "__docId__": 1049, + "__docId__": 1047, "kind": "external", "static": true, "variation": null, @@ -22137,7 +22161,7 @@ "builtinExternal": true }, { - "__docId__": 1050, + "__docId__": 1048, "kind": "external", "static": true, "variation": null, @@ -22150,7 +22174,7 @@ "builtinExternal": true }, { - "__docId__": 1051, + "__docId__": 1049, "kind": "external", "static": true, "variation": null, @@ -22163,7 +22187,7 @@ "builtinExternal": true }, { - "__docId__": 1052, + "__docId__": 1050, "kind": "external", "static": true, "variation": null, @@ -22176,7 +22200,7 @@ "builtinExternal": true }, { - "__docId__": 1053, + "__docId__": 1051, "kind": "external", "static": true, "variation": null, @@ -22189,7 +22213,7 @@ "builtinExternal": true }, { - "__docId__": 1054, + "__docId__": 1052, "kind": "external", "static": true, "variation": null, @@ -22202,7 +22226,7 @@ "builtinExternal": true }, { - "__docId__": 1055, + "__docId__": 1053, "kind": "external", "static": true, "variation": null, @@ -22215,7 +22239,7 @@ "builtinExternal": true }, { - "__docId__": 1056, + "__docId__": 1054, "kind": "external", "static": true, "variation": null, @@ -22228,7 +22252,7 @@ "builtinExternal": true }, { - "__docId__": 1057, + "__docId__": 1055, "kind": "external", "static": true, "variation": null, @@ -22241,7 +22265,7 @@ "builtinExternal": true }, { - "__docId__": 1058, + "__docId__": 1056, "kind": "external", "static": true, "variation": null, @@ -22254,7 +22278,7 @@ "builtinExternal": true }, { - "__docId__": 1059, + "__docId__": 1057, "kind": "external", "static": true, "variation": null, @@ -22267,7 +22291,7 @@ "builtinExternal": true }, { - "__docId__": 1060, + "__docId__": 1058, "kind": "external", "static": true, "variation": null, @@ -22280,7 +22304,7 @@ "builtinExternal": true }, { - "__docId__": 1062, + "__docId__": 1060, "kind": "external", "static": true, "variation": null, @@ -22293,7 +22317,7 @@ "builtinExternal": true }, { - "__docId__": 1063, + "__docId__": 1061, "kind": "external", "static": true, "variation": null, @@ -22306,7 +22330,7 @@ "builtinExternal": true }, { - "__docId__": 1064, + "__docId__": 1062, "kind": "external", "static": true, "variation": null, @@ -22319,7 +22343,7 @@ "builtinExternal": true }, { - "__docId__": 1065, + "__docId__": 1063, "kind": "external", "static": true, "variation": null, @@ -22332,7 +22356,7 @@ "builtinExternal": true }, { - "__docId__": 1066, + "__docId__": 1064, "kind": "external", "static": true, "variation": null, @@ -22345,7 +22369,7 @@ "builtinExternal": true }, { - "__docId__": 1067, + "__docId__": 1065, "kind": "external", "static": true, "variation": null, @@ -22358,7 +22382,7 @@ "builtinExternal": true }, { - "__docId__": 1068, + "__docId__": 1066, "kind": "external", "static": true, "variation": null, @@ -22371,7 +22395,7 @@ "builtinExternal": true }, { - "__docId__": 1069, + "__docId__": 1067, "kind": "external", "static": true, "variation": null, diff --git a/docs/file/src/array.js.html b/docs/file/src/array.js.html index 2944e77a..34dd1833 100644 --- a/docs/file/src/array.js.html +++ b/docs/file/src/array.js.html @@ -3,7 +3,7 @@ - src/array.js | tablefilter v0.2.61 API Document + src/array.js | tablefilter v0.2.62 API Document diff --git a/docs/file/src/const.js.html b/docs/file/src/const.js.html index 4608f6aa..e5fda1e0 100644 --- a/docs/file/src/const.js.html +++ b/docs/file/src/const.js.html @@ -3,7 +3,7 @@ - src/const.js | tablefilter v0.2.61 API Document + src/const.js | tablefilter v0.2.62 API Document diff --git a/docs/file/src/cookie.js.html b/docs/file/src/cookie.js.html index d4ce13b8..67603f82 100644 --- a/docs/file/src/cookie.js.html +++ b/docs/file/src/cookie.js.html @@ -3,7 +3,7 @@ - src/cookie.js | tablefilter v0.2.61 API Document + src/cookie.js | tablefilter v0.2.62 API Document diff --git a/docs/file/src/date.js.html b/docs/file/src/date.js.html index 58c9303b..d7f36e52 100644 --- a/docs/file/src/date.js.html +++ b/docs/file/src/date.js.html @@ -3,7 +3,7 @@ - src/date.js | tablefilter v0.2.61 API Document + src/date.js | tablefilter v0.2.62 API Document diff --git a/docs/file/src/dom.js.html b/docs/file/src/dom.js.html index 10a280a2..6bea7ad1 100644 --- a/docs/file/src/dom.js.html +++ b/docs/file/src/dom.js.html @@ -3,7 +3,7 @@ - src/dom.js | tablefilter v0.2.61 API Document + src/dom.js | tablefilter v0.2.62 API Document diff --git a/docs/file/src/emitter.js.html b/docs/file/src/emitter.js.html index fe1b80a2..0769ef56 100644 --- a/docs/file/src/emitter.js.html +++ b/docs/file/src/emitter.js.html @@ -3,7 +3,7 @@ - src/emitter.js | tablefilter v0.2.61 API Document + src/emitter.js | tablefilter v0.2.62 API Document diff --git a/docs/file/src/event.js.html b/docs/file/src/event.js.html index 0c83fb22..8a248f3c 100644 --- a/docs/file/src/event.js.html +++ b/docs/file/src/event.js.html @@ -3,7 +3,7 @@ - src/event.js | tablefilter v0.2.61 API Document + src/event.js | tablefilter v0.2.62 API Document diff --git a/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html b/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html index 76f4ff9b..ffcf0912 100644 --- a/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html +++ b/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html @@ -3,7 +3,7 @@ - src/extensions/advancedGrid/adapterEzEditTable.js | tablefilter v0.2.61 API Document + src/extensions/advancedGrid/adapterEzEditTable.js | tablefilter v0.2.62 API Document diff --git a/docs/file/src/extensions/advancedGrid/advancedGrid.js.html b/docs/file/src/extensions/advancedGrid/advancedGrid.js.html index 475e1e83..b59fcad5 100644 --- a/docs/file/src/extensions/advancedGrid/advancedGrid.js.html +++ b/docs/file/src/extensions/advancedGrid/advancedGrid.js.html @@ -3,7 +3,7 @@ - src/extensions/advancedGrid/advancedGrid.js | tablefilter v0.2.61 API Document + src/extensions/advancedGrid/advancedGrid.js | tablefilter v0.2.62 API Document diff --git a/docs/file/src/extensions/colOps/colOps.js.html b/docs/file/src/extensions/colOps/colOps.js.html index e3454f73..735b9847 100644 --- a/docs/file/src/extensions/colOps/colOps.js.html +++ b/docs/file/src/extensions/colOps/colOps.js.html @@ -3,7 +3,7 @@ - src/extensions/colOps/colOps.js | tablefilter v0.2.61 API Document + src/extensions/colOps/colOps.js | tablefilter v0.2.62 API Document diff --git a/docs/file/src/extensions/colsVisibility/colsVisibility.js.html b/docs/file/src/extensions/colsVisibility/colsVisibility.js.html index c316ba8e..0deff60d 100644 --- a/docs/file/src/extensions/colsVisibility/colsVisibility.js.html +++ b/docs/file/src/extensions/colsVisibility/colsVisibility.js.html @@ -3,7 +3,7 @@ - src/extensions/colsVisibility/colsVisibility.js | tablefilter v0.2.61 API Document + src/extensions/colsVisibility/colsVisibility.js | tablefilter v0.2.62 API Document @@ -118,115 +118,282 @@
import {Feature} from '../../feature';
 import {
     addClass, removeClass, createCheckItem, createElm, elm, removeElm,
-    getText, tag
+    getText
 } from '../../dom';
 import {isFn} from '../../types';
 import {addEvt, targetEvt} from '../../event';
 
+/**
+ * Columns Visibility extension
+ */
 export default class ColsVisibility extends Feature {
 
     /**
-     * Columns Visibility extension
-     * @param {Object} tf TableFilter instance
-     * @param {Object} f Extension's configuration
+     * Creates an instance of ColsVisibility
+     *
+     * @param {TableFilter} tf TableFilter instance
+     * @param {Object} Configuration object
      */
     constructor(tf, f) {
         super(tf, f.name);
 
         // Configuration object
-        let cfg = tf.config();
+        let cfg = this.config;
 
-        this.initialized = false;
+        /**
+         * Module name
+         * @type {String}
+         */
         this.name = f.name;
+
+        /**
+         * Module description
+         * @type {String}
+         */
         this.desc = f.description || 'Columns visibility manager';
 
-        //show/hide cols span element
+        /**
+         * show/hide columns container element
+         * @private
+         */
         this.spanEl = null;
-        //show/hide cols button element
+
+        /**
+         * show/hide columns button element
+         * @private
+         */
         this.btnEl = null;
-        //show/hide cols container div element
+
+        /**
+         * show/hide columns main container element
+         * @private
+         */
         this.contEl = null;
 
-        //tick to hide or show column
+        /**
+         * Enable tick to hide a column, defaults to true
+         * @type {Boolean}
+         */
         this.tickToHide = f.tick_to_hide === false ? false : true;
-        //enables/disables cols manager generation
+
+        /**
+         * Enable columns manager UI, defaults to true
+         * @type {Boolean}
+         */
         this.manager = f.manager === false ? false : true;
-        //only if external headers
-        this.headersTbl = f.headers_table || false;
-        //only if external headers
+
+        /**
+         * Headers HTML table reference only if headers are external
+         * @type {DOMElement}
+         */
+        this.headersTbl = f.headers_table || null;
+
+        /**
+         * Headers row index only if headers are external
+         * @type {Number}
+         */
         this.headersIndex = f.headers_index || 1;
-        //id of container element
+
+        /**
+         * ID of main container element
+         * @type {String}
+         */
         this.contElTgtId = f.container_target_id || null;
-        //alternative headers text
+
+        /**
+         * Alternative text for column headers in column manager UI
+         * @type {Array}
+         */
         this.headersText = f.headers_text || null;
-        //id of button container element
+
+        /**
+         * ID of button's container element
+         * @type {String}
+         */
         this.btnTgtId = f.btn_target_id || null;
-        //defines show/hide cols text
+
+        /**
+         * Button's text, defaults to Columns&#9660;
+         * @type {String}
+         */
         this.btnText = f.btn_text || 'Columns&#9660;';
-        //defines show/hide cols button innerHtml
+
+        /**
+         * Button's inner HTML
+         * @type {String}
+         */
         this.btnHtml = f.btn_html || null;
-        //defines css class for show/hide cols button
+
+        /**
+         * Css class for button
+         * @type {String}
+         */
         this.btnCssClass = f.btn_css_class || 'colVis';
-        //defines close link text
+
+        /**
+         * Columns manager UI close link text, defaults to 'Close'
+         * @type {String}
+         */
         this.btnCloseText = f.btn_close_text || 'Close';
-        //defines close button innerHtml
+
+        /**
+         * Columns manager UI close link HTML
+         * @type {String}
+         */
         this.btnCloseHtml = f.btn_close_html || null;
-        //defines css class for close button
+
+        /**
+         * Css for columns manager UI close link
+         * @type {String}
+         */
         this.btnCloseCssClass = f.btn_close_css_class || this.btnCssClass;
+
+        /**
+         * Extension's stylesheet filename
+         * @type {String}
+         */
         this.stylesheet = f.stylesheet || 'colsVisibility.css';
-        //span containing show/hide cols button
+
+        /**
+         * Extension's prefix
+         * @private
+         */
         this.prfx = 'colVis_';
-        //defines css class span containing show/hide cols
+
+        /**
+         * Css for columns manager UI span
+         * @type {String}
+         */
         this.spanCssClass = f.span_css_class || 'colVisSpan';
+
+        /**
+         * Main container prefix
+         * @private
+         */
         this.prfxCont = this.prfx + 'Cont_';
-        //defines css class div containing show/hide cols
+
+        /**
+         * Css for columns manager UI main container
+         * @type {String}
+         */
         this.contCssClass = f.cont_css_class || 'colVisCont';
-        //defines css class for cols list (ul)
+
+        /**
+         * Css for columns manager UI checklist (ul)
+         * @type {String}
+         */
         this.listCssClass = cfg.list_css_class || 'cols_checklist';
-        //defines css class for list item (li)
+
+        /**
+         * Css for columns manager UI checklist item (li)
+         * @type {String}
+         */
         this.listItemCssClass = cfg.checklist_item_css_class ||
             'cols_checklist_item';
-        //defines css class for selected list item (li)
+
+        /**
+         * Css for columns manager UI checklist item selected state (li)
+         * @type {String}
+         */
         this.listSlcItemCssClass = cfg.checklist_selected_item_css_class ||
             'cols_checklist_slc_item';
-        //text preceding columns list
+
+        /**
+         * Text preceding the columns list, defaults to 'Hide' or 'Show'
+         * depending on tick mode (tick_to_hide option)
+         * @type {String}
+         */
         this.text = f.text || (this.tickToHide ? 'Hide: ' : 'Show: ');
-        this.atStart = f.at_start || null;
+
+        /**
+         * List of columns indexes to be hidden at initialization
+         * @type {Array}
+         */
+        this.atStart = f.at_start || [];
+
+        /**
+         * Enable hover behaviour on columns manager button/link
+         * @type {Boolean}
+         */
         this.enableHover = Boolean(f.enable_hover);
-        //enables select all option
+
+        /**
+         * Enable select all option, disabled by default
+         * @type {Boolean}
+         */
         this.enableTickAll = Boolean(f.enable_tick_all);
-        //text preceding columns list
+
+        /**
+         * Text for select all option, defaults to 'Select all:'
+         * @type {String}
+         */
         this.tickAllText = f.tick_all_text || 'Select all:';
 
-        //array containing hidden columns indexes
+        /**
+         * List of indexes of hidden columns
+         * @private
+         */
         this.hiddenCols = [];
-        this.tblHasColTag = tag(tf.tbl, 'col').length > 0;
 
-        //callback invoked just after cols manager is loaded
+        /**
+         * Callback fired when the extension is initialized
+         * @type {Function}
+         */
         this.onLoaded = isFn(f.on_loaded) ? f.on_loaded : null;
-        //calls function before cols manager is opened
+
+        /**
+         * Callback fired before the columns manager is opened
+         * @type {Function}
+         */
         this.onBeforeOpen = isFn(f.on_before_open) ? f.on_before_open : null;
-        //calls function after cols manager is opened
+
+        /**
+         * Callback fired after the columns manager is opened
+         * @type {Function}
+         */
         this.onAfterOpen = isFn(f.on_after_open) ? f.on_after_open : null;
-        //calls function before cols manager is closed
+
+        /**
+         * Callback fired before the columns manager is closed
+         * @type {Function}
+         */
         this.onBeforeClose = isFn(f.on_before_close) ? f.on_before_close : null;
-        //calls function after cols manager is closed
+
+        /**
+         * Callback fired after the columns manager is closed
+         * @type {Function}
+         */
         this.onAfterClose = isFn(f.on_after_close) ? f.on_after_close : null;
 
-        //callback before col is hidden
+        /**
+         * Callback fired before a column is hidden
+         * @type {Function}
+         */
         this.onBeforeColHidden = isFn(f.on_before_col_hidden) ?
             f.on_before_col_hidden : null;
-        //callback after col is hidden
+
+        /**
+         * Callback fired after a column is hidden
+         * @type {Function}
+         */
         this.onAfterColHidden = isFn(f.on_after_col_hidden) ?
             f.on_after_col_hidden : null;
-        //callback before col is displayed
+
+        /**
+         * Callback fired before a column is displayed
+         * @type {Function}
+         */
         this.onBeforeColDisplayed = isFn(f.on_before_col_displayed) ?
             f.on_before_col_displayed : null;
-        //callback after col is displayed
+
+        /**
+         * Callback fired after a column is displayed
+         * @type {Function}
+         */
         this.onAfterColDisplayed = isFn(f.on_after_col_displayed) ?
             f.on_after_col_displayed : null;
 
-        //Grid layout compatibility
+        //Grid layout support
         if (tf.gridLayout) {
             this.headersTbl = tf.feature('gridLayout').headTbl; //headers table
             this.headersIndex = 0; //headers index
@@ -241,6 +408,9 @@ export default class ColsVisibility extends Feature {
         this.enable();
     }
 
+    /**
+     * Toggle columns manager UI
+     */
     toggle() {
         let contDisplay = this.contEl.style.display;
         let onBeforeOpen = this.onBeforeOpen;
@@ -266,6 +436,10 @@ export default class ColsVisibility extends Feature {
         }
     }
 
+    /**
+     * Check an item in columns manager UI
+     * @private
+     */
     checkItem(lbl) {
         let li = lbl.parentNode;
         if (!li || !lbl) {
@@ -288,6 +462,9 @@ export default class ColsVisibility extends Feature {
         this.setHidden(colIndex, hide);
     }
 
+    /**
+     * Initializes ColsVisibility instance
+     */
     init() {
         if (this.initialized || !this.manager) {
             return;
@@ -302,7 +479,8 @@ export default class ColsVisibility extends Feature {
         this.initialized = true;
         this.emitter.emit('columns-visibility-initialized', this.tf, this);
 
-        // Hide columns at start at very end of initialization
+        // Hide columns at start at very end of initialization, do not move
+        // as order is important
         this._hideAtStart();
     }
 
@@ -451,7 +629,7 @@ export default class ColsVisibility extends Feature {
 
     /**
      * Hide or show specified columns
-     * @param {Numner} colIndex Column index
+     * @param {Number} colIndex Column index
      * @param {Boolean} hide    Hide column if true or show if false
      */
     setHidden(colIndex, hide) {
@@ -653,9 +831,6 @@ export default class ColsVisibility extends Feature {
     }
 
     _hideAtStart() {
-        if (!this.atStart) {
-            return;
-        }
         this.atStart.forEach((colIdx) => {
             this.hideCol(colIdx);
         });
diff --git a/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html b/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html
index 179e7045..d0f3e584 100644
--- a/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html
+++ b/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/extensions/filtersVisibility/filtersVisibility.js | tablefilter v0.2.61 API Document
+  src/extensions/filtersVisibility/filtersVisibility.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/extensions/sort/adapterSortabletable.js.html b/docs/file/src/extensions/sort/adapterSortabletable.js.html
index b52d4ecc..87e48b97 100644
--- a/docs/file/src/extensions/sort/adapterSortabletable.js.html
+++ b/docs/file/src/extensions/sort/adapterSortabletable.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/extensions/sort/adapterSortabletable.js | tablefilter v0.2.61 API Document
+  src/extensions/sort/adapterSortabletable.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/extensions/sort/sort.js.html b/docs/file/src/extensions/sort/sort.js.html
index 972a9821..9588fb3e 100644
--- a/docs/file/src/extensions/sort/sort.js.html
+++ b/docs/file/src/extensions/sort/sort.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/extensions/sort/sort.js | tablefilter v0.2.61 API Document
+  src/extensions/sort/sort.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/feature.js.html b/docs/file/src/feature.js.html
index 9577ce23..7f41c02b 100644
--- a/docs/file/src/feature.js.html
+++ b/docs/file/src/feature.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/feature.js | tablefilter v0.2.61 API Document
+  src/feature.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/helpers.js.html b/docs/file/src/helpers.js.html
index d02174c5..84798b3c 100644
--- a/docs/file/src/helpers.js.html
+++ b/docs/file/src/helpers.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/helpers.js | tablefilter v0.2.61 API Document
+  src/helpers.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/modules/alternateRows.js.html b/docs/file/src/modules/alternateRows.js.html
index 582018f4..1571a0b7 100644
--- a/docs/file/src/modules/alternateRows.js.html
+++ b/docs/file/src/modules/alternateRows.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/modules/alternateRows.js | tablefilter v0.2.61 API Document
+  src/modules/alternateRows.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/modules/checkList.js.html b/docs/file/src/modules/checkList.js.html
index 63862cfc..a206c150 100644
--- a/docs/file/src/modules/checkList.js.html
+++ b/docs/file/src/modules/checkList.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/modules/checkList.js | tablefilter v0.2.61 API Document
+  src/modules/checkList.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/modules/clearButton.js.html b/docs/file/src/modules/clearButton.js.html
index cb2e215f..184ee387 100644
--- a/docs/file/src/modules/clearButton.js.html
+++ b/docs/file/src/modules/clearButton.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/modules/clearButton.js | tablefilter v0.2.61 API Document
+  src/modules/clearButton.js | tablefilter v0.2.62 API Document
   
   
   
@@ -212,11 +212,11 @@ export class ClearButton extends Feature {
         targetEl.appendChild(resetspan);
 
         if (!this.html) {
-            let fltreset = createElm('a', ['href', 'javascript:void(0);']);
-            fltreset.className = this.cssClass;
-            fltreset.appendChild(createText(this.text));
-            resetspan.appendChild(fltreset);
-            addEvt(fltreset, 'click', () => this.onClick());
+            let fltReset = createElm('a', ['href', 'javascript:void(0);']);
+            fltReset.className = this.cssClass;
+            fltReset.appendChild(createText(this.text));
+            resetspan.appendChild(fltReset);
+            addEvt(fltReset, 'click', () => this.onClick());
         } else {
             resetspan.innerHTML = this.html;
             let resetEl = resetspan.firstChild;
diff --git a/docs/file/src/modules/dropdown.js.html b/docs/file/src/modules/dropdown.js.html
index 62feb9a5..46bfbe66 100644
--- a/docs/file/src/modules/dropdown.js.html
+++ b/docs/file/src/modules/dropdown.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/modules/dropdown.js | tablefilter v0.2.61 API Document
+  src/modules/dropdown.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/modules/gridLayout.js.html b/docs/file/src/modules/gridLayout.js.html
index e0a29997..7395f411 100644
--- a/docs/file/src/modules/gridLayout.js.html
+++ b/docs/file/src/modules/gridLayout.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/modules/gridLayout.js | tablefilter v0.2.61 API Document
+  src/modules/gridLayout.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/modules/hash.js.html b/docs/file/src/modules/hash.js.html
index b822e519..20405acc 100644
--- a/docs/file/src/modules/hash.js.html
+++ b/docs/file/src/modules/hash.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/modules/hash.js | tablefilter v0.2.61 API Document
+  src/modules/hash.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/modules/help.js.html b/docs/file/src/modules/help.js.html
index 2ce1afc7..2370428e 100644
--- a/docs/file/src/modules/help.js.html
+++ b/docs/file/src/modules/help.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/modules/help.js | tablefilter v0.2.61 API Document
+  src/modules/help.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/modules/highlightKeywords.js.html b/docs/file/src/modules/highlightKeywords.js.html
index 8c6a5ad3..f8e737e9 100644
--- a/docs/file/src/modules/highlightKeywords.js.html
+++ b/docs/file/src/modules/highlightKeywords.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/modules/highlightKeywords.js | tablefilter v0.2.61 API Document
+  src/modules/highlightKeywords.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/modules/loader.js.html b/docs/file/src/modules/loader.js.html
index 54899fb3..3e5433ee 100644
--- a/docs/file/src/modules/loader.js.html
+++ b/docs/file/src/modules/loader.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/modules/loader.js | tablefilter v0.2.61 API Document
+  src/modules/loader.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/modules/noResults.js.html b/docs/file/src/modules/noResults.js.html
index f8431c7b..e24fe8ff 100644
--- a/docs/file/src/modules/noResults.js.html
+++ b/docs/file/src/modules/noResults.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/modules/noResults.js | tablefilter v0.2.61 API Document
+  src/modules/noResults.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/modules/paging.js.html b/docs/file/src/modules/paging.js.html
index 04a7cfe5..2c8a2851 100644
--- a/docs/file/src/modules/paging.js.html
+++ b/docs/file/src/modules/paging.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/modules/paging.js | tablefilter v0.2.61 API Document
+  src/modules/paging.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/modules/popupFilter.js.html b/docs/file/src/modules/popupFilter.js.html
index ba9a3a66..9d920397 100644
--- a/docs/file/src/modules/popupFilter.js.html
+++ b/docs/file/src/modules/popupFilter.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/modules/popupFilter.js | tablefilter v0.2.61 API Document
+  src/modules/popupFilter.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/modules/rowsCounter.js.html b/docs/file/src/modules/rowsCounter.js.html
index c6be54aa..18c48782 100644
--- a/docs/file/src/modules/rowsCounter.js.html
+++ b/docs/file/src/modules/rowsCounter.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/modules/rowsCounter.js | tablefilter v0.2.61 API Document
+  src/modules/rowsCounter.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/modules/state.js.html b/docs/file/src/modules/state.js.html
index 244060df..d6a44183 100644
--- a/docs/file/src/modules/state.js.html
+++ b/docs/file/src/modules/state.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/modules/state.js | tablefilter v0.2.61 API Document
+  src/modules/state.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/modules/statusBar.js.html b/docs/file/src/modules/statusBar.js.html
index ee4c6f21..7e50cdf7 100644
--- a/docs/file/src/modules/statusBar.js.html
+++ b/docs/file/src/modules/statusBar.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/modules/statusBar.js | tablefilter v0.2.61 API Document
+  src/modules/statusBar.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/modules/storage.js.html b/docs/file/src/modules/storage.js.html
index 1389b190..de0789fd 100644
--- a/docs/file/src/modules/storage.js.html
+++ b/docs/file/src/modules/storage.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/modules/storage.js | tablefilter v0.2.61 API Document
+  src/modules/storage.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/root.js.html b/docs/file/src/root.js.html
index a41accdc..c3d8fc34 100644
--- a/docs/file/src/root.js.html
+++ b/docs/file/src/root.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/root.js | tablefilter v0.2.61 API Document
+  src/root.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/sort.js.html b/docs/file/src/sort.js.html
index ad9cea04..798ecd57 100644
--- a/docs/file/src/sort.js.html
+++ b/docs/file/src/sort.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/sort.js | tablefilter v0.2.61 API Document
+  src/sort.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/string.js.html b/docs/file/src/string.js.html
index e3b9a40f..ff435d8c 100644
--- a/docs/file/src/string.js.html
+++ b/docs/file/src/string.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/string.js | tablefilter v0.2.61 API Document
+  src/string.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/tablefilter.js.html b/docs/file/src/tablefilter.js.html
index ac390608..7b10320d 100644
--- a/docs/file/src/tablefilter.js.html
+++ b/docs/file/src/tablefilter.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/tablefilter.js | tablefilter v0.2.61 API Document
+  src/tablefilter.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/file/src/types.js.html b/docs/file/src/types.js.html
index 566dfdc1..deaa8baf 100644
--- a/docs/file/src/types.js.html
+++ b/docs/file/src/types.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/types.js | tablefilter v0.2.61 API Document
+  src/types.js | tablefilter v0.2.62 API Document
   
   
   
diff --git a/docs/identifiers.html b/docs/identifiers.html
index 83534f6c..6e82f89b 100644
--- a/docs/identifiers.html
+++ b/docs/identifiers.html
@@ -3,7 +3,7 @@
 
   
   
-  Index | tablefilter v0.2.61 API Document
+  Index | tablefilter v0.2.62 API Document
   
   
   
@@ -293,7 +293,8 @@ grid features (selection and edition):
       
- +

Columns Visibility extension

+
diff --git a/docs/index.html b/docs/index.html index f77a6002..456e72c9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,7 +3,7 @@ - tablefilter v0.2.61 API Document + tablefilter v0.2.62 API Document diff --git a/docs/package.json b/docs/package.json index 5c0faa1f..a69dd8b4 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "tablefilter", - "version": "0.2.61", + "version": "0.2.62", "description": "A Javascript library making HTML tables filterable and a bit more", "license": "MIT", "author": { diff --git a/docs/script/search_index.js b/docs/script/search_index.js index d0ebf21e..92e10774 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -1043,12 +1043,6 @@ window.esdocSearchIndex = [ "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCssClass", "member" ], - [ - "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#btnel", - "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-btnEl", - "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnEl", - "member" - ], [ "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#btnhtml", "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-btnHtml", @@ -1079,12 +1073,6 @@ window.esdocSearchIndex = [ "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#buildManager", "method" ], - [ - "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#checkitem", - "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-method-checkItem", - "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#checkItem", - "method" - ], [ "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#constructor", "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-constructor-constructor", @@ -1097,12 +1085,6 @@ window.esdocSearchIndex = [ "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contCssClass", "member" ], - [ - "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#contel", - "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-contEl", - "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contEl", - "member" - ], [ "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#conteltgtid", "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-contElTgtId", @@ -1157,12 +1139,6 @@ window.esdocSearchIndex = [ "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersText", "member" ], - [ - "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#hiddencols", - "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-hiddenCols", - "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#hiddenCols", - "member" - ], [ "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#hidecol", "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-method-hideCol", @@ -1271,18 +1247,6 @@ window.esdocSearchIndex = [ "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onLoaded", "member" ], - [ - "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#prfx", - "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-prfx", - "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#prfx", - "member" - ], - [ - "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#prfxcont", - "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-prfxCont", - "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#prfxCont", - "member" - ], [ "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#sethidden", "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-method-setHidden", @@ -1301,24 +1265,12 @@ window.esdocSearchIndex = [ "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#spanCssClass", "member" ], - [ - "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#spanel", - "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-spanEl", - "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#spanEl", - "member" - ], [ "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#stylesheet", "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-stylesheet", "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#stylesheet", "member" ], - [ - "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#tblhascoltag", - "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-tblHasColTag", - "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#tblHasColTag", - "member" - ], [ "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#text", "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-text", diff --git a/docs/source.html b/docs/source.html index df4e0334..8a2a228a 100644 --- a/docs/source.html +++ b/docs/source.html @@ -3,7 +3,7 @@ - Source | tablefilter v0.2.61 API Document + Source | tablefilter v0.2.62 API Document @@ -114,7 +114,7 @@
-

Source 550/651

+

Source 588/643

@@ -135,7 +135,7 @@ - + @@ -155,7 +155,7 @@ - + @@ -163,7 +163,7 @@ - + @@ -172,7 +172,7 @@ - + @@ -191,7 +191,7 @@ - + @@ -199,7 +199,7 @@ - + @@ -212,7 +212,7 @@ - + @@ -220,7 +220,7 @@ - + @@ -228,7 +228,7 @@ - + @@ -236,15 +236,15 @@ - + - + - - - - + + + + @@ -252,7 +252,7 @@ - + @@ -260,7 +260,7 @@ - + @@ -268,7 +268,7 @@ - + @@ -276,7 +276,7 @@ - + @@ -284,7 +284,7 @@ - + @@ -292,7 +292,7 @@ - + @@ -300,7 +300,7 @@ - + @@ -308,7 +308,7 @@ - + @@ -316,7 +316,7 @@ - + @@ -324,7 +324,7 @@ - + @@ -333,7 +333,7 @@ - + @@ -341,7 +341,7 @@ - + @@ -349,7 +349,7 @@ - + @@ -357,7 +357,7 @@ - + @@ -365,7 +365,7 @@ - + @@ -373,7 +373,7 @@ - + @@ -381,7 +381,7 @@ - + @@ -389,7 +389,7 @@ - + @@ -397,7 +397,7 @@ - + @@ -405,7 +405,7 @@ - + @@ -414,7 +414,7 @@ - + @@ -422,7 +422,7 @@ - + @@ -432,7 +432,7 @@ - + @@ -444,7 +444,7 @@ - + @@ -452,7 +452,7 @@ - + @@ -467,7 +467,7 @@ - +
100 %1/1 545 byte 222016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/const.js100 %13/13 1133 byte 842016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/cookie.js- 1412 byte 572016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/date.js100 %2/2 5770 byte 1832016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/dom.js100 %12/12 4787 byte 1912016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/emitter.js100 %6/6 1323 byte 532016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/event.js100 %6/6 2378 byte 1022016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/extensions/advancedGrid/adapterEzEditTable.js100 %13/13 18919 byte 5022016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/extensions/advancedGrid/advancedGrid.js- 90 byte 22016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/extensions/colOps/colOps.js100 %9/9 13472 byte 3582016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/extensions/colsVisibility/colsVisibility.jssrc/extensions/colsVisibility/colsVisibility.js ColsVisibility17 %10/5718064 byte5462016-09-06 10:11:10 (UTC)97 %48/4920879 byte7212016-09-07 13:42:04 (UTC)
src/extensions/filtersVisibility/filtersVisibility.js18 %6/33 6337 byte 2022016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/extensions/sort/adapterSortabletable.js11 %3/26 14150 byte 4322016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/extensions/sort/sort.js- 197 byte 82016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/feature.js100 %14/14 1761 byte 942016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/helpers.js100 %1/1 448 byte 192016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/modules/alternateRows.js100 %9/9 3527 byte 1402016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/modules/checkList.js100 %21/21 18567 byte 5672016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/modules/clearButton.js100 %10/10 3225 byte 1332016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/modules/dropdown.js100 %13/13 13641 byte 4322016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/modules/gridLayout.js80 %16/20 14595 byte 5042016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/modules/hash.js100 %10/10 2981 byte 1262016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/modules/help.js100 %17/17 6347 byte 2172016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/modules/highlightKeywords.js100 %10/10 4434 byte 1472016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/modules/loader.js100 %14/14 5298 byte 2112016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/modules/noResults.js100 %17/17 5178 byte 2152016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/modules/paging.js100 %45/45 29379 byte 9552016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/modules/popupFilter.js100 %21/21 10205 byte 3562016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/modules/rowsCounter.js100 %13/13 6357 byte 2242016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/modules/state.js100 %24/24 14771 byte 5412016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/modules/statusBar.js100 %22/22 9553 byte 3332016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/modules/storage.js100 %10/10 3544 byte 1622016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/root.js100 %1/1 235 byte 62016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/sort.js100 %3/3 930 byte 332016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/string.js100 %5/5 1854 byte 692016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/tablefilter.js100 %165/165 88485 byte 29052016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
src/types.js100 %8/8 1451 byte 672016-09-06 10:11:10 (UTC)2016-09-07 13:42:04 (UTC)
diff --git a/docs/variable/index.html b/docs/variable/index.html index 25151224..8f6c0e4e 100644 --- a/docs/variable/index.html +++ b/docs/variable/index.html @@ -3,7 +3,7 @@ - Variable | tablefilter v0.2.61 API Document + Variable | tablefilter v0.2.62 API Document