@bitblit/ngx-acute-common 5.0.551-alpha → 5.0.554-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.
|
@@ -2,10 +2,9 @@ import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dy
|
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AlertComponent {
|
|
5
|
-
private dialogService;
|
|
6
5
|
cfg: DynamicDialogConfig;
|
|
7
6
|
protected ref: DynamicDialogRef;
|
|
8
|
-
constructor(
|
|
7
|
+
constructor(cfg: DynamicDialogConfig, ref: DynamicDialogRef);
|
|
9
8
|
static showAlert(dialogSvc: DialogService, message: BehaviorSubject<string> | string, title?: string): DynamicDialogRef;
|
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
11
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "ngx-acute-common-alert", never, {}, {}, never, never, true, never>;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { Component } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
3
3
|
import { Logger } from '@bitblit/ratchet-common/logger/logger';
|
|
4
4
|
import { BehaviorSubject } from 'rxjs';
|
|
5
5
|
import { AsyncPipe } from '@angular/common';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
import * as i1 from "primeng/dynamicdialog";
|
|
8
8
|
export class AlertComponent {
|
|
9
|
-
dialogService;
|
|
10
9
|
cfg;
|
|
11
10
|
ref;
|
|
12
|
-
constructor(
|
|
13
|
-
this.dialogService = dialogService;
|
|
11
|
+
constructor(cfg, ref) {
|
|
14
12
|
this.cfg = cfg;
|
|
15
13
|
this.ref = ref;
|
|
16
14
|
Logger.info('Creating with %j', this.cfg);
|
|
@@ -24,7 +22,7 @@ export class AlertComponent {
|
|
|
24
22
|
});
|
|
25
23
|
return dlg;
|
|
26
24
|
}
|
|
27
|
-
static ɵfac = function AlertComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertComponent)(i0.ɵɵdirectiveInject(i1.
|
|
25
|
+
static ɵfac = function AlertComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertComponent)(i0.ɵɵdirectiveInject(i1.DynamicDialogConfig), i0.ɵɵdirectiveInject(i1.DynamicDialogRef)); };
|
|
28
26
|
static ɵcmp = i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["ngx-acute-common-alert"]], standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 4, vars: 3, template: function AlertComponent_Template(rf, ctx) { if (rf & 1) {
|
|
29
27
|
i0.ɵɵelementStart(0, "div")(1, "pre");
|
|
30
28
|
i0.ɵɵtext(2);
|
|
@@ -43,6 +41,6 @@ export class AlertComponent {
|
|
|
43
41
|
standalone: true,
|
|
44
42
|
imports: [AsyncPipe],
|
|
45
43
|
}]
|
|
46
|
-
}], () => [{ type: i1.
|
|
44
|
+
}], () => [{ type: i1.DynamicDialogConfig }, { type: i1.DynamicDialogRef }], null); })();
|
|
47
45
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AlertComponent, { className: "AlertComponent", filePath: "components/dialogs/alert/alert.component.ts", lineNumber: 13 }); })();
|
|
48
46
|
//# sourceMappingURL=alert.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.component.js","sourceRoot":"","sources":["../../../../src/components/dialogs/alert/alert.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,
|
|
1
|
+
{"version":3,"file":"alert.component.js","sourceRoot":"","sources":["../../../../src/components/dialogs/alert/alert.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OA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",
|
|
4
4
|
"description": "Library for using angular",
|
|
5
5
|
"module": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@angular/platform-browser": "18.2.9",
|
|
44
44
|
"@angular/platform-browser-dynamic": "18.2.9",
|
|
45
45
|
"@angular/router": "18.2.9",
|
|
46
|
-
"@bitblit/ratchet-common": "5.0.
|
|
46
|
+
"@bitblit/ratchet-common": "5.0.554-alpha",
|
|
47
47
|
"primeflex": "3.3.1",
|
|
48
48
|
"primeicons": "7.0.0",
|
|
49
49
|
"primeng": "17.18.11",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@angular/platform-browser": "^18.2.9",
|
|
60
60
|
"@angular/platform-browser-dynamic": "^18.2.9",
|
|
61
61
|
"@angular/router": "^18.2.9",
|
|
62
|
-
"@bitblit/ratchet-common": "5.0.
|
|
62
|
+
"@bitblit/ratchet-common": "5.0.554-alpha",
|
|
63
63
|
"primeflex": "3.3.1",
|
|
64
64
|
"primeicons": "7.0.0",
|
|
65
65
|
"primeng": "17.18.11",
|
|
@@ -68,6 +68,6 @@
|
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@angular/compiler-cli": "18.2.9",
|
|
71
|
-
"@bitblit/ratchet-node-only": "5.0.
|
|
71
|
+
"@bitblit/ratchet-node-only": "5.0.554-alpha"
|
|
72
72
|
}
|
|
73
73
|
}
|