@memberjunction/ng-record-changes 1.5.2 → 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-record-changes.component.js +20 -19
- package/package.json +13 -13
|
@@ -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",
|
|
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
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
i0.ɵɵproperty("innerHTML",
|
|
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
|
|
37
|
-
i0.ɵɵpropertyInterpolate("field",
|
|
38
|
-
i0.ɵɵpropertyInterpolate("title",
|
|
39
|
-
i0.ɵɵproperty("width",
|
|
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",
|
|
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
|
|
46
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
47
47
|
i0.ɵɵadvance(3);
|
|
48
|
-
i0.ɵɵproperty("kendoGridBinding",
|
|
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",
|
|
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"
|
|
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",
|
|
192
|
-
i0.ɵɵelementStart(3, "kendo-window",
|
|
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",
|
|
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.
|
|
3
|
+
"version": "1.5.3",
|
|
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": "
|
|
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-indicators": "
|
|
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": "
|
|
31
|
-
"@memberjunction/global": "
|
|
32
|
-
"@memberjunction/ng-compare-records": "
|
|
33
|
-
"@memberjunction/ng-container-directives": "
|
|
30
|
+
"@memberjunction/core": "1.5.3",
|
|
31
|
+
"@memberjunction/global": "1.5.3",
|
|
32
|
+
"@memberjunction/ng-compare-records": "1.5.3",
|
|
33
|
+
"@memberjunction/ng-container-directives": "1.5.3",
|
|
34
34
|
"tslib": "^2.3.0"
|
|
35
35
|
},
|
|
36
36
|
"sideEffects": false
|