@rangertechnologies/ngnxt 2.1.34014 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/fesm2022/rangertechnologies-ngnxt.mjs +4717 -783
  2. package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
  3. package/package.json +7 -6
  4. package/rangertechnologies-ngnxt-2.2.1.tgz +0 -0
  5. package/src/lib/style.css +3 -7
  6. package/types/rangertechnologies-ngnxt.d.ts +2310 -0
  7. package/environments/version.d.ts +0 -11
  8. package/index.d.ts +0 -5
  9. package/lib/components/button/nxt-button.component.d.ts +0 -49
  10. package/lib/components/custom-calendar/custom-calendar.component.d.ts +0 -63
  11. package/lib/components/custom-model/custom-model.component.d.ts +0 -19
  12. package/lib/components/custom-radio/custom-radio.component.d.ts +0 -44
  13. package/lib/components/datatable/datatable.component.d.ts +0 -244
  14. package/lib/components/file-upload/file-upload.component.d.ts +0 -74
  15. package/lib/components/formula-input/formula-input.component.d.ts +0 -39
  16. package/lib/components/icon-selector/icon-selector.component.d.ts +0 -34
  17. package/lib/components/image-cropper/component/cropper.state.d.ts +0 -29
  18. package/lib/components/image-cropper/component/image-cropper.component.d.ts +0 -109
  19. package/lib/components/image-cropper/interfaces/basic-event.interface.d.ts +0 -4
  20. package/lib/components/image-cropper/interfaces/cropper-options.interface.d.ts +0 -28
  21. package/lib/components/image-cropper/interfaces/cropper-position.interface.d.ts +0 -6
  22. package/lib/components/image-cropper/interfaces/dimensions.interface.d.ts +0 -4
  23. package/lib/components/image-cropper/interfaces/exif-transform.interface.d.ts +0 -4
  24. package/lib/components/image-cropper/interfaces/image-cropped-event.interface.d.ts +0 -11
  25. package/lib/components/image-cropper/interfaces/image-transform.interface.d.ts +0 -9
  26. package/lib/components/image-cropper/interfaces/index.d.ts +0 -7
  27. package/lib/components/image-cropper/interfaces/loaded-image.interface.d.ts +0 -15
  28. package/lib/components/image-cropper/interfaces/move-start.interface.d.ts +0 -17
  29. package/lib/components/image-cropper/services/crop.service.d.ts +0 -13
  30. package/lib/components/image-cropper/services/load-image.service.d.ts +0 -17
  31. package/lib/components/image-cropper/utils/cropper-position.utils.d.ts +0 -11
  32. package/lib/components/image-cropper/utils/exif.utils.d.ts +0 -3
  33. package/lib/components/image-cropper/utils/keyboard.utils.d.ts +0 -5
  34. package/lib/components/image-cropper/utils/percentage.utils.d.ts +0 -1
  35. package/lib/components/image-cropper/utils/resize.utils.d.ts +0 -1
  36. package/lib/components/list-view-filter/list-view-filter.component.d.ts +0 -109
  37. package/lib/components/nxt-datepicker/custom-datepicker/custom-datepicker.component.d.ts +0 -68
  38. package/lib/components/nxt-datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +0 -50
  39. package/lib/components/nxt-datepicker/nxt-datepicker.component.d.ts +0 -20
  40. package/lib/components/nxt-dropdown/nxt-dropdown.component.d.ts +0 -62
  41. package/lib/components/nxt-input/nxt-input.component.d.ts +0 -207
  42. package/lib/components/pagination/pagination.component.d.ts +0 -37
  43. package/lib/components/search-box/search-box.component.d.ts +0 -72
  44. package/lib/interfaces/actionMeta.d.ts +0 -6
  45. package/lib/interfaces/dependencyMeta.d.ts +0 -8
  46. package/lib/model/bookletWrapper.d.ts +0 -4
  47. package/lib/model/changeWrapper.d.ts +0 -9
  48. package/lib/model/errorWrapper.d.ts +0 -5
  49. package/lib/nxt-app.component.d.ts +0 -8
  50. package/lib/nxt-app.module.d.ts +0 -22
  51. package/lib/nxt-app.service.d.ts +0 -6
  52. package/lib/pages/booklet/booklet.component.d.ts +0 -96
  53. package/lib/pages/builder/element/element.component.d.ts +0 -64
  54. package/lib/pages/builder/form/form.component.d.ts +0 -15
  55. package/lib/pages/builder/properties/common-fields.constants.d.ts +0 -173
  56. package/lib/pages/builder/properties/properties.component.d.ts +0 -480
  57. package/lib/pages/pdfDesigner/pdf-designer/pdf-designer.component.d.ts +0 -141
  58. package/lib/pages/pdfDesigner/pdf-properties/pdf-properties.component.d.ts +0 -1169
  59. package/lib/pages/questionbook/questionbook.component.d.ts +0 -108
  60. package/lib/pages/questionnaire/questionnaire.component.d.ts +0 -213
  61. package/lib/pipe/NxtDate.pipe.d.ts +0 -14
  62. package/lib/pipe/amount-in-words/amount-in-words.pipe.d.ts +0 -9
  63. package/lib/pipe/button-styles.pipe.d.ts +0 -9
  64. package/lib/pipe/custom-translate.pipe.d.ts +0 -10
  65. package/lib/pipe/get-value.pipe.d.ts +0 -12
  66. package/lib/pipe/question-by-row.pipe.d.ts +0 -9
  67. package/lib/pipe/search-filter/search-filter.pipe.d.ts +0 -8
  68. package/lib/services/GoogleMapsLoaderService/google-maps-loader-service.service.d.ts +0 -7
  69. package/lib/services/change/change.service.d.ts +0 -21
  70. package/lib/services/country/country.service.d.ts +0 -54
  71. package/lib/services/data/data.service.d.ts +0 -18
  72. package/lib/services/form-builder/form-builder.service.d.ts +0 -103
  73. package/lib/services/pdf-designer/pdf-designer.service.d.ts +0 -59
  74. package/lib/services/salesforce/salesforce.service.d.ts +0 -11
  75. package/lib/services/shared/shared.service.d.ts +0 -15
  76. package/lib/services/storage/storage.service.d.ts +0 -20
  77. package/lib/services/template/template.service.d.ts +0 -18
  78. package/lib/services/translation/indexeddb-reader.service.d.ts +0 -13
  79. package/lib/services/translation/translation.service.d.ts +0 -32
  80. package/public-api.d.ts +0 -17
  81. package/rangertechnologies-ngnxt-2.1.34014.tgz +0 -0
@@ -1,108 +0,0 @@
1
- import { OnInit, EventEmitter, AfterViewInit } from '@angular/core';
2
- import { BehaviorSubject, Subscription } from 'rxjs';
3
- import { CropperPosition, Dimensions, ImageTransform } from '../../components/image-cropper/interfaces';
4
- import { DataService } from '../../services/data/data.service';
5
- import { ChangeService } from '../../services/change/change.service';
6
- import * as i0 from "@angular/core";
7
- export declare class QuestionbookComponent implements OnInit, AfterViewInit {
8
- private dataService;
9
- private changeService;
10
- qbItem: any;
11
- questionItem: any;
12
- questions: any[];
13
- errorFieldId: any;
14
- labelValue: string;
15
- token: string;
16
- isEdit: boolean;
17
- dropDownData: any;
18
- dataBind: any;
19
- allIcons: any[];
20
- themeColor: string;
21
- cdnIconURL: string;
22
- direction: any;
23
- languageCode: any;
24
- from: any;
25
- bgColor: any;
26
- margin: any;
27
- onlyView: boolean;
28
- handleDropDown: EventEmitter<any>;
29
- handleQuestion: EventEmitter<any>;
30
- singleFieldChangeEmit: EventEmitter<any>;
31
- subQuestions: any[];
32
- selectedFileData: any[];
33
- loadComponent$: BehaviorSubject<boolean>;
34
- private destroy$;
35
- qbRef: any;
36
- style: any;
37
- bookStyle: any;
38
- subscription: Subscription;
39
- isImageEdit: boolean;
40
- selectedImageElement: any;
41
- transform: ImageTransform;
42
- canvasRotation: number;
43
- cropper?: CropperPosition;
44
- loading: boolean;
45
- cropperMaxHeight: number;
46
- cropperMaxWidth: number;
47
- cropperMinHeight: number;
48
- cropperMinWidth: number;
49
- cropperStaticWidth: number;
50
- cropperStaticHeight: number;
51
- aspectRatio: number;
52
- roundCropper: boolean;
53
- imageChangedEvent: Event | null;
54
- alignImage: "center";
55
- isImageHover: boolean;
56
- currencyOption: any;
57
- private processed;
58
- hadleDropDownDependent: EventEmitter<any>;
59
- handleCalendarDate: EventEmitter<any>;
60
- handleCalendarEvent: EventEmitter<any>;
61
- bookQuestionsMap: any;
62
- constructor(dataService: DataService, changeService: ChangeService);
63
- ngOnInit(): void;
64
- ngAfterViewInit(): void;
65
- handleQues(ques: any): Promise<void>;
66
- processData(): void;
67
- hideDependentElements(elementId: any): void;
68
- setSubQuestions(records: any): void;
69
- childEventCapture(event: any, ques: any, input?: any): void;
70
- deleteFile(fileData: any): void;
71
- getDropDown(event: any): void;
72
- getCurrentCalendar(event: any): void;
73
- getCalendarEvent(event: any): void;
74
- isCalendarModalOpen: boolean;
75
- calendarModalTitle: any;
76
- calendarModalSize: any;
77
- calendarSaveButtonValue: any;
78
- referenceQuestions: any[];
79
- qbRefrenceBook: any;
80
- modalCalendarModalFooter: any;
81
- openCalendarModal(event: any): void;
82
- onCalendarModalSave(): void;
83
- handleQuestionEvent(event: any): void;
84
- closeCalendarModal(event: any): void;
85
- fileChangeEvent(ques: any, event: any): Promise<void>;
86
- private readFileAsDataURL;
87
- onImageEdit(ques: any): Promise<void>;
88
- onImageDelete(ques: any): Promise<void>;
89
- flipHorizontal(): void;
90
- flipVertical(): void;
91
- resetImage(): void;
92
- zoomOut(): void;
93
- zoomIn(): void;
94
- rotateLeft(): void;
95
- rotateRight(): void;
96
- moveLeft(): void;
97
- moveRight(): void;
98
- moveDown(): void;
99
- moveUp(): void;
100
- private flipAfterRotate;
101
- imageCropped(event: any): Promise<void>;
102
- cropperReady(sourceImageDimensions: Dimensions): void;
103
- convertBlobToBase64(objectUrl: string): Promise<string>;
104
- closeModal(): void;
105
- ngOnDestroy(): void;
106
- static ɵfac: i0.ɵɵFactoryDeclaration<QuestionbookComponent, never>;
107
- 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; }; "languageCode": { "alias": "languageCode"; "required": false; }; "from": { "alias": "from"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; }, { "handleDropDown": "handleDropDown"; "handleQuestion": "handleQuestion"; "singleFieldChangeEmit": "singleFieldChangeEmit"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, true, never>;
108
- }
@@ -1,213 +0,0 @@
1
- import { OnInit, EventEmitter, ElementRef, SimpleChanges } from "@angular/core";
2
- import { ActivatedRoute, Params } from "@angular/router";
3
- import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
4
- import { UntypedFormBuilder } from "@angular/forms";
5
- import { DeviceDetectorService } from 'ngx-device-detector';
6
- import { SalesforceService } from "../../services/salesforce/salesforce.service";
7
- import { DataService } from "../../services/data/data.service";
8
- import { ChangeService } from "../../services/change/change.service";
9
- import { SharedService } from "../../services/shared/shared.service";
10
- import * as i0 from "@angular/core";
11
- export declare class QuestionnaireComponent implements OnInit {
12
- private sfService;
13
- private dataService;
14
- private changeService;
15
- private sharedService;
16
- private route;
17
- private sanitizer;
18
- private _formBuilder;
19
- private deviceService;
20
- qbId: string;
21
- insuranceStartDate: string;
22
- serv: string;
23
- tkn: string;
24
- api: string;
25
- isEdit: boolean;
26
- direction: string;
27
- handleEvent: EventEmitter<any>;
28
- handlePage: EventEmitter<any>;
29
- handleQuestion: EventEmitter<any>;
30
- handleBook: EventEmitter<any>;
31
- handleSubmit: EventEmitter<any>;
32
- params: Params;
33
- deviceInfo: any;
34
- abItem: any;
35
- qbItem: any;
36
- questionItem: any;
37
- answerWrap: any;
38
- radioFlag: boolean;
39
- dataFlag: boolean;
40
- dropdownFlag: boolean;
41
- checkboxFlag: boolean;
42
- textFlag: boolean;
43
- taFlag: boolean;
44
- rtaFlag: boolean;
45
- dtFlag: boolean;
46
- timeFlag: boolean;
47
- dateFlag: boolean;
48
- fileFlag: boolean;
49
- emailFlag: boolean;
50
- numberFlag: boolean;
51
- alphanumericFlag: boolean;
52
- bookFlag: boolean;
53
- listFlag: boolean;
54
- backButtonFlag: boolean;
55
- isButtonDisabled: boolean;
56
- optionValues: any[];
57
- subQuestions: any[];
58
- inpValue: string;
59
- answerMap: Map<any, any>;
60
- dateMap: Map<any, any>;
61
- selectedhourMap: Map<any, any>;
62
- selectedminuteMap: Map<any, any>;
63
- attachmentsMap: Map<any, any>;
64
- subAnsMap: Map<any, any>;
65
- localSubQuestions: any[];
66
- questionStack: any[];
67
- questionName: any[];
68
- attachments: any[];
69
- attachmentIdList: any[];
70
- attachmentId: string;
71
- attachment: any;
72
- allowedFileExtension: string[];
73
- fileExceededLimit: boolean;
74
- fileTypeIncorrect: boolean;
75
- back: boolean;
76
- backicon: boolean;
77
- check: boolean;
78
- pop: boolean;
79
- localDate: string;
80
- currentName: string;
81
- pathquestion: number;
82
- percent: number;
83
- count: number;
84
- taFocusOut: boolean;
85
- notValidAccNum: boolean;
86
- splCCBackClick: boolean;
87
- summary: any[];
88
- localSubQMap: Map<any, any>;
89
- keyIndex: number;
90
- selDate: any;
91
- selectDate: string;
92
- private today;
93
- private el;
94
- innerhtml: any;
95
- possibilities: any;
96
- innerhtml1: any;
97
- summaryData: any[];
98
- hours: any[];
99
- minutes: string[];
100
- selectedHour: string;
101
- selectedMinute: string;
102
- selectedMeridiem: string;
103
- valueName: string;
104
- valueName1: string;
105
- bookFlagAccept: string[];
106
- recordId: string;
107
- currentQuestionId: string;
108
- spinnerType: string;
109
- start_date?: any;
110
- tempoAddress: any[];
111
- selectedValue: string;
112
- selectedPostalcode: string;
113
- selectedProvince: string;
114
- selectedCity: string;
115
- selectedArea: string;
116
- localaddress: any[];
117
- allAddress: any[];
118
- PostalCode: string;
119
- places: any[];
120
- province: any[];
121
- progressStyle: string;
122
- answerCount: number;
123
- indexCount: number;
124
- addFlag: boolean;
125
- myDatePickerOptions: any;
126
- individualBookButton: boolean;
127
- allInputValues: any[];
128
- constructor(sfService: SalesforceService, dataService: DataService, changeService: ChangeService, sharedService: SharedService, route: ActivatedRoute, sanitizer: DomSanitizer, _formBuilder: UntypedFormBuilder, deviceService: DeviceDetectorService, el: ElementRef);
129
- onDateChanged(event: any, ques: any): void;
130
- ngOnInit(): void;
131
- ngAfterViewInit(): void;
132
- ngOnChanges(simplechanges: SimpleChanges): void;
133
- date_TimeMap(): void;
134
- day(): void;
135
- change(): void;
136
- processQB(): void;
137
- trimLastDummy(input: string): string;
138
- getProperTime(def: string, input: string): string;
139
- handleEditClick(value: string): void;
140
- handleNextClick(): void;
141
- AnswerSave(): void;
142
- next(): void;
143
- getText(value: any): SafeHtml;
144
- handleBackClick(): void;
145
- handleBackClickNew(): void;
146
- private updateAnswerBook;
147
- private successupdateAB;
148
- deleteAnswers(answerbook: any): void;
149
- private successDeleteAB;
150
- private failureupdateAB;
151
- private readQuestionBook;
152
- private successReadBook;
153
- private failureReadBook;
154
- private readAnswerbook;
155
- private successAnswerBookRead;
156
- private failureAnswerBookRead;
157
- private readQuestion;
158
- private successRead;
159
- trackId(): void;
160
- private failureRead;
161
- private saveAnswer;
162
- htmlDecode(input: any): string;
163
- private successSave;
164
- private failureSave;
165
- private processQuestion;
166
- setFlag(typ: any): void;
167
- resetFlag(typ: any): void;
168
- setOptions(records: any): void;
169
- childEventCapture(event: any, ques?: any): void;
170
- handleRichTextChange(value: string): void;
171
- setSubQuestions(records: any): void;
172
- optionChange(selValue: any): void;
173
- clearError(): void;
174
- clearLocalSubQuesError(quesId: any): void;
175
- inputValidate(e: any): boolean;
176
- CCOnChange(inpValue: string): void;
177
- isNotValidAccNumber(s: string): boolean;
178
- clearSQError(quesId: any): void;
179
- uploadFile(event: any, ques?: any): void;
180
- private successAttachmentCreate;
181
- private successAttachmentDelete;
182
- private failureAttachmentCreate;
183
- private failureAttachmentDelete;
184
- handleSubmitClick(): void;
185
- handleCancelClick(): void;
186
- private createAttachment;
187
- deleteAttachment(attachmentId: string): void;
188
- private deleteSFAttachment;
189
- getFileName(fileNamewithIdandType: any): any;
190
- fileUI(): void;
191
- updateProgress(): void;
192
- townName(area: any): void;
193
- getTownLocal(): void;
194
- clearList(): void;
195
- setSearchListWidth(): void;
196
- getCode(): void;
197
- getPostalcode(value: any): void;
198
- closeDropdown(): void;
199
- structLocalSubQuestion(ques: any): void;
200
- addInputBox(question: any, index: number): void;
201
- removeAddress(quesUniqueId: string, qName: string): void;
202
- getLocalSubQuestions(id: String): any;
203
- Add(question: any): void;
204
- handleLocationSelected(location: any, ques: any): void;
205
- selectedInput(input: any, ques: any): void;
206
- handleTextareaValueChange(value: string): void;
207
- getData(data: any): void;
208
- displayDate(dateSelected: any, ques: any): void;
209
- getKey(item: any): any;
210
- getValue(item: any): any;
211
- static ɵfac: i0.ɵɵFactoryDeclaration<QuestionnaireComponent, never>;
212
- static ɵcmp: i0.ɵɵComponentDeclaration<QuestionnaireComponent, "lib-questionnaire", never, { "qbId": { "alias": "qbId"; "required": false; }; "insuranceStartDate": { "alias": "insuranceStartDate"; "required": false; }; "serv": { "alias": "serv"; "required": false; }; "tkn": { "alias": "tkn"; "required": false; }; "api": { "alias": "api"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, { "handleEvent": "handleEvent"; "handlePage": "handlePage"; "handleQuestion": "handleQuestion"; "handleBook": "handleBook"; "handleSubmit": "handleSubmit"; }, never, never, true, never>;
213
- }
@@ -1,14 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import 'moment/locale/ar-sa';
3
- import 'moment/locale/en-gb';
4
- import * as i0 from "@angular/core";
5
- export declare class NxtDatePipe implements PipeTransform {
6
- transform(value: any, typeOrFormat?: 'date' | 'datetime' | 'month' | 'time' | string, languageCode?: string, dateFormatType?: 'hijri' | 'gregorian'): string;
7
- /** SKS29OCT25 Map Angular-style date aliases to Moment formats */
8
- private mapAngularFormat;
9
- /** SKS29OCT25 Convert digits to Arabic numerals */
10
- private toArabicNumbers;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtDatePipe, never>;
12
- static ɵpipe: i0.ɵɵPipeDeclaration<NxtDatePipe, "NxtDate", true>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<NxtDatePipe>;
14
- }
@@ -1,9 +0,0 @@
1
- import { PipeTransform } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class AmountInWordsPipe implements PipeTransform {
4
- a: string[];
5
- b: string[];
6
- transform(value: string): any;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AmountInWordsPipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<AmountInWordsPipe, "amountInWords", true>;
9
- }
@@ -1,9 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ButtonStylesPipe implements PipeTransform {
4
- transform(config: any): {
5
- [key: string]: string;
6
- };
7
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonStylesPipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<ButtonStylesPipe, "buttonStyles", true>;
9
- }
@@ -1,10 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NxtCustomTranslatePipe implements PipeTransform {
4
- private cache;
5
- private translationService;
6
- constructor();
7
- transform(key: string, fallback: string, from?: string): string;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtCustomTranslatePipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<NxtCustomTranslatePipe, "nxtCustomTranslate", true>;
10
- }
@@ -1,12 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { DomSanitizer } from '@angular/platform-browser';
3
- import * as i0 from "@angular/core";
4
- export declare class NxtGetValuePipe implements PipeTransform {
5
- private sanitizer;
6
- constructor(sanitizer: DomSanitizer);
7
- transform(element: any, column: any, type?: any, ques?: any, from?: any, mode?: any): any;
8
- listDataGet(event: any, ques?: any, from?: any, mode?: any): any;
9
- getValues(element: any, columns: any, from?: any): any;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtGetValuePipe, never>;
11
- static ɵpipe: i0.ɵɵPipeDeclaration<NxtGetValuePipe, "getValue", true>;
12
- }
@@ -1,9 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class QuestionByRowPipe implements PipeTransform {
4
- private cache;
5
- transform(column: any, element: any, rowIndex: number): any;
6
- private getObjValue;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<QuestionByRowPipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<QuestionByRowPipe, "questionByRow", true>;
9
- }
@@ -1,8 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NxtSearchFilterPipe implements PipeTransform {
4
- transform(items: any[], searchText: string, ele?: any): any[];
5
- private searchItems;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtSearchFilterPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<NxtSearchFilterPipe, "searchFilter", true>;
8
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class GoogleMapsLoaderService {
3
- private loadPromise;
4
- load(apiKey: string): Promise<void>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<GoogleMapsLoaderService, never>;
6
- static ɵprov: i0.ɵɵInjectableDeclaration<GoogleMapsLoaderService>;
7
- }
@@ -1,21 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ChangeService {
3
- constructor();
4
- private changeAnnouncedSource;
5
- private changeConfirmedSource;
6
- private validationSource;
7
- private fieldSource;
8
- private customChanges;
9
- changeAnnounced$: import("rxjs").Observable<any>;
10
- changeConfirmed$: import("rxjs").Observable<any>;
11
- submitValidate$: import("rxjs").Observable<any>;
12
- changeField$: import("rxjs").Observable<any>;
13
- customChange$: import("rxjs").Observable<any>;
14
- announceChange(changeValue: any): void;
15
- confirmChange(childQuestion: string): void;
16
- dataChanges(data: string): void;
17
- submitChange(value: string): void;
18
- fieldChange(value: any): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<ChangeService, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<ChangeService>;
21
- }
@@ -1,54 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export interface CountryData {
3
- countryName: string;
4
- officialName: string;
5
- isoAlpha2: string;
6
- isoAlpha3: string;
7
- isoNumeric: string;
8
- capital: string[];
9
- capitalPrimary: string;
10
- coordinates: {
11
- latitude: number;
12
- longitude: number;
13
- latLng: number[];
14
- };
15
- areaSqKm: number;
16
- continent: string;
17
- region: string;
18
- subregion: string;
19
- population: number;
20
- languages: {
21
- [key: string]: string;
22
- };
23
- languagesName: string[];
24
- languageCode: string[];
25
- primaryLanguage: string;
26
- primaryLanguageCode: string;
27
- currencies: {
28
- [key: string]: any;
29
- };
30
- currencyCode: string;
31
- currencyName: string;
32
- currencySymbol: string;
33
- phoneCodeFull: string;
34
- flag: string;
35
- flagPng: string;
36
- flagSvg: string;
37
- timezones: string[];
38
- borders: string[];
39
- [key: string]: any;
40
- }
41
- export declare class CountryService {
42
- private countriesData;
43
- currentCurrencyOption: any;
44
- private currentCurrencyOptionSubject;
45
- currentCurrencyOption$: import("rxjs").Observable<any[]>;
46
- constructor();
47
- private transformData;
48
- currentCurrency(option: any): void;
49
- currencyCodeSet(code: any): void;
50
- getCurrentCurrency(): any;
51
- getCountryData(fields: (keyof CountryData)[]): any[];
52
- static ɵfac: i0.ɵɵFactoryDeclaration<CountryService, never>;
53
- static ɵprov: i0.ɵɵInjectableDeclaration<CountryService>;
54
- }
@@ -1,18 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class DataService {
5
- private http;
6
- apiUrl: any;
7
- constructor(http: HttpClient);
8
- getAPIData(tkn: string, params: string[], resolve: any, reject: any, config?: any): void;
9
- getAPIFromNode(dataType: string, operation: string, param1: string, param2: string, api: string): Observable<any>;
10
- getValue(element: any, columns: any): any;
11
- apikey(apidata: any): void;
12
- apiResponse(endpoint: string): Observable<any>;
13
- formatToHijriString(date: any, type?: 'year' | 'month' | 'date' | 'time' | any): any;
14
- formatToGregorianString(date: any, type?: any): string;
15
- nxtId(): string;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<DataService, [{ optional: true; }]>;
17
- static ɵprov: i0.ɵɵInjectableDeclaration<DataService>;
18
- }
@@ -1,103 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { ElementComponent } from '../../pages/builder/element/element.component';
3
- import { HttpClient } from '@angular/common/http';
4
- import * as i0 from "@angular/core";
5
- interface FormElement {
6
- action: any;
7
- id: any;
8
- type: string;
9
- name: any;
10
- questionText?: string;
11
- question?: string;
12
- helpText?: string;
13
- errorMessage?: string;
14
- isReadOnly?: boolean;
15
- isHidden?: boolean;
16
- required?: boolean;
17
- referenceField?: any;
18
- additionalRichContent?: any;
19
- groupName?: any;
20
- isDateBackward?: boolean;
21
- title?: any;
22
- subTitle?: any;
23
- size?: number;
24
- isDateForward?: boolean;
25
- isOptional?: boolean;
26
- isTitle?: boolean;
27
- nextQuestion?: any;
28
- allowedFileExtensions?: any;
29
- questionNumber?: number;
30
- order: number;
31
- questionBookId?: any;
32
- fieldsMeta?: any;
33
- trackingId?: any;
34
- recordId?: any;
35
- qbReference?: any;
36
- qbReferenceQuestions?: any;
37
- primaryKey: boolean;
38
- style: {
39
- labelClass: any;
40
- labelStyle: any;
41
- labelValueStyle: any;
42
- inputClass: any;
43
- inputStyle: any;
44
- showLabel: boolean;
45
- bookStyle: any;
46
- direction: any;
47
- questionStyle: any;
48
- };
49
- options?: Array<{
50
- value: string;
51
- label: string;
52
- uniqueIdentifier: any;
53
- id: any;
54
- }>;
55
- subText: any;
56
- }
57
- export declare class FormBuilderService {
58
- private http;
59
- private formElements;
60
- private formElementsSubject;
61
- private selectedElementSubject;
62
- private selectHeaderSubject;
63
- private actionSubject;
64
- private elementComponent;
65
- book: any;
66
- unique_id: any;
67
- formElements$: Observable<FormElement[]>;
68
- selectedElement$: Observable<number>;
69
- selectHeaderSubject$: Observable<any>;
70
- actionSubject$: Observable<any>;
71
- currentElement: any;
72
- selectTableColumn: any;
73
- constructor(http: HttpClient);
74
- intializeBook(book: any): void;
75
- getRefQbData(refqbid: string): Observable<any>;
76
- addElementWithId(): string;
77
- updateQuestionBookActionButtons(button: any, action: string): void;
78
- newBook(): void;
79
- clearElements(): void;
80
- getElementComponent(): ElementComponent | null;
81
- setElementComponent(component: ElementComponent): void;
82
- addElement(element: FormElement): void;
83
- addTableElement(element: any, ind: any): void;
84
- updateElement(index: number, updates: Partial<FormElement>): void;
85
- updateTitle(event: any): void;
86
- setSelectedElement(index: number): void;
87
- setSelectedTableElement(index: any, event: any): void;
88
- removeSelectedTableElement(index: number, event: any): void;
89
- getSelectTableColumn(): any;
90
- selectHeading(event: any): void;
91
- getElements(): FormElement[];
92
- sortElementsByOrder(): void;
93
- getBook(): any;
94
- getBookId(): any;
95
- updateBook(book: any): void;
96
- downloadElement(): any;
97
- updateElementsOrder(updatedElements: FormElement[]): void;
98
- removeElementComponent(id: any): void;
99
- elementUpdate(index: any, element: any): void;
100
- static ɵfac: i0.ɵɵFactoryDeclaration<FormBuilderService, never>;
101
- static ɵprov: i0.ɵɵInjectableDeclaration<FormBuilderService>;
102
- }
103
- export {};
@@ -1,59 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { ElementComponent } from '../../pages/builder/element/element.component';
3
- import { HttpClient } from '@angular/common/http';
4
- import { CountryService } from '../country/country.service';
5
- import 'moment/locale/ar-sa';
6
- import 'moment/locale/en-gb';
7
- import { DataService } from '../data/data.service';
8
- import * as i0 from "@angular/core";
9
- export declare class PdfDesignerService {
10
- private countryService;
11
- private http;
12
- private dataService;
13
- private pdfElements;
14
- private pdfElementsSubject;
15
- private selectedElementSubject;
16
- private selectHeaderSubject;
17
- private elementComponent;
18
- pdf: any;
19
- unique_id: any;
20
- tempElem: any[];
21
- pdfElements$: Observable<any[]>;
22
- selectedElement$: Observable<{
23
- index: number;
24
- pdfIndex?: number;
25
- }>;
26
- selectHeaderSubject$: Observable<any>;
27
- currentElement: any;
28
- selectTableColumn: any;
29
- currencyOption: any;
30
- constructor(countryService: CountryService, http: HttpClient, dataService: DataService);
31
- intializeBook(pdf: any): void;
32
- getRefQbData(refqbid: string): Observable<any>;
33
- addElementWithId(): string;
34
- newBook(): void;
35
- clearElements(): void;
36
- getElementComponent(): ElementComponent | null;
37
- setElementComponent(component: ElementComponent): void;
38
- addElement(element: any): void;
39
- addTableElement(element: any, index: number): void;
40
- updateElement(index: number, updates: Partial<any>): void;
41
- updateTitle(event: any): void;
42
- setSelectedElement(index: number, pdfIndex?: number): void;
43
- setSelectedTableElement(index: any, event: any): void;
44
- removeSelectedTableElement(index: number, event: any): void;
45
- getSelectTableColumn(): any;
46
- selectHeading(event: any): void;
47
- getElements(): any[];
48
- sortElementsByOrder(): void;
49
- getBook(): any;
50
- downloadElement(): any;
51
- convertToPdfLayout(input: any): any;
52
- updateElementsOrder(updatedElements: any[]): void;
53
- removeElementComponent(id: any): void;
54
- elementUpdate(element: any, from?: any): void;
55
- dateTransform(value: any, type: 'date' | 'datetime' | 'month' | 'time', languageCode: string, dateFormatType: 'hijri' | 'gregorianAr' | 'gregorian'): string;
56
- private toArabicNumbers;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<PdfDesignerService, never>;
58
- static ɵprov: i0.ɵɵInjectableDeclaration<PdfDesignerService>;
59
- }