@rangertechnologies/ngnxt 2.1.260 → 2.1.262
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/rangertechnologies-ngnxt.mjs +437 -403
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/components/datatable/datatable.component.d.ts +13 -4
- package/lib/components/file-upload/file-upload.component.d.ts +3 -2
- package/lib/components/nxt-input/nxt-input.component.d.ts +2 -4
- package/lib/pages/booklet/booklet.component.d.ts +0 -1
- package/lib/pages/questionbook/questionbook.component.d.ts +0 -1
- package/lib/pipe/NxtDate.pipe.d.ts +10 -0
- package/package.json +1 -1
- package/rangertechnologies-ngnxt-2.1.262.tgz +0 -0
- package/src/lib/style.css +2 -0
- package/lib/pipe/hijri-arabic.pipe.d.ts +0 -9
- package/rangertechnologies-ngnxt-2.1.260.tgz +0 -0
|
@@ -42,7 +42,7 @@ export declare class NxtDatatable {
|
|
|
42
42
|
question: any;
|
|
43
43
|
rowTextSize: any;
|
|
44
44
|
rowTextColor: any;
|
|
45
|
-
apiMeta:
|
|
45
|
+
apiMeta: any;
|
|
46
46
|
summaryRows: any;
|
|
47
47
|
summaryColumns: any;
|
|
48
48
|
isLoading: any;
|
|
@@ -140,17 +140,19 @@ export declare class NxtDatatable {
|
|
|
140
140
|
private startX;
|
|
141
141
|
private startWidth;
|
|
142
142
|
private resizeFrameId;
|
|
143
|
+
columnWithTrack: any;
|
|
144
|
+
currentTableData: any;
|
|
145
|
+
oldTableData: any;
|
|
143
146
|
constructor(storageService: StorageService, cdRef: ChangeDetectorRef, translationService: TranslationService, renderer: Renderer2, dataService: DataService, changeService: ChangeService);
|
|
144
147
|
ngOnChanges(changes: SimpleChanges): void;
|
|
145
148
|
ngOnInit(): void;
|
|
146
149
|
ngAfterViewInit(): void;
|
|
147
|
-
|
|
150
|
+
autoDistributeExtraTableWidth(): void;
|
|
148
151
|
onResizeStart(event: MouseEvent): void;
|
|
149
152
|
private onResizeMove;
|
|
153
|
+
private applyWidthToColumn;
|
|
150
154
|
private onResizeEnd;
|
|
151
|
-
private updateColumnWidth;
|
|
152
155
|
ngOnDestroy(): void;
|
|
153
|
-
private flattenRow;
|
|
154
156
|
computeSummaryColumns(): void;
|
|
155
157
|
computeSummaryValues(from?: any): void;
|
|
156
158
|
onSummaryInputChange(): void;
|
|
@@ -201,6 +203,13 @@ export declare class NxtDatatable {
|
|
|
201
203
|
fileChangeEvent(ques: any, event: any): Promise<void>;
|
|
202
204
|
private readFileAsDataURL;
|
|
203
205
|
getDropDown(event: any): void;
|
|
206
|
+
trackByRow(index: number, row: any): any;
|
|
207
|
+
trackByColumn(index: number, column: any): any;
|
|
208
|
+
trackBySummary(index: number, summary: any): any;
|
|
209
|
+
trackByIndex(index: number): number;
|
|
210
|
+
editModeChange(): void;
|
|
211
|
+
saveTable(): void;
|
|
212
|
+
discardChanges(): void;
|
|
204
213
|
static ɵfac: i0.ɵɵFactoryDeclaration<NxtDatatable, never>;
|
|
205
214
|
static ɵcmp: i0.ɵɵComponentDeclaration<NxtDatatable, "nxt-datatable", never, { "data": { "alias": "data"; "required": false; }; "tableFilterData": { "alias": "tableFilterData"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "withCheckBox": { "alias": "withCheckBox"; "required": false; }; "searchBar": { "alias": "searchBar"; "required": false; }; "tableSaveButton": { "alias": "tableSaveButton"; "required": false; }; "stickyColumn": { "alias": "stickyColumn"; "required": false; }; "tableWidth": { "alias": "tableWidth"; "required": false; }; "actionColumHeader": { "alias": "actionColumHeader"; "required": false; }; "actionButton": { "alias": "actionButton"; "required": false; }; "title": { "alias": "title"; "required": false; }; "isButtons": { "alias": "isButtons"; "required": false; }; "buttonArray": { "alias": "buttonArray"; "required": false; }; "tableId": { "alias": "tableId"; "required": false; }; "isEditRow": { "alias": "isEditRow"; "required": false; }; "isDeleteRow": { "alias": "isDeleteRow"; "required": false; }; "addInlineRecord": { "alias": "addInlineRecord"; "required": false; }; "searchConfigs": { "alias": "searchConfigs"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "actionButtonArray": { "alias": "actionButtonArray"; "required": false; }; "multipleFilter": { "alias": "multipleFilter"; "required": false; }; "isPagination": { "alias": "isPagination"; "required": false; }; "isNosIndicator": { "alias": "isNosIndicator"; "required": false; }; "isEditable": { "alias": "isEditable"; "required": false; }; "from": { "alias": "from"; "required": false; }; "question": { "alias": "question"; "required": false; }; "rowTextSize": { "alias": "rowTextSize"; "required": false; }; "rowTextColor": { "alias": "rowTextColor"; "required": false; }; "apiMeta": { "alias": "apiMeta"; "required": false; }; "summaryRows": { "alias": "summaryRows"; "required": false; }; "summaryColumns": { "alias": "summaryColumns"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "tableConfig": { "alias": "tableConfig"; "required": false; }; "tableParams": { "alias": "tableParams"; "required": false; }; "listViews": { "alias": "listViews"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; "selectedColumn": { "alias": "selectedColumn"; "required": false; }; "allIcons": { "alias": "allIcons"; "required": false; }; }, { "tableRowClick": "tableRowClick"; "onEditData": "onEditData"; "saveButtonData": "saveButtonData"; "onDeleteData": "onDeleteData"; "buttonEmit": "buttonEmit"; "hyperLinkEmit": "hyperLinkEmit"; "sideNavEmit": "sideNavEmit"; "actionButtonEmit": "actionButtonEmit"; "columnSelected": "columnSelected"; "removeColumn": "removeColumn"; "valueChange": "valueChange"; "selectedValues": "selectedValues"; "fileEmit": "fileEmit"; "NxtTableParamsEmit": "NxtTableParamsEmit"; "NxtTableFilterEmit": "NxtTableFilterEmit"; "hadleDropDownDependent": "hadleDropDownDependent"; "NxtTableEmit": "NxtTableEmit"; }, never, never, true, never>;
|
|
206
215
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { OnInit, EventEmitter, OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { SharedService } from '../../services/shared/shared.service';
|
|
3
3
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
4
|
import { DataService } from '../../services/data/data.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class NxtFileUploadComponent implements OnInit, OnChanges {
|
|
7
|
+
private cdRef;
|
|
7
8
|
private SharedService;
|
|
8
9
|
private dataService;
|
|
9
10
|
private sanitizer;
|
|
@@ -33,7 +34,7 @@ export declare class NxtFileUploadComponent implements OnInit, OnChanges {
|
|
|
33
34
|
isSaveHovered: boolean;
|
|
34
35
|
isDiscardHovered: boolean;
|
|
35
36
|
isLoading: boolean;
|
|
36
|
-
constructor(SharedService: SharedService, dataService: DataService, sanitizer: DomSanitizer);
|
|
37
|
+
constructor(cdRef: ChangeDetectorRef, SharedService: SharedService, dataService: DataService, sanitizer: DomSanitizer);
|
|
37
38
|
ngOnInit(): void;
|
|
38
39
|
ngOnChanges(simpleChanges: SimpleChanges): void;
|
|
39
40
|
initializeFileConfigs(): void;
|
|
@@ -65,9 +65,9 @@ export declare class NxtInput implements AfterViewInit {
|
|
|
65
65
|
maxDate: any;
|
|
66
66
|
rows: number;
|
|
67
67
|
from: any;
|
|
68
|
-
hyperLink: any;
|
|
69
68
|
selectedOption: any;
|
|
70
69
|
apiMeta: any;
|
|
70
|
+
direction: any;
|
|
71
71
|
rawInputVal: any;
|
|
72
72
|
languageCode: any;
|
|
73
73
|
set size(size: number);
|
|
@@ -78,7 +78,6 @@ export declare class NxtInput implements AfterViewInit {
|
|
|
78
78
|
toggleEmit: EventEmitter<any>;
|
|
79
79
|
nativeInputRef: EventEmitter<ElementRef<any>>;
|
|
80
80
|
removeValueEmit: EventEmitter<any>;
|
|
81
|
-
hyperlinkEmit: EventEmitter<Event>;
|
|
82
81
|
inputEls: QueryList<ElementRef<HTMLInputElement>>;
|
|
83
82
|
dateTimePicker: any;
|
|
84
83
|
datePicker: any;
|
|
@@ -173,9 +172,8 @@ export declare class NxtInput implements AfterViewInit {
|
|
|
173
172
|
discardChanges: (event?: CustomEvent) => void;
|
|
174
173
|
openDatePicker(type: string): void;
|
|
175
174
|
removeValue(): void;
|
|
176
|
-
onClickHyperlink(event: Event): void;
|
|
177
175
|
onHijriInputClick(): void;
|
|
178
176
|
private searchFromApi;
|
|
179
177
|
static ɵfac: i0.ɵɵFactoryDeclaration<NxtInput, never>;
|
|
180
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NxtInput, "nxt-input", never, { "label": { "alias": "label"; "required": false; }; "labelFont": { "alias": "labelFont"; "required": false; }; "labelWeight": { "alias": "labelWeight"; "required": false; }; "inputWeight": { "alias": "inputWeight"; "required": false; }; "labelSize": { "alias": "labelSize"; "required": false; }; "inputValueSize": { "alias": "inputValueSize"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "svgHeight": { "alias": "svgHeight"; "required": false; }; "svgWidth": { "alias": "svgWidth"; "required": false; }; "type": { "alias": "type"; "required": false; }; "inputIconRightSrc": { "alias": "inputIconRightSrc"; "required": false; }; "inputIconLeftSrc": { "alias": "inputIconLeftSrc"; "required": false; }; "required": { "alias": "required"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "inputBgColor": { "alias": "inputBgColor"; "required": false; }; "inputBorder": { "alias": "inputBorder"; "required": false; }; "placeholderColor": { "alias": "placeholderColor"; "required": false; }; "placeholderFont": { "alias": "placeholderFont"; "required": false; }; "placeholderWeight": { "alias": "placeholderWeight"; "required": false; }; "placeholderSize": { "alias": "placeholderSize"; "required": false; }; "inputTextColor": { "alias": "inputTextColor"; "required": false; }; "inputHeight": { "alias": "inputHeight"; "required": false; }; "inputWidth": { "alias": "inputWidth"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inputBorderSize": { "alias": "inputBorderSize"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "confPassVal": { "alias": "confPassVal"; "required": false; }; "confPass": { "alias": "confPass"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "value": { "alias": "value"; "required": false; }; "question": { "alias": "question"; "required": false; }; "showSuggestion": { "alias": "showSuggestion"; "required": false; }; "ariaOwns": { "alias": "ariaOwns"; "required": false; }; "ariaHasPopup": { "alias": "ariaHasPopup"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "options": { "alias": "options"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "from": { "alias": "from"; "required": false; }; "
|
|
178
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NxtInput, "nxt-input", never, { "label": { "alias": "label"; "required": false; }; "labelFont": { "alias": "labelFont"; "required": false; }; "labelWeight": { "alias": "labelWeight"; "required": false; }; "inputWeight": { "alias": "inputWeight"; "required": false; }; "labelSize": { "alias": "labelSize"; "required": false; }; "inputValueSize": { "alias": "inputValueSize"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "svgHeight": { "alias": "svgHeight"; "required": false; }; "svgWidth": { "alias": "svgWidth"; "required": false; }; "type": { "alias": "type"; "required": false; }; "inputIconRightSrc": { "alias": "inputIconRightSrc"; "required": false; }; "inputIconLeftSrc": { "alias": "inputIconLeftSrc"; "required": false; }; "required": { "alias": "required"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "inputBgColor": { "alias": "inputBgColor"; "required": false; }; "inputBorder": { "alias": "inputBorder"; "required": false; }; "placeholderColor": { "alias": "placeholderColor"; "required": false; }; "placeholderFont": { "alias": "placeholderFont"; "required": false; }; "placeholderWeight": { "alias": "placeholderWeight"; "required": false; }; "placeholderSize": { "alias": "placeholderSize"; "required": false; }; "inputTextColor": { "alias": "inputTextColor"; "required": false; }; "inputHeight": { "alias": "inputHeight"; "required": false; }; "inputWidth": { "alias": "inputWidth"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inputBorderSize": { "alias": "inputBorderSize"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "confPassVal": { "alias": "confPassVal"; "required": false; }; "confPass": { "alias": "confPass"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "value": { "alias": "value"; "required": false; }; "question": { "alias": "question"; "required": false; }; "showSuggestion": { "alias": "showSuggestion"; "required": false; }; "ariaOwns": { "alias": "ariaOwns"; "required": false; }; "ariaHasPopup": { "alias": "ariaHasPopup"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "options": { "alias": "options"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "from": { "alias": "from"; "required": false; }; "selectedOption": { "alias": "selectedOption"; "required": false; }; "apiMeta": { "alias": "apiMeta"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "valueChange": "valueChange"; "inputValue": "inputValue"; "onBlur": "onBlur"; "onFocus": "onFocus"; "toggleEmit": "toggleEmit"; "nativeInputRef": "nativeInputRef"; "removeValueEmit": "removeValueEmit"; }, never, never, true, never>;
|
|
181
179
|
}
|
|
@@ -65,7 +65,6 @@ export declare class BookletComponent implements OnInit {
|
|
|
65
65
|
handleBookletActionClick(action: ActionMeta, ques?: any): void;
|
|
66
66
|
handleCompleteBooklet(completeBooklet: any): void;
|
|
67
67
|
handleBook(quesList: any): void;
|
|
68
|
-
flattenObject(obj: any, parentKey?: string): any[];
|
|
69
68
|
handleQues(ques: any): void;
|
|
70
69
|
addEvent(day: any, entryQues: any): void;
|
|
71
70
|
getText(value: any): SafeHtml;
|
|
@@ -64,7 +64,6 @@ export declare class QuestionbookComponent implements OnInit, AfterViewInit {
|
|
|
64
64
|
ngOnInit(): void;
|
|
65
65
|
ngAfterViewInit(): void;
|
|
66
66
|
handleQues(ques: any): Promise<void>;
|
|
67
|
-
flattenObject(obj: any, parentKey?: string, includeObjects?: boolean): any[];
|
|
68
67
|
processData(): void;
|
|
69
68
|
hideDependentElements(elementId: any): void;
|
|
70
69
|
clearSQError(quesId: any): void;
|
|
@@ -0,0 +1,10 @@
|
|
|
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(nxtDate: any, type: any, languageCode: string): string;
|
|
7
|
+
private toArabicNumbers;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NxtDatePipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NxtDatePipe, "NxtDate", true>;
|
|
10
|
+
}
|
package/package.json
CHANGED
|
Binary file
|
package/src/lib/style.css
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
@import '~quill/dist/quill.bubble.css';
|
|
2
2
|
@import "@danielmoncada/angular-datetime-picker/assets/style/picker.min.css"; /* AP-04FEB25 date-picker */
|
|
3
|
+
@import '~quill/dist/quill.core.css'; /* SKS10AUG25 for quill editer text style */
|
|
4
|
+
@import '~quill/dist/quill.snow.css';
|
|
3
5
|
/*General Nxt App stylings */
|
|
4
6
|
.rusty{
|
|
5
7
|
width: 235px;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import 'moment/locale/ar-sa';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class HijriArabicPipe implements PipeTransform {
|
|
5
|
-
transform(hijriDate: any): string;
|
|
6
|
-
toArabicNumbers(input: string): string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HijriArabicPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<HijriArabicPipe, "hijriArabic", true>;
|
|
9
|
-
}
|
|
Binary file
|