@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.js CHANGED
@@ -31510,7 +31510,7 @@ var List = function List(_ref) {
31510
31510
  var _excluded$c = ["questionKinds", "showAddQuestionDivider", "onValueChange", "showActionBlock", "formId", "isDeletable", "isRequiredField", "submitButtonProps", "cancelButtonProps", "isKindAlreadyActive", "getActiveKindDetails", "kindUniqueOn", "isDisabledFieldLabel"];
31511
31511
  function cov_2e8k7gwd81() {
31512
31512
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Form/index.jsx";
31513
- var hash = "75bc0a57ebc0e79094a7a070d3da27cbc5fa1354";
31513
+ var hash = "0e541f4af3139e353b4bfbecbf13d6733838aa71";
31514
31514
  var global = new Function("return this")();
31515
31515
  var gcv = "__coverage__";
31516
31516
  var coverageData = {
@@ -31522,7 +31522,7 @@ function cov_2e8k7gwd81() {
31522
31522
  column: 13
31523
31523
  },
31524
31524
  end: {
31525
- line: 221,
31525
+ line: 224,
31526
31526
  column: 1
31527
31527
  }
31528
31528
  },
@@ -31792,7 +31792,7 @@ function cov_2e8k7gwd81() {
31792
31792
  column: 2
31793
31793
  },
31794
31794
  end: {
31795
- line: 220,
31795
+ line: 223,
31796
31796
  column: 4
31797
31797
  }
31798
31798
  },
@@ -31906,7 +31906,7 @@ function cov_2e8k7gwd81() {
31906
31906
  column: 6
31907
31907
  },
31908
31908
  end: {
31909
- line: 221,
31909
+ line: 224,
31910
31910
  column: 1
31911
31911
  }
31912
31912
  },
@@ -32578,7 +32578,7 @@ function cov_2e8k7gwd81() {
32578
32578
  column: 9
32579
32579
  },
32580
32580
  end: {
32581
- line: 217,
32581
+ line: 220,
32582
32582
  column: 9
32583
32583
  }
32584
32584
  },
@@ -32598,7 +32598,7 @@ function cov_2e8k7gwd81() {
32598
32598
  column: 10
32599
32599
  },
32600
32600
  end: {
32601
- line: 216,
32601
+ line: 219,
32602
32602
  column: 12
32603
32603
  }
32604
32604
  }],
@@ -32607,35 +32607,35 @@ function cov_2e8k7gwd81() {
32607
32607
  "9": {
32608
32608
  loc: {
32609
32609
  start: {
32610
- line: 213,
32610
+ line: 216,
32611
32611
  column: 24
32612
32612
  },
32613
32613
  end: {
32614
- line: 213,
32614
+ line: 216,
32615
32615
  column: 46
32616
32616
  }
32617
32617
  },
32618
32618
  type: "binary-expr",
32619
32619
  locations: [{
32620
32620
  start: {
32621
- line: 213,
32621
+ line: 216,
32622
32622
  column: 24
32623
32623
  },
32624
32624
  end: {
32625
- line: 213,
32625
+ line: 216,
32626
32626
  column: 36
32627
32627
  }
32628
32628
  }, {
32629
32629
  start: {
32630
- line: 213,
32630
+ line: 216,
32631
32631
  column: 40
32632
32632
  },
32633
32633
  end: {
32634
- line: 213,
32634
+ line: 216,
32635
32635
  column: 46
32636
32636
  }
32637
32637
  }],
32638
- line: 213
32638
+ line: 216
32639
32639
  }
32640
32640
  },
32641
32641
  s: {
@@ -32709,7 +32709,7 @@ function cov_2e8k7gwd81() {
32709
32709
  "9": [0, 0]
32710
32710
  },
32711
32711
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
32712
- hash: "75bc0a57ebc0e79094a7a070d3da27cbc5fa1354"
32712
+ hash: "0e541f4af3139e353b4bfbecbf13d6733838aa71"
32713
32713
  };
32714
32714
  var coverage = global[gcv] || (global[gcv] = {});
32715
32715
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -32923,7 +32923,9 @@ var Form = function Form(_ref) {
32923
32923
  setFieldValue("questions", nextQuestions, false);
32924
32924
  }
32925
32925
  }))), (cov_2e8k7gwd81().b[8][0]++, showActionBlock) && (cov_2e8k7gwd81().b[8][1]++, /*#__PURE__*/React__default.createElement(ActionBlock, {
32926
- cancelButtonProps: cancelButtonProps,
32926
+ cancelButtonProps: _objectSpread$9({
32927
+ label: t("common.reset")
32928
+ }, cancelButtonProps),
32927
32929
  submitButtonProps: _objectSpread$9({
32928
32930
  disabled: (cov_2e8k7gwd81().b[9][0]++, isSubmitting) || (cov_2e8k7gwd81().b[9][1]++, !dirty)
32929
32931
  }, submitButtonProps)
@@ -60063,7 +60065,7 @@ var _excluded$3 = ["value", "shape", "label", "rating", "count"],
60063
60065
  _excluded2 = ["label", "count", "shape", "error"];
60064
60066
  function cov_1i05gngf6n() {
60065
60067
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/StarRating.jsx";
60066
- var hash = "e87679363bef59396fcbc6073c08deca94e1fc01";
60068
+ var hash = "4cc8b01374d450decd3ee7feb3afe2974394b895";
60067
60069
  var global = new Function("return this")();
60068
60070
  var gcv = "__coverage__";
60069
60071
  var coverageData = {
@@ -60135,7 +60137,7 @@ function cov_1i05gngf6n() {
60135
60137
  column: 19
60136
60138
  },
60137
60139
  end: {
60138
- line: 71,
60140
+ line: 73,
60139
60141
  column: 1
60140
60142
  }
60141
60143
  },
@@ -60145,17 +60147,17 @@ function cov_1i05gngf6n() {
60145
60147
  column: 2
60146
60148
  },
60147
60149
  end: {
60148
- line: 70,
60150
+ line: 72,
60149
60151
  column: 8
60150
60152
  }
60151
60153
  },
60152
60154
  "8": {
60153
60155
  start: {
60154
- line: 55,
60156
+ line: 57,
60155
60157
  column: 10
60156
60158
  },
60157
60159
  end: {
60158
- line: 62,
60160
+ line: 64,
60159
60161
  column: 12
60160
60162
  }
60161
60163
  }
@@ -60227,7 +60229,7 @@ function cov_1i05gngf6n() {
60227
60229
  column: 2
60228
60230
  },
60229
60231
  end: {
60230
- line: 70,
60232
+ line: 72,
60231
60233
  column: 8
60232
60234
  }
60233
60235
  },
@@ -60237,25 +60239,25 @@ function cov_1i05gngf6n() {
60237
60239
  name: "(anonymous_3)",
60238
60240
  decl: {
60239
60241
  start: {
60240
- line: 54,
60242
+ line: 56,
60241
60243
  column: 8
60242
60244
  },
60243
60245
  end: {
60244
- line: 54,
60246
+ line: 56,
60245
60247
  column: 9
60246
60248
  }
60247
60249
  },
60248
60250
  loc: {
60249
60251
  start: {
60250
- line: 55,
60252
+ line: 57,
60251
60253
  column: 10
60252
60254
  },
60253
60255
  end: {
60254
- line: 62,
60256
+ line: 64,
60255
60257
  column: 12
60256
60258
  }
60257
60259
  },
60258
- line: 55
60260
+ line: 57
60259
60261
  }
60260
60262
  },
60261
60263
  branchMap: {
@@ -60319,44 +60321,44 @@ function cov_1i05gngf6n() {
60319
60321
  "2": {
60320
60322
  loc: {
60321
60323
  start: {
60322
- line: 67,
60324
+ line: 69,
60323
60325
  column: 5
60324
60326
  },
60325
60327
  end: {
60326
- line: 69,
60328
+ line: 71,
60327
60329
  column: 5
60328
60330
  }
60329
60331
  },
60330
60332
  type: "binary-expr",
60331
60333
  locations: [{
60332
60334
  start: {
60333
- line: 67,
60335
+ line: 69,
60334
60336
  column: 5
60335
60337
  },
60336
60338
  end: {
60337
- line: 67,
60339
+ line: 69,
60338
60340
  column: 12
60339
60341
  }
60340
60342
  }, {
60341
60343
  start: {
60342
- line: 67,
60344
+ line: 69,
60343
60345
  column: 16
60344
60346
  },
60345
60347
  end: {
60346
- line: 67,
60348
+ line: 69,
60347
60349
  column: 41
60348
60350
  }
60349
60351
  }, {
60350
60352
  start: {
60351
- line: 68,
60353
+ line: 70,
60352
60354
  column: 6
60353
60355
  },
60354
60356
  end: {
60355
- line: 68,
60357
+ line: 70,
60356
60358
  column: 63
60357
60359
  }
60358
60360
  }],
60359
- line: 67
60361
+ line: 69
60360
60362
  }
60361
60363
  },
60362
60364
  s: {
@@ -60382,7 +60384,7 @@ function cov_1i05gngf6n() {
60382
60384
  "2": [0, 0, 0]
60383
60385
  },
60384
60386
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
60385
- hash: "e87679363bef59396fcbc6073c08deca94e1fc01"
60387
+ hash: "4cc8b01374d450decd3ee7feb3afe2974394b895"
60386
60388
  };
60387
60389
  var coverage = global[gcv] || (global[gcv] = {});
60388
60390
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -60447,10 +60449,12 @@ var StarRating = function StarRating(_ref2) {
60447
60449
  cov_1i05gngf6n().f[2]++;
60448
60450
  cov_1i05gngf6n().s[7]++;
60449
60451
  return /*#__PURE__*/React__default.createElement("div", {
60450
- className: "neeto-form-engine-star-rating"
60452
+ className: "neeto-form-engine-input__wrapper neeto-form-engine-star-rating"
60453
+ }, /*#__PURE__*/React__default.createElement("div", {
60454
+ className: "neeto-form-engine-input__label-wrapper"
60451
60455
  }, /*#__PURE__*/React__default.createElement("label", {
60452
60456
  className: "neeto-form-engine-label"
60453
- }, label), /*#__PURE__*/React__default.createElement("div", {
60457
+ }, label)), /*#__PURE__*/React__default.createElement("div", {
60454
60458
  className: "neeto-form-engine-star-rating__row"
60455
60459
  }, times(function (index) {
60456
60460
  cov_1i05gngf6n().f[3]++;