@bigbinary/neeto-form-frontend 1.1.13 → 1.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
@@ -4162,7 +4162,7 @@ var MemoizedTrophy = (cov_3ymiqznmu().s[17]++, /*#__PURE__*/React__default["defa
4162
4162
 
4163
4163
  function cov_2qs8napxwn() {
4164
4164
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/constants.jsx";
4165
- var hash = "06c0fa99a8044bfa85dba10dcf9fa947503a23c0";
4165
+ var hash = "3a67a3db4eeb7a59f9a683d9829f356430fab3e7";
4166
4166
  var global = new Function("return this")();
4167
4167
  var gcv = "__coverage__";
4168
4168
  var coverageData = {
@@ -4174,75 +4174,275 @@ function cov_2qs8napxwn() {
4174
4174
  column: 29
4175
4175
  },
4176
4176
  end: {
4177
- line: 39,
4177
+ line: 55,
4178
4178
  column: 1
4179
4179
  }
4180
4180
  },
4181
4181
  "1": {
4182
4182
  start: {
4183
- line: 41,
4183
+ line: 44,
4184
+ column: 6
4185
+ },
4186
+ end: {
4187
+ line: 44,
4188
+ column: 61
4189
+ }
4190
+ },
4191
+ "2": {
4192
+ start: {
4193
+ line: 44,
4194
+ column: 42
4195
+ },
4196
+ end: {
4197
+ line: 44,
4198
+ column: 61
4199
+ }
4200
+ },
4201
+ "3": {
4202
+ start: {
4203
+ line: 52,
4204
+ column: 6
4205
+ },
4206
+ end: {
4207
+ line: 52,
4208
+ column: 44
4209
+ }
4210
+ },
4211
+ "4": {
4212
+ start: {
4213
+ line: 52,
4214
+ column: 25
4215
+ },
4216
+ end: {
4217
+ line: 52,
4218
+ column: 44
4219
+ }
4220
+ },
4221
+ "5": {
4222
+ start: {
4223
+ line: 56,
4184
4224
  column: 29
4185
4225
  },
4186
4226
  end: {
4187
- line: 45,
4227
+ line: 60,
4188
4228
  column: 1
4189
4229
  }
4190
4230
  },
4191
- "2": {
4231
+ "6": {
4192
4232
  start: {
4193
- line: 47,
4233
+ line: 62,
4194
4234
  column: 42
4195
4235
  },
4196
4236
  end: {
4197
- line: 47,
4237
+ line: 62,
4198
4238
  column: 73
4199
4239
  }
4200
4240
  },
4201
- "3": {
4241
+ "7": {
4202
4242
  start: {
4203
- line: 49,
4243
+ line: 64,
4204
4244
  column: 30
4205
4245
  },
4206
4246
  end: {
4207
- line: 65,
4247
+ line: 80,
4208
4248
  column: 1
4209
4249
  }
4210
4250
  },
4211
- "4": {
4251
+ "8": {
4212
4252
  start: {
4213
- line: 67,
4253
+ line: 82,
4214
4254
  column: 35
4215
4255
  },
4216
4256
  end: {
4217
- line: 67,
4257
+ line: 82,
4218
4258
  column: 49
4219
4259
  }
4220
4260
  },
4221
- "5": {
4261
+ "9": {
4222
4262
  start: {
4223
- line: 69,
4263
+ line: 84,
4224
4264
  column: 25
4225
4265
  },
4226
4266
  end: {
4227
- line: 75,
4267
+ line: 90,
4228
4268
  column: 1
4229
4269
  }
4230
4270
  }
4231
4271
  },
4232
- fnMap: {},
4233
- branchMap: {},
4272
+ fnMap: {
4273
+ "0": {
4274
+ name: "(anonymous_0)",
4275
+ decl: {
4276
+ start: {
4277
+ line: 43,
4278
+ column: 15
4279
+ },
4280
+ end: {
4281
+ line: 43,
4282
+ column: 16
4283
+ }
4284
+ },
4285
+ loc: {
4286
+ start: {
4287
+ line: 43,
4288
+ column: 20
4289
+ },
4290
+ end: {
4291
+ line: 45,
4292
+ column: 5
4293
+ }
4294
+ },
4295
+ line: 43
4296
+ },
4297
+ "1": {
4298
+ name: "(anonymous_1)",
4299
+ decl: {
4300
+ start: {
4301
+ line: 51,
4302
+ column: 15
4303
+ },
4304
+ end: {
4305
+ line: 51,
4306
+ column: 16
4307
+ }
4308
+ },
4309
+ loc: {
4310
+ start: {
4311
+ line: 51,
4312
+ column: 20
4313
+ },
4314
+ end: {
4315
+ line: 53,
4316
+ column: 5
4317
+ }
4318
+ },
4319
+ line: 51
4320
+ }
4321
+ },
4322
+ branchMap: {
4323
+ "0": {
4324
+ loc: {
4325
+ start: {
4326
+ line: 44,
4327
+ column: 6
4328
+ },
4329
+ end: {
4330
+ line: 44,
4331
+ column: 61
4332
+ }
4333
+ },
4334
+ type: "if",
4335
+ locations: [{
4336
+ start: {
4337
+ line: 44,
4338
+ column: 6
4339
+ },
4340
+ end: {
4341
+ line: 44,
4342
+ column: 61
4343
+ }
4344
+ }, {
4345
+ start: {
4346
+ line: undefined,
4347
+ column: undefined
4348
+ },
4349
+ end: {
4350
+ line: undefined,
4351
+ column: undefined
4352
+ }
4353
+ }],
4354
+ line: 44
4355
+ },
4356
+ "1": {
4357
+ loc: {
4358
+ start: {
4359
+ line: 44,
4360
+ column: 10
4361
+ },
4362
+ end: {
4363
+ line: 44,
4364
+ column: 40
4365
+ }
4366
+ },
4367
+ type: "binary-expr",
4368
+ locations: [{
4369
+ start: {
4370
+ line: 44,
4371
+ column: 10
4372
+ },
4373
+ end: {
4374
+ line: 44,
4375
+ column: 23
4376
+ }
4377
+ }, {
4378
+ start: {
4379
+ line: 44,
4380
+ column: 27
4381
+ },
4382
+ end: {
4383
+ line: 44,
4384
+ column: 40
4385
+ }
4386
+ }],
4387
+ line: 44
4388
+ },
4389
+ "2": {
4390
+ loc: {
4391
+ start: {
4392
+ line: 52,
4393
+ column: 6
4394
+ },
4395
+ end: {
4396
+ line: 52,
4397
+ column: 44
4398
+ }
4399
+ },
4400
+ type: "if",
4401
+ locations: [{
4402
+ start: {
4403
+ line: 52,
4404
+ column: 6
4405
+ },
4406
+ end: {
4407
+ line: 52,
4408
+ column: 44
4409
+ }
4410
+ }, {
4411
+ start: {
4412
+ line: undefined,
4413
+ column: undefined
4414
+ },
4415
+ end: {
4416
+ line: undefined,
4417
+ column: undefined
4418
+ }
4419
+ }],
4420
+ line: 52
4421
+ }
4422
+ },
4234
4423
  s: {
4235
4424
  "0": 0,
4236
4425
  "1": 0,
4237
4426
  "2": 0,
4238
4427
  "3": 0,
4239
4428
  "4": 0,
4240
- "5": 0
4429
+ "5": 0,
4430
+ "6": 0,
4431
+ "7": 0,
4432
+ "8": 0,
4433
+ "9": 0
4434
+ },
4435
+ f: {
4436
+ "0": 0,
4437
+ "1": 0
4438
+ },
4439
+ b: {
4440
+ "0": [0, 0],
4441
+ "1": [0, 0],
4442
+ "2": [0, 0]
4241
4443
  },
4242
- f: {},
4243
- b: {},
4244
4444
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
4245
- hash: "06c0fa99a8044bfa85dba10dcf9fa947503a23c0"
4445
+ hash: "3a67a3db4eeb7a59f9a683d9829f356430fab3e7"
4246
4446
  };
4247
4447
  var coverage = global[gcv] || (global[gcv] = {});
4248
4448
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -4317,9 +4517,41 @@ var QUESTION_KIND = (cov_2qs8napxwn().s[0]++, {
4317
4517
  },
4318
4518
  RICH_TEXT: {
4319
4519
  value: "rich_text"
4520
+ },
4521
+ INTEGER: {
4522
+ prefix: /*#__PURE__*/React__default["default"].createElement(neetoIcons.Input, null),
4523
+ type: "number",
4524
+ value: "integer",
4525
+ onKeyDown: function onKeyDown(e) {
4526
+ cov_2qs8napxwn().f[0]++;
4527
+ cov_2qs8napxwn().s[1]++;
4528
+ if ((cov_2qs8napxwn().b[1][0]++, e.key === ".") || (cov_2qs8napxwn().b[1][1]++, e.key === "e")) {
4529
+ cov_2qs8napxwn().b[0][0]++;
4530
+ cov_2qs8napxwn().s[2]++;
4531
+ e.preventDefault();
4532
+ } else {
4533
+ cov_2qs8napxwn().b[0][1]++;
4534
+ }
4535
+ }
4536
+ },
4537
+ DECIMAL: {
4538
+ prefix: /*#__PURE__*/React__default["default"].createElement(neetoIcons.Input, null),
4539
+ type: "number",
4540
+ value: "decimal",
4541
+ onKeyDown: function onKeyDown(e) {
4542
+ cov_2qs8napxwn().f[1]++;
4543
+ cov_2qs8napxwn().s[3]++;
4544
+ if (e.key === "e") {
4545
+ cov_2qs8napxwn().b[2][0]++;
4546
+ cov_2qs8napxwn().s[4]++;
4547
+ e.preventDefault();
4548
+ } else {
4549
+ cov_2qs8napxwn().b[2][1]++;
4550
+ }
4551
+ }
4320
4552
  }
4321
4553
  });
4322
- var RATING_VALUES = (cov_2qs8napxwn().s[1]++, {
4554
+ var RATING_VALUES = (cov_2qs8napxwn().s[5]++, {
4323
4555
  GOOD: {
4324
4556
  label: i18next.t("neetoForm.common.good"),
4325
4557
  value: "good"
@@ -4333,8 +4565,8 @@ var RATING_VALUES = (cov_2qs8napxwn().s[1]++, {
4333
4565
  value: "bad"
4334
4566
  }
4335
4567
  });
4336
- var SCHEMA_LESS_QUESTION_KINDS = (cov_2qs8napxwn().s[2]++, [QUESTION_KIND.PARAGRAPH.value]);
4337
- var RATING_OPTIONS = (cov_2qs8napxwn().s[3]++, [{
4568
+ var SCHEMA_LESS_QUESTION_KINDS = (cov_2qs8napxwn().s[6]++, [QUESTION_KIND.PARAGRAPH.value]);
4569
+ var RATING_OPTIONS = (cov_2qs8napxwn().s[7]++, [{
4338
4570
  icon: SvgHappyFace,
4339
4571
  modifier: "happy",
4340
4572
  value: RATING_VALUES.GOOD.value
@@ -4347,8 +4579,8 @@ var RATING_OPTIONS = (cov_2qs8napxwn().s[3]++, [{
4347
4579
  modifier: "sad",
4348
4580
  value: RATING_VALUES.BAD.value
4349
4581
  }]);
4350
- (cov_2qs8napxwn().s[4]++, /\+\d{11,14}$/);
4351
- var ICONS_MAP = (cov_2qs8napxwn().s[5]++, {
4582
+ (cov_2qs8napxwn().s[8]++, /\+\d{11,14}$/);
4583
+ var ICONS_MAP = (cov_2qs8napxwn().s[9]++, {
4352
4584
  star: MemoizedStar,
4353
4585
  heart: MemoizedHeart,
4354
4586
  crown: MemoizedCrown,
@@ -25294,7 +25526,7 @@ var Editor = function Editor(_ref) {
25294
25526
 
25295
25527
  function cov_2j8tlu2ul5() {
25296
25528
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/constants.js";
25297
- var hash = "6d2a1487c3ee64be33ed78df7bbb278bf982988b";
25529
+ var hash = "b0ce3d8b3b5391e11f9ac6d877b412e8beb4a7ac";
25298
25530
  var global = new Function("return this")();
25299
25531
  var gcv = "__coverage__";
25300
25532
  var coverageData = {
@@ -25336,27 +25568,27 @@ function cov_2j8tlu2ul5() {
25336
25568
  column: 30
25337
25569
  },
25338
25570
  end: {
25339
- line: 210,
25571
+ line: 226,
25340
25572
  column: 1
25341
25573
  }
25342
25574
  },
25343
25575
  "4": {
25344
25576
  start: {
25345
- line: 213,
25577
+ line: 229,
25346
25578
  column: 38
25347
25579
  },
25348
25580
  end: {
25349
- line: 216,
25581
+ line: 232,
25350
25582
  column: 1
25351
25583
  }
25352
25584
  },
25353
25585
  "5": {
25354
25586
  start: {
25355
- line: 218,
25587
+ line: 234,
25356
25588
  column: 29
25357
25589
  },
25358
25590
  end: {
25359
- line: 218,
25591
+ line: 234,
25360
25592
  column: 63
25361
25593
  }
25362
25594
  }
@@ -25374,7 +25606,7 @@ function cov_2j8tlu2ul5() {
25374
25606
  f: {},
25375
25607
  b: {},
25376
25608
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
25377
- hash: "6d2a1487c3ee64be33ed78df7bbb278bf982988b"
25609
+ hash: "b0ce3d8b3b5391e11f9ac6d877b412e8beb4a7ac"
25378
25610
  };
25379
25611
  var coverage = global[gcv] || (global[gcv] = {});
25380
25612
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -25465,6 +25697,24 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
25465
25697
  defaults: {
25466
25698
  label: ""
25467
25699
  }
25700
+ }, {
25701
+ type: "integer",
25702
+ label: i18next.t("neetoForm.fields.iif"),
25703
+ isSingular: false,
25704
+ icon: neetoIcons.Input,
25705
+ component: LongText,
25706
+ defaults: {
25707
+ label: ""
25708
+ }
25709
+ }, {
25710
+ type: "decimal",
25711
+ label: i18next.t("neetoForm.fields.dif"),
25712
+ isSingular: false,
25713
+ icon: neetoIcons.Input,
25714
+ component: LongText,
25715
+ defaults: {
25716
+ label: ""
25717
+ }
25468
25718
  }, {
25469
25719
  type: "rich_text",
25470
25720
  label: i18next.t("neetoForm.fields.rtf"),
@@ -51148,7 +51398,7 @@ var TermsField = function TermsField(_ref) {
51148
51398
 
51149
51399
  function cov_h64dar2vv() {
51150
51400
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/TextField.jsx";
51151
- var hash = "ab2c332db1268cb7f1bdbe13a52dd73ce59a5644";
51401
+ var hash = "b7d64e55c2820e2556092d8ce02f6c9397255ab7";
51152
51402
  var global = new Function("return this")();
51153
51403
  var gcv = "__coverage__";
51154
51404
  var coverageData = {
@@ -51160,7 +51410,7 @@ function cov_h64dar2vv() {
51160
51410
  column: 18
51161
51411
  },
51162
51412
  end: {
51163
- line: 44,
51413
+ line: 46,
51164
51414
  column: 1
51165
51415
  }
51166
51416
  },
@@ -51176,41 +51426,41 @@ function cov_h64dar2vv() {
51176
51426
  },
51177
51427
  "2": {
51178
51428
  start: {
51179
- line: 16,
51429
+ line: 17,
51180
51430
  column: 6
51181
51431
  },
51182
51432
  end: {
51183
- line: 16,
51433
+ line: 17,
51184
51434
  column: 39
51185
51435
  }
51186
51436
  },
51187
51437
  "3": {
51188
51438
  start: {
51189
- line: 18,
51439
+ line: 19,
51190
51440
  column: 20
51191
51441
  },
51192
51442
  end: {
51193
- line: 18,
51443
+ line: 19,
51194
51444
  column: 76
51195
51445
  }
51196
51446
  },
51197
51447
  "4": {
51198
51448
  start: {
51199
- line: 20,
51449
+ line: 21,
51200
51450
  column: 2
51201
51451
  },
51202
51452
  end: {
51203
- line: 43,
51453
+ line: 45,
51204
51454
  column: 4
51205
51455
  }
51206
51456
  },
51207
51457
  "5": {
51208
51458
  start: {
51209
- line: 31,
51459
+ line: 32,
51210
51460
  column: 8
51211
51461
  },
51212
51462
  end: {
51213
- line: 40,
51463
+ line: 42,
51214
51464
  column: 10
51215
51465
  }
51216
51466
  }
@@ -51234,7 +51484,7 @@ function cov_h64dar2vv() {
51234
51484
  column: 69
51235
51485
  },
51236
51486
  end: {
51237
- line: 44,
51487
+ line: 46,
51238
51488
  column: 1
51239
51489
  }
51240
51490
  },
@@ -51244,25 +51494,25 @@ function cov_h64dar2vv() {
51244
51494
  name: "(anonymous_1)",
51245
51495
  decl: {
51246
51496
  start: {
51247
- line: 30,
51497
+ line: 31,
51248
51498
  column: 7
51249
51499
  },
51250
51500
  end: {
51251
- line: 30,
51501
+ line: 31,
51252
51502
  column: 8
51253
51503
  }
51254
51504
  },
51255
51505
  loc: {
51256
51506
  start: {
51257
- line: 31,
51507
+ line: 32,
51258
51508
  column: 8
51259
51509
  },
51260
51510
  end: {
51261
- line: 40,
51511
+ line: 42,
51262
51512
  column: 10
51263
51513
  }
51264
51514
  },
51265
- line: 31
51515
+ line: 32
51266
51516
  }
51267
51517
  },
51268
51518
  branchMap: {
@@ -51293,167 +51543,167 @@ function cov_h64dar2vv() {
51293
51543
  "1": {
51294
51544
  loc: {
51295
51545
  start: {
51296
- line: 18,
51546
+ line: 19,
51297
51547
  column: 20
51298
51548
  },
51299
51549
  end: {
51300
- line: 18,
51550
+ line: 19,
51301
51551
  column: 76
51302
51552
  }
51303
51553
  },
51304
51554
  type: "cond-expr",
51305
51555
  locations: [{
51306
51556
  start: {
51307
- line: 18,
51557
+ line: 19,
51308
51558
  column: 60
51309
51559
  },
51310
51560
  end: {
51311
- line: 18,
51561
+ line: 19,
51312
51562
  column: 68
51313
51563
  }
51314
51564
  }, {
51315
51565
  start: {
51316
- line: 18,
51566
+ line: 19,
51317
51567
  column: 71
51318
51568
  },
51319
51569
  end: {
51320
- line: 18,
51570
+ line: 19,
51321
51571
  column: 76
51322
51572
  }
51323
51573
  }],
51324
- line: 18
51574
+ line: 19
51325
51575
  },
51326
51576
  "2": {
51327
51577
  loc: {
51328
51578
  start: {
51329
- line: 22,
51579
+ line: 23,
51330
51580
  column: 12
51331
51581
  },
51332
51582
  end: {
51333
- line: 22,
51583
+ line: 23,
51334
51584
  column: 26
51335
51585
  }
51336
51586
  },
51337
51587
  type: "binary-expr",
51338
51588
  locations: [{
51339
51589
  start: {
51340
- line: 22,
51590
+ line: 23,
51341
51591
  column: 12
51342
51592
  },
51343
51593
  end: {
51344
- line: 22,
51594
+ line: 23,
51345
51595
  column: 16
51346
51596
  }
51347
51597
  }, {
51348
51598
  start: {
51349
- line: 22,
51599
+ line: 23,
51350
51600
  column: 20
51351
51601
  },
51352
51602
  end: {
51353
- line: 22,
51603
+ line: 23,
51354
51604
  column: 26
51355
51605
  }
51356
51606
  }],
51357
- line: 22
51607
+ line: 23
51358
51608
  },
51359
51609
  "3": {
51360
51610
  loc: {
51361
51611
  start: {
51362
- line: 32,
51612
+ line: 33,
51363
51613
  column: 17
51364
51614
  },
51365
51615
  end: {
51366
- line: 32,
51616
+ line: 33,
51367
51617
  column: 47
51368
51618
  }
51369
51619
  },
51370
51620
  type: "cond-expr",
51371
51621
  locations: [{
51372
51622
  start: {
51373
- line: 32,
51623
+ line: 33,
51374
51624
  column: 32
51375
51625
  },
51376
51626
  end: {
51377
- line: 32,
51627
+ line: 33,
51378
51628
  column: 42
51379
51629
  }
51380
51630
  }, {
51381
51631
  start: {
51382
- line: 32,
51632
+ line: 33,
51383
51633
  column: 45
51384
51634
  },
51385
51635
  end: {
51386
- line: 32,
51636
+ line: 33,
51387
51637
  column: 47
51388
51638
  }
51389
51639
  }],
51390
- line: 32
51640
+ line: 33
51391
51641
  },
51392
51642
  "4": {
51393
51643
  loc: {
51394
51644
  start: {
51395
- line: 35,
51645
+ line: 36,
51396
51646
  column: 18
51397
51647
  },
51398
51648
  end: {
51399
- line: 35,
51649
+ line: 36,
51400
51650
  column: 42
51401
51651
  }
51402
51652
  },
51403
51653
  type: "binary-expr",
51404
51654
  locations: [{
51405
51655
  start: {
51406
- line: 35,
51656
+ line: 36,
51407
51657
  column: 18
51408
51658
  },
51409
51659
  end: {
51410
- line: 35,
51660
+ line: 36,
51411
51661
  column: 32
51412
51662
  }
51413
51663
  }, {
51414
51664
  start: {
51415
- line: 35,
51665
+ line: 36,
51416
51666
  column: 36
51417
51667
  },
51418
51668
  end: {
51419
- line: 35,
51669
+ line: 36,
51420
51670
  column: 42
51421
51671
  }
51422
51672
  }],
51423
- line: 35
51673
+ line: 36
51424
51674
  },
51425
51675
  "5": {
51426
51676
  loc: {
51427
51677
  start: {
51428
- line: 39,
51678
+ line: 40,
51429
51679
  column: 20
51430
51680
  },
51431
51681
  end: {
51432
- line: 39,
51682
+ line: 40,
51433
51683
  column: 74
51434
51684
  }
51435
51685
  },
51436
51686
  type: "binary-expr",
51437
51687
  locations: [{
51438
51688
  start: {
51439
- line: 39,
51689
+ line: 40,
51440
51690
  column: 20
51441
51691
  },
51442
51692
  end: {
51443
- line: 39,
51693
+ line: 40,
51444
51694
  column: 56
51445
51695
  }
51446
51696
  }, {
51447
51697
  start: {
51448
- line: 39,
51698
+ line: 40,
51449
51699
  column: 60
51450
51700
  },
51451
51701
  end: {
51452
- line: 39,
51702
+ line: 40,
51453
51703
  column: 74
51454
51704
  }
51455
51705
  }],
51456
- line: 39
51706
+ line: 40
51457
51707
  }
51458
51708
  },
51459
51709
  s: {
@@ -51477,7 +51727,7 @@ function cov_h64dar2vv() {
51477
51727
  "5": [0, 0]
51478
51728
  },
51479
51729
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
51480
- hash: "ab2c332db1268cb7f1bdbe13a52dd73ce59a5644"
51730
+ hash: "b7d64e55c2820e2556092d8ce02f6c9397255ab7"
51481
51731
  };
51482
51732
  var coverage = global[gcv] || (global[gcv] = {});
51483
51733
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -51510,6 +51760,7 @@ var TextField = function TextField(_ref) {
51510
51760
  prefix = _ref3.prefix,
51511
51761
  _ref3$type = _ref3.type,
51512
51762
  type = _ref3$type === void 0 ? (cov_h64dar2vv().b[0][0]++, "text") : _ref3$type,
51763
+ onKeyDown = _ref3.onKeyDown,
51513
51764
  otherProps = _ref3.otherProps;
51514
51765
  var Component = (cov_h64dar2vv().s[3]++, kind === QUESTION_KIND.TEXTAREA.value ? (cov_h64dar2vv().b[1][0]++, neetoui.Textarea) : (cov_h64dar2vv().b[1][1]++, neetoui.Input));
51515
51766
  cov_h64dar2vv().s[4]++;
@@ -51535,7 +51786,8 @@ var TextField = function TextField(_ref) {
51535
51786
  required: isRequired,
51536
51787
  type: type
51537
51788
  }, field, {
51538
- onChange: (_ref5 = (cov_h64dar2vv().b[5][0]++, otherProps === null || otherProps === void 0 ? void 0 : otherProps.onChange(field.onChange))) !== null && _ref5 !== void 0 ? _ref5 : (cov_h64dar2vv().b[5][1]++, field.onChange)
51789
+ onChange: (_ref5 = (cov_h64dar2vv().b[5][0]++, otherProps === null || otherProps === void 0 ? void 0 : otherProps.onChange(field.onChange))) !== null && _ref5 !== void 0 ? _ref5 : (cov_h64dar2vv().b[5][1]++, field.onChange),
51790
+ onKeyDown: onKeyDown
51539
51791
  }));
51540
51792
  });
51541
51793
  };
@@ -51543,7 +51795,7 @@ var TextField = function TextField(_ref) {
51543
51795
  var _ref2;
51544
51796
  function cov_1cenqfav07() {
51545
51797
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/constants.jsx";
51546
- var hash = "d225c5a1e9ed444a01ab4d7cb1d85c0478f33d27";
51798
+ var hash = "0af4d5e3c7cc4a9d26f13aaafeeba9bad2171ebe";
51547
51799
  var global = new Function("return this")();
51548
51800
  var gcv = "__coverage__";
51549
51801
  var coverageData = {
@@ -51555,17 +51807,17 @@ function cov_1cenqfav07() {
51555
51807
  column: 41
51556
51808
  },
51557
51809
  end: {
51558
- line: 38,
51810
+ line: 40,
51559
51811
  column: 1
51560
51812
  }
51561
51813
  },
51562
51814
  "1": {
51563
51815
  start: {
51564
- line: 30,
51816
+ line: 32,
51565
51817
  column: 4
51566
51818
  },
51567
51819
  end: {
51568
- line: 30,
51820
+ line: 32,
51569
51821
  column: 46
51570
51822
  }
51571
51823
  }
@@ -51575,25 +51827,25 @@ function cov_1cenqfav07() {
51575
51827
  name: "(anonymous_0)",
51576
51828
  decl: {
51577
51829
  start: {
51578
- line: 29,
51830
+ line: 31,
51579
51831
  column: 35
51580
51832
  },
51581
51833
  end: {
51582
- line: 29,
51834
+ line: 31,
51583
51835
  column: 36
51584
51836
  }
51585
51837
  },
51586
51838
  loc: {
51587
51839
  start: {
51588
- line: 30,
51840
+ line: 32,
51589
51841
  column: 4
51590
51842
  },
51591
51843
  end: {
51592
- line: 30,
51844
+ line: 32,
51593
51845
  column: 46
51594
51846
  }
51595
51847
  },
51596
- line: 30
51848
+ line: 32
51597
51849
  }
51598
51850
  },
51599
51851
  branchMap: {},
@@ -51606,7 +51858,7 @@ function cov_1cenqfav07() {
51606
51858
  },
51607
51859
  b: {},
51608
51860
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
51609
- hash: "d225c5a1e9ed444a01ab4d7cb1d85c0478f33d27"
51861
+ hash: "0af4d5e3c7cc4a9d26f13aaafeeba9bad2171ebe"
51610
51862
  };
51611
51863
  var coverage = global[gcv] || (global[gcv] = {});
51612
51864
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -51622,7 +51874,7 @@ function cov_1cenqfav07() {
51622
51874
  return actualCoverage;
51623
51875
  }
51624
51876
  cov_1cenqfav07();
51625
- var QUESTION_TO_COMPONENT_MAP = (cov_1cenqfav07().s[0]++, (_ref2 = {}, _defineProperty$7(_ref2, QUESTION_KIND.TEXT.value, TextField), _defineProperty$7(_ref2, QUESTION_KIND.NAME.value, TextField), _defineProperty$7(_ref2, QUESTION_KIND.EMAIL.value, TextField), _defineProperty$7(_ref2, QUESTION_KIND.PHONE.value, PhoneNumberField), _defineProperty$7(_ref2, QUESTION_KIND.QUESTION.value, TextField), _defineProperty$7(_ref2, QUESTION_KIND.TEXTAREA.value, TextField), _defineProperty$7(_ref2, QUESTION_KIND.CHECKBOX.value, OptionsField), _defineProperty$7(_ref2, QUESTION_KIND.RADIO.value, OptionsField), _defineProperty$7(_ref2, QUESTION_KIND.DROPDOWN.value, OptionsField), _defineProperty$7(_ref2, QUESTION_KIND.RATING.value, RatingField), _defineProperty$7(_ref2, QUESTION_KIND.PARAGRAPH.value, function (_ref) {
51877
+ var QUESTION_TO_COMPONENT_MAP = (cov_1cenqfav07().s[0]++, (_ref2 = {}, _defineProperty$7(_ref2, QUESTION_KIND.TEXT.value, TextField), _defineProperty$7(_ref2, QUESTION_KIND.NAME.value, TextField), _defineProperty$7(_ref2, QUESTION_KIND.EMAIL.value, TextField), _defineProperty$7(_ref2, QUESTION_KIND.INTEGER.value, TextField), _defineProperty$7(_ref2, QUESTION_KIND.DECIMAL.value, TextField), _defineProperty$7(_ref2, QUESTION_KIND.PHONE.value, PhoneNumberField), _defineProperty$7(_ref2, QUESTION_KIND.QUESTION.value, TextField), _defineProperty$7(_ref2, QUESTION_KIND.TEXTAREA.value, TextField), _defineProperty$7(_ref2, QUESTION_KIND.CHECKBOX.value, OptionsField), _defineProperty$7(_ref2, QUESTION_KIND.RADIO.value, OptionsField), _defineProperty$7(_ref2, QUESTION_KIND.DROPDOWN.value, OptionsField), _defineProperty$7(_ref2, QUESTION_KIND.RATING.value, RatingField), _defineProperty$7(_ref2, QUESTION_KIND.PARAGRAPH.value, function (_ref) {
51626
51878
  var question = _ref.question;
51627
51879
  cov_1cenqfav07().f[0]++;
51628
51880
  cov_1cenqfav07().s[1]++;