@memberjunction/ng-record-changes 1.5.2 → 1.6.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.
@@ -16,38 +16,38 @@ import * as i3 from "@progress/kendo-angular-grid";
16
16
  import * as i4 from "@progress/kendo-angular-dialog";
17
17
  import * as i5 from "@progress/kendo-angular-indicators";
18
18
  const _c0 = ["recordChangesWrapper"];
19
+ const _c1 = () => ({ "font-weight": "bold", "background-color": "#a9c2af" });
19
20
  function RecordChangesComponent_kendo_loader_4_Template(rf, ctx) { if (rf & 1) {
20
- i0.ɵɵelement(0, "kendo-loader", 5);
21
+ i0.ɵɵelement(0, "kendo-loader", 6);
21
22
  } }
22
23
  function RecordChangesComponent_div_5_kendo_grid_column_4_ng_template_1_Template(rf, ctx) { if (rf & 1) {
23
24
  i0.ɵɵelement(0, "span", 13);
24
25
  } if (rf & 2) {
25
- const dataItem_r8 = ctx.$implicit;
26
- const item_r5 = i0.ɵɵnextContext().$implicit;
27
- const ctx_r7 = i0.ɵɵnextContext(2);
28
- i0.ɵɵproperty("innerHTML", ctx_r7.FormatColumnValue(item_r5, dataItem_r8[item_r5.field], dataItem_r8), i0.ɵɵsanitizeHtml);
26
+ const dataItem_r2 = ctx.$implicit;
27
+ const item_r3 = i0.ɵɵnextContext().$implicit;
28
+ const ctx_r3 = i0.ɵɵnextContext(2);
29
+ i0.ɵɵproperty("innerHTML", ctx_r3.FormatColumnValue(item_r3, dataItem_r2[item_r3.field], dataItem_r2), i0.ɵɵsanitizeHtml);
29
30
  } }
30
- const _c1 = () => ({ "font-weight": "bold", "background-color": "#a9c2af" });
31
31
  function RecordChangesComponent_div_5_kendo_grid_column_4_Template(rf, ctx) { if (rf & 1) {
32
32
  i0.ɵɵelementStart(0, "kendo-grid-column", 11);
33
33
  i0.ɵɵtemplate(1, RecordChangesComponent_div_5_kendo_grid_column_4_ng_template_1_Template, 1, 1, "ng-template", 12);
34
34
  i0.ɵɵelementEnd();
35
35
  } if (rf & 2) {
36
- const item_r5 = ctx.$implicit;
37
- i0.ɵɵpropertyInterpolate("field", item_r5.field);
38
- i0.ɵɵpropertyInterpolate("title", item_r5.title);
39
- i0.ɵɵproperty("width", item_r5.width)("headerStyle", i0.ɵɵpureFunction0(4, _c1));
36
+ const item_r3 = ctx.$implicit;
37
+ i0.ɵɵpropertyInterpolate("field", item_r3.field);
38
+ i0.ɵɵpropertyInterpolate("title", item_r3.title);
39
+ i0.ɵɵproperty("width", item_r3.width)("headerStyle", i0.ɵɵpureFunction0(4, _c1));
40
40
  } }
41
41
  function RecordChangesComponent_div_5_Template(rf, ctx) { if (rf & 1) {
42
- i0.ɵɵelementStart(0, "div", 6, 7)(2, "div", 8)(3, "kendo-grid", 9);
42
+ i0.ɵɵelementStart(0, "div", 7, 1)(2, "div", 8)(3, "kendo-grid", 9);
43
43
  i0.ɵɵtemplate(4, RecordChangesComponent_div_5_kendo_grid_column_4_Template, 2, 5, "kendo-grid-column", 10);
44
44
  i0.ɵɵelementEnd()()();
45
45
  } if (rf & 2) {
46
- const ctx_r2 = i0.ɵɵnextContext();
46
+ const ctx_r3 = i0.ɵɵnextContext();
47
47
  i0.ɵɵadvance(3);
48
- i0.ɵɵproperty("kendoGridBinding", ctx_r2.viewData)("pageSize", 100)("sortable", true)("sort", ctx_r2.sortSettings)("loading", ctx_r2.showloader)("resizable", true)("navigable", true);
48
+ i0.ɵɵproperty("kendoGridBinding", ctx_r3.viewData)("pageSize", 100)("sortable", true)("sort", ctx_r3.sortSettings)("loading", ctx_r3.showloader)("resizable", true)("navigable", true);
49
49
  i0.ɵɵadvance();
50
- i0.ɵɵproperty("ngForOf", ctx_r2.visibleColumns);
50
+ i0.ɵɵproperty("ngForOf", ctx_r3.visibleColumns);
51
51
  } }
52
52
  export class RecordChangesComponent {
53
53
  constructor(sanitizer, renderer) {
@@ -186,12 +186,13 @@ RecordChangesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Reco
186
186
  } if (rf & 2) {
187
187
  let _t;
188
188
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.wrapper = _t.first);
189
- } }, inputs: { record: "record" }, outputs: { dialogClosed: "dialogClosed" }, decls: 6, vars: 7, consts: [["recordChangesWrapper", ""], [1, "k-overlay"], ["title", "Record Changes", 1, "kendo-window-custom", 3, "width", "height", "minHeight", "minWidth", "resizable", "close"], ["type", "converging-spinner", 4, "ngIf"], ["class", "k-d-flex k-flex-col k-justify-content-between k-h-full", 4, "ngIf"], ["type", "converging-spinner"], [1, "k-d-flex", "k-flex-col", "k-justify-content-between", "k-h-full"], ["dialogContainer", ""], [1, "kendo-grid-container"], ["scrollable", "virtual", 3, "kendoGridBinding", "pageSize", "sortable", "sort", "loading", "resizable", "navigable"], [3, "field", "title", "width", "headerStyle", 4, "ngFor", "ngForOf"], [3, "field", "title", "width", "headerStyle"], ["kendoGridCellTemplate", ""], [3, "innerHTML"]], template: function RecordChangesComponent_Template(rf, ctx) { if (rf & 1) {
189
+ } }, inputs: { record: "record" }, outputs: { dialogClosed: "dialogClosed" }, decls: 6, vars: 7, consts: [["recordChangesWrapper", ""], ["dialogContainer", ""], [1, "k-overlay"], ["title", "Record Changes", 1, "kendo-window-custom", 3, "close", "width", "height", "minHeight", "minWidth", "resizable"], ["type", "converging-spinner", 4, "ngIf"], ["class", "k-d-flex k-flex-col k-justify-content-between k-h-full", 4, "ngIf"], ["type", "converging-spinner"], [1, "k-d-flex", "k-flex-col", "k-justify-content-between", "k-h-full"], [1, "kendo-grid-container"], ["scrollable", "virtual", 3, "kendoGridBinding", "pageSize", "sortable", "sort", "loading", "resizable", "navigable"], [3, "field", "title", "width", "headerStyle", 4, "ngFor", "ngForOf"], [3, "field", "title", "width", "headerStyle"], ["kendoGridCellTemplate", ""], [3, "innerHTML"]], template: function RecordChangesComponent_Template(rf, ctx) { if (rf & 1) {
190
+ const _r1 = i0.ɵɵgetCurrentView();
190
191
  i0.ɵɵelementStart(0, "div", null, 0);
191
- i0.ɵɵelement(2, "div", 1);
192
- i0.ɵɵelementStart(3, "kendo-window", 2);
193
- i0.ɵɵlistener("close", function RecordChangesComponent_Template_kendo_window_close_3_listener() { return ctx.closePropertiesDialog(); });
194
- i0.ɵɵtemplate(4, RecordChangesComponent_kendo_loader_4_Template, 1, 0, "kendo-loader", 3)(5, RecordChangesComponent_div_5_Template, 5, 8, "div", 4);
192
+ i0.ɵɵelement(2, "div", 2);
193
+ i0.ɵɵelementStart(3, "kendo-window", 3);
194
+ i0.ɵɵlistener("close", function RecordChangesComponent_Template_kendo_window_close_3_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.closePropertiesDialog()); });
195
+ i0.ɵɵtemplate(4, RecordChangesComponent_kendo_loader_4_Template, 1, 0, "kendo-loader", 4)(5, RecordChangesComponent_div_5_Template, 5, 8, "div", 5);
195
196
  i0.ɵɵelementEnd()();
196
197
  } if (rf & 2) {
197
198
  i0.ɵɵadvance(3);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-record-changes",
3
- "version": "1.5.2",
3
+ "version": "1.6.0",
4
4
  "description": "MemberJunction: Angular pop-up window and grid to show changes made to a specific individual record",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -15,22 +15,22 @@
15
15
  "author": "",
16
16
  "license": "ISC",
17
17
  "devDependencies": {
18
- "@angular/compiler": "~17.2.2",
19
- "@angular/compiler-cli": "~17.2.2"
18
+ "@angular/compiler": "18.0.2",
19
+ "@angular/compiler-cli": "18.0.2"
20
20
  },
21
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-indicators": "~15.1.0"
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-indicators": "16.2.0"
28
28
  },
29
29
  "dependencies": {
30
- "@memberjunction/core": "~1.5.2",
31
- "@memberjunction/global": "~1.5.2",
32
- "@memberjunction/ng-compare-records": "~1.5.2",
33
- "@memberjunction/ng-container-directives": "~1.5.2",
30
+ "@memberjunction/core": "1.6.0",
31
+ "@memberjunction/global": "1.6.0",
32
+ "@memberjunction/ng-compare-records": "1.6.0",
33
+ "@memberjunction/ng-container-directives": "1.6.0",
34
34
  "tslib": "^2.3.0"
35
35
  },
36
36
  "sideEffects": false