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