@rangertechnologies/ngnxt 2.1.253 → 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/custom-dropdown/custom-dropdown.component.mjs +3 -3
- package/esm2022/lib/components/custom-radio/custom-radio.component.mjs +5 -3
- package/esm2022/lib/components/datatable/datatable.component.mjs +3 -16
- package/esm2022/lib/components/icon-selector/icon-selector.component.mjs +4 -3
- package/esm2022/lib/model/bookletWrapper.mjs +1 -3
- package/esm2022/lib/pages/booklet/booklet.component.mjs +8 -50
- package/esm2022/lib/pages/builder/element/element.component.mjs +6 -31
- package/esm2022/lib/pages/builder/properties/common-fields.constants.mjs +9 -9
- package/esm2022/lib/pages/builder/properties/properties.component.mjs +52 -20
- package/esm2022/lib/pages/pdfDesigner/pdf-designer/pdf-designer.component.mjs +3 -45
- package/esm2022/lib/pages/pdfDesigner/pdf-properties/pdf-properties.component.mjs +11 -15
- package/esm2022/lib/pages/questionbook/questionbook.component.mjs +5 -22
- package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +1 -14
- package/esm2022/lib/pipe/custom-translate.pipe.mjs +6 -5
- package/esm2022/lib/pipe/svg/svg.pipe.mjs +26 -0
- package/esm2022/lib/services/form-builder/form-builder.service.mjs +12 -38
- package/esm2022/lib/services/pdf-designer/pdf-designer.service.mjs +1 -4
- package/esm2022/lib/services/template/template.service.mjs +1 -17
- package/esm2022/lib/services/translation/translation.service.mjs +4 -4
- package/fesm2022/rangertechnologies-ngnxt.mjs +139 -283
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/components/datatable/datatable.component.d.ts +0 -1
- package/lib/model/bookletWrapper.d.ts +0 -1
- package/lib/pages/booklet/booklet.component.d.ts +0 -2
- package/lib/pages/builder/element/element.component.d.ts +0 -3
- package/lib/pages/builder/properties/properties.component.d.ts +6 -2
- package/lib/pages/pdfDesigner/pdf-designer/pdf-designer.component.d.ts +0 -3
- package/lib/pages/questionbook/questionbook.component.d.ts +0 -1
- package/lib/pages/questionnaire/questionnaire.component.d.ts +0 -1
- package/lib/pipe/custom-translate.pipe.d.ts +1 -1
- package/lib/pipe/svg/svg.pipe.d.ts +10 -0
- package/lib/services/form-builder/form-builder.service.d.ts +1 -0
- package/lib/services/translation/translation.service.d.ts +1 -1
- package/package.json +1 -1
- package/rangertechnologies-ngnxt-2.1.254.tgz +0 -0
- package/rangertechnologies-ngnxt-2.1.253.tgz +0 -0
|
@@ -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>;
|
|
@@ -45,7 +45,6 @@ export declare class BookletComponent implements OnInit {
|
|
|
45
45
|
abItem: any;
|
|
46
46
|
actions: ActionMeta[];
|
|
47
47
|
bookQuestionsMap: any;
|
|
48
|
-
private sqOptions;
|
|
49
48
|
isAnswerFlag: boolean;
|
|
50
49
|
spinnerName: string;
|
|
51
50
|
spinnerType: string;
|
|
@@ -69,7 +68,6 @@ export declare class BookletComponent implements OnInit {
|
|
|
69
68
|
flattenObject(obj: any, parentKey?: string): any[];
|
|
70
69
|
handleQues(ques: any): void;
|
|
71
70
|
addEvent(day: any, entryQues: any): void;
|
|
72
|
-
readQuestions(qbId: string): any[];
|
|
73
71
|
getText(value: any): SafeHtml;
|
|
74
72
|
getDropDown(event: any): void;
|
|
75
73
|
getCalendarDate(event: any): void;
|
|
@@ -52,9 +52,6 @@ export declare class ElementComponent {
|
|
|
52
52
|
onDragOver(event: DragEvent, index: number): void;
|
|
53
53
|
onDrop(event: DragEvent, dropIndex: number): void;
|
|
54
54
|
toggleBoolean(field: any): void;
|
|
55
|
-
getBaseStyles(field: any, includeBorderStyle?: boolean): any;
|
|
56
|
-
getFontStyles(field: any): any;
|
|
57
|
-
getLineStyles(field: any): any;
|
|
58
55
|
onClose(): void;
|
|
59
56
|
addOnTable(): void;
|
|
60
57
|
updateTableFieldsMeta(elements: any[]): any[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { CropperPosition, Dimensions, ImageTransform } from '../../../components/image-cropper/interfaces';
|
|
3
3
|
import { PipeTransform } from '@angular/core';
|
|
4
4
|
import { FormBuilderService } from '../../../services/form-builder/form-builder.service';
|
|
@@ -14,6 +14,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
14
14
|
private formBuilderService;
|
|
15
15
|
private templateService;
|
|
16
16
|
private translationService;
|
|
17
|
+
private cdr;
|
|
17
18
|
templateSelected: boolean;
|
|
18
19
|
set selectedElementType(value: string);
|
|
19
20
|
formButtonHandler: EventEmitter<any>;
|
|
@@ -371,7 +372,9 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
371
372
|
appearance: any[];
|
|
372
373
|
};
|
|
373
374
|
}>;
|
|
374
|
-
|
|
375
|
+
formBuilderLanguageCode: any;
|
|
376
|
+
copied: boolean;
|
|
377
|
+
constructor(formBuilderService: FormBuilderService, templateService: TemplateService, translationService: TranslationService, cdr: ChangeDetectorRef);
|
|
375
378
|
ngOnInit(): void;
|
|
376
379
|
private createElementProperties;
|
|
377
380
|
createElementConfig(config?: {
|
|
@@ -443,6 +446,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
443
446
|
updateBookSubtext(key: 'endpoint' | 'variable' | 'defaultField', value: string): void;
|
|
444
447
|
trackByProp(index: number, item: any): any;
|
|
445
448
|
getOptimizedSubPropValue(subProp: any): string;
|
|
449
|
+
copyToClipboard(text: string | null): void;
|
|
446
450
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertiesComponent, never>;
|
|
447
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>;
|
|
448
452
|
}
|
|
@@ -76,8 +76,6 @@ export declare class PdfDesignerComponent {
|
|
|
76
76
|
onDragOver(event: DragEvent, index: number): void;
|
|
77
77
|
onDrop(event: DragEvent, dropIndex: number): void;
|
|
78
78
|
toggleBoolean(field: any): void;
|
|
79
|
-
getFontStyles(field: any): any;
|
|
80
|
-
getLineStyles(field: any): any;
|
|
81
79
|
onClose(): void;
|
|
82
80
|
addOnTable(): void;
|
|
83
81
|
addTableData(fieldId: any, fieldName: any): void;
|
|
@@ -110,7 +108,6 @@ export declare class PdfDesignerComponent {
|
|
|
110
108
|
toggleStyle(style: 'bold' | 'italic'): void;
|
|
111
109
|
setAlignment(alignment: 'left' | 'center' | 'right'): void;
|
|
112
110
|
updateContent(): void;
|
|
113
|
-
getMarginStyle(margin: number[] | undefined): string;
|
|
114
111
|
pdfSaveHandler(event: any): void;
|
|
115
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<PdfDesignerComponent, never>;
|
|
116
113
|
static ɵcmp: i0.ɵɵComponentDeclaration<PdfDesignerComponent, "app-pdf-designer", never, { "pdfJSON": { "alias": "pdfJSON"; "required": false; }; "bookletId": { "alias": "bookletId"; "required": false; }; "isPreview": { "alias": "isPreview"; "required": false; }; }, { "pdfSaveHandlerEmit": "pdfSaveHandlerEmit"; "templateMode": "templateMode"; "pdfPreviewEmit": "pdfPreviewEmit"; }, never, never, true, never>;
|
|
@@ -104,7 +104,6 @@ export declare class QuestionbookComponent implements OnInit, AfterViewInit {
|
|
|
104
104
|
cropperReady(sourceImageDimensions: Dimensions): void;
|
|
105
105
|
convertBlobToBase64(objectUrl: string): Promise<string>;
|
|
106
106
|
closeModal(): void;
|
|
107
|
-
readQuestions(qbId: any, ques: any): any[];
|
|
108
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionbookComponent, never>;
|
|
109
108
|
static ɵcmp: i0.ɵɵComponentDeclaration<QuestionbookComponent, "lib-questionbook", never, { "qbItem": { "alias": "qbItem"; "required": false; }; "questionItem": { "alias": "questionItem"; "required": false; }; "questions": { "alias": "questions"; "required": false; }; "errorFieldId": { "alias": "errorFieldId"; "required": false; }; "labelValue": { "alias": "labelValue"; "required": false; }; "token": { "alias": "token"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; "dropDownData": { "alias": "dropDownData"; "required": false; }; "dataBind": { "alias": "dataBind"; "required": false; }; "allIcons": { "alias": "allIcons"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "cdnIconURL": { "alias": "cdnIconURL"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, { "handleDropDown": "handleDropDown"; "handleQuestion": "handleQuestion"; "singleFieldChangeEmit": "singleFieldChangeEmit"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, true, never>;
|
|
110
109
|
}
|
|
@@ -62,7 +62,6 @@ export declare class QuestionnaireComponent implements OnInit {
|
|
|
62
62
|
selectedhourMap: Map<any, any>;
|
|
63
63
|
selectedminuteMap: Map<any, any>;
|
|
64
64
|
attachmentsMap: Map<any, any>;
|
|
65
|
-
sqOptions: Map<any, any>;
|
|
66
65
|
subAnsMap: Map<any, any>;
|
|
67
66
|
localSubQuestions: LocalQuestion[];
|
|
68
67
|
questionStack: any[];
|
|
@@ -4,7 +4,7 @@ export declare class NxtCustomTranslatePipe implements PipeTransform {
|
|
|
4
4
|
private cache;
|
|
5
5
|
private translationService;
|
|
6
6
|
constructor();
|
|
7
|
-
transform(key: string, fallback: string): string;
|
|
7
|
+
transform(key: string, fallback: string, from?: string): string;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<NxtCustomTranslatePipe, never>;
|
|
9
9
|
static ɵpipe: i0.ɵɵPipeDeclaration<NxtCustomTranslatePipe, "nxtCustomTranslate", true>;
|
|
10
10
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SvgPipe implements PipeTransform {
|
|
5
|
+
private sanitizer;
|
|
6
|
+
constructor(sanitizer: DomSanitizer);
|
|
7
|
+
transform(icon: any): SafeHtml;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SvgPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SvgPipe, "svg", true>;
|
|
10
|
+
}
|
|
@@ -9,7 +9,7 @@ export declare class TranslationService {
|
|
|
9
9
|
private formBuilderTranslations;
|
|
10
10
|
private formBuilderCurrentLang;
|
|
11
11
|
private formBuilderTranslationsLoaded;
|
|
12
|
-
formBuilderTranslationsLoaded$: import("rxjs").Observable<
|
|
12
|
+
formBuilderTranslationsLoaded$: import("rxjs").Observable<string>;
|
|
13
13
|
constructor(dataService: DataService);
|
|
14
14
|
load(): Promise<void>;
|
|
15
15
|
flattenAppTranslations(translations: any): any;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|