@bigbinary/neeto-rules-frontend 0.0.91 → 0.0.93
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.cjs.js +438 -308
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +436 -307
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -2,8 +2,8 @@ import "./main.css";
|
|
|
2
2
|
|
|
3
3
|
import React, { Component, useContext, useState, useRef, useEffect, useMemo, memo } from 'react';
|
|
4
4
|
import { useFormikContext, FieldArray, Formik, Form, useField, ErrorMessage } from 'formik';
|
|
5
|
+
import Scrollable from 'neetomolecules/Scrollable';
|
|
5
6
|
import { MultiEmailInput, Input as Input$2, Textarea, ActionBlock, Select as Select$1, Radio } from '@bigbinary/neetoui/formik';
|
|
6
|
-
import { Scrollable } from '@bigbinary/neetoui/layouts';
|
|
7
7
|
import { Search, Check, Plus, Delete, Eye, Close } from '@bigbinary/neeto-icons';
|
|
8
8
|
import { Dropdown as Dropdown$2, Typography, Input as Input$1, Checkbox, Pane, Button, DatePicker, Select, Label } from '@bigbinary/neetoui';
|
|
9
9
|
import classNames from 'classnames';
|
|
@@ -42241,7 +42241,7 @@ var InputField$2 = function InputField(_ref) {
|
|
|
42241
42241
|
|
|
42242
42242
|
function cov_25nnzrwa0x() {
|
|
42243
42243
|
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Actions/ActionSubItem/Fields/EmailFields.jsx";
|
|
42244
|
-
var hash = "
|
|
42244
|
+
var hash = "25f59464e0f4ae63b21a16cf361e73db5500be37";
|
|
42245
42245
|
var global = new Function("return this")();
|
|
42246
42246
|
var gcv = "__coverage__";
|
|
42247
42247
|
var coverageData = {
|
|
@@ -42253,7 +42253,7 @@ function cov_25nnzrwa0x() {
|
|
|
42253
42253
|
column: 20
|
|
42254
42254
|
},
|
|
42255
42255
|
end: {
|
|
42256
|
-
line:
|
|
42256
|
+
line: 123,
|
|
42257
42257
|
column: 1
|
|
42258
42258
|
}
|
|
42259
42259
|
},
|
|
@@ -42329,71 +42329,81 @@ function cov_25nnzrwa0x() {
|
|
|
42329
42329
|
},
|
|
42330
42330
|
"8": {
|
|
42331
42331
|
start: {
|
|
42332
|
-
line:
|
|
42332
|
+
line: 34,
|
|
42333
|
+
column: 23
|
|
42334
|
+
},
|
|
42335
|
+
end: {
|
|
42336
|
+
line: 34,
|
|
42337
|
+
column: 75
|
|
42338
|
+
}
|
|
42339
|
+
},
|
|
42340
|
+
"9": {
|
|
42341
|
+
start: {
|
|
42342
|
+
line: 36,
|
|
42333
42343
|
column: 2
|
|
42334
42344
|
},
|
|
42335
42345
|
end: {
|
|
42336
|
-
line:
|
|
42346
|
+
line: 122,
|
|
42337
42347
|
column: 4
|
|
42338
42348
|
}
|
|
42339
42349
|
},
|
|
42340
|
-
"
|
|
42350
|
+
"10": {
|
|
42341
42351
|
start: {
|
|
42342
|
-
line:
|
|
42352
|
+
line: 57,
|
|
42343
42353
|
column: 23
|
|
42344
42354
|
},
|
|
42345
42355
|
end: {
|
|
42346
|
-
line:
|
|
42356
|
+
line: 57,
|
|
42347
42357
|
column: 59
|
|
42348
42358
|
}
|
|
42349
42359
|
},
|
|
42350
|
-
"
|
|
42360
|
+
"11": {
|
|
42351
42361
|
start: {
|
|
42352
|
-
line:
|
|
42362
|
+
line: 57,
|
|
42353
42363
|
column: 48
|
|
42354
42364
|
},
|
|
42355
42365
|
end: {
|
|
42356
|
-
line:
|
|
42366
|
+
line: 57,
|
|
42357
42367
|
column: 58
|
|
42358
42368
|
}
|
|
42359
42369
|
},
|
|
42360
|
-
"
|
|
42370
|
+
"12": {
|
|
42361
42371
|
start: {
|
|
42362
|
-
line:
|
|
42372
|
+
line: 65,
|
|
42363
42373
|
column: 23
|
|
42364
42374
|
},
|
|
42365
42375
|
end: {
|
|
42366
|
-
line:
|
|
42376
|
+
line: 65,
|
|
42367
42377
|
column: 41
|
|
42368
42378
|
}
|
|
42369
42379
|
},
|
|
42370
|
-
"
|
|
42380
|
+
"13": {
|
|
42371
42381
|
start: {
|
|
42372
|
-
line:
|
|
42382
|
+
line: 112,
|
|
42373
42383
|
column: 27
|
|
42374
42384
|
},
|
|
42375
42385
|
end: {
|
|
42376
|
-
line:
|
|
42386
|
+
line: 112,
|
|
42377
42387
|
column: 45
|
|
42378
42388
|
}
|
|
42379
42389
|
},
|
|
42380
|
-
"
|
|
42390
|
+
"14": {
|
|
42381
42391
|
start: {
|
|
42382
|
-
line:
|
|
42392
|
+
line: 117,
|
|
42383
42393
|
column: 27
|
|
42384
42394
|
},
|
|
42385
42395
|
end: {
|
|
42386
|
-
line:
|
|
42396
|
+
line: 117,
|
|
42387
42397
|
column: 45
|
|
42388
42398
|
}
|
|
42389
42399
|
},
|
|
42390
|
-
"
|
|
42400
|
+
"15": {
|
|
42391
42401
|
start: {
|
|
42392
|
-
line:
|
|
42402
|
+
line: 125,
|
|
42393
42403
|
column: 0
|
|
42394
42404
|
},
|
|
42395
42405
|
end: {
|
|
42396
|
-
line:
|
|
42406
|
+
line: 129,
|
|
42397
42407
|
column: 2
|
|
42398
42408
|
}
|
|
42399
42409
|
}
|
|
@@ -42417,7 +42427,7 @@ function cov_25nnzrwa0x() {
|
|
|
42417
42427
|
column: 6
|
|
42418
42428
|
},
|
|
42419
42429
|
end: {
|
|
42420
|
-
line:
|
|
42430
|
+
line: 123,
|
|
42421
42431
|
column: 1
|
|
42422
42432
|
}
|
|
42423
42433
|
},
|
|
@@ -42451,121 +42461,121 @@ function cov_25nnzrwa0x() {
|
|
|
42451
42461
|
name: "(anonymous_2)",
|
|
42452
42462
|
decl: {
|
|
42453
42463
|
start: {
|
|
42454
|
-
line:
|
|
42464
|
+
line: 57,
|
|
42455
42465
|
column: 17
|
|
42456
42466
|
},
|
|
42457
42467
|
end: {
|
|
42458
|
-
line:
|
|
42468
|
+
line: 57,
|
|
42459
42469
|
column: 18
|
|
42460
42470
|
}
|
|
42461
42471
|
},
|
|
42462
42472
|
loc: {
|
|
42463
42473
|
start: {
|
|
42464
|
-
line:
|
|
42474
|
+
line: 57,
|
|
42465
42475
|
column: 23
|
|
42466
42476
|
},
|
|
42467
42477
|
end: {
|
|
42468
|
-
line:
|
|
42478
|
+
line: 57,
|
|
42469
42479
|
column: 59
|
|
42470
42480
|
}
|
|
42471
42481
|
},
|
|
42472
|
-
line:
|
|
42482
|
+
line: 57
|
|
42473
42483
|
},
|
|
42474
42484
|
"3": {
|
|
42475
42485
|
name: "(anonymous_3)",
|
|
42476
42486
|
decl: {
|
|
42477
42487
|
start: {
|
|
42478
|
-
line:
|
|
42488
|
+
line: 57,
|
|
42479
42489
|
column: 35
|
|
42480
42490
|
},
|
|
42481
42491
|
end: {
|
|
42482
|
-
line:
|
|
42492
|
+
line: 57,
|
|
42483
42493
|
column: 36
|
|
42484
42494
|
}
|
|
42485
42495
|
},
|
|
42486
42496
|
loc: {
|
|
42487
42497
|
start: {
|
|
42488
|
-
line:
|
|
42498
|
+
line: 57,
|
|
42489
42499
|
column: 48
|
|
42490
42500
|
},
|
|
42491
42501
|
end: {
|
|
42492
|
-
line:
|
|
42502
|
+
line: 57,
|
|
42493
42503
|
column: 58
|
|
42494
42504
|
}
|
|
42495
42505
|
},
|
|
42496
|
-
line:
|
|
42506
|
+
line: 57
|
|
42497
42507
|
},
|
|
42498
42508
|
"4": {
|
|
42499
42509
|
name: "(anonymous_4)",
|
|
42500
42510
|
decl: {
|
|
42501
42511
|
start: {
|
|
42502
|
-
line:
|
|
42512
|
+
line: 65,
|
|
42503
42513
|
column: 17
|
|
42504
42514
|
},
|
|
42505
42515
|
end: {
|
|
42506
|
-
line:
|
|
42516
|
+
line: 65,
|
|
42507
42517
|
column: 18
|
|
42508
42518
|
}
|
|
42509
42519
|
},
|
|
42510
42520
|
loc: {
|
|
42511
42521
|
start: {
|
|
42512
|
-
line:
|
|
42522
|
+
line: 65,
|
|
42513
42523
|
column: 23
|
|
42514
42524
|
},
|
|
42515
42525
|
end: {
|
|
42516
|
-
line:
|
|
42526
|
+
line: 65,
|
|
42517
42527
|
column: 41
|
|
42518
42528
|
}
|
|
42519
42529
|
},
|
|
42520
|
-
line:
|
|
42530
|
+
line: 65
|
|
42521
42531
|
},
|
|
42522
42532
|
"5": {
|
|
42523
42533
|
name: "(anonymous_5)",
|
|
42524
42534
|
decl: {
|
|
42525
42535
|
start: {
|
|
42526
|
-
line:
|
|
42536
|
+
line: 112,
|
|
42527
42537
|
column: 21
|
|
42528
42538
|
},
|
|
42529
42539
|
end: {
|
|
42530
|
-
line:
|
|
42540
|
+
line: 112,
|
|
42531
42541
|
column: 22
|
|
42532
42542
|
}
|
|
42533
42543
|
},
|
|
42534
42544
|
loc: {
|
|
42535
42545
|
start: {
|
|
42536
|
-
line:
|
|
42546
|
+
line: 112,
|
|
42537
42547
|
column: 27
|
|
42538
42548
|
},
|
|
42539
42549
|
end: {
|
|
42540
|
-
line:
|
|
42550
|
+
line: 112,
|
|
42541
42551
|
column: 45
|
|
42542
42552
|
}
|
|
42543
42553
|
},
|
|
42544
|
-
line:
|
|
42554
|
+
line: 112
|
|
42545
42555
|
},
|
|
42546
42556
|
"6": {
|
|
42547
42557
|
name: "(anonymous_6)",
|
|
42548
42558
|
decl: {
|
|
42549
42559
|
start: {
|
|
42550
|
-
line:
|
|
42560
|
+
line: 117,
|
|
42551
42561
|
column: 21
|
|
42552
42562
|
},
|
|
42553
42563
|
end: {
|
|
42554
|
-
line:
|
|
42564
|
+
line: 117,
|
|
42555
42565
|
column: 22
|
|
42556
42566
|
}
|
|
42557
42567
|
},
|
|
42558
42568
|
loc: {
|
|
42559
42569
|
start: {
|
|
42560
|
-
line:
|
|
42570
|
+
line: 117,
|
|
42561
42571
|
column: 27
|
|
42562
42572
|
},
|
|
42563
42573
|
end: {
|
|
42564
|
-
line:
|
|
42574
|
+
line: 117,
|
|
42565
42575
|
column: 45
|
|
42566
42576
|
}
|
|
42567
42577
|
},
|
|
42568
|
-
line:
|
|
42578
|
+
line: 117
|
|
42569
42579
|
}
|
|
42570
42580
|
},
|
|
42571
42581
|
branchMap: {
|
|
@@ -42686,167 +42696,200 @@ function cov_25nnzrwa0x() {
|
|
|
42686
42696
|
"4": {
|
|
42687
42697
|
loc: {
|
|
42688
42698
|
start: {
|
|
42689
|
-
line:
|
|
42699
|
+
line: 34,
|
|
42700
|
+
column: 23
|
|
42701
|
+
},
|
|
42702
|
+
end: {
|
|
42703
|
+
line: 34,
|
|
42704
|
+
column: 75
|
|
42705
|
+
}
|
|
42706
|
+
},
|
|
42707
|
+
type: "binary-expr",
|
|
42708
|
+
locations: [{
|
|
42709
|
+
start: {
|
|
42710
|
+
line: 34,
|
|
42711
|
+
column: 23
|
|
42712
|
+
},
|
|
42713
|
+
end: {
|
|
42714
|
+
line: 34,
|
|
42715
|
+
column: 54
|
|
42716
|
+
}
|
|
42717
|
+
}, {
|
|
42718
|
+
start: {
|
|
42719
|
+
line: 34,
|
|
42720
|
+
column: 58
|
|
42721
|
+
},
|
|
42722
|
+
end: {
|
|
42723
|
+
line: 34,
|
|
42724
|
+
column: 75
|
|
42725
|
+
}
|
|
42726
|
+
}],
|
|
42727
|
+
line: 34
|
|
42728
|
+
},
|
|
42729
|
+
"5": {
|
|
42730
|
+
loc: {
|
|
42731
|
+
start: {
|
|
42732
|
+
line: 79,
|
|
42690
42733
|
column: 13
|
|
42691
42734
|
},
|
|
42692
42735
|
end: {
|
|
42693
|
-
line:
|
|
42736
|
+
line: 85,
|
|
42694
42737
|
column: 13
|
|
42695
42738
|
}
|
|
42696
42739
|
},
|
|
42697
42740
|
type: "binary-expr",
|
|
42698
42741
|
locations: [{
|
|
42699
42742
|
start: {
|
|
42700
|
-
line:
|
|
42743
|
+
line: 79,
|
|
42701
42744
|
column: 13
|
|
42702
42745
|
},
|
|
42703
42746
|
end: {
|
|
42704
|
-
line:
|
|
42747
|
+
line: 79,
|
|
42705
42748
|
column: 27
|
|
42706
42749
|
}
|
|
42707
42750
|
}, {
|
|
42708
42751
|
start: {
|
|
42709
|
-
line:
|
|
42752
|
+
line: 80,
|
|
42710
42753
|
column: 14
|
|
42711
42754
|
},
|
|
42712
42755
|
end: {
|
|
42713
|
-
line:
|
|
42756
|
+
line: 84,
|
|
42714
42757
|
column: 16
|
|
42715
42758
|
}
|
|
42716
42759
|
}],
|
|
42717
|
-
line:
|
|
42760
|
+
line: 79
|
|
42718
42761
|
},
|
|
42719
|
-
"
|
|
42762
|
+
"6": {
|
|
42720
42763
|
loc: {
|
|
42721
42764
|
start: {
|
|
42722
|
-
line:
|
|
42765
|
+
line: 86,
|
|
42723
42766
|
column: 13
|
|
42724
42767
|
},
|
|
42725
42768
|
end: {
|
|
42726
|
-
line:
|
|
42769
|
+
line: 94,
|
|
42727
42770
|
column: 13
|
|
42728
42771
|
}
|
|
42729
42772
|
},
|
|
42730
42773
|
type: "binary-expr",
|
|
42731
42774
|
locations: [{
|
|
42732
42775
|
start: {
|
|
42733
|
-
line:
|
|
42776
|
+
line: 86,
|
|
42734
42777
|
column: 13
|
|
42735
42778
|
},
|
|
42736
42779
|
end: {
|
|
42737
|
-
line:
|
|
42780
|
+
line: 86,
|
|
42738
42781
|
column: 39
|
|
42739
42782
|
}
|
|
42740
42783
|
}, {
|
|
42741
42784
|
start: {
|
|
42742
|
-
line:
|
|
42785
|
+
line: 87,
|
|
42743
42786
|
column: 14
|
|
42744
42787
|
},
|
|
42745
42788
|
end: {
|
|
42746
|
-
line:
|
|
42789
|
+
line: 93,
|
|
42747
42790
|
column: 16
|
|
42748
42791
|
}
|
|
42749
42792
|
}],
|
|
42750
|
-
line:
|
|
42793
|
+
line: 86
|
|
42751
42794
|
},
|
|
42752
|
-
"
|
|
42795
|
+
"7": {
|
|
42753
42796
|
loc: {
|
|
42754
42797
|
start: {
|
|
42755
|
-
line:
|
|
42798
|
+
line: 90,
|
|
42756
42799
|
column: 33
|
|
42757
42800
|
},
|
|
42758
42801
|
end: {
|
|
42759
|
-
line:
|
|
42802
|
+
line: 90,
|
|
42760
42803
|
column: 72
|
|
42761
42804
|
}
|
|
42762
42805
|
},
|
|
42763
42806
|
type: "cond-expr",
|
|
42764
42807
|
locations: [{
|
|
42765
42808
|
start: {
|
|
42766
|
-
line:
|
|
42809
|
+
line: 90,
|
|
42767
42810
|
column: 50
|
|
42768
42811
|
},
|
|
42769
42812
|
end: {
|
|
42770
|
-
line:
|
|
42813
|
+
line: 90,
|
|
42771
42814
|
column: 54
|
|
42772
42815
|
}
|
|
42773
42816
|
}, {
|
|
42774
42817
|
start: {
|
|
42775
|
-
line:
|
|
42818
|
+
line: 90,
|
|
42776
42819
|
column: 57
|
|
42777
42820
|
},
|
|
42778
42821
|
end: {
|
|
42779
|
-
line:
|
|
42822
|
+
line: 90,
|
|
42780
42823
|
column: 72
|
|
42781
42824
|
}
|
|
42782
42825
|
}],
|
|
42783
|
-
line:
|
|
42826
|
+
line: 90
|
|
42784
42827
|
},
|
|
42785
|
-
"
|
|
42828
|
+
"8": {
|
|
42786
42829
|
loc: {
|
|
42787
42830
|
start: {
|
|
42788
|
-
line:
|
|
42831
|
+
line: 101,
|
|
42789
42832
|
column: 16
|
|
42790
42833
|
},
|
|
42791
42834
|
end: {
|
|
42792
|
-
line:
|
|
42835
|
+
line: 103,
|
|
42793
42836
|
column: 35
|
|
42794
42837
|
}
|
|
42795
42838
|
},
|
|
42796
42839
|
type: "cond-expr",
|
|
42797
42840
|
locations: [{
|
|
42798
42841
|
start: {
|
|
42799
|
-
line:
|
|
42842
|
+
line: 102,
|
|
42800
42843
|
column: 20
|
|
42801
42844
|
},
|
|
42802
42845
|
end: {
|
|
42803
|
-
line:
|
|
42846
|
+
line: 102,
|
|
42804
42847
|
column: 24
|
|
42805
42848
|
}
|
|
42806
42849
|
}, {
|
|
42807
42850
|
start: {
|
|
42808
|
-
line:
|
|
42851
|
+
line: 103,
|
|
42809
42852
|
column: 20
|
|
42810
42853
|
},
|
|
42811
42854
|
end: {
|
|
42812
|
-
line:
|
|
42855
|
+
line: 103,
|
|
42813
42856
|
column: 35
|
|
42814
42857
|
}
|
|
42815
42858
|
}],
|
|
42816
|
-
line:
|
|
42859
|
+
line: 101
|
|
42817
42860
|
},
|
|
42818
|
-
"
|
|
42861
|
+
"9": {
|
|
42819
42862
|
loc: {
|
|
42820
42863
|
start: {
|
|
42821
|
-
line:
|
|
42864
|
+
line: 101,
|
|
42822
42865
|
column: 16
|
|
42823
42866
|
},
|
|
42824
42867
|
end: {
|
|
42825
|
-
line:
|
|
42868
|
+
line: 101,
|
|
42826
42869
|
column: 60
|
|
42827
42870
|
}
|
|
42828
42871
|
},
|
|
42829
42872
|
type: "binary-expr",
|
|
42830
42873
|
locations: [{
|
|
42831
42874
|
start: {
|
|
42832
|
-
line:
|
|
42875
|
+
line: 101,
|
|
42833
42876
|
column: 16
|
|
42834
42877
|
},
|
|
42835
42878
|
end: {
|
|
42836
|
-
line:
|
|
42879
|
+
line: 101,
|
|
42837
42880
|
column: 30
|
|
42838
42881
|
}
|
|
42839
42882
|
}, {
|
|
42840
42883
|
start: {
|
|
42841
|
-
line:
|
|
42884
|
+
line: 101,
|
|
42842
42885
|
column: 34
|
|
42843
42886
|
},
|
|
42844
42887
|
end: {
|
|
42845
|
-
line:
|
|
42888
|
+
line: 101,
|
|
42846
42889
|
column: 60
|
|
42847
42890
|
}
|
|
42848
42891
|
}],
|
|
42849
|
-
line:
|
|
42892
|
+
line: 101
|
|
42850
42893
|
}
|
|
42851
42894
|
},
|
|
42852
42895
|
s: {
|
|
@@ -42864,7 +42907,8 @@ function cov_25nnzrwa0x() {
|
|
|
42864
42907
|
"11": 0,
|
|
42865
42908
|
"12": 0,
|
|
42866
42909
|
"13": 0,
|
|
42867
|
-
"14": 0
|
|
42910
|
+
"14": 0,
|
|
42911
|
+
"15": 0
|
|
42868
42912
|
},
|
|
42869
42913
|
f: {
|
|
42870
42914
|
"0": 0,
|
|
@@ -42884,10 +42928,11 @@ function cov_25nnzrwa0x() {
|
|
|
42884
42928
|
"5": [0, 0],
|
|
42885
42929
|
"6": [0, 0],
|
|
42886
42930
|
"7": [0, 0],
|
|
42887
|
-
"8": [0, 0]
|
|
42931
|
+
"8": [0, 0],
|
|
42932
|
+
"9": [0, 0]
|
|
42888
42933
|
},
|
|
42889
42934
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
42890
|
-
hash: "
|
|
42935
|
+
hash: "25f59464e0f4ae63b21a16cf361e73db5500be37"
|
|
42891
42936
|
};
|
|
42892
42937
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
42893
42938
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -42930,7 +42975,8 @@ var EmailFields = function EmailFields(_ref) {
|
|
|
42930
42975
|
});
|
|
42931
42976
|
var isValid = (cov_25nnzrwa0x().s[6]++, (cov_25nnzrwa0x().b[2][0]++, errors.actions) && (cov_25nnzrwa0x().b[2][1]++, !isNil((_errors$actions = errors.actions) === null || _errors$actions === void 0 ? void 0 : _errors$actions.value[index])));
|
|
42932
42977
|
var separator = (cov_25nnzrwa0x().s[7]++, (cov_25nnzrwa0x().b[3][0]++, selectedField === null || selectedField === void 0 ? void 0 : (_selectedField$separa = selectedField.separator) === null || _selectedField$separa === void 0 ? void 0 : _selectedField$separa.toLowerCase()) || (cov_25nnzrwa0x().b[3][1]++, t("common.as")));
|
|
42933
|
-
cov_25nnzrwa0x().s[8]
|
|
42978
|
+
var defaultLabel = (cov_25nnzrwa0x().s[8]++, (cov_25nnzrwa0x().b[4][0]++, selectedField === null || selectedField === void 0 ? void 0 : selectedField.emailPlaceholder) || (cov_25nnzrwa0x().b[4][1]++, t("common.email")));
|
|
42979
|
+
cov_25nnzrwa0x().s[9]++;
|
|
42934
42980
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Typography, {
|
|
42935
42981
|
className: "neeto-ui-text-gray-700",
|
|
42936
42982
|
"data-cy": "action-email-seperator-text",
|
|
@@ -42946,20 +42992,20 @@ var EmailFields = function EmailFields(_ref) {
|
|
|
42946
42992
|
}),
|
|
42947
42993
|
onClick: function onClick() {
|
|
42948
42994
|
cov_25nnzrwa0x().f[2]++;
|
|
42949
|
-
cov_25nnzrwa0x().s[
|
|
42995
|
+
cov_25nnzrwa0x().s[10]++;
|
|
42950
42996
|
return setShowPane(function (prevState) {
|
|
42951
42997
|
cov_25nnzrwa0x().f[3]++;
|
|
42952
|
-
cov_25nnzrwa0x().s[
|
|
42998
|
+
cov_25nnzrwa0x().s[11]++;
|
|
42953
42999
|
return !prevState;
|
|
42954
43000
|
});
|
|
42955
43001
|
}
|
|
42956
|
-
},
|
|
43002
|
+
}, defaultLabel.toLowerCase()), /*#__PURE__*/React.createElement(Pane, {
|
|
42957
43003
|
initialFocusRef: initialFocusRef,
|
|
42958
43004
|
isOpen: showPane,
|
|
42959
43005
|
size: "large",
|
|
42960
43006
|
onClose: function onClose() {
|
|
42961
43007
|
cov_25nnzrwa0x().f[4]++;
|
|
42962
|
-
cov_25nnzrwa0x().s[
|
|
43008
|
+
cov_25nnzrwa0x().s[12]++;
|
|
42963
43009
|
return setShowPane(false);
|
|
42964
43010
|
}
|
|
42965
43011
|
}, /*#__PURE__*/React.createElement(Pane.Header, null, /*#__PURE__*/React.createElement(Typography, {
|
|
@@ -42967,16 +43013,16 @@ var EmailFields = function EmailFields(_ref) {
|
|
|
42967
43013
|
"data-cy": "email-action-pane-header-title",
|
|
42968
43014
|
style: "h3",
|
|
42969
43015
|
weight: "semibold"
|
|
42970
|
-
},
|
|
43016
|
+
}, defaultLabel)), /*#__PURE__*/React.createElement(Pane.Body, null, /*#__PURE__*/React.createElement("div", {
|
|
42971
43017
|
className: "w-full"
|
|
42972
|
-
}, (cov_25nnzrwa0x().b[
|
|
43018
|
+
}, (cov_25nnzrwa0x().b[5][0]++, isEmailIdField) && (cov_25nnzrwa0x().b[5][1]++, /*#__PURE__*/React.createElement(EmailIdFields, {
|
|
42973
43019
|
emails: emails,
|
|
42974
43020
|
initialFocusRef: initialFocusRef,
|
|
42975
43021
|
name: "".concat(name, ".emails")
|
|
42976
|
-
})), (cov_25nnzrwa0x().b[
|
|
43022
|
+
})), (cov_25nnzrwa0x().b[6][0]++, !selectedField.hideSubject) && (cov_25nnzrwa0x().b[6][1]++, /*#__PURE__*/React.createElement(InputField$2, {
|
|
42977
43023
|
className: "mb-4",
|
|
42978
43024
|
"data-cy": "email-action-subject-text-field",
|
|
42979
|
-
initialFocusRef: isEmailIdField ? (cov_25nnzrwa0x().b[
|
|
43025
|
+
initialFocusRef: isEmailIdField ? (cov_25nnzrwa0x().b[7][0]++, null) : (cov_25nnzrwa0x().b[7][1]++, initialFocusRef),
|
|
42980
43026
|
label: t("labels.subject"),
|
|
42981
43027
|
name: "".concat(name, ".subject")
|
|
42982
43028
|
})), /*#__PURE__*/React.createElement(EditorAction, {
|
|
@@ -42984,7 +43030,7 @@ var EmailFields = function EmailFields(_ref) {
|
|
|
42984
43030
|
name: "".concat(name, ".body"),
|
|
42985
43031
|
value: (_action$metadata = action.metadata) === null || _action$metadata === void 0 ? void 0 : _action$metadata.body,
|
|
42986
43032
|
variables: selectedField === null || selectedField === void 0 ? void 0 : selectedField.variables,
|
|
42987
|
-
initialFocusRef: (cov_25nnzrwa0x().b[
|
|
43033
|
+
initialFocusRef: (cov_25nnzrwa0x().b[9][0]++, isEmailIdField) || (cov_25nnzrwa0x().b[9][1]++, !selectedField.hideSubject) ? (cov_25nnzrwa0x().b[8][0]++, null) : (cov_25nnzrwa0x().b[8][1]++, initialFocusRef)
|
|
42988
43034
|
}))), /*#__PURE__*/React.createElement(Pane.Footer, {
|
|
42989
43035
|
className: "flex items-center space-x-2"
|
|
42990
43036
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
@@ -42992,7 +43038,7 @@ var EmailFields = function EmailFields(_ref) {
|
|
|
42992
43038
|
label: t("common.saveChange"),
|
|
42993
43039
|
onClick: function onClick() {
|
|
42994
43040
|
cov_25nnzrwa0x().f[5]++;
|
|
42995
|
-
cov_25nnzrwa0x().s[
|
|
43041
|
+
cov_25nnzrwa0x().s[13]++;
|
|
42996
43042
|
return setShowPane(false);
|
|
42997
43043
|
}
|
|
42998
43044
|
}), /*#__PURE__*/React.createElement(Button, {
|
|
@@ -43000,12 +43046,12 @@ var EmailFields = function EmailFields(_ref) {
|
|
|
43000
43046
|
style: "text",
|
|
43001
43047
|
onClick: function onClick() {
|
|
43002
43048
|
cov_25nnzrwa0x().f[6]++;
|
|
43003
|
-
cov_25nnzrwa0x().s[
|
|
43049
|
+
cov_25nnzrwa0x().s[14]++;
|
|
43004
43050
|
return setShowPane(false);
|
|
43005
43051
|
}
|
|
43006
43052
|
}))));
|
|
43007
43053
|
};
|
|
43008
|
-
cov_25nnzrwa0x().s[
|
|
43054
|
+
cov_25nnzrwa0x().s[15]++;
|
|
43009
43055
|
|
|
43010
43056
|
function cov_23z8cpnund() {
|
|
43011
43057
|
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Actions/ActionSubItem/Fields/Input.jsx";
|
|
@@ -46897,7 +46943,7 @@ cov_1kb2dc1ax5().s[29]++;
|
|
|
46897
46943
|
|
|
46898
46944
|
function cov_17c75usisi() {
|
|
46899
46945
|
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Actions/ActionSubItem/Fields/NoteField.jsx";
|
|
46900
|
-
var hash = "
|
|
46946
|
+
var hash = "b3342b80e51674625b102849c8c65b665dde062c";
|
|
46901
46947
|
var global = new Function("return this")();
|
|
46902
46948
|
var gcv = "__coverage__";
|
|
46903
46949
|
var coverageData = {
|
|
@@ -46909,7 +46955,7 @@ function cov_17c75usisi() {
|
|
|
46909
46955
|
column: 18
|
|
46910
46956
|
},
|
|
46911
46957
|
end: {
|
|
46912
|
-
line:
|
|
46958
|
+
line: 91,
|
|
46913
46959
|
column: 1
|
|
46914
46960
|
}
|
|
46915
46961
|
},
|
|
@@ -46995,61 +47041,71 @@ function cov_17c75usisi() {
|
|
|
46995
47041
|
},
|
|
46996
47042
|
"9": {
|
|
46997
47043
|
start: {
|
|
46998
|
-
line:
|
|
47044
|
+
line: 25,
|
|
47045
|
+
column: 23
|
|
47046
|
+
},
|
|
47047
|
+
end: {
|
|
47048
|
+
line: 25,
|
|
47049
|
+
column: 67
|
|
47050
|
+
}
|
|
47051
|
+
},
|
|
47052
|
+
"10": {
|
|
47053
|
+
start: {
|
|
47054
|
+
line: 27,
|
|
46999
47055
|
column: 2
|
|
47000
47056
|
},
|
|
47001
47057
|
end: {
|
|
47002
|
-
line:
|
|
47058
|
+
line: 90,
|
|
47003
47059
|
column: 4
|
|
47004
47060
|
}
|
|
47005
47061
|
},
|
|
47006
|
-
"
|
|
47062
|
+
"11": {
|
|
47007
47063
|
start: {
|
|
47008
|
-
line:
|
|
47064
|
+
line: 48,
|
|
47009
47065
|
column: 23
|
|
47010
47066
|
},
|
|
47011
47067
|
end: {
|
|
47012
|
-
line:
|
|
47068
|
+
line: 48,
|
|
47013
47069
|
column: 59
|
|
47014
47070
|
}
|
|
47015
47071
|
},
|
|
47016
|
-
"
|
|
47072
|
+
"12": {
|
|
47017
47073
|
start: {
|
|
47018
|
-
line:
|
|
47074
|
+
line: 48,
|
|
47019
47075
|
column: 48
|
|
47020
47076
|
},
|
|
47021
47077
|
end: {
|
|
47022
|
-
line:
|
|
47078
|
+
line: 48,
|
|
47023
47079
|
column: 58
|
|
47024
47080
|
}
|
|
47025
47081
|
},
|
|
47026
|
-
"
|
|
47082
|
+
"13": {
|
|
47027
47083
|
start: {
|
|
47028
|
-
line:
|
|
47084
|
+
line: 56,
|
|
47029
47085
|
column: 23
|
|
47030
47086
|
},
|
|
47031
47087
|
end: {
|
|
47032
|
-
line:
|
|
47088
|
+
line: 56,
|
|
47033
47089
|
column: 41
|
|
47034
47090
|
}
|
|
47035
47091
|
},
|
|
47036
|
-
"
|
|
47092
|
+
"14": {
|
|
47037
47093
|
start: {
|
|
47038
|
-
line:
|
|
47094
|
+
line: 80,
|
|
47039
47095
|
column: 27
|
|
47040
47096
|
},
|
|
47041
47097
|
end: {
|
|
47042
|
-
line:
|
|
47098
|
+
line: 80,
|
|
47043
47099
|
column: 45
|
|
47044
47100
|
}
|
|
47045
47101
|
},
|
|
47046
|
-
"
|
|
47102
|
+
"15": {
|
|
47047
47103
|
start: {
|
|
47048
|
-
line:
|
|
47104
|
+
line: 85,
|
|
47049
47105
|
column: 27
|
|
47050
47106
|
},
|
|
47051
47107
|
end: {
|
|
47052
|
-
line:
|
|
47108
|
+
line: 85,
|
|
47053
47109
|
column: 45
|
|
47054
47110
|
}
|
|
47055
47111
|
}
|
|
@@ -47073,7 +47129,7 @@ function cov_17c75usisi() {
|
|
|
47073
47129
|
column: 66
|
|
47074
47130
|
},
|
|
47075
47131
|
end: {
|
|
47076
|
-
line:
|
|
47132
|
+
line: 91,
|
|
47077
47133
|
column: 1
|
|
47078
47134
|
}
|
|
47079
47135
|
},
|
|
@@ -47107,121 +47163,121 @@ function cov_17c75usisi() {
|
|
|
47107
47163
|
name: "(anonymous_2)",
|
|
47108
47164
|
decl: {
|
|
47109
47165
|
start: {
|
|
47110
|
-
line:
|
|
47166
|
+
line: 48,
|
|
47111
47167
|
column: 17
|
|
47112
47168
|
},
|
|
47113
47169
|
end: {
|
|
47114
|
-
line:
|
|
47170
|
+
line: 48,
|
|
47115
47171
|
column: 18
|
|
47116
47172
|
}
|
|
47117
47173
|
},
|
|
47118
47174
|
loc: {
|
|
47119
47175
|
start: {
|
|
47120
|
-
line:
|
|
47176
|
+
line: 48,
|
|
47121
47177
|
column: 23
|
|
47122
47178
|
},
|
|
47123
47179
|
end: {
|
|
47124
|
-
line:
|
|
47180
|
+
line: 48,
|
|
47125
47181
|
column: 59
|
|
47126
47182
|
}
|
|
47127
47183
|
},
|
|
47128
|
-
line:
|
|
47184
|
+
line: 48
|
|
47129
47185
|
},
|
|
47130
47186
|
"3": {
|
|
47131
47187
|
name: "(anonymous_3)",
|
|
47132
47188
|
decl: {
|
|
47133
47189
|
start: {
|
|
47134
|
-
line:
|
|
47190
|
+
line: 48,
|
|
47135
47191
|
column: 35
|
|
47136
47192
|
},
|
|
47137
47193
|
end: {
|
|
47138
|
-
line:
|
|
47194
|
+
line: 48,
|
|
47139
47195
|
column: 36
|
|
47140
47196
|
}
|
|
47141
47197
|
},
|
|
47142
47198
|
loc: {
|
|
47143
47199
|
start: {
|
|
47144
|
-
line:
|
|
47200
|
+
line: 48,
|
|
47145
47201
|
column: 48
|
|
47146
47202
|
},
|
|
47147
47203
|
end: {
|
|
47148
|
-
line:
|
|
47204
|
+
line: 48,
|
|
47149
47205
|
column: 58
|
|
47150
47206
|
}
|
|
47151
47207
|
},
|
|
47152
|
-
line:
|
|
47208
|
+
line: 48
|
|
47153
47209
|
},
|
|
47154
47210
|
"4": {
|
|
47155
47211
|
name: "(anonymous_4)",
|
|
47156
47212
|
decl: {
|
|
47157
47213
|
start: {
|
|
47158
|
-
line:
|
|
47214
|
+
line: 56,
|
|
47159
47215
|
column: 17
|
|
47160
47216
|
},
|
|
47161
47217
|
end: {
|
|
47162
|
-
line:
|
|
47218
|
+
line: 56,
|
|
47163
47219
|
column: 18
|
|
47164
47220
|
}
|
|
47165
47221
|
},
|
|
47166
47222
|
loc: {
|
|
47167
47223
|
start: {
|
|
47168
|
-
line:
|
|
47224
|
+
line: 56,
|
|
47169
47225
|
column: 23
|
|
47170
47226
|
},
|
|
47171
47227
|
end: {
|
|
47172
|
-
line:
|
|
47228
|
+
line: 56,
|
|
47173
47229
|
column: 41
|
|
47174
47230
|
}
|
|
47175
47231
|
},
|
|
47176
|
-
line:
|
|
47232
|
+
line: 56
|
|
47177
47233
|
},
|
|
47178
47234
|
"5": {
|
|
47179
47235
|
name: "(anonymous_5)",
|
|
47180
47236
|
decl: {
|
|
47181
47237
|
start: {
|
|
47182
|
-
line:
|
|
47238
|
+
line: 80,
|
|
47183
47239
|
column: 21
|
|
47184
47240
|
},
|
|
47185
47241
|
end: {
|
|
47186
|
-
line:
|
|
47242
|
+
line: 80,
|
|
47187
47243
|
column: 22
|
|
47188
47244
|
}
|
|
47189
47245
|
},
|
|
47190
47246
|
loc: {
|
|
47191
47247
|
start: {
|
|
47192
|
-
line:
|
|
47248
|
+
line: 80,
|
|
47193
47249
|
column: 27
|
|
47194
47250
|
},
|
|
47195
47251
|
end: {
|
|
47196
|
-
line:
|
|
47252
|
+
line: 80,
|
|
47197
47253
|
column: 45
|
|
47198
47254
|
}
|
|
47199
47255
|
},
|
|
47200
|
-
line:
|
|
47256
|
+
line: 80
|
|
47201
47257
|
},
|
|
47202
47258
|
"6": {
|
|
47203
47259
|
name: "(anonymous_6)",
|
|
47204
47260
|
decl: {
|
|
47205
47261
|
start: {
|
|
47206
|
-
line:
|
|
47262
|
+
line: 85,
|
|
47207
47263
|
column: 21
|
|
47208
47264
|
},
|
|
47209
47265
|
end: {
|
|
47210
|
-
line:
|
|
47266
|
+
line: 85,
|
|
47211
47267
|
column: 22
|
|
47212
47268
|
}
|
|
47213
47269
|
},
|
|
47214
47270
|
loc: {
|
|
47215
47271
|
start: {
|
|
47216
|
-
line:
|
|
47272
|
+
line: 85,
|
|
47217
47273
|
column: 27
|
|
47218
47274
|
},
|
|
47219
47275
|
end: {
|
|
47220
|
-
line:
|
|
47276
|
+
line: 85,
|
|
47221
47277
|
column: 45
|
|
47222
47278
|
}
|
|
47223
47279
|
},
|
|
47224
|
-
line:
|
|
47280
|
+
line: 85
|
|
47225
47281
|
}
|
|
47226
47282
|
},
|
|
47227
47283
|
branchMap: {
|
|
@@ -47347,6 +47403,39 @@ function cov_17c75usisi() {
|
|
|
47347
47403
|
}
|
|
47348
47404
|
}],
|
|
47349
47405
|
line: 24
|
|
47406
|
+
},
|
|
47407
|
+
"4": {
|
|
47408
|
+
loc: {
|
|
47409
|
+
start: {
|
|
47410
|
+
line: 25,
|
|
47411
|
+
column: 23
|
|
47412
|
+
},
|
|
47413
|
+
end: {
|
|
47414
|
+
line: 25,
|
|
47415
|
+
column: 67
|
|
47416
|
+
}
|
|
47417
|
+
},
|
|
47418
|
+
type: "binary-expr",
|
|
47419
|
+
locations: [{
|
|
47420
|
+
start: {
|
|
47421
|
+
line: 25,
|
|
47422
|
+
column: 23
|
|
47423
|
+
},
|
|
47424
|
+
end: {
|
|
47425
|
+
line: 25,
|
|
47426
|
+
column: 49
|
|
47427
|
+
}
|
|
47428
|
+
}, {
|
|
47429
|
+
start: {
|
|
47430
|
+
line: 25,
|
|
47431
|
+
column: 53
|
|
47432
|
+
},
|
|
47433
|
+
end: {
|
|
47434
|
+
line: 25,
|
|
47435
|
+
column: 67
|
|
47436
|
+
}
|
|
47437
|
+
}],
|
|
47438
|
+
line: 25
|
|
47350
47439
|
}
|
|
47351
47440
|
},
|
|
47352
47441
|
s: {
|
|
@@ -47364,7 +47453,8 @@ function cov_17c75usisi() {
|
|
|
47364
47453
|
"11": 0,
|
|
47365
47454
|
"12": 0,
|
|
47366
47455
|
"13": 0,
|
|
47367
|
-
"14": 0
|
|
47456
|
+
"14": 0,
|
|
47457
|
+
"15": 0
|
|
47368
47458
|
},
|
|
47369
47459
|
f: {
|
|
47370
47460
|
"0": 0,
|
|
@@ -47379,10 +47469,11 @@ function cov_17c75usisi() {
|
|
|
47379
47469
|
"0": [0],
|
|
47380
47470
|
"1": [0, 0],
|
|
47381
47471
|
"2": [0, 0],
|
|
47382
|
-
"3": [0, 0]
|
|
47472
|
+
"3": [0, 0],
|
|
47473
|
+
"4": [0, 0]
|
|
47383
47474
|
},
|
|
47384
47475
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
47385
|
-
hash: "
|
|
47476
|
+
hash: "b3342b80e51674625b102849c8c65b665dde062c"
|
|
47386
47477
|
};
|
|
47387
47478
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
47388
47479
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -47423,7 +47514,8 @@ var NoteField = function NoteField(_ref) {
|
|
|
47423
47514
|
var isValid = (cov_17c75usisi().s[6]++, (cov_17c75usisi().b[1][0]++, errors.actions) && (cov_17c75usisi().b[1][1]++, !isNil((_errors$actions = errors.actions) === null || _errors$actions === void 0 ? void 0 : _errors$actions.value[index])));
|
|
47424
47515
|
var separator = (cov_17c75usisi().s[7]++, (cov_17c75usisi().b[2][0]++, selectedField === null || selectedField === void 0 ? void 0 : (_selectedField$separa = selectedField.separator) === null || _selectedField$separa === void 0 ? void 0 : _selectedField$separa.toLowerCase()) || (cov_17c75usisi().b[2][1]++, t("common.as")));
|
|
47425
47516
|
var variables = (cov_17c75usisi().s[8]++, (cov_17c75usisi().b[3][0]++, selectedField === null || selectedField === void 0 ? void 0 : selectedField.variables) || (cov_17c75usisi().b[3][1]++, []));
|
|
47426
|
-
cov_17c75usisi().s[9]
|
|
47517
|
+
var defaultLabel = (cov_17c75usisi().s[9]++, (cov_17c75usisi().b[4][0]++, selectedField === null || selectedField === void 0 ? void 0 : selectedField.placeholder) || (cov_17c75usisi().b[4][1]++, t("form.note")));
|
|
47518
|
+
cov_17c75usisi().s[10]++;
|
|
47427
47519
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Typography, {
|
|
47428
47520
|
className: "neeto-ui-text-gray-700",
|
|
47429
47521
|
"data-cy": "note-action-separator-text",
|
|
@@ -47439,20 +47531,20 @@ var NoteField = function NoteField(_ref) {
|
|
|
47439
47531
|
}),
|
|
47440
47532
|
onClick: function onClick() {
|
|
47441
47533
|
cov_17c75usisi().f[2]++;
|
|
47442
|
-
cov_17c75usisi().s[
|
|
47534
|
+
cov_17c75usisi().s[11]++;
|
|
47443
47535
|
return setShowPane(function (prevState) {
|
|
47444
47536
|
cov_17c75usisi().f[3]++;
|
|
47445
|
-
cov_17c75usisi().s[
|
|
47537
|
+
cov_17c75usisi().s[12]++;
|
|
47446
47538
|
return !prevState;
|
|
47447
47539
|
});
|
|
47448
47540
|
}
|
|
47449
|
-
},
|
|
47541
|
+
}, defaultLabel.toLowerCase()), /*#__PURE__*/React.createElement(Pane, {
|
|
47450
47542
|
initialFocusRef: initialFocusRef,
|
|
47451
47543
|
isOpen: showPane,
|
|
47452
47544
|
size: "large",
|
|
47453
47545
|
onClose: function onClose() {
|
|
47454
47546
|
cov_17c75usisi().f[4]++;
|
|
47455
|
-
cov_17c75usisi().s[
|
|
47547
|
+
cov_17c75usisi().s[13]++;
|
|
47456
47548
|
return setShowPane(false);
|
|
47457
47549
|
}
|
|
47458
47550
|
}, /*#__PURE__*/React.createElement(Pane.Header, null, /*#__PURE__*/React.createElement(Typography, {
|
|
@@ -47460,7 +47552,7 @@ var NoteField = function NoteField(_ref) {
|
|
|
47460
47552
|
"data-cy": "note-action-pane-header-title",
|
|
47461
47553
|
style: "h3",
|
|
47462
47554
|
weight: "semibold"
|
|
47463
|
-
},
|
|
47555
|
+
}, defaultLabel)), /*#__PURE__*/React.createElement(Pane.Body, null, /*#__PURE__*/React.createElement(EditorAction, {
|
|
47464
47556
|
initialFocusRef: initialFocusRef,
|
|
47465
47557
|
name: name,
|
|
47466
47558
|
value: value,
|
|
@@ -47472,7 +47564,7 @@ var NoteField = function NoteField(_ref) {
|
|
|
47472
47564
|
label: t("common.saveChange"),
|
|
47473
47565
|
onClick: function onClick() {
|
|
47474
47566
|
cov_17c75usisi().f[5]++;
|
|
47475
|
-
cov_17c75usisi().s[
|
|
47567
|
+
cov_17c75usisi().s[14]++;
|
|
47476
47568
|
return setShowPane(false);
|
|
47477
47569
|
}
|
|
47478
47570
|
}), /*#__PURE__*/React.createElement(Button, {
|
|
@@ -47480,7 +47572,7 @@ var NoteField = function NoteField(_ref) {
|
|
|
47480
47572
|
style: "text",
|
|
47481
47573
|
onClick: function onClick() {
|
|
47482
47574
|
cov_17c75usisi().f[6]++;
|
|
47483
|
-
cov_17c75usisi().s[
|
|
47575
|
+
cov_17c75usisi().s[15]++;
|
|
47484
47576
|
return setShowPane(false);
|
|
47485
47577
|
}
|
|
47486
47578
|
}))));
|
|
@@ -49837,7 +49929,7 @@ cov_1lt42kj0z1().s[2]++;
|
|
|
49837
49929
|
|
|
49838
49930
|
function cov_1s0frck14v() {
|
|
49839
49931
|
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Actions/index.jsx";
|
|
49840
|
-
var hash = "
|
|
49932
|
+
var hash = "2fe3e6b7a4fd5bc351b1b0f406e03f8598c63dce";
|
|
49841
49933
|
var global = new Function("return this")();
|
|
49842
49934
|
var gcv = "__coverage__";
|
|
49843
49935
|
var coverageData = {
|
|
@@ -49849,157 +49941,157 @@ function cov_1s0frck14v() {
|
|
|
49849
49941
|
column: 16
|
|
49850
49942
|
},
|
|
49851
49943
|
end: {
|
|
49852
|
-
line:
|
|
49944
|
+
line: 89,
|
|
49853
49945
|
column: 1
|
|
49854
49946
|
}
|
|
49855
49947
|
},
|
|
49856
49948
|
"1": {
|
|
49857
49949
|
start: {
|
|
49858
|
-
line:
|
|
49950
|
+
line: 21,
|
|
49859
49951
|
column: 36
|
|
49860
49952
|
},
|
|
49861
49953
|
end: {
|
|
49862
|
-
line:
|
|
49954
|
+
line: 21,
|
|
49863
49955
|
column: 54
|
|
49864
49956
|
}
|
|
49865
49957
|
},
|
|
49866
49958
|
"2": {
|
|
49867
49959
|
start: {
|
|
49868
|
-
line:
|
|
49960
|
+
line: 23,
|
|
49869
49961
|
column: 23
|
|
49870
49962
|
},
|
|
49871
49963
|
end: {
|
|
49872
|
-
line:
|
|
49964
|
+
line: 23,
|
|
49873
49965
|
column: 39
|
|
49874
49966
|
}
|
|
49875
49967
|
},
|
|
49876
49968
|
"3": {
|
|
49877
49969
|
start: {
|
|
49878
|
-
line:
|
|
49970
|
+
line: 24,
|
|
49879
49971
|
column: 18
|
|
49880
49972
|
},
|
|
49881
49973
|
end: {
|
|
49882
|
-
line:
|
|
49974
|
+
line: 24,
|
|
49883
49975
|
column: 42
|
|
49884
49976
|
}
|
|
49885
49977
|
},
|
|
49886
49978
|
"4": {
|
|
49887
49979
|
start: {
|
|
49888
|
-
line:
|
|
49980
|
+
line: 26,
|
|
49889
49981
|
column: 21
|
|
49890
49982
|
},
|
|
49891
49983
|
end: {
|
|
49892
|
-
line:
|
|
49984
|
+
line: 32,
|
|
49893
49985
|
column: 3
|
|
49894
49986
|
}
|
|
49895
49987
|
},
|
|
49896
49988
|
"5": {
|
|
49897
49989
|
start: {
|
|
49898
|
-
line:
|
|
49990
|
+
line: 28,
|
|
49899
49991
|
column: 6
|
|
49900
49992
|
},
|
|
49901
49993
|
end: {
|
|
49902
|
-
line:
|
|
49903
|
-
column:
|
|
49994
|
+
line: 30,
|
|
49995
|
+
column: 19
|
|
49904
49996
|
}
|
|
49905
49997
|
},
|
|
49906
49998
|
"6": {
|
|
49907
49999
|
start: {
|
|
49908
|
-
line:
|
|
50000
|
+
line: 34,
|
|
49909
50001
|
column: 29
|
|
49910
50002
|
},
|
|
49911
50003
|
end: {
|
|
49912
|
-
line:
|
|
50004
|
+
line: 42,
|
|
49913
50005
|
column: 3
|
|
49914
50006
|
}
|
|
49915
50007
|
},
|
|
49916
50008
|
"7": {
|
|
49917
50009
|
start: {
|
|
49918
|
-
line:
|
|
50010
|
+
line: 35,
|
|
49919
50011
|
column: 4
|
|
49920
50012
|
},
|
|
49921
50013
|
end: {
|
|
49922
|
-
line:
|
|
50014
|
+
line: 40,
|
|
49923
50015
|
column: 5
|
|
49924
50016
|
}
|
|
49925
50017
|
},
|
|
49926
50018
|
"8": {
|
|
49927
50019
|
start: {
|
|
49928
|
-
line:
|
|
50020
|
+
line: 36,
|
|
49929
50021
|
column: 6
|
|
49930
50022
|
},
|
|
49931
50023
|
end: {
|
|
49932
|
-
line:
|
|
50024
|
+
line: 39,
|
|
49933
50025
|
column: 9
|
|
49934
50026
|
}
|
|
49935
50027
|
},
|
|
49936
50028
|
"9": {
|
|
49937
50029
|
start: {
|
|
49938
|
-
line:
|
|
50030
|
+
line: 41,
|
|
49939
50031
|
column: 4
|
|
49940
50032
|
},
|
|
49941
50033
|
end: {
|
|
49942
|
-
line:
|
|
50034
|
+
line: 41,
|
|
49943
50035
|
column: 31
|
|
49944
50036
|
}
|
|
49945
50037
|
},
|
|
49946
50038
|
"10": {
|
|
49947
50039
|
start: {
|
|
49948
|
-
line:
|
|
50040
|
+
line: 44,
|
|
49949
50041
|
column: 2
|
|
49950
50042
|
},
|
|
49951
50043
|
end: {
|
|
49952
|
-
line:
|
|
50044
|
+
line: 88,
|
|
49953
50045
|
column: 4
|
|
49954
50046
|
}
|
|
49955
50047
|
},
|
|
49956
50048
|
"11": {
|
|
49957
50049
|
start: {
|
|
49958
|
-
line:
|
|
50050
|
+
line: 48,
|
|
49959
50051
|
column: 10
|
|
49960
50052
|
},
|
|
49961
50053
|
end: {
|
|
49962
|
-
line:
|
|
50054
|
+
line: 84,
|
|
49963
50055
|
column: 13
|
|
49964
50056
|
}
|
|
49965
50057
|
},
|
|
49966
50058
|
"12": {
|
|
49967
50059
|
start: {
|
|
49968
|
-
line:
|
|
50060
|
+
line: 50,
|
|
49969
50061
|
column: 14
|
|
49970
50062
|
},
|
|
49971
50063
|
end: {
|
|
49972
|
-
line:
|
|
50064
|
+
line: 82,
|
|
49973
50065
|
column: 20
|
|
49974
50066
|
}
|
|
49975
50067
|
},
|
|
49976
50068
|
"13": {
|
|
49977
50069
|
start: {
|
|
49978
|
-
line:
|
|
50070
|
+
line: 67,
|
|
49979
50071
|
column: 37
|
|
49980
50072
|
},
|
|
49981
50073
|
end: {
|
|
49982
|
-
line:
|
|
50074
|
+
line: 67,
|
|
49983
50075
|
column: 75
|
|
49984
50076
|
}
|
|
49985
50077
|
},
|
|
49986
50078
|
"14": {
|
|
49987
50079
|
start: {
|
|
49988
|
-
line:
|
|
50080
|
+
line: 77,
|
|
49989
50081
|
column: 24
|
|
49990
50082
|
},
|
|
49991
50083
|
end: {
|
|
49992
|
-
line:
|
|
50084
|
+
line: 77,
|
|
49993
50085
|
column: 71
|
|
49994
50086
|
}
|
|
49995
50087
|
},
|
|
49996
50088
|
"15": {
|
|
49997
50089
|
start: {
|
|
49998
|
-
line:
|
|
50090
|
+
line: 91,
|
|
49999
50091
|
column: 0
|
|
50000
50092
|
},
|
|
50001
50093
|
end: {
|
|
50002
|
-
line:
|
|
50094
|
+
line: 97,
|
|
50003
50095
|
column: 2
|
|
50004
50096
|
}
|
|
50005
50097
|
}
|
|
@@ -50019,280 +50111,313 @@ function cov_1s0frck14v() {
|
|
|
50019
50111
|
},
|
|
50020
50112
|
loc: {
|
|
50021
50113
|
start: {
|
|
50022
|
-
line:
|
|
50114
|
+
line: 20,
|
|
50023
50115
|
column: 6
|
|
50024
50116
|
},
|
|
50025
50117
|
end: {
|
|
50026
|
-
line:
|
|
50118
|
+
line: 89,
|
|
50027
50119
|
column: 1
|
|
50028
50120
|
}
|
|
50029
50121
|
},
|
|
50030
|
-
line:
|
|
50122
|
+
line: 20
|
|
50031
50123
|
},
|
|
50032
50124
|
"1": {
|
|
50033
50125
|
name: "(anonymous_1)",
|
|
50034
50126
|
decl: {
|
|
50035
50127
|
start: {
|
|
50036
|
-
line:
|
|
50128
|
+
line: 27,
|
|
50037
50129
|
column: 4
|
|
50038
50130
|
},
|
|
50039
50131
|
end: {
|
|
50040
|
-
line:
|
|
50132
|
+
line: 27,
|
|
50041
50133
|
column: 5
|
|
50042
50134
|
}
|
|
50043
50135
|
},
|
|
50044
50136
|
loc: {
|
|
50045
50137
|
start: {
|
|
50046
|
-
line:
|
|
50138
|
+
line: 28,
|
|
50047
50139
|
column: 6
|
|
50048
50140
|
},
|
|
50049
50141
|
end: {
|
|
50050
|
-
line:
|
|
50051
|
-
column:
|
|
50142
|
+
line: 30,
|
|
50143
|
+
column: 19
|
|
50052
50144
|
}
|
|
50053
50145
|
},
|
|
50054
|
-
line:
|
|
50146
|
+
line: 28
|
|
50055
50147
|
},
|
|
50056
50148
|
"2": {
|
|
50057
50149
|
name: "(anonymous_2)",
|
|
50058
50150
|
decl: {
|
|
50059
50151
|
start: {
|
|
50060
|
-
line:
|
|
50152
|
+
line: 34,
|
|
50061
50153
|
column: 29
|
|
50062
50154
|
},
|
|
50063
50155
|
end: {
|
|
50064
|
-
line:
|
|
50156
|
+
line: 34,
|
|
50065
50157
|
column: 30
|
|
50066
50158
|
}
|
|
50067
50159
|
},
|
|
50068
50160
|
loc: {
|
|
50069
50161
|
start: {
|
|
50070
|
-
line:
|
|
50162
|
+
line: 34,
|
|
50071
50163
|
column: 62
|
|
50072
50164
|
},
|
|
50073
50165
|
end: {
|
|
50074
|
-
line:
|
|
50166
|
+
line: 42,
|
|
50075
50167
|
column: 3
|
|
50076
50168
|
}
|
|
50077
50169
|
},
|
|
50078
|
-
line:
|
|
50170
|
+
line: 34
|
|
50079
50171
|
},
|
|
50080
50172
|
"3": {
|
|
50081
50173
|
name: "(anonymous_3)",
|
|
50082
50174
|
decl: {
|
|
50083
50175
|
start: {
|
|
50084
|
-
line:
|
|
50176
|
+
line: 47,
|
|
50085
50177
|
column: 9
|
|
50086
50178
|
},
|
|
50087
50179
|
end: {
|
|
50088
|
-
line:
|
|
50180
|
+
line: 47,
|
|
50089
50181
|
column: 10
|
|
50090
50182
|
}
|
|
50091
50183
|
},
|
|
50092
50184
|
loc: {
|
|
50093
50185
|
start: {
|
|
50094
|
-
line:
|
|
50186
|
+
line: 48,
|
|
50095
50187
|
column: 10
|
|
50096
50188
|
},
|
|
50097
50189
|
end: {
|
|
50098
|
-
line:
|
|
50190
|
+
line: 84,
|
|
50099
50191
|
column: 13
|
|
50100
50192
|
}
|
|
50101
50193
|
},
|
|
50102
|
-
line:
|
|
50194
|
+
line: 48
|
|
50103
50195
|
},
|
|
50104
50196
|
"4": {
|
|
50105
50197
|
name: "(anonymous_4)",
|
|
50106
50198
|
decl: {
|
|
50107
50199
|
start: {
|
|
50108
|
-
line:
|
|
50200
|
+
line: 49,
|
|
50109
50201
|
column: 25
|
|
50110
50202
|
},
|
|
50111
50203
|
end: {
|
|
50112
|
-
line:
|
|
50204
|
+
line: 49,
|
|
50113
50205
|
column: 26
|
|
50114
50206
|
}
|
|
50115
50207
|
},
|
|
50116
50208
|
loc: {
|
|
50117
50209
|
start: {
|
|
50118
|
-
line:
|
|
50210
|
+
line: 50,
|
|
50119
50211
|
column: 14
|
|
50120
50212
|
},
|
|
50121
50213
|
end: {
|
|
50122
|
-
line:
|
|
50214
|
+
line: 82,
|
|
50123
50215
|
column: 20
|
|
50124
50216
|
}
|
|
50125
50217
|
},
|
|
50126
|
-
line:
|
|
50218
|
+
line: 50
|
|
50127
50219
|
},
|
|
50128
50220
|
"5": {
|
|
50129
50221
|
name: "(anonymous_5)",
|
|
50130
50222
|
decl: {
|
|
50131
50223
|
start: {
|
|
50132
|
-
line:
|
|
50224
|
+
line: 67,
|
|
50133
50225
|
column: 31
|
|
50134
50226
|
},
|
|
50135
50227
|
end: {
|
|
50136
|
-
line:
|
|
50228
|
+
line: 67,
|
|
50137
50229
|
column: 32
|
|
50138
50230
|
}
|
|
50139
50231
|
},
|
|
50140
50232
|
loc: {
|
|
50141
50233
|
start: {
|
|
50142
|
-
line:
|
|
50234
|
+
line: 67,
|
|
50143
50235
|
column: 37
|
|
50144
50236
|
},
|
|
50145
50237
|
end: {
|
|
50146
|
-
line:
|
|
50238
|
+
line: 67,
|
|
50147
50239
|
column: 75
|
|
50148
50240
|
}
|
|
50149
50241
|
},
|
|
50150
|
-
line:
|
|
50242
|
+
line: 67
|
|
50151
50243
|
},
|
|
50152
50244
|
"6": {
|
|
50153
50245
|
name: "(anonymous_6)",
|
|
50154
50246
|
decl: {
|
|
50155
50247
|
start: {
|
|
50156
|
-
line:
|
|
50248
|
+
line: 76,
|
|
50157
50249
|
column: 31
|
|
50158
50250
|
},
|
|
50159
50251
|
end: {
|
|
50160
|
-
line:
|
|
50252
|
+
line: 76,
|
|
50161
50253
|
column: 32
|
|
50162
50254
|
}
|
|
50163
50255
|
},
|
|
50164
50256
|
loc: {
|
|
50165
50257
|
start: {
|
|
50166
|
-
line:
|
|
50258
|
+
line: 77,
|
|
50167
50259
|
column: 24
|
|
50168
50260
|
},
|
|
50169
50261
|
end: {
|
|
50170
|
-
line:
|
|
50262
|
+
line: 77,
|
|
50171
50263
|
column: 71
|
|
50172
50264
|
}
|
|
50173
50265
|
},
|
|
50174
|
-
line:
|
|
50266
|
+
line: 77
|
|
50175
50267
|
}
|
|
50176
50268
|
},
|
|
50177
50269
|
branchMap: {
|
|
50178
50270
|
"0": {
|
|
50179
50271
|
loc: {
|
|
50180
50272
|
start: {
|
|
50181
|
-
line:
|
|
50273
|
+
line: 19,
|
|
50274
|
+
column: 2
|
|
50275
|
+
},
|
|
50276
|
+
end: {
|
|
50277
|
+
line: 19,
|
|
50278
|
+
column: 22
|
|
50279
|
+
}
|
|
50280
|
+
},
|
|
50281
|
+
type: "default-arg",
|
|
50282
|
+
locations: [{
|
|
50283
|
+
start: {
|
|
50284
|
+
line: 19,
|
|
50285
|
+
column: 18
|
|
50286
|
+
},
|
|
50287
|
+
end: {
|
|
50288
|
+
line: 19,
|
|
50289
|
+
column: 22
|
|
50290
|
+
}
|
|
50291
|
+
}],
|
|
50292
|
+
line: 19
|
|
50293
|
+
},
|
|
50294
|
+
"1": {
|
|
50295
|
+
loc: {
|
|
50296
|
+
start: {
|
|
50297
|
+
line: 23,
|
|
50182
50298
|
column: 23
|
|
50183
50299
|
},
|
|
50184
50300
|
end: {
|
|
50185
|
-
line:
|
|
50301
|
+
line: 23,
|
|
50186
50302
|
column: 39
|
|
50187
50303
|
}
|
|
50188
50304
|
},
|
|
50189
50305
|
type: "binary-expr",
|
|
50190
50306
|
locations: [{
|
|
50191
50307
|
start: {
|
|
50192
|
-
line:
|
|
50308
|
+
line: 23,
|
|
50193
50309
|
column: 23
|
|
50194
50310
|
},
|
|
50195
50311
|
end: {
|
|
50196
|
-
line:
|
|
50312
|
+
line: 23,
|
|
50197
50313
|
column: 33
|
|
50198
50314
|
}
|
|
50199
50315
|
}, {
|
|
50200
50316
|
start: {
|
|
50201
|
-
line:
|
|
50317
|
+
line: 23,
|
|
50202
50318
|
column: 37
|
|
50203
50319
|
},
|
|
50204
50320
|
end: {
|
|
50205
|
-
line:
|
|
50321
|
+
line: 23,
|
|
50206
50322
|
column: 39
|
|
50207
50323
|
}
|
|
50208
50324
|
}],
|
|
50209
|
-
line:
|
|
50325
|
+
line: 23
|
|
50210
50326
|
},
|
|
50211
|
-
"
|
|
50327
|
+
"2": {
|
|
50212
50328
|
loc: {
|
|
50213
50329
|
start: {
|
|
50214
|
-
line:
|
|
50330
|
+
line: 24,
|
|
50215
50331
|
column: 18
|
|
50216
50332
|
},
|
|
50217
50333
|
end: {
|
|
50218
|
-
line:
|
|
50334
|
+
line: 24,
|
|
50219
50335
|
column: 42
|
|
50220
50336
|
}
|
|
50221
50337
|
},
|
|
50222
50338
|
type: "binary-expr",
|
|
50223
50339
|
locations: [{
|
|
50224
50340
|
start: {
|
|
50225
|
-
line:
|
|
50341
|
+
line: 24,
|
|
50226
50342
|
column: 18
|
|
50227
50343
|
},
|
|
50228
50344
|
end: {
|
|
50229
|
-
line:
|
|
50345
|
+
line: 24,
|
|
50230
50346
|
column: 36
|
|
50231
50347
|
}
|
|
50232
50348
|
}, {
|
|
50233
50349
|
start: {
|
|
50234
|
-
line:
|
|
50350
|
+
line: 24,
|
|
50235
50351
|
column: 40
|
|
50236
50352
|
},
|
|
50237
50353
|
end: {
|
|
50238
|
-
line:
|
|
50354
|
+
line: 24,
|
|
50239
50355
|
column: 42
|
|
50240
50356
|
}
|
|
50241
50357
|
}],
|
|
50242
|
-
line:
|
|
50358
|
+
line: 24
|
|
50243
50359
|
},
|
|
50244
|
-
"
|
|
50360
|
+
"3": {
|
|
50245
50361
|
loc: {
|
|
50246
50362
|
start: {
|
|
50247
|
-
line:
|
|
50363
|
+
line: 28,
|
|
50248
50364
|
column: 6
|
|
50249
50365
|
},
|
|
50250
50366
|
end: {
|
|
50251
|
-
line:
|
|
50252
|
-
column:
|
|
50367
|
+
line: 30,
|
|
50368
|
+
column: 19
|
|
50253
50369
|
}
|
|
50254
50370
|
},
|
|
50255
50371
|
type: "binary-expr",
|
|
50256
50372
|
locations: [{
|
|
50257
50373
|
start: {
|
|
50258
|
-
line:
|
|
50374
|
+
line: 28,
|
|
50259
50375
|
column: 6
|
|
50260
50376
|
},
|
|
50261
50377
|
end: {
|
|
50262
|
-
line:
|
|
50263
|
-
column:
|
|
50378
|
+
line: 28,
|
|
50379
|
+
column: 42
|
|
50264
50380
|
}
|
|
50265
50381
|
}, {
|
|
50266
50382
|
start: {
|
|
50267
|
-
line:
|
|
50383
|
+
line: 29,
|
|
50268
50384
|
column: 6
|
|
50269
50385
|
},
|
|
50270
50386
|
end: {
|
|
50271
|
-
line:
|
|
50387
|
+
line: 29,
|
|
50272
50388
|
column: 58
|
|
50273
50389
|
}
|
|
50390
|
+
}, {
|
|
50391
|
+
start: {
|
|
50392
|
+
line: 30,
|
|
50393
|
+
column: 6
|
|
50394
|
+
},
|
|
50395
|
+
end: {
|
|
50396
|
+
line: 30,
|
|
50397
|
+
column: 19
|
|
50398
|
+
}
|
|
50274
50399
|
}],
|
|
50275
|
-
line:
|
|
50400
|
+
line: 28
|
|
50276
50401
|
},
|
|
50277
|
-
"
|
|
50402
|
+
"4": {
|
|
50278
50403
|
loc: {
|
|
50279
50404
|
start: {
|
|
50280
|
-
line:
|
|
50405
|
+
line: 35,
|
|
50281
50406
|
column: 4
|
|
50282
50407
|
},
|
|
50283
50408
|
end: {
|
|
50284
|
-
line:
|
|
50409
|
+
line: 40,
|
|
50285
50410
|
column: 5
|
|
50286
50411
|
}
|
|
50287
50412
|
},
|
|
50288
50413
|
type: "if",
|
|
50289
50414
|
locations: [{
|
|
50290
50415
|
start: {
|
|
50291
|
-
line:
|
|
50416
|
+
line: 35,
|
|
50292
50417
|
column: 4
|
|
50293
50418
|
},
|
|
50294
50419
|
end: {
|
|
50295
|
-
line:
|
|
50420
|
+
line: 40,
|
|
50296
50421
|
column: 5
|
|
50297
50422
|
}
|
|
50298
50423
|
}, {
|
|
@@ -50305,148 +50430,148 @@ function cov_1s0frck14v() {
|
|
|
50305
50430
|
column: undefined
|
|
50306
50431
|
}
|
|
50307
50432
|
}],
|
|
50308
|
-
line:
|
|
50433
|
+
line: 35
|
|
50309
50434
|
},
|
|
50310
|
-
"
|
|
50435
|
+
"5": {
|
|
50311
50436
|
loc: {
|
|
50312
50437
|
start: {
|
|
50313
|
-
line:
|
|
50438
|
+
line: 37,
|
|
50314
50439
|
column: 12
|
|
50315
50440
|
},
|
|
50316
50441
|
end: {
|
|
50317
|
-
line:
|
|
50442
|
+
line: 37,
|
|
50318
50443
|
column: 38
|
|
50319
50444
|
}
|
|
50320
50445
|
},
|
|
50321
50446
|
type: "binary-expr",
|
|
50322
50447
|
locations: [{
|
|
50323
50448
|
start: {
|
|
50324
|
-
line:
|
|
50449
|
+
line: 37,
|
|
50325
50450
|
column: 12
|
|
50326
50451
|
},
|
|
50327
50452
|
end: {
|
|
50328
|
-
line:
|
|
50453
|
+
line: 37,
|
|
50329
50454
|
column: 32
|
|
50330
50455
|
}
|
|
50331
50456
|
}, {
|
|
50332
50457
|
start: {
|
|
50333
|
-
line:
|
|
50458
|
+
line: 37,
|
|
50334
50459
|
column: 36
|
|
50335
50460
|
},
|
|
50336
50461
|
end: {
|
|
50337
|
-
line:
|
|
50462
|
+
line: 37,
|
|
50338
50463
|
column: 38
|
|
50339
50464
|
}
|
|
50340
50465
|
}],
|
|
50341
|
-
line:
|
|
50466
|
+
line: 37
|
|
50342
50467
|
},
|
|
50343
|
-
"
|
|
50468
|
+
"6": {
|
|
50344
50469
|
loc: {
|
|
50345
50470
|
start: {
|
|
50346
|
-
line:
|
|
50471
|
+
line: 45,
|
|
50347
50472
|
column: 17
|
|
50348
50473
|
},
|
|
50349
50474
|
end: {
|
|
50350
|
-
line:
|
|
50475
|
+
line: 45,
|
|
50351
50476
|
column: 45
|
|
50352
50477
|
}
|
|
50353
50478
|
},
|
|
50354
50479
|
type: "binary-expr",
|
|
50355
50480
|
locations: [{
|
|
50356
50481
|
start: {
|
|
50357
|
-
line:
|
|
50482
|
+
line: 45,
|
|
50358
50483
|
column: 17
|
|
50359
50484
|
},
|
|
50360
50485
|
end: {
|
|
50361
|
-
line:
|
|
50486
|
+
line: 45,
|
|
50362
50487
|
column: 22
|
|
50363
50488
|
}
|
|
50364
50489
|
}, {
|
|
50365
50490
|
start: {
|
|
50366
|
-
line:
|
|
50491
|
+
line: 45,
|
|
50367
50492
|
column: 26
|
|
50368
50493
|
},
|
|
50369
50494
|
end: {
|
|
50370
|
-
line:
|
|
50495
|
+
line: 45,
|
|
50371
50496
|
column: 45
|
|
50372
50497
|
}
|
|
50373
50498
|
}],
|
|
50374
|
-
line:
|
|
50499
|
+
line: 45
|
|
50375
50500
|
},
|
|
50376
|
-
"
|
|
50501
|
+
"7": {
|
|
50377
50502
|
loc: {
|
|
50378
50503
|
start: {
|
|
50379
|
-
line:
|
|
50504
|
+
line: 61,
|
|
50380
50505
|
column: 19
|
|
50381
50506
|
},
|
|
50382
50507
|
end: {
|
|
50383
|
-
line:
|
|
50508
|
+
line: 69,
|
|
50384
50509
|
column: 19
|
|
50385
50510
|
}
|
|
50386
50511
|
},
|
|
50387
50512
|
type: "binary-expr",
|
|
50388
50513
|
locations: [{
|
|
50389
50514
|
start: {
|
|
50390
|
-
line:
|
|
50515
|
+
line: 61,
|
|
50391
50516
|
column: 19
|
|
50392
50517
|
},
|
|
50393
50518
|
end: {
|
|
50394
|
-
line:
|
|
50519
|
+
line: 61,
|
|
50395
50520
|
column: 29
|
|
50396
50521
|
}
|
|
50397
50522
|
}, {
|
|
50398
50523
|
start: {
|
|
50399
|
-
line:
|
|
50524
|
+
line: 61,
|
|
50400
50525
|
column: 33
|
|
50401
50526
|
},
|
|
50402
50527
|
end: {
|
|
50403
|
-
line:
|
|
50528
|
+
line: 61,
|
|
50404
50529
|
column: 61
|
|
50405
50530
|
}
|
|
50406
50531
|
}, {
|
|
50407
50532
|
start: {
|
|
50408
|
-
line:
|
|
50533
|
+
line: 62,
|
|
50409
50534
|
column: 20
|
|
50410
50535
|
},
|
|
50411
50536
|
end: {
|
|
50412
|
-
line:
|
|
50537
|
+
line: 68,
|
|
50413
50538
|
column: 22
|
|
50414
50539
|
}
|
|
50415
50540
|
}],
|
|
50416
|
-
line:
|
|
50541
|
+
line: 61
|
|
50417
50542
|
},
|
|
50418
|
-
"
|
|
50543
|
+
"8": {
|
|
50419
50544
|
loc: {
|
|
50420
50545
|
start: {
|
|
50421
|
-
line:
|
|
50546
|
+
line: 70,
|
|
50422
50547
|
column: 19
|
|
50423
50548
|
},
|
|
50424
50549
|
end: {
|
|
50425
|
-
line:
|
|
50550
|
+
line: 80,
|
|
50426
50551
|
column: 19
|
|
50427
50552
|
}
|
|
50428
50553
|
},
|
|
50429
50554
|
type: "binary-expr",
|
|
50430
50555
|
locations: [{
|
|
50431
50556
|
start: {
|
|
50432
|
-
line:
|
|
50557
|
+
line: 70,
|
|
50433
50558
|
column: 19
|
|
50434
50559
|
},
|
|
50435
50560
|
end: {
|
|
50436
|
-
line:
|
|
50561
|
+
line: 70,
|
|
50437
50562
|
column: 37
|
|
50438
50563
|
}
|
|
50439
50564
|
}, {
|
|
50440
50565
|
start: {
|
|
50441
|
-
line:
|
|
50566
|
+
line: 71,
|
|
50442
50567
|
column: 20
|
|
50443
50568
|
},
|
|
50444
50569
|
end: {
|
|
50445
|
-
line:
|
|
50570
|
+
line: 79,
|
|
50446
50571
|
column: 22
|
|
50447
50572
|
}
|
|
50448
50573
|
}],
|
|
50449
|
-
line:
|
|
50574
|
+
line: 70
|
|
50450
50575
|
}
|
|
50451
50576
|
},
|
|
50452
50577
|
s: {
|
|
@@ -50477,17 +50602,18 @@ function cov_1s0frck14v() {
|
|
|
50477
50602
|
"6": 0
|
|
50478
50603
|
},
|
|
50479
50604
|
b: {
|
|
50480
|
-
"0": [0
|
|
50605
|
+
"0": [0],
|
|
50481
50606
|
"1": [0, 0],
|
|
50482
50607
|
"2": [0, 0],
|
|
50483
|
-
"3": [0, 0],
|
|
50608
|
+
"3": [0, 0, 0],
|
|
50484
50609
|
"4": [0, 0],
|
|
50485
50610
|
"5": [0, 0],
|
|
50486
|
-
"6": [0, 0
|
|
50487
|
-
"7": [0, 0]
|
|
50611
|
+
"6": [0, 0],
|
|
50612
|
+
"7": [0, 0, 0],
|
|
50613
|
+
"8": [0, 0]
|
|
50488
50614
|
},
|
|
50489
50615
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
50490
|
-
hash: "
|
|
50616
|
+
hash: "2fe3e6b7a4fd5bc351b1b0f406e03f8598c63dce"
|
|
50491
50617
|
};
|
|
50492
50618
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
50493
50619
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -50511,37 +50637,40 @@ var Actions = function Actions(_ref) {
|
|
|
50511
50637
|
label = _ref.label,
|
|
50512
50638
|
data = _ref.data,
|
|
50513
50639
|
onSelectAction = _ref.onSelectAction,
|
|
50514
|
-
selectedActionOptions = _ref.selectedActionOptions
|
|
50640
|
+
selectedActionOptions = _ref.selectedActionOptions,
|
|
50641
|
+
_ref$showAddButton = _ref.showAddButton,
|
|
50642
|
+
showAddButton = _ref$showAddButton === void 0 ? (cov_1s0frck14v().b[0][0]++, true) : _ref$showAddButton;
|
|
50515
50643
|
cov_1s0frck14v().f[0]++;
|
|
50516
50644
|
var _ref2 = (cov_1s0frck14v().s[1]++, useFormikContext()),
|
|
50517
50645
|
values = _ref2.values,
|
|
50518
50646
|
setFieldValue = _ref2.setFieldValue;
|
|
50519
|
-
var elementProps = (cov_1s0frck14v().s[2]++, (cov_1s0frck14v().b[
|
|
50520
|
-
var actions = (cov_1s0frck14v().s[3]++, (cov_1s0frck14v().b[
|
|
50647
|
+
var elementProps = (cov_1s0frck14v().s[2]++, (cov_1s0frck14v().b[1][0]++, data[name]) || (cov_1s0frck14v().b[1][1]++, {}));
|
|
50648
|
+
var actions = (cov_1s0frck14v().s[3]++, (cov_1s0frck14v().b[2][0]++, values[name].value) || (cov_1s0frck14v().b[2][1]++, []));
|
|
50521
50649
|
var showButton = (cov_1s0frck14v().s[4]++, useMemo(function () {
|
|
50650
|
+
var _actions;
|
|
50522
50651
|
cov_1s0frck14v().f[1]++;
|
|
50523
50652
|
cov_1s0frck14v().s[5]++;
|
|
50524
|
-
return (cov_1s0frck14v().b[
|
|
50653
|
+
return (cov_1s0frck14v().b[3][0]++, !!((_actions = actions[(actions === null || actions === void 0 ? void 0 : actions.length) - 1]) !== null && _actions !== void 0 && _actions.name)) && (cov_1s0frck14v().b[3][1]++, elementProps.actionOptions.length !== actions.length) && (cov_1s0frck14v().b[3][2]++, showAddButton);
|
|
50525
50654
|
}, [actions]));
|
|
50526
50655
|
cov_1s0frck14v().s[6]++;
|
|
50527
50656
|
var handleRemoveAction = function handleRemoveAction(index, action, arrayHelpers) {
|
|
50528
50657
|
cov_1s0frck14v().f[2]++;
|
|
50529
50658
|
cov_1s0frck14v().s[7]++;
|
|
50530
50659
|
if (action.id) {
|
|
50531
|
-
cov_1s0frck14v().b[
|
|
50660
|
+
cov_1s0frck14v().b[4][0]++;
|
|
50532
50661
|
cov_1s0frck14v().s[8]++;
|
|
50533
|
-
setFieldValue("".concat(name, ".deleted"), [].concat(_toConsumableArray((cov_1s0frck14v().b[
|
|
50662
|
+
setFieldValue("".concat(name, ".deleted"), [].concat(_toConsumableArray((cov_1s0frck14v().b[5][0]++, values[name].deleted) || (cov_1s0frck14v().b[5][1]++, [])), [_objectSpread$3(_objectSpread$3({}, action), {}, {
|
|
50534
50663
|
_destroy: true
|
|
50535
50664
|
})]));
|
|
50536
50665
|
} else {
|
|
50537
|
-
cov_1s0frck14v().b[
|
|
50666
|
+
cov_1s0frck14v().b[4][1]++;
|
|
50538
50667
|
}
|
|
50539
50668
|
cov_1s0frck14v().s[9]++;
|
|
50540
50669
|
arrayHelpers.remove(index);
|
|
50541
50670
|
};
|
|
50542
50671
|
cov_1s0frck14v().s[10]++;
|
|
50543
50672
|
return /*#__PURE__*/React.createElement(Card, {
|
|
50544
|
-
title: (cov_1s0frck14v().b[
|
|
50673
|
+
title: (cov_1s0frck14v().b[6][0]++, label) || (cov_1s0frck14v().b[6][1]++, elementProps === null || elementProps === void 0 ? void 0 : elementProps.label)
|
|
50545
50674
|
}, /*#__PURE__*/React.createElement(FieldArray, {
|
|
50546
50675
|
name: "".concat(name, ".value")
|
|
50547
50676
|
}, function (arrayHelpers) {
|
|
@@ -50563,7 +50692,7 @@ var Actions = function Actions(_ref) {
|
|
|
50563
50692
|
onSelectAction: onSelectAction
|
|
50564
50693
|
}), /*#__PURE__*/React.createElement("div", {
|
|
50565
50694
|
className: "-mx-1 flex flex-wrap"
|
|
50566
|
-
}, (cov_1s0frck14v().b[
|
|
50695
|
+
}, (cov_1s0frck14v().b[7][0]++, showButton) && (cov_1s0frck14v().b[7][1]++, index === actions.length - 1) && (cov_1s0frck14v().b[7][2]++, /*#__PURE__*/React.createElement(Button, {
|
|
50567
50696
|
"data-cy": "add-action-button",
|
|
50568
50697
|
icon: Plus,
|
|
50569
50698
|
size: 24,
|
|
@@ -50573,7 +50702,7 @@ var Actions = function Actions(_ref) {
|
|
|
50573
50702
|
cov_1s0frck14v().s[13]++;
|
|
50574
50703
|
return arrayHelpers.push(DEFAULT_RULE_ACTION);
|
|
50575
50704
|
}
|
|
50576
|
-
})), (cov_1s0frck14v().b[
|
|
50705
|
+
})), (cov_1s0frck14v().b[8][0]++, actions.length > 1) && (cov_1s0frck14v().b[8][1]++, /*#__PURE__*/React.createElement(Button, {
|
|
50577
50706
|
"data-cy": "delete-action-button",
|
|
50578
50707
|
icon: Delete,
|
|
50579
50708
|
size: 24,
|