@rangertechnologies/ngnxt 2.1.359 → 2.1.360

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 (82) hide show
  1. package/fesm2022/rangertechnologies-ngnxt.mjs +234 -236
  2. package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
  3. package/package.json +5 -4
  4. package/rangertechnologies-ngnxt-2.1.360.tgz +0 -0
  5. package/types/rangertechnologies-ngnxt.d.ts +2294 -0
  6. package/environments/version.d.ts +0 -11
  7. package/index.d.ts +0 -5
  8. package/lib/components/button/nxt-button.component.d.ts +0 -49
  9. package/lib/components/custom-calendar/custom-calendar.component.d.ts +0 -63
  10. package/lib/components/custom-model/custom-model.component.d.ts +0 -19
  11. package/lib/components/custom-radio/custom-radio.component.d.ts +0 -44
  12. package/lib/components/datatable/datatable.component.d.ts +0 -377
  13. package/lib/components/file-upload/file-upload.component.d.ts +0 -91
  14. package/lib/components/formula-input/formula-input.component.d.ts +0 -39
  15. package/lib/components/icon-selector/icon-selector.component.d.ts +0 -34
  16. package/lib/components/image-cropper/component/cropper.state.d.ts +0 -29
  17. package/lib/components/image-cropper/component/image-cropper.component.d.ts +0 -109
  18. package/lib/components/image-cropper/interfaces/basic-event.interface.d.ts +0 -4
  19. package/lib/components/image-cropper/interfaces/cropper-options.interface.d.ts +0 -28
  20. package/lib/components/image-cropper/interfaces/cropper-position.interface.d.ts +0 -6
  21. package/lib/components/image-cropper/interfaces/dimensions.interface.d.ts +0 -4
  22. package/lib/components/image-cropper/interfaces/exif-transform.interface.d.ts +0 -4
  23. package/lib/components/image-cropper/interfaces/image-cropped-event.interface.d.ts +0 -11
  24. package/lib/components/image-cropper/interfaces/image-transform.interface.d.ts +0 -9
  25. package/lib/components/image-cropper/interfaces/index.d.ts +0 -7
  26. package/lib/components/image-cropper/interfaces/loaded-image.interface.d.ts +0 -15
  27. package/lib/components/image-cropper/interfaces/move-start.interface.d.ts +0 -17
  28. package/lib/components/image-cropper/services/crop.service.d.ts +0 -13
  29. package/lib/components/image-cropper/services/load-image.service.d.ts +0 -17
  30. package/lib/components/image-cropper/utils/cropper-position.utils.d.ts +0 -11
  31. package/lib/components/image-cropper/utils/exif.utils.d.ts +0 -3
  32. package/lib/components/image-cropper/utils/keyboard.utils.d.ts +0 -5
  33. package/lib/components/image-cropper/utils/percentage.utils.d.ts +0 -1
  34. package/lib/components/image-cropper/utils/resize.utils.d.ts +0 -1
  35. package/lib/components/list-view-filter/list-view-filter.component.d.ts +0 -109
  36. package/lib/components/nxt-datepicker/custom-datepicker/custom-datepicker.component.d.ts +0 -68
  37. package/lib/components/nxt-datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +0 -50
  38. package/lib/components/nxt-datepicker/nxt-datepicker.component.d.ts +0 -20
  39. package/lib/components/nxt-dropdown/nxt-dropdown.component.d.ts +0 -63
  40. package/lib/components/nxt-input/nxt-input.component.d.ts +0 -208
  41. package/lib/components/nxt-multi-select/nxt-multi-select.component.d.ts +0 -102
  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 -23
  51. package/lib/nxt-app.service.d.ts +0 -6
  52. package/lib/pages/booklet/booklet.component.d.ts +0 -99
  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 -485
  57. package/lib/pages/pdfDesigner/pdf-designer/booklet.component.d.ts +0 -49
  58. package/lib/pages/pdfDesigner/pdf-designer/pdf-designer.component.d.ts +0 -205
  59. package/lib/pages/pdfDesigner/pdf-properties/pdf-properties.component.d.ts +0 -1449
  60. package/lib/pages/questionbook/questionbook.component.d.ts +0 -110
  61. package/lib/pages/questionnaire/questionnaire.component.d.ts +0 -214
  62. package/lib/pipe/NxtDate.pipe.d.ts +0 -14
  63. package/lib/pipe/amount-in-words/amount-in-words.pipe.d.ts +0 -9
  64. package/lib/pipe/button-styles.pipe.d.ts +0 -9
  65. package/lib/pipe/custom-translate.pipe.d.ts +0 -10
  66. package/lib/pipe/get-value.pipe.d.ts +0 -12
  67. package/lib/pipe/question-by-row.pipe.d.ts +0 -9
  68. package/lib/pipe/search-filter/search-filter.pipe.d.ts +0 -8
  69. package/lib/services/GoogleMapsLoaderService/google-maps-loader-service.service.d.ts +0 -7
  70. package/lib/services/change/change.service.d.ts +0 -21
  71. package/lib/services/country/country.service.d.ts +0 -54
  72. package/lib/services/data/data.service.d.ts +0 -18
  73. package/lib/services/form-builder/form-builder.service.d.ts +0 -103
  74. package/lib/services/pdf-designer/pdf-designer.service.d.ts +0 -189
  75. package/lib/services/salesforce/salesforce.service.d.ts +0 -11
  76. package/lib/services/shared/shared.service.d.ts +0 -15
  77. package/lib/services/storage/storage.service.d.ts +0 -20
  78. package/lib/services/template/template.service.d.ts +0 -18
  79. package/lib/services/translation/indexeddb-reader.service.d.ts +0 -13
  80. package/lib/services/translation/translation.service.d.ts +0 -32
  81. package/public-api.d.ts +0 -19
  82. package/rangertechnologies-ngnxt-2.1.359.tgz +0 -0
@@ -1,68 +0,0 @@
1
- import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
2
- import { NgbDateStruct, NgbDatepicker, NgbDatepickerI18n } from '@ng-bootstrap/ng-bootstrap';
3
- import * as i0 from "@angular/core";
4
- export declare class CustomDatepickerI18n extends NgbDatepickerI18n {
5
- private parent;
6
- constructor(parent: CustomDatepickerComponent);
7
- private toArabicNumber;
8
- getWeekdayLabel(weekday: number): string;
9
- getMonthShortName(month: number): string;
10
- getMonthFullName(month: number): string;
11
- getDayNumerals(date: NgbDateStruct): string;
12
- getYearNumerals(year: number): string;
13
- getDayAriaLabel(date: NgbDateStruct): string;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<CustomDatepickerI18n, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<CustomDatepickerI18n>;
16
- }
17
- export declare class CustomDatepickerComponent implements OnInit, OnChanges {
18
- type: 'date' | 'datetime' | 'month' | 'time';
19
- languageCode: 'en' | 'ar';
20
- value: any;
21
- min: any;
22
- max: any;
23
- modelChange: EventEmitter<any>;
24
- datepicker?: NgbDatepicker;
25
- /** SKS14AUG25 Bound to the datepicker via [(ngModel)] */
26
- selectedDate: NgbDateStruct | null;
27
- /** SKS14AUG25 Simple time holder for datetime/time modes */
28
- time: {
29
- hour: number;
30
- minute: number;
31
- };
32
- hours: number[];
33
- minutes: number[];
34
- displayHours: string[];
35
- displayMinutes: string[];
36
- monthYear: {
37
- year: number;
38
- month: number;
39
- };
40
- months: number[];
41
- years: number[];
42
- monthNamesEn: string[];
43
- monthNamesAr: string[];
44
- minDate: NgbDateStruct;
45
- maxDate: NgbDateStruct;
46
- today: NgbDateStruct;
47
- ngOnInit(): void;
48
- ngOnChanges(changes: SimpleChanges): void;
49
- /** SKS14AUG25 Create hours/minutes arrays and their display labels */
50
- private generateTimeArrays;
51
- /** SKS14AUG25 Converts number to Arabic digits with leading zero */
52
- convertToArabic(num: number): string;
53
- private initYears;
54
- /** SKS14AUG25 Accepts:
55
- * - "2023-10-26T20:00"
56
- * - Date
57
- * - { year, month, day }
58
- * - { date: { year, month, day, time? } }
59
- */
60
- private applyValue;
61
- onDateSelect(date: NgbDateStruct): void;
62
- onTimeChange(): void;
63
- toArabicNumber(num: number): string;
64
- onMonthSelect(): void;
65
- private parseToDateStruct;
66
- static ɵfac: i0.ɵɵFactoryDeclaration<CustomDatepickerComponent, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<CustomDatepickerComponent, "app-custom-datepicker", never, { "type": { "alias": "type"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, { "modelChange": "modelChange"; }, never, never, true, never>;
68
- }
@@ -1,50 +0,0 @@
1
- import { EventEmitter, AfterViewInit, SimpleChanges, OnInit, OnChanges } from '@angular/core';
2
- import { NgbCalendarIslamicUmalqura, NgbDatepickerI18n, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
3
- import { DataService } from '../../../services/data/data.service';
4
- import * as i0 from "@angular/core";
5
- export declare class IslamicI18n extends NgbDatepickerI18n {
6
- toArabicNumber(value: string | number): string;
7
- getMonthShortName(month: number): string;
8
- getMonthFullName(month: number): string;
9
- getWeekdayLabel(weekday: number): string;
10
- getDayAriaLabel(date: NgbDateStruct): string;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<IslamicI18n, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<IslamicI18n>;
13
- }
14
- export declare class HijriDatepickerComponent implements AfterViewInit, OnInit, OnChanges {
15
- private dataService;
16
- calendar: NgbCalendarIslamicUmalqura;
17
- model: NgbDateStruct;
18
- type: 'date' | 'month' | 'datetime' | 'time';
19
- value: any;
20
- min: any;
21
- max: any;
22
- languageCode: any;
23
- dateChange: EventEmitter<any>;
24
- datepickerRef?: any;
25
- months: string[];
26
- years: number[];
27
- hour: number;
28
- minute: number;
29
- hours: number[];
30
- minutes: number[];
31
- minDate: NgbDateStruct;
32
- maxDate: NgbDateStruct;
33
- today: NgbDateStruct;
34
- constructor(dataService: DataService);
35
- ngOnInit(): void;
36
- ngAfterViewInit(): void;
37
- ngOnChanges(changes: SimpleChanges): void;
38
- setInitialDateFromValue(): void;
39
- generateYears(): void;
40
- onDateChange(date: NgbDateStruct): void;
41
- onMonthChange(): void;
42
- onTimeChange(): void;
43
- emitDateTime(): void;
44
- toArabicNumber(value: string | number): string;
45
- applyArabicNumerals(): void;
46
- onNavigate(): void;
47
- private parseToHijriDate;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<HijriDatepickerComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<HijriDatepickerComponent, "app-hijri-datepicker", never, { "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; }, { "dateChange": "dateChange"; }, never, never, true, never>;
50
- }
@@ -1,20 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { DataService } from '../../services/data/data.service';
3
- import * as i0 from "@angular/core";
4
- export declare class NxtDatepickerComponent {
5
- private dataService;
6
- isHijriCalendar: boolean;
7
- type: string;
8
- languageCode: any;
9
- value: any;
10
- min: any;
11
- max: any;
12
- dateChange: EventEmitter<any>;
13
- constructor(dataService: DataService);
14
- ngOnInit(): void;
15
- ngOnChange(): void;
16
- toggleCalendarType(): void;
17
- onDatePicked(date: any): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtDatepickerComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<NxtDatepickerComponent, "app-nxt-datepicker", never, { "type": { "alias": "type"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, { "dateChange": "dateChange"; }, never, never, true, never>;
20
- }
@@ -1,63 +0,0 @@
1
- import { OnInit, EventEmitter, ElementRef, SimpleChanges, ChangeDetectorRef } from '@angular/core';
2
- import { Subscription } from 'rxjs';
3
- import { ChangeService } from '../../services/change/change.service';
4
- import { DataService } from '../../services/data/data.service';
5
- import { TranslationService } from '../../services/translation/translation.service';
6
- import { StorageService } from '../../services/storage/storage.service';
7
- import { CountryService } from '../../services/country/country.service';
8
- import * as i0 from "@angular/core";
9
- export declare class nxtDropdown implements OnInit {
10
- private countryService;
11
- private translationService;
12
- private changeService;
13
- private dataService;
14
- private storageService;
15
- private cdr;
16
- options: any[];
17
- placeholder: string;
18
- apiMeta: any;
19
- selectedValue: string;
20
- progressBar: boolean;
21
- readOnly: boolean;
22
- error: any;
23
- fromShengel: boolean;
24
- question: any;
25
- mode: 'view' | 'edit' | 'print';
26
- from: any;
27
- padding: any;
28
- onlyView: boolean;
29
- labelFont: any;
30
- label: any;
31
- labelColor: any;
32
- inputTextColor: any;
33
- labelSize: any;
34
- inputValueSize: any;
35
- labelWeight: any;
36
- inputWeight: any;
37
- showLabel: boolean;
38
- inputBorder: any;
39
- inputBgColor: any;
40
- inputIconLeftSrc: any;
41
- valueChange: EventEmitter<any>;
42
- dropdownWrapper: ElementRef;
43
- constructor(countryService: CountryService, translationService: TranslationService, changeService: ChangeService, dataService: DataService, storageService: StorageService, cdr: ChangeDetectorRef);
44
- subscription: Subscription;
45
- showOptions: boolean;
46
- selectedOption: any;
47
- isLoading: boolean;
48
- noDataFound: boolean;
49
- searchText: string;
50
- filteredOptions: any[];
51
- ngOnInit(): void;
52
- ngOnChanges(changes: SimpleChanges): void;
53
- getOptions(): void;
54
- selectChange(event: any): void;
55
- toggle(): void;
56
- onDocumentClick(event: MouseEvent): void;
57
- clearSelection(): void;
58
- inputValue(event: any, ques: any): void;
59
- filterOptions(searchValue: any): void;
60
- arrayFilter(array?: any[]): any[];
61
- static ɵfac: i0.ɵɵFactoryDeclaration<nxtDropdown, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<nxtDropdown, "nxt-dropdown", never, { "options": { "alias": "options"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "apiMeta": { "alias": "apiMeta"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "progressBar": { "alias": "progressBar"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "error": { "alias": "error"; "required": false; }; "fromShengel": { "alias": "fromShengel"; "required": false; }; "question": { "alias": "question"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "from": { "alias": "from"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; "labelFont": { "alias": "labelFont"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "inputTextColor": { "alias": "inputTextColor"; "required": false; }; "labelSize": { "alias": "labelSize"; "required": false; }; "inputValueSize": { "alias": "inputValueSize"; "required": false; }; "labelWeight": { "alias": "labelWeight"; "required": false; }; "inputWeight": { "alias": "inputWeight"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "inputBorder": { "alias": "inputBorder"; "required": false; }; "inputBgColor": { "alias": "inputBgColor"; "required": false; }; "inputIconLeftSrc": { "alias": "inputIconLeftSrc"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
63
- }
@@ -1,208 +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
- mentionUsers: any[];
86
- set size(size: number);
87
- valueChange: EventEmitter<string>;
88
- inputValue: EventEmitter<any>;
89
- selectEmit: EventEmitter<any>;
90
- onBlur: EventEmitter<any>;
91
- onFocus: EventEmitter<any>;
92
- toggleEmit: EventEmitter<any>;
93
- removeValueEmit: EventEmitter<any>;
94
- inputEls: QueryList<ElementRef<HTMLInputElement>>;
95
- inputRef: ElementRef;
96
- inputs: FormArray<any>;
97
- control: FormControl;
98
- isPasswordVisible: boolean;
99
- countryCode: string;
100
- countries: ({
101
- name: string;
102
- flag: string;
103
- code: string;
104
- dial_code: string;
105
- regex: string;
106
- placeholder: string;
107
- example?: undefined;
108
- format?: undefined;
109
- } | {
110
- name: string;
111
- flag: string;
112
- code: string;
113
- dial_code: string;
114
- regex: string;
115
- placeholder: string;
116
- example: string;
117
- format?: undefined;
118
- } | {
119
- name: string;
120
- code: string;
121
- dial_code: string;
122
- regex: string;
123
- placeholder: string;
124
- format: string;
125
- flag: string;
126
- example?: undefined;
127
- })[];
128
- filteredCountries: any;
129
- selectedCountry: any;
130
- showCountryDropdown: boolean;
131
- countrySearch: string;
132
- subscription: Subscription;
133
- viewEdit: boolean;
134
- originalValue: any;
135
- private lastClickTime;
136
- cachedInputList: any[];
137
- showHijriPicker: boolean;
138
- dateFormatName: any;
139
- rawInputVal: any;
140
- languageCode: any;
141
- currencyOptions: any;
142
- currentCurrency: any;
143
- showModal: boolean;
144
- private geoCoder;
145
- markerOptions: any;
146
- markerPosition: {
147
- lat: number;
148
- lng: number;
149
- };
150
- private googleMapsPromise;
151
- private destroy$;
152
- private removeDocClick?;
153
- private timers;
154
- 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);
155
- ngAfterViewInit(): void;
156
- ngOnChanges(changes: SimpleChanges): void;
157
- ngOnInit(): void;
158
- ngOnDestroy(): void;
159
- private updateInputList;
160
- getQuillModules(questionId: string): QuillModules;
161
- private setupValidators;
162
- closeDropdown(event: Event): void;
163
- onClickOutside(event: Event): void;
164
- onChange: (value: string) => void;
165
- onTouched: () => void;
166
- registerOnTouched(fn: any): void;
167
- onInputChange(event: any): void;
168
- togglePasswordVisibility(): void;
169
- passwordMatchValidator(): ValidatorFn;
170
- getErrorMessage(): string;
171
- writeValue(value: any, from?: any): void;
172
- registerOnChange(fn: any): void;
173
- setDisabledState(isDisabled: boolean): void;
174
- private updateControlState;
175
- validate(control: AbstractControl<string, string>): ValidationErrors | null;
176
- handleKeyDown(e: KeyboardEvent, idx: number): void;
177
- handleInput(): void;
178
- handleKeyPress(e: KeyboardEvent, idx: number): boolean;
179
- handlePaste(e: ClipboardEvent, idx: number): void;
180
- handleFocus(e: FocusEvent): void;
181
- toggleCountryDropdown(): void;
182
- filterCountries(event: any): void;
183
- selectCountry(country: any): void;
184
- removeDialCodeFromRegex(originalRegex: string, dialCode: string): string;
185
- removeDialCode(placeholder: string): string;
186
- blurEmit(): void;
187
- focusinEmit(event: any): void;
188
- toggle(event: any): void;
189
- onEditorFocusOut(): void;
190
- viewEditClick(ques: any): void;
191
- saveChanges: (event?: CustomEvent) => void;
192
- discardChanges: (event?: CustomEvent) => void;
193
- openDatePicker(type: string): void;
194
- removeValue(): void;
195
- onHijriInputClick(): void;
196
- private searchFromApi;
197
- initAutocomplete(): void;
198
- openMap(): void;
199
- closeModal(): void;
200
- private setCurrentLocation;
201
- getAddress(latitude: number, longitude: number): void;
202
- onMapClick(event: google.maps.MapMouseEvent): void;
203
- onMarkerDragEnd(event: google.maps.MapMouseEvent): void;
204
- loadGoogleMaps(): Promise<void>;
205
- allowNumberDecimal(event: KeyboardEvent): void;
206
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtInput, never>;
207
- 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; }; "mentionUsers": { "alias": "mentionUsers"; "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>;
208
- }
@@ -1,102 +0,0 @@
1
- import { ElementRef, EventEmitter, OnDestroy, OnInit, SimpleChanges, ChangeDetectorRef } from '@angular/core';
2
- import { Subscription } from 'rxjs';
3
- import { ChangeService } from '../../services/change/change.service';
4
- import { CountryService } from '../../services/country/country.service';
5
- import { DataService } from '../../services/data/data.service';
6
- import { StorageService } from '../../services/storage/storage.service';
7
- import { TranslationService } from '../../services/translation/translation.service';
8
- import * as i0 from "@angular/core";
9
- export declare class NxtMultiSelect implements OnInit, OnDestroy {
10
- private countryService;
11
- private translationService;
12
- private changeService;
13
- private dataService;
14
- private storageService;
15
- private cdr;
16
- options: any[];
17
- placeholder: string;
18
- apiMeta: any;
19
- selectedValue: any;
20
- progressBar: boolean;
21
- readOnly: boolean;
22
- error: any;
23
- fromShengel: boolean;
24
- question: any;
25
- mode: 'view' | 'edit' | 'print';
26
- from: any;
27
- padding: any;
28
- onlyView: boolean;
29
- labelFont: any;
30
- label: any;
31
- labelColor: any;
32
- inputTextColor: any;
33
- labelSize: any;
34
- inputValueSize: any;
35
- labelWeight: any;
36
- inputWeight: any;
37
- showLabel: boolean;
38
- inputBorder: any;
39
- inputBgColor: any;
40
- inputIconLeftSrc: any;
41
- inputId: string;
42
- allowCustomOptions: boolean;
43
- valueChange: EventEmitter<any>;
44
- multiSelectWrapper: ElementRef;
45
- searchInput: ElementRef<HTMLInputElement>;
46
- subscription: Subscription;
47
- showOptions: boolean;
48
- isLoading: boolean;
49
- noDataFound: boolean;
50
- searchText: string;
51
- filteredOptions: any[];
52
- selectedValues: any[];
53
- constructor(countryService: CountryService, translationService: TranslationService, changeService: ChangeService, dataService: DataService, storageService: StorageService, cdr: ChangeDetectorRef);
54
- ngOnInit(): void;
55
- ngOnChanges(changes: SimpleChanges): void;
56
- ngOnDestroy(): void;
57
- getOptions(): void;
58
- toggle(event?: Event): void;
59
- openOptions(): void;
60
- toggleOption(option: any, event?: Event): void;
61
- addSearchTextAsOption(event?: Event): void;
62
- removeSelected(selected: any, event?: Event): void;
63
- clearSelection(event?: Event): void;
64
- toggleSelectAll(event?: Event): void;
65
- inputValue(value: string): void;
66
- filterOptions(searchValue: any): void;
67
- emitSelection(): void;
68
- get selectedItems(): any[];
69
- get selectedLabels(): string;
70
- get customOptionText(): string;
71
- get canCreateCustomOption(): boolean;
72
- get orderedOptions(): any[];
73
- get hasPartialVisibleSelection(): boolean;
74
- get showSelectedDivider(): boolean;
75
- areAllVisibleSelected(): boolean;
76
- isLastSelectedOption(index: number): boolean;
77
- isSelected(option: any): boolean;
78
- getOptionLabel(option: any): string;
79
- getSelectionDisplay(selected: any): string;
80
- getOptionPrimaryText(option: any): string;
81
- getOptionSecondaryValues(option: any): string[];
82
- highlightOptionText(text: string): string;
83
- getOptionValue(option: any): any;
84
- onDocumentClick(event: MouseEvent): void;
85
- private normalizeSelectedValues;
86
- private getChangeField;
87
- private getComparableValue;
88
- private findOptionByValue;
89
- private findExactOptionByText;
90
- private isTextSelected;
91
- private createCustomOption;
92
- private usesObjectOptions;
93
- private getOptionDisplayValues;
94
- private getOptionSearchText;
95
- private getDisplayFields;
96
- private getNestedDisplayValue;
97
- private sanitizeHtml;
98
- private normalizeText;
99
- private focusSearchInput;
100
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtMultiSelect, never>;
101
- static ɵcmp: i0.ɵɵComponentDeclaration<NxtMultiSelect, "nxt-multi-select", never, { "options": { "alias": "options"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "apiMeta": { "alias": "apiMeta"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "progressBar": { "alias": "progressBar"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "error": { "alias": "error"; "required": false; }; "fromShengel": { "alias": "fromShengel"; "required": false; }; "question": { "alias": "question"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "from": { "alias": "from"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; "labelFont": { "alias": "labelFont"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "inputTextColor": { "alias": "inputTextColor"; "required": false; }; "labelSize": { "alias": "labelSize"; "required": false; }; "inputValueSize": { "alias": "inputValueSize"; "required": false; }; "labelWeight": { "alias": "labelWeight"; "required": false; }; "inputWeight": { "alias": "inputWeight"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "inputBorder": { "alias": "inputBorder"; "required": false; }; "inputBgColor": { "alias": "inputBgColor"; "required": false; }; "inputIconLeftSrc": { "alias": "inputIconLeftSrc"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "allowCustomOptions": { "alias": "allowCustomOptions"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
102
- }
@@ -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, from?: 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
- }