@memberjunction/ng-entity-form-dialog 2.47.0 → 2.49.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.
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
1
|
import { Component, Input, Output, ViewChild, ViewContainerRef, EventEmitter } from '@angular/core';
|
|
11
2
|
import { SharedService } from '@memberjunction/ng-shared';
|
|
12
3
|
import { MJGlobal } from '@memberjunction/global';
|
|
@@ -60,53 +51,51 @@ function EntityFormDialogComponent_kendo_dialog_0_Template(rf, ctx) { if (rf & 1
|
|
|
60
51
|
* of the Save and Cancel buttons.
|
|
61
52
|
*/
|
|
62
53
|
export class EntityFormDialogComponent {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
this._visible = false;
|
|
109
|
-
}
|
|
54
|
+
/**
|
|
55
|
+
* The title of the dialog
|
|
56
|
+
*/
|
|
57
|
+
Title = '';
|
|
58
|
+
/**
|
|
59
|
+
* If set to true the Save button will be displayed. If set to false, the Save button will be hidden.
|
|
60
|
+
*/
|
|
61
|
+
ShowSaveButton = true;
|
|
62
|
+
/**
|
|
63
|
+
* If set to true the Cancel button will be displayed. If set to false, the Cancel button will be hidden.
|
|
64
|
+
*/
|
|
65
|
+
ShowCancelButton = true;
|
|
66
|
+
/**
|
|
67
|
+
* Initial width of the dialog
|
|
68
|
+
*/
|
|
69
|
+
Width = 800;
|
|
70
|
+
/**
|
|
71
|
+
* Initial height of the dialog
|
|
72
|
+
*/
|
|
73
|
+
Height = 600;
|
|
74
|
+
/**
|
|
75
|
+
* 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.
|
|
76
|
+
*/
|
|
77
|
+
Mode = 'complete';
|
|
78
|
+
/**
|
|
79
|
+
* 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.
|
|
80
|
+
*/
|
|
81
|
+
SectionName = '';
|
|
82
|
+
/**
|
|
83
|
+
* The record to display in the form. This property is required. The record must be an instance a BaseEntity derived class.
|
|
84
|
+
*/
|
|
85
|
+
Record = null;
|
|
86
|
+
/**
|
|
87
|
+
* If true, when the user clicks the Save button, the Record will be saved. Only applicable if ShowSaveButton is true.
|
|
88
|
+
*/
|
|
89
|
+
HandleSave = true;
|
|
90
|
+
/**
|
|
91
|
+
* If true, when the user clicks the Cancel button, the Record will be reverted to its original state. Only applicable if ShowCancelButton is true.
|
|
92
|
+
*/
|
|
93
|
+
AutoRevertOnCancel = true;
|
|
94
|
+
/**
|
|
95
|
+
* 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'.
|
|
96
|
+
*/
|
|
97
|
+
DialogClosed = new EventEmitter();
|
|
98
|
+
_visible = false;
|
|
110
99
|
/**
|
|
111
100
|
* 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
101
|
*/
|
|
@@ -122,11 +111,11 @@ export class EntityFormDialogComponent {
|
|
|
122
111
|
get Visible() {
|
|
123
112
|
return this._visible;
|
|
124
113
|
}
|
|
114
|
+
container;
|
|
125
115
|
/**
|
|
126
116
|
* This method can be called to show the form.
|
|
127
117
|
*/
|
|
128
118
|
ShowForm() {
|
|
129
|
-
var _a, _b;
|
|
130
119
|
if (!this.Visible) {
|
|
131
120
|
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
121
|
return;
|
|
@@ -141,10 +130,10 @@ export class EntityFormDialogComponent {
|
|
|
141
130
|
// if section, we grab a sub-class of BaseFormSectionComponent, if complete, we grab a sub-class of the BaseForComponent class
|
|
142
131
|
let reg;
|
|
143
132
|
if (this.Mode === 'complete') {
|
|
144
|
-
reg = MJGlobal.Instance.ClassFactory.GetRegistration(BaseFormComponent,
|
|
133
|
+
reg = MJGlobal.Instance.ClassFactory.GetRegistration(BaseFormComponent, this.Record?.EntityInfo.Name);
|
|
145
134
|
}
|
|
146
135
|
else {
|
|
147
|
-
reg = MJGlobal.Instance.ClassFactory.GetRegistration(BaseFormSectionComponent,
|
|
136
|
+
reg = MJGlobal.Instance.ClassFactory.GetRegistration(BaseFormSectionComponent, this.Record?.EntityInfo.Name + '.' + this.SectionName);
|
|
148
137
|
}
|
|
149
138
|
if (reg && reg.SubClass) {
|
|
150
139
|
// we have our class registration
|
|
@@ -163,35 +152,33 @@ export class EntityFormDialogComponent {
|
|
|
163
152
|
* This method can be called to close the dialog. It will emit the 'close' event with the status of the dialog.
|
|
164
153
|
* @param status
|
|
165
154
|
*/
|
|
166
|
-
CloseWindow(status) {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
if (this.
|
|
170
|
-
if (this.
|
|
171
|
-
|
|
172
|
-
SharedService.Instance.CreateSimpleNotification(`Error saving ${this.Record.EntityInfo.Name} record, rolling back changes`, 'error');
|
|
173
|
-
this.Record.Revert();
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
if (this.AutoRevertOnCancel && status === 'Cancel') {
|
|
155
|
+
async CloseWindow(status) {
|
|
156
|
+
this.Visible = false;
|
|
157
|
+
if (this.Record) {
|
|
158
|
+
if (this.HandleSave && status === 'Save') {
|
|
159
|
+
if (!await this.Record.Save()) {
|
|
160
|
+
SharedService.Instance.CreateSimpleNotification(`Error saving ${this.Record.EntityInfo.Name} record, rolling back changes`, 'error');
|
|
177
161
|
this.Record.Revert();
|
|
178
162
|
}
|
|
179
163
|
}
|
|
180
|
-
this.
|
|
181
|
-
|
|
164
|
+
if (this.AutoRevertOnCancel && status === 'Cancel') {
|
|
165
|
+
this.Record.Revert();
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
this.DialogClosed.emit(status);
|
|
182
169
|
}
|
|
170
|
+
static ɵfac = function EntityFormDialogComponent_Factory(t) { return new (t || EntityFormDialogComponent)(); };
|
|
171
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityFormDialogComponent, selectors: [["mj-entity-form-dialog"]], viewQuery: function EntityFormDialogComponent_Query(rf, ctx) { if (rf & 1) {
|
|
172
|
+
i0.ɵɵviewQuery(_c0, 5, ViewContainerRef);
|
|
173
|
+
} if (rf & 2) {
|
|
174
|
+
let _t;
|
|
175
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
|
|
176
|
+
} }, 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) {
|
|
177
|
+
i0.ɵɵtemplate(0, EntityFormDialogComponent_kendo_dialog_0_Template, 4, 4, "kendo-dialog", 1);
|
|
178
|
+
} if (rf & 2) {
|
|
179
|
+
i0.ɵɵproperty("ngIf", ctx.Visible);
|
|
180
|
+
} }, dependencies: [i1.NgIf, i2.DialogComponent, i2.DialogActionsComponent, i3.ButtonComponent] });
|
|
183
181
|
}
|
|
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) {
|
|
186
|
-
i0.ɵɵviewQuery(_c0, 5, ViewContainerRef);
|
|
187
|
-
} if (rf & 2) {
|
|
188
|
-
let _t;
|
|
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: [["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
|
-
} if (rf & 2) {
|
|
193
|
-
i0.ɵɵproperty("ngIf", ctx.Visible);
|
|
194
|
-
} }, dependencies: [i1.NgIf, i2.DialogComponent, i2.DialogActionsComponent, i3.ButtonComponent] });
|
|
195
182
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityFormDialogComponent, [{
|
|
196
183
|
type: Component,
|
|
197
184
|
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>" }]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-form-dialog.component.js","sourceRoot":"","sources":["../../../src/lib/entity-form-dialog/entity-form-dialog.component.ts","../../../src/lib/entity-form-dialog/entity-form-dialog.component.html"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"entity-form-dialog.component.js","sourceRoot":"","sources":["../../../src/lib/entity-form-dialog/entity-form-dialog.component.ts","../../../src/lib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,IAAI,MAAM,KAAK,QAAQ,EAAE,CAAC;gBACnD,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;YACvB,CAAC;QACH,CAAC;QACD,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;mFAhIU,yBAAyB;6DAAzB,yBAAyB;mCAoEO,gBAAgB;;;;;YCtF7D,4FAIyC;;YAJ1B,kCAAa;;;iFDkBf,yBAAyB;cALrC,SAAS;2BACE,uBAAuB;gBAQxB,KAAK;kBAAb,KAAK;YAIG,cAAc;kBAAtB,KAAK;YAIG,gBAAgB;kBAAxB,KAAK;YAKG,KAAK;kBAAb,KAAK;YAIG,MAAM;kBAAd,KAAK;YAKG,IAAI;kBAAZ,KAAK;YAIG,WAAW;kBAAnB,KAAK;YAIG,MAAM;kBAAd,KAAK;YAKG,UAAU;kBAAlB,KAAK;YAIG,kBAAkB;kBAA1B,KAAK;YAKI,YAAY;kBAArB,MAAM;YAOH,OAAO;kBADV,KAAK;YAcyD,SAAS;kBAAvE,SAAS;mBAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;;kFApElD,yBAAyB"}
|
package/dist/lib/module.js
CHANGED
|
@@ -7,14 +7,14 @@ import { FormsModule } from '@angular/forms';
|
|
|
7
7
|
import { EntityFormDialogComponent } from './entity-form-dialog/entity-form-dialog.component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export class EntityFormDialogModule {
|
|
10
|
+
static ɵfac = function EntityFormDialogModule_Factory(t) { return new (t || EntityFormDialogModule)(); };
|
|
11
|
+
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: EntityFormDialogModule });
|
|
12
|
+
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
13
|
+
FormsModule,
|
|
14
|
+
DialogsModule,
|
|
15
|
+
ButtonsModule,
|
|
16
|
+
DialogsModule] });
|
|
10
17
|
}
|
|
11
|
-
EntityFormDialogModule.ɵfac = function EntityFormDialogModule_Factory(t) { return new (t || EntityFormDialogModule)(); };
|
|
12
|
-
EntityFormDialogModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: EntityFormDialogModule });
|
|
13
|
-
EntityFormDialogModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
14
|
-
FormsModule,
|
|
15
|
-
DialogsModule,
|
|
16
|
-
ButtonsModule,
|
|
17
|
-
DialogsModule] });
|
|
18
18
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityFormDialogModule, [{
|
|
19
19
|
type: NgModule,
|
|
20
20
|
args: [{
|
package/dist/lib/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/lib/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,2BAA2B;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,yBAAyB,EAAE,MAAM,mDAAmD,CAAC;;AAiB9F,MAAM,OAAO,sBAAsB
|
|
1
|
+
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/lib/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,2BAA2B;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,yBAAyB,EAAE,MAAM,mDAAmD,CAAC;;AAiB9F,MAAM,OAAO,sBAAsB;gFAAtB,sBAAsB;4DAAtB,sBAAsB;gEAV/B,YAAY;YACZ,WAAW;YACX,aAAa;YACb,aAAa;YACb,aAAa;;iFAMJ,sBAAsB;cAflC,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,yBAAyB;iBAC1B;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,WAAW;oBACX,aAAa;oBACb,aAAa;oBACb,aAAa;iBACd;gBACD,OAAO,EAAE;oBACP,yBAAyB;iBAC1B;aACF;;wFACY,sBAAsB,mBAb/B,yBAAyB,aAGzB,YAAY;QACZ,WAAW;QACX,aAAa;QACb,aAAa;QACb,aAAa,aAGb,yBAAyB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-entity-form-dialog",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.49.0",
|
|
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",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"@angular/router": "18.0.2"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@memberjunction/core-entities": "2.
|
|
29
|
-
"@memberjunction/global": "2.
|
|
30
|
-
"@memberjunction/core": "2.
|
|
31
|
-
"@memberjunction/ng-container-directives": "2.
|
|
32
|
-
"@memberjunction/ng-shared": "2.
|
|
33
|
-
"@memberjunction/ng-base-forms": "2.
|
|
28
|
+
"@memberjunction/core-entities": "2.49.0",
|
|
29
|
+
"@memberjunction/global": "2.49.0",
|
|
30
|
+
"@memberjunction/core": "2.49.0",
|
|
31
|
+
"@memberjunction/ng-container-directives": "2.49.0",
|
|
32
|
+
"@memberjunction/ng-shared": "2.49.0",
|
|
33
|
+
"@memberjunction/ng-base-forms": "2.49.0",
|
|
34
34
|
"@progress/kendo-angular-buttons": "16.2.0",
|
|
35
35
|
"@progress/kendo-angular-dialog": "16.2.0",
|
|
36
36
|
"tslib": "^2.3.0"
|