@bigbinary/neeto-filters-frontend 2.11.3 → 2.11.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -35891,6 +35891,367 @@ var Block = function Block(_ref) {
35891
35891
  })))));
35892
35892
  };
35893
35893
 
35894
+ function cov_1zv3ink1zs() {
35895
+ var path = "/home/runner/work/neeto-filters-frontend/neeto-filters-frontend/src/components/Bar/ChildBlock.jsx";
35896
+ var hash = "fe5d9d9e242aa9c111c9bffe9543756050d11d2f";
35897
+ var global = new Function("return this")();
35898
+ var gcv = "__coverage__";
35899
+ var coverageData = {
35900
+ path: "/home/runner/work/neeto-filters-frontend/neeto-filters-frontend/src/components/Bar/ChildBlock.jsx",
35901
+ statementMap: {
35902
+ "0": {
35903
+ start: {
35904
+ line: 9,
35905
+ column: 19
35906
+ },
35907
+ end: {
35908
+ line: 49,
35909
+ column: 1
35910
+ }
35911
+ },
35912
+ "1": {
35913
+ start: {
35914
+ line: 10,
35915
+ column: 31
35916
+ },
35917
+ end: {
35918
+ line: 14,
35919
+ column: 3
35920
+ }
35921
+ },
35922
+ "2": {
35923
+ start: {
35924
+ line: 12,
35925
+ column: 10
35926
+ },
35927
+ end: {
35928
+ line: 12,
35929
+ column: 32
35930
+ }
35931
+ },
35932
+ "3": {
35933
+ start: {
35934
+ line: 16,
35935
+ column: 34
35936
+ },
35937
+ end: {
35938
+ line: 20,
35939
+ column: 3
35940
+ }
35941
+ },
35942
+ "4": {
35943
+ start: {
35944
+ line: 18,
35945
+ column: 10
35946
+ },
35947
+ end: {
35948
+ line: 18,
35949
+ column: 33
35950
+ }
35951
+ },
35952
+ "5": {
35953
+ start: {
35954
+ line: 22,
35955
+ column: 2
35956
+ },
35957
+ end: {
35958
+ line: 48,
35959
+ column: 4
35960
+ }
35961
+ },
35962
+ "6": {
35963
+ start: {
35964
+ line: 28,
35965
+ column: 8
35966
+ },
35967
+ end: {
35968
+ line: 28,
35969
+ column: 44
35970
+ }
35971
+ },
35972
+ "7": {
35973
+ start: {
35974
+ line: 29,
35975
+ column: 8
35976
+ },
35977
+ end: {
35978
+ line: 29,
35979
+ column: 47
35980
+ }
35981
+ },
35982
+ "8": {
35983
+ start: {
35984
+ line: 31,
35985
+ column: 21
35986
+ },
35987
+ end: {
35988
+ line: 31,
35989
+ column: 44
35990
+ }
35991
+ },
35992
+ "9": {
35993
+ start: {
35994
+ line: 42,
35995
+ column: 12
35996
+ },
35997
+ end: {
35998
+ line: 42,
35999
+ column: 36
36000
+ }
36001
+ },
36002
+ "10": {
36003
+ start: {
36004
+ line: 43,
36005
+ column: 12
36006
+ },
36007
+ end: {
36008
+ line: 43,
36009
+ column: 35
36010
+ }
36011
+ }
36012
+ },
36013
+ fnMap: {
36014
+ "0": {
36015
+ name: "(anonymous_0)",
36016
+ decl: {
36017
+ start: {
36018
+ line: 9,
36019
+ column: 19
36020
+ },
36021
+ end: {
36022
+ line: 9,
36023
+ column: 20
36024
+ }
36025
+ },
36026
+ loc: {
36027
+ start: {
36028
+ line: 9,
36029
+ column: 66
36030
+ },
36031
+ end: {
36032
+ line: 49,
36033
+ column: 1
36034
+ }
36035
+ },
36036
+ line: 9
36037
+ },
36038
+ "1": {
36039
+ name: "(anonymous_1)",
36040
+ decl: {
36041
+ start: {
36042
+ line: 12,
36043
+ column: 4
36044
+ },
36045
+ end: {
36046
+ line: 12,
36047
+ column: 5
36048
+ }
36049
+ },
36050
+ loc: {
36051
+ start: {
36052
+ line: 12,
36053
+ column: 10
36054
+ },
36055
+ end: {
36056
+ line: 12,
36057
+ column: 32
36058
+ }
36059
+ },
36060
+ line: 12
36061
+ },
36062
+ "2": {
36063
+ name: "(anonymous_2)",
36064
+ decl: {
36065
+ start: {
36066
+ line: 18,
36067
+ column: 4
36068
+ },
36069
+ end: {
36070
+ line: 18,
36071
+ column: 5
36072
+ }
36073
+ },
36074
+ loc: {
36075
+ start: {
36076
+ line: 18,
36077
+ column: 10
36078
+ },
36079
+ end: {
36080
+ line: 18,
36081
+ column: 33
36082
+ }
36083
+ },
36084
+ line: 18
36085
+ },
36086
+ "3": {
36087
+ name: "(anonymous_3)",
36088
+ decl: {
36089
+ start: {
36090
+ line: 27,
36091
+ column: 11
36092
+ },
36093
+ end: {
36094
+ line: 27,
36095
+ column: 12
36096
+ }
36097
+ },
36098
+ loc: {
36099
+ start: {
36100
+ line: 27,
36101
+ column: 19
36102
+ },
36103
+ end: {
36104
+ line: 30,
36105
+ column: 7
36106
+ }
36107
+ },
36108
+ line: 27
36109
+ },
36110
+ "4": {
36111
+ name: "(anonymous_4)",
36112
+ decl: {
36113
+ start: {
36114
+ line: 31,
36115
+ column: 15
36116
+ },
36117
+ end: {
36118
+ line: 31,
36119
+ column: 16
36120
+ }
36121
+ },
36122
+ loc: {
36123
+ start: {
36124
+ line: 31,
36125
+ column: 21
36126
+ },
36127
+ end: {
36128
+ line: 31,
36129
+ column: 44
36130
+ }
36131
+ },
36132
+ line: 31
36133
+ },
36134
+ "5": {
36135
+ name: "(anonymous_5)",
36136
+ decl: {
36137
+ start: {
36138
+ line: 41,
36139
+ column: 19
36140
+ },
36141
+ end: {
36142
+ line: 41,
36143
+ column: 20
36144
+ }
36145
+ },
36146
+ loc: {
36147
+ start: {
36148
+ line: 41,
36149
+ column: 28
36150
+ },
36151
+ end: {
36152
+ line: 44,
36153
+ column: 11
36154
+ }
36155
+ },
36156
+ line: 41
36157
+ }
36158
+ },
36159
+ branchMap: {},
36160
+ s: {
36161
+ "0": 0,
36162
+ "1": 0,
36163
+ "2": 0,
36164
+ "3": 0,
36165
+ "4": 0,
36166
+ "5": 0,
36167
+ "6": 0,
36168
+ "7": 0,
36169
+ "8": 0,
36170
+ "9": 0,
36171
+ "10": 0
36172
+ },
36173
+ f: {
36174
+ "0": 0,
36175
+ "1": 0,
36176
+ "2": 0,
36177
+ "3": 0,
36178
+ "4": 0,
36179
+ "5": 0
36180
+ },
36181
+ b: {},
36182
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
36183
+ hash: "fe5d9d9e242aa9c111c9bffe9543756050d11d2f"
36184
+ };
36185
+ var coverage = global[gcv] || (global[gcv] = {});
36186
+ if (!coverage[path] || coverage[path].hash !== hash) {
36187
+ coverage[path] = coverageData;
36188
+ }
36189
+ var actualCoverage = coverage[path];
36190
+ {
36191
+ // @ts-ignore
36192
+ cov_1zv3ink1zs = function () {
36193
+ return actualCoverage;
36194
+ };
36195
+ }
36196
+ return actualCoverage;
36197
+ }
36198
+ cov_1zv3ink1zs();
36199
+ cov_1zv3ink1zs().s[0]++;
36200
+ var ChildBlock = function ChildBlock(_ref) {
36201
+ var childKey = _ref.childKey,
36202
+ setIsPaneOpen = _ref.setIsPaneOpen,
36203
+ handleDelete = _ref.handleDelete;
36204
+ cov_1zv3ink1zs().f[0]++;
36205
+ var deleteBlockHotKeyRef = (cov_1zv3ink1zs().s[1]++, useHotKeys(SHORTCUTS.deleteBlock.sequence, function () {
36206
+ cov_1zv3ink1zs().f[1]++;
36207
+ cov_1zv3ink1zs().s[2]++;
36208
+ return handleDelete(childKey);
36209
+ }, {
36210
+ mode: "scoped"
36211
+ }));
36212
+ var openFilterPaneHotKeyRef = (cov_1zv3ink1zs().s[3]++, useHotKeys(SHORTCUTS.openFilterPane.sequence, function () {
36213
+ cov_1zv3ink1zs().f[2]++;
36214
+ cov_1zv3ink1zs().s[4]++;
36215
+ return setIsPaneOpen(childKey);
36216
+ }, {
36217
+ mode: "scoped"
36218
+ }));
36219
+ cov_1zv3ink1zs().s[5]++;
36220
+ return /*#__PURE__*/t__default.createElement("div", {
36221
+ className: "neeto-filters-bar__block",
36222
+ "data-cy": "neeto-filters-".concat(childKey, "-block"),
36223
+ tabIndex: 0,
36224
+ ref: function ref(node) {
36225
+ cov_1zv3ink1zs().f[3]++;
36226
+ cov_1zv3ink1zs().s[6]++;
36227
+ deleteBlockHotKeyRef.current = node;
36228
+ cov_1zv3ink1zs().s[7]++;
36229
+ openFilterPaneHotKeyRef.current = node;
36230
+ },
36231
+ onClick: function onClick() {
36232
+ cov_1zv3ink1zs().f[4]++;
36233
+ cov_1zv3ink1zs().s[8]++;
36234
+ return setIsPaneOpen(childKey);
36235
+ }
36236
+ }, /*#__PURE__*/t__default.createElement(Typography, {
36237
+ style: "body2",
36238
+ weight: "medium"
36239
+ }, childKey), /*#__PURE__*/t__default.createElement("div", {
36240
+ className: "neeto-filters-bar__block-close"
36241
+ }, /*#__PURE__*/t__default.createElement(Close, {
36242
+ "data-cy": "neeto-filters-".concat(childKey, "-block-close-btn"),
36243
+ size: 16,
36244
+ strokeWidth: 2,
36245
+ onClick: function onClick(event) {
36246
+ cov_1zv3ink1zs().f[5]++;
36247
+ cov_1zv3ink1zs().s[9]++;
36248
+ event.stopPropagation();
36249
+ cov_1zv3ink1zs().s[10]++;
36250
+ handleDelete(childKey);
36251
+ }
36252
+ })));
36253
+ };
36254
+
35894
36255
  function e$1(e,t){for(var s=0;s<t.length;s++){var i=t[s];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i);}}new(function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.overlays=[],this.previouslyFocusedElements=[],this.add=this.add.bind(this),this.remove=this.remove.bind(this),this.isTopOverlay=this.isTopOverlay.bind(this),this.hasOverlays=this.hasOverlays.bind(this),this.getFinalFocusInOverlay=this.getFinalFocusInOverlay.bind(this),this.getTopMostOverlay=this.getTopMostOverlay.bind(this);}var s,i;return s=t,(i=[{key:"add",value:function(e,t){this.overlays.push(e),this.previouslyFocusedElements.push(t);}},{key:"remove",value:function(e){this.overlays=this.overlays.filter((function(t){return t!==e}));}},{key:"isTopOverlay",value:function(e){return this.overlays[this.overlays.length-1]===e}},{key:"hasOverlays",value:function(){return this.overlays.length>0}},{key:"getFinalFocusInOverlay",value:function(){return this.previouslyFocusedElements.pop()}},{key:"getTopMostOverlay",value:function(){return this.overlays[this.overlays.length-1]}}])&&e$1(s.prototype,i),Object.defineProperty(s,"prototype",{writable:!1}),t}());
35895
36256
 
35896
36257
  function k$1(){return k$1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);}return e},k$1.apply(this,arguments)}var P$1,A$1={exports:{}};
@@ -37744,7 +38105,7 @@ var Segment = function Segment(_ref2) {
37744
38105
 
37745
38106
  function cov_1jyxy15ds3() {
37746
38107
  var path = "/home/runner/work/neeto-filters-frontend/neeto-filters-frontend/src/components/Bar/index.jsx";
37747
- var hash = "d84097ebe2b4c00473ece75fee6b84b8d7524469";
38108
+ var hash = "513c5fef581a1f26ee7e3a240d2a23468af80a8c";
37748
38109
  var global = new Function("return this")();
37749
38110
  var gcv = "__coverage__";
37750
38111
  var coverageData = {
@@ -37752,303 +38113,383 @@ function cov_1jyxy15ds3() {
37752
38113
  statementMap: {
37753
38114
  "0": {
37754
38115
  start: {
37755
- line: 15,
38116
+ line: 16,
37756
38117
  column: 12
37757
38118
  },
37758
38119
  end: {
37759
- line: 109,
38120
+ line: 132,
37760
38121
  column: 1
37761
38122
  }
37762
38123
  },
37763
38124
  "1": {
37764
38125
  start: {
37765
38126
  line: 24,
37766
- column: 24
38127
+ column: 23
37767
38128
  },
37768
38129
  end: {
37769
- line: 30,
37770
- column: 3
38130
+ line: 24,
38131
+ column: 66
37771
38132
  }
37772
38133
  },
37773
38134
  "2": {
37774
38135
  start: {
37775
- line: 32,
37776
- column: 18
38136
+ line: 25,
38137
+ column: 24
37777
38138
  },
37778
38139
  end: {
37779
- line: 34,
38140
+ line: 31,
37780
38141
  column: 3
37781
38142
  }
37782
38143
  },
37783
38144
  "3": {
37784
38145
  start: {
37785
- line: 35,
37786
- column: 27
38146
+ line: 33,
38147
+ column: 18
37787
38148
  },
37788
38149
  end: {
37789
38150
  line: 35,
37790
- column: 62
38151
+ column: 3
37791
38152
  }
37792
38153
  },
37793
38154
  "4": {
37794
38155
  start: {
37795
38156
  line: 36,
37796
- column: 18
38157
+ column: 27
37797
38158
  },
37798
38159
  end: {
37799
38160
  line: 36,
37800
- column: 30
38161
+ column: 62
37801
38162
  }
37802
38163
  },
37803
38164
  "5": {
37804
38165
  start: {
37805
38166
  line: 37,
37806
- column: 16
38167
+ column: 18
37807
38168
  },
37808
38169
  end: {
37809
38170
  line: 37,
37810
- column: 32
38171
+ column: 30
37811
38172
  }
37812
38173
  },
37813
38174
  "6": {
37814
38175
  start: {
37815
- line: 39,
37816
- column: 2
38176
+ line: 38,
38177
+ column: 16
37817
38178
  },
37818
38179
  end: {
37819
- line: 45,
37820
- column: 22
38180
+ line: 38,
38181
+ column: 32
37821
38182
  }
37822
38183
  },
37823
38184
  "7": {
37824
38185
  start: {
37825
38186
  line: 40,
37826
- column: 20
38187
+ column: 2
37827
38188
  },
37828
38189
  end: {
37829
- line: 42,
37830
- column: 11
38190
+ line: 46,
38191
+ column: 22
37831
38192
  }
37832
38193
  },
37833
38194
  "8": {
37834
38195
  start: {
37835
38196
  line: 41,
38197
+ column: 20
38198
+ },
38199
+ end: {
38200
+ line: 43,
38201
+ column: 11
38202
+ }
38203
+ },
38204
+ "9": {
38205
+ start: {
38206
+ line: 42,
37836
38207
  column: 6
37837
38208
  },
37838
38209
  end: {
37839
- line: 41,
38210
+ line: 42,
37840
38211
  column: 28
37841
38212
  }
37842
38213
  },
37843
- "9": {
38214
+ "10": {
37844
38215
  start: {
37845
- line: 44,
38216
+ line: 45,
37846
38217
  column: 4
37847
38218
  },
37848
38219
  end: {
37849
- line: 44,
38220
+ line: 45,
37850
38221
  column: 39
37851
38222
  }
37852
38223
  },
37853
- "10": {
38224
+ "11": {
37854
38225
  start: {
37855
- line: 44,
38226
+ line: 45,
37856
38227
  column: 17
37857
38228
  },
37858
38229
  end: {
37859
- line: 44,
38230
+ line: 45,
37860
38231
  column: 38
37861
38232
  }
37862
38233
  },
37863
- "11": {
38234
+ "12": {
37864
38235
  start: {
37865
- line: 47,
38236
+ line: 48,
37866
38237
  column: 23
37867
38238
  },
37868
38239
  end: {
37869
- line: 58,
38240
+ line: 59,
37870
38241
  column: 3
37871
38242
  }
37872
38243
  },
37873
- "12": {
38244
+ "13": {
37874
38245
  start: {
37875
- line: 48,
38246
+ line: 49,
37876
38247
  column: 19
37877
38248
  },
37878
38249
  end: {
37879
- line: 56,
38250
+ line: 57,
37880
38251
  column: 6
37881
38252
  }
37882
38253
  },
37883
- "13": {
38254
+ "14": {
37884
38255
  start: {
37885
- line: 57,
38256
+ line: 58,
37886
38257
  column: 4
37887
38258
  },
37888
38259
  end: {
37889
- line: 57,
38260
+ line: 58,
37890
38261
  column: 37
37891
38262
  }
37892
38263
  },
37893
- "14": {
38264
+ "15": {
37894
38265
  start: {
37895
- line: 60,
38266
+ line: 61,
37896
38267
  column: 23
37897
38268
  },
37898
38269
  end: {
37899
- line: 67,
38270
+ line: 74,
37900
38271
  column: 3
37901
38272
  }
37902
38273
  },
37903
- "15": {
38274
+ "16": {
37904
38275
  start: {
37905
- line: 61,
38276
+ line: 62,
37906
38277
  column: 4
37907
38278
  },
37908
38279
  end: {
37909
- line: 64,
38280
+ line: 65,
37910
38281
  column: 5
37911
38282
  }
37912
38283
  },
37913
- "16": {
38284
+ "17": {
37914
38285
  start: {
37915
- line: 62,
38286
+ line: 63,
37916
38287
  column: 6
37917
38288
  },
37918
38289
  end: {
37919
- line: 62,
38290
+ line: 63,
37920
38291
  column: 27
37921
38292
  }
37922
38293
  },
37923
- "17": {
38294
+ "18": {
37924
38295
  start: {
37925
- line: 63,
38296
+ line: 64,
37926
38297
  column: 6
37927
38298
  },
37928
38299
  end: {
37929
- line: 63,
38300
+ line: 64,
37930
38301
  column: 25
37931
38302
  }
37932
38303
  },
37933
- "18": {
38304
+ "19": {
38305
+ start: {
38306
+ line: 67,
38307
+ column: 4
38308
+ },
38309
+ end: {
38310
+ line: 70,
38311
+ column: 5
38312
+ }
38313
+ },
38314
+ "20": {
38315
+ start: {
38316
+ line: 68,
38317
+ column: 6
38318
+ },
38319
+ end: {
38320
+ line: 68,
38321
+ column: 31
38322
+ }
38323
+ },
38324
+ "21": {
38325
+ start: {
38326
+ line: 69,
38327
+ column: 6
38328
+ },
38329
+ end: {
38330
+ line: 69,
38331
+ column: 56
38332
+ }
38333
+ },
38334
+ "22": {
37934
38335
  start: {
37935
- line: 65,
38336
+ line: 72,
37936
38337
  column: 23
37937
38338
  },
37938
38339
  end: {
37939
- line: 65,
38340
+ line: 72,
37940
38341
  column: 49
37941
38342
  }
37942
38343
  },
37943
- "19": {
38344
+ "23": {
37944
38345
  start: {
37945
- line: 66,
38346
+ line: 73,
37946
38347
  column: 4
37947
38348
  },
37948
38349
  end: {
37949
- line: 66,
38350
+ line: 73,
37950
38351
  column: 29
37951
38352
  }
37952
38353
  },
37953
- "20": {
38354
+ "24": {
37954
38355
  start: {
37955
- line: 69,
38356
+ line: 76,
37956
38357
  column: 25
37957
38358
  },
37958
38359
  end: {
37959
- line: 73,
38360
+ line: 80,
37960
38361
  column: 3
37961
38362
  }
37962
38363
  },
37963
- "21": {
38364
+ "25": {
37964
38365
  start: {
37965
- line: 70,
38366
+ line: 77,
37966
38367
  column: 4
37967
38368
  },
37968
38369
  end: {
37969
- line: 70,
38370
+ line: 77,
37970
38371
  column: 25
37971
38372
  }
37972
38373
  },
37973
- "22": {
38374
+ "26": {
37974
38375
  start: {
37975
- line: 71,
38376
+ line: 78,
37976
38377
  column: 4
37977
38378
  },
37978
38379
  end: {
37979
- line: 71,
38380
+ line: 78,
37980
38381
  column: 23
37981
38382
  }
37982
38383
  },
37983
- "23": {
38384
+ "27": {
37984
38385
  start: {
37985
- line: 72,
38386
+ line: 79,
37986
38387
  column: 4
37987
38388
  },
37988
38389
  end: {
37989
- line: 72,
38390
+ line: 79,
37990
38391
  column: 27
37991
38392
  }
37992
38393
  },
37993
- "24": {
38394
+ "28": {
37994
38395
  start: {
37995
- line: 75,
37996
- column: 26
38396
+ line: 82,
38397
+ column: 33
37997
38398
  },
37998
38399
  end: {
37999
- line: 77,
38400
+ line: 84,
38000
38401
  column: 3
38001
38402
  }
38002
38403
  },
38003
- "25": {
38404
+ "29": {
38004
38405
  start: {
38005
- line: 76,
38006
- column: 39
38406
+ line: 83,
38407
+ column: 4
38007
38408
  },
38008
38409
  end: {
38009
- line: 76,
38010
- column: 67
38410
+ line: 83,
38411
+ column: 25
38011
38412
  }
38012
38413
  },
38013
- "26": {
38414
+ "30": {
38014
38415
  start: {
38015
- line: 79,
38416
+ line: 87,
38417
+ column: 4
38418
+ },
38419
+ end: {
38420
+ line: 89,
38421
+ column: 32
38422
+ }
38423
+ },
38424
+ "31": {
38425
+ start: {
38426
+ line: 88,
38427
+ column: 41
38428
+ },
38429
+ end: {
38430
+ line: 88,
38431
+ column: 69
38432
+ }
38433
+ },
38434
+ "32": {
38435
+ start: {
38436
+ line: 91,
38016
38437
  column: 2
38017
38438
  },
38018
38439
  end: {
38019
- line: 79,
38020
- column: 45
38440
+ line: 91,
38441
+ column: 72
38021
38442
  }
38022
38443
  },
38023
- "27": {
38444
+ "33": {
38024
38445
  start: {
38025
- line: 79,
38026
- column: 33
38446
+ line: 91,
38447
+ column: 60
38027
38448
  },
38028
38449
  end: {
38029
- line: 79,
38030
- column: 45
38450
+ line: 91,
38451
+ column: 72
38031
38452
  }
38032
38453
  },
38033
- "28": {
38454
+ "34": {
38034
38455
  start: {
38035
- line: 81,
38456
+ line: 93,
38036
38457
  column: 2
38037
38458
  },
38038
38459
  end: {
38039
- line: 108,
38460
+ line: 131,
38040
38461
  column: 4
38041
38462
  }
38042
38463
  },
38043
- "29": {
38464
+ "35": {
38044
38465
  start: {
38045
- line: 86,
38466
+ line: 98,
38046
38467
  column: 8
38047
38468
  },
38048
38469
  end: {
38049
- line: 93,
38470
+ line: 105,
38050
38471
  column: 25
38051
38472
  }
38473
+ },
38474
+ "36": {
38475
+ start: {
38476
+ line: 108,
38477
+ column: 28
38478
+ },
38479
+ end: {
38480
+ line: 108,
38481
+ column: 54
38482
+ }
38483
+ },
38484
+ "37": {
38485
+ start: {
38486
+ line: 110,
38487
+ column: 10
38488
+ },
38489
+ end: {
38490
+ line: 117,
38491
+ column: 27
38492
+ }
38052
38493
  }
38053
38494
  },
38054
38495
  fnMap: {
@@ -38056,11 +38497,11 @@ function cov_1jyxy15ds3() {
38056
38497
  name: "(anonymous_0)",
38057
38498
  decl: {
38058
38499
  start: {
38059
- line: 15,
38500
+ line: 16,
38060
38501
  column: 12
38061
38502
  },
38062
38503
  end: {
38063
- line: 15,
38504
+ line: 16,
38064
38505
  column: 13
38065
38506
  }
38066
38507
  },
@@ -38070,7 +38511,7 @@ function cov_1jyxy15ds3() {
38070
38511
  column: 6
38071
38512
  },
38072
38513
  end: {
38073
- line: 109,
38514
+ line: 132,
38074
38515
  column: 1
38075
38516
  }
38076
38517
  },
@@ -38080,410 +38521,482 @@ function cov_1jyxy15ds3() {
38080
38521
  name: "(anonymous_1)",
38081
38522
  decl: {
38082
38523
  start: {
38083
- line: 39,
38524
+ line: 40,
38084
38525
  column: 12
38085
38526
  },
38086
38527
  end: {
38087
- line: 39,
38528
+ line: 40,
38088
38529
  column: 13
38089
38530
  }
38090
38531
  },
38091
38532
  loc: {
38092
38533
  start: {
38093
- line: 39,
38534
+ line: 40,
38094
38535
  column: 18
38095
38536
  },
38096
38537
  end: {
38097
- line: 45,
38538
+ line: 46,
38098
38539
  column: 3
38099
38540
  }
38100
38541
  },
38101
- line: 39
38542
+ line: 40
38102
38543
  },
38103
38544
  "2": {
38104
38545
  name: "(anonymous_2)",
38105
38546
  decl: {
38106
38547
  start: {
38107
- line: 40,
38548
+ line: 41,
38108
38549
  column: 31
38109
38550
  },
38110
38551
  end: {
38111
- line: 40,
38552
+ line: 41,
38112
38553
  column: 32
38113
38554
  }
38114
38555
  },
38115
38556
  loc: {
38116
38557
  start: {
38117
- line: 40,
38558
+ line: 41,
38118
38559
  column: 37
38119
38560
  },
38120
38561
  end: {
38121
- line: 42,
38562
+ line: 43,
38122
38563
  column: 5
38123
38564
  }
38124
38565
  },
38125
- line: 40
38566
+ line: 41
38126
38567
  },
38127
38568
  "3": {
38128
38569
  name: "(anonymous_3)",
38129
38570
  decl: {
38130
38571
  start: {
38131
- line: 44,
38572
+ line: 45,
38132
38573
  column: 11
38133
38574
  },
38134
38575
  end: {
38135
- line: 44,
38576
+ line: 45,
38136
38577
  column: 12
38137
38578
  }
38138
38579
  },
38139
38580
  loc: {
38140
38581
  start: {
38141
- line: 44,
38582
+ line: 45,
38142
38583
  column: 17
38143
38584
  },
38144
38585
  end: {
38145
- line: 44,
38586
+ line: 45,
38146
38587
  column: 38
38147
38588
  }
38148
38589
  },
38149
- line: 44
38590
+ line: 45
38150
38591
  },
38151
38592
  "4": {
38152
38593
  name: "(anonymous_4)",
38153
38594
  decl: {
38154
38595
  start: {
38155
- line: 47,
38596
+ line: 48,
38156
38597
  column: 23
38157
38598
  },
38158
38599
  end: {
38159
- line: 47,
38600
+ line: 48,
38160
38601
  column: 24
38161
38602
  }
38162
38603
  },
38163
38604
  loc: {
38164
38605
  start: {
38165
- line: 47,
38606
+ line: 48,
38166
38607
  column: 51
38167
38608
  },
38168
38609
  end: {
38169
- line: 58,
38610
+ line: 59,
38170
38611
  column: 3
38171
38612
  }
38172
38613
  },
38173
- line: 47
38614
+ line: 48
38174
38615
  },
38175
38616
  "5": {
38176
38617
  name: "(anonymous_5)",
38177
38618
  decl: {
38178
38619
  start: {
38179
- line: 60,
38620
+ line: 61,
38180
38621
  column: 23
38181
38622
  },
38182
38623
  end: {
38183
- line: 60,
38624
+ line: 61,
38184
38625
  column: 24
38185
38626
  }
38186
38627
  },
38187
38628
  loc: {
38188
38629
  start: {
38189
- line: 60,
38630
+ line: 61,
38190
38631
  column: 30
38191
38632
  },
38192
38633
  end: {
38193
- line: 67,
38634
+ line: 74,
38194
38635
  column: 3
38195
38636
  }
38196
38637
  },
38197
- line: 60
38638
+ line: 61
38198
38639
  },
38199
38640
  "6": {
38200
38641
  name: "(anonymous_6)",
38201
38642
  decl: {
38202
38643
  start: {
38203
- line: 69,
38644
+ line: 76,
38204
38645
  column: 25
38205
38646
  },
38206
38647
  end: {
38207
- line: 69,
38648
+ line: 76,
38208
38649
  column: 26
38209
38650
  }
38210
38651
  },
38211
38652
  loc: {
38212
38653
  start: {
38213
- line: 69,
38654
+ line: 76,
38214
38655
  column: 31
38215
38656
  },
38216
38657
  end: {
38217
- line: 73,
38218
- column: 3
38658
+ line: 80,
38659
+ column: 3
38660
+ }
38661
+ },
38662
+ line: 76
38663
+ },
38664
+ "7": {
38665
+ name: "(anonymous_7)",
38666
+ decl: {
38667
+ start: {
38668
+ line: 82,
38669
+ column: 51
38670
+ },
38671
+ end: {
38672
+ line: 82,
38673
+ column: 52
38674
+ }
38675
+ },
38676
+ loc: {
38677
+ start: {
38678
+ line: 83,
38679
+ column: 4
38680
+ },
38681
+ end: {
38682
+ line: 83,
38683
+ column: 25
38684
+ }
38685
+ },
38686
+ line: 83
38687
+ },
38688
+ "8": {
38689
+ name: "(anonymous_8)",
38690
+ decl: {
38691
+ start: {
38692
+ line: 88,
38693
+ column: 6
38694
+ },
38695
+ end: {
38696
+ line: 88,
38697
+ column: 7
38698
+ }
38699
+ },
38700
+ loc: {
38701
+ start: {
38702
+ line: 88,
38703
+ column: 41
38704
+ },
38705
+ end: {
38706
+ line: 88,
38707
+ column: 69
38708
+ }
38709
+ },
38710
+ line: 88
38711
+ },
38712
+ "9": {
38713
+ name: "(anonymous_9)",
38714
+ decl: {
38715
+ start: {
38716
+ line: 97,
38717
+ column: 28
38718
+ },
38719
+ end: {
38720
+ line: 97,
38721
+ column: 29
38722
+ }
38723
+ },
38724
+ loc: {
38725
+ start: {
38726
+ line: 98,
38727
+ column: 8
38728
+ },
38729
+ end: {
38730
+ line: 105,
38731
+ column: 25
38219
38732
  }
38220
38733
  },
38221
- line: 69
38734
+ line: 98
38222
38735
  },
38223
- "7": {
38224
- name: "(anonymous_7)",
38736
+ "10": {
38737
+ name: "(anonymous_10)",
38225
38738
  decl: {
38226
38739
  start: {
38227
- line: 76,
38228
- column: 4
38740
+ line: 108,
38741
+ column: 16
38229
38742
  },
38230
38743
  end: {
38231
- line: 76,
38232
- column: 5
38744
+ line: 108,
38745
+ column: 17
38233
38746
  }
38234
38747
  },
38235
38748
  loc: {
38236
38749
  start: {
38237
- line: 76,
38238
- column: 39
38750
+ line: 108,
38751
+ column: 28
38239
38752
  },
38240
38753
  end: {
38241
- line: 76,
38242
- column: 67
38754
+ line: 108,
38755
+ column: 54
38243
38756
  }
38244
38757
  },
38245
- line: 76
38758
+ line: 108
38246
38759
  },
38247
- "8": {
38248
- name: "(anonymous_8)",
38760
+ "11": {
38761
+ name: "(anonymous_11)",
38249
38762
  decl: {
38250
38763
  start: {
38251
- line: 85,
38252
- column: 28
38764
+ line: 109,
38765
+ column: 13
38253
38766
  },
38254
38767
  end: {
38255
- line: 85,
38256
- column: 29
38768
+ line: 109,
38769
+ column: 14
38257
38770
  }
38258
38771
  },
38259
38772
  loc: {
38260
38773
  start: {
38261
- line: 86,
38262
- column: 8
38774
+ line: 110,
38775
+ column: 10
38263
38776
  },
38264
38777
  end: {
38265
- line: 93,
38266
- column: 25
38778
+ line: 117,
38779
+ column: 27
38267
38780
  }
38268
38781
  },
38269
- line: 86
38782
+ line: 110
38270
38783
  }
38271
38784
  },
38272
38785
  branchMap: {
38273
38786
  "0": {
38274
38787
  loc: {
38275
38788
  start: {
38276
- line: 18,
38789
+ line: 19,
38277
38790
  column: 2
38278
38791
  },
38279
38792
  end: {
38280
- line: 18,
38793
+ line: 19,
38281
38794
  column: 14
38282
38795
  }
38283
38796
  },
38284
38797
  type: "default-arg",
38285
38798
  locations: [{
38286
38799
  start: {
38287
- line: 18,
38800
+ line: 19,
38288
38801
  column: 12
38289
38802
  },
38290
38803
  end: {
38291
- line: 18,
38804
+ line: 19,
38292
38805
  column: 14
38293
38806
  }
38294
38807
  }],
38295
- line: 18
38808
+ line: 19
38296
38809
  },
38297
38810
  "1": {
38298
38811
  loc: {
38299
38812
  start: {
38300
- line: 19,
38813
+ line: 20,
38301
38814
  column: 2
38302
38815
  },
38303
38816
  end: {
38304
- line: 19,
38817
+ line: 20,
38305
38818
  column: 51
38306
38819
  }
38307
38820
  },
38308
38821
  type: "default-arg",
38309
38822
  locations: [{
38310
38823
  start: {
38311
- line: 19,
38824
+ line: 20,
38312
38825
  column: 12
38313
38826
  },
38314
38827
  end: {
38315
- line: 19,
38828
+ line: 20,
38316
38829
  column: 51
38317
38830
  }
38318
38831
  }],
38319
- line: 19
38832
+ line: 20
38320
38833
  },
38321
38834
  "2": {
38322
38835
  loc: {
38323
38836
  start: {
38324
- line: 20,
38837
+ line: 21,
38325
38838
  column: 2
38326
38839
  },
38327
38840
  end: {
38328
- line: 20,
38841
+ line: 21,
38329
38842
  column: 26
38330
38843
  }
38331
38844
  },
38332
38845
  type: "default-arg",
38333
38846
  locations: [{
38334
38847
  start: {
38335
- line: 20,
38848
+ line: 21,
38336
38849
  column: 18
38337
38850
  },
38338
38851
  end: {
38339
- line: 20,
38852
+ line: 21,
38340
38853
  column: 26
38341
38854
  }
38342
38855
  }],
38343
- line: 20
38856
+ line: 21
38344
38857
  },
38345
38858
  "3": {
38346
38859
  loc: {
38347
38860
  start: {
38348
- line: 21,
38861
+ line: 22,
38349
38862
  column: 2
38350
38863
  },
38351
38864
  end: {
38352
- line: 21,
38865
+ line: 22,
38353
38866
  column: 19
38354
38867
  }
38355
38868
  },
38356
38869
  type: "default-arg",
38357
38870
  locations: [{
38358
38871
  start: {
38359
- line: 21,
38872
+ line: 22,
38360
38873
  column: 17
38361
38874
  },
38362
38875
  end: {
38363
- line: 21,
38876
+ line: 22,
38364
38877
  column: 19
38365
38878
  }
38366
38879
  }],
38367
- line: 21
38880
+ line: 22
38368
38881
  },
38369
38882
  "4": {
38370
38883
  loc: {
38371
38884
  start: {
38372
- line: 33,
38885
+ line: 34,
38373
38886
  column: 4
38374
38887
  },
38375
38888
  end: {
38376
- line: 33,
38889
+ line: 34,
38377
38890
  column: 64
38378
38891
  }
38379
38892
  },
38380
38893
  type: "cond-expr",
38381
38894
  locations: [{
38382
38895
  start: {
38383
- line: 33,
38896
+ line: 34,
38384
38897
  column: 27
38385
38898
  },
38386
38899
  end: {
38387
- line: 33,
38900
+ line: 34,
38388
38901
  column: 54
38389
38902
  }
38390
38903
  }, {
38391
38904
  start: {
38392
- line: 33,
38905
+ line: 34,
38393
38906
  column: 57
38394
38907
  },
38395
38908
  end: {
38396
- line: 33,
38909
+ line: 34,
38397
38910
  column: 64
38398
38911
  }
38399
38912
  }],
38400
- line: 33
38913
+ line: 34
38401
38914
  },
38402
38915
  "5": {
38403
38916
  loc: {
38404
38917
  start: {
38405
- line: 51,
38918
+ line: 52,
38406
38919
  column: 8
38407
38920
  },
38408
38921
  end: {
38409
- line: 51,
38922
+ line: 52,
38410
38923
  column: 74
38411
38924
  }
38412
38925
  },
38413
38926
  type: "cond-expr",
38414
38927
  locations: [{
38415
38928
  start: {
38416
- line: 51,
38929
+ line: 52,
38417
38930
  column: 31
38418
38931
  },
38419
38932
  end: {
38420
- line: 51,
38933
+ line: 52,
38421
38934
  column: 61
38422
38935
  }
38423
38936
  }, {
38424
38937
  start: {
38425
- line: 51,
38938
+ line: 52,
38426
38939
  column: 64
38427
38940
  },
38428
38941
  end: {
38429
- line: 51,
38942
+ line: 52,
38430
38943
  column: 74
38431
38944
  }
38432
38945
  }],
38433
- line: 51
38946
+ line: 52
38434
38947
  },
38435
38948
  "6": {
38436
38949
  loc: {
38437
38950
  start: {
38438
- line: 52,
38951
+ line: 53,
38439
38952
  column: 10
38440
38953
  },
38441
38954
  end: {
38442
- line: 55,
38955
+ line: 56,
38443
38956
  column: 7
38444
38957
  }
38445
38958
  },
38446
38959
  type: "binary-expr",
38447
38960
  locations: [{
38448
38961
  start: {
38449
- line: 52,
38962
+ line: 53,
38450
38963
  column: 10
38451
38964
  },
38452
38965
  end: {
38453
- line: 52,
38966
+ line: 53,
38454
38967
  column: 20
38455
38968
  }
38456
38969
  }, {
38457
38970
  start: {
38458
- line: 52,
38971
+ line: 53,
38459
38972
  column: 24
38460
38973
  },
38461
38974
  end: {
38462
- line: 55,
38975
+ line: 56,
38463
38976
  column: 7
38464
38977
  }
38465
38978
  }],
38466
- line: 52
38979
+ line: 53
38467
38980
  },
38468
38981
  "7": {
38469
38982
  loc: {
38470
38983
  start: {
38471
- line: 61,
38984
+ line: 62,
38472
38985
  column: 4
38473
38986
  },
38474
38987
  end: {
38475
- line: 64,
38988
+ line: 65,
38476
38989
  column: 5
38477
38990
  }
38478
38991
  },
38479
38992
  type: "if",
38480
38993
  locations: [{
38481
38994
  start: {
38482
- line: 61,
38995
+ line: 62,
38483
38996
  column: 4
38484
38997
  },
38485
38998
  end: {
38486
- line: 64,
38999
+ line: 65,
38487
39000
  column: 5
38488
39001
  }
38489
39002
  }, {
@@ -38496,139 +39009,238 @@ function cov_1jyxy15ds3() {
38496
39009
  column: undefined
38497
39010
  }
38498
39011
  }],
38499
- line: 61
39012
+ line: 62
38500
39013
  },
38501
39014
  "8": {
38502
39015
  loc: {
38503
39016
  start: {
38504
- line: 76,
38505
- column: 39
39017
+ line: 67,
39018
+ column: 4
38506
39019
  },
38507
39020
  end: {
38508
- line: 76,
38509
- column: 67
39021
+ line: 70,
39022
+ column: 5
39023
+ }
39024
+ },
39025
+ type: "if",
39026
+ locations: [{
39027
+ start: {
39028
+ line: 67,
39029
+ column: 4
39030
+ },
39031
+ end: {
39032
+ line: 70,
39033
+ column: 5
39034
+ }
39035
+ }, {
39036
+ start: {
39037
+ line: undefined,
39038
+ column: undefined
39039
+ },
39040
+ end: {
39041
+ line: undefined,
39042
+ column: undefined
39043
+ }
39044
+ }],
39045
+ line: 67
39046
+ },
39047
+ "9": {
39048
+ loc: {
39049
+ start: {
39050
+ line: 87,
39051
+ column: 4
39052
+ },
39053
+ end: {
39054
+ line: 89,
39055
+ column: 32
38510
39056
  }
38511
39057
  },
38512
39058
  type: "binary-expr",
38513
39059
  locations: [{
38514
39060
  start: {
38515
- line: 76,
38516
- column: 39
39061
+ line: 87,
39062
+ column: 4
38517
39063
  },
38518
39064
  end: {
38519
- line: 76,
38520
- column: 51
39065
+ line: 89,
39066
+ column: 5
39067
+ }
39068
+ }, {
39069
+ start: {
39070
+ line: 89,
39071
+ column: 9
39072
+ },
39073
+ end: {
39074
+ line: 89,
39075
+ column: 32
39076
+ }
39077
+ }],
39078
+ line: 87
39079
+ },
39080
+ "10": {
39081
+ loc: {
39082
+ start: {
39083
+ line: 88,
39084
+ column: 41
39085
+ },
39086
+ end: {
39087
+ line: 88,
39088
+ column: 69
39089
+ }
39090
+ },
39091
+ type: "binary-expr",
39092
+ locations: [{
39093
+ start: {
39094
+ line: 88,
39095
+ column: 41
39096
+ },
39097
+ end: {
39098
+ line: 88,
39099
+ column: 53
39100
+ }
39101
+ }, {
39102
+ start: {
39103
+ line: 88,
39104
+ column: 57
39105
+ },
39106
+ end: {
39107
+ line: 88,
39108
+ column: 69
39109
+ }
39110
+ }],
39111
+ line: 88
39112
+ },
39113
+ "11": {
39114
+ loc: {
39115
+ start: {
39116
+ line: 91,
39117
+ column: 2
39118
+ },
39119
+ end: {
39120
+ line: 91,
39121
+ column: 72
39122
+ }
39123
+ },
39124
+ type: "if",
39125
+ locations: [{
39126
+ start: {
39127
+ line: 91,
39128
+ column: 2
39129
+ },
39130
+ end: {
39131
+ line: 91,
39132
+ column: 72
38521
39133
  }
38522
39134
  }, {
38523
39135
  start: {
38524
- line: 76,
38525
- column: 55
39136
+ line: undefined,
39137
+ column: undefined
38526
39138
  },
38527
39139
  end: {
38528
- line: 76,
38529
- column: 67
39140
+ line: undefined,
39141
+ column: undefined
38530
39142
  }
38531
39143
  }],
38532
- line: 76
39144
+ line: 91
38533
39145
  },
38534
- "9": {
39146
+ "12": {
38535
39147
  loc: {
38536
39148
  start: {
38537
- line: 79,
38538
- column: 2
39149
+ line: 91,
39150
+ column: 6
38539
39151
  },
38540
39152
  end: {
38541
- line: 79,
38542
- column: 45
39153
+ line: 91,
39154
+ column: 58
38543
39155
  }
38544
39156
  },
38545
- type: "if",
39157
+ type: "binary-expr",
38546
39158
  locations: [{
38547
39159
  start: {
38548
- line: 79,
38549
- column: 2
39160
+ line: 91,
39161
+ column: 6
38550
39162
  },
38551
39163
  end: {
38552
- line: 79,
38553
- column: 45
39164
+ line: 91,
39165
+ column: 31
38554
39166
  }
38555
39167
  }, {
38556
39168
  start: {
38557
- line: undefined,
38558
- column: undefined
39169
+ line: 91,
39170
+ column: 35
38559
39171
  },
38560
39172
  end: {
38561
- line: undefined,
38562
- column: undefined
39173
+ line: 91,
39174
+ column: 58
38563
39175
  }
38564
39176
  }],
38565
- line: 79
39177
+ line: 91
38566
39178
  },
38567
- "10": {
39179
+ "13": {
38568
39180
  loc: {
38569
39181
  start: {
38570
- line: 96,
39182
+ line: 119,
38571
39183
  column: 7
38572
39184
  },
38573
39185
  end: {
38574
- line: 98,
39186
+ line: 121,
38575
39187
  column: 7
38576
39188
  }
38577
39189
  },
38578
39190
  type: "binary-expr",
38579
39191
  locations: [{
38580
39192
  start: {
38581
- line: 96,
39193
+ line: 119,
38582
39194
  column: 7
38583
39195
  },
38584
39196
  end: {
38585
- line: 96,
39197
+ line: 119,
38586
39198
  column: 23
38587
39199
  }
38588
39200
  }, {
38589
39201
  start: {
38590
- line: 97,
39202
+ line: 120,
38591
39203
  column: 8
38592
39204
  },
38593
39205
  end: {
38594
- line: 97,
39206
+ line: 120,
38595
39207
  column: 72
38596
39208
  }
38597
39209
  }],
38598
- line: 96
39210
+ line: 119
38599
39211
  },
38600
- "11": {
39212
+ "14": {
38601
39213
  loc: {
38602
39214
  start: {
38603
- line: 99,
39215
+ line: 122,
38604
39216
  column: 7
38605
39217
  },
38606
39218
  end: {
38607
- line: 106,
39219
+ line: 129,
38608
39220
  column: 7
38609
39221
  }
38610
39222
  },
38611
39223
  type: "binary-expr",
38612
39224
  locations: [{
38613
39225
  start: {
38614
- line: 99,
39226
+ line: 122,
38615
39227
  column: 7
38616
39228
  },
38617
39229
  end: {
38618
- line: 99,
39230
+ line: 122,
38619
39231
  column: 23
38620
39232
  }
38621
39233
  }, {
38622
39234
  start: {
38623
- line: 100,
39235
+ line: 123,
38624
39236
  column: 8
38625
39237
  },
38626
39238
  end: {
38627
- line: 105,
39239
+ line: 128,
38628
39240
  column: 10
38629
39241
  }
38630
39242
  }],
38631
- line: 99
39243
+ line: 122
38632
39244
  }
38633
39245
  },
38634
39246
  s: {
@@ -38661,7 +39273,15 @@ function cov_1jyxy15ds3() {
38661
39273
  "26": 0,
38662
39274
  "27": 0,
38663
39275
  "28": 0,
38664
- "29": 0
39276
+ "29": 0,
39277
+ "30": 0,
39278
+ "31": 0,
39279
+ "32": 0,
39280
+ "33": 0,
39281
+ "34": 0,
39282
+ "35": 0,
39283
+ "36": 0,
39284
+ "37": 0
38665
39285
  },
38666
39286
  f: {
38667
39287
  "0": 0,
@@ -38672,7 +39292,10 @@ function cov_1jyxy15ds3() {
38672
39292
  "5": 0,
38673
39293
  "6": 0,
38674
39294
  "7": 0,
38675
- "8": 0
39295
+ "8": 0,
39296
+ "9": 0,
39297
+ "10": 0,
39298
+ "11": 0
38676
39299
  },
38677
39300
  b: {
38678
39301
  "0": [0],
@@ -38686,10 +39309,13 @@ function cov_1jyxy15ds3() {
38686
39309
  "8": [0, 0],
38687
39310
  "9": [0, 0],
38688
39311
  "10": [0, 0],
38689
- "11": [0, 0]
39312
+ "11": [0, 0],
39313
+ "12": [0, 0],
39314
+ "13": [0, 0],
39315
+ "14": [0, 0]
38690
39316
  },
38691
39317
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
38692
- hash: "d84097ebe2b4c00473ece75fee6b84b8d7524469"
39318
+ hash: "513c5fef581a1f26ee7e3a240d2a23468af80a8c"
38693
39319
  };
38694
39320
  var coverage = global[gcv] || (global[gcv] = {});
38695
39321
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -38722,102 +39348,119 @@ var Bar = function Bar(_ref) {
38722
39348
  _ref$setIsPaneOpen = _ref.setIsPaneOpen,
38723
39349
  setIsPaneOpen = _ref$setIsPaneOpen === void 0 ? (cov_1jyxy15ds3().b[2][0]++, identity) : _ref$setIsPaneOpen,
38724
39350
  _ref$childrenKeys = _ref.childrenKeys,
38725
- childrenKeys = _ref$childrenKeys === void 0 ? (cov_1jyxy15ds3().b[3][0]++, []) : _ref$childrenKeys,
38726
- children = _ref.children;
39351
+ childrenKeys = _ref$childrenKeys === void 0 ? (cov_1jyxy15ds3().b[3][0]++, []) : _ref$childrenKeys;
38727
39352
  cov_1jyxy15ds3().f[0]++;
38728
- var keywordFilter = (cov_1jyxy15ds3().s[1]++, _objectSpread$2({
39353
+ var searchParams = (cov_1jyxy15ds3().s[1]++, new URLSearchParams(window.location.search));
39354
+ var keywordFilter = (cov_1jyxy15ds3().s[2]++, _objectSpread$2({
38729
39355
  key: "keyword",
38730
39356
  type: "text",
38731
39357
  rule: "contains",
38732
39358
  label: "Keyword"
38733
39359
  }, keyword));
38734
- var filters = (cov_1jyxy15ds3().s[2]++, buildFiltersFromSearchParams(keyword.value !== "" ? (cov_1jyxy15ds3().b[4][0]++, [keywordFilter].concat(_toConsumableArray(columns))) : (cov_1jyxy15ds3().b[4][1]++, columns)));
38735
- var nonHiddenFilters = (cov_1jyxy15ds3().s[3]++, removeBy({
39360
+ var filters = (cov_1jyxy15ds3().s[3]++, buildFiltersFromSearchParams(keyword.value !== "" ? (cov_1jyxy15ds3().b[4][0]++, [keywordFilter].concat(_toConsumableArray(columns))) : (cov_1jyxy15ds3().b[4][1]++, columns)));
39361
+ var nonHiddenFilters = (cov_1jyxy15ds3().s[4]++, removeBy({
38736
39362
  hidden: true
38737
39363
  }, filters));
38738
- var history = (cov_1jyxy15ds3().s[4]++, useHistory());
38739
- var _ref2 = (cov_1jyxy15ds3().s[5]++, useTranslation()),
39364
+ var history = (cov_1jyxy15ds3().s[5]++, useHistory());
39365
+ var _ref2 = (cov_1jyxy15ds3().s[6]++, useTranslation()),
38740
39366
  t = _ref2.t;
38741
- cov_1jyxy15ds3().s[6]++;
39367
+ cov_1jyxy15ds3().s[7]++;
38742
39368
  useEffect(function () {
38743
39369
  cov_1jyxy15ds3().f[1]++;
38744
- var handler = (cov_1jyxy15ds3().s[7]++, setTimeout(function () {
39370
+ var handler = (cov_1jyxy15ds3().s[8]++, setTimeout(function () {
38745
39371
  cov_1jyxy15ds3().f[2]++;
38746
- cov_1jyxy15ds3().s[8]++;
39372
+ cov_1jyxy15ds3().s[9]++;
38747
39373
  handleSubmit(filters);
38748
39374
  }, 500));
38749
- cov_1jyxy15ds3().s[9]++;
39375
+ cov_1jyxy15ds3().s[10]++;
38750
39376
  return function () {
38751
39377
  cov_1jyxy15ds3().f[3]++;
38752
- cov_1jyxy15ds3().s[10]++;
39378
+ cov_1jyxy15ds3().s[11]++;
38753
39379
  return clearTimeout(handler);
38754
39380
  };
38755
39381
  }, [keyword.value]);
38756
- cov_1jyxy15ds3().s[11]++;
39382
+ cov_1jyxy15ds3().s[12]++;
38757
39383
  var handleSubmit = function handleSubmit(newFilters, isClearAll) {
38758
39384
  cov_1jyxy15ds3().f[4]++;
38759
- var params = (cov_1jyxy15ds3().s[12]++, buildUrlFromFilters(_objectSpread$2({
39385
+ var params = (cov_1jyxy15ds3().s[13]++, buildUrlFromFilters(_objectSpread$2({
38760
39386
  columns: columns,
38761
39387
  filters: keyword.value !== "" ? (cov_1jyxy15ds3().b[5][0]++, [].concat(_toConsumableArray(newFilters), [keywordFilter])) : (cov_1jyxy15ds3().b[5][1]++, newFilters)
38762
39388
  }, (cov_1jyxy15ds3().b[6][0]++, isClearAll) && (cov_1jyxy15ds3().b[6][1]++, {
38763
39389
  isClearAll: true,
38764
39390
  childrenKeys: childrenKeys
38765
39391
  }))));
38766
- cov_1jyxy15ds3().s[13]++;
39392
+ cov_1jyxy15ds3().s[14]++;
38767
39393
  history.push({
38768
39394
  search: params
38769
39395
  });
38770
39396
  };
38771
- cov_1jyxy15ds3().s[14]++;
39397
+ cov_1jyxy15ds3().s[15]++;
38772
39398
  var handleDelete = function handleDelete(key) {
38773
39399
  cov_1jyxy15ds3().f[5]++;
38774
- cov_1jyxy15ds3().s[15]++;
39400
+ cov_1jyxy15ds3().s[16]++;
38775
39401
  if (key === "keyword") {
38776
39402
  cov_1jyxy15ds3().b[7][0]++;
38777
- cov_1jyxy15ds3().s[16]++;
38778
- keyword.setValue("");
38779
39403
  cov_1jyxy15ds3().s[17]++;
39404
+ keyword.setValue("");
39405
+ cov_1jyxy15ds3().s[18]++;
38780
39406
  keyword.value = "";
38781
39407
  } else {
38782
39408
  cov_1jyxy15ds3().b[7][1]++;
38783
39409
  }
38784
- var newFilters = (cov_1jyxy15ds3().s[18]++, removeBy({
39410
+ cov_1jyxy15ds3().s[19]++;
39411
+ if (childrenKeys.includes(key)) {
39412
+ cov_1jyxy15ds3().b[8][0]++;
39413
+ cov_1jyxy15ds3().s[20]++;
39414
+ searchParams["delete"](key);
39415
+ cov_1jyxy15ds3().s[21]++;
39416
+ history.push({
39417
+ search: searchParams.toString()
39418
+ });
39419
+ } else {
39420
+ cov_1jyxy15ds3().b[8][1]++;
39421
+ }
39422
+ var newFilters = (cov_1jyxy15ds3().s[22]++, removeBy({
38785
39423
  key: key
38786
39424
  }, filters));
38787
- cov_1jyxy15ds3().s[19]++;
39425
+ cov_1jyxy15ds3().s[23]++;
38788
39426
  handleSubmit(newFilters);
38789
39427
  };
38790
- cov_1jyxy15ds3().s[20]++;
39428
+ cov_1jyxy15ds3().s[24]++;
38791
39429
  var handleClearAll = function handleClearAll() {
38792
39430
  cov_1jyxy15ds3().f[6]++;
38793
- cov_1jyxy15ds3().s[21]++;
39431
+ cov_1jyxy15ds3().s[25]++;
38794
39432
  keyword.setValue("");
38795
- cov_1jyxy15ds3().s[22]++;
39433
+ cov_1jyxy15ds3().s[26]++;
38796
39434
  keyword.value = "";
38797
- cov_1jyxy15ds3().s[23]++;
39435
+ cov_1jyxy15ds3().s[27]++;
38798
39436
  handleSubmit([], true);
38799
39437
  };
38800
- var hideClearButton = (cov_1jyxy15ds3().s[24]++, nonHiddenFilters.every(function (_ref3) {
38801
- var defaultValue = _ref3.defaultValue,
38802
- isClearable = _ref3.isClearable;
39438
+ var childrenFiltersApplied = (cov_1jyxy15ds3().s[28]++, childrenKeys.some(function (key) {
38803
39439
  cov_1jyxy15ds3().f[7]++;
38804
- cov_1jyxy15ds3().s[25]++;
38805
- return (cov_1jyxy15ds3().b[8][0]++, defaultValue) && (cov_1jyxy15ds3().b[8][1]++, !isClearable);
39440
+ cov_1jyxy15ds3().s[29]++;
39441
+ return searchParams.get(key);
38806
39442
  }));
38807
- cov_1jyxy15ds3().s[26]++;
38808
- if (isEmpty(nonHiddenFilters)) {
38809
- cov_1jyxy15ds3().b[9][0]++;
38810
- cov_1jyxy15ds3().s[27]++;
39443
+ var hideClearButton = (cov_1jyxy15ds3().s[30]++, (cov_1jyxy15ds3().b[9][0]++, nonHiddenFilters.every(function (_ref3) {
39444
+ var defaultValue = _ref3.defaultValue,
39445
+ isClearable = _ref3.isClearable;
39446
+ cov_1jyxy15ds3().f[8]++;
39447
+ cov_1jyxy15ds3().s[31]++;
39448
+ return (cov_1jyxy15ds3().b[10][0]++, defaultValue) && (cov_1jyxy15ds3().b[10][1]++, !isClearable);
39449
+ })) && (cov_1jyxy15ds3().b[9][1]++, !childrenFiltersApplied));
39450
+ cov_1jyxy15ds3().s[32]++;
39451
+ if ((cov_1jyxy15ds3().b[12][0]++, isEmpty(nonHiddenFilters)) && (cov_1jyxy15ds3().b[12][1]++, !childrenFiltersApplied)) {
39452
+ cov_1jyxy15ds3().b[11][0]++;
39453
+ cov_1jyxy15ds3().s[33]++;
38811
39454
  return null;
38812
39455
  } else {
38813
- cov_1jyxy15ds3().b[9][1]++;
39456
+ cov_1jyxy15ds3().b[11][1]++;
38814
39457
  }
38815
- cov_1jyxy15ds3().s[28]++;
39458
+ cov_1jyxy15ds3().s[34]++;
38816
39459
  return /*#__PURE__*/t__default.createElement("div", {
38817
39460
  className: classnames("neeto-filters-bar", _defineProperty$4({}, className, className))
38818
39461
  }, nonHiddenFilters.map(function (filter) {
38819
- cov_1jyxy15ds3().f[8]++;
38820
- cov_1jyxy15ds3().s[29]++;
39462
+ cov_1jyxy15ds3().f[9]++;
39463
+ cov_1jyxy15ds3().s[35]++;
38821
39464
  return /*#__PURE__*/t__default.createElement(t__default.Fragment, {
38822
39465
  key: filter.key
38823
39466
  }, /*#__PURE__*/t__default.createElement(Block, {
@@ -38827,11 +39470,27 @@ var Bar = function Bar(_ref) {
38827
39470
  }), /*#__PURE__*/t__default.createElement("div", {
38828
39471
  className: "neeto-filters-bar--separator"
38829
39472
  }));
38830
- }), children, (cov_1jyxy15ds3().b[10][0]++, isNotNil(entity)) && (cov_1jyxy15ds3().b[10][1]++, /*#__PURE__*/t__default.createElement(Segment, {
39473
+ }), childrenKeys.filter(function (childKey) {
39474
+ cov_1jyxy15ds3().f[10]++;
39475
+ cov_1jyxy15ds3().s[36]++;
39476
+ return searchParams.get(childKey);
39477
+ }).map(function (childKey) {
39478
+ cov_1jyxy15ds3().f[11]++;
39479
+ cov_1jyxy15ds3().s[37]++;
39480
+ return /*#__PURE__*/t__default.createElement(t__default.Fragment, {
39481
+ key: childKey
39482
+ }, /*#__PURE__*/t__default.createElement(ChildBlock, {
39483
+ childKey: childKey,
39484
+ handleDelete: handleDelete,
39485
+ setIsPaneOpen: setIsPaneOpen
39486
+ }), /*#__PURE__*/t__default.createElement("div", {
39487
+ className: "neeto-filters-bar--separator"
39488
+ }));
39489
+ }), (cov_1jyxy15ds3().b[13][0]++, isNotNil(entity)) && (cov_1jyxy15ds3().b[13][1]++, /*#__PURE__*/t__default.createElement(Segment, {
38831
39490
  columns: columns,
38832
39491
  entity: entity,
38833
39492
  filters: filters
38834
- })), (cov_1jyxy15ds3().b[11][0]++, !hideClearButton) && (cov_1jyxy15ds3().b[11][1]++, /*#__PURE__*/t__default.createElement(Button, {
39493
+ })), (cov_1jyxy15ds3().b[14][0]++, !hideClearButton) && (cov_1jyxy15ds3().b[14][1]++, /*#__PURE__*/t__default.createElement(Button, {
38835
39494
  "data-cy": "neeto-filters-bar-clear-btn",
38836
39495
  label: t("common.clearFilters"),
38837
39496
  style: "text",
@@ -49631,7 +50290,7 @@ var Item = function Item(_ref) {
49631
50290
  var _excluded = ["size", "isOpen", "onClose", "columns", "onChange", "isSearchable", "keyword", "onSelectorsChange", "childrenKeys", "children"];
49632
50291
  function cov_fes6hm9vc() {
49633
50292
  var path = "/home/runner/work/neeto-filters-frontend/neeto-filters-frontend/src/components/Pane/index.jsx";
49634
- var hash = "a08e4ae9fe59aa89f97310cdf7295fcac0390a5e";
50293
+ var hash = "da2fc737addf1f27222bfa8949eb480421307402";
49635
50294
  var global = new Function("return this")();
49636
50295
  var gcv = "__coverage__";
49637
50296
  var coverageData = {
@@ -49643,88 +50302,88 @@ function cov_fes6hm9vc() {
49643
50302
  column: 13
49644
50303
  },
49645
50304
  end: {
49646
- line: 166,
50305
+ line: 172,
49647
50306
  column: 1
49648
50307
  }
49649
50308
  },
49650
50309
  "1": {
49651
50310
  start: {
49652
50311
  line: 32,
49653
- column: 38
50312
+ column: 23
49654
50313
  },
49655
50314
  end: {
49656
50315
  line: 32,
49657
- column: 50
50316
+ column: 39
49658
50317
  }
49659
50318
  },
49660
50319
  "2": {
49661
50320
  start: {
49662
50321
  line: 33,
49663
- column: 18
50322
+ column: 38
49664
50323
  },
49665
50324
  end: {
49666
50325
  line: 33,
49667
- column: 30
50326
+ column: 50
49668
50327
  }
49669
50328
  },
49670
50329
  "3": {
49671
50330
  start: {
49672
50331
  line: 34,
49673
- column: 16
50332
+ column: 18
49674
50333
  },
49675
50334
  end: {
49676
50335
  line: 34,
49677
- column: 32
50336
+ column: 30
49678
50337
  }
49679
50338
  },
49680
50339
  "4": {
49681
50340
  start: {
49682
50341
  line: 35,
49683
- column: 57
50342
+ column: 16
49684
50343
  },
49685
50344
  end: {
49686
- line: 38,
49687
- column: 4
50345
+ line: 35,
50346
+ column: 32
49688
50347
  }
49689
50348
  },
49690
50349
  "5": {
49691
50350
  start: {
49692
- line: 40,
49693
- column: 18
50351
+ line: 36,
50352
+ column: 57
49694
50353
  },
49695
50354
  end: {
49696
- line: 45,
50355
+ line: 39,
49697
50356
  column: 4
49698
50357
  }
49699
50358
  },
49700
50359
  "6": {
49701
50360
  start: {
49702
- line: 47,
49703
- column: 24
50361
+ line: 41,
50362
+ column: 18
49704
50363
  },
49705
50364
  end: {
49706
- line: 53,
49707
- column: 3
50365
+ line: 46,
50366
+ column: 4
49708
50367
  }
49709
50368
  },
49710
50369
  "7": {
49711
50370
  start: {
49712
- line: 55,
49713
- column: 25
50371
+ line: 48,
50372
+ column: 24
49714
50373
  },
49715
50374
  end: {
49716
- line: 59,
50375
+ line: 54,
49717
50376
  column: 3
49718
50377
  }
49719
50378
  },
49720
50379
  "8": {
49721
50380
  start: {
49722
50381
  line: 56,
49723
- column: 4
50382
+ column: 25
49724
50383
  },
49725
50384
  end: {
49726
- line: 56,
49727
- column: 25
50385
+ line: 60,
50386
+ column: 3
49728
50387
  }
49729
50388
  },
49730
50389
  "9": {
@@ -49734,7 +50393,7 @@ function cov_fes6hm9vc() {
49734
50393
  },
49735
50394
  end: {
49736
50395
  line: 57,
49737
- column: 23
50396
+ column: 25
49738
50397
  }
49739
50398
  },
49740
50399
  "10": {
@@ -49744,27 +50403,27 @@ function cov_fes6hm9vc() {
49744
50403
  },
49745
50404
  end: {
49746
50405
  line: 58,
49747
- column: 27
50406
+ column: 23
49748
50407
  }
49749
50408
  },
49750
50409
  "11": {
49751
50410
  start: {
49752
- line: 61,
49753
- column: 22
50411
+ line: 59,
50412
+ column: 4
49754
50413
  },
49755
50414
  end: {
49756
- line: 69,
49757
- column: 3
50415
+ line: 59,
50416
+ column: 27
49758
50417
  }
49759
50418
  },
49760
50419
  "12": {
49761
50420
  start: {
49762
50421
  line: 62,
49763
- column: 25
50422
+ column: 22
49764
50423
  },
49765
50424
  end: {
49766
- line: 62,
49767
- column: 41
50425
+ line: 69,
50426
+ column: 3
49768
50427
  }
49769
50428
  },
49770
50429
  "13": {
@@ -49859,61 +50518,91 @@ function cov_fes6hm9vc() {
49859
50518
  },
49860
50519
  "22": {
49861
50520
  start: {
49862
- line: 84,
50521
+ line: 85,
50522
+ column: 4
50523
+ },
50524
+ end: {
50525
+ line: 87,
50526
+ column: 53
50527
+ }
50528
+ },
50529
+ "23": {
50530
+ start: {
50531
+ line: 86,
50532
+ column: 35
50533
+ },
50534
+ end: {
50535
+ line: 86,
50536
+ column: 77
50537
+ }
50538
+ },
50539
+ "24": {
50540
+ start: {
50541
+ line: 87,
50542
+ column: 35
50543
+ },
50544
+ end: {
50545
+ line: 87,
50546
+ column: 52
50547
+ }
50548
+ },
50549
+ "25": {
50550
+ start: {
50551
+ line: 89,
49863
50552
  column: 2
49864
50553
  },
49865
50554
  end: {
49866
- line: 165,
50555
+ line: 171,
49867
50556
  column: 4
49868
50557
  }
49869
50558
  },
49870
- "23": {
50559
+ "26": {
49871
50560
  start: {
49872
- line: 102,
50561
+ line: 107,
49873
50562
  column: 33
49874
50563
  },
49875
50564
  end: {
49876
- line: 102,
50565
+ line: 107,
49877
50566
  column: 66
49878
50567
  }
49879
50568
  },
49880
- "24": {
50569
+ "27": {
49881
50570
  start: {
49882
- line: 106,
50571
+ line: 111,
49883
50572
  column: 12
49884
50573
  },
49885
50574
  end: {
49886
- line: 112,
50575
+ line: 117,
49887
50576
  column: 14
49888
50577
  }
49889
50578
  },
49890
- "25": {
50579
+ "28": {
49891
50580
  start: {
49892
- line: 117,
50581
+ line: 122,
49893
50582
  column: 16
49894
50583
  },
49895
50584
  end: {
49896
- line: 117,
50585
+ line: 122,
49897
50586
  column: 50
49898
50587
  }
49899
50588
  },
49900
- "26": {
50589
+ "29": {
49901
50590
  start: {
49902
- line: 121,
50591
+ line: 126,
49903
50592
  column: 16
49904
50593
  },
49905
50594
  end: {
49906
- line: 135,
50595
+ line: 140,
49907
50596
  column: 33
49908
50597
  }
49909
50598
  },
49910
- "27": {
50599
+ "30": {
49911
50600
  start: {
49912
- line: 127,
50601
+ line: 132,
49913
50602
  column: 20
49914
50603
  },
49915
50604
  end: {
49916
- line: 133,
50605
+ line: 138,
49917
50606
  column: 22
49918
50607
  }
49919
50608
  }
@@ -49937,7 +50626,7 @@ function cov_fes6hm9vc() {
49937
50626
  column: 6
49938
50627
  },
49939
50628
  end: {
49940
- line: 166,
50629
+ line: 172,
49941
50630
  column: 1
49942
50631
  }
49943
50632
  },
@@ -49947,41 +50636,41 @@ function cov_fes6hm9vc() {
49947
50636
  name: "(anonymous_1)",
49948
50637
  decl: {
49949
50638
  start: {
49950
- line: 55,
50639
+ line: 56,
49951
50640
  column: 25
49952
50641
  },
49953
50642
  end: {
49954
- line: 55,
50643
+ line: 56,
49955
50644
  column: 26
49956
50645
  }
49957
50646
  },
49958
50647
  loc: {
49959
50648
  start: {
49960
- line: 55,
50649
+ line: 56,
49961
50650
  column: 31
49962
50651
  },
49963
50652
  end: {
49964
- line: 59,
50653
+ line: 60,
49965
50654
  column: 3
49966
50655
  }
49967
50656
  },
49968
- line: 55
50657
+ line: 56
49969
50658
  },
49970
50659
  "2": {
49971
50660
  name: "(anonymous_2)",
49972
50661
  decl: {
49973
50662
  start: {
49974
- line: 61,
50663
+ line: 62,
49975
50664
  column: 22
49976
50665
  },
49977
50666
  end: {
49978
- line: 61,
50667
+ line: 62,
49979
50668
  column: 23
49980
50669
  }
49981
50670
  },
49982
50671
  loc: {
49983
50672
  start: {
49984
- line: 61,
50673
+ line: 62,
49985
50674
  column: 28
49986
50675
  },
49987
50676
  end: {
@@ -49989,7 +50678,7 @@ function cov_fes6hm9vc() {
49989
50678
  column: 3
49990
50679
  }
49991
50680
  },
49992
- line: 61
50681
+ line: 62
49993
50682
  },
49994
50683
  "3": {
49995
50684
  name: "(anonymous_3)",
@@ -50043,121 +50732,169 @@ function cov_fes6hm9vc() {
50043
50732
  name: "(anonymous_5)",
50044
50733
  decl: {
50045
50734
  start: {
50046
- line: 102,
50735
+ line: 86,
50736
+ column: 6
50737
+ },
50738
+ end: {
50739
+ line: 86,
50740
+ column: 7
50741
+ }
50742
+ },
50743
+ loc: {
50744
+ start: {
50745
+ line: 86,
50746
+ column: 35
50747
+ },
50748
+ end: {
50749
+ line: 86,
50750
+ column: 77
50751
+ }
50752
+ },
50753
+ line: 86
50754
+ },
50755
+ "6": {
50756
+ name: "(anonymous_6)",
50757
+ decl: {
50758
+ start: {
50759
+ line: 87,
50760
+ column: 28
50761
+ },
50762
+ end: {
50763
+ line: 87,
50764
+ column: 29
50765
+ }
50766
+ },
50767
+ loc: {
50768
+ start: {
50769
+ line: 87,
50770
+ column: 35
50771
+ },
50772
+ end: {
50773
+ line: 87,
50774
+ column: 52
50775
+ }
50776
+ },
50777
+ line: 87
50778
+ },
50779
+ "7": {
50780
+ name: "(anonymous_7)",
50781
+ decl: {
50782
+ start: {
50783
+ line: 107,
50047
50784
  column: 24
50048
50785
  },
50049
50786
  end: {
50050
- line: 102,
50787
+ line: 107,
50051
50788
  column: 25
50052
50789
  }
50053
50790
  },
50054
50791
  loc: {
50055
50792
  start: {
50056
- line: 102,
50793
+ line: 107,
50057
50794
  column: 33
50058
50795
  },
50059
50796
  end: {
50060
- line: 102,
50797
+ line: 107,
50061
50798
  column: 66
50062
50799
  }
50063
50800
  },
50064
- line: 102
50801
+ line: 107
50065
50802
  },
50066
- "6": {
50067
- name: "(anonymous_6)",
50803
+ "8": {
50804
+ name: "(anonymous_8)",
50068
50805
  decl: {
50069
50806
  start: {
50070
- line: 105,
50807
+ line: 110,
50071
50808
  column: 32
50072
50809
  },
50073
50810
  end: {
50074
- line: 105,
50811
+ line: 110,
50075
50812
  column: 33
50076
50813
  }
50077
50814
  },
50078
50815
  loc: {
50079
50816
  start: {
50080
- line: 106,
50817
+ line: 111,
50081
50818
  column: 12
50082
50819
  },
50083
50820
  end: {
50084
- line: 112,
50821
+ line: 117,
50085
50822
  column: 14
50086
50823
  }
50087
50824
  },
50088
- line: 106
50825
+ line: 111
50089
50826
  },
50090
- "7": {
50091
- name: "(anonymous_7)",
50827
+ "9": {
50828
+ name: "(anonymous_9)",
50092
50829
  decl: {
50093
50830
  start: {
50094
- line: 116,
50831
+ line: 121,
50095
50832
  column: 57
50096
50833
  },
50097
50834
  end: {
50098
- line: 116,
50835
+ line: 121,
50099
50836
  column: 58
50100
50837
  }
50101
50838
  },
50102
50839
  loc: {
50103
50840
  start: {
50104
- line: 117,
50841
+ line: 122,
50105
50842
  column: 16
50106
50843
  },
50107
50844
  end: {
50108
- line: 117,
50845
+ line: 122,
50109
50846
  column: 50
50110
50847
  }
50111
50848
  },
50112
- line: 117
50849
+ line: 122
50113
50850
  },
50114
- "8": {
50115
- name: "(anonymous_8)",
50851
+ "10": {
50852
+ name: "(anonymous_10)",
50116
50853
  decl: {
50117
50854
  start: {
50118
- line: 120,
50855
+ line: 125,
50119
50856
  column: 34
50120
50857
  },
50121
50858
  end: {
50122
- line: 120,
50859
+ line: 125,
50123
50860
  column: 35
50124
50861
  }
50125
50862
  },
50126
50863
  loc: {
50127
50864
  start: {
50128
- line: 121,
50865
+ line: 126,
50129
50866
  column: 16
50130
50867
  },
50131
50868
  end: {
50132
- line: 135,
50869
+ line: 140,
50133
50870
  column: 33
50134
50871
  }
50135
50872
  },
50136
- line: 121
50873
+ line: 126
50137
50874
  },
50138
- "9": {
50139
- name: "(anonymous_9)",
50875
+ "11": {
50876
+ name: "(anonymous_11)",
50140
50877
  decl: {
50141
50878
  start: {
50142
- line: 126,
50879
+ line: 131,
50143
50880
  column: 31
50144
50881
  },
50145
50882
  end: {
50146
- line: 126,
50883
+ line: 131,
50147
50884
  column: 32
50148
50885
  }
50149
50886
  },
50150
50887
  loc: {
50151
50888
  start: {
50152
- line: 127,
50889
+ line: 132,
50153
50890
  column: 20
50154
50891
  },
50155
50892
  end: {
50156
- line: 133,
50893
+ line: 138,
50157
50894
  column: 22
50158
50895
  }
50159
50896
  },
50160
- line: 127
50897
+ line: 132
50161
50898
  }
50162
50899
  },
50163
50900
  branchMap: {
@@ -50188,50 +50925,50 @@ function cov_fes6hm9vc() {
50188
50925
  "1": {
50189
50926
  loc: {
50190
50927
  start: {
50191
- line: 35,
50928
+ line: 36,
50192
50929
  column: 10
50193
50930
  },
50194
50931
  end: {
50195
- line: 35,
50932
+ line: 36,
50196
50933
  column: 29
50197
50934
  }
50198
50935
  },
50199
50936
  type: "default-arg",
50200
50937
  locations: [{
50201
50938
  start: {
50202
- line: 35,
50939
+ line: 36,
50203
50940
  column: 27
50204
50941
  },
50205
50942
  end: {
50206
- line: 35,
50943
+ line: 36,
50207
50944
  column: 29
50208
50945
  }
50209
50946
  }],
50210
- line: 35
50947
+ line: 36
50211
50948
  },
50212
50949
  "2": {
50213
50950
  loc: {
50214
50951
  start: {
50215
- line: 35,
50952
+ line: 36,
50216
50953
  column: 31
50217
50954
  },
50218
50955
  end: {
50219
- line: 35,
50956
+ line: 36,
50220
50957
  column: 52
50221
50958
  }
50222
50959
  },
50223
50960
  type: "default-arg",
50224
50961
  locations: [{
50225
50962
  start: {
50226
- line: 35,
50963
+ line: 36,
50227
50964
  column: 50
50228
50965
  },
50229
50966
  end: {
50230
- line: 35,
50967
+ line: 36,
50231
50968
  column: 52
50232
50969
  }
50233
50970
  }],
50234
- line: 35
50971
+ line: 36
50235
50972
  },
50236
50973
  "3": {
50237
50974
  loc: {
@@ -50359,110 +51096,176 @@ function cov_fes6hm9vc() {
50359
51096
  "7": {
50360
51097
  loc: {
50361
51098
  start: {
50362
- line: 93,
51099
+ line: 85,
51100
+ column: 4
51101
+ },
51102
+ end: {
51103
+ line: 87,
51104
+ column: 53
51105
+ }
51106
+ },
51107
+ type: "binary-expr",
51108
+ locations: [{
51109
+ start: {
51110
+ line: 85,
51111
+ column: 4
51112
+ },
51113
+ end: {
51114
+ line: 87,
51115
+ column: 5
51116
+ }
51117
+ }, {
51118
+ start: {
51119
+ line: 87,
51120
+ column: 9
51121
+ },
51122
+ end: {
51123
+ line: 87,
51124
+ column: 53
51125
+ }
51126
+ }],
51127
+ line: 85
51128
+ },
51129
+ "8": {
51130
+ loc: {
51131
+ start: {
51132
+ line: 86,
51133
+ column: 35
51134
+ },
51135
+ end: {
51136
+ line: 86,
51137
+ column: 77
51138
+ }
51139
+ },
51140
+ type: "binary-expr",
51141
+ locations: [{
51142
+ start: {
51143
+ line: 86,
51144
+ column: 35
51145
+ },
51146
+ end: {
51147
+ line: 86,
51148
+ column: 51
51149
+ }
51150
+ }, {
51151
+ start: {
51152
+ line: 86,
51153
+ column: 55
51154
+ },
51155
+ end: {
51156
+ line: 86,
51157
+ column: 77
51158
+ }
51159
+ }],
51160
+ line: 86
51161
+ },
51162
+ "9": {
51163
+ loc: {
51164
+ start: {
51165
+ line: 98,
50363
51166
  column: 11
50364
51167
  },
50365
51168
  end: {
50366
- line: 104,
51169
+ line: 109,
50367
51170
  column: 11
50368
51171
  }
50369
51172
  },
50370
51173
  type: "binary-expr",
50371
51174
  locations: [{
50372
51175
  start: {
50373
- line: 93,
51176
+ line: 98,
50374
51177
  column: 11
50375
51178
  },
50376
51179
  end: {
50377
- line: 93,
51180
+ line: 98,
50378
51181
  column: 23
50379
51182
  }
50380
51183
  }, {
50381
51184
  start: {
50382
- line: 94,
51185
+ line: 99,
50383
51186
  column: 12
50384
51187
  },
50385
51188
  end: {
50386
- line: 103,
51189
+ line: 108,
50387
51190
  column: 14
50388
51191
  }
50389
51192
  }],
50390
- line: 93
51193
+ line: 98
50391
51194
  },
50392
- "8": {
51195
+ "10": {
50393
51196
  loc: {
50394
51197
  start: {
50395
- line: 114,
51198
+ line: 119,
50396
51199
  column: 11
50397
51200
  },
50398
51201
  end: {
50399
- line: 138,
51202
+ line: 143,
50400
51203
  column: 11
50401
51204
  }
50402
51205
  },
50403
51206
  type: "binary-expr",
50404
51207
  locations: [{
50405
51208
  start: {
50406
- line: 114,
51209
+ line: 119,
50407
51210
  column: 11
50408
51211
  },
50409
51212
  end: {
50410
- line: 114,
51213
+ line: 119,
50411
51214
  column: 36
50412
51215
  }
50413
51216
  }, {
50414
51217
  start: {
50415
- line: 115,
51218
+ line: 120,
50416
51219
  column: 12
50417
51220
  },
50418
51221
  end: {
50419
- line: 137,
51222
+ line: 142,
50420
51223
  column: 24
50421
51224
  }
50422
51225
  }],
50423
- line: 114
51226
+ line: 119
50424
51227
  },
50425
- "9": {
51228
+ "11": {
50426
51229
  loc: {
50427
51230
  start: {
50428
- line: 139,
51231
+ line: 144,
50429
51232
  column: 11
50430
51233
  },
50431
51234
  end: {
50432
- line: 145,
51235
+ line: 150,
50433
51236
  column: 11
50434
51237
  }
50435
51238
  },
50436
51239
  type: "binary-expr",
50437
51240
  locations: [{
50438
51241
  start: {
50439
- line: 139,
51242
+ line: 144,
50440
51243
  column: 11
50441
51244
  },
50442
51245
  end: {
50443
- line: 139,
51246
+ line: 144,
50444
51247
  column: 36
50445
51248
  }
50446
51249
  }, {
50447
51250
  start: {
50448
- line: 139,
51251
+ line: 144,
50449
51252
  column: 40
50450
51253
  },
50451
51254
  end: {
50452
- line: 139,
51255
+ line: 144,
50453
51256
  column: 63
50454
51257
  }
50455
51258
  }, {
50456
51259
  start: {
50457
- line: 140,
51260
+ line: 145,
50458
51261
  column: 12
50459
51262
  },
50460
51263
  end: {
50461
- line: 144,
51264
+ line: 149,
50462
51265
  column: 25
50463
51266
  }
50464
51267
  }],
50465
- line: 139
51268
+ line: 144
50466
51269
  }
50467
51270
  },
50468
51271
  s: {
@@ -50493,7 +51296,10 @@ function cov_fes6hm9vc() {
50493
51296
  "24": 0,
50494
51297
  "25": 0,
50495
51298
  "26": 0,
50496
- "27": 0
51299
+ "27": 0,
51300
+ "28": 0,
51301
+ "29": 0,
51302
+ "30": 0
50497
51303
  },
50498
51304
  f: {
50499
51305
  "0": 0,
@@ -50505,7 +51311,9 @@ function cov_fes6hm9vc() {
50505
51311
  "6": 0,
50506
51312
  "7": 0,
50507
51313
  "8": 0,
50508
- "9": 0
51314
+ "9": 0,
51315
+ "10": 0,
51316
+ "11": 0
50509
51317
  },
50510
51318
  b: {
50511
51319
  "0": [0],
@@ -50517,10 +51325,12 @@ function cov_fes6hm9vc() {
50517
51325
  "6": [0, 0],
50518
51326
  "7": [0, 0],
50519
51327
  "8": [0, 0],
50520
- "9": [0, 0, 0]
51328
+ "9": [0, 0],
51329
+ "10": [0, 0],
51330
+ "11": [0, 0, 0]
50521
51331
  },
50522
51332
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
50523
- hash: "a08e4ae9fe59aa89f97310cdf7295fcac0390a5e"
51333
+ hash: "da2fc737addf1f27222bfa8949eb480421307402"
50524
51334
  };
50525
51335
  var coverage = global[gcv] || (global[gcv] = {});
50526
51336
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -50553,14 +51363,15 @@ var Pane = function Pane(_ref) {
50553
51363
  children = _ref.children,
50554
51364
  otherProps = _objectWithoutProperties(_ref, _excluded);
50555
51365
  cov_fes6hm9vc().f[0]++;
50556
- var _ref2 = (cov_fes6hm9vc().s[1]++, useState("")),
51366
+ var searchParams = (cov_fes6hm9vc().s[1]++, getQueryParams());
51367
+ var _ref2 = (cov_fes6hm9vc().s[2]++, useState("")),
50557
51368
  _ref3 = _slicedToArray(_ref2, 2),
50558
51369
  searchTerm = _ref3[0],
50559
51370
  setSearchTerm = _ref3[1];
50560
- var history = (cov_fes6hm9vc().s[2]++, useHistory());
50561
- var _ref4 = (cov_fes6hm9vc().s[3]++, useTranslation()),
51371
+ var history = (cov_fes6hm9vc().s[3]++, useHistory());
51372
+ var _ref4 = (cov_fes6hm9vc().s[4]++, useTranslation()),
50562
51373
  t = _ref4.t;
50563
- var _ref5 = (cov_fes6hm9vc().s[4]++, buildFilteredColumns({
51374
+ var _ref5 = (cov_fes6hm9vc().s[5]++, buildFilteredColumns({
50564
51375
  searchTerm: searchTerm,
50565
51376
  columns: columns
50566
51377
  })),
@@ -50568,32 +51379,31 @@ var Pane = function Pane(_ref) {
50568
51379
  groupedColumns = _ref5$groupedColumns === void 0 ? (cov_fes6hm9vc().b[1][0]++, []) : _ref5$groupedColumns,
50569
51380
  _ref5$ungroupedColumn = _ref5.ungroupedColumns,
50570
51381
  ungroupedColumns = _ref5$ungroupedColumn === void 0 ? (cov_fes6hm9vc().b[2][0]++, []) : _ref5$ungroupedColumn;
50571
- var filters = (cov_fes6hm9vc().s[5]++, useFilters({
51382
+ var filters = (cov_fes6hm9vc().s[6]++, useFilters({
50572
51383
  onFiltersChange: onChange,
50573
51384
  columns: columns,
50574
51385
  keyword: keyword,
50575
51386
  onSelectorsChange: onSelectorsChange
50576
51387
  }));
50577
- var keywordFilter = (cov_fes6hm9vc().s[6]++, _objectSpread({
51388
+ var keywordFilter = (cov_fes6hm9vc().s[7]++, _objectSpread({
50578
51389
  key: "keyword",
50579
51390
  type: "text",
50580
51391
  rule: "contains",
50581
51392
  label: "Keyword"
50582
51393
  }, keyword));
50583
- cov_fes6hm9vc().s[7]++;
51394
+ cov_fes6hm9vc().s[8]++;
50584
51395
  var handleClearAll = function handleClearAll() {
50585
51396
  cov_fes6hm9vc().f[1]++;
50586
- cov_fes6hm9vc().s[8]++;
50587
- keyword.setValue("");
50588
51397
  cov_fes6hm9vc().s[9]++;
50589
- keyword.value = "";
51398
+ keyword.setValue("");
50590
51399
  cov_fes6hm9vc().s[10]++;
51400
+ keyword.value = "";
51401
+ cov_fes6hm9vc().s[11]++;
50591
51402
  handleChange([], true);
50592
51403
  };
50593
- cov_fes6hm9vc().s[11]++;
51404
+ cov_fes6hm9vc().s[12]++;
50594
51405
  var handleClose = function handleClose() {
50595
51406
  cov_fes6hm9vc().f[2]++;
50596
- var searchParams = (cov_fes6hm9vc().s[12]++, getQueryParams());
50597
51407
  cov_fes6hm9vc().s[13]++;
50598
51408
  columns.forEach(function (_ref6) {
50599
51409
  var key = _ref6.key;
@@ -50633,7 +51443,18 @@ var Pane = function Pane(_ref) {
50633
51443
  search: params
50634
51444
  });
50635
51445
  };
50636
- cov_fes6hm9vc().s[22]++;
51446
+ var isClearFiltersDisabled = (cov_fes6hm9vc().s[22]++, (cov_fes6hm9vc().b[7][0]++, !filters.some(function (_ref7) {
51447
+ var value = _ref7.value,
51448
+ defaultValue = _ref7.defaultValue;
51449
+ cov_fes6hm9vc().f[5]++;
51450
+ cov_fes6hm9vc().s[23]++;
51451
+ return (cov_fes6hm9vc().b[8][0]++, isPresent(value)) && (cov_fes6hm9vc().b[8][1]++, value !== defaultValue);
51452
+ })) && (cov_fes6hm9vc().b[7][1]++, !childrenKeys.some(function (key) {
51453
+ cov_fes6hm9vc().f[6]++;
51454
+ cov_fes6hm9vc().s[24]++;
51455
+ return searchParams[key];
51456
+ })));
51457
+ cov_fes6hm9vc().s[25]++;
50637
51458
  return /*#__PURE__*/t__default.createElement(Portal, {
50638
51459
  rootId: "neeto-filters-portal"
50639
51460
  }, /*#__PURE__*/t__default.createElement(Slider, _extends$1({
@@ -50647,7 +51468,7 @@ var Pane = function Pane(_ref) {
50647
51468
  weight: "semibold"
50648
51469
  }, t("common.filters"))), /*#__PURE__*/t__default.createElement(Slider.Body, {
50649
51470
  className: "neeto-filters-pane-filter__body neeto-ui-pt-2"
50650
- }, (cov_fes6hm9vc().b[7][0]++, isSearchable) && (cov_fes6hm9vc().b[7][1]++, /*#__PURE__*/t__default.createElement(Input, {
51471
+ }, (cov_fes6hm9vc().b[9][0]++, isSearchable) && (cov_fes6hm9vc().b[9][1]++, /*#__PURE__*/t__default.createElement(Input, {
50651
51472
  autoFocus: true,
50652
51473
  "data-cy": "neeto-filters-column-search",
50653
51474
  prefix: /*#__PURE__*/t__default.createElement(Search, null),
@@ -50656,13 +51477,13 @@ var Pane = function Pane(_ref) {
50656
51477
  resources: t("common.filters").toLocaleLowerCase()
50657
51478
  }),
50658
51479
  onChange: function onChange(event) {
50659
- cov_fes6hm9vc().f[5]++;
50660
- cov_fes6hm9vc().s[23]++;
51480
+ cov_fes6hm9vc().f[7]++;
51481
+ cov_fes6hm9vc().s[26]++;
50661
51482
  return setSearchTerm(event.target.value);
50662
51483
  }
50663
51484
  })), ungroupedColumns.map(function (column) {
50664
- cov_fes6hm9vc().f[6]++;
50665
- cov_fes6hm9vc().s[24]++;
51485
+ cov_fes6hm9vc().f[8]++;
51486
+ cov_fes6hm9vc().s[27]++;
50666
51487
  return /*#__PURE__*/t__default.createElement(Item, {
50667
51488
  autoFocus: column.key === isOpen,
50668
51489
  column: column,
@@ -50670,27 +51491,27 @@ var Pane = function Pane(_ref) {
50670
51491
  key: column.key,
50671
51492
  onChange: handleChange
50672
51493
  });
50673
- }), (cov_fes6hm9vc().b[8][0]++, isPresent(groupedColumns)) && (cov_fes6hm9vc().b[8][1]++, /*#__PURE__*/t__default.createElement(Accordion, {
50674
- defaultActiveKey: groupedColumns.findIndex(function (_ref7) {
50675
- var columns = _ref7.columns;
50676
- cov_fes6hm9vc().f[7]++;
50677
- cov_fes6hm9vc().s[25]++;
51494
+ }), (cov_fes6hm9vc().b[10][0]++, isPresent(groupedColumns)) && (cov_fes6hm9vc().b[10][1]++, /*#__PURE__*/t__default.createElement(Accordion, {
51495
+ defaultActiveKey: groupedColumns.findIndex(function (_ref8) {
51496
+ var columns = _ref8.columns;
51497
+ cov_fes6hm9vc().f[9]++;
51498
+ cov_fes6hm9vc().s[28]++;
50678
51499
  return existsBy({
50679
51500
  key: isOpen
50680
51501
  }, columns);
50681
51502
  })
50682
- }, groupedColumns.map(function (_ref8) {
50683
- var group = _ref8.group,
50684
- columns = _ref8.columns;
50685
- cov_fes6hm9vc().f[8]++;
50686
- cov_fes6hm9vc().s[26]++;
51503
+ }, groupedColumns.map(function (_ref9) {
51504
+ var group = _ref9.group,
51505
+ columns = _ref9.columns;
51506
+ cov_fes6hm9vc().f[10]++;
51507
+ cov_fes6hm9vc().s[29]++;
50687
51508
  return /*#__PURE__*/t__default.createElement(Accordion.Item, {
50688
51509
  className: "accordion_item",
50689
51510
  key: group,
50690
51511
  title: group
50691
51512
  }, columns.map(function (column) {
50692
- cov_fes6hm9vc().f[9]++;
50693
- cov_fes6hm9vc().s[27]++;
51513
+ cov_fes6hm9vc().f[11]++;
51514
+ cov_fes6hm9vc().s[30]++;
50694
51515
  return /*#__PURE__*/t__default.createElement(Item, {
50695
51516
  autoFocus: column.key === isOpen,
50696
51517
  column: column,
@@ -50699,7 +51520,7 @@ var Pane = function Pane(_ref) {
50699
51520
  onChange: handleChange
50700
51521
  });
50701
51522
  }));
50702
- }))), (cov_fes6hm9vc().b[9][0]++, isEmpty(ungroupedColumns)) && (cov_fes6hm9vc().b[9][1]++, isEmpty(groupedColumns)) && (cov_fes6hm9vc().b[9][2]++, /*#__PURE__*/t__default.createElement(Typography, {
51523
+ }))), (cov_fes6hm9vc().b[11][0]++, isEmpty(ungroupedColumns)) && (cov_fes6hm9vc().b[11][1]++, isEmpty(groupedColumns)) && (cov_fes6hm9vc().b[11][2]++, /*#__PURE__*/t__default.createElement(Typography, {
50703
51524
  style: "body2"
50704
51525
  }, t("messages.noResourcesFound", {
50705
51526
  resources: t("common.columns").toLocaleLowerCase()
@@ -50711,6 +51532,7 @@ var Pane = function Pane(_ref) {
50711
51532
  onClick: onClose
50712
51533
  }), /*#__PURE__*/t__default.createElement(Button, {
50713
51534
  "data-cy": "neeto-filters-clear-btn",
51535
+ disabled: isClearFiltersDisabled,
50714
51536
  label: t("common.clearFilters"),
50715
51537
  style: "text",
50716
51538
  onClick: handleClearAll