@bigbinary/neeto-filters-frontend 2.11.3 → 2.11.4

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
@@ -49631,7 +49631,7 @@ var Item = function Item(_ref) {
49631
49631
  var _excluded = ["size", "isOpen", "onClose", "columns", "onChange", "isSearchable", "keyword", "onSelectorsChange", "childrenKeys", "children"];
49632
49632
  function cov_fes6hm9vc() {
49633
49633
  var path = "/home/runner/work/neeto-filters-frontend/neeto-filters-frontend/src/components/Pane/index.jsx";
49634
- var hash = "a08e4ae9fe59aa89f97310cdf7295fcac0390a5e";
49634
+ var hash = "da2fc737addf1f27222bfa8949eb480421307402";
49635
49635
  var global = new Function("return this")();
49636
49636
  var gcv = "__coverage__";
49637
49637
  var coverageData = {
@@ -49643,88 +49643,88 @@ function cov_fes6hm9vc() {
49643
49643
  column: 13
49644
49644
  },
49645
49645
  end: {
49646
- line: 166,
49646
+ line: 172,
49647
49647
  column: 1
49648
49648
  }
49649
49649
  },
49650
49650
  "1": {
49651
49651
  start: {
49652
49652
  line: 32,
49653
- column: 38
49653
+ column: 23
49654
49654
  },
49655
49655
  end: {
49656
49656
  line: 32,
49657
- column: 50
49657
+ column: 39
49658
49658
  }
49659
49659
  },
49660
49660
  "2": {
49661
49661
  start: {
49662
49662
  line: 33,
49663
- column: 18
49663
+ column: 38
49664
49664
  },
49665
49665
  end: {
49666
49666
  line: 33,
49667
- column: 30
49667
+ column: 50
49668
49668
  }
49669
49669
  },
49670
49670
  "3": {
49671
49671
  start: {
49672
49672
  line: 34,
49673
- column: 16
49673
+ column: 18
49674
49674
  },
49675
49675
  end: {
49676
49676
  line: 34,
49677
- column: 32
49677
+ column: 30
49678
49678
  }
49679
49679
  },
49680
49680
  "4": {
49681
49681
  start: {
49682
49682
  line: 35,
49683
- column: 57
49683
+ column: 16
49684
49684
  },
49685
49685
  end: {
49686
- line: 38,
49687
- column: 4
49686
+ line: 35,
49687
+ column: 32
49688
49688
  }
49689
49689
  },
49690
49690
  "5": {
49691
49691
  start: {
49692
- line: 40,
49693
- column: 18
49692
+ line: 36,
49693
+ column: 57
49694
49694
  },
49695
49695
  end: {
49696
- line: 45,
49696
+ line: 39,
49697
49697
  column: 4
49698
49698
  }
49699
49699
  },
49700
49700
  "6": {
49701
49701
  start: {
49702
- line: 47,
49703
- column: 24
49702
+ line: 41,
49703
+ column: 18
49704
49704
  },
49705
49705
  end: {
49706
- line: 53,
49707
- column: 3
49706
+ line: 46,
49707
+ column: 4
49708
49708
  }
49709
49709
  },
49710
49710
  "7": {
49711
49711
  start: {
49712
- line: 55,
49713
- column: 25
49712
+ line: 48,
49713
+ column: 24
49714
49714
  },
49715
49715
  end: {
49716
- line: 59,
49716
+ line: 54,
49717
49717
  column: 3
49718
49718
  }
49719
49719
  },
49720
49720
  "8": {
49721
49721
  start: {
49722
49722
  line: 56,
49723
- column: 4
49723
+ column: 25
49724
49724
  },
49725
49725
  end: {
49726
- line: 56,
49727
- column: 25
49726
+ line: 60,
49727
+ column: 3
49728
49728
  }
49729
49729
  },
49730
49730
  "9": {
@@ -49734,7 +49734,7 @@ function cov_fes6hm9vc() {
49734
49734
  },
49735
49735
  end: {
49736
49736
  line: 57,
49737
- column: 23
49737
+ column: 25
49738
49738
  }
49739
49739
  },
49740
49740
  "10": {
@@ -49744,27 +49744,27 @@ function cov_fes6hm9vc() {
49744
49744
  },
49745
49745
  end: {
49746
49746
  line: 58,
49747
- column: 27
49747
+ column: 23
49748
49748
  }
49749
49749
  },
49750
49750
  "11": {
49751
49751
  start: {
49752
- line: 61,
49753
- column: 22
49752
+ line: 59,
49753
+ column: 4
49754
49754
  },
49755
49755
  end: {
49756
- line: 69,
49757
- column: 3
49756
+ line: 59,
49757
+ column: 27
49758
49758
  }
49759
49759
  },
49760
49760
  "12": {
49761
49761
  start: {
49762
49762
  line: 62,
49763
- column: 25
49763
+ column: 22
49764
49764
  },
49765
49765
  end: {
49766
- line: 62,
49767
- column: 41
49766
+ line: 69,
49767
+ column: 3
49768
49768
  }
49769
49769
  },
49770
49770
  "13": {
@@ -49859,61 +49859,91 @@ function cov_fes6hm9vc() {
49859
49859
  },
49860
49860
  "22": {
49861
49861
  start: {
49862
- line: 84,
49862
+ line: 85,
49863
+ column: 4
49864
+ },
49865
+ end: {
49866
+ line: 87,
49867
+ column: 53
49868
+ }
49869
+ },
49870
+ "23": {
49871
+ start: {
49872
+ line: 86,
49873
+ column: 35
49874
+ },
49875
+ end: {
49876
+ line: 86,
49877
+ column: 77
49878
+ }
49879
+ },
49880
+ "24": {
49881
+ start: {
49882
+ line: 87,
49883
+ column: 35
49884
+ },
49885
+ end: {
49886
+ line: 87,
49887
+ column: 52
49888
+ }
49889
+ },
49890
+ "25": {
49891
+ start: {
49892
+ line: 89,
49863
49893
  column: 2
49864
49894
  },
49865
49895
  end: {
49866
- line: 165,
49896
+ line: 171,
49867
49897
  column: 4
49868
49898
  }
49869
49899
  },
49870
- "23": {
49900
+ "26": {
49871
49901
  start: {
49872
- line: 102,
49902
+ line: 107,
49873
49903
  column: 33
49874
49904
  },
49875
49905
  end: {
49876
- line: 102,
49906
+ line: 107,
49877
49907
  column: 66
49878
49908
  }
49879
49909
  },
49880
- "24": {
49910
+ "27": {
49881
49911
  start: {
49882
- line: 106,
49912
+ line: 111,
49883
49913
  column: 12
49884
49914
  },
49885
49915
  end: {
49886
- line: 112,
49916
+ line: 117,
49887
49917
  column: 14
49888
49918
  }
49889
49919
  },
49890
- "25": {
49920
+ "28": {
49891
49921
  start: {
49892
- line: 117,
49922
+ line: 122,
49893
49923
  column: 16
49894
49924
  },
49895
49925
  end: {
49896
- line: 117,
49926
+ line: 122,
49897
49927
  column: 50
49898
49928
  }
49899
49929
  },
49900
- "26": {
49930
+ "29": {
49901
49931
  start: {
49902
- line: 121,
49932
+ line: 126,
49903
49933
  column: 16
49904
49934
  },
49905
49935
  end: {
49906
- line: 135,
49936
+ line: 140,
49907
49937
  column: 33
49908
49938
  }
49909
49939
  },
49910
- "27": {
49940
+ "30": {
49911
49941
  start: {
49912
- line: 127,
49942
+ line: 132,
49913
49943
  column: 20
49914
49944
  },
49915
49945
  end: {
49916
- line: 133,
49946
+ line: 138,
49917
49947
  column: 22
49918
49948
  }
49919
49949
  }
@@ -49937,7 +49967,7 @@ function cov_fes6hm9vc() {
49937
49967
  column: 6
49938
49968
  },
49939
49969
  end: {
49940
- line: 166,
49970
+ line: 172,
49941
49971
  column: 1
49942
49972
  }
49943
49973
  },
@@ -49947,41 +49977,41 @@ function cov_fes6hm9vc() {
49947
49977
  name: "(anonymous_1)",
49948
49978
  decl: {
49949
49979
  start: {
49950
- line: 55,
49980
+ line: 56,
49951
49981
  column: 25
49952
49982
  },
49953
49983
  end: {
49954
- line: 55,
49984
+ line: 56,
49955
49985
  column: 26
49956
49986
  }
49957
49987
  },
49958
49988
  loc: {
49959
49989
  start: {
49960
- line: 55,
49990
+ line: 56,
49961
49991
  column: 31
49962
49992
  },
49963
49993
  end: {
49964
- line: 59,
49994
+ line: 60,
49965
49995
  column: 3
49966
49996
  }
49967
49997
  },
49968
- line: 55
49998
+ line: 56
49969
49999
  },
49970
50000
  "2": {
49971
50001
  name: "(anonymous_2)",
49972
50002
  decl: {
49973
50003
  start: {
49974
- line: 61,
50004
+ line: 62,
49975
50005
  column: 22
49976
50006
  },
49977
50007
  end: {
49978
- line: 61,
50008
+ line: 62,
49979
50009
  column: 23
49980
50010
  }
49981
50011
  },
49982
50012
  loc: {
49983
50013
  start: {
49984
- line: 61,
50014
+ line: 62,
49985
50015
  column: 28
49986
50016
  },
49987
50017
  end: {
@@ -49989,7 +50019,7 @@ function cov_fes6hm9vc() {
49989
50019
  column: 3
49990
50020
  }
49991
50021
  },
49992
- line: 61
50022
+ line: 62
49993
50023
  },
49994
50024
  "3": {
49995
50025
  name: "(anonymous_3)",
@@ -50043,121 +50073,169 @@ function cov_fes6hm9vc() {
50043
50073
  name: "(anonymous_5)",
50044
50074
  decl: {
50045
50075
  start: {
50046
- line: 102,
50076
+ line: 86,
50077
+ column: 6
50078
+ },
50079
+ end: {
50080
+ line: 86,
50081
+ column: 7
50082
+ }
50083
+ },
50084
+ loc: {
50085
+ start: {
50086
+ line: 86,
50087
+ column: 35
50088
+ },
50089
+ end: {
50090
+ line: 86,
50091
+ column: 77
50092
+ }
50093
+ },
50094
+ line: 86
50095
+ },
50096
+ "6": {
50097
+ name: "(anonymous_6)",
50098
+ decl: {
50099
+ start: {
50100
+ line: 87,
50101
+ column: 28
50102
+ },
50103
+ end: {
50104
+ line: 87,
50105
+ column: 29
50106
+ }
50107
+ },
50108
+ loc: {
50109
+ start: {
50110
+ line: 87,
50111
+ column: 35
50112
+ },
50113
+ end: {
50114
+ line: 87,
50115
+ column: 52
50116
+ }
50117
+ },
50118
+ line: 87
50119
+ },
50120
+ "7": {
50121
+ name: "(anonymous_7)",
50122
+ decl: {
50123
+ start: {
50124
+ line: 107,
50047
50125
  column: 24
50048
50126
  },
50049
50127
  end: {
50050
- line: 102,
50128
+ line: 107,
50051
50129
  column: 25
50052
50130
  }
50053
50131
  },
50054
50132
  loc: {
50055
50133
  start: {
50056
- line: 102,
50134
+ line: 107,
50057
50135
  column: 33
50058
50136
  },
50059
50137
  end: {
50060
- line: 102,
50138
+ line: 107,
50061
50139
  column: 66
50062
50140
  }
50063
50141
  },
50064
- line: 102
50142
+ line: 107
50065
50143
  },
50066
- "6": {
50067
- name: "(anonymous_6)",
50144
+ "8": {
50145
+ name: "(anonymous_8)",
50068
50146
  decl: {
50069
50147
  start: {
50070
- line: 105,
50148
+ line: 110,
50071
50149
  column: 32
50072
50150
  },
50073
50151
  end: {
50074
- line: 105,
50152
+ line: 110,
50075
50153
  column: 33
50076
50154
  }
50077
50155
  },
50078
50156
  loc: {
50079
50157
  start: {
50080
- line: 106,
50158
+ line: 111,
50081
50159
  column: 12
50082
50160
  },
50083
50161
  end: {
50084
- line: 112,
50162
+ line: 117,
50085
50163
  column: 14
50086
50164
  }
50087
50165
  },
50088
- line: 106
50166
+ line: 111
50089
50167
  },
50090
- "7": {
50091
- name: "(anonymous_7)",
50168
+ "9": {
50169
+ name: "(anonymous_9)",
50092
50170
  decl: {
50093
50171
  start: {
50094
- line: 116,
50172
+ line: 121,
50095
50173
  column: 57
50096
50174
  },
50097
50175
  end: {
50098
- line: 116,
50176
+ line: 121,
50099
50177
  column: 58
50100
50178
  }
50101
50179
  },
50102
50180
  loc: {
50103
50181
  start: {
50104
- line: 117,
50182
+ line: 122,
50105
50183
  column: 16
50106
50184
  },
50107
50185
  end: {
50108
- line: 117,
50186
+ line: 122,
50109
50187
  column: 50
50110
50188
  }
50111
50189
  },
50112
- line: 117
50190
+ line: 122
50113
50191
  },
50114
- "8": {
50115
- name: "(anonymous_8)",
50192
+ "10": {
50193
+ name: "(anonymous_10)",
50116
50194
  decl: {
50117
50195
  start: {
50118
- line: 120,
50196
+ line: 125,
50119
50197
  column: 34
50120
50198
  },
50121
50199
  end: {
50122
- line: 120,
50200
+ line: 125,
50123
50201
  column: 35
50124
50202
  }
50125
50203
  },
50126
50204
  loc: {
50127
50205
  start: {
50128
- line: 121,
50206
+ line: 126,
50129
50207
  column: 16
50130
50208
  },
50131
50209
  end: {
50132
- line: 135,
50210
+ line: 140,
50133
50211
  column: 33
50134
50212
  }
50135
50213
  },
50136
- line: 121
50214
+ line: 126
50137
50215
  },
50138
- "9": {
50139
- name: "(anonymous_9)",
50216
+ "11": {
50217
+ name: "(anonymous_11)",
50140
50218
  decl: {
50141
50219
  start: {
50142
- line: 126,
50220
+ line: 131,
50143
50221
  column: 31
50144
50222
  },
50145
50223
  end: {
50146
- line: 126,
50224
+ line: 131,
50147
50225
  column: 32
50148
50226
  }
50149
50227
  },
50150
50228
  loc: {
50151
50229
  start: {
50152
- line: 127,
50230
+ line: 132,
50153
50231
  column: 20
50154
50232
  },
50155
50233
  end: {
50156
- line: 133,
50234
+ line: 138,
50157
50235
  column: 22
50158
50236
  }
50159
50237
  },
50160
- line: 127
50238
+ line: 132
50161
50239
  }
50162
50240
  },
50163
50241
  branchMap: {
@@ -50188,50 +50266,50 @@ function cov_fes6hm9vc() {
50188
50266
  "1": {
50189
50267
  loc: {
50190
50268
  start: {
50191
- line: 35,
50269
+ line: 36,
50192
50270
  column: 10
50193
50271
  },
50194
50272
  end: {
50195
- line: 35,
50273
+ line: 36,
50196
50274
  column: 29
50197
50275
  }
50198
50276
  },
50199
50277
  type: "default-arg",
50200
50278
  locations: [{
50201
50279
  start: {
50202
- line: 35,
50280
+ line: 36,
50203
50281
  column: 27
50204
50282
  },
50205
50283
  end: {
50206
- line: 35,
50284
+ line: 36,
50207
50285
  column: 29
50208
50286
  }
50209
50287
  }],
50210
- line: 35
50288
+ line: 36
50211
50289
  },
50212
50290
  "2": {
50213
50291
  loc: {
50214
50292
  start: {
50215
- line: 35,
50293
+ line: 36,
50216
50294
  column: 31
50217
50295
  },
50218
50296
  end: {
50219
- line: 35,
50297
+ line: 36,
50220
50298
  column: 52
50221
50299
  }
50222
50300
  },
50223
50301
  type: "default-arg",
50224
50302
  locations: [{
50225
50303
  start: {
50226
- line: 35,
50304
+ line: 36,
50227
50305
  column: 50
50228
50306
  },
50229
50307
  end: {
50230
- line: 35,
50308
+ line: 36,
50231
50309
  column: 52
50232
50310
  }
50233
50311
  }],
50234
- line: 35
50312
+ line: 36
50235
50313
  },
50236
50314
  "3": {
50237
50315
  loc: {
@@ -50359,110 +50437,176 @@ function cov_fes6hm9vc() {
50359
50437
  "7": {
50360
50438
  loc: {
50361
50439
  start: {
50362
- line: 93,
50440
+ line: 85,
50441
+ column: 4
50442
+ },
50443
+ end: {
50444
+ line: 87,
50445
+ column: 53
50446
+ }
50447
+ },
50448
+ type: "binary-expr",
50449
+ locations: [{
50450
+ start: {
50451
+ line: 85,
50452
+ column: 4
50453
+ },
50454
+ end: {
50455
+ line: 87,
50456
+ column: 5
50457
+ }
50458
+ }, {
50459
+ start: {
50460
+ line: 87,
50461
+ column: 9
50462
+ },
50463
+ end: {
50464
+ line: 87,
50465
+ column: 53
50466
+ }
50467
+ }],
50468
+ line: 85
50469
+ },
50470
+ "8": {
50471
+ loc: {
50472
+ start: {
50473
+ line: 86,
50474
+ column: 35
50475
+ },
50476
+ end: {
50477
+ line: 86,
50478
+ column: 77
50479
+ }
50480
+ },
50481
+ type: "binary-expr",
50482
+ locations: [{
50483
+ start: {
50484
+ line: 86,
50485
+ column: 35
50486
+ },
50487
+ end: {
50488
+ line: 86,
50489
+ column: 51
50490
+ }
50491
+ }, {
50492
+ start: {
50493
+ line: 86,
50494
+ column: 55
50495
+ },
50496
+ end: {
50497
+ line: 86,
50498
+ column: 77
50499
+ }
50500
+ }],
50501
+ line: 86
50502
+ },
50503
+ "9": {
50504
+ loc: {
50505
+ start: {
50506
+ line: 98,
50363
50507
  column: 11
50364
50508
  },
50365
50509
  end: {
50366
- line: 104,
50510
+ line: 109,
50367
50511
  column: 11
50368
50512
  }
50369
50513
  },
50370
50514
  type: "binary-expr",
50371
50515
  locations: [{
50372
50516
  start: {
50373
- line: 93,
50517
+ line: 98,
50374
50518
  column: 11
50375
50519
  },
50376
50520
  end: {
50377
- line: 93,
50521
+ line: 98,
50378
50522
  column: 23
50379
50523
  }
50380
50524
  }, {
50381
50525
  start: {
50382
- line: 94,
50526
+ line: 99,
50383
50527
  column: 12
50384
50528
  },
50385
50529
  end: {
50386
- line: 103,
50530
+ line: 108,
50387
50531
  column: 14
50388
50532
  }
50389
50533
  }],
50390
- line: 93
50534
+ line: 98
50391
50535
  },
50392
- "8": {
50536
+ "10": {
50393
50537
  loc: {
50394
50538
  start: {
50395
- line: 114,
50539
+ line: 119,
50396
50540
  column: 11
50397
50541
  },
50398
50542
  end: {
50399
- line: 138,
50543
+ line: 143,
50400
50544
  column: 11
50401
50545
  }
50402
50546
  },
50403
50547
  type: "binary-expr",
50404
50548
  locations: [{
50405
50549
  start: {
50406
- line: 114,
50550
+ line: 119,
50407
50551
  column: 11
50408
50552
  },
50409
50553
  end: {
50410
- line: 114,
50554
+ line: 119,
50411
50555
  column: 36
50412
50556
  }
50413
50557
  }, {
50414
50558
  start: {
50415
- line: 115,
50559
+ line: 120,
50416
50560
  column: 12
50417
50561
  },
50418
50562
  end: {
50419
- line: 137,
50563
+ line: 142,
50420
50564
  column: 24
50421
50565
  }
50422
50566
  }],
50423
- line: 114
50567
+ line: 119
50424
50568
  },
50425
- "9": {
50569
+ "11": {
50426
50570
  loc: {
50427
50571
  start: {
50428
- line: 139,
50572
+ line: 144,
50429
50573
  column: 11
50430
50574
  },
50431
50575
  end: {
50432
- line: 145,
50576
+ line: 150,
50433
50577
  column: 11
50434
50578
  }
50435
50579
  },
50436
50580
  type: "binary-expr",
50437
50581
  locations: [{
50438
50582
  start: {
50439
- line: 139,
50583
+ line: 144,
50440
50584
  column: 11
50441
50585
  },
50442
50586
  end: {
50443
- line: 139,
50587
+ line: 144,
50444
50588
  column: 36
50445
50589
  }
50446
50590
  }, {
50447
50591
  start: {
50448
- line: 139,
50592
+ line: 144,
50449
50593
  column: 40
50450
50594
  },
50451
50595
  end: {
50452
- line: 139,
50596
+ line: 144,
50453
50597
  column: 63
50454
50598
  }
50455
50599
  }, {
50456
50600
  start: {
50457
- line: 140,
50601
+ line: 145,
50458
50602
  column: 12
50459
50603
  },
50460
50604
  end: {
50461
- line: 144,
50605
+ line: 149,
50462
50606
  column: 25
50463
50607
  }
50464
50608
  }],
50465
- line: 139
50609
+ line: 144
50466
50610
  }
50467
50611
  },
50468
50612
  s: {
@@ -50493,7 +50637,10 @@ function cov_fes6hm9vc() {
50493
50637
  "24": 0,
50494
50638
  "25": 0,
50495
50639
  "26": 0,
50496
- "27": 0
50640
+ "27": 0,
50641
+ "28": 0,
50642
+ "29": 0,
50643
+ "30": 0
50497
50644
  },
50498
50645
  f: {
50499
50646
  "0": 0,
@@ -50505,7 +50652,9 @@ function cov_fes6hm9vc() {
50505
50652
  "6": 0,
50506
50653
  "7": 0,
50507
50654
  "8": 0,
50508
- "9": 0
50655
+ "9": 0,
50656
+ "10": 0,
50657
+ "11": 0
50509
50658
  },
50510
50659
  b: {
50511
50660
  "0": [0],
@@ -50517,10 +50666,12 @@ function cov_fes6hm9vc() {
50517
50666
  "6": [0, 0],
50518
50667
  "7": [0, 0],
50519
50668
  "8": [0, 0],
50520
- "9": [0, 0, 0]
50669
+ "9": [0, 0],
50670
+ "10": [0, 0],
50671
+ "11": [0, 0, 0]
50521
50672
  },
50522
50673
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
50523
- hash: "a08e4ae9fe59aa89f97310cdf7295fcac0390a5e"
50674
+ hash: "da2fc737addf1f27222bfa8949eb480421307402"
50524
50675
  };
50525
50676
  var coverage = global[gcv] || (global[gcv] = {});
50526
50677
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -50553,14 +50704,15 @@ var Pane = function Pane(_ref) {
50553
50704
  children = _ref.children,
50554
50705
  otherProps = _objectWithoutProperties(_ref, _excluded);
50555
50706
  cov_fes6hm9vc().f[0]++;
50556
- var _ref2 = (cov_fes6hm9vc().s[1]++, useState("")),
50707
+ var searchParams = (cov_fes6hm9vc().s[1]++, getQueryParams());
50708
+ var _ref2 = (cov_fes6hm9vc().s[2]++, useState("")),
50557
50709
  _ref3 = _slicedToArray(_ref2, 2),
50558
50710
  searchTerm = _ref3[0],
50559
50711
  setSearchTerm = _ref3[1];
50560
- var history = (cov_fes6hm9vc().s[2]++, useHistory());
50561
- var _ref4 = (cov_fes6hm9vc().s[3]++, useTranslation()),
50712
+ var history = (cov_fes6hm9vc().s[3]++, useHistory());
50713
+ var _ref4 = (cov_fes6hm9vc().s[4]++, useTranslation()),
50562
50714
  t = _ref4.t;
50563
- var _ref5 = (cov_fes6hm9vc().s[4]++, buildFilteredColumns({
50715
+ var _ref5 = (cov_fes6hm9vc().s[5]++, buildFilteredColumns({
50564
50716
  searchTerm: searchTerm,
50565
50717
  columns: columns
50566
50718
  })),
@@ -50568,32 +50720,31 @@ var Pane = function Pane(_ref) {
50568
50720
  groupedColumns = _ref5$groupedColumns === void 0 ? (cov_fes6hm9vc().b[1][0]++, []) : _ref5$groupedColumns,
50569
50721
  _ref5$ungroupedColumn = _ref5.ungroupedColumns,
50570
50722
  ungroupedColumns = _ref5$ungroupedColumn === void 0 ? (cov_fes6hm9vc().b[2][0]++, []) : _ref5$ungroupedColumn;
50571
- var filters = (cov_fes6hm9vc().s[5]++, useFilters({
50723
+ var filters = (cov_fes6hm9vc().s[6]++, useFilters({
50572
50724
  onFiltersChange: onChange,
50573
50725
  columns: columns,
50574
50726
  keyword: keyword,
50575
50727
  onSelectorsChange: onSelectorsChange
50576
50728
  }));
50577
- var keywordFilter = (cov_fes6hm9vc().s[6]++, _objectSpread({
50729
+ var keywordFilter = (cov_fes6hm9vc().s[7]++, _objectSpread({
50578
50730
  key: "keyword",
50579
50731
  type: "text",
50580
50732
  rule: "contains",
50581
50733
  label: "Keyword"
50582
50734
  }, keyword));
50583
- cov_fes6hm9vc().s[7]++;
50735
+ cov_fes6hm9vc().s[8]++;
50584
50736
  var handleClearAll = function handleClearAll() {
50585
50737
  cov_fes6hm9vc().f[1]++;
50586
- cov_fes6hm9vc().s[8]++;
50587
- keyword.setValue("");
50588
50738
  cov_fes6hm9vc().s[9]++;
50589
- keyword.value = "";
50739
+ keyword.setValue("");
50590
50740
  cov_fes6hm9vc().s[10]++;
50741
+ keyword.value = "";
50742
+ cov_fes6hm9vc().s[11]++;
50591
50743
  handleChange([], true);
50592
50744
  };
50593
- cov_fes6hm9vc().s[11]++;
50745
+ cov_fes6hm9vc().s[12]++;
50594
50746
  var handleClose = function handleClose() {
50595
50747
  cov_fes6hm9vc().f[2]++;
50596
- var searchParams = (cov_fes6hm9vc().s[12]++, getQueryParams());
50597
50748
  cov_fes6hm9vc().s[13]++;
50598
50749
  columns.forEach(function (_ref6) {
50599
50750
  var key = _ref6.key;
@@ -50633,7 +50784,18 @@ var Pane = function Pane(_ref) {
50633
50784
  search: params
50634
50785
  });
50635
50786
  };
50636
- cov_fes6hm9vc().s[22]++;
50787
+ var isClearFiltersDisabled = (cov_fes6hm9vc().s[22]++, (cov_fes6hm9vc().b[7][0]++, !filters.some(function (_ref7) {
50788
+ var value = _ref7.value,
50789
+ defaultValue = _ref7.defaultValue;
50790
+ cov_fes6hm9vc().f[5]++;
50791
+ cov_fes6hm9vc().s[23]++;
50792
+ return (cov_fes6hm9vc().b[8][0]++, isPresent(value)) && (cov_fes6hm9vc().b[8][1]++, value !== defaultValue);
50793
+ })) && (cov_fes6hm9vc().b[7][1]++, !childrenKeys.some(function (key) {
50794
+ cov_fes6hm9vc().f[6]++;
50795
+ cov_fes6hm9vc().s[24]++;
50796
+ return searchParams[key];
50797
+ })));
50798
+ cov_fes6hm9vc().s[25]++;
50637
50799
  return /*#__PURE__*/t__default.createElement(Portal, {
50638
50800
  rootId: "neeto-filters-portal"
50639
50801
  }, /*#__PURE__*/t__default.createElement(Slider, _extends$1({
@@ -50647,7 +50809,7 @@ var Pane = function Pane(_ref) {
50647
50809
  weight: "semibold"
50648
50810
  }, t("common.filters"))), /*#__PURE__*/t__default.createElement(Slider.Body, {
50649
50811
  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, {
50812
+ }, (cov_fes6hm9vc().b[9][0]++, isSearchable) && (cov_fes6hm9vc().b[9][1]++, /*#__PURE__*/t__default.createElement(Input, {
50651
50813
  autoFocus: true,
50652
50814
  "data-cy": "neeto-filters-column-search",
50653
50815
  prefix: /*#__PURE__*/t__default.createElement(Search, null),
@@ -50656,13 +50818,13 @@ var Pane = function Pane(_ref) {
50656
50818
  resources: t("common.filters").toLocaleLowerCase()
50657
50819
  }),
50658
50820
  onChange: function onChange(event) {
50659
- cov_fes6hm9vc().f[5]++;
50660
- cov_fes6hm9vc().s[23]++;
50821
+ cov_fes6hm9vc().f[7]++;
50822
+ cov_fes6hm9vc().s[26]++;
50661
50823
  return setSearchTerm(event.target.value);
50662
50824
  }
50663
50825
  })), ungroupedColumns.map(function (column) {
50664
- cov_fes6hm9vc().f[6]++;
50665
- cov_fes6hm9vc().s[24]++;
50826
+ cov_fes6hm9vc().f[8]++;
50827
+ cov_fes6hm9vc().s[27]++;
50666
50828
  return /*#__PURE__*/t__default.createElement(Item, {
50667
50829
  autoFocus: column.key === isOpen,
50668
50830
  column: column,
@@ -50670,27 +50832,27 @@ var Pane = function Pane(_ref) {
50670
50832
  key: column.key,
50671
50833
  onChange: handleChange
50672
50834
  });
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]++;
50835
+ }), (cov_fes6hm9vc().b[10][0]++, isPresent(groupedColumns)) && (cov_fes6hm9vc().b[10][1]++, /*#__PURE__*/t__default.createElement(Accordion, {
50836
+ defaultActiveKey: groupedColumns.findIndex(function (_ref8) {
50837
+ var columns = _ref8.columns;
50838
+ cov_fes6hm9vc().f[9]++;
50839
+ cov_fes6hm9vc().s[28]++;
50678
50840
  return existsBy({
50679
50841
  key: isOpen
50680
50842
  }, columns);
50681
50843
  })
50682
- }, groupedColumns.map(function (_ref8) {
50683
- var group = _ref8.group,
50684
- columns = _ref8.columns;
50685
- cov_fes6hm9vc().f[8]++;
50686
- cov_fes6hm9vc().s[26]++;
50844
+ }, groupedColumns.map(function (_ref9) {
50845
+ var group = _ref9.group,
50846
+ columns = _ref9.columns;
50847
+ cov_fes6hm9vc().f[10]++;
50848
+ cov_fes6hm9vc().s[29]++;
50687
50849
  return /*#__PURE__*/t__default.createElement(Accordion.Item, {
50688
50850
  className: "accordion_item",
50689
50851
  key: group,
50690
50852
  title: group
50691
50853
  }, columns.map(function (column) {
50692
- cov_fes6hm9vc().f[9]++;
50693
- cov_fes6hm9vc().s[27]++;
50854
+ cov_fes6hm9vc().f[11]++;
50855
+ cov_fes6hm9vc().s[30]++;
50694
50856
  return /*#__PURE__*/t__default.createElement(Item, {
50695
50857
  autoFocus: column.key === isOpen,
50696
50858
  column: column,
@@ -50699,7 +50861,7 @@ var Pane = function Pane(_ref) {
50699
50861
  onChange: handleChange
50700
50862
  });
50701
50863
  }));
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, {
50864
+ }))), (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
50865
  style: "body2"
50704
50866
  }, t("messages.noResourcesFound", {
50705
50867
  resources: t("common.columns").toLocaleLowerCase()
@@ -50711,6 +50873,7 @@ var Pane = function Pane(_ref) {
50711
50873
  onClick: onClose
50712
50874
  }), /*#__PURE__*/t__default.createElement(Button, {
50713
50875
  "data-cy": "neeto-filters-clear-btn",
50876
+ disabled: isClearFiltersDisabled,
50714
50877
  label: t("common.clearFilters"),
50715
50878
  style: "text",
50716
50879
  onClick: handleClearAll