@bigbinary/neeto-form-frontend 1.1.1 → 1.1.3

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
@@ -28081,7 +28081,7 @@ var List = function List(_ref) {
28081
28081
  var _excluded$c = ["questionKinds", "showAddQuestionDivider", "onValueChange", "showActionBlock", "formId", "isDeletable", "isRequiredField", "submitButtonProps", "cancelButtonProps", "isKindAlreadyActive", "getActiveKindDetails", "kindUniqueOn", "isDisabledFieldLabel"];
28082
28082
  function cov_2e8k7gwd81() {
28083
28083
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Form/index.jsx";
28084
- var hash = "0e541f4af3139e353b4bfbecbf13d6733838aa71";
28084
+ var hash = "5a619ca0b5015a3a8b98845e724473ed102fb53f";
28085
28085
  var global = new Function("return this")();
28086
28086
  var gcv = "__coverage__";
28087
28087
  var coverageData = {
@@ -28093,7 +28093,7 @@ function cov_2e8k7gwd81() {
28093
28093
  column: 13
28094
28094
  },
28095
28095
  end: {
28096
- line: 224,
28096
+ line: 229,
28097
28097
  column: 1
28098
28098
  }
28099
28099
  },
@@ -28363,97 +28363,97 @@ function cov_2e8k7gwd81() {
28363
28363
  column: 2
28364
28364
  },
28365
28365
  end: {
28366
- line: 223,
28366
+ line: 228,
28367
28367
  column: 4
28368
28368
  }
28369
28369
  },
28370
28370
  "28": {
28371
28371
  start: {
28372
- line: 147,
28372
+ line: 152,
28373
28373
  column: 23
28374
28374
  },
28375
28375
  end: {
28376
- line: 147,
28376
+ line: 152,
28377
28377
  column: 51
28378
28378
  }
28379
28379
  },
28380
28380
  "29": {
28381
28381
  start: {
28382
- line: 149,
28382
+ line: 154,
28383
28383
  column: 32
28384
28384
  },
28385
28385
  end: {
28386
- line: 152,
28386
+ line: 157,
28387
28387
  column: 11
28388
28388
  }
28389
28389
  },
28390
28390
  "30": {
28391
28391
  start: {
28392
- line: 153,
28392
+ line: 158,
28393
28393
  column: 10
28394
28394
  },
28395
28395
  end: {
28396
- line: 153,
28396
+ line: 158,
28397
28397
  column: 59
28398
28398
  }
28399
28399
  },
28400
28400
  "31": {
28401
28401
  start: {
28402
- line: 154,
28402
+ line: 159,
28403
28403
  column: 10
28404
28404
  },
28405
28405
  end: {
28406
- line: 154,
28406
+ line: 159,
28407
28407
  column: 39
28408
28408
  }
28409
28409
  },
28410
28410
  "32": {
28411
28411
  start: {
28412
- line: 161,
28412
+ line: 166,
28413
28413
  column: 14
28414
28414
  },
28415
28415
  end: {
28416
- line: 191,
28416
+ line: 196,
28417
28417
  column: 17
28418
28418
  }
28419
28419
  },
28420
28420
  "33": {
28421
28421
  start: {
28422
- line: 164,
28422
+ line: 169,
28423
28423
  column: 20
28424
28424
  },
28425
28425
  end: {
28426
- line: 169,
28426
+ line: 174,
28427
28427
  column: 22
28428
28428
  }
28429
28429
  },
28430
28430
  "34": {
28431
28431
  start: {
28432
- line: 188,
28432
+ line: 193,
28433
28433
  column: 38
28434
28434
  },
28435
28435
  end: {
28436
- line: 188,
28436
+ line: 193,
28437
28437
  column: 65
28438
28438
  }
28439
28439
  },
28440
28440
  "35": {
28441
28441
  start: {
28442
- line: 200,
28442
+ line: 205,
28443
28443
  column: 38
28444
28444
  },
28445
28445
  end: {
28446
- line: 203,
28446
+ line: 208,
28447
28447
  column: 17
28448
28448
  }
28449
28449
  },
28450
28450
  "36": {
28451
28451
  start: {
28452
- line: 204,
28452
+ line: 209,
28453
28453
  column: 16
28454
28454
  },
28455
28455
  end: {
28456
- line: 204,
28456
+ line: 209,
28457
28457
  column: 65
28458
28458
  }
28459
28459
  }
@@ -28477,7 +28477,7 @@ function cov_2e8k7gwd81() {
28477
28477
  column: 6
28478
28478
  },
28479
28479
  end: {
28480
- line: 224,
28480
+ line: 229,
28481
28481
  column: 1
28482
28482
  }
28483
28483
  },
@@ -28727,145 +28727,145 @@ function cov_2e8k7gwd81() {
28727
28727
  name: "(anonymous_11)",
28728
28728
  decl: {
28729
28729
  start: {
28730
- line: 147,
28730
+ line: 152,
28731
28731
  column: 17
28732
28732
  },
28733
28733
  end: {
28734
- line: 147,
28734
+ line: 152,
28735
28735
  column: 18
28736
28736
  }
28737
28737
  },
28738
28738
  loc: {
28739
28739
  start: {
28740
- line: 147,
28740
+ line: 152,
28741
28741
  column: 23
28742
28742
  },
28743
28743
  end: {
28744
- line: 147,
28744
+ line: 152,
28745
28745
  column: 51
28746
28746
  }
28747
28747
  },
28748
- line: 147
28748
+ line: 152
28749
28749
  },
28750
28750
  "12": {
28751
28751
  name: "(anonymous_12)",
28752
28752
  decl: {
28753
28753
  start: {
28754
- line: 148,
28754
+ line: 153,
28755
28755
  column: 18
28756
28756
  },
28757
28757
  end: {
28758
- line: 148,
28758
+ line: 153,
28759
28759
  column: 19
28760
28760
  }
28761
28761
  },
28762
28762
  loc: {
28763
28763
  start: {
28764
- line: 148,
28764
+ line: 153,
28765
28765
  column: 24
28766
28766
  },
28767
28767
  end: {
28768
- line: 155,
28768
+ line: 160,
28769
28769
  column: 9
28770
28770
  }
28771
28771
  },
28772
- line: 148
28772
+ line: 153
28773
28773
  },
28774
28774
  "13": {
28775
28775
  name: "(anonymous_13)",
28776
28776
  decl: {
28777
28777
  start: {
28778
- line: 160,
28778
+ line: 165,
28779
28779
  column: 13
28780
28780
  },
28781
28781
  end: {
28782
- line: 160,
28782
+ line: 165,
28783
28783
  column: 14
28784
28784
  }
28785
28785
  },
28786
28786
  loc: {
28787
28787
  start: {
28788
- line: 161,
28788
+ line: 166,
28789
28789
  column: 14
28790
28790
  },
28791
28791
  end: {
28792
- line: 191,
28792
+ line: 196,
28793
28793
  column: 17
28794
28794
  }
28795
28795
  },
28796
- line: 161
28796
+ line: 166
28797
28797
  },
28798
28798
  "14": {
28799
28799
  name: "(anonymous_14)",
28800
28800
  decl: {
28801
28801
  start: {
28802
- line: 163,
28802
+ line: 168,
28803
28803
  column: 29
28804
28804
  },
28805
28805
  end: {
28806
- line: 163,
28806
+ line: 168,
28807
28807
  column: 30
28808
28808
  }
28809
28809
  },
28810
28810
  loc: {
28811
28811
  start: {
28812
- line: 164,
28812
+ line: 169,
28813
28813
  column: 20
28814
28814
  },
28815
28815
  end: {
28816
- line: 169,
28816
+ line: 174,
28817
28817
  column: 22
28818
28818
  }
28819
28819
  },
28820
- line: 164
28820
+ line: 169
28821
28821
  },
28822
28822
  "15": {
28823
28823
  name: "(anonymous_15)",
28824
28824
  decl: {
28825
28825
  start: {
28826
- line: 188,
28826
+ line: 193,
28827
28827
  column: 30
28828
28828
  },
28829
28829
  end: {
28830
- line: 188,
28830
+ line: 193,
28831
28831
  column: 31
28832
28832
  }
28833
28833
  },
28834
28834
  loc: {
28835
28835
  start: {
28836
- line: 188,
28836
+ line: 193,
28837
28837
  column: 38
28838
28838
  },
28839
28839
  end: {
28840
- line: 188,
28840
+ line: 193,
28841
28841
  column: 65
28842
28842
  }
28843
28843
  },
28844
- line: 188
28844
+ line: 193
28845
28845
  },
28846
28846
  "16": {
28847
28847
  name: "(anonymous_16)",
28848
28848
  decl: {
28849
28849
  start: {
28850
- line: 199,
28850
+ line: 204,
28851
28851
  column: 24
28852
28852
  },
28853
28853
  end: {
28854
- line: 199,
28854
+ line: 204,
28855
28855
  column: 25
28856
28856
  }
28857
28857
  },
28858
28858
  loc: {
28859
28859
  start: {
28860
- line: 199,
28860
+ line: 204,
28861
28861
  column: 32
28862
28862
  },
28863
28863
  end: {
28864
- line: 205,
28864
+ line: 210,
28865
28865
  column: 15
28866
28866
  }
28867
28867
  },
28868
- line: 199
28868
+ line: 204
28869
28869
  }
28870
28870
  },
28871
28871
  branchMap: {
@@ -29079,134 +29079,134 @@ function cov_2e8k7gwd81() {
29079
29079
  "6": {
29080
29080
  loc: {
29081
29081
  start: {
29082
- line: 144,
29083
- column: 12
29082
+ line: 147,
29083
+ column: 16
29084
29084
  },
29085
29085
  end: {
29086
- line: 145,
29087
- column: 61
29086
+ line: 148,
29087
+ column: 65
29088
29088
  }
29089
29089
  },
29090
29090
  type: "binary-expr",
29091
29091
  locations: [{
29092
29092
  start: {
29093
- line: 144,
29094
- column: 12
29093
+ line: 147,
29094
+ column: 16
29095
29095
  },
29096
29096
  end: {
29097
- line: 144,
29098
- column: 72
29097
+ line: 147,
29098
+ column: 76
29099
29099
  }
29100
29100
  }, {
29101
29101
  start: {
29102
- line: 145,
29103
- column: 12
29102
+ line: 148,
29103
+ column: 16
29104
29104
  },
29105
29105
  end: {
29106
- line: 145,
29107
- column: 61
29106
+ line: 148,
29107
+ column: 65
29108
29108
  }
29109
29109
  }],
29110
- line: 144
29110
+ line: 147
29111
29111
  },
29112
29112
  "7": {
29113
29113
  loc: {
29114
29114
  start: {
29115
- line: 158,
29115
+ line: 163,
29116
29116
  column: 9
29117
29117
  },
29118
29118
  end: {
29119
- line: 208,
29119
+ line: 213,
29120
29120
  column: 9
29121
29121
  }
29122
29122
  },
29123
29123
  type: "cond-expr",
29124
29124
  locations: [{
29125
29125
  start: {
29126
- line: 159,
29126
+ line: 164,
29127
29127
  column: 10
29128
29128
  },
29129
29129
  end: {
29130
- line: 193,
29130
+ line: 198,
29131
29131
  column: 23
29132
29132
  }
29133
29133
  }, {
29134
29134
  start: {
29135
- line: 195,
29135
+ line: 200,
29136
29136
  column: 10
29137
29137
  },
29138
29138
  end: {
29139
- line: 207,
29139
+ line: 212,
29140
29140
  column: 29
29141
29141
  }
29142
29142
  }],
29143
- line: 158
29143
+ line: 163
29144
29144
  },
29145
29145
  "8": {
29146
29146
  loc: {
29147
29147
  start: {
29148
- line: 209,
29148
+ line: 214,
29149
29149
  column: 9
29150
29150
  },
29151
29151
  end: {
29152
- line: 220,
29152
+ line: 225,
29153
29153
  column: 9
29154
29154
  }
29155
29155
  },
29156
29156
  type: "binary-expr",
29157
29157
  locations: [{
29158
29158
  start: {
29159
- line: 209,
29159
+ line: 214,
29160
29160
  column: 9
29161
29161
  },
29162
29162
  end: {
29163
- line: 209,
29163
+ line: 214,
29164
29164
  column: 24
29165
29165
  }
29166
29166
  }, {
29167
29167
  start: {
29168
- line: 210,
29168
+ line: 215,
29169
29169
  column: 10
29170
29170
  },
29171
29171
  end: {
29172
- line: 219,
29172
+ line: 224,
29173
29173
  column: 12
29174
29174
  }
29175
29175
  }],
29176
- line: 209
29176
+ line: 214
29177
29177
  },
29178
29178
  "9": {
29179
29179
  loc: {
29180
29180
  start: {
29181
- line: 216,
29181
+ line: 221,
29182
29182
  column: 24
29183
29183
  },
29184
29184
  end: {
29185
- line: 216,
29185
+ line: 221,
29186
29186
  column: 46
29187
29187
  }
29188
29188
  },
29189
29189
  type: "binary-expr",
29190
29190
  locations: [{
29191
29191
  start: {
29192
- line: 216,
29192
+ line: 221,
29193
29193
  column: 24
29194
29194
  },
29195
29195
  end: {
29196
- line: 216,
29196
+ line: 221,
29197
29197
  column: 36
29198
29198
  }
29199
29199
  }, {
29200
29200
  start: {
29201
- line: 216,
29201
+ line: 221,
29202
29202
  column: 40
29203
29203
  },
29204
29204
  end: {
29205
- line: 216,
29205
+ line: 221,
29206
29206
  column: 46
29207
29207
  }
29208
29208
  }],
29209
- line: 216
29209
+ line: 221
29210
29210
  }
29211
29211
  },
29212
29212
  s: {
@@ -29280,7 +29280,7 @@ function cov_2e8k7gwd81() {
29280
29280
  "9": [0, 0]
29281
29281
  },
29282
29282
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
29283
- hash: "0e541f4af3139e353b4bfbecbf13d6733838aa71"
29283
+ hash: "5a619ca0b5015a3a8b98845e724473ed102fb53f"
29284
29284
  };
29285
29285
  var coverage = global[gcv] || (global[gcv] = {});
29286
29286
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -29423,10 +29423,13 @@ var Form = function Form(_ref) {
29423
29423
  cov_2e8k7gwd81().s[27]++;
29424
29424
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Alert, {
29425
29425
  isOpen: deleteQuestionIndex !== null,
29426
- message: t("neetoForm.questions.deleteAlert.message"),
29427
- submitButtonLabel: t("neetoForm.common.yes"),
29428
- title: t("neetoForm.questions.deleteAlert.title", {
29429
- label: (_ref13 = (cov_2e8k7gwd81().b[6][0]++, INDEPENDENT_LABELS_MAP[(_questions$deleteQues = questions[deleteQuestionIndex]) === null || _questions$deleteQues === void 0 ? void 0 : _questions$deleteQues.kind])) !== null && _ref13 !== void 0 ? _ref13 : (cov_2e8k7gwd81().b[6][1]++, sliceLabel((_questions$deleteQues2 = questions[deleteQuestionIndex]) === null || _questions$deleteQues2 === void 0 ? void 0 : _questions$deleteQues2.label))
29426
+ submitButtonLabel: t("neetoForm.common.delete"),
29427
+ title: t("neetoForm.questions.deleteAlert.title"),
29428
+ message: /*#__PURE__*/React__default["default"].createElement(reactI18next.Trans, {
29429
+ i18nKey: "neetoForm.questions.deleteAlert.message",
29430
+ values: {
29431
+ label: (_ref13 = (cov_2e8k7gwd81().b[6][0]++, INDEPENDENT_LABELS_MAP[(_questions$deleteQues = questions[deleteQuestionIndex]) === null || _questions$deleteQues === void 0 ? void 0 : _questions$deleteQues.kind])) !== null && _ref13 !== void 0 ? _ref13 : (cov_2e8k7gwd81().b[6][1]++, sliceLabel((_questions$deleteQues2 = questions[deleteQuestionIndex]) === null || _questions$deleteQues2 === void 0 ? void 0 : _questions$deleteQues2.label))
29432
+ }
29430
29433
  }),
29431
29434
  onClose: function onClose() {
29432
29435
  cov_2e8k7gwd81().f[11]++;
@@ -37629,7 +37632,7 @@ var MultipleEmailInput = function MultipleEmailInput(_ref) {
37629
37632
  var _excluded$a = ["name", "label", "error", "value"];
37630
37633
  function cov_1gez8dqmnr() {
37631
37634
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Condition.jsx";
37632
- var hash = "328a2f02a8ce55ca9c1107c4db4abe7d241df713";
37635
+ var hash = "ba5a7487627e2b452c5f901e5e3e7ead4fafc579";
37633
37636
  var global = new Function("return this")();
37634
37637
  var gcv = "__coverage__";
37635
37638
  var coverageData = {
@@ -37641,7 +37644,7 @@ function cov_1gez8dqmnr() {
37641
37644
  column: 18
37642
37645
  },
37643
37646
  end: {
37644
- line: 24,
37647
+ line: 27,
37645
37648
  column: 1
37646
37649
  }
37647
37650
  },
@@ -37651,7 +37654,7 @@ function cov_1gez8dqmnr() {
37651
37654
  column: 2
37652
37655
  },
37653
37656
  end: {
37654
- line: 23,
37657
+ line: 26,
37655
37658
  column: 8
37656
37659
  }
37657
37660
  }
@@ -37675,7 +37678,7 @@ function cov_1gez8dqmnr() {
37675
37678
  column: 2
37676
37679
  },
37677
37680
  end: {
37678
- line: 23,
37681
+ line: 26,
37679
37682
  column: 8
37680
37683
  }
37681
37684
  },
@@ -37686,44 +37689,44 @@ function cov_1gez8dqmnr() {
37686
37689
  "0": {
37687
37690
  loc: {
37688
37691
  start: {
37689
- line: 20,
37692
+ line: 23,
37690
37693
  column: 5
37691
37694
  },
37692
37695
  end: {
37693
- line: 22,
37696
+ line: 25,
37694
37697
  column: 5
37695
37698
  }
37696
37699
  },
37697
37700
  type: "binary-expr",
37698
37701
  locations: [{
37699
37702
  start: {
37700
- line: 20,
37703
+ line: 23,
37701
37704
  column: 5
37702
37705
  },
37703
37706
  end: {
37704
- line: 20,
37707
+ line: 23,
37705
37708
  column: 12
37706
37709
  }
37707
37710
  }, {
37708
37711
  start: {
37709
- line: 20,
37712
+ line: 23,
37710
37713
  column: 16
37711
37714
  },
37712
37715
  end: {
37713
- line: 20,
37716
+ line: 23,
37714
37717
  column: 41
37715
37718
  }
37716
37719
  }, {
37717
37720
  start: {
37718
- line: 21,
37721
+ line: 24,
37719
37722
  column: 6
37720
37723
  },
37721
37724
  end: {
37722
- line: 21,
37725
+ line: 24,
37723
37726
  column: 63
37724
37727
  }
37725
37728
  }],
37726
- line: 20
37729
+ line: 23
37727
37730
  }
37728
37731
  },
37729
37732
  s: {
@@ -37737,7 +37740,7 @@ function cov_1gez8dqmnr() {
37737
37740
  "0": [0, 0, 0]
37738
37741
  },
37739
37742
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
37740
- hash: "328a2f02a8ce55ca9c1107c4db4abe7d241df713"
37743
+ hash: "ba5a7487627e2b452c5f901e5e3e7ead4fafc579"
37741
37744
  };
37742
37745
  var coverage = global[gcv] || (global[gcv] = {});
37743
37746
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -37775,7 +37778,7 @@ var Condition = function Condition(_ref, ref) {
37775
37778
  type: "checkbox",
37776
37779
  value: value
37777
37780
  }, otherProps)), /*#__PURE__*/React__default["default"].createElement("label", {
37778
- className: "neeto-form-engine-label",
37781
+ className: "neeto-form-engine-label font-normal",
37779
37782
  htmlFor: "condition-".concat(name)
37780
37783
  }, label)), (cov_1gez8dqmnr().b[0][0]++, !!error) && (cov_1gez8dqmnr().b[0][1]++, typeof error === "string") && (cov_1gez8dqmnr().b[0][2]++, /*#__PURE__*/React__default["default"].createElement("p", {
37781
37784
  className: "neeto-form-engine-input__error"