@rangertechnologies/ngnxt 2.1.124 → 2.1.126
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/esm2022/environments/version.mjs +5 -5
- package/esm2022/lib/components/custom-calendar/custom-calendar.component.mjs +2 -2
- package/esm2022/lib/components/custom-dropdown/custom-dropdown.component.mjs +8 -6
- package/esm2022/lib/components/custom-table/custom-table.component.mjs +4 -2
- package/esm2022/lib/components/datatable/datatable.component.mjs +13 -12
- package/esm2022/lib/components/search-box/search-box.component.mjs +1 -1
- package/esm2022/lib/pages/booklet/booklet.component.mjs +52 -29
- package/esm2022/lib/pages/builder/element/element.component.mjs +58 -21
- package/esm2022/lib/pages/builder/form/form.component.mjs +2 -2
- package/esm2022/lib/pages/builder/menu/menu.component.mjs +2 -2
- package/esm2022/lib/pages/builder/properties/properties.component.mjs +329 -163
- package/esm2022/lib/pages/questionbook/questionbook.component.mjs +30 -10
- package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +1 -1
- package/esm2022/lib/services/form-builder.service.mjs +39 -5
- package/esm2022/lib/services/storage.service.mjs +2 -2
- package/fesm2022/rangertechnologies-ngnxt.mjs +529 -247
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/components/custom-dropdown/custom-dropdown.component.d.ts +2 -3
- package/lib/components/datatable/datatable.component.d.ts +3 -2
- package/lib/pages/booklet/booklet.component.d.ts +7 -2
- package/lib/pages/builder/element/element.component.d.ts +5 -2
- package/lib/pages/builder/properties/properties.component.d.ts +304 -188
- package/lib/pages/questionbook/questionbook.component.d.ts +2 -1
- package/lib/services/form-builder.service.d.ts +9 -19
- package/package.json +1 -1
- package/rangertechnologies-ngnxt-2.1.126.tgz +0 -0
- package/src/lib/style.css +13 -5
- package/rangertechnologies-ngnxt-2.1.124.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
3
3
|
import { FormBuilderService } from '../../../services/form-builder.service';
|
|
4
4
|
import { CropperPosition, Dimensions, ImageTransform } from '../../../components/image-cropper/interfaces';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -33,6 +33,15 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
33
33
|
roundCropper: boolean;
|
|
34
34
|
imageChangedEvent: Event | null;
|
|
35
35
|
alignImage: "center";
|
|
36
|
+
bookSubtext: {
|
|
37
|
+
endpoint: string;
|
|
38
|
+
variable: any;
|
|
39
|
+
field: string[];
|
|
40
|
+
defaultField: string;
|
|
41
|
+
};
|
|
42
|
+
isLinkDropdownOpen: boolean;
|
|
43
|
+
dropdown: ElementRef;
|
|
44
|
+
draggedId: string | null;
|
|
36
45
|
elementProperties: {
|
|
37
46
|
Header: {
|
|
38
47
|
elementProps: {
|
|
@@ -48,12 +57,23 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
48
57
|
placeholder: string;
|
|
49
58
|
type: string;
|
|
50
59
|
key: string;
|
|
51
|
-
subQuestion?: undefined;
|
|
52
60
|
} | {
|
|
53
61
|
label: string;
|
|
54
62
|
type: string;
|
|
55
63
|
key: string;
|
|
56
64
|
placeholder?: undefined;
|
|
65
|
+
})[];
|
|
66
|
+
fieldProps: ({
|
|
67
|
+
label: string;
|
|
68
|
+
type: string;
|
|
69
|
+
key: string;
|
|
70
|
+
placeholder?: undefined;
|
|
71
|
+
subQuestion?: undefined;
|
|
72
|
+
} | {
|
|
73
|
+
label: string;
|
|
74
|
+
placeholder: string;
|
|
75
|
+
type: string;
|
|
76
|
+
key: string;
|
|
57
77
|
subQuestion?: undefined;
|
|
58
78
|
} | {
|
|
59
79
|
label: string;
|
|
@@ -67,17 +87,6 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
67
87
|
key: string;
|
|
68
88
|
}[];
|
|
69
89
|
})[];
|
|
70
|
-
fieldProps: ({
|
|
71
|
-
label: string;
|
|
72
|
-
type: string;
|
|
73
|
-
key: string;
|
|
74
|
-
placeholder?: undefined;
|
|
75
|
-
} | {
|
|
76
|
-
label: string;
|
|
77
|
-
placeholder: string;
|
|
78
|
-
type: string;
|
|
79
|
-
key: string;
|
|
80
|
-
})[];
|
|
81
90
|
appearance: ({
|
|
82
91
|
label: string;
|
|
83
92
|
type: string;
|
|
@@ -127,12 +136,24 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
127
136
|
key: string;
|
|
128
137
|
placeholder?: undefined;
|
|
129
138
|
})[];
|
|
130
|
-
fieldProps: {
|
|
139
|
+
fieldProps: ({
|
|
131
140
|
label: string;
|
|
132
141
|
placeholder: string;
|
|
133
142
|
type: string;
|
|
134
143
|
key: string;
|
|
135
|
-
|
|
144
|
+
subQuestion?: undefined;
|
|
145
|
+
} | {
|
|
146
|
+
label: string;
|
|
147
|
+
placeholder: string;
|
|
148
|
+
type: string;
|
|
149
|
+
key: string;
|
|
150
|
+
subQuestion: {
|
|
151
|
+
label: string;
|
|
152
|
+
placeholder: string;
|
|
153
|
+
type: string;
|
|
154
|
+
key: string;
|
|
155
|
+
}[];
|
|
156
|
+
})[];
|
|
136
157
|
appearance: any[];
|
|
137
158
|
};
|
|
138
159
|
Line: {
|
|
@@ -171,30 +192,35 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
171
192
|
placeholder: string;
|
|
172
193
|
type: string;
|
|
173
194
|
key: string;
|
|
174
|
-
defaultValue?: undefined;
|
|
175
195
|
} | {
|
|
176
196
|
label: string;
|
|
177
197
|
type: string;
|
|
178
198
|
key: string;
|
|
179
199
|
placeholder?: undefined;
|
|
180
|
-
|
|
181
|
-
|
|
200
|
+
})[];
|
|
201
|
+
fieldProps: ({
|
|
182
202
|
label: string;
|
|
183
203
|
type: string;
|
|
184
204
|
key: string;
|
|
185
|
-
defaultValue: boolean;
|
|
186
205
|
placeholder?: undefined;
|
|
187
|
-
|
|
188
|
-
|
|
206
|
+
subQuestion?: undefined;
|
|
207
|
+
} | {
|
|
189
208
|
label: string;
|
|
209
|
+
placeholder: string;
|
|
190
210
|
type: string;
|
|
191
211
|
key: string;
|
|
192
|
-
|
|
212
|
+
subQuestion?: undefined;
|
|
193
213
|
} | {
|
|
194
214
|
label: string;
|
|
195
215
|
placeholder: string;
|
|
196
216
|
type: string;
|
|
197
217
|
key: string;
|
|
218
|
+
subQuestion: {
|
|
219
|
+
label: string;
|
|
220
|
+
placeholder: string;
|
|
221
|
+
type: string;
|
|
222
|
+
key: string;
|
|
223
|
+
}[];
|
|
198
224
|
})[];
|
|
199
225
|
};
|
|
200
226
|
Checkbox: {
|
|
@@ -203,24 +229,11 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
203
229
|
placeholder: string;
|
|
204
230
|
type: string;
|
|
205
231
|
key: string;
|
|
206
|
-
subQuestion?: undefined;
|
|
207
232
|
} | {
|
|
208
233
|
label: string;
|
|
209
234
|
type: string;
|
|
210
235
|
key: string;
|
|
211
236
|
placeholder?: undefined;
|
|
212
|
-
subQuestion?: undefined;
|
|
213
|
-
} | {
|
|
214
|
-
label: string;
|
|
215
|
-
placeholder: string;
|
|
216
|
-
type: string;
|
|
217
|
-
key: string;
|
|
218
|
-
subQuestion: {
|
|
219
|
-
label: string;
|
|
220
|
-
placeholder: string;
|
|
221
|
-
type: string;
|
|
222
|
-
key: string;
|
|
223
|
-
}[];
|
|
224
237
|
})[];
|
|
225
238
|
fieldProps: ({
|
|
226
239
|
label: string;
|
|
@@ -229,6 +242,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
229
242
|
placeholder?: undefined;
|
|
230
243
|
addOptionLabel?: undefined;
|
|
231
244
|
icon?: undefined;
|
|
245
|
+
subQuestion?: undefined;
|
|
232
246
|
} | {
|
|
233
247
|
label: string;
|
|
234
248
|
placeholder: string;
|
|
@@ -236,6 +250,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
236
250
|
key: string;
|
|
237
251
|
addOptionLabel?: undefined;
|
|
238
252
|
icon?: undefined;
|
|
253
|
+
subQuestion?: undefined;
|
|
239
254
|
} | {
|
|
240
255
|
label: string;
|
|
241
256
|
type: string;
|
|
@@ -243,6 +258,20 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
243
258
|
addOptionLabel: string;
|
|
244
259
|
icon: string;
|
|
245
260
|
placeholder?: undefined;
|
|
261
|
+
subQuestion?: undefined;
|
|
262
|
+
} | {
|
|
263
|
+
label: string;
|
|
264
|
+
placeholder: string;
|
|
265
|
+
type: string;
|
|
266
|
+
key: string;
|
|
267
|
+
subQuestion: {
|
|
268
|
+
label: string;
|
|
269
|
+
placeholder: string;
|
|
270
|
+
type: string;
|
|
271
|
+
key: string;
|
|
272
|
+
}[];
|
|
273
|
+
addOptionLabel?: undefined;
|
|
274
|
+
icon?: undefined;
|
|
246
275
|
})[];
|
|
247
276
|
appearance: ({
|
|
248
277
|
label: string;
|
|
@@ -287,12 +316,23 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
287
316
|
placeholder: string;
|
|
288
317
|
type: string;
|
|
289
318
|
key: string;
|
|
290
|
-
subQuestion?: undefined;
|
|
291
319
|
} | {
|
|
292
320
|
label: string;
|
|
293
321
|
type: string;
|
|
294
322
|
key: string;
|
|
295
323
|
placeholder?: undefined;
|
|
324
|
+
})[];
|
|
325
|
+
fieldProps: ({
|
|
326
|
+
label: string;
|
|
327
|
+
type: string;
|
|
328
|
+
key: string;
|
|
329
|
+
placeholder?: undefined;
|
|
330
|
+
subQuestion?: undefined;
|
|
331
|
+
} | {
|
|
332
|
+
label: string;
|
|
333
|
+
placeholder: string;
|
|
334
|
+
type: string;
|
|
335
|
+
key: string;
|
|
296
336
|
subQuestion?: undefined;
|
|
297
337
|
} | {
|
|
298
338
|
label: string;
|
|
@@ -306,17 +346,6 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
306
346
|
key: string;
|
|
307
347
|
}[];
|
|
308
348
|
})[];
|
|
309
|
-
fieldProps: ({
|
|
310
|
-
label: string;
|
|
311
|
-
type: string;
|
|
312
|
-
key: string;
|
|
313
|
-
placeholder?: undefined;
|
|
314
|
-
} | {
|
|
315
|
-
label: string;
|
|
316
|
-
placeholder: string;
|
|
317
|
-
type: string;
|
|
318
|
-
key: string;
|
|
319
|
-
})[];
|
|
320
349
|
appearance: ({
|
|
321
350
|
label: string;
|
|
322
351
|
type: string;
|
|
@@ -360,12 +389,23 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
360
389
|
placeholder: string;
|
|
361
390
|
type: string;
|
|
362
391
|
key: string;
|
|
363
|
-
subQuestion?: undefined;
|
|
364
392
|
} | {
|
|
365
393
|
label: string;
|
|
366
394
|
type: string;
|
|
367
395
|
key: string;
|
|
368
396
|
placeholder?: undefined;
|
|
397
|
+
})[];
|
|
398
|
+
fieldProps: ({
|
|
399
|
+
label: string;
|
|
400
|
+
type: string;
|
|
401
|
+
key: string;
|
|
402
|
+
placeholder?: undefined;
|
|
403
|
+
subQuestion?: undefined;
|
|
404
|
+
} | {
|
|
405
|
+
label: string;
|
|
406
|
+
placeholder: string;
|
|
407
|
+
type: string;
|
|
408
|
+
key: string;
|
|
369
409
|
subQuestion?: undefined;
|
|
370
410
|
} | {
|
|
371
411
|
label: string;
|
|
@@ -379,17 +419,6 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
379
419
|
key: string;
|
|
380
420
|
}[];
|
|
381
421
|
})[];
|
|
382
|
-
fieldProps: ({
|
|
383
|
-
label: string;
|
|
384
|
-
type: string;
|
|
385
|
-
key: string;
|
|
386
|
-
placeholder?: undefined;
|
|
387
|
-
} | {
|
|
388
|
-
label: string;
|
|
389
|
-
placeholder: string;
|
|
390
|
-
type: string;
|
|
391
|
-
key: string;
|
|
392
|
-
})[];
|
|
393
422
|
appearance: ({
|
|
394
423
|
label: string;
|
|
395
424
|
type: string;
|
|
@@ -433,12 +462,23 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
433
462
|
placeholder: string;
|
|
434
463
|
type: string;
|
|
435
464
|
key: string;
|
|
436
|
-
subQuestion?: undefined;
|
|
437
465
|
} | {
|
|
438
466
|
label: string;
|
|
439
467
|
type: string;
|
|
440
468
|
key: string;
|
|
441
469
|
placeholder?: undefined;
|
|
470
|
+
})[];
|
|
471
|
+
fieldProps: ({
|
|
472
|
+
label: string;
|
|
473
|
+
type: string;
|
|
474
|
+
key: string;
|
|
475
|
+
placeholder?: undefined;
|
|
476
|
+
subQuestion?: undefined;
|
|
477
|
+
} | {
|
|
478
|
+
label: string;
|
|
479
|
+
placeholder: string;
|
|
480
|
+
type: string;
|
|
481
|
+
key: string;
|
|
442
482
|
subQuestion?: undefined;
|
|
443
483
|
} | {
|
|
444
484
|
label: string;
|
|
@@ -452,17 +492,6 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
452
492
|
key: string;
|
|
453
493
|
}[];
|
|
454
494
|
})[];
|
|
455
|
-
fieldProps: ({
|
|
456
|
-
label: string;
|
|
457
|
-
type: string;
|
|
458
|
-
key: string;
|
|
459
|
-
placeholder?: undefined;
|
|
460
|
-
} | {
|
|
461
|
-
label: string;
|
|
462
|
-
placeholder: string;
|
|
463
|
-
type: string;
|
|
464
|
-
key: string;
|
|
465
|
-
})[];
|
|
466
495
|
appearance: ({
|
|
467
496
|
label: string;
|
|
468
497
|
type: string;
|
|
@@ -489,18 +518,29 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
489
518
|
defaultValue?: undefined;
|
|
490
519
|
})[];
|
|
491
520
|
};
|
|
492
|
-
|
|
521
|
+
DateTime: {
|
|
493
522
|
elementProps: ({
|
|
494
523
|
label: string;
|
|
495
524
|
placeholder: string;
|
|
496
525
|
type: string;
|
|
497
526
|
key: string;
|
|
498
|
-
subQuestion?: undefined;
|
|
499
527
|
} | {
|
|
500
528
|
label: string;
|
|
501
529
|
type: string;
|
|
502
530
|
key: string;
|
|
503
531
|
placeholder?: undefined;
|
|
532
|
+
})[];
|
|
533
|
+
fieldProps: ({
|
|
534
|
+
label: string;
|
|
535
|
+
type: string;
|
|
536
|
+
key: string;
|
|
537
|
+
placeholder?: undefined;
|
|
538
|
+
subQuestion?: undefined;
|
|
539
|
+
} | {
|
|
540
|
+
label: string;
|
|
541
|
+
placeholder: string;
|
|
542
|
+
type: string;
|
|
543
|
+
key: string;
|
|
504
544
|
subQuestion?: undefined;
|
|
505
545
|
} | {
|
|
506
546
|
label: string;
|
|
@@ -514,16 +554,78 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
514
554
|
key: string;
|
|
515
555
|
}[];
|
|
516
556
|
})[];
|
|
557
|
+
appearance: ({
|
|
558
|
+
label: string;
|
|
559
|
+
type: string;
|
|
560
|
+
key: string;
|
|
561
|
+
placeholder: string;
|
|
562
|
+
required: boolean;
|
|
563
|
+
options: string[];
|
|
564
|
+
defaultValue?: undefined;
|
|
565
|
+
} | {
|
|
566
|
+
label: string;
|
|
567
|
+
type: string;
|
|
568
|
+
key: string;
|
|
569
|
+
defaultValue: string;
|
|
570
|
+
required: boolean;
|
|
571
|
+
placeholder?: undefined;
|
|
572
|
+
options?: undefined;
|
|
573
|
+
} | {
|
|
574
|
+
label: string;
|
|
575
|
+
type: string;
|
|
576
|
+
key: string;
|
|
577
|
+
defaultValue: string;
|
|
578
|
+
required: boolean;
|
|
579
|
+
options: {
|
|
580
|
+
label: string;
|
|
581
|
+
value: string;
|
|
582
|
+
}[];
|
|
583
|
+
placeholder?: undefined;
|
|
584
|
+
} | {
|
|
585
|
+
label: string;
|
|
586
|
+
type: string;
|
|
587
|
+
key: string;
|
|
588
|
+
defaultValue: boolean;
|
|
589
|
+
placeholder?: undefined;
|
|
590
|
+
required?: undefined;
|
|
591
|
+
options?: undefined;
|
|
592
|
+
})[];
|
|
593
|
+
};
|
|
594
|
+
Email: {
|
|
595
|
+
elementProps: ({
|
|
596
|
+
label: string;
|
|
597
|
+
placeholder: string;
|
|
598
|
+
type: string;
|
|
599
|
+
key: string;
|
|
600
|
+
} | {
|
|
601
|
+
label: string;
|
|
602
|
+
type: string;
|
|
603
|
+
key: string;
|
|
604
|
+
placeholder?: undefined;
|
|
605
|
+
})[];
|
|
517
606
|
fieldProps: ({
|
|
518
607
|
label: string;
|
|
519
608
|
type: string;
|
|
520
609
|
key: string;
|
|
521
610
|
placeholder?: undefined;
|
|
611
|
+
subQuestion?: undefined;
|
|
612
|
+
} | {
|
|
613
|
+
label: string;
|
|
614
|
+
placeholder: string;
|
|
615
|
+
type: string;
|
|
616
|
+
key: string;
|
|
617
|
+
subQuestion?: undefined;
|
|
522
618
|
} | {
|
|
523
619
|
label: string;
|
|
524
620
|
placeholder: string;
|
|
525
621
|
type: string;
|
|
526
622
|
key: string;
|
|
623
|
+
subQuestion: {
|
|
624
|
+
label: string;
|
|
625
|
+
placeholder: string;
|
|
626
|
+
type: string;
|
|
627
|
+
key: string;
|
|
628
|
+
}[];
|
|
527
629
|
})[];
|
|
528
630
|
appearance: ({
|
|
529
631
|
label: string;
|
|
@@ -696,26 +798,12 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
696
798
|
placeholder: string;
|
|
697
799
|
type: string;
|
|
698
800
|
key: string;
|
|
699
|
-
subQuestion?: undefined;
|
|
700
801
|
options?: undefined;
|
|
701
802
|
} | {
|
|
702
803
|
label: string;
|
|
703
804
|
type: string;
|
|
704
805
|
key: string;
|
|
705
806
|
placeholder?: undefined;
|
|
706
|
-
subQuestion?: undefined;
|
|
707
|
-
options?: undefined;
|
|
708
|
-
} | {
|
|
709
|
-
label: string;
|
|
710
|
-
placeholder: string;
|
|
711
|
-
type: string;
|
|
712
|
-
key: string;
|
|
713
|
-
subQuestion: {
|
|
714
|
-
label: string;
|
|
715
|
-
placeholder: string;
|
|
716
|
-
type: string;
|
|
717
|
-
key: string;
|
|
718
|
-
}[];
|
|
719
807
|
options?: undefined;
|
|
720
808
|
} | {
|
|
721
809
|
label: string;
|
|
@@ -727,18 +815,30 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
727
815
|
extensions: string[];
|
|
728
816
|
}[];
|
|
729
817
|
placeholder?: undefined;
|
|
730
|
-
subQuestion?: undefined;
|
|
731
818
|
})[];
|
|
732
819
|
fieldProps: ({
|
|
733
820
|
label: string;
|
|
734
821
|
type: string;
|
|
735
822
|
key: string;
|
|
736
823
|
placeholder?: undefined;
|
|
824
|
+
subQuestion?: undefined;
|
|
737
825
|
} | {
|
|
738
826
|
label: string;
|
|
739
827
|
placeholder: string;
|
|
740
828
|
type: string;
|
|
741
829
|
key: string;
|
|
830
|
+
subQuestion?: undefined;
|
|
831
|
+
} | {
|
|
832
|
+
label: string;
|
|
833
|
+
placeholder: string;
|
|
834
|
+
type: string;
|
|
835
|
+
key: string;
|
|
836
|
+
subQuestion: {
|
|
837
|
+
label: string;
|
|
838
|
+
placeholder: string;
|
|
839
|
+
type: string;
|
|
840
|
+
key: string;
|
|
841
|
+
}[];
|
|
742
842
|
})[];
|
|
743
843
|
appearance: ({
|
|
744
844
|
label: string;
|
|
@@ -783,12 +883,23 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
783
883
|
placeholder: string;
|
|
784
884
|
type: string;
|
|
785
885
|
key: string;
|
|
786
|
-
subQuestion?: undefined;
|
|
787
886
|
} | {
|
|
788
887
|
label: string;
|
|
789
888
|
type: string;
|
|
790
889
|
key: string;
|
|
791
890
|
placeholder?: undefined;
|
|
891
|
+
})[];
|
|
892
|
+
fieldProps: ({
|
|
893
|
+
label: string;
|
|
894
|
+
type: string;
|
|
895
|
+
key: string;
|
|
896
|
+
placeholder?: undefined;
|
|
897
|
+
subQuestion?: undefined;
|
|
898
|
+
} | {
|
|
899
|
+
label: string;
|
|
900
|
+
placeholder: string;
|
|
901
|
+
type: string;
|
|
902
|
+
key: string;
|
|
792
903
|
subQuestion?: undefined;
|
|
793
904
|
} | {
|
|
794
905
|
label: string;
|
|
@@ -802,17 +913,6 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
802
913
|
key: string;
|
|
803
914
|
}[];
|
|
804
915
|
})[];
|
|
805
|
-
fieldProps: ({
|
|
806
|
-
label: string;
|
|
807
|
-
type: string;
|
|
808
|
-
key: string;
|
|
809
|
-
placeholder?: undefined;
|
|
810
|
-
} | {
|
|
811
|
-
label: string;
|
|
812
|
-
placeholder: string;
|
|
813
|
-
type: string;
|
|
814
|
-
key: string;
|
|
815
|
-
})[];
|
|
816
916
|
appearance: ({
|
|
817
917
|
label: string;
|
|
818
918
|
type: string;
|
|
@@ -856,12 +956,23 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
856
956
|
placeholder: string;
|
|
857
957
|
type: string;
|
|
858
958
|
key: string;
|
|
859
|
-
subQuestion?: undefined;
|
|
860
959
|
} | {
|
|
861
960
|
label: string;
|
|
862
961
|
type: string;
|
|
863
962
|
key: string;
|
|
864
963
|
placeholder?: undefined;
|
|
964
|
+
})[];
|
|
965
|
+
fieldProps: ({
|
|
966
|
+
label: string;
|
|
967
|
+
type: string;
|
|
968
|
+
key: string;
|
|
969
|
+
placeholder?: undefined;
|
|
970
|
+
subQuestion?: undefined;
|
|
971
|
+
} | {
|
|
972
|
+
label: string;
|
|
973
|
+
placeholder: string;
|
|
974
|
+
type: string;
|
|
975
|
+
key: string;
|
|
865
976
|
subQuestion?: undefined;
|
|
866
977
|
} | {
|
|
867
978
|
label: string;
|
|
@@ -875,17 +986,6 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
875
986
|
key: string;
|
|
876
987
|
}[];
|
|
877
988
|
})[];
|
|
878
|
-
fieldProps: ({
|
|
879
|
-
label: string;
|
|
880
|
-
type: string;
|
|
881
|
-
key: string;
|
|
882
|
-
placeholder?: undefined;
|
|
883
|
-
} | {
|
|
884
|
-
label: string;
|
|
885
|
-
placeholder: string;
|
|
886
|
-
type: string;
|
|
887
|
-
key: string;
|
|
888
|
-
})[];
|
|
889
989
|
appearance: ({
|
|
890
990
|
label: string;
|
|
891
991
|
type: string;
|
|
@@ -929,12 +1029,23 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
929
1029
|
placeholder: string;
|
|
930
1030
|
type: string;
|
|
931
1031
|
key: string;
|
|
932
|
-
subQuestion?: undefined;
|
|
933
1032
|
} | {
|
|
934
1033
|
label: string;
|
|
935
1034
|
type: string;
|
|
936
1035
|
key: string;
|
|
937
1036
|
placeholder?: undefined;
|
|
1037
|
+
})[];
|
|
1038
|
+
fieldProps: ({
|
|
1039
|
+
label: string;
|
|
1040
|
+
type: string;
|
|
1041
|
+
key: string;
|
|
1042
|
+
placeholder?: undefined;
|
|
1043
|
+
subQuestion?: undefined;
|
|
1044
|
+
} | {
|
|
1045
|
+
label: string;
|
|
1046
|
+
placeholder: string;
|
|
1047
|
+
type: string;
|
|
1048
|
+
key: string;
|
|
938
1049
|
subQuestion?: undefined;
|
|
939
1050
|
} | {
|
|
940
1051
|
label: string;
|
|
@@ -948,17 +1059,6 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
948
1059
|
key: string;
|
|
949
1060
|
}[];
|
|
950
1061
|
})[];
|
|
951
|
-
fieldProps: ({
|
|
952
|
-
label: string;
|
|
953
|
-
type: string;
|
|
954
|
-
key: string;
|
|
955
|
-
placeholder?: undefined;
|
|
956
|
-
} | {
|
|
957
|
-
label: string;
|
|
958
|
-
placeholder: string;
|
|
959
|
-
type: string;
|
|
960
|
-
key: string;
|
|
961
|
-
})[];
|
|
962
1062
|
appearance: ({
|
|
963
1063
|
label: string;
|
|
964
1064
|
type: string;
|
|
@@ -1002,12 +1102,23 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1002
1102
|
placeholder: string;
|
|
1003
1103
|
type: string;
|
|
1004
1104
|
key: string;
|
|
1005
|
-
subQuestion?: undefined;
|
|
1006
1105
|
} | {
|
|
1007
1106
|
label: string;
|
|
1008
1107
|
type: string;
|
|
1009
1108
|
key: string;
|
|
1010
1109
|
placeholder?: undefined;
|
|
1110
|
+
})[];
|
|
1111
|
+
fieldProps: ({
|
|
1112
|
+
label: string;
|
|
1113
|
+
type: string;
|
|
1114
|
+
key: string;
|
|
1115
|
+
placeholder?: undefined;
|
|
1116
|
+
subQuestion?: undefined;
|
|
1117
|
+
} | {
|
|
1118
|
+
label: string;
|
|
1119
|
+
placeholder: string;
|
|
1120
|
+
type: string;
|
|
1121
|
+
key: string;
|
|
1011
1122
|
subQuestion?: undefined;
|
|
1012
1123
|
} | {
|
|
1013
1124
|
label: string;
|
|
@@ -1021,17 +1132,6 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1021
1132
|
key: string;
|
|
1022
1133
|
}[];
|
|
1023
1134
|
})[];
|
|
1024
|
-
fieldProps: ({
|
|
1025
|
-
label: string;
|
|
1026
|
-
type: string;
|
|
1027
|
-
key: string;
|
|
1028
|
-
placeholder?: undefined;
|
|
1029
|
-
} | {
|
|
1030
|
-
label: string;
|
|
1031
|
-
placeholder: string;
|
|
1032
|
-
type: string;
|
|
1033
|
-
key: string;
|
|
1034
|
-
})[];
|
|
1035
1135
|
appearance: ({
|
|
1036
1136
|
label: string;
|
|
1037
1137
|
type: string;
|
|
@@ -1075,24 +1175,11 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1075
1175
|
placeholder: string;
|
|
1076
1176
|
type: string;
|
|
1077
1177
|
key: string;
|
|
1078
|
-
subQuestion?: undefined;
|
|
1079
1178
|
} | {
|
|
1080
1179
|
label: string;
|
|
1081
1180
|
type: string;
|
|
1082
1181
|
key: string;
|
|
1083
1182
|
placeholder?: undefined;
|
|
1084
|
-
subQuestion?: undefined;
|
|
1085
|
-
} | {
|
|
1086
|
-
label: string;
|
|
1087
|
-
placeholder: string;
|
|
1088
|
-
type: string;
|
|
1089
|
-
key: string;
|
|
1090
|
-
subQuestion: {
|
|
1091
|
-
label: string;
|
|
1092
|
-
placeholder: string;
|
|
1093
|
-
type: string;
|
|
1094
|
-
key: string;
|
|
1095
|
-
}[];
|
|
1096
1183
|
})[];
|
|
1097
1184
|
fieldProps: ({
|
|
1098
1185
|
label: string;
|
|
@@ -1101,6 +1188,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1101
1188
|
placeholder?: undefined;
|
|
1102
1189
|
addOptionLabel?: undefined;
|
|
1103
1190
|
icon?: undefined;
|
|
1191
|
+
subQuestion?: undefined;
|
|
1104
1192
|
} | {
|
|
1105
1193
|
label: string;
|
|
1106
1194
|
placeholder: string;
|
|
@@ -1108,6 +1196,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1108
1196
|
key: string;
|
|
1109
1197
|
addOptionLabel?: undefined;
|
|
1110
1198
|
icon?: undefined;
|
|
1199
|
+
subQuestion?: undefined;
|
|
1111
1200
|
} | {
|
|
1112
1201
|
label: string;
|
|
1113
1202
|
type: string;
|
|
@@ -1115,6 +1204,20 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1115
1204
|
addOptionLabel: string;
|
|
1116
1205
|
icon: string;
|
|
1117
1206
|
placeholder?: undefined;
|
|
1207
|
+
subQuestion?: undefined;
|
|
1208
|
+
} | {
|
|
1209
|
+
label: string;
|
|
1210
|
+
placeholder: string;
|
|
1211
|
+
type: string;
|
|
1212
|
+
key: string;
|
|
1213
|
+
subQuestion: {
|
|
1214
|
+
label: string;
|
|
1215
|
+
placeholder: string;
|
|
1216
|
+
type: string;
|
|
1217
|
+
key: string;
|
|
1218
|
+
}[];
|
|
1219
|
+
addOptionLabel?: undefined;
|
|
1220
|
+
icon?: undefined;
|
|
1118
1221
|
})[];
|
|
1119
1222
|
appearance: ({
|
|
1120
1223
|
label: string;
|
|
@@ -1159,12 +1262,23 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1159
1262
|
placeholder: string;
|
|
1160
1263
|
type: string;
|
|
1161
1264
|
key: string;
|
|
1162
|
-
subQuestion?: undefined;
|
|
1163
1265
|
} | {
|
|
1164
1266
|
label: string;
|
|
1165
1267
|
type: string;
|
|
1166
1268
|
key: string;
|
|
1167
1269
|
placeholder?: undefined;
|
|
1270
|
+
})[];
|
|
1271
|
+
fieldProps: ({
|
|
1272
|
+
label: string;
|
|
1273
|
+
type: string;
|
|
1274
|
+
key: string;
|
|
1275
|
+
placeholder?: undefined;
|
|
1276
|
+
subQuestion?: undefined;
|
|
1277
|
+
} | {
|
|
1278
|
+
label: string;
|
|
1279
|
+
placeholder: string;
|
|
1280
|
+
type: string;
|
|
1281
|
+
key: string;
|
|
1168
1282
|
subQuestion?: undefined;
|
|
1169
1283
|
} | {
|
|
1170
1284
|
label: string;
|
|
@@ -1178,17 +1292,6 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1178
1292
|
key: string;
|
|
1179
1293
|
}[];
|
|
1180
1294
|
})[];
|
|
1181
|
-
fieldProps: ({
|
|
1182
|
-
label: string;
|
|
1183
|
-
type: string;
|
|
1184
|
-
key: string;
|
|
1185
|
-
placeholder?: undefined;
|
|
1186
|
-
} | {
|
|
1187
|
-
label: string;
|
|
1188
|
-
placeholder: string;
|
|
1189
|
-
type: string;
|
|
1190
|
-
key: string;
|
|
1191
|
-
})[];
|
|
1192
1295
|
appearance: ({
|
|
1193
1296
|
label: string;
|
|
1194
1297
|
type: string;
|
|
@@ -1232,24 +1335,11 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1232
1335
|
placeholder: string;
|
|
1233
1336
|
type: string;
|
|
1234
1337
|
key: string;
|
|
1235
|
-
subQuestion?: undefined;
|
|
1236
1338
|
} | {
|
|
1237
1339
|
label: string;
|
|
1238
1340
|
type: string;
|
|
1239
1341
|
key: string;
|
|
1240
1342
|
placeholder?: undefined;
|
|
1241
|
-
subQuestion?: undefined;
|
|
1242
|
-
} | {
|
|
1243
|
-
label: string;
|
|
1244
|
-
placeholder: string;
|
|
1245
|
-
type: string;
|
|
1246
|
-
key: string;
|
|
1247
|
-
subQuestion: {
|
|
1248
|
-
label: string;
|
|
1249
|
-
placeholder: string;
|
|
1250
|
-
type: string;
|
|
1251
|
-
key: string;
|
|
1252
|
-
}[];
|
|
1253
1343
|
})[];
|
|
1254
1344
|
fieldProps: ({
|
|
1255
1345
|
label: string;
|
|
@@ -1258,6 +1348,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1258
1348
|
placeholder?: undefined;
|
|
1259
1349
|
addOptionLabel?: undefined;
|
|
1260
1350
|
icon?: undefined;
|
|
1351
|
+
subQuestion?: undefined;
|
|
1261
1352
|
} | {
|
|
1262
1353
|
label: string;
|
|
1263
1354
|
placeholder: string;
|
|
@@ -1265,6 +1356,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1265
1356
|
key: string;
|
|
1266
1357
|
addOptionLabel?: undefined;
|
|
1267
1358
|
icon?: undefined;
|
|
1359
|
+
subQuestion?: undefined;
|
|
1268
1360
|
} | {
|
|
1269
1361
|
label: string;
|
|
1270
1362
|
type: string;
|
|
@@ -1272,6 +1364,20 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1272
1364
|
addOptionLabel: string;
|
|
1273
1365
|
icon: string;
|
|
1274
1366
|
placeholder?: undefined;
|
|
1367
|
+
subQuestion?: undefined;
|
|
1368
|
+
} | {
|
|
1369
|
+
label: string;
|
|
1370
|
+
placeholder: string;
|
|
1371
|
+
type: string;
|
|
1372
|
+
key: string;
|
|
1373
|
+
subQuestion: {
|
|
1374
|
+
label: string;
|
|
1375
|
+
placeholder: string;
|
|
1376
|
+
type: string;
|
|
1377
|
+
key: string;
|
|
1378
|
+
}[];
|
|
1379
|
+
addOptionLabel?: undefined;
|
|
1380
|
+
icon?: undefined;
|
|
1275
1381
|
})[];
|
|
1276
1382
|
appearance: ({
|
|
1277
1383
|
label: string;
|
|
@@ -1316,12 +1422,23 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1316
1422
|
placeholder: string;
|
|
1317
1423
|
type: string;
|
|
1318
1424
|
key: string;
|
|
1319
|
-
subQuestion?: undefined;
|
|
1320
1425
|
} | {
|
|
1321
1426
|
label: string;
|
|
1322
1427
|
type: string;
|
|
1323
1428
|
key: string;
|
|
1324
1429
|
placeholder?: undefined;
|
|
1430
|
+
})[];
|
|
1431
|
+
fieldProps: ({
|
|
1432
|
+
label: string;
|
|
1433
|
+
type: string;
|
|
1434
|
+
key: string;
|
|
1435
|
+
placeholder?: undefined;
|
|
1436
|
+
subQuestion?: undefined;
|
|
1437
|
+
} | {
|
|
1438
|
+
label: string;
|
|
1439
|
+
placeholder: string;
|
|
1440
|
+
type: string;
|
|
1441
|
+
key: string;
|
|
1325
1442
|
subQuestion?: undefined;
|
|
1326
1443
|
} | {
|
|
1327
1444
|
label: string;
|
|
@@ -1335,17 +1452,6 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1335
1452
|
key: string;
|
|
1336
1453
|
}[];
|
|
1337
1454
|
})[];
|
|
1338
|
-
fieldProps: ({
|
|
1339
|
-
label: string;
|
|
1340
|
-
type: string;
|
|
1341
|
-
key: string;
|
|
1342
|
-
placeholder?: undefined;
|
|
1343
|
-
} | {
|
|
1344
|
-
label: string;
|
|
1345
|
-
placeholder: string;
|
|
1346
|
-
type: string;
|
|
1347
|
-
key: string;
|
|
1348
|
-
})[];
|
|
1349
1455
|
appearance: ({
|
|
1350
1456
|
label: string;
|
|
1351
1457
|
type: string;
|
|
@@ -1388,14 +1494,19 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1388
1494
|
ngOnInit(): void;
|
|
1389
1495
|
updateTitle(event: any): void;
|
|
1390
1496
|
validateInput(value: string, type: string): boolean;
|
|
1497
|
+
get fieldAsString(): string;
|
|
1498
|
+
updateField(value: string): void;
|
|
1391
1499
|
get filteredColumns(): any[];
|
|
1392
1500
|
onCheckboxChange(targetArrayPath: any, targetArrayKey: any, key: any, apiName: string, isChecked: boolean): void;
|
|
1393
1501
|
updateProperty(key: string, value: any): void;
|
|
1394
1502
|
onRadioChange(targetArrayPath: any, targetArrayKey: any, key: any, value: any): void;
|
|
1395
1503
|
onRequiredChange(value: boolean): void;
|
|
1504
|
+
toggleSubQuestion(prop: any): void;
|
|
1505
|
+
isStyleExpanded: boolean;
|
|
1506
|
+
toggleStyleSection(): void;
|
|
1396
1507
|
getProperties(): any;
|
|
1397
1508
|
addOption(options: any[]): void;
|
|
1398
|
-
removeOption(options: any[],
|
|
1509
|
+
removeOption(options: any[], id: string): void;
|
|
1399
1510
|
handleButtonClick(): void;
|
|
1400
1511
|
setActiveTab(tab: string): void;
|
|
1401
1512
|
onSave(): void;
|
|
@@ -1427,7 +1538,12 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1427
1538
|
imageCropped(event: any): Promise<void>;
|
|
1428
1539
|
cropperReady(sourceImageDimensions: Dimensions): void;
|
|
1429
1540
|
convertBlobToBase64(objectUrl: string): Promise<string>;
|
|
1430
|
-
childEventCapture(event: any
|
|
1541
|
+
childEventCapture(event: any): void;
|
|
1542
|
+
linkToggleDropdown(event: Event): void;
|
|
1543
|
+
onClickOutside(event: Event): void;
|
|
1544
|
+
onDragStart(event: DragEvent, id: string): void;
|
|
1545
|
+
onDragOver(event: DragEvent): void;
|
|
1546
|
+
onDrop(event: DragEvent, key: string): void;
|
|
1431
1547
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertiesComponent, never>;
|
|
1432
1548
|
static ɵcmp: i0.ɵɵComponentDeclaration<PropertiesComponent, "app-properties", never, { "selectedElementType": { "alias": "selectedElementType"; "required": false; }; }, { "formButtonHandler": "formButtonHandler"; }, never, never, false, never>;
|
|
1433
1549
|
}
|