@bigbinary/neeto-rules-frontend 0.1.1 → 0.1.2

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
@@ -5777,16 +5777,8 @@ var common$1 = {
5777
5777
  actions: "Actions",
5778
5778
  saveChange: "Save changes",
5779
5779
  value: "Value",
5780
- integer: "integer",
5781
- number: "number",
5782
5780
  email: "Email",
5783
- field: "Field",
5784
- verb: "Verb",
5785
- tag: "tag",
5786
- option: "option",
5787
5781
  action: "Action",
5788
- content: "Content",
5789
- ruleName: "Rule name",
5790
5782
  addItem: "Add Item",
5791
5783
  emailId: "Email id",
5792
5784
  emailIds: "Email ids",
@@ -5800,24 +5792,17 @@ var common$1 = {
5800
5792
  or: "or",
5801
5793
  search: "Search",
5802
5794
  as: "as",
5803
- on: "on",
5804
5795
  "delete": "Delete"
5805
5796
  };
5806
5797
  var form = {
5807
5798
  noEvents: "A rule without events will run hourly.",
5808
- chooseEvent: "Choose event",
5809
5799
  addEvent: "Add Event",
5810
- preview: "Preview",
5811
5800
  noCondition: "No tickets matching specified conditions",
5812
- addLogicBlock: "Add Logic Block",
5813
- eventPerformer: "Events Performer",
5814
5801
  subjectText: "Will be generated from the ticket's subject.",
5815
5802
  note: "Note",
5816
- message: "Message",
5817
5803
  thisHappens: "this happens",
5818
5804
  addValue: "add value",
5819
5805
  doThis: "do this",
5820
- addEmails: "add emails",
5821
5806
  selectValues: "select values",
5822
5807
  selectValue: "select value",
5823
5808
  list: "List",
@@ -5827,7 +5812,6 @@ var form = {
5827
5812
  selectDate: "Select date"
5828
5813
  };
5829
5814
  var labels = {
5830
- manageTags: "Manage tags",
5831
5815
  body: "Body",
5832
5816
  selectValues: "Select values",
5833
5817
  multipleValues: "Multiple values",
@@ -5909,17 +5893,13 @@ var labels = {
5909
5893
  checked: "Checked",
5910
5894
  unchecked: "Unchecked"
5911
5895
  };
5912
- var alerts$1 = {
5913
- };
5914
5896
  var placeholders$1 = {
5915
5897
  "if": "If",
5916
- "in": "In",
5917
5898
  multiSelect: "Example: urgent, billing",
5918
5899
  select: "Select",
5919
5900
  emailField: "Type email and press enter",
5920
5901
  selectTags: "Select Tags",
5921
5902
  selectOption: "Select option",
5922
- chooseAction: "Choose action",
5923
5903
  value: "Value"
5924
5904
  };
5925
5905
  var buttons$1 = {
@@ -5940,7 +5920,6 @@ var validations$1 = {
5940
5920
  name: "Name is required",
5941
5921
  subject: "Subject is required",
5942
5922
  content: "Content is required",
5943
- number: "Number is required",
5944
5923
  decimal: "Decimal is required",
5945
5924
  url: "URL is required",
5946
5925
  body: "Body is required"
@@ -5955,7 +5934,6 @@ var validations$1 = {
5955
5934
  tag: "At least one tag is required"
5956
5935
  },
5957
5936
  atLeastOneValue: "At least one value is required",
5958
- cantBeEmpty: "Can't be empty",
5959
5937
  emailList: "Please make sure all emails are valid.",
5960
5938
  positiveInteger: "Value must be a positive integer.",
5961
5939
  positiveNumber: "Value must be a positive number.",
@@ -5963,18 +5941,7 @@ var validations$1 = {
5963
5941
  slack: {
5964
5942
  invalidChannel: "Could not connect to the channel, please select other options.",
5965
5943
  errorInIntegration: "Could not connect to Slack! Please check the integration or remove this action otherwise the automation rule will not be able to function as intended."
5966
- },
5967
- number: "Value must be a number."
5968
- };
5969
- var navLinkLabels = {
5970
- profile: "Profile",
5971
- organizationSettings: "Organization Settings",
5972
- logout: "Logout",
5973
- tickets: "Tickets",
5974
- settings: "Settings",
5975
- reports: "Reports",
5976
- members: "Members",
5977
- customers: "Customers"
5944
+ }
5978
5945
  };
5979
5946
  var conditionVerbs = {
5980
5947
  is: "Is",
@@ -6077,11 +6044,9 @@ var en = {
6077
6044
  common: common$1,
6078
6045
  form: form,
6079
6046
  labels: labels,
6080
- alerts: alerts$1,
6081
6047
  placeholders: placeholders$1,
6082
6048
  buttons: buttons$1,
6083
6049
  validations: validations$1,
6084
- navLinkLabels: navLinkLabels,
6085
6050
  conditionVerbs: conditionVerbs,
6086
6051
  operators: operators,
6087
6052
  note: note,
@@ -62581,7 +62546,7 @@ cov_1rz7url808().s[31]++;
62581
62546
 
62582
62547
  function cov_2kupegl7ql() {
62583
62548
  var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/EventConditions/Events.jsx";
62584
- var hash = "48007c5a85192891755b1b9f88b45e5d9cb5aa6b";
62549
+ var hash = "23483456014f72294d9cd81bf25d9ebd1044ebf1";
62585
62550
  var global = new Function("return this")();
62586
62551
  var gcv = "__coverage__";
62587
62552
  var coverageData = {
@@ -62603,7 +62568,7 @@ function cov_2kupegl7ql() {
62603
62568
  column: 15
62604
62569
  },
62605
62570
  end: {
62606
- line: 246,
62571
+ line: 247,
62607
62572
  column: 1
62608
62573
  }
62609
62574
  },
@@ -62853,7 +62818,7 @@ function cov_2kupegl7ql() {
62853
62818
  column: 34
62854
62819
  },
62855
62820
  end: {
62856
- line: 86,
62821
+ line: 87,
62857
62822
  column: 3
62858
62823
  }
62859
62824
  },
@@ -62994,27 +62959,27 @@ function cov_2kupegl7ql() {
62994
62959
  },
62995
62960
  end: {
62996
62961
  line: 85,
62997
- column: 44
62962
+ column: 35
62998
62963
  }
62999
62964
  },
63000
62965
  "41": {
63001
62966
  start: {
63002
- line: 88,
63003
- column: 22
62967
+ line: 86,
62968
+ column: 4
63004
62969
  },
63005
62970
  end: {
63006
- line: 91,
63007
- column: 3
62971
+ line: 86,
62972
+ column: 44
63008
62973
  }
63009
62974
  },
63010
62975
  "42": {
63011
62976
  start: {
63012
62977
  line: 89,
63013
- column: 4
62978
+ column: 22
63014
62979
  },
63015
62980
  end: {
63016
- line: 89,
63017
- column: 26
62981
+ line: 92,
62982
+ column: 3
63018
62983
  }
63019
62984
  },
63020
62985
  "43": {
@@ -63024,106 +62989,116 @@ function cov_2kupegl7ql() {
63024
62989
  },
63025
62990
  end: {
63026
62991
  line: 90,
63027
- column: 22
62992
+ column: 26
63028
62993
  }
63029
62994
  },
63030
62995
  "44": {
63031
62996
  start: {
63032
- line: 93,
62997
+ line: 91,
62998
+ column: 4
62999
+ },
63000
+ end: {
63001
+ line: 91,
63002
+ column: 22
63003
+ }
63004
+ },
63005
+ "45": {
63006
+ start: {
63007
+ line: 94,
63033
63008
  column: 2
63034
63009
  },
63035
63010
  end: {
63036
- line: 245,
63011
+ line: 246,
63037
63012
  column: 4
63038
63013
  }
63039
63014
  },
63040
- "45": {
63015
+ "46": {
63041
63016
  start: {
63042
- line: 104,
63017
+ line: 105,
63043
63018
  column: 10
63044
63019
  },
63045
63020
  end: {
63046
- line: 171,
63021
+ line: 172,
63047
63022
  column: 27
63048
63023
  }
63049
63024
  },
63050
- "46": {
63025
+ "47": {
63051
63026
  start: {
63052
- line: 130,
63027
+ line: 131,
63053
63028
  column: 20
63054
63029
  },
63055
63030
  end: {
63056
- line: 130,
63031
+ line: 131,
63057
63032
  column: 70
63058
63033
  }
63059
63034
  },
63060
- "47": {
63035
+ "48": {
63061
63036
  start: {
63062
- line: 146,
63037
+ line: 147,
63063
63038
  column: 35
63064
63039
  },
63065
63040
  end: {
63066
- line: 146,
63041
+ line: 147,
63067
63042
  column: 64
63068
63043
  }
63069
63044
  },
63070
- "48": {
63045
+ "49": {
63071
63046
  start: {
63072
- line: 153,
63047
+ line: 154,
63073
63048
  column: 20
63074
63049
  },
63075
63050
  end: {
63076
- line: 166,
63051
+ line: 167,
63077
63052
  column: 38
63078
63053
  }
63079
63054
  },
63080
- "49": {
63055
+ "50": {
63081
63056
  start: {
63082
- line: 163,
63057
+ line: 164,
63083
63058
  column: 37
63084
63059
  },
63085
63060
  end: {
63086
- line: 163,
63061
+ line: 164,
63087
63062
  column: 68
63088
63063
  }
63089
63064
  },
63090
- "50": {
63065
+ "51": {
63091
63066
  start: {
63092
- line: 192,
63067
+ line: 193,
63093
63068
  column: 16
63094
63069
  },
63095
63070
  end: {
63096
- line: 192,
63071
+ line: 193,
63097
63072
  column: 67
63098
63073
  }
63099
63074
  },
63100
- "51": {
63075
+ "52": {
63101
63076
  start: {
63102
- line: 208,
63077
+ line: 209,
63103
63078
  column: 31
63104
63079
  },
63105
63080
  end: {
63106
- line: 208,
63081
+ line: 209,
63107
63082
  column: 60
63108
63083
  }
63109
63084
  },
63110
- "52": {
63085
+ "53": {
63111
63086
  start: {
63112
- line: 215,
63087
+ line: 216,
63113
63088
  column: 16
63114
63089
  },
63115
63090
  end: {
63116
- line: 228,
63091
+ line: 229,
63117
63092
  column: 34
63118
63093
  }
63119
63094
  },
63120
- "53": {
63095
+ "54": {
63121
63096
  start: {
63122
- line: 225,
63097
+ line: 226,
63123
63098
  column: 33
63124
63099
  },
63125
63100
  end: {
63126
- line: 225,
63101
+ line: 226,
63127
63102
  column: 64
63128
63103
  }
63129
63104
  }
@@ -63144,10 +63119,10 @@ function cov_2kupegl7ql() {
63144
63119
  loc: {
63145
63120
  start: {
63146
63121
  line: 20,
63147
- column: 50
63122
+ column: 65
63148
63123
  },
63149
63124
  end: {
63150
- line: 246,
63125
+ line: 247,
63151
63126
  column: 1
63152
63127
  }
63153
63128
  },
@@ -63195,7 +63170,7 @@ function cov_2kupegl7ql() {
63195
63170
  column: 44
63196
63171
  },
63197
63172
  end: {
63198
- line: 86,
63173
+ line: 87,
63199
63174
  column: 3
63200
63175
  }
63201
63176
  },
@@ -63205,241 +63180,241 @@ function cov_2kupegl7ql() {
63205
63180
  name: "(anonymous_3)",
63206
63181
  decl: {
63207
63182
  start: {
63208
- line: 88,
63183
+ line: 89,
63209
63184
  column: 22
63210
63185
  },
63211
63186
  end: {
63212
- line: 88,
63187
+ line: 89,
63213
63188
  column: 23
63214
63189
  }
63215
63190
  },
63216
63191
  loc: {
63217
63192
  start: {
63218
- line: 88,
63193
+ line: 89,
63219
63194
  column: 28
63220
63195
  },
63221
63196
  end: {
63222
- line: 91,
63197
+ line: 92,
63223
63198
  column: 3
63224
63199
  }
63225
63200
  },
63226
- line: 88
63201
+ line: 89
63227
63202
  },
63228
63203
  "4": {
63229
63204
  name: "(anonymous_4)",
63230
63205
  decl: {
63231
63206
  start: {
63232
- line: 103,
63207
+ line: 104,
63233
63208
  column: 22
63234
63209
  },
63235
63210
  end: {
63236
- line: 103,
63211
+ line: 104,
63237
63212
  column: 23
63238
63213
  }
63239
63214
  },
63240
63215
  loc: {
63241
63216
  start: {
63242
- line: 104,
63217
+ line: 105,
63243
63218
  column: 10
63244
63219
  },
63245
63220
  end: {
63246
- line: 171,
63221
+ line: 172,
63247
63222
  column: 27
63248
63223
  }
63249
63224
  },
63250
- line: 104
63225
+ line: 105
63251
63226
  },
63252
63227
  "5": {
63253
63228
  name: "(anonymous_5)",
63254
63229
  decl: {
63255
63230
  start: {
63256
- line: 129,
63231
+ line: 130,
63257
63232
  column: 27
63258
63233
  },
63259
63234
  end: {
63260
- line: 129,
63235
+ line: 130,
63261
63236
  column: 28
63262
63237
  }
63263
63238
  },
63264
63239
  loc: {
63265
63240
  start: {
63266
- line: 130,
63241
+ line: 131,
63267
63242
  column: 20
63268
63243
  },
63269
63244
  end: {
63270
- line: 130,
63245
+ line: 131,
63271
63246
  column: 70
63272
63247
  }
63273
63248
  },
63274
- line: 130
63249
+ line: 131
63275
63250
  },
63276
63251
  "6": {
63277
63252
  name: "(anonymous_6)",
63278
63253
  decl: {
63279
63254
  start: {
63280
- line: 146,
63255
+ line: 147,
63281
63256
  column: 30
63282
63257
  },
63283
63258
  end: {
63284
- line: 146,
63259
+ line: 147,
63285
63260
  column: 31
63286
63261
  }
63287
63262
  },
63288
63263
  loc: {
63289
63264
  start: {
63290
- line: 146,
63265
+ line: 147,
63291
63266
  column: 35
63292
63267
  },
63293
63268
  end: {
63294
- line: 146,
63269
+ line: 147,
63295
63270
  column: 64
63296
63271
  }
63297
63272
  },
63298
- line: 146
63273
+ line: 147
63299
63274
  },
63300
63275
  "7": {
63301
63276
  name: "(anonymous_7)",
63302
63277
  decl: {
63303
63278
  start: {
63304
- line: 152,
63279
+ line: 153,
63305
63280
  column: 39
63306
63281
  },
63307
63282
  end: {
63308
- line: 152,
63283
+ line: 153,
63309
63284
  column: 40
63310
63285
  }
63311
63286
  },
63312
63287
  loc: {
63313
63288
  start: {
63314
- line: 153,
63289
+ line: 154,
63315
63290
  column: 20
63316
63291
  },
63317
63292
  end: {
63318
- line: 166,
63293
+ line: 167,
63319
63294
  column: 38
63320
63295
  }
63321
63296
  },
63322
- line: 153
63297
+ line: 154
63323
63298
  },
63324
63299
  "8": {
63325
63300
  name: "(anonymous_8)",
63326
63301
  decl: {
63327
63302
  start: {
63328
- line: 163,
63303
+ line: 164,
63329
63304
  column: 31
63330
63305
  },
63331
63306
  end: {
63332
- line: 163,
63307
+ line: 164,
63333
63308
  column: 32
63334
63309
  }
63335
63310
  },
63336
63311
  loc: {
63337
63312
  start: {
63338
- line: 163,
63313
+ line: 164,
63339
63314
  column: 37
63340
63315
  },
63341
63316
  end: {
63342
- line: 163,
63317
+ line: 164,
63343
63318
  column: 68
63344
63319
  }
63345
63320
  },
63346
- line: 163
63321
+ line: 164
63347
63322
  },
63348
63323
  "9": {
63349
63324
  name: "(anonymous_9)",
63350
63325
  decl: {
63351
63326
  start: {
63352
- line: 191,
63327
+ line: 192,
63353
63328
  column: 23
63354
63329
  },
63355
63330
  end: {
63356
- line: 191,
63331
+ line: 192,
63357
63332
  column: 24
63358
63333
  }
63359
63334
  },
63360
63335
  loc: {
63361
63336
  start: {
63362
- line: 192,
63337
+ line: 193,
63363
63338
  column: 16
63364
63339
  },
63365
63340
  end: {
63366
- line: 192,
63341
+ line: 193,
63367
63342
  column: 67
63368
63343
  }
63369
63344
  },
63370
- line: 192
63345
+ line: 193
63371
63346
  },
63372
63347
  "10": {
63373
63348
  name: "(anonymous_10)",
63374
63349
  decl: {
63375
63350
  start: {
63376
- line: 208,
63351
+ line: 209,
63377
63352
  column: 26
63378
63353
  },
63379
63354
  end: {
63380
- line: 208,
63355
+ line: 209,
63381
63356
  column: 27
63382
63357
  }
63383
63358
  },
63384
63359
  loc: {
63385
63360
  start: {
63386
- line: 208,
63361
+ line: 209,
63387
63362
  column: 31
63388
63363
  },
63389
63364
  end: {
63390
- line: 208,
63365
+ line: 209,
63391
63366
  column: 60
63392
63367
  }
63393
63368
  },
63394
- line: 208
63369
+ line: 209
63395
63370
  },
63396
63371
  "11": {
63397
63372
  name: "(anonymous_11)",
63398
63373
  decl: {
63399
63374
  start: {
63400
- line: 214,
63375
+ line: 215,
63401
63376
  column: 35
63402
63377
  },
63403
63378
  end: {
63404
- line: 214,
63379
+ line: 215,
63405
63380
  column: 36
63406
63381
  }
63407
63382
  },
63408
63383
  loc: {
63409
63384
  start: {
63410
- line: 215,
63385
+ line: 216,
63411
63386
  column: 16
63412
63387
  },
63413
63388
  end: {
63414
- line: 228,
63389
+ line: 229,
63415
63390
  column: 34
63416
63391
  }
63417
63392
  },
63418
- line: 215
63393
+ line: 216
63419
63394
  },
63420
63395
  "12": {
63421
63396
  name: "(anonymous_12)",
63422
63397
  decl: {
63423
63398
  start: {
63424
- line: 225,
63399
+ line: 226,
63425
63400
  column: 27
63426
63401
  },
63427
63402
  end: {
63428
- line: 225,
63403
+ line: 226,
63429
63404
  column: 28
63430
63405
  }
63431
63406
  },
63432
63407
  loc: {
63433
63408
  start: {
63434
- line: 225,
63409
+ line: 226,
63435
63410
  column: 33
63436
63411
  },
63437
63412
  end: {
63438
- line: 225,
63413
+ line: 226,
63439
63414
  column: 64
63440
63415
  }
63441
63416
  },
63442
- line: 225
63417
+ line: 226
63443
63418
  }
63444
63419
  },
63445
63420
  branchMap: {
@@ -63908,233 +63883,233 @@ function cov_2kupegl7ql() {
63908
63883
  "14": {
63909
63884
  loc: {
63910
63885
  start: {
63911
- line: 102,
63886
+ line: 103,
63912
63887
  column: 7
63913
63888
  },
63914
63889
  end: {
63915
- line: 238,
63890
+ line: 239,
63916
63891
  column: 7
63917
63892
  }
63918
63893
  },
63919
63894
  type: "cond-expr",
63920
63895
  locations: [{
63921
63896
  start: {
63922
- line: 103,
63897
+ line: 104,
63923
63898
  column: 8
63924
63899
  },
63925
63900
  end: {
63926
- line: 172,
63901
+ line: 173,
63927
63902
  column: 10
63928
63903
  }
63929
63904
  }, {
63930
63905
  start: {
63931
- line: 174,
63906
+ line: 175,
63932
63907
  column: 8
63933
63908
  },
63934
63909
  end: {
63935
- line: 237,
63910
+ line: 238,
63936
63911
  column: 19
63937
63912
  }
63938
63913
  }],
63939
- line: 102
63914
+ line: 103
63940
63915
  },
63941
63916
  "15": {
63942
63917
  loc: {
63943
63918
  start: {
63944
- line: 105,
63919
+ line: 106,
63945
63920
  column: 13
63946
63921
  },
63947
63922
  end: {
63948
- line: 113,
63923
+ line: 114,
63949
63924
  column: 13
63950
63925
  }
63951
63926
  },
63952
63927
  type: "binary-expr",
63953
63928
  locations: [{
63954
63929
  start: {
63955
- line: 105,
63930
+ line: 106,
63956
63931
  column: 13
63957
63932
  },
63958
63933
  end: {
63959
- line: 105,
63934
+ line: 106,
63960
63935
  column: 18
63961
63936
  }
63962
63937
  }, {
63963
63938
  start: {
63964
- line: 106,
63939
+ line: 107,
63965
63940
  column: 14
63966
63941
  },
63967
63942
  end: {
63968
- line: 112,
63943
+ line: 113,
63969
63944
  column: 27
63970
63945
  }
63971
63946
  }],
63972
- line: 105
63947
+ line: 106
63973
63948
  },
63974
63949
  "16": {
63975
63950
  loc: {
63976
63951
  start: {
63977
- line: 130,
63952
+ line: 131,
63978
63953
  column: 36
63979
63954
  },
63980
63955
  end: {
63981
- line: 130,
63956
+ line: 131,
63982
63957
  column: 69
63983
63958
  }
63984
63959
  },
63985
63960
  type: "cond-expr",
63986
63961
  locations: [{
63987
63962
  start: {
63988
- line: 130,
63963
+ line: 131,
63989
63964
  column: 51
63990
63965
  },
63991
63966
  end: {
63992
- line: 130,
63967
+ line: 131,
63993
63968
  column: 55
63994
63969
  }
63995
63970
  }, {
63996
63971
  start: {
63997
- line: 130,
63972
+ line: 131,
63998
63973
  column: 58
63999
63974
  },
64000
63975
  end: {
64001
- line: 130,
63976
+ line: 131,
64002
63977
  column: 69
64003
63978
  }
64004
63979
  }],
64005
- line: 130
63980
+ line: 131
64006
63981
  },
64007
63982
  "17": {
64008
63983
  loc: {
64009
63984
  start: {
64010
- line: 139,
63985
+ line: 140,
64011
63986
  column: 17
64012
63987
  },
64013
63988
  end: {
64014
- line: 148,
63989
+ line: 149,
64015
63990
  column: 17
64016
63991
  }
64017
63992
  },
64018
63993
  type: "binary-expr",
64019
63994
  locations: [{
64020
63995
  start: {
64021
- line: 139,
63996
+ line: 140,
64022
63997
  column: 17
64023
63998
  },
64024
63999
  end: {
64025
- line: 139,
64000
+ line: 140,
64026
64001
  column: 63
64027
64002
  }
64028
64003
  }, {
64029
64004
  start: {
64030
- line: 140,
64005
+ line: 141,
64031
64006
  column: 18
64032
64007
  },
64033
64008
  end: {
64034
- line: 147,
64009
+ line: 148,
64035
64010
  column: 20
64036
64011
  }
64037
64012
  }],
64038
- line: 139
64013
+ line: 140
64039
64014
  },
64040
64015
  "18": {
64041
64016
  loc: {
64042
64017
  start: {
64043
- line: 192,
64018
+ line: 193,
64044
64019
  column: 32
64045
64020
  },
64046
64021
  end: {
64047
- line: 192,
64022
+ line: 193,
64048
64023
  column: 66
64049
64024
  }
64050
64025
  },
64051
64026
  type: "cond-expr",
64052
64027
  locations: [{
64053
64028
  start: {
64054
- line: 192,
64029
+ line: 193,
64055
64030
  column: 47
64056
64031
  },
64057
64032
  end: {
64058
- line: 192,
64033
+ line: 193,
64059
64034
  column: 51
64060
64035
  }
64061
64036
  }, {
64062
64037
  start: {
64063
- line: 192,
64038
+ line: 193,
64064
64039
  column: 54
64065
64040
  },
64066
64041
  end: {
64067
- line: 192,
64042
+ line: 193,
64068
64043
  column: 66
64069
64044
  }
64070
64045
  }],
64071
- line: 192
64046
+ line: 193
64072
64047
  },
64073
64048
  "19": {
64074
64049
  loc: {
64075
64050
  start: {
64076
- line: 201,
64051
+ line: 202,
64077
64052
  column: 13
64078
64053
  },
64079
64054
  end: {
64080
- line: 210,
64055
+ line: 211,
64081
64056
  column: 13
64082
64057
  }
64083
64058
  },
64084
64059
  type: "binary-expr",
64085
64060
  locations: [{
64086
64061
  start: {
64087
- line: 201,
64062
+ line: 202,
64088
64063
  column: 13
64089
64064
  },
64090
64065
  end: {
64091
- line: 201,
64066
+ line: 202,
64092
64067
  column: 59
64093
64068
  }
64094
64069
  }, {
64095
64070
  start: {
64096
- line: 202,
64071
+ line: 203,
64097
64072
  column: 14
64098
64073
  },
64099
64074
  end: {
64100
- line: 209,
64075
+ line: 210,
64101
64076
  column: 16
64102
64077
  }
64103
64078
  }],
64104
- line: 201
64079
+ line: 202
64105
64080
  },
64106
64081
  "20": {
64107
64082
  loc: {
64108
64083
  start: {
64109
- line: 231,
64084
+ line: 232,
64110
64085
  column: 13
64111
64086
  },
64112
64087
  end: {
64113
- line: 235,
64088
+ line: 236,
64114
64089
  column: 13
64115
64090
  }
64116
64091
  },
64117
64092
  type: "binary-expr",
64118
64093
  locations: [{
64119
64094
  start: {
64120
- line: 231,
64095
+ line: 232,
64121
64096
  column: 13
64122
64097
  },
64123
64098
  end: {
64124
- line: 231,
64099
+ line: 232,
64125
64100
  column: 37
64126
64101
  }
64127
64102
  }, {
64128
64103
  start: {
64129
- line: 232,
64104
+ line: 233,
64130
64105
  column: 14
64131
64106
  },
64132
64107
  end: {
64133
- line: 234,
64108
+ line: 235,
64134
64109
  column: 32
64135
64110
  }
64136
64111
  }],
64137
- line: 231
64112
+ line: 232
64138
64113
  }
64139
64114
  },
64140
64115
  s: {
@@ -64191,7 +64166,8 @@ function cov_2kupegl7ql() {
64191
64166
  "50": 0,
64192
64167
  "51": 0,
64193
64168
  "52": 0,
64194
- "53": 0
64169
+ "53": 0,
64170
+ "54": 0
64195
64171
  },
64196
64172
  f: {
64197
64173
  "0": 0,
@@ -64232,7 +64208,7 @@ function cov_2kupegl7ql() {
64232
64208
  "20": [0, 0]
64233
64209
  },
64234
64210
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
64235
- hash: "48007c5a85192891755b1b9f88b45e5d9cb5aa6b"
64211
+ hash: "23483456014f72294d9cd81bf25d9ebd1044ebf1"
64236
64212
  };
64237
64213
  var coverage = global[gcv] || (global[gcv] = {});
64238
64214
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -64257,6 +64233,7 @@ cov_2kupegl7ql().s[1]++;
64257
64233
  var Events$1 = function Events(_ref2) {
64258
64234
  var name = _ref2.name,
64259
64235
  data = _ref2.data,
64236
+ onSelectEvent = _ref2.onSelectEvent,
64260
64237
  performerName = _ref2.performerName;
64261
64238
  cov_2kupegl7ql().f[0]++;
64262
64239
  var _ref3 = (cov_2kupegl7ql().s[2]++, formik.useFormikContext()),
@@ -64375,17 +64352,19 @@ var Events$1 = function Events(_ref2) {
64375
64352
  name: option.value
64376
64353
  }]));
64377
64354
  cov_2kupegl7ql().s[40]++;
64355
+ onSelectEvent === null || onSelectEvent === void 0 ? void 0 : onSelectEvent(name, options);
64356
+ cov_2kupegl7ql().s[41]++;
64378
64357
  setFieldValue("".concat(name, ".value"), options);
64379
64358
  };
64380
- cov_2kupegl7ql().s[41]++;
64359
+ cov_2kupegl7ql().s[42]++;
64381
64360
  var handleClose = function handleClose() {
64382
64361
  cov_2kupegl7ql().f[3]++;
64383
- cov_2kupegl7ql().s[42]++;
64384
- setActiveOption(null);
64385
64362
  cov_2kupegl7ql().s[43]++;
64363
+ setActiveOption(null);
64364
+ cov_2kupegl7ql().s[44]++;
64386
64365
  setSearchTerm("");
64387
64366
  };
64388
- cov_2kupegl7ql().s[44]++;
64367
+ cov_2kupegl7ql().s[45]++;
64389
64368
  return /*#__PURE__*/React__default["default"].createElement("div", {
64390
64369
  className: "my-auto flex flex-wrap gap-x-2 gap-y-3"
64391
64370
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
@@ -64395,7 +64374,7 @@ var Events$1 = function Events(_ref2) {
64395
64374
  }, t("common.when")), allEvents.length ? (cov_2kupegl7ql().b[14][0]++, allEvents.map(function (event, idx) {
64396
64375
  var _event$label;
64397
64376
  cov_2kupegl7ql().f[4]++;
64398
- cov_2kupegl7ql().s[45]++;
64377
+ cov_2kupegl7ql().s[46]++;
64399
64378
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
64400
64379
  key: idx
64401
64380
  }, (cov_2kupegl7ql().b[15][0]++, !!idx) && (cov_2kupegl7ql().b[15][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
@@ -64415,7 +64394,7 @@ var Events$1 = function Events(_ref2) {
64415
64394
  }),
64416
64395
  onClick: function onClick() {
64417
64396
  cov_2kupegl7ql().f[5]++;
64418
- cov_2kupegl7ql().s[46]++;
64397
+ cov_2kupegl7ql().s[47]++;
64419
64398
  return setActiveOption(activeOption ? (cov_2kupegl7ql().b[16][0]++, null) : (cov_2kupegl7ql().b[16][1]++, event.value));
64420
64399
  }
64421
64400
  }, event === null || event === void 0 ? void 0 : (_event$label = event.label) === null || _event$label === void 0 ? void 0 : _event$label.toLowerCase()),
@@ -64430,14 +64409,14 @@ var Events$1 = function Events(_ref2) {
64430
64409
  value: searchTerm,
64431
64410
  onChange: function onChange(e) {
64432
64411
  cov_2kupegl7ql().f[6]++;
64433
- cov_2kupegl7ql().s[47]++;
64412
+ cov_2kupegl7ql().s[48]++;
64434
64413
  return setSearchTerm(e.target.value);
64435
64414
  }
64436
64415
  })), /*#__PURE__*/React__default["default"].createElement(OptionsWrapper, {
64437
64416
  hasScroll: dropdownOptions.length > MAXIMUM_OPTION_LENGTH
64438
64417
  }, searchedOptions.map(function (option, idx) {
64439
64418
  cov_2kupegl7ql().f[7]++;
64440
- cov_2kupegl7ql().s[48]++;
64419
+ cov_2kupegl7ql().s[49]++;
64441
64420
  return /*#__PURE__*/React__default["default"].createElement(MenuItem$2.Button, {
64442
64421
  "data-cy": "".concat(utils.joinHyphenCase(option.label), "-menu-item"),
64443
64422
  key: idx,
@@ -64448,7 +64427,7 @@ var Events$1 = function Events(_ref2) {
64448
64427
  }),
64449
64428
  onClick: function onClick() {
64450
64429
  cov_2kupegl7ql().f[8]++;
64451
- cov_2kupegl7ql().s[49]++;
64430
+ cov_2kupegl7ql().s[50]++;
64452
64431
  return handleMultiSelectOption(option);
64453
64432
  }
64454
64433
  }, option.label);
@@ -64468,7 +64447,7 @@ var Events$1 = function Events(_ref2) {
64468
64447
  }),
64469
64448
  onClick: function onClick() {
64470
64449
  cov_2kupegl7ql().f[9]++;
64471
- cov_2kupegl7ql().s[50]++;
64450
+ cov_2kupegl7ql().s[51]++;
64472
64451
  return setActiveOption(activeOption ? (cov_2kupegl7ql().b[18][0]++, null) : (cov_2kupegl7ql().b[18][1]++, defaultLabel));
64473
64452
  }
64474
64453
  }, defaultLabel),
@@ -64483,14 +64462,14 @@ var Events$1 = function Events(_ref2) {
64483
64462
  value: searchTerm,
64484
64463
  onChange: function onChange(e) {
64485
64464
  cov_2kupegl7ql().f[10]++;
64486
- cov_2kupegl7ql().s[51]++;
64465
+ cov_2kupegl7ql().s[52]++;
64487
64466
  return setSearchTerm(e.target.value);
64488
64467
  }
64489
64468
  })), /*#__PURE__*/React__default["default"].createElement(OptionsWrapper, {
64490
64469
  hasScroll: dropdownOptions.length > MAXIMUM_OPTION_LENGTH
64491
64470
  }, searchedOptions.map(function (option, idx) {
64492
64471
  cov_2kupegl7ql().f[11]++;
64493
- cov_2kupegl7ql().s[52]++;
64472
+ cov_2kupegl7ql().s[53]++;
64494
64473
  return /*#__PURE__*/React__default["default"].createElement(MenuItem$2.Button, {
64495
64474
  "data-cy": "".concat(utils.joinHyphenCase(option.label), "-menu-item"),
64496
64475
  key: idx,
@@ -64501,7 +64480,7 @@ var Events$1 = function Events(_ref2) {
64501
64480
  }),
64502
64481
  onClick: function onClick() {
64503
64482
  cov_2kupegl7ql().f[12]++;
64504
- cov_2kupegl7ql().s[53]++;
64483
+ cov_2kupegl7ql().s[54]++;
64505
64484
  return handleMultiSelectOption(option);
64506
64485
  }
64507
64486
  }, option.label);
@@ -64514,10 +64493,10 @@ var Events$1 = function Events(_ref2) {
64514
64493
  }));
64515
64494
  };
64516
64495
 
64517
- var _excluded$5 = ["data", "label", "name", "performerName", "conditionsName"];
64496
+ var _excluded$5 = ["data", "label", "name", "performerName", "conditionsName", "onSelectEvent"];
64518
64497
  function cov_12u811mcez() {
64519
64498
  var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/EventConditions/index.jsx";
64520
- var hash = "abebff29dc84e19538cad5ad675263f6e820debb";
64499
+ var hash = "47a7986f3811e066550f22ba4d54668f6d538b0b";
64521
64500
  var global = new Function("return this")();
64522
64501
  var gcv = "__coverage__";
64523
64502
  var coverageData = {
@@ -64529,87 +64508,87 @@ function cov_12u811mcez() {
64529
64508
  column: 24
64530
64509
  },
64531
64510
  end: {
64532
- line: 81,
64511
+ line: 87,
64533
64512
  column: 1
64534
64513
  }
64535
64514
  },
64536
64515
  "1": {
64537
64516
  start: {
64538
- line: 24,
64517
+ line: 25,
64539
64518
  column: 36
64540
64519
  },
64541
64520
  end: {
64542
- line: 24,
64521
+ line: 25,
64543
64522
  column: 54
64544
64523
  }
64545
64524
  },
64546
64525
  "2": {
64547
64526
  start: {
64548
- line: 26,
64527
+ line: 27,
64549
64528
  column: 23
64550
64529
  },
64551
64530
  end: {
64552
- line: 26,
64531
+ line: 27,
64553
64532
  column: 39
64554
64533
  }
64555
64534
  },
64556
64535
  "3": {
64557
64536
  start: {
64558
- line: 27,
64537
+ line: 28,
64559
64538
  column: 25
64560
64539
  },
64561
64540
  end: {
64562
- line: 27,
64541
+ line: 28,
64563
64542
  column: 51
64564
64543
  }
64565
64544
  },
64566
64545
  "4": {
64567
64546
  start: {
64568
- line: 28,
64547
+ line: 29,
64569
64548
  column: 21
64570
64549
  },
64571
64550
  end: {
64572
- line: 28,
64551
+ line: 29,
64573
64552
  column: 55
64574
64553
  }
64575
64554
  },
64576
64555
  "5": {
64577
64556
  start: {
64578
- line: 29,
64557
+ line: 30,
64579
64558
  column: 24
64580
64559
  },
64581
64560
  end: {
64582
- line: 29,
64561
+ line: 30,
64583
64562
  column: 43
64584
64563
  }
64585
64564
  },
64586
64565
  "6": {
64587
64566
  start: {
64588
- line: 31,
64567
+ line: 32,
64589
64568
  column: 29
64590
64569
  },
64591
64570
  end: {
64592
- line: 40,
64571
+ line: 41,
64593
64572
  column: 3
64594
64573
  }
64595
64574
  },
64596
64575
  "7": {
64597
64576
  start: {
64598
- line: 32,
64577
+ line: 33,
64599
64578
  column: 4
64600
64579
  },
64601
64580
  end: {
64602
- line: 39,
64581
+ line: 40,
64603
64582
  column: 7
64604
64583
  }
64605
64584
  },
64606
64585
  "8": {
64607
64586
  start: {
64608
- line: 42,
64587
+ line: 43,
64609
64588
  column: 2
64610
64589
  },
64611
64590
  end: {
64612
- line: 80,
64591
+ line: 86,
64613
64592
  column: 4
64614
64593
  }
64615
64594
  }
@@ -64629,239 +64608,239 @@ function cov_12u811mcez() {
64629
64608
  },
64630
64609
  loc: {
64631
64610
  start: {
64632
- line: 23,
64611
+ line: 24,
64633
64612
  column: 6
64634
64613
  },
64635
64614
  end: {
64636
- line: 81,
64615
+ line: 87,
64637
64616
  column: 1
64638
64617
  }
64639
64618
  },
64640
- line: 23
64619
+ line: 24
64641
64620
  },
64642
64621
  "1": {
64643
64622
  name: "(anonymous_1)",
64644
64623
  decl: {
64645
64624
  start: {
64646
- line: 31,
64625
+ line: 32,
64647
64626
  column: 29
64648
64627
  },
64649
64628
  end: {
64650
- line: 31,
64629
+ line: 32,
64651
64630
  column: 30
64652
64631
  }
64653
64632
  },
64654
64633
  loc: {
64655
64634
  start: {
64656
- line: 31,
64635
+ line: 32,
64657
64636
  column: 35
64658
64637
  },
64659
64638
  end: {
64660
- line: 40,
64639
+ line: 41,
64661
64640
  column: 3
64662
64641
  }
64663
64642
  },
64664
- line: 31
64643
+ line: 32
64665
64644
  }
64666
64645
  },
64667
64646
  branchMap: {
64668
64647
  "0": {
64669
64648
  loc: {
64670
64649
  start: {
64671
- line: 26,
64650
+ line: 27,
64672
64651
  column: 23
64673
64652
  },
64674
64653
  end: {
64675
- line: 26,
64654
+ line: 27,
64676
64655
  column: 39
64677
64656
  }
64678
64657
  },
64679
64658
  type: "binary-expr",
64680
64659
  locations: [{
64681
64660
  start: {
64682
- line: 26,
64661
+ line: 27,
64683
64662
  column: 23
64684
64663
  },
64685
64664
  end: {
64686
- line: 26,
64665
+ line: 27,
64687
64666
  column: 33
64688
64667
  }
64689
64668
  }, {
64690
64669
  start: {
64691
- line: 26,
64670
+ line: 27,
64692
64671
  column: 37
64693
64672
  },
64694
64673
  end: {
64695
- line: 26,
64674
+ line: 27,
64696
64675
  column: 39
64697
64676
  }
64698
64677
  }],
64699
- line: 26
64678
+ line: 27
64700
64679
  },
64701
64680
  "1": {
64702
64681
  loc: {
64703
64682
  start: {
64704
- line: 27,
64683
+ line: 28,
64705
64684
  column: 25
64706
64685
  },
64707
64686
  end: {
64708
- line: 27,
64687
+ line: 28,
64709
64688
  column: 51
64710
64689
  }
64711
64690
  },
64712
64691
  type: "binary-expr",
64713
64692
  locations: [{
64714
64693
  start: {
64715
- line: 27,
64694
+ line: 28,
64716
64695
  column: 25
64717
64696
  },
64718
64697
  end: {
64719
- line: 27,
64698
+ line: 28,
64720
64699
  column: 45
64721
64700
  }
64722
64701
  }, {
64723
64702
  start: {
64724
- line: 27,
64703
+ line: 28,
64725
64704
  column: 49
64726
64705
  },
64727
64706
  end: {
64728
- line: 27,
64707
+ line: 28,
64729
64708
  column: 51
64730
64709
  }
64731
64710
  }],
64732
- line: 27
64711
+ line: 28
64733
64712
  },
64734
64713
  "2": {
64735
64714
  loc: {
64736
64715
  start: {
64737
- line: 28,
64716
+ line: 29,
64738
64717
  column: 21
64739
64718
  },
64740
64719
  end: {
64741
- line: 28,
64720
+ line: 29,
64742
64721
  column: 55
64743
64722
  }
64744
64723
  },
64745
64724
  type: "binary-expr",
64746
64725
  locations: [{
64747
64726
  start: {
64748
- line: 28,
64727
+ line: 29,
64749
64728
  column: 21
64750
64729
  },
64751
64730
  end: {
64752
- line: 28,
64731
+ line: 29,
64753
64732
  column: 49
64754
64733
  }
64755
64734
  }, {
64756
64735
  start: {
64757
- line: 28,
64736
+ line: 29,
64758
64737
  column: 53
64759
64738
  },
64760
64739
  end: {
64761
- line: 28,
64740
+ line: 29,
64762
64741
  column: 55
64763
64742
  }
64764
64743
  }],
64765
- line: 28
64744
+ line: 29
64766
64745
  },
64767
64746
  "3": {
64768
64747
  loc: {
64769
64748
  start: {
64770
- line: 44,
64749
+ line: 45,
64771
64750
  column: 19
64772
64751
  },
64773
64752
  end: {
64774
- line: 44,
64753
+ line: 45,
64775
64754
  column: 47
64776
64755
  }
64777
64756
  },
64778
64757
  type: "binary-expr",
64779
64758
  locations: [{
64780
64759
  start: {
64781
- line: 44,
64760
+ line: 45,
64782
64761
  column: 19
64783
64762
  },
64784
64763
  end: {
64785
- line: 44,
64764
+ line: 45,
64786
64765
  column: 24
64787
64766
  }
64788
64767
  }, {
64789
64768
  start: {
64790
- line: 44,
64769
+ line: 45,
64791
64770
  column: 28
64792
64771
  },
64793
64772
  end: {
64794
- line: 44,
64773
+ line: 45,
64795
64774
  column: 47
64796
64775
  }
64797
64776
  }],
64798
- line: 44
64777
+ line: 45
64799
64778
  },
64800
64779
  "4": {
64801
64780
  loc: {
64802
64781
  start: {
64803
- line: 53,
64782
+ line: 59,
64804
64783
  column: 11
64805
64784
  },
64806
64785
  end: {
64807
- line: 66,
64786
+ line: 72,
64808
64787
  column: 11
64809
64788
  }
64810
64789
  },
64811
64790
  type: "binary-expr",
64812
64791
  locations: [{
64813
64792
  start: {
64814
- line: 53,
64793
+ line: 59,
64815
64794
  column: 11
64816
64795
  },
64817
64796
  end: {
64818
- line: 53,
64797
+ line: 59,
64819
64798
  column: 24
64820
64799
  }
64821
64800
  }, {
64822
64801
  start: {
64823
- line: 54,
64802
+ line: 60,
64824
64803
  column: 12
64825
64804
  },
64826
64805
  end: {
64827
- line: 65,
64806
+ line: 71,
64828
64807
  column: 14
64829
64808
  }
64830
64809
  }],
64831
- line: 53
64810
+ line: 59
64832
64811
  },
64833
64812
  "5": {
64834
64813
  loc: {
64835
64814
  start: {
64836
- line: 68,
64815
+ line: 74,
64837
64816
  column: 9
64838
64817
  },
64839
64818
  end: {
64840
- line: 77,
64819
+ line: 83,
64841
64820
  column: 9
64842
64821
  }
64843
64822
  },
64844
64823
  type: "binary-expr",
64845
64824
  locations: [{
64846
64825
  start: {
64847
- line: 68,
64826
+ line: 74,
64848
64827
  column: 9
64849
64828
  },
64850
64829
  end: {
64851
- line: 68,
64830
+ line: 74,
64852
64831
  column: 23
64853
64832
  }
64854
64833
  }, {
64855
64834
  start: {
64856
- line: 69,
64835
+ line: 75,
64857
64836
  column: 10
64858
64837
  },
64859
64838
  end: {
64860
- line: 76,
64839
+ line: 82,
64861
64840
  column: 16
64862
64841
  }
64863
64842
  }],
64864
- line: 68
64843
+ line: 74
64865
64844
  }
64866
64845
  },
64867
64846
  s: {
@@ -64888,7 +64867,7 @@ function cov_12u811mcez() {
64888
64867
  "5": [0, 0]
64889
64868
  },
64890
64869
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
64891
- hash: "abebff29dc84e19538cad5ad675263f6e820debb"
64870
+ hash: "47a7986f3811e066550f22ba4d54668f6d538b0b"
64892
64871
  };
64893
64872
  var coverage = global[gcv] || (global[gcv] = {});
64894
64873
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -64911,6 +64890,7 @@ var EventConditions = function EventConditions(_ref) {
64911
64890
  name = _ref.name,
64912
64891
  performerName = _ref.performerName,
64913
64892
  conditionsName = _ref.conditionsName,
64893
+ onSelectEvent = _ref.onSelectEvent,
64914
64894
  config = _objectWithoutProperties(_ref, _excluded$5);
64915
64895
  cov_12u811mcez().f[0]++;
64916
64896
  var _ref2 = (cov_12u811mcez().s[1]++, formik.useFormikContext()),
@@ -64944,7 +64924,8 @@ var EventConditions = function EventConditions(_ref) {
64944
64924
  }, /*#__PURE__*/React__default["default"].createElement(Events$1, {
64945
64925
  data: data,
64946
64926
  name: name,
64947
- performerName: performerName
64927
+ performerName: performerName,
64928
+ onSelectEvent: onSelectEvent
64948
64929
  })), (cov_12u811mcez().b[4][0]++, showAddButton) && (cov_12u811mcez().b[4][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
64949
64930
  "data-cy": "add-condition-button",
64950
64931
  "data-test-id": "automation-rules-add-events-button",