optimized-react-component-library-xyz123 0.1.42 → 0.1.44
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.css +504 -0
- package/dist/index.d.mts +56 -2
- package/dist/index.d.ts +56 -2
- package/dist/index.js +822 -374
- package/dist/index.mjs +820 -373
- package/package.json +4 -2
- package/src/css/darkMode.css +18 -0
package/dist/index.css
CHANGED
|
@@ -333,6 +333,510 @@
|
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
335
|
|
|
336
|
+
/* src/NewInputComponentStandard/AddFilesStandard/AddFilesStandard.css */
|
|
337
|
+
.invisible {
|
|
338
|
+
display: none;
|
|
339
|
+
width: 1px;
|
|
340
|
+
}
|
|
341
|
+
.filePickLabel {
|
|
342
|
+
display: flex;
|
|
343
|
+
align-items: center;
|
|
344
|
+
justify-content: flex-start;
|
|
345
|
+
width: 100%;
|
|
346
|
+
margin: 0;
|
|
347
|
+
padding: 0;
|
|
348
|
+
height: 48px;
|
|
349
|
+
border: 1px solid #747474;
|
|
350
|
+
border-radius: var(--bs-border-radius);
|
|
351
|
+
}
|
|
352
|
+
.filePickLabel:focus {
|
|
353
|
+
border: #000000 2px solid;
|
|
354
|
+
box-shadow: none;
|
|
355
|
+
}
|
|
356
|
+
.filePickLabel .filePickButton {
|
|
357
|
+
cursor: pointer;
|
|
358
|
+
padding: 16px;
|
|
359
|
+
height: 100%;
|
|
360
|
+
background: #747474;
|
|
361
|
+
border-top-left-radius: 4px;
|
|
362
|
+
border-bottom-left-radius: 4px;
|
|
363
|
+
display: flex;
|
|
364
|
+
align-items: center;
|
|
365
|
+
flex-direction: column;
|
|
366
|
+
justify-content: center;
|
|
367
|
+
align-self: stretch;
|
|
368
|
+
color: #ffff;
|
|
369
|
+
font-family: Arial;
|
|
370
|
+
font-size: 16px;
|
|
371
|
+
font-style: normal;
|
|
372
|
+
font-weight: 400;
|
|
373
|
+
line-height: 24px;
|
|
374
|
+
}
|
|
375
|
+
.filePickButton {
|
|
376
|
+
width: auto !important;
|
|
377
|
+
border: none;
|
|
378
|
+
margin-left: 0px !important;
|
|
379
|
+
}
|
|
380
|
+
.filePickButton.error {
|
|
381
|
+
background: #8e0039 !important;
|
|
382
|
+
color: #fff !important;
|
|
383
|
+
}
|
|
384
|
+
@media (max-width: 990px) {
|
|
385
|
+
.filePickLabel .filePickButton {
|
|
386
|
+
font-size: 14px;
|
|
387
|
+
line-height: 14px;
|
|
388
|
+
text-align: center;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
.filePickLabel .filePickText {
|
|
392
|
+
padding-left: 16px;
|
|
393
|
+
color: #000;
|
|
394
|
+
font-family: Arial;
|
|
395
|
+
font-size: 16px;
|
|
396
|
+
font-style: normal;
|
|
397
|
+
font-weight: 400;
|
|
398
|
+
line-height: 24px;
|
|
399
|
+
}
|
|
400
|
+
.inputContainer {
|
|
401
|
+
display: flex;
|
|
402
|
+
align-items: center;
|
|
403
|
+
justify-content: center;
|
|
404
|
+
width: 100%;
|
|
405
|
+
height: 100%;
|
|
406
|
+
}
|
|
407
|
+
@media (max-width: 768px) {
|
|
408
|
+
.inputContainer {
|
|
409
|
+
margin-bottom: 16px;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
.inputContainer button {
|
|
413
|
+
margin: 0;
|
|
414
|
+
padding: 8px 24px;
|
|
415
|
+
margin-left: 16px;
|
|
416
|
+
height: 50px;
|
|
417
|
+
width: 200px;
|
|
418
|
+
}
|
|
419
|
+
.inputContainer input[type=text] {
|
|
420
|
+
font-size: 16px;
|
|
421
|
+
}
|
|
422
|
+
.custom-file-button input[type=file] {
|
|
423
|
+
margin-left: -2px !important;
|
|
424
|
+
}
|
|
425
|
+
.custom-file-button input[type=file]::-webkit-file-upload-button {
|
|
426
|
+
display: none;
|
|
427
|
+
}
|
|
428
|
+
.custom-file-button input[type=file]::file-selector-button {
|
|
429
|
+
display: none;
|
|
430
|
+
}
|
|
431
|
+
.custom-file-button:hover label {
|
|
432
|
+
background-color: #dde0e3;
|
|
433
|
+
cursor: pointer;
|
|
434
|
+
}
|
|
435
|
+
@media (max-width: 768px) {
|
|
436
|
+
.DropZoneContainer {
|
|
437
|
+
display: none;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
.DropZone {
|
|
441
|
+
color: #000;
|
|
442
|
+
margin-top: 20px;
|
|
443
|
+
margin-bottom: 16px;
|
|
444
|
+
font-family: Arial;
|
|
445
|
+
font-size: 20px;
|
|
446
|
+
font-style: normal;
|
|
447
|
+
font-weight: 400;
|
|
448
|
+
line-height: 24px;
|
|
449
|
+
display: inline-flex;
|
|
450
|
+
width: 100%;
|
|
451
|
+
height: 180px;
|
|
452
|
+
position: relative;
|
|
453
|
+
clip-path: inset(0 round 8px 8px 8px 8px);
|
|
454
|
+
background: var(--neutral-350, #f7f7f7);
|
|
455
|
+
align-items: center;
|
|
456
|
+
justify-content: center;
|
|
457
|
+
text-align: center;
|
|
458
|
+
gap: 10px;
|
|
459
|
+
flex-direction: column;
|
|
460
|
+
cursor: pointer;
|
|
461
|
+
}
|
|
462
|
+
.DropZone::before {
|
|
463
|
+
content: "";
|
|
464
|
+
position: absolute;
|
|
465
|
+
left: -7px;
|
|
466
|
+
top: -7px;
|
|
467
|
+
right: -7px;
|
|
468
|
+
bottom: -7px;
|
|
469
|
+
border: 9px dashed rgba(0, 0, 0, 0.6);
|
|
470
|
+
border-radius: 15px 15px 15px 15px;
|
|
471
|
+
box-sizing: border-box;
|
|
472
|
+
}
|
|
473
|
+
.DropZone:hover {
|
|
474
|
+
background: var(--neutral-350, #f7f7f7);
|
|
475
|
+
opacity: 0.9;
|
|
476
|
+
cursor: copy;
|
|
477
|
+
}
|
|
478
|
+
.ClipboardLink {
|
|
479
|
+
display: block;
|
|
480
|
+
position: relative;
|
|
481
|
+
z-index: 2000;
|
|
482
|
+
cursor: pointer;
|
|
483
|
+
font-size: "12px";
|
|
484
|
+
text-decoration: "underline";
|
|
485
|
+
color: black;
|
|
486
|
+
}
|
|
487
|
+
.ClipboardLink:hover {
|
|
488
|
+
cursor: pointer;
|
|
489
|
+
}
|
|
490
|
+
.makeTopSpace {
|
|
491
|
+
margin-top: 12px;
|
|
492
|
+
}
|
|
493
|
+
.UploadedFile {
|
|
494
|
+
margin-top: 24px;
|
|
495
|
+
}
|
|
496
|
+
.uploadFileRow {
|
|
497
|
+
max-width: 555px;
|
|
498
|
+
}
|
|
499
|
+
@media (max-width: 768px) {
|
|
500
|
+
.uploadFileRow {
|
|
501
|
+
margin-left: 0px;
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
.uploadedFileName {
|
|
505
|
+
color: #000000;
|
|
506
|
+
position: relative;
|
|
507
|
+
border: 0px solid red;
|
|
508
|
+
width: 76%;
|
|
509
|
+
top: -21px;
|
|
510
|
+
left: 24px;
|
|
511
|
+
}
|
|
512
|
+
.desktopFileName {
|
|
513
|
+
display: block;
|
|
514
|
+
}
|
|
515
|
+
.mobileFirstFileName {
|
|
516
|
+
display: block;
|
|
517
|
+
}
|
|
518
|
+
.uploadedDot.mobileVersion {
|
|
519
|
+
display: none;
|
|
520
|
+
}
|
|
521
|
+
@media (max-width: 768px) {
|
|
522
|
+
svg.uploadFileIcon {
|
|
523
|
+
display: none;
|
|
524
|
+
}
|
|
525
|
+
.uploadedDot.mobileVersion {
|
|
526
|
+
display: flex;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
.lastCol {
|
|
530
|
+
display: flex;
|
|
531
|
+
justify-content: flex-end;
|
|
532
|
+
max-width: 62px;
|
|
533
|
+
padding: 0;
|
|
534
|
+
margin: 0;
|
|
535
|
+
}
|
|
536
|
+
.fileInListContainer {
|
|
537
|
+
max-width: 624px;
|
|
538
|
+
}
|
|
539
|
+
.fileListUnorderedList {
|
|
540
|
+
list-style: none !important;
|
|
541
|
+
padding: 0;
|
|
542
|
+
margin: 0;
|
|
543
|
+
}
|
|
544
|
+
.fileInList {
|
|
545
|
+
width: 100%;
|
|
546
|
+
}
|
|
547
|
+
.fileInList .row {
|
|
548
|
+
display: flex;
|
|
549
|
+
justify-content: space-between;
|
|
550
|
+
align-items: center;
|
|
551
|
+
max-width: 100% !important;
|
|
552
|
+
border: 0px solid black;
|
|
553
|
+
padding: 0px 0px;
|
|
554
|
+
--bs-gutter-x: 0px !important;
|
|
555
|
+
}
|
|
556
|
+
.fileInList .row .col {
|
|
557
|
+
padding: 0;
|
|
558
|
+
margin: 0;
|
|
559
|
+
}
|
|
560
|
+
.fileInList .row .lastCol {
|
|
561
|
+
display: flex;
|
|
562
|
+
justify-content: flex-end;
|
|
563
|
+
}
|
|
564
|
+
.fileInList .makeSpace {
|
|
565
|
+
border-bottom: 1px solid #747474;
|
|
566
|
+
}
|
|
567
|
+
.fileInfo {
|
|
568
|
+
display: flex;
|
|
569
|
+
flex-direction: column;
|
|
570
|
+
align-items: flex-start;
|
|
571
|
+
gap: 13px;
|
|
572
|
+
}
|
|
573
|
+
.uploadedPercentage {
|
|
574
|
+
font-family: Arial;
|
|
575
|
+
font-size: 13px;
|
|
576
|
+
font-style: normal;
|
|
577
|
+
font-weight: 400;
|
|
578
|
+
line-height: 16px;
|
|
579
|
+
margin-top: 2px;
|
|
580
|
+
}
|
|
581
|
+
@media (max-width: 768px) {
|
|
582
|
+
.uploadedPercentage {
|
|
583
|
+
display: none;
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
.trashCan {
|
|
587
|
+
width: 57px;
|
|
588
|
+
display: flex;
|
|
589
|
+
flex-direction: column;
|
|
590
|
+
flex-shrink: 0;
|
|
591
|
+
justify-content: start;
|
|
592
|
+
align-items: center;
|
|
593
|
+
padding: 0;
|
|
594
|
+
}
|
|
595
|
+
.trashCan a {
|
|
596
|
+
cursor: pointer;
|
|
597
|
+
display: flex;
|
|
598
|
+
flex-direction: column;
|
|
599
|
+
flex-shrink: 0;
|
|
600
|
+
justify-content: center;
|
|
601
|
+
align-items: center;
|
|
602
|
+
padding: 0;
|
|
603
|
+
}
|
|
604
|
+
.trashCan svg {
|
|
605
|
+
width: 24px;
|
|
606
|
+
height: 27px;
|
|
607
|
+
stroke-width: 2px;
|
|
608
|
+
stroke: var(--purple-900-primary, #6e3282);
|
|
609
|
+
}
|
|
610
|
+
.trashCanPositioning {
|
|
611
|
+
display: flex;
|
|
612
|
+
align-items: flex-start;
|
|
613
|
+
justify-content: flex-end;
|
|
614
|
+
gap: 4px;
|
|
615
|
+
flex-shrink: 0;
|
|
616
|
+
padding: 0;
|
|
617
|
+
position: relative;
|
|
618
|
+
border: 0px solid red;
|
|
619
|
+
max-width: 70px;
|
|
620
|
+
top: -6px;
|
|
621
|
+
left: 12px;
|
|
622
|
+
}
|
|
623
|
+
.trashCanText {
|
|
624
|
+
color: #6e3282;
|
|
625
|
+
font-family: Arial;
|
|
626
|
+
font-size: 10px;
|
|
627
|
+
font-style: normal;
|
|
628
|
+
font-weight: 400;
|
|
629
|
+
line-height: normal;
|
|
630
|
+
}
|
|
631
|
+
.removeError {
|
|
632
|
+
width: 57px;
|
|
633
|
+
display: flex;
|
|
634
|
+
flex-direction: column;
|
|
635
|
+
flex-shrink: 0;
|
|
636
|
+
justify-content: start;
|
|
637
|
+
align-items: center;
|
|
638
|
+
padding: 0;
|
|
639
|
+
}
|
|
640
|
+
.removeError svg {
|
|
641
|
+
width: 16px;
|
|
642
|
+
height: 18px;
|
|
643
|
+
stroke-width: 2px;
|
|
644
|
+
stroke: var(--purple-900-primary, #6e3282);
|
|
645
|
+
}
|
|
646
|
+
.removeError a {
|
|
647
|
+
cursor: pointer;
|
|
648
|
+
}
|
|
649
|
+
.uploadedDot {
|
|
650
|
+
border-radius: 17px;
|
|
651
|
+
background: var(--red-green-green, #008e55);
|
|
652
|
+
display: flex;
|
|
653
|
+
width: 16px;
|
|
654
|
+
height: 16px;
|
|
655
|
+
padding: 10px;
|
|
656
|
+
flex-direction: column;
|
|
657
|
+
justify-content: center;
|
|
658
|
+
align-items: center;
|
|
659
|
+
gap: 10px;
|
|
660
|
+
flex-shrink: 0;
|
|
661
|
+
}
|
|
662
|
+
.uploadedDot.uploadFailed {
|
|
663
|
+
background: var(--red-green-red, #8e0039);
|
|
664
|
+
color: var(--neutral-300, #fff);
|
|
665
|
+
font-family: Arial;
|
|
666
|
+
font-size: 13px;
|
|
667
|
+
font-style: normal;
|
|
668
|
+
font-weight: 700;
|
|
669
|
+
line-height: 16px;
|
|
670
|
+
}
|
|
671
|
+
.uploadedDot svg {
|
|
672
|
+
stroke-width: 1.5px;
|
|
673
|
+
stroke: var(--neutral-300, #fff);
|
|
674
|
+
flex-shrink: 0;
|
|
675
|
+
}
|
|
676
|
+
.uploadStatus {
|
|
677
|
+
display: flex;
|
|
678
|
+
align-items: flex-start;
|
|
679
|
+
justify-content: flex-end;
|
|
680
|
+
gap: 8px;
|
|
681
|
+
flex-shrink: 0;
|
|
682
|
+
padding: 0;
|
|
683
|
+
position: relative;
|
|
684
|
+
border: 0px solid red;
|
|
685
|
+
max-width: 70px;
|
|
686
|
+
top: 0;
|
|
687
|
+
right: 0;
|
|
688
|
+
}
|
|
689
|
+
@media (max-width: 768px) {
|
|
690
|
+
.uploadStatus {
|
|
691
|
+
display: none;
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
.uploadFileIcon {
|
|
695
|
+
display: flex;
|
|
696
|
+
align-items: flex-start;
|
|
697
|
+
justify-content: flex-end;
|
|
698
|
+
gap: 8px;
|
|
699
|
+
flex-shrink: 0;
|
|
700
|
+
padding: 0;
|
|
701
|
+
position: relative;
|
|
702
|
+
border: 0px solid red;
|
|
703
|
+
max-width: 70px;
|
|
704
|
+
top: 0;
|
|
705
|
+
left: 0;
|
|
706
|
+
}
|
|
707
|
+
.uploadFileName {
|
|
708
|
+
display: flex;
|
|
709
|
+
align-items: normal;
|
|
710
|
+
justify-content: flex-start;
|
|
711
|
+
gap: 8px;
|
|
712
|
+
flex-shrink: 0;
|
|
713
|
+
padding: 0;
|
|
714
|
+
color: #000;
|
|
715
|
+
font-family: Arial;
|
|
716
|
+
font-size: 16px;
|
|
717
|
+
font-style: normal;
|
|
718
|
+
font-weight: 400;
|
|
719
|
+
line-height: 24px;
|
|
720
|
+
}
|
|
721
|
+
.uploadFileName.uploadFailed {
|
|
722
|
+
color: var(--red-green-red, #8e0039);
|
|
723
|
+
}
|
|
724
|
+
.errorMessageAddingFile {
|
|
725
|
+
color: var(--red-green-red, #8e0039);
|
|
726
|
+
font-family: Arial;
|
|
727
|
+
font-size: 13px;
|
|
728
|
+
font-style: normal;
|
|
729
|
+
font-weight: 400;
|
|
730
|
+
line-height: 16px;
|
|
731
|
+
}
|
|
732
|
+
@media (max-width: 768px) {
|
|
733
|
+
.errorMessageAddingFile {
|
|
734
|
+
margin-left: 12px;
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
.selectedFilesLinkButton {
|
|
738
|
+
display: flex;
|
|
739
|
+
align-items: center;
|
|
740
|
+
padding-bottom: 16px;
|
|
741
|
+
padding-left: 0;
|
|
742
|
+
gap: 8px;
|
|
743
|
+
flex-shrink: 0;
|
|
744
|
+
stroke-width: 2px;
|
|
745
|
+
stroke: var(--purple-900-primary, #6e3282);
|
|
746
|
+
color: var(--purple-900-primary, #6e3282);
|
|
747
|
+
font-family: Arial;
|
|
748
|
+
font-size: 16px;
|
|
749
|
+
font-style: normal;
|
|
750
|
+
font-weight: 400;
|
|
751
|
+
line-height: 24px;
|
|
752
|
+
text-decoration: none;
|
|
753
|
+
cursor: pointer;
|
|
754
|
+
background-color: transparent;
|
|
755
|
+
border: 0px;
|
|
756
|
+
}
|
|
757
|
+
.selectedFilesLinkButton:hover {
|
|
758
|
+
color: var(--purple-900-primary, #6e3282);
|
|
759
|
+
text-decoration: underline;
|
|
760
|
+
}
|
|
761
|
+
.uploadFileRow_x {
|
|
762
|
+
max-width: 630px;
|
|
763
|
+
}
|
|
764
|
+
.uploadIndicator {
|
|
765
|
+
height: 6px;
|
|
766
|
+
flex-shrink: 0;
|
|
767
|
+
margin-top: 0px;
|
|
768
|
+
border-radius: 8px 8px 8px 8px;
|
|
769
|
+
}
|
|
770
|
+
@media (max-width: 768px) {
|
|
771
|
+
.uploadIndicator {
|
|
772
|
+
display: none;
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
.uploadIndicator.uploadDone {
|
|
776
|
+
width: 100%;
|
|
777
|
+
background: var(--red-green-green, #008e55);
|
|
778
|
+
}
|
|
779
|
+
.uploadIndicator.uploadFailed {
|
|
780
|
+
width: 10%;
|
|
781
|
+
background: var(--red-green-red, #8e0039);
|
|
782
|
+
}
|
|
783
|
+
.uploadIndicator.uploadLoading {
|
|
784
|
+
width: 50%;
|
|
785
|
+
background: var(--red-green-red, rgb(211, 165, 0));
|
|
786
|
+
}
|
|
787
|
+
.UploadedFile .divider {
|
|
788
|
+
border: 1px solid #747474;
|
|
789
|
+
margin-top: 24px;
|
|
790
|
+
}
|
|
791
|
+
@media (max-width: 768px) {
|
|
792
|
+
.UploadedFile .divider {
|
|
793
|
+
margin-top: 0px;
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
.ClipboardFiles {
|
|
797
|
+
display: flex;
|
|
798
|
+
flex-direction: column;
|
|
799
|
+
align-items: center;
|
|
800
|
+
gap: 16px;
|
|
801
|
+
padding: 16px;
|
|
802
|
+
margin-top: 32px;
|
|
803
|
+
background-color: #222;
|
|
804
|
+
animation-name: color;
|
|
805
|
+
animation-duration: 1s;
|
|
806
|
+
animation-iteration-count: infinite;
|
|
807
|
+
border-radius: 8px;
|
|
808
|
+
cursor: pointer;
|
|
809
|
+
}
|
|
810
|
+
.ClipboardFiles.clicked {
|
|
811
|
+
background-color: #ccc;
|
|
812
|
+
animation-name: none;
|
|
813
|
+
cursor: copy;
|
|
814
|
+
}
|
|
815
|
+
@keyframes color {
|
|
816
|
+
0% {
|
|
817
|
+
background-color: #ddd;
|
|
818
|
+
}
|
|
819
|
+
25% {
|
|
820
|
+
background-color: #ccc;
|
|
821
|
+
}
|
|
822
|
+
50% {
|
|
823
|
+
background-color: #bbb;
|
|
824
|
+
}
|
|
825
|
+
75% {
|
|
826
|
+
background-color: #ccc;
|
|
827
|
+
}
|
|
828
|
+
100% {
|
|
829
|
+
background-color: #ddd;
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
.addFilesMandatory {
|
|
833
|
+
margin-bottom: 16px;
|
|
834
|
+
}
|
|
835
|
+
.addFilesMandatory.error {
|
|
836
|
+
display: inline;
|
|
837
|
+
margin-bottom: 0px;
|
|
838
|
+
}
|
|
839
|
+
|
|
336
840
|
/* src/NewTextComponentStandard/EditPreviewLinkStandard/EditPreviewLinkStandard.css */
|
|
337
841
|
|
|
338
842
|
/* src/NewTextComponentStandard/FooterStandard/FooterStandard.css */
|
package/dist/index.d.mts
CHANGED
|
@@ -163,6 +163,60 @@ interface FilesUploadStandardProps {
|
|
|
163
163
|
|
|
164
164
|
declare const FilesUpload: React.FC<FilesUploadStandardProps>;
|
|
165
165
|
|
|
166
|
+
interface IQuestionObjectStandard {
|
|
167
|
+
Id?: number;
|
|
168
|
+
Order?: number;
|
|
169
|
+
Step?: number;
|
|
170
|
+
Category?: string;
|
|
171
|
+
CategoryOrder?: number;
|
|
172
|
+
CategoryDescription?: string;
|
|
173
|
+
CategoryMandatory?: boolean;
|
|
174
|
+
QuestionPreviewLabel?: string;
|
|
175
|
+
GroupId?: number;
|
|
176
|
+
Question?: string;
|
|
177
|
+
Answer?: string;
|
|
178
|
+
PlaceholderText?: string;
|
|
179
|
+
About?: string;
|
|
180
|
+
Mandatory?: boolean;
|
|
181
|
+
Dependent?: boolean;
|
|
182
|
+
DependentOnOrder?: number;
|
|
183
|
+
QuestionType?: string;
|
|
184
|
+
InputName?: string;
|
|
185
|
+
Options?: Array<any>;
|
|
186
|
+
isTouched?: boolean;
|
|
187
|
+
error?: boolean;
|
|
188
|
+
errorType?: Array<string>;
|
|
189
|
+
errorSpecificMessage?: string;
|
|
190
|
+
Files?: Array<any>;
|
|
191
|
+
MoreFields?: Array<string>;
|
|
192
|
+
questionArray?: Array<any>;
|
|
193
|
+
answerColumnArray?: Array<any>;
|
|
194
|
+
languageSupport?: Array<{}>;
|
|
195
|
+
Width?: string;
|
|
196
|
+
InputSize?: string;
|
|
197
|
+
CheckboxOrder?: number;
|
|
198
|
+
Details?: string;
|
|
199
|
+
Info?: string;
|
|
200
|
+
MaxLength?: number;
|
|
201
|
+
HideQuestion?: boolean;
|
|
202
|
+
inputType?: string;
|
|
203
|
+
autoComplete?: string;
|
|
204
|
+
HideMaxLength?: boolean;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
interface AddFilesProps {
|
|
208
|
+
questionObject: IQuestionObjectStandard;
|
|
209
|
+
isTouched: any;
|
|
210
|
+
visible?: boolean;
|
|
211
|
+
showPreview?: boolean;
|
|
212
|
+
activatedLanguage?: string;
|
|
213
|
+
allowedFileTypes?: Array<string>;
|
|
214
|
+
allowedNumberOfFiles?: number;
|
|
215
|
+
allowedTotalFileSize?: number;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
declare const AddFiles: FC<AddFilesProps>;
|
|
219
|
+
|
|
166
220
|
declare const questionHasValidationError: (questionObject: any, arrayOfQuestionObjects: any[]) => boolean;
|
|
167
221
|
|
|
168
222
|
interface TranslatedAnswers {
|
|
@@ -209,7 +263,7 @@ declare const RenderQuestion: ({ question, isTouched, activatedLanguage, showPre
|
|
|
209
263
|
declare const RenderQuestionGroup: ({ questionArray, wrapper, legend, isTouched, activatedLanguage, showPreview, AddQuestionDisplayed, hideValidationMessage, }: any) => react_jsx_runtime.JSX.Element;
|
|
210
264
|
|
|
211
265
|
interface EditPreviewLinkProps {
|
|
212
|
-
step:
|
|
266
|
+
step: number;
|
|
213
267
|
changeStepHandler: any;
|
|
214
268
|
activatedLanguage?: string;
|
|
215
269
|
}
|
|
@@ -310,4 +364,4 @@ interface CookieBannerProps {
|
|
|
310
364
|
|
|
311
365
|
declare const CookieBanner: React.FC<CookieBannerProps>;
|
|
312
366
|
|
|
313
|
-
export { CookieBanner, CreateApiDataObject, doCategoriesAndQuestionsVisible as DoCategoriesAndQuestionsVisible, EditPreviewLink as EditPreviewLinkStandard, FilesUpload as FilesUploadStandard, Footer as FooterStandard, groupQuestionByStepPreviewPage as GroupQuestionByStepPreviewPage, groupQuestionsByStepCategoryGroup as GroupQuestionsByStepCategoryGroup, Header as HeaderStandard, type IApplicationContent, type IFormState, type ILanguage, type ILanguageSupport, ILanguageSupportinitialState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InfoOnly as InfoOnlyStandard, isDependsOnOtherQuestionTrue as IsDependsOnOtherQuestionTrue, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, PrincipleOfPublicity as PrincipleOfPublicityStandard, questionHasValidationError as QuestionHasValidationError, QuestioninitialState, InputRadio as RadioMultipleStandard, RenderQuestion, RenderQuestionGroup, ServiceHeadlineAndBody as ServiceHeadlineAndBodyStandard, SkipLink as SkipLinkStandard, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextFieldStandard, TextHeadlineAndBody as TextHeadlineAndBodyStandard, validationCheckAllVisibleQuestions as ValidationCheckAllVisibleQuestion, ValidationErrorSummaryList };
|
|
367
|
+
export { AddFiles as AddFilesStandard, CookieBanner, CreateApiDataObject, doCategoriesAndQuestionsVisible as DoCategoriesAndQuestionsVisible, EditPreviewLink as EditPreviewLinkStandard, FilesUpload as FilesUploadStandard, Footer as FooterStandard, groupQuestionByStepPreviewPage as GroupQuestionByStepPreviewPage, groupQuestionsByStepCategoryGroup as GroupQuestionsByStepCategoryGroup, Header as HeaderStandard, type IApplicationContent, type IFormState, type ILanguage, type ILanguageSupport, ILanguageSupportinitialState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InfoOnly as InfoOnlyStandard, isDependsOnOtherQuestionTrue as IsDependsOnOtherQuestionTrue, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, PrincipleOfPublicity as PrincipleOfPublicityStandard, questionHasValidationError as QuestionHasValidationError, QuestioninitialState, InputRadio as RadioMultipleStandard, RenderQuestion, RenderQuestionGroup, ServiceHeadlineAndBody as ServiceHeadlineAndBodyStandard, SkipLink as SkipLinkStandard, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextFieldStandard, TextHeadlineAndBody as TextHeadlineAndBodyStandard, validationCheckAllVisibleQuestions as ValidationCheckAllVisibleQuestion, ValidationErrorSummaryList };
|
package/dist/index.d.ts
CHANGED
|
@@ -163,6 +163,60 @@ interface FilesUploadStandardProps {
|
|
|
163
163
|
|
|
164
164
|
declare const FilesUpload: React.FC<FilesUploadStandardProps>;
|
|
165
165
|
|
|
166
|
+
interface IQuestionObjectStandard {
|
|
167
|
+
Id?: number;
|
|
168
|
+
Order?: number;
|
|
169
|
+
Step?: number;
|
|
170
|
+
Category?: string;
|
|
171
|
+
CategoryOrder?: number;
|
|
172
|
+
CategoryDescription?: string;
|
|
173
|
+
CategoryMandatory?: boolean;
|
|
174
|
+
QuestionPreviewLabel?: string;
|
|
175
|
+
GroupId?: number;
|
|
176
|
+
Question?: string;
|
|
177
|
+
Answer?: string;
|
|
178
|
+
PlaceholderText?: string;
|
|
179
|
+
About?: string;
|
|
180
|
+
Mandatory?: boolean;
|
|
181
|
+
Dependent?: boolean;
|
|
182
|
+
DependentOnOrder?: number;
|
|
183
|
+
QuestionType?: string;
|
|
184
|
+
InputName?: string;
|
|
185
|
+
Options?: Array<any>;
|
|
186
|
+
isTouched?: boolean;
|
|
187
|
+
error?: boolean;
|
|
188
|
+
errorType?: Array<string>;
|
|
189
|
+
errorSpecificMessage?: string;
|
|
190
|
+
Files?: Array<any>;
|
|
191
|
+
MoreFields?: Array<string>;
|
|
192
|
+
questionArray?: Array<any>;
|
|
193
|
+
answerColumnArray?: Array<any>;
|
|
194
|
+
languageSupport?: Array<{}>;
|
|
195
|
+
Width?: string;
|
|
196
|
+
InputSize?: string;
|
|
197
|
+
CheckboxOrder?: number;
|
|
198
|
+
Details?: string;
|
|
199
|
+
Info?: string;
|
|
200
|
+
MaxLength?: number;
|
|
201
|
+
HideQuestion?: boolean;
|
|
202
|
+
inputType?: string;
|
|
203
|
+
autoComplete?: string;
|
|
204
|
+
HideMaxLength?: boolean;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
interface AddFilesProps {
|
|
208
|
+
questionObject: IQuestionObjectStandard;
|
|
209
|
+
isTouched: any;
|
|
210
|
+
visible?: boolean;
|
|
211
|
+
showPreview?: boolean;
|
|
212
|
+
activatedLanguage?: string;
|
|
213
|
+
allowedFileTypes?: Array<string>;
|
|
214
|
+
allowedNumberOfFiles?: number;
|
|
215
|
+
allowedTotalFileSize?: number;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
declare const AddFiles: FC<AddFilesProps>;
|
|
219
|
+
|
|
166
220
|
declare const questionHasValidationError: (questionObject: any, arrayOfQuestionObjects: any[]) => boolean;
|
|
167
221
|
|
|
168
222
|
interface TranslatedAnswers {
|
|
@@ -209,7 +263,7 @@ declare const RenderQuestion: ({ question, isTouched, activatedLanguage, showPre
|
|
|
209
263
|
declare const RenderQuestionGroup: ({ questionArray, wrapper, legend, isTouched, activatedLanguage, showPreview, AddQuestionDisplayed, hideValidationMessage, }: any) => react_jsx_runtime.JSX.Element;
|
|
210
264
|
|
|
211
265
|
interface EditPreviewLinkProps {
|
|
212
|
-
step:
|
|
266
|
+
step: number;
|
|
213
267
|
changeStepHandler: any;
|
|
214
268
|
activatedLanguage?: string;
|
|
215
269
|
}
|
|
@@ -310,4 +364,4 @@ interface CookieBannerProps {
|
|
|
310
364
|
|
|
311
365
|
declare const CookieBanner: React.FC<CookieBannerProps>;
|
|
312
366
|
|
|
313
|
-
export { CookieBanner, CreateApiDataObject, doCategoriesAndQuestionsVisible as DoCategoriesAndQuestionsVisible, EditPreviewLink as EditPreviewLinkStandard, FilesUpload as FilesUploadStandard, Footer as FooterStandard, groupQuestionByStepPreviewPage as GroupQuestionByStepPreviewPage, groupQuestionsByStepCategoryGroup as GroupQuestionsByStepCategoryGroup, Header as HeaderStandard, type IApplicationContent, type IFormState, type ILanguage, type ILanguageSupport, ILanguageSupportinitialState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InfoOnly as InfoOnlyStandard, isDependsOnOtherQuestionTrue as IsDependsOnOtherQuestionTrue, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, PrincipleOfPublicity as PrincipleOfPublicityStandard, questionHasValidationError as QuestionHasValidationError, QuestioninitialState, InputRadio as RadioMultipleStandard, RenderQuestion, RenderQuestionGroup, ServiceHeadlineAndBody as ServiceHeadlineAndBodyStandard, SkipLink as SkipLinkStandard, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextFieldStandard, TextHeadlineAndBody as TextHeadlineAndBodyStandard, validationCheckAllVisibleQuestions as ValidationCheckAllVisibleQuestion, ValidationErrorSummaryList };
|
|
367
|
+
export { AddFiles as AddFilesStandard, CookieBanner, CreateApiDataObject, doCategoriesAndQuestionsVisible as DoCategoriesAndQuestionsVisible, EditPreviewLink as EditPreviewLinkStandard, FilesUpload as FilesUploadStandard, Footer as FooterStandard, groupQuestionByStepPreviewPage as GroupQuestionByStepPreviewPage, groupQuestionsByStepCategoryGroup as GroupQuestionsByStepCategoryGroup, Header as HeaderStandard, type IApplicationContent, type IFormState, type ILanguage, type ILanguageSupport, ILanguageSupportinitialState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InfoOnly as InfoOnlyStandard, isDependsOnOtherQuestionTrue as IsDependsOnOtherQuestionTrue, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, PrincipleOfPublicity as PrincipleOfPublicityStandard, questionHasValidationError as QuestionHasValidationError, QuestioninitialState, InputRadio as RadioMultipleStandard, RenderQuestion, RenderQuestionGroup, ServiceHeadlineAndBody as ServiceHeadlineAndBodyStandard, SkipLink as SkipLinkStandard, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextFieldStandard, TextHeadlineAndBody as TextHeadlineAndBodyStandard, validationCheckAllVisibleQuestions as ValidationCheckAllVisibleQuestion, ValidationErrorSummaryList };
|