@rangertechnologies/ngnxt 2.1.252 → 2.1.254
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/environments/version.mjs +2 -2
- package/esm2022/lib/components/button/nxt-button.component.mjs +4 -4
- package/esm2022/lib/components/custom-calendar/custom-calendar.component.mjs +8 -5
- package/esm2022/lib/components/custom-dropdown/custom-dropdown.component.mjs +13 -14
- package/esm2022/lib/components/custom-model/custom-model.component.mjs +5 -3
- package/esm2022/lib/components/custom-radio/custom-radio.component.mjs +11 -12
- package/esm2022/lib/components/datatable/datatable.component.mjs +7 -21
- package/esm2022/lib/components/file-upload/file-upload.component.mjs +13 -16
- package/esm2022/lib/components/icon-selector/icon-selector.component.mjs +5 -3
- package/esm2022/lib/components/list-view-filter/list-view-filter.component.mjs +9 -9
- package/esm2022/lib/components/nxt-input/nxt-input.component.mjs +24 -12
- package/esm2022/lib/components/pagination/pagination.component.mjs +3 -3
- package/esm2022/lib/components/pick-location/pick-location.component.mjs +10 -13
- package/esm2022/lib/components/search-box/search-box.component.mjs +14 -15
- package/esm2022/lib/model/bookletWrapper.mjs +1 -3
- package/esm2022/lib/nxt-app.module.mjs +9 -33
- package/esm2022/lib/pages/booklet/booklet.component.mjs +33 -100
- package/esm2022/lib/pages/builder/element/element.component.mjs +68 -61
- package/esm2022/lib/pages/builder/form/form.component.mjs +6 -3
- package/esm2022/lib/pages/builder/properties/common-fields.constants.mjs +11 -11
- package/esm2022/lib/pages/builder/properties/properties.component.mjs +235 -78
- package/esm2022/lib/pages/builder/templates/templates.component.mjs +5 -4
- package/esm2022/lib/pages/pdfDesigner/pdf-designer/pdf-designer.component.mjs +5 -46
- package/esm2022/lib/pages/pdfDesigner/pdf-properties/pdf-properties.component.mjs +50 -57
- package/esm2022/lib/pages/questionbook/questionbook.component.mjs +20 -59
- package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +17 -30
- package/esm2022/lib/pipe/custom-translate.pipe.mjs +21 -14
- package/esm2022/lib/pipe/svg/svg.pipe.mjs +26 -0
- package/esm2022/lib/services/change/change.service.mjs +46 -0
- package/esm2022/lib/services/country/country.service.mjs +135 -0
- package/esm2022/lib/services/data/data.service.mjs +100 -0
- package/esm2022/lib/services/form-builder/form-builder.service.mjs +474 -0
- package/esm2022/lib/services/pdf-designer/pdf-designer.service.mjs +395 -0
- package/esm2022/lib/services/salesforce/salesforce.service.mjs +41 -0
- package/esm2022/lib/services/shared/shared.service.mjs +100 -0
- package/esm2022/lib/services/storage/storage.service.mjs +59 -0
- package/esm2022/lib/services/template/template.service.mjs +335 -0
- package/esm2022/lib/services/translation/translation.service.mjs +121 -0
- package/esm2022/public-api.mjs +2 -5
- package/fesm2022/rangertechnologies-ngnxt.mjs +1147 -1285
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/components/button/nxt-button.component.d.ts +1 -1
- package/lib/components/custom-calendar/custom-calendar.component.d.ts +1 -1
- package/lib/components/custom-dropdown/custom-dropdown.component.d.ts +3 -5
- package/lib/components/custom-radio/custom-radio.component.d.ts +3 -5
- package/lib/components/datatable/datatable.component.d.ts +3 -4
- package/lib/components/file-upload/file-upload.component.d.ts +3 -5
- package/lib/components/image-cropper/component/image-cropper.component.d.ts +1 -1
- package/lib/components/nxt-input/nxt-input.component.d.ts +2 -2
- package/lib/components/pick-location/pick-location.component.d.ts +1 -3
- package/lib/components/search-box/search-box.component.d.ts +5 -7
- package/lib/model/bookletWrapper.d.ts +0 -1
- package/lib/nxt-app.module.d.ts +15 -17
- package/lib/pages/booklet/booklet.component.d.ts +9 -11
- package/lib/pages/builder/element/element.component.d.ts +10 -7
- package/lib/pages/builder/form/form.component.d.ts +2 -1
- package/lib/pages/builder/properties/properties.component.d.ts +39 -7
- package/lib/pages/builder/templates/templates.component.d.ts +1 -1
- package/lib/pages/pdfDesigner/pdf-designer/pdf-designer.component.d.ts +1 -4
- package/lib/pages/pdfDesigner/pdf-properties/pdf-properties.component.d.ts +19 -2
- package/lib/pages/questionbook/questionbook.component.d.ts +7 -12
- package/lib/pages/questionnaire/questionnaire.component.d.ts +7 -9
- package/lib/pipe/custom-translate.pipe.d.ts +3 -4
- package/lib/pipe/svg/svg.pipe.d.ts +10 -0
- package/lib/services/{form-builder.service.d.ts → form-builder/form-builder.service.d.ts} +3 -2
- package/lib/services/{pdf-designer.service.d.ts → pdf-designer/pdf-designer.service.d.ts} +1 -1
- package/lib/services/{storage.service.d.ts → storage/storage.service.d.ts} +2 -2
- package/lib/services/{translation.service.d.ts → translation/translation.service.d.ts} +12 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -3
- package/rangertechnologies-ngnxt-2.1.254.tgz +0 -0
- package/esm2022/lib/ar.i18n.mjs +0 -29
- package/esm2022/lib/en.i18n.mjs +0 -29
- package/esm2022/lib/i18n-config.service.mjs +0 -4
- package/esm2022/lib/i18n.component.mjs +0 -45
- package/esm2022/lib/i18n.module.mjs +0 -38
- package/esm2022/lib/i18n.pipe.mjs +0 -26
- package/esm2022/lib/i18n.service.mjs +0 -56
- package/esm2022/lib/interfaces/apimeta.mjs +0 -2
- package/esm2022/lib/services/change.service.mjs +0 -46
- package/esm2022/lib/services/country.service.mjs +0 -135
- package/esm2022/lib/services/data.service.mjs +0 -100
- package/esm2022/lib/services/form-builder.service.mjs +0 -402
- package/esm2022/lib/services/pdf-designer.service.mjs +0 -398
- package/esm2022/lib/services/salesforce.service.mjs +0 -41
- package/esm2022/lib/services/shared.service.mjs +0 -100
- package/esm2022/lib/services/storage.service.mjs +0 -59
- package/esm2022/lib/services/template.service.mjs +0 -351
- package/esm2022/lib/services/translation.service.mjs +0 -61
- package/esm2022/lib/tam.i18n.mjs +0 -29
- package/lib/ar.i18n.d.ts +0 -24
- package/lib/en.i18n.d.ts +0 -24
- package/lib/i18n-config.service.d.ts +0 -2
- package/lib/i18n.component.d.ts +0 -11
- package/lib/i18n.module.d.ts +0 -9
- package/lib/i18n.pipe.d.ts +0 -10
- package/lib/i18n.service.d.ts +0 -14
- package/lib/interfaces/apimeta.d.ts +0 -15
- package/lib/tam.i18n.d.ts +0 -24
- package/rangertechnologies-ngnxt-2.1.252.tgz +0 -0
- /package/lib/services/{change.service.d.ts → change/change.service.d.ts} +0 -0
- /package/lib/services/{country.service.d.ts → country/country.service.d.ts} +0 -0
- /package/lib/services/{data.service.d.ts → data/data.service.d.ts} +0 -0
- /package/lib/services/{salesforce.service.d.ts → salesforce/salesforce.service.d.ts} +0 -0
- /package/lib/services/{shared.service.d.ts → shared/shared.service.d.ts} +0 -0
- /package/lib/services/{template.service.d.ts → template/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.service';
|
|
2
|
+
import { TranslationService } from '../../services/translation/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.service';
|
|
3
|
+
import { ChangeService } from '../../services/change/change.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
interface CalendarDay {
|
|
6
6
|
date: Date;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { OnInit, EventEmitter, ElementRef, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
|
-
import { ChangeService } from '../../services/change.service';
|
|
4
|
-
import {
|
|
5
|
-
import { DataService } from '../../services/data.service';
|
|
3
|
+
import { ChangeService } from '../../services/change/change.service';
|
|
4
|
+
import { DataService } from '../../services/data/data.service';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class CustomDropdownComponent implements OnInit {
|
|
8
7
|
private changeService;
|
|
9
8
|
private dataService;
|
|
10
|
-
i18nService: I18nService;
|
|
11
9
|
options: any[];
|
|
12
10
|
placeholder: string;
|
|
13
11
|
apiMeta: string;
|
|
@@ -26,7 +24,7 @@ export declare class CustomDropdownComponent implements OnInit {
|
|
|
26
24
|
valueChange: EventEmitter<any>;
|
|
27
25
|
dropdownWrapper: ElementRef;
|
|
28
26
|
invalidFieldIds: string[];
|
|
29
|
-
constructor(changeService: ChangeService, dataService: DataService
|
|
27
|
+
constructor(changeService: ChangeService, dataService: DataService);
|
|
30
28
|
labelField: string;
|
|
31
29
|
valueField: string;
|
|
32
30
|
subscription: Subscription;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ChangeWrapper } from '../../model/changeWrapper';
|
|
3
|
-
import { ChangeService } from '../../services/change.service';
|
|
4
|
-
import { I18nService } from '../../i18n.service';
|
|
5
|
-
import { DataService } from '../../services/data.service';
|
|
6
3
|
import { Subscription } from 'rxjs';
|
|
4
|
+
import { ChangeService } from '../../services/change/change.service';
|
|
5
|
+
import { DataService } from '../../services/data/data.service';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class CustomRadioComponent implements OnInit {
|
|
9
8
|
private changeService;
|
|
10
9
|
private dataService;
|
|
11
|
-
i18nService: I18nService;
|
|
12
10
|
options: any[];
|
|
13
11
|
question: any;
|
|
14
12
|
apiMeta: string;
|
|
@@ -31,7 +29,7 @@ export declare class CustomRadioComponent implements OnInit {
|
|
|
31
29
|
isSaveHovered: boolean;
|
|
32
30
|
isDiscardHovered: boolean;
|
|
33
31
|
value: ChangeWrapper;
|
|
34
|
-
constructor(changeService: ChangeService, dataService: DataService
|
|
32
|
+
constructor(changeService: ChangeService, dataService: DataService);
|
|
35
33
|
viewEdit: boolean;
|
|
36
34
|
ngOnInit(): void;
|
|
37
35
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -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';
|
|
5
3
|
import { Subscription } from 'rxjs';
|
|
6
|
-
import { TranslationService } from '../../services/translation.service';
|
|
4
|
+
import { TranslationService } from '../../services/translation/translation.service';
|
|
5
|
+
import { DataService } from '../../services/data/data.service';
|
|
6
|
+
import { ChangeService } from '../../services/change/change.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class NxtDatatable {
|
|
9
9
|
private cdRef;
|
|
@@ -198,7 +198,6 @@ export declare class NxtDatatable {
|
|
|
198
198
|
onImageDelete(ques: any): Promise<void>;
|
|
199
199
|
fileChangeEvent(ques: any, event: any): Promise<void>;
|
|
200
200
|
private readFileAsDataURL;
|
|
201
|
-
readQuestions(qbId: any, ques: any): any[];
|
|
202
201
|
getDropDown(event: any): void;
|
|
203
202
|
static ɵfac: i0.ɵɵFactoryDeclaration<NxtDatatable, never>;
|
|
204
203
|
static ɵcmp: i0.ɵɵComponentDeclaration<NxtDatatable, "nxt-datatable", never, { "data": { "alias": "data"; "required": false; }; "tableFilterData": { "alias": "tableFilterData"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "withCheckBox": { "alias": "withCheckBox"; "required": false; }; "searchBar": { "alias": "searchBar"; "required": false; }; "tableSaveButton": { "alias": "tableSaveButton"; "required": false; }; "stickyColumn": { "alias": "stickyColumn"; "required": false; }; "tableWidth": { "alias": "tableWidth"; "required": false; }; "actionColumHeader": { "alias": "actionColumHeader"; "required": false; }; "actionButton": { "alias": "actionButton"; "required": false; }; "title": { "alias": "title"; "required": false; }; "isButtons": { "alias": "isButtons"; "required": false; }; "buttonArray": { "alias": "buttonArray"; "required": false; }; "tableId": { "alias": "tableId"; "required": false; }; "isEditRow": { "alias": "isEditRow"; "required": false; }; "isDeleteRow": { "alias": "isDeleteRow"; "required": false; }; "addInlineRecord": { "alias": "addInlineRecord"; "required": false; }; "searchConfigs": { "alias": "searchConfigs"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "actionButtonArray": { "alias": "actionButtonArray"; "required": false; }; "multipleFilter": { "alias": "multipleFilter"; "required": false; }; "isPagination": { "alias": "isPagination"; "required": false; }; "isNosIndicator": { "alias": "isNosIndicator"; "required": false; }; "isEditable": { "alias": "isEditable"; "required": false; }; "from": { "alias": "from"; "required": false; }; "question": { "alias": "question"; "required": false; }; "rowTextSize": { "alias": "rowTextSize"; "required": false; }; "rowTextColor": { "alias": "rowTextColor"; "required": false; }; "apiMeta": { "alias": "apiMeta"; "required": false; }; "summaryRows": { "alias": "summaryRows"; "required": false; }; "summaryColumns": { "alias": "summaryColumns"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "tableConfig": { "alias": "tableConfig"; "required": false; }; "tableParams": { "alias": "tableParams"; "required": false; }; "listViews": { "alias": "listViews"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; "selectedColumn": { "alias": "selectedColumn"; "required": false; }; "allIcons": { "alias": "allIcons"; "required": false; }; }, { "tableRowClick": "tableRowClick"; "onEditData": "onEditData"; "saveButtonData": "saveButtonData"; "onDeleteData": "onDeleteData"; "buttonEmit": "buttonEmit"; "hyperLinkEmit": "hyperLinkEmit"; "sideNavEmit": "sideNavEmit"; "actionButtonEmit": "actionButtonEmit"; "columnSelected": "columnSelected"; "removeColumn": "removeColumn"; "valueChange": "valueChange"; "selectedValues": "selectedValues"; "fileEmit": "fileEmit"; "NxtTableParamsEmit": "NxtTableParamsEmit"; "NxtTableFilterEmit": "NxtTableFilterEmit"; "hadleDropDownDependent": "hadleDropDownDependent"; "NxtTableEmit": "NxtTableEmit"; }, never, never, true, never>;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { SharedService } from '../../services/shared.service';
|
|
4
|
-
import { DataService } from '../../services/data.service';
|
|
2
|
+
import { SharedService } from '../../services/shared/shared.service';
|
|
5
3
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
|
+
import { DataService } from '../../services/data/data.service';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class NxtFileUploadComponent implements OnInit, OnChanges {
|
|
8
7
|
private SharedService;
|
|
9
8
|
private dataService;
|
|
10
9
|
private sanitizer;
|
|
11
|
-
i18nService: I18nService;
|
|
12
10
|
selectedFileData: EventEmitter<any>;
|
|
13
11
|
deletedFileData: EventEmitter<any>;
|
|
14
12
|
allFiles: any;
|
|
@@ -35,7 +33,7 @@ export declare class NxtFileUploadComponent implements OnInit, OnChanges {
|
|
|
35
33
|
isSaveHovered: boolean;
|
|
36
34
|
isDiscardHovered: boolean;
|
|
37
35
|
isLoading: boolean;
|
|
38
|
-
constructor(SharedService: SharedService, dataService: DataService, sanitizer: DomSanitizer
|
|
36
|
+
constructor(SharedService: SharedService, dataService: DataService, sanitizer: DomSanitizer);
|
|
39
37
|
ngOnInit(): void;
|
|
40
38
|
ngOnChanges(simpleChanges: SimpleChanges): void;
|
|
41
39
|
initializeFileConfigs(): void;
|
|
@@ -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(): "
|
|
70
|
+
get alignImageStyle(): "left" | "center";
|
|
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';
|
|
5
3
|
import { Subscription } from 'rxjs';
|
|
6
4
|
import { OwlDateTimeComponent } from '@danielmoncada/angular-datetime-picker';
|
|
7
5
|
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,8 @@
|
|
|
1
1
|
/// <reference types="google.maps" />
|
|
2
2
|
import { ElementRef, EventEmitter, ChangeDetectorRef, NgZone, OnInit, SimpleChanges, OnChanges } from '@angular/core';
|
|
3
|
-
import { I18nService } from '../../i18n.service';
|
|
4
3
|
import { ChangeWrapper } from '../../model/changeWrapper';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class PickLocationComponent implements OnInit, OnChanges {
|
|
7
|
-
i18nService: I18nService;
|
|
8
6
|
private ngZone;
|
|
9
7
|
private cdr;
|
|
10
8
|
latitude: any;
|
|
@@ -29,7 +27,7 @@ export declare class PickLocationComponent implements OnInit, OnChanges {
|
|
|
29
27
|
};
|
|
30
28
|
markerOptions: any;
|
|
31
29
|
apiKey: any;
|
|
32
|
-
constructor(
|
|
30
|
+
constructor(ngZone: NgZone, cdr: ChangeDetectorRef);
|
|
33
31
|
ngOnInit(): void;
|
|
34
32
|
ngOnChanges(changes: SimpleChanges): void;
|
|
35
33
|
setInputRef(ref: ElementRef<HTMLInputElement>): void;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { OnInit, OnDestroy, OnChanges, EventEmitter, ElementRef, SimpleChanges, WritableSignal, TrackByFunction } from "@angular/core";
|
|
2
|
-
import { DataService } from '../../services/data.service';
|
|
3
|
-
import { I18nService } from "../../i18n.service";
|
|
4
|
-
import { CountryService } from "../../services/country.service";
|
|
5
2
|
import { Subscription } from "rxjs";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { StorageService } from "../../services/storage/storage.service";
|
|
4
|
+
import { ChangeService } from "../../services/change/change.service";
|
|
5
|
+
import { DataService } from "../../services/data/data.service";
|
|
6
|
+
import { CountryService } from "../../services/country/country.service";
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
export declare class NxtSearchBox implements OnInit, OnChanges, OnDestroy {
|
|
10
9
|
private storageService;
|
|
11
10
|
private changeService;
|
|
12
11
|
private dataService;
|
|
13
|
-
i18nService: I18nService;
|
|
14
12
|
private countryService;
|
|
15
13
|
private elementRef;
|
|
16
14
|
placeHolderText: string;
|
|
@@ -40,7 +38,7 @@ export declare class NxtSearchBox implements OnInit, OnChanges, OnDestroy {
|
|
|
40
38
|
private searchSubject;
|
|
41
39
|
subscription: Subscription;
|
|
42
40
|
trackByFn: TrackByFunction<any>;
|
|
43
|
-
constructor(storageService: StorageService, changeService: ChangeService, dataService: DataService,
|
|
41
|
+
constructor(storageService: StorageService, changeService: ChangeService, dataService: DataService, countryService: CountryService, elementRef: ElementRef);
|
|
44
42
|
ngOnInit(): void;
|
|
45
43
|
ngOnChanges(changes: SimpleChanges): void;
|
|
46
44
|
ngOnDestroy(): void;
|
package/lib/nxt-app.module.d.ts
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
import { TranslationService } from './services/translation.service';
|
|
1
|
+
import { TranslationService } from './services/translation/translation.service';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./nxt-app.component";
|
|
4
|
-
import * as i2 from "
|
|
5
|
-
import * as i3 from "@angular/
|
|
6
|
-
import * as i4 from "
|
|
7
|
-
import * as i5 from "./components/
|
|
8
|
-
import * as i6 from "./components/
|
|
9
|
-
import * as i7 from "./components/
|
|
10
|
-
import * as i8 from "./
|
|
11
|
-
import * as i9 from "./pages/
|
|
12
|
-
import * as i10 from "./pages/
|
|
13
|
-
import * as i11 from "./
|
|
14
|
-
import * as i12 from "./components/
|
|
15
|
-
import * as i13 from "./
|
|
16
|
-
import * as i14 from "./pages/
|
|
17
|
-
import * as i15 from "./pages/builder/form/form.component";
|
|
18
|
-
import * as i16 from "./i18n.module";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "@angular/forms";
|
|
6
|
+
import * as i4 from "./components/datatable/datatable.component";
|
|
7
|
+
import * as i5 from "./components/search-box/search-box.component";
|
|
8
|
+
import * as i6 from "./components/list-view-filter/list-view-filter.component";
|
|
9
|
+
import * as i7 from "./components/nxt-input/nxt-input.component";
|
|
10
|
+
import * as i8 from "./pages/questionnaire/questionnaire.component";
|
|
11
|
+
import * as i9 from "./pages/booklet/booklet.component";
|
|
12
|
+
import * as i10 from "./pages/questionbook/questionbook.component";
|
|
13
|
+
import * as i11 from "./components/button/nxt-button.component";
|
|
14
|
+
import * as i12 from "./components/icon-selector/icon-selector.component";
|
|
15
|
+
import * as i13 from "./pages/pdfDesigner/pdf-designer/pdf-designer.component";
|
|
16
|
+
import * as i14 from "./pages/builder/form/form.component";
|
|
19
17
|
export declare function initializeApp(translationService: TranslationService): () => Promise<void>;
|
|
20
18
|
export declare class NxtAppModule {
|
|
21
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<NxtAppModule, never>;
|
|
22
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NxtAppModule, [typeof i1.NxtAppComponent
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NxtAppModule, [typeof i1.NxtAppComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.NxtDatatable, typeof i5.NxtSearchBox, typeof i6.ListViewFilterComponent, typeof i7.NxtInput, typeof i8.QuestionnaireComponent, typeof i9.BookletComponent, typeof i10.QuestionbookComponent, typeof i11.NxtButtonComponent, typeof i12.IconSelectorComponent, typeof i13.PdfDesignerComponent, typeof i14.FormComponent], [typeof i1.NxtAppComponent, typeof i8.QuestionnaireComponent, typeof i9.BookletComponent, typeof i4.NxtDatatable, typeof i5.NxtSearchBox, typeof i6.ListViewFilterComponent, typeof i7.NxtInput, typeof i11.NxtButtonComponent, typeof i12.IconSelectorComponent, typeof i13.PdfDesignerComponent]>;
|
|
23
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<NxtAppModule>;
|
|
24
22
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { OnInit, EventEmitter, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { SalesforceService } from "../../services/salesforce.service";
|
|
3
|
-
import { DataService } from '../../services/data.service';
|
|
4
2
|
import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
|
|
5
3
|
import { ActionMeta } from '../../interfaces/actionMeta';
|
|
6
4
|
import { BookletWrapper } from "../../model/bookletWrapper";
|
|
7
|
-
import { StorageService } from '../../services/storage.service';
|
|
8
|
-
import { ChangeService } from "../../services/change.service";
|
|
9
5
|
import { Observable } from "rxjs";
|
|
10
6
|
import { HttpClient } from "@angular/common/http";
|
|
11
7
|
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";
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
14
|
export declare class BookletComponent implements OnInit {
|
|
14
15
|
private sfService;
|
|
@@ -17,6 +18,7 @@ export declare class BookletComponent implements OnInit {
|
|
|
17
18
|
private sanitizer;
|
|
18
19
|
private changeService;
|
|
19
20
|
private http;
|
|
21
|
+
private translationService;
|
|
20
22
|
bookletId: string;
|
|
21
23
|
serv: string;
|
|
22
24
|
tkn: string;
|
|
@@ -32,6 +34,7 @@ export declare class BookletComponent implements OnInit {
|
|
|
32
34
|
from: any;
|
|
33
35
|
apiUrl: any;
|
|
34
36
|
isEdit: boolean;
|
|
37
|
+
direction: string;
|
|
35
38
|
handleBookletActionEvent: EventEmitter<any>;
|
|
36
39
|
handlePage: EventEmitter<any>;
|
|
37
40
|
hadleDropDownDependent: EventEmitter<any>;
|
|
@@ -42,17 +45,14 @@ export declare class BookletComponent implements OnInit {
|
|
|
42
45
|
abItem: any;
|
|
43
46
|
actions: ActionMeta[];
|
|
44
47
|
bookQuestionsMap: any;
|
|
45
|
-
translateMap: any;
|
|
46
|
-
private sqOptions;
|
|
47
48
|
isAnswerFlag: boolean;
|
|
48
49
|
spinnerName: string;
|
|
49
50
|
spinnerType: string;
|
|
50
|
-
langDirection: string;
|
|
51
51
|
answerList: any[];
|
|
52
52
|
dataBind: any;
|
|
53
53
|
allEvents: any[];
|
|
54
54
|
questionbookComponent: QuestionbookComponent;
|
|
55
|
-
constructor(sfService: SalesforceService, dataService: DataService, storageService: StorageService, sanitizer: DomSanitizer, changeService: ChangeService, http: HttpClient);
|
|
55
|
+
constructor(sfService: SalesforceService, dataService: DataService, storageService: StorageService, sanitizer: DomSanitizer, changeService: ChangeService, http: HttpClient, translationService: TranslationService);
|
|
56
56
|
ngOnInit(): void;
|
|
57
57
|
ngOnChanges(simplechanges: SimpleChanges): void;
|
|
58
58
|
upgradeActions(actionString: string): any[];
|
|
@@ -68,13 +68,11 @@ export declare class BookletComponent implements OnInit {
|
|
|
68
68
|
flattenObject(obj: any, parentKey?: string): any[];
|
|
69
69
|
handleQues(ques: any): void;
|
|
70
70
|
addEvent(day: any, entryQues: any): void;
|
|
71
|
-
readQuestions(qbId: string): any[];
|
|
72
|
-
readTransQuestions(qbId: string): any[];
|
|
73
71
|
getText(value: any): SafeHtml;
|
|
74
72
|
getDropDown(event: any): void;
|
|
75
73
|
getCalendarDate(event: any): void;
|
|
76
74
|
getCalendarEvent(event: any): void;
|
|
77
75
|
editChangeClick(action: any): void;
|
|
78
76
|
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; }; "dataBind": { "alias": "dataBind"; "required": false; }; }, { "handleBookletActionEvent": "handleBookletActionEvent"; "handlePage": "handlePage"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, true, never>;
|
|
77
|
+
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>;
|
|
80
78
|
}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
import { EventEmitter, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { FormBuilderService } from "../../../services/form-builder.service";
|
|
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";
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ElementComponent {
|
|
6
|
+
private cdRef;
|
|
5
7
|
private formBuilderService;
|
|
8
|
+
private translationService;
|
|
6
9
|
bookletJSON: any;
|
|
7
10
|
bookletId: any;
|
|
11
|
+
langOption: any;
|
|
12
|
+
languageCode: any;
|
|
8
13
|
templateMode: EventEmitter<boolean>;
|
|
9
14
|
field: any;
|
|
10
15
|
formElements: any[];
|
|
@@ -27,7 +32,7 @@ export declare class ElementComponent {
|
|
|
27
32
|
templateSelected: boolean;
|
|
28
33
|
isHeaderSelect: boolean;
|
|
29
34
|
selectedColumn: any;
|
|
30
|
-
constructor(formBuilderService: FormBuilderService);
|
|
35
|
+
constructor(cdRef: ChangeDetectorRef, formBuilderService: FormBuilderService, translationService: TranslationService);
|
|
31
36
|
ngOnInit(): void;
|
|
32
37
|
toggleSection(section: "basic" | "advanced"): void;
|
|
33
38
|
isSectionOpen(section: string): boolean;
|
|
@@ -47,9 +52,6 @@ export declare class ElementComponent {
|
|
|
47
52
|
onDragOver(event: DragEvent, index: number): void;
|
|
48
53
|
onDrop(event: DragEvent, dropIndex: number): void;
|
|
49
54
|
toggleBoolean(field: any): void;
|
|
50
|
-
getBaseStyles(field: any, includeBorderStyle?: boolean): any;
|
|
51
|
-
getFontStyles(field: any): any;
|
|
52
|
-
getLineStyles(field: any): any;
|
|
53
55
|
onClose(): void;
|
|
54
56
|
addOnTable(): void;
|
|
55
57
|
updateTableFieldsMeta(elements: any[]): any[];
|
|
@@ -57,6 +59,7 @@ export declare class ElementComponent {
|
|
|
57
59
|
removeColumn(event: any): void;
|
|
58
60
|
fileChangeEvent(index: any, event: any): Promise<void>;
|
|
59
61
|
private readFileAsDataURL;
|
|
62
|
+
langChangeEmit(event: any): void;
|
|
60
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElementComponent, 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>;
|
|
64
|
+
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>;
|
|
62
65
|
}
|
|
@@ -3,6 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class FormComponent {
|
|
4
4
|
bookletJSON: any;
|
|
5
5
|
bookletId: any;
|
|
6
|
+
langOption: any;
|
|
6
7
|
formButtonHandler: EventEmitter<string>;
|
|
7
8
|
templateSaveHandler: EventEmitter<string>;
|
|
8
9
|
selectedElementType: string;
|
|
@@ -11,5 +12,5 @@ export declare class FormComponent {
|
|
|
11
12
|
formButtonHandlerClick(event: any): void;
|
|
12
13
|
saveTemplate(event: any): void;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, 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>;
|
|
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>;
|
|
15
16
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { FormBuilderService } from '../../../services/form-builder.service';
|
|
3
|
-
import { TemplateService } from '../../../services/template.service';
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit, ChangeDetectorRef } from '@angular/core';
|
|
4
2
|
import { CropperPosition, Dimensions, ImageTransform } from '../../../components/image-cropper/interfaces';
|
|
5
3
|
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';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class GetValueByPathPipe implements PipeTransform {
|
|
8
9
|
transform(obj: any, path: string, defaultValue?: any): any;
|
|
@@ -12,6 +13,8 @@ export declare class GetValueByPathPipe implements PipeTransform {
|
|
|
12
13
|
export declare class PropertiesComponent implements OnInit {
|
|
13
14
|
private formBuilderService;
|
|
14
15
|
private templateService;
|
|
16
|
+
private translationService;
|
|
17
|
+
private cdr;
|
|
15
18
|
templateSelected: boolean;
|
|
16
19
|
set selectedElementType(value: string);
|
|
17
20
|
formButtonHandler: EventEmitter<any>;
|
|
@@ -62,6 +65,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
62
65
|
type: string;
|
|
63
66
|
key: string;
|
|
64
67
|
isTranslate: boolean;
|
|
68
|
+
labelPath: string;
|
|
65
69
|
}[];
|
|
66
70
|
};
|
|
67
71
|
Line: {
|
|
@@ -69,6 +73,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
69
73
|
label: string;
|
|
70
74
|
type: string;
|
|
71
75
|
key: string;
|
|
76
|
+
labelPath: string;
|
|
72
77
|
placeholder?: undefined;
|
|
73
78
|
options?: undefined;
|
|
74
79
|
} | {
|
|
@@ -76,14 +81,17 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
76
81
|
type: string;
|
|
77
82
|
key: string;
|
|
78
83
|
placeholder: string;
|
|
84
|
+
labelPath: string;
|
|
79
85
|
options?: undefined;
|
|
80
86
|
} | {
|
|
81
87
|
label: string;
|
|
82
88
|
type: string;
|
|
83
89
|
key: string;
|
|
90
|
+
labelPath: string;
|
|
84
91
|
options: {
|
|
85
92
|
label: string;
|
|
86
93
|
value: string;
|
|
94
|
+
labelPath: string;
|
|
87
95
|
}[];
|
|
88
96
|
placeholder?: undefined;
|
|
89
97
|
})[];
|
|
@@ -94,6 +102,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
94
102
|
label: string;
|
|
95
103
|
type: string;
|
|
96
104
|
key: string;
|
|
105
|
+
labelPath: string;
|
|
97
106
|
}[];
|
|
98
107
|
fieldProps: any[];
|
|
99
108
|
};
|
|
@@ -103,6 +112,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
103
112
|
placeholder: string;
|
|
104
113
|
type: string;
|
|
105
114
|
key: string;
|
|
115
|
+
labelPath: string;
|
|
106
116
|
isTranslate?: undefined;
|
|
107
117
|
} | {
|
|
108
118
|
label: string;
|
|
@@ -110,10 +120,12 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
110
120
|
type: string;
|
|
111
121
|
key: string;
|
|
112
122
|
isTranslate: boolean;
|
|
123
|
+
labelPath: string;
|
|
113
124
|
} | {
|
|
114
125
|
label: string;
|
|
115
126
|
type: string;
|
|
116
127
|
key: string;
|
|
128
|
+
labelPath: string;
|
|
117
129
|
placeholder?: undefined;
|
|
118
130
|
isTranslate?: undefined;
|
|
119
131
|
})[];
|
|
@@ -123,12 +135,14 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
123
135
|
type: string;
|
|
124
136
|
key: string;
|
|
125
137
|
isTranslate: boolean;
|
|
138
|
+
labelPath: string;
|
|
126
139
|
subQuestion?: undefined;
|
|
127
140
|
} | {
|
|
128
141
|
label: string;
|
|
129
142
|
placeholder: string;
|
|
130
143
|
type: string;
|
|
131
144
|
key: string;
|
|
145
|
+
labelPath: string;
|
|
132
146
|
isTranslate?: undefined;
|
|
133
147
|
subQuestion?: undefined;
|
|
134
148
|
} | {
|
|
@@ -136,11 +150,13 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
136
150
|
placeholder: string;
|
|
137
151
|
type: string;
|
|
138
152
|
key: string;
|
|
153
|
+
labelPath: string;
|
|
139
154
|
subQuestion: {
|
|
140
155
|
label: string;
|
|
141
156
|
placeholder: string;
|
|
142
157
|
type: string;
|
|
143
158
|
key: string;
|
|
159
|
+
labelPath: string;
|
|
144
160
|
}[];
|
|
145
161
|
isTranslate?: undefined;
|
|
146
162
|
})[];
|
|
@@ -150,9 +166,11 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
150
166
|
key: string;
|
|
151
167
|
placeholder: string;
|
|
152
168
|
required: boolean;
|
|
169
|
+
labelPath: string;
|
|
153
170
|
options: {
|
|
154
171
|
label: string;
|
|
155
172
|
value: string;
|
|
173
|
+
labelPath: string;
|
|
156
174
|
}[];
|
|
157
175
|
defaultValue?: undefined;
|
|
158
176
|
} | {
|
|
@@ -161,6 +179,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
161
179
|
key: string;
|
|
162
180
|
defaultValue: string;
|
|
163
181
|
required: boolean;
|
|
182
|
+
labelPath: string;
|
|
164
183
|
placeholder?: undefined;
|
|
165
184
|
options?: undefined;
|
|
166
185
|
} | {
|
|
@@ -169,9 +188,11 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
169
188
|
key: string;
|
|
170
189
|
defaultValue: string;
|
|
171
190
|
required: boolean;
|
|
191
|
+
labelPath: string;
|
|
172
192
|
options: {
|
|
173
193
|
label: string;
|
|
174
194
|
value: string;
|
|
195
|
+
labelPath: string;
|
|
175
196
|
}[];
|
|
176
197
|
placeholder?: undefined;
|
|
177
198
|
} | {
|
|
@@ -179,6 +200,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
179
200
|
type: string;
|
|
180
201
|
key: string;
|
|
181
202
|
defaultValue: boolean;
|
|
203
|
+
labelPath: string;
|
|
182
204
|
placeholder?: undefined;
|
|
183
205
|
required?: undefined;
|
|
184
206
|
options?: undefined;
|
|
@@ -193,9 +215,11 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
193
215
|
targetArrayKey: string;
|
|
194
216
|
key: string;
|
|
195
217
|
required: boolean;
|
|
218
|
+
labelPath: string;
|
|
196
219
|
options: {
|
|
197
220
|
label: string;
|
|
198
221
|
value: string;
|
|
222
|
+
labelPath: string;
|
|
199
223
|
}[];
|
|
200
224
|
isTranslate?: undefined;
|
|
201
225
|
subQuestion?: undefined;
|
|
@@ -207,6 +231,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
207
231
|
targetArrayKey: string;
|
|
208
232
|
key: string;
|
|
209
233
|
isTranslate: boolean;
|
|
234
|
+
labelPath: string;
|
|
210
235
|
required?: undefined;
|
|
211
236
|
options?: undefined;
|
|
212
237
|
subQuestion?: undefined;
|
|
@@ -217,6 +242,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
217
242
|
targetArray: string;
|
|
218
243
|
targetArrayKey: string;
|
|
219
244
|
key: string;
|
|
245
|
+
labelPath: string;
|
|
220
246
|
required?: undefined;
|
|
221
247
|
options?: undefined;
|
|
222
248
|
isTranslate?: undefined;
|
|
@@ -228,6 +254,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
228
254
|
targetArray: string;
|
|
229
255
|
targetArrayKey: string;
|
|
230
256
|
key: string;
|
|
257
|
+
labelPath: string;
|
|
231
258
|
subQuestion: {
|
|
232
259
|
label: string;
|
|
233
260
|
placeholder: string;
|
|
@@ -235,6 +262,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
235
262
|
targetArray: string;
|
|
236
263
|
targetArrayKey: string;
|
|
237
264
|
key: string;
|
|
265
|
+
labelPath: string;
|
|
238
266
|
}[];
|
|
239
267
|
required?: undefined;
|
|
240
268
|
options?: undefined;
|
|
@@ -344,7 +372,9 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
344
372
|
appearance: any[];
|
|
345
373
|
};
|
|
346
374
|
}>;
|
|
347
|
-
|
|
375
|
+
formBuilderLanguageCode: any;
|
|
376
|
+
copied: boolean;
|
|
377
|
+
constructor(formBuilderService: FormBuilderService, templateService: TemplateService, translationService: TranslationService, cdr: ChangeDetectorRef);
|
|
348
378
|
ngOnInit(): void;
|
|
349
379
|
private createElementProperties;
|
|
350
380
|
createElementConfig(config?: {
|
|
@@ -358,7 +388,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
358
388
|
};
|
|
359
389
|
addNewButton(): void;
|
|
360
390
|
removeButton(btn: any): void;
|
|
361
|
-
onButtonPropertyChange(index: number, key: string, value: any): void;
|
|
391
|
+
onButtonPropertyChange(index: number, key: string, value: any, isTranslate?: boolean): void;
|
|
362
392
|
updateTitle(value: string): void;
|
|
363
393
|
validateInput(value: string, type: string): boolean;
|
|
364
394
|
updateField(value: string): void;
|
|
@@ -383,11 +413,12 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
383
413
|
getValueByPath(path: string, obj?: any, defaultValue?: any): any;
|
|
384
414
|
isAnotherIdSelected(): boolean;
|
|
385
415
|
onToggleChange(path: string, event: any): void;
|
|
386
|
-
setValueByPath(path: string, value: any): void;
|
|
416
|
+
setValueByPath(path: string, value: any, isTranslate?: boolean): void;
|
|
417
|
+
optionTranslationUpdate(option: any, event: any): void;
|
|
387
418
|
getStyleKeys(): string[];
|
|
388
419
|
updateElement(element: any): void;
|
|
389
420
|
getValueByArrayPath(targetArrayPath: any, targetArrayKey: string, selectColumn: string, keyPath: string, isTableColumn?: boolean): any;
|
|
390
|
-
updateValueByArrayPath(targetArrayPath: any, targetArrayKey: string, selectColumn: string, keyPath: string, event: any, isTableColumn?: boolean): void;
|
|
421
|
+
updateValueByArrayPath(targetArrayPath: any, targetArrayKey: string, selectColumn: string, keyPath: string, event: any, isTableColumn?: boolean, isTranslate?: boolean): void;
|
|
391
422
|
getDataByPath(path: string): any;
|
|
392
423
|
flipHorizontal(): void;
|
|
393
424
|
flipVertical(): void;
|
|
@@ -415,6 +446,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
415
446
|
updateBookSubtext(key: 'endpoint' | 'variable' | 'defaultField', value: string): void;
|
|
416
447
|
trackByProp(index: number, item: any): any;
|
|
417
448
|
getOptimizedSubPropValue(subProp: any): string;
|
|
449
|
+
copyToClipboard(text: string | null): void;
|
|
418
450
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertiesComponent, never>;
|
|
419
451
|
static ɵcmp: i0.ɵɵComponentDeclaration<PropertiesComponent, "app-properties", never, { "templateSelected": { "alias": "templateSelected"; "required": false; }; "selectedElementType": { "alias": "selectedElementType"; "required": false; }; }, { "formButtonHandler": "formButtonHandler"; "templateSaveHandler": "templateSaveHandler"; }, never, never, true, never>;
|
|
420
452
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { TemplateService } from '../../../services/template.service';
|
|
2
|
+
import { TemplateService } from '../../../services/template/template.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AppTemplatesComponent {
|
|
5
5
|
private templateService;
|