@bigbinary/neeto-form-frontend 1.0.49 → 1.0.50

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
@@ -31549,7 +31549,7 @@ var List = function List(_ref) {
31549
31549
  var _excluded$c = ["questionKinds", "showAddQuestionDivider", "onValueChange", "showActionBlock", "formId", "isDeletable", "isRequiredField", "submitButtonProps", "cancelButtonProps", "isKindAlreadyActive", "getActiveKindDetails", "kindUniqueOn", "isDisabledFieldLabel"];
31550
31550
  function cov_2e8k7gwd81() {
31551
31551
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Form/index.jsx";
31552
- var hash = "75bc0a57ebc0e79094a7a070d3da27cbc5fa1354";
31552
+ var hash = "0e541f4af3139e353b4bfbecbf13d6733838aa71";
31553
31553
  var global = new Function("return this")();
31554
31554
  var gcv = "__coverage__";
31555
31555
  var coverageData = {
@@ -31561,7 +31561,7 @@ function cov_2e8k7gwd81() {
31561
31561
  column: 13
31562
31562
  },
31563
31563
  end: {
31564
- line: 221,
31564
+ line: 224,
31565
31565
  column: 1
31566
31566
  }
31567
31567
  },
@@ -31831,7 +31831,7 @@ function cov_2e8k7gwd81() {
31831
31831
  column: 2
31832
31832
  },
31833
31833
  end: {
31834
- line: 220,
31834
+ line: 223,
31835
31835
  column: 4
31836
31836
  }
31837
31837
  },
@@ -31945,7 +31945,7 @@ function cov_2e8k7gwd81() {
31945
31945
  column: 6
31946
31946
  },
31947
31947
  end: {
31948
- line: 221,
31948
+ line: 224,
31949
31949
  column: 1
31950
31950
  }
31951
31951
  },
@@ -32617,7 +32617,7 @@ function cov_2e8k7gwd81() {
32617
32617
  column: 9
32618
32618
  },
32619
32619
  end: {
32620
- line: 217,
32620
+ line: 220,
32621
32621
  column: 9
32622
32622
  }
32623
32623
  },
@@ -32637,7 +32637,7 @@ function cov_2e8k7gwd81() {
32637
32637
  column: 10
32638
32638
  },
32639
32639
  end: {
32640
- line: 216,
32640
+ line: 219,
32641
32641
  column: 12
32642
32642
  }
32643
32643
  }],
@@ -32646,35 +32646,35 @@ function cov_2e8k7gwd81() {
32646
32646
  "9": {
32647
32647
  loc: {
32648
32648
  start: {
32649
- line: 213,
32649
+ line: 216,
32650
32650
  column: 24
32651
32651
  },
32652
32652
  end: {
32653
- line: 213,
32653
+ line: 216,
32654
32654
  column: 46
32655
32655
  }
32656
32656
  },
32657
32657
  type: "binary-expr",
32658
32658
  locations: [{
32659
32659
  start: {
32660
- line: 213,
32660
+ line: 216,
32661
32661
  column: 24
32662
32662
  },
32663
32663
  end: {
32664
- line: 213,
32664
+ line: 216,
32665
32665
  column: 36
32666
32666
  }
32667
32667
  }, {
32668
32668
  start: {
32669
- line: 213,
32669
+ line: 216,
32670
32670
  column: 40
32671
32671
  },
32672
32672
  end: {
32673
- line: 213,
32673
+ line: 216,
32674
32674
  column: 46
32675
32675
  }
32676
32676
  }],
32677
- line: 213
32677
+ line: 216
32678
32678
  }
32679
32679
  },
32680
32680
  s: {
@@ -32748,7 +32748,7 @@ function cov_2e8k7gwd81() {
32748
32748
  "9": [0, 0]
32749
32749
  },
32750
32750
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
32751
- hash: "75bc0a57ebc0e79094a7a070d3da27cbc5fa1354"
32751
+ hash: "0e541f4af3139e353b4bfbecbf13d6733838aa71"
32752
32752
  };
32753
32753
  var coverage = global[gcv] || (global[gcv] = {});
32754
32754
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -32962,7 +32962,9 @@ var Form = function Form(_ref) {
32962
32962
  setFieldValue("questions", nextQuestions, false);
32963
32963
  }
32964
32964
  }))), (cov_2e8k7gwd81().b[8][0]++, showActionBlock) && (cov_2e8k7gwd81().b[8][1]++, /*#__PURE__*/React__default["default"].createElement(formik$1.ActionBlock, {
32965
- cancelButtonProps: cancelButtonProps,
32965
+ cancelButtonProps: _objectSpread$9({
32966
+ label: t("common.reset")
32967
+ }, cancelButtonProps),
32966
32968
  submitButtonProps: _objectSpread$9({
32967
32969
  disabled: (cov_2e8k7gwd81().b[9][0]++, isSubmitting) || (cov_2e8k7gwd81().b[9][1]++, !dirty)
32968
32970
  }, submitButtonProps)
@@ -60102,7 +60104,7 @@ var _excluded$3 = ["value", "shape", "label", "rating", "count"],
60102
60104
  _excluded2 = ["label", "count", "shape", "error"];
60103
60105
  function cov_1i05gngf6n() {
60104
60106
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/StarRating.jsx";
60105
- var hash = "e87679363bef59396fcbc6073c08deca94e1fc01";
60107
+ var hash = "4cc8b01374d450decd3ee7feb3afe2974394b895";
60106
60108
  var global = new Function("return this")();
60107
60109
  var gcv = "__coverage__";
60108
60110
  var coverageData = {
@@ -60174,7 +60176,7 @@ function cov_1i05gngf6n() {
60174
60176
  column: 19
60175
60177
  },
60176
60178
  end: {
60177
- line: 71,
60179
+ line: 73,
60178
60180
  column: 1
60179
60181
  }
60180
60182
  },
@@ -60184,17 +60186,17 @@ function cov_1i05gngf6n() {
60184
60186
  column: 2
60185
60187
  },
60186
60188
  end: {
60187
- line: 70,
60189
+ line: 72,
60188
60190
  column: 8
60189
60191
  }
60190
60192
  },
60191
60193
  "8": {
60192
60194
  start: {
60193
- line: 55,
60195
+ line: 57,
60194
60196
  column: 10
60195
60197
  },
60196
60198
  end: {
60197
- line: 62,
60199
+ line: 64,
60198
60200
  column: 12
60199
60201
  }
60200
60202
  }
@@ -60266,7 +60268,7 @@ function cov_1i05gngf6n() {
60266
60268
  column: 2
60267
60269
  },
60268
60270
  end: {
60269
- line: 70,
60271
+ line: 72,
60270
60272
  column: 8
60271
60273
  }
60272
60274
  },
@@ -60276,25 +60278,25 @@ function cov_1i05gngf6n() {
60276
60278
  name: "(anonymous_3)",
60277
60279
  decl: {
60278
60280
  start: {
60279
- line: 54,
60281
+ line: 56,
60280
60282
  column: 8
60281
60283
  },
60282
60284
  end: {
60283
- line: 54,
60285
+ line: 56,
60284
60286
  column: 9
60285
60287
  }
60286
60288
  },
60287
60289
  loc: {
60288
60290
  start: {
60289
- line: 55,
60291
+ line: 57,
60290
60292
  column: 10
60291
60293
  },
60292
60294
  end: {
60293
- line: 62,
60295
+ line: 64,
60294
60296
  column: 12
60295
60297
  }
60296
60298
  },
60297
- line: 55
60299
+ line: 57
60298
60300
  }
60299
60301
  },
60300
60302
  branchMap: {
@@ -60358,44 +60360,44 @@ function cov_1i05gngf6n() {
60358
60360
  "2": {
60359
60361
  loc: {
60360
60362
  start: {
60361
- line: 67,
60363
+ line: 69,
60362
60364
  column: 5
60363
60365
  },
60364
60366
  end: {
60365
- line: 69,
60367
+ line: 71,
60366
60368
  column: 5
60367
60369
  }
60368
60370
  },
60369
60371
  type: "binary-expr",
60370
60372
  locations: [{
60371
60373
  start: {
60372
- line: 67,
60374
+ line: 69,
60373
60375
  column: 5
60374
60376
  },
60375
60377
  end: {
60376
- line: 67,
60378
+ line: 69,
60377
60379
  column: 12
60378
60380
  }
60379
60381
  }, {
60380
60382
  start: {
60381
- line: 67,
60383
+ line: 69,
60382
60384
  column: 16
60383
60385
  },
60384
60386
  end: {
60385
- line: 67,
60387
+ line: 69,
60386
60388
  column: 41
60387
60389
  }
60388
60390
  }, {
60389
60391
  start: {
60390
- line: 68,
60392
+ line: 70,
60391
60393
  column: 6
60392
60394
  },
60393
60395
  end: {
60394
- line: 68,
60396
+ line: 70,
60395
60397
  column: 63
60396
60398
  }
60397
60399
  }],
60398
- line: 67
60400
+ line: 69
60399
60401
  }
60400
60402
  },
60401
60403
  s: {
@@ -60421,7 +60423,7 @@ function cov_1i05gngf6n() {
60421
60423
  "2": [0, 0, 0]
60422
60424
  },
60423
60425
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
60424
- hash: "e87679363bef59396fcbc6073c08deca94e1fc01"
60426
+ hash: "4cc8b01374d450decd3ee7feb3afe2974394b895"
60425
60427
  };
60426
60428
  var coverage = global[gcv] || (global[gcv] = {});
60427
60429
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -60486,10 +60488,12 @@ var StarRating = function StarRating(_ref2) {
60486
60488
  cov_1i05gngf6n().f[2]++;
60487
60489
  cov_1i05gngf6n().s[7]++;
60488
60490
  return /*#__PURE__*/React__default["default"].createElement("div", {
60489
- className: "neeto-form-engine-star-rating"
60491
+ className: "neeto-form-engine-input__wrapper neeto-form-engine-star-rating"
60492
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
60493
+ className: "neeto-form-engine-input__label-wrapper"
60490
60494
  }, /*#__PURE__*/React__default["default"].createElement("label", {
60491
60495
  className: "neeto-form-engine-label"
60492
- }, label), /*#__PURE__*/React__default["default"].createElement("div", {
60496
+ }, label)), /*#__PURE__*/React__default["default"].createElement("div", {
60493
60497
  className: "neeto-form-engine-star-rating__row"
60494
60498
  }, ramda.times(function (index) {
60495
60499
  cov_1i05gngf6n().f[3]++;