@memberjunction/ng-entity-form-dialog 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.
|
@@ -18,16 +18,16 @@ import * as i3 from "@progress/kendo-angular-buttons";
|
|
|
18
18
|
const _c0 = ["dynamicFormContainer"];
|
|
19
19
|
function EntityFormDialogComponent_kendo_dialog_0_ng_template_1_Template(rf, ctx) { }
|
|
20
20
|
function EntityFormDialogComponent_kendo_dialog_0_kendo_dialog_actions_3_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
-
const
|
|
21
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
22
22
|
i0.ɵɵelementStart(0, "button", 6);
|
|
23
|
-
i0.ɵɵlistener("click", function EntityFormDialogComponent_kendo_dialog_0_kendo_dialog_actions_3_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
23
|
+
i0.ɵɵlistener("click", function EntityFormDialogComponent_kendo_dialog_0_kendo_dialog_actions_3_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.CloseWindow("Save")); });
|
|
24
24
|
i0.ɵɵtext(1, "Save");
|
|
25
25
|
i0.ɵɵelementEnd();
|
|
26
26
|
} }
|
|
27
27
|
function EntityFormDialogComponent_kendo_dialog_0_kendo_dialog_actions_3_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
-
const
|
|
28
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
29
29
|
i0.ɵɵelementStart(0, "button", 7);
|
|
30
|
-
i0.ɵɵlistener("click", function EntityFormDialogComponent_kendo_dialog_0_kendo_dialog_actions_3_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
30
|
+
i0.ɵɵlistener("click", function EntityFormDialogComponent_kendo_dialog_0_kendo_dialog_actions_3_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.CloseWindow("Cancel")); });
|
|
31
31
|
i0.ɵɵtext(1, "Cancel");
|
|
32
32
|
i0.ɵɵelementEnd();
|
|
33
33
|
} }
|
|
@@ -36,23 +36,23 @@ function EntityFormDialogComponent_kendo_dialog_0_kendo_dialog_actions_3_Templat
|
|
|
36
36
|
i0.ɵɵtemplate(1, EntityFormDialogComponent_kendo_dialog_0_kendo_dialog_actions_3_button_1_Template, 2, 0, "button", 4)(2, EntityFormDialogComponent_kendo_dialog_0_kendo_dialog_actions_3_button_2_Template, 2, 0, "button", 5);
|
|
37
37
|
i0.ɵɵelementEnd();
|
|
38
38
|
} if (rf & 2) {
|
|
39
|
-
const
|
|
39
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
40
40
|
i0.ɵɵadvance();
|
|
41
|
-
i0.ɵɵproperty("ngIf",
|
|
41
|
+
i0.ɵɵproperty("ngIf", ctx_r1.ShowSaveButton);
|
|
42
42
|
i0.ɵɵadvance();
|
|
43
|
-
i0.ɵɵproperty("ngIf",
|
|
43
|
+
i0.ɵɵproperty("ngIf", ctx_r1.ShowCancelButton);
|
|
44
44
|
} }
|
|
45
45
|
function EntityFormDialogComponent_kendo_dialog_0_Template(rf, ctx) { if (rf & 1) {
|
|
46
|
-
const
|
|
47
|
-
i0.ɵɵelementStart(0, "kendo-dialog",
|
|
48
|
-
i0.ɵɵlistener("close", function EntityFormDialogComponent_kendo_dialog_0_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(
|
|
49
|
-
i0.ɵɵtemplate(1, EntityFormDialogComponent_kendo_dialog_0_ng_template_1_Template, 0, 0, "ng-template", null,
|
|
46
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
47
|
+
i0.ɵɵelementStart(0, "kendo-dialog", 2);
|
|
48
|
+
i0.ɵɵlistener("close", function EntityFormDialogComponent_kendo_dialog_0_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.CloseWindow("Cancel")); });
|
|
49
|
+
i0.ɵɵtemplate(1, EntityFormDialogComponent_kendo_dialog_0_ng_template_1_Template, 0, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(3, EntityFormDialogComponent_kendo_dialog_0_kendo_dialog_actions_3_Template, 3, 2, "kendo-dialog-actions", 3);
|
|
50
50
|
i0.ɵɵelementEnd();
|
|
51
51
|
} if (rf & 2) {
|
|
52
|
-
const
|
|
53
|
-
i0.ɵɵproperty("title",
|
|
52
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
53
|
+
i0.ɵɵproperty("title", ctx_r1.Title)("width", ctx_r1.Width)("height", ctx_r1.Height);
|
|
54
54
|
i0.ɵɵadvance(3);
|
|
55
|
-
i0.ɵɵproperty("ngIf",
|
|
55
|
+
i0.ɵɵproperty("ngIf", ctx_r1.ShowSaveButton || ctx_r1.ShowCancelButton);
|
|
56
56
|
} }
|
|
57
57
|
/**
|
|
58
58
|
* This dialog will display the form for a given entity. Using the configuration settings you can display the entire form
|
|
@@ -187,8 +187,8 @@ EntityFormDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: E
|
|
|
187
187
|
} if (rf & 2) {
|
|
188
188
|
let _t;
|
|
189
189
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
|
|
190
|
-
} }, inputs: { Title: "Title", ShowSaveButton: "ShowSaveButton", ShowCancelButton: "ShowCancelButton", Width: "Width", Height: "Height", Mode: "Mode", SectionName: "SectionName", Record: "Record", HandleSave: "HandleSave", AutoRevertOnCancel: "AutoRevertOnCancel", Visible: "Visible" }, outputs: { DialogClosed: "DialogClosed" }, decls: 1, vars: 1, consts: [[3, "title", "width", "height", "close", 4, "ngIf"], [3, "
|
|
191
|
-
i0.ɵɵtemplate(0, EntityFormDialogComponent_kendo_dialog_0_Template, 4, 4, "kendo-dialog",
|
|
190
|
+
} }, inputs: { Title: "Title", ShowSaveButton: "ShowSaveButton", ShowCancelButton: "ShowCancelButton", Width: "Width", Height: "Height", Mode: "Mode", SectionName: "SectionName", Record: "Record", HandleSave: "HandleSave", AutoRevertOnCancel: "AutoRevertOnCancel", Visible: "Visible" }, outputs: { DialogClosed: "DialogClosed" }, decls: 1, vars: 1, consts: [["dynamicFormContainer", ""], [3, "title", "width", "height", "close", 4, "ngIf"], [3, "close", "title", "width", "height"], [4, "ngIf"], ["kendoButton", "", "themeColor", "primary", 3, "click", 4, "ngIf"], ["kendoButton", "", 3, "click", 4, "ngIf"], ["kendoButton", "", "themeColor", "primary", 3, "click"], ["kendoButton", "", 3, "click"]], template: function EntityFormDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
191
|
+
i0.ɵɵtemplate(0, EntityFormDialogComponent_kendo_dialog_0_Template, 4, 4, "kendo-dialog", 1);
|
|
192
192
|
} if (rf & 2) {
|
|
193
193
|
i0.ɵɵproperty("ngIf", ctx.Visible);
|
|
194
194
|
} }, dependencies: [i1.NgIf, i2.DialogComponent, i2.DialogActionsComponent, i3.ButtonComponent] });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-entity-form-dialog",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "MemberJunction: Dialog component that is able to display a form for display and/or editing for any record from any entity in MemberJunction.",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -15,24 +15,24 @@
|
|
|
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": "
|
|
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
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@memberjunction/core-entities": "
|
|
29
|
-
"@memberjunction/global": "
|
|
30
|
-
"@memberjunction/core": "
|
|
31
|
-
"@memberjunction/ng-container-directives": "
|
|
32
|
-
"@memberjunction/ng-shared": "
|
|
33
|
-
"@memberjunction/ng-base-forms": "
|
|
34
|
-
"@progress/kendo-angular-buttons": "
|
|
35
|
-
"@progress/kendo-angular-dialog": "
|
|
28
|
+
"@memberjunction/core-entities": "1.5.3",
|
|
29
|
+
"@memberjunction/global": "1.5.3",
|
|
30
|
+
"@memberjunction/core": "1.5.3",
|
|
31
|
+
"@memberjunction/ng-container-directives": "1.5.3",
|
|
32
|
+
"@memberjunction/ng-shared": "1.5.3",
|
|
33
|
+
"@memberjunction/ng-base-forms": "1.5.3",
|
|
34
|
+
"@progress/kendo-angular-buttons": "16.2.0",
|
|
35
|
+
"@progress/kendo-angular-dialog": "16.2.0",
|
|
36
36
|
"tslib": "^2.3.0"
|
|
37
37
|
},
|
|
38
38
|
"sideEffects": false
|