@bitblit/ngx-acute-common 5.1.118 → 5.1.122-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/acute-common-type-guards.d.ts +4 -0
- package/lib/acute-common-type-guards.js +9 -0
- package/lib/acute-common-type-guards.js.map +1 -0
- package/lib/components/dynamic-404-helper/dynamic-404-helper.component.js +14 -14
- package/lib/components/dynamic-404-helper/dynamic-404-helper.component.js.map +1 -1
- package/lib/components/log-display/log-display.component.js +4 -5
- package/lib/components/log-display/log-display.component.js.map +1 -1
- package/lib/components/process-monitor-simple-display/process-monitor-simple-display.component.d.ts +9 -0
- package/lib/components/process-monitor-simple-display/process-monitor-simple-display.component.js +90 -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 +98 -0
- package/lib/components/process-monitor-simple-modal-display/process-monitor-simple-modal-display.component.js.map +1 -0
- package/lib/constants.d.ts +2 -0
- package/lib/constants.js +3 -0
- package/lib/constants.js.map +1 -0
- package/lib/index.d.ts +13 -1
- package/lib/index.js +13 -1
- package/lib/index.js.map +1 -1
- package/lib/pipes/duration-ms-formatted.pipe.d.ts +7 -0
- package/lib/pipes/duration-ms-formatted.pipe.js +30 -0
- package/lib/pipes/duration-ms-formatted.pipe.js.map +1 -0
- package/lib/services/css-theme.service.d.ts +11 -0
- package/lib/services/css-theme.service.js +50 -0
- package/lib/services/css-theme.service.js.map +1 -0
- package/lib/services/graphql-query-execution-display-style.d.ts +5 -0
- package/lib/services/graphql-query-execution-display-style.js +7 -0
- package/lib/services/graphql-query-execution-display-style.js.map +1 -0
- package/lib/services/graphql-query-execution-options.d.ts +9 -0
- package/lib/services/graphql-query-execution-options.js +2 -0
- package/lib/services/graphql-query-execution-options.js.map +1 -0
- package/lib/services/graphql-query.service.d.ts +8 -12
- package/lib/services/graphql-query.service.js +59 -61
- package/lib/services/graphql-query.service.js.map +1 -1
- package/lib/services/local-storage.service.d.ts +17 -6
- package/lib/services/local-storage.service.js +61 -12
- package/lib/services/local-storage.service.js.map +1 -1
- package/lib/services/process-monitor/monitored-processes.d.ts +4 -0
- 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 +9 -0
- package/lib/services/process-monitor/process-holder.js +2 -0
- package/lib/services/process-monitor/process-holder.js.map +1 -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 +33 -0
- package/lib/services/process-monitor/process-monitor-service.js +148 -0
- package/lib/services/process-monitor/process-monitor-service.js.map +1 -0
- package/lib/services/process-monitor/process-monitor-state.d.ts +5 -0
- package/lib/services/process-monitor/process-monitor-state.js +2 -0
- package/lib/services/process-monitor/process-monitor-state.js.map +1 -0
- package/lib/services/window-ref.service.d.ts +2 -0
- package/lib/services/window-ref.service.js +6 -0
- package/lib/services/window-ref.service.js.map +1 -1
- package/package.json +33 -33
- package/lib/components/dialogs/block-ui/block-ui.component.d.ts +0 -12
- package/lib/components/dialogs/block-ui/block-ui.component.js +0 -79
- package/lib/components/dialogs/block-ui/block-ui.component.js.map +0 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export class AcuteCommonTypeGuards {
|
|
2
|
+
static isProcessMonitorState(item) {
|
|
3
|
+
return item && item.label && typeof item.label === 'string'
|
|
4
|
+
&& !item.detail || typeof item.detail === 'string'
|
|
5
|
+
&& !item.group || typeof item.group === 'string'
|
|
6
|
+
&& !item.percentComplete || typeof item.percentComplete === 'number';
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=acute-common-type-guards.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acute-common-type-guards.js","sourceRoot":"","sources":["../src/acute-common-type-guards.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,qBAAqB;IACzB,MAAM,CAAC,qBAAqB,CAAC,IAAS;QAC3C,OAAO,IAAI,IAAI,IAAI,CAAC,KAAK,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ;eACtD,CAAC,IAAI,CAAC,MAAM,IAAI,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ;eAC/C,CAAC,IAAI,CAAC,KAAK,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ;eAC7C,CAAC,IAAI,CAAC,eAAe,IAAI,OAAO,IAAI,CAAC,eAAe,KAAK,QAAQ,CAAC;IACzE,CAAC;CACF"}
|
|
@@ -5,27 +5,26 @@ import { FormsModule } from '@angular/forms';
|
|
|
5
5
|
import { CommonModule } from '@angular/common';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
import * as i1 from "@angular/router";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "h3");
|
|
8
|
+
function Dynamic404HelperComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
9
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h3");
|
|
11
10
|
i0.ɵɵtext(3, "Page Not Found");
|
|
12
11
|
i0.ɵɵelementEnd()();
|
|
13
|
-
i0.ɵɵelementStart(4, "div",
|
|
12
|
+
i0.ɵɵelementStart(4, "div", 3)(5, "h4");
|
|
14
13
|
i0.ɵɵtext(6, "Oops!");
|
|
15
14
|
i0.ɵɵelementEnd();
|
|
16
15
|
i0.ɵɵelementStart(7, "p");
|
|
17
16
|
i0.ɵɵtext(8, "We can't find the page you are trying to reach - please ");
|
|
18
|
-
i0.ɵɵelementStart(9, "a",
|
|
17
|
+
i0.ɵɵelementStart(9, "a", 4);
|
|
19
18
|
i0.ɵɵtext(10, " go back");
|
|
20
19
|
i0.ɵɵelementEnd();
|
|
21
20
|
i0.ɵɵtext(11, " and try again.");
|
|
22
21
|
i0.ɵɵelementEnd()()();
|
|
23
22
|
} }
|
|
24
|
-
function
|
|
25
|
-
i0.ɵɵelementStart(0, "div",
|
|
23
|
+
function Dynamic404HelperComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h3");
|
|
26
25
|
i0.ɵɵtext(3, "Redirecting");
|
|
27
26
|
i0.ɵɵelementEnd()();
|
|
28
|
-
i0.ɵɵelementStart(4, "div",
|
|
27
|
+
i0.ɵɵelementStart(4, "div", 3)(5, "p");
|
|
29
28
|
i0.ɵɵtext(6, "Sending you to the new version of that page...");
|
|
30
29
|
i0.ɵɵelementEnd()()();
|
|
31
30
|
} }
|
|
@@ -57,20 +56,21 @@ export class Dynamic404HelperComponent {
|
|
|
57
56
|
}
|
|
58
57
|
}
|
|
59
58
|
static ɵfac = function Dynamic404HelperComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Dynamic404HelperComponent)(i0.ɵɵdirectiveInject(i1.Router)); };
|
|
60
|
-
static ɵcmp = i0.ɵɵdefineComponent({ type: Dynamic404HelperComponent, selectors: [["ngx-acute-common-dynamic-404-helper"]], decls: 3, vars: 2, consts: [[1, "container"], [
|
|
59
|
+
static ɵcmp = i0.ɵɵdefineComponent({ type: Dynamic404HelperComponent, selectors: [["ngx-acute-common-dynamic-404-helper"]], decls: 3, vars: 2, consts: [[1, "container"], [1, "row"], [1, "col-sm-2"], [1, "col-sm-10"], ["routerLink", "/secure/dashboard"]], template: function Dynamic404HelperComponent_Template(rf, ctx) { if (rf & 1) {
|
|
61
60
|
i0.ɵɵelementStart(0, "div", 0);
|
|
62
|
-
i0.ɵɵ
|
|
61
|
+
i0.ɵɵconditionalCreate(1, Dynamic404HelperComponent_Conditional_1_Template, 12, 0, "div", 1);
|
|
62
|
+
i0.ɵɵconditionalCreate(2, Dynamic404HelperComponent_Conditional_2_Template, 7, 0, "div", 1);
|
|
63
63
|
i0.ɵɵelementEnd();
|
|
64
64
|
} if (rf & 2) {
|
|
65
65
|
i0.ɵɵadvance();
|
|
66
|
-
i0.ɵɵ
|
|
66
|
+
i0.ɵɵconditional(ctx.redirectState !== "REDIR" ? 1 : -1);
|
|
67
67
|
i0.ɵɵadvance();
|
|
68
|
-
i0.ɵɵ
|
|
69
|
-
} }, dependencies: [RouterModule, i1.RouterLink, FormsModule, CommonModule
|
|
68
|
+
i0.ɵɵconditional(ctx.redirectState === "REDIR" ? 2 : -1);
|
|
69
|
+
} }, dependencies: [RouterModule, i1.RouterLink, FormsModule, CommonModule], encapsulation: 2 });
|
|
70
70
|
}
|
|
71
71
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Dynamic404HelperComponent, [{
|
|
72
72
|
type: Component,
|
|
73
|
-
args: [{ selector: 'ngx-acute-common-dynamic-404-helper', standalone: true, imports: [RouterModule, FormsModule, CommonModule], template: "<div class=\"container\">\n
|
|
73
|
+
args: [{ selector: 'ngx-acute-common-dynamic-404-helper', standalone: true, imports: [RouterModule, FormsModule, CommonModule], template: "<div class=\"container\">\n @if (redirectState !== 'REDIR') {\n <div class=\"row\">\n <div class=\"col-sm-2\">\n <h3>Page Not Found</h3>\n </div>\n <div class=\"col-sm-10\">\n <h4>Oops!</h4>\n <p>We can't find the page you are trying to reach - please <a routerLink=\"/secure/dashboard\"> go back</a> and try again.</p>\n </div>\n </div>\n }\n\n @if (redirectState === 'REDIR') {\n <div class=\"row\">\n <div class=\"col-sm-2\">\n <h3>Redirecting</h3>\n </div>\n <div class=\"col-sm-10\">\n <p>Sending you to the new version of that page...</p>\n </div>\n </div>\n }\n</div>\n" }]
|
|
74
74
|
}], () => [{ type: i1.Router }], null); })();
|
|
75
75
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Dynamic404HelperComponent, { className: "Dynamic404HelperComponent", filePath: "components/dynamic-404-helper/dynamic-404-helper.component.ts", lineNumber: 13 }); })();
|
|
76
76
|
//# sourceMappingURL=dynamic-404-helper.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-404-helper.component.js","sourceRoot":"","sources":["../../../src/components/dynamic-404-helper/dynamic-404-helper.component.ts","../../../src/components/dynamic-404-helper/dynamic-404-helper.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"dynamic-404-helper.component.js","sourceRoot":"","sources":["../../../src/components/dynamic-404-helper/dynamic-404-helper.component.ts","../../../src/components/dynamic-404-helper/dynamic-404-helper.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;;;;ICAzC,AADF,AADF,8BAAiB,aACO,SAChB;IAAA,8BAAc;IACpB,AADoB,iBAAK,EACnB;IAEJ,AADF,8BAAuB,SACjB;IAAA,qBAAK;IAAA,iBAAK;IACd,yBAAG;IAAA,wEAAwD;IAAA,4BAAkC;IAAC,yBAAO;IAAA,iBAAI;IAAC,gCAAc;IAE5H,AADE,AAD0H,iB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VD,wDAUC;YAED,cASC;YATD,wDASC;4BDZS,YAAY,iBAAE,WAAW,EAAE,YAAY;;iFAEtC,yBAAyB;cANrC,SAAS;2BACE,qCAAqC,cAEnC,IAAI,WACP,CAAC,YAAY,EAAE,WAAW,EAAE,YAAY,CAAC;;kFAEvC,yBAAyB"}
|
|
@@ -129,7 +129,7 @@ export class LogDisplayComponent {
|
|
|
129
129
|
}
|
|
130
130
|
static ɵfac = function LogDisplayComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LogDisplayComponent)(i0.ɵɵdirectiveInject(i1.Router)); };
|
|
131
131
|
static ɵcmp = i0.ɵɵdefineComponent({ type: LogDisplayComponent, selectors: [["ngx-acute-common-log-display"]], hostBindings: function LogDisplayComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
132
|
-
i0.ɵɵlistener("keypress", function LogDisplayComponent_keypress_HostBindingHandler($event) { return ctx.systemKeypress($event); },
|
|
132
|
+
i0.ɵɵlistener("keypress", function LogDisplayComponent_keypress_HostBindingHandler($event) { return ctx.systemKeypress($event); }, i0.ɵɵresolveDocument);
|
|
133
133
|
} }, inputs: { buttonIcon: "buttonIcon", displayShowIcon: "displayShowIcon", hotkeyEnabled: "hotkeyEnabled" }, decls: 9, vars: 11, consts: [["position", "full", 3, "visibleChange", "visible", "header"], [2, "display", "flex", "flex-direction", "row", "justify-content", "start", "gap", "5vw"], ["pTooltip", "Refresh", "icon", "pi pi-refresh", 3, "click"], [3, "ngModelChange", "onChange", "options", "ngModel"], [3, "value"], ["pTemplate", "header"], ["pTemplate", "body"], [3, "click", "icon", "hidden"], ["pSortableColumn", "timestamp"], ["field", "timestamp"]], template: function LogDisplayComponent_Template(rf, ctx) { if (rf & 1) {
|
|
134
134
|
i0.ɵɵelementStart(0, "p-drawer", 0);
|
|
135
135
|
i0.ɵɵtwoWayListener("visibleChange", function LogDisplayComponent_Template_p_drawer_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.visible, $event) || (ctx.visible = $event); return $event; });
|
|
@@ -148,7 +148,7 @@ export class LogDisplayComponent {
|
|
|
148
148
|
i0.ɵɵlistener("click", function LogDisplayComponent_Template_p_button_click_8_listener() { return ctx.open(); });
|
|
149
149
|
i0.ɵɵelementEnd();
|
|
150
150
|
} if (rf & 2) {
|
|
151
|
-
i0.ɵɵ
|
|
151
|
+
i0.ɵɵproperty("header", i0.ɵɵinterpolate2("Logs (Updated ", ctx.formatTime(ctx.updatedEpoch), ", Recording down to ", ctx.levelLogged(), ")"));
|
|
152
152
|
i0.ɵɵtwoWayProperty("visible", ctx.visible);
|
|
153
153
|
i0.ɵɵadvance(3);
|
|
154
154
|
i0.ɵɵproperty("options", ctx.levelFilterOptions);
|
|
@@ -160,9 +160,8 @@ export class LogDisplayComponent {
|
|
|
160
160
|
} }, dependencies: [CardModule, i2.PrimeTemplate, ButtonModule, i3.Button, TooltipModule, i4.Tooltip, DividerModule,
|
|
161
161
|
InputTextModule,
|
|
162
162
|
Drawer,
|
|
163
|
-
TableModule, i5.Table, i5.SortableColumn, i5.SortIcon,
|
|
164
|
-
|
|
165
|
-
FormsModule, i6.NgControlStatus, i6.NgModel], encapsulation: 2 });
|
|
163
|
+
TableModule, i5.Table, i5.SortableColumn, i5.SortIcon, SelectButton,
|
|
164
|
+
FormsModule, i6.NgControlStatus, i6.NgModel, AsyncPipe], encapsulation: 2 });
|
|
166
165
|
}
|
|
167
166
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LogDisplayComponent, [{
|
|
168
167
|
type: Component,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log-display.component.js","sourceRoot":"","sources":["../../../src/components/log-display/log-display.component.ts","../../../src/components/log-display/log-display.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO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AkB;QAC/B,IAAI,IAAI,CAAC,aAAa,IAAI,GAAG,CAAC,IAAI,KAAK,MAAM,IAAI,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,QAAQ,EAAE,CAAC;YAC7E,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;gBACjB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;YACvB,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,IAAI,EAAE,CAAC;YACd,CAAC;QACH,CAAC;IACH,CAAC;6GAnFU,mBAAmB;+CAAnB,mBAAmB;YAAnB,oGAAA,0BACb,
|
|
1
|
+
{"version":3,"file":"log-display.component.js","sourceRoot":"","sources":["../../../src/components/log-display/log-display.component.ts","../../../src/components/log-display/log-display.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAE,YAAY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,EACD;YACX,mCAA6E;YAAnE,kGAAS,UAAM,IAAC;YAA1B,iBAA6E;;YAxB3E,wBAAA,qHAA6F,CAAA;YAD7F,2CAAqB;YAMF,eAA8B;YAA9B,gDAA8B;YAAC,kDAA4B;YAErE,cAAsB;YAAtB,sDAAsB;YAiBN,eAAmB;YAAC,AAApB,qCAAmB,gCAA4B;4BDDtE,UAAU,oBACV,YAAY,aACZ,aAAa,cACb,aAAa;YACb,eAAe;YACf,MAAM;YACN,WAAW,4CAEX,YAAY;YACZ,WAAW,kCAFX,SAAS;;iFAKA,mBAAmB;cAlB/B,SAAS;2BACE,8BAA8B,cAG5B,IAAI,WACP;oBACP,UAAU;oBACV,YAAY;oBACZ,aAAa;oBACb,aAAa;oBACb,eAAe;oBACf,MAAM;oBACN,WAAW;oBACX,SAAS;oBACT,YAAY;oBACZ,WAAW;iBACZ;;kBAGA,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBAuEL,YAAY;mBAAC,mBAAmB,EAAE,CAAC,QAAQ,CAAC;;kFA1ElC,mBAAmB"}
|
package/lib/components/process-monitor-simple-display/process-monitor-simple-display.component.d.ts
ADDED
|
@@ -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 ProcessMonitorSimpleDisplayComponent {
|
|
4
|
+
processMonitorService: ProcessMonitorService;
|
|
5
|
+
normalHeader: string;
|
|
6
|
+
constructor(processMonitorService: ProcessMonitorService);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessMonitorSimpleDisplayComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessMonitorSimpleDisplayComponent, "ngx-acute-common-process-monitor-simple-display", never, { "normalHeader": { "alias": "normalHeader"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
package/lib/components/process-monitor-simple-display/process-monitor-simple-display.component.js
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
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 { InputGroupAddonModule } from "primeng/inputgroupaddon";
|
|
9
|
+
import { InputGroupModule } from "primeng/inputgroup";
|
|
10
|
+
import { ProgressBar } from "primeng/progressbar";
|
|
11
|
+
import { Dialog } from "primeng/dialog";
|
|
12
|
+
import { ProcessMonitorService } from "../../services/process-monitor/process-monitor-service";
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
import * as i1 from "../../services/process-monitor/process-monitor-service";
|
|
15
|
+
const _c0 = () => ({ width: "90rem" });
|
|
16
|
+
function ProcessMonitorSimpleDisplayComponent_For_2_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
17
|
+
i0.ɵɵelementStart(0, "div", 5);
|
|
18
|
+
i0.ɵɵelement(1, "p-progress-bar", 6);
|
|
19
|
+
i0.ɵɵelementEnd();
|
|
20
|
+
} if (rf & 2) {
|
|
21
|
+
const pm_r1 = i0.ɵɵnextContext().$implicit;
|
|
22
|
+
i0.ɵɵadvance();
|
|
23
|
+
i0.ɵɵproperty("value", pm_r1.input().percentComplete);
|
|
24
|
+
} }
|
|
25
|
+
function ProcessMonitorSimpleDisplayComponent_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "div", 3);
|
|
27
|
+
i0.ɵɵtext(3);
|
|
28
|
+
i0.ɵɵelementEnd();
|
|
29
|
+
i0.ɵɵelementStart(4, "div", 4);
|
|
30
|
+
i0.ɵɵtext(5);
|
|
31
|
+
i0.ɵɵelementEnd()();
|
|
32
|
+
i0.ɵɵconditionalCreate(6, ProcessMonitorSimpleDisplayComponent_For_2_Conditional_6_Template, 2, 1, "div", 5);
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
} if (rf & 2) {
|
|
35
|
+
const pm_r1 = ctx.$implicit;
|
|
36
|
+
i0.ɵɵadvance(3);
|
|
37
|
+
i0.ɵɵtextInterpolate(pm_r1.input().label);
|
|
38
|
+
i0.ɵɵadvance(2);
|
|
39
|
+
i0.ɵɵtextInterpolate(pm_r1.input().detail);
|
|
40
|
+
i0.ɵɵadvance();
|
|
41
|
+
i0.ɵɵconditional(pm_r1.input().percentComplete ? 6 : -1);
|
|
42
|
+
} }
|
|
43
|
+
export class ProcessMonitorSimpleDisplayComponent {
|
|
44
|
+
processMonitorService;
|
|
45
|
+
normalHeader = null;
|
|
46
|
+
constructor(processMonitorService) {
|
|
47
|
+
this.processMonitorService = processMonitorService;
|
|
48
|
+
}
|
|
49
|
+
static ɵfac = function ProcessMonitorSimpleDisplayComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProcessMonitorSimpleDisplayComponent)(i0.ɵɵdirectiveInject(i1.ProcessMonitorService)); };
|
|
50
|
+
static ɵcmp = i0.ɵɵdefineComponent({ type: ProcessMonitorSimpleDisplayComponent, selectors: [["ngx-acute-common-process-monitor-simple-display"]], inputs: { normalHeader: "normalHeader" }, decls: 3, vars: 7, consts: [["position", "bottom", 3, "header", "closable", "modal", "visible"], [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"], [2, "min-width", "50vw"], [3, "value"]], template: function ProcessMonitorSimpleDisplayComponent_Template(rf, ctx) { if (rf & 1) {
|
|
51
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
52
|
+
i0.ɵɵrepeaterCreate(1, ProcessMonitorSimpleDisplayComponent_For_2_Template, 7, 3, "div", 1, i0.ɵɵrepeaterTrackByIdentity);
|
|
53
|
+
i0.ɵɵelementEnd();
|
|
54
|
+
} if (rf & 2) {
|
|
55
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(6, _c0));
|
|
56
|
+
i0.ɵɵproperty("header", ctx.normalHeader)("closable", false)("modal", false)("visible", ctx.processMonitorService.hasStandardProcesses()());
|
|
57
|
+
i0.ɵɵadvance();
|
|
58
|
+
i0.ɵɵrepeater(ctx.processMonitorService.standardProcesses()().processes);
|
|
59
|
+
} }, dependencies: [CardModule,
|
|
60
|
+
MultiSelectModule,
|
|
61
|
+
ContextMenuModule,
|
|
62
|
+
TableModule,
|
|
63
|
+
ReactiveFormsModule,
|
|
64
|
+
PanelModule,
|
|
65
|
+
InputGroupAddonModule,
|
|
66
|
+
InputGroupModule,
|
|
67
|
+
FormsModule,
|
|
68
|
+
ProgressBar,
|
|
69
|
+
Dialog], encapsulation: 2 });
|
|
70
|
+
}
|
|
71
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProcessMonitorSimpleDisplayComponent, [{
|
|
72
|
+
type: Component,
|
|
73
|
+
args: [{ selector: 'ngx-acute-common-process-monitor-simple-display', imports: [
|
|
74
|
+
CardModule,
|
|
75
|
+
MultiSelectModule,
|
|
76
|
+
ContextMenuModule,
|
|
77
|
+
TableModule,
|
|
78
|
+
ReactiveFormsModule,
|
|
79
|
+
PanelModule,
|
|
80
|
+
InputGroupAddonModule,
|
|
81
|
+
InputGroupModule,
|
|
82
|
+
FormsModule,
|
|
83
|
+
ProgressBar,
|
|
84
|
+
Dialog
|
|
85
|
+
], standalone: true, template: "\n<p-dialog [header]=\"normalHeader\" [closable]=\"false\"\n [modal]=\"false\" [visible]=\"processMonitorService.hasStandardProcesses()()\" position=\"bottom\" [style]=\"{ width: '90rem' }\">\n\n @for(pm of processMonitorService.standardProcesses()().processes; track pm) {\n <div style=\"display: flex; flex-direction: row; width: 100%\">\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 @if (pm.input().percentComplete) {\n <div style=\"min-width: 50vw\">\n <p-progress-bar [value]=\"pm.input().percentComplete\" />\n </div>\n }\n </div>\n }\n\n</p-dialog>\n" }]
|
|
86
|
+
}], () => [{ type: i1.ProcessMonitorService }], { normalHeader: [{
|
|
87
|
+
type: Input
|
|
88
|
+
}] }); })();
|
|
89
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProcessMonitorSimpleDisplayComponent, { className: "ProcessMonitorSimpleDisplayComponent", filePath: "components/process-monitor-simple-display/process-monitor-simple-display.component.ts", lineNumber: 33 }); })();
|
|
90
|
+
//# 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,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,WAAW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/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,98 @@
|
|
|
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 { InputGroupAddonModule } from "primeng/inputgroupaddon";
|
|
9
|
+
import { InputGroupModule } from "primeng/inputgroup";
|
|
10
|
+
import { ProgressBar } from "primeng/progressbar";
|
|
11
|
+
import { Dialog } from "primeng/dialog";
|
|
12
|
+
import { ProcessMonitorService } from "../../services/process-monitor/process-monitor-service";
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
import * as i1 from "../../services/process-monitor/process-monitor-service";
|
|
15
|
+
const _c0 = () => ({ width: "90rem" });
|
|
16
|
+
function ProcessMonitorSimpleModalDisplayComponent_For_2_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
17
|
+
i0.ɵɵelementStart(0, "div", 4);
|
|
18
|
+
i0.ɵɵtext(1);
|
|
19
|
+
i0.ɵɵelementEnd();
|
|
20
|
+
} if (rf & 2) {
|
|
21
|
+
const pm_r1 = i0.ɵɵnextContext().$implicit;
|
|
22
|
+
i0.ɵɵadvance();
|
|
23
|
+
i0.ɵɵtextInterpolate(pm_r1.input().detail);
|
|
24
|
+
} }
|
|
25
|
+
function ProcessMonitorSimpleModalDisplayComponent_For_2_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
+
i0.ɵɵelementStart(0, "div", 5);
|
|
27
|
+
i0.ɵɵelement(1, "p-progress-bar", 6);
|
|
28
|
+
i0.ɵɵelementEnd();
|
|
29
|
+
} if (rf & 2) {
|
|
30
|
+
const pm_r1 = i0.ɵɵnextContext().$implicit;
|
|
31
|
+
i0.ɵɵadvance();
|
|
32
|
+
i0.ɵɵproperty("value", pm_r1.input().percentComplete);
|
|
33
|
+
} }
|
|
34
|
+
function ProcessMonitorSimpleModalDisplayComponent_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
35
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "div", 3);
|
|
36
|
+
i0.ɵɵtext(3);
|
|
37
|
+
i0.ɵɵelementEnd();
|
|
38
|
+
i0.ɵɵconditionalCreate(4, ProcessMonitorSimpleModalDisplayComponent_For_2_Conditional_4_Template, 2, 1, "div", 4);
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
i0.ɵɵconditionalCreate(5, ProcessMonitorSimpleModalDisplayComponent_For_2_Conditional_5_Template, 2, 1, "div", 5);
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
|
+
} if (rf & 2) {
|
|
43
|
+
const pm_r1 = ctx.$implicit;
|
|
44
|
+
i0.ɵɵadvance(3);
|
|
45
|
+
i0.ɵɵtextInterpolate(pm_r1.input().label);
|
|
46
|
+
i0.ɵɵadvance();
|
|
47
|
+
i0.ɵɵconditional(pm_r1.input().detail ? 4 : -1);
|
|
48
|
+
i0.ɵɵadvance();
|
|
49
|
+
i0.ɵɵconditional(pm_r1.input().percentComplete ? 5 : -1);
|
|
50
|
+
} }
|
|
51
|
+
export class ProcessMonitorSimpleModalDisplayComponent {
|
|
52
|
+
processMonitorService;
|
|
53
|
+
header = null;
|
|
54
|
+
constructor(processMonitorService) {
|
|
55
|
+
this.processMonitorService = processMonitorService;
|
|
56
|
+
}
|
|
57
|
+
static ɵfac = function ProcessMonitorSimpleModalDisplayComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProcessMonitorSimpleModalDisplayComponent)(i0.ɵɵdirectiveInject(i1.ProcessMonitorService)); };
|
|
58
|
+
static ɵcmp = i0.ɵɵdefineComponent({ type: ProcessMonitorSimpleModalDisplayComponent, selectors: [["ngx-acute-common-process-monitor-simple-modal-display"]], inputs: { header: "header" }, decls: 3, vars: 7, consts: [["position", "center", 3, "header", "modal", "closable", "visible"], [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"], [2, "min-width", "50vw"], [3, "value"]], template: function ProcessMonitorSimpleModalDisplayComponent_Template(rf, ctx) { if (rf & 1) {
|
|
59
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
60
|
+
i0.ɵɵrepeaterCreate(1, ProcessMonitorSimpleModalDisplayComponent_For_2_Template, 6, 3, "div", 1, i0.ɵɵrepeaterTrackByIdentity);
|
|
61
|
+
i0.ɵɵelementEnd();
|
|
62
|
+
} if (rf & 2) {
|
|
63
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(6, _c0));
|
|
64
|
+
i0.ɵɵproperty("header", ctx.header)("modal", true)("closable", false)("visible", ctx.processMonitorService.hasModalProcesses()());
|
|
65
|
+
i0.ɵɵadvance();
|
|
66
|
+
i0.ɵɵrepeater(ctx.processMonitorService.modalProcesses()().processes);
|
|
67
|
+
} }, dependencies: [CardModule,
|
|
68
|
+
MultiSelectModule,
|
|
69
|
+
ContextMenuModule,
|
|
70
|
+
TableModule,
|
|
71
|
+
ReactiveFormsModule,
|
|
72
|
+
PanelModule,
|
|
73
|
+
InputGroupAddonModule,
|
|
74
|
+
InputGroupModule,
|
|
75
|
+
FormsModule,
|
|
76
|
+
ProgressBar,
|
|
77
|
+
Dialog], encapsulation: 2 });
|
|
78
|
+
}
|
|
79
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProcessMonitorSimpleModalDisplayComponent, [{
|
|
80
|
+
type: Component,
|
|
81
|
+
args: [{ selector: 'ngx-acute-common-process-monitor-simple-modal-display', imports: [
|
|
82
|
+
CardModule,
|
|
83
|
+
MultiSelectModule,
|
|
84
|
+
ContextMenuModule,
|
|
85
|
+
TableModule,
|
|
86
|
+
ReactiveFormsModule,
|
|
87
|
+
PanelModule,
|
|
88
|
+
InputGroupAddonModule,
|
|
89
|
+
InputGroupModule,
|
|
90
|
+
FormsModule,
|
|
91
|
+
ProgressBar,
|
|
92
|
+
Dialog
|
|
93
|
+
], standalone: true, template: "\n<p-dialog [header]=\"header\" [modal]=\"true\"\n [closable]=\"false\"\n [visible]=\"processMonitorService.hasModalProcesses()()\" position=\"center\" [style]=\"{ width: '90rem' }\">\n @for(pm of processMonitorService.modalProcesses()().processes; track pm) {\n <div style=\"display: flex; flex-direction: row; width: 100%\">\n\n <div style=\"display: flex; flex-direction: column; width: 50%; gap: 2px\">\n <div style=\"font-weight: bolder\">{{pm.input().label}}</div>\n @if (pm.input().detail) {\n <div style=\"font-style: italic; margin-left: 15px\">{{pm.input().detail}}</div>\n }\n </div>\n @if(pm.input().percentComplete) {\n <div style=\"min-width: 50vw\">\n <p-progress-bar [value]=\"pm.input().percentComplete\" />\n </div>\n }\n </div>\n }\n</p-dialog>\n" }]
|
|
94
|
+
}], () => [{ type: i1.ProcessMonitorService }], { header: [{
|
|
95
|
+
type: Input
|
|
96
|
+
}] }); })();
|
|
97
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProcessMonitorSimpleModalDisplayComponent, { className: "ProcessMonitorSimpleModalDisplayComponent", filePath: "components/process-monitor-simple-modal-display/process-monitor-simple-modal-display.component.ts", lineNumber: 33 }); })();
|
|
98
|
+
//# 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,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;;;;;ICDrF,8BAAmD;IAAA,YAAqB;IAAA,iBAAM;;;IAA3B,cAAqB;IAArB,0CAAqB;;;IAI1E,8BAA6B;IAC3B,oCAAuD;IACzD,iBAAM;;;IADY,cAAoC;IAApC,qDAAoC;;;IAPtD,AADF,AAFF,8BAA6D,aAEc,aACtC;IAAA,YAAoB;IAAA,iBAAM;IAC3D,iHAAyB;IAG3B,iBAAM;IACN,iHAAiC;IAKnC,iBAAM;;;IAV+B,eAAoB;IAApB,yCAAoB;IACrD,cAEC;IAFD,+CAEC;IAEH,cAIC;IAJD,wDAIC;;ADeP,MAAM,OAAO,yCAAyC;IAI3C;IAHO,MAAM,GAAS,IAAI,CAAC;IAEpC,YACS,qBAA4C;QAA5C,0BAAqB,GAArB,qBAAqB,CAAuB;IAErD,CAAC;mIANU,yCAAyC;+CAAzC,yCAAyC;YC/BtD,mCAEiH;YAC/G,8HAeC;YACH,iBAAW;;YAjByE,yCAA4B;YAAtG,AADA,AADkB,AAAlB,mCAAiB,eAAe,mBACd,4DACqC;YAC/D,cAeC;YAfD,cAAA,0CAAsC,EAAE,WAevC;4BDDC,UAAU;YACV,iBAAiB;YACjB,iBAAiB;YACjB,WAAW;YACX,mBAAmB;YACnB,WAAW;YACX,qBAAqB;YACrB,gBAAgB;YAChB,WAAW;YACX,WAAW;YACX,MAAM;;iFAIG,yCAAyC;cAlBrD,SAAS;2BACE,uDAAuD,WAExD;oBACP,UAAU;oBACV,iBAAiB;oBACjB,iBAAiB;oBACjB,WAAW;oBACX,mBAAmB;oBACnB,WAAW;oBACX,qBAAqB;oBACrB,gBAAgB;oBAChB,WAAW;oBACX,WAAW;oBACX,MAAM;iBACP,cACW,IAAI;;kBAGf,KAAK;;kFADK,yCAAyC"}
|
package/lib/constants.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,CAAC,MAAM,sBAAsB,GAA2B,IAAI,cAAc,CAAS,wBAAwB,CAAC,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
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/
|
|
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';
|
|
6
|
+
export * from './constants';
|
|
7
|
+
export * from './acute-common-type-guards';
|
|
5
8
|
export * from './model/google-analytics-config';
|
|
6
9
|
export * from './pipes/capitalize.pipe';
|
|
7
10
|
export * from './pipes/dollar-formatted.pipe';
|
|
@@ -13,7 +16,16 @@ export * from './pipes/plural.pipe';
|
|
|
13
16
|
export * from './pipes/round.pipe';
|
|
14
17
|
export * from './pipes/time-ago-formatted.pipe';
|
|
15
18
|
export * from './pipes/timing.pipe';
|
|
19
|
+
export * from './pipes/duration-ms-formatted.pipe';
|
|
16
20
|
export * from './services/google-analytics.service';
|
|
17
21
|
export * from './services/graphql-query.service';
|
|
22
|
+
export * from './services/graphql-query-execution-display-style';
|
|
23
|
+
export * from './services/graphql-query-execution-options';
|
|
18
24
|
export * from './services/local-storage.service';
|
|
25
|
+
export * from './services/css-theme.service';
|
|
19
26
|
export * from './services/window-ref.service';
|
|
27
|
+
export * from './services/process-monitor/monitored-processes.ts';
|
|
28
|
+
export * from './services/process-monitor/process-holder';
|
|
29
|
+
export * from './services/process-monitor/process-monitor-display-mode';
|
|
30
|
+
export * from './services/process-monitor/process-monitor-service';
|
|
31
|
+
export * from './services/process-monitor/process-monitor-state';
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
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/
|
|
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';
|
|
6
|
+
export * from './constants';
|
|
7
|
+
export * from './acute-common-type-guards';
|
|
5
8
|
export * from './model/google-analytics-config';
|
|
6
9
|
export * from './pipes/capitalize.pipe';
|
|
7
10
|
export * from './pipes/dollar-formatted.pipe';
|
|
@@ -13,8 +16,17 @@ export * from './pipes/plural.pipe';
|
|
|
13
16
|
export * from './pipes/round.pipe';
|
|
14
17
|
export * from './pipes/time-ago-formatted.pipe';
|
|
15
18
|
export * from './pipes/timing.pipe';
|
|
19
|
+
export * from './pipes/duration-ms-formatted.pipe';
|
|
16
20
|
export * from './services/google-analytics.service';
|
|
17
21
|
export * from './services/graphql-query.service';
|
|
22
|
+
export * from './services/graphql-query-execution-display-style';
|
|
23
|
+
export * from './services/graphql-query-execution-options';
|
|
18
24
|
export * from './services/local-storage.service';
|
|
25
|
+
export * from './services/css-theme.service';
|
|
19
26
|
export * from './services/window-ref.service';
|
|
27
|
+
export * from "./services/process-monitor/monitored-processes.js";
|
|
28
|
+
export * from './services/process-monitor/process-holder';
|
|
29
|
+
export * from './services/process-monitor/process-monitor-display-mode';
|
|
30
|
+
export * from './services/process-monitor/process-monitor-service';
|
|
31
|
+
export * from './services/process-monitor/process-monitor-state';
|
|
20
32
|
//# 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;
|
|
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;AACpC,cAAc,oCAAoC,CAAC;AAEnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kDAAkD,CAAC;AACjE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,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,7 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DurationMsFormattedPipe implements PipeTransform {
|
|
4
|
+
transform(ms: number | string, style?: string, includeMS?: boolean): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DurationMsFormattedPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DurationMsFormattedPipe, "ngxDurationMsFormat", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Pipe } from "@angular/core";
|
|
2
|
+
import { DurationRatchet } from "@bitblit/ratchet-common/lang/duration-ratchet";
|
|
3
|
+
import { StringRatchet } from "@bitblit/ratchet-common/lang/string-ratchet";
|
|
4
|
+
import { NumberRatchet } from "@bitblit/ratchet-common/lang/number-ratchet";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class DurationMsFormattedPipe {
|
|
7
|
+
transform(ms, style = 'standard', includeMS = false) {
|
|
8
|
+
const toFormat = NumberRatchet.safeNumber(ms, 0);
|
|
9
|
+
let rval;
|
|
10
|
+
switch (StringRatchet.trimToEmpty(style)) {
|
|
11
|
+
case "thin":
|
|
12
|
+
rval = DurationRatchet.thinFormatMsDuration(toFormat, includeMS);
|
|
13
|
+
break;
|
|
14
|
+
case "colon":
|
|
15
|
+
rval = DurationRatchet.colonFormatMsDuration(toFormat, includeMS);
|
|
16
|
+
break;
|
|
17
|
+
default:
|
|
18
|
+
rval = DurationRatchet.formatMsDuration(toFormat, includeMS);
|
|
19
|
+
break;
|
|
20
|
+
}
|
|
21
|
+
return rval;
|
|
22
|
+
}
|
|
23
|
+
static ɵfac = function DurationMsFormattedPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DurationMsFormattedPipe)(); };
|
|
24
|
+
static ɵpipe = i0.ɵɵdefinePipe({ name: "ngxDurationMsFormat", type: DurationMsFormattedPipe, pure: true });
|
|
25
|
+
}
|
|
26
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DurationMsFormattedPipe, [{
|
|
27
|
+
type: Pipe,
|
|
28
|
+
args: [{ name: "ngxDurationMsFormat", standalone: true }]
|
|
29
|
+
}], null, null); })();
|
|
30
|
+
//# sourceMappingURL=duration-ms-formatted.pipe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"duration-ms-formatted.pipe.js","sourceRoot":"","sources":["../../src/pipes/duration-ms-formatted.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;;AAG5E,MAAM,OAAO,uBAAuB;IAClC,SAAS,CAAC,EAAmB,EAAE,QAAc,UAAU,EAAE,YAAmB,KAAK;QAC/E,MAAM,QAAQ,GAAW,aAAa,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;QACzD,IAAI,IAAY,CAAC;QACjB,QAAQ,aAAa,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC;YACzC,KAAK,MAAM;gBACT,IAAI,GAAG,eAAe,CAAC,oBAAoB,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;gBACjE,MAAM;YACR,KAAK,OAAO;gBACV,IAAI,GAAG,eAAe,CAAC,qBAAqB,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;gBAClE,MAAM;YACR;gBACE,IAAI,GAAG,eAAe,CAAC,gBAAgB,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;gBAC7D,MAAM;QACV,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;iHAhBU,uBAAuB;wEAAvB,uBAAuB;;iFAAvB,uBAAuB;cADnC,IAAI;eAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,UAAU,EAAE,IAAI,EAAE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CssThemeService<ThemeObject> {
|
|
3
|
+
setCssVariable(name: string, value: string, scope?: HTMLElement, prefix?: string): void;
|
|
4
|
+
getCssVariable(name: string, scope?: HTMLElement, prefix?: string): string | null;
|
|
5
|
+
applyTheme(rec: ThemeObject, scope?: HTMLElement, prefix?: string): void;
|
|
6
|
+
setNumericVariable(name: string, value: number, suffix: string, scope?: HTMLElement, prefix?: string): void;
|
|
7
|
+
setNumericVariableBetweenBounds(name: string, value: number, minInclusive: number, maxExclusive: number, suffix: string, scope?: HTMLElement, prefix?: string): boolean;
|
|
8
|
+
modifyNumericVariableBetweenBounds(name: string, delta: number, min: number, max: number, suffix: string, scope?: HTMLElement, prefix?: string): boolean;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CssThemeService<any>, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CssThemeService<any>>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { Logger } from '@bitblit/ratchet-common/logger/logger';
|
|
3
|
+
import { StringRatchet } from "@bitblit/ratchet-common/lang/string-ratchet";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class CssThemeService {
|
|
6
|
+
setCssVariable(name, value, scope = document.documentElement, prefix = '--') {
|
|
7
|
+
Logger.debug('Setting %s to %s', prefix + name, value);
|
|
8
|
+
scope.style.setProperty(prefix + name, value);
|
|
9
|
+
}
|
|
10
|
+
getCssVariable(name, scope = document.documentElement, prefix = '--') {
|
|
11
|
+
return StringRatchet.trimToNull(getComputedStyle(scope).getPropertyValue(prefix + name));
|
|
12
|
+
}
|
|
13
|
+
applyTheme(rec, scope = document.documentElement, prefix = '--') {
|
|
14
|
+
Object.keys(rec).forEach(k => {
|
|
15
|
+
this.setCssVariable(k, rec[k], scope, prefix);
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
setNumericVariable(name, value, suffix, scope = document.documentElement, prefix = '--') {
|
|
19
|
+
this.setCssVariable(name, value + suffix, scope, prefix);
|
|
20
|
+
}
|
|
21
|
+
setNumericVariableBetweenBounds(name, value, minInclusive, maxExclusive, suffix, scope = document.documentElement, prefix = '--') {
|
|
22
|
+
if (value >= minInclusive && value < maxExclusive) {
|
|
23
|
+
this.setCssVariable(name, value + suffix, scope, prefix);
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
Logger.info('Ignoring out of bounds value %d', value);
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
modifyNumericVariableBetweenBounds(name, delta, min, max, suffix, scope = document.documentElement, prefix = '--') {
|
|
32
|
+
const curValString = this.getCssVariable(name, scope, prefix);
|
|
33
|
+
if (curValString) {
|
|
34
|
+
const curVal = parseInt(curValString.substring(0, curValString.length - suffix.length));
|
|
35
|
+
const newVal = curVal + delta;
|
|
36
|
+
return this.setNumericVariableBetweenBounds(name, newVal, min, max, suffix, scope, prefix);
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
Logger.info('No current value for %s', name);
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
static ɵfac = function CssThemeService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CssThemeService)(); };
|
|
44
|
+
static ɵprov = i0.ɵɵdefineInjectable({ token: CssThemeService, factory: CssThemeService.ɵfac, providedIn: 'root' });
|
|
45
|
+
}
|
|
46
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CssThemeService, [{
|
|
47
|
+
type: Injectable,
|
|
48
|
+
args: [{ providedIn: 'root' }]
|
|
49
|
+
}], null, null); })();
|
|
50
|
+
//# sourceMappingURL=css-theme.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css-theme.service.js","sourceRoot":"","sources":["../../src/services/css-theme.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;;AAmC5E,MAAM,OAAO,eAAe;IAEnB,cAAc,CAAC,IAAY,EAAE,KAAa,EAAE,QAAqB,QAAQ,CAAC,eAAe,EAAE,SAAe,IAAI;QACnH,MAAM,CAAC,KAAK,CAAC,kBAAkB,EAAE,MAAM,GAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACrD,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,MAAM,GAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC9C,CAAC;IAEM,cAAc,CAAC,IAAY,EAAE,QAAqB,QAAQ,CAAC,eAAe,EAAE,SAAe,IAAI;QACpG,OAAO,aAAa,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,g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7E,IAAI,YAAY,EAAE,CAAC;YACjB,MAAM,MAAM,GAAW,QAAQ,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,EAAE,YAAY,CAAC,MAAM,GAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;YAC9F,MAAM,MAAM,GAAW,MAAM,GAAG,KAAK,CAAC;YACtC,OAAO,IAAI,CAAC,+BAA+B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;QAC7F,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,IAAI,CAAC,yBAAyB,EAAE,IAAI,CAAC,CAAC;YAC7C,OAAO,KAAK,CAAC;QACf,CAAC;IAEH,CAAC;yGA3CU,eAAe;kDAAf,eAAe,WAAf,eAAe,mBADH,MAAM;;iFAClB,eAAe;cAD3B,UAAU;eAAC,EAAC,UAAU,EAAE,MAAM,EAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export var GraphqlQueryExecutionDisplayStyle;
|
|
2
|
+
(function (GraphqlQueryExecutionDisplayStyle) {
|
|
3
|
+
GraphqlQueryExecutionDisplayStyle["Modal"] = "Modal";
|
|
4
|
+
GraphqlQueryExecutionDisplayStyle["Monitored"] = "Monitored";
|
|
5
|
+
GraphqlQueryExecutionDisplayStyle["Silent"] = "Silent";
|
|
6
|
+
})(GraphqlQueryExecutionDisplayStyle || (GraphqlQueryExecutionDisplayStyle = {}));
|
|
7
|
+
//# sourceMappingURL=graphql-query-execution-display-style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql-query-execution-display-style.js","sourceRoot":"","sources":["../../src/services/graphql-query-execution-display-style.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,iCAIX;AAJD,WAAY,iCAAiC;IAC3C,oDAAe,CAAA;IACf,4DAAuB,CAAA;IACvB,sDAAiB,CAAA;AACnB,CAAC,EAJW,iCAAiC,KAAjC,iCAAiC,QAI5C"}
|