@rangertechnologies/ngnxt 2.1.116 → 2.1.118
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/esm2022/environments/version.mjs +5 -5
- package/esm2022/lib/components/datatable/datatable.component.mjs +71 -20
- package/esm2022/lib/pages/builder/element/element.component.mjs +45 -4
- package/esm2022/lib/pages/builder/properties/properties.component.mjs +170 -54
- package/esm2022/lib/pages/questionbook/questionbook.component.mjs +3 -3
- package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +3 -3
- package/esm2022/lib/services/form-builder.service.mjs +27 -15
- package/fesm2022/rangertechnologies-ngnxt.mjs +364 -145
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/components/datatable/datatable.component.d.ts +3 -2
- package/lib/pages/builder/properties/properties.component.d.ts +29 -8
- package/lib/services/form-builder.service.d.ts +4 -0
- package/package.json +1 -1
- package/rangertechnologies-ngnxt-2.1.118.tgz +0 -0
- package/rangertechnologies-ngnxt-2.1.116.tgz +0 -0
|
@@ -36,6 +36,7 @@ export declare class NxtDatatable {
|
|
|
36
36
|
from: any;
|
|
37
37
|
question: any;
|
|
38
38
|
rowTextSize: any;
|
|
39
|
+
rowTextColor: any;
|
|
39
40
|
apiMeta: string;
|
|
40
41
|
tableRowClick: EventEmitter<any>;
|
|
41
42
|
onEditData: EventEmitter<any>;
|
|
@@ -149,12 +150,12 @@ export declare class NxtDatatable {
|
|
|
149
150
|
private addClickOutsideListener;
|
|
150
151
|
private removeClickListener;
|
|
151
152
|
toggleDropdown(index: number): void;
|
|
152
|
-
actionButtonClicked(event: any): void;
|
|
153
|
+
actionButtonClicked(event: any, data: any): void;
|
|
153
154
|
removeCol(column: string): void;
|
|
154
155
|
emitTableDataValue(updatedTableData: any[]): void;
|
|
155
156
|
updateEdit(index: number, value: any, element: any, column: any): void;
|
|
156
157
|
updateValue(element: any, column: string, value: any): any;
|
|
157
158
|
expenseAttachment(event: any): void;
|
|
158
159
|
static ɵfac: i0.ɵɵFactoryDeclaration<NxtDatatable, never>;
|
|
159
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NxtDatatable, "nxt-datatable", never, { "data": { "alias": "data"; "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; }; "isSort": { "alias": "isSort"; "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; }; "apiMeta": { "alias": "apiMeta"; "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"; "NxtTableEmit": "NxtTableEmit"; }, never, never, true, never>;
|
|
160
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NxtDatatable, "nxt-datatable", never, { "data": { "alias": "data"; "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; }; "isSort": { "alias": "isSort"; "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; }; }, { "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"; "NxtTableEmit": "NxtTableEmit"; }, never, never, true, never>;
|
|
160
161
|
}
|
|
@@ -17,14 +17,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
17
17
|
bookId: any;
|
|
18
18
|
book: any;
|
|
19
19
|
activeTab: string;
|
|
20
|
-
|
|
21
|
-
onSave(): void;
|
|
22
|
-
onCancel(): void;
|
|
23
|
-
onToggleChange(key: string, event: Event): void;
|
|
24
|
-
updateProperties(elementType: string): void;
|
|
25
|
-
onAlignSelect(value: string): void;
|
|
26
|
-
onStyleSelect(value: string): void;
|
|
27
|
-
isStyleActive(value: string): boolean;
|
|
20
|
+
selectColumn: any;
|
|
28
21
|
elementProperties: {
|
|
29
22
|
Header: {
|
|
30
23
|
elementProps: {
|
|
@@ -253,10 +246,20 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
253
246
|
};
|
|
254
247
|
TableColumn: {
|
|
255
248
|
elementProps: ({
|
|
249
|
+
label: string;
|
|
250
|
+
placeholder: string;
|
|
251
|
+
type: string;
|
|
252
|
+
targetArray: string;
|
|
253
|
+
targetArrayKey: string;
|
|
254
|
+
key: string;
|
|
255
|
+
children?: undefined;
|
|
256
|
+
} | {
|
|
256
257
|
label: string;
|
|
257
258
|
placeholder: string;
|
|
258
259
|
type: string;
|
|
259
260
|
key: string;
|
|
261
|
+
targetArray?: undefined;
|
|
262
|
+
targetArrayKey?: undefined;
|
|
260
263
|
children?: undefined;
|
|
261
264
|
} | {
|
|
262
265
|
label: string;
|
|
@@ -268,11 +271,15 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
268
271
|
key: string;
|
|
269
272
|
}[];
|
|
270
273
|
placeholder?: undefined;
|
|
274
|
+
targetArray?: undefined;
|
|
275
|
+
targetArrayKey?: undefined;
|
|
271
276
|
} | {
|
|
272
277
|
label: string;
|
|
273
278
|
type: string;
|
|
274
279
|
key: string;
|
|
275
280
|
placeholder?: undefined;
|
|
281
|
+
targetArray?: undefined;
|
|
282
|
+
targetArrayKey?: undefined;
|
|
276
283
|
children?: undefined;
|
|
277
284
|
})[];
|
|
278
285
|
fieldProps: ({
|
|
@@ -598,6 +605,20 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
598
605
|
addOption(options: any[]): void;
|
|
599
606
|
removeOption(options: any[], index: number): void;
|
|
600
607
|
handleButtonClick(): void;
|
|
608
|
+
setActiveTab(tab: string): void;
|
|
609
|
+
onSave(): void;
|
|
610
|
+
onCancel(): void;
|
|
611
|
+
updateProperties(elementType: string): void;
|
|
612
|
+
onAlignSelect(value: string): void;
|
|
613
|
+
onStyleSelect(value: string): void;
|
|
614
|
+
isStyleActive(value: string): boolean;
|
|
615
|
+
getValueByPath(path: string): any;
|
|
616
|
+
onToggleChange(path: string, event: Event): void;
|
|
617
|
+
setValueByPath(path: string, value: any): void;
|
|
618
|
+
updateElement(element: any): void;
|
|
619
|
+
getValueByArrayPath(targetArrayPath: any, targetArrayKey: string, selectColumn: string, keyPath: string): any;
|
|
620
|
+
updateValueByArrayPath(targetArrayPath: any, targetArrayKey: string, selectColumn: string, keyPath: string, event: Event): void;
|
|
621
|
+
getDataByPath(path: string): any;
|
|
601
622
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertiesComponent, never>;
|
|
602
623
|
static ɵcmp: i0.ɵɵComponentDeclaration<PropertiesComponent, "app-properties", never, { "selectedElementType": { "alias": "selectedElementType"; "required": false; }; }, { "formButtonHandler": "formButtonHandler"; }, never, never, false, never>;
|
|
603
624
|
}
|
|
@@ -65,6 +65,7 @@ export declare class FormBuilderService {
|
|
|
65
65
|
selectedElement$: import("rxjs").Observable<number>;
|
|
66
66
|
selectHeaderSubject$: import("rxjs").Observable<any>;
|
|
67
67
|
currentElement: any;
|
|
68
|
+
selectTableColumn: any;
|
|
68
69
|
constructor();
|
|
69
70
|
intializeBook(book: any): void;
|
|
70
71
|
newBook(): void;
|
|
@@ -76,6 +77,8 @@ export declare class FormBuilderService {
|
|
|
76
77
|
updateElement(index: number, updates: Partial<FormElement>): void;
|
|
77
78
|
updateTitle(event: any): void;
|
|
78
79
|
setSelectedElement(index: number): void;
|
|
80
|
+
setSelectedTableElement(index: any, event: any): void;
|
|
81
|
+
getSelectTableColumn(): any;
|
|
79
82
|
selectHeading(event: any): void;
|
|
80
83
|
getElements(): FormElement[];
|
|
81
84
|
sortElementsByOrder(): void;
|
|
@@ -83,6 +86,7 @@ export declare class FormBuilderService {
|
|
|
83
86
|
downloadElement(): any;
|
|
84
87
|
updateElementsOrder(updatedElements: FormElement[]): void;
|
|
85
88
|
removeElementComponent(id: any): void;
|
|
89
|
+
elementUpdate(index: any, element: any): void;
|
|
86
90
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormBuilderService, never>;
|
|
87
91
|
static ɵprov: i0.ɵɵInjectableDeclaration<FormBuilderService>;
|
|
88
92
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|