@rangertechnologies/ngnxt 2.1.251 → 2.1.252

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 (84) hide show
  1. package/esm2022/environments/version.mjs +2 -2
  2. package/esm2022/lib/components/button/nxt-button.component.mjs +4 -4
  3. package/esm2022/lib/components/custom-calendar/custom-calendar.component.mjs +5 -8
  4. package/esm2022/lib/components/custom-dropdown/custom-dropdown.component.mjs +7 -8
  5. package/esm2022/lib/components/custom-model/custom-model.component.mjs +3 -5
  6. package/esm2022/lib/components/custom-radio/custom-radio.component.mjs +3 -3
  7. package/esm2022/lib/components/datatable/datatable.component.mjs +8 -7
  8. package/esm2022/lib/components/file-upload/file-upload.component.mjs +9 -9
  9. package/esm2022/lib/components/icon-selector/icon-selector.component.mjs +3 -4
  10. package/esm2022/lib/components/list-view-filter/list-view-filter.component.mjs +9 -9
  11. package/esm2022/lib/components/nxt-input/nxt-input.component.mjs +12 -24
  12. package/esm2022/lib/components/pagination/pagination.component.mjs +3 -3
  13. package/esm2022/lib/components/pick-location/pick-location.component.mjs +4 -5
  14. package/esm2022/lib/components/search-box/search-box.component.mjs +8 -10
  15. package/esm2022/lib/interfaces/apimeta.mjs +2 -0
  16. package/esm2022/lib/nxt-app.module.mjs +4 -4
  17. package/esm2022/lib/pages/booklet/booklet.component.mjs +56 -28
  18. package/esm2022/lib/pages/builder/element/element.component.mjs +10 -65
  19. package/esm2022/lib/pages/builder/form/form.component.mjs +3 -6
  20. package/esm2022/lib/pages/builder/properties/properties.component.mjs +78 -182
  21. package/esm2022/lib/pages/builder/templates/templates.component.mjs +4 -5
  22. package/esm2022/lib/pages/pdfDesigner/pdf-designer/pdf-designer.component.mjs +4 -5
  23. package/esm2022/lib/pages/pdfDesigner/pdf-properties/pdf-properties.component.mjs +45 -42
  24. package/esm2022/lib/pages/questionbook/questionbook.component.mjs +31 -12
  25. package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +8 -12
  26. package/esm2022/lib/pipe/custom-translate.pipe.mjs +10 -16
  27. package/esm2022/lib/services/change.service.mjs +46 -0
  28. package/esm2022/lib/services/country.service.mjs +135 -0
  29. package/esm2022/lib/services/data.service.mjs +100 -0
  30. package/esm2022/lib/services/form-builder.service.mjs +402 -0
  31. package/esm2022/lib/services/pdf-designer.service.mjs +398 -0
  32. package/esm2022/lib/services/salesforce.service.mjs +41 -0
  33. package/esm2022/lib/services/shared.service.mjs +100 -0
  34. package/esm2022/lib/services/storage.service.mjs +59 -0
  35. package/esm2022/lib/services/template.service.mjs +351 -0
  36. package/esm2022/lib/services/translation.service.mjs +61 -0
  37. package/esm2022/public-api.mjs +2 -2
  38. package/fesm2022/rangertechnologies-ngnxt.mjs +933 -1201
  39. package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
  40. package/lib/components/button/nxt-button.component.d.ts +1 -1
  41. package/lib/components/custom-calendar/custom-calendar.component.d.ts +1 -1
  42. package/lib/components/custom-dropdown/custom-dropdown.component.d.ts +2 -2
  43. package/lib/components/custom-radio/custom-radio.component.d.ts +2 -2
  44. package/lib/components/datatable/datatable.component.d.ts +3 -3
  45. package/lib/components/file-upload/file-upload.component.d.ts +2 -2
  46. package/lib/components/image-cropper/component/image-cropper.component.d.ts +1 -1
  47. package/lib/components/nxt-input/nxt-input.component.d.ts +2 -2
  48. package/lib/components/search-box/search-box.component.d.ts +4 -4
  49. package/lib/interfaces/apimeta.d.ts +15 -0
  50. package/lib/nxt-app.module.d.ts +1 -1
  51. package/lib/pages/booklet/booklet.component.d.ts +9 -9
  52. package/lib/pages/builder/element/element.component.d.ts +4 -10
  53. package/lib/pages/builder/form/form.component.d.ts +1 -2
  54. package/lib/pages/builder/properties/properties.component.d.ts +6 -33
  55. package/lib/pages/builder/templates/templates.component.d.ts +1 -1
  56. package/lib/pages/pdfDesigner/pdf-designer/pdf-designer.component.d.ts +1 -1
  57. package/lib/pages/pdfDesigner/pdf-properties/pdf-properties.component.d.ts +2 -19
  58. package/lib/pages/questionbook/questionbook.component.d.ts +8 -6
  59. package/lib/pages/questionnaire/questionnaire.component.d.ts +5 -6
  60. package/lib/pipe/custom-translate.pipe.d.ts +3 -2
  61. package/lib/services/{form-builder/form-builder.service.d.ts → form-builder.service.d.ts} +1 -2
  62. package/lib/services/{pdf-designer/pdf-designer.service.d.ts → pdf-designer.service.d.ts} +1 -1
  63. package/lib/services/{storage/storage.service.d.ts → storage.service.d.ts} +2 -2
  64. package/lib/services/{translation/translation.service.d.ts → translation.service.d.ts} +1 -12
  65. package/package.json +1 -1
  66. package/public-api.d.ts +1 -1
  67. package/rangertechnologies-ngnxt-2.1.252.tgz +0 -0
  68. package/esm2022/lib/services/change/change.service.mjs +0 -46
  69. package/esm2022/lib/services/country/country.service.mjs +0 -135
  70. package/esm2022/lib/services/data/data.service.mjs +0 -100
  71. package/esm2022/lib/services/form-builder/form-builder.service.mjs +0 -485
  72. package/esm2022/lib/services/pdf-designer/pdf-designer.service.mjs +0 -398
  73. package/esm2022/lib/services/salesforce/salesforce.service.mjs +0 -41
  74. package/esm2022/lib/services/shared/shared.service.mjs +0 -100
  75. package/esm2022/lib/services/storage/storage.service.mjs +0 -59
  76. package/esm2022/lib/services/template/template.service.mjs +0 -351
  77. package/esm2022/lib/services/translation/translation.service.mjs +0 -121
  78. package/rangertechnologies-ngnxt-2.1.251.tgz +0 -0
  79. /package/lib/services/{change/change.service.d.ts → change.service.d.ts} +0 -0
  80. /package/lib/services/{country/country.service.d.ts → country.service.d.ts} +0 -0
  81. /package/lib/services/{data/data.service.d.ts → data.service.d.ts} +0 -0
  82. /package/lib/services/{salesforce/salesforce.service.d.ts → salesforce.service.d.ts} +0 -0
  83. /package/lib/services/{shared/shared.service.d.ts → shared.service.d.ts} +0 -0
  84. /package/lib/services/{template/template.service.d.ts → template.service.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit, SimpleChanges } from '@angular/core';
2
- import { TranslationService } from '../../services/translation/translation.service';
2
+ import { TranslationService } from '../../services/translation.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class NxtButtonComponent implements OnInit {
5
5
  private cdRef;
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { Question } from '../../wrapper';
3
- import { ChangeService } from '../../services/change/change.service';
3
+ import { ChangeService } from '../../services/change.service';
4
4
  import * as i0 from "@angular/core";
5
5
  interface CalendarDay {
6
6
  date: Date;
@@ -1,8 +1,8 @@
1
1
  import { OnInit, EventEmitter, ElementRef, SimpleChanges } from '@angular/core';
2
2
  import { Subscription } from 'rxjs';
3
+ import { ChangeService } from '../../services/change.service';
3
4
  import { I18nService } from '../../i18n.service';
4
- import { ChangeService } from '../../services/change/change.service';
5
- import { DataService } from '../../services/data/data.service';
5
+ import { DataService } from '../../services/data.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class CustomDropdownComponent implements OnInit {
8
8
  private changeService;
@@ -1,9 +1,9 @@
1
1
  import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { ChangeWrapper } from '../../model/changeWrapper';
3
+ import { ChangeService } from '../../services/change.service';
3
4
  import { I18nService } from '../../i18n.service';
5
+ import { DataService } from '../../services/data.service';
4
6
  import { Subscription } from 'rxjs';
5
- import { ChangeService } from '../../services/change/change.service';
6
- import { DataService } from '../../services/data/data.service';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class CustomRadioComponent implements OnInit {
9
9
  private changeService;
@@ -1,9 +1,9 @@
1
1
  import { EventEmitter, ElementRef, Renderer2, SimpleChanges, ChangeDetectorRef } from '@angular/core';
2
2
  import { MatSort } from '@angular/material/sort';
3
+ import { DataService } from '../../services/data.service';
4
+ import { ChangeService } from '../../services/change.service';
3
5
  import { Subscription } from 'rxjs';
4
- import { TranslationService } from '../../services/translation/translation.service';
5
- import { DataService } from '../../services/data/data.service';
6
- import { ChangeService } from '../../services/change/change.service';
6
+ import { TranslationService } from '../../services/translation.service';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class NxtDatatable {
9
9
  private cdRef;
@@ -1,8 +1,8 @@
1
1
  import { OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { I18nService } from '../../i18n.service';
3
- import { SharedService } from '../../services/shared/shared.service';
3
+ import { SharedService } from '../../services/shared.service';
4
+ import { DataService } from '../../services/data.service';
4
5
  import { DomSanitizer } from '@angular/platform-browser';
5
- import { DataService } from '../../services/data/data.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class NxtFileUploadComponent implements OnInit, OnChanges {
8
8
  private SharedService;
@@ -67,7 +67,7 @@ export declare class ImageCropperComponent implements OnChanges, OnInit, OnDestr
67
67
  loadImageFailed: EventEmitter<void>;
68
68
  transformChange: EventEmitter<ImageTransform>;
69
69
  cropperChange: EventEmitter<CropperPosition>;
70
- get alignImageStyle(): "left" | "center";
70
+ get alignImageStyle(): "center" | "left";
71
71
  constructor(sanitizer: DomSanitizer, cd: ChangeDetectorRef, zone: NgZone);
72
72
  ngOnInit(): void;
73
73
  ngOnChanges(changes: SimpleChanges): void;
@@ -1,10 +1,10 @@
1
1
  import { EventEmitter, QueryList, ElementRef, SimpleChanges, AfterViewInit, Renderer2 } from '@angular/core';
2
2
  import { AbstractControl, FormArray, FormControl, ValidationErrors, ValidatorFn } from '@angular/forms';
3
+ import { ChangeService } from '../../services/change.service';
4
+ import { DataService } from '../../services/data.service';
3
5
  import { Subscription } from 'rxjs';
4
6
  import { OwlDateTimeComponent } from '@danielmoncada/angular-datetime-picker';
5
7
  import { QuillModules } from 'ngx-quill';
6
- import { ChangeService } from '../../services/change/change.service';
7
- import { DataService } from '../../services/data/data.service';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class NxtInput implements AfterViewInit {
10
10
  #private;
@@ -1,10 +1,10 @@
1
1
  import { OnInit, OnDestroy, OnChanges, EventEmitter, ElementRef, SimpleChanges, WritableSignal, TrackByFunction } from "@angular/core";
2
+ import { DataService } from '../../services/data.service';
2
3
  import { I18nService } from "../../i18n.service";
4
+ import { CountryService } from "../../services/country.service";
3
5
  import { Subscription } from "rxjs";
4
- import { StorageService } from "../../services/storage/storage.service";
5
- import { ChangeService } from "../../services/change/change.service";
6
- import { DataService } from "../../services/data/data.service";
7
- import { CountryService } from "../../services/country/country.service";
6
+ import { ChangeService } from "../../services/change.service";
7
+ import { StorageService } from "../../services/storage.service";
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class NxtSearchBox implements OnInit, OnChanges, OnDestroy {
10
10
  private storageService;
@@ -0,0 +1,15 @@
1
+ export interface APIMeta {
2
+ defaultField: any;
3
+ sourceQuestionId: any;
4
+ valueField: string;
5
+ labelField: string;
6
+ endpoint: string;
7
+ variable: string;
8
+ field: any;
9
+ isDependentField: boolean;
10
+ dependentValue: string;
11
+ queryField: string;
12
+ queryValue: string;
13
+ queryValueReference: string;
14
+ uniqueKey: string;
15
+ }
@@ -1,4 +1,4 @@
1
- import { TranslationService } from './services/translation/translation.service';
1
+ import { TranslationService } from './services/translation.service';
2
2
  import * as i0 from "@angular/core";
3
3
  import * as i1 from "./nxt-app.component";
4
4
  import * as i2 from "./i18n.component";
@@ -1,15 +1,14 @@
1
1
  import { OnInit, EventEmitter, SimpleChanges } from "@angular/core";
2
+ import { SalesforceService } from "../../services/salesforce.service";
3
+ import { DataService } from '../../services/data.service';
2
4
  import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
3
5
  import { ActionMeta } from '../../interfaces/actionMeta';
4
6
  import { BookletWrapper } from "../../model/bookletWrapper";
7
+ import { StorageService } from '../../services/storage.service';
8
+ import { ChangeService } from "../../services/change.service";
5
9
  import { Observable } from "rxjs";
6
10
  import { HttpClient } from "@angular/common/http";
7
11
  import { QuestionbookComponent } from "../questionbook/questionbook.component";
8
- import { SalesforceService } from "../../services/salesforce/salesforce.service";
9
- import { DataService } from "../../services/data/data.service";
10
- import { StorageService } from "../../services/storage/storage.service";
11
- import { ChangeService } from "../../services/change/change.service";
12
- import { TranslationService } from "../../services/translation/translation.service";
13
12
  import * as i0 from "@angular/core";
14
13
  export declare class BookletComponent implements OnInit {
15
14
  private sfService;
@@ -18,7 +17,6 @@ export declare class BookletComponent implements OnInit {
18
17
  private sanitizer;
19
18
  private changeService;
20
19
  private http;
21
- private translationService;
22
20
  bookletId: string;
23
21
  serv: string;
24
22
  tkn: string;
@@ -34,7 +32,6 @@ export declare class BookletComponent implements OnInit {
34
32
  from: any;
35
33
  apiUrl: any;
36
34
  isEdit: boolean;
37
- direction: string;
38
35
  handleBookletActionEvent: EventEmitter<any>;
39
36
  handlePage: EventEmitter<any>;
40
37
  hadleDropDownDependent: EventEmitter<any>;
@@ -45,15 +42,17 @@ export declare class BookletComponent implements OnInit {
45
42
  abItem: any;
46
43
  actions: ActionMeta[];
47
44
  bookQuestionsMap: any;
45
+ translateMap: any;
48
46
  private sqOptions;
49
47
  isAnswerFlag: boolean;
50
48
  spinnerName: string;
51
49
  spinnerType: string;
50
+ langDirection: string;
52
51
  answerList: any[];
53
52
  dataBind: any;
54
53
  allEvents: any[];
55
54
  questionbookComponent: QuestionbookComponent;
56
- constructor(sfService: SalesforceService, dataService: DataService, storageService: StorageService, sanitizer: DomSanitizer, changeService: ChangeService, http: HttpClient, translationService: TranslationService);
55
+ constructor(sfService: SalesforceService, dataService: DataService, storageService: StorageService, sanitizer: DomSanitizer, changeService: ChangeService, http: HttpClient);
57
56
  ngOnInit(): void;
58
57
  ngOnChanges(simplechanges: SimpleChanges): void;
59
58
  upgradeActions(actionString: string): any[];
@@ -70,11 +69,12 @@ export declare class BookletComponent implements OnInit {
70
69
  handleQues(ques: any): void;
71
70
  addEvent(day: any, entryQues: any): void;
72
71
  readQuestions(qbId: string): any[];
72
+ readTransQuestions(qbId: string): any[];
73
73
  getText(value: any): SafeHtml;
74
74
  getDropDown(event: any): void;
75
75
  getCalendarDate(event: any): void;
76
76
  getCalendarEvent(event: any): void;
77
77
  editChangeClick(action: any): void;
78
78
  static ɵfac: i0.ɵɵFactoryDeclaration<BookletComponent, never>;
79
- static ɵcmp: i0.ɵɵComponentDeclaration<BookletComponent, "lib-booklet", never, { "bookletId": { "alias": "bookletId"; "required": false; }; "serv": { "alias": "serv"; "required": false; }; "tkn": { "alias": "tkn"; "required": false; }; "bookletJSON": { "alias": "bookletJSON"; "required": false; }; "allIcons": { "alias": "allIcons"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "cdnIconURL": { "alias": "cdnIconURL"; "required": false; }; "dropdownDependentData": { "alias": "dropdownDependentData"; "required": false; }; "labelValue": { "alias": "labelValue"; "required": false; }; "token": { "alias": "token"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; "fieldRestrictions": { "alias": "fieldRestrictions"; "required": false; }; "from": { "alias": "from"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "dataBind": { "alias": "dataBind"; "required": false; }; }, { "handleBookletActionEvent": "handleBookletActionEvent"; "handlePage": "handlePage"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, true, never>;
79
+ static ɵcmp: i0.ɵɵComponentDeclaration<BookletComponent, "lib-booklet", never, { "bookletId": { "alias": "bookletId"; "required": false; }; "serv": { "alias": "serv"; "required": false; }; "tkn": { "alias": "tkn"; "required": false; }; "bookletJSON": { "alias": "bookletJSON"; "required": false; }; "allIcons": { "alias": "allIcons"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "cdnIconURL": { "alias": "cdnIconURL"; "required": false; }; "dropdownDependentData": { "alias": "dropdownDependentData"; "required": false; }; "labelValue": { "alias": "labelValue"; "required": false; }; "token": { "alias": "token"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; "fieldRestrictions": { "alias": "fieldRestrictions"; "required": false; }; "from": { "alias": "from"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; "dataBind": { "alias": "dataBind"; "required": false; }; }, { "handleBookletActionEvent": "handleBookletActionEvent"; "handlePage": "handlePage"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, true, never>;
80
80
  }
@@ -1,15 +1,10 @@
1
- import { ChangeDetectorRef, EventEmitter, SimpleChanges } from "@angular/core";
2
- import { FormBuilderService } from "../../../services/form-builder/form-builder.service";
3
- import { TranslationService } from "../../../services/translation/translation.service";
1
+ import { EventEmitter, SimpleChanges } from "@angular/core";
2
+ import { FormBuilderService } from "../../../services/form-builder.service";
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class ElementComponent {
6
- private cdRef;
7
5
  private formBuilderService;
8
- private translationService;
9
6
  bookletJSON: any;
10
7
  bookletId: any;
11
- langOption: any;
12
- languageCode: any;
13
8
  templateMode: EventEmitter<boolean>;
14
9
  field: any;
15
10
  formElements: any[];
@@ -32,7 +27,7 @@ export declare class ElementComponent {
32
27
  templateSelected: boolean;
33
28
  isHeaderSelect: boolean;
34
29
  selectedColumn: any;
35
- constructor(cdRef: ChangeDetectorRef, formBuilderService: FormBuilderService, translationService: TranslationService);
30
+ constructor(formBuilderService: FormBuilderService);
36
31
  ngOnInit(): void;
37
32
  toggleSection(section: "basic" | "advanced"): void;
38
33
  isSectionOpen(section: string): boolean;
@@ -62,7 +57,6 @@ export declare class ElementComponent {
62
57
  removeColumn(event: any): void;
63
58
  fileChangeEvent(index: any, event: any): Promise<void>;
64
59
  private readFileAsDataURL;
65
- langChangeEmit(event: any): void;
66
60
  static ɵfac: i0.ɵɵFactoryDeclaration<ElementComponent, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<ElementComponent, "app-element", never, { "bookletJSON": { "alias": "bookletJSON"; "required": false; }; "bookletId": { "alias": "bookletId"; "required": false; }; "langOption": { "alias": "langOption"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; }, { "templateMode": "templateMode"; }, never, never, true, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<ElementComponent, "app-element", never, { "bookletJSON": { "alias": "bookletJSON"; "required": false; }; "bookletId": { "alias": "bookletId"; "required": false; }; }, { "templateMode": "templateMode"; }, never, never, true, never>;
68
62
  }
@@ -3,7 +3,6 @@ import * as i0 from "@angular/core";
3
3
  export declare class FormComponent {
4
4
  bookletJSON: any;
5
5
  bookletId: any;
6
- langOption: any;
7
6
  formButtonHandler: EventEmitter<string>;
8
7
  templateSaveHandler: EventEmitter<string>;
9
8
  selectedElementType: string;
@@ -12,5 +11,5 @@ export declare class FormComponent {
12
11
  formButtonHandlerClick(event: any): void;
13
12
  saveTemplate(event: any): void;
14
13
  static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "app-form-builder", never, { "bookletJSON": { "alias": "bookletJSON"; "required": false; }; "bookletId": { "alias": "bookletId"; "required": false; }; "langOption": { "alias": "langOption"; "required": false; }; }, { "formButtonHandler": "formButtonHandler"; "templateSaveHandler": "templateSaveHandler"; }, never, never, true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "app-form-builder", never, { "bookletJSON": { "alias": "bookletJSON"; "required": false; }; "bookletId": { "alias": "bookletId"; "required": false; }; }, { "formButtonHandler": "formButtonHandler"; "templateSaveHandler": "templateSaveHandler"; }, never, never, true, never>;
16
15
  }
@@ -1,9 +1,8 @@
1
1
  import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { FormBuilderService } from '../../../services/form-builder.service';
3
+ import { TemplateService } from '../../../services/template.service';
2
4
  import { CropperPosition, Dimensions, ImageTransform } from '../../../components/image-cropper/interfaces';
3
5
  import { PipeTransform } from '@angular/core';
4
- import { FormBuilderService } from '../../../services/form-builder/form-builder.service';
5
- import { TemplateService } from '../../../services/template/template.service';
6
- import { TranslationService } from '../../../services/translation/translation.service';
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class GetValueByPathPipe implements PipeTransform {
9
8
  transform(obj: any, path: string, defaultValue?: any): any;
@@ -13,7 +12,6 @@ export declare class GetValueByPathPipe implements PipeTransform {
13
12
  export declare class PropertiesComponent implements OnInit {
14
13
  private formBuilderService;
15
14
  private templateService;
16
- private translationService;
17
15
  templateSelected: boolean;
18
16
  set selectedElementType(value: string);
19
17
  formButtonHandler: EventEmitter<any>;
@@ -64,7 +62,6 @@ export declare class PropertiesComponent implements OnInit {
64
62
  type: string;
65
63
  key: string;
66
64
  isTranslate: boolean;
67
- labelPath: string;
68
65
  }[];
69
66
  };
70
67
  Line: {
@@ -72,7 +69,6 @@ export declare class PropertiesComponent implements OnInit {
72
69
  label: string;
73
70
  type: string;
74
71
  key: string;
75
- labelPath: string;
76
72
  placeholder?: undefined;
77
73
  options?: undefined;
78
74
  } | {
@@ -80,17 +76,14 @@ export declare class PropertiesComponent implements OnInit {
80
76
  type: string;
81
77
  key: string;
82
78
  placeholder: string;
83
- labelPath: string;
84
79
  options?: undefined;
85
80
  } | {
86
81
  label: string;
87
82
  type: string;
88
83
  key: string;
89
- labelPath: string;
90
84
  options: {
91
85
  label: string;
92
86
  value: string;
93
- labelPath: string;
94
87
  }[];
95
88
  placeholder?: undefined;
96
89
  })[];
@@ -101,7 +94,6 @@ export declare class PropertiesComponent implements OnInit {
101
94
  label: string;
102
95
  type: string;
103
96
  key: string;
104
- labelPath: string;
105
97
  }[];
106
98
  fieldProps: any[];
107
99
  };
@@ -111,7 +103,6 @@ export declare class PropertiesComponent implements OnInit {
111
103
  placeholder: string;
112
104
  type: string;
113
105
  key: string;
114
- labelPath: string;
115
106
  isTranslate?: undefined;
116
107
  } | {
117
108
  label: string;
@@ -119,12 +110,10 @@ export declare class PropertiesComponent implements OnInit {
119
110
  type: string;
120
111
  key: string;
121
112
  isTranslate: boolean;
122
- labelPath: string;
123
113
  } | {
124
114
  label: string;
125
115
  type: string;
126
116
  key: string;
127
- labelPath: string;
128
117
  placeholder?: undefined;
129
118
  isTranslate?: undefined;
130
119
  })[];
@@ -134,14 +123,12 @@ export declare class PropertiesComponent implements OnInit {
134
123
  type: string;
135
124
  key: string;
136
125
  isTranslate: boolean;
137
- labelPath: string;
138
126
  subQuestion?: undefined;
139
127
  } | {
140
128
  label: string;
141
129
  placeholder: string;
142
130
  type: string;
143
131
  key: string;
144
- labelPath: string;
145
132
  isTranslate?: undefined;
146
133
  subQuestion?: undefined;
147
134
  } | {
@@ -149,13 +136,11 @@ export declare class PropertiesComponent implements OnInit {
149
136
  placeholder: string;
150
137
  type: string;
151
138
  key: string;
152
- labelPath: string;
153
139
  subQuestion: {
154
140
  label: string;
155
141
  placeholder: string;
156
142
  type: string;
157
143
  key: string;
158
- labelPath: string;
159
144
  }[];
160
145
  isTranslate?: undefined;
161
146
  })[];
@@ -165,11 +150,9 @@ export declare class PropertiesComponent implements OnInit {
165
150
  key: string;
166
151
  placeholder: string;
167
152
  required: boolean;
168
- labelPath: string;
169
153
  options: {
170
154
  label: string;
171
155
  value: string;
172
- labelPath: string;
173
156
  }[];
174
157
  defaultValue?: undefined;
175
158
  } | {
@@ -178,7 +161,6 @@ export declare class PropertiesComponent implements OnInit {
178
161
  key: string;
179
162
  defaultValue: string;
180
163
  required: boolean;
181
- labelPath: string;
182
164
  placeholder?: undefined;
183
165
  options?: undefined;
184
166
  } | {
@@ -187,11 +169,9 @@ export declare class PropertiesComponent implements OnInit {
187
169
  key: string;
188
170
  defaultValue: string;
189
171
  required: boolean;
190
- labelPath: string;
191
172
  options: {
192
173
  label: string;
193
174
  value: string;
194
- labelPath: string;
195
175
  }[];
196
176
  placeholder?: undefined;
197
177
  } | {
@@ -199,7 +179,6 @@ export declare class PropertiesComponent implements OnInit {
199
179
  type: string;
200
180
  key: string;
201
181
  defaultValue: boolean;
202
- labelPath: string;
203
182
  placeholder?: undefined;
204
183
  required?: undefined;
205
184
  options?: undefined;
@@ -214,11 +193,9 @@ export declare class PropertiesComponent implements OnInit {
214
193
  targetArrayKey: string;
215
194
  key: string;
216
195
  required: boolean;
217
- labelPath: string;
218
196
  options: {
219
197
  label: string;
220
198
  value: string;
221
- labelPath: string;
222
199
  }[];
223
200
  isTranslate?: undefined;
224
201
  subQuestion?: undefined;
@@ -230,7 +207,6 @@ export declare class PropertiesComponent implements OnInit {
230
207
  targetArrayKey: string;
231
208
  key: string;
232
209
  isTranslate: boolean;
233
- labelPath: string;
234
210
  required?: undefined;
235
211
  options?: undefined;
236
212
  subQuestion?: undefined;
@@ -241,7 +217,6 @@ export declare class PropertiesComponent implements OnInit {
241
217
  targetArray: string;
242
218
  targetArrayKey: string;
243
219
  key: string;
244
- labelPath: string;
245
220
  required?: undefined;
246
221
  options?: undefined;
247
222
  isTranslate?: undefined;
@@ -253,7 +228,6 @@ export declare class PropertiesComponent implements OnInit {
253
228
  targetArray: string;
254
229
  targetArrayKey: string;
255
230
  key: string;
256
- labelPath: string;
257
231
  subQuestion: {
258
232
  label: string;
259
233
  placeholder: string;
@@ -261,7 +235,6 @@ export declare class PropertiesComponent implements OnInit {
261
235
  targetArray: string;
262
236
  targetArrayKey: string;
263
237
  key: string;
264
- labelPath: string;
265
238
  }[];
266
239
  required?: undefined;
267
240
  options?: undefined;
@@ -371,7 +344,7 @@ export declare class PropertiesComponent implements OnInit {
371
344
  appearance: any[];
372
345
  };
373
346
  }>;
374
- constructor(formBuilderService: FormBuilderService, templateService: TemplateService, translationService: TranslationService);
347
+ constructor(formBuilderService: FormBuilderService, templateService: TemplateService);
375
348
  ngOnInit(): void;
376
349
  private createElementProperties;
377
350
  createElementConfig(config?: {
@@ -385,7 +358,7 @@ export declare class PropertiesComponent implements OnInit {
385
358
  };
386
359
  addNewButton(): void;
387
360
  removeButton(btn: any): void;
388
- onButtonPropertyChange(index: number, key: string, value: any, isTranslate?: boolean): void;
361
+ onButtonPropertyChange(index: number, key: string, value: any): void;
389
362
  updateTitle(value: string): void;
390
363
  validateInput(value: string, type: string): boolean;
391
364
  updateField(value: string): void;
@@ -410,11 +383,11 @@ export declare class PropertiesComponent implements OnInit {
410
383
  getValueByPath(path: string, obj?: any, defaultValue?: any): any;
411
384
  isAnotherIdSelected(): boolean;
412
385
  onToggleChange(path: string, event: any): void;
413
- setValueByPath(path: string, value: any, isTranslate?: boolean): void;
386
+ setValueByPath(path: string, value: any): void;
414
387
  getStyleKeys(): string[];
415
388
  updateElement(element: any): void;
416
389
  getValueByArrayPath(targetArrayPath: any, targetArrayKey: string, selectColumn: string, keyPath: string, isTableColumn?: boolean): any;
417
- updateValueByArrayPath(targetArrayPath: any, targetArrayKey: string, selectColumn: string, keyPath: string, event: any, isTableColumn?: boolean, isTranslate?: boolean): void;
390
+ updateValueByArrayPath(targetArrayPath: any, targetArrayKey: string, selectColumn: string, keyPath: string, event: any, isTableColumn?: boolean): void;
418
391
  getDataByPath(path: string): any;
419
392
  flipHorizontal(): void;
420
393
  flipVertical(): void;
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { TemplateService } from '../../../services/template/template.service';
2
+ import { TemplateService } from '../../../services/template.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class AppTemplatesComponent {
5
5
  private templateService;
@@ -1,8 +1,8 @@
1
1
  import { ElementRef, EventEmitter, QueryList, SimpleChanges } from '@angular/core';
2
+ import { PdfDesignerService } from '../../../services/pdf-designer.service';
2
3
  import { ImageTransform } from '../../../components/image-cropper/interfaces/image-transform.interface';
3
4
  import { Dimensions } from '../../../components/image-cropper/interfaces/dimensions.interface';
4
5
  import { CropperPosition } from '../../../components/image-cropper/interfaces/cropper-position.interface';
5
- import { PdfDesignerService } from '../../../services/pdf-designer/pdf-designer.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class PdfDesignerComponent {
8
8
  private pdfDesignerService;
@@ -1,8 +1,8 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { ElementRef, EventEmitter } from '@angular/core';
3
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';
4
+ import { PdfDesignerService } from '../../../services/pdf-designer.service';
5
+ import { TemplateService } from '../../../services/template.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class PdfPropertiesComponent {
8
8
  private http;
@@ -54,7 +54,6 @@ export declare class PdfPropertiesComponent {
54
54
  Header: {
55
55
  elementProps: {
56
56
  label: string;
57
- labelPath: string;
58
57
  placeholder: string;
59
58
  type: string;
60
59
  key: string;
@@ -63,41 +62,35 @@ export declare class PdfPropertiesComponent {
63
62
  text: {
64
63
  elementProps: ({
65
64
  label: string;
66
- labelPath: string;
67
65
  placeholder: string;
68
66
  type: string;
69
67
  key: string;
70
68
  } | {
71
69
  label: string;
72
- labelPath: string;
73
70
  type: string;
74
71
  key: string;
75
72
  placeholder?: undefined;
76
73
  })[];
77
74
  fieldProps: ({
78
75
  label: string;
79
- labelPath: string;
80
76
  type: string;
81
77
  key: string;
82
78
  placeholder?: undefined;
83
79
  subQuestion?: undefined;
84
80
  } | {
85
81
  label: string;
86
- labelPath: string;
87
82
  placeholder: string;
88
83
  type: string;
89
84
  key?: undefined;
90
85
  subQuestion?: undefined;
91
86
  } | {
92
87
  label: string;
93
- labelPath: string;
94
88
  placeholder: string;
95
89
  type: string;
96
90
  key: string;
97
91
  subQuestion?: undefined;
98
92
  } | {
99
93
  label: string;
100
- labelPath: string;
101
94
  placeholder: string;
102
95
  type: string;
103
96
  key: string;
@@ -105,7 +98,6 @@ export declare class PdfPropertiesComponent {
105
98
  })[];
106
99
  appearance: ({
107
100
  label: string;
108
- labelPath: string;
109
101
  type: string;
110
102
  key: string;
111
103
  placeholder: string;
@@ -113,7 +105,6 @@ export declare class PdfPropertiesComponent {
113
105
  value?: undefined;
114
106
  } | {
115
107
  label: string;
116
- labelPath: string;
117
108
  type: string;
118
109
  key: string;
119
110
  value: string;
@@ -121,7 +112,6 @@ export declare class PdfPropertiesComponent {
121
112
  options?: undefined;
122
113
  } | {
123
114
  label: string;
124
- labelPath: string;
125
115
  type: string;
126
116
  key: string;
127
117
  value: number;
@@ -129,19 +119,16 @@ export declare class PdfPropertiesComponent {
129
119
  options?: undefined;
130
120
  } | {
131
121
  label: string;
132
- labelPath: string;
133
122
  type: string;
134
123
  key: string;
135
124
  value: string;
136
125
  options: {
137
126
  value: string;
138
127
  label: string;
139
- labelPath: string;
140
128
  }[];
141
129
  placeholder?: undefined;
142
130
  } | {
143
131
  label: string;
144
- labelPath: string;
145
132
  type: string;
146
133
  key: string;
147
134
  placeholder: string;
@@ -306,27 +293,23 @@ export declare class PdfPropertiesComponent {
306
293
  Pdf: {
307
294
  elementProps: {
308
295
  label: string;
309
- labelPath: string;
310
296
  type: string;
311
297
  key: string;
312
298
  }[];
313
299
  fieldProps: ({
314
300
  label: string;
315
- labelPath: string;
316
301
  placeholder: string;
317
302
  type: string;
318
303
  key?: undefined;
319
304
  subQuestion?: undefined;
320
305
  } | {
321
306
  label: string;
322
- labelPath: string;
323
307
  placeholder: string;
324
308
  type: string;
325
309
  key: string;
326
310
  subQuestion?: undefined;
327
311
  } | {
328
312
  label: string;
329
- labelPath: string;
330
313
  placeholder: string;
331
314
  type: string;
332
315
  key: string;