@memberjunction/ng-actions 3.4.0 → 4.1.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 +139 -0
- package/dist/lib/action-param-dialog/action-param-dialog.component.d.ts +0 -1
- package/dist/lib/action-param-dialog/action-param-dialog.component.d.ts.map +1 -1
- package/dist/lib/action-param-dialog/action-param-dialog.component.js +16 -20
- package/dist/lib/action-param-dialog/action-param-dialog.component.js.map +1 -1
- package/dist/lib/action-result-code-dialog/action-result-code-dialog.component.d.ts +0 -1
- package/dist/lib/action-result-code-dialog/action-result-code-dialog.component.d.ts.map +1 -1
- package/dist/lib/action-result-code-dialog/action-result-code-dialog.component.js +7 -11
- package/dist/lib/action-result-code-dialog/action-result-code-dialog.component.js.map +1 -1
- package/dist/lib/action-test-harness/action-test-harness.component.d.ts +0 -1
- package/dist/lib/action-test-harness/action-test-harness.component.d.ts.map +1 -1
- package/dist/lib/action-test-harness/action-test-harness.component.js +23 -21
- package/dist/lib/action-test-harness/action-test-harness.component.js.map +1 -1
- package/dist/lib/action-test-harness-dialog/action-test-harness-dialog.component.d.ts +0 -1
- package/dist/lib/action-test-harness-dialog/action-test-harness-dialog.component.d.ts.map +1 -1
- package/dist/lib/action-test-harness-dialog/action-test-harness-dialog.component.js +6 -10
- package/dist/lib/action-test-harness-dialog/action-test-harness-dialog.component.js.map +1 -1
- package/dist/lib/actions.module.d.ts +0 -1
- package/dist/lib/actions.module.d.ts.map +1 -1
- package/dist/lib/actions.module.js +0 -4
- package/dist/lib/actions.module.js.map +1 -1
- package/dist/public-api.d.ts +5 -5
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +5 -5
- package/dist/public-api.js.map +1 -1
- package/package.json +13 -13
package/README.md
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# @memberjunction/ng-actions
|
|
2
|
+
|
|
3
|
+
Reusable Angular components for testing and running MemberJunction Actions. This package provides a lightweight action test harness and parameter/result-code editing dialogs with no Kendo UI dependencies.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
The `@memberjunction/ng-actions` package provides a self-contained set of components for interacting with MemberJunction Actions: executing them with custom parameter values, viewing results, and editing action parameter definitions and result codes. Unlike other MJ Angular packages, this module has no Kendo UI dependency, making it suitable for any Angular application.
|
|
8
|
+
|
|
9
|
+
```mermaid
|
|
10
|
+
graph TD
|
|
11
|
+
A[ActionsModule] --> B[ActionTestHarnessComponent]
|
|
12
|
+
A --> C[ActionTestHarnessDialogComponent]
|
|
13
|
+
A --> D[ActionParamDialogComponent]
|
|
14
|
+
A --> E[ActionResultCodeDialogComponent]
|
|
15
|
+
|
|
16
|
+
B --> F["Parameter Input
|
|
17
|
+
(dynamic form)"]
|
|
18
|
+
B --> G["Execution & Results"]
|
|
19
|
+
|
|
20
|
+
C --> B
|
|
21
|
+
|
|
22
|
+
style A fill:#2d6a9f,stroke:#1a4971,color:#fff
|
|
23
|
+
style B fill:#7c5295,stroke:#563a6b,color:#fff
|
|
24
|
+
style C fill:#2d8659,stroke:#1a5c3a,color:#fff
|
|
25
|
+
style D fill:#b8762f,stroke:#8a5722,color:#fff
|
|
26
|
+
style E fill:#b8762f,stroke:#8a5722,color:#fff
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Installation
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npm install @memberjunction/ng-actions
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Usage
|
|
36
|
+
|
|
37
|
+
### Module Import
|
|
38
|
+
|
|
39
|
+
```typescript
|
|
40
|
+
import { ActionsModule } from '@memberjunction/ng-actions';
|
|
41
|
+
|
|
42
|
+
@NgModule({
|
|
43
|
+
imports: [ActionsModule]
|
|
44
|
+
})
|
|
45
|
+
export class YourModule { }
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Action Test Harness
|
|
49
|
+
|
|
50
|
+
Embed the test harness for running actions with dynamic parameter input:
|
|
51
|
+
|
|
52
|
+
```html
|
|
53
|
+
<mj-action-test-harness
|
|
54
|
+
[actionId]="selectedActionId"
|
|
55
|
+
(executionComplete)="onExecutionComplete($event)">
|
|
56
|
+
</mj-action-test-harness>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Action Test Harness Dialog
|
|
60
|
+
|
|
61
|
+
Wrap the test harness in a dialog for modal usage:
|
|
62
|
+
|
|
63
|
+
```html
|
|
64
|
+
<mj-action-test-harness-dialog
|
|
65
|
+
[visible]="showDialog"
|
|
66
|
+
[actionId]="selectedActionId"
|
|
67
|
+
(dialogClosed)="onDialogClosed()">
|
|
68
|
+
</mj-action-test-harness-dialog>
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Action Param Dialog
|
|
72
|
+
|
|
73
|
+
Edit action parameter definitions:
|
|
74
|
+
|
|
75
|
+
```html
|
|
76
|
+
<mj-action-param-dialog
|
|
77
|
+
[visible]="showParamDialog"
|
|
78
|
+
[actionParam]="selectedParam"
|
|
79
|
+
(saved)="onParamSaved($event)"
|
|
80
|
+
(cancelled)="onParamCancelled()">
|
|
81
|
+
</mj-action-param-dialog>
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Action Result Code Dialog
|
|
85
|
+
|
|
86
|
+
Edit action result code definitions:
|
|
87
|
+
|
|
88
|
+
```html
|
|
89
|
+
<mj-action-result-code-dialog
|
|
90
|
+
[visible]="showResultCodeDialog"
|
|
91
|
+
[resultCode]="selectedResultCode"
|
|
92
|
+
(saved)="onResultCodeSaved($event)"
|
|
93
|
+
(cancelled)="onResultCodeCancelled()">
|
|
94
|
+
</mj-action-result-code-dialog>
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## Exported Types
|
|
98
|
+
|
|
99
|
+
```typescript
|
|
100
|
+
import {
|
|
101
|
+
ActionsModule,
|
|
102
|
+
ActionTestHarnessComponent,
|
|
103
|
+
ActionParamValue,
|
|
104
|
+
ActionResult,
|
|
105
|
+
ActionTestHarnessDialogComponent,
|
|
106
|
+
ActionParamDialogComponent,
|
|
107
|
+
ActionParamDialogResult,
|
|
108
|
+
ActionResultCodeDialogComponent,
|
|
109
|
+
ActionResultCodeDialogResult
|
|
110
|
+
} from '@memberjunction/ng-actions';
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
## Dependencies
|
|
114
|
+
|
|
115
|
+
| Package | Description |
|
|
116
|
+
|---------|-------------|
|
|
117
|
+
| `@memberjunction/core` | Core framework |
|
|
118
|
+
| `@memberjunction/core-entities` | Entity type definitions |
|
|
119
|
+
| `@memberjunction/global` | Global utilities |
|
|
120
|
+
| `@memberjunction/graphql-dataprovider` | GraphQL data access |
|
|
121
|
+
|
|
122
|
+
### Peer Dependencies
|
|
123
|
+
|
|
124
|
+
- `@angular/common` ^21.x
|
|
125
|
+
- `@angular/core` ^21.x
|
|
126
|
+
- `@angular/forms` ^21.x
|
|
127
|
+
|
|
128
|
+
**Note**: This package does not depend on Kendo UI, making it lightweight and suitable for use in any Angular project.
|
|
129
|
+
|
|
130
|
+
## Build
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
cd packages/Angular/Generic/actions
|
|
134
|
+
npm run build
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
## License
|
|
138
|
+
|
|
139
|
+
ISC
|
|
@@ -56,5 +56,4 @@ export declare class ActionParamDialogComponent implements OnInit {
|
|
|
56
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionParamDialogComponent, never>;
|
|
57
57
|
static ɵcmp: i0.ɵɵComponentDeclaration<ActionParamDialogComponent, "mj-action-param-dialog", never, { "Param": { "alias": "Param"; "required": false; }; "IsNew": { "alias": "IsNew"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; "IsOpen": { "alias": "IsOpen"; "required": false; }; }, { "Close": "Close"; }, never, never, false, never>;
|
|
58
58
|
}
|
|
59
|
-
export declare function LoadActionParamDialogComponent(): void;
|
|
60
59
|
//# sourceMappingURL=action-param-dialog.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-param-dialog.component.d.ts","sourceRoot":"","sources":["../../../src/lib/action-param-dialog/action-param-dialog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,MAAM,WAAW,uBAAuB;IACpC,KAAK,EAAE,iBAAiB,CAAC;IACzB,IAAI,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;GAYG;AACH,
|
|
1
|
+
{"version":3,"file":"action-param-dialog.component.d.ts","sourceRoot":"","sources":["../../../src/lib/action-param-dialog/action-param-dialog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,MAAM,WAAW,uBAAuB;IACpC,KAAK,EAAE,iBAAiB,CAAC;IACzB,IAAI,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;GAYG;AACH,qBAMa,0BAA2B,YAAW,MAAM;IAErD,OAAO,CAAC,MAAM,CAAqB;IACnC,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,OAAO,CAAS;IAExB,IACI,KAAK,CAAC,KAAK,EAAE,iBAAiB,EAKjC;IACD,IAAI,KAAK,IAAI,iBAAiB,CAE7B;IAED,IACI,KAAK,CAAC,KAAK,EAAE,OAAO,EAEvB;IACD,IAAI,KAAK,IAAI,OAAO,CAEnB;IAED,IACI,QAAQ,CAAC,KAAK,EAAE,OAAO,EAE1B;IACD,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED,IACI,MAAM,CAAC,KAAK,EAAE,OAAO,EAQxB;IACD,IAAI,MAAM,IAAI,OAAO,CAEpB;IAES,KAAK,wCAA+C;IAGvD,SAAS,SAAM;IACf,SAAS,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAW;IACjD,SAAS,EAAE,QAAQ,GAAG,eAAe,GAAG,sBAAsB,GAAG,OAAO,GAAG,aAAa,CAAY;IACpG,WAAW,SAAM;IACjB,YAAY,SAAM;IAClB,UAAU,UAAS;IACnB,OAAO,UAAS;IAGhB,UAAU;;;QAMf;IAEK,UAAU;;;QAIf;IAEF,QAAQ,IAAI,IAAI;IAIhB,OAAO,CAAC,eAAe;IAYhB,MAAM,IAAI,IAAI;IAed,QAAQ,IAAI,IAAI;IAKhB,eAAe,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAMxC,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;yCApHhC,0BAA0B;2CAA1B,0BAA0B;CAuHtC"}
|
|
@@ -142,7 +142,7 @@ function ActionParamDialogComponent_Conditional_0_Conditional_37_Conditional_2_T
|
|
|
142
142
|
} }
|
|
143
143
|
function ActionParamDialogComponent_Conditional_0_Conditional_37_Template(rf, ctx) { if (rf & 1) {
|
|
144
144
|
i0.ɵɵelementStart(0, "div", 13);
|
|
145
|
-
i0.ɵɵ
|
|
145
|
+
i0.ɵɵconditionalCreate(1, ActionParamDialogComponent_Conditional_0_Conditional_37_Conditional_1_Template, 2, 1, "code")(2, ActionParamDialogComponent_Conditional_0_Conditional_37_Conditional_2_Template, 2, 0, "span", 33);
|
|
146
146
|
i0.ɵɵelementEnd();
|
|
147
147
|
} if (rf & 2) {
|
|
148
148
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -215,44 +215,44 @@ function ActionParamDialogComponent_Conditional_0_Template(rf, ctx) { if (rf & 1
|
|
|
215
215
|
i0.ɵɵelementEnd()();
|
|
216
216
|
i0.ɵɵelementStart(8, "div", 8)(9, "form", 9)(10, "div", 10)(11, "label");
|
|
217
217
|
i0.ɵɵtext(12, " Parameter Name ");
|
|
218
|
-
i0.ɵɵ
|
|
218
|
+
i0.ɵɵconditionalCreate(13, ActionParamDialogComponent_Conditional_0_Conditional_13_Template, 2, 0, "span", 11);
|
|
219
219
|
i0.ɵɵelementEnd();
|
|
220
|
-
i0.ɵɵ
|
|
220
|
+
i0.ɵɵconditionalCreate(14, ActionParamDialogComponent_Conditional_0_Conditional_14_Template, 1, 1, "input", 12)(15, ActionParamDialogComponent_Conditional_0_Conditional_15_Template, 2, 1, "div", 13);
|
|
221
221
|
i0.ɵɵelementEnd();
|
|
222
222
|
i0.ɵɵelementStart(16, "div", 10)(17, "label");
|
|
223
223
|
i0.ɵɵtext(18, " Type ");
|
|
224
|
-
i0.ɵɵ
|
|
224
|
+
i0.ɵɵconditionalCreate(19, ActionParamDialogComponent_Conditional_0_Conditional_19_Template, 2, 0, "span", 11);
|
|
225
225
|
i0.ɵɵelementEnd();
|
|
226
|
-
i0.ɵɵ
|
|
226
|
+
i0.ɵɵconditionalCreate(20, ActionParamDialogComponent_Conditional_0_Conditional_20_Template, 3, 1, "select", 14)(21, ActionParamDialogComponent_Conditional_0_Conditional_21_Template, 3, 3, "div", 13);
|
|
227
227
|
i0.ɵɵelementEnd();
|
|
228
228
|
i0.ɵɵelementStart(22, "div", 10)(23, "label");
|
|
229
229
|
i0.ɵɵtext(24, " Value Type ");
|
|
230
|
-
i0.ɵɵ
|
|
230
|
+
i0.ɵɵconditionalCreate(25, ActionParamDialogComponent_Conditional_0_Conditional_25_Template, 2, 0, "span", 11);
|
|
231
231
|
i0.ɵɵelementEnd();
|
|
232
|
-
i0.ɵɵ
|
|
232
|
+
i0.ɵɵconditionalCreate(26, ActionParamDialogComponent_Conditional_0_Conditional_26_Template, 3, 1, "select", 15)(27, ActionParamDialogComponent_Conditional_0_Conditional_27_Template, 2, 1, "div", 13);
|
|
233
233
|
i0.ɵɵelementEnd();
|
|
234
234
|
i0.ɵɵelementStart(28, "div", 10)(29, "label");
|
|
235
235
|
i0.ɵɵtext(30, "Description");
|
|
236
236
|
i0.ɵɵelementEnd();
|
|
237
|
-
i0.ɵɵ
|
|
237
|
+
i0.ɵɵconditionalCreate(31, ActionParamDialogComponent_Conditional_0_Conditional_31_Template, 1, 1, "textarea", 16)(32, ActionParamDialogComponent_Conditional_0_Conditional_32_Template, 2, 1, "div", 17);
|
|
238
238
|
i0.ɵɵelementEnd();
|
|
239
239
|
i0.ɵɵelementStart(33, "div", 10)(34, "label");
|
|
240
240
|
i0.ɵɵtext(35, "Default Value");
|
|
241
241
|
i0.ɵɵelementEnd();
|
|
242
|
-
i0.ɵɵ
|
|
242
|
+
i0.ɵɵconditionalCreate(36, ActionParamDialogComponent_Conditional_0_Conditional_36_Template, 1, 1, "input", 18)(37, ActionParamDialogComponent_Conditional_0_Conditional_37_Template, 3, 1, "div", 13);
|
|
243
243
|
i0.ɵɵelementEnd();
|
|
244
244
|
i0.ɵɵelementStart(38, "div", 19)(39, "div", 20)(40, "label", 21);
|
|
245
|
-
i0.ɵɵ
|
|
245
|
+
i0.ɵɵconditionalCreate(41, ActionParamDialogComponent_Conditional_0_Conditional_41_Template, 2, 1)(42, ActionParamDialogComponent_Conditional_0_Conditional_42_Template, 1, 6, "i", 22);
|
|
246
246
|
i0.ɵɵelementStart(43, "span", 23);
|
|
247
247
|
i0.ɵɵtext(44, "Required Parameter");
|
|
248
248
|
i0.ɵɵelementEnd()()();
|
|
249
249
|
i0.ɵɵelementStart(45, "div", 20)(46, "label", 21);
|
|
250
|
-
i0.ɵɵ
|
|
250
|
+
i0.ɵɵconditionalCreate(47, ActionParamDialogComponent_Conditional_0_Conditional_47_Template, 2, 1)(48, ActionParamDialogComponent_Conditional_0_Conditional_48_Template, 1, 6, "i", 22);
|
|
251
251
|
i0.ɵɵelementStart(49, "span", 23);
|
|
252
252
|
i0.ɵɵtext(50, "Array Type");
|
|
253
253
|
i0.ɵɵelementEnd()()()()()();
|
|
254
254
|
i0.ɵɵelementStart(51, "div", 24);
|
|
255
|
-
i0.ɵɵ
|
|
255
|
+
i0.ɵɵconditionalCreate(52, ActionParamDialogComponent_Conditional_0_Conditional_52_Template, 4, 0)(53, ActionParamDialogComponent_Conditional_0_Conditional_53_Template, 2, 0, "button", 25);
|
|
256
256
|
i0.ɵɵelementEnd()()();
|
|
257
257
|
} if (rf & 2) {
|
|
258
258
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -396,15 +396,15 @@ export class ActionParamDialogComponent {
|
|
|
396
396
|
return 'type-' + type.toLowerCase();
|
|
397
397
|
}
|
|
398
398
|
static { this.ɵfac = function ActionParamDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ActionParamDialogComponent)(); }; }
|
|
399
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActionParamDialogComponent, selectors: [["mj-action-param-dialog"]], inputs: { Param: "Param", IsNew: "IsNew", EditMode: "EditMode", IsOpen: "IsOpen" }, outputs: { Close: "Close" }, 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-sliders"], ["title", "Close", 1, "dialog-close-btn", 3, "click"], [1, "fa-solid", "fa-times"], [1, "dialog-content"], [1, "param-form"], [1, "form-field"], [1, "required"], ["type", "text", "name", "paramName", "placeholder", "Enter parameter name...", 1, "form-input", 3, "ngModel"], [1, "readonly-value"], ["name", "paramType", 1, "form-select", 3, "ngModel"], ["name", "valueType", 1, "form-select", 3, "ngModel"], ["name", "description", "rows", "3", "placeholder", "Enter parameter description...", 1, "form-textarea", 3, "ngModel"], [1, "readonly-value", "description"], ["type", "text", "name", "defaultValue", "placeholder", "Enter default value...", 1, "form-input", 3, "ngModel"], [1, "form-field-row"], [1, "checkbox-field"], [1, "checkbox-label"], [1, "fa-solid", 3, "fa-check-circle", "fa-times-circle", "color"], [1, "checkbox-text"], [1, "dialog-footer"], [1, "btn", "btn-primary"], ["type", "text", "name", "paramName", "placeholder", "Enter parameter name...", 1, "form-input", 3, "ngModelChange", "ngModel"], ["name", "paramType", 1, "form-select", 3, "ngModelChange", "ngModel"], [3, "value"], [1, "type-badge"], ["name", "valueType", 1, "form-select", 3, "ngModelChange", "ngModel"], ["name", "description", "rows", "3", "placeholder", "Enter parameter description...", 1, "form-textarea", 3, "ngModelChange", "ngModel"], ["type", "text", "name", "defaultValue", "placeholder", "Enter default value...", 1, "form-input", 3, "ngModelChange", "ngModel"], [1, "no-value"], ["type", "checkbox", "name", "isRequired", 1, "checkbox-input", 3, "ngModelChange", "ngModel"], [1, "checkbox-custom"], [1, "fa-solid"], ["type", "checkbox", "name", "isArray", 1, "checkbox-input", 3, "ngModelChange", "ngModel"], [1, "btn", "btn-outline", 3, "click"], [1, "btn", "btn-primary", 3, "click"]], template: function ActionParamDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
400
|
-
i0.ɵɵ
|
|
399
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActionParamDialogComponent, selectors: [["mj-action-param-dialog"]], inputs: { Param: "Param", IsNew: "IsNew", EditMode: "EditMode", IsOpen: "IsOpen" }, outputs: { Close: "Close" }, standalone: false, 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-sliders"], ["title", "Close", 1, "dialog-close-btn", 3, "click"], [1, "fa-solid", "fa-times"], [1, "dialog-content"], [1, "param-form"], [1, "form-field"], [1, "required"], ["type", "text", "name", "paramName", "placeholder", "Enter parameter name...", 1, "form-input", 3, "ngModel"], [1, "readonly-value"], ["name", "paramType", 1, "form-select", 3, "ngModel"], ["name", "valueType", 1, "form-select", 3, "ngModel"], ["name", "description", "rows", "3", "placeholder", "Enter parameter description...", 1, "form-textarea", 3, "ngModel"], [1, "readonly-value", "description"], ["type", "text", "name", "defaultValue", "placeholder", "Enter default value...", 1, "form-input", 3, "ngModel"], [1, "form-field-row"], [1, "checkbox-field"], [1, "checkbox-label"], [1, "fa-solid", 3, "fa-check-circle", "fa-times-circle", "color"], [1, "checkbox-text"], [1, "dialog-footer"], [1, "btn", "btn-primary"], ["type", "text", "name", "paramName", "placeholder", "Enter parameter name...", 1, "form-input", 3, "ngModelChange", "ngModel"], ["name", "paramType", 1, "form-select", 3, "ngModelChange", "ngModel"], [3, "value"], [1, "type-badge"], ["name", "valueType", 1, "form-select", 3, "ngModelChange", "ngModel"], ["name", "description", "rows", "3", "placeholder", "Enter parameter description...", 1, "form-textarea", 3, "ngModelChange", "ngModel"], ["type", "text", "name", "defaultValue", "placeholder", "Enter default value...", 1, "form-input", 3, "ngModelChange", "ngModel"], [1, "no-value"], ["type", "checkbox", "name", "isRequired", 1, "checkbox-input", 3, "ngModelChange", "ngModel"], [1, "checkbox-custom"], [1, "fa-solid"], ["type", "checkbox", "name", "isArray", 1, "checkbox-input", 3, "ngModelChange", "ngModel"], [1, "btn", "btn-outline", 3, "click"], [1, "btn", "btn-primary", 3, "click"]], template: function ActionParamDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
400
|
+
i0.ɵɵconditionalCreate(0, ActionParamDialogComponent_Conditional_0_Template, 54, 12, "div", 0);
|
|
401
401
|
} if (rf & 2) {
|
|
402
402
|
i0.ɵɵconditional(ctx.IsOpen ? 0 : -1);
|
|
403
403
|
} }, dependencies: [i1.ɵNgNoValidate, i1.NgSelectOption, i1.ɵNgSelectMultipleOption, i1.DefaultValueAccessor, i1.CheckboxControlValueAccessor, i1.SelectControlValueAccessor, i1.NgControlStatus, i1.NgControlStatusGroup, i1.NgModel, i1.NgForm], 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: 500px;\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: 10px;\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 padding: 20px;\n}\n\n.param-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n\n.form-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.form-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n font-weight: 600;\n color: #495057;\n font-size: 0.9em;\n}\n\n.required[_ngcontent-%COMP%] {\n color: #dc3545;\n margin-left: 4px;\n}\n\n.form-input[_ngcontent-%COMP%], \n.form-select[_ngcontent-%COMP%], \n.form-textarea[_ngcontent-%COMP%] {\n width: 100%;\n padding: 10px 12px;\n border: 1px solid #ced4da;\n border-radius: 4px;\n font-family: inherit;\n font-size: 0.95em;\n transition: border-color 0.2s, box-shadow 0.2s;\n background: white;\n}\n\n.form-input[_ngcontent-%COMP%]:focus, \n.form-select[_ngcontent-%COMP%]:focus, \n.form-textarea[_ngcontent-%COMP%]:focus {\n outline: none;\n border-color: #6f42c1;\n box-shadow: 0 0 0 2px rgba(111, 66, 193, 0.1);\n}\n\n.form-textarea[_ngcontent-%COMP%] {\n resize: vertical;\n min-height: 80px;\n}\n\n.readonly-value[_ngcontent-%COMP%] {\n padding: 10px 12px;\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 4px;\n color: #495057;\n}\n\n.readonly-value.description[_ngcontent-%COMP%] {\n line-height: 1.5;\n white-space: pre-wrap;\n}\n\n.readonly-value[_ngcontent-%COMP%] code[_ngcontent-%COMP%] {\n background: #e9ecef;\n padding: 2px 6px;\n border-radius: 3px;\n font-family: 'Courier New', monospace;\n color: #e83e8c;\n}\n\n.no-value[_ngcontent-%COMP%] {\n color: #6c757d;\n font-style: italic;\n}\n\n.type-badge[_ngcontent-%COMP%] {\n display: inline-block;\n padding: 4px 12px;\n border-radius: 12px;\n font-weight: 500;\n font-size: 0.85em;\n}\n\n.type-badge.type-input[_ngcontent-%COMP%] {\n background: #cfe2ff;\n color: #084298;\n}\n\n.type-badge.type-output[_ngcontent-%COMP%] {\n background: #d1e7dd;\n color: #0f5132;\n}\n\n.type-badge.type-both[_ngcontent-%COMP%] {\n background: #e0cffc;\n color: #432874;\n}\n\n.form-field-row[_ngcontent-%COMP%] {\n display: flex;\n gap: 24px;\n margin-top: 8px;\n}\n\n.checkbox-field[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n}\n\n.checkbox-label[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: pointer;\n font-weight: normal;\n margin: 0;\n}\n\n.checkbox-input[_ngcontent-%COMP%] {\n display: none;\n}\n\n.checkbox-custom[_ngcontent-%COMP%] {\n width: 18px;\n height: 18px;\n border: 2px solid #ced4da;\n border-radius: 3px;\n position: relative;\n transition: all 0.2s;\n}\n\n.checkbox-input[_ngcontent-%COMP%]:checked + .checkbox-custom[_ngcontent-%COMP%] {\n background: #6f42c1;\n border-color: #6f42c1;\n}\n\n.checkbox-input[_ngcontent-%COMP%]:checked + .checkbox-custom[_ngcontent-%COMP%]::after {\n content: '';\n position: absolute;\n left: 5px;\n top: 1px;\n width: 4px;\n height: 9px;\n border: solid white;\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n}\n\n.checkbox-text[_ngcontent-%COMP%] {\n font-size: 0.9em;\n color: #495057;\n}\n\n.dialog-footer[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-end;\n gap: 12px;\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-primary[_ngcontent-%COMP%] {\n background: #6f42c1;\n color: white;\n border-color: #6f42c1;\n}\n\n.btn-primary[_ngcontent-%COMP%]:hover {\n background: #5a32a3;\n border-color: #5a32a3;\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 .form-field-row[_ngcontent-%COMP%] {\n flex-direction: column;\n gap: 12px;\n }\n}"] }); }
|
|
404
404
|
}
|
|
405
405
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionParamDialogComponent, [{
|
|
406
406
|
type: Component,
|
|
407
|
-
args: [{ selector: 'mj-action-param-dialog', template: "@if (IsOpen) {\n <div class=\"dialog-backdrop\" (click)=\"OnBackdropClick($event)\">\n <div class=\"dialog-container\">\n <div class=\"dialog-header\">\n <span class=\"dialog-title\">\n <i class=\"fa-solid fa-sliders\"></i>\n {{ IsNew ? 'Add Parameter' : (EditMode ? 'Edit Parameter' : 'Parameter Details') }}\n </span>\n <button class=\"dialog-close-btn\" (click)=\"OnCancel()\" title=\"Close\">\n <i class=\"fa-solid fa-times\"></i>\n </button>\n </div>\n\n <div class=\"dialog-content\">\n <form class=\"param-form\">\n <!-- Parameter Name -->\n <div class=\"form-field\">\n <label>\n Parameter Name\n @if (EditMode) {\n <span class=\"required\">*</span>\n }\n </label>\n @if (EditMode) {\n <input\n type=\"text\"\n [(ngModel)]=\"ParamName\"\n name=\"paramName\"\n placeholder=\"Enter parameter name...\"\n class=\"form-input\">\n } @else {\n <div class=\"readonly-value\">{{ ParamName || 'N/A' }}</div>\n }\n </div>\n\n <!-- Parameter Type -->\n <div class=\"form-field\">\n <label>\n Type\n @if (EditMode) {\n <span class=\"required\">*</span>\n }\n </label>\n @if (EditMode) {\n <select\n [(ngModel)]=\"ParamType\"\n name=\"paramType\"\n class=\"form-select\">\n @for (pt of ParamTypes; track pt.Value) {\n <option [value]=\"pt.Value\">{{ pt.Text }}</option>\n }\n </select>\n } @else {\n <div class=\"readonly-value\">\n <span class=\"type-badge\" [class]=\"GetTypeClass(ParamType)\">\n {{ ParamType }}\n </span>\n </div>\n }\n </div>\n\n <!-- Value Type -->\n <div class=\"form-field\">\n <label>\n Value Type\n @if (EditMode) {\n <span class=\"required\">*</span>\n }\n </label>\n @if (EditMode) {\n <select\n [(ngModel)]=\"ValueType\"\n name=\"valueType\"\n class=\"form-select\">\n @for (vt of ValueTypes; track vt.Value) {\n <option [value]=\"vt.Value\">{{ vt.Text }}</option>\n }\n </select>\n } @else {\n <div class=\"readonly-value\">{{ ValueType }}</div>\n }\n </div>\n\n <!-- Description -->\n <div class=\"form-field\">\n <label>Description</label>\n @if (EditMode) {\n <textarea\n [(ngModel)]=\"Description\"\n name=\"description\"\n rows=\"3\"\n placeholder=\"Enter parameter description...\"\n class=\"form-textarea\"></textarea>\n } @else {\n <div class=\"readonly-value description\">{{ Description || 'No description provided' }}</div>\n }\n </div>\n\n <!-- Default Value -->\n <div class=\"form-field\">\n <label>Default Value</label>\n @if (EditMode) {\n <input\n type=\"text\"\n [(ngModel)]=\"DefaultValue\"\n name=\"defaultValue\"\n placeholder=\"Enter default value...\"\n class=\"form-input\">\n } @else {\n <div class=\"readonly-value\">\n @if (DefaultValue) {\n <code>{{ DefaultValue }}</code>\n } @else {\n <span class=\"no-value\">No default value</span>\n }\n </div>\n }\n </div>\n\n <!-- Checkboxes -->\n <div class=\"form-field-row\">\n <div class=\"checkbox-field\">\n <label class=\"checkbox-label\">\n @if (EditMode) {\n <input\n type=\"checkbox\"\n [(ngModel)]=\"IsRequired\"\n name=\"isRequired\"\n class=\"checkbox-input\">\n <span class=\"checkbox-custom\"></span>\n } @else {\n <i class=\"fa-solid\" [class.fa-check-circle]=\"IsRequired\" [class.fa-times-circle]=\"!IsRequired\"\n [style.color]=\"IsRequired ? '#28a745' : '#6c757d'\"></i>\n }\n <span class=\"checkbox-text\">Required Parameter</span>\n </label>\n </div>\n\n <div class=\"checkbox-field\">\n <label class=\"checkbox-label\">\n @if (EditMode) {\n <input\n type=\"checkbox\"\n [(ngModel)]=\"IsArray\"\n name=\"isArray\"\n class=\"checkbox-input\">\n <span class=\"checkbox-custom\"></span>\n } @else {\n <i class=\"fa-solid\" [class.fa-check-circle]=\"IsArray\" [class.fa-times-circle]=\"!IsArray\"\n [style.color]=\"IsArray ? '#28a745' : '#6c757d'\"></i>\n }\n <span class=\"checkbox-text\">Array Type</span>\n </label>\n </div>\n </div>\n </form>\n </div>\n\n <div class=\"dialog-footer\">\n @if (EditMode) {\n <button class=\"btn btn-outline\" (click)=\"OnCancel()\">Cancel</button>\n <button class=\"btn btn-primary\" (click)=\"OnSave()\">Save</button>\n } @else {\n <button class=\"btn btn-primary\" (click)=\"OnCancel()\">Close</button>\n }\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: 500px;\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: 10px;\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 padding: 20px;\n}\n\n.param-form {\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n\n.form-field {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.form-field label {\n font-weight: 600;\n color: #495057;\n font-size: 0.9em;\n}\n\n.required {\n color: #dc3545;\n margin-left: 4px;\n}\n\n.form-input,\n.form-select,\n.form-textarea {\n width: 100%;\n padding: 10px 12px;\n border: 1px solid #ced4da;\n border-radius: 4px;\n font-family: inherit;\n font-size: 0.95em;\n transition: border-color 0.2s, box-shadow 0.2s;\n background: white;\n}\n\n.form-input:focus,\n.form-select:focus,\n.form-textarea:focus {\n outline: none;\n border-color: #6f42c1;\n box-shadow: 0 0 0 2px rgba(111, 66, 193, 0.1);\n}\n\n.form-textarea {\n resize: vertical;\n min-height: 80px;\n}\n\n.readonly-value {\n padding: 10px 12px;\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 4px;\n color: #495057;\n}\n\n.readonly-value.description {\n line-height: 1.5;\n white-space: pre-wrap;\n}\n\n.readonly-value code {\n background: #e9ecef;\n padding: 2px 6px;\n border-radius: 3px;\n font-family: 'Courier New', monospace;\n color: #e83e8c;\n}\n\n.no-value {\n color: #6c757d;\n font-style: italic;\n}\n\n.type-badge {\n display: inline-block;\n padding: 4px 12px;\n border-radius: 12px;\n font-weight: 500;\n font-size: 0.85em;\n}\n\n.type-badge.type-input {\n background: #cfe2ff;\n color: #084298;\n}\n\n.type-badge.type-output {\n background: #d1e7dd;\n color: #0f5132;\n}\n\n.type-badge.type-both {\n background: #e0cffc;\n color: #432874;\n}\n\n.form-field-row {\n display: flex;\n gap: 24px;\n margin-top: 8px;\n}\n\n.checkbox-field {\n display: flex;\n align-items: center;\n}\n\n.checkbox-label {\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: pointer;\n font-weight: normal;\n margin: 0;\n}\n\n.checkbox-input {\n display: none;\n}\n\n.checkbox-custom {\n width: 18px;\n height: 18px;\n border: 2px solid #ced4da;\n border-radius: 3px;\n position: relative;\n transition: all 0.2s;\n}\n\n.checkbox-input:checked + .checkbox-custom {\n background: #6f42c1;\n border-color: #6f42c1;\n}\n\n.checkbox-input:checked + .checkbox-custom::after {\n content: '';\n position: absolute;\n left: 5px;\n top: 1px;\n width: 4px;\n height: 9px;\n border: solid white;\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n}\n\n.checkbox-text {\n font-size: 0.9em;\n color: #495057;\n}\n\n.dialog-footer {\n display: flex;\n justify-content: flex-end;\n gap: 12px;\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-primary {\n background: #6f42c1;\n color: white;\n border-color: #6f42c1;\n}\n\n.btn-primary:hover {\n background: #5a32a3;\n border-color: #5a32a3;\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 .form-field-row {\n flex-direction: column;\n gap: 12px;\n }\n}\n"] }]
|
|
407
|
+
args: [{ standalone: false, selector: 'mj-action-param-dialog', template: "@if (IsOpen) {\n <div class=\"dialog-backdrop\" (click)=\"OnBackdropClick($event)\">\n <div class=\"dialog-container\">\n <div class=\"dialog-header\">\n <span class=\"dialog-title\">\n <i class=\"fa-solid fa-sliders\"></i>\n {{ IsNew ? 'Add Parameter' : (EditMode ? 'Edit Parameter' : 'Parameter Details') }}\n </span>\n <button class=\"dialog-close-btn\" (click)=\"OnCancel()\" title=\"Close\">\n <i class=\"fa-solid fa-times\"></i>\n </button>\n </div>\n\n <div class=\"dialog-content\">\n <form class=\"param-form\">\n <!-- Parameter Name -->\n <div class=\"form-field\">\n <label>\n Parameter Name\n @if (EditMode) {\n <span class=\"required\">*</span>\n }\n </label>\n @if (EditMode) {\n <input\n type=\"text\"\n [(ngModel)]=\"ParamName\"\n name=\"paramName\"\n placeholder=\"Enter parameter name...\"\n class=\"form-input\">\n } @else {\n <div class=\"readonly-value\">{{ ParamName || 'N/A' }}</div>\n }\n </div>\n\n <!-- Parameter Type -->\n <div class=\"form-field\">\n <label>\n Type\n @if (EditMode) {\n <span class=\"required\">*</span>\n }\n </label>\n @if (EditMode) {\n <select\n [(ngModel)]=\"ParamType\"\n name=\"paramType\"\n class=\"form-select\">\n @for (pt of ParamTypes; track pt.Value) {\n <option [value]=\"pt.Value\">{{ pt.Text }}</option>\n }\n </select>\n } @else {\n <div class=\"readonly-value\">\n <span class=\"type-badge\" [class]=\"GetTypeClass(ParamType)\">\n {{ ParamType }}\n </span>\n </div>\n }\n </div>\n\n <!-- Value Type -->\n <div class=\"form-field\">\n <label>\n Value Type\n @if (EditMode) {\n <span class=\"required\">*</span>\n }\n </label>\n @if (EditMode) {\n <select\n [(ngModel)]=\"ValueType\"\n name=\"valueType\"\n class=\"form-select\">\n @for (vt of ValueTypes; track vt.Value) {\n <option [value]=\"vt.Value\">{{ vt.Text }}</option>\n }\n </select>\n } @else {\n <div class=\"readonly-value\">{{ ValueType }}</div>\n }\n </div>\n\n <!-- Description -->\n <div class=\"form-field\">\n <label>Description</label>\n @if (EditMode) {\n <textarea\n [(ngModel)]=\"Description\"\n name=\"description\"\n rows=\"3\"\n placeholder=\"Enter parameter description...\"\n class=\"form-textarea\"></textarea>\n } @else {\n <div class=\"readonly-value description\">{{ Description || 'No description provided' }}</div>\n }\n </div>\n\n <!-- Default Value -->\n <div class=\"form-field\">\n <label>Default Value</label>\n @if (EditMode) {\n <input\n type=\"text\"\n [(ngModel)]=\"DefaultValue\"\n name=\"defaultValue\"\n placeholder=\"Enter default value...\"\n class=\"form-input\">\n } @else {\n <div class=\"readonly-value\">\n @if (DefaultValue) {\n <code>{{ DefaultValue }}</code>\n } @else {\n <span class=\"no-value\">No default value</span>\n }\n </div>\n }\n </div>\n\n <!-- Checkboxes -->\n <div class=\"form-field-row\">\n <div class=\"checkbox-field\">\n <label class=\"checkbox-label\">\n @if (EditMode) {\n <input\n type=\"checkbox\"\n [(ngModel)]=\"IsRequired\"\n name=\"isRequired\"\n class=\"checkbox-input\">\n <span class=\"checkbox-custom\"></span>\n } @else {\n <i class=\"fa-solid\" [class.fa-check-circle]=\"IsRequired\" [class.fa-times-circle]=\"!IsRequired\"\n [style.color]=\"IsRequired ? '#28a745' : '#6c757d'\"></i>\n }\n <span class=\"checkbox-text\">Required Parameter</span>\n </label>\n </div>\n\n <div class=\"checkbox-field\">\n <label class=\"checkbox-label\">\n @if (EditMode) {\n <input\n type=\"checkbox\"\n [(ngModel)]=\"IsArray\"\n name=\"isArray\"\n class=\"checkbox-input\">\n <span class=\"checkbox-custom\"></span>\n } @else {\n <i class=\"fa-solid\" [class.fa-check-circle]=\"IsArray\" [class.fa-times-circle]=\"!IsArray\"\n [style.color]=\"IsArray ? '#28a745' : '#6c757d'\"></i>\n }\n <span class=\"checkbox-text\">Array Type</span>\n </label>\n </div>\n </div>\n </form>\n </div>\n\n <div class=\"dialog-footer\">\n @if (EditMode) {\n <button class=\"btn btn-outline\" (click)=\"OnCancel()\">Cancel</button>\n <button class=\"btn btn-primary\" (click)=\"OnSave()\">Save</button>\n } @else {\n <button class=\"btn btn-primary\" (click)=\"OnCancel()\">Close</button>\n }\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: 500px;\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: 10px;\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 padding: 20px;\n}\n\n.param-form {\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n\n.form-field {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.form-field label {\n font-weight: 600;\n color: #495057;\n font-size: 0.9em;\n}\n\n.required {\n color: #dc3545;\n margin-left: 4px;\n}\n\n.form-input,\n.form-select,\n.form-textarea {\n width: 100%;\n padding: 10px 12px;\n border: 1px solid #ced4da;\n border-radius: 4px;\n font-family: inherit;\n font-size: 0.95em;\n transition: border-color 0.2s, box-shadow 0.2s;\n background: white;\n}\n\n.form-input:focus,\n.form-select:focus,\n.form-textarea:focus {\n outline: none;\n border-color: #6f42c1;\n box-shadow: 0 0 0 2px rgba(111, 66, 193, 0.1);\n}\n\n.form-textarea {\n resize: vertical;\n min-height: 80px;\n}\n\n.readonly-value {\n padding: 10px 12px;\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 4px;\n color: #495057;\n}\n\n.readonly-value.description {\n line-height: 1.5;\n white-space: pre-wrap;\n}\n\n.readonly-value code {\n background: #e9ecef;\n padding: 2px 6px;\n border-radius: 3px;\n font-family: 'Courier New', monospace;\n color: #e83e8c;\n}\n\n.no-value {\n color: #6c757d;\n font-style: italic;\n}\n\n.type-badge {\n display: inline-block;\n padding: 4px 12px;\n border-radius: 12px;\n font-weight: 500;\n font-size: 0.85em;\n}\n\n.type-badge.type-input {\n background: #cfe2ff;\n color: #084298;\n}\n\n.type-badge.type-output {\n background: #d1e7dd;\n color: #0f5132;\n}\n\n.type-badge.type-both {\n background: #e0cffc;\n color: #432874;\n}\n\n.form-field-row {\n display: flex;\n gap: 24px;\n margin-top: 8px;\n}\n\n.checkbox-field {\n display: flex;\n align-items: center;\n}\n\n.checkbox-label {\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: pointer;\n font-weight: normal;\n margin: 0;\n}\n\n.checkbox-input {\n display: none;\n}\n\n.checkbox-custom {\n width: 18px;\n height: 18px;\n border: 2px solid #ced4da;\n border-radius: 3px;\n position: relative;\n transition: all 0.2s;\n}\n\n.checkbox-input:checked + .checkbox-custom {\n background: #6f42c1;\n border-color: #6f42c1;\n}\n\n.checkbox-input:checked + .checkbox-custom::after {\n content: '';\n position: absolute;\n left: 5px;\n top: 1px;\n width: 4px;\n height: 9px;\n border: solid white;\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n}\n\n.checkbox-text {\n font-size: 0.9em;\n color: #495057;\n}\n\n.dialog-footer {\n display: flex;\n justify-content: flex-end;\n gap: 12px;\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-primary {\n background: #6f42c1;\n color: white;\n border-color: #6f42c1;\n}\n\n.btn-primary:hover {\n background: #5a32a3;\n border-color: #5a32a3;\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 .form-field-row {\n flex-direction: column;\n gap: 12px;\n }\n}\n"] }]
|
|
408
408
|
}], null, { Param: [{
|
|
409
409
|
type: Input
|
|
410
410
|
}], IsNew: [{
|
|
@@ -416,9 +416,5 @@ export class ActionParamDialogComponent {
|
|
|
416
416
|
}], Close: [{
|
|
417
417
|
type: Output
|
|
418
418
|
}] }); })();
|
|
419
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActionParamDialogComponent, { className: "ActionParamDialogComponent", filePath: "lib/action-param-dialog/action-param-dialog.component.ts", lineNumber:
|
|
420
|
-
// Tree-shaking prevention function
|
|
421
|
-
export function LoadActionParamDialogComponent() {
|
|
422
|
-
// This function ensures the component is included in the bundle
|
|
423
|
-
}
|
|
419
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActionParamDialogComponent, { className: "ActionParamDialogComponent", filePath: "lib/action-param-dialog/action-param-dialog.component.ts", lineNumber: 28 }); })();
|
|
424
420
|
//# sourceMappingURL=action-param-dialog.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-param-dialog.component.js","sourceRoot":"","sources":["../../../src/lib/action-param-dialog/action-param-dialog.component.ts","../../../src/lib/action-param-dialog/action-param-dialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAU,MAAM,eAAe,CAAC;;;;;ICoB/C,gCAAuB;IAAA,iBAAC;IAAA,iBAAO;;;;IAInC,iCAKuB;IAHnB,oUAAuB;IAF3B,iBAKuB;;;IAHnB,gDAAuB;;;IAK3B,+BAA4B;IAAA,YAAwB;IAAA,iBAAM;;;IAA9B,cAAwB;IAAxB,+CAAwB;;;IAShD,gCAAuB;IAAA,iBAAC;IAAA,iBAAO;;;IAS3B,kCAA2B;IAAA,YAAa;IAAA,iBAAS;;;IAAzC,mCAAkB;IAAC,cAAa;IAAb,gCAAa;;;;IALhD,kCAGwB;IAFpB,qUAAuB;IAGvB,8HAEC;IACL,iBAAS;;;IANL,gDAAuB;IAGvB,cAEC;IAFD,gCAEC;;;IAID,AADJ,+BAA4B,eACmC;IACvD,YACJ;IACJ,AADI,iBAAO,EACL;;;IAHuB,cAAiC;IAAjC,oDAAiC;IACtD,cACJ;IADI,iDACJ;;;IAUA,gCAAuB;IAAA,iBAAC;IAAA,iBAAO;;;IAS3B,kCAA2B;IAAA,YAAa;IAAA,iBAAS;;;IAAzC,mCAAkB;IAAC,cAAa;IAAb,gCAAa;;;;IALhD,kCAGwB;IAFpB,qUAAuB;IAGvB,8HAEC;IACL,iBAAS;;;IANL,gDAAuB;IAGvB,cAEC;IAFD,gCAEC;;;IAGL,+BAA4B;IAAA,YAAe;IAAA,iBAAM;;;IAArB,cAAe;IAAf,sCAAe;;;;IAQ3C,oCAK0B;IAJtB,2UAAyB;IAIH,iBAAW;;;IAJjC,kDAAyB;;;IAM7B,+BAAwC;IAAA,YAA8C;IAAA,iBAAM;;;IAApD,cAA8C;IAA9C,qEAA8C;;;;IAQtF,iCAKuB;IAHnB,0UAA0B;IAF9B,iBAKuB;;;IAHnB,mDAA0B;;;IAOtB,4BAAM;IAAA,YAAkB;IAAA,iBAAO;;;IAAzB,cAAkB;IAAlB,yCAAkB;;;IAExB,gCAAuB;IAAA,gCAAgB;IAAA,iBAAO;;;IAJtD,+BAA4B;IAGtB,AAFF,
|
|
1
|
+
{"version":3,"file":"action-param-dialog.component.js","sourceRoot":"","sources":["../../../src/lib/action-param-dialog/action-param-dialog.component.ts","../../../src/lib/action-param-dialog/action-param-dialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAU,MAAM,eAAe,CAAC;;;;;ICoB/C,gCAAuB;IAAA,iBAAC;IAAA,iBAAO;;;;IAInC,iCAKuB;IAHnB,oUAAuB;IAF3B,iBAKuB;;;IAHnB,gDAAuB;;;IAK3B,+BAA4B;IAAA,YAAwB;IAAA,iBAAM;;;IAA9B,cAAwB;IAAxB,+CAAwB;;;IAShD,gCAAuB;IAAA,iBAAC;IAAA,iBAAO;;;IAS3B,kCAA2B;IAAA,YAAa;IAAA,iBAAS;;;IAAzC,mCAAkB;IAAC,cAAa;IAAb,gCAAa;;;;IALhD,kCAGwB;IAFpB,qUAAuB;IAGvB,8HAEC;IACL,iBAAS;;;IANL,gDAAuB;IAGvB,cAEC;IAFD,gCAEC;;;IAID,AADJ,+BAA4B,eACmC;IACvD,YACJ;IACJ,AADI,iBAAO,EACL;;;IAHuB,cAAiC;IAAjC,oDAAiC;IACtD,cACJ;IADI,iDACJ;;;IAUA,gCAAuB;IAAA,iBAAC;IAAA,iBAAO;;;IAS3B,kCAA2B;IAAA,YAAa;IAAA,iBAAS;;;IAAzC,mCAAkB;IAAC,cAAa;IAAb,gCAAa;;;;IALhD,kCAGwB;IAFpB,qUAAuB;IAGvB,8HAEC;IACL,iB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tHQ,0BAA0B;oEAA1B,0BAA0B;YC3BvC,8FAAc;;YAAd,qCAwKC;;;iFD7IY,0BAA0B;cANtC,SAAS;6BACI,KAAK,YACL,wBAAwB;;kBAWjC,KAAK;;kBAWL,KAAK;;kBAQL,KAAK;;kBAQL,KAAK;;kBAcL,MAAM;;kFAhDE,0BAA0B"}
|
|
@@ -44,5 +44,4 @@ export declare class ActionResultCodeDialogComponent implements OnInit {
|
|
|
44
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionResultCodeDialogComponent, never>;
|
|
45
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<ActionResultCodeDialogComponent, "mj-action-result-code-dialog", never, { "ResultCode": { "alias": "ResultCode"; "required": false; }; "IsNew": { "alias": "IsNew"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; "IsOpen": { "alias": "IsOpen"; "required": false; }; }, { "Close": "Close"; }, never, never, false, never>;
|
|
46
46
|
}
|
|
47
|
-
export declare function LoadActionResultCodeDialogComponent(): void;
|
|
48
47
|
//# sourceMappingURL=action-result-code-dialog.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-result-code-dialog.component.d.ts","sourceRoot":"","sources":["../../../src/lib/action-result-code-dialog/action-result-code-dialog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,WAAW,4BAA4B;IACzC,UAAU,EAAE,sBAAsB,CAAC;IACnC,IAAI,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;GAYG;AACH,
|
|
1
|
+
{"version":3,"file":"action-result-code-dialog.component.d.ts","sourceRoot":"","sources":["../../../src/lib/action-result-code-dialog/action-result-code-dialog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,WAAW,4BAA4B;IACzC,UAAU,EAAE,sBAAsB,CAAC;IACnC,IAAI,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;GAYG;AACH,qBAMa,+BAAgC,YAAW,MAAM;IAE1D,OAAO,CAAC,WAAW,CAA0B;IAC7C,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,OAAO,CAAS;IAExB,IACI,UAAU,CAAC,KAAK,EAAE,sBAAsB,EAK3C;IACD,IAAI,UAAU,IAAI,sBAAsB,CAEvC;IAED,IACI,KAAK,CAAC,KAAK,EAAE,OAAO,EAEvB;IACD,IAAI,KAAK,IAAI,OAAO,CAEnB;IAED,IACI,QAAQ,CAAC,KAAK,EAAE,OAAO,EAE1B;IACD,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED,IACI,MAAM,CAAC,KAAK,EAAE,OAAO,EAQxB;IACD,IAAI,MAAM,IAAI,OAAO,CAEpB;IAES,KAAK,6CAAoD;IAG5D,IAAI,SAAM;IACV,WAAW,SAAM;IACjB,SAAS,UAAS;IAEzB,QAAQ,IAAI,IAAI;IAIhB,OAAO,CAAC,oBAAoB;IAQrB,MAAM,IAAI,IAAI;IAWd,QAAQ,IAAI,IAAI;IAKhB,eAAe,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAM/C,IAAW,OAAO,IAAI,OAAO,CAE5B;yCA3FQ,+BAA+B;2CAA/B,+BAA+B;CA4F3C"}
|
|
@@ -65,9 +65,9 @@ function ActionResultCodeDialogComponent_Conditional_0_Template(rf, ctx) { if (r
|
|
|
65
65
|
i0.ɵɵtext(23, "Success Status");
|
|
66
66
|
i0.ɵɵelementEnd();
|
|
67
67
|
i0.ɵɵelementStart(24, "div", 15)(25, "label", 16);
|
|
68
|
-
i0.ɵɵ
|
|
68
|
+
i0.ɵɵconditionalCreate(26, ActionResultCodeDialogComponent_Conditional_0_Conditional_26_Template, 2, 1);
|
|
69
69
|
i0.ɵɵelementStart(27, "span", 17);
|
|
70
|
-
i0.ɵɵ
|
|
70
|
+
i0.ɵɵconditionalCreate(28, ActionResultCodeDialogComponent_Conditional_0_Conditional_28_Template, 2, 0)(29, ActionResultCodeDialogComponent_Conditional_0_Conditional_29_Template, 2, 0);
|
|
71
71
|
i0.ɵɵelementEnd()()();
|
|
72
72
|
i0.ɵɵelementStart(30, "div", 12);
|
|
73
73
|
i0.ɵɵtext(31, "Determines if this code represents a successful outcome");
|
|
@@ -76,7 +76,7 @@ function ActionResultCodeDialogComponent_Conditional_0_Template(rf, ctx) { if (r
|
|
|
76
76
|
i0.ɵɵlistener("click", function ActionResultCodeDialogComponent_Conditional_0_Template_button_click_33_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnCancel()); });
|
|
77
77
|
i0.ɵɵtext(34, " Cancel ");
|
|
78
78
|
i0.ɵɵelementEnd();
|
|
79
|
-
i0.ɵɵ
|
|
79
|
+
i0.ɵɵconditionalCreate(35, ActionResultCodeDialogComponent_Conditional_0_Conditional_35_Template, 2, 2, "button", 20);
|
|
80
80
|
i0.ɵɵelementEnd()()();
|
|
81
81
|
} if (rf & 2) {
|
|
82
82
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -185,15 +185,15 @@ export class ActionResultCodeDialogComponent {
|
|
|
185
185
|
return !!this.Code && this.Code.trim().length > 0;
|
|
186
186
|
}
|
|
187
187
|
static { this.ɵfac = function ActionResultCodeDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ActionResultCodeDialogComponent)(); }; }
|
|
188
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActionResultCodeDialogComponent, selectors: [["mj-action-result-code-dialog"]], inputs: { ResultCode: "ResultCode", IsNew: "IsNew", EditMode: "EditMode", IsOpen: "IsOpen" }, outputs: { Close: "Close" }, 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-clipboard-check"], ["title", "Close", 1, "dialog-close-btn", 3, "click"], [1, "fa-solid", "fa-times"], [1, "dialog-content"], [1, "form-group"], [1, "form-label", "required"], ["type", "text", "placeholder", "Enter result code (e.g., SUCCESS, ERROR_TIMEOUT)", 1, "form-input", 3, "ngModelChange", "ngModel", "disabled"], [1, "form-hint"], [1, "form-label"], ["rows", "3", "placeholder", "Describe what this result code means", 1, "form-textarea", 3, "ngModelChange", "ngModel", "disabled"], [1, "checkbox-wrapper"], [1, "checkbox-label"], [1, "checkbox-text"], [1, "dialog-footer"], [1, "btn", "btn-outline", 3, "click"], [1, "btn", "btn-primary", 3, "disabled"], ["type", "checkbox", 1, "checkbox-input", 3, "ngModelChange", "ngModel"], [1, "checkbox-custom"], [1, "fa-solid", "fa-check-circle", "success-icon"], [1, "fa-solid", "fa-times-circle", "error-icon"], [1, "btn", "btn-primary", 3, "click", "disabled"]], template: function ActionResultCodeDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
189
|
-
i0.ɵɵ
|
|
188
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActionResultCodeDialogComponent, selectors: [["mj-action-result-code-dialog"]], inputs: { ResultCode: "ResultCode", IsNew: "IsNew", EditMode: "EditMode", IsOpen: "IsOpen" }, outputs: { Close: "Close" }, standalone: false, 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-clipboard-check"], ["title", "Close", 1, "dialog-close-btn", 3, "click"], [1, "fa-solid", "fa-times"], [1, "dialog-content"], [1, "form-group"], [1, "form-label", "required"], ["type", "text", "placeholder", "Enter result code (e.g., SUCCESS, ERROR_TIMEOUT)", 1, "form-input", 3, "ngModelChange", "ngModel", "disabled"], [1, "form-hint"], [1, "form-label"], ["rows", "3", "placeholder", "Describe what this result code means", 1, "form-textarea", 3, "ngModelChange", "ngModel", "disabled"], [1, "checkbox-wrapper"], [1, "checkbox-label"], [1, "checkbox-text"], [1, "dialog-footer"], [1, "btn", "btn-outline", 3, "click"], [1, "btn", "btn-primary", 3, "disabled"], ["type", "checkbox", 1, "checkbox-input", 3, "ngModelChange", "ngModel"], [1, "checkbox-custom"], [1, "fa-solid", "fa-check-circle", "success-icon"], [1, "fa-solid", "fa-times-circle", "error-icon"], [1, "btn", "btn-primary", 3, "click", "disabled"]], template: function ActionResultCodeDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
189
|
+
i0.ɵɵconditionalCreate(0, ActionResultCodeDialogComponent_Conditional_0_Template, 36, 8, "div", 0);
|
|
190
190
|
} if (rf & 2) {
|
|
191
191
|
i0.ɵɵconditional(ctx.IsOpen ? 0 : -1);
|
|
192
192
|
} }, dependencies: [i1.DefaultValueAccessor, i1.CheckboxControlValueAccessor, i1.NgControlStatus, i1.NgModel], 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: 500px;\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: 10px;\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 padding: 20px;\n}\n\n.form-group[_ngcontent-%COMP%] {\n margin-bottom: 20px;\n}\n\n.form-group[_ngcontent-%COMP%]:last-child {\n margin-bottom: 0;\n}\n\n.form-label[_ngcontent-%COMP%] {\n display: block;\n margin-bottom: 6px;\n font-weight: 500;\n color: #333;\n font-size: 0.9rem;\n}\n\n.form-label.required[_ngcontent-%COMP%]::after {\n content: ' *';\n color: #dc3545;\n}\n\n.form-input[_ngcontent-%COMP%], \n.form-textarea[_ngcontent-%COMP%] {\n width: 100%;\n padding: 10px 12px;\n border: 1px solid #ced4da;\n border-radius: 4px;\n font-family: inherit;\n font-size: 0.95em;\n transition: border-color 0.2s, box-shadow 0.2s;\n background: white;\n}\n\n.form-input[_ngcontent-%COMP%]:disabled, \n.form-textarea[_ngcontent-%COMP%]:disabled {\n background: #f8f9fa;\n cursor: not-allowed;\n}\n\n.form-input[_ngcontent-%COMP%]:focus, \n.form-textarea[_ngcontent-%COMP%]:focus {\n outline: none;\n border-color: #6f42c1;\n box-shadow: 0 0 0 2px rgba(111, 66, 193, 0.1);\n}\n\n.form-textarea[_ngcontent-%COMP%] {\n resize: vertical;\n min-height: 80px;\n}\n\n.form-hint[_ngcontent-%COMP%] {\n margin-top: 4px;\n font-size: 0.85rem;\n color: #6c757d;\n}\n\n.checkbox-wrapper[_ngcontent-%COMP%] {\n margin-top: 8px;\n}\n\n.checkbox-label[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n}\n\n.checkbox-input[_ngcontent-%COMP%] {\n display: none;\n}\n\n.checkbox-custom[_ngcontent-%COMP%] {\n width: 18px;\n height: 18px;\n border: 2px solid #ced4da;\n border-radius: 3px;\n position: relative;\n transition: all 0.2s;\n flex-shrink: 0;\n}\n\n.checkbox-input[_ngcontent-%COMP%]:checked + .checkbox-custom[_ngcontent-%COMP%] {\n background: #6f42c1;\n border-color: #6f42c1;\n}\n\n.checkbox-input[_ngcontent-%COMP%]:checked + .checkbox-custom[_ngcontent-%COMP%]::after {\n content: '';\n position: absolute;\n left: 5px;\n top: 1px;\n width: 4px;\n height: 9px;\n border: solid white;\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n}\n\n.checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 0.95rem;\n}\n\n.success-icon[_ngcontent-%COMP%] {\n color: #28a745;\n}\n\n.error-icon[_ngcontent-%COMP%] {\n color: #dc3545;\n}\n\n.dialog-footer[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-end;\n gap: 12px;\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[_ngcontent-%COMP%]:disabled {\n opacity: 0.65;\n cursor: not-allowed;\n}\n\n.btn-primary[_ngcontent-%COMP%] {\n background: #6f42c1;\n color: white;\n border-color: #6f42c1;\n}\n\n.btn-primary[_ngcontent-%COMP%]:hover:not(:disabled) {\n background: #5a32a3;\n border-color: #5a32a3;\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}"] }); }
|
|
193
193
|
}
|
|
194
194
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionResultCodeDialogComponent, [{
|
|
195
195
|
type: Component,
|
|
196
|
-
args: [{ selector: 'mj-action-result-code-dialog', template: "@if (IsOpen) {\n <div class=\"dialog-backdrop\" (click)=\"OnBackdropClick($event)\">\n <div class=\"dialog-container\">\n <div class=\"dialog-header\">\n <span class=\"dialog-title\">\n <i class=\"fa-solid fa-clipboard-check\"></i>\n {{ IsNew ? 'Add' : 'Edit' }} Result Code\n </span>\n <button class=\"dialog-close-btn\" (click)=\"OnCancel()\" title=\"Close\">\n <i class=\"fa-solid fa-times\"></i>\n </button>\n </div>\n\n <div class=\"dialog-content\">\n <div class=\"form-group\">\n <label class=\"form-label required\">Result Code</label>\n <input\n type=\"text\"\n [(ngModel)]=\"Code\"\n [disabled]=\"!EditMode\"\n placeholder=\"Enter result code (e.g., SUCCESS, ERROR_TIMEOUT)\"\n class=\"form-input\">\n <div class=\"form-hint\">A unique code that identifies this result type</div>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\">Description</label>\n <textarea\n [(ngModel)]=\"Description\"\n [disabled]=\"!EditMode\"\n rows=\"3\"\n placeholder=\"Describe what this result code means\"\n class=\"form-textarea\"></textarea>\n <div class=\"form-hint\">Explain when this result code is returned</div>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\">Success Status</label>\n <div class=\"checkbox-wrapper\">\n <label class=\"checkbox-label\">\n @if (EditMode) {\n <input\n type=\"checkbox\"\n [(ngModel)]=\"IsSuccess\"\n class=\"checkbox-input\">\n <span class=\"checkbox-custom\"></span>\n }\n <span class=\"checkbox-text\">\n @if (IsSuccess) {\n <i class=\"fa-solid fa-check-circle success-icon\"></i>\n This result indicates successful execution\n } @else {\n <i class=\"fa-solid fa-times-circle error-icon\"></i>\n This result indicates failed or partial execution\n }\n </span>\n </label>\n </div>\n <div class=\"form-hint\">Determines if this code represents a successful outcome</div>\n </div>\n </div>\n\n <div class=\"dialog-footer\">\n <button class=\"btn btn-outline\" (click)=\"OnCancel()\">\n Cancel\n </button>\n @if (EditMode) {\n <button class=\"btn btn-primary\" (click)=\"OnSave()\" [disabled]=\"!CanSave\">\n {{ IsNew ? 'Add' : 'Save' }}\n </button>\n }\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: 500px;\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: 10px;\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 padding: 20px;\n}\n\n.form-group {\n margin-bottom: 20px;\n}\n\n.form-group:last-child {\n margin-bottom: 0;\n}\n\n.form-label {\n display: block;\n margin-bottom: 6px;\n font-weight: 500;\n color: #333;\n font-size: 0.9rem;\n}\n\n.form-label.required::after {\n content: ' *';\n color: #dc3545;\n}\n\n.form-input,\n.form-textarea {\n width: 100%;\n padding: 10px 12px;\n border: 1px solid #ced4da;\n border-radius: 4px;\n font-family: inherit;\n font-size: 0.95em;\n transition: border-color 0.2s, box-shadow 0.2s;\n background: white;\n}\n\n.form-input:disabled,\n.form-textarea:disabled {\n background: #f8f9fa;\n cursor: not-allowed;\n}\n\n.form-input:focus,\n.form-textarea:focus {\n outline: none;\n border-color: #6f42c1;\n box-shadow: 0 0 0 2px rgba(111, 66, 193, 0.1);\n}\n\n.form-textarea {\n resize: vertical;\n min-height: 80px;\n}\n\n.form-hint {\n margin-top: 4px;\n font-size: 0.85rem;\n color: #6c757d;\n}\n\n.checkbox-wrapper {\n margin-top: 8px;\n}\n\n.checkbox-label {\n display: flex;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n}\n\n.checkbox-input {\n display: none;\n}\n\n.checkbox-custom {\n width: 18px;\n height: 18px;\n border: 2px solid #ced4da;\n border-radius: 3px;\n position: relative;\n transition: all 0.2s;\n flex-shrink: 0;\n}\n\n.checkbox-input:checked + .checkbox-custom {\n background: #6f42c1;\n border-color: #6f42c1;\n}\n\n.checkbox-input:checked + .checkbox-custom::after {\n content: '';\n position: absolute;\n left: 5px;\n top: 1px;\n width: 4px;\n height: 9px;\n border: solid white;\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n}\n\n.checkbox-text {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 0.95rem;\n}\n\n.success-icon {\n color: #28a745;\n}\n\n.error-icon {\n color: #dc3545;\n}\n\n.dialog-footer {\n display: flex;\n justify-content: flex-end;\n gap: 12px;\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:disabled {\n opacity: 0.65;\n cursor: not-allowed;\n}\n\n.btn-primary {\n background: #6f42c1;\n color: white;\n border-color: #6f42c1;\n}\n\n.btn-primary:hover:not(:disabled) {\n background: #5a32a3;\n border-color: #5a32a3;\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"] }]
|
|
196
|
+
args: [{ standalone: false, selector: 'mj-action-result-code-dialog', template: "@if (IsOpen) {\n <div class=\"dialog-backdrop\" (click)=\"OnBackdropClick($event)\">\n <div class=\"dialog-container\">\n <div class=\"dialog-header\">\n <span class=\"dialog-title\">\n <i class=\"fa-solid fa-clipboard-check\"></i>\n {{ IsNew ? 'Add' : 'Edit' }} Result Code\n </span>\n <button class=\"dialog-close-btn\" (click)=\"OnCancel()\" title=\"Close\">\n <i class=\"fa-solid fa-times\"></i>\n </button>\n </div>\n\n <div class=\"dialog-content\">\n <div class=\"form-group\">\n <label class=\"form-label required\">Result Code</label>\n <input\n type=\"text\"\n [(ngModel)]=\"Code\"\n [disabled]=\"!EditMode\"\n placeholder=\"Enter result code (e.g., SUCCESS, ERROR_TIMEOUT)\"\n class=\"form-input\">\n <div class=\"form-hint\">A unique code that identifies this result type</div>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\">Description</label>\n <textarea\n [(ngModel)]=\"Description\"\n [disabled]=\"!EditMode\"\n rows=\"3\"\n placeholder=\"Describe what this result code means\"\n class=\"form-textarea\"></textarea>\n <div class=\"form-hint\">Explain when this result code is returned</div>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\">Success Status</label>\n <div class=\"checkbox-wrapper\">\n <label class=\"checkbox-label\">\n @if (EditMode) {\n <input\n type=\"checkbox\"\n [(ngModel)]=\"IsSuccess\"\n class=\"checkbox-input\">\n <span class=\"checkbox-custom\"></span>\n }\n <span class=\"checkbox-text\">\n @if (IsSuccess) {\n <i class=\"fa-solid fa-check-circle success-icon\"></i>\n This result indicates successful execution\n } @else {\n <i class=\"fa-solid fa-times-circle error-icon\"></i>\n This result indicates failed or partial execution\n }\n </span>\n </label>\n </div>\n <div class=\"form-hint\">Determines if this code represents a successful outcome</div>\n </div>\n </div>\n\n <div class=\"dialog-footer\">\n <button class=\"btn btn-outline\" (click)=\"OnCancel()\">\n Cancel\n </button>\n @if (EditMode) {\n <button class=\"btn btn-primary\" (click)=\"OnSave()\" [disabled]=\"!CanSave\">\n {{ IsNew ? 'Add' : 'Save' }}\n </button>\n }\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: 500px;\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: 10px;\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 padding: 20px;\n}\n\n.form-group {\n margin-bottom: 20px;\n}\n\n.form-group:last-child {\n margin-bottom: 0;\n}\n\n.form-label {\n display: block;\n margin-bottom: 6px;\n font-weight: 500;\n color: #333;\n font-size: 0.9rem;\n}\n\n.form-label.required::after {\n content: ' *';\n color: #dc3545;\n}\n\n.form-input,\n.form-textarea {\n width: 100%;\n padding: 10px 12px;\n border: 1px solid #ced4da;\n border-radius: 4px;\n font-family: inherit;\n font-size: 0.95em;\n transition: border-color 0.2s, box-shadow 0.2s;\n background: white;\n}\n\n.form-input:disabled,\n.form-textarea:disabled {\n background: #f8f9fa;\n cursor: not-allowed;\n}\n\n.form-input:focus,\n.form-textarea:focus {\n outline: none;\n border-color: #6f42c1;\n box-shadow: 0 0 0 2px rgba(111, 66, 193, 0.1);\n}\n\n.form-textarea {\n resize: vertical;\n min-height: 80px;\n}\n\n.form-hint {\n margin-top: 4px;\n font-size: 0.85rem;\n color: #6c757d;\n}\n\n.checkbox-wrapper {\n margin-top: 8px;\n}\n\n.checkbox-label {\n display: flex;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n}\n\n.checkbox-input {\n display: none;\n}\n\n.checkbox-custom {\n width: 18px;\n height: 18px;\n border: 2px solid #ced4da;\n border-radius: 3px;\n position: relative;\n transition: all 0.2s;\n flex-shrink: 0;\n}\n\n.checkbox-input:checked + .checkbox-custom {\n background: #6f42c1;\n border-color: #6f42c1;\n}\n\n.checkbox-input:checked + .checkbox-custom::after {\n content: '';\n position: absolute;\n left: 5px;\n top: 1px;\n width: 4px;\n height: 9px;\n border: solid white;\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n}\n\n.checkbox-text {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 0.95rem;\n}\n\n.success-icon {\n color: #28a745;\n}\n\n.error-icon {\n color: #dc3545;\n}\n\n.dialog-footer {\n display: flex;\n justify-content: flex-end;\n gap: 12px;\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:disabled {\n opacity: 0.65;\n cursor: not-allowed;\n}\n\n.btn-primary {\n background: #6f42c1;\n color: white;\n border-color: #6f42c1;\n}\n\n.btn-primary:hover:not(:disabled) {\n background: #5a32a3;\n border-color: #5a32a3;\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"] }]
|
|
197
197
|
}], null, { ResultCode: [{
|
|
198
198
|
type: Input
|
|
199
199
|
}], IsNew: [{
|
|
@@ -205,9 +205,5 @@ export class ActionResultCodeDialogComponent {
|
|
|
205
205
|
}], Close: [{
|
|
206
206
|
type: Output
|
|
207
207
|
}] }); })();
|
|
208
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActionResultCodeDialogComponent, { className: "ActionResultCodeDialogComponent", filePath: "lib/action-result-code-dialog/action-result-code-dialog.component.ts", lineNumber:
|
|
209
|
-
// Tree-shaking prevention function
|
|
210
|
-
export function LoadActionResultCodeDialogComponent() {
|
|
211
|
-
// This function ensures the component is included in the bundle
|
|
212
|
-
}
|
|
208
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActionResultCodeDialogComponent, { className: "ActionResultCodeDialogComponent", filePath: "lib/action-result-code-dialog/action-result-code-dialog.component.ts", lineNumber: 28 }); })();
|
|
213
209
|
//# sourceMappingURL=action-result-code-dialog.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-result-code-dialog.component.js","sourceRoot":"","sources":["../../../src/lib/action-result-code-dialog/action-result-code-dialog.component.ts","../../../src/lib/action-result-code-dialog/action-result-code-dialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAU,MAAM,eAAe,CAAC;;;;;ICyC/C,iCAG2B;IADvB,yUAAuB;IAF3B,iBAG2B;IAC3B,2BAAqC;;;IAFjC,gDAAuB;;;IAMvB,wBAAqD;IACrD,4DACJ;;;IACI,wBAAmD;IACnD,mEACJ;;;;IAaZ,kCAAyE;IAAzC,mNAAS,eAAQ,KAAC;IAC9C,YACJ;IAAA,iBAAS;;;IAF0C,0CAAqB;IACpE,cACJ;IADI,8DACJ;;;;IApEhB,8BAA+D;IAAlC,sMAAS,8BAAuB,KAAC;IAGlD,AADJ,AADJ,8BAA8B,aACC,cACI;IACvB,uBAA2C;IAC3C,YACJ;IAAA,iBAAO;IACP,iCAAoE;IAAnC,mMAAS,iBAAU,KAAC;IACjD,uBAAiC;IAEzC,AADI,iBAAS,EACP;IAIE,AADJ,AADJ,8BAA4B,aACA,iBACe;IAAA,4BAAW;IAAA,iBAAQ;IACtD,kCAKuB;IAHnB,gTAAkB;IAFtB,iBAKuB;IACvB,gCAAuB;IAAA,+DAA8C;IACzE,AADyE,iBAAM,EACzE;IAGF,AADJ,+BAAwB,iBACM;IAAA,4BAAW;IAAA,iBAAQ;IAC7C,qCAK0B;IAJtB,iUAAyB;IAIH,iBAAW;IACrC,gCAAuB;IAAA,0DAAyC;IACpE,AADoE,iBAAM,EACpE;IAGF,AADJ,+BAAwB,iBACM;IAAA,+BAAc;IAAA,iBAAQ;IAE5C,AADJ,gCAA8B,iBACI;IAC1B,
|
|
1
|
+
{"version":3,"file":"action-result-code-dialog.component.js","sourceRoot":"","sources":["../../../src/lib/action-result-code-dialog/action-result-code-dialog.component.ts","../../../src/lib/action-result-code-dialog/action-result-code-dialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAU,MAAM,eAAe,CAAC;;;;;ICyC/C,iCAG2B;IADvB,yUAAuB;IAF3B,iBAG2B;IAC3B,2BAAqC;;;IAFjC,gDAA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,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;IACtD,CAAC;gIA3FQ,+BAA+B;oEAA/B,+BAA+B;YC3B5C,kGAAc;;YAAd,qCA0EC;;;iFD/CY,+BAA+B;cAN3C,SAAS;6BACI,KAAK,YACL,8BAA8B;;kBAWvC,KAAK;;kBAWL,KAAK;;kBAQL,KAAK;;kBAQL,KAAK;;kBAcL,MAAM;;kFAhDE,+BAA+B"}
|
|
@@ -66,5 +66,4 @@ export declare class ActionTestHarnessComponent implements OnInit {
|
|
|
66
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionTestHarnessComponent, never>;
|
|
67
67
|
static ɵcmp: i0.ɵɵComponentDeclaration<ActionTestHarnessComponent, "mj-action-test-harness", never, { "Action": { "alias": "Action"; "required": false; }; "ActionParams": { "alias": "ActionParams"; "required": false; }; "IsVisible": { "alias": "IsVisible"; "required": false; }; }, { "VisibilityChange": "VisibilityChange"; "ExecutionComplete": "ExecutionComplete"; }, never, never, false, never>;
|
|
68
68
|
}
|
|
69
|
-
export declare function LoadActionTestHarnessComponent(): void;
|
|
70
69
|
//# sourceMappingURL=action-test-harness.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-test-harness.component.d.ts","sourceRoot":"","sources":["../../../src/lib/action-test-harness/action-test-harness.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAa,MAAM,eAAe,CAAC;AACzH,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAkB,MAAM,+BAA+B,CAAC;;AAOhG,MAAM,WAAW,gBAAgB;IAC7B,KAAK,EAAE,iBAAiB,CAAC;IACzB,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,YAAY;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,
|
|
1
|
+
{"version":3,"file":"action-test-harness.component.d.ts","sourceRoot":"","sources":["../../../src/lib/action-test-harness/action-test-harness.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAa,MAAM,eAAe,CAAC;AACzH,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAkB,MAAM,+BAA+B,CAAC;;AAOhG,MAAM,WAAW,gBAAgB;IAC7B,KAAK,EAAE,iBAAiB,CAAC;IACzB,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,YAAY;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,qBAMa,0BAA2B,YAAW,MAAM;IAqDjD,OAAO,CAAC,GAAG;IApDc,iBAAiB,EAAG,UAAU,CAAC,cAAc,CAAC,CAAC;IAG5E,OAAO,CAAC,OAAO,CAAgB;IAC/B,OAAO,CAAC,aAAa,CAA2B;IAChD,OAAO,CAAC,UAAU,CAAS;IAG3B,IACI,MAAM,CAAC,KAAK,EAAE,YAAY,EAK7B;IACD,IAAI,MAAM,IAAI,YAAY,CAEzB;IAED,IACI,YAAY,CAAC,KAAK,EAAE,iBAAiB,EAAE,EAK1C;IACD,IAAI,YAAY,IAAI,iBAAiB,EAAE,CAEtC;IAED,IACI,SAAS,CAAC,KAAK,EAAE,OAAO,EAE3B;IACD,IAAI,SAAS,IAAI,OAAO,CAEvB;IAES,gBAAgB,wBAA+B;IAC/C,iBAAiB,6BAAoC;IAGxD,WAAW,EAAE,gBAAgB,EAAE,CAAM;IACrC,WAAW,UAAS;IACpB,eAAe,EAAE,YAAY,GAAG,IAAI,CAAQ;IAC5C,cAAc,EAAE,MAAM,GAAG,IAAI,CAAQ;IACrC,aAAa,SAAK;IAClB,aAAa,UAAS;IACtB,aAAa,UAAS;IACtB,eAAe,UAAS;gBAGnB,GAAG,EAAE,iBAAiB;IAGlC,QAAQ,IAAI,IAAI;IAIhB,OAAO,CAAC,qBAAqB;IAuB7B;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAwBxB;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAmBxB,OAAO,CAAC,eAAe;IAsBvB,OAAO,CAAC,iBAAiB;IAalB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM;IAoB9C,kBAAkB,CAAC,UAAU,EAAE,gBAAgB,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI;IA4BpE,oBAAoB,CAAC,UAAU,EAAE,gBAAgB,GAAG,MAAM;IAY1D,cAAc,IAAI,OAAO;IAuBnB,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC;IAqI3C,OAAO,CAAC,eAAe;IAShB,qBAAqB,IAAI,IAAI;IAI7B,YAAY,IAAI,IAAI;IAMpB,WAAW,IAAI,IAAI;IAKnB,qBAAqB,IAAI,IAAI;IAS7B,yBAAyB,IAAI,IAAI;IASjC,aAAa,IAAI,MAAM;IAKvB,cAAc,IAAI,MAAM;IAKxB,eAAe,IAAI,iBAAiB,EAAE;IAItC,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAM9C,gBAAgB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM;yCA7brC,0BAA0B;2CAA1B,0BAA0B;CAoctC"}
|
|
@@ -110,11 +110,15 @@ function ActionTestHarnessComponent_Conditional_16_Conditional_1_For_2_Condition
|
|
|
110
110
|
function ActionTestHarnessComponent_Conditional_16_Conditional_1_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
111
111
|
i0.ɵɵelementStart(0, "div", 23)(1, "label");
|
|
112
112
|
i0.ɵɵtext(2);
|
|
113
|
-
i0.ɵɵ
|
|
113
|
+
i0.ɵɵconditionalCreate(3, ActionTestHarnessComponent_Conditional_16_Conditional_1_For_2_Conditional_3_Template, 2, 0, "span", 24);
|
|
114
|
+
i0.ɵɵconditionalCreate(4, ActionTestHarnessComponent_Conditional_16_Conditional_1_For_2_Conditional_4_Template, 2, 0, "span", 25);
|
|
114
115
|
i0.ɵɵelementStart(5, "span", 26);
|
|
115
116
|
i0.ɵɵtext(6);
|
|
116
117
|
i0.ɵɵelementEnd()();
|
|
117
|
-
i0.ɵɵ
|
|
118
|
+
i0.ɵɵconditionalCreate(7, ActionTestHarnessComponent_Conditional_16_Conditional_1_For_2_Conditional_7_Template, 2, 1, "div", 27);
|
|
119
|
+
i0.ɵɵconditionalCreate(8, ActionTestHarnessComponent_Conditional_16_Conditional_1_For_2_Case_8_Template, 1, 2, "textarea", 28)(9, ActionTestHarnessComponent_Conditional_16_Conditional_1_For_2_Case_9_Template, 2, 1, "div", 29)(10, ActionTestHarnessComponent_Conditional_16_Conditional_1_For_2_Case_10_Template, 1, 1, "input", 30)(11, ActionTestHarnessComponent_Conditional_16_Conditional_1_For_2_Case_11_Template, 1, 1, "input", 31)(12, ActionTestHarnessComponent_Conditional_16_Conditional_1_For_2_Case_12_Template, 1, 1, "input", 32);
|
|
120
|
+
i0.ɵɵconditionalCreate(13, ActionTestHarnessComponent_Conditional_16_Conditional_1_For_2_Conditional_13_Template, 3, 1, "div", 33);
|
|
121
|
+
i0.ɵɵconditionalCreate(14, ActionTestHarnessComponent_Conditional_16_Conditional_1_For_2_Conditional_14_Template, 2, 1, "div", 34);
|
|
118
122
|
i0.ɵɵelementEnd();
|
|
119
123
|
} if (rf & 2) {
|
|
120
124
|
let tmp_19_0;
|
|
@@ -148,7 +152,7 @@ function ActionTestHarnessComponent_Conditional_16_Conditional_1_Template(rf, ct
|
|
|
148
152
|
i0.ɵɵrepeater(ctx_r0.ParamValues);
|
|
149
153
|
} }
|
|
150
154
|
function ActionTestHarnessComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
151
|
-
i0.ɵɵ
|
|
155
|
+
i0.ɵɵconditionalCreate(0, ActionTestHarnessComponent_Conditional_16_Conditional_0_Template, 4, 0, "div", 19)(1, ActionTestHarnessComponent_Conditional_16_Conditional_1_Template, 3, 0, "div", 20);
|
|
152
156
|
} if (rf & 2) {
|
|
153
157
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
154
158
|
i0.ɵɵconditional(ctx_r0.ParamValues.length === 0 ? 0 : 1);
|
|
@@ -282,7 +286,7 @@ function ActionTestHarnessComponent_Conditional_25_Conditional_12_Conditional_7_
|
|
|
282
286
|
i0.ɵɵtextInterpolate(ctx_r0.FormatResultData(ctx_r0.ExecutionResult.ResultData));
|
|
283
287
|
} }
|
|
284
288
|
function ActionTestHarnessComponent_Conditional_25_Conditional_12_Conditional_7_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
285
|
-
i0.ɵɵ
|
|
289
|
+
i0.ɵɵconditionalCreate(0, ActionTestHarnessComponent_Conditional_25_Conditional_12_Conditional_7_Conditional_8_Conditional_0_Template, 3, 0, "div", 71)(1, ActionTestHarnessComponent_Conditional_25_Conditional_12_Conditional_7_Conditional_8_Conditional_1_Template, 8, 1, "div", 62);
|
|
286
290
|
} if (rf & 2) {
|
|
287
291
|
const ctx_r0 = i0.ɵɵnextContext(4);
|
|
288
292
|
i0.ɵɵconditional(ctx_r0.GetOutputParams().length > 0 ? 0 : 1);
|
|
@@ -297,7 +301,7 @@ function ActionTestHarnessComponent_Conditional_25_Conditional_12_Conditional_7_
|
|
|
297
301
|
i0.ɵɵelement(5, "i", 66);
|
|
298
302
|
i0.ɵɵtext(6);
|
|
299
303
|
i0.ɵɵelementEnd()();
|
|
300
|
-
i0.ɵɵ
|
|
304
|
+
i0.ɵɵconditionalCreate(7, ActionTestHarnessComponent_Conditional_25_Conditional_12_Conditional_7_Conditional_7_Template, 8, 1, "div", 62)(8, ActionTestHarnessComponent_Conditional_25_Conditional_12_Conditional_7_Conditional_8_Template, 2, 1);
|
|
301
305
|
i0.ɵɵelementEnd();
|
|
302
306
|
} if (rf & 2) {
|
|
303
307
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
@@ -314,9 +318,10 @@ function ActionTestHarnessComponent_Conditional_25_Conditional_12_Template(rf, c
|
|
|
314
318
|
i0.ɵɵelementStart(3, "span");
|
|
315
319
|
i0.ɵɵtext(4);
|
|
316
320
|
i0.ɵɵelementEnd();
|
|
317
|
-
i0.ɵɵ
|
|
321
|
+
i0.ɵɵconditionalCreate(5, ActionTestHarnessComponent_Conditional_25_Conditional_12_Conditional_5_Template, 2, 1, "span", 58);
|
|
318
322
|
i0.ɵɵelementEnd();
|
|
319
|
-
i0.ɵɵ
|
|
323
|
+
i0.ɵɵconditionalCreate(6, ActionTestHarnessComponent_Conditional_25_Conditional_12_Conditional_6_Template, 7, 1, "div", 59);
|
|
324
|
+
i0.ɵɵconditionalCreate(7, ActionTestHarnessComponent_Conditional_25_Conditional_12_Conditional_7_Template, 9, 6, "div", 60);
|
|
320
325
|
i0.ɵɵelementEnd();
|
|
321
326
|
} if (rf & 2) {
|
|
322
327
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -343,9 +348,10 @@ function ActionTestHarnessComponent_Conditional_25_Template(rf, ctx) { if (rf &
|
|
|
343
348
|
i0.ɵɵelement(8, "i", 48);
|
|
344
349
|
i0.ɵɵtext(9);
|
|
345
350
|
i0.ɵɵelementEnd();
|
|
346
|
-
i0.ɵɵ
|
|
351
|
+
i0.ɵɵconditionalCreate(10, ActionTestHarnessComponent_Conditional_25_Conditional_10_Template, 6, 1);
|
|
347
352
|
i0.ɵɵelementEnd()();
|
|
348
|
-
i0.ɵɵ
|
|
353
|
+
i0.ɵɵconditionalCreate(11, ActionTestHarnessComponent_Conditional_25_Conditional_11_Template, 7, 1, "div", 49);
|
|
354
|
+
i0.ɵɵconditionalCreate(12, ActionTestHarnessComponent_Conditional_25_Conditional_12_Template, 8, 10, "div", 50);
|
|
349
355
|
i0.ɵɵelementEnd();
|
|
350
356
|
} if (rf & 2) {
|
|
351
357
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -769,7 +775,7 @@ export class ActionTestHarnessComponent {
|
|
|
769
775
|
} if (rf & 2) {
|
|
770
776
|
let _t;
|
|
771
777
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.ResultsSectionRef = _t.first);
|
|
772
|
-
} }, inputs: { Action: "Action", ActionParams: "ActionParams", IsVisible: "IsVisible" }, outputs: { VisibilityChange: "VisibilityChange", ExecutionComplete: "ExecutionComplete" }, decls: 26, vars: 14, consts: [["resultsSection", ""], [1, "action-test-harness"], [1, "harness-header"], [1, "fa-solid", "fa-flask"], [1, "header-actions"], [1, "toggle-label"], ["type", "checkbox", 1, "toggle-checkbox", 3, "ngModelChange", "ngModel"], [1, "toggle-slider"], [1, "parameters-section"], [1, "section-header", "clickable", 3, "click"], [1, "fa-solid", "fa-sliders"], [1, "param-count"], [1, "collapse-icon", "fa-solid"], [1, "action-buttons"], [1, "btn", "btn-primary", "btn-large", 3, "click", "disabled"], [1, "btn", "btn-outline", 3, "click"], [1, "fa-solid", "fa-undo"], [1, "btn", "btn-outline"], [1, "results-section"], [1, "no-params"], [1, "params-grid"], [1, "fa-solid", "fa-inbox"], [1, "param-field", 3, "required", "error"], [1, "param-field"], [1, "required-indicator"], [1, "array-badge"], [1, "value-type"], [1, "param-description"], ["rows", "4", 1, "param-input", 3, "value", "placeholder"], [1, "checkbox-wrapper"], ["type", "number", "placeholder", "Enter number", 1, "param-input", 3, "value"], ["type", "datetime-local", 1, "param-input", 3, "value"], ["type", "text", "placeholder", "Enter value", 1, "param-input", 3, "value"], [1, "field-error"], [1, "default-hint"], ["rows", "4", 1, "param-input", 3, "change", "value", "placeholder"], ["type", "checkbox", 1, "param-checkbox", 3, "change", "checked"], ["type", "number", "placeholder", "Enter number", 1, "param-input", 3, "change", "value"], ["type", "datetime-local", 1, "param-input", 3, "change", "value"], ["type", "text", "placeholder", "Enter value", 1, "param-input", 3, "change", "value"], [1, "fa-solid", "fa-exclamation-circle"], [1, "fa-solid", "fa-spinner", "fa-spin"], [1, "fa-solid", "fa-play"], [1, "fa-solid", "fa-trash"], [1, "results-header"], [1, "fa-solid", "fa-poll"], [1, "execution-meta"], [1, "execution-time"], [1, "fa-solid", "fa-clock"], [1, "error-result"], [1, "success-result", 3, "failure"], [1, "btn", "btn-flat", "btn-small", 3, "click"], [1, "fa-solid", "fa-copy"], [1, "fa-solid", "fa-code"], [1, "fa-solid", "fa-exclamation-triangle"], [1, "error-content"], [1, "success-result"], [1, "status-banner"], [1, "result-code"], [1, "result-message"], [1, "result-data"], [1, "fa-solid", "fa-message"], [1, "code-editor-container"], [1, "code-editor"], [1, "fa-solid", "fa-database"], [1, "btn", "btn-flat", "btn-small", "toggle-view-btn", 3, "click"], [1, "fa-solid"], [1, "code-editor-header"], [1, "language-badge"], [1, "btn", "btn-flat", "btn-small", "copy-btn", 3, "click"], [1, "code-editor", "json"], [1, "output-params"], [1, "output-param"], [1, "fa-solid", "fa-tag"], [1, "code-editor-container", "compact"]], template: function ActionTestHarnessComponent_Template(rf, ctx) { if (rf & 1) {
|
|
778
|
+
} }, inputs: { Action: "Action", ActionParams: "ActionParams", IsVisible: "IsVisible" }, outputs: { VisibilityChange: "VisibilityChange", ExecutionComplete: "ExecutionComplete" }, standalone: false, decls: 26, vars: 14, consts: [["resultsSection", ""], [1, "action-test-harness"], [1, "harness-header"], [1, "fa-solid", "fa-flask"], [1, "header-actions"], [1, "toggle-label"], ["type", "checkbox", 1, "toggle-checkbox", 3, "ngModelChange", "ngModel"], [1, "toggle-slider"], [1, "parameters-section"], [1, "section-header", "clickable", 3, "click"], [1, "fa-solid", "fa-sliders"], [1, "param-count"], [1, "collapse-icon", "fa-solid"], [1, "action-buttons"], [1, "btn", "btn-primary", "btn-large", 3, "click", "disabled"], [1, "btn", "btn-outline", 3, "click"], [1, "fa-solid", "fa-undo"], [1, "btn", "btn-outline"], [1, "results-section"], [1, "no-params"], [1, "params-grid"], [1, "fa-solid", "fa-inbox"], [1, "param-field", 3, "required", "error"], [1, "param-field"], [1, "required-indicator"], [1, "array-badge"], [1, "value-type"], [1, "param-description"], ["rows", "4", 1, "param-input", 3, "value", "placeholder"], [1, "checkbox-wrapper"], ["type", "number", "placeholder", "Enter number", 1, "param-input", 3, "value"], ["type", "datetime-local", 1, "param-input", 3, "value"], ["type", "text", "placeholder", "Enter value", 1, "param-input", 3, "value"], [1, "field-error"], [1, "default-hint"], ["rows", "4", 1, "param-input", 3, "change", "value", "placeholder"], ["type", "checkbox", 1, "param-checkbox", 3, "change", "checked"], ["type", "number", "placeholder", "Enter number", 1, "param-input", 3, "change", "value"], ["type", "datetime-local", 1, "param-input", 3, "change", "value"], ["type", "text", "placeholder", "Enter value", 1, "param-input", 3, "change", "value"], [1, "fa-solid", "fa-exclamation-circle"], [1, "fa-solid", "fa-spinner", "fa-spin"], [1, "fa-solid", "fa-play"], [1, "fa-solid", "fa-trash"], [1, "results-header"], [1, "fa-solid", "fa-poll"], [1, "execution-meta"], [1, "execution-time"], [1, "fa-solid", "fa-clock"], [1, "error-result"], [1, "success-result", 3, "failure"], [1, "btn", "btn-flat", "btn-small", 3, "click"], [1, "fa-solid", "fa-copy"], [1, "fa-solid", "fa-code"], [1, "fa-solid", "fa-exclamation-triangle"], [1, "error-content"], [1, "success-result"], [1, "status-banner"], [1, "result-code"], [1, "result-message"], [1, "result-data"], [1, "fa-solid", "fa-message"], [1, "code-editor-container"], [1, "code-editor"], [1, "fa-solid", "fa-database"], [1, "btn", "btn-flat", "btn-small", "toggle-view-btn", 3, "click"], [1, "fa-solid"], [1, "code-editor-header"], [1, "language-badge"], [1, "btn", "btn-flat", "btn-small", "copy-btn", 3, "click"], [1, "code-editor", "json"], [1, "output-params"], [1, "output-param"], [1, "fa-solid", "fa-tag"], [1, "code-editor-container", "compact"]], template: function ActionTestHarnessComponent_Template(rf, ctx) { if (rf & 1) {
|
|
773
779
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h3");
|
|
774
780
|
i0.ɵɵelement(3, "i", 3);
|
|
775
781
|
i0.ɵɵtext(4);
|
|
@@ -784,23 +790,23 @@ export class ActionTestHarnessComponent {
|
|
|
784
790
|
i0.ɵɵlistener("click", function ActionTestHarnessComponent_Template_h4_click_11_listener() { return ctx.ToggleInputsCollapsed(); });
|
|
785
791
|
i0.ɵɵelement(12, "i", 10);
|
|
786
792
|
i0.ɵɵtext(13, " Input Parameters ");
|
|
787
|
-
i0.ɵɵ
|
|
793
|
+
i0.ɵɵconditionalCreate(14, ActionTestHarnessComponent_Conditional_14_Template, 2, 1, "span", 11);
|
|
788
794
|
i0.ɵɵelement(15, "i", 12);
|
|
789
795
|
i0.ɵɵelementEnd();
|
|
790
|
-
i0.ɵɵ
|
|
796
|
+
i0.ɵɵconditionalCreate(16, ActionTestHarnessComponent_Conditional_16_Template, 2, 1);
|
|
791
797
|
i0.ɵɵelementEnd();
|
|
792
798
|
i0.ɵɵelementStart(17, "div", 13)(18, "button", 14);
|
|
793
799
|
i0.ɵɵlistener("click", function ActionTestHarnessComponent_Template_button_click_18_listener() { return ctx.ExecuteAction(); });
|
|
794
|
-
i0.ɵɵ
|
|
800
|
+
i0.ɵɵconditionalCreate(19, ActionTestHarnessComponent_Conditional_19_Template, 2, 0)(20, ActionTestHarnessComponent_Conditional_20_Template, 2, 0);
|
|
795
801
|
i0.ɵɵelementEnd();
|
|
796
802
|
i0.ɵɵelementStart(21, "button", 15);
|
|
797
803
|
i0.ɵɵlistener("click", function ActionTestHarnessComponent_Template_button_click_21_listener() { return ctx.ResetParams(); });
|
|
798
804
|
i0.ɵɵelement(22, "i", 16);
|
|
799
805
|
i0.ɵɵtext(23, " Reset ");
|
|
800
806
|
i0.ɵɵelementEnd();
|
|
801
|
-
i0.ɵɵ
|
|
807
|
+
i0.ɵɵconditionalCreate(24, ActionTestHarnessComponent_Conditional_24_Template, 3, 0, "button", 17);
|
|
802
808
|
i0.ɵɵelementEnd();
|
|
803
|
-
i0.ɵɵ
|
|
809
|
+
i0.ɵɵconditionalCreate(25, ActionTestHarnessComponent_Conditional_25_Template, 13, 4, "div", 18);
|
|
804
810
|
i0.ɵɵelementEnd();
|
|
805
811
|
} if (rf & 2) {
|
|
806
812
|
i0.ɵɵadvance(4);
|
|
@@ -827,7 +833,7 @@ export class ActionTestHarnessComponent {
|
|
|
827
833
|
}
|
|
828
834
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionTestHarnessComponent, [{
|
|
829
835
|
type: Component,
|
|
830
|
-
args: [{ selector: 'mj-action-test-harness', template: "<div class=\"action-test-harness\">\n <div class=\"harness-header\">\n <h3>\n <i class=\"fa-solid fa-flask\"></i>\n Test Harness for {{ Action.Name }}\n </h3>\n <div class=\"header-actions\">\n <label class=\"toggle-label\">\n <input type=\"checkbox\"\n [(ngModel)]=\"SkipActionLog\"\n class=\"toggle-checkbox\">\n <span class=\"toggle-slider\"></span>\n Skip Action Log\n </label>\n </div>\n </div>\n\n <!-- Input Parameters Section -->\n <div class=\"parameters-section\" [class.collapsed]=\"InputsCollapsed\">\n <h4 class=\"section-header clickable\" (click)=\"ToggleInputsCollapsed()\">\n <i class=\"fa-solid fa-sliders\"></i>\n Input Parameters\n @if (ParamValues.length > 0) {\n <span class=\"param-count\">({{ ParamValues.length }})</span>\n }\n <i class=\"collapse-icon fa-solid\" [class.fa-chevron-down]=\"InputsCollapsed\" [class.fa-chevron-up]=\"!InputsCollapsed\"></i>\n </h4>\n\n @if (!InputsCollapsed) {\n @if (ParamValues.length === 0) {\n <div class=\"no-params\">\n <i class=\"fa-solid fa-inbox\"></i>\n <p>This action has no input parameters</p>\n </div>\n } @else {\n <div class=\"params-grid\">\n @for (paramValue of ParamValues; track paramValue.Param.ID) {\n <div class=\"param-field\" [class.required]=\"paramValue.Param.IsRequired\" [class.error]=\"paramValue.Error\">\n <label>\n {{ paramValue.Param.Name }}\n @if (paramValue.Param.IsRequired) {\n <span class=\"required-indicator\">*</span>\n }\n @if (paramValue.Param.IsArray) {\n <span class=\"array-badge\">Array</span>\n }\n <span class=\"value-type\">{{ paramValue.Param.ValueType }}</span>\n </label>\n\n @if (paramValue.Param.Description) {\n <div class=\"param-description\">{{ paramValue.Param.Description }}</div>\n }\n\n @switch (GetInputType(paramValue.Param)) {\n @case ('textarea') {\n <textarea\n [value]=\"GetParamDisplayValue(paramValue)\"\n (change)=\"OnParamValueChange(paramValue, $event)\"\n [placeholder]=\"paramValue.Param.IsArray ? 'Enter JSON array' : paramValue.Param.ValueType === 'Simple Object' ? 'Enter JSON object' : 'Enter value'\"\n rows=\"4\"\n class=\"param-input\"></textarea>\n }\n @case ('checkbox') {\n <div class=\"checkbox-wrapper\">\n <input\n type=\"checkbox\"\n [checked]=\"paramValue.Value\"\n (change)=\"OnParamValueChange(paramValue, $event)\"\n class=\"param-checkbox\">\n </div>\n }\n @case ('number') {\n <input\n type=\"number\"\n [value]=\"paramValue.Value\"\n (change)=\"OnParamValueChange(paramValue, $event)\"\n placeholder=\"Enter number\"\n class=\"param-input\">\n }\n @case ('datetime-local') {\n <input\n type=\"datetime-local\"\n [value]=\"paramValue.Value\"\n (change)=\"OnParamValueChange(paramValue, $event)\"\n class=\"param-input\">\n }\n @default {\n <input\n type=\"text\"\n [value]=\"paramValue.Value || ''\"\n (change)=\"OnParamValueChange(paramValue, $event)\"\n placeholder=\"Enter value\"\n class=\"param-input\">\n }\n }\n\n @if (paramValue.Error) {\n <div class=\"field-error\">\n <i class=\"fa-solid fa-exclamation-circle\"></i>\n {{ paramValue.Error }}\n </div>\n }\n\n @if (paramValue.Param.DefaultValue && !paramValue.Value) {\n <div class=\"default-hint\">\n Default: {{ paramValue.Param.DefaultValue }}\n </div>\n }\n </div>\n }\n </div>\n }\n }\n </div>\n\n <!-- Action Buttons -->\n <div class=\"action-buttons\">\n <button\n class=\"btn btn-primary btn-large\"\n (click)=\"ExecuteAction()\"\n [disabled]=\"IsExecuting || Action.Status !== 'Active'\">\n @if (IsExecuting) {\n <i class=\"fa-solid fa-spinner fa-spin\"></i> Executing...\n } @else {\n <i class=\"fa-solid fa-play\"></i> Execute Action\n }\n </button>\n\n <button\n class=\"btn btn-outline\"\n (click)=\"ResetParams()\">\n <i class=\"fa-solid fa-undo\"></i> Reset\n </button>\n\n @if (ExecutionResult || ExecutionError) {\n <button\n class=\"btn btn-outline\"\n (click)=\"ClearResults()\">\n <i class=\"fa-solid fa-trash\"></i> Clear Results\n </button>\n }\n </div>\n\n <!-- Results Section -->\n @if (ExecutionResult || ExecutionError) {\n <div class=\"results-section\" #resultsSection>\n <div class=\"results-header\">\n <h4>\n <i class=\"fa-solid fa-poll\"></i>\n Execution Results\n </h4>\n <div class=\"execution-meta\">\n <span class=\"execution-time\">\n <i class=\"fa-solid fa-clock\"></i>\n {{ ExecutionTime }}ms\n </span>\n @if (ExecutionResult) {\n <button\n class=\"btn btn-flat btn-small\"\n (click)=\"CopyResultToClipboard()\">\n <i class=\"fa-solid fa-copy\"></i> Copy\n </button>\n <button\n class=\"btn btn-flat btn-small\"\n (click)=\"ShowRawResult = !ShowRawResult\">\n <i class=\"fa-solid fa-code\"></i>\n {{ ShowRawResult ? 'Hide' : 'Show' }} Raw\n </button>\n }\n </div>\n </div>\n\n @if (ExecutionError) {\n <div class=\"error-result\">\n <i class=\"fa-solid fa-exclamation-triangle\"></i>\n <div class=\"error-content\">\n <h5>Execution Error</h5>\n <p>{{ ExecutionError }}</p>\n </div>\n </div>\n }\n\n @if (ExecutionResult) {\n <div class=\"success-result\" [class.failure]=\"!ExecutionResult.Success\">\n <!-- Status Banner -->\n <div class=\"status-banner\" [style.background-color]=\"GetResultColor()\">\n <i [class]=\"'fa-solid ' + GetResultIcon()\"></i>\n <span>{{ ExecutionResult.Success ? 'Success' : 'Failed' }}</span>\n @if (ExecutionResult.ResultCode) {\n <span class=\"result-code\">{{ ExecutionResult.ResultCode }}</span>\n }\n </div>\n\n <!-- Message -->\n @if (ExecutionResult.Message) {\n <div class=\"result-message\">\n <h5>\n <i class=\"fa-solid fa-message\"></i> Message\n </h5>\n <div class=\"code-editor-container\">\n <pre class=\"code-editor\">{{ ExecutionResult.Message }}</pre>\n </div>\n </div>\n }\n\n <!-- Result Data -->\n @if (ExecutionResult.ResultData !== null && ExecutionResult.ResultData !== undefined) {\n <div class=\"result-data\">\n <h5>\n <i class=\"fa-solid fa-database\"></i> Result Data\n <button\n class=\"btn btn-flat btn-small toggle-view-btn\"\n (click)=\"ShowRawResult = !ShowRawResult\">\n <i class=\"fa-solid\" [class.fa-code]=\"!ShowRawResult\" [class.fa-list]=\"ShowRawResult\"></i>\n {{ ShowRawResult ? 'Formatted View' : 'Raw JSON' }}\n </button>\n </h5>\n @if (ShowRawResult) {\n <div class=\"code-editor-container\">\n <div class=\"code-editor-header\">\n <span class=\"language-badge\">JSON</span>\n <button\n class=\"btn btn-flat btn-small copy-btn\"\n (click)=\"CopyResultDataToClipboard()\">\n <i class=\"fa-solid fa-copy\"></i>\n </button>\n </div>\n <pre class=\"code-editor json\">{{ FormatResultData(ExecutionResult.ResultData) }}</pre>\n </div>\n } @else {\n <!-- Output Parameters Mapping -->\n @if (GetOutputParams().length > 0) {\n <div class=\"output-params\">\n @for (outputParam of GetOutputParams(); track outputParam.ID) {\n <div class=\"output-param\">\n <label>\n <i class=\"fa-solid fa-tag\"></i> {{ outputParam.Name }}\n </label>\n <div class=\"code-editor-container compact\">\n <pre class=\"code-editor\">{{ GetOutputParamValue(outputParam.Name) }}</pre>\n </div>\n </div>\n }\n </div>\n } @else {\n <div class=\"code-editor-container\">\n <div class=\"code-editor-header\">\n <span class=\"language-badge\">JSON</span>\n <button\n class=\"btn btn-flat btn-small copy-btn\"\n (click)=\"CopyResultDataToClipboard()\">\n <i class=\"fa-solid fa-copy\"></i>\n </button>\n </div>\n <pre class=\"code-editor json\">{{ FormatResultData(ExecutionResult.ResultData) }}</pre>\n </div>\n }\n }\n </div>\n }\n </div>\n }\n </div>\n }\n</div>\n", styles: [".action-test-harness {\n background: white;\n border-radius: 8px;\n padding: 24px;\n max-width: 100%;\n margin: 0;\n width: 100%;\n box-sizing: border-box;\n}\n\n/* Ensure all child elements use border-box */\n.action-test-harness * {\n box-sizing: border-box;\n}\n\n/* Header */\n.harness-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 20px;\n padding-bottom: 16px;\n border-bottom: 2px solid #e9ecef;\n flex-wrap: wrap;\n gap: 12px;\n}\n\n.harness-header h3 {\n margin: 0;\n color: #2c3e50;\n display: flex;\n align-items: center;\n gap: 12px;\n}\n\n.harness-header h3 i {\n color: #6f42c1;\n}\n\n.header-actions {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n/* Toggle Switch */\n.toggle-label {\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: pointer;\n font-size: 0.9em;\n color: #495057;\n}\n\n.toggle-checkbox {\n display: none;\n}\n\n.toggle-slider {\n position: relative;\n width: 36px;\n height: 20px;\n background: #dee2e6;\n border-radius: 10px;\n transition: background 0.2s;\n}\n\n.toggle-slider::before {\n content: '';\n position: absolute;\n top: 2px;\n left: 2px;\n width: 16px;\n height: 16px;\n background: white;\n border-radius: 50%;\n transition: transform 0.2s;\n box-shadow: 0 1px 3px rgba(0,0,0,0.2);\n}\n\n.toggle-checkbox:checked + .toggle-slider {\n background: #6f42c1;\n}\n\n.toggle-checkbox:checked + .toggle-slider::before {\n transform: translateX(16px);\n}\n\n/* Parameters Section */\n.parameters-section {\n margin-bottom: 20px;\n width: 100%;\n overflow-x: auto;\n border: 1px solid #e9ecef;\n border-radius: 6px;\n background: #fff;\n}\n\n.parameters-section.collapsed {\n margin-bottom: 12px;\n}\n\n.parameters-section h4.section-header {\n margin: 0;\n padding: 12px 16px;\n color: #495057;\n display: flex;\n align-items: center;\n gap: 8px;\n background: #f8f9fa;\n border-radius: 6px 6px 0 0;\n}\n\n.parameters-section.collapsed h4.section-header {\n border-radius: 6px;\n}\n\n.section-header.clickable {\n cursor: pointer;\n user-select: none;\n}\n\n.section-header.clickable:hover {\n background: #e9ecef;\n}\n\n.param-count {\n color: #6c757d;\n font-weight: 400;\n font-size: 0.9em;\n}\n\n.collapse-icon {\n margin-left: auto;\n color: #6c757d;\n font-size: 0.85em;\n transition: transform 0.2s ease;\n}\n\n.no-params {\n text-align: center;\n padding: 40px 16px;\n color: #6c757d;\n}\n\n.no-params i {\n font-size: 2.5em;\n margin-bottom: 12px;\n opacity: 0.3;\n display: block;\n}\n\n.params-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n gap: 16px;\n width: 100%;\n padding: 16px;\n}\n\n.param-field {\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 6px;\n padding: 12px;\n transition: all 0.2s;\n min-width: 0;\n overflow: hidden;\n}\n\n.param-field:hover {\n border-color: #dee2e6;\n box-shadow: 0 2px 4px rgba(0,0,0,0.05);\n}\n\n.param-field.required {\n border-left: 3px solid #ffc107;\n}\n\n.param-field.error {\n border-color: #dc3545;\n background: #f8d7da20;\n}\n\n.param-field label {\n display: flex;\n align-items: center;\n gap: 6px;\n margin-bottom: 8px;\n font-weight: 600;\n color: #495057;\n flex-wrap: wrap;\n font-size: 0.95em;\n}\n\n.required-indicator {\n color: #dc3545;\n}\n\n.array-badge {\n background: #6f42c1;\n color: white;\n padding: 2px 6px;\n border-radius: 10px;\n font-size: 0.75em;\n font-weight: 500;\n}\n\n.value-type {\n margin-left: auto;\n color: #6c757d;\n font-size: 0.8em;\n font-weight: 400;\n white-space: nowrap;\n}\n\n.param-description {\n color: #6c757d;\n font-size: 0.9em;\n margin-bottom: 8px;\n line-height: 1.4;\n}\n\n.param-input {\n width: 100%;\n padding: 8px 12px;\n border: 1px solid #ced4da;\n border-radius: 4px;\n font-family: inherit;\n font-size: 0.95em;\n transition: border-color 0.2s;\n box-sizing: border-box;\n max-width: 100%;\n}\n\n.param-input:focus {\n outline: none;\n border-color: #80bdff;\n box-shadow: 0 0 0 2px rgba(0,123,255,0.1);\n}\n\ntextarea.param-input {\n resize: vertical;\n font-family: 'Courier New', monospace;\n font-size: 0.9em;\n}\n\n.checkbox-wrapper {\n padding: 8px 0;\n}\n\n.param-checkbox {\n width: 20px;\n height: 20px;\n cursor: pointer;\n}\n\n.field-error {\n margin-top: 6px;\n color: #dc3545;\n font-size: 0.85em;\n display: flex;\n align-items: center;\n gap: 4px;\n}\n\n.default-hint {\n margin-top: 6px;\n color: #6c757d;\n font-size: 0.85em;\n font-style: italic;\n}\n\n/* Buttons */\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:disabled {\n opacity: 0.65;\n cursor: not-allowed;\n}\n\n.btn-primary {\n background: #6f42c1;\n color: white;\n border-color: #6f42c1;\n}\n\n.btn-primary:hover:not(:disabled) {\n background: #5a32a3;\n border-color: #5a32a3;\n}\n\n.btn-outline {\n background: white;\n color: #495057;\n border-color: #ced4da;\n}\n\n.btn-outline:hover:not(:disabled) {\n background: #f8f9fa;\n border-color: #adb5bd;\n}\n\n.btn-flat {\n background: transparent;\n color: #6c757d;\n border: none;\n padding: 4px 8px;\n}\n\n.btn-flat:hover:not(:disabled) {\n background: rgba(0,0,0,0.05);\n color: #495057;\n}\n\n.btn-large {\n padding: 12px 24px;\n font-size: 1em;\n}\n\n.btn-small {\n padding: 4px 8px;\n font-size: 0.85em;\n}\n\n/* Action Buttons */\n.action-buttons {\n display: flex;\n gap: 12px;\n margin-bottom: 24px;\n padding: 16px;\n background: #f8f9fa;\n border-radius: 6px;\n align-items: center;\n flex-wrap: wrap;\n}\n\n/* Results Section */\n.results-section {\n border: 2px solid #e9ecef;\n border-radius: 8px;\n overflow: hidden;\n margin-top: 20px;\n}\n\n.results-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 16px 20px;\n background: #f8f9fa;\n border-bottom: 1px solid #e9ecef;\n}\n\n.results-header h4 {\n margin: 0;\n color: #495057;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.execution-meta {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n\n.execution-time {\n color: #6c757d;\n font-size: 0.9em;\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n/* Error Result */\n.error-result {\n padding: 20px;\n background: #f8d7da;\n display: flex;\n gap: 16px;\n align-items: flex-start;\n}\n\n.error-result > i {\n font-size: 1.5em;\n color: #dc3545;\n flex-shrink: 0;\n}\n\n.error-content h5 {\n margin: 0 0 8px 0;\n color: #721c24;\n}\n\n.error-content p {\n margin: 0;\n color: #721c24;\n}\n\n/* Success Result */\n.success-result {\n background: white;\n}\n\n.success-result.failure .status-banner {\n background: #dc3545 !important;\n}\n\n.status-banner {\n padding: 16px 20px;\n color: white;\n display: flex;\n align-items: center;\n gap: 12px;\n font-weight: 600;\n font-size: 1.1em;\n}\n\n.status-banner i {\n font-size: 1.2em;\n}\n\n.result-code {\n margin-left: auto;\n background: rgba(255,255,255,0.2);\n padding: 4px 10px;\n border-radius: 12px;\n font-size: 0.9em;\n}\n\n.result-message {\n padding: 20px;\n border-bottom: 1px solid #e9ecef;\n}\n\n.result-message h5 {\n margin: 0 0 12px 0;\n color: #495057;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.result-message h5 i {\n color: #17a2b8;\n}\n\n.result-message p {\n margin: 0;\n color: #6c757d;\n line-height: 1.5;\n}\n\n.result-message .code-editor-container {\n margin-bottom: 0;\n}\n\n.result-message .code-editor {\n color: #e8e8e8;\n background: #2d2d30;\n max-height: 200px;\n overflow-y: auto;\n}\n\n/* Result Data */\n.result-data {\n padding: 20px;\n}\n\n.result-data h5 {\n margin: 0 0 16px 0;\n color: #495057;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.result-data h5 i {\n color: #6f42c1;\n}\n\n.toggle-view-btn {\n margin-left: auto;\n font-size: 0.85em;\n}\n\n.raw-data {\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 4px;\n padding: 16px;\n margin: 0;\n font-family: 'Courier New', monospace;\n font-size: 0.9em;\n overflow-x: auto;\n white-space: pre-wrap;\n word-break: break-word;\n}\n\n/* Code Editor Styles */\n.code-editor-container {\n background: #1e1e1e;\n border-radius: 6px;\n overflow: hidden;\n margin-bottom: 16px;\n}\n\n.code-editor-container.compact {\n margin-bottom: 0;\n}\n\n.code-editor-header {\n background: #2d2d30;\n padding: 8px 12px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n border-bottom: 1px solid #3e3e42;\n}\n\n.language-badge {\n background: #007acc;\n color: white;\n padding: 2px 8px;\n border-radius: 3px;\n font-size: 0.75em;\n font-weight: 600;\n text-transform: uppercase;\n}\n\n.copy-btn {\n color: #cccccc;\n padding: 4px 8px;\n min-width: auto;\n}\n\n.copy-btn:hover {\n color: #ffffff;\n background: rgba(255, 255, 255, 0.1);\n}\n\n.code-editor {\n background: #1e1e1e;\n color: #d4d4d4;\n border: none;\n border-radius: 0;\n padding: 16px;\n margin: 0;\n font-family: 'Consolas', 'Monaco', 'Courier New', monospace;\n font-size: 13px;\n line-height: 1.5;\n overflow-x: auto;\n white-space: pre-wrap;\n word-break: break-word;\n}\n\n.code-editor.json {\n /* JSON syntax highlighting simulation */\n color: #9cdcfe;\n}\n\n/* Output Parameters */\n.output-params {\n display: grid;\n gap: 16px;\n}\n\n.output-param {\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 6px;\n padding: 16px;\n}\n\n.output-param label {\n display: flex;\n align-items: center;\n gap: 6px;\n margin-bottom: 8px;\n font-weight: 600;\n color: #495057;\n}\n\n.output-param label i {\n color: #6f42c1;\n font-size: 0.9em;\n}\n\n.output-value {\n background: white;\n border: 1px solid #dee2e6;\n border-radius: 4px;\n padding: 12px;\n}\n\n.output-value pre {\n margin: 0;\n font-family: 'Courier New', monospace;\n font-size: 0.9em;\n white-space: pre-wrap;\n word-break: break-word;\n}\n\n.no-value {\n color: #6c757d;\n font-style: italic;\n}\n\n/* Responsive */\n@media (max-width: 768px) {\n .params-grid {\n grid-template-columns: 1fr;\n }\n\n .harness-header {\n flex-direction: column;\n align-items: flex-start;\n gap: 12px;\n }\n\n .results-header {\n flex-direction: column;\n align-items: flex-start;\n gap: 12px;\n }\n\n .action-buttons {\n flex-wrap: wrap;\n }\n}\n"] }]
|
|
836
|
+
args: [{ standalone: false, selector: 'mj-action-test-harness', template: "<div class=\"action-test-harness\">\n <div class=\"harness-header\">\n <h3>\n <i class=\"fa-solid fa-flask\"></i>\n Test Harness for {{ Action.Name }}\n </h3>\n <div class=\"header-actions\">\n <label class=\"toggle-label\">\n <input type=\"checkbox\"\n [(ngModel)]=\"SkipActionLog\"\n class=\"toggle-checkbox\">\n <span class=\"toggle-slider\"></span>\n Skip Action Log\n </label>\n </div>\n </div>\n\n <!-- Input Parameters Section -->\n <div class=\"parameters-section\" [class.collapsed]=\"InputsCollapsed\">\n <h4 class=\"section-header clickable\" (click)=\"ToggleInputsCollapsed()\">\n <i class=\"fa-solid fa-sliders\"></i>\n Input Parameters\n @if (ParamValues.length > 0) {\n <span class=\"param-count\">({{ ParamValues.length }})</span>\n }\n <i class=\"collapse-icon fa-solid\" [class.fa-chevron-down]=\"InputsCollapsed\" [class.fa-chevron-up]=\"!InputsCollapsed\"></i>\n </h4>\n\n @if (!InputsCollapsed) {\n @if (ParamValues.length === 0) {\n <div class=\"no-params\">\n <i class=\"fa-solid fa-inbox\"></i>\n <p>This action has no input parameters</p>\n </div>\n } @else {\n <div class=\"params-grid\">\n @for (paramValue of ParamValues; track paramValue.Param.ID) {\n <div class=\"param-field\" [class.required]=\"paramValue.Param.IsRequired\" [class.error]=\"paramValue.Error\">\n <label>\n {{ paramValue.Param.Name }}\n @if (paramValue.Param.IsRequired) {\n <span class=\"required-indicator\">*</span>\n }\n @if (paramValue.Param.IsArray) {\n <span class=\"array-badge\">Array</span>\n }\n <span class=\"value-type\">{{ paramValue.Param.ValueType }}</span>\n </label>\n\n @if (paramValue.Param.Description) {\n <div class=\"param-description\">{{ paramValue.Param.Description }}</div>\n }\n\n @switch (GetInputType(paramValue.Param)) {\n @case ('textarea') {\n <textarea\n [value]=\"GetParamDisplayValue(paramValue)\"\n (change)=\"OnParamValueChange(paramValue, $event)\"\n [placeholder]=\"paramValue.Param.IsArray ? 'Enter JSON array' : paramValue.Param.ValueType === 'Simple Object' ? 'Enter JSON object' : 'Enter value'\"\n rows=\"4\"\n class=\"param-input\"></textarea>\n }\n @case ('checkbox') {\n <div class=\"checkbox-wrapper\">\n <input\n type=\"checkbox\"\n [checked]=\"paramValue.Value\"\n (change)=\"OnParamValueChange(paramValue, $event)\"\n class=\"param-checkbox\">\n </div>\n }\n @case ('number') {\n <input\n type=\"number\"\n [value]=\"paramValue.Value\"\n (change)=\"OnParamValueChange(paramValue, $event)\"\n placeholder=\"Enter number\"\n class=\"param-input\">\n }\n @case ('datetime-local') {\n <input\n type=\"datetime-local\"\n [value]=\"paramValue.Value\"\n (change)=\"OnParamValueChange(paramValue, $event)\"\n class=\"param-input\">\n }\n @default {\n <input\n type=\"text\"\n [value]=\"paramValue.Value || ''\"\n (change)=\"OnParamValueChange(paramValue, $event)\"\n placeholder=\"Enter value\"\n class=\"param-input\">\n }\n }\n\n @if (paramValue.Error) {\n <div class=\"field-error\">\n <i class=\"fa-solid fa-exclamation-circle\"></i>\n {{ paramValue.Error }}\n </div>\n }\n\n @if (paramValue.Param.DefaultValue && !paramValue.Value) {\n <div class=\"default-hint\">\n Default: {{ paramValue.Param.DefaultValue }}\n </div>\n }\n </div>\n }\n </div>\n }\n }\n </div>\n\n <!-- Action Buttons -->\n <div class=\"action-buttons\">\n <button\n class=\"btn btn-primary btn-large\"\n (click)=\"ExecuteAction()\"\n [disabled]=\"IsExecuting || Action.Status !== 'Active'\">\n @if (IsExecuting) {\n <i class=\"fa-solid fa-spinner fa-spin\"></i> Executing...\n } @else {\n <i class=\"fa-solid fa-play\"></i> Execute Action\n }\n </button>\n\n <button\n class=\"btn btn-outline\"\n (click)=\"ResetParams()\">\n <i class=\"fa-solid fa-undo\"></i> Reset\n </button>\n\n @if (ExecutionResult || ExecutionError) {\n <button\n class=\"btn btn-outline\"\n (click)=\"ClearResults()\">\n <i class=\"fa-solid fa-trash\"></i> Clear Results\n </button>\n }\n </div>\n\n <!-- Results Section -->\n @if (ExecutionResult || ExecutionError) {\n <div class=\"results-section\" #resultsSection>\n <div class=\"results-header\">\n <h4>\n <i class=\"fa-solid fa-poll\"></i>\n Execution Results\n </h4>\n <div class=\"execution-meta\">\n <span class=\"execution-time\">\n <i class=\"fa-solid fa-clock\"></i>\n {{ ExecutionTime }}ms\n </span>\n @if (ExecutionResult) {\n <button\n class=\"btn btn-flat btn-small\"\n (click)=\"CopyResultToClipboard()\">\n <i class=\"fa-solid fa-copy\"></i> Copy\n </button>\n <button\n class=\"btn btn-flat btn-small\"\n (click)=\"ShowRawResult = !ShowRawResult\">\n <i class=\"fa-solid fa-code\"></i>\n {{ ShowRawResult ? 'Hide' : 'Show' }} Raw\n </button>\n }\n </div>\n </div>\n\n @if (ExecutionError) {\n <div class=\"error-result\">\n <i class=\"fa-solid fa-exclamation-triangle\"></i>\n <div class=\"error-content\">\n <h5>Execution Error</h5>\n <p>{{ ExecutionError }}</p>\n </div>\n </div>\n }\n\n @if (ExecutionResult) {\n <div class=\"success-result\" [class.failure]=\"!ExecutionResult.Success\">\n <!-- Status Banner -->\n <div class=\"status-banner\" [style.background-color]=\"GetResultColor()\">\n <i [class]=\"'fa-solid ' + GetResultIcon()\"></i>\n <span>{{ ExecutionResult.Success ? 'Success' : 'Failed' }}</span>\n @if (ExecutionResult.ResultCode) {\n <span class=\"result-code\">{{ ExecutionResult.ResultCode }}</span>\n }\n </div>\n\n <!-- Message -->\n @if (ExecutionResult.Message) {\n <div class=\"result-message\">\n <h5>\n <i class=\"fa-solid fa-message\"></i> Message\n </h5>\n <div class=\"code-editor-container\">\n <pre class=\"code-editor\">{{ ExecutionResult.Message }}</pre>\n </div>\n </div>\n }\n\n <!-- Result Data -->\n @if (ExecutionResult.ResultData !== null && ExecutionResult.ResultData !== undefined) {\n <div class=\"result-data\">\n <h5>\n <i class=\"fa-solid fa-database\"></i> Result Data\n <button\n class=\"btn btn-flat btn-small toggle-view-btn\"\n (click)=\"ShowRawResult = !ShowRawResult\">\n <i class=\"fa-solid\" [class.fa-code]=\"!ShowRawResult\" [class.fa-list]=\"ShowRawResult\"></i>\n {{ ShowRawResult ? 'Formatted View' : 'Raw JSON' }}\n </button>\n </h5>\n @if (ShowRawResult) {\n <div class=\"code-editor-container\">\n <div class=\"code-editor-header\">\n <span class=\"language-badge\">JSON</span>\n <button\n class=\"btn btn-flat btn-small copy-btn\"\n (click)=\"CopyResultDataToClipboard()\">\n <i class=\"fa-solid fa-copy\"></i>\n </button>\n </div>\n <pre class=\"code-editor json\">{{ FormatResultData(ExecutionResult.ResultData) }}</pre>\n </div>\n } @else {\n <!-- Output Parameters Mapping -->\n @if (GetOutputParams().length > 0) {\n <div class=\"output-params\">\n @for (outputParam of GetOutputParams(); track outputParam.ID) {\n <div class=\"output-param\">\n <label>\n <i class=\"fa-solid fa-tag\"></i> {{ outputParam.Name }}\n </label>\n <div class=\"code-editor-container compact\">\n <pre class=\"code-editor\">{{ GetOutputParamValue(outputParam.Name) }}</pre>\n </div>\n </div>\n }\n </div>\n } @else {\n <div class=\"code-editor-container\">\n <div class=\"code-editor-header\">\n <span class=\"language-badge\">JSON</span>\n <button\n class=\"btn btn-flat btn-small copy-btn\"\n (click)=\"CopyResultDataToClipboard()\">\n <i class=\"fa-solid fa-copy\"></i>\n </button>\n </div>\n <pre class=\"code-editor json\">{{ FormatResultData(ExecutionResult.ResultData) }}</pre>\n </div>\n }\n }\n </div>\n }\n </div>\n }\n </div>\n }\n</div>\n", styles: [".action-test-harness {\n background: white;\n border-radius: 8px;\n padding: 24px;\n max-width: 100%;\n margin: 0;\n width: 100%;\n box-sizing: border-box;\n}\n\n/* Ensure all child elements use border-box */\n.action-test-harness * {\n box-sizing: border-box;\n}\n\n/* Header */\n.harness-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 20px;\n padding-bottom: 16px;\n border-bottom: 2px solid #e9ecef;\n flex-wrap: wrap;\n gap: 12px;\n}\n\n.harness-header h3 {\n margin: 0;\n color: #2c3e50;\n display: flex;\n align-items: center;\n gap: 12px;\n}\n\n.harness-header h3 i {\n color: #6f42c1;\n}\n\n.header-actions {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n/* Toggle Switch */\n.toggle-label {\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: pointer;\n font-size: 0.9em;\n color: #495057;\n}\n\n.toggle-checkbox {\n display: none;\n}\n\n.toggle-slider {\n position: relative;\n width: 36px;\n height: 20px;\n background: #dee2e6;\n border-radius: 10px;\n transition: background 0.2s;\n}\n\n.toggle-slider::before {\n content: '';\n position: absolute;\n top: 2px;\n left: 2px;\n width: 16px;\n height: 16px;\n background: white;\n border-radius: 50%;\n transition: transform 0.2s;\n box-shadow: 0 1px 3px rgba(0,0,0,0.2);\n}\n\n.toggle-checkbox:checked + .toggle-slider {\n background: #6f42c1;\n}\n\n.toggle-checkbox:checked + .toggle-slider::before {\n transform: translateX(16px);\n}\n\n/* Parameters Section */\n.parameters-section {\n margin-bottom: 20px;\n width: 100%;\n overflow-x: auto;\n border: 1px solid #e9ecef;\n border-radius: 6px;\n background: #fff;\n}\n\n.parameters-section.collapsed {\n margin-bottom: 12px;\n}\n\n.parameters-section h4.section-header {\n margin: 0;\n padding: 12px 16px;\n color: #495057;\n display: flex;\n align-items: center;\n gap: 8px;\n background: #f8f9fa;\n border-radius: 6px 6px 0 0;\n}\n\n.parameters-section.collapsed h4.section-header {\n border-radius: 6px;\n}\n\n.section-header.clickable {\n cursor: pointer;\n user-select: none;\n}\n\n.section-header.clickable:hover {\n background: #e9ecef;\n}\n\n.param-count {\n color: #6c757d;\n font-weight: 400;\n font-size: 0.9em;\n}\n\n.collapse-icon {\n margin-left: auto;\n color: #6c757d;\n font-size: 0.85em;\n transition: transform 0.2s ease;\n}\n\n.no-params {\n text-align: center;\n padding: 40px 16px;\n color: #6c757d;\n}\n\n.no-params i {\n font-size: 2.5em;\n margin-bottom: 12px;\n opacity: 0.3;\n display: block;\n}\n\n.params-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n gap: 16px;\n width: 100%;\n padding: 16px;\n}\n\n.param-field {\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 6px;\n padding: 12px;\n transition: all 0.2s;\n min-width: 0;\n overflow: hidden;\n}\n\n.param-field:hover {\n border-color: #dee2e6;\n box-shadow: 0 2px 4px rgba(0,0,0,0.05);\n}\n\n.param-field.required {\n border-left: 3px solid #ffc107;\n}\n\n.param-field.error {\n border-color: #dc3545;\n background: #f8d7da20;\n}\n\n.param-field label {\n display: flex;\n align-items: center;\n gap: 6px;\n margin-bottom: 8px;\n font-weight: 600;\n color: #495057;\n flex-wrap: wrap;\n font-size: 0.95em;\n}\n\n.required-indicator {\n color: #dc3545;\n}\n\n.array-badge {\n background: #6f42c1;\n color: white;\n padding: 2px 6px;\n border-radius: 10px;\n font-size: 0.75em;\n font-weight: 500;\n}\n\n.value-type {\n margin-left: auto;\n color: #6c757d;\n font-size: 0.8em;\n font-weight: 400;\n white-space: nowrap;\n}\n\n.param-description {\n color: #6c757d;\n font-size: 0.9em;\n margin-bottom: 8px;\n line-height: 1.4;\n}\n\n.param-input {\n width: 100%;\n padding: 8px 12px;\n border: 1px solid #ced4da;\n border-radius: 4px;\n font-family: inherit;\n font-size: 0.95em;\n transition: border-color 0.2s;\n box-sizing: border-box;\n max-width: 100%;\n}\n\n.param-input:focus {\n outline: none;\n border-color: #80bdff;\n box-shadow: 0 0 0 2px rgba(0,123,255,0.1);\n}\n\ntextarea.param-input {\n resize: vertical;\n font-family: 'Courier New', monospace;\n font-size: 0.9em;\n}\n\n.checkbox-wrapper {\n padding: 8px 0;\n}\n\n.param-checkbox {\n width: 20px;\n height: 20px;\n cursor: pointer;\n}\n\n.field-error {\n margin-top: 6px;\n color: #dc3545;\n font-size: 0.85em;\n display: flex;\n align-items: center;\n gap: 4px;\n}\n\n.default-hint {\n margin-top: 6px;\n color: #6c757d;\n font-size: 0.85em;\n font-style: italic;\n}\n\n/* Buttons */\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:disabled {\n opacity: 0.65;\n cursor: not-allowed;\n}\n\n.btn-primary {\n background: #6f42c1;\n color: white;\n border-color: #6f42c1;\n}\n\n.btn-primary:hover:not(:disabled) {\n background: #5a32a3;\n border-color: #5a32a3;\n}\n\n.btn-outline {\n background: white;\n color: #495057;\n border-color: #ced4da;\n}\n\n.btn-outline:hover:not(:disabled) {\n background: #f8f9fa;\n border-color: #adb5bd;\n}\n\n.btn-flat {\n background: transparent;\n color: #6c757d;\n border: none;\n padding: 4px 8px;\n}\n\n.btn-flat:hover:not(:disabled) {\n background: rgba(0,0,0,0.05);\n color: #495057;\n}\n\n.btn-large {\n padding: 12px 24px;\n font-size: 1em;\n}\n\n.btn-small {\n padding: 4px 8px;\n font-size: 0.85em;\n}\n\n/* Action Buttons */\n.action-buttons {\n display: flex;\n gap: 12px;\n margin-bottom: 24px;\n padding: 16px;\n background: #f8f9fa;\n border-radius: 6px;\n align-items: center;\n flex-wrap: wrap;\n}\n\n/* Results Section */\n.results-section {\n border: 2px solid #e9ecef;\n border-radius: 8px;\n overflow: hidden;\n margin-top: 20px;\n}\n\n.results-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 16px 20px;\n background: #f8f9fa;\n border-bottom: 1px solid #e9ecef;\n}\n\n.results-header h4 {\n margin: 0;\n color: #495057;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.execution-meta {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n\n.execution-time {\n color: #6c757d;\n font-size: 0.9em;\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n/* Error Result */\n.error-result {\n padding: 20px;\n background: #f8d7da;\n display: flex;\n gap: 16px;\n align-items: flex-start;\n}\n\n.error-result > i {\n font-size: 1.5em;\n color: #dc3545;\n flex-shrink: 0;\n}\n\n.error-content h5 {\n margin: 0 0 8px 0;\n color: #721c24;\n}\n\n.error-content p {\n margin: 0;\n color: #721c24;\n}\n\n/* Success Result */\n.success-result {\n background: white;\n}\n\n.success-result.failure .status-banner {\n background: #dc3545 !important;\n}\n\n.status-banner {\n padding: 16px 20px;\n color: white;\n display: flex;\n align-items: center;\n gap: 12px;\n font-weight: 600;\n font-size: 1.1em;\n}\n\n.status-banner i {\n font-size: 1.2em;\n}\n\n.result-code {\n margin-left: auto;\n background: rgba(255,255,255,0.2);\n padding: 4px 10px;\n border-radius: 12px;\n font-size: 0.9em;\n}\n\n.result-message {\n padding: 20px;\n border-bottom: 1px solid #e9ecef;\n}\n\n.result-message h5 {\n margin: 0 0 12px 0;\n color: #495057;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.result-message h5 i {\n color: #17a2b8;\n}\n\n.result-message p {\n margin: 0;\n color: #6c757d;\n line-height: 1.5;\n}\n\n.result-message .code-editor-container {\n margin-bottom: 0;\n}\n\n.result-message .code-editor {\n color: #e8e8e8;\n background: #2d2d30;\n max-height: 200px;\n overflow-y: auto;\n}\n\n/* Result Data */\n.result-data {\n padding: 20px;\n}\n\n.result-data h5 {\n margin: 0 0 16px 0;\n color: #495057;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.result-data h5 i {\n color: #6f42c1;\n}\n\n.toggle-view-btn {\n margin-left: auto;\n font-size: 0.85em;\n}\n\n.raw-data {\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 4px;\n padding: 16px;\n margin: 0;\n font-family: 'Courier New', monospace;\n font-size: 0.9em;\n overflow-x: auto;\n white-space: pre-wrap;\n word-break: break-word;\n}\n\n/* Code Editor Styles */\n.code-editor-container {\n background: #1e1e1e;\n border-radius: 6px;\n overflow: hidden;\n margin-bottom: 16px;\n}\n\n.code-editor-container.compact {\n margin-bottom: 0;\n}\n\n.code-editor-header {\n background: #2d2d30;\n padding: 8px 12px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n border-bottom: 1px solid #3e3e42;\n}\n\n.language-badge {\n background: #007acc;\n color: white;\n padding: 2px 8px;\n border-radius: 3px;\n font-size: 0.75em;\n font-weight: 600;\n text-transform: uppercase;\n}\n\n.copy-btn {\n color: #cccccc;\n padding: 4px 8px;\n min-width: auto;\n}\n\n.copy-btn:hover {\n color: #ffffff;\n background: rgba(255, 255, 255, 0.1);\n}\n\n.code-editor {\n background: #1e1e1e;\n color: #d4d4d4;\n border: none;\n border-radius: 0;\n padding: 16px;\n margin: 0;\n font-family: 'Consolas', 'Monaco', 'Courier New', monospace;\n font-size: 13px;\n line-height: 1.5;\n overflow-x: auto;\n white-space: pre-wrap;\n word-break: break-word;\n}\n\n.code-editor.json {\n /* JSON syntax highlighting simulation */\n color: #9cdcfe;\n}\n\n/* Output Parameters */\n.output-params {\n display: grid;\n gap: 16px;\n}\n\n.output-param {\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 6px;\n padding: 16px;\n}\n\n.output-param label {\n display: flex;\n align-items: center;\n gap: 6px;\n margin-bottom: 8px;\n font-weight: 600;\n color: #495057;\n}\n\n.output-param label i {\n color: #6f42c1;\n font-size: 0.9em;\n}\n\n.output-value {\n background: white;\n border: 1px solid #dee2e6;\n border-radius: 4px;\n padding: 12px;\n}\n\n.output-value pre {\n margin: 0;\n font-family: 'Courier New', monospace;\n font-size: 0.9em;\n white-space: pre-wrap;\n word-break: break-word;\n}\n\n.no-value {\n color: #6c757d;\n font-style: italic;\n}\n\n/* Responsive */\n@media (max-width: 768px) {\n .params-grid {\n grid-template-columns: 1fr;\n }\n\n .harness-header {\n flex-direction: column;\n align-items: flex-start;\n gap: 12px;\n }\n\n .results-header {\n flex-direction: column;\n align-items: flex-start;\n gap: 12px;\n }\n\n .action-buttons {\n flex-wrap: wrap;\n }\n}\n"] }]
|
|
831
837
|
}], () => [{ type: i0.ChangeDetectorRef }], { ResultsSectionRef: [{
|
|
832
838
|
type: ViewChild,
|
|
833
839
|
args: ['resultsSection']
|
|
@@ -842,9 +848,5 @@ export class ActionTestHarnessComponent {
|
|
|
842
848
|
}], ExecutionComplete: [{
|
|
843
849
|
type: Output
|
|
844
850
|
}] }); })();
|
|
845
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActionTestHarnessComponent, { className: "ActionTestHarnessComponent", filePath: "lib/action-test-harness/action-test-harness.component.ts", lineNumber:
|
|
846
|
-
// Tree-shaking prevention function
|
|
847
|
-
export function LoadActionTestHarnessComponent() {
|
|
848
|
-
// This function ensures the component is included in the bundle
|
|
849
|
-
}
|
|
851
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActionTestHarnessComponent, { className: "ActionTestHarnessComponent", filePath: "lib/action-test-harness/action-test-harness.component.ts", lineNumber: 28 }); })();
|
|
850
852
|
//# sourceMappingURL=action-test-harness.component.js.map
|
|
@@ -1 +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"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAyC,SAAS,EAAE,MAAM,eAAe,CAAC;AACzH,OAAO,EAAmC,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAChG,OAAO,EAAE,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;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"}
|
|
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"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAyC,SAAS,EAAE,MAAM,eAAe,CAAC;AACzH,OAAO,EAAmC,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;;;;;;;ICqBhC,gCAA0B;IAAA,YAA0B;IAAA,iBAAO;;;IAAjC,cAA0B;IAA1B,0DAA0B;;;IAOpD,+BAAuB;IACnB,wBAAiC;IACjC,yBAAG;IAAA,mDAAmC;IAC1C,AAD0C,iBAAI,EACxC;;;IAQc,gCAAiC;IAAA,iBAAC;IAAA,iBAAO;;;IAGzC,gCAA0B;IAAA,qBAAK;IAAA,iBAAO;;;IAM1C,+BAA+B;IAAA,YAAkC;IAAA,iBAAM;;;IAAxC,cAAkC;IAAlC,qDAAkC;;;;IAK7D,oCAKwB;IAHpB,yRAAU,gDAAsC,KAAC;IAG7B,iBAAW;;;;IAF/B,AAFA,kEAA0C,2JAE0G;;;;IAMpJ,AADJ,+BAA8B,gBAKC;IADvB,sRAAU,gDAAsC,KAAC;IAEzD,AALI,iBAI2B,EACzB;;;IAHE,cAA4B;IAA5B,6CAA4B;;;;IA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;YAIF,AADJ,+BAAoE,aACO;YAAlC,oGAAS,2BAAuB,IAAC;YAClE,yBAAmC;YACnC,mCACA;YAAA,gGAA8B;YAG9B,yBAAyH;YAC7H,iBAAK;YAEL,oFAAwB;YAqF5B,iBAAM;YAIF,AADJ,gCAA4B,kBAImC;YADvD,wGAAS,mBAAe,IAAC;YAIvB,AAFF,oFAAmB,8DAEV;YAGb,iBAAS;YAET,mCAE4B;YAAxB,wGAAS,iBAAa,IAAC;YACvB,yBAAgC;YAAC,wBACrC;YAAA,iBAAS;YAET,kGAAyC;YAO7C,iBAAM;YAGN,gGAAyC;YAwH7C,iBAAM;;YApQM,eACJ;YADI,iEACJ;YAIY,eAA2B;YAA3B,iDAA2B;YASX,eAAmC;YAAnC,gDAAmC;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;;;iFD5OQ,0BAA0B;cANtC,SAAS;6BACI,KAAK,YACL,wBAAwB;;kBAKjC,SAAS;mBAAC,gBAAgB;;kBAQ1B,KAAK;;kBAWL,KAAK;;kBAWL,KAAK;;kBAQL,MAAM;;kBACN,MAAM;;kFAxCE,0BAA0B"}
|
|
@@ -34,5 +34,4 @@ export declare class ActionTestHarnessDialogComponent implements OnInit {
|
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionTestHarnessDialogComponent, never>;
|
|
35
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
36
|
}
|
|
37
|
-
export declare function LoadActionTestHarnessDialogComponent(): void;
|
|
38
37
|
//# sourceMappingURL=action-test-harness-dialog.component.d.ts.map
|
|
@@ -1 +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,
|
|
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,qBAMa,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"}
|
|
@@ -31,14 +31,14 @@ function ActionTestHarnessDialogComponent_Conditional_0_Template(rf, ctx) { if (
|
|
|
31
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
32
|
i0.ɵɵelementStart(1, "div", 2)(2, "div", 3)(3, "div", 4);
|
|
33
33
|
i0.ɵɵelement(4, "i", 5);
|
|
34
|
-
i0.ɵɵ
|
|
34
|
+
i0.ɵɵconditionalCreate(5, ActionTestHarnessDialogComponent_Conditional_0_Conditional_5_Template, 1, 1)(6, ActionTestHarnessDialogComponent_Conditional_0_Conditional_6_Template, 1, 0);
|
|
35
35
|
i0.ɵɵelementEnd();
|
|
36
36
|
i0.ɵɵelementStart(7, "button", 6);
|
|
37
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
38
|
i0.ɵɵelement(8, "i", 7);
|
|
39
39
|
i0.ɵɵelementEnd()();
|
|
40
40
|
i0.ɵɵelementStart(9, "div", 8);
|
|
41
|
-
i0.ɵɵ
|
|
41
|
+
i0.ɵɵconditionalCreate(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
42
|
i0.ɵɵelementEnd();
|
|
43
43
|
i0.ɵɵelementStart(12, "div", 11)(13, "button", 12);
|
|
44
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()); });
|
|
@@ -112,15 +112,15 @@ export class ActionTestHarnessDialogComponent {
|
|
|
112
112
|
this.ExecutionComplete.emit(result);
|
|
113
113
|
}
|
|
114
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.ɵɵ
|
|
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" }, standalone: false, 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.ɵɵconditionalCreate(0, ActionTestHarnessDialogComponent_Conditional_0_Template, 15, 2, "div", 0);
|
|
117
117
|
} if (rf & 2) {
|
|
118
118
|
i0.ɵɵconditional(ctx.IsOpen ? 0 : -1);
|
|
119
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
120
|
}
|
|
121
121
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionTestHarnessDialogComponent, [{
|
|
122
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"] }]
|
|
123
|
+
args: [{ standalone: false, 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
124
|
}], null, { Action: [{
|
|
125
125
|
type: Input
|
|
126
126
|
}], ActionParams: [{
|
|
@@ -132,9 +132,5 @@ export class ActionTestHarnessDialogComponent {
|
|
|
132
132
|
}], ExecutionComplete: [{
|
|
133
133
|
type: Output
|
|
134
134
|
}] }); })();
|
|
135
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActionTestHarnessDialogComponent, { className: "ActionTestHarnessDialogComponent", filePath: "lib/action-test-harness-dialog/action-test-harness-dialog.component.ts", lineNumber:
|
|
136
|
-
// Tree-shaking prevention function
|
|
137
|
-
export function LoadActionTestHarnessDialogComponent() {
|
|
138
|
-
// This function ensures the component is included in the bundle
|
|
139
|
-
}
|
|
135
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActionTestHarnessDialogComponent, { className: "ActionTestHarnessDialogComponent", filePath: "lib/action-test-harness-dialog/action-test-harness-dialog.component.ts", lineNumber: 24 }); })();
|
|
140
136
|
//# sourceMappingURL=action-test-harness-dialog.component.js.map
|
|
@@ -1 +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,
|
|
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,sGAAc,gFAEL;IAGb,iBAAM;IACN,iCAAmE;IAAlC,oMAAS,gBAAS,KAAC;IAChD,uBAAiC;IAEzC,AADI,iBAAS,EACP;IAEN,8BAA4B;IAOtB,AANF,qIAAc,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;AAOH,MAAM,OAAO,gCAAg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,IAAI,CAAC,MAAM,CAAC,CAAC;IACxC,CAAC;iIAxDQ,gCAAgC;oEAAhC,gCAAgC;YCvB7C,mGAAc;;YAAd,qCAqCC;;;iFDdY,gCAAgC;cAN5C,SAAS;6BACI,KAAK,YACL,+BAA+B;;kBAUxC,KAAK;;kBAQL,KAAK;;kBAQL,KAAK;;kBAaL,MAAM;;kBACN,MAAM;;kFApCE,gCAAgC"}
|
|
@@ -10,5 +10,4 @@ export declare class ActionsModule {
|
|
|
10
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
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<ActionsModule>;
|
|
12
12
|
}
|
|
13
|
-
export declare function LoadActionsModule(): void;
|
|
14
13
|
//# sourceMappingURL=actions.module.d.ts.map
|
|
@@ -1 +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
|
|
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"}
|
|
@@ -41,8 +41,4 @@ export class ActionsModule {
|
|
|
41
41
|
ActionTestHarnessDialogComponent,
|
|
42
42
|
ActionParamDialogComponent,
|
|
43
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
44
|
//# sourceMappingURL=actions.module.js.map
|
|
@@ -1 +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
|
|
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"}
|
package/dist/public-api.d.ts
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* A reusable Angular module for testing and running MemberJunction Actions.
|
|
5
5
|
* This package has no Kendo dependencies and can be used in any Angular application.
|
|
6
6
|
*/
|
|
7
|
-
export { ActionsModule
|
|
8
|
-
export { ActionTestHarnessComponent, ActionParamValue, ActionResult
|
|
9
|
-
export { ActionTestHarnessDialogComponent
|
|
10
|
-
export { ActionParamDialogComponent, ActionParamDialogResult
|
|
11
|
-
export { ActionResultCodeDialogComponent, ActionResultCodeDialogResult
|
|
7
|
+
export { ActionsModule } from './lib/actions.module';
|
|
8
|
+
export { ActionTestHarnessComponent, ActionParamValue, ActionResult } from './lib/action-test-harness/action-test-harness.component';
|
|
9
|
+
export { ActionTestHarnessDialogComponent } from './lib/action-test-harness-dialog/action-test-harness-dialog.component';
|
|
10
|
+
export { ActionParamDialogComponent, ActionParamDialogResult } from './lib/action-param-dialog/action-param-dialog.component';
|
|
11
|
+
export { ActionResultCodeDialogComponent, ActionResultCodeDialogResult } from './lib/action-result-code-dialog/action-result-code-dialog.component';
|
|
12
12
|
//# sourceMappingURL=public-api.d.ts.map
|
package/dist/public-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD,OAAO,EACH,0BAA0B,EAC1B,gBAAgB,EAChB,YAAY,EACf,MAAM,yDAAyD,CAAC;AAGjE,OAAO,EACH,gCAAgC,EACnC,MAAM,uEAAuE,CAAC;AAG/E,OAAO,EACH,0BAA0B,EAC1B,uBAAuB,EAC1B,MAAM,yDAAyD,CAAC;AAGjE,OAAO,EACH,+BAA+B,EAC/B,4BAA4B,EAC/B,MAAM,qEAAqE,CAAC"}
|
package/dist/public-api.js
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* This package has no Kendo dependencies and can be used in any Angular application.
|
|
6
6
|
*/
|
|
7
7
|
// Module
|
|
8
|
-
export { ActionsModule
|
|
8
|
+
export { ActionsModule } from './lib/actions.module';
|
|
9
9
|
// Action Test Harness
|
|
10
|
-
export { ActionTestHarnessComponent
|
|
10
|
+
export { ActionTestHarnessComponent } from './lib/action-test-harness/action-test-harness.component';
|
|
11
11
|
// Action Test Harness Dialog
|
|
12
|
-
export { ActionTestHarnessDialogComponent
|
|
12
|
+
export { ActionTestHarnessDialogComponent } from './lib/action-test-harness-dialog/action-test-harness-dialog.component';
|
|
13
13
|
// Action Param Dialog
|
|
14
|
-
export { ActionParamDialogComponent
|
|
14
|
+
export { ActionParamDialogComponent } from './lib/action-param-dialog/action-param-dialog.component';
|
|
15
15
|
// Action Result Code Dialog
|
|
16
|
-
export { ActionResultCodeDialogComponent
|
|
16
|
+
export { ActionResultCodeDialogComponent } from './lib/action-result-code-dialog/action-result-code-dialog.component';
|
|
17
17
|
//# sourceMappingURL=public-api.js.map
|
package/dist/public-api.js.map
CHANGED
|
@@ -1 +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,
|
|
1
|
+
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,SAAS;AACT,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,sBAAsB;AACtB,OAAO,EACH,0BAA0B,EAG7B,MAAM,yDAAyD,CAAC;AAEjE,6BAA6B;AAC7B,OAAO,EACH,gCAAgC,EACnC,MAAM,uEAAuE,CAAC;AAE/E,sBAAsB;AACtB,OAAO,EACH,0BAA0B,EAE7B,MAAM,yDAAyD,CAAC;AAEjE,4BAA4B;AAC5B,OAAO,EACH,+BAA+B,EAElC,MAAM,qEAAqE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-actions",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "MemberJunction Action Runner - Reusable components for testing and running actions with no Kendo dependencies",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -20,22 +20,22 @@
|
|
|
20
20
|
"author": "MemberJunction Team",
|
|
21
21
|
"license": "ISC",
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@angular/compiler": "
|
|
24
|
-
"@angular/compiler-cli": "
|
|
23
|
+
"@angular/compiler": "21.1.3",
|
|
24
|
+
"@angular/compiler-cli": "21.1.3"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@angular/common": "
|
|
28
|
-
"@angular/core": "
|
|
29
|
-
"@angular/forms": "
|
|
27
|
+
"@angular/common": "21.1.3",
|
|
28
|
+
"@angular/core": "21.1.3",
|
|
29
|
+
"@angular/forms": "21.1.3"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@angular/platform-browser": "
|
|
33
|
-
"@memberjunction/core": "
|
|
34
|
-
"@memberjunction/core-entities": "
|
|
35
|
-
"@memberjunction/global": "
|
|
36
|
-
"@memberjunction/graphql-dataprovider": "
|
|
37
|
-
"rxjs": "^7.
|
|
38
|
-
"tslib": "^2.
|
|
32
|
+
"@angular/platform-browser": "21.1.3",
|
|
33
|
+
"@memberjunction/core": "4.1.0",
|
|
34
|
+
"@memberjunction/core-entities": "4.1.0",
|
|
35
|
+
"@memberjunction/global": "4.1.0",
|
|
36
|
+
"@memberjunction/graphql-dataprovider": "4.1.0",
|
|
37
|
+
"rxjs": "^7.8.2",
|
|
38
|
+
"tslib": "^2.8.1"
|
|
39
39
|
},
|
|
40
40
|
"sideEffects": false,
|
|
41
41
|
"repository": {
|