@rangertechnologies/ngnxt 2.1.34014 → 2.2.0

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