@bigbinary/neeto-rules-frontend 0.0.92 → 0.0.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -42271,7 +42271,7 @@ var InputField$2 = function InputField(_ref) {
42271
42271
 
42272
42272
  function cov_25nnzrwa0x() {
42273
42273
  var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Actions/ActionSubItem/Fields/EmailFields.jsx";
42274
- var hash = "9fa35858f63807c163dd8b2a7c4b4b1e94f02782";
42274
+ var hash = "25f59464e0f4ae63b21a16cf361e73db5500be37";
42275
42275
  var global = new Function("return this")();
42276
42276
  var gcv = "__coverage__";
42277
42277
  var coverageData = {
@@ -42283,7 +42283,7 @@ function cov_25nnzrwa0x() {
42283
42283
  column: 20
42284
42284
  },
42285
42285
  end: {
42286
- line: 122,
42286
+ line: 123,
42287
42287
  column: 1
42288
42288
  }
42289
42289
  },
@@ -42359,71 +42359,81 @@ function cov_25nnzrwa0x() {
42359
42359
  },
42360
42360
  "8": {
42361
42361
  start: {
42362
- line: 35,
42362
+ line: 34,
42363
+ column: 23
42364
+ },
42365
+ end: {
42366
+ line: 34,
42367
+ column: 75
42368
+ }
42369
+ },
42370
+ "9": {
42371
+ start: {
42372
+ line: 36,
42363
42373
  column: 2
42364
42374
  },
42365
42375
  end: {
42366
- line: 121,
42376
+ line: 122,
42367
42377
  column: 4
42368
42378
  }
42369
42379
  },
42370
- "9": {
42380
+ "10": {
42371
42381
  start: {
42372
- line: 56,
42382
+ line: 57,
42373
42383
  column: 23
42374
42384
  },
42375
42385
  end: {
42376
- line: 56,
42386
+ line: 57,
42377
42387
  column: 59
42378
42388
  }
42379
42389
  },
42380
- "10": {
42390
+ "11": {
42381
42391
  start: {
42382
- line: 56,
42392
+ line: 57,
42383
42393
  column: 48
42384
42394
  },
42385
42395
  end: {
42386
- line: 56,
42396
+ line: 57,
42387
42397
  column: 58
42388
42398
  }
42389
42399
  },
42390
- "11": {
42400
+ "12": {
42391
42401
  start: {
42392
- line: 64,
42402
+ line: 65,
42393
42403
  column: 23
42394
42404
  },
42395
42405
  end: {
42396
- line: 64,
42406
+ line: 65,
42397
42407
  column: 41
42398
42408
  }
42399
42409
  },
42400
- "12": {
42410
+ "13": {
42401
42411
  start: {
42402
- line: 111,
42412
+ line: 112,
42403
42413
  column: 27
42404
42414
  },
42405
42415
  end: {
42406
- line: 111,
42416
+ line: 112,
42407
42417
  column: 45
42408
42418
  }
42409
42419
  },
42410
- "13": {
42420
+ "14": {
42411
42421
  start: {
42412
- line: 116,
42422
+ line: 117,
42413
42423
  column: 27
42414
42424
  },
42415
42425
  end: {
42416
- line: 116,
42426
+ line: 117,
42417
42427
  column: 45
42418
42428
  }
42419
42429
  },
42420
- "14": {
42430
+ "15": {
42421
42431
  start: {
42422
- line: 124,
42432
+ line: 125,
42423
42433
  column: 0
42424
42434
  },
42425
42435
  end: {
42426
- line: 128,
42436
+ line: 129,
42427
42437
  column: 2
42428
42438
  }
42429
42439
  }
@@ -42447,7 +42457,7 @@ function cov_25nnzrwa0x() {
42447
42457
  column: 6
42448
42458
  },
42449
42459
  end: {
42450
- line: 122,
42460
+ line: 123,
42451
42461
  column: 1
42452
42462
  }
42453
42463
  },
@@ -42481,121 +42491,121 @@ function cov_25nnzrwa0x() {
42481
42491
  name: "(anonymous_2)",
42482
42492
  decl: {
42483
42493
  start: {
42484
- line: 56,
42494
+ line: 57,
42485
42495
  column: 17
42486
42496
  },
42487
42497
  end: {
42488
- line: 56,
42498
+ line: 57,
42489
42499
  column: 18
42490
42500
  }
42491
42501
  },
42492
42502
  loc: {
42493
42503
  start: {
42494
- line: 56,
42504
+ line: 57,
42495
42505
  column: 23
42496
42506
  },
42497
42507
  end: {
42498
- line: 56,
42508
+ line: 57,
42499
42509
  column: 59
42500
42510
  }
42501
42511
  },
42502
- line: 56
42512
+ line: 57
42503
42513
  },
42504
42514
  "3": {
42505
42515
  name: "(anonymous_3)",
42506
42516
  decl: {
42507
42517
  start: {
42508
- line: 56,
42518
+ line: 57,
42509
42519
  column: 35
42510
42520
  },
42511
42521
  end: {
42512
- line: 56,
42522
+ line: 57,
42513
42523
  column: 36
42514
42524
  }
42515
42525
  },
42516
42526
  loc: {
42517
42527
  start: {
42518
- line: 56,
42528
+ line: 57,
42519
42529
  column: 48
42520
42530
  },
42521
42531
  end: {
42522
- line: 56,
42532
+ line: 57,
42523
42533
  column: 58
42524
42534
  }
42525
42535
  },
42526
- line: 56
42536
+ line: 57
42527
42537
  },
42528
42538
  "4": {
42529
42539
  name: "(anonymous_4)",
42530
42540
  decl: {
42531
42541
  start: {
42532
- line: 64,
42542
+ line: 65,
42533
42543
  column: 17
42534
42544
  },
42535
42545
  end: {
42536
- line: 64,
42546
+ line: 65,
42537
42547
  column: 18
42538
42548
  }
42539
42549
  },
42540
42550
  loc: {
42541
42551
  start: {
42542
- line: 64,
42552
+ line: 65,
42543
42553
  column: 23
42544
42554
  },
42545
42555
  end: {
42546
- line: 64,
42556
+ line: 65,
42547
42557
  column: 41
42548
42558
  }
42549
42559
  },
42550
- line: 64
42560
+ line: 65
42551
42561
  },
42552
42562
  "5": {
42553
42563
  name: "(anonymous_5)",
42554
42564
  decl: {
42555
42565
  start: {
42556
- line: 111,
42566
+ line: 112,
42557
42567
  column: 21
42558
42568
  },
42559
42569
  end: {
42560
- line: 111,
42570
+ line: 112,
42561
42571
  column: 22
42562
42572
  }
42563
42573
  },
42564
42574
  loc: {
42565
42575
  start: {
42566
- line: 111,
42576
+ line: 112,
42567
42577
  column: 27
42568
42578
  },
42569
42579
  end: {
42570
- line: 111,
42580
+ line: 112,
42571
42581
  column: 45
42572
42582
  }
42573
42583
  },
42574
- line: 111
42584
+ line: 112
42575
42585
  },
42576
42586
  "6": {
42577
42587
  name: "(anonymous_6)",
42578
42588
  decl: {
42579
42589
  start: {
42580
- line: 116,
42590
+ line: 117,
42581
42591
  column: 21
42582
42592
  },
42583
42593
  end: {
42584
- line: 116,
42594
+ line: 117,
42585
42595
  column: 22
42586
42596
  }
42587
42597
  },
42588
42598
  loc: {
42589
42599
  start: {
42590
- line: 116,
42600
+ line: 117,
42591
42601
  column: 27
42592
42602
  },
42593
42603
  end: {
42594
- line: 116,
42604
+ line: 117,
42595
42605
  column: 45
42596
42606
  }
42597
42607
  },
42598
- line: 116
42608
+ line: 117
42599
42609
  }
42600
42610
  },
42601
42611
  branchMap: {
@@ -42716,167 +42726,200 @@ function cov_25nnzrwa0x() {
42716
42726
  "4": {
42717
42727
  loc: {
42718
42728
  start: {
42719
- line: 78,
42729
+ line: 34,
42730
+ column: 23
42731
+ },
42732
+ end: {
42733
+ line: 34,
42734
+ column: 75
42735
+ }
42736
+ },
42737
+ type: "binary-expr",
42738
+ locations: [{
42739
+ start: {
42740
+ line: 34,
42741
+ column: 23
42742
+ },
42743
+ end: {
42744
+ line: 34,
42745
+ column: 54
42746
+ }
42747
+ }, {
42748
+ start: {
42749
+ line: 34,
42750
+ column: 58
42751
+ },
42752
+ end: {
42753
+ line: 34,
42754
+ column: 75
42755
+ }
42756
+ }],
42757
+ line: 34
42758
+ },
42759
+ "5": {
42760
+ loc: {
42761
+ start: {
42762
+ line: 79,
42720
42763
  column: 13
42721
42764
  },
42722
42765
  end: {
42723
- line: 84,
42766
+ line: 85,
42724
42767
  column: 13
42725
42768
  }
42726
42769
  },
42727
42770
  type: "binary-expr",
42728
42771
  locations: [{
42729
42772
  start: {
42730
- line: 78,
42773
+ line: 79,
42731
42774
  column: 13
42732
42775
  },
42733
42776
  end: {
42734
- line: 78,
42777
+ line: 79,
42735
42778
  column: 27
42736
42779
  }
42737
42780
  }, {
42738
42781
  start: {
42739
- line: 79,
42782
+ line: 80,
42740
42783
  column: 14
42741
42784
  },
42742
42785
  end: {
42743
- line: 83,
42786
+ line: 84,
42744
42787
  column: 16
42745
42788
  }
42746
42789
  }],
42747
- line: 78
42790
+ line: 79
42748
42791
  },
42749
- "5": {
42792
+ "6": {
42750
42793
  loc: {
42751
42794
  start: {
42752
- line: 85,
42795
+ line: 86,
42753
42796
  column: 13
42754
42797
  },
42755
42798
  end: {
42756
- line: 93,
42799
+ line: 94,
42757
42800
  column: 13
42758
42801
  }
42759
42802
  },
42760
42803
  type: "binary-expr",
42761
42804
  locations: [{
42762
42805
  start: {
42763
- line: 85,
42806
+ line: 86,
42764
42807
  column: 13
42765
42808
  },
42766
42809
  end: {
42767
- line: 85,
42810
+ line: 86,
42768
42811
  column: 39
42769
42812
  }
42770
42813
  }, {
42771
42814
  start: {
42772
- line: 86,
42815
+ line: 87,
42773
42816
  column: 14
42774
42817
  },
42775
42818
  end: {
42776
- line: 92,
42819
+ line: 93,
42777
42820
  column: 16
42778
42821
  }
42779
42822
  }],
42780
- line: 85
42823
+ line: 86
42781
42824
  },
42782
- "6": {
42825
+ "7": {
42783
42826
  loc: {
42784
42827
  start: {
42785
- line: 89,
42828
+ line: 90,
42786
42829
  column: 33
42787
42830
  },
42788
42831
  end: {
42789
- line: 89,
42832
+ line: 90,
42790
42833
  column: 72
42791
42834
  }
42792
42835
  },
42793
42836
  type: "cond-expr",
42794
42837
  locations: [{
42795
42838
  start: {
42796
- line: 89,
42839
+ line: 90,
42797
42840
  column: 50
42798
42841
  },
42799
42842
  end: {
42800
- line: 89,
42843
+ line: 90,
42801
42844
  column: 54
42802
42845
  }
42803
42846
  }, {
42804
42847
  start: {
42805
- line: 89,
42848
+ line: 90,
42806
42849
  column: 57
42807
42850
  },
42808
42851
  end: {
42809
- line: 89,
42852
+ line: 90,
42810
42853
  column: 72
42811
42854
  }
42812
42855
  }],
42813
- line: 89
42856
+ line: 90
42814
42857
  },
42815
- "7": {
42858
+ "8": {
42816
42859
  loc: {
42817
42860
  start: {
42818
- line: 100,
42861
+ line: 101,
42819
42862
  column: 16
42820
42863
  },
42821
42864
  end: {
42822
- line: 102,
42865
+ line: 103,
42823
42866
  column: 35
42824
42867
  }
42825
42868
  },
42826
42869
  type: "cond-expr",
42827
42870
  locations: [{
42828
42871
  start: {
42829
- line: 101,
42872
+ line: 102,
42830
42873
  column: 20
42831
42874
  },
42832
42875
  end: {
42833
- line: 101,
42876
+ line: 102,
42834
42877
  column: 24
42835
42878
  }
42836
42879
  }, {
42837
42880
  start: {
42838
- line: 102,
42881
+ line: 103,
42839
42882
  column: 20
42840
42883
  },
42841
42884
  end: {
42842
- line: 102,
42885
+ line: 103,
42843
42886
  column: 35
42844
42887
  }
42845
42888
  }],
42846
- line: 100
42889
+ line: 101
42847
42890
  },
42848
- "8": {
42891
+ "9": {
42849
42892
  loc: {
42850
42893
  start: {
42851
- line: 100,
42894
+ line: 101,
42852
42895
  column: 16
42853
42896
  },
42854
42897
  end: {
42855
- line: 100,
42898
+ line: 101,
42856
42899
  column: 60
42857
42900
  }
42858
42901
  },
42859
42902
  type: "binary-expr",
42860
42903
  locations: [{
42861
42904
  start: {
42862
- line: 100,
42905
+ line: 101,
42863
42906
  column: 16
42864
42907
  },
42865
42908
  end: {
42866
- line: 100,
42909
+ line: 101,
42867
42910
  column: 30
42868
42911
  }
42869
42912
  }, {
42870
42913
  start: {
42871
- line: 100,
42914
+ line: 101,
42872
42915
  column: 34
42873
42916
  },
42874
42917
  end: {
42875
- line: 100,
42918
+ line: 101,
42876
42919
  column: 60
42877
42920
  }
42878
42921
  }],
42879
- line: 100
42922
+ line: 101
42880
42923
  }
42881
42924
  },
42882
42925
  s: {
@@ -42894,7 +42937,8 @@ function cov_25nnzrwa0x() {
42894
42937
  "11": 0,
42895
42938
  "12": 0,
42896
42939
  "13": 0,
42897
- "14": 0
42940
+ "14": 0,
42941
+ "15": 0
42898
42942
  },
42899
42943
  f: {
42900
42944
  "0": 0,
@@ -42914,10 +42958,11 @@ function cov_25nnzrwa0x() {
42914
42958
  "5": [0, 0],
42915
42959
  "6": [0, 0],
42916
42960
  "7": [0, 0],
42917
- "8": [0, 0]
42961
+ "8": [0, 0],
42962
+ "9": [0, 0]
42918
42963
  },
42919
42964
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
42920
- hash: "9fa35858f63807c163dd8b2a7c4b4b1e94f02782"
42965
+ hash: "25f59464e0f4ae63b21a16cf361e73db5500be37"
42921
42966
  };
42922
42967
  var coverage = global[gcv] || (global[gcv] = {});
42923
42968
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -42960,7 +43005,8 @@ var EmailFields = function EmailFields(_ref) {
42960
43005
  });
42961
43006
  var isValid = (cov_25nnzrwa0x().s[6]++, (cov_25nnzrwa0x().b[2][0]++, errors.actions) && (cov_25nnzrwa0x().b[2][1]++, !ramda.isNil((_errors$actions = errors.actions) === null || _errors$actions === void 0 ? void 0 : _errors$actions.value[index])));
42962
43007
  var separator = (cov_25nnzrwa0x().s[7]++, (cov_25nnzrwa0x().b[3][0]++, selectedField === null || selectedField === void 0 ? void 0 : (_selectedField$separa = selectedField.separator) === null || _selectedField$separa === void 0 ? void 0 : _selectedField$separa.toLowerCase()) || (cov_25nnzrwa0x().b[3][1]++, t("common.as")));
42963
- cov_25nnzrwa0x().s[8]++;
43008
+ var defaultLabel = (cov_25nnzrwa0x().s[8]++, (cov_25nnzrwa0x().b[4][0]++, selectedField === null || selectedField === void 0 ? void 0 : selectedField.emailPlaceholder) || (cov_25nnzrwa0x().b[4][1]++, t("common.email")));
43009
+ cov_25nnzrwa0x().s[9]++;
42964
43010
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
42965
43011
  className: "neeto-ui-text-gray-700",
42966
43012
  "data-cy": "action-email-seperator-text",
@@ -42976,20 +43022,20 @@ var EmailFields = function EmailFields(_ref) {
42976
43022
  }),
42977
43023
  onClick: function onClick() {
42978
43024
  cov_25nnzrwa0x().f[2]++;
42979
- cov_25nnzrwa0x().s[9]++;
43025
+ cov_25nnzrwa0x().s[10]++;
42980
43026
  return setShowPane(function (prevState) {
42981
43027
  cov_25nnzrwa0x().f[3]++;
42982
- cov_25nnzrwa0x().s[10]++;
43028
+ cov_25nnzrwa0x().s[11]++;
42983
43029
  return !prevState;
42984
43030
  });
42985
43031
  }
42986
- }, t("common.email").toLowerCase()), /*#__PURE__*/React__default["default"].createElement(neetoui.Pane, {
43032
+ }, defaultLabel.toLowerCase()), /*#__PURE__*/React__default["default"].createElement(neetoui.Pane, {
42987
43033
  initialFocusRef: initialFocusRef,
42988
43034
  isOpen: showPane,
42989
43035
  size: "large",
42990
43036
  onClose: function onClose() {
42991
43037
  cov_25nnzrwa0x().f[4]++;
42992
- cov_25nnzrwa0x().s[11]++;
43038
+ cov_25nnzrwa0x().s[12]++;
42993
43039
  return setShowPane(false);
42994
43040
  }
42995
43041
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Header, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
@@ -42997,16 +43043,16 @@ var EmailFields = function EmailFields(_ref) {
42997
43043
  "data-cy": "email-action-pane-header-title",
42998
43044
  style: "h3",
42999
43045
  weight: "semibold"
43000
- }, t("common.email"))), /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
43046
+ }, defaultLabel)), /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
43001
43047
  className: "w-full"
43002
- }, (cov_25nnzrwa0x().b[4][0]++, isEmailIdField) && (cov_25nnzrwa0x().b[4][1]++, /*#__PURE__*/React__default["default"].createElement(EmailIdFields, {
43048
+ }, (cov_25nnzrwa0x().b[5][0]++, isEmailIdField) && (cov_25nnzrwa0x().b[5][1]++, /*#__PURE__*/React__default["default"].createElement(EmailIdFields, {
43003
43049
  emails: emails,
43004
43050
  initialFocusRef: initialFocusRef,
43005
43051
  name: "".concat(name, ".emails")
43006
- })), (cov_25nnzrwa0x().b[5][0]++, !selectedField.hideSubject) && (cov_25nnzrwa0x().b[5][1]++, /*#__PURE__*/React__default["default"].createElement(InputField$2, {
43052
+ })), (cov_25nnzrwa0x().b[6][0]++, !selectedField.hideSubject) && (cov_25nnzrwa0x().b[6][1]++, /*#__PURE__*/React__default["default"].createElement(InputField$2, {
43007
43053
  className: "mb-4",
43008
43054
  "data-cy": "email-action-subject-text-field",
43009
- initialFocusRef: isEmailIdField ? (cov_25nnzrwa0x().b[6][0]++, null) : (cov_25nnzrwa0x().b[6][1]++, initialFocusRef),
43055
+ initialFocusRef: isEmailIdField ? (cov_25nnzrwa0x().b[7][0]++, null) : (cov_25nnzrwa0x().b[7][1]++, initialFocusRef),
43010
43056
  label: t("labels.subject"),
43011
43057
  name: "".concat(name, ".subject")
43012
43058
  })), /*#__PURE__*/React__default["default"].createElement(EditorAction, {
@@ -43014,7 +43060,7 @@ var EmailFields = function EmailFields(_ref) {
43014
43060
  name: "".concat(name, ".body"),
43015
43061
  value: (_action$metadata = action.metadata) === null || _action$metadata === void 0 ? void 0 : _action$metadata.body,
43016
43062
  variables: selectedField === null || selectedField === void 0 ? void 0 : selectedField.variables,
43017
- initialFocusRef: (cov_25nnzrwa0x().b[8][0]++, isEmailIdField) || (cov_25nnzrwa0x().b[8][1]++, !selectedField.hideSubject) ? (cov_25nnzrwa0x().b[7][0]++, null) : (cov_25nnzrwa0x().b[7][1]++, initialFocusRef)
43063
+ initialFocusRef: (cov_25nnzrwa0x().b[9][0]++, isEmailIdField) || (cov_25nnzrwa0x().b[9][1]++, !selectedField.hideSubject) ? (cov_25nnzrwa0x().b[8][0]++, null) : (cov_25nnzrwa0x().b[8][1]++, initialFocusRef)
43018
43064
  }))), /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Footer, {
43019
43065
  className: "flex items-center space-x-2"
43020
43066
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
@@ -43022,7 +43068,7 @@ var EmailFields = function EmailFields(_ref) {
43022
43068
  label: t("common.saveChange"),
43023
43069
  onClick: function onClick() {
43024
43070
  cov_25nnzrwa0x().f[5]++;
43025
- cov_25nnzrwa0x().s[12]++;
43071
+ cov_25nnzrwa0x().s[13]++;
43026
43072
  return setShowPane(false);
43027
43073
  }
43028
43074
  }), /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
@@ -43030,12 +43076,12 @@ var EmailFields = function EmailFields(_ref) {
43030
43076
  style: "text",
43031
43077
  onClick: function onClick() {
43032
43078
  cov_25nnzrwa0x().f[6]++;
43033
- cov_25nnzrwa0x().s[13]++;
43079
+ cov_25nnzrwa0x().s[14]++;
43034
43080
  return setShowPane(false);
43035
43081
  }
43036
43082
  }))));
43037
43083
  };
43038
- cov_25nnzrwa0x().s[14]++;
43084
+ cov_25nnzrwa0x().s[15]++;
43039
43085
 
43040
43086
  function cov_23z8cpnund() {
43041
43087
  var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Actions/ActionSubItem/Fields/Input.jsx";
@@ -46927,7 +46973,7 @@ cov_1kb2dc1ax5().s[29]++;
46927
46973
 
46928
46974
  function cov_17c75usisi() {
46929
46975
  var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Actions/ActionSubItem/Fields/NoteField.jsx";
46930
- var hash = "39bb1c86bd8589331af381439b9282f0449e814a";
46976
+ var hash = "b3342b80e51674625b102849c8c65b665dde062c";
46931
46977
  var global = new Function("return this")();
46932
46978
  var gcv = "__coverage__";
46933
46979
  var coverageData = {
@@ -46939,7 +46985,7 @@ function cov_17c75usisi() {
46939
46985
  column: 18
46940
46986
  },
46941
46987
  end: {
46942
- line: 90,
46988
+ line: 91,
46943
46989
  column: 1
46944
46990
  }
46945
46991
  },
@@ -47025,61 +47071,71 @@ function cov_17c75usisi() {
47025
47071
  },
47026
47072
  "9": {
47027
47073
  start: {
47028
- line: 26,
47074
+ line: 25,
47075
+ column: 23
47076
+ },
47077
+ end: {
47078
+ line: 25,
47079
+ column: 67
47080
+ }
47081
+ },
47082
+ "10": {
47083
+ start: {
47084
+ line: 27,
47029
47085
  column: 2
47030
47086
  },
47031
47087
  end: {
47032
- line: 89,
47088
+ line: 90,
47033
47089
  column: 4
47034
47090
  }
47035
47091
  },
47036
- "10": {
47092
+ "11": {
47037
47093
  start: {
47038
- line: 47,
47094
+ line: 48,
47039
47095
  column: 23
47040
47096
  },
47041
47097
  end: {
47042
- line: 47,
47098
+ line: 48,
47043
47099
  column: 59
47044
47100
  }
47045
47101
  },
47046
- "11": {
47102
+ "12": {
47047
47103
  start: {
47048
- line: 47,
47104
+ line: 48,
47049
47105
  column: 48
47050
47106
  },
47051
47107
  end: {
47052
- line: 47,
47108
+ line: 48,
47053
47109
  column: 58
47054
47110
  }
47055
47111
  },
47056
- "12": {
47112
+ "13": {
47057
47113
  start: {
47058
- line: 55,
47114
+ line: 56,
47059
47115
  column: 23
47060
47116
  },
47061
47117
  end: {
47062
- line: 55,
47118
+ line: 56,
47063
47119
  column: 41
47064
47120
  }
47065
47121
  },
47066
- "13": {
47122
+ "14": {
47067
47123
  start: {
47068
- line: 79,
47124
+ line: 80,
47069
47125
  column: 27
47070
47126
  },
47071
47127
  end: {
47072
- line: 79,
47128
+ line: 80,
47073
47129
  column: 45
47074
47130
  }
47075
47131
  },
47076
- "14": {
47132
+ "15": {
47077
47133
  start: {
47078
- line: 84,
47134
+ line: 85,
47079
47135
  column: 27
47080
47136
  },
47081
47137
  end: {
47082
- line: 84,
47138
+ line: 85,
47083
47139
  column: 45
47084
47140
  }
47085
47141
  }
@@ -47103,7 +47159,7 @@ function cov_17c75usisi() {
47103
47159
  column: 66
47104
47160
  },
47105
47161
  end: {
47106
- line: 90,
47162
+ line: 91,
47107
47163
  column: 1
47108
47164
  }
47109
47165
  },
@@ -47137,121 +47193,121 @@ function cov_17c75usisi() {
47137
47193
  name: "(anonymous_2)",
47138
47194
  decl: {
47139
47195
  start: {
47140
- line: 47,
47196
+ line: 48,
47141
47197
  column: 17
47142
47198
  },
47143
47199
  end: {
47144
- line: 47,
47200
+ line: 48,
47145
47201
  column: 18
47146
47202
  }
47147
47203
  },
47148
47204
  loc: {
47149
47205
  start: {
47150
- line: 47,
47206
+ line: 48,
47151
47207
  column: 23
47152
47208
  },
47153
47209
  end: {
47154
- line: 47,
47210
+ line: 48,
47155
47211
  column: 59
47156
47212
  }
47157
47213
  },
47158
- line: 47
47214
+ line: 48
47159
47215
  },
47160
47216
  "3": {
47161
47217
  name: "(anonymous_3)",
47162
47218
  decl: {
47163
47219
  start: {
47164
- line: 47,
47220
+ line: 48,
47165
47221
  column: 35
47166
47222
  },
47167
47223
  end: {
47168
- line: 47,
47224
+ line: 48,
47169
47225
  column: 36
47170
47226
  }
47171
47227
  },
47172
47228
  loc: {
47173
47229
  start: {
47174
- line: 47,
47230
+ line: 48,
47175
47231
  column: 48
47176
47232
  },
47177
47233
  end: {
47178
- line: 47,
47234
+ line: 48,
47179
47235
  column: 58
47180
47236
  }
47181
47237
  },
47182
- line: 47
47238
+ line: 48
47183
47239
  },
47184
47240
  "4": {
47185
47241
  name: "(anonymous_4)",
47186
47242
  decl: {
47187
47243
  start: {
47188
- line: 55,
47244
+ line: 56,
47189
47245
  column: 17
47190
47246
  },
47191
47247
  end: {
47192
- line: 55,
47248
+ line: 56,
47193
47249
  column: 18
47194
47250
  }
47195
47251
  },
47196
47252
  loc: {
47197
47253
  start: {
47198
- line: 55,
47254
+ line: 56,
47199
47255
  column: 23
47200
47256
  },
47201
47257
  end: {
47202
- line: 55,
47258
+ line: 56,
47203
47259
  column: 41
47204
47260
  }
47205
47261
  },
47206
- line: 55
47262
+ line: 56
47207
47263
  },
47208
47264
  "5": {
47209
47265
  name: "(anonymous_5)",
47210
47266
  decl: {
47211
47267
  start: {
47212
- line: 79,
47268
+ line: 80,
47213
47269
  column: 21
47214
47270
  },
47215
47271
  end: {
47216
- line: 79,
47272
+ line: 80,
47217
47273
  column: 22
47218
47274
  }
47219
47275
  },
47220
47276
  loc: {
47221
47277
  start: {
47222
- line: 79,
47278
+ line: 80,
47223
47279
  column: 27
47224
47280
  },
47225
47281
  end: {
47226
- line: 79,
47282
+ line: 80,
47227
47283
  column: 45
47228
47284
  }
47229
47285
  },
47230
- line: 79
47286
+ line: 80
47231
47287
  },
47232
47288
  "6": {
47233
47289
  name: "(anonymous_6)",
47234
47290
  decl: {
47235
47291
  start: {
47236
- line: 84,
47292
+ line: 85,
47237
47293
  column: 21
47238
47294
  },
47239
47295
  end: {
47240
- line: 84,
47296
+ line: 85,
47241
47297
  column: 22
47242
47298
  }
47243
47299
  },
47244
47300
  loc: {
47245
47301
  start: {
47246
- line: 84,
47302
+ line: 85,
47247
47303
  column: 27
47248
47304
  },
47249
47305
  end: {
47250
- line: 84,
47306
+ line: 85,
47251
47307
  column: 45
47252
47308
  }
47253
47309
  },
47254
- line: 84
47310
+ line: 85
47255
47311
  }
47256
47312
  },
47257
47313
  branchMap: {
@@ -47377,6 +47433,39 @@ function cov_17c75usisi() {
47377
47433
  }
47378
47434
  }],
47379
47435
  line: 24
47436
+ },
47437
+ "4": {
47438
+ loc: {
47439
+ start: {
47440
+ line: 25,
47441
+ column: 23
47442
+ },
47443
+ end: {
47444
+ line: 25,
47445
+ column: 67
47446
+ }
47447
+ },
47448
+ type: "binary-expr",
47449
+ locations: [{
47450
+ start: {
47451
+ line: 25,
47452
+ column: 23
47453
+ },
47454
+ end: {
47455
+ line: 25,
47456
+ column: 49
47457
+ }
47458
+ }, {
47459
+ start: {
47460
+ line: 25,
47461
+ column: 53
47462
+ },
47463
+ end: {
47464
+ line: 25,
47465
+ column: 67
47466
+ }
47467
+ }],
47468
+ line: 25
47380
47469
  }
47381
47470
  },
47382
47471
  s: {
@@ -47394,7 +47483,8 @@ function cov_17c75usisi() {
47394
47483
  "11": 0,
47395
47484
  "12": 0,
47396
47485
  "13": 0,
47397
- "14": 0
47486
+ "14": 0,
47487
+ "15": 0
47398
47488
  },
47399
47489
  f: {
47400
47490
  "0": 0,
@@ -47409,10 +47499,11 @@ function cov_17c75usisi() {
47409
47499
  "0": [0],
47410
47500
  "1": [0, 0],
47411
47501
  "2": [0, 0],
47412
- "3": [0, 0]
47502
+ "3": [0, 0],
47503
+ "4": [0, 0]
47413
47504
  },
47414
47505
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
47415
- hash: "39bb1c86bd8589331af381439b9282f0449e814a"
47506
+ hash: "b3342b80e51674625b102849c8c65b665dde062c"
47416
47507
  };
47417
47508
  var coverage = global[gcv] || (global[gcv] = {});
47418
47509
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -47453,7 +47544,8 @@ var NoteField = function NoteField(_ref) {
47453
47544
  var isValid = (cov_17c75usisi().s[6]++, (cov_17c75usisi().b[1][0]++, errors.actions) && (cov_17c75usisi().b[1][1]++, !ramda.isNil((_errors$actions = errors.actions) === null || _errors$actions === void 0 ? void 0 : _errors$actions.value[index])));
47454
47545
  var separator = (cov_17c75usisi().s[7]++, (cov_17c75usisi().b[2][0]++, selectedField === null || selectedField === void 0 ? void 0 : (_selectedField$separa = selectedField.separator) === null || _selectedField$separa === void 0 ? void 0 : _selectedField$separa.toLowerCase()) || (cov_17c75usisi().b[2][1]++, t("common.as")));
47455
47546
  var variables = (cov_17c75usisi().s[8]++, (cov_17c75usisi().b[3][0]++, selectedField === null || selectedField === void 0 ? void 0 : selectedField.variables) || (cov_17c75usisi().b[3][1]++, []));
47456
- cov_17c75usisi().s[9]++;
47547
+ var defaultLabel = (cov_17c75usisi().s[9]++, (cov_17c75usisi().b[4][0]++, selectedField === null || selectedField === void 0 ? void 0 : selectedField.placeholder) || (cov_17c75usisi().b[4][1]++, t("form.note")));
47548
+ cov_17c75usisi().s[10]++;
47457
47549
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
47458
47550
  className: "neeto-ui-text-gray-700",
47459
47551
  "data-cy": "note-action-separator-text",
@@ -47469,20 +47561,20 @@ var NoteField = function NoteField(_ref) {
47469
47561
  }),
47470
47562
  onClick: function onClick() {
47471
47563
  cov_17c75usisi().f[2]++;
47472
- cov_17c75usisi().s[10]++;
47564
+ cov_17c75usisi().s[11]++;
47473
47565
  return setShowPane(function (prevState) {
47474
47566
  cov_17c75usisi().f[3]++;
47475
- cov_17c75usisi().s[11]++;
47567
+ cov_17c75usisi().s[12]++;
47476
47568
  return !prevState;
47477
47569
  });
47478
47570
  }
47479
- }, t("form.note").toLowerCase()), /*#__PURE__*/React__default["default"].createElement(neetoui.Pane, {
47571
+ }, defaultLabel.toLowerCase()), /*#__PURE__*/React__default["default"].createElement(neetoui.Pane, {
47480
47572
  initialFocusRef: initialFocusRef,
47481
47573
  isOpen: showPane,
47482
47574
  size: "large",
47483
47575
  onClose: function onClose() {
47484
47576
  cov_17c75usisi().f[4]++;
47485
- cov_17c75usisi().s[12]++;
47577
+ cov_17c75usisi().s[13]++;
47486
47578
  return setShowPane(false);
47487
47579
  }
47488
47580
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Header, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
@@ -47490,7 +47582,7 @@ var NoteField = function NoteField(_ref) {
47490
47582
  "data-cy": "note-action-pane-header-title",
47491
47583
  style: "h3",
47492
47584
  weight: "semibold"
47493
- }, t("form.note"))), /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Body, null, /*#__PURE__*/React__default["default"].createElement(EditorAction, {
47585
+ }, defaultLabel)), /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Body, null, /*#__PURE__*/React__default["default"].createElement(EditorAction, {
47494
47586
  initialFocusRef: initialFocusRef,
47495
47587
  name: name,
47496
47588
  value: value,
@@ -47502,7 +47594,7 @@ var NoteField = function NoteField(_ref) {
47502
47594
  label: t("common.saveChange"),
47503
47595
  onClick: function onClick() {
47504
47596
  cov_17c75usisi().f[5]++;
47505
- cov_17c75usisi().s[13]++;
47597
+ cov_17c75usisi().s[14]++;
47506
47598
  return setShowPane(false);
47507
47599
  }
47508
47600
  }), /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
@@ -47510,7 +47602,7 @@ var NoteField = function NoteField(_ref) {
47510
47602
  style: "text",
47511
47603
  onClick: function onClick() {
47512
47604
  cov_17c75usisi().f[6]++;
47513
- cov_17c75usisi().s[14]++;
47605
+ cov_17c75usisi().s[15]++;
47514
47606
  return setShowPane(false);
47515
47607
  }
47516
47608
  }))));
@@ -49867,7 +49959,7 @@ cov_1lt42kj0z1().s[2]++;
49867
49959
 
49868
49960
  function cov_1s0frck14v() {
49869
49961
  var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Actions/index.jsx";
49870
- var hash = "fb0dcc17523aca85d6f8faab4a4f34c362f8fb75";
49962
+ var hash = "2fe3e6b7a4fd5bc351b1b0f406e03f8598c63dce";
49871
49963
  var global = new Function("return this")();
49872
49964
  var gcv = "__coverage__";
49873
49965
  var coverageData = {
@@ -49879,157 +49971,157 @@ function cov_1s0frck14v() {
49879
49971
  column: 16
49880
49972
  },
49881
49973
  end: {
49882
- line: 87,
49974
+ line: 89,
49883
49975
  column: 1
49884
49976
  }
49885
49977
  },
49886
49978
  "1": {
49887
49979
  start: {
49888
- line: 20,
49980
+ line: 21,
49889
49981
  column: 36
49890
49982
  },
49891
49983
  end: {
49892
- line: 20,
49984
+ line: 21,
49893
49985
  column: 54
49894
49986
  }
49895
49987
  },
49896
49988
  "2": {
49897
49989
  start: {
49898
- line: 22,
49990
+ line: 23,
49899
49991
  column: 23
49900
49992
  },
49901
49993
  end: {
49902
- line: 22,
49994
+ line: 23,
49903
49995
  column: 39
49904
49996
  }
49905
49997
  },
49906
49998
  "3": {
49907
49999
  start: {
49908
- line: 23,
50000
+ line: 24,
49909
50001
  column: 18
49910
50002
  },
49911
50003
  end: {
49912
- line: 23,
50004
+ line: 24,
49913
50005
  column: 42
49914
50006
  }
49915
50007
  },
49916
50008
  "4": {
49917
50009
  start: {
49918
- line: 25,
50010
+ line: 26,
49919
50011
  column: 21
49920
50012
  },
49921
50013
  end: {
49922
- line: 30,
50014
+ line: 32,
49923
50015
  column: 3
49924
50016
  }
49925
50017
  },
49926
50018
  "5": {
49927
50019
  start: {
49928
- line: 27,
50020
+ line: 28,
49929
50021
  column: 6
49930
50022
  },
49931
50023
  end: {
49932
- line: 28,
49933
- column: 58
50024
+ line: 30,
50025
+ column: 19
49934
50026
  }
49935
50027
  },
49936
50028
  "6": {
49937
50029
  start: {
49938
- line: 32,
50030
+ line: 34,
49939
50031
  column: 29
49940
50032
  },
49941
50033
  end: {
49942
- line: 40,
50034
+ line: 42,
49943
50035
  column: 3
49944
50036
  }
49945
50037
  },
49946
50038
  "7": {
49947
50039
  start: {
49948
- line: 33,
50040
+ line: 35,
49949
50041
  column: 4
49950
50042
  },
49951
50043
  end: {
49952
- line: 38,
50044
+ line: 40,
49953
50045
  column: 5
49954
50046
  }
49955
50047
  },
49956
50048
  "8": {
49957
50049
  start: {
49958
- line: 34,
50050
+ line: 36,
49959
50051
  column: 6
49960
50052
  },
49961
50053
  end: {
49962
- line: 37,
50054
+ line: 39,
49963
50055
  column: 9
49964
50056
  }
49965
50057
  },
49966
50058
  "9": {
49967
50059
  start: {
49968
- line: 39,
50060
+ line: 41,
49969
50061
  column: 4
49970
50062
  },
49971
50063
  end: {
49972
- line: 39,
50064
+ line: 41,
49973
50065
  column: 31
49974
50066
  }
49975
50067
  },
49976
50068
  "10": {
49977
50069
  start: {
49978
- line: 42,
50070
+ line: 44,
49979
50071
  column: 2
49980
50072
  },
49981
50073
  end: {
49982
- line: 86,
50074
+ line: 88,
49983
50075
  column: 4
49984
50076
  }
49985
50077
  },
49986
50078
  "11": {
49987
50079
  start: {
49988
- line: 46,
50080
+ line: 48,
49989
50081
  column: 10
49990
50082
  },
49991
50083
  end: {
49992
- line: 82,
50084
+ line: 84,
49993
50085
  column: 13
49994
50086
  }
49995
50087
  },
49996
50088
  "12": {
49997
50089
  start: {
49998
- line: 48,
50090
+ line: 50,
49999
50091
  column: 14
50000
50092
  },
50001
50093
  end: {
50002
- line: 80,
50094
+ line: 82,
50003
50095
  column: 20
50004
50096
  }
50005
50097
  },
50006
50098
  "13": {
50007
50099
  start: {
50008
- line: 65,
50100
+ line: 67,
50009
50101
  column: 37
50010
50102
  },
50011
50103
  end: {
50012
- line: 65,
50104
+ line: 67,
50013
50105
  column: 75
50014
50106
  }
50015
50107
  },
50016
50108
  "14": {
50017
50109
  start: {
50018
- line: 75,
50110
+ line: 77,
50019
50111
  column: 24
50020
50112
  },
50021
50113
  end: {
50022
- line: 75,
50114
+ line: 77,
50023
50115
  column: 71
50024
50116
  }
50025
50117
  },
50026
50118
  "15": {
50027
50119
  start: {
50028
- line: 89,
50120
+ line: 91,
50029
50121
  column: 0
50030
50122
  },
50031
50123
  end: {
50032
- line: 95,
50124
+ line: 97,
50033
50125
  column: 2
50034
50126
  }
50035
50127
  }
@@ -50049,280 +50141,313 @@ function cov_1s0frck14v() {
50049
50141
  },
50050
50142
  loc: {
50051
50143
  start: {
50052
- line: 19,
50144
+ line: 20,
50053
50145
  column: 6
50054
50146
  },
50055
50147
  end: {
50056
- line: 87,
50148
+ line: 89,
50057
50149
  column: 1
50058
50150
  }
50059
50151
  },
50060
- line: 19
50152
+ line: 20
50061
50153
  },
50062
50154
  "1": {
50063
50155
  name: "(anonymous_1)",
50064
50156
  decl: {
50065
50157
  start: {
50066
- line: 26,
50158
+ line: 27,
50067
50159
  column: 4
50068
50160
  },
50069
50161
  end: {
50070
- line: 26,
50162
+ line: 27,
50071
50163
  column: 5
50072
50164
  }
50073
50165
  },
50074
50166
  loc: {
50075
50167
  start: {
50076
- line: 27,
50168
+ line: 28,
50077
50169
  column: 6
50078
50170
  },
50079
50171
  end: {
50080
- line: 28,
50081
- column: 58
50172
+ line: 30,
50173
+ column: 19
50082
50174
  }
50083
50175
  },
50084
- line: 27
50176
+ line: 28
50085
50177
  },
50086
50178
  "2": {
50087
50179
  name: "(anonymous_2)",
50088
50180
  decl: {
50089
50181
  start: {
50090
- line: 32,
50182
+ line: 34,
50091
50183
  column: 29
50092
50184
  },
50093
50185
  end: {
50094
- line: 32,
50186
+ line: 34,
50095
50187
  column: 30
50096
50188
  }
50097
50189
  },
50098
50190
  loc: {
50099
50191
  start: {
50100
- line: 32,
50192
+ line: 34,
50101
50193
  column: 62
50102
50194
  },
50103
50195
  end: {
50104
- line: 40,
50196
+ line: 42,
50105
50197
  column: 3
50106
50198
  }
50107
50199
  },
50108
- line: 32
50200
+ line: 34
50109
50201
  },
50110
50202
  "3": {
50111
50203
  name: "(anonymous_3)",
50112
50204
  decl: {
50113
50205
  start: {
50114
- line: 45,
50206
+ line: 47,
50115
50207
  column: 9
50116
50208
  },
50117
50209
  end: {
50118
- line: 45,
50210
+ line: 47,
50119
50211
  column: 10
50120
50212
  }
50121
50213
  },
50122
50214
  loc: {
50123
50215
  start: {
50124
- line: 46,
50216
+ line: 48,
50125
50217
  column: 10
50126
50218
  },
50127
50219
  end: {
50128
- line: 82,
50220
+ line: 84,
50129
50221
  column: 13
50130
50222
  }
50131
50223
  },
50132
- line: 46
50224
+ line: 48
50133
50225
  },
50134
50226
  "4": {
50135
50227
  name: "(anonymous_4)",
50136
50228
  decl: {
50137
50229
  start: {
50138
- line: 47,
50230
+ line: 49,
50139
50231
  column: 25
50140
50232
  },
50141
50233
  end: {
50142
- line: 47,
50234
+ line: 49,
50143
50235
  column: 26
50144
50236
  }
50145
50237
  },
50146
50238
  loc: {
50147
50239
  start: {
50148
- line: 48,
50240
+ line: 50,
50149
50241
  column: 14
50150
50242
  },
50151
50243
  end: {
50152
- line: 80,
50244
+ line: 82,
50153
50245
  column: 20
50154
50246
  }
50155
50247
  },
50156
- line: 48
50248
+ line: 50
50157
50249
  },
50158
50250
  "5": {
50159
50251
  name: "(anonymous_5)",
50160
50252
  decl: {
50161
50253
  start: {
50162
- line: 65,
50254
+ line: 67,
50163
50255
  column: 31
50164
50256
  },
50165
50257
  end: {
50166
- line: 65,
50258
+ line: 67,
50167
50259
  column: 32
50168
50260
  }
50169
50261
  },
50170
50262
  loc: {
50171
50263
  start: {
50172
- line: 65,
50264
+ line: 67,
50173
50265
  column: 37
50174
50266
  },
50175
50267
  end: {
50176
- line: 65,
50268
+ line: 67,
50177
50269
  column: 75
50178
50270
  }
50179
50271
  },
50180
- line: 65
50272
+ line: 67
50181
50273
  },
50182
50274
  "6": {
50183
50275
  name: "(anonymous_6)",
50184
50276
  decl: {
50185
50277
  start: {
50186
- line: 74,
50278
+ line: 76,
50187
50279
  column: 31
50188
50280
  },
50189
50281
  end: {
50190
- line: 74,
50282
+ line: 76,
50191
50283
  column: 32
50192
50284
  }
50193
50285
  },
50194
50286
  loc: {
50195
50287
  start: {
50196
- line: 75,
50288
+ line: 77,
50197
50289
  column: 24
50198
50290
  },
50199
50291
  end: {
50200
- line: 75,
50292
+ line: 77,
50201
50293
  column: 71
50202
50294
  }
50203
50295
  },
50204
- line: 75
50296
+ line: 77
50205
50297
  }
50206
50298
  },
50207
50299
  branchMap: {
50208
50300
  "0": {
50209
50301
  loc: {
50210
50302
  start: {
50211
- line: 22,
50303
+ line: 19,
50304
+ column: 2
50305
+ },
50306
+ end: {
50307
+ line: 19,
50308
+ column: 22
50309
+ }
50310
+ },
50311
+ type: "default-arg",
50312
+ locations: [{
50313
+ start: {
50314
+ line: 19,
50315
+ column: 18
50316
+ },
50317
+ end: {
50318
+ line: 19,
50319
+ column: 22
50320
+ }
50321
+ }],
50322
+ line: 19
50323
+ },
50324
+ "1": {
50325
+ loc: {
50326
+ start: {
50327
+ line: 23,
50212
50328
  column: 23
50213
50329
  },
50214
50330
  end: {
50215
- line: 22,
50331
+ line: 23,
50216
50332
  column: 39
50217
50333
  }
50218
50334
  },
50219
50335
  type: "binary-expr",
50220
50336
  locations: [{
50221
50337
  start: {
50222
- line: 22,
50338
+ line: 23,
50223
50339
  column: 23
50224
50340
  },
50225
50341
  end: {
50226
- line: 22,
50342
+ line: 23,
50227
50343
  column: 33
50228
50344
  }
50229
50345
  }, {
50230
50346
  start: {
50231
- line: 22,
50347
+ line: 23,
50232
50348
  column: 37
50233
50349
  },
50234
50350
  end: {
50235
- line: 22,
50351
+ line: 23,
50236
50352
  column: 39
50237
50353
  }
50238
50354
  }],
50239
- line: 22
50355
+ line: 23
50240
50356
  },
50241
- "1": {
50357
+ "2": {
50242
50358
  loc: {
50243
50359
  start: {
50244
- line: 23,
50360
+ line: 24,
50245
50361
  column: 18
50246
50362
  },
50247
50363
  end: {
50248
- line: 23,
50364
+ line: 24,
50249
50365
  column: 42
50250
50366
  }
50251
50367
  },
50252
50368
  type: "binary-expr",
50253
50369
  locations: [{
50254
50370
  start: {
50255
- line: 23,
50371
+ line: 24,
50256
50372
  column: 18
50257
50373
  },
50258
50374
  end: {
50259
- line: 23,
50375
+ line: 24,
50260
50376
  column: 36
50261
50377
  }
50262
50378
  }, {
50263
50379
  start: {
50264
- line: 23,
50380
+ line: 24,
50265
50381
  column: 40
50266
50382
  },
50267
50383
  end: {
50268
- line: 23,
50384
+ line: 24,
50269
50385
  column: 42
50270
50386
  }
50271
50387
  }],
50272
- line: 23
50388
+ line: 24
50273
50389
  },
50274
- "2": {
50390
+ "3": {
50275
50391
  loc: {
50276
50392
  start: {
50277
- line: 27,
50393
+ line: 28,
50278
50394
  column: 6
50279
50395
  },
50280
50396
  end: {
50281
- line: 28,
50282
- column: 58
50397
+ line: 30,
50398
+ column: 19
50283
50399
  }
50284
50400
  },
50285
50401
  type: "binary-expr",
50286
50402
  locations: [{
50287
50403
  start: {
50288
- line: 27,
50404
+ line: 28,
50289
50405
  column: 6
50290
50406
  },
50291
50407
  end: {
50292
- line: 27,
50293
- column: 41
50408
+ line: 28,
50409
+ column: 42
50294
50410
  }
50295
50411
  }, {
50296
50412
  start: {
50297
- line: 28,
50413
+ line: 29,
50298
50414
  column: 6
50299
50415
  },
50300
50416
  end: {
50301
- line: 28,
50417
+ line: 29,
50302
50418
  column: 58
50303
50419
  }
50420
+ }, {
50421
+ start: {
50422
+ line: 30,
50423
+ column: 6
50424
+ },
50425
+ end: {
50426
+ line: 30,
50427
+ column: 19
50428
+ }
50304
50429
  }],
50305
- line: 27
50430
+ line: 28
50306
50431
  },
50307
- "3": {
50432
+ "4": {
50308
50433
  loc: {
50309
50434
  start: {
50310
- line: 33,
50435
+ line: 35,
50311
50436
  column: 4
50312
50437
  },
50313
50438
  end: {
50314
- line: 38,
50439
+ line: 40,
50315
50440
  column: 5
50316
50441
  }
50317
50442
  },
50318
50443
  type: "if",
50319
50444
  locations: [{
50320
50445
  start: {
50321
- line: 33,
50446
+ line: 35,
50322
50447
  column: 4
50323
50448
  },
50324
50449
  end: {
50325
- line: 38,
50450
+ line: 40,
50326
50451
  column: 5
50327
50452
  }
50328
50453
  }, {
@@ -50335,148 +50460,148 @@ function cov_1s0frck14v() {
50335
50460
  column: undefined
50336
50461
  }
50337
50462
  }],
50338
- line: 33
50463
+ line: 35
50339
50464
  },
50340
- "4": {
50465
+ "5": {
50341
50466
  loc: {
50342
50467
  start: {
50343
- line: 35,
50468
+ line: 37,
50344
50469
  column: 12
50345
50470
  },
50346
50471
  end: {
50347
- line: 35,
50472
+ line: 37,
50348
50473
  column: 38
50349
50474
  }
50350
50475
  },
50351
50476
  type: "binary-expr",
50352
50477
  locations: [{
50353
50478
  start: {
50354
- line: 35,
50479
+ line: 37,
50355
50480
  column: 12
50356
50481
  },
50357
50482
  end: {
50358
- line: 35,
50483
+ line: 37,
50359
50484
  column: 32
50360
50485
  }
50361
50486
  }, {
50362
50487
  start: {
50363
- line: 35,
50488
+ line: 37,
50364
50489
  column: 36
50365
50490
  },
50366
50491
  end: {
50367
- line: 35,
50492
+ line: 37,
50368
50493
  column: 38
50369
50494
  }
50370
50495
  }],
50371
- line: 35
50496
+ line: 37
50372
50497
  },
50373
- "5": {
50498
+ "6": {
50374
50499
  loc: {
50375
50500
  start: {
50376
- line: 43,
50501
+ line: 45,
50377
50502
  column: 17
50378
50503
  },
50379
50504
  end: {
50380
- line: 43,
50505
+ line: 45,
50381
50506
  column: 45
50382
50507
  }
50383
50508
  },
50384
50509
  type: "binary-expr",
50385
50510
  locations: [{
50386
50511
  start: {
50387
- line: 43,
50512
+ line: 45,
50388
50513
  column: 17
50389
50514
  },
50390
50515
  end: {
50391
- line: 43,
50516
+ line: 45,
50392
50517
  column: 22
50393
50518
  }
50394
50519
  }, {
50395
50520
  start: {
50396
- line: 43,
50521
+ line: 45,
50397
50522
  column: 26
50398
50523
  },
50399
50524
  end: {
50400
- line: 43,
50525
+ line: 45,
50401
50526
  column: 45
50402
50527
  }
50403
50528
  }],
50404
- line: 43
50529
+ line: 45
50405
50530
  },
50406
- "6": {
50531
+ "7": {
50407
50532
  loc: {
50408
50533
  start: {
50409
- line: 59,
50534
+ line: 61,
50410
50535
  column: 19
50411
50536
  },
50412
50537
  end: {
50413
- line: 67,
50538
+ line: 69,
50414
50539
  column: 19
50415
50540
  }
50416
50541
  },
50417
50542
  type: "binary-expr",
50418
50543
  locations: [{
50419
50544
  start: {
50420
- line: 59,
50545
+ line: 61,
50421
50546
  column: 19
50422
50547
  },
50423
50548
  end: {
50424
- line: 59,
50549
+ line: 61,
50425
50550
  column: 29
50426
50551
  }
50427
50552
  }, {
50428
50553
  start: {
50429
- line: 59,
50554
+ line: 61,
50430
50555
  column: 33
50431
50556
  },
50432
50557
  end: {
50433
- line: 59,
50558
+ line: 61,
50434
50559
  column: 61
50435
50560
  }
50436
50561
  }, {
50437
50562
  start: {
50438
- line: 60,
50563
+ line: 62,
50439
50564
  column: 20
50440
50565
  },
50441
50566
  end: {
50442
- line: 66,
50567
+ line: 68,
50443
50568
  column: 22
50444
50569
  }
50445
50570
  }],
50446
- line: 59
50571
+ line: 61
50447
50572
  },
50448
- "7": {
50573
+ "8": {
50449
50574
  loc: {
50450
50575
  start: {
50451
- line: 68,
50576
+ line: 70,
50452
50577
  column: 19
50453
50578
  },
50454
50579
  end: {
50455
- line: 78,
50580
+ line: 80,
50456
50581
  column: 19
50457
50582
  }
50458
50583
  },
50459
50584
  type: "binary-expr",
50460
50585
  locations: [{
50461
50586
  start: {
50462
- line: 68,
50587
+ line: 70,
50463
50588
  column: 19
50464
50589
  },
50465
50590
  end: {
50466
- line: 68,
50591
+ line: 70,
50467
50592
  column: 37
50468
50593
  }
50469
50594
  }, {
50470
50595
  start: {
50471
- line: 69,
50596
+ line: 71,
50472
50597
  column: 20
50473
50598
  },
50474
50599
  end: {
50475
- line: 77,
50600
+ line: 79,
50476
50601
  column: 22
50477
50602
  }
50478
50603
  }],
50479
- line: 68
50604
+ line: 70
50480
50605
  }
50481
50606
  },
50482
50607
  s: {
@@ -50507,17 +50632,18 @@ function cov_1s0frck14v() {
50507
50632
  "6": 0
50508
50633
  },
50509
50634
  b: {
50510
- "0": [0, 0],
50635
+ "0": [0],
50511
50636
  "1": [0, 0],
50512
50637
  "2": [0, 0],
50513
- "3": [0, 0],
50638
+ "3": [0, 0, 0],
50514
50639
  "4": [0, 0],
50515
50640
  "5": [0, 0],
50516
- "6": [0, 0, 0],
50517
- "7": [0, 0]
50641
+ "6": [0, 0],
50642
+ "7": [0, 0, 0],
50643
+ "8": [0, 0]
50518
50644
  },
50519
50645
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
50520
- hash: "fb0dcc17523aca85d6f8faab4a4f34c362f8fb75"
50646
+ hash: "2fe3e6b7a4fd5bc351b1b0f406e03f8598c63dce"
50521
50647
  };
50522
50648
  var coverage = global[gcv] || (global[gcv] = {});
50523
50649
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -50541,37 +50667,40 @@ var Actions = function Actions(_ref) {
50541
50667
  label = _ref.label,
50542
50668
  data = _ref.data,
50543
50669
  onSelectAction = _ref.onSelectAction,
50544
- selectedActionOptions = _ref.selectedActionOptions;
50670
+ selectedActionOptions = _ref.selectedActionOptions,
50671
+ _ref$showAddButton = _ref.showAddButton,
50672
+ showAddButton = _ref$showAddButton === void 0 ? (cov_1s0frck14v().b[0][0]++, true) : _ref$showAddButton;
50545
50673
  cov_1s0frck14v().f[0]++;
50546
50674
  var _ref2 = (cov_1s0frck14v().s[1]++, formik.useFormikContext()),
50547
50675
  values = _ref2.values,
50548
50676
  setFieldValue = _ref2.setFieldValue;
50549
- var elementProps = (cov_1s0frck14v().s[2]++, (cov_1s0frck14v().b[0][0]++, data[name]) || (cov_1s0frck14v().b[0][1]++, {}));
50550
- var actions = (cov_1s0frck14v().s[3]++, (cov_1s0frck14v().b[1][0]++, values[name].value) || (cov_1s0frck14v().b[1][1]++, []));
50677
+ var elementProps = (cov_1s0frck14v().s[2]++, (cov_1s0frck14v().b[1][0]++, data[name]) || (cov_1s0frck14v().b[1][1]++, {}));
50678
+ var actions = (cov_1s0frck14v().s[3]++, (cov_1s0frck14v().b[2][0]++, values[name].value) || (cov_1s0frck14v().b[2][1]++, []));
50551
50679
  var showButton = (cov_1s0frck14v().s[4]++, React.useMemo(function () {
50680
+ var _actions;
50552
50681
  cov_1s0frck14v().f[1]++;
50553
50682
  cov_1s0frck14v().s[5]++;
50554
- return (cov_1s0frck14v().b[2][0]++, !!actions[(actions === null || actions === void 0 ? void 0 : actions.length) - 1].name) && (cov_1s0frck14v().b[2][1]++, elementProps.actionOptions.length !== actions.length);
50683
+ 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);
50555
50684
  }, [actions]));
50556
50685
  cov_1s0frck14v().s[6]++;
50557
50686
  var handleRemoveAction = function handleRemoveAction(index, action, arrayHelpers) {
50558
50687
  cov_1s0frck14v().f[2]++;
50559
50688
  cov_1s0frck14v().s[7]++;
50560
50689
  if (action.id) {
50561
- cov_1s0frck14v().b[3][0]++;
50690
+ cov_1s0frck14v().b[4][0]++;
50562
50691
  cov_1s0frck14v().s[8]++;
50563
- setFieldValue("".concat(name, ".deleted"), [].concat(_toConsumableArray((cov_1s0frck14v().b[4][0]++, values[name].deleted) || (cov_1s0frck14v().b[4][1]++, [])), [_objectSpread$3(_objectSpread$3({}, action), {}, {
50692
+ setFieldValue("".concat(name, ".deleted"), [].concat(_toConsumableArray((cov_1s0frck14v().b[5][0]++, values[name].deleted) || (cov_1s0frck14v().b[5][1]++, [])), [_objectSpread$3(_objectSpread$3({}, action), {}, {
50564
50693
  _destroy: true
50565
50694
  })]));
50566
50695
  } else {
50567
- cov_1s0frck14v().b[3][1]++;
50696
+ cov_1s0frck14v().b[4][1]++;
50568
50697
  }
50569
50698
  cov_1s0frck14v().s[9]++;
50570
50699
  arrayHelpers.remove(index);
50571
50700
  };
50572
50701
  cov_1s0frck14v().s[10]++;
50573
50702
  return /*#__PURE__*/React__default["default"].createElement(Card, {
50574
- title: (cov_1s0frck14v().b[5][0]++, label) || (cov_1s0frck14v().b[5][1]++, elementProps === null || elementProps === void 0 ? void 0 : elementProps.label)
50703
+ title: (cov_1s0frck14v().b[6][0]++, label) || (cov_1s0frck14v().b[6][1]++, elementProps === null || elementProps === void 0 ? void 0 : elementProps.label)
50575
50704
  }, /*#__PURE__*/React__default["default"].createElement(formik.FieldArray, {
50576
50705
  name: "".concat(name, ".value")
50577
50706
  }, function (arrayHelpers) {
@@ -50593,7 +50722,7 @@ var Actions = function Actions(_ref) {
50593
50722
  onSelectAction: onSelectAction
50594
50723
  }), /*#__PURE__*/React__default["default"].createElement("div", {
50595
50724
  className: "-mx-1 flex flex-wrap"
50596
- }, (cov_1s0frck14v().b[6][0]++, showButton) && (cov_1s0frck14v().b[6][1]++, index === actions.length - 1) && (cov_1s0frck14v().b[6][2]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
50725
+ }, (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, {
50597
50726
  "data-cy": "add-action-button",
50598
50727
  icon: neetoIcons.Plus,
50599
50728
  size: 24,
@@ -50603,7 +50732,7 @@ var Actions = function Actions(_ref) {
50603
50732
  cov_1s0frck14v().s[13]++;
50604
50733
  return arrayHelpers.push(DEFAULT_RULE_ACTION);
50605
50734
  }
50606
- })), (cov_1s0frck14v().b[7][0]++, actions.length > 1) && (cov_1s0frck14v().b[7][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
50735
+ })), (cov_1s0frck14v().b[8][0]++, actions.length > 1) && (cov_1s0frck14v().b[8][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
50607
50736
  "data-cy": "delete-action-button",
50608
50737
  icon: neetoIcons.Delete,
50609
50738
  size: 24,