@memberjunction/ng-query-grid 1.0.4 → 1.0.7-next.0
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.
|
@@ -234,10 +234,10 @@ QueryGridComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryGri
|
|
|
234
234
|
i0.ɵɵproperty("data", ctx.exportData)("fileName", (ctx.Params == null ? null : ctx.Params.QueryID) + "_Query.xlsx");
|
|
235
235
|
i0.ɵɵadvance(2);
|
|
236
236
|
i0.ɵɵproperty("ngForOf", ctx.queryColumns());
|
|
237
|
-
} }, dependencies: [i1.NgForOf, i1.NgIf, i2.GridComponent, i2.ToolbarTemplateDirective, i2.SelectionDirective, i3.ExcelExportComponent, i3.ColumnComponent, i4.FillContainer, i5.ButtonComponent, i6.SVGIconComponent], styles: [".query-grid-wrap[_ngcontent-%COMP%] {\
|
|
237
|
+
} }, dependencies: [i1.NgForOf, i1.NgIf, i2.GridComponent, i2.ToolbarTemplateDirective, i2.SelectionDirective, i3.ExcelExportComponent, i3.ColumnComponent, i4.FillContainer, i5.ButtonComponent, i6.SVGIconComponent], styles: [".query-grid-wrap[_ngcontent-%COMP%] {\n height: calc(100vh-20px);\n}\n\n.query-grid-column-header[_ngcontent-%COMP%] {\n background-color: #ec8641;\n font-size: 20pt;\n font-weight: bold;\n}\n .query-grid-wrap .k-grid-aria-root .k-grid-header .k-grid-header-table thead tr th {\n border-right: none;\n border-inline-start-width: 0;\n color: var(--thead-color);\n}\n .query-grid-wrap .k-grid-aria-root kendo-grid-list .k-grid-table tbody tr td { \n border-inline-start-width: 0;\n color: var(--tdata-color);\n font-weight: 500;\n border-bottom-width: 1px;\n}"] });
|
|
238
238
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryGridComponent, [{
|
|
239
239
|
type: Component,
|
|
240
|
-
args: [{ selector: 'mj-query-grid', template: "<div class=\"query-grid-wrap\" mjFillContainer>\
|
|
240
|
+
args: [{ selector: 'mj-query-grid', template: "<div class=\"query-grid-wrap\" mjFillContainer>\n <kendo-grid #kendoGrid\n mjFillContainer\n [resizable]=\"true\"\n [data]=\"gridView\" \n [skip]=\"skip\"\n [pageSize]=\"pageSize\"\n scrollable=\"virtual\"\n [rowHeight]=\"36\"\n (pageChange)=\"pageChange($event)\"\n [loading]=\"isLoading\"\n [height]=\"gridHeight\"\n [sortable]=\"true\"\n [resizable]=\"true\"\n [reorderable]=\"true\"\n [selectable]=\"true\"\n kendoGridSelectBy\n [(selectedKeys)]=\"selectedKeys\"\n (cellClick)=\"cellClickHandler($event)\"\n >\n <ng-template kendoGridToolbarTemplate>\n <button fillMode=\"outline\" themeColor=\"info\" kendoButton (click)=\"doExcelExport()\" ><kendo-svgicon [icon]=\"kendoSVGIcon('fileExcel')\" ></kendo-svgicon>Export to Excel</button>\n <button\n kendoButton\n \n themeColor=\"info\"\n *ngIf=\"showRefreshButton\"\n (click)=\"RefreshFromSavedParams()\" >\n Refresh\n <kendo-svgicon [icon]=\"kendoSVGIcon('arrowRotateCcwSmall')\"></kendo-svgicon>\n </button>\n </ng-template>\n\n <kendo-excelexport #excelExport [data]=\"exportData\" [fileName]=\"Params?.QueryID + '_Query.xlsx'\">\n <kendo-excelexport-column *ngFor=\"let exportCol of queryColumns()\" [field]=\"exportCol\" [title]=\"exportCol\">\n </kendo-excelexport-column>\n </kendo-excelexport>\n </kendo-grid>\n</div>\n ", styles: [".query-grid-wrap {\n height: calc(100vh-20px);\n}\n\n.query-grid-column-header {\n background-color: #ec8641;\n font-size: 20pt;\n font-weight: bold;\n}\n::ng-deep .query-grid-wrap .k-grid-aria-root .k-grid-header .k-grid-header-table thead tr th {\n border-right: none;\n border-inline-start-width: 0;\n color: var(--thead-color);\n}\n::ng-deep .query-grid-wrap .k-grid-aria-root kendo-grid-list .k-grid-table tbody tr td { \n border-inline-start-width: 0;\n color: var(--tdata-color);\n font-weight: 500;\n border-bottom-width: 1px;\n} "] }]
|
|
241
241
|
}], () => [], { Params: [{
|
|
242
242
|
type: Input
|
|
243
243
|
}], BottomMargin: [{
|
|
@@ -262,4 +262,4 @@ QueryGridComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryGri
|
|
|
262
262
|
}], AllowLoad: [{
|
|
263
263
|
type: Input
|
|
264
264
|
}] }); })();
|
|
265
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryGridComponent, { className: "QueryGridComponent", filePath: "src
|
|
265
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryGridComponent, { className: "QueryGridComponent", filePath: "src/lib/ng-query-grid.component.ts", lineNumber: 24 }); })();
|
package/package.json
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@memberjunction/ng-query-grid",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "MemberJunction: Angular Grid to display any MemberJunction Query",
|
|
5
|
-
"main": "./dist/public-api.js",
|
|
6
|
-
"typings": "./dist/public-api.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"/dist"
|
|
9
|
-
],
|
|
10
|
-
"scripts": {
|
|
11
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
|
-
"build": "ngc"
|
|
13
|
-
},
|
|
14
|
-
"keywords": [],
|
|
15
|
-
"author": "",
|
|
16
|
-
"license": "ISC",
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"@angular/compiler": "~17.2.2",
|
|
19
|
-
"@angular/compiler-cli": "~17.2.2"
|
|
20
|
-
},
|
|
21
|
-
"peerDependencies": {
|
|
22
|
-
"@angular/common": "~17.2.2",
|
|
23
|
-
"@angular/core": "~17.2.2",
|
|
24
|
-
"@angular/forms": "~17.2.2",
|
|
25
|
-
"@angular/router": "~17.2.2",
|
|
26
|
-
"@progress/kendo-angular-grid": "~15.1.0",
|
|
27
|
-
"@progress/kendo-angular-buttons": "~15.1.0",
|
|
28
|
-
"@progress/kendo-angular-dialog": "~15.1.0"
|
|
29
|
-
},
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"@memberjunction/core-entities": "^1.0.
|
|
32
|
-
"@memberjunction/global": "^1.0.
|
|
33
|
-
"@memberjunction/core": "^1.0.
|
|
34
|
-
"@memberjunction/ng-container-directives": "^1.0.
|
|
35
|
-
"@memberjunction/ng-shared": "^1.0.
|
|
36
|
-
"tslib": "^2.3.0"
|
|
37
|
-
},
|
|
38
|
-
"sideEffects": false
|
|
39
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@memberjunction/ng-query-grid",
|
|
3
|
+
"version": "1.0.7-next.0",
|
|
4
|
+
"description": "MemberJunction: Angular Grid to display any MemberJunction Query",
|
|
5
|
+
"main": "./dist/public-api.js",
|
|
6
|
+
"typings": "./dist/public-api.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"/dist"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
|
+
"build": "ngc"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [],
|
|
15
|
+
"author": "",
|
|
16
|
+
"license": "ISC",
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@angular/compiler": "~17.2.2",
|
|
19
|
+
"@angular/compiler-cli": "~17.2.2"
|
|
20
|
+
},
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"@angular/common": "~17.2.2",
|
|
23
|
+
"@angular/core": "~17.2.2",
|
|
24
|
+
"@angular/forms": "~17.2.2",
|
|
25
|
+
"@angular/router": "~17.2.2",
|
|
26
|
+
"@progress/kendo-angular-grid": "~15.1.0",
|
|
27
|
+
"@progress/kendo-angular-buttons": "~15.1.0",
|
|
28
|
+
"@progress/kendo-angular-dialog": "~15.1.0"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@memberjunction/core-entities": "^1.0.7-next.0",
|
|
32
|
+
"@memberjunction/global": "^1.0.7-next.0",
|
|
33
|
+
"@memberjunction/core": "^1.0.7-next.0",
|
|
34
|
+
"@memberjunction/ng-container-directives": "^1.0.7-next.0",
|
|
35
|
+
"@memberjunction/ng-shared": "^1.0.7-next.0",
|
|
36
|
+
"tslib": "^2.3.0"
|
|
37
|
+
},
|
|
38
|
+
"sideEffects": false
|
|
39
|
+
}
|