@rangertechnologies/ngnxt 2.1.151 → 2.1.152
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 +2 -2
- package/esm2022/lib/components/datatable/datatable.component.mjs +31 -27
- package/esm2022/lib/components/list-view-filter/list-view-filter.component.mjs +74 -40
- package/esm2022/lib/interfaces/actionMeta.mjs +1 -1
- package/esm2022/lib/pages/booklet/booklet.component.mjs +8 -6
- package/esm2022/lib/pages/builder/element/element.component.mjs +2 -1
- package/esm2022/lib/pages/builder/properties/properties.component.mjs +37 -5
- package/esm2022/lib/pages/questionbook/questionbook.component.mjs +8 -2
- package/esm2022/lib/services/form-builder.service.mjs +38 -3
- package/fesm2022/rangertechnologies-ngnxt.mjs +192 -78
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/components/list-view-filter/list-view-filter.component.d.ts +16 -8
- package/lib/interfaces/actionMeta.d.ts +1 -0
- package/lib/pages/builder/properties/properties.component.d.ts +3 -0
- package/lib/services/form-builder.service.d.ts +4 -0
- package/package.json +1 -1
- package/rangertechnologies-ngnxt-2.1.152.tgz +0 -0
- package/src/lib/style.css +2 -2
- package/rangertechnologies-ngnxt-2.1.151.tgz +0 -0
|
@@ -25,7 +25,10 @@ export declare class ListViewFilterComponent implements OnInit {
|
|
|
25
25
|
tableFilterArray: any;
|
|
26
26
|
selectedView: string;
|
|
27
27
|
displayedColumns: any;
|
|
28
|
-
availableOperators:
|
|
28
|
+
availableOperators: {
|
|
29
|
+
label: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}[];
|
|
29
32
|
listViewEmit: EventEmitter<any>;
|
|
30
33
|
isDropdownOpen: boolean;
|
|
31
34
|
isModalOpen: boolean;
|
|
@@ -33,10 +36,6 @@ export declare class ListViewFilterComponent implements OnInit {
|
|
|
33
36
|
isAdding: boolean;
|
|
34
37
|
viewToDelete: ListView | null;
|
|
35
38
|
editingView: FormGroup;
|
|
36
|
-
columnValuesMap: {
|
|
37
|
-
[key: string]: string[];
|
|
38
|
-
};
|
|
39
|
-
columnNames: string[];
|
|
40
39
|
isColumnDropdownOpen: boolean[];
|
|
41
40
|
isOperatorDropdownOpen: boolean[];
|
|
42
41
|
isValueDropdownOpen: boolean[];
|
|
@@ -61,12 +60,21 @@ export declare class ListViewFilterComponent implements OnInit {
|
|
|
61
60
|
confirmDelete(view: ListView, event?: Event): void;
|
|
62
61
|
closeDeleteModal(): void;
|
|
63
62
|
deleteConfirmed(): void;
|
|
64
|
-
getFilteredColumns(term: string):
|
|
65
|
-
|
|
66
|
-
getPossibleValues(field: string): string[];
|
|
63
|
+
getFilteredColumns(term: string): any[];
|
|
64
|
+
getColumnColumns(term: string): any[];
|
|
65
|
+
getPossibleValues(field: string, term: string): string[];
|
|
66
|
+
getFilteredOperators(term: string): {
|
|
67
|
+
label: string;
|
|
68
|
+
value: string;
|
|
69
|
+
}[];
|
|
70
|
+
operatorInput: string[];
|
|
71
|
+
onOperatorInput(value: string, index: number): void;
|
|
72
|
+
getOperatorLabel(value: string): string;
|
|
67
73
|
onFocus(type: string, index: number): void;
|
|
68
74
|
onBlur(type: string, index: number): void;
|
|
69
75
|
selectOption(type: string, index: number, value: string): void;
|
|
76
|
+
getLabelByFieldName(fieldName: string): string;
|
|
77
|
+
onManualInput(inputValue: string, index: number): void;
|
|
70
78
|
onDocumentClick(event: any): void;
|
|
71
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewFilterComponent, never>;
|
|
72
80
|
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewFilterComponent, "app-list-view-filter", never, { "listViews": { "alias": "listViews"; "required": false; }; "tableFilterArray": { "alias": "tableFilterArray"; "required": false; }; "selectedView": { "alias": "selectedView"; "required": false; }; "displayedColumns": { "alias": "displayedColumns"; "required": false; }; "availableOperators": { "alias": "availableOperators"; "required": false; }; }, { "listViewEmit": "listViewEmit"; }, never, never, true, never>;
|
|
@@ -1540,6 +1540,9 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
1540
1540
|
duplicateField(element: any): void;
|
|
1541
1541
|
saveData(): void;
|
|
1542
1542
|
ngOnInit(): void;
|
|
1543
|
+
addNewButton(): void;
|
|
1544
|
+
removeButton(btn: any): void;
|
|
1545
|
+
onButtonPropertyChange(index: number, key: string, value: any): void;
|
|
1543
1546
|
updateTitle(event: any): void;
|
|
1544
1547
|
validateInput(value: string, type: string): boolean;
|
|
1545
1548
|
get fieldAsString(): string;
|
|
@@ -3,6 +3,7 @@ import { ElementComponent } from '../pages/builder/element/element.component';
|
|
|
3
3
|
import { HttpClient } from '@angular/common/http';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
interface FormElement {
|
|
6
|
+
action: any;
|
|
6
7
|
order: number;
|
|
7
8
|
id: any;
|
|
8
9
|
name: any;
|
|
@@ -72,6 +73,7 @@ export declare class FormBuilderService {
|
|
|
72
73
|
private formElementsSubject;
|
|
73
74
|
private selectedElementSubject;
|
|
74
75
|
private selectHeaderSubject;
|
|
76
|
+
private actionSubject;
|
|
75
77
|
private elementComponent;
|
|
76
78
|
book: any;
|
|
77
79
|
unique_id: any;
|
|
@@ -79,12 +81,14 @@ export declare class FormBuilderService {
|
|
|
79
81
|
formElements$: Observable<FormElement[]>;
|
|
80
82
|
selectedElement$: Observable<number>;
|
|
81
83
|
selectHeaderSubject$: Observable<any>;
|
|
84
|
+
actionSubject$: Observable<any>;
|
|
82
85
|
currentElement: any;
|
|
83
86
|
selectTableColumn: any;
|
|
84
87
|
constructor(http: HttpClient);
|
|
85
88
|
intializeBook(book: any): void;
|
|
86
89
|
getRefQbData(refqbid: string): Observable<any>;
|
|
87
90
|
addElementWithId(): string;
|
|
91
|
+
updateQuestionBookActionButtons(button: any, action: string): void;
|
|
88
92
|
newBook(): void;
|
|
89
93
|
clearElements(): void;
|
|
90
94
|
getElementComponent(): ElementComponent | null;
|
package/package.json
CHANGED
|
Binary file
|
package/src/lib/style.css
CHANGED
|
@@ -1048,14 +1048,14 @@ select{
|
|
|
1048
1048
|
.align-submit-row {
|
|
1049
1049
|
display: flex;
|
|
1050
1050
|
}
|
|
1051
|
-
.align-submit-row button{
|
|
1051
|
+
/* .align-submit-row button{
|
|
1052
1052
|
background: #48B7FF;
|
|
1053
1053
|
color: #ffffff;
|
|
1054
1054
|
border: none;
|
|
1055
1055
|
border-radius: 5px;
|
|
1056
1056
|
height: 50px;
|
|
1057
1057
|
width: 150px;
|
|
1058
|
-
}
|
|
1058
|
+
} */
|
|
1059
1059
|
google-map .map-container {
|
|
1060
1060
|
width: auto !important;
|
|
1061
1061
|
}
|
|
Binary file
|