@memberjunction/ng-data-context 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.
|
@@ -14,11 +14,12 @@ export class DataContextDialogComponent {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
DataContextDialogComponent.ɵfac = function DataContextDialogComponent_Factory(t) { return new (t || DataContextDialogComponent)(); };
|
|
17
|
-
DataContextDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DataContextDialogComponent, selectors: [["mj-data-context-dialog"]], inputs: { dataContextId: "dataContextId" }, outputs: { dialogClosed: "dialogClosed" }, decls: 5, vars: 6, consts: [["recordChangesWrapper", ""], [1, "k-overlay"], ["title", "Data Context", 1, "kendo-window-custom", 3, "width", "height", "minHeight", "minWidth", "resizable"
|
|
17
|
+
DataContextDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DataContextDialogComponent, selectors: [["mj-data-context-dialog"]], inputs: { dataContextId: "dataContextId" }, outputs: { dialogClosed: "dialogClosed" }, decls: 5, vars: 6, consts: [["recordChangesWrapper", ""], [1, "k-overlay"], ["title", "Data Context", 1, "kendo-window-custom", 3, "close", "width", "height", "minHeight", "minWidth", "resizable"], [3, "dataContextId"]], template: function DataContextDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
18
19
|
i0.ɵɵelementStart(0, "div", null, 0);
|
|
19
20
|
i0.ɵɵelement(2, "div", 1);
|
|
20
21
|
i0.ɵɵelementStart(3, "kendo-window", 2);
|
|
21
|
-
i0.ɵɵlistener("close", function DataContextDialogComponent_Template_kendo_window_close_3_listener() { return ctx.closePropertiesDialog(); });
|
|
22
|
+
i0.ɵɵlistener("close", function DataContextDialogComponent_Template_kendo_window_close_3_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.closePropertiesDialog()); });
|
|
22
23
|
i0.ɵɵelement(4, "mj-data-context", 3);
|
|
23
24
|
i0.ɵɵelementEnd()();
|
|
24
25
|
} if (rf & 2) {
|
|
@@ -14,7 +14,7 @@ import * as i1 from "@angular/common";
|
|
|
14
14
|
import * as i2 from "@progress/kendo-angular-grid";
|
|
15
15
|
import * as i3 from "@progress/kendo-angular-indicators";
|
|
16
16
|
function DataContextComponent_kendo_loader_2_Template(rf, ctx) { if (rf & 1) {
|
|
17
|
-
i0.ɵɵelement(0, "kendo-loader",
|
|
17
|
+
i0.ɵɵelement(0, "kendo-loader", 4);
|
|
18
18
|
} }
|
|
19
19
|
function DataContextComponent_div_3_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
20
20
|
i0.ɵɵelementStart(0, "div")(1, "div");
|
|
@@ -27,16 +27,16 @@ function DataContextComponent_div_3_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
27
27
|
i0.ɵɵtext(6);
|
|
28
28
|
i0.ɵɵelementEnd()();
|
|
29
29
|
} if (rf & 2) {
|
|
30
|
-
const
|
|
30
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
31
31
|
i0.ɵɵadvance(2);
|
|
32
|
-
i0.ɵɵtextInterpolate1(" ID: ",
|
|
32
|
+
i0.ɵɵtextInterpolate1(" ID: ", ctx_r0.dataContextRecord.ID, " ");
|
|
33
33
|
i0.ɵɵadvance(2);
|
|
34
|
-
i0.ɵɵtextInterpolate1(" Name: ",
|
|
34
|
+
i0.ɵɵtextInterpolate1(" Name: ", ctx_r0.dataContextRecord.Name, " ");
|
|
35
35
|
i0.ɵɵadvance(2);
|
|
36
|
-
i0.ɵɵtextInterpolate1(" Description: ",
|
|
36
|
+
i0.ɵɵtextInterpolate1(" Description: ", ctx_r0.dataContextRecord.Description, " ");
|
|
37
37
|
} }
|
|
38
38
|
function DataContextComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
-
i0.ɵɵelementStart(0, "div",
|
|
39
|
+
i0.ɵɵelementStart(0, "div", 5, 1);
|
|
40
40
|
i0.ɵɵtemplate(2, DataContextComponent_div_3_div_2_Template, 7, 3, "div", 6);
|
|
41
41
|
i0.ɵɵelementStart(3, "div", 7)(4, "b");
|
|
42
42
|
i0.ɵɵtext(5, "Items");
|
|
@@ -45,11 +45,11 @@ function DataContextComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
45
45
|
i0.ɵɵelement(7, "kendo-grid", 9);
|
|
46
46
|
i0.ɵɵelementEnd()();
|
|
47
47
|
} if (rf & 2) {
|
|
48
|
-
const
|
|
48
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
49
49
|
i0.ɵɵadvance(2);
|
|
50
|
-
i0.ɵɵproperty("ngIf",
|
|
50
|
+
i0.ɵɵproperty("ngIf", ctx_r0.dataContextRecord);
|
|
51
51
|
i0.ɵɵadvance(5);
|
|
52
|
-
i0.ɵɵproperty("kendoGridBinding",
|
|
52
|
+
i0.ɵɵproperty("kendoGridBinding", ctx_r0.dataContextItems)("pageSize", 100)("sortable", true)("loading", ctx_r0.showloader)("resizable", true)("navigable", true);
|
|
53
53
|
} }
|
|
54
54
|
export class DataContextComponent {
|
|
55
55
|
constructor() {
|
|
@@ -87,9 +87,9 @@ export class DataContextComponent {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
DataContextComponent.ɵfac = function DataContextComponent_Factory(t) { return new (t || DataContextComponent)(); };
|
|
90
|
-
DataContextComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DataContextComponent, selectors: [["mj-data-context"]], inputs: { dataContextId: "dataContextId" }, decls: 4, vars: 2, consts: [["wrapper", ""], ["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"], [
|
|
90
|
+
DataContextComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DataContextComponent, selectors: [["mj-data-context"]], inputs: { dataContextId: "dataContextId" }, decls: 4, vars: 2, consts: [["wrapper", ""], ["dialogContainer", ""], ["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"], [4, "ngIf"], [2, "margin-top", "10px"], [1, "kendo-grid-container"], ["scrollable", "virtual", 3, "kendoGridBinding", "pageSize", "sortable", "loading", "resizable", "navigable"]], template: function DataContextComponent_Template(rf, ctx) { if (rf & 1) {
|
|
91
91
|
i0.ɵɵelementStart(0, "div", null, 0);
|
|
92
|
-
i0.ɵɵtemplate(2, DataContextComponent_kendo_loader_2_Template, 1, 0, "kendo-loader",
|
|
92
|
+
i0.ɵɵtemplate(2, DataContextComponent_kendo_loader_2_Template, 1, 0, "kendo-loader", 2)(3, DataContextComponent_div_3_Template, 8, 7, "div", 3);
|
|
93
93
|
i0.ɵɵelementEnd();
|
|
94
94
|
} if (rf & 2) {
|
|
95
95
|
i0.ɵɵadvance(2);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-data-context",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "MemberJunction: Angular component and pop-up window to display and edit the contents of a data context.",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -15,21 +15,21 @@
|
|
|
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": "
|
|
30
|
+
"@memberjunction/core": "1.5.3",
|
|
31
|
+
"@memberjunction/global": "1.5.3",
|
|
32
|
+
"@memberjunction/ng-compare-records": "1.5.3",
|
|
33
33
|
"tslib": "^2.3.0"
|
|
34
34
|
},
|
|
35
35
|
"sideEffects": false
|