@rangertechnologies/ngnxt 2.1.211 → 2.1.212

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.
@@ -8,6 +8,15 @@ export declare class PropertiesComponent implements OnInit {
8
8
  private http;
9
9
  private formBuilderService;
10
10
  private templateService;
11
+ createElementConfig(config?: {
12
+ customElementProps?: any[];
13
+ customFieldProps?: any[];
14
+ customAppearanceProps?: any[];
15
+ }): {
16
+ elementProps: any[];
17
+ fieldProps: any[];
18
+ appearance: any[];
19
+ };
11
20
  formButtonHandler: EventEmitter<any>;
12
21
  templateSaveHandler: EventEmitter<any>;
13
22
  selectedOption: string;
@@ -58,121 +67,6 @@ export declare class PropertiesComponent implements OnInit {
58
67
  key: string;
59
68
  }[];
60
69
  };
61
- Text: {
62
- elementProps: ({
63
- label: string;
64
- placeholder: string;
65
- type: string;
66
- key: string;
67
- } | {
68
- key: string;
69
- label?: undefined;
70
- placeholder?: undefined;
71
- type?: undefined;
72
- } | {
73
- label: string;
74
- type: string;
75
- key: string;
76
- placeholder?: undefined;
77
- })[];
78
- fieldProps: ({
79
- label: string;
80
- type: string;
81
- key: string;
82
- placeholder?: undefined;
83
- subQuestion?: undefined;
84
- } | {
85
- label: string;
86
- placeholder: string;
87
- type: string;
88
- key: string;
89
- subQuestion?: undefined;
90
- } | {
91
- label: string;
92
- placeholder: string;
93
- type: string;
94
- key: string;
95
- subQuestion: {
96
- label: string;
97
- placeholder: string;
98
- type: string;
99
- key: string;
100
- }[];
101
- })[];
102
- appearance: ({
103
- label: string;
104
- type: string;
105
- key: string;
106
- placeholder: string;
107
- required: boolean;
108
- options: string[];
109
- defaultValue?: undefined;
110
- } | {
111
- label: string;
112
- type: string;
113
- key: string;
114
- defaultValue: string;
115
- required: boolean;
116
- placeholder?: undefined;
117
- options?: undefined;
118
- } | {
119
- label: string;
120
- type: string;
121
- key: string;
122
- defaultValue: string;
123
- required: boolean;
124
- options: {
125
- label: string;
126
- value: string;
127
- }[];
128
- placeholder?: undefined;
129
- } | {
130
- label: string;
131
- type: string;
132
- key: string;
133
- defaultValue: boolean;
134
- placeholder?: undefined;
135
- required?: undefined;
136
- options?: undefined;
137
- })[];
138
- };
139
- Book: {
140
- elementProps: ({
141
- label: string;
142
- placeholder: string;
143
- type: string;
144
- key: string;
145
- } | {
146
- key: string;
147
- label?: undefined;
148
- placeholder?: undefined;
149
- type?: undefined;
150
- } | {
151
- label: string;
152
- type: string;
153
- key: string;
154
- placeholder?: undefined;
155
- })[];
156
- fieldProps: ({
157
- label: string;
158
- placeholder: string;
159
- type: string;
160
- key: string;
161
- subQuestion?: undefined;
162
- } | {
163
- label: string;
164
- placeholder: string;
165
- type: string;
166
- key: string;
167
- subQuestion: {
168
- label: string;
169
- placeholder: string;
170
- type: string;
171
- key: string;
172
- }[];
173
- })[];
174
- appearance: any[];
175
- };
176
70
  Line: {
177
71
  elementProps: ({
178
72
  label: string;
@@ -203,44 +97,7 @@ export declare class PropertiesComponent implements OnInit {
203
97
  }[];
204
98
  fieldProps: any[];
205
99
  };
206
- Boolean: {
207
- elementProps: ({
208
- label: string;
209
- placeholder: string;
210
- type: string;
211
- key: string;
212
- } | {
213
- label: string;
214
- type: string;
215
- key: string;
216
- placeholder?: undefined;
217
- })[];
218
- fieldProps: ({
219
- label: string;
220
- type: string;
221
- key: string;
222
- placeholder?: undefined;
223
- subQuestion?: undefined;
224
- } | {
225
- label: string;
226
- placeholder: string;
227
- type: string;
228
- key: string;
229
- subQuestion?: undefined;
230
- } | {
231
- label: string;
232
- placeholder: string;
233
- type: string;
234
- key: string;
235
- subQuestion: {
236
- label: string;
237
- placeholder: string;
238
- type: string;
239
- key: string;
240
- }[];
241
- })[];
242
- };
243
- Checkbox: {
100
+ Table: {
244
101
  elementProps: ({
245
102
  label: string;
246
103
  placeholder: string;
@@ -258,28 +115,10 @@ export declare class PropertiesComponent implements OnInit {
258
115
  placeholder?: undefined;
259
116
  })[];
260
117
  fieldProps: ({
261
- label: string;
262
- type: string;
263
- key: string;
264
- placeholder?: undefined;
265
- addOptionLabel?: undefined;
266
- icon?: undefined;
267
- subQuestion?: undefined;
268
- } | {
269
118
  label: string;
270
119
  placeholder: string;
271
120
  type: string;
272
121
  key: string;
273
- addOptionLabel?: undefined;
274
- icon?: undefined;
275
- subQuestion?: undefined;
276
- } | {
277
- label: string;
278
- type: string;
279
- key: string;
280
- addOptionLabel: string;
281
- icon: string;
282
- placeholder?: undefined;
283
122
  subQuestion?: undefined;
284
123
  } | {
285
124
  label: string;
@@ -292,8 +131,6 @@ export declare class PropertiesComponent implements OnInit {
292
131
  type: string;
293
132
  key: string;
294
133
  }[];
295
- addOptionLabel?: undefined;
296
- icon?: undefined;
297
134
  })[];
298
135
  appearance: ({
299
136
  label: string;
@@ -332,47 +169,45 @@ export declare class PropertiesComponent implements OnInit {
332
169
  options?: undefined;
333
170
  })[];
334
171
  };
335
- Calendar: {
172
+ TableColumn: {
336
173
  elementProps: ({
337
174
  label: string;
338
175
  placeholder: string;
339
176
  type: string;
177
+ targetArray: string;
178
+ targetArrayKey: string;
340
179
  key: string;
180
+ subQuestion?: undefined;
341
181
  } | {
342
- key: string;
343
- label?: undefined;
344
- placeholder?: undefined;
345
- type?: undefined;
346
- } | {
347
- label: string;
348
- type: string;
349
- key: string;
350
- placeholder?: undefined;
351
- })[];
352
- fieldProps: ({
353
182
  label: string;
183
+ placeholder: string;
354
184
  type: string;
185
+ targetArray: string;
186
+ targetArrayKey: string;
355
187
  key: string;
356
- placeholder?: undefined;
357
- subQuestion?: undefined;
188
+ subQuestion: {
189
+ label: string;
190
+ placeholder: string;
191
+ type: string;
192
+ targetArray: string;
193
+ targetArrayKey: string;
194
+ key: string;
195
+ }[];
358
196
  } | {
359
197
  label: string;
360
198
  placeholder: string;
361
199
  type: string;
362
200
  key: string;
201
+ targetArray?: undefined;
202
+ targetArrayKey?: undefined;
363
203
  subQuestion?: undefined;
364
- } | {
204
+ })[];
205
+ fieldProps: {
365
206
  label: string;
366
207
  placeholder: string;
367
208
  type: string;
368
209
  key: string;
369
- subQuestion: {
370
- label: string;
371
- placeholder: string;
372
- type: string;
373
- key: string;
374
- }[];
375
- })[];
210
+ }[];
376
211
  appearance: ({
377
212
  label: string;
378
213
  type: string;
@@ -410,1220 +245,95 @@ export declare class PropertiesComponent implements OnInit {
410
245
  options?: undefined;
411
246
  })[];
412
247
  };
248
+ Checkbox: {
249
+ elementProps: any[];
250
+ fieldProps: any[];
251
+ appearance: any[];
252
+ };
253
+ Dropdown: {
254
+ elementProps: any[];
255
+ fieldProps: any[];
256
+ appearance: any[];
257
+ };
258
+ Radio: {
259
+ elementProps: any[];
260
+ fieldProps: any[];
261
+ appearance: any[];
262
+ };
263
+ Text: {
264
+ elementProps: any[];
265
+ fieldProps: any[];
266
+ appearance: any[];
267
+ };
268
+ Calendar: {
269
+ elementProps: any[];
270
+ fieldProps: any[];
271
+ appearance: any[];
272
+ };
413
273
  Date: {
414
- elementProps: ({
415
- label: string;
416
- placeholder: string;
417
- type: string;
418
- key: string;
419
- } | {
420
- key: string;
421
- label?: undefined;
422
- placeholder?: undefined;
423
- type?: undefined;
424
- } | {
425
- label: string;
426
- type: string;
427
- key: string;
428
- placeholder?: undefined;
429
- })[];
430
- fieldProps: ({
431
- label: string;
432
- type: string;
433
- key: string;
434
- placeholder?: undefined;
435
- subQuestion?: undefined;
436
- } | {
437
- label: string;
438
- placeholder: string;
439
- type: string;
440
- key: string;
441
- subQuestion?: undefined;
442
- } | {
443
- label: string;
444
- placeholder: string;
445
- type: string;
446
- key: string;
447
- subQuestion: {
448
- label: string;
449
- placeholder: string;
450
- type: string;
451
- key: string;
452
- }[];
453
- })[];
454
- appearance: ({
455
- label: string;
456
- type: string;
457
- key: string;
458
- placeholder: string;
459
- required: boolean;
460
- options: string[];
461
- defaultValue?: undefined;
462
- } | {
463
- label: string;
464
- type: string;
465
- key: string;
466
- defaultValue: string;
467
- required: boolean;
468
- placeholder?: undefined;
469
- options?: undefined;
470
- } | {
471
- label: string;
472
- type: string;
473
- key: string;
474
- defaultValue: string;
475
- required: boolean;
476
- options: {
477
- label: string;
478
- value: string;
479
- }[];
480
- placeholder?: undefined;
481
- } | {
482
- label: string;
483
- type: string;
484
- key: string;
485
- defaultValue: boolean;
486
- placeholder?: undefined;
487
- required?: undefined;
488
- options?: undefined;
489
- })[];
274
+ elementProps: any[];
275
+ fieldProps: any[];
276
+ appearance: any[];
490
277
  };
491
278
  Time: {
492
- elementProps: ({
493
- label: string;
494
- placeholder: string;
495
- type: string;
496
- key: string;
497
- } | {
498
- key: string;
499
- label?: undefined;
500
- placeholder?: undefined;
501
- type?: undefined;
502
- } | {
503
- label: string;
504
- type: string;
505
- key: string;
506
- placeholder?: undefined;
507
- })[];
508
- fieldProps: ({
509
- label: string;
510
- type: string;
511
- key: string;
512
- placeholder?: undefined;
513
- subQuestion?: undefined;
514
- } | {
515
- label: string;
516
- placeholder: string;
517
- type: string;
518
- key: string;
519
- subQuestion?: undefined;
520
- } | {
521
- label: string;
522
- placeholder: string;
523
- type: string;
524
- key: string;
525
- subQuestion: {
526
- label: string;
527
- placeholder: string;
528
- type: string;
529
- key: string;
530
- }[];
531
- })[];
532
- appearance: ({
533
- label: string;
534
- type: string;
535
- key: string;
536
- placeholder: string;
537
- options: string[];
538
- defaultValue?: undefined;
539
- } | {
540
- label: string;
541
- type: string;
542
- key: string;
543
- defaultValue: string;
544
- placeholder?: undefined;
545
- options?: undefined;
546
- } | {
547
- label: string;
548
- type: string;
549
- key: string;
550
- options: {
551
- label: string;
552
- value: string;
553
- }[];
554
- placeholder?: undefined;
555
- defaultValue?: undefined;
556
- } | {
557
- label: string;
558
- type: string;
559
- key: string;
560
- defaultValue: boolean;
561
- placeholder?: undefined;
562
- options?: undefined;
563
- })[];
279
+ elementProps: any[];
280
+ fieldProps: any[];
281
+ appearance: any[];
564
282
  };
565
283
  DateTime: {
566
- elementProps: ({
567
- label: string;
568
- placeholder: string;
569
- type: string;
570
- key: string;
571
- } | {
572
- key: string;
573
- label?: undefined;
574
- placeholder?: undefined;
575
- type?: undefined;
576
- } | {
577
- label: string;
578
- type: string;
579
- key: string;
580
- placeholder?: undefined;
581
- })[];
582
- fieldProps: ({
583
- label: string;
584
- type: string;
585
- key: string;
586
- placeholder?: undefined;
587
- subQuestion?: undefined;
588
- } | {
589
- label: string;
590
- placeholder: string;
591
- type: string;
592
- key: string;
593
- subQuestion?: undefined;
594
- } | {
595
- label: string;
596
- placeholder: string;
597
- type: string;
598
- key: string;
599
- subQuestion: {
600
- label: string;
601
- placeholder: string;
602
- type: string;
603
- key: string;
604
- }[];
605
- })[];
606
- appearance: ({
607
- label: string;
608
- type: string;
609
- key: string;
610
- placeholder: string;
611
- required: boolean;
612
- options: string[];
613
- defaultValue?: undefined;
614
- } | {
615
- label: string;
616
- type: string;
617
- key: string;
618
- defaultValue: string;
619
- required: boolean;
620
- placeholder?: undefined;
621
- options?: undefined;
622
- } | {
623
- label: string;
624
- type: string;
625
- key: string;
626
- defaultValue: string;
627
- required: boolean;
628
- options: {
629
- label: string;
630
- value: string;
631
- }[];
632
- placeholder?: undefined;
633
- } | {
634
- label: string;
635
- type: string;
636
- key: string;
637
- defaultValue: boolean;
638
- placeholder?: undefined;
639
- required?: undefined;
640
- options?: undefined;
641
- })[];
284
+ elementProps: any[];
285
+ fieldProps: any[];
286
+ appearance: any[];
642
287
  };
643
288
  Email: {
644
- elementProps: ({
645
- label: string;
646
- placeholder: string;
647
- type: string;
648
- key: string;
649
- } | {
650
- key: string;
651
- label?: undefined;
652
- placeholder?: undefined;
653
- type?: undefined;
654
- } | {
655
- label: string;
656
- type: string;
657
- key: string;
658
- placeholder?: undefined;
659
- })[];
660
- fieldProps: ({
661
- label: string;
662
- type: string;
663
- key: string;
664
- placeholder?: undefined;
665
- subQuestion?: undefined;
666
- } | {
667
- label: string;
668
- placeholder: string;
669
- type: string;
670
- key: string;
671
- subQuestion?: undefined;
672
- } | {
673
- label: string;
674
- placeholder: string;
675
- type: string;
676
- key: string;
677
- subQuestion: {
678
- label: string;
679
- placeholder: string;
680
- type: string;
681
- key: string;
682
- }[];
683
- })[];
684
- appearance: ({
685
- label: string;
686
- type: string;
687
- key: string;
688
- placeholder: string;
689
- required: boolean;
690
- options: string[];
691
- defaultValue?: undefined;
692
- } | {
693
- label: string;
694
- type: string;
695
- key: string;
696
- defaultValue: string;
697
- required: boolean;
698
- placeholder?: undefined;
699
- options?: undefined;
700
- } | {
701
- label: string;
702
- type: string;
703
- key: string;
704
- defaultValue: string;
705
- required: boolean;
706
- options: {
707
- label: string;
708
- value: string;
709
- }[];
710
- placeholder?: undefined;
711
- } | {
712
- label: string;
713
- type: string;
714
- key: string;
715
- defaultValue: boolean;
716
- placeholder?: undefined;
717
- required?: undefined;
718
- options?: undefined;
719
- })[];
720
- };
721
- Table: {
722
- elementProps: ({
723
- label: string;
724
- placeholder: string;
725
- type: string;
726
- key: string;
727
- } | {
728
- key: string;
729
- label?: undefined;
730
- placeholder?: undefined;
731
- type?: undefined;
732
- } | {
733
- label: string;
734
- type: string;
735
- key: string;
736
- placeholder?: undefined;
737
- })[];
738
- fieldProps: ({
739
- label: string;
740
- placeholder: string;
741
- type: string;
742
- key: string;
743
- subQuestion?: undefined;
744
- } | {
745
- label: string;
746
- placeholder: string;
747
- type: string;
748
- key: string;
749
- subQuestion: {
750
- label: string;
751
- placeholder: string;
752
- type: string;
753
- key: string;
754
- }[];
755
- })[];
756
- appearance: ({
757
- label: string;
758
- type: string;
759
- key: string;
760
- placeholder: string;
761
- required: boolean;
762
- options: string[];
763
- defaultValue?: undefined;
764
- } | {
765
- label: string;
766
- type: string;
767
- key: string;
768
- defaultValue: string;
769
- required: boolean;
770
- placeholder?: undefined;
771
- options?: undefined;
772
- } | {
773
- label: string;
774
- type: string;
775
- key: string;
776
- defaultValue: string;
777
- required: boolean;
778
- options: {
779
- label: string;
780
- value: string;
781
- }[];
782
- placeholder?: undefined;
783
- } | {
784
- label: string;
785
- type: string;
786
- key: string;
787
- defaultValue: boolean;
788
- placeholder?: undefined;
789
- required?: undefined;
790
- options?: undefined;
791
- })[];
792
- };
793
- TableColumn: {
794
- elementProps: ({
795
- label: string;
796
- placeholder: string;
797
- type: string;
798
- targetArray: string;
799
- targetArrayKey: string;
800
- key: string;
801
- subQuestion?: undefined;
802
- children?: undefined;
803
- } | {
804
- label: string;
805
- placeholder: string;
806
- type: string;
807
- targetArray: string;
808
- targetArrayKey: string;
809
- key: string;
810
- subQuestion: {
811
- label: string;
812
- placeholder: string;
813
- type: string;
814
- targetArray: string;
815
- targetArrayKey: string;
816
- key: string;
817
- }[];
818
- children?: undefined;
819
- } | {
820
- label: string;
821
- placeholder: string;
822
- type: string;
823
- key: string;
824
- targetArray?: undefined;
825
- targetArrayKey?: undefined;
826
- subQuestion?: undefined;
827
- children?: undefined;
828
- } | {
829
- label: string;
830
- type: string;
831
- key: string;
832
- children: {
833
- label: string;
834
- type: string;
835
- key: string;
836
- }[];
837
- placeholder?: undefined;
838
- targetArray?: undefined;
839
- targetArrayKey?: undefined;
840
- subQuestion?: undefined;
841
- } | {
842
- label: string;
843
- type: string;
844
- key: string;
845
- placeholder?: undefined;
846
- targetArray?: undefined;
847
- targetArrayKey?: undefined;
848
- subQuestion?: undefined;
849
- children?: undefined;
850
- })[];
851
- fieldProps: ({
852
- label: string;
853
- placeholder: string;
854
- type: string;
855
- key: string;
856
- targetArray?: undefined;
857
- targetArrayKey?: undefined;
858
- } | {
859
- label: string;
860
- type: string;
861
- key: string;
862
- placeholder?: undefined;
863
- targetArray?: undefined;
864
- targetArrayKey?: undefined;
865
- } | {
866
- label: string;
867
- type: string;
868
- targetArray: string;
869
- targetArrayKey: string;
870
- key: string;
871
- placeholder?: undefined;
872
- })[];
873
- appearance: ({
874
- label: string;
875
- placeholder: string;
876
- type: string;
877
- key: string;
878
- } | {
879
- label: string;
880
- type: string;
881
- key: string;
882
- placeholder?: undefined;
883
- })[];
884
- };
885
- File: {
886
- elementProps: ({
887
- label: string;
888
- placeholder: string;
889
- type: string;
890
- key: string;
891
- options?: undefined;
892
- } | {
893
- key: string;
894
- label?: undefined;
895
- placeholder?: undefined;
896
- type?: undefined;
897
- options?: undefined;
898
- } | {
899
- label: string;
900
- type: string;
901
- key: string;
902
- placeholder?: undefined;
903
- options?: undefined;
904
- } | {
905
- label: string;
906
- type: string;
907
- key: string;
908
- options: {
909
- label: string;
910
- value: string;
911
- extensions: string[];
912
- }[];
913
- placeholder?: undefined;
914
- })[];
915
- fieldProps: ({
916
- label: string;
917
- type: string;
918
- key: string;
919
- placeholder?: undefined;
920
- subQuestion?: undefined;
921
- } | {
922
- label: string;
923
- placeholder: string;
924
- type: string;
925
- key: string;
926
- subQuestion?: undefined;
927
- } | {
928
- label: string;
929
- placeholder: string;
930
- type: string;
931
- key: string;
932
- subQuestion: {
933
- label: string;
934
- placeholder: string;
935
- type: string;
936
- key: string;
937
- }[];
938
- })[];
939
- appearance: ({
940
- label: string;
941
- type: string;
942
- key: string;
943
- placeholder: string;
944
- required: boolean;
945
- options: string[];
946
- defaultValue?: undefined;
947
- } | {
948
- label: string;
949
- type: string;
950
- key: string;
951
- defaultValue: string;
952
- required: boolean;
953
- placeholder?: undefined;
954
- options?: undefined;
955
- } | {
956
- label: string;
957
- type: string;
958
- key: string;
959
- defaultValue: string;
960
- required: boolean;
961
- options: {
962
- label: string;
963
- value: string;
964
- }[];
965
- placeholder?: undefined;
966
- } | {
967
- label: string;
968
- type: string;
969
- key: string;
970
- defaultValue: boolean;
971
- placeholder?: undefined;
972
- required?: undefined;
973
- options?: undefined;
974
- })[];
975
- };
976
- List: {
977
- elementProps: ({
978
- label: string;
979
- placeholder: string;
980
- type: string;
981
- key: string;
982
- } | {
983
- key: string;
984
- label?: undefined;
985
- placeholder?: undefined;
986
- type?: undefined;
987
- } | {
988
- label: string;
989
- type: string;
990
- key: string;
991
- placeholder?: undefined;
992
- })[];
993
- fieldProps: ({
994
- label: string;
995
- type: string;
996
- key: string;
997
- placeholder?: undefined;
998
- subQuestion?: undefined;
999
- } | {
1000
- label: string;
1001
- placeholder: string;
1002
- type: string;
1003
- key: string;
1004
- subQuestion?: undefined;
1005
- } | {
1006
- label: string;
1007
- placeholder: string;
1008
- type: string;
1009
- key: string;
1010
- subQuestion: {
1011
- label: string;
1012
- placeholder: string;
1013
- type: string;
1014
- key: string;
1015
- }[];
1016
- })[];
1017
- appearance: ({
1018
- label: string;
1019
- type: string;
1020
- key: string;
1021
- placeholder: string;
1022
- required: boolean;
1023
- options: string[];
1024
- defaultValue?: undefined;
1025
- } | {
1026
- label: string;
1027
- type: string;
1028
- key: string;
1029
- defaultValue: string;
1030
- required: boolean;
1031
- placeholder?: undefined;
1032
- options?: undefined;
1033
- } | {
1034
- label: string;
1035
- type: string;
1036
- key: string;
1037
- defaultValue: string;
1038
- required: boolean;
1039
- options: {
1040
- label: string;
1041
- value: string;
1042
- }[];
1043
- placeholder?: undefined;
1044
- } | {
1045
- label: string;
1046
- type: string;
1047
- key: string;
1048
- defaultValue: boolean;
1049
- placeholder?: undefined;
1050
- required?: undefined;
1051
- options?: undefined;
1052
- })[];
1053
- };
1054
- TextArea: {
1055
- elementProps: ({
1056
- label: string;
1057
- placeholder: string;
1058
- type: string;
1059
- key: string;
1060
- } | {
1061
- key: string;
1062
- label?: undefined;
1063
- placeholder?: undefined;
1064
- type?: undefined;
1065
- } | {
1066
- label: string;
1067
- type: string;
1068
- key: string;
1069
- placeholder?: undefined;
1070
- })[];
1071
- fieldProps: ({
1072
- label: string;
1073
- type: string;
1074
- key: string;
1075
- placeholder?: undefined;
1076
- subQuestion?: undefined;
1077
- } | {
1078
- label: string;
1079
- placeholder: string;
1080
- type: string;
1081
- key: string;
1082
- subQuestion?: undefined;
1083
- } | {
1084
- label: string;
1085
- placeholder: string;
1086
- type: string;
1087
- key: string;
1088
- subQuestion: {
1089
- label: string;
1090
- placeholder: string;
1091
- type: string;
1092
- key: string;
1093
- }[];
1094
- })[];
1095
- appearance: ({
1096
- label: string;
1097
- type: string;
1098
- key: string;
1099
- placeholder: string;
1100
- required: boolean;
1101
- options: string[];
1102
- defaultValue?: undefined;
1103
- } | {
1104
- label: string;
1105
- type: string;
1106
- key: string;
1107
- defaultValue: string;
1108
- required: boolean;
1109
- placeholder?: undefined;
1110
- options?: undefined;
1111
- } | {
1112
- label: string;
1113
- type: string;
1114
- key: string;
1115
- defaultValue: string;
1116
- required: boolean;
1117
- options: {
1118
- label: string;
1119
- value: string;
1120
- }[];
1121
- placeholder?: undefined;
1122
- } | {
1123
- label: string;
1124
- type: string;
1125
- key: string;
1126
- defaultValue: boolean;
1127
- placeholder?: undefined;
1128
- required?: undefined;
1129
- options?: undefined;
1130
- })[];
289
+ elementProps: any[];
290
+ fieldProps: any[];
291
+ appearance: any[];
1131
292
  };
1132
- RichTextArea: {
1133
- elementProps: ({
1134
- label: string;
1135
- placeholder: string;
1136
- type: string;
1137
- key: string;
1138
- } | {
1139
- key: string;
1140
- label?: undefined;
1141
- placeholder?: undefined;
1142
- type?: undefined;
1143
- } | {
1144
- label: string;
1145
- type: string;
1146
- key: string;
1147
- placeholder?: undefined;
1148
- })[];
1149
- fieldProps: ({
1150
- label: string;
1151
- type: string;
1152
- key: string;
1153
- placeholder?: undefined;
1154
- subQuestion?: undefined;
1155
- } | {
1156
- label: string;
1157
- placeholder: string;
1158
- type: string;
1159
- key: string;
1160
- subQuestion?: undefined;
1161
- } | {
1162
- label: string;
1163
- placeholder: string;
1164
- type: string;
1165
- key: string;
1166
- subQuestion: {
1167
- label: string;
1168
- placeholder: string;
1169
- type: string;
1170
- key: string;
1171
- }[];
1172
- })[];
1173
- appearance: ({
1174
- label: string;
1175
- type: string;
1176
- key: string;
1177
- placeholder: string;
1178
- required: boolean;
1179
- options: string[];
1180
- defaultValue?: undefined;
1181
- } | {
1182
- label: string;
1183
- type: string;
1184
- key: string;
1185
- defaultValue: string;
1186
- required: boolean;
1187
- placeholder?: undefined;
1188
- options?: undefined;
1189
- } | {
1190
- label: string;
1191
- type: string;
1192
- key: string;
1193
- defaultValue: string;
1194
- required: boolean;
1195
- options: {
1196
- label: string;
1197
- value: string;
1198
- }[];
1199
- placeholder?: undefined;
1200
- } | {
1201
- label: string;
1202
- type: string;
1203
- key: string;
1204
- defaultValue: boolean;
1205
- placeholder?: undefined;
1206
- required?: undefined;
1207
- options?: undefined;
1208
- })[];
293
+ Book: {
294
+ elementProps: any[];
295
+ fieldProps: any[];
296
+ appearance: any[];
1209
297
  };
1210
- Number: {
1211
- elementProps: ({
1212
- label: string;
1213
- placeholder: string;
1214
- type: string;
1215
- key: string;
1216
- } | {
1217
- key: string;
1218
- label?: undefined;
1219
- placeholder?: undefined;
1220
- type?: undefined;
1221
- } | {
1222
- label: string;
1223
- type: string;
1224
- key: string;
1225
- placeholder?: undefined;
1226
- })[];
1227
- fieldProps: ({
1228
- label: string;
1229
- type: string;
1230
- key: string;
1231
- placeholder?: undefined;
1232
- subQuestion?: undefined;
1233
- } | {
1234
- label: string;
1235
- placeholder: string;
1236
- type: string;
1237
- key: string;
1238
- subQuestion?: undefined;
1239
- } | {
1240
- label: string;
1241
- placeholder: string;
1242
- type: string;
1243
- key: string;
1244
- subQuestion: {
1245
- label: string;
1246
- placeholder: string;
1247
- type: string;
1248
- key: string;
1249
- }[];
1250
- })[];
1251
- appearance: ({
1252
- label: string;
1253
- type: string;
1254
- key: string;
1255
- placeholder: string;
1256
- required: boolean;
1257
- options: string[];
1258
- defaultValue?: undefined;
1259
- } | {
1260
- label: string;
1261
- type: string;
1262
- key: string;
1263
- defaultValue: string;
1264
- required: boolean;
1265
- placeholder?: undefined;
1266
- options?: undefined;
1267
- } | {
1268
- label: string;
1269
- type: string;
1270
- key: string;
1271
- defaultValue: string;
1272
- required: boolean;
1273
- options: {
1274
- label: string;
1275
- value: string;
1276
- }[];
1277
- placeholder?: undefined;
1278
- } | {
1279
- label: string;
1280
- type: string;
1281
- key: string;
1282
- defaultValue: boolean;
1283
- placeholder?: undefined;
1284
- required?: undefined;
1285
- options?: undefined;
1286
- })[];
298
+ List: {
299
+ elementProps: any[];
300
+ fieldProps: any[];
301
+ appearance: any[];
1287
302
  };
1288
- Dropdown: {
1289
- elementProps: ({
1290
- label: string;
1291
- placeholder: string;
1292
- type: string;
1293
- key: string;
1294
- } | {
1295
- key: string;
1296
- label?: undefined;
1297
- placeholder?: undefined;
1298
- type?: undefined;
1299
- } | {
1300
- label: string;
1301
- type: string;
1302
- key: string;
1303
- placeholder?: undefined;
1304
- })[];
1305
- fieldProps: ({
1306
- label: string;
1307
- type: string;
1308
- key: string;
1309
- placeholder?: undefined;
1310
- addOptionLabel?: undefined;
1311
- icon?: undefined;
1312
- subQuestion?: undefined;
1313
- } | {
1314
- label: string;
1315
- placeholder: string;
1316
- type: string;
1317
- key: string;
1318
- addOptionLabel?: undefined;
1319
- icon?: undefined;
1320
- subQuestion?: undefined;
1321
- } | {
1322
- label: string;
1323
- type: string;
1324
- key: string;
1325
- addOptionLabel: string;
1326
- icon: string;
1327
- placeholder?: undefined;
1328
- subQuestion?: undefined;
1329
- } | {
1330
- label: string;
1331
- placeholder: string;
1332
- type: string;
1333
- key: string;
1334
- subQuestion: {
1335
- label: string;
1336
- placeholder: string;
1337
- type: string;
1338
- key: string;
1339
- }[];
1340
- addOptionLabel?: undefined;
1341
- icon?: undefined;
1342
- })[];
1343
- appearance: ({
1344
- label: string;
1345
- type: string;
1346
- key: string;
1347
- placeholder: string;
1348
- required: boolean;
1349
- options: string[];
1350
- defaultValue?: undefined;
1351
- } | {
1352
- label: string;
1353
- type: string;
1354
- key: string;
1355
- defaultValue: string;
1356
- required: boolean;
1357
- placeholder?: undefined;
1358
- options?: undefined;
1359
- } | {
1360
- label: string;
1361
- type: string;
1362
- key: string;
1363
- defaultValue: string;
1364
- required: boolean;
1365
- options: {
1366
- label: string;
1367
- value: string;
1368
- }[];
1369
- placeholder?: undefined;
1370
- } | {
1371
- label: string;
1372
- type: string;
1373
- key: string;
1374
- defaultValue: boolean;
1375
- placeholder?: undefined;
1376
- required?: undefined;
1377
- options?: undefined;
1378
- })[];
303
+ TextArea: {
304
+ elementProps: any[];
305
+ fieldProps: any[];
306
+ appearance: any[];
1379
307
  };
1380
- Image: {
1381
- elementProps: ({
1382
- label: string;
1383
- placeholder: string;
1384
- type: string;
1385
- key: string;
1386
- } | {
1387
- key: string;
1388
- label?: undefined;
1389
- placeholder?: undefined;
1390
- type?: undefined;
1391
- } | {
1392
- label: string;
1393
- type: string;
1394
- key: string;
1395
- placeholder?: undefined;
1396
- })[];
1397
- fieldProps: ({
1398
- label: string;
1399
- type: string;
1400
- key: string;
1401
- placeholder?: undefined;
1402
- subQuestion?: undefined;
1403
- } | {
1404
- label: string;
1405
- placeholder: string;
1406
- type: string;
1407
- key: string;
1408
- subQuestion?: undefined;
1409
- } | {
1410
- label: string;
1411
- placeholder: string;
1412
- type: string;
1413
- key: string;
1414
- subQuestion: {
1415
- label: string;
1416
- placeholder: string;
1417
- type: string;
1418
- key: string;
1419
- }[];
1420
- })[];
1421
- appearance: ({
1422
- label: string;
1423
- type: string;
1424
- key: string;
1425
- placeholder: string;
1426
- required: boolean;
1427
- options: string[];
1428
- defaultValue?: undefined;
1429
- } | {
1430
- label: string;
1431
- type: string;
1432
- key: string;
1433
- defaultValue: string;
1434
- required: boolean;
1435
- placeholder?: undefined;
1436
- options?: undefined;
1437
- } | {
1438
- label: string;
1439
- type: string;
1440
- key: string;
1441
- defaultValue: string;
1442
- required: boolean;
1443
- options: {
1444
- label: string;
1445
- value: string;
1446
- }[];
1447
- placeholder?: undefined;
1448
- } | {
1449
- label: string;
1450
- type: string;
1451
- key: string;
1452
- defaultValue: boolean;
1453
- placeholder?: undefined;
1454
- required?: undefined;
1455
- options?: undefined;
1456
- })[];
308
+ RichTextArea: {
309
+ elementProps: any[];
310
+ fieldProps: any[];
311
+ appearance: any[];
1457
312
  };
1458
- Radio: {
1459
- elementProps: ({
1460
- label: string;
1461
- placeholder: string;
1462
- type: string;
1463
- key: string;
1464
- } | {
1465
- key: string;
1466
- label?: undefined;
1467
- placeholder?: undefined;
1468
- type?: undefined;
1469
- } | {
1470
- label: string;
1471
- type: string;
1472
- key: string;
1473
- placeholder?: undefined;
1474
- })[];
1475
- fieldProps: ({
1476
- label: string;
1477
- type: string;
1478
- key: string;
1479
- placeholder?: undefined;
1480
- addOptionLabel?: undefined;
1481
- icon?: undefined;
1482
- subQuestion?: undefined;
1483
- } | {
1484
- label: string;
1485
- placeholder: string;
1486
- type: string;
1487
- key: string;
1488
- addOptionLabel?: undefined;
1489
- icon?: undefined;
1490
- subQuestion?: undefined;
1491
- } | {
1492
- label: string;
1493
- type: string;
1494
- key: string;
1495
- addOptionLabel: string;
1496
- icon: string;
1497
- placeholder?: undefined;
1498
- subQuestion?: undefined;
1499
- } | {
1500
- label: string;
1501
- placeholder: string;
1502
- type: string;
1503
- key: string;
1504
- subQuestion: {
1505
- label: string;
1506
- placeholder: string;
1507
- type: string;
1508
- key: string;
1509
- }[];
1510
- addOptionLabel?: undefined;
1511
- icon?: undefined;
1512
- })[];
1513
- appearance: ({
1514
- label: string;
1515
- type: string;
1516
- key: string;
1517
- placeholder: string;
1518
- required: boolean;
1519
- options: string[];
1520
- defaultValue?: undefined;
1521
- } | {
1522
- label: string;
1523
- type: string;
1524
- key: string;
1525
- defaultValue: string;
1526
- required: boolean;
1527
- placeholder?: undefined;
1528
- options?: undefined;
1529
- } | {
1530
- label: string;
1531
- type: string;
1532
- key: string;
1533
- defaultValue: string;
1534
- required: boolean;
1535
- options: {
1536
- label: string;
1537
- value: string;
1538
- }[];
1539
- placeholder?: undefined;
1540
- } | {
1541
- label: string;
1542
- type: string;
1543
- key: string;
1544
- defaultValue: boolean;
1545
- placeholder?: undefined;
1546
- required?: undefined;
1547
- options?: undefined;
1548
- })[];
313
+ Number: {
314
+ elementProps: any[];
315
+ fieldProps: any[];
316
+ appearance: any[];
317
+ };
318
+ Image: {
319
+ elementProps: any[];
320
+ fieldProps: any[];
321
+ appearance: any[];
1549
322
  };
1550
323
  Label: {
1551
- elementProps: ({
1552
- label: string;
1553
- placeholder: string;
1554
- type: string;
1555
- key: string;
1556
- } | {
1557
- key: string;
1558
- label?: undefined;
1559
- placeholder?: undefined;
1560
- type?: undefined;
1561
- } | {
1562
- label: string;
1563
- type: string;
1564
- key: string;
1565
- placeholder?: undefined;
1566
- })[];
1567
- fieldProps: ({
1568
- label: string;
1569
- type: string;
1570
- key: string;
1571
- placeholder?: undefined;
1572
- subQuestion?: undefined;
1573
- } | {
1574
- label: string;
1575
- placeholder: string;
1576
- type: string;
1577
- key: string;
1578
- subQuestion?: undefined;
1579
- } | {
1580
- label: string;
1581
- placeholder: string;
1582
- type: string;
1583
- key: string;
1584
- subQuestion: {
1585
- label: string;
1586
- placeholder: string;
1587
- type: string;
1588
- key: string;
1589
- }[];
1590
- })[];
1591
- appearance: ({
1592
- label: string;
1593
- type: string;
1594
- key: string;
1595
- placeholder: string;
1596
- required: boolean;
1597
- options: string[];
1598
- defaultValue?: undefined;
1599
- } | {
1600
- label: string;
1601
- type: string;
1602
- key: string;
1603
- defaultValue: string;
1604
- required: boolean;
1605
- placeholder?: undefined;
1606
- options?: undefined;
1607
- } | {
1608
- label: string;
1609
- type: string;
1610
- key: string;
1611
- defaultValue: string;
1612
- required: boolean;
1613
- options: {
1614
- label: string;
1615
- value: string;
1616
- }[];
1617
- placeholder?: undefined;
1618
- } | {
1619
- label: string;
1620
- type: string;
1621
- key: string;
1622
- defaultValue: boolean;
1623
- placeholder?: undefined;
1624
- required?: undefined;
1625
- options?: undefined;
1626
- })[];
324
+ elementProps: any[];
325
+ fieldProps: any[];
326
+ appearance: any[];
327
+ };
328
+ Boolean: {
329
+ elementProps: any[];
330
+ fieldProps: any[];
331
+ appearance: any[];
332
+ };
333
+ File: {
334
+ elementProps: any[];
335
+ fieldProps: any[];
336
+ appearance: any[];
1627
337
  };
1628
338
  };
1629
339
  constructor(http: HttpClient, formBuilderService: FormBuilderService, templateService: TemplateService);