diff --git a/docs/ast/source/modules/checkList.js.json b/docs/ast/source/modules/checkList.js.json index 83b5b045..d01061ca 100644 --- a/docs/ast/source/modules/checkList.js.json +++ b/docs/ast/source/modules/checkList.js.json @@ -4427,10 +4427,10 @@ "trailingComments": [ { "type": "Block", - "value": "*\n * Checklist change event handler\n * @param {Event} evt\n ", + "value": "*\n * Checklist option click event handler\n * @param {Event} evt\n ", "range": [ 3138, - 3213 + 3219 ], "loc": { "start": { @@ -4450,10 +4450,10 @@ "type": "MethodDefinition", "key": { "type": "Identifier", - "name": "onChange", + "name": "optionClick", "range": [ - 3218, - 3226 + 3224, + 3235 ], "loc": { "start": { @@ -4462,7 +4462,7 @@ }, "end": { "line": 123, - "column": 12 + "column": 15 } } }, @@ -4474,17 +4474,17 @@ "type": "Identifier", "name": "evt", "range": [ - 3227, - 3230 + 3236, + 3239 ], "loc": { "start": { "line": 123, - "column": 13 + "column": 16 }, "end": { "line": 123, - "column": 16 + "column": 19 } } } @@ -4501,8 +4501,8 @@ "type": "Identifier", "name": "elm", "range": [ - 3246, - 3249 + 3255, + 3258 ], "loc": { "start": { @@ -4521,8 +4521,8 @@ "type": "Identifier", "name": "targetEvt", "range": [ - 3252, - 3261 + 3261, + 3270 ], "loc": { "start": { @@ -4540,8 +4540,8 @@ "type": "Identifier", "name": "evt", "range": [ - 3262, - 3265 + 3271, + 3274 ], "loc": { "start": { @@ -4556,8 +4556,8 @@ } ], "range": [ - 3252, - 3266 + 3261, + 3275 ], "loc": { "start": { @@ -4571,8 +4571,8 @@ } }, "range": [ - 3246, - 3266 + 3255, + 3275 ], "loc": { "start": { @@ -4588,8 +4588,8 @@ ], "kind": "let", "range": [ - 3242, - 3267 + 3251, + 3276 ], "loc": { "start": { @@ -4611,8 +4611,8 @@ "type": "Identifier", "name": "tf", "range": [ - 3280, - 3282 + 3289, + 3291 ], "loc": { "start": { @@ -4631,8 +4631,8 @@ "object": { "type": "ThisExpression", "range": [ - 3285, - 3289 + 3294, + 3298 ], "loc": { "start": { @@ -4649,8 +4649,8 @@ "type": "Identifier", "name": "tf", "range": [ - 3290, - 3292 + 3299, + 3301 ], "loc": { "start": { @@ -4664,8 +4664,8 @@ } }, "range": [ - 3285, - 3292 + 3294, + 3301 ], "loc": { "start": { @@ -4679,8 +4679,8 @@ } }, "range": [ - 3280, - 3292 + 3289, + 3301 ], "loc": { "start": { @@ -4696,8 +4696,8 @@ ], "kind": "let", "range": [ - 3276, - 3293 + 3285, + 3302 ], "loc": { "start": { @@ -4723,16 +4723,16 @@ "object": { "type": "ThisExpression", "range": [ - 3302, - 3306 + 3312, + 3316 ], "loc": { "start": { - "line": 126, + "line": 127, "column": 8 }, "end": { - "line": 126, + "line": 127, "column": 12 } } @@ -4741,31 +4741,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 3307, - 3314 + 3317, + 3324 ], "loc": { "start": { - "line": 126, + "line": 127, "column": 13 }, "end": { - "line": 126, + "line": 127, "column": 20 } } }, "range": [ - 3302, - 3314 + 3312, + 3324 ], "loc": { "start": { - "line": 126, + "line": 127, "column": 8 }, "end": { - "line": 126, + "line": 127, "column": 20 } } @@ -4774,31 +4774,31 @@ "type": "Identifier", "name": "emit", "range": [ - 3315, - 3319 + 3325, + 3329 ], "loc": { "start": { - "line": 126, + "line": 127, "column": 21 }, "end": { - "line": 126, + "line": 127, "column": 25 } } }, "range": [ - 3302, - 3319 + 3312, + 3329 ], "loc": { "start": { - "line": 126, + "line": 127, "column": 8 }, "end": { - "line": 126, + "line": 127, "column": 25 } } @@ -4809,16 +4809,16 @@ "value": "filter-focus", "raw": "'filter-focus'", "range": [ - 3320, - 3334 + 3330, + 3344 ], "loc": { "start": { - "line": 126, + "line": 127, "column": 26 }, "end": { - "line": 126, + "line": 127, "column": 40 } } @@ -4827,16 +4827,16 @@ "type": "Identifier", "name": "tf", "range": [ - 3336, - 3338 + 3346, + 3348 ], "loc": { "start": { - "line": 126, + "line": 127, "column": 42 }, "end": { - "line": 126, + "line": 127, "column": 44 } } @@ -4845,51 +4845,158 @@ "type": "Identifier", "name": "elm", "range": [ - 3340, - 3343 + 3350, + 3353 ], "loc": { "start": { - "line": 126, + "line": 127, "column": 46 }, "end": { - "line": 126, + "line": 127, "column": 49 } } } ], "range": [ - 3302, - 3344 + 3312, + 3354 ], "loc": { "start": { - "line": 126, + "line": 127, "column": 8 }, "end": { - "line": 126, + "line": 127, "column": 50 } } }, "range": [ - 3302, - 3345 + 3312, + 3355 ], "loc": { "start": { - "line": 126, + "line": 127, "column": 8 }, "end": { - "line": 126, + "line": 127, "column": 51 } } }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3364, + 3368 + ], + "loc": { + "start": { + "line": 128, + "column": 8 + }, + "end": { + "line": 128, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setCheckListValues", + "range": [ + 3369, + 3387 + ], + "loc": { + "start": { + "line": 128, + "column": 13 + }, + "end": { + "line": 128, + "column": 31 + } + } + }, + "range": [ + 3364, + 3387 + ], + "loc": { + "start": { + "line": 128, + "column": 8 + }, + "end": { + "line": 128, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "elm", + "range": [ + 3388, + 3391 + ], + "loc": { + "start": { + "line": 128, + "column": 32 + }, + "end": { + "line": 128, + "column": 35 + } + } + } + ], + "range": [ + 3364, + 3392 + ], + "loc": { + "start": { + "line": 128, + "column": 8 + }, + "end": { + "line": 128, + "column": 36 + } + } + }, + "range": [ + 3364, + 3393 + ], + "loc": { + "start": { + "line": 128, + "column": 8 + }, + "end": { + "line": 128, + "column": 37 + } + } + }, { "type": "ExpressionStatement", "expression": { @@ -4901,16 +5008,16 @@ "type": "Identifier", "name": "tf", "range": [ - 3354, - 3356 + 3402, + 3404 ], "loc": { "start": { - "line": 127, + "line": 129, "column": 8 }, "end": { - "line": 127, + "line": 129, "column": 10 } } @@ -4919,78 +5026,78 @@ "type": "Identifier", "name": "filter", "range": [ - 3357, - 3363 + 3405, + 3411 ], "loc": { "start": { - "line": 127, + "line": 129, "column": 11 }, "end": { - "line": 127, + "line": 129, "column": 17 } } }, "range": [ - 3354, - 3363 + 3402, + 3411 ], "loc": { "start": { - "line": 127, + "line": 129, "column": 8 }, "end": { - "line": 127, + "line": 129, "column": 17 } } }, "arguments": [], "range": [ - 3354, - 3365 + 3402, + 3413 ], "loc": { "start": { - "line": 127, + "line": 129, "column": 8 }, "end": { - "line": 127, + "line": 129, "column": 19 } } }, "range": [ - 3354, - 3366 + 3402, + 3414 ], "loc": { "start": { - "line": 127, + "line": 129, "column": 8 }, "end": { - "line": 127, + "line": 129, "column": 20 } } } ], "range": [ - 3232, - 3372 + 3241, + 3420 ], "loc": { "start": { "line": 123, - "column": 18 + "column": 21 }, "end": { - "line": 128, + "line": 130, "column": 5 } } @@ -4998,16 +5105,16 @@ "generator": false, "expression": false, "range": [ - 3226, - 3372 + 3235, + 3420 ], "loc": { "start": { "line": 123, - "column": 12 + "column": 15 }, "end": { - "line": 128, + "line": 130, "column": 5 } } @@ -5015,8 +5122,8 @@ "kind": "method", "computed": false, "range": [ - 3218, - 3372 + 3224, + 3420 ], "loc": { "start": { @@ -5024,17 +5131,17 @@ "column": 4 }, "end": { - "line": 128, + "line": 130, "column": 5 } }, "leadingComments": [ { "type": "Block", - "value": "*\n * Checklist change event handler\n * @param {Event} evt\n ", + "value": "*\n * Checklist option click event handler\n * @param {Event} evt\n ", "range": [ 3138, - 3213 + 3219 ], "loc": { "start": { @@ -5048,301 +5155,21 @@ } } ], - "trailingComments": [ - { - "type": "Block", - "value": "*\n * Checklist option click event handler\n * @param {Event} evt\n ", - "range": [ - 3378, - 3459 - ], - "loc": { - "start": { - "line": 130, - "column": 4 - }, - "end": { - "line": 133, - "column": 7 - } - } - } - ], - "static": false - }, - { - "type": "MethodDefinition", - "key": { - "type": "Identifier", - "name": "optionClick", - "range": [ - 3464, - 3475 - ], - "loc": { - "start": { - "line": 134, - "column": 4 - }, - "end": { - "line": 134, - "column": 15 - } - } - }, - "value": { - "type": "FunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "evt", - "range": [ - 3476, - 3479 - ], - "loc": { - "start": { - "line": 134, - "column": 16 - }, - "end": { - "line": 134, - "column": 19 - } - } - } - ], - "body": { - "type": "BlockStatement", - "body": [ - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 3491, - 3495 - ], - "loc": { - "start": { - "line": 135, - "column": 8 - }, - "end": { - "line": 135, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "name": "setCheckListValues", - "range": [ - 3496, - 3514 - ], - "loc": { - "start": { - "line": 135, - "column": 13 - }, - "end": { - "line": 135, - "column": 31 - } - } - }, - "range": [ - 3491, - 3514 - ], - "loc": { - "start": { - "line": 135, - "column": 8 - }, - "end": { - "line": 135, - "column": 31 - } - } - }, - "arguments": [ - { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "Identifier", - "name": "evt", - "range": [ - 3515, - 3518 - ], - "loc": { - "start": { - "line": 135, - "column": 32 - }, - "end": { - "line": 135, - "column": 35 - } - } - }, - "property": { - "type": "Identifier", - "name": "target", - "range": [ - 3519, - 3525 - ], - "loc": { - "start": { - "line": 135, - "column": 36 - }, - "end": { - "line": 135, - "column": 42 - } - } - }, - "range": [ - 3515, - 3525 - ], - "loc": { - "start": { - "line": 135, - "column": 32 - }, - "end": { - "line": 135, - "column": 42 - } - } - } - ], - "range": [ - 3491, - 3526 - ], - "loc": { - "start": { - "line": 135, - "column": 8 - }, - "end": { - "line": 135, - "column": 43 - } - } - }, - "range": [ - 3491, - 3527 - ], - "loc": { - "start": { - "line": 135, - "column": 8 - }, - "end": { - "line": 135, - "column": 44 - } - } - } - ], - "range": [ - 3481, - 3533 - ], - "loc": { - "start": { - "line": 134, - "column": 21 - }, - "end": { - "line": 136, - "column": 5 - } - } - }, - "generator": false, - "expression": false, - "range": [ - 3475, - 3533 - ], - "loc": { - "start": { - "line": 134, - "column": 15 - }, - "end": { - "line": 136, - "column": 5 - } - } - }, - "kind": "method", - "computed": false, - "range": [ - 3464, - 3533 - ], - "loc": { - "start": { - "line": 134, - "column": 4 - }, - "end": { - "line": 136, - "column": 5 - } - }, - "leadingComments": [ - { - "type": "Block", - "value": "*\n * Checklist option click event handler\n * @param {Event} evt\n ", - "range": [ - 3378, - 3459 - ], - "loc": { - "start": { - "line": 130, - "column": 4 - }, - "end": { - "line": 133, - "column": 7 - } - } - } - ], "trailingComments": [ { "type": "Block", "value": "*\n * Checklist container click event handler for load-on-demand feature\n * @param {Event} evt\n ", "range": [ - 3539, - 3650 + 3426, + 3537 ], "loc": { "start": { - "line": 138, + "line": 132, "column": 4 }, "end": { - "line": 141, + "line": 135, "column": 7 } } @@ -5356,16 +5183,16 @@ "type": "Identifier", "name": "onCheckListClick", "range": [ - 3655, - 3671 + 3542, + 3558 ], "loc": { "start": { - "line": 142, + "line": 136, "column": 4 }, "end": { - "line": 142, + "line": 136, "column": 20 } } @@ -5378,16 +5205,16 @@ "type": "Identifier", "name": "evt", "range": [ - 3672, - 3675 + 3559, + 3562 ], "loc": { "start": { - "line": 142, + "line": 136, "column": 21 }, "end": { - "line": 142, + "line": 136, "column": 24 } } @@ -5405,16 +5232,16 @@ "type": "Identifier", "name": "elm", "range": [ - 3691, - 3694 + 3578, + 3581 ], "loc": { "start": { - "line": 143, + "line": 137, "column": 12 }, "end": { - "line": 143, + "line": 137, "column": 15 } } @@ -5425,16 +5252,16 @@ "type": "Identifier", "name": "targetEvt", "range": [ - 3697, - 3706 + 3584, + 3593 ], "loc": { "start": { - "line": 143, + "line": 137, "column": 18 }, "end": { - "line": 143, + "line": 137, "column": 27 } } @@ -5444,47 +5271,47 @@ "type": "Identifier", "name": "evt", "range": [ - 3707, - 3710 + 3594, + 3597 ], "loc": { "start": { - "line": 143, + "line": 137, "column": 28 }, "end": { - "line": 143, + "line": 137, "column": 31 } } } ], "range": [ - 3697, - 3711 + 3584, + 3598 ], "loc": { "start": { - "line": 143, + "line": 137, "column": 18 }, "end": { - "line": 143, + "line": 137, "column": 32 } } }, "range": [ - 3691, - 3711 + 3578, + 3598 ], "loc": { "start": { - "line": 143, + "line": 137, "column": 12 }, "end": { - "line": 143, + "line": 137, "column": 32 } } @@ -5492,16 +5319,16 @@ ], "kind": "let", "range": [ - 3687, - 3712 + 3574, + 3599 ], "loc": { "start": { - "line": 143, + "line": 137, "column": 8 }, "end": { - "line": 143, + "line": 137, "column": 33 } } @@ -5520,16 +5347,16 @@ "object": { "type": "ThisExpression", "range": [ - 3725, - 3729 + 3612, + 3616 ], "loc": { "start": { - "line": 144, + "line": 138, "column": 12 }, "end": { - "line": 144, + "line": 138, "column": 16 } } @@ -5538,31 +5365,31 @@ "type": "Identifier", "name": "tf", "range": [ - 3730, - 3732 + 3617, + 3619 ], "loc": { "start": { - "line": 144, + "line": 138, "column": 17 }, "end": { - "line": 144, + "line": 138, "column": 19 } } }, "range": [ - 3725, - 3732 + 3612, + 3619 ], "loc": { "start": { - "line": 144, + "line": 138, "column": 12 }, "end": { - "line": 144, + "line": 138, "column": 19 } } @@ -5571,31 +5398,31 @@ "type": "Identifier", "name": "loadFltOnDemand", "range": [ - 3733, - 3748 + 3620, + 3635 ], "loc": { "start": { - "line": 144, + "line": 138, "column": 20 }, "end": { - "line": 144, + "line": 138, "column": 35 } } }, "range": [ - 3725, - 3748 + 3612, + 3635 ], "loc": { "start": { - "line": 144, + "line": 138, "column": 12 }, "end": { - "line": 144, + "line": 138, "column": 35 } } @@ -5612,16 +5439,16 @@ "type": "Identifier", "name": "elm", "range": [ - 3752, - 3755 + 3639, + 3642 ], "loc": { "start": { - "line": 144, + "line": 138, "column": 39 }, "end": { - "line": 144, + "line": 138, "column": 42 } } @@ -5630,31 +5457,31 @@ "type": "Identifier", "name": "getAttribute", "range": [ - 3756, - 3768 + 3643, + 3655 ], "loc": { "start": { - "line": 144, + "line": 138, "column": 43 }, "end": { - "line": 144, + "line": 138, "column": 55 } } }, "range": [ - 3752, - 3768 + 3639, + 3655 ], "loc": { "start": { - "line": 144, + "line": 138, "column": 39 }, "end": { - "line": 144, + "line": 138, "column": 55 } } @@ -5665,32 +5492,32 @@ "value": "filled", "raw": "'filled'", "range": [ - 3769, - 3777 + 3656, + 3664 ], "loc": { "start": { - "line": 144, + "line": 138, "column": 56 }, "end": { - "line": 144, + "line": 138, "column": 64 } } } ], "range": [ - 3752, - 3778 + 3639, + 3665 ], "loc": { "start": { - "line": 144, + "line": 138, "column": 39 }, "end": { - "line": 144, + "line": 138, "column": 65 } } @@ -5700,46 +5527,46 @@ "value": "0", "raw": "'0'", "range": [ - 3783, - 3786 + 3670, + 3673 ], "loc": { "start": { - "line": 144, + "line": 138, "column": 70 }, "end": { - "line": 144, + "line": 138, "column": 73 } } }, "range": [ - 3752, - 3786 + 3639, + 3673 ], "loc": { "start": { - "line": 144, + "line": 138, "column": 39 }, "end": { - "line": 144, + "line": 138, "column": 73 } } }, "range": [ - 3725, - 3786 + 3612, + 3673 ], "loc": { "start": { - "line": 144, + "line": 138, "column": 12 }, "end": { - "line": 144, + "line": 138, "column": 73 } } @@ -5756,16 +5583,16 @@ "type": "Identifier", "name": "ct", "range": [ - 3806, - 3808 + 3693, + 3695 ], "loc": { "start": { - "line": 145, + "line": 139, "column": 16 }, "end": { - "line": 145, + "line": 139, "column": 18 } } @@ -5779,16 +5606,16 @@ "type": "Identifier", "name": "elm", "range": [ - 3811, - 3814 + 3698, + 3701 ], "loc": { "start": { - "line": 145, + "line": 139, "column": 21 }, "end": { - "line": 145, + "line": 139, "column": 24 } } @@ -5797,31 +5624,31 @@ "type": "Identifier", "name": "getAttribute", "range": [ - 3815, - 3827 + 3702, + 3714 ], "loc": { "start": { - "line": 145, + "line": 139, "column": 25 }, "end": { - "line": 145, + "line": 139, "column": 37 } } }, "range": [ - 3811, - 3827 + 3698, + 3714 ], "loc": { "start": { - "line": 145, + "line": 139, "column": 21 }, "end": { - "line": 145, + "line": 139, "column": 37 } } @@ -5832,47 +5659,47 @@ "value": "ct", "raw": "'ct'", "range": [ - 3828, - 3832 + 3715, + 3719 ], "loc": { "start": { - "line": 145, + "line": 139, "column": 38 }, "end": { - "line": 145, + "line": 139, "column": 42 } } } ], "range": [ - 3811, - 3833 + 3698, + 3720 ], "loc": { "start": { - "line": 145, + "line": 139, "column": 21 }, "end": { - "line": 145, + "line": 139, "column": 43 } } }, "range": [ - 3806, - 3833 + 3693, + 3720 ], "loc": { "start": { - "line": 145, + "line": 139, "column": 16 }, "end": { - "line": 145, + "line": 139, "column": 43 } } @@ -5880,16 +5707,16 @@ ], "kind": "let", "range": [ - 3802, - 3834 + 3689, + 3721 ], "loc": { "start": { - "line": 145, + "line": 139, "column": 12 }, "end": { - "line": 145, + "line": 139, "column": 44 } } @@ -5903,16 +5730,16 @@ "type": "Identifier", "name": "div", "range": [ - 3851, - 3854 + 3738, + 3741 ], "loc": { "start": { - "line": 146, + "line": 140, "column": 16 }, "end": { - "line": 146, + "line": 140, "column": 19 } } @@ -5926,16 +5753,16 @@ "object": { "type": "ThisExpression", "range": [ - 3857, - 3861 + 3744, + 3748 ], "loc": { "start": { - "line": 146, + "line": 140, "column": 22 }, "end": { - "line": 146, + "line": 140, "column": 26 } } @@ -5944,31 +5771,31 @@ "type": "Identifier", "name": "containers", "range": [ - 3862, - 3872 + 3749, + 3759 ], "loc": { "start": { - "line": 146, + "line": 140, "column": 27 }, "end": { - "line": 146, + "line": 140, "column": 37 } } }, "range": [ - 3857, - 3872 + 3744, + 3759 ], "loc": { "start": { - "line": 146, + "line": 140, "column": 22 }, "end": { - "line": 146, + "line": 140, "column": 37 } } @@ -5977,46 +5804,46 @@ "type": "Identifier", "name": "ct", "range": [ - 3873, - 3875 + 3760, + 3762 ], "loc": { "start": { - "line": 146, + "line": 140, "column": 38 }, "end": { - "line": 146, + "line": 140, "column": 40 } } }, "range": [ - 3857, - 3876 + 3744, + 3763 ], "loc": { "start": { - "line": 146, + "line": 140, "column": 22 }, "end": { - "line": 146, + "line": 140, "column": 41 } } }, "range": [ - 3851, - 3876 + 3738, + 3763 ], "loc": { "start": { - "line": 146, + "line": 140, "column": 16 }, "end": { - "line": 146, + "line": 140, "column": 41 } } @@ -6024,16 +5851,16 @@ ], "kind": "let", "range": [ - 3847, - 3877 + 3734, + 3764 ], "loc": { "start": { - "line": 146, + "line": 140, "column": 12 }, "end": { - "line": 146, + "line": 140, "column": 42 } } @@ -6048,16 +5875,16 @@ "object": { "type": "ThisExpression", "range": [ - 3890, - 3894 + 3777, + 3781 ], "loc": { "start": { - "line": 147, + "line": 141, "column": 12 }, "end": { - "line": 147, + "line": 141, "column": 16 } } @@ -6066,31 +5893,31 @@ "type": "Identifier", "name": "build", "range": [ - 3895, - 3900 + 3782, + 3787 ], "loc": { "start": { - "line": 147, + "line": 141, "column": 17 }, "end": { - "line": 147, + "line": 141, "column": 22 } } }, "range": [ - 3890, - 3900 + 3777, + 3787 ], "loc": { "start": { - "line": 147, + "line": 141, "column": 12 }, "end": { - "line": 147, + "line": 141, "column": 22 } } @@ -6100,47 +5927,47 @@ "type": "Identifier", "name": "ct", "range": [ - 3901, - 3903 + 3788, + 3790 ], "loc": { "start": { - "line": 147, + "line": 141, "column": 23 }, "end": { - "line": 147, + "line": 141, "column": 25 } } } ], "range": [ - 3890, - 3904 + 3777, + 3791 ], "loc": { "start": { - "line": 147, + "line": 141, "column": 12 }, "end": { - "line": 147, + "line": 141, "column": 26 } } }, "range": [ - 3890, - 3905 + 3777, + 3792 ], "loc": { "start": { - "line": 147, + "line": 141, "column": 12 }, "end": { - "line": 147, + "line": 141, "column": 27 } } @@ -6153,16 +5980,16 @@ "type": "Identifier", "name": "removeEvt", "range": [ - 3918, - 3927 + 3805, + 3814 ], "loc": { "start": { - "line": 148, + "line": 142, "column": 12 }, "end": { - "line": 148, + "line": 142, "column": 21 } } @@ -6172,16 +5999,16 @@ "type": "Identifier", "name": "div", "range": [ - 3928, - 3931 + 3815, + 3818 ], "loc": { "start": { - "line": 148, + "line": 142, "column": 22 }, "end": { - "line": 148, + "line": 142, "column": 25 } } @@ -6191,16 +6018,16 @@ "value": "click", "raw": "'click'", "range": [ - 3933, - 3940 + 3820, + 3827 ], "loc": { "start": { - "line": 148, + "line": 142, "column": 27 }, "end": { - "line": 148, + "line": 142, "column": 34 } } @@ -6213,16 +6040,16 @@ "type": "Identifier", "name": "evt", "range": [ - 3943, - 3946 + 3830, + 3833 ], "loc": { "start": { - "line": 148, + "line": 142, "column": 37 }, "end": { - "line": 148, + "line": 142, "column": 40 } } @@ -6236,16 +6063,16 @@ "object": { "type": "ThisExpression", "range": [ - 3951, - 3955 + 3838, + 3842 ], "loc": { "start": { - "line": 148, + "line": 142, "column": 45 }, "end": { - "line": 148, + "line": 142, "column": 49 } } @@ -6254,31 +6081,31 @@ "type": "Identifier", "name": "onCheckListClick", "range": [ - 3956, - 3972 + 3843, + 3859 ], "loc": { "start": { - "line": 148, + "line": 142, "column": 50 }, "end": { - "line": 148, + "line": 142, "column": 66 } } }, "range": [ - 3951, - 3972 + 3838, + 3859 ], "loc": { "start": { - "line": 148, + "line": 142, "column": 45 }, "end": { - "line": 148, + "line": 142, "column": 66 } } @@ -6288,32 +6115,32 @@ "type": "Identifier", "name": "evt", "range": [ - 3973, - 3976 + 3860, + 3863 ], "loc": { "start": { - "line": 148, + "line": 142, "column": 67 }, "end": { - "line": 148, + "line": 142, "column": 70 } } } ], "range": [ - 3951, - 3977 + 3838, + 3864 ], "loc": { "start": { - "line": 148, + "line": 142, "column": 45 }, "end": { - "line": 148, + "line": 142, "column": 71 } } @@ -6321,95 +6148,95 @@ "generator": false, "expression": true, "range": [ - 3942, - 3977 + 3829, + 3864 ], "loc": { "start": { - "line": 148, + "line": 142, "column": 36 }, "end": { - "line": 148, + "line": 142, "column": 71 } } } ], "range": [ - 3918, - 3978 + 3805, + 3865 ], "loc": { "start": { - "line": 148, + "line": 142, "column": 12 }, "end": { - "line": 148, + "line": 142, "column": 72 } } }, "range": [ - 3918, - 3979 + 3805, + 3866 ], "loc": { "start": { - "line": 148, + "line": 142, "column": 12 }, "end": { - "line": 148, + "line": 142, "column": 73 } } } ], "range": [ - 3788, - 3989 + 3675, + 3876 ], "loc": { "start": { - "line": 144, + "line": 138, "column": 75 }, "end": { - "line": 149, + "line": 143, "column": 9 } } }, "alternate": null, "range": [ - 3721, - 3989 + 3608, + 3876 ], "loc": { "start": { - "line": 144, + "line": 138, "column": 8 }, "end": { - "line": 149, + "line": 143, "column": 9 } } } ], "range": [ - 3677, - 3995 + 3564, + 3882 ], "loc": { "start": { - "line": 142, + "line": 136, "column": 26 }, "end": { - "line": 150, + "line": 144, "column": 5 } } @@ -6417,16 +6244,16 @@ "generator": false, "expression": false, "range": [ - 3671, - 3995 + 3558, + 3882 ], "loc": { "start": { - "line": 142, + "line": 136, "column": 20 }, "end": { - "line": 150, + "line": 144, "column": 5 } } @@ -6434,16 +6261,16 @@ "kind": "method", "computed": false, "range": [ - 3655, - 3995 + 3542, + 3882 ], "loc": { "start": { - "line": 142, + "line": 136, "column": 4 }, "end": { - "line": 150, + "line": 144, "column": 5 } }, @@ -6452,16 +6279,16 @@ "type": "Block", "value": "*\n * Checklist container click event handler for load-on-demand feature\n * @param {Event} evt\n ", "range": [ - 3539, - 3650 + 3426, + 3537 ], "loc": { "start": { - "line": 138, + "line": 132, "column": 4 }, "end": { - "line": 141, + "line": 135, "column": 7 } } @@ -6472,16 +6299,16 @@ "type": "Block", "value": "*\n * Initialize checklist filter\n * @param {Number} colIndex Column index\n * @param {Boolean} isExternal External filter flag\n * @param {DOMElement} container Dom element containing the filter\n ", "range": [ - 4001, - 4232 + 3888, + 4119 ], "loc": { "start": { - "line": 152, + "line": 146, "column": 4 }, "end": { - "line": 157, + "line": 151, "column": 7 } } @@ -6495,16 +6322,16 @@ "type": "Identifier", "name": "init", "range": [ - 4237, - 4241 + 4124, + 4128 ], "loc": { "start": { - "line": 158, + "line": 152, "column": 4 }, "end": { - "line": 158, + "line": 152, "column": 8 } } @@ -6517,16 +6344,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 4242, - 4250 + 4129, + 4137 ], "loc": { "start": { - "line": 158, + "line": 152, "column": 9 }, "end": { - "line": 158, + "line": 152, "column": 17 } } @@ -6535,16 +6362,16 @@ "type": "Identifier", "name": "isExternal", "range": [ - 4252, - 4262 + 4139, + 4149 ], "loc": { "start": { - "line": 158, + "line": 152, "column": 19 }, "end": { - "line": 158, + "line": 152, "column": 29 } } @@ -6553,16 +6380,16 @@ "type": "Identifier", "name": "container", "range": [ - 4264, - 4273 + 4151, + 4160 ], "loc": { "start": { - "line": 158, + "line": 152, "column": 31 }, "end": { - "line": 158, + "line": 152, "column": 40 } } @@ -6580,16 +6407,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4289, - 4291 + 4176, + 4178 ], "loc": { "start": { - "line": 159, + "line": 153, "column": 12 }, "end": { - "line": 159, + "line": 153, "column": 14 } } @@ -6600,16 +6427,16 @@ "object": { "type": "ThisExpression", "range": [ - 4294, - 4298 + 4181, + 4185 ], "loc": { "start": { - "line": 159, + "line": 153, "column": 17 }, "end": { - "line": 159, + "line": 153, "column": 21 } } @@ -6618,46 +6445,46 @@ "type": "Identifier", "name": "tf", "range": [ - 4299, - 4301 + 4186, + 4188 ], "loc": { "start": { - "line": 159, + "line": 153, "column": 22 }, "end": { - "line": 159, + "line": 153, "column": 24 } } }, "range": [ - 4294, - 4301 + 4181, + 4188 ], "loc": { "start": { - "line": 159, + "line": 153, "column": 17 }, "end": { - "line": 159, + "line": 153, "column": 24 } } }, "range": [ - 4289, - 4301 + 4176, + 4188 ], "loc": { "start": { - "line": 159, + "line": 153, "column": 12 }, "end": { - "line": 159, + "line": 153, "column": 24 } } @@ -6665,16 +6492,16 @@ ], "kind": "let", "range": [ - 4285, - 4302 + 4172, + 4189 ], "loc": { "start": { - "line": 159, + "line": 153, "column": 8 }, "end": { - "line": 159, + "line": 153, "column": 25 } } @@ -6688,16 +6515,16 @@ "type": "Identifier", "name": "externalFltTgtId", "range": [ - 4315, - 4331 + 4202, + 4218 ], "loc": { "start": { - "line": 160, + "line": 154, "column": 12 }, "end": { - "line": 160, + "line": 154, "column": 28 } } @@ -6708,16 +6535,16 @@ "type": "Identifier", "name": "isExternal", "range": [ - 4334, - 4344 + 4221, + 4231 ], "loc": { "start": { - "line": 160, + "line": 154, "column": 31 }, "end": { - "line": 160, + "line": 154, "column": 41 } } @@ -6732,16 +6559,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4359, - 4361 + 4246, + 4248 ], "loc": { "start": { - "line": 161, + "line": 155, "column": 12 }, "end": { - "line": 161, + "line": 155, "column": 14 } } @@ -6750,31 +6577,31 @@ "type": "Identifier", "name": "externalFltTgtIds", "range": [ - 4362, - 4379 + 4249, + 4266 ], "loc": { "start": { - "line": 161, + "line": 155, "column": 15 }, "end": { - "line": 161, + "line": 155, "column": 32 } } }, "range": [ - 4359, - 4379 + 4246, + 4266 ], "loc": { "start": { - "line": 161, + "line": 155, "column": 12 }, "end": { - "line": 161, + "line": 155, "column": 32 } } @@ -6783,31 +6610,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 4380, - 4388 + 4267, + 4275 ], "loc": { "start": { - "line": 161, + "line": 155, "column": 33 }, "end": { - "line": 161, + "line": 155, "column": 41 } } }, "range": [ - 4359, - 4389 + 4246, + 4276 ], "loc": { "start": { - "line": 161, + "line": 155, "column": 12 }, "end": { - "line": 161, + "line": 155, "column": 42 } } @@ -6817,46 +6644,46 @@ "value": null, "raw": "null", "range": [ - 4392, - 4396 + 4279, + 4283 ], "loc": { "start": { - "line": 161, + "line": 155, "column": 45 }, "end": { - "line": 161, + "line": 155, "column": 49 } } }, "range": [ - 4334, - 4396 + 4221, + 4283 ], "loc": { "start": { - "line": 160, + "line": 154, "column": 31 }, "end": { - "line": 161, + "line": 155, "column": 49 } } }, "range": [ - 4315, - 4396 + 4202, + 4283 ], "loc": { "start": { - "line": 160, + "line": 154, "column": 12 }, "end": { - "line": 161, + "line": 155, "column": 49 } } @@ -6864,16 +6691,16 @@ ], "kind": "let", "range": [ - 4311, - 4397 + 4198, + 4284 ], "loc": { "start": { - "line": 160, + "line": 154, "column": 8 }, "end": { - "line": 161, + "line": 155, "column": 50 } } @@ -6887,16 +6714,16 @@ "type": "Identifier", "name": "divCont", "range": [ - 4411, - 4418 + 4298, + 4305 ], "loc": { "start": { - "line": 163, + "line": 157, "column": 12 }, "end": { - "line": 163, + "line": 157, "column": 19 } } @@ -6907,16 +6734,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 4421, - 4430 + 4308, + 4317 ], "loc": { "start": { - "line": 163, + "line": 157, "column": 22 }, "end": { - "line": 163, + "line": 157, "column": 31 } } @@ -6927,16 +6754,16 @@ "value": "div", "raw": "'div'", "range": [ - 4431, - 4436 + 4318, + 4323 ], "loc": { "start": { - "line": 163, + "line": 157, "column": 32 }, "end": { - "line": 163, + "line": 157, "column": 37 } } @@ -6949,16 +6776,16 @@ "value": "id", "raw": "'id'", "range": [ - 4451, - 4455 + 4338, + 4342 ], "loc": { "start": { - "line": 164, + "line": 158, "column": 13 }, "end": { - "line": 164, + "line": 158, "column": 17 } } @@ -6978,16 +6805,16 @@ "object": { "type": "ThisExpression", "range": [ - 4457, - 4461 + 4344, + 4348 ], "loc": { "start": { - "line": 164, + "line": 158, "column": 19 }, "end": { - "line": 164, + "line": 158, "column": 23 } } @@ -6996,31 +6823,31 @@ "type": "Identifier", "name": "prfx", "range": [ - 4462, - 4466 + 4349, + 4353 ], "loc": { "start": { - "line": 164, + "line": 158, "column": 24 }, "end": { - "line": 164, + "line": 158, "column": 28 } } }, "range": [ - 4457, - 4466 + 4344, + 4353 ], "loc": { "start": { - "line": 164, + "line": 158, "column": 19 }, "end": { - "line": 164, + "line": 158, "column": 28 } } @@ -7029,31 +6856,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 4469, - 4477 + 4356, + 4364 ], "loc": { "start": { - "line": 164, + "line": 158, "column": 31 }, "end": { - "line": 164, + "line": 158, "column": 39 } } }, "range": [ - 4457, - 4477 + 4344, + 4364 ], "loc": { "start": { - "line": 164, + "line": 158, "column": 19 }, "end": { - "line": 164, + "line": 158, "column": 39 } } @@ -7063,31 +6890,31 @@ "value": "_", "raw": "'_'", "range": [ - 4480, - 4483 + 4367, + 4370 ], "loc": { "start": { - "line": 164, + "line": 158, "column": 42 }, "end": { - "line": 164, + "line": 158, "column": 45 } } }, "range": [ - 4457, - 4483 + 4344, + 4370 ], "loc": { "start": { - "line": 164, + "line": 158, "column": 19 }, "end": { - "line": 164, + "line": 158, "column": 45 } } @@ -7099,16 +6926,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4486, - 4488 + 4373, + 4375 ], "loc": { "start": { - "line": 164, + "line": 158, "column": 48 }, "end": { - "line": 164, + "line": 158, "column": 50 } } @@ -7117,62 +6944,62 @@ "type": "Identifier", "name": "id", "range": [ - 4489, - 4491 + 4376, + 4378 ], "loc": { "start": { - "line": 164, + "line": 158, "column": 51 }, "end": { - "line": 164, + "line": 158, "column": 53 } } }, "range": [ - 4486, - 4491 + 4373, + 4378 ], "loc": { "start": { - "line": 164, + "line": 158, "column": 48 }, "end": { - "line": 164, + "line": 158, "column": 53 } } }, "range": [ - 4457, - 4491 + 4344, + 4378 ], "loc": { "start": { - "line": 164, + "line": 158, "column": 19 }, "end": { - "line": 164, + "line": 158, "column": 53 } } } ], "range": [ - 4450, - 4492 + 4337, + 4379 ], "loc": { "start": { - "line": 164, + "line": 158, "column": 12 }, "end": { - "line": 164, + "line": 158, "column": 54 } } @@ -7185,16 +7012,16 @@ "value": "ct", "raw": "'ct'", "range": [ - 4507, - 4511 + 4394, + 4398 ], "loc": { "start": { - "line": 165, + "line": 159, "column": 13 }, "end": { - "line": 165, + "line": 159, "column": 17 } } @@ -7203,32 +7030,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 4513, - 4521 + 4400, + 4408 ], "loc": { "start": { - "line": 165, + "line": 159, "column": 19 }, "end": { - "line": 165, + "line": 159, "column": 27 } } } ], "range": [ - 4506, - 4522 + 4393, + 4409 ], "loc": { "start": { - "line": 165, + "line": 159, "column": 12 }, "end": { - "line": 165, + "line": 159, "column": 28 } } @@ -7241,16 +7068,16 @@ "value": "filled", "raw": "'filled'", "range": [ - 4525, - 4533 + 4412, + 4420 ], "loc": { "start": { - "line": 165, + "line": 159, "column": 31 }, "end": { - "line": 165, + "line": 159, "column": 39 } } @@ -7260,63 +7087,63 @@ "value": "0", "raw": "'0'", "range": [ - 4535, - 4538 + 4422, + 4425 ], "loc": { "start": { - "line": 165, + "line": 159, "column": 41 }, "end": { - "line": 165, + "line": 159, "column": 44 } } } ], "range": [ - 4524, - 4539 + 4411, + 4426 ], "loc": { "start": { - "line": 165, + "line": 159, "column": 30 }, "end": { - "line": 165, + "line": 159, "column": 45 } } } ], "range": [ - 4421, - 4540 + 4308, + 4427 ], "loc": { "start": { - "line": 163, + "line": 157, "column": 22 }, "end": { - "line": 165, + "line": 159, "column": 46 } } }, "range": [ - 4411, - 4540 + 4298, + 4427 ], "loc": { "start": { - "line": 163, + "line": 157, "column": 12 }, "end": { - "line": 165, + "line": 159, "column": 46 } } @@ -7324,16 +7151,16 @@ ], "kind": "let", "range": [ - 4407, - 4541 + 4294, + 4428 ], "loc": { "start": { - "line": 163, + "line": 157, "column": 8 }, "end": { - "line": 165, + "line": 159, "column": 47 } } @@ -7350,16 +7177,16 @@ "type": "Identifier", "name": "divCont", "range": [ - 4550, - 4557 + 4437, + 4444 ], "loc": { "start": { - "line": 166, + "line": 160, "column": 8 }, "end": { - "line": 166, + "line": 160, "column": 15 } } @@ -7368,31 +7195,31 @@ "type": "Identifier", "name": "className", "range": [ - 4558, - 4567 + 4445, + 4454 ], "loc": { "start": { - "line": 166, + "line": 160, "column": 16 }, "end": { - "line": 166, + "line": 160, "column": 25 } } }, "range": [ - 4550, - 4567 + 4437, + 4454 ], "loc": { "start": { - "line": 166, + "line": 160, "column": 8 }, "end": { - "line": 166, + "line": 160, "column": 25 } } @@ -7403,16 +7230,16 @@ "object": { "type": "ThisExpression", "range": [ - 4570, - 4574 + 4457, + 4461 ], "loc": { "start": { - "line": 166, + "line": 160, "column": 28 }, "end": { - "line": 166, + "line": 160, "column": 32 } } @@ -7421,61 +7248,61 @@ "type": "Identifier", "name": "containerCssClass", "range": [ - 4575, - 4592 + 4462, + 4479 ], "loc": { "start": { - "line": 166, + "line": 160, "column": 33 }, "end": { - "line": 166, + "line": 160, "column": 50 } } }, "range": [ - 4570, - 4592 + 4457, + 4479 ], "loc": { "start": { - "line": 166, + "line": 160, "column": 28 }, "end": { - "line": 166, + "line": 160, "column": 50 } } }, "range": [ - 4550, - 4592 + 4437, + 4479 ], "loc": { "start": { - "line": 166, + "line": 160, "column": 8 }, "end": { - "line": 166, + "line": 160, "column": 50 } } }, "range": [ - 4550, - 4593 + 4437, + 4480 ], "loc": { "start": { - "line": 166, + "line": 160, "column": 8 }, "end": { - "line": 166, + "line": 160, "column": 51 } }, @@ -7484,16 +7311,16 @@ "type": "Line", "value": "filter is appended in desired element", "range": [ - 4603, - 4642 + 4490, + 4529 ], "loc": { "start": { - "line": 168, + "line": 162, "column": 8 }, "end": { - "line": 168, + "line": 162, "column": 47 } } @@ -7506,16 +7333,16 @@ "type": "Identifier", "name": "externalFltTgtId", "range": [ - 4655, - 4671 + 4542, + 4558 ], "loc": { "start": { - "line": 169, + "line": 163, "column": 12 }, "end": { - "line": 169, + "line": 163, "column": 28 } } @@ -7536,16 +7363,16 @@ "type": "Identifier", "name": "elm", "range": [ - 4687, - 4690 + 4574, + 4577 ], "loc": { "start": { - "line": 170, + "line": 164, "column": 12 }, "end": { - "line": 170, + "line": 164, "column": 15 } } @@ -7555,32 +7382,32 @@ "type": "Identifier", "name": "externalFltTgtId", "range": [ - 4691, - 4707 + 4578, + 4594 ], "loc": { "start": { - "line": 170, + "line": 164, "column": 16 }, "end": { - "line": 170, + "line": 164, "column": 32 } } } ], "range": [ - 4687, - 4708 + 4574, + 4595 ], "loc": { "start": { - "line": 170, + "line": 164, "column": 12 }, "end": { - "line": 170, + "line": 164, "column": 33 } } @@ -7589,31 +7416,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 4709, - 4720 + 4596, + 4607 ], "loc": { "start": { - "line": 170, + "line": 164, "column": 34 }, "end": { - "line": 170, + "line": 164, "column": 45 } } }, "range": [ - 4687, - 4720 + 4574, + 4607 ], "loc": { "start": { - "line": 170, + "line": 164, "column": 12 }, "end": { - "line": 170, + "line": 164, "column": 45 } } @@ -7623,47 +7450,47 @@ "type": "Identifier", "name": "divCont", "range": [ - 4721, - 4728 + 4608, + 4615 ], "loc": { "start": { - "line": 170, + "line": 164, "column": 46 }, "end": { - "line": 170, + "line": 164, "column": 53 } } } ], "range": [ - 4687, - 4729 + 4574, + 4616 ], "loc": { "start": { - "line": 170, + "line": 164, "column": 12 }, "end": { - "line": 170, + "line": 164, "column": 54 } } }, "range": [ - 4687, - 4730 + 4574, + 4617 ], "loc": { "start": { - "line": 170, + "line": 164, "column": 12 }, "end": { - "line": 170, + "line": 164, "column": 55 } } @@ -7682,16 +7509,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4743, - 4745 + 4630, + 4632 ], "loc": { "start": { - "line": 171, + "line": 165, "column": 12 }, "end": { - "line": 171, + "line": 165, "column": 14 } } @@ -7700,31 +7527,31 @@ "type": "Identifier", "name": "externalFltEls", "range": [ - 4746, - 4760 + 4633, + 4647 ], "loc": { "start": { - "line": 171, + "line": 165, "column": 15 }, "end": { - "line": 171, + "line": 165, "column": 29 } } }, "range": [ - 4743, - 4760 + 4630, + 4647 ], "loc": { "start": { - "line": 171, + "line": 165, "column": 12 }, "end": { - "line": 171, + "line": 165, "column": 29 } } @@ -7733,31 +7560,31 @@ "type": "Identifier", "name": "push", "range": [ - 4761, - 4765 + 4648, + 4652 ], "loc": { "start": { - "line": 171, + "line": 165, "column": 30 }, "end": { - "line": 171, + "line": 165, "column": 34 } } }, "range": [ - 4743, - 4765 + 4630, + 4652 ], "loc": { "start": { - "line": 171, + "line": 165, "column": 12 }, "end": { - "line": 171, + "line": 165, "column": 34 } } @@ -7767,63 +7594,63 @@ "type": "Identifier", "name": "divCont", "range": [ - 4766, - 4773 + 4653, + 4660 ], "loc": { "start": { - "line": 171, + "line": 165, "column": 35 }, "end": { - "line": 171, + "line": 165, "column": 42 } } } ], "range": [ - 4743, - 4774 + 4630, + 4661 ], "loc": { "start": { - "line": 171, + "line": 165, "column": 12 }, "end": { - "line": 171, + "line": 165, "column": 43 } } }, "range": [ - 4743, - 4775 + 4630, + 4662 ], "loc": { "start": { - "line": 171, + "line": 165, "column": 12 }, "end": { - "line": 171, + "line": 165, "column": 44 } } } ], "range": [ - 4673, - 4785 + 4560, + 4672 ], "loc": { "start": { - "line": 169, + "line": 163, "column": 30 }, "end": { - "line": 172, + "line": 166, "column": 9 } } @@ -7842,16 +7669,16 @@ "type": "Identifier", "name": "container", "range": [ - 4805, - 4814 + 4692, + 4701 ], "loc": { "start": { - "line": 173, + "line": 167, "column": 12 }, "end": { - "line": 173, + "line": 167, "column": 21 } } @@ -7860,31 +7687,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 4815, - 4826 + 4702, + 4713 ], "loc": { "start": { - "line": 173, + "line": 167, "column": 22 }, "end": { - "line": 173, + "line": 167, "column": 33 } } }, "range": [ - 4805, - 4826 + 4692, + 4713 ], "loc": { "start": { - "line": 173, + "line": 167, "column": 12 }, "end": { - "line": 173, + "line": 167, "column": 33 } } @@ -7894,78 +7721,78 @@ "type": "Identifier", "name": "divCont", "range": [ - 4827, - 4834 + 4714, + 4721 ], "loc": { "start": { - "line": 173, + "line": 167, "column": 34 }, "end": { - "line": 173, + "line": 167, "column": 41 } } } ], "range": [ - 4805, - 4835 + 4692, + 4722 ], "loc": { "start": { - "line": 173, + "line": 167, "column": 12 }, "end": { - "line": 173, + "line": 167, "column": 42 } } }, "range": [ - 4805, - 4836 + 4692, + 4723 ], "loc": { "start": { - "line": 173, + "line": 167, "column": 12 }, "end": { - "line": 173, + "line": 167, "column": 43 } } } ], "range": [ - 4791, - 4846 + 4678, + 4733 ], "loc": { "start": { - "line": 172, + "line": 166, "column": 15 }, "end": { - "line": 174, + "line": 168, "column": 9 } } }, "range": [ - 4651, - 4846 + 4538, + 4733 ], "loc": { "start": { - "line": 169, + "line": 163, "column": 8 }, "end": { - "line": 174, + "line": 168, "column": 9 } }, @@ -7974,16 +7801,16 @@ "type": "Line", "value": "filter is appended in desired element", "range": [ - 4603, - 4642 + 4490, + 4529 ], "loc": { "start": { - "line": 168, + "line": 162, "column": 8 }, "end": { - "line": 168, + "line": 162, "column": 47 } } @@ -8004,16 +7831,16 @@ "object": { "type": "ThisExpression", "range": [ - 4856, - 4860 + 4743, + 4747 ], "loc": { "start": { - "line": 176, + "line": 170, "column": 8 }, "end": { - "line": 176, + "line": 170, "column": 12 } } @@ -8022,31 +7849,31 @@ "type": "Identifier", "name": "containers", "range": [ - 4861, - 4871 + 4748, + 4758 ], "loc": { "start": { - "line": 176, + "line": 170, "column": 13 }, "end": { - "line": 176, + "line": 170, "column": 23 } } }, "range": [ - 4856, - 4871 + 4743, + 4758 ], "loc": { "start": { - "line": 176, + "line": 170, "column": 8 }, "end": { - "line": 176, + "line": 170, "column": 23 } } @@ -8055,31 +7882,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 4872, - 4880 + 4759, + 4767 ], "loc": { "start": { - "line": 176, + "line": 170, "column": 24 }, "end": { - "line": 176, + "line": 170, "column": 32 } } }, "range": [ - 4856, - 4881 + 4743, + 4768 ], "loc": { "start": { - "line": 176, + "line": 170, "column": 8 }, "end": { - "line": 176, + "line": 170, "column": 33 } } @@ -8088,46 +7915,46 @@ "type": "Identifier", "name": "divCont", "range": [ - 4884, - 4891 + 4771, + 4778 ], "loc": { "start": { - "line": 176, + "line": 170, "column": 36 }, "end": { - "line": 176, + "line": 170, "column": 43 } } }, "range": [ - 4856, - 4891 + 4743, + 4778 ], "loc": { "start": { - "line": 176, + "line": 170, "column": 8 }, "end": { - "line": 176, + "line": 170, "column": 43 } } }, "range": [ - 4856, - 4892 + 4743, + 4779 ], "loc": { "start": { - "line": 176, + "line": 170, "column": 8 }, "end": { - "line": 176, + "line": 170, "column": 44 } } @@ -8146,16 +7973,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4901, - 4903 + 4788, + 4790 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 8 }, "end": { - "line": 177, + "line": 171, "column": 10 } } @@ -8164,31 +7991,31 @@ "type": "Identifier", "name": "fltIds", "range": [ - 4904, - 4910 + 4791, + 4797 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 11 }, "end": { - "line": 177, + "line": 171, "column": 17 } } }, "range": [ - 4901, - 4910 + 4788, + 4797 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 8 }, "end": { - "line": 177, + "line": 171, "column": 17 } } @@ -8197,31 +8024,31 @@ "type": "Identifier", "name": "push", "range": [ - 4911, - 4915 + 4798, + 4802 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 18 }, "end": { - "line": 177, + "line": 171, "column": 22 } } }, "range": [ - 4901, - 4915 + 4788, + 4802 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 8 }, "end": { - "line": 177, + "line": 171, "column": 22 } } @@ -8243,16 +8070,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4916, - 4918 + 4803, + 4805 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 23 }, "end": { - "line": 177, + "line": 171, "column": 25 } } @@ -8261,31 +8088,31 @@ "type": "Identifier", "name": "prfxFlt", "range": [ - 4919, - 4926 + 4806, + 4813 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 26 }, "end": { - "line": 177, + "line": 171, "column": 33 } } }, "range": [ - 4916, - 4926 + 4803, + 4813 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 23 }, "end": { - "line": 177, + "line": 171, "column": 33 } } @@ -8294,31 +8121,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 4929, - 4937 + 4816, + 4824 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 36 }, "end": { - "line": 177, + "line": 171, "column": 44 } } }, "range": [ - 4916, - 4937 + 4803, + 4824 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 23 }, "end": { - "line": 177, + "line": 171, "column": 44 } } @@ -8328,31 +8155,31 @@ "value": "_", "raw": "'_'", "range": [ - 4940, - 4943 + 4827, + 4830 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 47 }, "end": { - "line": 177, + "line": 171, "column": 50 } } }, "range": [ - 4916, - 4943 + 4803, + 4830 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 23 }, "end": { - "line": 177, + "line": 171, "column": 50 } } @@ -8364,16 +8191,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4946, - 4948 + 4833, + 4835 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 53 }, "end": { - "line": 177, + "line": 171, "column": 55 } } @@ -8382,77 +8209,77 @@ "type": "Identifier", "name": "id", "range": [ - 4949, - 4951 + 4836, + 4838 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 56 }, "end": { - "line": 177, + "line": 171, "column": 58 } } }, "range": [ - 4946, - 4951 + 4833, + 4838 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 53 }, "end": { - "line": 177, + "line": 171, "column": 58 } } }, "range": [ - 4916, - 4951 + 4803, + 4838 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 23 }, "end": { - "line": 177, + "line": 171, "column": 58 } } } ], "range": [ - 4901, - 4952 + 4788, + 4839 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 8 }, "end": { - "line": 177, + "line": 171, "column": 59 } } }, "range": [ - 4901, - 4953 + 4788, + 4840 ], "loc": { "start": { - "line": 177, + "line": 171, "column": 8 }, "end": { - "line": 177, + "line": 171, "column": 60 } } @@ -8469,16 +8296,16 @@ "type": "Identifier", "name": "tf", "range": [ - 4968, - 4970 + 4855, + 4857 ], "loc": { "start": { - "line": 179, + "line": 173, "column": 13 }, "end": { - "line": 179, + "line": 173, "column": 15 } } @@ -8487,47 +8314,47 @@ "type": "Identifier", "name": "loadFltOnDemand", "range": [ - 4971, - 4986 + 4858, + 4873 ], "loc": { "start": { - "line": 179, + "line": 173, "column": 16 }, "end": { - "line": 179, + "line": 173, "column": 31 } } }, "range": [ - 4968, - 4986 + 4855, + 4873 ], "loc": { "start": { - "line": 179, + "line": 173, "column": 13 }, "end": { - "line": 179, + "line": 173, "column": 31 } } }, "prefix": true, "range": [ - 4967, - 4986 + 4854, + 4873 ], "loc": { "start": { - "line": 179, + "line": 173, "column": 12 }, "end": { - "line": 179, + "line": 173, "column": 31 } } @@ -8545,16 +8372,16 @@ "object": { "type": "ThisExpression", "range": [ - 5002, - 5006 + 4889, + 4893 ], "loc": { "start": { - "line": 180, + "line": 174, "column": 12 }, "end": { - "line": 180, + "line": 174, "column": 16 } } @@ -8563,31 +8390,31 @@ "type": "Identifier", "name": "build", "range": [ - 5007, - 5012 + 4894, + 4899 ], "loc": { "start": { - "line": 180, + "line": 174, "column": 17 }, "end": { - "line": 180, + "line": 174, "column": 22 } } }, "range": [ - 5002, - 5012 + 4889, + 4899 ], "loc": { "start": { - "line": 180, + "line": 174, "column": 12 }, "end": { - "line": 180, + "line": 174, "column": 22 } } @@ -8597,63 +8424,63 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5013, - 5021 + 4900, + 4908 ], "loc": { "start": { - "line": 180, + "line": 174, "column": 23 }, "end": { - "line": 180, + "line": 174, "column": 31 } } } ], "range": [ - 5002, - 5022 + 4889, + 4909 ], "loc": { "start": { - "line": 180, + "line": 174, "column": 12 }, "end": { - "line": 180, + "line": 174, "column": 32 } } }, "range": [ - 5002, - 5023 + 4889, + 4910 ], "loc": { "start": { - "line": 180, + "line": 174, "column": 12 }, "end": { - "line": 180, + "line": 174, "column": 33 } } } ], "range": [ - 4988, - 5033 + 4875, + 4920 ], "loc": { "start": { - "line": 179, + "line": 173, "column": 33 }, "end": { - "line": 181, + "line": 175, "column": 9 } } @@ -8669,16 +8496,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 5053, - 5059 + 4940, + 4946 ], "loc": { "start": { - "line": 182, + "line": 176, "column": 12 }, "end": { - "line": 182, + "line": 176, "column": 18 } } @@ -8688,16 +8515,16 @@ "type": "Identifier", "name": "divCont", "range": [ - 5060, - 5067 + 4947, + 4954 ], "loc": { "start": { - "line": 182, + "line": 176, "column": 19 }, "end": { - "line": 182, + "line": 176, "column": 26 } } @@ -8707,16 +8534,16 @@ "value": "click", "raw": "'click'", "range": [ - 5069, - 5076 + 4956, + 4963 ], "loc": { "start": { - "line": 182, + "line": 176, "column": 28 }, "end": { - "line": 182, + "line": 176, "column": 35 } } @@ -8729,16 +8556,16 @@ "type": "Identifier", "name": "evt", "range": [ - 5079, - 5082 + 4966, + 4969 ], "loc": { "start": { - "line": 182, + "line": 176, "column": 38 }, "end": { - "line": 182, + "line": 176, "column": 41 } } @@ -8752,16 +8579,16 @@ "object": { "type": "ThisExpression", "range": [ - 5087, - 5091 + 4974, + 4978 ], "loc": { "start": { - "line": 182, + "line": 176, "column": 46 }, "end": { - "line": 182, + "line": 176, "column": 50 } } @@ -8770,31 +8597,31 @@ "type": "Identifier", "name": "onCheckListClick", "range": [ - 5092, - 5108 + 4979, + 4995 ], "loc": { "start": { - "line": 182, + "line": 176, "column": 51 }, "end": { - "line": 182, + "line": 176, "column": 67 } } }, "range": [ - 5087, - 5108 + 4974, + 4995 ], "loc": { "start": { - "line": 182, + "line": 176, "column": 46 }, "end": { - "line": 182, + "line": 176, "column": 67 } } @@ -8804,32 +8631,32 @@ "type": "Identifier", "name": "evt", "range": [ - 5109, - 5112 + 4996, + 4999 ], "loc": { "start": { - "line": 182, + "line": 176, "column": 68 }, "end": { - "line": 182, + "line": 176, "column": 71 } } } ], "range": [ - 5087, - 5113 + 4974, + 5000 ], "loc": { "start": { - "line": 182, + "line": 176, "column": 46 }, "end": { - "line": 182, + "line": 176, "column": 72 } } @@ -8837,47 +8664,47 @@ "generator": false, "expression": true, "range": [ - 5078, - 5113 + 4965, + 5000 ], "loc": { "start": { - "line": 182, + "line": 176, "column": 37 }, "end": { - "line": 182, + "line": 176, "column": 72 } } } ], "range": [ - 5053, - 5114 + 4940, + 5001 ], "loc": { "start": { - "line": 182, + "line": 176, "column": 12 }, "end": { - "line": 182, + "line": 176, "column": 73 } } }, "range": [ - 5053, - 5115 + 4940, + 5002 ], "loc": { "start": { - "line": 182, + "line": 176, "column": 12 }, "end": { - "line": 182, + "line": 176, "column": 74 } } @@ -8893,16 +8720,16 @@ "type": "Identifier", "name": "divCont", "range": [ - 5128, - 5135 + 5015, + 5022 ], "loc": { "start": { - "line": 183, + "line": 177, "column": 12 }, "end": { - "line": 183, + "line": 177, "column": 19 } } @@ -8911,31 +8738,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 5136, - 5147 + 5023, + 5034 ], "loc": { "start": { - "line": 183, + "line": 177, "column": 20 }, "end": { - "line": 183, + "line": 177, "column": 31 } } }, "range": [ - 5128, - 5147 + 5015, + 5034 ], "loc": { "start": { - "line": 183, + "line": 177, "column": 12 }, "end": { - "line": 183, + "line": 177, "column": 31 } } @@ -8947,16 +8774,16 @@ "type": "Identifier", "name": "createText", "range": [ - 5148, - 5158 + 5035, + 5045 ], "loc": { "start": { - "line": 183, + "line": 177, "column": 32 }, "end": { - "line": 183, + "line": 177, "column": 42 } } @@ -8968,16 +8795,16 @@ "object": { "type": "ThisExpression", "range": [ - 5159, - 5163 + 5046, + 5050 ], "loc": { "start": { - "line": 183, + "line": 177, "column": 43 }, "end": { - "line": 183, + "line": 177, "column": 47 } } @@ -8986,109 +8813,109 @@ "type": "Identifier", "name": "activateText", "range": [ - 5164, - 5176 + 5051, + 5063 ], "loc": { "start": { - "line": 183, + "line": 177, "column": 48 }, "end": { - "line": 183, + "line": 177, "column": 60 } } }, "range": [ - 5159, - 5176 + 5046, + 5063 ], "loc": { "start": { - "line": 183, + "line": 177, "column": 43 }, "end": { - "line": 183, + "line": 177, "column": 60 } } } ], "range": [ - 5148, - 5177 + 5035, + 5064 ], "loc": { "start": { - "line": 183, + "line": 177, "column": 32 }, "end": { - "line": 183, + "line": 177, "column": 61 } } } ], "range": [ - 5128, - 5178 + 5015, + 5065 ], "loc": { "start": { - "line": 183, + "line": 177, "column": 12 }, "end": { - "line": 183, + "line": 177, "column": 62 } } }, "range": [ - 5128, - 5179 + 5015, + 5066 ], "loc": { "start": { - "line": 183, + "line": 177, "column": 12 }, "end": { - "line": 183, + "line": 177, "column": 63 } } } ], "range": [ - 5039, - 5189 + 4926, + 5076 ], "loc": { "start": { - "line": 181, + "line": 175, "column": 15 }, "end": { - "line": 184, + "line": 178, "column": 9 } } }, "range": [ - 4963, - 5189 + 4850, + 5076 ], "loc": { "start": { - "line": 179, + "line": 173, "column": 8 }, "end": { - "line": 184, + "line": 178, "column": 9 } } @@ -9106,16 +8933,16 @@ "object": { "type": "ThisExpression", "range": [ - 5199, - 5203 + 5086, + 5090 ], "loc": { "start": { - "line": 186, + "line": 180, "column": 8 }, "end": { - "line": 186, + "line": 180, "column": 12 } } @@ -9124,31 +8951,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 5204, - 5211 + 5091, + 5098 ], "loc": { "start": { - "line": 186, + "line": 180, "column": 13 }, "end": { - "line": 186, + "line": 180, "column": 20 } } }, "range": [ - 5199, - 5211 + 5086, + 5098 ], "loc": { "start": { - "line": 186, + "line": 180, "column": 8 }, "end": { - "line": 186, + "line": 180, "column": 20 } } @@ -9157,31 +8984,31 @@ "type": "Identifier", "name": "on", "range": [ - 5212, - 5214 + 5099, + 5101 ], "loc": { "start": { - "line": 186, + "line": 180, "column": 21 }, "end": { - "line": 186, + "line": 180, "column": 23 } } }, "range": [ - 5199, - 5214 + 5086, + 5101 ], "loc": { "start": { - "line": 186, + "line": 180, "column": 8 }, "end": { - "line": 186, + "line": 180, "column": 23 } } @@ -9195,32 +9022,32 @@ "value": "build-checklist-filter", "raw": "'build-checklist-filter'", "range": [ - 5229, - 5253 + 5116, + 5140 ], "loc": { "start": { - "line": 187, + "line": 181, "column": 13 }, "end": { - "line": 187, + "line": 181, "column": 37 } } } ], "range": [ - 5228, - 5254 + 5115, + 5141 ], "loc": { "start": { - "line": 187, + "line": 181, "column": 12 }, "end": { - "line": 187, + "line": 181, "column": 38 } } @@ -9233,16 +9060,16 @@ "type": "Identifier", "name": "tf", "range": [ - 5269, - 5271 + 5156, + 5158 ], "loc": { "start": { - "line": 188, + "line": 182, "column": 13 }, "end": { - "line": 188, + "line": 182, "column": 15 } } @@ -9251,37 +9078,19 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5273, - 5281 + 5160, + 5168 ], "loc": { "start": { - "line": 188, + "line": 182, "column": 17 }, "end": { - "line": 188, + "line": 182, "column": 25 } } - }, - { - "type": "Identifier", - "name": "isExternal", - "range": [ - 5283, - 5293 - ], - "loc": { - "start": { - "line": 188, - "column": 27 - }, - "end": { - "line": 188, - "column": 37 - } - } } ], "body": { @@ -9292,17 +9101,17 @@ "object": { "type": "ThisExpression", "range": [ - 5298, - 5302 + 5173, + 5177 ], "loc": { "start": { - "line": 188, - "column": 42 + "line": 182, + "column": 30 }, "end": { - "line": 188, - "column": 46 + "line": 182, + "column": 34 } } }, @@ -9310,32 +9119,32 @@ "type": "Identifier", "name": "build", "range": [ - 5303, - 5308 + 5178, + 5183 ], "loc": { "start": { - "line": 188, - "column": 47 + "line": 182, + "column": 35 }, "end": { - "line": 188, - "column": 52 + "line": 182, + "column": 40 } } }, "range": [ - 5298, - 5308 + 5173, + 5183 ], "loc": { "start": { - "line": 188, - "column": 42 + "line": 182, + "column": 30 }, "end": { - "line": 188, - "column": 52 + "line": 182, + "column": 40 } } }, @@ -9344,98 +9153,80 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5309, - 5317 + 5184, + 5192 ], "loc": { "start": { - "line": 188, - "column": 53 + "line": 182, + "column": 41 }, "end": { - "line": 188, - "column": 61 - } - } - }, - { - "type": "Identifier", - "name": "isExternal", - "range": [ - 5319, - 5329 - ], - "loc": { - "start": { - "line": 188, - "column": 63 - }, - "end": { - "line": 188, - "column": 73 + "line": 182, + "column": 49 } } } ], "range": [ - 5298, - 5330 + 5173, + 5193 ], "loc": { "start": { - "line": 188, - "column": 42 + "line": 182, + "column": 30 }, "end": { - "line": 188, - "column": 74 + "line": 182, + "column": 50 } } }, "generator": false, "expression": true, "range": [ - 5268, - 5330 + 5155, + 5193 ], "loc": { "start": { - "line": 188, + "line": 182, "column": 12 }, "end": { - "line": 188, - "column": 74 + "line": 182, + "column": 50 } } } ], "range": [ - 5199, - 5340 + 5086, + 5203 ], "loc": { "start": { - "line": 186, + "line": 180, "column": 8 }, "end": { - "line": 189, + "line": 183, "column": 9 } } }, "range": [ - 5199, - 5341 + 5086, + 5204 ], "loc": { "start": { - "line": 186, + "line": 180, "column": 8 }, "end": { - "line": 189, + "line": 183, "column": 10 } } @@ -9453,16 +9244,16 @@ "object": { "type": "ThisExpression", "range": [ - 5351, - 5355 + 5214, + 5218 ], "loc": { "start": { - "line": 191, + "line": 185, "column": 8 }, "end": { - "line": 191, + "line": 185, "column": 12 } } @@ -9471,31 +9262,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 5356, - 5363 + 5219, + 5226 ], "loc": { "start": { - "line": 191, + "line": 185, "column": 13 }, "end": { - "line": 191, + "line": 185, "column": 20 } } }, "range": [ - 5351, - 5363 + 5214, + 5226 ], "loc": { "start": { - "line": 191, + "line": 185, "column": 8 }, "end": { - "line": 191, + "line": 185, "column": 20 } } @@ -9504,31 +9295,31 @@ "type": "Identifier", "name": "on", "range": [ - 5364, - 5366 + 5227, + 5229 ], "loc": { "start": { - "line": 191, + "line": 185, "column": 21 }, "end": { - "line": 191, + "line": 185, "column": 23 } } }, "range": [ - 5351, - 5366 + 5214, + 5229 ], "loc": { "start": { - "line": 191, + "line": 185, "column": 8 }, "end": { - "line": 191, + "line": 185, "column": 23 } } @@ -9542,32 +9333,32 @@ "value": "select-checklist-options", "raw": "'select-checklist-options'", "range": [ - 5381, - 5407 + 5244, + 5270 ], "loc": { "start": { - "line": 192, + "line": 186, "column": 13 }, "end": { - "line": 192, + "line": 186, "column": 39 } } } ], "range": [ - 5380, - 5408 + 5243, + 5271 ], "loc": { "start": { - "line": 192, + "line": 186, "column": 12 }, "end": { - "line": 192, + "line": 186, "column": 40 } } @@ -9580,16 +9371,16 @@ "type": "Identifier", "name": "tf", "range": [ - 5423, - 5425 + 5286, + 5288 ], "loc": { "start": { - "line": 193, + "line": 187, "column": 13 }, "end": { - "line": 193, + "line": 187, "column": 15 } } @@ -9598,16 +9389,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5427, - 5435 + 5290, + 5298 ], "loc": { "start": { - "line": 193, + "line": 187, "column": 17 }, "end": { - "line": 193, + "line": 187, "column": 25 } } @@ -9616,16 +9407,16 @@ "type": "Identifier", "name": "values", "range": [ - 5437, - 5443 + 5300, + 5306 ], "loc": { "start": { - "line": 193, + "line": 187, "column": 27 }, "end": { - "line": 193, + "line": 187, "column": 33 } } @@ -9639,16 +9430,16 @@ "object": { "type": "ThisExpression", "range": [ - 5448, - 5452 + 5311, + 5315 ], "loc": { "start": { - "line": 193, + "line": 187, "column": 38 }, "end": { - "line": 193, + "line": 187, "column": 42 } } @@ -9657,31 +9448,31 @@ "type": "Identifier", "name": "selectOptions", "range": [ - 5453, - 5466 + 5316, + 5329 ], "loc": { "start": { - "line": 193, + "line": 187, "column": 43 }, "end": { - "line": 193, + "line": 187, "column": 56 } } }, "range": [ - 5448, - 5466 + 5311, + 5329 ], "loc": { "start": { - "line": 193, + "line": 187, "column": 38 }, "end": { - "line": 193, + "line": 187, "column": 56 } } @@ -9691,16 +9482,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5467, - 5475 + 5330, + 5338 ], "loc": { "start": { - "line": 193, + "line": 187, "column": 57 }, "end": { - "line": 193, + "line": 187, "column": 65 } } @@ -9709,32 +9500,32 @@ "type": "Identifier", "name": "values", "range": [ - 5477, - 5483 + 5340, + 5346 ], "loc": { "start": { - "line": 193, + "line": 187, "column": 67 }, "end": { - "line": 193, + "line": 187, "column": 73 } } } ], "range": [ - 5448, - 5484 + 5311, + 5347 ], "loc": { "start": { - "line": 193, + "line": 187, "column": 38 }, "end": { - "line": 193, + "line": 187, "column": 74 } } @@ -9742,47 +9533,47 @@ "generator": false, "expression": true, "range": [ - 5422, - 5484 + 5285, + 5347 ], "loc": { "start": { - "line": 193, + "line": 187, "column": 12 }, "end": { - "line": 193, + "line": 187, "column": 74 } } } ], "range": [ - 5351, - 5494 + 5214, + 5357 ], "loc": { "start": { - "line": 191, + "line": 185, "column": 8 }, "end": { - "line": 194, + "line": 188, "column": 9 } } }, "range": [ - 5351, - 5495 + 5214, + 5358 ], "loc": { "start": { - "line": 191, + "line": 185, "column": 8 }, "end": { - "line": 194, + "line": 188, "column": 10 } } @@ -9798,16 +9589,16 @@ "object": { "type": "ThisExpression", "range": [ - 5505, - 5509 + 5368, + 5372 ], "loc": { "start": { - "line": 196, + "line": 190, "column": 8 }, "end": { - "line": 196, + "line": 190, "column": 12 } } @@ -9816,31 +9607,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 5510, - 5521 + 5373, + 5384 ], "loc": { "start": { - "line": 196, + "line": 190, "column": 13 }, "end": { - "line": 196, + "line": 190, "column": 24 } } }, "range": [ - 5505, - 5521 + 5368, + 5384 ], "loc": { "start": { - "line": 196, + "line": 190, "column": 8 }, "end": { - "line": 196, + "line": 190, "column": 24 } } @@ -9850,62 +9641,62 @@ "value": true, "raw": "true", "range": [ - 5524, - 5528 + 5387, + 5391 ], "loc": { "start": { - "line": 196, + "line": 190, "column": 27 }, "end": { - "line": 196, + "line": 190, "column": 31 } } }, "range": [ - 5505, - 5528 + 5368, + 5391 ], "loc": { "start": { - "line": 196, + "line": 190, "column": 8 }, "end": { - "line": 196, + "line": 190, "column": 31 } } }, "range": [ - 5505, - 5529 + 5368, + 5392 ], "loc": { "start": { - "line": 196, + "line": 190, "column": 8 }, "end": { - "line": 196, + "line": 190, "column": 32 } } } ], "range": [ - 4275, - 5535 + 4162, + 5398 ], "loc": { "start": { - "line": 158, + "line": 152, "column": 42 }, "end": { - "line": 197, + "line": 191, "column": 5 } } @@ -9913,16 +9704,16 @@ "generator": false, "expression": false, "range": [ - 4241, - 5535 + 4128, + 5398 ], "loc": { "start": { - "line": 158, + "line": 152, "column": 8 }, "end": { - "line": 197, + "line": 191, "column": 5 } } @@ -9930,16 +9721,16 @@ "kind": "method", "computed": false, "range": [ - 4237, - 5535 + 4124, + 5398 ], "loc": { "start": { - "line": 158, + "line": 152, "column": 4 }, "end": { - "line": 197, + "line": 191, "column": 5 } }, @@ -9948,16 +9739,16 @@ "type": "Block", "value": "*\n * Initialize checklist filter\n * @param {Number} colIndex Column index\n * @param {Boolean} isExternal External filter flag\n * @param {DOMElement} container Dom element containing the filter\n ", "range": [ - 4001, - 4232 + 3888, + 4119 ], "loc": { "start": { - "line": 152, + "line": 146, "column": 4 }, "end": { - "line": 157, + "line": 151, "column": 7 } } @@ -9968,16 +9759,16 @@ "type": "Block", "value": "*\n * Build checklist UI\n * @param {Number} colIndex Column index\n ", "range": [ - 5541, - 5627 + 5404, + 5490 ], "loc": { "start": { - "line": 199, + "line": 193, "column": 4 }, "end": { - "line": 202, + "line": 196, "column": 7 } } @@ -9991,16 +9782,16 @@ "type": "Identifier", "name": "build", "range": [ - 5632, - 5637 + 5495, + 5500 ], "loc": { "start": { - "line": 203, + "line": 197, "column": 4 }, "end": { - "line": 203, + "line": 197, "column": 9 } } @@ -10013,16 +9804,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5638, - 5646 + 5501, + 5509 ], "loc": { "start": { - "line": 203, + "line": 197, "column": 10 }, "end": { - "line": 203, + "line": 197, "column": 18 } } @@ -10040,16 +9831,16 @@ "type": "Identifier", "name": "tf", "range": [ - 5662, - 5664 + 5525, + 5527 ], "loc": { "start": { - "line": 204, + "line": 198, "column": 12 }, "end": { - "line": 204, + "line": 198, "column": 14 } } @@ -10060,16 +9851,16 @@ "object": { "type": "ThisExpression", "range": [ - 5667, - 5671 + 5530, + 5534 ], "loc": { "start": { - "line": 204, + "line": 198, "column": 17 }, "end": { - "line": 204, + "line": 198, "column": 21 } } @@ -10078,46 +9869,46 @@ "type": "Identifier", "name": "tf", "range": [ - 5672, - 5674 + 5535, + 5537 ], "loc": { "start": { - "line": 204, + "line": 198, "column": 22 }, "end": { - "line": 204, + "line": 198, "column": 24 } } }, "range": [ - 5667, - 5674 + 5530, + 5537 ], "loc": { "start": { - "line": 204, + "line": 198, "column": 17 }, "end": { - "line": 204, + "line": 198, "column": 24 } } }, "range": [ - 5662, - 5674 + 5525, + 5537 ], "loc": { "start": { - "line": 204, + "line": 198, "column": 12 }, "end": { - "line": 204, + "line": 198, "column": 24 } } @@ -10125,16 +9916,16 @@ ], "kind": "let", "range": [ - 5658, - 5675 + 5521, + 5538 ], "loc": { "start": { - "line": 204, + "line": 198, "column": 8 }, "end": { - "line": 204, + "line": 198, "column": 25 } } @@ -10148,16 +9939,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5684, - 5692 + 5547, + 5555 ], "loc": { "start": { - "line": 205, + "line": 199, "column": 8 }, "end": { - "line": 205, + "line": 199, "column": 16 } } @@ -10168,16 +9959,16 @@ "type": "Identifier", "name": "parseInt", "range": [ - 5695, - 5703 + 5558, + 5566 ], "loc": { "start": { - "line": 205, + "line": 199, "column": 19 }, "end": { - "line": 205, + "line": 199, "column": 27 } } @@ -10187,16 +9978,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5704, - 5712 + 5567, + 5575 ], "loc": { "start": { - "line": 205, + "line": 199, "column": 28 }, "end": { - "line": 205, + "line": 199, "column": 36 } } @@ -10206,62 +9997,62 @@ "value": 10, "raw": "10", "range": [ - 5714, - 5716 + 5577, + 5579 ], "loc": { "start": { - "line": 205, + "line": 199, "column": 38 }, "end": { - "line": 205, + "line": 199, "column": 40 } } } ], "range": [ - 5695, - 5717 + 5558, + 5580 ], "loc": { "start": { - "line": 205, + "line": 199, "column": 19 }, "end": { - "line": 205, + "line": 199, "column": 41 } } }, "range": [ - 5684, - 5717 + 5547, + 5580 ], "loc": { "start": { - "line": 205, + "line": 199, "column": 8 }, "end": { - "line": 205, + "line": 199, "column": 41 } } }, "range": [ - 5684, - 5718 + 5547, + 5581 ], "loc": { "start": { - "line": 205, + "line": 199, "column": 8 }, "end": { - "line": 205, + "line": 199, "column": 42 } } @@ -10279,16 +10070,16 @@ "object": { "type": "ThisExpression", "range": [ - 5728, - 5732 + 5591, + 5595 ], "loc": { "start": { - "line": 207, + "line": 201, "column": 8 }, "end": { - "line": 207, + "line": 201, "column": 12 } } @@ -10297,31 +10088,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 5733, - 5740 + 5596, + 5603 ], "loc": { "start": { - "line": 207, + "line": 201, "column": 13 }, "end": { - "line": 207, + "line": 201, "column": 20 } } }, "range": [ - 5728, - 5740 + 5591, + 5603 ], "loc": { "start": { - "line": 207, + "line": 201, "column": 8 }, "end": { - "line": 207, + "line": 201, "column": 20 } } @@ -10330,31 +10121,31 @@ "type": "Identifier", "name": "emit", "range": [ - 5741, - 5745 + 5604, + 5608 ], "loc": { "start": { - "line": 207, + "line": 201, "column": 21 }, "end": { - "line": 207, + "line": 201, "column": 25 } } }, "range": [ - 5728, - 5745 + 5591, + 5608 ], "loc": { "start": { - "line": 207, + "line": 201, "column": 8 }, "end": { - "line": 207, + "line": 201, "column": 25 } } @@ -10365,16 +10156,16 @@ "value": "before-populating-filter", "raw": "'before-populating-filter'", "range": [ - 5746, - 5772 + 5609, + 5635 ], "loc": { "start": { - "line": 207, + "line": 201, "column": 26 }, "end": { - "line": 207, + "line": 201, "column": 52 } } @@ -10383,16 +10174,16 @@ "type": "Identifier", "name": "tf", "range": [ - 5774, - 5776 + 5637, + 5639 ], "loc": { "start": { - "line": 207, + "line": 201, "column": 54 }, "end": { - "line": 207, + "line": 201, "column": 56 } } @@ -10401,47 +10192,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5778, - 5786 + 5641, + 5649 ], "loc": { "start": { - "line": 207, + "line": 201, "column": 58 }, "end": { - "line": 207, + "line": 201, "column": 66 } } } ], "range": [ - 5728, - 5787 + 5591, + 5650 ], "loc": { "start": { - "line": 207, + "line": 201, "column": 8 }, "end": { - "line": 207, + "line": 201, "column": 67 } } }, "range": [ - 5728, - 5788 + 5591, + 5651 ], "loc": { "start": { - "line": 207, + "line": 201, "column": 8 }, "end": { - "line": 207, + "line": 201, "column": 68 } } @@ -10457,16 +10248,16 @@ "object": { "type": "ThisExpression", "range": [ - 5798, - 5802 + 5661, + 5665 ], "loc": { "start": { - "line": 209, + "line": 203, "column": 8 }, "end": { - "line": 209, + "line": 203, "column": 12 } } @@ -10475,31 +10266,31 @@ "type": "Identifier", "name": "opts", "range": [ - 5803, - 5807 + 5666, + 5670 ], "loc": { "start": { - "line": 209, + "line": 203, "column": 13 }, "end": { - "line": 209, + "line": 203, "column": 17 } } }, "range": [ - 5798, - 5807 + 5661, + 5670 ], "loc": { "start": { - "line": 209, + "line": 203, "column": 8 }, "end": { - "line": 209, + "line": 203, "column": 17 } } @@ -10508,46 +10299,46 @@ "type": "ArrayExpression", "elements": [], "range": [ - 5810, - 5812 + 5673, + 5675 ], "loc": { "start": { - "line": 209, + "line": 203, "column": 20 }, "end": { - "line": 209, + "line": 203, "column": 22 } } }, "range": [ - 5798, - 5812 + 5661, + 5675 ], "loc": { "start": { - "line": 209, + "line": 203, "column": 8 }, "end": { - "line": 209, + "line": 203, "column": 22 } } }, "range": [ - 5798, - 5813 + 5661, + 5676 ], "loc": { "start": { - "line": 209, + "line": 203, "column": 8 }, "end": { - "line": 209, + "line": 203, "column": 23 } } @@ -10563,16 +10354,16 @@ "object": { "type": "ThisExpression", "range": [ - 5822, - 5826 + 5685, + 5689 ], "loc": { "start": { - "line": 210, + "line": 204, "column": 8 }, "end": { - "line": 210, + "line": 204, "column": 12 } } @@ -10581,31 +10372,31 @@ "type": "Identifier", "name": "optsTxt", "range": [ - 5827, - 5834 + 5690, + 5697 ], "loc": { "start": { - "line": 210, + "line": 204, "column": 13 }, "end": { - "line": 210, + "line": 204, "column": 20 } } }, "range": [ - 5822, - 5834 + 5685, + 5697 ], "loc": { "start": { - "line": 210, + "line": 204, "column": 8 }, "end": { - "line": 210, + "line": 204, "column": 20 } } @@ -10614,46 +10405,46 @@ "type": "ArrayExpression", "elements": [], "range": [ - 5837, - 5839 + 5700, + 5702 ], "loc": { "start": { - "line": 210, + "line": 204, "column": 23 }, "end": { - "line": 210, + "line": 204, "column": 25 } } }, "range": [ - 5822, - 5839 + 5685, + 5702 ], "loc": { "start": { - "line": 210, + "line": 204, "column": 8 }, "end": { - "line": 210, + "line": 204, "column": 25 } } }, "range": [ - 5822, - 5840 + 5685, + 5703 ], "loc": { "start": { - "line": 210, + "line": 204, "column": 8 }, "end": { - "line": 210, + "line": 204, "column": 26 } } @@ -10667,16 +10458,16 @@ "type": "Identifier", "name": "flt", "range": [ - 5854, - 5857 + 5717, + 5720 ], "loc": { "start": { - "line": 212, + "line": 206, "column": 12 }, "end": { - "line": 212, + "line": 206, "column": 15 } } @@ -10690,16 +10481,16 @@ "object": { "type": "ThisExpression", "range": [ - 5860, - 5864 + 5723, + 5727 ], "loc": { "start": { - "line": 212, + "line": 206, "column": 18 }, "end": { - "line": 212, + "line": 206, "column": 22 } } @@ -10708,31 +10499,31 @@ "type": "Identifier", "name": "containers", "range": [ - 5865, - 5875 + 5728, + 5738 ], "loc": { "start": { - "line": 212, + "line": 206, "column": 23 }, "end": { - "line": 212, + "line": 206, "column": 33 } } }, "range": [ - 5860, - 5875 + 5723, + 5738 ], "loc": { "start": { - "line": 212, + "line": 206, "column": 18 }, "end": { - "line": 212, + "line": 206, "column": 33 } } @@ -10741,46 +10532,46 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5876, - 5884 + 5739, + 5747 ], "loc": { "start": { - "line": 212, + "line": 206, "column": 34 }, "end": { - "line": 212, + "line": 206, "column": 42 } } }, "range": [ - 5860, - 5885 + 5723, + 5748 ], "loc": { "start": { - "line": 212, + "line": 206, "column": 18 }, "end": { - "line": 212, + "line": 206, "column": 43 } } }, "range": [ - 5854, - 5885 + 5717, + 5748 ], "loc": { "start": { - "line": 212, + "line": 206, "column": 12 }, "end": { - "line": 212, + "line": 206, "column": 43 } } @@ -10788,16 +10579,16 @@ ], "kind": "let", "range": [ - 5850, - 5886 + 5713, + 5749 ], "loc": { "start": { - "line": 212, + "line": 206, "column": 8 }, "end": { - "line": 212, + "line": 206, "column": 44 } } @@ -10811,16 +10602,16 @@ "type": "Identifier", "name": "ul", "range": [ - 5899, - 5901 + 5762, + 5764 ], "loc": { "start": { - "line": 213, + "line": 207, "column": 12 }, "end": { - "line": 213, + "line": 207, "column": 14 } } @@ -10831,16 +10622,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 5904, - 5913 + 5767, + 5776 ], "loc": { "start": { - "line": 213, + "line": 207, "column": 17 }, "end": { - "line": 213, + "line": 207, "column": 26 } } @@ -10851,16 +10642,16 @@ "value": "ul", "raw": "'ul'", "range": [ - 5914, - 5918 + 5777, + 5781 ], "loc": { "start": { - "line": 213, + "line": 207, "column": 27 }, "end": { - "line": 213, + "line": 207, "column": 31 } } @@ -10873,16 +10664,16 @@ "value": "id", "raw": "'id'", "range": [ - 5921, - 5925 + 5784, + 5788 ], "loc": { "start": { - "line": 213, + "line": 207, "column": 34 }, "end": { - "line": 213, + "line": 207, "column": 38 } } @@ -10897,16 +10688,16 @@ "type": "Identifier", "name": "tf", "range": [ - 5927, - 5929 + 5790, + 5792 ], "loc": { "start": { - "line": 213, + "line": 207, "column": 40 }, "end": { - "line": 213, + "line": 207, "column": 42 } } @@ -10915,31 +10706,31 @@ "type": "Identifier", "name": "fltIds", "range": [ - 5930, - 5936 + 5793, + 5799 ], "loc": { "start": { - "line": 213, + "line": 207, "column": 43 }, "end": { - "line": 213, + "line": 207, "column": 49 } } }, "range": [ - 5927, - 5936 + 5790, + 5799 ], "loc": { "start": { - "line": 213, + "line": 207, "column": 40 }, "end": { - "line": 213, + "line": 207, "column": 49 } } @@ -10948,47 +10739,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5937, - 5945 + 5800, + 5808 ], "loc": { "start": { - "line": 213, + "line": 207, "column": 50 }, "end": { - "line": 213, + "line": 207, "column": 58 } } }, "range": [ - 5927, - 5946 + 5790, + 5809 ], "loc": { "start": { - "line": 213, + "line": 207, "column": 40 }, "end": { - "line": 213, + "line": 207, "column": 59 } } } ], "range": [ - 5920, - 5947 + 5783, + 5810 ], "loc": { "start": { - "line": 213, + "line": 207, "column": 33 }, "end": { - "line": 213, + "line": 207, "column": 60 } } @@ -11001,16 +10792,16 @@ "value": "colIndex", "raw": "'colIndex'", "range": [ - 5962, - 5972 + 5825, + 5835 ], "loc": { "start": { - "line": 214, + "line": 208, "column": 13 }, "end": { - "line": 214, + "line": 208, "column": 23 } } @@ -11019,63 +10810,63 @@ "type": "Identifier", "name": "colIndex", "range": [ - 5974, - 5982 + 5837, + 5845 ], "loc": { "start": { - "line": 214, + "line": 208, "column": 25 }, "end": { - "line": 214, + "line": 208, "column": 33 } } } ], "range": [ - 5961, - 5983 + 5824, + 5846 ], "loc": { "start": { - "line": 214, + "line": 208, "column": 12 }, "end": { - "line": 214, + "line": 208, "column": 34 } } } ], "range": [ - 5904, - 5984 + 5767, + 5847 ], "loc": { "start": { - "line": 213, + "line": 207, "column": 17 }, "end": { - "line": 214, + "line": 208, "column": 35 } } }, "range": [ - 5899, - 5984 + 5762, + 5847 ], "loc": { "start": { - "line": 213, + "line": 207, "column": 12 }, "end": { - "line": 214, + "line": 208, "column": 35 } } @@ -11083,16 +10874,16 @@ ], "kind": "let", "range": [ - 5895, - 5985 + 5758, + 5848 ], "loc": { "start": { - "line": 213, + "line": 207, "column": 8 }, "end": { - "line": 214, + "line": 208, "column": 36 } } @@ -11109,16 +10900,16 @@ "type": "Identifier", "name": "ul", "range": [ - 5994, - 5996 + 5857, + 5859 ], "loc": { "start": { - "line": 215, + "line": 209, "column": 8 }, "end": { - "line": 215, + "line": 209, "column": 10 } } @@ -11127,31 +10918,31 @@ "type": "Identifier", "name": "className", "range": [ - 5997, - 6006 + 5860, + 5869 ], "loc": { "start": { - "line": 215, + "line": 209, "column": 11 }, "end": { - "line": 215, + "line": 209, "column": 20 } } }, "range": [ - 5994, - 6006 + 5857, + 5869 ], "loc": { "start": { - "line": 215, + "line": 209, "column": 8 }, "end": { - "line": 215, + "line": 209, "column": 20 } } @@ -11162,16 +10953,16 @@ "object": { "type": "ThisExpression", "range": [ - 6009, - 6013 + 5872, + 5876 ], "loc": { "start": { - "line": 215, + "line": 209, "column": 23 }, "end": { - "line": 215, + "line": 209, "column": 27 } } @@ -11180,286 +10971,65 @@ "type": "Identifier", "name": "filterCssClass", "range": [ - 6014, - 6028 + 5877, + 5891 ], "loc": { "start": { - "line": 215, + "line": 209, "column": 28 }, "end": { - "line": 215, + "line": 209, "column": 42 } } }, "range": [ - 6009, - 6028 + 5872, + 5891 ], "loc": { "start": { - "line": 215, + "line": 209, "column": 23 }, "end": { - "line": 215, + "line": 209, "column": 42 } } }, "range": [ - 5994, - 6028 + 5857, + 5891 ], "loc": { "start": { - "line": 215, + "line": 209, "column": 8 }, "end": { - "line": 215, + "line": 209, "column": 42 } } }, "range": [ - 5994, - 6029 + 5857, + 5892 ], "loc": { "start": { - "line": 215, + "line": 209, "column": 8 }, "end": { - "line": 215, + "line": 209, "column": 43 } } }, - { - "type": "ExpressionStatement", - "expression": { - "type": "CallExpression", - "callee": { - "type": "Identifier", - "name": "addEvt", - "range": [ - 6038, - 6044 - ], - "loc": { - "start": { - "line": 216, - "column": 8 - }, - "end": { - "line": 216, - "column": 14 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "ul", - "range": [ - 6045, - 6047 - ], - "loc": { - "start": { - "line": 216, - "column": 15 - }, - "end": { - "line": 216, - "column": 17 - } - } - }, - { - "type": "Literal", - "value": "change", - "raw": "'change'", - "range": [ - 6049, - 6057 - ], - "loc": { - "start": { - "line": 216, - "column": 19 - }, - "end": { - "line": 216, - "column": 27 - } - } - }, - { - "type": "ArrowFunctionExpression", - "id": null, - "params": [ - { - "type": "Identifier", - "name": "evt", - "range": [ - 6060, - 6063 - ], - "loc": { - "start": { - "line": 216, - "column": 30 - }, - "end": { - "line": 216, - "column": 33 - } - } - } - ], - "body": { - "type": "CallExpression", - "callee": { - "type": "MemberExpression", - "computed": false, - "object": { - "type": "ThisExpression", - "range": [ - 6068, - 6072 - ], - "loc": { - "start": { - "line": 216, - "column": 38 - }, - "end": { - "line": 216, - "column": 42 - } - } - }, - "property": { - "type": "Identifier", - "name": "onChange", - "range": [ - 6073, - 6081 - ], - "loc": { - "start": { - "line": 216, - "column": 43 - }, - "end": { - "line": 216, - "column": 51 - } - } - }, - "range": [ - 6068, - 6081 - ], - "loc": { - "start": { - "line": 216, - "column": 38 - }, - "end": { - "line": 216, - "column": 51 - } - } - }, - "arguments": [ - { - "type": "Identifier", - "name": "evt", - "range": [ - 6082, - 6085 - ], - "loc": { - "start": { - "line": 216, - "column": 52 - }, - "end": { - "line": 216, - "column": 55 - } - } - } - ], - "range": [ - 6068, - 6086 - ], - "loc": { - "start": { - "line": 216, - "column": 38 - }, - "end": { - "line": 216, - "column": 56 - } - } - }, - "generator": false, - "expression": true, - "range": [ - 6059, - 6086 - ], - "loc": { - "start": { - "line": 216, - "column": 29 - }, - "end": { - "line": 216, - "column": 56 - } - } - } - ], - "range": [ - 6038, - 6087 - ], - "loc": { - "start": { - "line": 216, - "column": 8 - }, - "end": { - "line": 216, - "column": 57 - } - } - }, - "range": [ - 6038, - 6088 - ], - "loc": { - "start": { - "line": 216, - "column": 8 - }, - "end": { - "line": 216, - "column": 58 - } - } - }, { "type": "VariableDeclaration", "declarations": [ @@ -11469,16 +11039,16 @@ "type": "Identifier", "name": "rows", "range": [ - 6102, - 6106 + 5906, + 5910 ], "loc": { "start": { - "line": 218, + "line": 211, "column": 12 }, "end": { - "line": 218, + "line": 211, "column": 16 } } @@ -11493,16 +11063,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6109, - 6111 + 5913, + 5915 ], "loc": { "start": { - "line": 218, + "line": 211, "column": 19 }, "end": { - "line": 218, + "line": 211, "column": 21 } } @@ -11511,31 +11081,31 @@ "type": "Identifier", "name": "tbl", "range": [ - 6112, - 6115 + 5916, + 5919 ], "loc": { "start": { - "line": 218, + "line": 211, "column": 22 }, "end": { - "line": 218, + "line": 211, "column": 25 } } }, "range": [ - 6109, - 6115 + 5913, + 5919 ], "loc": { "start": { - "line": 218, + "line": 211, "column": 19 }, "end": { - "line": 218, + "line": 211, "column": 25 } } @@ -11544,46 +11114,46 @@ "type": "Identifier", "name": "rows", "range": [ - 6116, - 6120 + 5920, + 5924 ], "loc": { "start": { - "line": 218, + "line": 211, "column": 26 }, "end": { - "line": 218, + "line": 211, "column": 30 } } }, "range": [ - 6109, - 6120 + 5913, + 5924 ], "loc": { "start": { - "line": 218, + "line": 211, "column": 19 }, "end": { - "line": 218, + "line": 211, "column": 30 } } }, "range": [ - 6102, - 6120 + 5906, + 5924 ], "loc": { "start": { - "line": 218, + "line": 211, "column": 12 }, "end": { - "line": 218, + "line": 211, "column": 30 } } @@ -11591,16 +11161,16 @@ ], "kind": "let", "range": [ - 6098, - 6121 + 5902, + 5925 ], "loc": { "start": { - "line": 218, + "line": 211, "column": 8 }, "end": { - "line": 218, + "line": 211, "column": 31 } } @@ -11614,16 +11184,16 @@ "type": "Identifier", "name": "nbRows", "range": [ - 6134, - 6140 + 5938, + 5944 ], "loc": { "start": { - "line": 219, + "line": 212, "column": 12 }, "end": { - "line": 219, + "line": 212, "column": 18 } } @@ -11637,16 +11207,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6143, - 6145 + 5947, + 5949 ], "loc": { "start": { - "line": 219, + "line": 212, "column": 21 }, "end": { - "line": 219, + "line": 212, "column": 23 } } @@ -11655,31 +11225,31 @@ "type": "Identifier", "name": "getRowsNb", "range": [ - 6146, - 6155 + 5950, + 5959 ], "loc": { "start": { - "line": 219, + "line": 212, "column": 24 }, "end": { - "line": 219, + "line": 212, "column": 33 } } }, "range": [ - 6143, - 6155 + 5947, + 5959 ], "loc": { "start": { - "line": 219, + "line": 212, "column": 21 }, "end": { - "line": 219, + "line": 212, "column": 33 } } @@ -11690,47 +11260,47 @@ "value": true, "raw": "true", "range": [ - 6156, - 6160 + 5960, + 5964 ], "loc": { "start": { - "line": 219, + "line": 212, "column": 34 }, "end": { - "line": 219, + "line": 212, "column": 38 } } } ], "range": [ - 6143, - 6161 + 5947, + 5965 ], "loc": { "start": { - "line": 219, + "line": 212, "column": 21 }, "end": { - "line": 219, + "line": 212, "column": 39 } } }, "range": [ - 6134, - 6161 + 5938, + 5965 ], "loc": { "start": { - "line": 219, + "line": 212, "column": 12 }, "end": { - "line": 219, + "line": 212, "column": 39 } } @@ -11738,16 +11308,16 @@ ], "kind": "let", "range": [ - 6130, - 6162 + 5934, + 5966 ], "loc": { "start": { - "line": 219, + "line": 212, "column": 8 }, "end": { - "line": 219, + "line": 212, "column": 40 } } @@ -11761,16 +11331,16 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 6175, - 6188 + 5979, + 5992 ], "loc": { "start": { - "line": 220, + "line": 213, "column": 12 }, "end": { - "line": 220, + "line": 213, "column": 25 } } @@ -11782,16 +11352,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6191, - 6193 + 5995, + 5997 ], "loc": { "start": { - "line": 220, + "line": 213, "column": 28 }, "end": { - "line": 220, + "line": 213, "column": 30 } } @@ -11800,46 +11370,46 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 6194, - 6207 + 5998, + 6011 ], "loc": { "start": { - "line": 220, + "line": 213, "column": 31 }, "end": { - "line": 220, + "line": 213, "column": 44 } } }, "range": [ - 6191, - 6207 + 5995, + 6011 ], "loc": { "start": { - "line": 220, + "line": 213, "column": 28 }, "end": { - "line": 220, + "line": 213, "column": 44 } } }, "range": [ - 6175, - 6207 + 5979, + 6011 ], "loc": { "start": { - "line": 220, + "line": 213, "column": 12 }, "end": { - "line": 220, + "line": 213, "column": 44 } } @@ -11847,16 +11417,16 @@ ], "kind": "let", "range": [ - 6171, - 6208 + 5975, + 6012 ], "loc": { "start": { - "line": 220, + "line": 213, "column": 8 }, "end": { - "line": 220, + "line": 213, "column": 45 } } @@ -11872,16 +11442,16 @@ "object": { "type": "ThisExpression", "range": [ - 6217, - 6221 + 6021, + 6025 ], "loc": { "start": { - "line": 221, + "line": 214, "column": 8 }, "end": { - "line": 221, + "line": 214, "column": 12 } } @@ -11890,31 +11460,31 @@ "type": "Identifier", "name": "isCustom", "range": [ - 6222, - 6230 + 6026, + 6034 ], "loc": { "start": { - "line": 221, + "line": 214, "column": 13 }, "end": { - "line": 221, + "line": 214, "column": 21 } } }, "range": [ - 6217, - 6230 + 6021, + 6034 ], "loc": { "start": { - "line": 221, + "line": 214, "column": 8 }, "end": { - "line": 221, + "line": 214, "column": 21 } } @@ -11928,16 +11498,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6233, - 6235 + 6037, + 6039 ], "loc": { "start": { - "line": 221, + "line": 214, "column": 24 }, "end": { - "line": 221, + "line": 214, "column": 26 } } @@ -11946,31 +11516,31 @@ "type": "Identifier", "name": "isCustomOptions", "range": [ - 6236, - 6251 + 6040, + 6055 ], "loc": { "start": { - "line": 221, + "line": 214, "column": 27 }, "end": { - "line": 221, + "line": 214, "column": 42 } } }, "range": [ - 6233, - 6251 + 6037, + 6055 ], "loc": { "start": { - "line": 221, + "line": 214, "column": 24 }, "end": { - "line": 221, + "line": 214, "column": 42 } } @@ -11980,62 +11550,62 @@ "type": "Identifier", "name": "colIndex", "range": [ - 6252, - 6260 + 6056, + 6064 ], "loc": { "start": { - "line": 221, + "line": 214, "column": 43 }, "end": { - "line": 221, + "line": 214, "column": 51 } } } ], "range": [ - 6233, - 6261 + 6037, + 6065 ], "loc": { "start": { - "line": 221, + "line": 214, "column": 24 }, "end": { - "line": 221, + "line": 214, "column": 52 } } }, "range": [ - 6217, - 6261 + 6021, + 6065 ], "loc": { "start": { - "line": 221, + "line": 214, "column": 8 }, "end": { - "line": 221, + "line": 214, "column": 52 } } }, "range": [ - 6217, - 6262 + 6021, + 6066 ], "loc": { "start": { - "line": 221, + "line": 214, "column": 8 }, "end": { - "line": 221, + "line": 214, "column": 53 } } @@ -12049,32 +11619,32 @@ "type": "Identifier", "name": "activeIdx", "range": [ - 6276, - 6285 + 6080, + 6089 ], "loc": { "start": { - "line": 223, + "line": 216, "column": 12 }, "end": { - "line": 223, + "line": 216, "column": 21 } } }, "init": null, "range": [ - 6276, - 6285 + 6080, + 6089 ], "loc": { "start": { - "line": 223, + "line": 216, "column": 12 }, "end": { - "line": 223, + "line": 216, "column": 21 } } @@ -12082,16 +11652,16 @@ ], "kind": "let", "range": [ - 6272, - 6286 + 6076, + 6090 ], "loc": { "start": { - "line": 223, + "line": 216, "column": 8 }, "end": { - "line": 223, + "line": 216, "column": 22 } } @@ -12105,16 +11675,16 @@ "type": "Identifier", "name": "activeFilterId", "range": [ - 6299, - 6313 + 6103, + 6117 ], "loc": { "start": { - "line": 224, + "line": 217, "column": 12 }, "end": { - "line": 224, + "line": 217, "column": 26 } } @@ -12128,16 +11698,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6316, - 6318 + 6120, + 6122 ], "loc": { "start": { - "line": 224, + "line": 217, "column": 29 }, "end": { - "line": 224, + "line": 217, "column": 31 } } @@ -12146,62 +11716,62 @@ "type": "Identifier", "name": "getActiveFilterId", "range": [ - 6319, - 6336 + 6123, + 6140 ], "loc": { "start": { - "line": 224, + "line": 217, "column": 32 }, "end": { - "line": 224, + "line": 217, "column": 49 } } }, "range": [ - 6316, - 6336 + 6120, + 6140 ], "loc": { "start": { - "line": 224, + "line": 217, "column": 29 }, "end": { - "line": 224, + "line": 217, "column": 49 } } }, "arguments": [], "range": [ - 6316, - 6338 + 6120, + 6142 ], "loc": { "start": { - "line": 224, + "line": 217, "column": 29 }, "end": { - "line": 224, + "line": 217, "column": 51 } } }, "range": [ - 6299, - 6338 + 6103, + 6142 ], "loc": { "start": { - "line": 224, + "line": 217, "column": 12 }, "end": { - "line": 224, + "line": 217, "column": 51 } } @@ -12209,16 +11779,16 @@ ], "kind": "let", "range": [ - 6295, - 6339 + 6099, + 6143 ], "loc": { "start": { - "line": 224, + "line": 217, "column": 8 }, "end": { - "line": 224, + "line": 217, "column": 52 } } @@ -12235,16 +11805,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6352, - 6354 + 6156, + 6158 ], "loc": { "start": { - "line": 225, + "line": 218, "column": 12 }, "end": { - "line": 225, + "line": 218, "column": 14 } } @@ -12253,31 +11823,31 @@ "type": "Identifier", "name": "linkedFilters", "range": [ - 6355, - 6368 + 6159, + 6172 ], "loc": { "start": { - "line": 225, + "line": 218, "column": 15 }, "end": { - "line": 225, + "line": 218, "column": 28 } } }, "range": [ - 6352, - 6368 + 6156, + 6172 ], "loc": { "start": { - "line": 225, + "line": 218, "column": 12 }, "end": { - "line": 225, + "line": 218, "column": 28 } } @@ -12286,31 +11856,31 @@ "type": "Identifier", "name": "activeFilterId", "range": [ - 6372, - 6386 + 6176, + 6190 ], "loc": { "start": { - "line": 225, + "line": 218, "column": 32 }, "end": { - "line": 225, + "line": 218, "column": 46 } } }, "range": [ - 6352, - 6386 + 6156, + 6190 ], "loc": { "start": { - "line": 225, + "line": 218, "column": 12 }, "end": { - "line": 225, + "line": 218, "column": 46 } } @@ -12327,16 +11897,16 @@ "type": "Identifier", "name": "activeIdx", "range": [ - 6402, - 6411 + 6206, + 6215 ], "loc": { "start": { - "line": 226, + "line": 219, "column": 12 }, "end": { - "line": 226, + "line": 219, "column": 21 } } @@ -12350,16 +11920,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6414, - 6416 + 6218, + 6220 ], "loc": { "start": { - "line": 226, + "line": 219, "column": 24 }, "end": { - "line": 226, + "line": 219, "column": 26 } } @@ -12368,31 +11938,31 @@ "type": "Identifier", "name": "getColumnIndexFromFilterId", "range": [ - 6417, - 6443 + 6221, + 6247 ], "loc": { "start": { - "line": 226, + "line": 219, "column": 27 }, "end": { - "line": 226, + "line": 219, "column": 53 } } }, "range": [ - 6414, - 6443 + 6218, + 6247 ], "loc": { "start": { - "line": 226, + "line": 219, "column": 24 }, "end": { - "line": 226, + "line": 219, "column": 53 } } @@ -12402,94 +11972,94 @@ "type": "Identifier", "name": "activeFilterId", "range": [ - 6444, - 6458 + 6248, + 6262 ], "loc": { "start": { - "line": 226, + "line": 219, "column": 54 }, "end": { - "line": 226, + "line": 219, "column": 68 } } } ], "range": [ - 6414, - 6459 + 6218, + 6263 ], "loc": { "start": { - "line": 226, + "line": 219, "column": 24 }, "end": { - "line": 226, + "line": 219, "column": 69 } } }, "range": [ - 6402, - 6459 + 6206, + 6263 ], "loc": { "start": { - "line": 226, + "line": 219, "column": 12 }, "end": { - "line": 226, + "line": 219, "column": 69 } } }, "range": [ - 6402, - 6460 + 6206, + 6264 ], "loc": { "start": { - "line": 226, + "line": 219, "column": 12 }, "end": { - "line": 226, + "line": 219, "column": 70 } } } ], "range": [ - 6388, - 6470 + 6192, + 6274 ], "loc": { "start": { - "line": 225, + "line": 218, "column": 48 }, "end": { - "line": 227, + "line": 220, "column": 9 } } }, "alternate": null, "range": [ - 6348, - 6470 + 6152, + 6274 ], "loc": { "start": { - "line": 225, + "line": 218, "column": 8 }, "end": { - "line": 227, + "line": 220, "column": 9 } } @@ -12503,16 +12073,16 @@ "type": "Identifier", "name": "filteredDataCol", "range": [ - 6484, - 6499 + 6288, + 6303 ], "loc": { "start": { - "line": 229, + "line": 222, "column": 12 }, "end": { - "line": 229, + "line": 222, "column": 27 } } @@ -12521,31 +12091,31 @@ "type": "ArrayExpression", "elements": [], "range": [ - 6502, - 6504 + 6306, + 6308 ], "loc": { "start": { - "line": 229, + "line": 222, "column": 30 }, "end": { - "line": 229, + "line": 222, "column": 32 } } }, "range": [ - 6484, - 6504 + 6288, + 6308 ], "loc": { "start": { - "line": 229, + "line": 222, "column": 12 }, "end": { - "line": 229, + "line": 222, "column": 32 } } @@ -12553,16 +12123,16 @@ ], "kind": "let", "range": [ - 6480, - 6505 + 6284, + 6309 ], "loc": { "start": { - "line": 229, + "line": 222, "column": 8 }, "end": { - "line": 229, + "line": 222, "column": 33 } } @@ -12579,16 +12149,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6518, - 6520 + 6322, + 6324 ], "loc": { "start": { - "line": 230, + "line": 223, "column": 12 }, "end": { - "line": 230, + "line": 223, "column": 14 } } @@ -12597,31 +12167,31 @@ "type": "Identifier", "name": "linkedFilters", "range": [ - 6521, - 6534 + 6325, + 6338 ], "loc": { "start": { - "line": 230, + "line": 223, "column": 15 }, "end": { - "line": 230, + "line": 223, "column": 28 } } }, "range": [ - 6518, - 6534 + 6322, + 6338 ], "loc": { "start": { - "line": 230, + "line": 223, "column": 12 }, "end": { - "line": 230, + "line": 223, "column": 28 } } @@ -12633,16 +12203,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6538, - 6540 + 6342, + 6344 ], "loc": { "start": { - "line": 230, + "line": 223, "column": 32 }, "end": { - "line": 230, + "line": 223, "column": 34 } } @@ -12651,46 +12221,46 @@ "type": "Identifier", "name": "disableExcludedOptions", "range": [ - 6541, - 6563 + 6345, + 6367 ], "loc": { "start": { - "line": 230, + "line": 223, "column": 35 }, "end": { - "line": 230, + "line": 223, "column": 57 } } }, "range": [ - 6538, - 6563 + 6342, + 6367 ], "loc": { "start": { - "line": 230, + "line": 223, "column": 32 }, "end": { - "line": 230, + "line": 223, "column": 57 } } }, "range": [ - 6518, - 6563 + 6322, + 6367 ], "loc": { "start": { - "line": 230, + "line": 223, "column": 12 }, "end": { - "line": 230, + "line": 223, "column": 57 } } @@ -12709,16 +12279,16 @@ "object": { "type": "ThisExpression", "range": [ - 6579, - 6583 + 6383, + 6387 ], "loc": { "start": { - "line": 231, + "line": 224, "column": 12 }, "end": { - "line": 231, + "line": 224, "column": 16 } } @@ -12727,31 +12297,31 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 6584, - 6596 + 6388, + 6400 ], "loc": { "start": { - "line": 231, + "line": 224, "column": 17 }, "end": { - "line": 231, + "line": 224, "column": 29 } } }, "range": [ - 6579, - 6596 + 6383, + 6400 ], "loc": { "start": { - "line": 231, + "line": 224, "column": 12 }, "end": { - "line": 231, + "line": 224, "column": 29 } } @@ -12760,78 +12330,78 @@ "type": "ArrayExpression", "elements": [], "range": [ - 6599, - 6601 + 6403, + 6405 ], "loc": { "start": { - "line": 231, + "line": 224, "column": 32 }, "end": { - "line": 231, + "line": 224, "column": 34 } } }, "range": [ - 6579, - 6601 + 6383, + 6405 ], "loc": { "start": { - "line": 231, + "line": 224, "column": 12 }, "end": { - "line": 231, + "line": 224, "column": 34 } } }, "range": [ - 6579, - 6602 + 6383, + 6406 ], "loc": { "start": { - "line": 231, + "line": 224, "column": 12 }, "end": { - "line": 231, + "line": 224, "column": 35 } } } ], "range": [ - 6565, - 6612 + 6369, + 6416 ], "loc": { "start": { - "line": 230, + "line": 223, "column": 59 }, "end": { - "line": 232, + "line": 225, "column": 9 } } }, "alternate": null, "range": [ - 6514, - 6612 + 6318, + 6416 ], "loc": { "start": { - "line": 230, + "line": 223, "column": 8 }, "end": { - "line": 232, + "line": 225, "column": 9 } } @@ -12848,16 +12418,16 @@ "type": "Identifier", "name": "flt", "range": [ - 6622, - 6625 + 6426, + 6429 ], "loc": { "start": { - "line": 234, + "line": 227, "column": 8 }, "end": { - "line": 234, + "line": 227, "column": 11 } } @@ -12866,31 +12436,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 6626, - 6635 + 6430, + 6439 ], "loc": { "start": { - "line": 234, + "line": 227, "column": 12 }, "end": { - "line": 234, + "line": 227, "column": 21 } } }, "range": [ - 6622, - 6635 + 6426, + 6439 ], "loc": { "start": { - "line": 234, + "line": 227, "column": 8 }, "end": { - "line": 234, + "line": 227, "column": 21 } } @@ -12900,46 +12470,46 @@ "value": "", "raw": "''", "range": [ - 6638, - 6640 + 6442, + 6444 ], "loc": { "start": { - "line": 234, + "line": 227, "column": 24 }, "end": { - "line": 234, + "line": 227, "column": 26 } } }, "range": [ - 6622, - 6640 + 6426, + 6444 ], "loc": { "start": { - "line": 234, + "line": 227, "column": 8 }, "end": { - "line": 234, + "line": 227, "column": 26 } } }, "range": [ - 6622, - 6641 + 6426, + 6445 ], "loc": { "start": { - "line": 234, + "line": 227, "column": 8 }, "end": { - "line": 234, + "line": 227, "column": 27 } } @@ -12955,16 +12525,16 @@ "type": "Identifier", "name": "k", "range": [ - 6660, - 6661 + 6464, + 6465 ], "loc": { "start": { - "line": 236, + "line": 229, "column": 17 }, "end": { - "line": 236, + "line": 229, "column": 18 } } @@ -12976,16 +12546,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6664, - 6666 + 6468, + 6470 ], "loc": { "start": { - "line": 236, + "line": 229, "column": 21 }, "end": { - "line": 236, + "line": 229, "column": 23 } } @@ -12994,46 +12564,46 @@ "type": "Identifier", "name": "refRow", "range": [ - 6667, - 6673 + 6471, + 6477 ], "loc": { "start": { - "line": 236, + "line": 229, "column": 24 }, "end": { - "line": 236, + "line": 229, "column": 30 } } }, "range": [ - 6664, - 6673 + 6468, + 6477 ], "loc": { "start": { - "line": 236, + "line": 229, "column": 21 }, "end": { - "line": 236, + "line": 229, "column": 30 } } }, "range": [ - 6660, - 6673 + 6464, + 6477 ], "loc": { "start": { - "line": 236, + "line": 229, "column": 17 }, "end": { - "line": 236, + "line": 229, "column": 30 } } @@ -13041,16 +12611,16 @@ ], "kind": "let", "range": [ - 6656, - 6673 + 6460, + 6477 ], "loc": { "start": { - "line": 236, + "line": 229, "column": 13 }, "end": { - "line": 236, + "line": 229, "column": 30 } } @@ -13062,16 +12632,16 @@ "type": "Identifier", "name": "k", "range": [ - 6675, - 6676 + 6479, + 6480 ], "loc": { "start": { - "line": 236, + "line": 229, "column": 32 }, "end": { - "line": 236, + "line": 229, "column": 33 } } @@ -13080,31 +12650,31 @@ "type": "Identifier", "name": "nbRows", "range": [ - 6679, - 6685 + 6483, + 6489 ], "loc": { "start": { - "line": 236, + "line": 229, "column": 36 }, "end": { - "line": 236, + "line": 229, "column": 42 } } }, "range": [ - 6675, - 6685 + 6479, + 6489 ], "loc": { "start": { - "line": 236, + "line": 229, "column": 32 }, "end": { - "line": 236, + "line": 229, "column": 42 } } @@ -13116,32 +12686,32 @@ "type": "Identifier", "name": "k", "range": [ - 6687, - 6688 + 6491, + 6492 ], "loc": { "start": { - "line": 236, + "line": 229, "column": 44 }, "end": { - "line": 236, + "line": 229, "column": 45 } } }, "prefix": false, "range": [ - 6687, - 6690 + 6491, + 6494 ], "loc": { "start": { - "line": 236, + "line": 229, "column": 44 }, "end": { - "line": 236, + "line": 229, "column": 47 } } @@ -13161,16 +12731,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6808, - 6810 + 6612, + 6614 ], "loc": { "start": { - "line": 239, + "line": 232, "column": 16 }, "end": { - "line": 239, + "line": 232, "column": 18 } } @@ -13179,31 +12749,31 @@ "type": "Identifier", "name": "hasVisibleRows", "range": [ - 6811, - 6825 + 6615, + 6629 ], "loc": { "start": { - "line": 239, + "line": 232, "column": 19 }, "end": { - "line": 239, + "line": 232, "column": 33 } } }, "range": [ - 6808, - 6825 + 6612, + 6629 ], "loc": { "start": { - "line": 239, + "line": 232, "column": 16 }, "end": { - "line": 239, + "line": 232, "column": 33 } } @@ -13223,16 +12793,16 @@ "type": "Identifier", "name": "tf", "range": [ - 6829, - 6831 + 6633, + 6635 ], "loc": { "start": { - "line": 239, + "line": 232, "column": 37 }, "end": { - "line": 239, + "line": 232, "column": 39 } } @@ -13241,31 +12811,31 @@ "type": "Identifier", "name": "visibleRows", "range": [ - 6832, - 6843 + 6636, + 6647 ], "loc": { "start": { - "line": 239, + "line": 232, "column": 40 }, "end": { - "line": 239, + "line": 232, "column": 51 } } }, "range": [ - 6829, - 6843 + 6633, + 6647 ], "loc": { "start": { - "line": 239, + "line": 232, "column": 37 }, "end": { - "line": 239, + "line": 232, "column": 51 } } @@ -13274,31 +12844,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 6844, - 6851 + 6648, + 6655 ], "loc": { "start": { - "line": 239, + "line": 232, "column": 52 }, "end": { - "line": 239, + "line": 232, "column": 59 } } }, "range": [ - 6829, - 6851 + 6633, + 6655 ], "loc": { "start": { - "line": 239, + "line": 232, "column": 37 }, "end": { - "line": 239, + "line": 232, "column": 59 } } @@ -13308,32 +12878,32 @@ "type": "Identifier", "name": "k", "range": [ - 6852, - 6853 + 6656, + 6657 ], "loc": { "start": { - "line": 239, + "line": 232, "column": 60 }, "end": { - "line": 239, + "line": 232, "column": 61 } } } ], "range": [ - 6829, - 6854 + 6633, + 6658 ], "loc": { "start": { - "line": 239, + "line": 232, "column": 37 }, "end": { - "line": 239, + "line": 232, "column": 62 } } @@ -13346,62 +12916,62 @@ "value": 1, "raw": "1", "range": [ - 6860, - 6861 + 6664, + 6665 ], "loc": { "start": { - "line": 239, + "line": 232, "column": 68 }, "end": { - "line": 239, + "line": 232, "column": 69 } } }, "prefix": true, "range": [ - 6859, - 6861 + 6663, + 6665 ], "loc": { "start": { - "line": 239, + "line": 232, "column": 67 }, "end": { - "line": 239, + "line": 232, "column": 69 } } }, "range": [ - 6829, - 6861 + 6633, + 6665 ], "loc": { "start": { - "line": 239, + "line": 232, "column": 37 }, "end": { - "line": 239, + "line": 232, "column": 69 } } }, "range": [ - 6808, - 6861 + 6612, + 6665 ], "loc": { "start": { - "line": 239, + "line": 232, "column": 16 }, "end": { - "line": 239, + "line": 232, "column": 69 } } @@ -13413,48 +12983,48 @@ "type": "ContinueStatement", "label": null, "range": [ - 6881, - 6890 + 6685, + 6694 ], "loc": { "start": { - "line": 240, + "line": 233, "column": 16 }, "end": { - "line": 240, + "line": 233, "column": 25 } } } ], "range": [ - 6863, - 6904 + 6667, + 6708 ], "loc": { "start": { - "line": 239, + "line": 232, "column": 71 }, "end": { - "line": 241, + "line": 234, "column": 13 } } }, "alternate": null, "range": [ - 6804, - 6904 + 6608, + 6708 ], "loc": { "start": { - "line": 239, + "line": 232, "column": 12 }, "end": { - "line": 241, + "line": 234, "column": 13 } }, @@ -13463,16 +13033,16 @@ "type": "Line", "value": " always visible rows don't need to appear on selects as always", "range": [ - 6706, - 6770 + 6510, + 6574 ], "loc": { "start": { - "line": 237, + "line": 230, "column": 12 }, "end": { - "line": 237, + "line": 230, "column": 76 } } @@ -13481,16 +13051,16 @@ "type": "Line", "value": " valid", "range": [ - 6783, - 6791 + 6587, + 6595 ], "loc": { "start": { - "line": 238, + "line": 231, "column": 12 }, "end": { - "line": 238, + "line": 231, "column": 20 } } @@ -13506,16 +13076,16 @@ "type": "Identifier", "name": "cells", "range": [ - 6922, - 6927 + 6726, + 6731 ], "loc": { "start": { - "line": 243, + "line": 236, "column": 16 }, "end": { - "line": 243, + "line": 236, "column": 21 } } @@ -13530,16 +13100,16 @@ "type": "Identifier", "name": "rows", "range": [ - 6930, - 6934 + 6734, + 6738 ], "loc": { "start": { - "line": 243, + "line": 236, "column": 24 }, "end": { - "line": 243, + "line": 236, "column": 28 } } @@ -13548,31 +13118,31 @@ "type": "Identifier", "name": "k", "range": [ - 6935, - 6936 + 6739, + 6740 ], "loc": { "start": { - "line": 243, + "line": 236, "column": 29 }, "end": { - "line": 243, + "line": 236, "column": 30 } } }, "range": [ - 6930, - 6937 + 6734, + 6741 ], "loc": { "start": { - "line": 243, + "line": 236, "column": 24 }, "end": { - "line": 243, + "line": 236, "column": 31 } } @@ -13581,46 +13151,46 @@ "type": "Identifier", "name": "cells", "range": [ - 6938, - 6943 + 6742, + 6747 ], "loc": { "start": { - "line": 243, + "line": 236, "column": 32 }, "end": { - "line": 243, + "line": 236, "column": 37 } } }, "range": [ - 6930, - 6943 + 6734, + 6747 ], "loc": { "start": { - "line": 243, + "line": 236, "column": 24 }, "end": { - "line": 243, + "line": 236, "column": 37 } } }, "range": [ - 6922, - 6943 + 6726, + 6747 ], "loc": { "start": { - "line": 243, + "line": 236, "column": 16 }, "end": { - "line": 243, + "line": 236, "column": 37 } } @@ -13628,16 +13198,16 @@ ], "kind": "let", "range": [ - 6918, - 6944 + 6722, + 6748 ], "loc": { "start": { - "line": 243, + "line": 236, "column": 12 }, "end": { - "line": 243, + "line": 236, "column": 38 } } @@ -13651,16 +13221,16 @@ "type": "Identifier", "name": "ncells", "range": [ - 6961, - 6967 + 6765, + 6771 ], "loc": { "start": { - "line": 244, + "line": 237, "column": 16 }, "end": { - "line": 244, + "line": 237, "column": 22 } } @@ -13672,16 +13242,16 @@ "type": "Identifier", "name": "cells", "range": [ - 6970, - 6975 + 6774, + 6779 ], "loc": { "start": { - "line": 244, + "line": 237, "column": 25 }, "end": { - "line": 244, + "line": 237, "column": 30 } } @@ -13690,46 +13260,46 @@ "type": "Identifier", "name": "length", "range": [ - 6976, - 6982 + 6780, + 6786 ], "loc": { "start": { - "line": 244, + "line": 237, "column": 31 }, "end": { - "line": 244, + "line": 237, "column": 37 } } }, "range": [ - 6970, - 6982 + 6774, + 6786 ], "loc": { "start": { - "line": 244, + "line": 237, "column": 25 }, "end": { - "line": 244, + "line": 237, "column": 37 } } }, "range": [ - 6961, - 6982 + 6765, + 6786 ], "loc": { "start": { - "line": 244, + "line": 237, "column": 16 }, "end": { - "line": 244, + "line": 237, "column": 37 } } @@ -13737,16 +13307,16 @@ ], "kind": "let", "range": [ - 6957, - 6983 + 6761, + 6787 ], "loc": { "start": { - "line": 244, + "line": 237, "column": 12 }, "end": { - "line": 244, + "line": 237, "column": 38 } }, @@ -13755,16 +13325,16 @@ "type": "Line", "value": " checks if row has exact cell #", "range": [ - 6997, - 7030 + 6801, + 6834 ], "loc": { "start": { - "line": 246, + "line": 239, "column": 12 }, "end": { - "line": 246, + "line": 239, "column": 45 } } @@ -13783,16 +13353,16 @@ "type": "Identifier", "name": "ncells", "range": [ - 7047, - 7053 + 6851, + 6857 ], "loc": { "start": { - "line": 247, + "line": 240, "column": 16 }, "end": { - "line": 247, + "line": 240, "column": 22 } } @@ -13804,16 +13374,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7058, - 7060 + 6862, + 6864 ], "loc": { "start": { - "line": 247, + "line": 240, "column": 27 }, "end": { - "line": 247, + "line": 240, "column": 29 } } @@ -13822,46 +13392,46 @@ "type": "Identifier", "name": "nbCells", "range": [ - 7061, - 7068 + 6865, + 6872 ], "loc": { "start": { - "line": 247, + "line": 240, "column": 30 }, "end": { - "line": 247, + "line": 240, "column": 37 } } }, "range": [ - 7058, - 7068 + 6862, + 6872 ], "loc": { "start": { - "line": 247, + "line": 240, "column": 27 }, "end": { - "line": 247, + "line": 240, "column": 37 } } }, "range": [ - 7047, - 7068 + 6851, + 6872 ], "loc": { "start": { - "line": 247, + "line": 240, "column": 16 }, "end": { - "line": 247, + "line": 240, "column": 37 } } @@ -13872,16 +13442,16 @@ "object": { "type": "ThisExpression", "range": [ - 7072, - 7076 + 6876, + 6880 ], "loc": { "start": { - "line": 247, + "line": 240, "column": 41 }, "end": { - "line": 247, + "line": 240, "column": 45 } } @@ -13890,46 +13460,46 @@ "type": "Identifier", "name": "isCustom", "range": [ - 7077, - 7085 + 6881, + 6889 ], "loc": { "start": { - "line": 247, + "line": 240, "column": 46 }, "end": { - "line": 247, + "line": 240, "column": 54 } } }, "range": [ - 7072, - 7085 + 6876, + 6889 ], "loc": { "start": { - "line": 247, + "line": 240, "column": 41 }, "end": { - "line": 247, + "line": 240, "column": 54 } } }, "range": [ - 7047, - 7085 + 6851, + 6889 ], "loc": { "start": { - "line": 247, + "line": 240, "column": 16 }, "end": { - "line": 247, + "line": 240, "column": 54 } } @@ -13941,48 +13511,48 @@ "type": "ContinueStatement", "label": null, "range": [ - 7105, - 7114 + 6909, + 6918 ], "loc": { "start": { - "line": 248, + "line": 241, "column": 16 }, "end": { - "line": 248, + "line": 241, "column": 25 } } } ], "range": [ - 7087, - 7128 + 6891, + 6932 ], "loc": { "start": { - "line": 247, + "line": 240, "column": 56 }, "end": { - "line": 249, + "line": 242, "column": 13 } } }, "alternate": null, "range": [ - 7043, - 7128 + 6847, + 6932 ], "loc": { "start": { - "line": 247, + "line": 240, "column": 12 }, "end": { - "line": 249, + "line": 242, "column": 13 } }, @@ -13991,16 +13561,16 @@ "type": "Line", "value": " checks if row has exact cell #", "range": [ - 6997, - 7030 + 6801, + 6834 ], "loc": { "start": { - "line": 246, + "line": 239, "column": 12 }, "end": { - "line": 246, + "line": 239, "column": 45 } } @@ -14011,16 +13581,16 @@ "type": "Line", "value": " this loop retrieves cell data", "range": [ - 7142, - 7174 + 6946, + 6978 ], "loc": { "start": { - "line": 251, + "line": 244, "column": 12 }, "end": { - "line": 251, + "line": 244, "column": 44 } } @@ -14038,16 +13608,16 @@ "type": "Identifier", "name": "j", "range": [ - 7196, - 7197 + 7000, + 7001 ], "loc": { "start": { - "line": 252, + "line": 245, "column": 21 }, "end": { - "line": 252, + "line": 245, "column": 22 } } @@ -14057,31 +13627,31 @@ "value": 0, "raw": "0", "range": [ - 7200, - 7201 + 7004, + 7005 ], "loc": { "start": { - "line": 252, + "line": 245, "column": 25 }, "end": { - "line": 252, + "line": 245, "column": 26 } } }, "range": [ - 7196, - 7201 + 7000, + 7005 ], "loc": { "start": { - "line": 252, + "line": 245, "column": 21 }, "end": { - "line": 252, + "line": 245, "column": 26 } } @@ -14089,16 +13659,16 @@ ], "kind": "let", "range": [ - 7192, - 7201 + 6996, + 7005 ], "loc": { "start": { - "line": 252, + "line": 245, "column": 17 }, "end": { - "line": 252, + "line": 245, "column": 26 } } @@ -14110,16 +13680,16 @@ "type": "Identifier", "name": "j", "range": [ - 7203, - 7204 + 7007, + 7008 ], "loc": { "start": { - "line": 252, + "line": 245, "column": 28 }, "end": { - "line": 252, + "line": 245, "column": 29 } } @@ -14128,31 +13698,31 @@ "type": "Identifier", "name": "ncells", "range": [ - 7207, - 7213 + 7011, + 7017 ], "loc": { "start": { - "line": 252, + "line": 245, "column": 32 }, "end": { - "line": 252, + "line": 245, "column": 38 } } }, "range": [ - 7203, - 7213 + 7007, + 7017 ], "loc": { "start": { - "line": 252, + "line": 245, "column": 28 }, "end": { - "line": 252, + "line": 245, "column": 38 } } @@ -14164,32 +13734,32 @@ "type": "Identifier", "name": "j", "range": [ - 7215, - 7216 + 7019, + 7020 ], "loc": { "start": { - "line": 252, + "line": 245, "column": 40 }, "end": { - "line": 252, + "line": 245, "column": 41 } } }, "prefix": false, "range": [ - 7215, - 7218 + 7019, + 7022 ], "loc": { "start": { - "line": 252, + "line": 245, "column": 40 }, "end": { - "line": 252, + "line": 245, "column": 43 } } @@ -14212,16 +13782,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 7297, - 7305 + 7101, + 7109 ], "loc": { "start": { - "line": 254, + "line": 247, "column": 21 }, "end": { - "line": 254, + "line": 247, "column": 29 } } @@ -14230,31 +13800,31 @@ "type": "Identifier", "name": "j", "range": [ - 7310, - 7311 + 7114, + 7115 ], "loc": { "start": { - "line": 254, + "line": 247, "column": 34 }, "end": { - "line": 254, + "line": 247, "column": 35 } } }, "range": [ - 7297, - 7311 + 7101, + 7115 ], "loc": { "start": { - "line": 254, + "line": 247, "column": 21 }, "end": { - "line": 254, + "line": 247, "column": 35 } } @@ -14272,16 +13842,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7317, - 7319 + 7121, + 7123 ], "loc": { "start": { - "line": 254, + "line": 247, "column": 41 }, "end": { - "line": 254, + "line": 247, "column": 43 } } @@ -14290,47 +13860,47 @@ "type": "Identifier", "name": "linkedFilters", "range": [ - 7320, - 7333 + 7124, + 7137 ], "loc": { "start": { - "line": 254, + "line": 247, "column": 44 }, "end": { - "line": 254, + "line": 247, "column": 57 } } }, "range": [ - 7317, - 7333 + 7121, + 7137 ], "loc": { "start": { - "line": 254, + "line": 247, "column": 41 }, "end": { - "line": 254, + "line": 247, "column": 57 } } }, "prefix": true, "range": [ - 7316, - 7333 + 7120, + 7137 ], "loc": { "start": { - "line": 254, + "line": 247, "column": 40 }, "end": { - "line": 254, + "line": 247, "column": 57 } } @@ -14345,16 +13915,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7358, - 7360 + 7162, + 7164 ], "loc": { "start": { - "line": 255, + "line": 248, "column": 21 }, "end": { - "line": 255, + "line": 248, "column": 23 } } @@ -14363,31 +13933,31 @@ "type": "Identifier", "name": "linkedFilters", "range": [ - 7361, - 7374 + 7165, + 7178 ], "loc": { "start": { - "line": 255, + "line": 248, "column": 24 }, "end": { - "line": 255, + "line": 248, "column": 37 } } }, "range": [ - 7358, - 7374 + 7162, + 7178 ], "loc": { "start": { - "line": 255, + "line": 248, "column": 21 }, "end": { - "line": 255, + "line": 248, "column": 37 } } @@ -14399,16 +13969,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7378, - 7380 + 7182, + 7184 ], "loc": { "start": { - "line": 255, + "line": 248, "column": 41 }, "end": { - "line": 255, + "line": 248, "column": 43 } } @@ -14417,76 +13987,76 @@ "type": "Identifier", "name": "disableExcludedOptions", "range": [ - 7381, - 7403 + 7185, + 7207 ], "loc": { "start": { - "line": 255, + "line": 248, "column": 44 }, "end": { - "line": 255, + "line": 248, "column": 66 } } }, "range": [ - 7378, - 7403 + 7182, + 7207 ], "loc": { "start": { - "line": 255, + "line": 248, "column": 41 }, "end": { - "line": 255, + "line": 248, "column": 66 } } }, "range": [ - 7358, - 7403 + 7162, + 7207 ], "loc": { "start": { - "line": 255, + "line": 248, "column": 21 }, "end": { - "line": 255, + "line": 248, "column": 66 } } }, "range": [ - 7316, - 7404 + 7120, + 7208 ], "loc": { "start": { - "line": 254, + "line": 247, "column": 40 }, "end": { - "line": 255, + "line": 248, "column": 67 } } }, "range": [ - 7297, - 7405 + 7101, + 7209 ], "loc": { "start": { - "line": 254, + "line": 247, "column": 21 }, "end": { - "line": 255, + "line": 248, "column": 68 } } @@ -14504,16 +14074,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 7431, - 7439 + 7235, + 7243 ], "loc": { "start": { - "line": 256, + "line": 249, "column": 21 }, "end": { - "line": 256, + "line": 249, "column": 29 } } @@ -14522,31 +14092,31 @@ "type": "Identifier", "name": "j", "range": [ - 7444, - 7445 + 7248, + 7249 ], "loc": { "start": { - "line": 256, + "line": 249, "column": 34 }, "end": { - "line": 256, + "line": 249, "column": 35 } } }, "range": [ - 7431, - 7445 + 7235, + 7249 ], "loc": { "start": { - "line": 256, + "line": 249, "column": 21 }, "end": { - "line": 256, + "line": 249, "column": 35 } } @@ -14558,16 +14128,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7449, - 7451 + 7253, + 7255 ], "loc": { "start": { - "line": 256, + "line": 249, "column": 39 }, "end": { - "line": 256, + "line": 249, "column": 41 } } @@ -14576,46 +14146,46 @@ "type": "Identifier", "name": "linkedFilters", "range": [ - 7452, - 7465 + 7256, + 7269 ], "loc": { "start": { - "line": 256, + "line": 249, "column": 42 }, "end": { - "line": 256, + "line": 249, "column": 55 } } }, "range": [ - 7449, - 7465 + 7253, + 7269 ], "loc": { "start": { - "line": 256, + "line": 249, "column": 39 }, "end": { - "line": 256, + "line": 249, "column": 55 } } }, "range": [ - 7431, - 7465 + 7235, + 7269 ], "loc": { "start": { - "line": 256, + "line": 249, "column": 21 }, "end": { - "line": 256, + "line": 249, "column": 55 } } @@ -14642,16 +14212,16 @@ "type": "Identifier", "name": "rows", "range": [ - 7495, - 7499 + 7299, + 7303 ], "loc": { "start": { - "line": 257, + "line": 250, "column": 26 }, "end": { - "line": 257, + "line": 250, "column": 30 } } @@ -14660,31 +14230,31 @@ "type": "Identifier", "name": "k", "range": [ - 7500, - 7501 + 7304, + 7305 ], "loc": { "start": { - "line": 257, + "line": 250, "column": 31 }, "end": { - "line": 257, + "line": 250, "column": 32 } } }, "range": [ - 7495, - 7502 + 7299, + 7306 ], "loc": { "start": { - "line": 257, + "line": 250, "column": 26 }, "end": { - "line": 257, + "line": 250, "column": 33 } } @@ -14693,31 +14263,31 @@ "type": "Identifier", "name": "style", "range": [ - 7503, - 7508 + 7307, + 7312 ], "loc": { "start": { - "line": 257, + "line": 250, "column": 34 }, "end": { - "line": 257, + "line": 250, "column": 39 } } }, "range": [ - 7495, - 7508 + 7299, + 7312 ], "loc": { "start": { - "line": 257, + "line": 250, "column": 26 }, "end": { - "line": 257, + "line": 250, "column": 39 } } @@ -14726,31 +14296,31 @@ "type": "Identifier", "name": "display", "range": [ - 7509, - 7516 + 7313, + 7320 ], "loc": { "start": { - "line": 257, + "line": 250, "column": 40 }, "end": { - "line": 257, + "line": 250, "column": 47 } } }, "range": [ - 7495, - 7516 + 7299, + 7320 ], "loc": { "start": { - "line": 257, + "line": 250, "column": 26 }, "end": { - "line": 257, + "line": 250, "column": 47 } } @@ -14760,31 +14330,31 @@ "value": "", "raw": "''", "range": [ - 7521, - 7523 + 7325, + 7327 ], "loc": { "start": { - "line": 257, + "line": 250, "column": 52 }, "end": { - "line": 257, + "line": 250, "column": 54 } } }, "range": [ - 7495, - 7523 + 7299, + 7327 ], "loc": { "start": { - "line": 257, + "line": 250, "column": 26 }, "end": { - "line": 257, + "line": 250, "column": 54 } } @@ -14799,16 +14369,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7528, - 7530 + 7332, + 7334 ], "loc": { "start": { - "line": 257, + "line": 250, "column": 59 }, "end": { - "line": 257, + "line": 250, "column": 61 } } @@ -14817,62 +14387,62 @@ "type": "Identifier", "name": "paging", "range": [ - 7531, - 7537 + 7335, + 7341 ], "loc": { "start": { - "line": 257, + "line": 250, "column": 62 }, "end": { - "line": 257, + "line": 250, "column": 68 } } }, "range": [ - 7528, - 7537 + 7332, + 7341 ], "loc": { "start": { - "line": 257, + "line": 250, "column": 59 }, "end": { - "line": 257, + "line": 250, "column": 68 } } }, "prefix": true, "range": [ - 7527, - 7537 + 7331, + 7341 ], "loc": { "start": { - "line": 257, + "line": 250, "column": 58 }, "end": { - "line": 257, + "line": 250, "column": 68 } } }, "range": [ - 7495, - 7537 + 7299, + 7341 ], "loc": { "start": { - "line": 257, + "line": 250, "column": 26 }, "end": { - "line": 257, + "line": 250, "column": 68 } } @@ -14887,16 +14457,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7571, - 7573 + 7375, + 7377 ], "loc": { "start": { - "line": 258, + "line": 251, "column": 29 }, "end": { - "line": 258, + "line": 251, "column": 31 } } @@ -14905,31 +14475,31 @@ "type": "Identifier", "name": "paging", "range": [ - 7574, - 7580 + 7378, + 7384 ], "loc": { "start": { - "line": 258, + "line": 251, "column": 32 }, "end": { - "line": 258, + "line": 251, "column": 38 } } }, "range": [ - 7571, - 7580 + 7375, + 7384 ], "loc": { "start": { - "line": 258, + "line": 251, "column": 29 }, "end": { - "line": 258, + "line": 251, "column": 38 } } @@ -14947,32 +14517,32 @@ "type": "Identifier", "name": "activeIdx", "range": [ - 7587, - 7596 + 7391, + 7400 ], "loc": { "start": { - "line": 258, + "line": 251, "column": 45 }, "end": { - "line": 258, + "line": 251, "column": 54 } } }, "prefix": true, "range": [ - 7586, - 7596 + 7390, + 7400 ], "loc": { "start": { - "line": 258, + "line": 251, "column": 44 }, "end": { - "line": 258, + "line": 251, "column": 54 } } @@ -14984,16 +14554,16 @@ "type": "Identifier", "name": "activeIdx", "range": [ - 7632, - 7641 + 7436, + 7445 ], "loc": { "start": { - "line": 259, + "line": 252, "column": 32 }, "end": { - "line": 259, + "line": 252, "column": 41 } } @@ -15002,46 +14572,46 @@ "type": "Identifier", "name": "colIndex", "range": [ - 7646, - 7654 + 7450, + 7458 ], "loc": { "start": { - "line": 259, + "line": 252, "column": 46 }, "end": { - "line": 259, + "line": 252, "column": 54 } } }, "range": [ - 7632, - 7654 + 7436, + 7458 ], "loc": { "start": { - "line": 259, + "line": 252, "column": 32 }, "end": { - "line": 259, + "line": 252, "column": 54 } } }, "range": [ - 7586, - 7654 + 7390, + 7458 ], "loc": { "start": { - "line": 258, + "line": 251, "column": 44 }, "end": { - "line": 259, + "line": 252, "column": 54 } } @@ -15056,16 +14626,16 @@ "type": "Identifier", "name": "activeIdx", "range": [ - 7692, - 7701 + 7496, + 7505 ], "loc": { "start": { - "line": 260, + "line": 253, "column": 33 }, "end": { - "line": 260, + "line": 253, "column": 42 } } @@ -15074,31 +14644,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 7706, - 7714 + 7510, + 7518 ], "loc": { "start": { - "line": 260, + "line": 253, "column": 47 }, "end": { - "line": 260, + "line": 253, "column": 55 } } }, "range": [ - 7692, - 7714 + 7496, + 7518 ], "loc": { "start": { - "line": 260, + "line": 253, "column": 33 }, "end": { - "line": 260, + "line": 253, "column": 55 } } @@ -15118,16 +14688,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7754, - 7756 + 7558, + 7560 ], "loc": { "start": { - "line": 261, + "line": 254, "column": 36 }, "end": { - "line": 261, + "line": 254, "column": 38 } } @@ -15136,31 +14706,31 @@ "type": "Identifier", "name": "validRowsIndex", "range": [ - 7757, - 7771 + 7561, + 7575 ], "loc": { "start": { - "line": 261, + "line": 254, "column": 39 }, "end": { - "line": 261, + "line": 254, "column": 53 } } }, "range": [ - 7754, - 7771 + 7558, + 7575 ], "loc": { "start": { - "line": 261, + "line": 254, "column": 36 }, "end": { - "line": 261, + "line": 254, "column": 53 } } @@ -15169,31 +14739,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 7772, - 7779 + 7576, + 7583 ], "loc": { "start": { - "line": 261, + "line": 254, "column": 54 }, "end": { - "line": 261, + "line": 254, "column": 61 } } }, "range": [ - 7754, - 7779 + 7558, + 7583 ], "loc": { "start": { - "line": 261, + "line": 254, "column": 36 }, "end": { - "line": 261, + "line": 254, "column": 61 } } @@ -15203,32 +14773,32 @@ "type": "Identifier", "name": "k", "range": [ - 7780, - 7781 + 7584, + 7585 ], "loc": { "start": { - "line": 261, + "line": 254, "column": 62 }, "end": { - "line": 261, + "line": 254, "column": 63 } } } ], "range": [ - 7754, - 7782 + 7558, + 7586 ], "loc": { "start": { - "line": 261, + "line": 254, "column": 36 }, "end": { - "line": 261, + "line": 254, "column": 64 } } @@ -15241,137 +14811,137 @@ "value": 1, "raw": "1", "range": [ - 7788, - 7789 + 7592, + 7593 ], "loc": { "start": { - "line": 261, + "line": 254, "column": 70 }, "end": { - "line": 261, + "line": 254, "column": 71 } } }, "prefix": true, "range": [ - 7787, - 7789 + 7591, + 7593 ], "loc": { "start": { - "line": 261, + "line": 254, "column": 69 }, "end": { - "line": 261, + "line": 254, "column": 71 } } }, "range": [ - 7754, - 7789 + 7558, + 7593 ], "loc": { "start": { - "line": 261, + "line": 254, "column": 36 }, "end": { - "line": 261, + "line": 254, "column": 71 } } }, "range": [ - 7692, - 7789 + 7496, + 7593 ], "loc": { "start": { - "line": 260, + "line": 253, "column": 33 }, "end": { - "line": 261, + "line": 254, "column": 71 } } }, "range": [ - 7585, - 7790 + 7389, + 7594 ], "loc": { "start": { - "line": 258, + "line": 251, "column": 43 }, "end": { - "line": 261, + "line": 254, "column": 72 } } }, "range": [ - 7571, - 7791 + 7375, + 7595 ], "loc": { "start": { - "line": 258, + "line": 251, "column": 29 }, "end": { - "line": 261, + "line": 254, "column": 73 } } }, "range": [ - 7494, - 7792 + 7298, + 7596 ], "loc": { "start": { - "line": 257, + "line": 250, "column": 25 }, "end": { - "line": 261, + "line": 254, "column": 74 } } }, "range": [ - 7431, - 7793 + 7235, + 7597 ], "loc": { "start": { - "line": 256, + "line": 249, "column": 21 }, "end": { - "line": 261, + "line": 254, "column": 75 } } }, "range": [ - 7296, - 7794 + 7100, + 7598 ], "loc": { "start": { - "line": 254, + "line": 247, "column": 20 }, "end": { - "line": 261, + "line": 254, "column": 76 } } @@ -15388,16 +14958,16 @@ "type": "Identifier", "name": "cellData", "range": [ - 7823, - 7831 + 7627, + 7635 ], "loc": { "start": { - "line": 263, + "line": 256, "column": 24 }, "end": { - "line": 263, + "line": 256, "column": 32 } } @@ -15411,16 +14981,16 @@ "type": "Identifier", "name": "tf", "range": [ - 7834, - 7836 + 7638, + 7640 ], "loc": { "start": { - "line": 263, + "line": 256, "column": 35 }, "end": { - "line": 263, + "line": 256, "column": 37 } } @@ -15429,31 +14999,31 @@ "type": "Identifier", "name": "getCellData", "range": [ - 7837, - 7848 + 7641, + 7652 ], "loc": { "start": { - "line": 263, + "line": 256, "column": 38 }, "end": { - "line": 263, + "line": 256, "column": 49 } } }, "range": [ - 7834, - 7848 + 7638, + 7652 ], "loc": { "start": { - "line": 263, + "line": 256, "column": 35 }, "end": { - "line": 263, + "line": 256, "column": 49 } } @@ -15466,16 +15036,16 @@ "type": "Identifier", "name": "cells", "range": [ - 7849, - 7854 + 7653, + 7658 ], "loc": { "start": { - "line": 263, + "line": 256, "column": 50 }, "end": { - "line": 263, + "line": 256, "column": 55 } } @@ -15484,62 +15054,62 @@ "type": "Identifier", "name": "j", "range": [ - 7855, - 7856 + 7659, + 7660 ], "loc": { "start": { - "line": 263, + "line": 256, "column": 56 }, "end": { - "line": 263, + "line": 256, "column": 57 } } }, "range": [ - 7849, - 7857 + 7653, + 7661 ], "loc": { "start": { - "line": 263, + "line": 256, "column": 50 }, "end": { - "line": 263, + "line": 256, "column": 58 } } } ], "range": [ - 7834, - 7858 + 7638, + 7662 ], "loc": { "start": { - "line": 263, + "line": 256, "column": 35 }, "end": { - "line": 263, + "line": 256, "column": 59 } } }, "range": [ - 7823, - 7858 + 7627, + 7662 ], "loc": { "start": { - "line": 263, + "line": 256, "column": 24 }, "end": { - "line": 263, + "line": 256, "column": 59 } } @@ -15547,16 +15117,16 @@ ], "kind": "let", "range": [ - 7819, - 7859 + 7623, + 7663 ], "loc": { "start": { - "line": 263, + "line": 256, "column": 20 }, "end": { - "line": 263, + "line": 256, "column": 60 } }, @@ -15565,16 +15135,16 @@ "type": "Line", "value": "Vary Peter's patch", "range": [ - 7880, - 7900 + 7684, + 7704 ], "loc": { "start": { - "line": 264, + "line": 257, "column": 20 }, "end": { - "line": 264, + "line": 257, "column": 40 } } @@ -15590,16 +15160,16 @@ "type": "Identifier", "name": "cellString", "range": [ - 7925, - 7935 + 7729, + 7739 ], "loc": { "start": { - "line": 265, + "line": 258, "column": 24 }, "end": { - "line": 265, + "line": 258, "column": 34 } } @@ -15610,16 +15180,16 @@ "type": "Identifier", "name": "matchCase", "range": [ - 7938, - 7947 + 7742, + 7751 ], "loc": { "start": { - "line": 265, + "line": 258, "column": 37 }, "end": { - "line": 265, + "line": 258, "column": 46 } } @@ -15629,16 +15199,16 @@ "type": "Identifier", "name": "cellData", "range": [ - 7948, - 7956 + 7752, + 7760 ], "loc": { "start": { - "line": 265, + "line": 258, "column": 47 }, "end": { - "line": 265, + "line": 258, "column": 55 } } @@ -15647,47 +15217,47 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 7958, - 7971 + 7762, + 7775 ], "loc": { "start": { - "line": 265, + "line": 258, "column": 57 }, "end": { - "line": 265, + "line": 258, "column": 70 } } } ], "range": [ - 7938, - 7972 + 7742, + 7776 ], "loc": { "start": { - "line": 265, + "line": 258, "column": 37 }, "end": { - "line": 265, + "line": 258, "column": 71 } } }, "range": [ - 7925, - 7972 + 7729, + 7776 ], "loc": { "start": { - "line": 265, + "line": 258, "column": 24 }, "end": { - "line": 265, + "line": 258, "column": 71 } } @@ -15695,16 +15265,16 @@ ], "kind": "let", "range": [ - 7921, - 7973 + 7725, + 7777 ], "loc": { "start": { - "line": 265, + "line": 258, "column": 20 }, "end": { - "line": 265, + "line": 258, "column": 72 } }, @@ -15713,16 +15283,16 @@ "type": "Line", "value": "Vary Peter's patch", "range": [ - 7880, - 7900 + 7684, + 7704 ], "loc": { "start": { - "line": 264, + "line": 257, "column": 20 }, "end": { - "line": 264, + "line": 257, "column": 40 } } @@ -15733,16 +15303,16 @@ "type": "Line", "value": " checks if celldata is already in array", "range": [ - 7994, - 8035 + 7798, + 7839 ], "loc": { "start": { - "line": 266, + "line": 259, "column": 20 }, "end": { - "line": 266, + "line": 259, "column": 61 } } @@ -15760,16 +15330,16 @@ "type": "Identifier", "name": "has", "range": [ - 8061, - 8064 + 7865, + 7868 ], "loc": { "start": { - "line": 267, + "line": 260, "column": 25 }, "end": { - "line": 267, + "line": 260, "column": 28 } } @@ -15781,16 +15351,16 @@ "object": { "type": "ThisExpression", "range": [ - 8065, - 8069 + 7869, + 7873 ], "loc": { "start": { - "line": 267, + "line": 260, "column": 29 }, "end": { - "line": 267, + "line": 260, "column": 33 } } @@ -15799,31 +15369,31 @@ "type": "Identifier", "name": "opts", "range": [ - 8070, - 8074 + 7874, + 7878 ], "loc": { "start": { - "line": 267, + "line": 260, "column": 34 }, "end": { - "line": 267, + "line": 260, "column": 38 } } }, "range": [ - 8065, - 8074 + 7869, + 7878 ], "loc": { "start": { - "line": 267, + "line": 260, "column": 29 }, "end": { - "line": 267, + "line": 260, "column": 38 } } @@ -15832,16 +15402,16 @@ "type": "Identifier", "name": "cellString", "range": [ - 8076, - 8086 + 7880, + 7890 ], "loc": { "start": { - "line": 267, + "line": 260, "column": 40 }, "end": { - "line": 267, + "line": 260, "column": 50 } } @@ -15850,48 +15420,48 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 8088, - 8101 + 7892, + 7905 ], "loc": { "start": { - "line": 267, + "line": 260, "column": 52 }, "end": { - "line": 267, + "line": 260, "column": 65 } } } ], "range": [ - 8061, - 8102 + 7865, + 7906 ], "loc": { "start": { - "line": 267, + "line": 260, "column": 25 }, "end": { - "line": 267, + "line": 260, "column": 66 } } }, "prefix": true, "range": [ - 8060, - 8102 + 7864, + 7906 ], "loc": { "start": { - "line": 267, + "line": 260, "column": 24 }, "end": { - "line": 267, + "line": 260, "column": 66 } } @@ -15912,16 +15482,16 @@ "object": { "type": "ThisExpression", "range": [ - 8130, - 8134 + 7934, + 7938 ], "loc": { "start": { - "line": 268, + "line": 261, "column": 24 }, "end": { - "line": 268, + "line": 261, "column": 28 } } @@ -15930,31 +15500,31 @@ "type": "Identifier", "name": "opts", "range": [ - 8135, - 8139 + 7939, + 7943 ], "loc": { "start": { - "line": 268, + "line": 261, "column": 29 }, "end": { - "line": 268, + "line": 261, "column": 33 } } }, "range": [ - 8130, - 8139 + 7934, + 7943 ], "loc": { "start": { - "line": 268, + "line": 261, "column": 24 }, "end": { - "line": 268, + "line": 261, "column": 33 } } @@ -15963,31 +15533,31 @@ "type": "Identifier", "name": "push", "range": [ - 8140, - 8144 + 7944, + 7948 ], "loc": { "start": { - "line": 268, + "line": 261, "column": 34 }, "end": { - "line": 268, + "line": 261, "column": 38 } } }, "range": [ - 8130, - 8144 + 7934, + 7948 ], "loc": { "start": { - "line": 268, + "line": 261, "column": 24 }, "end": { - "line": 268, + "line": 261, "column": 38 } } @@ -15997,79 +15567,79 @@ "type": "Identifier", "name": "cellData", "range": [ - 8145, - 8153 + 7949, + 7957 ], "loc": { "start": { - "line": 268, + "line": 261, "column": 39 }, "end": { - "line": 268, + "line": 261, "column": 47 } } } ], "range": [ - 8130, - 8154 + 7934, + 7958 ], "loc": { "start": { - "line": 268, + "line": 261, "column": 24 }, "end": { - "line": 268, + "line": 261, "column": 48 } } }, "range": [ - 8130, - 8155 + 7934, + 7959 ], "loc": { "start": { - "line": 268, + "line": 261, "column": 24 }, "end": { - "line": 268, + "line": 261, "column": 49 } } } ], "range": [ - 8104, - 8177 + 7908, + 7981 ], "loc": { "start": { - "line": 267, + "line": 260, "column": 68 }, "end": { - "line": 269, + "line": 262, "column": 21 } } }, "alternate": null, "range": [ - 8056, - 8177 + 7860, + 7981 ], "loc": { "start": { - "line": 267, + "line": 260, "column": 20 }, "end": { - "line": 269, + "line": 262, "column": 21 } }, @@ -16078,16 +15648,16 @@ "type": "Line", "value": " checks if celldata is already in array", "range": [ - 7994, - 8035 + 7798, + 7839 ], "loc": { "start": { - "line": 266, + "line": 259, "column": 20 }, "end": { - "line": 266, + "line": 259, "column": 61 } } @@ -16103,16 +15673,16 @@ "type": "Identifier", "name": "filteredCol", "range": [ - 8202, - 8213 + 8006, + 8017 ], "loc": { "start": { - "line": 270, + "line": 263, "column": 24 }, "end": { - "line": 270, + "line": 263, "column": 35 } } @@ -16124,16 +15694,16 @@ "type": "Identifier", "name": "filteredDataCol", "range": [ - 8216, - 8231 + 8020, + 8035 ], "loc": { "start": { - "line": 270, + "line": 263, "column": 38 }, "end": { - "line": 270, + "line": 263, "column": 53 } } @@ -16142,46 +15712,46 @@ "type": "Identifier", "name": "j", "range": [ - 8232, - 8233 + 8036, + 8037 ], "loc": { "start": { - "line": 270, + "line": 263, "column": 54 }, "end": { - "line": 270, + "line": 263, "column": 55 } } }, "range": [ - 8216, - 8234 + 8020, + 8038 ], "loc": { "start": { - "line": 270, + "line": 263, "column": 38 }, "end": { - "line": 270, + "line": 263, "column": 56 } } }, "range": [ - 8202, - 8234 + 8006, + 8038 ], "loc": { "start": { - "line": 270, + "line": 263, "column": 24 }, "end": { - "line": 270, + "line": 263, "column": 56 } } @@ -16189,16 +15759,16 @@ ], "kind": "let", "range": [ - 8198, - 8235 + 8002, + 8039 ], "loc": { "start": { - "line": 270, + "line": 263, "column": 20 }, "end": { - "line": 270, + "line": 263, "column": 57 } } @@ -16215,16 +15785,16 @@ "type": "Identifier", "name": "tf", "range": [ - 8260, - 8262 + 8064, + 8066 ], "loc": { "start": { - "line": 271, + "line": 264, "column": 24 }, "end": { - "line": 271, + "line": 264, "column": 26 } } @@ -16233,31 +15803,31 @@ "type": "Identifier", "name": "linkedFilters", "range": [ - 8263, - 8276 + 8067, + 8080 ], "loc": { "start": { - "line": 271, + "line": 264, "column": 27 }, "end": { - "line": 271, + "line": 264, "column": 40 } } }, "range": [ - 8260, - 8276 + 8064, + 8080 ], "loc": { "start": { - "line": 271, + "line": 264, "column": 24 }, "end": { - "line": 271, + "line": 264, "column": 40 } } @@ -16269,16 +15839,16 @@ "type": "Identifier", "name": "tf", "range": [ - 8280, - 8282 + 8084, + 8086 ], "loc": { "start": { - "line": 271, + "line": 264, "column": 44 }, "end": { - "line": 271, + "line": 264, "column": 46 } } @@ -16287,46 +15857,46 @@ "type": "Identifier", "name": "disableExcludedOptions", "range": [ - 8283, - 8305 + 8087, + 8109 ], "loc": { "start": { - "line": 271, + "line": 264, "column": 47 }, "end": { - "line": 271, + "line": 264, "column": 69 } } }, "range": [ - 8280, - 8305 + 8084, + 8109 ], "loc": { "start": { - "line": 271, + "line": 264, "column": 44 }, "end": { - "line": 271, + "line": 264, "column": 69 } } }, "range": [ - 8260, - 8305 + 8064, + 8109 ], "loc": { "start": { - "line": 271, + "line": 264, "column": 24 }, "end": { - "line": 271, + "line": 264, "column": 69 } } @@ -16343,32 +15913,32 @@ "type": "Identifier", "name": "filteredCol", "range": [ - 8338, - 8349 + 8142, + 8153 ], "loc": { "start": { - "line": 272, + "line": 265, "column": 29 }, "end": { - "line": 272, + "line": 265, "column": 40 } } }, "prefix": true, "range": [ - 8337, - 8349 + 8141, + 8153 ], "loc": { "start": { - "line": 272, + "line": 265, "column": 28 }, "end": { - "line": 272, + "line": 265, "column": 40 } } @@ -16385,16 +15955,16 @@ "type": "Identifier", "name": "filteredCol", "range": [ - 8381, - 8392 + 8185, + 8196 ], "loc": { "start": { - "line": 273, + "line": 266, "column": 28 }, "end": { - "line": 273, + "line": 266, "column": 39 } } @@ -16408,16 +15978,16 @@ "type": "Identifier", "name": "tf", "range": [ - 8395, - 8397 + 8199, + 8201 ], "loc": { "start": { - "line": 273, + "line": 266, "column": 42 }, "end": { - "line": 273, + "line": 266, "column": 44 } } @@ -16426,31 +15996,31 @@ "type": "Identifier", "name": "getFilteredDataCol", "range": [ - 8398, - 8416 + 8202, + 8220 ], "loc": { "start": { - "line": 273, + "line": 266, "column": 45 }, "end": { - "line": 273, + "line": 266, "column": 63 } } }, "range": [ - 8395, - 8416 + 8199, + 8220 ], "loc": { "start": { - "line": 273, + "line": 266, "column": 42 }, "end": { - "line": 273, + "line": 266, "column": 63 } } @@ -16460,94 +16030,94 @@ "type": "Identifier", "name": "j", "range": [ - 8417, - 8418 + 8221, + 8222 ], "loc": { "start": { - "line": 273, + "line": 266, "column": 64 }, "end": { - "line": 273, + "line": 266, "column": 65 } } } ], "range": [ - 8395, - 8419 + 8199, + 8223 ], "loc": { "start": { - "line": 273, + "line": 266, "column": 42 }, "end": { - "line": 273, + "line": 266, "column": 66 } } }, "range": [ - 8381, - 8419 + 8185, + 8223 ], "loc": { "start": { - "line": 273, + "line": 266, "column": 28 }, "end": { - "line": 273, + "line": 266, "column": 66 } } }, "range": [ - 8381, - 8420 + 8185, + 8224 ], "loc": { "start": { - "line": 273, + "line": 266, "column": 28 }, "end": { - "line": 273, + "line": 266, "column": 67 } } } ], "range": [ - 8351, - 8446 + 8155, + 8250 ], "loc": { "start": { - "line": 272, + "line": 265, "column": 42 }, "end": { - "line": 274, + "line": 267, "column": 25 } } }, "alternate": null, "range": [ - 8333, - 8446 + 8137, + 8250 ], "loc": { "start": { - "line": 272, + "line": 265, "column": 24 }, "end": { - "line": 274, + "line": 267, "column": 25 } } @@ -16566,16 +16136,16 @@ "type": "Identifier", "name": "has", "range": [ - 8476, - 8479 + 8280, + 8283 ], "loc": { "start": { - "line": 275, + "line": 268, "column": 29 }, "end": { - "line": 275, + "line": 268, "column": 32 } } @@ -16585,16 +16155,16 @@ "type": "Identifier", "name": "filteredCol", "range": [ - 8480, - 8491 + 8284, + 8295 ], "loc": { "start": { - "line": 275, + "line": 268, "column": 33 }, "end": { - "line": 275, + "line": 268, "column": 44 } } @@ -16603,16 +16173,16 @@ "type": "Identifier", "name": "cellString", "range": [ - 8493, - 8503 + 8297, + 8307 ], "loc": { "start": { - "line": 275, + "line": 268, "column": 46 }, "end": { - "line": 275, + "line": 268, "column": 56 } } @@ -16621,48 +16191,48 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 8505, - 8518 + 8309, + 8322 ], "loc": { "start": { - "line": 275, + "line": 268, "column": 58 }, "end": { - "line": 275, + "line": 268, "column": 71 } } } ], "range": [ - 8476, - 8519 + 8280, + 8323 ], "loc": { "start": { - "line": 275, + "line": 268, "column": 29 }, "end": { - "line": 275, + "line": 268, "column": 72 } } }, "prefix": true, "range": [ - 8475, - 8519 + 8279, + 8323 ], "loc": { "start": { - "line": 275, + "line": 268, "column": 28 }, "end": { - "line": 275, + "line": 268, "column": 72 } } @@ -16676,16 +16246,16 @@ "type": "Identifier", "name": "has", "range": [ - 8552, - 8555 + 8356, + 8359 ], "loc": { "start": { - "line": 276, + "line": 269, "column": 29 }, "end": { - "line": 276, + "line": 269, "column": 32 } } @@ -16697,16 +16267,16 @@ "object": { "type": "ThisExpression", "range": [ - 8556, - 8560 + 8360, + 8364 ], "loc": { "start": { - "line": 276, + "line": 269, "column": 33 }, "end": { - "line": 276, + "line": 269, "column": 37 } } @@ -16715,31 +16285,31 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 8561, - 8573 + 8365, + 8377 ], "loc": { "start": { - "line": 276, + "line": 269, "column": 38 }, "end": { - "line": 276, + "line": 269, "column": 50 } } }, "range": [ - 8556, - 8573 + 8360, + 8377 ], "loc": { "start": { - "line": 276, + "line": 269, "column": 33 }, "end": { - "line": 276, + "line": 269, "column": 50 } } @@ -16748,16 +16318,16 @@ "type": "Identifier", "name": "cellString", "range": [ - 8575, - 8585 + 8379, + 8389 ], "loc": { "start": { - "line": 276, + "line": 269, "column": 52 }, "end": { - "line": 276, + "line": 269, "column": 62 } } @@ -16766,63 +16336,63 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 8619, - 8632 + 8423, + 8436 ], "loc": { "start": { - "line": 277, + "line": 270, "column": 32 }, "end": { - "line": 277, + "line": 270, "column": 45 } } } ], "range": [ - 8552, - 8633 + 8356, + 8437 ], "loc": { "start": { - "line": 276, + "line": 269, "column": 29 }, "end": { - "line": 277, + "line": 270, "column": 46 } } }, "prefix": true, "range": [ - 8551, - 8633 + 8355, + 8437 ], "loc": { "start": { - "line": 276, + "line": 269, "column": 28 }, "end": { - "line": 277, + "line": 270, "column": 46 } } }, "range": [ - 8475, - 8633 + 8279, + 8437 ], "loc": { "start": { - "line": 275, + "line": 268, "column": 28 }, "end": { - "line": 277, + "line": 270, "column": 46 } } @@ -16843,16 +16413,16 @@ "object": { "type": "ThisExpression", "range": [ - 8665, - 8669 + 8469, + 8473 ], "loc": { "start": { - "line": 278, + "line": 271, "column": 28 }, "end": { - "line": 278, + "line": 271, "column": 32 } } @@ -16861,31 +16431,31 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 8670, - 8682 + 8474, + 8486 ], "loc": { "start": { - "line": 278, + "line": 271, "column": 33 }, "end": { - "line": 278, + "line": 271, "column": 45 } } }, "range": [ - 8665, - 8682 + 8469, + 8486 ], "loc": { "start": { - "line": 278, + "line": 271, "column": 28 }, "end": { - "line": 278, + "line": 271, "column": 45 } } @@ -16894,31 +16464,31 @@ "type": "Identifier", "name": "push", "range": [ - 8683, - 8687 + 8487, + 8491 ], "loc": { "start": { - "line": 278, + "line": 271, "column": 46 }, "end": { - "line": 278, + "line": 271, "column": 50 } } }, "range": [ - 8665, - 8687 + 8469, + 8491 ], "loc": { "start": { - "line": 278, + "line": 271, "column": 28 }, "end": { - "line": 278, + "line": 271, "column": 50 } } @@ -16928,143 +16498,143 @@ "type": "Identifier", "name": "cellData", "range": [ - 8688, - 8696 + 8492, + 8500 ], "loc": { "start": { - "line": 278, + "line": 271, "column": 51 }, "end": { - "line": 278, + "line": 271, "column": 59 } } } ], "range": [ - 8665, - 8697 + 8469, + 8501 ], "loc": { "start": { - "line": 278, + "line": 271, "column": 28 }, "end": { - "line": 278, + "line": 271, "column": 60 } } }, "range": [ - 8665, - 8698 + 8469, + 8502 ], "loc": { "start": { - "line": 278, + "line": 271, "column": 28 }, "end": { - "line": 278, + "line": 271, "column": 61 } } } ], "range": [ - 8635, - 8724 + 8439, + 8528 ], "loc": { "start": { - "line": 277, + "line": 270, "column": 48 }, "end": { - "line": 279, + "line": 272, "column": 25 } } }, "alternate": null, "range": [ - 8471, - 8724 + 8275, + 8528 ], "loc": { "start": { - "line": 275, + "line": 268, "column": 24 }, "end": { - "line": 279, + "line": 272, "column": 25 } } } ], "range": [ - 8307, - 8746 + 8111, + 8550 ], "loc": { "start": { - "line": 271, + "line": 264, "column": 71 }, "end": { - "line": 280, + "line": 273, "column": 21 } } }, "alternate": null, "range": [ - 8256, - 8746 + 8060, + 8550 ], "loc": { "start": { - "line": 271, + "line": 264, "column": 20 }, "end": { - "line": 280, + "line": 273, "column": 21 } } } ], "range": [ - 7796, - 8764 + 7600, + 8568 ], "loc": { "start": { - "line": 261, + "line": 254, "column": 78 }, "end": { - "line": 281, + "line": 274, "column": 17 } } }, "alternate": null, "range": [ - 7292, - 8764 + 7096, + 8568 ], "loc": { "start": { - "line": 254, + "line": 247, "column": 16 }, "end": { - "line": 281, + "line": 274, "column": 17 } }, @@ -17073,16 +16643,16 @@ "type": "Line", "value": " WTF: cyclomatic complexity hell :)", "range": [ - 7238, - 7275 + 7042, + 7079 ], "loc": { "start": { - "line": 253, + "line": 246, "column": 16 }, "end": { - "line": 253, + "line": 246, "column": 53 } } @@ -17091,31 +16661,31 @@ } ], "range": [ - 7220, - 8778 + 7024, + 8582 ], "loc": { "start": { - "line": 252, + "line": 245, "column": 45 }, "end": { - "line": 282, + "line": 275, "column": 13 } } }, "range": [ - 7187, - 8778 + 6991, + 8582 ], "loc": { "start": { - "line": 252, + "line": 245, "column": 12 }, "end": { - "line": 282, + "line": 275, "column": 13 } }, @@ -17124,16 +16694,16 @@ "type": "Line", "value": " this loop retrieves cell data", "range": [ - 7142, - 7174 + 6946, + 6978 ], "loc": { "start": { - "line": 251, + "line": 244, "column": 12 }, "end": { - "line": 251, + "line": 244, "column": 44 } } @@ -17142,31 +16712,31 @@ } ], "range": [ - 6692, - 8788 + 6496, + 8592 ], "loc": { "start": { - "line": 236, + "line": 229, "column": 49 }, "end": { - "line": 283, + "line": 276, "column": 9 } } }, "range": [ - 6651, - 8788 + 6455, + 8592 ], "loc": { "start": { - "line": 236, + "line": 229, "column": 8 }, "end": { - "line": 283, + "line": 276, "column": 9 } }, @@ -17175,16 +16745,16 @@ "type": "Line", "value": "Retrieves custom values", "range": [ - 8798, - 8823 + 8602, + 8627 ], "loc": { "start": { - "line": 285, + "line": 278, "column": 8 }, "end": { - "line": 285, + "line": 278, "column": 33 } } @@ -17199,16 +16769,16 @@ "object": { "type": "ThisExpression", "range": [ - 8836, - 8840 + 8640, + 8644 ], "loc": { "start": { - "line": 286, + "line": 279, "column": 12 }, "end": { - "line": 286, + "line": 279, "column": 16 } } @@ -17217,31 +16787,31 @@ "type": "Identifier", "name": "isCustom", "range": [ - 8841, - 8849 + 8645, + 8653 ], "loc": { "start": { - "line": 286, + "line": 279, "column": 17 }, "end": { - "line": 286, + "line": 279, "column": 25 } } }, "range": [ - 8836, - 8849 + 8640, + 8653 ], "loc": { "start": { - "line": 286, + "line": 279, "column": 12 }, "end": { - "line": 286, + "line": 279, "column": 25 } } @@ -17258,16 +16828,16 @@ "type": "Identifier", "name": "customValues", "range": [ - 8869, - 8881 + 8673, + 8685 ], "loc": { "start": { - "line": 287, + "line": 280, "column": 16 }, "end": { - "line": 287, + "line": 280, "column": 28 } } @@ -17281,16 +16851,16 @@ "type": "Identifier", "name": "tf", "range": [ - 8884, - 8886 + 8688, + 8690 ], "loc": { "start": { - "line": 287, + "line": 280, "column": 31 }, "end": { - "line": 287, + "line": 280, "column": 33 } } @@ -17299,31 +16869,31 @@ "type": "Identifier", "name": "getCustomOptions", "range": [ - 8887, - 8903 + 8691, + 8707 ], "loc": { "start": { - "line": 287, + "line": 280, "column": 34 }, "end": { - "line": 287, + "line": 280, "column": 50 } } }, "range": [ - 8884, - 8903 + 8688, + 8707 ], "loc": { "start": { - "line": 287, + "line": 280, "column": 31 }, "end": { - "line": 287, + "line": 280, "column": 50 } } @@ -17333,47 +16903,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 8904, - 8912 + 8708, + 8716 ], "loc": { "start": { - "line": 287, + "line": 280, "column": 51 }, "end": { - "line": 287, + "line": 280, "column": 59 } } } ], "range": [ - 8884, - 8913 + 8688, + 8717 ], "loc": { "start": { - "line": 287, + "line": 280, "column": 31 }, "end": { - "line": 287, + "line": 280, "column": 60 } } }, "range": [ - 8869, - 8913 + 8673, + 8717 ], "loc": { "start": { - "line": 287, + "line": 280, "column": 16 }, "end": { - "line": 287, + "line": 280, "column": 60 } } @@ -17381,16 +16951,16 @@ ], "kind": "let", "range": [ - 8865, - 8914 + 8669, + 8718 ], "loc": { "start": { - "line": 287, + "line": 280, "column": 12 }, "end": { - "line": 287, + "line": 280, "column": 61 } } @@ -17406,16 +16976,16 @@ "object": { "type": "ThisExpression", "range": [ - 8927, - 8931 + 8731, + 8735 ], "loc": { "start": { - "line": 288, + "line": 281, "column": 12 }, "end": { - "line": 288, + "line": 281, "column": 16 } } @@ -17424,31 +16994,31 @@ "type": "Identifier", "name": "opts", "range": [ - 8932, - 8936 + 8736, + 8740 ], "loc": { "start": { - "line": 288, + "line": 281, "column": 17 }, "end": { - "line": 288, + "line": 281, "column": 21 } } }, "range": [ - 8927, - 8936 + 8731, + 8740 ], "loc": { "start": { - "line": 288, + "line": 281, "column": 12 }, "end": { - "line": 288, + "line": 281, "column": 21 } } @@ -17460,16 +17030,16 @@ "type": "Identifier", "name": "customValues", "range": [ - 8939, - 8951 + 8743, + 8755 ], "loc": { "start": { - "line": 288, + "line": 281, "column": 24 }, "end": { - "line": 288, + "line": 281, "column": 36 } } @@ -17479,61 +17049,61 @@ "value": 0, "raw": "0", "range": [ - 8952, - 8953 + 8756, + 8757 ], "loc": { "start": { - "line": 288, + "line": 281, "column": 37 }, "end": { - "line": 288, + "line": 281, "column": 38 } } }, "range": [ - 8939, - 8954 + 8743, + 8758 ], "loc": { "start": { - "line": 288, + "line": 281, "column": 24 }, "end": { - "line": 288, + "line": 281, "column": 39 } } }, "range": [ - 8927, - 8954 + 8731, + 8758 ], "loc": { "start": { - "line": 288, + "line": 281, "column": 12 }, "end": { - "line": 288, + "line": 281, "column": 39 } } }, "range": [ - 8927, - 8955 + 8731, + 8759 ], "loc": { "start": { - "line": 288, + "line": 281, "column": 12 }, "end": { - "line": 288, + "line": 281, "column": 40 } } @@ -17549,16 +17119,16 @@ "object": { "type": "ThisExpression", "range": [ - 8968, - 8972 + 8772, + 8776 ], "loc": { "start": { - "line": 289, + "line": 282, "column": 12 }, "end": { - "line": 289, + "line": 282, "column": 16 } } @@ -17567,31 +17137,31 @@ "type": "Identifier", "name": "optsTxt", "range": [ - 8973, - 8980 + 8777, + 8784 ], "loc": { "start": { - "line": 289, + "line": 282, "column": 17 }, "end": { - "line": 289, + "line": 282, "column": 24 } } }, "range": [ - 8968, - 8980 + 8772, + 8784 ], "loc": { "start": { - "line": 289, + "line": 282, "column": 12 }, "end": { - "line": 289, + "line": 282, "column": 24 } } @@ -17603,16 +17173,16 @@ "type": "Identifier", "name": "customValues", "range": [ - 8983, - 8995 + 8787, + 8799 ], "loc": { "start": { - "line": 289, + "line": 282, "column": 27 }, "end": { - "line": 289, + "line": 282, "column": 39 } } @@ -17622,93 +17192,93 @@ "value": 1, "raw": "1", "range": [ - 8996, - 8997 + 8800, + 8801 ], "loc": { "start": { - "line": 289, + "line": 282, "column": 40 }, "end": { - "line": 289, + "line": 282, "column": 41 } } }, "range": [ - 8983, - 8998 + 8787, + 8802 ], "loc": { "start": { - "line": 289, + "line": 282, "column": 27 }, "end": { - "line": 289, + "line": 282, "column": 42 } } }, "range": [ - 8968, - 8998 + 8772, + 8802 ], "loc": { "start": { - "line": 289, + "line": 282, "column": 12 }, "end": { - "line": 289, + "line": 282, "column": 42 } } }, "range": [ - 8968, - 8999 + 8772, + 8803 ], "loc": { "start": { - "line": 289, + "line": 282, "column": 12 }, "end": { - "line": 289, + "line": 282, "column": 43 } } } ], "range": [ - 8851, - 9009 + 8655, + 8813 ], "loc": { "start": { - "line": 286, + "line": 279, "column": 27 }, "end": { - "line": 290, + "line": 283, "column": 9 } } }, "alternate": null, "range": [ - 8832, - 9009 + 8636, + 8813 ], "loc": { "start": { - "line": 286, + "line": 279, "column": 8 }, "end": { - "line": 290, + "line": 283, "column": 9 } }, @@ -17717,16 +17287,16 @@ "type": "Line", "value": "Retrieves custom values", "range": [ - 8798, - 8823 + 8602, + 8627 ], "loc": { "start": { - "line": 285, + "line": 278, "column": 8 }, "end": { - "line": 285, + "line": 278, "column": 33 } } @@ -17745,16 +17315,16 @@ "type": "Identifier", "name": "tf", "range": [ - 9023, - 9025 + 8827, + 8829 ], "loc": { "start": { - "line": 292, + "line": 285, "column": 12 }, "end": { - "line": 292, + "line": 285, "column": 14 } } @@ -17763,31 +17333,31 @@ "type": "Identifier", "name": "sortSlc", "range": [ - 9026, - 9033 + 8830, + 8837 ], "loc": { "start": { - "line": 292, + "line": 285, "column": 15 }, "end": { - "line": 292, + "line": 285, "column": 22 } } }, "range": [ - 9023, - 9033 + 8827, + 8837 ], "loc": { "start": { - "line": 292, + "line": 285, "column": 12 }, "end": { - "line": 292, + "line": 285, "column": 22 } } @@ -17801,16 +17371,16 @@ "object": { "type": "ThisExpression", "range": [ - 9038, - 9042 + 8842, + 8846 ], "loc": { "start": { - "line": 292, + "line": 285, "column": 27 }, "end": { - "line": 292, + "line": 285, "column": 31 } } @@ -17819,62 +17389,62 @@ "type": "Identifier", "name": "isCustom", "range": [ - 9043, - 9051 + 8847, + 8855 ], "loc": { "start": { - "line": 292, + "line": 285, "column": 32 }, "end": { - "line": 292, + "line": 285, "column": 40 } } }, "range": [ - 9038, - 9051 + 8842, + 8855 ], "loc": { "start": { - "line": 292, + "line": 285, "column": 27 }, "end": { - "line": 292, + "line": 285, "column": 40 } } }, "prefix": true, "range": [ - 9037, - 9051 + 8841, + 8855 ], "loc": { "start": { - "line": 292, + "line": 285, "column": 26 }, "end": { - "line": 292, + "line": 285, "column": 40 } } }, "range": [ - 9023, - 9051 + 8827, + 8855 ], "loc": { "start": { - "line": 292, + "line": 285, "column": 12 }, "end": { - "line": 292, + "line": 285, "column": 40 } } @@ -17891,32 +17461,32 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 9072, - 9085 + 8876, + 8889 ], "loc": { "start": { - "line": 293, + "line": 286, "column": 17 }, "end": { - "line": 293, + "line": 286, "column": 30 } } }, "prefix": true, "range": [ - 9071, - 9085 + 8875, + 8889 ], "loc": { "start": { - "line": 293, + "line": 286, "column": 16 }, "end": { - "line": 293, + "line": 286, "column": 30 } } @@ -17937,16 +17507,16 @@ "object": { "type": "ThisExpression", "range": [ - 9105, - 9109 + 8909, + 8913 ], "loc": { "start": { - "line": 294, + "line": 287, "column": 16 }, "end": { - "line": 294, + "line": 287, "column": 20 } } @@ -17955,31 +17525,31 @@ "type": "Identifier", "name": "opts", "range": [ - 9110, - 9114 + 8914, + 8918 ], "loc": { "start": { - "line": 294, + "line": 287, "column": 21 }, "end": { - "line": 294, + "line": 287, "column": 25 } } }, "range": [ - 9105, - 9114 + 8909, + 8918 ], "loc": { "start": { - "line": 294, + "line": 287, "column": 16 }, "end": { - "line": 294, + "line": 287, "column": 25 } } @@ -17988,31 +17558,31 @@ "type": "Identifier", "name": "sort", "range": [ - 9115, - 9119 + 8919, + 8923 ], "loc": { "start": { - "line": 294, + "line": 287, "column": 26 }, "end": { - "line": 294, + "line": 287, "column": 30 } } }, "range": [ - 9105, - 9119 + 8909, + 8923 ], "loc": { "start": { - "line": 294, + "line": 287, "column": 16 }, "end": { - "line": 294, + "line": 287, "column": 30 } } @@ -18022,47 +17592,47 @@ "type": "Identifier", "name": "ignoreCase", "range": [ - 9120, - 9130 + 8924, + 8934 ], "loc": { "start": { - "line": 294, + "line": 287, "column": 31 }, "end": { - "line": 294, + "line": 287, "column": 41 } } } ], "range": [ - 9105, - 9131 + 8909, + 8935 ], "loc": { "start": { - "line": 294, + "line": 287, "column": 16 }, "end": { - "line": 294, + "line": 287, "column": 42 } } }, "range": [ - 9105, - 9132 + 8909, + 8936 ], "loc": { "start": { - "line": 294, + "line": 287, "column": 16 }, "end": { - "line": 294, + "line": 287, "column": 43 } } @@ -18075,16 +17645,16 @@ "object": { "type": "ThisExpression", "range": [ - 9153, - 9157 + 8957, + 8961 ], "loc": { "start": { - "line": 295, + "line": 288, "column": 20 }, "end": { - "line": 295, + "line": 288, "column": 24 } } @@ -18093,31 +17663,31 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 9158, - 9170 + 8962, + 8974 ], "loc": { "start": { - "line": 295, + "line": 288, "column": 25 }, "end": { - "line": 295, + "line": 288, "column": 37 } } }, "range": [ - 9153, - 9170 + 8957, + 8974 ], "loc": { "start": { - "line": 295, + "line": 288, "column": 20 }, "end": { - "line": 295, + "line": 288, "column": 37 } } @@ -18138,16 +17708,16 @@ "object": { "type": "ThisExpression", "range": [ - 9194, - 9198 + 8998, + 9002 ], "loc": { "start": { - "line": 296, + "line": 289, "column": 20 }, "end": { - "line": 296, + "line": 289, "column": 24 } } @@ -18156,31 +17726,31 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 9199, - 9211 + 9003, + 9015 ], "loc": { "start": { - "line": 296, + "line": 289, "column": 25 }, "end": { - "line": 296, + "line": 289, "column": 37 } } }, "range": [ - 9194, - 9211 + 8998, + 9015 ], "loc": { "start": { - "line": 296, + "line": 289, "column": 20 }, "end": { - "line": 296, + "line": 289, "column": 37 } } @@ -18189,31 +17759,31 @@ "type": "Identifier", "name": "sort", "range": [ - 9212, - 9216 + 9016, + 9020 ], "loc": { "start": { - "line": 296, + "line": 289, "column": 38 }, "end": { - "line": 296, + "line": 289, "column": 42 } } }, "range": [ - 9194, - 9216 + 8998, + 9020 ], "loc": { "start": { - "line": 296, + "line": 289, "column": 20 }, "end": { - "line": 296, + "line": 289, "column": 42 } } @@ -18223,95 +17793,95 @@ "type": "Identifier", "name": "ignoreCase", "range": [ - 9217, - 9227 + 9021, + 9031 ], "loc": { "start": { - "line": 296, + "line": 289, "column": 43 }, "end": { - "line": 296, + "line": 289, "column": 53 } } } ], "range": [ - 9194, - 9228 + 8998, + 9032 ], "loc": { "start": { - "line": 296, + "line": 289, "column": 20 }, "end": { - "line": 296, + "line": 289, "column": 54 } } }, "range": [ - 9194, - 9229 + 8998, + 9033 ], "loc": { "start": { - "line": 296, + "line": 289, "column": 20 }, "end": { - "line": 296, + "line": 289, "column": 55 } } } ], "range": [ - 9172, - 9247 + 8976, + 9051 ], "loc": { "start": { - "line": 295, + "line": 288, "column": 39 }, "end": { - "line": 297, + "line": 290, "column": 17 } } }, "alternate": null, "range": [ - 9149, - 9247 + 8953, + 9051 ], "loc": { "start": { - "line": 295, + "line": 288, "column": 16 }, "end": { - "line": 297, + "line": 290, "column": 17 } } } ], "range": [ - 9087, - 9261 + 8891, + 9065 ], "loc": { "start": { - "line": 293, + "line": 286, "column": 32 }, "end": { - "line": 298, + "line": 291, "column": 13 } } @@ -18332,16 +17902,16 @@ "object": { "type": "ThisExpression", "range": [ - 9285, - 9289 + 9089, + 9093 ], "loc": { "start": { - "line": 299, + "line": 292, "column": 16 }, "end": { - "line": 299, + "line": 292, "column": 20 } } @@ -18350,31 +17920,31 @@ "type": "Identifier", "name": "opts", "range": [ - 9290, - 9294 + 9094, + 9098 ], "loc": { "start": { - "line": 299, + "line": 292, "column": 21 }, "end": { - "line": 299, + "line": 292, "column": 25 } } }, "range": [ - 9285, - 9294 + 9089, + 9098 ], "loc": { "start": { - "line": 299, + "line": 292, "column": 16 }, "end": { - "line": 299, + "line": 292, "column": 25 } } @@ -18383,62 +17953,62 @@ "type": "Identifier", "name": "sort", "range": [ - 9295, - 9299 + 9099, + 9103 ], "loc": { "start": { - "line": 299, + "line": 292, "column": 26 }, "end": { - "line": 299, + "line": 292, "column": 30 } } }, "range": [ - 9285, - 9299 + 9089, + 9103 ], "loc": { "start": { - "line": 299, + "line": 292, "column": 16 }, "end": { - "line": 299, + "line": 292, "column": 30 } } }, "arguments": [], "range": [ - 9285, - 9301 + 9089, + 9105 ], "loc": { "start": { - "line": 299, + "line": 292, "column": 16 }, "end": { - "line": 299, + "line": 292, "column": 32 } } }, "range": [ - 9285, - 9302 + 9089, + 9106 ], "loc": { "start": { - "line": 299, + "line": 292, "column": 16 }, "end": { - "line": 299, + "line": 292, "column": 33 } } @@ -18451,16 +18021,16 @@ "object": { "type": "ThisExpression", "range": [ - 9323, - 9327 + 9127, + 9131 ], "loc": { "start": { - "line": 300, + "line": 293, "column": 20 }, "end": { - "line": 300, + "line": 293, "column": 24 } } @@ -18469,31 +18039,31 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 9328, - 9340 + 9132, + 9144 ], "loc": { "start": { - "line": 300, + "line": 293, "column": 25 }, "end": { - "line": 300, + "line": 293, "column": 37 } } }, "range": [ - 9323, - 9340 + 9127, + 9144 ], "loc": { "start": { - "line": 300, + "line": 293, "column": 20 }, "end": { - "line": 300, + "line": 293, "column": 37 } } @@ -18514,16 +18084,16 @@ "object": { "type": "ThisExpression", "range": [ - 9364, - 9368 + 9168, + 9172 ], "loc": { "start": { - "line": 301, + "line": 294, "column": 20 }, "end": { - "line": 301, + "line": 294, "column": 24 } } @@ -18532,31 +18102,31 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 9369, - 9381 + 9173, + 9185 ], "loc": { "start": { - "line": 301, + "line": 294, "column": 25 }, "end": { - "line": 301, + "line": 294, "column": 37 } } }, "range": [ - 9364, - 9381 + 9168, + 9185 ], "loc": { "start": { - "line": 301, + "line": 294, "column": 20 }, "end": { - "line": 301, + "line": 294, "column": 37 } } @@ -18565,157 +18135,157 @@ "type": "Identifier", "name": "sort", "range": [ - 9382, - 9386 + 9186, + 9190 ], "loc": { "start": { - "line": 301, + "line": 294, "column": 38 }, "end": { - "line": 301, + "line": 294, "column": 42 } } }, "range": [ - 9364, - 9386 + 9168, + 9190 ], "loc": { "start": { - "line": 301, + "line": 294, "column": 20 }, "end": { - "line": 301, + "line": 294, "column": 42 } } }, "arguments": [], "range": [ - 9364, - 9388 + 9168, + 9192 ], "loc": { "start": { - "line": 301, + "line": 294, "column": 20 }, "end": { - "line": 301, + "line": 294, "column": 44 } } }, "range": [ - 9364, - 9389 + 9168, + 9193 ], "loc": { "start": { - "line": 301, + "line": 294, "column": 20 }, "end": { - "line": 301, + "line": 294, "column": 45 } } } ], "range": [ - 9342, - 9407 + 9146, + 9211 ], "loc": { "start": { - "line": 300, + "line": 293, "column": 39 }, "end": { - "line": 302, + "line": 295, "column": 17 } } }, "alternate": null, "range": [ - 9319, - 9407 + 9123, + 9211 ], "loc": { "start": { - "line": 300, + "line": 293, "column": 16 }, "end": { - "line": 302, + "line": 295, "column": 17 } } } ], "range": [ - 9267, - 9421 + 9071, + 9225 ], "loc": { "start": { - "line": 298, + "line": 291, "column": 19 }, "end": { - "line": 303, + "line": 296, "column": 13 } } }, "range": [ - 9067, - 9421 + 8871, + 9225 ], "loc": { "start": { - "line": 293, + "line": 286, "column": 12 }, "end": { - "line": 303, + "line": 296, "column": 13 } } } ], "range": [ - 9053, - 9431 + 8857, + 9235 ], "loc": { "start": { - "line": 292, + "line": 285, "column": 42 }, "end": { - "line": 304, + "line": 297, "column": 9 } } }, "alternate": null, "range": [ - 9019, - 9431 + 8823, + 9235 ], "loc": { "start": { - "line": 292, + "line": 285, "column": 8 }, "end": { - "line": 304, + "line": 297, "column": 9 } }, @@ -18724,16 +18294,16 @@ "type": "Line", "value": "asc sort", "range": [ - 9440, - 9450 + 9244, + 9254 ], "loc": { "start": { - "line": 305, + "line": 298, "column": 8 }, "end": { - "line": 305, + "line": 298, "column": 18 } } @@ -18757,16 +18327,16 @@ "type": "Identifier", "name": "tf", "range": [ - 9463, - 9465 + 9267, + 9269 ], "loc": { "start": { - "line": 306, + "line": 299, "column": 12 }, "end": { - "line": 306, + "line": 299, "column": 14 } } @@ -18775,31 +18345,31 @@ "type": "Identifier", "name": "sortNumAsc", "range": [ - 9466, - 9476 + 9270, + 9280 ], "loc": { "start": { - "line": 306, + "line": 299, "column": 15 }, "end": { - "line": 306, + "line": 299, "column": 25 } } }, "range": [ - 9463, - 9476 + 9267, + 9280 ], "loc": { "start": { - "line": 306, + "line": 299, "column": 12 }, "end": { - "line": 306, + "line": 299, "column": 25 } } @@ -18808,31 +18378,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 9477, - 9484 + 9281, + 9288 ], "loc": { "start": { - "line": 306, + "line": 299, "column": 26 }, "end": { - "line": 306, + "line": 299, "column": 33 } } }, "range": [ - 9463, - 9484 + 9267, + 9288 ], "loc": { "start": { - "line": 306, + "line": 299, "column": 12 }, "end": { - "line": 306, + "line": 299, "column": 33 } } @@ -18842,32 +18412,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 9485, - 9493 + 9289, + 9297 ], "loc": { "start": { - "line": 306, + "line": 299, "column": 34 }, "end": { - "line": 306, + "line": 299, "column": 42 } } } ], "range": [ - 9463, - 9494 + 9267, + 9298 ], "loc": { "start": { - "line": 306, + "line": 299, "column": 12 }, "end": { - "line": 306, + "line": 299, "column": 43 } } @@ -18880,47 +18450,47 @@ "value": 1, "raw": "1", "range": [ - 9500, - 9501 + 9304, + 9305 ], "loc": { "start": { - "line": 306, + "line": 299, "column": 49 }, "end": { - "line": 306, + "line": 299, "column": 50 } } }, "prefix": true, "range": [ - 9499, - 9501 + 9303, + 9305 ], "loc": { "start": { - "line": 306, + "line": 299, "column": 48 }, "end": { - "line": 306, + "line": 299, "column": 50 } } }, "range": [ - 9463, - 9501 + 9267, + 9305 ], "loc": { "start": { - "line": 306, + "line": 299, "column": 12 }, "end": { - "line": 306, + "line": 299, "column": 50 } } @@ -18946,16 +18516,16 @@ "object": { "type": "ThisExpression", "range": [ - 9539, - 9543 + 9343, + 9347 ], "loc": { "start": { - "line": 308, + "line": 301, "column": 16 }, "end": { - "line": 308, + "line": 301, "column": 20 } } @@ -18964,31 +18534,31 @@ "type": "Identifier", "name": "opts", "range": [ - 9544, - 9548 + 9348, + 9352 ], "loc": { "start": { - "line": 308, + "line": 301, "column": 21 }, "end": { - "line": 308, + "line": 301, "column": 25 } } }, "range": [ - 9539, - 9548 + 9343, + 9352 ], "loc": { "start": { - "line": 308, + "line": 301, "column": 16 }, "end": { - "line": 308, + "line": 301, "column": 25 } } @@ -18997,31 +18567,31 @@ "type": "Identifier", "name": "sort", "range": [ - 9549, - 9553 + 9353, + 9357 ], "loc": { "start": { - "line": 308, + "line": 301, "column": 26 }, "end": { - "line": 308, + "line": 301, "column": 30 } } }, "range": [ - 9539, - 9553 + 9343, + 9357 ], "loc": { "start": { - "line": 308, + "line": 301, "column": 16 }, "end": { - "line": 308, + "line": 301, "column": 30 } } @@ -19031,47 +18601,47 @@ "type": "Identifier", "name": "numSortAsc", "range": [ - 9554, - 9564 + 9358, + 9368 ], "loc": { "start": { - "line": 308, + "line": 301, "column": 31 }, "end": { - "line": 308, + "line": 301, "column": 41 } } } ], "range": [ - 9539, - 9565 + 9343, + 9369 ], "loc": { "start": { - "line": 308, + "line": 301, "column": 16 }, "end": { - "line": 308, + "line": 301, "column": 42 } } }, "range": [ - 9539, - 9566 + 9343, + 9370 ], "loc": { "start": { - "line": 308, + "line": 301, "column": 16 }, "end": { - "line": 308, + "line": 301, "column": 43 } } @@ -19084,16 +18654,16 @@ "object": { "type": "ThisExpression", "range": [ - 9587, - 9591 + 9391, + 9395 ], "loc": { "start": { - "line": 309, + "line": 302, "column": 20 }, "end": { - "line": 309, + "line": 302, "column": 24 } } @@ -19102,31 +18672,31 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 9592, - 9604 + 9396, + 9408 ], "loc": { "start": { - "line": 309, + "line": 302, "column": 25 }, "end": { - "line": 309, + "line": 302, "column": 37 } } }, "range": [ - 9587, - 9604 + 9391, + 9408 ], "loc": { "start": { - "line": 309, + "line": 302, "column": 20 }, "end": { - "line": 309, + "line": 302, "column": 37 } } @@ -19147,16 +18717,16 @@ "object": { "type": "ThisExpression", "range": [ - 9628, - 9632 + 9432, + 9436 ], "loc": { "start": { - "line": 310, + "line": 303, "column": 20 }, "end": { - "line": 310, + "line": 303, "column": 24 } } @@ -19165,31 +18735,31 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 9633, - 9645 + 9437, + 9449 ], "loc": { "start": { - "line": 310, + "line": 303, "column": 25 }, "end": { - "line": 310, + "line": 303, "column": 37 } } }, "range": [ - 9628, - 9645 + 9432, + 9449 ], "loc": { "start": { - "line": 310, + "line": 303, "column": 20 }, "end": { - "line": 310, + "line": 303, "column": 37 } } @@ -19198,31 +18768,31 @@ "type": "Identifier", "name": "sort", "range": [ - 9646, - 9650 + 9450, + 9454 ], "loc": { "start": { - "line": 310, + "line": 303, "column": 38 }, "end": { - "line": 310, + "line": 303, "column": 42 } } }, "range": [ - 9628, - 9650 + 9432, + 9454 ], "loc": { "start": { - "line": 310, + "line": 303, "column": 20 }, "end": { - "line": 310, + "line": 303, "column": 42 } } @@ -19232,79 +18802,79 @@ "type": "Identifier", "name": "numSortAsc", "range": [ - 9651, - 9661 + 9455, + 9465 ], "loc": { "start": { - "line": 310, + "line": 303, "column": 43 }, "end": { - "line": 310, + "line": 303, "column": 53 } } } ], "range": [ - 9628, - 9662 + 9432, + 9466 ], "loc": { "start": { - "line": 310, + "line": 303, "column": 20 }, "end": { - "line": 310, + "line": 303, "column": 54 } } }, "range": [ - 9628, - 9663 + 9432, + 9467 ], "loc": { "start": { - "line": 310, + "line": 303, "column": 20 }, "end": { - "line": 310, + "line": 303, "column": 55 } } } ], "range": [ - 9606, - 9681 + 9410, + 9485 ], "loc": { "start": { - "line": 309, + "line": 302, "column": 39 }, "end": { - "line": 311, + "line": 304, "column": 17 } } }, "alternate": null, "range": [ - 9583, - 9681 + 9387, + 9485 ], "loc": { "start": { - "line": 309, + "line": 302, "column": 16 }, "end": { - "line": 311, + "line": 304, "column": 17 } } @@ -19317,16 +18887,16 @@ "object": { "type": "ThisExpression", "range": [ - 9702, - 9706 + 9506, + 9510 ], "loc": { "start": { - "line": 312, + "line": 305, "column": 20 }, "end": { - "line": 312, + "line": 305, "column": 24 } } @@ -19335,31 +18905,31 @@ "type": "Identifier", "name": "isCustom", "range": [ - 9707, - 9715 + 9511, + 9519 ], "loc": { "start": { - "line": 312, + "line": 305, "column": 25 }, "end": { - "line": 312, + "line": 305, "column": 33 } } }, "range": [ - 9702, - 9715 + 9506, + 9519 ], "loc": { "start": { - "line": 312, + "line": 305, "column": 20 }, "end": { - "line": 312, + "line": 305, "column": 33 } } @@ -19380,16 +18950,16 @@ "object": { "type": "ThisExpression", "range": [ - 9739, - 9743 + 9543, + 9547 ], "loc": { "start": { - "line": 313, + "line": 306, "column": 20 }, "end": { - "line": 313, + "line": 306, "column": 24 } } @@ -19398,31 +18968,31 @@ "type": "Identifier", "name": "optsTxt", "range": [ - 9744, - 9751 + 9548, + 9555 ], "loc": { "start": { - "line": 313, + "line": 306, "column": 25 }, "end": { - "line": 313, + "line": 306, "column": 32 } } }, "range": [ - 9739, - 9751 + 9543, + 9555 ], "loc": { "start": { - "line": 313, + "line": 306, "column": 20 }, "end": { - "line": 313, + "line": 306, "column": 32 } } @@ -19431,31 +19001,31 @@ "type": "Identifier", "name": "sort", "range": [ - 9752, - 9756 + 9556, + 9560 ], "loc": { "start": { - "line": 313, + "line": 306, "column": 33 }, "end": { - "line": 313, + "line": 306, "column": 37 } } }, "range": [ - 9739, - 9756 + 9543, + 9560 ], "loc": { "start": { - "line": 313, + "line": 306, "column": 20 }, "end": { - "line": 313, + "line": 306, "column": 37 } } @@ -19465,95 +19035,95 @@ "type": "Identifier", "name": "numSortAsc", "range": [ - 9757, - 9767 + 9561, + 9571 ], "loc": { "start": { - "line": 313, + "line": 306, "column": 38 }, "end": { - "line": 313, + "line": 306, "column": 48 } } } ], "range": [ - 9739, - 9768 + 9543, + 9572 ], "loc": { "start": { - "line": 313, + "line": 306, "column": 20 }, "end": { - "line": 313, + "line": 306, "column": 49 } } }, "range": [ - 9739, - 9769 + 9543, + 9573 ], "loc": { "start": { - "line": 313, + "line": 306, "column": 20 }, "end": { - "line": 313, + "line": 306, "column": 50 } } } ], "range": [ - 9717, - 9787 + 9521, + 9591 ], "loc": { "start": { - "line": 312, + "line": 305, "column": 35 }, "end": { - "line": 314, + "line": 307, "column": 17 } } }, "alternate": null, "range": [ - 9698, - 9787 + 9502, + 9591 ], "loc": { "start": { - "line": 312, + "line": 305, "column": 16 }, "end": { - "line": 314, + "line": 307, "column": 17 } } } ], "range": [ - 9521, - 9801 + 9325, + 9605 ], "loc": { "start": { - "line": 307, + "line": 300, "column": 16 }, "end": { - "line": 315, + "line": 308, "column": 13 } } @@ -19564,16 +19134,16 @@ "type": "Identifier", "name": "e", "range": [ - 9809, - 9810 + 9613, + 9614 ], "loc": { "start": { - "line": 315, + "line": 308, "column": 21 }, "end": { - "line": 315, + "line": 308, "column": 22 } } @@ -19589,16 +19159,16 @@ "type": "Identifier", "name": "Error", "range": [ - 9840, - 9845 + 9644, + 9649 ], "loc": { "start": { - "line": 316, + "line": 309, "column": 26 }, "end": { - "line": 316, + "line": 309, "column": 31 } } @@ -19618,16 +19188,16 @@ "type": "Identifier", "name": "SORT_ERROR", "range": [ - 9846, - 9856 + 9650, + 9660 ], "loc": { "start": { - "line": 316, + "line": 309, "column": 32 }, "end": { - "line": 316, + "line": 309, "column": 42 } } @@ -19636,31 +19206,31 @@ "type": "Identifier", "name": "replace", "range": [ - 9857, - 9864 + 9661, + 9668 ], "loc": { "start": { - "line": 316, + "line": 309, "column": 43 }, "end": { - "line": 316, + "line": 309, "column": 50 } } }, "range": [ - 9846, - 9864 + 9650, + 9668 ], "loc": { "start": { - "line": 316, + "line": 309, "column": 32 }, "end": { - "line": 316, + "line": 309, "column": 50 } } @@ -19671,16 +19241,16 @@ "value": "{0}", "raw": "'{0}'", "range": [ - 9865, - 9870 + 9669, + 9674 ], "loc": { "start": { - "line": 316, + "line": 309, "column": 51 }, "end": { - "line": 316, + "line": 309, "column": 56 } } @@ -19689,32 +19259,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 9872, - 9880 + 9676, + 9684 ], "loc": { "start": { - "line": 316, + "line": 309, "column": 58 }, "end": { - "line": 316, + "line": 309, "column": 66 } } } ], "range": [ - 9846, - 9881 + 9650, + 9685 ], "loc": { "start": { - "line": 316, + "line": 309, "column": 32 }, "end": { - "line": 316, + "line": 309, "column": 67 } } @@ -19723,31 +19293,31 @@ "type": "Identifier", "name": "replace", "range": [ - 9903, - 9910 + 9707, + 9714 ], "loc": { "start": { - "line": 317, + "line": 310, "column": 21 }, "end": { - "line": 317, + "line": 310, "column": 28 } } }, "range": [ - 9846, - 9910 + 9650, + 9714 ], "loc": { "start": { - "line": 316, + "line": 309, "column": 32 }, "end": { - "line": 317, + "line": 310, "column": 28 } } @@ -19758,16 +19328,16 @@ "value": "{1}", "raw": "'{1}'", "range": [ - 9911, - 9916 + 9715, + 9720 ], "loc": { "start": { - "line": 317, + "line": 310, "column": 29 }, "end": { - "line": 317, + "line": 310, "column": 34 } } @@ -19777,110 +19347,110 @@ "value": "ascending", "raw": "'ascending'", "range": [ - 9918, - 9929 + 9722, + 9733 ], "loc": { "start": { - "line": 317, + "line": 310, "column": 36 }, "end": { - "line": 317, + "line": 310, "column": 47 } } } ], "range": [ - 9846, - 9930 + 9650, + 9734 ], "loc": { "start": { - "line": 316, + "line": 309, "column": 32 }, "end": { - "line": 317, + "line": 310, "column": 48 } } } ], "range": [ - 9836, - 9931 + 9640, + 9735 ], "loc": { "start": { - "line": 316, + "line": 309, "column": 22 }, "end": { - "line": 317, + "line": 310, "column": 49 } } }, "range": [ - 9830, - 9932 + 9634, + 9736 ], "loc": { "start": { - "line": 316, + "line": 309, "column": 16 }, "end": { - "line": 317, + "line": 310, "column": 50 } } } ], "range": [ - 9812, - 9946 + 9616, + 9750 ], "loc": { "start": { - "line": 315, + "line": 308, "column": 24 }, "end": { - "line": 318, + "line": 311, "column": 13 } } }, "range": [ - 9802, - 9946 + 9606, + 9750 ], "loc": { "start": { - "line": 315, + "line": 308, "column": 14 }, "end": { - "line": 318, + "line": 311, "column": 13 } } }, "finalizer": null, "range": [ - 9517, - 9946 + 9321, + 9750 ], "loc": { "start": { - "line": 307, + "line": 300, "column": 12 }, "end": { - "line": 318, + "line": 311, "column": 13 } }, @@ -19889,16 +19459,16 @@ "type": "Line", "value": "in case there are alphanumeric values", "range": [ - 9946, - 9985 + 9750, + 9789 ], "loc": { "start": { - "line": 318, + "line": 311, "column": 13 }, "end": { - "line": 318, + "line": 311, "column": 52 } } @@ -19907,32 +19477,32 @@ } ], "range": [ - 9503, - 9995 + 9307, + 9799 ], "loc": { "start": { - "line": 306, + "line": 299, "column": 52 }, "end": { - "line": 319, + "line": 312, "column": 9 } } }, "alternate": null, "range": [ - 9459, - 9995 + 9263, + 9799 ], "loc": { "start": { - "line": 306, + "line": 299, "column": 8 }, "end": { - "line": 319, + "line": 312, "column": 9 } }, @@ -19941,16 +19511,16 @@ "type": "Line", "value": "asc sort", "range": [ - 9440, - 9450 + 9244, + 9254 ], "loc": { "start": { - "line": 305, + "line": 298, "column": 8 }, "end": { - "line": 305, + "line": 298, "column": 18 } } @@ -19961,16 +19531,16 @@ "type": "Line", "value": "desc sort", "range": [ - 10004, - 10015 + 9808, + 9819 ], "loc": { "start": { - "line": 320, + "line": 313, "column": 8 }, "end": { - "line": 320, + "line": 313, "column": 19 } } @@ -19994,16 +19564,16 @@ "type": "Identifier", "name": "tf", "range": [ - 10028, - 10030 + 9832, + 9834 ], "loc": { "start": { - "line": 321, + "line": 314, "column": 12 }, "end": { - "line": 321, + "line": 314, "column": 14 } } @@ -20012,31 +19582,31 @@ "type": "Identifier", "name": "sortNumDesc", "range": [ - 10031, - 10042 + 9835, + 9846 ], "loc": { "start": { - "line": 321, + "line": 314, "column": 15 }, "end": { - "line": 321, + "line": 314, "column": 26 } } }, "range": [ - 10028, - 10042 + 9832, + 9846 ], "loc": { "start": { - "line": 321, + "line": 314, "column": 12 }, "end": { - "line": 321, + "line": 314, "column": 26 } } @@ -20045,31 +19615,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 10043, - 10050 + 9847, + 9854 ], "loc": { "start": { - "line": 321, + "line": 314, "column": 27 }, "end": { - "line": 321, + "line": 314, "column": 34 } } }, "range": [ - 10028, - 10050 + 9832, + 9854 ], "loc": { "start": { - "line": 321, + "line": 314, "column": 12 }, "end": { - "line": 321, + "line": 314, "column": 34 } } @@ -20079,32 +19649,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 10051, - 10059 + 9855, + 9863 ], "loc": { "start": { - "line": 321, + "line": 314, "column": 35 }, "end": { - "line": 321, + "line": 314, "column": 43 } } } ], "range": [ - 10028, - 10060 + 9832, + 9864 ], "loc": { "start": { - "line": 321, + "line": 314, "column": 12 }, "end": { - "line": 321, + "line": 314, "column": 44 } } @@ -20117,47 +19687,47 @@ "value": 1, "raw": "1", "range": [ - 10066, - 10067 + 9870, + 9871 ], "loc": { "start": { - "line": 321, + "line": 314, "column": 50 }, "end": { - "line": 321, + "line": 314, "column": 51 } } }, "prefix": true, "range": [ - 10065, - 10067 + 9869, + 9871 ], "loc": { "start": { - "line": 321, + "line": 314, "column": 49 }, "end": { - "line": 321, + "line": 314, "column": 51 } } }, "range": [ - 10028, - 10067 + 9832, + 9871 ], "loc": { "start": { - "line": 321, + "line": 314, "column": 12 }, "end": { - "line": 321, + "line": 314, "column": 51 } } @@ -20183,16 +19753,16 @@ "object": { "type": "ThisExpression", "range": [ - 10105, - 10109 + 9909, + 9913 ], "loc": { "start": { - "line": 323, + "line": 316, "column": 16 }, "end": { - "line": 323, + "line": 316, "column": 20 } } @@ -20201,31 +19771,31 @@ "type": "Identifier", "name": "opts", "range": [ - 10110, - 10114 + 9914, + 9918 ], "loc": { "start": { - "line": 323, + "line": 316, "column": 21 }, "end": { - "line": 323, + "line": 316, "column": 25 } } }, "range": [ - 10105, - 10114 + 9909, + 9918 ], "loc": { "start": { - "line": 323, + "line": 316, "column": 16 }, "end": { - "line": 323, + "line": 316, "column": 25 } } @@ -20234,31 +19804,31 @@ "type": "Identifier", "name": "sort", "range": [ - 10115, - 10119 + 9919, + 9923 ], "loc": { "start": { - "line": 323, + "line": 316, "column": 26 }, "end": { - "line": 323, + "line": 316, "column": 30 } } }, "range": [ - 10105, - 10119 + 9909, + 9923 ], "loc": { "start": { - "line": 323, + "line": 316, "column": 16 }, "end": { - "line": 323, + "line": 316, "column": 30 } } @@ -20268,47 +19838,47 @@ "type": "Identifier", "name": "numSortDesc", "range": [ - 10120, - 10131 + 9924, + 9935 ], "loc": { "start": { - "line": 323, + "line": 316, "column": 31 }, "end": { - "line": 323, + "line": 316, "column": 42 } } } ], "range": [ - 10105, - 10132 + 9909, + 9936 ], "loc": { "start": { - "line": 323, + "line": 316, "column": 16 }, "end": { - "line": 323, + "line": 316, "column": 43 } } }, "range": [ - 10105, - 10133 + 9909, + 9937 ], "loc": { "start": { - "line": 323, + "line": 316, "column": 16 }, "end": { - "line": 323, + "line": 316, "column": 44 } } @@ -20321,16 +19891,16 @@ "object": { "type": "ThisExpression", "range": [ - 10154, - 10158 + 9958, + 9962 ], "loc": { "start": { - "line": 324, + "line": 317, "column": 20 }, "end": { - "line": 324, + "line": 317, "column": 24 } } @@ -20339,31 +19909,31 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 10159, - 10171 + 9963, + 9975 ], "loc": { "start": { - "line": 324, + "line": 317, "column": 25 }, "end": { - "line": 324, + "line": 317, "column": 37 } } }, "range": [ - 10154, - 10171 + 9958, + 9975 ], "loc": { "start": { - "line": 324, + "line": 317, "column": 20 }, "end": { - "line": 324, + "line": 317, "column": 37 } } @@ -20384,16 +19954,16 @@ "object": { "type": "ThisExpression", "range": [ - 10195, - 10199 + 9999, + 10003 ], "loc": { "start": { - "line": 325, + "line": 318, "column": 20 }, "end": { - "line": 325, + "line": 318, "column": 24 } } @@ -20402,31 +19972,31 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 10200, - 10212 + 10004, + 10016 ], "loc": { "start": { - "line": 325, + "line": 318, "column": 25 }, "end": { - "line": 325, + "line": 318, "column": 37 } } }, "range": [ - 10195, - 10212 + 9999, + 10016 ], "loc": { "start": { - "line": 325, + "line": 318, "column": 20 }, "end": { - "line": 325, + "line": 318, "column": 37 } } @@ -20435,31 +20005,31 @@ "type": "Identifier", "name": "sort", "range": [ - 10213, - 10217 + 10017, + 10021 ], "loc": { "start": { - "line": 325, + "line": 318, "column": 38 }, "end": { - "line": 325, + "line": 318, "column": 42 } } }, "range": [ - 10195, - 10217 + 9999, + 10021 ], "loc": { "start": { - "line": 325, + "line": 318, "column": 20 }, "end": { - "line": 325, + "line": 318, "column": 42 } } @@ -20469,79 +20039,79 @@ "type": "Identifier", "name": "numSortDesc", "range": [ - 10218, - 10229 + 10022, + 10033 ], "loc": { "start": { - "line": 325, + "line": 318, "column": 43 }, "end": { - "line": 325, + "line": 318, "column": 54 } } } ], "range": [ - 10195, - 10230 + 9999, + 10034 ], "loc": { "start": { - "line": 325, + "line": 318, "column": 20 }, "end": { - "line": 325, + "line": 318, "column": 55 } } }, "range": [ - 10195, - 10231 + 9999, + 10035 ], "loc": { "start": { - "line": 325, + "line": 318, "column": 20 }, "end": { - "line": 325, + "line": 318, "column": 56 } } } ], "range": [ - 10173, - 10249 + 9977, + 10053 ], "loc": { "start": { - "line": 324, + "line": 317, "column": 39 }, "end": { - "line": 326, + "line": 319, "column": 17 } } }, "alternate": null, "range": [ - 10150, - 10249 + 9954, + 10053 ], "loc": { "start": { - "line": 324, + "line": 317, "column": 16 }, "end": { - "line": 326, + "line": 319, "column": 17 } } @@ -20554,16 +20124,16 @@ "object": { "type": "ThisExpression", "range": [ - 10270, - 10274 + 10074, + 10078 ], "loc": { "start": { - "line": 327, + "line": 320, "column": 20 }, "end": { - "line": 327, + "line": 320, "column": 24 } } @@ -20572,31 +20142,31 @@ "type": "Identifier", "name": "isCustom", "range": [ - 10275, - 10283 + 10079, + 10087 ], "loc": { "start": { - "line": 327, + "line": 320, "column": 25 }, "end": { - "line": 327, + "line": 320, "column": 33 } } }, "range": [ - 10270, - 10283 + 10074, + 10087 ], "loc": { "start": { - "line": 327, + "line": 320, "column": 20 }, "end": { - "line": 327, + "line": 320, "column": 33 } } @@ -20617,16 +20187,16 @@ "object": { "type": "ThisExpression", "range": [ - 10307, - 10311 + 10111, + 10115 ], "loc": { "start": { - "line": 328, + "line": 321, "column": 20 }, "end": { - "line": 328, + "line": 321, "column": 24 } } @@ -20635,31 +20205,31 @@ "type": "Identifier", "name": "optsTxt", "range": [ - 10312, - 10319 + 10116, + 10123 ], "loc": { "start": { - "line": 328, + "line": 321, "column": 25 }, "end": { - "line": 328, + "line": 321, "column": 32 } } }, "range": [ - 10307, - 10319 + 10111, + 10123 ], "loc": { "start": { - "line": 328, + "line": 321, "column": 20 }, "end": { - "line": 328, + "line": 321, "column": 32 } } @@ -20668,31 +20238,31 @@ "type": "Identifier", "name": "sort", "range": [ - 10320, - 10324 + 10124, + 10128 ], "loc": { "start": { - "line": 328, + "line": 321, "column": 33 }, "end": { - "line": 328, + "line": 321, "column": 37 } } }, "range": [ - 10307, - 10324 + 10111, + 10128 ], "loc": { "start": { - "line": 328, + "line": 321, "column": 20 }, "end": { - "line": 328, + "line": 321, "column": 37 } } @@ -20702,95 +20272,95 @@ "type": "Identifier", "name": "numSortDesc", "range": [ - 10325, - 10336 + 10129, + 10140 ], "loc": { "start": { - "line": 328, + "line": 321, "column": 38 }, "end": { - "line": 328, + "line": 321, "column": 49 } } } ], "range": [ - 10307, - 10337 + 10111, + 10141 ], "loc": { "start": { - "line": 328, + "line": 321, "column": 20 }, "end": { - "line": 328, + "line": 321, "column": 50 } } }, "range": [ - 10307, - 10338 + 10111, + 10142 ], "loc": { "start": { - "line": 328, + "line": 321, "column": 20 }, "end": { - "line": 328, + "line": 321, "column": 51 } } } ], "range": [ - 10285, - 10356 + 10089, + 10160 ], "loc": { "start": { - "line": 327, + "line": 320, "column": 35 }, "end": { - "line": 329, + "line": 322, "column": 17 } } }, "alternate": null, "range": [ - 10266, - 10356 + 10070, + 10160 ], "loc": { "start": { - "line": 327, + "line": 320, "column": 16 }, "end": { - "line": 329, + "line": 322, "column": 17 } } } ], "range": [ - 10087, - 10370 + 9891, + 10174 ], "loc": { "start": { - "line": 322, + "line": 315, "column": 16 }, "end": { - "line": 330, + "line": 323, "column": 13 } } @@ -20801,16 +20371,16 @@ "type": "Identifier", "name": "e", "range": [ - 10378, - 10379 + 10182, + 10183 ], "loc": { "start": { - "line": 330, + "line": 323, "column": 21 }, "end": { - "line": 330, + "line": 323, "column": 22 } } @@ -20826,16 +20396,16 @@ "type": "Identifier", "name": "Error", "range": [ - 10409, - 10414 + 10213, + 10218 ], "loc": { "start": { - "line": 331, + "line": 324, "column": 26 }, "end": { - "line": 331, + "line": 324, "column": 31 } } @@ -20855,16 +20425,16 @@ "type": "Identifier", "name": "SORT_ERROR", "range": [ - 10415, - 10425 + 10219, + 10229 ], "loc": { "start": { - "line": 331, + "line": 324, "column": 32 }, "end": { - "line": 331, + "line": 324, "column": 42 } } @@ -20873,31 +20443,31 @@ "type": "Identifier", "name": "replace", "range": [ - 10426, - 10433 + 10230, + 10237 ], "loc": { "start": { - "line": 331, + "line": 324, "column": 43 }, "end": { - "line": 331, + "line": 324, "column": 50 } } }, "range": [ - 10415, - 10433 + 10219, + 10237 ], "loc": { "start": { - "line": 331, + "line": 324, "column": 32 }, "end": { - "line": 331, + "line": 324, "column": 50 } } @@ -20908,16 +20478,16 @@ "value": "{0}", "raw": "'{0}'", "range": [ - 10434, - 10439 + 10238, + 10243 ], "loc": { "start": { - "line": 331, + "line": 324, "column": 51 }, "end": { - "line": 331, + "line": 324, "column": 56 } } @@ -20926,32 +20496,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 10441, - 10449 + 10245, + 10253 ], "loc": { "start": { - "line": 331, + "line": 324, "column": 58 }, "end": { - "line": 331, + "line": 324, "column": 66 } } } ], "range": [ - 10415, - 10450 + 10219, + 10254 ], "loc": { "start": { - "line": 331, + "line": 324, "column": 32 }, "end": { - "line": 331, + "line": 324, "column": 67 } } @@ -20960,31 +20530,31 @@ "type": "Identifier", "name": "replace", "range": [ - 10472, - 10479 + 10276, + 10283 ], "loc": { "start": { - "line": 332, + "line": 325, "column": 21 }, "end": { - "line": 332, + "line": 325, "column": 28 } } }, "range": [ - 10415, - 10479 + 10219, + 10283 ], "loc": { "start": { - "line": 331, + "line": 324, "column": 32 }, "end": { - "line": 332, + "line": 325, "column": 28 } } @@ -20995,16 +20565,16 @@ "value": "{1}", "raw": "'{1}'", "range": [ - 10480, - 10485 + 10284, + 10289 ], "loc": { "start": { - "line": 332, + "line": 325, "column": 29 }, "end": { - "line": 332, + "line": 325, "column": 34 } } @@ -21014,110 +20584,110 @@ "value": "descending", "raw": "'descending'", "range": [ - 10487, - 10499 + 10291, + 10303 ], "loc": { "start": { - "line": 332, + "line": 325, "column": 36 }, "end": { - "line": 332, + "line": 325, "column": 48 } } } ], "range": [ - 10415, - 10500 + 10219, + 10304 ], "loc": { "start": { - "line": 331, + "line": 324, "column": 32 }, "end": { - "line": 332, + "line": 325, "column": 49 } } } ], "range": [ - 10405, - 10501 + 10209, + 10305 ], "loc": { "start": { - "line": 331, + "line": 324, "column": 22 }, "end": { - "line": 332, + "line": 325, "column": 50 } } }, "range": [ - 10399, - 10502 + 10203, + 10306 ], "loc": { "start": { - "line": 331, + "line": 324, "column": 16 }, "end": { - "line": 332, + "line": 325, "column": 51 } } } ], "range": [ - 10381, - 10516 + 10185, + 10320 ], "loc": { "start": { - "line": 330, + "line": 323, "column": 24 }, "end": { - "line": 333, + "line": 326, "column": 13 } } }, "range": [ - 10371, - 10516 + 10175, + 10320 ], "loc": { "start": { - "line": 330, + "line": 323, "column": 14 }, "end": { - "line": 333, + "line": 326, "column": 13 } } }, "finalizer": null, "range": [ - 10083, - 10516 + 9887, + 10320 ], "loc": { "start": { - "line": 322, + "line": 315, "column": 12 }, "end": { - "line": 333, + "line": 326, "column": 13 } }, @@ -21126,16 +20696,16 @@ "type": "Line", "value": "in case there are alphanumeric values", "range": [ - 10516, - 10555 + 10320, + 10359 ], "loc": { "start": { - "line": 333, + "line": 326, "column": 13 }, "end": { - "line": 333, + "line": 326, "column": 52 } } @@ -21144,32 +20714,32 @@ } ], "range": [ - 10069, - 10565 + 9873, + 10369 ], "loc": { "start": { - "line": 321, + "line": 314, "column": 53 }, "end": { - "line": 334, + "line": 327, "column": 9 } } }, "alternate": null, "range": [ - 10024, - 10565 + 9828, + 10369 ], "loc": { "start": { - "line": 321, + "line": 314, "column": 8 }, "end": { - "line": 334, + "line": 327, "column": 9 } }, @@ -21178,16 +20748,16 @@ "type": "Line", "value": "in case there are alphanumeric values", "range": [ - 9946, - 9985 + 9750, + 9789 ], "loc": { "start": { - "line": 318, + "line": 311, "column": 13 }, "end": { - "line": 318, + "line": 311, "column": 52 } } @@ -21196,16 +20766,16 @@ "type": "Line", "value": "desc sort", "range": [ - 10004, - 10015 + 9808, + 9819 ], "loc": { "start": { - "line": 320, + "line": 313, "column": 8 }, "end": { - "line": 320, + "line": 313, "column": 19 } } @@ -21222,16 +20792,16 @@ "object": { "type": "ThisExpression", "range": [ - 10575, - 10579 + 10379, + 10383 ], "loc": { "start": { - "line": 336, + "line": 329, "column": 8 }, "end": { - "line": 336, + "line": 329, "column": 12 } } @@ -21240,31 +20810,31 @@ "type": "Identifier", "name": "addChecks", "range": [ - 10580, - 10589 + 10384, + 10393 ], "loc": { "start": { - "line": 336, + "line": 329, "column": 13 }, "end": { - "line": 336, + "line": 329, "column": 22 } } }, "range": [ - 10575, - 10589 + 10379, + 10393 ], "loc": { "start": { - "line": 336, + "line": 329, "column": 8 }, "end": { - "line": 336, + "line": 329, "column": 22 } } @@ -21274,16 +20844,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 10590, - 10598 + 10394, + 10402 ], "loc": { "start": { - "line": 336, + "line": 329, "column": 23 }, "end": { - "line": 336, + "line": 329, "column": 31 } } @@ -21292,47 +20862,47 @@ "type": "Identifier", "name": "ul", "range": [ - 10600, - 10602 + 10404, + 10406 ], "loc": { "start": { - "line": 336, + "line": 329, "column": 33 }, "end": { - "line": 336, + "line": 329, "column": 35 } } } ], "range": [ - 10575, - 10603 + 10379, + 10407 ], "loc": { "start": { - "line": 336, + "line": 329, "column": 8 }, "end": { - "line": 336, + "line": 329, "column": 36 } } }, "range": [ - 10575, - 10604 + 10379, + 10408 ], "loc": { "start": { - "line": 336, + "line": 329, "column": 8 }, "end": { - "line": 336, + "line": 329, "column": 37 } }, @@ -21341,16 +20911,16 @@ "type": "Line", "value": "in case there are alphanumeric values", "range": [ - 10516, - 10555 + 10320, + 10359 ], "loc": { "start": { - "line": 333, + "line": 326, "column": 13 }, "end": { - "line": 333, + "line": 326, "column": 52 } } @@ -21366,16 +20936,16 @@ "type": "Identifier", "name": "tf", "range": [ - 10618, - 10620 + 10422, + 10424 ], "loc": { "start": { - "line": 338, + "line": 331, "column": 12 }, "end": { - "line": 338, + "line": 331, "column": 14 } } @@ -21384,31 +20954,31 @@ "type": "Identifier", "name": "loadFltOnDemand", "range": [ - 10621, - 10636 + 10425, + 10440 ], "loc": { "start": { - "line": 338, + "line": 331, "column": 15 }, "end": { - "line": 338, + "line": 331, "column": 30 } } }, "range": [ - 10618, - 10636 + 10422, + 10440 ], "loc": { "start": { - "line": 338, + "line": 331, "column": 12 }, "end": { - "line": 338, + "line": 331, "column": 30 } } @@ -21428,16 +20998,16 @@ "type": "Identifier", "name": "flt", "range": [ - 10652, - 10655 + 10456, + 10459 ], "loc": { "start": { - "line": 339, + "line": 332, "column": 12 }, "end": { - "line": 339, + "line": 332, "column": 15 } } @@ -21446,31 +21016,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 10656, - 10665 + 10460, + 10469 ], "loc": { "start": { - "line": 339, + "line": 332, "column": 16 }, "end": { - "line": 339, + "line": 332, "column": 25 } } }, "range": [ - 10652, - 10665 + 10456, + 10469 ], "loc": { "start": { - "line": 339, + "line": 332, "column": 12 }, "end": { - "line": 339, + "line": 332, "column": 25 } } @@ -21480,78 +21050,78 @@ "value": "", "raw": "''", "range": [ - 10668, - 10670 + 10472, + 10474 ], "loc": { "start": { - "line": 339, + "line": 332, "column": 28 }, "end": { - "line": 339, + "line": 332, "column": 30 } } }, "range": [ - 10652, - 10670 + 10456, + 10474 ], "loc": { "start": { - "line": 339, + "line": 332, "column": 12 }, "end": { - "line": 339, + "line": 332, "column": 30 } } }, "range": [ - 10652, - 10671 + 10456, + 10475 ], "loc": { "start": { - "line": 339, + "line": 332, "column": 12 }, "end": { - "line": 339, + "line": 332, "column": 31 } } } ], "range": [ - 10638, - 10681 + 10442, + 10485 ], "loc": { "start": { - "line": 338, + "line": 331, "column": 32 }, "end": { - "line": 340, + "line": 333, "column": 9 } } }, "alternate": null, "range": [ - 10614, - 10681 + 10418, + 10485 ], "loc": { "start": { - "line": 338, + "line": 331, "column": 8 }, "end": { - "line": 340, + "line": 333, "column": 9 } } @@ -21567,16 +21137,16 @@ "type": "Identifier", "name": "flt", "range": [ - 10690, - 10693 + 10494, + 10497 ], "loc": { "start": { - "line": 341, + "line": 334, "column": 8 }, "end": { - "line": 341, + "line": 334, "column": 11 } } @@ -21585,31 +21155,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 10694, - 10705 + 10498, + 10509 ], "loc": { "start": { - "line": 341, + "line": 334, "column": 12 }, "end": { - "line": 341, + "line": 334, "column": 23 } } }, "range": [ - 10690, - 10705 + 10494, + 10509 ], "loc": { "start": { - "line": 341, + "line": 334, "column": 8 }, "end": { - "line": 341, + "line": 334, "column": 23 } } @@ -21619,47 +21189,47 @@ "type": "Identifier", "name": "ul", "range": [ - 10706, - 10708 + 10510, + 10512 ], "loc": { "start": { - "line": 341, + "line": 334, "column": 24 }, "end": { - "line": 341, + "line": 334, "column": 26 } } } ], "range": [ - 10690, - 10709 + 10494, + 10513 ], "loc": { "start": { - "line": 341, + "line": 334, "column": 8 }, "end": { - "line": 341, + "line": 334, "column": 27 } } }, "range": [ - 10690, - 10710 + 10494, + 10514 ], "loc": { "start": { - "line": 341, + "line": 334, "column": 8 }, "end": { - "line": 341, + "line": 334, "column": 28 } } @@ -21675,16 +21245,16 @@ "type": "Identifier", "name": "flt", "range": [ - 10719, - 10722 + 10523, + 10526 ], "loc": { "start": { - "line": 342, + "line": 335, "column": 8 }, "end": { - "line": 342, + "line": 335, "column": 11 } } @@ -21693,31 +21263,31 @@ "type": "Identifier", "name": "setAttribute", "range": [ - 10723, - 10735 + 10527, + 10539 ], "loc": { "start": { - "line": 342, + "line": 335, "column": 12 }, "end": { - "line": 342, + "line": 335, "column": 24 } } }, "range": [ - 10719, - 10735 + 10523, + 10539 ], "loc": { "start": { - "line": 342, + "line": 335, "column": 8 }, "end": { - "line": 342, + "line": 335, "column": 24 } } @@ -21728,16 +21298,16 @@ "value": "filled", "raw": "'filled'", "range": [ - 10736, - 10744 + 10540, + 10548 ], "loc": { "start": { - "line": 342, + "line": 335, "column": 25 }, "end": { - "line": 342, + "line": 335, "column": 33 } } @@ -21747,47 +21317,47 @@ "value": "1", "raw": "'1'", "range": [ - 10746, - 10749 + 10550, + 10553 ], "loc": { "start": { - "line": 342, + "line": 335, "column": 35 }, "end": { - "line": 342, + "line": 335, "column": 38 } } } ], "range": [ - 10719, - 10750 + 10523, + 10554 ], "loc": { "start": { - "line": 342, + "line": 335, "column": 8 }, "end": { - "line": 342, + "line": 335, "column": 39 } } }, "range": [ - 10719, - 10751 + 10523, + 10555 ], "loc": { "start": { - "line": 342, + "line": 335, "column": 8 }, "end": { - "line": 342, + "line": 335, "column": 40 } } @@ -21805,16 +21375,16 @@ "object": { "type": "ThisExpression", "range": [ - 10761, - 10765 + 10565, + 10569 ], "loc": { "start": { - "line": 344, + "line": 337, "column": 8 }, "end": { - "line": 344, + "line": 337, "column": 12 } } @@ -21823,31 +21393,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 10766, - 10773 + 10570, + 10577 ], "loc": { "start": { - "line": 344, + "line": 337, "column": 13 }, "end": { - "line": 344, + "line": 337, "column": 20 } } }, "range": [ - 10761, - 10773 + 10565, + 10577 ], "loc": { "start": { - "line": 344, + "line": 337, "column": 8 }, "end": { - "line": 344, + "line": 337, "column": 20 } } @@ -21856,31 +21426,31 @@ "type": "Identifier", "name": "emit", "range": [ - 10774, - 10778 + 10578, + 10582 ], "loc": { "start": { - "line": 344, + "line": 337, "column": 21 }, "end": { - "line": 344, + "line": 337, "column": 25 } } }, "range": [ - 10761, - 10778 + 10565, + 10582 ], "loc": { "start": { - "line": 344, + "line": 337, "column": 8 }, "end": { - "line": 344, + "line": 337, "column": 25 } } @@ -21891,16 +21461,16 @@ "value": "after-populating-filter", "raw": "'after-populating-filter'", "range": [ - 10779, - 10804 + 10583, + 10608 ], "loc": { "start": { - "line": 344, + "line": 337, "column": 26 }, "end": { - "line": 344, + "line": 337, "column": 51 } } @@ -21909,16 +21479,16 @@ "type": "Identifier", "name": "tf", "range": [ - 10806, - 10808 + 10610, + 10612 ], "loc": { "start": { - "line": 344, + "line": 337, "column": 53 }, "end": { - "line": 344, + "line": 337, "column": 55 } } @@ -21927,16 +21497,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 10810, - 10818 + 10614, + 10622 ], "loc": { "start": { - "line": 344, + "line": 337, "column": 57 }, "end": { - "line": 344, + "line": 337, "column": 65 } } @@ -21945,63 +21515,63 @@ "type": "Identifier", "name": "flt", "range": [ - 10820, - 10823 + 10624, + 10627 ], "loc": { "start": { - "line": 344, + "line": 337, "column": 67 }, "end": { - "line": 344, + "line": 337, "column": 70 } } } ], "range": [ - 10761, - 10824 + 10565, + 10628 ], "loc": { "start": { - "line": 344, + "line": 337, "column": 8 }, "end": { - "line": 344, + "line": 337, "column": 71 } } }, "range": [ - 10761, - 10825 + 10565, + 10629 ], "loc": { "start": { - "line": 344, + "line": 337, "column": 8 }, "end": { - "line": 344, + "line": 337, "column": 72 } } } ], "range": [ - 5648, - 10831 + 5511, + 10635 ], "loc": { "start": { - "line": 203, + "line": 197, "column": 20 }, "end": { - "line": 345, + "line": 338, "column": 5 } } @@ -22009,16 +21579,16 @@ "generator": false, "expression": false, "range": [ - 5637, - 10831 + 5500, + 10635 ], "loc": { "start": { - "line": 203, + "line": 197, "column": 9 }, "end": { - "line": 345, + "line": 338, "column": 5 } } @@ -22026,16 +21596,16 @@ "kind": "method", "computed": false, "range": [ - 5632, - 10831 + 5495, + 10635 ], "loc": { "start": { - "line": 203, + "line": 197, "column": 4 }, "end": { - "line": 345, + "line": 338, "column": 5 } }, @@ -22044,16 +21614,16 @@ "type": "Block", "value": "*\n * Build checklist UI\n * @param {Number} colIndex Column index\n ", "range": [ - 5541, - 5627 + 5404, + 5490 ], "loc": { "start": { - "line": 199, + "line": 193, "column": 4 }, "end": { - "line": 202, + "line": 196, "column": 7 } } @@ -22064,16 +21634,16 @@ "type": "Block", "value": "*\n * Add checklist options\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n ", "range": [ - 10837, - 10967 + 10641, + 10771 ], "loc": { "start": { - "line": 347, + "line": 340, "column": 4 }, "end": { - "line": 351, + "line": 344, "column": 7 } } @@ -22087,16 +21657,16 @@ "type": "Identifier", "name": "addChecks", "range": [ - 10972, - 10981 + 10776, + 10785 ], "loc": { "start": { - "line": 352, + "line": 345, "column": 4 }, "end": { - "line": 352, + "line": 345, "column": 13 } } @@ -22109,16 +21679,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 10982, - 10990 + 10786, + 10794 ], "loc": { "start": { - "line": 352, + "line": 345, "column": 14 }, "end": { - "line": 352, + "line": 345, "column": 22 } } @@ -22127,16 +21697,16 @@ "type": "Identifier", "name": "ul", "range": [ - 10992, - 10994 + 10796, + 10798 ], "loc": { "start": { - "line": 352, + "line": 345, "column": 24 }, "end": { - "line": 352, + "line": 345, "column": 26 } } @@ -22154,16 +21724,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11010, - 11012 + 10814, + 10816 ], "loc": { "start": { - "line": 353, + "line": 346, "column": 12 }, "end": { - "line": 353, + "line": 346, "column": 14 } } @@ -22174,16 +21744,16 @@ "object": { "type": "ThisExpression", "range": [ - 11015, - 11019 + 10819, + 10823 ], "loc": { "start": { - "line": 353, + "line": 346, "column": 17 }, "end": { - "line": 353, + "line": 346, "column": 21 } } @@ -22192,46 +21762,46 @@ "type": "Identifier", "name": "tf", "range": [ - 11020, - 11022 + 10824, + 10826 ], "loc": { "start": { - "line": 353, + "line": 346, "column": 22 }, "end": { - "line": 353, + "line": 346, "column": 24 } } }, "range": [ - 11015, - 11022 + 10819, + 10826 ], "loc": { "start": { - "line": 353, + "line": 346, "column": 17 }, "end": { - "line": 353, + "line": 346, "column": 24 } } }, "range": [ - 11010, - 11022 + 10814, + 10826 ], "loc": { "start": { - "line": 353, + "line": 346, "column": 12 }, "end": { - "line": 353, + "line": 346, "column": 24 } } @@ -22239,16 +21809,16 @@ ], "kind": "let", "range": [ - 11006, - 11023 + 10810, + 10827 ], "loc": { "start": { - "line": 353, + "line": 346, "column": 8 }, "end": { - "line": 353, + "line": 346, "column": 25 } } @@ -22262,16 +21832,16 @@ "type": "Identifier", "name": "chkCt", "range": [ - 11036, - 11041 + 10840, + 10845 ], "loc": { "start": { - "line": 354, + "line": 347, "column": 12 }, "end": { - "line": 354, + "line": 347, "column": 17 } } @@ -22284,16 +21854,16 @@ "object": { "type": "ThisExpression", "range": [ - 11044, - 11048 + 10848, + 10852 ], "loc": { "start": { - "line": 354, + "line": 347, "column": 20 }, "end": { - "line": 354, + "line": 347, "column": 24 } } @@ -22302,31 +21872,31 @@ "type": "Identifier", "name": "addTChecks", "range": [ - 11049, - 11059 + 10853, + 10863 ], "loc": { "start": { - "line": 354, + "line": 347, "column": 25 }, "end": { - "line": 354, + "line": 347, "column": 35 } } }, "range": [ - 11044, - 11059 + 10848, + 10863 ], "loc": { "start": { - "line": 354, + "line": 347, "column": 20 }, "end": { - "line": 354, + "line": 347, "column": 35 } } @@ -22336,16 +21906,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 11060, - 11068 + 10864, + 10872 ], "loc": { "start": { - "line": 354, + "line": 347, "column": 36 }, "end": { - "line": 354, + "line": 347, "column": 44 } } @@ -22354,47 +21924,47 @@ "type": "Identifier", "name": "ul", "range": [ - 11070, - 11072 + 10874, + 10876 ], "loc": { "start": { - "line": 354, + "line": 347, "column": 46 }, "end": { - "line": 354, + "line": 347, "column": 48 } } } ], "range": [ - 11044, - 11073 + 10848, + 10877 ], "loc": { "start": { - "line": 354, + "line": 347, "column": 20 }, "end": { - "line": 354, + "line": 347, "column": 49 } } }, "range": [ - 11036, - 11073 + 10840, + 10877 ], "loc": { "start": { - "line": 354, + "line": 347, "column": 12 }, "end": { - "line": 354, + "line": 347, "column": 49 } } @@ -22402,16 +21972,16 @@ ], "kind": "let", "range": [ - 11032, - 11074 + 10836, + 10878 ], "loc": { "start": { - "line": 354, + "line": 347, "column": 8 }, "end": { - "line": 354, + "line": 347, "column": 50 } } @@ -22427,16 +21997,16 @@ "type": "Identifier", "name": "y", "range": [ - 11093, - 11094 + 10897, + 10898 ], "loc": { "start": { - "line": 356, + "line": 349, "column": 17 }, "end": { - "line": 356, + "line": 349, "column": 18 } } @@ -22446,31 +22016,31 @@ "value": 0, "raw": "0", "range": [ - 11097, - 11098 + 10901, + 10902 ], "loc": { "start": { - "line": 356, + "line": 349, "column": 21 }, "end": { - "line": 356, + "line": 349, "column": 22 } } }, "range": [ - 11093, - 11098 + 10897, + 10902 ], "loc": { "start": { - "line": 356, + "line": 349, "column": 17 }, "end": { - "line": 356, + "line": 349, "column": 22 } } @@ -22478,16 +22048,16 @@ ], "kind": "let", "range": [ - 11089, - 11098 + 10893, + 10902 ], "loc": { "start": { - "line": 356, + "line": 349, "column": 13 }, "end": { - "line": 356, + "line": 349, "column": 22 } } @@ -22499,16 +22069,16 @@ "type": "Identifier", "name": "y", "range": [ - 11100, - 11101 + 10904, + 10905 ], "loc": { "start": { - "line": 356, + "line": 349, "column": 24 }, "end": { - "line": 356, + "line": 349, "column": 25 } } @@ -22522,16 +22092,16 @@ "object": { "type": "ThisExpression", "range": [ - 11104, - 11108 + 10908, + 10912 ], "loc": { "start": { - "line": 356, + "line": 349, "column": 28 }, "end": { - "line": 356, + "line": 349, "column": 32 } } @@ -22540,31 +22110,31 @@ "type": "Identifier", "name": "opts", "range": [ - 11109, - 11113 + 10913, + 10917 ], "loc": { "start": { - "line": 356, + "line": 349, "column": 33 }, "end": { - "line": 356, + "line": 349, "column": 37 } } }, "range": [ - 11104, - 11113 + 10908, + 10917 ], "loc": { "start": { - "line": 356, + "line": 349, "column": 28 }, "end": { - "line": 356, + "line": 349, "column": 37 } } @@ -22573,46 +22143,46 @@ "type": "Identifier", "name": "length", "range": [ - 11114, - 11120 + 10918, + 10924 ], "loc": { "start": { - "line": 356, + "line": 349, "column": 38 }, "end": { - "line": 356, + "line": 349, "column": 44 } } }, "range": [ - 11104, - 11120 + 10908, + 10924 ], "loc": { "start": { - "line": 356, + "line": 349, "column": 28 }, "end": { - "line": 356, + "line": 349, "column": 44 } } }, "range": [ - 11100, - 11120 + 10904, + 10924 ], "loc": { "start": { - "line": 356, + "line": 349, "column": 24 }, "end": { - "line": 356, + "line": 349, "column": 44 } } @@ -22624,32 +22194,32 @@ "type": "Identifier", "name": "y", "range": [ - 11122, - 11123 + 10926, + 10927 ], "loc": { "start": { - "line": 356, + "line": 349, "column": 46 }, "end": { - "line": 356, + "line": 349, "column": 47 } } }, "prefix": false, "range": [ - 11122, - 11125 + 10926, + 10929 ], "loc": { "start": { - "line": 356, + "line": 349, "column": 46 }, "end": { - "line": 356, + "line": 349, "column": 49 } } @@ -22666,16 +22236,16 @@ "type": "Identifier", "name": "val", "range": [ - 11145, - 11148 + 10949, + 10952 ], "loc": { "start": { - "line": 357, + "line": 350, "column": 16 }, "end": { - "line": 357, + "line": 350, "column": 19 } } @@ -22689,16 +22259,16 @@ "object": { "type": "ThisExpression", "range": [ - 11151, - 11155 + 10955, + 10959 ], "loc": { "start": { - "line": 357, + "line": 350, "column": 22 }, "end": { - "line": 357, + "line": 350, "column": 26 } } @@ -22707,31 +22277,31 @@ "type": "Identifier", "name": "opts", "range": [ - 11156, - 11160 + 10960, + 10964 ], "loc": { "start": { - "line": 357, + "line": 350, "column": 27 }, "end": { - "line": 357, + "line": 350, "column": 31 } } }, "range": [ - 11151, - 11160 + 10955, + 10964 ], "loc": { "start": { - "line": 357, + "line": 350, "column": 22 }, "end": { - "line": 357, + "line": 350, "column": 31 } } @@ -22740,46 +22310,46 @@ "type": "Identifier", "name": "y", "range": [ - 11161, - 11162 + 10965, + 10966 ], "loc": { "start": { - "line": 357, + "line": 350, "column": 32 }, "end": { - "line": 357, + "line": 350, "column": 33 } } }, "range": [ - 11151, - 11163 + 10955, + 10967 ], "loc": { "start": { - "line": 357, + "line": 350, "column": 22 }, "end": { - "line": 357, + "line": 350, "column": 34 } } }, "range": [ - 11145, - 11163 + 10949, + 10967 ], "loc": { "start": { - "line": 357, + "line": 350, "column": 16 }, "end": { - "line": 357, + "line": 350, "column": 34 } } @@ -22787,16 +22357,16 @@ ], "kind": "let", "range": [ - 11141, - 11164 + 10945, + 10968 ], "loc": { "start": { - "line": 357, + "line": 350, "column": 12 }, "end": { - "line": 357, + "line": 350, "column": 35 } }, @@ -22805,16 +22375,16 @@ "type": "Line", "value": "item value", "range": [ - 11165, - 11177 + 10969, + 10981 ], "loc": { "start": { - "line": 357, + "line": 350, "column": 36 }, "end": { - "line": 357, + "line": 350, "column": 48 } } @@ -22830,16 +22400,16 @@ "type": "Identifier", "name": "lbl", "range": [ - 11194, - 11197 + 10998, + 11001 ], "loc": { "start": { - "line": 358, + "line": 351, "column": 16 }, "end": { - "line": 358, + "line": 351, "column": 19 } } @@ -22852,16 +22422,16 @@ "object": { "type": "ThisExpression", "range": [ - 11200, - 11204 + 11004, + 11008 ], "loc": { "start": { - "line": 358, + "line": 351, "column": 22 }, "end": { - "line": 358, + "line": 351, "column": 26 } } @@ -22870,31 +22440,31 @@ "type": "Identifier", "name": "isCustom", "range": [ - 11205, - 11213 + 11009, + 11017 ], "loc": { "start": { - "line": 358, + "line": 351, "column": 27 }, "end": { - "line": 358, + "line": 351, "column": 35 } } }, "range": [ - 11200, - 11213 + 11004, + 11017 ], "loc": { "start": { - "line": 358, + "line": 351, "column": 22 }, "end": { - "line": 358, + "line": 351, "column": 35 } } @@ -22908,16 +22478,16 @@ "object": { "type": "ThisExpression", "range": [ - 11216, - 11220 + 11020, + 11024 ], "loc": { "start": { - "line": 358, + "line": 351, "column": 38 }, "end": { - "line": 358, + "line": 351, "column": 42 } } @@ -22926,31 +22496,31 @@ "type": "Identifier", "name": "optsTxt", "range": [ - 11221, - 11228 + 11025, + 11032 ], "loc": { "start": { - "line": 358, + "line": 351, "column": 43 }, "end": { - "line": 358, + "line": 351, "column": 50 } } }, "range": [ - 11216, - 11228 + 11020, + 11032 ], "loc": { "start": { - "line": 358, + "line": 351, "column": 38 }, "end": { - "line": 358, + "line": 351, "column": 50 } } @@ -22959,31 +22529,31 @@ "type": "Identifier", "name": "y", "range": [ - 11229, - 11230 + 11033, + 11034 ], "loc": { "start": { - "line": 358, + "line": 351, "column": 51 }, "end": { - "line": 358, + "line": 351, "column": 52 } } }, "range": [ - 11216, - 11231 + 11020, + 11035 ], "loc": { "start": { - "line": 358, + "line": 351, "column": 38 }, "end": { - "line": 358, + "line": 351, "column": 53 } } @@ -22992,46 +22562,46 @@ "type": "Identifier", "name": "val", "range": [ - 11234, - 11237 + 11038, + 11041 ], "loc": { "start": { - "line": 358, + "line": 351, "column": 56 }, "end": { - "line": 358, + "line": 351, "column": 59 } } }, "range": [ - 11200, - 11237 + 11004, + 11041 ], "loc": { "start": { - "line": 358, + "line": 351, "column": 22 }, "end": { - "line": 358, + "line": 351, "column": 59 } } }, "range": [ - 11194, - 11237 + 10998, + 11041 ], "loc": { "start": { - "line": 358, + "line": 351, "column": 16 }, "end": { - "line": 358, + "line": 351, "column": 59 } } @@ -23039,16 +22609,16 @@ ], "kind": "let", "range": [ - 11190, - 11238 + 10994, + 11042 ], "loc": { "start": { - "line": 358, + "line": 351, "column": 12 }, "end": { - "line": 358, + "line": 351, "column": 60 } }, @@ -23057,16 +22627,16 @@ "type": "Line", "value": "item value", "range": [ - 11165, - 11177 + 10969, + 10981 ], "loc": { "start": { - "line": 357, + "line": 350, "column": 36 }, "end": { - "line": 357, + "line": 350, "column": 48 } } @@ -23077,16 +22647,16 @@ "type": "Line", "value": "item text", "range": [ - 11239, - 11250 + 11043, + 11054 ], "loc": { "start": { - "line": 358, + "line": 351, "column": 61 }, "end": { - "line": 358, + "line": 351, "column": 72 } } @@ -23102,16 +22672,16 @@ "type": "Identifier", "name": "li", "range": [ - 11267, - 11269 + 11071, + 11073 ], "loc": { "start": { - "line": 359, + "line": 352, "column": 16 }, "end": { - "line": 359, + "line": 352, "column": 18 } } @@ -23122,16 +22692,16 @@ "type": "Identifier", "name": "createCheckItem", "range": [ - 11272, - 11287 + 11076, + 11091 ], "loc": { "start": { - "line": 359, + "line": 352, "column": 21 }, "end": { - "line": 359, + "line": 352, "column": 36 } } @@ -23153,16 +22723,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11288, - 11290 + 11092, + 11094 ], "loc": { "start": { - "line": 359, + "line": 352, "column": 37 }, "end": { - "line": 359, + "line": 352, "column": 39 } } @@ -23171,31 +22741,31 @@ "type": "Identifier", "name": "fltIds", "range": [ - 11291, - 11297 + 11095, + 11101 ], "loc": { "start": { - "line": 359, + "line": 352, "column": 40 }, "end": { - "line": 359, + "line": 352, "column": 46 } } }, "range": [ - 11288, - 11297 + 11092, + 11101 ], "loc": { "start": { - "line": 359, + "line": 352, "column": 37 }, "end": { - "line": 359, + "line": 352, "column": 46 } } @@ -23204,31 +22774,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 11298, - 11306 + 11102, + 11110 ], "loc": { "start": { - "line": 359, + "line": 352, "column": 47 }, "end": { - "line": 359, + "line": 352, "column": 55 } } }, "range": [ - 11288, - 11307 + 11092, + 11111 ], "loc": { "start": { - "line": 359, + "line": 352, "column": 37 }, "end": { - "line": 359, + "line": 352, "column": 56 } } @@ -23238,31 +22808,31 @@ "value": "_", "raw": "'_'", "range": [ - 11310, - 11313 + 11114, + 11117 ], "loc": { "start": { - "line": 359, + "line": 352, "column": 59 }, "end": { - "line": 359, + "line": 352, "column": 62 } } }, "range": [ - 11288, - 11313 + 11092, + 11117 ], "loc": { "start": { - "line": 359, + "line": 352, "column": 37 }, "end": { - "line": 359, + "line": 352, "column": 62 } } @@ -23274,16 +22844,16 @@ "type": "Identifier", "name": "y", "range": [ - 11317, - 11318 + 11121, + 11122 ], "loc": { "start": { - "line": 359, + "line": 352, "column": 66 }, "end": { - "line": 359, + "line": 352, "column": 67 } } @@ -23292,46 +22862,46 @@ "type": "Identifier", "name": "chkCt", "range": [ - 11321, - 11326 + 11125, + 11130 ], "loc": { "start": { - "line": 359, + "line": 352, "column": 70 }, "end": { - "line": 359, + "line": 352, "column": 75 } } }, "range": [ - 11317, - 11326 + 11121, + 11130 ], "loc": { "start": { - "line": 359, + "line": 352, "column": 66 }, "end": { - "line": 359, + "line": 352, "column": 75 } } }, "range": [ - 11288, - 11327 + 11092, + 11131 ], "loc": { "start": { - "line": 359, + "line": 352, "column": 37 }, "end": { - "line": 359, + "line": 352, "column": 76 } } @@ -23340,16 +22910,16 @@ "type": "Identifier", "name": "val", "range": [ - 11345, - 11348 + 11149, + 11152 ], "loc": { "start": { - "line": 360, + "line": 353, "column": 16 }, "end": { - "line": 360, + "line": 353, "column": 19 } } @@ -23358,47 +22928,47 @@ "type": "Identifier", "name": "lbl", "range": [ - 11350, - 11353 + 11154, + 11157 ], "loc": { "start": { - "line": 360, + "line": 353, "column": 21 }, "end": { - "line": 360, + "line": 353, "column": 24 } } } ], "range": [ - 11272, - 11354 + 11076, + 11158 ], "loc": { "start": { - "line": 359, + "line": 352, "column": 21 }, "end": { - "line": 360, + "line": 353, "column": 25 } } }, "range": [ - 11267, - 11354 + 11071, + 11158 ], "loc": { "start": { - "line": 359, + "line": 352, "column": 16 }, "end": { - "line": 360, + "line": 353, "column": 25 } } @@ -23406,16 +22976,16 @@ ], "kind": "let", "range": [ - 11263, - 11355 + 11067, + 11159 ], "loc": { "start": { - "line": 359, + "line": 352, "column": 12 }, "end": { - "line": 360, + "line": 353, "column": 26 } }, @@ -23424,16 +22994,16 @@ "type": "Line", "value": "item text", "range": [ - 11239, - 11250 + 11043, + 11054 ], "loc": { "start": { - "line": 358, + "line": 351, "column": 61 }, "end": { - "line": 358, + "line": 351, "column": 72 } } @@ -23452,16 +23022,16 @@ "type": "Identifier", "name": "li", "range": [ - 11368, - 11370 + 11172, + 11174 ], "loc": { "start": { - "line": 361, + "line": 354, "column": 12 }, "end": { - "line": 361, + "line": 354, "column": 14 } } @@ -23470,31 +23040,31 @@ "type": "Identifier", "name": "className", "range": [ - 11371, - 11380 + 11175, + 11184 ], "loc": { "start": { - "line": 361, + "line": 354, "column": 15 }, "end": { - "line": 361, + "line": 354, "column": 24 } } }, "range": [ - 11368, - 11380 + 11172, + 11184 ], "loc": { "start": { - "line": 361, + "line": 354, "column": 12 }, "end": { - "line": 361, + "line": 354, "column": 24 } } @@ -23505,16 +23075,16 @@ "object": { "type": "ThisExpression", "range": [ - 11383, - 11387 + 11187, + 11191 ], "loc": { "start": { - "line": 361, + "line": 354, "column": 27 }, "end": { - "line": 361, + "line": 354, "column": 31 } } @@ -23523,61 +23093,61 @@ "type": "Identifier", "name": "itemCssClass", "range": [ - 11388, - 11400 + 11192, + 11204 ], "loc": { "start": { - "line": 361, + "line": 354, "column": 32 }, "end": { - "line": 361, + "line": 354, "column": 44 } } }, "range": [ - 11383, - 11400 + 11187, + 11204 ], "loc": { "start": { - "line": 361, + "line": 354, "column": 27 }, "end": { - "line": 361, + "line": 354, "column": 44 } } }, "range": [ - 11368, - 11400 + 11172, + 11204 ], "loc": { "start": { - "line": 361, + "line": 354, "column": 12 }, "end": { - "line": 361, + "line": 354, "column": 44 } } }, "range": [ - 11368, - 11401 + 11172, + 11205 ], "loc": { "start": { - "line": 361, + "line": 354, "column": 12 }, "end": { - "line": 361, + "line": 354, "column": 45 } } @@ -23597,16 +23167,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11419, - 11421 + 11223, + 11225 ], "loc": { "start": { - "line": 363, + "line": 356, "column": 16 }, "end": { - "line": 363, + "line": 356, "column": 18 } } @@ -23615,31 +23185,31 @@ "type": "Identifier", "name": "linkedFilters", "range": [ - 11422, - 11435 + 11226, + 11239 ], "loc": { "start": { - "line": 363, + "line": 356, "column": 19 }, "end": { - "line": 363, + "line": 356, "column": 32 } } }, "range": [ - 11419, - 11435 + 11223, + 11239 ], "loc": { "start": { - "line": 363, + "line": 356, "column": 16 }, "end": { - "line": 363, + "line": 356, "column": 32 } } @@ -23651,16 +23221,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11439, - 11441 + 11243, + 11245 ], "loc": { "start": { - "line": 363, + "line": 356, "column": 36 }, "end": { - "line": 363, + "line": 356, "column": 38 } } @@ -23669,46 +23239,46 @@ "type": "Identifier", "name": "disableExcludedOptions", "range": [ - 11442, - 11464 + 11246, + 11268 ], "loc": { "start": { - "line": 363, + "line": 356, "column": 39 }, "end": { - "line": 363, + "line": 356, "column": 61 } } }, "range": [ - 11439, - 11464 + 11243, + 11268 ], "loc": { "start": { - "line": 363, + "line": 356, "column": 36 }, "end": { - "line": 363, + "line": 356, "column": 61 } } }, "range": [ - 11419, - 11464 + 11223, + 11268 ], "loc": { "start": { - "line": 363, + "line": 356, "column": 16 }, "end": { - "line": 363, + "line": 356, "column": 61 } } @@ -23719,16 +23289,16 @@ "type": "Identifier", "name": "has", "range": [ - 11484, - 11487 + 11288, + 11291 ], "loc": { "start": { - "line": 364, + "line": 357, "column": 16 }, "end": { - "line": 364, + "line": 357, "column": 19 } } @@ -23740,16 +23310,16 @@ "object": { "type": "ThisExpression", "range": [ - 11488, - 11492 + 11292, + 11296 ], "loc": { "start": { - "line": 364, + "line": 357, "column": 20 }, "end": { - "line": 364, + "line": 357, "column": 24 } } @@ -23758,31 +23328,31 @@ "type": "Identifier", "name": "excludedOpts", "range": [ - 11493, - 11505 + 11297, + 11309 ], "loc": { "start": { - "line": 364, + "line": 357, "column": 25 }, "end": { - "line": 364, + "line": 357, "column": 37 } } }, "range": [ - 11488, - 11505 + 11292, + 11309 ], "loc": { "start": { - "line": 364, + "line": 357, "column": 20 }, "end": { - "line": 364, + "line": 357, "column": 37 } } @@ -23793,16 +23363,16 @@ "type": "Identifier", "name": "matchCase", "range": [ - 11507, - 11516 + 11311, + 11320 ], "loc": { "start": { - "line": 364, + "line": 357, "column": 39 }, "end": { - "line": 364, + "line": 357, "column": 48 } } @@ -23812,16 +23382,16 @@ "type": "Identifier", "name": "val", "range": [ - 11517, - 11520 + 11321, + 11324 ], "loc": { "start": { - "line": 364, + "line": 357, "column": 49 }, "end": { - "line": 364, + "line": 357, "column": 52 } } @@ -23833,16 +23403,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11522, - 11524 + 11326, + 11328 ], "loc": { "start": { - "line": 364, + "line": 357, "column": 54 }, "end": { - "line": 364, + "line": 357, "column": 56 } } @@ -23851,47 +23421,47 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 11525, - 11538 + 11329, + 11342 ], "loc": { "start": { - "line": 364, + "line": 357, "column": 57 }, "end": { - "line": 364, + "line": 357, "column": 70 } } }, "range": [ - 11522, - 11538 + 11326, + 11342 ], "loc": { "start": { - "line": 364, + "line": 357, "column": 54 }, "end": { - "line": 364, + "line": 357, "column": 70 } } } ], "range": [ - 11507, - 11539 + 11311, + 11343 ], "loc": { "start": { - "line": 364, + "line": 357, "column": 39 }, "end": { - "line": 364, + "line": 357, "column": 71 } } @@ -23903,16 +23473,16 @@ "type": "Identifier", "name": "tf", "range": [ - 11561, - 11563 + 11365, + 11367 ], "loc": { "start": { - "line": 365, + "line": 358, "column": 20 }, "end": { - "line": 365, + "line": 358, "column": 22 } } @@ -23921,62 +23491,62 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 11564, - 11577 + 11368, + 11381 ], "loc": { "start": { - "line": 365, + "line": 358, "column": 23 }, "end": { - "line": 365, + "line": 358, "column": 36 } } }, "range": [ - 11561, - 11577 + 11365, + 11381 ], "loc": { "start": { - "line": 365, + "line": 358, "column": 20 }, "end": { - "line": 365, + "line": 358, "column": 36 } } } ], "range": [ - 11484, - 11578 + 11288, + 11382 ], "loc": { "start": { - "line": 364, + "line": 357, "column": 16 }, "end": { - "line": 365, + "line": 358, "column": 37 } } }, "range": [ - 11419, - 11578 + 11223, + 11382 ], "loc": { "start": { - "line": 363, + "line": 356, "column": 16 }, "end": { - "line": 365, + "line": 358, "column": 37 } } @@ -23992,16 +23562,16 @@ "type": "Identifier", "name": "addClass", "range": [ - 11598, - 11606 + 11402, + 11410 ], "loc": { "start": { - "line": 366, + "line": 359, "column": 16 }, "end": { - "line": 366, + "line": 359, "column": 24 } } @@ -24011,16 +23581,16 @@ "type": "Identifier", "name": "li", "range": [ - 11607, - 11609 + 11411, + 11413 ], "loc": { "start": { - "line": 366, + "line": 359, "column": 25 }, "end": { - "line": 366, + "line": 359, "column": 27 } } @@ -24031,16 +23601,16 @@ "object": { "type": "ThisExpression", "range": [ - 11611, - 11615 + 11415, + 11419 ], "loc": { "start": { - "line": 366, + "line": 359, "column": 29 }, "end": { - "line": 366, + "line": 359, "column": 33 } } @@ -24049,62 +23619,62 @@ "type": "Identifier", "name": "disabledItemCssClass", "range": [ - 11616, - 11636 + 11420, + 11440 ], "loc": { "start": { - "line": 366, + "line": 359, "column": 34 }, "end": { - "line": 366, + "line": 359, "column": 54 } } }, "range": [ - 11611, - 11636 + 11415, + 11440 ], "loc": { "start": { - "line": 366, + "line": 359, "column": 29 }, "end": { - "line": 366, + "line": 359, "column": 54 } } } ], "range": [ - 11598, - 11637 + 11402, + 11441 ], "loc": { "start": { - "line": 366, + "line": 359, "column": 16 }, "end": { - "line": 366, + "line": 359, "column": 55 } } }, "range": [ - 11598, - 11638 + 11402, + 11442 ], "loc": { "start": { - "line": 366, + "line": 359, "column": 16 }, "end": { - "line": 366, + "line": 359, "column": 56 } } @@ -24124,16 +23694,16 @@ "type": "Identifier", "name": "li", "range": [ - 11655, - 11657 + 11459, + 11461 ], "loc": { "start": { - "line": 367, + "line": 360, "column": 16 }, "end": { - "line": 367, + "line": 360, "column": 18 } } @@ -24142,31 +23712,31 @@ "type": "Identifier", "name": "check", "range": [ - 11658, - 11663 + 11462, + 11467 ], "loc": { "start": { - "line": 367, + "line": 360, "column": 19 }, "end": { - "line": 367, + "line": 360, "column": 24 } } }, "range": [ - 11655, - 11663 + 11459, + 11467 ], "loc": { "start": { - "line": 367, + "line": 360, "column": 16 }, "end": { - "line": 367, + "line": 360, "column": 24 } } @@ -24175,31 +23745,31 @@ "type": "Identifier", "name": "disabled", "range": [ - 11664, - 11672 + 11468, + 11476 ], "loc": { "start": { - "line": 367, + "line": 360, "column": 25 }, "end": { - "line": 367, + "line": 360, "column": 33 } } }, "range": [ - 11655, - 11672 + 11459, + 11476 ], "loc": { "start": { - "line": 367, + "line": 360, "column": 16 }, "end": { - "line": 367, + "line": 360, "column": 33 } } @@ -24209,46 +23779,46 @@ "value": true, "raw": "true", "range": [ - 11675, - 11679 + 11479, + 11483 ], "loc": { "start": { - "line": 367, + "line": 360, "column": 36 }, "end": { - "line": 367, + "line": 360, "column": 40 } } }, "range": [ - 11655, - 11679 + 11459, + 11483 ], "loc": { "start": { - "line": 367, + "line": 360, "column": 16 }, "end": { - "line": 367, + "line": 360, "column": 40 } } }, "range": [ - 11655, - 11680 + 11459, + 11484 ], "loc": { "start": { - "line": 367, + "line": 360, "column": 16 }, "end": { - "line": 367, + "line": 360, "column": 41 } } @@ -24265,16 +23835,16 @@ "type": "Identifier", "name": "li", "range": [ - 11697, - 11699 + 11501, + 11503 ], "loc": { "start": { - "line": 368, + "line": 361, "column": 16 }, "end": { - "line": 368, + "line": 361, "column": 18 } } @@ -24283,31 +23853,31 @@ "type": "Identifier", "name": "disabled", "range": [ - 11700, - 11708 + 11504, + 11512 ], "loc": { "start": { - "line": 368, + "line": 361, "column": 19 }, "end": { - "line": 368, + "line": 361, "column": 27 } } }, "range": [ - 11697, - 11708 + 11501, + 11512 ], "loc": { "start": { - "line": 368, + "line": 361, "column": 16 }, "end": { - "line": 368, + "line": 361, "column": 27 } } @@ -24317,62 +23887,62 @@ "value": true, "raw": "true", "range": [ - 11711, - 11715 + 11515, + 11519 ], "loc": { "start": { - "line": 368, + "line": 361, "column": 30 }, "end": { - "line": 368, + "line": 361, "column": 34 } } }, "range": [ - 11697, - 11715 + 11501, + 11519 ], "loc": { "start": { - "line": 368, + "line": 361, "column": 16 }, "end": { - "line": 368, + "line": 361, "column": 34 } } }, "range": [ - 11697, - 11716 + 11501, + 11520 ], "loc": { "start": { - "line": 368, + "line": 361, "column": 16 }, "end": { - "line": 368, + "line": 361, "column": 35 } } } ], "range": [ - 11580, - 11730 + 11384, + 11534 ], "loc": { "start": { - "line": 365, + "line": 358, "column": 39 }, "end": { - "line": 369, + "line": 362, "column": 13 } } @@ -24388,16 +23958,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 11754, - 11760 + 11558, + 11564 ], "loc": { "start": { - "line": 370, + "line": 363, "column": 16 }, "end": { - "line": 370, + "line": 363, "column": 22 } } @@ -24410,16 +23980,16 @@ "type": "Identifier", "name": "li", "range": [ - 11761, - 11763 + 11565, + 11567 ], "loc": { "start": { - "line": 370, + "line": 363, "column": 23 }, "end": { - "line": 370, + "line": 363, "column": 25 } } @@ -24428,31 +23998,31 @@ "type": "Identifier", "name": "check", "range": [ - 11764, - 11769 + 11568, + 11573 ], "loc": { "start": { - "line": 370, + "line": 363, "column": 26 }, "end": { - "line": 370, + "line": 363, "column": 31 } } }, "range": [ - 11761, - 11769 + 11565, + 11573 ], "loc": { "start": { - "line": 370, + "line": 363, "column": 23 }, "end": { - "line": 370, + "line": 363, "column": 31 } } @@ -24462,16 +24032,16 @@ "value": "click", "raw": "'click'", "range": [ - 11771, - 11778 + 11575, + 11582 ], "loc": { "start": { - "line": 370, + "line": 363, "column": 33 }, "end": { - "line": 370, + "line": 363, "column": 40 } } @@ -24484,16 +24054,16 @@ "type": "Identifier", "name": "evt", "range": [ - 11780, - 11783 + 11584, + 11587 ], "loc": { "start": { - "line": 370, + "line": 363, "column": 42 }, "end": { - "line": 370, + "line": 363, "column": 45 } } @@ -24507,16 +24077,16 @@ "object": { "type": "ThisExpression", "range": [ - 11787, - 11791 + 11591, + 11595 ], "loc": { "start": { - "line": 370, + "line": 363, "column": 49 }, "end": { - "line": 370, + "line": 363, "column": 53 } } @@ -24525,31 +24095,31 @@ "type": "Identifier", "name": "optionClick", "range": [ - 11792, - 11803 + 11596, + 11607 ], "loc": { "start": { - "line": 370, + "line": 363, "column": 54 }, "end": { - "line": 370, + "line": 363, "column": 65 } } }, "range": [ - 11787, - 11803 + 11591, + 11607 ], "loc": { "start": { - "line": 370, + "line": 363, "column": 49 }, "end": { - "line": 370, + "line": 363, "column": 65 } } @@ -24559,32 +24129,32 @@ "type": "Identifier", "name": "evt", "range": [ - 11804, - 11807 + 11608, + 11611 ], "loc": { "start": { - "line": 370, + "line": 363, "column": 66 }, "end": { - "line": 370, + "line": 363, "column": 69 } } } ], "range": [ - 11787, - 11808 + 11591, + 11612 ], "loc": { "start": { - "line": 370, + "line": 363, "column": 49 }, "end": { - "line": 370, + "line": 363, "column": 70 } } @@ -24592,78 +24162,78 @@ "generator": false, "expression": true, "range": [ - 11780, - 11808 + 11584, + 11612 ], "loc": { "start": { - "line": 370, + "line": 363, "column": 42 }, "end": { - "line": 370, + "line": 363, "column": 70 } } } ], "range": [ - 11754, - 11809 + 11558, + 11613 ], "loc": { "start": { - "line": 370, + "line": 363, "column": 16 }, "end": { - "line": 370, + "line": 363, "column": 71 } } }, "range": [ - 11754, - 11810 + 11558, + 11614 ], "loc": { "start": { - "line": 370, + "line": 363, "column": 16 }, "end": { - "line": 370, + "line": 363, "column": 72 } } } ], "range": [ - 11736, - 11824 + 11540, + 11628 ], "loc": { "start": { - "line": 369, + "line": 362, "column": 19 }, "end": { - "line": 371, + "line": 364, "column": 13 } } }, "range": [ - 11415, - 11824 + 11219, + 11628 ], "loc": { "start": { - "line": 363, + "line": 356, "column": 12 }, "end": { - "line": 371, + "line": 364, "column": 13 } } @@ -24679,16 +24249,16 @@ "type": "Identifier", "name": "ul", "range": [ - 11837, - 11839 + 11641, + 11643 ], "loc": { "start": { - "line": 372, + "line": 365, "column": 12 }, "end": { - "line": 372, + "line": 365, "column": 14 } } @@ -24697,31 +24267,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 11840, - 11851 + 11644, + 11655 ], "loc": { "start": { - "line": 372, + "line": 365, "column": 15 }, "end": { - "line": 372, + "line": 365, "column": 26 } } }, "range": [ - 11837, - 11851 + 11641, + 11655 ], "loc": { "start": { - "line": 372, + "line": 365, "column": 12 }, "end": { - "line": 372, + "line": 365, "column": 26 } } @@ -24731,47 +24301,47 @@ "type": "Identifier", "name": "li", "range": [ - 11852, - 11854 + 11656, + 11658 ], "loc": { "start": { - "line": 372, + "line": 365, "column": 27 }, "end": { - "line": 372, + "line": 365, "column": 29 } } } ], "range": [ - 11837, - 11855 + 11641, + 11659 ], "loc": { "start": { - "line": 372, + "line": 365, "column": 12 }, "end": { - "line": 372, + "line": 365, "column": 30 } } }, "range": [ - 11837, - 11856 + 11641, + 11660 ], "loc": { "start": { - "line": 372, + "line": 365, "column": 12 }, "end": { - "line": 372, + "line": 365, "column": 31 } } @@ -24785,16 +24355,16 @@ "type": "Identifier", "name": "val", "range": [ - 11874, - 11877 + 11678, + 11681 ], "loc": { "start": { - "line": 374, + "line": 367, "column": 16 }, "end": { - "line": 374, + "line": 367, "column": 19 } } @@ -24804,31 +24374,31 @@ "value": "", "raw": "''", "range": [ - 11882, - 11884 + 11686, + 11688 ], "loc": { "start": { - "line": 374, + "line": 367, "column": 24 }, "end": { - "line": 374, + "line": 367, "column": 26 } } }, "range": [ - 11874, - 11884 + 11678, + 11688 ], "loc": { "start": { - "line": 374, + "line": 367, "column": 16 }, "end": { - "line": 374, + "line": 367, "column": 26 } } @@ -24851,16 +24421,16 @@ "type": "Identifier", "name": "li", "range": [ - 11937, - 11939 + 11741, + 11743 ], "loc": { "start": { - "line": 376, + "line": 369, "column": 16 }, "end": { - "line": 376, + "line": 369, "column": 18 } } @@ -24869,31 +24439,31 @@ "type": "Identifier", "name": "style", "range": [ - 11940, - 11945 + 11744, + 11749 ], "loc": { "start": { - "line": 376, + "line": 369, "column": 19 }, "end": { - "line": 376, + "line": 369, "column": 24 } } }, "range": [ - 11937, - 11945 + 11741, + 11749 ], "loc": { "start": { - "line": 376, + "line": 369, "column": 16 }, "end": { - "line": 376, + "line": 369, "column": 24 } } @@ -24902,31 +24472,31 @@ "type": "Identifier", "name": "display", "range": [ - 11946, - 11953 + 11750, + 11757 ], "loc": { "start": { - "line": 376, + "line": 369, "column": 25 }, "end": { - "line": 376, + "line": 369, "column": 32 } } }, "range": [ - 11937, - 11953 + 11741, + 11757 ], "loc": { "start": { - "line": 376, + "line": 369, "column": 16 }, "end": { - "line": 376, + "line": 369, "column": 32 } } @@ -24935,46 +24505,46 @@ "type": "Identifier", "name": "NONE", "range": [ - 11956, - 11960 + 11760, + 11764 ], "loc": { "start": { - "line": 376, + "line": 369, "column": 35 }, "end": { - "line": 376, + "line": 369, "column": 39 } } }, "range": [ - 11937, - 11960 + 11741, + 11764 ], "loc": { "start": { - "line": 376, + "line": 369, "column": 16 }, "end": { - "line": 376, + "line": 369, "column": 39 } } }, "range": [ - 11937, - 11961 + 11741, + 11765 ], "loc": { "start": { - "line": 376, + "line": 369, "column": 16 }, "end": { - "line": 376, + "line": 369, "column": 40 } }, @@ -24983,16 +24553,16 @@ "type": "Line", "value": "item is hidden", "range": [ - 11904, - 11920 + 11708, + 11724 ], "loc": { "start": { - "line": 375, + "line": 368, "column": 16 }, "end": { - "line": 375, + "line": 368, "column": 32 } } @@ -25001,79 +24571,79 @@ } ], "range": [ - 11886, - 11975 + 11690, + 11779 ], "loc": { "start": { - "line": 374, + "line": 367, "column": 28 }, "end": { - "line": 377, + "line": 370, "column": 13 } } }, "alternate": null, "range": [ - 11870, - 11975 + 11674, + 11779 ], "loc": { "start": { - "line": 374, + "line": 367, "column": 12 }, "end": { - "line": 377, + "line": 370, "column": 13 } } } ], "range": [ - 11127, - 11985 + 10931, + 11789 ], "loc": { "start": { - "line": 356, + "line": 349, "column": 51 }, "end": { - "line": 378, + "line": 371, "column": 9 } } }, "range": [ - 11084, - 11985 + 10888, + 11789 ], "loc": { "start": { - "line": 356, + "line": 349, "column": 8 }, "end": { - "line": 378, + "line": 371, "column": 9 } } } ], "range": [ - 10996, - 11991 + 10800, + 11795 ], "loc": { "start": { - "line": 352, + "line": 345, "column": 28 }, "end": { - "line": 379, + "line": 372, "column": 5 } } @@ -25081,16 +24651,16 @@ "generator": false, "expression": false, "range": [ - 10981, - 11991 + 10785, + 11795 ], "loc": { "start": { - "line": 352, + "line": 345, "column": 13 }, "end": { - "line": 379, + "line": 372, "column": 5 } } @@ -25098,16 +24668,16 @@ "kind": "method", "computed": false, "range": [ - 10972, - 11991 + 10776, + 11795 ], "loc": { "start": { - "line": 352, + "line": 345, "column": 4 }, "end": { - "line": 379, + "line": 372, "column": 5 } }, @@ -25116,16 +24686,16 @@ "type": "Block", "value": "*\n * Add checklist options\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n ", "range": [ - 10837, - 10967 + 10641, + 10771 ], "loc": { "start": { - "line": 347, + "line": 340, "column": 4 }, "end": { - "line": 351, + "line": 344, "column": 7 } } @@ -25136,16 +24706,16 @@ "type": "Block", "value": "*\n * Add checklist header option\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n ", "range": [ - 11997, - 12131 + 11801, + 11935 ], "loc": { "start": { - "line": 381, + "line": 374, "column": 4 }, "end": { - "line": 385, + "line": 378, "column": 7 } } @@ -25159,16 +24729,16 @@ "type": "Identifier", "name": "addTChecks", "range": [ - 12136, - 12146 + 11940, + 11950 ], "loc": { "start": { - "line": 386, + "line": 379, "column": 4 }, "end": { - "line": 386, + "line": 379, "column": 14 } } @@ -25181,16 +24751,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 12147, - 12155 + 11951, + 11959 ], "loc": { "start": { - "line": 386, + "line": 379, "column": 15 }, "end": { - "line": 386, + "line": 379, "column": 23 } } @@ -25199,16 +24769,16 @@ "type": "Identifier", "name": "ul", "range": [ - 12157, - 12159 + 11961, + 11963 ], "loc": { "start": { - "line": 386, + "line": 379, "column": 25 }, "end": { - "line": 386, + "line": 379, "column": 27 } } @@ -25226,16 +24796,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12175, - 12177 + 11979, + 11981 ], "loc": { "start": { - "line": 387, + "line": 380, "column": 12 }, "end": { - "line": 387, + "line": 380, "column": 14 } } @@ -25246,16 +24816,16 @@ "object": { "type": "ThisExpression", "range": [ - 12180, - 12184 + 11984, + 11988 ], "loc": { "start": { - "line": 387, + "line": 380, "column": 17 }, "end": { - "line": 387, + "line": 380, "column": 21 } } @@ -25264,46 +24834,46 @@ "type": "Identifier", "name": "tf", "range": [ - 12185, - 12187 + 11989, + 11991 ], "loc": { "start": { - "line": 387, + "line": 380, "column": 22 }, "end": { - "line": 387, + "line": 380, "column": 24 } } }, "range": [ - 12180, - 12187 + 11984, + 11991 ], "loc": { "start": { - "line": 387, + "line": 380, "column": 17 }, "end": { - "line": 387, + "line": 380, "column": 24 } } }, "range": [ - 12175, - 12187 + 11979, + 11991 ], "loc": { "start": { - "line": 387, + "line": 380, "column": 12 }, "end": { - "line": 387, + "line": 380, "column": 24 } } @@ -25311,16 +24881,16 @@ ], "kind": "let", "range": [ - 12171, - 12188 + 11975, + 11992 ], "loc": { "start": { - "line": 387, + "line": 380, "column": 8 }, "end": { - "line": 387, + "line": 380, "column": 25 } } @@ -25334,16 +24904,16 @@ "type": "Identifier", "name": "chkCt", "range": [ - 12201, - 12206 + 12005, + 12010 ], "loc": { "start": { - "line": 388, + "line": 381, "column": 12 }, "end": { - "line": 388, + "line": 381, "column": 17 } } @@ -25353,31 +24923,31 @@ "value": 1, "raw": "1", "range": [ - 12209, - 12210 + 12013, + 12014 ], "loc": { "start": { - "line": 388, + "line": 381, "column": 20 }, "end": { - "line": 388, + "line": 381, "column": 21 } } }, "range": [ - 12201, - 12210 + 12005, + 12014 ], "loc": { "start": { - "line": 388, + "line": 381, "column": 12 }, "end": { - "line": 388, + "line": 381, "column": 21 } } @@ -25385,16 +24955,16 @@ ], "kind": "let", "range": [ - 12197, - 12211 + 12001, + 12015 ], "loc": { "start": { - "line": 388, + "line": 381, "column": 8 }, "end": { - "line": 388, + "line": 381, "column": 22 } } @@ -25408,16 +24978,16 @@ "type": "Identifier", "name": "li0", "range": [ - 12224, - 12227 + 12028, + 12031 ], "loc": { "start": { - "line": 389, + "line": 382, "column": 12 }, "end": { - "line": 389, + "line": 382, "column": 15 } } @@ -25428,16 +24998,16 @@ "type": "Identifier", "name": "createCheckItem", "range": [ - 12230, - 12245 + 12034, + 12049 ], "loc": { "start": { - "line": 389, + "line": 382, "column": 18 }, "end": { - "line": 389, + "line": 382, "column": 33 } } @@ -25456,16 +25026,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12246, - 12248 + 12050, + 12052 ], "loc": { "start": { - "line": 389, + "line": 382, "column": 34 }, "end": { - "line": 389, + "line": 382, "column": 36 } } @@ -25474,31 +25044,31 @@ "type": "Identifier", "name": "fltIds", "range": [ - 12249, - 12255 + 12053, + 12059 ], "loc": { "start": { - "line": 389, + "line": 382, "column": 37 }, "end": { - "line": 389, + "line": 382, "column": 43 } } }, "range": [ - 12246, - 12255 + 12050, + 12059 ], "loc": { "start": { - "line": 389, + "line": 382, "column": 34 }, "end": { - "line": 389, + "line": 382, "column": 43 } } @@ -25507,31 +25077,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 12256, - 12264 + 12060, + 12068 ], "loc": { "start": { - "line": 389, + "line": 382, "column": 44 }, "end": { - "line": 389, + "line": 382, "column": 52 } } }, "range": [ - 12246, - 12265 + 12050, + 12069 ], "loc": { "start": { - "line": 389, + "line": 382, "column": 34 }, "end": { - "line": 389, + "line": 382, "column": 53 } } @@ -25541,31 +25111,31 @@ "value": "_0", "raw": "'_0'", "range": [ - 12268, - 12272 + 12072, + 12076 ], "loc": { "start": { - "line": 389, + "line": 382, "column": 56 }, "end": { - "line": 389, + "line": 382, "column": 60 } } }, "range": [ - 12246, - 12272 + 12050, + 12076 ], "loc": { "start": { - "line": 389, + "line": 382, "column": 34 }, "end": { - "line": 389, + "line": 382, "column": 60 } } @@ -25575,16 +25145,16 @@ "value": "", "raw": "''", "range": [ - 12274, - 12276 + 12078, + 12080 ], "loc": { "start": { - "line": 389, + "line": 382, "column": 62 }, "end": { - "line": 389, + "line": 382, "column": 64 } } @@ -25596,16 +25166,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12290, - 12292 + 12094, + 12096 ], "loc": { "start": { - "line": 390, + "line": 383, "column": 12 }, "end": { - "line": 390, + "line": 383, "column": 14 } } @@ -25614,62 +25184,62 @@ "type": "Identifier", "name": "displayAllText", "range": [ - 12293, - 12307 + 12097, + 12111 ], "loc": { "start": { - "line": 390, + "line": 383, "column": 15 }, "end": { - "line": 390, + "line": 383, "column": 29 } } }, "range": [ - 12290, - 12307 + 12094, + 12111 ], "loc": { "start": { - "line": 390, + "line": 383, "column": 12 }, "end": { - "line": 390, + "line": 383, "column": 29 } } } ], "range": [ - 12230, - 12308 + 12034, + 12112 ], "loc": { "start": { - "line": 389, + "line": 382, "column": 18 }, "end": { - "line": 390, + "line": 383, "column": 30 } } }, "range": [ - 12224, - 12308 + 12028, + 12112 ], "loc": { "start": { - "line": 389, + "line": 382, "column": 12 }, "end": { - "line": 390, + "line": 383, "column": 30 } } @@ -25677,16 +25247,16 @@ ], "kind": "let", "range": [ - 12220, - 12309 + 12024, + 12113 ], "loc": { "start": { - "line": 389, + "line": 382, "column": 8 }, "end": { - "line": 390, + "line": 383, "column": 31 } } @@ -25703,16 +25273,16 @@ "type": "Identifier", "name": "li0", "range": [ - 12318, - 12321 + 12122, + 12125 ], "loc": { "start": { - "line": 391, + "line": 384, "column": 8 }, "end": { - "line": 391, + "line": 384, "column": 11 } } @@ -25721,31 +25291,31 @@ "type": "Identifier", "name": "className", "range": [ - 12322, - 12331 + 12126, + 12135 ], "loc": { "start": { - "line": 391, + "line": 384, "column": 12 }, "end": { - "line": 391, + "line": 384, "column": 21 } } }, "range": [ - 12318, - 12331 + 12122, + 12135 ], "loc": { "start": { - "line": 391, + "line": 384, "column": 8 }, "end": { - "line": 391, + "line": 384, "column": 21 } } @@ -25756,16 +25326,16 @@ "object": { "type": "ThisExpression", "range": [ - 12334, - 12338 + 12138, + 12142 ], "loc": { "start": { - "line": 391, + "line": 384, "column": 24 }, "end": { - "line": 391, + "line": 384, "column": 28 } } @@ -25774,61 +25344,61 @@ "type": "Identifier", "name": "itemCssClass", "range": [ - 12339, - 12351 + 12143, + 12155 ], "loc": { "start": { - "line": 391, + "line": 384, "column": 29 }, "end": { - "line": 391, + "line": 384, "column": 41 } } }, "range": [ - 12334, - 12351 + 12138, + 12155 ], "loc": { "start": { - "line": 391, + "line": 384, "column": 24 }, "end": { - "line": 391, + "line": 384, "column": 41 } } }, "range": [ - 12318, - 12351 + 12122, + 12155 ], "loc": { "start": { - "line": 391, + "line": 384, "column": 8 }, "end": { - "line": 391, + "line": 384, "column": 41 } } }, "range": [ - 12318, - 12352 + 12122, + 12156 ], "loc": { "start": { - "line": 391, + "line": 384, "column": 8 }, "end": { - "line": 391, + "line": 384, "column": 42 } } @@ -25844,16 +25414,16 @@ "type": "Identifier", "name": "ul", "range": [ - 12361, - 12363 + 12165, + 12167 ], "loc": { "start": { - "line": 392, + "line": 385, "column": 8 }, "end": { - "line": 392, + "line": 385, "column": 10 } } @@ -25862,31 +25432,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 12364, - 12375 + 12168, + 12179 ], "loc": { "start": { - "line": 392, + "line": 385, "column": 11 }, "end": { - "line": 392, + "line": 385, "column": 22 } } }, "range": [ - 12361, - 12375 + 12165, + 12179 ], "loc": { "start": { - "line": 392, + "line": 385, "column": 8 }, "end": { - "line": 392, + "line": 385, "column": 22 } } @@ -25896,47 +25466,47 @@ "type": "Identifier", "name": "li0", "range": [ - 12376, - 12379 + 12180, + 12183 ], "loc": { "start": { - "line": 392, + "line": 385, "column": 23 }, "end": { - "line": 392, + "line": 385, "column": 26 } } } ], "range": [ - 12361, - 12380 + 12165, + 12184 ], "loc": { "start": { - "line": 392, + "line": 385, "column": 8 }, "end": { - "line": 392, + "line": 385, "column": 27 } } }, "range": [ - 12361, - 12381 + 12165, + 12185 ], "loc": { "start": { - "line": 392, + "line": 385, "column": 8 }, "end": { - "line": 392, + "line": 385, "column": 28 } } @@ -25949,16 +25519,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 12391, - 12397 + 12195, + 12201 ], "loc": { "start": { - "line": 394, + "line": 387, "column": 8 }, "end": { - "line": 394, + "line": 387, "column": 14 } } @@ -25971,16 +25541,16 @@ "type": "Identifier", "name": "li0", "range": [ - 12398, - 12401 + 12202, + 12205 ], "loc": { "start": { - "line": 394, + "line": 387, "column": 15 }, "end": { - "line": 394, + "line": 387, "column": 18 } } @@ -25989,31 +25559,31 @@ "type": "Identifier", "name": "check", "range": [ - 12402, - 12407 + 12206, + 12211 ], "loc": { "start": { - "line": 394, + "line": 387, "column": 19 }, "end": { - "line": 394, + "line": 387, "column": 24 } } }, "range": [ - 12398, - 12407 + 12202, + 12211 ], "loc": { "start": { - "line": 394, + "line": 387, "column": 15 }, "end": { - "line": 394, + "line": 387, "column": 24 } } @@ -26023,16 +25593,16 @@ "value": "click", "raw": "'click'", "range": [ - 12409, - 12416 + 12213, + 12220 ], "loc": { "start": { - "line": 394, + "line": 387, "column": 26 }, "end": { - "line": 394, + "line": 387, "column": 33 } } @@ -26045,16 +25615,16 @@ "type": "Identifier", "name": "evt", "range": [ - 12418, - 12421 + 12222, + 12225 ], "loc": { "start": { - "line": 394, + "line": 387, "column": 35 }, "end": { - "line": 394, + "line": 387, "column": 38 } } @@ -26068,16 +25638,16 @@ "object": { "type": "ThisExpression", "range": [ - 12425, - 12429 + 12229, + 12233 ], "loc": { "start": { - "line": 394, + "line": 387, "column": 42 }, "end": { - "line": 394, + "line": 387, "column": 46 } } @@ -26086,31 +25656,31 @@ "type": "Identifier", "name": "optionClick", "range": [ - 12430, - 12441 + 12234, + 12245 ], "loc": { "start": { - "line": 394, + "line": 387, "column": 47 }, "end": { - "line": 394, + "line": 387, "column": 58 } } }, "range": [ - 12425, - 12441 + 12229, + 12245 ], "loc": { "start": { - "line": 394, + "line": 387, "column": 42 }, "end": { - "line": 394, + "line": 387, "column": 58 } } @@ -26120,32 +25690,32 @@ "type": "Identifier", "name": "evt", "range": [ - 12442, - 12445 + 12246, + 12249 ], "loc": { "start": { - "line": 394, + "line": 387, "column": 59 }, "end": { - "line": 394, + "line": 387, "column": 62 } } } ], "range": [ - 12425, - 12446 + 12229, + 12250 ], "loc": { "start": { - "line": 394, + "line": 387, "column": 42 }, "end": { - "line": 394, + "line": 387, "column": 63 } } @@ -26153,47 +25723,47 @@ "generator": false, "expression": true, "range": [ - 12418, - 12446 + 12222, + 12250 ], "loc": { "start": { - "line": 394, + "line": 387, "column": 35 }, "end": { - "line": 394, + "line": 387, "column": 63 } } } ], "range": [ - 12391, - 12447 + 12195, + 12251 ], "loc": { "start": { - "line": 394, + "line": 387, "column": 8 }, "end": { - "line": 394, + "line": 387, "column": 64 } } }, "range": [ - 12391, - 12448 + 12195, + 12252 ], "loc": { "start": { - "line": 394, + "line": 387, "column": 8 }, "end": { - "line": 394, + "line": 387, "column": 65 } } @@ -26209,16 +25779,16 @@ "object": { "type": "ThisExpression", "range": [ - 12463, - 12467 + 12267, + 12271 ], "loc": { "start": { - "line": 396, + "line": 389, "column": 13 }, "end": { - "line": 396, + "line": 389, "column": 17 } } @@ -26227,47 +25797,47 @@ "type": "Identifier", "name": "enableResetOption", "range": [ - 12468, - 12485 + 12272, + 12289 ], "loc": { "start": { - "line": 396, + "line": 389, "column": 18 }, "end": { - "line": 396, + "line": 389, "column": 35 } } }, "range": [ - 12463, - 12485 + 12267, + 12289 ], "loc": { "start": { - "line": 396, + "line": 389, "column": 13 }, "end": { - "line": 396, + "line": 389, "column": 35 } } }, "prefix": true, "range": [ - 12462, - 12485 + 12266, + 12289 ], "loc": { "start": { - "line": 396, + "line": 389, "column": 12 }, "end": { - "line": 396, + "line": 389, "column": 35 } } @@ -26290,16 +25860,16 @@ "type": "Identifier", "name": "li0", "range": [ - 12501, - 12504 + 12305, + 12308 ], "loc": { "start": { - "line": 397, + "line": 390, "column": 12 }, "end": { - "line": 397, + "line": 390, "column": 15 } } @@ -26308,31 +25878,31 @@ "type": "Identifier", "name": "style", "range": [ - 12505, - 12510 + 12309, + 12314 ], "loc": { "start": { - "line": 397, + "line": 390, "column": 16 }, "end": { - "line": 397, + "line": 390, "column": 21 } } }, "range": [ - 12501, - 12510 + 12305, + 12314 ], "loc": { "start": { - "line": 397, + "line": 390, "column": 12 }, "end": { - "line": 397, + "line": 390, "column": 21 } } @@ -26341,31 +25911,31 @@ "type": "Identifier", "name": "display", "range": [ - 12511, - 12518 + 12315, + 12322 ], "loc": { "start": { - "line": 397, + "line": 390, "column": 22 }, "end": { - "line": 397, + "line": 390, "column": 29 } } }, "range": [ - 12501, - 12518 + 12305, + 12322 ], "loc": { "start": { - "line": 397, + "line": 390, "column": 12 }, "end": { - "line": 397, + "line": 390, "column": 29 } } @@ -26374,78 +25944,78 @@ "type": "Identifier", "name": "NONE", "range": [ - 12521, - 12525 + 12325, + 12329 ], "loc": { "start": { - "line": 397, + "line": 390, "column": 32 }, "end": { - "line": 397, + "line": 390, "column": 36 } } }, "range": [ - 12501, - 12525 + 12305, + 12329 ], "loc": { "start": { - "line": 397, + "line": 390, "column": 12 }, "end": { - "line": 397, + "line": 390, "column": 36 } } }, "range": [ - 12501, - 12526 + 12305, + 12330 ], "loc": { "start": { - "line": 397, + "line": 390, "column": 12 }, "end": { - "line": 397, + "line": 390, "column": 37 } } } ], "range": [ - 12487, - 12536 + 12291, + 12340 ], "loc": { "start": { - "line": 396, + "line": 389, "column": 37 }, "end": { - "line": 398, + "line": 391, "column": 9 } } }, "alternate": null, "range": [ - 12458, - 12536 + 12262, + 12340 ], "loc": { "start": { - "line": 396, + "line": 389, "column": 8 }, "end": { - "line": 398, + "line": 391, "column": 9 } } @@ -26459,16 +26029,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12550, - 12552 + 12354, + 12356 ], "loc": { "start": { - "line": 400, + "line": 393, "column": 12 }, "end": { - "line": 400, + "line": 393, "column": 14 } } @@ -26477,31 +26047,31 @@ "type": "Identifier", "name": "enableEmptyOption", "range": [ - 12553, - 12570 + 12357, + 12374 ], "loc": { "start": { - "line": 400, + "line": 393, "column": 15 }, "end": { - "line": 400, + "line": 393, "column": 32 } } }, "range": [ - 12550, - 12570 + 12354, + 12374 ], "loc": { "start": { - "line": 400, + "line": 393, "column": 12 }, "end": { - "line": 400, + "line": 393, "column": 32 } } @@ -26518,16 +26088,16 @@ "type": "Identifier", "name": "li1", "range": [ - 12590, - 12593 + 12394, + 12397 ], "loc": { "start": { - "line": 401, + "line": 394, "column": 16 }, "end": { - "line": 401, + "line": 394, "column": 19 } } @@ -26538,16 +26108,16 @@ "type": "Identifier", "name": "createCheckItem", "range": [ - 12596, - 12611 + 12400, + 12415 ], "loc": { "start": { - "line": 401, + "line": 394, "column": 22 }, "end": { - "line": 401, + "line": 394, "column": 37 } } @@ -26566,16 +26136,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12612, - 12614 + 12416, + 12418 ], "loc": { "start": { - "line": 401, + "line": 394, "column": 38 }, "end": { - "line": 401, + "line": 394, "column": 40 } } @@ -26584,31 +26154,31 @@ "type": "Identifier", "name": "fltIds", "range": [ - 12615, - 12621 + 12419, + 12425 ], "loc": { "start": { - "line": 401, + "line": 394, "column": 41 }, "end": { - "line": 401, + "line": 394, "column": 47 } } }, "range": [ - 12612, - 12621 + 12416, + 12425 ], "loc": { "start": { - "line": 401, + "line": 394, "column": 38 }, "end": { - "line": 401, + "line": 394, "column": 47 } } @@ -26617,31 +26187,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 12622, - 12630 + 12426, + 12434 ], "loc": { "start": { - "line": 401, + "line": 394, "column": 48 }, "end": { - "line": 401, + "line": 394, "column": 56 } } }, "range": [ - 12612, - 12631 + 12416, + 12435 ], "loc": { "start": { - "line": 401, + "line": 394, "column": 38 }, "end": { - "line": 401, + "line": 394, "column": 57 } } @@ -26651,31 +26221,31 @@ "value": "_1", "raw": "'_1'", "range": [ - 12634, - 12638 + 12438, + 12442 ], "loc": { "start": { - "line": 401, + "line": 394, "column": 60 }, "end": { - "line": 401, + "line": 394, "column": 64 } } }, "range": [ - 12612, - 12638 + 12416, + 12442 ], "loc": { "start": { - "line": 401, + "line": 394, "column": 38 }, "end": { - "line": 401, + "line": 394, "column": 64 } } @@ -26687,16 +26257,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12656, - 12658 + 12460, + 12462 ], "loc": { "start": { - "line": 402, + "line": 395, "column": 16 }, "end": { - "line": 402, + "line": 395, "column": 18 } } @@ -26705,31 +26275,31 @@ "type": "Identifier", "name": "emOperator", "range": [ - 12659, - 12669 + 12463, + 12473 ], "loc": { "start": { - "line": 402, + "line": 395, "column": 19 }, "end": { - "line": 402, + "line": 395, "column": 29 } } }, "range": [ - 12656, - 12669 + 12460, + 12473 ], "loc": { "start": { - "line": 402, + "line": 395, "column": 16 }, "end": { - "line": 402, + "line": 395, "column": 29 } } @@ -26741,16 +26311,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12671, - 12673 + 12475, + 12477 ], "loc": { "start": { - "line": 402, + "line": 395, "column": 31 }, "end": { - "line": 402, + "line": 395, "column": 33 } } @@ -26759,62 +26329,62 @@ "type": "Identifier", "name": "emptyText", "range": [ - 12674, - 12683 + 12478, + 12487 ], "loc": { "start": { - "line": 402, + "line": 395, "column": 34 }, "end": { - "line": 402, + "line": 395, "column": 43 } } }, "range": [ - 12671, - 12683 + 12475, + 12487 ], "loc": { "start": { - "line": 402, + "line": 395, "column": 31 }, "end": { - "line": 402, + "line": 395, "column": 43 } } } ], "range": [ - 12596, - 12684 + 12400, + 12488 ], "loc": { "start": { - "line": 401, + "line": 394, "column": 22 }, "end": { - "line": 402, + "line": 395, "column": 44 } } }, "range": [ - 12590, - 12684 + 12394, + 12488 ], "loc": { "start": { - "line": 401, + "line": 394, "column": 16 }, "end": { - "line": 402, + "line": 395, "column": 44 } } @@ -26822,16 +26392,16 @@ ], "kind": "let", "range": [ - 12586, - 12685 + 12390, + 12489 ], "loc": { "start": { - "line": 401, + "line": 394, "column": 12 }, "end": { - "line": 402, + "line": 395, "column": 45 } } @@ -26848,16 +26418,16 @@ "type": "Identifier", "name": "li1", "range": [ - 12698, - 12701 + 12502, + 12505 ], "loc": { "start": { - "line": 403, + "line": 396, "column": 12 }, "end": { - "line": 403, + "line": 396, "column": 15 } } @@ -26866,31 +26436,31 @@ "type": "Identifier", "name": "className", "range": [ - 12702, - 12711 + 12506, + 12515 ], "loc": { "start": { - "line": 403, + "line": 396, "column": 16 }, "end": { - "line": 403, + "line": 396, "column": 25 } } }, "range": [ - 12698, - 12711 + 12502, + 12515 ], "loc": { "start": { - "line": 403, + "line": 396, "column": 12 }, "end": { - "line": 403, + "line": 396, "column": 25 } } @@ -26901,16 +26471,16 @@ "object": { "type": "ThisExpression", "range": [ - 12714, - 12718 + 12518, + 12522 ], "loc": { "start": { - "line": 403, + "line": 396, "column": 28 }, "end": { - "line": 403, + "line": 396, "column": 32 } } @@ -26919,61 +26489,61 @@ "type": "Identifier", "name": "itemCssClass", "range": [ - 12719, - 12731 + 12523, + 12535 ], "loc": { "start": { - "line": 403, + "line": 396, "column": 33 }, "end": { - "line": 403, + "line": 396, "column": 45 } } }, "range": [ - 12714, - 12731 + 12518, + 12535 ], "loc": { "start": { - "line": 403, + "line": 396, "column": 28 }, "end": { - "line": 403, + "line": 396, "column": 45 } } }, "range": [ - 12698, - 12731 + 12502, + 12535 ], "loc": { "start": { - "line": 403, + "line": 396, "column": 12 }, "end": { - "line": 403, + "line": 396, "column": 45 } } }, "range": [ - 12698, - 12732 + 12502, + 12536 ], "loc": { "start": { - "line": 403, + "line": 396, "column": 12 }, "end": { - "line": 403, + "line": 396, "column": 46 } } @@ -26989,16 +26559,16 @@ "type": "Identifier", "name": "ul", "range": [ - 12745, - 12747 + 12549, + 12551 ], "loc": { "start": { - "line": 404, + "line": 397, "column": 12 }, "end": { - "line": 404, + "line": 397, "column": 14 } } @@ -27007,31 +26577,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 12748, - 12759 + 12552, + 12563 ], "loc": { "start": { - "line": 404, + "line": 397, "column": 15 }, "end": { - "line": 404, + "line": 397, "column": 26 } } }, "range": [ - 12745, - 12759 + 12549, + 12563 ], "loc": { "start": { - "line": 404, + "line": 397, "column": 12 }, "end": { - "line": 404, + "line": 397, "column": 26 } } @@ -27041,47 +26611,47 @@ "type": "Identifier", "name": "li1", "range": [ - 12760, - 12763 + 12564, + 12567 ], "loc": { "start": { - "line": 404, + "line": 397, "column": 27 }, "end": { - "line": 404, + "line": 397, "column": 30 } } } ], "range": [ - 12745, - 12764 + 12549, + 12568 ], "loc": { "start": { - "line": 404, + "line": 397, "column": 12 }, "end": { - "line": 404, + "line": 397, "column": 31 } } }, "range": [ - 12745, - 12765 + 12549, + 12569 ], "loc": { "start": { - "line": 404, + "line": 397, "column": 12 }, "end": { - "line": 404, + "line": 397, "column": 32 } } @@ -27094,16 +26664,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 12778, - 12784 + 12582, + 12588 ], "loc": { "start": { - "line": 405, + "line": 398, "column": 12 }, "end": { - "line": 405, + "line": 398, "column": 18 } } @@ -27116,16 +26686,16 @@ "type": "Identifier", "name": "li1", "range": [ - 12785, - 12788 + 12589, + 12592 ], "loc": { "start": { - "line": 405, + "line": 398, "column": 19 }, "end": { - "line": 405, + "line": 398, "column": 22 } } @@ -27134,31 +26704,31 @@ "type": "Identifier", "name": "check", "range": [ - 12789, - 12794 + 12593, + 12598 ], "loc": { "start": { - "line": 405, + "line": 398, "column": 23 }, "end": { - "line": 405, + "line": 398, "column": 28 } } }, "range": [ - 12785, - 12794 + 12589, + 12598 ], "loc": { "start": { - "line": 405, + "line": 398, "column": 19 }, "end": { - "line": 405, + "line": 398, "column": 28 } } @@ -27168,16 +26738,16 @@ "value": "click", "raw": "'click'", "range": [ - 12796, - 12803 + 12600, + 12607 ], "loc": { "start": { - "line": 405, + "line": 398, "column": 30 }, "end": { - "line": 405, + "line": 398, "column": 37 } } @@ -27190,16 +26760,16 @@ "type": "Identifier", "name": "evt", "range": [ - 12805, - 12808 + 12609, + 12612 ], "loc": { "start": { - "line": 405, + "line": 398, "column": 39 }, "end": { - "line": 405, + "line": 398, "column": 42 } } @@ -27213,16 +26783,16 @@ "object": { "type": "ThisExpression", "range": [ - 12812, - 12816 + 12616, + 12620 ], "loc": { "start": { - "line": 405, + "line": 398, "column": 46 }, "end": { - "line": 405, + "line": 398, "column": 50 } } @@ -27231,31 +26801,31 @@ "type": "Identifier", "name": "optionClick", "range": [ - 12817, - 12828 + 12621, + 12632 ], "loc": { "start": { - "line": 405, + "line": 398, "column": 51 }, "end": { - "line": 405, + "line": 398, "column": 62 } } }, "range": [ - 12812, - 12828 + 12616, + 12632 ], "loc": { "start": { - "line": 405, + "line": 398, "column": 46 }, "end": { - "line": 405, + "line": 398, "column": 62 } } @@ -27265,32 +26835,32 @@ "type": "Identifier", "name": "evt", "range": [ - 12829, - 12832 + 12633, + 12636 ], "loc": { "start": { - "line": 405, + "line": 398, "column": 63 }, "end": { - "line": 405, + "line": 398, "column": 66 } } } ], "range": [ - 12812, - 12833 + 12616, + 12637 ], "loc": { "start": { - "line": 405, + "line": 398, "column": 46 }, "end": { - "line": 405, + "line": 398, "column": 67 } } @@ -27298,47 +26868,47 @@ "generator": false, "expression": true, "range": [ - 12805, - 12833 + 12609, + 12637 ], "loc": { "start": { - "line": 405, + "line": 398, "column": 39 }, "end": { - "line": 405, + "line": 398, "column": 67 } } } ], "range": [ - 12778, - 12834 + 12582, + 12638 ], "loc": { "start": { - "line": 405, + "line": 398, "column": 12 }, "end": { - "line": 405, + "line": 398, "column": 68 } } }, "range": [ - 12778, - 12835 + 12582, + 12639 ], "loc": { "start": { - "line": 405, + "line": 398, "column": 12 }, "end": { - "line": 405, + "line": 398, "column": 69 } } @@ -27352,79 +26922,79 @@ "type": "Identifier", "name": "chkCt", "range": [ - 12848, - 12853 + 12652, + 12657 ], "loc": { "start": { - "line": 406, + "line": 399, "column": 12 }, "end": { - "line": 406, + "line": 399, "column": 17 } } }, "prefix": false, "range": [ - 12848, - 12855 + 12652, + 12659 ], "loc": { "start": { - "line": 406, + "line": 399, "column": 12 }, "end": { - "line": 406, + "line": 399, "column": 19 } } }, "range": [ - 12848, - 12856 + 12652, + 12660 ], "loc": { "start": { - "line": 406, + "line": 399, "column": 12 }, "end": { - "line": 406, + "line": 399, "column": 20 } } } ], "range": [ - 12572, - 12866 + 12376, + 12670 ], "loc": { "start": { - "line": 400, + "line": 393, "column": 34 }, "end": { - "line": 407, + "line": 400, "column": 9 } } }, "alternate": null, "range": [ - 12546, - 12866 + 12350, + 12670 ], "loc": { "start": { - "line": 400, + "line": 393, "column": 8 }, "end": { - "line": 407, + "line": 400, "column": 9 } } @@ -27438,16 +27008,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12880, - 12882 + 12684, + 12686 ], "loc": { "start": { - "line": 409, + "line": 402, "column": 12 }, "end": { - "line": 409, + "line": 402, "column": 14 } } @@ -27456,31 +27026,31 @@ "type": "Identifier", "name": "enableNonEmptyOption", "range": [ - 12883, - 12903 + 12687, + 12707 ], "loc": { "start": { - "line": 409, + "line": 402, "column": 15 }, "end": { - "line": 409, + "line": 402, "column": 35 } } }, "range": [ - 12880, - 12903 + 12684, + 12707 ], "loc": { "start": { - "line": 409, + "line": 402, "column": 12 }, "end": { - "line": 409, + "line": 402, "column": 35 } } @@ -27497,16 +27067,16 @@ "type": "Identifier", "name": "li2", "range": [ - 12923, - 12926 + 12727, + 12730 ], "loc": { "start": { - "line": 410, + "line": 403, "column": 16 }, "end": { - "line": 410, + "line": 403, "column": 19 } } @@ -27517,16 +27087,16 @@ "type": "Identifier", "name": "createCheckItem", "range": [ - 12929, - 12944 + 12733, + 12748 ], "loc": { "start": { - "line": 410, + "line": 403, "column": 22 }, "end": { - "line": 410, + "line": 403, "column": 37 } } @@ -27545,16 +27115,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12945, - 12947 + 12749, + 12751 ], "loc": { "start": { - "line": 410, + "line": 403, "column": 38 }, "end": { - "line": 410, + "line": 403, "column": 40 } } @@ -27563,31 +27133,31 @@ "type": "Identifier", "name": "fltIds", "range": [ - 12948, - 12954 + 12752, + 12758 ], "loc": { "start": { - "line": 410, + "line": 403, "column": 41 }, "end": { - "line": 410, + "line": 403, "column": 47 } } }, "range": [ - 12945, - 12954 + 12749, + 12758 ], "loc": { "start": { - "line": 410, + "line": 403, "column": 38 }, "end": { - "line": 410, + "line": 403, "column": 47 } } @@ -27596,31 +27166,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 12955, - 12963 + 12759, + 12767 ], "loc": { "start": { - "line": 410, + "line": 403, "column": 48 }, "end": { - "line": 410, + "line": 403, "column": 56 } } }, "range": [ - 12945, - 12964 + 12749, + 12768 ], "loc": { "start": { - "line": 410, + "line": 403, "column": 38 }, "end": { - "line": 410, + "line": 403, "column": 57 } } @@ -27630,31 +27200,31 @@ "value": "_2", "raw": "'_2'", "range": [ - 12967, - 12971 + 12771, + 12775 ], "loc": { "start": { - "line": 410, + "line": 403, "column": 60 }, "end": { - "line": 410, + "line": 403, "column": 64 } } }, "range": [ - 12945, - 12971 + 12749, + 12775 ], "loc": { "start": { - "line": 410, + "line": 403, "column": 38 }, "end": { - "line": 410, + "line": 403, "column": 64 } } @@ -27666,16 +27236,16 @@ "type": "Identifier", "name": "tf", "range": [ - 12973, - 12975 + 12777, + 12779 ], "loc": { "start": { - "line": 410, + "line": 403, "column": 66 }, "end": { - "line": 410, + "line": 403, "column": 68 } } @@ -27684,31 +27254,31 @@ "type": "Identifier", "name": "nmOperator", "range": [ - 12976, - 12986 + 12780, + 12790 ], "loc": { "start": { - "line": 410, + "line": 403, "column": 69 }, "end": { - "line": 410, + "line": 403, "column": 79 } } }, "range": [ - 12973, - 12986 + 12777, + 12790 ], "loc": { "start": { - "line": 410, + "line": 403, "column": 66 }, "end": { - "line": 410, + "line": 403, "column": 79 } } @@ -27720,16 +27290,16 @@ "type": "Identifier", "name": "tf", "range": [ - 13004, - 13006 + 12808, + 12810 ], "loc": { "start": { - "line": 411, + "line": 404, "column": 16 }, "end": { - "line": 411, + "line": 404, "column": 18 } } @@ -27738,62 +27308,62 @@ "type": "Identifier", "name": "nonEmptyText", "range": [ - 13007, - 13019 + 12811, + 12823 ], "loc": { "start": { - "line": 411, + "line": 404, "column": 19 }, "end": { - "line": 411, + "line": 404, "column": 31 } } }, "range": [ - 13004, - 13019 + 12808, + 12823 ], "loc": { "start": { - "line": 411, + "line": 404, "column": 16 }, "end": { - "line": 411, + "line": 404, "column": 31 } } } ], "range": [ - 12929, - 13020 + 12733, + 12824 ], "loc": { "start": { - "line": 410, + "line": 403, "column": 22 }, "end": { - "line": 411, + "line": 404, "column": 32 } } }, "range": [ - 12923, - 13020 + 12727, + 12824 ], "loc": { "start": { - "line": 410, + "line": 403, "column": 16 }, "end": { - "line": 411, + "line": 404, "column": 32 } } @@ -27801,16 +27371,16 @@ ], "kind": "let", "range": [ - 12919, - 13021 + 12723, + 12825 ], "loc": { "start": { - "line": 410, + "line": 403, "column": 12 }, "end": { - "line": 411, + "line": 404, "column": 33 } } @@ -27827,16 +27397,16 @@ "type": "Identifier", "name": "li2", "range": [ - 13034, - 13037 + 12838, + 12841 ], "loc": { "start": { - "line": 412, + "line": 405, "column": 12 }, "end": { - "line": 412, + "line": 405, "column": 15 } } @@ -27845,31 +27415,31 @@ "type": "Identifier", "name": "className", "range": [ - 13038, - 13047 + 12842, + 12851 ], "loc": { "start": { - "line": 412, + "line": 405, "column": 16 }, "end": { - "line": 412, + "line": 405, "column": 25 } } }, "range": [ - 13034, - 13047 + 12838, + 12851 ], "loc": { "start": { - "line": 412, + "line": 405, "column": 12 }, "end": { - "line": 412, + "line": 405, "column": 25 } } @@ -27880,16 +27450,16 @@ "object": { "type": "ThisExpression", "range": [ - 13050, - 13054 + 12854, + 12858 ], "loc": { "start": { - "line": 412, + "line": 405, "column": 28 }, "end": { - "line": 412, + "line": 405, "column": 32 } } @@ -27898,61 +27468,61 @@ "type": "Identifier", "name": "itemCssClass", "range": [ - 13055, - 13067 + 12859, + 12871 ], "loc": { "start": { - "line": 412, + "line": 405, "column": 33 }, "end": { - "line": 412, + "line": 405, "column": 45 } } }, "range": [ - 13050, - 13067 + 12854, + 12871 ], "loc": { "start": { - "line": 412, + "line": 405, "column": 28 }, "end": { - "line": 412, + "line": 405, "column": 45 } } }, "range": [ - 13034, - 13067 + 12838, + 12871 ], "loc": { "start": { - "line": 412, + "line": 405, "column": 12 }, "end": { - "line": 412, + "line": 405, "column": 45 } } }, "range": [ - 13034, - 13068 + 12838, + 12872 ], "loc": { "start": { - "line": 412, + "line": 405, "column": 12 }, "end": { - "line": 412, + "line": 405, "column": 46 } } @@ -27968,16 +27538,16 @@ "type": "Identifier", "name": "ul", "range": [ - 13081, - 13083 + 12885, + 12887 ], "loc": { "start": { - "line": 413, + "line": 406, "column": 12 }, "end": { - "line": 413, + "line": 406, "column": 14 } } @@ -27986,31 +27556,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 13084, - 13095 + 12888, + 12899 ], "loc": { "start": { - "line": 413, + "line": 406, "column": 15 }, "end": { - "line": 413, + "line": 406, "column": 26 } } }, "range": [ - 13081, - 13095 + 12885, + 12899 ], "loc": { "start": { - "line": 413, + "line": 406, "column": 12 }, "end": { - "line": 413, + "line": 406, "column": 26 } } @@ -28020,47 +27590,47 @@ "type": "Identifier", "name": "li2", "range": [ - 13096, - 13099 + 12900, + 12903 ], "loc": { "start": { - "line": 413, + "line": 406, "column": 27 }, "end": { - "line": 413, + "line": 406, "column": 30 } } } ], "range": [ - 13081, - 13100 + 12885, + 12904 ], "loc": { "start": { - "line": 413, + "line": 406, "column": 12 }, "end": { - "line": 413, + "line": 406, "column": 31 } } }, "range": [ - 13081, - 13101 + 12885, + 12905 ], "loc": { "start": { - "line": 413, + "line": 406, "column": 12 }, "end": { - "line": 413, + "line": 406, "column": 32 } } @@ -28073,16 +27643,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 13114, - 13120 + 12918, + 12924 ], "loc": { "start": { - "line": 414, + "line": 407, "column": 12 }, "end": { - "line": 414, + "line": 407, "column": 18 } } @@ -28095,16 +27665,16 @@ "type": "Identifier", "name": "li2", "range": [ - 13121, - 13124 + 12925, + 12928 ], "loc": { "start": { - "line": 414, + "line": 407, "column": 19 }, "end": { - "line": 414, + "line": 407, "column": 22 } } @@ -28113,31 +27683,31 @@ "type": "Identifier", "name": "check", "range": [ - 13125, - 13130 + 12929, + 12934 ], "loc": { "start": { - "line": 414, + "line": 407, "column": 23 }, "end": { - "line": 414, + "line": 407, "column": 28 } } }, "range": [ - 13121, - 13130 + 12925, + 12934 ], "loc": { "start": { - "line": 414, + "line": 407, "column": 19 }, "end": { - "line": 414, + "line": 407, "column": 28 } } @@ -28147,16 +27717,16 @@ "value": "click", "raw": "'click'", "range": [ - 13132, - 13139 + 12936, + 12943 ], "loc": { "start": { - "line": 414, + "line": 407, "column": 30 }, "end": { - "line": 414, + "line": 407, "column": 37 } } @@ -28169,16 +27739,16 @@ "type": "Identifier", "name": "evt", "range": [ - 13141, - 13144 + 12945, + 12948 ], "loc": { "start": { - "line": 414, + "line": 407, "column": 39 }, "end": { - "line": 414, + "line": 407, "column": 42 } } @@ -28192,16 +27762,16 @@ "object": { "type": "ThisExpression", "range": [ - 13148, - 13152 + 12952, + 12956 ], "loc": { "start": { - "line": 414, + "line": 407, "column": 46 }, "end": { - "line": 414, + "line": 407, "column": 50 } } @@ -28210,31 +27780,31 @@ "type": "Identifier", "name": "optionClick", "range": [ - 13153, - 13164 + 12957, + 12968 ], "loc": { "start": { - "line": 414, + "line": 407, "column": 51 }, "end": { - "line": 414, + "line": 407, "column": 62 } } }, "range": [ - 13148, - 13164 + 12952, + 12968 ], "loc": { "start": { - "line": 414, + "line": 407, "column": 46 }, "end": { - "line": 414, + "line": 407, "column": 62 } } @@ -28244,32 +27814,32 @@ "type": "Identifier", "name": "evt", "range": [ - 13165, - 13168 + 12969, + 12972 ], "loc": { "start": { - "line": 414, + "line": 407, "column": 63 }, "end": { - "line": 414, + "line": 407, "column": 66 } } } ], "range": [ - 13148, - 13169 + 12952, + 12973 ], "loc": { "start": { - "line": 414, + "line": 407, "column": 46 }, "end": { - "line": 414, + "line": 407, "column": 67 } } @@ -28277,47 +27847,47 @@ "generator": false, "expression": true, "range": [ - 13141, - 13169 + 12945, + 12973 ], "loc": { "start": { - "line": 414, + "line": 407, "column": 39 }, "end": { - "line": 414, + "line": 407, "column": 67 } } } ], "range": [ - 13114, - 13170 + 12918, + 12974 ], "loc": { "start": { - "line": 414, + "line": 407, "column": 12 }, "end": { - "line": 414, + "line": 407, "column": 68 } } }, "range": [ - 13114, - 13171 + 12918, + 12975 ], "loc": { "start": { - "line": 414, + "line": 407, "column": 12 }, "end": { - "line": 414, + "line": 407, "column": 69 } } @@ -28331,79 +27901,79 @@ "type": "Identifier", "name": "chkCt", "range": [ - 13184, - 13189 + 12988, + 12993 ], "loc": { "start": { - "line": 415, + "line": 408, "column": 12 }, "end": { - "line": 415, + "line": 408, "column": 17 } } }, "prefix": false, "range": [ - 13184, - 13191 + 12988, + 12995 ], "loc": { "start": { - "line": 415, + "line": 408, "column": 12 }, "end": { - "line": 415, + "line": 408, "column": 19 } } }, "range": [ - 13184, - 13192 + 12988, + 12996 ], "loc": { "start": { - "line": 415, + "line": 408, "column": 12 }, "end": { - "line": 415, + "line": 408, "column": 20 } } } ], "range": [ - 12905, - 13202 + 12709, + 13006 ], "loc": { "start": { - "line": 409, + "line": 402, "column": 37 }, "end": { - "line": 416, + "line": 409, "column": 9 } } }, "alternate": null, "range": [ - 12876, - 13202 + 12680, + 13006 ], "loc": { "start": { - "line": 409, + "line": 402, "column": 8 }, "end": { - "line": 416, + "line": 409, "column": 9 } } @@ -28414,47 +27984,47 @@ "type": "Identifier", "name": "chkCt", "range": [ - 13218, - 13223 + 13022, + 13027 ], "loc": { "start": { - "line": 417, + "line": 410, "column": 15 }, "end": { - "line": 417, + "line": 410, "column": 20 } } }, "range": [ - 13211, - 13224 + 13015, + 13028 ], "loc": { "start": { - "line": 417, + "line": 410, "column": 8 }, "end": { - "line": 417, + "line": 410, "column": 21 } } } ], "range": [ - 12161, - 13230 + 11965, + 13034 ], "loc": { "start": { - "line": 386, + "line": 379, "column": 29 }, "end": { - "line": 418, + "line": 411, "column": 5 } } @@ -28462,16 +28032,16 @@ "generator": false, "expression": false, "range": [ - 12146, - 13230 + 11950, + 13034 ], "loc": { "start": { - "line": 386, + "line": 379, "column": 14 }, "end": { - "line": 418, + "line": 411, "column": 5 } } @@ -28479,16 +28049,16 @@ "kind": "method", "computed": false, "range": [ - 12136, - 13230 + 11940, + 13034 ], "loc": { "start": { - "line": 386, + "line": 379, "column": 4 }, "end": { - "line": 418, + "line": 411, "column": 5 } }, @@ -28497,16 +28067,16 @@ "type": "Block", "value": "*\n * Add checklist header option\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n ", "range": [ - 11997, - 12131 + 11801, + 11935 ], "loc": { "start": { - "line": 381, + "line": 374, "column": 4 }, "end": { - "line": 385, + "line": 378, "column": 7 } } @@ -28517,16 +28087,16 @@ "type": "Block", "value": "*\n * Store checked options in DOM element attribute\n * @param {Object} o checklist option DOM element\n ", "range": [ - 13236, - 13355 + 13040, + 13159 ], "loc": { "start": { - "line": 420, + "line": 413, "column": 4 }, "end": { - "line": 423, + "line": 416, "column": 7 } } @@ -28540,16 +28110,16 @@ "type": "Identifier", "name": "setCheckListValues", "range": [ - 13360, - 13378 + 13164, + 13182 ], "loc": { "start": { - "line": 424, + "line": 417, "column": 4 }, "end": { - "line": 424, + "line": 417, "column": 22 } } @@ -28562,16 +28132,16 @@ "type": "Identifier", "name": "o", "range": [ - 13379, - 13380 + 13183, + 13184 ], "loc": { "start": { - "line": 424, + "line": 417, "column": 23 }, "end": { - "line": 424, + "line": 417, "column": 24 } } @@ -28589,32 +28159,32 @@ "type": "Identifier", "name": "o", "range": [ - 13397, - 13398 + 13201, + 13202 ], "loc": { "start": { - "line": 425, + "line": 418, "column": 13 }, "end": { - "line": 425, + "line": 418, "column": 14 } } }, "prefix": true, "range": [ - 13396, - 13398 + 13200, + 13202 ], "loc": { "start": { - "line": 425, + "line": 418, "column": 12 }, "end": { - "line": 425, + "line": 418, "column": 14 } } @@ -28626,48 +28196,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 13414, - 13421 + 13218, + 13225 ], "loc": { "start": { - "line": 426, + "line": 419, "column": 12 }, "end": { - "line": 426, + "line": 419, "column": 19 } } } ], "range": [ - 13400, - 13431 + 13204, + 13235 ], "loc": { "start": { - "line": 425, + "line": 418, "column": 16 }, "end": { - "line": 427, + "line": 420, "column": 9 } } }, "alternate": null, "range": [ - 13392, - 13431 + 13196, + 13235 ], "loc": { "start": { - "line": 425, + "line": 418, "column": 8 }, "end": { - "line": 427, + "line": 420, "column": 9 } } @@ -28681,16 +28251,16 @@ "type": "Identifier", "name": "tf", "range": [ - 13445, - 13447 + 13249, + 13251 ], "loc": { "start": { - "line": 429, + "line": 422, "column": 12 }, "end": { - "line": 429, + "line": 422, "column": 14 } } @@ -28701,16 +28271,16 @@ "object": { "type": "ThisExpression", "range": [ - 13450, - 13454 + 13254, + 13258 ], "loc": { "start": { - "line": 429, + "line": 422, "column": 17 }, "end": { - "line": 429, + "line": 422, "column": 21 } } @@ -28719,46 +28289,46 @@ "type": "Identifier", "name": "tf", "range": [ - 13455, - 13457 + 13259, + 13261 ], "loc": { "start": { - "line": 429, + "line": 422, "column": 22 }, "end": { - "line": 429, + "line": 422, "column": 24 } } }, "range": [ - 13450, - 13457 + 13254, + 13261 ], "loc": { "start": { - "line": 429, + "line": 422, "column": 17 }, "end": { - "line": 429, + "line": 422, "column": 24 } } }, "range": [ - 13445, - 13457 + 13249, + 13261 ], "loc": { "start": { - "line": 429, + "line": 422, "column": 12 }, "end": { - "line": 429, + "line": 422, "column": 24 } } @@ -28766,16 +28336,16 @@ ], "kind": "let", "range": [ - 13441, - 13458 + 13245, + 13262 ], "loc": { "start": { - "line": 429, + "line": 422, "column": 8 }, "end": { - "line": 429, + "line": 422, "column": 25 } } @@ -28789,16 +28359,16 @@ "type": "Identifier", "name": "chkValue", "range": [ - 13471, - 13479 + 13275, + 13283 ], "loc": { "start": { - "line": 430, + "line": 423, "column": 12 }, "end": { - "line": 430, + "line": 423, "column": 20 } } @@ -28810,16 +28380,16 @@ "type": "Identifier", "name": "o", "range": [ - 13482, - 13483 + 13286, + 13287 ], "loc": { "start": { - "line": 430, + "line": 423, "column": 23 }, "end": { - "line": 430, + "line": 423, "column": 24 } } @@ -28828,46 +28398,46 @@ "type": "Identifier", "name": "value", "range": [ - 13484, - 13489 + 13288, + 13293 ], "loc": { "start": { - "line": 430, + "line": 423, "column": 25 }, "end": { - "line": 430, + "line": 423, "column": 30 } } }, "range": [ - 13482, - 13489 + 13286, + 13293 ], "loc": { "start": { - "line": 430, + "line": 423, "column": 23 }, "end": { - "line": 430, + "line": 423, "column": 30 } } }, "range": [ - 13471, - 13489 + 13275, + 13293 ], "loc": { "start": { - "line": 430, + "line": 423, "column": 12 }, "end": { - "line": 430, + "line": 423, "column": 30 } } @@ -28875,16 +28445,16 @@ ], "kind": "let", "range": [ - 13467, - 13490 + 13271, + 13294 ], "loc": { "start": { - "line": 430, + "line": 423, "column": 8 }, "end": { - "line": 430, + "line": 423, "column": 31 } }, @@ -28893,16 +28463,16 @@ "type": "Line", "value": "checked item value", "range": [ - 13491, - 13511 + 13295, + 13315 ], "loc": { "start": { - "line": 430, + "line": 423, "column": 32 }, "end": { - "line": 430, + "line": 423, "column": 52 } } @@ -28911,16 +28481,16 @@ "type": "Line", "value": " TODO: provide helper to extract column index, ugly!", "range": [ - 13520, - 13574 + 13324, + 13378 ], "loc": { "start": { - "line": 431, + "line": 424, "column": 8 }, "end": { - "line": 431, + "line": 424, "column": 62 } } @@ -28936,16 +28506,16 @@ "type": "Identifier", "name": "chkIndex", "range": [ - 13587, - 13595 + 13391, + 13399 ], "loc": { "start": { - "line": 432, + "line": 425, "column": 12 }, "end": { - "line": 432, + "line": 425, "column": 20 } } @@ -28956,16 +28526,16 @@ "type": "Identifier", "name": "parseInt", "range": [ - 13598, - 13606 + 13402, + 13410 ], "loc": { "start": { - "line": 432, + "line": 425, "column": 23 }, "end": { - "line": 432, + "line": 425, "column": 31 } } @@ -28986,16 +28556,16 @@ "type": "Identifier", "name": "o", "range": [ - 13607, - 13608 + 13411, + 13412 ], "loc": { "start": { - "line": 432, + "line": 425, "column": 32 }, "end": { - "line": 432, + "line": 425, "column": 33 } } @@ -29004,31 +28574,31 @@ "type": "Identifier", "name": "id", "range": [ - 13609, - 13611 + 13413, + 13415 ], "loc": { "start": { - "line": 432, + "line": 425, "column": 34 }, "end": { - "line": 432, + "line": 425, "column": 36 } } }, "range": [ - 13607, - 13611 + 13411, + 13415 ], "loc": { "start": { - "line": 432, + "line": 425, "column": 32 }, "end": { - "line": 432, + "line": 425, "column": 36 } } @@ -29037,31 +28607,31 @@ "type": "Identifier", "name": "split", "range": [ - 13612, - 13617 + 13416, + 13421 ], "loc": { "start": { - "line": 432, + "line": 425, "column": 37 }, "end": { - "line": 432, + "line": 425, "column": 42 } } }, "range": [ - 13607, - 13617 + 13411, + 13421 ], "loc": { "start": { - "line": 432, + "line": 425, "column": 32 }, "end": { - "line": 432, + "line": 425, "column": 42 } } @@ -29072,32 +28642,32 @@ "value": "_", "raw": "'_'", "range": [ - 13618, - 13621 + 13422, + 13425 ], "loc": { "start": { - "line": 432, + "line": 425, "column": 43 }, "end": { - "line": 432, + "line": 425, "column": 46 } } } ], "range": [ - 13607, - 13622 + 13411, + 13426 ], "loc": { "start": { - "line": 432, + "line": 425, "column": 32 }, "end": { - "line": 432, + "line": 425, "column": 47 } } @@ -29107,31 +28677,31 @@ "value": 2, "raw": "2", "range": [ - 13623, - 13624 + 13427, + 13428 ], "loc": { "start": { - "line": 432, + "line": 425, "column": 48 }, "end": { - "line": 432, + "line": 425, "column": 49 } } }, "range": [ - 13607, - 13625 + 13411, + 13429 ], "loc": { "start": { - "line": 432, + "line": 425, "column": 32 }, "end": { - "line": 432, + "line": 425, "column": 50 } } @@ -29141,47 +28711,47 @@ "value": 10, "raw": "10", "range": [ - 13627, - 13629 + 13431, + 13433 ], "loc": { "start": { - "line": 432, + "line": 425, "column": 52 }, "end": { - "line": 432, + "line": 425, "column": 54 } } } ], "range": [ - 13598, - 13630 + 13402, + 13434 ], "loc": { "start": { - "line": 432, + "line": 425, "column": 23 }, "end": { - "line": 432, + "line": 425, "column": 55 } } }, "range": [ - 13587, - 13630 + 13391, + 13434 ], "loc": { "start": { - "line": 432, + "line": 425, "column": 12 }, "end": { - "line": 432, + "line": 425, "column": 55 } } @@ -29189,16 +28759,16 @@ ], "kind": "let", "range": [ - 13583, - 13631 + 13387, + 13435 ], "loc": { "start": { - "line": 432, + "line": 425, "column": 8 }, "end": { - "line": 432, + "line": 425, "column": 56 } }, @@ -29207,16 +28777,16 @@ "type": "Line", "value": "checked item value", "range": [ - 13491, - 13511 + 13295, + 13315 ], "loc": { "start": { - "line": 430, + "line": 423, "column": 32 }, "end": { - "line": 430, + "line": 423, "column": 52 } } @@ -29225,16 +28795,16 @@ "type": "Line", "value": " TODO: provide helper to extract column index, ugly!", "range": [ - 13520, - 13574 + 13324, + 13378 ], "loc": { "start": { - "line": 431, + "line": 424, "column": 8 }, "end": { - "line": 431, + "line": 424, "column": 62 } } @@ -29250,16 +28820,16 @@ "type": "Identifier", "name": "colIdx", "range": [ - 13644, - 13650 + 13448, + 13454 ], "loc": { "start": { - "line": 433, + "line": 426, "column": 12 }, "end": { - "line": 433, + "line": 426, "column": 18 } } @@ -29273,16 +28843,16 @@ "type": "Identifier", "name": "tf", "range": [ - 13653, - 13655 + 13457, + 13459 ], "loc": { "start": { - "line": 433, + "line": 426, "column": 21 }, "end": { - "line": 433, + "line": 426, "column": 23 } } @@ -29291,31 +28861,31 @@ "type": "Identifier", "name": "getColumnIndexFromFilterId", "range": [ - 13656, - 13682 + 13460, + 13486 ], "loc": { "start": { - "line": 433, + "line": 426, "column": 24 }, "end": { - "line": 433, + "line": 426, "column": 50 } } }, "range": [ - 13653, - 13682 + 13457, + 13486 ], "loc": { "start": { - "line": 433, + "line": 426, "column": 21 }, "end": { - "line": 433, + "line": 426, "column": 50 } } @@ -29328,16 +28898,16 @@ "type": "Identifier", "name": "o", "range": [ - 13683, - 13684 + 13487, + 13488 ], "loc": { "start": { - "line": 433, + "line": 426, "column": 51 }, "end": { - "line": 433, + "line": 426, "column": 52 } } @@ -29346,62 +28916,62 @@ "type": "Identifier", "name": "id", "range": [ - 13685, - 13687 + 13489, + 13491 ], "loc": { "start": { - "line": 433, + "line": 426, "column": 53 }, "end": { - "line": 433, + "line": 426, "column": 55 } } }, "range": [ - 13683, - 13687 + 13487, + 13491 ], "loc": { "start": { - "line": 433, + "line": 426, "column": 51 }, "end": { - "line": 433, + "line": 426, "column": 55 } } } ], "range": [ - 13653, - 13688 + 13457, + 13492 ], "loc": { "start": { - "line": 433, + "line": 426, "column": 21 }, "end": { - "line": 433, + "line": 426, "column": 56 } } }, "range": [ - 13644, - 13688 + 13448, + 13492 ], "loc": { "start": { - "line": 433, + "line": 426, "column": 12 }, "end": { - "line": 433, + "line": 426, "column": 56 } } @@ -29409,16 +28979,16 @@ ], "kind": "let", "range": [ - 13640, - 13689 + 13444, + 13493 ], "loc": { "start": { - "line": 433, + "line": 426, "column": 8 }, "end": { - "line": 433, + "line": 426, "column": 57 } } @@ -29432,16 +29002,16 @@ "type": "Identifier", "name": "itemTag", "range": [ - 13702, - 13709 + 13506, + 13513 ], "loc": { "start": { - "line": 434, + "line": 427, "column": 12 }, "end": { - "line": 434, + "line": 427, "column": 19 } } @@ -29451,31 +29021,31 @@ "value": "LI", "raw": "'LI'", "range": [ - 13712, - 13716 + 13516, + 13520 ], "loc": { "start": { - "line": 434, + "line": 427, "column": 22 }, "end": { - "line": 434, + "line": 427, "column": 26 } } }, "range": [ - 13702, - 13716 + 13506, + 13520 ], "loc": { "start": { - "line": 434, + "line": 427, "column": 12 }, "end": { - "line": 434, + "line": 427, "column": 26 } } @@ -29483,16 +29053,16 @@ ], "kind": "let", "range": [ - 13698, - 13717 + 13502, + 13521 ], "loc": { "start": { - "line": 434, + "line": 427, "column": 8 }, "end": { - "line": 434, + "line": 427, "column": 27 } } @@ -29506,16 +29076,16 @@ "type": "Identifier", "name": "n", "range": [ - 13731, - 13732 + 13535, + 13536 ], "loc": { "start": { - "line": 436, + "line": 429, "column": 12 }, "end": { - "line": 436, + "line": 429, "column": 13 } } @@ -29529,16 +29099,16 @@ "type": "Identifier", "name": "tf", "range": [ - 13735, - 13737 + 13539, + 13541 ], "loc": { "start": { - "line": 436, + "line": 429, "column": 16 }, "end": { - "line": 436, + "line": 429, "column": 18 } } @@ -29547,31 +29117,31 @@ "type": "Identifier", "name": "getFilterElement", "range": [ - 13738, - 13754 + 13542, + 13558 ], "loc": { "start": { - "line": 436, + "line": 429, "column": 19 }, "end": { - "line": 436, + "line": 429, "column": 35 } } }, "range": [ - 13735, - 13754 + 13539, + 13558 ], "loc": { "start": { - "line": 436, + "line": 429, "column": 16 }, "end": { - "line": 436, + "line": 429, "column": 35 } } @@ -29583,16 +29153,16 @@ "type": "Identifier", "name": "parseInt", "range": [ - 13755, - 13763 + 13559, + 13567 ], "loc": { "start": { - "line": 436, + "line": 429, "column": 36 }, "end": { - "line": 436, + "line": 429, "column": 44 } } @@ -29602,16 +29172,16 @@ "type": "Identifier", "name": "colIdx", "range": [ - 13764, - 13770 + 13568, + 13574 ], "loc": { "start": { - "line": 436, + "line": 429, "column": 45 }, "end": { - "line": 436, + "line": 429, "column": 51 } } @@ -29621,63 +29191,63 @@ "value": 10, "raw": "10", "range": [ - 13772, - 13774 + 13576, + 13578 ], "loc": { "start": { - "line": 436, + "line": 429, "column": 53 }, "end": { - "line": 436, + "line": 429, "column": 55 } } } ], "range": [ - 13755, - 13775 + 13559, + 13579 ], "loc": { "start": { - "line": 436, + "line": 429, "column": 36 }, "end": { - "line": 436, + "line": 429, "column": 56 } } } ], "range": [ - 13735, - 13776 + 13539, + 13580 ], "loc": { "start": { - "line": 436, + "line": 429, "column": 16 }, "end": { - "line": 436, + "line": 429, "column": 57 } } }, "range": [ - 13731, - 13776 + 13535, + 13580 ], "loc": { "start": { - "line": 436, + "line": 429, "column": 12 }, "end": { - "line": 436, + "line": 429, "column": 57 } } @@ -29685,16 +29255,16 @@ ], "kind": "let", "range": [ - 13727, - 13777 + 13531, + 13581 ], "loc": { "start": { - "line": 436, + "line": 429, "column": 8 }, "end": { - "line": 436, + "line": 429, "column": 58 } } @@ -29708,16 +29278,16 @@ "type": "Identifier", "name": "li", "range": [ - 13790, - 13792 + 13594, + 13596 ], "loc": { "start": { - "line": 437, + "line": 430, "column": 12 }, "end": { - "line": 437, + "line": 430, "column": 14 } } @@ -29732,16 +29302,16 @@ "type": "Identifier", "name": "n", "range": [ - 13795, - 13796 + 13599, + 13600 ], "loc": { "start": { - "line": 437, + "line": 430, "column": 17 }, "end": { - "line": 437, + "line": 430, "column": 18 } } @@ -29750,31 +29320,31 @@ "type": "Identifier", "name": "childNodes", "range": [ - 13797, - 13807 + 13601, + 13611 ], "loc": { "start": { - "line": 437, + "line": 430, "column": 19 }, "end": { - "line": 437, + "line": 430, "column": 29 } } }, "range": [ - 13795, - 13807 + 13599, + 13611 ], "loc": { "start": { - "line": 437, + "line": 430, "column": 17 }, "end": { - "line": 437, + "line": 430, "column": 29 } } @@ -29783,46 +29353,46 @@ "type": "Identifier", "name": "chkIndex", "range": [ - 13808, - 13816 + 13612, + 13620 ], "loc": { "start": { - "line": 437, + "line": 430, "column": 30 }, "end": { - "line": 437, + "line": 430, "column": 38 } } }, "range": [ - 13795, - 13817 + 13599, + 13621 ], "loc": { "start": { - "line": 437, + "line": 430, "column": 17 }, "end": { - "line": 437, + "line": 430, "column": 39 } } }, "range": [ - 13790, - 13817 + 13594, + 13621 ], "loc": { "start": { - "line": 437, + "line": 430, "column": 12 }, "end": { - "line": 437, + "line": 430, "column": 39 } } @@ -29830,16 +29400,16 @@ ], "kind": "let", "range": [ - 13786, - 13818 + 13590, + 13622 ], "loc": { "start": { - "line": 437, + "line": 430, "column": 8 }, "end": { - "line": 437, + "line": 430, "column": 40 } } @@ -29853,16 +29423,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 13831, - 13839 + 13635, + 13643 ], "loc": { "start": { - "line": 438, + "line": 431, "column": 12 }, "end": { - "line": 438, + "line": 431, "column": 20 } } @@ -29876,16 +29446,16 @@ "type": "Identifier", "name": "n", "range": [ - 13842, - 13843 + 13646, + 13647 ], "loc": { "start": { - "line": 438, + "line": 431, "column": 23 }, "end": { - "line": 438, + "line": 431, "column": 24 } } @@ -29894,31 +29464,31 @@ "type": "Identifier", "name": "getAttribute", "range": [ - 13844, - 13856 + 13648, + 13660 ], "loc": { "start": { - "line": 438, + "line": 431, "column": 25 }, "end": { - "line": 438, + "line": 431, "column": 37 } } }, "range": [ - 13842, - 13856 + 13646, + 13660 ], "loc": { "start": { - "line": 438, + "line": 431, "column": 23 }, "end": { - "line": 438, + "line": 431, "column": 37 } } @@ -29929,47 +29499,47 @@ "value": "colIndex", "raw": "'colIndex'", "range": [ - 13857, - 13867 + 13661, + 13671 ], "loc": { "start": { - "line": 438, + "line": 431, "column": 38 }, "end": { - "line": 438, + "line": 431, "column": 48 } } } ], "range": [ - 13842, - 13868 + 13646, + 13672 ], "loc": { "start": { - "line": 438, + "line": 431, "column": 23 }, "end": { - "line": 438, + "line": 431, "column": 49 } } }, "range": [ - 13831, - 13868 + 13635, + 13672 ], "loc": { "start": { - "line": 438, + "line": 431, "column": 12 }, "end": { - "line": 438, + "line": 431, "column": 49 } } @@ -29977,16 +29547,16 @@ ], "kind": "let", "range": [ - 13827, - 13869 + 13631, + 13673 ], "loc": { "start": { - "line": 438, + "line": 431, "column": 8 }, "end": { - "line": 438, + "line": 431, "column": 50 } } @@ -30000,16 +29570,16 @@ "type": "Identifier", "name": "fltValue", "range": [ - 13882, - 13890 + 13686, + 13694 ], "loc": { "start": { - "line": 439, + "line": 432, "column": 12 }, "end": { - "line": 439, + "line": 432, "column": 20 } } @@ -30023,16 +29593,16 @@ "type": "Identifier", "name": "n", "range": [ - 13893, - 13894 + 13697, + 13698 ], "loc": { "start": { - "line": 439, + "line": 432, "column": 23 }, "end": { - "line": 439, + "line": 432, "column": 24 } } @@ -30041,31 +29611,31 @@ "type": "Identifier", "name": "getAttribute", "range": [ - 13895, - 13907 + 13699, + 13711 ], "loc": { "start": { - "line": 439, + "line": 432, "column": 25 }, "end": { - "line": 439, + "line": 432, "column": 37 } } }, "range": [ - 13893, - 13907 + 13697, + 13711 ], "loc": { "start": { - "line": 439, + "line": 432, "column": 23 }, "end": { - "line": 439, + "line": 432, "column": 37 } } @@ -30076,47 +29646,47 @@ "value": "value", "raw": "'value'", "range": [ - 13908, - 13915 + 13712, + 13719 ], "loc": { "start": { - "line": 439, + "line": 432, "column": 38 }, "end": { - "line": 439, + "line": 432, "column": 45 } } } ], "range": [ - 13893, - 13916 + 13697, + 13720 ], "loc": { "start": { - "line": 439, + "line": 432, "column": 23 }, "end": { - "line": 439, + "line": 432, "column": 46 } } }, "range": [ - 13882, - 13916 + 13686, + 13720 ], "loc": { "start": { - "line": 439, + "line": 432, "column": 12 }, "end": { - "line": 439, + "line": 432, "column": 46 } } @@ -30124,16 +29694,16 @@ ], "kind": "let", "range": [ - 13878, - 13917 + 13682, + 13721 ], "loc": { "start": { - "line": 439, + "line": 432, "column": 8 }, "end": { - "line": 439, + "line": 432, "column": 47 } }, @@ -30142,16 +29712,16 @@ "type": "Line", "value": "filter value (ul tag)", "range": [ - 13918, - 13941 + 13722, + 13745 ], "loc": { "start": { - "line": 439, + "line": 432, "column": 48 }, "end": { - "line": 439, + "line": 432, "column": 71 } } @@ -30167,16 +29737,16 @@ "type": "Identifier", "name": "fltIndexes", "range": [ - 13954, - 13964 + 13758, + 13768 ], "loc": { "start": { - "line": 440, + "line": 433, "column": 12 }, "end": { - "line": 440, + "line": 433, "column": 22 } } @@ -30190,16 +29760,16 @@ "type": "Identifier", "name": "n", "range": [ - 13967, - 13968 + 13771, + 13772 ], "loc": { "start": { - "line": 440, + "line": 433, "column": 25 }, "end": { - "line": 440, + "line": 433, "column": 26 } } @@ -30208,31 +29778,31 @@ "type": "Identifier", "name": "getAttribute", "range": [ - 13969, - 13981 + 13773, + 13785 ], "loc": { "start": { - "line": 440, + "line": 433, "column": 27 }, "end": { - "line": 440, + "line": 433, "column": 39 } } }, "range": [ - 13967, - 13981 + 13771, + 13785 ], "loc": { "start": { - "line": 440, + "line": 433, "column": 25 }, "end": { - "line": 440, + "line": 433, "column": 39 } } @@ -30243,47 +29813,47 @@ "value": "indexes", "raw": "'indexes'", "range": [ - 13982, - 13991 + 13786, + 13795 ], "loc": { "start": { - "line": 440, + "line": 433, "column": 40 }, "end": { - "line": 440, + "line": 433, "column": 49 } } } ], "range": [ - 13967, - 13992 + 13771, + 13796 ], "loc": { "start": { - "line": 440, + "line": 433, "column": 25 }, "end": { - "line": 440, + "line": 433, "column": 50 } } }, "range": [ - 13954, - 13992 + 13758, + 13796 ], "loc": { "start": { - "line": 440, + "line": 433, "column": 12 }, "end": { - "line": 440, + "line": 433, "column": 50 } } @@ -30291,16 +29861,16 @@ ], "kind": "let", "range": [ - 13950, - 13993 + 13754, + 13797 ], "loc": { "start": { - "line": 440, + "line": 433, "column": 8 }, "end": { - "line": 440, + "line": 433, "column": 51 } }, @@ -30309,16 +29879,16 @@ "type": "Line", "value": "filter value (ul tag)", "range": [ - 13918, - 13941 + 13722, + 13745 ], "loc": { "start": { - "line": 439, + "line": 432, "column": 48 }, "end": { - "line": 439, + "line": 432, "column": 71 } } @@ -30329,16 +29899,16 @@ "type": "Line", "value": "selected items (ul tag)", "range": [ - 13994, - 14019 + 13798, + 13823 ], "loc": { "start": { - "line": 440, + "line": 433, "column": 52 }, "end": { - "line": 440, + "line": 433, "column": 77 } } @@ -30354,16 +29924,16 @@ "type": "Identifier", "name": "o", "range": [ - 14033, - 14034 + 13837, + 13838 ], "loc": { "start": { - "line": 442, + "line": 435, "column": 12 }, "end": { - "line": 442, + "line": 435, "column": 13 } } @@ -30372,31 +29942,31 @@ "type": "Identifier", "name": "checked", "range": [ - 14035, - 14042 + 13839, + 13846 ], "loc": { "start": { - "line": 442, + "line": 435, "column": 14 }, "end": { - "line": 442, + "line": 435, "column": 21 } } }, "range": [ - 14033, - 14042 + 13837, + 13846 ], "loc": { "start": { - "line": 442, + "line": 435, "column": 12 }, "end": { - "line": 442, + "line": 435, "column": 21 } } @@ -30413,16 +29983,16 @@ "type": "Identifier", "name": "chkValue", "range": [ - 14090, - 14098 + 13894, + 13902 ], "loc": { "start": { - "line": 444, + "line": 437, "column": 16 }, "end": { - "line": 444, + "line": 437, "column": 24 } } @@ -30432,31 +30002,31 @@ "value": "", "raw": "''", "range": [ - 14103, - 14105 + 13907, + 13909 ], "loc": { "start": { - "line": 444, + "line": 437, "column": 29 }, "end": { - "line": 444, + "line": 437, "column": 31 } } }, "range": [ - 14090, - 14105 + 13894, + 13909 ], "loc": { "start": { - "line": 444, + "line": 437, "column": 16 }, "end": { - "line": 444, + "line": 437, "column": 31 } } @@ -30473,16 +30043,16 @@ "type": "Identifier", "name": "fltIndexes", "range": [ - 14130, - 14140 + 13934, + 13944 ], "loc": { "start": { - "line": 445, + "line": 438, "column": 21 }, "end": { - "line": 445, + "line": 438, "column": 31 } } @@ -30494,16 +30064,16 @@ "type": "Identifier", "name": "fltIndexes", "range": [ - 14144, - 14154 + 13948, + 13958 ], "loc": { "start": { - "line": 445, + "line": 438, "column": 35 }, "end": { - "line": 445, + "line": 438, "column": 45 } } @@ -30513,46 +30083,46 @@ "value": "", "raw": "''", "range": [ - 14159, - 14161 + 13963, + 13965 ], "loc": { "start": { - "line": 445, + "line": 438, "column": 50 }, "end": { - "line": 445, + "line": 438, "column": 52 } } }, "range": [ - 14144, - 14161 + 13948, + 13965 ], "loc": { "start": { - "line": 445, + "line": 438, "column": 35 }, "end": { - "line": 445, + "line": 438, "column": 52 } } }, "range": [ - 14130, - 14161 + 13934, + 13965 ], "loc": { "start": { - "line": 445, + "line": 438, "column": 21 }, "end": { - "line": 445, + "line": 438, "column": 52 } } @@ -30569,16 +30139,16 @@ "type": "Identifier", "name": "indSplit", "range": [ - 14226, - 14234 + 14030, + 14038 ], "loc": { "start": { - "line": 447, + "line": 440, "column": 24 }, "end": { - "line": 447, + "line": 440, "column": 32 } } @@ -30592,16 +30162,16 @@ "type": "Identifier", "name": "fltIndexes", "range": [ - 14237, - 14247 + 14041, + 14051 ], "loc": { "start": { - "line": 447, + "line": 440, "column": 35 }, "end": { - "line": 447, + "line": 440, "column": 45 } } @@ -30610,31 +30180,31 @@ "type": "Identifier", "name": "split", "range": [ - 14248, - 14253 + 14052, + 14057 ], "loc": { "start": { - "line": 447, + "line": 440, "column": 46 }, "end": { - "line": 447, + "line": 440, "column": 51 } } }, "range": [ - 14237, - 14253 + 14041, + 14057 ], "loc": { "start": { - "line": 447, + "line": 440, "column": 35 }, "end": { - "line": 447, + "line": 440, "column": 51 } } @@ -30647,16 +30217,16 @@ "type": "Identifier", "name": "tf", "range": [ - 14254, - 14256 + 14058, + 14060 ], "loc": { "start": { - "line": 447, + "line": 440, "column": 52 }, "end": { - "line": 447, + "line": 440, "column": 54 } } @@ -30665,62 +30235,62 @@ "type": "Identifier", "name": "separator", "range": [ - 14257, - 14266 + 14061, + 14070 ], "loc": { "start": { - "line": 447, + "line": 440, "column": 55 }, "end": { - "line": 447, + "line": 440, "column": 64 } } }, "range": [ - 14254, - 14266 + 14058, + 14070 ], "loc": { "start": { - "line": 447, + "line": 440, "column": 52 }, "end": { - "line": 447, + "line": 440, "column": 64 } } } ], "range": [ - 14237, - 14267 + 14041, + 14071 ], "loc": { "start": { - "line": 447, + "line": 440, "column": 35 }, "end": { - "line": 447, + "line": 440, "column": 65 } } }, "range": [ - 14226, - 14267 + 14030, + 14071 ], "loc": { "start": { - "line": 447, + "line": 440, "column": 24 }, "end": { - "line": 447, + "line": 440, "column": 65 } } @@ -30728,16 +30298,16 @@ ], "kind": "let", "range": [ - 14222, - 14268 + 14026, + 14072 ], "loc": { "start": { - "line": 447, + "line": 440, "column": 20 }, "end": { - "line": 447, + "line": 440, "column": 66 } }, @@ -30746,16 +30316,16 @@ "type": "Line", "value": "items indexes", "range": [ - 14186, - 14201 + 13990, + 14005 ], "loc": { "start": { - "line": 446, + "line": 439, "column": 20 }, "end": { - "line": 446, + "line": 439, "column": 35 } } @@ -30766,16 +30336,16 @@ "type": "Line", "value": "checked items loop", "range": [ - 14289, - 14309 + 14093, + 14113 ], "loc": { "start": { - "line": 448, + "line": 441, "column": 20 }, "end": { - "line": 448, + "line": 441, "column": 40 } } @@ -30793,16 +30363,16 @@ "type": "Identifier", "name": "u", "range": [ - 14339, - 14340 + 14143, + 14144 ], "loc": { "start": { - "line": 449, + "line": 442, "column": 29 }, "end": { - "line": 449, + "line": 442, "column": 30 } } @@ -30812,31 +30382,31 @@ "value": 0, "raw": "0", "range": [ - 14343, - 14344 + 14147, + 14148 ], "loc": { "start": { - "line": 449, + "line": 442, "column": 33 }, "end": { - "line": 449, + "line": 442, "column": 34 } } }, "range": [ - 14339, - 14344 + 14143, + 14148 ], "loc": { "start": { - "line": 449, + "line": 442, "column": 29 }, "end": { - "line": 449, + "line": 442, "column": 34 } } @@ -30844,16 +30414,16 @@ ], "kind": "let", "range": [ - 14335, - 14344 + 14139, + 14148 ], "loc": { "start": { - "line": 449, + "line": 442, "column": 25 }, "end": { - "line": 449, + "line": 442, "column": 34 } } @@ -30865,16 +30435,16 @@ "type": "Identifier", "name": "u", "range": [ - 14346, - 14347 + 14150, + 14151 ], "loc": { "start": { - "line": 449, + "line": 442, "column": 36 }, "end": { - "line": 449, + "line": 442, "column": 37 } } @@ -30886,16 +30456,16 @@ "type": "Identifier", "name": "indSplit", "range": [ - 14350, - 14358 + 14154, + 14162 ], "loc": { "start": { - "line": 449, + "line": 442, "column": 40 }, "end": { - "line": 449, + "line": 442, "column": 48 } } @@ -30904,46 +30474,46 @@ "type": "Identifier", "name": "length", "range": [ - 14359, - 14365 + 14163, + 14169 ], "loc": { "start": { - "line": 449, + "line": 442, "column": 49 }, "end": { - "line": 449, + "line": 442, "column": 55 } } }, "range": [ - 14350, - 14365 + 14154, + 14169 ], "loc": { "start": { - "line": 449, + "line": 442, "column": 40 }, "end": { - "line": 449, + "line": 442, "column": 55 } } }, "range": [ - 14346, - 14365 + 14150, + 14169 ], "loc": { "start": { - "line": 449, + "line": 442, "column": 36 }, "end": { - "line": 449, + "line": 442, "column": 55 } } @@ -30955,32 +30525,32 @@ "type": "Identifier", "name": "u", "range": [ - 14367, - 14368 + 14171, + 14172 ], "loc": { "start": { - "line": 449, + "line": 442, "column": 57 }, "end": { - "line": 449, + "line": 442, "column": 58 } } }, "prefix": false, "range": [ - 14367, - 14370 + 14171, + 14174 ], "loc": { "start": { - "line": 449, + "line": 442, "column": 57 }, "end": { - "line": 449, + "line": 442, "column": 60 } } @@ -30997,16 +30567,16 @@ "type": "Identifier", "name": "cChk", "range": [ - 14441, - 14445 + 14245, + 14249 ], "loc": { "start": { - "line": 451, + "line": 444, "column": 28 }, "end": { - "line": 451, + "line": 444, "column": 32 } } @@ -31017,16 +30587,16 @@ "type": "Identifier", "name": "elm", "range": [ - 14448, - 14451 + 14252, + 14255 ], "loc": { "start": { - "line": 451, + "line": 444, "column": 35 }, "end": { - "line": 451, + "line": 444, "column": 38 } } @@ -31048,16 +30618,16 @@ "type": "Identifier", "name": "tf", "range": [ - 14452, - 14454 + 14256, + 14258 ], "loc": { "start": { - "line": 451, + "line": 444, "column": 39 }, "end": { - "line": 451, + "line": 444, "column": 41 } } @@ -31066,31 +30636,31 @@ "type": "Identifier", "name": "fltIds", "range": [ - 14455, - 14461 + 14259, + 14265 ], "loc": { "start": { - "line": 451, + "line": 444, "column": 42 }, "end": { - "line": 451, + "line": 444, "column": 48 } } }, "range": [ - 14452, - 14461 + 14256, + 14265 ], "loc": { "start": { - "line": 451, + "line": 444, "column": 39 }, "end": { - "line": 451, + "line": 444, "column": 48 } } @@ -31099,31 +30669,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 14462, - 14470 + 14266, + 14274 ], "loc": { "start": { - "line": 451, + "line": 444, "column": 49 }, "end": { - "line": 451, + "line": 444, "column": 57 } } }, "range": [ - 14452, - 14471 + 14256, + 14275 ], "loc": { "start": { - "line": 451, + "line": 444, "column": 39 }, "end": { - "line": 451, + "line": 444, "column": 58 } } @@ -31133,31 +30703,31 @@ "value": "_", "raw": "'_'", "range": [ - 14474, - 14477 + 14278, + 14281 ], "loc": { "start": { - "line": 451, + "line": 444, "column": 61 }, "end": { - "line": 451, + "line": 444, "column": 64 } } }, "range": [ - 14452, - 14477 + 14256, + 14281 ], "loc": { "start": { - "line": 451, + "line": 444, "column": 39 }, "end": { - "line": 451, + "line": 444, "column": 64 } } @@ -31169,16 +30739,16 @@ "type": "Identifier", "name": "indSplit", "range": [ - 14508, - 14516 + 14312, + 14320 ], "loc": { "start": { - "line": 452, + "line": 445, "column": 28 }, "end": { - "line": 452, + "line": 445, "column": 36 } } @@ -31187,77 +30757,77 @@ "type": "Identifier", "name": "u", "range": [ - 14517, - 14518 + 14321, + 14322 ], "loc": { "start": { - "line": 452, + "line": 445, "column": 37 }, "end": { - "line": 452, + "line": 445, "column": 38 } } }, "range": [ - 14508, - 14519 + 14312, + 14323 ], "loc": { "start": { - "line": 452, + "line": 445, "column": 28 }, "end": { - "line": 452, + "line": 445, "column": 39 } } }, "range": [ - 14452, - 14519 + 14256, + 14323 ], "loc": { "start": { - "line": 451, + "line": 444, "column": 39 }, "end": { - "line": 452, + "line": 445, "column": 39 } } } ], "range": [ - 14448, - 14520 + 14252, + 14324 ], "loc": { "start": { - "line": 451, + "line": 444, "column": 35 }, "end": { - "line": 452, + "line": 445, "column": 40 } } }, "range": [ - 14441, - 14520 + 14245, + 14324 ], "loc": { "start": { - "line": 451, + "line": 444, "column": 28 }, "end": { - "line": 452, + "line": 445, "column": 40 } } @@ -31265,16 +30835,16 @@ ], "kind": "let", "range": [ - 14437, - 14521 + 14241, + 14325 ], "loc": { "start": { - "line": 451, + "line": 444, "column": 24 }, "end": { - "line": 452, + "line": 445, "column": 41 } }, @@ -31283,16 +30853,16 @@ "type": "Line", "value": "checked item", "range": [ - 14398, - 14412 + 14202, + 14216 ], "loc": { "start": { - "line": 450, + "line": 443, "column": 24 }, "end": { - "line": 450, + "line": 443, "column": 38 } } @@ -31305,16 +30875,16 @@ "type": "Identifier", "name": "cChk", "range": [ - 14550, - 14554 + 14354, + 14358 ], "loc": { "start": { - "line": 453, + "line": 446, "column": 28 }, "end": { - "line": 453, + "line": 446, "column": 32 } } @@ -31334,16 +30904,16 @@ "type": "Identifier", "name": "cChk", "range": [ - 14586, - 14590 + 14390, + 14394 ], "loc": { "start": { - "line": 454, + "line": 447, "column": 28 }, "end": { - "line": 454, + "line": 447, "column": 32 } } @@ -31352,31 +30922,31 @@ "type": "Identifier", "name": "checked", "range": [ - 14591, - 14598 + 14395, + 14402 ], "loc": { "start": { - "line": 454, + "line": 447, "column": 33 }, "end": { - "line": 454, + "line": 447, "column": 40 } } }, "range": [ - 14586, - 14598 + 14390, + 14402 ], "loc": { "start": { - "line": 454, + "line": 447, "column": 28 }, "end": { - "line": 454, + "line": 447, "column": 40 } } @@ -31386,46 +30956,46 @@ "value": false, "raw": "false", "range": [ - 14601, - 14606 + 14405, + 14410 ], "loc": { "start": { - "line": 454, + "line": 447, "column": 43 }, "end": { - "line": 454, + "line": 447, "column": 48 } } }, "range": [ - 14586, - 14606 + 14390, + 14410 ], "loc": { "start": { - "line": 454, + "line": 447, "column": 28 }, "end": { - "line": 454, + "line": 447, "column": 48 } } }, "range": [ - 14586, - 14607 + 14390, + 14411 ], "loc": { "start": { - "line": 454, + "line": 447, "column": 28 }, "end": { - "line": 454, + "line": 447, "column": 49 } } @@ -31438,16 +31008,16 @@ "type": "Identifier", "name": "removeClass", "range": [ - 14636, - 14647 + 14440, + 14451 ], "loc": { "start": { - "line": 455, + "line": 448, "column": 28 }, "end": { - "line": 455, + "line": 448, "column": 39 } } @@ -31463,16 +31033,16 @@ "type": "Identifier", "name": "n", "range": [ - 14648, - 14649 + 14452, + 14453 ], "loc": { "start": { - "line": 455, + "line": 448, "column": 40 }, "end": { - "line": 455, + "line": 448, "column": 41 } } @@ -31481,31 +31051,31 @@ "type": "Identifier", "name": "childNodes", "range": [ - 14650, - 14660 + 14454, + 14464 ], "loc": { "start": { - "line": 455, + "line": 448, "column": 42 }, "end": { - "line": 455, + "line": 448, "column": 52 } } }, "range": [ - 14648, - 14660 + 14452, + 14464 ], "loc": { "start": { - "line": 455, + "line": 448, "column": 40 }, "end": { - "line": 455, + "line": 448, "column": 52 } } @@ -31517,16 +31087,16 @@ "type": "Identifier", "name": "indSplit", "range": [ - 14661, - 14669 + 14465, + 14473 ], "loc": { "start": { - "line": 455, + "line": 448, "column": 53 }, "end": { - "line": 455, + "line": 448, "column": 61 } } @@ -31535,46 +31105,46 @@ "type": "Identifier", "name": "u", "range": [ - 14670, - 14671 + 14474, + 14475 ], "loc": { "start": { - "line": 455, + "line": 448, "column": 62 }, "end": { - "line": 455, + "line": 448, "column": 63 } } }, "range": [ - 14661, - 14672 + 14465, + 14476 ], "loc": { "start": { - "line": 455, + "line": 448, "column": 53 }, "end": { - "line": 455, + "line": 448, "column": 64 } } }, "range": [ - 14648, - 14673 + 14452, + 14477 ], "loc": { "start": { - "line": 455, + "line": 448, "column": 40 }, "end": { - "line": 455, + "line": 448, "column": 65 } } @@ -31585,16 +31155,16 @@ "object": { "type": "ThisExpression", "range": [ - 14707, - 14711 + 14511, + 14515 ], "loc": { "start": { - "line": 456, + "line": 449, "column": 32 }, "end": { - "line": 456, + "line": 449, "column": 36 } } @@ -31603,125 +31173,125 @@ "type": "Identifier", "name": "selectedItemCssClass", "range": [ - 14712, - 14732 + 14516, + 14536 ], "loc": { "start": { - "line": 456, + "line": 449, "column": 37 }, "end": { - "line": 456, + "line": 449, "column": 57 } } }, "range": [ - 14707, - 14732 + 14511, + 14536 ], "loc": { "start": { - "line": 456, + "line": 449, "column": 32 }, "end": { - "line": 456, + "line": 449, "column": 57 } } } ], "range": [ - 14636, - 14733 + 14440, + 14537 ], "loc": { "start": { - "line": 455, + "line": 448, "column": 28 }, "end": { - "line": 456, + "line": 449, "column": 58 } } }, "range": [ - 14636, - 14734 + 14440, + 14538 ], "loc": { "start": { - "line": 455, + "line": 448, "column": 28 }, "end": { - "line": 456, + "line": 449, "column": 59 } } } ], "range": [ - 14556, - 14760 + 14360, + 14564 ], "loc": { "start": { - "line": 453, + "line": 446, "column": 34 }, "end": { - "line": 457, + "line": 450, "column": 25 } } }, "alternate": null, "range": [ - 14546, - 14760 + 14350, + 14564 ], "loc": { "start": { - "line": 453, + "line": 446, "column": 24 }, "end": { - "line": 457, + "line": 450, "column": 25 } } } ], "range": [ - 14372, - 14782 + 14176, + 14586 ], "loc": { "start": { - "line": 449, + "line": 442, "column": 62 }, "end": { - "line": 458, + "line": 451, "column": 21 } } }, "range": [ - 14330, - 14782 + 14134, + 14586 ], "loc": { "start": { - "line": 449, + "line": 442, "column": 20 }, "end": { - "line": 458, + "line": 451, "column": 21 } }, @@ -31730,16 +31300,16 @@ "type": "Line", "value": "checked items loop", "range": [ - 14289, - 14309 + 14093, + 14113 ], "loc": { "start": { - "line": 448, + "line": 441, "column": 20 }, "end": { - "line": 448, + "line": 441, "column": 40 } } @@ -31748,32 +31318,32 @@ } ], "range": [ - 14164, - 14800 + 13968, + 14604 ], "loc": { "start": { - "line": 445, + "line": 438, "column": 55 }, "end": { - "line": 459, + "line": 452, "column": 17 } } }, "alternate": null, "range": [ - 14125, - 14800 + 13929, + 14604 ], "loc": { "start": { - "line": 445, + "line": 438, "column": 16 }, "end": { - "line": 459, + "line": 452, "column": 17 } } @@ -31789,16 +31359,16 @@ "type": "Identifier", "name": "n", "range": [ - 14817, - 14818 + 14621, + 14622 ], "loc": { "start": { - "line": 460, + "line": 453, "column": 16 }, "end": { - "line": 460, + "line": 453, "column": 17 } } @@ -31807,31 +31377,31 @@ "type": "Identifier", "name": "setAttribute", "range": [ - 14819, - 14831 + 14623, + 14635 ], "loc": { "start": { - "line": 460, + "line": 453, "column": 18 }, "end": { - "line": 460, + "line": 453, "column": 30 } } }, "range": [ - 14817, - 14831 + 14621, + 14635 ], "loc": { "start": { - "line": 460, + "line": 453, "column": 16 }, "end": { - "line": 460, + "line": 453, "column": 30 } } @@ -31842,16 +31412,16 @@ "value": "value", "raw": "'value'", "range": [ - 14832, - 14839 + 14636, + 14643 ], "loc": { "start": { - "line": 460, + "line": 453, "column": 31 }, "end": { - "line": 460, + "line": 453, "column": 38 } } @@ -31861,47 +31431,47 @@ "value": "", "raw": "''", "range": [ - 14841, - 14843 + 14645, + 14647 ], "loc": { "start": { - "line": 460, + "line": 453, "column": 40 }, "end": { - "line": 460, + "line": 453, "column": 42 } } } ], "range": [ - 14817, - 14844 + 14621, + 14648 ], "loc": { "start": { - "line": 460, + "line": 453, "column": 16 }, "end": { - "line": 460, + "line": 453, "column": 43 } } }, "range": [ - 14817, - 14845 + 14621, + 14649 ], "loc": { "start": { - "line": 460, + "line": 453, "column": 16 }, "end": { - "line": 460, + "line": 453, "column": 44 } } @@ -31917,16 +31487,16 @@ "type": "Identifier", "name": "n", "range": [ - 14862, - 14863 + 14666, + 14667 ], "loc": { "start": { - "line": 461, + "line": 454, "column": 16 }, "end": { - "line": 461, + "line": 454, "column": 17 } } @@ -31935,31 +31505,31 @@ "type": "Identifier", "name": "setAttribute", "range": [ - 14864, - 14876 + 14668, + 14680 ], "loc": { "start": { - "line": 461, + "line": 454, "column": 18 }, "end": { - "line": 461, + "line": 454, "column": 30 } } }, "range": [ - 14862, - 14876 + 14666, + 14680 ], "loc": { "start": { - "line": 461, + "line": 454, "column": 16 }, "end": { - "line": 461, + "line": 454, "column": 30 } } @@ -31970,16 +31540,16 @@ "value": "indexes", "raw": "'indexes'", "range": [ - 14877, - 14886 + 14681, + 14690 ], "loc": { "start": { - "line": 461, + "line": 454, "column": 31 }, "end": { - "line": 461, + "line": 454, "column": 40 } } @@ -31989,63 +31559,63 @@ "value": "", "raw": "''", "range": [ - 14888, - 14890 + 14692, + 14694 ], "loc": { "start": { - "line": 461, + "line": 454, "column": 42 }, "end": { - "line": 461, + "line": 454, "column": 44 } } } ], "range": [ - 14862, - 14891 + 14666, + 14695 ], "loc": { "start": { - "line": 461, + "line": 454, "column": 16 }, "end": { - "line": 461, + "line": 454, "column": 45 } } }, "range": [ - 14862, - 14892 + 14666, + 14696 ], "loc": { "start": { - "line": 461, + "line": 454, "column": 16 }, "end": { - "line": 461, + "line": 454, "column": 46 } } } ], "range": [ - 14107, - 14907 + 13911, + 14711 ], "loc": { "start": { - "line": 444, + "line": 437, "column": 33 }, "end": { - "line": 463, + "line": 456, "column": 13 } } @@ -32062,16 +31632,16 @@ "type": "Identifier", "name": "fltValue", "range": [ - 14931, - 14939 + 14735, + 14743 ], "loc": { "start": { - "line": 464, + "line": 457, "column": 16 }, "end": { - "line": 464, + "line": 457, "column": 24 } } @@ -32082,16 +31652,16 @@ "type": "Identifier", "name": "fltValue", "range": [ - 14943, - 14951 + 14747, + 14755 ], "loc": { "start": { - "line": 464, + "line": 457, "column": 28 }, "end": { - "line": 464, + "line": 457, "column": 36 } } @@ -32100,16 +31670,16 @@ "type": "Identifier", "name": "fltValue", "range": [ - 14955, - 14963 + 14759, + 14767 ], "loc": { "start": { - "line": 464, + "line": 457, "column": 40 }, "end": { - "line": 464, + "line": 457, "column": 48 } } @@ -32119,61 +31689,61 @@ "value": "", "raw": "''", "range": [ - 14966, - 14968 + 14770, + 14772 ], "loc": { "start": { - "line": 464, + "line": 457, "column": 51 }, "end": { - "line": 464, + "line": 457, "column": 53 } } }, "range": [ - 14942, - 14968 + 14746, + 14772 ], "loc": { "start": { - "line": 464, + "line": 457, "column": 27 }, "end": { - "line": 464, + "line": 457, "column": 53 } } }, "range": [ - 14931, - 14968 + 14735, + 14772 ], "loc": { "start": { - "line": 464, + "line": 457, "column": 16 }, "end": { - "line": 464, + "line": 457, "column": 53 } } }, "range": [ - 14931, - 14969 + 14735, + 14773 ], "loc": { "start": { - "line": 464, + "line": 457, "column": 16 }, "end": { - "line": 464, + "line": 457, "column": 54 } } @@ -32187,16 +31757,16 @@ "type": "Identifier", "name": "chkValue", "range": [ - 14986, - 14994 + 14790, + 14798 ], "loc": { "start": { - "line": 465, + "line": 458, "column": 16 }, "end": { - "line": 465, + "line": 458, "column": 24 } } @@ -32207,16 +31777,16 @@ "type": "Identifier", "name": "trim", "range": [ - 14997, - 15001 + 14801, + 14805 ], "loc": { "start": { - "line": 465, + "line": 458, "column": 27 }, "end": { - "line": 465, + "line": 458, "column": 31 } } @@ -32238,16 +31808,16 @@ "type": "Identifier", "name": "fltValue", "range": [ - 15002, - 15010 + 14806, + 14814 ], "loc": { "start": { - "line": 465, + "line": 458, "column": 32 }, "end": { - "line": 465, + "line": 458, "column": 40 } } @@ -32257,31 +31827,31 @@ "value": " ", "raw": "' '", "range": [ - 15013, - 15016 + 14817, + 14820 ], "loc": { "start": { - "line": 465, + "line": 458, "column": 43 }, "end": { - "line": 465, + "line": 458, "column": 46 } } }, "range": [ - 15002, - 15016 + 14806, + 14820 ], "loc": { "start": { - "line": 465, + "line": 458, "column": 32 }, "end": { - "line": 465, + "line": 458, "column": 46 } } @@ -32290,31 +31860,31 @@ "type": "Identifier", "name": "chkValue", "range": [ - 15019, - 15027 + 14823, + 14831 ], "loc": { "start": { - "line": 465, + "line": 458, "column": 49 }, "end": { - "line": 465, + "line": 458, "column": 57 } } }, "range": [ - 15002, - 15027 + 14806, + 14831 ], "loc": { "start": { - "line": 465, + "line": 458, "column": 32 }, "end": { - "line": 465, + "line": 458, "column": 57 } } @@ -32324,31 +31894,31 @@ "value": " ", "raw": "' '", "range": [ - 15030, - 15033 + 14834, + 14837 ], "loc": { "start": { - "line": 465, + "line": 458, "column": 60 }, "end": { - "line": 465, + "line": 458, "column": 63 } } }, "range": [ - 15002, - 15033 + 14806, + 14837 ], "loc": { "start": { - "line": 465, + "line": 458, "column": 32 }, "end": { - "line": 465, + "line": 458, "column": 63 } } @@ -32360,16 +31930,16 @@ "type": "Identifier", "name": "tf", "range": [ - 15056, - 15058 + 14860, + 14862 ], "loc": { "start": { - "line": 466, + "line": 459, "column": 20 }, "end": { - "line": 466, + "line": 459, "column": 22 } } @@ -32378,92 +31948,92 @@ "type": "Identifier", "name": "orOperator", "range": [ - 15059, - 15069 + 14863, + 14873 ], "loc": { "start": { - "line": 466, + "line": 459, "column": 23 }, "end": { - "line": 466, + "line": 459, "column": 33 } } }, "range": [ - 15056, - 15069 + 14860, + 14873 ], "loc": { "start": { - "line": 466, + "line": 459, "column": 20 }, "end": { - "line": 466, + "line": 459, "column": 33 } } }, "range": [ - 15002, - 15069 + 14806, + 14873 ], "loc": { "start": { - "line": 465, + "line": 458, "column": 32 }, "end": { - "line": 466, + "line": 459, "column": 33 } } } ], "range": [ - 14997, - 15070 + 14801, + 14874 ], "loc": { "start": { - "line": 465, + "line": 458, "column": 27 }, "end": { - "line": 466, + "line": 459, "column": 34 } } }, "range": [ - 14986, - 15070 + 14790, + 14874 ], "loc": { "start": { - "line": 465, + "line": 458, "column": 16 }, "end": { - "line": 466, + "line": 459, "column": 34 } } }, "range": [ - 14986, - 15071 + 14790, + 14875 ], "loc": { "start": { - "line": 465, + "line": 458, "column": 16 }, "end": { - "line": 466, + "line": 459, "column": 35 } } @@ -32477,16 +32047,16 @@ "type": "Identifier", "name": "chkIndex", "range": [ - 15088, - 15096 + 14892, + 14900 ], "loc": { "start": { - "line": 467, + "line": 460, "column": 16 }, "end": { - "line": 467, + "line": 460, "column": 24 } } @@ -32501,16 +32071,16 @@ "type": "Identifier", "name": "fltIndexes", "range": [ - 15099, - 15109 + 14903, + 14913 ], "loc": { "start": { - "line": 467, + "line": 460, "column": 27 }, "end": { - "line": 467, + "line": 460, "column": 37 } } @@ -32519,31 +32089,31 @@ "type": "Identifier", "name": "chkIndex", "range": [ - 15112, - 15120 + 14916, + 14924 ], "loc": { "start": { - "line": 467, + "line": 460, "column": 40 }, "end": { - "line": 467, + "line": 460, "column": 48 } } }, "range": [ - 15099, - 15120 + 14903, + 14924 ], "loc": { "start": { - "line": 467, + "line": 460, "column": 27 }, "end": { - "line": 467, + "line": 460, "column": 48 } } @@ -32555,16 +32125,16 @@ "type": "Identifier", "name": "tf", "range": [ - 15123, - 15125 + 14927, + 14929 ], "loc": { "start": { - "line": 467, + "line": 460, "column": 51 }, "end": { - "line": 467, + "line": 460, "column": 53 } } @@ -32573,76 +32143,76 @@ "type": "Identifier", "name": "separator", "range": [ - 15126, - 15135 + 14930, + 14939 ], "loc": { "start": { - "line": 467, + "line": 460, "column": 54 }, "end": { - "line": 467, + "line": 460, "column": 63 } } }, "range": [ - 15123, - 15135 + 14927, + 14939 ], "loc": { "start": { - "line": 467, + "line": 460, "column": 51 }, "end": { - "line": 467, + "line": 460, "column": 63 } } }, "range": [ - 15099, - 15135 + 14903, + 14939 ], "loc": { "start": { - "line": 467, + "line": 460, "column": 27 }, "end": { - "line": 467, + "line": 460, "column": 63 } } }, "range": [ - 15088, - 15135 + 14892, + 14939 ], "loc": { "start": { - "line": 467, + "line": 460, "column": 16 }, "end": { - "line": 467, + "line": 460, "column": 63 } } }, "range": [ - 15088, - 15136 + 14892, + 14940 ], "loc": { "start": { - "line": 467, + "line": 460, "column": 16 }, "end": { - "line": 467, + "line": 460, "column": 64 } } @@ -32658,16 +32228,16 @@ "type": "Identifier", "name": "n", "range": [ - 15153, - 15154 + 14957, + 14958 ], "loc": { "start": { - "line": 468, + "line": 461, "column": 16 }, "end": { - "line": 468, + "line": 461, "column": 17 } } @@ -32676,31 +32246,31 @@ "type": "Identifier", "name": "setAttribute", "range": [ - 15155, - 15167 + 14959, + 14971 ], "loc": { "start": { - "line": 468, + "line": 461, "column": 18 }, "end": { - "line": 468, + "line": 461, "column": 30 } } }, "range": [ - 15153, - 15167 + 14957, + 14971 ], "loc": { "start": { - "line": 468, + "line": 461, "column": 16 }, "end": { - "line": 468, + "line": 461, "column": 30 } } @@ -32711,16 +32281,16 @@ "value": "value", "raw": "'value'", "range": [ - 15168, - 15175 + 14972, + 14979 ], "loc": { "start": { - "line": 468, + "line": 461, "column": 31 }, "end": { - "line": 468, + "line": 461, "column": 38 } } @@ -32729,47 +32299,47 @@ "type": "Identifier", "name": "chkValue", "range": [ - 15177, - 15185 + 14981, + 14989 ], "loc": { "start": { - "line": 468, + "line": 461, "column": 40 }, "end": { - "line": 468, + "line": 461, "column": 48 } } } ], "range": [ - 15153, - 15186 + 14957, + 14990 ], "loc": { "start": { - "line": 468, + "line": 461, "column": 16 }, "end": { - "line": 468, + "line": 461, "column": 49 } } }, "range": [ - 15153, - 15187 + 14957, + 14991 ], "loc": { "start": { - "line": 468, + "line": 461, "column": 16 }, "end": { - "line": 468, + "line": 461, "column": 50 } } @@ -32785,16 +32355,16 @@ "type": "Identifier", "name": "n", "range": [ - 15204, - 15205 + 15008, + 15009 ], "loc": { "start": { - "line": 469, + "line": 462, "column": 16 }, "end": { - "line": 469, + "line": 462, "column": 17 } } @@ -32803,31 +32373,31 @@ "type": "Identifier", "name": "setAttribute", "range": [ - 15206, - 15218 + 15010, + 15022 ], "loc": { "start": { - "line": 469, + "line": 462, "column": 18 }, "end": { - "line": 469, + "line": 462, "column": 30 } } }, "range": [ - 15204, - 15218 + 15008, + 15022 ], "loc": { "start": { - "line": 469, + "line": 462, "column": 16 }, "end": { - "line": 469, + "line": 462, "column": 30 } } @@ -32838,16 +32408,16 @@ "value": "indexes", "raw": "'indexes'", "range": [ - 15219, - 15228 + 15023, + 15032 ], "loc": { "start": { - "line": 469, + "line": 462, "column": 31 }, "end": { - "line": 469, + "line": 462, "column": 40 } } @@ -32856,47 +32426,47 @@ "type": "Identifier", "name": "chkIndex", "range": [ - 15230, - 15238 + 15034, + 15042 ], "loc": { "start": { - "line": 469, + "line": 462, "column": 42 }, "end": { - "line": 469, + "line": 462, "column": 50 } } } ], "range": [ - 15204, - 15239 + 15008, + 15043 ], "loc": { "start": { - "line": 469, + "line": 462, "column": 16 }, "end": { - "line": 469, + "line": 462, "column": 51 } } }, "range": [ - 15204, - 15240 + 15008, + 15044 ], "loc": { "start": { - "line": 469, + "line": 462, "column": 16 }, "end": { - "line": 469, + "line": 462, "column": 52 } }, @@ -32905,16 +32475,16 @@ "type": "Line", "value": "1st option unchecked", "range": [ - 15257, - 15279 + 15061, + 15083 ], "loc": { "start": { - "line": 470, + "line": 463, "column": 16 }, "end": { - "line": 470, + "line": 463, "column": 38 } } @@ -32929,16 +32499,16 @@ "type": "Identifier", "name": "elm", "range": [ - 15300, - 15303 + 15104, + 15107 ], "loc": { "start": { - "line": 471, + "line": 464, "column": 20 }, "end": { - "line": 471, + "line": 464, "column": 23 } } @@ -32957,16 +32527,16 @@ "type": "Identifier", "name": "tf", "range": [ - 15304, - 15306 + 15108, + 15110 ], "loc": { "start": { - "line": 471, + "line": 464, "column": 24 }, "end": { - "line": 471, + "line": 464, "column": 26 } } @@ -32975,31 +32545,31 @@ "type": "Identifier", "name": "fltIds", "range": [ - 15307, - 15313 + 15111, + 15117 ], "loc": { "start": { - "line": 471, + "line": 464, "column": 27 }, "end": { - "line": 471, + "line": 464, "column": 33 } } }, "range": [ - 15304, - 15313 + 15108, + 15117 ], "loc": { "start": { - "line": 471, + "line": 464, "column": 24 }, "end": { - "line": 471, + "line": 464, "column": 33 } } @@ -33008,31 +32578,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 15314, - 15322 + 15118, + 15126 ], "loc": { "start": { - "line": 471, + "line": 464, "column": 34 }, "end": { - "line": 471, + "line": 464, "column": 42 } } }, "range": [ - 15304, - 15323 + 15108, + 15127 ], "loc": { "start": { - "line": 471, + "line": 464, "column": 24 }, "end": { - "line": 471, + "line": 464, "column": 43 } } @@ -33042,47 +32612,47 @@ "value": "_0", "raw": "'_0'", "range": [ - 15326, - 15330 + 15130, + 15134 ], "loc": { "start": { - "line": 471, + "line": 464, "column": 46 }, "end": { - "line": 471, + "line": 464, "column": 50 } } }, "range": [ - 15304, - 15330 + 15108, + 15134 ], "loc": { "start": { - "line": 471, + "line": 464, "column": 24 }, "end": { - "line": 471, + "line": 464, "column": 50 } } } ], "range": [ - 15300, - 15331 + 15104, + 15135 ], "loc": { "start": { - "line": 471, + "line": 464, "column": 20 }, "end": { - "line": 471, + "line": 464, "column": 51 } } @@ -33104,16 +32674,16 @@ "type": "Identifier", "name": "elm", "range": [ - 15355, - 15358 + 15159, + 15162 ], "loc": { "start": { - "line": 472, + "line": 465, "column": 20 }, "end": { - "line": 472, + "line": 465, "column": 23 } } @@ -33132,16 +32702,16 @@ "type": "Identifier", "name": "tf", "range": [ - 15359, - 15361 + 15163, + 15165 ], "loc": { "start": { - "line": 472, + "line": 465, "column": 24 }, "end": { - "line": 472, + "line": 465, "column": 26 } } @@ -33150,31 +32720,31 @@ "type": "Identifier", "name": "fltIds", "range": [ - 15362, - 15368 + 15166, + 15172 ], "loc": { "start": { - "line": 472, + "line": 465, "column": 27 }, "end": { - "line": 472, + "line": 465, "column": 33 } } }, "range": [ - 15359, - 15368 + 15163, + 15172 ], "loc": { "start": { - "line": 472, + "line": 465, "column": 24 }, "end": { - "line": 472, + "line": 465, "column": 33 } } @@ -33183,31 +32753,31 @@ "type": "Identifier", "name": "colIndex", "range": [ - 15369, - 15377 + 15173, + 15181 ], "loc": { "start": { - "line": 472, + "line": 465, "column": 34 }, "end": { - "line": 472, + "line": 465, "column": 42 } } }, "range": [ - 15359, - 15378 + 15163, + 15182 ], "loc": { "start": { - "line": 472, + "line": 465, "column": 24 }, "end": { - "line": 472, + "line": 465, "column": 43 } } @@ -33217,47 +32787,47 @@ "value": "_0", "raw": "'_0'", "range": [ - 15381, - 15385 + 15185, + 15189 ], "loc": { "start": { - "line": 472, + "line": 465, "column": 46 }, "end": { - "line": 472, + "line": 465, "column": 50 } } }, "range": [ - 15359, - 15385 + 15163, + 15189 ], "loc": { "start": { - "line": 472, + "line": 465, "column": 24 }, "end": { - "line": 472, + "line": 465, "column": 50 } } } ], "range": [ - 15355, - 15386 + 15159, + 15190 ], "loc": { "start": { - "line": 472, + "line": 465, "column": 20 }, "end": { - "line": 472, + "line": 465, "column": 51 } } @@ -33266,31 +32836,31 @@ "type": "Identifier", "name": "checked", "range": [ - 15387, - 15394 + 15191, + 15198 ], "loc": { "start": { - "line": 472, + "line": 465, "column": 52 }, "end": { - "line": 472, + "line": 465, "column": 59 } } }, "range": [ - 15355, - 15394 + 15159, + 15198 ], "loc": { "start": { - "line": 472, + "line": 465, "column": 20 }, "end": { - "line": 472, + "line": 465, "column": 59 } } @@ -33300,78 +32870,78 @@ "value": false, "raw": "false", "range": [ - 15397, - 15402 + 15201, + 15206 ], "loc": { "start": { - "line": 472, + "line": 465, "column": 62 }, "end": { - "line": 472, + "line": 465, "column": 67 } } }, "range": [ - 15355, - 15402 + 15159, + 15206 ], "loc": { "start": { - "line": 472, + "line": 465, "column": 20 }, "end": { - "line": 472, + "line": 465, "column": 67 } } }, "range": [ - 15355, - 15403 + 15159, + 15207 ], "loc": { "start": { - "line": 472, + "line": 465, "column": 20 }, "end": { - "line": 472, + "line": 465, "column": 68 } } } ], "range": [ - 15333, - 15421 + 15137, + 15225 ], "loc": { "start": { - "line": 471, + "line": 464, "column": 53 }, "end": { - "line": 473, + "line": 466, "column": 17 } } }, "alternate": null, "range": [ - 15296, - 15421 + 15100, + 15225 ], "loc": { "start": { - "line": 471, + "line": 464, "column": 16 }, "end": { - "line": 473, + "line": 466, "column": 17 } }, @@ -33380,16 +32950,16 @@ "type": "Line", "value": "1st option unchecked", "range": [ - 15257, - 15279 + 15061, + 15083 ], "loc": { "start": { - "line": 470, + "line": 463, "column": 16 }, "end": { - "line": 470, + "line": 463, "column": 38 } } @@ -33398,31 +32968,31 @@ } ], "range": [ - 14913, - 15435 + 14717, + 15239 ], "loc": { "start": { - "line": 463, + "line": 456, "column": 19 }, "end": { - "line": 474, + "line": 467, "column": 13 } } }, "range": [ - 14086, - 15435 + 13890, + 15239 ], "loc": { "start": { - "line": 444, + "line": 437, "column": 12 }, "end": { - "line": 474, + "line": 467, "column": 13 } }, @@ -33431,16 +33001,16 @@ "type": "Line", "value": "show all item", "range": [ - 14058, - 14073 + 13862, + 13877 ], "loc": { "start": { - "line": 443, + "line": 436, "column": 12 }, "end": { - "line": 443, + "line": 436, "column": 27 } } @@ -33459,16 +33029,16 @@ "type": "Identifier", "name": "li", "range": [ - 15453, - 15455 + 15257, + 15259 ], "loc": { "start": { - "line": 476, + "line": 469, "column": 16 }, "end": { - "line": 476, + "line": 469, "column": 18 } } @@ -33477,31 +33047,31 @@ "type": "Identifier", "name": "nodeName", "range": [ - 15456, - 15464 + 15260, + 15268 ], "loc": { "start": { - "line": 476, + "line": 469, "column": 19 }, "end": { - "line": 476, + "line": 469, "column": 27 } } }, "range": [ - 15453, - 15464 + 15257, + 15268 ], "loc": { "start": { - "line": 476, + "line": 469, "column": 16 }, "end": { - "line": 476, + "line": 469, "column": 27 } } @@ -33510,31 +33080,31 @@ "type": "Identifier", "name": "itemTag", "range": [ - 15469, - 15476 + 15273, + 15280 ], "loc": { "start": { - "line": 476, + "line": 469, "column": 32 }, "end": { - "line": 476, + "line": 469, "column": 39 } } }, "range": [ - 15453, - 15476 + 15257, + 15280 ], "loc": { "start": { - "line": 476, + "line": 469, "column": 16 }, "end": { - "line": 476, + "line": 469, "column": 39 } } @@ -33550,16 +33120,16 @@ "type": "Identifier", "name": "removeClass", "range": [ - 15496, - 15507 + 15300, + 15311 ], "loc": { "start": { - "line": 477, + "line": 470, "column": 16 }, "end": { - "line": 477, + "line": 470, "column": 27 } } @@ -33575,16 +33145,16 @@ "type": "Identifier", "name": "n", "range": [ - 15508, - 15509 + 15312, + 15313 ], "loc": { "start": { - "line": 477, + "line": 470, "column": 28 }, "end": { - "line": 477, + "line": 470, "column": 29 } } @@ -33593,31 +33163,31 @@ "type": "Identifier", "name": "childNodes", "range": [ - 15510, - 15520 + 15314, + 15324 ], "loc": { "start": { - "line": 477, + "line": 470, "column": 30 }, "end": { - "line": 477, + "line": 470, "column": 40 } } }, "range": [ - 15508, - 15520 + 15312, + 15324 ], "loc": { "start": { - "line": 477, + "line": 470, "column": 28 }, "end": { - "line": 477, + "line": 470, "column": 40 } } @@ -33627,31 +33197,31 @@ "value": 0, "raw": "0", "range": [ - 15521, - 15522 + 15325, + 15326 ], "loc": { "start": { - "line": 477, + "line": 470, "column": 41 }, "end": { - "line": 477, + "line": 470, "column": 42 } } }, "range": [ - 15508, - 15523 + 15312, + 15327 ], "loc": { "start": { - "line": 477, + "line": 470, "column": 28 }, "end": { - "line": 477, + "line": 470, "column": 43 } } @@ -33662,16 +33232,16 @@ "object": { "type": "ThisExpression", "range": [ - 15525, - 15529 + 15329, + 15333 ], "loc": { "start": { - "line": 477, + "line": 470, "column": 45 }, "end": { - "line": 477, + "line": 470, "column": 49 } } @@ -33680,62 +33250,62 @@ "type": "Identifier", "name": "selectedItemCssClass", "range": [ - 15530, - 15550 + 15334, + 15354 ], "loc": { "start": { - "line": 477, + "line": 470, "column": 50 }, "end": { - "line": 477, + "line": 470, "column": 70 } } }, "range": [ - 15525, - 15550 + 15329, + 15354 ], "loc": { "start": { - "line": 477, + "line": 470, "column": 45 }, "end": { - "line": 477, + "line": 470, "column": 70 } } } ], "range": [ - 15496, - 15551 + 15300, + 15355 ], "loc": { "start": { - "line": 477, + "line": 470, "column": 16 }, "end": { - "line": 477, + "line": 470, "column": 71 } } }, "range": [ - 15496, - 15552 + 15300, + 15356 ], "loc": { "start": { - "line": 477, + "line": 470, "column": 16 }, "end": { - "line": 477, + "line": 470, "column": 72 } } @@ -33748,16 +33318,16 @@ "type": "Identifier", "name": "addClass", "range": [ - 15569, - 15577 + 15373, + 15381 ], "loc": { "start": { - "line": 478, + "line": 471, "column": 16 }, "end": { - "line": 478, + "line": 471, "column": 24 } } @@ -33767,16 +33337,16 @@ "type": "Identifier", "name": "li", "range": [ - 15578, - 15580 + 15382, + 15384 ], "loc": { "start": { - "line": 478, + "line": 471, "column": 25 }, "end": { - "line": 478, + "line": 471, "column": 27 } } @@ -33787,16 +33357,16 @@ "object": { "type": "ThisExpression", "range": [ - 15582, - 15586 + 15386, + 15390 ], "loc": { "start": { - "line": 478, + "line": 471, "column": 29 }, "end": { - "line": 478, + "line": 471, "column": 33 } } @@ -33805,110 +33375,110 @@ "type": "Identifier", "name": "selectedItemCssClass", "range": [ - 15587, - 15607 + 15391, + 15411 ], "loc": { "start": { - "line": 478, + "line": 471, "column": 34 }, "end": { - "line": 478, + "line": 471, "column": 54 } } }, "range": [ - 15582, - 15607 + 15386, + 15411 ], "loc": { "start": { - "line": 478, + "line": 471, "column": 29 }, "end": { - "line": 478, + "line": 471, "column": 54 } } } ], "range": [ - 15569, - 15608 + 15373, + 15412 ], "loc": { "start": { - "line": 478, + "line": 471, "column": 16 }, "end": { - "line": 478, + "line": 471, "column": 55 } } }, "range": [ - 15569, - 15609 + 15373, + 15413 ], "loc": { "start": { - "line": 478, + "line": 471, "column": 16 }, "end": { - "line": 478, + "line": 471, "column": 56 } } } ], "range": [ - 15478, - 15623 + 15282, + 15427 ], "loc": { "start": { - "line": 476, + "line": 469, "column": 41 }, "end": { - "line": 479, + "line": 472, "column": 13 } } }, "alternate": null, "range": [ - 15449, - 15623 + 15253, + 15427 ], "loc": { "start": { - "line": 476, + "line": 469, "column": 12 }, "end": { - "line": 479, + "line": 472, "column": 13 } } } ], "range": [ - 14044, - 15633 + 13848, + 15437 ], "loc": { "start": { - "line": 442, + "line": 435, "column": 23 }, "end": { - "line": 480, + "line": 473, "column": 9 } } @@ -33925,16 +33495,16 @@ "type": "Identifier", "name": "chkValue", "range": [ - 15686, - 15694 + 15490, + 15498 ], "loc": { "start": { - "line": 481, + "line": 474, "column": 16 }, "end": { - "line": 481, + "line": 474, "column": 24 } } @@ -33944,31 +33514,31 @@ "value": "", "raw": "''", "range": [ - 15699, - 15701 + 15503, + 15505 ], "loc": { "start": { - "line": 481, + "line": 474, "column": 29 }, "end": { - "line": 481, + "line": 474, "column": 31 } } }, "range": [ - 15686, - 15701 + 15490, + 15505 ], "loc": { "start": { - "line": 481, + "line": 474, "column": 16 }, "end": { - "line": 481, + "line": 474, "column": 31 } } @@ -33985,16 +33555,16 @@ "type": "Identifier", "name": "replaceValue", "range": [ - 15725, - 15737 + 15529, + 15541 ], "loc": { "start": { - "line": 482, + "line": 475, "column": 20 }, "end": { - "line": 482, + "line": 475, "column": 32 } } @@ -34005,16 +33575,16 @@ "type": "Identifier", "name": "RegExp", "range": [ - 15744, - 15750 + 15548, + 15554 ], "loc": { "start": { - "line": 482, + "line": 475, "column": 39 }, "end": { - "line": 482, + "line": 475, "column": 45 } } @@ -34026,16 +33596,16 @@ "type": "Identifier", "name": "rgxEsc", "range": [ - 15772, - 15778 + 15576, + 15582 ], "loc": { "start": { - "line": 483, + "line": 476, "column": 20 }, "end": { - "line": 483, + "line": 476, "column": 26 } } @@ -34051,16 +33621,16 @@ "type": "Identifier", "name": "chkValue", "range": [ - 15779, - 15787 + 15583, + 15591 ], "loc": { "start": { - "line": 483, + "line": 476, "column": 27 }, "end": { - "line": 483, + "line": 476, "column": 35 } } @@ -34070,31 +33640,31 @@ "value": " ", "raw": "' '", "range": [ - 15790, - 15793 + 15594, + 15597 ], "loc": { "start": { - "line": 483, + "line": 476, "column": 38 }, "end": { - "line": 483, + "line": 476, "column": 41 } } }, "range": [ - 15779, - 15793 + 15583, + 15597 ], "loc": { "start": { - "line": 483, + "line": 476, "column": 27 }, "end": { - "line": 483, + "line": 476, "column": 41 } } @@ -34106,16 +33676,16 @@ "type": "Identifier", "name": "tf", "range": [ - 15796, - 15798 + 15600, + 15602 ], "loc": { "start": { - "line": 483, + "line": 476, "column": 44 }, "end": { - "line": 483, + "line": 476, "column": 46 } } @@ -34124,93 +33694,93 @@ "type": "Identifier", "name": "orOperator", "range": [ - 15799, - 15809 + 15603, + 15613 ], "loc": { "start": { - "line": 483, + "line": 476, "column": 47 }, "end": { - "line": 483, + "line": 476, "column": 57 } } }, "range": [ - 15796, - 15809 + 15600, + 15613 ], "loc": { "start": { - "line": 483, + "line": 476, "column": 44 }, "end": { - "line": 483, + "line": 476, "column": 57 } } }, "range": [ - 15779, - 15809 + 15583, + 15613 ], "loc": { "start": { - "line": 483, + "line": 476, "column": 27 }, "end": { - "line": 483, + "line": 476, "column": 57 } } } ], "range": [ - 15772, - 15810 + 15576, + 15614 ], "loc": { "start": { - "line": 483, + "line": 476, "column": 20 }, "end": { - "line": 483, + "line": 476, "column": 58 } } } ], "range": [ - 15740, - 15811 + 15544, + 15615 ], "loc": { "start": { - "line": 482, + "line": 475, "column": 35 }, "end": { - "line": 483, + "line": 476, "column": 59 } } }, "range": [ - 15725, - 15811 + 15529, + 15615 ], "loc": { "start": { - "line": 482, + "line": 475, "column": 20 }, "end": { - "line": 483, + "line": 476, "column": 59 } } @@ -34218,16 +33788,16 @@ ], "kind": "let", "range": [ - 15721, - 15812 + 15525, + 15616 ], "loc": { "start": { - "line": 482, + "line": 475, "column": 16 }, "end": { - "line": 483, + "line": 476, "column": 60 } } @@ -34241,16 +33811,16 @@ "type": "Identifier", "name": "fltValue", "range": [ - 15829, - 15837 + 15633, + 15641 ], "loc": { "start": { - "line": 484, + "line": 477, "column": 16 }, "end": { - "line": 484, + "line": 477, "column": 24 } } @@ -34264,16 +33834,16 @@ "type": "Identifier", "name": "fltValue", "range": [ - 15840, - 15848 + 15644, + 15652 ], "loc": { "start": { - "line": 484, + "line": 477, "column": 27 }, "end": { - "line": 484, + "line": 477, "column": 35 } } @@ -34282,31 +33852,31 @@ "type": "Identifier", "name": "replace", "range": [ - 15849, - 15856 + 15653, + 15660 ], "loc": { "start": { - "line": 484, + "line": 477, "column": 36 }, "end": { - "line": 484, + "line": 477, "column": 43 } } }, "range": [ - 15840, - 15856 + 15644, + 15660 ], "loc": { "start": { - "line": 484, + "line": 477, "column": 27 }, "end": { - "line": 484, + "line": 477, "column": 43 } } @@ -34316,16 +33886,16 @@ "type": "Identifier", "name": "replaceValue", "range": [ - 15857, - 15869 + 15661, + 15673 ], "loc": { "start": { - "line": 484, + "line": 477, "column": 44 }, "end": { - "line": 484, + "line": 477, "column": 56 } } @@ -34335,62 +33905,62 @@ "value": "", "raw": "''", "range": [ - 15871, - 15873 + 15675, + 15677 ], "loc": { "start": { - "line": 484, + "line": 477, "column": 58 }, "end": { - "line": 484, + "line": 477, "column": 60 } } } ], "range": [ - 15840, - 15874 + 15644, + 15678 ], "loc": { "start": { - "line": 484, + "line": 477, "column": 27 }, "end": { - "line": 484, + "line": 477, "column": 61 } } }, "range": [ - 15829, - 15874 + 15633, + 15678 ], "loc": { "start": { - "line": 484, + "line": 477, "column": 16 }, "end": { - "line": 484, + "line": 477, "column": 61 } } }, "range": [ - 15829, - 15875 + 15633, + 15679 ], "loc": { "start": { - "line": 484, + "line": 477, "column": 16 }, "end": { - "line": 484, + "line": 477, "column": 62 } } @@ -34406,16 +33976,16 @@ "type": "Identifier", "name": "n", "range": [ - 15892, - 15893 + 15696, + 15697 ], "loc": { "start": { - "line": 485, + "line": 478, "column": 16 }, "end": { - "line": 485, + "line": 478, "column": 17 } } @@ -34424,31 +33994,31 @@ "type": "Identifier", "name": "setAttribute", "range": [ - 15894, - 15906 + 15698, + 15710 ], "loc": { "start": { - "line": 485, + "line": 478, "column": 18 }, "end": { - "line": 485, + "line": 478, "column": 30 } } }, "range": [ - 15892, - 15906 + 15696, + 15710 ], "loc": { "start": { - "line": 485, + "line": 478, "column": 16 }, "end": { - "line": 485, + "line": 478, "column": 30 } } @@ -34459,16 +34029,16 @@ "value": "value", "raw": "'value'", "range": [ - 15907, - 15914 + 15711, + 15718 ], "loc": { "start": { - "line": 485, + "line": 478, "column": 31 }, "end": { - "line": 485, + "line": 478, "column": 38 } } @@ -34479,16 +34049,16 @@ "type": "Identifier", "name": "trim", "range": [ - 15916, - 15920 + 15720, + 15724 ], "loc": { "start": { - "line": 485, + "line": 478, "column": 40 }, "end": { - "line": 485, + "line": 478, "column": 44 } } @@ -34498,63 +34068,63 @@ "type": "Identifier", "name": "fltValue", "range": [ - 15921, - 15929 + 15725, + 15733 ], "loc": { "start": { - "line": 485, + "line": 478, "column": 45 }, "end": { - "line": 485, + "line": 478, "column": 53 } } } ], "range": [ - 15916, - 15930 + 15720, + 15734 ], "loc": { "start": { - "line": 485, + "line": 478, "column": 40 }, "end": { - "line": 485, + "line": 478, "column": 54 } } } ], "range": [ - 15892, - 15931 + 15696, + 15735 ], "loc": { "start": { - "line": 485, + "line": 478, "column": 16 }, "end": { - "line": 485, + "line": 478, "column": 55 } } }, "range": [ - 15892, - 15932 + 15696, + 15736 ], "loc": { "start": { - "line": 485, + "line": 478, "column": 16 }, "end": { - "line": 485, + "line": 478, "column": 56 } } @@ -34568,16 +34138,16 @@ "type": "Identifier", "name": "replaceIndex", "range": [ - 15954, - 15966 + 15758, + 15770 ], "loc": { "start": { - "line": 487, + "line": 480, "column": 20 }, "end": { - "line": 487, + "line": 480, "column": 32 } } @@ -34588,16 +34158,16 @@ "type": "Identifier", "name": "RegExp", "range": [ - 15973, - 15979 + 15777, + 15783 ], "loc": { "start": { - "line": 487, + "line": 480, "column": 39 }, "end": { - "line": 487, + "line": 480, "column": 45 } } @@ -34609,16 +34179,16 @@ "type": "Identifier", "name": "rgxEsc", "range": [ - 16001, - 16007 + 15805, + 15811 ], "loc": { "start": { - "line": 488, + "line": 481, "column": 20 }, "end": { - "line": 488, + "line": 481, "column": 26 } } @@ -34631,16 +34201,16 @@ "type": "Identifier", "name": "chkIndex", "range": [ - 16008, - 16016 + 15812, + 15820 ], "loc": { "start": { - "line": 488, + "line": 481, "column": 27 }, "end": { - "line": 488, + "line": 481, "column": 35 } } @@ -34652,16 +34222,16 @@ "type": "Identifier", "name": "tf", "range": [ - 16019, - 16021 + 15823, + 15825 ], "loc": { "start": { - "line": 488, + "line": 481, "column": 38 }, "end": { - "line": 488, + "line": 481, "column": 40 } } @@ -34670,93 +34240,93 @@ "type": "Identifier", "name": "separator", "range": [ - 16022, - 16031 + 15826, + 15835 ], "loc": { "start": { - "line": 488, + "line": 481, "column": 41 }, "end": { - "line": 488, + "line": 481, "column": 50 } } }, "range": [ - 16019, - 16031 + 15823, + 15835 ], "loc": { "start": { - "line": 488, + "line": 481, "column": 38 }, "end": { - "line": 488, + "line": 481, "column": 50 } } }, "range": [ - 16008, - 16031 + 15812, + 15835 ], "loc": { "start": { - "line": 488, + "line": 481, "column": 27 }, "end": { - "line": 488, + "line": 481, "column": 50 } } } ], "range": [ - 16001, - 16032 + 15805, + 15836 ], "loc": { "start": { - "line": 488, + "line": 481, "column": 20 }, "end": { - "line": 488, + "line": 481, "column": 51 } } } ], "range": [ - 15969, - 16033 + 15773, + 15837 ], "loc": { "start": { - "line": 487, + "line": 480, "column": 35 }, "end": { - "line": 488, + "line": 481, "column": 52 } } }, "range": [ - 15954, - 16033 + 15758, + 15837 ], "loc": { "start": { - "line": 487, + "line": 480, "column": 20 }, "end": { - "line": 488, + "line": 481, "column": 52 } } @@ -34764,16 +34334,16 @@ ], "kind": "let", "range": [ - 15950, - 16034 + 15754, + 15838 ], "loc": { "start": { - "line": 487, + "line": 480, "column": 16 }, "end": { - "line": 488, + "line": 481, "column": 53 } } @@ -34787,16 +34357,16 @@ "type": "Identifier", "name": "fltIndexes", "range": [ - 16051, - 16061 + 15855, + 15865 ], "loc": { "start": { - "line": 489, + "line": 482, "column": 16 }, "end": { - "line": 489, + "line": 482, "column": 26 } } @@ -34810,16 +34380,16 @@ "type": "Identifier", "name": "fltIndexes", "range": [ - 16064, - 16074 + 15868, + 15878 ], "loc": { "start": { - "line": 489, + "line": 482, "column": 29 }, "end": { - "line": 489, + "line": 482, "column": 39 } } @@ -34828,31 +34398,31 @@ "type": "Identifier", "name": "replace", "range": [ - 16075, - 16082 + 15879, + 15886 ], "loc": { "start": { - "line": 489, + "line": 482, "column": 40 }, "end": { - "line": 489, + "line": 482, "column": 47 } } }, "range": [ - 16064, - 16082 + 15868, + 15886 ], "loc": { "start": { - "line": 489, + "line": 482, "column": 29 }, "end": { - "line": 489, + "line": 482, "column": 47 } } @@ -34862,16 +34432,16 @@ "type": "Identifier", "name": "replaceIndex", "range": [ - 16083, - 16095 + 15887, + 15899 ], "loc": { "start": { - "line": 489, + "line": 482, "column": 48 }, "end": { - "line": 489, + "line": 482, "column": 60 } } @@ -34881,62 +34451,62 @@ "value": "", "raw": "''", "range": [ - 16097, - 16099 + 15901, + 15903 ], "loc": { "start": { - "line": 489, + "line": 482, "column": 62 }, "end": { - "line": 489, + "line": 482, "column": 64 } } } ], "range": [ - 16064, - 16100 + 15868, + 15904 ], "loc": { "start": { - "line": 489, + "line": 482, "column": 29 }, "end": { - "line": 489, + "line": 482, "column": 65 } } }, "range": [ - 16051, - 16100 + 15855, + 15904 ], "loc": { "start": { - "line": 489, + "line": 482, "column": 16 }, "end": { - "line": 489, + "line": 482, "column": 65 } } }, "range": [ - 16051, - 16101 + 15855, + 15905 ], "loc": { "start": { - "line": 489, + "line": 482, "column": 16 }, "end": { - "line": 489, + "line": 482, "column": 66 } } @@ -34952,16 +34522,16 @@ "type": "Identifier", "name": "n", "range": [ - 16118, - 16119 + 15922, + 15923 ], "loc": { "start": { - "line": 490, + "line": 483, "column": 16 }, "end": { - "line": 490, + "line": 483, "column": 17 } } @@ -34970,31 +34540,31 @@ "type": "Identifier", "name": "setAttribute", "range": [ - 16120, - 16132 + 15924, + 15936 ], "loc": { "start": { - "line": 490, + "line": 483, "column": 18 }, "end": { - "line": 490, + "line": 483, "column": 30 } } }, "range": [ - 16118, - 16132 + 15922, + 15936 ], "loc": { "start": { - "line": 490, + "line": 483, "column": 16 }, "end": { - "line": 490, + "line": 483, "column": 30 } } @@ -35005,16 +34575,16 @@ "value": "indexes", "raw": "'indexes'", "range": [ - 16133, - 16142 + 15937, + 15946 ], "loc": { "start": { - "line": 490, + "line": 483, "column": 31 }, "end": { - "line": 490, + "line": 483, "column": 40 } } @@ -35023,79 +34593,79 @@ "type": "Identifier", "name": "fltIndexes", "range": [ - 16144, - 16154 + 15948, + 15958 ], "loc": { "start": { - "line": 490, + "line": 483, "column": 42 }, "end": { - "line": 490, + "line": 483, "column": 52 } } } ], "range": [ - 16118, - 16155 + 15922, + 15959 ], "loc": { "start": { - "line": 490, + "line": 483, "column": 16 }, "end": { - "line": 490, + "line": 483, "column": 53 } } }, "range": [ - 16118, - 16156 + 15922, + 15960 ], "loc": { "start": { - "line": 490, + "line": 483, "column": 16 }, "end": { - "line": 490, + "line": 483, "column": 54 } } } ], "range": [ - 15703, - 16170 + 15507, + 15974 ], "loc": { "start": { - "line": 481, + "line": 474, "column": 33 }, "end": { - "line": 491, + "line": 484, "column": 13 } } }, "alternate": null, "range": [ - 15682, - 16170 + 15486, + 15974 ], "loc": { "start": { - "line": 481, + "line": 474, "column": 12 }, "end": { - "line": 491, + "line": 484, "column": 13 } }, @@ -35104,16 +34674,16 @@ "type": "Line", "value": "removes values and indexes", "range": [ - 15641, - 15669 + 15445, + 15473 ], "loc": { "start": { - "line": 480, + "line": 473, "column": 17 }, "end": { - "line": 480, + "line": 473, "column": 45 } } @@ -35132,16 +34702,16 @@ "type": "Identifier", "name": "li", "range": [ - 16187, - 16189 + 15991, + 15993 ], "loc": { "start": { - "line": 492, + "line": 485, "column": 16 }, "end": { - "line": 492, + "line": 485, "column": 18 } } @@ -35150,31 +34720,31 @@ "type": "Identifier", "name": "nodeName", "range": [ - 16190, - 16198 + 15994, + 16002 ], "loc": { "start": { - "line": 492, + "line": 485, "column": 19 }, "end": { - "line": 492, + "line": 485, "column": 27 } } }, "range": [ - 16187, - 16198 + 15991, + 16002 ], "loc": { "start": { - "line": 492, + "line": 485, "column": 16 }, "end": { - "line": 492, + "line": 485, "column": 27 } } @@ -35183,31 +34753,31 @@ "type": "Identifier", "name": "itemTag", "range": [ - 16203, - 16210 + 16007, + 16014 ], "loc": { "start": { - "line": 492, + "line": 485, "column": 32 }, "end": { - "line": 492, + "line": 485, "column": 39 } } }, "range": [ - 16187, - 16210 + 15991, + 16014 ], "loc": { "start": { - "line": 492, + "line": 485, "column": 16 }, "end": { - "line": 492, + "line": 485, "column": 39 } } @@ -35223,16 +34793,16 @@ "type": "Identifier", "name": "removeClass", "range": [ - 16230, - 16241 + 16034, + 16045 ], "loc": { "start": { - "line": 493, + "line": 486, "column": 16 }, "end": { - "line": 493, + "line": 486, "column": 27 } } @@ -35242,16 +34812,16 @@ "type": "Identifier", "name": "li", "range": [ - 16242, - 16244 + 16046, + 16048 ], "loc": { "start": { - "line": 493, + "line": 486, "column": 28 }, "end": { - "line": 493, + "line": 486, "column": 30 } } @@ -35262,16 +34832,16 @@ "object": { "type": "ThisExpression", "range": [ - 16246, - 16250 + 16050, + 16054 ], "loc": { "start": { - "line": 493, + "line": 486, "column": 32 }, "end": { - "line": 493, + "line": 486, "column": 36 } } @@ -35280,125 +34850,125 @@ "type": "Identifier", "name": "selectedItemCssClass", "range": [ - 16251, - 16271 + 16055, + 16075 ], "loc": { "start": { - "line": 493, + "line": 486, "column": 37 }, "end": { - "line": 493, + "line": 486, "column": 57 } } }, "range": [ - 16246, - 16271 + 16050, + 16075 ], "loc": { "start": { - "line": 493, + "line": 486, "column": 32 }, "end": { - "line": 493, + "line": 486, "column": 57 } } } ], "range": [ - 16230, - 16272 + 16034, + 16076 ], "loc": { "start": { - "line": 493, + "line": 486, "column": 16 }, "end": { - "line": 493, + "line": 486, "column": 58 } } }, "range": [ - 16230, - 16273 + 16034, + 16077 ], "loc": { "start": { - "line": 493, + "line": 486, "column": 16 }, "end": { - "line": 493, + "line": 486, "column": 59 } } } ], "range": [ - 16212, - 16287 + 16016, + 16091 ], "loc": { "start": { - "line": 492, + "line": 485, "column": 41 }, "end": { - "line": 494, + "line": 487, "column": 13 } } }, "alternate": null, "range": [ - 16183, - 16287 + 15987, + 16091 ], "loc": { "start": { - "line": 492, + "line": 485, "column": 12 }, "end": { - "line": 494, + "line": 487, "column": 13 } } } ], "range": [ - 15639, - 16297 + 15443, + 16101 ], "loc": { "start": { - "line": 480, + "line": 473, "column": 15 }, "end": { - "line": 495, + "line": 488, "column": 9 } } }, "range": [ - 14029, - 16297 + 13833, + 16101 ], "loc": { "start": { - "line": 442, + "line": 435, "column": 8 }, "end": { - "line": 495, + "line": 488, "column": 9 } }, @@ -35407,16 +34977,16 @@ "type": "Line", "value": "selected items (ul tag)", "range": [ - 13994, - 14019 + 13798, + 13823 ], "loc": { "start": { - "line": 440, + "line": 433, "column": 52 }, "end": { - "line": 440, + "line": 433, "column": 77 } } @@ -35425,16 +34995,16 @@ } ], "range": [ - 13382, - 16303 + 13186, + 16107 ], "loc": { "start": { - "line": 424, + "line": 417, "column": 26 }, "end": { - "line": 496, + "line": 489, "column": 5 } } @@ -35442,16 +35012,16 @@ "generator": false, "expression": false, "range": [ - 13378, - 16303 + 13182, + 16107 ], "loc": { "start": { - "line": 424, + "line": 417, "column": 22 }, "end": { - "line": 496, + "line": 489, "column": 5 } } @@ -35459,16 +35029,16 @@ "kind": "method", "computed": false, "range": [ - 13360, - 16303 + 13164, + 16107 ], "loc": { "start": { - "line": 424, + "line": 417, "column": 4 }, "end": { - "line": 496, + "line": 489, "column": 5 } }, @@ -35477,16 +35047,16 @@ "type": "Block", "value": "*\n * Store checked options in DOM element attribute\n * @param {Object} o checklist option DOM element\n ", "range": [ - 13236, - 13355 + 13040, + 13159 ], "loc": { "start": { - "line": 420, + "line": 413, "column": 4 }, "end": { - "line": 423, + "line": 416, "column": 7 } } @@ -35497,16 +35067,16 @@ "type": "Block", "value": "*\n * Select filter options programmatically\n * @param {Number} colIndex Column index\n * @param {Array} values Array of option values to select\n ", "range": [ - 16309, - 16478 + 16113, + 16282 ], "loc": { "start": { - "line": 498, + "line": 491, "column": 4 }, "end": { - "line": 502, + "line": 495, "column": 7 } } @@ -35520,16 +35090,16 @@ "type": "Identifier", "name": "selectOptions", "range": [ - 16483, - 16496 + 16287, + 16300 ], "loc": { "start": { - "line": 503, + "line": 496, "column": 4 }, "end": { - "line": 503, + "line": 496, "column": 17 } } @@ -35542,16 +35112,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 16497, - 16505 + 16301, + 16309 ], "loc": { "start": { - "line": 503, + "line": 496, "column": 18 }, "end": { - "line": 503, + "line": 496, "column": 26 } } @@ -35562,16 +35132,16 @@ "type": "Identifier", "name": "values", "range": [ - 16507, - 16513 + 16311, + 16317 ], "loc": { "start": { - "line": 503, + "line": 496, "column": 28 }, "end": { - "line": 503, + "line": 496, "column": 34 } } @@ -35580,31 +35150,31 @@ "type": "ArrayExpression", "elements": [], "range": [ - 16516, - 16518 + 16320, + 16322 ], "loc": { "start": { - "line": 503, + "line": 496, "column": 37 }, "end": { - "line": 503, + "line": 496, "column": 39 } } }, "range": [ - 16507, - 16518 + 16311, + 16322 ], "loc": { "start": { - "line": 503, + "line": 496, "column": 28 }, "end": { - "line": 503, + "line": 496, "column": 39 } } @@ -35622,16 +35192,16 @@ "type": "Identifier", "name": "tf", "range": [ - 16534, - 16536 + 16338, + 16340 ], "loc": { "start": { - "line": 504, + "line": 497, "column": 12 }, "end": { - "line": 504, + "line": 497, "column": 14 } } @@ -35642,16 +35212,16 @@ "object": { "type": "ThisExpression", "range": [ - 16539, - 16543 + 16343, + 16347 ], "loc": { "start": { - "line": 504, + "line": 497, "column": 17 }, "end": { - "line": 504, + "line": 497, "column": 21 } } @@ -35660,46 +35230,46 @@ "type": "Identifier", "name": "tf", "range": [ - 16544, - 16546 + 16348, + 16350 ], "loc": { "start": { - "line": 504, + "line": 497, "column": 22 }, "end": { - "line": 504, + "line": 497, "column": 24 } } }, "range": [ - 16539, - 16546 + 16343, + 16350 ], "loc": { "start": { - "line": 504, + "line": 497, "column": 17 }, "end": { - "line": 504, + "line": 497, "column": 24 } } }, "range": [ - 16534, - 16546 + 16338, + 16350 ], "loc": { "start": { - "line": 504, + "line": 497, "column": 12 }, "end": { - "line": 504, + "line": 497, "column": 24 } } @@ -35707,16 +35277,16 @@ ], "kind": "let", "range": [ - 16530, - 16547 + 16334, + 16351 ], "loc": { "start": { - "line": 504, + "line": 497, "column": 8 }, "end": { - "line": 504, + "line": 497, "column": 25 } } @@ -35730,16 +35300,16 @@ "type": "Identifier", "name": "flt", "range": [ - 16560, - 16563 + 16364, + 16367 ], "loc": { "start": { - "line": 505, + "line": 498, "column": 12 }, "end": { - "line": 505, + "line": 498, "column": 15 } } @@ -35753,16 +35323,16 @@ "type": "Identifier", "name": "tf", "range": [ - 16566, - 16568 + 16370, + 16372 ], "loc": { "start": { - "line": 505, + "line": 498, "column": 18 }, "end": { - "line": 505, + "line": 498, "column": 20 } } @@ -35771,31 +35341,31 @@ "type": "Identifier", "name": "getFilterElement", "range": [ - 16569, - 16585 + 16373, + 16389 ], "loc": { "start": { - "line": 505, + "line": 498, "column": 21 }, "end": { - "line": 505, + "line": 498, "column": 37 } } }, "range": [ - 16566, - 16585 + 16370, + 16389 ], "loc": { "start": { - "line": 505, + "line": 498, "column": 18 }, "end": { - "line": 505, + "line": 498, "column": 37 } } @@ -35805,47 +35375,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 16586, - 16594 + 16390, + 16398 ], "loc": { "start": { - "line": 505, + "line": 498, "column": 38 }, "end": { - "line": 505, + "line": 498, "column": 46 } } } ], "range": [ - 16566, - 16595 + 16370, + 16399 ], "loc": { "start": { - "line": 505, + "line": 498, "column": 18 }, "end": { - "line": 505, + "line": 498, "column": 47 } } }, "range": [ - 16560, - 16595 + 16364, + 16399 ], "loc": { "start": { - "line": 505, + "line": 498, "column": 12 }, "end": { - "line": 505, + "line": 498, "column": 47 } } @@ -35853,16 +35423,16 @@ ], "kind": "let", "range": [ - 16556, - 16596 + 16360, + 16400 ], "loc": { "start": { - "line": 505, + "line": 498, "column": 8 }, "end": { - "line": 505, + "line": 498, "column": 48 } } @@ -35884,16 +35454,16 @@ "type": "Identifier", "name": "tf", "range": [ - 16609, - 16611 + 16413, + 16415 ], "loc": { "start": { - "line": 506, + "line": 499, "column": 12 }, "end": { - "line": 506, + "line": 499, "column": 14 } } @@ -35902,31 +35472,31 @@ "type": "Identifier", "name": "getFilterType", "range": [ - 16612, - 16625 + 16416, + 16429 ], "loc": { "start": { - "line": 506, + "line": 499, "column": 15 }, "end": { - "line": 506, + "line": 499, "column": 28 } } }, "range": [ - 16609, - 16625 + 16413, + 16429 ], "loc": { "start": { - "line": 506, + "line": 499, "column": 12 }, "end": { - "line": 506, + "line": 499, "column": 28 } } @@ -35936,32 +35506,32 @@ "type": "Identifier", "name": "colIndex", "range": [ - 16626, - 16634 + 16430, + 16438 ], "loc": { "start": { - "line": 506, + "line": 499, "column": 29 }, "end": { - "line": 506, + "line": 499, "column": 37 } } } ], "range": [ - 16609, - 16635 + 16413, + 16439 ], "loc": { "start": { - "line": 506, + "line": 499, "column": 12 }, "end": { - "line": 506, + "line": 499, "column": 38 } } @@ -35970,31 +35540,31 @@ "type": "Identifier", "name": "CHECKLIST", "range": [ - 16640, - 16649 + 16444, + 16453 ], "loc": { "start": { - "line": 506, + "line": 499, "column": 43 }, "end": { - "line": 506, + "line": 499, "column": 52 } } }, "range": [ - 16609, - 16649 + 16413, + 16453 ], "loc": { "start": { - "line": 506, + "line": 499, "column": 12 }, "end": { - "line": 506, + "line": 499, "column": 52 } } @@ -36006,47 +35576,47 @@ "type": "Identifier", "name": "flt", "range": [ - 16654, - 16657 + 16458, + 16461 ], "loc": { "start": { - "line": 506, + "line": 499, "column": 57 }, "end": { - "line": 506, + "line": 499, "column": 60 } } }, "prefix": true, "range": [ - 16653, - 16657 + 16457, + 16461 ], "loc": { "start": { - "line": 506, + "line": 499, "column": 56 }, "end": { - "line": 506, + "line": 499, "column": 60 } } }, "range": [ - 16609, - 16657 + 16413, + 16461 ], "loc": { "start": { - "line": 506, + "line": 499, "column": 12 }, "end": { - "line": 506, + "line": 499, "column": 60 } } @@ -36058,48 +35628,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 16673, - 16680 + 16477, + 16484 ], "loc": { "start": { - "line": 507, + "line": 500, "column": 12 }, "end": { - "line": 507, + "line": 500, "column": 19 } } } ], "range": [ - 16659, - 16690 + 16463, + 16494 ], "loc": { "start": { - "line": 506, + "line": 499, "column": 62 }, "end": { - "line": 508, + "line": 501, "column": 9 } } }, "alternate": null, "range": [ - 16605, - 16690 + 16409, + 16494 ], "loc": { "start": { - "line": 506, + "line": 499, "column": 8 }, "end": { - "line": 508, + "line": 501, "column": 9 } } @@ -36113,16 +35683,16 @@ "type": "Identifier", "name": "lisNb", "range": [ - 16704, - 16709 + 16508, + 16513 ], "loc": { "start": { - "line": 510, + "line": 503, "column": 12 }, "end": { - "line": 510, + "line": 503, "column": 17 } } @@ -36136,16 +35706,16 @@ "type": "Identifier", "name": "tag", "range": [ - 16712, - 16715 + 16516, + 16519 ], "loc": { "start": { - "line": 510, + "line": 503, "column": 20 }, "end": { - "line": 510, + "line": 503, "column": 23 } } @@ -36155,16 +35725,16 @@ "type": "Identifier", "name": "flt", "range": [ - 16716, - 16719 + 16520, + 16523 ], "loc": { "start": { - "line": 510, + "line": 503, "column": 24 }, "end": { - "line": 510, + "line": 503, "column": 27 } } @@ -36174,32 +35744,32 @@ "value": "li", "raw": "'li'", "range": [ - 16721, - 16725 + 16525, + 16529 ], "loc": { "start": { - "line": 510, + "line": 503, "column": 29 }, "end": { - "line": 510, + "line": 503, "column": 33 } } } ], "range": [ - 16712, - 16726 + 16516, + 16530 ], "loc": { "start": { - "line": 510, + "line": 503, "column": 20 }, "end": { - "line": 510, + "line": 503, "column": 34 } } @@ -36208,46 +35778,46 @@ "type": "Identifier", "name": "length", "range": [ - 16727, - 16733 + 16531, + 16537 ], "loc": { "start": { - "line": 510, + "line": 503, "column": 35 }, "end": { - "line": 510, + "line": 503, "column": 41 } } }, "range": [ - 16712, - 16733 + 16516, + 16537 ], "loc": { "start": { - "line": 510, + "line": 503, "column": 20 }, "end": { - "line": 510, + "line": 503, "column": 41 } } }, "range": [ - 16704, - 16733 + 16508, + 16537 ], "loc": { "start": { - "line": 510, + "line": 503, "column": 12 }, "end": { - "line": 510, + "line": 503, "column": 41 } } @@ -36255,16 +35825,16 @@ ], "kind": "let", "range": [ - 16700, - 16734 + 16504, + 16538 ], "loc": { "start": { - "line": 510, + "line": 503, "column": 8 }, "end": { - "line": 510, + "line": 503, "column": 42 } } @@ -36280,16 +35850,16 @@ "type": "Identifier", "name": "flt", "range": [ - 16744, - 16747 + 16548, + 16551 ], "loc": { "start": { - "line": 512, + "line": 505, "column": 8 }, "end": { - "line": 512, + "line": 505, "column": 11 } } @@ -36298,31 +35868,31 @@ "type": "Identifier", "name": "setAttribute", "range": [ - 16748, - 16760 + 16552, + 16564 ], "loc": { "start": { - "line": 512, + "line": 505, "column": 12 }, "end": { - "line": 512, + "line": 505, "column": 24 } } }, "range": [ - 16744, - 16760 + 16548, + 16564 ], "loc": { "start": { - "line": 512, + "line": 505, "column": 8 }, "end": { - "line": 512, + "line": 505, "column": 24 } } @@ -36333,16 +35903,16 @@ "value": "value", "raw": "'value'", "range": [ - 16761, - 16768 + 16565, + 16572 ], "loc": { "start": { - "line": 512, + "line": 505, "column": 25 }, "end": { - "line": 512, + "line": 505, "column": 32 } } @@ -36352,47 +35922,47 @@ "value": "", "raw": "''", "range": [ - 16770, - 16772 + 16574, + 16576 ], "loc": { "start": { - "line": 512, + "line": 505, "column": 34 }, "end": { - "line": 512, + "line": 505, "column": 36 } } } ], "range": [ - 16744, - 16773 + 16548, + 16577 ], "loc": { "start": { - "line": 512, + "line": 505, "column": 8 }, "end": { - "line": 512, + "line": 505, "column": 37 } } }, "range": [ - 16744, - 16774 + 16548, + 16578 ], "loc": { "start": { - "line": 512, + "line": 505, "column": 8 }, "end": { - "line": 512, + "line": 505, "column": 38 } } @@ -36408,16 +35978,16 @@ "type": "Identifier", "name": "flt", "range": [ - 16783, - 16786 + 16587, + 16590 ], "loc": { "start": { - "line": 513, + "line": 506, "column": 8 }, "end": { - "line": 513, + "line": 506, "column": 11 } } @@ -36426,31 +35996,31 @@ "type": "Identifier", "name": "setAttribute", "range": [ - 16787, - 16799 + 16591, + 16603 ], "loc": { "start": { - "line": 513, + "line": 506, "column": 12 }, "end": { - "line": 513, + "line": 506, "column": 24 } } }, "range": [ - 16783, - 16799 + 16587, + 16603 ], "loc": { "start": { - "line": 513, + "line": 506, "column": 8 }, "end": { - "line": 513, + "line": 506, "column": 24 } } @@ -36461,16 +36031,16 @@ "value": "indexes", "raw": "'indexes'", "range": [ - 16800, - 16809 + 16604, + 16613 ], "loc": { "start": { - "line": 513, + "line": 506, "column": 25 }, "end": { - "line": 513, + "line": 506, "column": 34 } } @@ -36480,47 +36050,47 @@ "value": "", "raw": "''", "range": [ - 16811, - 16813 + 16615, + 16617 ], "loc": { "start": { - "line": 513, + "line": 506, "column": 36 }, "end": { - "line": 513, + "line": 506, "column": 38 } } } ], "range": [ - 16783, - 16814 + 16587, + 16618 ], "loc": { "start": { - "line": 513, + "line": 506, "column": 8 }, "end": { - "line": 513, + "line": 506, "column": 39 } } }, "range": [ - 16783, - 16815 + 16587, + 16619 ], "loc": { "start": { - "line": 513, + "line": 506, "column": 8 }, "end": { - "line": 513, + "line": 506, "column": 40 } } @@ -36536,16 +36106,16 @@ "type": "Identifier", "name": "k", "range": [ - 16834, - 16835 + 16638, + 16639 ], "loc": { "start": { - "line": 515, + "line": 508, "column": 17 }, "end": { - "line": 515, + "line": 508, "column": 18 } } @@ -36555,31 +36125,31 @@ "value": 0, "raw": "0", "range": [ - 16838, - 16839 + 16642, + 16643 ], "loc": { "start": { - "line": 515, + "line": 508, "column": 21 }, "end": { - "line": 515, + "line": 508, "column": 22 } } }, "range": [ - 16834, - 16839 + 16638, + 16643 ], "loc": { "start": { - "line": 515, + "line": 508, "column": 17 }, "end": { - "line": 515, + "line": 508, "column": 22 } } @@ -36587,16 +36157,16 @@ ], "kind": "let", "range": [ - 16830, - 16839 + 16634, + 16643 ], "loc": { "start": { - "line": 515, + "line": 508, "column": 13 }, "end": { - "line": 515, + "line": 508, "column": 22 } } @@ -36608,16 +36178,16 @@ "type": "Identifier", "name": "k", "range": [ - 16841, - 16842 + 16645, + 16646 ], "loc": { "start": { - "line": 515, + "line": 508, "column": 24 }, "end": { - "line": 515, + "line": 508, "column": 25 } } @@ -36626,31 +36196,31 @@ "type": "Identifier", "name": "lisNb", "range": [ - 16845, - 16850 + 16649, + 16654 ], "loc": { "start": { - "line": 515, + "line": 508, "column": 28 }, "end": { - "line": 515, + "line": 508, "column": 33 } } }, "range": [ - 16841, - 16850 + 16645, + 16654 ], "loc": { "start": { - "line": 515, + "line": 508, "column": 24 }, "end": { - "line": 515, + "line": 508, "column": 33 } } @@ -36662,32 +36232,32 @@ "type": "Identifier", "name": "k", "range": [ - 16852, - 16853 + 16656, + 16657 ], "loc": { "start": { - "line": 515, + "line": 508, "column": 35 }, "end": { - "line": 515, + "line": 508, "column": 36 } } }, "prefix": false, "range": [ - 16852, - 16855 + 16656, + 16659 ], "loc": { "start": { - "line": 515, + "line": 508, "column": 35 }, "end": { - "line": 515, + "line": 508, "column": 38 } } @@ -36704,16 +36274,16 @@ "type": "Identifier", "name": "li", "range": [ - 16875, - 16877 + 16679, + 16681 ], "loc": { "start": { - "line": 516, + "line": 509, "column": 16 }, "end": { - "line": 516, + "line": 509, "column": 18 } } @@ -36727,16 +36297,16 @@ "type": "Identifier", "name": "tag", "range": [ - 16880, - 16883 + 16684, + 16687 ], "loc": { "start": { - "line": 516, + "line": 509, "column": 21 }, "end": { - "line": 516, + "line": 509, "column": 24 } } @@ -36746,16 +36316,16 @@ "type": "Identifier", "name": "flt", "range": [ - 16884, - 16887 + 16688, + 16691 ], "loc": { "start": { - "line": 516, + "line": 509, "column": 25 }, "end": { - "line": 516, + "line": 509, "column": 28 } } @@ -36765,32 +36335,32 @@ "value": "li", "raw": "'li'", "range": [ - 16889, - 16893 + 16693, + 16697 ], "loc": { "start": { - "line": 516, + "line": 509, "column": 30 }, "end": { - "line": 516, + "line": 509, "column": 34 } } } ], "range": [ - 16880, - 16894 + 16684, + 16698 ], "loc": { "start": { - "line": 516, + "line": 509, "column": 21 }, "end": { - "line": 516, + "line": 509, "column": 35 } } @@ -36799,46 +36369,46 @@ "type": "Identifier", "name": "k", "range": [ - 16895, - 16896 + 16699, + 16700 ], "loc": { "start": { - "line": 516, + "line": 509, "column": 36 }, "end": { - "line": 516, + "line": 509, "column": 37 } } }, "range": [ - 16880, - 16897 + 16684, + 16701 ], "loc": { "start": { - "line": 516, + "line": 509, "column": 21 }, "end": { - "line": 516, + "line": 509, "column": 38 } } }, "range": [ - 16875, - 16897 + 16679, + 16701 ], "loc": { "start": { - "line": 516, + "line": 509, "column": 16 }, "end": { - "line": 516, + "line": 509, "column": 38 } } @@ -36846,16 +36416,16 @@ ], "kind": "let", "range": [ - 16871, - 16898 + 16675, + 16702 ], "loc": { "start": { - "line": 516, + "line": 509, "column": 12 }, "end": { - "line": 516, + "line": 509, "column": 39 } } @@ -36869,16 +36439,16 @@ "type": "Identifier", "name": "lbl", "range": [ - 16915, - 16918 + 16719, + 16722 ], "loc": { "start": { - "line": 517, + "line": 510, "column": 16 }, "end": { - "line": 517, + "line": 510, "column": 19 } } @@ -36892,16 +36462,16 @@ "type": "Identifier", "name": "tag", "range": [ - 16921, - 16924 + 16725, + 16728 ], "loc": { "start": { - "line": 517, + "line": 510, "column": 22 }, "end": { - "line": 517, + "line": 510, "column": 25 } } @@ -36911,16 +36481,16 @@ "type": "Identifier", "name": "li", "range": [ - 16925, - 16927 + 16729, + 16731 ], "loc": { "start": { - "line": 517, + "line": 510, "column": 26 }, "end": { - "line": 517, + "line": 510, "column": 28 } } @@ -36930,32 +36500,32 @@ "value": "label", "raw": "'label'", "range": [ - 16929, - 16936 + 16733, + 16740 ], "loc": { "start": { - "line": 517, + "line": 510, "column": 30 }, "end": { - "line": 517, + "line": 510, "column": 37 } } } ], "range": [ - 16921, - 16937 + 16725, + 16741 ], "loc": { "start": { - "line": 517, + "line": 510, "column": 22 }, "end": { - "line": 517, + "line": 510, "column": 38 } } @@ -36965,46 +36535,46 @@ "value": 0, "raw": "0", "range": [ - 16938, - 16939 + 16742, + 16743 ], "loc": { "start": { - "line": 517, + "line": 510, "column": 39 }, "end": { - "line": 517, + "line": 510, "column": 40 } } }, "range": [ - 16921, - 16940 + 16725, + 16744 ], "loc": { "start": { - "line": 517, + "line": 510, "column": 22 }, "end": { - "line": 517, + "line": 510, "column": 41 } } }, "range": [ - 16915, - 16940 + 16719, + 16744 ], "loc": { "start": { - "line": 517, + "line": 510, "column": 16 }, "end": { - "line": 517, + "line": 510, "column": 41 } } @@ -37012,16 +36582,16 @@ ], "kind": "let", "range": [ - 16911, - 16941 + 16715, + 16745 ], "loc": { "start": { - "line": 517, + "line": 510, "column": 12 }, "end": { - "line": 517, + "line": 510, "column": 42 } } @@ -37035,16 +36605,16 @@ "type": "Identifier", "name": "chk", "range": [ - 16958, - 16961 + 16762, + 16765 ], "loc": { "start": { - "line": 518, + "line": 511, "column": 16 }, "end": { - "line": 518, + "line": 511, "column": 19 } } @@ -37058,16 +36628,16 @@ "type": "Identifier", "name": "tag", "range": [ - 16964, - 16967 + 16768, + 16771 ], "loc": { "start": { - "line": 518, + "line": 511, "column": 22 }, "end": { - "line": 518, + "line": 511, "column": 25 } } @@ -37077,16 +36647,16 @@ "type": "Identifier", "name": "li", "range": [ - 16968, - 16970 + 16772, + 16774 ], "loc": { "start": { - "line": 518, + "line": 511, "column": 26 }, "end": { - "line": 518, + "line": 511, "column": 28 } } @@ -37096,32 +36666,32 @@ "value": "input", "raw": "'input'", "range": [ - 16972, - 16979 + 16776, + 16783 ], "loc": { "start": { - "line": 518, + "line": 511, "column": 30 }, "end": { - "line": 518, + "line": 511, "column": 37 } } } ], "range": [ - 16964, - 16980 + 16768, + 16784 ], "loc": { "start": { - "line": 518, + "line": 511, "column": 22 }, "end": { - "line": 518, + "line": 511, "column": 38 } } @@ -37131,46 +36701,46 @@ "value": 0, "raw": "0", "range": [ - 16981, - 16982 + 16785, + 16786 ], "loc": { "start": { - "line": 518, + "line": 511, "column": 39 }, "end": { - "line": 518, + "line": 511, "column": 40 } } }, "range": [ - 16964, - 16983 + 16768, + 16787 ], "loc": { "start": { - "line": 518, + "line": 511, "column": 22 }, "end": { - "line": 518, + "line": 511, "column": 41 } } }, "range": [ - 16958, - 16983 + 16762, + 16787 ], "loc": { "start": { - "line": 518, + "line": 511, "column": 16 }, "end": { - "line": 518, + "line": 511, "column": 41 } } @@ -37178,16 +36748,16 @@ ], "kind": "let", "range": [ - 16954, - 16984 + 16758, + 16788 ], "loc": { "start": { - "line": 518, + "line": 511, "column": 12 }, "end": { - "line": 518, + "line": 511, "column": 42 } } @@ -37201,16 +36771,16 @@ "type": "Identifier", "name": "lblTxt", "range": [ - 17001, - 17007 + 16805, + 16811 ], "loc": { "start": { - "line": 519, + "line": 512, "column": 16 }, "end": { - "line": 519, + "line": 512, "column": 22 } } @@ -37221,16 +36791,16 @@ "type": "Identifier", "name": "matchCase", "range": [ - 17010, - 17019 + 16814, + 16823 ], "loc": { "start": { - "line": 519, + "line": 512, "column": 25 }, "end": { - "line": 519, + "line": 512, "column": 34 } } @@ -37242,16 +36812,16 @@ "type": "Identifier", "name": "getText", "range": [ - 17020, - 17027 + 16824, + 16831 ], "loc": { "start": { - "line": 519, + "line": 512, "column": 35 }, "end": { - "line": 519, + "line": 512, "column": 42 } } @@ -37261,32 +36831,32 @@ "type": "Identifier", "name": "lbl", "range": [ - 17028, - 17031 + 16832, + 16835 ], "loc": { "start": { - "line": 519, + "line": 512, "column": 43 }, "end": { - "line": 519, + "line": 512, "column": 46 } } } ], "range": [ - 17020, - 17032 + 16824, + 16836 ], "loc": { "start": { - "line": 519, + "line": 512, "column": 35 }, "end": { - "line": 519, + "line": 512, "column": 47 } } @@ -37298,16 +36868,16 @@ "type": "Identifier", "name": "tf", "range": [ - 17034, - 17036 + 16838, + 16840 ], "loc": { "start": { - "line": 519, + "line": 512, "column": 49 }, "end": { - "line": 519, + "line": 512, "column": 51 } } @@ -37316,62 +36886,62 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 17037, - 17050 + 16841, + 16854 ], "loc": { "start": { - "line": 519, + "line": 512, "column": 52 }, "end": { - "line": 519, + "line": 512, "column": 65 } } }, "range": [ - 17034, - 17050 + 16838, + 16854 ], "loc": { "start": { - "line": 519, + "line": 512, "column": 49 }, "end": { - "line": 519, + "line": 512, "column": 65 } } } ], "range": [ - 17010, - 17051 + 16814, + 16855 ], "loc": { "start": { - "line": 519, + "line": 512, "column": 25 }, "end": { - "line": 519, + "line": 512, "column": 66 } } }, "range": [ - 17001, - 17051 + 16805, + 16855 ], "loc": { "start": { - "line": 519, + "line": 512, "column": 16 }, "end": { - "line": 519, + "line": 512, "column": 66 } } @@ -37379,16 +36949,16 @@ ], "kind": "let", "range": [ - 16997, - 17052 + 16801, + 16856 ], "loc": { "start": { - "line": 519, + "line": 512, "column": 12 }, "end": { - "line": 519, + "line": 512, "column": 67 } } @@ -37405,16 +36975,16 @@ "type": "Identifier", "name": "lblTxt", "range": [ - 17070, - 17076 + 16874, + 16880 ], "loc": { "start": { - "line": 521, + "line": 514, "column": 16 }, "end": { - "line": 521, + "line": 514, "column": 22 } } @@ -37424,31 +36994,31 @@ "value": "", "raw": "''", "range": [ - 17081, - 17083 + 16885, + 16887 ], "loc": { "start": { - "line": 521, + "line": 514, "column": 27 }, "end": { - "line": 521, + "line": 514, "column": 29 } } }, "range": [ - 17070, - 17083 + 16874, + 16887 ], "loc": { "start": { - "line": 521, + "line": 514, "column": 16 }, "end": { - "line": 521, + "line": 514, "column": 29 } } @@ -37459,16 +37029,16 @@ "type": "Identifier", "name": "has", "range": [ - 17087, - 17090 + 16891, + 16894 ], "loc": { "start": { - "line": 521, + "line": 514, "column": 33 }, "end": { - "line": 521, + "line": 514, "column": 36 } } @@ -37478,16 +37048,16 @@ "type": "Identifier", "name": "values", "range": [ - 17091, - 17097 + 16895, + 16901 ], "loc": { "start": { - "line": 521, + "line": 514, "column": 37 }, "end": { - "line": 521, + "line": 514, "column": 43 } } @@ -37496,16 +37066,16 @@ "type": "Identifier", "name": "lblTxt", "range": [ - 17099, - 17105 + 16903, + 16909 ], "loc": { "start": { - "line": 521, + "line": 514, "column": 45 }, "end": { - "line": 521, + "line": 514, "column": 51 } } @@ -37517,16 +37087,16 @@ "type": "Identifier", "name": "tf", "range": [ - 17107, - 17109 + 16911, + 16913 ], "loc": { "start": { - "line": 521, + "line": 514, "column": 53 }, "end": { - "line": 521, + "line": 514, "column": 55 } } @@ -37535,62 +37105,62 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 17110, - 17123 + 16914, + 16927 ], "loc": { "start": { - "line": 521, + "line": 514, "column": 56 }, "end": { - "line": 521, + "line": 514, "column": 69 } } }, "range": [ - 17107, - 17123 + 16911, + 16927 ], "loc": { "start": { - "line": 521, + "line": 514, "column": 53 }, "end": { - "line": 521, + "line": 514, "column": 69 } } } ], "range": [ - 17087, - 17124 + 16891, + 16928 ], "loc": { "start": { - "line": 521, + "line": 514, "column": 33 }, "end": { - "line": 521, + "line": 514, "column": 70 } } }, "range": [ - 17070, - 17124 + 16874, + 16928 ], "loc": { "start": { - "line": 521, + "line": 514, "column": 16 }, "end": { - "line": 521, + "line": 514, "column": 70 } } @@ -37610,16 +37180,16 @@ "type": "Identifier", "name": "chk", "range": [ - 17144, - 17147 + 16948, + 16951 ], "loc": { "start": { - "line": 522, + "line": 515, "column": 16 }, "end": { - "line": 522, + "line": 515, "column": 19 } } @@ -37628,31 +37198,31 @@ "type": "Identifier", "name": "checked", "range": [ - 17148, - 17155 + 16952, + 16959 ], "loc": { "start": { - "line": 522, + "line": 515, "column": 20 }, "end": { - "line": 522, + "line": 515, "column": 27 } } }, "range": [ - 17144, - 17155 + 16948, + 16959 ], "loc": { "start": { - "line": 522, + "line": 515, "column": 16 }, "end": { - "line": 522, + "line": 515, "column": 27 } } @@ -37662,62 +37232,62 @@ "value": true, "raw": "true", "range": [ - 17158, - 17162 + 16962, + 16966 ], "loc": { "start": { - "line": 522, + "line": 515, "column": 30 }, "end": { - "line": 522, + "line": 515, "column": 34 } } }, "range": [ - 17144, - 17162 + 16948, + 16966 ], "loc": { "start": { - "line": 522, + "line": 515, "column": 16 }, "end": { - "line": 522, + "line": 515, "column": 34 } } }, "range": [ - 17144, - 17163 + 16948, + 16967 ], "loc": { "start": { - "line": 522, + "line": 515, "column": 16 }, "end": { - "line": 522, + "line": 515, "column": 35 } } } ], "range": [ - 17126, - 17177 + 16930, + 16981 ], "loc": { "start": { - "line": 521, + "line": 514, "column": 72 }, "end": { - "line": 523, + "line": 516, "column": 13 } } @@ -37742,16 +37312,16 @@ "type": "Identifier", "name": "values", "range": [ - 17266, - 17272 + 17070, + 17076 ], "loc": { "start": { - "line": 525, + "line": 518, "column": 20 }, "end": { - "line": 525, + "line": 518, "column": 26 } } @@ -37760,31 +37330,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 17273, - 17280 + 17077, + 17084 ], "loc": { "start": { - "line": 525, + "line": 518, "column": 27 }, "end": { - "line": 525, + "line": 518, "column": 34 } } }, "range": [ - 17266, - 17280 + 17070, + 17084 ], "loc": { "start": { - "line": 525, + "line": 518, "column": 20 }, "end": { - "line": 525, + "line": 518, "column": 34 } } @@ -37797,16 +37367,16 @@ "type": "Identifier", "name": "tf", "range": [ - 17281, - 17283 + 17085, + 17087 ], "loc": { "start": { - "line": 525, + "line": 518, "column": 35 }, "end": { - "line": 525, + "line": 518, "column": 37 } } @@ -37815,47 +37385,47 @@ "type": "Identifier", "name": "nmOperator", "range": [ - 17284, - 17294 + 17088, + 17098 ], "loc": { "start": { - "line": 525, + "line": 518, "column": 38 }, "end": { - "line": 525, + "line": 518, "column": 48 } } }, "range": [ - 17281, - 17294 + 17085, + 17098 ], "loc": { "start": { - "line": 525, + "line": 518, "column": 35 }, "end": { - "line": 525, + "line": 518, "column": 48 } } } ], "range": [ - 17266, - 17295 + 17070, + 17099 ], "loc": { "start": { - "line": 525, + "line": 518, "column": 20 }, "end": { - "line": 525, + "line": 518, "column": 49 } } @@ -37868,47 +37438,47 @@ "value": 1, "raw": "1", "range": [ - 17301, - 17302 + 17105, + 17106 ], "loc": { "start": { - "line": 525, + "line": 518, "column": 55 }, "end": { - "line": 525, + "line": 518, "column": 56 } } }, "prefix": true, "range": [ - 17300, - 17302 + 17104, + 17106 ], "loc": { "start": { - "line": 525, + "line": 518, "column": 54 }, "end": { - "line": 525, + "line": 518, "column": 56 } } }, "range": [ - 17266, - 17302 + 17070, + 17106 ], "loc": { "start": { - "line": 525, + "line": 518, "column": 20 }, "end": { - "line": 525, + "line": 518, "column": 56 } } @@ -37920,16 +37490,16 @@ "type": "Identifier", "name": "lblTxt", "range": [ - 17326, - 17332 + 17130, + 17136 ], "loc": { "start": { - "line": 526, + "line": 519, "column": 20 }, "end": { - "line": 526, + "line": 519, "column": 26 } } @@ -37940,16 +37510,16 @@ "type": "Identifier", "name": "matchCase", "range": [ - 17337, - 17346 + 17141, + 17150 ], "loc": { "start": { - "line": 526, + "line": 519, "column": 31 }, "end": { - "line": 526, + "line": 519, "column": 40 } } @@ -37962,16 +37532,16 @@ "type": "Identifier", "name": "tf", "range": [ - 17347, - 17349 + 17151, + 17153 ], "loc": { "start": { - "line": 526, + "line": 519, "column": 41 }, "end": { - "line": 526, + "line": 519, "column": 43 } } @@ -37980,31 +37550,31 @@ "type": "Identifier", "name": "nonEmptyText", "range": [ - 17350, - 17362 + 17154, + 17166 ], "loc": { "start": { - "line": 526, + "line": 519, "column": 44 }, "end": { - "line": 526, + "line": 519, "column": 56 } } }, "range": [ - 17347, - 17362 + 17151, + 17166 ], "loc": { "start": { - "line": 526, + "line": 519, "column": 41 }, "end": { - "line": 526, + "line": 519, "column": 56 } } @@ -38016,16 +37586,16 @@ "type": "Identifier", "name": "tf", "range": [ - 17364, - 17366 + 17168, + 17170 ], "loc": { "start": { - "line": 526, + "line": 519, "column": 58 }, "end": { - "line": 526, + "line": 519, "column": 60 } } @@ -38034,77 +37604,77 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 17367, - 17380 + 17171, + 17184 ], "loc": { "start": { - "line": 526, + "line": 519, "column": 61 }, "end": { - "line": 526, + "line": 519, "column": 74 } } }, "range": [ - 17364, - 17380 + 17168, + 17184 ], "loc": { "start": { - "line": 526, + "line": 519, "column": 58 }, "end": { - "line": 526, + "line": 519, "column": 74 } } } ], "range": [ - 17337, - 17381 + 17141, + 17185 ], "loc": { "start": { - "line": 526, + "line": 519, "column": 31 }, "end": { - "line": 526, + "line": 519, "column": 75 } } }, "range": [ - 17326, - 17381 + 17130, + 17185 ], "loc": { "start": { - "line": 526, + "line": 519, "column": 20 }, "end": { - "line": 526, + "line": 519, "column": 75 } } }, "range": [ - 17266, - 17381 + 17070, + 17185 ], "loc": { "start": { - "line": 525, + "line": 518, "column": 20 }, "end": { - "line": 526, + "line": 519, "column": 75 } } @@ -38124,16 +37694,16 @@ "type": "Identifier", "name": "chk", "range": [ - 17405, - 17408 + 17209, + 17212 ], "loc": { "start": { - "line": 527, + "line": 520, "column": 20 }, "end": { - "line": 527, + "line": 520, "column": 23 } } @@ -38142,31 +37712,31 @@ "type": "Identifier", "name": "checked", "range": [ - 17409, - 17416 + 17213, + 17220 ], "loc": { "start": { - "line": 527, + "line": 520, "column": 24 }, "end": { - "line": 527, + "line": 520, "column": 31 } } }, "range": [ - 17405, - 17416 + 17209, + 17220 ], "loc": { "start": { - "line": 527, + "line": 520, "column": 20 }, "end": { - "line": 527, + "line": 520, "column": 31 } } @@ -38176,62 +37746,62 @@ "value": true, "raw": "true", "range": [ - 17419, - 17423 + 17223, + 17227 ], "loc": { "start": { - "line": 527, + "line": 520, "column": 34 }, "end": { - "line": 527, + "line": 520, "column": 38 } } }, "range": [ - 17405, - 17423 + 17209, + 17227 ], "loc": { "start": { - "line": 527, + "line": 520, "column": 20 }, "end": { - "line": 527, + "line": 520, "column": 38 } } }, "range": [ - 17405, - 17424 + 17209, + 17228 ], "loc": { "start": { - "line": 527, + "line": 520, "column": 20 }, "end": { - "line": 527, + "line": 520, "column": 39 } } } ], "range": [ - 17383, - 17442 + 17187, + 17246 ], "loc": { "start": { - "line": 526, + "line": 519, "column": 77 }, "end": { - "line": 528, + "line": 521, "column": 17 } } @@ -38253,16 +37823,16 @@ "type": "Identifier", "name": "values", "range": [ - 17468, - 17474 + 17272, + 17278 ], "loc": { "start": { - "line": 529, + "line": 522, "column": 25 }, "end": { - "line": 529, + "line": 522, "column": 31 } } @@ -38271,31 +37841,31 @@ "type": "Identifier", "name": "indexOf", "range": [ - 17475, - 17482 + 17279, + 17286 ], "loc": { "start": { - "line": 529, + "line": 522, "column": 32 }, "end": { - "line": 529, + "line": 522, "column": 39 } } }, "range": [ - 17468, - 17482 + 17272, + 17286 ], "loc": { "start": { - "line": 529, + "line": 522, "column": 25 }, "end": { - "line": 529, + "line": 522, "column": 39 } } @@ -38308,16 +37878,16 @@ "type": "Identifier", "name": "tf", "range": [ - 17483, - 17485 + 17287, + 17289 ], "loc": { "start": { - "line": 529, + "line": 522, "column": 40 }, "end": { - "line": 529, + "line": 522, "column": 42 } } @@ -38326,47 +37896,47 @@ "type": "Identifier", "name": "emOperator", "range": [ - 17486, - 17496 + 17290, + 17300 ], "loc": { "start": { - "line": 529, + "line": 522, "column": 43 }, "end": { - "line": 529, + "line": 522, "column": 53 } } }, "range": [ - 17483, - 17496 + 17287, + 17300 ], "loc": { "start": { - "line": 529, + "line": 522, "column": 40 }, "end": { - "line": 529, + "line": 522, "column": 53 } } } ], "range": [ - 17468, - 17497 + 17272, + 17301 ], "loc": { "start": { - "line": 529, + "line": 522, "column": 25 }, "end": { - "line": 529, + "line": 522, "column": 54 } } @@ -38379,47 +37949,47 @@ "value": 1, "raw": "1", "range": [ - 17503, - 17504 + 17307, + 17308 ], "loc": { "start": { - "line": 529, + "line": 522, "column": 60 }, "end": { - "line": 529, + "line": 522, "column": 61 } } }, "prefix": true, "range": [ - 17502, - 17504 + 17306, + 17308 ], "loc": { "start": { - "line": 529, + "line": 522, "column": 59 }, "end": { - "line": 529, + "line": 522, "column": 61 } } }, "range": [ - 17468, - 17504 + 17272, + 17308 ], "loc": { "start": { - "line": 529, + "line": 522, "column": 25 }, "end": { - "line": 529, + "line": 522, "column": 61 } } @@ -38431,16 +38001,16 @@ "type": "Identifier", "name": "lblTxt", "range": [ - 17528, - 17534 + 17332, + 17338 ], "loc": { "start": { - "line": 530, + "line": 523, "column": 20 }, "end": { - "line": 530, + "line": 523, "column": 26 } } @@ -38451,16 +38021,16 @@ "type": "Identifier", "name": "matchCase", "range": [ - 17539, - 17548 + 17343, + 17352 ], "loc": { "start": { - "line": 530, + "line": 523, "column": 31 }, "end": { - "line": 530, + "line": 523, "column": 40 } } @@ -38473,16 +38043,16 @@ "type": "Identifier", "name": "tf", "range": [ - 17549, - 17551 + 17353, + 17355 ], "loc": { "start": { - "line": 530, + "line": 523, "column": 41 }, "end": { - "line": 530, + "line": 523, "column": 43 } } @@ -38491,31 +38061,31 @@ "type": "Identifier", "name": "emptyText", "range": [ - 17552, - 17561 + 17356, + 17365 ], "loc": { "start": { - "line": 530, + "line": 523, "column": 44 }, "end": { - "line": 530, + "line": 523, "column": 53 } } }, "range": [ - 17549, - 17561 + 17353, + 17365 ], "loc": { "start": { - "line": 530, + "line": 523, "column": 41 }, "end": { - "line": 530, + "line": 523, "column": 53 } } @@ -38527,16 +38097,16 @@ "type": "Identifier", "name": "tf", "range": [ - 17563, - 17565 + 17367, + 17369 ], "loc": { "start": { - "line": 530, + "line": 523, "column": 55 }, "end": { - "line": 530, + "line": 523, "column": 57 } } @@ -38545,77 +38115,77 @@ "type": "Identifier", "name": "caseSensitive", "range": [ - 17566, - 17579 + 17370, + 17383 ], "loc": { "start": { - "line": 530, + "line": 523, "column": 58 }, "end": { - "line": 530, + "line": 523, "column": 71 } } }, "range": [ - 17563, - 17579 + 17367, + 17383 ], "loc": { "start": { - "line": 530, + "line": 523, "column": 55 }, "end": { - "line": 530, + "line": 523, "column": 71 } } } ], "range": [ - 17539, - 17580 + 17343, + 17384 ], "loc": { "start": { - "line": 530, + "line": 523, "column": 31 }, "end": { - "line": 530, + "line": 523, "column": 72 } } }, "range": [ - 17528, - 17580 + 17332, + 17384 ], "loc": { "start": { - "line": 530, + "line": 523, "column": 20 }, "end": { - "line": 530, + "line": 523, "column": 72 } } }, "range": [ - 17468, - 17580 + 17272, + 17384 ], "loc": { "start": { - "line": 529, + "line": 522, "column": 25 }, "end": { - "line": 530, + "line": 523, "column": 72 } } @@ -38635,16 +38205,16 @@ "type": "Identifier", "name": "chk", "range": [ - 17604, - 17607 + 17408, + 17411 ], "loc": { "start": { - "line": 531, + "line": 524, "column": 20 }, "end": { - "line": 531, + "line": 524, "column": 23 } } @@ -38653,31 +38223,31 @@ "type": "Identifier", "name": "checked", "range": [ - 17608, - 17615 + 17412, + 17419 ], "loc": { "start": { - "line": 531, + "line": 524, "column": 24 }, "end": { - "line": 531, + "line": 524, "column": 31 } } }, "range": [ - 17604, - 17615 + 17408, + 17419 ], "loc": { "start": { - "line": 531, + "line": 524, "column": 20 }, "end": { - "line": 531, + "line": 524, "column": 31 } } @@ -38687,62 +38257,62 @@ "value": true, "raw": "true", "range": [ - 17618, - 17622 + 17422, + 17426 ], "loc": { "start": { - "line": 531, + "line": 524, "column": 34 }, "end": { - "line": 531, + "line": 524, "column": 38 } } }, "range": [ - 17604, - 17622 + 17408, + 17426 ], "loc": { "start": { - "line": 531, + "line": 524, "column": 20 }, "end": { - "line": 531, + "line": 524, "column": 38 } } }, "range": [ - 17604, - 17623 + 17408, + 17427 ], "loc": { "start": { - "line": 531, + "line": 524, "column": 20 }, "end": { - "line": 531, + "line": 524, "column": 39 } } } ], "range": [ - 17582, - 17641 + 17386, + 17445 ], "loc": { "start": { - "line": 530, + "line": 523, "column": 74 }, "end": { - "line": 532, + "line": 525, "column": 17 } } @@ -38762,16 +38332,16 @@ "type": "Identifier", "name": "chk", "range": [ - 17669, - 17672 + 17473, + 17476 ], "loc": { "start": { - "line": 533, + "line": 526, "column": 20 }, "end": { - "line": 533, + "line": 526, "column": 23 } } @@ -38780,31 +38350,31 @@ "type": "Identifier", "name": "checked", "range": [ - 17673, - 17680 + 17477, + 17484 ], "loc": { "start": { - "line": 533, + "line": 526, "column": 24 }, "end": { - "line": 533, + "line": 526, "column": 31 } } }, "range": [ - 17669, - 17680 + 17473, + 17484 ], "loc": { "start": { - "line": 533, + "line": 526, "column": 20 }, "end": { - "line": 533, + "line": 526, "column": 31 } } @@ -38814,92 +38384,92 @@ "value": false, "raw": "false", "range": [ - 17683, - 17688 + 17487, + 17492 ], "loc": { "start": { - "line": 533, + "line": 526, "column": 34 }, "end": { - "line": 533, + "line": 526, "column": 39 } } }, "range": [ - 17669, - 17688 + 17473, + 17492 ], "loc": { "start": { - "line": 533, + "line": 526, "column": 20 }, "end": { - "line": 533, + "line": 526, "column": 39 } } }, "range": [ - 17669, - 17689 + 17473, + 17493 ], "loc": { "start": { - "line": 533, + "line": 526, "column": 20 }, "end": { - "line": 533, + "line": 526, "column": 40 } } } ], "range": [ - 17647, - 17707 + 17451, + 17511 ], "loc": { "start": { - "line": 532, + "line": 525, "column": 23 }, "end": { - "line": 534, + "line": 527, "column": 17 } } }, "range": [ - 17464, - 17707 + 17268, + 17511 ], "loc": { "start": { - "line": 529, + "line": 522, "column": 21 }, "end": { - "line": 534, + "line": 527, "column": 17 } } }, "range": [ - 17262, - 17707 + 17066, + 17511 ], "loc": { "start": { - "line": 525, + "line": 518, "column": 16 }, "end": { - "line": 534, + "line": 527, "column": 17 } }, @@ -38908,16 +38478,16 @@ "type": "Line", "value": " Check non-empty-text or empty-text option", "range": [ - 17201, - 17245 + 17005, + 17049 ], "loc": { "start": { - "line": 524, + "line": 517, "column": 16 }, "end": { - "line": 524, + "line": 517, "column": 60 } } @@ -38926,31 +38496,31 @@ } ], "range": [ - 17183, - 17721 + 16987, + 17525 ], "loc": { "start": { - "line": 523, + "line": 516, "column": 19 }, "end": { - "line": 535, + "line": 528, "column": 13 } } }, "range": [ - 17066, - 17721 + 16870, + 17525 ], "loc": { "start": { - "line": 521, + "line": 514, "column": 12 }, "end": { - "line": 535, + "line": 528, "column": 13 } } @@ -38965,16 +38535,16 @@ "object": { "type": "ThisExpression", "range": [ - 17734, - 17738 + 17538, + 17542 ], "loc": { "start": { - "line": 536, + "line": 529, "column": 12 }, "end": { - "line": 536, + "line": 529, "column": 16 } } @@ -38983,31 +38553,31 @@ "type": "Identifier", "name": "setCheckListValues", "range": [ - 17739, - 17757 + 17543, + 17561 ], "loc": { "start": { - "line": 536, + "line": 529, "column": 17 }, "end": { - "line": 536, + "line": 529, "column": 35 } } }, "range": [ - 17734, - 17757 + 17538, + 17561 ], "loc": { "start": { - "line": 536, + "line": 529, "column": 12 }, "end": { - "line": 536, + "line": 529, "column": 35 } } @@ -39017,94 +38587,94 @@ "type": "Identifier", "name": "chk", "range": [ - 17758, - 17761 + 17562, + 17565 ], "loc": { "start": { - "line": 536, + "line": 529, "column": 36 }, "end": { - "line": 536, + "line": 529, "column": 39 } } } ], "range": [ - 17734, - 17762 + 17538, + 17566 ], "loc": { "start": { - "line": 536, + "line": 529, "column": 12 }, "end": { - "line": 536, + "line": 529, "column": 40 } } }, "range": [ - 17734, - 17763 + 17538, + 17567 ], "loc": { "start": { - "line": 536, + "line": 529, "column": 12 }, "end": { - "line": 536, + "line": 529, "column": 41 } } } ], "range": [ - 16857, - 17773 + 16661, + 17577 ], "loc": { "start": { - "line": 515, + "line": 508, "column": 40 }, "end": { - "line": 537, + "line": 530, "column": 9 } } }, "range": [ - 16825, - 17773 + 16629, + 17577 ], "loc": { "start": { - "line": 515, + "line": 508, "column": 8 }, "end": { - "line": 537, + "line": 530, "column": 9 } } } ], "range": [ - 16520, - 17779 + 16324, + 17583 ], "loc": { "start": { - "line": 503, + "line": 496, "column": 41 }, "end": { - "line": 538, + "line": 531, "column": 5 } } @@ -39112,16 +38682,16 @@ "generator": false, "expression": false, "range": [ - 16496, - 17779 + 16300, + 17583 ], "loc": { "start": { - "line": 503, + "line": 496, "column": 17 }, "end": { - "line": 538, + "line": 531, "column": 5 } } @@ -39129,16 +38699,16 @@ "kind": "method", "computed": false, "range": [ - 16483, - 17779 + 16287, + 17583 ], "loc": { "start": { - "line": 503, + "line": 496, "column": 4 }, "end": { - "line": 538, + "line": 531, "column": 5 } }, @@ -39147,16 +38717,16 @@ "type": "Block", "value": "*\n * Select filter options programmatically\n * @param {Number} colIndex Column index\n * @param {Array} values Array of option values to select\n ", "range": [ - 16309, - 16478 + 16113, + 16282 ], "loc": { "start": { - "line": 498, + "line": 491, "column": 4 }, "end": { - "line": 502, + "line": 495, "column": 7 } } @@ -39167,16 +38737,16 @@ "type": "Block", "value": "*\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Collection of selected values\n ", "range": [ - 17785, - 17952 + 17589, + 17756 ], "loc": { "start": { - "line": 540, + "line": 533, "column": 4 }, "end": { - "line": 544, + "line": 537, "column": 7 } } @@ -39190,16 +38760,16 @@ "type": "Identifier", "name": "getValues", "range": [ - 17957, - 17966 + 17761, + 17770 ], "loc": { "start": { - "line": 545, + "line": 538, "column": 4 }, "end": { - "line": 545, + "line": 538, "column": 13 } } @@ -39212,16 +38782,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 17967, - 17975 + 17771, + 17779 ], "loc": { "start": { - "line": 545, + "line": 538, "column": 14 }, "end": { - "line": 545, + "line": 538, "column": 22 } } @@ -39239,16 +38809,16 @@ "type": "Identifier", "name": "tf", "range": [ - 17991, - 17993 + 17795, + 17797 ], "loc": { "start": { - "line": 546, + "line": 539, "column": 12 }, "end": { - "line": 546, + "line": 539, "column": 14 } } @@ -39259,16 +38829,16 @@ "object": { "type": "ThisExpression", "range": [ - 17996, - 18000 + 17800, + 17804 ], "loc": { "start": { - "line": 546, + "line": 539, "column": 17 }, "end": { - "line": 546, + "line": 539, "column": 21 } } @@ -39277,46 +38847,46 @@ "type": "Identifier", "name": "tf", "range": [ - 18001, - 18003 + 17805, + 17807 ], "loc": { "start": { - "line": 546, + "line": 539, "column": 22 }, "end": { - "line": 546, + "line": 539, "column": 24 } } }, "range": [ - 17996, - 18003 + 17800, + 17807 ], "loc": { "start": { - "line": 546, + "line": 539, "column": 17 }, "end": { - "line": 546, + "line": 539, "column": 24 } } }, "range": [ - 17991, - 18003 + 17795, + 17807 ], "loc": { "start": { - "line": 546, + "line": 539, "column": 12 }, "end": { - "line": 546, + "line": 539, "column": 24 } } @@ -39324,16 +38894,16 @@ ], "kind": "let", "range": [ - 17987, - 18004 + 17791, + 17808 ], "loc": { "start": { - "line": 546, + "line": 539, "column": 8 }, "end": { - "line": 546, + "line": 539, "column": 25 } } @@ -39347,16 +38917,16 @@ "type": "Identifier", "name": "flt", "range": [ - 18017, - 18020 + 17821, + 17824 ], "loc": { "start": { - "line": 547, + "line": 540, "column": 12 }, "end": { - "line": 547, + "line": 540, "column": 15 } } @@ -39370,16 +38940,16 @@ "type": "Identifier", "name": "tf", "range": [ - 18023, - 18025 + 17827, + 17829 ], "loc": { "start": { - "line": 547, + "line": 540, "column": 18 }, "end": { - "line": 547, + "line": 540, "column": 20 } } @@ -39388,31 +38958,31 @@ "type": "Identifier", "name": "getFilterElement", "range": [ - 18026, - 18042 + 17830, + 17846 ], "loc": { "start": { - "line": 547, + "line": 540, "column": 21 }, "end": { - "line": 547, + "line": 540, "column": 37 } } }, "range": [ - 18023, - 18042 + 17827, + 17846 ], "loc": { "start": { - "line": 547, + "line": 540, "column": 18 }, "end": { - "line": 547, + "line": 540, "column": 37 } } @@ -39422,47 +38992,47 @@ "type": "Identifier", "name": "colIndex", "range": [ - 18043, - 18051 + 17847, + 17855 ], "loc": { "start": { - "line": 547, + "line": 540, "column": 38 }, "end": { - "line": 547, + "line": 540, "column": 46 } } } ], "range": [ - 18023, - 18052 + 17827, + 17856 ], "loc": { "start": { - "line": 547, + "line": 540, "column": 18 }, "end": { - "line": 547, + "line": 540, "column": 47 } } }, "range": [ - 18017, - 18052 + 17821, + 17856 ], "loc": { "start": { - "line": 547, + "line": 540, "column": 12 }, "end": { - "line": 547, + "line": 540, "column": 47 } } @@ -39470,16 +39040,16 @@ ], "kind": "let", "range": [ - 18013, - 18053 + 17817, + 17857 ], "loc": { "start": { - "line": 547, + "line": 540, "column": 8 }, "end": { - "line": 547, + "line": 540, "column": 48 } } @@ -39493,16 +39063,16 @@ "type": "Identifier", "name": "fltAttr", "range": [ - 18066, - 18073 + 17870, + 17877 ], "loc": { "start": { - "line": 548, + "line": 541, "column": 12 }, "end": { - "line": 548, + "line": 541, "column": 19 } } @@ -39516,16 +39086,16 @@ "type": "Identifier", "name": "flt", "range": [ - 18076, - 18079 + 17880, + 17883 ], "loc": { "start": { - "line": 548, + "line": 541, "column": 22 }, "end": { - "line": 548, + "line": 541, "column": 25 } } @@ -39534,31 +39104,31 @@ "type": "Identifier", "name": "getAttribute", "range": [ - 18080, - 18092 + 17884, + 17896 ], "loc": { "start": { - "line": 548, + "line": 541, "column": 26 }, "end": { - "line": 548, + "line": 541, "column": 38 } } }, "range": [ - 18076, - 18092 + 17880, + 17896 ], "loc": { "start": { - "line": 548, + "line": 541, "column": 22 }, "end": { - "line": 548, + "line": 541, "column": 38 } } @@ -39569,47 +39139,47 @@ "value": "value", "raw": "'value'", "range": [ - 18093, - 18100 + 17897, + 17904 ], "loc": { "start": { - "line": 548, + "line": 541, "column": 39 }, "end": { - "line": 548, + "line": 541, "column": 46 } } } ], "range": [ - 18076, - 18101 + 17880, + 17905 ], "loc": { "start": { - "line": 548, + "line": 541, "column": 22 }, "end": { - "line": 548, + "line": 541, "column": 47 } } }, "range": [ - 18066, - 18101 + 17870, + 17905 ], "loc": { "start": { - "line": 548, + "line": 541, "column": 12 }, "end": { - "line": 548, + "line": 541, "column": 47 } } @@ -39617,16 +39187,16 @@ ], "kind": "let", "range": [ - 18062, - 18102 + 17866, + 17906 ], "loc": { "start": { - "line": 548, + "line": 541, "column": 8 }, "end": { - "line": 548, + "line": 541, "column": 48 } } @@ -39640,16 +39210,16 @@ "type": "Identifier", "name": "values", "range": [ - 18115, - 18121 + 17919, + 17925 ], "loc": { "start": { - "line": 549, + "line": 542, "column": 12 }, "end": { - "line": 549, + "line": 542, "column": 18 } } @@ -39662,16 +39232,16 @@ "type": "Identifier", "name": "isEmpty", "range": [ - 18124, - 18131 + 17928, + 17935 ], "loc": { "start": { - "line": 549, + "line": 542, "column": 21 }, "end": { - "line": 549, + "line": 542, "column": 28 } } @@ -39681,32 +39251,32 @@ "type": "Identifier", "name": "fltAttr", "range": [ - 18132, - 18139 + 17936, + 17943 ], "loc": { "start": { - "line": 549, + "line": 542, "column": 29 }, "end": { - "line": 549, + "line": 542, "column": 36 } } } ], "range": [ - 18124, - 18140 + 17928, + 17944 ], "loc": { "start": { - "line": 549, + "line": 542, "column": 21 }, "end": { - "line": 549, + "line": 542, "column": 37 } } @@ -39716,16 +39286,16 @@ "value": "", "raw": "''", "range": [ - 18143, - 18145 + 17947, + 17949 ], "loc": { "start": { - "line": 549, + "line": 542, "column": 40 }, "end": { - "line": 549, + "line": 542, "column": 42 } } @@ -39734,46 +39304,46 @@ "type": "Identifier", "name": "fltAttr", "range": [ - 18148, - 18155 + 17952, + 17959 ], "loc": { "start": { - "line": 549, + "line": 542, "column": 45 }, "end": { - "line": 549, + "line": 542, "column": 52 } } }, "range": [ - 18124, - 18155 + 17928, + 17959 ], "loc": { "start": { - "line": 549, + "line": 542, "column": 21 }, "end": { - "line": 549, + "line": 542, "column": 52 } } }, "range": [ - 18115, - 18155 + 17919, + 17959 ], "loc": { "start": { - "line": 549, + "line": 542, "column": 12 }, "end": { - "line": 549, + "line": 542, "column": 52 } } @@ -39781,16 +39351,16 @@ ], "kind": "let", "range": [ - 18111, - 18156 + 17915, + 17960 ], "loc": { "start": { - "line": 549, + "line": 542, "column": 8 }, "end": { - "line": 549, + "line": 542, "column": 53 } }, @@ -39799,16 +39369,16 @@ "type": "Line", "value": "removes last operator ||", "range": [ - 18166, - 18192 + 17970, + 17996 ], "loc": { "start": { - "line": 551, + "line": 544, "column": 8 }, "end": { - "line": 551, + "line": 544, "column": 34 } } @@ -39824,16 +39394,16 @@ "type": "Identifier", "name": "values", "range": [ - 18201, - 18207 + 18005, + 18011 ], "loc": { "start": { - "line": 552, + "line": 545, "column": 8 }, "end": { - "line": 552, + "line": 545, "column": 14 } } @@ -39847,16 +39417,16 @@ "type": "Identifier", "name": "values", "range": [ - 18210, - 18216 + 18014, + 18020 ], "loc": { "start": { - "line": 552, + "line": 545, "column": 17 }, "end": { - "line": 552, + "line": 545, "column": 23 } } @@ -39865,31 +39435,31 @@ "type": "Identifier", "name": "substr", "range": [ - 18217, - 18223 + 18021, + 18027 ], "loc": { "start": { - "line": 552, + "line": 545, "column": 24 }, "end": { - "line": 552, + "line": 545, "column": 30 } } }, "range": [ - 18210, - 18223 + 18014, + 18027 ], "loc": { "start": { - "line": 552, + "line": 545, "column": 17 }, "end": { - "line": 552, + "line": 545, "column": 30 } } @@ -39900,16 +39470,16 @@ "value": 0, "raw": "0", "range": [ - 18224, - 18225 + 18028, + 18029 ], "loc": { "start": { - "line": 552, + "line": 545, "column": 31 }, "end": { - "line": 552, + "line": 545, "column": 32 } } @@ -39924,16 +39494,16 @@ "type": "Identifier", "name": "values", "range": [ - 18227, - 18233 + 18031, + 18037 ], "loc": { "start": { - "line": 552, + "line": 545, "column": 34 }, "end": { - "line": 552, + "line": 545, "column": 40 } } @@ -39942,31 +39512,31 @@ "type": "Identifier", "name": "length", "range": [ - 18234, - 18240 + 18038, + 18044 ], "loc": { "start": { - "line": 552, + "line": 545, "column": 41 }, "end": { - "line": 552, + "line": 545, "column": 47 } } }, "range": [ - 18227, - 18240 + 18031, + 18044 ], "loc": { "start": { - "line": 552, + "line": 545, "column": 34 }, "end": { - "line": 552, + "line": 545, "column": 47 } } @@ -39976,77 +39546,77 @@ "value": 3, "raw": "3", "range": [ - 18243, - 18244 + 18047, + 18048 ], "loc": { "start": { - "line": 552, + "line": 545, "column": 50 }, "end": { - "line": 552, + "line": 545, "column": 51 } } }, "range": [ - 18227, - 18244 + 18031, + 18048 ], "loc": { "start": { - "line": 552, + "line": 545, "column": 34 }, "end": { - "line": 552, + "line": 545, "column": 51 } } } ], "range": [ - 18210, - 18245 + 18014, + 18049 ], "loc": { "start": { - "line": 552, + "line": 545, "column": 17 }, "end": { - "line": 552, + "line": 545, "column": 52 } } }, "range": [ - 18201, - 18245 + 18005, + 18049 ], "loc": { "start": { - "line": 552, + "line": 545, "column": 8 }, "end": { - "line": 552, + "line": 545, "column": 52 } } }, "range": [ - 18201, - 18246 + 18005, + 18050 ], "loc": { "start": { - "line": 552, + "line": 545, "column": 8 }, "end": { - "line": 552, + "line": 545, "column": 53 } }, @@ -40055,16 +39625,16 @@ "type": "Line", "value": "removes last operator ||", "range": [ - 18166, - 18192 + 17970, + 17996 ], "loc": { "start": { - "line": 551, + "line": 544, "column": 8 }, "end": { - "line": 551, + "line": 544, "column": 34 } } @@ -40075,16 +39645,16 @@ "type": "Line", "value": "turn || separated values into array", "range": [ - 18255, - 18292 + 18059, + 18096 ], "loc": { "start": { - "line": 553, + "line": 546, "column": 8 }, "end": { - "line": 553, + "line": 546, "column": 45 } } @@ -40100,16 +39670,16 @@ "type": "Identifier", "name": "values", "range": [ - 18301, - 18307 + 18105, + 18111 ], "loc": { "start": { - "line": 554, + "line": 547, "column": 8 }, "end": { - "line": 554, + "line": 547, "column": 14 } } @@ -40123,16 +39693,16 @@ "type": "Identifier", "name": "values", "range": [ - 18310, - 18316 + 18114, + 18120 ], "loc": { "start": { - "line": 554, + "line": 547, "column": 17 }, "end": { - "line": 554, + "line": 547, "column": 23 } } @@ -40141,31 +39711,31 @@ "type": "Identifier", "name": "split", "range": [ - 18317, - 18322 + 18121, + 18126 ], "loc": { "start": { - "line": 554, + "line": 547, "column": 24 }, "end": { - "line": 554, + "line": 547, "column": 29 } } }, "range": [ - 18310, - 18322 + 18114, + 18126 ], "loc": { "start": { - "line": 554, + "line": 547, "column": 17 }, "end": { - "line": 554, + "line": 547, "column": 29 } } @@ -40182,16 +39752,16 @@ "value": " ", "raw": "' '", "range": [ - 18323, - 18326 + 18127, + 18130 ], "loc": { "start": { - "line": 554, + "line": 547, "column": 30 }, "end": { - "line": 554, + "line": 547, "column": 33 } } @@ -40203,16 +39773,16 @@ "type": "Identifier", "name": "tf", "range": [ - 18329, - 18331 + 18133, + 18135 ], "loc": { "start": { - "line": 554, + "line": 547, "column": 36 }, "end": { - "line": 554, + "line": 547, "column": 38 } } @@ -40221,46 +39791,46 @@ "type": "Identifier", "name": "orOperator", "range": [ - 18332, - 18342 + 18136, + 18146 ], "loc": { "start": { - "line": 554, + "line": 547, "column": 39 }, "end": { - "line": 554, + "line": 547, "column": 49 } } }, "range": [ - 18329, - 18342 + 18133, + 18146 ], "loc": { "start": { - "line": 554, + "line": 547, "column": 36 }, "end": { - "line": 554, + "line": 547, "column": 49 } } }, "range": [ - 18323, - 18342 + 18127, + 18146 ], "loc": { "start": { - "line": 554, + "line": 547, "column": 30 }, "end": { - "line": 554, + "line": 547, "column": 49 } } @@ -40270,77 +39840,77 @@ "value": " ", "raw": "' '", "range": [ - 18345, - 18348 + 18149, + 18152 ], "loc": { "start": { - "line": 554, + "line": 547, "column": 52 }, "end": { - "line": 554, + "line": 547, "column": 55 } } }, "range": [ - 18323, - 18348 + 18127, + 18152 ], "loc": { "start": { - "line": 554, + "line": 547, "column": 30 }, "end": { - "line": 554, + "line": 547, "column": 55 } } } ], "range": [ - 18310, - 18349 + 18114, + 18153 ], "loc": { "start": { - "line": 554, + "line": 547, "column": 17 }, "end": { - "line": 554, + "line": 547, "column": 56 } } }, "range": [ - 18301, - 18349 + 18105, + 18153 ], "loc": { "start": { - "line": 554, + "line": 547, "column": 8 }, "end": { - "line": 554, + "line": 547, "column": 56 } } }, "range": [ - 18301, - 18350 + 18105, + 18154 ], "loc": { "start": { - "line": 554, + "line": 547, "column": 8 }, "end": { - "line": 554, + "line": 547, "column": 57 } }, @@ -40349,16 +39919,16 @@ "type": "Line", "value": "turn || separated values into array", "range": [ - 18255, - 18292 + 18059, + 18096 ], "loc": { "start": { - "line": 553, + "line": 546, "column": 8 }, "end": { - "line": 553, + "line": 546, "column": 45 } } @@ -40371,47 +39941,47 @@ "type": "Identifier", "name": "values", "range": [ - 18367, - 18373 + 18171, + 18177 ], "loc": { "start": { - "line": 556, + "line": 549, "column": 15 }, "end": { - "line": 556, + "line": 549, "column": 21 } } }, "range": [ - 18360, - 18374 + 18164, + 18178 ], "loc": { "start": { - "line": 556, + "line": 549, "column": 8 }, "end": { - "line": 556, + "line": 549, "column": 22 } } } ], "range": [ - 17977, - 18380 + 17781, + 18184 ], "loc": { "start": { - "line": 545, + "line": 538, "column": 24 }, "end": { - "line": 557, + "line": 550, "column": 5 } } @@ -40419,16 +39989,16 @@ "generator": false, "expression": false, "range": [ - 17966, - 18380 + 17770, + 18184 ], "loc": { "start": { - "line": 545, + "line": 538, "column": 13 }, "end": { - "line": 557, + "line": 550, "column": 5 } } @@ -40436,16 +40006,16 @@ "kind": "method", "computed": false, "range": [ - 17957, - 18380 + 17761, + 18184 ], "loc": { "start": { - "line": 545, + "line": 538, "column": 4 }, "end": { - "line": 557, + "line": 550, "column": 5 } }, @@ -40454,16 +40024,16 @@ "type": "Block", "value": "*\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Collection of selected values\n ", "range": [ - 17785, - 17952 + 17589, + 17756 ], "loc": { "start": { - "line": 540, + "line": 533, "column": 4 }, "end": { - "line": 544, + "line": 537, "column": 7 } } @@ -40474,16 +40044,16 @@ "type": "Block", "value": "*\n * Destroy CheckList instance\n ", "range": [ - 18386, - 18431 + 18190, + 18235 ], "loc": { "start": { - "line": 559, + "line": 552, "column": 4 }, "end": { - "line": 561, + "line": 554, "column": 7 } } @@ -40497,16 +40067,16 @@ "type": "Identifier", "name": "destroy", "range": [ - 18436, - 18443 + 18240, + 18247 ], "loc": { "start": { - "line": 562, + "line": 555, "column": 4 }, "end": { - "line": 562, + "line": 555, "column": 11 } } @@ -40531,16 +40101,16 @@ "object": { "type": "ThisExpression", "range": [ - 18456, - 18460 + 18260, + 18264 ], "loc": { "start": { - "line": 563, + "line": 556, "column": 8 }, "end": { - "line": 563, + "line": 556, "column": 12 } } @@ -40549,31 +40119,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 18461, - 18468 + 18265, + 18272 ], "loc": { "start": { - "line": 563, + "line": 556, "column": 13 }, "end": { - "line": 563, + "line": 556, "column": 20 } } }, "range": [ - 18456, - 18468 + 18260, + 18272 ], "loc": { "start": { - "line": 563, + "line": 556, "column": 8 }, "end": { - "line": 563, + "line": 556, "column": 20 } } @@ -40582,31 +40152,31 @@ "type": "Identifier", "name": "off", "range": [ - 18469, - 18472 + 18273, + 18276 ], "loc": { "start": { - "line": 563, + "line": 556, "column": 21 }, "end": { - "line": 563, + "line": 556, "column": 24 } } }, "range": [ - 18456, - 18472 + 18260, + 18276 ], "loc": { "start": { - "line": 563, + "line": 556, "column": 8 }, "end": { - "line": 563, + "line": 556, "column": 24 } } @@ -40620,32 +40190,32 @@ "value": "build-checklist-filter", "raw": "'build-checklist-filter'", "range": [ - 18487, - 18511 + 18291, + 18315 ], "loc": { "start": { - "line": 564, + "line": 557, "column": 13 }, "end": { - "line": 564, + "line": 557, "column": 37 } } } ], "range": [ - 18486, - 18512 + 18290, + 18316 ], "loc": { "start": { - "line": 564, + "line": 557, "column": 12 }, "end": { - "line": 564, + "line": 557, "column": 38 } } @@ -40658,16 +40228,16 @@ "type": "Identifier", "name": "tf", "range": [ - 18527, - 18529 + 18331, + 18333 ], "loc": { "start": { - "line": 565, + "line": 558, "column": 13 }, "end": { - "line": 565, + "line": 558, "column": 15 } } @@ -40676,16 +40246,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 18531, - 18539 + 18335, + 18343 ], "loc": { "start": { - "line": 565, + "line": 558, "column": 17 }, "end": { - "line": 565, + "line": 558, "column": 25 } } @@ -40694,16 +40264,16 @@ "type": "Identifier", "name": "isExternal", "range": [ - 18541, - 18551 + 18345, + 18355 ], "loc": { "start": { - "line": 565, + "line": 558, "column": 27 }, "end": { - "line": 565, + "line": 558, "column": 37 } } @@ -40717,16 +40287,16 @@ "object": { "type": "ThisExpression", "range": [ - 18556, - 18560 + 18360, + 18364 ], "loc": { "start": { - "line": 565, + "line": 558, "column": 42 }, "end": { - "line": 565, + "line": 558, "column": 46 } } @@ -40735,31 +40305,31 @@ "type": "Identifier", "name": "build", "range": [ - 18561, - 18566 + 18365, + 18370 ], "loc": { "start": { - "line": 565, + "line": 558, "column": 47 }, "end": { - "line": 565, + "line": 558, "column": 52 } } }, "range": [ - 18556, - 18566 + 18360, + 18370 ], "loc": { "start": { - "line": 565, + "line": 558, "column": 42 }, "end": { - "line": 565, + "line": 558, "column": 52 } } @@ -40769,16 +40339,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 18567, - 18575 + 18371, + 18379 ], "loc": { "start": { - "line": 565, + "line": 558, "column": 53 }, "end": { - "line": 565, + "line": 558, "column": 61 } } @@ -40787,32 +40357,32 @@ "type": "Identifier", "name": "isExternal", "range": [ - 18577, - 18587 + 18381, + 18391 ], "loc": { "start": { - "line": 565, + "line": 558, "column": 63 }, "end": { - "line": 565, + "line": 558, "column": 73 } } } ], "range": [ - 18556, - 18588 + 18360, + 18392 ], "loc": { "start": { - "line": 565, + "line": 558, "column": 42 }, "end": { - "line": 565, + "line": 558, "column": 74 } } @@ -40820,47 +40390,47 @@ "generator": false, "expression": true, "range": [ - 18526, - 18588 + 18330, + 18392 ], "loc": { "start": { - "line": 565, + "line": 558, "column": 12 }, "end": { - "line": 565, + "line": 558, "column": 74 } } } ], "range": [ - 18456, - 18598 + 18260, + 18402 ], "loc": { "start": { - "line": 563, + "line": 556, "column": 8 }, "end": { - "line": 566, + "line": 559, "column": 9 } } }, "range": [ - 18456, - 18599 + 18260, + 18403 ], "loc": { "start": { - "line": 563, + "line": 556, "column": 8 }, "end": { - "line": 566, + "line": 559, "column": 10 } } @@ -40878,16 +40448,16 @@ "object": { "type": "ThisExpression", "range": [ - 18608, - 18612 + 18412, + 18416 ], "loc": { "start": { - "line": 567, + "line": 560, "column": 8 }, "end": { - "line": 567, + "line": 560, "column": 12 } } @@ -40896,31 +40466,31 @@ "type": "Identifier", "name": "emitter", "range": [ - 18613, - 18620 + 18417, + 18424 ], "loc": { "start": { - "line": 567, + "line": 560, "column": 13 }, "end": { - "line": 567, + "line": 560, "column": 20 } } }, "range": [ - 18608, - 18620 + 18412, + 18424 ], "loc": { "start": { - "line": 567, + "line": 560, "column": 8 }, "end": { - "line": 567, + "line": 560, "column": 20 } } @@ -40929,31 +40499,31 @@ "type": "Identifier", "name": "off", "range": [ - 18621, - 18624 + 18425, + 18428 ], "loc": { "start": { - "line": 567, + "line": 560, "column": 21 }, "end": { - "line": 567, + "line": 560, "column": 24 } } }, "range": [ - 18608, - 18624 + 18412, + 18428 ], "loc": { "start": { - "line": 567, + "line": 560, "column": 8 }, "end": { - "line": 567, + "line": 560, "column": 24 } } @@ -40967,32 +40537,32 @@ "value": "select-checklist-options", "raw": "'select-checklist-options'", "range": [ - 18639, - 18665 + 18443, + 18469 ], "loc": { "start": { - "line": 568, + "line": 561, "column": 13 }, "end": { - "line": 568, + "line": 561, "column": 39 } } } ], "range": [ - 18638, - 18666 + 18442, + 18470 ], "loc": { "start": { - "line": 568, + "line": 561, "column": 12 }, "end": { - "line": 568, + "line": 561, "column": 40 } } @@ -41005,16 +40575,16 @@ "type": "Identifier", "name": "tf", "range": [ - 18681, - 18683 + 18485, + 18487 ], "loc": { "start": { - "line": 569, + "line": 562, "column": 13 }, "end": { - "line": 569, + "line": 562, "column": 15 } } @@ -41023,16 +40593,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 18685, - 18693 + 18489, + 18497 ], "loc": { "start": { - "line": 569, + "line": 562, "column": 17 }, "end": { - "line": 569, + "line": 562, "column": 25 } } @@ -41041,16 +40611,16 @@ "type": "Identifier", "name": "values", "range": [ - 18695, - 18701 + 18499, + 18505 ], "loc": { "start": { - "line": 569, + "line": 562, "column": 27 }, "end": { - "line": 569, + "line": 562, "column": 33 } } @@ -41064,16 +40634,16 @@ "object": { "type": "ThisExpression", "range": [ - 18706, - 18710 + 18510, + 18514 ], "loc": { "start": { - "line": 569, + "line": 562, "column": 38 }, "end": { - "line": 569, + "line": 562, "column": 42 } } @@ -41082,31 +40652,31 @@ "type": "Identifier", "name": "selectOptions", "range": [ - 18711, - 18724 + 18515, + 18528 ], "loc": { "start": { - "line": 569, + "line": 562, "column": 43 }, "end": { - "line": 569, + "line": 562, "column": 56 } } }, "range": [ - 18706, - 18724 + 18510, + 18528 ], "loc": { "start": { - "line": 569, + "line": 562, "column": 38 }, "end": { - "line": 569, + "line": 562, "column": 56 } } @@ -41116,16 +40686,16 @@ "type": "Identifier", "name": "colIndex", "range": [ - 18725, - 18733 + 18529, + 18537 ], "loc": { "start": { - "line": 569, + "line": 562, "column": 57 }, "end": { - "line": 569, + "line": 562, "column": 65 } } @@ -41134,32 +40704,32 @@ "type": "Identifier", "name": "values", "range": [ - 18735, - 18741 + 18539, + 18545 ], "loc": { "start": { - "line": 569, + "line": 562, "column": 67 }, "end": { - "line": 569, + "line": 562, "column": 73 } } } ], "range": [ - 18706, - 18742 + 18510, + 18546 ], "loc": { "start": { - "line": 569, + "line": 562, "column": 38 }, "end": { - "line": 569, + "line": 562, "column": 74 } } @@ -41167,63 +40737,63 @@ "generator": false, "expression": true, "range": [ - 18680, - 18742 + 18484, + 18546 ], "loc": { "start": { - "line": 569, + "line": 562, "column": 12 }, "end": { - "line": 569, + "line": 562, "column": 74 } } } ], "range": [ - 18608, - 18752 + 18412, + 18556 ], "loc": { "start": { - "line": 567, + "line": 560, "column": 8 }, "end": { - "line": 570, + "line": 563, "column": 9 } } }, "range": [ - 18608, - 18753 + 18412, + 18557 ], "loc": { "start": { - "line": 567, + "line": 560, "column": 8 }, "end": { - "line": 570, + "line": 563, "column": 10 } } } ], "range": [ - 18446, - 18759 + 18250, + 18563 ], "loc": { "start": { - "line": 562, + "line": 555, "column": 14 }, "end": { - "line": 571, + "line": 564, "column": 5 } } @@ -41231,16 +40801,16 @@ "generator": false, "expression": false, "range": [ - 18443, - 18759 + 18247, + 18563 ], "loc": { "start": { - "line": 562, + "line": 555, "column": 11 }, "end": { - "line": 571, + "line": 564, "column": 5 } } @@ -41248,16 +40818,16 @@ "kind": "method", "computed": false, "range": [ - 18436, - 18759 + 18240, + 18563 ], "loc": { "start": { - "line": 562, + "line": 555, "column": 4 }, "end": { - "line": 571, + "line": 564, "column": 5 } }, @@ -41266,16 +40836,16 @@ "type": "Block", "value": "*\n * Destroy CheckList instance\n ", "range": [ - 18386, - 18431 + 18190, + 18235 ], "loc": { "start": { - "line": 559, + "line": 552, "column": 4 }, "end": { - "line": 561, + "line": 554, "column": 7 } } @@ -41286,7 +40856,7 @@ ], "range": [ 599, - 18761 + 18565 ], "loc": { "start": { @@ -41294,14 +40864,14 @@ "column": 39 }, "end": { - "line": 572, + "line": 565, "column": 1 } } }, "range": [ 567, - 18761 + 18565 ], "loc": { "start": { @@ -41309,7 +40879,7 @@ "column": 7 }, "end": { - "line": 572, + "line": 565, "column": 1 } }, @@ -41339,7 +40909,7 @@ "source": null, "range": [ 560, - 18761 + 18565 ], "loc": { "start": { @@ -41347,7 +40917,7 @@ "column": 0 }, "end": { - "line": 572, + "line": 565, "column": 1 } }, @@ -41376,7 +40946,7 @@ "sourceType": "module", "range": [ 0, - 18761 + 18565 ], "loc": { "start": { @@ -41384,7 +40954,7 @@ "column": 0 }, "end": { - "line": 572, + "line": 565, "column": 1 } }, @@ -41661,10 +41231,10 @@ }, { "type": "Block", - "value": "*\n * Checklist change event handler\n * @param {Event} evt\n ", + "value": "*\n * Checklist option click event handler\n * @param {Event} evt\n ", "range": [ 3138, - 3213 + 3219 ], "loc": { "start": { @@ -41677,38 +41247,20 @@ } } }, - { - "type": "Block", - "value": "*\n * Checklist option click event handler\n * @param {Event} evt\n ", - "range": [ - 3378, - 3459 - ], - "loc": { - "start": { - "line": 130, - "column": 4 - }, - "end": { - "line": 133, - "column": 7 - } - } - }, { "type": "Block", "value": "*\n * Checklist container click event handler for load-on-demand feature\n * @param {Event} evt\n ", "range": [ - 3539, - 3650 + 3426, + 3537 ], "loc": { "start": { - "line": 138, + "line": 132, "column": 4 }, "end": { - "line": 141, + "line": 135, "column": 7 } } @@ -41717,16 +41269,16 @@ "type": "Block", "value": "*\n * Initialize checklist filter\n * @param {Number} colIndex Column index\n * @param {Boolean} isExternal External filter flag\n * @param {DOMElement} container Dom element containing the filter\n ", "range": [ - 4001, - 4232 + 3888, + 4119 ], "loc": { "start": { - "line": 152, + "line": 146, "column": 4 }, "end": { - "line": 157, + "line": 151, "column": 7 } } @@ -41735,16 +41287,16 @@ "type": "Line", "value": "filter is appended in desired element", "range": [ - 4603, - 4642 + 4490, + 4529 ], "loc": { "start": { - "line": 168, + "line": 162, "column": 8 }, "end": { - "line": 168, + "line": 162, "column": 47 } } @@ -41753,16 +41305,16 @@ "type": "Block", "value": "*\n * Build checklist UI\n * @param {Number} colIndex Column index\n ", "range": [ - 5541, - 5627 + 5404, + 5490 ], "loc": { "start": { - "line": 199, + "line": 193, "column": 4 }, "end": { - "line": 202, + "line": 196, "column": 7 } } @@ -41771,16 +41323,16 @@ "type": "Line", "value": " always visible rows don't need to appear on selects as always", "range": [ - 6706, - 6770 + 6510, + 6574 ], "loc": { "start": { - "line": 237, + "line": 230, "column": 12 }, "end": { - "line": 237, + "line": 230, "column": 76 } } @@ -41789,16 +41341,16 @@ "type": "Line", "value": " valid", "range": [ - 6783, - 6791 + 6587, + 6595 ], "loc": { "start": { - "line": 238, + "line": 231, "column": 12 }, "end": { - "line": 238, + "line": 231, "column": 20 } } @@ -41807,16 +41359,16 @@ "type": "Line", "value": " checks if row has exact cell #", "range": [ - 6997, - 7030 + 6801, + 6834 ], "loc": { "start": { - "line": 246, + "line": 239, "column": 12 }, "end": { - "line": 246, + "line": 239, "column": 45 } } @@ -41825,16 +41377,16 @@ "type": "Line", "value": " this loop retrieves cell data", "range": [ - 7142, - 7174 + 6946, + 6978 ], "loc": { "start": { - "line": 251, + "line": 244, "column": 12 }, "end": { - "line": 251, + "line": 244, "column": 44 } } @@ -41843,16 +41395,16 @@ "type": "Line", "value": " WTF: cyclomatic complexity hell :)", "range": [ - 7238, - 7275 + 7042, + 7079 ], "loc": { "start": { - "line": 253, + "line": 246, "column": 16 }, "end": { - "line": 253, + "line": 246, "column": 53 } } @@ -41861,16 +41413,16 @@ "type": "Line", "value": "Vary Peter's patch", "range": [ - 7880, - 7900 + 7684, + 7704 ], "loc": { "start": { - "line": 264, + "line": 257, "column": 20 }, "end": { - "line": 264, + "line": 257, "column": 40 } } @@ -41879,16 +41431,16 @@ "type": "Line", "value": " checks if celldata is already in array", "range": [ - 7994, - 8035 + 7798, + 7839 ], "loc": { "start": { - "line": 266, + "line": 259, "column": 20 }, "end": { - "line": 266, + "line": 259, "column": 61 } } @@ -41897,16 +41449,16 @@ "type": "Line", "value": "Retrieves custom values", "range": [ - 8798, - 8823 + 8602, + 8627 ], "loc": { "start": { - "line": 285, + "line": 278, "column": 8 }, "end": { - "line": 285, + "line": 278, "column": 33 } } @@ -41915,16 +41467,16 @@ "type": "Line", "value": "asc sort", "range": [ - 9440, - 9450 + 9244, + 9254 ], "loc": { "start": { - "line": 305, + "line": 298, "column": 8 }, "end": { - "line": 305, + "line": 298, "column": 18 } } @@ -41933,16 +41485,16 @@ "type": "Line", "value": "in case there are alphanumeric values", "range": [ - 9946, - 9985 + 9750, + 9789 ], "loc": { "start": { - "line": 318, + "line": 311, "column": 13 }, "end": { - "line": 318, + "line": 311, "column": 52 } } @@ -41951,16 +41503,16 @@ "type": "Line", "value": "desc sort", "range": [ - 10004, - 10015 + 9808, + 9819 ], "loc": { "start": { - "line": 320, + "line": 313, "column": 8 }, "end": { - "line": 320, + "line": 313, "column": 19 } } @@ -41969,16 +41521,16 @@ "type": "Line", "value": "in case there are alphanumeric values", "range": [ - 10516, - 10555 + 10320, + 10359 ], "loc": { "start": { - "line": 333, + "line": 326, "column": 13 }, "end": { - "line": 333, + "line": 326, "column": 52 } } @@ -41987,16 +41539,16 @@ "type": "Block", "value": "*\n * Add checklist options\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n ", "range": [ - 10837, - 10967 + 10641, + 10771 ], "loc": { "start": { - "line": 347, + "line": 340, "column": 4 }, "end": { - "line": 351, + "line": 344, "column": 7 } } @@ -42005,16 +41557,16 @@ "type": "Line", "value": "item value", "range": [ - 11165, - 11177 + 10969, + 10981 ], "loc": { "start": { - "line": 357, + "line": 350, "column": 36 }, "end": { - "line": 357, + "line": 350, "column": 48 } } @@ -42023,16 +41575,16 @@ "type": "Line", "value": "item text", "range": [ - 11239, - 11250 + 11043, + 11054 ], "loc": { "start": { - "line": 358, + "line": 351, "column": 61 }, "end": { - "line": 358, + "line": 351, "column": 72 } } @@ -42041,16 +41593,16 @@ "type": "Line", "value": "item is hidden", "range": [ - 11904, - 11920 + 11708, + 11724 ], "loc": { "start": { - "line": 375, + "line": 368, "column": 16 }, "end": { - "line": 375, + "line": 368, "column": 32 } } @@ -42059,16 +41611,16 @@ "type": "Block", "value": "*\n * Add checklist header option\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n ", "range": [ - 11997, - 12131 + 11801, + 11935 ], "loc": { "start": { - "line": 381, + "line": 374, "column": 4 }, "end": { - "line": 385, + "line": 378, "column": 7 } } @@ -42077,16 +41629,16 @@ "type": "Block", "value": "*\n * Store checked options in DOM element attribute\n * @param {Object} o checklist option DOM element\n ", "range": [ - 13236, - 13355 + 13040, + 13159 ], "loc": { "start": { - "line": 420, + "line": 413, "column": 4 }, "end": { - "line": 423, + "line": 416, "column": 7 } } @@ -42095,16 +41647,16 @@ "type": "Line", "value": "checked item value", "range": [ - 13491, - 13511 + 13295, + 13315 ], "loc": { "start": { - "line": 430, + "line": 423, "column": 32 }, "end": { - "line": 430, + "line": 423, "column": 52 } } @@ -42113,16 +41665,16 @@ "type": "Line", "value": " TODO: provide helper to extract column index, ugly!", "range": [ - 13520, - 13574 + 13324, + 13378 ], "loc": { "start": { - "line": 431, + "line": 424, "column": 8 }, "end": { - "line": 431, + "line": 424, "column": 62 } } @@ -42131,16 +41683,16 @@ "type": "Line", "value": "filter value (ul tag)", "range": [ - 13918, - 13941 + 13722, + 13745 ], "loc": { "start": { - "line": 439, + "line": 432, "column": 48 }, "end": { - "line": 439, + "line": 432, "column": 71 } } @@ -42149,16 +41701,16 @@ "type": "Line", "value": "selected items (ul tag)", "range": [ - 13994, - 14019 + 13798, + 13823 ], "loc": { "start": { - "line": 440, + "line": 433, "column": 52 }, "end": { - "line": 440, + "line": 433, "column": 77 } } @@ -42167,16 +41719,16 @@ "type": "Line", "value": "show all item", "range": [ - 14058, - 14073 + 13862, + 13877 ], "loc": { "start": { - "line": 443, + "line": 436, "column": 12 }, "end": { - "line": 443, + "line": 436, "column": 27 } } @@ -42185,16 +41737,16 @@ "type": "Line", "value": "items indexes", "range": [ - 14186, - 14201 + 13990, + 14005 ], "loc": { "start": { - "line": 446, + "line": 439, "column": 20 }, "end": { - "line": 446, + "line": 439, "column": 35 } } @@ -42203,16 +41755,16 @@ "type": "Line", "value": "checked items loop", "range": [ - 14289, - 14309 + 14093, + 14113 ], "loc": { "start": { - "line": 448, + "line": 441, "column": 20 }, "end": { - "line": 448, + "line": 441, "column": 40 } } @@ -42221,16 +41773,16 @@ "type": "Line", "value": "checked item", "range": [ - 14398, - 14412 + 14202, + 14216 ], "loc": { "start": { - "line": 450, + "line": 443, "column": 24 }, "end": { - "line": 450, + "line": 443, "column": 38 } } @@ -42239,16 +41791,16 @@ "type": "Line", "value": "1st option unchecked", "range": [ - 15257, - 15279 + 15061, + 15083 ], "loc": { "start": { - "line": 470, + "line": 463, "column": 16 }, "end": { - "line": 470, + "line": 463, "column": 38 } } @@ -42257,16 +41809,16 @@ "type": "Line", "value": "removes values and indexes", "range": [ - 15641, - 15669 + 15445, + 15473 ], "loc": { "start": { - "line": 480, + "line": 473, "column": 17 }, "end": { - "line": 480, + "line": 473, "column": 45 } } @@ -42275,16 +41827,16 @@ "type": "Block", "value": "*\n * Select filter options programmatically\n * @param {Number} colIndex Column index\n * @param {Array} values Array of option values to select\n ", "range": [ - 16309, - 16478 + 16113, + 16282 ], "loc": { "start": { - "line": 498, + "line": 491, "column": 4 }, "end": { - "line": 502, + "line": 495, "column": 7 } } @@ -42293,16 +41845,16 @@ "type": "Line", "value": " Check non-empty-text or empty-text option", "range": [ - 17201, - 17245 + 17005, + 17049 ], "loc": { "start": { - "line": 524, + "line": 517, "column": 16 }, "end": { - "line": 524, + "line": 517, "column": 60 } } @@ -42311,16 +41863,16 @@ "type": "Block", "value": "*\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Collection of selected values\n ", "range": [ - 17785, - 17952 + 17589, + 17756 ], "loc": { "start": { - "line": 540, + "line": 533, "column": 4 }, "end": { - "line": 544, + "line": 537, "column": 7 } } @@ -42329,16 +41881,16 @@ "type": "Line", "value": "removes last operator ||", "range": [ - 18166, - 18192 + 17970, + 17996 ], "loc": { "start": { - "line": 551, + "line": 544, "column": 8 }, "end": { - "line": 551, + "line": 544, "column": 34 } } @@ -42347,16 +41899,16 @@ "type": "Line", "value": "turn || separated values into array", "range": [ - 18255, - 18292 + 18059, + 18096 ], "loc": { "start": { - "line": 553, + "line": 546, "column": 8 }, "end": { - "line": 553, + "line": 546, "column": 45 } } @@ -42365,16 +41917,16 @@ "type": "Block", "value": "*\n * Destroy CheckList instance\n ", "range": [ - 18386, - 18431 + 18190, + 18235 ], "loc": { "start": { - "line": 559, + "line": 552, "column": 4 }, "end": { - "line": 561, + "line": 554, "column": 7 } } diff --git a/docs/ast/source/modules/clearButton.js.json b/docs/ast/source/modules/clearButton.js.json index 7784d255..dfce8913 100644 --- a/docs/ast/source/modules/clearButton.js.json +++ b/docs/ast/source/modules/clearButton.js.json @@ -431,7 +431,27 @@ "line": 3, "column": 32 } - } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Clear button UI component\n ", + "range": [ + 132, + 168 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] }, { "type": "ExportNamedDeclaration", @@ -441,16 +461,16 @@ "type": "Identifier", "name": "ClearButton", "range": [ - 145, - 156 + 182, + 193 ], "loc": { "start": { - "line": 5, + "line": 8, "column": 13 }, "end": { - "line": 5, + "line": 8, "column": 24 } } @@ -459,16 +479,16 @@ "type": "Identifier", "name": "Feature", "range": [ - 165, - 172 + 202, + 209 ], "loc": { "start": { - "line": 5, + "line": 8, "column": 33 }, "end": { - "line": 5, + "line": 8, "column": 40 } } @@ -482,16 +502,16 @@ "type": "Identifier", "name": "constructor", "range": [ - 273, - 284 + 327, + 338 ], "loc": { "start": { - "line": 11, + "line": 14, "column": 4 }, "end": { - "line": 11, + "line": 14, "column": 15 } } @@ -504,16 +524,16 @@ "type": "Identifier", "name": "tf", "range": [ - 285, - 287 + 339, + 341 ], "loc": { "start": { - "line": 11, + "line": 14, "column": 16 }, "end": { - "line": 11, + "line": 14, "column": 18 } } @@ -529,16 +549,16 @@ "callee": { "type": "Super", "range": [ - 299, - 304 + 353, + 358 ], "loc": { "start": { - "line": 12, + "line": 15, "column": 8 }, "end": { - "line": 12, + "line": 15, "column": 13 } } @@ -548,16 +568,16 @@ "type": "Identifier", "name": "tf", "range": [ - 305, - 307 + 359, + 361 ], "loc": { "start": { - "line": 12, + "line": 15, "column": 14 }, "end": { - "line": 12, + "line": 15, "column": 16 } } @@ -567,70 +587,50 @@ "value": "btnReset", "raw": "'btnReset'", "range": [ - 309, - 319 + 363, + 373 ], "loc": { "start": { - "line": 12, + "line": 15, "column": 18 }, "end": { - "line": 12, + "line": 15, "column": 28 } } } ], "range": [ - 299, - 320 + 353, + 374 ], "loc": { "start": { - "line": 12, + "line": 15, "column": 8 }, "end": { - "line": 12, + "line": 15, "column": 29 } } }, "range": [ - 299, - 321 + 353, + 375 ], "loc": { "start": { - "line": 12, + "line": 15, "column": 8 }, "end": { - "line": 12, + "line": 15, "column": 30 } - }, - "trailingComments": [ - { - "type": "Line", - "value": " Configuration object", - "range": [ - 331, - 354 - ], - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 31 - } - } - } - ] + } }, { "type": "VariableDeclaration", @@ -641,16 +641,16 @@ "type": "Identifier", "name": "f", "range": [ - 367, - 368 + 389, + 390 ], "loc": { "start": { - "line": 15, + "line": 17, "column": 12 }, "end": { - "line": 15, + "line": 17, "column": 13 } } @@ -661,16 +661,16 @@ "object": { "type": "ThisExpression", "range": [ - 371, - 375 + 393, + 397 ], "loc": { "start": { - "line": 15, + "line": 17, "column": 16 }, "end": { - "line": 15, + "line": 17, "column": 20 } } @@ -679,46 +679,46 @@ "type": "Identifier", "name": "config", "range": [ - 376, - 382 + 398, + 404 ], "loc": { "start": { - "line": 15, + "line": 17, "column": 21 }, "end": { - "line": 15, + "line": 17, "column": 27 } } }, "range": [ - 371, - 382 + 393, + 404 ], "loc": { "start": { - "line": 15, + "line": 17, "column": 16 }, "end": { - "line": 15, + "line": 17, "column": 27 } } }, "range": [ - 367, - 382 + 389, + 404 ], "loc": { "start": { - "line": 15, + "line": 17, "column": 12 }, "end": { - "line": 15, + "line": 17, "column": 27 } } @@ -726,55 +726,35 @@ ], "kind": "let", "range": [ - 363, - 383 + 385, + 405 ], "loc": { "start": { - "line": 15, + "line": 17, "column": 8 }, "end": { - "line": 15, + "line": 17, "column": 28 } }, - "leadingComments": [ - { - "type": "Line", - "value": " Configuration object", - "range": [ - 331, - 354 - ], - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 31 - } - } - } - ], "trailingComments": [ { - "type": "Line", - "value": "id of container element", + "type": "Block", + "value": "*\n * Container element ID\n * @type {String}\n ", "range": [ - 393, - 418 + 415, + 488 ], "loc": { "start": { - "line": 17, + "line": 19, "column": 8 }, "end": { - "line": 17, - "column": 33 + "line": 22, + "column": 11 } } } @@ -791,50 +771,50 @@ "object": { "type": "ThisExpression", "range": [ - 427, - 431 + 497, + 501 ], "loc": { "start": { - "line": 18, + "line": 23, "column": 8 }, "end": { - "line": 18, + "line": 23, "column": 12 } } }, "property": { "type": "Identifier", - "name": "btnResetTgtId", + "name": "targetId", "range": [ - 432, - 445 + 502, + 510 ], "loc": { "start": { - "line": 18, + "line": 23, "column": 13 }, "end": { - "line": 18, - "column": 26 + "line": 23, + "column": 21 } } }, "range": [ - 427, - 445 + 497, + 510 ], "loc": { "start": { - "line": 18, + "line": 23, "column": 8 }, "end": { - "line": 18, - "column": 26 + "line": 23, + "column": 21 } } }, @@ -848,17 +828,17 @@ "type": "Identifier", "name": "f", "range": [ - 448, - 449 + 513, + 514 ], "loc": { "start": { - "line": 18, - "column": 29 + "line": 23, + "column": 24 }, "end": { - "line": 18, - "column": 30 + "line": 23, + "column": 25 } } }, @@ -866,32 +846,32 @@ "type": "Identifier", "name": "btn_reset_target_id", "range": [ - 450, - 469 + 515, + 534 ], "loc": { "start": { - "line": 18, - "column": 31 + "line": 23, + "column": 26 }, "end": { - "line": 18, - "column": 50 + "line": 23, + "column": 45 } } }, "range": [ - 448, - 469 + 513, + 534 ], "loc": { "start": { - "line": 18, - "column": 29 + "line": 23, + "column": 24 }, "end": { - "line": 18, - "column": 50 + "line": 23, + "column": 45 } } }, @@ -900,100 +880,100 @@ "value": null, "raw": "null", "range": [ - 473, - 477 + 538, + 542 ], "loc": { "start": { - "line": 18, - "column": 54 + "line": 23, + "column": 49 }, "end": { - "line": 18, - "column": 58 + "line": 23, + "column": 53 } } }, "range": [ - 448, - 477 + 513, + 542 ], "loc": { "start": { - "line": 18, - "column": 29 + "line": 23, + "column": 24 }, "end": { - "line": 18, - "column": 58 + "line": 23, + "column": 53 } } }, "range": [ - 427, - 477 + 497, + 542 ], "loc": { "start": { - "line": 18, + "line": 23, "column": 8 }, "end": { - "line": 18, - "column": 58 + "line": 23, + "column": 53 } } }, "range": [ - 427, - 478 + 497, + 543 ], "loc": { "start": { - "line": 18, + "line": 23, "column": 8 }, "end": { - "line": 18, - "column": 59 + "line": 23, + "column": 54 } }, "leadingComments": [ { - "type": "Line", - "value": "id of container element", + "type": "Block", + "value": "*\n * Container element ID\n * @type {String}\n ", "range": [ - 393, - 418 + 415, + 488 ], "loc": { "start": { - "line": 17, + "line": 19, "column": 8 }, "end": { - "line": 17, - "column": 33 + "line": 22, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "reset button element", + "type": "Block", + "value": "*\n * Clear button element\n * @type {DOMElement}\n * @private\n ", "range": [ - 487, - 509 + 553, + 650 ], "loc": { "start": { - "line": 19, + "line": 25, "column": 8 }, "end": { - "line": 19, - "column": 30 + "line": 29, + "column": 11 } } } @@ -1010,50 +990,50 @@ "object": { "type": "ThisExpression", "range": [ - 518, - 522 + 659, + 663 ], "loc": { "start": { - "line": 20, + "line": 30, "column": 8 }, "end": { - "line": 20, + "line": 30, "column": 12 } } }, "property": { "type": "Identifier", - "name": "btnResetEl", + "name": "element", "range": [ - 523, - 533 + 664, + 671 ], "loc": { "start": { - "line": 20, + "line": 30, "column": 13 }, "end": { - "line": 20, - "column": 23 + "line": 30, + "column": 20 } } }, "range": [ - 518, - 533 + 659, + 671 ], "loc": { "start": { - "line": 20, + "line": 30, "column": 8 }, "end": { - "line": 20, - "column": 23 + "line": 30, + "column": 20 } } }, @@ -1062,85 +1042,85 @@ "value": null, "raw": "null", "range": [ - 536, - 540 + 674, + 678 ], "loc": { "start": { - "line": 20, - "column": 26 + "line": 30, + "column": 23 }, "end": { - "line": 20, - "column": 30 + "line": 30, + "column": 27 } } }, "range": [ - 518, - 540 + 659, + 678 ], "loc": { "start": { - "line": 20, + "line": 30, "column": 8 }, "end": { - "line": 20, - "column": 30 + "line": 30, + "column": 27 } } }, "range": [ - 518, - 541 + 659, + 679 ], "loc": { "start": { - "line": 20, + "line": 30, "column": 8 }, "end": { - "line": 20, - "column": 31 + "line": 30, + "column": 28 } }, "leadingComments": [ { - "type": "Line", - "value": "reset button element", + "type": "Block", + "value": "*\n * Clear button element\n * @type {DOMElement}\n * @private\n ", "range": [ - 487, - 509 + 553, + 650 ], "loc": { "start": { - "line": 19, + "line": 25, "column": 8 }, "end": { - "line": 19, - "column": 30 + "line": 29, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "defines reset text", + "type": "Block", + "value": "*\n * Text for the clear button\n * @type {String}\n ", "range": [ - 550, - 570 + 689, + 767 ], "loc": { "start": { - "line": 21, + "line": 32, "column": 8 }, "end": { - "line": 21, - "column": 28 + "line": 35, + "column": 11 } } } @@ -1157,50 +1137,50 @@ "object": { "type": "ThisExpression", "range": [ - 579, - 583 + 776, + 780 ], "loc": { "start": { - "line": 22, + "line": 36, "column": 8 }, "end": { - "line": 22, + "line": 36, "column": 12 } } }, "property": { "type": "Identifier", - "name": "btnResetText", + "name": "text", "range": [ - 584, - 596 + 781, + 785 ], "loc": { "start": { - "line": 22, + "line": 36, "column": 13 }, "end": { - "line": 22, - "column": 25 + "line": 36, + "column": 17 } } }, "range": [ - 579, - 596 + 776, + 785 ], "loc": { "start": { - "line": 22, + "line": 36, "column": 8 }, "end": { - "line": 22, - "column": 25 + "line": 36, + "column": 17 } } }, @@ -1214,17 +1194,17 @@ "type": "Identifier", "name": "f", "range": [ - 599, - 600 + 788, + 789 ], "loc": { "start": { - "line": 22, - "column": 28 + "line": 36, + "column": 20 }, "end": { - "line": 22, - "column": 29 + "line": 36, + "column": 21 } } }, @@ -1232,32 +1212,32 @@ "type": "Identifier", "name": "btn_reset_text", "range": [ - 601, - 615 + 790, + 804 ], "loc": { "start": { - "line": 22, - "column": 30 + "line": 36, + "column": 22 }, "end": { - "line": 22, - "column": 44 + "line": 36, + "column": 36 } } }, "range": [ - 599, - 615 + 788, + 804 ], "loc": { "start": { - "line": 22, - "column": 28 + "line": 36, + "column": 20 }, "end": { - "line": 22, - "column": 44 + "line": 36, + "column": 36 } } }, @@ -1266,100 +1246,100 @@ "value": "Reset", "raw": "'Reset'", "range": [ - 619, - 626 + 808, + 815 ], "loc": { "start": { - "line": 22, - "column": 48 + "line": 36, + "column": 40 }, "end": { - "line": 22, - "column": 55 + "line": 36, + "column": 47 } } }, "range": [ - 599, - 626 + 788, + 815 ], "loc": { "start": { - "line": 22, - "column": 28 + "line": 36, + "column": 20 }, "end": { - "line": 22, - "column": 55 + "line": 36, + "column": 47 } } }, "range": [ - 579, - 626 + 776, + 815 ], "loc": { "start": { - "line": 22, + "line": 36, "column": 8 }, "end": { - "line": 22, - "column": 55 + "line": 36, + "column": 47 } } }, "range": [ - 579, - 627 + 776, + 816 ], "loc": { "start": { - "line": 22, + "line": 36, "column": 8 }, "end": { - "line": 22, - "column": 56 + "line": 36, + "column": 48 } }, "leadingComments": [ { - "type": "Line", - "value": "defines reset text", + "type": "Block", + "value": "*\n * Text for the clear button\n * @type {String}\n ", "range": [ - 550, - 570 + 689, + 767 ], "loc": { "start": { - "line": 21, + "line": 32, "column": 8 }, "end": { - "line": 21, - "column": 28 + "line": 35, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "defines reset button tooltip", + "type": "Block", + "value": "*\n * Tooltip text for the clear button\n * @type {String}\n ", "range": [ - 636, - 666 + 826, + 912 ], "loc": { "start": { - "line": 23, + "line": 38, "column": 8 }, "end": { - "line": 23, - "column": 38 + "line": 41, + "column": 11 } } } @@ -1376,50 +1356,50 @@ "object": { "type": "ThisExpression", "range": [ - 675, - 679 + 921, + 925 ], "loc": { "start": { - "line": 24, + "line": 42, "column": 8 }, "end": { - "line": 24, + "line": 42, "column": 12 } } }, "property": { "type": "Identifier", - "name": "btnResetTooltip", + "name": "tooltip", "range": [ - 680, - 695 + 926, + 933 ], "loc": { "start": { - "line": 24, + "line": 42, "column": 13 }, "end": { - "line": 24, - "column": 28 + "line": 42, + "column": 20 } } }, "range": [ - 675, - 695 + 921, + 933 ], "loc": { "start": { - "line": 24, + "line": 42, "column": 8 }, "end": { - "line": 24, - "column": 28 + "line": 42, + "column": 20 } } }, @@ -1433,17 +1413,17 @@ "type": "Identifier", "name": "f", "range": [ - 698, - 699 + 936, + 937 ], "loc": { "start": { - "line": 24, - "column": 31 + "line": 42, + "column": 23 }, "end": { - "line": 24, - "column": 32 + "line": 42, + "column": 24 } } }, @@ -1451,32 +1431,32 @@ "type": "Identifier", "name": "btn_reset_tooltip", "range": [ - 700, - 717 + 938, + 955 ], "loc": { "start": { - "line": 24, - "column": 33 + "line": 42, + "column": 25 }, "end": { - "line": 24, - "column": 50 + "line": 42, + "column": 42 } } }, "range": [ - 698, - 717 + 936, + 955 ], "loc": { "start": { - "line": 24, - "column": 31 + "line": 42, + "column": 23 }, "end": { - "line": 24, - "column": 50 + "line": 42, + "column": 42 } } }, @@ -1485,100 +1465,100 @@ "value": "Clear filters", "raw": "'Clear filters'", "range": [ - 721, - 736 + 959, + 974 ], "loc": { "start": { - "line": 24, - "column": 54 + "line": 42, + "column": 46 }, "end": { - "line": 24, - "column": 69 + "line": 42, + "column": 61 } } }, "range": [ - 698, - 736 + 936, + 974 ], "loc": { "start": { - "line": 24, - "column": 31 + "line": 42, + "column": 23 }, "end": { - "line": 24, - "column": 69 + "line": 42, + "column": 61 } } }, "range": [ - 675, - 736 + 921, + 974 ], "loc": { "start": { - "line": 24, + "line": 42, "column": 8 }, "end": { - "line": 24, - "column": 69 + "line": 42, + "column": 61 } } }, "range": [ - 675, - 737 + 921, + 975 ], "loc": { "start": { - "line": 24, + "line": 42, "column": 8 }, "end": { - "line": 24, - "column": 70 + "line": 42, + "column": 62 } }, "leadingComments": [ { - "type": "Line", - "value": "defines reset button tooltip", + "type": "Block", + "value": "*\n * Tooltip text for the clear button\n * @type {String}\n ", "range": [ - 636, - 666 + 826, + 912 ], "loc": { "start": { - "line": 23, + "line": 38, "column": 8 }, "end": { - "line": 23, - "column": 38 + "line": 41, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "defines reset button innerHtml", + "type": "Block", + "value": "*\n * Custom Html string for the clear button\n * @type {String}\n ", "range": [ - 746, - 778 + 985, + 1077 ], "loc": { "start": { - "line": 25, + "line": 44, "column": 8 }, "end": { - "line": 25, - "column": 40 + "line": 47, + "column": 11 } } } @@ -1595,50 +1575,50 @@ "object": { "type": "ThisExpression", "range": [ - 787, - 791 + 1086, + 1090 ], "loc": { "start": { - "line": 26, + "line": 48, "column": 8 }, "end": { - "line": 26, + "line": 48, "column": 12 } } }, "property": { "type": "Identifier", - "name": "btnResetHtml", + "name": "html", "range": [ - 792, - 804 + 1091, + 1095 ], "loc": { "start": { - "line": 26, + "line": 48, "column": 13 }, "end": { - "line": 26, - "column": 25 + "line": 48, + "column": 17 } } }, "range": [ - 787, - 804 + 1086, + 1095 ], "loc": { "start": { - "line": 26, + "line": 48, "column": 8 }, "end": { - "line": 26, - "column": 25 + "line": 48, + "column": 17 } } }, @@ -1652,17 +1632,17 @@ "type": "Identifier", "name": "f", "range": [ - 807, - 808 + 1098, + 1099 ], "loc": { "start": { - "line": 26, - "column": 28 + "line": 48, + "column": 20 }, "end": { - "line": 26, - "column": 29 + "line": 48, + "column": 21 } } }, @@ -1670,32 +1650,32 @@ "type": "Identifier", "name": "btn_reset_html", "range": [ - 809, - 823 + 1100, + 1114 ], "loc": { "start": { - "line": 26, - "column": 30 + "line": 48, + "column": 22 }, "end": { - "line": 26, - "column": 44 + "line": 48, + "column": 36 } } }, "range": [ - 807, - 823 + 1098, + 1114 ], "loc": { "start": { - "line": 26, - "column": 28 + "line": 48, + "column": 20 }, "end": { - "line": 26, - "column": 44 + "line": 48, + "column": 36 } } }, @@ -1711,16 +1691,16 @@ "type": "Identifier", "name": "tf", "range": [ - 841, - 843 + 1132, + 1134 ], "loc": { "start": { - "line": 27, + "line": 49, "column": 14 }, "end": { - "line": 27, + "line": 49, "column": 16 } } @@ -1729,47 +1709,47 @@ "type": "Identifier", "name": "enableIcons", "range": [ - 844, - 855 + 1135, + 1146 ], "loc": { "start": { - "line": 27, + "line": 49, "column": 17 }, "end": { - "line": 27, + "line": 49, "column": 28 } } }, "range": [ - 841, - 855 + 1132, + 1146 ], "loc": { "start": { - "line": 27, + "line": 49, "column": 14 }, "end": { - "line": 27, + "line": 49, "column": 28 } } }, "prefix": true, "range": [ - 840, - 855 + 1131, + 1146 ], "loc": { "start": { - "line": 27, + "line": 49, "column": 13 }, "end": { - "line": 27, + "line": 49, "column": 28 } } @@ -1779,16 +1759,16 @@ "value": null, "raw": "null", "range": [ - 858, - 862 + 1149, + 1153 ], "loc": { "start": { - "line": 27, + "line": 49, "column": 31 }, "end": { - "line": 27, + "line": 49, "column": 35 } } @@ -1813,16 +1793,16 @@ "value": "", "raw": "'\" />'", "range": [ - 1003, - 1009 + 1286, + 1292 ], "loc": { "start": { - "line": 29, - "column": 58 + "line": 51, + "column": 50 }, "end": { - "line": 29, - "column": 64 + "line": 51, + "column": 56 } } }, "range": [ - 881, - 1009 + 1172, + 1292 ], "loc": { "start": { - "line": 28, + "line": 50, "column": 16 }, "end": { - "line": 29, - "column": 64 + "line": 51, + "column": 56 } } }, "range": [ - 840, - 1009 + 1131, + 1292 ], "loc": { "start": { - "line": 27, + "line": 49, "column": 13 }, "end": { - "line": 29, - "column": 64 + "line": 51, + "column": 56 } } }, "range": [ - 807, - 1010 + 1098, + 1293 ], "loc": { "start": { - "line": 26, - "column": 28 + "line": 48, + "column": 20 }, "end": { - "line": 29, - "column": 65 + "line": 51, + "column": 57 } } }, "range": [ - 787, - 1010 + 1086, + 1293 ], "loc": { "start": { - "line": 26, + "line": 48, "column": 8 }, "end": { - "line": 29, - "column": 65 + "line": 51, + "column": 57 } } }, "range": [ - 787, - 1011 + 1086, + 1294 ], "loc": { "start": { - "line": 26, + "line": 48, "column": 8 }, "end": { - "line": 29, - "column": 66 + "line": 51, + "column": 58 } }, "leadingComments": [ { - "type": "Line", - "value": "defines reset button innerHtml", + "type": "Block", + "value": "*\n * Custom Html string for the clear button\n * @type {String}\n ", "range": [ - 746, - 778 + 985, + 1077 ], "loc": { "start": { - "line": 25, + "line": 44, "column": 8 }, "end": { - "line": 25, - "column": 40 + "line": 47, + "column": 11 } } } ], "trailingComments": [ { - "type": "Line", - "value": "span containing reset button", + "type": "Block", + "value": "*\n * Prefix fot ID of container element\n * @type {String}\n * @private\n ", "range": [ - 1020, - 1050 + 1304, + 1411 ], "loc": { "start": { - "line": 30, + "line": 53, "column": 8 }, "end": { - "line": 30, - "column": 38 + "line": 57, + "column": 11 } } } @@ -2177,50 +2157,50 @@ "object": { "type": "ThisExpression", "range": [ - 1059, - 1063 + 1420, + 1424 ], "loc": { "start": { - "line": 31, + "line": 58, "column": 8 }, "end": { - "line": 31, + "line": 58, "column": 12 } } }, "property": { "type": "Identifier", - "name": "prfxResetSpan", + "name": "prfxCont", "range": [ - 1064, - 1077 + 1425, + 1433 ], "loc": { "start": { - "line": 31, + "line": 58, "column": 13 }, "end": { - "line": 31, - "column": 26 + "line": 58, + "column": 21 } } }, "range": [ - 1059, - 1077 + 1420, + 1433 ], "loc": { "start": { - "line": 31, + "line": 58, "column": 8 }, "end": { - "line": 31, - "column": 26 + "line": 58, + "column": 21 } } }, @@ -2229,65 +2209,65 @@ "value": "resetspan_", "raw": "'resetspan_'", "range": [ - 1080, - 1092 + 1436, + 1448 ], "loc": { "start": { - "line": 31, - "column": 29 + "line": 58, + "column": 24 }, "end": { - "line": 31, - "column": 41 + "line": 58, + "column": 36 } } }, "range": [ - 1059, - 1092 + 1420, + 1448 ], "loc": { "start": { - "line": 31, + "line": 58, "column": 8 }, "end": { - "line": 31, - "column": 41 + "line": 58, + "column": 36 } } }, "range": [ - 1059, - 1093 + 1420, + 1449 ], "loc": { "start": { - "line": 31, + "line": 58, "column": 8 }, "end": { - "line": 31, - "column": 42 + "line": 58, + "column": 37 } }, "leadingComments": [ { - "type": "Line", - "value": "span containing reset button", + "type": "Block", + "value": "*\n * Prefix fot ID of container element\n * @type {String}\n * @private\n ", "range": [ - 1020, - 1050 + 1304, + 1411 ], "loc": { "start": { - "line": 30, + "line": 53, "column": 8 }, "end": { - "line": 30, - "column": 38 + "line": 57, + "column": 11 } } } @@ -2295,16 +2275,16 @@ } ], "range": [ - 289, - 1099 + 343, + 1455 ], "loc": { "start": { - "line": 11, + "line": 14, "column": 20 }, "end": { - "line": 32, + "line": 59, "column": 5 } } @@ -2312,16 +2292,16 @@ "generator": false, "expression": false, "range": [ - 284, - 1099 + 338, + 1455 ], "loc": { "start": { - "line": 11, + "line": 14, "column": 15 }, "end": { - "line": 32, + "line": 59, "column": 5 } } @@ -2329,34 +2309,54 @@ "kind": "constructor", "computed": false, "range": [ - 273, - 1099 + 327, + 1455 ], "loc": { "start": { - "line": 11, + "line": 14, "column": 4 }, "end": { - "line": 32, + "line": 59, "column": 5 } }, "leadingComments": [ { "type": "Block", - "value": "*\n * Clear button component\n * @param {Object} tf TableFilter instance\n ", + "value": "*\n * Creates an instance of ClearButton\n * @param {TableFilter} tf TableFilter instance\n ", "range": [ - 180, - 268 + 217, + 322 ], "loc": { "start": { - "line": 7, + "line": 10, "column": 4 }, "end": { - "line": 10, + "line": 13, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Click event handler for clear button\n * @private\n ", + "range": [ + 1461, + 1532 + ], + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 64, "column": 7 } } @@ -2370,16 +2370,16 @@ "type": "Identifier", "name": "onClick", "range": [ - 1105, - 1112 + 1537, + 1544 ], "loc": { "start": { - "line": 34, + "line": 65, "column": 4 }, "end": { - "line": 34, + "line": 65, "column": 11 } } @@ -2404,16 +2404,16 @@ "object": { "type": "ThisExpression", "range": [ - 1130, - 1134 + 1562, + 1566 ], "loc": { "start": { - "line": 35, + "line": 66, "column": 13 }, "end": { - "line": 35, + "line": 66, "column": 17 } } @@ -2422,63 +2422,63 @@ "type": "Identifier", "name": "isEnabled", "range": [ - 1135, - 1144 + 1567, + 1576 ], "loc": { "start": { - "line": 35, + "line": 66, "column": 18 }, "end": { - "line": 35, + "line": 66, "column": 27 } } }, "range": [ - 1130, - 1144 + 1562, + 1576 ], "loc": { "start": { - "line": 35, + "line": 66, "column": 13 }, "end": { - "line": 35, + "line": 66, "column": 27 } } }, "arguments": [], "range": [ - 1130, - 1146 + 1562, + 1578 ], "loc": { "start": { - "line": 35, + "line": 66, "column": 13 }, "end": { - "line": 35, + "line": 66, "column": 29 } } }, "prefix": true, "range": [ - 1129, - 1146 + 1561, + 1578 ], "loc": { "start": { - "line": 35, + "line": 66, "column": 12 }, "end": { - "line": 35, + "line": 66, "column": 29 } } @@ -2490,48 +2490,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 1162, - 1169 + 1594, + 1601 ], "loc": { "start": { - "line": 36, + "line": 67, "column": 12 }, "end": { - "line": 36, + "line": 67, "column": 19 } } } ], "range": [ - 1148, - 1179 + 1580, + 1611 ], "loc": { "start": { - "line": 35, + "line": 66, "column": 31 }, "end": { - "line": 37, + "line": 68, "column": 9 } } }, "alternate": null, "range": [ - 1125, - 1179 + 1557, + 1611 ], "loc": { "start": { - "line": 35, + "line": 66, "column": 8 }, "end": { - "line": 37, + "line": 68, "column": 9 } } @@ -2549,16 +2549,16 @@ "object": { "type": "ThisExpression", "range": [ - 1188, - 1192 + 1620, + 1624 ], "loc": { "start": { - "line": 38, + "line": 69, "column": 8 }, "end": { - "line": 38, + "line": 69, "column": 12 } } @@ -2567,31 +2567,31 @@ "type": "Identifier", "name": "tf", "range": [ - 1193, - 1195 + 1625, + 1627 ], "loc": { "start": { - "line": 38, + "line": 69, "column": 13 }, "end": { - "line": 38, + "line": 69, "column": 15 } } }, "range": [ - 1188, - 1195 + 1620, + 1627 ], "loc": { "start": { - "line": 38, + "line": 69, "column": 8 }, "end": { - "line": 38, + "line": 69, "column": 15 } } @@ -2600,78 +2600,78 @@ "type": "Identifier", "name": "clearFilters", "range": [ - 1196, - 1208 + 1628, + 1640 ], "loc": { "start": { - "line": 38, + "line": 69, "column": 16 }, "end": { - "line": 38, + "line": 69, "column": 28 } } }, "range": [ - 1188, - 1208 + 1620, + 1640 ], "loc": { "start": { - "line": 38, + "line": 69, "column": 8 }, "end": { - "line": 38, + "line": 69, "column": 28 } } }, "arguments": [], "range": [ - 1188, - 1210 + 1620, + 1642 ], "loc": { "start": { - "line": 38, + "line": 69, "column": 8 }, "end": { - "line": 38, + "line": 69, "column": 30 } } }, "range": [ - 1188, - 1211 + 1620, + 1643 ], "loc": { "start": { - "line": 38, + "line": 69, "column": 8 }, "end": { - "line": 38, + "line": 69, "column": 31 } } } ], "range": [ - 1115, - 1217 + 1547, + 1649 ], "loc": { "start": { - "line": 34, + "line": 65, "column": 14 }, "end": { - "line": 39, + "line": 70, "column": 5 } } @@ -2679,16 +2679,16 @@ "generator": false, "expression": false, "range": [ - 1112, - 1217 + 1544, + 1649 ], "loc": { "start": { - "line": 34, + "line": 65, "column": 11 }, "end": { - "line": 39, + "line": 70, "column": 5 } } @@ -2696,34 +2696,54 @@ "kind": "method", "computed": false, "range": [ - 1105, - 1217 + 1537, + 1649 ], "loc": { "start": { - "line": 34, + "line": 65, "column": 4 }, "end": { - "line": 39, + "line": 70, "column": 5 } }, - "trailingComments": [ + "leadingComments": [ { "type": "Block", - "value": "*\n * Build DOM elements\n ", + "value": "*\n * Click event handler for clear button\n * @private\n ", "range": [ - 1223, - 1260 + 1461, + 1532 ], "loc": { "start": { - "line": 41, + "line": 61, "column": 4 }, "end": { - "line": 43, + "line": 64, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initialize clear button component\n ", + "range": [ + 1655, + 1707 + ], + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 74, "column": 7 } } @@ -2737,16 +2757,16 @@ "type": "Identifier", "name": "init", "range": [ - 1265, - 1269 + 1712, + 1716 ], "loc": { "start": { - "line": 44, + "line": 75, "column": 4 }, "end": { - "line": 44, + "line": 75, "column": 8 } } @@ -2767,16 +2787,16 @@ "type": "Identifier", "name": "tf", "range": [ - 1286, - 1288 + 1733, + 1735 ], "loc": { "start": { - "line": 45, + "line": 76, "column": 12 }, "end": { - "line": 45, + "line": 76, "column": 14 } } @@ -2787,16 +2807,16 @@ "object": { "type": "ThisExpression", "range": [ - 1291, - 1295 + 1738, + 1742 ], "loc": { "start": { - "line": 45, + "line": 76, "column": 17 }, "end": { - "line": 45, + "line": 76, "column": 21 } } @@ -2805,46 +2825,46 @@ "type": "Identifier", "name": "tf", "range": [ - 1296, - 1298 + 1743, + 1745 ], "loc": { "start": { - "line": 45, + "line": 76, "column": 22 }, "end": { - "line": 45, + "line": 76, "column": 24 } } }, "range": [ - 1291, - 1298 + 1738, + 1745 ], "loc": { "start": { - "line": 45, + "line": 76, "column": 17 }, "end": { - "line": 45, + "line": 76, "column": 24 } } }, "range": [ - 1286, - 1298 + 1733, + 1745 ], "loc": { "start": { - "line": 45, + "line": 76, "column": 12 }, "end": { - "line": 45, + "line": 76, "column": 24 } } @@ -2852,16 +2872,16 @@ ], "kind": "let", "range": [ - 1282, - 1299 + 1729, + 1746 ], "loc": { "start": { - "line": 45, + "line": 76, "column": 8 }, "end": { - "line": 45, + "line": 76, "column": 25 } } @@ -2874,16 +2894,16 @@ "object": { "type": "ThisExpression", "range": [ - 1313, - 1317 + 1760, + 1764 ], "loc": { "start": { - "line": 47, + "line": 78, "column": 12 }, "end": { - "line": 47, + "line": 78, "column": 16 } } @@ -2892,31 +2912,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 1318, - 1329 + 1765, + 1776 ], "loc": { "start": { - "line": 47, + "line": 78, "column": 17 }, "end": { - "line": 47, + "line": 78, "column": 28 } } }, "range": [ - 1313, - 1329 + 1760, + 1776 ], "loc": { "start": { - "line": 47, + "line": 78, "column": 12 }, "end": { - "line": 47, + "line": 78, "column": 28 } } @@ -2928,48 +2948,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 1345, - 1352 + 1792, + 1799 ], "loc": { "start": { - "line": 48, + "line": 79, "column": 12 }, "end": { - "line": 48, + "line": 79, "column": 19 } } } ], "range": [ - 1331, - 1362 + 1778, + 1809 ], "loc": { "start": { - "line": 47, + "line": 78, "column": 30 }, "end": { - "line": 49, + "line": 80, "column": 9 } } }, "alternate": null, "range": [ - 1309, - 1362 + 1756, + 1809 ], "loc": { "start": { - "line": 47, + "line": 78, "column": 8 }, "end": { - "line": 49, + "line": 80, "column": 9 } } @@ -2983,16 +3003,16 @@ "type": "Identifier", "name": "resetspan", "range": [ - 1376, - 1385 + 1823, + 1832 ], "loc": { "start": { - "line": 51, + "line": 82, "column": 12 }, "end": { - "line": 51, + "line": 82, "column": 21 } } @@ -3003,16 +3023,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 1388, - 1397 + 1835, + 1844 ], "loc": { "start": { - "line": 51, + "line": 82, "column": 24 }, "end": { - "line": 51, + "line": 82, "column": 33 } } @@ -3023,16 +3043,16 @@ "value": "span", "raw": "'span'", "range": [ - 1398, - 1404 + 1845, + 1851 ], "loc": { "start": { - "line": 51, + "line": 82, "column": 34 }, "end": { - "line": 51, + "line": 82, "column": 40 } } @@ -3045,16 +3065,16 @@ "value": "id", "raw": "'id'", "range": [ - 1407, - 1411 + 1854, + 1858 ], "loc": { "start": { - "line": 51, + "line": 82, "column": 43 }, "end": { - "line": 51, + "line": 82, "column": 47 } } @@ -3068,50 +3088,50 @@ "object": { "type": "ThisExpression", "range": [ - 1413, - 1417 + 1860, + 1864 ], "loc": { "start": { - "line": 51, + "line": 82, "column": 49 }, "end": { - "line": 51, + "line": 82, "column": 53 } } }, "property": { "type": "Identifier", - "name": "prfxResetSpan", + "name": "prfxCont", "range": [ - 1418, - 1431 + 1865, + 1873 ], "loc": { "start": { - "line": 51, + "line": 82, "column": 54 }, "end": { - "line": 51, - "column": 67 + "line": 82, + "column": 62 } } }, "range": [ - 1413, - 1431 + 1860, + 1873 ], "loc": { "start": { - "line": 51, + "line": 82, "column": 49 }, "end": { - "line": 51, - "column": 67 + "line": 82, + "column": 62 } } }, @@ -3122,17 +3142,17 @@ "type": "Identifier", "name": "tf", "range": [ - 1434, - 1436 + 1876, + 1878 ], "loc": { "start": { - "line": 51, - "column": 70 + "line": 82, + "column": 65 }, "end": { - "line": 51, - "column": 72 + "line": 82, + "column": 67 } } }, @@ -3140,111 +3160,111 @@ "type": "Identifier", "name": "id", "range": [ - 1437, - 1439 + 1879, + 1881 ], "loc": { "start": { - "line": 51, - "column": 73 + "line": 82, + "column": 68 }, "end": { - "line": 51, - "column": 75 + "line": 82, + "column": 70 } } }, "range": [ - 1434, - 1439 + 1876, + 1881 ], "loc": { "start": { - "line": 51, - "column": 70 + "line": 82, + "column": 65 }, "end": { - "line": 51, - "column": 75 + "line": 82, + "column": 70 } } }, "range": [ - 1413, - 1439 + 1860, + 1881 ], "loc": { "start": { - "line": 51, + "line": 82, "column": 49 }, "end": { - "line": 51, - "column": 75 + "line": 82, + "column": 70 } } } ], "range": [ - 1406, - 1440 + 1853, + 1882 ], "loc": { "start": { - "line": 51, + "line": 82, "column": 42 }, "end": { - "line": 51, - "column": 76 + "line": 82, + "column": 71 } } } ], "range": [ - 1388, - 1441 + 1835, + 1883 ], "loc": { "start": { - "line": 51, + "line": 82, "column": 24 }, "end": { - "line": 51, - "column": 77 + "line": 82, + "column": 72 } } }, "range": [ - 1376, - 1441 + 1823, + 1883 ], "loc": { "start": { - "line": 51, + "line": 82, "column": 12 }, "end": { - "line": 51, - "column": 77 + "line": 82, + "column": 72 } } } ], "kind": "let", "range": [ - 1372, - 1442 + 1819, + 1884 ], "loc": { "start": { - "line": 51, + "line": 82, "column": 8 }, "end": { - "line": 51, - "column": 78 + "line": 82, + "column": 73 } }, "trailingComments": [ @@ -3252,16 +3272,16 @@ "type": "Line", "value": " reset button is added to defined element", "range": [ - 1452, - 1495 + 1894, + 1937 ], "loc": { "start": { - "line": 53, + "line": 84, "column": 8 }, "end": { - "line": 53, + "line": 84, "column": 51 } } @@ -3279,66 +3299,66 @@ "object": { "type": "ThisExpression", "range": [ - 1509, - 1513 + 1951, + 1955 ], "loc": { "start": { - "line": 54, + "line": 85, "column": 13 }, "end": { - "line": 54, + "line": 85, "column": 17 } } }, "property": { "type": "Identifier", - "name": "btnResetTgtId", + "name": "targetId", "range": [ - 1514, - 1527 + 1956, + 1964 ], "loc": { "start": { - "line": 54, + "line": 85, "column": 18 }, "end": { - "line": 54, - "column": 31 + "line": 85, + "column": 26 } } }, "range": [ - 1509, - 1527 + 1951, + 1964 ], "loc": { "start": { - "line": 54, + "line": 85, "column": 13 }, "end": { - "line": 54, - "column": 31 + "line": 85, + "column": 26 } } }, "prefix": true, "range": [ - 1508, - 1527 + 1950, + 1964 ], "loc": { "start": { - "line": 54, + "line": 85, "column": 12 }, "end": { - "line": 54, - "column": 31 + "line": 85, + "column": 26 } } }, @@ -3356,16 +3376,16 @@ "type": "Identifier", "name": "tf", "range": [ - 1543, - 1545 + 1980, + 1982 ], "loc": { "start": { - "line": 55, + "line": 86, "column": 12 }, "end": { - "line": 55, + "line": 86, "column": 14 } } @@ -3374,94 +3394,94 @@ "type": "Identifier", "name": "setToolbar", "range": [ - 1546, - 1556 + 1983, + 1993 ], "loc": { "start": { - "line": 55, + "line": 86, "column": 15 }, "end": { - "line": 55, + "line": 86, "column": 25 } } }, "range": [ - 1543, - 1556 + 1980, + 1993 ], "loc": { "start": { - "line": 55, + "line": 86, "column": 12 }, "end": { - "line": 55, + "line": 86, "column": 25 } } }, "arguments": [], "range": [ - 1543, - 1558 + 1980, + 1995 ], "loc": { "start": { - "line": 55, + "line": 86, "column": 12 }, "end": { - "line": 55, + "line": 86, "column": 27 } } }, "range": [ - 1543, - 1559 + 1980, + 1996 ], "loc": { "start": { - "line": 55, + "line": 86, "column": 12 }, "end": { - "line": 55, + "line": 86, "column": 28 } } } ], "range": [ - 1529, - 1569 + 1966, + 2006 ], "loc": { "start": { - "line": 54, - "column": 33 + "line": 85, + "column": 28 }, "end": { - "line": 56, + "line": 87, "column": 9 } } }, "alternate": null, "range": [ - 1504, - 1569 + 1946, + 2006 ], "loc": { "start": { - "line": 54, + "line": 85, "column": 8 }, "end": { - "line": 56, + "line": 87, "column": 9 } }, @@ -3470,16 +3490,16 @@ "type": "Line", "value": " reset button is added to defined element", "range": [ - 1452, - 1495 + 1894, + 1937 ], "loc": { "start": { - "line": 53, + "line": 84, "column": 8 }, "end": { - "line": 53, + "line": 84, "column": 51 } } @@ -3495,16 +3515,16 @@ "type": "Identifier", "name": "targetEl", "range": [ - 1582, - 1590 + 2019, + 2027 ], "loc": { "start": { - "line": 57, + "line": 88, "column": 12 }, "end": { - "line": 57, + "line": 88, "column": 20 } } @@ -3520,66 +3540,66 @@ "object": { "type": "ThisExpression", "range": [ - 1594, - 1598 + 2031, + 2035 ], "loc": { "start": { - "line": 57, + "line": 88, "column": 24 }, "end": { - "line": 57, + "line": 88, "column": 28 } } }, "property": { "type": "Identifier", - "name": "btnResetTgtId", + "name": "targetId", "range": [ - 1599, - 1612 + 2036, + 2044 ], "loc": { "start": { - "line": 57, + "line": 88, "column": 29 }, "end": { - "line": 57, - "column": 42 + "line": 88, + "column": 37 } } }, "range": [ - 1594, - 1612 + 2031, + 2044 ], "loc": { "start": { - "line": 57, + "line": 88, "column": 24 }, "end": { - "line": 57, - "column": 42 + "line": 88, + "column": 37 } } }, "prefix": true, "range": [ - 1593, - 1612 + 2030, + 2044 ], "loc": { "start": { - "line": 57, + "line": 88, "column": 23 }, "end": { - "line": 57, - "column": 42 + "line": 88, + "column": 37 } } }, @@ -3590,17 +3610,17 @@ "type": "Identifier", "name": "tf", "range": [ - 1615, - 1617 + 2047, + 2049 ], "loc": { "start": { - "line": 57, - "column": 45 + "line": 88, + "column": 40 }, "end": { - "line": 57, - "column": 47 + "line": 88, + "column": 42 } } }, @@ -3608,32 +3628,32 @@ "type": "Identifier", "name": "rDiv", "range": [ - 1618, - 1622 + 2050, + 2054 ], "loc": { "start": { - "line": 57, - "column": 48 + "line": 88, + "column": 43 }, "end": { - "line": 57, - "column": 52 + "line": 88, + "column": 47 } } }, "range": [ - 1615, - 1622 + 2047, + 2054 ], "loc": { "start": { - "line": 57, - "column": 45 + "line": 88, + "column": 40 }, "end": { - "line": 57, - "column": 52 + "line": 88, + "column": 47 } } }, @@ -3643,17 +3663,17 @@ "type": "Identifier", "name": "elm", "range": [ - 1625, - 1628 + 2057, + 2060 ], "loc": { "start": { - "line": 57, - "column": 55 + "line": 88, + "column": 50 }, "end": { - "line": 57, - "column": 58 + "line": 88, + "column": 53 } } }, @@ -3664,113 +3684,113 @@ "object": { "type": "ThisExpression", "range": [ - 1629, - 1633 + 2061, + 2065 ], "loc": { "start": { - "line": 57, - "column": 59 + "line": 88, + "column": 54 }, "end": { - "line": 57, - "column": 63 + "line": 88, + "column": 58 } } }, "property": { "type": "Identifier", - "name": "btnResetTgtId", + "name": "targetId", "range": [ - 1634, - 1647 + 2066, + 2074 ], "loc": { "start": { - "line": 57, - "column": 64 + "line": 88, + "column": 59 }, "end": { - "line": 57, - "column": 77 + "line": 88, + "column": 67 } } }, "range": [ - 1629, - 1647 + 2061, + 2074 ], "loc": { "start": { - "line": 57, - "column": 59 + "line": 88, + "column": 54 }, "end": { - "line": 57, - "column": 77 + "line": 88, + "column": 67 } } } ], "range": [ - 1625, - 1648 + 2057, + 2075 ], "loc": { "start": { - "line": 57, - "column": 55 + "line": 88, + "column": 50 }, "end": { - "line": 57, - "column": 78 + "line": 88, + "column": 68 } } }, "range": [ - 1593, - 1648 + 2030, + 2075 ], "loc": { "start": { - "line": 57, + "line": 88, "column": 23 }, "end": { - "line": 57, - "column": 78 + "line": 88, + "column": 68 } } }, "range": [ - 1582, - 1648 + 2019, + 2075 ], "loc": { "start": { - "line": 57, + "line": 88, "column": 12 }, "end": { - "line": 57, - "column": 78 + "line": 88, + "column": 68 } } } ], "kind": "let", "range": [ - 1578, - 1649 + 2015, + 2076 ], "loc": { "start": { - "line": 57, + "line": 88, "column": 8 }, "end": { - "line": 57, - "column": 79 + "line": 88, + "column": 69 } } }, @@ -3785,16 +3805,16 @@ "type": "Identifier", "name": "targetEl", "range": [ - 1658, - 1666 + 2085, + 2093 ], "loc": { "start": { - "line": 58, + "line": 89, "column": 8 }, "end": { - "line": 58, + "line": 89, "column": 16 } } @@ -3803,31 +3823,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 1667, - 1678 + 2094, + 2105 ], "loc": { "start": { - "line": 58, + "line": 89, "column": 17 }, "end": { - "line": 58, + "line": 89, "column": 28 } } }, "range": [ - 1658, - 1678 + 2085, + 2105 ], "loc": { "start": { - "line": 58, + "line": 89, "column": 8 }, "end": { - "line": 58, + "line": 89, "column": 28 } } @@ -3837,47 +3857,47 @@ "type": "Identifier", "name": "resetspan", "range": [ - 1679, - 1688 + 2106, + 2115 ], "loc": { "start": { - "line": 58, + "line": 89, "column": 29 }, "end": { - "line": 58, + "line": 89, "column": 38 } } } ], "range": [ - 1658, - 1689 + 2085, + 2116 ], "loc": { "start": { - "line": 58, + "line": 89, "column": 8 }, "end": { - "line": 58, + "line": 89, "column": 39 } } }, "range": [ - 1658, - 1690 + 2085, + 2117 ], "loc": { "start": { - "line": 58, + "line": 89, "column": 8 }, "end": { - "line": 58, + "line": 89, "column": 40 } } @@ -3893,66 +3913,66 @@ "object": { "type": "ThisExpression", "range": [ - 1705, - 1709 + 2132, + 2136 ], "loc": { "start": { - "line": 60, + "line": 91, "column": 13 }, "end": { - "line": 60, + "line": 91, "column": 17 } } }, "property": { "type": "Identifier", - "name": "btnResetHtml", + "name": "html", "range": [ - 1710, - 1722 + 2137, + 2141 ], "loc": { "start": { - "line": 60, + "line": 91, "column": 18 }, "end": { - "line": 60, - "column": 30 + "line": 91, + "column": 22 } } }, "range": [ - 1705, - 1722 + 2132, + 2141 ], "loc": { "start": { - "line": 60, + "line": 91, "column": 13 }, "end": { - "line": 60, - "column": 30 + "line": 91, + "column": 22 } } }, "prefix": true, "range": [ - 1704, - 1722 + 2131, + 2141 ], "loc": { "start": { - "line": 60, + "line": 91, "column": 12 }, "end": { - "line": 60, - "column": 30 + "line": 91, + "column": 22 } } }, @@ -3968,16 +3988,16 @@ "type": "Identifier", "name": "fltreset", "range": [ - 1742, - 1750 + 2161, + 2169 ], "loc": { "start": { - "line": 61, + "line": 92, "column": 16 }, "end": { - "line": 61, + "line": 92, "column": 24 } } @@ -3988,16 +4008,16 @@ "type": "Identifier", "name": "createElm", "range": [ - 1753, - 1762 + 2172, + 2181 ], "loc": { "start": { - "line": 61, + "line": 92, "column": 27 }, "end": { - "line": 61, + "line": 92, "column": 36 } } @@ -4008,16 +4028,16 @@ "value": "a", "raw": "'a'", "range": [ - 1763, - 1766 + 2182, + 2185 ], "loc": { "start": { - "line": 61, + "line": 92, "column": 37 }, "end": { - "line": 61, + "line": 92, "column": 40 } } @@ -4030,100 +4050,100 @@ "value": "href", "raw": "'href'", "range": [ - 1769, - 1775 + 2188, + 2194 ], "loc": { "start": { - "line": 61, + "line": 92, "column": 43 }, "end": { - "line": 61, + "line": 92, "column": 49 } } }, { "type": "Literal", - "value": "javascript:voelm(0);", - "raw": "'javascript:voelm(0);'", + "value": "javascript:void(0);", + "raw": "'javascript:void(0);'", "range": [ - 1777, - 1799 + 2196, + 2217 ], "loc": { "start": { - "line": 61, + "line": 92, "column": 51 }, "end": { - "line": 61, - "column": 73 + "line": 92, + "column": 72 } } } ], "range": [ - 1768, - 1800 + 2187, + 2218 ], "loc": { "start": { - "line": 61, + "line": 92, "column": 42 }, "end": { - "line": 61, - "column": 74 + "line": 92, + "column": 73 } } } ], "range": [ - 1753, - 1801 + 2172, + 2219 ], "loc": { "start": { - "line": 61, + "line": 92, "column": 27 }, "end": { - "line": 61, - "column": 75 + "line": 92, + "column": 74 } } }, "range": [ - 1742, - 1801 + 2161, + 2219 ], "loc": { "start": { - "line": 61, + "line": 92, "column": 16 }, "end": { - "line": 61, - "column": 75 + "line": 92, + "column": 74 } } } ], "kind": "let", "range": [ - 1738, - 1802 + 2157, + 2220 ], "loc": { "start": { - "line": 61, + "line": 92, "column": 12 }, "end": { - "line": 61, - "column": 76 + "line": 92, + "column": 75 } } }, @@ -4139,16 +4159,16 @@ "type": "Identifier", "name": "fltreset", "range": [ - 1815, - 1823 + 2233, + 2241 ], "loc": { "start": { - "line": 62, + "line": 93, "column": 12 }, "end": { - "line": 62, + "line": 93, "column": 20 } } @@ -4157,31 +4177,31 @@ "type": "Identifier", "name": "className", "range": [ - 1824, - 1833 + 2242, + 2251 ], "loc": { "start": { - "line": 62, + "line": 93, "column": 21 }, "end": { - "line": 62, + "line": 93, "column": 30 } } }, "range": [ - 1815, - 1833 + 2233, + 2251 ], "loc": { "start": { - "line": 62, + "line": 93, "column": 12 }, "end": { - "line": 62, + "line": 93, "column": 30 } } @@ -4193,16 +4213,16 @@ "type": "Identifier", "name": "tf", "range": [ - 1836, - 1838 + 2254, + 2256 ], "loc": { "start": { - "line": 62, + "line": 93, "column": 33 }, "end": { - "line": 62, + "line": 93, "column": 35 } } @@ -4211,61 +4231,61 @@ "type": "Identifier", "name": "btnResetCssClass", "range": [ - 1839, - 1855 + 2257, + 2273 ], "loc": { "start": { - "line": 62, + "line": 93, "column": 36 }, "end": { - "line": 62, + "line": 93, "column": 52 } } }, "range": [ - 1836, - 1855 + 2254, + 2273 ], "loc": { "start": { - "line": 62, + "line": 93, "column": 33 }, "end": { - "line": 62, + "line": 93, "column": 52 } } }, "range": [ - 1815, - 1855 + 2233, + 2273 ], "loc": { "start": { - "line": 62, + "line": 93, "column": 12 }, "end": { - "line": 62, + "line": 93, "column": 52 } } }, "range": [ - 1815, - 1856 + 2233, + 2274 ], "loc": { "start": { - "line": 62, + "line": 93, "column": 12 }, "end": { - "line": 62, + "line": 93, "column": 53 } } @@ -4281,16 +4301,16 @@ "type": "Identifier", "name": "fltreset", "range": [ - 1869, - 1877 + 2287, + 2295 ], "loc": { "start": { - "line": 63, + "line": 94, "column": 12 }, "end": { - "line": 63, + "line": 94, "column": 20 } } @@ -4299,31 +4319,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 1878, - 1889 + 2296, + 2307 ], "loc": { "start": { - "line": 63, + "line": 94, "column": 21 }, "end": { - "line": 63, + "line": 94, "column": 32 } } }, "range": [ - 1869, - 1889 + 2287, + 2307 ], "loc": { "start": { - "line": 63, + "line": 94, "column": 12 }, "end": { - "line": 63, + "line": 94, "column": 32 } } @@ -4335,16 +4355,16 @@ "type": "Identifier", "name": "createText", "range": [ - 1890, - 1900 + 2308, + 2318 ], "loc": { "start": { - "line": 63, + "line": 94, "column": 33 }, "end": { - "line": 63, + "line": 94, "column": 43 } } @@ -4356,97 +4376,97 @@ "object": { "type": "ThisExpression", "range": [ - 1901, - 1905 + 2319, + 2323 ], "loc": { "start": { - "line": 63, + "line": 94, "column": 44 }, "end": { - "line": 63, + "line": 94, "column": 48 } } }, "property": { "type": "Identifier", - "name": "btnResetText", + "name": "text", "range": [ - 1906, - 1918 + 2324, + 2328 ], "loc": { "start": { - "line": 63, + "line": 94, "column": 49 }, "end": { - "line": 63, - "column": 61 + "line": 94, + "column": 53 } } }, "range": [ - 1901, - 1918 + 2319, + 2328 ], "loc": { "start": { - "line": 63, + "line": 94, "column": 44 }, "end": { - "line": 63, - "column": 61 + "line": 94, + "column": 53 } } } ], "range": [ - 1890, - 1919 + 2308, + 2329 ], "loc": { "start": { - "line": 63, + "line": 94, "column": 33 }, "end": { - "line": 63, - "column": 62 + "line": 94, + "column": 54 } } } ], "range": [ - 1869, - 1920 + 2287, + 2330 ], "loc": { "start": { - "line": 63, + "line": 94, "column": 12 }, "end": { - "line": 63, - "column": 63 + "line": 94, + "column": 55 } } }, "range": [ - 1869, - 1921 + 2287, + 2331 ], "loc": { "start": { - "line": 63, + "line": 94, "column": 12 }, "end": { - "line": 63, - "column": 64 + "line": 94, + "column": 56 } } }, @@ -4461,16 +4481,16 @@ "type": "Identifier", "name": "resetspan", "range": [ - 1934, - 1943 + 2344, + 2353 ], "loc": { "start": { - "line": 64, + "line": 95, "column": 12 }, "end": { - "line": 64, + "line": 95, "column": 21 } } @@ -4479,31 +4499,31 @@ "type": "Identifier", "name": "appendChild", "range": [ - 1944, - 1955 + 2354, + 2365 ], "loc": { "start": { - "line": 64, + "line": 95, "column": 22 }, "end": { - "line": 64, + "line": 95, "column": 33 } } }, "range": [ - 1934, - 1955 + 2344, + 2365 ], "loc": { "start": { - "line": 64, + "line": 95, "column": 12 }, "end": { - "line": 64, + "line": 95, "column": 33 } } @@ -4513,47 +4533,47 @@ "type": "Identifier", "name": "fltreset", "range": [ - 1956, - 1964 + 2366, + 2374 ], "loc": { "start": { - "line": 64, + "line": 95, "column": 34 }, "end": { - "line": 64, + "line": 95, "column": 42 } } } ], "range": [ - 1934, - 1965 + 2344, + 2375 ], "loc": { "start": { - "line": 64, + "line": 95, "column": 12 }, "end": { - "line": 64, + "line": 95, "column": 43 } } }, "range": [ - 1934, - 1966 + 2344, + 2376 ], "loc": { "start": { - "line": 64, + "line": 95, "column": 12 }, "end": { - "line": 64, + "line": 95, "column": 44 } } @@ -4566,16 +4586,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 1979, - 1985 + 2389, + 2395 ], "loc": { "start": { - "line": 65, + "line": 96, "column": 12 }, "end": { - "line": 65, + "line": 96, "column": 18 } } @@ -4585,16 +4605,16 @@ "type": "Identifier", "name": "fltreset", "range": [ - 1986, - 1994 + 2396, + 2404 ], "loc": { "start": { - "line": 65, + "line": 96, "column": 19 }, "end": { - "line": 65, + "line": 96, "column": 27 } } @@ -4604,16 +4624,16 @@ "value": "click", "raw": "'click'", "range": [ - 1996, - 2003 + 2406, + 2413 ], "loc": { "start": { - "line": 65, + "line": 96, "column": 29 }, "end": { - "line": 65, + "line": 96, "column": 36 } } @@ -4630,16 +4650,16 @@ "object": { "type": "ThisExpression", "range": [ - 2011, - 2015 + 2421, + 2425 ], "loc": { "start": { - "line": 65, + "line": 96, "column": 44 }, "end": { - "line": 65, + "line": 96, "column": 48 } } @@ -4648,47 +4668,47 @@ "type": "Identifier", "name": "onClick", "range": [ - 2016, - 2023 + 2426, + 2433 ], "loc": { "start": { - "line": 65, + "line": 96, "column": 49 }, "end": { - "line": 65, + "line": 96, "column": 56 } } }, "range": [ - 2011, - 2023 + 2421, + 2433 ], "loc": { "start": { - "line": 65, + "line": 96, "column": 44 }, "end": { - "line": 65, + "line": 96, "column": 56 } } }, "arguments": [], "range": [ - 2011, - 2025 + 2421, + 2435 ], "loc": { "start": { - "line": 65, + "line": 96, "column": 44 }, "end": { - "line": 65, + "line": 96, "column": 58 } } @@ -4696,63 +4716,63 @@ "generator": false, "expression": true, "range": [ - 2005, - 2025 + 2415, + 2435 ], "loc": { "start": { - "line": 65, + "line": 96, "column": 38 }, "end": { - "line": 65, + "line": 96, "column": 58 } } } ], "range": [ - 1979, - 2026 + 2389, + 2436 ], "loc": { "start": { - "line": 65, + "line": 96, "column": 12 }, "end": { - "line": 65, + "line": 96, "column": 59 } } }, "range": [ - 1979, - 2027 + 2389, + 2437 ], "loc": { "start": { - "line": 65, + "line": 96, "column": 12 }, "end": { - "line": 65, + "line": 96, "column": 60 } } } ], "range": [ - 1724, - 2037 + 2143, + 2447 ], "loc": { "start": { - "line": 60, - "column": 32 + "line": 91, + "column": 24 }, "end": { - "line": 66, + "line": 97, "column": 9 } } @@ -4772,16 +4792,16 @@ "type": "Identifier", "name": "resetspan", "range": [ - 2057, - 2066 + 2467, + 2476 ], "loc": { "start": { - "line": 67, + "line": 98, "column": 12 }, "end": { - "line": 67, + "line": 98, "column": 21 } } @@ -4790,31 +4810,31 @@ "type": "Identifier", "name": "innerHTML", "range": [ - 2067, - 2076 + 2477, + 2486 ], "loc": { "start": { - "line": 67, + "line": 98, "column": 22 }, "end": { - "line": 67, + "line": 98, "column": 31 } } }, "range": [ - 2057, - 2076 + 2467, + 2486 ], "loc": { "start": { - "line": 67, + "line": 98, "column": 12 }, "end": { - "line": 67, + "line": 98, "column": 31 } } @@ -4825,80 +4845,80 @@ "object": { "type": "ThisExpression", "range": [ - 2079, - 2083 + 2489, + 2493 ], "loc": { "start": { - "line": 67, + "line": 98, "column": 34 }, "end": { - "line": 67, + "line": 98, "column": 38 } } }, "property": { "type": "Identifier", - "name": "btnResetHtml", + "name": "html", "range": [ - 2084, - 2096 + 2494, + 2498 ], "loc": { "start": { - "line": 67, + "line": 98, "column": 39 }, "end": { - "line": 67, - "column": 51 + "line": 98, + "column": 43 } } }, "range": [ - 2079, - 2096 + 2489, + 2498 ], "loc": { "start": { - "line": 67, + "line": 98, "column": 34 }, "end": { - "line": 67, - "column": 51 + "line": 98, + "column": 43 } } }, "range": [ - 2057, - 2096 + 2467, + 2498 ], "loc": { "start": { - "line": 67, + "line": 98, "column": 12 }, "end": { - "line": 67, - "column": 51 + "line": 98, + "column": 43 } } }, "range": [ - 2057, - 2097 + 2467, + 2499 ], "loc": { "start": { - "line": 67, + "line": 98, "column": 12 }, "end": { - "line": 67, - "column": 52 + "line": 98, + "column": 44 } } }, @@ -4911,16 +4931,16 @@ "type": "Identifier", "name": "resetEl", "range": [ - 2114, - 2121 + 2516, + 2523 ], "loc": { "start": { - "line": 68, + "line": 99, "column": 16 }, "end": { - "line": 68, + "line": 99, "column": 23 } } @@ -4932,16 +4952,16 @@ "type": "Identifier", "name": "resetspan", "range": [ - 2124, - 2133 + 2526, + 2535 ], "loc": { "start": { - "line": 68, + "line": 99, "column": 26 }, "end": { - "line": 68, + "line": 99, "column": 35 } } @@ -4950,46 +4970,46 @@ "type": "Identifier", "name": "firstChild", "range": [ - 2134, - 2144 + 2536, + 2546 ], "loc": { "start": { - "line": 68, + "line": 99, "column": 36 }, "end": { - "line": 68, + "line": 99, "column": 46 } } }, "range": [ - 2124, - 2144 + 2526, + 2546 ], "loc": { "start": { - "line": 68, + "line": 99, "column": 26 }, "end": { - "line": 68, + "line": 99, "column": 46 } } }, "range": [ - 2114, - 2144 + 2516, + 2546 ], "loc": { "start": { - "line": 68, + "line": 99, "column": 16 }, "end": { - "line": 68, + "line": 99, "column": 46 } } @@ -4997,16 +5017,16 @@ ], "kind": "let", "range": [ - 2110, - 2145 + 2512, + 2547 ], "loc": { "start": { - "line": 68, + "line": 99, "column": 12 }, "end": { - "line": 68, + "line": 99, "column": 47 } } @@ -5019,16 +5039,16 @@ "type": "Identifier", "name": "addEvt", "range": [ - 2158, - 2164 + 2560, + 2566 ], "loc": { "start": { - "line": 69, + "line": 100, "column": 12 }, "end": { - "line": 69, + "line": 100, "column": 18 } } @@ -5038,16 +5058,16 @@ "type": "Identifier", "name": "resetEl", "range": [ - 2165, - 2172 + 2567, + 2574 ], "loc": { "start": { - "line": 69, + "line": 100, "column": 19 }, "end": { - "line": 69, + "line": 100, "column": 26 } } @@ -5057,16 +5077,16 @@ "value": "click", "raw": "'click'", "range": [ - 2174, - 2181 + 2576, + 2583 ], "loc": { "start": { - "line": 69, + "line": 100, "column": 28 }, "end": { - "line": 69, + "line": 100, "column": 35 } } @@ -5083,16 +5103,16 @@ "object": { "type": "ThisExpression", "range": [ - 2189, - 2193 + 2591, + 2595 ], "loc": { "start": { - "line": 69, + "line": 100, "column": 43 }, "end": { - "line": 69, + "line": 100, "column": 47 } } @@ -5101,47 +5121,47 @@ "type": "Identifier", "name": "onClick", "range": [ - 2194, - 2201 + 2596, + 2603 ], "loc": { "start": { - "line": 69, + "line": 100, "column": 48 }, "end": { - "line": 69, + "line": 100, "column": 55 } } }, "range": [ - 2189, - 2201 + 2591, + 2603 ], "loc": { "start": { - "line": 69, + "line": 100, "column": 43 }, "end": { - "line": 69, + "line": 100, "column": 55 } } }, "arguments": [], "range": [ - 2189, - 2203 + 2591, + 2605 ], "loc": { "start": { - "line": 69, + "line": 100, "column": 43 }, "end": { - "line": 69, + "line": 100, "column": 57 } } @@ -5149,78 +5169,78 @@ "generator": false, "expression": true, "range": [ - 2183, - 2203 + 2585, + 2605 ], "loc": { "start": { - "line": 69, + "line": 100, "column": 37 }, "end": { - "line": 69, + "line": 100, "column": 57 } } } ], "range": [ - 2158, - 2204 + 2560, + 2606 ], "loc": { "start": { - "line": 69, + "line": 100, "column": 12 }, "end": { - "line": 69, + "line": 100, "column": 58 } } }, "range": [ - 2158, - 2205 + 2560, + 2607 ], "loc": { "start": { - "line": 69, + "line": 100, "column": 12 }, "end": { - "line": 69, + "line": 100, "column": 59 } } } ], "range": [ - 2043, - 2215 + 2453, + 2617 ], "loc": { "start": { - "line": 66, + "line": 97, "column": 15 }, "end": { - "line": 70, + "line": 101, "column": 9 } } }, "range": [ - 1700, - 2215 + 2127, + 2617 ], "loc": { "start": { - "line": 60, + "line": 91, "column": 8 }, "end": { - "line": 70, + "line": 101, "column": 9 } } @@ -5236,50 +5256,50 @@ "object": { "type": "ThisExpression", "range": [ - 2224, - 2228 + 2626, + 2630 ], "loc": { "start": { - "line": 71, + "line": 102, "column": 8 }, "end": { - "line": 71, + "line": 102, "column": 12 } } }, "property": { "type": "Identifier", - "name": "btnResetEl", + "name": "element", "range": [ - 2229, - 2239 + 2631, + 2638 ], "loc": { "start": { - "line": 71, + "line": 102, "column": 13 }, "end": { - "line": 71, - "column": 23 + "line": 102, + "column": 20 } } }, "range": [ - 2224, - 2239 + 2626, + 2638 ], "loc": { "start": { - "line": 71, + "line": 102, "column": 8 }, "end": { - "line": 71, - "column": 23 + "line": 102, + "column": 20 } } }, @@ -5290,17 +5310,17 @@ "type": "Identifier", "name": "resetspan", "range": [ - 2242, - 2251 + 2641, + 2650 ], "loc": { "start": { - "line": 71, - "column": 26 + "line": 102, + "column": 23 }, "end": { - "line": 71, - "column": 35 + "line": 102, + "column": 32 } } }, @@ -5308,62 +5328,62 @@ "type": "Identifier", "name": "firstChild", "range": [ - 2252, - 2262 + 2651, + 2661 ], "loc": { "start": { - "line": 71, - "column": 36 + "line": 102, + "column": 33 }, "end": { - "line": 71, - "column": 46 + "line": 102, + "column": 43 } } }, "range": [ - 2242, - 2262 + 2641, + 2661 ], "loc": { "start": { - "line": 71, - "column": 26 + "line": 102, + "column": 23 }, "end": { - "line": 71, - "column": 46 + "line": 102, + "column": 43 } } }, "range": [ - 2224, - 2262 + 2626, + 2661 ], "loc": { "start": { - "line": 71, + "line": 102, "column": 8 }, "end": { - "line": 71, - "column": 46 + "line": 102, + "column": 43 } } }, "range": [ - 2224, - 2263 + 2626, + 2662 ], "loc": { "start": { - "line": 71, + "line": 102, "column": 8 }, "end": { - "line": 71, - "column": 47 + "line": 102, + "column": 44 } } }, @@ -5378,16 +5398,16 @@ "object": { "type": "ThisExpression", "range": [ - 2273, - 2277 + 2672, + 2676 ], "loc": { "start": { - "line": 73, + "line": 104, "column": 8 }, "end": { - "line": 73, + "line": 104, "column": 12 } } @@ -5396,31 +5416,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 2278, - 2289 + 2677, + 2688 ], "loc": { "start": { - "line": 73, + "line": 104, "column": 13 }, "end": { - "line": 73, + "line": 104, "column": 24 } } }, "range": [ - 2273, - 2289 + 2672, + 2688 ], "loc": { "start": { - "line": 73, + "line": 104, "column": 8 }, "end": { - "line": 73, + "line": 104, "column": 24 } } @@ -5430,62 +5450,62 @@ "value": true, "raw": "true", "range": [ - 2292, - 2296 + 2691, + 2695 ], "loc": { "start": { - "line": 73, + "line": 104, "column": 27 }, "end": { - "line": 73, + "line": 104, "column": 31 } } }, "range": [ - 2273, - 2296 + 2672, + 2695 ], "loc": { "start": { - "line": 73, + "line": 104, "column": 8 }, "end": { - "line": 73, + "line": 104, "column": 31 } } }, "range": [ - 2273, - 2297 + 2672, + 2696 ], "loc": { "start": { - "line": 73, + "line": 104, "column": 8 }, "end": { - "line": 73, + "line": 104, "column": 32 } } } ], "range": [ - 1272, - 2303 + 1719, + 2702 ], "loc": { "start": { - "line": 44, + "line": 75, "column": 11 }, "end": { - "line": 74, + "line": 105, "column": 5 } } @@ -5493,16 +5513,16 @@ "generator": false, "expression": false, "range": [ - 1269, - 2303 + 1716, + 2702 ], "loc": { "start": { - "line": 44, + "line": 75, "column": 8 }, "end": { - "line": 74, + "line": 105, "column": 5 } } @@ -5510,34 +5530,34 @@ "kind": "method", "computed": false, "range": [ - 1265, - 2303 + 1712, + 2702 ], "loc": { "start": { - "line": 44, + "line": 75, "column": 4 }, "end": { - "line": 74, + "line": 105, "column": 5 } }, "leadingComments": [ { "type": "Block", - "value": "*\n * Build DOM elements\n ", + "value": "*\n * Initialize clear button component\n ", "range": [ - 1223, - 1260 + 1655, + 1707 ], "loc": { "start": { - "line": 41, + "line": 72, "column": 4 }, "end": { - "line": 43, + "line": 74, "column": 7 } } @@ -5546,18 +5566,18 @@ "trailingComments": [ { "type": "Block", - "value": "*\n * Remove clear button UI\n ", + "value": "*\n * Destroy ClearButton instance\n ", "range": [ - 2309, - 2350 + 2708, + 2755 ], "loc": { "start": { - "line": 76, + "line": 107, "column": 4 }, "end": { - "line": 78, + "line": 109, "column": 7 } } @@ -5571,16 +5591,16 @@ "type": "Identifier", "name": "destroy", "range": [ - 2355, - 2362 + 2760, + 2767 ], "loc": { "start": { - "line": 79, + "line": 110, "column": 4 }, "end": { - "line": 79, + "line": 110, "column": 11 } } @@ -5601,16 +5621,16 @@ "type": "Identifier", "name": "tf", "range": [ - 2379, - 2381 + 2784, + 2786 ], "loc": { "start": { - "line": 80, + "line": 111, "column": 12 }, "end": { - "line": 80, + "line": 111, "column": 14 } } @@ -5621,16 +5641,16 @@ "object": { "type": "ThisExpression", "range": [ - 2384, - 2388 + 2789, + 2793 ], "loc": { "start": { - "line": 80, + "line": 111, "column": 17 }, "end": { - "line": 80, + "line": 111, "column": 21 } } @@ -5639,46 +5659,46 @@ "type": "Identifier", "name": "tf", "range": [ - 2389, - 2391 + 2794, + 2796 ], "loc": { "start": { - "line": 80, + "line": 111, "column": 22 }, "end": { - "line": 80, + "line": 111, "column": 24 } } }, "range": [ - 2384, - 2391 + 2789, + 2796 ], "loc": { "start": { - "line": 80, + "line": 111, "column": 17 }, "end": { - "line": 80, + "line": 111, "column": 24 } } }, "range": [ - 2379, - 2391 + 2784, + 2796 ], "loc": { "start": { - "line": 80, + "line": 111, "column": 12 }, "end": { - "line": 80, + "line": 111, "column": 24 } } @@ -5686,16 +5706,16 @@ ], "kind": "let", "range": [ - 2375, - 2392 + 2780, + 2797 ], "loc": { "start": { - "line": 80, + "line": 111, "column": 8 }, "end": { - "line": 80, + "line": 111, "column": 25 } } @@ -5711,16 +5731,16 @@ "object": { "type": "ThisExpression", "range": [ - 2407, - 2411 + 2812, + 2816 ], "loc": { "start": { - "line": 82, + "line": 113, "column": 13 }, "end": { - "line": 82, + "line": 113, "column": 17 } } @@ -5729,47 +5749,47 @@ "type": "Identifier", "name": "initialized", "range": [ - 2412, - 2423 + 2817, + 2828 ], "loc": { "start": { - "line": 82, + "line": 113, "column": 18 }, "end": { - "line": 82, + "line": 113, "column": 29 } } }, "range": [ - 2407, - 2423 + 2812, + 2828 ], "loc": { "start": { - "line": 82, + "line": 113, "column": 13 }, "end": { - "line": 82, + "line": 113, "column": 29 } } }, "prefix": true, "range": [ - 2406, - 2423 + 2811, + 2828 ], "loc": { "start": { - "line": 82, + "line": 113, "column": 12 }, "end": { - "line": 82, + "line": 113, "column": 29 } } @@ -5781,48 +5801,48 @@ "type": "ReturnStatement", "argument": null, "range": [ - 2439, - 2446 + 2844, + 2851 ], "loc": { "start": { - "line": 83, + "line": 114, "column": 12 }, "end": { - "line": 83, + "line": 114, "column": 19 } } } ], "range": [ - 2425, - 2456 + 2830, + 2861 ], "loc": { "start": { - "line": 82, + "line": 113, "column": 31 }, "end": { - "line": 84, + "line": 115, "column": 9 } } }, "alternate": null, "range": [ - 2402, - 2456 + 2807, + 2861 ], "loc": { "start": { - "line": 82, + "line": 113, "column": 8 }, "end": { - "line": 84, + "line": 115, "column": 9 } } @@ -5836,16 +5856,16 @@ "type": "Identifier", "name": "resetspan", "range": [ - 2470, - 2479 + 2875, + 2884 ], "loc": { "start": { - "line": 86, + "line": 117, "column": 12 }, "end": { - "line": 86, + "line": 117, "column": 21 } } @@ -5856,16 +5876,16 @@ "type": "Identifier", "name": "elm", "range": [ - 2482, - 2485 + 2887, + 2890 ], "loc": { "start": { - "line": 86, + "line": 117, "column": 24 }, "end": { - "line": 86, + "line": 117, "column": 27 } } @@ -5880,50 +5900,50 @@ "object": { "type": "ThisExpression", "range": [ - 2486, - 2490 + 2891, + 2895 ], "loc": { "start": { - "line": 86, + "line": 117, "column": 28 }, "end": { - "line": 86, + "line": 117, "column": 32 } } }, "property": { "type": "Identifier", - "name": "prfxResetSpan", + "name": "prfxCont", "range": [ - 2491, - 2504 + 2896, + 2904 ], "loc": { "start": { - "line": 86, + "line": 117, "column": 33 }, "end": { - "line": 86, - "column": 46 + "line": 117, + "column": 41 } } }, "range": [ - 2486, - 2504 + 2891, + 2904 ], "loc": { "start": { - "line": 86, + "line": 117, "column": 28 }, "end": { - "line": 86, - "column": 46 + "line": 117, + "column": 41 } } }, @@ -5934,17 +5954,17 @@ "type": "Identifier", "name": "tf", "range": [ - 2507, - 2509 + 2907, + 2909 ], "loc": { "start": { - "line": 86, - "column": 49 + "line": 117, + "column": 44 }, "end": { - "line": 86, - "column": 51 + "line": 117, + "column": 46 } } }, @@ -5952,95 +5972,95 @@ "type": "Identifier", "name": "id", "range": [ - 2510, - 2512 + 2910, + 2912 ], "loc": { "start": { - "line": 86, - "column": 52 + "line": 117, + "column": 47 }, "end": { - "line": 86, - "column": 54 + "line": 117, + "column": 49 } } }, "range": [ - 2507, - 2512 + 2907, + 2912 ], "loc": { "start": { - "line": 86, - "column": 49 + "line": 117, + "column": 44 }, "end": { - "line": 86, - "column": 54 + "line": 117, + "column": 49 } } }, "range": [ - 2486, - 2512 + 2891, + 2912 ], "loc": { "start": { - "line": 86, + "line": 117, "column": 28 }, "end": { - "line": 86, - "column": 54 + "line": 117, + "column": 49 } } } ], "range": [ - 2482, - 2513 + 2887, + 2913 ], "loc": { "start": { - "line": 86, + "line": 117, "column": 24 }, "end": { - "line": 86, - "column": 55 + "line": 117, + "column": 50 } } }, "range": [ - 2470, - 2513 + 2875, + 2913 ], "loc": { "start": { - "line": 86, + "line": 117, "column": 12 }, "end": { - "line": 86, - "column": 55 + "line": 117, + "column": 50 } } } ], "kind": "let", "range": [ - 2466, - 2514 + 2871, + 2914 ], "loc": { "start": { - "line": 86, + "line": 117, "column": 8 }, "end": { - "line": 86, - "column": 56 + "line": 117, + "column": 51 } } }, @@ -6050,16 +6070,16 @@ "type": "Identifier", "name": "resetspan", "range": [ - 2527, - 2536 + 2927, + 2936 ], "loc": { "start": { - "line": 87, + "line": 118, "column": 12 }, "end": { - "line": 87, + "line": 118, "column": 21 } } @@ -6075,16 +6095,16 @@ "type": "Identifier", "name": "removeElm", "range": [ - 2552, - 2561 + 2952, + 2961 ], "loc": { "start": { - "line": 88, + "line": 119, "column": 12 }, "end": { - "line": 88, + "line": 119, "column": 21 } } @@ -6094,79 +6114,79 @@ "type": "Identifier", "name": "resetspan", "range": [ - 2562, - 2571 + 2962, + 2971 ], "loc": { "start": { - "line": 88, + "line": 119, "column": 22 }, "end": { - "line": 88, + "line": 119, "column": 31 } } } ], "range": [ - 2552, - 2572 + 2952, + 2972 ], "loc": { "start": { - "line": 88, + "line": 119, "column": 12 }, "end": { - "line": 88, + "line": 119, "column": 32 } } }, "range": [ - 2552, - 2573 + 2952, + 2973 ], "loc": { "start": { - "line": 88, + "line": 119, "column": 12 }, "end": { - "line": 88, + "line": 119, "column": 33 } } } ], "range": [ - 2538, - 2583 + 2938, + 2983 ], "loc": { "start": { - "line": 87, + "line": 118, "column": 23 }, "end": { - "line": 89, + "line": 120, "column": 9 } } }, "alternate": null, "range": [ - 2523, - 2583 + 2923, + 2983 ], "loc": { "start": { - "line": 87, + "line": 118, "column": 8 }, "end": { - "line": 89, + "line": 120, "column": 9 } } @@ -6182,50 +6202,50 @@ "object": { "type": "ThisExpression", "range": [ - 2592, - 2596 + 2992, + 2996 ], "loc": { "start": { - "line": 90, + "line": 121, "column": 8 }, "end": { - "line": 90, + "line": 121, "column": 12 } } }, "property": { "type": "Identifier", - "name": "btnResetEl", + "name": "element", "range": [ - 2597, - 2607 + 2997, + 3004 ], "loc": { "start": { - "line": 90, + "line": 121, "column": 13 }, "end": { - "line": 90, - "column": 23 + "line": 121, + "column": 20 } } }, "range": [ - 2592, - 2607 + 2992, + 3004 ], "loc": { "start": { - "line": 90, + "line": 121, "column": 8 }, "end": { - "line": 90, - "column": 23 + "line": 121, + "column": 20 } } }, @@ -6234,47 +6254,47 @@ "value": null, "raw": "null", "range": [ - 2610, - 2614 + 3007, + 3011 ], "loc": { "start": { - "line": 90, - "column": 26 + "line": 121, + "column": 23 }, "end": { - "line": 90, - "column": 30 + "line": 121, + "column": 27 } } }, "range": [ - 2592, - 2614 + 2992, + 3011 ], "loc": { "start": { - "line": 90, + "line": 121, "column": 8 }, "end": { - "line": 90, - "column": 30 + "line": 121, + "column": 27 } } }, "range": [ - 2592, - 2615 + 2992, + 3012 ], "loc": { "start": { - "line": 90, + "line": 121, "column": 8 }, "end": { - "line": 90, - "column": 31 + "line": 121, + "column": 28 } } }, @@ -6289,16 +6309,16 @@ "object": { "type": "ThisExpression", "range": [ - 2624, - 2628 + 3021, + 3025 ], "loc": { "start": { - "line": 91, + "line": 122, "column": 8 }, "end": { - "line": 91, + "line": 122, "column": 12 } } @@ -6307,31 +6327,31 @@ "type": "Identifier", "name": "initialized", "range": [ - 2629, - 2640 + 3026, + 3037 ], "loc": { "start": { - "line": 91, + "line": 122, "column": 13 }, "end": { - "line": 91, + "line": 122, "column": 24 } } }, "range": [ - 2624, - 2640 + 3021, + 3037 ], "loc": { "start": { - "line": 91, + "line": 122, "column": 8 }, "end": { - "line": 91, + "line": 122, "column": 24 } } @@ -6341,62 +6361,62 @@ "value": false, "raw": "false", "range": [ - 2643, - 2648 + 3040, + 3045 ], "loc": { "start": { - "line": 91, + "line": 122, "column": 27 }, "end": { - "line": 91, + "line": 122, "column": 32 } } }, "range": [ - 2624, - 2648 + 3021, + 3045 ], "loc": { "start": { - "line": 91, + "line": 122, "column": 8 }, "end": { - "line": 91, + "line": 122, "column": 32 } } }, "range": [ - 2624, - 2649 + 3021, + 3046 ], "loc": { "start": { - "line": 91, + "line": 122, "column": 8 }, "end": { - "line": 91, + "line": 122, "column": 33 } } } ], "range": [ - 2365, - 2655 + 2770, + 3052 ], "loc": { "start": { - "line": 79, + "line": 110, "column": 14 }, "end": { - "line": 92, + "line": 123, "column": 5 } } @@ -6404,16 +6424,16 @@ "generator": false, "expression": false, "range": [ - 2362, - 2655 + 2767, + 3052 ], "loc": { "start": { - "line": 79, + "line": 110, "column": 11 }, "end": { - "line": 92, + "line": 123, "column": 5 } } @@ -6421,34 +6441,34 @@ "kind": "method", "computed": false, "range": [ - 2355, - 2655 + 2760, + 3052 ], "loc": { "start": { - "line": 79, + "line": 110, "column": 4 }, "end": { - "line": 92, + "line": 123, "column": 5 } }, "leadingComments": [ { "type": "Block", - "value": "*\n * Remove clear button UI\n ", + "value": "*\n * Destroy ClearButton instance\n ", "range": [ - 2309, - 2350 + 2708, + 2755 ], "loc": { "start": { - "line": 76, + "line": 107, "column": 4 }, "end": { - "line": 78, + "line": 109, "column": 7 } } @@ -6458,59 +6478,98 @@ } ], "range": [ - 173, - 2657 + 210, + 3054 ], "loc": { "start": { - "line": 5, + "line": 8, "column": 41 }, "end": { - "line": 93, + "line": 124, "column": 1 } } }, "range": [ - 139, - 2657 + 176, + 3054 ], "loc": { "start": { - "line": 5, + "line": 8, "column": 7 }, "end": { - "line": 93, + "line": 124, "column": 1 } }, - "leadingComments": [], + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Clear button UI component\n ", + "range": [ + 132, + 168 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ], "trailingComments": [] }, "specifiers": [], "source": null, "range": [ - 132, - 2657 + 169, + 3054 ], "loc": { "start": { - "line": 5, + "line": 8, "column": 0 }, "end": { - "line": 93, + "line": 124, "column": 1 } - } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Clear button UI component\n ", + "range": [ + 132, + 168 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] } ], "sourceType": "module", "range": [ 0, - 2657 + 3054 ], "loc": { "start": { @@ -6518,169 +6577,187 @@ "column": 0 }, "end": { - "line": 93, + "line": 124, "column": 1 } }, "comments": [ { "type": "Block", - "value": "*\n * Clear button component\n * @param {Object} tf TableFilter instance\n ", + "value": "*\n * Clear button UI component\n ", "range": [ - 180, - 268 + 132, + 168 ], "loc": { "start": { + "line": 5, + "column": 0 + }, + "end": { "line": 7, - "column": 4 - }, - "end": { - "line": 10, - "column": 7 - } - } - }, - { - "type": "Line", - "value": " Configuration object", - "range": [ - 331, - 354 - ], - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 31 - } - } - }, - { - "type": "Line", - "value": "id of container element", - "range": [ - 393, - 418 - ], - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 33 - } - } - }, - { - "type": "Line", - "value": "reset button element", - "range": [ - 487, - 509 - ], - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 30 - } - } - }, - { - "type": "Line", - "value": "defines reset text", - "range": [ - 550, - 570 - ], - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 28 - } - } - }, - { - "type": "Line", - "value": "defines reset button tooltip", - "range": [ - 636, - 666 - ], - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 38 - } - } - }, - { - "type": "Line", - "value": "defines reset button innerHtml", - "range": [ - 746, - 778 - ], - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 40 - } - } - }, - { - "type": "Line", - "value": "span containing reset button", - "range": [ - 1020, - 1050 - ], - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 38 + "column": 3 } } }, { "type": "Block", - "value": "*\n * Build DOM elements\n ", + "value": "*\n * Creates an instance of ClearButton\n * @param {TableFilter} tf TableFilter instance\n ", "range": [ - 1223, - 1260 + 217, + 322 ], "loc": { "start": { - "line": 41, + "line": 10, "column": 4 }, "end": { - "line": 43, + "line": 13, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Container element ID\n * @type {String}\n ", + "range": [ + 415, + 488 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 22, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Clear button element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 553, + 650 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 29, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Text for the clear button\n * @type {String}\n ", + "range": [ + 689, + 767 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 35, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Tooltip text for the clear button\n * @type {String}\n ", + "range": [ + 826, + 912 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Custom Html string for the clear button\n * @type {String}\n ", + "range": [ + 985, + 1077 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Prefix fot ID of container element\n * @type {String}\n * @private\n ", + "range": [ + 1304, + 1411 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 57, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Click event handler for clear button\n * @private\n ", + "range": [ + 1461, + 1532 + ], + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 64, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Initialize clear button component\n ", + "range": [ + 1655, + 1707 + ], + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 74, "column": 7 } } @@ -6689,34 +6766,34 @@ "type": "Line", "value": " reset button is added to defined element", "range": [ - 1452, - 1495 + 1894, + 1937 ], "loc": { "start": { - "line": 53, + "line": 84, "column": 8 }, "end": { - "line": 53, + "line": 84, "column": 51 } } }, { "type": "Block", - "value": "*\n * Remove clear button UI\n ", + "value": "*\n * Destroy ClearButton instance\n ", "range": [ - 2309, - 2350 + 2708, + 2755 ], "loc": { "start": { - "line": 76, + "line": 107, "column": 4 }, "end": { - "line": 78, + "line": 109, "column": 7 } } diff --git a/docs/ast/source/tablefilter.js.json b/docs/ast/source/tablefilter.js.json index ebdc354c..19b81db6 100644 --- a/docs/ast/source/tablefilter.js.json +++ b/docs/ast/source/tablefilter.js.json @@ -110785,7 +110785,27 @@ "column": 36 } } + } + ], + "kind": "let", + "range": [ + 48652, + 48677 + ], + "loc": { + "start": { + "line": 1373, + "column": 12 }, + "end": { + "line": 1373, + "column": 37 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ { "type": "VariableDeclarator", "id": { @@ -110878,12 +110898,12 @@ ], "kind": "let", "range": [ - 48652, + 48690, 48717 ], "loc": { "start": { - "line": 1373, + "line": 1374, "column": 12 }, "end": { diff --git a/docs/class/src/emitter.js~Emitter.html b/docs/class/src/emitter.js~Emitter.html index ad7040c5..21198013 100644 --- a/docs/class/src/emitter.js~Emitter.html +++ b/docs/class/src/emitter.js~Emitter.html @@ -3,7 +3,7 @@ - Emitter | tablefilter v0.2.40 API Document + Emitter | tablefilter v0.2.41 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 14cee1e1..d58ba681 100644 --- a/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html +++ b/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html @@ -3,7 +3,7 @@ - AdapterEzEditTable | tablefilter v0.2.40 API Document + AdapterEzEditTable | tablefilter v0.2.41 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 d2beed2b..c4368d08 100644 --- a/docs/class/src/extensions/colOps/colOps.js~ColOps.html +++ b/docs/class/src/extensions/colOps/colOps.js~ColOps.html @@ -3,7 +3,7 @@ - ColOps | tablefilter v0.2.40 API Document + ColOps | tablefilter v0.2.41 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 5f596565..3b3dd7f6 100644 --- a/docs/class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html +++ b/docs/class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html @@ -3,7 +3,7 @@ - ColsVisibility | tablefilter v0.2.40 API Document + ColsVisibility | tablefilter v0.2.41 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 a81b69e7..671bc177 100644 --- a/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html +++ b/docs/class/src/extensions/filtersVisibility/filtersVisibility.js~FiltersVisibility.html @@ -3,7 +3,7 @@ - FiltersVisibility | tablefilter v0.2.40 API Document + FiltersVisibility | tablefilter v0.2.41 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 1d4c597d..63260963 100644 --- a/docs/class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html +++ b/docs/class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html @@ -3,7 +3,7 @@ - AdapterSortableTable | tablefilter v0.2.40 API Document + AdapterSortableTable | tablefilter v0.2.41 API Document diff --git a/docs/class/src/feature.js~Feature.html b/docs/class/src/feature.js~Feature.html index 9928c67e..9194bf23 100644 --- a/docs/class/src/feature.js~Feature.html +++ b/docs/class/src/feature.js~Feature.html @@ -3,7 +3,7 @@ - Feature | tablefilter v0.2.40 API Document + Feature | tablefilter v0.2.41 API Document diff --git a/docs/class/src/modules/alternateRows.js~AlternateRows.html b/docs/class/src/modules/alternateRows.js~AlternateRows.html index 9f33ca01..de8b37bf 100644 --- a/docs/class/src/modules/alternateRows.js~AlternateRows.html +++ b/docs/class/src/modules/alternateRows.js~AlternateRows.html @@ -3,7 +3,7 @@ - AlternateRows | tablefilter v0.2.40 API Document + AlternateRows | tablefilter v0.2.41 API Document diff --git a/docs/class/src/modules/checkList.js~CheckList.html b/docs/class/src/modules/checkList.js~CheckList.html index 675d1cd4..c99bace8 100644 --- a/docs/class/src/modules/checkList.js~CheckList.html +++ b/docs/class/src/modules/checkList.js~CheckList.html @@ -3,7 +3,7 @@ - CheckList | tablefilter v0.2.40 API Document + CheckList | tablefilter v0.2.41 API Document @@ -595,32 +595,6 @@ feature is enabled

- - - -
-

- onChange(evt: Event) -

-
-
- - -

Checklist change event handler

-
-
- - - - - - - - - public - - - @@ -1366,7 +1340,7 @@ feature is enabled

- source + source @@ -1491,7 +1465,7 @@ feature is enabled

- source + source @@ -1556,7 +1530,7 @@ feature is enabled

- source + source @@ -1631,7 +1605,7 @@ feature is enabled

- source + source @@ -1689,7 +1663,7 @@ feature is enabled

- source + source @@ -1730,7 +1704,7 @@ feature is enabled

- source + source @@ -1799,7 +1773,7 @@ feature is enabled

- source + source @@ -1859,63 +1833,6 @@ feature is enabled

- -
-

- public - - - - - onChange(evt: Event) - - - - source - -

- - - - -

Checklist change event handler

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
evtEvent
-
-
- - - - - - - - - - - - - - -

@@ -1928,7 +1845,7 @@ feature is enabled

- source + source

@@ -1985,7 +1902,7 @@ feature is enabled

- source + source @@ -2042,7 +1959,7 @@ feature is enabled

- source + source @@ -2107,7 +2024,7 @@ feature is enabled

- source + source diff --git a/docs/class/src/modules/clearButton.js~ClearButton.html b/docs/class/src/modules/clearButton.js~ClearButton.html index 3a452279..d3fd7301 100644 --- a/docs/class/src/modules/clearButton.js~ClearButton.html +++ b/docs/class/src/modules/clearButton.js~ClearButton.html @@ -3,7 +3,7 @@ - ClearButton | tablefilter v0.2.40 API Document + ClearButton | tablefilter v0.2.41 API Document @@ -115,13 +115,13 @@
-
import {ClearButton} from 'tablefilter/src/modules/clearButton.js'
+
import {ClearButton} from 'tablefilter/src/modules/clearButton.js'
public class - | source + | source
@@ -141,7 +141,8 @@ - +

Clear button UI component

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

- constructor(tf: Object) + constructor(tf: TableFilter)

-

Clear button component

+

Creates an instance of ClearButton

@@ -202,113 +203,14 @@

- btnResetEl: * + html: String

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

- btnResetHtml: * -

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

- btnResetText: * -

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

- btnResetTgtId: * -

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

- btnResetTooltip: * -

-
-
- - - +

Custom Html string for the clear button

+
@@ -352,13 +254,66 @@

- prfxResetSpan: string + targetId: String

+

Container element ID

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

+ text: String +

+
+
+ +

Text for the clear button

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

+ tooltip: String +

+
+
+ + +

Tooltip text for the clear button

+
@@ -390,7 +345,7 @@
-

Remove clear button UI

+

Destroy ClearButton instance

@@ -416,38 +371,13 @@
-

Build DOM elements

+

Initialize clear button component

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

- onClick() -

-
-
- - - -
- - - - @@ -785,18 +715,18 @@ - constructor(tf: Object) + constructor(tf: TableFilter) - source + source -

Clear button component

+

Creates an instance of ClearButton

@@ -811,7 +741,7 @@ tf - Object + TableFilter

TableFilter instance

@@ -840,187 +770,28 @@

Public Members

-

+

public - btnResetEl: * + html: String - source + source

- - - - -
+

Custom Html string for the clear button

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

- public - - - - - btnResetHtml: * - - - - source - -

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

- public - - - - - btnResetText: * - - - - source - -

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

- public - - - - - btnResetTgtId: * - - - - source - -

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

- public - - - - - btnResetTooltip: * - - - - source - -

- - - - - - - -
@@ -1050,7 +821,7 @@ - source + source @@ -1080,25 +851,108 @@
-

+

public - prfxResetSpan: string + targetId: String - source + source

+

Container element ID

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

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

+ + + + +

Text for the clear button

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

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

+ + + + +

Tooltip text for the clear button

+
+
@@ -1133,14 +987,14 @@ - source + source -

Remove clear button UI

+

Destroy ClearButton instance

@@ -1174,14 +1028,14 @@ - source + source -

Build DOM elements

+

Initialize clear button component

Override:

Feature#init
@@ -1203,46 +1057,6 @@ -
-
-

- public - - - - - onClick() - - - - source - -

- - - - - - - - -
-
- - - - - - - - - - - - - - -
diff --git a/docs/class/src/modules/dropdown.js~Dropdown.html b/docs/class/src/modules/dropdown.js~Dropdown.html index 70f7787f..c586a579 100644 --- a/docs/class/src/modules/dropdown.js~Dropdown.html +++ b/docs/class/src/modules/dropdown.js~Dropdown.html @@ -3,7 +3,7 @@ - Dropdown | tablefilter v0.2.40 API Document + Dropdown | tablefilter v0.2.41 API Document diff --git a/docs/class/src/modules/gridLayout.js~GridLayout.html b/docs/class/src/modules/gridLayout.js~GridLayout.html index 689fe72d..a97731f5 100644 --- a/docs/class/src/modules/gridLayout.js~GridLayout.html +++ b/docs/class/src/modules/gridLayout.js~GridLayout.html @@ -3,7 +3,7 @@ - GridLayout | tablefilter v0.2.40 API Document + GridLayout | tablefilter v0.2.41 API Document diff --git a/docs/class/src/modules/hash.js~Hash.html b/docs/class/src/modules/hash.js~Hash.html index 2e62d4d3..01b6eb82 100644 --- a/docs/class/src/modules/hash.js~Hash.html +++ b/docs/class/src/modules/hash.js~Hash.html @@ -3,7 +3,7 @@ - Hash | tablefilter v0.2.40 API Document + Hash | tablefilter v0.2.41 API Document diff --git a/docs/class/src/modules/help.js~Help.html b/docs/class/src/modules/help.js~Help.html index f92d7904..b7fe06ad 100644 --- a/docs/class/src/modules/help.js~Help.html +++ b/docs/class/src/modules/help.js~Help.html @@ -3,7 +3,7 @@ - Help | tablefilter v0.2.40 API Document + Help | tablefilter v0.2.41 API Document diff --git a/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html b/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html index c49b7d47..7a6cfd46 100644 --- a/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html +++ b/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html @@ -3,7 +3,7 @@ - HighlightKeyword | tablefilter v0.2.40 API Document + HighlightKeyword | tablefilter v0.2.41 API Document diff --git a/docs/class/src/modules/loader.js~Loader.html b/docs/class/src/modules/loader.js~Loader.html index 138399f1..8259eba7 100644 --- a/docs/class/src/modules/loader.js~Loader.html +++ b/docs/class/src/modules/loader.js~Loader.html @@ -3,7 +3,7 @@ - Loader | tablefilter v0.2.40 API Document + Loader | tablefilter v0.2.41 API Document diff --git a/docs/class/src/modules/noResults.js~NoResults.html b/docs/class/src/modules/noResults.js~NoResults.html index d643096c..a1bb52dc 100644 --- a/docs/class/src/modules/noResults.js~NoResults.html +++ b/docs/class/src/modules/noResults.js~NoResults.html @@ -3,7 +3,7 @@ - NoResults | tablefilter v0.2.40 API Document + NoResults | tablefilter v0.2.41 API Document diff --git a/docs/class/src/modules/paging.js~Paging.html b/docs/class/src/modules/paging.js~Paging.html index 3e47a983..b6d0ada7 100644 --- a/docs/class/src/modules/paging.js~Paging.html +++ b/docs/class/src/modules/paging.js~Paging.html @@ -3,7 +3,7 @@ - Paging | tablefilter v0.2.40 API Document + Paging | tablefilter v0.2.41 API Document diff --git a/docs/class/src/modules/popupFilter.js~PopupFilter.html b/docs/class/src/modules/popupFilter.js~PopupFilter.html index 7da6645e..74a366cb 100644 --- a/docs/class/src/modules/popupFilter.js~PopupFilter.html +++ b/docs/class/src/modules/popupFilter.js~PopupFilter.html @@ -3,7 +3,7 @@ - PopupFilter | tablefilter v0.2.40 API Document + PopupFilter | tablefilter v0.2.41 API Document diff --git a/docs/class/src/modules/rowsCounter.js~RowsCounter.html b/docs/class/src/modules/rowsCounter.js~RowsCounter.html index a6ade3aa..32459f66 100644 --- a/docs/class/src/modules/rowsCounter.js~RowsCounter.html +++ b/docs/class/src/modules/rowsCounter.js~RowsCounter.html @@ -3,7 +3,7 @@ - RowsCounter | tablefilter v0.2.40 API Document + RowsCounter | tablefilter v0.2.41 API Document diff --git a/docs/class/src/modules/state.js~State.html b/docs/class/src/modules/state.js~State.html index a699350e..0f47773f 100644 --- a/docs/class/src/modules/state.js~State.html +++ b/docs/class/src/modules/state.js~State.html @@ -3,7 +3,7 @@ - State | tablefilter v0.2.40 API Document + State | tablefilter v0.2.41 API Document diff --git a/docs/class/src/modules/statusBar.js~StatusBar.html b/docs/class/src/modules/statusBar.js~StatusBar.html index 02845172..cb62d7ed 100644 --- a/docs/class/src/modules/statusBar.js~StatusBar.html +++ b/docs/class/src/modules/statusBar.js~StatusBar.html @@ -3,7 +3,7 @@ - StatusBar | tablefilter v0.2.40 API Document + StatusBar | tablefilter v0.2.41 API Document diff --git a/docs/class/src/modules/storage.js~Storage.html b/docs/class/src/modules/storage.js~Storage.html index 844fa839..44e38138 100644 --- a/docs/class/src/modules/storage.js~Storage.html +++ b/docs/class/src/modules/storage.js~Storage.html @@ -3,7 +3,7 @@ - Storage | tablefilter v0.2.40 API Document + Storage | tablefilter v0.2.41 API Document diff --git a/docs/class/src/tablefilter.js~TableFilter.html b/docs/class/src/tablefilter.js~TableFilter.html index 1b37c944..0d5b62a0 100644 --- a/docs/class/src/tablefilter.js~TableFilter.html +++ b/docs/class/src/tablefilter.js~TableFilter.html @@ -3,7 +3,7 @@ - TableFilter | tablefilter v0.2.40 API Document + TableFilter | tablefilter v0.2.41 API Document diff --git a/docs/coverage.json b/docs/coverage.json index 3ff480c3..2b4a2656 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,7 +1,7 @@ { - "coverage": "38.27%", - "expectCount": 776, - "actualCount": 297, + "coverage": "38.98%", + "expectCount": 772, + "actualCount": 301, "files": { "src/const.js": { "expectCount": 13, @@ -60,25 +60,17 @@ ] }, "src/modules/checkList.js": { - "expectCount": 22, - "actualCount": 21, + "expectCount": 21, + "actualCount": 20, "undocumentLines": [ - 196 + 190 ] }, "src/modules/clearButton.js": { - "expectCount": 12, - "actualCount": 3, + "expectCount": 9, + "actualCount": 8, "undocumentLines": [ - 5, - 20, - 26, - 22, - 18, - 24, - 73, - 34, - 31 + 104 ] }, "src/extensions/colOps/colOps.js": { diff --git a/docs/dump.json b/docs/dump.json index bd108ba2..ff23f5e9 100644 --- a/docs/dump.json +++ b/docs/dump.json @@ -5836,7 +5836,7 @@ "access": null, "description": null, "lineNumber": 1, - "content": "import {Feature} from '../feature';\nimport {\n addClass, createCheckItem, createText, createElm, elm, getText,\n removeClass, tag\n} from '../dom';\nimport {has} from '../array';\nimport {matchCase, trim, rgxEsc} from '../string';\nimport {ignoreCase, numSortAsc, numSortDesc} from '../sort';\nimport {addEvt, removeEvt, targetEvt} from '../event';\nimport {isEmpty} from '../types';\nimport {CHECKLIST, NONE} from '../const';\n\nconst SORT_ERROR = 'Filter options for column {0} cannot be sorted in ' +\n '{1} manner.';\n\n/**\n * Checklist filter UI component\n */\nexport class CheckList extends Feature {\n\n /**\n * Creates an instance of CheckList\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'checkList');\n\n let f = this.config;\n\n /**\n * List of container DOM elements\n * @type {Array}\n */\n this.containers = [];\n\n /**\n * Css class for the container of the checklist filter (div)\n * @type {String}\n */\n this.containerCssClass = f.div_checklist_css_class || 'div_checklist';\n\n /**\n * Css class for the checklist filter element (ul)\n * @type {String}\n */\n this.filterCssClass = f.checklist_css_class || 'flt_checklist';\n\n /**\n * Css class for the item of a checklist (li)\n * @type {String}\n */\n this.itemCssClass = f.checklist_item_css_class || 'flt_checklist_item';\n\n /**\n * Css class for a selected item of a checklist (li)\n * @type {String}\n */\n this.selectedItemCssClass =\n f.checklist_selected_item_css_class || 'flt_checklist_slc_item';\n\n /**\n * Text placed in the filter's container when load filter on demand\n * feature is enabled\n * @type {String}\n */\n this.activateText =\n f.activate_checklist_text || 'Click to load filter data';\n\n /**\n * Css class for a disabled item of a checklist (li)\n * @type {String}\n */\n this.disabledItemCssClass = f.checklist_item_disabled_css_class ||\n 'flt_checklist_item_disabled';\n\n /**\n * Enable the reset filter option as first item\n * @type {Boolean}\n */\n this.enableResetOption = f.enable_checklist_reset_filter === false ?\n false : true;\n\n /**\n * Prefix for container element ID\n * @type {String}\n * @private\n */\n this.prfx = 'chkdiv_';\n\n /**\n * Has custom options\n * @type {Boolean}\n * @private\n */\n this.isCustom = false;\n\n /**\n * List of options values\n * @type {Array}\n * @private\n */\n this.opts = [];\n\n /**\n * List of options texts for custom values\n * @type {Array}\n * @private\n */\n this.optsTxt = [];\n\n /**\n * List of options to be excluded from the checklist filter\n * @type {Array}\n * @private\n */\n this.excludedOpts = [];\n }\n\n /**\n * Checklist change event handler\n * @param {Event} evt\n */\n onChange(evt) {\n let elm = targetEvt(evt);\n let tf = this.tf;\n this.emitter.emit('filter-focus', tf, elm);\n tf.filter();\n }\n\n /**\n * Checklist option click event handler\n * @param {Event} evt\n */\n optionClick(evt) {\n this.setCheckListValues(evt.target);\n }\n\n /**\n * Checklist container click event handler for load-on-demand feature\n * @param {Event} evt\n */\n onCheckListClick(evt) {\n let elm = targetEvt(evt);\n if (this.tf.loadFltOnDemand && elm.getAttribute('filled') === '0') {\n let ct = elm.getAttribute('ct');\n let div = this.containers[ct];\n this.build(ct);\n removeEvt(div, 'click', (evt) => this.onCheckListClick(evt));\n }\n }\n\n /**\n * Initialize checklist filter\n * @param {Number} colIndex Column index\n * @param {Boolean} isExternal External filter flag\n * @param {DOMElement} container Dom element containing the filter\n */\n init(colIndex, isExternal, container) {\n let tf = this.tf;\n let externalFltTgtId = isExternal ?\n tf.externalFltTgtIds[colIndex] : null;\n\n let divCont = createElm('div',\n ['id', this.prfx + colIndex + '_' + tf.id],\n ['ct', colIndex], ['filled', '0']);\n divCont.className = this.containerCssClass;\n\n //filter is appended in desired element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(divCont);\n tf.externalFltEls.push(divCont);\n } else {\n container.appendChild(divCont);\n }\n\n this.containers[colIndex] = divCont;\n tf.fltIds.push(tf.prfxFlt + colIndex + '_' + tf.id);\n\n if (!tf.loadFltOnDemand) {\n this.build(colIndex);\n } else {\n addEvt(divCont, 'click', (evt) => this.onCheckListClick(evt));\n divCont.appendChild(createText(this.activateText));\n }\n\n this.emitter.on(\n ['build-checklist-filter'],\n (tf, colIndex, isExternal) => this.build(colIndex, isExternal)\n );\n\n this.emitter.on(\n ['select-checklist-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n\n this.initialized = true;\n }\n\n /**\n * Build checklist UI\n * @param {Number} colIndex Column index\n */\n build(colIndex) {\n let tf = this.tf;\n colIndex = parseInt(colIndex, 10);\n\n this.emitter.emit('before-populating-filter', tf, colIndex);\n\n this.opts = [];\n this.optsTxt = [];\n\n let flt = this.containers[colIndex];\n let ul = createElm('ul', ['id', tf.fltIds[colIndex]],\n ['colIndex', colIndex]);\n ul.className = this.filterCssClass;\n addEvt(ul, 'change', (evt) => this.onChange(evt));\n\n let rows = tf.tbl.rows;\n let nbRows = tf.getRowsNb(true);\n let caseSensitive = tf.caseSensitive;\n this.isCustom = tf.isCustomOptions(colIndex);\n\n let activeIdx;\n let activeFilterId = tf.getActiveFilterId();\n if (tf.linkedFilters && activeFilterId) {\n activeIdx = tf.getColumnIndexFromFilterId(activeFilterId);\n }\n\n let filteredDataCol = [];\n if (tf.linkedFilters && tf.disableExcludedOptions) {\n this.excludedOpts = [];\n }\n\n flt.innerHTML = '';\n\n for (let k = tf.refRow; k < nbRows; k++) {\n // always visible rows don't need to appear on selects as always\n // valid\n if (tf.hasVisibleRows && tf.visibleRows.indexOf(k) !== -1) {\n continue;\n }\n\n let cells = rows[k].cells;\n let ncells = cells.length;\n\n // checks if row has exact cell #\n if (ncells !== tf.nbCells || this.isCustom) {\n continue;\n }\n\n // this loop retrieves cell data\n for (let j = 0; j < ncells; j++) {\n // WTF: cyclomatic complexity hell :)\n if ((colIndex === j && (!tf.linkedFilters ||\n (tf.linkedFilters && tf.disableExcludedOptions))) ||\n (colIndex === j && tf.linkedFilters &&\n ((rows[k].style.display === '' && !tf.paging) ||\n (tf.paging && ((!activeIdx ||\n activeIdx === colIndex) ||\n (activeIdx !== colIndex &&\n tf.validRowsIndex.indexOf(k) !== -1)))))) {\n\n let cellData = tf.getCellData(cells[j]);\n //Vary Peter's patch\n let cellString = matchCase(cellData, caseSensitive);\n // checks if celldata is already in array\n if (!has(this.opts, cellString, caseSensitive)) {\n this.opts.push(cellData);\n }\n let filteredCol = filteredDataCol[j];\n if (tf.linkedFilters && tf.disableExcludedOptions) {\n if (!filteredCol) {\n filteredCol = tf.getFilteredDataCol(j);\n }\n if (!has(filteredCol, cellString, caseSensitive) &&\n !has(this.excludedOpts, cellString,\n caseSensitive)) {\n this.excludedOpts.push(cellData);\n }\n }\n }\n }\n }\n\n //Retrieves custom values\n if (this.isCustom) {\n let customValues = tf.getCustomOptions(colIndex);\n this.opts = customValues[0];\n this.optsTxt = customValues[1];\n }\n\n if (tf.sortSlc && !this.isCustom) {\n if (!caseSensitive) {\n this.opts.sort(ignoreCase);\n if (this.excludedOpts) {\n this.excludedOpts.sort(ignoreCase);\n }\n } else {\n this.opts.sort();\n if (this.excludedOpts) {\n this.excludedOpts.sort();\n }\n }\n }\n //asc sort\n if (tf.sortNumAsc.indexOf(colIndex) !== -1) {\n try {\n this.opts.sort(numSortAsc);\n if (this.excludedOpts) {\n this.excludedOpts.sort(numSortAsc);\n }\n if (this.isCustom) {\n this.optsTxt.sort(numSortAsc);\n }\n } catch (e) {\n throw new Error(SORT_ERROR.replace('{0}', colIndex)\n .replace('{1}', 'ascending'));\n }//in case there are alphanumeric values\n }\n //desc sort\n if (tf.sortNumDesc.indexOf(colIndex) !== -1) {\n try {\n this.opts.sort(numSortDesc);\n if (this.excludedOpts) {\n this.excludedOpts.sort(numSortDesc);\n }\n if (this.isCustom) {\n this.optsTxt.sort(numSortDesc);\n }\n } catch (e) {\n throw new Error(SORT_ERROR.replace('{0}', colIndex)\n .replace('{1}', 'descending'));\n }//in case there are alphanumeric values\n }\n\n this.addChecks(colIndex, ul);\n\n if (tf.loadFltOnDemand) {\n flt.innerHTML = '';\n }\n flt.appendChild(ul);\n flt.setAttribute('filled', '1');\n\n this.emitter.emit('after-populating-filter', tf, colIndex, flt);\n }\n\n /**\n * Add checklist options\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n */\n addChecks(colIndex, ul) {\n let tf = this.tf;\n let chkCt = this.addTChecks(colIndex, ul);\n\n for (let y = 0; y < this.opts.length; y++) {\n let val = this.opts[y]; //item value\n let lbl = this.isCustom ? this.optsTxt[y] : val; //item text\n let li = createCheckItem(tf.fltIds[colIndex] + '_' + (y + chkCt),\n val, lbl);\n li.className = this.itemCssClass;\n\n if (tf.linkedFilters && tf.disableExcludedOptions &&\n has(this.excludedOpts, matchCase(val, tf.caseSensitive),\n tf.caseSensitive)) {\n addClass(li, this.disabledItemCssClass);\n li.check.disabled = true;\n li.disabled = true;\n } else {\n addEvt(li.check, 'click', evt => this.optionClick(evt));\n }\n ul.appendChild(li);\n\n if (val === '') {\n //item is hidden\n li.style.display = NONE;\n }\n }\n }\n\n /**\n * Add checklist header option\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n */\n addTChecks(colIndex, ul) {\n let tf = this.tf;\n let chkCt = 1;\n let li0 = createCheckItem(tf.fltIds[colIndex] + '_0', '',\n tf.displayAllText);\n li0.className = this.itemCssClass;\n ul.appendChild(li0);\n\n addEvt(li0.check, 'click', evt => this.optionClick(evt));\n\n if (!this.enableResetOption) {\n li0.style.display = NONE;\n }\n\n if (tf.enableEmptyOption) {\n let li1 = createCheckItem(tf.fltIds[colIndex] + '_1',\n tf.emOperator, tf.emptyText);\n li1.className = this.itemCssClass;\n ul.appendChild(li1);\n addEvt(li1.check, 'click', evt => this.optionClick(evt));\n chkCt++;\n }\n\n if (tf.enableNonEmptyOption) {\n let li2 = createCheckItem(tf.fltIds[colIndex] + '_2', tf.nmOperator,\n tf.nonEmptyText);\n li2.className = this.itemCssClass;\n ul.appendChild(li2);\n addEvt(li2.check, 'click', evt => this.optionClick(evt));\n chkCt++;\n }\n return chkCt;\n }\n\n /**\n * Store checked options in DOM element attribute\n * @param {Object} o checklist option DOM element\n */\n setCheckListValues(o) {\n if (!o) {\n return;\n }\n\n let tf = this.tf;\n let chkValue = o.value; //checked item value\n // TODO: provide helper to extract column index, ugly!\n let chkIndex = parseInt(o.id.split('_')[2], 10);\n let colIdx = tf.getColumnIndexFromFilterId(o.id);\n let itemTag = 'LI';\n\n let n = tf.getFilterElement(parseInt(colIdx, 10));\n let li = n.childNodes[chkIndex];\n let colIndex = n.getAttribute('colIndex');\n let fltValue = n.getAttribute('value'); //filter value (ul tag)\n let fltIndexes = n.getAttribute('indexes'); //selected items (ul tag)\n\n if (o.checked) {\n //show all item\n if (chkValue === '') {\n if ((fltIndexes && fltIndexes !== '')) {\n //items indexes\n let indSplit = fltIndexes.split(tf.separator);\n //checked items loop\n for (let u = 0; u < indSplit.length; u++) {\n //checked item\n let cChk = elm(tf.fltIds[colIndex] + '_' +\n indSplit[u]);\n if (cChk) {\n cChk.checked = false;\n removeClass(n.childNodes[indSplit[u]],\n this.selectedItemCssClass);\n }\n }\n }\n n.setAttribute('value', '');\n n.setAttribute('indexes', '');\n\n } else {\n fltValue = (fltValue) ? fltValue : '';\n chkValue = trim(fltValue + ' ' + chkValue + ' ' +\n tf.orOperator);\n chkIndex = fltIndexes + chkIndex + tf.separator;\n n.setAttribute('value', chkValue);\n n.setAttribute('indexes', chkIndex);\n //1st option unchecked\n if (elm(tf.fltIds[colIndex] + '_0')) {\n elm(tf.fltIds[colIndex] + '_0').checked = false;\n }\n }\n\n if (li.nodeName === itemTag) {\n removeClass(n.childNodes[0], this.selectedItemCssClass);\n addClass(li, this.selectedItemCssClass);\n }\n } else { //removes values and indexes\n if (chkValue !== '') {\n let replaceValue = new RegExp(\n rgxEsc(chkValue + ' ' + tf.orOperator));\n fltValue = fltValue.replace(replaceValue, '');\n n.setAttribute('value', trim(fltValue));\n\n let replaceIndex = new RegExp(\n rgxEsc(chkIndex + tf.separator));\n fltIndexes = fltIndexes.replace(replaceIndex, '');\n n.setAttribute('indexes', fltIndexes);\n }\n if (li.nodeName === itemTag) {\n removeClass(li, this.selectedItemCssClass);\n }\n }\n }\n\n /**\n * Select filter options programmatically\n * @param {Number} colIndex Column index\n * @param {Array} values Array of option values to select\n */\n selectOptions(colIndex, values = []) {\n let tf = this.tf;\n let flt = tf.getFilterElement(colIndex);\n if (tf.getFilterType(colIndex) !== CHECKLIST || !flt) {\n return;\n }\n\n let lisNb = tag(flt, 'li').length;\n\n flt.setAttribute('value', '');\n flt.setAttribute('indexes', '');\n\n for (let k = 0; k < lisNb; k++) {\n let li = tag(flt, 'li')[k];\n let lbl = tag(li, 'label')[0];\n let chk = tag(li, 'input')[0];\n let lblTxt = matchCase(getText(lbl), tf.caseSensitive);\n\n if (lblTxt !== '' && has(values, lblTxt, tf.caseSensitive)) {\n chk.checked = true;\n } else {\n // Check non-empty-text or empty-text option\n if (values.indexOf(tf.nmOperator) !== -1 &&\n lblTxt === matchCase(tf.nonEmptyText, tf.caseSensitive)) {\n chk.checked = true;\n }\n else if (values.indexOf(tf.emOperator) !== -1 &&\n lblTxt === matchCase(tf.emptyText, tf.caseSensitive)) {\n chk.checked = true;\n } else {\n chk.checked = false;\n }\n }\n this.setCheckListValues(chk);\n }\n }\n\n /**\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Collection of selected values\n */\n getValues(colIndex) {\n let tf = this.tf;\n let flt = tf.getFilterElement(colIndex);\n let fltAttr = flt.getAttribute('value');\n let values = isEmpty(fltAttr) ? '' : fltAttr;\n\n //removes last operator ||\n values = values.substr(0, values.length - 3);\n //turn || separated values into array\n values = values.split(' ' + tf.orOperator + ' ');\n\n return values;\n }\n\n /**\n * Destroy CheckList instance\n */\n destroy() {\n this.emitter.off(\n ['build-checklist-filter'],\n (tf, colIndex, isExternal) => this.build(colIndex, isExternal)\n );\n this.emitter.off(\n ['select-checklist-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n }\n}\n" + "content": "import {Feature} from '../feature';\nimport {\n addClass, createCheckItem, createText, createElm, elm, getText,\n removeClass, tag\n} from '../dom';\nimport {has} from '../array';\nimport {matchCase, trim, rgxEsc} from '../string';\nimport {ignoreCase, numSortAsc, numSortDesc} from '../sort';\nimport {addEvt, removeEvt, targetEvt} from '../event';\nimport {isEmpty} from '../types';\nimport {CHECKLIST, NONE} from '../const';\n\nconst SORT_ERROR = 'Filter options for column {0} cannot be sorted in ' +\n '{1} manner.';\n\n/**\n * Checklist filter UI component\n */\nexport class CheckList extends Feature {\n\n /**\n * Creates an instance of CheckList\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'checkList');\n\n let f = this.config;\n\n /**\n * List of container DOM elements\n * @type {Array}\n */\n this.containers = [];\n\n /**\n * Css class for the container of the checklist filter (div)\n * @type {String}\n */\n this.containerCssClass = f.div_checklist_css_class || 'div_checklist';\n\n /**\n * Css class for the checklist filter element (ul)\n * @type {String}\n */\n this.filterCssClass = f.checklist_css_class || 'flt_checklist';\n\n /**\n * Css class for the item of a checklist (li)\n * @type {String}\n */\n this.itemCssClass = f.checklist_item_css_class || 'flt_checklist_item';\n\n /**\n * Css class for a selected item of a checklist (li)\n * @type {String}\n */\n this.selectedItemCssClass =\n f.checklist_selected_item_css_class || 'flt_checklist_slc_item';\n\n /**\n * Text placed in the filter's container when load filter on demand\n * feature is enabled\n * @type {String}\n */\n this.activateText =\n f.activate_checklist_text || 'Click to load filter data';\n\n /**\n * Css class for a disabled item of a checklist (li)\n * @type {String}\n */\n this.disabledItemCssClass = f.checklist_item_disabled_css_class ||\n 'flt_checklist_item_disabled';\n\n /**\n * Enable the reset filter option as first item\n * @type {Boolean}\n */\n this.enableResetOption = f.enable_checklist_reset_filter === false ?\n false : true;\n\n /**\n * Prefix for container element ID\n * @type {String}\n * @private\n */\n this.prfx = 'chkdiv_';\n\n /**\n * Has custom options\n * @type {Boolean}\n * @private\n */\n this.isCustom = false;\n\n /**\n * List of options values\n * @type {Array}\n * @private\n */\n this.opts = [];\n\n /**\n * List of options texts for custom values\n * @type {Array}\n * @private\n */\n this.optsTxt = [];\n\n /**\n * List of options to be excluded from the checklist filter\n * @type {Array}\n * @private\n */\n this.excludedOpts = [];\n }\n\n /**\n * Checklist option click event handler\n * @param {Event} evt\n */\n optionClick(evt) {\n let elm = targetEvt(evt);\n let tf = this.tf;\n\n this.emitter.emit('filter-focus', tf, elm);\n this.setCheckListValues(elm);\n tf.filter();\n }\n\n /**\n * Checklist container click event handler for load-on-demand feature\n * @param {Event} evt\n */\n onCheckListClick(evt) {\n let elm = targetEvt(evt);\n if (this.tf.loadFltOnDemand && elm.getAttribute('filled') === '0') {\n let ct = elm.getAttribute('ct');\n let div = this.containers[ct];\n this.build(ct);\n removeEvt(div, 'click', (evt) => this.onCheckListClick(evt));\n }\n }\n\n /**\n * Initialize checklist filter\n * @param {Number} colIndex Column index\n * @param {Boolean} isExternal External filter flag\n * @param {DOMElement} container Dom element containing the filter\n */\n init(colIndex, isExternal, container) {\n let tf = this.tf;\n let externalFltTgtId = isExternal ?\n tf.externalFltTgtIds[colIndex] : null;\n\n let divCont = createElm('div',\n ['id', this.prfx + colIndex + '_' + tf.id],\n ['ct', colIndex], ['filled', '0']);\n divCont.className = this.containerCssClass;\n\n //filter is appended in desired element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(divCont);\n tf.externalFltEls.push(divCont);\n } else {\n container.appendChild(divCont);\n }\n\n this.containers[colIndex] = divCont;\n tf.fltIds.push(tf.prfxFlt + colIndex + '_' + tf.id);\n\n if (!tf.loadFltOnDemand) {\n this.build(colIndex);\n } else {\n addEvt(divCont, 'click', (evt) => this.onCheckListClick(evt));\n divCont.appendChild(createText(this.activateText));\n }\n\n this.emitter.on(\n ['build-checklist-filter'],\n (tf, colIndex) => this.build(colIndex)\n );\n\n this.emitter.on(\n ['select-checklist-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n\n this.initialized = true;\n }\n\n /**\n * Build checklist UI\n * @param {Number} colIndex Column index\n */\n build(colIndex) {\n let tf = this.tf;\n colIndex = parseInt(colIndex, 10);\n\n this.emitter.emit('before-populating-filter', tf, colIndex);\n\n this.opts = [];\n this.optsTxt = [];\n\n let flt = this.containers[colIndex];\n let ul = createElm('ul', ['id', tf.fltIds[colIndex]],\n ['colIndex', colIndex]);\n ul.className = this.filterCssClass;\n\n let rows = tf.tbl.rows;\n let nbRows = tf.getRowsNb(true);\n let caseSensitive = tf.caseSensitive;\n this.isCustom = tf.isCustomOptions(colIndex);\n\n let activeIdx;\n let activeFilterId = tf.getActiveFilterId();\n if (tf.linkedFilters && activeFilterId) {\n activeIdx = tf.getColumnIndexFromFilterId(activeFilterId);\n }\n\n let filteredDataCol = [];\n if (tf.linkedFilters && tf.disableExcludedOptions) {\n this.excludedOpts = [];\n }\n\n flt.innerHTML = '';\n\n for (let k = tf.refRow; k < nbRows; k++) {\n // always visible rows don't need to appear on selects as always\n // valid\n if (tf.hasVisibleRows && tf.visibleRows.indexOf(k) !== -1) {\n continue;\n }\n\n let cells = rows[k].cells;\n let ncells = cells.length;\n\n // checks if row has exact cell #\n if (ncells !== tf.nbCells || this.isCustom) {\n continue;\n }\n\n // this loop retrieves cell data\n for (let j = 0; j < ncells; j++) {\n // WTF: cyclomatic complexity hell :)\n if ((colIndex === j && (!tf.linkedFilters ||\n (tf.linkedFilters && tf.disableExcludedOptions))) ||\n (colIndex === j && tf.linkedFilters &&\n ((rows[k].style.display === '' && !tf.paging) ||\n (tf.paging && ((!activeIdx ||\n activeIdx === colIndex) ||\n (activeIdx !== colIndex &&\n tf.validRowsIndex.indexOf(k) !== -1)))))) {\n\n let cellData = tf.getCellData(cells[j]);\n //Vary Peter's patch\n let cellString = matchCase(cellData, caseSensitive);\n // checks if celldata is already in array\n if (!has(this.opts, cellString, caseSensitive)) {\n this.opts.push(cellData);\n }\n let filteredCol = filteredDataCol[j];\n if (tf.linkedFilters && tf.disableExcludedOptions) {\n if (!filteredCol) {\n filteredCol = tf.getFilteredDataCol(j);\n }\n if (!has(filteredCol, cellString, caseSensitive) &&\n !has(this.excludedOpts, cellString,\n caseSensitive)) {\n this.excludedOpts.push(cellData);\n }\n }\n }\n }\n }\n\n //Retrieves custom values\n if (this.isCustom) {\n let customValues = tf.getCustomOptions(colIndex);\n this.opts = customValues[0];\n this.optsTxt = customValues[1];\n }\n\n if (tf.sortSlc && !this.isCustom) {\n if (!caseSensitive) {\n this.opts.sort(ignoreCase);\n if (this.excludedOpts) {\n this.excludedOpts.sort(ignoreCase);\n }\n } else {\n this.opts.sort();\n if (this.excludedOpts) {\n this.excludedOpts.sort();\n }\n }\n }\n //asc sort\n if (tf.sortNumAsc.indexOf(colIndex) !== -1) {\n try {\n this.opts.sort(numSortAsc);\n if (this.excludedOpts) {\n this.excludedOpts.sort(numSortAsc);\n }\n if (this.isCustom) {\n this.optsTxt.sort(numSortAsc);\n }\n } catch (e) {\n throw new Error(SORT_ERROR.replace('{0}', colIndex)\n .replace('{1}', 'ascending'));\n }//in case there are alphanumeric values\n }\n //desc sort\n if (tf.sortNumDesc.indexOf(colIndex) !== -1) {\n try {\n this.opts.sort(numSortDesc);\n if (this.excludedOpts) {\n this.excludedOpts.sort(numSortDesc);\n }\n if (this.isCustom) {\n this.optsTxt.sort(numSortDesc);\n }\n } catch (e) {\n throw new Error(SORT_ERROR.replace('{0}', colIndex)\n .replace('{1}', 'descending'));\n }//in case there are alphanumeric values\n }\n\n this.addChecks(colIndex, ul);\n\n if (tf.loadFltOnDemand) {\n flt.innerHTML = '';\n }\n flt.appendChild(ul);\n flt.setAttribute('filled', '1');\n\n this.emitter.emit('after-populating-filter', tf, colIndex, flt);\n }\n\n /**\n * Add checklist options\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n */\n addChecks(colIndex, ul) {\n let tf = this.tf;\n let chkCt = this.addTChecks(colIndex, ul);\n\n for (let y = 0; y < this.opts.length; y++) {\n let val = this.opts[y]; //item value\n let lbl = this.isCustom ? this.optsTxt[y] : val; //item text\n let li = createCheckItem(tf.fltIds[colIndex] + '_' + (y + chkCt),\n val, lbl);\n li.className = this.itemCssClass;\n\n if (tf.linkedFilters && tf.disableExcludedOptions &&\n has(this.excludedOpts, matchCase(val, tf.caseSensitive),\n tf.caseSensitive)) {\n addClass(li, this.disabledItemCssClass);\n li.check.disabled = true;\n li.disabled = true;\n } else {\n addEvt(li.check, 'click', evt => this.optionClick(evt));\n }\n ul.appendChild(li);\n\n if (val === '') {\n //item is hidden\n li.style.display = NONE;\n }\n }\n }\n\n /**\n * Add checklist header option\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n */\n addTChecks(colIndex, ul) {\n let tf = this.tf;\n let chkCt = 1;\n let li0 = createCheckItem(tf.fltIds[colIndex] + '_0', '',\n tf.displayAllText);\n li0.className = this.itemCssClass;\n ul.appendChild(li0);\n\n addEvt(li0.check, 'click', evt => this.optionClick(evt));\n\n if (!this.enableResetOption) {\n li0.style.display = NONE;\n }\n\n if (tf.enableEmptyOption) {\n let li1 = createCheckItem(tf.fltIds[colIndex] + '_1',\n tf.emOperator, tf.emptyText);\n li1.className = this.itemCssClass;\n ul.appendChild(li1);\n addEvt(li1.check, 'click', evt => this.optionClick(evt));\n chkCt++;\n }\n\n if (tf.enableNonEmptyOption) {\n let li2 = createCheckItem(tf.fltIds[colIndex] + '_2', tf.nmOperator,\n tf.nonEmptyText);\n li2.className = this.itemCssClass;\n ul.appendChild(li2);\n addEvt(li2.check, 'click', evt => this.optionClick(evt));\n chkCt++;\n }\n return chkCt;\n }\n\n /**\n * Store checked options in DOM element attribute\n * @param {Object} o checklist option DOM element\n */\n setCheckListValues(o) {\n if (!o) {\n return;\n }\n\n let tf = this.tf;\n let chkValue = o.value; //checked item value\n // TODO: provide helper to extract column index, ugly!\n let chkIndex = parseInt(o.id.split('_')[2], 10);\n let colIdx = tf.getColumnIndexFromFilterId(o.id);\n let itemTag = 'LI';\n\n let n = tf.getFilterElement(parseInt(colIdx, 10));\n let li = n.childNodes[chkIndex];\n let colIndex = n.getAttribute('colIndex');\n let fltValue = n.getAttribute('value'); //filter value (ul tag)\n let fltIndexes = n.getAttribute('indexes'); //selected items (ul tag)\n\n if (o.checked) {\n //show all item\n if (chkValue === '') {\n if ((fltIndexes && fltIndexes !== '')) {\n //items indexes\n let indSplit = fltIndexes.split(tf.separator);\n //checked items loop\n for (let u = 0; u < indSplit.length; u++) {\n //checked item\n let cChk = elm(tf.fltIds[colIndex] + '_' +\n indSplit[u]);\n if (cChk) {\n cChk.checked = false;\n removeClass(n.childNodes[indSplit[u]],\n this.selectedItemCssClass);\n }\n }\n }\n n.setAttribute('value', '');\n n.setAttribute('indexes', '');\n\n } else {\n fltValue = (fltValue) ? fltValue : '';\n chkValue = trim(fltValue + ' ' + chkValue + ' ' +\n tf.orOperator);\n chkIndex = fltIndexes + chkIndex + tf.separator;\n n.setAttribute('value', chkValue);\n n.setAttribute('indexes', chkIndex);\n //1st option unchecked\n if (elm(tf.fltIds[colIndex] + '_0')) {\n elm(tf.fltIds[colIndex] + '_0').checked = false;\n }\n }\n\n if (li.nodeName === itemTag) {\n removeClass(n.childNodes[0], this.selectedItemCssClass);\n addClass(li, this.selectedItemCssClass);\n }\n } else { //removes values and indexes\n if (chkValue !== '') {\n let replaceValue = new RegExp(\n rgxEsc(chkValue + ' ' + tf.orOperator));\n fltValue = fltValue.replace(replaceValue, '');\n n.setAttribute('value', trim(fltValue));\n\n let replaceIndex = new RegExp(\n rgxEsc(chkIndex + tf.separator));\n fltIndexes = fltIndexes.replace(replaceIndex, '');\n n.setAttribute('indexes', fltIndexes);\n }\n if (li.nodeName === itemTag) {\n removeClass(li, this.selectedItemCssClass);\n }\n }\n }\n\n /**\n * Select filter options programmatically\n * @param {Number} colIndex Column index\n * @param {Array} values Array of option values to select\n */\n selectOptions(colIndex, values = []) {\n let tf = this.tf;\n let flt = tf.getFilterElement(colIndex);\n if (tf.getFilterType(colIndex) !== CHECKLIST || !flt) {\n return;\n }\n\n let lisNb = tag(flt, 'li').length;\n\n flt.setAttribute('value', '');\n flt.setAttribute('indexes', '');\n\n for (let k = 0; k < lisNb; k++) {\n let li = tag(flt, 'li')[k];\n let lbl = tag(li, 'label')[0];\n let chk = tag(li, 'input')[0];\n let lblTxt = matchCase(getText(lbl), tf.caseSensitive);\n\n if (lblTxt !== '' && has(values, lblTxt, tf.caseSensitive)) {\n chk.checked = true;\n } else {\n // Check non-empty-text or empty-text option\n if (values.indexOf(tf.nmOperator) !== -1 &&\n lblTxt === matchCase(tf.nonEmptyText, tf.caseSensitive)) {\n chk.checked = true;\n }\n else if (values.indexOf(tf.emOperator) !== -1 &&\n lblTxt === matchCase(tf.emptyText, tf.caseSensitive)) {\n chk.checked = true;\n } else {\n chk.checked = false;\n }\n }\n this.setCheckListValues(chk);\n }\n }\n\n /**\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Collection of selected values\n */\n getValues(colIndex) {\n let tf = this.tf;\n let flt = tf.getFilterElement(colIndex);\n let fltAttr = flt.getAttribute('value');\n let values = isEmpty(fltAttr) ? '' : fltAttr;\n\n //removes last operator ||\n values = values.substr(0, values.length - 3);\n //turn || separated values into array\n values = values.split(' ' + tf.orOperator + ' ');\n\n return values;\n }\n\n /**\n * Destroy CheckList instance\n */\n destroy() {\n this.emitter.off(\n ['build-checklist-filter'],\n (tf, colIndex, isExternal) => this.build(colIndex, isExternal)\n );\n this.emitter.off(\n ['select-checklist-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n }\n}\n" }, { "__docId__": 270, @@ -6168,11 +6168,11 @@ "kind": "method", "static": false, "variation": null, - "name": "onChange", + "name": "optionClick", "memberof": "src/modules/checkList.js~CheckList", - "longname": "src/modules/checkList.js~CheckList#onChange", + "longname": "src/modules/checkList.js~CheckList#optionClick", "access": null, - "description": "Checklist change event handler", + "description": "Checklist option click event handler", "lineNumber": 123, "params": [ { @@ -6193,12 +6193,12 @@ "kind": "method", "static": false, "variation": null, - "name": "optionClick", + "name": "onCheckListClick", "memberof": "src/modules/checkList.js~CheckList", - "longname": "src/modules/checkList.js~CheckList#optionClick", + "longname": "src/modules/checkList.js~CheckList#onCheckListClick", "access": null, - "description": "Checklist option click event handler", - "lineNumber": 134, + "description": "Checklist container click event handler for load-on-demand feature", + "lineNumber": 136, "params": [ { "nullable": null, @@ -6218,37 +6218,12 @@ "kind": "method", "static": false, "variation": null, - "name": "onCheckListClick", - "memberof": "src/modules/checkList.js~CheckList", - "longname": "src/modules/checkList.js~CheckList#onCheckListClick", - "access": null, - "description": "Checklist container click event handler for load-on-demand feature", - "lineNumber": 142, - "params": [ - { - "nullable": null, - "types": [ - "Event" - ], - "spread": false, - "optional": false, - "name": "evt", - "description": "" - } - ], - "generator": false - }, - { - "__docId__": 289, - "kind": "method", - "static": false, - "variation": null, "name": "init", "memberof": "src/modules/checkList.js~CheckList", "longname": "src/modules/checkList.js~CheckList#init", "access": null, "description": "Initialize checklist filter", - "lineNumber": 158, + "lineNumber": 152, "params": [ { "nullable": null, @@ -6284,7 +6259,7 @@ "generator": false }, { - "__docId__": 290, + "__docId__": 289, "kind": "member", "static": false, "variation": null, @@ -6293,7 +6268,7 @@ "longname": "src/modules/checkList.js~CheckList#initialized", "access": null, "description": null, - "lineNumber": 196, + "lineNumber": 190, "undocument": true, "type": { "types": [ @@ -6302,7 +6277,7 @@ } }, { - "__docId__": 291, + "__docId__": 290, "kind": "method", "static": false, "variation": null, @@ -6311,7 +6286,7 @@ "longname": "src/modules/checkList.js~CheckList#build", "access": null, "description": "Build checklist UI", - "lineNumber": 203, + "lineNumber": 197, "params": [ { "nullable": null, @@ -6327,7 +6302,7 @@ "generator": false }, { - "__docId__": 292, + "__docId__": 291, "kind": "member", "static": false, "variation": null, @@ -6336,7 +6311,25 @@ "longname": "src/modules/checkList.js~CheckList#opts", "access": null, "description": null, - "lineNumber": 209, + "lineNumber": 203, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 292, + "kind": "member", + "static": false, + "variation": null, + "name": "optsTxt", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#optsTxt", + "access": null, + "description": null, + "lineNumber": 204, "undocument": true, "type": { "types": [ @@ -6349,12 +6342,12 @@ "kind": "member", "static": false, "variation": null, - "name": "optsTxt", + "name": "isCustom", "memberof": "src/modules/checkList.js~CheckList", - "longname": "src/modules/checkList.js~CheckList#optsTxt", + "longname": "src/modules/checkList.js~CheckList#isCustom", "access": null, "description": null, - "lineNumber": 210, + "lineNumber": 214, "undocument": true, "type": { "types": [ @@ -6367,12 +6360,12 @@ "kind": "member", "static": false, "variation": null, - "name": "isCustom", + "name": "excludedOpts", "memberof": "src/modules/checkList.js~CheckList", - "longname": "src/modules/checkList.js~CheckList#isCustom", + "longname": "src/modules/checkList.js~CheckList#excludedOpts", "access": null, "description": null, - "lineNumber": 221, + "lineNumber": 224, "undocument": true, "type": { "types": [ @@ -6385,12 +6378,12 @@ "kind": "member", "static": false, "variation": null, - "name": "excludedOpts", + "name": "opts", "memberof": "src/modules/checkList.js~CheckList", - "longname": "src/modules/checkList.js~CheckList#excludedOpts", + "longname": "src/modules/checkList.js~CheckList#opts", "access": null, "description": null, - "lineNumber": 231, + "lineNumber": 281, "undocument": true, "type": { "types": [ @@ -6403,12 +6396,12 @@ "kind": "member", "static": false, "variation": null, - "name": "opts", + "name": "optsTxt", "memberof": "src/modules/checkList.js~CheckList", - "longname": "src/modules/checkList.js~CheckList#opts", + "longname": "src/modules/checkList.js~CheckList#optsTxt", "access": null, "description": null, - "lineNumber": 288, + "lineNumber": 282, "undocument": true, "type": { "types": [ @@ -6418,24 +6411,6 @@ }, { "__docId__": 297, - "kind": "member", - "static": false, - "variation": null, - "name": "optsTxt", - "memberof": "src/modules/checkList.js~CheckList", - "longname": "src/modules/checkList.js~CheckList#optsTxt", - "access": null, - "description": null, - "lineNumber": 289, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 298, "kind": "method", "static": false, "variation": null, @@ -6444,7 +6419,7 @@ "longname": "src/modules/checkList.js~CheckList#addChecks", "access": null, "description": "Add checklist options", - "lineNumber": 352, + "lineNumber": 345, "params": [ { "nullable": null, @@ -6470,7 +6445,7 @@ "generator": false }, { - "__docId__": 299, + "__docId__": 298, "kind": "method", "static": false, "variation": null, @@ -6479,7 +6454,7 @@ "longname": "src/modules/checkList.js~CheckList#addTChecks", "access": null, "description": "Add checklist header option", - "lineNumber": 386, + "lineNumber": 379, "params": [ { "nullable": null, @@ -6510,7 +6485,7 @@ "generator": false }, { - "__docId__": 300, + "__docId__": 299, "kind": "method", "static": false, "variation": null, @@ -6519,7 +6494,7 @@ "longname": "src/modules/checkList.js~CheckList#setCheckListValues", "access": null, "description": "Store checked options in DOM element attribute", - "lineNumber": 424, + "lineNumber": 417, "params": [ { "nullable": null, @@ -6535,7 +6510,7 @@ "generator": false }, { - "__docId__": 301, + "__docId__": 300, "kind": "method", "static": false, "variation": null, @@ -6544,7 +6519,7 @@ "longname": "src/modules/checkList.js~CheckList#selectOptions", "access": null, "description": "Select filter options programmatically", - "lineNumber": 503, + "lineNumber": 496, "params": [ { "nullable": null, @@ -6570,7 +6545,7 @@ "generator": false }, { - "__docId__": 302, + "__docId__": 301, "kind": "method", "static": false, "variation": null, @@ -6579,7 +6554,7 @@ "longname": "src/modules/checkList.js~CheckList#getValues", "access": null, "description": "Get filter values for a given column index", - "lineNumber": 545, + "lineNumber": 538, "unknown": [ { "tagName": "@returns", @@ -6609,7 +6584,7 @@ "generator": false }, { - "__docId__": 303, + "__docId__": 302, "kind": "method", "static": false, "variation": null, @@ -6618,12 +6593,12 @@ "longname": "src/modules/checkList.js~CheckList#destroy", "access": null, "description": "Destroy CheckList instance", - "lineNumber": 562, + "lineNumber": 555, "params": [], "generator": false }, { - "__docId__": 304, + "__docId__": 303, "kind": "file", "static": true, "variation": null, @@ -6633,10 +6608,10 @@ "access": null, "description": null, "lineNumber": 1, - "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {addEvt} from '../event';\n\nexport class ClearButton extends Feature {\n\n /**\n * Clear button component\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'btnReset');\n\n // Configuration object\n let f = this.config;\n\n //id of container element\n this.btnResetTgtId = f.btn_reset_target_id || null;\n //reset button element\n this.btnResetEl = null;\n //defines reset text\n this.btnResetText = f.btn_reset_text || 'Reset';\n //defines reset button tooltip\n this.btnResetTooltip = f.btn_reset_tooltip || 'Clear filters';\n //defines reset button innerHtml\n this.btnResetHtml = f.btn_reset_html ||\n (!tf.enableIcons ? null :\n '');\n //span containing reset button\n this.prfxResetSpan = 'resetspan_';\n }\n\n onClick() {\n if (!this.isEnabled()) {\n return;\n }\n this.tf.clearFilters();\n }\n\n /**\n * Build DOM elements\n */\n init() {\n let tf = this.tf;\n\n if (this.initialized) {\n return;\n }\n\n let resetspan = createElm('span', ['id', this.prfxResetSpan + tf.id]);\n\n // reset button is added to defined element\n if (!this.btnResetTgtId) {\n tf.setToolbar();\n }\n let targetEl = !this.btnResetTgtId ? tf.rDiv : elm(this.btnResetTgtId);\n targetEl.appendChild(resetspan);\n\n if (!this.btnResetHtml) {\n let fltreset = createElm('a', ['href', 'javascript:voelm(0);']);\n fltreset.className = tf.btnResetCssClass;\n fltreset.appendChild(createText(this.btnResetText));\n resetspan.appendChild(fltreset);\n addEvt(fltreset, 'click', () => this.onClick());\n } else {\n resetspan.innerHTML = this.btnResetHtml;\n let resetEl = resetspan.firstChild;\n addEvt(resetEl, 'click', () => this.onClick());\n }\n this.btnResetEl = resetspan.firstChild;\n\n this.initialized = true;\n }\n\n /**\n * Remove clear button UI\n */\n destroy() {\n let tf = this.tf;\n\n if (!this.initialized) {\n return;\n }\n\n let resetspan = elm(this.prfxResetSpan + tf.id);\n if (resetspan) {\n removeElm(resetspan);\n }\n this.btnResetEl = null;\n this.initialized = false;\n }\n}\n" + "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {addEvt} from '../event';\n\n/**\n * Clear button UI component\n */\nexport class ClearButton extends Feature {\n\n /**\n * Creates an instance of ClearButton\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'btnReset');\n\n let f = this.config;\n\n /**\n * Container element ID\n * @type {String}\n */\n this.targetId = f.btn_reset_target_id || null;\n\n /**\n * Clear button element\n * @type {DOMElement}\n * @private\n */\n this.element = null;\n\n /**\n * Text for the clear button\n * @type {String}\n */\n this.text = f.btn_reset_text || 'Reset';\n\n /**\n * Tooltip text for the clear button\n * @type {String}\n */\n this.tooltip = f.btn_reset_tooltip || 'Clear filters';\n\n /**\n * Custom Html string for the clear button\n * @type {String}\n */\n this.html = f.btn_reset_html ||\n (!tf.enableIcons ? null :\n '');\n\n /**\n * Prefix fot ID of container element\n * @type {String}\n * @private\n */\n this.prfxCont = 'resetspan_';\n }\n\n /**\n * Click event handler for clear button\n * @private\n */\n onClick() {\n if (!this.isEnabled()) {\n return;\n }\n this.tf.clearFilters();\n }\n\n /**\n * Initialize clear button component\n */\n init() {\n let tf = this.tf;\n\n if (this.initialized) {\n return;\n }\n\n let resetspan = createElm('span', ['id', this.prfxCont + tf.id]);\n\n // reset button is added to defined element\n if (!this.targetId) {\n tf.setToolbar();\n }\n let targetEl = !this.targetId ? tf.rDiv : elm(this.targetId);\n targetEl.appendChild(resetspan);\n\n if (!this.html) {\n let fltreset = createElm('a', ['href', 'javascript:void(0);']);\n fltreset.className = tf.btnResetCssClass;\n fltreset.appendChild(createText(this.text));\n resetspan.appendChild(fltreset);\n addEvt(fltreset, 'click', () => this.onClick());\n } else {\n resetspan.innerHTML = this.html;\n let resetEl = resetspan.firstChild;\n addEvt(resetEl, 'click', () => this.onClick());\n }\n this.element = resetspan.firstChild;\n\n this.initialized = true;\n }\n\n /**\n * Destroy ClearButton instance\n */\n destroy() {\n let tf = this.tf;\n\n if (!this.initialized) {\n return;\n }\n\n let resetspan = elm(this.prfxCont + tf.id);\n if (resetspan) {\n removeElm(resetspan);\n }\n this.element = null;\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 305, + "__docId__": 304, "kind": "class", "static": true, "variation": null, @@ -6647,16 +6622,15 @@ "export": true, "importPath": "tablefilter/src/modules/clearButton.js", "importStyle": "{ClearButton}", - "description": null, - "lineNumber": 5, - "undocument": true, + "description": "Clear button UI component", + "lineNumber": 8, "interface": false, "extends": [ "src/feature.js~Feature" ] }, { - "__docId__": 306, + "__docId__": 305, "kind": "constructor", "static": false, "variation": null, @@ -6664,13 +6638,13 @@ "memberof": "src/modules/clearButton.js~ClearButton", "longname": "src/modules/clearButton.js~ClearButton#constructor", "access": null, - "description": "Clear button component", - "lineNumber": 11, + "description": "Creates an instance of ClearButton", + "lineNumber": 14, "params": [ { "nullable": null, "types": [ - "Object" + "TableFilter" ], "spread": false, "optional": false, @@ -6680,22 +6654,44 @@ ], "generator": false }, + { + "__docId__": 306, + "kind": "member", + "static": false, + "variation": null, + "name": "targetId", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#targetId", + "access": null, + "description": "Container element ID", + "lineNumber": 23, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, { "__docId__": 307, "kind": "member", "static": false, "variation": null, - "name": "btnResetTgtId", + "name": "element", "memberof": "src/modules/clearButton.js~ClearButton", - "longname": "src/modules/clearButton.js~ClearButton#btnResetTgtId", - "access": null, - "description": null, - "lineNumber": 18, - "undocument": true, + "longname": "src/modules/clearButton.js~ClearButton#element", + "access": "private", + "description": "Clear button element", + "lineNumber": 30, "type": { + "nullable": null, "types": [ - "*" - ] + "DOMElement" + ], + "spread": false, + "description": null } }, { @@ -6703,17 +6699,19 @@ "kind": "member", "static": false, "variation": null, - "name": "btnResetEl", + "name": "text", "memberof": "src/modules/clearButton.js~ClearButton", - "longname": "src/modules/clearButton.js~ClearButton#btnResetEl", + "longname": "src/modules/clearButton.js~ClearButton#text", "access": null, - "description": null, - "lineNumber": 20, - "undocument": true, + "description": "Text for the clear button", + "lineNumber": 36, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -6721,17 +6719,19 @@ "kind": "member", "static": false, "variation": null, - "name": "btnResetText", + "name": "tooltip", "memberof": "src/modules/clearButton.js~ClearButton", - "longname": "src/modules/clearButton.js~ClearButton#btnResetText", + "longname": "src/modules/clearButton.js~ClearButton#tooltip", "access": null, - "description": null, - "lineNumber": 22, - "undocument": true, + "description": "Tooltip text for the clear button", + "lineNumber": 42, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -6739,17 +6739,19 @@ "kind": "member", "static": false, "variation": null, - "name": "btnResetTooltip", + "name": "html", "memberof": "src/modules/clearButton.js~ClearButton", - "longname": "src/modules/clearButton.js~ClearButton#btnResetTooltip", + "longname": "src/modules/clearButton.js~ClearButton#html", "access": null, - "description": null, - "lineNumber": 24, - "undocument": true, + "description": "Custom Html string for the clear button", + "lineNumber": 48, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { @@ -6757,54 +6759,37 @@ "kind": "member", "static": false, "variation": null, - "name": "btnResetHtml", + "name": "prfxCont", "memberof": "src/modules/clearButton.js~ClearButton", - "longname": "src/modules/clearButton.js~ClearButton#btnResetHtml", - "access": null, - "description": null, - "lineNumber": 26, - "undocument": true, + "longname": "src/modules/clearButton.js~ClearButton#prfxCont", + "access": "private", + "description": "Prefix fot ID of container element", + "lineNumber": 58, "type": { + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "description": null } }, { "__docId__": 312, - "kind": "member", - "static": false, - "variation": null, - "name": "prfxResetSpan", - "memberof": "src/modules/clearButton.js~ClearButton", - "longname": "src/modules/clearButton.js~ClearButton#prfxResetSpan", - "access": null, - "description": null, - "lineNumber": 31, - "undocument": true, - "type": { - "types": [ - "string" - ] - } - }, - { - "__docId__": 313, "kind": "method", "static": false, "variation": null, "name": "onClick", "memberof": "src/modules/clearButton.js~ClearButton", "longname": "src/modules/clearButton.js~ClearButton#onClick", - "access": null, - "description": null, - "lineNumber": 34, - "undocument": true, + "access": "private", + "description": "Click event handler for clear button", + "lineNumber": 65, "params": [], "generator": false }, { - "__docId__": 314, + "__docId__": 313, "kind": "method", "static": false, "variation": null, @@ -6812,22 +6797,22 @@ "memberof": "src/modules/clearButton.js~ClearButton", "longname": "src/modules/clearButton.js~ClearButton#init", "access": null, - "description": "Build DOM elements", - "lineNumber": 44, + "description": "Initialize clear button component", + "lineNumber": 75, "params": [], "generator": false }, { - "__docId__": 315, + "__docId__": 314, "kind": "member", "static": false, "variation": null, - "name": "btnResetEl", + "name": "element", "memberof": "src/modules/clearButton.js~ClearButton", - "longname": "src/modules/clearButton.js~ClearButton#btnResetEl", + "longname": "src/modules/clearButton.js~ClearButton#element", "access": null, "description": null, - "lineNumber": 71, + "lineNumber": 102, "undocument": true, "type": { "types": [ @@ -6836,7 +6821,7 @@ } }, { - "__docId__": 316, + "__docId__": 315, "kind": "member", "static": false, "variation": null, @@ -6845,7 +6830,7 @@ "longname": "src/modules/clearButton.js~ClearButton#initialized", "access": null, "description": null, - "lineNumber": 73, + "lineNumber": 104, "undocument": true, "type": { "types": [ @@ -6854,7 +6839,7 @@ } }, { - "__docId__": 317, + "__docId__": 316, "kind": "method", "static": false, "variation": null, @@ -6862,22 +6847,22 @@ "memberof": "src/modules/clearButton.js~ClearButton", "longname": "src/modules/clearButton.js~ClearButton#destroy", "access": null, - "description": "Remove clear button UI", - "lineNumber": 79, + "description": "Destroy ClearButton instance", + "lineNumber": 110, "params": [], "generator": false }, { - "__docId__": 318, + "__docId__": 317, "kind": "member", "static": false, "variation": null, - "name": "btnResetEl", + "name": "element", "memberof": "src/modules/clearButton.js~ClearButton", - "longname": "src/modules/clearButton.js~ClearButton#btnResetEl", + "longname": "src/modules/clearButton.js~ClearButton#element", "access": null, "description": null, - "lineNumber": 90, + "lineNumber": 121, "undocument": true, "type": { "types": [ @@ -6886,7 +6871,7 @@ } }, { - "__docId__": 319, + "__docId__": 318, "kind": "member", "static": false, "variation": null, @@ -6895,7 +6880,7 @@ "longname": "src/modules/clearButton.js~ClearButton#initialized", "access": null, "description": null, - "lineNumber": 91, + "lineNumber": 122, "undocument": true, "type": { "types": [ @@ -6904,7 +6889,7 @@ } }, { - "__docId__": 320, + "__docId__": 319, "kind": "file", "static": true, "variation": null, @@ -6917,7 +6902,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createOpt, elm} from '../dom';\nimport {has} from '../array';\nimport {matchCase} from '../string';\nimport {ignoreCase, numSortAsc, numSortDesc} from '../sort';\nimport {addEvt, targetEvt} from '../event';\nimport {SELECT, MULTIPLE, NONE} from '../const';\n\nconst SORT_ERROR = 'Filter options for column {0} cannot be sorted in ' +\n '{1} manner.';\n\nexport class Dropdown extends Feature {\n\n /**\n * Dropdown UI component\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'dropdown');\n\n // Configuration object\n let f = tf.config();\n\n this.enableSlcResetFilter = f.enable_slc_reset_filter === false ?\n false : true;\n //defines empty option text\n this.nonEmptyText = f.non_empty_text || '(Non empty)';\n //IE only, tooltip text appearing on select before it is populated\n this.activateSlcTooltip = f.activate_slc_tooltip ||\n 'Click to activate';\n //tooltip text appearing on multiple select\n this.multipleSlcTooltip = f.multiple_slc_tooltip ||\n 'Use Ctrl key for multiple selections';\n\n this.isCustom = null;\n this.opts = null;\n this.optsTxt = null;\n this.slcInnerHtml = null;\n }\n\n onSlcFocus(e) {\n let elm = targetEvt(e);\n let tf = this.tf;\n // select is populated when element has focus\n if (tf.loadFltOnDemand && elm.getAttribute('filled') === '0') {\n let ct = elm.getAttribute('ct');\n this.build(ct);\n }\n this.emitter.emit('filter-focus', tf, elm);\n }\n\n onSlcChange() {\n if (this.tf.onSlcChange) {\n this.tf.filter();\n }\n }\n\n /**\n * Initialize drop-down filter\n * @param {Number} colIndex Column index\n * @param {Boolean} isExternal External filter flag\n * @param {DOMElement} container Dom element containing the filter\n */\n init(colIndex, isExternal, container) {\n let tf = this.tf;\n let col = tf.getFilterType(colIndex);\n let externalFltTgtId = isExternal ?\n tf.externalFltTgtIds[colIndex] : null;\n\n let slc = createElm(SELECT,\n ['id', tf.prfxFlt + colIndex + '_' + tf.id],\n ['ct', colIndex], ['filled', '0']\n );\n\n if (col === MULTIPLE) {\n slc.multiple = MULTIPLE;\n slc.title = this.multipleSlcTooltip;\n }\n slc.className = col.toLowerCase() === SELECT ?\n tf.fltCssClass : tf.fltMultiCssClass;\n\n //filter is appended in container element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(slc);\n tf.externalFltEls.push(slc);\n } else {\n container.appendChild(slc);\n }\n\n tf.fltIds.push(slc.id);\n\n if (!tf.loadFltOnDemand) {\n this.build(colIndex);\n } else {\n //1st option is created here since build isn't invoked\n let opt0 = createOpt(tf.displayAllText, '');\n slc.appendChild(opt0);\n }\n\n addEvt(slc, 'change', () => this.onSlcChange());\n addEvt(slc, 'focus', (e) => this.onSlcFocus(e));\n\n this.emitter.on(\n ['build-select-filter'],\n (tf, colIndex, isLinked, isExternal) =>\n this.build(colIndex, isLinked, isExternal)\n );\n this.emitter.on(\n ['select-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n\n this.initialized = true;\n }\n\n /**\n * Build drop-down filter UI\n * @param {Number} colIndex Column index\n * @param {Boolean} isLinked Enable linked refresh behaviour\n */\n build(colIndex, isLinked = false) {\n let tf = this.tf;\n colIndex = parseInt(colIndex, 10);\n\n this.emitter.emit('before-populating-filter', tf, colIndex);\n\n this.opts = [];\n this.optsTxt = [];\n this.slcInnerHtml = '';\n\n let slcId = tf.fltIds[colIndex];\n let slc = elm(slcId);\n let rows = tf.tbl.rows;\n let nbRows = tf.getRowsNb(true);\n\n //custom select test\n this.isCustom = tf.isCustomOptions(colIndex);\n\n //custom selects text\n let activeIdx;\n let activeFilterId = tf.getActiveFilterId();\n if (isLinked && activeFilterId) {\n activeIdx = tf.getColumnIndexFromFilterId(activeFilterId);\n }\n\n let excludedOpts = null,\n filteredDataCol = null;\n if (isLinked && tf.disableExcludedOptions) {\n excludedOpts = [];\n filteredDataCol = [];\n }\n\n for (let k = tf.refRow; k < nbRows; k++) {\n // always visible rows don't need to appear on selects as always\n // valid\n if (tf.hasVisibleRows && tf.visibleRows.indexOf(k) !== -1) {\n continue;\n }\n\n let cell = rows[k].cells,\n nchilds = cell.length;\n\n // checks if row has exact cell #\n if (nchilds !== tf.nbCells || this.isCustom) {\n continue;\n }\n\n // this loop retrieves cell data\n for (let j = 0; j < nchilds; j++) {\n // WTF: cyclomatic complexity hell\n // TODO: simplify hell below\n if ((colIndex === j &&\n (!isLinked ||\n (isLinked && tf.disableExcludedOptions))) ||\n (colIndex === j && isLinked &&\n ((rows[k].style.display === '' && !tf.paging) ||\n (tf.paging && (!tf.validRowsIndex ||\n (tf.validRowsIndex &&\n tf.validRowsIndex.indexOf(k) !== -1)) &&\n ((activeIdx === undefined ||\n activeIdx === colIndex) ||\n (activeIdx !== colIndex &&\n tf.validRowsIndex.indexOf(k) !== -1)))))) {\n let cellData = tf.getCellData(cell[j]),\n //Vary Peter's patch\n cellString = matchCase(cellData, tf.caseSensitive);\n\n // checks if celldata is already in array\n if (!has(this.opts, cellString, tf.caseSensitive)) {\n this.opts.push(cellData);\n }\n\n if (isLinked && tf.disableExcludedOptions) {\n let filteredCol = filteredDataCol[j];\n if (!filteredCol) {\n filteredCol = tf.getFilteredDataCol(j);\n }\n if (!has(filteredCol, cellString, tf.caseSensitive) &&\n !has(excludedOpts, cellString, tf.caseSensitive)) {\n excludedOpts.push(cellData);\n }\n }\n }//if colIndex==j\n }//for j\n }//for k\n\n //Retrieves custom values\n if (this.isCustom) {\n let customValues = tf.getCustomOptions(colIndex);\n this.opts = customValues[0];\n this.optsTxt = customValues[1];\n }\n\n if (tf.sortSlc && !this.isCustom) {\n if (!tf.caseSensitive) {\n this.opts.sort(ignoreCase);\n if (excludedOpts) {\n excludedOpts.sort(ignoreCase);\n }\n } else {\n this.opts.sort();\n if (excludedOpts) { excludedOpts.sort(); }\n }\n }\n\n //asc sort\n if (tf.sortNumAsc.indexOf(colIndex) !== -1) {\n try {\n this.opts.sort(numSortAsc);\n if (excludedOpts) {\n excludedOpts.sort(numSortAsc);\n }\n if (this.isCustom) {\n this.optsTxt.sort(numSortAsc);\n }\n } catch (e) {\n throw new Error(SORT_ERROR.replace('{0}', colIndex)\n .replace('{1}', 'ascending'));\n }//in case there are alphanumeric values\n }\n //desc sort\n if (tf.sortNumDesc.indexOf(colIndex) !== -1) {\n try {\n this.opts.sort(numSortDesc);\n if (excludedOpts) {\n excludedOpts.sort(numSortDesc);\n }\n if (this.isCustom) {\n this.optsTxt.sort(numSortDesc);\n }\n } catch (e) {\n throw new Error(SORT_ERROR.replace('{0}', colIndex)\n .replace('{1}', 'ascending'));\n }//in case there are alphanumeric values\n }\n\n //populates drop-down\n this.addOptions(colIndex, slc, isLinked, excludedOpts);\n\n this.emitter.emit('after-populating-filter', tf, colIndex, slc);\n }\n\n /**\n * Add drop-down options\n * @param {Number} colIndex Column index\n * @param {Object} slc Select Dom element\n * @param {Boolean} isLinked Enable linked refresh behaviour\n * @param {Array} excludedOpts Array of excluded options\n */\n addOptions(colIndex, slc, isLinked, excludedOpts) {\n let tf = this.tf,\n slcValue = slc.value;\n\n slc.innerHTML = '';\n slc = this.addFirstOption(slc);\n\n for (let y = 0; y < this.opts.length; y++) {\n if (this.opts[y] === '') {\n continue;\n }\n let val = this.opts[y]; //option value\n let lbl = this.isCustom ? this.optsTxt[y] : val; //option text\n let isDisabled = false;\n if (isLinked && tf.disableExcludedOptions &&\n has(excludedOpts, matchCase(val, tf.caseSensitive),\n tf.caseSensitive)) {\n isDisabled = true;\n }\n\n let opt;\n //fill select on demand\n if (tf.loadFltOnDemand && slcValue === this.opts[y] &&\n tf.getFilterType(colIndex) === SELECT) {\n opt = createOpt(lbl, val, true);\n } else {\n opt = createOpt(lbl, val, false);\n }\n if (isDisabled) {\n opt.disabled = true;\n }\n slc.appendChild(opt);\n }// for y\n\n slc.setAttribute('filled', '1');\n }\n\n /**\n * Add drop-down header option\n * @param {Object} slc Select DOM element\n */\n addFirstOption(slc) {\n let tf = this.tf;\n\n let opt0 = createOpt(\n (!this.enableSlcResetFilter ? '' : tf.displayAllText), '');\n if (!this.enableSlcResetFilter) {\n opt0.style.display = NONE;\n }\n slc.appendChild(opt0);\n if (tf.enableEmptyOption) {\n let opt1 = createOpt(tf.emptyText, tf.emOperator);\n slc.appendChild(opt1);\n }\n if (tf.enableNonEmptyOption) {\n let opt2 = createOpt(tf.nonEmptyText, tf.nmOperator);\n slc.appendChild(opt2);\n }\n return slc;\n }\n\n /**\n * Select filter options programmatically\n * @param {Number} colIndex Column index\n * @param {Array} values Array of option values to select\n */\n selectOptions(colIndex, values = []) {\n let tf = this.tf;\n if (tf.getFilterType(colIndex) !== MULTIPLE || values.length === 0) {\n return;\n }\n let slc = tf.getFilterElement(colIndex);\n [].forEach.call(slc.options, (option) => {\n // Empty value means clear all selections and first option is the\n // clear all option\n if (values[0] === '' || option.value === '') {\n option.selected = false;\n }\n\n if (option.value !== '' && has(values, option.value, true)) {\n option.selected = true;\n }//if\n });\n }\n\n /**\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Array of selected values\n */\n getValues(colIndex) {\n let tf = this.tf;\n let slc = tf.getFilterElement(colIndex);\n let values = [];\n\n // IE >= 9 does not support the selectedOptions property :(\n if (slc.selectedOptions) {\n [].forEach.call(slc.selectedOptions,\n option => values.push(option.value));\n } else {\n [].forEach.call(slc.options, (option) => {\n if (option.selected) {\n values.push(option.value);\n }\n });\n }\n\n return values;\n }\n\n destroy() {\n this.emitter.off(\n ['build-select-filter'],\n (colIndex, isLinked, isExternal) =>\n this.build(colIndex, isLinked, isExternal)\n );\n this.emitter.off(\n ['select-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n }\n}\n" }, { - "__docId__": 321, + "__docId__": 320, "kind": "variable", "static": true, "variation": null, @@ -6938,7 +6923,7 @@ } }, { - "__docId__": 322, + "__docId__": 321, "kind": "class", "static": true, "variation": null, @@ -6958,7 +6943,7 @@ ] }, { - "__docId__": 323, + "__docId__": 322, "kind": "constructor", "static": false, "variation": null, @@ -6983,7 +6968,7 @@ "generator": false }, { - "__docId__": 324, + "__docId__": 323, "kind": "member", "static": false, "variation": null, @@ -7001,7 +6986,7 @@ } }, { - "__docId__": 325, + "__docId__": 324, "kind": "member", "static": false, "variation": null, @@ -7019,7 +7004,7 @@ } }, { - "__docId__": 326, + "__docId__": 325, "kind": "member", "static": false, "variation": null, @@ -7037,7 +7022,7 @@ } }, { - "__docId__": 327, + "__docId__": 326, "kind": "member", "static": false, "variation": null, @@ -7055,7 +7040,7 @@ } }, { - "__docId__": 328, + "__docId__": 327, "kind": "member", "static": false, "variation": null, @@ -7073,7 +7058,7 @@ } }, { - "__docId__": 329, + "__docId__": 328, "kind": "member", "static": false, "variation": null, @@ -7091,7 +7076,7 @@ } }, { - "__docId__": 330, + "__docId__": 329, "kind": "member", "static": false, "variation": null, @@ -7109,7 +7094,7 @@ } }, { - "__docId__": 331, + "__docId__": 330, "kind": "member", "static": false, "variation": null, @@ -7127,7 +7112,7 @@ } }, { - "__docId__": 332, + "__docId__": 331, "kind": "method", "static": false, "variation": null, @@ -7149,7 +7134,7 @@ "generator": false }, { - "__docId__": 333, + "__docId__": 332, "kind": "method", "static": false, "variation": null, @@ -7164,7 +7149,7 @@ "generator": false }, { - "__docId__": 334, + "__docId__": 333, "kind": "method", "static": false, "variation": null, @@ -7209,7 +7194,7 @@ "generator": false }, { - "__docId__": 335, + "__docId__": 334, "kind": "member", "static": false, "variation": null, @@ -7227,7 +7212,7 @@ } }, { - "__docId__": 336, + "__docId__": 335, "kind": "method", "static": false, "variation": null, @@ -7262,7 +7247,7 @@ "generator": false }, { - "__docId__": 337, + "__docId__": 336, "kind": "member", "static": false, "variation": null, @@ -7280,7 +7265,7 @@ } }, { - "__docId__": 338, + "__docId__": 337, "kind": "member", "static": false, "variation": null, @@ -7298,7 +7283,7 @@ } }, { - "__docId__": 339, + "__docId__": 338, "kind": "member", "static": false, "variation": null, @@ -7316,7 +7301,7 @@ } }, { - "__docId__": 340, + "__docId__": 339, "kind": "member", "static": false, "variation": null, @@ -7334,7 +7319,7 @@ } }, { - "__docId__": 341, + "__docId__": 340, "kind": "member", "static": false, "variation": null, @@ -7352,7 +7337,7 @@ } }, { - "__docId__": 342, + "__docId__": 341, "kind": "member", "static": false, "variation": null, @@ -7370,7 +7355,7 @@ } }, { - "__docId__": 343, + "__docId__": 342, "kind": "method", "static": false, "variation": null, @@ -7425,7 +7410,7 @@ "generator": false }, { - "__docId__": 344, + "__docId__": 343, "kind": "method", "static": false, "variation": null, @@ -7455,7 +7440,7 @@ "generator": false }, { - "__docId__": 345, + "__docId__": 344, "kind": "method", "static": false, "variation": null, @@ -7490,7 +7475,7 @@ "generator": false }, { - "__docId__": 346, + "__docId__": 345, "kind": "method", "static": false, "variation": null, @@ -7529,7 +7514,7 @@ "generator": false }, { - "__docId__": 347, + "__docId__": 346, "kind": "method", "static": false, "variation": null, @@ -7544,7 +7529,7 @@ "generator": false }, { - "__docId__": 348, + "__docId__": 347, "kind": "file", "static": true, "variation": null, @@ -7557,7 +7542,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, removeElm, elm, tag} from '../dom';\nimport {isNull} from '../types';\nimport {addEvt, targetEvt} from '../event';\nimport {contains} from '../string';\nimport {NONE} from '../const';\n\n/**\n * Grid layout, table with fixed headers\n */\nexport class GridLayout extends Feature {\n\n /**\n * Creates an instance of GridLayout\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'gridLayout');\n\n let f = this.config;\n\n /**\n * Grid-layout container width as CSS string\n * @type {String}\n */\n this.width = f.grid_width || null;\n\n /**\n * Grid-layout container height as CSS string\n * @type {String}\n */\n this.height = f.grid_height || null;\n\n /**\n * Css class for main container element\n * @type {String}\n */\n this.mainContCssClass = f.grid_cont_css_class || 'grd_Cont';\n\n /**\n * Css class for body table container element\n * @type {String}\n */\n this.contCssClass = f.grid_tbl_cont_css_class || 'grd_tblCont';\n\n /**\n * Css class for headers table container element\n * @type {String}\n */\n this.headContCssClass = f.grid_tblHead_cont_css_class ||\n 'grd_headTblCont';\n\n /**\n * Css class for toolbar container element (rows counter, paging etc.)\n * @type {String}\n */\n this.infDivCssClass = f.grid_inf_grid_css_class || 'grd_inf';\n\n /**\n * Index of the headers row, default: 0\n * @type {Number}\n */\n this.headRowIndex = f.grid_headers_row_index || 0;\n\n /**\n * Collection of the header row indexes to be moved into headers table\n * @type {Array}\n */\n this.headRows = f.grid_headers_rows || [0];\n\n /**\n * Enable or disable column filters generation, default: true\n * @type {Boolean}\n */\n this.enableFilters = f.grid_enable_default_filters === false ?\n false : true;\n\n /**\n * Enable or disable column headers, default: false\n * @type {Boolean}\n */\n this.noHeaders = Boolean(f.grid_no_headers);\n\n /**\n * Grid-layout default column widht as CSS string\n * @type {String}\n */\n this.defaultColWidth = f.grid_default_col_width || '100px';\n\n /**\n * List of column elements\n * @type {Array}\n * @private\n */\n this.colElms = [];\n\n /**\n * Prefix for grid-layout main container ID\n * @type {String}\n * @private\n */\n this.prfxMainTblCont = 'gridCont_';\n\n /**\n * Prefix for grid-layout body table container ID\n * @type {String}\n * @private\n */\n this.prfxTblCont = 'tblCont_';\n\n /**\n * Prefix for grid-layout headers table container ID\n * @type {String}\n * @private\n */\n this.prfxHeadTblCont = 'tblHeadCont_';\n\n /**\n * Prefix for grid-layout headers table ID\n * @type {String}\n * @private\n */\n this.prfxHeadTbl = 'tblHead_';\n\n /**\n * Prefix for grid-layout filter's cell ID\n * @type {String}\n * @private\n */\n this.prfxGridFltTd = '_td_';\n\n /**\n * Prefix for grid-layout header's cell ID\n * @type {String}\n * @private\n */\n this.prfxGridTh = 'tblHeadTh_';\n\n /**\n * Mark-up of original HTML table\n * @type {String}\n * @private\n */\n this.sourceTblHtml = tf.tbl.outerHTML;\n\n // filters flag at TF level\n tf.fltGrid = this.enableFilters;\n }\n\n /**\n * Generates a grid with fixed headers\n *\n * TODO: reduce size of init by extracting single purposed methods\n */\n init() {\n let tf = this.tf;\n let f = this.config;\n let tbl = tf.tbl;\n\n if (this.initialized) {\n return;\n }\n\n // Override reference rows indexes\n tf.refRow = isNull(tf.startRow) ? 0 : tf.startRow;\n tf.headersRow = 0;\n tf.filtersRowIndex = 1;\n\n tf.isExternalFlt = true;\n\n // Assign default column widths\n this.setDefaultColWidths();\n\n let tblW;//initial table width\n if (tbl.width !== '') {\n tblW = tbl.width;\n }\n else if (tbl.style.width !== '') {\n tblW = parseInt(tbl.style.width, 10);\n } else {\n tblW = tbl.clientWidth;\n }\n\n //Main container: it will contain all the elements\n this.tblMainCont = createElm('div',\n ['id', this.prfxMainTblCont + tf.id]);\n this.tblMainCont.className = this.mainContCssClass;\n if (this.width) {\n this.tblMainCont.style.width = this.width;\n }\n tbl.parentNode.insertBefore(this.tblMainCont, tbl);\n\n //Table container: div wrapping content table\n this.tblCont = createElm('div', ['id', this.prfxTblCont + tf.id]);\n this.tblCont.className = this.contCssClass;\n if (this.width) {\n if (this.width.indexOf('%') !== -1) {\n this.tblCont.style.width = '100%';\n } else {\n this.tblCont.style.width = this.width;\n }\n }\n if (this.height) {\n this.tblCont.style.height = this.height;\n }\n tbl.parentNode.insertBefore(this.tblCont, tbl);\n let t = removeElm(tbl);\n this.tblCont.appendChild(t);\n\n //In case table width is expressed in %\n if (tbl.style.width === '') {\n tbl.style.width = (contains('%', tblW) ?\n tbl.clientWidth : tblW) + 'px';\n }\n\n let d = removeElm(this.tblCont);\n this.tblMainCont.appendChild(d);\n\n //Headers table container: div wrapping headers table\n this.headTblCont = createElm(\n 'div', ['id', this.prfxHeadTblCont + tf.id]);\n this.headTblCont.className = this.headContCssClass;\n if (this.width) {\n if (this.width.indexOf('%') !== -1) {\n this.headTblCont.style.width = '100%';\n } else {\n this.headTblCont.style.width = this.width;\n }\n }\n\n //Headers table\n this.headTbl = createElm('table', ['id', this.prfxHeadTbl + tf.id]);\n let tH = createElm('tHead');\n\n //1st row should be headers row, ids are added if not set\n //Those ids are used by the sort feature\n let hRow = tbl.rows[this.headRowIndex];\n let sortTriggers = [];\n for (let n = 0; n < tf.nbCells; n++) {\n let c = hRow.cells[n];\n let thId = c.getAttribute('id');\n if (!thId || thId === '') {\n thId = this.prfxGridTh + n + '_' + tf.id;\n c.setAttribute('id', thId);\n }\n sortTriggers.push(thId);\n }\n\n //Filters row is created\n let filtersRow = createElm('tr');\n if (this.enableFilters && tf.fltGrid) {\n tf.externalFltTgtIds = [];\n for (let j = 0; j < tf.nbCells; j++) {\n let fltTdId = tf.prfxFlt + j + this.prfxGridFltTd + tf.id;\n let cl = createElm(tf.fltCellTag, ['id', fltTdId]);\n filtersRow.appendChild(cl);\n tf.externalFltTgtIds[j] = fltTdId;\n }\n }\n\n //Headers row are moved from content table to headers table\n if (!this.noHeaders) {\n for (let i = 0; i < this.headRows.length; i++) {\n let headRow = tbl.rows[this.headRows[i]];\n tH.appendChild(headRow);\n }\n } else {\n // Handle table with no headers, assuming here headers do not\n // exist\n tH.appendChild(createElm('tr'));\n }\n\n this.headTbl.appendChild(tH);\n if (tf.filtersRowIndex === 0) {\n tH.insertBefore(filtersRow, hRow);\n } else {\n tH.appendChild(filtersRow);\n }\n\n this.headTblCont.appendChild(this.headTbl);\n this.tblCont.parentNode.insertBefore(this.headTblCont, this.tblCont);\n\n //THead needs to be removed in content table for sort feature\n let thead = tag(tbl, 'thead');\n if (thead.length > 0) {\n tbl.removeChild(thead[0]);\n }\n\n //Headers table style\n this.headTbl.style.tableLayout = 'fixed';\n tbl.style.tableLayout = 'fixed';\n this.headTbl.cellPadding = tbl.cellPadding;\n this.headTbl.cellSpacing = tbl.cellSpacing;\n // this.headTbl.style.width = tbl.style.width;\n\n //content table without headers needs col widths to be reset\n tf.setColWidths(this.headTbl);\n\n //Headers container width\n // this.headTblCont.style.width = this.tblCont.clientWidth+'px';\n\n tbl.style.width = '';\n //\n this.headTbl.style.width = tbl.clientWidth + 'px';\n //\n\n //scroll synchronisation\n addEvt(this.tblCont, 'scroll', (evt) => {\n let elm = targetEvt(evt);\n let scrollLeft = elm.scrollLeft;\n this.headTblCont.scrollLeft = scrollLeft;\n //New pointerX calc taking into account scrollLeft\n // if(!o.isPointerXOverwritten){\n // try{\n // o.Evt.pointerX = function(evt){\n // let e = evt || global.event;\n // let bdScrollLeft = tf_StandardBody().scrollLeft +\n // scrollLeft;\n // return (e.pageX + scrollLeft) ||\n // (e.clientX + bdScrollLeft);\n // };\n // o.isPointerXOverwritten = true;\n // } catch(err) {\n // o.isPointerXOverwritten = false;\n // }\n // }\n });\n\n //Configure sort extension if any\n let sort = (f.extensions || []).filter(function (itm) {\n return itm.name === 'sort';\n });\n if (sort.length === 1) {\n sort[0].async_sort = true;\n sort[0].trigger_ids = sortTriggers;\n }\n\n //Cols generation for all browsers excepted IE<=7\n this.tblHasColTag = tag(tbl, 'col').length > 0 ? true : false;\n\n //Col elements are enough to keep column widths after sorting and\n //filtering\n let createColTags = function () {\n for (let k = (tf.nbCells - 1); k >= 0; k--) {\n let col = createElm('col', ['id', tf.id + '_col_' + k]);\n tbl.insertBefore(col, tbl.firstChild);\n col.style.width = tf.colWidths[k];\n this.colElms[k] = col;\n }\n this.tblHasColTag = true;\n };\n\n if (!this.tblHasColTag) {\n createColTags.call(this);\n } else {\n let cols = tag(tbl, 'col');\n for (let ii = 0; ii < tf.nbCells; ii++) {\n cols[ii].setAttribute('id', tf.id + '_col_' + ii);\n cols[ii].style.width = tf.colWidths[ii];\n this.colElms.push(cols[ii]);\n }\n }\n\n if (tf.popupFilters) {\n filtersRow.style.display = NONE;\n }\n\n if (tbl.clientWidth !== this.headTbl.clientWidth) {\n tbl.style.width = this.headTbl.clientWidth + 'px';\n }\n\n this.initialized = true;\n }\n\n /**\n * Set grid-layout default column widths if column widths are not defined\n * @private\n */\n setDefaultColWidths() {\n let tf = this.tf;\n if (tf.hasColWidths) {\n return;\n }\n for (let k = 0, len = tf.getCellsNb(); k < len; k++) {\n let colW;\n let cell = tf.tbl.rows[tf.getHeadersRowIndex()].cells[k];\n if (cell.width !== '') {\n colW = cell.width;\n } else if (cell.style.width !== '') {\n colW = parseInt(cell.style.width, 10);\n } else {\n colW = this.defaultColWidth;\n }\n tf.colWidths[k] = colW;\n }\n tf.hasColWidths = true;\n tf.setColWidths();\n }\n\n /**\n * Removes the grid layout\n */\n destroy() {\n let tf = this.tf;\n let tbl = tf.tbl;\n\n if (!this.initialized) {\n return;\n }\n let t = removeElm(tbl);\n this.tblMainCont.parentNode.insertBefore(t, this.tblMainCont);\n removeElm(this.tblMainCont);\n\n this.tblMainCont = null;\n this.headTblCont = null;\n this.headTbl = null;\n this.tblCont = null;\n\n tbl.outerHTML = this.sourceTblHtml;\n //needed to keep reference of table element for future usage\n this.tf.tbl = elm(tf.id);\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 349, + "__docId__": 348, "kind": "class", "static": true, "variation": null, @@ -7576,7 +7561,7 @@ ] }, { - "__docId__": 350, + "__docId__": 349, "kind": "constructor", "static": false, "variation": null, @@ -7601,7 +7586,7 @@ "generator": false }, { - "__docId__": 351, + "__docId__": 350, "kind": "member", "static": false, "variation": null, @@ -7621,7 +7606,7 @@ } }, { - "__docId__": 352, + "__docId__": 351, "kind": "member", "static": false, "variation": null, @@ -7641,7 +7626,7 @@ } }, { - "__docId__": 353, + "__docId__": 352, "kind": "member", "static": false, "variation": null, @@ -7661,7 +7646,7 @@ } }, { - "__docId__": 354, + "__docId__": 353, "kind": "member", "static": false, "variation": null, @@ -7681,7 +7666,7 @@ } }, { - "__docId__": 355, + "__docId__": 354, "kind": "member", "static": false, "variation": null, @@ -7701,7 +7686,7 @@ } }, { - "__docId__": 356, + "__docId__": 355, "kind": "member", "static": false, "variation": null, @@ -7721,7 +7706,7 @@ } }, { - "__docId__": 357, + "__docId__": 356, "kind": "member", "static": false, "variation": null, @@ -7741,7 +7726,7 @@ } }, { - "__docId__": 358, + "__docId__": 357, "kind": "member", "static": false, "variation": null, @@ -7761,7 +7746,7 @@ } }, { - "__docId__": 359, + "__docId__": 358, "kind": "member", "static": false, "variation": null, @@ -7781,7 +7766,7 @@ } }, { - "__docId__": 360, + "__docId__": 359, "kind": "member", "static": false, "variation": null, @@ -7801,7 +7786,7 @@ } }, { - "__docId__": 361, + "__docId__": 360, "kind": "member", "static": false, "variation": null, @@ -7821,7 +7806,7 @@ } }, { - "__docId__": 362, + "__docId__": 361, "kind": "member", "static": false, "variation": null, @@ -7841,7 +7826,7 @@ } }, { - "__docId__": 363, + "__docId__": 362, "kind": "member", "static": false, "variation": null, @@ -7861,7 +7846,7 @@ } }, { - "__docId__": 364, + "__docId__": 363, "kind": "member", "static": false, "variation": null, @@ -7881,7 +7866,7 @@ } }, { - "__docId__": 365, + "__docId__": 364, "kind": "member", "static": false, "variation": null, @@ -7901,7 +7886,7 @@ } }, { - "__docId__": 366, + "__docId__": 365, "kind": "member", "static": false, "variation": null, @@ -7921,7 +7906,7 @@ } }, { - "__docId__": 367, + "__docId__": 366, "kind": "member", "static": false, "variation": null, @@ -7941,7 +7926,7 @@ } }, { - "__docId__": 368, + "__docId__": 367, "kind": "member", "static": false, "variation": null, @@ -7961,7 +7946,7 @@ } }, { - "__docId__": 369, + "__docId__": 368, "kind": "member", "static": false, "variation": null, @@ -7981,7 +7966,7 @@ } }, { - "__docId__": 370, + "__docId__": 369, "kind": "method", "static": false, "variation": null, @@ -7995,7 +7980,7 @@ "generator": false }, { - "__docId__": 371, + "__docId__": 370, "kind": "member", "static": false, "variation": null, @@ -8013,7 +7998,7 @@ } }, { - "__docId__": 372, + "__docId__": 371, "kind": "member", "static": false, "variation": null, @@ -8031,7 +8016,7 @@ } }, { - "__docId__": 373, + "__docId__": 372, "kind": "member", "static": false, "variation": null, @@ -8049,7 +8034,7 @@ } }, { - "__docId__": 374, + "__docId__": 373, "kind": "member", "static": false, "variation": null, @@ -8067,7 +8052,7 @@ } }, { - "__docId__": 375, + "__docId__": 374, "kind": "member", "static": false, "variation": null, @@ -8085,7 +8070,7 @@ } }, { - "__docId__": 376, + "__docId__": 375, "kind": "member", "static": false, "variation": null, @@ -8103,7 +8088,7 @@ } }, { - "__docId__": 377, + "__docId__": 376, "kind": "member", "static": false, "variation": null, @@ -8121,7 +8106,7 @@ } }, { - "__docId__": 378, + "__docId__": 377, "kind": "method", "static": false, "variation": null, @@ -8135,7 +8120,7 @@ "generator": false }, { - "__docId__": 379, + "__docId__": 378, "kind": "method", "static": false, "variation": null, @@ -8149,7 +8134,7 @@ "generator": false }, { - "__docId__": 380, + "__docId__": 379, "kind": "member", "static": false, "variation": null, @@ -8167,7 +8152,7 @@ } }, { - "__docId__": 381, + "__docId__": 380, "kind": "member", "static": false, "variation": null, @@ -8185,7 +8170,7 @@ } }, { - "__docId__": 382, + "__docId__": 381, "kind": "member", "static": false, "variation": null, @@ -8203,7 +8188,7 @@ } }, { - "__docId__": 383, + "__docId__": 382, "kind": "member", "static": false, "variation": null, @@ -8221,7 +8206,7 @@ } }, { - "__docId__": 384, + "__docId__": 383, "kind": "member", "static": false, "variation": null, @@ -8239,7 +8224,7 @@ } }, { - "__docId__": 385, + "__docId__": 384, "kind": "file", "static": true, "variation": null, @@ -8252,7 +8237,7 @@ "content": "import {addEvt, removeEvt} from '../event';\nimport {root} from '../root';\n\nconst JSON = root.JSON;\nconst location = root.location;\nconst decodeURIComponent = root.decodeURIComponent;\n\nexport const hasHashChange = () => {\n let docMode = root.documentMode;\n return ('onhashchange' in root) && (docMode === undefined || docMode > 7);\n};\n\n/**\n * Manages the URL hash reflecting the features state to be persisted\n *\n * @export\n * @class Hash\n */\nexport class Hash {\n\n /**\n * Creates an instance of Hash\n *\n * @param {State} state Instance of State\n */\n constructor(state) {\n this.state = state;\n this.lastHash = null;\n this.emitter = state.emitter;\n }\n\n /**\n * Initializes the Hash object\n */\n init() {\n if (!hasHashChange()) {\n return;\n }\n\n this.lastHash = location.hash;\n\n this.emitter.on(['state-changed'], (tf, state) => this.update(state));\n this.emitter.on(['initialized'], () => this.sync());\n addEvt(root, 'hashchange', () => this.sync());\n }\n\n /**\n * Updates the URL hash based on a state change\n *\n * @param {State} state Instance of State\n */\n update(state) {\n let hash = `#${JSON.stringify(state)}`;\n if (this.lastHash === hash) {\n return;\n }\n\n location.hash = hash;\n this.lastHash = hash;\n }\n\n /**\n * Converts a URL hash into a state JSON object\n *\n * @param {String} hash URL hash fragment\n * @returns {Object} JSON object\n */\n parse(hash) {\n if (hash.indexOf('#') === -1) {\n return null;\n }\n hash = hash.substr(1);\n return JSON.parse(decodeURIComponent(hash));\n }\n\n /**\n * Applies current hash state to features\n */\n sync() {\n let state = this.parse(location.hash);\n if (!state) {\n return;\n }\n // override current state with persisted one and sync features\n this.state.overrideAndSync(state);\n }\n\n /**\n * Release Hash event subscriptions and clear fields\n */\n destroy() {\n this.emitter.off(['state-changed'], (tf, state) => this.update(state));\n this.emitter.off(['initialized'], () => this.sync());\n removeEvt(root, 'hashchange', () => this.sync());\n\n this.state = null;\n this.lastHash = null;\n this.emitter = null;\n }\n}\n" }, { - "__docId__": 386, + "__docId__": 385, "kind": "variable", "static": true, "variation": null, @@ -8273,7 +8258,7 @@ } }, { - "__docId__": 387, + "__docId__": 386, "kind": "variable", "static": true, "variation": null, @@ -8294,7 +8279,7 @@ } }, { - "__docId__": 388, + "__docId__": 387, "kind": "variable", "static": true, "variation": null, @@ -8315,7 +8300,7 @@ } }, { - "__docId__": 389, + "__docId__": 388, "kind": "variable", "static": true, "variation": null, @@ -8336,7 +8321,7 @@ } }, { - "__docId__": 390, + "__docId__": 389, "kind": "class", "static": true, "variation": null, @@ -8362,7 +8347,7 @@ "interface": false }, { - "__docId__": 391, + "__docId__": 390, "kind": "constructor", "static": false, "variation": null, @@ -8387,7 +8372,7 @@ "generator": false }, { - "__docId__": 392, + "__docId__": 391, "kind": "member", "static": false, "variation": null, @@ -8405,7 +8390,7 @@ } }, { - "__docId__": 393, + "__docId__": 392, "kind": "member", "static": false, "variation": null, @@ -8423,7 +8408,7 @@ } }, { - "__docId__": 394, + "__docId__": 393, "kind": "member", "static": false, "variation": null, @@ -8441,7 +8426,7 @@ } }, { - "__docId__": 395, + "__docId__": 394, "kind": "method", "static": false, "variation": null, @@ -8455,7 +8440,7 @@ "generator": false }, { - "__docId__": 396, + "__docId__": 395, "kind": "member", "static": false, "variation": null, @@ -8473,7 +8458,7 @@ } }, { - "__docId__": 397, + "__docId__": 396, "kind": "method", "static": false, "variation": null, @@ -8498,7 +8483,7 @@ "generator": false }, { - "__docId__": 398, + "__docId__": 397, "kind": "member", "static": false, "variation": null, @@ -8516,7 +8501,7 @@ } }, { - "__docId__": 399, + "__docId__": 398, "kind": "method", "static": false, "variation": null, @@ -8555,7 +8540,7 @@ "generator": false }, { - "__docId__": 400, + "__docId__": 399, "kind": "method", "static": false, "variation": null, @@ -8569,7 +8554,7 @@ "generator": false }, { - "__docId__": 401, + "__docId__": 400, "kind": "method", "static": false, "variation": null, @@ -8583,7 +8568,7 @@ "generator": false }, { - "__docId__": 402, + "__docId__": 401, "kind": "member", "static": false, "variation": null, @@ -8601,7 +8586,7 @@ } }, { - "__docId__": 403, + "__docId__": 402, "kind": "member", "static": false, "variation": null, @@ -8619,7 +8604,7 @@ } }, { - "__docId__": 404, + "__docId__": 403, "kind": "member", "static": false, "variation": null, @@ -8637,7 +8622,7 @@ } }, { - "__docId__": 405, + "__docId__": 404, "kind": "file", "static": true, "variation": null, @@ -8650,7 +8635,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {addEvt} from '../event';\nimport {NONE} from '../const';\n\nconst WIKI_URL = 'https://github.com/koalyptus/TableFilter/wiki/' +\n '4.-Filter-operators';\nconst WEBSITE_URL = 'http://koalyptus.github.io/TableFilter/';\n\nexport class Help extends Feature {\n\n /**\n * Help UI component\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'help');\n\n var f = this.config;\n\n //id of custom container element for instructions\n this.tgtId = f.help_instructions_target_id || null;\n //id of custom container element for instructions\n this.contTgtId = f.help_instructions_container_target_id ||\n null;\n //defines help text\n this.instrText = f.help_instructions_text ?\n f.help_instructions_text :\n 'Use the filters above each column to filter and limit table ' +\n 'data. Advanced searches can be performed by using the following ' +\n 'operators:
<, <=, >, ' +\n '>=, =, *, !, {, }, ' +\n '||,&&, [empty], [nonempty], ' +\n 'rgx:
' +\n 'Learn more
';\n //defines help innerHtml\n this.instrHtml = f.help_instructions_html || null;\n //defines reset button text\n this.btnText = f.help_instructions_btn_text || '?';\n //defines reset button innerHtml\n this.btnHtml = f.help_instructions_btn_html || null;\n //defines css class for help button\n this.btnCssClass = f.help_instructions_btn_css_class || 'helpBtn';\n //defines css class for help container\n this.contCssClass = f.help_instructions_container_css_class ||\n 'helpCont';\n //help button element\n this.btn = null;\n //help content div\n this.cont = null;\n this.defaultHtml = '

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

' + '' + WEBSITE_URL + '' +\n '
©2015-' + tf.year + ' {AUTHOR}' +\n '
' +\n 'Close
';\n\n //id prefix for help elements\n this.prfxHelpSpan = 'helpSpan_';\n //id prefix for help elements\n this.prfxHelpDiv = 'helpDiv_';\n\n this.emitter.on(['init-help'], () => this.init());\n }\n\n /**\n * Initialise Help instance\n *\n * @returns (description)\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n var tf = this.tf;\n\n var helpspan = createElm('span', ['id', this.prfxHelpSpan + tf.id]);\n var helpdiv = createElm('div', ['id', this.prfxHelpDiv + tf.id]);\n\n //help button is added to defined element\n if (!this.tgtId) {\n tf.setToolbar();\n }\n var targetEl = !this.tgtId ? tf.rDiv : elm(this.tgtId);\n targetEl.appendChild(helpspan);\n\n var divContainer = !this.contTgtId ? helpspan : elm(this.contTgtId);\n\n if (!this.btnHtml) {\n divContainer.appendChild(helpdiv);\n var helplink = createElm('a', ['href', 'javascript:void(0);']);\n helplink.className = this.btnCssClass;\n helplink.appendChild(createText(this.btnText));\n helpspan.appendChild(helplink);\n addEvt(helplink, 'click', () => this.toggle());\n } else {\n helpspan.innerHTML = this.btnHtml;\n var helpEl = helpspan.firstChild;\n addEvt(helpEl, 'click', () => this.toggle());\n divContainer.appendChild(helpdiv);\n }\n\n if (!this.instrHtml) {\n helpdiv.innerHTML = this.instrText;\n helpdiv.className = this.contCssClass;\n addEvt(helpdiv, 'dblclick', () => this.toggle());\n } else {\n if (this.contTgtId) {\n divContainer.appendChild(helpdiv);\n }\n helpdiv.innerHTML = this.instrHtml;\n if (!this.contTgtId) {\n helpdiv.className = this.contCssClass;\n addEvt(helpdiv, 'dblclick', () => this.toggle());\n }\n }\n helpdiv.innerHTML += this.defaultHtml;\n addEvt(helpdiv, 'click', () => this.toggle());\n\n this.cont = helpdiv;\n this.btn = helpspan;\n this.initialized = true;\n }\n\n /**\n * Toggle help pop-up\n */\n toggle() {\n // check only if explicitily set to false as in this case undefined\n // signifies the help feature is enabled by default\n if (this.enabled === false) {\n return;\n }\n var divDisplay = this.cont.style.display;\n if (divDisplay === '' || divDisplay === NONE) {\n this.cont.style.display = 'inline';\n } else {\n this.cont.style.display = NONE;\n }\n }\n\n /**\n * Remove help UI\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n removeElm(this.btn);\n this.btn = null;\n if (!this.cont) {\n return;\n }\n removeElm(this.cont);\n this.cont = null;\n this.initialized = false;\n }\n\n}\n" }, { - "__docId__": 406, + "__docId__": 405, "kind": "variable", "static": true, "variation": null, @@ -8671,7 +8656,7 @@ } }, { - "__docId__": 407, + "__docId__": 406, "kind": "variable", "static": true, "variation": null, @@ -8692,7 +8677,7 @@ } }, { - "__docId__": 408, + "__docId__": 407, "kind": "class", "static": true, "variation": null, @@ -8712,7 +8697,7 @@ ] }, { - "__docId__": 409, + "__docId__": 408, "kind": "constructor", "static": false, "variation": null, @@ -8737,7 +8722,7 @@ "generator": false }, { - "__docId__": 410, + "__docId__": 409, "kind": "member", "static": false, "variation": null, @@ -8755,7 +8740,7 @@ } }, { - "__docId__": 411, + "__docId__": 410, "kind": "member", "static": false, "variation": null, @@ -8773,7 +8758,7 @@ } }, { - "__docId__": 412, + "__docId__": 411, "kind": "member", "static": false, "variation": null, @@ -8791,7 +8776,7 @@ } }, { - "__docId__": 413, + "__docId__": 412, "kind": "member", "static": false, "variation": null, @@ -8809,7 +8794,7 @@ } }, { - "__docId__": 414, + "__docId__": 413, "kind": "member", "static": false, "variation": null, @@ -8827,7 +8812,7 @@ } }, { - "__docId__": 415, + "__docId__": 414, "kind": "member", "static": false, "variation": null, @@ -8845,7 +8830,7 @@ } }, { - "__docId__": 416, + "__docId__": 415, "kind": "member", "static": false, "variation": null, @@ -8863,7 +8848,7 @@ } }, { - "__docId__": 417, + "__docId__": 416, "kind": "member", "static": false, "variation": null, @@ -8881,7 +8866,7 @@ } }, { - "__docId__": 418, + "__docId__": 417, "kind": "member", "static": false, "variation": null, @@ -8899,7 +8884,7 @@ } }, { - "__docId__": 419, + "__docId__": 418, "kind": "member", "static": false, "variation": null, @@ -8917,7 +8902,7 @@ } }, { - "__docId__": 420, + "__docId__": 419, "kind": "member", "static": false, "variation": null, @@ -8935,7 +8920,7 @@ } }, { - "__docId__": 421, + "__docId__": 420, "kind": "member", "static": false, "variation": null, @@ -8953,7 +8938,7 @@ } }, { - "__docId__": 422, + "__docId__": 421, "kind": "member", "static": false, "variation": null, @@ -8971,7 +8956,7 @@ } }, { - "__docId__": 423, + "__docId__": 422, "kind": "method", "static": false, "variation": null, @@ -8999,7 +8984,7 @@ "generator": false }, { - "__docId__": 424, + "__docId__": 423, "kind": "member", "static": false, "variation": null, @@ -9017,7 +9002,7 @@ } }, { - "__docId__": 425, + "__docId__": 424, "kind": "member", "static": false, "variation": null, @@ -9035,7 +9020,7 @@ } }, { - "__docId__": 426, + "__docId__": 425, "kind": "member", "static": false, "variation": null, @@ -9053,7 +9038,7 @@ } }, { - "__docId__": 427, + "__docId__": 426, "kind": "method", "static": false, "variation": null, @@ -9067,7 +9052,7 @@ "generator": false }, { - "__docId__": 428, + "__docId__": 427, "kind": "method", "static": false, "variation": null, @@ -9081,7 +9066,7 @@ "generator": false }, { - "__docId__": 429, + "__docId__": 428, "kind": "member", "static": false, "variation": null, @@ -9099,7 +9084,7 @@ } }, { - "__docId__": 430, + "__docId__": 429, "kind": "member", "static": false, "variation": null, @@ -9117,7 +9102,7 @@ } }, { - "__docId__": 431, + "__docId__": 430, "kind": "member", "static": false, "variation": null, @@ -9135,7 +9120,7 @@ } }, { - "__docId__": 432, + "__docId__": 431, "kind": "file", "static": true, "variation": null, @@ -9148,7 +9133,7 @@ "content": "import {createText, createElm, getText} from '../dom';\nimport {isArray} from '../types';\n\nexport class HighlightKeyword {\n\n /**\n * HighlightKeyword, highlight matched keyword\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n let f = tf.config();\n //defines css class for highlighting\n this.highlightCssClass = f.highlight_css_class || 'keyword';\n\n this.tf = tf;\n this.emitter = tf.emitter;\n }\n\n init() {\n this.emitter.on(\n ['before-filtering', 'destroy'],\n () => this.unhighlightAll()\n );\n this.emitter.on(\n ['highlight-keyword'],\n (tf, cell, word) =>\n this.highlight(cell, word, this.highlightCssClass)\n );\n }\n\n /**\n * highlight occurences of searched term in passed node\n * @param {Node} node\n * @param {String} word Searched term\n * @param {String} cssClass Css class name\n *\n * TODO: refactor this method\n */\n highlight(node, word, cssClass) {\n // Iterate into this nodes childNodes\n if (node.hasChildNodes) {\n let children = node.childNodes;\n for (let i = 0; i < children.length; i++) {\n this.highlight(children[i], word, cssClass);\n }\n }\n\n if (node.nodeType === 3) {\n let tempNodeVal = node.nodeValue.toLowerCase();\n let tempWordVal = word.toLowerCase();\n if (tempNodeVal.indexOf(tempWordVal) !== -1) {\n let pn = node.parentNode;\n if (pn && pn.className !== cssClass) {\n // word not highlighted yet\n let nv = node.nodeValue,\n ni = tempNodeVal.indexOf(tempWordVal),\n // Create a load of replacement nodes\n before = createText(nv.substr(0, ni)),\n docWordVal = nv.substr(ni, word.length),\n after = createText(nv.substr(ni + word.length)),\n hiwordtext = createText(docWordVal),\n hiword = createElm('span');\n hiword.className = cssClass;\n hiword.appendChild(hiwordtext);\n pn.insertBefore(before, node);\n pn.insertBefore(hiword, node);\n pn.insertBefore(after, node);\n pn.removeChild(node);\n }\n }\n }\n }\n\n /**\n * Removes highlight to nodes matching passed string\n * @param {String} word\n * @param {String} cssClass Css class to remove\n */\n unhighlight(word, cssClass) {\n let highlightedNodes = this.tf.tbl.querySelectorAll(`.${cssClass}`);\n for (let i = 0; i < highlightedNodes.length; i++) {\n let n = highlightedNodes[i];\n let nodeVal = getText(n),\n tempNodeVal = nodeVal.toLowerCase(),\n tempWordVal = word.toLowerCase();\n\n if (tempNodeVal.indexOf(tempWordVal) !== -1) {\n n.parentNode.replaceChild(createText(nodeVal), n);\n }\n }\n }\n\n /**\n * Clear all occurrences of highlighted nodes\n */\n unhighlightAll() {\n if (!this.tf.highlightKeywords) {\n return;\n }\n // iterate filters values to unhighlight all values\n this.tf.getFiltersValue().forEach((val) => {\n if (isArray(val)) {\n val.forEach((item) =>\n this.unhighlight(item, this.highlightCssClass));\n } else {\n this.unhighlight(val, this.highlightCssClass);\n }\n });\n }\n\n destroy() {\n this.emitter.off(\n ['before-filtering', 'destroy'],\n () => this.unhighlightAll()\n );\n this.emitter.off(\n ['highlight-keyword'],\n (tf, cell, word) =>\n this.highlight(cell, word, this.highlightCssClass)\n );\n }\n}\n" }, { - "__docId__": 433, + "__docId__": 432, "kind": "class", "static": true, "variation": null, @@ -9165,7 +9150,7 @@ "interface": false }, { - "__docId__": 434, + "__docId__": 433, "kind": "constructor", "static": false, "variation": null, @@ -9190,7 +9175,7 @@ "generator": false }, { - "__docId__": 435, + "__docId__": 434, "kind": "member", "static": false, "variation": null, @@ -9208,7 +9193,7 @@ } }, { - "__docId__": 436, + "__docId__": 435, "kind": "member", "static": false, "variation": null, @@ -9226,7 +9211,7 @@ } }, { - "__docId__": 437, + "__docId__": 436, "kind": "member", "static": false, "variation": null, @@ -9244,7 +9229,7 @@ } }, { - "__docId__": 438, + "__docId__": 437, "kind": "method", "static": false, "variation": null, @@ -9259,7 +9244,7 @@ "generator": false }, { - "__docId__": 439, + "__docId__": 438, "kind": "method", "static": false, "variation": null, @@ -9304,7 +9289,7 @@ "generator": false }, { - "__docId__": 440, + "__docId__": 439, "kind": "method", "static": false, "variation": null, @@ -9339,7 +9324,7 @@ "generator": false }, { - "__docId__": 441, + "__docId__": 440, "kind": "method", "static": false, "variation": null, @@ -9353,7 +9338,7 @@ "generator": false }, { - "__docId__": 442, + "__docId__": 441, "kind": "method", "static": false, "variation": null, @@ -9368,7 +9353,7 @@ "generator": false }, { - "__docId__": 443, + "__docId__": 442, "kind": "file", "static": true, "variation": null, @@ -9381,7 +9366,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {isFn} from '../types';\nimport {root} from '../root';\nimport {NONE} from '../const';\n\nexport class Loader extends Feature {\n\n /**\n * Loading message/spinner\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'loader');\n\n // TableFilter configuration\n let f = this.config;\n\n //id of container element\n this.loaderTgtId = f.loader_target_id || null;\n //div containing loader\n this.loaderDiv = null;\n //defines loader text\n this.loaderText = f.loader_text || 'Loading...';\n //defines loader innerHtml\n this.loaderHtml = f.loader_html || null;\n //defines css class for loader div\n this.loaderCssClass = f.loader_css_class || 'loader';\n //delay for hiding loader\n this.loaderCloseDelay = 250;\n //callback function before loader is displayed\n this.onShowLoader = isFn(f.on_show_loader) ? f.on_show_loader : null;\n //callback function after loader is closed\n this.onHideLoader = isFn(f.on_hide_loader) ? f.on_hide_loader : null;\n //loader div\n this.prfxLoader = 'load_';\n }\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.prfxLoader + tf.id]);\n containerDiv.className = this.loaderCssClass;\n\n let targetEl = !this.loaderTgtId ?\n tf.tbl.parentNode : elm(this.loaderTgtId);\n if (!this.loaderTgtId) {\n targetEl.insertBefore(containerDiv, tf.tbl);\n } else {\n targetEl.appendChild(containerDiv);\n }\n this.loaderDiv = containerDiv;\n if (!this.loaderHtml) {\n this.loaderDiv.appendChild(createText(this.loaderText));\n } else {\n this.loaderDiv.innerHTML = this.loaderHtml;\n }\n\n this.show(NONE);\n\n // Subscribe to events\n emitter.on([\n 'before-filtering',\n 'before-populating-filter',\n 'before-page-change',\n 'before-clearing-filters',\n 'before-page-length-change',\n 'before-reset-page',\n 'before-reset-page-length',\n 'before-loading-extensions',\n 'before-loading-themes'],\n () => this.show('')\n );\n emitter.on([\n 'after-filtering',\n 'after-populating-filter',\n 'after-page-change',\n 'after-clearing-filters',\n 'after-page-length-change',\n 'after-reset-page',\n 'after-reset-page-length',\n 'after-loading-extensions',\n 'after-loading-themes'],\n () => this.show(NONE)\n );\n\n this.initialized = true;\n }\n\n show(p) {\n if (!this.isEnabled()) {\n return;\n }\n\n let displayLoader = () => {\n if (!this.loaderDiv) {\n return;\n }\n if (this.onShowLoader && p !== NONE) {\n this.onShowLoader.call(null, this);\n }\n this.loaderDiv.style.display = p;\n if (this.onHideLoader && p === NONE) {\n this.onHideLoader.call(null, this);\n }\n };\n\n let t = p === NONE ? this.loaderCloseDelay : 1;\n root.setTimeout(displayLoader, t);\n }\n\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n let emitter = this.emitter;\n\n removeElm(this.loaderDiv);\n this.loaderDiv = null;\n\n // Unsubscribe to events\n emitter.off([\n 'before-filtering',\n 'before-populating-filter',\n 'before-page-change',\n 'before-clearing-filters',\n 'before-page-length-change',\n 'before-reset-page',\n 'before-reset-page-length',\n 'before-loading-extensions',\n 'before-loading-themes'],\n () => this.show('')\n );\n emitter.off([\n 'after-filtering',\n 'after-populating-filter',\n 'after-page-change',\n 'after-clearing-filters',\n 'after-page-length-change',\n 'after-reset-page',\n 'after-reset-page-length',\n 'after-loading-extensions',\n 'after-loading-themes'],\n () => this.show(NONE)\n );\n\n this.initialized = false;\n }\n}\n" }, { - "__docId__": 444, + "__docId__": 443, "kind": "class", "static": true, "variation": null, @@ -9401,7 +9386,7 @@ ] }, { - "__docId__": 445, + "__docId__": 444, "kind": "constructor", "static": false, "variation": null, @@ -9426,7 +9411,7 @@ "generator": false }, { - "__docId__": 446, + "__docId__": 445, "kind": "member", "static": false, "variation": null, @@ -9444,7 +9429,7 @@ } }, { - "__docId__": 447, + "__docId__": 446, "kind": "member", "static": false, "variation": null, @@ -9462,7 +9447,7 @@ } }, { - "__docId__": 448, + "__docId__": 447, "kind": "member", "static": false, "variation": null, @@ -9480,7 +9465,7 @@ } }, { - "__docId__": 449, + "__docId__": 448, "kind": "member", "static": false, "variation": null, @@ -9498,7 +9483,7 @@ } }, { - "__docId__": 450, + "__docId__": 449, "kind": "member", "static": false, "variation": null, @@ -9516,7 +9501,7 @@ } }, { - "__docId__": 451, + "__docId__": 450, "kind": "member", "static": false, "variation": null, @@ -9534,7 +9519,7 @@ } }, { - "__docId__": 452, + "__docId__": 451, "kind": "member", "static": false, "variation": null, @@ -9552,7 +9537,7 @@ } }, { - "__docId__": 453, + "__docId__": 452, "kind": "member", "static": false, "variation": null, @@ -9570,7 +9555,7 @@ } }, { - "__docId__": 454, + "__docId__": 453, "kind": "member", "static": false, "variation": null, @@ -9588,7 +9573,7 @@ } }, { - "__docId__": 455, + "__docId__": 454, "kind": "method", "static": false, "variation": null, @@ -9603,7 +9588,7 @@ "generator": false }, { - "__docId__": 456, + "__docId__": 455, "kind": "member", "static": false, "variation": null, @@ -9621,7 +9606,7 @@ } }, { - "__docId__": 457, + "__docId__": 456, "kind": "member", "static": false, "variation": null, @@ -9639,7 +9624,7 @@ } }, { - "__docId__": 458, + "__docId__": 457, "kind": "method", "static": false, "variation": null, @@ -9661,7 +9646,7 @@ "generator": false }, { - "__docId__": 459, + "__docId__": 458, "kind": "method", "static": false, "variation": null, @@ -9676,7 +9661,7 @@ "generator": false }, { - "__docId__": 460, + "__docId__": 459, "kind": "member", "static": false, "variation": null, @@ -9694,7 +9679,7 @@ } }, { - "__docId__": 461, + "__docId__": 460, "kind": "member", "static": false, "variation": null, @@ -9712,7 +9697,7 @@ } }, { - "__docId__": 462, + "__docId__": 461, "kind": "file", "static": true, "variation": null, @@ -9725,7 +9710,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, elm, removeElm} from '../dom';\nimport {isEmpty, isFn} from '../types';\nimport {NONE} from '../const';\n\nexport class NoResults extends Feature {\n\n /**\n * No results message UI component\n * @param {Object} 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 this.content = f.content || 'No results';\n this.customContainer = f.custom_container || null;\n this.customContainerId = f.custom_container_id || null;\n this.isExternal = !isEmpty(this.customContainer) ||\n !isEmpty(this.customContainerId);\n this.cssClass = f.css_class || 'no-results';\n\n this.cont = null;\n\n //callback before message is displayed\n this.onBeforeShowMsg = isFn(f.on_before_show_msg) ?\n f.on_before_show_msg : null;\n //callback after message is displayed\n this.onAfterShowMsg = isFn(f.on_after_show_msg) ?\n f.on_after_show_msg : null;\n //callback before message is hidden\n this.onBeforeHideMsg = isFn(f.on_before_hide_msg) ?\n f.on_before_hide_msg : null;\n //callback after message is hidden\n this.onAfterHideMsg = isFn(f.on_after_hide_msg) ?\n f.on_after_hide_msg : null;\n\n this.prfxNoResults = 'nores_';\n }\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.prfxNoResults + 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 this.initialized = true;\n this.hide();\n }\n\n toggle() {\n if (this.tf.getValidRowsNb() > 0) {\n this.hide();\n } else {\n this.show();\n }\n }\n\n show() {\n if (!this.initialized || !this.isEnabled()) {\n return;\n }\n\n if (this.onBeforeShowMsg) {\n this.onBeforeShowMsg.call(null, this.tf, this);\n }\n\n this.setWidth();\n this.cont.style.display = 'block';\n\n if (this.onAfterShowMsg) {\n this.onAfterShowMsg.call(null, this.tf, this);\n }\n }\n\n hide() {\n if (!this.initialized || !this.isEnabled()) {\n return;\n }\n\n if (this.onBeforeHideMsg) {\n this.onBeforeHideMsg.call(null, this.tf, this);\n }\n\n this.cont.style.display = NONE;\n\n if (this.onBeforeHideMsg) {\n this.onBeforeHideMsg.call(null, this.tf, this);\n }\n }\n\n setWidth() {\n if (!this.initialized || this.isExternal || !this.isEnabled()) {\n return;\n }\n if (this.tf.gridLayout) {\n let gridLayout = this.tf.feature('gridLayout');\n this.cont.style.width = gridLayout.tblCont.clientWidth + 'px';\n } else {\n this.cont.style.width = this.tf.tbl.clientWidth + 'px';\n }\n\n }\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__": 463, + "__docId__": 462, "kind": "class", "static": true, "variation": null, @@ -9745,7 +9730,7 @@ ] }, { - "__docId__": 464, + "__docId__": 463, "kind": "constructor", "static": false, "variation": null, @@ -9770,7 +9755,7 @@ "generator": false }, { - "__docId__": 465, + "__docId__": 464, "kind": "member", "static": false, "variation": null, @@ -9788,7 +9773,7 @@ } }, { - "__docId__": 466, + "__docId__": 465, "kind": "member", "static": false, "variation": null, @@ -9806,7 +9791,7 @@ } }, { - "__docId__": 467, + "__docId__": 466, "kind": "member", "static": false, "variation": null, @@ -9824,7 +9809,7 @@ } }, { - "__docId__": 468, + "__docId__": 467, "kind": "member", "static": false, "variation": null, @@ -9842,7 +9827,7 @@ } }, { - "__docId__": 469, + "__docId__": 468, "kind": "member", "static": false, "variation": null, @@ -9860,7 +9845,7 @@ } }, { - "__docId__": 470, + "__docId__": 469, "kind": "member", "static": false, "variation": null, @@ -9878,7 +9863,7 @@ } }, { - "__docId__": 471, + "__docId__": 470, "kind": "member", "static": false, "variation": null, @@ -9896,7 +9881,7 @@ } }, { - "__docId__": 472, + "__docId__": 471, "kind": "member", "static": false, "variation": null, @@ -9914,7 +9899,7 @@ } }, { - "__docId__": 473, + "__docId__": 472, "kind": "member", "static": false, "variation": null, @@ -9932,7 +9917,7 @@ } }, { - "__docId__": 474, + "__docId__": 473, "kind": "member", "static": false, "variation": null, @@ -9950,7 +9935,7 @@ } }, { - "__docId__": 475, + "__docId__": 474, "kind": "member", "static": false, "variation": null, @@ -9968,7 +9953,7 @@ } }, { - "__docId__": 476, + "__docId__": 475, "kind": "method", "static": false, "variation": null, @@ -9983,7 +9968,7 @@ "generator": false }, { - "__docId__": 477, + "__docId__": 476, "kind": "member", "static": false, "variation": null, @@ -10001,7 +9986,7 @@ } }, { - "__docId__": 478, + "__docId__": 477, "kind": "member", "static": false, "variation": null, @@ -10019,7 +10004,7 @@ } }, { - "__docId__": 479, + "__docId__": 478, "kind": "method", "static": false, "variation": null, @@ -10034,7 +10019,7 @@ "generator": false }, { - "__docId__": 480, + "__docId__": 479, "kind": "method", "static": false, "variation": null, @@ -10049,7 +10034,7 @@ "generator": false }, { - "__docId__": 481, + "__docId__": 480, "kind": "method", "static": false, "variation": null, @@ -10064,7 +10049,7 @@ "generator": false }, { - "__docId__": 482, + "__docId__": 481, "kind": "method", "static": false, "variation": null, @@ -10079,7 +10064,7 @@ "generator": false }, { - "__docId__": 483, + "__docId__": 482, "kind": "method", "static": false, "variation": null, @@ -10094,7 +10079,7 @@ "generator": false }, { - "__docId__": 484, + "__docId__": 483, "kind": "member", "static": false, "variation": null, @@ -10112,7 +10097,7 @@ } }, { - "__docId__": 485, + "__docId__": 484, "kind": "member", "static": false, "variation": null, @@ -10130,7 +10115,7 @@ } }, { - "__docId__": 486, + "__docId__": 485, "kind": "file", "static": true, "variation": null, @@ -10143,7 +10128,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\nexport class Paging extends Feature {\n\n /**\n * Pagination component\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'paging');\n\n // Configuration object\n var f = this.config;\n\n //css class for paging buttons (previous,next,etc.)\n this.btnPageCssClass = f.paging_btn_css_class || 'pgInp';\n //stores paging select element\n this.pagingSlc = null;\n //results per page select element\n this.resultsPerPageSlc = null;\n //id of container element\n this.pagingTgtId = f.paging_target_id || null;\n //defines table paging length\n this.pagingLength = !isNaN(f.paging_length) ? f.paging_length : 10;\n //id of container element\n this.resultsPerPageTgtId = f.results_per_page_target_id || null;\n //css class for paging select element\n this.pgSlcCssClass = f.paging_slc_css_class || 'pgSlc';\n //css class for paging input element\n this.pgInpCssClass = f.paging_inp_css_class || 'pgNbInp';\n //stores results per page text and values\n this.resultsPerPage = f.results_per_page || null;\n //enables/disables results per page drop-down\n this.hasResultsPerPage = isArray(this.resultsPerPage);\n //defines css class for results per page select\n this.resultsSlcCssClass = f.results_slc_css_class || 'rspg';\n //css class for label preceding results per page select\n this.resultsSpanCssClass = f.results_span_css_class || 'rspgSpan';\n //1st row index of current page\n this.startPagingRow = 0;\n //total nb of pages\n this.nbPages = 0;\n //current page nb\n this.currentPageNb = 1;\n //defines next page button text\n this.btnNextPageText = f.btn_next_page_text || '>';\n //defines previous page button text\n this.btnPrevPageText = f.btn_prev_page_text || '<';\n //defines last page button text\n this.btnLastPageText = f.btn_last_page_text || '>|';\n //defines first page button text\n this.btnFirstPageText = f.btn_first_page_text || '|<';\n //defines next page button html\n this.btnNextPageHtml = f.btn_next_page_html ||\n (!tf.enableIcons ? null :\n '');\n //defines previous page button html\n this.btnPrevPageHtml = f.btn_prev_page_html ||\n (!tf.enableIcons ? null :\n '');\n //defines last page button html\n this.btnFirstPageHtml = f.btn_first_page_html ||\n (!tf.enableIcons ? null :\n '');\n //defines previous page button html\n this.btnLastPageHtml = f.btn_last_page_html ||\n (!tf.enableIcons ? null :\n '');\n //defines text preceeding page selector drop-down\n this.pageText = f.page_text || ' Page ';\n //defines text after page selector drop-down\n this.ofText = f.of_text || ' of ';\n //css class for span containing tot nb of pages\n this.nbPgSpanCssClass = f.nb_pages_css_class || 'nbpg';\n //enables/disables paging buttons\n this.hasPagingBtns = f.paging_btns === false ? false : true;\n //defines previous page button html\n this.pageSelectorType = f.page_selector_type || SELECT;\n //calls function before page is changed\n this.onBeforeChangePage = isFn(f.on_before_change_page) ?\n f.on_before_change_page : null;\n //calls function before page is changed\n this.onAfterChangePage = isFn(f.on_after_change_page) ?\n f.on_after_change_page : null;\n\n //pages select\n this.prfxSlcPages = 'slcPages_';\n //results per page select\n this.prfxSlcResults = 'slcResults_';\n //label preciding results per page select\n this.prfxSlcResultsTxt = 'slcResultsTxt_';\n //span containing next page button\n this.prfxBtnNextSpan = 'btnNextSpan_';\n //span containing previous page button\n this.prfxBtnPrevSpan = 'btnPrevSpan_';\n //span containing last page button\n this.prfxBtnLastSpan = 'btnLastSpan_';\n //span containing first page button\n this.prfxBtnFirstSpan = 'btnFirstSpan_';\n //next button\n this.prfxBtnNext = 'btnNext_';\n //previous button\n this.prfxBtnPrev = 'btnPrev_';\n //last button\n this.prfxBtnLast = 'btnLast_';\n //first button\n this.prfxBtnFirst = 'btnFirst_';\n //span for tot nb pages\n this.prfxPgSpan = 'pgspan_';\n //span preceding pages select (contains 'Page')\n this.prfxPgBeforeSpan = 'pgbeforespan_';\n //span following pages select (contains ' of ')\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 //Paging elements events\n var o = this;\n // Paging DOM events\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 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 according to 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 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__": 487, + "__docId__": 486, "kind": "class", "static": true, "variation": null, @@ -10163,7 +10148,7 @@ ] }, { - "__docId__": 488, + "__docId__": 487, "kind": "constructor", "static": false, "variation": null, @@ -10188,7 +10173,7 @@ "generator": false }, { - "__docId__": 489, + "__docId__": 488, "kind": "member", "static": false, "variation": null, @@ -10206,7 +10191,7 @@ } }, { - "__docId__": 490, + "__docId__": 489, "kind": "member", "static": false, "variation": null, @@ -10224,7 +10209,7 @@ } }, { - "__docId__": 491, + "__docId__": 490, "kind": "member", "static": false, "variation": null, @@ -10242,7 +10227,7 @@ } }, { - "__docId__": 492, + "__docId__": 491, "kind": "member", "static": false, "variation": null, @@ -10260,7 +10245,7 @@ } }, { - "__docId__": 493, + "__docId__": 492, "kind": "member", "static": false, "variation": null, @@ -10278,7 +10263,7 @@ } }, { - "__docId__": 494, + "__docId__": 493, "kind": "member", "static": false, "variation": null, @@ -10296,7 +10281,7 @@ } }, { - "__docId__": 495, + "__docId__": 494, "kind": "member", "static": false, "variation": null, @@ -10314,7 +10299,7 @@ } }, { - "__docId__": 496, + "__docId__": 495, "kind": "member", "static": false, "variation": null, @@ -10332,7 +10317,7 @@ } }, { - "__docId__": 497, + "__docId__": 496, "kind": "member", "static": false, "variation": null, @@ -10350,7 +10335,7 @@ } }, { - "__docId__": 498, + "__docId__": 497, "kind": "member", "static": false, "variation": null, @@ -10368,7 +10353,7 @@ } }, { - "__docId__": 499, + "__docId__": 498, "kind": "member", "static": false, "variation": null, @@ -10386,7 +10371,7 @@ } }, { - "__docId__": 500, + "__docId__": 499, "kind": "member", "static": false, "variation": null, @@ -10404,7 +10389,7 @@ } }, { - "__docId__": 501, + "__docId__": 500, "kind": "member", "static": false, "variation": null, @@ -10422,7 +10407,7 @@ } }, { - "__docId__": 502, + "__docId__": 501, "kind": "member", "static": false, "variation": null, @@ -10440,7 +10425,7 @@ } }, { - "__docId__": 503, + "__docId__": 502, "kind": "member", "static": false, "variation": null, @@ -10458,7 +10443,7 @@ } }, { - "__docId__": 504, + "__docId__": 503, "kind": "member", "static": false, "variation": null, @@ -10476,7 +10461,7 @@ } }, { - "__docId__": 505, + "__docId__": 504, "kind": "member", "static": false, "variation": null, @@ -10494,7 +10479,7 @@ } }, { - "__docId__": 506, + "__docId__": 505, "kind": "member", "static": false, "variation": null, @@ -10512,7 +10497,7 @@ } }, { - "__docId__": 507, + "__docId__": 506, "kind": "member", "static": false, "variation": null, @@ -10530,7 +10515,7 @@ } }, { - "__docId__": 508, + "__docId__": 507, "kind": "member", "static": false, "variation": null, @@ -10548,7 +10533,7 @@ } }, { - "__docId__": 509, + "__docId__": 508, "kind": "member", "static": false, "variation": null, @@ -10566,7 +10551,7 @@ } }, { - "__docId__": 510, + "__docId__": 509, "kind": "member", "static": false, "variation": null, @@ -10584,7 +10569,7 @@ } }, { - "__docId__": 511, + "__docId__": 510, "kind": "member", "static": false, "variation": null, @@ -10602,7 +10587,7 @@ } }, { - "__docId__": 512, + "__docId__": 511, "kind": "member", "static": false, "variation": null, @@ -10620,7 +10605,7 @@ } }, { - "__docId__": 513, + "__docId__": 512, "kind": "member", "static": false, "variation": null, @@ -10638,7 +10623,7 @@ } }, { - "__docId__": 514, + "__docId__": 513, "kind": "member", "static": false, "variation": null, @@ -10656,7 +10641,7 @@ } }, { - "__docId__": 515, + "__docId__": 514, "kind": "member", "static": false, "variation": null, @@ -10674,7 +10659,7 @@ } }, { - "__docId__": 516, + "__docId__": 515, "kind": "member", "static": false, "variation": null, @@ -10692,7 +10677,7 @@ } }, { - "__docId__": 517, + "__docId__": 516, "kind": "member", "static": false, "variation": null, @@ -10710,7 +10695,7 @@ } }, { - "__docId__": 518, + "__docId__": 517, "kind": "member", "static": false, "variation": null, @@ -10728,7 +10713,7 @@ } }, { - "__docId__": 519, + "__docId__": 518, "kind": "member", "static": false, "variation": null, @@ -10746,7 +10731,7 @@ } }, { - "__docId__": 520, + "__docId__": 519, "kind": "member", "static": false, "variation": null, @@ -10764,7 +10749,7 @@ } }, { - "__docId__": 521, + "__docId__": 520, "kind": "member", "static": false, "variation": null, @@ -10782,7 +10767,7 @@ } }, { - "__docId__": 522, + "__docId__": 521, "kind": "member", "static": false, "variation": null, @@ -10800,7 +10785,7 @@ } }, { - "__docId__": 523, + "__docId__": 522, "kind": "member", "static": false, "variation": null, @@ -10818,7 +10803,7 @@ } }, { - "__docId__": 524, + "__docId__": 523, "kind": "member", "static": false, "variation": null, @@ -10836,7 +10821,7 @@ } }, { - "__docId__": 525, + "__docId__": 524, "kind": "member", "static": false, "variation": null, @@ -10854,7 +10839,7 @@ } }, { - "__docId__": 526, + "__docId__": 525, "kind": "member", "static": false, "variation": null, @@ -10872,7 +10857,7 @@ } }, { - "__docId__": 527, + "__docId__": 526, "kind": "member", "static": false, "variation": null, @@ -10890,7 +10875,7 @@ } }, { - "__docId__": 528, + "__docId__": 527, "kind": "member", "static": false, "variation": null, @@ -10908,7 +10893,7 @@ } }, { - "__docId__": 529, + "__docId__": 528, "kind": "member", "static": false, "variation": null, @@ -10926,7 +10911,7 @@ } }, { - "__docId__": 530, + "__docId__": 529, "kind": "member", "static": false, "variation": null, @@ -10944,7 +10929,7 @@ } }, { - "__docId__": 531, + "__docId__": 530, "kind": "member", "static": false, "variation": null, @@ -10962,7 +10947,7 @@ } }, { - "__docId__": 532, + "__docId__": 531, "kind": "member", "static": false, "variation": null, @@ -10980,7 +10965,7 @@ } }, { - "__docId__": 533, + "__docId__": 532, "kind": "member", "static": false, "variation": null, @@ -10998,7 +10983,7 @@ } }, { - "__docId__": 534, + "__docId__": 533, "kind": "member", "static": false, "variation": null, @@ -11016,7 +11001,7 @@ } }, { - "__docId__": 535, + "__docId__": 534, "kind": "method", "static": false, "variation": null, @@ -11030,7 +11015,7 @@ "generator": false }, { - "__docId__": 536, + "__docId__": 535, "kind": "member", "static": false, "variation": null, @@ -11048,7 +11033,7 @@ } }, { - "__docId__": 537, + "__docId__": 536, "kind": "member", "static": false, "variation": null, @@ -11066,7 +11051,7 @@ } }, { - "__docId__": 538, + "__docId__": 537, "kind": "member", "static": false, "variation": null, @@ -11084,7 +11069,7 @@ } }, { - "__docId__": 539, + "__docId__": 538, "kind": "member", "static": false, "variation": null, @@ -11102,7 +11087,7 @@ } }, { - "__docId__": 540, + "__docId__": 539, "kind": "method", "static": false, "variation": null, @@ -11127,7 +11112,7 @@ "generator": false }, { - "__docId__": 541, + "__docId__": 540, "kind": "method", "static": false, "variation": null, @@ -11141,7 +11126,7 @@ "generator": false }, { - "__docId__": 542, + "__docId__": 541, "kind": "member", "static": false, "variation": null, @@ -11159,7 +11144,7 @@ } }, { - "__docId__": 543, + "__docId__": 542, "kind": "member", "static": false, "variation": null, @@ -11177,7 +11162,7 @@ } }, { - "__docId__": 544, + "__docId__": 543, "kind": "method", "static": false, "variation": null, @@ -11202,7 +11187,7 @@ "generator": false }, { - "__docId__": 545, + "__docId__": 544, "kind": "member", "static": false, "variation": null, @@ -11220,7 +11205,7 @@ } }, { - "__docId__": 546, + "__docId__": 545, "kind": "method", "static": false, "variation": null, @@ -11245,7 +11230,7 @@ "generator": false }, { - "__docId__": 547, + "__docId__": 546, "kind": "method", "static": false, "variation": null, @@ -11267,7 +11252,7 @@ "generator": false }, { - "__docId__": 548, + "__docId__": 547, "kind": "method", "static": false, "variation": null, @@ -11292,7 +11277,7 @@ "generator": false }, { - "__docId__": 549, + "__docId__": 548, "kind": "method", "static": false, "variation": null, @@ -11306,7 +11291,7 @@ "generator": false }, { - "__docId__": 550, + "__docId__": 549, "kind": "member", "static": false, "variation": null, @@ -11324,7 +11309,7 @@ } }, { - "__docId__": 551, + "__docId__": 550, "kind": "method", "static": false, "variation": null, @@ -11338,7 +11323,7 @@ "generator": false }, { - "__docId__": 552, + "__docId__": 551, "kind": "member", "static": false, "variation": null, @@ -11356,7 +11341,7 @@ } }, { - "__docId__": 553, + "__docId__": 552, "kind": "method", "static": false, "variation": null, @@ -11381,7 +11366,7 @@ "generator": false }, { - "__docId__": 554, + "__docId__": 553, "kind": "member", "static": false, "variation": null, @@ -11399,7 +11384,7 @@ } }, { - "__docId__": 555, + "__docId__": 554, "kind": "member", "static": false, "variation": null, @@ -11417,7 +11402,7 @@ } }, { - "__docId__": 556, + "__docId__": 555, "kind": "method", "static": false, "variation": null, @@ -11439,7 +11424,7 @@ "generator": false }, { - "__docId__": 557, + "__docId__": 556, "kind": "method", "static": false, "variation": null, @@ -11453,7 +11438,7 @@ "generator": false }, { - "__docId__": 558, + "__docId__": 557, "kind": "member", "static": false, "variation": null, @@ -11471,7 +11456,7 @@ } }, { - "__docId__": 559, + "__docId__": 558, "kind": "member", "static": false, "variation": null, @@ -11489,7 +11474,7 @@ } }, { - "__docId__": 560, + "__docId__": 559, "kind": "member", "static": false, "variation": null, @@ -11507,7 +11492,7 @@ } }, { - "__docId__": 561, + "__docId__": 560, "kind": "method", "static": false, "variation": null, @@ -11521,7 +11506,7 @@ "generator": false }, { - "__docId__": 562, + "__docId__": 561, "kind": "method", "static": false, "variation": null, @@ -11535,7 +11520,7 @@ "generator": false }, { - "__docId__": 563, + "__docId__": 562, "kind": "method", "static": false, "variation": null, @@ -11549,7 +11534,7 @@ "generator": false }, { - "__docId__": 564, + "__docId__": 563, "kind": "member", "static": false, "variation": null, @@ -11567,7 +11552,7 @@ } }, { - "__docId__": 565, + "__docId__": 564, "kind": "member", "static": false, "variation": null, @@ -11585,7 +11570,7 @@ } }, { - "__docId__": 566, + "__docId__": 565, "kind": "member", "static": false, "variation": null, @@ -11603,7 +11588,7 @@ } }, { - "__docId__": 567, + "__docId__": 566, "kind": "file", "static": true, "variation": null, @@ -11616,7 +11601,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\nexport class PopupFilter extends Feature {\n\n /**\n * Pop-up filter component\n * @param {Object} 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 //filter icon path\n this.popUpImgFlt = f.popup_filters_image ||\n tf.themesPath + 'icn_filter.gif';\n //active filter icon path\n this.popUpImgFltActive = f.popup_filters_image_active ||\n tf.themesPath + 'icn_filterActive.gif';\n this.popUpImgFltHtml = f.popup_filters_image_html ||\n '\"Column';\n //defines css class for popup div containing filter\n this.popUpDivCssClass = f.popup_div_css_class || 'popUpFilter';\n //callback function before popup filtes is opened\n this.onBeforePopUpOpen = isFn(f.on_before_popup_filter_open) ?\n f.on_before_popup_filter_open : null;\n //callback function after popup filtes is opened\n this.onAfterPopUpOpen = isFn(f.on_after_popup_filter_open) ?\n f.on_after_popup_filter_open : null;\n //callback function before popup filtes is closed\n this.onBeforePopUpClose = isFn(f.on_before_popup_filter_close) ?\n f.on_before_popup_filter_close : null;\n //callback function after popup filtes is closed\n this.onAfterPopUpClose = isFn(f.on_after_popup_filter_close) ?\n f.on_after_popup_filter_close : null;\n\n //stores filters spans\n this.popUpFltSpans = [];\n //stores filters icons\n this.popUpFltImgs = [];\n //stores filters containers\n this.popUpFltElms = this.popUpFltElmCache || [];\n this.popUpFltAdjustToContainer = true;\n\n //id prefix for pop-up filter span\n this.prfxPopUpSpan = 'popUpSpan_';\n //id prefix for pop-up div containing filter\n this.prfxPopUpDiv = 'popUpDiv_';\n }\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.popUpFltAdjustToContainer) {\n let popUpDiv = this.popUpFltElms[colIndex],\n header = this.tf.getHeaderElement(colIndex),\n headerWidth = header.clientWidth * 0.95;\n popUpDiv.style.width = parseInt(headerWidth, 10) + 'px';\n }\n cancelEvt(evt);\n stopEvt(evt);\n }\n\n /**\n * Initialize DOM elements\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n\n // Override headers row index if no grouped headers\n if (tf.headersRow <= 1) {\n tf.headersRow = 0;\n }\n\n for (let i = 0; i < tf.nbCells; i++) {\n if (tf.getFilterType(i) === NONE) {\n continue;\n }\n let popUpSpan = createElm(\n 'span',\n ['id', this.prfxPopUpSpan + tf.id + '_' + i],\n ['ci', i]\n );\n popUpSpan.innerHTML = this.popUpImgFltHtml;\n let header = tf.getHeaderElement(i);\n header.appendChild(popUpSpan);\n addEvt(popUpSpan, 'click', (evt) => this.onClick(evt));\n this.popUpFltSpans[i] = popUpSpan;\n this.popUpFltImgs[i] = popUpSpan.firstChild;\n }\n\n // subscribe to events\n this.emitter.on(['before-filtering'], () => this.buildIcons());\n this.emitter.on(['after-filtering'], () => this.closeAll());\n this.emitter.on(['cell-processed'],\n (tf, cellIndex) => this.buildIcon(cellIndex, true));\n this.emitter.on(['filters-row-inserted'], () => this.tf.headersRow++);\n this.emitter.on(['before-filter-init'],\n (tf, colIndex) => this.build(colIndex));\n\n this.initialized = true;\n }\n\n /**\n * Reset previously destroyed feature\n */\n reset() {\n this.enable();\n this.init();\n this.buildAll();\n }\n\n /**\n * Build all pop-up filters elements\n */\n buildAll() {\n for (let i = 0; i < this.popUpFltElmCache.length; i++) {\n this.build(i, this.popUpFltElmCache[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.prfxPopUpDiv + tf.id + '_' + colIndex]) :\n div;\n popUpDiv.className = this.popUpDivCssClass;\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.popUpFltElms[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.popUpFltElms[colIndex];\n\n if (popUpFltElm.style.display === NONE ||\n popUpFltElm.style.display === '') {\n if (this.onBeforePopUpOpen) {\n this.onBeforePopUpOpen.call(\n null, this, this.popUpFltElms[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.onAfterPopUpOpen) {\n this.onAfterPopUpOpen.call(\n null, this, this.popUpFltElms[colIndex], colIndex);\n }\n } else {\n if (this.onBeforePopUpClose) {\n this.onBeforePopUpClose.call(\n null, this, this.popUpFltElms[colIndex], colIndex);\n }\n popUpFltElm.style.display = NONE;\n if (this.onAfterPopUpClose) {\n this.onAfterPopUpClose.call(\n null, this, this.popUpFltElms[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.popUpFltElms.length; i++) {\n if (i === exceptIdx) {\n continue;\n }\n let popUpFltElm = this.popUpFltElms[i];\n if (popUpFltElm) {\n popUpFltElm.style.display = NONE;\n }\n }\n }\n\n /**\n * Build all the icons representing the pop-up filters\n */\n buildIcons() {\n for (let i = 0; i < this.popUpFltImgs.length; i++) {\n this.buildIcon(i, false);\n }\n }\n\n /**\n * Apply specified icon state\n * @param {Number} colIndex Column index\n * @param {Boolean} active Apply active state\n */\n buildIcon(colIndex, active) {\n if (this.popUpFltImgs[colIndex]) {\n this.popUpFltImgs[colIndex].src = active ?\n this.popUpImgFltActive : this.popUpImgFlt;\n }\n }\n\n /**\n * Remove pop-up filters\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n this.popUpFltElmCache = [];\n for (let i = 0; i < this.popUpFltElms.length; i++) {\n let popUpFltElm = this.popUpFltElms[i],\n popUpFltSpan = this.popUpFltSpans[i],\n popUpFltImg = this.popUpFltImgs[i];\n if (popUpFltElm) {\n removeElm(popUpFltElm);\n this.popUpFltElmCache[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.popUpFltElms = [];\n this.popUpFltSpans = [];\n this.popUpFltImgs = [];\n\n // unsubscribe to events\n this.emitter.off(['before-filtering'], () => this.buildIcons());\n this.emitter.off(['after-filtering'], () => this.closeAll());\n this.emitter.off(['cell-processed'],\n (tf, cellIndex) => this.buildIcon(cellIndex, true));\n this.emitter.off(['filters-row-inserted'], () => this.tf.headersRow++);\n this.emitter.off(['before-filter-init'],\n (tf, colIndex) => this.build(colIndex));\n\n this.initialized = false;\n }\n\n}\n" }, { - "__docId__": 568, + "__docId__": 567, "kind": "class", "static": true, "variation": null, @@ -11636,7 +11621,7 @@ ] }, { - "__docId__": 569, + "__docId__": 568, "kind": "constructor", "static": false, "variation": null, @@ -11661,7 +11646,7 @@ "generator": false }, { - "__docId__": 570, + "__docId__": 569, "kind": "member", "static": false, "variation": null, @@ -11679,7 +11664,7 @@ } }, { - "__docId__": 571, + "__docId__": 570, "kind": "member", "static": false, "variation": null, @@ -11697,7 +11682,7 @@ } }, { - "__docId__": 572, + "__docId__": 571, "kind": "member", "static": false, "variation": null, @@ -11715,7 +11700,7 @@ } }, { - "__docId__": 573, + "__docId__": 572, "kind": "member", "static": false, "variation": null, @@ -11733,7 +11718,7 @@ } }, { - "__docId__": 574, + "__docId__": 573, "kind": "member", "static": false, "variation": null, @@ -11751,7 +11736,7 @@ } }, { - "__docId__": 575, + "__docId__": 574, "kind": "member", "static": false, "variation": null, @@ -11769,7 +11754,7 @@ } }, { - "__docId__": 576, + "__docId__": 575, "kind": "member", "static": false, "variation": null, @@ -11787,7 +11772,7 @@ } }, { - "__docId__": 577, + "__docId__": 576, "kind": "member", "static": false, "variation": null, @@ -11805,7 +11790,7 @@ } }, { - "__docId__": 578, + "__docId__": 577, "kind": "member", "static": false, "variation": null, @@ -11823,7 +11808,7 @@ } }, { - "__docId__": 579, + "__docId__": 578, "kind": "member", "static": false, "variation": null, @@ -11841,7 +11826,7 @@ } }, { - "__docId__": 580, + "__docId__": 579, "kind": "member", "static": false, "variation": null, @@ -11859,7 +11844,7 @@ } }, { - "__docId__": 581, + "__docId__": 580, "kind": "member", "static": false, "variation": null, @@ -11877,7 +11862,7 @@ } }, { - "__docId__": 582, + "__docId__": 581, "kind": "member", "static": false, "variation": null, @@ -11895,7 +11880,7 @@ } }, { - "__docId__": 583, + "__docId__": 582, "kind": "member", "static": false, "variation": null, @@ -11913,7 +11898,7 @@ } }, { - "__docId__": 584, + "__docId__": 583, "kind": "method", "static": false, "variation": null, @@ -11935,7 +11920,7 @@ "generator": false }, { - "__docId__": 585, + "__docId__": 584, "kind": "method", "static": false, "variation": null, @@ -11949,7 +11934,7 @@ "generator": false }, { - "__docId__": 586, + "__docId__": 585, "kind": "member", "static": false, "variation": null, @@ -11967,7 +11952,7 @@ } }, { - "__docId__": 587, + "__docId__": 586, "kind": "method", "static": false, "variation": null, @@ -11981,7 +11966,7 @@ "generator": false }, { - "__docId__": 588, + "__docId__": 587, "kind": "method", "static": false, "variation": null, @@ -11995,7 +11980,7 @@ "generator": false }, { - "__docId__": 589, + "__docId__": 588, "kind": "method", "static": false, "variation": null, @@ -12030,7 +12015,7 @@ "generator": false }, { - "__docId__": 590, + "__docId__": 589, "kind": "method", "static": false, "variation": null, @@ -12055,7 +12040,7 @@ "generator": false }, { - "__docId__": 591, + "__docId__": 590, "kind": "method", "static": false, "variation": null, @@ -12080,7 +12065,7 @@ "generator": false }, { - "__docId__": 592, + "__docId__": 591, "kind": "method", "static": false, "variation": null, @@ -12094,7 +12079,7 @@ "generator": false }, { - "__docId__": 593, + "__docId__": 592, "kind": "method", "static": false, "variation": null, @@ -12129,7 +12114,7 @@ "generator": false }, { - "__docId__": 594, + "__docId__": 593, "kind": "method", "static": false, "variation": null, @@ -12143,7 +12128,7 @@ "generator": false }, { - "__docId__": 595, + "__docId__": 594, "kind": "member", "static": false, "variation": null, @@ -12161,7 +12146,7 @@ } }, { - "__docId__": 596, + "__docId__": 595, "kind": "member", "static": false, "variation": null, @@ -12179,7 +12164,7 @@ } }, { - "__docId__": 597, + "__docId__": 596, "kind": "member", "static": false, "variation": null, @@ -12197,7 +12182,7 @@ } }, { - "__docId__": 598, + "__docId__": 597, "kind": "member", "static": false, "variation": null, @@ -12215,7 +12200,7 @@ } }, { - "__docId__": 599, + "__docId__": 598, "kind": "member", "static": false, "variation": null, @@ -12233,7 +12218,7 @@ } }, { - "__docId__": 600, + "__docId__": 599, "kind": "file", "static": true, "variation": null, @@ -12246,7 +12231,7 @@ "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {isFn} from '../types';\n\nexport class RowsCounter extends Feature {\n\n /**\n * Rows counter\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'rowsCounter');\n\n // TableFilter configuration\n var f = this.config;\n\n //id of custom container element\n this.rowsCounterTgtId = f.rows_counter_target_id || null;\n //element containing tot nb rows\n this.rowsCounterDiv = null;\n //element containing tot nb rows label\n this.rowsCounterSpan = null;\n //defines rows counter text\n this.rowsCounterText = f.rows_counter_text || 'Rows: ';\n this.fromToTextSeparator = f.from_to_text_separator || '-';\n this.overText = f.over_text || ' / ';\n //defines css class rows counter\n this.totRowsCssClass = f.tot_rows_css_class || 'tot';\n //rows counter div\n this.prfxCounter = 'counter_';\n //nb displayed rows label\n this.prfxTotRows = 'totrows_span_';\n //label preceding nb rows label\n this.prfxTotRowsTxt = 'totRowsTextSpan_';\n //callback raised before counter is refreshed\n this.onBeforeRefreshCounter = isFn(f.on_before_refresh_counter) ?\n f.on_before_refresh_counter : null;\n //callback raised after counter is refreshed\n this.onAfterRefreshCounter = isFn(f.on_after_refresh_counter) ?\n f.on_after_refresh_counter : null;\n }\n\n init() {\n if (this.initialized) {\n return;\n }\n\n var tf = this.tf;\n\n //rows counter container\n var countDiv = createElm('div', ['id', this.prfxCounter + tf.id]);\n countDiv.className = this.totRowsCssClass;\n //rows counter label\n var countSpan = createElm('span', ['id', this.prfxTotRows + tf.id]);\n var countText = createElm('span', ['id', this.prfxTotRowsTxt + tf.id]);\n countText.appendChild(createText(this.rowsCounterText));\n\n // counter is added to defined element\n if (!this.rowsCounterTgtId) {\n tf.setToolbar();\n }\n var targetEl = !this.rowsCounterTgtId ?\n tf.lDiv : elm(this.rowsCounterTgtId);\n\n //default container: 'lDiv'\n if (!this.rowsCounterTgtId) {\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.rowsCounterDiv = countDiv;\n this.rowsCounterSpan = 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 this.initialized = true;\n this.refresh();\n }\n\n refresh(p) {\n if (!this.initialized || !this.isEnabled()) {\n return;\n }\n\n var tf = this.tf;\n\n if (this.onBeforeRefreshCounter) {\n this.onBeforeRefreshCounter.call(null, tf, this.rowsCounterSpan);\n }\n\n var totTxt;\n if (!tf.paging) {\n if (p && p !== '') {\n totTxt = p;\n } else {\n totTxt = tf.getFilterableRowsNb() - tf.nbHiddenRows;\n }\n } else {\n var paging = tf.feature('paging');\n if (paging) {\n //paging start row\n var pagingStartRow = parseInt(paging.startPagingRow, 10) +\n ((tf.getValidRowsNb() > 0) ? 1 : 0);\n var 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.rowsCounterSpan.innerHTML = totTxt;\n if (this.onAfterRefreshCounter) {\n this.onAfterRefreshCounter.call(\n null, tf, this.rowsCounterSpan, totTxt);\n }\n }\n\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n if (!this.rowsCounterTgtId && this.rowsCounterDiv) {\n removeElm(this.rowsCounterDiv);\n } else {\n elm(this.rowsCounterTgtId).innerHTML = '';\n }\n this.rowsCounterSpan = null;\n this.rowsCounterDiv = 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__": 601, + "__docId__": 600, "kind": "class", "static": true, "variation": null, @@ -12266,7 +12251,7 @@ ] }, { - "__docId__": 602, + "__docId__": 601, "kind": "constructor", "static": false, "variation": null, @@ -12291,7 +12276,7 @@ "generator": false }, { - "__docId__": 603, + "__docId__": 602, "kind": "member", "static": false, "variation": null, @@ -12309,7 +12294,7 @@ } }, { - "__docId__": 604, + "__docId__": 603, "kind": "member", "static": false, "variation": null, @@ -12327,7 +12312,7 @@ } }, { - "__docId__": 605, + "__docId__": 604, "kind": "member", "static": false, "variation": null, @@ -12345,7 +12330,7 @@ } }, { - "__docId__": 606, + "__docId__": 605, "kind": "member", "static": false, "variation": null, @@ -12363,7 +12348,7 @@ } }, { - "__docId__": 607, + "__docId__": 606, "kind": "member", "static": false, "variation": null, @@ -12381,7 +12366,7 @@ } }, { - "__docId__": 608, + "__docId__": 607, "kind": "member", "static": false, "variation": null, @@ -12399,7 +12384,7 @@ } }, { - "__docId__": 609, + "__docId__": 608, "kind": "member", "static": false, "variation": null, @@ -12417,7 +12402,7 @@ } }, { - "__docId__": 610, + "__docId__": 609, "kind": "member", "static": false, "variation": null, @@ -12435,7 +12420,7 @@ } }, { - "__docId__": 611, + "__docId__": 610, "kind": "member", "static": false, "variation": null, @@ -12453,7 +12438,7 @@ } }, { - "__docId__": 612, + "__docId__": 611, "kind": "member", "static": false, "variation": null, @@ -12471,7 +12456,7 @@ } }, { - "__docId__": 613, + "__docId__": 612, "kind": "member", "static": false, "variation": null, @@ -12489,7 +12474,7 @@ } }, { - "__docId__": 614, + "__docId__": 613, "kind": "member", "static": false, "variation": null, @@ -12507,7 +12492,7 @@ } }, { - "__docId__": 615, + "__docId__": 614, "kind": "method", "static": false, "variation": null, @@ -12522,7 +12507,7 @@ "generator": false }, { - "__docId__": 616, + "__docId__": 615, "kind": "member", "static": false, "variation": null, @@ -12540,7 +12525,7 @@ } }, { - "__docId__": 617, + "__docId__": 616, "kind": "member", "static": false, "variation": null, @@ -12558,7 +12543,7 @@ } }, { - "__docId__": 618, + "__docId__": 617, "kind": "member", "static": false, "variation": null, @@ -12576,7 +12561,7 @@ } }, { - "__docId__": 619, + "__docId__": 618, "kind": "method", "static": false, "variation": null, @@ -12598,7 +12583,7 @@ "generator": false }, { - "__docId__": 620, + "__docId__": 619, "kind": "method", "static": false, "variation": null, @@ -12613,7 +12598,7 @@ "generator": false }, { - "__docId__": 621, + "__docId__": 620, "kind": "member", "static": false, "variation": null, @@ -12631,7 +12616,7 @@ } }, { - "__docId__": 622, + "__docId__": 621, "kind": "member", "static": false, "variation": null, @@ -12649,7 +12634,7 @@ } }, { - "__docId__": 623, + "__docId__": 622, "kind": "member", "static": false, "variation": null, @@ -12667,7 +12652,7 @@ } }, { - "__docId__": 624, + "__docId__": 623, "kind": "file", "static": true, "variation": null, @@ -12680,7 +12665,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 * Reflects the state of features to be persisted via hash, localStorage or\n * cookie\n *\n * @export\n * @class State\n * @extends {Feature}\n */\nexport class State extends Feature {\n\n /**\n * Creates an instance of State\n *\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'state');\n\n let cfg = this.config.state;\n\n this.enableHash = cfg === true ||\n (isArray(cfg.types) && cfg.types.indexOf('hash') !== -1);\n this.enableLocalStorage = isArray(cfg.types) &&\n cfg.types.indexOf('local_storage') !== -1;\n this.enableCookie = isArray(cfg.types) &&\n cfg.types.indexOf('cookie') !== -1;\n this.persistFilters = cfg.filters === false ? false : true;\n this.persistPageNumber = Boolean(cfg.page_number);\n this.persistPageLength = Boolean(cfg.page_length);\n this.persistSort = Boolean(cfg.sort);\n this.persistColsVisibility = Boolean(cfg.columns_visibility);\n this.persistFiltersVisibility = Boolean(cfg.filters_visibility);\n this.cookieDuration = !isNaN(cfg.cookie_duration) ?\n parseInt(cfg.cookie_duration, 10) : 87600;\n\n this.enableStorage = this.enableLocalStorage || this.enableCookie;\n this.hash = null;\n this.pageNb = null;\n this.pageLength = null;\n this.sort = null;\n this.hiddenCols = null;\n this.filtersVisibility = null;\n\n this.state = {};\n this.prfxCol = 'col_';\n this.pageNbKey = 'page';\n this.pageLengthKey = 'page_length';\n this.filtersVisKey = 'filters_visibility';\n }\n\n /**\n * Initializes the State object\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 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__": 625, + "__docId__": 624, "kind": "class", "static": true, "variation": null, @@ -12709,7 +12694,7 @@ ] }, { - "__docId__": 626, + "__docId__": 625, "kind": "constructor", "static": false, "variation": null, @@ -12734,7 +12719,7 @@ "generator": false }, { - "__docId__": 627, + "__docId__": 626, "kind": "member", "static": false, "variation": null, @@ -12752,7 +12737,7 @@ } }, { - "__docId__": 628, + "__docId__": 627, "kind": "member", "static": false, "variation": null, @@ -12770,7 +12755,7 @@ } }, { - "__docId__": 629, + "__docId__": 628, "kind": "member", "static": false, "variation": null, @@ -12788,7 +12773,7 @@ } }, { - "__docId__": 630, + "__docId__": 629, "kind": "member", "static": false, "variation": null, @@ -12806,7 +12791,7 @@ } }, { - "__docId__": 631, + "__docId__": 630, "kind": "member", "static": false, "variation": null, @@ -12824,7 +12809,7 @@ } }, { - "__docId__": 632, + "__docId__": 631, "kind": "member", "static": false, "variation": null, @@ -12842,7 +12827,7 @@ } }, { - "__docId__": 633, + "__docId__": 632, "kind": "member", "static": false, "variation": null, @@ -12860,7 +12845,7 @@ } }, { - "__docId__": 634, + "__docId__": 633, "kind": "member", "static": false, "variation": null, @@ -12878,7 +12863,7 @@ } }, { - "__docId__": 635, + "__docId__": 634, "kind": "member", "static": false, "variation": null, @@ -12896,7 +12881,7 @@ } }, { - "__docId__": 636, + "__docId__": 635, "kind": "member", "static": false, "variation": null, @@ -12914,7 +12899,7 @@ } }, { - "__docId__": 637, + "__docId__": 636, "kind": "member", "static": false, "variation": null, @@ -12932,7 +12917,7 @@ } }, { - "__docId__": 638, + "__docId__": 637, "kind": "member", "static": false, "variation": null, @@ -12950,7 +12935,7 @@ } }, { - "__docId__": 639, + "__docId__": 638, "kind": "member", "static": false, "variation": null, @@ -12968,7 +12953,7 @@ } }, { - "__docId__": 640, + "__docId__": 639, "kind": "member", "static": false, "variation": null, @@ -12986,7 +12971,7 @@ } }, { - "__docId__": 641, + "__docId__": 640, "kind": "member", "static": false, "variation": null, @@ -13004,7 +12989,7 @@ } }, { - "__docId__": 642, + "__docId__": 641, "kind": "member", "static": false, "variation": null, @@ -13022,7 +13007,7 @@ } }, { - "__docId__": 643, + "__docId__": 642, "kind": "member", "static": false, "variation": null, @@ -13040,7 +13025,7 @@ } }, { - "__docId__": 644, + "__docId__": 643, "kind": "member", "static": false, "variation": null, @@ -13058,7 +13043,7 @@ } }, { - "__docId__": 645, + "__docId__": 644, "kind": "member", "static": false, "variation": null, @@ -13076,7 +13061,7 @@ } }, { - "__docId__": 646, + "__docId__": 645, "kind": "member", "static": false, "variation": null, @@ -13094,7 +13079,7 @@ } }, { - "__docId__": 647, + "__docId__": 646, "kind": "member", "static": false, "variation": null, @@ -13112,7 +13097,7 @@ } }, { - "__docId__": 648, + "__docId__": 647, "kind": "member", "static": false, "variation": null, @@ -13130,7 +13115,7 @@ } }, { - "__docId__": 649, + "__docId__": 648, "kind": "method", "static": false, "variation": null, @@ -13144,7 +13129,7 @@ "generator": false }, { - "__docId__": 650, + "__docId__": 649, "kind": "member", "static": false, "variation": null, @@ -13162,7 +13147,7 @@ } }, { - "__docId__": 651, + "__docId__": 650, "kind": "member", "static": false, "variation": null, @@ -13180,7 +13165,7 @@ } }, { - "__docId__": 652, + "__docId__": 651, "kind": "member", "static": false, "variation": null, @@ -13198,7 +13183,7 @@ } }, { - "__docId__": 653, + "__docId__": 652, "kind": "method", "static": false, "variation": null, @@ -13212,7 +13197,7 @@ "generator": false }, { - "__docId__": 654, + "__docId__": 653, "kind": "method", "static": false, "variation": null, @@ -13237,7 +13222,7 @@ "generator": false }, { - "__docId__": 655, + "__docId__": 654, "kind": "member", "static": false, "variation": null, @@ -13255,7 +13240,7 @@ } }, { - "__docId__": 656, + "__docId__": 655, "kind": "method", "static": false, "variation": null, @@ -13280,7 +13265,7 @@ "generator": false }, { - "__docId__": 657, + "__docId__": 656, "kind": "member", "static": false, "variation": null, @@ -13298,7 +13283,7 @@ } }, { - "__docId__": 658, + "__docId__": 657, "kind": "method", "static": false, "variation": null, @@ -13333,7 +13318,7 @@ "generator": false }, { - "__docId__": 659, + "__docId__": 658, "kind": "member", "static": false, "variation": null, @@ -13351,7 +13336,7 @@ } }, { - "__docId__": 660, + "__docId__": 659, "kind": "method", "static": false, "variation": null, @@ -13376,7 +13361,7 @@ "generator": false }, { - "__docId__": 661, + "__docId__": 660, "kind": "member", "static": false, "variation": null, @@ -13394,7 +13379,7 @@ } }, { - "__docId__": 662, + "__docId__": 661, "kind": "method", "static": false, "variation": null, @@ -13419,7 +13404,7 @@ "generator": false }, { - "__docId__": 663, + "__docId__": 662, "kind": "member", "static": false, "variation": null, @@ -13437,7 +13422,7 @@ } }, { - "__docId__": 664, + "__docId__": 663, "kind": "method", "static": false, "variation": null, @@ -13462,7 +13447,7 @@ "generator": false }, { - "__docId__": 665, + "__docId__": 664, "kind": "member", "static": false, "variation": null, @@ -13480,7 +13465,7 @@ } }, { - "__docId__": 666, + "__docId__": 665, "kind": "method", "static": false, "variation": null, @@ -13494,7 +13479,7 @@ "generator": false }, { - "__docId__": 667, + "__docId__": 666, "kind": "method", "static": false, "variation": null, @@ -13519,7 +13504,7 @@ "generator": false }, { - "__docId__": 668, + "__docId__": 667, "kind": "method", "static": false, "variation": null, @@ -13533,7 +13518,7 @@ "generator": false }, { - "__docId__": 669, + "__docId__": 668, "kind": "method", "static": false, "variation": null, @@ -13547,7 +13532,7 @@ "generator": false }, { - "__docId__": 670, + "__docId__": 669, "kind": "method", "static": false, "variation": null, @@ -13561,7 +13546,7 @@ "generator": false }, { - "__docId__": 671, + "__docId__": 670, "kind": "method", "static": false, "variation": null, @@ -13575,7 +13560,7 @@ "generator": false }, { - "__docId__": 672, + "__docId__": 671, "kind": "member", "static": false, "variation": null, @@ -13593,7 +13578,7 @@ } }, { - "__docId__": 673, + "__docId__": 672, "kind": "method", "static": false, "variation": null, @@ -13607,7 +13592,7 @@ "generator": false }, { - "__docId__": 674, + "__docId__": 673, "kind": "member", "static": false, "variation": null, @@ -13625,7 +13610,7 @@ } }, { - "__docId__": 675, + "__docId__": 674, "kind": "member", "static": false, "variation": null, @@ -13643,7 +13628,7 @@ } }, { - "__docId__": 676, + "__docId__": 675, "kind": "member", "static": false, "variation": null, @@ -13661,7 +13646,7 @@ } }, { - "__docId__": 677, + "__docId__": 676, "kind": "member", "static": false, "variation": null, @@ -13679,7 +13664,7 @@ } }, { - "__docId__": 678, + "__docId__": 677, "kind": "file", "static": true, "variation": null, @@ -13692,7 +13677,7 @@ "content": "import {Feature} from '../feature';\nimport {root} from '../root';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {isFn} from '../types';\n\nexport class StatusBar extends Feature {\n\n /**\n * Status bar UI component\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'statusBar');\n\n // Configuration object\n let f = this.config;\n\n //id of custom container element\n this.statusBarTgtId = f.status_bar_target_id || null;\n //element containing status bar label\n this.statusBarDiv = null;\n //status bar\n this.statusBarSpan = null;\n //status bar label\n this.statusBarSpanText = null;\n //defines status bar text\n this.statusBarText = f.status_bar_text || '';\n //defines css class status bar\n this.statusBarCssClass = f.status_bar_css_class || 'status';\n //delay for status bar clearing\n this.statusBarCloseDelay = 250;\n\n //calls function before message is displayed\n this.onBeforeShowMsg = isFn(f.on_before_show_msg) ?\n f.on_before_show_msg : null;\n //calls function after message is displayed\n this.onAfterShowMsg = isFn(f.on_after_show_msg) ?\n f.on_after_show_msg : null;\n\n //status messages\n this.msgFilter = f.msg_filter || 'Filtering data...';\n //populating drop-downs\n this.msgPopulate = f.msg_populate || 'Populating filter...';\n //populating drop-downs\n this.msgPopulateCheckList = f.msg_populate_checklist ||\n 'Populating list...';\n //changing paging page\n this.msgChangePage = f.msg_change_page || 'Collecting paging data...';\n //clearing filters\n this.msgClear = f.msg_clear || 'Clearing filters...';\n //changing nb results/page\n this.msgChangeResults = f.msg_change_results ||\n 'Changing results per page...';\n //re-setting page\n this.msgResetPage = f.msg_reset_page || 'Re-setting page...';\n //re-setting page length\n this.msgResetPageLength = f.msg_reset_page_length ||\n 'Re-setting page length...';\n //table sorting\n this.msgSort = f.msg_sort || 'Sorting data...';\n //extensions loading\n this.msgLoadExtensions = f.msg_load_extensions ||\n 'Loading extensions...';\n //themes loading\n this.msgLoadThemes = f.msg_load_themes || 'Loading theme(s)...';\n\n // status bar div\n this.prfxStatus = 'status_';\n // status bar label\n this.prfxStatusSpan = 'statusSpan_';\n // text preceding status bar label\n this.prfxStatusTxt = 'statusText_';\n }\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.prfxStatus + tf.id]);\n statusDiv.className = this.statusBarCssClass;\n\n //status bar label\n let statusSpan = createElm('span', ['id', this.prfxStatusSpan + tf.id]);\n //preceding text\n let statusSpanText = createElm('span',\n ['id', this.prfxStatusTxt + tf.id]);\n statusSpanText.appendChild(createText(this.statusBarText));\n\n // target element container\n if (!this.statusBarTgtId) {\n tf.setToolbar();\n }\n let targetEl = (!this.statusBarTgtId) ?\n tf.lDiv : elm(this.statusBarTgtId);\n\n //default container: 'lDiv'\n if (!this.statusBarTgtId) {\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.statusBarDiv = statusDiv;\n this.statusBarSpan = statusSpan;\n this.statusBarSpanText = 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 this.initialized = true;\n }\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.statusBarCloseDelay : 1;\n root.setTimeout(() => {\n if (!this.initialized) {\n return;\n }\n this.statusBarSpan.innerHTML = t;\n if (this.onAfterShowMsg) {\n this.onAfterShowMsg.call(null, this.tf, t);\n }\n }, d);\n }\n\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n let emitter = this.emitter;\n\n this.statusBarDiv.innerHTML = '';\n if (!this.statusBarTgtId) {\n removeElm(this.statusBarDiv);\n }\n this.statusBarSpan = null;\n this.statusBarSpanText = null;\n this.statusBarDiv = 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}\n" }, { - "__docId__": 679, + "__docId__": 678, "kind": "class", "static": true, "variation": null, @@ -13712,7 +13697,7 @@ ] }, { - "__docId__": 680, + "__docId__": 679, "kind": "constructor", "static": false, "variation": null, @@ -13737,7 +13722,7 @@ "generator": false }, { - "__docId__": 681, + "__docId__": 680, "kind": "member", "static": false, "variation": null, @@ -13755,7 +13740,7 @@ } }, { - "__docId__": 682, + "__docId__": 681, "kind": "member", "static": false, "variation": null, @@ -13773,7 +13758,7 @@ } }, { - "__docId__": 683, + "__docId__": 682, "kind": "member", "static": false, "variation": null, @@ -13791,7 +13776,7 @@ } }, { - "__docId__": 684, + "__docId__": 683, "kind": "member", "static": false, "variation": null, @@ -13809,7 +13794,7 @@ } }, { - "__docId__": 685, + "__docId__": 684, "kind": "member", "static": false, "variation": null, @@ -13827,7 +13812,7 @@ } }, { - "__docId__": 686, + "__docId__": 685, "kind": "member", "static": false, "variation": null, @@ -13845,7 +13830,7 @@ } }, { - "__docId__": 687, + "__docId__": 686, "kind": "member", "static": false, "variation": null, @@ -13863,7 +13848,7 @@ } }, { - "__docId__": 688, + "__docId__": 687, "kind": "member", "static": false, "variation": null, @@ -13881,7 +13866,7 @@ } }, { - "__docId__": 689, + "__docId__": 688, "kind": "member", "static": false, "variation": null, @@ -13899,7 +13884,7 @@ } }, { - "__docId__": 690, + "__docId__": 689, "kind": "member", "static": false, "variation": null, @@ -13917,7 +13902,7 @@ } }, { - "__docId__": 691, + "__docId__": 690, "kind": "member", "static": false, "variation": null, @@ -13935,7 +13920,7 @@ } }, { - "__docId__": 692, + "__docId__": 691, "kind": "member", "static": false, "variation": null, @@ -13953,7 +13938,7 @@ } }, { - "__docId__": 693, + "__docId__": 692, "kind": "member", "static": false, "variation": null, @@ -13971,7 +13956,7 @@ } }, { - "__docId__": 694, + "__docId__": 693, "kind": "member", "static": false, "variation": null, @@ -13989,7 +13974,7 @@ } }, { - "__docId__": 695, + "__docId__": 694, "kind": "member", "static": false, "variation": null, @@ -14007,7 +13992,7 @@ } }, { - "__docId__": 696, + "__docId__": 695, "kind": "member", "static": false, "variation": null, @@ -14025,7 +14010,7 @@ } }, { - "__docId__": 697, + "__docId__": 696, "kind": "member", "static": false, "variation": null, @@ -14043,7 +14028,7 @@ } }, { - "__docId__": 698, + "__docId__": 697, "kind": "member", "static": false, "variation": null, @@ -14061,7 +14046,7 @@ } }, { - "__docId__": 699, + "__docId__": 698, "kind": "member", "static": false, "variation": null, @@ -14079,7 +14064,7 @@ } }, { - "__docId__": 700, + "__docId__": 699, "kind": "member", "static": false, "variation": null, @@ -14097,7 +14082,7 @@ } }, { - "__docId__": 701, + "__docId__": 700, "kind": "member", "static": false, "variation": null, @@ -14115,7 +14100,7 @@ } }, { - "__docId__": 702, + "__docId__": 701, "kind": "member", "static": false, "variation": null, @@ -14133,7 +14118,7 @@ } }, { - "__docId__": 703, + "__docId__": 702, "kind": "member", "static": false, "variation": null, @@ -14151,7 +14136,7 @@ } }, { - "__docId__": 704, + "__docId__": 703, "kind": "method", "static": false, "variation": null, @@ -14166,7 +14151,7 @@ "generator": false }, { - "__docId__": 705, + "__docId__": 704, "kind": "member", "static": false, "variation": null, @@ -14184,7 +14169,7 @@ } }, { - "__docId__": 706, + "__docId__": 705, "kind": "member", "static": false, "variation": null, @@ -14202,7 +14187,7 @@ } }, { - "__docId__": 707, + "__docId__": 706, "kind": "member", "static": false, "variation": null, @@ -14220,7 +14205,7 @@ } }, { - "__docId__": 708, + "__docId__": 707, "kind": "member", "static": false, "variation": null, @@ -14238,7 +14223,7 @@ } }, { - "__docId__": 709, + "__docId__": 708, "kind": "method", "static": false, "variation": null, @@ -14263,7 +14248,7 @@ "generator": false }, { - "__docId__": 710, + "__docId__": 709, "kind": "method", "static": false, "variation": null, @@ -14278,7 +14263,7 @@ "generator": false }, { - "__docId__": 711, + "__docId__": 710, "kind": "member", "static": false, "variation": null, @@ -14296,7 +14281,7 @@ } }, { - "__docId__": 712, + "__docId__": 711, "kind": "member", "static": false, "variation": null, @@ -14314,7 +14299,7 @@ } }, { - "__docId__": 713, + "__docId__": 712, "kind": "member", "static": false, "variation": null, @@ -14332,7 +14317,7 @@ } }, { - "__docId__": 714, + "__docId__": 713, "kind": "member", "static": false, "variation": null, @@ -14350,7 +14335,7 @@ } }, { - "__docId__": 715, + "__docId__": 714, "kind": "file", "static": true, "variation": null, @@ -14363,7 +14348,7 @@ "content": "\nimport Cookie from '../cookie';\nimport {root} from '../root';\n\nconst JSON = root.JSON;\nconst localStorage = root.localStorage;\nconst location = root.location;\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 this.state = state;\n this.tf = state.tf;\n this.enableLocalStorage = state.enableLocalStorage && hasStorage();\n this.enableCookie = state.enableCookie && !this.enableLocalStorage;\n this.emitter = state.emitter;\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__": 716, + "__docId__": 715, "kind": "variable", "static": true, "variation": null, @@ -14384,7 +14369,7 @@ } }, { - "__docId__": 717, + "__docId__": 716, "kind": "variable", "static": true, "variation": null, @@ -14405,7 +14390,7 @@ } }, { - "__docId__": 718, + "__docId__": 717, "kind": "variable", "static": true, "variation": null, @@ -14426,7 +14411,7 @@ } }, { - "__docId__": 719, + "__docId__": 718, "kind": "variable", "static": true, "variation": null, @@ -14447,7 +14432,7 @@ } }, { - "__docId__": 720, + "__docId__": 719, "kind": "class", "static": true, "variation": null, @@ -14473,7 +14458,7 @@ "interface": false }, { - "__docId__": 721, + "__docId__": 720, "kind": "constructor", "static": false, "variation": null, @@ -14498,7 +14483,7 @@ "generator": false }, { - "__docId__": 722, + "__docId__": 721, "kind": "member", "static": false, "variation": null, @@ -14516,7 +14501,7 @@ } }, { - "__docId__": 723, + "__docId__": 722, "kind": "member", "static": false, "variation": null, @@ -14534,7 +14519,7 @@ } }, { - "__docId__": 724, + "__docId__": 723, "kind": "member", "static": false, "variation": null, @@ -14552,7 +14537,7 @@ } }, { - "__docId__": 725, + "__docId__": 724, "kind": "member", "static": false, "variation": null, @@ -14570,7 +14555,7 @@ } }, { - "__docId__": 726, + "__docId__": 725, "kind": "member", "static": false, "variation": null, @@ -14588,7 +14573,7 @@ } }, { - "__docId__": 727, + "__docId__": 726, "kind": "member", "static": false, "variation": null, @@ -14606,7 +14591,7 @@ } }, { - "__docId__": 728, + "__docId__": 727, "kind": "method", "static": false, "variation": null, @@ -14620,7 +14605,7 @@ "generator": false }, { - "__docId__": 729, + "__docId__": 728, "kind": "method", "static": false, "variation": null, @@ -14645,7 +14630,7 @@ "generator": false }, { - "__docId__": 730, + "__docId__": 729, "kind": "method", "static": false, "variation": null, @@ -14673,7 +14658,7 @@ "generator": false }, { - "__docId__": 731, + "__docId__": 730, "kind": "method", "static": false, "variation": null, @@ -14687,7 +14672,7 @@ "generator": false }, { - "__docId__": 732, + "__docId__": 731, "kind": "method", "static": false, "variation": null, @@ -14701,7 +14686,7 @@ "generator": false }, { - "__docId__": 733, + "__docId__": 732, "kind": "method", "static": false, "variation": null, @@ -14729,7 +14714,7 @@ "generator": false }, { - "__docId__": 734, + "__docId__": 733, "kind": "method", "static": false, "variation": null, @@ -14743,7 +14728,7 @@ "generator": false }, { - "__docId__": 735, + "__docId__": 734, "kind": "member", "static": false, "variation": null, @@ -14761,7 +14746,7 @@ } }, { - "__docId__": 736, + "__docId__": 735, "kind": "member", "static": false, "variation": null, @@ -14779,7 +14764,7 @@ } }, { - "__docId__": 737, + "__docId__": 736, "kind": "file", "static": true, "variation": null, @@ -14792,7 +14777,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__": 738, + "__docId__": 737, "kind": "variable", "static": true, "variation": null, @@ -14812,7 +14797,7 @@ } }, { - "__docId__": 739, + "__docId__": 738, "kind": "file", "static": true, "variation": null, @@ -14825,7 +14810,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__": 740, + "__docId__": 739, "kind": "variable", "static": true, "variation": null, @@ -14875,7 +14860,7 @@ } }, { - "__docId__": 741, + "__docId__": 740, "kind": "variable", "static": true, "variation": null, @@ -14927,7 +14912,7 @@ } }, { - "__docId__": 742, + "__docId__": 741, "kind": "variable", "static": true, "variation": null, @@ -14979,7 +14964,7 @@ } }, { - "__docId__": 743, + "__docId__": 742, "kind": "file", "static": true, "variation": null, @@ -14992,7 +14977,7 @@ "content": "/**\n * String utilities\n */\n\n/**\n * Removes whitespace from both sides of passed string\n * @param {String} text\n * @return {String}\n */\nexport const trim = text => {\n if (text.trim) {\n return text.trim();\n }\n return text.replace(/^\\s*|\\s*$/g, '');\n}\n\n/**\n * Checks if passed string is empty\n * @param {String} text\n * @return {Boolean}\n */\nexport const isEmpty = (text) => trim(text) === '';\n\n/**\n * Makes regex safe string by escaping special characters from passed string\n * @param {String} text\n * @return {String} escaped string\n */\nexport const rgxEsc = text => {\n let chars = /[-\\/\\\\^$*+?.()|[\\]{}]/g;\n let escMatch = '\\\\$&';\n return String(text).replace(chars, escMatch);\n}\n\n/**\n * Returns passed string as lowercase if caseSensitive flag set false. By\n * default it returns the string with no casing changes.\n * @param {String} text\n * @return {String} string\n */\nexport const matchCase = (text, caseSensitive = false) => {\n if (!caseSensitive) {\n return text.toLowerCase();\n }\n return text;\n}\n\n/**\n * Checks if passed data contains the searched term\n * @param {String} term Searched term\n * @param {String} data Data string\n * @param {Boolean} exactMatch Exact match\n * @param {Boolean} caseSensitive Case sensitive\n * @return {Boolean}\n */\nexport const contains =\n (term, data, exactMatch = false, caseSensitive = false) => {\n // Improved by Cedric Wartel (cwl) automatic exact match for selects and\n // special characters are now filtered\n let regexp;\n let modifier = caseSensitive ? 'g' : 'gi';\n if (exactMatch) {\n regexp = new RegExp('(^\\\\s*)' + rgxEsc(term) + '(\\\\s*$)',\n modifier);\n } else {\n regexp = new RegExp(rgxEsc(term), modifier);\n }\n return regexp.test(data);\n }\n" }, { - "__docId__": 744, + "__docId__": 743, "kind": "variable", "static": true, "variation": null, @@ -15032,7 +15017,7 @@ } }, { - "__docId__": 745, + "__docId__": 744, "kind": "variable", "static": true, "variation": null, @@ -15072,7 +15057,7 @@ } }, { - "__docId__": 746, + "__docId__": 745, "kind": "variable", "static": true, "variation": null, @@ -15112,7 +15097,7 @@ } }, { - "__docId__": 747, + "__docId__": 746, "kind": "variable", "static": true, "variation": null, @@ -15152,7 +15137,7 @@ } }, { - "__docId__": 748, + "__docId__": 747, "kind": "variable", "static": true, "variation": null, @@ -15222,7 +15207,7 @@ } }, { - "__docId__": 749, + "__docId__": 748, "kind": "file", "static": true, "variation": null, @@ -15232,10 +15217,10 @@ "access": null, "description": null, "lineNumber": 1, - "content": "import {addEvt, cancelEvt, stopEvt, targetEvt, keyCode} from './event';\nimport {\n addClass, createElm, createOpt, elm, getText, getFirstTextNode, hasClass,\n removeClass, removeElm, tag\n} from './dom';\nimport {contains, matchCase, rgxEsc, trim} from './string';\nimport {isEmpty as isEmptyString} from './string';\nimport {isArray, isEmpty, isFn, isNumber, isObj, isString, isUndef}\nfrom './types';\nimport {formatDate, isValidDate} from './date';\nimport {removeNbFormat} from './helpers';\n\nimport {root} from './root';\nimport {Emitter} from './emitter';\nimport {GridLayout} from './modules/gridLayout';\nimport {Loader} from './modules/loader';\nimport {HighlightKeyword} from './modules/highlightKeywords';\nimport {PopupFilter} from './modules/popupFilter';\nimport {Dropdown} from './modules/dropdown';\nimport {CheckList} from './modules/checkList';\nimport {RowsCounter} from './modules/rowsCounter';\nimport {StatusBar} from './modules/statusBar';\nimport {Paging} from './modules/paging';\nimport {ClearButton} from './modules/clearButton';\nimport {Help} from './modules/help';\nimport {AlternateRows} from './modules/alternateRows';\nimport {NoResults} from './modules/noResults';\nimport {State} from './modules/state';\n\nimport {\n INPUT, SELECT, MULTIPLE, CHECKLIST, NONE,\n ENTER_KEY, TAB_KEY, ESC_KEY, UP_ARROW_KEY, DOWN_ARROW_KEY,\n CELL_TAG, AUTO_FILTER_DELAY\n} from './const';\n\nlet doc = root.document;\n\nexport class TableFilter {\n\n /**\n * TableFilter object constructor\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 this.id = null;\n this.version = '{VERSION}';\n this.year = new Date().getFullYear();\n this.tbl = null;\n this.startRow = null;\n this.refRow = null;\n this.headersRow = null;\n this.cfg = {};\n this.nbFilterableRows = 0;\n this.nbCells = null;\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 this.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 = this.startRow === null ? 2 : (this.startRow + 1);\n try { this.nbCells = this.getCellsNb(this.refRow); }\n catch (e) { this.nbCells = this.getCellsNb(0); }\n\n //default script base path\n this.basePath = f.base_path || 'tablefilter/';\n\n /*** filters' grid properties ***/\n //enables/disables filter grid\n this.fltGrid = f.grid === false ? false : true;\n\n //enables/disables grid layout (fixed headers)\n this.gridLayout = Boolean(f.grid_layout);\n\n this.filtersRowIndex = isNaN(f.filters_row_index) ?\n 0 : f.filters_row_index;\n this.headersRow = isNaN(f.headers_row_index) ?\n (this.filtersRowIndex === 0 ? 1 : 0) : f.headers_row_index;\n\n //defines tag of the cells containing filters (td/th)\n this.fltCellTag = isString(f.filters_cell_tag) ?\n f.filters_cell_tag : CELL_TAG;\n\n //stores filters ids\n this.fltIds = [];\n //stores valid rows indexes (rows visible upon filtering)\n this.validRowsIndex = [];\n //container div for paging elements, reset btn etc.\n this.infDiv = null;\n //div for rows counter\n this.lDiv = null;\n //div for reset button and results per page select\n this.rDiv = null;\n //div for paging elements\n this.mDiv = null;\n\n //defines css class for div containing paging elements, rows counter etc\n this.infDivCssClass = f.inf_div_css_class || 'inf';\n //defines css class for left div\n this.lDivCssClass = f.left_div_css_class || 'ldiv';\n //defines css class for right div\n this.rDivCssClass = f.right_div_css_class || 'rdiv';\n //defines css class for mid div\n this.mDivCssClass = f.middle_div_css_class || 'mdiv';\n //table container div css class\n this.contDivCssClass = f.content_div_css_class || 'cont';\n\n /*** filters' grid appearance ***/\n //stylesheet file\n this.stylePath = f.style_path || this.basePath + 'style/';\n this.stylesheet = f.stylesheet || this.stylePath + 'tablefilter.css';\n this.stylesheetId = this.id + '_style';\n //defines css class for filters row\n this.fltsRowCssClass = f.flts_row_css_class || 'fltrow';\n //enables/disables icons (paging, reset button)\n this.enableIcons = f.enable_icons === false ? false : true;\n //enables/disbles rows alternating bg colors\n this.alternateRows = Boolean(f.alternate_rows);\n //defines widths of columns\n this.hasColWidths = isArray(f.col_widths);\n this.colWidths = this.hasColWidths ? f.col_widths : [];\n //defines css class for filters\n this.fltCssClass = f.flt_css_class || 'flt';\n //defines css class for multiple selects filters\n this.fltMultiCssClass = f.flt_multi_css_class || 'flt_multi';\n //defines css class for filters\n this.fltSmallCssClass = f.flt_small_css_class || 'flt_s';\n //defines css class for single-filter\n this.singleFltCssClass = f.single_flt_css_class || 'single_flt';\n\n /*** filters' grid behaviours ***/\n //enables/disables enter key\n this.enterKey = f.enter_key === false ? false : true;\n //calls function before filtering starts\n this.onBeforeFilter = isFn(f.on_before_filter) ?\n f.on_before_filter : null;\n //calls function after filtering\n this.onAfterFilter = isFn(f.on_after_filter) ? f.on_after_filter : null;\n //enables/disables case sensitivity\n this.caseSensitive = Boolean(f.case_sensitive);\n //has exact match per column\n this.hasExactMatchByCol = isArray(f.columns_exact_match);\n this.exactMatchByCol = this.hasExactMatchByCol ?\n f.columns_exact_match : [];\n //enables/disbles exact match for search\n this.exactMatch = Boolean(f.exact_match);\n //refreshes drop-down lists upon validation\n this.linkedFilters = Boolean(f.linked_filters);\n //wheter excluded options are disabled\n this.disableExcludedOptions = Boolean(f.disable_excluded_options);\n //id of active filter\n this.activeFilterId = null;\n //enables always visible rows\n this.hasVisibleRows = Boolean(f.rows_always_visible);\n //array containing always visible rows\n this.visibleRows = this.hasVisibleRows ? f.rows_always_visible : [];\n //enables/disables external filters generation\n this.isExternalFlt = Boolean(f.external_flt_grid);\n //array containing ids of external elements containing filters\n this.externalFltTgtIds = f.external_flt_grid_ids || [];\n //stores filters elements if isExternalFlt is true\n this.externalFltEls = [];\n //calls function when filters grid loaded\n this.onFiltersLoaded = isFn(f.on_filters_loaded) ?\n f.on_filters_loaded : null;\n //enables/disables single filter search\n this.singleSearchFlt = Boolean(f.single_filter);\n //calls function after row is validated\n this.onRowValidated = isFn(f.on_row_validated) ?\n f.on_row_validated : null;\n //array defining columns for customCellData event\n this.customCellDataCols = f.custom_cell_data_cols ?\n f.custom_cell_data_cols : [];\n //calls custom function for retrieving cell data\n this.customCellData = isFn(f.custom_cell_data) ?\n f.custom_cell_data : null;\n //input watermark text array\n this.watermark = f.watermark || '';\n this.isWatermarkArray = isArray(this.watermark);\n //id of toolbar container element\n this.toolBarTgtId = f.toolbar_target_id || null;\n //enables/disables help div\n this.help = isUndef(f.help_instructions) ?\n undefined : Boolean(f.help_instructions);\n //popup filters\n this.popupFilters = Boolean(f.popup_filters);\n //active columns color\n this.markActiveColumns = Boolean(f.mark_active_columns);\n //defines css class for active column header\n this.activeColumnsCssClass = f.active_columns_css_class ||\n 'activeHeader';\n //calls function before active column header is marked\n this.onBeforeActiveColumn = isFn(f.on_before_active_column) ?\n f.on_before_active_column : null;\n //calls function after active column header is marked\n this.onAfterActiveColumn = isFn(f.on_after_active_column) ?\n f.on_after_active_column : null;\n\n /*** select filter's customisation and behaviours ***/\n //defines 1st option text\n this.displayAllText = f.display_all_text || 'Clear';\n //enables/disables empty option in combo-box filters\n this.enableEmptyOption = Boolean(f.enable_empty_option);\n //defines empty option text\n this.emptyText = f.empty_text || '(Empty)';\n //enables/disables non empty option in combo-box filters\n this.enableNonEmptyOption = Boolean(f.enable_non_empty_option);\n //defines empty option text\n this.nonEmptyText = f.non_empty_text || '(Non empty)';\n //enables/disables onChange event on combo-box\n this.onSlcChange = f.on_change === false ? false : true;\n //enables/disables select options sorting\n this.sortSlc = f.sort_select === false ? false : true;\n //enables/disables ascending numeric options sorting\n this.isSortNumAsc = Boolean(f.sort_num_asc);\n this.sortNumAsc = this.isSortNumAsc ? f.sort_num_asc : [];\n //enables/disables descending numeric options sorting\n this.isSortNumDesc = Boolean(f.sort_num_desc);\n this.sortNumDesc = this.isSortNumDesc ? f.sort_num_desc : [];\n //Select filters are populated on demand\n this.loadFltOnDemand = Boolean(f.load_filters_on_demand);\n this.hasCustomOptions = isObj(f.custom_options);\n this.customOptions = f.custom_options;\n\n /*** Filter operators ***/\n this.rgxOperator = f.regexp_operator || 'rgx:';\n this.emOperator = f.empty_operator || '[empty]';\n this.nmOperator = f.nonempty_operator || '[nonempty]';\n this.orOperator = f.or_operator || '||';\n this.anOperator = f.and_operator || '&&';\n this.grOperator = f.greater_operator || '>';\n this.lwOperator = f.lower_operator || '<';\n this.leOperator = f.lower_equal_operator || '<=';\n this.geOperator = f.greater_equal_operator || '>=';\n this.dfOperator = f.different_operator || '!';\n this.lkOperator = f.like_operator || '*';\n this.eqOperator = f.equal_operator || '=';\n this.stOperator = f.start_with_operator || '{';\n this.enOperator = f.end_with_operator || '}';\n this.curExp = f.cur_exp || '^[¥£€$]';\n this.separator = f.separator || ',';\n\n //show/hides rows counter\n this.rowsCounter = Boolean(f.rows_counter);\n\n //show/hides status bar\n this.statusBar = Boolean(f.status_bar);\n\n //enables/disables loader/spinner indicator\n this.loader = Boolean(f.loader);\n\n /*** validation - reset buttons/links ***/\n //show/hides filter's validation button\n this.displayBtn = Boolean(f.btn);\n //defines validation button text\n this.btnText = f.btn_text || (!this.enableIcons ? 'Go' : '');\n //defines css class for validation button\n this.btnCssClass = f.btn_css_class ||\n (!this.enableIcons ? 'btnflt' : 'btnflt_icon');\n //show/hides reset link\n this.btnReset = Boolean(f.btn_reset);\n //defines css class for reset button\n this.btnResetCssClass = f.btn_reset_css_class || 'reset';\n //callback function before filters are cleared\n this.onBeforeReset = isFn(f.on_before_reset) ?\n f.on_before_reset : null;\n //callback function after filters are cleared\n this.onAfterReset = isFn(f.on_after_reset) ? f.on_after_reset : null;\n\n /*** paging ***/\n //enables/disables table paging\n this.paging = Boolean(f.paging);\n this.nbHiddenRows = 0; //nb hidden rows\n\n /*** autofilter on typing ***/\n //Auto filtering, table is filtered when user stops typing\n this.autoFilter = Boolean(f.auto_filter);\n //onkeyup delay timer (msecs)\n this.autoFilterDelay = !isNaN(f.auto_filter_delay) ?\n f.auto_filter_delay : AUTO_FILTER_DELAY;\n //typing indicator\n this.isUserTyping = null;\n this.autoFilterTimer = null;\n\n /*** keyword highlighting ***/\n //enables/disables keyword highlighting\n this.highlightKeywords = Boolean(f.highlight_keywords);\n\n /*** No results feature ***/\n this.noResults = isObj(f.no_results_message) ||\n Boolean(f.no_results_message);\n\n // state persisstence\n this.state = isObj(f.state) || Boolean(f.state);\n\n /*** data types ***/\n //defines default date type (european DMY)\n this.defaultDateType = f.default_date_type || 'DMY';\n //defines default thousands separator US = ',' EU = '.'\n this.thousandsSeparator = f.thousands_separator || ',';\n //defines default decimal separator\n //US & javascript = '.' EU = ','\n this.decimalSeparator = f.decimal_separator || '.';\n //enables number format per column\n this.hasColNbFormat = isArray(f.col_number_format);\n //array containing columns nb formats\n this.colNbFormat = this.hasColNbFormat ? f.col_number_format : null;\n //enables date type per column\n this.hasColDateType = isArray(f.col_date_type);\n //array containing columns date type\n this.colDateType = this.hasColDateType ? f.col_date_type : null;\n\n /*** ids prefixes ***/\n //css class name added to table\n this.prfxTf = 'TF';\n //filters (inputs - selects)\n this.prfxFlt = 'flt';\n //validation button\n this.prfxValButton = 'btn';\n //container div for paging elements, rows counter etc.\n this.prfxInfDiv = 'inf_';\n //left div\n this.prfxLDiv = 'ldiv_';\n //right div\n this.prfxRDiv = 'rdiv_';\n //middle div\n this.prfxMDiv = 'mdiv_';\n //responsive table css class\n this.prfxResponsive = 'resp';\n\n /*** extensions ***/\n //imports external script\n this.extensions = f.extensions;\n this.hasExtensions = isArray(this.extensions);\n\n /*** themes ***/\n this.enableDefaultTheme = Boolean(f.enable_default_theme);\n //imports themes\n this.hasThemes = (this.enableDefaultTheme || isArray(f.themes));\n this.themes = f.themes || [];\n //themes path\n this.themesPath = f.themes_path || this.stylePath + 'themes/';\n\n //responsive table\n this.responsive = Boolean(f.responsive);\n\n // Features registry\n this.Mod = {};\n\n // Extensions registry\n this.ExtRegistry = {};\n }\n\n /**\n * Initialise features and layout\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let Mod = this.Mod;\n let n = this.singleSearchFlt ? 1 : this.nbCells;\n let inpclass;\n\n //loads stylesheet if not imported\n this.import(this.stylesheetId, this.stylesheet, null, 'link');\n\n //loads theme\n if (this.hasThemes) {\n this.loadThemes();\n }\n\n // Instantiate help feature and initialise only if set true\n if (!Mod.help) {\n Mod.help = new Help(this);\n }\n if (this.help) {\n Mod.help.init();\n }\n\n if (this.state) {\n if (!Mod.state) {\n Mod.state = new State(this);\n }\n Mod.state.init();\n }\n\n if (this.gridLayout) {\n if (!Mod.gridLayout) {\n Mod.gridLayout = new GridLayout(this);\n }\n Mod.gridLayout.init();\n }\n\n if (this.loader) {\n if (!Mod.loader) {\n Mod.loader = new Loader(this);\n }\n Mod.loader.init();\n }\n\n if (this.highlightKeywords) {\n Mod.highlightKeyword = new HighlightKeyword(this);\n Mod.highlightKeyword.init();\n }\n\n if (this.popupFilters) {\n if (!Mod.popupFilter) {\n Mod.popupFilter = new PopupFilter(this);\n }\n Mod.popupFilter.init();\n }\n\n //filters grid is not generated\n if (!this.fltGrid) {\n this._initNoFilters();\n } else {\n let fltrow = this._insertFiltersRow();\n\n this.nbFilterableRows = this.getRowsNb();\n\n // Generate filters\n for (let i = 0; i < n; i++) {\n this.emitter.emit('before-filter-init', this, i);\n\n let fltcell = createElm(this.fltCellTag),\n col = this.getFilterType(i);\n\n if (this.singleSearchFlt) {\n fltcell.colSpan = this.nbCells;\n }\n if (!this.gridLayout) {\n fltrow.appendChild(fltcell);\n }\n inpclass = (i === n - 1 && this.displayBtn) ?\n this.fltSmallCssClass : this.fltCssClass;\n\n //only 1 input for single search\n if (this.singleSearchFlt) {\n col = INPUT;\n inpclass = this.singleFltCssClass;\n }\n\n //drop-down filters\n if (col === SELECT || col === MULTIPLE) {\n if (!Mod.dropdown) {\n Mod.dropdown = new Dropdown(this);\n }\n Mod.dropdown.init(i, this.isExternalFlt, fltcell);\n }\n // checklist\n else if (col === CHECKLIST) {\n if (!Mod.checkList) {\n Mod.checkList = new CheckList(this);\n }\n Mod.checkList.init(i, this.isExternalFlt, fltcell);\n } else {\n this._buildInputFilter(i, inpclass, fltcell);\n }\n\n // this adds submit button\n if (i === n - 1 && this.displayBtn) {\n this._buildSubmitButton(i, fltcell);\n }\n\n this.emitter.emit('after-filter-init', this, i);\n }\n\n this.emitter.on(['filter-focus'],\n (tf, filter) => this.setActiveFilterId(filter.id));\n\n }//if this.fltGrid\n\n /* Features */\n if (this.hasVisibleRows) {\n this.emitter.on(['after-filtering'],\n () => this.enforceVisibility());\n this.enforceVisibility();\n }\n if (this.rowsCounter) {\n Mod.rowsCounter = new RowsCounter(this);\n Mod.rowsCounter.init();\n }\n if (this.statusBar) {\n Mod.statusBar = new StatusBar(this);\n Mod.statusBar.init();\n }\n if (this.paging) {\n if (!Mod.paging) {\n Mod.paging = new Paging(this);\n Mod.paging.init();\n } else {\n Mod.paging.reset();\n }\n }\n if (this.btnReset) {\n Mod.clearButton = new ClearButton(this);\n Mod.clearButton.init();\n }\n\n if (this.hasColWidths && !this.gridLayout) {\n this.setColWidths();\n }\n if (this.alternateRows) {\n Mod.alternateRows = new AlternateRows(this);\n Mod.alternateRows.init();\n }\n if (this.noResults) {\n if (!Mod.noResults) {\n Mod.noResults = new NoResults(this);\n }\n Mod.noResults.init();\n }\n\n //TF css class is added to table\n if (!this.gridLayout) {\n addClass(this.tbl, this.prfxTf);\n if (this.responsive) {\n addClass(this.tbl, this.prfxResponsive);\n }\n }\n\n /* Loads extensions */\n if (this.hasExtensions) {\n this.initExtensions();\n }\n\n // Subscribe to events\n if (this.markActiveColumns) {\n this.emitter.on(['before-filtering'],\n () => this.clearActiveColumns());\n this.emitter.on(['cell-processed'],\n (tf, colIndex) => this.markActiveColumn(colIndex));\n }\n if (this.linkedFilters) {\n this.emitter.on(['after-filtering'], () => this.linkFilters());\n }\n\n this.initialized = true;\n\n if (this.onFiltersLoaded) {\n this.onFiltersLoaded.call(null, this);\n }\n this.emitter.emit('initialized', this);\n }\n\n /**\n * Detect key\n * @param {Event} evt\n */\n detectKey(evt) {\n if (!this.enterKey) {\n return;\n }\n if (evt) {\n let key = keyCode(evt);\n if (key === ENTER_KEY) {\n this.filter();\n cancelEvt(evt);\n stopEvt(evt);\n } else {\n this.isUserTyping = true;\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n }\n }\n }\n\n /**\n * Filter's keyup event: if auto-filter on, detect user is typing and filter\n * columns\n * @param {Event} evt\n */\n onKeyUp(evt) {\n if (!this.autoFilter) {\n return;\n }\n let key = keyCode(evt);\n this.isUserTyping = false;\n\n function filter() {\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n if (!this.isUserTyping) {\n this.filter();\n this.isUserTyping = null;\n }\n }\n\n if (key !== ENTER_KEY && key !== TAB_KEY && key !== ESC_KEY &&\n key !== UP_ARROW_KEY && key !== DOWN_ARROW_KEY) {\n if (this.autoFilterTimer === null) {\n this.autoFilterTimer = root.setInterval(filter.bind(this),\n this.autoFilterDelay);\n }\n } else {\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n }\n }\n\n /**\n * Filter's keydown event: if auto-filter on, detect user is typing\n */\n onKeyDown() {\n if (this.autoFilter) {\n this.isUserTyping = true;\n }\n }\n\n /**\n * Filter's focus event\n * @param {Event} evt\n */\n onInpFocus(evt) {\n let elm = targetEvt(evt);\n this.emitter.emit('filter-focus', this, elm);\n }\n\n /**\n * Filter's blur event: if auto-filter on, clear interval on filter blur\n */\n onInpBlur() {\n if (this.autoFilter) {\n this.isUserTyping = false;\n root.clearInterval(this.autoFilterTimer);\n }\n this.emitter.emit('filter-blur', this);\n }\n\n /**\n * Insert filters row at initialization\n */\n _insertFiltersRow() {\n if (this.gridLayout) {\n return;\n }\n let fltrow;\n\n let thead = tag(this.tbl, 'thead');\n if (thead.length > 0) {\n fltrow = thead[0].insertRow(this.filtersRowIndex);\n } else {\n fltrow = this.tbl.insertRow(this.filtersRowIndex);\n }\n\n fltrow.className = this.fltsRowCssClass;\n\n if (this.isExternalFlt) {\n fltrow.style.display = NONE;\n }\n\n this.emitter.emit('filters-row-inserted', this, fltrow);\n return fltrow;\n }\n\n /**\n * Initialize filtersless table\n */\n _initNoFilters() {\n if (this.fltGrid) {\n return;\n }\n this.refRow = this.refRow > 0 ? this.refRow - 1 : 0;\n this.nbFilterableRows = this.getRowsNb();\n }\n\n /**\n * Build input filter type\n * @param {Number} colIndex Column index\n * @param {String} cssClass Css class applied to filter\n * @param {DOMElement} container Container DOM element\n */\n _buildInputFilter(colIndex, cssClass, container) {\n let col = this.getFilterType(colIndex);\n let externalFltTgtId = this.isExternalFlt ?\n this.externalFltTgtIds[colIndex] : null;\n let inptype = col === INPUT ? 'text' : 'hidden';\n let inp = createElm(INPUT,\n ['id', this.prfxFlt + colIndex + '_' + this.id],\n ['type', inptype], ['ct', colIndex]);\n\n if (inptype !== 'hidden' && this.watermark) {\n inp.setAttribute('placeholder',\n this.isWatermarkArray ? (this.watermark[colIndex] || '') :\n this.watermark\n );\n }\n inp.className = cssClass || this.fltCssClass;\n addEvt(inp, 'focus', (evt) => this.onInpFocus(evt));\n\n //filter is appended in custom element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(inp);\n this.externalFltEls.push(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 //Some elements need to be overriden for default theme\n //Reset button\n this.btnResetText = null;\n this.btnResetHtml = '';\n\n //Paging buttons\n this.btnPrevPageHtml = '';\n this.btnNextPageHtml = '';\n this.btnFirstPageHtml = '';\n this.btnLastPageHtml = '';\n\n //Loader\n this.loader = true;\n this.loaderHtml = '
';\n this.loaderText = null;\n\n this.emitter.emit('after-loading-themes', this);\n }\n\n /**\n * Return stylesheet DOM element for a given theme name\n * @return {DOMElement} stylesheet element\n */\n getStylesheet(name = 'default') {\n return elm(this.prfxTf + name);\n }\n\n /**\n * Destroy filter grid\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n let Mod = this.Mod;\n let emitter = this.emitter;\n\n if (this.isExternalFlt && !this.popupFilters) {\n this.removeExternalFlts();\n }\n if (this.infDiv) {\n this.removeToolbar();\n }\n if (this.markActiveColumns) {\n this.clearActiveColumns();\n emitter.off(['before-filtering'], () => this.clearActiveColumns());\n emitter.off(['cell-processed'],\n (tf, colIndex) => this.markActiveColumn(colIndex));\n }\n if (this.hasExtensions) {\n this.destroyExtensions();\n }\n\n this.validateAllRows();\n\n if (this.fltGrid && !this.gridLayout) {\n this.tbl.deleteRow(this.filtersRowIndex);\n }\n\n // broadcast destroy event\n emitter.emit('destroy', this);\n\n // Destroy modules\n // TODO: subcribe modules to destroy event instead\n Object.keys(Mod).forEach(function (key) {\n let feature = Mod[key];\n if (feature && isFn(feature.destroy)) {\n feature.destroy();\n }\n });\n\n // unsubscribe to events\n if (this.hasVisibleRows) {\n emitter.off(['after-filtering'], () => this.enforceVisibility());\n }\n if (this.linkedFilters) {\n emitter.off(['after-filtering'], () => this.linkFilters());\n }\n this.emitter.off(['filter-focus'],\n (tf, filter) => this.setActiveFilterId(filter.id));\n\n removeClass(this.tbl, this.prfxTf);\n removeClass(this.tbl, this.prfxResponsive);\n\n this.nbHiddenRows = 0;\n this.validRowsIndex = [];\n this.fltIds = [];\n this.initialized = false;\n }\n\n /**\n * Generate container element for paging, reset button, rows counter etc.\n */\n setToolbar() {\n if (this.infDiv) {\n return;\n }\n\n /*** container div ***/\n let infdiv = createElm('div', ['id', this.prfxInfDiv + this.id]);\n infdiv.className = this.infDivCssClass;\n\n //custom container\n if (this.toolBarTgtId) {\n elm(this.toolBarTgtId).appendChild(infdiv);\n }\n //grid-layout\n else if (this.gridLayout) {\n let gridLayout = this.Mod.gridLayout;\n gridLayout.tblMainCont.appendChild(infdiv);\n infdiv.className = gridLayout.infDivCssClass;\n }\n //default location: just above the table\n else {\n let cont = createElm('caption');\n cont.appendChild(infdiv);\n this.tbl.insertBefore(cont, this.tbl.firstChild);\n }\n this.infDiv = elm(this.prfxInfDiv + this.id);\n\n /*** left div containing rows # displayer ***/\n let ldiv = createElm('div', ['id', this.prfxLDiv + this.id]);\n ldiv.className = this.lDivCssClass;\n infdiv.appendChild(ldiv);\n this.lDiv = elm(this.prfxLDiv + this.id);\n\n /*** right div containing reset button\n + nb results per page select ***/\n let rdiv = createElm('div', ['id', this.prfxRDiv + this.id]);\n rdiv.className = this.rDivCssClass;\n infdiv.appendChild(rdiv);\n this.rDiv = elm(this.prfxRDiv + this.id);\n\n /*** mid div containing paging elements ***/\n let mdiv = createElm('div', ['id', this.prfxMDiv + this.id]);\n mdiv.className = this.mDivCssClass;\n infdiv.appendChild(mdiv);\n this.mDiv = elm(this.prfxMDiv + this.id);\n\n // emit help initialisation only if undefined\n if (isUndef(this.help)) {\n // explicitily set enabled field to true to initialise help by\n // default, only if setting is undefined\n this.Mod.help.enabled = true;\n this.emitter.emit('init-help', this);\n }\n }\n\n /**\n * Remove toolbar container element\n */\n removeToolbar() {\n if (!this.infDiv) {\n return;\n }\n removeElm(this.infDiv);\n this.infDiv = null;\n\n let tbl = this.tbl;\n let captions = tag(tbl, 'caption');\n if (captions.length > 0) {\n [].forEach.call(captions, (elm) => tbl.removeChild(elm));\n }\n }\n\n /**\n * Remove all the external column filters\n */\n removeExternalFlts() {\n if (!this.isExternalFlt) {\n return;\n }\n let ids = this.externalFltTgtIds,\n len = ids.length;\n for (let ct = 0; ct < len; ct++) {\n let externalFltTgtId = ids[ct],\n externalFlt = elm(externalFltTgtId);\n if (externalFlt) {\n externalFlt.innerHTML = '';\n }\n }\n }\n\n /**\n * Check if given column implements a filter with custom options\n * @param {Number} colIndex Column's index\n * @return {Boolean}\n */\n isCustomOptions(colIndex) {\n return this.hasCustomOptions &&\n this.customOptions.cols.indexOf(colIndex) !== -1;\n }\n\n /**\n * Returns an array [[value0, value1 ...],[text0, text1 ...]] with the\n * custom options values and texts\n * @param {Number} colIndex Column's index\n * @return {Array}\n */\n getCustomOptions(colIndex) {\n if (isEmpty(colIndex) || !this.isCustomOptions(colIndex)) {\n return;\n }\n\n let customOptions = this.customOptions;\n let cols = customOptions.cols;\n let optTxt = [], optArray = [];\n let index = cols.indexOf(colIndex);\n let slcValues = customOptions.values[index];\n let slcTexts = customOptions.texts[index];\n let slcSort = customOptions.sorts[index];\n\n for (let r = 0, len = slcValues.length; r < len; r++) {\n optArray.push(slcValues[r]);\n if (slcTexts[r]) {\n optTxt.push(slcTexts[r]);\n } else {\n optTxt.push(slcValues[r]);\n }\n }\n if (slcSort) {\n optArray.sort();\n optTxt.sort();\n }\n return [optArray, optTxt];\n }\n\n /**\n * Filter the table by retrieving the data from each cell in every single\n * row and comparing it to the search term for current column. A row is\n * hidden when all the search terms are not found in inspected row.\n */\n filter() {\n if (!this.fltGrid || !this.initialized) {\n return;\n }\n //invoke onbefore callback\n if (this.onBeforeFilter) {\n this.onBeforeFilter.call(null, this);\n }\n this.emitter.emit('before-filtering', this);\n\n let row = this.tbl.rows,\n nbRows = this.getRowsNb(true),\n hiddenRows = 0;\n\n this.validRowsIndex = [];\n // search args re-init\n let searchArgs = this.getFiltersValue();\n\n let numCellData;\n let nbFormat;\n let re_le = new RegExp(this.leOperator),\n re_ge = new RegExp(this.geOperator),\n re_l = new RegExp(this.lwOperator),\n re_g = new RegExp(this.grOperator),\n re_d = new RegExp(this.dfOperator),\n re_lk = new RegExp(rgxEsc(this.lkOperator)),\n re_eq = new RegExp(this.eqOperator),\n re_st = new RegExp(this.stOperator),\n re_en = new RegExp(this.enOperator),\n // re_an = new RegExp(this.anOperator),\n // re_cr = new RegExp(this.curExp),\n re_em = this.emOperator,\n re_nm = this.nmOperator,\n re_re = new RegExp(rgxEsc(this.rgxOperator));\n\n //keyword highlighting\n function highlight(str, ok, cell) {\n /*jshint validthis:true */\n if (this.highlightKeywords && ok) {\n str = str.replace(re_lk, '');\n str = str.replace(re_eq, '');\n str = str.replace(re_st, '');\n str = str.replace(re_en, '');\n let w = str;\n if (re_le.test(str) || re_ge.test(str) || re_l.test(str) ||\n re_g.test(str) || re_d.test(str)) {\n w = getText(cell);\n }\n if (w !== '') {\n this.emitter.emit('highlight-keyword', this, cell, w);\n }\n }\n }\n\n //looks for search argument in current row\n function hasArg(sA, cellData, j) {\n sA = matchCase(sA, this.caseSensitive);\n\n let occurence;\n let dtType = this.hasColDateType ?\n this.colDateType[j] : this.defaultDateType;\n\n //Search arg operator tests\n let hasLO = re_l.test(sA),\n hasLE = re_le.test(sA),\n hasGR = re_g.test(sA),\n hasGE = re_ge.test(sA),\n hasDF = re_d.test(sA),\n hasEQ = re_eq.test(sA),\n hasLK = re_lk.test(sA),\n // hasAN = re_an.test(sA),\n hasST = re_st.test(sA),\n hasEN = re_en.test(sA),\n hasEM = (re_em === sA),\n hasNM = (re_nm === sA),\n hasRE = re_re.test(sA);\n\n //Search arg dates tests\n let isLDate = hasLO && isValidDate(sA.replace(re_l, ''), dtType);\n let isLEDate = hasLE && isValidDate(sA.replace(re_le, ''), dtType);\n let isGDate = hasGR && isValidDate(sA.replace(re_g, ''), dtType);\n let isGEDate = hasGE && isValidDate(sA.replace(re_ge, ''), dtType);\n let isDFDate = hasDF && isValidDate(sA.replace(re_d, ''), dtType);\n let isEQDate = hasEQ && isValidDate(sA.replace(re_eq, ''), dtType);\n\n let dte1, dte2;\n //dates\n if (isValidDate(cellData, dtType)) {\n dte1 = formatDate(cellData, dtType);\n // lower date\n if (isLDate) {\n dte2 = formatDate(sA.replace(re_l, ''), dtType);\n occurence = dte1 < dte2;\n }\n // lower equal date\n else if (isLEDate) {\n dte2 = formatDate(sA.replace(re_le, ''), dtType);\n occurence = dte1 <= dte2;\n }\n // greater equal date\n else if (isGEDate) {\n dte2 = formatDate(sA.replace(re_ge, ''), dtType);\n occurence = dte1 >= dte2;\n }\n // greater date\n else if (isGDate) {\n dte2 = formatDate(sA.replace(re_g, ''), dtType);\n occurence = dte1 > dte2;\n }\n // different date\n else if (isDFDate) {\n dte2 = formatDate(sA.replace(re_d, ''), dtType);\n occurence = dte1.toString() !== dte2.toString();\n }\n // equal date\n else if (isEQDate) {\n dte2 = formatDate(sA.replace(re_eq, ''), dtType);\n occurence = dte1.toString() === dte2.toString();\n }\n // searched keyword with * operator doesn't have to be a date\n else if (re_lk.test(sA)) {// like date\n occurence = contains(sA.replace(re_lk, ''), cellData,\n false, this.caseSensitive);\n }\n else if (isValidDate(sA, dtType)) {\n dte2 = formatDate(sA, dtType);\n occurence = dte1.toString() === dte2.toString();\n }\n //empty\n else if (hasEM) {\n occurence = isEmptyString(cellData);\n }\n //non-empty\n else if (hasNM) {\n occurence = !isEmptyString(cellData);\n } else {\n occurence = contains(sA, cellData, this.isExactMatch(j),\n this.caseSensitive);\n }\n }\n\n else {\n //first numbers need to be formated\n if (this.hasColNbFormat && this.colNbFormat[j]) {\n numCellData = removeNbFormat(cellData, this.colNbFormat[j]);\n nbFormat = this.colNbFormat[j];\n } else {\n if (this.thousandsSeparator === ',' &&\n this.decimalSeparator === '.') {\n numCellData = removeNbFormat(cellData, 'us');\n nbFormat = 'us';\n } else {\n numCellData = removeNbFormat(cellData, 'eu');\n nbFormat = 'eu';\n }\n }\n\n // first checks if there is any operator (<,>,<=,>=,!,*,=,{,},\n // rgx:)\n // lower equal\n if (hasLE) {\n occurence = numCellData <= removeNbFormat(\n sA.replace(re_le, ''), nbFormat);\n }\n //greater equal\n else if (hasGE) {\n occurence = numCellData >= removeNbFormat(\n sA.replace(re_ge, ''), nbFormat);\n }\n //lower\n else if (hasLO) {\n occurence = numCellData < removeNbFormat(\n sA.replace(re_l, ''), nbFormat);\n }\n //greater\n else if (hasGR) {\n occurence = numCellData > removeNbFormat(\n sA.replace(re_g, ''), nbFormat);\n }\n //different\n else if (hasDF) {\n occurence = contains(sA.replace(re_d, ''), cellData,\n false, this.caseSensitive) ? false : true;\n }\n //like\n else if (hasLK) {\n occurence = contains(sA.replace(re_lk, ''), cellData,\n false, this.caseSensitive);\n }\n //equal\n else if (hasEQ) {\n occurence = contains(sA.replace(re_eq, ''), cellData,\n true, this.caseSensitive);\n }\n //starts with\n else if (hasST) {\n occurence = cellData.indexOf(sA.replace(re_st, '')) === 0 ?\n true : false;\n }\n //ends with\n else if (hasEN) {\n let searchArg = sA.replace(re_en, '');\n occurence =\n cellData.lastIndexOf(searchArg, cellData.length - 1) ===\n (cellData.length - 1) - (searchArg.length - 1) &&\n cellData.lastIndexOf(searchArg, cellData.length - 1)\n > -1 ? true : false;\n }\n //empty\n else if (hasEM) {\n occurence = isEmptyString(cellData);\n }\n //non-empty\n else if (hasNM) {\n occurence = !isEmptyString(cellData);\n }\n //regexp\n else if (hasRE) {\n //in case regexp fires an exception\n try {\n //operator is removed\n let srchArg = sA.replace(re_re, '');\n let rgx = new RegExp(srchArg);\n occurence = rgx.test(cellData);\n } catch (ex) {\n occurence = false;\n }\n } else {\n // If numeric type data, perform a strict equality test and\n // fallback to unformatted number string comparison\n if (numCellData && this.hasColNbFormat &&\n this.colNbFormat[j] && !this.singleSearchFlt) {\n sA = removeNbFormat(sA, nbFormat);\n occurence = numCellData === sA ||\n contains(sA.toString(), numCellData.toString(),\n this.isExactMatch(j), this.caseSensitive);\n } else {\n // Finally test search term is contained in cell data\n occurence = contains(sA, cellData, this.isExactMatch(j),\n this.caseSensitive);\n }\n }\n\n }//else\n return occurence;\n }//fn\n\n for (let k = this.refRow; k < nbRows; k++) {\n // already filtered rows display re-init\n row[k].style.display = '';\n\n let cells = row[k].cells,\n nchilds = cells.length;\n\n // checks if row has exact cell #\n if (nchilds !== this.nbCells) {\n continue;\n }\n\n let occurence = [],\n isRowValid = true,\n //only for single filter search\n singleFltRowValid = false;\n\n // this loop retrieves cell data\n for (let j = 0; j < nchilds; j++) {\n //searched keyword\n let sA = searchArgs[this.singleSearchFlt ? 0 : j];\n\n if (sA === '') {\n continue;\n }\n\n let cellData = matchCase(this.getCellData(cells[j]),\n this.caseSensitive);\n\n //multiple search parameter operator ||\n let sAOrSplit = sA.toString().split(this.orOperator),\n //multiple search || parameter boolean\n hasMultiOrSA = sAOrSplit.length > 1,\n //multiple search parameter operator &&\n sAAndSplit = sA.toString().split(this.anOperator),\n //multiple search && parameter boolean\n hasMultiAndSA = sAAndSplit.length > 1;\n\n //detect operators or array query\n if (isArray(sA) || hasMultiOrSA || hasMultiAndSA) {\n let cS,\n s,\n occur = false;\n if (isArray(sA)) {\n s = sA;\n } else {\n s = hasMultiOrSA ? sAOrSplit : sAAndSplit;\n }\n // TODO: improve clarity/readability of this block\n for (let w = 0, len = s.length; w < len; w++) {\n cS = trim(s[w]);\n occur = hasArg.call(this, cS, cellData, j);\n highlight.call(this, cS, occur, cells[j]);\n if ((hasMultiOrSA && occur) ||\n (hasMultiAndSA && !occur)) {\n break;\n }\n if (isArray(sA) && occur) {\n break;\n }\n }\n occurence[j] = occur;\n\n }\n //single search parameter\n else {\n occurence[j] = hasArg.call(this, trim(sA), cellData, j);\n highlight.call(this, sA, occurence[j], cells[j]);\n }//else single param\n\n if (!occurence[j]) {\n isRowValid = false;\n }\n if (this.singleSearchFlt && occurence[j]) {\n singleFltRowValid = true;\n }\n\n this.emitter.emit('cell-processed', this, j, cells[j]);\n }//for j\n\n if (this.singleSearchFlt && singleFltRowValid) {\n isRowValid = true;\n }\n\n if (!isRowValid) {\n this.validateRow(k, false);\n hiddenRows++;\n } else {\n this.validateRow(k, true);\n }\n\n this.emitter.emit('row-processed', this, k,\n this.validRowsIndex.length, isRowValid);\n }// for k\n\n this.nbHiddenRows = hiddenRows;\n\n //invokes onafterfilter callback\n if (this.onAfterFilter) {\n this.onAfterFilter.call(null, this);\n }\n\n this.emitter.emit('after-filtering', this, searchArgs);\n }\n\n /**\n * Return the data of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} includeHeaders Optional: include headers row\n * @param {Boolean} num Optional: return unformatted number\n * @param {Array} exclude Optional: list of row indexes to be excluded\n * @return {Array} Flat list of data for a column\n */\n getColValues(colIndex, includeHeaders = false, num = false, exclude = []) {\n if (!this.fltGrid) {\n return;\n }\n let row = this.tbl.rows;\n let nbRows = this.getRowsNb(true);\n let colValues = [];\n\n if (includeHeaders) {\n colValues.push(this.getHeadersText()[colIndex]);\n }\n\n for (let i = this.refRow; i < nbRows; i++) {\n let isExludedRow = false;\n // checks if current row index appears in exclude array\n if (exclude.length > 0) {\n isExludedRow = exclude.indexOf(i) !== -1;\n }\n let cell = row[i].cells,\n nchilds = cell.length;\n\n // checks if row has exact cell # and is not excluded\n if (nchilds === this.nbCells && !isExludedRow) {\n // this loop retrieves cell data\n for (let j = 0; j < nchilds; j++) {\n if (j !== colIndex || row[i].style.display !== '') {\n continue;\n }\n let cellData = this.getCellData(cell[j]),\n nbFormat = this.colNbFormat ?\n this.colNbFormat[colIndex] : undefined,\n data = num ? removeNbFormat(cellData, nbFormat) :\n cellData;\n colValues.push(data);\n }\n }\n }\n return colValues;\n }\n\n /**\n * Return the filter's value of a specified column\n * @param {Number} index Column index\n * @return {String} Filter value\n */\n getFilterValue(index) {\n if (!this.fltGrid) {\n return;\n }\n let fltValue = '';\n let flt = this.getFilterElement(index);\n if (!flt) {\n return fltValue;\n }\n\n let fltColType = this.getFilterType(index);\n if (fltColType !== MULTIPLE && fltColType !== CHECKLIST) {\n fltValue = flt.value;\n }\n //mutiple select\n else if (fltColType === MULTIPLE) {\n fltValue = this.feature('dropdown').getValues(index);\n }\n //checklist\n else if (fltColType === CHECKLIST) {\n fltValue = this.feature('checkList').getValues(index);\n }\n //return an empty string if collection is empty or contains a single\n //empty string\n if (isArray(fltValue) && fltValue.length === 0 ||\n (fltValue.length === 1 && fltValue[0] === '')) {\n fltValue = '';\n }\n\n return fltValue;\n }\n\n /**\n * Return the filters' values\n * @return {Array} List of filters' values\n */\n getFiltersValue() {\n if (!this.fltGrid) {\n return;\n }\n let searchArgs = [];\n for (let i = 0, len = this.fltIds.length; i < len; i++) {\n let fltValue = this.getFilterValue(i);\n if (isArray(fltValue)) {\n searchArgs.push(fltValue);\n } else {\n searchArgs.push(trim(fltValue));\n }\n }\n return searchArgs;\n }\n\n /**\n * Return the ID of a specified column's filter\n * @param {Number} index Column's index\n * @return {String} ID of the filter element\n */\n getFilterId(index) {\n if (!this.fltGrid) {\n return;\n }\n return this.fltIds[index];\n }\n\n /**\n * Return the list of ids of filters matching a specified type.\n * Note: hidden filters are also returned\n *\n * @param {String} type Filter type string ('input', 'select', 'multiple',\n * 'checklist')\n * @param {Boolean} bool If true returns columns indexes instead of IDs\n * @return {[type]} List of element IDs or column indexes\n */\n getFiltersByType(type, bool) {\n if (!this.fltGrid) {\n return;\n }\n let arr = [];\n for (let i = 0, len = this.fltIds.length; i < len; i++) {\n let fltType = this.getFilterType(i);\n if (fltType === type.toLowerCase()) {\n let a = bool ? i : this.fltIds[i];\n arr.push(a);\n }\n }\n return arr;\n }\n\n /**\n * Return the filter's DOM element for a given column\n * @param {Number} index Column's index\n * @return {DOMElement}\n */\n getFilterElement(index) {\n let fltId = this.fltIds[index];\n return elm(fltId);\n }\n\n /**\n * Return the number of cells for a given row index\n * @param {Number} rowIndex Index of the row\n * @return {Number} Number of cells\n */\n getCellsNb(rowIndex = 0) {\n let tr = this.tbl.rows[rowIndex];\n return tr.cells.length;\n }\n\n /**\n * Return the number of filterable rows starting from reference row if\n * defined\n * @param {Boolean} includeHeaders Include the headers row\n * @return {Number} Number of filterable rows\n */\n getRowsNb(includeHeaders) {\n let s = isUndef(this.refRow) ? 0 : this.refRow;\n let ntrs = this.tbl.rows.length;\n if (includeHeaders) {\n s = 0;\n }\n return parseInt(ntrs - s, 10);\n }\n\n /**\n * Return the data of a given cell\n * @param {DOMElement} cell Cell's DOM object\n * @return {String}\n */\n getCellData(cell) {\n let idx = cell.cellIndex;\n //Check for customCellData callback\n if (this.customCellData &&\n this.customCellDataCols.indexOf(idx) !== -1) {\n return this.customCellData.call(null, this, cell, idx);\n } else {\n return getText(cell);\n }\n }\n\n /**\n * Return the table data with following format:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} includeHeaders Optional: include headers row\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n */\n getTableData(includeHeaders = false, excludeHiddenCols = false) {\n let rows = this.tbl.rows;\n let nbRows = this.getRowsNb(true);\n let tblData = [];\n if (includeHeaders) {\n let headers = this.getHeadersText(excludeHiddenCols);\n tblData.push([this.getHeadersRowIndex(), headers]);\n }\n for (let k = this.refRow; k < nbRows; k++) {\n let rowData = [k, []];\n let cells = rows[k].cells;\n for (let j = 0, len = cells.length; j < len; j++) {\n if (excludeHiddenCols && this.hasExtension('colsVisibility')) {\n if (this.extension('colsVisibility').isColHidden(j)) {\n continue;\n }\n }\n let cellData = this.getCellData(cells[j]);\n rowData[1].push(cellData);\n }\n tblData.push(rowData);\n }\n return tblData;\n }\n\n /**\n * Return the filtered data with following format:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} includeHeaders Optional: include headers row\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n */\n getFilteredData(includeHeaders = false, excludeHiddenCols = false) {\n if (!this.validRowsIndex) {\n return [];\n }\n let rows = this.tbl.rows,\n filteredData = [];\n if (includeHeaders) {\n let headers = this.getHeadersText(excludeHiddenCols);\n filteredData.push([this.getHeadersRowIndex(), headers]);\n }\n\n let validRows = this.getValidRows(true);\n for (let i = 0; i < validRows.length; i++) {\n let rData = [this.validRowsIndex[i], []],\n cells = rows[this.validRowsIndex[i]].cells;\n for (let k = 0; k < cells.length; k++) {\n if (excludeHiddenCols && this.hasExtension('colsVisibility')) {\n if (this.extension('colsVisibility').isColHidden(k)) {\n continue;\n }\n }\n let cellData = this.getCellData(cells[k]);\n rData[1].push(cellData);\n }\n filteredData.push(rData);\n }\n return filteredData;\n }\n\n /**\n * Return the filtered data for a given column index\n * @param {Number} colIndex Colmun's index\n * @param {Boolean} includeHeaders Optional: include headers row\n * @return {Array} Flat list of values ['val0','val1','val2'...]\n *\n * TODO: provide an API returning data in JSON format\n */\n getFilteredDataCol(colIndex, includeHeaders = false) {\n if (isUndef(colIndex)) {\n return [];\n }\n let data = this.getFilteredData(),\n colData = [];\n if (includeHeaders) {\n colData.push(this.getHeadersText()[colIndex]);\n }\n for (let i = 0, len = data.length; i < len; i++) {\n let r = data[i],\n //cols values of current row\n d = r[1],\n //data of searched column\n c = d[colIndex];\n colData.push(c);\n }\n return colData;\n }\n\n /**\n * Get the display value of a row\n * @param {HTMLTableRowElement} row DOM element of the row\n * @return {String} Usually 'none' or ''\n */\n getRowDisplay(row) {\n return row.style.display;\n }\n\n /**\n * Validate/invalidate row by setting the 'validRow' attribute on the row\n * @param {Number} rowIndex Index of the row\n * @param {Boolean} isValid\n */\n validateRow(rowIndex, isValid) {\n let row = this.tbl.rows[rowIndex];\n if (!row || typeof isValid !== 'boolean') {\n return;\n }\n\n // always visible rows are valid\n if (this.hasVisibleRows && this.visibleRows.indexOf(rowIndex) !== -1) {\n isValid = true;\n }\n\n let displayFlag = isValid ? '' : NONE,\n validFlag = isValid ? 'true' : 'false';\n row.style.display = displayFlag;\n\n if (this.paging) {\n row.setAttribute('validRow', validFlag);\n }\n\n if (isValid) {\n if (this.validRowsIndex.indexOf(rowIndex) === -1) {\n this.validRowsIndex.push(rowIndex);\n }\n\n if (this.onRowValidated) {\n this.onRowValidated.call(null, this, rowIndex);\n }\n\n this.emitter.emit('row-validated', this, rowIndex);\n }\n }\n\n /**\n * Validate all filterable rows\n */\n validateAllRows() {\n if (!this.initialized) {\n return;\n }\n this.validRowsIndex = [];\n for (let k = this.refRow; k < this.nbFilterableRows; k++) {\n this.validateRow(k, true);\n }\n }\n\n /**\n * Set search value to a given filter\n * @param {Number} index Column's index\n * @param {String or Array} query searcharg Search term\n */\n setFilterValue(index, query = '') {\n if (!this.fltGrid) {\n return;\n }\n let slc = this.getFilterElement(index),\n fltColType = this.getFilterType(index);\n\n if (fltColType !== MULTIPLE && fltColType !== CHECKLIST) {\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-select-filter', this, index,\n this.linkedFilters, this.isExternalFlt);\n }\n slc.value = query;\n }\n //multiple selects\n else if (fltColType === MULTIPLE) {\n let values = isArray(query) ? query :\n query.split(' ' + this.orOperator + ' ');\n\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-select-filter', this, index,\n this.linkedFilters, this.isExternalFlt);\n }\n\n this.emitter.emit('select-options', this, index, values);\n }\n //checklist\n else if (fltColType === CHECKLIST) {\n let values = [];\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-checklist-filter', this, index,\n this.isExternalFlt);\n }\n if (isArray(query)) {\n values = query;\n } else {\n query = matchCase(query, this.caseSensitive);\n values = query.split(' ' + this.orOperator + ' ');\n }\n\n this.emitter.emit('select-checklist-options', this, index, values);\n }\n }\n\n /**\n * Set them columns' widths as per configuration\n * @param {Element} tbl DOM element\n */\n setColWidths(tbl) {\n if (!this.hasColWidths) {\n return;\n }\n tbl = tbl || this.tbl;\n\n let nbCols = this.nbCells;\n let colWidths = this.colWidths;\n let colTags = tag(tbl, 'col');\n let tblHasColTag = colTags.length > 0;\n let frag = !tblHasColTag ? doc.createDocumentFragment() : null;\n for (let k = 0; k < nbCols; k++) {\n let col;\n if (tblHasColTag) {\n col = colTags[k];\n } else {\n col = createElm('col', ['id', this.id + '_col_' + k]);\n frag.appendChild(col);\n }\n col.style.width = colWidths[k];\n }\n if (!tblHasColTag) {\n tbl.insertBefore(frag, tbl.firstChild);\n }\n }\n\n /**\n * Makes defined rows always visible\n */\n enforceVisibility() {\n if (!this.hasVisibleRows) {\n return;\n }\n let nbRows = this.getRowsNb(true);\n for (let i = 0, len = this.visibleRows.length; i < len; i++) {\n let row = this.visibleRows[i];\n //row index cannot be > nrows\n if (row <= nbRows) {\n this.validateRow(row, true);\n }\n }\n }\n\n /**\n * Clear all the filters' values\n */\n clearFilters() {\n if (!this.fltGrid) {\n return;\n }\n\n this.emitter.emit('before-clearing-filters', this);\n\n if (this.onBeforeReset) {\n this.onBeforeReset.call(null, this, this.getFiltersValue());\n }\n for (let i = 0, len = this.fltIds.length; i < len; i++) {\n this.setFilterValue(i, '');\n }\n\n this.filter();\n\n if (this.onAfterReset) {\n this.onAfterReset.call(null, this);\n }\n this.emitter.emit('after-clearing-filters', this);\n }\n\n /**\n * Clears filtered columns visual indicator (background color)\n */\n clearActiveColumns() {\n for (let i = 0, len = this.getCellsNb(this.headersRow); i < len; i++) {\n removeClass(this.getHeaderElement(i), this.activeColumnsCssClass);\n }\n }\n\n /**\n * Mark currently filtered column\n * @param {Number} colIndex Column index\n */\n markActiveColumn(colIndex) {\n let header = this.getHeaderElement(colIndex);\n if (hasClass(header, this.activeColumnsCssClass)) {\n return;\n }\n if (this.onBeforeActiveColumn) {\n this.onBeforeActiveColumn.call(null, this, colIndex);\n }\n addClass(header, this.activeColumnsCssClass);\n if (this.onAfterActiveColumn) {\n this.onAfterActiveColumn.call(null, this, colIndex);\n }\n }\n\n /**\n * Return the ID of the current active filter\n * @returns {String}\n */\n getActiveFilterId() {\n return this.activeFilterId;\n }\n\n /**\n * Set the ID of the current active filter\n * @param {String} filterId Element ID\n */\n setActiveFilterId(filterId) {\n this.activeFilterId = filterId;\n }\n\n /**\n * Return the column index for a given filter ID\n * @param {string} [filterId=''] Filter ID\n * @returns {Number} Column index\n */\n getColumnIndexFromFilterId(filterId = '') {\n let idx = filterId.split('_')[0];\n idx = idx.split(this.prfxFlt)[1];\n return parseInt(idx, 10);\n }\n\n /**\n * Make specified column's filter active\n * @param colIndex Index of a column\n */\n activateFilter(colIndex) {\n if (isUndef(colIndex)) {\n return;\n }\n this.setActiveFilterId(this.getFilterId(colIndex));\n }\n\n /**\n * Refresh the filters subject to linking ('select', 'multiple',\n * 'checklist' type)\n */\n linkFilters() {\n if (!this.linkedFilters || !this.activeFilterId) {\n return;\n }\n let slcA1 = this.getFiltersByType(SELECT, true),\n slcA2 = this.getFiltersByType(MULTIPLE, true),\n slcA3 = this.getFiltersByType(CHECKLIST, true),\n slcIndex = slcA1.concat(slcA2);\n slcIndex = slcIndex.concat(slcA3);\n\n let activeIdx = this.getColumnIndexFromFilterId(this.activeFilterId);\n\n for (let i = 0, len = slcIndex.length; i < len; i++) {\n let curSlc = elm(this.fltIds[slcIndex[i]]);\n let slcSelectedValue = this.getFilterValue(slcIndex[i]);\n\n // Welcome to cyclomatic complexity hell :)\n // TODO: simplify/refactor if statement\n if (activeIdx !== slcIndex[i] ||\n (this.paging && slcA1.indexOf(slcIndex[i]) !== -1 &&\n activeIdx === slcIndex[i]) ||\n (!this.paging && (slcA3.indexOf(slcIndex[i]) !== -1 ||\n slcA2.indexOf(slcIndex[i]) !== -1)) ||\n slcSelectedValue === this.displayAllText) {\n\n //1st option needs to be inserted\n if (this.loadFltOnDemand) {\n let opt0 = createOpt(this.displayAllText, '');\n curSlc.innerHTML = '';\n curSlc.appendChild(opt0);\n }\n\n if (slcA3.indexOf(slcIndex[i]) !== -1) {\n this.emitter.emit('build-checklist-filter', this,\n slcIndex[i]);\n } else {\n this.emitter.emit('build-select-filter', this, slcIndex[i],\n true);\n }\n\n this.setFilterValue(slcIndex[i], slcSelectedValue);\n }\n }\n }\n\n /**\n * Determines if passed filter column implements exact query match\n * @param {Number} colIndex [description]\n * @return {Boolean} [description]\n */\n isExactMatch(colIndex) {\n let fltType = this.getFilterType(colIndex);\n return this.exactMatchByCol[colIndex] || this.exactMatch ||\n fltType !== INPUT;\n }\n\n /**\n * Check if passed script or stylesheet is already imported\n * @param {String} filePath Ressource path\n * @param {String} type Possible values: 'script' or 'link'\n * @return {Boolean}\n */\n isImported(filePath, type = 'script') {\n let imported = false,\n attr = type === 'script' ? 'src' : 'href',\n files = tag(doc, type);\n for (let i = 0, len = files.length; i < len; i++) {\n if (isUndef(files[i][attr])) {\n continue;\n }\n if (files[i][attr].match(filePath)) {\n imported = true;\n break;\n }\n }\n return imported;\n }\n\n /**\n * Import script or stylesheet\n * @param {String} fileId Ressource ID\n * @param {String} filePath Ressource path\n * @param {Function} callback Callback\n * @param {String} type Possible values: 'script' or 'link'\n */\n import(fileId, filePath, callback, type = 'script') {\n if (this.isImported(filePath, type)) {\n return;\n }\n let o = this,\n isLoaded = false,\n file,\n head = tag(doc, 'head')[0];\n\n if (type.toLowerCase() === 'link') {\n file = createElm('link',\n ['id', fileId], ['type', 'text/css'],\n ['rel', 'stylesheet'], ['href', filePath]\n );\n } else {\n file = createElm('script',\n ['id', fileId],\n ['type', 'text/javascript'], ['src', filePath]\n );\n }\n\n //Browser <> IE onload event works only for scripts, not for stylesheets\n file.onload = file.onreadystatechange = () => {\n if (!isLoaded &&\n (!this.readyState || this.readyState === 'loaded' ||\n this.readyState === 'complete')) {\n isLoaded = true;\n if (typeof callback === 'function') {\n callback.call(null, o);\n }\n }\n };\n file.onerror = function () {\n throw new Error(`TableFilter could not load: ${filePath}`);\n };\n head.appendChild(file);\n }\n\n /**\n * Check if table has filters grid\n * @return {Boolean}\n */\n isInitialized() {\n return this.initialized;\n }\n\n /**\n * Get list of filter IDs\n * @return {[type]} [description]\n */\n getFiltersId() {\n return this.fltIds || [];\n }\n\n /**\n * Get filtered (valid) rows indexes\n * @param {Boolean} reCalc Force calculation of filtered rows list\n * @return {Array} List of row indexes\n */\n getValidRows(reCalc) {\n if (!reCalc) {\n return this.validRowsIndex;\n }\n\n let nbRows = this.getRowsNb(true);\n this.validRowsIndex = [];\n for (let k = this.refRow; k < nbRows; k++) {\n let r = this.tbl.rows[k];\n if (!this.paging) {\n if (this.getRowDisplay(r) !== NONE) {\n this.validRowsIndex.push(r.rowIndex);\n }\n } else {\n if (r.getAttribute('validRow') === 'true' ||\n r.getAttribute('validRow') === null) {\n this.validRowsIndex.push(r.rowIndex);\n }\n }\n }\n return this.validRowsIndex;\n }\n\n /**\n * Get the index of the row containing the filters\n * @return {Number}\n */\n getFiltersRowIndex() {\n return this.filtersRowIndex;\n }\n\n /**\n * Get the index of the headers row\n * @return {Number}\n */\n getHeadersRowIndex() {\n return this.headersRow;\n }\n\n /**\n * Get the row index from where the filtering process start (1st filterable\n * row)\n * @return {Number}\n */\n getStartRowIndex() {\n return this.refRow;\n }\n\n /**\n * Get the index of the last row\n * @return {Number}\n */\n getLastRowIndex() {\n let nbRows = this.getRowsNb(true);\n return (nbRows - 1);\n }\n\n /**\n * Get the header DOM element for a given column index\n * @param {Number} colIndex Column index\n * @return {Element}\n */\n getHeaderElement(colIndex) {\n let table = this.gridLayout ? this.Mod.gridLayout.headTbl : this.tbl;\n let tHead = tag(table, 'thead');\n let headersRow = this.headersRow;\n let header;\n for (let i = 0; i < this.nbCells; i++) {\n if (i !== colIndex) {\n continue;\n }\n if (tHead.length === 0) {\n header = table.rows[headersRow].cells[i];\n }\n if (tHead.length === 1) {\n header = tHead[0].rows[headersRow].cells[i];\n }\n break;\n }\n return header;\n }\n\n /**\n * Return the list of headers' text\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array} list of headers' text\n */\n getHeadersText(excludeHiddenCols = false) {\n let headers = [];\n for (let j = 0; j < this.nbCells; j++) {\n if (excludeHiddenCols && this.hasExtension('colsVisibility')) {\n if (this.extension('colsVisibility').isColHidden(j)) {\n continue;\n }\n }\n let header = this.getHeaderElement(j);\n let headerText = getFirstTextNode(header);\n headers.push(headerText);\n }\n return headers;\n }\n\n /**\n * Return the filter type for a specified column\n * @param {Number} colIndex Column's index\n * @return {String}\n */\n getFilterType(colIndex) {\n let colType = this.cfg['col_' + colIndex];\n return !colType ? INPUT : colType.toLowerCase();\n }\n\n /**\n * Get the total number of filterable rows\n * @return {Number}\n */\n getFilterableRowsNb() {\n return this.getRowsNb(false);\n }\n\n /**\n * Return the total number of valid rows\n * @param {Boolean} [reCalc=false] Forces calculation of filtered rows\n * @returns {Number}\n */\n getValidRowsNb(reCalc = false) {\n return this.getValidRows(reCalc).length;\n }\n\n /**\n * Get the configuration object (literal object)\n * @return {Object}\n */\n config() {\n return this.cfg;\n }\n}\n" + "content": "import {addEvt, cancelEvt, stopEvt, targetEvt, keyCode} from './event';\nimport {\n addClass, createElm, createOpt, elm, getText, getFirstTextNode, hasClass,\n removeClass, removeElm, tag\n} from './dom';\nimport {contains, matchCase, rgxEsc, trim} from './string';\nimport {isEmpty as isEmptyString} from './string';\nimport {isArray, isEmpty, isFn, isNumber, isObj, isString, isUndef}\nfrom './types';\nimport {formatDate, isValidDate} from './date';\nimport {removeNbFormat} from './helpers';\n\nimport {root} from './root';\nimport {Emitter} from './emitter';\nimport {GridLayout} from './modules/gridLayout';\nimport {Loader} from './modules/loader';\nimport {HighlightKeyword} from './modules/highlightKeywords';\nimport {PopupFilter} from './modules/popupFilter';\nimport {Dropdown} from './modules/dropdown';\nimport {CheckList} from './modules/checkList';\nimport {RowsCounter} from './modules/rowsCounter';\nimport {StatusBar} from './modules/statusBar';\nimport {Paging} from './modules/paging';\nimport {ClearButton} from './modules/clearButton';\nimport {Help} from './modules/help';\nimport {AlternateRows} from './modules/alternateRows';\nimport {NoResults} from './modules/noResults';\nimport {State} from './modules/state';\n\nimport {\n INPUT, SELECT, MULTIPLE, CHECKLIST, NONE,\n ENTER_KEY, TAB_KEY, ESC_KEY, UP_ARROW_KEY, DOWN_ARROW_KEY,\n CELL_TAG, AUTO_FILTER_DELAY\n} from './const';\n\nlet doc = root.document;\n\nexport class TableFilter {\n\n /**\n * TableFilter object constructor\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 this.id = null;\n this.version = '{VERSION}';\n this.year = new Date().getFullYear();\n this.tbl = null;\n this.startRow = null;\n this.refRow = null;\n this.headersRow = null;\n this.cfg = {};\n this.nbFilterableRows = 0;\n this.nbCells = null;\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 this.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 = this.startRow === null ? 2 : (this.startRow + 1);\n try { this.nbCells = this.getCellsNb(this.refRow); }\n catch (e) { this.nbCells = this.getCellsNb(0); }\n\n //default script base path\n this.basePath = f.base_path || 'tablefilter/';\n\n /*** filters' grid properties ***/\n //enables/disables filter grid\n this.fltGrid = f.grid === false ? false : true;\n\n //enables/disables grid layout (fixed headers)\n this.gridLayout = Boolean(f.grid_layout);\n\n this.filtersRowIndex = isNaN(f.filters_row_index) ?\n 0 : f.filters_row_index;\n this.headersRow = isNaN(f.headers_row_index) ?\n (this.filtersRowIndex === 0 ? 1 : 0) : f.headers_row_index;\n\n //defines tag of the cells containing filters (td/th)\n this.fltCellTag = isString(f.filters_cell_tag) ?\n f.filters_cell_tag : CELL_TAG;\n\n //stores filters ids\n this.fltIds = [];\n //stores valid rows indexes (rows visible upon filtering)\n this.validRowsIndex = [];\n //container div for paging elements, reset btn etc.\n this.infDiv = null;\n //div for rows counter\n this.lDiv = null;\n //div for reset button and results per page select\n this.rDiv = null;\n //div for paging elements\n this.mDiv = null;\n\n //defines css class for div containing paging elements, rows counter etc\n this.infDivCssClass = f.inf_div_css_class || 'inf';\n //defines css class for left div\n this.lDivCssClass = f.left_div_css_class || 'ldiv';\n //defines css class for right div\n this.rDivCssClass = f.right_div_css_class || 'rdiv';\n //defines css class for mid div\n this.mDivCssClass = f.middle_div_css_class || 'mdiv';\n //table container div css class\n this.contDivCssClass = f.content_div_css_class || 'cont';\n\n /*** filters' grid appearance ***/\n //stylesheet file\n this.stylePath = f.style_path || this.basePath + 'style/';\n this.stylesheet = f.stylesheet || this.stylePath + 'tablefilter.css';\n this.stylesheetId = this.id + '_style';\n //defines css class for filters row\n this.fltsRowCssClass = f.flts_row_css_class || 'fltrow';\n //enables/disables icons (paging, reset button)\n this.enableIcons = f.enable_icons === false ? false : true;\n //enables/disbles rows alternating bg colors\n this.alternateRows = Boolean(f.alternate_rows);\n //defines widths of columns\n this.hasColWidths = isArray(f.col_widths);\n this.colWidths = this.hasColWidths ? f.col_widths : [];\n //defines css class for filters\n this.fltCssClass = f.flt_css_class || 'flt';\n //defines css class for multiple selects filters\n this.fltMultiCssClass = f.flt_multi_css_class || 'flt_multi';\n //defines css class for filters\n this.fltSmallCssClass = f.flt_small_css_class || 'flt_s';\n //defines css class for single-filter\n this.singleFltCssClass = f.single_flt_css_class || 'single_flt';\n\n /*** filters' grid behaviours ***/\n //enables/disables enter key\n this.enterKey = f.enter_key === false ? false : true;\n //calls function before filtering starts\n this.onBeforeFilter = isFn(f.on_before_filter) ?\n f.on_before_filter : null;\n //calls function after filtering\n this.onAfterFilter = isFn(f.on_after_filter) ? f.on_after_filter : null;\n //enables/disables case sensitivity\n this.caseSensitive = Boolean(f.case_sensitive);\n //has exact match per column\n this.hasExactMatchByCol = isArray(f.columns_exact_match);\n this.exactMatchByCol = this.hasExactMatchByCol ?\n f.columns_exact_match : [];\n //enables/disbles exact match for search\n this.exactMatch = Boolean(f.exact_match);\n //refreshes drop-down lists upon validation\n this.linkedFilters = Boolean(f.linked_filters);\n //wheter excluded options are disabled\n this.disableExcludedOptions = Boolean(f.disable_excluded_options);\n //id of active filter\n this.activeFilterId = null;\n //enables always visible rows\n this.hasVisibleRows = Boolean(f.rows_always_visible);\n //array containing always visible rows\n this.visibleRows = this.hasVisibleRows ? f.rows_always_visible : [];\n //enables/disables external filters generation\n this.isExternalFlt = Boolean(f.external_flt_grid);\n //array containing ids of external elements containing filters\n this.externalFltTgtIds = f.external_flt_grid_ids || [];\n //stores filters elements if isExternalFlt is true\n this.externalFltEls = [];\n //calls function when filters grid loaded\n this.onFiltersLoaded = isFn(f.on_filters_loaded) ?\n f.on_filters_loaded : null;\n //enables/disables single filter search\n this.singleSearchFlt = Boolean(f.single_filter);\n //calls function after row is validated\n this.onRowValidated = isFn(f.on_row_validated) ?\n f.on_row_validated : null;\n //array defining columns for customCellData event\n this.customCellDataCols = f.custom_cell_data_cols ?\n f.custom_cell_data_cols : [];\n //calls custom function for retrieving cell data\n this.customCellData = isFn(f.custom_cell_data) ?\n f.custom_cell_data : null;\n //input watermark text array\n this.watermark = f.watermark || '';\n this.isWatermarkArray = isArray(this.watermark);\n //id of toolbar container element\n this.toolBarTgtId = f.toolbar_target_id || null;\n //enables/disables help div\n this.help = isUndef(f.help_instructions) ?\n undefined : Boolean(f.help_instructions);\n //popup filters\n this.popupFilters = Boolean(f.popup_filters);\n //active columns color\n this.markActiveColumns = Boolean(f.mark_active_columns);\n //defines css class for active column header\n this.activeColumnsCssClass = f.active_columns_css_class ||\n 'activeHeader';\n //calls function before active column header is marked\n this.onBeforeActiveColumn = isFn(f.on_before_active_column) ?\n f.on_before_active_column : null;\n //calls function after active column header is marked\n this.onAfterActiveColumn = isFn(f.on_after_active_column) ?\n f.on_after_active_column : null;\n\n /*** select filter's customisation and behaviours ***/\n //defines 1st option text\n this.displayAllText = f.display_all_text || 'Clear';\n //enables/disables empty option in combo-box filters\n this.enableEmptyOption = Boolean(f.enable_empty_option);\n //defines empty option text\n this.emptyText = f.empty_text || '(Empty)';\n //enables/disables non empty option in combo-box filters\n this.enableNonEmptyOption = Boolean(f.enable_non_empty_option);\n //defines empty option text\n this.nonEmptyText = f.non_empty_text || '(Non empty)';\n //enables/disables onChange event on combo-box\n this.onSlcChange = f.on_change === false ? false : true;\n //enables/disables select options sorting\n this.sortSlc = f.sort_select === false ? false : true;\n //enables/disables ascending numeric options sorting\n this.isSortNumAsc = Boolean(f.sort_num_asc);\n this.sortNumAsc = this.isSortNumAsc ? f.sort_num_asc : [];\n //enables/disables descending numeric options sorting\n this.isSortNumDesc = Boolean(f.sort_num_desc);\n this.sortNumDesc = this.isSortNumDesc ? f.sort_num_desc : [];\n //Select filters are populated on demand\n this.loadFltOnDemand = Boolean(f.load_filters_on_demand);\n this.hasCustomOptions = isObj(f.custom_options);\n this.customOptions = f.custom_options;\n\n /*** Filter operators ***/\n this.rgxOperator = f.regexp_operator || 'rgx:';\n this.emOperator = f.empty_operator || '[empty]';\n this.nmOperator = f.nonempty_operator || '[nonempty]';\n this.orOperator = f.or_operator || '||';\n this.anOperator = f.and_operator || '&&';\n this.grOperator = f.greater_operator || '>';\n this.lwOperator = f.lower_operator || '<';\n this.leOperator = f.lower_equal_operator || '<=';\n this.geOperator = f.greater_equal_operator || '>=';\n this.dfOperator = f.different_operator || '!';\n this.lkOperator = f.like_operator || '*';\n this.eqOperator = f.equal_operator || '=';\n this.stOperator = f.start_with_operator || '{';\n this.enOperator = f.end_with_operator || '}';\n this.curExp = f.cur_exp || '^[¥£€$]';\n this.separator = f.separator || ',';\n\n //show/hides rows counter\n this.rowsCounter = Boolean(f.rows_counter);\n\n //show/hides status bar\n this.statusBar = Boolean(f.status_bar);\n\n //enables/disables loader/spinner indicator\n this.loader = Boolean(f.loader);\n\n /*** validation - reset buttons/links ***/\n //show/hides filter's validation button\n this.displayBtn = Boolean(f.btn);\n //defines validation button text\n this.btnText = f.btn_text || (!this.enableIcons ? 'Go' : '');\n //defines css class for validation button\n this.btnCssClass = f.btn_css_class ||\n (!this.enableIcons ? 'btnflt' : 'btnflt_icon');\n //show/hides reset link\n this.btnReset = Boolean(f.btn_reset);\n //defines css class for reset button\n this.btnResetCssClass = f.btn_reset_css_class || 'reset';\n //callback function before filters are cleared\n this.onBeforeReset = isFn(f.on_before_reset) ?\n f.on_before_reset : null;\n //callback function after filters are cleared\n this.onAfterReset = isFn(f.on_after_reset) ? f.on_after_reset : null;\n\n /*** paging ***/\n //enables/disables table paging\n this.paging = Boolean(f.paging);\n this.nbHiddenRows = 0; //nb hidden rows\n\n /*** autofilter on typing ***/\n //Auto filtering, table is filtered when user stops typing\n this.autoFilter = Boolean(f.auto_filter);\n //onkeyup delay timer (msecs)\n this.autoFilterDelay = !isNaN(f.auto_filter_delay) ?\n f.auto_filter_delay : AUTO_FILTER_DELAY;\n //typing indicator\n this.isUserTyping = null;\n this.autoFilterTimer = null;\n\n /*** keyword highlighting ***/\n //enables/disables keyword highlighting\n this.highlightKeywords = Boolean(f.highlight_keywords);\n\n /*** No results feature ***/\n this.noResults = isObj(f.no_results_message) ||\n Boolean(f.no_results_message);\n\n // state persisstence\n this.state = isObj(f.state) || Boolean(f.state);\n\n /*** data types ***/\n //defines default date type (european DMY)\n this.defaultDateType = f.default_date_type || 'DMY';\n //defines default thousands separator US = ',' EU = '.'\n this.thousandsSeparator = f.thousands_separator || ',';\n //defines default decimal separator\n //US & javascript = '.' EU = ','\n this.decimalSeparator = f.decimal_separator || '.';\n //enables number format per column\n this.hasColNbFormat = isArray(f.col_number_format);\n //array containing columns nb formats\n this.colNbFormat = this.hasColNbFormat ? f.col_number_format : null;\n //enables date type per column\n this.hasColDateType = isArray(f.col_date_type);\n //array containing columns date type\n this.colDateType = this.hasColDateType ? f.col_date_type : null;\n\n /*** ids prefixes ***/\n //css class name added to table\n this.prfxTf = 'TF';\n //filters (inputs - selects)\n this.prfxFlt = 'flt';\n //validation button\n this.prfxValButton = 'btn';\n //container div for paging elements, rows counter etc.\n this.prfxInfDiv = 'inf_';\n //left div\n this.prfxLDiv = 'ldiv_';\n //right div\n this.prfxRDiv = 'rdiv_';\n //middle div\n this.prfxMDiv = 'mdiv_';\n //responsive table css class\n this.prfxResponsive = 'resp';\n\n /*** extensions ***/\n //imports external script\n this.extensions = f.extensions;\n this.hasExtensions = isArray(this.extensions);\n\n /*** themes ***/\n this.enableDefaultTheme = Boolean(f.enable_default_theme);\n //imports themes\n this.hasThemes = (this.enableDefaultTheme || isArray(f.themes));\n this.themes = f.themes || [];\n //themes path\n this.themesPath = f.themes_path || this.stylePath + 'themes/';\n\n //responsive table\n this.responsive = Boolean(f.responsive);\n\n // Features registry\n this.Mod = {};\n\n // Extensions registry\n this.ExtRegistry = {};\n }\n\n /**\n * Initialise features and layout\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let Mod = this.Mod;\n let n = this.singleSearchFlt ? 1 : this.nbCells;\n let inpclass;\n\n //loads stylesheet if not imported\n this.import(this.stylesheetId, this.stylesheet, null, 'link');\n\n //loads theme\n if (this.hasThemes) {\n this.loadThemes();\n }\n\n // Instantiate help feature and initialise only if set true\n if (!Mod.help) {\n Mod.help = new Help(this);\n }\n if (this.help) {\n Mod.help.init();\n }\n\n if (this.state) {\n if (!Mod.state) {\n Mod.state = new State(this);\n }\n Mod.state.init();\n }\n\n if (this.gridLayout) {\n if (!Mod.gridLayout) {\n Mod.gridLayout = new GridLayout(this);\n }\n Mod.gridLayout.init();\n }\n\n if (this.loader) {\n if (!Mod.loader) {\n Mod.loader = new Loader(this);\n }\n Mod.loader.init();\n }\n\n if (this.highlightKeywords) {\n Mod.highlightKeyword = new HighlightKeyword(this);\n Mod.highlightKeyword.init();\n }\n\n if (this.popupFilters) {\n if (!Mod.popupFilter) {\n Mod.popupFilter = new PopupFilter(this);\n }\n Mod.popupFilter.init();\n }\n\n //filters grid is not generated\n if (!this.fltGrid) {\n this._initNoFilters();\n } else {\n let fltrow = this._insertFiltersRow();\n\n this.nbFilterableRows = this.getRowsNb();\n\n // Generate filters\n for (let i = 0; i < n; i++) {\n this.emitter.emit('before-filter-init', this, i);\n\n let fltcell = createElm(this.fltCellTag),\n col = this.getFilterType(i);\n\n if (this.singleSearchFlt) {\n fltcell.colSpan = this.nbCells;\n }\n if (!this.gridLayout) {\n fltrow.appendChild(fltcell);\n }\n inpclass = (i === n - 1 && this.displayBtn) ?\n this.fltSmallCssClass : this.fltCssClass;\n\n //only 1 input for single search\n if (this.singleSearchFlt) {\n col = INPUT;\n inpclass = this.singleFltCssClass;\n }\n\n //drop-down filters\n if (col === SELECT || col === MULTIPLE) {\n if (!Mod.dropdown) {\n Mod.dropdown = new Dropdown(this);\n }\n Mod.dropdown.init(i, this.isExternalFlt, fltcell);\n }\n // checklist\n else if (col === CHECKLIST) {\n if (!Mod.checkList) {\n Mod.checkList = new CheckList(this);\n }\n Mod.checkList.init(i, this.isExternalFlt, fltcell);\n } else {\n this._buildInputFilter(i, inpclass, fltcell);\n }\n\n // this adds submit button\n if (i === n - 1 && this.displayBtn) {\n this._buildSubmitButton(i, fltcell);\n }\n\n this.emitter.emit('after-filter-init', this, i);\n }\n\n this.emitter.on(['filter-focus'],\n (tf, filter) => this.setActiveFilterId(filter.id));\n\n }//if this.fltGrid\n\n /* Features */\n if (this.hasVisibleRows) {\n this.emitter.on(['after-filtering'],\n () => this.enforceVisibility());\n this.enforceVisibility();\n }\n if (this.rowsCounter) {\n Mod.rowsCounter = new RowsCounter(this);\n Mod.rowsCounter.init();\n }\n if (this.statusBar) {\n Mod.statusBar = new StatusBar(this);\n Mod.statusBar.init();\n }\n if (this.paging) {\n if (!Mod.paging) {\n Mod.paging = new Paging(this);\n Mod.paging.init();\n } else {\n Mod.paging.reset();\n }\n }\n if (this.btnReset) {\n Mod.clearButton = new ClearButton(this);\n Mod.clearButton.init();\n }\n\n if (this.hasColWidths && !this.gridLayout) {\n this.setColWidths();\n }\n if (this.alternateRows) {\n Mod.alternateRows = new AlternateRows(this);\n Mod.alternateRows.init();\n }\n if (this.noResults) {\n if (!Mod.noResults) {\n Mod.noResults = new NoResults(this);\n }\n Mod.noResults.init();\n }\n\n //TF css class is added to table\n if (!this.gridLayout) {\n addClass(this.tbl, this.prfxTf);\n if (this.responsive) {\n addClass(this.tbl, this.prfxResponsive);\n }\n }\n\n /* Loads extensions */\n if (this.hasExtensions) {\n this.initExtensions();\n }\n\n // Subscribe to events\n if (this.markActiveColumns) {\n this.emitter.on(['before-filtering'],\n () => this.clearActiveColumns());\n this.emitter.on(['cell-processed'],\n (tf, colIndex) => this.markActiveColumn(colIndex));\n }\n if (this.linkedFilters) {\n this.emitter.on(['after-filtering'], () => this.linkFilters());\n }\n\n this.initialized = true;\n\n if (this.onFiltersLoaded) {\n this.onFiltersLoaded.call(null, this);\n }\n this.emitter.emit('initialized', this);\n }\n\n /**\n * Detect key\n * @param {Event} evt\n */\n detectKey(evt) {\n if (!this.enterKey) {\n return;\n }\n if (evt) {\n let key = keyCode(evt);\n if (key === ENTER_KEY) {\n this.filter();\n cancelEvt(evt);\n stopEvt(evt);\n } else {\n this.isUserTyping = true;\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n }\n }\n }\n\n /**\n * Filter's keyup event: if auto-filter on, detect user is typing and filter\n * columns\n * @param {Event} evt\n */\n onKeyUp(evt) {\n if (!this.autoFilter) {\n return;\n }\n let key = keyCode(evt);\n this.isUserTyping = false;\n\n function filter() {\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n if (!this.isUserTyping) {\n this.filter();\n this.isUserTyping = null;\n }\n }\n\n if (key !== ENTER_KEY && key !== TAB_KEY && key !== ESC_KEY &&\n key !== UP_ARROW_KEY && key !== DOWN_ARROW_KEY) {\n if (this.autoFilterTimer === null) {\n this.autoFilterTimer = root.setInterval(filter.bind(this),\n this.autoFilterDelay);\n }\n } else {\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n }\n }\n\n /**\n * Filter's keydown event: if auto-filter on, detect user is typing\n */\n onKeyDown() {\n if (this.autoFilter) {\n this.isUserTyping = true;\n }\n }\n\n /**\n * Filter's focus event\n * @param {Event} evt\n */\n onInpFocus(evt) {\n let elm = targetEvt(evt);\n this.emitter.emit('filter-focus', this, elm);\n }\n\n /**\n * Filter's blur event: if auto-filter on, clear interval on filter blur\n */\n onInpBlur() {\n if (this.autoFilter) {\n this.isUserTyping = false;\n root.clearInterval(this.autoFilterTimer);\n }\n this.emitter.emit('filter-blur', this);\n }\n\n /**\n * Insert filters row at initialization\n */\n _insertFiltersRow() {\n if (this.gridLayout) {\n return;\n }\n let fltrow;\n\n let thead = tag(this.tbl, 'thead');\n if (thead.length > 0) {\n fltrow = thead[0].insertRow(this.filtersRowIndex);\n } else {\n fltrow = this.tbl.insertRow(this.filtersRowIndex);\n }\n\n fltrow.className = this.fltsRowCssClass;\n\n if (this.isExternalFlt) {\n fltrow.style.display = NONE;\n }\n\n this.emitter.emit('filters-row-inserted', this, fltrow);\n return fltrow;\n }\n\n /**\n * Initialize filtersless table\n */\n _initNoFilters() {\n if (this.fltGrid) {\n return;\n }\n this.refRow = this.refRow > 0 ? this.refRow - 1 : 0;\n this.nbFilterableRows = this.getRowsNb();\n }\n\n /**\n * Build input filter type\n * @param {Number} colIndex Column index\n * @param {String} cssClass Css class applied to filter\n * @param {DOMElement} container Container DOM element\n */\n _buildInputFilter(colIndex, cssClass, container) {\n let col = this.getFilterType(colIndex);\n let externalFltTgtId = this.isExternalFlt ?\n this.externalFltTgtIds[colIndex] : null;\n let inptype = col === INPUT ? 'text' : 'hidden';\n let inp = createElm(INPUT,\n ['id', this.prfxFlt + colIndex + '_' + this.id],\n ['type', inptype], ['ct', colIndex]);\n\n if (inptype !== 'hidden' && this.watermark) {\n inp.setAttribute('placeholder',\n this.isWatermarkArray ? (this.watermark[colIndex] || '') :\n this.watermark\n );\n }\n inp.className = cssClass || this.fltCssClass;\n addEvt(inp, 'focus', (evt) => this.onInpFocus(evt));\n\n //filter is appended in custom element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(inp);\n this.externalFltEls.push(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 //Some elements need to be overriden for default theme\n //Reset button\n this.btnResetText = null;\n this.btnResetHtml = '';\n\n //Paging buttons\n this.btnPrevPageHtml = '';\n this.btnNextPageHtml = '';\n this.btnFirstPageHtml = '';\n this.btnLastPageHtml = '';\n\n //Loader\n this.loader = true;\n this.loaderHtml = '
';\n this.loaderText = null;\n\n this.emitter.emit('after-loading-themes', this);\n }\n\n /**\n * Return stylesheet DOM element for a given theme name\n * @return {DOMElement} stylesheet element\n */\n getStylesheet(name = 'default') {\n return elm(this.prfxTf + name);\n }\n\n /**\n * Destroy filter grid\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n let Mod = this.Mod;\n let emitter = this.emitter;\n\n if (this.isExternalFlt && !this.popupFilters) {\n this.removeExternalFlts();\n }\n if (this.infDiv) {\n this.removeToolbar();\n }\n if (this.markActiveColumns) {\n this.clearActiveColumns();\n emitter.off(['before-filtering'], () => this.clearActiveColumns());\n emitter.off(['cell-processed'],\n (tf, colIndex) => this.markActiveColumn(colIndex));\n }\n if (this.hasExtensions) {\n this.destroyExtensions();\n }\n\n this.validateAllRows();\n\n if (this.fltGrid && !this.gridLayout) {\n this.tbl.deleteRow(this.filtersRowIndex);\n }\n\n // broadcast destroy event\n emitter.emit('destroy', this);\n\n // Destroy modules\n // TODO: subcribe modules to destroy event instead\n Object.keys(Mod).forEach(function (key) {\n let feature = Mod[key];\n if (feature && isFn(feature.destroy)) {\n feature.destroy();\n }\n });\n\n // unsubscribe to events\n if (this.hasVisibleRows) {\n emitter.off(['after-filtering'], () => this.enforceVisibility());\n }\n if (this.linkedFilters) {\n emitter.off(['after-filtering'], () => this.linkFilters());\n }\n this.emitter.off(['filter-focus'],\n (tf, filter) => this.setActiveFilterId(filter.id));\n\n removeClass(this.tbl, this.prfxTf);\n removeClass(this.tbl, this.prfxResponsive);\n\n this.nbHiddenRows = 0;\n this.validRowsIndex = [];\n this.fltIds = [];\n this.initialized = false;\n }\n\n /**\n * Generate container element for paging, reset button, rows counter etc.\n */\n setToolbar() {\n if (this.infDiv) {\n return;\n }\n\n /*** container div ***/\n let infdiv = createElm('div', ['id', this.prfxInfDiv + this.id]);\n infdiv.className = this.infDivCssClass;\n\n //custom container\n if (this.toolBarTgtId) {\n elm(this.toolBarTgtId).appendChild(infdiv);\n }\n //grid-layout\n else if (this.gridLayout) {\n let gridLayout = this.Mod.gridLayout;\n gridLayout.tblMainCont.appendChild(infdiv);\n infdiv.className = gridLayout.infDivCssClass;\n }\n //default location: just above the table\n else {\n let cont = createElm('caption');\n cont.appendChild(infdiv);\n this.tbl.insertBefore(cont, this.tbl.firstChild);\n }\n this.infDiv = elm(this.prfxInfDiv + this.id);\n\n /*** left div containing rows # displayer ***/\n let ldiv = createElm('div', ['id', this.prfxLDiv + this.id]);\n ldiv.className = this.lDivCssClass;\n infdiv.appendChild(ldiv);\n this.lDiv = elm(this.prfxLDiv + this.id);\n\n /*** right div containing reset button\n + nb results per page select ***/\n let rdiv = createElm('div', ['id', this.prfxRDiv + this.id]);\n rdiv.className = this.rDivCssClass;\n infdiv.appendChild(rdiv);\n this.rDiv = elm(this.prfxRDiv + this.id);\n\n /*** mid div containing paging elements ***/\n let mdiv = createElm('div', ['id', this.prfxMDiv + this.id]);\n mdiv.className = this.mDivCssClass;\n infdiv.appendChild(mdiv);\n this.mDiv = elm(this.prfxMDiv + this.id);\n\n // emit help initialisation only if undefined\n if (isUndef(this.help)) {\n // explicitily set enabled field to true to initialise help by\n // default, only if setting is undefined\n this.Mod.help.enabled = true;\n this.emitter.emit('init-help', this);\n }\n }\n\n /**\n * Remove toolbar container element\n */\n removeToolbar() {\n if (!this.infDiv) {\n return;\n }\n removeElm(this.infDiv);\n this.infDiv = null;\n\n let tbl = this.tbl;\n let captions = tag(tbl, 'caption');\n if (captions.length > 0) {\n [].forEach.call(captions, (elm) => tbl.removeChild(elm));\n }\n }\n\n /**\n * Remove all the external column filters\n */\n removeExternalFlts() {\n if (!this.isExternalFlt) {\n return;\n }\n let ids = this.externalFltTgtIds,\n len = ids.length;\n for (let ct = 0; ct < len; ct++) {\n let externalFltTgtId = ids[ct],\n externalFlt = elm(externalFltTgtId);\n if (externalFlt) {\n externalFlt.innerHTML = '';\n }\n }\n }\n\n /**\n * Check if given column implements a filter with custom options\n * @param {Number} colIndex Column's index\n * @return {Boolean}\n */\n isCustomOptions(colIndex) {\n return this.hasCustomOptions &&\n this.customOptions.cols.indexOf(colIndex) !== -1;\n }\n\n /**\n * Returns an array [[value0, value1 ...],[text0, text1 ...]] with the\n * custom options values and texts\n * @param {Number} colIndex Column's index\n * @return {Array}\n */\n getCustomOptions(colIndex) {\n if (isEmpty(colIndex) || !this.isCustomOptions(colIndex)) {\n return;\n }\n\n let customOptions = this.customOptions;\n let cols = customOptions.cols;\n let optTxt = [], optArray = [];\n let index = cols.indexOf(colIndex);\n let slcValues = customOptions.values[index];\n let slcTexts = customOptions.texts[index];\n let slcSort = customOptions.sorts[index];\n\n for (let r = 0, len = slcValues.length; r < len; r++) {\n optArray.push(slcValues[r]);\n if (slcTexts[r]) {\n optTxt.push(slcTexts[r]);\n } else {\n optTxt.push(slcValues[r]);\n }\n }\n if (slcSort) {\n optArray.sort();\n optTxt.sort();\n }\n return [optArray, optTxt];\n }\n\n /**\n * Filter the table by retrieving the data from each cell in every single\n * row and comparing it to the search term for current column. A row is\n * hidden when all the search terms are not found in inspected row.\n */\n filter() {\n if (!this.fltGrid || !this.initialized) {\n return;\n }\n //invoke onbefore callback\n if (this.onBeforeFilter) {\n this.onBeforeFilter.call(null, this);\n }\n this.emitter.emit('before-filtering', this);\n\n let row = this.tbl.rows,\n nbRows = this.getRowsNb(true),\n hiddenRows = 0;\n\n this.validRowsIndex = [];\n // search args re-init\n let searchArgs = this.getFiltersValue();\n\n let numCellData;\n let nbFormat;\n let re_le = new RegExp(this.leOperator),\n re_ge = new RegExp(this.geOperator),\n re_l = new RegExp(this.lwOperator),\n re_g = new RegExp(this.grOperator),\n re_d = new RegExp(this.dfOperator),\n re_lk = new RegExp(rgxEsc(this.lkOperator)),\n re_eq = new RegExp(this.eqOperator),\n re_st = new RegExp(this.stOperator),\n re_en = new RegExp(this.enOperator),\n // re_an = new RegExp(this.anOperator),\n // re_cr = new RegExp(this.curExp),\n re_em = this.emOperator,\n re_nm = this.nmOperator,\n re_re = new RegExp(rgxEsc(this.rgxOperator));\n\n //keyword highlighting\n function highlight(str, ok, cell) {\n /*jshint validthis:true */\n if (this.highlightKeywords && ok) {\n str = str.replace(re_lk, '');\n str = str.replace(re_eq, '');\n str = str.replace(re_st, '');\n str = str.replace(re_en, '');\n let w = str;\n if (re_le.test(str) || re_ge.test(str) || re_l.test(str) ||\n re_g.test(str) || re_d.test(str)) {\n w = getText(cell);\n }\n if (w !== '') {\n this.emitter.emit('highlight-keyword', this, cell, w);\n }\n }\n }\n\n //looks for search argument in current row\n function hasArg(sA, cellData, j) {\n sA = matchCase(sA, this.caseSensitive);\n\n let occurence;\n let dtType = this.hasColDateType ?\n this.colDateType[j] : this.defaultDateType;\n\n //Search arg operator tests\n let hasLO = re_l.test(sA),\n hasLE = re_le.test(sA),\n hasGR = re_g.test(sA),\n hasGE = re_ge.test(sA),\n hasDF = re_d.test(sA),\n hasEQ = re_eq.test(sA),\n hasLK = re_lk.test(sA),\n // hasAN = re_an.test(sA),\n hasST = re_st.test(sA),\n hasEN = re_en.test(sA),\n hasEM = (re_em === sA),\n hasNM = (re_nm === sA),\n hasRE = re_re.test(sA);\n\n //Search arg dates tests\n let isLDate = hasLO && isValidDate(sA.replace(re_l, ''), dtType);\n let isLEDate = hasLE && isValidDate(sA.replace(re_le, ''), dtType);\n let isGDate = hasGR && isValidDate(sA.replace(re_g, ''), dtType);\n let isGEDate = hasGE && isValidDate(sA.replace(re_ge, ''), dtType);\n let isDFDate = hasDF && isValidDate(sA.replace(re_d, ''), dtType);\n let isEQDate = hasEQ && isValidDate(sA.replace(re_eq, ''), dtType);\n\n let dte1, dte2;\n //dates\n if (isValidDate(cellData, dtType)) {\n dte1 = formatDate(cellData, dtType);\n // lower date\n if (isLDate) {\n dte2 = formatDate(sA.replace(re_l, ''), dtType);\n occurence = dte1 < dte2;\n }\n // lower equal date\n else if (isLEDate) {\n dte2 = formatDate(sA.replace(re_le, ''), dtType);\n occurence = dte1 <= dte2;\n }\n // greater equal date\n else if (isGEDate) {\n dte2 = formatDate(sA.replace(re_ge, ''), dtType);\n occurence = dte1 >= dte2;\n }\n // greater date\n else if (isGDate) {\n dte2 = formatDate(sA.replace(re_g, ''), dtType);\n occurence = dte1 > dte2;\n }\n // different date\n else if (isDFDate) {\n dte2 = formatDate(sA.replace(re_d, ''), dtType);\n occurence = dte1.toString() !== dte2.toString();\n }\n // equal date\n else if (isEQDate) {\n dte2 = formatDate(sA.replace(re_eq, ''), dtType);\n occurence = dte1.toString() === dte2.toString();\n }\n // searched keyword with * operator doesn't have to be a date\n else if (re_lk.test(sA)) {// like date\n occurence = contains(sA.replace(re_lk, ''), cellData,\n false, this.caseSensitive);\n }\n else if (isValidDate(sA, dtType)) {\n dte2 = formatDate(sA, dtType);\n occurence = dte1.toString() === dte2.toString();\n }\n //empty\n else if (hasEM) {\n occurence = isEmptyString(cellData);\n }\n //non-empty\n else if (hasNM) {\n occurence = !isEmptyString(cellData);\n } else {\n occurence = contains(sA, cellData, this.isExactMatch(j),\n this.caseSensitive);\n }\n }\n\n else {\n //first numbers need to be formated\n if (this.hasColNbFormat && this.colNbFormat[j]) {\n numCellData = removeNbFormat(cellData, this.colNbFormat[j]);\n nbFormat = this.colNbFormat[j];\n } else {\n if (this.thousandsSeparator === ',' &&\n this.decimalSeparator === '.') {\n numCellData = removeNbFormat(cellData, 'us');\n nbFormat = 'us';\n } else {\n numCellData = removeNbFormat(cellData, 'eu');\n nbFormat = 'eu';\n }\n }\n\n // first checks if there is any operator (<,>,<=,>=,!,*,=,{,},\n // rgx:)\n // lower equal\n if (hasLE) {\n occurence = numCellData <= removeNbFormat(\n sA.replace(re_le, ''), nbFormat);\n }\n //greater equal\n else if (hasGE) {\n occurence = numCellData >= removeNbFormat(\n sA.replace(re_ge, ''), nbFormat);\n }\n //lower\n else if (hasLO) {\n occurence = numCellData < removeNbFormat(\n sA.replace(re_l, ''), nbFormat);\n }\n //greater\n else if (hasGR) {\n occurence = numCellData > removeNbFormat(\n sA.replace(re_g, ''), nbFormat);\n }\n //different\n else if (hasDF) {\n occurence = contains(sA.replace(re_d, ''), cellData,\n false, this.caseSensitive) ? false : true;\n }\n //like\n else if (hasLK) {\n occurence = contains(sA.replace(re_lk, ''), cellData,\n false, this.caseSensitive);\n }\n //equal\n else if (hasEQ) {\n occurence = contains(sA.replace(re_eq, ''), cellData,\n true, this.caseSensitive);\n }\n //starts with\n else if (hasST) {\n occurence = cellData.indexOf(sA.replace(re_st, '')) === 0 ?\n true : false;\n }\n //ends with\n else if (hasEN) {\n let searchArg = sA.replace(re_en, '');\n occurence =\n cellData.lastIndexOf(searchArg, cellData.length - 1) ===\n (cellData.length - 1) - (searchArg.length - 1) &&\n cellData.lastIndexOf(searchArg, cellData.length - 1)\n > -1 ? true : false;\n }\n //empty\n else if (hasEM) {\n occurence = isEmptyString(cellData);\n }\n //non-empty\n else if (hasNM) {\n occurence = !isEmptyString(cellData);\n }\n //regexp\n else if (hasRE) {\n //in case regexp fires an exception\n try {\n //operator is removed\n let srchArg = sA.replace(re_re, '');\n let rgx = new RegExp(srchArg);\n occurence = rgx.test(cellData);\n } catch (ex) {\n occurence = false;\n }\n } else {\n // If numeric type data, perform a strict equality test and\n // fallback to unformatted number string comparison\n if (numCellData && this.hasColNbFormat &&\n this.colNbFormat[j] && !this.singleSearchFlt) {\n sA = removeNbFormat(sA, nbFormat);\n occurence = numCellData === sA ||\n contains(sA.toString(), numCellData.toString(),\n this.isExactMatch(j), this.caseSensitive);\n } else {\n // Finally test search term is contained in cell data\n occurence = contains(sA, cellData, this.isExactMatch(j),\n this.caseSensitive);\n }\n }\n\n }//else\n return occurence;\n }//fn\n\n for (let k = this.refRow; k < nbRows; k++) {\n // already filtered rows display re-init\n row[k].style.display = '';\n\n let cells = row[k].cells;\n let nchilds = cells.length;\n\n // checks if row has exact cell #\n if (nchilds !== this.nbCells) {\n continue;\n }\n\n let occurence = [],\n isRowValid = true,\n //only for single filter search\n singleFltRowValid = false;\n\n // this loop retrieves cell data\n for (let j = 0; j < nchilds; j++) {\n //searched keyword\n let sA = searchArgs[this.singleSearchFlt ? 0 : j];\n\n if (sA === '') {\n continue;\n }\n\n let cellData = matchCase(this.getCellData(cells[j]),\n this.caseSensitive);\n\n //multiple search parameter operator ||\n let sAOrSplit = sA.toString().split(this.orOperator),\n //multiple search || parameter boolean\n hasMultiOrSA = sAOrSplit.length > 1,\n //multiple search parameter operator &&\n sAAndSplit = sA.toString().split(this.anOperator),\n //multiple search && parameter boolean\n hasMultiAndSA = sAAndSplit.length > 1;\n\n //detect operators or array query\n if (isArray(sA) || hasMultiOrSA || hasMultiAndSA) {\n let cS,\n s,\n occur = false;\n if (isArray(sA)) {\n s = sA;\n } else {\n s = hasMultiOrSA ? sAOrSplit : sAAndSplit;\n }\n // TODO: improve clarity/readability of this block\n for (let w = 0, len = s.length; w < len; w++) {\n cS = trim(s[w]);\n occur = hasArg.call(this, cS, cellData, j);\n highlight.call(this, cS, occur, cells[j]);\n if ((hasMultiOrSA && occur) ||\n (hasMultiAndSA && !occur)) {\n break;\n }\n if (isArray(sA) && occur) {\n break;\n }\n }\n occurence[j] = occur;\n\n }\n //single search parameter\n else {\n occurence[j] = hasArg.call(this, trim(sA), cellData, j);\n highlight.call(this, sA, occurence[j], cells[j]);\n }//else single param\n\n if (!occurence[j]) {\n isRowValid = false;\n }\n if (this.singleSearchFlt && occurence[j]) {\n singleFltRowValid = true;\n }\n\n this.emitter.emit('cell-processed', this, j, cells[j]);\n }//for j\n\n if (this.singleSearchFlt && singleFltRowValid) {\n isRowValid = true;\n }\n\n if (!isRowValid) {\n this.validateRow(k, false);\n hiddenRows++;\n } else {\n this.validateRow(k, true);\n }\n\n this.emitter.emit('row-processed', this, k,\n this.validRowsIndex.length, isRowValid);\n }// for k\n\n this.nbHiddenRows = hiddenRows;\n\n //invokes onafterfilter callback\n if (this.onAfterFilter) {\n this.onAfterFilter.call(null, this);\n }\n\n this.emitter.emit('after-filtering', this, searchArgs);\n }\n\n /**\n * Return the data of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} includeHeaders Optional: include headers row\n * @param {Boolean} num Optional: return unformatted number\n * @param {Array} exclude Optional: list of row indexes to be excluded\n * @return {Array} Flat list of data for a column\n */\n getColValues(colIndex, includeHeaders = false, num = false, exclude = []) {\n if (!this.fltGrid) {\n return;\n }\n let row = this.tbl.rows;\n let nbRows = this.getRowsNb(true);\n let colValues = [];\n\n if (includeHeaders) {\n colValues.push(this.getHeadersText()[colIndex]);\n }\n\n for (let i = this.refRow; i < nbRows; i++) {\n let isExludedRow = false;\n // checks if current row index appears in exclude array\n if (exclude.length > 0) {\n isExludedRow = exclude.indexOf(i) !== -1;\n }\n let cell = row[i].cells,\n nchilds = cell.length;\n\n // checks if row has exact cell # and is not excluded\n if (nchilds === this.nbCells && !isExludedRow) {\n // this loop retrieves cell data\n for (let j = 0; j < nchilds; j++) {\n if (j !== colIndex || row[i].style.display !== '') {\n continue;\n }\n let cellData = this.getCellData(cell[j]),\n nbFormat = this.colNbFormat ?\n this.colNbFormat[colIndex] : undefined,\n data = num ? removeNbFormat(cellData, nbFormat) :\n cellData;\n colValues.push(data);\n }\n }\n }\n return colValues;\n }\n\n /**\n * Return the filter's value of a specified column\n * @param {Number} index Column index\n * @return {String} Filter value\n */\n getFilterValue(index) {\n if (!this.fltGrid) {\n return;\n }\n let fltValue = '';\n let flt = this.getFilterElement(index);\n if (!flt) {\n return fltValue;\n }\n\n let fltColType = this.getFilterType(index);\n if (fltColType !== MULTIPLE && fltColType !== CHECKLIST) {\n fltValue = flt.value;\n }\n //mutiple select\n else if (fltColType === MULTIPLE) {\n fltValue = this.feature('dropdown').getValues(index);\n }\n //checklist\n else if (fltColType === CHECKLIST) {\n fltValue = this.feature('checkList').getValues(index);\n }\n //return an empty string if collection is empty or contains a single\n //empty string\n if (isArray(fltValue) && fltValue.length === 0 ||\n (fltValue.length === 1 && fltValue[0] === '')) {\n fltValue = '';\n }\n\n return fltValue;\n }\n\n /**\n * Return the filters' values\n * @return {Array} List of filters' values\n */\n getFiltersValue() {\n if (!this.fltGrid) {\n return;\n }\n let searchArgs = [];\n for (let i = 0, len = this.fltIds.length; i < len; i++) {\n let fltValue = this.getFilterValue(i);\n if (isArray(fltValue)) {\n searchArgs.push(fltValue);\n } else {\n searchArgs.push(trim(fltValue));\n }\n }\n return searchArgs;\n }\n\n /**\n * Return the ID of a specified column's filter\n * @param {Number} index Column's index\n * @return {String} ID of the filter element\n */\n getFilterId(index) {\n if (!this.fltGrid) {\n return;\n }\n return this.fltIds[index];\n }\n\n /**\n * Return the list of ids of filters matching a specified type.\n * Note: hidden filters are also returned\n *\n * @param {String} type Filter type string ('input', 'select', 'multiple',\n * 'checklist')\n * @param {Boolean} bool If true returns columns indexes instead of IDs\n * @return {[type]} List of element IDs or column indexes\n */\n getFiltersByType(type, bool) {\n if (!this.fltGrid) {\n return;\n }\n let arr = [];\n for (let i = 0, len = this.fltIds.length; i < len; i++) {\n let fltType = this.getFilterType(i);\n if (fltType === type.toLowerCase()) {\n let a = bool ? i : this.fltIds[i];\n arr.push(a);\n }\n }\n return arr;\n }\n\n /**\n * Return the filter's DOM element for a given column\n * @param {Number} index Column's index\n * @return {DOMElement}\n */\n getFilterElement(index) {\n let fltId = this.fltIds[index];\n return elm(fltId);\n }\n\n /**\n * Return the number of cells for a given row index\n * @param {Number} rowIndex Index of the row\n * @return {Number} Number of cells\n */\n getCellsNb(rowIndex = 0) {\n let tr = this.tbl.rows[rowIndex];\n return tr.cells.length;\n }\n\n /**\n * Return the number of filterable rows starting from reference row if\n * defined\n * @param {Boolean} includeHeaders Include the headers row\n * @return {Number} Number of filterable rows\n */\n getRowsNb(includeHeaders) {\n let s = isUndef(this.refRow) ? 0 : this.refRow;\n let ntrs = this.tbl.rows.length;\n if (includeHeaders) {\n s = 0;\n }\n return parseInt(ntrs - s, 10);\n }\n\n /**\n * Return the data of a given cell\n * @param {DOMElement} cell Cell's DOM object\n * @return {String}\n */\n getCellData(cell) {\n let idx = cell.cellIndex;\n //Check for customCellData callback\n if (this.customCellData &&\n this.customCellDataCols.indexOf(idx) !== -1) {\n return this.customCellData.call(null, this, cell, idx);\n } else {\n return getText(cell);\n }\n }\n\n /**\n * Return the table data with following format:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} includeHeaders Optional: include headers row\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n */\n getTableData(includeHeaders = false, excludeHiddenCols = false) {\n let rows = this.tbl.rows;\n let nbRows = this.getRowsNb(true);\n let tblData = [];\n if (includeHeaders) {\n let headers = this.getHeadersText(excludeHiddenCols);\n tblData.push([this.getHeadersRowIndex(), headers]);\n }\n for (let k = this.refRow; k < nbRows; k++) {\n let rowData = [k, []];\n let cells = rows[k].cells;\n for (let j = 0, len = cells.length; j < len; j++) {\n if (excludeHiddenCols && this.hasExtension('colsVisibility')) {\n if (this.extension('colsVisibility').isColHidden(j)) {\n continue;\n }\n }\n let cellData = this.getCellData(cells[j]);\n rowData[1].push(cellData);\n }\n tblData.push(rowData);\n }\n return tblData;\n }\n\n /**\n * Return the filtered data with following format:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} includeHeaders Optional: include headers row\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n */\n getFilteredData(includeHeaders = false, excludeHiddenCols = false) {\n if (!this.validRowsIndex) {\n return [];\n }\n let rows = this.tbl.rows,\n filteredData = [];\n if (includeHeaders) {\n let headers = this.getHeadersText(excludeHiddenCols);\n filteredData.push([this.getHeadersRowIndex(), headers]);\n }\n\n let validRows = this.getValidRows(true);\n for (let i = 0; i < validRows.length; i++) {\n let rData = [this.validRowsIndex[i], []],\n cells = rows[this.validRowsIndex[i]].cells;\n for (let k = 0; k < cells.length; k++) {\n if (excludeHiddenCols && this.hasExtension('colsVisibility')) {\n if (this.extension('colsVisibility').isColHidden(k)) {\n continue;\n }\n }\n let cellData = this.getCellData(cells[k]);\n rData[1].push(cellData);\n }\n filteredData.push(rData);\n }\n return filteredData;\n }\n\n /**\n * Return the filtered data for a given column index\n * @param {Number} colIndex Colmun's index\n * @param {Boolean} includeHeaders Optional: include headers row\n * @return {Array} Flat list of values ['val0','val1','val2'...]\n *\n * TODO: provide an API returning data in JSON format\n */\n getFilteredDataCol(colIndex, includeHeaders = false) {\n if (isUndef(colIndex)) {\n return [];\n }\n let data = this.getFilteredData(),\n colData = [];\n if (includeHeaders) {\n colData.push(this.getHeadersText()[colIndex]);\n }\n for (let i = 0, len = data.length; i < len; i++) {\n let r = data[i],\n //cols values of current row\n d = r[1],\n //data of searched column\n c = d[colIndex];\n colData.push(c);\n }\n return colData;\n }\n\n /**\n * Get the display value of a row\n * @param {HTMLTableRowElement} row DOM element of the row\n * @return {String} Usually 'none' or ''\n */\n getRowDisplay(row) {\n return row.style.display;\n }\n\n /**\n * Validate/invalidate row by setting the 'validRow' attribute on the row\n * @param {Number} rowIndex Index of the row\n * @param {Boolean} isValid\n */\n validateRow(rowIndex, isValid) {\n let row = this.tbl.rows[rowIndex];\n if (!row || typeof isValid !== 'boolean') {\n return;\n }\n\n // always visible rows are valid\n if (this.hasVisibleRows && this.visibleRows.indexOf(rowIndex) !== -1) {\n isValid = true;\n }\n\n let displayFlag = isValid ? '' : NONE,\n validFlag = isValid ? 'true' : 'false';\n row.style.display = displayFlag;\n\n if (this.paging) {\n row.setAttribute('validRow', validFlag);\n }\n\n if (isValid) {\n if (this.validRowsIndex.indexOf(rowIndex) === -1) {\n this.validRowsIndex.push(rowIndex);\n }\n\n if (this.onRowValidated) {\n this.onRowValidated.call(null, this, rowIndex);\n }\n\n this.emitter.emit('row-validated', this, rowIndex);\n }\n }\n\n /**\n * Validate all filterable rows\n */\n validateAllRows() {\n if (!this.initialized) {\n return;\n }\n this.validRowsIndex = [];\n for (let k = this.refRow; k < this.nbFilterableRows; k++) {\n this.validateRow(k, true);\n }\n }\n\n /**\n * Set search value to a given filter\n * @param {Number} index Column's index\n * @param {String or Array} query searcharg Search term\n */\n setFilterValue(index, query = '') {\n if (!this.fltGrid) {\n return;\n }\n let slc = this.getFilterElement(index),\n fltColType = this.getFilterType(index);\n\n if (fltColType !== MULTIPLE && fltColType !== CHECKLIST) {\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-select-filter', this, index,\n this.linkedFilters, this.isExternalFlt);\n }\n slc.value = query;\n }\n //multiple selects\n else if (fltColType === MULTIPLE) {\n let values = isArray(query) ? query :\n query.split(' ' + this.orOperator + ' ');\n\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-select-filter', this, index,\n this.linkedFilters, this.isExternalFlt);\n }\n\n this.emitter.emit('select-options', this, index, values);\n }\n //checklist\n else if (fltColType === CHECKLIST) {\n let values = [];\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-checklist-filter', this, index,\n this.isExternalFlt);\n }\n if (isArray(query)) {\n values = query;\n } else {\n query = matchCase(query, this.caseSensitive);\n values = query.split(' ' + this.orOperator + ' ');\n }\n\n this.emitter.emit('select-checklist-options', this, index, values);\n }\n }\n\n /**\n * Set them columns' widths as per configuration\n * @param {Element} tbl DOM element\n */\n setColWidths(tbl) {\n if (!this.hasColWidths) {\n return;\n }\n tbl = tbl || this.tbl;\n\n let nbCols = this.nbCells;\n let colWidths = this.colWidths;\n let colTags = tag(tbl, 'col');\n let tblHasColTag = colTags.length > 0;\n let frag = !tblHasColTag ? doc.createDocumentFragment() : null;\n for (let k = 0; k < nbCols; k++) {\n let col;\n if (tblHasColTag) {\n col = colTags[k];\n } else {\n col = createElm('col', ['id', this.id + '_col_' + k]);\n frag.appendChild(col);\n }\n col.style.width = colWidths[k];\n }\n if (!tblHasColTag) {\n tbl.insertBefore(frag, tbl.firstChild);\n }\n }\n\n /**\n * Makes defined rows always visible\n */\n enforceVisibility() {\n if (!this.hasVisibleRows) {\n return;\n }\n let nbRows = this.getRowsNb(true);\n for (let i = 0, len = this.visibleRows.length; i < len; i++) {\n let row = this.visibleRows[i];\n //row index cannot be > nrows\n if (row <= nbRows) {\n this.validateRow(row, true);\n }\n }\n }\n\n /**\n * Clear all the filters' values\n */\n clearFilters() {\n if (!this.fltGrid) {\n return;\n }\n\n this.emitter.emit('before-clearing-filters', this);\n\n if (this.onBeforeReset) {\n this.onBeforeReset.call(null, this, this.getFiltersValue());\n }\n for (let i = 0, len = this.fltIds.length; i < len; i++) {\n this.setFilterValue(i, '');\n }\n\n this.filter();\n\n if (this.onAfterReset) {\n this.onAfterReset.call(null, this);\n }\n this.emitter.emit('after-clearing-filters', this);\n }\n\n /**\n * Clears filtered columns visual indicator (background color)\n */\n clearActiveColumns() {\n for (let i = 0, len = this.getCellsNb(this.headersRow); i < len; i++) {\n removeClass(this.getHeaderElement(i), this.activeColumnsCssClass);\n }\n }\n\n /**\n * Mark currently filtered column\n * @param {Number} colIndex Column index\n */\n markActiveColumn(colIndex) {\n let header = this.getHeaderElement(colIndex);\n if (hasClass(header, this.activeColumnsCssClass)) {\n return;\n }\n if (this.onBeforeActiveColumn) {\n this.onBeforeActiveColumn.call(null, this, colIndex);\n }\n addClass(header, this.activeColumnsCssClass);\n if (this.onAfterActiveColumn) {\n this.onAfterActiveColumn.call(null, this, colIndex);\n }\n }\n\n /**\n * Return the ID of the current active filter\n * @returns {String}\n */\n getActiveFilterId() {\n return this.activeFilterId;\n }\n\n /**\n * Set the ID of the current active filter\n * @param {String} filterId Element ID\n */\n setActiveFilterId(filterId) {\n this.activeFilterId = filterId;\n }\n\n /**\n * Return the column index for a given filter ID\n * @param {string} [filterId=''] Filter ID\n * @returns {Number} Column index\n */\n getColumnIndexFromFilterId(filterId = '') {\n let idx = filterId.split('_')[0];\n idx = idx.split(this.prfxFlt)[1];\n return parseInt(idx, 10);\n }\n\n /**\n * Make specified column's filter active\n * @param colIndex Index of a column\n */\n activateFilter(colIndex) {\n if (isUndef(colIndex)) {\n return;\n }\n this.setActiveFilterId(this.getFilterId(colIndex));\n }\n\n /**\n * Refresh the filters subject to linking ('select', 'multiple',\n * 'checklist' type)\n */\n linkFilters() {\n if (!this.linkedFilters || !this.activeFilterId) {\n return;\n }\n let slcA1 = this.getFiltersByType(SELECT, true),\n slcA2 = this.getFiltersByType(MULTIPLE, true),\n slcA3 = this.getFiltersByType(CHECKLIST, true),\n slcIndex = slcA1.concat(slcA2);\n slcIndex = slcIndex.concat(slcA3);\n\n let activeIdx = this.getColumnIndexFromFilterId(this.activeFilterId);\n\n for (let i = 0, len = slcIndex.length; i < len; i++) {\n let curSlc = elm(this.fltIds[slcIndex[i]]);\n let slcSelectedValue = this.getFilterValue(slcIndex[i]);\n\n // Welcome to cyclomatic complexity hell :)\n // TODO: simplify/refactor if statement\n if (activeIdx !== slcIndex[i] ||\n (this.paging && slcA1.indexOf(slcIndex[i]) !== -1 &&\n activeIdx === slcIndex[i]) ||\n (!this.paging && (slcA3.indexOf(slcIndex[i]) !== -1 ||\n slcA2.indexOf(slcIndex[i]) !== -1)) ||\n slcSelectedValue === this.displayAllText) {\n\n //1st option needs to be inserted\n if (this.loadFltOnDemand) {\n let opt0 = createOpt(this.displayAllText, '');\n curSlc.innerHTML = '';\n curSlc.appendChild(opt0);\n }\n\n if (slcA3.indexOf(slcIndex[i]) !== -1) {\n this.emitter.emit('build-checklist-filter', this,\n slcIndex[i]);\n } else {\n this.emitter.emit('build-select-filter', this, slcIndex[i],\n true);\n }\n\n this.setFilterValue(slcIndex[i], slcSelectedValue);\n }\n }\n }\n\n /**\n * Determines if passed filter column implements exact query match\n * @param {Number} colIndex [description]\n * @return {Boolean} [description]\n */\n isExactMatch(colIndex) {\n let fltType = this.getFilterType(colIndex);\n return this.exactMatchByCol[colIndex] || this.exactMatch ||\n fltType !== INPUT;\n }\n\n /**\n * Check if passed script or stylesheet is already imported\n * @param {String} filePath Ressource path\n * @param {String} type Possible values: 'script' or 'link'\n * @return {Boolean}\n */\n isImported(filePath, type = 'script') {\n let imported = false,\n attr = type === 'script' ? 'src' : 'href',\n files = tag(doc, type);\n for (let i = 0, len = files.length; i < len; i++) {\n if (isUndef(files[i][attr])) {\n continue;\n }\n if (files[i][attr].match(filePath)) {\n imported = true;\n break;\n }\n }\n return imported;\n }\n\n /**\n * Import script or stylesheet\n * @param {String} fileId Ressource ID\n * @param {String} filePath Ressource path\n * @param {Function} callback Callback\n * @param {String} type Possible values: 'script' or 'link'\n */\n import(fileId, filePath, callback, type = 'script') {\n if (this.isImported(filePath, type)) {\n return;\n }\n let o = this,\n isLoaded = false,\n file,\n head = tag(doc, 'head')[0];\n\n if (type.toLowerCase() === 'link') {\n file = createElm('link',\n ['id', fileId], ['type', 'text/css'],\n ['rel', 'stylesheet'], ['href', filePath]\n );\n } else {\n file = createElm('script',\n ['id', fileId],\n ['type', 'text/javascript'], ['src', filePath]\n );\n }\n\n //Browser <> IE onload event works only for scripts, not for stylesheets\n file.onload = file.onreadystatechange = () => {\n if (!isLoaded &&\n (!this.readyState || this.readyState === 'loaded' ||\n this.readyState === 'complete')) {\n isLoaded = true;\n if (typeof callback === 'function') {\n callback.call(null, o);\n }\n }\n };\n file.onerror = function () {\n throw new Error(`TableFilter could not load: ${filePath}`);\n };\n head.appendChild(file);\n }\n\n /**\n * Check if table has filters grid\n * @return {Boolean}\n */\n isInitialized() {\n return this.initialized;\n }\n\n /**\n * Get list of filter IDs\n * @return {[type]} [description]\n */\n getFiltersId() {\n return this.fltIds || [];\n }\n\n /**\n * Get filtered (valid) rows indexes\n * @param {Boolean} reCalc Force calculation of filtered rows list\n * @return {Array} List of row indexes\n */\n getValidRows(reCalc) {\n if (!reCalc) {\n return this.validRowsIndex;\n }\n\n let nbRows = this.getRowsNb(true);\n this.validRowsIndex = [];\n for (let k = this.refRow; k < nbRows; k++) {\n let r = this.tbl.rows[k];\n if (!this.paging) {\n if (this.getRowDisplay(r) !== NONE) {\n this.validRowsIndex.push(r.rowIndex);\n }\n } else {\n if (r.getAttribute('validRow') === 'true' ||\n r.getAttribute('validRow') === null) {\n this.validRowsIndex.push(r.rowIndex);\n }\n }\n }\n return this.validRowsIndex;\n }\n\n /**\n * Get the index of the row containing the filters\n * @return {Number}\n */\n getFiltersRowIndex() {\n return this.filtersRowIndex;\n }\n\n /**\n * Get the index of the headers row\n * @return {Number}\n */\n getHeadersRowIndex() {\n return this.headersRow;\n }\n\n /**\n * Get the row index from where the filtering process start (1st filterable\n * row)\n * @return {Number}\n */\n getStartRowIndex() {\n return this.refRow;\n }\n\n /**\n * Get the index of the last row\n * @return {Number}\n */\n getLastRowIndex() {\n let nbRows = this.getRowsNb(true);\n return (nbRows - 1);\n }\n\n /**\n * Get the header DOM element for a given column index\n * @param {Number} colIndex Column index\n * @return {Element}\n */\n getHeaderElement(colIndex) {\n let table = this.gridLayout ? this.Mod.gridLayout.headTbl : this.tbl;\n let tHead = tag(table, 'thead');\n let headersRow = this.headersRow;\n let header;\n for (let i = 0; i < this.nbCells; i++) {\n if (i !== colIndex) {\n continue;\n }\n if (tHead.length === 0) {\n header = table.rows[headersRow].cells[i];\n }\n if (tHead.length === 1) {\n header = tHead[0].rows[headersRow].cells[i];\n }\n break;\n }\n return header;\n }\n\n /**\n * Return the list of headers' text\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array} list of headers' text\n */\n getHeadersText(excludeHiddenCols = false) {\n let headers = [];\n for (let j = 0; j < this.nbCells; j++) {\n if (excludeHiddenCols && this.hasExtension('colsVisibility')) {\n if (this.extension('colsVisibility').isColHidden(j)) {\n continue;\n }\n }\n let header = this.getHeaderElement(j);\n let headerText = getFirstTextNode(header);\n headers.push(headerText);\n }\n return headers;\n }\n\n /**\n * Return the filter type for a specified column\n * @param {Number} colIndex Column's index\n * @return {String}\n */\n getFilterType(colIndex) {\n let colType = this.cfg['col_' + colIndex];\n return !colType ? INPUT : colType.toLowerCase();\n }\n\n /**\n * Get the total number of filterable rows\n * @return {Number}\n */\n getFilterableRowsNb() {\n return this.getRowsNb(false);\n }\n\n /**\n * Return the total number of valid rows\n * @param {Boolean} [reCalc=false] Forces calculation of filtered rows\n * @returns {Number}\n */\n getValidRowsNb(reCalc = false) {\n return this.getValidRows(reCalc).length;\n }\n\n /**\n * Get the configuration object (literal object)\n * @return {Object}\n */\n config() {\n return this.cfg;\n }\n}\n" }, { - "__docId__": 750, + "__docId__": 749, "kind": "variable", "static": true, "variation": null, @@ -15256,7 +15241,7 @@ } }, { - "__docId__": 751, + "__docId__": 750, "kind": "class", "static": true, "variation": null, @@ -15273,7 +15258,7 @@ "interface": false }, { - "__docId__": 752, + "__docId__": 751, "kind": "constructor", "static": false, "variation": null, @@ -15328,7 +15313,7 @@ "generator": false }, { - "__docId__": 753, + "__docId__": 752, "kind": "member", "static": false, "variation": null, @@ -15346,7 +15331,7 @@ } }, { - "__docId__": 754, + "__docId__": 753, "kind": "member", "static": false, "variation": null, @@ -15364,7 +15349,7 @@ } }, { - "__docId__": 755, + "__docId__": 754, "kind": "member", "static": false, "variation": null, @@ -15382,7 +15367,7 @@ } }, { - "__docId__": 756, + "__docId__": 755, "kind": "member", "static": false, "variation": null, @@ -15400,7 +15385,7 @@ } }, { - "__docId__": 757, + "__docId__": 756, "kind": "member", "static": false, "variation": null, @@ -15418,7 +15403,7 @@ } }, { - "__docId__": 758, + "__docId__": 757, "kind": "member", "static": false, "variation": null, @@ -15436,7 +15421,7 @@ } }, { - "__docId__": 759, + "__docId__": 758, "kind": "member", "static": false, "variation": null, @@ -15454,7 +15439,7 @@ } }, { - "__docId__": 760, + "__docId__": 759, "kind": "member", "static": false, "variation": null, @@ -15472,7 +15457,7 @@ } }, { - "__docId__": 761, + "__docId__": 760, "kind": "member", "static": false, "variation": null, @@ -15490,7 +15475,7 @@ } }, { - "__docId__": 762, + "__docId__": 761, "kind": "member", "static": false, "variation": null, @@ -15508,7 +15493,7 @@ } }, { - "__docId__": 763, + "__docId__": 762, "kind": "member", "static": false, "variation": null, @@ -15526,7 +15511,7 @@ } }, { - "__docId__": 764, + "__docId__": 763, "kind": "member", "static": false, "variation": null, @@ -15544,7 +15529,7 @@ } }, { - "__docId__": 765, + "__docId__": 764, "kind": "member", "static": false, "variation": null, @@ -15562,7 +15547,7 @@ } }, { - "__docId__": 766, + "__docId__": 765, "kind": "member", "static": false, "variation": null, @@ -15580,7 +15565,7 @@ } }, { - "__docId__": 767, + "__docId__": 766, "kind": "member", "static": false, "variation": null, @@ -15598,7 +15583,7 @@ } }, { - "__docId__": 768, + "__docId__": 767, "kind": "member", "static": false, "variation": null, @@ -15616,7 +15601,7 @@ } }, { - "__docId__": 769, + "__docId__": 768, "kind": "member", "static": false, "variation": null, @@ -15636,7 +15621,7 @@ } }, { - "__docId__": 770, + "__docId__": 769, "kind": "member", "static": false, "variation": null, @@ -15654,7 +15639,7 @@ } }, { - "__docId__": 771, + "__docId__": 770, "kind": "member", "static": false, "variation": null, @@ -15672,7 +15657,7 @@ } }, { - "__docId__": 772, + "__docId__": 771, "kind": "member", "static": false, "variation": null, @@ -15690,7 +15675,7 @@ } }, { - "__docId__": 773, + "__docId__": 772, "kind": "member", "static": false, "variation": null, @@ -15708,7 +15693,7 @@ } }, { - "__docId__": 774, + "__docId__": 773, "kind": "member", "static": false, "variation": null, @@ -15725,7 +15710,7 @@ } }, { - "__docId__": 775, + "__docId__": 774, "kind": "member", "static": false, "variation": null, @@ -15743,7 +15728,7 @@ } }, { - "__docId__": 776, + "__docId__": 775, "kind": "member", "static": false, "variation": null, @@ -15761,7 +15746,7 @@ } }, { - "__docId__": 777, + "__docId__": 776, "kind": "member", "static": false, "variation": null, @@ -15779,7 +15764,7 @@ } }, { - "__docId__": 778, + "__docId__": 777, "kind": "member", "static": false, "variation": null, @@ -15797,7 +15782,7 @@ } }, { - "__docId__": 779, + "__docId__": 778, "kind": "member", "static": false, "variation": null, @@ -15815,7 +15800,7 @@ } }, { - "__docId__": 780, + "__docId__": 779, "kind": "member", "static": false, "variation": null, @@ -15833,7 +15818,7 @@ } }, { - "__docId__": 781, + "__docId__": 780, "kind": "member", "static": false, "variation": null, @@ -15851,7 +15836,7 @@ } }, { - "__docId__": 782, + "__docId__": 781, "kind": "member", "static": false, "variation": null, @@ -15869,7 +15854,7 @@ } }, { - "__docId__": 783, + "__docId__": 782, "kind": "member", "static": false, "variation": null, @@ -15887,7 +15872,7 @@ } }, { - "__docId__": 784, + "__docId__": 783, "kind": "member", "static": false, "variation": null, @@ -15905,7 +15890,7 @@ } }, { - "__docId__": 785, + "__docId__": 784, "kind": "member", "static": false, "variation": null, @@ -15923,7 +15908,7 @@ } }, { - "__docId__": 786, + "__docId__": 785, "kind": "member", "static": false, "variation": null, @@ -15941,7 +15926,7 @@ } }, { - "__docId__": 787, + "__docId__": 786, "kind": "member", "static": false, "variation": null, @@ -15959,7 +15944,7 @@ } }, { - "__docId__": 788, + "__docId__": 787, "kind": "member", "static": false, "variation": null, @@ -15977,7 +15962,7 @@ } }, { - "__docId__": 789, + "__docId__": 788, "kind": "member", "static": false, "variation": null, @@ -15995,7 +15980,7 @@ } }, { - "__docId__": 790, + "__docId__": 789, "kind": "member", "static": false, "variation": null, @@ -16012,7 +15997,7 @@ } }, { - "__docId__": 791, + "__docId__": 790, "kind": "member", "static": false, "variation": null, @@ -16030,7 +16015,7 @@ } }, { - "__docId__": 792, + "__docId__": 791, "kind": "member", "static": false, "variation": null, @@ -16048,7 +16033,7 @@ } }, { - "__docId__": 793, + "__docId__": 792, "kind": "member", "static": false, "variation": null, @@ -16066,7 +16051,7 @@ } }, { - "__docId__": 794, + "__docId__": 793, "kind": "member", "static": false, "variation": null, @@ -16084,7 +16069,7 @@ } }, { - "__docId__": 795, + "__docId__": 794, "kind": "member", "static": false, "variation": null, @@ -16102,7 +16087,7 @@ } }, { - "__docId__": 796, + "__docId__": 795, "kind": "member", "static": false, "variation": null, @@ -16120,7 +16105,7 @@ } }, { - "__docId__": 797, + "__docId__": 796, "kind": "member", "static": false, "variation": null, @@ -16138,7 +16123,7 @@ } }, { - "__docId__": 798, + "__docId__": 797, "kind": "member", "static": false, "variation": null, @@ -16156,7 +16141,7 @@ } }, { - "__docId__": 799, + "__docId__": 798, "kind": "member", "static": false, "variation": null, @@ -16174,7 +16159,7 @@ } }, { - "__docId__": 800, + "__docId__": 799, "kind": "member", "static": false, "variation": null, @@ -16192,7 +16177,7 @@ } }, { - "__docId__": 801, + "__docId__": 800, "kind": "member", "static": false, "variation": null, @@ -16210,7 +16195,7 @@ } }, { - "__docId__": 802, + "__docId__": 801, "kind": "member", "static": false, "variation": null, @@ -16227,7 +16212,7 @@ } }, { - "__docId__": 803, + "__docId__": 802, "kind": "member", "static": false, "variation": null, @@ -16245,7 +16230,7 @@ } }, { - "__docId__": 804, + "__docId__": 803, "kind": "member", "static": false, "variation": null, @@ -16263,7 +16248,7 @@ } }, { - "__docId__": 805, + "__docId__": 804, "kind": "member", "static": false, "variation": null, @@ -16281,7 +16266,7 @@ } }, { - "__docId__": 806, + "__docId__": 805, "kind": "member", "static": false, "variation": null, @@ -16299,7 +16284,7 @@ } }, { - "__docId__": 807, + "__docId__": 806, "kind": "member", "static": false, "variation": null, @@ -16317,7 +16302,7 @@ } }, { - "__docId__": 808, + "__docId__": 807, "kind": "member", "static": false, "variation": null, @@ -16335,7 +16320,7 @@ } }, { - "__docId__": 809, + "__docId__": 808, "kind": "member", "static": false, "variation": null, @@ -16353,7 +16338,7 @@ } }, { - "__docId__": 810, + "__docId__": 809, "kind": "member", "static": false, "variation": null, @@ -16371,7 +16356,7 @@ } }, { - "__docId__": 811, + "__docId__": 810, "kind": "member", "static": false, "variation": null, @@ -16389,7 +16374,7 @@ } }, { - "__docId__": 812, + "__docId__": 811, "kind": "member", "static": false, "variation": null, @@ -16407,7 +16392,7 @@ } }, { - "__docId__": 813, + "__docId__": 812, "kind": "member", "static": false, "variation": null, @@ -16425,7 +16410,7 @@ } }, { - "__docId__": 814, + "__docId__": 813, "kind": "member", "static": false, "variation": null, @@ -16443,7 +16428,7 @@ } }, { - "__docId__": 815, + "__docId__": 814, "kind": "member", "static": false, "variation": null, @@ -16461,7 +16446,7 @@ } }, { - "__docId__": 816, + "__docId__": 815, "kind": "member", "static": false, "variation": null, @@ -16479,7 +16464,7 @@ } }, { - "__docId__": 817, + "__docId__": 816, "kind": "member", "static": false, "variation": null, @@ -16497,7 +16482,7 @@ } }, { - "__docId__": 818, + "__docId__": 817, "kind": "member", "static": false, "variation": null, @@ -16515,7 +16500,7 @@ } }, { - "__docId__": 819, + "__docId__": 818, "kind": "member", "static": false, "variation": null, @@ -16533,7 +16518,7 @@ } }, { - "__docId__": 820, + "__docId__": 819, "kind": "member", "static": false, "variation": null, @@ -16551,7 +16536,7 @@ } }, { - "__docId__": 821, + "__docId__": 820, "kind": "member", "static": false, "variation": null, @@ -16569,7 +16554,7 @@ } }, { - "__docId__": 822, + "__docId__": 821, "kind": "member", "static": false, "variation": null, @@ -16587,7 +16572,7 @@ } }, { - "__docId__": 823, + "__docId__": 822, "kind": "member", "static": false, "variation": null, @@ -16605,7 +16590,7 @@ } }, { - "__docId__": 824, + "__docId__": 823, "kind": "member", "static": false, "variation": null, @@ -16623,7 +16608,7 @@ } }, { - "__docId__": 825, + "__docId__": 824, "kind": "member", "static": false, "variation": null, @@ -16641,7 +16626,7 @@ } }, { - "__docId__": 826, + "__docId__": 825, "kind": "member", "static": false, "variation": null, @@ -16659,7 +16644,7 @@ } }, { - "__docId__": 827, + "__docId__": 826, "kind": "member", "static": false, "variation": null, @@ -16677,7 +16662,7 @@ } }, { - "__docId__": 828, + "__docId__": 827, "kind": "member", "static": false, "variation": null, @@ -16695,7 +16680,7 @@ } }, { - "__docId__": 829, + "__docId__": 828, "kind": "member", "static": false, "variation": null, @@ -16713,7 +16698,7 @@ } }, { - "__docId__": 830, + "__docId__": 829, "kind": "member", "static": false, "variation": null, @@ -16731,7 +16716,7 @@ } }, { - "__docId__": 831, + "__docId__": 830, "kind": "member", "static": false, "variation": null, @@ -16748,7 +16733,7 @@ } }, { - "__docId__": 832, + "__docId__": 831, "kind": "member", "static": false, "variation": null, @@ -16766,7 +16751,7 @@ } }, { - "__docId__": 833, + "__docId__": 832, "kind": "member", "static": false, "variation": null, @@ -16784,7 +16769,7 @@ } }, { - "__docId__": 834, + "__docId__": 833, "kind": "member", "static": false, "variation": null, @@ -16802,7 +16787,7 @@ } }, { - "__docId__": 835, + "__docId__": 834, "kind": "member", "static": false, "variation": null, @@ -16820,7 +16805,7 @@ } }, { - "__docId__": 836, + "__docId__": 835, "kind": "member", "static": false, "variation": null, @@ -16838,7 +16823,7 @@ } }, { - "__docId__": 837, + "__docId__": 836, "kind": "member", "static": false, "variation": null, @@ -16856,7 +16841,7 @@ } }, { - "__docId__": 838, + "__docId__": 837, "kind": "member", "static": false, "variation": null, @@ -16874,7 +16859,7 @@ } }, { - "__docId__": 839, + "__docId__": 838, "kind": "member", "static": false, "variation": null, @@ -16892,7 +16877,7 @@ } }, { - "__docId__": 840, + "__docId__": 839, "kind": "member", "static": false, "variation": null, @@ -16910,7 +16895,7 @@ } }, { - "__docId__": 841, + "__docId__": 840, "kind": "member", "static": false, "variation": null, @@ -16928,7 +16913,7 @@ } }, { - "__docId__": 842, + "__docId__": 841, "kind": "member", "static": false, "variation": null, @@ -16946,7 +16931,7 @@ } }, { - "__docId__": 843, + "__docId__": 842, "kind": "member", "static": false, "variation": null, @@ -16964,7 +16949,7 @@ } }, { - "__docId__": 844, + "__docId__": 843, "kind": "member", "static": false, "variation": null, @@ -16982,7 +16967,7 @@ } }, { - "__docId__": 845, + "__docId__": 844, "kind": "member", "static": false, "variation": null, @@ -16999,7 +16984,7 @@ } }, { - "__docId__": 846, + "__docId__": 845, "kind": "member", "static": false, "variation": null, @@ -17017,7 +17002,7 @@ } }, { - "__docId__": 847, + "__docId__": 846, "kind": "member", "static": false, "variation": null, @@ -17035,7 +17020,7 @@ } }, { - "__docId__": 848, + "__docId__": 847, "kind": "member", "static": false, "variation": null, @@ -17053,7 +17038,7 @@ } }, { - "__docId__": 849, + "__docId__": 848, "kind": "member", "static": false, "variation": null, @@ -17071,7 +17056,7 @@ } }, { - "__docId__": 850, + "__docId__": 849, "kind": "member", "static": false, "variation": null, @@ -17089,7 +17074,7 @@ } }, { - "__docId__": 851, + "__docId__": 850, "kind": "member", "static": false, "variation": null, @@ -17107,7 +17092,7 @@ } }, { - "__docId__": 852, + "__docId__": 851, "kind": "member", "static": false, "variation": null, @@ -17125,7 +17110,7 @@ } }, { - "__docId__": 853, + "__docId__": 852, "kind": "member", "static": false, "variation": null, @@ -17143,7 +17128,7 @@ } }, { - "__docId__": 854, + "__docId__": 853, "kind": "member", "static": false, "variation": null, @@ -17161,7 +17146,7 @@ } }, { - "__docId__": 855, + "__docId__": 854, "kind": "member", "static": false, "variation": null, @@ -17179,7 +17164,7 @@ } }, { - "__docId__": 856, + "__docId__": 855, "kind": "member", "static": false, "variation": null, @@ -17197,7 +17182,7 @@ } }, { - "__docId__": 857, + "__docId__": 856, "kind": "member", "static": false, "variation": null, @@ -17215,7 +17200,7 @@ } }, { - "__docId__": 858, + "__docId__": 857, "kind": "member", "static": false, "variation": null, @@ -17233,7 +17218,7 @@ } }, { - "__docId__": 859, + "__docId__": 858, "kind": "member", "static": false, "variation": null, @@ -17251,7 +17236,7 @@ } }, { - "__docId__": 860, + "__docId__": 859, "kind": "member", "static": false, "variation": null, @@ -17269,7 +17254,7 @@ } }, { - "__docId__": 861, + "__docId__": 860, "kind": "member", "static": false, "variation": null, @@ -17287,7 +17272,7 @@ } }, { - "__docId__": 862, + "__docId__": 861, "kind": "member", "static": false, "variation": null, @@ -17305,7 +17290,7 @@ } }, { - "__docId__": 863, + "__docId__": 862, "kind": "member", "static": false, "variation": null, @@ -17323,7 +17308,7 @@ } }, { - "__docId__": 864, + "__docId__": 863, "kind": "member", "static": false, "variation": null, @@ -17340,7 +17325,7 @@ } }, { - "__docId__": 865, + "__docId__": 864, "kind": "member", "static": false, "variation": null, @@ -17358,7 +17343,7 @@ } }, { - "__docId__": 866, + "__docId__": 865, "kind": "member", "static": false, "variation": null, @@ -17376,7 +17361,7 @@ } }, { - "__docId__": 867, + "__docId__": 866, "kind": "member", "static": false, "variation": null, @@ -17394,7 +17379,7 @@ } }, { - "__docId__": 868, + "__docId__": 867, "kind": "member", "static": false, "variation": null, @@ -17412,7 +17397,7 @@ } }, { - "__docId__": 869, + "__docId__": 868, "kind": "member", "static": false, "variation": null, @@ -17430,7 +17415,7 @@ } }, { - "__docId__": 870, + "__docId__": 869, "kind": "member", "static": false, "variation": null, @@ -17448,7 +17433,7 @@ } }, { - "__docId__": 871, + "__docId__": 870, "kind": "member", "static": false, "variation": null, @@ -17465,7 +17450,7 @@ } }, { - "__docId__": 872, + "__docId__": 871, "kind": "member", "static": false, "variation": null, @@ -17483,7 +17468,7 @@ } }, { - "__docId__": 873, + "__docId__": 872, "kind": "member", "static": false, "variation": null, @@ -17500,7 +17485,7 @@ } }, { - "__docId__": 874, + "__docId__": 873, "kind": "member", "static": false, "variation": null, @@ -17518,7 +17503,7 @@ } }, { - "__docId__": 875, + "__docId__": 874, "kind": "member", "static": false, "variation": null, @@ -17536,7 +17521,7 @@ } }, { - "__docId__": 876, + "__docId__": 875, "kind": "member", "static": false, "variation": null, @@ -17554,7 +17539,7 @@ } }, { - "__docId__": 877, + "__docId__": 876, "kind": "member", "static": false, "variation": null, @@ -17571,7 +17556,7 @@ } }, { - "__docId__": 878, + "__docId__": 877, "kind": "member", "static": false, "variation": null, @@ -17588,7 +17573,7 @@ } }, { - "__docId__": 879, + "__docId__": 878, "kind": "member", "static": false, "variation": null, @@ -17606,7 +17591,7 @@ } }, { - "__docId__": 880, + "__docId__": 879, "kind": "member", "static": false, "variation": null, @@ -17623,7 +17608,7 @@ } }, { - "__docId__": 881, + "__docId__": 880, "kind": "member", "static": false, "variation": null, @@ -17641,7 +17626,7 @@ } }, { - "__docId__": 882, + "__docId__": 881, "kind": "member", "static": false, "variation": null, @@ -17659,7 +17644,7 @@ } }, { - "__docId__": 883, + "__docId__": 882, "kind": "member", "static": false, "variation": null, @@ -17677,7 +17662,7 @@ } }, { - "__docId__": 884, + "__docId__": 883, "kind": "member", "static": false, "variation": null, @@ -17695,7 +17680,7 @@ } }, { - "__docId__": 885, + "__docId__": 884, "kind": "member", "static": false, "variation": null, @@ -17713,7 +17698,7 @@ } }, { - "__docId__": 886, + "__docId__": 885, "kind": "member", "static": false, "variation": null, @@ -17731,7 +17716,7 @@ } }, { - "__docId__": 887, + "__docId__": 886, "kind": "member", "static": false, "variation": null, @@ -17748,7 +17733,7 @@ } }, { - "__docId__": 888, + "__docId__": 887, "kind": "member", "static": false, "variation": null, @@ -17766,7 +17751,7 @@ } }, { - "__docId__": 889, + "__docId__": 888, "kind": "member", "static": false, "variation": null, @@ -17784,7 +17769,7 @@ } }, { - "__docId__": 890, + "__docId__": 889, "kind": "member", "static": false, "variation": null, @@ -17802,7 +17787,7 @@ } }, { - "__docId__": 891, + "__docId__": 890, "kind": "member", "static": false, "variation": null, @@ -17820,7 +17805,7 @@ } }, { - "__docId__": 892, + "__docId__": 891, "kind": "member", "static": false, "variation": null, @@ -17838,7 +17823,7 @@ } }, { - "__docId__": 893, + "__docId__": 892, "kind": "member", "static": false, "variation": null, @@ -17856,7 +17841,7 @@ } }, { - "__docId__": 894, + "__docId__": 893, "kind": "member", "static": false, "variation": null, @@ -17874,7 +17859,7 @@ } }, { - "__docId__": 895, + "__docId__": 894, "kind": "member", "static": false, "variation": null, @@ -17891,7 +17876,7 @@ } }, { - "__docId__": 896, + "__docId__": 895, "kind": "member", "static": false, "variation": null, @@ -17909,7 +17894,7 @@ } }, { - "__docId__": 897, + "__docId__": 896, "kind": "member", "static": false, "variation": null, @@ -17926,7 +17911,7 @@ } }, { - "__docId__": 898, + "__docId__": 897, "kind": "member", "static": false, "variation": null, @@ -17944,7 +17929,7 @@ } }, { - "__docId__": 899, + "__docId__": 898, "kind": "member", "static": false, "variation": null, @@ -17962,7 +17947,7 @@ } }, { - "__docId__": 900, + "__docId__": 899, "kind": "member", "static": false, "variation": null, @@ -17980,7 +17965,7 @@ } }, { - "__docId__": 901, + "__docId__": 900, "kind": "member", "static": false, "variation": null, @@ -17998,7 +17983,7 @@ } }, { - "__docId__": 902, + "__docId__": 901, "kind": "member", "static": false, "variation": null, @@ -18016,7 +18001,7 @@ } }, { - "__docId__": 903, + "__docId__": 902, "kind": "member", "static": false, "variation": null, @@ -18034,7 +18019,7 @@ } }, { - "__docId__": 904, + "__docId__": 903, "kind": "method", "static": false, "variation": null, @@ -18048,7 +18033,7 @@ "generator": false }, { - "__docId__": 905, + "__docId__": 904, "kind": "member", "static": false, "variation": null, @@ -18066,7 +18051,7 @@ } }, { - "__docId__": 906, + "__docId__": 905, "kind": "member", "static": false, "variation": null, @@ -18084,7 +18069,7 @@ } }, { - "__docId__": 907, + "__docId__": 906, "kind": "method", "static": false, "variation": null, @@ -18109,7 +18094,7 @@ "generator": false }, { - "__docId__": 908, + "__docId__": 907, "kind": "member", "static": false, "variation": null, @@ -18127,7 +18112,7 @@ } }, { - "__docId__": 909, + "__docId__": 908, "kind": "member", "static": false, "variation": null, @@ -18145,7 +18130,7 @@ } }, { - "__docId__": 910, + "__docId__": 909, "kind": "method", "static": false, "variation": null, @@ -18170,7 +18155,7 @@ "generator": false }, { - "__docId__": 911, + "__docId__": 910, "kind": "member", "static": false, "variation": null, @@ -18188,7 +18173,7 @@ } }, { - "__docId__": 912, + "__docId__": 911, "kind": "member", "static": false, "variation": null, @@ -18206,7 +18191,7 @@ } }, { - "__docId__": 913, + "__docId__": 912, "kind": "member", "static": false, "variation": null, @@ -18224,7 +18209,7 @@ } }, { - "__docId__": 914, + "__docId__": 913, "kind": "member", "static": false, "variation": null, @@ -18242,7 +18227,7 @@ } }, { - "__docId__": 915, + "__docId__": 914, "kind": "member", "static": false, "variation": null, @@ -18260,7 +18245,7 @@ } }, { - "__docId__": 916, + "__docId__": 915, "kind": "method", "static": false, "variation": null, @@ -18274,7 +18259,7 @@ "generator": false }, { - "__docId__": 917, + "__docId__": 916, "kind": "member", "static": false, "variation": null, @@ -18292,7 +18277,7 @@ } }, { - "__docId__": 918, + "__docId__": 917, "kind": "method", "static": false, "variation": null, @@ -18317,7 +18302,7 @@ "generator": false }, { - "__docId__": 919, + "__docId__": 918, "kind": "method", "static": false, "variation": null, @@ -18331,7 +18316,7 @@ "generator": false }, { - "__docId__": 920, + "__docId__": 919, "kind": "member", "static": false, "variation": null, @@ -18349,7 +18334,7 @@ } }, { - "__docId__": 921, + "__docId__": 920, "kind": "method", "static": false, "variation": null, @@ -18368,7 +18353,7 @@ "generator": false }, { - "__docId__": 922, + "__docId__": 921, "kind": "method", "static": false, "variation": null, @@ -18382,7 +18367,7 @@ "generator": false }, { - "__docId__": 923, + "__docId__": 922, "kind": "member", "static": false, "variation": null, @@ -18400,7 +18385,7 @@ } }, { - "__docId__": 924, + "__docId__": 923, "kind": "member", "static": false, "variation": null, @@ -18418,7 +18403,7 @@ } }, { - "__docId__": 925, + "__docId__": 924, "kind": "method", "static": false, "variation": null, @@ -18463,7 +18448,7 @@ "generator": false }, { - "__docId__": 926, + "__docId__": 925, "kind": "method", "static": false, "variation": null, @@ -18498,7 +18483,7 @@ "generator": false }, { - "__docId__": 927, + "__docId__": 926, "kind": "method", "static": false, "variation": null, @@ -18531,7 +18516,7 @@ "generator": false }, { - "__docId__": 928, + "__docId__": 927, "kind": "method", "static": false, "variation": null, @@ -18545,7 +18530,7 @@ "generator": false }, { - "__docId__": 929, + "__docId__": 928, "kind": "method", "static": false, "variation": null, @@ -18570,7 +18555,7 @@ "generator": false }, { - "__docId__": 930, + "__docId__": 929, "kind": "method", "static": false, "variation": null, @@ -18603,7 +18588,7 @@ "generator": false }, { - "__docId__": 931, + "__docId__": 930, "kind": "method", "static": false, "variation": null, @@ -18636,7 +18621,7 @@ "generator": false }, { - "__docId__": 932, + "__docId__": 931, "kind": "method", "static": false, "variation": null, @@ -18650,7 +18635,7 @@ "generator": false }, { - "__docId__": 933, + "__docId__": 932, "kind": "method", "static": false, "variation": null, @@ -18664,7 +18649,7 @@ "generator": false }, { - "__docId__": 934, + "__docId__": 933, "kind": "member", "static": false, "variation": null, @@ -18682,7 +18667,7 @@ } }, { - "__docId__": 935, + "__docId__": 934, "kind": "member", "static": false, "variation": null, @@ -18700,7 +18685,7 @@ } }, { - "__docId__": 936, + "__docId__": 935, "kind": "member", "static": false, "variation": null, @@ -18718,7 +18703,7 @@ } }, { - "__docId__": 937, + "__docId__": 936, "kind": "member", "static": false, "variation": null, @@ -18736,7 +18721,7 @@ } }, { - "__docId__": 938, + "__docId__": 937, "kind": "member", "static": false, "variation": null, @@ -18754,7 +18739,7 @@ } }, { - "__docId__": 939, + "__docId__": 938, "kind": "member", "static": false, "variation": null, @@ -18772,7 +18757,7 @@ } }, { - "__docId__": 940, + "__docId__": 939, "kind": "member", "static": false, "variation": null, @@ -18790,7 +18775,7 @@ } }, { - "__docId__": 941, + "__docId__": 940, "kind": "member", "static": false, "variation": null, @@ -18808,7 +18793,7 @@ } }, { - "__docId__": 942, + "__docId__": 941, "kind": "member", "static": false, "variation": null, @@ -18826,7 +18811,7 @@ } }, { - "__docId__": 943, + "__docId__": 942, "kind": "method", "static": false, "variation": null, @@ -18858,7 +18843,7 @@ "generator": false }, { - "__docId__": 944, + "__docId__": 943, "kind": "method", "static": false, "variation": null, @@ -18872,7 +18857,7 @@ "generator": false }, { - "__docId__": 945, + "__docId__": 944, "kind": "member", "static": false, "variation": null, @@ -18890,7 +18875,7 @@ } }, { - "__docId__": 946, + "__docId__": 945, "kind": "member", "static": false, "variation": null, @@ -18908,7 +18893,7 @@ } }, { - "__docId__": 947, + "__docId__": 946, "kind": "member", "static": false, "variation": null, @@ -18926,7 +18911,7 @@ } }, { - "__docId__": 948, + "__docId__": 947, "kind": "member", "static": false, "variation": null, @@ -18944,7 +18929,7 @@ } }, { - "__docId__": 949, + "__docId__": 948, "kind": "method", "static": false, "variation": null, @@ -18958,7 +18943,7 @@ "generator": false }, { - "__docId__": 950, + "__docId__": 949, "kind": "member", "static": false, "variation": null, @@ -18976,7 +18961,7 @@ } }, { - "__docId__": 951, + "__docId__": 950, "kind": "member", "static": false, "variation": null, @@ -18994,7 +18979,7 @@ } }, { - "__docId__": 952, + "__docId__": 951, "kind": "member", "static": false, "variation": null, @@ -19012,7 +18997,7 @@ } }, { - "__docId__": 953, + "__docId__": 952, "kind": "member", "static": false, "variation": null, @@ -19030,7 +19015,7 @@ } }, { - "__docId__": 954, + "__docId__": 953, "kind": "method", "static": false, "variation": null, @@ -19044,7 +19029,7 @@ "generator": false }, { - "__docId__": 955, + "__docId__": 954, "kind": "member", "static": false, "variation": null, @@ -19062,7 +19047,7 @@ } }, { - "__docId__": 956, + "__docId__": 955, "kind": "method", "static": false, "variation": null, @@ -19076,7 +19061,7 @@ "generator": false }, { - "__docId__": 957, + "__docId__": 956, "kind": "method", "static": false, "variation": null, @@ -19109,7 +19094,7 @@ "generator": false }, { - "__docId__": 958, + "__docId__": 957, "kind": "method", "static": false, "variation": null, @@ -19142,7 +19127,7 @@ "generator": false }, { - "__docId__": 959, + "__docId__": 958, "kind": "method", "static": false, "variation": null, @@ -19156,7 +19141,7 @@ "generator": false }, { - "__docId__": 960, + "__docId__": 959, "kind": "member", "static": false, "variation": null, @@ -19174,7 +19159,7 @@ } }, { - "__docId__": 961, + "__docId__": 960, "kind": "member", "static": false, "variation": null, @@ -19192,7 +19177,7 @@ } }, { - "__docId__": 962, + "__docId__": 961, "kind": "method", "static": false, "variation": null, @@ -19255,7 +19240,7 @@ "generator": false }, { - "__docId__": 963, + "__docId__": 962, "kind": "method", "static": false, "variation": null, @@ -19288,7 +19273,7 @@ "generator": false }, { - "__docId__": 964, + "__docId__": 963, "kind": "method", "static": false, "variation": null, @@ -19310,7 +19295,7 @@ "generator": false }, { - "__docId__": 965, + "__docId__": 964, "kind": "method", "static": false, "variation": null, @@ -19343,7 +19328,7 @@ "generator": false }, { - "__docId__": 966, + "__docId__": 965, "kind": "method", "static": false, "variation": null, @@ -19386,7 +19371,7 @@ "generator": false }, { - "__docId__": 967, + "__docId__": 966, "kind": "method", "static": false, "variation": null, @@ -19419,7 +19404,7 @@ "generator": false }, { - "__docId__": 968, + "__docId__": 967, "kind": "method", "static": false, "variation": null, @@ -19452,7 +19437,7 @@ "generator": false }, { - "__docId__": 969, + "__docId__": 968, "kind": "method", "static": false, "variation": null, @@ -19485,7 +19470,7 @@ "generator": false }, { - "__docId__": 970, + "__docId__": 969, "kind": "method", "static": false, "variation": null, @@ -19518,7 +19503,7 @@ "generator": false }, { - "__docId__": 971, + "__docId__": 970, "kind": "method", "static": false, "variation": null, @@ -19561,7 +19546,7 @@ "generator": false }, { - "__docId__": 972, + "__docId__": 971, "kind": "method", "static": false, "variation": null, @@ -19604,7 +19589,7 @@ "generator": false }, { - "__docId__": 973, + "__docId__": 972, "kind": "method", "static": false, "variation": null, @@ -19647,7 +19632,7 @@ "generator": false }, { - "__docId__": 974, + "__docId__": 973, "kind": "method", "static": false, "variation": null, @@ -19680,7 +19665,7 @@ "generator": false }, { - "__docId__": 975, + "__docId__": 974, "kind": "method", "static": false, "variation": null, @@ -19715,7 +19700,7 @@ "generator": false }, { - "__docId__": 976, + "__docId__": 975, "kind": "method", "static": false, "variation": null, @@ -19729,7 +19714,7 @@ "generator": false }, { - "__docId__": 977, + "__docId__": 976, "kind": "member", "static": false, "variation": null, @@ -19747,7 +19732,7 @@ } }, { - "__docId__": 978, + "__docId__": 977, "kind": "method", "static": false, "variation": null, @@ -19782,7 +19767,7 @@ "generator": false }, { - "__docId__": 979, + "__docId__": 978, "kind": "method", "static": false, "variation": null, @@ -19807,7 +19792,7 @@ "generator": false }, { - "__docId__": 980, + "__docId__": 979, "kind": "method", "static": false, "variation": null, @@ -19821,7 +19806,7 @@ "generator": false }, { - "__docId__": 981, + "__docId__": 980, "kind": "method", "static": false, "variation": null, @@ -19835,7 +19820,7 @@ "generator": false }, { - "__docId__": 982, + "__docId__": 981, "kind": "method", "static": false, "variation": null, @@ -19849,7 +19834,7 @@ "generator": false }, { - "__docId__": 983, + "__docId__": 982, "kind": "method", "static": false, "variation": null, @@ -19874,7 +19859,7 @@ "generator": false }, { - "__docId__": 984, + "__docId__": 983, "kind": "method", "static": false, "variation": null, @@ -19902,7 +19887,7 @@ "generator": false }, { - "__docId__": 985, + "__docId__": 984, "kind": "method", "static": false, "variation": null, @@ -19927,7 +19912,7 @@ "generator": false }, { - "__docId__": 986, + "__docId__": 985, "kind": "member", "static": false, "variation": null, @@ -19945,7 +19930,7 @@ } }, { - "__docId__": 987, + "__docId__": 986, "kind": "method", "static": false, "variation": null, @@ -19986,7 +19971,7 @@ "generator": false }, { - "__docId__": 988, + "__docId__": 987, "kind": "method", "static": false, "variation": null, @@ -20011,7 +19996,7 @@ "generator": false }, { - "__docId__": 989, + "__docId__": 988, "kind": "method", "static": false, "variation": null, @@ -20025,7 +20010,7 @@ "generator": false }, { - "__docId__": 990, + "__docId__": 989, "kind": "method", "static": false, "variation": null, @@ -20058,7 +20043,7 @@ "generator": false }, { - "__docId__": 991, + "__docId__": 990, "kind": "method", "static": false, "variation": null, @@ -20101,7 +20086,7 @@ "generator": false }, { - "__docId__": 992, + "__docId__": 991, "kind": "method", "static": false, "variation": null, @@ -20156,7 +20141,7 @@ "generator": false }, { - "__docId__": 993, + "__docId__": 992, "kind": "method", "static": false, "variation": null, @@ -20178,7 +20163,7 @@ "generator": false }, { - "__docId__": 994, + "__docId__": 993, "kind": "method", "static": false, "variation": null, @@ -20200,7 +20185,7 @@ "generator": false }, { - "__docId__": 995, + "__docId__": 994, "kind": "method", "static": false, "variation": null, @@ -20233,7 +20218,7 @@ "generator": false }, { - "__docId__": 996, + "__docId__": 995, "kind": "member", "static": false, "variation": null, @@ -20251,7 +20236,7 @@ } }, { - "__docId__": 997, + "__docId__": 996, "kind": "method", "static": false, "variation": null, @@ -20273,7 +20258,7 @@ "generator": false }, { - "__docId__": 998, + "__docId__": 997, "kind": "method", "static": false, "variation": null, @@ -20295,7 +20280,7 @@ "generator": false }, { - "__docId__": 999, + "__docId__": 998, "kind": "method", "static": false, "variation": null, @@ -20317,7 +20302,7 @@ "generator": false }, { - "__docId__": 1000, + "__docId__": 999, "kind": "method", "static": false, "variation": null, @@ -20339,7 +20324,7 @@ "generator": false }, { - "__docId__": 1001, + "__docId__": 1000, "kind": "method", "static": false, "variation": null, @@ -20372,7 +20357,7 @@ "generator": false }, { - "__docId__": 1002, + "__docId__": 1001, "kind": "method", "static": false, "variation": null, @@ -20405,7 +20390,7 @@ "generator": false }, { - "__docId__": 1003, + "__docId__": 1002, "kind": "method", "static": false, "variation": null, @@ -20438,7 +20423,7 @@ "generator": false }, { - "__docId__": 1004, + "__docId__": 1003, "kind": "method", "static": false, "variation": null, @@ -20460,7 +20445,7 @@ "generator": false }, { - "__docId__": 1005, + "__docId__": 1004, "kind": "method", "static": false, "variation": null, @@ -20501,7 +20486,7 @@ "generator": false }, { - "__docId__": 1006, + "__docId__": 1005, "kind": "method", "static": false, "variation": null, @@ -20523,7 +20508,7 @@ "generator": false }, { - "__docId__": 1007, + "__docId__": 1006, "kind": "file", "static": true, "variation": null, @@ -20536,7 +20521,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__": 1008, + "__docId__": 1007, "kind": "variable", "static": true, "variation": null, @@ -20556,7 +20541,7 @@ } }, { - "__docId__": 1009, + "__docId__": 1008, "kind": "variable", "static": true, "variation": null, @@ -20596,7 +20581,7 @@ } }, { - "__docId__": 1010, + "__docId__": 1009, "kind": "variable", "static": true, "variation": null, @@ -20636,7 +20621,7 @@ } }, { - "__docId__": 1011, + "__docId__": 1010, "kind": "variable", "static": true, "variation": null, @@ -20676,7 +20661,7 @@ } }, { - "__docId__": 1012, + "__docId__": 1011, "kind": "variable", "static": true, "variation": null, @@ -20722,7 +20707,7 @@ } }, { - "__docId__": 1013, + "__docId__": 1012, "kind": "variable", "static": true, "variation": null, @@ -20768,7 +20753,7 @@ } }, { - "__docId__": 1014, + "__docId__": 1013, "kind": "variable", "static": true, "variation": null, @@ -20808,7 +20793,7 @@ } }, { - "__docId__": 1015, + "__docId__": 1014, "kind": "variable", "static": true, "variation": null, @@ -20848,7 +20833,7 @@ } }, { - "__docId__": 1016, + "__docId__": 1015, "kind": "variable", "static": true, "variation": null, @@ -20888,7 +20873,7 @@ } }, { - "__docId__": 1018, + "__docId__": 1017, "kind": "external", "static": true, "variation": null, @@ -20901,7 +20886,7 @@ "builtinExternal": true }, { - "__docId__": 1019, + "__docId__": 1018, "kind": "external", "static": true, "variation": null, @@ -20914,7 +20899,7 @@ "builtinExternal": true }, { - "__docId__": 1020, + "__docId__": 1019, "kind": "external", "static": true, "variation": null, @@ -20927,7 +20912,7 @@ "builtinExternal": true }, { - "__docId__": 1021, + "__docId__": 1020, "kind": "external", "static": true, "variation": null, @@ -20940,7 +20925,7 @@ "builtinExternal": true }, { - "__docId__": 1022, + "__docId__": 1021, "kind": "external", "static": true, "variation": null, @@ -20953,7 +20938,7 @@ "builtinExternal": true }, { - "__docId__": 1023, + "__docId__": 1022, "kind": "external", "static": true, "variation": null, @@ -20966,7 +20951,7 @@ "builtinExternal": true }, { - "__docId__": 1024, + "__docId__": 1023, "kind": "external", "static": true, "variation": null, @@ -20979,7 +20964,7 @@ "builtinExternal": true }, { - "__docId__": 1025, + "__docId__": 1024, "kind": "external", "static": true, "variation": null, @@ -20992,7 +20977,7 @@ "builtinExternal": true }, { - "__docId__": 1026, + "__docId__": 1025, "kind": "external", "static": true, "variation": null, @@ -21005,7 +20990,7 @@ "builtinExternal": true }, { - "__docId__": 1027, + "__docId__": 1026, "kind": "external", "static": true, "variation": null, @@ -21018,7 +21003,7 @@ "builtinExternal": true }, { - "__docId__": 1028, + "__docId__": 1027, "kind": "external", "static": true, "variation": null, @@ -21031,7 +21016,7 @@ "builtinExternal": true }, { - "__docId__": 1029, + "__docId__": 1028, "kind": "external", "static": true, "variation": null, @@ -21044,7 +21029,7 @@ "builtinExternal": true }, { - "__docId__": 1030, + "__docId__": 1029, "kind": "external", "static": true, "variation": null, @@ -21057,7 +21042,7 @@ "builtinExternal": true }, { - "__docId__": 1031, + "__docId__": 1030, "kind": "external", "static": true, "variation": null, @@ -21070,7 +21055,7 @@ "builtinExternal": true }, { - "__docId__": 1032, + "__docId__": 1031, "kind": "external", "static": true, "variation": null, @@ -21083,7 +21068,7 @@ "builtinExternal": true }, { - "__docId__": 1033, + "__docId__": 1032, "kind": "external", "static": true, "variation": null, @@ -21096,7 +21081,7 @@ "builtinExternal": true }, { - "__docId__": 1034, + "__docId__": 1033, "kind": "external", "static": true, "variation": null, @@ -21109,7 +21094,7 @@ "builtinExternal": true }, { - "__docId__": 1035, + "__docId__": 1034, "kind": "external", "static": true, "variation": null, @@ -21122,7 +21107,7 @@ "builtinExternal": true }, { - "__docId__": 1036, + "__docId__": 1035, "kind": "external", "static": true, "variation": null, @@ -21135,7 +21120,7 @@ "builtinExternal": true }, { - "__docId__": 1037, + "__docId__": 1036, "kind": "external", "static": true, "variation": null, @@ -21148,7 +21133,7 @@ "builtinExternal": true }, { - "__docId__": 1038, + "__docId__": 1037, "kind": "external", "static": true, "variation": null, @@ -21161,7 +21146,7 @@ "builtinExternal": true }, { - "__docId__": 1039, + "__docId__": 1038, "kind": "external", "static": true, "variation": null, @@ -21174,7 +21159,7 @@ "builtinExternal": true }, { - "__docId__": 1040, + "__docId__": 1039, "kind": "external", "static": true, "variation": null, @@ -21187,7 +21172,7 @@ "builtinExternal": true }, { - "__docId__": 1041, + "__docId__": 1040, "kind": "external", "static": true, "variation": null, @@ -21200,7 +21185,7 @@ "builtinExternal": true }, { - "__docId__": 1042, + "__docId__": 1041, "kind": "external", "static": true, "variation": null, @@ -21213,7 +21198,7 @@ "builtinExternal": true }, { - "__docId__": 1043, + "__docId__": 1042, "kind": "external", "static": true, "variation": null, @@ -21226,7 +21211,7 @@ "builtinExternal": true }, { - "__docId__": 1044, + "__docId__": 1043, "kind": "external", "static": true, "variation": null, @@ -21239,7 +21224,7 @@ "builtinExternal": true }, { - "__docId__": 1045, + "__docId__": 1044, "kind": "external", "static": true, "variation": null, @@ -21252,7 +21237,7 @@ "builtinExternal": true }, { - "__docId__": 1046, + "__docId__": 1045, "kind": "external", "static": true, "variation": null, @@ -21265,7 +21250,7 @@ "builtinExternal": true }, { - "__docId__": 1047, + "__docId__": 1046, "kind": "external", "static": true, "variation": null, @@ -21278,7 +21263,7 @@ "builtinExternal": true }, { - "__docId__": 1048, + "__docId__": 1047, "kind": "external", "static": true, "variation": null, @@ -21291,7 +21276,7 @@ "builtinExternal": true }, { - "__docId__": 1049, + "__docId__": 1048, "kind": "external", "static": true, "variation": null, @@ -21304,7 +21289,7 @@ "builtinExternal": true }, { - "__docId__": 1050, + "__docId__": 1049, "kind": "external", "static": true, "variation": null, @@ -21317,7 +21302,7 @@ "builtinExternal": true }, { - "__docId__": 1051, + "__docId__": 1050, "kind": "external", "static": true, "variation": null, @@ -21330,7 +21315,7 @@ "builtinExternal": true }, { - "__docId__": 1052, + "__docId__": 1051, "kind": "external", "static": true, "variation": null, @@ -21343,7 +21328,7 @@ "builtinExternal": true }, { - "__docId__": 1053, + "__docId__": 1052, "kind": "external", "static": true, "variation": null, @@ -21356,7 +21341,7 @@ "builtinExternal": true }, { - "__docId__": 1054, + "__docId__": 1053, "kind": "external", "static": true, "variation": null, @@ -21369,7 +21354,7 @@ "builtinExternal": true }, { - "__docId__": 1055, + "__docId__": 1054, "kind": "external", "static": true, "variation": null, @@ -21382,7 +21367,7 @@ "builtinExternal": true }, { - "__docId__": 1056, + "__docId__": 1055, "kind": "external", "static": true, "variation": null, @@ -21395,7 +21380,7 @@ "builtinExternal": true }, { - "__docId__": 1057, + "__docId__": 1056, "kind": "external", "static": true, "variation": null, @@ -21408,7 +21393,7 @@ "builtinExternal": true }, { - "__docId__": 1058, + "__docId__": 1057, "kind": "external", "static": true, "variation": null, @@ -21421,7 +21406,7 @@ "builtinExternal": true }, { - "__docId__": 1059, + "__docId__": 1058, "kind": "external", "static": true, "variation": null, @@ -21434,7 +21419,7 @@ "builtinExternal": true }, { - "__docId__": 1060, + "__docId__": 1059, "kind": "external", "static": true, "variation": null, @@ -21447,7 +21432,7 @@ "builtinExternal": true }, { - "__docId__": 1061, + "__docId__": 1060, "kind": "external", "static": true, "variation": null, @@ -21460,7 +21445,7 @@ "builtinExternal": true }, { - "__docId__": 1062, + "__docId__": 1061, "kind": "external", "static": true, "variation": null, @@ -21473,7 +21458,7 @@ "builtinExternal": true }, { - "__docId__": 1063, + "__docId__": 1062, "kind": "external", "static": true, "variation": null, @@ -21486,7 +21471,7 @@ "builtinExternal": true }, { - "__docId__": 1064, + "__docId__": 1063, "kind": "external", "static": true, "variation": null, @@ -21499,7 +21484,7 @@ "builtinExternal": true }, { - "__docId__": 1066, + "__docId__": 1065, "kind": "external", "static": true, "variation": null, @@ -21512,7 +21497,7 @@ "builtinExternal": true }, { - "__docId__": 1067, + "__docId__": 1066, "kind": "external", "static": true, "variation": null, @@ -21525,7 +21510,7 @@ "builtinExternal": true }, { - "__docId__": 1068, + "__docId__": 1067, "kind": "external", "static": true, "variation": null, @@ -21538,7 +21523,7 @@ "builtinExternal": true }, { - "__docId__": 1069, + "__docId__": 1068, "kind": "external", "static": true, "variation": null, @@ -21551,7 +21536,7 @@ "builtinExternal": true }, { - "__docId__": 1070, + "__docId__": 1069, "kind": "external", "static": true, "variation": null, @@ -21564,7 +21549,7 @@ "builtinExternal": true }, { - "__docId__": 1071, + "__docId__": 1070, "kind": "external", "static": true, "variation": null, @@ -21577,7 +21562,7 @@ "builtinExternal": true }, { - "__docId__": 1072, + "__docId__": 1071, "kind": "external", "static": true, "variation": null, @@ -21590,7 +21575,7 @@ "builtinExternal": true }, { - "__docId__": 1073, + "__docId__": 1072, "kind": "external", "static": true, "variation": null, diff --git a/docs/file/src/array.js.html b/docs/file/src/array.js.html index 63d0a83e..97310e15 100644 --- a/docs/file/src/array.js.html +++ b/docs/file/src/array.js.html @@ -3,7 +3,7 @@ - src/array.js | tablefilter v0.2.40 API Document + src/array.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/const.js.html b/docs/file/src/const.js.html index c8b4117f..eb671da8 100644 --- a/docs/file/src/const.js.html +++ b/docs/file/src/const.js.html @@ -3,7 +3,7 @@ - src/const.js | tablefilter v0.2.40 API Document + src/const.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/cookie.js.html b/docs/file/src/cookie.js.html index c14e27e2..aa1415c0 100644 --- a/docs/file/src/cookie.js.html +++ b/docs/file/src/cookie.js.html @@ -3,7 +3,7 @@ - src/cookie.js | tablefilter v0.2.40 API Document + src/cookie.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/date.js.html b/docs/file/src/date.js.html index 7110a422..2d43709f 100644 --- a/docs/file/src/date.js.html +++ b/docs/file/src/date.js.html @@ -3,7 +3,7 @@ - src/date.js | tablefilter v0.2.40 API Document + src/date.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/dom.js.html b/docs/file/src/dom.js.html index 4cccb0d9..e5b1a8fb 100644 --- a/docs/file/src/dom.js.html +++ b/docs/file/src/dom.js.html @@ -3,7 +3,7 @@ - src/dom.js | tablefilter v0.2.40 API Document + src/dom.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/emitter.js.html b/docs/file/src/emitter.js.html index df6c52ec..0d7d34b3 100644 --- a/docs/file/src/emitter.js.html +++ b/docs/file/src/emitter.js.html @@ -3,7 +3,7 @@ - src/emitter.js | tablefilter v0.2.40 API Document + src/emitter.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/event.js.html b/docs/file/src/event.js.html index 68c83af9..2d19a93d 100644 --- a/docs/file/src/event.js.html +++ b/docs/file/src/event.js.html @@ -3,7 +3,7 @@ - src/event.js | tablefilter v0.2.40 API Document + src/event.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html b/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html index 05e18fbf..861f3b27 100644 --- a/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html +++ b/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html @@ -3,7 +3,7 @@ - src/extensions/advancedGrid/adapterEzEditTable.js | tablefilter v0.2.40 API Document + src/extensions/advancedGrid/adapterEzEditTable.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/extensions/advancedGrid/advancedGrid.js.html b/docs/file/src/extensions/advancedGrid/advancedGrid.js.html index 872e6d90..c75a982a 100644 --- a/docs/file/src/extensions/advancedGrid/advancedGrid.js.html +++ b/docs/file/src/extensions/advancedGrid/advancedGrid.js.html @@ -3,7 +3,7 @@ - src/extensions/advancedGrid/advancedGrid.js | tablefilter v0.2.40 API Document + src/extensions/advancedGrid/advancedGrid.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/extensions/colOps/colOps.js.html b/docs/file/src/extensions/colOps/colOps.js.html index a20b92ff..1c407139 100644 --- a/docs/file/src/extensions/colOps/colOps.js.html +++ b/docs/file/src/extensions/colOps/colOps.js.html @@ -3,7 +3,7 @@ - src/extensions/colOps/colOps.js | tablefilter v0.2.40 API Document + src/extensions/colOps/colOps.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/extensions/colsVisibility/colsVisibility.js.html b/docs/file/src/extensions/colsVisibility/colsVisibility.js.html index d33ddfae..63c5658d 100644 --- a/docs/file/src/extensions/colsVisibility/colsVisibility.js.html +++ b/docs/file/src/extensions/colsVisibility/colsVisibility.js.html @@ -3,7 +3,7 @@ - src/extensions/colsVisibility/colsVisibility.js | tablefilter v0.2.40 API Document + src/extensions/colsVisibility/colsVisibility.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html b/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html index 6ba343e1..4974f028 100644 --- a/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html +++ b/docs/file/src/extensions/filtersVisibility/filtersVisibility.js.html @@ -3,7 +3,7 @@ - src/extensions/filtersVisibility/filtersVisibility.js | tablefilter v0.2.40 API Document + src/extensions/filtersVisibility/filtersVisibility.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/extensions/sort/adapterSortabletable.js.html b/docs/file/src/extensions/sort/adapterSortabletable.js.html index 4081395a..cdaf709c 100644 --- a/docs/file/src/extensions/sort/adapterSortabletable.js.html +++ b/docs/file/src/extensions/sort/adapterSortabletable.js.html @@ -3,7 +3,7 @@ - src/extensions/sort/adapterSortabletable.js | tablefilter v0.2.40 API Document + src/extensions/sort/adapterSortabletable.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/extensions/sort/sort.js.html b/docs/file/src/extensions/sort/sort.js.html index a1188f1b..a862263e 100644 --- a/docs/file/src/extensions/sort/sort.js.html +++ b/docs/file/src/extensions/sort/sort.js.html @@ -3,7 +3,7 @@ - src/extensions/sort/sort.js | tablefilter v0.2.40 API Document + src/extensions/sort/sort.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/feature.js.html b/docs/file/src/feature.js.html index e3131909..1332d15f 100644 --- a/docs/file/src/feature.js.html +++ b/docs/file/src/feature.js.html @@ -3,7 +3,7 @@ - src/feature.js | tablefilter v0.2.40 API Document + src/feature.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/helpers.js.html b/docs/file/src/helpers.js.html index 61eac780..ff9b7329 100644 --- a/docs/file/src/helpers.js.html +++ b/docs/file/src/helpers.js.html @@ -3,7 +3,7 @@ - src/helpers.js | tablefilter v0.2.40 API Document + src/helpers.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/modules/alternateRows.js.html b/docs/file/src/modules/alternateRows.js.html index 73ab2dfb..f1bc0f1f 100644 --- a/docs/file/src/modules/alternateRows.js.html +++ b/docs/file/src/modules/alternateRows.js.html @@ -3,7 +3,7 @@ - src/modules/alternateRows.js | tablefilter v0.2.40 API Document + src/modules/alternateRows.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/modules/checkList.js.html b/docs/file/src/modules/checkList.js.html index b554ef1c..7eb64648 100644 --- a/docs/file/src/modules/checkList.js.html +++ b/docs/file/src/modules/checkList.js.html @@ -3,7 +3,7 @@ - src/modules/checkList.js | tablefilter v0.2.40 API Document + src/modules/checkList.js | tablefilter v0.2.41 API Document @@ -233,23 +233,17 @@ export class CheckList extends Feature { this.excludedOpts = []; } - /** - * Checklist change event handler - * @param {Event} evt - */ - onChange(evt) { - let elm = targetEvt(evt); - let tf = this.tf; - this.emitter.emit('filter-focus', tf, elm); - tf.filter(); - } - /** * Checklist option click event handler * @param {Event} evt */ optionClick(evt) { - this.setCheckListValues(evt.target); + let elm = targetEvt(evt); + let tf = this.tf; + + this.emitter.emit('filter-focus', tf, elm); + this.setCheckListValues(elm); + tf.filter(); } /** @@ -302,7 +296,7 @@ export class CheckList extends Feature { this.emitter.on( ['build-checklist-filter'], - (tf, colIndex, isExternal) => this.build(colIndex, isExternal) + (tf, colIndex) => this.build(colIndex) ); this.emitter.on( @@ -330,7 +324,6 @@ export class CheckList extends Feature { let ul = createElm('ul', ['id', tf.fltIds[colIndex]], ['colIndex', colIndex]); ul.className = this.filterCssClass; - addEvt(ul, 'change', (evt) => this.onChange(evt)); let rows = tf.tbl.rows; let nbRows = tf.getRowsNb(true); diff --git a/docs/file/src/modules/clearButton.js.html b/docs/file/src/modules/clearButton.js.html index d3f17b4e..a09ecf71 100644 --- a/docs/file/src/modules/clearButton.js.html +++ b/docs/file/src/modules/clearButton.js.html @@ -3,7 +3,7 @@ - src/modules/clearButton.js | tablefilter v0.2.40 API Document + src/modules/clearButton.js | tablefilter v0.2.41 API Document @@ -119,35 +119,66 @@ import {createElm, createText, elm, removeElm} from '../dom'; import {addEvt} from '../event'; +/** + * Clear button UI component + */ export class ClearButton extends Feature { /** - * Clear button component - * @param {Object} tf TableFilter instance + * Creates an instance of ClearButton + * @param {TableFilter} tf TableFilter instance */ constructor(tf) { super(tf, 'btnReset'); - // Configuration object let f = this.config; - //id of container element - this.btnResetTgtId = f.btn_reset_target_id || null; - //reset button element - this.btnResetEl = null; - //defines reset text - this.btnResetText = f.btn_reset_text || 'Reset'; - //defines reset button tooltip - this.btnResetTooltip = f.btn_reset_tooltip || 'Clear filters'; - //defines reset button innerHtml - this.btnResetHtml = f.btn_reset_html || + /** + * Container element ID + * @type {String} + */ + this.targetId = f.btn_reset_target_id || null; + + /** + * Clear button element + * @type {DOMElement} + * @private + */ + this.element = null; + + /** + * Text for the clear button + * @type {String} + */ + this.text = f.btn_reset_text || 'Reset'; + + /** + * Tooltip text for the clear button + * @type {String} + */ + this.tooltip = f.btn_reset_tooltip || 'Clear filters'; + + /** + * Custom Html string for the clear button + * @type {String} + */ + this.html = f.btn_reset_html || (!tf.enableIcons ? null : '<input type="button" value="" class="' + tf.btnResetCssClass + - '" ' + 'title="' + this.btnResetTooltip + '" />'); - //span containing reset button - this.prfxResetSpan = 'resetspan_'; + '" ' + 'title="' + this.tooltip + '" />'); + + /** + * Prefix fot ID of container element + * @type {String} + * @private + */ + this.prfxCont = 'resetspan_'; } + /** + * Click event handler for clear button + * @private + */ onClick() { if (!this.isEnabled()) { return; @@ -156,7 +187,7 @@ export class ClearButton extends Feature { } /** - * Build DOM elements + * Initialize clear button component */ init() { let tf = this.tf; @@ -165,33 +196,33 @@ export class ClearButton extends Feature { return; } - let resetspan = createElm('span', ['id', this.prfxResetSpan + tf.id]); + let resetspan = createElm('span', ['id', this.prfxCont + tf.id]); // reset button is added to defined element - if (!this.btnResetTgtId) { + if (!this.targetId) { tf.setToolbar(); } - let targetEl = !this.btnResetTgtId ? tf.rDiv : elm(this.btnResetTgtId); + let targetEl = !this.targetId ? tf.rDiv : elm(this.targetId); targetEl.appendChild(resetspan); - if (!this.btnResetHtml) { - let fltreset = createElm('a', ['href', 'javascript:voelm(0);']); + if (!this.html) { + let fltreset = createElm('a', ['href', 'javascript:void(0);']); fltreset.className = tf.btnResetCssClass; - fltreset.appendChild(createText(this.btnResetText)); + fltreset.appendChild(createText(this.text)); resetspan.appendChild(fltreset); addEvt(fltreset, 'click', () => this.onClick()); } else { - resetspan.innerHTML = this.btnResetHtml; + resetspan.innerHTML = this.html; let resetEl = resetspan.firstChild; addEvt(resetEl, 'click', () => this.onClick()); } - this.btnResetEl = resetspan.firstChild; + this.element = resetspan.firstChild; this.initialized = true; } /** - * Remove clear button UI + * Destroy ClearButton instance */ destroy() { let tf = this.tf; @@ -200,11 +231,11 @@ export class ClearButton extends Feature { return; } - let resetspan = elm(this.prfxResetSpan + tf.id); + let resetspan = elm(this.prfxCont + tf.id); if (resetspan) { removeElm(resetspan); } - this.btnResetEl = null; + this.element = null; this.initialized = false; } } diff --git a/docs/file/src/modules/dropdown.js.html b/docs/file/src/modules/dropdown.js.html index 89d7e0ea..19eea0e5 100644 --- a/docs/file/src/modules/dropdown.js.html +++ b/docs/file/src/modules/dropdown.js.html @@ -3,7 +3,7 @@ - src/modules/dropdown.js | tablefilter v0.2.40 API Document + src/modules/dropdown.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/modules/gridLayout.js.html b/docs/file/src/modules/gridLayout.js.html index 9f0bdb01..ed25fd55 100644 --- a/docs/file/src/modules/gridLayout.js.html +++ b/docs/file/src/modules/gridLayout.js.html @@ -3,7 +3,7 @@ - src/modules/gridLayout.js | tablefilter v0.2.40 API Document + src/modules/gridLayout.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/modules/hash.js.html b/docs/file/src/modules/hash.js.html index f5ee77f1..37fc058d 100644 --- a/docs/file/src/modules/hash.js.html +++ b/docs/file/src/modules/hash.js.html @@ -3,7 +3,7 @@ - src/modules/hash.js | tablefilter v0.2.40 API Document + src/modules/hash.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/modules/help.js.html b/docs/file/src/modules/help.js.html index a40885e4..8b71994a 100644 --- a/docs/file/src/modules/help.js.html +++ b/docs/file/src/modules/help.js.html @@ -3,7 +3,7 @@ - src/modules/help.js | tablefilter v0.2.40 API Document + src/modules/help.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/modules/highlightKeywords.js.html b/docs/file/src/modules/highlightKeywords.js.html index eedcbab7..78150ccc 100644 --- a/docs/file/src/modules/highlightKeywords.js.html +++ b/docs/file/src/modules/highlightKeywords.js.html @@ -3,7 +3,7 @@ - src/modules/highlightKeywords.js | tablefilter v0.2.40 API Document + src/modules/highlightKeywords.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/modules/loader.js.html b/docs/file/src/modules/loader.js.html index 070c760e..8b059d33 100644 --- a/docs/file/src/modules/loader.js.html +++ b/docs/file/src/modules/loader.js.html @@ -3,7 +3,7 @@ - src/modules/loader.js | tablefilter v0.2.40 API Document + src/modules/loader.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/modules/noResults.js.html b/docs/file/src/modules/noResults.js.html index 0fe090b5..28a1ac50 100644 --- a/docs/file/src/modules/noResults.js.html +++ b/docs/file/src/modules/noResults.js.html @@ -3,7 +3,7 @@ - src/modules/noResults.js | tablefilter v0.2.40 API Document + src/modules/noResults.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/modules/paging.js.html b/docs/file/src/modules/paging.js.html index 85754fa9..1152eda7 100644 --- a/docs/file/src/modules/paging.js.html +++ b/docs/file/src/modules/paging.js.html @@ -3,7 +3,7 @@ - src/modules/paging.js | tablefilter v0.2.40 API Document + src/modules/paging.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/modules/popupFilter.js.html b/docs/file/src/modules/popupFilter.js.html index 1c8e6ff4..3bef9a0b 100644 --- a/docs/file/src/modules/popupFilter.js.html +++ b/docs/file/src/modules/popupFilter.js.html @@ -3,7 +3,7 @@ - src/modules/popupFilter.js | tablefilter v0.2.40 API Document + src/modules/popupFilter.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/modules/rowsCounter.js.html b/docs/file/src/modules/rowsCounter.js.html index edfdd392..a3febf73 100644 --- a/docs/file/src/modules/rowsCounter.js.html +++ b/docs/file/src/modules/rowsCounter.js.html @@ -3,7 +3,7 @@ - src/modules/rowsCounter.js | tablefilter v0.2.40 API Document + src/modules/rowsCounter.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/modules/state.js.html b/docs/file/src/modules/state.js.html index 5cb17c71..5d16d351 100644 --- a/docs/file/src/modules/state.js.html +++ b/docs/file/src/modules/state.js.html @@ -3,7 +3,7 @@ - src/modules/state.js | tablefilter v0.2.40 API Document + src/modules/state.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/modules/statusBar.js.html b/docs/file/src/modules/statusBar.js.html index badd005d..8ae475f1 100644 --- a/docs/file/src/modules/statusBar.js.html +++ b/docs/file/src/modules/statusBar.js.html @@ -3,7 +3,7 @@ - src/modules/statusBar.js | tablefilter v0.2.40 API Document + src/modules/statusBar.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/modules/storage.js.html b/docs/file/src/modules/storage.js.html index 4be87ac7..427b573e 100644 --- a/docs/file/src/modules/storage.js.html +++ b/docs/file/src/modules/storage.js.html @@ -3,7 +3,7 @@ - src/modules/storage.js | tablefilter v0.2.40 API Document + src/modules/storage.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/root.js.html b/docs/file/src/root.js.html index e9e63a7f..b4b14e81 100644 --- a/docs/file/src/root.js.html +++ b/docs/file/src/root.js.html @@ -3,7 +3,7 @@ - src/root.js | tablefilter v0.2.40 API Document + src/root.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/sort.js.html b/docs/file/src/sort.js.html index c1f3d93b..53d96bef 100644 --- a/docs/file/src/sort.js.html +++ b/docs/file/src/sort.js.html @@ -3,7 +3,7 @@ - src/sort.js | tablefilter v0.2.40 API Document + src/sort.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/string.js.html b/docs/file/src/string.js.html index 67663dcf..2ca14027 100644 --- a/docs/file/src/string.js.html +++ b/docs/file/src/string.js.html @@ -3,7 +3,7 @@ - src/string.js | tablefilter v0.2.40 API Document + src/string.js | tablefilter v0.2.41 API Document diff --git a/docs/file/src/tablefilter.js.html b/docs/file/src/tablefilter.js.html index 1b039e51..6856b109 100644 --- a/docs/file/src/tablefilter.js.html +++ b/docs/file/src/tablefilter.js.html @@ -3,7 +3,7 @@ - src/tablefilter.js | tablefilter v0.2.40 API Document + src/tablefilter.js | tablefilter v0.2.41 API Document @@ -1487,8 +1487,8 @@ export class TableFilter { // already filtered rows display re-init row[k].style.display = ''; - let cells = row[k].cells, - nchilds = cells.length; + let cells = row[k].cells; + let nchilds = cells.length; // checks if row has exact cell # if (nchilds !== this.nbCells) { diff --git a/docs/file/src/types.js.html b/docs/file/src/types.js.html index be416c7d..ed0719e6 100644 --- a/docs/file/src/types.js.html +++ b/docs/file/src/types.js.html @@ -3,7 +3,7 @@ - src/types.js | tablefilter v0.2.40 API Document + src/types.js | tablefilter v0.2.41 API Document diff --git a/docs/identifiers.html b/docs/identifiers.html index 456fc59f..f811d40b 100644 --- a/docs/identifiers.html +++ b/docs/identifiers.html @@ -3,7 +3,7 @@ - Index | tablefilter v0.2.40 API Document + Index | tablefilter v0.2.41 API Document @@ -238,7 +238,8 @@
- +

Clear button UI component

+
diff --git a/docs/index.html b/docs/index.html index 5c188cd9..065ee59b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,7 +3,7 @@ - tablefilter v0.2.40 API Document + tablefilter v0.2.41 API Document diff --git a/docs/package.json b/docs/package.json index ee51d5c5..e3b08bed 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "tablefilter", - "version": "0.2.40", + "version": "0.2.41", "description": "A Javascript library making HTML tables filterable and a bit more", "license": "MIT", "author": { @@ -28,7 +28,7 @@ "tag": "next" }, "devDependencies": { - "babel-core": "^6.9.1", + "babel-core": "^6.10.4", "babel-eslint": "6.1.0", "babel-loader": "^6.0.1", "babel-preset-es2015": "^6.9.0", diff --git a/docs/script/search_index.js b/docs/script/search_index.js index a4fbf482..dcdbc7c6 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -1955,12 +1955,6 @@ window.esdocSearchIndex = [ "src/modules/checkList.js~CheckList#itemCssClass", "member" ], - [ - "src/modules/checklist.js~checklist#onchange", - "class/src/modules/checkList.js~CheckList.html#instance-method-onChange", - "src/modules/checkList.js~CheckList#onChange", - "method" - ], [ "src/modules/checklist.js~checklist#onchecklistclick", "class/src/modules/checkList.js~CheckList.html#instance-method-onCheckListClick", @@ -1997,36 +1991,6 @@ window.esdocSearchIndex = [ "src/modules/clearButton.js", "file" ], - [ - "src/modules/clearbutton.js~clearbutton#btnresetel", - "class/src/modules/clearButton.js~ClearButton.html#instance-member-btnResetEl", - "src/modules/clearButton.js~ClearButton#btnResetEl", - "member" - ], - [ - "src/modules/clearbutton.js~clearbutton#btnresethtml", - "class/src/modules/clearButton.js~ClearButton.html#instance-member-btnResetHtml", - "src/modules/clearButton.js~ClearButton#btnResetHtml", - "member" - ], - [ - "src/modules/clearbutton.js~clearbutton#btnresettext", - "class/src/modules/clearButton.js~ClearButton.html#instance-member-btnResetText", - "src/modules/clearButton.js~ClearButton#btnResetText", - "member" - ], - [ - "src/modules/clearbutton.js~clearbutton#btnresettgtid", - "class/src/modules/clearButton.js~ClearButton.html#instance-member-btnResetTgtId", - "src/modules/clearButton.js~ClearButton#btnResetTgtId", - "member" - ], - [ - "src/modules/clearbutton.js~clearbutton#btnresettooltip", - "class/src/modules/clearButton.js~ClearButton.html#instance-member-btnResetTooltip", - "src/modules/clearButton.js~ClearButton#btnResetTooltip", - "member" - ], [ "src/modules/clearbutton.js~clearbutton#constructor", "class/src/modules/clearButton.js~ClearButton.html#instance-constructor-constructor", @@ -2039,6 +2003,12 @@ window.esdocSearchIndex = [ "src/modules/clearButton.js~ClearButton#destroy", "method" ], + [ + "src/modules/clearbutton.js~clearbutton#html", + "class/src/modules/clearButton.js~ClearButton.html#instance-member-html", + "src/modules/clearButton.js~ClearButton#html", + "member" + ], [ "src/modules/clearbutton.js~clearbutton#init", "class/src/modules/clearButton.js~ClearButton.html#instance-method-init", @@ -2052,15 +2022,21 @@ window.esdocSearchIndex = [ "member" ], [ - "src/modules/clearbutton.js~clearbutton#onclick", - "class/src/modules/clearButton.js~ClearButton.html#instance-method-onClick", - "src/modules/clearButton.js~ClearButton#onClick", - "method" + "src/modules/clearbutton.js~clearbutton#targetid", + "class/src/modules/clearButton.js~ClearButton.html#instance-member-targetId", + "src/modules/clearButton.js~ClearButton#targetId", + "member" ], [ - "src/modules/clearbutton.js~clearbutton#prfxresetspan", - "class/src/modules/clearButton.js~ClearButton.html#instance-member-prfxResetSpan", - "src/modules/clearButton.js~ClearButton#prfxResetSpan", + "src/modules/clearbutton.js~clearbutton#text", + "class/src/modules/clearButton.js~ClearButton.html#instance-member-text", + "src/modules/clearButton.js~ClearButton#text", + "member" + ], + [ + "src/modules/clearbutton.js~clearbutton#tooltip", + "class/src/modules/clearButton.js~ClearButton.html#instance-member-tooltip", + "src/modules/clearButton.js~ClearButton#tooltip", "member" ], [ diff --git a/docs/source.html b/docs/source.html index baf39339..a0dfa7d1 100644 --- a/docs/source.html +++ b/docs/source.html @@ -3,7 +3,7 @@ - Source | tablefilter v0.2.40 API Document + Source | tablefilter v0.2.41 API Document @@ -114,7 +114,7 @@
-

Source 297/776

+

Source 301/772

@@ -135,7 +135,7 @@ - + @@ -155,7 +155,7 @@ - + @@ -163,7 +163,7 @@ - + @@ -172,7 +172,7 @@ - + @@ -191,7 +191,7 @@ - + @@ -199,7 +199,7 @@ - + @@ -212,7 +212,7 @@ - + @@ -220,7 +220,7 @@ - + @@ -228,7 +228,7 @@ - + @@ -236,7 +236,7 @@ - + @@ -244,7 +244,7 @@ - + @@ -252,7 +252,7 @@ - + @@ -260,7 +260,7 @@ - + @@ -268,7 +268,7 @@ - + @@ -276,7 +276,7 @@ - + @@ -284,7 +284,7 @@ - + @@ -292,23 +292,23 @@ - + - + - - - - + + + + - + - - - - + + + + @@ -316,7 +316,7 @@ - + @@ -324,7 +324,7 @@ - + @@ -333,7 +333,7 @@ - + @@ -341,7 +341,7 @@ - + @@ -349,7 +349,7 @@ - + @@ -357,7 +357,7 @@ - + @@ -365,7 +365,7 @@ - + @@ -373,7 +373,7 @@ - + @@ -381,7 +381,7 @@ - + @@ -389,7 +389,7 @@ - + @@ -397,7 +397,7 @@ - + @@ -405,7 +405,7 @@ - + @@ -414,7 +414,7 @@ - + @@ -422,7 +422,7 @@ - + @@ -432,7 +432,7 @@ - + @@ -444,7 +444,7 @@ - + @@ -452,7 +452,7 @@ - + @@ -467,7 +467,7 @@ - +
100 %1/1 545 byte 222016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/const.js100 %13/13 1133 byte 842016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/cookie.js- 1515 byte 622016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/date.js100 %2/2 5770 byte 1832016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/dom.js100 %12/12 4787 byte 1912016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/emitter.js100 %6/6 1323 byte 532016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/event.js100 %6/6 2378 byte 1022016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/extensions/advancedGrid/adapterEzEditTable.js35 %5/14 18245 byte 4592016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/extensions/advancedGrid/advancedGrid.js- 90 byte 22016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/extensions/colOps/colOps.js22 %2/9 12868 byte 3292016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/extensions/colsVisibility/colsVisibility.js17 %10/57 18064 byte 5462016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/extensions/filtersVisibility/filtersVisibility.js18 %6/33 6337 byte 2022016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/extensions/sort/adapterSortabletable.js11 %3/26 14150 byte 4322016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/extensions/sort/sort.js- 197 byte 82016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/feature.js100 %14/14 1761 byte 942016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/helpers.js100 %1/1 488 byte 232016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/modules/alternateRows.js88 %8/9 3481 byte 1372016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/modules/checkList.jssrc/modules/checkList.js CheckList95 %21/2218762 byte5722016-06-07 12:20:27 (UTC)95 %20/2118566 byte5652016-07-07 04:55:26 (UTC)
src/modules/clearButton.jssrc/modules/clearButton.js ClearButton25 %3/122658 byte932016-06-07 12:20:27 (UTC)88 %8/93055 byte1242016-07-07 04:55:26 (UTC)
src/modules/dropdown.js35 %7/20 13048 byte 3912016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/modules/gridLayout.js71 %15/21 12944 byte 4252016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/modules/hash.js63 %7/11 2416 byte 1002016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/modules/help.js21 %4/19 5495 byte 1602016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/modules/highlightKeywords.js40 %4/10 4011 byte 1222016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/modules/loader.js6 %1/15 4565 byte 1552016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/modules/noResults.js5 %1/20 3735 byte 1362016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/modules/paging.js23 %15/63 26227 byte 7572016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/modules/popupFilter.js35 %10/28 9098 byte 2762016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/modules/rowsCounter.js5 %1/18 5009 byte 1492016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/modules/state.js35 %13/37 12252 byte 4132016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/modules/statusBar.js3 %1/29 7663 byte 2222016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/modules/storage.js56 %9/16 2860 byte 1232016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/root.js100 %1/1 235 byte 62016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/sort.js100 %3/3 930 byte 332016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/string.js100 %5/5 1854 byte 692016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/tablefilter.js36 %79/215 77868 byte 23012016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
src/types.js100 %8/8 1451 byte 672016-06-07 12:20:27 (UTC)2016-07-07 04:55:26 (UTC)
diff --git a/docs/variable/index.html b/docs/variable/index.html index 70ac63ba..2f78388b 100644 --- a/docs/variable/index.html +++ b/docs/variable/index.html @@ -3,7 +3,7 @@ - Variable | tablefilter v0.2.40 API Document + Variable | tablefilter v0.2.41 API Document