@bigbinary/neeto-form-frontend 1.2.0 → 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.js CHANGED
@@ -4126,7 +4126,7 @@ var MemoizedTrophy = (cov_3ymiqznmu().s[17]++, /*#__PURE__*/React__default.memo(
4126
4126
 
4127
4127
  function cov_2qs8napxwn() {
4128
4128
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/constants.jsx";
4129
- var hash = "06c0fa99a8044bfa85dba10dcf9fa947503a23c0";
4129
+ var hash = "3a67a3db4eeb7a59f9a683d9829f356430fab3e7";
4130
4130
  var global = new Function("return this")();
4131
4131
  var gcv = "__coverage__";
4132
4132
  var coverageData = {
@@ -4138,75 +4138,275 @@ function cov_2qs8napxwn() {
4138
4138
  column: 29
4139
4139
  },
4140
4140
  end: {
4141
- line: 39,
4141
+ line: 55,
4142
4142
  column: 1
4143
4143
  }
4144
4144
  },
4145
4145
  "1": {
4146
4146
  start: {
4147
- line: 41,
4147
+ line: 44,
4148
+ column: 6
4149
+ },
4150
+ end: {
4151
+ line: 44,
4152
+ column: 61
4153
+ }
4154
+ },
4155
+ "2": {
4156
+ start: {
4157
+ line: 44,
4158
+ column: 42
4159
+ },
4160
+ end: {
4161
+ line: 44,
4162
+ column: 61
4163
+ }
4164
+ },
4165
+ "3": {
4166
+ start: {
4167
+ line: 52,
4168
+ column: 6
4169
+ },
4170
+ end: {
4171
+ line: 52,
4172
+ column: 44
4173
+ }
4174
+ },
4175
+ "4": {
4176
+ start: {
4177
+ line: 52,
4178
+ column: 25
4179
+ },
4180
+ end: {
4181
+ line: 52,
4182
+ column: 44
4183
+ }
4184
+ },
4185
+ "5": {
4186
+ start: {
4187
+ line: 56,
4148
4188
  column: 29
4149
4189
  },
4150
4190
  end: {
4151
- line: 45,
4191
+ line: 60,
4152
4192
  column: 1
4153
4193
  }
4154
4194
  },
4155
- "2": {
4195
+ "6": {
4156
4196
  start: {
4157
- line: 47,
4197
+ line: 62,
4158
4198
  column: 42
4159
4199
  },
4160
4200
  end: {
4161
- line: 47,
4201
+ line: 62,
4162
4202
  column: 73
4163
4203
  }
4164
4204
  },
4165
- "3": {
4205
+ "7": {
4166
4206
  start: {
4167
- line: 49,
4207
+ line: 64,
4168
4208
  column: 30
4169
4209
  },
4170
4210
  end: {
4171
- line: 65,
4211
+ line: 80,
4172
4212
  column: 1
4173
4213
  }
4174
4214
  },
4175
- "4": {
4215
+ "8": {
4176
4216
  start: {
4177
- line: 67,
4217
+ line: 82,
4178
4218
  column: 35
4179
4219
  },
4180
4220
  end: {
4181
- line: 67,
4221
+ line: 82,
4182
4222
  column: 49
4183
4223
  }
4184
4224
  },
4185
- "5": {
4225
+ "9": {
4186
4226
  start: {
4187
- line: 69,
4227
+ line: 84,
4188
4228
  column: 25
4189
4229
  },
4190
4230
  end: {
4191
- line: 75,
4231
+ line: 90,
4192
4232
  column: 1
4193
4233
  }
4194
4234
  }
4195
4235
  },
4196
- fnMap: {},
4197
- branchMap: {},
4236
+ fnMap: {
4237
+ "0": {
4238
+ name: "(anonymous_0)",
4239
+ decl: {
4240
+ start: {
4241
+ line: 43,
4242
+ column: 15
4243
+ },
4244
+ end: {
4245
+ line: 43,
4246
+ column: 16
4247
+ }
4248
+ },
4249
+ loc: {
4250
+ start: {
4251
+ line: 43,
4252
+ column: 20
4253
+ },
4254
+ end: {
4255
+ line: 45,
4256
+ column: 5
4257
+ }
4258
+ },
4259
+ line: 43
4260
+ },
4261
+ "1": {
4262
+ name: "(anonymous_1)",
4263
+ decl: {
4264
+ start: {
4265
+ line: 51,
4266
+ column: 15
4267
+ },
4268
+ end: {
4269
+ line: 51,
4270
+ column: 16
4271
+ }
4272
+ },
4273
+ loc: {
4274
+ start: {
4275
+ line: 51,
4276
+ column: 20
4277
+ },
4278
+ end: {
4279
+ line: 53,
4280
+ column: 5
4281
+ }
4282
+ },
4283
+ line: 51
4284
+ }
4285
+ },
4286
+ branchMap: {
4287
+ "0": {
4288
+ loc: {
4289
+ start: {
4290
+ line: 44,
4291
+ column: 6
4292
+ },
4293
+ end: {
4294
+ line: 44,
4295
+ column: 61
4296
+ }
4297
+ },
4298
+ type: "if",
4299
+ locations: [{
4300
+ start: {
4301
+ line: 44,
4302
+ column: 6
4303
+ },
4304
+ end: {
4305
+ line: 44,
4306
+ column: 61
4307
+ }
4308
+ }, {
4309
+ start: {
4310
+ line: undefined,
4311
+ column: undefined
4312
+ },
4313
+ end: {
4314
+ line: undefined,
4315
+ column: undefined
4316
+ }
4317
+ }],
4318
+ line: 44
4319
+ },
4320
+ "1": {
4321
+ loc: {
4322
+ start: {
4323
+ line: 44,
4324
+ column: 10
4325
+ },
4326
+ end: {
4327
+ line: 44,
4328
+ column: 40
4329
+ }
4330
+ },
4331
+ type: "binary-expr",
4332
+ locations: [{
4333
+ start: {
4334
+ line: 44,
4335
+ column: 10
4336
+ },
4337
+ end: {
4338
+ line: 44,
4339
+ column: 23
4340
+ }
4341
+ }, {
4342
+ start: {
4343
+ line: 44,
4344
+ column: 27
4345
+ },
4346
+ end: {
4347
+ line: 44,
4348
+ column: 40
4349
+ }
4350
+ }],
4351
+ line: 44
4352
+ },
4353
+ "2": {
4354
+ loc: {
4355
+ start: {
4356
+ line: 52,
4357
+ column: 6
4358
+ },
4359
+ end: {
4360
+ line: 52,
4361
+ column: 44
4362
+ }
4363
+ },
4364
+ type: "if",
4365
+ locations: [{
4366
+ start: {
4367
+ line: 52,
4368
+ column: 6
4369
+ },
4370
+ end: {
4371
+ line: 52,
4372
+ column: 44
4373
+ }
4374
+ }, {
4375
+ start: {
4376
+ line: undefined,
4377
+ column: undefined
4378
+ },
4379
+ end: {
4380
+ line: undefined,
4381
+ column: undefined
4382
+ }
4383
+ }],
4384
+ line: 52
4385
+ }
4386
+ },
4198
4387
  s: {
4199
4388
  "0": 0,
4200
4389
  "1": 0,
4201
4390
  "2": 0,
4202
4391
  "3": 0,
4203
4392
  "4": 0,
4204
- "5": 0
4393
+ "5": 0,
4394
+ "6": 0,
4395
+ "7": 0,
4396
+ "8": 0,
4397
+ "9": 0
4398
+ },
4399
+ f: {
4400
+ "0": 0,
4401
+ "1": 0
4402
+ },
4403
+ b: {
4404
+ "0": [0, 0],
4405
+ "1": [0, 0],
4406
+ "2": [0, 0]
4205
4407
  },
4206
- f: {},
4207
- b: {},
4208
4408
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
4209
- hash: "06c0fa99a8044bfa85dba10dcf9fa947503a23c0"
4409
+ hash: "3a67a3db4eeb7a59f9a683d9829f356430fab3e7"
4210
4410
  };
4211
4411
  var coverage = global[gcv] || (global[gcv] = {});
4212
4412
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -4281,9 +4481,41 @@ var QUESTION_KIND = (cov_2qs8napxwn().s[0]++, {
4281
4481
  },
4282
4482
  RICH_TEXT: {
4283
4483
  value: "rich_text"
4484
+ },
4485
+ INTEGER: {
4486
+ prefix: /*#__PURE__*/React__default.createElement(Input, null),
4487
+ type: "number",
4488
+ value: "integer",
4489
+ onKeyDown: function onKeyDown(e) {
4490
+ cov_2qs8napxwn().f[0]++;
4491
+ cov_2qs8napxwn().s[1]++;
4492
+ if ((cov_2qs8napxwn().b[1][0]++, e.key === ".") || (cov_2qs8napxwn().b[1][1]++, e.key === "e")) {
4493
+ cov_2qs8napxwn().b[0][0]++;
4494
+ cov_2qs8napxwn().s[2]++;
4495
+ e.preventDefault();
4496
+ } else {
4497
+ cov_2qs8napxwn().b[0][1]++;
4498
+ }
4499
+ }
4500
+ },
4501
+ DECIMAL: {
4502
+ prefix: /*#__PURE__*/React__default.createElement(Input, null),
4503
+ type: "number",
4504
+ value: "decimal",
4505
+ onKeyDown: function onKeyDown(e) {
4506
+ cov_2qs8napxwn().f[1]++;
4507
+ cov_2qs8napxwn().s[3]++;
4508
+ if (e.key === "e") {
4509
+ cov_2qs8napxwn().b[2][0]++;
4510
+ cov_2qs8napxwn().s[4]++;
4511
+ e.preventDefault();
4512
+ } else {
4513
+ cov_2qs8napxwn().b[2][1]++;
4514
+ }
4515
+ }
4284
4516
  }
4285
4517
  });
4286
- var RATING_VALUES = (cov_2qs8napxwn().s[1]++, {
4518
+ var RATING_VALUES = (cov_2qs8napxwn().s[5]++, {
4287
4519
  GOOD: {
4288
4520
  label: t$1("neetoForm.common.good"),
4289
4521
  value: "good"
@@ -4297,8 +4529,8 @@ var RATING_VALUES = (cov_2qs8napxwn().s[1]++, {
4297
4529
  value: "bad"
4298
4530
  }
4299
4531
  });
4300
- var SCHEMA_LESS_QUESTION_KINDS = (cov_2qs8napxwn().s[2]++, [QUESTION_KIND.PARAGRAPH.value]);
4301
- var RATING_OPTIONS = (cov_2qs8napxwn().s[3]++, [{
4532
+ var SCHEMA_LESS_QUESTION_KINDS = (cov_2qs8napxwn().s[6]++, [QUESTION_KIND.PARAGRAPH.value]);
4533
+ var RATING_OPTIONS = (cov_2qs8napxwn().s[7]++, [{
4302
4534
  icon: SvgHappyFace,
4303
4535
  modifier: "happy",
4304
4536
  value: RATING_VALUES.GOOD.value
@@ -4311,8 +4543,8 @@ var RATING_OPTIONS = (cov_2qs8napxwn().s[3]++, [{
4311
4543
  modifier: "sad",
4312
4544
  value: RATING_VALUES.BAD.value
4313
4545
  }]);
4314
- (cov_2qs8napxwn().s[4]++, /\+\d{11,14}$/);
4315
- var ICONS_MAP = (cov_2qs8napxwn().s[5]++, {
4546
+ (cov_2qs8napxwn().s[8]++, /\+\d{11,14}$/);
4547
+ var ICONS_MAP = (cov_2qs8napxwn().s[9]++, {
4316
4548
  star: MemoizedStar,
4317
4549
  heart: MemoizedHeart,
4318
4550
  crown: MemoizedCrown,
@@ -25258,7 +25490,7 @@ var Editor = function Editor(_ref) {
25258
25490
 
25259
25491
  function cov_2j8tlu2ul5() {
25260
25492
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/constants.js";
25261
- var hash = "6d2a1487c3ee64be33ed78df7bbb278bf982988b";
25493
+ var hash = "b0ce3d8b3b5391e11f9ac6d877b412e8beb4a7ac";
25262
25494
  var global = new Function("return this")();
25263
25495
  var gcv = "__coverage__";
25264
25496
  var coverageData = {
@@ -25300,27 +25532,27 @@ function cov_2j8tlu2ul5() {
25300
25532
  column: 30
25301
25533
  },
25302
25534
  end: {
25303
- line: 210,
25535
+ line: 226,
25304
25536
  column: 1
25305
25537
  }
25306
25538
  },
25307
25539
  "4": {
25308
25540
  start: {
25309
- line: 213,
25541
+ line: 229,
25310
25542
  column: 38
25311
25543
  },
25312
25544
  end: {
25313
- line: 216,
25545
+ line: 232,
25314
25546
  column: 1
25315
25547
  }
25316
25548
  },
25317
25549
  "5": {
25318
25550
  start: {
25319
- line: 218,
25551
+ line: 234,
25320
25552
  column: 29
25321
25553
  },
25322
25554
  end: {
25323
- line: 218,
25555
+ line: 234,
25324
25556
  column: 63
25325
25557
  }
25326
25558
  }
@@ -25338,7 +25570,7 @@ function cov_2j8tlu2ul5() {
25338
25570
  f: {},
25339
25571
  b: {},
25340
25572
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
25341
- hash: "6d2a1487c3ee64be33ed78df7bbb278bf982988b"
25573
+ hash: "b0ce3d8b3b5391e11f9ac6d877b412e8beb4a7ac"
25342
25574
  };
25343
25575
  var coverage = global[gcv] || (global[gcv] = {});
25344
25576
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -25429,6 +25661,24 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
25429
25661
  defaults: {
25430
25662
  label: ""
25431
25663
  }
25664
+ }, {
25665
+ type: "integer",
25666
+ label: t$1("neetoForm.fields.iif"),
25667
+ isSingular: false,
25668
+ icon: Input,
25669
+ component: LongText,
25670
+ defaults: {
25671
+ label: ""
25672
+ }
25673
+ }, {
25674
+ type: "decimal",
25675
+ label: t$1("neetoForm.fields.dif"),
25676
+ isSingular: false,
25677
+ icon: Input,
25678
+ component: LongText,
25679
+ defaults: {
25680
+ label: ""
25681
+ }
25432
25682
  }, {
25433
25683
  type: "rich_text",
25434
25684
  label: t$1("neetoForm.fields.rtf"),
@@ -51112,7 +51362,7 @@ var TermsField = function TermsField(_ref) {
51112
51362
 
51113
51363
  function cov_h64dar2vv() {
51114
51364
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/TextField.jsx";
51115
- var hash = "ab2c332db1268cb7f1bdbe13a52dd73ce59a5644";
51365
+ var hash = "b7d64e55c2820e2556092d8ce02f6c9397255ab7";
51116
51366
  var global = new Function("return this")();
51117
51367
  var gcv = "__coverage__";
51118
51368
  var coverageData = {
@@ -51124,7 +51374,7 @@ function cov_h64dar2vv() {
51124
51374
  column: 18
51125
51375
  },
51126
51376
  end: {
51127
- line: 44,
51377
+ line: 46,
51128
51378
  column: 1
51129
51379
  }
51130
51380
  },
@@ -51140,41 +51390,41 @@ function cov_h64dar2vv() {
51140
51390
  },
51141
51391
  "2": {
51142
51392
  start: {
51143
- line: 16,
51393
+ line: 17,
51144
51394
  column: 6
51145
51395
  },
51146
51396
  end: {
51147
- line: 16,
51397
+ line: 17,
51148
51398
  column: 39
51149
51399
  }
51150
51400
  },
51151
51401
  "3": {
51152
51402
  start: {
51153
- line: 18,
51403
+ line: 19,
51154
51404
  column: 20
51155
51405
  },
51156
51406
  end: {
51157
- line: 18,
51407
+ line: 19,
51158
51408
  column: 76
51159
51409
  }
51160
51410
  },
51161
51411
  "4": {
51162
51412
  start: {
51163
- line: 20,
51413
+ line: 21,
51164
51414
  column: 2
51165
51415
  },
51166
51416
  end: {
51167
- line: 43,
51417
+ line: 45,
51168
51418
  column: 4
51169
51419
  }
51170
51420
  },
51171
51421
  "5": {
51172
51422
  start: {
51173
- line: 31,
51423
+ line: 32,
51174
51424
  column: 8
51175
51425
  },
51176
51426
  end: {
51177
- line: 40,
51427
+ line: 42,
51178
51428
  column: 10
51179
51429
  }
51180
51430
  }
@@ -51198,7 +51448,7 @@ function cov_h64dar2vv() {
51198
51448
  column: 69
51199
51449
  },
51200
51450
  end: {
51201
- line: 44,
51451
+ line: 46,
51202
51452
  column: 1
51203
51453
  }
51204
51454
  },
@@ -51208,25 +51458,25 @@ function cov_h64dar2vv() {
51208
51458
  name: "(anonymous_1)",
51209
51459
  decl: {
51210
51460
  start: {
51211
- line: 30,
51461
+ line: 31,
51212
51462
  column: 7
51213
51463
  },
51214
51464
  end: {
51215
- line: 30,
51465
+ line: 31,
51216
51466
  column: 8
51217
51467
  }
51218
51468
  },
51219
51469
  loc: {
51220
51470
  start: {
51221
- line: 31,
51471
+ line: 32,
51222
51472
  column: 8
51223
51473
  },
51224
51474
  end: {
51225
- line: 40,
51475
+ line: 42,
51226
51476
  column: 10
51227
51477
  }
51228
51478
  },
51229
- line: 31
51479
+ line: 32
51230
51480
  }
51231
51481
  },
51232
51482
  branchMap: {
@@ -51257,167 +51507,167 @@ function cov_h64dar2vv() {
51257
51507
  "1": {
51258
51508
  loc: {
51259
51509
  start: {
51260
- line: 18,
51510
+ line: 19,
51261
51511
  column: 20
51262
51512
  },
51263
51513
  end: {
51264
- line: 18,
51514
+ line: 19,
51265
51515
  column: 76
51266
51516
  }
51267
51517
  },
51268
51518
  type: "cond-expr",
51269
51519
  locations: [{
51270
51520
  start: {
51271
- line: 18,
51521
+ line: 19,
51272
51522
  column: 60
51273
51523
  },
51274
51524
  end: {
51275
- line: 18,
51525
+ line: 19,
51276
51526
  column: 68
51277
51527
  }
51278
51528
  }, {
51279
51529
  start: {
51280
- line: 18,
51530
+ line: 19,
51281
51531
  column: 71
51282
51532
  },
51283
51533
  end: {
51284
- line: 18,
51534
+ line: 19,
51285
51535
  column: 76
51286
51536
  }
51287
51537
  }],
51288
- line: 18
51538
+ line: 19
51289
51539
  },
51290
51540
  "2": {
51291
51541
  loc: {
51292
51542
  start: {
51293
- line: 22,
51543
+ line: 23,
51294
51544
  column: 12
51295
51545
  },
51296
51546
  end: {
51297
- line: 22,
51547
+ line: 23,
51298
51548
  column: 26
51299
51549
  }
51300
51550
  },
51301
51551
  type: "binary-expr",
51302
51552
  locations: [{
51303
51553
  start: {
51304
- line: 22,
51554
+ line: 23,
51305
51555
  column: 12
51306
51556
  },
51307
51557
  end: {
51308
- line: 22,
51558
+ line: 23,
51309
51559
  column: 16
51310
51560
  }
51311
51561
  }, {
51312
51562
  start: {
51313
- line: 22,
51563
+ line: 23,
51314
51564
  column: 20
51315
51565
  },
51316
51566
  end: {
51317
- line: 22,
51567
+ line: 23,
51318
51568
  column: 26
51319
51569
  }
51320
51570
  }],
51321
- line: 22
51571
+ line: 23
51322
51572
  },
51323
51573
  "3": {
51324
51574
  loc: {
51325
51575
  start: {
51326
- line: 32,
51576
+ line: 33,
51327
51577
  column: 17
51328
51578
  },
51329
51579
  end: {
51330
- line: 32,
51580
+ line: 33,
51331
51581
  column: 47
51332
51582
  }
51333
51583
  },
51334
51584
  type: "cond-expr",
51335
51585
  locations: [{
51336
51586
  start: {
51337
- line: 32,
51587
+ line: 33,
51338
51588
  column: 32
51339
51589
  },
51340
51590
  end: {
51341
- line: 32,
51591
+ line: 33,
51342
51592
  column: 42
51343
51593
  }
51344
51594
  }, {
51345
51595
  start: {
51346
- line: 32,
51596
+ line: 33,
51347
51597
  column: 45
51348
51598
  },
51349
51599
  end: {
51350
- line: 32,
51600
+ line: 33,
51351
51601
  column: 47
51352
51602
  }
51353
51603
  }],
51354
- line: 32
51604
+ line: 33
51355
51605
  },
51356
51606
  "4": {
51357
51607
  loc: {
51358
51608
  start: {
51359
- line: 35,
51609
+ line: 36,
51360
51610
  column: 18
51361
51611
  },
51362
51612
  end: {
51363
- line: 35,
51613
+ line: 36,
51364
51614
  column: 42
51365
51615
  }
51366
51616
  },
51367
51617
  type: "binary-expr",
51368
51618
  locations: [{
51369
51619
  start: {
51370
- line: 35,
51620
+ line: 36,
51371
51621
  column: 18
51372
51622
  },
51373
51623
  end: {
51374
- line: 35,
51624
+ line: 36,
51375
51625
  column: 32
51376
51626
  }
51377
51627
  }, {
51378
51628
  start: {
51379
- line: 35,
51629
+ line: 36,
51380
51630
  column: 36
51381
51631
  },
51382
51632
  end: {
51383
- line: 35,
51633
+ line: 36,
51384
51634
  column: 42
51385
51635
  }
51386
51636
  }],
51387
- line: 35
51637
+ line: 36
51388
51638
  },
51389
51639
  "5": {
51390
51640
  loc: {
51391
51641
  start: {
51392
- line: 39,
51642
+ line: 40,
51393
51643
  column: 20
51394
51644
  },
51395
51645
  end: {
51396
- line: 39,
51646
+ line: 40,
51397
51647
  column: 74
51398
51648
  }
51399
51649
  },
51400
51650
  type: "binary-expr",
51401
51651
  locations: [{
51402
51652
  start: {
51403
- line: 39,
51653
+ line: 40,
51404
51654
  column: 20
51405
51655
  },
51406
51656
  end: {
51407
- line: 39,
51657
+ line: 40,
51408
51658
  column: 56
51409
51659
  }
51410
51660
  }, {
51411
51661
  start: {
51412
- line: 39,
51662
+ line: 40,
51413
51663
  column: 60
51414
51664
  },
51415
51665
  end: {
51416
- line: 39,
51666
+ line: 40,
51417
51667
  column: 74
51418
51668
  }
51419
51669
  }],
51420
- line: 39
51670
+ line: 40
51421
51671
  }
51422
51672
  },
51423
51673
  s: {
@@ -51441,7 +51691,7 @@ function cov_h64dar2vv() {
51441
51691
  "5": [0, 0]
51442
51692
  },
51443
51693
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
51444
- hash: "ab2c332db1268cb7f1bdbe13a52dd73ce59a5644"
51694
+ hash: "b7d64e55c2820e2556092d8ce02f6c9397255ab7"
51445
51695
  };
51446
51696
  var coverage = global[gcv] || (global[gcv] = {});
51447
51697
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -51474,6 +51724,7 @@ var TextField = function TextField(_ref) {
51474
51724
  prefix = _ref3.prefix,
51475
51725
  _ref3$type = _ref3.type,
51476
51726
  type = _ref3$type === void 0 ? (cov_h64dar2vv().b[0][0]++, "text") : _ref3$type,
51727
+ onKeyDown = _ref3.onKeyDown,
51477
51728
  otherProps = _ref3.otherProps;
51478
51729
  var Component = (cov_h64dar2vv().s[3]++, kind === QUESTION_KIND.TEXTAREA.value ? (cov_h64dar2vv().b[1][0]++, Textarea$1) : (cov_h64dar2vv().b[1][1]++, Input$2));
51479
51730
  cov_h64dar2vv().s[4]++;
@@ -51499,7 +51750,8 @@ var TextField = function TextField(_ref) {
51499
51750
  required: isRequired,
51500
51751
  type: type
51501
51752
  }, field, {
51502
- 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)
51753
+ 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),
51754
+ onKeyDown: onKeyDown
51503
51755
  }));
51504
51756
  });
51505
51757
  };
@@ -51507,7 +51759,7 @@ var TextField = function TextField(_ref) {
51507
51759
  var _ref2;
51508
51760
  function cov_1cenqfav07() {
51509
51761
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/constants.jsx";
51510
- var hash = "d225c5a1e9ed444a01ab4d7cb1d85c0478f33d27";
51762
+ var hash = "0af4d5e3c7cc4a9d26f13aaafeeba9bad2171ebe";
51511
51763
  var global = new Function("return this")();
51512
51764
  var gcv = "__coverage__";
51513
51765
  var coverageData = {
@@ -51519,17 +51771,17 @@ function cov_1cenqfav07() {
51519
51771
  column: 41
51520
51772
  },
51521
51773
  end: {
51522
- line: 38,
51774
+ line: 40,
51523
51775
  column: 1
51524
51776
  }
51525
51777
  },
51526
51778
  "1": {
51527
51779
  start: {
51528
- line: 30,
51780
+ line: 32,
51529
51781
  column: 4
51530
51782
  },
51531
51783
  end: {
51532
- line: 30,
51784
+ line: 32,
51533
51785
  column: 46
51534
51786
  }
51535
51787
  }
@@ -51539,25 +51791,25 @@ function cov_1cenqfav07() {
51539
51791
  name: "(anonymous_0)",
51540
51792
  decl: {
51541
51793
  start: {
51542
- line: 29,
51794
+ line: 31,
51543
51795
  column: 35
51544
51796
  },
51545
51797
  end: {
51546
- line: 29,
51798
+ line: 31,
51547
51799
  column: 36
51548
51800
  }
51549
51801
  },
51550
51802
  loc: {
51551
51803
  start: {
51552
- line: 30,
51804
+ line: 32,
51553
51805
  column: 4
51554
51806
  },
51555
51807
  end: {
51556
- line: 30,
51808
+ line: 32,
51557
51809
  column: 46
51558
51810
  }
51559
51811
  },
51560
- line: 30
51812
+ line: 32
51561
51813
  }
51562
51814
  },
51563
51815
  branchMap: {},
@@ -51570,7 +51822,7 @@ function cov_1cenqfav07() {
51570
51822
  },
51571
51823
  b: {},
51572
51824
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
51573
- hash: "d225c5a1e9ed444a01ab4d7cb1d85c0478f33d27"
51825
+ hash: "0af4d5e3c7cc4a9d26f13aaafeeba9bad2171ebe"
51574
51826
  };
51575
51827
  var coverage = global[gcv] || (global[gcv] = {});
51576
51828
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -51586,7 +51838,7 @@ function cov_1cenqfav07() {
51586
51838
  return actualCoverage;
51587
51839
  }
51588
51840
  cov_1cenqfav07();
51589
- 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) {
51841
+ 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) {
51590
51842
  var question = _ref.question;
51591
51843
  cov_1cenqfav07().f[0]++;
51592
51844
  cov_1cenqfav07().s[1]++;