@bigbinary/neeto-molecules 1.0.25 → 1.0.26
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/Columns.cjs.js +139 -112
- package/dist/Columns.cjs.js.map +1 -1
- package/dist/Columns.js +139 -112
- package/dist/Columns.js.map +1 -1
- package/dist/CustomDomain.cjs.js +193 -1020
- package/dist/CustomDomain.cjs.js.map +1 -1
- package/dist/CustomDomain.js +185 -1012
- package/dist/CustomDomain.js.map +1 -1
- package/dist/SubHeader.cjs.js +208 -1094
- package/dist/SubHeader.cjs.js.map +1 -1
- package/dist/SubHeader.js +209 -1095
- package/dist/SubHeader.js.map +1 -1
- package/package.json +1 -1
- package/types/SubHeader.d.ts +39 -0
package/dist/Columns.js
CHANGED
|
@@ -263,7 +263,7 @@ var filterBySearchTerm = function filterBySearchTerm(searchTerm, columns) {
|
|
|
263
263
|
|
|
264
264
|
function cov_izd8xctr3() {
|
|
265
265
|
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Columns/index.jsx";
|
|
266
|
-
var hash = "
|
|
266
|
+
var hash = "3143bbc0cf786ac8d049c7e9684bf10e632089e9";
|
|
267
267
|
var global = new Function("return this")();
|
|
268
268
|
var gcv = "__coverage__";
|
|
269
269
|
var coverageData = {
|
|
@@ -275,157 +275,157 @@ function cov_izd8xctr3() {
|
|
|
275
275
|
column: 16
|
|
276
276
|
},
|
|
277
277
|
end: {
|
|
278
|
-
line:
|
|
278
|
+
line: 107,
|
|
279
279
|
column: 1
|
|
280
280
|
}
|
|
281
281
|
},
|
|
282
282
|
"1": {
|
|
283
283
|
start: {
|
|
284
|
-
line:
|
|
284
|
+
line: 26,
|
|
285
285
|
column: 38
|
|
286
286
|
},
|
|
287
287
|
end: {
|
|
288
|
-
line:
|
|
288
|
+
line: 26,
|
|
289
289
|
column: 46
|
|
290
290
|
}
|
|
291
291
|
},
|
|
292
292
|
"2": {
|
|
293
293
|
start: {
|
|
294
|
-
line:
|
|
294
|
+
line: 27,
|
|
295
295
|
column: 44
|
|
296
296
|
},
|
|
297
297
|
end: {
|
|
298
|
-
line:
|
|
298
|
+
line: 30,
|
|
299
299
|
column: 3
|
|
300
300
|
}
|
|
301
301
|
},
|
|
302
302
|
"3": {
|
|
303
303
|
start: {
|
|
304
|
-
line:
|
|
304
|
+
line: 31,
|
|
305
305
|
column: 38
|
|
306
306
|
},
|
|
307
307
|
end: {
|
|
308
|
-
line:
|
|
308
|
+
line: 31,
|
|
309
309
|
column: 50
|
|
310
310
|
}
|
|
311
311
|
},
|
|
312
312
|
"4": {
|
|
313
313
|
start: {
|
|
314
|
-
line:
|
|
314
|
+
line: 33,
|
|
315
315
|
column: 18
|
|
316
316
|
},
|
|
317
317
|
end: {
|
|
318
|
-
line:
|
|
318
|
+
line: 33,
|
|
319
319
|
column: 62
|
|
320
320
|
}
|
|
321
321
|
},
|
|
322
322
|
"5": {
|
|
323
323
|
start: {
|
|
324
|
-
line:
|
|
324
|
+
line: 34,
|
|
325
325
|
column: 26
|
|
326
326
|
},
|
|
327
327
|
end: {
|
|
328
|
-
line:
|
|
328
|
+
line: 34,
|
|
329
329
|
column: 65
|
|
330
330
|
}
|
|
331
331
|
},
|
|
332
332
|
"6": {
|
|
333
333
|
start: {
|
|
334
|
-
line:
|
|
334
|
+
line: 36,
|
|
335
335
|
column: 23
|
|
336
336
|
},
|
|
337
337
|
end: {
|
|
338
|
-
line:
|
|
338
|
+
line: 39,
|
|
339
339
|
column: 58
|
|
340
340
|
}
|
|
341
341
|
},
|
|
342
342
|
"7": {
|
|
343
343
|
start: {
|
|
344
|
-
line:
|
|
344
|
+
line: 37,
|
|
345
345
|
column: 4
|
|
346
346
|
},
|
|
347
347
|
end: {
|
|
348
|
-
line:
|
|
348
|
+
line: 39,
|
|
349
349
|
column: 58
|
|
350
350
|
}
|
|
351
351
|
},
|
|
352
352
|
"8": {
|
|
353
353
|
start: {
|
|
354
|
-
line:
|
|
354
|
+
line: 41,
|
|
355
355
|
column: 23
|
|
356
356
|
},
|
|
357
357
|
end: {
|
|
358
|
-
line:
|
|
358
|
+
line: 41,
|
|
359
359
|
column: 70
|
|
360
360
|
}
|
|
361
361
|
},
|
|
362
362
|
"9": {
|
|
363
363
|
start: {
|
|
364
|
-
line:
|
|
364
|
+
line: 41,
|
|
365
365
|
column: 50
|
|
366
366
|
},
|
|
367
367
|
end: {
|
|
368
|
-
line:
|
|
368
|
+
line: 41,
|
|
369
369
|
column: 70
|
|
370
370
|
}
|
|
371
371
|
},
|
|
372
372
|
"10": {
|
|
373
373
|
start: {
|
|
374
|
-
line:
|
|
374
|
+
line: 43,
|
|
375
375
|
column: 2
|
|
376
376
|
},
|
|
377
377
|
end: {
|
|
378
|
-
line:
|
|
378
|
+
line: 45,
|
|
379
379
|
column: 34
|
|
380
380
|
}
|
|
381
381
|
},
|
|
382
382
|
"11": {
|
|
383
383
|
start: {
|
|
384
|
-
line:
|
|
384
|
+
line: 44,
|
|
385
385
|
column: 4
|
|
386
386
|
},
|
|
387
387
|
end: {
|
|
388
|
-
line:
|
|
388
|
+
line: 44,
|
|
389
389
|
column: 79
|
|
390
390
|
}
|
|
391
391
|
},
|
|
392
392
|
"12": {
|
|
393
393
|
start: {
|
|
394
|
-
line:
|
|
394
|
+
line: 47,
|
|
395
395
|
column: 16
|
|
396
396
|
},
|
|
397
397
|
end: {
|
|
398
|
-
line:
|
|
398
|
+
line: 47,
|
|
399
399
|
column: 32
|
|
400
400
|
}
|
|
401
401
|
},
|
|
402
402
|
"13": {
|
|
403
403
|
start: {
|
|
404
|
-
line:
|
|
404
|
+
line: 49,
|
|
405
405
|
column: 2
|
|
406
406
|
},
|
|
407
407
|
end: {
|
|
408
|
-
line:
|
|
408
|
+
line: 106,
|
|
409
409
|
column: 4
|
|
410
410
|
}
|
|
411
411
|
},
|
|
412
412
|
"14": {
|
|
413
413
|
start: {
|
|
414
|
-
line:
|
|
414
|
+
line: 56,
|
|
415
415
|
column: 21
|
|
416
416
|
},
|
|
417
417
|
end: {
|
|
418
|
-
line:
|
|
418
|
+
line: 56,
|
|
419
419
|
column: 38
|
|
420
420
|
}
|
|
421
421
|
},
|
|
422
422
|
"15": {
|
|
423
423
|
start: {
|
|
424
|
-
line:
|
|
424
|
+
line: 75,
|
|
425
425
|
column: 14
|
|
426
426
|
},
|
|
427
427
|
end: {
|
|
428
|
-
line:
|
|
428
|
+
line: 90,
|
|
429
429
|
column: 25
|
|
430
430
|
}
|
|
431
431
|
}
|
|
@@ -445,135 +445,135 @@ function cov_izd8xctr3() {
|
|
|
445
445
|
},
|
|
446
446
|
loc: {
|
|
447
447
|
start: {
|
|
448
|
-
line:
|
|
448
|
+
line: 25,
|
|
449
449
|
column: 6
|
|
450
450
|
},
|
|
451
451
|
end: {
|
|
452
|
-
line:
|
|
452
|
+
line: 107,
|
|
453
453
|
column: 1
|
|
454
454
|
}
|
|
455
455
|
},
|
|
456
|
-
line:
|
|
456
|
+
line: 25
|
|
457
457
|
},
|
|
458
458
|
"1": {
|
|
459
459
|
name: "(anonymous_1)",
|
|
460
460
|
decl: {
|
|
461
461
|
start: {
|
|
462
|
-
line:
|
|
462
|
+
line: 36,
|
|
463
463
|
column: 23
|
|
464
464
|
},
|
|
465
465
|
end: {
|
|
466
|
-
line:
|
|
466
|
+
line: 36,
|
|
467
467
|
column: 24
|
|
468
468
|
}
|
|
469
469
|
},
|
|
470
470
|
loc: {
|
|
471
471
|
start: {
|
|
472
|
-
line:
|
|
472
|
+
line: 37,
|
|
473
473
|
column: 4
|
|
474
474
|
},
|
|
475
475
|
end: {
|
|
476
|
-
line:
|
|
476
|
+
line: 39,
|
|
477
477
|
column: 58
|
|
478
478
|
}
|
|
479
479
|
},
|
|
480
|
-
line:
|
|
480
|
+
line: 37
|
|
481
481
|
},
|
|
482
482
|
"2": {
|
|
483
483
|
name: "(anonymous_2)",
|
|
484
484
|
decl: {
|
|
485
485
|
start: {
|
|
486
|
-
line:
|
|
486
|
+
line: 41,
|
|
487
487
|
column: 23
|
|
488
488
|
},
|
|
489
489
|
end: {
|
|
490
|
-
line:
|
|
490
|
+
line: 41,
|
|
491
491
|
column: 24
|
|
492
492
|
}
|
|
493
493
|
},
|
|
494
494
|
loc: {
|
|
495
495
|
start: {
|
|
496
|
-
line:
|
|
496
|
+
line: 41,
|
|
497
497
|
column: 50
|
|
498
498
|
},
|
|
499
499
|
end: {
|
|
500
|
-
line:
|
|
500
|
+
line: 41,
|
|
501
501
|
column: 70
|
|
502
502
|
}
|
|
503
503
|
},
|
|
504
|
-
line:
|
|
504
|
+
line: 41
|
|
505
505
|
},
|
|
506
506
|
"3": {
|
|
507
507
|
name: "(anonymous_3)",
|
|
508
508
|
decl: {
|
|
509
509
|
start: {
|
|
510
|
-
line:
|
|
510
|
+
line: 43,
|
|
511
511
|
column: 12
|
|
512
512
|
},
|
|
513
513
|
end: {
|
|
514
|
-
line:
|
|
514
|
+
line: 43,
|
|
515
515
|
column: 13
|
|
516
516
|
}
|
|
517
517
|
},
|
|
518
518
|
loc: {
|
|
519
519
|
start: {
|
|
520
|
-
line:
|
|
520
|
+
line: 43,
|
|
521
521
|
column: 18
|
|
522
522
|
},
|
|
523
523
|
end: {
|
|
524
|
-
line:
|
|
524
|
+
line: 45,
|
|
525
525
|
column: 3
|
|
526
526
|
}
|
|
527
527
|
},
|
|
528
|
-
line:
|
|
528
|
+
line: 43
|
|
529
529
|
},
|
|
530
530
|
"4": {
|
|
531
531
|
name: "(anonymous_4)",
|
|
532
532
|
decl: {
|
|
533
533
|
start: {
|
|
534
|
-
line:
|
|
534
|
+
line: 56,
|
|
535
535
|
column: 15
|
|
536
536
|
},
|
|
537
537
|
end: {
|
|
538
|
-
line:
|
|
538
|
+
line: 56,
|
|
539
539
|
column: 16
|
|
540
540
|
}
|
|
541
541
|
},
|
|
542
542
|
loc: {
|
|
543
543
|
start: {
|
|
544
|
-
line:
|
|
544
|
+
line: 56,
|
|
545
545
|
column: 21
|
|
546
546
|
},
|
|
547
547
|
end: {
|
|
548
|
-
line:
|
|
548
|
+
line: 56,
|
|
549
549
|
column: 38
|
|
550
550
|
}
|
|
551
551
|
},
|
|
552
|
-
line:
|
|
552
|
+
line: 56
|
|
553
553
|
},
|
|
554
554
|
"5": {
|
|
555
555
|
name: "(anonymous_5)",
|
|
556
556
|
decl: {
|
|
557
557
|
start: {
|
|
558
|
-
line:
|
|
558
|
+
line: 74,
|
|
559
559
|
column: 32
|
|
560
560
|
},
|
|
561
561
|
end: {
|
|
562
|
-
line:
|
|
562
|
+
line: 74,
|
|
563
563
|
column: 33
|
|
564
564
|
}
|
|
565
565
|
},
|
|
566
566
|
loc: {
|
|
567
567
|
start: {
|
|
568
|
-
line:
|
|
568
|
+
line: 75,
|
|
569
569
|
column: 14
|
|
570
570
|
},
|
|
571
571
|
end: {
|
|
572
|
-
line:
|
|
572
|
+
line: 90,
|
|
573
573
|
column: 25
|
|
574
574
|
}
|
|
575
575
|
},
|
|
576
|
-
line:
|
|
576
|
+
line: 75
|
|
577
577
|
}
|
|
578
578
|
},
|
|
579
579
|
branchMap: {
|
|
@@ -729,18 +729,18 @@ function cov_izd8xctr3() {
|
|
|
729
729
|
},
|
|
730
730
|
end: {
|
|
731
731
|
line: 21,
|
|
732
|
-
column:
|
|
732
|
+
column: 19
|
|
733
733
|
}
|
|
734
734
|
},
|
|
735
735
|
type: "default-arg",
|
|
736
736
|
locations: [{
|
|
737
737
|
start: {
|
|
738
738
|
line: 21,
|
|
739
|
-
column:
|
|
739
|
+
column: 17
|
|
740
740
|
},
|
|
741
741
|
end: {
|
|
742
742
|
line: 21,
|
|
743
|
-
column:
|
|
743
|
+
column: 19
|
|
744
744
|
}
|
|
745
745
|
}],
|
|
746
746
|
line: 21
|
|
@@ -753,18 +753,18 @@ function cov_izd8xctr3() {
|
|
|
753
753
|
},
|
|
754
754
|
end: {
|
|
755
755
|
line: 22,
|
|
756
|
-
column:
|
|
756
|
+
column: 65
|
|
757
757
|
}
|
|
758
758
|
},
|
|
759
759
|
type: "default-arg",
|
|
760
760
|
locations: [{
|
|
761
761
|
start: {
|
|
762
762
|
line: 22,
|
|
763
|
-
column:
|
|
763
|
+
column: 20
|
|
764
764
|
},
|
|
765
765
|
end: {
|
|
766
766
|
line: 22,
|
|
767
|
-
column:
|
|
767
|
+
column: 65
|
|
768
768
|
}
|
|
769
769
|
}],
|
|
770
770
|
line: 22
|
|
@@ -777,18 +777,18 @@ function cov_izd8xctr3() {
|
|
|
777
777
|
},
|
|
778
778
|
end: {
|
|
779
779
|
line: 23,
|
|
780
|
-
column:
|
|
780
|
+
column: 21
|
|
781
781
|
}
|
|
782
782
|
},
|
|
783
783
|
type: "default-arg",
|
|
784
784
|
locations: [{
|
|
785
785
|
start: {
|
|
786
786
|
line: 23,
|
|
787
|
-
column:
|
|
787
|
+
column: 13
|
|
788
788
|
},
|
|
789
789
|
end: {
|
|
790
790
|
line: 23,
|
|
791
|
-
column:
|
|
791
|
+
column: 21
|
|
792
792
|
}
|
|
793
793
|
}],
|
|
794
794
|
line: 23
|
|
@@ -796,134 +796,158 @@ function cov_izd8xctr3() {
|
|
|
796
796
|
"9": {
|
|
797
797
|
loc: {
|
|
798
798
|
start: {
|
|
799
|
-
line:
|
|
799
|
+
line: 24,
|
|
800
|
+
column: 2
|
|
801
|
+
},
|
|
802
|
+
end: {
|
|
803
|
+
line: 24,
|
|
804
|
+
column: 18
|
|
805
|
+
}
|
|
806
|
+
},
|
|
807
|
+
type: "default-arg",
|
|
808
|
+
locations: [{
|
|
809
|
+
start: {
|
|
810
|
+
line: 24,
|
|
811
|
+
column: 16
|
|
812
|
+
},
|
|
813
|
+
end: {
|
|
814
|
+
line: 24,
|
|
815
|
+
column: 18
|
|
816
|
+
}
|
|
817
|
+
}],
|
|
818
|
+
line: 24
|
|
819
|
+
},
|
|
820
|
+
"10": {
|
|
821
|
+
loc: {
|
|
822
|
+
start: {
|
|
823
|
+
line: 37,
|
|
800
824
|
column: 4
|
|
801
825
|
},
|
|
802
826
|
end: {
|
|
803
|
-
line:
|
|
827
|
+
line: 39,
|
|
804
828
|
column: 58
|
|
805
829
|
}
|
|
806
830
|
},
|
|
807
831
|
type: "cond-expr",
|
|
808
832
|
locations: [{
|
|
809
833
|
start: {
|
|
810
|
-
line:
|
|
834
|
+
line: 38,
|
|
811
835
|
column: 8
|
|
812
836
|
},
|
|
813
837
|
end: {
|
|
814
|
-
line:
|
|
838
|
+
line: 38,
|
|
815
839
|
column: 61
|
|
816
840
|
}
|
|
817
841
|
}, {
|
|
818
842
|
start: {
|
|
819
|
-
line:
|
|
843
|
+
line: 39,
|
|
820
844
|
column: 8
|
|
821
845
|
},
|
|
822
846
|
end: {
|
|
823
|
-
line:
|
|
847
|
+
line: 39,
|
|
824
848
|
column: 58
|
|
825
849
|
}
|
|
826
850
|
}],
|
|
827
|
-
line:
|
|
851
|
+
line: 37
|
|
828
852
|
},
|
|
829
|
-
"
|
|
853
|
+
"11": {
|
|
830
854
|
loc: {
|
|
831
855
|
start: {
|
|
832
|
-
line:
|
|
856
|
+
line: 61,
|
|
833
857
|
column: 11
|
|
834
858
|
},
|
|
835
859
|
end: {
|
|
836
|
-
line:
|
|
860
|
+
line: 72,
|
|
837
861
|
column: 11
|
|
838
862
|
}
|
|
839
863
|
},
|
|
840
864
|
type: "binary-expr",
|
|
841
865
|
locations: [{
|
|
842
866
|
start: {
|
|
843
|
-
line:
|
|
867
|
+
line: 61,
|
|
844
868
|
column: 11
|
|
845
869
|
},
|
|
846
870
|
end: {
|
|
847
|
-
line:
|
|
871
|
+
line: 61,
|
|
848
872
|
column: 23
|
|
849
873
|
}
|
|
850
874
|
}, {
|
|
851
875
|
start: {
|
|
852
|
-
line:
|
|
876
|
+
line: 62,
|
|
853
877
|
column: 12
|
|
854
878
|
},
|
|
855
879
|
end: {
|
|
856
|
-
line:
|
|
880
|
+
line: 71,
|
|
857
881
|
column: 14
|
|
858
882
|
}
|
|
859
883
|
}],
|
|
860
|
-
line:
|
|
884
|
+
line: 61
|
|
861
885
|
},
|
|
862
|
-
"
|
|
886
|
+
"12": {
|
|
863
887
|
loc: {
|
|
864
888
|
start: {
|
|
865
|
-
line:
|
|
889
|
+
line: 73,
|
|
866
890
|
column: 11
|
|
867
891
|
},
|
|
868
892
|
end: {
|
|
869
|
-
line:
|
|
893
|
+
line: 96,
|
|
870
894
|
column: 11
|
|
871
895
|
}
|
|
872
896
|
},
|
|
873
897
|
type: "cond-expr",
|
|
874
898
|
locations: [{
|
|
875
899
|
start: {
|
|
876
|
-
line:
|
|
900
|
+
line: 74,
|
|
877
901
|
column: 12
|
|
878
902
|
},
|
|
879
903
|
end: {
|
|
880
|
-
line:
|
|
904
|
+
line: 91,
|
|
881
905
|
column: 14
|
|
882
906
|
}
|
|
883
907
|
}, {
|
|
884
908
|
start: {
|
|
885
|
-
line:
|
|
909
|
+
line: 93,
|
|
886
910
|
column: 12
|
|
887
911
|
},
|
|
888
912
|
end: {
|
|
889
|
-
line:
|
|
913
|
+
line: 95,
|
|
890
914
|
column: 19
|
|
891
915
|
}
|
|
892
916
|
}],
|
|
893
|
-
line:
|
|
917
|
+
line: 73
|
|
894
918
|
},
|
|
895
|
-
"
|
|
919
|
+
"13": {
|
|
896
920
|
loc: {
|
|
897
921
|
start: {
|
|
898
|
-
line:
|
|
922
|
+
line: 97,
|
|
899
923
|
column: 11
|
|
900
924
|
},
|
|
901
925
|
end: {
|
|
902
|
-
line:
|
|
926
|
+
line: 102,
|
|
903
927
|
column: 11
|
|
904
928
|
}
|
|
905
929
|
},
|
|
906
930
|
type: "binary-expr",
|
|
907
931
|
locations: [{
|
|
908
932
|
start: {
|
|
909
|
-
line:
|
|
933
|
+
line: 97,
|
|
910
934
|
column: 11
|
|
911
935
|
},
|
|
912
936
|
end: {
|
|
913
|
-
line:
|
|
937
|
+
line: 97,
|
|
914
938
|
column: 24
|
|
915
939
|
}
|
|
916
940
|
}, {
|
|
917
941
|
start: {
|
|
918
|
-
line:
|
|
942
|
+
line: 98,
|
|
919
943
|
column: 12
|
|
920
944
|
},
|
|
921
945
|
end: {
|
|
922
|
-
line:
|
|
946
|
+
line: 101,
|
|
923
947
|
column: 15
|
|
924
948
|
}
|
|
925
949
|
}],
|
|
926
|
-
line:
|
|
950
|
+
line: 97
|
|
927
951
|
}
|
|
928
952
|
},
|
|
929
953
|
s: {
|
|
@@ -962,13 +986,14 @@ function cov_izd8xctr3() {
|
|
|
962
986
|
"6": [0],
|
|
963
987
|
"7": [0],
|
|
964
988
|
"8": [0],
|
|
965
|
-
"9": [0
|
|
989
|
+
"9": [0],
|
|
966
990
|
"10": [0, 0],
|
|
967
991
|
"11": [0, 0],
|
|
968
|
-
"12": [0, 0]
|
|
992
|
+
"12": [0, 0],
|
|
993
|
+
"13": [0, 0]
|
|
969
994
|
},
|
|
970
995
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
971
|
-
hash: "
|
|
996
|
+
hash: "3143bbc0cf786ac8d049c7e9684bf10e632089e9"
|
|
972
997
|
};
|
|
973
998
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
974
999
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -999,18 +1024,20 @@ var Columns = function Columns(_ref) {
|
|
|
999
1024
|
isSearchable = _ref$isSearchable === void 0 ? (cov_izd8xctr3().b[4][0]++, false) : _ref$isSearchable,
|
|
1000
1025
|
_ref$localStorageKey = _ref.localStorageKey,
|
|
1001
1026
|
localStorageKey = _ref$localStorageKey === void 0 ? (cov_izd8xctr3().b[5][0]++, "") : _ref$localStorageKey,
|
|
1027
|
+
_ref$initialValue = _ref.initialValue,
|
|
1028
|
+
initialValue = _ref$initialValue === void 0 ? (cov_izd8xctr3().b[6][0]++, []) : _ref$initialValue,
|
|
1002
1029
|
_ref$noColumnMessage = _ref.noColumnMessage,
|
|
1003
|
-
noColumnMessage = _ref$noColumnMessage === void 0 ? (cov_izd8xctr3().b[
|
|
1030
|
+
noColumnMessage = _ref$noColumnMessage === void 0 ? (cov_izd8xctr3().b[7][0]++, i18next.t("neetoMolecules.columns.noColumns")) : _ref$noColumnMessage,
|
|
1004
1031
|
_ref$onChange = _ref.onChange,
|
|
1005
|
-
onChange = _ref$onChange === void 0 ? (cov_izd8xctr3().b[
|
|
1032
|
+
onChange = _ref$onChange === void 0 ? (cov_izd8xctr3().b[8][0]++, identity) : _ref$onChange,
|
|
1006
1033
|
_ref$searchProps = _ref.searchProps,
|
|
1007
|
-
searchProps = _ref$searchProps === void 0 ? (cov_izd8xctr3().b[
|
|
1034
|
+
searchProps = _ref$searchProps === void 0 ? (cov_izd8xctr3().b[9][0]++, {}) : _ref$searchProps;
|
|
1008
1035
|
cov_izd8xctr3().f[0]++;
|
|
1009
1036
|
var _ref2 = (cov_izd8xctr3().s[1]++, Dropdown),
|
|
1010
1037
|
Divider = _ref2.Divider,
|
|
1011
1038
|
Menu = _ref2.Menu,
|
|
1012
1039
|
MenuItem = _ref2.MenuItem;
|
|
1013
|
-
var _ref3 = (cov_izd8xctr3().s[2]++, useLocalStorage(localStorageKey,
|
|
1040
|
+
var _ref3 = (cov_izd8xctr3().s[2]++, useLocalStorage(localStorageKey, initialValue)),
|
|
1014
1041
|
_ref4 = _slicedToArray(_ref3, 2),
|
|
1015
1042
|
hiddenColumns = _ref4[0],
|
|
1016
1043
|
setHiddenColumns = _ref4[1];
|
|
@@ -1027,7 +1054,7 @@ var Columns = function Columns(_ref) {
|
|
|
1027
1054
|
checked = _ref7$target.checked;
|
|
1028
1055
|
cov_izd8xctr3().f[1]++;
|
|
1029
1056
|
cov_izd8xctr3().s[7]++;
|
|
1030
|
-
return checked ? (cov_izd8xctr3().b[
|
|
1057
|
+
return checked ? (cov_izd8xctr3().b[10][0]++, setHiddenColumns(without([dataIndex], hiddenColumns))) : (cov_izd8xctr3().b[10][1]++, setHiddenColumns(append(dataIndex, hiddenColumns)));
|
|
1031
1058
|
};
|
|
1032
1059
|
cov_izd8xctr3().s[8]++;
|
|
1033
1060
|
var handleSearch = function handleSearch(_ref8) {
|
|
@@ -1058,7 +1085,7 @@ var Columns = function Columns(_ref) {
|
|
|
1058
1085
|
cov_izd8xctr3().s[14]++;
|
|
1059
1086
|
return setSearchTerm("");
|
|
1060
1087
|
}
|
|
1061
|
-
}, dropdownProps), /*#__PURE__*/React.createElement(Menu, null, /*#__PURE__*/React.createElement("div", null, (cov_izd8xctr3().b[
|
|
1088
|
+
}, dropdownProps), /*#__PURE__*/React.createElement(Menu, null, /*#__PURE__*/React.createElement("div", null, (cov_izd8xctr3().b[11][0]++, isSearchable) && (cov_izd8xctr3().b[11][1]++, /*#__PURE__*/React.createElement(Input, _extends({
|
|
1062
1089
|
className: "neeto-ui-px-3 neeto-ui-py-2",
|
|
1063
1090
|
"data-cy": "neeto-ui-columns-search",
|
|
1064
1091
|
placeholder: t("neetoMolecules.columns.search"),
|
|
@@ -1066,7 +1093,7 @@ var Columns = function Columns(_ref) {
|
|
|
1066
1093
|
type: "search",
|
|
1067
1094
|
value: searchTerm,
|
|
1068
1095
|
onChange: handleSearch
|
|
1069
|
-
}, searchProps))), isNotEmpty(filteredColumns) ? (cov_izd8xctr3().b[
|
|
1096
|
+
}, searchProps))), isNotEmpty(filteredColumns) ? (cov_izd8xctr3().b[12][0]++, filteredColumns.map(function (_ref10) {
|
|
1070
1097
|
var dataIndex = _ref10.dataIndex,
|
|
1071
1098
|
key = _ref10.key,
|
|
1072
1099
|
title = _ref10.title;
|
|
@@ -1085,9 +1112,9 @@ var Columns = function Columns(_ref) {
|
|
|
1085
1112
|
name: dataIndex,
|
|
1086
1113
|
onChange: handleChange
|
|
1087
1114
|
}, checkboxProps))));
|
|
1088
|
-
})) : (cov_izd8xctr3().b[
|
|
1115
|
+
})) : (cov_izd8xctr3().b[12][1]++, /*#__PURE__*/React.createElement("span", {
|
|
1089
1116
|
className: "neeto-ui-flex neeto-ui-flex-col neeto-ui-items-center neeto-ui-p-2"
|
|
1090
|
-
}, noColumnMessage)), (cov_izd8xctr3().b[
|
|
1117
|
+
}, noColumnMessage)), (cov_izd8xctr3().b[13][0]++, !!actionBlock) && (cov_izd8xctr3().b[13][1]++, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Divider, null), actionBlock)))));
|
|
1091
1118
|
};
|
|
1092
1119
|
|
|
1093
1120
|
export { Columns as default };
|