diff --git a/docs/ast/source/modules/loader.js.json b/docs/ast/source/modules/loader.js.json index 4621809d..4c148203 100644 --- a/docs/ast/source/modules/loader.js.json +++ b/docs/ast/source/modules/loader.js.json @@ -624,16 +624,16 @@ "type": "Identifier", "name": "EVENTS", "range": [ - 198, - 204 + 197, + 203 ], "loc": { "start": { - "line": 8, + "line": 7, "column": 6 }, "end": { - "line": 8, + "line": 7, "column": 12 } } @@ -646,16 +646,16 @@ "value": "before-filtering", "raw": "'before-filtering'", "range": [ - 213, - 231 + 212, + 230 ], "loc": { "start": { - "line": 9, + "line": 8, "column": 4 }, "end": { - "line": 9, + "line": 8, "column": 22 } } @@ -665,16 +665,16 @@ "value": "before-populating-filter", "raw": "'before-populating-filter'", "range": [ - 237, - 263 + 236, + 262 ], "loc": { "start": { - "line": 10, + "line": 9, "column": 4 }, "end": { - "line": 10, + "line": 9, "column": 30 } } @@ -684,16 +684,16 @@ "value": "before-page-change", "raw": "'before-page-change'", "range": [ - 269, - 289 + 268, + 288 ], "loc": { "start": { - "line": 11, + "line": 10, "column": 4 }, "end": { - "line": 11, + "line": 10, "column": 24 } } @@ -703,16 +703,16 @@ "value": "before-clearing-filters", "raw": "'before-clearing-filters'", "range": [ - 295, - 320 + 294, + 319 ], "loc": { "start": { - "line": 12, + "line": 11, "column": 4 }, "end": { - "line": 12, + "line": 11, "column": 29 } } @@ -722,16 +722,16 @@ "value": "before-page-length-change", "raw": "'before-page-length-change'", "range": [ - 326, - 353 + 325, + 352 ], "loc": { "start": { - "line": 13, + "line": 12, "column": 4 }, "end": { - "line": 13, + "line": 12, "column": 31 } } @@ -741,16 +741,16 @@ "value": "before-reset-page", "raw": "'before-reset-page'", "range": [ - 359, - 378 + 358, + 377 ], "loc": { "start": { - "line": 14, + "line": 13, "column": 4 }, "end": { - "line": 14, + "line": 13, "column": 23 } } @@ -760,16 +760,16 @@ "value": "before-reset-page-length", "raw": "'before-reset-page-length'", "range": [ - 384, - 410 + 383, + 409 ], "loc": { "start": { - "line": 15, + "line": 14, "column": 4 }, "end": { - "line": 15, + "line": 14, "column": 30 } } @@ -779,16 +779,16 @@ "value": "before-loading-extensions", "raw": "'before-loading-extensions'", "range": [ - 416, - 443 + 415, + 442 ], "loc": { "start": { - "line": 16, + "line": 15, "column": 4 }, "end": { - "line": 16, + "line": 15, "column": 31 } } @@ -798,47 +798,47 @@ "value": "before-loading-themes", "raw": "'before-loading-themes'", "range": [ - 449, - 472 + 448, + 471 ], "loc": { "start": { - "line": 17, + "line": 16, "column": 4 }, "end": { - "line": 17, + "line": 16, "column": 27 } } } ], "range": [ - 207, - 474 + 206, + 473 ], "loc": { "start": { - "line": 8, + "line": 7, "column": 15 }, "end": { - "line": 18, + "line": 17, "column": 1 } } }, "range": [ - 198, - 474 + 197, + 473 ], "loc": { "start": { - "line": 8, + "line": 7, "column": 6 }, "end": { - "line": 18, + "line": 17, "column": 1 } } @@ -846,16 +846,16 @@ ], "kind": "const", "range": [ - 192, - 475 + 191, + 474 ], "loc": { "start": { - "line": 8, + "line": 7, "column": 0 }, "end": { - "line": 18, + "line": 17, "column": 2 } }, @@ -864,16 +864,16 @@ "type": "Block", "value": "*\n * Activity indicator\n *\n * @export\n * @class Loader\n * @extends {Feature}\n ", "range": [ - 477, - 559 + 476, + 558 ], "loc": { "start": { - "line": 20, + "line": 19, "column": 0 }, "end": { - "line": 26, + "line": 25, "column": 3 } } @@ -888,16 +888,16 @@ "type": "Identifier", "name": "Loader", "range": [ - 573, - 579 + 572, + 578 ], "loc": { "start": { - "line": 27, + "line": 26, "column": 13 }, "end": { - "line": 27, + "line": 26, "column": 19 } } @@ -906,16 +906,16 @@ "type": "Identifier", "name": "Feature", "range": [ - 588, - 595 + 587, + 594 ], "loc": { "start": { - "line": 27, + "line": 26, "column": 28 }, "end": { - "line": 27, + "line": 26, "column": 35 } } @@ -929,16 +929,16 @@ "type": "Identifier", "name": "constructor", "range": [ - 716, - 727 + 715, + 726 ], "loc": { "start": { - "line": 34, + "line": 33, "column": 4 }, "end": { - "line": 34, + "line": 33, "column": 15 } } @@ -951,16 +951,16 @@ "type": "Identifier", "name": "tf", "range": [ - 728, - 730 + 727, + 729 ], "loc": { "start": { - "line": 34, + "line": 33, "column": 16 }, "end": { - "line": 34, + "line": 33, "column": 18 } } @@ -976,16 +976,16 @@ "callee": { "type": "Super", "range": [ - 742, - 747 + 741, + 746 ], "loc": { "start": { - "line": 35, + "line": 34, "column": 8 }, "end": { - "line": 35, + "line": 34, "column": 13 } } @@ -995,16 +995,16 @@ "type": "Identifier", "name": "tf", "range": [ - 748, - 750 + 747, + 749 ], "loc": { "start": { - "line": 35, + "line": 34, "column": 14 }, "end": { - "line": 35, + "line": 34, "column": 16 } } @@ -1014,47 +1014,47 @@ "value": "loader", "raw": "'loader'", "range": [ - 752, - 760 + 751, + 759 ], "loc": { "start": { - "line": 35, + "line": 34, "column": 18 }, "end": { - "line": 35, + "line": 34, "column": 26 } } } ], "range": [ - 742, - 761 + 741, + 760 ], "loc": { "start": { - "line": 35, + "line": 34, "column": 8 }, "end": { - "line": 35, + "line": 34, "column": 27 } } }, "range": [ - 742, - 762 + 741, + 761 ], "loc": { "start": { - "line": 35, + "line": 34, "column": 8 }, "end": { - "line": 35, + "line": 34, "column": 28 } } @@ -1068,16 +1068,16 @@ "type": "Identifier", "name": "f", "range": [ - 776, - 777 + 775, + 776 ], "loc": { "start": { - "line": 37, + "line": 36, "column": 12 }, "end": { - "line": 37, + "line": 36, "column": 13 } } @@ -1088,16 +1088,16 @@ "object": { "type": "ThisExpression", "range": [ - 780, - 784 + 779, + 783 ], "loc": { "start": { - "line": 37, + "line": 36, "column": 16 }, "end": { - "line": 37, + "line": 36, "column": 20 } } @@ -1106,46 +1106,46 @@ "type": "Identifier", "name": "config", "range": [ - 785, - 791 + 784, + 790 ], "loc": { "start": { - "line": 37, + "line": 36, "column": 21 }, "end": { - "line": 37, + "line": 36, "column": 27 } } }, "range": [ - 780, - 791 + 779, + 790 ], "loc": { "start": { - "line": 37, + "line": 36, "column": 16 }, "end": { - "line": 37, + "line": 36, "column": 27 } } }, "range": [ - 776, - 791 + 775, + 790 ], "loc": { "start": { - "line": 37, + "line": 36, "column": 12 }, "end": { - "line": 37, + "line": 36, "column": 27 } } @@ -1153,16 +1153,16 @@ ], "kind": "let", "range": [ - 772, - 792 + 771, + 791 ], "loc": { "start": { - "line": 37, + "line": 36, "column": 8 }, "end": { - "line": 37, + "line": 36, "column": 28 } }, @@ -1171,16 +1171,16 @@ "type": "Block", "value": "*\n * ID of custom container element\n * @type {String}\n ", "range": [ - 802, - 885 + 801, + 884 ], "loc": { "start": { - "line": 39, + "line": 38, "column": 8 }, "end": { - "line": 42, + "line": 41, "column": 11 } } @@ -1198,16 +1198,16 @@ "object": { "type": "ThisExpression", "range": [ - 894, - 898 + 893, + 897 ], "loc": { "start": { - "line": 43, + "line": 42, "column": 8 }, "end": { - "line": 43, + "line": 42, "column": 12 } } @@ -1216,31 +1216,31 @@ "type": "Identifier", "name": "targetId", "range": [ - 899, - 907 + 898, + 906 ], "loc": { "start": { - "line": 43, + "line": 42, "column": 13 }, "end": { - "line": 43, + "line": 42, "column": 21 } } }, "range": [ - 894, - 907 + 893, + 906 ], "loc": { "start": { - "line": 43, + "line": 42, "column": 8 }, "end": { - "line": 43, + "line": 42, "column": 21 } } @@ -1255,16 +1255,16 @@ "type": "Identifier", "name": "f", "range": [ - 910, - 911 + 909, + 910 ], "loc": { "start": { - "line": 43, + "line": 42, "column": 24 }, "end": { - "line": 43, + "line": 42, "column": 25 } } @@ -1273,31 +1273,31 @@ "type": "Identifier", "name": "loader_target_id", "range": [ - 912, - 928 + 911, + 927 ], "loc": { "start": { - "line": 43, + "line": 42, "column": 26 }, "end": { - "line": 43, + "line": 42, "column": 42 } } }, "range": [ - 910, - 928 + 909, + 927 ], "loc": { "start": { - "line": 43, + "line": 42, "column": 24 }, "end": { - "line": 43, + "line": 42, "column": 42 } } @@ -1307,61 +1307,61 @@ "value": null, "raw": "null", "range": [ - 932, - 936 + 931, + 935 ], "loc": { "start": { - "line": 43, + "line": 42, "column": 46 }, "end": { - "line": 43, + "line": 42, "column": 50 } } }, "range": [ - 910, - 936 + 909, + 935 ], "loc": { "start": { - "line": 43, + "line": 42, "column": 24 }, "end": { - "line": 43, + "line": 42, "column": 50 } } }, "range": [ - 894, - 936 + 893, + 935 ], "loc": { "start": { - "line": 43, + "line": 42, "column": 8 }, "end": { - "line": 43, + "line": 42, "column": 50 } } }, "range": [ - 894, - 937 + 893, + 936 ], "loc": { "start": { - "line": 43, + "line": 42, "column": 8 }, "end": { - "line": 43, + "line": 42, "column": 51 } }, @@ -1370,16 +1370,16 @@ "type": "Block", "value": "*\n * ID of custom container element\n * @type {String}\n ", "range": [ - 802, - 885 + 801, + 884 ], "loc": { "start": { - "line": 39, + "line": 38, "column": 8 }, "end": { - "line": 42, + "line": 41, "column": 11 } } @@ -1390,16 +1390,16 @@ "type": "Block", "value": "*\n * Loader container DOM element\n * @type {DOMElement}\n ", "range": [ - 947, - 1032 + 946, + 1031 ], "loc": { "start": { - "line": 45, + "line": 44, "column": 8 }, "end": { - "line": 48, + "line": 47, "column": 11 } } @@ -1417,16 +1417,16 @@ "object": { "type": "ThisExpression", "range": [ - 1041, - 1045 + 1040, + 1044 ], "loc": { "start": { - "line": 49, + "line": 48, "column": 8 }, "end": { - "line": 49, + "line": 48, "column": 12 } } @@ -1435,31 +1435,31 @@ "type": "Identifier", "name": "cont", "range": [ - 1046, - 1050 + 1045, + 1049 ], "loc": { "start": { - "line": 49, + "line": 48, "column": 13 }, "end": { - "line": 49, + "line": 48, "column": 17 } } }, "range": [ - 1041, - 1050 + 1040, + 1049 ], "loc": { "start": { - "line": 49, + "line": 48, "column": 8 }, "end": { - "line": 49, + "line": 48, "column": 17 } } @@ -1469,46 +1469,46 @@ "value": null, "raw": "null", "range": [ - 1053, - 1057 + 1052, + 1056 ], "loc": { "start": { - "line": 49, + "line": 48, "column": 20 }, "end": { - "line": 49, + "line": 48, "column": 24 } } }, "range": [ - 1041, - 1057 + 1040, + 1056 ], "loc": { "start": { - "line": 49, + "line": 48, "column": 8 }, "end": { - "line": 49, + "line": 48, "column": 24 } } }, "range": [ - 1041, - 1058 + 1040, + 1057 ], "loc": { "start": { - "line": 49, + "line": 48, "column": 8 }, "end": { - "line": 49, + "line": 48, "column": 25 } }, @@ -1517,16 +1517,16 @@ "type": "Block", "value": "*\n * Loader container DOM element\n * @type {DOMElement}\n ", "range": [ - 947, - 1032 + 946, + 1031 ], "loc": { "start": { - "line": 45, + "line": 44, "column": 8 }, "end": { - "line": 48, + "line": 47, "column": 11 } } @@ -1537,16 +1537,16 @@ "type": "Block", "value": "*\n * Text displayed when indicator is visible\n * @type {String}\n ", "range": [ - 1068, - 1161 + 1067, + 1160 ], "loc": { "start": { - "line": 51, + "line": 50, "column": 8 }, "end": { - "line": 54, + "line": 53, "column": 11 } } @@ -1564,16 +1564,16 @@ "object": { "type": "ThisExpression", "range": [ - 1170, - 1174 + 1169, + 1173 ], "loc": { "start": { - "line": 55, + "line": 54, "column": 8 }, "end": { - "line": 55, + "line": 54, "column": 12 } } @@ -1582,31 +1582,31 @@ "type": "Identifier", "name": "text", "range": [ - 1175, - 1179 + 1174, + 1178 ], "loc": { "start": { - "line": 55, + "line": 54, "column": 13 }, "end": { - "line": 55, + "line": 54, "column": 17 } } }, "range": [ - 1170, - 1179 + 1169, + 1178 ], "loc": { "start": { - "line": 55, + "line": 54, "column": 8 }, "end": { - "line": 55, + "line": 54, "column": 17 } } @@ -1621,16 +1621,16 @@ "type": "Identifier", "name": "f", "range": [ - 1182, - 1183 + 1181, + 1182 ], "loc": { "start": { - "line": 55, + "line": 54, "column": 20 }, "end": { - "line": 55, + "line": 54, "column": 21 } } @@ -1639,31 +1639,31 @@ "type": "Identifier", "name": "loader_text", "range": [ - 1184, - 1195 + 1183, + 1194 ], "loc": { "start": { - "line": 55, + "line": 54, "column": 22 }, "end": { - "line": 55, + "line": 54, "column": 33 } } }, "range": [ - 1182, - 1195 + 1181, + 1194 ], "loc": { "start": { - "line": 55, + "line": 54, "column": 20 }, "end": { - "line": 55, + "line": 54, "column": 33 } } @@ -1673,61 +1673,61 @@ "value": "Loading...", "raw": "'Loading...'", "range": [ - 1199, - 1211 + 1198, + 1210 ], "loc": { "start": { - "line": 55, + "line": 54, "column": 37 }, "end": { - "line": 55, + "line": 54, "column": 49 } } }, "range": [ - 1182, - 1211 + 1181, + 1210 ], "loc": { "start": { - "line": 55, + "line": 54, "column": 20 }, "end": { - "line": 55, + "line": 54, "column": 49 } } }, "range": [ - 1170, - 1211 + 1169, + 1210 ], "loc": { "start": { - "line": 55, + "line": 54, "column": 8 }, "end": { - "line": 55, + "line": 54, "column": 49 } } }, "range": [ - 1170, - 1212 + 1169, + 1211 ], "loc": { "start": { - "line": 55, + "line": 54, "column": 8 }, "end": { - "line": 55, + "line": 54, "column": 50 } }, @@ -1736,16 +1736,16 @@ "type": "Block", "value": "*\n * Text displayed when indicator is visible\n * @type {String}\n ", "range": [ - 1068, - 1161 + 1067, + 1160 ], "loc": { "start": { - "line": 51, + "line": 50, "column": 8 }, "end": { - "line": 54, + "line": 53, "column": 11 } } @@ -1756,16 +1756,16 @@ "type": "Block", "value": "*\n * Custom HTML injected in Loader's container element\n * @type {String}\n ", "range": [ - 1222, - 1325 + 1221, + 1324 ], "loc": { "start": { - "line": 57, + "line": 56, "column": 8 }, "end": { - "line": 60, + "line": 59, "column": 11 } } @@ -1783,16 +1783,16 @@ "object": { "type": "ThisExpression", "range": [ - 1334, - 1338 + 1333, + 1337 ], "loc": { "start": { - "line": 61, + "line": 60, "column": 8 }, "end": { - "line": 61, + "line": 60, "column": 12 } } @@ -1801,31 +1801,31 @@ "type": "Identifier", "name": "html", "range": [ - 1339, - 1343 + 1338, + 1342 ], "loc": { "start": { - "line": 61, + "line": 60, "column": 13 }, "end": { - "line": 61, + "line": 60, "column": 17 } } }, "range": [ - 1334, - 1343 + 1333, + 1342 ], "loc": { "start": { - "line": 61, + "line": 60, "column": 8 }, "end": { - "line": 61, + "line": 60, "column": 17 } } @@ -1840,16 +1840,16 @@ "type": "Identifier", "name": "f", "range": [ - 1346, - 1347 + 1345, + 1346 ], "loc": { "start": { - "line": 61, + "line": 60, "column": 20 }, "end": { - "line": 61, + "line": 60, "column": 21 } } @@ -1858,31 +1858,31 @@ "type": "Identifier", "name": "loader_html", "range": [ - 1348, - 1359 + 1347, + 1358 ], "loc": { "start": { - "line": 61, + "line": 60, "column": 22 }, "end": { - "line": 61, + "line": 60, "column": 33 } } }, "range": [ - 1346, - 1359 + 1345, + 1358 ], "loc": { "start": { - "line": 61, + "line": 60, "column": 20 }, "end": { - "line": 61, + "line": 60, "column": 33 } } @@ -1892,61 +1892,61 @@ "value": null, "raw": "null", "range": [ - 1363, - 1367 + 1362, + 1366 ], "loc": { "start": { - "line": 61, + "line": 60, "column": 37 }, "end": { - "line": 61, + "line": 60, "column": 41 } } }, "range": [ - 1346, - 1367 + 1345, + 1366 ], "loc": { "start": { - "line": 61, + "line": 60, "column": 20 }, "end": { - "line": 61, + "line": 60, "column": 41 } } }, "range": [ - 1334, - 1367 + 1333, + 1366 ], "loc": { "start": { - "line": 61, + "line": 60, "column": 8 }, "end": { - "line": 61, + "line": 60, "column": 41 } } }, "range": [ - 1334, - 1368 + 1333, + 1367 ], "loc": { "start": { - "line": 61, + "line": 60, "column": 8 }, "end": { - "line": 61, + "line": 60, "column": 42 } }, @@ -1955,16 +1955,16 @@ "type": "Block", "value": "*\n * Custom HTML injected in Loader's container element\n * @type {String}\n ", "range": [ - 1222, - 1325 + 1221, + 1324 ], "loc": { "start": { - "line": 57, + "line": 56, "column": 8 }, "end": { - "line": 60, + "line": 59, "column": 11 } } @@ -1975,16 +1975,16 @@ "type": "Block", "value": "*\n * Css class for Loader's container element\n * @type {String}\n ", "range": [ - 1378, - 1471 + 1377, + 1470 ], "loc": { "start": { - "line": 63, + "line": 62, "column": 8 }, "end": { - "line": 66, + "line": 65, "column": 11 } } @@ -2002,16 +2002,16 @@ "object": { "type": "ThisExpression", "range": [ - 1480, - 1484 + 1479, + 1483 ], "loc": { "start": { - "line": 67, + "line": 66, "column": 8 }, "end": { - "line": 67, + "line": 66, "column": 12 } } @@ -2020,31 +2020,31 @@ "type": "Identifier", "name": "cssClass", "range": [ - 1485, - 1493 + 1484, + 1492 ], "loc": { "start": { - "line": 67, + "line": 66, "column": 13 }, "end": { - "line": 67, + "line": 66, "column": 21 } } }, "range": [ - 1480, - 1493 + 1479, + 1492 ], "loc": { "start": { - "line": 67, + "line": 66, "column": 8 }, "end": { - "line": 67, + "line": 66, "column": 21 } } @@ -2059,16 +2059,16 @@ "type": "Identifier", "name": "f", "range": [ - 1496, - 1497 + 1495, + 1496 ], "loc": { "start": { - "line": 67, + "line": 66, "column": 24 }, "end": { - "line": 67, + "line": 66, "column": 25 } } @@ -2077,31 +2077,31 @@ "type": "Identifier", "name": "loader_css_class", "range": [ - 1498, - 1514 + 1497, + 1513 ], "loc": { "start": { - "line": 67, + "line": 66, "column": 26 }, "end": { - "line": 67, + "line": 66, "column": 42 } } }, "range": [ - 1496, - 1514 + 1495, + 1513 ], "loc": { "start": { - "line": 67, + "line": 66, "column": 24 }, "end": { - "line": 67, + "line": 66, "column": 42 } } @@ -2111,61 +2111,61 @@ "value": "loader", "raw": "'loader'", "range": [ - 1518, - 1526 + 1517, + 1525 ], "loc": { "start": { - "line": 67, + "line": 66, "column": 46 }, "end": { - "line": 67, + "line": 66, "column": 54 } } }, "range": [ - 1496, - 1526 + 1495, + 1525 ], "loc": { "start": { - "line": 67, + "line": 66, "column": 24 }, "end": { - "line": 67, + "line": 66, "column": 54 } } }, "range": [ - 1480, - 1526 + 1479, + 1525 ], "loc": { "start": { - "line": 67, + "line": 66, "column": 8 }, "end": { - "line": 67, + "line": 66, "column": 54 } } }, "range": [ - 1480, - 1527 + 1479, + 1526 ], "loc": { "start": { - "line": 67, + "line": 66, "column": 8 }, "end": { - "line": 67, + "line": 66, "column": 55 } }, @@ -2174,16 +2174,16 @@ "type": "Block", "value": "*\n * Css class for Loader's container element\n * @type {String}\n ", "range": [ - 1378, - 1471 + 1377, + 1470 ], "loc": { "start": { - "line": 63, + "line": 62, "column": 8 }, "end": { - "line": 66, + "line": 65, "column": 11 } } @@ -2194,16 +2194,16 @@ "type": "Block", "value": "*\n * Close delay in milliseconds\n * @type {Number}\n ", "range": [ - 1537, - 1617 + 1536, + 1616 ], "loc": { "start": { - "line": 69, + "line": 68, "column": 8 }, "end": { - "line": 72, + "line": 71, "column": 11 } } @@ -2221,16 +2221,16 @@ "object": { "type": "ThisExpression", "range": [ - 1626, - 1630 + 1625, + 1629 ], "loc": { "start": { - "line": 73, + "line": 72, "column": 8 }, "end": { - "line": 73, + "line": 72, "column": 12 } } @@ -2239,31 +2239,31 @@ "type": "Identifier", "name": "closeDelay", "range": [ - 1631, - 1641 + 1630, + 1640 ], "loc": { "start": { - "line": 73, + "line": 72, "column": 13 }, "end": { - "line": 73, + "line": 72, "column": 23 } } }, "range": [ - 1626, - 1641 + 1625, + 1640 ], "loc": { "start": { - "line": 73, + "line": 72, "column": 8 }, "end": { - "line": 73, + "line": 72, "column": 23 } } @@ -2273,46 +2273,46 @@ "value": 250, "raw": "250", "range": [ - 1644, - 1647 + 1643, + 1646 ], "loc": { "start": { - "line": 73, + "line": 72, "column": 26 }, "end": { - "line": 73, + "line": 72, "column": 29 } } }, "range": [ - 1626, - 1647 + 1625, + 1646 ], "loc": { "start": { - "line": 73, + "line": 72, "column": 8 }, "end": { - "line": 73, + "line": 72, "column": 29 } } }, "range": [ - 1626, - 1648 + 1625, + 1647 ], "loc": { "start": { - "line": 73, + "line": 72, "column": 8 }, "end": { - "line": 73, + "line": 72, "column": 30 } }, @@ -2321,16 +2321,16 @@ "type": "Block", "value": "*\n * Close delay in milliseconds\n * @type {Number}\n ", "range": [ - 1537, - 1617 + 1536, + 1616 ], "loc": { "start": { - "line": 69, + "line": 68, "column": 8 }, "end": { - "line": 72, + "line": 71, "column": 11 } } @@ -2341,16 +2341,16 @@ "type": "Block", "value": "*\n * Callback fired when loader is displayed\n * @type {Function}\n ", "range": [ - 1658, - 1752 + 1657, + 1751 ], "loc": { "start": { - "line": 75, + "line": 74, "column": 8 }, "end": { - "line": 78, + "line": 77, "column": 11 } } @@ -2368,16 +2368,16 @@ "object": { "type": "ThisExpression", "range": [ - 1761, - 1765 + 1760, + 1764 ], "loc": { "start": { - "line": 79, + "line": 78, "column": 8 }, "end": { - "line": 79, + "line": 78, "column": 12 } } @@ -2386,31 +2386,31 @@ "type": "Identifier", "name": "onShow", "range": [ - 1766, - 1772 + 1765, + 1771 ], "loc": { "start": { - "line": 79, + "line": 78, "column": 13 }, "end": { - "line": 79, + "line": 78, "column": 19 } } }, "range": [ - 1761, - 1772 + 1760, + 1771 ], "loc": { "start": { - "line": 79, + "line": 78, "column": 8 }, "end": { - "line": 79, + "line": 78, "column": 19 } } @@ -2423,16 +2423,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 1775, - 1779 + 1774, + 1778 ], "loc": { "start": { - "line": 79, + "line": 78, "column": 22 }, "end": { - "line": 79, + "line": 78, "column": 26 } } @@ -2445,16 +2445,16 @@ "type": "Identifier", "name": "f", "range": [ - 1780, - 1781 + 1779, + 1780 ], "loc": { "start": { - "line": 79, + "line": 78, "column": 27 }, "end": { - "line": 79, + "line": 78, "column": 28 } } @@ -2463,47 +2463,47 @@ "type": "Identifier", "name": "on_show_loader", "range": [ - 1782, - 1796 + 1781, + 1795 ], "loc": { "start": { - "line": 79, + "line": 78, "column": 29 }, "end": { - "line": 79, + "line": 78, "column": 43 } } }, "range": [ - 1780, - 1796 + 1779, + 1795 ], "loc": { "start": { - "line": 79, + "line": 78, "column": 27 }, "end": { - "line": 79, + "line": 78, "column": 43 } } } ], "range": [ - 1775, - 1797 + 1774, + 1796 ], "loc": { "start": { - "line": 79, + "line": 78, "column": 22 }, "end": { - "line": 79, + "line": 78, "column": 44 } } @@ -2515,16 +2515,16 @@ "type": "Identifier", "name": "f", "range": [ - 1800, - 1801 + 1799, + 1800 ], "loc": { "start": { - "line": 79, + "line": 78, "column": 47 }, "end": { - "line": 79, + "line": 78, "column": 48 } } @@ -2533,31 +2533,31 @@ "type": "Identifier", "name": "on_show_loader", "range": [ - 1802, - 1816 + 1801, + 1815 ], "loc": { "start": { - "line": 79, + "line": 78, "column": 49 }, "end": { - "line": 79, + "line": 78, "column": 63 } } }, "range": [ - 1800, - 1816 + 1799, + 1815 ], "loc": { "start": { - "line": 79, + "line": 78, "column": 47 }, "end": { - "line": 79, + "line": 78, "column": 63 } } @@ -2567,61 +2567,61 @@ "value": null, "raw": "null", "range": [ - 1819, - 1823 + 1818, + 1822 ], "loc": { "start": { - "line": 79, + "line": 78, "column": 66 }, "end": { - "line": 79, + "line": 78, "column": 70 } } }, "range": [ - 1775, - 1823 + 1774, + 1822 ], "loc": { "start": { - "line": 79, + "line": 78, "column": 22 }, "end": { - "line": 79, + "line": 78, "column": 70 } } }, "range": [ - 1761, - 1823 + 1760, + 1822 ], "loc": { "start": { - "line": 79, + "line": 78, "column": 8 }, "end": { - "line": 79, + "line": 78, "column": 70 } } }, "range": [ - 1761, - 1824 + 1760, + 1823 ], "loc": { "start": { - "line": 79, + "line": 78, "column": 8 }, "end": { - "line": 79, + "line": 78, "column": 71 } }, @@ -2630,16 +2630,16 @@ "type": "Block", "value": "*\n * Callback fired when loader is displayed\n * @type {Function}\n ", "range": [ - 1658, - 1752 + 1657, + 1751 ], "loc": { "start": { - "line": 75, + "line": 74, "column": 8 }, "end": { - "line": 78, + "line": 77, "column": 11 } } @@ -2650,16 +2650,16 @@ "type": "Block", "value": "*\n * Callback fired when loader is closed\n * @type {Function}\n ", "range": [ - 1834, - 1925 + 1833, + 1924 ], "loc": { "start": { - "line": 81, + "line": 80, "column": 8 }, "end": { - "line": 84, + "line": 83, "column": 11 } } @@ -2677,16 +2677,16 @@ "object": { "type": "ThisExpression", "range": [ - 1934, - 1938 + 1933, + 1937 ], "loc": { "start": { - "line": 85, + "line": 84, "column": 8 }, "end": { - "line": 85, + "line": 84, "column": 12 } } @@ -2695,31 +2695,31 @@ "type": "Identifier", "name": "onHide", "range": [ - 1939, - 1945 + 1938, + 1944 ], "loc": { "start": { - "line": 85, + "line": 84, "column": 13 }, "end": { - "line": 85, + "line": 84, "column": 19 } } }, "range": [ - 1934, - 1945 + 1933, + 1944 ], "loc": { "start": { - "line": 85, + "line": 84, "column": 8 }, "end": { - "line": 85, + "line": 84, "column": 19 } } @@ -2732,16 +2732,16 @@ "type": "Identifier", "name": "isFn", "range": [ - 1948, - 1952 + 1947, + 1951 ], "loc": { "start": { - "line": 85, + "line": 84, "column": 22 }, "end": { - "line": 85, + "line": 84, "column": 26 } } @@ -2754,16 +2754,16 @@ "type": "Identifier", "name": "f", "range": [ - 1953, - 1954 + 1952, + 1953 ], "loc": { "start": { - "line": 85, + "line": 84, "column": 27 }, "end": { - "line": 85, + "line": 84, "column": 28 } } @@ -2772,47 +2772,47 @@ "type": "Identifier", "name": "on_hide_loader", "range": [ - 1955, - 1969 + 1954, + 1968 ], "loc": { "start": { - "line": 85, + "line": 84, "column": 29 }, "end": { - "line": 85, + "line": 84, "column": 43 } } }, "range": [ - 1953, - 1969 + 1952, + 1968 ], "loc": { "start": { - "line": 85, + "line": 84, "column": 27 }, "end": { - "line": 85, + "line": 84, "column": 43 } } } ], "range": [ - 1948, - 1970 + 1947, + 1969 ], "loc": { "start": { - "line": 85, + "line": 84, "column": 22 }, "end": { - "line": 85, + "line": 84, "column": 44 } } @@ -2824,16 +2824,16 @@ "type": "Identifier", "name": "f", "range": [ - 1973, - 1974 + 1972, + 1973 ], "loc": { "start": { - "line": 85, + "line": 84, "column": 47 }, "end": { - "line": 85, + "line": 84, "column": 48 } } @@ -2842,31 +2842,31 @@ "type": "Identifier", "name": "on_hide_loader", "range": [ - 1975, - 1989 + 1974, + 1988 ], "loc": { "start": { - "line": 85, + "line": 84, "column": 49 }, "end": { - "line": 85, + "line": 84, "column": 63 } } }, "range": [ - 1973, - 1989 + 1972, + 1988 ], "loc": { "start": { - "line": 85, + "line": 84, "column": 47 }, "end": { - "line": 85, + "line": 84, "column": 63 } } @@ -2876,61 +2876,61 @@ "value": null, "raw": "null", "range": [ - 1992, - 1996 + 1991, + 1995 ], "loc": { "start": { - "line": 85, + "line": 84, "column": 66 }, "end": { - "line": 85, + "line": 84, "column": 70 } } }, "range": [ - 1948, - 1996 + 1947, + 1995 ], "loc": { "start": { - "line": 85, + "line": 84, "column": 22 }, "end": { - "line": 85, + "line": 84, "column": 70 } } }, "range": [ - 1934, - 1996 + 1933, + 1995 ], "loc": { "start": { - "line": 85, + "line": 84, "column": 8 }, "end": { - "line": 85, + "line": 84, "column": 70 } } }, "range": [ - 1934, - 1997 + 1933, + 1996 ], "loc": { "start": { - "line": 85, + "line": 84, "column": 8 }, "end": { - "line": 85, + "line": 84, "column": 71 } }, @@ -2939,163 +2939,16 @@ "type": "Block", "value": "*\n * Callback fired when loader is closed\n * @type {Function}\n ", "range": [ - 1834, - 1925 + 1833, + 1924 ], "loc": { "start": { - "line": 81, + "line": 80, "column": 8 }, "end": { - "line": 84, - "column": 11 - } - } - } - ], - "trailingComments": [ - { - "type": "Block", - "value": "*\n * Prefix for container ID\n * @type {String}\n * @private\n ", - "range": [ - 2007, - 2103 - ], - "loc": { - "start": { - "line": 87, - "column": 8 - }, - "end": { - "line": 91, - "column": 11 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 2112, - 2116 - ], - "loc": { - "start": { - "line": 92, - "column": 8 - }, - "end": { - "line": 92, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "prfx", - "range": [ - 2117, - 2121 - ], - "loc": { - "start": { - "line": 92, - "column": 13 - }, - "end": { - "line": 92, - "column": 17 - } - } - }, - "range": [ - 2112, - 2121 - ], - "loc": { - "start": { - "line": 92, - "column": 8 - }, - "end": { - "line": 92, - "column": 17 - } - } - }, - "right": { - "type": "Literal", - "value": "load_", - "raw": "'load_'", - "range": [ - 2124, - 2131 - ], - "loc": { - "start": { - "line": 92, - "column": 20 - }, - "end": { - "line": 92, - "column": 27 - } - } - }, - "range": [ - 2112, - 2131 - ], - "loc": { - "start": { - "line": 92, - "column": 8 - }, - "end": { - "line": 92, - "column": 27 - } - } - }, - "range": [ - 2112, - 2132 - ], - "loc": { - "start": { - "line": 92, - "column": 8 - }, - "end": { - "line": 92, - "column": 28 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Prefix for container ID\n * @type {String}\n * @private\n ", - "range": [ - 2007, - 2103 - ], - "loc": { - "start": { - "line": 87, - "column": 8 - }, - "end": { - "line": 91, + "line": 83, "column": 11 } } @@ -3104,16 +2957,16 @@ } ], "range": [ - 732, - 2138 + 731, + 2002 ], "loc": { "start": { - "line": 34, + "line": 33, "column": 20 }, "end": { - "line": 93, + "line": 85, "column": 5 } } @@ -3121,16 +2974,16 @@ "generator": false, "expression": false, "range": [ - 727, - 2138 + 726, + 2002 ], "loc": { "start": { - "line": 34, + "line": 33, "column": 15 }, "end": { - "line": 93, + "line": 85, "column": 5 } } @@ -3138,16 +2991,16 @@ "kind": "constructor", "computed": false, "range": [ - 716, - 2138 + 715, + 2002 ], "loc": { "start": { - "line": 34, + "line": 33, "column": 4 }, "end": { - "line": 93, + "line": 85, "column": 5 } }, @@ -3156,16 +3009,16 @@ "type": "Block", "value": "*\n * Creates an instance of Loader.\n *\n * @param {TableFilter} tf TableFilter instance\n ", "range": [ - 603, - 711 + 602, + 710 ], "loc": { "start": { - "line": 29, + "line": 28, "column": 4 }, "end": { - "line": 33, + "line": 32, "column": 7 } } @@ -3176,16 +3029,16 @@ "type": "Block", "value": "*\n * Initializes Loader instance\n ", "range": [ - 2144, - 2190 + 2008, + 2054 ], "loc": { "start": { - "line": 95, + "line": 87, "column": 4 }, "end": { - "line": 97, + "line": 89, "column": 7 } } @@ -3199,16 +3052,16 @@ "type": "Identifier", "name": "init", "range": [ - 2195, - 2199 + 2059, + 2063 ], "loc": { "start": { - "line": 98, + "line": 90, "column": 4 }, "end": { - "line": 98, + "line": 90, "column": 8 } } @@ -3228,16 +3081,16 @@ "object": { "type": "ThisExpression", "range": [ - 2216, - 2220 + 2080, + 2084 ], "loc": { "start": { - "line": 99, + "line": 91, "column": 12 }, "end": { - "line": 99, + "line": 91, "column": 16 } } @@ -3246,31 +3099,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 2221, - 2232 + 2085, + 2096 ], "loc": { "start": { - "line": 99, + "line": 91, "column": 17 }, "end": { - "line": 99, + "line": 91, "column": 28 } } }, "range": [ - 2216, - 2232 + 2080, + 2096 ], "loc": { "start": { - "line": 99, + "line": 91, "column": 12 }, "end": { - "line": 99, + "line": 91, "column": 28 } } @@ -3282,48 +3135,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 2248, - 2255 + 2112, + 2119 ], "loc": { "start": { - "line": 100, + "line": 92, "column": 12 }, "end": { - "line": 100, + "line": 92, "column": 19 } } } ], "range": [ - 2234, - 2265 + 2098, + 2129 ], "loc": { "start": { - "line": 99, + "line": 91, "column": 30 }, "end": { - "line": 101, + "line": 93, "column": 9 } } }, "alternate": null, "range": [ - 2212, - 2265 + 2076, + 2129 ], "loc": { "start": { - "line": 99, + "line": 91, "column": 8 }, "end": { - "line": 101, + "line": 93, "column": 9 } } @@ -3337,16 +3190,16 @@ "type": "Identifier", "name": "tf", "range": [ - 2279, - 2281 + 2143, + 2145 ], "loc": { "start": { - "line": 103, + "line": 95, "column": 12 }, "end": { - "line": 103, + "line": 95, "column": 14 } } @@ -3357,16 +3210,16 @@ "object": { "type": "ThisExpression", "range": [ - 2284, - 2288 + 2148, + 2152 ], "loc": { "start": { - "line": 103, + "line": 95, "column": 17 }, "end": { - "line": 103, + "line": 95, "column": 21 } } @@ -3375,46 +3228,46 @@ "type": "Identifier", "name": "tf", "range": [ - 2289, - 2291 + 2153, + 2155 ], "loc": { "start": { - "line": 103, + "line": 95, "column": 22 }, "end": { - "line": 103, + "line": 95, "column": 24 } } }, "range": [ - 2284, - 2291 + 2148, + 2155 ], "loc": { "start": { - "line": 103, + "line": 95, "column": 17 }, "end": { - "line": 103, + "line": 95, "column": 24 } } }, "range": [ - 2279, - 2291 + 2143, + 2155 ], "loc": { "start": { - "line": 103, + "line": 95, "column": 12 }, "end": { - "line": 103, + "line": 95, "column": 24 } } @@ -3422,16 +3275,16 @@ ], "kind": "let", "range": [ - 2275, - 2292 + 2139, + 2156 ], "loc": { "start": { - "line": 103, + "line": 95, "column": 8 }, "end": { - "line": 103, + "line": 95, "column": 25 } } @@ -3445,16 +3298,16 @@ "type": "Identifier", "name": "emitter", "range": [ - 2305, - 2312 + 2169, + 2176 ], "loc": { "start": { - "line": 104, + "line": 96, "column": 12 }, "end": { - "line": 104, + "line": 96, "column": 19 } } @@ -3465,16 +3318,16 @@ "object": { "type": "ThisExpression", "range": [ - 2315, - 2319 + 2179, + 2183 ], "loc": { "start": { - "line": 104, + "line": 96, "column": 22 }, "end": { - "line": 104, + "line": 96, "column": 26 } } @@ -3483,46 +3336,46 @@ "type": "Identifier", "name": "emitter", "range": [ - 2320, - 2327 + 2184, + 2191 ], "loc": { "start": { - "line": 104, + "line": 96, "column": 27 }, "end": { - "line": 104, + "line": 96, "column": 34 } } }, "range": [ - 2315, - 2327 + 2179, + 2191 ], "loc": { "start": { - "line": 104, + "line": 96, "column": 22 }, "end": { - "line": 104, + "line": 96, "column": 34 } } }, "range": [ - 2305, - 2327 + 2169, + 2191 ], "loc": { "start": { - "line": 104, + "line": 96, "column": 12 }, "end": { - "line": 104, + "line": 96, "column": 34 } } @@ -3530,16 +3383,16 @@ ], "kind": "let", "range": [ - 2301, - 2328 + 2165, + 2192 ], "loc": { "start": { - "line": 104, + "line": 96, "column": 8 }, "end": { - "line": 104, + "line": 96, "column": 35 } } @@ -3553,16 +3406,16 @@ "type": "Identifier", "name": "containerDiv", "range": [ - 2342, - 2354 + 2206, + 2218 ], "loc": { "start": { - "line": 106, + "line": 98, "column": 12 }, "end": { - "line": 106, + "line": 98, "column": 24 } } @@ -3573,16 +3426,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 2357, - 2366 + 2221, + 2230 ], "loc": { "start": { - "line": 106, + "line": 98, "column": 27 }, "end": { - "line": 106, + "line": 98, "column": 36 } } @@ -3593,228 +3446,65 @@ "value": "div", "raw": "'div'", "range": [ - 2367, - 2372 + 2231, + 2236 ], "loc": { "start": { - "line": 106, + "line": 98, "column": 37 }, "end": { - "line": 106, + "line": 98, "column": 42 } } - }, - { - "type": "ArrayExpression", - "elements": [ - { - "type": "Literal", - "value": "id", - "raw": "'id'", - "range": [ - 2375, - 2379 - ], - "loc": { - "start": { - "line": 106, - "column": 45 - }, - "end": { - "line": 106, - "column": 49 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 2381, - 2385 - ], - "loc": { - "start": { - "line": 106, - "column": 51 - }, - "end": { - "line": 106, - "column": 55 - } - } - }, - "property": { - "type": "Identifier", - "name": "prfx", - "range": [ - 2386, - 2390 - ], - "loc": { - "start": { - "line": 106, - "column": 56 - }, - "end": { - "line": 106, - "column": 60 - } - } - }, - "range": [ - 2381, - 2390 - ], - "loc": { - "start": { - "line": 106, - "column": 51 - }, - "end": { - "line": 106, - "column": 60 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 2393, - 2395 - ], - "loc": { - "start": { - "line": 106, - "column": 63 - }, - "end": { - "line": 106, - "column": 65 - } - } - }, - "property": { - "type": "Identifier", - "name": "id", - "range": [ - 2396, - 2398 - ], - "loc": { - "start": { - "line": 106, - "column": 66 - }, - "end": { - "line": 106, - "column": 68 - } - } - }, - "range": [ - 2393, - 2398 - ], - "loc": { - "start": { - "line": 106, - "column": 63 - }, - "end": { - "line": 106, - "column": 68 - } - } - }, - "range": [ - 2381, - 2398 - ], - "loc": { - "start": { - "line": 106, - "column": 51 - }, - "end": { - "line": 106, - "column": 68 - } - } - } - ], - "range": [ - 2374, - 2399 - ], - "loc": { - "start": { - "line": 106, - "column": 44 - }, - "end": { - "line": 106, - "column": 69 - } - } } ], "range": [ - 2357, - 2400 + 2221, + 2237 ], "loc": { "start": { - "line": 106, + "line": 98, "column": 27 }, "end": { - "line": 106, - "column": 70 + "line": 98, + "column": 43 } } }, "range": [ - 2342, - 2400 + 2206, + 2237 ], "loc": { "start": { - "line": 106, + "line": 98, "column": 12 }, "end": { - "line": 106, - "column": 70 + "line": 98, + "column": 43 } } } ], "kind": "let", "range": [ - 2338, - 2401 + 2202, + 2238 ], "loc": { "start": { - "line": 106, + "line": 98, "column": 8 }, "end": { - "line": 106, - "column": 71 + "line": 98, + "column": 44 } } }, @@ -3830,16 +3520,16 @@ "type": "Identifier", "name": "containerDiv", "range": [ - 2410, - 2422 + 2247, + 2259 ], "loc": { "start": { - "line": 107, + "line": 99, "column": 8 }, "end": { - "line": 107, + "line": 99, "column": 20 } } @@ -3848,31 +3538,31 @@ "type": "Identifier", "name": "className", "range": [ - 2423, - 2432 + 2260, + 2269 ], "loc": { "start": { - "line": 107, + "line": 99, "column": 21 }, "end": { - "line": 107, + "line": 99, "column": 30 } } }, "range": [ - 2410, - 2432 + 2247, + 2269 ], "loc": { "start": { - "line": 107, + "line": 99, "column": 8 }, "end": { - "line": 107, + "line": 99, "column": 30 } } @@ -3883,16 +3573,16 @@ "object": { "type": "ThisExpression", "range": [ - 2435, - 2439 + 2272, + 2276 ], "loc": { "start": { - "line": 107, + "line": 99, "column": 33 }, "end": { - "line": 107, + "line": 99, "column": 37 } } @@ -3901,61 +3591,61 @@ "type": "Identifier", "name": "cssClass", "range": [ - 2440, - 2448 + 2277, + 2285 ], "loc": { "start": { - "line": 107, + "line": 99, "column": 38 }, "end": { - "line": 107, + "line": 99, "column": 46 } } }, "range": [ - 2435, - 2448 + 2272, + 2285 ], "loc": { "start": { - "line": 107, + "line": 99, "column": 33 }, "end": { - "line": 107, + "line": 99, "column": 46 } } }, "range": [ - 2410, - 2448 + 2247, + 2285 ], "loc": { "start": { - "line": 107, + "line": 99, "column": 8 }, "end": { - "line": 107, + "line": 99, "column": 46 } } }, "range": [ - 2410, - 2449 + 2247, + 2286 ], "loc": { "start": { - "line": 107, + "line": 99, "column": 8 }, "end": { - "line": 107, + "line": 99, "column": 47 } } @@ -3969,16 +3659,16 @@ "type": "Identifier", "name": "targetEl", "range": [ - 2463, - 2471 + 2300, + 2308 ], "loc": { "start": { - "line": 109, + "line": 101, "column": 12 }, "end": { - "line": 109, + "line": 101, "column": 20 } } @@ -3994,16 +3684,16 @@ "object": { "type": "ThisExpression", "range": [ - 2475, - 2479 + 2312, + 2316 ], "loc": { "start": { - "line": 109, + "line": 101, "column": 24 }, "end": { - "line": 109, + "line": 101, "column": 28 } } @@ -4012,47 +3702,47 @@ "type": "Identifier", "name": "targetId", "range": [ - 2480, - 2488 + 2317, + 2325 ], "loc": { "start": { - "line": 109, + "line": 101, "column": 29 }, "end": { - "line": 109, + "line": 101, "column": 37 } } }, "range": [ - 2475, - 2488 + 2312, + 2325 ], "loc": { "start": { - "line": 109, + "line": 101, "column": 24 }, "end": { - "line": 109, + "line": 101, "column": 37 } } }, "prefix": true, "range": [ - 2474, - 2488 + 2311, + 2325 ], "loc": { "start": { - "line": 109, + "line": 101, "column": 23 }, "end": { - "line": 109, + "line": 101, "column": 37 } } @@ -4067,16 +3757,16 @@ "type": "Identifier", "name": "tf", "range": [ - 2503, - 2505 + 2340, + 2342 ], "loc": { "start": { - "line": 110, + "line": 102, "column": 12 }, "end": { - "line": 110, + "line": 102, "column": 14 } } @@ -4085,31 +3775,31 @@ "type": "Identifier", "name": "tbl", "range": [ - 2506, - 2509 + 2343, + 2346 ], "loc": { "start": { - "line": 110, + "line": 102, "column": 15 }, "end": { - "line": 110, + "line": 102, "column": 18 } } }, "range": [ - 2503, - 2509 + 2340, + 2346 ], "loc": { "start": { - "line": 110, + "line": 102, "column": 12 }, "end": { - "line": 110, + "line": 102, "column": 18 } } @@ -4118,31 +3808,31 @@ "type": "Identifier", "name": "parentNode", "range": [ - 2510, - 2520 + 2347, + 2357 ], "loc": { "start": { - "line": 110, + "line": 102, "column": 19 }, "end": { - "line": 110, + "line": 102, "column": 29 } } }, "range": [ - 2503, - 2520 + 2340, + 2357 ], "loc": { "start": { - "line": 110, + "line": 102, "column": 12 }, "end": { - "line": 110, + "line": 102, "column": 29 } } @@ -4153,16 +3843,16 @@ "type": "Identifier", "name": "elm", "range": [ - 2523, - 2526 + 2360, + 2363 ], "loc": { "start": { - "line": 110, + "line": 102, "column": 32 }, "end": { - "line": 110, + "line": 102, "column": 35 } } @@ -4174,16 +3864,16 @@ "object": { "type": "ThisExpression", "range": [ - 2527, - 2531 + 2364, + 2368 ], "loc": { "start": { - "line": 110, + "line": 102, "column": 36 }, "end": { - "line": 110, + "line": 102, "column": 40 } } @@ -4192,77 +3882,77 @@ "type": "Identifier", "name": "targetId", "range": [ - 2532, - 2540 + 2369, + 2377 ], "loc": { "start": { - "line": 110, + "line": 102, "column": 41 }, "end": { - "line": 110, + "line": 102, "column": 49 } } }, "range": [ - 2527, - 2540 + 2364, + 2377 ], "loc": { "start": { - "line": 110, + "line": 102, "column": 36 }, "end": { - "line": 110, + "line": 102, "column": 49 } } } ], "range": [ - 2523, - 2541 + 2360, + 2378 ], "loc": { "start": { - "line": 110, + "line": 102, "column": 32 }, "end": { - "line": 110, + "line": 102, "column": 50 } } }, "range": [ - 2474, - 2541 + 2311, + 2378 ], "loc": { "start": { - "line": 109, + "line": 101, "column": 23 }, "end": { - "line": 110, + "line": 102, "column": 50 } } }, "range": [ - 2463, - 2541 + 2300, + 2378 ], "loc": { "start": { - "line": 109, + "line": 101, "column": 12 }, "end": { - "line": 110, + "line": 102, "column": 50 } } @@ -4270,16 +3960,16 @@ ], "kind": "let", "range": [ - 2459, - 2542 + 2296, + 2379 ], "loc": { "start": { - "line": 109, + "line": 101, "column": 8 }, "end": { - "line": 110, + "line": 102, "column": 51 } } @@ -4295,16 +3985,16 @@ "object": { "type": "ThisExpression", "range": [ - 2556, - 2560 + 2393, + 2397 ], "loc": { "start": { - "line": 111, + "line": 103, "column": 13 }, "end": { - "line": 111, + "line": 103, "column": 17 } } @@ -4313,47 +4003,47 @@ "type": "Identifier", "name": "targetId", "range": [ - 2561, - 2569 + 2398, + 2406 ], "loc": { "start": { - "line": 111, + "line": 103, "column": 18 }, "end": { - "line": 111, + "line": 103, "column": 26 } } }, "range": [ - 2556, - 2569 + 2393, + 2406 ], "loc": { "start": { - "line": 111, + "line": 103, "column": 13 }, "end": { - "line": 111, + "line": 103, "column": 26 } } }, "prefix": true, "range": [ - 2555, - 2569 + 2392, + 2406 ], "loc": { "start": { - "line": 111, + "line": 103, "column": 12 }, "end": { - "line": 111, + "line": 103, "column": 26 } } @@ -4372,16 +4062,16 @@ "type": "Identifier", "name": "targetEl", "range": [ - 2585, - 2593 + 2422, + 2430 ], "loc": { "start": { - "line": 112, + "line": 104, "column": 12 }, "end": { - "line": 112, + "line": 104, "column": 20 } } @@ -4390,31 +4080,31 @@ "type": "Identifier", "name": "insertBefore", "range": [ - 2594, - 2606 + 2431, + 2443 ], "loc": { "start": { - "line": 112, + "line": 104, "column": 21 }, "end": { - "line": 112, + "line": 104, "column": 33 } } }, "range": [ - 2585, - 2606 + 2422, + 2443 ], "loc": { "start": { - "line": 112, + "line": 104, "column": 12 }, "end": { - "line": 112, + "line": 104, "column": 33 } } @@ -4424,16 +4114,16 @@ "type": "Identifier", "name": "containerDiv", "range": [ - 2607, - 2619 + 2444, + 2456 ], "loc": { "start": { - "line": 112, + "line": 104, "column": 34 }, "end": { - "line": 112, + "line": 104, "column": 46 } } @@ -4445,16 +4135,16 @@ "type": "Identifier", "name": "tf", "range": [ - 2621, - 2623 + 2458, + 2460 ], "loc": { "start": { - "line": 112, + "line": 104, "column": 48 }, "end": { - "line": 112, + "line": 104, "column": 50 } } @@ -4463,78 +4153,78 @@ "type": "Identifier", "name": "tbl", "range": [ - 2624, - 2627 + 2461, + 2464 ], "loc": { "start": { - "line": 112, + "line": 104, "column": 51 }, "end": { - "line": 112, + "line": 104, "column": 54 } } }, "range": [ - 2621, - 2627 + 2458, + 2464 ], "loc": { "start": { - "line": 112, + "line": 104, "column": 48 }, "end": { - "line": 112, + "line": 104, "column": 54 } } } ], "range": [ - 2585, - 2628 + 2422, + 2465 ], "loc": { "start": { - "line": 112, + "line": 104, "column": 12 }, "end": { - "line": 112, + "line": 104, "column": 55 } } }, "range": [ - 2585, - 2629 + 2422, + 2466 ], "loc": { "start": { - "line": 112, + "line": 104, "column": 12 }, "end": { - "line": 112, + "line": 104, "column": 56 } } } ], "range": [ - 2571, - 2639 + 2408, + 2476 ], "loc": { "start": { - "line": 111, + "line": 103, "column": 28 }, "end": { - "line": 113, + "line": 105, "column": 9 } } @@ -4553,16 +4243,16 @@ "type": "Identifier", "name": "targetEl", "range": [ - 2659, - 2667 + 2496, + 2504 ], "loc": { "start": { - "line": 114, + "line": 106, "column": 12 }, "end": { - "line": 114, + "line": 106, "column": 20 } } @@ -4571,31 +4261,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 2668, - 2679 + 2505, + 2516 ], "loc": { "start": { - "line": 114, + "line": 106, "column": 21 }, "end": { - "line": 114, + "line": 106, "column": 32 } } }, "range": [ - 2659, - 2679 + 2496, + 2516 ], "loc": { "start": { - "line": 114, + "line": 106, "column": 12 }, "end": { - "line": 114, + "line": 106, "column": 32 } } @@ -4605,78 +4295,78 @@ "type": "Identifier", "name": "containerDiv", "range": [ - 2680, - 2692 + 2517, + 2529 ], "loc": { "start": { - "line": 114, + "line": 106, "column": 33 }, "end": { - "line": 114, + "line": 106, "column": 45 } } } ], "range": [ - 2659, - 2693 + 2496, + 2530 ], "loc": { "start": { - "line": 114, + "line": 106, "column": 12 }, "end": { - "line": 114, + "line": 106, "column": 46 } } }, "range": [ - 2659, - 2694 + 2496, + 2531 ], "loc": { "start": { - "line": 114, + "line": 106, "column": 12 }, "end": { - "line": 114, + "line": 106, "column": 47 } } } ], "range": [ - 2645, - 2704 + 2482, + 2541 ], "loc": { "start": { - "line": 113, + "line": 105, "column": 15 }, "end": { - "line": 115, + "line": 107, "column": 9 } } }, "range": [ - 2551, - 2704 + 2388, + 2541 ], "loc": { "start": { - "line": 111, + "line": 103, "column": 8 }, "end": { - "line": 115, + "line": 107, "column": 9 } } @@ -4692,16 +4382,16 @@ "object": { "type": "ThisExpression", "range": [ - 2713, - 2717 + 2550, + 2554 ], "loc": { "start": { - "line": 116, + "line": 108, "column": 8 }, "end": { - "line": 116, + "line": 108, "column": 12 } } @@ -4710,31 +4400,31 @@ "type": "Identifier", "name": "cont", "range": [ - 2718, - 2722 + 2555, + 2559 ], "loc": { "start": { - "line": 116, + "line": 108, "column": 13 }, "end": { - "line": 116, + "line": 108, "column": 17 } } }, "range": [ - 2713, - 2722 + 2550, + 2559 ], "loc": { "start": { - "line": 116, + "line": 108, "column": 8 }, "end": { - "line": 116, + "line": 108, "column": 17 } } @@ -4743,46 +4433,46 @@ "type": "Identifier", "name": "containerDiv", "range": [ - 2725, - 2737 + 2562, + 2574 ], "loc": { "start": { - "line": 116, + "line": 108, "column": 20 }, "end": { - "line": 116, + "line": 108, "column": 32 } } }, "range": [ - 2713, - 2737 + 2550, + 2574 ], "loc": { "start": { - "line": 116, + "line": 108, "column": 8 }, "end": { - "line": 116, + "line": 108, "column": 32 } } }, "range": [ - 2713, - 2738 + 2550, + 2575 ], "loc": { "start": { - "line": 116, + "line": 108, "column": 8 }, "end": { - "line": 116, + "line": 108, "column": 33 } } @@ -4798,16 +4488,16 @@ "object": { "type": "ThisExpression", "range": [ - 2752, - 2756 + 2589, + 2593 ], "loc": { "start": { - "line": 117, + "line": 109, "column": 13 }, "end": { - "line": 117, + "line": 109, "column": 17 } } @@ -4816,47 +4506,47 @@ "type": "Identifier", "name": "html", "range": [ - 2757, - 2761 + 2594, + 2598 ], "loc": { "start": { - "line": 117, + "line": 109, "column": 18 }, "end": { - "line": 117, + "line": 109, "column": 22 } } }, "range": [ - 2752, - 2761 + 2589, + 2598 ], "loc": { "start": { - "line": 117, + "line": 109, "column": 13 }, "end": { - "line": 117, + "line": 109, "column": 22 } } }, "prefix": true, "range": [ - 2751, - 2761 + 2588, + 2598 ], "loc": { "start": { - "line": 117, + "line": 109, "column": 12 }, "end": { - "line": 117, + "line": 109, "column": 22 } } @@ -4877,16 +4567,16 @@ "object": { "type": "ThisExpression", "range": [ - 2777, - 2781 + 2614, + 2618 ], "loc": { "start": { - "line": 118, + "line": 110, "column": 12 }, "end": { - "line": 118, + "line": 110, "column": 16 } } @@ -4895,31 +4585,31 @@ "type": "Identifier", "name": "cont", "range": [ - 2782, - 2786 + 2619, + 2623 ], "loc": { "start": { - "line": 118, + "line": 110, "column": 17 }, "end": { - "line": 118, + "line": 110, "column": 21 } } }, "range": [ - 2777, - 2786 + 2614, + 2623 ], "loc": { "start": { - "line": 118, + "line": 110, "column": 12 }, "end": { - "line": 118, + "line": 110, "column": 21 } } @@ -4928,31 +4618,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 2787, - 2798 + 2624, + 2635 ], "loc": { "start": { - "line": 118, + "line": 110, "column": 22 }, "end": { - "line": 118, + "line": 110, "column": 33 } } }, "range": [ - 2777, - 2798 + 2614, + 2635 ], "loc": { "start": { - "line": 118, + "line": 110, "column": 12 }, "end": { - "line": 118, + "line": 110, "column": 33 } } @@ -4964,16 +4654,16 @@ "type": "Identifier", "name": "createText", "range": [ - 2799, - 2809 + 2636, + 2646 ], "loc": { "start": { - "line": 118, + "line": 110, "column": 34 }, "end": { - "line": 118, + "line": 110, "column": 44 } } @@ -4985,16 +4675,16 @@ "object": { "type": "ThisExpression", "range": [ - 2810, - 2814 + 2647, + 2651 ], "loc": { "start": { - "line": 118, + "line": 110, "column": 45 }, "end": { - "line": 118, + "line": 110, "column": 49 } } @@ -5003,94 +4693,94 @@ "type": "Identifier", "name": "text", "range": [ - 2815, - 2819 + 2652, + 2656 ], "loc": { "start": { - "line": 118, + "line": 110, "column": 50 }, "end": { - "line": 118, + "line": 110, "column": 54 } } }, "range": [ - 2810, - 2819 + 2647, + 2656 ], "loc": { "start": { - "line": 118, + "line": 110, "column": 45 }, "end": { - "line": 118, + "line": 110, "column": 54 } } } ], "range": [ - 2799, - 2820 + 2636, + 2657 ], "loc": { "start": { - "line": 118, + "line": 110, "column": 34 }, "end": { - "line": 118, + "line": 110, "column": 55 } } } ], "range": [ - 2777, - 2821 + 2614, + 2658 ], "loc": { "start": { - "line": 118, + "line": 110, "column": 12 }, "end": { - "line": 118, + "line": 110, "column": 56 } } }, "range": [ - 2777, - 2822 + 2614, + 2659 ], "loc": { "start": { - "line": 118, + "line": 110, "column": 12 }, "end": { - "line": 118, + "line": 110, "column": 57 } } } ], "range": [ - 2763, - 2832 + 2600, + 2669 ], "loc": { "start": { - "line": 117, + "line": 109, "column": 24 }, "end": { - "line": 119, + "line": 111, "column": 9 } } @@ -5112,16 +4802,16 @@ "object": { "type": "ThisExpression", "range": [ - 2852, - 2856 + 2689, + 2693 ], "loc": { "start": { - "line": 120, + "line": 112, "column": 12 }, "end": { - "line": 120, + "line": 112, "column": 16 } } @@ -5130,31 +4820,31 @@ "type": "Identifier", "name": "cont", "range": [ - 2857, - 2861 + 2694, + 2698 ], "loc": { "start": { - "line": 120, + "line": 112, "column": 17 }, "end": { - "line": 120, + "line": 112, "column": 21 } } }, "range": [ - 2852, - 2861 + 2689, + 2698 ], "loc": { "start": { - "line": 120, + "line": 112, "column": 12 }, "end": { - "line": 120, + "line": 112, "column": 21 } } @@ -5163,31 +4853,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 2862, - 2871 + 2699, + 2708 ], "loc": { "start": { - "line": 120, + "line": 112, "column": 22 }, "end": { - "line": 120, + "line": 112, "column": 31 } } }, "range": [ - 2852, - 2871 + 2689, + 2708 ], "loc": { "start": { - "line": 120, + "line": 112, "column": 12 }, "end": { - "line": 120, + "line": 112, "column": 31 } } @@ -5198,16 +4888,16 @@ "object": { "type": "ThisExpression", "range": [ - 2874, - 2878 + 2711, + 2715 ], "loc": { "start": { - "line": 120, + "line": 112, "column": 34 }, "end": { - "line": 120, + "line": 112, "column": 38 } } @@ -5216,92 +4906,92 @@ "type": "Identifier", "name": "html", "range": [ - 2879, - 2883 + 2716, + 2720 ], "loc": { "start": { - "line": 120, + "line": 112, "column": 39 }, "end": { - "line": 120, + "line": 112, "column": 43 } } }, "range": [ - 2874, - 2883 + 2711, + 2720 ], "loc": { "start": { - "line": 120, + "line": 112, "column": 34 }, "end": { - "line": 120, + "line": 112, "column": 43 } } }, "range": [ - 2852, - 2883 + 2689, + 2720 ], "loc": { "start": { - "line": 120, + "line": 112, "column": 12 }, "end": { - "line": 120, + "line": 112, "column": 43 } } }, "range": [ - 2852, - 2884 + 2689, + 2721 ], "loc": { "start": { - "line": 120, + "line": 112, "column": 12 }, "end": { - "line": 120, + "line": 112, "column": 44 } } } ], "range": [ - 2838, - 2894 + 2675, + 2731 ], "loc": { "start": { - "line": 119, + "line": 111, "column": 15 }, "end": { - "line": 121, + "line": 113, "column": 9 } } }, "range": [ - 2747, - 2894 + 2584, + 2731 ], "loc": { "start": { - "line": 117, + "line": 109, "column": 8 }, "end": { - "line": 121, + "line": 113, "column": 9 } } @@ -5316,16 +5006,16 @@ "object": { "type": "ThisExpression", "range": [ - 2904, - 2908 + 2741, + 2745 ], "loc": { "start": { - "line": 123, + "line": 115, "column": 8 }, "end": { - "line": 123, + "line": 115, "column": 12 } } @@ -5334,31 +5024,31 @@ "type": "Identifier", "name": "show", "range": [ - 2909, - 2913 + 2746, + 2750 ], "loc": { "start": { - "line": 123, + "line": 115, "column": 13 }, "end": { - "line": 123, + "line": 115, "column": 17 } } }, "range": [ - 2904, - 2913 + 2741, + 2750 ], "loc": { "start": { - "line": 123, + "line": 115, "column": 8 }, "end": { - "line": 123, + "line": 115, "column": 17 } } @@ -5368,47 +5058,47 @@ "type": "Identifier", "name": "NONE", "range": [ - 2914, - 2918 + 2751, + 2755 ], "loc": { "start": { - "line": 123, + "line": 115, "column": 18 }, "end": { - "line": 123, + "line": 115, "column": 22 } } } ], "range": [ - 2904, - 2919 + 2741, + 2756 ], "loc": { "start": { - "line": 123, + "line": 115, "column": 8 }, "end": { - "line": 123, + "line": 115, "column": 23 } } }, "range": [ - 2904, - 2920 + 2741, + 2757 ], "loc": { "start": { - "line": 123, + "line": 115, "column": 8 }, "end": { - "line": 123, + "line": 115, "column": 24 } }, @@ -5417,16 +5107,16 @@ "type": "Line", "value": " Subscribe to events", "range": [ - 2930, - 2952 + 2767, + 2789 ], "loc": { "start": { - "line": 125, + "line": 117, "column": 8 }, "end": { - "line": 125, + "line": 117, "column": 30 } } @@ -5444,16 +5134,16 @@ "type": "Identifier", "name": "emitter", "range": [ - 2961, - 2968 + 2798, + 2805 ], "loc": { "start": { - "line": 126, + "line": 118, "column": 8 }, "end": { - "line": 126, + "line": 118, "column": 15 } } @@ -5462,31 +5152,31 @@ "type": "Identifier", "name": "on", "range": [ - 2969, - 2971 + 2806, + 2808 ], "loc": { "start": { - "line": 126, + "line": 118, "column": 16 }, "end": { - "line": 126, + "line": 118, "column": 18 } } }, "range": [ - 2961, - 2971 + 2798, + 2808 ], "loc": { "start": { - "line": 126, + "line": 118, "column": 8 }, "end": { - "line": 126, + "line": 118, "column": 18 } } @@ -5496,16 +5186,16 @@ "type": "Identifier", "name": "EVENTS", "range": [ - 2972, - 2978 + 2809, + 2815 ], "loc": { "start": { - "line": 126, + "line": 118, "column": 19 }, "end": { - "line": 126, + "line": 118, "column": 25 } } @@ -5522,17 +5212,17 @@ "object": { "type": "ThisExpression", "range": [ - 2998, - 3002 + 2823, + 2827 ], "loc": { "start": { - "line": 127, - "column": 18 + "line": 118, + "column": 33 }, "end": { - "line": 127, - "column": 22 + "line": 118, + "column": 37 } } }, @@ -5540,32 +5230,32 @@ "type": "Identifier", "name": "show", "range": [ - 3003, - 3007 + 2828, + 2832 ], "loc": { "start": { - "line": 127, - "column": 23 + "line": 118, + "column": 38 }, "end": { - "line": 127, - "column": 27 + "line": 118, + "column": 42 } } }, "range": [ - 2998, - 3007 + 2823, + 2832 ], "loc": { "start": { - "line": 127, - "column": 18 + "line": 118, + "column": 33 }, "end": { - "line": 127, - "column": 27 + "line": 118, + "column": 42 } } }, @@ -5575,81 +5265,81 @@ "value": "", "raw": "''", "range": [ - 3008, - 3010 + 2833, + 2835 ], "loc": { "start": { - "line": 127, - "column": 28 + "line": 118, + "column": 43 }, "end": { - "line": 127, - "column": 30 + "line": 118, + "column": 45 } } } ], "range": [ - 2998, - 3011 + 2823, + 2836 ], "loc": { "start": { - "line": 127, - "column": 18 + "line": 118, + "column": 33 }, "end": { - "line": 127, - "column": 31 + "line": 118, + "column": 46 } } }, "generator": false, "expression": true, "range": [ - 2992, - 3011 + 2817, + 2836 ], "loc": { "start": { - "line": 127, - "column": 12 + "line": 118, + "column": 27 }, "end": { - "line": 127, - "column": 31 + "line": 118, + "column": 46 } } } ], "range": [ - 2961, - 3021 + 2798, + 2837 ], "loc": { "start": { - "line": 126, + "line": 118, "column": 8 }, "end": { - "line": 128, - "column": 9 + "line": 118, + "column": 47 } } }, "range": [ - 2961, - 3022 + 2798, + 2838 ], "loc": { "start": { - "line": 126, + "line": 118, "column": 8 }, "end": { - "line": 128, - "column": 10 + "line": 118, + "column": 48 } }, "leadingComments": [ @@ -5657,16 +5347,16 @@ "type": "Line", "value": " Subscribe to events", "range": [ - 2930, - 2952 + 2767, + 2789 ], "loc": { "start": { - "line": 125, + "line": 117, "column": 8 }, "end": { - "line": 125, + "line": 117, "column": 30 } } @@ -5684,16 +5374,16 @@ "type": "Identifier", "name": "emitter", "range": [ - 3031, - 3038 + 2847, + 2854 ], "loc": { "start": { - "line": 129, + "line": 119, "column": 8 }, "end": { - "line": 129, + "line": 119, "column": 15 } } @@ -5702,31 +5392,31 @@ "type": "Identifier", "name": "on", "range": [ - 3039, - 3041 + 2855, + 2857 ], "loc": { "start": { - "line": 129, + "line": 119, "column": 16 }, "end": { - "line": 129, + "line": 119, "column": 18 } } }, "range": [ - 3031, - 3041 + 2847, + 2857 ], "loc": { "start": { - "line": 129, + "line": 119, "column": 8 }, "end": { - "line": 129, + "line": 119, "column": 18 } } @@ -5736,16 +5426,16 @@ "type": "Identifier", "name": "EVENTS", "range": [ - 3042, - 3048 + 2858, + 2864 ], "loc": { "start": { - "line": 129, + "line": 119, "column": 19 }, "end": { - "line": 129, + "line": 119, "column": 25 } } @@ -5762,17 +5452,17 @@ "object": { "type": "ThisExpression", "range": [ - 3068, - 3072 + 2872, + 2876 ], "loc": { "start": { - "line": 130, - "column": 18 + "line": 119, + "column": 33 }, "end": { - "line": 130, - "column": 22 + "line": 119, + "column": 37 } } }, @@ -5780,32 +5470,32 @@ "type": "Identifier", "name": "show", "range": [ - 3073, - 3077 + 2877, + 2881 ], "loc": { "start": { - "line": 130, - "column": 23 + "line": 119, + "column": 38 }, "end": { - "line": 130, - "column": 27 + "line": 119, + "column": 42 } } }, "range": [ - 3068, - 3077 + 2872, + 2881 ], "loc": { "start": { - "line": 130, - "column": 18 + "line": 119, + "column": 33 }, "end": { - "line": 130, - "column": 27 + "line": 119, + "column": 42 } } }, @@ -5814,81 +5504,81 @@ "type": "Identifier", "name": "NONE", "range": [ - 3078, - 3082 + 2882, + 2886 ], "loc": { "start": { - "line": 130, - "column": 28 + "line": 119, + "column": 43 }, "end": { - "line": 130, - "column": 32 + "line": 119, + "column": 47 } } } ], "range": [ - 3068, - 3083 + 2872, + 2887 ], "loc": { "start": { - "line": 130, - "column": 18 + "line": 119, + "column": 33 }, "end": { - "line": 130, - "column": 33 + "line": 119, + "column": 48 } } }, "generator": false, "expression": true, "range": [ - 3062, - 3083 + 2866, + 2887 ], "loc": { "start": { - "line": 130, - "column": 12 + "line": 119, + "column": 27 }, "end": { - "line": 130, - "column": 33 + "line": 119, + "column": 48 } } } ], "range": [ - 3031, - 3093 + 2847, + 2888 ], "loc": { "start": { - "line": 129, + "line": 119, "column": 8 }, "end": { - "line": 131, - "column": 9 + "line": 119, + "column": 49 } } }, "range": [ - 3031, - 3094 + 2847, + 2889 ], "loc": { "start": { - "line": 129, + "line": 119, "column": 8 }, "end": { - "line": 131, - "column": 10 + "line": 119, + "column": 50 } }, "trailingComments": [ @@ -5896,16 +5586,16 @@ "type": "Block", "value": "*\n * @inherited\n ", "range": [ - 3104, - 3141 + 2899, + 2936 ], "loc": { "start": { - "line": 133, + "line": 121, "column": 8 }, "end": { - "line": 135, + "line": 123, "column": 11 } } @@ -5923,16 +5613,16 @@ "object": { "type": "ThisExpression", "range": [ - 3150, - 3154 + 2945, + 2949 ], "loc": { "start": { - "line": 136, + "line": 124, "column": 8 }, "end": { - "line": 136, + "line": 124, "column": 12 } } @@ -5941,31 +5631,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 3155, - 3166 + 2950, + 2961 ], "loc": { "start": { - "line": 136, + "line": 124, "column": 13 }, "end": { - "line": 136, + "line": 124, "column": 24 } } }, "range": [ - 3150, - 3166 + 2945, + 2961 ], "loc": { "start": { - "line": 136, + "line": 124, "column": 8 }, "end": { - "line": 136, + "line": 124, "column": 24 } } @@ -5975,46 +5665,46 @@ "value": true, "raw": "true", "range": [ - 3169, - 3173 + 2964, + 2968 ], "loc": { "start": { - "line": 136, + "line": 124, "column": 27 }, "end": { - "line": 136, + "line": 124, "column": 31 } } }, "range": [ - 3150, - 3173 + 2945, + 2968 ], "loc": { "start": { - "line": 136, + "line": 124, "column": 8 }, "end": { - "line": 136, + "line": 124, "column": 31 } } }, "range": [ - 3150, - 3174 + 2945, + 2969 ], "loc": { "start": { - "line": 136, + "line": 124, "column": 8 }, "end": { - "line": 136, + "line": 124, "column": 32 } }, @@ -6023,16 +5713,16 @@ "type": "Block", "value": "*\n * @inherited\n ", "range": [ - 3104, - 3141 + 2899, + 2936 ], "loc": { "start": { - "line": 133, + "line": 121, "column": 8 }, "end": { - "line": 135, + "line": 123, "column": 11 } } @@ -6041,16 +5731,16 @@ } ], "range": [ - 2202, - 3180 + 2066, + 2975 ], "loc": { "start": { - "line": 98, + "line": 90, "column": 11 }, "end": { - "line": 137, + "line": 125, "column": 5 } } @@ -6058,16 +5748,16 @@ "generator": false, "expression": false, "range": [ - 2199, - 3180 + 2063, + 2975 ], "loc": { "start": { - "line": 98, + "line": 90, "column": 8 }, "end": { - "line": 137, + "line": 125, "column": 5 } } @@ -6075,16 +5765,16 @@ "kind": "method", "computed": false, "range": [ - 2195, - 3180 + 2059, + 2975 ], "loc": { "start": { - "line": 98, + "line": 90, "column": 4 }, "end": { - "line": 137, + "line": 125, "column": 5 } }, @@ -6093,16 +5783,16 @@ "type": "Block", "value": "*\n * Initializes Loader instance\n ", "range": [ - 2144, - 2190 + 2008, + 2054 ], "loc": { "start": { - "line": 95, + "line": 87, "column": 4 }, "end": { - "line": 97, + "line": 89, "column": 7 } } @@ -6113,16 +5803,16 @@ "type": "Block", "value": "*\n * Shows or hides activity indicator\n * @param {String} Two possible values: '' or 'none'\n ", "range": [ - 3186, - 3295 + 2981, + 3090 ], "loc": { "start": { - "line": 139, + "line": 127, "column": 4 }, "end": { - "line": 142, + "line": 130, "column": 7 } } @@ -6136,16 +5826,16 @@ "type": "Identifier", "name": "show", "range": [ - 3300, - 3304 + 3095, + 3099 ], "loc": { "start": { - "line": 143, + "line": 131, "column": 4 }, "end": { - "line": 143, + "line": 131, "column": 8 } } @@ -6158,16 +5848,16 @@ "type": "Identifier", "name": "p", "range": [ - 3305, - 3306 + 3100, + 3101 ], "loc": { "start": { - "line": 143, + "line": 131, "column": 9 }, "end": { - "line": 143, + "line": 131, "column": 10 } } @@ -6189,16 +5879,16 @@ "object": { "type": "ThisExpression", "range": [ - 3323, - 3327 + 3118, + 3122 ], "loc": { "start": { - "line": 144, + "line": 132, "column": 13 }, "end": { - "line": 144, + "line": 132, "column": 17 } } @@ -6207,63 +5897,63 @@ "type": "Identifier", "name": "isEnabled", "range": [ - 3328, - 3337 + 3123, + 3132 ], "loc": { "start": { - "line": 144, + "line": 132, "column": 18 }, "end": { - "line": 144, + "line": 132, "column": 27 } } }, "range": [ - 3323, - 3337 + 3118, + 3132 ], "loc": { "start": { - "line": 144, + "line": 132, "column": 13 }, "end": { - "line": 144, + "line": 132, "column": 27 } } }, "arguments": [], "range": [ - 3323, - 3339 + 3118, + 3134 ], "loc": { "start": { - "line": 144, + "line": 132, "column": 13 }, "end": { - "line": 144, + "line": 132, "column": 29 } } }, "prefix": true, "range": [ - 3322, - 3339 + 3117, + 3134 ], "loc": { "start": { - "line": 144, + "line": 132, "column": 12 }, "end": { - "line": 144, + "line": 132, "column": 29 } } @@ -6275,48 +5965,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 3355, - 3362 + 3150, + 3157 ], "loc": { "start": { - "line": 145, + "line": 133, "column": 12 }, "end": { - "line": 145, + "line": 133, "column": 19 } } } ], "range": [ - 3341, - 3372 + 3136, + 3167 ], "loc": { "start": { - "line": 144, + "line": 132, "column": 31 }, "end": { - "line": 146, + "line": 134, "column": 9 } } }, "alternate": null, "range": [ - 3318, - 3372 + 3113, + 3167 ], "loc": { "start": { - "line": 144, + "line": 132, "column": 8 }, "end": { - "line": 146, + "line": 134, "column": 9 } } @@ -6330,16 +6020,16 @@ "type": "Identifier", "name": "displayLoader", "range": [ - 3386, - 3399 + 3181, + 3194 ], "loc": { "start": { - "line": 148, + "line": 136, "column": 12 }, "end": { - "line": 148, + "line": 136, "column": 25 } } @@ -6362,16 +6052,16 @@ "object": { "type": "ThisExpression", "range": [ - 3427, - 3431 + 3222, + 3226 ], "loc": { "start": { - "line": 149, + "line": 137, "column": 17 }, "end": { - "line": 149, + "line": 137, "column": 21 } } @@ -6380,47 +6070,47 @@ "type": "Identifier", "name": "cont", "range": [ - 3432, - 3436 + 3227, + 3231 ], "loc": { "start": { - "line": 149, + "line": 137, "column": 22 }, "end": { - "line": 149, + "line": 137, "column": 26 } } }, "range": [ - 3427, - 3436 + 3222, + 3231 ], "loc": { "start": { - "line": 149, + "line": 137, "column": 17 }, "end": { - "line": 149, + "line": 137, "column": 26 } } }, "prefix": true, "range": [ - 3426, - 3436 + 3221, + 3231 ], "loc": { "start": { - "line": 149, + "line": 137, "column": 16 }, "end": { - "line": 149, + "line": 137, "column": 26 } } @@ -6432,48 +6122,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 3456, - 3463 + 3251, + 3258 ], "loc": { "start": { - "line": 150, + "line": 138, "column": 16 }, "end": { - "line": 150, + "line": 138, "column": 23 } } } ], "range": [ - 3438, - 3477 + 3233, + 3272 ], "loc": { "start": { - "line": 149, + "line": 137, "column": 28 }, "end": { - "line": 151, + "line": 139, "column": 13 } } }, "alternate": null, "range": [ - 3422, - 3477 + 3217, + 3272 ], "loc": { "start": { - "line": 149, + "line": 137, "column": 12 }, "end": { - "line": 151, + "line": 139, "column": 13 } } @@ -6489,16 +6179,16 @@ "object": { "type": "ThisExpression", "range": [ - 3494, - 3498 + 3289, + 3293 ], "loc": { "start": { - "line": 152, + "line": 140, "column": 16 }, "end": { - "line": 152, + "line": 140, "column": 20 } } @@ -6507,31 +6197,31 @@ "type": "Identifier", "name": "onShow", "range": [ - 3499, - 3505 + 3294, + 3300 ], "loc": { "start": { - "line": 152, + "line": 140, "column": 21 }, "end": { - "line": 152, + "line": 140, "column": 27 } } }, "range": [ - 3494, - 3505 + 3289, + 3300 ], "loc": { "start": { - "line": 152, + "line": 140, "column": 16 }, "end": { - "line": 152, + "line": 140, "column": 27 } } @@ -6543,16 +6233,16 @@ "type": "Identifier", "name": "p", "range": [ - 3509, - 3510 + 3304, + 3305 ], "loc": { "start": { - "line": 152, + "line": 140, "column": 31 }, "end": { - "line": 152, + "line": 140, "column": 32 } } @@ -6561,46 +6251,46 @@ "type": "Identifier", "name": "NONE", "range": [ - 3515, - 3519 + 3310, + 3314 ], "loc": { "start": { - "line": 152, + "line": 140, "column": 37 }, "end": { - "line": 152, + "line": 140, "column": 41 } } }, "range": [ - 3509, - 3519 + 3304, + 3314 ], "loc": { "start": { - "line": 152, + "line": 140, "column": 31 }, "end": { - "line": 152, + "line": 140, "column": 41 } } }, "range": [ - 3494, - 3519 + 3289, + 3314 ], "loc": { "start": { - "line": 152, + "line": 140, "column": 16 }, "end": { - "line": 152, + "line": 140, "column": 41 } } @@ -6621,16 +6311,16 @@ "object": { "type": "ThisExpression", "range": [ - 3539, - 3543 + 3334, + 3338 ], "loc": { "start": { - "line": 153, + "line": 141, "column": 16 }, "end": { - "line": 153, + "line": 141, "column": 20 } } @@ -6639,31 +6329,31 @@ "type": "Identifier", "name": "onShow", "range": [ - 3544, - 3550 + 3339, + 3345 ], "loc": { "start": { - "line": 153, + "line": 141, "column": 21 }, "end": { - "line": 153, + "line": 141, "column": 27 } } }, "range": [ - 3539, - 3550 + 3334, + 3345 ], "loc": { "start": { - "line": 153, + "line": 141, "column": 16 }, "end": { - "line": 153, + "line": 141, "column": 27 } } @@ -6672,31 +6362,31 @@ "type": "Identifier", "name": "call", "range": [ - 3551, - 3555 + 3346, + 3350 ], "loc": { "start": { - "line": 153, + "line": 141, "column": 28 }, "end": { - "line": 153, + "line": 141, "column": 32 } } }, "range": [ - 3539, - 3555 + 3334, + 3350 ], "loc": { "start": { - "line": 153, + "line": 141, "column": 16 }, "end": { - "line": 153, + "line": 141, "column": 32 } } @@ -6707,16 +6397,16 @@ "value": null, "raw": "null", "range": [ - 3556, - 3560 + 3351, + 3355 ], "loc": { "start": { - "line": 153, + "line": 141, "column": 33 }, "end": { - "line": 153, + "line": 141, "column": 37 } } @@ -6724,79 +6414,79 @@ { "type": "ThisExpression", "range": [ - 3562, - 3566 + 3357, + 3361 ], "loc": { "start": { - "line": 153, + "line": 141, "column": 39 }, "end": { - "line": 153, + "line": 141, "column": 43 } } } ], "range": [ - 3539, - 3567 + 3334, + 3362 ], "loc": { "start": { - "line": 153, + "line": 141, "column": 16 }, "end": { - "line": 153, + "line": 141, "column": 44 } } }, "range": [ - 3539, - 3568 + 3334, + 3363 ], "loc": { "start": { - "line": 153, + "line": 141, "column": 16 }, "end": { - "line": 153, + "line": 141, "column": 45 } } } ], "range": [ - 3521, - 3582 + 3316, + 3377 ], "loc": { "start": { - "line": 152, + "line": 140, "column": 43 }, "end": { - "line": 154, + "line": 142, "column": 13 } } }, "alternate": null, "range": [ - 3490, - 3582 + 3285, + 3377 ], "loc": { "start": { - "line": 152, + "line": 140, "column": 12 }, "end": { - "line": 154, + "line": 142, "column": 13 } } @@ -6818,16 +6508,16 @@ "object": { "type": "ThisExpression", "range": [ - 3595, - 3599 + 3390, + 3394 ], "loc": { "start": { - "line": 155, + "line": 143, "column": 12 }, "end": { - "line": 155, + "line": 143, "column": 16 } } @@ -6836,31 +6526,31 @@ "type": "Identifier", "name": "cont", "range": [ - 3600, - 3604 + 3395, + 3399 ], "loc": { "start": { - "line": 155, + "line": 143, "column": 17 }, "end": { - "line": 155, + "line": 143, "column": 21 } } }, "range": [ - 3595, - 3604 + 3390, + 3399 ], "loc": { "start": { - "line": 155, + "line": 143, "column": 12 }, "end": { - "line": 155, + "line": 143, "column": 21 } } @@ -6869,31 +6559,31 @@ "type": "Identifier", "name": "style", "range": [ - 3605, - 3610 + 3400, + 3405 ], "loc": { "start": { - "line": 155, + "line": 143, "column": 22 }, "end": { - "line": 155, + "line": 143, "column": 27 } } }, "range": [ - 3595, - 3610 + 3390, + 3405 ], "loc": { "start": { - "line": 155, + "line": 143, "column": 12 }, "end": { - "line": 155, + "line": 143, "column": 27 } } @@ -6902,31 +6592,31 @@ "type": "Identifier", "name": "display", "range": [ - 3611, - 3618 + 3406, + 3413 ], "loc": { "start": { - "line": 155, + "line": 143, "column": 28 }, "end": { - "line": 155, + "line": 143, "column": 35 } } }, "range": [ - 3595, - 3618 + 3390, + 3413 ], "loc": { "start": { - "line": 155, + "line": 143, "column": 12 }, "end": { - "line": 155, + "line": 143, "column": 35 } } @@ -6935,46 +6625,46 @@ "type": "Identifier", "name": "p", "range": [ - 3621, - 3622 + 3416, + 3417 ], "loc": { "start": { - "line": 155, + "line": 143, "column": 38 }, "end": { - "line": 155, + "line": 143, "column": 39 } } }, "range": [ - 3595, - 3622 + 3390, + 3417 ], "loc": { "start": { - "line": 155, + "line": 143, "column": 12 }, "end": { - "line": 155, + "line": 143, "column": 39 } } }, "range": [ - 3595, - 3623 + 3390, + 3418 ], "loc": { "start": { - "line": 155, + "line": 143, "column": 12 }, "end": { - "line": 155, + "line": 143, "column": 40 } } @@ -6990,16 +6680,16 @@ "object": { "type": "ThisExpression", "range": [ - 3640, - 3644 + 3435, + 3439 ], "loc": { "start": { - "line": 156, + "line": 144, "column": 16 }, "end": { - "line": 156, + "line": 144, "column": 20 } } @@ -7008,31 +6698,31 @@ "type": "Identifier", "name": "onHide", "range": [ - 3645, - 3651 + 3440, + 3446 ], "loc": { "start": { - "line": 156, + "line": 144, "column": 21 }, "end": { - "line": 156, + "line": 144, "column": 27 } } }, "range": [ - 3640, - 3651 + 3435, + 3446 ], "loc": { "start": { - "line": 156, + "line": 144, "column": 16 }, "end": { - "line": 156, + "line": 144, "column": 27 } } @@ -7044,16 +6734,16 @@ "type": "Identifier", "name": "p", "range": [ - 3655, - 3656 + 3450, + 3451 ], "loc": { "start": { - "line": 156, + "line": 144, "column": 31 }, "end": { - "line": 156, + "line": 144, "column": 32 } } @@ -7062,46 +6752,46 @@ "type": "Identifier", "name": "NONE", "range": [ - 3661, - 3665 + 3456, + 3460 ], "loc": { "start": { - "line": 156, + "line": 144, "column": 37 }, "end": { - "line": 156, + "line": 144, "column": 41 } } }, "range": [ - 3655, - 3665 + 3450, + 3460 ], "loc": { "start": { - "line": 156, + "line": 144, "column": 31 }, "end": { - "line": 156, + "line": 144, "column": 41 } } }, "range": [ - 3640, - 3665 + 3435, + 3460 ], "loc": { "start": { - "line": 156, + "line": 144, "column": 16 }, "end": { - "line": 156, + "line": 144, "column": 41 } } @@ -7122,16 +6812,16 @@ "object": { "type": "ThisExpression", "range": [ - 3685, - 3689 + 3480, + 3484 ], "loc": { "start": { - "line": 157, + "line": 145, "column": 16 }, "end": { - "line": 157, + "line": 145, "column": 20 } } @@ -7140,31 +6830,31 @@ "type": "Identifier", "name": "onHide", "range": [ - 3690, - 3696 + 3485, + 3491 ], "loc": { "start": { - "line": 157, + "line": 145, "column": 21 }, "end": { - "line": 157, + "line": 145, "column": 27 } } }, "range": [ - 3685, - 3696 + 3480, + 3491 ], "loc": { "start": { - "line": 157, + "line": 145, "column": 16 }, "end": { - "line": 157, + "line": 145, "column": 27 } } @@ -7173,31 +6863,31 @@ "type": "Identifier", "name": "call", "range": [ - 3697, - 3701 + 3492, + 3496 ], "loc": { "start": { - "line": 157, + "line": 145, "column": 28 }, "end": { - "line": 157, + "line": 145, "column": 32 } } }, "range": [ - 3685, - 3701 + 3480, + 3496 ], "loc": { "start": { - "line": 157, + "line": 145, "column": 16 }, "end": { - "line": 157, + "line": 145, "column": 32 } } @@ -7208,16 +6898,16 @@ "value": null, "raw": "null", "range": [ - 3702, - 3706 + 3497, + 3501 ], "loc": { "start": { - "line": 157, + "line": 145, "column": 33 }, "end": { - "line": 157, + "line": 145, "column": 37 } } @@ -7225,95 +6915,95 @@ { "type": "ThisExpression", "range": [ - 3708, - 3712 + 3503, + 3507 ], "loc": { "start": { - "line": 157, + "line": 145, "column": 39 }, "end": { - "line": 157, + "line": 145, "column": 43 } } } ], "range": [ - 3685, - 3713 + 3480, + 3508 ], "loc": { "start": { - "line": 157, + "line": 145, "column": 16 }, "end": { - "line": 157, + "line": 145, "column": 44 } } }, "range": [ - 3685, - 3714 + 3480, + 3509 ], "loc": { "start": { - "line": 157, + "line": 145, "column": 16 }, "end": { - "line": 157, + "line": 145, "column": 45 } } } ], "range": [ - 3667, - 3728 + 3462, + 3523 ], "loc": { "start": { - "line": 156, + "line": 144, "column": 43 }, "end": { - "line": 158, + "line": 146, "column": 13 } } }, "alternate": null, "range": [ - 3636, - 3728 + 3431, + 3523 ], "loc": { "start": { - "line": 156, + "line": 144, "column": 12 }, "end": { - "line": 158, + "line": 146, "column": 13 } } } ], "range": [ - 3408, - 3738 + 3203, + 3533 ], "loc": { "start": { - "line": 148, + "line": 136, "column": 34 }, "end": { - "line": 159, + "line": 147, "column": 9 } } @@ -7321,31 +7011,31 @@ "generator": false, "expression": false, "range": [ - 3402, - 3738 + 3197, + 3533 ], "loc": { "start": { - "line": 148, + "line": 136, "column": 28 }, "end": { - "line": 159, + "line": 147, "column": 9 } } }, "range": [ - 3386, - 3738 + 3181, + 3533 ], "loc": { "start": { - "line": 148, + "line": 136, "column": 12 }, "end": { - "line": 159, + "line": 147, "column": 9 } } @@ -7353,16 +7043,16 @@ ], "kind": "let", "range": [ - 3382, - 3739 + 3177, + 3534 ], "loc": { "start": { - "line": 148, + "line": 136, "column": 8 }, "end": { - "line": 159, + "line": 147, "column": 10 } } @@ -7376,16 +7066,16 @@ "type": "Identifier", "name": "t", "range": [ - 3753, - 3754 + 3548, + 3549 ], "loc": { "start": { - "line": 161, + "line": 149, "column": 12 }, "end": { - "line": 161, + "line": 149, "column": 13 } } @@ -7399,16 +7089,16 @@ "type": "Identifier", "name": "p", "range": [ - 3757, - 3758 + 3552, + 3553 ], "loc": { "start": { - "line": 161, + "line": 149, "column": 16 }, "end": { - "line": 161, + "line": 149, "column": 17 } } @@ -7417,31 +7107,31 @@ "type": "Identifier", "name": "NONE", "range": [ - 3763, - 3767 + 3558, + 3562 ], "loc": { "start": { - "line": 161, + "line": 149, "column": 22 }, "end": { - "line": 161, + "line": 149, "column": 26 } } }, "range": [ - 3757, - 3767 + 3552, + 3562 ], "loc": { "start": { - "line": 161, + "line": 149, "column": 16 }, "end": { - "line": 161, + "line": 149, "column": 26 } } @@ -7452,16 +7142,16 @@ "object": { "type": "ThisExpression", "range": [ - 3770, - 3774 + 3565, + 3569 ], "loc": { "start": { - "line": 161, + "line": 149, "column": 29 }, "end": { - "line": 161, + "line": 149, "column": 33 } } @@ -7470,31 +7160,31 @@ "type": "Identifier", "name": "closeDelay", "range": [ - 3775, - 3785 + 3570, + 3580 ], "loc": { "start": { - "line": 161, + "line": 149, "column": 34 }, "end": { - "line": 161, + "line": 149, "column": 44 } } }, "range": [ - 3770, - 3785 + 3565, + 3580 ], "loc": { "start": { - "line": 161, + "line": 149, "column": 29 }, "end": { - "line": 161, + "line": 149, "column": 44 } } @@ -7504,46 +7194,46 @@ "value": 1, "raw": "1", "range": [ - 3788, - 3789 + 3583, + 3584 ], "loc": { "start": { - "line": 161, + "line": 149, "column": 47 }, "end": { - "line": 161, + "line": 149, "column": 48 } } }, "range": [ - 3757, - 3789 + 3552, + 3584 ], "loc": { "start": { - "line": 161, + "line": 149, "column": 16 }, "end": { - "line": 161, + "line": 149, "column": 48 } } }, "range": [ - 3753, - 3789 + 3548, + 3584 ], "loc": { "start": { - "line": 161, + "line": 149, "column": 12 }, "end": { - "line": 161, + "line": 149, "column": 48 } } @@ -7551,16 +7241,16 @@ ], "kind": "let", "range": [ - 3749, - 3790 + 3544, + 3585 ], "loc": { "start": { - "line": 161, + "line": 149, "column": 8 }, "end": { - "line": 161, + "line": 149, "column": 49 } } @@ -7576,16 +7266,16 @@ "type": "Identifier", "name": "root", "range": [ - 3799, - 3803 + 3594, + 3598 ], "loc": { "start": { - "line": 162, + "line": 150, "column": 8 }, "end": { - "line": 162, + "line": 150, "column": 12 } } @@ -7594,31 +7284,31 @@ "type": "Identifier", "name": "setTimeout", "range": [ - 3804, - 3814 + 3599, + 3609 ], "loc": { "start": { - "line": 162, + "line": 150, "column": 13 }, "end": { - "line": 162, + "line": 150, "column": 23 } } }, "range": [ - 3799, - 3814 + 3594, + 3609 ], "loc": { "start": { - "line": 162, + "line": 150, "column": 8 }, "end": { - "line": 162, + "line": 150, "column": 23 } } @@ -7628,16 +7318,16 @@ "type": "Identifier", "name": "displayLoader", "range": [ - 3815, - 3828 + 3610, + 3623 ], "loc": { "start": { - "line": 162, + "line": 150, "column": 24 }, "end": { - "line": 162, + "line": 150, "column": 37 } } @@ -7646,63 +7336,63 @@ "type": "Identifier", "name": "t", "range": [ - 3830, - 3831 + 3625, + 3626 ], "loc": { "start": { - "line": 162, + "line": 150, "column": 39 }, "end": { - "line": 162, + "line": 150, "column": 40 } } } ], "range": [ - 3799, - 3832 + 3594, + 3627 ], "loc": { "start": { - "line": 162, + "line": 150, "column": 8 }, "end": { - "line": 162, + "line": 150, "column": 41 } } }, "range": [ - 3799, - 3833 + 3594, + 3628 ], "loc": { "start": { - "line": 162, + "line": 150, "column": 8 }, "end": { - "line": 162, + "line": 150, "column": 42 } } } ], "range": [ - 3308, - 3839 + 3103, + 3634 ], "loc": { "start": { - "line": 143, + "line": 131, "column": 12 }, "end": { - "line": 163, + "line": 151, "column": 5 } } @@ -7710,16 +7400,16 @@ "generator": false, "expression": false, "range": [ - 3304, - 3839 + 3099, + 3634 ], "loc": { "start": { - "line": 143, + "line": 131, "column": 8 }, "end": { - "line": 163, + "line": 151, "column": 5 } } @@ -7727,16 +7417,16 @@ "kind": "method", "computed": false, "range": [ - 3300, - 3839 + 3095, + 3634 ], "loc": { "start": { - "line": 143, + "line": 131, "column": 4 }, "end": { - "line": 163, + "line": 151, "column": 5 } }, @@ -7745,16 +7435,16 @@ "type": "Block", "value": "*\n * Shows or hides activity indicator\n * @param {String} Two possible values: '' or 'none'\n ", "range": [ - 3186, - 3295 + 2981, + 3090 ], "loc": { "start": { - "line": 139, + "line": 127, "column": 4 }, "end": { - "line": 142, + "line": 130, "column": 7 } } @@ -7765,16 +7455,16 @@ "type": "Block", "value": "*\n * Removes feature\n ", "range": [ - 3845, - 3879 + 3640, + 3674 ], "loc": { "start": { - "line": 165, + "line": 153, "column": 4 }, "end": { - "line": 167, + "line": 155, "column": 7 } } @@ -7788,16 +7478,16 @@ "type": "Identifier", "name": "destroy", "range": [ - 3884, - 3891 + 3679, + 3686 ], "loc": { "start": { - "line": 168, + "line": 156, "column": 4 }, "end": { - "line": 168, + "line": 156, "column": 11 } } @@ -7820,16 +7510,16 @@ "object": { "type": "ThisExpression", "range": [ - 3909, - 3913 + 3704, + 3708 ], "loc": { "start": { - "line": 169, + "line": 157, "column": 13 }, "end": { - "line": 169, + "line": 157, "column": 17 } } @@ -7838,47 +7528,47 @@ "type": "Identifier", "name": "initialized", "range": [ - 3914, - 3925 + 3709, + 3720 ], "loc": { "start": { - "line": 169, + "line": 157, "column": 18 }, "end": { - "line": 169, + "line": 157, "column": 29 } } }, "range": [ - 3909, - 3925 + 3704, + 3720 ], "loc": { "start": { - "line": 169, + "line": 157, "column": 13 }, "end": { - "line": 169, + "line": 157, "column": 29 } } }, "prefix": true, "range": [ - 3908, - 3925 + 3703, + 3720 ], "loc": { "start": { - "line": 169, + "line": 157, "column": 12 }, "end": { - "line": 169, + "line": 157, "column": 29 } } @@ -7890,48 +7580,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 3941, - 3948 + 3736, + 3743 ], "loc": { "start": { - "line": 170, + "line": 158, "column": 12 }, "end": { - "line": 170, + "line": 158, "column": 19 } } } ], "range": [ - 3927, - 3958 + 3722, + 3753 ], "loc": { "start": { - "line": 169, + "line": 157, "column": 31 }, "end": { - "line": 171, + "line": 159, "column": 9 } } }, "alternate": null, "range": [ - 3904, - 3958 + 3699, + 3753 ], "loc": { "start": { - "line": 169, + "line": 157, "column": 8 }, "end": { - "line": 171, + "line": 159, "column": 9 } } @@ -7945,16 +7635,16 @@ "type": "Identifier", "name": "emitter", "range": [ - 3972, - 3979 + 3767, + 3774 ], "loc": { "start": { - "line": 173, + "line": 161, "column": 12 }, "end": { - "line": 173, + "line": 161, "column": 19 } } @@ -7965,16 +7655,16 @@ "object": { "type": "ThisExpression", "range": [ - 3982, - 3986 + 3777, + 3781 ], "loc": { "start": { - "line": 173, + "line": 161, "column": 22 }, "end": { - "line": 173, + "line": 161, "column": 26 } } @@ -7983,46 +7673,46 @@ "type": "Identifier", "name": "emitter", "range": [ - 3987, - 3994 + 3782, + 3789 ], "loc": { "start": { - "line": 173, + "line": 161, "column": 27 }, "end": { - "line": 173, + "line": 161, "column": 34 } } }, "range": [ - 3982, - 3994 + 3777, + 3789 ], "loc": { "start": { - "line": 173, + "line": 161, "column": 22 }, "end": { - "line": 173, + "line": 161, "column": 34 } } }, "range": [ - 3972, - 3994 + 3767, + 3789 ], "loc": { "start": { - "line": 173, + "line": 161, "column": 12 }, "end": { - "line": 173, + "line": 161, "column": 34 } } @@ -8030,16 +7720,16 @@ ], "kind": "let", "range": [ - 3968, - 3995 + 3763, + 3790 ], "loc": { "start": { - "line": 173, + "line": 161, "column": 8 }, "end": { - "line": 173, + "line": 161, "column": 35 } } @@ -8052,16 +7742,16 @@ "type": "Identifier", "name": "removeElm", "range": [ - 4005, - 4014 + 3800, + 3809 ], "loc": { "start": { - "line": 175, + "line": 163, "column": 8 }, "end": { - "line": 175, + "line": 163, "column": 17 } } @@ -8073,16 +7763,16 @@ "object": { "type": "ThisExpression", "range": [ - 4015, - 4019 + 3810, + 3814 ], "loc": { "start": { - "line": 175, + "line": 163, "column": 18 }, "end": { - "line": 175, + "line": 163, "column": 22 } } @@ -8091,62 +7781,62 @@ "type": "Identifier", "name": "cont", "range": [ - 4020, - 4024 + 3815, + 3819 ], "loc": { "start": { - "line": 175, + "line": 163, "column": 23 }, "end": { - "line": 175, + "line": 163, "column": 27 } } }, "range": [ - 4015, - 4024 + 3810, + 3819 ], "loc": { "start": { - "line": 175, + "line": 163, "column": 18 }, "end": { - "line": 175, + "line": 163, "column": 27 } } } ], "range": [ - 4005, - 4025 + 3800, + 3820 ], "loc": { "start": { - "line": 175, + "line": 163, "column": 8 }, "end": { - "line": 175, + "line": 163, "column": 28 } } }, "range": [ - 4005, - 4026 + 3800, + 3821 ], "loc": { "start": { - "line": 175, + "line": 163, "column": 8 }, "end": { - "line": 175, + "line": 163, "column": 29 } } @@ -8162,16 +7852,16 @@ "object": { "type": "ThisExpression", "range": [ - 4035, - 4039 + 3830, + 3834 ], "loc": { "start": { - "line": 176, + "line": 164, "column": 8 }, "end": { - "line": 176, + "line": 164, "column": 12 } } @@ -8180,31 +7870,31 @@ "type": "Identifier", "name": "cont", "range": [ - 4040, - 4044 + 3835, + 3839 ], "loc": { "start": { - "line": 176, + "line": 164, "column": 13 }, "end": { - "line": 176, + "line": 164, "column": 17 } } }, "range": [ - 4035, - 4044 + 3830, + 3839 ], "loc": { "start": { - "line": 176, + "line": 164, "column": 8 }, "end": { - "line": 176, + "line": 164, "column": 17 } } @@ -8214,46 +7904,46 @@ "value": null, "raw": "null", "range": [ - 4047, - 4051 + 3842, + 3846 ], "loc": { "start": { - "line": 176, + "line": 164, "column": 20 }, "end": { - "line": 176, + "line": 164, "column": 24 } } }, "range": [ - 4035, - 4051 + 3830, + 3846 ], "loc": { "start": { - "line": 176, + "line": 164, "column": 8 }, "end": { - "line": 176, + "line": 164, "column": 24 } } }, "range": [ - 4035, - 4052 + 3830, + 3847 ], "loc": { "start": { - "line": 176, + "line": 164, "column": 8 }, "end": { - "line": 176, + "line": 164, "column": 25 } }, @@ -8262,16 +7952,16 @@ "type": "Line", "value": " Unsubscribe to events", "range": [ - 4062, - 4086 + 3857, + 3881 ], "loc": { "start": { - "line": 178, + "line": 166, "column": 8 }, "end": { - "line": 178, + "line": 166, "column": 32 } } @@ -8289,16 +7979,16 @@ "type": "Identifier", "name": "emitter", "range": [ - 4095, - 4102 + 3890, + 3897 ], "loc": { "start": { - "line": 179, + "line": 167, "column": 8 }, "end": { - "line": 179, + "line": 167, "column": 15 } } @@ -8307,31 +7997,31 @@ "type": "Identifier", "name": "off", "range": [ - 4103, - 4106 + 3898, + 3901 ], "loc": { "start": { - "line": 179, + "line": 167, "column": 16 }, "end": { - "line": 179, + "line": 167, "column": 19 } } }, "range": [ - 4095, - 4106 + 3890, + 3901 ], "loc": { "start": { - "line": 179, + "line": 167, "column": 8 }, "end": { - "line": 179, + "line": 167, "column": 19 } } @@ -8341,16 +8031,16 @@ "type": "Identifier", "name": "EVENTS", "range": [ - 4107, - 4113 + 3902, + 3908 ], "loc": { "start": { - "line": 179, + "line": 167, "column": 20 }, "end": { - "line": 179, + "line": 167, "column": 26 } } @@ -8367,17 +8057,17 @@ "object": { "type": "ThisExpression", "range": [ - 4133, - 4137 + 3916, + 3920 ], "loc": { "start": { - "line": 180, - "column": 18 + "line": 167, + "column": 34 }, "end": { - "line": 180, - "column": 22 + "line": 167, + "column": 38 } } }, @@ -8385,32 +8075,32 @@ "type": "Identifier", "name": "show", "range": [ - 4138, - 4142 + 3921, + 3925 ], "loc": { "start": { - "line": 180, - "column": 23 + "line": 167, + "column": 39 }, "end": { - "line": 180, - "column": 27 + "line": 167, + "column": 43 } } }, "range": [ - 4133, - 4142 + 3916, + 3925 ], "loc": { "start": { - "line": 180, - "column": 18 + "line": 167, + "column": 34 }, "end": { - "line": 180, - "column": 27 + "line": 167, + "column": 43 } } }, @@ -8420,81 +8110,81 @@ "value": "", "raw": "''", "range": [ - 4143, - 4145 + 3926, + 3928 ], "loc": { "start": { - "line": 180, - "column": 28 + "line": 167, + "column": 44 }, "end": { - "line": 180, - "column": 30 + "line": 167, + "column": 46 } } } ], "range": [ - 4133, - 4146 + 3916, + 3929 ], "loc": { "start": { - "line": 180, - "column": 18 + "line": 167, + "column": 34 }, "end": { - "line": 180, - "column": 31 + "line": 167, + "column": 47 } } }, "generator": false, "expression": true, "range": [ - 4127, - 4146 + 3910, + 3929 ], "loc": { "start": { - "line": 180, - "column": 12 + "line": 167, + "column": 28 }, "end": { - "line": 180, - "column": 31 + "line": 167, + "column": 47 } } } ], "range": [ - 4095, - 4156 + 3890, + 3930 ], "loc": { "start": { - "line": 179, + "line": 167, "column": 8 }, "end": { - "line": 181, - "column": 9 + "line": 167, + "column": 48 } } }, "range": [ - 4095, - 4157 + 3890, + 3931 ], "loc": { "start": { - "line": 179, + "line": 167, "column": 8 }, "end": { - "line": 181, - "column": 10 + "line": 167, + "column": 49 } }, "leadingComments": [ @@ -8502,16 +8192,16 @@ "type": "Line", "value": " Unsubscribe to events", "range": [ - 4062, - 4086 + 3857, + 3881 ], "loc": { "start": { - "line": 178, + "line": 166, "column": 8 }, "end": { - "line": 178, + "line": 166, "column": 32 } } @@ -8529,16 +8219,16 @@ "type": "Identifier", "name": "emitter", "range": [ - 4166, - 4173 + 3940, + 3947 ], "loc": { "start": { - "line": 182, + "line": 168, "column": 8 }, "end": { - "line": 182, + "line": 168, "column": 15 } } @@ -8547,31 +8237,31 @@ "type": "Identifier", "name": "off", "range": [ - 4174, - 4177 + 3948, + 3951 ], "loc": { "start": { - "line": 182, + "line": 168, "column": 16 }, "end": { - "line": 182, + "line": 168, "column": 19 } } }, "range": [ - 4166, - 4177 + 3940, + 3951 ], "loc": { "start": { - "line": 182, + "line": 168, "column": 8 }, "end": { - "line": 182, + "line": 168, "column": 19 } } @@ -8581,16 +8271,16 @@ "type": "Identifier", "name": "EVENTS", "range": [ - 4178, - 4184 + 3952, + 3958 ], "loc": { "start": { - "line": 182, + "line": 168, "column": 20 }, "end": { - "line": 182, + "line": 168, "column": 26 } } @@ -8607,17 +8297,17 @@ "object": { "type": "ThisExpression", "range": [ - 4204, - 4208 + 3966, + 3970 ], "loc": { "start": { - "line": 183, - "column": 18 + "line": 168, + "column": 34 }, "end": { - "line": 183, - "column": 22 + "line": 168, + "column": 38 } } }, @@ -8625,32 +8315,32 @@ "type": "Identifier", "name": "show", "range": [ - 4209, - 4213 + 3971, + 3975 ], "loc": { "start": { - "line": 183, - "column": 23 + "line": 168, + "column": 39 }, "end": { - "line": 183, - "column": 27 + "line": 168, + "column": 43 } } }, "range": [ - 4204, - 4213 + 3966, + 3975 ], "loc": { "start": { - "line": 183, - "column": 18 + "line": 168, + "column": 34 }, "end": { - "line": 183, - "column": 27 + "line": 168, + "column": 43 } } }, @@ -8659,81 +8349,81 @@ "type": "Identifier", "name": "NONE", "range": [ - 4214, - 4218 + 3976, + 3980 ], "loc": { "start": { - "line": 183, - "column": 28 + "line": 168, + "column": 44 }, "end": { - "line": 183, - "column": 32 + "line": 168, + "column": 48 } } } ], "range": [ - 4204, - 4219 + 3966, + 3981 ], "loc": { "start": { - "line": 183, - "column": 18 + "line": 168, + "column": 34 }, "end": { - "line": 183, - "column": 33 + "line": 168, + "column": 49 } } }, "generator": false, "expression": true, "range": [ - 4198, - 4219 + 3960, + 3981 ], "loc": { "start": { - "line": 183, - "column": 12 + "line": 168, + "column": 28 }, "end": { - "line": 183, - "column": 33 + "line": 168, + "column": 49 } } } ], "range": [ - 4166, - 4229 + 3940, + 3982 ], "loc": { "start": { - "line": 182, + "line": 168, "column": 8 }, "end": { - "line": 184, - "column": 9 + "line": 168, + "column": 50 } } }, "range": [ - 4166, - 4230 + 3940, + 3983 ], "loc": { "start": { - "line": 182, + "line": 168, "column": 8 }, "end": { - "line": 184, - "column": 10 + "line": 168, + "column": 51 } } }, @@ -8748,16 +8438,16 @@ "object": { "type": "ThisExpression", "range": [ - 4240, - 4244 + 3993, + 3997 ], "loc": { "start": { - "line": 186, + "line": 170, "column": 8 }, "end": { - "line": 186, + "line": 170, "column": 12 } } @@ -8766,31 +8456,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 4245, - 4256 + 3998, + 4009 ], "loc": { "start": { - "line": 186, + "line": 170, "column": 13 }, "end": { - "line": 186, + "line": 170, "column": 24 } } }, "range": [ - 4240, - 4256 + 3993, + 4009 ], "loc": { "start": { - "line": 186, + "line": 170, "column": 8 }, "end": { - "line": 186, + "line": 170, "column": 24 } } @@ -8800,62 +8490,62 @@ "value": false, "raw": "false", "range": [ - 4259, - 4264 + 4012, + 4017 ], "loc": { "start": { - "line": 186, + "line": 170, "column": 27 }, "end": { - "line": 186, + "line": 170, "column": 32 } } }, "range": [ - 4240, - 4264 + 3993, + 4017 ], "loc": { "start": { - "line": 186, + "line": 170, "column": 8 }, "end": { - "line": 186, + "line": 170, "column": 32 } } }, "range": [ - 4240, - 4265 + 3993, + 4018 ], "loc": { "start": { - "line": 186, + "line": 170, "column": 8 }, "end": { - "line": 186, + "line": 170, "column": 33 } } } ], "range": [ - 3894, - 4271 + 3689, + 4024 ], "loc": { "start": { - "line": 168, + "line": 156, "column": 14 }, "end": { - "line": 187, + "line": 171, "column": 5 } } @@ -8863,16 +8553,16 @@ "generator": false, "expression": false, "range": [ - 3891, - 4271 + 3686, + 4024 ], "loc": { "start": { - "line": 168, + "line": 156, "column": 11 }, "end": { - "line": 187, + "line": 171, "column": 5 } } @@ -8880,16 +8570,16 @@ "kind": "method", "computed": false, "range": [ - 3884, - 4271 + 3679, + 4024 ], "loc": { "start": { - "line": 168, + "line": 156, "column": 4 }, "end": { - "line": 187, + "line": 171, "column": 5 } }, @@ -8898,16 +8588,16 @@ "type": "Block", "value": "*\n * Removes feature\n ", "range": [ - 3845, - 3879 + 3640, + 3674 ], "loc": { "start": { - "line": 165, + "line": 153, "column": 4 }, "end": { - "line": 167, + "line": 155, "column": 7 } } @@ -8917,31 +8607,31 @@ } ], "range": [ - 596, - 4273 + 595, + 4026 ], "loc": { "start": { - "line": 27, + "line": 26, "column": 36 }, "end": { - "line": 188, + "line": 172, "column": 1 } } }, "range": [ - 567, - 4273 + 566, + 4026 ], "loc": { "start": { - "line": 27, + "line": 26, "column": 7 }, "end": { - "line": 188, + "line": 172, "column": 1 } }, @@ -8950,16 +8640,16 @@ "type": "Block", "value": "*\n * Activity indicator\n *\n * @export\n * @class Loader\n * @extends {Feature}\n ", "range": [ - 477, - 559 + 476, + 558 ], "loc": { "start": { - "line": 20, + "line": 19, "column": 0 }, "end": { - "line": 26, + "line": 25, "column": 3 } } @@ -8970,16 +8660,16 @@ "specifiers": [], "source": null, "range": [ - 560, - 4273 + 559, + 4026 ], "loc": { "start": { - "line": 27, + "line": 26, "column": 0 }, "end": { - "line": 188, + "line": 172, "column": 1 } }, @@ -8988,16 +8678,16 @@ "type": "Block", "value": "*\n * Activity indicator\n *\n * @export\n * @class Loader\n * @extends {Feature}\n ", "range": [ - 477, - 559 + 476, + 558 ], "loc": { "start": { - "line": 20, + "line": 19, "column": 0 }, "end": { - "line": 26, + "line": 25, "column": 3 } } @@ -9008,7 +8698,7 @@ "sourceType": "module", "range": [ 0, - 4273 + 4026 ], "loc": { "start": { @@ -9016,7 +8706,7 @@ "column": 0 }, "end": { - "line": 188, + "line": 172, "column": 1 } }, @@ -9025,16 +8715,16 @@ "type": "Block", "value": "*\n * Activity indicator\n *\n * @export\n * @class Loader\n * @extends {Feature}\n ", "range": [ - 477, - 559 + 476, + 558 ], "loc": { "start": { - "line": 20, + "line": 19, "column": 0 }, "end": { - "line": 26, + "line": 25, "column": 3 } } @@ -9043,16 +8733,16 @@ "type": "Block", "value": "*\n * Creates an instance of Loader.\n *\n * @param {TableFilter} tf TableFilter instance\n ", "range": [ - 603, - 711 + 602, + 710 ], "loc": { "start": { - "line": 29, + "line": 28, "column": 4 }, "end": { - "line": 33, + "line": 32, "column": 7 } } @@ -9061,16 +8751,16 @@ "type": "Block", "value": "*\n * ID of custom container element\n * @type {String}\n ", "range": [ - 802, - 885 + 801, + 884 ], "loc": { "start": { - "line": 39, + "line": 38, "column": 8 }, "end": { - "line": 42, + "line": 41, "column": 11 } } @@ -9079,16 +8769,16 @@ "type": "Block", "value": "*\n * Loader container DOM element\n * @type {DOMElement}\n ", "range": [ - 947, - 1032 + 946, + 1031 ], "loc": { "start": { - "line": 45, + "line": 44, "column": 8 }, "end": { - "line": 48, + "line": 47, "column": 11 } } @@ -9097,16 +8787,16 @@ "type": "Block", "value": "*\n * Text displayed when indicator is visible\n * @type {String}\n ", "range": [ - 1068, - 1161 + 1067, + 1160 ], "loc": { "start": { - "line": 51, + "line": 50, "column": 8 }, "end": { - "line": 54, + "line": 53, "column": 11 } } @@ -9115,16 +8805,16 @@ "type": "Block", "value": "*\n * Custom HTML injected in Loader's container element\n * @type {String}\n ", "range": [ - 1222, - 1325 + 1221, + 1324 ], "loc": { "start": { - "line": 57, + "line": 56, "column": 8 }, "end": { - "line": 60, + "line": 59, "column": 11 } } @@ -9133,16 +8823,16 @@ "type": "Block", "value": "*\n * Css class for Loader's container element\n * @type {String}\n ", "range": [ - 1378, - 1471 + 1377, + 1470 ], "loc": { "start": { - "line": 63, + "line": 62, "column": 8 }, "end": { - "line": 66, + "line": 65, "column": 11 } } @@ -9151,16 +8841,16 @@ "type": "Block", "value": "*\n * Close delay in milliseconds\n * @type {Number}\n ", "range": [ - 1537, - 1617 + 1536, + 1616 ], "loc": { "start": { - "line": 69, + "line": 68, "column": 8 }, "end": { - "line": 72, + "line": 71, "column": 11 } } @@ -9169,16 +8859,16 @@ "type": "Block", "value": "*\n * Callback fired when loader is displayed\n * @type {Function}\n ", "range": [ - 1658, - 1752 + 1657, + 1751 ], "loc": { "start": { - "line": 75, + "line": 74, "column": 8 }, "end": { - "line": 78, + "line": 77, "column": 11 } } @@ -9187,34 +8877,16 @@ "type": "Block", "value": "*\n * Callback fired when loader is closed\n * @type {Function}\n ", "range": [ - 1834, - 1925 + 1833, + 1924 ], "loc": { "start": { - "line": 81, + "line": 80, "column": 8 }, "end": { - "line": 84, - "column": 11 - } - } - }, - { - "type": "Block", - "value": "*\n * Prefix for container ID\n * @type {String}\n * @private\n ", - "range": [ - 2007, - 2103 - ], - "loc": { - "start": { - "line": 87, - "column": 8 - }, - "end": { - "line": 91, + "line": 83, "column": 11 } } @@ -9223,16 +8895,16 @@ "type": "Block", "value": "*\n * Initializes Loader instance\n ", "range": [ - 2144, - 2190 + 2008, + 2054 ], "loc": { "start": { - "line": 95, + "line": 87, "column": 4 }, "end": { - "line": 97, + "line": 89, "column": 7 } } @@ -9241,16 +8913,16 @@ "type": "Line", "value": " Subscribe to events", "range": [ - 2930, - 2952 + 2767, + 2789 ], "loc": { "start": { - "line": 125, + "line": 117, "column": 8 }, "end": { - "line": 125, + "line": 117, "column": 30 } } @@ -9259,16 +8931,16 @@ "type": "Block", "value": "*\n * @inherited\n ", "range": [ - 3104, - 3141 + 2899, + 2936 ], "loc": { "start": { - "line": 133, + "line": 121, "column": 8 }, "end": { - "line": 135, + "line": 123, "column": 11 } } @@ -9277,16 +8949,16 @@ "type": "Block", "value": "*\n * Shows or hides activity indicator\n * @param {String} Two possible values: '' or 'none'\n ", "range": [ - 3186, - 3295 + 2981, + 3090 ], "loc": { "start": { - "line": 139, + "line": 127, "column": 4 }, "end": { - "line": 142, + "line": 130, "column": 7 } } @@ -9295,16 +8967,16 @@ "type": "Block", "value": "*\n * Removes feature\n ", "range": [ - 3845, - 3879 + 3640, + 3674 ], "loc": { "start": { - "line": 165, + "line": 153, "column": 4 }, "end": { - "line": 167, + "line": 155, "column": 7 } } @@ -9313,16 +8985,16 @@ "type": "Line", "value": " Unsubscribe to events", "range": [ - 4062, - 4086 + 3857, + 3881 ], "loc": { "start": { - "line": 178, + "line": 166, "column": 8 }, "end": { - "line": 178, + "line": 166, "column": 32 } } diff --git a/docs/ast/source/modules/noResults.js.json b/docs/ast/source/modules/noResults.js.json index 239ae24a..6984713f 100644 --- a/docs/ast/source/modules/noResults.js.json +++ b/docs/ast/source/modules/noResults.js.json @@ -3528,159 +3528,12 @@ } } } - ], - "trailingComments": [ - { - "type": "Block", - "value": "*\n * Prefix for container ID\n * @type {String}\n * @private\n ", - "range": [ - 2332, - 2428 - ], - "loc": { - "start": { - "line": 90, - "column": 8 - }, - "end": { - "line": 94, - "column": 11 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "expression": { - "type": "AssignmentExpression", - "operator": "=", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 2437, - 2441 - ], - "loc": { - "start": { - "line": 95, - "column": 8 - }, - "end": { - "line": 95, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "prfx", - "range": [ - 2442, - 2446 - ], - "loc": { - "start": { - "line": 95, - "column": 13 - }, - "end": { - "line": 95, - "column": 17 - } - } - }, - "range": [ - 2437, - 2446 - ], - "loc": { - "start": { - "line": 95, - "column": 8 - }, - "end": { - "line": 95, - "column": 17 - } - } - }, - "right": { - "type": "Literal", - "value": "nores_", - "raw": "'nores_'", - "range": [ - 2449, - 2457 - ], - "loc": { - "start": { - "line": 95, - "column": 20 - }, - "end": { - "line": 95, - "column": 28 - } - } - }, - "range": [ - 2437, - 2457 - ], - "loc": { - "start": { - "line": 95, - "column": 8 - }, - "end": { - "line": 95, - "column": 28 - } - } - }, - "range": [ - 2437, - 2458 - ], - "loc": { - "start": { - "line": 95, - "column": 8 - }, - "end": { - "line": 95, - "column": 29 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Prefix for container ID\n * @type {String}\n * @private\n ", - "range": [ - 2332, - 2428 - ], - "loc": { - "start": { - "line": 90, - "column": 8 - }, - "end": { - "line": 94, - "column": 11 - } - } - } ] } ], "range": [ 428, - 2464 + 2328 ], "loc": { "start": { @@ -3688,7 +3541,7 @@ "column": 20 }, "end": { - "line": 96, + "line": 89, "column": 5 } } @@ -3697,7 +3550,7 @@ "expression": false, "range": [ 423, - 2464 + 2328 ], "loc": { "start": { @@ -3705,7 +3558,7 @@ "column": 15 }, "end": { - "line": 96, + "line": 89, "column": 5 } } @@ -3714,7 +3567,7 @@ "computed": false, "range": [ 412, - 2464 + 2328 ], "loc": { "start": { @@ -3722,7 +3575,7 @@ "column": 4 }, "end": { - "line": 96, + "line": 89, "column": 5 } }, @@ -3751,16 +3604,16 @@ "type": "Block", "value": "*\n * Initializes NoResults instance\n ", "range": [ - 2470, - 2519 + 2334, + 2383 ], "loc": { "start": { - "line": 98, + "line": 91, "column": 4 }, "end": { - "line": 100, + "line": 93, "column": 7 } } @@ -3774,16 +3627,16 @@ "type": "Identifier", "name": "init", "range": [ - 2524, - 2528 + 2388, + 2392 ], "loc": { "start": { - "line": 101, + "line": 94, "column": 4 }, "end": { - "line": 101, + "line": 94, "column": 8 } } @@ -3803,16 +3656,16 @@ "object": { "type": "ThisExpression", "range": [ - 2545, - 2549 + 2409, + 2413 ], "loc": { "start": { - "line": 102, + "line": 95, "column": 12 }, "end": { - "line": 102, + "line": 95, "column": 16 } } @@ -3821,31 +3674,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 2550, - 2561 + 2414, + 2425 ], "loc": { "start": { - "line": 102, + "line": 95, "column": 17 }, "end": { - "line": 102, + "line": 95, "column": 28 } } }, "range": [ - 2545, - 2561 + 2409, + 2425 ], "loc": { "start": { - "line": 102, + "line": 95, "column": 12 }, "end": { - "line": 102, + "line": 95, "column": 28 } } @@ -3857,48 +3710,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 2577, - 2584 + 2441, + 2448 ], "loc": { "start": { - "line": 103, + "line": 96, "column": 12 }, "end": { - "line": 103, + "line": 96, "column": 19 } } } ], "range": [ - 2563, - 2594 + 2427, + 2458 ], "loc": { "start": { - "line": 102, + "line": 95, "column": 30 }, "end": { - "line": 104, + "line": 97, "column": 9 } } }, "alternate": null, "range": [ - 2541, - 2594 + 2405, + 2458 ], "loc": { "start": { - "line": 102, + "line": 95, "column": 8 }, "end": { - "line": 104, + "line": 97, "column": 9 } } @@ -3912,16 +3765,16 @@ "type": "Identifier", "name": "tf", "range": [ - 2607, - 2609 + 2471, + 2473 ], "loc": { "start": { - "line": 105, + "line": 98, "column": 12 }, "end": { - "line": 105, + "line": 98, "column": 14 } } @@ -3932,16 +3785,16 @@ "object": { "type": "ThisExpression", "range": [ - 2612, - 2616 + 2476, + 2480 ], "loc": { "start": { - "line": 105, + "line": 98, "column": 17 }, "end": { - "line": 105, + "line": 98, "column": 21 } } @@ -3950,46 +3803,46 @@ "type": "Identifier", "name": "tf", "range": [ - 2617, - 2619 + 2481, + 2483 ], "loc": { "start": { - "line": 105, + "line": 98, "column": 22 }, "end": { - "line": 105, + "line": 98, "column": 24 } } }, "range": [ - 2612, - 2619 + 2476, + 2483 ], "loc": { "start": { - "line": 105, + "line": 98, "column": 17 }, "end": { - "line": 105, + "line": 98, "column": 24 } } }, "range": [ - 2607, - 2619 + 2471, + 2483 ], "loc": { "start": { - "line": 105, + "line": 98, "column": 12 }, "end": { - "line": 105, + "line": 98, "column": 24 } } @@ -3997,16 +3850,16 @@ ], "kind": "let", "range": [ - 2603, - 2620 + 2467, + 2484 ], "loc": { "start": { - "line": 105, + "line": 98, "column": 8 }, "end": { - "line": 105, + "line": 98, "column": 25 } } @@ -4020,16 +3873,16 @@ "type": "Identifier", "name": "target", "range": [ - 2633, - 2639 + 2497, + 2503 ], "loc": { "start": { - "line": 106, + "line": 99, "column": 12 }, "end": { - "line": 106, + "line": 99, "column": 18 } } @@ -4046,16 +3899,16 @@ "object": { "type": "ThisExpression", "range": [ - 2642, - 2646 + 2506, + 2510 ], "loc": { "start": { - "line": 106, + "line": 99, "column": 21 }, "end": { - "line": 106, + "line": 99, "column": 25 } } @@ -4064,31 +3917,31 @@ "type": "Identifier", "name": "customContainer", "range": [ - 2647, - 2662 + 2511, + 2526 ], "loc": { "start": { - "line": 106, + "line": 99, "column": 26 }, "end": { - "line": 106, + "line": 99, "column": 41 } } }, "range": [ - 2642, - 2662 + 2506, + 2526 ], "loc": { "start": { - "line": 106, + "line": 99, "column": 21 }, "end": { - "line": 106, + "line": 99, "column": 41 } } @@ -4099,16 +3952,16 @@ "type": "Identifier", "name": "elm", "range": [ - 2666, - 2669 + 2530, + 2533 ], "loc": { "start": { - "line": 106, + "line": 99, "column": 45 }, "end": { - "line": 106, + "line": 99, "column": 48 } } @@ -4120,16 +3973,16 @@ "object": { "type": "ThisExpression", "range": [ - 2670, - 2674 + 2534, + 2538 ], "loc": { "start": { - "line": 106, + "line": 99, "column": 49 }, "end": { - "line": 106, + "line": 99, "column": 53 } } @@ -4138,62 +3991,62 @@ "type": "Identifier", "name": "customContainerId", "range": [ - 2675, - 2692 + 2539, + 2556 ], "loc": { "start": { - "line": 106, + "line": 99, "column": 54 }, "end": { - "line": 106, + "line": 99, "column": 71 } } }, "range": [ - 2670, - 2692 + 2534, + 2556 ], "loc": { "start": { - "line": 106, + "line": 99, "column": 49 }, "end": { - "line": 106, + "line": 99, "column": 71 } } } ], "range": [ - 2666, - 2693 + 2530, + 2557 ], "loc": { "start": { - "line": 106, + "line": 99, "column": 45 }, "end": { - "line": 106, + "line": 99, "column": 72 } } }, "range": [ - 2642, - 2693 + 2506, + 2557 ], "loc": { "start": { - "line": 106, + "line": 99, "column": 21 }, "end": { - "line": 106, + "line": 99, "column": 72 } } @@ -4205,16 +4058,16 @@ "type": "Identifier", "name": "tf", "range": [ - 2709, - 2711 + 2573, + 2575 ], "loc": { "start": { - "line": 107, + "line": 100, "column": 12 }, "end": { - "line": 107, + "line": 100, "column": 14 } } @@ -4223,61 +4076,61 @@ "type": "Identifier", "name": "tbl", "range": [ - 2712, - 2715 + 2576, + 2579 ], "loc": { "start": { - "line": 107, + "line": 100, "column": 15 }, "end": { - "line": 107, + "line": 100, "column": 18 } } }, "range": [ - 2709, - 2715 + 2573, + 2579 ], "loc": { "start": { - "line": 107, + "line": 100, "column": 12 }, "end": { - "line": 107, + "line": 100, "column": 18 } } }, "range": [ - 2642, - 2715 + 2506, + 2579 ], "loc": { "start": { - "line": 106, + "line": 99, "column": 21 }, "end": { - "line": 107, + "line": 100, "column": 18 } } }, "range": [ - 2633, - 2715 + 2497, + 2579 ], "loc": { "start": { - "line": 106, + "line": 99, "column": 12 }, "end": { - "line": 107, + "line": 100, "column": 18 } } @@ -4285,16 +4138,16 @@ ], "kind": "let", "range": [ - 2629, - 2716 + 2493, + 2580 ], "loc": { "start": { - "line": 106, + "line": 99, "column": 8 }, "end": { - "line": 107, + "line": 100, "column": 19 } }, @@ -4303,16 +4156,16 @@ "type": "Line", "value": "container", "range": [ - 2726, - 2737 + 2590, + 2601 ], "loc": { "start": { - "line": 109, + "line": 102, "column": 8 }, "end": { - "line": 109, + "line": 102, "column": 19 } } @@ -4328,16 +4181,16 @@ "type": "Identifier", "name": "cont", "range": [ - 2750, - 2754 + 2614, + 2618 ], "loc": { "start": { - "line": 110, + "line": 103, "column": 12 }, "end": { - "line": 110, + "line": 103, "column": 16 } } @@ -4348,16 +4201,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 2757, - 2766 + 2621, + 2630 ], "loc": { "start": { - "line": 110, + "line": 103, "column": 19 }, "end": { - "line": 110, + "line": 103, "column": 28 } } @@ -4368,228 +4221,65 @@ "value": "div", "raw": "'div'", "range": [ - 2767, - 2772 + 2631, + 2636 ], "loc": { "start": { - "line": 110, + "line": 103, "column": 29 }, "end": { - "line": 110, + "line": 103, "column": 34 } } - }, - { - "type": "ArrayExpression", - "elements": [ - { - "type": "Literal", - "value": "id", - "raw": "'id'", - "range": [ - 2775, - 2779 - ], - "loc": { - "start": { - "line": 110, - "column": 37 - }, - "end": { - "line": 110, - "column": 41 - } - } - }, - { - "type": "BinaryExpression", - "operator": "+", - "left": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 2781, - 2785 - ], - "loc": { - "start": { - "line": 110, - "column": 43 - }, - "end": { - "line": 110, - "column": 47 - } - } - }, - "property": { - "type": "Identifier", - "name": "prfx", - "range": [ - 2786, - 2790 - ], - "loc": { - "start": { - "line": 110, - "column": 48 - }, - "end": { - "line": 110, - "column": 52 - } - } - }, - "range": [ - 2781, - 2790 - ], - "loc": { - "start": { - "line": 110, - "column": 43 - }, - "end": { - "line": 110, - "column": 52 - } - } - }, - "right": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "tf", - "range": [ - 2793, - 2795 - ], - "loc": { - "start": { - "line": 110, - "column": 55 - }, - "end": { - "line": 110, - "column": 57 - } - } - }, - "property": { - "type": "Identifier", - "name": "id", - "range": [ - 2796, - 2798 - ], - "loc": { - "start": { - "line": 110, - "column": 58 - }, - "end": { - "line": 110, - "column": 60 - } - } - }, - "range": [ - 2793, - 2798 - ], - "loc": { - "start": { - "line": 110, - "column": 55 - }, - "end": { - "line": 110, - "column": 60 - } - } - }, - "range": [ - 2781, - 2798 - ], - "loc": { - "start": { - "line": 110, - "column": 43 - }, - "end": { - "line": 110, - "column": 60 - } - } - } - ], - "range": [ - 2774, - 2799 - ], - "loc": { - "start": { - "line": 110, - "column": 36 - }, - "end": { - "line": 110, - "column": 61 - } - } } ], "range": [ - 2757, - 2800 + 2621, + 2637 ], "loc": { "start": { - "line": 110, + "line": 103, "column": 19 }, "end": { - "line": 110, - "column": 62 + "line": 103, + "column": 35 } } }, "range": [ - 2750, - 2800 + 2614, + 2637 ], "loc": { "start": { - "line": 110, + "line": 103, "column": 12 }, "end": { - "line": 110, - "column": 62 + "line": 103, + "column": 35 } } } ], "kind": "let", "range": [ - 2746, - 2801 + 2610, + 2638 ], "loc": { "start": { - "line": 110, + "line": 103, "column": 8 }, "end": { - "line": 110, - "column": 63 + "line": 103, + "column": 36 } }, "leadingComments": [ @@ -4597,16 +4287,16 @@ "type": "Line", "value": "container", "range": [ - 2726, - 2737 + 2590, + 2601 ], "loc": { "start": { - "line": 109, + "line": 102, "column": 8 }, "end": { - "line": 109, + "line": 102, "column": 19 } } @@ -4625,16 +4315,16 @@ "type": "Identifier", "name": "cont", "range": [ - 2810, - 2814 + 2647, + 2651 ], "loc": { "start": { - "line": 111, + "line": 104, "column": 8 }, "end": { - "line": 111, + "line": 104, "column": 12 } } @@ -4643,31 +4333,31 @@ "type": "Identifier", "name": "className", "range": [ - 2815, - 2824 + 2652, + 2661 ], "loc": { "start": { - "line": 111, + "line": 104, "column": 13 }, "end": { - "line": 111, + "line": 104, "column": 22 } } }, "range": [ - 2810, - 2824 + 2647, + 2661 ], "loc": { "start": { - "line": 111, + "line": 104, "column": 8 }, "end": { - "line": 111, + "line": 104, "column": 22 } } @@ -4678,16 +4368,16 @@ "object": { "type": "ThisExpression", "range": [ - 2827, - 2831 + 2664, + 2668 ], "loc": { "start": { - "line": 111, + "line": 104, "column": 25 }, "end": { - "line": 111, + "line": 104, "column": 29 } } @@ -4696,61 +4386,61 @@ "type": "Identifier", "name": "cssClass", "range": [ - 2832, - 2840 + 2669, + 2677 ], "loc": { "start": { - "line": 111, + "line": 104, "column": 30 }, "end": { - "line": 111, + "line": 104, "column": 38 } } }, "range": [ - 2827, - 2840 + 2664, + 2677 ], "loc": { "start": { - "line": 111, + "line": 104, "column": 25 }, "end": { - "line": 111, + "line": 104, "column": 38 } } }, "range": [ - 2810, - 2840 + 2647, + 2677 ], "loc": { "start": { - "line": 111, + "line": 104, "column": 8 }, "end": { - "line": 111, + "line": 104, "column": 38 } } }, "range": [ - 2810, - 2841 + 2647, + 2678 ], "loc": { "start": { - "line": 111, + "line": 104, "column": 8 }, "end": { - "line": 111, + "line": 104, "column": 39 } } @@ -4767,16 +4457,16 @@ "type": "Identifier", "name": "cont", "range": [ - 2850, - 2854 + 2687, + 2691 ], "loc": { "start": { - "line": 112, + "line": 105, "column": 8 }, "end": { - "line": 112, + "line": 105, "column": 12 } } @@ -4785,31 +4475,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 2855, - 2864 + 2692, + 2701 ], "loc": { "start": { - "line": 112, + "line": 105, "column": 13 }, "end": { - "line": 112, + "line": 105, "column": 22 } } }, "range": [ - 2850, - 2864 + 2687, + 2701 ], "loc": { "start": { - "line": 112, + "line": 105, "column": 8 }, "end": { - "line": 112, + "line": 105, "column": 22 } } @@ -4820,16 +4510,16 @@ "object": { "type": "ThisExpression", "range": [ - 2867, - 2871 + 2704, + 2708 ], "loc": { "start": { - "line": 112, + "line": 105, "column": 25 }, "end": { - "line": 112, + "line": 105, "column": 29 } } @@ -4838,61 +4528,61 @@ "type": "Identifier", "name": "content", "range": [ - 2872, - 2879 + 2709, + 2716 ], "loc": { "start": { - "line": 112, + "line": 105, "column": 30 }, "end": { - "line": 112, + "line": 105, "column": 37 } } }, "range": [ - 2867, - 2879 + 2704, + 2716 ], "loc": { "start": { - "line": 112, + "line": 105, "column": 25 }, "end": { - "line": 112, + "line": 105, "column": 37 } } }, "range": [ - 2850, - 2879 + 2687, + 2716 ], "loc": { "start": { - "line": 112, + "line": 105, "column": 8 }, "end": { - "line": 112, + "line": 105, "column": 37 } } }, "range": [ - 2850, - 2880 + 2687, + 2717 ], "loc": { "start": { - "line": 112, + "line": 105, "column": 8 }, "end": { - "line": 112, + "line": 105, "column": 38 } } @@ -4905,16 +4595,16 @@ "object": { "type": "ThisExpression", "range": [ - 2894, - 2898 + 2731, + 2735 ], "loc": { "start": { - "line": 114, + "line": 107, "column": 12 }, "end": { - "line": 114, + "line": 107, "column": 16 } } @@ -4923,31 +4613,31 @@ "type": "Identifier", "name": "isExternal", "range": [ - 2899, - 2909 + 2736, + 2746 ], "loc": { "start": { - "line": 114, + "line": 107, "column": 17 }, "end": { - "line": 114, + "line": 107, "column": 27 } } }, "range": [ - 2894, - 2909 + 2731, + 2746 ], "loc": { "start": { - "line": 114, + "line": 107, "column": 12 }, "end": { - "line": 114, + "line": 107, "column": 27 } } @@ -4966,16 +4656,16 @@ "type": "Identifier", "name": "target", "range": [ - 2925, - 2931 + 2762, + 2768 ], "loc": { "start": { - "line": 115, + "line": 108, "column": 12 }, "end": { - "line": 115, + "line": 108, "column": 18 } } @@ -4984,31 +4674,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 2932, - 2943 + 2769, + 2780 ], "loc": { "start": { - "line": 115, + "line": 108, "column": 19 }, "end": { - "line": 115, + "line": 108, "column": 30 } } }, "range": [ - 2925, - 2943 + 2762, + 2780 ], "loc": { "start": { - "line": 115, + "line": 108, "column": 12 }, "end": { - "line": 115, + "line": 108, "column": 30 } } @@ -5018,63 +4708,63 @@ "type": "Identifier", "name": "cont", "range": [ - 2944, - 2948 + 2781, + 2785 ], "loc": { "start": { - "line": 115, + "line": 108, "column": 31 }, "end": { - "line": 115, + "line": 108, "column": 35 } } } ], "range": [ - 2925, - 2949 + 2762, + 2786 ], "loc": { "start": { - "line": 115, + "line": 108, "column": 12 }, "end": { - "line": 115, + "line": 108, "column": 36 } } }, "range": [ - 2925, - 2950 + 2762, + 2787 ], "loc": { "start": { - "line": 115, + "line": 108, "column": 12 }, "end": { - "line": 115, + "line": 108, "column": 37 } } } ], "range": [ - 2911, - 2960 + 2748, + 2797 ], "loc": { "start": { - "line": 114, + "line": 107, "column": 29 }, "end": { - "line": 116, + "line": 109, "column": 9 } } @@ -5096,16 +4786,16 @@ "type": "Identifier", "name": "target", "range": [ - 2980, - 2986 + 2817, + 2823 ], "loc": { "start": { - "line": 117, + "line": 110, "column": 12 }, "end": { - "line": 117, + "line": 110, "column": 18 } } @@ -5114,31 +4804,31 @@ "type": "Identifier", "name": "parentNode", "range": [ - 2987, - 2997 + 2824, + 2834 ], "loc": { "start": { - "line": 117, + "line": 110, "column": 19 }, "end": { - "line": 117, + "line": 110, "column": 29 } } }, "range": [ - 2980, - 2997 + 2817, + 2834 ], "loc": { "start": { - "line": 117, + "line": 110, "column": 12 }, "end": { - "line": 117, + "line": 110, "column": 29 } } @@ -5147,31 +4837,31 @@ "type": "Identifier", "name": "insertBefore", "range": [ - 2998, - 3010 + 2835, + 2847 ], "loc": { "start": { - "line": 117, + "line": 110, "column": 30 }, "end": { - "line": 117, + "line": 110, "column": 42 } } }, "range": [ - 2980, - 3010 + 2817, + 2847 ], "loc": { "start": { - "line": 117, + "line": 110, "column": 12 }, "end": { - "line": 117, + "line": 110, "column": 42 } } @@ -5181,16 +4871,16 @@ "type": "Identifier", "name": "cont", "range": [ - 3011, - 3015 + 2848, + 2852 ], "loc": { "start": { - "line": 117, + "line": 110, "column": 43 }, "end": { - "line": 117, + "line": 110, "column": 47 } } @@ -5202,16 +4892,16 @@ "type": "Identifier", "name": "target", "range": [ - 3017, - 3023 + 2854, + 2860 ], "loc": { "start": { - "line": 117, + "line": 110, "column": 49 }, "end": { - "line": 117, + "line": 110, "column": 55 } } @@ -5220,93 +4910,93 @@ "type": "Identifier", "name": "nextSibling", "range": [ - 3024, - 3035 + 2861, + 2872 ], "loc": { "start": { - "line": 117, + "line": 110, "column": 56 }, "end": { - "line": 117, + "line": 110, "column": 67 } } }, "range": [ - 3017, - 3035 + 2854, + 2872 ], "loc": { "start": { - "line": 117, + "line": 110, "column": 49 }, "end": { - "line": 117, + "line": 110, "column": 67 } } } ], "range": [ - 2980, - 3036 + 2817, + 2873 ], "loc": { "start": { - "line": 117, + "line": 110, "column": 12 }, "end": { - "line": 117, + "line": 110, "column": 68 } } }, "range": [ - 2980, - 3037 + 2817, + 2874 ], "loc": { "start": { - "line": 117, + "line": 110, "column": 12 }, "end": { - "line": 117, + "line": 110, "column": 69 } } } ], "range": [ - 2966, - 3047 + 2803, + 2884 ], "loc": { "start": { - "line": 116, + "line": 109, "column": 15 }, "end": { - "line": 118, + "line": 111, "column": 9 } } }, "range": [ - 2890, - 3047 + 2727, + 2884 ], "loc": { "start": { - "line": 114, + "line": 107, "column": 8 }, "end": { - "line": 118, + "line": 111, "column": 9 } } @@ -5322,16 +5012,16 @@ "object": { "type": "ThisExpression", "range": [ - 3057, - 3061 + 2894, + 2898 ], "loc": { "start": { - "line": 120, + "line": 113, "column": 8 }, "end": { - "line": 120, + "line": 113, "column": 12 } } @@ -5340,31 +5030,31 @@ "type": "Identifier", "name": "cont", "range": [ - 3062, - 3066 + 2899, + 2903 ], "loc": { "start": { - "line": 120, + "line": 113, "column": 13 }, "end": { - "line": 120, + "line": 113, "column": 17 } } }, "range": [ - 3057, - 3066 + 2894, + 2903 ], "loc": { "start": { - "line": 120, + "line": 113, "column": 8 }, "end": { - "line": 120, + "line": 113, "column": 17 } } @@ -5373,46 +5063,46 @@ "type": "Identifier", "name": "cont", "range": [ - 3069, - 3073 + 2906, + 2910 ], "loc": { "start": { - "line": 120, + "line": 113, "column": 20 }, "end": { - "line": 120, + "line": 113, "column": 24 } } }, "range": [ - 3057, - 3073 + 2894, + 2910 ], "loc": { "start": { - "line": 120, + "line": 113, "column": 8 }, "end": { - "line": 120, + "line": 113, "column": 24 } } }, "range": [ - 3057, - 3074 + 2894, + 2911 ], "loc": { "start": { - "line": 120, + "line": 113, "column": 8 }, "end": { - "line": 120, + "line": 113, "column": 25 } }, @@ -5421,16 +5111,16 @@ "type": "Line", "value": " subscribe to after-filtering event", "range": [ - 3084, - 3121 + 2921, + 2958 ], "loc": { "start": { - "line": 122, + "line": 115, "column": 8 }, "end": { - "line": 122, + "line": 115, "column": 45 } } @@ -5450,16 +5140,16 @@ "object": { "type": "ThisExpression", "range": [ - 3130, - 3134 + 2967, + 2971 ], "loc": { "start": { - "line": 123, + "line": 116, "column": 8 }, "end": { - "line": 123, + "line": 116, "column": 12 } } @@ -5468,31 +5158,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 3135, - 3142 + 2972, + 2979 ], "loc": { "start": { - "line": 123, + "line": 116, "column": 13 }, "end": { - "line": 123, + "line": 116, "column": 20 } } }, "range": [ - 3130, - 3142 + 2967, + 2979 ], "loc": { "start": { - "line": 123, + "line": 116, "column": 8 }, "end": { - "line": 123, + "line": 116, "column": 20 } } @@ -5501,31 +5191,31 @@ "type": "Identifier", "name": "on", "range": [ - 3143, - 3145 + 2980, + 2982 ], "loc": { "start": { - "line": 123, + "line": 116, "column": 21 }, "end": { - "line": 123, + "line": 116, "column": 23 } } }, "range": [ - 3130, - 3145 + 2967, + 2982 ], "loc": { "start": { - "line": 123, + "line": 116, "column": 8 }, "end": { - "line": 123, + "line": 116, "column": 23 } } @@ -5539,32 +5229,32 @@ "value": "after-filtering", "raw": "'after-filtering'", "range": [ - 3147, - 3164 + 2984, + 3001 ], "loc": { "start": { - "line": 123, + "line": 116, "column": 25 }, "end": { - "line": 123, + "line": 116, "column": 42 } } } ], "range": [ - 3146, - 3165 + 2983, + 3002 ], "loc": { "start": { - "line": 123, + "line": 116, "column": 24 }, "end": { - "line": 123, + "line": 116, "column": 43 } } @@ -5581,16 +5271,16 @@ "object": { "type": "ThisExpression", "range": [ - 3173, - 3177 + 3010, + 3014 ], "loc": { "start": { - "line": 123, + "line": 116, "column": 51 }, "end": { - "line": 123, + "line": 116, "column": 55 } } @@ -5599,47 +5289,47 @@ "type": "Identifier", "name": "toggle", "range": [ - 3178, - 3184 + 3015, + 3021 ], "loc": { "start": { - "line": 123, + "line": 116, "column": 56 }, "end": { - "line": 123, + "line": 116, "column": 62 } } }, "range": [ - 3173, - 3184 + 3010, + 3021 ], "loc": { "start": { - "line": 123, + "line": 116, "column": 51 }, "end": { - "line": 123, + "line": 116, "column": 62 } } }, "arguments": [], "range": [ - 3173, - 3186 + 3010, + 3023 ], "loc": { "start": { - "line": 123, + "line": 116, "column": 51 }, "end": { - "line": 123, + "line": 116, "column": 64 } } @@ -5647,47 +5337,47 @@ "generator": false, "expression": true, "range": [ - 3167, - 3186 + 3004, + 3023 ], "loc": { "start": { - "line": 123, + "line": 116, "column": 45 }, "end": { - "line": 123, + "line": 116, "column": 64 } } } ], "range": [ - 3130, - 3187 + 2967, + 3024 ], "loc": { "start": { - "line": 123, + "line": 116, "column": 8 }, "end": { - "line": 123, + "line": 116, "column": 65 } } }, "range": [ - 3130, - 3188 + 2967, + 3025 ], "loc": { "start": { - "line": 123, + "line": 116, "column": 8 }, "end": { - "line": 123, + "line": 116, "column": 66 } }, @@ -5696,16 +5386,16 @@ "type": "Line", "value": " subscribe to after-filtering event", "range": [ - 3084, - 3121 + 2921, + 2958 ], "loc": { "start": { - "line": 122, + "line": 115, "column": 8 }, "end": { - "line": 122, + "line": 115, "column": 45 } } @@ -5716,16 +5406,16 @@ "type": "Block", "value": "*\n * @inherited\n ", "range": [ - 3198, - 3235 + 3035, + 3072 ], "loc": { "start": { - "line": 125, + "line": 118, "column": 8 }, "end": { - "line": 127, + "line": 120, "column": 11 } } @@ -5743,16 +5433,16 @@ "object": { "type": "ThisExpression", "range": [ - 3244, - 3248 + 3081, + 3085 ], "loc": { "start": { - "line": 128, + "line": 121, "column": 8 }, "end": { - "line": 128, + "line": 121, "column": 12 } } @@ -5761,31 +5451,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 3249, - 3260 + 3086, + 3097 ], "loc": { "start": { - "line": 128, + "line": 121, "column": 13 }, "end": { - "line": 128, + "line": 121, "column": 24 } } }, "range": [ - 3244, - 3260 + 3081, + 3097 ], "loc": { "start": { - "line": 128, + "line": 121, "column": 8 }, "end": { - "line": 128, + "line": 121, "column": 24 } } @@ -5795,46 +5485,46 @@ "value": true, "raw": "true", "range": [ - 3263, - 3267 + 3100, + 3104 ], "loc": { "start": { - "line": 128, + "line": 121, "column": 27 }, "end": { - "line": 128, + "line": 121, "column": 31 } } }, "range": [ - 3244, - 3267 + 3081, + 3104 ], "loc": { "start": { - "line": 128, + "line": 121, "column": 8 }, "end": { - "line": 128, + "line": 121, "column": 31 } } }, "range": [ - 3244, - 3268 + 3081, + 3105 ], "loc": { "start": { - "line": 128, + "line": 121, "column": 8 }, "end": { - "line": 128, + "line": 121, "column": 32 } }, @@ -5843,16 +5533,16 @@ "type": "Block", "value": "*\n * @inherited\n ", "range": [ - 3198, - 3235 + 3035, + 3072 ], "loc": { "start": { - "line": 125, + "line": 118, "column": 8 }, "end": { - "line": 127, + "line": 120, "column": 11 } } @@ -5869,16 +5559,16 @@ "object": { "type": "ThisExpression", "range": [ - 3278, - 3282 + 3115, + 3119 ], "loc": { "start": { - "line": 130, + "line": 123, "column": 8 }, "end": { - "line": 130, + "line": 123, "column": 12 } } @@ -5887,78 +5577,78 @@ "type": "Identifier", "name": "hide", "range": [ - 3283, - 3287 + 3120, + 3124 ], "loc": { "start": { - "line": 130, + "line": 123, "column": 13 }, "end": { - "line": 130, + "line": 123, "column": 17 } } }, "range": [ - 3278, - 3287 + 3115, + 3124 ], "loc": { "start": { - "line": 130, + "line": 123, "column": 8 }, "end": { - "line": 130, + "line": 123, "column": 17 } } }, "arguments": [], "range": [ - 3278, - 3289 + 3115, + 3126 ], "loc": { "start": { - "line": 130, + "line": 123, "column": 8 }, "end": { - "line": 130, + "line": 123, "column": 19 } } }, "range": [ - 3278, - 3290 + 3115, + 3127 ], "loc": { "start": { - "line": 130, + "line": 123, "column": 8 }, "end": { - "line": 130, + "line": 123, "column": 20 } } } ], "range": [ - 2531, - 3296 + 2395, + 3133 ], "loc": { "start": { - "line": 101, + "line": 94, "column": 11 }, "end": { - "line": 131, + "line": 124, "column": 5 } } @@ -5966,16 +5656,16 @@ "generator": false, "expression": false, "range": [ - 2528, - 3296 + 2392, + 3133 ], "loc": { "start": { - "line": 101, + "line": 94, "column": 8 }, "end": { - "line": 131, + "line": 124, "column": 5 } } @@ -5983,16 +5673,16 @@ "kind": "method", "computed": false, "range": [ - 2524, - 3296 + 2388, + 3133 ], "loc": { "start": { - "line": 101, + "line": 94, "column": 4 }, "end": { - "line": 131, + "line": 124, "column": 5 } }, @@ -6001,16 +5691,16 @@ "type": "Block", "value": "*\n * Initializes NoResults instance\n ", "range": [ - 2470, - 2519 + 2334, + 2383 ], "loc": { "start": { - "line": 98, + "line": 91, "column": 4 }, "end": { - "line": 100, + "line": 93, "column": 7 } } @@ -6021,16 +5711,16 @@ "type": "Block", "value": "*\n * Toggle no results message\n ", "range": [ - 3302, - 3346 + 3139, + 3183 ], "loc": { "start": { - "line": 133, + "line": 126, "column": 4 }, "end": { - "line": 135, + "line": 128, "column": 7 } } @@ -6044,16 +5734,16 @@ "type": "Identifier", "name": "toggle", "range": [ - 3351, - 3357 + 3188, + 3194 ], "loc": { "start": { - "line": 136, + "line": 129, "column": 4 }, "end": { - "line": 136, + "line": 129, "column": 10 } } @@ -6081,16 +5771,16 @@ "object": { "type": "ThisExpression", "range": [ - 3374, - 3378 + 3211, + 3215 ], "loc": { "start": { - "line": 137, + "line": 130, "column": 12 }, "end": { - "line": 137, + "line": 130, "column": 16 } } @@ -6099,31 +5789,31 @@ "type": "Identifier", "name": "tf", "range": [ - 3379, - 3381 + 3216, + 3218 ], "loc": { "start": { - "line": 137, + "line": 130, "column": 17 }, "end": { - "line": 137, + "line": 130, "column": 19 } } }, "range": [ - 3374, - 3381 + 3211, + 3218 ], "loc": { "start": { - "line": 137, + "line": 130, "column": 12 }, "end": { - "line": 137, + "line": 130, "column": 19 } } @@ -6132,47 +5822,47 @@ "type": "Identifier", "name": "getValidRowsNb", "range": [ - 3382, - 3396 + 3219, + 3233 ], "loc": { "start": { - "line": 137, + "line": 130, "column": 20 }, "end": { - "line": 137, + "line": 130, "column": 34 } } }, "range": [ - 3374, - 3396 + 3211, + 3233 ], "loc": { "start": { - "line": 137, + "line": 130, "column": 12 }, "end": { - "line": 137, + "line": 130, "column": 34 } } }, "arguments": [], "range": [ - 3374, - 3398 + 3211, + 3235 ], "loc": { "start": { - "line": 137, + "line": 130, "column": 12 }, "end": { - "line": 137, + "line": 130, "column": 36 } } @@ -6182,31 +5872,31 @@ "value": 0, "raw": "0", "range": [ - 3401, - 3402 + 3238, + 3239 ], "loc": { "start": { - "line": 137, + "line": 130, "column": 39 }, "end": { - "line": 137, + "line": 130, "column": 40 } } }, "range": [ - 3374, - 3402 + 3211, + 3239 ], "loc": { "start": { - "line": 137, + "line": 130, "column": 12 }, "end": { - "line": 137, + "line": 130, "column": 40 } } @@ -6224,16 +5914,16 @@ "object": { "type": "ThisExpression", "range": [ - 3418, - 3422 + 3255, + 3259 ], "loc": { "start": { - "line": 138, + "line": 131, "column": 12 }, "end": { - "line": 138, + "line": 131, "column": 16 } } @@ -6242,78 +5932,78 @@ "type": "Identifier", "name": "hide", "range": [ - 3423, - 3427 + 3260, + 3264 ], "loc": { "start": { - "line": 138, + "line": 131, "column": 17 }, "end": { - "line": 138, + "line": 131, "column": 21 } } }, "range": [ - 3418, - 3427 + 3255, + 3264 ], "loc": { "start": { - "line": 138, + "line": 131, "column": 12 }, "end": { - "line": 138, + "line": 131, "column": 21 } } }, "arguments": [], "range": [ - 3418, - 3429 + 3255, + 3266 ], "loc": { "start": { - "line": 138, + "line": 131, "column": 12 }, "end": { - "line": 138, + "line": 131, "column": 23 } } }, "range": [ - 3418, - 3430 + 3255, + 3267 ], "loc": { "start": { - "line": 138, + "line": 131, "column": 12 }, "end": { - "line": 138, + "line": 131, "column": 24 } } } ], "range": [ - 3404, - 3440 + 3241, + 3277 ], "loc": { "start": { - "line": 137, + "line": 130, "column": 42 }, "end": { - "line": 139, + "line": 132, "column": 9 } } @@ -6331,16 +6021,16 @@ "object": { "type": "ThisExpression", "range": [ - 3460, - 3464 + 3297, + 3301 ], "loc": { "start": { - "line": 140, + "line": 133, "column": 12 }, "end": { - "line": 140, + "line": 133, "column": 16 } } @@ -6349,109 +6039,109 @@ "type": "Identifier", "name": "show", "range": [ - 3465, - 3469 + 3302, + 3306 ], "loc": { "start": { - "line": 140, + "line": 133, "column": 17 }, "end": { - "line": 140, + "line": 133, "column": 21 } } }, "range": [ - 3460, - 3469 + 3297, + 3306 ], "loc": { "start": { - "line": 140, + "line": 133, "column": 12 }, "end": { - "line": 140, + "line": 133, "column": 21 } } }, "arguments": [], "range": [ - 3460, - 3471 + 3297, + 3308 ], "loc": { "start": { - "line": 140, + "line": 133, "column": 12 }, "end": { - "line": 140, + "line": 133, "column": 23 } } }, "range": [ - 3460, - 3472 + 3297, + 3309 ], "loc": { "start": { - "line": 140, + "line": 133, "column": 12 }, "end": { - "line": 140, + "line": 133, "column": 24 } } } ], "range": [ - 3446, - 3482 + 3283, + 3319 ], "loc": { "start": { - "line": 139, + "line": 132, "column": 15 }, "end": { - "line": 141, + "line": 134, "column": 9 } } }, "range": [ - 3370, - 3482 + 3207, + 3319 ], "loc": { "start": { - "line": 137, + "line": 130, "column": 8 }, "end": { - "line": 141, + "line": 134, "column": 9 } } } ], "range": [ - 3360, - 3488 + 3197, + 3325 ], "loc": { "start": { - "line": 136, + "line": 129, "column": 13 }, "end": { - "line": 142, + "line": 135, "column": 5 } } @@ -6459,16 +6149,16 @@ "generator": false, "expression": false, "range": [ - 3357, - 3488 + 3194, + 3325 ], "loc": { "start": { - "line": 136, + "line": 129, "column": 10 }, "end": { - "line": 142, + "line": 135, "column": 5 } } @@ -6476,16 +6166,16 @@ "kind": "method", "computed": false, "range": [ - 3351, - 3488 + 3188, + 3325 ], "loc": { "start": { - "line": 136, + "line": 129, "column": 4 }, "end": { - "line": 142, + "line": 135, "column": 5 } }, @@ -6494,16 +6184,16 @@ "type": "Block", "value": "*\n * Toggle no results message\n ", "range": [ - 3302, - 3346 + 3139, + 3183 ], "loc": { "start": { - "line": 133, + "line": 126, "column": 4 }, "end": { - "line": 135, + "line": 128, "column": 7 } } @@ -6514,16 +6204,16 @@ "type": "Block", "value": "*\n * Show no results message\n ", "range": [ - 3494, - 3536 + 3331, + 3373 ], "loc": { "start": { - "line": 144, + "line": 137, "column": 4 }, "end": { - "line": 146, + "line": 139, "column": 7 } } @@ -6537,16 +6227,16 @@ "type": "Identifier", "name": "show", "range": [ - 3541, - 3545 + 3378, + 3382 ], "loc": { "start": { - "line": 147, + "line": 140, "column": 4 }, "end": { - "line": 147, + "line": 140, "column": 8 } } @@ -6572,16 +6262,16 @@ "object": { "type": "ThisExpression", "range": [ - 3563, - 3567 + 3400, + 3404 ], "loc": { "start": { - "line": 148, + "line": 141, "column": 13 }, "end": { - "line": 148, + "line": 141, "column": 17 } } @@ -6590,47 +6280,47 @@ "type": "Identifier", "name": "initialized", "range": [ - 3568, - 3579 + 3405, + 3416 ], "loc": { "start": { - "line": 148, + "line": 141, "column": 18 }, "end": { - "line": 148, + "line": 141, "column": 29 } } }, "range": [ - 3563, - 3579 + 3400, + 3416 ], "loc": { "start": { - "line": 148, + "line": 141, "column": 13 }, "end": { - "line": 148, + "line": 141, "column": 29 } } }, "prefix": true, "range": [ - 3562, - 3579 + 3399, + 3416 ], "loc": { "start": { - "line": 148, + "line": 141, "column": 12 }, "end": { - "line": 148, + "line": 141, "column": 29 } } @@ -6646,16 +6336,16 @@ "object": { "type": "ThisExpression", "range": [ - 3584, - 3588 + 3421, + 3425 ], "loc": { "start": { - "line": 148, + "line": 141, "column": 34 }, "end": { - "line": 148, + "line": 141, "column": 38 } } @@ -6664,78 +6354,78 @@ "type": "Identifier", "name": "isEnabled", "range": [ - 3589, - 3598 + 3426, + 3435 ], "loc": { "start": { - "line": 148, + "line": 141, "column": 39 }, "end": { - "line": 148, + "line": 141, "column": 48 } } }, "range": [ - 3584, - 3598 + 3421, + 3435 ], "loc": { "start": { - "line": 148, + "line": 141, "column": 34 }, "end": { - "line": 148, + "line": 141, "column": 48 } } }, "arguments": [], "range": [ - 3584, - 3600 + 3421, + 3437 ], "loc": { "start": { - "line": 148, + "line": 141, "column": 34 }, "end": { - "line": 148, + "line": 141, "column": 50 } } }, "prefix": true, "range": [ - 3583, - 3600 + 3420, + 3437 ], "loc": { "start": { - "line": 148, + "line": 141, "column": 33 }, "end": { - "line": 148, + "line": 141, "column": 50 } } }, "range": [ - 3562, - 3600 + 3399, + 3437 ], "loc": { "start": { - "line": 148, + "line": 141, "column": 12 }, "end": { - "line": 148, + "line": 141, "column": 50 } } @@ -6747,48 +6437,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 3616, - 3623 + 3453, + 3460 ], "loc": { "start": { - "line": 149, + "line": 142, "column": 12 }, "end": { - "line": 149, + "line": 142, "column": 19 } } } ], "range": [ - 3602, - 3633 + 3439, + 3470 ], "loc": { "start": { - "line": 148, + "line": 141, "column": 52 }, "end": { - "line": 150, + "line": 143, "column": 9 } } }, "alternate": null, "range": [ - 3558, - 3633 + 3395, + 3470 ], "loc": { "start": { - "line": 148, + "line": 141, "column": 8 }, "end": { - "line": 150, + "line": 143, "column": 9 } } @@ -6801,16 +6491,16 @@ "object": { "type": "ThisExpression", "range": [ - 3647, - 3651 + 3484, + 3488 ], "loc": { "start": { - "line": 152, + "line": 145, "column": 12 }, "end": { - "line": 152, + "line": 145, "column": 16 } } @@ -6819,31 +6509,31 @@ "type": "Identifier", "name": "onBeforeShow", "range": [ - 3652, - 3664 + 3489, + 3501 ], "loc": { "start": { - "line": 152, + "line": 145, "column": 17 }, "end": { - "line": 152, + "line": 145, "column": 29 } } }, "range": [ - 3647, - 3664 + 3484, + 3501 ], "loc": { "start": { - "line": 152, + "line": 145, "column": 12 }, "end": { - "line": 152, + "line": 145, "column": 29 } } @@ -6864,16 +6554,16 @@ "object": { "type": "ThisExpression", "range": [ - 3680, - 3684 + 3517, + 3521 ], "loc": { "start": { - "line": 153, + "line": 146, "column": 12 }, "end": { - "line": 153, + "line": 146, "column": 16 } } @@ -6882,31 +6572,31 @@ "type": "Identifier", "name": "onBeforeShow", "range": [ - 3685, - 3697 + 3522, + 3534 ], "loc": { "start": { - "line": 153, + "line": 146, "column": 17 }, "end": { - "line": 153, + "line": 146, "column": 29 } } }, "range": [ - 3680, - 3697 + 3517, + 3534 ], "loc": { "start": { - "line": 153, + "line": 146, "column": 12 }, "end": { - "line": 153, + "line": 146, "column": 29 } } @@ -6915,31 +6605,31 @@ "type": "Identifier", "name": "call", "range": [ - 3698, - 3702 + 3535, + 3539 ], "loc": { "start": { - "line": 153, + "line": 146, "column": 30 }, "end": { - "line": 153, + "line": 146, "column": 34 } } }, "range": [ - 3680, - 3702 + 3517, + 3539 ], "loc": { "start": { - "line": 153, + "line": 146, "column": 12 }, "end": { - "line": 153, + "line": 146, "column": 34 } } @@ -6950,16 +6640,16 @@ "value": null, "raw": "null", "range": [ - 3703, - 3707 + 3540, + 3544 ], "loc": { "start": { - "line": 153, + "line": 146, "column": 35 }, "end": { - "line": 153, + "line": 146, "column": 39 } } @@ -6970,16 +6660,16 @@ "object": { "type": "ThisExpression", "range": [ - 3709, - 3713 + 3546, + 3550 ], "loc": { "start": { - "line": 153, + "line": 146, "column": 41 }, "end": { - "line": 153, + "line": 146, "column": 45 } } @@ -6988,31 +6678,31 @@ "type": "Identifier", "name": "tf", "range": [ - 3714, - 3716 + 3551, + 3553 ], "loc": { "start": { - "line": 153, + "line": 146, "column": 46 }, "end": { - "line": 153, + "line": 146, "column": 48 } } }, "range": [ - 3709, - 3716 + 3546, + 3553 ], "loc": { "start": { - "line": 153, + "line": 146, "column": 41 }, "end": { - "line": 153, + "line": 146, "column": 48 } } @@ -7020,79 +6710,79 @@ { "type": "ThisExpression", "range": [ - 3718, - 3722 + 3555, + 3559 ], "loc": { "start": { - "line": 153, + "line": 146, "column": 50 }, "end": { - "line": 153, + "line": 146, "column": 54 } } } ], "range": [ - 3680, - 3723 + 3517, + 3560 ], "loc": { "start": { - "line": 153, + "line": 146, "column": 12 }, "end": { - "line": 153, + "line": 146, "column": 55 } } }, "range": [ - 3680, - 3724 + 3517, + 3561 ], "loc": { "start": { - "line": 153, + "line": 146, "column": 12 }, "end": { - "line": 153, + "line": 146, "column": 56 } } } ], "range": [ - 3666, - 3734 + 3503, + 3571 ], "loc": { "start": { - "line": 152, + "line": 145, "column": 31 }, "end": { - "line": 154, + "line": 147, "column": 9 } } }, "alternate": null, "range": [ - 3643, - 3734 + 3480, + 3571 ], "loc": { "start": { - "line": 152, + "line": 145, "column": 8 }, "end": { - "line": 154, + "line": 147, "column": 9 } } @@ -7107,16 +6797,16 @@ "object": { "type": "ThisExpression", "range": [ - 3744, - 3748 + 3581, + 3585 ], "loc": { "start": { - "line": 156, + "line": 149, "column": 8 }, "end": { - "line": 156, + "line": 149, "column": 12 } } @@ -7125,62 +6815,62 @@ "type": "Identifier", "name": "setWidth", "range": [ - 3749, - 3757 + 3586, + 3594 ], "loc": { "start": { - "line": 156, + "line": 149, "column": 13 }, "end": { - "line": 156, + "line": 149, "column": 21 } } }, "range": [ - 3744, - 3757 + 3581, + 3594 ], "loc": { "start": { - "line": 156, + "line": 149, "column": 8 }, "end": { - "line": 156, + "line": 149, "column": 21 } } }, "arguments": [], "range": [ - 3744, - 3759 + 3581, + 3596 ], "loc": { "start": { - "line": 156, + "line": 149, "column": 8 }, "end": { - "line": 156, + "line": 149, "column": 23 } } }, "range": [ - 3744, - 3760 + 3581, + 3597 ], "loc": { "start": { - "line": 156, + "line": 149, "column": 8 }, "end": { - "line": 156, + "line": 149, "column": 24 } } @@ -7202,16 +6892,16 @@ "object": { "type": "ThisExpression", "range": [ - 3769, - 3773 + 3606, + 3610 ], "loc": { "start": { - "line": 157, + "line": 150, "column": 8 }, "end": { - "line": 157, + "line": 150, "column": 12 } } @@ -7220,31 +6910,31 @@ "type": "Identifier", "name": "cont", "range": [ - 3774, - 3778 + 3611, + 3615 ], "loc": { "start": { - "line": 157, + "line": 150, "column": 13 }, "end": { - "line": 157, + "line": 150, "column": 17 } } }, "range": [ - 3769, - 3778 + 3606, + 3615 ], "loc": { "start": { - "line": 157, + "line": 150, "column": 8 }, "end": { - "line": 157, + "line": 150, "column": 17 } } @@ -7253,31 +6943,31 @@ "type": "Identifier", "name": "style", "range": [ - 3779, - 3784 + 3616, + 3621 ], "loc": { "start": { - "line": 157, + "line": 150, "column": 18 }, "end": { - "line": 157, + "line": 150, "column": 23 } } }, "range": [ - 3769, - 3784 + 3606, + 3621 ], "loc": { "start": { - "line": 157, + "line": 150, "column": 8 }, "end": { - "line": 157, + "line": 150, "column": 23 } } @@ -7286,31 +6976,31 @@ "type": "Identifier", "name": "display", "range": [ - 3785, - 3792 + 3622, + 3629 ], "loc": { "start": { - "line": 157, + "line": 150, "column": 24 }, "end": { - "line": 157, + "line": 150, "column": 31 } } }, "range": [ - 3769, - 3792 + 3606, + 3629 ], "loc": { "start": { - "line": 157, + "line": 150, "column": 8 }, "end": { - "line": 157, + "line": 150, "column": 31 } } @@ -7320,46 +7010,46 @@ "value": "block", "raw": "'block'", "range": [ - 3795, - 3802 + 3632, + 3639 ], "loc": { "start": { - "line": 157, + "line": 150, "column": 34 }, "end": { - "line": 157, + "line": 150, "column": 41 } } }, "range": [ - 3769, - 3802 + 3606, + 3639 ], "loc": { "start": { - "line": 157, + "line": 150, "column": 8 }, "end": { - "line": 157, + "line": 150, "column": 41 } } }, "range": [ - 3769, - 3803 + 3606, + 3640 ], "loc": { "start": { - "line": 157, + "line": 150, "column": 8 }, "end": { - "line": 157, + "line": 150, "column": 42 } } @@ -7372,16 +7062,16 @@ "object": { "type": "ThisExpression", "range": [ - 3817, - 3821 + 3654, + 3658 ], "loc": { "start": { - "line": 159, + "line": 152, "column": 12 }, "end": { - "line": 159, + "line": 152, "column": 16 } } @@ -7390,31 +7080,31 @@ "type": "Identifier", "name": "onAfterShow", "range": [ - 3822, - 3833 + 3659, + 3670 ], "loc": { "start": { - "line": 159, + "line": 152, "column": 17 }, "end": { - "line": 159, + "line": 152, "column": 28 } } }, "range": [ - 3817, - 3833 + 3654, + 3670 ], "loc": { "start": { - "line": 159, + "line": 152, "column": 12 }, "end": { - "line": 159, + "line": 152, "column": 28 } } @@ -7435,16 +7125,16 @@ "object": { "type": "ThisExpression", "range": [ - 3849, - 3853 + 3686, + 3690 ], "loc": { "start": { - "line": 160, + "line": 153, "column": 12 }, "end": { - "line": 160, + "line": 153, "column": 16 } } @@ -7453,31 +7143,31 @@ "type": "Identifier", "name": "onAfterShow", "range": [ - 3854, - 3865 + 3691, + 3702 ], "loc": { "start": { - "line": 160, + "line": 153, "column": 17 }, "end": { - "line": 160, + "line": 153, "column": 28 } } }, "range": [ - 3849, - 3865 + 3686, + 3702 ], "loc": { "start": { - "line": 160, + "line": 153, "column": 12 }, "end": { - "line": 160, + "line": 153, "column": 28 } } @@ -7486,31 +7176,31 @@ "type": "Identifier", "name": "call", "range": [ - 3866, - 3870 + 3703, + 3707 ], "loc": { "start": { - "line": 160, + "line": 153, "column": 29 }, "end": { - "line": 160, + "line": 153, "column": 33 } } }, "range": [ - 3849, - 3870 + 3686, + 3707 ], "loc": { "start": { - "line": 160, + "line": 153, "column": 12 }, "end": { - "line": 160, + "line": 153, "column": 33 } } @@ -7521,16 +7211,16 @@ "value": null, "raw": "null", "range": [ - 3871, - 3875 + 3708, + 3712 ], "loc": { "start": { - "line": 160, + "line": 153, "column": 34 }, "end": { - "line": 160, + "line": 153, "column": 38 } } @@ -7541,16 +7231,16 @@ "object": { "type": "ThisExpression", "range": [ - 3877, - 3881 + 3714, + 3718 ], "loc": { "start": { - "line": 160, + "line": 153, "column": 40 }, "end": { - "line": 160, + "line": 153, "column": 44 } } @@ -7559,31 +7249,31 @@ "type": "Identifier", "name": "tf", "range": [ - 3882, - 3884 + 3719, + 3721 ], "loc": { "start": { - "line": 160, + "line": 153, "column": 45 }, "end": { - "line": 160, + "line": 153, "column": 47 } } }, "range": [ - 3877, - 3884 + 3714, + 3721 ], "loc": { "start": { - "line": 160, + "line": 153, "column": 40 }, "end": { - "line": 160, + "line": 153, "column": 47 } } @@ -7591,95 +7281,95 @@ { "type": "ThisExpression", "range": [ - 3886, - 3890 + 3723, + 3727 ], "loc": { "start": { - "line": 160, + "line": 153, "column": 49 }, "end": { - "line": 160, + "line": 153, "column": 53 } } } ], "range": [ - 3849, - 3891 + 3686, + 3728 ], "loc": { "start": { - "line": 160, + "line": 153, "column": 12 }, "end": { - "line": 160, + "line": 153, "column": 54 } } }, "range": [ - 3849, - 3892 + 3686, + 3729 ], "loc": { "start": { - "line": 160, + "line": 153, "column": 12 }, "end": { - "line": 160, + "line": 153, "column": 55 } } } ], "range": [ - 3835, - 3902 + 3672, + 3739 ], "loc": { "start": { - "line": 159, + "line": 152, "column": 30 }, "end": { - "line": 161, + "line": 154, "column": 9 } } }, "alternate": null, "range": [ - 3813, - 3902 + 3650, + 3739 ], "loc": { "start": { - "line": 159, + "line": 152, "column": 8 }, "end": { - "line": 161, + "line": 154, "column": 9 } } } ], "range": [ - 3548, - 3908 + 3385, + 3745 ], "loc": { "start": { - "line": 147, + "line": 140, "column": 11 }, "end": { - "line": 162, + "line": 155, "column": 5 } } @@ -7687,16 +7377,16 @@ "generator": false, "expression": false, "range": [ - 3545, - 3908 + 3382, + 3745 ], "loc": { "start": { - "line": 147, + "line": 140, "column": 8 }, "end": { - "line": 162, + "line": 155, "column": 5 } } @@ -7704,16 +7394,16 @@ "kind": "method", "computed": false, "range": [ - 3541, - 3908 + 3378, + 3745 ], "loc": { "start": { - "line": 147, + "line": 140, "column": 4 }, "end": { - "line": 162, + "line": 155, "column": 5 } }, @@ -7722,16 +7412,16 @@ "type": "Block", "value": "*\n * Show no results message\n ", "range": [ - 3494, - 3536 + 3331, + 3373 ], "loc": { "start": { - "line": 144, + "line": 137, "column": 4 }, "end": { - "line": 146, + "line": 139, "column": 7 } } @@ -7742,16 +7432,16 @@ "type": "Block", "value": "*\n * Hide no results message\n ", "range": [ - 3914, - 3956 + 3751, + 3793 ], "loc": { "start": { - "line": 164, + "line": 157, "column": 4 }, "end": { - "line": 166, + "line": 159, "column": 7 } } @@ -7765,16 +7455,16 @@ "type": "Identifier", "name": "hide", "range": [ - 3961, - 3965 + 3798, + 3802 ], "loc": { "start": { - "line": 167, + "line": 160, "column": 4 }, "end": { - "line": 167, + "line": 160, "column": 8 } } @@ -7800,16 +7490,16 @@ "object": { "type": "ThisExpression", "range": [ - 3983, - 3987 + 3820, + 3824 ], "loc": { "start": { - "line": 168, + "line": 161, "column": 13 }, "end": { - "line": 168, + "line": 161, "column": 17 } } @@ -7818,47 +7508,47 @@ "type": "Identifier", "name": "initialized", "range": [ - 3988, - 3999 + 3825, + 3836 ], "loc": { "start": { - "line": 168, + "line": 161, "column": 18 }, "end": { - "line": 168, + "line": 161, "column": 29 } } }, "range": [ - 3983, - 3999 + 3820, + 3836 ], "loc": { "start": { - "line": 168, + "line": 161, "column": 13 }, "end": { - "line": 168, + "line": 161, "column": 29 } } }, "prefix": true, "range": [ - 3982, - 3999 + 3819, + 3836 ], "loc": { "start": { - "line": 168, + "line": 161, "column": 12 }, "end": { - "line": 168, + "line": 161, "column": 29 } } @@ -7874,16 +7564,16 @@ "object": { "type": "ThisExpression", "range": [ - 4004, - 4008 + 3841, + 3845 ], "loc": { "start": { - "line": 168, + "line": 161, "column": 34 }, "end": { - "line": 168, + "line": 161, "column": 38 } } @@ -7892,78 +7582,78 @@ "type": "Identifier", "name": "isEnabled", "range": [ - 4009, - 4018 + 3846, + 3855 ], "loc": { "start": { - "line": 168, + "line": 161, "column": 39 }, "end": { - "line": 168, + "line": 161, "column": 48 } } }, "range": [ - 4004, - 4018 + 3841, + 3855 ], "loc": { "start": { - "line": 168, + "line": 161, "column": 34 }, "end": { - "line": 168, + "line": 161, "column": 48 } } }, "arguments": [], "range": [ - 4004, - 4020 + 3841, + 3857 ], "loc": { "start": { - "line": 168, + "line": 161, "column": 34 }, "end": { - "line": 168, + "line": 161, "column": 50 } } }, "prefix": true, "range": [ - 4003, - 4020 + 3840, + 3857 ], "loc": { "start": { - "line": 168, + "line": 161, "column": 33 }, "end": { - "line": 168, + "line": 161, "column": 50 } } }, "range": [ - 3982, - 4020 + 3819, + 3857 ], "loc": { "start": { - "line": 168, + "line": 161, "column": 12 }, "end": { - "line": 168, + "line": 161, "column": 50 } } @@ -7975,48 +7665,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 4036, - 4043 + 3873, + 3880 ], "loc": { "start": { - "line": 169, + "line": 162, "column": 12 }, "end": { - "line": 169, + "line": 162, "column": 19 } } } ], "range": [ - 4022, - 4053 + 3859, + 3890 ], "loc": { "start": { - "line": 168, + "line": 161, "column": 52 }, "end": { - "line": 170, + "line": 163, "column": 9 } } }, "alternate": null, "range": [ - 3978, - 4053 + 3815, + 3890 ], "loc": { "start": { - "line": 168, + "line": 161, "column": 8 }, "end": { - "line": 170, + "line": 163, "column": 9 } } @@ -8029,16 +7719,16 @@ "object": { "type": "ThisExpression", "range": [ - 4067, - 4071 + 3904, + 3908 ], "loc": { "start": { - "line": 172, + "line": 165, "column": 12 }, "end": { - "line": 172, + "line": 165, "column": 16 } } @@ -8047,31 +7737,31 @@ "type": "Identifier", "name": "onBeforeHide", "range": [ - 4072, - 4084 + 3909, + 3921 ], "loc": { "start": { - "line": 172, + "line": 165, "column": 17 }, "end": { - "line": 172, + "line": 165, "column": 29 } } }, "range": [ - 4067, - 4084 + 3904, + 3921 ], "loc": { "start": { - "line": 172, + "line": 165, "column": 12 }, "end": { - "line": 172, + "line": 165, "column": 29 } } @@ -8092,16 +7782,16 @@ "object": { "type": "ThisExpression", "range": [ - 4100, - 4104 + 3937, + 3941 ], "loc": { "start": { - "line": 173, + "line": 166, "column": 12 }, "end": { - "line": 173, + "line": 166, "column": 16 } } @@ -8110,31 +7800,31 @@ "type": "Identifier", "name": "onBeforeHide", "range": [ - 4105, - 4117 + 3942, + 3954 ], "loc": { "start": { - "line": 173, + "line": 166, "column": 17 }, "end": { - "line": 173, + "line": 166, "column": 29 } } }, "range": [ - 4100, - 4117 + 3937, + 3954 ], "loc": { "start": { - "line": 173, + "line": 166, "column": 12 }, "end": { - "line": 173, + "line": 166, "column": 29 } } @@ -8143,31 +7833,31 @@ "type": "Identifier", "name": "call", "range": [ - 4118, - 4122 + 3955, + 3959 ], "loc": { "start": { - "line": 173, + "line": 166, "column": 30 }, "end": { - "line": 173, + "line": 166, "column": 34 } } }, "range": [ - 4100, - 4122 + 3937, + 3959 ], "loc": { "start": { - "line": 173, + "line": 166, "column": 12 }, "end": { - "line": 173, + "line": 166, "column": 34 } } @@ -8178,16 +7868,16 @@ "value": null, "raw": "null", "range": [ - 4123, - 4127 + 3960, + 3964 ], "loc": { "start": { - "line": 173, + "line": 166, "column": 35 }, "end": { - "line": 173, + "line": 166, "column": 39 } } @@ -8198,16 +7888,16 @@ "object": { "type": "ThisExpression", "range": [ - 4129, - 4133 + 3966, + 3970 ], "loc": { "start": { - "line": 173, + "line": 166, "column": 41 }, "end": { - "line": 173, + "line": 166, "column": 45 } } @@ -8216,31 +7906,31 @@ "type": "Identifier", "name": "tf", "range": [ - 4134, - 4136 + 3971, + 3973 ], "loc": { "start": { - "line": 173, + "line": 166, "column": 46 }, "end": { - "line": 173, + "line": 166, "column": 48 } } }, "range": [ - 4129, - 4136 + 3966, + 3973 ], "loc": { "start": { - "line": 173, + "line": 166, "column": 41 }, "end": { - "line": 173, + "line": 166, "column": 48 } } @@ -8248,79 +7938,79 @@ { "type": "ThisExpression", "range": [ - 4138, - 4142 + 3975, + 3979 ], "loc": { "start": { - "line": 173, + "line": 166, "column": 50 }, "end": { - "line": 173, + "line": 166, "column": 54 } } } ], "range": [ - 4100, - 4143 + 3937, + 3980 ], "loc": { "start": { - "line": 173, + "line": 166, "column": 12 }, "end": { - "line": 173, + "line": 166, "column": 55 } } }, "range": [ - 4100, - 4144 + 3937, + 3981 ], "loc": { "start": { - "line": 173, + "line": 166, "column": 12 }, "end": { - "line": 173, + "line": 166, "column": 56 } } } ], "range": [ - 4086, - 4154 + 3923, + 3991 ], "loc": { "start": { - "line": 172, + "line": 165, "column": 31 }, "end": { - "line": 174, + "line": 167, "column": 9 } } }, "alternate": null, "range": [ - 4063, - 4154 + 3900, + 3991 ], "loc": { "start": { - "line": 172, + "line": 165, "column": 8 }, "end": { - "line": 174, + "line": 167, "column": 9 } } @@ -8342,16 +8032,16 @@ "object": { "type": "ThisExpression", "range": [ - 4164, - 4168 + 4001, + 4005 ], "loc": { "start": { - "line": 176, + "line": 169, "column": 8 }, "end": { - "line": 176, + "line": 169, "column": 12 } } @@ -8360,31 +8050,31 @@ "type": "Identifier", "name": "cont", "range": [ - 4169, - 4173 + 4006, + 4010 ], "loc": { "start": { - "line": 176, + "line": 169, "column": 13 }, "end": { - "line": 176, + "line": 169, "column": 17 } } }, "range": [ - 4164, - 4173 + 4001, + 4010 ], "loc": { "start": { - "line": 176, + "line": 169, "column": 8 }, "end": { - "line": 176, + "line": 169, "column": 17 } } @@ -8393,31 +8083,31 @@ "type": "Identifier", "name": "style", "range": [ - 4174, - 4179 + 4011, + 4016 ], "loc": { "start": { - "line": 176, + "line": 169, "column": 18 }, "end": { - "line": 176, + "line": 169, "column": 23 } } }, "range": [ - 4164, - 4179 + 4001, + 4016 ], "loc": { "start": { - "line": 176, + "line": 169, "column": 8 }, "end": { - "line": 176, + "line": 169, "column": 23 } } @@ -8426,31 +8116,31 @@ "type": "Identifier", "name": "display", "range": [ - 4180, - 4187 + 4017, + 4024 ], "loc": { "start": { - "line": 176, + "line": 169, "column": 24 }, "end": { - "line": 176, + "line": 169, "column": 31 } } }, "range": [ - 4164, - 4187 + 4001, + 4024 ], "loc": { "start": { - "line": 176, + "line": 169, "column": 8 }, "end": { - "line": 176, + "line": 169, "column": 31 } } @@ -8459,46 +8149,46 @@ "type": "Identifier", "name": "NONE", "range": [ - 4190, - 4194 + 4027, + 4031 ], "loc": { "start": { - "line": 176, + "line": 169, "column": 34 }, "end": { - "line": 176, + "line": 169, "column": 38 } } }, "range": [ - 4164, - 4194 + 4001, + 4031 ], "loc": { "start": { - "line": 176, + "line": 169, "column": 8 }, "end": { - "line": 176, + "line": 169, "column": 38 } } }, "range": [ - 4164, - 4195 + 4001, + 4032 ], "loc": { "start": { - "line": 176, + "line": 169, "column": 8 }, "end": { - "line": 176, + "line": 169, "column": 39 } } @@ -8511,16 +8201,16 @@ "object": { "type": "ThisExpression", "range": [ - 4209, - 4213 + 4046, + 4050 ], "loc": { "start": { - "line": 178, + "line": 171, "column": 12 }, "end": { - "line": 178, + "line": 171, "column": 16 } } @@ -8529,31 +8219,31 @@ "type": "Identifier", "name": "onAfterHide", "range": [ - 4214, - 4225 + 4051, + 4062 ], "loc": { "start": { - "line": 178, + "line": 171, "column": 17 }, "end": { - "line": 178, + "line": 171, "column": 28 } } }, "range": [ - 4209, - 4225 + 4046, + 4062 ], "loc": { "start": { - "line": 178, + "line": 171, "column": 12 }, "end": { - "line": 178, + "line": 171, "column": 28 } } @@ -8574,16 +8264,16 @@ "object": { "type": "ThisExpression", "range": [ - 4241, - 4245 + 4078, + 4082 ], "loc": { "start": { - "line": 179, + "line": 172, "column": 12 }, "end": { - "line": 179, + "line": 172, "column": 16 } } @@ -8592,31 +8282,31 @@ "type": "Identifier", "name": "onAfterHide", "range": [ - 4246, - 4257 + 4083, + 4094 ], "loc": { "start": { - "line": 179, + "line": 172, "column": 17 }, "end": { - "line": 179, + "line": 172, "column": 28 } } }, "range": [ - 4241, - 4257 + 4078, + 4094 ], "loc": { "start": { - "line": 179, + "line": 172, "column": 12 }, "end": { - "line": 179, + "line": 172, "column": 28 } } @@ -8625,31 +8315,31 @@ "type": "Identifier", "name": "call", "range": [ - 4258, - 4262 + 4095, + 4099 ], "loc": { "start": { - "line": 179, + "line": 172, "column": 29 }, "end": { - "line": 179, + "line": 172, "column": 33 } } }, "range": [ - 4241, - 4262 + 4078, + 4099 ], "loc": { "start": { - "line": 179, + "line": 172, "column": 12 }, "end": { - "line": 179, + "line": 172, "column": 33 } } @@ -8660,16 +8350,16 @@ "value": null, "raw": "null", "range": [ - 4263, - 4267 + 4100, + 4104 ], "loc": { "start": { - "line": 179, + "line": 172, "column": 34 }, "end": { - "line": 179, + "line": 172, "column": 38 } } @@ -8680,16 +8370,16 @@ "object": { "type": "ThisExpression", "range": [ - 4269, - 4273 + 4106, + 4110 ], "loc": { "start": { - "line": 179, + "line": 172, "column": 40 }, "end": { - "line": 179, + "line": 172, "column": 44 } } @@ -8698,31 +8388,31 @@ "type": "Identifier", "name": "tf", "range": [ - 4274, - 4276 + 4111, + 4113 ], "loc": { "start": { - "line": 179, + "line": 172, "column": 45 }, "end": { - "line": 179, + "line": 172, "column": 47 } } }, "range": [ - 4269, - 4276 + 4106, + 4113 ], "loc": { "start": { - "line": 179, + "line": 172, "column": 40 }, "end": { - "line": 179, + "line": 172, "column": 47 } } @@ -8730,95 +8420,95 @@ { "type": "ThisExpression", "range": [ - 4278, - 4282 + 4115, + 4119 ], "loc": { "start": { - "line": 179, + "line": 172, "column": 49 }, "end": { - "line": 179, + "line": 172, "column": 53 } } } ], "range": [ - 4241, - 4283 + 4078, + 4120 ], "loc": { "start": { - "line": 179, + "line": 172, "column": 12 }, "end": { - "line": 179, + "line": 172, "column": 54 } } }, "range": [ - 4241, - 4284 + 4078, + 4121 ], "loc": { "start": { - "line": 179, + "line": 172, "column": 12 }, "end": { - "line": 179, + "line": 172, "column": 55 } } } ], "range": [ - 4227, - 4294 + 4064, + 4131 ], "loc": { "start": { - "line": 178, + "line": 171, "column": 30 }, "end": { - "line": 180, + "line": 173, "column": 9 } } }, "alternate": null, "range": [ - 4205, - 4294 + 4042, + 4131 ], "loc": { "start": { - "line": 178, + "line": 171, "column": 8 }, "end": { - "line": 180, + "line": 173, "column": 9 } } } ], "range": [ - 3968, - 4300 + 3805, + 4137 ], "loc": { "start": { - "line": 167, + "line": 160, "column": 11 }, "end": { - "line": 181, + "line": 174, "column": 5 } } @@ -8826,16 +8516,16 @@ "generator": false, "expression": false, "range": [ - 3965, - 4300 + 3802, + 4137 ], "loc": { "start": { - "line": 167, + "line": 160, "column": 8 }, "end": { - "line": 181, + "line": 174, "column": 5 } } @@ -8843,16 +8533,16 @@ "kind": "method", "computed": false, "range": [ - 3961, - 4300 + 3798, + 4137 ], "loc": { "start": { - "line": 167, + "line": 160, "column": 4 }, "end": { - "line": 181, + "line": 174, "column": 5 } }, @@ -8861,16 +8551,16 @@ "type": "Block", "value": "*\n * Hide no results message\n ", "range": [ - 3914, - 3956 + 3751, + 3793 ], "loc": { "start": { - "line": 164, + "line": 157, "column": 4 }, "end": { - "line": 166, + "line": 159, "column": 7 } } @@ -8881,16 +8571,16 @@ "type": "Block", "value": "*\n * Sets no results container width\n * @private\n ", "range": [ - 4306, - 4372 + 4143, + 4209 ], "loc": { "start": { - "line": 183, + "line": 176, "column": 4 }, "end": { - "line": 186, + "line": 179, "column": 7 } } @@ -8904,16 +8594,16 @@ "type": "Identifier", "name": "setWidth", "range": [ - 4377, - 4385 + 4214, + 4222 ], "loc": { "start": { - "line": 187, + "line": 180, "column": 4 }, "end": { - "line": 187, + "line": 180, "column": 12 } } @@ -8942,16 +8632,16 @@ "object": { "type": "ThisExpression", "range": [ - 4403, - 4407 + 4240, + 4244 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 13 }, "end": { - "line": 188, + "line": 181, "column": 17 } } @@ -8960,47 +8650,47 @@ "type": "Identifier", "name": "initialized", "range": [ - 4408, - 4419 + 4245, + 4256 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 18 }, "end": { - "line": 188, + "line": 181, "column": 29 } } }, "range": [ - 4403, - 4419 + 4240, + 4256 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 13 }, "end": { - "line": 188, + "line": 181, "column": 29 } } }, "prefix": true, "range": [ - 4402, - 4419 + 4239, + 4256 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 12 }, "end": { - "line": 188, + "line": 181, "column": 29 } } @@ -9011,16 +8701,16 @@ "object": { "type": "ThisExpression", "range": [ - 4423, - 4427 + 4260, + 4264 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 33 }, "end": { - "line": 188, + "line": 181, "column": 37 } } @@ -9029,46 +8719,46 @@ "type": "Identifier", "name": "isExternal", "range": [ - 4428, - 4438 + 4265, + 4275 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 38 }, "end": { - "line": 188, + "line": 181, "column": 48 } } }, "range": [ - 4423, - 4438 + 4260, + 4275 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 33 }, "end": { - "line": 188, + "line": 181, "column": 48 } } }, "range": [ - 4402, - 4438 + 4239, + 4275 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 12 }, "end": { - "line": 188, + "line": 181, "column": 48 } } @@ -9084,16 +8774,16 @@ "object": { "type": "ThisExpression", "range": [ - 4443, - 4447 + 4280, + 4284 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 53 }, "end": { - "line": 188, + "line": 181, "column": 57 } } @@ -9102,78 +8792,78 @@ "type": "Identifier", "name": "isEnabled", "range": [ - 4448, - 4457 + 4285, + 4294 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 58 }, "end": { - "line": 188, + "line": 181, "column": 67 } } }, "range": [ - 4443, - 4457 + 4280, + 4294 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 53 }, "end": { - "line": 188, + "line": 181, "column": 67 } } }, "arguments": [], "range": [ - 4443, - 4459 + 4280, + 4296 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 53 }, "end": { - "line": 188, + "line": 181, "column": 69 } } }, "prefix": true, "range": [ - 4442, - 4459 + 4279, + 4296 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 52 }, "end": { - "line": 188, + "line": 181, "column": 69 } } }, "range": [ - 4402, - 4459 + 4239, + 4296 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 12 }, "end": { - "line": 188, + "line": 181, "column": 69 } } @@ -9185,48 +8875,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 4475, - 4482 + 4312, + 4319 ], "loc": { "start": { - "line": 189, + "line": 182, "column": 12 }, "end": { - "line": 189, + "line": 182, "column": 19 } } } ], "range": [ - 4461, - 4492 + 4298, + 4329 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 71 }, "end": { - "line": 190, + "line": 183, "column": 9 } } }, "alternate": null, "range": [ - 4398, - 4492 + 4235, + 4329 ], "loc": { "start": { - "line": 188, + "line": 181, "column": 8 }, "end": { - "line": 190, + "line": 183, "column": 9 } } @@ -9240,16 +8930,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4505, - 4507 + 4342, + 4344 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 12 }, "end": { - "line": 191, + "line": 184, "column": 14 } } @@ -9260,16 +8950,16 @@ "object": { "type": "ThisExpression", "range": [ - 4510, - 4514 + 4347, + 4351 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 17 }, "end": { - "line": 191, + "line": 184, "column": 21 } } @@ -9278,46 +8968,46 @@ "type": "Identifier", "name": "tf", "range": [ - 4515, - 4517 + 4352, + 4354 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 22 }, "end": { - "line": 191, + "line": 184, "column": 24 } } }, "range": [ - 4510, - 4517 + 4347, + 4354 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 17 }, "end": { - "line": 191, + "line": 184, "column": 24 } } }, "range": [ - 4505, - 4517 + 4342, + 4354 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 12 }, "end": { - "line": 191, + "line": 184, "column": 24 } } @@ -9325,16 +9015,16 @@ ], "kind": "let", "range": [ - 4501, - 4518 + 4338, + 4355 ], "loc": { "start": { - "line": 191, + "line": 184, "column": 8 }, "end": { - "line": 191, + "line": 184, "column": 25 } } @@ -9348,16 +9038,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4531, - 4533 + 4368, + 4370 ], "loc": { "start": { - "line": 192, + "line": 185, "column": 12 }, "end": { - "line": 192, + "line": 185, "column": 14 } } @@ -9366,31 +9056,31 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 4534, - 4544 + 4371, + 4381 ], "loc": { "start": { - "line": 192, + "line": 185, "column": 15 }, "end": { - "line": 192, + "line": 185, "column": 25 } } }, "range": [ - 4531, - 4544 + 4368, + 4381 ], "loc": { "start": { - "line": 192, + "line": 185, "column": 12 }, "end": { - "line": 192, + "line": 185, "column": 25 } } @@ -9407,16 +9097,16 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 4564, - 4574 + 4401, + 4411 ], "loc": { "start": { - "line": 193, + "line": 186, "column": 16 }, "end": { - "line": 193, + "line": 186, "column": 26 } } @@ -9430,16 +9120,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4577, - 4579 + 4414, + 4416 ], "loc": { "start": { - "line": 193, + "line": 186, "column": 29 }, "end": { - "line": 193, + "line": 186, "column": 31 } } @@ -9448,31 +9138,31 @@ "type": "Identifier", "name": "feature", "range": [ - 4580, - 4587 + 4417, + 4424 ], "loc": { "start": { - "line": 193, + "line": 186, "column": 32 }, "end": { - "line": 193, + "line": 186, "column": 39 } } }, "range": [ - 4577, - 4587 + 4414, + 4424 ], "loc": { "start": { - "line": 193, + "line": 186, "column": 29 }, "end": { - "line": 193, + "line": 186, "column": 39 } } @@ -9483,47 +9173,47 @@ "value": "gridLayout", "raw": "'gridLayout'", "range": [ - 4588, - 4600 + 4425, + 4437 ], "loc": { "start": { - "line": 193, + "line": 186, "column": 40 }, "end": { - "line": 193, + "line": 186, "column": 52 } } } ], "range": [ - 4577, - 4601 + 4414, + 4438 ], "loc": { "start": { - "line": 193, + "line": 186, "column": 29 }, "end": { - "line": 193, + "line": 186, "column": 53 } } }, "range": [ - 4564, - 4601 + 4401, + 4438 ], "loc": { "start": { - "line": 193, + "line": 186, "column": 16 }, "end": { - "line": 193, + "line": 186, "column": 53 } } @@ -9531,16 +9221,16 @@ ], "kind": "let", "range": [ - 4560, - 4602 + 4397, + 4439 ], "loc": { "start": { - "line": 193, + "line": 186, "column": 12 }, "end": { - "line": 193, + "line": 186, "column": 54 } } @@ -9562,16 +9252,16 @@ "object": { "type": "ThisExpression", "range": [ - 4615, - 4619 + 4452, + 4456 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 12 }, "end": { - "line": 194, + "line": 187, "column": 16 } } @@ -9580,31 +9270,31 @@ "type": "Identifier", "name": "cont", "range": [ - 4620, - 4624 + 4457, + 4461 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 17 }, "end": { - "line": 194, + "line": 187, "column": 21 } } }, "range": [ - 4615, - 4624 + 4452, + 4461 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 12 }, "end": { - "line": 194, + "line": 187, "column": 21 } } @@ -9613,31 +9303,31 @@ "type": "Identifier", "name": "style", "range": [ - 4625, - 4630 + 4462, + 4467 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 22 }, "end": { - "line": 194, + "line": 187, "column": 27 } } }, "range": [ - 4615, - 4630 + 4452, + 4467 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 12 }, "end": { - "line": 194, + "line": 187, "column": 27 } } @@ -9646,31 +9336,31 @@ "type": "Identifier", "name": "width", "range": [ - 4631, - 4636 + 4468, + 4473 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 28 }, "end": { - "line": 194, + "line": 187, "column": 33 } } }, "range": [ - 4615, - 4636 + 4452, + 4473 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 12 }, "end": { - "line": 194, + "line": 187, "column": 33 } } @@ -9688,16 +9378,16 @@ "type": "Identifier", "name": "gridLayout", "range": [ - 4639, - 4649 + 4476, + 4486 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 36 }, "end": { - "line": 194, + "line": 187, "column": 46 } } @@ -9706,31 +9396,31 @@ "type": "Identifier", "name": "tblCont", "range": [ - 4650, - 4657 + 4487, + 4494 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 47 }, "end": { - "line": 194, + "line": 187, "column": 54 } } }, "range": [ - 4639, - 4657 + 4476, + 4494 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 36 }, "end": { - "line": 194, + "line": 187, "column": 54 } } @@ -9739,31 +9429,31 @@ "type": "Identifier", "name": "clientWidth", "range": [ - 4658, - 4669 + 4495, + 4506 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 55 }, "end": { - "line": 194, + "line": 187, "column": 66 } } }, "range": [ - 4639, - 4669 + 4476, + 4506 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 36 }, "end": { - "line": 194, + "line": 187, "column": 66 } } @@ -9773,77 +9463,77 @@ "value": "px", "raw": "'px'", "range": [ - 4672, - 4676 + 4509, + 4513 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 69 }, "end": { - "line": 194, + "line": 187, "column": 73 } } }, "range": [ - 4639, - 4676 + 4476, + 4513 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 36 }, "end": { - "line": 194, + "line": 187, "column": 73 } } }, "range": [ - 4615, - 4676 + 4452, + 4513 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 12 }, "end": { - "line": 194, + "line": 187, "column": 73 } } }, "range": [ - 4615, - 4677 + 4452, + 4514 ], "loc": { "start": { - "line": 194, + "line": 187, "column": 12 }, "end": { - "line": 194, + "line": 187, "column": 74 } } } ], "range": [ - 4546, - 4687 + 4383, + 4524 ], "loc": { "start": { - "line": 192, + "line": 185, "column": 27 }, "end": { - "line": 195, + "line": 188, "column": 9 } } @@ -9868,16 +9558,16 @@ "object": { "type": "ThisExpression", "range": [ - 4707, - 4711 + 4544, + 4548 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 12 }, "end": { - "line": 196, + "line": 189, "column": 16 } } @@ -9886,31 +9576,31 @@ "type": "Identifier", "name": "cont", "range": [ - 4712, - 4716 + 4549, + 4553 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 17 }, "end": { - "line": 196, + "line": 189, "column": 21 } } }, "range": [ - 4707, - 4716 + 4544, + 4553 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 12 }, "end": { - "line": 196, + "line": 189, "column": 21 } } @@ -9919,31 +9609,31 @@ "type": "Identifier", "name": "style", "range": [ - 4717, - 4722 + 4554, + 4559 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 22 }, "end": { - "line": 196, + "line": 189, "column": 27 } } }, "range": [ - 4707, - 4722 + 4544, + 4559 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 12 }, "end": { - "line": 196, + "line": 189, "column": 27 } } @@ -9952,31 +9642,31 @@ "type": "Identifier", "name": "width", "range": [ - 4723, - 4728 + 4560, + 4565 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 28 }, "end": { - "line": 196, + "line": 189, "column": 33 } } }, "range": [ - 4707, - 4728 + 4544, + 4565 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 12 }, "end": { - "line": 196, + "line": 189, "column": 33 } } @@ -9996,16 +9686,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4732, - 4734 + 4569, + 4571 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 37 }, "end": { - "line": 196, + "line": 189, "column": 39 } } @@ -10014,31 +9704,31 @@ "type": "Identifier", "name": "tbl", "range": [ - 4735, - 4738 + 4572, + 4575 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 40 }, "end": { - "line": 196, + "line": 189, "column": 43 } } }, "range": [ - 4732, - 4738 + 4569, + 4575 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 37 }, "end": { - "line": 196, + "line": 189, "column": 43 } } @@ -10047,31 +9737,31 @@ "type": "Identifier", "name": "tHead", "range": [ - 4739, - 4744 + 4576, + 4581 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 44 }, "end": { - "line": 196, + "line": 189, "column": 49 } } }, "range": [ - 4732, - 4744 + 4569, + 4581 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 37 }, "end": { - "line": 196, + "line": 189, "column": 49 } } @@ -10089,16 +9779,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4747, - 4749 + 4584, + 4586 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 52 }, "end": { - "line": 196, + "line": 189, "column": 54 } } @@ -10107,31 +9797,31 @@ "type": "Identifier", "name": "tbl", "range": [ - 4750, - 4753 + 4587, + 4590 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 55 }, "end": { - "line": 196, + "line": 189, "column": 58 } } }, "range": [ - 4747, - 4753 + 4584, + 4590 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 52 }, "end": { - "line": 196, + "line": 189, "column": 58 } } @@ -10140,31 +9830,31 @@ "type": "Identifier", "name": "tHead", "range": [ - 4754, - 4759 + 4591, + 4596 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 59 }, "end": { - "line": 196, + "line": 189, "column": 64 } } }, "range": [ - 4747, - 4759 + 4584, + 4596 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 52 }, "end": { - "line": 196, + "line": 189, "column": 64 } } @@ -10173,31 +9863,31 @@ "type": "Identifier", "name": "clientWidth", "range": [ - 4760, - 4771 + 4597, + 4608 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 65 }, "end": { - "line": 196, + "line": 189, "column": 76 } } }, "range": [ - 4747, - 4771 + 4584, + 4608 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 52 }, "end": { - "line": 196, + "line": 189, "column": 76 } } @@ -10218,16 +9908,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4790, - 4792 + 4627, + 4629 ], "loc": { "start": { - "line": 197, + "line": 190, "column": 16 }, "end": { - "line": 197, + "line": 190, "column": 18 } } @@ -10236,31 +9926,31 @@ "type": "Identifier", "name": "tbl", "range": [ - 4793, - 4796 + 4630, + 4633 ], "loc": { "start": { - "line": 197, + "line": 190, "column": 19 }, "end": { - "line": 197, + "line": 190, "column": 22 } } }, "range": [ - 4790, - 4796 + 4627, + 4633 ], "loc": { "start": { - "line": 197, + "line": 190, "column": 16 }, "end": { - "line": 197, + "line": 190, "column": 22 } } @@ -10269,31 +9959,31 @@ "type": "Identifier", "name": "tBodies", "range": [ - 4797, - 4804 + 4634, + 4641 ], "loc": { "start": { - "line": 197, + "line": 190, "column": 23 }, "end": { - "line": 197, + "line": 190, "column": 30 } } }, "range": [ - 4790, - 4804 + 4627, + 4641 ], "loc": { "start": { - "line": 197, + "line": 190, "column": 16 }, "end": { - "line": 197, + "line": 190, "column": 30 } } @@ -10303,31 +9993,31 @@ "value": 0, "raw": "0", "range": [ - 4805, - 4806 + 4642, + 4643 ], "loc": { "start": { - "line": 197, + "line": 190, "column": 31 }, "end": { - "line": 197, + "line": 190, "column": 32 } } }, "range": [ - 4790, - 4807 + 4627, + 4644 ], "loc": { "start": { - "line": 197, + "line": 190, "column": 16 }, "end": { - "line": 197, + "line": 190, "column": 33 } } @@ -10336,46 +10026,46 @@ "type": "Identifier", "name": "clientWidth", "range": [ - 4808, - 4819 + 4645, + 4656 ], "loc": { "start": { - "line": 197, + "line": 190, "column": 34 }, "end": { - "line": 197, + "line": 190, "column": 45 } } }, "range": [ - 4790, - 4819 + 4627, + 4656 ], "loc": { "start": { - "line": 197, + "line": 190, "column": 16 }, "end": { - "line": 197, + "line": 190, "column": 45 } } }, "range": [ - 4732, - 4819 + 4569, + 4656 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 37 }, "end": { - "line": 197, + "line": 190, "column": 45 } } @@ -10385,108 +10075,108 @@ "value": "px", "raw": "'px'", "range": [ - 4823, - 4827 + 4660, + 4664 ], "loc": { "start": { - "line": 197, + "line": 190, "column": 49 }, "end": { - "line": 197, + "line": 190, "column": 53 } } }, "range": [ - 4731, - 4827 + 4568, + 4664 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 36 }, "end": { - "line": 197, + "line": 190, "column": 53 } } }, "range": [ - 4707, - 4827 + 4544, + 4664 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 12 }, "end": { - "line": 197, + "line": 190, "column": 53 } } }, "range": [ - 4707, - 4828 + 4544, + 4665 ], "loc": { "start": { - "line": 196, + "line": 189, "column": 12 }, "end": { - "line": 197, + "line": 190, "column": 54 } } } ], "range": [ - 4693, - 4838 + 4530, + 4675 ], "loc": { "start": { - "line": 195, + "line": 188, "column": 15 }, "end": { - "line": 198, + "line": 191, "column": 9 } } }, "range": [ - 4527, - 4838 + 4364, + 4675 ], "loc": { "start": { - "line": 192, + "line": 185, "column": 8 }, "end": { - "line": 198, + "line": 191, "column": 9 } } } ], "range": [ - 4388, - 4844 + 4225, + 4681 ], "loc": { "start": { - "line": 187, + "line": 180, "column": 15 }, "end": { - "line": 199, + "line": 192, "column": 5 } } @@ -10494,16 +10184,16 @@ "generator": false, "expression": false, "range": [ - 4385, - 4844 + 4222, + 4681 ], "loc": { "start": { - "line": 187, + "line": 180, "column": 12 }, "end": { - "line": 199, + "line": 192, "column": 5 } } @@ -10511,16 +10201,16 @@ "kind": "method", "computed": false, "range": [ - 4377, - 4844 + 4214, + 4681 ], "loc": { "start": { - "line": 187, + "line": 180, "column": 4 }, "end": { - "line": 199, + "line": 192, "column": 5 } }, @@ -10529,16 +10219,16 @@ "type": "Block", "value": "*\n * Sets no results container width\n * @private\n ", "range": [ - 4306, - 4372 + 4143, + 4209 ], "loc": { "start": { - "line": 183, + "line": 176, "column": 4 }, "end": { - "line": 186, + "line": 179, "column": 7 } } @@ -10549,16 +10239,16 @@ "type": "Block", "value": "*\n * Remove feature\n ", "range": [ - 4850, - 4883 + 4687, + 4720 ], "loc": { "start": { - "line": 201, + "line": 194, "column": 4 }, "end": { - "line": 203, + "line": 196, "column": 7 } } @@ -10572,16 +10262,16 @@ "type": "Identifier", "name": "destroy", "range": [ - 4888, - 4895 + 4725, + 4732 ], "loc": { "start": { - "line": 204, + "line": 197, "column": 4 }, "end": { - "line": 204, + "line": 197, "column": 11 } } @@ -10604,16 +10294,16 @@ "object": { "type": "ThisExpression", "range": [ - 4913, - 4917 + 4750, + 4754 ], "loc": { "start": { - "line": 205, + "line": 198, "column": 13 }, "end": { - "line": 205, + "line": 198, "column": 17 } } @@ -10622,47 +10312,47 @@ "type": "Identifier", "name": "initialized", "range": [ - 4918, - 4929 + 4755, + 4766 ], "loc": { "start": { - "line": 205, + "line": 198, "column": 18 }, "end": { - "line": 205, + "line": 198, "column": 29 } } }, "range": [ - 4913, - 4929 + 4750, + 4766 ], "loc": { "start": { - "line": 205, + "line": 198, "column": 13 }, "end": { - "line": 205, + "line": 198, "column": 29 } } }, "prefix": true, "range": [ - 4912, - 4929 + 4749, + 4766 ], "loc": { "start": { - "line": 205, + "line": 198, "column": 12 }, "end": { - "line": 205, + "line": 198, "column": 29 } } @@ -10674,48 +10364,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 4945, - 4952 + 4782, + 4789 ], "loc": { "start": { - "line": 206, + "line": 199, "column": 12 }, "end": { - "line": 206, + "line": 199, "column": 19 } } } ], "range": [ - 4931, - 4962 + 4768, + 4799 ], "loc": { "start": { - "line": 205, + "line": 198, "column": 31 }, "end": { - "line": 207, + "line": 200, "column": 9 } } }, "alternate": null, "range": [ - 4908, - 4962 + 4745, + 4799 ], "loc": { "start": { - "line": 205, + "line": 198, "column": 8 }, "end": { - "line": 207, + "line": 200, "column": 9 } } @@ -10728,16 +10418,16 @@ "type": "Identifier", "name": "removeElm", "range": [ - 4971, - 4980 + 4808, + 4817 ], "loc": { "start": { - "line": 208, + "line": 201, "column": 8 }, "end": { - "line": 208, + "line": 201, "column": 17 } } @@ -10749,16 +10439,16 @@ "object": { "type": "ThisExpression", "range": [ - 4981, - 4985 + 4818, + 4822 ], "loc": { "start": { - "line": 208, + "line": 201, "column": 18 }, "end": { - "line": 208, + "line": 201, "column": 22 } } @@ -10767,62 +10457,62 @@ "type": "Identifier", "name": "cont", "range": [ - 4986, - 4990 + 4823, + 4827 ], "loc": { "start": { - "line": 208, + "line": 201, "column": 23 }, "end": { - "line": 208, + "line": 201, "column": 27 } } }, "range": [ - 4981, - 4990 + 4818, + 4827 ], "loc": { "start": { - "line": 208, + "line": 201, "column": 18 }, "end": { - "line": 208, + "line": 201, "column": 27 } } } ], "range": [ - 4971, - 4991 + 4808, + 4828 ], "loc": { "start": { - "line": 208, + "line": 201, "column": 8 }, "end": { - "line": 208, + "line": 201, "column": 28 } } }, "range": [ - 4971, - 4992 + 4808, + 4829 ], "loc": { "start": { - "line": 208, + "line": 201, "column": 8 }, "end": { - "line": 208, + "line": 201, "column": 29 } } @@ -10838,16 +10528,16 @@ "object": { "type": "ThisExpression", "range": [ - 5001, - 5005 + 4838, + 4842 ], "loc": { "start": { - "line": 209, + "line": 202, "column": 8 }, "end": { - "line": 209, + "line": 202, "column": 12 } } @@ -10856,31 +10546,31 @@ "type": "Identifier", "name": "cont", "range": [ - 5006, - 5010 + 4843, + 4847 ], "loc": { "start": { - "line": 209, + "line": 202, "column": 13 }, "end": { - "line": 209, + "line": 202, "column": 17 } } }, "range": [ - 5001, - 5010 + 4838, + 4847 ], "loc": { "start": { - "line": 209, + "line": 202, "column": 8 }, "end": { - "line": 209, + "line": 202, "column": 17 } } @@ -10890,46 +10580,46 @@ "value": null, "raw": "null", "range": [ - 5013, - 5017 + 4850, + 4854 ], "loc": { "start": { - "line": 209, + "line": 202, "column": 20 }, "end": { - "line": 209, + "line": 202, "column": 24 } } }, "range": [ - 5001, - 5017 + 4838, + 4854 ], "loc": { "start": { - "line": 209, + "line": 202, "column": 8 }, "end": { - "line": 209, + "line": 202, "column": 24 } } }, "range": [ - 5001, - 5018 + 4838, + 4855 ], "loc": { "start": { - "line": 209, + "line": 202, "column": 8 }, "end": { - "line": 209, + "line": 202, "column": 25 } }, @@ -10938,16 +10628,16 @@ "type": "Line", "value": " unsubscribe to after-filtering event", "range": [ - 5027, - 5066 + 4864, + 4903 ], "loc": { "start": { - "line": 210, + "line": 203, "column": 8 }, "end": { - "line": 210, + "line": 203, "column": 47 } } @@ -10967,16 +10657,16 @@ "object": { "type": "ThisExpression", "range": [ - 5075, - 5079 + 4912, + 4916 ], "loc": { "start": { - "line": 211, + "line": 204, "column": 8 }, "end": { - "line": 211, + "line": 204, "column": 12 } } @@ -10985,31 +10675,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 5080, - 5087 + 4917, + 4924 ], "loc": { "start": { - "line": 211, + "line": 204, "column": 13 }, "end": { - "line": 211, + "line": 204, "column": 20 } } }, "range": [ - 5075, - 5087 + 4912, + 4924 ], "loc": { "start": { - "line": 211, + "line": 204, "column": 8 }, "end": { - "line": 211, + "line": 204, "column": 20 } } @@ -11018,31 +10708,31 @@ "type": "Identifier", "name": "off", "range": [ - 5088, - 5091 + 4925, + 4928 ], "loc": { "start": { - "line": 211, + "line": 204, "column": 21 }, "end": { - "line": 211, + "line": 204, "column": 24 } } }, "range": [ - 5075, - 5091 + 4912, + 4928 ], "loc": { "start": { - "line": 211, + "line": 204, "column": 8 }, "end": { - "line": 211, + "line": 204, "column": 24 } } @@ -11056,32 +10746,32 @@ "value": "after-filtering", "raw": "'after-filtering'", "range": [ - 5093, - 5110 + 4930, + 4947 ], "loc": { "start": { - "line": 211, + "line": 204, "column": 26 }, "end": { - "line": 211, + "line": 204, "column": 43 } } } ], "range": [ - 5092, - 5111 + 4929, + 4948 ], "loc": { "start": { - "line": 211, + "line": 204, "column": 25 }, "end": { - "line": 211, + "line": 204, "column": 44 } } @@ -11098,16 +10788,16 @@ "object": { "type": "ThisExpression", "range": [ - 5119, - 5123 + 4956, + 4960 ], "loc": { "start": { - "line": 211, + "line": 204, "column": 52 }, "end": { - "line": 211, + "line": 204, "column": 56 } } @@ -11116,47 +10806,47 @@ "type": "Identifier", "name": "toggle", "range": [ - 5124, - 5130 + 4961, + 4967 ], "loc": { "start": { - "line": 211, + "line": 204, "column": 57 }, "end": { - "line": 211, + "line": 204, "column": 63 } } }, "range": [ - 5119, - 5130 + 4956, + 4967 ], "loc": { "start": { - "line": 211, + "line": 204, "column": 52 }, "end": { - "line": 211, + "line": 204, "column": 63 } } }, "arguments": [], "range": [ - 5119, - 5132 + 4956, + 4969 ], "loc": { "start": { - "line": 211, + "line": 204, "column": 52 }, "end": { - "line": 211, + "line": 204, "column": 65 } } @@ -11164,47 +10854,47 @@ "generator": false, "expression": true, "range": [ - 5113, - 5132 + 4950, + 4969 ], "loc": { "start": { - "line": 211, + "line": 204, "column": 46 }, "end": { - "line": 211, + "line": 204, "column": 65 } } } ], "range": [ - 5075, - 5133 + 4912, + 4970 ], "loc": { "start": { - "line": 211, + "line": 204, "column": 8 }, "end": { - "line": 211, + "line": 204, "column": 66 } } }, "range": [ - 5075, - 5134 + 4912, + 4971 ], "loc": { "start": { - "line": 211, + "line": 204, "column": 8 }, "end": { - "line": 211, + "line": 204, "column": 67 } }, @@ -11213,16 +10903,16 @@ "type": "Line", "value": " unsubscribe to after-filtering event", "range": [ - 5027, - 5066 + 4864, + 4903 ], "loc": { "start": { - "line": 210, + "line": 203, "column": 8 }, "end": { - "line": 210, + "line": 203, "column": 47 } } @@ -11240,16 +10930,16 @@ "object": { "type": "ThisExpression", "range": [ - 5144, - 5148 + 4981, + 4985 ], "loc": { "start": { - "line": 213, + "line": 206, "column": 8 }, "end": { - "line": 213, + "line": 206, "column": 12 } } @@ -11258,31 +10948,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 5149, - 5160 + 4986, + 4997 ], "loc": { "start": { - "line": 213, + "line": 206, "column": 13 }, "end": { - "line": 213, + "line": 206, "column": 24 } } }, "range": [ - 5144, - 5160 + 4981, + 4997 ], "loc": { "start": { - "line": 213, + "line": 206, "column": 8 }, "end": { - "line": 213, + "line": 206, "column": 24 } } @@ -11292,62 +10982,62 @@ "value": false, "raw": "false", "range": [ - 5163, - 5168 + 5000, + 5005 ], "loc": { "start": { - "line": 213, + "line": 206, "column": 27 }, "end": { - "line": 213, + "line": 206, "column": 32 } } }, "range": [ - 5144, - 5168 + 4981, + 5005 ], "loc": { "start": { - "line": 213, + "line": 206, "column": 8 }, "end": { - "line": 213, + "line": 206, "column": 32 } } }, "range": [ - 5144, - 5169 + 4981, + 5006 ], "loc": { "start": { - "line": 213, + "line": 206, "column": 8 }, "end": { - "line": 213, + "line": 206, "column": 33 } } } ], "range": [ - 4898, - 5175 + 4735, + 5012 ], "loc": { "start": { - "line": 204, + "line": 197, "column": 14 }, "end": { - "line": 214, + "line": 207, "column": 5 } } @@ -11355,16 +11045,16 @@ "generator": false, "expression": false, "range": [ - 4895, - 5175 + 4732, + 5012 ], "loc": { "start": { - "line": 204, + "line": 197, "column": 11 }, "end": { - "line": 214, + "line": 207, "column": 5 } } @@ -11372,16 +11062,16 @@ "kind": "method", "computed": false, "range": [ - 4888, - 5175 + 4725, + 5012 ], "loc": { "start": { - "line": 204, + "line": 197, "column": 4 }, "end": { - "line": 214, + "line": 207, "column": 5 } }, @@ -11390,16 +11080,16 @@ "type": "Block", "value": "*\n * Remove feature\n ", "range": [ - 4850, - 4883 + 4687, + 4720 ], "loc": { "start": { - "line": 201, + "line": 194, "column": 4 }, "end": { - "line": 203, + "line": 196, "column": 7 } } @@ -11410,7 +11100,7 @@ ], "range": [ 297, - 5177 + 5014 ], "loc": { "start": { @@ -11418,14 +11108,14 @@ "column": 39 }, "end": { - "line": 215, + "line": 208, "column": 1 } } }, "range": [ 265, - 5177 + 5014 ], "loc": { "start": { @@ -11433,7 +11123,7 @@ "column": 7 }, "end": { - "line": 215, + "line": 208, "column": 1 } }, @@ -11463,7 +11153,7 @@ "source": null, "range": [ 258, - 5177 + 5014 ], "loc": { "start": { @@ -11471,7 +11161,7 @@ "column": 0 }, "end": { - "line": 215, + "line": 208, "column": 1 } }, @@ -11500,7 +11190,7 @@ "sourceType": "module", "range": [ 0, - 5177 + 5014 ], "loc": { "start": { @@ -11508,7 +11198,7 @@ "column": 0 }, "end": { - "line": 215, + "line": 208, "column": 1 } }, @@ -11747,38 +11437,20 @@ } } }, - { - "type": "Block", - "value": "*\n * Prefix for container ID\n * @type {String}\n * @private\n ", - "range": [ - 2332, - 2428 - ], - "loc": { - "start": { - "line": 90, - "column": 8 - }, - "end": { - "line": 94, - "column": 11 - } - } - }, { "type": "Block", "value": "*\n * Initializes NoResults instance\n ", "range": [ - 2470, - 2519 + 2334, + 2383 ], "loc": { "start": { - "line": 98, + "line": 91, "column": 4 }, "end": { - "line": 100, + "line": 93, "column": 7 } } @@ -11787,16 +11459,16 @@ "type": "Line", "value": "container", "range": [ - 2726, - 2737 + 2590, + 2601 ], "loc": { "start": { - "line": 109, + "line": 102, "column": 8 }, "end": { - "line": 109, + "line": 102, "column": 19 } } @@ -11805,16 +11477,16 @@ "type": "Line", "value": " subscribe to after-filtering event", "range": [ - 3084, - 3121 + 2921, + 2958 ], "loc": { "start": { - "line": 122, + "line": 115, "column": 8 }, "end": { - "line": 122, + "line": 115, "column": 45 } } @@ -11823,16 +11495,16 @@ "type": "Block", "value": "*\n * @inherited\n ", "range": [ - 3198, - 3235 + 3035, + 3072 ], "loc": { "start": { - "line": 125, + "line": 118, "column": 8 }, "end": { - "line": 127, + "line": 120, "column": 11 } } @@ -11841,16 +11513,16 @@ "type": "Block", "value": "*\n * Toggle no results message\n ", "range": [ - 3302, - 3346 + 3139, + 3183 ], "loc": { "start": { - "line": 133, + "line": 126, "column": 4 }, "end": { - "line": 135, + "line": 128, "column": 7 } } @@ -11859,16 +11531,16 @@ "type": "Block", "value": "*\n * Show no results message\n ", "range": [ - 3494, - 3536 + 3331, + 3373 ], "loc": { "start": { - "line": 144, + "line": 137, "column": 4 }, "end": { - "line": 146, + "line": 139, "column": 7 } } @@ -11877,16 +11549,16 @@ "type": "Block", "value": "*\n * Hide no results message\n ", "range": [ - 3914, - 3956 + 3751, + 3793 ], "loc": { "start": { - "line": 164, + "line": 157, "column": 4 }, "end": { - "line": 166, + "line": 159, "column": 7 } } @@ -11895,16 +11567,16 @@ "type": "Block", "value": "*\n * Sets no results container width\n * @private\n ", "range": [ - 4306, - 4372 + 4143, + 4209 ], "loc": { "start": { - "line": 183, + "line": 176, "column": 4 }, "end": { - "line": 186, + "line": 179, "column": 7 } } @@ -11913,16 +11585,16 @@ "type": "Block", "value": "*\n * Remove feature\n ", "range": [ - 4850, - 4883 + 4687, + 4720 ], "loc": { "start": { - "line": 201, + "line": 194, "column": 4 }, "end": { - "line": 203, + "line": 196, "column": 7 } } @@ -11931,16 +11603,16 @@ "type": "Line", "value": " unsubscribe to after-filtering event", "range": [ - 5027, - 5066 + 4864, + 4903 ], "loc": { "start": { - "line": 210, + "line": 203, "column": 8 }, "end": { - "line": 210, + "line": 203, "column": 47 } } diff --git a/docs/class/src/emitter.js~Emitter.html b/docs/class/src/emitter.js~Emitter.html index f29443ec..8c48d400 100644 --- a/docs/class/src/emitter.js~Emitter.html +++ b/docs/class/src/emitter.js~Emitter.html @@ -3,7 +3,7 @@ - Emitter | tablefilter v0.4.3 API Document + Emitter | tablefilter v0.4.4 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 1b2673cb..2ddb4e88 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.4.3 API Document + AdapterEzEditTable | tablefilter v0.4.4 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 47ed38e1..508ff024 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.4.3 API Document + ColOps | tablefilter v0.4.4 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 bf165b4c..bb185edf 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.4.3 API Document + ColsVisibility | tablefilter v0.4.4 API Document diff --git a/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html b/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html index c2a8a761..fe2fc067 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.4.3 API Document + FiltersVisibility | tablefilter v0.4.4 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 e1cbbe58..98e09c5b 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.4.3 API Document + AdapterSortableTable | tablefilter v0.4.4 API Document diff --git a/docs/class/src/feature.js~Feature.html b/docs/class/src/feature.js~Feature.html index 8cba8fe9..80123ce8 100644 --- a/docs/class/src/feature.js~Feature.html +++ b/docs/class/src/feature.js~Feature.html @@ -3,7 +3,7 @@ - Feature | tablefilter v0.4.3 API Document + Feature | tablefilter v0.4.4 API Document diff --git a/docs/class/src/modules/alternateRows.js~AlternateRows.html b/docs/class/src/modules/alternateRows.js~AlternateRows.html index dc4e0785..210d26d1 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.4.3 API Document + AlternateRows | tablefilter v0.4.4 API Document diff --git a/docs/class/src/modules/checkList.js~CheckList.html b/docs/class/src/modules/checkList.js~CheckList.html index 27042f6e..ffc52574 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.4.3 API Document + CheckList | tablefilter v0.4.4 API Document diff --git a/docs/class/src/modules/clearButton.js~ClearButton.html b/docs/class/src/modules/clearButton.js~ClearButton.html index dfbdc12c..ce673707 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.4.3 API Document + ClearButton | tablefilter v0.4.4 API Document diff --git a/docs/class/src/modules/dateType.js~DateType.html b/docs/class/src/modules/dateType.js~DateType.html index ccb9501a..843760fb 100644 --- a/docs/class/src/modules/dateType.js~DateType.html +++ b/docs/class/src/modules/dateType.js~DateType.html @@ -3,7 +3,7 @@ - DateType | tablefilter v0.4.3 API Document + DateType | tablefilter v0.4.4 API Document diff --git a/docs/class/src/modules/dropdown.js~Dropdown.html b/docs/class/src/modules/dropdown.js~Dropdown.html index d46f6b3f..be1b43de 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.4.3 API Document + Dropdown | tablefilter v0.4.4 API Document diff --git a/docs/class/src/modules/gridLayout.js~GridLayout.html b/docs/class/src/modules/gridLayout.js~GridLayout.html index 6c0bf0d6..a8c0d85a 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.4.3 API Document + GridLayout | tablefilter v0.4.4 API Document diff --git a/docs/class/src/modules/hash.js~Hash.html b/docs/class/src/modules/hash.js~Hash.html index 78b408ae..6cb4898d 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.4.3 API Document + Hash | tablefilter v0.4.4 API Document diff --git a/docs/class/src/modules/help.js~Help.html b/docs/class/src/modules/help.js~Help.html index 8623c1be..600fc6e2 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.4.3 API Document + Help | tablefilter v0.4.4 API Document diff --git a/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html b/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html index 7d73d2b6..71028099 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.4.3 API Document + HighlightKeyword | tablefilter v0.4.4 API Document diff --git a/docs/class/src/modules/loader.js~Loader.html b/docs/class/src/modules/loader.js~Loader.html index c98c48a1..18b20835 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.4.3 API Document + Loader | tablefilter v0.4.4 API Document @@ -119,13 +119,13 @@
-
import {Loader} from 'tablefilter/src/modules/loader.js'
+
import {Loader} from 'tablefilter/src/modules/loader.js'
public class - | source + | source
@@ -853,7 +853,7 @@ - source + source @@ -914,7 +914,7 @@ - source + source @@ -955,7 +955,7 @@ - source + source @@ -996,7 +996,7 @@ - source + source @@ -1037,7 +1037,7 @@ - source + source @@ -1078,7 +1078,7 @@ - source + source @@ -1118,7 +1118,7 @@ - source + source @@ -1159,7 +1159,7 @@ - source + source @@ -1200,7 +1200,7 @@ - source + source @@ -1241,7 +1241,7 @@ - source + source @@ -1285,7 +1285,7 @@ - source + source @@ -1326,7 +1326,7 @@ - source + source @@ -1367,7 +1367,7 @@ - source + source diff --git a/docs/class/src/modules/noResults.js~NoResults.html b/docs/class/src/modules/noResults.js~NoResults.html index e356bb64..cc2efaee 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.4.3 API Document + NoResults | tablefilter v0.4.4 API Document @@ -1197,7 +1197,7 @@ - source + source @@ -1404,7 +1404,7 @@ - source + source @@ -1445,7 +1445,7 @@ - source + source @@ -1486,7 +1486,7 @@ - source + source @@ -1527,7 +1527,7 @@ - source + source @@ -1568,7 +1568,7 @@ - source + source diff --git a/docs/class/src/modules/paging.js~Paging.html b/docs/class/src/modules/paging.js~Paging.html index 0f59c6c8..5691fd59 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.4.3 API Document + Paging | tablefilter v0.4.4 API Document diff --git a/docs/class/src/modules/popupFilter.js~PopupFilter.html b/docs/class/src/modules/popupFilter.js~PopupFilter.html index 1a7e5071..2035d29d 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.4.3 API Document + PopupFilter | tablefilter v0.4.4 API Document diff --git a/docs/class/src/modules/rowsCounter.js~RowsCounter.html b/docs/class/src/modules/rowsCounter.js~RowsCounter.html index f494a280..b63272f2 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.4.3 API Document + RowsCounter | tablefilter v0.4.4 API Document diff --git a/docs/class/src/modules/state.js~State.html b/docs/class/src/modules/state.js~State.html index c0f7306d..0cba68bb 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.4.3 API Document + State | tablefilter v0.4.4 API Document diff --git a/docs/class/src/modules/statusBar.js~StatusBar.html b/docs/class/src/modules/statusBar.js~StatusBar.html index 316e9421..4f33aa69 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.4.3 API Document + StatusBar | tablefilter v0.4.4 API Document diff --git a/docs/class/src/modules/storage.js~Storage.html b/docs/class/src/modules/storage.js~Storage.html index 071ea618..eaecb9d9 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.4.3 API Document + Storage | tablefilter v0.4.4 API Document diff --git a/docs/class/src/tablefilter.js~TableFilter.html b/docs/class/src/tablefilter.js~TableFilter.html index df1df015..881cc977 100644 --- a/docs/class/src/tablefilter.js~TableFilter.html +++ b/docs/class/src/tablefilter.js~TableFilter.html @@ -3,7 +3,7 @@ - TableFilter | tablefilter v0.4.3 API Document + TableFilter | tablefilter v0.4.4 API Document diff --git a/docs/dump.json b/docs/dump.json index 0511f54d..9303c0fb 100644 --- a/docs/dump.json +++ b/docs/dump.json @@ -9975,7 +9975,7 @@ "access": null, "description": null, "lineNumber": 1, - "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\nconst EVENTS = [\n 'before-filtering',\n 'before-populating-filter',\n 'before-page-change',\n 'before-clearing-filters',\n 'before-page-length-change',\n 'before-reset-page',\n 'before-reset-page-length',\n 'before-loading-extensions',\n 'before-loading-themes'\n];\n\n/**\n * Activity indicator\n *\n * @export\n * @class Loader\n * @extends {Feature}\n */\nexport class Loader extends Feature {\n\n /**\n * Creates an instance of Loader.\n *\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'loader');\n\n let f = this.config;\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(EVENTS,\n () => this.show('')\n );\n emitter.on(EVENTS,\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(EVENTS,\n () => this.show('')\n );\n emitter.off(EVENTS,\n () => this.show(NONE)\n );\n\n this.initialized = false;\n }\n}\n" + "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\nconst EVENTS = [\n 'before-filtering',\n 'before-populating-filter',\n 'before-page-change',\n 'before-clearing-filters',\n 'before-page-length-change',\n 'before-reset-page',\n 'before-reset-page-length',\n 'before-loading-extensions',\n 'before-loading-themes'\n];\n\n/**\n * Activity indicator\n *\n * @export\n * @class Loader\n * @extends {Feature}\n */\nexport class Loader extends Feature {\n\n /**\n * Creates an instance of Loader.\n *\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'loader');\n\n let f = this.config;\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 /**\n * Initializes Loader instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n let emitter = this.emitter;\n\n let containerDiv = createElm('div');\n containerDiv.className = this.cssClass;\n\n let targetEl = !this.targetId ?\n tf.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(EVENTS, () => this.show(''));\n emitter.on(EVENTS, () => this.show(NONE));\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(EVENTS, () => this.show(''));\n emitter.off(EVENTS, () => this.show(NONE));\n\n this.initialized = false;\n }\n}\n" }, { "__docId__": 460, @@ -9990,7 +9990,7 @@ "importPath": "tablefilter/src/modules/loader.js", "importStyle": null, "description": null, - "lineNumber": 8, + "lineNumber": 7, "undocument": true, "type": { "types": [ @@ -10011,7 +10011,7 @@ "importPath": "tablefilter/src/modules/loader.js", "importStyle": "{Loader}", "description": "Activity indicator", - "lineNumber": 27, + "lineNumber": 26, "unknown": [ { "tagName": "@export", @@ -10037,7 +10037,7 @@ "longname": "src/modules/loader.js~Loader#constructor", "access": null, "description": "Creates an instance of Loader.", - "lineNumber": 34, + "lineNumber": 33, "params": [ { "nullable": null, @@ -10062,7 +10062,7 @@ "longname": "src/modules/loader.js~Loader#targetId", "access": null, "description": "ID of custom container element", - "lineNumber": 43, + "lineNumber": 42, "type": { "nullable": null, "types": [ @@ -10082,7 +10082,7 @@ "longname": "src/modules/loader.js~Loader#cont", "access": null, "description": "Loader container DOM element", - "lineNumber": 49, + "lineNumber": 48, "type": { "nullable": null, "types": [ @@ -10102,7 +10102,7 @@ "longname": "src/modules/loader.js~Loader#text", "access": null, "description": "Text displayed when indicator is visible", - "lineNumber": 55, + "lineNumber": 54, "type": { "nullable": null, "types": [ @@ -10122,7 +10122,7 @@ "longname": "src/modules/loader.js~Loader#html", "access": null, "description": "Custom HTML injected in Loader's container element", - "lineNumber": 61, + "lineNumber": 60, "type": { "nullable": null, "types": [ @@ -10142,7 +10142,7 @@ "longname": "src/modules/loader.js~Loader#cssClass", "access": null, "description": "Css class for Loader's container element", - "lineNumber": 67, + "lineNumber": 66, "type": { "nullable": null, "types": [ @@ -10162,7 +10162,7 @@ "longname": "src/modules/loader.js~Loader#closeDelay", "access": null, "description": "Close delay in milliseconds", - "lineNumber": 73, + "lineNumber": 72, "type": { "nullable": null, "types": [ @@ -10182,7 +10182,7 @@ "longname": "src/modules/loader.js~Loader#onShow", "access": null, "description": "Callback fired when loader is displayed", - "lineNumber": 79, + "lineNumber": 78, "type": { "nullable": null, "types": [ @@ -10202,7 +10202,7 @@ "longname": "src/modules/loader.js~Loader#onHide", "access": null, "description": "Callback fired when loader is closed", - "lineNumber": 85, + "lineNumber": 84, "type": { "nullable": null, "types": [ @@ -10214,26 +10214,6 @@ }, { "__docId__": 471, - "kind": "member", - "static": false, - "variation": null, - "name": "prfx", - "memberof": "src/modules/loader.js~Loader", - "longname": "src/modules/loader.js~Loader#prfx", - "access": "private", - "description": "Prefix for container ID", - "lineNumber": 92, - "type": { - "nullable": null, - "types": [ - "String" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 472, "kind": "method", "static": false, "variation": null, @@ -10242,12 +10222,12 @@ "longname": "src/modules/loader.js~Loader#init", "access": null, "description": "Initializes Loader instance", - "lineNumber": 98, + "lineNumber": 90, "params": [], "generator": false }, { - "__docId__": 473, + "__docId__": 472, "kind": "member", "static": false, "variation": null, @@ -10256,7 +10236,7 @@ "longname": "src/modules/loader.js~Loader#cont", "access": null, "description": null, - "lineNumber": 116, + "lineNumber": 108, "undocument": true, "type": { "types": [ @@ -10265,7 +10245,7 @@ } }, { - "__docId__": 474, + "__docId__": 473, "kind": "member", "static": false, "variation": null, @@ -10274,7 +10254,7 @@ "longname": "src/modules/loader.js~Loader#initialized", "access": null, "description": "", - "lineNumber": 136, + "lineNumber": 124, "unknown": [ { "tagName": "@inherited", @@ -10288,7 +10268,7 @@ } }, { - "__docId__": 475, + "__docId__": 474, "kind": "method", "static": false, "variation": null, @@ -10297,7 +10277,7 @@ "longname": "src/modules/loader.js~Loader#show", "access": null, "description": "Shows or hides activity indicator", - "lineNumber": 143, + "lineNumber": 131, "params": [ { "nullable": null, @@ -10313,7 +10293,7 @@ "generator": false }, { - "__docId__": 476, + "__docId__": 475, "kind": "method", "static": false, "variation": null, @@ -10322,12 +10302,12 @@ "longname": "src/modules/loader.js~Loader#destroy", "access": null, "description": "Removes feature", - "lineNumber": 168, + "lineNumber": 156, "params": [], "generator": false }, { - "__docId__": 477, + "__docId__": 476, "kind": "member", "static": false, "variation": null, @@ -10336,7 +10316,7 @@ "longname": "src/modules/loader.js~Loader#cont", "access": null, "description": null, - "lineNumber": 176, + "lineNumber": 164, "undocument": true, "type": { "types": [ @@ -10345,7 +10325,7 @@ } }, { - "__docId__": 478, + "__docId__": 477, "kind": "member", "static": false, "variation": null, @@ -10354,7 +10334,7 @@ "longname": "src/modules/loader.js~Loader#initialized", "access": null, "description": null, - "lineNumber": 186, + "lineNumber": 170, "undocument": true, "type": { "types": [ @@ -10363,7 +10343,7 @@ } }, { - "__docId__": 479, + "__docId__": 478, "kind": "file", "static": true, "variation": null, @@ -10373,10 +10353,10 @@ "access": null, "description": null, "lineNumber": 1, - "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" + "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 /**\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');\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__": 480, + "__docId__": 479, "kind": "class", "static": true, "variation": null, @@ -10405,7 +10385,7 @@ ] }, { - "__docId__": 481, + "__docId__": 480, "kind": "constructor", "static": false, "variation": null, @@ -10430,7 +10410,7 @@ "generator": false }, { - "__docId__": 482, + "__docId__": 481, "kind": "member", "static": false, "variation": null, @@ -10450,7 +10430,7 @@ } }, { - "__docId__": 483, + "__docId__": 482, "kind": "member", "static": false, "variation": null, @@ -10470,7 +10450,7 @@ } }, { - "__docId__": 484, + "__docId__": 483, "kind": "member", "static": false, "variation": null, @@ -10490,7 +10470,7 @@ } }, { - "__docId__": 485, + "__docId__": 484, "kind": "member", "static": false, "variation": null, @@ -10510,7 +10490,7 @@ } }, { - "__docId__": 486, + "__docId__": 485, "kind": "member", "static": false, "variation": null, @@ -10530,7 +10510,7 @@ } }, { - "__docId__": 487, + "__docId__": 486, "kind": "member", "static": false, "variation": null, @@ -10550,7 +10530,7 @@ } }, { - "__docId__": 488, + "__docId__": 487, "kind": "member", "static": false, "variation": null, @@ -10570,7 +10550,7 @@ } }, { - "__docId__": 489, + "__docId__": 488, "kind": "member", "static": false, "variation": null, @@ -10590,7 +10570,7 @@ } }, { - "__docId__": 490, + "__docId__": 489, "kind": "member", "static": false, "variation": null, @@ -10610,7 +10590,7 @@ } }, { - "__docId__": 491, + "__docId__": 490, "kind": "member", "static": false, "variation": null, @@ -10630,27 +10610,7 @@ } }, { - "__docId__": 492, - "kind": "member", - "static": false, - "variation": null, - "name": "prfx", - "memberof": "src/modules/noResults.js~NoResults", - "longname": "src/modules/noResults.js~NoResults#prfx", - "access": "private", - "description": "Prefix for container ID", - "lineNumber": 95, - "type": { - "nullable": null, - "types": [ - "String" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 493, + "__docId__": 491, "kind": "method", "static": false, "variation": null, @@ -10659,12 +10619,12 @@ "longname": "src/modules/noResults.js~NoResults#init", "access": null, "description": "Initializes NoResults instance", - "lineNumber": 101, + "lineNumber": 94, "params": [], "generator": false }, { - "__docId__": 494, + "__docId__": 492, "kind": "member", "static": false, "variation": null, @@ -10673,7 +10633,7 @@ "longname": "src/modules/noResults.js~NoResults#cont", "access": null, "description": null, - "lineNumber": 120, + "lineNumber": 113, "undocument": true, "type": { "types": [ @@ -10682,7 +10642,7 @@ } }, { - "__docId__": 495, + "__docId__": 493, "kind": "member", "static": false, "variation": null, @@ -10691,7 +10651,7 @@ "longname": "src/modules/noResults.js~NoResults#initialized", "access": null, "description": "", - "lineNumber": 128, + "lineNumber": 121, "unknown": [ { "tagName": "@inherited", @@ -10705,7 +10665,7 @@ } }, { - "__docId__": 496, + "__docId__": 494, "kind": "method", "static": false, "variation": null, @@ -10714,12 +10674,12 @@ "longname": "src/modules/noResults.js~NoResults#toggle", "access": null, "description": "Toggle no results message", - "lineNumber": 136, + "lineNumber": 129, "params": [], "generator": false }, { - "__docId__": 497, + "__docId__": 495, "kind": "method", "static": false, "variation": null, @@ -10728,12 +10688,12 @@ "longname": "src/modules/noResults.js~NoResults#show", "access": null, "description": "Show no results message", - "lineNumber": 147, + "lineNumber": 140, "params": [], "generator": false }, { - "__docId__": 498, + "__docId__": 496, "kind": "method", "static": false, "variation": null, @@ -10742,12 +10702,12 @@ "longname": "src/modules/noResults.js~NoResults#hide", "access": null, "description": "Hide no results message", - "lineNumber": 167, + "lineNumber": 160, "params": [], "generator": false }, { - "__docId__": 499, + "__docId__": 497, "kind": "method", "static": false, "variation": null, @@ -10756,12 +10716,12 @@ "longname": "src/modules/noResults.js~NoResults#setWidth", "access": "private", "description": "Sets no results container width", - "lineNumber": 187, + "lineNumber": 180, "params": [], "generator": false }, { - "__docId__": 500, + "__docId__": 498, "kind": "method", "static": false, "variation": null, @@ -10770,12 +10730,12 @@ "longname": "src/modules/noResults.js~NoResults#destroy", "access": null, "description": "Remove feature", - "lineNumber": 204, + "lineNumber": 197, "params": [], "generator": false }, { - "__docId__": 501, + "__docId__": 499, "kind": "member", "static": false, "variation": null, @@ -10784,7 +10744,7 @@ "longname": "src/modules/noResults.js~NoResults#cont", "access": null, "description": null, - "lineNumber": 209, + "lineNumber": 202, "undocument": true, "type": { "types": [ @@ -10793,7 +10753,7 @@ } }, { - "__docId__": 502, + "__docId__": 500, "kind": "member", "static": false, "variation": null, @@ -10802,7 +10762,7 @@ "longname": "src/modules/noResults.js~NoResults#initialized", "access": null, "description": null, - "lineNumber": 213, + "lineNumber": 206, "undocument": true, "type": { "types": [ @@ -10811,7 +10771,7 @@ } }, { - "__docId__": 503, + "__docId__": 501, "kind": "file", "static": true, "variation": null, @@ -10824,7 +10784,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__": 504, + "__docId__": 502, "kind": "class", "static": true, "variation": null, @@ -10853,7 +10813,7 @@ ] }, { - "__docId__": 505, + "__docId__": 503, "kind": "constructor", "static": false, "variation": null, @@ -10878,7 +10838,7 @@ "generator": false }, { - "__docId__": 506, + "__docId__": 504, "kind": "member", "static": false, "variation": null, @@ -10898,7 +10858,7 @@ } }, { - "__docId__": 507, + "__docId__": 505, "kind": "member", "static": false, "variation": null, @@ -10918,7 +10878,7 @@ } }, { - "__docId__": 508, + "__docId__": 506, "kind": "member", "static": false, "variation": null, @@ -10938,7 +10898,7 @@ } }, { - "__docId__": 509, + "__docId__": 507, "kind": "member", "static": false, "variation": null, @@ -10958,7 +10918,7 @@ } }, { - "__docId__": 510, + "__docId__": 508, "kind": "member", "static": false, "variation": null, @@ -10978,7 +10938,7 @@ } }, { - "__docId__": 511, + "__docId__": 509, "kind": "member", "static": false, "variation": null, @@ -10998,7 +10958,7 @@ } }, { - "__docId__": 512, + "__docId__": 510, "kind": "member", "static": false, "variation": null, @@ -11018,7 +10978,7 @@ } }, { - "__docId__": 513, + "__docId__": 511, "kind": "member", "static": false, "variation": null, @@ -11038,7 +10998,7 @@ } }, { - "__docId__": 514, + "__docId__": 512, "kind": "member", "static": false, "variation": null, @@ -11058,7 +11018,7 @@ } }, { - "__docId__": 515, + "__docId__": 513, "kind": "member", "static": false, "variation": null, @@ -11078,7 +11038,7 @@ } }, { - "__docId__": 516, + "__docId__": 514, "kind": "member", "static": false, "variation": null, @@ -11098,7 +11058,7 @@ } }, { - "__docId__": 517, + "__docId__": 515, "kind": "member", "static": false, "variation": null, @@ -11118,7 +11078,7 @@ } }, { - "__docId__": 518, + "__docId__": 516, "kind": "member", "static": false, "variation": null, @@ -11138,7 +11098,7 @@ } }, { - "__docId__": 519, + "__docId__": 517, "kind": "member", "static": false, "variation": null, @@ -11158,7 +11118,7 @@ } }, { - "__docId__": 520, + "__docId__": 518, "kind": "member", "static": false, "variation": null, @@ -11178,7 +11138,7 @@ } }, { - "__docId__": 521, + "__docId__": 519, "kind": "member", "static": false, "variation": null, @@ -11198,7 +11158,7 @@ } }, { - "__docId__": 522, + "__docId__": 520, "kind": "member", "static": false, "variation": null, @@ -11218,7 +11178,7 @@ } }, { - "__docId__": 523, + "__docId__": 521, "kind": "member", "static": false, "variation": null, @@ -11238,7 +11198,7 @@ } }, { - "__docId__": 524, + "__docId__": 522, "kind": "member", "static": false, "variation": null, @@ -11258,7 +11218,7 @@ } }, { - "__docId__": 525, + "__docId__": 523, "kind": "member", "static": false, "variation": null, @@ -11278,7 +11238,7 @@ } }, { - "__docId__": 526, + "__docId__": 524, "kind": "member", "static": false, "variation": null, @@ -11298,7 +11258,7 @@ } }, { - "__docId__": 527, + "__docId__": 525, "kind": "member", "static": false, "variation": null, @@ -11318,7 +11278,7 @@ } }, { - "__docId__": 528, + "__docId__": 526, "kind": "member", "static": false, "variation": null, @@ -11338,7 +11298,7 @@ } }, { - "__docId__": 529, + "__docId__": 527, "kind": "member", "static": false, "variation": null, @@ -11358,7 +11318,7 @@ } }, { - "__docId__": 530, + "__docId__": 528, "kind": "member", "static": false, "variation": null, @@ -11378,7 +11338,7 @@ } }, { - "__docId__": 531, + "__docId__": 529, "kind": "member", "static": false, "variation": null, @@ -11398,7 +11358,7 @@ } }, { - "__docId__": 532, + "__docId__": 530, "kind": "member", "static": false, "variation": null, @@ -11418,7 +11378,7 @@ } }, { - "__docId__": 533, + "__docId__": 531, "kind": "member", "static": false, "variation": null, @@ -11438,7 +11398,7 @@ } }, { - "__docId__": 534, + "__docId__": 532, "kind": "member", "static": false, "variation": null, @@ -11458,7 +11418,7 @@ } }, { - "__docId__": 535, + "__docId__": 533, "kind": "member", "static": false, "variation": null, @@ -11478,7 +11438,7 @@ } }, { - "__docId__": 536, + "__docId__": 534, "kind": "member", "static": false, "variation": null, @@ -11498,7 +11458,7 @@ } }, { - "__docId__": 537, + "__docId__": 535, "kind": "member", "static": false, "variation": null, @@ -11518,7 +11478,7 @@ } }, { - "__docId__": 538, + "__docId__": 536, "kind": "member", "static": false, "variation": null, @@ -11538,7 +11498,7 @@ } }, { - "__docId__": 539, + "__docId__": 537, "kind": "member", "static": false, "variation": null, @@ -11558,7 +11518,7 @@ } }, { - "__docId__": 540, + "__docId__": 538, "kind": "member", "static": false, "variation": null, @@ -11578,7 +11538,7 @@ } }, { - "__docId__": 541, + "__docId__": 539, "kind": "member", "static": false, "variation": null, @@ -11598,7 +11558,7 @@ } }, { - "__docId__": 542, + "__docId__": 540, "kind": "member", "static": false, "variation": null, @@ -11618,7 +11578,7 @@ } }, { - "__docId__": 543, + "__docId__": 541, "kind": "member", "static": false, "variation": null, @@ -11638,7 +11598,7 @@ } }, { - "__docId__": 544, + "__docId__": 542, "kind": "member", "static": false, "variation": null, @@ -11658,7 +11618,7 @@ } }, { - "__docId__": 545, + "__docId__": 543, "kind": "member", "static": false, "variation": null, @@ -11678,7 +11638,7 @@ } }, { - "__docId__": 546, + "__docId__": 544, "kind": "member", "static": false, "variation": null, @@ -11698,7 +11658,7 @@ } }, { - "__docId__": 547, + "__docId__": 545, "kind": "member", "static": false, "variation": null, @@ -11718,7 +11678,7 @@ } }, { - "__docId__": 548, + "__docId__": 546, "kind": "member", "static": false, "variation": null, @@ -11738,7 +11698,7 @@ } }, { - "__docId__": 549, + "__docId__": 547, "kind": "member", "static": false, "variation": null, @@ -11758,7 +11718,7 @@ } }, { - "__docId__": 550, + "__docId__": 548, "kind": "member", "static": false, "variation": null, @@ -11776,7 +11736,7 @@ } }, { - "__docId__": 551, + "__docId__": 549, "kind": "member", "static": false, "variation": null, @@ -11796,7 +11756,7 @@ } }, { - "__docId__": 552, + "__docId__": 550, "kind": "method", "static": false, "variation": null, @@ -11810,7 +11770,7 @@ "generator": false }, { - "__docId__": 553, + "__docId__": 551, "kind": "member", "static": false, "variation": null, @@ -11828,7 +11788,7 @@ } }, { - "__docId__": 554, + "__docId__": 552, "kind": "member", "static": false, "variation": null, @@ -11846,7 +11806,7 @@ } }, { - "__docId__": 555, + "__docId__": 553, "kind": "member", "static": false, "variation": null, @@ -11864,7 +11824,7 @@ } }, { - "__docId__": 556, + "__docId__": 554, "kind": "member", "static": false, "variation": null, @@ -11887,7 +11847,7 @@ } }, { - "__docId__": 557, + "__docId__": 555, "kind": "method", "static": false, "variation": null, @@ -11912,7 +11872,7 @@ "generator": false }, { - "__docId__": 558, + "__docId__": 556, "kind": "method", "static": false, "variation": null, @@ -11926,7 +11886,7 @@ "generator": false }, { - "__docId__": 559, + "__docId__": 557, "kind": "member", "static": false, "variation": null, @@ -11944,7 +11904,7 @@ } }, { - "__docId__": 560, + "__docId__": 558, "kind": "member", "static": false, "variation": null, @@ -11962,7 +11922,7 @@ } }, { - "__docId__": 561, + "__docId__": 559, "kind": "method", "static": false, "variation": null, @@ -11987,7 +11947,7 @@ "generator": false }, { - "__docId__": 562, + "__docId__": 560, "kind": "member", "static": false, "variation": null, @@ -12005,7 +11965,7 @@ } }, { - "__docId__": 563, + "__docId__": 561, "kind": "method", "static": false, "variation": null, @@ -12030,7 +11990,7 @@ "generator": false }, { - "__docId__": 564, + "__docId__": 562, "kind": "method", "static": false, "variation": null, @@ -12052,7 +12012,7 @@ "generator": false }, { - "__docId__": 565, + "__docId__": 563, "kind": "method", "static": false, "variation": null, @@ -12077,7 +12037,7 @@ "generator": false }, { - "__docId__": 566, + "__docId__": 564, "kind": "method", "static": false, "variation": null, @@ -12091,7 +12051,7 @@ "generator": false }, { - "__docId__": 567, + "__docId__": 565, "kind": "member", "static": false, "variation": null, @@ -12109,7 +12069,7 @@ } }, { - "__docId__": 568, + "__docId__": 566, "kind": "method", "static": false, "variation": null, @@ -12123,7 +12083,7 @@ "generator": false }, { - "__docId__": 569, + "__docId__": 567, "kind": "member", "static": false, "variation": null, @@ -12141,7 +12101,7 @@ } }, { - "__docId__": 570, + "__docId__": 568, "kind": "method", "static": false, "variation": null, @@ -12166,7 +12126,7 @@ "generator": false }, { - "__docId__": 571, + "__docId__": 569, "kind": "member", "static": false, "variation": null, @@ -12184,7 +12144,7 @@ } }, { - "__docId__": 572, + "__docId__": 570, "kind": "member", "static": false, "variation": null, @@ -12202,7 +12162,7 @@ } }, { - "__docId__": 573, + "__docId__": 571, "kind": "method", "static": false, "variation": null, @@ -12227,7 +12187,7 @@ "generator": false }, { - "__docId__": 574, + "__docId__": 572, "kind": "method", "static": false, "variation": null, @@ -12241,7 +12201,7 @@ "generator": false }, { - "__docId__": 575, + "__docId__": 573, "kind": "member", "static": false, "variation": null, @@ -12259,7 +12219,7 @@ } }, { - "__docId__": 576, + "__docId__": 574, "kind": "member", "static": false, "variation": null, @@ -12277,7 +12237,7 @@ } }, { - "__docId__": 577, + "__docId__": 575, "kind": "member", "static": false, "variation": null, @@ -12295,7 +12255,7 @@ } }, { - "__docId__": 578, + "__docId__": 576, "kind": "method", "static": false, "variation": null, @@ -12309,7 +12269,7 @@ "generator": false }, { - "__docId__": 579, + "__docId__": 577, "kind": "method", "static": false, "variation": null, @@ -12323,7 +12283,7 @@ "generator": false }, { - "__docId__": 580, + "__docId__": 578, "kind": "method", "static": false, "variation": null, @@ -12337,7 +12297,7 @@ "generator": false }, { - "__docId__": 581, + "__docId__": 579, "kind": "member", "static": false, "variation": null, @@ -12355,7 +12315,7 @@ } }, { - "__docId__": 582, + "__docId__": 580, "kind": "member", "static": false, "variation": null, @@ -12373,7 +12333,7 @@ } }, { - "__docId__": 583, + "__docId__": 581, "kind": "member", "static": false, "variation": null, @@ -12391,7 +12351,7 @@ } }, { - "__docId__": 584, + "__docId__": 582, "kind": "file", "static": true, "variation": null, @@ -12404,7 +12364,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 // TODO: Because of the filters row generation, headers row index needs\n // adjusting: prevent useless row generation\n if (tf.headersRow <= 1 && isNaN(tf.config().headers_row_index)) {\n tf.headersRow = 0;\n }\n\n // Adjust headers row index for grid-layout mode\n // TODO: Because of the filters row generation, headers row index needs\n // adjusting: prevent useless row generation\n if (tf.gridLayout) {\n tf.headersRow--;\n this.buildIcons();\n }\n\n // subscribe to events\n this.emitter.on(['before-filtering'], () => this.setIconsState());\n this.emitter.on(['after-filtering'], () => this.closeAll());\n this.emitter.on(['cell-processed'],\n (tf, cellIndex) => this.changeState(cellIndex, true));\n this.emitter.on(['filters-row-inserted'], () => this.buildIcons());\n this.emitter.on(['before-filter-init'],\n (tf, colIndex) => this.build(colIndex));\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Reset previously destroyed feature\n */\n reset() {\n this.enable();\n this.init();\n this.buildAll();\n }\n\n /**\n * Build all filters icons\n */\n buildIcons() {\n let tf = this.tf;\n\n // TODO: Because of the filters row generation, headers row index needs\n // adjusting: prevent useless row generation\n tf.headersRow++;\n\n for (let i = 0; i < tf.nbCells; i++) {\n if (tf.getFilterType(i) === NONE) {\n continue;\n }\n let popUpSpan = createElm(\n 'span',\n ['id', this.prfxSpan + tf.id + '_' + i],\n ['ci', i]\n );\n popUpSpan.innerHTML = this.iconHtml;\n let header = tf.getHeaderElement(i);\n header.appendChild(popUpSpan);\n addEvt(popUpSpan, 'click', (evt) => this.onClick(evt));\n this.fltSpans[i] = popUpSpan;\n this.fltIcons[i] = popUpSpan.firstChild;\n }\n }\n\n /**\n * Build all pop-up filters elements\n */\n buildAll() {\n for (let i = 0; i < this.filtersCache.length; i++) {\n this.build(i, this.filtersCache[i]);\n }\n }\n\n /**\n * Build a specified pop-up filter elements\n * @param {Number} colIndex Column index\n * @param {Object} div Optional container DOM element\n */\n build(colIndex, div) {\n let tf = this.tf;\n let popUpDiv = !div ?\n createElm('div',\n ['id', this.prfxDiv + tf.id + '_' + colIndex]) :\n div;\n popUpDiv.className = this.containerCssClass;\n tf.externalFltTgtIds.push(popUpDiv.id);\n let header = tf.getHeaderElement(colIndex);\n header.insertBefore(popUpDiv, header.firstChild);\n addEvt(popUpDiv, 'click', (evt) => stopEvt(evt));\n this.fltElms[colIndex] = popUpDiv;\n }\n\n /**\n * Toogle visibility of specified filter\n * @param {Number} colIndex Column index\n */\n toggle(colIndex) {\n let tf = this.tf,\n popUpFltElm = this.fltElms[colIndex];\n\n if (popUpFltElm.style.display === NONE ||\n popUpFltElm.style.display === '') {\n if (this.onBeforeOpen) {\n this.onBeforeOpen.call(\n null, this, this.fltElms[colIndex], colIndex);\n }\n popUpFltElm.style.display = 'block';\n if (tf.getFilterType(colIndex) === INPUT) {\n let flt = tf.getFilterElement(colIndex);\n if (flt) {\n flt.focus();\n }\n }\n if (this.onAfterOpen) {\n this.onAfterOpen.call(\n null, this, this.fltElms[colIndex], colIndex);\n }\n } else {\n if (this.onBeforeClose) {\n this.onBeforeClose.call(\n null, this, this.fltElms[colIndex], colIndex);\n }\n popUpFltElm.style.display = NONE;\n if (this.onAfterClose) {\n this.onAfterClose.call(\n null, this, this.fltElms[colIndex], colIndex);\n }\n }\n }\n\n /**\n * Close all filters excepted for the specified one if any\n * @param {Number} exceptIdx Column index of the filter to not close\n */\n closeAll(exceptIdx) {\n for (let i = 0; i < this.fltElms.length; i++) {\n if (i === exceptIdx) {\n continue;\n }\n let popUpFltElm = this.fltElms[i];\n if (popUpFltElm) {\n popUpFltElm.style.display = NONE;\n }\n }\n }\n\n /**\n * Build all the icons representing the pop-up filters\n */\n setIconsState() {\n for (let i = 0; i < this.fltIcons.length; i++) {\n this.changeState(i, false);\n }\n }\n\n /**\n * Apply specified icon state\n * @param {Number} colIndex Column index\n * @param {Boolean} active Apply active state\n */\n changeState(colIndex, active) {\n if (this.fltIcons[colIndex]) {\n this.fltIcons[colIndex].src = active ?\n this.activeIconPath : this.iconPath;\n }\n }\n\n /**\n * Remove pop-up filters\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n this.filtersCache = [];\n for (let i = 0; i < this.fltElms.length; i++) {\n let popUpFltElm = this.fltElms[i],\n popUpFltSpan = this.fltSpans[i],\n popUpFltImg = this.fltIcons[i];\n if (popUpFltElm) {\n removeElm(popUpFltElm);\n this.filtersCache[i] = popUpFltElm;\n }\n popUpFltElm = null;\n if (popUpFltSpan) {\n removeElm(popUpFltSpan);\n }\n popUpFltSpan = null;\n if (popUpFltImg) {\n removeElm(popUpFltImg);\n }\n popUpFltImg = null;\n }\n this.fltElms = [];\n this.fltSpans = [];\n this.fltIcons = [];\n\n // unsubscribe to events\n this.emitter.off(['before-filtering'], () => this.setIconsState());\n this.emitter.off(['after-filtering'], () => this.closeAll());\n this.emitter.off(['cell-processed'],\n (tf, cellIndex) => this.changeState(cellIndex, true));\n this.emitter.off(['filters-row-inserted'], () => this.buildIcons());\n this.emitter.off(['before-filter-init'],\n (tf, colIndex) => this.build(colIndex));\n\n this.initialized = false;\n }\n\n}\n" }, { - "__docId__": 585, + "__docId__": 583, "kind": "class", "static": true, "variation": null, @@ -12433,7 +12393,7 @@ ] }, { - "__docId__": 586, + "__docId__": 584, "kind": "constructor", "static": false, "variation": null, @@ -12458,7 +12418,7 @@ "generator": false }, { - "__docId__": 587, + "__docId__": 585, "kind": "member", "static": false, "variation": null, @@ -12478,7 +12438,7 @@ } }, { - "__docId__": 588, + "__docId__": 586, "kind": "member", "static": false, "variation": null, @@ -12498,7 +12458,7 @@ } }, { - "__docId__": 589, + "__docId__": 587, "kind": "member", "static": false, "variation": null, @@ -12518,7 +12478,7 @@ } }, { - "__docId__": 590, + "__docId__": 588, "kind": "member", "static": false, "variation": null, @@ -12538,7 +12498,7 @@ } }, { - "__docId__": 591, + "__docId__": 589, "kind": "member", "static": false, "variation": null, @@ -12558,7 +12518,7 @@ } }, { - "__docId__": 592, + "__docId__": 590, "kind": "member", "static": false, "variation": null, @@ -12578,7 +12538,7 @@ } }, { - "__docId__": 593, + "__docId__": 591, "kind": "member", "static": false, "variation": null, @@ -12598,7 +12558,7 @@ } }, { - "__docId__": 594, + "__docId__": 592, "kind": "member", "static": false, "variation": null, @@ -12618,7 +12578,7 @@ } }, { - "__docId__": 595, + "__docId__": 593, "kind": "member", "static": false, "variation": null, @@ -12638,7 +12598,7 @@ } }, { - "__docId__": 596, + "__docId__": 594, "kind": "member", "static": false, "variation": null, @@ -12658,7 +12618,7 @@ } }, { - "__docId__": 597, + "__docId__": 595, "kind": "member", "static": false, "variation": null, @@ -12678,7 +12638,7 @@ } }, { - "__docId__": 598, + "__docId__": 596, "kind": "member", "static": false, "variation": null, @@ -12698,7 +12658,7 @@ } }, { - "__docId__": 599, + "__docId__": 597, "kind": "member", "static": false, "variation": null, @@ -12718,7 +12678,7 @@ } }, { - "__docId__": 600, + "__docId__": 598, "kind": "member", "static": false, "variation": null, @@ -12738,7 +12698,7 @@ } }, { - "__docId__": 601, + "__docId__": 599, "kind": "member", "static": false, "variation": null, @@ -12758,7 +12718,7 @@ } }, { - "__docId__": 602, + "__docId__": 600, "kind": "method", "static": false, "variation": null, @@ -12779,7 +12739,7 @@ "generator": false }, { - "__docId__": 603, + "__docId__": 601, "kind": "method", "static": false, "variation": null, @@ -12793,7 +12753,7 @@ "generator": false }, { - "__docId__": 604, + "__docId__": 602, "kind": "member", "static": false, "variation": null, @@ -12816,7 +12776,7 @@ } }, { - "__docId__": 605, + "__docId__": 603, "kind": "method", "static": false, "variation": null, @@ -12830,7 +12790,7 @@ "generator": false }, { - "__docId__": 606, + "__docId__": 604, "kind": "method", "static": false, "variation": null, @@ -12844,7 +12804,7 @@ "generator": false }, { - "__docId__": 607, + "__docId__": 605, "kind": "method", "static": false, "variation": null, @@ -12858,7 +12818,7 @@ "generator": false }, { - "__docId__": 608, + "__docId__": 606, "kind": "method", "static": false, "variation": null, @@ -12893,7 +12853,7 @@ "generator": false }, { - "__docId__": 609, + "__docId__": 607, "kind": "method", "static": false, "variation": null, @@ -12918,7 +12878,7 @@ "generator": false }, { - "__docId__": 610, + "__docId__": 608, "kind": "method", "static": false, "variation": null, @@ -12943,7 +12903,7 @@ "generator": false }, { - "__docId__": 611, + "__docId__": 609, "kind": "method", "static": false, "variation": null, @@ -12957,7 +12917,7 @@ "generator": false }, { - "__docId__": 612, + "__docId__": 610, "kind": "method", "static": false, "variation": null, @@ -12992,7 +12952,7 @@ "generator": false }, { - "__docId__": 613, + "__docId__": 611, "kind": "method", "static": false, "variation": null, @@ -13006,7 +12966,7 @@ "generator": false }, { - "__docId__": 614, + "__docId__": 612, "kind": "member", "static": false, "variation": null, @@ -13024,7 +12984,7 @@ } }, { - "__docId__": 615, + "__docId__": 613, "kind": "member", "static": false, "variation": null, @@ -13042,7 +13002,7 @@ } }, { - "__docId__": 616, + "__docId__": 614, "kind": "member", "static": false, "variation": null, @@ -13060,7 +13020,7 @@ } }, { - "__docId__": 617, + "__docId__": 615, "kind": "member", "static": false, "variation": null, @@ -13078,7 +13038,7 @@ } }, { - "__docId__": 618, + "__docId__": 616, "kind": "member", "static": false, "variation": null, @@ -13096,7 +13056,7 @@ } }, { - "__docId__": 619, + "__docId__": 617, "kind": "file", "static": true, "variation": null, @@ -13109,7 +13069,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 * 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');\n countDiv.className = this.cssClass;\n //rows counter label\n let countSpan = createElm('span');\n let countText = createElm('span');\n countText.appendChild(createText(this.text));\n\n // counter is added to defined element\n if (!this.targetId) {\n tf.setToolbar();\n }\n let targetEl = !this.targetId ? tf.lDiv : elm(this.targetId);\n\n //default container: 'lDiv'\n if (!this.targetId) {\n countDiv.appendChild(countText);\n countDiv.appendChild(countSpan);\n targetEl.appendChild(countDiv);\n }\n else {\n //custom container, no need to append statusDiv\n targetEl.appendChild(countText);\n targetEl.appendChild(countSpan);\n }\n this.container = countDiv;\n this.label = countSpan;\n\n // subscribe to events\n this.emitter.on(['after-filtering', 'grouped-by-page'],\n () => this.refresh(tf.getValidRowsNb()));\n this.emitter.on(['rows-changed'], () => this.refresh());\n\n /** @inherited */\n this.initialized = true;\n this.refresh();\n }\n\n /**\n * Refreshes the rows counter\n * @param {Number} p Optional parameter the total number of rows to display\n * @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__": 620, + "__docId__": 618, "kind": "class", "static": true, "variation": null, @@ -13138,7 +13098,7 @@ ] }, { - "__docId__": 621, + "__docId__": 619, "kind": "constructor", "static": false, "variation": null, @@ -13163,7 +13123,7 @@ "generator": false }, { - "__docId__": 622, + "__docId__": 620, "kind": "member", "static": false, "variation": null, @@ -13183,7 +13143,7 @@ } }, { - "__docId__": 623, + "__docId__": 621, "kind": "member", "static": false, "variation": null, @@ -13203,7 +13163,7 @@ } }, { - "__docId__": 624, + "__docId__": 622, "kind": "member", "static": false, "variation": null, @@ -13223,7 +13183,7 @@ } }, { - "__docId__": 625, + "__docId__": 623, "kind": "member", "static": false, "variation": null, @@ -13243,7 +13203,7 @@ } }, { - "__docId__": 626, + "__docId__": 624, "kind": "member", "static": false, "variation": null, @@ -13263,7 +13223,7 @@ } }, { - "__docId__": 627, + "__docId__": 625, "kind": "member", "static": false, "variation": null, @@ -13283,7 +13243,7 @@ } }, { - "__docId__": 628, + "__docId__": 626, "kind": "member", "static": false, "variation": null, @@ -13303,7 +13263,7 @@ } }, { - "__docId__": 629, + "__docId__": 627, "kind": "member", "static": false, "variation": null, @@ -13323,7 +13283,7 @@ } }, { - "__docId__": 630, + "__docId__": 628, "kind": "member", "static": false, "variation": null, @@ -13343,7 +13303,7 @@ } }, { - "__docId__": 631, + "__docId__": 629, "kind": "method", "static": false, "variation": null, @@ -13357,7 +13317,7 @@ "generator": false }, { - "__docId__": 632, + "__docId__": 630, "kind": "member", "static": false, "variation": null, @@ -13375,7 +13335,7 @@ } }, { - "__docId__": 633, + "__docId__": 631, "kind": "member", "static": false, "variation": null, @@ -13393,7 +13353,7 @@ } }, { - "__docId__": 634, + "__docId__": 632, "kind": "member", "static": false, "variation": null, @@ -13416,7 +13376,7 @@ } }, { - "__docId__": 635, + "__docId__": 633, "kind": "method", "static": false, "variation": null, @@ -13447,7 +13407,7 @@ "generator": false }, { - "__docId__": 636, + "__docId__": 634, "kind": "method", "static": false, "variation": null, @@ -13461,7 +13421,7 @@ "generator": false }, { - "__docId__": 637, + "__docId__": 635, "kind": "member", "static": false, "variation": null, @@ -13479,7 +13439,7 @@ } }, { - "__docId__": 638, + "__docId__": 636, "kind": "member", "static": false, "variation": null, @@ -13497,7 +13457,7 @@ } }, { - "__docId__": 639, + "__docId__": 637, "kind": "member", "static": false, "variation": null, @@ -13515,7 +13475,7 @@ } }, { - "__docId__": 640, + "__docId__": 638, "kind": "file", "static": true, "variation": null, @@ -13528,7 +13488,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__": 641, + "__docId__": 639, "kind": "class", "static": true, "variation": null, @@ -13557,7 +13517,7 @@ ] }, { - "__docId__": 642, + "__docId__": 640, "kind": "constructor", "static": false, "variation": null, @@ -13582,7 +13542,7 @@ "generator": false }, { - "__docId__": 643, + "__docId__": 641, "kind": "member", "static": false, "variation": null, @@ -13602,7 +13562,7 @@ } }, { - "__docId__": 644, + "__docId__": 642, "kind": "member", "static": false, "variation": null, @@ -13622,7 +13582,7 @@ } }, { - "__docId__": 645, + "__docId__": 643, "kind": "member", "static": false, "variation": null, @@ -13642,7 +13602,7 @@ } }, { - "__docId__": 646, + "__docId__": 644, "kind": "member", "static": false, "variation": null, @@ -13662,7 +13622,7 @@ } }, { - "__docId__": 647, + "__docId__": 645, "kind": "member", "static": false, "variation": null, @@ -13682,7 +13642,7 @@ } }, { - "__docId__": 648, + "__docId__": 646, "kind": "member", "static": false, "variation": null, @@ -13702,7 +13662,7 @@ } }, { - "__docId__": 649, + "__docId__": 647, "kind": "member", "static": false, "variation": null, @@ -13722,7 +13682,7 @@ } }, { - "__docId__": 650, + "__docId__": 648, "kind": "member", "static": false, "variation": null, @@ -13742,7 +13702,7 @@ } }, { - "__docId__": 651, + "__docId__": 649, "kind": "member", "static": false, "variation": null, @@ -13762,7 +13722,7 @@ } }, { - "__docId__": 652, + "__docId__": 650, "kind": "member", "static": false, "variation": null, @@ -13782,7 +13742,7 @@ } }, { - "__docId__": 653, + "__docId__": 651, "kind": "member", "static": false, "variation": null, @@ -13802,7 +13762,7 @@ } }, { - "__docId__": 654, + "__docId__": 652, "kind": "member", "static": false, "variation": null, @@ -13822,7 +13782,7 @@ } }, { - "__docId__": 655, + "__docId__": 653, "kind": "member", "static": false, "variation": null, @@ -13842,7 +13802,7 @@ } }, { - "__docId__": 656, + "__docId__": 654, "kind": "member", "static": false, "variation": null, @@ -13862,7 +13822,7 @@ } }, { - "__docId__": 657, + "__docId__": 655, "kind": "member", "static": false, "variation": null, @@ -13882,7 +13842,7 @@ } }, { - "__docId__": 658, + "__docId__": 656, "kind": "member", "static": false, "variation": null, @@ -13902,7 +13862,7 @@ } }, { - "__docId__": 659, + "__docId__": 657, "kind": "member", "static": false, "variation": null, @@ -13922,7 +13882,7 @@ } }, { - "__docId__": 660, + "__docId__": 658, "kind": "member", "static": false, "variation": null, @@ -13942,7 +13902,7 @@ } }, { - "__docId__": 661, + "__docId__": 659, "kind": "member", "static": false, "variation": null, @@ -13962,7 +13922,7 @@ } }, { - "__docId__": 662, + "__docId__": 660, "kind": "member", "static": false, "variation": null, @@ -13982,7 +13942,7 @@ } }, { - "__docId__": 663, + "__docId__": 661, "kind": "member", "static": false, "variation": null, @@ -14002,7 +13962,7 @@ } }, { - "__docId__": 664, + "__docId__": 662, "kind": "member", "static": false, "variation": null, @@ -14022,7 +13982,7 @@ } }, { - "__docId__": 665, + "__docId__": 663, "kind": "member", "static": false, "variation": null, @@ -14042,7 +14002,7 @@ } }, { - "__docId__": 666, + "__docId__": 664, "kind": "method", "static": false, "variation": null, @@ -14056,7 +14016,7 @@ "generator": false }, { - "__docId__": 667, + "__docId__": 665, "kind": "member", "static": false, "variation": null, @@ -14074,7 +14034,7 @@ } }, { - "__docId__": 668, + "__docId__": 666, "kind": "member", "static": false, "variation": null, @@ -14092,7 +14052,7 @@ } }, { - "__docId__": 669, + "__docId__": 667, "kind": "member", "static": false, "variation": null, @@ -14115,7 +14075,7 @@ } }, { - "__docId__": 670, + "__docId__": 668, "kind": "method", "static": false, "variation": null, @@ -14129,7 +14089,7 @@ "generator": false }, { - "__docId__": 671, + "__docId__": 669, "kind": "method", "static": false, "variation": null, @@ -14154,7 +14114,7 @@ "generator": false }, { - "__docId__": 672, + "__docId__": 670, "kind": "member", "static": false, "variation": null, @@ -14172,7 +14132,7 @@ } }, { - "__docId__": 673, + "__docId__": 671, "kind": "method", "static": false, "variation": null, @@ -14197,7 +14157,7 @@ "generator": false }, { - "__docId__": 674, + "__docId__": 672, "kind": "member", "static": false, "variation": null, @@ -14215,7 +14175,7 @@ } }, { - "__docId__": 675, + "__docId__": 673, "kind": "method", "static": false, "variation": null, @@ -14250,7 +14210,7 @@ "generator": false }, { - "__docId__": 676, + "__docId__": 674, "kind": "member", "static": false, "variation": null, @@ -14268,7 +14228,7 @@ } }, { - "__docId__": 677, + "__docId__": 675, "kind": "method", "static": false, "variation": null, @@ -14293,7 +14253,7 @@ "generator": false }, { - "__docId__": 678, + "__docId__": 676, "kind": "member", "static": false, "variation": null, @@ -14311,7 +14271,7 @@ } }, { - "__docId__": 679, + "__docId__": 677, "kind": "method", "static": false, "variation": null, @@ -14336,7 +14296,7 @@ "generator": false }, { - "__docId__": 680, + "__docId__": 678, "kind": "member", "static": false, "variation": null, @@ -14354,7 +14314,7 @@ } }, { - "__docId__": 681, + "__docId__": 679, "kind": "method", "static": false, "variation": null, @@ -14379,7 +14339,7 @@ "generator": false }, { - "__docId__": 682, + "__docId__": 680, "kind": "member", "static": false, "variation": null, @@ -14397,7 +14357,7 @@ } }, { - "__docId__": 683, + "__docId__": 681, "kind": "method", "static": false, "variation": null, @@ -14411,7 +14371,7 @@ "generator": false }, { - "__docId__": 684, + "__docId__": 682, "kind": "method", "static": false, "variation": null, @@ -14436,7 +14396,7 @@ "generator": false }, { - "__docId__": 685, + "__docId__": 683, "kind": "method", "static": false, "variation": null, @@ -14450,7 +14410,7 @@ "generator": false }, { - "__docId__": 686, + "__docId__": 684, "kind": "method", "static": false, "variation": null, @@ -14464,7 +14424,7 @@ "generator": false }, { - "__docId__": 687, + "__docId__": 685, "kind": "method", "static": false, "variation": null, @@ -14478,7 +14438,7 @@ "generator": false }, { - "__docId__": 688, + "__docId__": 686, "kind": "method", "static": false, "variation": null, @@ -14492,7 +14452,7 @@ "generator": false }, { - "__docId__": 689, + "__docId__": 687, "kind": "member", "static": false, "variation": null, @@ -14510,7 +14470,7 @@ } }, { - "__docId__": 690, + "__docId__": 688, "kind": "method", "static": false, "variation": null, @@ -14524,7 +14484,7 @@ "generator": false }, { - "__docId__": 691, + "__docId__": 689, "kind": "member", "static": false, "variation": null, @@ -14542,7 +14502,7 @@ } }, { - "__docId__": 692, + "__docId__": 690, "kind": "member", "static": false, "variation": null, @@ -14560,7 +14520,7 @@ } }, { - "__docId__": 693, + "__docId__": 691, "kind": "member", "static": false, "variation": null, @@ -14578,7 +14538,7 @@ } }, { - "__docId__": 694, + "__docId__": 692, "kind": "member", "static": false, "variation": null, @@ -14596,7 +14556,7 @@ } }, { - "__docId__": 695, + "__docId__": 693, "kind": "file", "static": true, "variation": null, @@ -14609,7 +14569,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__": 696, + "__docId__": 694, "kind": "class", "static": true, "variation": null, @@ -14638,7 +14598,7 @@ ] }, { - "__docId__": 697, + "__docId__": 695, "kind": "constructor", "static": false, "variation": null, @@ -14663,7 +14623,7 @@ "generator": false }, { - "__docId__": 698, + "__docId__": 696, "kind": "member", "static": false, "variation": null, @@ -14683,7 +14643,7 @@ } }, { - "__docId__": 699, + "__docId__": 697, "kind": "member", "static": false, "variation": null, @@ -14703,7 +14663,7 @@ } }, { - "__docId__": 700, + "__docId__": 698, "kind": "member", "static": false, "variation": null, @@ -14723,7 +14683,7 @@ } }, { - "__docId__": 701, + "__docId__": 699, "kind": "member", "static": false, "variation": null, @@ -14743,7 +14703,7 @@ } }, { - "__docId__": 702, + "__docId__": 700, "kind": "member", "static": false, "variation": null, @@ -14763,7 +14723,7 @@ } }, { - "__docId__": 703, + "__docId__": 701, "kind": "member", "static": false, "variation": null, @@ -14783,7 +14743,7 @@ } }, { - "__docId__": 704, + "__docId__": 702, "kind": "member", "static": false, "variation": null, @@ -14803,7 +14763,7 @@ } }, { - "__docId__": 705, + "__docId__": 703, "kind": "member", "static": false, "variation": null, @@ -14823,7 +14783,7 @@ } }, { - "__docId__": 706, + "__docId__": 704, "kind": "member", "static": false, "variation": null, @@ -14843,7 +14803,7 @@ } }, { - "__docId__": 707, + "__docId__": 705, "kind": "member", "static": false, "variation": null, @@ -14863,7 +14823,7 @@ } }, { - "__docId__": 708, + "__docId__": 706, "kind": "member", "static": false, "variation": null, @@ -14883,7 +14843,7 @@ } }, { - "__docId__": 709, + "__docId__": 707, "kind": "member", "static": false, "variation": null, @@ -14903,7 +14863,7 @@ } }, { - "__docId__": 710, + "__docId__": 708, "kind": "member", "static": false, "variation": null, @@ -14923,7 +14883,7 @@ } }, { - "__docId__": 711, + "__docId__": 709, "kind": "member", "static": false, "variation": null, @@ -14943,7 +14903,7 @@ } }, { - "__docId__": 712, + "__docId__": 710, "kind": "member", "static": false, "variation": null, @@ -14963,7 +14923,7 @@ } }, { - "__docId__": 713, + "__docId__": 711, "kind": "member", "static": false, "variation": null, @@ -14983,7 +14943,7 @@ } }, { - "__docId__": 714, + "__docId__": 712, "kind": "member", "static": false, "variation": null, @@ -15003,7 +14963,7 @@ } }, { - "__docId__": 715, + "__docId__": 713, "kind": "member", "static": false, "variation": null, @@ -15023,7 +14983,7 @@ } }, { - "__docId__": 716, + "__docId__": 714, "kind": "member", "static": false, "variation": null, @@ -15043,7 +15003,7 @@ } }, { - "__docId__": 717, + "__docId__": 715, "kind": "member", "static": false, "variation": null, @@ -15063,7 +15023,7 @@ } }, { - "__docId__": 718, + "__docId__": 716, "kind": "member", "static": false, "variation": null, @@ -15083,7 +15043,7 @@ } }, { - "__docId__": 719, + "__docId__": 717, "kind": "member", "static": false, "variation": null, @@ -15103,7 +15063,7 @@ } }, { - "__docId__": 720, + "__docId__": 718, "kind": "member", "static": false, "variation": null, @@ -15123,7 +15083,7 @@ } }, { - "__docId__": 721, + "__docId__": 719, "kind": "method", "static": false, "variation": null, @@ -15137,7 +15097,7 @@ "generator": false }, { - "__docId__": 722, + "__docId__": 720, "kind": "member", "static": false, "variation": null, @@ -15155,7 +15115,7 @@ } }, { - "__docId__": 723, + "__docId__": 721, "kind": "member", "static": false, "variation": null, @@ -15173,7 +15133,7 @@ } }, { - "__docId__": 724, + "__docId__": 722, "kind": "member", "static": false, "variation": null, @@ -15191,7 +15151,7 @@ } }, { - "__docId__": 725, + "__docId__": 723, "kind": "member", "static": false, "variation": null, @@ -15214,7 +15174,7 @@ } }, { - "__docId__": 726, + "__docId__": 724, "kind": "method", "static": false, "variation": null, @@ -15241,7 +15201,7 @@ "generator": false }, { - "__docId__": 727, + "__docId__": 725, "kind": "method", "static": false, "variation": null, @@ -15255,7 +15215,7 @@ "generator": false }, { - "__docId__": 728, + "__docId__": 726, "kind": "member", "static": false, "variation": null, @@ -15273,7 +15233,7 @@ } }, { - "__docId__": 729, + "__docId__": 727, "kind": "member", "static": false, "variation": null, @@ -15291,7 +15251,7 @@ } }, { - "__docId__": 730, + "__docId__": 728, "kind": "member", "static": false, "variation": null, @@ -15309,7 +15269,7 @@ } }, { - "__docId__": 731, + "__docId__": 729, "kind": "member", "static": false, "variation": null, @@ -15327,7 +15287,7 @@ } }, { - "__docId__": 732, + "__docId__": 730, "kind": "file", "static": true, "variation": null, @@ -15340,7 +15300,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__": 733, + "__docId__": 731, "kind": "variable", "static": true, "variation": null, @@ -15361,7 +15321,7 @@ } }, { - "__docId__": 734, + "__docId__": 732, "kind": "variable", "static": true, "variation": null, @@ -15382,7 +15342,7 @@ } }, { - "__docId__": 735, + "__docId__": 733, "kind": "variable", "static": true, "variation": null, @@ -15403,7 +15363,7 @@ } }, { - "__docId__": 736, + "__docId__": 734, "kind": "variable", "static": true, "variation": null, @@ -15423,7 +15383,7 @@ } }, { - "__docId__": 737, + "__docId__": 735, "kind": "class", "static": true, "variation": null, @@ -15449,7 +15409,7 @@ "interface": false }, { - "__docId__": 738, + "__docId__": 736, "kind": "constructor", "static": false, "variation": null, @@ -15474,7 +15434,7 @@ "generator": false }, { - "__docId__": 739, + "__docId__": 737, "kind": "member", "static": false, "variation": null, @@ -15494,7 +15454,7 @@ } }, { - "__docId__": 740, + "__docId__": 738, "kind": "member", "static": false, "variation": null, @@ -15514,7 +15474,7 @@ } }, { - "__docId__": 741, + "__docId__": 739, "kind": "member", "static": false, "variation": null, @@ -15534,7 +15494,7 @@ } }, { - "__docId__": 742, + "__docId__": 740, "kind": "member", "static": false, "variation": null, @@ -15554,7 +15514,7 @@ } }, { - "__docId__": 743, + "__docId__": 741, "kind": "member", "static": false, "variation": null, @@ -15574,7 +15534,7 @@ } }, { - "__docId__": 744, + "__docId__": 742, "kind": "member", "static": false, "variation": null, @@ -15594,7 +15554,7 @@ } }, { - "__docId__": 745, + "__docId__": 743, "kind": "method", "static": false, "variation": null, @@ -15608,7 +15568,7 @@ "generator": false }, { - "__docId__": 746, + "__docId__": 744, "kind": "method", "static": false, "variation": null, @@ -15633,7 +15593,7 @@ "generator": false }, { - "__docId__": 747, + "__docId__": 745, "kind": "method", "static": false, "variation": null, @@ -15661,7 +15621,7 @@ "generator": false }, { - "__docId__": 748, + "__docId__": 746, "kind": "method", "static": false, "variation": null, @@ -15675,7 +15635,7 @@ "generator": false }, { - "__docId__": 749, + "__docId__": 747, "kind": "method", "static": false, "variation": null, @@ -15689,7 +15649,7 @@ "generator": false }, { - "__docId__": 750, + "__docId__": 748, "kind": "method", "static": false, "variation": null, @@ -15717,7 +15677,7 @@ "generator": false }, { - "__docId__": 751, + "__docId__": 749, "kind": "method", "static": false, "variation": null, @@ -15731,7 +15691,7 @@ "generator": false }, { - "__docId__": 752, + "__docId__": 750, "kind": "member", "static": false, "variation": null, @@ -15749,7 +15709,7 @@ } }, { - "__docId__": 753, + "__docId__": 751, "kind": "member", "static": false, "variation": null, @@ -15767,7 +15727,7 @@ } }, { - "__docId__": 754, + "__docId__": 752, "kind": "file", "static": true, "variation": null, @@ -15780,7 +15740,7 @@ "content": "import {isNumber} from './types';\n\n/**\n * Takes a string, removes all formatting/cruft and returns the raw float value\n * @param {String} Formatted number\n * @param {String} Decimal type '.' or ','\n * @return {Number} Unformatted number\n *\n * https://github.com/openexchangerates/accounting.js/blob/master/accounting.js\n */\nexport const parse = (value, decimal = '.') => {\n // Return the value as-is if it's already a number\n if (isNumber(value)) {\n return value;\n }\n\n // Build regex to strip out everything except digits, decimal point and\n // minus sign\n let regex = new RegExp('[^0-9-' + decimal + ']', ['g']);\n let unformatted = parseFloat(\n ('' + value)\n .replace(/\\((.*)\\)/, '-$1') // replace bracketed values with negatives\n .replace(regex, '') // strip out any cruft\n .replace(decimal, '.') // make sure decimal point is standard\n );\n\n // This will fail silently\n return !isNaN(unformatted) ? unformatted : 0;\n}\n" }, { - "__docId__": 755, + "__docId__": 753, "kind": "variable", "static": true, "variation": null, @@ -15830,7 +15790,7 @@ } }, { - "__docId__": 756, + "__docId__": 754, "kind": "file", "static": true, "variation": null, @@ -15843,7 +15803,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__": 757, + "__docId__": 755, "kind": "variable", "static": true, "variation": null, @@ -15863,7 +15823,7 @@ } }, { - "__docId__": 758, + "__docId__": 756, "kind": "file", "static": true, "variation": null, @@ -15876,7 +15836,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__": 759, + "__docId__": 757, "kind": "variable", "static": true, "variation": null, @@ -15926,7 +15886,7 @@ } }, { - "__docId__": 760, + "__docId__": 758, "kind": "variable", "static": true, "variation": null, @@ -15978,7 +15938,7 @@ } }, { - "__docId__": 761, + "__docId__": 759, "kind": "variable", "static": true, "variation": null, @@ -16030,7 +15990,7 @@ } }, { - "__docId__": 762, + "__docId__": 760, "kind": "file", "static": true, "variation": null, @@ -16043,7 +16003,7 @@ "content": "import {remove as removeDiacritics} from 'diacritics';\n\n/**\n * String utilities\n */\n\n/**\n * Removes whitespace from both sides of passed string\n * @param {String} text\n * @return {String}\n */\nexport const trim = (text) => {\n if (text.trim) {\n return text.trim();\n }\n return text.replace(/^\\s*|\\s*$/g, '');\n}\n\n/**\n * Checks if passed string is empty\n * @param {String} text\n * @return {Boolean}\n */\nexport const isEmpty = (text) => trim(text) === '';\n\n/**\n * Makes regex safe string by escaping special characters from passed string\n * @param {String} text\n * @return {String} escaped string\n */\nexport const rgxEsc = (text) => {\n let chars = /[-\\/\\\\^$*+?.()|[\\]{}]/g;\n let escMatch = '\\\\$&';\n return String(text).replace(chars, escMatch);\n}\n\n/**\n * Returns passed string as lowercase if caseSensitive flag set false. By\n * default it returns the string with no casing changes.\n * @param {String} text\n * @return {String} string\n */\nexport const matchCase = (text, caseSensitive = false) => {\n if (!caseSensitive) {\n return text.toLowerCase();\n }\n return text;\n}\n\n/**\n * Checks if passed data contains the searched term\n * @param {String} term Searched term\n * @param {String} data Data string\n * @param {Boolean} exactMatch Exact match\n * @param {Boolean} caseSensitive Case sensitive\n * @param {Boolean} ignoreDiacritics Ignore diacritics\n * @return {Boolean}\n */\nexport const contains = (term, data, exactMatch = false, caseSensitive = false,\n ignoreDiacritics = false) => {\n // Improved by Cedric Wartel (cwl) automatic exact match for selects and\n // special characters are now filtered\n let regexp;\n let modifier = caseSensitive ? 'g' : 'gi';\n if (ignoreDiacritics) {\n term = removeDiacritics(term);\n data = removeDiacritics(data);\n }\n if (exactMatch) {\n regexp = new RegExp('(^\\\\s*)' + rgxEsc(term) + '(\\\\s*$)',\n modifier);\n } else {\n regexp = new RegExp(rgxEsc(term), modifier);\n }\n return regexp.test(data);\n}\n" }, { - "__docId__": 763, + "__docId__": 761, "kind": "variable", "static": true, "variation": null, @@ -16083,7 +16043,7 @@ } }, { - "__docId__": 764, + "__docId__": 762, "kind": "variable", "static": true, "variation": null, @@ -16123,7 +16083,7 @@ } }, { - "__docId__": 765, + "__docId__": 763, "kind": "variable", "static": true, "variation": null, @@ -16163,7 +16123,7 @@ } }, { - "__docId__": 766, + "__docId__": 764, "kind": "variable", "static": true, "variation": null, @@ -16203,7 +16163,7 @@ } }, { - "__docId__": 767, + "__docId__": 765, "kind": "variable", "static": true, "variation": null, @@ -16283,7 +16243,7 @@ } }, { - "__docId__": 768, + "__docId__": 766, "kind": "file", "static": true, "variation": null, @@ -16296,7 +16256,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 {\n isArray, isEmpty, isFn, isNumber, isObj, isString, isUndef\n} from './types';\nimport {parse as parseNb} from './number'\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';\nimport {DateType} from './modules/dateType';\n\nimport {\n INPUT, SELECT, MULTIPLE, CHECKLIST, NONE,\n ENTER_KEY, TAB_KEY, ESC_KEY, UP_ARROW_KEY, DOWN_ARROW_KEY,\n CELL_TAG, AUTO_FILTER_DELAY, NUMBER, DATE, FORMATTED_NUMBER\n} 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 * Ignore diacritics globally or on a column basis\n * @type {Boolean|Array}\n */\n this.ignoreDiacritics = f.ignore_diacritics;\n\n /**\n * Enable/disable linked filters filtering mode\n * @type {Boolean}\n */\n this.linkedFilters = Boolean(f.linked_filters);\n\n /**\n * Enable/disable readonly state for excluded options when\n * linked filters filtering mode is on\n * @type {Boolean}\n */\n this.disableExcludedOptions = Boolean(f.disable_excluded_options);\n\n /**\n * Active filter ID\n * @type {String}\n * @private\n */\n this.activeFilterId = null;\n\n /**\n * Enable/disable always visible rows, excluded from filtering\n * @type {Boolean}\n */\n this.hasVisibleRows = Boolean(f.rows_always_visible);\n\n /**\n * List of row indexes to be excluded from filtering\n * @type {Array}\n */\n this.visibleRows = this.hasVisibleRows ? f.rows_always_visible : [];\n\n /**\n * 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 /**\n * Define default locale, default to 'en' as per Sugar Date module:\n * https://sugarjs.com/docs/#/DateLocales\n * @type {String}\n */\n this.locale = f.locale || 'en';\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 data types\n * @type {Boolean}\n * @private\n */\n this.hasColTypes = isArray(f.col_types);\n\n /**\n * Define data types on a column basis, possible values 'string',\n * 'number', 'formatted-number', 'date', 'ipaddress' ie:\n * col_types : [\n * 'string', 'date', 'number',\n * { type: 'formatted-number', decimal: ',', thousands: '.' },\n * { type: 'date', locale: 'en-gb' },\n * { type: 'date', format: ['{dd}-{months}-{yyyy|yy}'] }\n * ]\n *\n * Refer to https://sugarjs.com/docs/#/DateParsing for exhaustive\n * information on date parsing formats supported by Sugar Date\n * @type {Array}\n */\n this.colTypes = this.hasColTypes ? f.col_types : [];\n\n /*** ids prefixes ***/\n /**\n * Main prefix\n * @private\n */\n this.prfxTf = 'TF';\n\n /**\n * Filter's ID prefix (inputs - selects)\n * @private\n */\n this.prfxFlt = 'flt';\n\n /**\n * Button's ID prefix\n * @private\n */\n this.prfxValButton = 'btn';\n\n /**\n * Toolbar container ID prefix\n * @private\n */\n this.prfxInfDiv = 'inf_';\n\n /**\n * Toolbar left element ID prefix\n * @private\n */\n this.prfxLDiv = 'ldiv_';\n\n /**\n * Toolbar right element ID prefix\n * @private\n */\n this.prfxRDiv = 'rdiv_';\n\n /**\n * Toolbar middle element ID prefix\n * @private\n */\n this.prfxMDiv = 'mdiv_';\n\n /**\n * Responsive Css class\n * @private\n */\n this.prfxResponsive = 'resp';\n\n /*** extensions ***/\n /**\n * List of loaded extensions\n * @type {Array}\n * @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 // Instanciate sugar date wrapper\n if (!Mod.dateType) {\n Mod.dateType = new DateType(this);\n }\n Mod.dateType.init();\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 // TODO: prevent filters row generation for popup filters too,\n // to reduce and simplify headers row index adjusting across lib modules\n // (GridLayout, PopupFilter etc)\n if (this.gridLayout) {\n return;\n }\n let fltrow;\n\n let thead = tag(this.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 numData;\n let decimal = this.decimalSeparator;\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, colIdx) {\n sA = matchCase(sA, this.caseSensitive);\n\n let occurence = false;\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 // Check for dates or resolve date type\n if (this.hasType(colIdx, [DATE])) {\n let dte1, dte2;\n\n let dateType = this.Mod.dateType;\n let isValidDate = dateType.isValid.bind(dateType);\n let parseDate = dateType.parse.bind(dateType);\n let locale = dateType.getOptions(colIdx).locale || this.locale;\n\n // Search arg dates tests\n let isLDate = hasLO &&\n isValidDate(sA.replace(re_l, ''), locale);\n let isLEDate = hasLE &&\n isValidDate(sA.replace(re_le, ''), locale);\n let isGDate = hasGR &&\n isValidDate(sA.replace(re_g, ''), locale);\n let isGEDate = hasGE &&\n isValidDate(sA.replace(re_ge, ''), locale);\n let isDFDate = hasDF &&\n isValidDate(sA.replace(re_d, ''), locale);\n let isEQDate = hasEQ &&\n isValidDate(sA.replace(re_eq, ''), locale);\n\n dte1 = parseDate(cellData, locale);\n\n // lower date\n if (isLDate) {\n dte2 = parseDate(sA.replace(re_l, ''), locale);\n occurence = dte1 < dte2;\n }\n // lower equal date\n else if (isLEDate) {\n dte2 = parseDate(sA.replace(re_le, ''), locale);\n occurence = dte1 <= dte2;\n }\n // greater equal date\n else if (isGEDate) {\n dte2 = parseDate(sA.replace(re_ge, ''), locale);\n occurence = dte1 >= dte2;\n }\n // greater date\n else if (isGDate) {\n dte2 = parseDate(sA.replace(re_g, ''), locale);\n occurence = dte1 > dte2;\n }\n // different date\n else if (isDFDate) {\n dte2 = parseDate(sA.replace(re_d, ''), locale);\n occurence = dte1.toString() !== dte2.toString();\n }\n // equal date\n else if (isEQDate) {\n dte2 = parseDate(sA.replace(re_eq, ''), locale);\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)) {\n dte2 = parseDate(sA, locale);\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,\n this.isExactMatch(colIdx), this.caseSensitive);\n }\n }\n\n else {\n if (this.hasType(colIdx, [FORMATTED_NUMBER])) {\n let colType = this.colTypes[colIdx];\n if (colType.hasOwnProperty('decimal')) {\n decimal = colType.decimal;\n }\n }\n // Convert to number anyways to auto-resolve type in case not\n // defined by configuration\n numData = Number(cellData) || parseNb(cellData, decimal);\n\n // first checks if there is any operator (<,>,<=,>=,!,*,=,{,},\n // rgx:)\n // lower equal\n if (hasLE) {\n occurence = numData <= parseNb(\n sA.replace(re_le, ''),\n decimal\n );\n }\n //greater equal\n else if (hasGE) {\n occurence = numData >= parseNb(\n sA.replace(re_ge, ''),\n decimal\n );\n }\n //lower\n else if (hasLO) {\n occurence = numData < parseNb(\n sA.replace(re_l, ''),\n decimal\n );\n }\n //greater\n else if (hasGR) {\n occurence = numData > parseNb(\n sA.replace(re_g, ''),\n decimal\n );\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 throws\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 (numData &&\n this.hasType(colIdx, [NUMBER, FORMATTED_NUMBER]) &&\n !this.singleSearchFlt) {\n // parseNb can return 0 for strings which are not\n // formatted numbers, in that case return the original\n // string. TODO: handle this in parseNb\n sA = parseNb(sA, decimal) || sA;\n occurence = numData === sA ||\n contains(sA.toString(), numData.toString(),\n this.isExactMatch(colIdx), this.caseSensitive);\n } else {\n // Finally test search term is contained in cell data\n occurence = contains(\n sA,\n cellData,\n this.isExactMatch(colIdx),\n this.caseSensitive,\n this.ignoresDiacritics(colIdx)\n );\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 let decimal = this.decimalSeparator;\n if (this.hasType(colIndex, [FORMATTED_NUMBER])) {\n let colType = this.colTypes[colIndex];\n if (colType.hasOwnProperty('decimal')) {\n decimal = colType.decimal;\n }\n }\n let data = num ?\n Number(cellData) || parseNb(cellData, decimal) :\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 Column index\n * @return {Boolean}\n */\n isExactMatch(colIndex) {\n let fltType = this.getFilterType(colIndex);\n return this.exactMatchByCol[colIndex] || this.exactMatch ||\n fltType !== INPUT;\n }\n\n /**\n * Checks if specified column filter ignores diacritics.\n * Note this is only valid for input filter types.\n * @param {any} colIndex Column index\n * @returns {Boolean}\n */\n ignoresDiacritics(colIndex) {\n let ignoreDiac = this.ignoreDiacritics;\n if (isArray(ignoreDiac)) {\n return ignoreDiac[colIndex];\n }\n return Boolean(ignoreDiac);\n }\n\n /**\n * 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 * Determine whether the specified column has one of the passed types\n * @param {Number} colIndex Column index\n * @param {Array} [types=[]] List of column types\n * @returns {Boolean}\n */\n hasType(colIndex, types = []) {\n if (!this.hasColTypes) {\n return false;\n }\n let colType = this.colTypes[colIndex];\n if (isObj(colType)) {\n colType = colType.type;\n }\n return types.indexOf(colType) !== -1;\n }\n\n /**\n * Get the header DOM element for a given column index\n * @param {Number} colIndex Column index\n * @return {Element}\n */\n getHeaderElement(colIndex) {\n let table = this.gridLayout ? this.Mod.gridLayout.headTbl : this.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__": 769, + "__docId__": 767, "kind": "variable", "static": true, "variation": null, @@ -16317,7 +16277,7 @@ } }, { - "__docId__": 770, + "__docId__": 768, "kind": "class", "static": true, "variation": null, @@ -16343,7 +16303,7 @@ "interface": false }, { - "__docId__": 771, + "__docId__": 769, "kind": "constructor", "static": false, "variation": null, @@ -16398,7 +16358,7 @@ "generator": false }, { - "__docId__": 772, + "__docId__": 770, "kind": "member", "static": false, "variation": null, @@ -16418,7 +16378,7 @@ } }, { - "__docId__": 773, + "__docId__": 771, "kind": "member", "static": false, "variation": null, @@ -16438,7 +16398,7 @@ } }, { - "__docId__": 774, + "__docId__": 772, "kind": "member", "static": false, "variation": null, @@ -16458,7 +16418,7 @@ } }, { - "__docId__": 775, + "__docId__": 773, "kind": "member", "static": false, "variation": null, @@ -16478,7 +16438,7 @@ } }, { - "__docId__": 776, + "__docId__": 774, "kind": "member", "static": false, "variation": null, @@ -16498,7 +16458,7 @@ } }, { - "__docId__": 777, + "__docId__": 775, "kind": "member", "static": false, "variation": null, @@ -16518,7 +16478,7 @@ } }, { - "__docId__": 778, + "__docId__": 776, "kind": "member", "static": false, "variation": null, @@ -16538,7 +16498,7 @@ } }, { - "__docId__": 779, + "__docId__": 777, "kind": "member", "static": false, "variation": null, @@ -16558,7 +16518,7 @@ } }, { - "__docId__": 780, + "__docId__": 778, "kind": "member", "static": false, "variation": null, @@ -16578,7 +16538,7 @@ } }, { - "__docId__": 781, + "__docId__": 779, "kind": "member", "static": false, "variation": null, @@ -16596,7 +16556,7 @@ } }, { - "__docId__": 782, + "__docId__": 780, "kind": "member", "static": false, "variation": null, @@ -16614,7 +16574,7 @@ } }, { - "__docId__": 783, + "__docId__": 781, "kind": "member", "static": false, "variation": null, @@ -16632,7 +16592,7 @@ } }, { - "__docId__": 784, + "__docId__": 782, "kind": "member", "static": false, "variation": null, @@ -16650,7 +16610,7 @@ } }, { - "__docId__": 785, + "__docId__": 783, "kind": "member", "static": false, "variation": null, @@ -16668,7 +16628,7 @@ } }, { - "__docId__": 786, + "__docId__": 784, "kind": "member", "static": false, "variation": null, @@ -16688,7 +16648,7 @@ } }, { - "__docId__": 787, + "__docId__": 785, "kind": "member", "static": false, "variation": null, @@ -16706,7 +16666,7 @@ } }, { - "__docId__": 788, + "__docId__": 786, "kind": "member", "static": false, "variation": null, @@ -16724,7 +16684,7 @@ } }, { - "__docId__": 789, + "__docId__": 787, "kind": "member", "static": false, "variation": null, @@ -16742,7 +16702,7 @@ } }, { - "__docId__": 790, + "__docId__": 788, "kind": "member", "static": false, "variation": null, @@ -16762,7 +16722,7 @@ } }, { - "__docId__": 791, + "__docId__": 789, "kind": "member", "static": false, "variation": null, @@ -16782,7 +16742,7 @@ } }, { - "__docId__": 792, + "__docId__": 790, "kind": "member", "static": false, "variation": null, @@ -16802,7 +16762,7 @@ } }, { - "__docId__": 793, + "__docId__": 791, "kind": "member", "static": false, "variation": null, @@ -16822,7 +16782,7 @@ } }, { - "__docId__": 794, + "__docId__": 792, "kind": "member", "static": false, "variation": null, @@ -16842,7 +16802,7 @@ } }, { - "__docId__": 795, + "__docId__": 793, "kind": "member", "static": false, "variation": null, @@ -16862,7 +16822,7 @@ } }, { - "__docId__": 796, + "__docId__": 794, "kind": "member", "static": false, "variation": null, @@ -16882,7 +16842,7 @@ } }, { - "__docId__": 797, + "__docId__": 795, "kind": "member", "static": false, "variation": null, @@ -16902,7 +16862,7 @@ } }, { - "__docId__": 798, + "__docId__": 796, "kind": "member", "static": false, "variation": null, @@ -16922,7 +16882,7 @@ } }, { - "__docId__": 799, + "__docId__": 797, "kind": "member", "static": false, "variation": null, @@ -16942,7 +16902,7 @@ } }, { - "__docId__": 800, + "__docId__": 798, "kind": "member", "static": false, "variation": null, @@ -16962,7 +16922,7 @@ } }, { - "__docId__": 801, + "__docId__": 799, "kind": "member", "static": false, "variation": null, @@ -16982,7 +16942,7 @@ } }, { - "__docId__": 802, + "__docId__": 800, "kind": "member", "static": false, "variation": null, @@ -17002,7 +16962,7 @@ } }, { - "__docId__": 803, + "__docId__": 801, "kind": "member", "static": false, "variation": null, @@ -17022,7 +16982,7 @@ } }, { - "__docId__": 804, + "__docId__": 802, "kind": "member", "static": false, "variation": null, @@ -17042,7 +17002,7 @@ } }, { - "__docId__": 805, + "__docId__": 803, "kind": "member", "static": false, "variation": null, @@ -17062,7 +17022,7 @@ } }, { - "__docId__": 806, + "__docId__": 804, "kind": "member", "static": false, "variation": null, @@ -17082,7 +17042,7 @@ } }, { - "__docId__": 807, + "__docId__": 805, "kind": "member", "static": false, "variation": null, @@ -17102,7 +17062,7 @@ } }, { - "__docId__": 808, + "__docId__": 806, "kind": "member", "static": false, "variation": null, @@ -17122,7 +17082,7 @@ } }, { - "__docId__": 809, + "__docId__": 807, "kind": "member", "static": false, "variation": null, @@ -17142,7 +17102,7 @@ } }, { - "__docId__": 810, + "__docId__": 808, "kind": "member", "static": false, "variation": null, @@ -17162,7 +17122,7 @@ } }, { - "__docId__": 811, + "__docId__": 809, "kind": "member", "static": false, "variation": null, @@ -17182,7 +17142,7 @@ } }, { - "__docId__": 812, + "__docId__": 810, "kind": "member", "static": false, "variation": null, @@ -17202,7 +17162,7 @@ } }, { - "__docId__": 813, + "__docId__": 811, "kind": "member", "static": false, "variation": null, @@ -17222,7 +17182,7 @@ } }, { - "__docId__": 814, + "__docId__": 812, "kind": "member", "static": false, "variation": null, @@ -17242,7 +17202,7 @@ } }, { - "__docId__": 815, + "__docId__": 813, "kind": "member", "static": false, "variation": null, @@ -17262,7 +17222,7 @@ } }, { - "__docId__": 816, + "__docId__": 814, "kind": "member", "static": false, "variation": null, @@ -17282,7 +17242,7 @@ } }, { - "__docId__": 817, + "__docId__": 815, "kind": "member", "static": false, "variation": null, @@ -17302,7 +17262,7 @@ } }, { - "__docId__": 818, + "__docId__": 816, "kind": "member", "static": false, "variation": null, @@ -17322,7 +17282,7 @@ } }, { - "__docId__": 819, + "__docId__": 817, "kind": "member", "static": false, "variation": null, @@ -17342,7 +17302,7 @@ } }, { - "__docId__": 820, + "__docId__": 818, "kind": "member", "static": false, "variation": null, @@ -17362,7 +17322,7 @@ } }, { - "__docId__": 821, + "__docId__": 819, "kind": "member", "static": false, "variation": null, @@ -17382,7 +17342,7 @@ } }, { - "__docId__": 822, + "__docId__": 820, "kind": "member", "static": false, "variation": null, @@ -17402,7 +17362,7 @@ } }, { - "__docId__": 823, + "__docId__": 821, "kind": "member", "static": false, "variation": null, @@ -17422,7 +17382,7 @@ } }, { - "__docId__": 824, + "__docId__": 822, "kind": "member", "static": false, "variation": null, @@ -17442,7 +17402,7 @@ } }, { - "__docId__": 825, + "__docId__": 823, "kind": "member", "static": false, "variation": null, @@ -17463,7 +17423,7 @@ } }, { - "__docId__": 826, + "__docId__": 824, "kind": "member", "static": false, "variation": null, @@ -17483,7 +17443,7 @@ } }, { - "__docId__": 827, + "__docId__": 825, "kind": "member", "static": false, "variation": null, @@ -17503,7 +17463,7 @@ } }, { - "__docId__": 828, + "__docId__": 826, "kind": "member", "static": false, "variation": null, @@ -17523,7 +17483,7 @@ } }, { - "__docId__": 829, + "__docId__": 827, "kind": "member", "static": false, "variation": null, @@ -17543,7 +17503,7 @@ } }, { - "__docId__": 830, + "__docId__": 828, "kind": "member", "static": false, "variation": null, @@ -17563,7 +17523,7 @@ } }, { - "__docId__": 831, + "__docId__": 829, "kind": "member", "static": false, "variation": null, @@ -17583,7 +17543,7 @@ } }, { - "__docId__": 832, + "__docId__": 830, "kind": "member", "static": false, "variation": null, @@ -17603,7 +17563,7 @@ } }, { - "__docId__": 833, + "__docId__": 831, "kind": "member", "static": false, "variation": null, @@ -17623,7 +17583,7 @@ } }, { - "__docId__": 834, + "__docId__": 832, "kind": "member", "static": false, "variation": null, @@ -17643,7 +17603,7 @@ } }, { - "__docId__": 835, + "__docId__": 833, "kind": "member", "static": false, "variation": null, @@ -17663,7 +17623,7 @@ } }, { - "__docId__": 836, + "__docId__": 834, "kind": "member", "static": false, "variation": null, @@ -17683,7 +17643,7 @@ } }, { - "__docId__": 837, + "__docId__": 835, "kind": "member", "static": false, "variation": null, @@ -17703,7 +17663,7 @@ } }, { - "__docId__": 838, + "__docId__": 836, "kind": "member", "static": false, "variation": null, @@ -17724,7 +17684,7 @@ } }, { - "__docId__": 839, + "__docId__": 837, "kind": "member", "static": false, "variation": null, @@ -17744,7 +17704,7 @@ } }, { - "__docId__": 840, + "__docId__": 838, "kind": "member", "static": false, "variation": null, @@ -17764,7 +17724,7 @@ } }, { - "__docId__": 841, + "__docId__": 839, "kind": "member", "static": false, "variation": null, @@ -17784,7 +17744,7 @@ } }, { - "__docId__": 842, + "__docId__": 840, "kind": "member", "static": false, "variation": null, @@ -17804,7 +17764,7 @@ } }, { - "__docId__": 843, + "__docId__": 841, "kind": "member", "static": false, "variation": null, @@ -17824,7 +17784,7 @@ } }, { - "__docId__": 844, + "__docId__": 842, "kind": "member", "static": false, "variation": null, @@ -17844,7 +17804,7 @@ } }, { - "__docId__": 845, + "__docId__": 843, "kind": "member", "static": false, "variation": null, @@ -17864,7 +17824,7 @@ } }, { - "__docId__": 846, + "__docId__": 844, "kind": "member", "static": false, "variation": null, @@ -17884,7 +17844,7 @@ } }, { - "__docId__": 847, + "__docId__": 845, "kind": "member", "static": false, "variation": null, @@ -17904,7 +17864,7 @@ } }, { - "__docId__": 848, + "__docId__": 846, "kind": "member", "static": false, "variation": null, @@ -17924,7 +17884,7 @@ } }, { - "__docId__": 849, + "__docId__": 847, "kind": "member", "static": false, "variation": null, @@ -17944,7 +17904,7 @@ } }, { - "__docId__": 850, + "__docId__": 848, "kind": "member", "static": false, "variation": null, @@ -17964,7 +17924,7 @@ } }, { - "__docId__": 851, + "__docId__": 849, "kind": "member", "static": false, "variation": null, @@ -17984,7 +17944,7 @@ } }, { - "__docId__": 852, + "__docId__": 850, "kind": "member", "static": false, "variation": null, @@ -18004,7 +17964,7 @@ } }, { - "__docId__": 853, + "__docId__": 851, "kind": "member", "static": false, "variation": null, @@ -18024,7 +17984,7 @@ } }, { - "__docId__": 854, + "__docId__": 852, "kind": "member", "static": false, "variation": null, @@ -18044,7 +18004,7 @@ } }, { - "__docId__": 855, + "__docId__": 853, "kind": "member", "static": false, "variation": null, @@ -18064,7 +18024,7 @@ } }, { - "__docId__": 856, + "__docId__": 854, "kind": "member", "static": false, "variation": null, @@ -18084,7 +18044,7 @@ } }, { - "__docId__": 857, + "__docId__": 855, "kind": "member", "static": false, "variation": null, @@ -18104,7 +18064,7 @@ } }, { - "__docId__": 858, + "__docId__": 856, "kind": "member", "static": false, "variation": null, @@ -18124,7 +18084,7 @@ } }, { - "__docId__": 859, + "__docId__": 857, "kind": "member", "static": false, "variation": null, @@ -18144,7 +18104,7 @@ } }, { - "__docId__": 860, + "__docId__": 858, "kind": "member", "static": false, "variation": null, @@ -18164,7 +18124,7 @@ } }, { - "__docId__": 861, + "__docId__": 859, "kind": "member", "static": false, "variation": null, @@ -18184,7 +18144,7 @@ } }, { - "__docId__": 862, + "__docId__": 860, "kind": "member", "static": false, "variation": null, @@ -18204,7 +18164,7 @@ } }, { - "__docId__": 863, + "__docId__": 861, "kind": "member", "static": false, "variation": null, @@ -18224,7 +18184,7 @@ } }, { - "__docId__": 864, + "__docId__": 862, "kind": "member", "static": false, "variation": null, @@ -18244,7 +18204,7 @@ } }, { - "__docId__": 865, + "__docId__": 863, "kind": "member", "static": false, "variation": null, @@ -18264,7 +18224,7 @@ } }, { - "__docId__": 866, + "__docId__": 864, "kind": "member", "static": false, "variation": null, @@ -18284,7 +18244,7 @@ } }, { - "__docId__": 867, + "__docId__": 865, "kind": "member", "static": false, "variation": null, @@ -18304,7 +18264,7 @@ } }, { - "__docId__": 868, + "__docId__": 866, "kind": "member", "static": false, "variation": null, @@ -18324,7 +18284,7 @@ } }, { - "__docId__": 869, + "__docId__": 867, "kind": "member", "static": false, "variation": null, @@ -18344,7 +18304,7 @@ } }, { - "__docId__": 870, + "__docId__": 868, "kind": "member", "static": false, "variation": null, @@ -18364,7 +18324,7 @@ } }, { - "__docId__": 871, + "__docId__": 869, "kind": "member", "static": false, "variation": null, @@ -18384,7 +18344,7 @@ } }, { - "__docId__": 872, + "__docId__": 870, "kind": "member", "static": false, "variation": null, @@ -18404,7 +18364,7 @@ } }, { - "__docId__": 873, + "__docId__": 871, "kind": "member", "static": false, "variation": null, @@ -18424,7 +18384,7 @@ } }, { - "__docId__": 874, + "__docId__": 872, "kind": "member", "static": false, "variation": null, @@ -18444,7 +18404,7 @@ } }, { - "__docId__": 875, + "__docId__": 873, "kind": "member", "static": false, "variation": null, @@ -18464,7 +18424,7 @@ } }, { - "__docId__": 876, + "__docId__": 874, "kind": "member", "static": false, "variation": null, @@ -18484,7 +18444,7 @@ } }, { - "__docId__": 877, + "__docId__": 875, "kind": "member", "static": false, "variation": null, @@ -18504,7 +18464,7 @@ } }, { - "__docId__": 878, + "__docId__": 876, "kind": "member", "static": false, "variation": null, @@ -18524,7 +18484,7 @@ } }, { - "__docId__": 879, + "__docId__": 877, "kind": "member", "static": false, "variation": null, @@ -18544,7 +18504,7 @@ } }, { - "__docId__": 880, + "__docId__": 878, "kind": "member", "static": false, "variation": null, @@ -18564,7 +18524,7 @@ } }, { - "__docId__": 881, + "__docId__": 879, "kind": "member", "static": false, "variation": null, @@ -18584,7 +18544,7 @@ } }, { - "__docId__": 882, + "__docId__": 880, "kind": "member", "static": false, "variation": null, @@ -18604,7 +18564,7 @@ } }, { - "__docId__": 883, + "__docId__": 881, "kind": "member", "static": false, "variation": null, @@ -18624,7 +18584,7 @@ } }, { - "__docId__": 884, + "__docId__": 882, "kind": "member", "static": false, "variation": null, @@ -18644,7 +18604,7 @@ } }, { - "__docId__": 885, + "__docId__": 883, "kind": "member", "static": false, "variation": null, @@ -18664,7 +18624,7 @@ } }, { - "__docId__": 886, + "__docId__": 884, "kind": "member", "static": false, "variation": null, @@ -18684,7 +18644,7 @@ } }, { - "__docId__": 887, + "__docId__": 885, "kind": "member", "static": false, "variation": null, @@ -18704,7 +18664,7 @@ } }, { - "__docId__": 888, + "__docId__": 886, "kind": "member", "static": false, "variation": null, @@ -18724,7 +18684,7 @@ } }, { - "__docId__": 889, + "__docId__": 887, "kind": "member", "static": false, "variation": null, @@ -18744,7 +18704,7 @@ } }, { - "__docId__": 890, + "__docId__": 888, "kind": "member", "static": false, "variation": null, @@ -18764,7 +18724,7 @@ } }, { - "__docId__": 891, + "__docId__": 889, "kind": "member", "static": false, "variation": null, @@ -18784,7 +18744,7 @@ } }, { - "__docId__": 892, + "__docId__": 890, "kind": "member", "static": false, "variation": null, @@ -18804,7 +18764,7 @@ } }, { - "__docId__": 893, + "__docId__": 891, "kind": "member", "static": false, "variation": null, @@ -18824,7 +18784,7 @@ } }, { - "__docId__": 894, + "__docId__": 892, "kind": "member", "static": false, "variation": null, @@ -18844,7 +18804,7 @@ } }, { - "__docId__": 895, + "__docId__": 893, "kind": "member", "static": false, "variation": null, @@ -18864,7 +18824,7 @@ } }, { - "__docId__": 896, + "__docId__": 894, "kind": "member", "static": false, "variation": null, @@ -18884,7 +18844,7 @@ } }, { - "__docId__": 897, + "__docId__": 895, "kind": "member", "static": false, "variation": null, @@ -18904,7 +18864,7 @@ } }, { - "__docId__": 898, + "__docId__": 896, "kind": "member", "static": false, "variation": null, @@ -18924,7 +18884,7 @@ } }, { - "__docId__": 899, + "__docId__": 897, "kind": "member", "static": false, "variation": null, @@ -18941,7 +18901,7 @@ } }, { - "__docId__": 900, + "__docId__": 898, "kind": "member", "static": false, "variation": null, @@ -18958,7 +18918,7 @@ } }, { - "__docId__": 901, + "__docId__": 899, "kind": "member", "static": false, "variation": null, @@ -18975,7 +18935,7 @@ } }, { - "__docId__": 902, + "__docId__": 900, "kind": "member", "static": false, "variation": null, @@ -18992,7 +18952,7 @@ } }, { - "__docId__": 903, + "__docId__": 901, "kind": "member", "static": false, "variation": null, @@ -19009,7 +18969,7 @@ } }, { - "__docId__": 904, + "__docId__": 902, "kind": "member", "static": false, "variation": null, @@ -19026,7 +18986,7 @@ } }, { - "__docId__": 905, + "__docId__": 903, "kind": "member", "static": false, "variation": null, @@ -19043,7 +19003,7 @@ } }, { - "__docId__": 906, + "__docId__": 904, "kind": "member", "static": false, "variation": null, @@ -19060,7 +19020,7 @@ } }, { - "__docId__": 907, + "__docId__": 905, "kind": "member", "static": false, "variation": null, @@ -19080,7 +19040,7 @@ } }, { - "__docId__": 908, + "__docId__": 906, "kind": "member", "static": false, "variation": null, @@ -19100,7 +19060,7 @@ } }, { - "__docId__": 909, + "__docId__": 907, "kind": "member", "static": false, "variation": null, @@ -19120,7 +19080,7 @@ } }, { - "__docId__": 910, + "__docId__": 908, "kind": "member", "static": false, "variation": null, @@ -19140,7 +19100,7 @@ } }, { - "__docId__": 911, + "__docId__": 909, "kind": "member", "static": false, "variation": null, @@ -19160,7 +19120,7 @@ } }, { - "__docId__": 912, + "__docId__": 910, "kind": "member", "static": false, "variation": null, @@ -19180,7 +19140,7 @@ } }, { - "__docId__": 913, + "__docId__": 911, "kind": "member", "static": false, "variation": null, @@ -19200,7 +19160,7 @@ } }, { - "__docId__": 914, + "__docId__": 912, "kind": "member", "static": false, "variation": null, @@ -19217,7 +19177,7 @@ } }, { - "__docId__": 915, + "__docId__": 913, "kind": "member", "static": false, "variation": null, @@ -19234,7 +19194,7 @@ } }, { - "__docId__": 916, + "__docId__": 914, "kind": "method", "static": false, "variation": null, @@ -19248,7 +19208,7 @@ "generator": false }, { - "__docId__": 917, + "__docId__": 915, "kind": "member", "static": false, "variation": null, @@ -19266,7 +19226,7 @@ } }, { - "__docId__": 918, + "__docId__": 916, "kind": "member", "static": false, "variation": null, @@ -19289,7 +19249,7 @@ } }, { - "__docId__": 919, + "__docId__": 917, "kind": "method", "static": false, "variation": null, @@ -19314,7 +19274,7 @@ "generator": false }, { - "__docId__": 920, + "__docId__": 918, "kind": "member", "static": false, "variation": null, @@ -19332,7 +19292,7 @@ } }, { - "__docId__": 921, + "__docId__": 919, "kind": "member", "static": false, "variation": null, @@ -19350,7 +19310,7 @@ } }, { - "__docId__": 922, + "__docId__": 920, "kind": "method", "static": false, "variation": null, @@ -19375,7 +19335,7 @@ "generator": false }, { - "__docId__": 923, + "__docId__": 921, "kind": "member", "static": false, "variation": null, @@ -19393,7 +19353,7 @@ } }, { - "__docId__": 924, + "__docId__": 922, "kind": "member", "static": false, "variation": null, @@ -19411,7 +19371,7 @@ } }, { - "__docId__": 925, + "__docId__": 923, "kind": "member", "static": false, "variation": null, @@ -19429,7 +19389,7 @@ } }, { - "__docId__": 926, + "__docId__": 924, "kind": "member", "static": false, "variation": null, @@ -19447,7 +19407,7 @@ } }, { - "__docId__": 927, + "__docId__": 925, "kind": "member", "static": false, "variation": null, @@ -19465,7 +19425,7 @@ } }, { - "__docId__": 928, + "__docId__": 926, "kind": "method", "static": false, "variation": null, @@ -19479,7 +19439,7 @@ "generator": false }, { - "__docId__": 929, + "__docId__": 927, "kind": "member", "static": false, "variation": null, @@ -19497,7 +19457,7 @@ } }, { - "__docId__": 930, + "__docId__": 928, "kind": "method", "static": false, "variation": null, @@ -19522,7 +19482,7 @@ "generator": false }, { - "__docId__": 931, + "__docId__": 929, "kind": "method", "static": false, "variation": null, @@ -19536,7 +19496,7 @@ "generator": false }, { - "__docId__": 932, + "__docId__": 930, "kind": "member", "static": false, "variation": null, @@ -19554,7 +19514,7 @@ } }, { - "__docId__": 933, + "__docId__": 931, "kind": "method", "static": false, "variation": null, @@ -19573,7 +19533,7 @@ "generator": false }, { - "__docId__": 934, + "__docId__": 932, "kind": "method", "static": false, "variation": null, @@ -19587,7 +19547,7 @@ "generator": false }, { - "__docId__": 935, + "__docId__": 933, "kind": "member", "static": false, "variation": null, @@ -19605,7 +19565,7 @@ } }, { - "__docId__": 936, + "__docId__": 934, "kind": "member", "static": false, "variation": null, @@ -19623,7 +19583,7 @@ } }, { - "__docId__": 937, + "__docId__": 935, "kind": "method", "static": false, "variation": null, @@ -19668,7 +19628,7 @@ "generator": false }, { - "__docId__": 938, + "__docId__": 936, "kind": "method", "static": false, "variation": null, @@ -19703,7 +19663,7 @@ "generator": false }, { - "__docId__": 939, + "__docId__": 937, "kind": "method", "static": false, "variation": null, @@ -19736,7 +19696,7 @@ "generator": false }, { - "__docId__": 940, + "__docId__": 938, "kind": "method", "static": false, "variation": null, @@ -19750,7 +19710,7 @@ "generator": false }, { - "__docId__": 941, + "__docId__": 939, "kind": "method", "static": false, "variation": null, @@ -19775,7 +19735,7 @@ "generator": false }, { - "__docId__": 942, + "__docId__": 940, "kind": "method", "static": false, "variation": null, @@ -19808,7 +19768,7 @@ "generator": false }, { - "__docId__": 943, + "__docId__": 941, "kind": "method", "static": false, "variation": null, @@ -19841,7 +19801,7 @@ "generator": false }, { - "__docId__": 944, + "__docId__": 942, "kind": "method", "static": false, "variation": null, @@ -19855,7 +19815,7 @@ "generator": false }, { - "__docId__": 945, + "__docId__": 943, "kind": "method", "static": false, "variation": null, @@ -19869,7 +19829,7 @@ "generator": false }, { - "__docId__": 946, + "__docId__": 944, "kind": "member", "static": false, "variation": null, @@ -19887,7 +19847,7 @@ } }, { - "__docId__": 947, + "__docId__": 945, "kind": "method", "static": false, "variation": null, @@ -19919,7 +19879,7 @@ "generator": false }, { - "__docId__": 948, + "__docId__": 946, "kind": "method", "static": false, "variation": null, @@ -19933,7 +19893,7 @@ "generator": false }, { - "__docId__": 949, + "__docId__": 947, "kind": "member", "static": false, "variation": null, @@ -19951,7 +19911,7 @@ } }, { - "__docId__": 950, + "__docId__": 948, "kind": "member", "static": false, "variation": null, @@ -19969,7 +19929,7 @@ } }, { - "__docId__": 951, + "__docId__": 949, "kind": "member", "static": false, "variation": null, @@ -19987,7 +19947,7 @@ } }, { - "__docId__": 952, + "__docId__": 950, "kind": "member", "static": false, "variation": null, @@ -20005,7 +19965,7 @@ } }, { - "__docId__": 953, + "__docId__": 951, "kind": "method", "static": false, "variation": null, @@ -20019,7 +19979,7 @@ "generator": false }, { - "__docId__": 954, + "__docId__": 952, "kind": "member", "static": false, "variation": null, @@ -20037,7 +19997,7 @@ } }, { - "__docId__": 955, + "__docId__": 953, "kind": "member", "static": false, "variation": null, @@ -20055,7 +20015,7 @@ } }, { - "__docId__": 956, + "__docId__": 954, "kind": "member", "static": false, "variation": null, @@ -20073,7 +20033,7 @@ } }, { - "__docId__": 957, + "__docId__": 955, "kind": "member", "static": false, "variation": null, @@ -20091,7 +20051,7 @@ } }, { - "__docId__": 958, + "__docId__": 956, "kind": "method", "static": false, "variation": null, @@ -20105,7 +20065,7 @@ "generator": false }, { - "__docId__": 959, + "__docId__": 957, "kind": "member", "static": false, "variation": null, @@ -20123,7 +20083,7 @@ } }, { - "__docId__": 960, + "__docId__": 958, "kind": "method", "static": false, "variation": null, @@ -20137,7 +20097,7 @@ "generator": false }, { - "__docId__": 961, + "__docId__": 959, "kind": "method", "static": false, "variation": null, @@ -20170,7 +20130,7 @@ "generator": false }, { - "__docId__": 962, + "__docId__": 960, "kind": "method", "static": false, "variation": null, @@ -20203,7 +20163,7 @@ "generator": false }, { - "__docId__": 963, + "__docId__": 961, "kind": "method", "static": false, "variation": null, @@ -20217,7 +20177,7 @@ "generator": false }, { - "__docId__": 964, + "__docId__": 962, "kind": "member", "static": false, "variation": null, @@ -20235,7 +20195,7 @@ } }, { - "__docId__": 965, + "__docId__": 963, "kind": "member", "static": false, "variation": null, @@ -20253,7 +20213,7 @@ } }, { - "__docId__": 966, + "__docId__": 964, "kind": "method", "static": false, "variation": null, @@ -20316,7 +20276,7 @@ "generator": false }, { - "__docId__": 967, + "__docId__": 965, "kind": "method", "static": false, "variation": null, @@ -20349,7 +20309,7 @@ "generator": false }, { - "__docId__": 968, + "__docId__": 966, "kind": "method", "static": false, "variation": null, @@ -20371,7 +20331,7 @@ "generator": false }, { - "__docId__": 969, + "__docId__": 967, "kind": "method", "static": false, "variation": null, @@ -20404,7 +20364,7 @@ "generator": false }, { - "__docId__": 970, + "__docId__": 968, "kind": "method", "static": false, "variation": null, @@ -20447,7 +20407,7 @@ "generator": false }, { - "__docId__": 971, + "__docId__": 969, "kind": "method", "static": false, "variation": null, @@ -20480,7 +20440,7 @@ "generator": false }, { - "__docId__": 972, + "__docId__": 970, "kind": "method", "static": false, "variation": null, @@ -20513,7 +20473,7 @@ "generator": false }, { - "__docId__": 973, + "__docId__": 971, "kind": "method", "static": false, "variation": null, @@ -20546,7 +20506,7 @@ "generator": false }, { - "__docId__": 974, + "__docId__": 972, "kind": "method", "static": false, "variation": null, @@ -20579,7 +20539,7 @@ "generator": false }, { - "__docId__": 975, + "__docId__": 973, "kind": "method", "static": false, "variation": null, @@ -20622,7 +20582,7 @@ "generator": false }, { - "__docId__": 976, + "__docId__": 974, "kind": "method", "static": false, "variation": null, @@ -20665,7 +20625,7 @@ "generator": false }, { - "__docId__": 977, + "__docId__": 975, "kind": "method", "static": false, "variation": null, @@ -20708,7 +20668,7 @@ "generator": false }, { - "__docId__": 978, + "__docId__": 976, "kind": "method", "static": false, "variation": null, @@ -20741,7 +20701,7 @@ "generator": false }, { - "__docId__": 979, + "__docId__": 977, "kind": "method", "static": false, "variation": null, @@ -20776,7 +20736,7 @@ "generator": false }, { - "__docId__": 980, + "__docId__": 978, "kind": "method", "static": false, "variation": null, @@ -20790,7 +20750,7 @@ "generator": false }, { - "__docId__": 981, + "__docId__": 979, "kind": "member", "static": false, "variation": null, @@ -20808,7 +20768,7 @@ } }, { - "__docId__": 982, + "__docId__": 980, "kind": "method", "static": false, "variation": null, @@ -20843,7 +20803,7 @@ "generator": false }, { - "__docId__": 983, + "__docId__": 981, "kind": "method", "static": false, "variation": null, @@ -20868,7 +20828,7 @@ "generator": false }, { - "__docId__": 984, + "__docId__": 982, "kind": "method", "static": false, "variation": null, @@ -20882,7 +20842,7 @@ "generator": false }, { - "__docId__": 985, + "__docId__": 983, "kind": "method", "static": false, "variation": null, @@ -20896,7 +20856,7 @@ "generator": false }, { - "__docId__": 986, + "__docId__": 984, "kind": "method", "static": false, "variation": null, @@ -20910,7 +20870,7 @@ "generator": false }, { - "__docId__": 987, + "__docId__": 985, "kind": "method", "static": false, "variation": null, @@ -20935,7 +20895,7 @@ "generator": false }, { - "__docId__": 988, + "__docId__": 986, "kind": "method", "static": false, "variation": null, @@ -20963,7 +20923,7 @@ "generator": false }, { - "__docId__": 989, + "__docId__": 987, "kind": "method", "static": false, "variation": null, @@ -20988,7 +20948,7 @@ "generator": false }, { - "__docId__": 990, + "__docId__": 988, "kind": "member", "static": false, "variation": null, @@ -21006,7 +20966,7 @@ } }, { - "__docId__": 991, + "__docId__": 989, "kind": "method", "static": false, "variation": null, @@ -21047,7 +21007,7 @@ "generator": false }, { - "__docId__": 992, + "__docId__": 990, "kind": "method", "static": false, "variation": null, @@ -21072,7 +21032,7 @@ "generator": false }, { - "__docId__": 993, + "__docId__": 991, "kind": "method", "static": false, "variation": null, @@ -21086,7 +21046,7 @@ "generator": false }, { - "__docId__": 994, + "__docId__": 992, "kind": "method", "static": false, "variation": null, @@ -21119,7 +21079,7 @@ "generator": false }, { - "__docId__": 995, + "__docId__": 993, "kind": "method", "static": false, "variation": null, @@ -21158,7 +21118,7 @@ "generator": false }, { - "__docId__": 996, + "__docId__": 994, "kind": "method", "static": false, "variation": null, @@ -21201,7 +21161,7 @@ "generator": false }, { - "__docId__": 997, + "__docId__": 995, "kind": "method", "static": false, "variation": null, @@ -21256,7 +21216,7 @@ "generator": false }, { - "__docId__": 998, + "__docId__": 996, "kind": "method", "static": false, "variation": null, @@ -21278,7 +21238,7 @@ "generator": false }, { - "__docId__": 999, + "__docId__": 997, "kind": "method", "static": false, "variation": null, @@ -21300,7 +21260,7 @@ "generator": false }, { - "__docId__": 1000, + "__docId__": 998, "kind": "method", "static": false, "variation": null, @@ -21333,7 +21293,7 @@ "generator": false }, { - "__docId__": 1001, + "__docId__": 999, "kind": "member", "static": false, "variation": null, @@ -21351,7 +21311,7 @@ } }, { - "__docId__": 1002, + "__docId__": 1000, "kind": "method", "static": false, "variation": null, @@ -21373,7 +21333,7 @@ "generator": false }, { - "__docId__": 1003, + "__docId__": 1001, "kind": "method", "static": false, "variation": null, @@ -21395,7 +21355,7 @@ "generator": false }, { - "__docId__": 1004, + "__docId__": 1002, "kind": "method", "static": false, "variation": null, @@ -21417,7 +21377,7 @@ "generator": false }, { - "__docId__": 1005, + "__docId__": 1003, "kind": "method", "static": false, "variation": null, @@ -21439,7 +21399,7 @@ "generator": false }, { - "__docId__": 1006, + "__docId__": 1004, "kind": "method", "static": false, "variation": null, @@ -21490,7 +21450,7 @@ "generator": false }, { - "__docId__": 1007, + "__docId__": 1005, "kind": "method", "static": false, "variation": null, @@ -21523,7 +21483,7 @@ "generator": false }, { - "__docId__": 1008, + "__docId__": 1006, "kind": "method", "static": false, "variation": null, @@ -21556,7 +21516,7 @@ "generator": false }, { - "__docId__": 1009, + "__docId__": 1007, "kind": "method", "static": false, "variation": null, @@ -21589,7 +21549,7 @@ "generator": false }, { - "__docId__": 1010, + "__docId__": 1008, "kind": "method", "static": false, "variation": null, @@ -21611,7 +21571,7 @@ "generator": false }, { - "__docId__": 1011, + "__docId__": 1009, "kind": "method", "static": false, "variation": null, @@ -21652,7 +21612,7 @@ "generator": false }, { - "__docId__": 1012, + "__docId__": 1010, "kind": "method", "static": false, "variation": null, @@ -21674,7 +21634,7 @@ "generator": false }, { - "__docId__": 1013, + "__docId__": 1011, "kind": "file", "static": true, "variation": null, @@ -21687,7 +21647,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__": 1014, + "__docId__": 1012, "kind": "variable", "static": true, "variation": null, @@ -21707,7 +21667,7 @@ } }, { - "__docId__": 1015, + "__docId__": 1013, "kind": "variable", "static": true, "variation": null, @@ -21747,7 +21707,7 @@ } }, { - "__docId__": 1016, + "__docId__": 1014, "kind": "variable", "static": true, "variation": null, @@ -21787,7 +21747,7 @@ } }, { - "__docId__": 1017, + "__docId__": 1015, "kind": "variable", "static": true, "variation": null, @@ -21827,7 +21787,7 @@ } }, { - "__docId__": 1018, + "__docId__": 1016, "kind": "variable", "static": true, "variation": null, @@ -21873,7 +21833,7 @@ } }, { - "__docId__": 1019, + "__docId__": 1017, "kind": "variable", "static": true, "variation": null, @@ -21919,7 +21879,7 @@ } }, { - "__docId__": 1020, + "__docId__": 1018, "kind": "variable", "static": true, "variation": null, @@ -21959,7 +21919,7 @@ } }, { - "__docId__": 1021, + "__docId__": 1019, "kind": "variable", "static": true, "variation": null, @@ -21999,7 +21959,7 @@ } }, { - "__docId__": 1022, + "__docId__": 1020, "kind": "variable", "static": true, "variation": null, @@ -22039,7 +21999,7 @@ } }, { - "__docId__": 1024, + "__docId__": 1022, "kind": "external", "static": true, "variation": null, @@ -22052,7 +22012,7 @@ "builtinExternal": true }, { - "__docId__": 1025, + "__docId__": 1023, "kind": "external", "static": true, "variation": null, @@ -22065,7 +22025,7 @@ "builtinExternal": true }, { - "__docId__": 1026, + "__docId__": 1024, "kind": "external", "static": true, "variation": null, @@ -22078,7 +22038,7 @@ "builtinExternal": true }, { - "__docId__": 1027, + "__docId__": 1025, "kind": "external", "static": true, "variation": null, @@ -22091,7 +22051,7 @@ "builtinExternal": true }, { - "__docId__": 1028, + "__docId__": 1026, "kind": "external", "static": true, "variation": null, @@ -22104,7 +22064,7 @@ "builtinExternal": true }, { - "__docId__": 1029, + "__docId__": 1027, "kind": "external", "static": true, "variation": null, @@ -22117,7 +22077,7 @@ "builtinExternal": true }, { - "__docId__": 1030, + "__docId__": 1028, "kind": "external", "static": true, "variation": null, @@ -22130,7 +22090,7 @@ "builtinExternal": true }, { - "__docId__": 1031, + "__docId__": 1029, "kind": "external", "static": true, "variation": null, @@ -22143,7 +22103,7 @@ "builtinExternal": true }, { - "__docId__": 1032, + "__docId__": 1030, "kind": "external", "static": true, "variation": null, @@ -22156,7 +22116,7 @@ "builtinExternal": true }, { - "__docId__": 1033, + "__docId__": 1031, "kind": "external", "static": true, "variation": null, @@ -22169,7 +22129,7 @@ "builtinExternal": true }, { - "__docId__": 1034, + "__docId__": 1032, "kind": "external", "static": true, "variation": null, @@ -22182,7 +22142,7 @@ "builtinExternal": true }, { - "__docId__": 1035, + "__docId__": 1033, "kind": "external", "static": true, "variation": null, @@ -22195,7 +22155,7 @@ "builtinExternal": true }, { - "__docId__": 1036, + "__docId__": 1034, "kind": "external", "static": true, "variation": null, @@ -22208,7 +22168,7 @@ "builtinExternal": true }, { - "__docId__": 1037, + "__docId__": 1035, "kind": "external", "static": true, "variation": null, @@ -22221,7 +22181,7 @@ "builtinExternal": true }, { - "__docId__": 1038, + "__docId__": 1036, "kind": "external", "static": true, "variation": null, @@ -22234,7 +22194,7 @@ "builtinExternal": true }, { - "__docId__": 1039, + "__docId__": 1037, "kind": "external", "static": true, "variation": null, @@ -22247,7 +22207,7 @@ "builtinExternal": true }, { - "__docId__": 1040, + "__docId__": 1038, "kind": "external", "static": true, "variation": null, @@ -22260,7 +22220,7 @@ "builtinExternal": true }, { - "__docId__": 1041, + "__docId__": 1039, "kind": "external", "static": true, "variation": null, @@ -22273,7 +22233,7 @@ "builtinExternal": true }, { - "__docId__": 1042, + "__docId__": 1040, "kind": "external", "static": true, "variation": null, @@ -22286,7 +22246,7 @@ "builtinExternal": true }, { - "__docId__": 1043, + "__docId__": 1041, "kind": "external", "static": true, "variation": null, @@ -22299,7 +22259,7 @@ "builtinExternal": true }, { - "__docId__": 1044, + "__docId__": 1042, "kind": "external", "static": true, "variation": null, @@ -22312,7 +22272,7 @@ "builtinExternal": true }, { - "__docId__": 1045, + "__docId__": 1043, "kind": "external", "static": true, "variation": null, @@ -22325,7 +22285,7 @@ "builtinExternal": true }, { - "__docId__": 1046, + "__docId__": 1044, "kind": "external", "static": true, "variation": null, @@ -22338,7 +22298,7 @@ "builtinExternal": true }, { - "__docId__": 1047, + "__docId__": 1045, "kind": "external", "static": true, "variation": null, @@ -22351,7 +22311,7 @@ "builtinExternal": true }, { - "__docId__": 1048, + "__docId__": 1046, "kind": "external", "static": true, "variation": null, @@ -22364,7 +22324,7 @@ "builtinExternal": true }, { - "__docId__": 1049, + "__docId__": 1047, "kind": "external", "static": true, "variation": null, @@ -22377,7 +22337,7 @@ "builtinExternal": true }, { - "__docId__": 1050, + "__docId__": 1048, "kind": "external", "static": true, "variation": null, @@ -22390,7 +22350,7 @@ "builtinExternal": true }, { - "__docId__": 1051, + "__docId__": 1049, "kind": "external", "static": true, "variation": null, @@ -22403,7 +22363,7 @@ "builtinExternal": true }, { - "__docId__": 1052, + "__docId__": 1050, "kind": "external", "static": true, "variation": null, @@ -22416,7 +22376,7 @@ "builtinExternal": true }, { - "__docId__": 1053, + "__docId__": 1051, "kind": "external", "static": true, "variation": null, @@ -22429,7 +22389,7 @@ "builtinExternal": true }, { - "__docId__": 1054, + "__docId__": 1052, "kind": "external", "static": true, "variation": null, @@ -22442,7 +22402,7 @@ "builtinExternal": true }, { - "__docId__": 1055, + "__docId__": 1053, "kind": "external", "static": true, "variation": null, @@ -22455,7 +22415,7 @@ "builtinExternal": true }, { - "__docId__": 1056, + "__docId__": 1054, "kind": "external", "static": true, "variation": null, @@ -22468,7 +22428,7 @@ "builtinExternal": true }, { - "__docId__": 1057, + "__docId__": 1055, "kind": "external", "static": true, "variation": null, @@ -22481,7 +22441,7 @@ "builtinExternal": true }, { - "__docId__": 1058, + "__docId__": 1056, "kind": "external", "static": true, "variation": null, @@ -22494,7 +22454,7 @@ "builtinExternal": true }, { - "__docId__": 1059, + "__docId__": 1057, "kind": "external", "static": true, "variation": null, @@ -22507,7 +22467,7 @@ "builtinExternal": true }, { - "__docId__": 1060, + "__docId__": 1058, "kind": "external", "static": true, "variation": null, @@ -22520,7 +22480,7 @@ "builtinExternal": true }, { - "__docId__": 1061, + "__docId__": 1059, "kind": "external", "static": true, "variation": null, @@ -22533,7 +22493,7 @@ "builtinExternal": true }, { - "__docId__": 1062, + "__docId__": 1060, "kind": "external", "static": true, "variation": null, @@ -22546,7 +22506,7 @@ "builtinExternal": true }, { - "__docId__": 1063, + "__docId__": 1061, "kind": "external", "static": true, "variation": null, @@ -22559,7 +22519,7 @@ "builtinExternal": true }, { - "__docId__": 1064, + "__docId__": 1062, "kind": "external", "static": true, "variation": null, @@ -22572,7 +22532,7 @@ "builtinExternal": true }, { - "__docId__": 1065, + "__docId__": 1063, "kind": "external", "static": true, "variation": null, @@ -22585,7 +22545,7 @@ "builtinExternal": true }, { - "__docId__": 1066, + "__docId__": 1064, "kind": "external", "static": true, "variation": null, @@ -22598,7 +22558,7 @@ "builtinExternal": true }, { - "__docId__": 1067, + "__docId__": 1065, "kind": "external", "static": true, "variation": null, @@ -22611,7 +22571,7 @@ "builtinExternal": true }, { - "__docId__": 1068, + "__docId__": 1066, "kind": "external", "static": true, "variation": null, @@ -22624,7 +22584,7 @@ "builtinExternal": true }, { - "__docId__": 1069, + "__docId__": 1067, "kind": "external", "static": true, "variation": null, @@ -22637,7 +22597,7 @@ "builtinExternal": true }, { - "__docId__": 1070, + "__docId__": 1068, "kind": "external", "static": true, "variation": null, @@ -22650,7 +22610,7 @@ "builtinExternal": true }, { - "__docId__": 1072, + "__docId__": 1070, "kind": "external", "static": true, "variation": null, @@ -22663,7 +22623,7 @@ "builtinExternal": true }, { - "__docId__": 1073, + "__docId__": 1071, "kind": "external", "static": true, "variation": null, @@ -22676,7 +22636,7 @@ "builtinExternal": true }, { - "__docId__": 1074, + "__docId__": 1072, "kind": "external", "static": true, "variation": null, @@ -22689,7 +22649,7 @@ "builtinExternal": true }, { - "__docId__": 1075, + "__docId__": 1073, "kind": "external", "static": true, "variation": null, @@ -22702,7 +22662,7 @@ "builtinExternal": true }, { - "__docId__": 1076, + "__docId__": 1074, "kind": "external", "static": true, "variation": null, @@ -22715,7 +22675,7 @@ "builtinExternal": true }, { - "__docId__": 1077, + "__docId__": 1075, "kind": "external", "static": true, "variation": null, @@ -22728,7 +22688,7 @@ "builtinExternal": true }, { - "__docId__": 1078, + "__docId__": 1076, "kind": "external", "static": true, "variation": null, @@ -22741,7 +22701,7 @@ "builtinExternal": true }, { - "__docId__": 1079, + "__docId__": 1077, "kind": "external", "static": true, "variation": null, diff --git a/docs/file/src/array.js.html b/docs/file/src/array.js.html index 099a97fd..029ea6f3 100644 --- a/docs/file/src/array.js.html +++ b/docs/file/src/array.js.html @@ -3,7 +3,7 @@ - src/array.js | tablefilter v0.4.3 API Document + src/array.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/const.js.html b/docs/file/src/const.js.html index dc23193d..3d931ec2 100644 --- a/docs/file/src/const.js.html +++ b/docs/file/src/const.js.html @@ -3,7 +3,7 @@ - src/const.js | tablefilter v0.4.3 API Document + src/const.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/cookie.js.html b/docs/file/src/cookie.js.html index 4e511042..d5017b25 100644 --- a/docs/file/src/cookie.js.html +++ b/docs/file/src/cookie.js.html @@ -3,7 +3,7 @@ - src/cookie.js | tablefilter v0.4.3 API Document + src/cookie.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/dom.js.html b/docs/file/src/dom.js.html index da2555cb..60bd7f23 100644 --- a/docs/file/src/dom.js.html +++ b/docs/file/src/dom.js.html @@ -3,7 +3,7 @@ - src/dom.js | tablefilter v0.4.3 API Document + src/dom.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/emitter.js.html b/docs/file/src/emitter.js.html index 64426de4..d8877d3a 100644 --- a/docs/file/src/emitter.js.html +++ b/docs/file/src/emitter.js.html @@ -3,7 +3,7 @@ - src/emitter.js | tablefilter v0.4.3 API Document + src/emitter.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/event.js.html b/docs/file/src/event.js.html index 31ee535c..0999b1fe 100644 --- a/docs/file/src/event.js.html +++ b/docs/file/src/event.js.html @@ -3,7 +3,7 @@ - src/event.js | tablefilter v0.4.3 API Document + src/event.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html b/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html index fd1bca47..4a871388 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.4.3 API Document + src/extensions/advancedGrid/adapterEzEditTable.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/extensions/advancedGrid/advancedGrid.js.html b/docs/file/src/extensions/advancedGrid/advancedGrid.js.html index 2c2b6e39..0166989c 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.4.3 API Document + src/extensions/advancedGrid/advancedGrid.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/extensions/colOps/colOps.js.html b/docs/file/src/extensions/colOps/colOps.js.html index 0104a831..cd1d8b15 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.4.3 API Document + src/extensions/colOps/colOps.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/extensions/colsVisibility/colsVisibility.js.html b/docs/file/src/extensions/colsVisibility/colsVisibility.js.html index d066968e..d434318c 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.4.3 API Document + src/extensions/colsVisibility/colsVisibility.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html b/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html index 1bdf44e0..fb691c04 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.4.3 API Document + src/extensions/filtersVisibility/filtersVisibility.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/extensions/sort/adapterSortabletable.js.html b/docs/file/src/extensions/sort/adapterSortabletable.js.html index 479c8980..70da1428 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.4.3 API Document + src/extensions/sort/adapterSortabletable.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/extensions/sort/sort.js.html b/docs/file/src/extensions/sort/sort.js.html index ac132389..d0fb68bb 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.4.3 API Document + src/extensions/sort/sort.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/feature.js.html b/docs/file/src/feature.js.html index 913be710..adf060df 100644 --- a/docs/file/src/feature.js.html +++ b/docs/file/src/feature.js.html @@ -3,7 +3,7 @@ - src/feature.js | tablefilter v0.4.3 API Document + src/feature.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/modules/alternateRows.js.html b/docs/file/src/modules/alternateRows.js.html index 3b763350..b428139b 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.4.3 API Document + src/modules/alternateRows.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/modules/checkList.js.html b/docs/file/src/modules/checkList.js.html index a9531a43..e0c1a435 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.4.3 API Document + src/modules/checkList.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/modules/clearButton.js.html b/docs/file/src/modules/clearButton.js.html index cbd478de..6df2e731 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.4.3 API Document + src/modules/clearButton.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/modules/dateType.js.html b/docs/file/src/modules/dateType.js.html index 7fe0c4a2..e29277b1 100644 --- a/docs/file/src/modules/dateType.js.html +++ b/docs/file/src/modules/dateType.js.html @@ -3,7 +3,7 @@ - src/modules/dateType.js | tablefilter v0.4.3 API Document + src/modules/dateType.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/modules/dropdown.js.html b/docs/file/src/modules/dropdown.js.html index 6e95e815..d3d5d0e8 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.4.3 API Document + src/modules/dropdown.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/modules/gridLayout.js.html b/docs/file/src/modules/gridLayout.js.html index f361c442..c47bb1b1 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.4.3 API Document + src/modules/gridLayout.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/modules/hash.js.html b/docs/file/src/modules/hash.js.html index b4bc91ab..2bfff351 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.4.3 API Document + src/modules/hash.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/modules/help.js.html b/docs/file/src/modules/help.js.html index 3819df06..a67340fd 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.4.3 API Document + src/modules/help.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/modules/highlightKeywords.js.html b/docs/file/src/modules/highlightKeywords.js.html index bdeb147b..bd33ba29 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.4.3 API Document + src/modules/highlightKeywords.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/modules/loader.js.html b/docs/file/src/modules/loader.js.html index dc7c58a2..399afa80 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.4.3 API Document + src/modules/loader.js | tablefilter v0.4.4 API Document @@ -125,7 +125,6 @@ import {isFn} from '../types'; import {root} from '../root'; import {NONE} from '../const'; - const EVENTS = [ 'before-filtering', 'before-populating-filter', @@ -204,13 +203,6 @@ export class Loader extends Feature { * @type {Function} */ this.onHide = isFn(f.on_hide_loader) ? f.on_hide_loader : null; - - /** - * Prefix for container ID - * @type {String} - * @private - */ - this.prfx = 'load_'; } /** @@ -224,7 +216,7 @@ export class Loader extends Feature { let tf = this.tf; let emitter = this.emitter; - let containerDiv = createElm('div', ['id', this.prfx + tf.id]); + let containerDiv = createElm('div'); containerDiv.className = this.cssClass; let targetEl = !this.targetId ? @@ -244,12 +236,8 @@ export class Loader extends Feature { this.show(NONE); // Subscribe to events - emitter.on(EVENTS, - () => this.show('') - ); - emitter.on(EVENTS, - () => this.show(NONE) - ); + emitter.on(EVENTS, () => this.show('')); + emitter.on(EVENTS, () => this.show(NONE)); /** * @inherited @@ -297,12 +285,8 @@ export class Loader extends Feature { this.cont = null; // Unsubscribe to events - emitter.off(EVENTS, - () => this.show('') - ); - emitter.off(EVENTS, - () => this.show(NONE) - ); + emitter.off(EVENTS, () => this.show('')); + emitter.off(EVENTS, () => this.show(NONE)); this.initialized = false; } diff --git a/docs/file/src/modules/noResults.js.html b/docs/file/src/modules/noResults.js.html index 641f8828..66f911ca 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.4.3 API Document + src/modules/noResults.js | tablefilter v0.4.4 API Document @@ -207,13 +207,6 @@ export class NoResults extends Feature { */ this.onAfterHide = isFn(f.on_after_hide_msg) ? f.on_after_hide_msg : null; - - /** - * Prefix for container ID - * @type {String} - * @private - */ - this.prfx = 'nores_'; } /** @@ -228,7 +221,7 @@ export class NoResults extends Feature { tf.tbl; //container - let cont = createElm('div', ['id', this.prfx + tf.id]); + let cont = createElm('div'); cont.className = this.cssClass; cont.innerHTML = this.content; diff --git a/docs/file/src/modules/paging.js.html b/docs/file/src/modules/paging.js.html index 219c0faf..048ec2df 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.4.3 API Document + src/modules/paging.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/modules/popupFilter.js.html b/docs/file/src/modules/popupFilter.js.html index b4f88b0f..c3e194f8 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.4.3 API Document + src/modules/popupFilter.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/modules/rowsCounter.js.html b/docs/file/src/modules/rowsCounter.js.html index 9e58ef6d..1ed22a8c 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.4.3 API Document + src/modules/rowsCounter.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/modules/state.js.html b/docs/file/src/modules/state.js.html index 0e52519b..0213847e 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.4.3 API Document + src/modules/state.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/modules/statusBar.js.html b/docs/file/src/modules/statusBar.js.html index 741ac67b..9c5de027 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.4.3 API Document + src/modules/statusBar.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/modules/storage.js.html b/docs/file/src/modules/storage.js.html index b383ad18..eb02d632 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.4.3 API Document + src/modules/storage.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/number.js.html b/docs/file/src/number.js.html index 276917ad..16a4d616 100644 --- a/docs/file/src/number.js.html +++ b/docs/file/src/number.js.html @@ -3,7 +3,7 @@ - src/number.js | tablefilter v0.4.3 API Document + src/number.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/root.js.html b/docs/file/src/root.js.html index ea084863..fcdc7767 100644 --- a/docs/file/src/root.js.html +++ b/docs/file/src/root.js.html @@ -3,7 +3,7 @@ - src/root.js | tablefilter v0.4.3 API Document + src/root.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/sort.js.html b/docs/file/src/sort.js.html index b3ccc21d..92cc73a5 100644 --- a/docs/file/src/sort.js.html +++ b/docs/file/src/sort.js.html @@ -3,7 +3,7 @@ - src/sort.js | tablefilter v0.4.3 API Document + src/sort.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/string.js.html b/docs/file/src/string.js.html index 31418116..2daeaff2 100644 --- a/docs/file/src/string.js.html +++ b/docs/file/src/string.js.html @@ -3,7 +3,7 @@ - src/string.js | tablefilter v0.4.3 API Document + src/string.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/tablefilter.js.html b/docs/file/src/tablefilter.js.html index f0e98e57..a17289dc 100644 --- a/docs/file/src/tablefilter.js.html +++ b/docs/file/src/tablefilter.js.html @@ -3,7 +3,7 @@ - src/tablefilter.js | tablefilter v0.4.3 API Document + src/tablefilter.js | tablefilter v0.4.4 API Document diff --git a/docs/file/src/types.js.html b/docs/file/src/types.js.html index b1216560..6851481f 100644 --- a/docs/file/src/types.js.html +++ b/docs/file/src/types.js.html @@ -3,7 +3,7 @@ - src/types.js | tablefilter v0.4.3 API Document + src/types.js | tablefilter v0.4.4 API Document diff --git a/docs/identifiers.html b/docs/identifiers.html index 12f9b2e7..b06e8473 100644 --- a/docs/identifiers.html +++ b/docs/identifiers.html @@ -3,7 +3,7 @@ - Index | tablefilter v0.4.3 API Document + Index | tablefilter v0.4.4 API Document diff --git a/docs/index.html b/docs/index.html index 8a9f5784..1230239f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,7 +3,7 @@ - tablefilter v0.4.3 API Document + tablefilter v0.4.4 API Document diff --git a/docs/package.json b/docs/package.json index dc820c58..7152eb74 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "tablefilter", - "version": "0.4.3", + "version": "0.4.4", "description": "A Javascript library making HTML tables filterable and a bit more", "license": "MIT", "author": { diff --git a/docs/source.html b/docs/source.html index af24b7a1..2191d6b6 100644 --- a/docs/source.html +++ b/docs/source.html @@ -3,7 +3,7 @@ - Source | tablefilter v0.4.3 API Document + Source | tablefilter v0.4.4 API Document @@ -139,7 +139,7 @@ 100 %1/1 545 byte 22 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/const.js @@ -164,7 +164,7 @@ 100 %18/18 1536 byte 118 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/cookie.js @@ -172,7 +172,7 @@ - 1412 byte 57 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/dom.js @@ -191,7 +191,7 @@ 100 %12/12 4787 byte 191 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/emitter.js @@ -199,7 +199,7 @@ 100 %6/6 1323 byte 53 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/event.js @@ -212,7 +212,7 @@ 100 %6/6 2378 byte 102 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/extensions/advancedGrid/adapterEzEditTable.js @@ -220,7 +220,7 @@ 100 %13/13 18919 byte 502 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/extensions/advancedGrid/advancedGrid.js @@ -228,7 +228,7 @@ - 90 byte 2 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/extensions/colOps/colOps.js @@ -236,7 +236,7 @@ 100 %9/9 13540 byte 362 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/extensions/colsVisibility/colsVisibility.js @@ -244,7 +244,7 @@ 100 %49/49 20919 byte 724 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/extensions/filtersVisibility/filtersVisibility.js @@ -252,7 +252,7 @@ 100 %25/25 7994 byte 311 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/extensions/sort/adapterSortabletable.js @@ -260,7 +260,7 @@ 100 %23/23 16473 byte 537 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/extensions/sort/sort.js @@ -268,7 +268,7 @@ - 197 byte 8 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/feature.js @@ -276,7 +276,7 @@ 100 %14/14 1761 byte 94 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/modules/alternateRows.js @@ -284,7 +284,7 @@ 100 %9/9 3527 byte 140 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/modules/checkList.js @@ -292,7 +292,7 @@ 100 %18/18 18615 byte 570 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/modules/clearButton.js @@ -300,7 +300,7 @@ 100 %10/10 3129 byte 128 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/modules/dateType.js @@ -308,7 +308,7 @@ 100 %11/11 3997 byte 147 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/modules/dropdown.js @@ -316,7 +316,7 @@ 100 %13/13 13641 byte 432 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/modules/gridLayout.js @@ -324,7 +324,7 @@ 100 %16/16 15046 byte 528 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/modules/hash.js @@ -333,7 +333,7 @@ 100 %10/10 2981 byte 126 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/modules/help.js @@ -341,7 +341,7 @@ 100 %17/17 5809 byte 200 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/modules/highlightKeywords.js @@ -349,23 +349,23 @@ 100 %10/10 4360 byte 147 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/modules/loader.js Loader 100 %14/14 - 4274 byte - 188 - 2016-11-03 04:55:43 (UTC) + 4027 byte + 172 + 2016-11-03 09:15:41 (UTC) src/modules/noResults.js NoResults 100 %17/17 - 5178 byte - 215 - 2016-11-03 04:55:43 (UTC) + 5015 byte + 208 + 2016-11-03 09:15:41 (UTC) src/modules/paging.js @@ -373,7 +373,7 @@ 100 %45/45 29379 byte 955 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/modules/popupFilter.js @@ -381,7 +381,7 @@ 100 %22/22 10937 byte 377 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/modules/rowsCounter.js @@ -389,7 +389,7 @@ 100 %13/13 5760 byte 201 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/modules/state.js @@ -397,7 +397,7 @@ 100 %24/24 14771 byte 541 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/modules/statusBar.js @@ -405,7 +405,7 @@ 100 %22/22 9553 byte 333 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/modules/storage.js @@ -414,7 +414,7 @@ 100 %10/10 3544 byte 162 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/number.js @@ -422,7 +422,7 @@ 100 %1/1 998 byte 29 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/root.js @@ -430,7 +430,7 @@ 100 %1/1 235 byte 6 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/sort.js @@ -440,7 +440,7 @@ 100 %3/3 930 byte 33 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/string.js @@ -452,7 +452,7 @@ 100 %5/5 2082 byte 76 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/tablefilter.js @@ -460,7 +460,7 @@ 100 %167/167 90565 byte 2973 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) src/types.js @@ -475,7 +475,7 @@ 100 %8/8 1451 byte 67 - 2016-11-03 04:55:43 (UTC) + 2016-11-03 09:15:41 (UTC) diff --git a/docs/variable/index.html b/docs/variable/index.html index f73d1cb3..39370598 100644 --- a/docs/variable/index.html +++ b/docs/variable/index.html @@ -3,7 +3,7 @@ - Variable | tablefilter v0.4.3 API Document + Variable | tablefilter v0.4.4 API Document