@rangertechnologies/ngnxt 2.1.34014 → 2.2.0

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 +4580 -781
  2. package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
  3. package/package.json +7 -6
  4. package/rangertechnologies-ngnxt-2.2.0.tgz +0 -0
  5. package/src/lib/style.css +3 -7
  6. package/types/rangertechnologies-ngnxt.d.ts +2303 -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,207 +0,0 @@
1
- import { EventEmitter, QueryList, ElementRef, SimpleChanges, AfterViewInit, Renderer2, ChangeDetectorRef, NgZone } from '@angular/core';
2
- import { AbstractControl, FormArray, FormControl, ValidationErrors, ValidatorFn } from '@angular/forms';
3
- import { Subscription } from 'rxjs';
4
- import { QuillModules } from 'ngx-quill';
5
- import { ChangeService } from '../../services/change/change.service';
6
- import { DataService } from '../../services/data/data.service';
7
- import { TranslationService } from '../../services/translation/translation.service';
8
- import { NxtDatePipe } from '../../pipe/NxtDate.pipe';
9
- import { StorageService } from '../../services/storage/storage.service';
10
- import { CountryService } from '../../services/country/country.service';
11
- import { GoogleMapsLoaderService } from '../../services/GoogleMapsLoaderService/google-maps-loader-service.service';
12
- import * as i0 from "@angular/core";
13
- export declare class NxtInput implements AfterViewInit {
14
- #private;
15
- private nxtDatePipe;
16
- private mapsLoader;
17
- private cdr;
18
- private ngZone;
19
- private countryService;
20
- private storageService;
21
- private translationService;
22
- private renderer;
23
- private elRef;
24
- private elementRef;
25
- private changeService;
26
- private dataService;
27
- label: string;
28
- labelFont: string;
29
- labelWeight: string;
30
- inputWeight: string;
31
- labelSize: string;
32
- inputValueSize: string;
33
- textAlign: string;
34
- labelColor: string;
35
- showLabel: boolean;
36
- svgHeight: string;
37
- svgWidth: string;
38
- type: string;
39
- inputIconRightSrc: string;
40
- inputIconLeftSrc: string;
41
- required: boolean;
42
- minLength?: number;
43
- pattern?: any;
44
- errorMessages: {
45
- [key: string]: string;
46
- };
47
- maxLength: number;
48
- placeholder: string;
49
- inputBgColor: string;
50
- inputBorder: string;
51
- placeholderColor: string;
52
- placeholderFont: string;
53
- placeholderWeight: string;
54
- placeholderSize: string;
55
- inputTextColor: string;
56
- inputHeight: string;
57
- inputWidth: string;
58
- inputId: string;
59
- inputBorderSize: string;
60
- inputConfig: any;
61
- confPassVal: any;
62
- confPass: boolean;
63
- mode: 'view' | 'edit' | 'print';
64
- value: any;
65
- question: any;
66
- showSuggestion: boolean;
67
- ariaOwns?: string;
68
- ariaHasPopup?: string;
69
- isLoading: boolean;
70
- options: any[];
71
- minDate: any;
72
- maxDate: any;
73
- rows: number;
74
- from: any;
75
- selectedOption: any;
76
- apiMeta: any;
77
- direction: any;
78
- currency: any;
79
- helpText: any;
80
- apiKey: any;
81
- readOnly: boolean;
82
- padding: any;
83
- margin: any;
84
- onlyView: boolean;
85
- set size(size: number);
86
- valueChange: EventEmitter<string>;
87
- inputValue: EventEmitter<any>;
88
- selectEmit: EventEmitter<any>;
89
- onBlur: EventEmitter<any>;
90
- onFocus: EventEmitter<any>;
91
- toggleEmit: EventEmitter<any>;
92
- removeValueEmit: EventEmitter<any>;
93
- inputEls: QueryList<ElementRef<HTMLInputElement>>;
94
- inputRef: ElementRef;
95
- inputs: FormArray<any>;
96
- control: FormControl;
97
- isPasswordVisible: boolean;
98
- countryCode: string;
99
- countries: ({
100
- name: string;
101
- flag: string;
102
- code: string;
103
- dial_code: string;
104
- regex: string;
105
- placeholder: string;
106
- example?: undefined;
107
- format?: undefined;
108
- } | {
109
- name: string;
110
- flag: string;
111
- code: string;
112
- dial_code: string;
113
- regex: string;
114
- placeholder: string;
115
- example: string;
116
- format?: undefined;
117
- } | {
118
- name: string;
119
- code: string;
120
- dial_code: string;
121
- regex: string;
122
- placeholder: string;
123
- format: string;
124
- flag: string;
125
- example?: undefined;
126
- })[];
127
- filteredCountries: any;
128
- selectedCountry: any;
129
- showCountryDropdown: boolean;
130
- countrySearch: string;
131
- subscription: Subscription;
132
- viewEdit: boolean;
133
- originalValue: any;
134
- private lastClickTime;
135
- cachedInputList: any[];
136
- showHijriPicker: boolean;
137
- dateFormatName: any;
138
- rawInputVal: any;
139
- languageCode: any;
140
- currencyOptions: any;
141
- currentCurrency: any;
142
- showModal: boolean;
143
- private geoCoder;
144
- markerOptions: any;
145
- markerPosition: {
146
- lat: number;
147
- lng: number;
148
- };
149
- private googleMapsPromise;
150
- private destroy$;
151
- private removeDocClick?;
152
- private timers;
153
- constructor(nxtDatePipe: NxtDatePipe, mapsLoader: GoogleMapsLoaderService, cdr: ChangeDetectorRef, ngZone: NgZone, countryService: CountryService, storageService: StorageService, translationService: TranslationService, renderer: Renderer2, elRef: ElementRef, elementRef: ElementRef, changeService: ChangeService, dataService: DataService);
154
- ngAfterViewInit(): void;
155
- ngOnChanges(changes: SimpleChanges): void;
156
- ngOnInit(): void;
157
- ngOnDestroy(): void;
158
- private updateInputList;
159
- getQuillModules(questionId: string): QuillModules;
160
- private setupValidators;
161
- closeDropdown(event: Event): void;
162
- onClickOutside(event: Event): void;
163
- onChange: (value: string) => void;
164
- onTouched: () => void;
165
- registerOnTouched(fn: any): void;
166
- onInputChange(event: any): void;
167
- togglePasswordVisibility(): void;
168
- passwordMatchValidator(): ValidatorFn;
169
- getErrorMessage(): string;
170
- writeValue(value: any, from?: any): void;
171
- registerOnChange(fn: any): void;
172
- setDisabledState(isDisabled: boolean): void;
173
- private updateControlState;
174
- validate(control: AbstractControl<string, string>): ValidationErrors | null;
175
- handleKeyDown(e: KeyboardEvent, idx: number): void;
176
- handleInput(): void;
177
- handleKeyPress(e: KeyboardEvent, idx: number): boolean;
178
- handlePaste(e: ClipboardEvent, idx: number): void;
179
- handleFocus(e: FocusEvent): void;
180
- toggleCountryDropdown(): void;
181
- filterCountries(event: any): void;
182
- selectCountry(country: any): void;
183
- removeDialCodeFromRegex(originalRegex: string, dialCode: string): string;
184
- removeDialCode(placeholder: string): string;
185
- blurEmit(): void;
186
- focusinEmit(event: any): void;
187
- toggle(event: any): void;
188
- onEditorFocusOut(): void;
189
- viewEditClick(ques: any): void;
190
- saveChanges: (event?: CustomEvent) => void;
191
- discardChanges: (event?: CustomEvent) => void;
192
- openDatePicker(type: string): void;
193
- removeValue(): void;
194
- onHijriInputClick(): void;
195
- private searchFromApi;
196
- initAutocomplete(): void;
197
- openMap(): void;
198
- closeModal(): void;
199
- private setCurrentLocation;
200
- getAddress(latitude: number, longitude: number): void;
201
- onMapClick(event: google.maps.MapMouseEvent): void;
202
- onMarkerDragEnd(event: google.maps.MapMouseEvent): void;
203
- loadGoogleMaps(): Promise<void>;
204
- allowNumberDecimal(event: KeyboardEvent): void;
205
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtInput, never>;
206
- 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; }; "textAlign": { "alias": "textAlign"; "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; }; "apiKey": { "alias": "apiKey"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "valueChange": "valueChange"; "inputValue": "inputValue"; "selectEmit": "selectEmit"; "onBlur": "onBlur"; "onFocus": "onFocus"; "toggleEmit": "toggleEmit"; "removeValueEmit": "removeValueEmit"; }, never, never, true, never>;
207
- }
@@ -1,37 +0,0 @@
1
- import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NxtPagination implements OnInit {
4
- event: EventEmitter<any>;
5
- pageSizeOptions: number[];
6
- /** The total number of records */
7
- collectionSize: number;
8
- /** The number of records to display */
9
- pageSize: number;
10
- /** Current page */
11
- currentPage: number;
12
- /** The number of buttons to show either side of the current page */
13
- maxSize: number;
14
- /** Display the First/Last buttons */
15
- firstLastButtons: boolean;
16
- /** Display the Next/Previous buttons */
17
- nextPreviousButtons: boolean;
18
- /** Display small pagination buttons */
19
- small: boolean;
20
- totalPages: any[];
21
- startIndex: number;
22
- endIndex: number;
23
- constructor();
24
- ngOnInit(): void;
25
- ngOnChanges(changes: SimpleChanges): void;
26
- updateIndexes(): void;
27
- /** Set page number */
28
- selectPageNumber(pageNumber: number): void;
29
- /** Set next page number */
30
- next(): void;
31
- /** Set previous page number */
32
- previous(): void;
33
- onPageSizeChange(newSize: any): void;
34
- emit(): void;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtPagination, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<NxtPagination, "nxt-pagination", never, { "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "collectionSize": { "alias": "collectionSize"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "firstLastButtons": { "alias": "firstLastButtons"; "required": false; }; "nextPreviousButtons": { "alias": "nextPreviousButtons"; "required": false; }; "small": { "alias": "small"; "required": false; }; }, { "event": "event"; }, never, never, true, never>;
37
- }
@@ -1,72 +0,0 @@
1
- import { OnInit, OnDestroy, OnChanges, EventEmitter, ElementRef, SimpleChanges, WritableSignal, TrackByFunction } from "@angular/core";
2
- import { Subscription } from "rxjs";
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";
7
- import * as i0 from "@angular/core";
8
- export declare class NxtSearchBox implements OnInit, OnChanges, OnDestroy {
9
- private storageService;
10
- private changeService;
11
- private dataService;
12
- private countryService;
13
- private elementRef;
14
- placeHolderText: string;
15
- question: any;
16
- apiMeta: any;
17
- id: string;
18
- readOnly: boolean;
19
- mode: 'view' | 'edit' | 'print';
20
- from: any;
21
- value: any;
22
- onlyView: boolean;
23
- rowData: any;
24
- searchValueChange: EventEmitter<any>;
25
- searchWrapper: ElementRef;
26
- SearchItem: any;
27
- finalResults: WritableSignal<any[]>;
28
- searchKeyWord: string;
29
- newResult: any;
30
- showResult: boolean;
31
- noResult: boolean;
32
- showSuggestion: boolean;
33
- isLoading: boolean;
34
- viewFilterName: string;
35
- isSingleFieldChange: boolean;
36
- valueObj: any;
37
- inputFocused: boolean;
38
- lastSearchLength: number;
39
- filterName: string;
40
- private destroy$;
41
- private searchSubject;
42
- subscription: Subscription;
43
- trackByFn: TrackByFunction<any>;
44
- constructor(storageService: StorageService, changeService: ChangeService, dataService: DataService, countryService: CountryService, elementRef: ElementRef);
45
- ngOnInit(): void;
46
- ngOnChanges(changes: SimpleChanges): void;
47
- ngOnDestroy(): void;
48
- onDocumentClick(event: Event): void;
49
- onEscapeKey(event: KeyboardEvent): void;
50
- private parseApiMeta;
51
- private resetComponentState;
52
- private hideSuggestions;
53
- onInputFocus(): void;
54
- onInputBlur(): void;
55
- clearList(): void;
56
- getSourceDataLocal(event: any): void;
57
- private performSearch;
58
- private searchFromApi;
59
- private searchFromStaticData;
60
- private processSearchResults;
61
- private getNestedValue;
62
- private getCombinedValuesFromColumns;
63
- getValues(element: any, columns: any): any;
64
- getKeys(obj: any): string[];
65
- clickItem(event: any): void;
66
- inputValue(event: any, ques: any): void;
67
- highlightText(text: string, searchTerm: string): string;
68
- private sanitizeHtml;
69
- removeValueEmit(): void;
70
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtSearchBox, never>;
71
- static ɵcmp: i0.ɵɵComponentDeclaration<NxtSearchBox, "nxt-search-box", never, { "placeHolderText": { "alias": "placeHolderText"; "required": false; }; "question": { "alias": "question"; "required": false; }; "apiMeta": { "alias": "apiMeta"; "required": false; }; "id": { "alias": "id"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "from": { "alias": "from"; "required": false; }; "value": { "alias": "value"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, { "searchValueChange": "searchValueChange"; }, never, never, true, never>;
72
- }
@@ -1,6 +0,0 @@
1
- export interface ActionMeta {
2
- alignment: string;
3
- name: string;
4
- eventtoemit: string;
5
- alt: string;
6
- }
@@ -1,8 +0,0 @@
1
- export interface DependencyMeta {
2
- sourceQuestionId: any;
3
- labelField: string;
4
- valueField: string;
5
- disabled: string;
6
- dependentValue: string;
7
- isDependentField: boolean;
8
- }
@@ -1,4 +0,0 @@
1
- export declare class BookletWrapper {
2
- booklet: any[];
3
- bookQuestionsMap: any;
4
- }
@@ -1,9 +0,0 @@
1
- export declare class ChangeWrapper {
2
- fromQuestionId: string;
3
- fromQuestionName: string;
4
- toQuestionId: string;
5
- toQuestionName: string;
6
- valueObj: any;
7
- referenceField: string;
8
- field: string;
9
- }
@@ -1,5 +0,0 @@
1
- export declare class ErrorWrapper {
2
- errorCode: string;
3
- errorMsg: string;
4
- errorDetails: string;
5
- }
@@ -1,8 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NxtAppComponent implements OnInit {
4
- constructor();
5
- ngOnInit(): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtAppComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<NxtAppComponent, "lib-nxt-app", never, {}, {}, never, never, false, never>;
8
- }
@@ -1,22 +0,0 @@
1
- import { TranslationService } from './services/translation/translation.service';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./nxt-app.component";
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";
17
- export declare function initializeApp(translationService: TranslationService): () => Promise<void>;
18
- export declare class NxtAppModule {
19
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtAppModule, never>;
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]>;
21
- static ɵinj: i0.ɵɵInjectorDeclaration<NxtAppModule>;
22
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NxtAppService {
3
- constructor();
4
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtAppService, never>;
5
- static ɵprov: i0.ɵɵInjectableDeclaration<NxtAppService>;
6
- }
@@ -1,96 +0,0 @@
1
- import { OnInit, EventEmitter, SimpleChanges, AfterViewInit, ElementRef, NgZone, ChangeDetectorRef } from "@angular/core";
2
- import { DomSanitizer } from "@angular/platform-browser";
3
- import { ActionMeta } from '../../interfaces/actionMeta';
4
- import { BookletWrapper } from "../../model/bookletWrapper";
5
- import { Observable, Subscription } from "rxjs";
6
- import { HttpClient } from "@angular/common/http";
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 { ChangeService } from "../../services/change/change.service";
11
- import { TranslationService } from "../../services/translation/translation.service";
12
- import * as i0 from "@angular/core";
13
- export declare class BookletComponent implements OnInit, AfterViewInit {
14
- private sfService;
15
- private dataService;
16
- private sanitizer;
17
- private changeService;
18
- private http;
19
- private translationService;
20
- private ngZone;
21
- private cdr;
22
- bookletId: string;
23
- serv: string;
24
- tkn: string;
25
- bookletJSON: any;
26
- allIcons: any;
27
- themeColor: string;
28
- cdnIconURL: string;
29
- dropdownDependentData: any;
30
- labelValue: string;
31
- token: string;
32
- languageCode: string;
33
- fieldRestrictions: any;
34
- from: any;
35
- apiUrl: any;
36
- isEdit: boolean;
37
- direction: string;
38
- isLoading: any;
39
- onlyView: boolean;
40
- dataBind: any;
41
- handleBookletActionEvent: EventEmitter<any>;
42
- handlePage: EventEmitter<any>;
43
- hadleDropDownDependent: EventEmitter<any>;
44
- handleCalendarDate: EventEmitter<any>;
45
- handleCalendarEvent: EventEmitter<any>;
46
- formEditEvent: EventEmitter<any>;
47
- subscription: Subscription;
48
- nxtBooklet: BookletWrapper;
49
- booklet: any[];
50
- abItem: any;
51
- actions: ActionMeta[];
52
- bookQuestionsMap: any;
53
- isAnswerFlag: boolean;
54
- spinnerName: string;
55
- spinnerType: string;
56
- answerList: any[];
57
- allEvents: any[];
58
- isEditVal: boolean;
59
- safeValue: any;
60
- showStickyShadow: boolean;
61
- isSaveDisabled: boolean;
62
- orginalDataBind: any;
63
- questionbookComponent: QuestionbookComponent;
64
- stickyBar?: ElementRef<HTMLElement>;
65
- private destroy$;
66
- private scrollHandler;
67
- constructor(sfService: SalesforceService, dataService: DataService, sanitizer: DomSanitizer, changeService: ChangeService, http: HttpClient, translationService: TranslationService, ngZone: NgZone, cdr: ChangeDetectorRef);
68
- ngOnInit(): void;
69
- ngOnChanges(simplechanges: SimpleChanges): void;
70
- upgradeActions(actionString: string): any[];
71
- processBooklet(): void;
72
- private readBooklet;
73
- private successReadBooklet;
74
- private failureReadBooklet;
75
- getRefQbData(refqbid: string): Observable<any>;
76
- singleFieldChange(event: any): void;
77
- handleBookletActionClick(action: ActionMeta, ques?: any): void;
78
- handleCompleteBooklet(completeBooklet: any): void;
79
- handleBook(quesList: any): void;
80
- handleQues(ques: any): Promise<void>;
81
- processRichTextArea(html: string): Promise<any>;
82
- addEvent(day: any, entryQues: any): void;
83
- getText(value: any): import("@angular/platform-browser").SafeHtml;
84
- getDropDown(event: any): void;
85
- getCalendarDate(event: any): void;
86
- getCalendarEvent(event: any): void;
87
- editChangeClick(action: any): void;
88
- ngAfterViewInit(): void;
89
- updateShadow(): void;
90
- hasAnyFieldValue(): boolean;
91
- private hasValue;
92
- private updateSaveButtonState;
93
- ngOnDestroy(): void;
94
- static ɵfac: i0.ɵɵFactoryDeclaration<BookletComponent, never>;
95
- 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; }; "isLoading": { "alias": "isLoading"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; "dataBind": { "alias": "dataBind"; "required": false; }; }, { "handleBookletActionEvent": "handleBookletActionEvent"; "handlePage": "handlePage"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; "formEditEvent": "formEditEvent"; }, never, never, true, never>;
96
- }
@@ -1,64 +0,0 @@
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";
4
- import * as i0 from "@angular/core";
5
- export declare class ElementComponent {
6
- private cdRef;
7
- private formBuilderService;
8
- private translationService;
9
- bookletJSON: any;
10
- langOption: any;
11
- languageCode: any;
12
- templateMode: EventEmitter<boolean>;
13
- field: any;
14
- formElements: any[];
15
- elements: any[];
16
- bookId: string;
17
- sections: {
18
- basic: boolean;
19
- advanced: boolean;
20
- };
21
- basicElements: any[];
22
- advancedElements: any[];
23
- version: string;
24
- book: any;
25
- selectedElement: any;
26
- isSelectTablePopup: boolean;
27
- currentType: string;
28
- addTable: boolean;
29
- dots: any[];
30
- draggedIndex: number | null;
31
- templateSelected: boolean;
32
- isHeaderSelect: boolean;
33
- selectedColumn: any;
34
- statictype: string[];
35
- constructor(cdRef: ChangeDetectorRef, formBuilderService: FormBuilderService, translationService: TranslationService);
36
- ngOnInit(): void;
37
- toggleSection(section: "basic" | "advanced"): void;
38
- isSectionOpen(section: string): boolean;
39
- ngOnChanges(changes: SimpleChanges): void;
40
- onTemplateSelected(event: {
41
- selectedTemplate: any;
42
- elements: any[];
43
- }): void;
44
- private initializeForm;
45
- selectElement(index: number): void;
46
- selectedFieldIndex: number | null;
47
- selectHeading(event: any): void;
48
- generateUiId(): string;
49
- addElement(type: string): void;
50
- removeElement(field: any, index: number): void;
51
- onDragStart(event: DragEvent, index: number): void;
52
- onDragOver(event: DragEvent, index: number): void;
53
- onDrop(event: DragEvent, dropIndex: number): void;
54
- toggleBoolean(field: any): void;
55
- onClose(): void;
56
- addOnTable(): void;
57
- columnSelected(event: any): void;
58
- removeColumn(event: any): void;
59
- fileChangeEvent(index: any, event: any): Promise<void>;
60
- private readFileAsDataURL;
61
- langChangeEmit(event: any): void;
62
- static ɵfac: i0.ɵɵFactoryDeclaration<ElementComponent, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<ElementComponent, "app-element", never, { "bookletJSON": { "alias": "bookletJSON"; "required": false; }; "langOption": { "alias": "langOption"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; }, { "templateMode": "templateMode"; }, never, never, true, never>;
64
- }
@@ -1,15 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class FormComponent {
4
- bookletJSON: any;
5
- langOption: any;
6
- formButtonHandler: EventEmitter<string>;
7
- templateSaveHandler: EventEmitter<string>;
8
- selectedElementType: string;
9
- isTemplateSelected: boolean;
10
- onTemplateModeChange(status: boolean): void;
11
- formButtonHandlerClick(event: any): void;
12
- saveTemplate(event: any): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "app-form-builder", never, { "bookletJSON": { "alias": "bookletJSON"; "required": false; }; "langOption": { "alias": "langOption"; "required": false; }; }, { "formButtonHandler": "formButtonHandler"; "templateSaveHandler": "templateSaveHandler"; }, never, never, true, never>;
15
- }