@rangertechnologies/ngnxt 2.1.359 → 2.1.360

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/fesm2022/rangertechnologies-ngnxt.mjs +234 -236
  2. package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
  3. package/package.json +5 -4
  4. package/rangertechnologies-ngnxt-2.1.360.tgz +0 -0
  5. package/types/rangertechnologies-ngnxt.d.ts +2294 -0
  6. package/environments/version.d.ts +0 -11
  7. package/index.d.ts +0 -5
  8. package/lib/components/button/nxt-button.component.d.ts +0 -49
  9. package/lib/components/custom-calendar/custom-calendar.component.d.ts +0 -63
  10. package/lib/components/custom-model/custom-model.component.d.ts +0 -19
  11. package/lib/components/custom-radio/custom-radio.component.d.ts +0 -44
  12. package/lib/components/datatable/datatable.component.d.ts +0 -377
  13. package/lib/components/file-upload/file-upload.component.d.ts +0 -91
  14. package/lib/components/formula-input/formula-input.component.d.ts +0 -39
  15. package/lib/components/icon-selector/icon-selector.component.d.ts +0 -34
  16. package/lib/components/image-cropper/component/cropper.state.d.ts +0 -29
  17. package/lib/components/image-cropper/component/image-cropper.component.d.ts +0 -109
  18. package/lib/components/image-cropper/interfaces/basic-event.interface.d.ts +0 -4
  19. package/lib/components/image-cropper/interfaces/cropper-options.interface.d.ts +0 -28
  20. package/lib/components/image-cropper/interfaces/cropper-position.interface.d.ts +0 -6
  21. package/lib/components/image-cropper/interfaces/dimensions.interface.d.ts +0 -4
  22. package/lib/components/image-cropper/interfaces/exif-transform.interface.d.ts +0 -4
  23. package/lib/components/image-cropper/interfaces/image-cropped-event.interface.d.ts +0 -11
  24. package/lib/components/image-cropper/interfaces/image-transform.interface.d.ts +0 -9
  25. package/lib/components/image-cropper/interfaces/index.d.ts +0 -7
  26. package/lib/components/image-cropper/interfaces/loaded-image.interface.d.ts +0 -15
  27. package/lib/components/image-cropper/interfaces/move-start.interface.d.ts +0 -17
  28. package/lib/components/image-cropper/services/crop.service.d.ts +0 -13
  29. package/lib/components/image-cropper/services/load-image.service.d.ts +0 -17
  30. package/lib/components/image-cropper/utils/cropper-position.utils.d.ts +0 -11
  31. package/lib/components/image-cropper/utils/exif.utils.d.ts +0 -3
  32. package/lib/components/image-cropper/utils/keyboard.utils.d.ts +0 -5
  33. package/lib/components/image-cropper/utils/percentage.utils.d.ts +0 -1
  34. package/lib/components/image-cropper/utils/resize.utils.d.ts +0 -1
  35. package/lib/components/list-view-filter/list-view-filter.component.d.ts +0 -109
  36. package/lib/components/nxt-datepicker/custom-datepicker/custom-datepicker.component.d.ts +0 -68
  37. package/lib/components/nxt-datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +0 -50
  38. package/lib/components/nxt-datepicker/nxt-datepicker.component.d.ts +0 -20
  39. package/lib/components/nxt-dropdown/nxt-dropdown.component.d.ts +0 -63
  40. package/lib/components/nxt-input/nxt-input.component.d.ts +0 -208
  41. package/lib/components/nxt-multi-select/nxt-multi-select.component.d.ts +0 -102
  42. package/lib/components/pagination/pagination.component.d.ts +0 -37
  43. package/lib/components/search-box/search-box.component.d.ts +0 -72
  44. package/lib/interfaces/actionMeta.d.ts +0 -6
  45. package/lib/interfaces/dependencyMeta.d.ts +0 -8
  46. package/lib/model/bookletWrapper.d.ts +0 -4
  47. package/lib/model/changeWrapper.d.ts +0 -9
  48. package/lib/model/errorWrapper.d.ts +0 -5
  49. package/lib/nxt-app.component.d.ts +0 -8
  50. package/lib/nxt-app.module.d.ts +0 -23
  51. package/lib/nxt-app.service.d.ts +0 -6
  52. package/lib/pages/booklet/booklet.component.d.ts +0 -99
  53. package/lib/pages/builder/element/element.component.d.ts +0 -64
  54. package/lib/pages/builder/form/form.component.d.ts +0 -15
  55. package/lib/pages/builder/properties/common-fields.constants.d.ts +0 -173
  56. package/lib/pages/builder/properties/properties.component.d.ts +0 -485
  57. package/lib/pages/pdfDesigner/pdf-designer/booklet.component.d.ts +0 -49
  58. package/lib/pages/pdfDesigner/pdf-designer/pdf-designer.component.d.ts +0 -205
  59. package/lib/pages/pdfDesigner/pdf-properties/pdf-properties.component.d.ts +0 -1449
  60. package/lib/pages/questionbook/questionbook.component.d.ts +0 -110
  61. package/lib/pages/questionnaire/questionnaire.component.d.ts +0 -214
  62. package/lib/pipe/NxtDate.pipe.d.ts +0 -14
  63. package/lib/pipe/amount-in-words/amount-in-words.pipe.d.ts +0 -9
  64. package/lib/pipe/button-styles.pipe.d.ts +0 -9
  65. package/lib/pipe/custom-translate.pipe.d.ts +0 -10
  66. package/lib/pipe/get-value.pipe.d.ts +0 -12
  67. package/lib/pipe/question-by-row.pipe.d.ts +0 -9
  68. package/lib/pipe/search-filter/search-filter.pipe.d.ts +0 -8
  69. package/lib/services/GoogleMapsLoaderService/google-maps-loader-service.service.d.ts +0 -7
  70. package/lib/services/change/change.service.d.ts +0 -21
  71. package/lib/services/country/country.service.d.ts +0 -54
  72. package/lib/services/data/data.service.d.ts +0 -18
  73. package/lib/services/form-builder/form-builder.service.d.ts +0 -103
  74. package/lib/services/pdf-designer/pdf-designer.service.d.ts +0 -189
  75. package/lib/services/salesforce/salesforce.service.d.ts +0 -11
  76. package/lib/services/shared/shared.service.d.ts +0 -15
  77. package/lib/services/storage/storage.service.d.ts +0 -20
  78. package/lib/services/template/template.service.d.ts +0 -18
  79. package/lib/services/translation/indexeddb-reader.service.d.ts +0 -13
  80. package/lib/services/translation/translation.service.d.ts +0 -32
  81. package/public-api.d.ts +0 -19
  82. package/rangertechnologies-ngnxt-2.1.359.tgz +0 -0
@@ -1,1449 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { ElementRef, EventEmitter } from '@angular/core';
3
- import { CropperPosition, Dimensions, ImageTransform } from '../../../components/image-cropper/interfaces';
4
- import { PdfDesignerService } from '../../../services/pdf-designer/pdf-designer.service';
5
- import { TemplateService } from '../../../services/template/template.service';
6
- import { DataService } from '../../../services/data/data.service';
7
- import { QuillModules } from 'ngx-quill';
8
- import * as i0 from "@angular/core";
9
- export declare class PdfPropertiesComponent {
10
- private dataService;
11
- private http;
12
- private pdfDesignerService;
13
- private templateService;
14
- formButtonHandler: EventEmitter<any>;
15
- templateSaveHandler: EventEmitter<any>;
16
- selectedOption: string;
17
- selectedElementIndex: number;
18
- selectedElementType: string;
19
- selectedAlign: string;
20
- selectedStyles: string[];
21
- selectedElement: any;
22
- headerSelect: boolean;
23
- bookId: any;
24
- pdf: any;
25
- activeTab: string;
26
- selectColumn: any;
27
- transform: ImageTransform;
28
- canvasRotation: number;
29
- cropper?: CropperPosition;
30
- loading: boolean;
31
- cropperMaxHeight: number;
32
- cropperMaxWidth: number;
33
- cropperMinHeight: number;
34
- cropperMinWidth: number;
35
- cropperStaticWidth: number;
36
- cropperStaticHeight: number;
37
- aspectRatio: number;
38
- roundCropper: boolean;
39
- imageChangedEvent: Event | null;
40
- alignImage: "center";
41
- bookSubtext: {
42
- endpoint: string;
43
- variable: any;
44
- field: string[];
45
- defaultField: string;
46
- isObject: boolean;
47
- };
48
- isLinkDropdownOpen: boolean;
49
- fieldAsString: string;
50
- filteredColumns: any[];
51
- richTextModules: QuillModules;
52
- templateSelected: boolean;
53
- dropdown: ElementRef;
54
- draggedId: string | null;
55
- pdfElements: any[];
56
- unique_id: string;
57
- selectedTemplate: any;
58
- subtext: {
59
- label: string;
60
- type: string;
61
- key: string;
62
- labelPath: string;
63
- subQuestion: {
64
- label: string;
65
- placeholder: string;
66
- type: string;
67
- key: string;
68
- labelPath: string;
69
- }[];
70
- };
71
- elementProperties: {
72
- Header: {
73
- elementProps: {
74
- label: string;
75
- labelPath: string;
76
- placeholder: string;
77
- type: string;
78
- key: string;
79
- }[];
80
- };
81
- text: {
82
- elementProps: ({
83
- label: string;
84
- labelPath: string;
85
- placeholder: string;
86
- type: string;
87
- key: string;
88
- isTranslate?: undefined;
89
- } | {
90
- label: string;
91
- placeholder: string;
92
- type: string;
93
- key: string;
94
- isTranslate: boolean;
95
- labelPath: string;
96
- } | {
97
- label: string;
98
- labelPath: string;
99
- type: string;
100
- key: string;
101
- placeholder?: undefined;
102
- isTranslate?: undefined;
103
- })[];
104
- fieldProps: ({
105
- label: string;
106
- type: string;
107
- key: string;
108
- labelPath: string;
109
- subQuestion: {
110
- label: string;
111
- placeholder: string;
112
- type: string;
113
- key: string;
114
- labelPath: string;
115
- }[];
116
- } | {
117
- label: string;
118
- labelPath: string;
119
- type: string;
120
- key: string;
121
- placeholder?: undefined;
122
- } | {
123
- label: string;
124
- labelPath: string;
125
- placeholder: string;
126
- type: string;
127
- key: string;
128
- })[];
129
- appearance: ({
130
- label: string;
131
- labelPath: string;
132
- type: string;
133
- key: string;
134
- placeholder: string;
135
- options: {
136
- value: string;
137
- label: string;
138
- labelPath: string;
139
- }[];
140
- value?: undefined;
141
- } | {
142
- label: string;
143
- labelPath: string;
144
- type: string;
145
- key: string;
146
- value: string;
147
- placeholder?: undefined;
148
- options?: undefined;
149
- } | {
150
- label: string;
151
- labelPath: string;
152
- type: string;
153
- key: string;
154
- value: number;
155
- placeholder?: undefined;
156
- options?: undefined;
157
- } | {
158
- label: string;
159
- labelPath: string;
160
- type: string;
161
- key: string;
162
- value: string;
163
- options: {
164
- value: string;
165
- label: string;
166
- labelPath: string;
167
- }[];
168
- placeholder?: undefined;
169
- } | {
170
- label: string;
171
- labelPath: string;
172
- type: string;
173
- key: string;
174
- placeholder: string;
175
- value: number[];
176
- options?: undefined;
177
- })[];
178
- };
179
- currency: {
180
- elementProps: ({
181
- label: string;
182
- labelPath: string;
183
- placeholder: string;
184
- type: string;
185
- key: string;
186
- isTranslate?: undefined;
187
- } | {
188
- label: string;
189
- placeholder: string;
190
- type: string;
191
- key: string;
192
- isTranslate: boolean;
193
- labelPath: string;
194
- } | {
195
- label: string;
196
- labelPath: string;
197
- type: string;
198
- key: string;
199
- placeholder?: undefined;
200
- isTranslate?: undefined;
201
- })[];
202
- fieldProps: ({
203
- label: string;
204
- type: string;
205
- key: string;
206
- labelPath: string;
207
- subQuestion: {
208
- label: string;
209
- placeholder: string;
210
- type: string;
211
- key: string;
212
- labelPath: string;
213
- }[];
214
- } | {
215
- label: string;
216
- labelPath: string;
217
- type: string;
218
- key: string;
219
- placeholder?: undefined;
220
- } | {
221
- label: string;
222
- labelPath: string;
223
- placeholder: string;
224
- type: string;
225
- key: string;
226
- })[];
227
- appearance: ({
228
- label: string;
229
- labelPath: string;
230
- type: string;
231
- key: string;
232
- placeholder: string;
233
- options: {
234
- value: string;
235
- label: string;
236
- labelPath: string;
237
- }[];
238
- value?: undefined;
239
- } | {
240
- label: string;
241
- labelPath: string;
242
- type: string;
243
- key: string;
244
- value: string;
245
- placeholder?: undefined;
246
- options?: undefined;
247
- } | {
248
- label: string;
249
- labelPath: string;
250
- type: string;
251
- key: string;
252
- value: number;
253
- placeholder?: undefined;
254
- options?: undefined;
255
- } | {
256
- label: string;
257
- labelPath: string;
258
- type: string;
259
- key: string;
260
- value: string;
261
- options: {
262
- value: string;
263
- label: string;
264
- labelPath: string;
265
- }[];
266
- placeholder?: undefined;
267
- } | {
268
- label: string;
269
- labelPath: string;
270
- type: string;
271
- key: string;
272
- placeholder: string;
273
- value: number[];
274
- options?: undefined;
275
- })[];
276
- };
277
- date: {
278
- elementProps: ({
279
- label: string;
280
- placeholder: string;
281
- type: string;
282
- key: string;
283
- isTranslate?: undefined;
284
- labelPath?: undefined;
285
- } | {
286
- label: string;
287
- placeholder: string;
288
- type: string;
289
- key: string;
290
- isTranslate: boolean;
291
- labelPath: string;
292
- } | {
293
- label: string;
294
- type: string;
295
- key: string;
296
- placeholder?: undefined;
297
- isTranslate?: undefined;
298
- labelPath?: undefined;
299
- } | {
300
- label: string;
301
- labelPath: string;
302
- type: string;
303
- key: string;
304
- placeholder?: undefined;
305
- isTranslate?: undefined;
306
- })[];
307
- fieldProps: ({
308
- label: string;
309
- type: string;
310
- key: string;
311
- labelPath: string;
312
- subQuestion: {
313
- label: string;
314
- placeholder: string;
315
- type: string;
316
- key: string;
317
- labelPath: string;
318
- }[];
319
- } | {
320
- label: string;
321
- type: string;
322
- key: string;
323
- placeholder?: undefined;
324
- } | {
325
- label: string;
326
- placeholder: string;
327
- type: string;
328
- key: string;
329
- })[];
330
- appearance: ({
331
- label: string;
332
- type: string;
333
- key: string;
334
- placeholder: string;
335
- options: {
336
- value: string;
337
- label: string;
338
- labelPath: string;
339
- }[];
340
- value?: undefined;
341
- } | {
342
- label: string;
343
- type: string;
344
- key: string;
345
- value: string;
346
- placeholder?: undefined;
347
- options?: undefined;
348
- } | {
349
- label: string;
350
- type: string;
351
- key: string;
352
- value: number;
353
- placeholder?: undefined;
354
- options?: undefined;
355
- } | {
356
- label: string;
357
- type: string;
358
- key: string;
359
- value: string;
360
- options: {
361
- value: string;
362
- label: string;
363
- }[];
364
- placeholder?: undefined;
365
- } | {
366
- label: string;
367
- type: string;
368
- key: string;
369
- placeholder: string;
370
- value: number[];
371
- options?: undefined;
372
- })[];
373
- };
374
- Section: {
375
- elementProps: ({
376
- label: string;
377
- labelPath: string;
378
- type: string;
379
- key: string;
380
- placeholder?: undefined;
381
- } | {
382
- label: string;
383
- placeholder: string;
384
- type: string;
385
- key: string;
386
- labelPath?: undefined;
387
- })[];
388
- fieldProps: ({
389
- label: string;
390
- type: string;
391
- key: string;
392
- labelPath: string;
393
- subQuestion: {
394
- label: string;
395
- placeholder: string;
396
- type: string;
397
- key: string;
398
- labelPath: string;
399
- }[];
400
- } | {
401
- label: string;
402
- labelPath: string;
403
- placeholder: string;
404
- type: string;
405
- key: string;
406
- })[];
407
- appearance: ({
408
- label: string;
409
- labelPath: string;
410
- type: string;
411
- key: string;
412
- value: string;
413
- options?: undefined;
414
- placeholder?: undefined;
415
- } | {
416
- label: string;
417
- type: string;
418
- key: string;
419
- value: string;
420
- labelPath?: undefined;
421
- options?: undefined;
422
- placeholder?: undefined;
423
- } | {
424
- label: string;
425
- labelPath: string;
426
- type: string;
427
- key: string;
428
- value: number;
429
- options?: undefined;
430
- placeholder?: undefined;
431
- } | {
432
- label: string;
433
- labelPath: string;
434
- type: string;
435
- key: string;
436
- value: string;
437
- options: {
438
- value: string;
439
- label: string;
440
- labelPath: string;
441
- }[];
442
- placeholder?: undefined;
443
- } | {
444
- label: string;
445
- labelPath: string;
446
- type: string;
447
- key: string;
448
- placeholder: string;
449
- value: number[];
450
- options?: undefined;
451
- })[];
452
- };
453
- RichText: {
454
- elementProps: {
455
- label: string;
456
- labelPath: string;
457
- type: string;
458
- key: string;
459
- }[];
460
- fieldProps: ({
461
- label: string;
462
- type: string;
463
- key: string;
464
- labelPath: string;
465
- subQuestion: {
466
- label: string;
467
- placeholder: string;
468
- type: string;
469
- key: string;
470
- labelPath: string;
471
- }[];
472
- } | {
473
- label: string;
474
- labelPath: string;
475
- placeholder: string;
476
- type: string;
477
- key: string;
478
- })[];
479
- appearance: ({
480
- label: string;
481
- labelPath: string;
482
- type: string;
483
- key: string;
484
- value: string;
485
- placeholder?: undefined;
486
- options?: undefined;
487
- } | {
488
- label: string;
489
- type: string;
490
- key: string;
491
- value: string;
492
- labelPath?: undefined;
493
- placeholder?: undefined;
494
- options?: undefined;
495
- } | {
496
- label: string;
497
- labelPath: string;
498
- type: string;
499
- key: string;
500
- value: number;
501
- placeholder?: undefined;
502
- options?: undefined;
503
- } | {
504
- label: string;
505
- type: string;
506
- key: string;
507
- value: number;
508
- labelPath?: undefined;
509
- placeholder?: undefined;
510
- options?: undefined;
511
- } | {
512
- label: string;
513
- labelPath: string;
514
- type: string;
515
- key: string;
516
- placeholder: string;
517
- value: number[];
518
- options?: undefined;
519
- } | {
520
- label: string;
521
- labelPath: string;
522
- type: string;
523
- key: string;
524
- value: string;
525
- options: {
526
- label: string;
527
- labelPath: string;
528
- value: string;
529
- }[];
530
- placeholder?: undefined;
531
- })[];
532
- };
533
- Note: {
534
- elementProps: ({
535
- label: string;
536
- labelPath: string;
537
- type: string;
538
- key: string;
539
- placeholder?: undefined;
540
- } | {
541
- label: string;
542
- placeholder: string;
543
- type: string;
544
- key: string;
545
- labelPath?: undefined;
546
- })[];
547
- fieldProps: ({
548
- label: string;
549
- type: string;
550
- key: string;
551
- labelPath: string;
552
- subQuestion: {
553
- label: string;
554
- placeholder: string;
555
- type: string;
556
- key: string;
557
- labelPath: string;
558
- }[];
559
- } | {
560
- label: string;
561
- labelPath: string;
562
- placeholder: string;
563
- type: string;
564
- key: string;
565
- })[];
566
- appearance: ({
567
- label: string;
568
- labelPath: string;
569
- type: string;
570
- key: string;
571
- value: string;
572
- placeholder?: undefined;
573
- } | {
574
- label: string;
575
- type: string;
576
- key: string;
577
- value: string;
578
- labelPath?: undefined;
579
- placeholder?: undefined;
580
- } | {
581
- label: string;
582
- labelPath: string;
583
- type: string;
584
- key: string;
585
- value: number;
586
- placeholder?: undefined;
587
- } | {
588
- label: string;
589
- labelPath: string;
590
- type: string;
591
- key: string;
592
- placeholder: string;
593
- value: number[];
594
- })[];
595
- };
596
- PageBreak: {
597
- elementProps: ({
598
- label: string;
599
- labelPath: string;
600
- type: string;
601
- key: string;
602
- value?: undefined;
603
- options?: undefined;
604
- } | {
605
- label: string;
606
- type: string;
607
- key: string;
608
- value: string;
609
- options: {
610
- label: string;
611
- value: string;
612
- }[];
613
- labelPath?: undefined;
614
- })[];
615
- fieldProps: any[];
616
- appearance: any[];
617
- };
618
- PdfMake: {
619
- elementProps: {
620
- label: string;
621
- labelPath: string;
622
- type: string;
623
- key: string;
624
- }[];
625
- fieldProps: {
626
- label: string;
627
- placeholder: string;
628
- type: string;
629
- key: string;
630
- }[];
631
- appearance: any[];
632
- };
633
- Pdf: {
634
- elementProps: ({
635
- label: string;
636
- labelPath: string;
637
- type: string;
638
- key: string;
639
- placeholder?: undefined;
640
- isTranslate?: undefined;
641
- } | {
642
- label: string;
643
- placeholder: string;
644
- type: string;
645
- key: string;
646
- isTranslate: boolean;
647
- labelPath: string;
648
- })[];
649
- fieldProps: ({
650
- label: string;
651
- type: string;
652
- key: string;
653
- labelPath: string;
654
- subQuestion: {
655
- label: string;
656
- placeholder: string;
657
- type: string;
658
- key: string;
659
- labelPath: string;
660
- }[];
661
- } | {
662
- label: string;
663
- labelPath: string;
664
- placeholder: string;
665
- type: string;
666
- key: string;
667
- })[];
668
- appearance: any[];
669
- };
670
- Line: {
671
- elementProps: ({
672
- label: string;
673
- type: string;
674
- key: string;
675
- placeholder?: undefined;
676
- options?: undefined;
677
- labelPath?: undefined;
678
- } | {
679
- label: string;
680
- type: string;
681
- key: string;
682
- placeholder: string;
683
- options?: undefined;
684
- labelPath?: undefined;
685
- } | {
686
- label: string;
687
- type: string;
688
- key: string;
689
- options: {
690
- value: string;
691
- label: string;
692
- labelPath: string;
693
- }[];
694
- placeholder?: undefined;
695
- labelPath?: undefined;
696
- } | {
697
- label: string;
698
- labelPath: string;
699
- type: string;
700
- key: string;
701
- placeholder?: undefined;
702
- options?: undefined;
703
- })[];
704
- fieldProps: any[];
705
- appearance: ({
706
- label: string;
707
- type: string;
708
- key: string;
709
- placeholder: string;
710
- options: {
711
- value: string;
712
- label: string;
713
- labelPath: string;
714
- }[];
715
- value?: undefined;
716
- } | {
717
- label: string;
718
- type: string;
719
- key: string;
720
- value: string;
721
- placeholder?: undefined;
722
- options?: undefined;
723
- } | {
724
- label: string;
725
- type: string;
726
- key: string;
727
- value: number;
728
- placeholder?: undefined;
729
- options?: undefined;
730
- } | {
731
- label: string;
732
- type: string;
733
- key: string;
734
- value: string;
735
- options: {
736
- value: string;
737
- label: string;
738
- }[];
739
- placeholder?: undefined;
740
- } | {
741
- label: string;
742
- type: string;
743
- key: string;
744
- placeholder: string;
745
- value: number[];
746
- options?: undefined;
747
- })[];
748
- };
749
- Space: {
750
- elementProps: ({
751
- label: string;
752
- type: string;
753
- key: string;
754
- labelPath?: undefined;
755
- } | {
756
- label: string;
757
- labelPath: string;
758
- type: string;
759
- key: string;
760
- })[];
761
- fieldProps: any[];
762
- appearance: ({
763
- label: string;
764
- type: string;
765
- key: string;
766
- placeholder: string;
767
- options: {
768
- value: string;
769
- label: string;
770
- labelPath: string;
771
- }[];
772
- value?: undefined;
773
- } | {
774
- label: string;
775
- type: string;
776
- key: string;
777
- value: string;
778
- placeholder?: undefined;
779
- options?: undefined;
780
- } | {
781
- label: string;
782
- type: string;
783
- key: string;
784
- value: number;
785
- placeholder?: undefined;
786
- options?: undefined;
787
- } | {
788
- label: string;
789
- type: string;
790
- key: string;
791
- value: string;
792
- options: {
793
- value: string;
794
- label: string;
795
- }[];
796
- placeholder?: undefined;
797
- } | {
798
- label: string;
799
- type: string;
800
- key: string;
801
- placeholder: string;
802
- value: number[];
803
- options?: undefined;
804
- })[];
805
- };
806
- Table: {
807
- elementProps: ({
808
- label: string;
809
- placeholder: string;
810
- type: string;
811
- key: string;
812
- isTranslate?: undefined;
813
- labelPath?: undefined;
814
- } | {
815
- label: string;
816
- placeholder: string;
817
- type: string;
818
- key: string;
819
- isTranslate: boolean;
820
- labelPath: string;
821
- } | {
822
- label: string;
823
- type: string;
824
- key: string;
825
- placeholder?: undefined;
826
- isTranslate?: undefined;
827
- labelPath?: undefined;
828
- } | {
829
- label: string;
830
- labelPath: string;
831
- type: string;
832
- key: string;
833
- placeholder?: undefined;
834
- isTranslate?: undefined;
835
- })[];
836
- fieldProps: ({
837
- label: string;
838
- placeholder: string;
839
- type: string;
840
- key: string;
841
- subQuestion?: undefined;
842
- } | {
843
- label: string;
844
- placeholder: string;
845
- type: string;
846
- key: string;
847
- subQuestion: any[];
848
- })[];
849
- appearance: ({
850
- label: string;
851
- type: string;
852
- key: string;
853
- placeholder: string;
854
- options: {
855
- value: string;
856
- label: string;
857
- labelPath: string;
858
- }[];
859
- value?: undefined;
860
- } | {
861
- label: string;
862
- type: string;
863
- key: string;
864
- value: string;
865
- placeholder?: undefined;
866
- options?: undefined;
867
- } | {
868
- label: string;
869
- type: string;
870
- key: string;
871
- value: number;
872
- placeholder?: undefined;
873
- options?: undefined;
874
- } | {
875
- label: string;
876
- type: string;
877
- key: string;
878
- value: string;
879
- options: {
880
- value: string;
881
- label: string;
882
- }[];
883
- placeholder?: undefined;
884
- } | {
885
- label: string;
886
- type: string;
887
- key: string;
888
- placeholder: string;
889
- value: number[];
890
- options?: undefined;
891
- })[];
892
- };
893
- TableColumn: {
894
- elementProps: ({
895
- label: string;
896
- placeholder: string;
897
- type: string;
898
- targetArray: string;
899
- targetArrayKey: string;
900
- key: string;
901
- value?: undefined;
902
- subQuestion?: undefined;
903
- labelPath?: undefined;
904
- } | {
905
- label: string;
906
- type: string;
907
- targetArray: string;
908
- targetArrayKey: string;
909
- key: string;
910
- value: string;
911
- placeholder?: undefined;
912
- subQuestion?: undefined;
913
- labelPath?: undefined;
914
- } | {
915
- label: string;
916
- placeholder: string;
917
- type: string;
918
- targetArray: string;
919
- targetArrayKey: string;
920
- key: string;
921
- subQuestion: {
922
- label: string;
923
- placeholder: string;
924
- type: string;
925
- targetArray: string;
926
- targetArrayKey: string;
927
- key: string;
928
- }[];
929
- value?: undefined;
930
- labelPath?: undefined;
931
- } | {
932
- label: string;
933
- labelPath: string;
934
- type: string;
935
- key: string;
936
- placeholder?: undefined;
937
- targetArray?: undefined;
938
- targetArrayKey?: undefined;
939
- value?: undefined;
940
- subQuestion?: undefined;
941
- })[];
942
- fieldProps: ({
943
- label: string;
944
- placeholder: string;
945
- type: string;
946
- targetArray: string;
947
- targetArrayKey: string;
948
- key: string;
949
- labelPath?: undefined;
950
- subQuestion?: undefined;
951
- } | {
952
- label: string;
953
- type: string;
954
- targetArray: string;
955
- targetArrayKey: string;
956
- key: string;
957
- labelPath: string;
958
- subQuestion: {
959
- label: string;
960
- placeholder: string;
961
- type: string;
962
- targetArray: string;
963
- targetArrayKey: string;
964
- key: string;
965
- labelPath: string;
966
- }[];
967
- placeholder?: undefined;
968
- })[];
969
- appearance: ({
970
- label: string;
971
- type: string;
972
- targetArray: string;
973
- targetArrayKey: string;
974
- key: string;
975
- placeholder: string;
976
- options: {
977
- value: string;
978
- label: string;
979
- labelPath: string;
980
- }[];
981
- value?: undefined;
982
- } | {
983
- label: string;
984
- type: string;
985
- targetArray: string;
986
- targetArrayKey: string;
987
- key: string;
988
- value: string;
989
- placeholder?: undefined;
990
- options?: undefined;
991
- } | {
992
- label: string;
993
- type: string;
994
- targetArray: string;
995
- targetArrayKey: string;
996
- key: string;
997
- value: string;
998
- options: {
999
- label: string;
1000
- value: string;
1001
- }[];
1002
- placeholder?: undefined;
1003
- } | {
1004
- label: string;
1005
- type: string;
1006
- targetArray: string;
1007
- targetArrayKey: string;
1008
- key: string;
1009
- placeholder: string;
1010
- value: number[];
1011
- options?: undefined;
1012
- })[];
1013
- };
1014
- TextArea: {
1015
- elementProps: ({
1016
- label: string;
1017
- type: string;
1018
- key: string;
1019
- placeholder?: undefined;
1020
- isTranslate?: undefined;
1021
- labelPath?: undefined;
1022
- } | {
1023
- label: string;
1024
- placeholder: string;
1025
- type: string;
1026
- key: string;
1027
- isTranslate: boolean;
1028
- labelPath: string;
1029
- } | {
1030
- label: string;
1031
- labelPath: string;
1032
- type: string;
1033
- key: string;
1034
- placeholder?: undefined;
1035
- isTranslate?: undefined;
1036
- })[];
1037
- fieldProps: ({
1038
- label: string;
1039
- type: string;
1040
- key: string;
1041
- labelPath: string;
1042
- subQuestion: {
1043
- label: string;
1044
- placeholder: string;
1045
- type: string;
1046
- key: string;
1047
- labelPath: string;
1048
- }[];
1049
- } | {
1050
- label: string;
1051
- type: string;
1052
- key: string;
1053
- placeholder?: undefined;
1054
- } | {
1055
- label: string;
1056
- placeholder: string;
1057
- type: string;
1058
- key: string;
1059
- })[];
1060
- appearance: ({
1061
- label: string;
1062
- type: string;
1063
- key: string;
1064
- placeholder: string;
1065
- options: {
1066
- value: string;
1067
- label: string;
1068
- labelPath: string;
1069
- }[];
1070
- value?: undefined;
1071
- } | {
1072
- label: string;
1073
- type: string;
1074
- key: string;
1075
- value: string;
1076
- placeholder?: undefined;
1077
- options?: undefined;
1078
- } | {
1079
- label: string;
1080
- type: string;
1081
- key: string;
1082
- value: string;
1083
- options: {
1084
- label: string;
1085
- value: string;
1086
- }[];
1087
- placeholder?: undefined;
1088
- })[];
1089
- };
1090
- image: {
1091
- elementProps: ({
1092
- label: string;
1093
- type: string;
1094
- key: string;
1095
- placeholder?: undefined;
1096
- isTranslate?: undefined;
1097
- labelPath?: undefined;
1098
- } | {
1099
- label: string;
1100
- placeholder: string;
1101
- type: string;
1102
- key: string;
1103
- isTranslate: boolean;
1104
- labelPath: string;
1105
- } | {
1106
- label: string;
1107
- labelPath: string;
1108
- type: string;
1109
- key: string;
1110
- placeholder?: undefined;
1111
- isTranslate?: undefined;
1112
- })[];
1113
- fieldProps: ({
1114
- label: string;
1115
- type: string;
1116
- key: string;
1117
- placeholder?: undefined;
1118
- subQuestion?: undefined;
1119
- } | {
1120
- label: string;
1121
- placeholder: string;
1122
- type: string;
1123
- key: string;
1124
- subQuestion?: undefined;
1125
- } | {
1126
- label: string;
1127
- placeholder: string;
1128
- type: string;
1129
- key: string;
1130
- subQuestion: any[];
1131
- })[];
1132
- appearance: ({
1133
- label: string;
1134
- type: string;
1135
- key: string;
1136
- placeholder: string;
1137
- options: {
1138
- value: string;
1139
- label: string;
1140
- labelPath: string;
1141
- }[];
1142
- value?: undefined;
1143
- } | {
1144
- label: string;
1145
- type: string;
1146
- key: string;
1147
- value: string;
1148
- placeholder?: undefined;
1149
- options?: undefined;
1150
- } | {
1151
- label: string;
1152
- type: string;
1153
- key: string;
1154
- value: number;
1155
- placeholder?: undefined;
1156
- options?: undefined;
1157
- } | {
1158
- label: string;
1159
- type: string;
1160
- key: string;
1161
- value: string;
1162
- options: {
1163
- value: string;
1164
- label: string;
1165
- }[];
1166
- placeholder?: undefined;
1167
- } | {
1168
- label: string;
1169
- type: string;
1170
- key: string;
1171
- placeholder: string;
1172
- value: number[];
1173
- options?: undefined;
1174
- })[];
1175
- };
1176
- boolean: {
1177
- elementProps: ({
1178
- label: string;
1179
- labelPath: string;
1180
- placeholder: string;
1181
- type: string;
1182
- key: string;
1183
- isTranslate?: undefined;
1184
- } | {
1185
- label: string;
1186
- placeholder: string;
1187
- type: string;
1188
- key: string;
1189
- isTranslate: boolean;
1190
- labelPath: string;
1191
- } | {
1192
- label: string;
1193
- labelPath: string;
1194
- type: string;
1195
- key: string;
1196
- placeholder?: undefined;
1197
- isTranslate?: undefined;
1198
- })[];
1199
- fieldProps: ({
1200
- label: string;
1201
- type: string;
1202
- key: string;
1203
- labelPath: string;
1204
- subQuestion: {
1205
- label: string;
1206
- placeholder: string;
1207
- type: string;
1208
- key: string;
1209
- labelPath: string;
1210
- }[];
1211
- } | {
1212
- label: string;
1213
- labelPath: string;
1214
- type: string;
1215
- key: string;
1216
- placeholder?: undefined;
1217
- } | {
1218
- label: string;
1219
- labelPath: string;
1220
- placeholder: string;
1221
- type: string;
1222
- key: string;
1223
- })[];
1224
- appearance: ({
1225
- label: string;
1226
- labelPath: string;
1227
- type: string;
1228
- key: string;
1229
- placeholder: string;
1230
- options: {
1231
- value: string;
1232
- label: string;
1233
- labelPath: string;
1234
- }[];
1235
- value?: undefined;
1236
- } | {
1237
- label: string;
1238
- labelPath: string;
1239
- type: string;
1240
- key: string;
1241
- value: string;
1242
- placeholder?: undefined;
1243
- options?: undefined;
1244
- } | {
1245
- label: string;
1246
- labelPath: string;
1247
- type: string;
1248
- key: string;
1249
- value: number;
1250
- placeholder?: undefined;
1251
- options?: undefined;
1252
- } | {
1253
- label: string;
1254
- labelPath: string;
1255
- type: string;
1256
- key: string;
1257
- value: string;
1258
- options: {
1259
- value: string;
1260
- label: string;
1261
- labelPath: string;
1262
- }[];
1263
- placeholder?: undefined;
1264
- } | {
1265
- label: string;
1266
- labelPath: string;
1267
- type: string;
1268
- key: string;
1269
- placeholder: string;
1270
- value: number[];
1271
- options?: undefined;
1272
- })[];
1273
- };
1274
- signaturePad: {
1275
- elementProps: ({
1276
- label: string;
1277
- labelPath: string;
1278
- placeholder: string;
1279
- type: string;
1280
- key: string;
1281
- isTranslate?: undefined;
1282
- } | {
1283
- label: string;
1284
- placeholder: string;
1285
- type: string;
1286
- key: string;
1287
- isTranslate: boolean;
1288
- labelPath: string;
1289
- } | {
1290
- label: string;
1291
- labelPath: string;
1292
- type: string;
1293
- key: string;
1294
- placeholder?: undefined;
1295
- isTranslate?: undefined;
1296
- })[];
1297
- fieldProps: ({
1298
- label: string;
1299
- type: string;
1300
- key: string;
1301
- labelPath: string;
1302
- subQuestion: {
1303
- label: string;
1304
- placeholder: string;
1305
- type: string;
1306
- key: string;
1307
- labelPath: string;
1308
- }[];
1309
- } | {
1310
- label: string;
1311
- labelPath: string;
1312
- type: string;
1313
- key: string;
1314
- placeholder?: undefined;
1315
- } | {
1316
- label: string;
1317
- labelPath: string;
1318
- placeholder: string;
1319
- type: string;
1320
- key: string;
1321
- })[];
1322
- appearance: ({
1323
- label: string;
1324
- labelPath: string;
1325
- type: string;
1326
- key: string;
1327
- placeholder: string;
1328
- options: {
1329
- value: string;
1330
- label: string;
1331
- labelPath: string;
1332
- }[];
1333
- value?: undefined;
1334
- } | {
1335
- label: string;
1336
- labelPath: string;
1337
- type: string;
1338
- key: string;
1339
- value: string;
1340
- placeholder?: undefined;
1341
- options?: undefined;
1342
- } | {
1343
- label: string;
1344
- labelPath: string;
1345
- type: string;
1346
- key: string;
1347
- value: number;
1348
- placeholder?: undefined;
1349
- options?: undefined;
1350
- } | {
1351
- label: string;
1352
- labelPath: string;
1353
- type: string;
1354
- key: string;
1355
- value: string;
1356
- options: {
1357
- value: string;
1358
- label: string;
1359
- labelPath: string;
1360
- }[];
1361
- placeholder?: undefined;
1362
- } | {
1363
- label: string;
1364
- labelPath: string;
1365
- type: string;
1366
- key: string;
1367
- placeholder: string;
1368
- value: number[];
1369
- options?: undefined;
1370
- })[];
1371
- };
1372
- };
1373
- errorMessage: string;
1374
- constructor(dataService: DataService, http: HttpClient, pdfDesignerService: PdfDesignerService, templateService: TemplateService);
1375
- handleTemplateSelection(event: any): void;
1376
- ngOnInit(): void;
1377
- updateTitle(event: any): void;
1378
- getPdfSettings(): any;
1379
- getPdfSetting(path: string, fallback?: any): any;
1380
- setPdfSetting(path: string, value: any): void;
1381
- onPdfSettingInput(path: string, event: Event): void;
1382
- getStyleBuilderTitle(): string;
1383
- getActiveStyleValue(path: string, fallback?: any): any;
1384
- onActiveStyleInput(path: string, event: Event): void;
1385
- setActiveStyleValue(path: string, value: any): void;
1386
- getActiveMargin(index: number): number;
1387
- onActiveMarginInput(index: number, event: Event): void;
1388
- getElementArrayValue(path: string, index: number, fallback?: number): number;
1389
- onElementArrayInput(path: string, index: number, event: Event): void;
1390
- getActiveColumnWidthMode(): string;
1391
- onActiveColumnWidthModeChange(event: Event): void;
1392
- private getActiveStyleTarget;
1393
- private getSelectedTableColumn;
1394
- private normalizeStyleInputValue;
1395
- private normalizeStyleMargin;
1396
- private normalizePdfSettingValue;
1397
- updatePdfpData(): void;
1398
- updateField(value: string): void;
1399
- onCheckboxChange(targetArrayPath: any, targetArrayKey: any, key: any, apiName: string, isChecked: boolean): void;
1400
- updateProperty(key: string, value: any): void;
1401
- onRadioChange(targetArrayPath: any, targetArrayKey: any, key: any, value: any): void;
1402
- onRequiredChange(value: boolean): void;
1403
- toggleSubQuestion(prop: any): void;
1404
- isStyleExpanded: boolean;
1405
- toggleStyleSection(): void;
1406
- getProperties(): any;
1407
- addOption(options: any[]): void;
1408
- removeOption(options: any[], id: string): void;
1409
- handleButtonClick(): void;
1410
- setActiveTab(tab: string): void;
1411
- onSave(): void;
1412
- onCancel(): void;
1413
- updateProperties(elementType: string): void;
1414
- onAlignSelect(value: string): void;
1415
- onStyleSelect(value: string): void;
1416
- isStyleActive(value: string): boolean;
1417
- getValueByPath(path: string): any;
1418
- onToggleChange(path: string, event: Event): void;
1419
- validateInput(value: string, type: string): boolean;
1420
- setValueByPath(path: string, value: any): void;
1421
- updateElement(element: any): void;
1422
- getValueByArrayPath(targetArrayPath: any, targetArrayKey: string, selectColumn: string, keyPath: string): any;
1423
- updateValueByArrayPath(targetArrayPath: any, targetArrayKey: string, selectColumn: string, keyPath: string, event: any): void;
1424
- getDataByPath(path: string): any;
1425
- flipHorizontal(): void;
1426
- flipVertical(): void;
1427
- resetImage(): void;
1428
- zoomOut(): void;
1429
- zoomIn(): void;
1430
- rotateLeft(): void;
1431
- rotateRight(): void;
1432
- moveLeft(): void;
1433
- moveRight(): void;
1434
- moveDown(): void;
1435
- moveUp(): void;
1436
- private flipAfterRotate;
1437
- imageCropped(event: any): Promise<void>;
1438
- cropperReady(sourceImageDimensions: Dimensions): void;
1439
- convertBlobToBase64(objectUrl: string): Promise<string>;
1440
- childEventCapture(event: any): void;
1441
- linkToggleDropdown(event: Event): void;
1442
- onClickOutside(event: Event): void;
1443
- onDragStart(event: DragEvent, id: string): void;
1444
- onDragOver(event: DragEvent): void;
1445
- onDrop(event: DragEvent, key: string): void;
1446
- onWidthSelect(value: string): void;
1447
- static ɵfac: i0.ɵɵFactoryDeclaration<PdfPropertiesComponent, never>;
1448
- static ɵcmp: i0.ɵɵComponentDeclaration<PdfPropertiesComponent, "app-pdf-properties", never, { "selectedElementType": { "alias": "selectedElementType"; "required": false; }; "templateSelected": { "alias": "templateSelected"; "required": false; }; }, { "formButtonHandler": "formButtonHandler"; "templateSaveHandler": "templateSaveHandler"; }, never, never, true, never>;
1449
- }