@memberjunction/ng-generic-dialog 6.2.1 → 6.3.0-edge.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.
- package/README.md +6 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @memberjunction/ng-generic-dialog
|
|
2
2
|
|
|
3
|
-
A flexible, customizable modal dialog component for Angular applications in the MemberJunction framework. Built on
|
|
3
|
+
A flexible, customizable modal dialog component for Angular applications in the MemberJunction framework. Built on `mj-dialog`, it provides a consistent way to create modals with standard OK/Cancel buttons and custom action slots.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ npm install @memberjunction/ng-generic-dialog
|
|
|
10
10
|
|
|
11
11
|
## Overview
|
|
12
12
|
|
|
13
|
-
The Generic Dialog wraps
|
|
13
|
+
The Generic Dialog wraps the MJ dialog with a standardized API for content projection, configurable buttons, and a data refresh lifecycle. It serves as the foundation for many dialog experiences throughout MemberJunction applications.
|
|
14
14
|
|
|
15
15
|
```mermaid
|
|
16
16
|
flowchart TD
|
|
@@ -72,8 +72,8 @@ export class YourModule {}
|
|
|
72
72
|
<div>Your dialog content here</div>
|
|
73
73
|
|
|
74
74
|
<div custom-actions>
|
|
75
|
-
<button
|
|
76
|
-
<button
|
|
75
|
+
<button mjButton (click)="saveSettings()" variant="primary">Save</button>
|
|
76
|
+
<button mjButton (click)="applySettings()">Apply</button>
|
|
77
77
|
</div>
|
|
78
78
|
</mj-generic-dialog>
|
|
79
79
|
```
|
|
@@ -118,8 +118,8 @@ export class YourModule {}
|
|
|
118
118
|
|
|
119
119
|
## Dependencies
|
|
120
120
|
|
|
121
|
-
- `@
|
|
122
|
-
- `@
|
|
121
|
+
- `@memberjunction/ng-ui-components` -- Dialog rendering
|
|
122
|
+
- `@memberjunction/ng-ui-components` -- Button components
|
|
123
123
|
|
|
124
124
|
## Related Packages
|
|
125
125
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-generic-dialog",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0-edge.0",
|
|
4
4
|
"description": "MemberJunction: Angular component for a generic dialog",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@angular/compiler": "21.2.22",
|
|
15
15
|
"@angular/compiler-cli": "21.2.22",
|
|
16
|
-
"@memberjunction/ng-test-utils": "6.
|
|
16
|
+
"@memberjunction/ng-test-utils": "6.3.0-edge.0",
|
|
17
17
|
"vitest": "^4.0.18"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@angular/core": "^21.2.22"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@memberjunction/ng-ui-components": "6.
|
|
24
|
+
"@memberjunction/ng-ui-components": "6.3.0-edge.0",
|
|
25
25
|
"tslib": "^2.8.1"
|
|
26
26
|
},
|
|
27
27
|
"sideEffects": false,
|