@rangertechnologies/ngnxt 2.1.275 → 2.1.276
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/fesm2022/rangertechnologies-ngnxt.mjs +6188 -9520
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/components/custom-calendar/custom-calendar.component.d.ts +1 -2
- package/lib/components/custom-dropdown/custom-dropdown.component.d.ts +1 -5
- package/lib/components/datatable/datatable.component.d.ts +7 -2
- package/lib/components/nxt-input/nxt-input.component.d.ts +10 -4
- package/lib/pages/builder/element/element.component.d.ts +0 -1
- package/lib/pages/pdfDesigner/pdf-designer/pdf-designer.component.d.ts +16 -6
- package/lib/pages/pdfDesigner/pdf-properties/pdf-properties.component.d.ts +315 -66
- package/lib/pages/questionbook/questionbook.component.d.ts +4 -5
- package/lib/pages/questionnaire/questionnaire.component.d.ts +10 -11
- package/lib/services/country/country.service.d.ts +5 -0
- package/lib/services/pdf-designer/pdf-designer.service.d.ts +14 -4
- package/lib/services/storage/storage.service.d.ts +5 -2
- package/package.json +1 -1
- package/rangertechnologies-ngnxt-2.1.276.tgz +0 -0
- package/lib/pages/builder/templates/templates.component.d.ts +0 -16
- package/lib/sample.d.ts +0 -11
- package/lib/wrapper.d.ts +0 -203
- package/rangertechnologies-ngnxt-2.1.275.tgz +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { Question } from '../../wrapper';
|
|
3
2
|
import { ChangeService } from '../../services/change/change.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
interface CalendarDay {
|
|
@@ -18,7 +17,7 @@ export declare class CustomCalendarComponent implements OnInit {
|
|
|
18
17
|
openModal: EventEmitter<any>;
|
|
19
18
|
closeModal: EventEmitter<any>;
|
|
20
19
|
allEvents: any[];
|
|
21
|
-
question:
|
|
20
|
+
question: any;
|
|
22
21
|
nxtId: string;
|
|
23
22
|
entries: any[];
|
|
24
23
|
referenceQuestions: any[];
|
|
@@ -12,7 +12,7 @@ export declare class CustomDropdownComponent implements OnInit {
|
|
|
12
12
|
private storageService;
|
|
13
13
|
options: any[];
|
|
14
14
|
placeholder: string;
|
|
15
|
-
apiMeta:
|
|
15
|
+
apiMeta: any;
|
|
16
16
|
selectedValue: string;
|
|
17
17
|
progressBar: boolean;
|
|
18
18
|
id: string;
|
|
@@ -29,11 +29,7 @@ export declare class CustomDropdownComponent implements OnInit {
|
|
|
29
29
|
dropdownWrapper: ElementRef;
|
|
30
30
|
invalidFieldIds: string[];
|
|
31
31
|
constructor(translationService: TranslationService, changeService: ChangeService, dataService: DataService, storageService: StorageService);
|
|
32
|
-
labelField: string;
|
|
33
|
-
valueField: string;
|
|
34
32
|
subscription: Subscription;
|
|
35
|
-
uniqueKey: string;
|
|
36
|
-
apiObj: any;
|
|
37
33
|
showOptions: boolean;
|
|
38
34
|
selectedOption: any;
|
|
39
35
|
ngOnInit(): void;
|
|
@@ -5,8 +5,10 @@ import { TranslationService } from '../../services/translation/translation.servi
|
|
|
5
5
|
import { DataService } from '../../services/data/data.service';
|
|
6
6
|
import { ChangeService } from '../../services/change/change.service';
|
|
7
7
|
import { StorageService } from '../../services/storage/storage.service';
|
|
8
|
+
import { CountryService } from '../../services/country/country.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class NxtDatatable {
|
|
11
|
+
private countryService;
|
|
10
12
|
private storageService;
|
|
11
13
|
private cdRef;
|
|
12
14
|
private translationService;
|
|
@@ -143,11 +145,14 @@ export declare class NxtDatatable {
|
|
|
143
145
|
private startX;
|
|
144
146
|
private startWidth;
|
|
145
147
|
private resizeFrameId;
|
|
146
|
-
|
|
148
|
+
columnWidthTrack: any;
|
|
147
149
|
currentTableData: any;
|
|
148
150
|
oldTableData: any;
|
|
149
151
|
viewEdit: boolean;
|
|
150
|
-
|
|
152
|
+
currencyOption: any;
|
|
153
|
+
columnSourceId: any;
|
|
154
|
+
summaryRowsOrginal: any;
|
|
155
|
+
constructor(countryService: CountryService, storageService: StorageService, cdRef: ChangeDetectorRef, translationService: TranslationService, renderer: Renderer2, dataService: DataService, changeService: ChangeService);
|
|
151
156
|
ngOnChanges(changes: SimpleChanges): void;
|
|
152
157
|
ngOnInit(): void;
|
|
153
158
|
ngAfterViewInit(): void;
|
|
@@ -6,9 +6,11 @@ import { ChangeService } from '../../services/change/change.service';
|
|
|
6
6
|
import { DataService } from '../../services/data/data.service';
|
|
7
7
|
import { TranslationService } from '../../services/translation/translation.service';
|
|
8
8
|
import { StorageService } from '../../services/storage/storage.service';
|
|
9
|
+
import { CountryService } from '../../services/country/country.service';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class NxtInput implements AfterViewInit {
|
|
11
12
|
#private;
|
|
13
|
+
private countryService;
|
|
12
14
|
private storageService;
|
|
13
15
|
private translationService;
|
|
14
16
|
private renderer;
|
|
@@ -66,8 +68,8 @@ export declare class NxtInput implements AfterViewInit {
|
|
|
66
68
|
selectedOption: any;
|
|
67
69
|
apiMeta: any;
|
|
68
70
|
direction: any;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
+
currency: any;
|
|
72
|
+
helpText: any;
|
|
71
73
|
set size(size: number);
|
|
72
74
|
valueChange: EventEmitter<string>;
|
|
73
75
|
inputValue: EventEmitter<any>;
|
|
@@ -121,7 +123,11 @@ export declare class NxtInput implements AfterViewInit {
|
|
|
121
123
|
cachedInputList: any[];
|
|
122
124
|
showHijriPicker: boolean;
|
|
123
125
|
dateFormatName: any;
|
|
124
|
-
|
|
126
|
+
rawInputVal: any;
|
|
127
|
+
languageCode: any;
|
|
128
|
+
currencyOptions: any;
|
|
129
|
+
currencySymbol: any;
|
|
130
|
+
constructor(countryService: CountryService, storageService: StorageService, translationService: TranslationService, renderer: Renderer2, elRef: ElementRef, elementRef: ElementRef, changeService: ChangeService, dataService: DataService);
|
|
125
131
|
hasEmittedRef: boolean;
|
|
126
132
|
ngAfterViewInit(): void;
|
|
127
133
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -166,5 +172,5 @@ export declare class NxtInput implements AfterViewInit {
|
|
|
166
172
|
onHijriInputClick(): void;
|
|
167
173
|
private searchFromApi;
|
|
168
174
|
static ɵfac: i0.ɵɵFactoryDeclaration<NxtInput, never>;
|
|
169
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NxtInput, "nxt-input", never, { "label": { "alias": "label"; "required": false; }; "labelFont": { "alias": "labelFont"; "required": false; }; "labelWeight": { "alias": "labelWeight"; "required": false; }; "inputWeight": { "alias": "inputWeight"; "required": false; }; "labelSize": { "alias": "labelSize"; "required": false; }; "inputValueSize": { "alias": "inputValueSize"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "svgHeight": { "alias": "svgHeight"; "required": false; }; "svgWidth": { "alias": "svgWidth"; "required": false; }; "type": { "alias": "type"; "required": false; }; "inputIconRightSrc": { "alias": "inputIconRightSrc"; "required": false; }; "inputIconLeftSrc": { "alias": "inputIconLeftSrc"; "required": false; }; "required": { "alias": "required"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "inputBgColor": { "alias": "inputBgColor"; "required": false; }; "inputBorder": { "alias": "inputBorder"; "required": false; }; "placeholderColor": { "alias": "placeholderColor"; "required": false; }; "placeholderFont": { "alias": "placeholderFont"; "required": false; }; "placeholderWeight": { "alias": "placeholderWeight"; "required": false; }; "placeholderSize": { "alias": "placeholderSize"; "required": false; }; "inputTextColor": { "alias": "inputTextColor"; "required": false; }; "inputHeight": { "alias": "inputHeight"; "required": false; }; "inputWidth": { "alias": "inputWidth"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inputBorderSize": { "alias": "inputBorderSize"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "confPassVal": { "alias": "confPassVal"; "required": false; }; "confPass": { "alias": "confPass"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "value": { "alias": "value"; "required": false; }; "question": { "alias": "question"; "required": false; }; "showSuggestion": { "alias": "showSuggestion"; "required": false; }; "ariaOwns": { "alias": "ariaOwns"; "required": false; }; "ariaHasPopup": { "alias": "ariaHasPopup"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "options": { "alias": "options"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "from": { "alias": "from"; "required": false; }; "selectedOption": { "alias": "selectedOption"; "required": false; }; "apiMeta": { "alias": "apiMeta"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "valueChange": "valueChange"; "inputValue": "inputValue"; "onBlur": "onBlur"; "onFocus": "onFocus"; "toggleEmit": "toggleEmit"; "nativeInputRef": "nativeInputRef"; "removeValueEmit": "removeValueEmit"; }, never, never, true, never>;
|
|
175
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NxtInput, "nxt-input", never, { "label": { "alias": "label"; "required": false; }; "labelFont": { "alias": "labelFont"; "required": false; }; "labelWeight": { "alias": "labelWeight"; "required": false; }; "inputWeight": { "alias": "inputWeight"; "required": false; }; "labelSize": { "alias": "labelSize"; "required": false; }; "inputValueSize": { "alias": "inputValueSize"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "svgHeight": { "alias": "svgHeight"; "required": false; }; "svgWidth": { "alias": "svgWidth"; "required": false; }; "type": { "alias": "type"; "required": false; }; "inputIconRightSrc": { "alias": "inputIconRightSrc"; "required": false; }; "inputIconLeftSrc": { "alias": "inputIconLeftSrc"; "required": false; }; "required": { "alias": "required"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "inputBgColor": { "alias": "inputBgColor"; "required": false; }; "inputBorder": { "alias": "inputBorder"; "required": false; }; "placeholderColor": { "alias": "placeholderColor"; "required": false; }; "placeholderFont": { "alias": "placeholderFont"; "required": false; }; "placeholderWeight": { "alias": "placeholderWeight"; "required": false; }; "placeholderSize": { "alias": "placeholderSize"; "required": false; }; "inputTextColor": { "alias": "inputTextColor"; "required": false; }; "inputHeight": { "alias": "inputHeight"; "required": false; }; "inputWidth": { "alias": "inputWidth"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inputBorderSize": { "alias": "inputBorderSize"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "confPassVal": { "alias": "confPassVal"; "required": false; }; "confPass": { "alias": "confPass"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "value": { "alias": "value"; "required": false; }; "question": { "alias": "question"; "required": false; }; "showSuggestion": { "alias": "showSuggestion"; "required": false; }; "ariaOwns": { "alias": "ariaOwns"; "required": false; }; "ariaHasPopup": { "alias": "ariaHasPopup"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "options": { "alias": "options"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "from": { "alias": "from"; "required": false; }; "selectedOption": { "alias": "selectedOption"; "required": false; }; "apiMeta": { "alias": "apiMeta"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "valueChange": "valueChange"; "inputValue": "inputValue"; "onBlur": "onBlur"; "onFocus": "onFocus"; "toggleEmit": "toggleEmit"; "nativeInputRef": "nativeInputRef"; "removeValueEmit": "removeValueEmit"; }, never, never, true, never>;
|
|
170
176
|
}
|
|
@@ -53,7 +53,6 @@ export declare class ElementComponent {
|
|
|
53
53
|
toggleBoolean(field: any): void;
|
|
54
54
|
onClose(): void;
|
|
55
55
|
addOnTable(): void;
|
|
56
|
-
updateTableFieldsMeta(elements: any[]): any[];
|
|
57
56
|
columnSelected(event: any): void;
|
|
58
57
|
removeColumn(event: any): void;
|
|
59
58
|
fileChangeEvent(index: any, event: any): Promise<void>;
|
|
@@ -3,13 +3,18 @@ import { ImageTransform } from '../../../components/image-cropper/interfaces/ima
|
|
|
3
3
|
import { Dimensions } from '../../../components/image-cropper/interfaces/dimensions.interface';
|
|
4
4
|
import { CropperPosition } from '../../../components/image-cropper/interfaces/cropper-position.interface';
|
|
5
5
|
import { PdfDesignerService } from '../../../services/pdf-designer/pdf-designer.service';
|
|
6
|
+
import { CountryService } from '../../../services/country/country.service';
|
|
7
|
+
import { ChangeService } from '../../../services/change/change.service';
|
|
6
8
|
import * as i0 from "@angular/core";
|
|
7
9
|
export declare class PdfDesignerComponent {
|
|
10
|
+
private changeService;
|
|
11
|
+
private countryService;
|
|
8
12
|
private pdfDesignerService;
|
|
9
13
|
textareas: QueryList<ElementRef>;
|
|
10
14
|
pdfJSON: any;
|
|
11
15
|
bookletId: any;
|
|
12
16
|
isPreview: boolean;
|
|
17
|
+
from: any;
|
|
13
18
|
pdfSaveHandlerEmit: EventEmitter<any>;
|
|
14
19
|
templateMode: EventEmitter<boolean>;
|
|
15
20
|
pdfPreviewEmit: EventEmitter<any>;
|
|
@@ -50,7 +55,11 @@ export declare class PdfDesignerComponent {
|
|
|
50
55
|
alignImage: "center";
|
|
51
56
|
showTextSettings: boolean;
|
|
52
57
|
selectedColumn: any;
|
|
53
|
-
|
|
58
|
+
defaultColors: string[];
|
|
59
|
+
selectedColor: string;
|
|
60
|
+
currencyOptions: any;
|
|
61
|
+
selectedCurrency: any;
|
|
62
|
+
constructor(changeService: ChangeService, countryService: CountryService, pdfDesignerService: PdfDesignerService);
|
|
54
63
|
ngAfterViewInit(): void;
|
|
55
64
|
getContrastColor(bgColor?: string): string;
|
|
56
65
|
resizeAllTextareas(): void;
|
|
@@ -62,13 +71,13 @@ export declare class PdfDesignerComponent {
|
|
|
62
71
|
elements: any[];
|
|
63
72
|
}): void;
|
|
64
73
|
private initializeForm;
|
|
65
|
-
selectElement(index: number): void;
|
|
74
|
+
selectElement(index: number, pdfIndex?: number): void;
|
|
66
75
|
selectedFieldIndex: number | null;
|
|
67
76
|
selectHeading(event: any): void;
|
|
68
77
|
generateUiId(): string;
|
|
69
78
|
addElement(type: string): void;
|
|
70
79
|
onTextAreaInput(event: Event, field: any): void;
|
|
71
|
-
onQuestionChange(value:
|
|
80
|
+
onQuestionChange(value: any, field: any): void;
|
|
72
81
|
pdfPreview(pdf: any): void;
|
|
73
82
|
onFieldDateChange(event: any): void;
|
|
74
83
|
removeElement(field: any, index: number): void;
|
|
@@ -98,7 +107,6 @@ export declare class PdfDesignerComponent {
|
|
|
98
107
|
moveDown(): void;
|
|
99
108
|
moveUp(): void;
|
|
100
109
|
private flipAfterRotate;
|
|
101
|
-
onImageSizeChange(): void;
|
|
102
110
|
imageCropped(event: any): Promise<void>;
|
|
103
111
|
cropperReady(sourceImageDimensions: Dimensions): void;
|
|
104
112
|
convertBlobToBase64(objectUrl: string): Promise<string>;
|
|
@@ -107,8 +115,10 @@ export declare class PdfDesignerComponent {
|
|
|
107
115
|
closeTextSettings(): void;
|
|
108
116
|
toggleStyle(style: 'bold' | 'italic'): void;
|
|
109
117
|
setAlignment(alignment: 'left' | 'center' | 'right'): void;
|
|
110
|
-
updateContent(): void;
|
|
118
|
+
updateContent(tempElement?: any): void;
|
|
111
119
|
pdfSaveHandler(event: any): void;
|
|
120
|
+
selectColor(color: string): void;
|
|
121
|
+
currencyChange(event: any): void;
|
|
112
122
|
static ɵfac: i0.ɵɵFactoryDeclaration<PdfDesignerComponent, never>;
|
|
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>;
|
|
123
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PdfDesignerComponent, "app-pdf-designer", never, { "pdfJSON": { "alias": "pdfJSON"; "required": false; }; "bookletId": { "alias": "bookletId"; "required": false; }; "isPreview": { "alias": "isPreview"; "required": false; }; "from": { "alias": "from"; "required": false; }; }, { "pdfSaveHandlerEmit": "pdfSaveHandlerEmit"; "templateMode": "templateMode"; "pdfPreviewEmit": "pdfPreviewEmit"; }, never, never, true, never>;
|
|
114
124
|
}
|