@bigbinary/neeto-molecules 1.0.25 → 1.0.27
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 +523 -1339
- package/dist/CustomDomain.cjs.js.map +1 -1
- package/dist/CustomDomain.js +527 -1343
- package/dist/CustomDomain.js.map +1 -1
- package/dist/Header.cjs.js +67 -53
- package/dist/Header.cjs.js.map +1 -1
- package/dist/Header.js +67 -53
- package/dist/Header.js.map +1 -1
- package/dist/LoginPage.cjs.js +23 -18
- package/dist/LoginPage.cjs.js.map +1 -1
- package/dist/LoginPage.js +23 -18
- package/dist/LoginPage.js.map +1 -1
- package/dist/NeetoWidget.cjs.js +425 -565
- package/dist/NeetoWidget.cjs.js.map +1 -1
- package/dist/NeetoWidget.js +426 -566
- package/dist/NeetoWidget.js.map +1 -1
- package/dist/PhoneNumber.cjs.js +628 -86
- package/dist/PhoneNumber.cjs.js.map +1 -1
- package/dist/PhoneNumber.js +628 -86
- package/dist/PhoneNumber.js.map +1 -1
- package/dist/Rename.cjs.js +240 -226
- package/dist/Rename.cjs.js.map +1 -1
- package/dist/Rename.js +241 -227
- package/dist/Rename.js.map +1 -1
- package/dist/ShareViaLink.cjs.js +8 -7
- package/dist/ShareViaLink.cjs.js.map +1 -1
- package/dist/ShareViaLink.js +8 -7
- package/dist/ShareViaLink.js.map +1 -1
- package/dist/Sidebar.cjs.js +1 -1
- package/dist/Sidebar.cjs.js.map +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/Sidebar.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 +2 -2
- package/src/translations/en.json +26 -7
- package/types/Sidebar.d.ts +1 -1
- package/types/SubHeader.d.ts +39 -0
package/dist/Columns.cjs.js
CHANGED
|
@@ -270,7 +270,7 @@ var filterBySearchTerm = function filterBySearchTerm(searchTerm, columns) {
|
|
|
270
270
|
|
|
271
271
|
function cov_izd8xctr3() {
|
|
272
272
|
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Columns/index.jsx";
|
|
273
|
-
var hash = "
|
|
273
|
+
var hash = "3143bbc0cf786ac8d049c7e9684bf10e632089e9";
|
|
274
274
|
var global = new Function("return this")();
|
|
275
275
|
var gcv = "__coverage__";
|
|
276
276
|
var coverageData = {
|
|
@@ -282,157 +282,157 @@ function cov_izd8xctr3() {
|
|
|
282
282
|
column: 16
|
|
283
283
|
},
|
|
284
284
|
end: {
|
|
285
|
-
line:
|
|
285
|
+
line: 107,
|
|
286
286
|
column: 1
|
|
287
287
|
}
|
|
288
288
|
},
|
|
289
289
|
"1": {
|
|
290
290
|
start: {
|
|
291
|
-
line:
|
|
291
|
+
line: 26,
|
|
292
292
|
column: 38
|
|
293
293
|
},
|
|
294
294
|
end: {
|
|
295
|
-
line:
|
|
295
|
+
line: 26,
|
|
296
296
|
column: 46
|
|
297
297
|
}
|
|
298
298
|
},
|
|
299
299
|
"2": {
|
|
300
300
|
start: {
|
|
301
|
-
line:
|
|
301
|
+
line: 27,
|
|
302
302
|
column: 44
|
|
303
303
|
},
|
|
304
304
|
end: {
|
|
305
|
-
line:
|
|
305
|
+
line: 30,
|
|
306
306
|
column: 3
|
|
307
307
|
}
|
|
308
308
|
},
|
|
309
309
|
"3": {
|
|
310
310
|
start: {
|
|
311
|
-
line:
|
|
311
|
+
line: 31,
|
|
312
312
|
column: 38
|
|
313
313
|
},
|
|
314
314
|
end: {
|
|
315
|
-
line:
|
|
315
|
+
line: 31,
|
|
316
316
|
column: 50
|
|
317
317
|
}
|
|
318
318
|
},
|
|
319
319
|
"4": {
|
|
320
320
|
start: {
|
|
321
|
-
line:
|
|
321
|
+
line: 33,
|
|
322
322
|
column: 18
|
|
323
323
|
},
|
|
324
324
|
end: {
|
|
325
|
-
line:
|
|
325
|
+
line: 33,
|
|
326
326
|
column: 62
|
|
327
327
|
}
|
|
328
328
|
},
|
|
329
329
|
"5": {
|
|
330
330
|
start: {
|
|
331
|
-
line:
|
|
331
|
+
line: 34,
|
|
332
332
|
column: 26
|
|
333
333
|
},
|
|
334
334
|
end: {
|
|
335
|
-
line:
|
|
335
|
+
line: 34,
|
|
336
336
|
column: 65
|
|
337
337
|
}
|
|
338
338
|
},
|
|
339
339
|
"6": {
|
|
340
340
|
start: {
|
|
341
|
-
line:
|
|
341
|
+
line: 36,
|
|
342
342
|
column: 23
|
|
343
343
|
},
|
|
344
344
|
end: {
|
|
345
|
-
line:
|
|
345
|
+
line: 39,
|
|
346
346
|
column: 58
|
|
347
347
|
}
|
|
348
348
|
},
|
|
349
349
|
"7": {
|
|
350
350
|
start: {
|
|
351
|
-
line:
|
|
351
|
+
line: 37,
|
|
352
352
|
column: 4
|
|
353
353
|
},
|
|
354
354
|
end: {
|
|
355
|
-
line:
|
|
355
|
+
line: 39,
|
|
356
356
|
column: 58
|
|
357
357
|
}
|
|
358
358
|
},
|
|
359
359
|
"8": {
|
|
360
360
|
start: {
|
|
361
|
-
line:
|
|
361
|
+
line: 41,
|
|
362
362
|
column: 23
|
|
363
363
|
},
|
|
364
364
|
end: {
|
|
365
|
-
line:
|
|
365
|
+
line: 41,
|
|
366
366
|
column: 70
|
|
367
367
|
}
|
|
368
368
|
},
|
|
369
369
|
"9": {
|
|
370
370
|
start: {
|
|
371
|
-
line:
|
|
371
|
+
line: 41,
|
|
372
372
|
column: 50
|
|
373
373
|
},
|
|
374
374
|
end: {
|
|
375
|
-
line:
|
|
375
|
+
line: 41,
|
|
376
376
|
column: 70
|
|
377
377
|
}
|
|
378
378
|
},
|
|
379
379
|
"10": {
|
|
380
380
|
start: {
|
|
381
|
-
line:
|
|
381
|
+
line: 43,
|
|
382
382
|
column: 2
|
|
383
383
|
},
|
|
384
384
|
end: {
|
|
385
|
-
line:
|
|
385
|
+
line: 45,
|
|
386
386
|
column: 34
|
|
387
387
|
}
|
|
388
388
|
},
|
|
389
389
|
"11": {
|
|
390
390
|
start: {
|
|
391
|
-
line:
|
|
391
|
+
line: 44,
|
|
392
392
|
column: 4
|
|
393
393
|
},
|
|
394
394
|
end: {
|
|
395
|
-
line:
|
|
395
|
+
line: 44,
|
|
396
396
|
column: 79
|
|
397
397
|
}
|
|
398
398
|
},
|
|
399
399
|
"12": {
|
|
400
400
|
start: {
|
|
401
|
-
line:
|
|
401
|
+
line: 47,
|
|
402
402
|
column: 16
|
|
403
403
|
},
|
|
404
404
|
end: {
|
|
405
|
-
line:
|
|
405
|
+
line: 47,
|
|
406
406
|
column: 32
|
|
407
407
|
}
|
|
408
408
|
},
|
|
409
409
|
"13": {
|
|
410
410
|
start: {
|
|
411
|
-
line:
|
|
411
|
+
line: 49,
|
|
412
412
|
column: 2
|
|
413
413
|
},
|
|
414
414
|
end: {
|
|
415
|
-
line:
|
|
415
|
+
line: 106,
|
|
416
416
|
column: 4
|
|
417
417
|
}
|
|
418
418
|
},
|
|
419
419
|
"14": {
|
|
420
420
|
start: {
|
|
421
|
-
line:
|
|
421
|
+
line: 56,
|
|
422
422
|
column: 21
|
|
423
423
|
},
|
|
424
424
|
end: {
|
|
425
|
-
line:
|
|
425
|
+
line: 56,
|
|
426
426
|
column: 38
|
|
427
427
|
}
|
|
428
428
|
},
|
|
429
429
|
"15": {
|
|
430
430
|
start: {
|
|
431
|
-
line:
|
|
431
|
+
line: 75,
|
|
432
432
|
column: 14
|
|
433
433
|
},
|
|
434
434
|
end: {
|
|
435
|
-
line:
|
|
435
|
+
line: 90,
|
|
436
436
|
column: 25
|
|
437
437
|
}
|
|
438
438
|
}
|
|
@@ -452,135 +452,135 @@ function cov_izd8xctr3() {
|
|
|
452
452
|
},
|
|
453
453
|
loc: {
|
|
454
454
|
start: {
|
|
455
|
-
line:
|
|
455
|
+
line: 25,
|
|
456
456
|
column: 6
|
|
457
457
|
},
|
|
458
458
|
end: {
|
|
459
|
-
line:
|
|
459
|
+
line: 107,
|
|
460
460
|
column: 1
|
|
461
461
|
}
|
|
462
462
|
},
|
|
463
|
-
line:
|
|
463
|
+
line: 25
|
|
464
464
|
},
|
|
465
465
|
"1": {
|
|
466
466
|
name: "(anonymous_1)",
|
|
467
467
|
decl: {
|
|
468
468
|
start: {
|
|
469
|
-
line:
|
|
469
|
+
line: 36,
|
|
470
470
|
column: 23
|
|
471
471
|
},
|
|
472
472
|
end: {
|
|
473
|
-
line:
|
|
473
|
+
line: 36,
|
|
474
474
|
column: 24
|
|
475
475
|
}
|
|
476
476
|
},
|
|
477
477
|
loc: {
|
|
478
478
|
start: {
|
|
479
|
-
line:
|
|
479
|
+
line: 37,
|
|
480
480
|
column: 4
|
|
481
481
|
},
|
|
482
482
|
end: {
|
|
483
|
-
line:
|
|
483
|
+
line: 39,
|
|
484
484
|
column: 58
|
|
485
485
|
}
|
|
486
486
|
},
|
|
487
|
-
line:
|
|
487
|
+
line: 37
|
|
488
488
|
},
|
|
489
489
|
"2": {
|
|
490
490
|
name: "(anonymous_2)",
|
|
491
491
|
decl: {
|
|
492
492
|
start: {
|
|
493
|
-
line:
|
|
493
|
+
line: 41,
|
|
494
494
|
column: 23
|
|
495
495
|
},
|
|
496
496
|
end: {
|
|
497
|
-
line:
|
|
497
|
+
line: 41,
|
|
498
498
|
column: 24
|
|
499
499
|
}
|
|
500
500
|
},
|
|
501
501
|
loc: {
|
|
502
502
|
start: {
|
|
503
|
-
line:
|
|
503
|
+
line: 41,
|
|
504
504
|
column: 50
|
|
505
505
|
},
|
|
506
506
|
end: {
|
|
507
|
-
line:
|
|
507
|
+
line: 41,
|
|
508
508
|
column: 70
|
|
509
509
|
}
|
|
510
510
|
},
|
|
511
|
-
line:
|
|
511
|
+
line: 41
|
|
512
512
|
},
|
|
513
513
|
"3": {
|
|
514
514
|
name: "(anonymous_3)",
|
|
515
515
|
decl: {
|
|
516
516
|
start: {
|
|
517
|
-
line:
|
|
517
|
+
line: 43,
|
|
518
518
|
column: 12
|
|
519
519
|
},
|
|
520
520
|
end: {
|
|
521
|
-
line:
|
|
521
|
+
line: 43,
|
|
522
522
|
column: 13
|
|
523
523
|
}
|
|
524
524
|
},
|
|
525
525
|
loc: {
|
|
526
526
|
start: {
|
|
527
|
-
line:
|
|
527
|
+
line: 43,
|
|
528
528
|
column: 18
|
|
529
529
|
},
|
|
530
530
|
end: {
|
|
531
|
-
line:
|
|
531
|
+
line: 45,
|
|
532
532
|
column: 3
|
|
533
533
|
}
|
|
534
534
|
},
|
|
535
|
-
line:
|
|
535
|
+
line: 43
|
|
536
536
|
},
|
|
537
537
|
"4": {
|
|
538
538
|
name: "(anonymous_4)",
|
|
539
539
|
decl: {
|
|
540
540
|
start: {
|
|
541
|
-
line:
|
|
541
|
+
line: 56,
|
|
542
542
|
column: 15
|
|
543
543
|
},
|
|
544
544
|
end: {
|
|
545
|
-
line:
|
|
545
|
+
line: 56,
|
|
546
546
|
column: 16
|
|
547
547
|
}
|
|
548
548
|
},
|
|
549
549
|
loc: {
|
|
550
550
|
start: {
|
|
551
|
-
line:
|
|
551
|
+
line: 56,
|
|
552
552
|
column: 21
|
|
553
553
|
},
|
|
554
554
|
end: {
|
|
555
|
-
line:
|
|
555
|
+
line: 56,
|
|
556
556
|
column: 38
|
|
557
557
|
}
|
|
558
558
|
},
|
|
559
|
-
line:
|
|
559
|
+
line: 56
|
|
560
560
|
},
|
|
561
561
|
"5": {
|
|
562
562
|
name: "(anonymous_5)",
|
|
563
563
|
decl: {
|
|
564
564
|
start: {
|
|
565
|
-
line:
|
|
565
|
+
line: 74,
|
|
566
566
|
column: 32
|
|
567
567
|
},
|
|
568
568
|
end: {
|
|
569
|
-
line:
|
|
569
|
+
line: 74,
|
|
570
570
|
column: 33
|
|
571
571
|
}
|
|
572
572
|
},
|
|
573
573
|
loc: {
|
|
574
574
|
start: {
|
|
575
|
-
line:
|
|
575
|
+
line: 75,
|
|
576
576
|
column: 14
|
|
577
577
|
},
|
|
578
578
|
end: {
|
|
579
|
-
line:
|
|
579
|
+
line: 90,
|
|
580
580
|
column: 25
|
|
581
581
|
}
|
|
582
582
|
},
|
|
583
|
-
line:
|
|
583
|
+
line: 75
|
|
584
584
|
}
|
|
585
585
|
},
|
|
586
586
|
branchMap: {
|
|
@@ -736,18 +736,18 @@ function cov_izd8xctr3() {
|
|
|
736
736
|
},
|
|
737
737
|
end: {
|
|
738
738
|
line: 21,
|
|
739
|
-
column:
|
|
739
|
+
column: 19
|
|
740
740
|
}
|
|
741
741
|
},
|
|
742
742
|
type: "default-arg",
|
|
743
743
|
locations: [{
|
|
744
744
|
start: {
|
|
745
745
|
line: 21,
|
|
746
|
-
column:
|
|
746
|
+
column: 17
|
|
747
747
|
},
|
|
748
748
|
end: {
|
|
749
749
|
line: 21,
|
|
750
|
-
column:
|
|
750
|
+
column: 19
|
|
751
751
|
}
|
|
752
752
|
}],
|
|
753
753
|
line: 21
|
|
@@ -760,18 +760,18 @@ function cov_izd8xctr3() {
|
|
|
760
760
|
},
|
|
761
761
|
end: {
|
|
762
762
|
line: 22,
|
|
763
|
-
column:
|
|
763
|
+
column: 65
|
|
764
764
|
}
|
|
765
765
|
},
|
|
766
766
|
type: "default-arg",
|
|
767
767
|
locations: [{
|
|
768
768
|
start: {
|
|
769
769
|
line: 22,
|
|
770
|
-
column:
|
|
770
|
+
column: 20
|
|
771
771
|
},
|
|
772
772
|
end: {
|
|
773
773
|
line: 22,
|
|
774
|
-
column:
|
|
774
|
+
column: 65
|
|
775
775
|
}
|
|
776
776
|
}],
|
|
777
777
|
line: 22
|
|
@@ -784,18 +784,18 @@ function cov_izd8xctr3() {
|
|
|
784
784
|
},
|
|
785
785
|
end: {
|
|
786
786
|
line: 23,
|
|
787
|
-
column:
|
|
787
|
+
column: 21
|
|
788
788
|
}
|
|
789
789
|
},
|
|
790
790
|
type: "default-arg",
|
|
791
791
|
locations: [{
|
|
792
792
|
start: {
|
|
793
793
|
line: 23,
|
|
794
|
-
column:
|
|
794
|
+
column: 13
|
|
795
795
|
},
|
|
796
796
|
end: {
|
|
797
797
|
line: 23,
|
|
798
|
-
column:
|
|
798
|
+
column: 21
|
|
799
799
|
}
|
|
800
800
|
}],
|
|
801
801
|
line: 23
|
|
@@ -803,134 +803,158 @@ function cov_izd8xctr3() {
|
|
|
803
803
|
"9": {
|
|
804
804
|
loc: {
|
|
805
805
|
start: {
|
|
806
|
-
line:
|
|
806
|
+
line: 24,
|
|
807
|
+
column: 2
|
|
808
|
+
},
|
|
809
|
+
end: {
|
|
810
|
+
line: 24,
|
|
811
|
+
column: 18
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
type: "default-arg",
|
|
815
|
+
locations: [{
|
|
816
|
+
start: {
|
|
817
|
+
line: 24,
|
|
818
|
+
column: 16
|
|
819
|
+
},
|
|
820
|
+
end: {
|
|
821
|
+
line: 24,
|
|
822
|
+
column: 18
|
|
823
|
+
}
|
|
824
|
+
}],
|
|
825
|
+
line: 24
|
|
826
|
+
},
|
|
827
|
+
"10": {
|
|
828
|
+
loc: {
|
|
829
|
+
start: {
|
|
830
|
+
line: 37,
|
|
807
831
|
column: 4
|
|
808
832
|
},
|
|
809
833
|
end: {
|
|
810
|
-
line:
|
|
834
|
+
line: 39,
|
|
811
835
|
column: 58
|
|
812
836
|
}
|
|
813
837
|
},
|
|
814
838
|
type: "cond-expr",
|
|
815
839
|
locations: [{
|
|
816
840
|
start: {
|
|
817
|
-
line:
|
|
841
|
+
line: 38,
|
|
818
842
|
column: 8
|
|
819
843
|
},
|
|
820
844
|
end: {
|
|
821
|
-
line:
|
|
845
|
+
line: 38,
|
|
822
846
|
column: 61
|
|
823
847
|
}
|
|
824
848
|
}, {
|
|
825
849
|
start: {
|
|
826
|
-
line:
|
|
850
|
+
line: 39,
|
|
827
851
|
column: 8
|
|
828
852
|
},
|
|
829
853
|
end: {
|
|
830
|
-
line:
|
|
854
|
+
line: 39,
|
|
831
855
|
column: 58
|
|
832
856
|
}
|
|
833
857
|
}],
|
|
834
|
-
line:
|
|
858
|
+
line: 37
|
|
835
859
|
},
|
|
836
|
-
"
|
|
860
|
+
"11": {
|
|
837
861
|
loc: {
|
|
838
862
|
start: {
|
|
839
|
-
line:
|
|
863
|
+
line: 61,
|
|
840
864
|
column: 11
|
|
841
865
|
},
|
|
842
866
|
end: {
|
|
843
|
-
line:
|
|
867
|
+
line: 72,
|
|
844
868
|
column: 11
|
|
845
869
|
}
|
|
846
870
|
},
|
|
847
871
|
type: "binary-expr",
|
|
848
872
|
locations: [{
|
|
849
873
|
start: {
|
|
850
|
-
line:
|
|
874
|
+
line: 61,
|
|
851
875
|
column: 11
|
|
852
876
|
},
|
|
853
877
|
end: {
|
|
854
|
-
line:
|
|
878
|
+
line: 61,
|
|
855
879
|
column: 23
|
|
856
880
|
}
|
|
857
881
|
}, {
|
|
858
882
|
start: {
|
|
859
|
-
line:
|
|
883
|
+
line: 62,
|
|
860
884
|
column: 12
|
|
861
885
|
},
|
|
862
886
|
end: {
|
|
863
|
-
line:
|
|
887
|
+
line: 71,
|
|
864
888
|
column: 14
|
|
865
889
|
}
|
|
866
890
|
}],
|
|
867
|
-
line:
|
|
891
|
+
line: 61
|
|
868
892
|
},
|
|
869
|
-
"
|
|
893
|
+
"12": {
|
|
870
894
|
loc: {
|
|
871
895
|
start: {
|
|
872
|
-
line:
|
|
896
|
+
line: 73,
|
|
873
897
|
column: 11
|
|
874
898
|
},
|
|
875
899
|
end: {
|
|
876
|
-
line:
|
|
900
|
+
line: 96,
|
|
877
901
|
column: 11
|
|
878
902
|
}
|
|
879
903
|
},
|
|
880
904
|
type: "cond-expr",
|
|
881
905
|
locations: [{
|
|
882
906
|
start: {
|
|
883
|
-
line:
|
|
907
|
+
line: 74,
|
|
884
908
|
column: 12
|
|
885
909
|
},
|
|
886
910
|
end: {
|
|
887
|
-
line:
|
|
911
|
+
line: 91,
|
|
888
912
|
column: 14
|
|
889
913
|
}
|
|
890
914
|
}, {
|
|
891
915
|
start: {
|
|
892
|
-
line:
|
|
916
|
+
line: 93,
|
|
893
917
|
column: 12
|
|
894
918
|
},
|
|
895
919
|
end: {
|
|
896
|
-
line:
|
|
920
|
+
line: 95,
|
|
897
921
|
column: 19
|
|
898
922
|
}
|
|
899
923
|
}],
|
|
900
|
-
line:
|
|
924
|
+
line: 73
|
|
901
925
|
},
|
|
902
|
-
"
|
|
926
|
+
"13": {
|
|
903
927
|
loc: {
|
|
904
928
|
start: {
|
|
905
|
-
line:
|
|
929
|
+
line: 97,
|
|
906
930
|
column: 11
|
|
907
931
|
},
|
|
908
932
|
end: {
|
|
909
|
-
line:
|
|
933
|
+
line: 102,
|
|
910
934
|
column: 11
|
|
911
935
|
}
|
|
912
936
|
},
|
|
913
937
|
type: "binary-expr",
|
|
914
938
|
locations: [{
|
|
915
939
|
start: {
|
|
916
|
-
line:
|
|
940
|
+
line: 97,
|
|
917
941
|
column: 11
|
|
918
942
|
},
|
|
919
943
|
end: {
|
|
920
|
-
line:
|
|
944
|
+
line: 97,
|
|
921
945
|
column: 24
|
|
922
946
|
}
|
|
923
947
|
}, {
|
|
924
948
|
start: {
|
|
925
|
-
line:
|
|
949
|
+
line: 98,
|
|
926
950
|
column: 12
|
|
927
951
|
},
|
|
928
952
|
end: {
|
|
929
|
-
line:
|
|
953
|
+
line: 101,
|
|
930
954
|
column: 15
|
|
931
955
|
}
|
|
932
956
|
}],
|
|
933
|
-
line:
|
|
957
|
+
line: 97
|
|
934
958
|
}
|
|
935
959
|
},
|
|
936
960
|
s: {
|
|
@@ -969,13 +993,14 @@ function cov_izd8xctr3() {
|
|
|
969
993
|
"6": [0],
|
|
970
994
|
"7": [0],
|
|
971
995
|
"8": [0],
|
|
972
|
-
"9": [0
|
|
996
|
+
"9": [0],
|
|
973
997
|
"10": [0, 0],
|
|
974
998
|
"11": [0, 0],
|
|
975
|
-
"12": [0, 0]
|
|
999
|
+
"12": [0, 0],
|
|
1000
|
+
"13": [0, 0]
|
|
976
1001
|
},
|
|
977
1002
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
978
|
-
hash: "
|
|
1003
|
+
hash: "3143bbc0cf786ac8d049c7e9684bf10e632089e9"
|
|
979
1004
|
};
|
|
980
1005
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
981
1006
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -1006,18 +1031,20 @@ var Columns = function Columns(_ref) {
|
|
|
1006
1031
|
isSearchable = _ref$isSearchable === void 0 ? (cov_izd8xctr3().b[4][0]++, false) : _ref$isSearchable,
|
|
1007
1032
|
_ref$localStorageKey = _ref.localStorageKey,
|
|
1008
1033
|
localStorageKey = _ref$localStorageKey === void 0 ? (cov_izd8xctr3().b[5][0]++, "") : _ref$localStorageKey,
|
|
1034
|
+
_ref$initialValue = _ref.initialValue,
|
|
1035
|
+
initialValue = _ref$initialValue === void 0 ? (cov_izd8xctr3().b[6][0]++, []) : _ref$initialValue,
|
|
1009
1036
|
_ref$noColumnMessage = _ref.noColumnMessage,
|
|
1010
|
-
noColumnMessage = _ref$noColumnMessage === void 0 ? (cov_izd8xctr3().b[
|
|
1037
|
+
noColumnMessage = _ref$noColumnMessage === void 0 ? (cov_izd8xctr3().b[7][0]++, i18next__default["default"].t("neetoMolecules.columns.noColumns")) : _ref$noColumnMessage,
|
|
1011
1038
|
_ref$onChange = _ref.onChange,
|
|
1012
|
-
onChange = _ref$onChange === void 0 ? (cov_izd8xctr3().b[
|
|
1039
|
+
onChange = _ref$onChange === void 0 ? (cov_izd8xctr3().b[8][0]++, ramda.identity) : _ref$onChange,
|
|
1013
1040
|
_ref$searchProps = _ref.searchProps,
|
|
1014
|
-
searchProps = _ref$searchProps === void 0 ? (cov_izd8xctr3().b[
|
|
1041
|
+
searchProps = _ref$searchProps === void 0 ? (cov_izd8xctr3().b[9][0]++, {}) : _ref$searchProps;
|
|
1015
1042
|
cov_izd8xctr3().f[0]++;
|
|
1016
1043
|
var _ref2 = (cov_izd8xctr3().s[1]++, neetoui.Dropdown),
|
|
1017
1044
|
Divider = _ref2.Divider,
|
|
1018
1045
|
Menu = _ref2.Menu,
|
|
1019
1046
|
MenuItem = _ref2.MenuItem;
|
|
1020
|
-
var _ref3 = (cov_izd8xctr3().s[2]++, reactUtils.useLocalStorage(localStorageKey,
|
|
1047
|
+
var _ref3 = (cov_izd8xctr3().s[2]++, reactUtils.useLocalStorage(localStorageKey, initialValue)),
|
|
1021
1048
|
_ref4 = _slicedToArray(_ref3, 2),
|
|
1022
1049
|
hiddenColumns = _ref4[0],
|
|
1023
1050
|
setHiddenColumns = _ref4[1];
|
|
@@ -1034,7 +1061,7 @@ var Columns = function Columns(_ref) {
|
|
|
1034
1061
|
checked = _ref7$target.checked;
|
|
1035
1062
|
cov_izd8xctr3().f[1]++;
|
|
1036
1063
|
cov_izd8xctr3().s[7]++;
|
|
1037
|
-
return checked ? (cov_izd8xctr3().b[
|
|
1064
|
+
return checked ? (cov_izd8xctr3().b[10][0]++, setHiddenColumns(ramda.without([dataIndex], hiddenColumns))) : (cov_izd8xctr3().b[10][1]++, setHiddenColumns(ramda.append(dataIndex, hiddenColumns)));
|
|
1038
1065
|
};
|
|
1039
1066
|
cov_izd8xctr3().s[8]++;
|
|
1040
1067
|
var handleSearch = function handleSearch(_ref8) {
|
|
@@ -1065,7 +1092,7 @@ var Columns = function Columns(_ref) {
|
|
|
1065
1092
|
cov_izd8xctr3().s[14]++;
|
|
1066
1093
|
return setSearchTerm("");
|
|
1067
1094
|
}
|
|
1068
|
-
}, dropdownProps), /*#__PURE__*/React__default["default"].createElement(Menu, null, /*#__PURE__*/React__default["default"].createElement("div", null, (cov_izd8xctr3().b[
|
|
1095
|
+
}, dropdownProps), /*#__PURE__*/React__default["default"].createElement(Menu, null, /*#__PURE__*/React__default["default"].createElement("div", null, (cov_izd8xctr3().b[11][0]++, isSearchable) && (cov_izd8xctr3().b[11][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Input, _extends({
|
|
1069
1096
|
className: "neeto-ui-px-3 neeto-ui-py-2",
|
|
1070
1097
|
"data-cy": "neeto-ui-columns-search",
|
|
1071
1098
|
placeholder: t("neetoMolecules.columns.search"),
|
|
@@ -1073,7 +1100,7 @@ var Columns = function Columns(_ref) {
|
|
|
1073
1100
|
type: "search",
|
|
1074
1101
|
value: searchTerm,
|
|
1075
1102
|
onChange: handleSearch
|
|
1076
|
-
}, searchProps))), pure.isNotEmpty(filteredColumns) ? (cov_izd8xctr3().b[
|
|
1103
|
+
}, searchProps))), pure.isNotEmpty(filteredColumns) ? (cov_izd8xctr3().b[12][0]++, filteredColumns.map(function (_ref10) {
|
|
1077
1104
|
var dataIndex = _ref10.dataIndex,
|
|
1078
1105
|
key = _ref10.key,
|
|
1079
1106
|
title = _ref10.title;
|
|
@@ -1092,9 +1119,9 @@ var Columns = function Columns(_ref) {
|
|
|
1092
1119
|
name: dataIndex,
|
|
1093
1120
|
onChange: handleChange
|
|
1094
1121
|
}, checkboxProps))));
|
|
1095
|
-
})) : (cov_izd8xctr3().b[
|
|
1122
|
+
})) : (cov_izd8xctr3().b[12][1]++, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1096
1123
|
className: "neeto-ui-flex neeto-ui-flex-col neeto-ui-items-center neeto-ui-p-2"
|
|
1097
|
-
}, noColumnMessage)), (cov_izd8xctr3().b[
|
|
1124
|
+
}, noColumnMessage)), (cov_izd8xctr3().b[13][0]++, !!actionBlock) && (cov_izd8xctr3().b[13][1]++, /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Divider, null), actionBlock)))));
|
|
1098
1125
|
};
|
|
1099
1126
|
|
|
1100
1127
|
module.exports = Columns;
|