@bigbinary/neetoui 4.4.26 → 4.4.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/formik.cjs.js +686 -450
- package/formik.cjs.js.map +1 -1
- package/formik.js +686 -450
- package/formik.js.map +1 -1
- package/index.cjs.js +688 -452
- package/index.cjs.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +688 -452
- package/index.js.map +1 -1
- package/layouts.cjs.js +348 -230
- package/layouts.cjs.js.map +1 -1
- package/layouts.js +348 -230
- package/layouts.js.map +1 -1
- package/package.json +2 -2
package/layouts.cjs.js
CHANGED
|
@@ -22343,10 +22343,10 @@ var Label = function Label(_ref) {
|
|
|
22343
22343
|
};
|
|
22344
22344
|
cov_kk0pn1p2w().s[4]++;
|
|
22345
22345
|
|
|
22346
|
-
var _excluded$8 = ["size", "type", "label", "error", "suffix", "prefix", "disabled", "helpText", "className", "nakedInput", "contentSize", "required", "maxLength", "labelProps"];
|
|
22346
|
+
var _excluded$8 = ["size", "type", "label", "error", "suffix", "prefix", "disabled", "helpText", "className", "nakedInput", "contentSize", "required", "maxLength", "unlimitedChars", "labelProps"];
|
|
22347
22347
|
function cov_11a2hroalx() {
|
|
22348
22348
|
var path = "/home/runner/work/neeto-ui/neeto-ui/src/components/Input.jsx";
|
|
22349
|
-
var hash = "
|
|
22349
|
+
var hash = "cebb14f6b25b836777861765fc99a4778b2a0f50";
|
|
22350
22350
|
var global = new Function("return this")();
|
|
22351
22351
|
var gcv = "__coverage__";
|
|
22352
22352
|
var coverageData = {
|
|
@@ -22354,151 +22354,161 @@ function cov_11a2hroalx() {
|
|
|
22354
22354
|
statementMap: {
|
|
22355
22355
|
"0": {
|
|
22356
22356
|
start: {
|
|
22357
|
-
line:
|
|
22357
|
+
line: 13,
|
|
22358
22358
|
column: 14
|
|
22359
22359
|
},
|
|
22360
22360
|
end: {
|
|
22361
|
-
line:
|
|
22361
|
+
line: 13,
|
|
22362
22362
|
column: 66
|
|
22363
22363
|
}
|
|
22364
22364
|
},
|
|
22365
22365
|
"1": {
|
|
22366
22366
|
start: {
|
|
22367
|
-
line:
|
|
22367
|
+
line: 15,
|
|
22368
22368
|
column: 14
|
|
22369
22369
|
},
|
|
22370
22370
|
end: {
|
|
22371
|
-
line:
|
|
22371
|
+
line: 132,
|
|
22372
22372
|
column: 1
|
|
22373
22373
|
}
|
|
22374
22374
|
},
|
|
22375
22375
|
"2": {
|
|
22376
22376
|
start: {
|
|
22377
|
-
line:
|
|
22377
|
+
line: 37,
|
|
22378
22378
|
column: 46
|
|
22379
22379
|
},
|
|
22380
22380
|
end: {
|
|
22381
|
-
line:
|
|
22381
|
+
line: 37,
|
|
22382
22382
|
column: 72
|
|
22383
22383
|
}
|
|
22384
22384
|
},
|
|
22385
22385
|
"3": {
|
|
22386
22386
|
start: {
|
|
22387
|
-
line:
|
|
22387
|
+
line: 38,
|
|
22388
22388
|
column: 15
|
|
22389
22389
|
},
|
|
22390
22390
|
end: {
|
|
22391
|
-
line:
|
|
22391
|
+
line: 38,
|
|
22392
22392
|
column: 35
|
|
22393
22393
|
}
|
|
22394
22394
|
},
|
|
22395
22395
|
"4": {
|
|
22396
22396
|
start: {
|
|
22397
|
-
line:
|
|
22397
|
+
line: 40,
|
|
22398
22398
|
column: 20
|
|
22399
22399
|
},
|
|
22400
22400
|
end: {
|
|
22401
|
-
line:
|
|
22401
|
+
line: 40,
|
|
22402
22402
|
column: 33
|
|
22403
22403
|
}
|
|
22404
22404
|
},
|
|
22405
22405
|
"5": {
|
|
22406
22406
|
start: {
|
|
22407
|
-
line:
|
|
22407
|
+
line: 41,
|
|
22408
22408
|
column: 23
|
|
22409
22409
|
},
|
|
22410
22410
|
end: {
|
|
22411
|
-
line:
|
|
22411
|
+
line: 41,
|
|
22412
22412
|
column: 39
|
|
22413
22413
|
}
|
|
22414
22414
|
},
|
|
22415
22415
|
"6": {
|
|
22416
22416
|
start: {
|
|
22417
|
-
line:
|
|
22417
|
+
line: 43,
|
|
22418
22418
|
column: 18
|
|
22419
22419
|
},
|
|
22420
22420
|
end: {
|
|
22421
|
-
line:
|
|
22421
|
+
line: 43,
|
|
22422
22422
|
column: 57
|
|
22423
22423
|
}
|
|
22424
22424
|
},
|
|
22425
22425
|
"7": {
|
|
22426
22426
|
start: {
|
|
22427
|
-
line:
|
|
22427
|
+
line: 45,
|
|
22428
22428
|
column: 24
|
|
22429
22429
|
},
|
|
22430
22430
|
end: {
|
|
22431
|
-
line:
|
|
22431
|
+
line: 45,
|
|
22432
22432
|
column: 53
|
|
22433
22433
|
}
|
|
22434
22434
|
},
|
|
22435
22435
|
"8": {
|
|
22436
22436
|
start: {
|
|
22437
|
-
line:
|
|
22437
|
+
line: 46,
|
|
22438
22438
|
column: 36
|
|
22439
22439
|
},
|
|
22440
22440
|
end: {
|
|
22441
|
-
line:
|
|
22442
|
-
column:
|
|
22441
|
+
line: 46,
|
|
22442
|
+
column: 67
|
|
22443
22443
|
}
|
|
22444
22444
|
},
|
|
22445
22445
|
"9": {
|
|
22446
22446
|
start: {
|
|
22447
|
-
line:
|
|
22447
|
+
line: 47,
|
|
22448
22448
|
column: 27
|
|
22449
22449
|
},
|
|
22450
22450
|
end: {
|
|
22451
|
-
line:
|
|
22452
|
-
column:
|
|
22451
|
+
line: 47,
|
|
22452
|
+
column: 68
|
|
22453
22453
|
}
|
|
22454
22454
|
},
|
|
22455
22455
|
"10": {
|
|
22456
22456
|
start: {
|
|
22457
|
-
line:
|
|
22457
|
+
line: 49,
|
|
22458
22458
|
column: 29
|
|
22459
22459
|
},
|
|
22460
22460
|
end: {
|
|
22461
|
-
line:
|
|
22462
|
-
column:
|
|
22461
|
+
line: 49,
|
|
22462
|
+
column: 66
|
|
22463
22463
|
}
|
|
22464
22464
|
},
|
|
22465
22465
|
"11": {
|
|
22466
22466
|
start: {
|
|
22467
|
-
line:
|
|
22468
|
-
column:
|
|
22467
|
+
line: 49,
|
|
22468
|
+
column: 34
|
|
22469
22469
|
},
|
|
22470
22470
|
end: {
|
|
22471
|
-
line:
|
|
22472
|
-
column:
|
|
22471
|
+
line: 49,
|
|
22472
|
+
column: 66
|
|
22473
22473
|
}
|
|
22474
22474
|
},
|
|
22475
22475
|
"12": {
|
|
22476
22476
|
start: {
|
|
22477
|
-
line:
|
|
22477
|
+
line: 51,
|
|
22478
22478
|
column: 21
|
|
22479
22479
|
},
|
|
22480
22480
|
end: {
|
|
22481
|
-
line:
|
|
22481
|
+
line: 51,
|
|
22482
22482
|
column: 60
|
|
22483
22483
|
}
|
|
22484
22484
|
},
|
|
22485
22485
|
"13": {
|
|
22486
22486
|
start: {
|
|
22487
|
-
line:
|
|
22488
|
-
column:
|
|
22487
|
+
line: 52,
|
|
22488
|
+
column: 31
|
|
22489
22489
|
},
|
|
22490
22490
|
end: {
|
|
22491
|
-
line:
|
|
22492
|
-
column:
|
|
22491
|
+
line: 52,
|
|
22492
|
+
column: 61
|
|
22493
22493
|
}
|
|
22494
22494
|
},
|
|
22495
22495
|
"14": {
|
|
22496
22496
|
start: {
|
|
22497
|
+
line: 54,
|
|
22498
|
+
column: 4
|
|
22499
|
+
},
|
|
22500
|
+
end: {
|
|
22497
22501
|
line: 130,
|
|
22502
|
+
column: 6
|
|
22503
|
+
}
|
|
22504
|
+
},
|
|
22505
|
+
"15": {
|
|
22506
|
+
start: {
|
|
22507
|
+
line: 134,
|
|
22498
22508
|
column: 0
|
|
22499
22509
|
},
|
|
22500
22510
|
end: {
|
|
22501
|
-
line:
|
|
22511
|
+
line: 199,
|
|
22502
22512
|
column: 2
|
|
22503
22513
|
}
|
|
22504
22514
|
}
|
|
@@ -22508,678 +22518,777 @@ function cov_11a2hroalx() {
|
|
|
22508
22518
|
name: "(anonymous_0)",
|
|
22509
22519
|
decl: {
|
|
22510
22520
|
start: {
|
|
22511
|
-
line:
|
|
22521
|
+
line: 16,
|
|
22512
22522
|
column: 2
|
|
22513
22523
|
},
|
|
22514
22524
|
end: {
|
|
22515
|
-
line:
|
|
22525
|
+
line: 16,
|
|
22516
22526
|
column: 3
|
|
22517
22527
|
}
|
|
22518
22528
|
},
|
|
22519
22529
|
loc: {
|
|
22520
22530
|
start: {
|
|
22521
|
-
line:
|
|
22531
|
+
line: 36,
|
|
22522
22532
|
column: 7
|
|
22523
22533
|
},
|
|
22524
22534
|
end: {
|
|
22525
|
-
line:
|
|
22535
|
+
line: 131,
|
|
22526
22536
|
column: 3
|
|
22527
22537
|
}
|
|
22528
22538
|
},
|
|
22529
|
-
line:
|
|
22539
|
+
line: 36
|
|
22530
22540
|
},
|
|
22531
22541
|
"1": {
|
|
22532
22542
|
name: "(anonymous_1)",
|
|
22533
22543
|
decl: {
|
|
22534
22544
|
start: {
|
|
22535
|
-
line:
|
|
22545
|
+
line: 49,
|
|
22536
22546
|
column: 29
|
|
22537
22547
|
},
|
|
22538
22548
|
end: {
|
|
22539
|
-
line:
|
|
22549
|
+
line: 49,
|
|
22540
22550
|
column: 30
|
|
22541
22551
|
}
|
|
22542
22552
|
},
|
|
22543
22553
|
loc: {
|
|
22544
22554
|
start: {
|
|
22545
|
-
line:
|
|
22546
|
-
column:
|
|
22555
|
+
line: 49,
|
|
22556
|
+
column: 34
|
|
22547
22557
|
},
|
|
22548
22558
|
end: {
|
|
22549
|
-
line:
|
|
22550
|
-
column:
|
|
22559
|
+
line: 49,
|
|
22560
|
+
column: 66
|
|
22551
22561
|
}
|
|
22552
22562
|
},
|
|
22553
|
-
line:
|
|
22563
|
+
line: 49
|
|
22554
22564
|
}
|
|
22555
22565
|
},
|
|
22556
22566
|
branchMap: {
|
|
22557
22567
|
"0": {
|
|
22558
22568
|
loc: {
|
|
22559
22569
|
start: {
|
|
22560
|
-
line:
|
|
22570
|
+
line: 18,
|
|
22561
22571
|
column: 6
|
|
22562
22572
|
},
|
|
22563
22573
|
end: {
|
|
22564
|
-
line:
|
|
22574
|
+
line: 18,
|
|
22565
22575
|
column: 25
|
|
22566
22576
|
}
|
|
22567
22577
|
},
|
|
22568
22578
|
type: "default-arg",
|
|
22569
22579
|
locations: [{
|
|
22570
22580
|
start: {
|
|
22571
|
-
line:
|
|
22581
|
+
line: 18,
|
|
22572
22582
|
column: 13
|
|
22573
22583
|
},
|
|
22574
22584
|
end: {
|
|
22575
|
-
line:
|
|
22585
|
+
line: 18,
|
|
22576
22586
|
column: 25
|
|
22577
22587
|
}
|
|
22578
22588
|
}],
|
|
22579
|
-
line:
|
|
22589
|
+
line: 18
|
|
22580
22590
|
},
|
|
22581
22591
|
"1": {
|
|
22582
22592
|
loc: {
|
|
22583
22593
|
start: {
|
|
22584
|
-
line:
|
|
22594
|
+
line: 19,
|
|
22585
22595
|
column: 6
|
|
22586
22596
|
},
|
|
22587
22597
|
end: {
|
|
22588
|
-
line:
|
|
22598
|
+
line: 19,
|
|
22589
22599
|
column: 19
|
|
22590
22600
|
}
|
|
22591
22601
|
},
|
|
22592
22602
|
type: "default-arg",
|
|
22593
22603
|
locations: [{
|
|
22594
22604
|
start: {
|
|
22595
|
-
line:
|
|
22605
|
+
line: 19,
|
|
22596
22606
|
column: 13
|
|
22597
22607
|
},
|
|
22598
22608
|
end: {
|
|
22599
|
-
line:
|
|
22609
|
+
line: 19,
|
|
22600
22610
|
column: 19
|
|
22601
22611
|
}
|
|
22602
22612
|
}],
|
|
22603
|
-
line:
|
|
22613
|
+
line: 19
|
|
22604
22614
|
},
|
|
22605
22615
|
"2": {
|
|
22606
22616
|
loc: {
|
|
22607
22617
|
start: {
|
|
22608
|
-
line:
|
|
22618
|
+
line: 20,
|
|
22609
22619
|
column: 6
|
|
22610
22620
|
},
|
|
22611
22621
|
end: {
|
|
22612
|
-
line:
|
|
22622
|
+
line: 20,
|
|
22613
22623
|
column: 16
|
|
22614
22624
|
}
|
|
22615
22625
|
},
|
|
22616
22626
|
type: "default-arg",
|
|
22617
22627
|
locations: [{
|
|
22618
22628
|
start: {
|
|
22619
|
-
line:
|
|
22629
|
+
line: 20,
|
|
22620
22630
|
column: 14
|
|
22621
22631
|
},
|
|
22622
22632
|
end: {
|
|
22623
|
-
line:
|
|
22633
|
+
line: 20,
|
|
22624
22634
|
column: 16
|
|
22625
22635
|
}
|
|
22626
22636
|
}],
|
|
22627
|
-
line:
|
|
22637
|
+
line: 20
|
|
22628
22638
|
},
|
|
22629
22639
|
"3": {
|
|
22630
22640
|
loc: {
|
|
22631
22641
|
start: {
|
|
22632
|
-
line:
|
|
22642
|
+
line: 21,
|
|
22633
22643
|
column: 6
|
|
22634
22644
|
},
|
|
22635
22645
|
end: {
|
|
22636
|
-
line:
|
|
22646
|
+
line: 21,
|
|
22637
22647
|
column: 16
|
|
22638
22648
|
}
|
|
22639
22649
|
},
|
|
22640
22650
|
type: "default-arg",
|
|
22641
22651
|
locations: [{
|
|
22642
22652
|
start: {
|
|
22643
|
-
line:
|
|
22653
|
+
line: 21,
|
|
22644
22654
|
column: 14
|
|
22645
22655
|
},
|
|
22646
22656
|
end: {
|
|
22647
|
-
line:
|
|
22657
|
+
line: 21,
|
|
22648
22658
|
column: 16
|
|
22649
22659
|
}
|
|
22650
22660
|
}],
|
|
22651
|
-
line:
|
|
22661
|
+
line: 21
|
|
22652
22662
|
},
|
|
22653
22663
|
"4": {
|
|
22654
22664
|
loc: {
|
|
22655
22665
|
start: {
|
|
22656
|
-
line:
|
|
22666
|
+
line: 22,
|
|
22657
22667
|
column: 6
|
|
22658
22668
|
},
|
|
22659
22669
|
end: {
|
|
22660
|
-
line:
|
|
22670
|
+
line: 22,
|
|
22661
22671
|
column: 19
|
|
22662
22672
|
}
|
|
22663
22673
|
},
|
|
22664
22674
|
type: "default-arg",
|
|
22665
22675
|
locations: [{
|
|
22666
22676
|
start: {
|
|
22667
|
-
line:
|
|
22677
|
+
line: 22,
|
|
22668
22678
|
column: 15
|
|
22669
22679
|
},
|
|
22670
22680
|
end: {
|
|
22671
|
-
line:
|
|
22681
|
+
line: 22,
|
|
22672
22682
|
column: 19
|
|
22673
22683
|
}
|
|
22674
22684
|
}],
|
|
22675
|
-
line:
|
|
22685
|
+
line: 22
|
|
22676
22686
|
},
|
|
22677
22687
|
"5": {
|
|
22678
22688
|
loc: {
|
|
22679
22689
|
start: {
|
|
22680
|
-
line:
|
|
22690
|
+
line: 23,
|
|
22681
22691
|
column: 6
|
|
22682
22692
|
},
|
|
22683
22693
|
end: {
|
|
22684
|
-
line:
|
|
22694
|
+
line: 23,
|
|
22685
22695
|
column: 19
|
|
22686
22696
|
}
|
|
22687
22697
|
},
|
|
22688
22698
|
type: "default-arg",
|
|
22689
22699
|
locations: [{
|
|
22690
22700
|
start: {
|
|
22691
|
-
line:
|
|
22701
|
+
line: 23,
|
|
22692
22702
|
column: 15
|
|
22693
22703
|
},
|
|
22694
22704
|
end: {
|
|
22695
|
-
line:
|
|
22705
|
+
line: 23,
|
|
22696
22706
|
column: 19
|
|
22697
22707
|
}
|
|
22698
22708
|
}],
|
|
22699
|
-
line:
|
|
22709
|
+
line: 23
|
|
22700
22710
|
},
|
|
22701
22711
|
"6": {
|
|
22702
22712
|
loc: {
|
|
22703
22713
|
start: {
|
|
22704
|
-
line:
|
|
22714
|
+
line: 24,
|
|
22705
22715
|
column: 6
|
|
22706
22716
|
},
|
|
22707
22717
|
end: {
|
|
22708
|
-
line:
|
|
22718
|
+
line: 24,
|
|
22709
22719
|
column: 22
|
|
22710
22720
|
}
|
|
22711
22721
|
},
|
|
22712
22722
|
type: "default-arg",
|
|
22713
22723
|
locations: [{
|
|
22714
22724
|
start: {
|
|
22715
|
-
line:
|
|
22725
|
+
line: 24,
|
|
22716
22726
|
column: 17
|
|
22717
22727
|
},
|
|
22718
22728
|
end: {
|
|
22719
|
-
line:
|
|
22729
|
+
line: 24,
|
|
22720
22730
|
column: 22
|
|
22721
22731
|
}
|
|
22722
22732
|
}],
|
|
22723
|
-
line:
|
|
22733
|
+
line: 24
|
|
22724
22734
|
},
|
|
22725
22735
|
"7": {
|
|
22726
22736
|
loc: {
|
|
22727
22737
|
start: {
|
|
22728
|
-
line:
|
|
22738
|
+
line: 25,
|
|
22729
22739
|
column: 6
|
|
22730
22740
|
},
|
|
22731
22741
|
end: {
|
|
22732
|
-
line:
|
|
22742
|
+
line: 25,
|
|
22733
22743
|
column: 19
|
|
22734
22744
|
}
|
|
22735
22745
|
},
|
|
22736
22746
|
type: "default-arg",
|
|
22737
22747
|
locations: [{
|
|
22738
22748
|
start: {
|
|
22739
|
-
line:
|
|
22749
|
+
line: 25,
|
|
22740
22750
|
column: 17
|
|
22741
22751
|
},
|
|
22742
22752
|
end: {
|
|
22743
|
-
line:
|
|
22753
|
+
line: 25,
|
|
22744
22754
|
column: 19
|
|
22745
22755
|
}
|
|
22746
22756
|
}],
|
|
22747
|
-
line:
|
|
22757
|
+
line: 25
|
|
22748
22758
|
},
|
|
22749
22759
|
"8": {
|
|
22750
22760
|
loc: {
|
|
22751
22761
|
start: {
|
|
22752
|
-
line:
|
|
22762
|
+
line: 26,
|
|
22753
22763
|
column: 6
|
|
22754
22764
|
},
|
|
22755
22765
|
end: {
|
|
22756
|
-
line:
|
|
22766
|
+
line: 26,
|
|
22757
22767
|
column: 20
|
|
22758
22768
|
}
|
|
22759
22769
|
},
|
|
22760
22770
|
type: "default-arg",
|
|
22761
22771
|
locations: [{
|
|
22762
22772
|
start: {
|
|
22763
|
-
line:
|
|
22773
|
+
line: 26,
|
|
22764
22774
|
column: 18
|
|
22765
22775
|
},
|
|
22766
22776
|
end: {
|
|
22767
|
-
line:
|
|
22777
|
+
line: 26,
|
|
22768
22778
|
column: 20
|
|
22769
22779
|
}
|
|
22770
22780
|
}],
|
|
22771
|
-
line:
|
|
22781
|
+
line: 26
|
|
22772
22782
|
},
|
|
22773
22783
|
"9": {
|
|
22774
22784
|
loc: {
|
|
22775
22785
|
start: {
|
|
22776
|
-
line:
|
|
22786
|
+
line: 27,
|
|
22777
22787
|
column: 6
|
|
22778
22788
|
},
|
|
22779
22789
|
end: {
|
|
22780
|
-
line:
|
|
22790
|
+
line: 27,
|
|
22781
22791
|
column: 24
|
|
22782
22792
|
}
|
|
22783
22793
|
},
|
|
22784
22794
|
type: "default-arg",
|
|
22785
22795
|
locations: [{
|
|
22786
22796
|
start: {
|
|
22787
|
-
line:
|
|
22797
|
+
line: 27,
|
|
22788
22798
|
column: 19
|
|
22789
22799
|
},
|
|
22790
22800
|
end: {
|
|
22791
|
-
line:
|
|
22801
|
+
line: 27,
|
|
22792
22802
|
column: 24
|
|
22793
22803
|
}
|
|
22794
22804
|
}],
|
|
22795
|
-
line:
|
|
22805
|
+
line: 27
|
|
22796
22806
|
},
|
|
22797
22807
|
"10": {
|
|
22798
22808
|
loc: {
|
|
22799
22809
|
start: {
|
|
22800
|
-
line:
|
|
22810
|
+
line: 28,
|
|
22801
22811
|
column: 6
|
|
22802
22812
|
},
|
|
22803
22813
|
end: {
|
|
22804
|
-
line:
|
|
22814
|
+
line: 28,
|
|
22805
22815
|
column: 24
|
|
22806
22816
|
}
|
|
22807
22817
|
},
|
|
22808
22818
|
type: "default-arg",
|
|
22809
22819
|
locations: [{
|
|
22810
22820
|
start: {
|
|
22811
|
-
line:
|
|
22821
|
+
line: 28,
|
|
22812
22822
|
column: 20
|
|
22813
22823
|
},
|
|
22814
22824
|
end: {
|
|
22815
|
-
line:
|
|
22825
|
+
line: 28,
|
|
22816
22826
|
column: 24
|
|
22817
22827
|
}
|
|
22818
22828
|
}],
|
|
22819
|
-
line:
|
|
22829
|
+
line: 28
|
|
22820
22830
|
},
|
|
22821
22831
|
"11": {
|
|
22822
22832
|
loc: {
|
|
22823
22833
|
start: {
|
|
22824
|
-
line:
|
|
22834
|
+
line: 29,
|
|
22825
22835
|
column: 6
|
|
22826
22836
|
},
|
|
22827
22837
|
end: {
|
|
22828
|
-
line:
|
|
22838
|
+
line: 29,
|
|
22829
22839
|
column: 22
|
|
22830
22840
|
}
|
|
22831
22841
|
},
|
|
22832
22842
|
type: "default-arg",
|
|
22833
22843
|
locations: [{
|
|
22834
22844
|
start: {
|
|
22835
|
-
line:
|
|
22845
|
+
line: 29,
|
|
22836
22846
|
column: 17
|
|
22837
22847
|
},
|
|
22838
22848
|
end: {
|
|
22839
|
-
line:
|
|
22849
|
+
line: 29,
|
|
22840
22850
|
column: 22
|
|
22841
22851
|
}
|
|
22842
22852
|
}],
|
|
22843
|
-
line:
|
|
22853
|
+
line: 29
|
|
22844
22854
|
},
|
|
22845
22855
|
"12": {
|
|
22846
22856
|
loc: {
|
|
22847
22857
|
start: {
|
|
22848
|
-
line:
|
|
22858
|
+
line: 31,
|
|
22859
|
+
column: 6
|
|
22860
|
+
},
|
|
22861
|
+
end: {
|
|
22862
|
+
line: 31,
|
|
22863
|
+
column: 28
|
|
22864
|
+
}
|
|
22865
|
+
},
|
|
22866
|
+
type: "default-arg",
|
|
22867
|
+
locations: [{
|
|
22868
|
+
start: {
|
|
22869
|
+
line: 31,
|
|
22870
|
+
column: 23
|
|
22871
|
+
},
|
|
22872
|
+
end: {
|
|
22873
|
+
line: 31,
|
|
22874
|
+
column: 28
|
|
22875
|
+
}
|
|
22876
|
+
}],
|
|
22877
|
+
line: 31
|
|
22878
|
+
},
|
|
22879
|
+
"13": {
|
|
22880
|
+
loc: {
|
|
22881
|
+
start: {
|
|
22882
|
+
line: 43,
|
|
22849
22883
|
column: 18
|
|
22850
22884
|
},
|
|
22851
22885
|
end: {
|
|
22852
|
-
line:
|
|
22886
|
+
line: 43,
|
|
22853
22887
|
column: 57
|
|
22854
22888
|
}
|
|
22855
22889
|
},
|
|
22856
22890
|
type: "binary-expr",
|
|
22857
22891
|
locations: [{
|
|
22858
22892
|
start: {
|
|
22859
|
-
line:
|
|
22893
|
+
line: 43,
|
|
22860
22894
|
column: 18
|
|
22861
22895
|
},
|
|
22862
22896
|
end: {
|
|
22863
|
-
line:
|
|
22897
|
+
line: 43,
|
|
22864
22898
|
column: 34
|
|
22865
22899
|
}
|
|
22866
22900
|
}, {
|
|
22867
22901
|
start: {
|
|
22868
|
-
line:
|
|
22902
|
+
line: 43,
|
|
22869
22903
|
column: 38
|
|
22870
22904
|
},
|
|
22871
22905
|
end: {
|
|
22872
|
-
line:
|
|
22906
|
+
line: 43,
|
|
22873
22907
|
column: 51
|
|
22874
22908
|
}
|
|
22875
22909
|
}, {
|
|
22876
22910
|
start: {
|
|
22877
|
-
line:
|
|
22911
|
+
line: 43,
|
|
22878
22912
|
column: 55
|
|
22879
22913
|
},
|
|
22880
22914
|
end: {
|
|
22881
|
-
line:
|
|
22915
|
+
line: 43,
|
|
22882
22916
|
column: 57
|
|
22883
22917
|
}
|
|
22884
22918
|
}],
|
|
22885
|
-
line:
|
|
22919
|
+
line: 43
|
|
22886
22920
|
},
|
|
22887
|
-
"
|
|
22921
|
+
"14": {
|
|
22888
22922
|
loc: {
|
|
22889
22923
|
start: {
|
|
22890
|
-
line:
|
|
22924
|
+
line: 45,
|
|
22891
22925
|
column: 24
|
|
22892
22926
|
},
|
|
22893
22927
|
end: {
|
|
22894
|
-
line:
|
|
22928
|
+
line: 45,
|
|
22895
22929
|
column: 53
|
|
22896
22930
|
}
|
|
22897
22931
|
},
|
|
22898
22932
|
type: "binary-expr",
|
|
22899
22933
|
locations: [{
|
|
22900
22934
|
start: {
|
|
22901
|
-
line:
|
|
22935
|
+
line: 45,
|
|
22902
22936
|
column: 24
|
|
22903
22937
|
},
|
|
22904
22938
|
end: {
|
|
22905
|
-
line:
|
|
22939
|
+
line: 45,
|
|
22906
22940
|
column: 48
|
|
22907
22941
|
}
|
|
22908
22942
|
}, {
|
|
22909
22943
|
start: {
|
|
22910
|
-
line:
|
|
22944
|
+
line: 45,
|
|
22911
22945
|
column: 52
|
|
22912
22946
|
},
|
|
22913
22947
|
end: {
|
|
22914
|
-
line:
|
|
22948
|
+
line: 45,
|
|
22915
22949
|
column: 53
|
|
22916
22950
|
}
|
|
22917
22951
|
}],
|
|
22918
|
-
line:
|
|
22952
|
+
line: 45
|
|
22919
22953
|
},
|
|
22920
|
-
"
|
|
22954
|
+
"15": {
|
|
22921
22955
|
loc: {
|
|
22922
22956
|
start: {
|
|
22923
|
-
line:
|
|
22957
|
+
line: 47,
|
|
22924
22958
|
column: 27
|
|
22925
22959
|
},
|
|
22926
22960
|
end: {
|
|
22927
|
-
line:
|
|
22928
|
-
column:
|
|
22961
|
+
line: 47,
|
|
22962
|
+
column: 68
|
|
22929
22963
|
}
|
|
22930
22964
|
},
|
|
22931
22965
|
type: "binary-expr",
|
|
22932
22966
|
locations: [{
|
|
22933
22967
|
start: {
|
|
22934
|
-
line:
|
|
22968
|
+
line: 47,
|
|
22935
22969
|
column: 27
|
|
22936
22970
|
},
|
|
22937
22971
|
end: {
|
|
22938
|
-
line:
|
|
22939
|
-
column:
|
|
22972
|
+
line: 47,
|
|
22973
|
+
column: 41
|
|
22940
22974
|
}
|
|
22941
22975
|
}, {
|
|
22942
22976
|
start: {
|
|
22943
|
-
line:
|
|
22944
|
-
column:
|
|
22977
|
+
line: 47,
|
|
22978
|
+
column: 45
|
|
22945
22979
|
},
|
|
22946
22980
|
end: {
|
|
22947
|
-
line:
|
|
22948
|
-
column:
|
|
22981
|
+
line: 47,
|
|
22982
|
+
column: 68
|
|
22949
22983
|
}
|
|
22950
22984
|
}],
|
|
22951
|
-
line:
|
|
22985
|
+
line: 47
|
|
22952
22986
|
},
|
|
22953
|
-
"
|
|
22987
|
+
"16": {
|
|
22954
22988
|
loc: {
|
|
22955
22989
|
start: {
|
|
22956
|
-
line:
|
|
22990
|
+
line: 51,
|
|
22957
22991
|
column: 21
|
|
22958
22992
|
},
|
|
22959
22993
|
end: {
|
|
22960
|
-
line:
|
|
22994
|
+
line: 51,
|
|
22961
22995
|
column: 60
|
|
22962
22996
|
}
|
|
22963
22997
|
},
|
|
22964
22998
|
type: "binary-expr",
|
|
22965
22999
|
locations: [{
|
|
22966
23000
|
start: {
|
|
22967
|
-
line:
|
|
23001
|
+
line: 51,
|
|
22968
23002
|
column: 21
|
|
22969
23003
|
},
|
|
22970
23004
|
end: {
|
|
22971
|
-
line:
|
|
23005
|
+
line: 51,
|
|
22972
23006
|
column: 40
|
|
22973
23007
|
}
|
|
22974
23008
|
}, {
|
|
22975
23009
|
start: {
|
|
22976
|
-
line:
|
|
23010
|
+
line: 51,
|
|
22977
23011
|
column: 44
|
|
22978
23012
|
},
|
|
22979
23013
|
end: {
|
|
22980
|
-
line:
|
|
23014
|
+
line: 51,
|
|
22981
23015
|
column: 60
|
|
22982
23016
|
}
|
|
22983
23017
|
}],
|
|
22984
|
-
line:
|
|
23018
|
+
line: 51
|
|
22985
23019
|
},
|
|
22986
|
-
"
|
|
23020
|
+
"17": {
|
|
22987
23021
|
loc: {
|
|
22988
23022
|
start: {
|
|
22989
|
-
line:
|
|
23023
|
+
line: 52,
|
|
23024
|
+
column: 31
|
|
23025
|
+
},
|
|
23026
|
+
end: {
|
|
23027
|
+
line: 52,
|
|
23028
|
+
column: 61
|
|
23029
|
+
}
|
|
23030
|
+
},
|
|
23031
|
+
type: "binary-expr",
|
|
23032
|
+
locations: [{
|
|
23033
|
+
start: {
|
|
23034
|
+
line: 52,
|
|
23035
|
+
column: 31
|
|
23036
|
+
},
|
|
23037
|
+
end: {
|
|
23038
|
+
line: 52,
|
|
23039
|
+
column: 42
|
|
23040
|
+
}
|
|
23041
|
+
}, {
|
|
23042
|
+
start: {
|
|
23043
|
+
line: 52,
|
|
23044
|
+
column: 46
|
|
23045
|
+
},
|
|
23046
|
+
end: {
|
|
23047
|
+
line: 52,
|
|
23048
|
+
column: 61
|
|
23049
|
+
}
|
|
23050
|
+
}],
|
|
23051
|
+
line: 52
|
|
23052
|
+
},
|
|
23053
|
+
"18": {
|
|
23054
|
+
loc: {
|
|
23055
|
+
start: {
|
|
23056
|
+
line: 57,
|
|
22990
23057
|
column: 11
|
|
22991
23058
|
},
|
|
22992
23059
|
end: {
|
|
22993
|
-
line:
|
|
23060
|
+
line: 66,
|
|
22994
23061
|
column: 11
|
|
22995
23062
|
}
|
|
22996
23063
|
},
|
|
22997
23064
|
type: "binary-expr",
|
|
22998
23065
|
locations: [{
|
|
22999
23066
|
start: {
|
|
23000
|
-
line:
|
|
23067
|
+
line: 57,
|
|
23001
23068
|
column: 11
|
|
23002
23069
|
},
|
|
23003
23070
|
end: {
|
|
23004
|
-
line:
|
|
23071
|
+
line: 57,
|
|
23005
23072
|
column: 16
|
|
23006
23073
|
}
|
|
23007
23074
|
}, {
|
|
23008
23075
|
start: {
|
|
23009
|
-
line:
|
|
23076
|
+
line: 58,
|
|
23010
23077
|
column: 12
|
|
23011
23078
|
},
|
|
23012
23079
|
end: {
|
|
23013
|
-
line:
|
|
23080
|
+
line: 65,
|
|
23014
23081
|
column: 20
|
|
23015
23082
|
}
|
|
23016
23083
|
}],
|
|
23017
|
-
line:
|
|
23084
|
+
line: 57
|
|
23018
23085
|
},
|
|
23019
|
-
"
|
|
23086
|
+
"19": {
|
|
23020
23087
|
loc: {
|
|
23021
23088
|
start: {
|
|
23022
|
-
line:
|
|
23089
|
+
line: 67,
|
|
23023
23090
|
column: 11
|
|
23024
23091
|
},
|
|
23025
23092
|
end: {
|
|
23026
|
-
line:
|
|
23093
|
+
line: 76,
|
|
23027
23094
|
column: 11
|
|
23028
23095
|
}
|
|
23029
23096
|
},
|
|
23030
23097
|
type: "binary-expr",
|
|
23031
23098
|
locations: [{
|
|
23032
23099
|
start: {
|
|
23033
|
-
line:
|
|
23100
|
+
line: 67,
|
|
23034
23101
|
column: 11
|
|
23035
23102
|
},
|
|
23036
23103
|
end: {
|
|
23037
|
-
line:
|
|
23104
|
+
line: 67,
|
|
23038
23105
|
column: 34
|
|
23039
23106
|
}
|
|
23040
23107
|
}, {
|
|
23041
23108
|
start: {
|
|
23042
|
-
line:
|
|
23109
|
+
line: 68,
|
|
23043
23110
|
column: 12
|
|
23044
23111
|
},
|
|
23045
23112
|
end: {
|
|
23046
|
-
line:
|
|
23113
|
+
line: 75,
|
|
23047
23114
|
column: 25
|
|
23048
23115
|
}
|
|
23049
23116
|
}],
|
|
23050
|
-
line:
|
|
23117
|
+
line: 67
|
|
23051
23118
|
},
|
|
23052
|
-
"
|
|
23119
|
+
"20": {
|
|
23053
23120
|
loc: {
|
|
23054
23121
|
start: {
|
|
23055
|
-
line:
|
|
23122
|
+
line: 88,
|
|
23056
23123
|
column: 11
|
|
23057
23124
|
},
|
|
23058
23125
|
end: {
|
|
23059
|
-
line:
|
|
23126
|
+
line: 88,
|
|
23060
23127
|
column: 75
|
|
23061
23128
|
}
|
|
23062
23129
|
},
|
|
23063
23130
|
type: "binary-expr",
|
|
23064
23131
|
locations: [{
|
|
23065
23132
|
start: {
|
|
23066
|
-
line:
|
|
23133
|
+
line: 88,
|
|
23067
23134
|
column: 11
|
|
23068
23135
|
},
|
|
23069
23136
|
end: {
|
|
23070
|
-
line:
|
|
23137
|
+
line: 88,
|
|
23071
23138
|
column: 17
|
|
23072
23139
|
}
|
|
23073
23140
|
}, {
|
|
23074
23141
|
start: {
|
|
23075
|
-
line:
|
|
23142
|
+
line: 88,
|
|
23076
23143
|
column: 21
|
|
23077
23144
|
},
|
|
23078
23145
|
end: {
|
|
23079
|
-
line:
|
|
23146
|
+
line: 88,
|
|
23080
23147
|
column: 75
|
|
23081
23148
|
}
|
|
23082
23149
|
}],
|
|
23083
|
-
line:
|
|
23150
|
+
line: 88
|
|
23084
23151
|
},
|
|
23085
|
-
"
|
|
23152
|
+
"21": {
|
|
23086
23153
|
loc: {
|
|
23087
23154
|
start: {
|
|
23088
|
-
line:
|
|
23155
|
+
line: 102,
|
|
23156
|
+
column: 17
|
|
23157
|
+
},
|
|
23158
|
+
end: {
|
|
23159
|
+
line: 102,
|
|
23160
|
+
column: 71
|
|
23161
|
+
}
|
|
23162
|
+
},
|
|
23163
|
+
type: "binary-expr",
|
|
23164
|
+
locations: [{
|
|
23165
|
+
start: {
|
|
23166
|
+
line: 102,
|
|
23167
|
+
column: 17
|
|
23168
|
+
},
|
|
23169
|
+
end: {
|
|
23170
|
+
line: 102,
|
|
23171
|
+
column: 35
|
|
23172
|
+
}
|
|
23173
|
+
}, {
|
|
23174
|
+
start: {
|
|
23175
|
+
line: 102,
|
|
23176
|
+
column: 39
|
|
23177
|
+
},
|
|
23178
|
+
end: {
|
|
23179
|
+
line: 102,
|
|
23180
|
+
column: 54
|
|
23181
|
+
}
|
|
23182
|
+
}, {
|
|
23183
|
+
start: {
|
|
23184
|
+
line: 102,
|
|
23185
|
+
column: 58
|
|
23186
|
+
},
|
|
23187
|
+
end: {
|
|
23188
|
+
line: 102,
|
|
23189
|
+
column: 71
|
|
23190
|
+
}
|
|
23191
|
+
}],
|
|
23192
|
+
line: 102
|
|
23193
|
+
},
|
|
23194
|
+
"22": {
|
|
23195
|
+
loc: {
|
|
23196
|
+
start: {
|
|
23197
|
+
line: 107,
|
|
23089
23198
|
column: 11
|
|
23090
23199
|
},
|
|
23091
23200
|
end: {
|
|
23092
|
-
line:
|
|
23201
|
+
line: 107,
|
|
23093
23202
|
column: 75
|
|
23094
23203
|
}
|
|
23095
23204
|
},
|
|
23096
23205
|
type: "binary-expr",
|
|
23097
23206
|
locations: [{
|
|
23098
23207
|
start: {
|
|
23099
|
-
line:
|
|
23208
|
+
line: 107,
|
|
23100
23209
|
column: 11
|
|
23101
23210
|
},
|
|
23102
23211
|
end: {
|
|
23103
|
-
line:
|
|
23212
|
+
line: 107,
|
|
23104
23213
|
column: 17
|
|
23105
23214
|
}
|
|
23106
23215
|
}, {
|
|
23107
23216
|
start: {
|
|
23108
|
-
line:
|
|
23217
|
+
line: 107,
|
|
23109
23218
|
column: 21
|
|
23110
23219
|
},
|
|
23111
23220
|
end: {
|
|
23112
|
-
line:
|
|
23221
|
+
line: 107,
|
|
23113
23222
|
column: 75
|
|
23114
23223
|
}
|
|
23115
23224
|
}],
|
|
23116
|
-
line:
|
|
23225
|
+
line: 107
|
|
23117
23226
|
},
|
|
23118
|
-
"
|
|
23227
|
+
"23": {
|
|
23119
23228
|
loc: {
|
|
23120
23229
|
start: {
|
|
23121
|
-
line:
|
|
23230
|
+
line: 109,
|
|
23122
23231
|
column: 9
|
|
23123
23232
|
},
|
|
23124
23233
|
end: {
|
|
23125
|
-
line:
|
|
23234
|
+
line: 118,
|
|
23126
23235
|
column: 9
|
|
23127
23236
|
}
|
|
23128
23237
|
},
|
|
23129
23238
|
type: "binary-expr",
|
|
23130
23239
|
locations: [{
|
|
23131
23240
|
start: {
|
|
23132
|
-
line:
|
|
23241
|
+
line: 109,
|
|
23133
23242
|
column: 9
|
|
23134
23243
|
},
|
|
23135
23244
|
end: {
|
|
23136
|
-
line:
|
|
23245
|
+
line: 109,
|
|
23137
23246
|
column: 16
|
|
23138
23247
|
}
|
|
23139
23248
|
}, {
|
|
23140
23249
|
start: {
|
|
23141
|
-
line:
|
|
23250
|
+
line: 110,
|
|
23142
23251
|
column: 10
|
|
23143
23252
|
},
|
|
23144
23253
|
end: {
|
|
23145
|
-
line:
|
|
23254
|
+
line: 117,
|
|
23146
23255
|
column: 23
|
|
23147
23256
|
}
|
|
23148
23257
|
}],
|
|
23149
|
-
line:
|
|
23258
|
+
line: 109
|
|
23150
23259
|
},
|
|
23151
|
-
"
|
|
23260
|
+
"24": {
|
|
23152
23261
|
loc: {
|
|
23153
23262
|
start: {
|
|
23154
|
-
line:
|
|
23263
|
+
line: 119,
|
|
23155
23264
|
column: 9
|
|
23156
23265
|
},
|
|
23157
23266
|
end: {
|
|
23158
|
-
line:
|
|
23267
|
+
line: 128,
|
|
23159
23268
|
column: 9
|
|
23160
23269
|
}
|
|
23161
23270
|
},
|
|
23162
23271
|
type: "binary-expr",
|
|
23163
23272
|
locations: [{
|
|
23164
23273
|
start: {
|
|
23165
|
-
line:
|
|
23274
|
+
line: 119,
|
|
23166
23275
|
column: 9
|
|
23167
23276
|
},
|
|
23168
23277
|
end: {
|
|
23169
|
-
line:
|
|
23278
|
+
line: 119,
|
|
23170
23279
|
column: 17
|
|
23171
23280
|
}
|
|
23172
23281
|
}, {
|
|
23173
23282
|
start: {
|
|
23174
|
-
line:
|
|
23283
|
+
line: 120,
|
|
23175
23284
|
column: 10
|
|
23176
23285
|
},
|
|
23177
23286
|
end: {
|
|
23178
|
-
line:
|
|
23287
|
+
line: 127,
|
|
23179
23288
|
column: 23
|
|
23180
23289
|
}
|
|
23181
23290
|
}],
|
|
23182
|
-
line:
|
|
23291
|
+
line: 119
|
|
23183
23292
|
}
|
|
23184
23293
|
},
|
|
23185
23294
|
s: {
|
|
@@ -23197,7 +23306,8 @@ function cov_11a2hroalx() {
|
|
|
23197
23306
|
"11": 0,
|
|
23198
23307
|
"12": 0,
|
|
23199
23308
|
"13": 0,
|
|
23200
|
-
"14": 0
|
|
23309
|
+
"14": 0,
|
|
23310
|
+
"15": 0
|
|
23201
23311
|
},
|
|
23202
23312
|
f: {
|
|
23203
23313
|
"0": 0,
|
|
@@ -23216,8 +23326,8 @@ function cov_11a2hroalx() {
|
|
|
23216
23326
|
"9": [0],
|
|
23217
23327
|
"10": [0],
|
|
23218
23328
|
"11": [0],
|
|
23219
|
-
"12": [0
|
|
23220
|
-
"13": [0, 0],
|
|
23329
|
+
"12": [0],
|
|
23330
|
+
"13": [0, 0, 0],
|
|
23221
23331
|
"14": [0, 0],
|
|
23222
23332
|
"15": [0, 0],
|
|
23223
23333
|
"16": [0, 0],
|
|
@@ -23225,10 +23335,13 @@ function cov_11a2hroalx() {
|
|
|
23225
23335
|
"18": [0, 0],
|
|
23226
23336
|
"19": [0, 0],
|
|
23227
23337
|
"20": [0, 0],
|
|
23228
|
-
"21": [0, 0]
|
|
23338
|
+
"21": [0, 0, 0],
|
|
23339
|
+
"22": [0, 0],
|
|
23340
|
+
"23": [0, 0],
|
|
23341
|
+
"24": [0, 0]
|
|
23229
23342
|
},
|
|
23230
23343
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
23231
|
-
hash: "
|
|
23344
|
+
hash: "cebb14f6b25b836777861765fc99a4778b2a0f50"
|
|
23232
23345
|
};
|
|
23233
23346
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
23234
23347
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -23276,6 +23389,8 @@ var Input = (cov_11a2hroalx().s[1]++, /*#__PURE__*/React.forwardRef(function (_r
|
|
|
23276
23389
|
_ref$required = _ref.required,
|
|
23277
23390
|
required = _ref$required === void 0 ? (cov_11a2hroalx().b[11][0]++, false) : _ref$required,
|
|
23278
23391
|
maxLength = _ref.maxLength,
|
|
23392
|
+
_ref$unlimitedChars = _ref.unlimitedChars,
|
|
23393
|
+
unlimitedChars = _ref$unlimitedChars === void 0 ? (cov_11a2hroalx().b[12][0]++, false) : _ref$unlimitedChars,
|
|
23279
23394
|
labelProps = _ref.labelProps,
|
|
23280
23395
|
otherProps = _objectWithoutProperties(_ref, _excluded$8);
|
|
23281
23396
|
cov_11a2hroalx().f[0]++;
|
|
@@ -23286,31 +23401,32 @@ var Input = (cov_11a2hroalx().s[1]++, /*#__PURE__*/React.forwardRef(function (_r
|
|
|
23286
23401
|
var id = (cov_11a2hroalx().s[3]++, useId(otherProps.id));
|
|
23287
23402
|
var errorId = (cov_11a2hroalx().s[4]++, "error_".concat(id));
|
|
23288
23403
|
var helpTextId = (cov_11a2hroalx().s[5]++, "helpText_".concat(id));
|
|
23289
|
-
var value = (cov_11a2hroalx().s[6]++, (_ref4 = (_ref5 = (cov_11a2hroalx().b[
|
|
23290
|
-
var valueLength = (cov_11a2hroalx().s[7]++, (cov_11a2hroalx().b[
|
|
23291
|
-
var isCharacterLimitVisible = (cov_11a2hroalx().s[8]++, valueLength >= maxLength * 0.
|
|
23292
|
-
var maxLengthError = (cov_11a2hroalx().s[9]++, (cov_11a2hroalx().b[
|
|
23404
|
+
var value = (cov_11a2hroalx().s[6]++, (_ref4 = (_ref5 = (cov_11a2hroalx().b[13][0]++, otherProps.value)) !== null && _ref5 !== void 0 ? _ref5 : (cov_11a2hroalx().b[13][1]++, valueInternal)) !== null && _ref4 !== void 0 ? _ref4 : (cov_11a2hroalx().b[13][2]++, ""));
|
|
23405
|
+
var valueLength = (cov_11a2hroalx().s[7]++, (cov_11a2hroalx().b[14][0]++, value === null || value === void 0 ? void 0 : value.toString().length) || (cov_11a2hroalx().b[14][1]++, 0));
|
|
23406
|
+
var isCharacterLimitVisible = (cov_11a2hroalx().s[8]++, valueLength >= maxLength * 0.85);
|
|
23407
|
+
var maxLengthError = (cov_11a2hroalx().s[9]++, (cov_11a2hroalx().b[15][0]++, unlimitedChars) && (cov_11a2hroalx().b[15][1]++, valueLength > maxLength));
|
|
23293
23408
|
cov_11a2hroalx().s[10]++;
|
|
23294
23409
|
var onChangeInternal = function onChangeInternal(e) {
|
|
23295
23410
|
cov_11a2hroalx().f[1]++;
|
|
23296
23411
|
cov_11a2hroalx().s[11]++;
|
|
23297
23412
|
return setValueInternal(e.target.value);
|
|
23298
23413
|
};
|
|
23299
|
-
var onChange = (cov_11a2hroalx().s[12]++, (cov_11a2hroalx().b[
|
|
23300
|
-
cov_11a2hroalx().s[13]
|
|
23414
|
+
var onChange = (cov_11a2hroalx().s[12]++, (cov_11a2hroalx().b[16][0]++, otherProps.onChange) || (cov_11a2hroalx().b[16][1]++, onChangeInternal));
|
|
23415
|
+
var isMaxLengthPresent = (cov_11a2hroalx().s[13]++, (cov_11a2hroalx().b[17][0]++, !!maxLength) || (cov_11a2hroalx().b[17][1]++, maxLength === 0));
|
|
23416
|
+
cov_11a2hroalx().s[14]++;
|
|
23301
23417
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23302
23418
|
className: classnames(["neeto-ui-input__wrapper", className])
|
|
23303
23419
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23304
23420
|
className: "neeto-ui-input__label-wrapper"
|
|
23305
|
-
}, (cov_11a2hroalx().b[
|
|
23306
|
-
required: required,
|
|
23421
|
+
}, (cov_11a2hroalx().b[18][0]++, label) && (cov_11a2hroalx().b[18][1]++, /*#__PURE__*/React__default["default"].createElement(Label, _extends$1({
|
|
23307
23422
|
"data-cy": "".concat(hyphenize(label), "-input-label"),
|
|
23308
|
-
htmlFor: id
|
|
23309
|
-
|
|
23423
|
+
htmlFor: id,
|
|
23424
|
+
required: required
|
|
23425
|
+
}, labelProps), label)), (cov_11a2hroalx().b[19][0]++, isCharacterLimitVisible) && (cov_11a2hroalx().b[19][1]++, /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
23426
|
+
style: "body2",
|
|
23310
23427
|
className: classnames("neeto-ui-input__max-length", {
|
|
23311
23428
|
"neeto-ui-input__max-length--error": maxLengthError
|
|
23312
|
-
})
|
|
23313
|
-
style: "body2"
|
|
23429
|
+
})
|
|
23314
23430
|
}, valueLength, "/", maxLength))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23315
23431
|
className: classnames("neeto-ui-input", {
|
|
23316
23432
|
"neeto-ui-input--naked": !!nakedInput,
|
|
@@ -23320,36 +23436,38 @@ var Input = (cov_11a2hroalx().s[1]++, /*#__PURE__*/React.forwardRef(function (_r
|
|
|
23320
23436
|
"neeto-ui-input--medium": size === "medium",
|
|
23321
23437
|
"neeto-ui-input--large": size === "large"
|
|
23322
23438
|
})
|
|
23323
|
-
}, (cov_11a2hroalx().b[
|
|
23439
|
+
}, (cov_11a2hroalx().b[20][0]++, prefix) && (cov_11a2hroalx().b[20][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23324
23440
|
className: "neeto-ui-input__prefix"
|
|
23325
23441
|
}, prefix)), /*#__PURE__*/React__default["default"].createElement("input", _extends$1({
|
|
23326
|
-
|
|
23327
|
-
|
|
23328
|
-
type: type,
|
|
23442
|
+
"aria-invalid": !!error,
|
|
23443
|
+
"data-cy": "input-field",
|
|
23329
23444
|
disabled: disabled,
|
|
23330
|
-
|
|
23445
|
+
id: id,
|
|
23446
|
+
ref: ref,
|
|
23331
23447
|
required: required,
|
|
23332
|
-
|
|
23333
|
-
|
|
23334
|
-
"
|
|
23335
|
-
},
|
|
23448
|
+
size: contentSize,
|
|
23449
|
+
type: type,
|
|
23450
|
+
"aria-describedby": classnames((_classnames = {}, _defineProperty(_classnames, errorId, !!error), _defineProperty(_classnames, helpTextId, helpText), _classnames))
|
|
23451
|
+
}, (cov_11a2hroalx().b[21][0]++, isMaxLengthPresent) && (cov_11a2hroalx().b[21][1]++, !unlimitedChars) && (cov_11a2hroalx().b[21][2]++, {
|
|
23452
|
+
maxLength: maxLength
|
|
23453
|
+
}), otherProps, {
|
|
23336
23454
|
value: value,
|
|
23337
23455
|
onChange: onChange
|
|
23338
|
-
})), (cov_11a2hroalx().b[
|
|
23456
|
+
})), (cov_11a2hroalx().b[22][0]++, suffix) && (cov_11a2hroalx().b[22][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23339
23457
|
className: "neeto-ui-input__suffix"
|
|
23340
|
-
}, suffix))), (cov_11a2hroalx().b[
|
|
23341
|
-
style: "body3",
|
|
23342
|
-
"data-cy": "".concat(hyphenize(label), "-input-error"),
|
|
23458
|
+
}, suffix))), (cov_11a2hroalx().b[23][0]++, !!error) && (cov_11a2hroalx().b[23][1]++, /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
23343
23459
|
className: "neeto-ui-input__error",
|
|
23344
|
-
|
|
23345
|
-
|
|
23346
|
-
style: "body3"
|
|
23460
|
+
"data-cy": "".concat(hyphenize(label), "-input-error"),
|
|
23461
|
+
id: errorId,
|
|
23462
|
+
style: "body3"
|
|
23463
|
+
}, error)), (cov_11a2hroalx().b[24][0]++, helpText) && (cov_11a2hroalx().b[24][1]++, /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
23347
23464
|
className: "neeto-ui-input__help-text",
|
|
23465
|
+
"data-cy": "".concat(hyphenize(label), "-input-help"),
|
|
23348
23466
|
id: helpTextId,
|
|
23349
|
-
|
|
23467
|
+
style: "body3"
|
|
23350
23468
|
}, helpText)));
|
|
23351
23469
|
}));
|
|
23352
|
-
cov_11a2hroalx().s[
|
|
23470
|
+
cov_11a2hroalx().s[15]++;
|
|
23353
23471
|
|
|
23354
23472
|
function cov_24hgup53mb() {
|
|
23355
23473
|
var path = "/home/runner/work/neeto-ui/neeto-ui/src/components/layouts/Header.jsx";
|