@bigbinary/neeto-rules-frontend 0.0.102 → 0.1.0
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 +320 -186
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +321 -187
- package/dist/index.js.map +1 -1
- package/package.json +12 -1
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import React, { Component, useContext, useState, useRef, useEffect, useMemo, mem
|
|
|
4
4
|
import { useFormikContext, FieldArray, Formik, Form, useField, ErrorMessage } from 'formik';
|
|
5
5
|
import Scrollable from 'neetomolecules/Scrollable';
|
|
6
6
|
import { MultiEmailInput, Input as Input$2, Textarea, ActionBlock, Select as Select$1, Radio } from '@bigbinary/neetoui/formik';
|
|
7
|
-
import { Search, Check, Plus, Delete, Eye, Close } from '@bigbinary/neeto-icons';
|
|
7
|
+
import { Search, Check, Plus, Delete, Eye, Close, Refresh } 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';
|
|
10
10
|
import { findBy, toLabelAndValue, isNotEmpty, noop as noop$2, removeBy } from '@bigbinary/neeto-commons-frontend/pure';
|
|
@@ -6036,7 +6036,8 @@ var tasksList = {
|
|
|
6036
6036
|
var emailTo = "Email to";
|
|
6037
6037
|
var slack = {
|
|
6038
6038
|
messageTo: "Message to Slack",
|
|
6039
|
-
selectChannel: "Select a
|
|
6039
|
+
selectChannel: "Select a channel",
|
|
6040
|
+
refreshChannelList: "Refresh Slack channel list"
|
|
6040
6041
|
};
|
|
6041
6042
|
var shortcuts = {
|
|
6042
6043
|
submit: "Submit field",
|
|
@@ -51563,7 +51564,7 @@ cov_1lt42kj0z1().s[2]++;
|
|
|
51563
51564
|
|
|
51564
51565
|
function cov_1s0frck14v() {
|
|
51565
51566
|
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Actions/index.jsx";
|
|
51566
|
-
var hash = "
|
|
51567
|
+
var hash = "7b05e9bdf4d69496458661e2fc2cf570834b7d4c";
|
|
51567
51568
|
var global = new Function("return this")();
|
|
51568
51569
|
var gcv = "__coverage__";
|
|
51569
51570
|
var coverageData = {
|
|
@@ -51571,161 +51572,181 @@ function cov_1s0frck14v() {
|
|
|
51571
51572
|
statementMap: {
|
|
51572
51573
|
"0": {
|
|
51573
51574
|
start: {
|
|
51574
|
-
line:
|
|
51575
|
+
line: 15,
|
|
51575
51576
|
column: 16
|
|
51576
51577
|
},
|
|
51577
51578
|
end: {
|
|
51578
|
-
line:
|
|
51579
|
+
line: 107,
|
|
51579
51580
|
column: 1
|
|
51580
51581
|
}
|
|
51581
51582
|
},
|
|
51582
51583
|
"1": {
|
|
51583
51584
|
start: {
|
|
51584
|
-
line:
|
|
51585
|
+
line: 24,
|
|
51585
51586
|
column: 36
|
|
51586
51587
|
},
|
|
51587
51588
|
end: {
|
|
51588
|
-
line:
|
|
51589
|
+
line: 24,
|
|
51589
51590
|
column: 54
|
|
51590
51591
|
}
|
|
51591
51592
|
},
|
|
51592
51593
|
"2": {
|
|
51593
51594
|
start: {
|
|
51594
|
-
line:
|
|
51595
|
+
line: 25,
|
|
51596
|
+
column: 16
|
|
51597
|
+
},
|
|
51598
|
+
end: {
|
|
51599
|
+
line: 25,
|
|
51600
|
+
column: 32
|
|
51601
|
+
}
|
|
51602
|
+
},
|
|
51603
|
+
"3": {
|
|
51604
|
+
start: {
|
|
51605
|
+
line: 27,
|
|
51595
51606
|
column: 23
|
|
51596
51607
|
},
|
|
51597
51608
|
end: {
|
|
51598
|
-
line:
|
|
51609
|
+
line: 27,
|
|
51599
51610
|
column: 39
|
|
51600
51611
|
}
|
|
51601
51612
|
},
|
|
51602
|
-
"
|
|
51613
|
+
"4": {
|
|
51603
51614
|
start: {
|
|
51604
|
-
line:
|
|
51615
|
+
line: 28,
|
|
51605
51616
|
column: 18
|
|
51606
51617
|
},
|
|
51607
51618
|
end: {
|
|
51608
|
-
line:
|
|
51619
|
+
line: 28,
|
|
51609
51620
|
column: 42
|
|
51610
51621
|
}
|
|
51611
51622
|
},
|
|
51612
|
-
"
|
|
51623
|
+
"5": {
|
|
51613
51624
|
start: {
|
|
51614
|
-
line:
|
|
51625
|
+
line: 30,
|
|
51615
51626
|
column: 21
|
|
51616
51627
|
},
|
|
51617
51628
|
end: {
|
|
51618
|
-
line:
|
|
51629
|
+
line: 36,
|
|
51619
51630
|
column: 3
|
|
51620
51631
|
}
|
|
51621
51632
|
},
|
|
51622
|
-
"
|
|
51633
|
+
"6": {
|
|
51623
51634
|
start: {
|
|
51624
|
-
line:
|
|
51635
|
+
line: 32,
|
|
51625
51636
|
column: 6
|
|
51626
51637
|
},
|
|
51627
51638
|
end: {
|
|
51628
|
-
line:
|
|
51639
|
+
line: 34,
|
|
51629
51640
|
column: 19
|
|
51630
51641
|
}
|
|
51631
51642
|
},
|
|
51632
|
-
"
|
|
51643
|
+
"7": {
|
|
51633
51644
|
start: {
|
|
51634
|
-
line:
|
|
51645
|
+
line: 38,
|
|
51635
51646
|
column: 29
|
|
51636
51647
|
},
|
|
51637
51648
|
end: {
|
|
51638
|
-
line:
|
|
51649
|
+
line: 46,
|
|
51639
51650
|
column: 3
|
|
51640
51651
|
}
|
|
51641
51652
|
},
|
|
51642
|
-
"
|
|
51653
|
+
"8": {
|
|
51643
51654
|
start: {
|
|
51644
|
-
line:
|
|
51655
|
+
line: 39,
|
|
51645
51656
|
column: 4
|
|
51646
51657
|
},
|
|
51647
51658
|
end: {
|
|
51648
|
-
line:
|
|
51659
|
+
line: 44,
|
|
51649
51660
|
column: 5
|
|
51650
51661
|
}
|
|
51651
51662
|
},
|
|
51652
|
-
"
|
|
51663
|
+
"9": {
|
|
51653
51664
|
start: {
|
|
51654
|
-
line:
|
|
51665
|
+
line: 40,
|
|
51655
51666
|
column: 6
|
|
51656
51667
|
},
|
|
51657
51668
|
end: {
|
|
51658
|
-
line:
|
|
51669
|
+
line: 43,
|
|
51659
51670
|
column: 9
|
|
51660
51671
|
}
|
|
51661
51672
|
},
|
|
51662
|
-
"
|
|
51673
|
+
"10": {
|
|
51663
51674
|
start: {
|
|
51664
|
-
line:
|
|
51675
|
+
line: 45,
|
|
51665
51676
|
column: 4
|
|
51666
51677
|
},
|
|
51667
51678
|
end: {
|
|
51668
|
-
line:
|
|
51679
|
+
line: 45,
|
|
51669
51680
|
column: 31
|
|
51670
51681
|
}
|
|
51671
51682
|
},
|
|
51672
|
-
"
|
|
51683
|
+
"11": {
|
|
51673
51684
|
start: {
|
|
51674
|
-
line:
|
|
51685
|
+
line: 48,
|
|
51675
51686
|
column: 2
|
|
51676
51687
|
},
|
|
51677
51688
|
end: {
|
|
51678
|
-
line:
|
|
51689
|
+
line: 106,
|
|
51679
51690
|
column: 4
|
|
51680
51691
|
}
|
|
51681
51692
|
},
|
|
51682
|
-
"
|
|
51693
|
+
"12": {
|
|
51683
51694
|
start: {
|
|
51684
|
-
line:
|
|
51695
|
+
line: 52,
|
|
51685
51696
|
column: 10
|
|
51686
51697
|
},
|
|
51687
51698
|
end: {
|
|
51688
|
-
line:
|
|
51699
|
+
line: 102,
|
|
51689
51700
|
column: 13
|
|
51690
51701
|
}
|
|
51691
51702
|
},
|
|
51692
|
-
"
|
|
51703
|
+
"13": {
|
|
51693
51704
|
start: {
|
|
51694
|
-
line:
|
|
51705
|
+
line: 54,
|
|
51695
51706
|
column: 14
|
|
51696
51707
|
},
|
|
51697
51708
|
end: {
|
|
51698
|
-
line:
|
|
51709
|
+
line: 100,
|
|
51699
51710
|
column: 20
|
|
51700
51711
|
}
|
|
51701
51712
|
},
|
|
51702
|
-
"
|
|
51713
|
+
"14": {
|
|
51703
51714
|
start: {
|
|
51704
|
-
line:
|
|
51715
|
+
line: 76,
|
|
51716
|
+
column: 39
|
|
51717
|
+
},
|
|
51718
|
+
end: {
|
|
51719
|
+
line: 76,
|
|
51720
|
+
column: 66
|
|
51721
|
+
}
|
|
51722
|
+
},
|
|
51723
|
+
"15": {
|
|
51724
|
+
start: {
|
|
51725
|
+
line: 85,
|
|
51705
51726
|
column: 37
|
|
51706
51727
|
},
|
|
51707
51728
|
end: {
|
|
51708
|
-
line:
|
|
51729
|
+
line: 85,
|
|
51709
51730
|
column: 75
|
|
51710
51731
|
}
|
|
51711
51732
|
},
|
|
51712
|
-
"
|
|
51733
|
+
"16": {
|
|
51713
51734
|
start: {
|
|
51714
|
-
line:
|
|
51735
|
+
line: 95,
|
|
51715
51736
|
column: 24
|
|
51716
51737
|
},
|
|
51717
51738
|
end: {
|
|
51718
|
-
line:
|
|
51739
|
+
line: 95,
|
|
51719
51740
|
column: 71
|
|
51720
51741
|
}
|
|
51721
51742
|
},
|
|
51722
|
-
"
|
|
51743
|
+
"17": {
|
|
51723
51744
|
start: {
|
|
51724
|
-
line:
|
|
51745
|
+
line: 109,
|
|
51725
51746
|
column: 0
|
|
51726
51747
|
},
|
|
51727
51748
|
end: {
|
|
51728
|
-
line:
|
|
51749
|
+
line: 116,
|
|
51729
51750
|
column: 2
|
|
51730
51751
|
}
|
|
51731
51752
|
}
|
|
@@ -51735,323 +51756,371 @@ function cov_1s0frck14v() {
|
|
|
51735
51756
|
name: "(anonymous_0)",
|
|
51736
51757
|
decl: {
|
|
51737
51758
|
start: {
|
|
51738
|
-
line:
|
|
51759
|
+
line: 15,
|
|
51739
51760
|
column: 16
|
|
51740
51761
|
},
|
|
51741
51762
|
end: {
|
|
51742
|
-
line:
|
|
51763
|
+
line: 15,
|
|
51743
51764
|
column: 17
|
|
51744
51765
|
}
|
|
51745
51766
|
},
|
|
51746
51767
|
loc: {
|
|
51747
51768
|
start: {
|
|
51748
|
-
line:
|
|
51769
|
+
line: 23,
|
|
51749
51770
|
column: 6
|
|
51750
51771
|
},
|
|
51751
51772
|
end: {
|
|
51752
|
-
line:
|
|
51773
|
+
line: 107,
|
|
51753
51774
|
column: 1
|
|
51754
51775
|
}
|
|
51755
51776
|
},
|
|
51756
|
-
line:
|
|
51777
|
+
line: 23
|
|
51757
51778
|
},
|
|
51758
51779
|
"1": {
|
|
51759
51780
|
name: "(anonymous_1)",
|
|
51760
51781
|
decl: {
|
|
51761
51782
|
start: {
|
|
51762
|
-
line:
|
|
51783
|
+
line: 31,
|
|
51763
51784
|
column: 4
|
|
51764
51785
|
},
|
|
51765
51786
|
end: {
|
|
51766
|
-
line:
|
|
51787
|
+
line: 31,
|
|
51767
51788
|
column: 5
|
|
51768
51789
|
}
|
|
51769
51790
|
},
|
|
51770
51791
|
loc: {
|
|
51771
51792
|
start: {
|
|
51772
|
-
line:
|
|
51793
|
+
line: 32,
|
|
51773
51794
|
column: 6
|
|
51774
51795
|
},
|
|
51775
51796
|
end: {
|
|
51776
|
-
line:
|
|
51797
|
+
line: 34,
|
|
51777
51798
|
column: 19
|
|
51778
51799
|
}
|
|
51779
51800
|
},
|
|
51780
|
-
line:
|
|
51801
|
+
line: 32
|
|
51781
51802
|
},
|
|
51782
51803
|
"2": {
|
|
51783
51804
|
name: "(anonymous_2)",
|
|
51784
51805
|
decl: {
|
|
51785
51806
|
start: {
|
|
51786
|
-
line:
|
|
51807
|
+
line: 38,
|
|
51787
51808
|
column: 29
|
|
51788
51809
|
},
|
|
51789
51810
|
end: {
|
|
51790
|
-
line:
|
|
51811
|
+
line: 38,
|
|
51791
51812
|
column: 30
|
|
51792
51813
|
}
|
|
51793
51814
|
},
|
|
51794
51815
|
loc: {
|
|
51795
51816
|
start: {
|
|
51796
|
-
line:
|
|
51817
|
+
line: 38,
|
|
51797
51818
|
column: 62
|
|
51798
51819
|
},
|
|
51799
51820
|
end: {
|
|
51800
|
-
line:
|
|
51821
|
+
line: 46,
|
|
51801
51822
|
column: 3
|
|
51802
51823
|
}
|
|
51803
51824
|
},
|
|
51804
|
-
line:
|
|
51825
|
+
line: 38
|
|
51805
51826
|
},
|
|
51806
51827
|
"3": {
|
|
51807
51828
|
name: "(anonymous_3)",
|
|
51808
51829
|
decl: {
|
|
51809
51830
|
start: {
|
|
51810
|
-
line:
|
|
51831
|
+
line: 51,
|
|
51811
51832
|
column: 9
|
|
51812
51833
|
},
|
|
51813
51834
|
end: {
|
|
51814
|
-
line:
|
|
51835
|
+
line: 51,
|
|
51815
51836
|
column: 10
|
|
51816
51837
|
}
|
|
51817
51838
|
},
|
|
51818
51839
|
loc: {
|
|
51819
51840
|
start: {
|
|
51820
|
-
line:
|
|
51841
|
+
line: 52,
|
|
51821
51842
|
column: 10
|
|
51822
51843
|
},
|
|
51823
51844
|
end: {
|
|
51824
|
-
line:
|
|
51845
|
+
line: 102,
|
|
51825
51846
|
column: 13
|
|
51826
51847
|
}
|
|
51827
51848
|
},
|
|
51828
|
-
line:
|
|
51849
|
+
line: 52
|
|
51829
51850
|
},
|
|
51830
51851
|
"4": {
|
|
51831
51852
|
name: "(anonymous_4)",
|
|
51832
51853
|
decl: {
|
|
51833
51854
|
start: {
|
|
51834
|
-
line:
|
|
51855
|
+
line: 53,
|
|
51835
51856
|
column: 25
|
|
51836
51857
|
},
|
|
51837
51858
|
end: {
|
|
51838
|
-
line:
|
|
51859
|
+
line: 53,
|
|
51839
51860
|
column: 26
|
|
51840
51861
|
}
|
|
51841
51862
|
},
|
|
51842
51863
|
loc: {
|
|
51843
51864
|
start: {
|
|
51844
|
-
line:
|
|
51865
|
+
line: 54,
|
|
51845
51866
|
column: 14
|
|
51846
51867
|
},
|
|
51847
51868
|
end: {
|
|
51848
|
-
line:
|
|
51869
|
+
line: 100,
|
|
51849
51870
|
column: 20
|
|
51850
51871
|
}
|
|
51851
51872
|
},
|
|
51852
|
-
line:
|
|
51873
|
+
line: 54
|
|
51853
51874
|
},
|
|
51854
51875
|
"5": {
|
|
51855
51876
|
name: "(anonymous_5)",
|
|
51856
51877
|
decl: {
|
|
51857
51878
|
start: {
|
|
51858
|
-
line:
|
|
51879
|
+
line: 76,
|
|
51880
|
+
column: 33
|
|
51881
|
+
},
|
|
51882
|
+
end: {
|
|
51883
|
+
line: 76,
|
|
51884
|
+
column: 34
|
|
51885
|
+
}
|
|
51886
|
+
},
|
|
51887
|
+
loc: {
|
|
51888
|
+
start: {
|
|
51889
|
+
line: 76,
|
|
51890
|
+
column: 39
|
|
51891
|
+
},
|
|
51892
|
+
end: {
|
|
51893
|
+
line: 76,
|
|
51894
|
+
column: 66
|
|
51895
|
+
}
|
|
51896
|
+
},
|
|
51897
|
+
line: 76
|
|
51898
|
+
},
|
|
51899
|
+
"6": {
|
|
51900
|
+
name: "(anonymous_6)",
|
|
51901
|
+
decl: {
|
|
51902
|
+
start: {
|
|
51903
|
+
line: 85,
|
|
51859
51904
|
column: 31
|
|
51860
51905
|
},
|
|
51861
51906
|
end: {
|
|
51862
|
-
line:
|
|
51907
|
+
line: 85,
|
|
51863
51908
|
column: 32
|
|
51864
51909
|
}
|
|
51865
51910
|
},
|
|
51866
51911
|
loc: {
|
|
51867
51912
|
start: {
|
|
51868
|
-
line:
|
|
51913
|
+
line: 85,
|
|
51869
51914
|
column: 37
|
|
51870
51915
|
},
|
|
51871
51916
|
end: {
|
|
51872
|
-
line:
|
|
51917
|
+
line: 85,
|
|
51873
51918
|
column: 75
|
|
51874
51919
|
}
|
|
51875
51920
|
},
|
|
51876
|
-
line:
|
|
51921
|
+
line: 85
|
|
51877
51922
|
},
|
|
51878
|
-
"
|
|
51879
|
-
name: "(
|
|
51923
|
+
"7": {
|
|
51924
|
+
name: "(anonymous_7)",
|
|
51880
51925
|
decl: {
|
|
51881
51926
|
start: {
|
|
51882
|
-
line:
|
|
51927
|
+
line: 94,
|
|
51883
51928
|
column: 31
|
|
51884
51929
|
},
|
|
51885
51930
|
end: {
|
|
51886
|
-
line:
|
|
51931
|
+
line: 94,
|
|
51887
51932
|
column: 32
|
|
51888
51933
|
}
|
|
51889
51934
|
},
|
|
51890
51935
|
loc: {
|
|
51891
51936
|
start: {
|
|
51892
|
-
line:
|
|
51937
|
+
line: 95,
|
|
51893
51938
|
column: 24
|
|
51894
51939
|
},
|
|
51895
51940
|
end: {
|
|
51896
|
-
line:
|
|
51941
|
+
line: 95,
|
|
51897
51942
|
column: 71
|
|
51898
51943
|
}
|
|
51899
51944
|
},
|
|
51900
|
-
line:
|
|
51945
|
+
line: 95
|
|
51901
51946
|
}
|
|
51902
51947
|
},
|
|
51903
51948
|
branchMap: {
|
|
51904
51949
|
"0": {
|
|
51905
51950
|
loc: {
|
|
51906
51951
|
start: {
|
|
51907
|
-
line:
|
|
51952
|
+
line: 21,
|
|
51908
51953
|
column: 2
|
|
51909
51954
|
},
|
|
51910
51955
|
end: {
|
|
51911
|
-
line:
|
|
51956
|
+
line: 21,
|
|
51912
51957
|
column: 22
|
|
51913
51958
|
}
|
|
51914
51959
|
},
|
|
51915
51960
|
type: "default-arg",
|
|
51916
51961
|
locations: [{
|
|
51917
51962
|
start: {
|
|
51918
|
-
line:
|
|
51963
|
+
line: 21,
|
|
51919
51964
|
column: 18
|
|
51920
51965
|
},
|
|
51921
51966
|
end: {
|
|
51922
|
-
line:
|
|
51967
|
+
line: 21,
|
|
51923
51968
|
column: 22
|
|
51924
51969
|
}
|
|
51925
51970
|
}],
|
|
51926
|
-
line:
|
|
51971
|
+
line: 21
|
|
51927
51972
|
},
|
|
51928
51973
|
"1": {
|
|
51929
51974
|
loc: {
|
|
51930
51975
|
start: {
|
|
51931
|
-
line:
|
|
51976
|
+
line: 22,
|
|
51977
|
+
column: 2
|
|
51978
|
+
},
|
|
51979
|
+
end: {
|
|
51980
|
+
line: 22,
|
|
51981
|
+
column: 34
|
|
51982
|
+
}
|
|
51983
|
+
},
|
|
51984
|
+
type: "default-arg",
|
|
51985
|
+
locations: [{
|
|
51986
|
+
start: {
|
|
51987
|
+
line: 22,
|
|
51988
|
+
column: 30
|
|
51989
|
+
},
|
|
51990
|
+
end: {
|
|
51991
|
+
line: 22,
|
|
51992
|
+
column: 34
|
|
51993
|
+
}
|
|
51994
|
+
}],
|
|
51995
|
+
line: 22
|
|
51996
|
+
},
|
|
51997
|
+
"2": {
|
|
51998
|
+
loc: {
|
|
51999
|
+
start: {
|
|
52000
|
+
line: 27,
|
|
51932
52001
|
column: 23
|
|
51933
52002
|
},
|
|
51934
52003
|
end: {
|
|
51935
|
-
line:
|
|
52004
|
+
line: 27,
|
|
51936
52005
|
column: 39
|
|
51937
52006
|
}
|
|
51938
52007
|
},
|
|
51939
52008
|
type: "binary-expr",
|
|
51940
52009
|
locations: [{
|
|
51941
52010
|
start: {
|
|
51942
|
-
line:
|
|
52011
|
+
line: 27,
|
|
51943
52012
|
column: 23
|
|
51944
52013
|
},
|
|
51945
52014
|
end: {
|
|
51946
|
-
line:
|
|
52015
|
+
line: 27,
|
|
51947
52016
|
column: 33
|
|
51948
52017
|
}
|
|
51949
52018
|
}, {
|
|
51950
52019
|
start: {
|
|
51951
|
-
line:
|
|
52020
|
+
line: 27,
|
|
51952
52021
|
column: 37
|
|
51953
52022
|
},
|
|
51954
52023
|
end: {
|
|
51955
|
-
line:
|
|
52024
|
+
line: 27,
|
|
51956
52025
|
column: 39
|
|
51957
52026
|
}
|
|
51958
52027
|
}],
|
|
51959
|
-
line:
|
|
52028
|
+
line: 27
|
|
51960
52029
|
},
|
|
51961
|
-
"
|
|
52030
|
+
"3": {
|
|
51962
52031
|
loc: {
|
|
51963
52032
|
start: {
|
|
51964
|
-
line:
|
|
52033
|
+
line: 28,
|
|
51965
52034
|
column: 18
|
|
51966
52035
|
},
|
|
51967
52036
|
end: {
|
|
51968
|
-
line:
|
|
52037
|
+
line: 28,
|
|
51969
52038
|
column: 42
|
|
51970
52039
|
}
|
|
51971
52040
|
},
|
|
51972
52041
|
type: "binary-expr",
|
|
51973
52042
|
locations: [{
|
|
51974
52043
|
start: {
|
|
51975
|
-
line:
|
|
52044
|
+
line: 28,
|
|
51976
52045
|
column: 18
|
|
51977
52046
|
},
|
|
51978
52047
|
end: {
|
|
51979
|
-
line:
|
|
52048
|
+
line: 28,
|
|
51980
52049
|
column: 36
|
|
51981
52050
|
}
|
|
51982
52051
|
}, {
|
|
51983
52052
|
start: {
|
|
51984
|
-
line:
|
|
52053
|
+
line: 28,
|
|
51985
52054
|
column: 40
|
|
51986
52055
|
},
|
|
51987
52056
|
end: {
|
|
51988
|
-
line:
|
|
52057
|
+
line: 28,
|
|
51989
52058
|
column: 42
|
|
51990
52059
|
}
|
|
51991
52060
|
}],
|
|
51992
|
-
line:
|
|
52061
|
+
line: 28
|
|
51993
52062
|
},
|
|
51994
|
-
"
|
|
52063
|
+
"4": {
|
|
51995
52064
|
loc: {
|
|
51996
52065
|
start: {
|
|
51997
|
-
line:
|
|
52066
|
+
line: 32,
|
|
51998
52067
|
column: 6
|
|
51999
52068
|
},
|
|
52000
52069
|
end: {
|
|
52001
|
-
line:
|
|
52070
|
+
line: 34,
|
|
52002
52071
|
column: 19
|
|
52003
52072
|
}
|
|
52004
52073
|
},
|
|
52005
52074
|
type: "binary-expr",
|
|
52006
52075
|
locations: [{
|
|
52007
52076
|
start: {
|
|
52008
|
-
line:
|
|
52077
|
+
line: 32,
|
|
52009
52078
|
column: 6
|
|
52010
52079
|
},
|
|
52011
52080
|
end: {
|
|
52012
|
-
line:
|
|
52081
|
+
line: 32,
|
|
52013
52082
|
column: 42
|
|
52014
52083
|
}
|
|
52015
52084
|
}, {
|
|
52016
52085
|
start: {
|
|
52017
|
-
line:
|
|
52086
|
+
line: 33,
|
|
52018
52087
|
column: 6
|
|
52019
52088
|
},
|
|
52020
52089
|
end: {
|
|
52021
|
-
line:
|
|
52090
|
+
line: 33,
|
|
52022
52091
|
column: 58
|
|
52023
52092
|
}
|
|
52024
52093
|
}, {
|
|
52025
52094
|
start: {
|
|
52026
|
-
line:
|
|
52095
|
+
line: 34,
|
|
52027
52096
|
column: 6
|
|
52028
52097
|
},
|
|
52029
52098
|
end: {
|
|
52030
|
-
line:
|
|
52099
|
+
line: 34,
|
|
52031
52100
|
column: 19
|
|
52032
52101
|
}
|
|
52033
52102
|
}],
|
|
52034
|
-
line:
|
|
52103
|
+
line: 32
|
|
52035
52104
|
},
|
|
52036
|
-
"
|
|
52105
|
+
"5": {
|
|
52037
52106
|
loc: {
|
|
52038
52107
|
start: {
|
|
52039
|
-
line:
|
|
52108
|
+
line: 39,
|
|
52040
52109
|
column: 4
|
|
52041
52110
|
},
|
|
52042
52111
|
end: {
|
|
52043
|
-
line:
|
|
52112
|
+
line: 44,
|
|
52044
52113
|
column: 5
|
|
52045
52114
|
}
|
|
52046
52115
|
},
|
|
52047
52116
|
type: "if",
|
|
52048
52117
|
locations: [{
|
|
52049
52118
|
start: {
|
|
52050
|
-
line:
|
|
52119
|
+
line: 39,
|
|
52051
52120
|
column: 4
|
|
52052
52121
|
},
|
|
52053
52122
|
end: {
|
|
52054
|
-
line:
|
|
52123
|
+
line: 44,
|
|
52055
52124
|
column: 5
|
|
52056
52125
|
}
|
|
52057
52126
|
}, {
|
|
@@ -52064,148 +52133,190 @@ function cov_1s0frck14v() {
|
|
|
52064
52133
|
column: undefined
|
|
52065
52134
|
}
|
|
52066
52135
|
}],
|
|
52067
|
-
line:
|
|
52136
|
+
line: 39
|
|
52068
52137
|
},
|
|
52069
|
-
"
|
|
52138
|
+
"6": {
|
|
52070
52139
|
loc: {
|
|
52071
52140
|
start: {
|
|
52072
|
-
line:
|
|
52141
|
+
line: 41,
|
|
52073
52142
|
column: 12
|
|
52074
52143
|
},
|
|
52075
52144
|
end: {
|
|
52076
|
-
line:
|
|
52145
|
+
line: 41,
|
|
52077
52146
|
column: 38
|
|
52078
52147
|
}
|
|
52079
52148
|
},
|
|
52080
52149
|
type: "binary-expr",
|
|
52081
52150
|
locations: [{
|
|
52082
52151
|
start: {
|
|
52083
|
-
line:
|
|
52152
|
+
line: 41,
|
|
52084
52153
|
column: 12
|
|
52085
52154
|
},
|
|
52086
52155
|
end: {
|
|
52087
|
-
line:
|
|
52156
|
+
line: 41,
|
|
52088
52157
|
column: 32
|
|
52089
52158
|
}
|
|
52090
52159
|
}, {
|
|
52091
52160
|
start: {
|
|
52092
|
-
line:
|
|
52161
|
+
line: 41,
|
|
52093
52162
|
column: 36
|
|
52094
52163
|
},
|
|
52095
52164
|
end: {
|
|
52096
|
-
line:
|
|
52165
|
+
line: 41,
|
|
52097
52166
|
column: 38
|
|
52098
52167
|
}
|
|
52099
52168
|
}],
|
|
52100
|
-
line:
|
|
52169
|
+
line: 41
|
|
52101
52170
|
},
|
|
52102
|
-
"
|
|
52171
|
+
"7": {
|
|
52103
52172
|
loc: {
|
|
52104
52173
|
start: {
|
|
52105
|
-
line:
|
|
52174
|
+
line: 49,
|
|
52106
52175
|
column: 17
|
|
52107
52176
|
},
|
|
52108
52177
|
end: {
|
|
52109
|
-
line:
|
|
52178
|
+
line: 49,
|
|
52110
52179
|
column: 45
|
|
52111
52180
|
}
|
|
52112
52181
|
},
|
|
52113
52182
|
type: "binary-expr",
|
|
52114
52183
|
locations: [{
|
|
52115
52184
|
start: {
|
|
52116
|
-
line:
|
|
52185
|
+
line: 49,
|
|
52117
52186
|
column: 17
|
|
52118
52187
|
},
|
|
52119
52188
|
end: {
|
|
52120
|
-
line:
|
|
52189
|
+
line: 49,
|
|
52121
52190
|
column: 22
|
|
52122
52191
|
}
|
|
52123
52192
|
}, {
|
|
52124
52193
|
start: {
|
|
52125
|
-
line:
|
|
52194
|
+
line: 49,
|
|
52126
52195
|
column: 26
|
|
52127
52196
|
},
|
|
52128
52197
|
end: {
|
|
52129
|
-
line:
|
|
52198
|
+
line: 49,
|
|
52130
52199
|
column: 45
|
|
52131
52200
|
}
|
|
52132
52201
|
}],
|
|
52133
|
-
line:
|
|
52202
|
+
line: 49
|
|
52134
52203
|
},
|
|
52135
|
-
"
|
|
52204
|
+
"8": {
|
|
52136
52205
|
loc: {
|
|
52137
52206
|
start: {
|
|
52138
|
-
line:
|
|
52207
|
+
line: 65,
|
|
52139
52208
|
column: 19
|
|
52140
52209
|
},
|
|
52141
52210
|
end: {
|
|
52142
|
-
line:
|
|
52211
|
+
line: 78,
|
|
52212
|
+
column: 21
|
|
52213
|
+
}
|
|
52214
|
+
},
|
|
52215
|
+
type: "binary-expr",
|
|
52216
|
+
locations: [{
|
|
52217
|
+
start: {
|
|
52218
|
+
line: 65,
|
|
52219
|
+
column: 19
|
|
52220
|
+
},
|
|
52221
|
+
end: {
|
|
52222
|
+
line: 65,
|
|
52223
|
+
column: 44
|
|
52224
|
+
}
|
|
52225
|
+
}, {
|
|
52226
|
+
start: {
|
|
52227
|
+
line: 66,
|
|
52228
|
+
column: 20
|
|
52229
|
+
},
|
|
52230
|
+
end: {
|
|
52231
|
+
line: 66,
|
|
52232
|
+
column: 54
|
|
52233
|
+
}
|
|
52234
|
+
}, {
|
|
52235
|
+
start: {
|
|
52236
|
+
line: 67,
|
|
52237
|
+
column: 22
|
|
52238
|
+
},
|
|
52239
|
+
end: {
|
|
52240
|
+
line: 77,
|
|
52241
|
+
column: 24
|
|
52242
|
+
}
|
|
52243
|
+
}],
|
|
52244
|
+
line: 65
|
|
52245
|
+
},
|
|
52246
|
+
"9": {
|
|
52247
|
+
loc: {
|
|
52248
|
+
start: {
|
|
52249
|
+
line: 79,
|
|
52250
|
+
column: 19
|
|
52251
|
+
},
|
|
52252
|
+
end: {
|
|
52253
|
+
line: 87,
|
|
52143
52254
|
column: 19
|
|
52144
52255
|
}
|
|
52145
52256
|
},
|
|
52146
52257
|
type: "binary-expr",
|
|
52147
52258
|
locations: [{
|
|
52148
52259
|
start: {
|
|
52149
|
-
line:
|
|
52260
|
+
line: 79,
|
|
52150
52261
|
column: 19
|
|
52151
52262
|
},
|
|
52152
52263
|
end: {
|
|
52153
|
-
line:
|
|
52264
|
+
line: 79,
|
|
52154
52265
|
column: 29
|
|
52155
52266
|
}
|
|
52156
52267
|
}, {
|
|
52157
52268
|
start: {
|
|
52158
|
-
line:
|
|
52269
|
+
line: 79,
|
|
52159
52270
|
column: 33
|
|
52160
52271
|
},
|
|
52161
52272
|
end: {
|
|
52162
|
-
line:
|
|
52273
|
+
line: 79,
|
|
52163
52274
|
column: 61
|
|
52164
52275
|
}
|
|
52165
52276
|
}, {
|
|
52166
52277
|
start: {
|
|
52167
|
-
line:
|
|
52278
|
+
line: 80,
|
|
52168
52279
|
column: 20
|
|
52169
52280
|
},
|
|
52170
52281
|
end: {
|
|
52171
|
-
line:
|
|
52282
|
+
line: 86,
|
|
52172
52283
|
column: 22
|
|
52173
52284
|
}
|
|
52174
52285
|
}],
|
|
52175
|
-
line:
|
|
52286
|
+
line: 79
|
|
52176
52287
|
},
|
|
52177
|
-
"
|
|
52288
|
+
"10": {
|
|
52178
52289
|
loc: {
|
|
52179
52290
|
start: {
|
|
52180
|
-
line:
|
|
52291
|
+
line: 88,
|
|
52181
52292
|
column: 19
|
|
52182
52293
|
},
|
|
52183
52294
|
end: {
|
|
52184
|
-
line:
|
|
52295
|
+
line: 98,
|
|
52185
52296
|
column: 19
|
|
52186
52297
|
}
|
|
52187
52298
|
},
|
|
52188
52299
|
type: "binary-expr",
|
|
52189
52300
|
locations: [{
|
|
52190
52301
|
start: {
|
|
52191
|
-
line:
|
|
52302
|
+
line: 88,
|
|
52192
52303
|
column: 19
|
|
52193
52304
|
},
|
|
52194
52305
|
end: {
|
|
52195
|
-
line:
|
|
52306
|
+
line: 88,
|
|
52196
52307
|
column: 37
|
|
52197
52308
|
}
|
|
52198
52309
|
}, {
|
|
52199
52310
|
start: {
|
|
52200
|
-
line:
|
|
52311
|
+
line: 89,
|
|
52201
52312
|
column: 20
|
|
52202
52313
|
},
|
|
52203
52314
|
end: {
|
|
52204
|
-
line:
|
|
52315
|
+
line: 97,
|
|
52205
52316
|
column: 22
|
|
52206
52317
|
}
|
|
52207
52318
|
}],
|
|
52208
|
-
line:
|
|
52319
|
+
line: 88
|
|
52209
52320
|
}
|
|
52210
52321
|
},
|
|
52211
52322
|
s: {
|
|
@@ -52224,7 +52335,9 @@ function cov_1s0frck14v() {
|
|
|
52224
52335
|
"12": 0,
|
|
52225
52336
|
"13": 0,
|
|
52226
52337
|
"14": 0,
|
|
52227
|
-
"15": 0
|
|
52338
|
+
"15": 0,
|
|
52339
|
+
"16": 0,
|
|
52340
|
+
"17": 0
|
|
52228
52341
|
},
|
|
52229
52342
|
f: {
|
|
52230
52343
|
"0": 0,
|
|
@@ -52233,21 +52346,24 @@ function cov_1s0frck14v() {
|
|
|
52233
52346
|
"3": 0,
|
|
52234
52347
|
"4": 0,
|
|
52235
52348
|
"5": 0,
|
|
52236
|
-
"6": 0
|
|
52349
|
+
"6": 0,
|
|
52350
|
+
"7": 0
|
|
52237
52351
|
},
|
|
52238
52352
|
b: {
|
|
52239
52353
|
"0": [0],
|
|
52240
|
-
"1": [0
|
|
52354
|
+
"1": [0],
|
|
52241
52355
|
"2": [0, 0],
|
|
52242
|
-
"3": [0, 0
|
|
52243
|
-
"4": [0, 0],
|
|
52356
|
+
"3": [0, 0],
|
|
52357
|
+
"4": [0, 0, 0],
|
|
52244
52358
|
"5": [0, 0],
|
|
52245
52359
|
"6": [0, 0],
|
|
52246
|
-
"7": [0, 0
|
|
52247
|
-
"8": [0, 0]
|
|
52360
|
+
"7": [0, 0],
|
|
52361
|
+
"8": [0, 0, 0],
|
|
52362
|
+
"9": [0, 0, 0],
|
|
52363
|
+
"10": [0, 0]
|
|
52248
52364
|
},
|
|
52249
52365
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
52250
|
-
hash: "
|
|
52366
|
+
hash: "7b05e9bdf4d69496458661e2fc2cf570834b7d4c"
|
|
52251
52367
|
};
|
|
52252
52368
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
52253
52369
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -52273,46 +52389,50 @@ var Actions = function Actions(_ref) {
|
|
|
52273
52389
|
onSelectAction = _ref.onSelectAction,
|
|
52274
52390
|
selectedActionOptions = _ref.selectedActionOptions,
|
|
52275
52391
|
_ref$showAddButton = _ref.showAddButton,
|
|
52276
|
-
showAddButton = _ref$showAddButton === void 0 ? (cov_1s0frck14v().b[0][0]++, true) : _ref$showAddButton
|
|
52392
|
+
showAddButton = _ref$showAddButton === void 0 ? (cov_1s0frck14v().b[0][0]++, true) : _ref$showAddButton,
|
|
52393
|
+
_ref$handleSlackChann = _ref.handleSlackChannelRefresh,
|
|
52394
|
+
handleSlackChannelRefresh = _ref$handleSlackChann === void 0 ? (cov_1s0frck14v().b[1][0]++, noop$2) : _ref$handleSlackChann;
|
|
52277
52395
|
cov_1s0frck14v().f[0]++;
|
|
52278
52396
|
var _ref2 = (cov_1s0frck14v().s[1]++, useFormikContext()),
|
|
52279
52397
|
values = _ref2.values,
|
|
52280
52398
|
setFieldValue = _ref2.setFieldValue;
|
|
52281
|
-
var
|
|
52282
|
-
|
|
52283
|
-
var
|
|
52399
|
+
var _ref3 = (cov_1s0frck14v().s[2]++, useTranslation()),
|
|
52400
|
+
t = _ref3.t;
|
|
52401
|
+
var elementProps = (cov_1s0frck14v().s[3]++, (cov_1s0frck14v().b[2][0]++, data[name]) || (cov_1s0frck14v().b[2][1]++, {}));
|
|
52402
|
+
var actions = (cov_1s0frck14v().s[4]++, (cov_1s0frck14v().b[3][0]++, values[name].value) || (cov_1s0frck14v().b[3][1]++, []));
|
|
52403
|
+
var showButton = (cov_1s0frck14v().s[5]++, useMemo(function () {
|
|
52284
52404
|
var _actions;
|
|
52285
52405
|
cov_1s0frck14v().f[1]++;
|
|
52286
|
-
cov_1s0frck14v().s[
|
|
52287
|
-
return (cov_1s0frck14v().b[
|
|
52406
|
+
cov_1s0frck14v().s[6]++;
|
|
52407
|
+
return (cov_1s0frck14v().b[4][0]++, !!((_actions = actions[(actions === null || actions === void 0 ? void 0 : actions.length) - 1]) !== null && _actions !== void 0 && _actions.name)) && (cov_1s0frck14v().b[4][1]++, elementProps.actionOptions.length !== actions.length) && (cov_1s0frck14v().b[4][2]++, showAddButton);
|
|
52288
52408
|
}, [actions]));
|
|
52289
|
-
cov_1s0frck14v().s[
|
|
52409
|
+
cov_1s0frck14v().s[7]++;
|
|
52290
52410
|
var handleRemoveAction = function handleRemoveAction(index, action, arrayHelpers) {
|
|
52291
52411
|
cov_1s0frck14v().f[2]++;
|
|
52292
|
-
cov_1s0frck14v().s[
|
|
52412
|
+
cov_1s0frck14v().s[8]++;
|
|
52293
52413
|
if (action.id) {
|
|
52294
|
-
cov_1s0frck14v().b[
|
|
52295
|
-
cov_1s0frck14v().s[
|
|
52296
|
-
setFieldValue("".concat(name, ".deleted"), [].concat(_toConsumableArray((cov_1s0frck14v().b[
|
|
52414
|
+
cov_1s0frck14v().b[5][0]++;
|
|
52415
|
+
cov_1s0frck14v().s[9]++;
|
|
52416
|
+
setFieldValue("".concat(name, ".deleted"), [].concat(_toConsumableArray((cov_1s0frck14v().b[6][0]++, values[name].deleted) || (cov_1s0frck14v().b[6][1]++, [])), [_objectSpread$3(_objectSpread$3({}, action), {}, {
|
|
52297
52417
|
_destroy: true
|
|
52298
52418
|
})]));
|
|
52299
52419
|
} else {
|
|
52300
|
-
cov_1s0frck14v().b[
|
|
52420
|
+
cov_1s0frck14v().b[5][1]++;
|
|
52301
52421
|
}
|
|
52302
|
-
cov_1s0frck14v().s[
|
|
52422
|
+
cov_1s0frck14v().s[10]++;
|
|
52303
52423
|
arrayHelpers.remove(index);
|
|
52304
52424
|
};
|
|
52305
|
-
cov_1s0frck14v().s[
|
|
52425
|
+
cov_1s0frck14v().s[11]++;
|
|
52306
52426
|
return /*#__PURE__*/React.createElement(Card, {
|
|
52307
|
-
title: (cov_1s0frck14v().b[
|
|
52427
|
+
title: (cov_1s0frck14v().b[7][0]++, label) || (cov_1s0frck14v().b[7][1]++, elementProps === null || elementProps === void 0 ? void 0 : elementProps.label)
|
|
52308
52428
|
}, /*#__PURE__*/React.createElement(FieldArray, {
|
|
52309
52429
|
name: "".concat(name, ".value")
|
|
52310
52430
|
}, function (arrayHelpers) {
|
|
52311
52431
|
cov_1s0frck14v().f[3]++;
|
|
52312
|
-
cov_1s0frck14v().s[
|
|
52432
|
+
cov_1s0frck14v().s[12]++;
|
|
52313
52433
|
return /*#__PURE__*/React.createElement(React.Fragment, null, actions.map(function (action, index) {
|
|
52314
52434
|
cov_1s0frck14v().f[4]++;
|
|
52315
|
-
cov_1s0frck14v().s[
|
|
52435
|
+
cov_1s0frck14v().s[13]++;
|
|
52316
52436
|
return /*#__PURE__*/React.createElement("div", {
|
|
52317
52437
|
className: "flex justify-between",
|
|
52318
52438
|
key: index
|
|
@@ -52326,31 +52446,45 @@ var Actions = function Actions(_ref) {
|
|
|
52326
52446
|
onSelectAction: onSelectAction
|
|
52327
52447
|
}), /*#__PURE__*/React.createElement("div", {
|
|
52328
52448
|
className: "-mx-1 flex flex-wrap"
|
|
52329
|
-
}, (cov_1s0frck14v().b[
|
|
52449
|
+
}, (cov_1s0frck14v().b[8][0]++, handleSlackChannelRefresh) && (cov_1s0frck14v().b[8][1]++, action.name === "message_to_slack") && (cov_1s0frck14v().b[8][2]++, /*#__PURE__*/React.createElement(Button, {
|
|
52450
|
+
"data-cy": "refresh-slack-button",
|
|
52451
|
+
icon: Refresh,
|
|
52452
|
+
size: 24,
|
|
52453
|
+
style: "icon",
|
|
52454
|
+
tooltipProps: {
|
|
52455
|
+
content: t("slack.refreshChannelList"),
|
|
52456
|
+
position: "top"
|
|
52457
|
+
},
|
|
52458
|
+
onClick: function onClick() {
|
|
52459
|
+
cov_1s0frck14v().f[5]++;
|
|
52460
|
+
cov_1s0frck14v().s[14]++;
|
|
52461
|
+
return handleSlackChannelRefresh();
|
|
52462
|
+
}
|
|
52463
|
+
})), (cov_1s0frck14v().b[9][0]++, showButton) && (cov_1s0frck14v().b[9][1]++, index === actions.length - 1) && (cov_1s0frck14v().b[9][2]++, /*#__PURE__*/React.createElement(Button, {
|
|
52330
52464
|
"data-cy": "add-action-button",
|
|
52331
52465
|
icon: Plus,
|
|
52332
52466
|
size: 24,
|
|
52333
52467
|
style: "icon",
|
|
52334
52468
|
onClick: function onClick() {
|
|
52335
|
-
cov_1s0frck14v().f[
|
|
52336
|
-
cov_1s0frck14v().s[
|
|
52469
|
+
cov_1s0frck14v().f[6]++;
|
|
52470
|
+
cov_1s0frck14v().s[15]++;
|
|
52337
52471
|
return arrayHelpers.push(DEFAULT_RULE_ACTION);
|
|
52338
52472
|
}
|
|
52339
|
-
})), (cov_1s0frck14v().b[
|
|
52473
|
+
})), (cov_1s0frck14v().b[10][0]++, actions.length > 1) && (cov_1s0frck14v().b[10][1]++, /*#__PURE__*/React.createElement(Button, {
|
|
52340
52474
|
"data-cy": "delete-action-button",
|
|
52341
52475
|
icon: Delete,
|
|
52342
52476
|
size: 24,
|
|
52343
52477
|
style: "icon",
|
|
52344
52478
|
onClick: function onClick() {
|
|
52345
|
-
cov_1s0frck14v().f[
|
|
52346
|
-
cov_1s0frck14v().s[
|
|
52479
|
+
cov_1s0frck14v().f[7]++;
|
|
52480
|
+
cov_1s0frck14v().s[16]++;
|
|
52347
52481
|
return handleRemoveAction(index, action, arrayHelpers);
|
|
52348
52482
|
}
|
|
52349
52483
|
}))));
|
|
52350
52484
|
}));
|
|
52351
52485
|
}));
|
|
52352
52486
|
};
|
|
52353
|
-
cov_1s0frck14v().s[
|
|
52487
|
+
cov_1s0frck14v().s[17]++;
|
|
52354
52488
|
|
|
52355
52489
|
function cov_1pftosc4qn() {
|
|
52356
52490
|
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Conditions/helpers.js";
|