@bigbinary/neeto-rules-frontend 0.2.0 → 0.2.1

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
@@ -49627,7 +49627,7 @@ var NoteField = function NoteField(_ref) {
49627
49627
 
49628
49628
  function cov_2mb0ufoovu() {
49629
49629
  var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Actions/ActionSubItem/index.jsx";
49630
- var hash = "65970fb9020f4687a157fc644a66e748544dff78";
49630
+ var hash = "5c3fbbed6a1e549abc1d3f170659daa136e88285";
49631
49631
  var global = new Function("return this")();
49632
49632
  var gcv = "__coverage__";
49633
49633
  var coverageData = {
@@ -49729,103 +49729,103 @@ function cov_2mb0ufoovu() {
49729
49729
  column: 2
49730
49730
  },
49731
49731
  end: {
49732
- line: 89,
49732
+ line: 86,
49733
49733
  column: 3
49734
49734
  }
49735
49735
  },
49736
49736
  "10": {
49737
49737
  start: {
49738
- line: 80,
49738
+ line: 77,
49739
49739
  column: 4
49740
49740
  },
49741
49741
  end: {
49742
- line: 88,
49742
+ line: 85,
49743
49743
  column: 6
49744
49744
  }
49745
49745
  },
49746
49746
  "11": {
49747
49747
  start: {
49748
- line: 91,
49748
+ line: 88,
49749
49749
  column: 2
49750
49750
  },
49751
49751
  end: {
49752
- line: 101,
49752
+ line: 98,
49753
49753
  column: 3
49754
49754
  }
49755
49755
  },
49756
49756
  "12": {
49757
49757
  start: {
49758
- line: 92,
49758
+ line: 89,
49759
49759
  column: 4
49760
49760
  },
49761
49761
  end: {
49762
- line: 100,
49762
+ line: 97,
49763
49763
  column: 6
49764
49764
  }
49765
49765
  },
49766
49766
  "13": {
49767
49767
  start: {
49768
- line: 103,
49768
+ line: 100,
49769
49769
  column: 2
49770
49770
  },
49771
49771
  end: {
49772
- line: 114,
49772
+ line: 111,
49773
49773
  column: 3
49774
49774
  }
49775
49775
  },
49776
49776
  "14": {
49777
49777
  start: {
49778
- line: 104,
49778
+ line: 101,
49779
49779
  column: 4
49780
49780
  },
49781
49781
  end: {
49782
- line: 113,
49782
+ line: 110,
49783
49783
  column: 6
49784
49784
  }
49785
49785
  },
49786
49786
  "15": {
49787
49787
  start: {
49788
- line: 116,
49788
+ line: 113,
49789
49789
  column: 2
49790
49790
  },
49791
49791
  end: {
49792
- line: 118,
49792
+ line: 115,
49793
49793
  column: 3
49794
49794
  }
49795
49795
  },
49796
49796
  "16": {
49797
49797
  start: {
49798
- line: 117,
49798
+ line: 114,
49799
49799
  column: 4
49800
49800
  },
49801
49801
  end: {
49802
- line: 117,
49802
+ line: 114,
49803
49803
  column: 77
49804
49804
  }
49805
49805
  },
49806
49806
  "17": {
49807
49807
  start: {
49808
- line: 120,
49808
+ line: 117,
49809
49809
  column: 2
49810
49810
  },
49811
49811
  end: {
49812
- line: 124,
49812
+ line: 121,
49813
49813
  column: 3
49814
49814
  }
49815
49815
  },
49816
49816
  "18": {
49817
49817
  start: {
49818
- line: 121,
49818
+ line: 118,
49819
49819
  column: 4
49820
49820
  },
49821
49821
  end: {
49822
- line: 123,
49822
+ line: 120,
49823
49823
  column: 6
49824
49824
  }
49825
49825
  },
49826
49826
  "19": {
49827
49827
  start: {
49828
- line: 126,
49828
+ line: 123,
49829
49829
  column: 2
49830
49830
  },
49831
49831
  end: {
@@ -50030,7 +50030,7 @@ function cov_2mb0ufoovu() {
50030
50030
  column: 2
50031
50031
  },
50032
50032
  end: {
50033
- line: 89,
50033
+ line: 86,
50034
50034
  column: 3
50035
50035
  }
50036
50036
  },
@@ -50041,7 +50041,7 @@ function cov_2mb0ufoovu() {
50041
50041
  column: 2
50042
50042
  },
50043
50043
  end: {
50044
- line: 89,
50044
+ line: 86,
50045
50045
  column: 3
50046
50046
  }
50047
50047
  }, {
@@ -50059,55 +50059,55 @@ function cov_2mb0ufoovu() {
50059
50059
  "5": {
50060
50060
  loc: {
50061
50061
  start: {
50062
- line: 77,
50063
- column: 4
50062
+ line: 88,
50063
+ column: 2
50064
50064
  },
50065
50065
  end: {
50066
- line: 78,
50067
- column: 49
50066
+ line: 98,
50067
+ column: 3
50068
50068
  }
50069
50069
  },
50070
- type: "binary-expr",
50070
+ type: "if",
50071
50071
  locations: [{
50072
50072
  start: {
50073
- line: 77,
50074
- column: 4
50073
+ line: 88,
50074
+ column: 2
50075
50075
  },
50076
50076
  end: {
50077
- line: 77,
50078
- column: 45
50077
+ line: 98,
50078
+ column: 3
50079
50079
  }
50080
50080
  }, {
50081
50081
  start: {
50082
- line: 78,
50083
- column: 4
50082
+ line: undefined,
50083
+ column: undefined
50084
50084
  },
50085
50085
  end: {
50086
- line: 78,
50087
- column: 49
50086
+ line: undefined,
50087
+ column: undefined
50088
50088
  }
50089
50089
  }],
50090
- line: 77
50090
+ line: 88
50091
50091
  },
50092
50092
  "6": {
50093
50093
  loc: {
50094
50094
  start: {
50095
- line: 91,
50095
+ line: 100,
50096
50096
  column: 2
50097
50097
  },
50098
50098
  end: {
50099
- line: 101,
50099
+ line: 111,
50100
50100
  column: 3
50101
50101
  }
50102
50102
  },
50103
50103
  type: "if",
50104
50104
  locations: [{
50105
50105
  start: {
50106
- line: 91,
50106
+ line: 100,
50107
50107
  column: 2
50108
50108
  },
50109
50109
  end: {
50110
- line: 101,
50110
+ line: 111,
50111
50111
  column: 3
50112
50112
  }
50113
50113
  }, {
@@ -50120,27 +50120,27 @@ function cov_2mb0ufoovu() {
50120
50120
  column: undefined
50121
50121
  }
50122
50122
  }],
50123
- line: 91
50123
+ line: 100
50124
50124
  },
50125
50125
  "7": {
50126
50126
  loc: {
50127
50127
  start: {
50128
- line: 103,
50128
+ line: 113,
50129
50129
  column: 2
50130
50130
  },
50131
50131
  end: {
50132
- line: 114,
50132
+ line: 115,
50133
50133
  column: 3
50134
50134
  }
50135
50135
  },
50136
50136
  type: "if",
50137
50137
  locations: [{
50138
50138
  start: {
50139
- line: 103,
50139
+ line: 113,
50140
50140
  column: 2
50141
50141
  },
50142
50142
  end: {
50143
- line: 114,
50143
+ line: 115,
50144
50144
  column: 3
50145
50145
  }
50146
50146
  }, {
@@ -50153,27 +50153,27 @@ function cov_2mb0ufoovu() {
50153
50153
  column: undefined
50154
50154
  }
50155
50155
  }],
50156
- line: 103
50156
+ line: 113
50157
50157
  },
50158
50158
  "8": {
50159
50159
  loc: {
50160
50160
  start: {
50161
- line: 116,
50161
+ line: 117,
50162
50162
  column: 2
50163
50163
  },
50164
50164
  end: {
50165
- line: 118,
50165
+ line: 121,
50166
50166
  column: 3
50167
50167
  }
50168
50168
  },
50169
50169
  type: "if",
50170
50170
  locations: [{
50171
50171
  start: {
50172
- line: 116,
50172
+ line: 117,
50173
50173
  column: 2
50174
50174
  },
50175
50175
  end: {
50176
- line: 118,
50176
+ line: 121,
50177
50177
  column: 3
50178
50178
  }
50179
50179
  }, {
@@ -50186,27 +50186,27 @@ function cov_2mb0ufoovu() {
50186
50186
  column: undefined
50187
50187
  }
50188
50188
  }],
50189
- line: 116
50189
+ line: 117
50190
50190
  },
50191
50191
  "9": {
50192
50192
  loc: {
50193
50193
  start: {
50194
- line: 120,
50194
+ line: 123,
50195
50195
  column: 2
50196
50196
  },
50197
50197
  end: {
50198
- line: 124,
50198
+ line: 136,
50199
50199
  column: 3
50200
50200
  }
50201
50201
  },
50202
50202
  type: "if",
50203
50203
  locations: [{
50204
50204
  start: {
50205
- line: 120,
50205
+ line: 123,
50206
50206
  column: 2
50207
50207
  },
50208
50208
  end: {
50209
- line: 124,
50209
+ line: 136,
50210
50210
  column: 3
50211
50211
  }
50212
50212
  }, {
@@ -50219,40 +50219,40 @@ function cov_2mb0ufoovu() {
50219
50219
  column: undefined
50220
50220
  }
50221
50221
  }],
50222
- line: 120
50222
+ line: 123
50223
50223
  },
50224
50224
  "10": {
50225
50225
  loc: {
50226
50226
  start: {
50227
- line: 126,
50228
- column: 2
50227
+ line: 124,
50228
+ column: 4
50229
50229
  },
50230
50230
  end: {
50231
- line: 136,
50232
- column: 3
50231
+ line: 125,
50232
+ column: 49
50233
50233
  }
50234
50234
  },
50235
- type: "if",
50235
+ type: "binary-expr",
50236
50236
  locations: [{
50237
50237
  start: {
50238
- line: 126,
50239
- column: 2
50238
+ line: 124,
50239
+ column: 4
50240
50240
  },
50241
50241
  end: {
50242
- line: 136,
50243
- column: 3
50242
+ line: 124,
50243
+ column: 49
50244
50244
  }
50245
50245
  }, {
50246
50246
  start: {
50247
- line: undefined,
50248
- column: undefined
50247
+ line: 125,
50248
+ column: 4
50249
50249
  },
50250
50250
  end: {
50251
- line: undefined,
50252
- column: undefined
50251
+ line: 125,
50252
+ column: 49
50253
50253
  }
50254
50254
  }],
50255
- line: 126
50255
+ line: 124
50256
50256
  }
50257
50257
  },
50258
50258
  s: {
@@ -50297,7 +50297,7 @@ function cov_2mb0ufoovu() {
50297
50297
  "10": [0, 0]
50298
50298
  },
50299
50299
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
50300
- hash: "65970fb9020f4687a157fc644a66e748544dff78"
50300
+ hash: "5c3fbbed6a1e549abc1d3f170659daa136e88285"
50301
50301
  };
50302
50302
  var coverage = global[gcv] || (global[gcv] = {});
50303
50303
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -50387,7 +50387,7 @@ var ActionSubItems = function ActionSubItems(_ref) {
50387
50387
  cov_2mb0ufoovu().b[3][1]++;
50388
50388
  }
50389
50389
  cov_2mb0ufoovu().s[9]++;
50390
- if ((cov_2mb0ufoovu().b[5][0]++, (selectedField === null || selectedField === void 0 ? void 0 : selectedField.type) === ACTION_TYPES.note) || (cov_2mb0ufoovu().b[5][1]++, (selectedField === null || selectedField === void 0 ? void 0 : selectedField.type) === ACTION_TYPES.textarea)) {
50390
+ if ((selectedField === null || selectedField === void 0 ? void 0 : selectedField.type) === ACTION_TYPES.note) {
50391
50391
  var _action$metadata2;
50392
50392
  cov_2mb0ufoovu().b[4][0]++;
50393
50393
  cov_2mb0ufoovu().s[10]++;
@@ -50404,7 +50404,7 @@ var ActionSubItems = function ActionSubItems(_ref) {
50404
50404
  cov_2mb0ufoovu().s[11]++;
50405
50405
  if ((selectedField === null || selectedField === void 0 ? void 0 : selectedField.type) === ACTION_TYPES.list) {
50406
50406
  var _action$metadata3;
50407
- cov_2mb0ufoovu().b[6][0]++;
50407
+ cov_2mb0ufoovu().b[5][0]++;
50408
50408
  cov_2mb0ufoovu().s[12]++;
50409
50409
  return /*#__PURE__*/React__default["default"].createElement(ListField, {
50410
50410
  index: index,
@@ -50414,12 +50414,12 @@ var ActionSubItems = function ActionSubItems(_ref) {
50414
50414
  values: (_action$metadata3 = action.metadata) === null || _action$metadata3 === void 0 ? void 0 : _action$metadata3.value
50415
50415
  });
50416
50416
  } else {
50417
- cov_2mb0ufoovu().b[6][1]++;
50417
+ cov_2mb0ufoovu().b[5][1]++;
50418
50418
  }
50419
50419
  cov_2mb0ufoovu().s[13]++;
50420
50420
  if ((selectedField === null || selectedField === void 0 ? void 0 : selectedField.type) === ACTION_TYPES.multiSelect) {
50421
50421
  var _action$metadata4;
50422
- cov_2mb0ufoovu().b[7][0]++;
50422
+ cov_2mb0ufoovu().b[6][0]++;
50423
50423
  cov_2mb0ufoovu().s[14]++;
50424
50424
  return /*#__PURE__*/React__default["default"].createElement(MultiSelect$1, {
50425
50425
  dropDownOptions: options,
@@ -50430,11 +50430,11 @@ var ActionSubItems = function ActionSubItems(_ref) {
50430
50430
  values: (_action$metadata4 = action.metadata) === null || _action$metadata4 === void 0 ? void 0 : _action$metadata4.value
50431
50431
  });
50432
50432
  } else {
50433
- cov_2mb0ufoovu().b[7][1]++;
50433
+ cov_2mb0ufoovu().b[6][1]++;
50434
50434
  }
50435
50435
  cov_2mb0ufoovu().s[15]++;
50436
50436
  if (ACTION_INPUT_TYPES.includes(selectedField === null || selectedField === void 0 ? void 0 : selectedField.type)) {
50437
- cov_2mb0ufoovu().b[8][0]++;
50437
+ cov_2mb0ufoovu().b[7][0]++;
50438
50438
  cov_2mb0ufoovu().s[16]++;
50439
50439
  return /*#__PURE__*/React__default["default"].createElement(Input, {
50440
50440
  index: index,
@@ -50442,11 +50442,11 @@ var ActionSubItems = function ActionSubItems(_ref) {
50442
50442
  selectedField: selectedField
50443
50443
  });
50444
50444
  } else {
50445
- cov_2mb0ufoovu().b[8][1]++;
50445
+ cov_2mb0ufoovu().b[7][1]++;
50446
50446
  }
50447
50447
  cov_2mb0ufoovu().s[17]++;
50448
50448
  if ((selectedField === null || selectedField === void 0 ? void 0 : selectedField.type) === ACTION_TYPES.date) {
50449
- cov_2mb0ufoovu().b[9][0]++;
50449
+ cov_2mb0ufoovu().b[8][0]++;
50450
50450
  cov_2mb0ufoovu().s[18]++;
50451
50451
  return /*#__PURE__*/React__default["default"].createElement(DateField$1, {
50452
50452
  index: index,
@@ -50454,12 +50454,12 @@ var ActionSubItems = function ActionSubItems(_ref) {
50454
50454
  selectedField: selectedField
50455
50455
  });
50456
50456
  } else {
50457
- cov_2mb0ufoovu().b[9][1]++;
50457
+ cov_2mb0ufoovu().b[8][1]++;
50458
50458
  }
50459
50459
  cov_2mb0ufoovu().s[19]++;
50460
- if ((selectedField === null || selectedField === void 0 ? void 0 : selectedField.type) === ACTION_TYPES.longText) {
50460
+ if ((cov_2mb0ufoovu().b[10][0]++, (selectedField === null || selectedField === void 0 ? void 0 : selectedField.type) === ACTION_TYPES.longText) || (cov_2mb0ufoovu().b[10][1]++, (selectedField === null || selectedField === void 0 ? void 0 : selectedField.type) === ACTION_TYPES.textarea)) {
50461
50461
  var _action$metadata5;
50462
- cov_2mb0ufoovu().b[10][0]++;
50462
+ cov_2mb0ufoovu().b[9][0]++;
50463
50463
  cov_2mb0ufoovu().s[20]++;
50464
50464
  return /*#__PURE__*/React__default["default"].createElement(LongTextField, {
50465
50465
  index: index,
@@ -50469,7 +50469,7 @@ var ActionSubItems = function ActionSubItems(_ref) {
50469
50469
  value: (_action$metadata5 = action.metadata) === null || _action$metadata5 === void 0 ? void 0 : _action$metadata5.value
50470
50470
  });
50471
50471
  } else {
50472
- cov_2mb0ufoovu().b[10][1]++;
50472
+ cov_2mb0ufoovu().b[9][1]++;
50473
50473
  }
50474
50474
  cov_2mb0ufoovu().s[21]++;
50475
50475
  return null;