@tsed/react-formio 1.11.2 → 1.12.0

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.
Files changed (141) hide show
  1. package/.env +2 -1
  2. package/craco.config.js +11 -1
  3. package/dist/components/alert/alert.component.spec.d.ts +1 -0
  4. package/dist/components/alert/alert.stories.d.ts +15 -0
  5. package/dist/components/form-action/formAction.stories.d.ts +90 -414
  6. package/dist/components/input-text/inputText.component.d.ts +1 -1
  7. package/dist/components/input-text/inputText.component.spec.d.ts +1 -0
  8. package/dist/components/select/select.component.spec.d.ts +1 -0
  9. package/dist/components/tabs/tabs.component.spec.d.ts +1 -0
  10. package/dist/index.js +60 -30
  11. package/dist/index.js.map +1 -1
  12. package/dist/index.modern.js +59 -31
  13. package/dist/index.modern.js.map +1 -1
  14. package/jest.config.js +1 -1
  15. package/package.json +5 -9
  16. package/readme.md +74 -79
  17. package/src/components/__fixtures__/form-schema.json +10 -42
  18. package/src/components/__fixtures__/form.fixture.json +1 -1
  19. package/src/components/actions-table/actionsTable.component.spec.tsx +4 -13
  20. package/src/components/actions-table/actionsTable.component.tsx +3 -11
  21. package/src/components/alert/alert.component.spec.tsx +97 -0
  22. package/src/components/alert/alert.component.tsx +2 -8
  23. package/src/components/alert/alert.stories.tsx +17 -0
  24. package/src/components/card/card.component.tsx +1 -5
  25. package/src/components/form/form.component.tsx +1 -7
  26. package/src/components/form/useForm.hook.ts +4 -13
  27. package/src/components/form-access/formAccess.component.tsx +19 -82
  28. package/src/components/form-access/formAccess.schema.ts +7 -23
  29. package/src/components/form-access/formAccess.stories.tsx +2 -9
  30. package/src/components/form-access/formAccess.utils.spec.ts +4 -22
  31. package/src/components/form-access/formAccess.utils.ts +7 -29
  32. package/src/components/form-action/formAction.component.tsx +3 -19
  33. package/src/components/form-action/formAction.stories.tsx +251 -672
  34. package/src/components/form-builder/formBuilder.component.tsx +4 -13
  35. package/src/components/form-builder/formBuilder.stories.tsx +12 -24
  36. package/src/components/form-control/formControl.component.tsx +2 -8
  37. package/src/components/form-edit/formCtas.component.tsx +5 -23
  38. package/src/components/form-edit/formEdit.component.tsx +2 -20
  39. package/src/components/form-edit/formEdit.reducer.ts +2 -8
  40. package/src/components/form-edit/formEdit.stories.tsx +3 -15
  41. package/src/components/form-edit/formParameters.component.tsx +3 -20
  42. package/src/components/form-edit/useFormEdit.hook.ts +2 -9
  43. package/src/components/form-settings/formSettings.component.spec.tsx +2 -9
  44. package/src/components/form-settings/formSettings.component.tsx +6 -34
  45. package/src/components/form-settings/formSettings.stories.tsx +1 -6
  46. package/src/components/form-settings/formSettings.utils.spec.ts +1 -4
  47. package/src/components/form-settings/formSettings.utils.ts +2 -7
  48. package/src/components/forms-table/components/formCell.component.tsx +2 -6
  49. package/src/components/forms-table/formsTable.component.tsx +2 -7
  50. package/src/components/input-tags/inputTags.component.tsx +10 -34
  51. package/src/components/input-tags/inputTags.stories.tsx +4 -14
  52. package/src/components/input-text/inputText.component.spec.tsx +56 -0
  53. package/src/components/input-text/inputText.component.tsx +4 -5
  54. package/src/components/input-text/inputText.stories.tsx +6 -26
  55. package/src/components/loader/loader.component.tsx +2 -11
  56. package/src/components/modal/modal.component.spec.tsx +8 -14
  57. package/src/components/modal/modal.component.tsx +6 -27
  58. package/src/components/modal/modal.stories.tsx +1 -5
  59. package/src/components/modal/removeModal.component.tsx +4 -22
  60. package/src/components/pagination/pagination.component.spec.tsx +12 -38
  61. package/src/components/pagination/pagination.component.tsx +8 -41
  62. package/src/components/pagination/pagination.stories.tsx +1 -5
  63. package/src/components/react-component/reactComponent.component.tsx +3 -11
  64. package/src/components/select/select.component.spec.tsx +86 -0
  65. package/src/components/select/select.component.tsx +11 -15
  66. package/src/components/select/select.stories.tsx +6 -26
  67. package/src/components/submissions-table/submissionsTable.component.tsx +1 -3
  68. package/src/components/submissions-table/submissionsTable.stories.tsx +1 -1
  69. package/src/components/table/components/defaultArrowSort.component.tsx +1 -10
  70. package/src/components/table/components/defaultCell.component.tsx +1 -4
  71. package/src/components/table/components/defaultCellHeader.component.tsx +4 -14
  72. package/src/components/table/components/defaultCellOperations.component.tsx +14 -25
  73. package/src/components/table/components/defaultOperationButton.component.tsx +2 -10
  74. package/src/components/table/filters/defaultColumnFilter.component.spec.tsx +1 -1
  75. package/src/components/table/filters/selectColumnFilter.component.spec.tsx +2 -10
  76. package/src/components/table/filters/selectColumnFilter.component.tsx +2 -6
  77. package/src/components/table/table.component.tsx +13 -53
  78. package/src/components/table/table.stories.tsx +1 -1
  79. package/src/components/table/utils/getPageNumbers.ts +3 -11
  80. package/src/components/table/utils/mapFormToColumns.tsx +14 -22
  81. package/src/components/table/utils/useOperations.hook.tsx +2 -12
  82. package/src/components/tabs/tabs.component.spec.tsx +86 -0
  83. package/src/components/tabs/tabs.component.stories.tsx +2 -9
  84. package/src/components/tabs/tabs.component.tsx +9 -43
  85. package/src/interfaces/Operation.ts +1 -4
  86. package/src/react-table.d.ts +9 -28
  87. package/src/stores/action/action.actions.ts +31 -33
  88. package/src/stores/action/action.reducers.spec.ts +1 -8
  89. package/src/stores/action/action.reducers.ts +1 -8
  90. package/src/stores/action/action.selectors.ts +1 -2
  91. package/src/stores/action-info/action-info.actions.spec.ts +1 -5
  92. package/src/stores/action-info/action-info.actions.ts +16 -19
  93. package/src/stores/action-info/action-info.reducers.spec.ts +1 -6
  94. package/src/stores/action-info/action-info.reducers.ts +1 -6
  95. package/src/stores/action-info/action-info.selectors.ts +1 -4
  96. package/src/stores/actions/actions.actions.spec.ts +1 -6
  97. package/src/stores/actions/actions.actions.ts +16 -19
  98. package/src/stores/actions/actions.reducers.spec.ts +1 -6
  99. package/src/stores/actions/actions.reducers.ts +1 -6
  100. package/src/stores/actions/actions.selectors.ts +2 -4
  101. package/src/stores/auth/auth.reducers.ts +1 -4
  102. package/src/stores/auth/auth.selectors.spec.ts +1 -5
  103. package/src/stores/auth/auth.selectors.ts +3 -6
  104. package/src/stores/auth/auth.utils.tsx +2 -8
  105. package/src/stores/auth/getAccess.action.spec.ts +11 -54
  106. package/src/stores/auth/getAccess.action.ts +1 -6
  107. package/src/stores/auth/initAuth.action.ts +15 -17
  108. package/src/stores/form/form.actions.spec.ts +8 -39
  109. package/src/stores/form/form.actions.ts +55 -64
  110. package/src/stores/form/form.reducers.spec.ts +1 -7
  111. package/src/stores/form/form.reducers.ts +1 -8
  112. package/src/stores/form/form.selectors.ts +1 -2
  113. package/src/stores/forms/forms.actions.spec.ts +5 -18
  114. package/src/stores/forms/forms.actions.ts +17 -21
  115. package/src/stores/forms/forms.reducers.spec.ts +1 -6
  116. package/src/stores/forms/forms.reducers.ts +2 -13
  117. package/src/stores/forms/forms.selectors.ts +2 -4
  118. package/src/stores/index.spec.ts +6 -9
  119. package/src/stores/root/root.selectors.spec.ts +1 -6
  120. package/src/stores/root/root.selectors.ts +6 -24
  121. package/src/stores/submission/submission.actions.spec.ts +11 -33
  122. package/src/stores/submission/submission.actions.ts +57 -66
  123. package/src/stores/submission/submission.reducers.spec.ts +17 -27
  124. package/src/stores/submission/submission.reducers.ts +1 -4
  125. package/src/stores/submission/submission.selectors.ts +1 -4
  126. package/src/stores/submissions/submissions.actions.spec.ts +5 -18
  127. package/src/stores/submissions/submissions.actions.ts +17 -26
  128. package/src/stores/submissions/submissions.reducers.spec.ts +3 -12
  129. package/src/stores/submissions/submissions.reducers.ts +3 -17
  130. package/src/stores/submissions/submissions.selectors.spec.ts +1 -4
  131. package/src/stores/submissions/submissions.selectors.ts +2 -4
  132. package/src/utils/getEventValue.ts +1 -4
  133. package/src/utils/iconClass.ts +2 -10
  134. package/src/utils/mapPagination.ts +1 -6
  135. package/src/utils/mapRequestParams.ts +2 -12
  136. package/src/utils/url.test.ts +4 -12
  137. package/src/utils/url.ts +2 -7
  138. package/tsconfig.json +4 -12
  139. package/tsconfig.test.json +1 -1
  140. package/.eslintrc +0 -47
  141. package/.prettierrc +0 -10
package/.env CHANGED
@@ -1 +1,2 @@
1
- DISABLE_NEW_JSX_TRANSFORM=true
1
+ DISABLE_NEW_JSX_TRANSFORM=true
2
+ SKIP_PREFLIGHT_CHECK=true
package/craco.config.js CHANGED
@@ -1 +1,11 @@
1
- module.exports = require('@tsed/config/craco.config')
1
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
2
+ module.exports = require("@tsed/config/craco.config")("react-formio", {
3
+ coverageThreshold: {
4
+ global: {
5
+ branches: 44.6,
6
+ functions: 60.98,
7
+ lines: 60.98,
8
+ statements: 62.27
9
+ }
10
+ }
11
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { Alert } from "./alert.component";
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof Alert;
6
+ argTypes: {};
7
+ parameters: {};
8
+ };
9
+ export default _default;
10
+ export declare const Sandbox: {
11
+ (args: any): JSX.Element;
12
+ args: {
13
+ error: string;
14
+ };
15
+ };
@@ -236,435 +236,111 @@ export declare const Sandbox: {
236
236
  type: string;
237
237
  input: boolean;
238
238
  key: string;
239
- editorComponents: {
239
+ editorComponents: ({
240
240
  label: string;
241
- columns: ({
242
- components: {
243
- label: string;
244
- placeholder: string;
245
- tableView: boolean;
246
- validate: {
247
- required: boolean;
248
- custom: string;
249
- customPrivate: boolean;
250
- strictDateValidation: boolean;
251
- multiple: boolean;
252
- unique: boolean;
253
- minLength: string;
254
- maxLength: string;
255
- pattern: string;
256
- };
257
- key: string;
258
- type: string;
259
- input: boolean;
260
- hideOnChildrenHidden: boolean;
261
- prefix: string;
262
- customClass: string;
263
- suffix: string;
264
- multiple: boolean;
265
- defaultValue: any;
266
- protected: boolean;
267
- unique: boolean;
268
- persistent: boolean;
269
- hidden: boolean;
270
- clearOnHide: boolean;
271
- refreshOn: string;
272
- redrawOn: string;
273
- modalEdit: boolean;
274
- labelPosition: string;
275
- description: string;
276
- errorLabel: string;
277
- tooltip: string;
278
- hideLabel: boolean;
279
- tabindex: string;
280
- disabled: boolean;
281
- autofocus: boolean;
282
- dbIndex: boolean;
283
- customDefaultValue: string;
284
- calculateValue: string;
285
- calculateServer: boolean;
286
- widget: {
287
- type: string;
288
- };
289
- attributes: {};
290
- validateOn: string;
291
- conditional: {
292
- show: any;
293
- when: any;
294
- eq: string;
295
- };
296
- overlay: {
297
- style: string;
298
- left: string;
299
- top: string;
300
- width: string;
301
- height: string;
302
- };
303
- allowCalculateOverride: boolean;
304
- encrypted: boolean;
305
- showCharCount: boolean;
306
- showWordCount: boolean;
307
- properties: {};
308
- allowMultipleMasks: boolean;
309
- mask: boolean;
310
- inputType: string;
311
- inputFormat: string;
312
- inputMask: string;
313
- spellcheck: boolean;
314
- id: string;
315
- }[];
316
- width: number;
317
- offset: number;
318
- push: number;
319
- pull: number;
320
- size: string;
321
- } | {
322
- components: {
323
- label: string;
324
- labelPosition: string;
325
- placeholder: string;
326
- description: string;
327
- tooltip: string;
328
- prefix: string;
329
- suffix: string;
330
- widget: {
331
- type: string;
332
- };
333
- inputMask: string;
334
- allowMultipleMasks: boolean;
335
- customClass: string;
336
- tabindex: string;
337
- autocomplete: string;
338
- hidden: boolean;
339
- hideLabel: boolean;
340
- showWordCount: boolean;
341
- showCharCount: boolean;
342
- mask: boolean;
343
- autofocus: boolean;
344
- spellcheck: boolean;
345
- disabled: boolean;
346
- tableView: boolean;
347
- modalEdit: boolean;
348
- multiple: boolean;
349
- persistent: boolean;
350
- inputFormat: string;
351
- protected: boolean;
352
- dbIndex: boolean;
353
- case: string;
354
- encrypted: boolean;
355
- redrawOn: string;
356
- clearOnHide: boolean;
357
- customDefaultValue: string;
358
- calculateValue: string;
359
- calculateServer: boolean;
360
- allowCalculateOverride: boolean;
361
- validateOn: string;
362
- validate: {
363
- required: boolean;
364
- pattern: string;
365
- customMessage: string;
366
- custom: string;
367
- customPrivate: boolean;
368
- json: string;
369
- minLength: string;
370
- maxLength: string;
371
- strictDateValidation: boolean;
372
- multiple: boolean;
373
- unique: boolean;
374
- };
375
- unique: boolean;
376
- errorLabel: string;
377
- key: string;
378
- tags: any[];
379
- properties: {};
380
- conditional: {
381
- show: any;
382
- when: any;
383
- eq: string;
384
- json: string;
385
- };
386
- customConditional: string;
387
- logic: any[];
388
- attributes: {};
389
- overlay: {
390
- style: string;
391
- page: string;
392
- left: string;
393
- top: string;
394
- width: string;
395
- height: string;
396
- };
397
- type: string;
398
- input: boolean;
399
- hideOnChildrenHidden: boolean;
400
- refreshOn: string;
401
- inputType: string;
402
- id: string;
403
- defaultValue: string;
404
- }[];
405
- width: number;
406
- offset: number;
407
- push: number;
408
- pull: number;
409
- size: string;
241
+ reorder: boolean;
242
+ addAnotherPosition: string;
243
+ layoutFixed: boolean;
244
+ enableRowGroups: boolean;
245
+ initEmpty: boolean;
246
+ tableView: boolean;
247
+ defaultValue: {
248
+ path: {};
249
+ operator: string;
250
+ }[];
251
+ key: string;
252
+ type: string;
253
+ input: boolean;
254
+ components: ({
255
+ label: string;
256
+ widget: string;
257
+ tableView: boolean;
258
+ dataSrc: string;
259
+ data: {
260
+ url: string;
261
+ headers: {
262
+ key: string;
263
+ value: string;
264
+ }[];
265
+ values?: undefined;
266
+ };
267
+ key: string;
268
+ type: string;
269
+ input: boolean;
270
+ disableLimit: boolean;
271
+ customClass?: undefined;
272
+ components?: undefined;
273
+ customConditional?: undefined;
410
274
  } | {
411
- components: {
412
- label: string;
413
- widget: string;
414
- tableView: boolean;
415
- data: {
416
- values: {
417
- label: string;
418
- value: string;
419
- }[];
420
- json: string;
421
- url: string;
422
- resource: string;
423
- custom: string;
424
- };
425
- selectThreshold: number;
426
- key: string;
427
- type: string;
428
- indexeddb: {
429
- filter: {};
430
- };
431
- input: boolean;
432
- hideOnChildrenHidden: boolean;
433
- defaultValue: string;
434
- placeholder: string;
435
- prefix: string;
436
- customClass: string;
437
- suffix: string;
438
- multiple: boolean;
439
- protected: boolean;
440
- unique: boolean;
441
- persistent: boolean;
442
- hidden: boolean;
443
- clearOnHide: boolean;
444
- refreshOn: string;
445
- redrawOn: string;
446
- modalEdit: boolean;
447
- labelPosition: string;
448
- description: string;
449
- errorLabel: string;
450
- tooltip: string;
451
- hideLabel: boolean;
452
- tabindex: string;
453
- disabled: boolean;
454
- autofocus: boolean;
455
- dbIndex: boolean;
456
- customDefaultValue: string;
457
- calculateValue: string;
458
- calculateServer: boolean;
459
- attributes: {};
460
- validateOn: string;
461
- validate: {
462
- required: boolean;
463
- custom: string;
464
- customPrivate: boolean;
465
- strictDateValidation: boolean;
466
- multiple: boolean;
467
- unique: boolean;
468
- };
469
- conditional: {
470
- show: any;
471
- when: any;
472
- eq: string;
473
- };
474
- overlay: {
475
- style: string;
476
- left: string;
477
- top: string;
478
- width: string;
479
- height: string;
480
- };
481
- allowCalculateOverride: boolean;
482
- encrypted: boolean;
483
- showCharCount: boolean;
484
- showWordCount: boolean;
485
- properties: {};
486
- allowMultipleMasks: boolean;
487
- idPath: string;
488
- clearOnRefresh: boolean;
489
- limit: number;
490
- dataSrc: string;
491
- valueProperty: string;
492
- lazyLoad: boolean;
493
- filter: string;
494
- searchEnabled: boolean;
495
- searchField: string;
496
- minSearch: number;
497
- readOnlyValue: boolean;
498
- authenticate: boolean;
499
- template: string;
500
- selectFields: string;
501
- searchThreshold: number;
502
- uniqueOptions: boolean;
503
- fuseOptions: {
504
- include: string;
505
- threshold: number;
506
- };
507
- customOptions: {};
508
- useExactSearch: boolean;
509
- id: string;
510
- }[];
511
- size: string;
512
- width: number;
513
- offset: number;
514
- push: number;
515
- pull: number;
275
+ label: string;
276
+ widget: string;
277
+ tableView: boolean;
278
+ data: {
279
+ values: {
280
+ label: string;
281
+ value: string;
282
+ }[];
283
+ url?: undefined;
284
+ headers?: undefined;
285
+ };
286
+ key: string;
287
+ type: string;
288
+ input: boolean;
289
+ dataSrc?: undefined;
290
+ disableLimit?: undefined;
291
+ customClass?: undefined;
292
+ components?: undefined;
293
+ customConditional?: undefined;
516
294
  } | {
295
+ customClass: string;
296
+ key: string;
297
+ type: string;
298
+ label: string;
299
+ input: boolean;
300
+ tableView: boolean;
517
301
  components: {
518
302
  label: string;
519
- labelPosition: string;
520
- placeholder: string;
521
- description: string;
522
- tooltip: string;
523
- customClass: string;
524
- tabindex: string;
525
- hidden: boolean;
526
- hideLabel: boolean;
527
- autofocus: boolean;
528
- disabled: boolean;
529
303
  tableView: boolean;
530
- modalEdit: boolean;
531
- delimeter: string;
532
- maxTags: number;
533
- storeas: string;
534
- persistent: boolean;
535
- protected: boolean;
536
- dbIndex: boolean;
537
- encrypted: boolean;
538
- redrawOn: string;
539
- clearOnHide: boolean;
540
- customDefaultValue: string;
541
- calculateValue: string;
542
- calculateServer: boolean;
543
- allowCalculateOverride: boolean;
544
- validate: {
545
- required: boolean;
546
- customMessage: string;
547
- custom: string;
548
- customPrivate: boolean;
549
- json: string;
550
- strictDateValidation: boolean;
551
- multiple: boolean;
552
- unique: boolean;
553
- };
554
- unique: boolean;
555
- validateOn: string;
556
- errorLabel: string;
557
304
  key: string;
558
- tags: any[];
559
- properties: {};
560
- conditional: {
561
- show: any;
562
- when: any;
563
- eq: string;
564
- json: string;
565
- };
566
305
  customConditional: string;
567
- logic: any[];
568
- attributes: {};
569
- overlay: {
570
- style: string;
571
- page: string;
572
- left: string;
573
- top: string;
574
- width: string;
575
- height: string;
576
- };
577
306
  type: string;
578
307
  input: boolean;
579
- prefix: string;
580
- suffix: string;
581
- multiple: boolean;
582
- refreshOn: string;
583
- widget: {
584
- type: string;
585
- };
586
- showCharCount: boolean;
587
- showWordCount: boolean;
588
- allowMultipleMasks: boolean;
589
- id: string;
590
- hideOnChildrenHidden: boolean;
591
- defaultValue: any;
592
308
  }[];
593
- size: string;
594
- width: number;
595
- offset: number;
596
- push: number;
597
- pull: number;
309
+ widget?: undefined;
310
+ dataSrc?: undefined;
311
+ data?: undefined;
312
+ disableLimit?: undefined;
313
+ customConditional?: undefined;
314
+ } | {
315
+ label: string;
316
+ tableView: boolean;
317
+ key: string;
318
+ customConditional: string;
319
+ type: string;
320
+ input: boolean;
321
+ widget?: undefined;
322
+ dataSrc?: undefined;
323
+ data?: undefined;
324
+ disableLimit?: undefined;
325
+ customClass?: undefined;
326
+ components?: undefined;
598
327
  })[];
599
- autoAdjust: boolean;
600
- hideOnChildrenHidden: boolean;
601
- customClass: string;
602
- hidden: boolean;
603
- hideLabel: boolean;
604
- modalEdit: boolean;
605
- key: string;
606
- tags: any[];
607
- properties: {};
608
- conditional: {
609
- show: any;
610
- when: any;
611
- eq: string;
612
- json: string;
613
- };
614
- customConditional: string;
615
- logic: any[];
616
- attributes: {};
617
- overlay: {
618
- style: string;
619
- page: string;
620
- left: string;
621
- top: string;
622
- width: string;
623
- height: string;
624
- };
328
+ disableOnInvalid?: undefined;
329
+ } | {
625
330
  type: string;
331
+ label: string;
332
+ key: string;
333
+ disableOnInvalid: boolean;
626
334
  input: boolean;
627
335
  tableView: boolean;
628
- placeholder: string;
629
- prefix: string;
630
- suffix: string;
631
- multiple: boolean;
632
- defaultValue: any;
633
- protected: boolean;
634
- unique: boolean;
635
- persistent: boolean;
636
- clearOnHide: boolean;
637
- refreshOn: string;
638
- redrawOn: string;
639
- labelPosition: string;
640
- description: string;
641
- errorLabel: string;
642
- tooltip: string;
643
- tabindex: string;
644
- disabled: boolean;
645
- autofocus: boolean;
646
- dbIndex: boolean;
647
- customDefaultValue: string;
648
- calculateValue: string;
649
- calculateServer: boolean;
650
- widget: any;
651
- validateOn: string;
652
- validate: {
653
- required: boolean;
654
- custom: string;
655
- customPrivate: boolean;
656
- strictDateValidation: boolean;
657
- multiple: boolean;
658
- unique: boolean;
659
- };
660
- allowCalculateOverride: boolean;
661
- encrypted: boolean;
662
- showCharCount: boolean;
663
- showWordCount: boolean;
664
- allowMultipleMasks: boolean;
665
- tree: boolean;
666
- id: string;
667
- }[];
336
+ reorder?: undefined;
337
+ addAnotherPosition?: undefined;
338
+ layoutFixed?: undefined;
339
+ enableRowGroups?: undefined;
340
+ initEmpty?: undefined;
341
+ defaultValue?: undefined;
342
+ components?: undefined;
343
+ })[];
668
344
  placeholder: string;
669
345
  tag?: undefined;
670
346
  content?: undefined;
@@ -12,7 +12,7 @@ export interface InputTextProps<T = any> extends FormControlProps {
12
12
  placeholder?: string;
13
13
  [key: string]: any;
14
14
  }
15
- export declare function InputText<T = any>({ name, value, label, onChange, required, size, type, prefix, suffix, description, className, ...props }: InputTextProps<T>): JSX.Element;
15
+ export declare function InputText<T = any>({ name, value, label, onChange, required, size, type, prefix, suffix, description, className, placeholder, ...props }: InputTextProps<T>): JSX.Element;
16
16
  export declare namespace InputText {
17
17
  var propTypes: {
18
18
  label: PropTypes.Requireable<string>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};