@memberjunction/ng-list-detail-grid 1.5.1 → 1.5.3
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.
|
@@ -30,16 +30,16 @@ const _c2 = ["recordCompareRef"];
|
|
|
30
30
|
const _c3 = ["analysisQuestion"];
|
|
31
31
|
const _c4 = ["analysisResults"];
|
|
32
32
|
const _c5 = ["compareDialogContainer"];
|
|
33
|
+
const _c6 = () => ({ "text-align": "center", "vertical-align": "center" });
|
|
34
|
+
const _c7 = () => ({ "font-weight": "bold", "background-color": "white" });
|
|
33
35
|
function ListDetailGridComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
34
|
-
const
|
|
36
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
35
37
|
i0.ɵɵelementStart(0, "button", 9);
|
|
36
|
-
i0.ɵɵlistener("click", function ListDetailGridComponent_ng_template_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
38
|
+
i0.ɵɵlistener("click", function ListDetailGridComponent_ng_template_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.doExcelExport()); });
|
|
37
39
|
i0.ɵɵelement(1, "span", 10);
|
|
38
40
|
i0.ɵɵtext(2, " Export to Excel ");
|
|
39
41
|
i0.ɵɵelementEnd();
|
|
40
42
|
} }
|
|
41
|
-
const _c6 = () => ({ "text-align": "center", "vertical-align": "center" });
|
|
42
|
-
const _c7 = () => ({ "font-weight": "bold", "background-color": "white" });
|
|
43
43
|
function ListDetailGridComponent_kendo_grid_checkbox_column_4_Template(rf, ctx) { if (rf & 1) {
|
|
44
44
|
i0.ɵɵelement(0, "kendo-grid-checkbox-column", 11);
|
|
45
45
|
} if (rf & 2) {
|
|
@@ -56,10 +56,10 @@ function ListDetailGridComponent_kendo_grid_column_5_1_ng_template_0_Template(rf
|
|
|
56
56
|
i0.ɵɵpipe(6, "number");
|
|
57
57
|
i0.ɵɵelementEnd();
|
|
58
58
|
} if (rf & 2) {
|
|
59
|
-
const
|
|
60
|
-
i0.ɵɵtextInterpolate2(" ", i0.ɵɵpipeBind1(1, 3,
|
|
59
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
60
|
+
i0.ɵɵtextInterpolate2(" ", i0.ɵɵpipeBind1(1, 3, ctx_r2.viewData.length), "", ctx_r2.totalRowCount > ctx_r2.viewData.length ? " of " + i0.ɵɵpipeBind1(2, 5, ctx_r2.totalRowCount) : " rows", "");
|
|
61
61
|
i0.ɵɵadvance(5);
|
|
62
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(6, 7,
|
|
62
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(6, 7, ctx_r2.viewExecutionTime, "1.2-2"), " seconds");
|
|
63
63
|
} }
|
|
64
64
|
function ListDetailGridComponent_kendo_grid_column_5_1_Template(rf, ctx) { if (rf & 1) {
|
|
65
65
|
i0.ɵɵtemplate(0, ListDetailGridComponent_kendo_grid_column_5_1_ng_template_0_Template, 7, 10, "ng-template", 14);
|
|
@@ -69,18 +69,18 @@ function ListDetailGridComponent_kendo_grid_column_5_Template(rf, ctx) { if (rf
|
|
|
69
69
|
i0.ɵɵtemplate(1, ListDetailGridComponent_kendo_grid_column_5_1_Template, 1, 0, null, 13);
|
|
70
70
|
i0.ɵɵelementEnd();
|
|
71
71
|
} if (rf & 2) {
|
|
72
|
-
const
|
|
73
|
-
const
|
|
74
|
-
i0.ɵɵstyleMap(
|
|
75
|
-
i0.ɵɵproperty("field",
|
|
72
|
+
const item_r4 = ctx.$implicit;
|
|
73
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
74
|
+
i0.ɵɵstyleMap(ctx_r2.GetColumnCellStyle(item_r4));
|
|
75
|
+
i0.ɵɵproperty("field", item_r4.Name)("title", ctx_r2.GetColumnTitle(item_r4))("width", item_r4.width ? item_r4.width : 100)("editable", item_r4.EntityField.AllowUpdateAPI)("editor", ctx_r2.getEditor(item_r4.EntityField))("headerStyle", i0.ɵɵpureFunction0(9, _c7));
|
|
76
76
|
i0.ɵɵadvance();
|
|
77
|
-
i0.ɵɵproperty("ngIf",
|
|
77
|
+
i0.ɵɵproperty("ngIf", item_r4 === ctx_r2.visibleColumns[0]);
|
|
78
78
|
} }
|
|
79
79
|
function ListDetailGridComponent_kendo_excelexport_column_8_Template(rf, ctx) { if (rf & 1) {
|
|
80
80
|
i0.ɵɵelement(0, "kendo-excelexport-column", 16);
|
|
81
81
|
} if (rf & 2) {
|
|
82
|
-
const
|
|
83
|
-
i0.ɵɵproperty("field",
|
|
82
|
+
const exportCol_r5 = ctx.$implicit;
|
|
83
|
+
i0.ɵɵproperty("field", exportCol_r5.Name)("title", exportCol_r5.Name);
|
|
84
84
|
} }
|
|
85
85
|
export class ListDetailGridComponent {
|
|
86
86
|
get PendingRecords() {
|
|
@@ -536,8 +536,8 @@ export class ListDetailGridComponent {
|
|
|
536
536
|
});
|
|
537
537
|
}
|
|
538
538
|
Refresh(params) {
|
|
539
|
-
var _a, _b, _c;
|
|
540
539
|
return __awaiter(this, void 0, void 0, function* () {
|
|
540
|
+
var _a, _b, _c;
|
|
541
541
|
this.Params = params;
|
|
542
542
|
if (this.AllowLoad === false) {
|
|
543
543
|
return;
|
|
@@ -789,8 +789,8 @@ export class ListDetailGridComponent {
|
|
|
789
789
|
});
|
|
790
790
|
}
|
|
791
791
|
findDuplicateRecords() {
|
|
792
|
-
var _a;
|
|
793
792
|
return __awaiter(this, void 0, void 0, function* () {
|
|
793
|
+
var _a;
|
|
794
794
|
if (!this._entityInfo) {
|
|
795
795
|
console.error("Entity Info is not available");
|
|
796
796
|
this.closeCompareDialog('duplicate');
|
|
@@ -884,13 +884,14 @@ ListDetailGridComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Lis
|
|
|
884
884
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.analysisQuestion = _t.first);
|
|
885
885
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.analysisResults = _t.first);
|
|
886
886
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.compareDialogContainer = _t.first);
|
|
887
|
-
} }, inputs: { Params: "Params", BottomMargin: "BottomMargin", InEditMode: "InEditMode", EditMode: "EditMode", AutoNavigate: "AutoNavigate", AllowLoad: "AllowLoad" }, outputs: { rowClicked: "rowClicked", rowEdited: "rowEdited" }, decls: 9, vars: 18, consts: [["mjFillContainer", "", 1, "list-detail-grid-wrap"], ["mjFillContainer", "", "scrollable", "virtual", "kendoGridSelectBy", "", 3, "
|
|
888
|
-
i0.ɵɵ
|
|
889
|
-
i0.ɵɵ
|
|
890
|
-
i0.ɵɵ
|
|
891
|
-
i0.ɵɵ
|
|
892
|
-
i0.ɵɵ
|
|
893
|
-
i0.ɵɵ
|
|
887
|
+
} }, inputs: { Params: "Params", BottomMargin: "BottomMargin", InEditMode: "InEditMode", EditMode: "EditMode", AutoNavigate: "AutoNavigate", AllowLoad: "AllowLoad" }, outputs: { rowClicked: "rowClicked", rowEdited: "rowEdited" }, decls: 9, vars: 18, consts: [["kendoGrid", ""], ["excelExport", ""], ["mjFillContainer", "", 1, "list-detail-grid-wrap"], ["mjFillContainer", "", "scrollable", "virtual", "kendoGridSelectBy", "", 3, "pageChange", "selectedKeysChange", "cellClick", "cellClose", "columnReorder", "columnResize", "selectionChange", "sortChange", "resizable", "data", "skip", "pageSize", "rowHeight", "loading", "height", "sortable", "sort", "reorderable", "selectable", "selectedKeys"], ["kendoGridToolbarTemplate", ""], [3, "width", "headerStyle", "style", 4, "ngIf"], [3, "field", "title", "width", "editable", "editor", "headerStyle", "style", 4, "ngFor", "ngForOf"], [3, "data", "fileName"], [3, "field", "title", 4, "ngFor", "ngForOf"], ["kendoButton", "", 3, "click"], [1, "fa-regular", "fa-file-excel"], [3, "width", "headerStyle"], [3, "field", "title", "width", "editable", "editor", "headerStyle"], [4, "ngIf"], ["kendoGridFooterTemplate", ""], [2, "font-size", "smaller", "font-weight", "normal"], [3, "field", "title"]], template: function ListDetailGridComponent_Template(rf, ctx) { if (rf & 1) {
|
|
888
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
889
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "kendo-grid", 3, 0);
|
|
890
|
+
i0.ɵɵlistener("pageChange", function ListDetailGridComponent_Template_kendo_grid_pageChange_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.pageChange($event)); });
|
|
891
|
+
i0.ɵɵtwoWayListener("selectedKeysChange", function ListDetailGridComponent_Template_kendo_grid_selectedKeysChange_1_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.selectedKeys, $event) || (ctx.selectedKeys = $event); return i0.ɵɵresetView($event); });
|
|
892
|
+
i0.ɵɵlistener("cellClick", function ListDetailGridComponent_Template_kendo_grid_cellClick_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cellClickHandler($event)); })("cellClose", function ListDetailGridComponent_Template_kendo_grid_cellClose_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cellCloseHandler($event)); })("columnReorder", function ListDetailGridComponent_Template_kendo_grid_columnReorder_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.columnReorder($event)); })("columnResize", function ListDetailGridComponent_Template_kendo_grid_columnResize_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.columnResize($event)); })("selectionChange", function ListDetailGridComponent_Template_kendo_grid_selectionChange_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.selectionChange($event)); })("sortChange", function ListDetailGridComponent_Template_kendo_grid_sortChange_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.sortChanged($event)); });
|
|
893
|
+
i0.ɵɵtemplate(3, ListDetailGridComponent_ng_template_3_Template, 3, 0, "ng-template", 4)(4, ListDetailGridComponent_kendo_grid_checkbox_column_4_Template, 1, 6, "kendo-grid-checkbox-column", 5)(5, ListDetailGridComponent_kendo_grid_column_5_Template, 2, 10, "kendo-grid-column", 6);
|
|
894
|
+
i0.ɵɵelementStart(6, "kendo-excelexport", 7, 1);
|
|
894
895
|
i0.ɵɵtemplate(8, ListDetailGridComponent_kendo_excelexport_column_8_Template, 1, 2, "kendo-excelexport-column", 8);
|
|
895
896
|
i0.ɵɵelementEnd()()();
|
|
896
897
|
} if (rf & 2) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-list-detail-grid",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "MemberJunction: Angular Grid to display dynamic and saved List Details for any entity in MemberJunction.",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -15,26 +15,26 @@
|
|
|
15
15
|
"author": "",
|
|
16
16
|
"license": "ISC",
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@angular/compiler": "
|
|
19
|
-
"@angular/compiler-cli": "
|
|
18
|
+
"@angular/compiler": "18.0.2",
|
|
19
|
+
"@angular/compiler-cli": "18.0.2"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@angular/common": "
|
|
23
|
-
"@angular/core": "
|
|
24
|
-
"@angular/forms": "
|
|
25
|
-
"@angular/router": "
|
|
22
|
+
"@angular/common": "18.0.2",
|
|
23
|
+
"@angular/core": "18.0.2",
|
|
24
|
+
"@angular/forms": "18.0.2",
|
|
25
|
+
"@angular/router": "18.0.2"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@memberjunction/core-entities": "
|
|
29
|
-
"@memberjunction/global": "
|
|
30
|
-
"@memberjunction/core": "
|
|
31
|
-
"@memberjunction/ng-shared": "
|
|
32
|
-
"@memberjunction/ng-compare-records": "
|
|
33
|
-
"@memberjunction/ng-container-directives": "
|
|
34
|
-
"@progress/kendo-angular-grid": "
|
|
35
|
-
"@progress/kendo-angular-layout": "
|
|
36
|
-
"@progress/kendo-angular-inputs": "
|
|
37
|
-
"@progress/kendo-angular-buttons": "
|
|
28
|
+
"@memberjunction/core-entities": "1.5.3",
|
|
29
|
+
"@memberjunction/global": "1.5.3",
|
|
30
|
+
"@memberjunction/core": "1.5.3",
|
|
31
|
+
"@memberjunction/ng-shared": "1.5.3",
|
|
32
|
+
"@memberjunction/ng-compare-records": "1.5.3",
|
|
33
|
+
"@memberjunction/ng-container-directives": "1.5.3",
|
|
34
|
+
"@progress/kendo-angular-grid": "16.2.0",
|
|
35
|
+
"@progress/kendo-angular-layout": "16.2.0",
|
|
36
|
+
"@progress/kendo-angular-inputs": "16.2.0",
|
|
37
|
+
"@progress/kendo-angular-buttons": "16.2.0",
|
|
38
38
|
"tslib": "^2.3.0"
|
|
39
39
|
},
|
|
40
40
|
"sideEffects": false
|