@bitblit/ngx-acute-common 5.1.649-alpha → 5.1.650-alpha
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/lib/components/process-monitor-simple-display/process-monitor-simple-display.component.d.ts +10 -0
- package/lib/components/process-monitor-simple-display/process-monitor-simple-display.component.js +104 -0
- package/lib/components/process-monitor-simple-display/process-monitor-simple-display.component.js.map +1 -0
- package/lib/components/process-monitor-simple-modal-display/process-monitor-simple-modal-display.component.d.ts +9 -0
- package/lib/components/process-monitor-simple-modal-display/process-monitor-simple-modal-display.component.js +109 -0
- package/lib/components/process-monitor-simple-modal-display/process-monitor-simple-modal-display.component.js.map +1 -0
- package/lib/index.d.ts +4 -3
- package/lib/index.js +4 -3
- package/lib/index.js.map +1 -1
- package/lib/services/process-monitor/{grouped-processes.d.ts → monitored-processes.d.ts} +1 -2
- package/lib/services/process-monitor/monitored-processes.js +2 -0
- package/lib/services/process-monitor/monitored-processes.js.map +1 -0
- package/lib/services/process-monitor/process-holder.d.ts +2 -0
- package/lib/services/process-monitor/process-monitor-display-mode.d.ts +4 -0
- package/lib/services/process-monitor/process-monitor-display-mode.js +6 -0
- package/lib/services/process-monitor/process-monitor-display-mode.js.map +1 -0
- package/lib/services/process-monitor/process-monitor-service.d.ts +14 -12
- package/lib/services/process-monitor/process-monitor-service.js +63 -68
- package/lib/services/process-monitor/process-monitor-service.js.map +1 -1
- package/lib/services/process-monitor/process-monitor-state.d.ts +0 -1
- package/package.json +6 -6
- package/lib/components/process-monitor/process-monitor.component.d.ts +0 -10
- package/lib/components/process-monitor/process-monitor.component.js +0 -167
- package/lib/components/process-monitor/process-monitor.component.js.map +0 -1
- package/lib/services/process-monitor/grouped-process-list.d.ts +0 -4
- package/lib/services/process-monitor/grouped-process-list.js +0 -2
- package/lib/services/process-monitor/grouped-process-list.js.map +0 -1
- package/lib/services/process-monitor/grouped-processes.js +0 -2
- package/lib/services/process-monitor/grouped-processes.js.map +0 -1
package/lib/components/process-monitor-simple-display/process-monitor-simple-display.component.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ProcessMonitorService } from "../../services/process-monitor/process-monitor-service";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ProcessMonitorSimpleDisplayComponent {
|
|
4
|
+
processMonitorService: ProcessMonitorService;
|
|
5
|
+
modalHeader: string;
|
|
6
|
+
normalHeader: string;
|
|
7
|
+
constructor(processMonitorService: ProcessMonitorService);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessMonitorSimpleDisplayComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessMonitorSimpleDisplayComponent, "ngx-acute-common-process-monitor-simple-display", never, { "modalHeader": { "alias": "modalHeader"; "required": false; }; "normalHeader": { "alias": "normalHeader"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
package/lib/components/process-monitor-simple-display/process-monitor-simple-display.component.js
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Component, Input } from "@angular/core";
|
|
2
|
+
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
|
|
3
|
+
import { ContextMenuModule } from "primeng/contextmenu";
|
|
4
|
+
import { CardModule } from "primeng/card";
|
|
5
|
+
import { MultiSelectModule } from "primeng/multiselect";
|
|
6
|
+
import { TableModule } from "primeng/table";
|
|
7
|
+
import { PanelModule } from "primeng/panel";
|
|
8
|
+
import { SidebarModule } from "primeng/sidebar";
|
|
9
|
+
import { InputGroupAddonModule } from "primeng/inputgroupaddon";
|
|
10
|
+
import { InputGroupModule } from "primeng/inputgroup";
|
|
11
|
+
import { InputSwitchModule } from "primeng/inputswitch";
|
|
12
|
+
import { NgForOf, NgIf } from "@angular/common";
|
|
13
|
+
import { ProgressBar } from "primeng/progressbar";
|
|
14
|
+
import { Dialog } from "primeng/dialog";
|
|
15
|
+
import { ProcessMonitorService } from "../../services/process-monitor/process-monitor-service";
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
import * as i1 from "../../services/process-monitor/process-monitor-service";
|
|
18
|
+
const _c0 = () => ({ width: "90rem" });
|
|
19
|
+
function ProcessMonitorSimpleDisplayComponent_div_1_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
21
|
+
i0.ɵɵelement(1, "p-progress-bar", 8);
|
|
22
|
+
i0.ɵɵelementEnd();
|
|
23
|
+
} if (rf & 2) {
|
|
24
|
+
const pm_r1 = i0.ɵɵnextContext().$implicit;
|
|
25
|
+
i0.ɵɵadvance();
|
|
26
|
+
i0.ɵɵproperty("value", pm_r1.input().percentComplete);
|
|
27
|
+
} }
|
|
28
|
+
function ProcessMonitorSimpleDisplayComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "div", 4);
|
|
30
|
+
i0.ɵɵtext(3);
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
i0.ɵɵelementStart(4, "div", 5);
|
|
33
|
+
i0.ɵɵtext(5);
|
|
34
|
+
i0.ɵɵelementEnd()();
|
|
35
|
+
i0.ɵɵtemplate(6, ProcessMonitorSimpleDisplayComponent_div_1_div_6_Template, 2, 1, "div", 6);
|
|
36
|
+
i0.ɵɵelementEnd();
|
|
37
|
+
} if (rf & 2) {
|
|
38
|
+
const pm_r1 = ctx.$implicit;
|
|
39
|
+
i0.ɵɵadvance(3);
|
|
40
|
+
i0.ɵɵtextInterpolate(pm_r1.input().label);
|
|
41
|
+
i0.ɵɵadvance(2);
|
|
42
|
+
i0.ɵɵtextInterpolate(pm_r1.input().detail);
|
|
43
|
+
i0.ɵɵadvance();
|
|
44
|
+
i0.ɵɵproperty("ngIf", pm_r1.input().percentComplete);
|
|
45
|
+
} }
|
|
46
|
+
export class ProcessMonitorSimpleDisplayComponent {
|
|
47
|
+
processMonitorService;
|
|
48
|
+
modalHeader = null;
|
|
49
|
+
normalHeader = null;
|
|
50
|
+
constructor(processMonitorService) {
|
|
51
|
+
this.processMonitorService = processMonitorService;
|
|
52
|
+
}
|
|
53
|
+
static ɵfac = function ProcessMonitorSimpleDisplayComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProcessMonitorSimpleDisplayComponent)(i0.ɵɵdirectiveInject(i1.ProcessMonitorService)); };
|
|
54
|
+
static ɵcmp = i0.ɵɵdefineComponent({ type: ProcessMonitorSimpleDisplayComponent, selectors: [["ngx-acute-common-process-monitor-simple-display"]], inputs: { modalHeader: "modalHeader", normalHeader: "normalHeader" }, decls: 2, vars: 8, consts: [["position", "bottom", 3, "header", "closable", "modal", "visible"], ["style", "display: flex; flex-direction: row; width: 100%", 4, "ngFor", "ngForOf"], [2, "display", "flex", "flex-direction", "row", "width", "100%"], [2, "display", "flex", "flex-direction", "column", "width", "50%", "gap", "2px"], [2, "font-weight", "bolder"], [2, "font-style", "italic", "margin-left", "15px"], ["style", "min-width: 50vw", 4, "ngIf"], [2, "min-width", "50vw"], [3, "value"]], template: function ProcessMonitorSimpleDisplayComponent_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
56
|
+
i0.ɵɵtemplate(1, ProcessMonitorSimpleDisplayComponent_div_1_Template, 7, 3, "div", 1);
|
|
57
|
+
i0.ɵɵelementEnd();
|
|
58
|
+
} if (rf & 2) {
|
|
59
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(7, _c0));
|
|
60
|
+
i0.ɵɵproperty("header", ctx.normalHeader)("closable", false)("modal", false)("visible", ctx.processMonitorService.hasStandardProcesses()());
|
|
61
|
+
i0.ɵɵadvance();
|
|
62
|
+
i0.ɵɵproperty("ngForOf", ctx.processMonitorService.standardProcesses()().processes);
|
|
63
|
+
} }, dependencies: [CardModule,
|
|
64
|
+
MultiSelectModule,
|
|
65
|
+
ContextMenuModule,
|
|
66
|
+
TableModule,
|
|
67
|
+
ReactiveFormsModule,
|
|
68
|
+
PanelModule,
|
|
69
|
+
SidebarModule,
|
|
70
|
+
InputGroupAddonModule,
|
|
71
|
+
InputGroupModule,
|
|
72
|
+
InputSwitchModule,
|
|
73
|
+
FormsModule,
|
|
74
|
+
NgForOf,
|
|
75
|
+
ProgressBar,
|
|
76
|
+
NgIf,
|
|
77
|
+
Dialog], encapsulation: 2 });
|
|
78
|
+
}
|
|
79
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProcessMonitorSimpleDisplayComponent, [{
|
|
80
|
+
type: Component,
|
|
81
|
+
args: [{ selector: 'ngx-acute-common-process-monitor-simple-display', imports: [
|
|
82
|
+
CardModule,
|
|
83
|
+
MultiSelectModule,
|
|
84
|
+
ContextMenuModule,
|
|
85
|
+
TableModule,
|
|
86
|
+
ReactiveFormsModule,
|
|
87
|
+
PanelModule,
|
|
88
|
+
SidebarModule,
|
|
89
|
+
InputGroupAddonModule,
|
|
90
|
+
InputGroupModule,
|
|
91
|
+
InputSwitchModule,
|
|
92
|
+
FormsModule,
|
|
93
|
+
NgForOf,
|
|
94
|
+
ProgressBar,
|
|
95
|
+
NgIf,
|
|
96
|
+
Dialog
|
|
97
|
+
], standalone: true, template: "\n<p-dialog [header]=\"normalHeader\" [closable]=\"false\"\n [modal]=\"false\" [visible]=\"processMonitorService.hasStandardProcesses()()\" position=\"bottom\" [style]=\"{ width: '90rem' }\">\n\n <div style=\"display: flex; flex-direction: row; width: 100%\" *ngFor=\"let pm of processMonitorService.standardProcesses()().processes\">\n <div style=\"display: flex; flex-direction: column; width: 50%; gap: 2px\">\n <div style=\"font-weight: bolder\">{{pm.input().label}}</div>\n <div style=\"font-style: italic; margin-left: 15px\">{{pm.input().detail}}</div>\n </div>\n <div *ngIf=\"pm.input().percentComplete\" style=\"min-width: 50vw\">\n <p-progress-bar [value]=\"pm.input().percentComplete\" />\n </div>\n </div>\n\n</p-dialog>\n" }]
|
|
98
|
+
}], () => [{ type: i1.ProcessMonitorService }], { modalHeader: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], normalHeader: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}] }); })();
|
|
103
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProcessMonitorSimpleDisplayComponent, { className: "ProcessMonitorSimpleDisplayComponent", filePath: "components/process-monitor-simple-display/process-monitor-simple-display.component.ts", lineNumber: 40 }); })();
|
|
104
|
+
//# sourceMappingURL=process-monitor-simple-display.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process-monitor-simple-display.component.js","sourceRoot":"","sources":["../../../src/components/process-monitor-simple-display/process-monitor-simple-display.component.ts","../../../src/components/process-monitor-simple-display/process-monitor-simple-display.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;A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;sDAGA,WAAW;kBAA1B,KAAK;YACU,YAAY;kBAA3B,KAAK;;kFAFK,oCAAoC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ProcessMonitorService } from "../../services/process-monitor/process-monitor-service";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ProcessMonitorSimpleModalDisplayComponent {
|
|
4
|
+
processMonitorService: ProcessMonitorService;
|
|
5
|
+
header: string;
|
|
6
|
+
constructor(processMonitorService: ProcessMonitorService);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessMonitorSimpleModalDisplayComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessMonitorSimpleModalDisplayComponent, "ngx-acute-common-process-monitor-simple-modal-display", never, { "header": { "alias": "header"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Component, Input } from "@angular/core";
|
|
2
|
+
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
|
|
3
|
+
import { ContextMenuModule } from "primeng/contextmenu";
|
|
4
|
+
import { CardModule } from "primeng/card";
|
|
5
|
+
import { MultiSelectModule } from "primeng/multiselect";
|
|
6
|
+
import { TableModule } from "primeng/table";
|
|
7
|
+
import { PanelModule } from "primeng/panel";
|
|
8
|
+
import { SidebarModule } from "primeng/sidebar";
|
|
9
|
+
import { InputGroupAddonModule } from "primeng/inputgroupaddon";
|
|
10
|
+
import { InputGroupModule } from "primeng/inputgroup";
|
|
11
|
+
import { InputSwitchModule } from "primeng/inputswitch";
|
|
12
|
+
import { NgForOf, NgIf } from "@angular/common";
|
|
13
|
+
import { ProgressBar } from "primeng/progressbar";
|
|
14
|
+
import { Dialog } from "primeng/dialog";
|
|
15
|
+
import { ProcessMonitorService } from "../../services/process-monitor/process-monitor-service";
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
import * as i1 from "../../services/process-monitor/process-monitor-service";
|
|
18
|
+
const _c0 = () => ({ width: "90rem" });
|
|
19
|
+
function ProcessMonitorSimpleModalDisplayComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
21
|
+
i0.ɵɵtext(1);
|
|
22
|
+
i0.ɵɵelementEnd();
|
|
23
|
+
} if (rf & 2) {
|
|
24
|
+
const pm_r1 = i0.ɵɵnextContext().$implicit;
|
|
25
|
+
i0.ɵɵadvance();
|
|
26
|
+
i0.ɵɵtextInterpolate(pm_r1.input().detail);
|
|
27
|
+
} }
|
|
28
|
+
function ProcessMonitorSimpleModalDisplayComponent_div_1_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
+
i0.ɵɵelementStart(0, "div", 8);
|
|
30
|
+
i0.ɵɵelement(1, "p-progress-bar", 9);
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
} if (rf & 2) {
|
|
33
|
+
const pm_r1 = i0.ɵɵnextContext().$implicit;
|
|
34
|
+
i0.ɵɵadvance();
|
|
35
|
+
i0.ɵɵproperty("value", pm_r1.input().percentComplete);
|
|
36
|
+
} }
|
|
37
|
+
function ProcessMonitorSimpleModalDisplayComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "div", 4);
|
|
39
|
+
i0.ɵɵtext(3);
|
|
40
|
+
i0.ɵɵelementEnd();
|
|
41
|
+
i0.ɵɵtemplate(4, ProcessMonitorSimpleModalDisplayComponent_div_1_div_4_Template, 2, 1, "div", 5);
|
|
42
|
+
i0.ɵɵelementEnd();
|
|
43
|
+
i0.ɵɵtemplate(5, ProcessMonitorSimpleModalDisplayComponent_div_1_div_5_Template, 2, 1, "div", 6);
|
|
44
|
+
i0.ɵɵelementEnd();
|
|
45
|
+
} if (rf & 2) {
|
|
46
|
+
const pm_r1 = ctx.$implicit;
|
|
47
|
+
i0.ɵɵadvance(3);
|
|
48
|
+
i0.ɵɵtextInterpolate(pm_r1.input().label);
|
|
49
|
+
i0.ɵɵadvance();
|
|
50
|
+
i0.ɵɵproperty("ngIf", pm_r1.input().detail);
|
|
51
|
+
i0.ɵɵadvance();
|
|
52
|
+
i0.ɵɵproperty("ngIf", pm_r1.input().percentComplete);
|
|
53
|
+
} }
|
|
54
|
+
export class ProcessMonitorSimpleModalDisplayComponent {
|
|
55
|
+
processMonitorService;
|
|
56
|
+
header = null;
|
|
57
|
+
constructor(processMonitorService) {
|
|
58
|
+
this.processMonitorService = processMonitorService;
|
|
59
|
+
}
|
|
60
|
+
static ɵfac = function ProcessMonitorSimpleModalDisplayComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProcessMonitorSimpleModalDisplayComponent)(i0.ɵɵdirectiveInject(i1.ProcessMonitorService)); };
|
|
61
|
+
static ɵcmp = i0.ɵɵdefineComponent({ type: ProcessMonitorSimpleModalDisplayComponent, selectors: [["ngx-acute-common-process-monitor-simple-modal-display"]], inputs: { header: "header" }, decls: 2, vars: 8, consts: [["position", "center", 3, "header", "modal", "closable", "visible"], ["style", "display: flex; flex-direction: row; width: 100%", 4, "ngFor", "ngForOf"], [2, "display", "flex", "flex-direction", "row", "width", "100%"], [2, "display", "flex", "flex-direction", "column", "width", "50%", "gap", "2px"], [2, "font-weight", "bolder"], ["style", "font-style: italic; margin-left: 15px", 4, "ngIf"], ["style", "min-width: 50vw", 4, "ngIf"], [2, "font-style", "italic", "margin-left", "15px"], [2, "min-width", "50vw"], [3, "value"]], template: function ProcessMonitorSimpleModalDisplayComponent_Template(rf, ctx) { if (rf & 1) {
|
|
62
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
63
|
+
i0.ɵɵtemplate(1, ProcessMonitorSimpleModalDisplayComponent_div_1_Template, 6, 3, "div", 1);
|
|
64
|
+
i0.ɵɵelementEnd();
|
|
65
|
+
} if (rf & 2) {
|
|
66
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(7, _c0));
|
|
67
|
+
i0.ɵɵproperty("header", ctx.header)("modal", true)("closable", false)("visible", ctx.processMonitorService.hasModalProcesses()());
|
|
68
|
+
i0.ɵɵadvance();
|
|
69
|
+
i0.ɵɵproperty("ngForOf", ctx.processMonitorService.modalProcesses()().processes);
|
|
70
|
+
} }, dependencies: [CardModule,
|
|
71
|
+
MultiSelectModule,
|
|
72
|
+
ContextMenuModule,
|
|
73
|
+
TableModule,
|
|
74
|
+
ReactiveFormsModule,
|
|
75
|
+
PanelModule,
|
|
76
|
+
SidebarModule,
|
|
77
|
+
InputGroupAddonModule,
|
|
78
|
+
InputGroupModule,
|
|
79
|
+
InputSwitchModule,
|
|
80
|
+
FormsModule,
|
|
81
|
+
NgForOf,
|
|
82
|
+
ProgressBar,
|
|
83
|
+
NgIf,
|
|
84
|
+
Dialog], encapsulation: 2 });
|
|
85
|
+
}
|
|
86
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProcessMonitorSimpleModalDisplayComponent, [{
|
|
87
|
+
type: Component,
|
|
88
|
+
args: [{ selector: 'ngx-acute-common-process-monitor-simple-modal-display', imports: [
|
|
89
|
+
CardModule,
|
|
90
|
+
MultiSelectModule,
|
|
91
|
+
ContextMenuModule,
|
|
92
|
+
TableModule,
|
|
93
|
+
ReactiveFormsModule,
|
|
94
|
+
PanelModule,
|
|
95
|
+
SidebarModule,
|
|
96
|
+
InputGroupAddonModule,
|
|
97
|
+
InputGroupModule,
|
|
98
|
+
InputSwitchModule,
|
|
99
|
+
FormsModule,
|
|
100
|
+
NgForOf,
|
|
101
|
+
ProgressBar,
|
|
102
|
+
NgIf,
|
|
103
|
+
Dialog
|
|
104
|
+
], standalone: true, template: "\n<p-dialog [header]=\"header\" [modal]=\"true\"\n [closable]=\"false\"\n [visible]=\"processMonitorService.hasModalProcesses()()\" position=\"center\" [style]=\"{ width: '90rem' }\">\n <div style=\"display: flex; flex-direction: row; width: 100%\" *ngFor=\"let pm of processMonitorService.modalProcesses()().processes\">\n\n <div style=\"display: flex; flex-direction: column; width: 50%; gap: 2px\">\n <div style=\"font-weight: bolder\">{{pm.input().label}}</div>\n <div style=\"font-style: italic; margin-left: 15px\" *ngIf=\"pm.input().detail\">{{pm.input().detail}}</div>\n </div>\n <div *ngIf=\"pm.input().percentComplete\" style=\"min-width: 50vw\">\n <p-progress-bar [value]=\"pm.input().percentComplete\" />\n </div>\n </div>\n</p-dialog>\n" }]
|
|
105
|
+
}], () => [{ type: i1.ProcessMonitorService }], { header: [{
|
|
106
|
+
type: Input
|
|
107
|
+
}] }); })();
|
|
108
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProcessMonitorSimpleModalDisplayComponent, { className: "ProcessMonitorSimpleModalDisplayComponent", filePath: "components/process-monitor-simple-modal-display/process-monitor-simple-modal-display.component.ts", lineNumber: 40 }); })();
|
|
109
|
+
//# sourceMappingURL=process-monitor-simple-modal-display.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process-monitor-simple-modal-display.component.js","sourceRoot":"","sources":["../../../src/components/process-monitor-simple-modal-display/process-monitor-simple-modal-display.component.ts","../../../src/components/process-monitor-simple-modal-display/process-monitor-simple-modal-display.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD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,MAAM;;iFAIG,yCAAyC;cAtBrD,SAAS;2BACE,uDAAuD,WAExD;oBACP,UAAU;oBACV,iBAAiB;oBACjB,iBAAiB;oBACjB,WAAW;oBACX,mBAAmB;oBACnB,WAAW;oBACX,aAAa;oBACb,qBAAqB;oBACrB,gBAAgB;oBAChB,iBAAiB;oBACjB,WAAW;oBACX,OAAO;oBACP,WAAW;oBACX,IAAI;oBACJ,MAAM;iBACP,cACW,IAAI;sDAGA,MAAM;kBAArB,KAAK;;kFADK,yCAAyC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export * from './build/ngx-acute-common-info';
|
|
2
2
|
export * from './components/log-display/log-display.component';
|
|
3
3
|
export * from './components/dialogs/alert/alert.component';
|
|
4
|
-
export * from './components/process-monitor/process-monitor.component';
|
|
4
|
+
export * from './components/process-monitor-simple-modal-display/process-monitor-simple-modal-display.component';
|
|
5
|
+
export * from './components/process-monitor-simple-display/process-monitor-simple-display.component';
|
|
5
6
|
export * from './constants';
|
|
6
7
|
export * from './acute-common-type-guards';
|
|
7
8
|
export * from './model/google-analytics-config';
|
|
@@ -20,8 +21,8 @@ export * from './services/graphql-query.service';
|
|
|
20
21
|
export * from './services/local-storage.service';
|
|
21
22
|
export * from './services/css-theme.service.ts';
|
|
22
23
|
export * from './services/window-ref.service';
|
|
23
|
-
export * from './services/process-monitor/
|
|
24
|
-
export * from './services/process-monitor/grouped-processes';
|
|
24
|
+
export * from './services/process-monitor/monitored-processes.ts';
|
|
25
25
|
export * from './services/process-monitor/process-holder';
|
|
26
|
+
export * from './services/process-monitor/process-monitor-display-mode';
|
|
26
27
|
export * from './services/process-monitor/process-monitor-service';
|
|
27
28
|
export * from './services/process-monitor/process-monitor-state';
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export * from './build/ngx-acute-common-info';
|
|
2
2
|
export * from './components/log-display/log-display.component';
|
|
3
3
|
export * from './components/dialogs/alert/alert.component';
|
|
4
|
-
export * from './components/process-monitor/process-monitor.component';
|
|
4
|
+
export * from './components/process-monitor-simple-modal-display/process-monitor-simple-modal-display.component';
|
|
5
|
+
export * from './components/process-monitor-simple-display/process-monitor-simple-display.component';
|
|
5
6
|
export * from './constants';
|
|
6
7
|
export * from './acute-common-type-guards';
|
|
7
8
|
export * from './model/google-analytics-config';
|
|
@@ -20,9 +21,9 @@ export * from './services/graphql-query.service';
|
|
|
20
21
|
export * from './services/local-storage.service';
|
|
21
22
|
export * from "./services/css-theme.service.js";
|
|
22
23
|
export * from './services/window-ref.service';
|
|
23
|
-
export * from
|
|
24
|
-
export * from './services/process-monitor/grouped-processes';
|
|
24
|
+
export * from "./services/process-monitor/monitored-processes.js";
|
|
25
25
|
export * from './services/process-monitor/process-holder';
|
|
26
|
+
export * from './services/process-monitor/process-monitor-display-mode';
|
|
26
27
|
export * from './services/process-monitor/process-monitor-service';
|
|
27
28
|
export * from './services/process-monitor/process-monitor-state';
|
|
28
29
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAE9C,cAAc,gDAAgD,CAAC;AAE/D,cAAc,4CAA4C,CAAC;AAE3D,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAE9C,cAAc,gDAAgD,CAAC;AAE/D,cAAc,4CAA4C,CAAC;AAE3D,cAAc,kGAAkG,CAAC;AACjH,cAAc,sFAAsF,CAAC;AAErG,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAE3C,cAAc,iCAAiC,CAAC;AAEhD,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iCAAiC,CAAC;AAChD,cAAc,qBAAqB,CAAC;AAEpC,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAE9C,cAAc,mDAAmD,CAAC;AAClE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yDAAyD,CAAC;AACxE,cAAc,oDAAoD,CAAC;AACnE,cAAc,kDAAkD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitored-processes.js","sourceRoot":"","sources":["../../../src/services/process-monitor/monitored-processes.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var ProcessMonitorDisplayMode;
|
|
2
|
+
(function (ProcessMonitorDisplayMode) {
|
|
3
|
+
ProcessMonitorDisplayMode["Standard"] = "Standard";
|
|
4
|
+
ProcessMonitorDisplayMode["Modal"] = "Modal";
|
|
5
|
+
})(ProcessMonitorDisplayMode || (ProcessMonitorDisplayMode = {}));
|
|
6
|
+
//# sourceMappingURL=process-monitor-display-mode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process-monitor-display-mode.js","sourceRoot":"","sources":["../../../src/services/process-monitor/process-monitor-display-mode.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,kDAAqB,CAAA;IACrB,4CAAe,CAAA;AACjB,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,QAGpC"}
|
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Signal } from "@angular/core";
|
|
2
2
|
import { ProcessMonitorState } from './process-monitor-state';
|
|
3
|
-
import {
|
|
3
|
+
import { ProcessHolder } from "./process-holder";
|
|
4
|
+
import { MonitoredProcesses } from "./monitored-processes.ts";
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ProcessMonitorService {
|
|
6
7
|
static readonly DEFAULT_GROUP: string;
|
|
7
|
-
private
|
|
8
|
-
private
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
private _defaultLabel;
|
|
9
|
+
private processes;
|
|
10
|
+
hasModalProcesses(): Signal<boolean>;
|
|
11
|
+
hasStandardProcesses(): Signal<boolean>;
|
|
12
|
+
modalProcesses(): Signal<MonitoredProcesses>;
|
|
13
|
+
standardProcesses(): Signal<MonitoredProcesses>;
|
|
14
|
+
get defaultLabel(): string;
|
|
15
|
+
set defaultLabel(val: string);
|
|
13
16
|
fafMonitorProcessDefaultLabel<T>(promise: Promise<T>, modal?: boolean): void;
|
|
14
17
|
fafMonitorProcessSimple<T>(promise: Promise<T>, label: string, modal?: boolean): void;
|
|
15
|
-
fafMonitorProcess<T>(promise: Promise<T>, descriptor: ProcessMonitorState
|
|
18
|
+
fafMonitorProcess<T>(promise: Promise<T>, descriptor: ProcessMonitorState, modal?: boolean): void;
|
|
16
19
|
monitorProcessDefaultLabel<T>(promise: Promise<T>, modal?: boolean): Promise<T>;
|
|
17
20
|
monitorProcessSimple<T>(promise: Promise<T>, label: string, modal?: boolean): Promise<T>;
|
|
18
|
-
monitorProcess<T>(promise: Promise<T>, descriptor: ProcessMonitorState
|
|
21
|
+
monitorProcess<T>(promise: Promise<T>, descriptor: ProcessMonitorState, modal?: boolean): Promise<T>;
|
|
22
|
+
monitorProcessWithUpdate<T>(promise: Promise<T>, descriptor: ProcessMonitorState, modal?: boolean): ProcessHolder<T>;
|
|
19
23
|
private innerMonitorProcess;
|
|
20
|
-
private mapToGroupedProcessList;
|
|
21
24
|
static labelToProcessInput(label: string): ProcessMonitorState;
|
|
22
|
-
private defaultInput;
|
|
23
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessMonitorService, never>;
|
|
24
26
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProcessMonitorService>;
|
|
25
27
|
}
|
|
@@ -1,98 +1,93 @@
|
|
|
1
|
-
import { Injectable, signal } from "@angular/core";
|
|
1
|
+
import { computed, Injectable, signal } from "@angular/core";
|
|
2
2
|
import { RequireRatchet } from "@bitblit/ratchet-common/lang/require-ratchet";
|
|
3
3
|
import { StringRatchet } from "@bitblit/ratchet-common/lang/string-ratchet";
|
|
4
4
|
import { No } from "@bitblit/ratchet-common/lang/no";
|
|
5
|
-
import {
|
|
5
|
+
import { Logger } from "@bitblit/ratchet-common/logger/logger";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class ProcessMonitorService {
|
|
8
8
|
static DEFAULT_GROUP = 'Long-Running Process';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
return
|
|
9
|
+
_defaultLabel = 'Processing...';
|
|
10
|
+
processes = signal({ processes: [] });
|
|
11
|
+
hasModalProcesses() {
|
|
12
|
+
return computed(() => {
|
|
13
|
+
const rval = this.modalProcesses()().processes.length > 0;
|
|
14
|
+
return rval;
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
hasStandardProcesses() {
|
|
18
|
+
return computed(() => {
|
|
19
|
+
const rval = this.standardProcesses()().processes.length > 0;
|
|
20
|
+
return rval;
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
modalProcesses() {
|
|
24
|
+
const rval = computed(() => {
|
|
25
|
+
const r = this.processes().processes;
|
|
26
|
+
const modalOnly = r.filter(s => s.modal);
|
|
27
|
+
return { processes: modalOnly };
|
|
28
|
+
});
|
|
29
|
+
return rval;
|
|
13
30
|
}
|
|
14
|
-
|
|
15
|
-
return
|
|
31
|
+
standardProcesses() {
|
|
32
|
+
return computed(() => {
|
|
33
|
+
const r = this.processes().processes;
|
|
34
|
+
const modalOnly = r.filter(s => !s.modal);
|
|
35
|
+
return { processes: modalOnly };
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
get defaultLabel() {
|
|
39
|
+
return this._defaultLabel;
|
|
40
|
+
}
|
|
41
|
+
set defaultLabel(val) {
|
|
42
|
+
this._defaultLabel = val;
|
|
16
43
|
}
|
|
17
|
-
processes = signal({ groups: [] });
|
|
18
|
-
modalProcesses = signal({ groups: [] });
|
|
19
44
|
fafMonitorProcessDefaultLabel(promise, modal) {
|
|
20
|
-
this.monitorProcessSimple(promise,
|
|
45
|
+
this.monitorProcessSimple(promise, this.defaultLabel, modal).then(No.op);
|
|
21
46
|
}
|
|
22
47
|
fafMonitorProcessSimple(promise, label, modal) {
|
|
23
48
|
this.monitorProcessSimple(promise, label, modal).then(No.op);
|
|
24
49
|
}
|
|
25
50
|
fafMonitorProcess(promise, descriptor, modal) {
|
|
26
|
-
|
|
27
|
-
const sig = modal ? this.modalProcesses : this.processes;
|
|
28
|
-
this.innerMonitorProcess(promise, descriptor, map, sig).then(No.op);
|
|
51
|
+
this.monitorProcess(promise, descriptor, modal).then(No.op);
|
|
29
52
|
}
|
|
30
|
-
|
|
31
|
-
return this.monitorProcessSimple(promise,
|
|
53
|
+
monitorProcessDefaultLabel(promise, modal) {
|
|
54
|
+
return this.monitorProcessSimple(promise, this.defaultLabel, modal);
|
|
32
55
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
return this.monitorProcess(promise, descriptor, modal);
|
|
56
|
+
monitorProcessSimple(promise, label, modal) {
|
|
57
|
+
return this.monitorProcess(promise, ProcessMonitorService.labelToProcessInput(label), modal);
|
|
36
58
|
}
|
|
37
|
-
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
return this.innerMonitorProcess(promise, descriptor, map, sig);
|
|
59
|
+
monitorProcess(promise, descriptor, modal) {
|
|
60
|
+
const val = this.innerMonitorProcess(promise, descriptor, modal);
|
|
61
|
+
return val.proc;
|
|
41
62
|
}
|
|
42
|
-
|
|
63
|
+
monitorProcessWithUpdate(promise, descriptor, modal) {
|
|
64
|
+
return this.innerMonitorProcess(promise, descriptor, modal);
|
|
65
|
+
}
|
|
66
|
+
innerMonitorProcess(promise, descriptor, modal = false) {
|
|
43
67
|
RequireRatchet.notNullOrUndefined(promise, 'promise');
|
|
44
68
|
RequireRatchet.notNullOrUndefined(descriptor, 'descriptor');
|
|
45
|
-
const
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
};
|
|
51
|
-
map.set(holder.guid, holder);
|
|
52
|
-
const finished = holder.proc.finally(() => {
|
|
53
|
-
map.delete(holder.guid);
|
|
69
|
+
const guid = StringRatchet.createRandomHexString(10);
|
|
70
|
+
const wrapped = promise.finally(() => {
|
|
71
|
+
Logger.info('Process %s finished - removing', holder.guid);
|
|
72
|
+
const newProc = this.processes().processes.filter(s => s.guid !== guid);
|
|
73
|
+
this.processes.set({ processes: newProc });
|
|
54
74
|
});
|
|
55
|
-
const
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
const rval = {
|
|
63
|
-
groups: []
|
|
75
|
+
const holder = {
|
|
76
|
+
guid: guid,
|
|
77
|
+
proc: wrapped,
|
|
78
|
+
input: signal(descriptor),
|
|
79
|
+
group: ProcessMonitorService.DEFAULT_GROUP,
|
|
80
|
+
modal: modal
|
|
64
81
|
};
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
let out = rval.groups.find(s => s.group === group);
|
|
70
|
-
if (!out) {
|
|
71
|
-
out = {
|
|
72
|
-
group: group,
|
|
73
|
-
processes: []
|
|
74
|
-
};
|
|
75
|
-
rval.groups.push(out);
|
|
76
|
-
}
|
|
77
|
-
;
|
|
78
|
-
out.processes.push(v);
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
return rval;
|
|
82
|
+
const oldProc = this.processes().processes;
|
|
83
|
+
oldProc.push(holder);
|
|
84
|
+
this.processes.set({ processes: oldProc });
|
|
85
|
+
return holder;
|
|
82
86
|
}
|
|
83
87
|
static labelToProcessInput(label) {
|
|
84
88
|
return {
|
|
85
89
|
label: label,
|
|
86
90
|
detail: null,
|
|
87
|
-
group: ProcessMonitorService.DEFAULT_GROUP,
|
|
88
|
-
percentComplete: null
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
defaultInput() {
|
|
92
|
-
return {
|
|
93
|
-
label: 'Process',
|
|
94
|
-
detail: null,
|
|
95
|
-
group: ProcessMonitorService.DEFAULT_GROUP,
|
|
96
91
|
percentComplete: null
|
|
97
92
|
};
|
|
98
93
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-monitor-service.js","sourceRoot":"","sources":["../../../src/services/process-monitor/process-monitor-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"process-monitor-service.js","sourceRoot":"","sources":["../../../src/services/process-monitor/process-monitor-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAU,MAAM,EAAkB,MAAM,eAAe,CAAC;AACrF,OAAO,EAAC,cAAc,EAAC,MAAM,8CAA8C,CAAC;AAE5E,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,EAAE,EAAC,MAAM,iCAAiC,CAAC;AAGnD,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;;AAI/D,MAAM,OAAO,qBAAqB;IACzB,MAAM,CAAU,aAAa,GAAW,sBAAsB,CAAC;IAC9D,aAAa,GAAW,eAAe,CAAC;IAExC,SAAS,GAAuC,MAAM,CAAC,EAAC,SAAS,EAAC,EAAE,EAAC,CAAC,CAAC;IAExE,iBAAiB;QACtB,OAAO,QAAQ,CACb,GAAE,EAAE;YACF,MAAM,IAAI,GAAY,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,GAAC,CAAC,CAA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|
"name": "@bitblit/ngx-acute-common",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.650-alpha",
|
|
4
4
|
"description": "Library for using angular",
|
|
5
5
|
"module": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@angular/platform-browser": "19.2.9",
|
|
45
45
|
"@angular/platform-browser-dynamic": "19.2.9",
|
|
46
46
|
"@angular/router": "19.2.9",
|
|
47
|
-
"@bitblit/ratchet-common": "5.1.
|
|
48
|
-
"@bitblit/ratchet-graphql": "5.1.
|
|
47
|
+
"@bitblit/ratchet-common": "5.1.650-alpha",
|
|
48
|
+
"@bitblit/ratchet-graphql": "5.1.650-alpha",
|
|
49
49
|
"primeflex": "4.0.0",
|
|
50
50
|
"primeicons": "7.0.0",
|
|
51
51
|
"primeng": "19.1.2",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"@angular/platform-browser": "^19.2.9",
|
|
63
63
|
"@angular/platform-browser-dynamic": "^19.2.9",
|
|
64
64
|
"@angular/router": "^19.2.9",
|
|
65
|
-
"@bitblit/ratchet-common": "5.1.
|
|
66
|
-
"@bitblit/ratchet-graphql": "5.1.
|
|
65
|
+
"@bitblit/ratchet-common": "5.1.650-alpha",
|
|
66
|
+
"@bitblit/ratchet-graphql": "5.1.650-alpha",
|
|
67
67
|
"primeflex": "4.0.0",
|
|
68
68
|
"primeicons": "7.0.0",
|
|
69
69
|
"primeng": "19.1.2",
|
|
@@ -72,6 +72,6 @@
|
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@angular/compiler-cli": "19.2.9",
|
|
75
|
-
"@bitblit/ratchet-node-only": "5.1.
|
|
75
|
+
"@bitblit/ratchet-node-only": "5.1.650-alpha"
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ProcessMonitorService } from "../../services/process-monitor/process-monitor-service";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ProcessMonitorComponent {
|
|
4
|
-
processMonitorService: ProcessMonitorService;
|
|
5
|
-
modalHeader: string;
|
|
6
|
-
normalHeader: string;
|
|
7
|
-
constructor(processMonitorService: ProcessMonitorService);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessMonitorComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessMonitorComponent, "ngx-acute-common-process-monitor", never, { "modalHeader": { "alias": "modalHeader"; "required": false; }; "normalHeader": { "alias": "normalHeader"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from "@angular/core";
|
|
2
|
-
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
|
|
3
|
-
import { ContextMenuModule } from "primeng/contextmenu";
|
|
4
|
-
import { CardModule } from "primeng/card";
|
|
5
|
-
import { MultiSelectModule } from "primeng/multiselect";
|
|
6
|
-
import { TableModule } from "primeng/table";
|
|
7
|
-
import { PanelModule } from "primeng/panel";
|
|
8
|
-
import { SidebarModule } from "primeng/sidebar";
|
|
9
|
-
import { InputGroupAddonModule } from "primeng/inputgroupaddon";
|
|
10
|
-
import { InputGroupModule } from "primeng/inputgroup";
|
|
11
|
-
import { InputSwitchModule } from "primeng/inputswitch";
|
|
12
|
-
import { NgForOf, NgIf } from "@angular/common";
|
|
13
|
-
import { ProgressBar } from "primeng/progressbar";
|
|
14
|
-
import { Dialog } from "primeng/dialog";
|
|
15
|
-
import { ProcessMonitorService } from "../../services/process-monitor/process-monitor-service";
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
import * as i1 from "../../services/process-monitor/process-monitor-service";
|
|
18
|
-
const _c0 = () => ({ width: "90rem" });
|
|
19
|
-
function ProcessMonitorComponent_div_1_ng_container_1_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
-
i0.ɵɵelementStart(0, "div", 9);
|
|
21
|
-
i0.ɵɵelement(1, "p-progress-bar", 10);
|
|
22
|
-
i0.ɵɵelementEnd();
|
|
23
|
-
} if (rf & 2) {
|
|
24
|
-
const pm_r1 = i0.ɵɵnextContext().$implicit;
|
|
25
|
-
i0.ɵɵadvance();
|
|
26
|
-
i0.ɵɵproperty("value", pm_r1.input().percentComplete);
|
|
27
|
-
} }
|
|
28
|
-
function ProcessMonitorComponent_div_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
-
i0.ɵɵelementContainerStart(0);
|
|
30
|
-
i0.ɵɵelementStart(1, "div", 5)(2, "div", 6);
|
|
31
|
-
i0.ɵɵtext(3);
|
|
32
|
-
i0.ɵɵelementEnd();
|
|
33
|
-
i0.ɵɵelementStart(4, "div", 7);
|
|
34
|
-
i0.ɵɵtext(5);
|
|
35
|
-
i0.ɵɵelementEnd()();
|
|
36
|
-
i0.ɵɵtemplate(6, ProcessMonitorComponent_div_1_ng_container_1_div_6_Template, 2, 1, "div", 8);
|
|
37
|
-
i0.ɵɵelementContainerEnd();
|
|
38
|
-
} if (rf & 2) {
|
|
39
|
-
const pm_r1 = ctx.$implicit;
|
|
40
|
-
i0.ɵɵadvance(3);
|
|
41
|
-
i0.ɵɵtextInterpolate(pm_r1.input().label);
|
|
42
|
-
i0.ɵɵadvance(2);
|
|
43
|
-
i0.ɵɵtextInterpolate(pm_r1.input().detail);
|
|
44
|
-
i0.ɵɵadvance();
|
|
45
|
-
i0.ɵɵproperty("ngIf", pm_r1.input().percentComplete);
|
|
46
|
-
} }
|
|
47
|
-
function ProcessMonitorComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
-
i0.ɵɵelementStart(0, "div", 3);
|
|
49
|
-
i0.ɵɵtemplate(1, ProcessMonitorComponent_div_1_ng_container_1_Template, 7, 3, "ng-container", 4);
|
|
50
|
-
i0.ɵɵelementEnd();
|
|
51
|
-
} if (rf & 2) {
|
|
52
|
-
const gp_r2 = ctx.$implicit;
|
|
53
|
-
i0.ɵɵadvance();
|
|
54
|
-
i0.ɵɵproperty("ngForOf", gp_r2.processes);
|
|
55
|
-
} }
|
|
56
|
-
function ProcessMonitorComponent_div_3_ng_container_1_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
57
|
-
i0.ɵɵelementStart(0, "div", 7);
|
|
58
|
-
i0.ɵɵtext(1);
|
|
59
|
-
i0.ɵɵelementEnd();
|
|
60
|
-
} if (rf & 2) {
|
|
61
|
-
const pm_r3 = i0.ɵɵnextContext().$implicit;
|
|
62
|
-
i0.ɵɵadvance();
|
|
63
|
-
i0.ɵɵtextInterpolate(pm_r3.input().detail);
|
|
64
|
-
} }
|
|
65
|
-
function ProcessMonitorComponent_div_3_ng_container_1_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
66
|
-
i0.ɵɵelementStart(0, "div", 9);
|
|
67
|
-
i0.ɵɵelement(1, "p-progress-bar", 10);
|
|
68
|
-
i0.ɵɵelementEnd();
|
|
69
|
-
} if (rf & 2) {
|
|
70
|
-
const pm_r3 = i0.ɵɵnextContext().$implicit;
|
|
71
|
-
i0.ɵɵadvance();
|
|
72
|
-
i0.ɵɵproperty("value", pm_r3.input().percentComplete);
|
|
73
|
-
} }
|
|
74
|
-
function ProcessMonitorComponent_div_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
75
|
-
i0.ɵɵelementContainerStart(0);
|
|
76
|
-
i0.ɵɵelementStart(1, "div", 5)(2, "div", 6);
|
|
77
|
-
i0.ɵɵtext(3);
|
|
78
|
-
i0.ɵɵelementEnd();
|
|
79
|
-
i0.ɵɵtemplate(4, ProcessMonitorComponent_div_3_ng_container_1_div_4_Template, 2, 1, "div", 11);
|
|
80
|
-
i0.ɵɵelementEnd();
|
|
81
|
-
i0.ɵɵtemplate(5, ProcessMonitorComponent_div_3_ng_container_1_div_5_Template, 2, 1, "div", 8);
|
|
82
|
-
i0.ɵɵelementContainerEnd();
|
|
83
|
-
} if (rf & 2) {
|
|
84
|
-
const pm_r3 = ctx.$implicit;
|
|
85
|
-
i0.ɵɵadvance(3);
|
|
86
|
-
i0.ɵɵtextInterpolate(pm_r3.input().label);
|
|
87
|
-
i0.ɵɵadvance();
|
|
88
|
-
i0.ɵɵproperty("ngIf", pm_r3.input().detail);
|
|
89
|
-
i0.ɵɵadvance();
|
|
90
|
-
i0.ɵɵproperty("ngIf", pm_r3.input().percentComplete);
|
|
91
|
-
} }
|
|
92
|
-
function ProcessMonitorComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
93
|
-
i0.ɵɵelementStart(0, "div", 3);
|
|
94
|
-
i0.ɵɵtemplate(1, ProcessMonitorComponent_div_3_ng_container_1_Template, 6, 3, "ng-container", 4);
|
|
95
|
-
i0.ɵɵelementEnd();
|
|
96
|
-
} if (rf & 2) {
|
|
97
|
-
const gp_r4 = ctx.$implicit;
|
|
98
|
-
i0.ɵɵadvance();
|
|
99
|
-
i0.ɵɵproperty("ngForOf", gp_r4.processes);
|
|
100
|
-
} }
|
|
101
|
-
export class ProcessMonitorComponent {
|
|
102
|
-
processMonitorService;
|
|
103
|
-
modalHeader = null;
|
|
104
|
-
normalHeader = null;
|
|
105
|
-
constructor(processMonitorService) {
|
|
106
|
-
this.processMonitorService = processMonitorService;
|
|
107
|
-
}
|
|
108
|
-
static ɵfac = function ProcessMonitorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProcessMonitorComponent)(i0.ɵɵdirectiveInject(i1.ProcessMonitorService)); };
|
|
109
|
-
static ɵcmp = i0.ɵɵdefineComponent({ type: ProcessMonitorComponent, selectors: [["ngx-acute-common-process-monitor"]], inputs: { modalHeader: "modalHeader", normalHeader: "normalHeader" }, decls: 4, vars: 16, consts: [["position", "bottom", 3, "header", "closable", "modal", "visible"], ["style", "display: flex; flex-direction: row; width: 100%", 4, "ngFor", "ngForOf"], ["position", "center", 3, "header", "modal", "closable", "visible"], [2, "display", "flex", "flex-direction", "row", "width", "100%"], [4, "ngFor", "ngForOf"], [2, "display", "flex", "flex-direction", "column", "width", "50%", "gap", "2px"], [2, "font-weight", "bolder"], [2, "font-style", "italic", "margin-left", "15px"], ["style", "min-width: 50vw", 4, "ngIf"], [2, "min-width", "50vw"], [3, "value"], ["style", "font-style: italic; margin-left: 15px", 4, "ngIf"]], template: function ProcessMonitorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
110
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
111
|
-
i0.ɵɵtemplate(1, ProcessMonitorComponent_div_1_Template, 2, 1, "div", 1);
|
|
112
|
-
i0.ɵɵelementEnd();
|
|
113
|
-
i0.ɵɵelementStart(2, "p-dialog", 2);
|
|
114
|
-
i0.ɵɵtemplate(3, ProcessMonitorComponent_div_3_Template, 2, 1, "div", 1);
|
|
115
|
-
i0.ɵɵelementEnd();
|
|
116
|
-
} if (rf & 2) {
|
|
117
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(14, _c0));
|
|
118
|
-
i0.ɵɵproperty("header", ctx.normalHeader)("closable", false)("modal", false)("visible", ctx.processMonitorService.showDisplay);
|
|
119
|
-
i0.ɵɵadvance();
|
|
120
|
-
i0.ɵɵproperty("ngForOf", ctx.processMonitorService.processes().groups);
|
|
121
|
-
i0.ɵɵadvance();
|
|
122
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(15, _c0));
|
|
123
|
-
i0.ɵɵproperty("header", ctx.modalHeader)("modal", true)("closable", false)("visible", ctx.processMonitorService.showModalDisplay);
|
|
124
|
-
i0.ɵɵadvance();
|
|
125
|
-
i0.ɵɵproperty("ngForOf", ctx.processMonitorService.modalProcesses().groups);
|
|
126
|
-
} }, dependencies: [CardModule,
|
|
127
|
-
MultiSelectModule,
|
|
128
|
-
ContextMenuModule,
|
|
129
|
-
TableModule,
|
|
130
|
-
ReactiveFormsModule,
|
|
131
|
-
PanelModule,
|
|
132
|
-
SidebarModule,
|
|
133
|
-
InputGroupAddonModule,
|
|
134
|
-
InputGroupModule,
|
|
135
|
-
InputSwitchModule,
|
|
136
|
-
FormsModule,
|
|
137
|
-
NgForOf,
|
|
138
|
-
ProgressBar,
|
|
139
|
-
NgIf,
|
|
140
|
-
Dialog], encapsulation: 2 });
|
|
141
|
-
}
|
|
142
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProcessMonitorComponent, [{
|
|
143
|
-
type: Component,
|
|
144
|
-
args: [{ selector: 'ngx-acute-common-process-monitor', imports: [
|
|
145
|
-
CardModule,
|
|
146
|
-
MultiSelectModule,
|
|
147
|
-
ContextMenuModule,
|
|
148
|
-
TableModule,
|
|
149
|
-
ReactiveFormsModule,
|
|
150
|
-
PanelModule,
|
|
151
|
-
SidebarModule,
|
|
152
|
-
InputGroupAddonModule,
|
|
153
|
-
InputGroupModule,
|
|
154
|
-
InputSwitchModule,
|
|
155
|
-
FormsModule,
|
|
156
|
-
NgForOf,
|
|
157
|
-
ProgressBar,
|
|
158
|
-
NgIf,
|
|
159
|
-
Dialog
|
|
160
|
-
], standalone: true, template: "\n<p-dialog [header]=\"normalHeader\" [closable]=\"false\"\n [modal]=\"false\" [visible]=\"processMonitorService.showDisplay\" position=\"bottom\" [style]=\"{ width: '90rem' }\">\n\n <div style=\"display: flex; flex-direction: row; width: 100%\" *ngFor=\"let gp of processMonitorService.processes().groups\">\n <ng-container *ngFor=\"let pm of gp.processes\">\n <div style=\"display: flex; flex-direction: column; width: 50%; gap: 2px\">\n <div style=\"font-weight: bolder\">{{pm.input().label}}</div>\n <div style=\"font-style: italic; margin-left: 15px\">{{pm.input().detail}}</div>\n </div>\n <div *ngIf=\"pm.input().percentComplete\" style=\"min-width: 50vw\">\n <p-progress-bar [value]=\"pm.input().percentComplete\" />\n </div>\n </ng-container>\n </div>\n\n</p-dialog>\n\n<p-dialog [header]=\"modalHeader\" [modal]=\"true\"\n [closable]=\"false\"\n [visible]=\"processMonitorService.showModalDisplay\" position=\"center\" [style]=\"{ width: '90rem' }\">\n <div style=\"display: flex; flex-direction: row; width: 100%\" *ngFor=\"let gp of processMonitorService.modalProcesses().groups\">\n <ng-container *ngFor=\"let pm of gp.processes\">\n\n <div style=\"display: flex; flex-direction: column; width: 50%; gap: 2px\">\n <div style=\"font-weight: bolder\">{{pm.input().label}}</div>\n <div style=\"font-style: italic; margin-left: 15px\" *ngIf=\"pm.input().detail\">{{pm.input().detail}}</div>\n </div>\n <div *ngIf=\"pm.input().percentComplete\" style=\"min-width: 50vw\">\n <p-progress-bar [value]=\"pm.input().percentComplete\" />\n </div>\n </ng-container>\n </div>\n</p-dialog>\n" }]
|
|
161
|
-
}], () => [{ type: i1.ProcessMonitorService }], { modalHeader: [{
|
|
162
|
-
type: Input
|
|
163
|
-
}], normalHeader: [{
|
|
164
|
-
type: Input
|
|
165
|
-
}] }); })();
|
|
166
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProcessMonitorComponent, { className: "ProcessMonitorComponent", filePath: "components/process-monitor/process-monitor.component.ts", lineNumber: 40 }); })();
|
|
167
|
-
//# sourceMappingURL=process-monitor.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"process-monitor.component.js","sourceRoot":"","sources":["../../../src/components/process-monitor/process-monitor.component.ts","../../../src/components/process-monitor/process-monitor.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE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O,uBAAuB;IAKzB;IAJO,WAAW,GAAS,IAAI,CAAC;IACzB,YAAY,GAAS,IAAI,CAAC;IAE1C,YACS,qBAA4C;QAA5C,0BAAqB,GAArB,qBAAqB,CAAuB;IAErD,CAAC;iHAPU,uBAAuB;+CAAvB,uBAAuB;YCtCpC,mCACuH;YAErH,wEAAyH;YAY3H,iBAAW;YAEX,mCAE4G;YAC1G,wEAA8H;YAYhI,iBAAW;;YA/B+E,0CAA4B;YAA5F,AAAhB,AADwB,AAAxB,yCAAuB,mBAAmB,gBAC3B,kDAA8C;YAEO,cAA2C;YAA3C,sEAA2C;YAgB1C,cAA4B;YAA5B,0CAA4B;YAAjG,AADA,AADuB,AAAvB,wCAAsB,eAAe,mBACnB,uDACgC;YACkB,cAAgD;YAAhD,2EAAgD;4BDA1H,UAAU;YACV,iBAAiB;YACjB,iBAAiB;YACjB,WAAW;YACX,mBAAmB;YACnB,WAAW;YACX,aAAa;YACb,qBAAqB;YACrB,gBAAgB;YAChB,iBAAiB;YACjB,WAAW;YACX,OAAO;YACP,WAAW;YACX,IAAI;YACJ,MAAM;;iFAIG,uBAAuB;cAtBnC,SAAS;2BACE,kCAAkC,WAEnC;oBACP,UAAU;oBACV,iBAAiB;oBACjB,iBAAiB;oBACjB,WAAW;oBACX,mBAAmB;oBACnB,WAAW;oBACX,aAAa;oBACb,qBAAqB;oBACrB,gBAAgB;oBAChB,iBAAiB;oBACjB,WAAW;oBACX,OAAO;oBACP,WAAW;oBACX,IAAI;oBACJ,MAAM;iBACP,cACW,IAAI;sDAGA,WAAW;kBAA1B,KAAK;YACU,YAAY;kBAA3B,KAAK;;kFAFK,uBAAuB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grouped-process-list.js","sourceRoot":"","sources":["../../../src/services/process-monitor/grouped-process-list.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grouped-processes.js","sourceRoot":"","sources":["../../../src/services/process-monitor/grouped-processes.ts"],"names":[],"mappings":""}
|