@memberjunction/ng-query-grid 1.0.8 → 1.0.11

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.
@@ -2,7 +2,6 @@ import { ElementRef, EventEmitter, OnInit, AfterViewInit } from '@angular/core';
2
2
  import { BaseEntity, PrimaryKeyValue, RunQueryParams } from '@memberjunction/core';
3
3
  import { CellClickEvent, GridDataResult, PageChangeEvent, GridComponent, SelectableSettings } from "@progress/kendo-angular-grid";
4
4
  import { ExcelExportComponent } from '@progress/kendo-angular-excel-export';
5
- import { kendoSVGIcon } from '@memberjunction/ng-shared';
6
5
  import * as i0 from "@angular/core";
7
6
  export type GridRowClickedEvent = {
8
7
  entityId: number;
@@ -49,7 +48,6 @@ export declare class QueryGridComponent implements OnInit, AfterViewInit {
49
48
  doExcelExport(): Promise<void>;
50
49
  protected getExportData(): Promise<any[]>;
51
50
  protected queryColumns(): string[] | undefined;
52
- kendoSVGIcon: typeof kendoSVGIcon;
53
51
  static ɵfac: i0.ɵɵFactoryDeclaration<QueryGridComponent, never>;
54
52
  static ɵcmp: i0.ɵɵComponentDeclaration<QueryGridComponent, "mj-query-grid", never, { "Params": { "alias": "Params"; "required": false; }; "BottomMargin": { "alias": "BottomMargin"; "required": false; }; "InEditMode": { "alias": "InEditMode"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; "AutoNavigate": { "alias": "AutoNavigate"; "required": false; }; "AllowLoad": { "alias": "AllowLoad"; "required": false; }; }, { "rowClicked": "rowClicked"; }, never, never, false, never>;
55
53
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ng-query-grid.component.d.ts","sourceRoot":"","sources":["../../src/lib/ng-query-grid.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,UAAU,EAAU,YAAY,EAAE,MAAM,EAAS,aAAa,EAAE,MAAM,eAAe,CAAC;AAErH,OAAO,EAAY,UAAU,EAAoF,eAAe,EAAE,cAAc,EAAY,MAAM,sBAAsB,CA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K,EAAE,OAAO,EAQlC;IAEK,sBAAsB;IAItB,OAAO,CAAC,MAAM,EAAE,cAAc;IAoC7B,UAAU,EAAE,GAAG,EAAE,CAAM;IACjB,aAAa;cAsBV,aAAa,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;IAI/C,SAAS,CAAC,YAAY;yCAnKX,kBAAkB;2CAAlB,kBAAkB;CA0K9B"}
@@ -12,14 +12,12 @@ import { Metadata, LogError, RunQuery } from '@memberjunction/core';
12
12
  import { GridComponent } from "@progress/kendo-angular-grid";
13
13
  import { ExcelExportComponent } from '@progress/kendo-angular-excel-export';
14
14
  import { MJEventType, MJGlobal } from '@memberjunction/global';
15
- import { kendoSVGIcon } from '@memberjunction/ng-shared';
16
15
  import * as i0 from "@angular/core";
17
16
  import * as i1 from "@angular/common";
18
17
  import * as i2 from "@progress/kendo-angular-grid";
19
18
  import * as i3 from "@progress/kendo-angular-excel-export";
20
19
  import * as i4 from "@memberjunction/ng-container-directives";
21
20
  import * as i5 from "@progress/kendo-angular-buttons";
22
- import * as i6 from "@progress/kendo-angular-icons";
23
21
  const _c0 = ["kendoGrid"];
24
22
  const _c1 = ["excelExport"];
25
23
  function QueryGridComponent_ng_template_3_button_3_Template(rf, ctx) { if (rf & 1) {
@@ -27,30 +25,24 @@ function QueryGridComponent_ng_template_3_button_3_Template(rf, ctx) { if (rf &
27
25
  i0.ɵɵelementStart(0, "button", 10);
28
26
  i0.ɵɵlistener("click", function QueryGridComponent_ng_template_3_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.RefreshFromSavedParams()); });
29
27
  i0.ɵɵtext(1, " Refresh ");
30
- i0.ɵɵelement(2, "kendo-svgicon", 8);
28
+ i0.ɵɵelement(2, "span", 11);
31
29
  i0.ɵɵelementEnd();
32
- } if (rf & 2) {
33
- const ctx_r4 = i0.ɵɵnextContext(2);
34
- i0.ɵɵadvance(2);
35
- i0.ɵɵproperty("icon", ctx_r4.kendoSVGIcon("arrowRotateCcwSmall"));
36
30
  } }
37
31
  function QueryGridComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
38
32
  const _r8 = i0.ɵɵgetCurrentView();
39
33
  i0.ɵɵelementStart(0, "button", 7);
40
34
  i0.ɵɵlistener("click", function QueryGridComponent_ng_template_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.doExcelExport()); });
41
- i0.ɵɵelement(1, "kendo-svgicon", 8);
42
- i0.ɵɵtext(2, "Export to Excel");
35
+ i0.ɵɵelement(1, "span", 8);
36
+ i0.ɵɵtext(2, "Export to Excel ");
43
37
  i0.ɵɵelementEnd();
44
- i0.ɵɵtemplate(3, QueryGridComponent_ng_template_3_button_3_Template, 3, 1, "button", 9);
38
+ i0.ɵɵtemplate(3, QueryGridComponent_ng_template_3_button_3_Template, 3, 0, "button", 9);
45
39
  } if (rf & 2) {
46
40
  const ctx_r1 = i0.ɵɵnextContext();
47
- i0.ɵɵadvance();
48
- i0.ɵɵproperty("icon", ctx_r1.kendoSVGIcon("fileExcel"));
49
- i0.ɵɵadvance(2);
41
+ i0.ɵɵadvance(3);
50
42
  i0.ɵɵproperty("ngIf", ctx_r1.showRefreshButton);
51
43
  } }
52
44
  function QueryGridComponent_kendo_excelexport_column_6_Template(rf, ctx) { if (rf & 1) {
53
- i0.ɵɵelement(0, "kendo-excelexport-column", 11);
45
+ i0.ɵɵelement(0, "kendo-excelexport-column", 12);
54
46
  } if (rf & 2) {
55
47
  const exportCol_r9 = ctx.$implicit;
56
48
  i0.ɵɵproperty("field", exportCol_r9)("title", exportCol_r9);
@@ -94,7 +86,6 @@ export class QueryGridComponent {
94
86
  this._allowLoad = true;
95
87
  // Export Functionality
96
88
  this.exportData = [];
97
- this.kendoSVGIcon = kendoSVGIcon;
98
89
  }
99
90
  CreateSimpleNotification(message, style, duration) {
100
91
  const data = {
@@ -217,12 +208,12 @@ QueryGridComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryGri
217
208
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.kendoGridElement = _t.first);
218
209
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.kendoGridElementRef = _t.first);
219
210
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.kendoExcelExport = _t.first);
220
- } }, 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, "resizable", "data", "skip", "pageSize", "rowHeight", "loading", "height", "sortable", "reorderable", "selectable", "selectedKeys", "pageChange", "selectedKeysChange", "cellClick"], ["kendoGrid", ""], ["kendoGridToolbarTemplate", ""], [3, "data", "fileName"], ["excelExport", ""], [3, "field", "title", 4, "ngFor", "ngForOf"], ["fillMode", "outline", "themeColor", "info", "kendoButton", "", 3, "click"], [3, "icon"], ["kendoButton", "", "themeColor", "info", 3, "click", 4, "ngIf"], ["kendoButton", "", "themeColor", "info", 3, "click"], [3, "field", "title"]], template: function QueryGridComponent_Template(rf, ctx) { if (rf & 1) {
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, "resizable", "data", "skip", "pageSize", "rowHeight", "loading", "height", "sortable", "reorderable", "selectable", "selectedKeys", "pageChange", "selectedKeysChange", "cellClick"], ["kendoGrid", ""], ["kendoGridToolbarTemplate", ""], [3, "data", "fileName"], ["excelExport", ""], [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) {
221
212
  i0.ɵɵelementStart(0, "div", 0)(1, "kendo-grid", 1, 2);
222
213
  i0.ɵɵlistener("pageChange", function QueryGridComponent_Template_kendo_grid_pageChange_1_listener($event) { return ctx.pageChange($event); });
223
214
  i0.ɵɵtwoWayListener("selectedKeysChange", function QueryGridComponent_Template_kendo_grid_selectedKeysChange_1_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.selectedKeys, $event) || (ctx.selectedKeys = $event); return $event; });
224
215
  i0.ɵɵlistener("cellClick", function QueryGridComponent_Template_kendo_grid_cellClick_1_listener($event) { return ctx.cellClickHandler($event); });
225
- i0.ɵɵtemplate(3, QueryGridComponent_ng_template_3_Template, 4, 2, "ng-template", 3);
216
+ i0.ɵɵtemplate(3, QueryGridComponent_ng_template_3_Template, 4, 1, "ng-template", 3);
226
217
  i0.ɵɵelementStart(4, "kendo-excelexport", 4, 5);
227
218
  i0.ɵɵtemplate(6, QueryGridComponent_kendo_excelexport_column_6_Template, 1, 2, "kendo-excelexport-column", 6);
228
219
  i0.ɵɵelementEnd()()();
@@ -234,10 +225,10 @@ QueryGridComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryGri
234
225
  i0.ɵɵproperty("data", ctx.exportData)("fileName", (ctx.Params == null ? null : ctx.Params.QueryID) + "_Query.xlsx");
235
226
  i0.ɵɵadvance(2);
236
227
  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%] {\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}"] });
228
+ } }, dependencies: [i1.NgForOf, i1.NgIf, i2.GridComponent, i2.ToolbarTemplateDirective, i2.SelectionDirective, i3.ExcelExportComponent, i3.ColumnComponent, i4.FillContainer, i5.ButtonComponent], 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
229
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryGridComponent, [{
239
230
  type: Component,
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} "] }]
231
+ 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()\" >\n <span class=\"fa-regular fa-file-excel\"></span>Export to Excel\n </button>\n <button\n kendoButton\n \n themeColor=\"info\"\n *ngIf=\"showRefreshButton\"\n (click)=\"RefreshFromSavedParams()\" >\n Refresh\n <span class=\"fa-solid fa-arrow-rotate-left\"></span>\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
232
  }], () => [], { Params: [{
242
233
  type: Input
243
234
  }], BottomMargin: [{
@@ -262,4 +253,4 @@ QueryGridComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryGri
262
253
  }], AllowLoad: [{
263
254
  type: Input
264
255
  }] }); })();
265
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryGridComponent, { className: "QueryGridComponent", filePath: "src/lib/ng-query-grid.component.ts", lineNumber: 24 }); })();
256
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryGridComponent, { className: "QueryGridComponent", filePath: "src/lib/ng-query-grid.component.ts", lineNumber: 21 }); })();
@@ -7,10 +7,9 @@ import * as i5 from "@progress/kendo-angular-excel-export";
7
7
  import * as i6 from "@memberjunction/ng-compare-records";
8
8
  import * as i7 from "@memberjunction/ng-container-directives";
9
9
  import * as i8 from "@progress/kendo-angular-buttons";
10
- import * as i9 from "@progress/kendo-angular-icons";
11
10
  export declare class QueryGridModule {
12
11
  static ɵfac: i0.ɵɵFactoryDeclaration<QueryGridModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<QueryGridModule, [typeof i1.QueryGridComponent], [typeof i2.CommonModule, typeof i3.GridModule, typeof i4.DialogsModule, typeof i5.ExcelExportModule, typeof i6.CompareRecordsModule, typeof i7.ContainerDirectivesModule, typeof i8.ButtonsModule, typeof i9.IconsModule], [typeof i1.QueryGridComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QueryGridModule, [typeof i1.QueryGridComponent], [typeof i2.CommonModule, typeof i3.GridModule, typeof i4.DialogsModule, typeof i5.ExcelExportModule, typeof i6.CompareRecordsModule, typeof i7.ContainerDirectivesModule, typeof i8.ButtonsModule], [typeof i1.QueryGridComponent]>;
14
13
  static ɵinj: i0.ɵɵInjectorDeclaration<QueryGridModule>;
15
14
  }
16
15
  //# sourceMappingURL=ng-query-grid.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-query-grid.module.d.ts","sourceRoot":"","sources":["../../src/lib/ng-query-grid.module.ts"],"names":[],"mappings":";;;;;;;;;;AAcA,qBAkBa,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAI"}
1
+ {"version":3,"file":"ng-query-grid.module.d.ts","sourceRoot":"","sources":["../../src/lib/ng-query-grid.module.ts"],"names":[],"mappings":";;;;;;;;;AAaA,qBAiBa,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAI"}
@@ -6,7 +6,6 @@ import { GridModule } from '@progress/kendo-angular-grid';
6
6
  import { ExcelExportModule } from '@progress/kendo-angular-excel-export';
7
7
  import { DialogsModule } from "@progress/kendo-angular-dialog";
8
8
  import { ButtonsModule } from '@progress/kendo-angular-buttons';
9
- import { IconsModule } from '@progress/kendo-angular-icons';
10
9
  import { CompareRecordsModule } from '@memberjunction/ng-compare-records';
11
10
  import { ContainerDirectivesModule } from '@memberjunction/ng-container-directives';
12
11
  import * as i0 from "@angular/core";
@@ -20,8 +19,7 @@ QueryGridModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonMo
20
19
  ExcelExportModule,
21
20
  CompareRecordsModule,
22
21
  ContainerDirectivesModule,
23
- ButtonsModule,
24
- IconsModule] });
22
+ ButtonsModule] });
25
23
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryGridModule, [{
26
24
  type: NgModule,
27
25
  args: [{
@@ -35,8 +33,7 @@ QueryGridModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonMo
35
33
  ExcelExportModule,
36
34
  CompareRecordsModule,
37
35
  ContainerDirectivesModule,
38
- ButtonsModule,
39
- IconsModule
36
+ ButtonsModule
40
37
  ],
41
38
  exports: [
42
39
  QueryGridComponent
@@ -49,5 +46,4 @@ QueryGridModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonMo
49
46
  ExcelExportModule,
50
47
  CompareRecordsModule,
51
48
  ContainerDirectivesModule,
52
- ButtonsModule,
53
- IconsModule], exports: [QueryGridComponent] }); })();
49
+ ButtonsModule], exports: [QueryGridComponent] }); })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-query-grid",
3
- "version": "1.0.8",
3
+ "version": "1.0.11",
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",
@@ -28,11 +28,11 @@
28
28
  "@progress/kendo-angular-dialog": "~15.1.0"
29
29
  },
30
30
  "dependencies": {
31
- "@memberjunction/core-entities": "^1.0.8",
32
- "@memberjunction/global": "^1.0.8",
33
- "@memberjunction/core": "^1.0.8",
34
- "@memberjunction/ng-container-directives": "^1.0.8",
35
- "@memberjunction/ng-shared": "^1.0.8",
31
+ "@memberjunction/core-entities": "^1.0.11",
32
+ "@memberjunction/global": "^1.0.11",
33
+ "@memberjunction/core": "^1.0.11",
34
+ "@memberjunction/ng-container-directives": "^1.0.11",
35
+ "@memberjunction/ng-shared": "^1.0.11",
36
36
  "tslib": "^2.3.0"
37
37
  },
38
38
  "sideEffects": false