@memberjunction/ng-actions 0.0.1 → 3.4.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/dist/lib/action-param-dialog/action-param-dialog.component.d.ts +60 -0
- package/dist/lib/action-param-dialog/action-param-dialog.component.d.ts.map +1 -0
- package/dist/lib/action-param-dialog/action-param-dialog.component.js +424 -0
- package/dist/lib/action-param-dialog/action-param-dialog.component.js.map +1 -0
- package/dist/lib/action-result-code-dialog/action-result-code-dialog.component.d.ts +48 -0
- package/dist/lib/action-result-code-dialog/action-result-code-dialog.component.d.ts.map +1 -0
- package/dist/lib/action-result-code-dialog/action-result-code-dialog.component.js +213 -0
- package/dist/lib/action-result-code-dialog/action-result-code-dialog.component.js.map +1 -0
- package/dist/lib/action-test-harness/action-test-harness.component.d.ts +70 -0
- package/dist/lib/action-test-harness/action-test-harness.component.d.ts.map +1 -0
- package/dist/lib/action-test-harness/action-test-harness.component.js +850 -0
- package/dist/lib/action-test-harness/action-test-harness.component.js.map +1 -0
- package/dist/lib/action-test-harness-dialog/action-test-harness-dialog.component.d.ts +38 -0
- package/dist/lib/action-test-harness-dialog/action-test-harness-dialog.component.d.ts.map +1 -0
- package/dist/lib/action-test-harness-dialog/action-test-harness-dialog.component.js +140 -0
- package/dist/lib/action-test-harness-dialog/action-test-harness-dialog.component.js.map +1 -0
- package/dist/lib/actions.module.d.ts +14 -0
- package/dist/lib/actions.module.d.ts.map +1 -0
- package/dist/lib/actions.module.js +48 -0
- package/dist/lib/actions.module.js.map +1 -0
- package/dist/public-api.d.ts +12 -0
- package/dist/public-api.d.ts.map +1 -0
- package/dist/public-api.js +17 -0
- package/dist/public-api.js.map +1 -0
- package/package.json +41 -6
- package/README.md +0 -45
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-test-harness.component.js","sourceRoot":"","sources":["../../../src/lib/action-test-harness/action-test-harness.component.ts","../../../src/lib/action-test-harness/action-test-harness.component.html"],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AAmC;YAI3D,eAEC;YAFD,sDAEC;YACiC,cAAyC;YAAC,AAA1C,sDAAyC,uCAAyC;YAGxH,cAoFC;YApFD,gDAoFC;YAQG,eAAsD;YAAtD,4EAAsD;YACtD,cAIC;YAJD,2CAIC;YASL,eAMC;YAND,qEAMC;YAIL,cAuHC;YAvHD,qEAuHC;;;iFD7OQ,0BAA0B;cALtC,SAAS;2BACI,wBAAwB;kDAKL,iBAAiB;kBAA7C,SAAS;mBAAC,gBAAgB;YASvB,MAAM;kBADT,KAAK;YAYF,YAAY;kBADf,KAAK;YAYF,SAAS;kBADZ,KAAK;YAQI,gBAAgB;kBAAzB,MAAM;YACG,iBAAiB;kBAA1B,MAAM;;kFAxCE,0BAA0B;AAscvC,mCAAmC;AACnC,MAAM,UAAU,8BAA8B;IAC1C,gEAAgE;AACpE,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { ActionEntity, ActionParamEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import { ActionResult } from '../action-test-harness/action-test-harness.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* A dialog wrapper component for the Action Test Harness.
|
|
7
|
+
* This component provides a modal dialog experience without Kendo dependencies.
|
|
8
|
+
*
|
|
9
|
+
* Usage:
|
|
10
|
+
* <mj-action-test-harness-dialog
|
|
11
|
+
* [Action]="myAction"
|
|
12
|
+
* [ActionParams]="myParams"
|
|
13
|
+
* [IsOpen]="showDialog"
|
|
14
|
+
* (Close)="onDialogClose()"
|
|
15
|
+
* (ExecutionComplete)="onExecutionComplete($event)">
|
|
16
|
+
* </mj-action-test-harness-dialog>
|
|
17
|
+
*/
|
|
18
|
+
export declare class ActionTestHarnessDialogComponent implements OnInit {
|
|
19
|
+
private _action;
|
|
20
|
+
private _actionParams;
|
|
21
|
+
private _isOpen;
|
|
22
|
+
set Action(value: ActionEntity);
|
|
23
|
+
get Action(): ActionEntity;
|
|
24
|
+
set ActionParams(value: ActionParamEntity[]);
|
|
25
|
+
get ActionParams(): ActionParamEntity[];
|
|
26
|
+
set IsOpen(value: boolean);
|
|
27
|
+
get IsOpen(): boolean;
|
|
28
|
+
Close: EventEmitter<void>;
|
|
29
|
+
ExecutionComplete: EventEmitter<ActionResult>;
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
OnClose(): void;
|
|
32
|
+
OnBackdropClick(event: MouseEvent): void;
|
|
33
|
+
OnExecutionComplete(result: ActionResult): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionTestHarnessDialogComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionTestHarnessDialogComponent, "mj-action-test-harness-dialog", never, { "Action": { "alias": "Action"; "required": false; }; "ActionParams": { "alias": "ActionParams"; "required": false; }; "IsOpen": { "alias": "IsOpen"; "required": false; }; }, { "Close": "Close"; "ExecutionComplete": "ExecutionComplete"; }, never, never, false, never>;
|
|
36
|
+
}
|
|
37
|
+
export declare function LoadActionTestHarnessDialogComponent(): void;
|
|
38
|
+
//# sourceMappingURL=action-test-harness-dialog.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-test-harness-dialog.component.d.ts","sourceRoot":"","sources":["../../../src/lib/action-test-harness-dialog/action-test-harness-dialog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,sDAAsD,CAAC;;AAEpF;;;;;;;;;;;;GAYG;AACH,qBAKa,gCAAiC,YAAW,MAAM;IAE3D,OAAO,CAAC,OAAO,CAAgB;IAC/B,OAAO,CAAC,aAAa,CAA2B;IAChD,OAAO,CAAC,OAAO,CAAS;IAExB,IACI,MAAM,CAAC,KAAK,EAAE,YAAY,EAE7B;IACD,IAAI,MAAM,IAAI,YAAY,CAEzB;IAED,IACI,YAAY,CAAC,KAAK,EAAE,iBAAiB,EAAE,EAE1C;IACD,IAAI,YAAY,IAAI,iBAAiB,EAAE,CAEtC;IAED,IACI,MAAM,CAAC,KAAK,EAAE,OAAO,EAOxB;IACD,IAAI,MAAM,IAAI,OAAO,CAEpB;IAES,KAAK,qBAA4B;IACjC,iBAAiB,6BAAoC;IAE/D,QAAQ,IAAI,IAAI;IAIT,OAAO,IAAI,IAAI;IAKf,eAAe,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAOxC,mBAAmB,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI;yCAtD7C,gCAAgC;2CAAhC,gCAAgC;CAyD5C;AAGD,wBAAgB,oCAAoC,IAAI,IAAI,CAE3D"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../action-test-harness/action-test-harness.component";
|
|
4
|
+
function ActionTestHarnessDialogComponent_Conditional_0_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
5
|
+
i0.ɵɵtext(0);
|
|
6
|
+
} if (rf & 2) {
|
|
7
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
8
|
+
i0.ɵɵtextInterpolate1(" Action Test Harness - ", ctx_r1.Action.Name, " ");
|
|
9
|
+
} }
|
|
10
|
+
function ActionTestHarnessDialogComponent_Conditional_0_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
11
|
+
i0.ɵɵtext(0, " Action Test Harness ");
|
|
12
|
+
} }
|
|
13
|
+
function ActionTestHarnessDialogComponent_Conditional_0_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
15
|
+
i0.ɵɵelementStart(0, "mj-action-test-harness", 13);
|
|
16
|
+
i0.ɵɵlistener("ExecutionComplete", function ActionTestHarnessDialogComponent_Conditional_0_Conditional_10_Template_mj_action_test_harness_ExecutionComplete_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnExecutionComplete($event)); });
|
|
17
|
+
i0.ɵɵelementEnd();
|
|
18
|
+
} if (rf & 2) {
|
|
19
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
20
|
+
i0.ɵɵproperty("Action", ctx_r1.Action)("ActionParams", ctx_r1.ActionParams);
|
|
21
|
+
} }
|
|
22
|
+
function ActionTestHarnessDialogComponent_Conditional_0_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
i0.ɵɵelementStart(0, "div", 10);
|
|
24
|
+
i0.ɵɵelement(1, "i", 14);
|
|
25
|
+
i0.ɵɵtext(2, " Loading... ");
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
} }
|
|
28
|
+
function ActionTestHarnessDialogComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
30
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
31
|
+
i0.ɵɵlistener("click", function ActionTestHarnessDialogComponent_Conditional_0_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnBackdropClick($event)); });
|
|
32
|
+
i0.ɵɵelementStart(1, "div", 2)(2, "div", 3)(3, "div", 4);
|
|
33
|
+
i0.ɵɵelement(4, "i", 5);
|
|
34
|
+
i0.ɵɵtemplate(5, ActionTestHarnessDialogComponent_Conditional_0_Conditional_5_Template, 1, 1)(6, ActionTestHarnessDialogComponent_Conditional_0_Conditional_6_Template, 1, 0);
|
|
35
|
+
i0.ɵɵelementEnd();
|
|
36
|
+
i0.ɵɵelementStart(7, "button", 6);
|
|
37
|
+
i0.ɵɵlistener("click", function ActionTestHarnessDialogComponent_Conditional_0_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnClose()); });
|
|
38
|
+
i0.ɵɵelement(8, "i", 7);
|
|
39
|
+
i0.ɵɵelementEnd()();
|
|
40
|
+
i0.ɵɵelementStart(9, "div", 8);
|
|
41
|
+
i0.ɵɵtemplate(10, ActionTestHarnessDialogComponent_Conditional_0_Conditional_10_Template, 1, 2, "mj-action-test-harness", 9)(11, ActionTestHarnessDialogComponent_Conditional_0_Conditional_11_Template, 3, 0, "div", 10);
|
|
42
|
+
i0.ɵɵelementEnd();
|
|
43
|
+
i0.ɵɵelementStart(12, "div", 11)(13, "button", 12);
|
|
44
|
+
i0.ɵɵlistener("click", function ActionTestHarnessDialogComponent_Conditional_0_Template_button_click_13_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnClose()); });
|
|
45
|
+
i0.ɵɵtext(14, "Close");
|
|
46
|
+
i0.ɵɵelementEnd()()()();
|
|
47
|
+
} if (rf & 2) {
|
|
48
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
49
|
+
i0.ɵɵadvance(5);
|
|
50
|
+
i0.ɵɵconditional(ctx_r1.Action ? 5 : 6);
|
|
51
|
+
i0.ɵɵadvance(5);
|
|
52
|
+
i0.ɵɵconditional(ctx_r1.Action ? 10 : 11);
|
|
53
|
+
} }
|
|
54
|
+
/**
|
|
55
|
+
* A dialog wrapper component for the Action Test Harness.
|
|
56
|
+
* This component provides a modal dialog experience without Kendo dependencies.
|
|
57
|
+
*
|
|
58
|
+
* Usage:
|
|
59
|
+
* <mj-action-test-harness-dialog
|
|
60
|
+
* [Action]="myAction"
|
|
61
|
+
* [ActionParams]="myParams"
|
|
62
|
+
* [IsOpen]="showDialog"
|
|
63
|
+
* (Close)="onDialogClose()"
|
|
64
|
+
* (ExecutionComplete)="onExecutionComplete($event)">
|
|
65
|
+
* </mj-action-test-harness-dialog>
|
|
66
|
+
*/
|
|
67
|
+
export class ActionTestHarnessDialogComponent {
|
|
68
|
+
constructor() {
|
|
69
|
+
this._actionParams = [];
|
|
70
|
+
this._isOpen = false;
|
|
71
|
+
this.Close = new EventEmitter();
|
|
72
|
+
this.ExecutionComplete = new EventEmitter();
|
|
73
|
+
}
|
|
74
|
+
set Action(value) {
|
|
75
|
+
this._action = value;
|
|
76
|
+
}
|
|
77
|
+
get Action() {
|
|
78
|
+
return this._action;
|
|
79
|
+
}
|
|
80
|
+
set ActionParams(value) {
|
|
81
|
+
this._actionParams = value || [];
|
|
82
|
+
}
|
|
83
|
+
get ActionParams() {
|
|
84
|
+
return this._actionParams;
|
|
85
|
+
}
|
|
86
|
+
set IsOpen(value) {
|
|
87
|
+
this._isOpen = value;
|
|
88
|
+
if (value) {
|
|
89
|
+
document.body.style.overflow = 'hidden';
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
document.body.style.overflow = '';
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
get IsOpen() {
|
|
96
|
+
return this._isOpen;
|
|
97
|
+
}
|
|
98
|
+
ngOnInit() {
|
|
99
|
+
// Any initialization if needed
|
|
100
|
+
}
|
|
101
|
+
OnClose() {
|
|
102
|
+
this.IsOpen = false;
|
|
103
|
+
this.Close.emit();
|
|
104
|
+
}
|
|
105
|
+
OnBackdropClick(event) {
|
|
106
|
+
// Only close if clicking directly on backdrop, not on dialog content
|
|
107
|
+
if (event.target.classList.contains('dialog-backdrop')) {
|
|
108
|
+
this.OnClose();
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
OnExecutionComplete(result) {
|
|
112
|
+
this.ExecutionComplete.emit(result);
|
|
113
|
+
}
|
|
114
|
+
static { this.ɵfac = function ActionTestHarnessDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ActionTestHarnessDialogComponent)(); }; }
|
|
115
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActionTestHarnessDialogComponent, selectors: [["mj-action-test-harness-dialog"]], inputs: { Action: "Action", ActionParams: "ActionParams", IsOpen: "IsOpen" }, outputs: { Close: "Close", ExecutionComplete: "ExecutionComplete" }, decls: 1, vars: 1, consts: [[1, "dialog-backdrop"], [1, "dialog-backdrop", 3, "click"], [1, "dialog-container"], [1, "dialog-header"], [1, "dialog-title"], [1, "fa-solid", "fa-flask"], ["title", "Close", 1, "dialog-close-btn", 3, "click"], [1, "fa-solid", "fa-times"], [1, "dialog-content"], [3, "Action", "ActionParams"], [1, "loading-state"], [1, "dialog-footer"], [1, "btn", "btn-outline", 3, "click"], [3, "ExecutionComplete", "Action", "ActionParams"], [1, "fa-solid", "fa-spinner", "fa-spin"]], template: function ActionTestHarnessDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
116
|
+
i0.ɵɵtemplate(0, ActionTestHarnessDialogComponent_Conditional_0_Template, 15, 2, "div", 0);
|
|
117
|
+
} if (rf & 2) {
|
|
118
|
+
i0.ɵɵconditional(ctx.IsOpen ? 0 : -1);
|
|
119
|
+
} }, dependencies: [i1.ActionTestHarnessComponent], styles: [".dialog-backdrop[_ngcontent-%COMP%] {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(0, 0, 0, 0.5);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1000;\n padding: 20px;\n}\n\n.dialog-container[_ngcontent-%COMP%] {\n background: white;\n border-radius: 8px;\n box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);\n max-width: 700px;\n width: 100%;\n max-height: 90vh;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n}\n\n.dialog-header[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n background: #f8f9fa;\n border-bottom: 1px solid #e9ecef;\n}\n\n.dialog-title[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 12px;\n font-size: 1.1rem;\n font-weight: 600;\n color: #2c3e50;\n}\n\n.dialog-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n color: #6f42c1;\n}\n\n.dialog-close-btn[_ngcontent-%COMP%] {\n background: transparent;\n border: none;\n padding: 8px;\n cursor: pointer;\n color: #6c757d;\n border-radius: 4px;\n transition: all 0.2s;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.dialog-close-btn[_ngcontent-%COMP%]:hover {\n background: #e9ecef;\n color: #495057;\n}\n\n.dialog-content[_ngcontent-%COMP%] {\n flex: 1;\n overflow-y: auto;\n max-height: calc(90vh - 130px);\n}\n\n.dialog-content[_ngcontent-%COMP%] mj-action-test-harness[_ngcontent-%COMP%] {\n display: block;\n}\n\n.loading-state[_ngcontent-%COMP%] {\n padding: 40px;\n text-align: center;\n color: #6c757d;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 12px;\n font-size: 1em;\n}\n\n.loading-state[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 1.2em;\n}\n\n.dialog-footer[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-end;\n padding: 12px 20px;\n background: #f8f9fa;\n border-top: 1px solid #e9ecef;\n}\n\n\n\n.btn[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 8px 16px;\n border: 1px solid transparent;\n border-radius: 4px;\n font-size: 0.95em;\n font-weight: 500;\n cursor: pointer;\n transition: all 0.2s;\n font-family: inherit;\n}\n\n.btn-outline[_ngcontent-%COMP%] {\n background: white;\n color: #495057;\n border-color: #ced4da;\n}\n\n.btn-outline[_ngcontent-%COMP%]:hover {\n background: #f8f9fa;\n border-color: #adb5bd;\n}\n\n\n\n@media (max-width: 768px) {\n .dialog-backdrop[_ngcontent-%COMP%] {\n padding: 10px;\n }\n\n .dialog-container[_ngcontent-%COMP%] {\n max-height: 95vh;\n }\n\n .dialog-content[_ngcontent-%COMP%] {\n max-height: calc(95vh - 130px);\n }\n}"] }); }
|
|
120
|
+
}
|
|
121
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionTestHarnessDialogComponent, [{
|
|
122
|
+
type: Component,
|
|
123
|
+
args: [{ selector: 'mj-action-test-harness-dialog', template: "@if (IsOpen) {\n <div class=\"dialog-backdrop\" (click)=\"OnBackdropClick($event)\">\n <div class=\"dialog-container\">\n <div class=\"dialog-header\">\n <div class=\"dialog-title\">\n <i class=\"fa-solid fa-flask\"></i>\n @if (Action) {\n Action Test Harness - {{ Action.Name }}\n } @else {\n Action Test Harness\n }\n </div>\n <button class=\"dialog-close-btn\" (click)=\"OnClose()\" title=\"Close\">\n <i class=\"fa-solid fa-times\"></i>\n </button>\n </div>\n\n <div class=\"dialog-content\">\n @if (Action) {\n <mj-action-test-harness\n [Action]=\"Action\"\n [ActionParams]=\"ActionParams\"\n (ExecutionComplete)=\"OnExecutionComplete($event)\">\n </mj-action-test-harness>\n } @else {\n <div class=\"loading-state\">\n <i class=\"fa-solid fa-spinner fa-spin\"></i>\n Loading...\n </div>\n }\n </div>\n\n <div class=\"dialog-footer\">\n <button class=\"btn btn-outline\" (click)=\"OnClose()\">Close</button>\n </div>\n </div>\n </div>\n}\n", styles: [".dialog-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(0, 0, 0, 0.5);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1000;\n padding: 20px;\n}\n\n.dialog-container {\n background: white;\n border-radius: 8px;\n box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);\n max-width: 700px;\n width: 100%;\n max-height: 90vh;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n}\n\n.dialog-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n background: #f8f9fa;\n border-bottom: 1px solid #e9ecef;\n}\n\n.dialog-title {\n display: flex;\n align-items: center;\n gap: 12px;\n font-size: 1.1rem;\n font-weight: 600;\n color: #2c3e50;\n}\n\n.dialog-title i {\n color: #6f42c1;\n}\n\n.dialog-close-btn {\n background: transparent;\n border: none;\n padding: 8px;\n cursor: pointer;\n color: #6c757d;\n border-radius: 4px;\n transition: all 0.2s;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.dialog-close-btn:hover {\n background: #e9ecef;\n color: #495057;\n}\n\n.dialog-content {\n flex: 1;\n overflow-y: auto;\n max-height: calc(90vh - 130px);\n}\n\n.dialog-content mj-action-test-harness {\n display: block;\n}\n\n.loading-state {\n padding: 40px;\n text-align: center;\n color: #6c757d;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 12px;\n font-size: 1em;\n}\n\n.loading-state i {\n font-size: 1.2em;\n}\n\n.dialog-footer {\n display: flex;\n justify-content: flex-end;\n padding: 12px 20px;\n background: #f8f9fa;\n border-top: 1px solid #e9ecef;\n}\n\n/* Button styles */\n.btn {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 8px 16px;\n border: 1px solid transparent;\n border-radius: 4px;\n font-size: 0.95em;\n font-weight: 500;\n cursor: pointer;\n transition: all 0.2s;\n font-family: inherit;\n}\n\n.btn-outline {\n background: white;\n color: #495057;\n border-color: #ced4da;\n}\n\n.btn-outline:hover {\n background: #f8f9fa;\n border-color: #adb5bd;\n}\n\n/* Responsive */\n@media (max-width: 768px) {\n .dialog-backdrop {\n padding: 10px;\n }\n\n .dialog-container {\n max-height: 95vh;\n }\n\n .dialog-content {\n max-height: calc(95vh - 130px);\n }\n}\n"] }]
|
|
124
|
+
}], null, { Action: [{
|
|
125
|
+
type: Input
|
|
126
|
+
}], ActionParams: [{
|
|
127
|
+
type: Input
|
|
128
|
+
}], IsOpen: [{
|
|
129
|
+
type: Input
|
|
130
|
+
}], Close: [{
|
|
131
|
+
type: Output
|
|
132
|
+
}], ExecutionComplete: [{
|
|
133
|
+
type: Output
|
|
134
|
+
}] }); })();
|
|
135
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActionTestHarnessDialogComponent, { className: "ActionTestHarnessDialogComponent", filePath: "lib/action-test-harness-dialog/action-test-harness-dialog.component.ts", lineNumber: 23 }); })();
|
|
136
|
+
// Tree-shaking prevention function
|
|
137
|
+
export function LoadActionTestHarnessDialogComponent() {
|
|
138
|
+
// This function ensures the component is included in the bundle
|
|
139
|
+
}
|
|
140
|
+
//# sourceMappingURL=action-test-harness-dialog.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-test-harness-dialog.component.js","sourceRoot":"","sources":["../../../src/lib/action-test-harness-dialog/action-test-harness-dialog.component.ts","../../../src/lib/action-test-harness-dialog/action-test-harness-dialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAU,MAAM,eAAe,CAAC;;;;ICOvD,YACJ;;;IADI,yEACJ;;;IACI,qCACJ;;;;IASA,kDAGsD;IAAlD,kQAAqB,kCAA2B,KAAC;IACrD,iBAAyB;;;IAFrB,AADA,sCAAiB,qCACY;;;IAIjC,+BAA2B;IACvB,wBAA2C;IAC3C,4BACJ;IAAA,iBAAM;;;;IA3BtB,8BAA+D;IAAlC,uMAAS,8BAAuB,KAAC;IAGlD,AADJ,AADJ,8BAA8B,aACC,aACG;IACtB,uBAAiC;IAG/B,AAFF,6FAAc,gFAEL;IAGb,iBAAM;IACN,iCAAmE;IAAlC,oMAAS,gBAAS,KAAC;IAChD,uBAAiC;IAEzC,AADI,iBAAS,EACP;IAEN,8BAA4B;IAOtB,AANF,4HAAc,6FAML;IAMb,iBAAM;IAGF,AADJ,gCAA2B,kBAC6B;IAApB,qMAAS,gBAAS,KAAC;IAAC,sBAAK;IAGrE,AADI,AADI,AAD6D,iBAAS,EAChE,EACJ,EACJ;;;IA9BU,eAIC;IAJD,uCAIC;IAQL,eAWC;IAXD,yCAWC;;ADzBjB;;;;;;;;;;;;GAYG;AAMH,MAAM,OAAO,gCAAgC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,IAAI,CAAC,MAAM,CAAC,CAAC;IACxC,CAAC;iIAxDQ,gCAAgC;oEAAhC,gCAAgC;YCtB7C,0FAAc;;YAAd,qCAqCC;;;iFDfY,gCAAgC;cAL5C,SAAS;2BACI,+BAA+B;gBAWrC,MAAM;kBADT,KAAK;YASF,YAAY;kBADf,KAAK;YASF,MAAM;kBADT,KAAK;YAaI,KAAK;kBAAd,MAAM;YACG,iBAAiB;kBAA1B,MAAM;;kFApCE,gCAAgC;AA2D7C,mCAAmC;AACnC,MAAM,UAAU,oCAAoC;IAChD,gEAAgE;AACpE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./action-test-harness/action-test-harness.component";
|
|
3
|
+
import * as i2 from "./action-test-harness-dialog/action-test-harness-dialog.component";
|
|
4
|
+
import * as i3 from "./action-param-dialog/action-param-dialog.component";
|
|
5
|
+
import * as i4 from "./action-result-code-dialog/action-result-code-dialog.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
export declare class ActionsModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ActionsModule, [typeof i1.ActionTestHarnessComponent, typeof i2.ActionTestHarnessDialogComponent, typeof i3.ActionParamDialogComponent, typeof i4.ActionResultCodeDialogComponent], [typeof i5.CommonModule, typeof i6.FormsModule], [typeof i1.ActionTestHarnessComponent, typeof i2.ActionTestHarnessDialogComponent, typeof i3.ActionParamDialogComponent, typeof i4.ActionResultCodeDialogComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ActionsModule>;
|
|
12
|
+
}
|
|
13
|
+
export declare function LoadActionsModule(): void;
|
|
14
|
+
//# sourceMappingURL=actions.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.module.d.ts","sourceRoot":"","sources":["../../src/lib/actions.module.ts"],"names":[],"mappings":";;;;;;;AASA,qBAkBa,aAAa;yCAAb,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAAI;AAG9B,wBAAgB,iBAAiB,IAAI,IAAI,CAExC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { FormsModule } from '@angular/forms';
|
|
4
|
+
import { ActionTestHarnessComponent } from './action-test-harness/action-test-harness.component';
|
|
5
|
+
import { ActionTestHarnessDialogComponent } from './action-test-harness-dialog/action-test-harness-dialog.component';
|
|
6
|
+
import { ActionParamDialogComponent } from './action-param-dialog/action-param-dialog.component';
|
|
7
|
+
import { ActionResultCodeDialogComponent } from './action-result-code-dialog/action-result-code-dialog.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class ActionsModule {
|
|
10
|
+
static { this.ɵfac = function ActionsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ActionsModule)(); }; }
|
|
11
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ActionsModule }); }
|
|
12
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
13
|
+
FormsModule] }); }
|
|
14
|
+
}
|
|
15
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionsModule, [{
|
|
16
|
+
type: NgModule,
|
|
17
|
+
args: [{
|
|
18
|
+
declarations: [
|
|
19
|
+
ActionTestHarnessComponent,
|
|
20
|
+
ActionTestHarnessDialogComponent,
|
|
21
|
+
ActionParamDialogComponent,
|
|
22
|
+
ActionResultCodeDialogComponent
|
|
23
|
+
],
|
|
24
|
+
imports: [
|
|
25
|
+
CommonModule,
|
|
26
|
+
FormsModule
|
|
27
|
+
],
|
|
28
|
+
exports: [
|
|
29
|
+
ActionTestHarnessComponent,
|
|
30
|
+
ActionTestHarnessDialogComponent,
|
|
31
|
+
ActionParamDialogComponent,
|
|
32
|
+
ActionResultCodeDialogComponent
|
|
33
|
+
]
|
|
34
|
+
}]
|
|
35
|
+
}], null, null); })();
|
|
36
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ActionsModule, { declarations: [ActionTestHarnessComponent,
|
|
37
|
+
ActionTestHarnessDialogComponent,
|
|
38
|
+
ActionParamDialogComponent,
|
|
39
|
+
ActionResultCodeDialogComponent], imports: [CommonModule,
|
|
40
|
+
FormsModule], exports: [ActionTestHarnessComponent,
|
|
41
|
+
ActionTestHarnessDialogComponent,
|
|
42
|
+
ActionParamDialogComponent,
|
|
43
|
+
ActionResultCodeDialogComponent] }); })();
|
|
44
|
+
// Tree-shaking prevention loader
|
|
45
|
+
export function LoadActionsModule() {
|
|
46
|
+
// This function ensures the module and its components are included in the bundle
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=actions.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.module.js","sourceRoot":"","sources":["../../src/lib/actions.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,0BAA0B,EAAE,MAAM,qDAAqD,CAAC;AACjG,OAAO,EAAE,gCAAgC,EAAE,MAAM,mEAAmE,CAAC;AACrH,OAAO,EAAE,0BAA0B,EAAE,MAAM,qDAAqD,CAAC;AACjG,OAAO,EAAE,+BAA+B,EAAE,MAAM,iEAAiE,CAAC;;AAoBlH,MAAM,OAAO,aAAa;8GAAb,aAAa;mEAAb,aAAa;uEAVlB,YAAY;YACZ,WAAW;;iFASN,aAAa;cAlBzB,QAAQ;eAAC;gBACN,YAAY,EAAE;oBACV,0BAA0B;oBAC1B,gCAAgC;oBAChC,0BAA0B;oBAC1B,+BAA+B;iBAClC;gBACD,OAAO,EAAE;oBACL,YAAY;oBACZ,WAAW;iBACd;gBACD,OAAO,EAAE;oBACL,0BAA0B;oBAC1B,gCAAgC;oBAChC,0BAA0B;oBAC1B,+BAA+B;iBAClC;aACJ;;wFACY,aAAa,mBAhBlB,0BAA0B;QAC1B,gCAAgC;QAChC,0BAA0B;QAC1B,+BAA+B,aAG/B,YAAY;QACZ,WAAW,aAGX,0BAA0B;QAC1B,gCAAgC;QAChC,0BAA0B;QAC1B,+BAA+B;AAKvC,iCAAiC;AACjC,MAAM,UAAU,iBAAiB;IAC7B,iFAAiF;AACrF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @memberjunction/ng-actions
|
|
3
|
+
*
|
|
4
|
+
* A reusable Angular module for testing and running MemberJunction Actions.
|
|
5
|
+
* This package has no Kendo dependencies and can be used in any Angular application.
|
|
6
|
+
*/
|
|
7
|
+
export { ActionsModule, LoadActionsModule } from './lib/actions.module';
|
|
8
|
+
export { ActionTestHarnessComponent, ActionParamValue, ActionResult, LoadActionTestHarnessComponent } from './lib/action-test-harness/action-test-harness.component';
|
|
9
|
+
export { ActionTestHarnessDialogComponent, LoadActionTestHarnessDialogComponent } from './lib/action-test-harness-dialog/action-test-harness-dialog.component';
|
|
10
|
+
export { ActionParamDialogComponent, ActionParamDialogResult, LoadActionParamDialogComponent } from './lib/action-param-dialog/action-param-dialog.component';
|
|
11
|
+
export { ActionResultCodeDialogComponent, ActionResultCodeDialogResult, LoadActionResultCodeDialogComponent } from './lib/action-result-code-dialog/action-result-code-dialog.component';
|
|
12
|
+
//# sourceMappingURL=public-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAGxE,OAAO,EACH,0BAA0B,EAC1B,gBAAgB,EAChB,YAAY,EACZ,8BAA8B,EACjC,MAAM,yDAAyD,CAAC;AAGjE,OAAO,EACH,gCAAgC,EAChC,oCAAoC,EACvC,MAAM,uEAAuE,CAAC;AAG/E,OAAO,EACH,0BAA0B,EAC1B,uBAAuB,EACvB,8BAA8B,EACjC,MAAM,yDAAyD,CAAC;AAGjE,OAAO,EACH,+BAA+B,EAC/B,4BAA4B,EAC5B,mCAAmC,EACtC,MAAM,qEAAqE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @memberjunction/ng-actions
|
|
3
|
+
*
|
|
4
|
+
* A reusable Angular module for testing and running MemberJunction Actions.
|
|
5
|
+
* This package has no Kendo dependencies and can be used in any Angular application.
|
|
6
|
+
*/
|
|
7
|
+
// Module
|
|
8
|
+
export { ActionsModule, LoadActionsModule } from './lib/actions.module';
|
|
9
|
+
// Action Test Harness
|
|
10
|
+
export { ActionTestHarnessComponent, LoadActionTestHarnessComponent } from './lib/action-test-harness/action-test-harness.component';
|
|
11
|
+
// Action Test Harness Dialog
|
|
12
|
+
export { ActionTestHarnessDialogComponent, LoadActionTestHarnessDialogComponent } from './lib/action-test-harness-dialog/action-test-harness-dialog.component';
|
|
13
|
+
// Action Param Dialog
|
|
14
|
+
export { ActionParamDialogComponent, LoadActionParamDialogComponent } from './lib/action-param-dialog/action-param-dialog.component';
|
|
15
|
+
// Action Result Code Dialog
|
|
16
|
+
export { ActionResultCodeDialogComponent, LoadActionResultCodeDialogComponent } from './lib/action-result-code-dialog/action-result-code-dialog.component';
|
|
17
|
+
//# sourceMappingURL=public-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,SAAS;AACT,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAExE,sBAAsB;AACtB,OAAO,EACH,0BAA0B,EAG1B,8BAA8B,EACjC,MAAM,yDAAyD,CAAC;AAEjE,6BAA6B;AAC7B,OAAO,EACH,gCAAgC,EAChC,oCAAoC,EACvC,MAAM,uEAAuE,CAAC;AAE/E,sBAAsB;AACtB,OAAO,EACH,0BAA0B,EAE1B,8BAA8B,EACjC,MAAM,yDAAyD,CAAC;AAEjE,4BAA4B;AAC5B,OAAO,EACH,+BAA+B,EAE/B,mCAAmC,EACtC,MAAM,qEAAqE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-actions",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "3.4.0",
|
|
4
|
+
"description": "MemberJunction Action Runner - Reusable components for testing and running actions with no Kendo dependencies",
|
|
5
|
+
"main": "./dist/public-api.js",
|
|
6
|
+
"typings": "./dist/public-api.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"/dist"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
|
+
"build": "ngc"
|
|
13
|
+
},
|
|
5
14
|
"keywords": [
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
15
|
+
"actions",
|
|
16
|
+
"test harness",
|
|
17
|
+
"runner",
|
|
18
|
+
"MemberJunction"
|
|
19
|
+
],
|
|
20
|
+
"author": "MemberJunction Team",
|
|
21
|
+
"license": "ISC",
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@angular/compiler": "18.2.14",
|
|
24
|
+
"@angular/compiler-cli": "18.2.14"
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"@angular/common": "18.2.14",
|
|
28
|
+
"@angular/core": "18.2.14",
|
|
29
|
+
"@angular/forms": "18.2.14"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@angular/platform-browser": "18.2.14",
|
|
33
|
+
"@memberjunction/core": "3.4.0",
|
|
34
|
+
"@memberjunction/core-entities": "3.4.0",
|
|
35
|
+
"@memberjunction/global": "3.4.0",
|
|
36
|
+
"@memberjunction/graphql-dataprovider": "3.4.0",
|
|
37
|
+
"rxjs": "^7.6.0",
|
|
38
|
+
"tslib": "^2.4.0"
|
|
39
|
+
},
|
|
40
|
+
"sideEffects": false,
|
|
41
|
+
"repository": {
|
|
42
|
+
"type": "git",
|
|
43
|
+
"url": "https://github.com/MemberJunction/MJ"
|
|
44
|
+
}
|
|
10
45
|
}
|
package/README.md
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# @memberjunction/ng-actions
|
|
2
|
-
|
|
3
|
-
## ⚠️ IMPORTANT NOTICE ⚠️
|
|
4
|
-
|
|
5
|
-
**This package is created solely for the purpose of setting up OIDC (OpenID Connect) trusted publishing with npm.**
|
|
6
|
-
|
|
7
|
-
This is **NOT** a functional package and contains **NO** code or functionality beyond the OIDC setup configuration.
|
|
8
|
-
|
|
9
|
-
## Purpose
|
|
10
|
-
|
|
11
|
-
This package exists to:
|
|
12
|
-
1. Configure OIDC trusted publishing for the package name `@memberjunction/ng-actions`
|
|
13
|
-
2. Enable secure, token-less publishing from CI/CD workflows
|
|
14
|
-
3. Establish provenance for packages published under this name
|
|
15
|
-
|
|
16
|
-
## What is OIDC Trusted Publishing?
|
|
17
|
-
|
|
18
|
-
OIDC trusted publishing allows package maintainers to publish packages directly from their CI/CD workflows without needing to manage npm access tokens. Instead, it uses OpenID Connect to establish trust between the CI/CD provider (like GitHub Actions) and npm.
|
|
19
|
-
|
|
20
|
-
## Setup Instructions
|
|
21
|
-
|
|
22
|
-
To properly configure OIDC trusted publishing for this package:
|
|
23
|
-
|
|
24
|
-
1. Go to [npmjs.com](https://www.npmjs.com/) and navigate to your package settings
|
|
25
|
-
2. Configure the trusted publisher (e.g., GitHub Actions)
|
|
26
|
-
3. Specify the repository and workflow that should be allowed to publish
|
|
27
|
-
4. Use the configured workflow to publish your actual package
|
|
28
|
-
|
|
29
|
-
## DO NOT USE THIS PACKAGE
|
|
30
|
-
|
|
31
|
-
This package is a placeholder for OIDC configuration only. It:
|
|
32
|
-
- Contains no executable code
|
|
33
|
-
- Provides no functionality
|
|
34
|
-
- Should not be installed as a dependency
|
|
35
|
-
- Exists only for administrative purposes
|
|
36
|
-
|
|
37
|
-
## More Information
|
|
38
|
-
|
|
39
|
-
For more details about npm's trusted publishing feature, see:
|
|
40
|
-
- [npm Trusted Publishing Documentation](https://docs.npmjs.com/generating-provenance-statements)
|
|
41
|
-
- [GitHub Actions OIDC Documentation](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect)
|
|
42
|
-
|
|
43
|
-
---
|
|
44
|
-
|
|
45
|
-
**Maintained for OIDC setup purposes only**
|