@memberjunction/ng-query-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.
- package/dist/lib/ng-query-grid.component.js +16 -15
- package/package.json +15 -15
|
@@ -21,31 +21,31 @@ import * as i5 from "@progress/kendo-angular-buttons";
|
|
|
21
21
|
const _c0 = ["kendoGrid"];
|
|
22
22
|
const _c1 = ["excelExport"];
|
|
23
23
|
function QueryGridComponent_ng_template_3_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
-
const
|
|
24
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
25
25
|
i0.ɵɵelementStart(0, "button", 10);
|
|
26
|
-
i0.ɵɵlistener("click", function QueryGridComponent_ng_template_3_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
26
|
+
i0.ɵɵlistener("click", function QueryGridComponent_ng_template_3_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.RefreshFromSavedParams()); });
|
|
27
27
|
i0.ɵɵtext(1, " Refresh ");
|
|
28
28
|
i0.ɵɵelement(2, "span", 11);
|
|
29
29
|
i0.ɵɵelementEnd();
|
|
30
30
|
} }
|
|
31
31
|
function QueryGridComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
32
|
-
const
|
|
32
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
33
33
|
i0.ɵɵelementStart(0, "button", 7);
|
|
34
|
-
i0.ɵɵlistener("click", function QueryGridComponent_ng_template_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
34
|
+
i0.ɵɵlistener("click", function QueryGridComponent_ng_template_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.doExcelExport()); });
|
|
35
35
|
i0.ɵɵelement(1, "span", 8);
|
|
36
36
|
i0.ɵɵtext(2, "Export to Excel ");
|
|
37
37
|
i0.ɵɵelementEnd();
|
|
38
38
|
i0.ɵɵtemplate(3, QueryGridComponent_ng_template_3_button_3_Template, 3, 0, "button", 9);
|
|
39
39
|
} if (rf & 2) {
|
|
40
|
-
const
|
|
40
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
41
41
|
i0.ɵɵadvance(3);
|
|
42
|
-
i0.ɵɵproperty("ngIf",
|
|
42
|
+
i0.ɵɵproperty("ngIf", ctx_r2.showRefreshButton);
|
|
43
43
|
} }
|
|
44
44
|
function QueryGridComponent_kendo_excelexport_column_6_Template(rf, ctx) { if (rf & 1) {
|
|
45
45
|
i0.ɵɵelement(0, "kendo-excelexport-column", 12);
|
|
46
46
|
} if (rf & 2) {
|
|
47
|
-
const
|
|
48
|
-
i0.ɵɵproperty("field",
|
|
47
|
+
const exportCol_r5 = ctx.$implicit;
|
|
48
|
+
i0.ɵɵproperty("field", exportCol_r5)("title", exportCol_r5);
|
|
49
49
|
} }
|
|
50
50
|
export class QueryGridComponent {
|
|
51
51
|
pageChange(event) {
|
|
@@ -208,13 +208,14 @@ QueryGridComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryGri
|
|
|
208
208
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.kendoGridElement = _t.first);
|
|
209
209
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.kendoGridElementRef = _t.first);
|
|
210
210
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.kendoExcelExport = _t.first);
|
|
211
|
-
} }, inputs: { Params: "Params", BottomMargin: "BottomMargin", InEditMode: "InEditMode", EditMode: "EditMode", AutoNavigate: "AutoNavigate", AllowLoad: "AllowLoad" }, outputs: { rowClicked: "rowClicked" }, decls: 7, vars: 15, consts: [["mjFillContainer", "", 1, "query-grid-wrap"], ["mjFillContainer", "", "scrollable", "virtual", "kendoGridSelectBy", "", 3, "
|
|
212
|
-
i0.ɵɵ
|
|
213
|
-
i0.ɵɵ
|
|
214
|
-
i0.ɵɵ
|
|
215
|
-
i0.ɵɵ
|
|
216
|
-
i0.ɵɵ
|
|
217
|
-
i0.ɵɵ
|
|
211
|
+
} }, inputs: { Params: "Params", BottomMargin: "BottomMargin", InEditMode: "InEditMode", EditMode: "EditMode", AutoNavigate: "AutoNavigate", AllowLoad: "AllowLoad" }, outputs: { rowClicked: "rowClicked" }, decls: 7, vars: 15, consts: [["kendoGrid", ""], ["excelExport", ""], ["mjFillContainer", "", 1, "query-grid-wrap"], ["mjFillContainer", "", "scrollable", "virtual", "kendoGridSelectBy", "", 3, "pageChange", "selectedKeysChange", "cellClick", "resizable", "data", "skip", "pageSize", "rowHeight", "loading", "height", "sortable", "reorderable", "selectable", "selectedKeys"], ["kendoGridToolbarTemplate", ""], [3, "data", "fileName"], [3, "field", "title", 4, "ngFor", "ngForOf"], ["fillMode", "outline", "themeColor", "info", "kendoButton", "", 3, "click"], [1, "fa-regular", "fa-file-excel"], ["kendoButton", "", "themeColor", "info", 3, "click", 4, "ngIf"], ["kendoButton", "", "themeColor", "info", 3, "click"], [1, "fa-solid", "fa-arrow-rotate-left"], [3, "field", "title"]], template: function QueryGridComponent_Template(rf, ctx) { if (rf & 1) {
|
|
212
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
213
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "kendo-grid", 3, 0);
|
|
214
|
+
i0.ɵɵlistener("pageChange", function QueryGridComponent_Template_kendo_grid_pageChange_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.pageChange($event)); });
|
|
215
|
+
i0.ɵɵtwoWayListener("selectedKeysChange", function QueryGridComponent_Template_kendo_grid_selectedKeysChange_1_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.selectedKeys, $event) || (ctx.selectedKeys = $event); return i0.ɵɵresetView($event); });
|
|
216
|
+
i0.ɵɵlistener("cellClick", function QueryGridComponent_Template_kendo_grid_cellClick_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cellClickHandler($event)); });
|
|
217
|
+
i0.ɵɵtemplate(3, QueryGridComponent_ng_template_3_Template, 4, 1, "ng-template", 4);
|
|
218
|
+
i0.ɵɵelementStart(4, "kendo-excelexport", 5, 1);
|
|
218
219
|
i0.ɵɵtemplate(6, QueryGridComponent_kendo_excelexport_column_6_Template, 1, 2, "kendo-excelexport-column", 6);
|
|
219
220
|
i0.ɵɵelementEnd()()();
|
|
220
221
|
} if (rf & 2) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-query-grid",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "MemberJunction: Angular Grid to display any MemberJunction Query",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -15,24 +15,24 @@
|
|
|
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": "
|
|
26
|
-
"@progress/kendo-angular-grid": "
|
|
27
|
-
"@progress/kendo-angular-buttons": "
|
|
28
|
-
"@progress/kendo-angular-dialog": "
|
|
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
|
+
"@progress/kendo-angular-grid": "16.2.0",
|
|
27
|
+
"@progress/kendo-angular-buttons": "16.2.0",
|
|
28
|
+
"@progress/kendo-angular-dialog": "16.2.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@memberjunction/core-entities": "
|
|
32
|
-
"@memberjunction/global": "
|
|
33
|
-
"@memberjunction/core": "
|
|
34
|
-
"@memberjunction/ng-container-directives": "
|
|
35
|
-
"@memberjunction/ng-shared": "
|
|
31
|
+
"@memberjunction/core-entities": "1.5.3",
|
|
32
|
+
"@memberjunction/global": "1.5.3",
|
|
33
|
+
"@memberjunction/core": "1.5.3",
|
|
34
|
+
"@memberjunction/ng-container-directives": "1.5.3",
|
|
35
|
+
"@memberjunction/ng-shared": "1.5.3",
|
|
36
36
|
"tslib": "^2.3.0"
|
|
37
37
|
},
|
|
38
38
|
"sideEffects": false
|