@memberjunction/ng-entity-form-dialog 1.4.0 → 1.4.1
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.
|
@@ -1,17 +1,43 @@
|
|
|
1
1
|
import { ViewContainerRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { BaseEntity } from '@memberjunction/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* This dialog will display the form for a given entity. Using the configuration settings you can display the entire form
|
|
6
|
+
* or a specific section of the form. You can also control the visibility of the Save and Cancel buttons, and the behavior
|
|
7
|
+
* of the Save and Cancel buttons.
|
|
8
|
+
*/
|
|
9
|
+
export declare class EntityFormDialogComponent {
|
|
5
10
|
/**
|
|
6
11
|
* The title of the dialog
|
|
7
12
|
*/
|
|
8
13
|
Title: string;
|
|
14
|
+
/**
|
|
15
|
+
* If set to true the Save button will be displayed. If set to false, the Save button will be hidden.
|
|
16
|
+
*/
|
|
9
17
|
ShowSaveButton: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* If set to true the Cancel button will be displayed. If set to false, the Cancel button will be hidden.
|
|
20
|
+
*/
|
|
10
21
|
ShowCancelButton: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Initial width of the dialog
|
|
24
|
+
*/
|
|
11
25
|
Width: number;
|
|
26
|
+
/**
|
|
27
|
+
* Initial height of the dialog
|
|
28
|
+
*/
|
|
12
29
|
Height: number;
|
|
30
|
+
/**
|
|
31
|
+
* When set to complete, the entire form will be displayed. When set to section, only the specified section of the form will be displayed that is specified in the SectionName property.
|
|
32
|
+
*/
|
|
13
33
|
Mode: 'complete' | 'section';
|
|
34
|
+
/**
|
|
35
|
+
* If Mode is set to section, this property will specify the name of the section to display. This property is ignored if Mode is set to complete.
|
|
36
|
+
*/
|
|
14
37
|
SectionName: string;
|
|
38
|
+
/**
|
|
39
|
+
* The record to display in the form. This property is required. The record must be an instance a BaseEntity derived class.
|
|
40
|
+
*/
|
|
15
41
|
Record: BaseEntity | null;
|
|
16
42
|
/**
|
|
17
43
|
* If true, when the user clicks the Save button, the Record will be saved. Only applicable if ShowSaveButton is true.
|
|
@@ -21,13 +47,26 @@ export declare class EntityFormDialog {
|
|
|
21
47
|
* If true, when the user clicks the Cancel button, the Record will be reverted to its original state. Only applicable if ShowCancelButton is true.
|
|
22
48
|
*/
|
|
23
49
|
AutoRevertOnCancel: boolean;
|
|
24
|
-
|
|
50
|
+
/**
|
|
51
|
+
* This event will be emitted when the dialog is closed. The event will contain the status of the dialog, which will be either 'Save' or 'Cancel'.
|
|
52
|
+
*/
|
|
53
|
+
DialogClosed: EventEmitter<'Save' | 'Cancel'>;
|
|
25
54
|
private _visible;
|
|
55
|
+
/**
|
|
56
|
+
* Controls the visibility of the dialog. When set to true, the dialog will be displayed. When set to false, the dialog will be hidden.
|
|
57
|
+
*/
|
|
26
58
|
set Visible(val: boolean);
|
|
27
59
|
get Visible(): boolean;
|
|
28
60
|
container: ViewContainerRef;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
61
|
+
/**
|
|
62
|
+
* This method can be called to show the form.
|
|
63
|
+
*/
|
|
64
|
+
ShowForm(): void;
|
|
65
|
+
/**
|
|
66
|
+
* This method can be called to close the dialog. It will emit the 'close' event with the status of the dialog.
|
|
67
|
+
* @param status
|
|
68
|
+
*/
|
|
69
|
+
CloseWindow(status: 'Save' | 'Cancel'): Promise<void>;
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityFormDialogComponent, never>;
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityFormDialogComponent, "mj-entity-form-dialog", never, { "Title": { "alias": "Title"; "required": false; }; "ShowSaveButton": { "alias": "ShowSaveButton"; "required": false; }; "ShowCancelButton": { "alias": "ShowCancelButton"; "required": false; }; "Width": { "alias": "Width"; "required": false; }; "Height": { "alias": "Height"; "required": false; }; "Mode": { "alias": "Mode"; "required": false; }; "SectionName": { "alias": "SectionName"; "required": false; }; "Record": { "alias": "Record"; "required": false; }; "HandleSave": { "alias": "HandleSave"; "required": false; }; "AutoRevertOnCancel": { "alias": "AutoRevertOnCancel"; "required": false; }; "Visible": { "alias": "Visible"; "required": false; }; }, { "DialogClosed": "DialogClosed"; }, never, never, false, never>;
|
|
33
72
|
}
|
|
@@ -16,24 +16,24 @@ import * as i1 from "@angular/common";
|
|
|
16
16
|
import * as i2 from "@progress/kendo-angular-dialog";
|
|
17
17
|
import * as i3 from "@progress/kendo-angular-buttons";
|
|
18
18
|
const _c0 = ["dynamicFormContainer"];
|
|
19
|
-
function
|
|
20
|
-
function
|
|
19
|
+
function EntityFormDialogComponent_kendo_dialog_0_ng_template_1_Template(rf, ctx) { }
|
|
20
|
+
function EntityFormDialogComponent_kendo_dialog_0_kendo_dialog_actions_3_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
21
21
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
22
22
|
i0.ɵɵelementStart(0, "button", 6);
|
|
23
|
-
i0.ɵɵlistener("click", function
|
|
23
|
+
i0.ɵɵlistener("click", function EntityFormDialogComponent_kendo_dialog_0_kendo_dialog_actions_3_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r6.CloseWindow("Save")); });
|
|
24
24
|
i0.ɵɵtext(1, "Save");
|
|
25
25
|
i0.ɵɵelementEnd();
|
|
26
26
|
} }
|
|
27
|
-
function
|
|
27
|
+
function EntityFormDialogComponent_kendo_dialog_0_kendo_dialog_actions_3_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
28
28
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
29
29
|
i0.ɵɵelementStart(0, "button", 7);
|
|
30
|
-
i0.ɵɵlistener("click", function
|
|
30
|
+
i0.ɵɵlistener("click", function EntityFormDialogComponent_kendo_dialog_0_kendo_dialog_actions_3_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r8.CloseWindow("Cancel")); });
|
|
31
31
|
i0.ɵɵtext(1, "Cancel");
|
|
32
32
|
i0.ɵɵelementEnd();
|
|
33
33
|
} }
|
|
34
|
-
function
|
|
34
|
+
function EntityFormDialogComponent_kendo_dialog_0_kendo_dialog_actions_3_Template(rf, ctx) { if (rf & 1) {
|
|
35
35
|
i0.ɵɵelementStart(0, "kendo-dialog-actions");
|
|
36
|
-
i0.ɵɵtemplate(1,
|
|
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
39
|
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
@@ -42,11 +42,11 @@ function EntityFormDialog_kendo_dialog_0_kendo_dialog_actions_3_Template(rf, ctx
|
|
|
42
42
|
i0.ɵɵadvance();
|
|
43
43
|
i0.ɵɵproperty("ngIf", ctx_r3.ShowCancelButton);
|
|
44
44
|
} }
|
|
45
|
-
function
|
|
45
|
+
function EntityFormDialogComponent_kendo_dialog_0_Template(rf, ctx) { if (rf & 1) {
|
|
46
46
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
47
47
|
i0.ɵɵelementStart(0, "kendo-dialog", 1);
|
|
48
|
-
i0.ɵɵlistener("close", function
|
|
49
|
-
i0.ɵɵtemplate(1,
|
|
48
|
+
i0.ɵɵlistener("close", function EntityFormDialogComponent_kendo_dialog_0_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r10.CloseWindow("Cancel")); });
|
|
49
|
+
i0.ɵɵtemplate(1, EntityFormDialogComponent_kendo_dialog_0_ng_template_1_Template, 0, 0, "ng-template", null, 2, 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
52
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -54,18 +54,44 @@ function EntityFormDialog_kendo_dialog_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
54
54
|
i0.ɵɵadvance(3);
|
|
55
55
|
i0.ɵɵproperty("ngIf", ctx_r0.ShowSaveButton || ctx_r0.ShowCancelButton);
|
|
56
56
|
} }
|
|
57
|
-
|
|
57
|
+
/**
|
|
58
|
+
* This dialog will display the form for a given entity. Using the configuration settings you can display the entire form
|
|
59
|
+
* or a specific section of the form. You can also control the visibility of the Save and Cancel buttons, and the behavior
|
|
60
|
+
* of the Save and Cancel buttons.
|
|
61
|
+
*/
|
|
62
|
+
export class EntityFormDialogComponent {
|
|
58
63
|
constructor() {
|
|
59
64
|
/**
|
|
60
65
|
* The title of the dialog
|
|
61
66
|
*/
|
|
62
67
|
this.Title = '';
|
|
68
|
+
/**
|
|
69
|
+
* If set to true the Save button will be displayed. If set to false, the Save button will be hidden.
|
|
70
|
+
*/
|
|
63
71
|
this.ShowSaveButton = true;
|
|
72
|
+
/**
|
|
73
|
+
* If set to true the Cancel button will be displayed. If set to false, the Cancel button will be hidden.
|
|
74
|
+
*/
|
|
64
75
|
this.ShowCancelButton = true;
|
|
76
|
+
/**
|
|
77
|
+
* Initial width of the dialog
|
|
78
|
+
*/
|
|
65
79
|
this.Width = 800;
|
|
80
|
+
/**
|
|
81
|
+
* Initial height of the dialog
|
|
82
|
+
*/
|
|
66
83
|
this.Height = 600;
|
|
84
|
+
/**
|
|
85
|
+
* When set to complete, the entire form will be displayed. When set to section, only the specified section of the form will be displayed that is specified in the SectionName property.
|
|
86
|
+
*/
|
|
67
87
|
this.Mode = 'complete';
|
|
88
|
+
/**
|
|
89
|
+
* If Mode is set to section, this property will specify the name of the section to display. This property is ignored if Mode is set to complete.
|
|
90
|
+
*/
|
|
68
91
|
this.SectionName = '';
|
|
92
|
+
/**
|
|
93
|
+
* The record to display in the form. This property is required. The record must be an instance a BaseEntity derived class.
|
|
94
|
+
*/
|
|
69
95
|
this.Record = null;
|
|
70
96
|
/**
|
|
71
97
|
* If true, when the user clicks the Save button, the Record will be saved. Only applicable if ShowSaveButton is true.
|
|
@@ -75,23 +101,36 @@ export class EntityFormDialog {
|
|
|
75
101
|
* If true, when the user clicks the Cancel button, the Record will be reverted to its original state. Only applicable if ShowCancelButton is true.
|
|
76
102
|
*/
|
|
77
103
|
this.AutoRevertOnCancel = true;
|
|
78
|
-
|
|
104
|
+
/**
|
|
105
|
+
* This event will be emitted when the dialog is closed. The event will contain the status of the dialog, which will be either 'Save' or 'Cancel'.
|
|
106
|
+
*/
|
|
107
|
+
this.DialogClosed = new EventEmitter();
|
|
79
108
|
this._visible = false;
|
|
80
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* Controls the visibility of the dialog. When set to true, the dialog will be displayed. When set to false, the dialog will be hidden.
|
|
112
|
+
*/
|
|
81
113
|
set Visible(val) {
|
|
82
114
|
this._visible = val;
|
|
83
115
|
if (val) {
|
|
84
116
|
Promise.resolve().then(() => {
|
|
85
117
|
// At this point, the DOM should be updated, and `this.container` should be available.
|
|
86
|
-
this.
|
|
118
|
+
this.ShowForm();
|
|
87
119
|
});
|
|
88
120
|
}
|
|
89
121
|
}
|
|
90
122
|
get Visible() {
|
|
91
123
|
return this._visible;
|
|
92
124
|
}
|
|
93
|
-
|
|
125
|
+
/**
|
|
126
|
+
* This method can be called to show the form.
|
|
127
|
+
*/
|
|
128
|
+
ShowForm() {
|
|
94
129
|
var _a, _b;
|
|
130
|
+
if (!this.Visible) {
|
|
131
|
+
this.Visible = true; // set to visible and bail as the rest will end up calling this function again but after a promise which will allow Angular to update the DOM
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
95
134
|
if (!this.container)
|
|
96
135
|
throw new Error('Container not found');
|
|
97
136
|
if (!this.Record)
|
|
@@ -120,7 +159,11 @@ export class EntityFormDialog {
|
|
|
120
159
|
}
|
|
121
160
|
}
|
|
122
161
|
}
|
|
123
|
-
|
|
162
|
+
/**
|
|
163
|
+
* This method can be called to close the dialog. It will emit the 'close' event with the status of the dialog.
|
|
164
|
+
* @param status
|
|
165
|
+
*/
|
|
166
|
+
CloseWindow(status) {
|
|
124
167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
125
168
|
this.Visible = false;
|
|
126
169
|
if (this.Record) {
|
|
@@ -134,24 +177,24 @@ export class EntityFormDialog {
|
|
|
134
177
|
this.Record.Revert();
|
|
135
178
|
}
|
|
136
179
|
}
|
|
137
|
-
this.
|
|
180
|
+
this.DialogClosed.emit(status);
|
|
138
181
|
});
|
|
139
182
|
}
|
|
140
183
|
}
|
|
141
|
-
|
|
142
|
-
|
|
184
|
+
EntityFormDialogComponent.ɵfac = function EntityFormDialogComponent_Factory(t) { return new (t || EntityFormDialogComponent)(); };
|
|
185
|
+
EntityFormDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityFormDialogComponent, selectors: [["mj-entity-form-dialog"]], viewQuery: function EntityFormDialogComponent_Query(rf, ctx) { if (rf & 1) {
|
|
143
186
|
i0.ɵɵviewQuery(_c0, 5, ViewContainerRef);
|
|
144
187
|
} if (rf & 2) {
|
|
145
188
|
let _t;
|
|
146
189
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
|
|
147
|
-
} }, inputs: { Title: "Title", ShowSaveButton: "ShowSaveButton", ShowCancelButton: "ShowCancelButton", Width: "Width", Height: "Height", Mode: "Mode", SectionName: "SectionName", Record: "Record", HandleSave: "HandleSave", AutoRevertOnCancel: "AutoRevertOnCancel", Visible: "Visible" }, outputs: {
|
|
148
|
-
i0.ɵɵtemplate(0,
|
|
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, "title", "width", "height", "close"], ["dynamicFormContainer", ""], [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", 0);
|
|
149
192
|
} if (rf & 2) {
|
|
150
193
|
i0.ɵɵproperty("ngIf", ctx.Visible);
|
|
151
194
|
} }, dependencies: [i1.NgIf, i2.DialogComponent, i2.DialogActionsComponent, i3.ButtonComponent] });
|
|
152
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
195
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityFormDialogComponent, [{
|
|
153
196
|
type: Component,
|
|
154
|
-
args: [{ selector: 'mj-entity-form-dialog', template: "<kendo-dialog *ngIf=\"Visible\" \n [title]=\"Title\" \n [width]=\"Width\"\n [height]=\"Height\"\n (close)=\"
|
|
197
|
+
args: [{ selector: 'mj-entity-form-dialog', template: "<kendo-dialog *ngIf=\"Visible\" \n [title]=\"Title\" \n [width]=\"Width\"\n [height]=\"Height\"\n (close)=\"CloseWindow('Cancel')\" >\n <ng-template #dynamicFormContainer></ng-template>\n <kendo-dialog-actions *ngIf=\"ShowSaveButton || ShowCancelButton\">\n <button *ngIf=\"ShowSaveButton\" kendoButton (click)=\"CloseWindow('Save')\" themeColor=\"primary\">Save</button>\n <button *ngIf=\"ShowCancelButton\" kendoButton (click)=\"CloseWindow('Cancel')\">Cancel</button>\n </kendo-dialog-actions>\n</kendo-dialog>" }]
|
|
155
198
|
}], null, { Title: [{
|
|
156
199
|
type: Input
|
|
157
200
|
}], ShowSaveButton: [{
|
|
@@ -172,7 +215,7 @@ EntityFormDialog.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityForm
|
|
|
172
215
|
type: Input
|
|
173
216
|
}], AutoRevertOnCancel: [{
|
|
174
217
|
type: Input
|
|
175
|
-
}],
|
|
218
|
+
}], DialogClosed: [{
|
|
176
219
|
type: Output
|
|
177
220
|
}], Visible: [{
|
|
178
221
|
type: Input
|
|
@@ -180,4 +223,4 @@ EntityFormDialog.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityForm
|
|
|
180
223
|
type: ViewChild,
|
|
181
224
|
args: ['dynamicFormContainer', { read: ViewContainerRef }]
|
|
182
225
|
}] }); })();
|
|
183
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(
|
|
226
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntityFormDialogComponent, { className: "EntityFormDialogComponent", filePath: "src/lib/entity-form-dialog/entity-form-dialog.component.ts", lineNumber: 19 }); })();
|
package/dist/lib/module.d.ts
CHANGED
|
@@ -3,11 +3,9 @@ import * as i1 from "./entity-form-dialog/entity-form-dialog.component";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
5
|
import * as i4 from "@progress/kendo-angular-dialog";
|
|
6
|
-
import * as i5 from "@
|
|
7
|
-
import * as i6 from "@memberjunction/ng-container-directives";
|
|
8
|
-
import * as i7 from "@progress/kendo-angular-buttons";
|
|
6
|
+
import * as i5 from "@progress/kendo-angular-buttons";
|
|
9
7
|
export declare class EntityFormDialogModule {
|
|
10
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntityFormDialogModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EntityFormDialogModule, [typeof i1.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EntityFormDialogModule, [typeof i1.EntityFormDialogComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.DialogsModule, typeof i5.ButtonsModule, typeof i4.DialogsModule], [typeof i1.EntityFormDialogComponent]>;
|
|
12
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<EntityFormDialogModule>;
|
|
13
11
|
}
|
package/dist/lib/module.js
CHANGED
|
@@ -3,10 +3,8 @@ import { CommonModule } from '@angular/common';
|
|
|
3
3
|
// Kendo UI Angular imports
|
|
4
4
|
import { DialogsModule } from "@progress/kendo-angular-dialog";
|
|
5
5
|
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
6
|
-
import { CompareRecordsModule } from '@memberjunction/ng-compare-records';
|
|
7
|
-
import { ContainerDirectivesModule } from '@memberjunction/ng-container-directives';
|
|
8
6
|
import { FormsModule } from '@angular/forms';
|
|
9
|
-
import {
|
|
7
|
+
import { EntityFormDialogComponent } from './entity-form-dialog/entity-form-dialog.component';
|
|
10
8
|
import * as i0 from "@angular/core";
|
|
11
9
|
export class EntityFormDialogModule {
|
|
12
10
|
}
|
|
@@ -15,34 +13,28 @@ EntityFormDialogModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: Entit
|
|
|
15
13
|
EntityFormDialogModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
16
14
|
FormsModule,
|
|
17
15
|
DialogsModule,
|
|
18
|
-
CompareRecordsModule,
|
|
19
|
-
ContainerDirectivesModule,
|
|
20
16
|
ButtonsModule,
|
|
21
17
|
DialogsModule] });
|
|
22
18
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityFormDialogModule, [{
|
|
23
19
|
type: NgModule,
|
|
24
20
|
args: [{
|
|
25
21
|
declarations: [
|
|
26
|
-
|
|
22
|
+
EntityFormDialogComponent
|
|
27
23
|
],
|
|
28
24
|
imports: [
|
|
29
25
|
CommonModule,
|
|
30
26
|
FormsModule,
|
|
31
27
|
DialogsModule,
|
|
32
|
-
CompareRecordsModule,
|
|
33
|
-
ContainerDirectivesModule,
|
|
34
28
|
ButtonsModule,
|
|
35
29
|
DialogsModule,
|
|
36
30
|
],
|
|
37
31
|
exports: [
|
|
38
|
-
|
|
32
|
+
EntityFormDialogComponent
|
|
39
33
|
]
|
|
40
34
|
}]
|
|
41
35
|
}], null, null); })();
|
|
42
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(EntityFormDialogModule, { declarations: [
|
|
36
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(EntityFormDialogModule, { declarations: [EntityFormDialogComponent], imports: [CommonModule,
|
|
43
37
|
FormsModule,
|
|
44
38
|
DialogsModule,
|
|
45
|
-
CompareRecordsModule,
|
|
46
|
-
ContainerDirectivesModule,
|
|
47
39
|
ButtonsModule,
|
|
48
|
-
DialogsModule], exports: [
|
|
40
|
+
DialogsModule], exports: [EntityFormDialogComponent] }); })();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-entity-form-dialog",
|
|
3
|
-
"version": "1.4.
|
|
4
|
-
"description": "MemberJunction: Dialog component that is able to display any
|
|
3
|
+
"version": "1.4.1",
|
|
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",
|
|
7
7
|
"files": [
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"@angular/router": "~17.2.2"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@memberjunction/core-entities": "~1.4.
|
|
29
|
-
"@memberjunction/global": "~1.4.
|
|
30
|
-
"@memberjunction/core": "~1.4.
|
|
31
|
-
"@memberjunction/ng-container-directives": "~1.4.
|
|
32
|
-
"@memberjunction/ng-shared": "~1.4.
|
|
33
|
-
"@memberjunction/ng-base-forms": "~1.4.
|
|
28
|
+
"@memberjunction/core-entities": "~1.4.1",
|
|
29
|
+
"@memberjunction/global": "~1.4.1",
|
|
30
|
+
"@memberjunction/core": "~1.4.1",
|
|
31
|
+
"@memberjunction/ng-container-directives": "~1.4.1",
|
|
32
|
+
"@memberjunction/ng-shared": "~1.4.1",
|
|
33
|
+
"@memberjunction/ng-base-forms": "~1.4.1",
|
|
34
34
|
"@progress/kendo-angular-buttons": "~15.1.0",
|
|
35
35
|
"@progress/kendo-angular-dialog": "~15.1.0",
|
|
36
36
|
"tslib": "^2.3.0"
|