@quadrel-enterprise-ui/framework 21.12.14 → 21.12.15
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.
|
@@ -36737,7 +36737,7 @@ class QdShellNotificationComponent {
|
|
|
36737
36737
|
this.notificationService.remove('shell', this.notification.uuid);
|
|
36738
36738
|
}
|
|
36739
36739
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdShellNotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
36740
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: QdShellNotificationComponent, isStandalone: false, selector: "qd-shell-notification", inputs: { notification: "notification" }, host: { properties: { "
|
|
36740
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: QdShellNotificationComponent, isStandalone: false, selector: "qd-shell-notification", inputs: { notification: "notification" }, host: { properties: { "class": "this.typeClassName" }, classAttribute: "qd-shell-notification" }, usesOnChanges: true, ngImport: i0, template: "@if (closeable) {\n<qd-icon [icon]=\"'timesLarge'\" class=\"closer\" (click)=\"remove()\"></qd-icon>\n}\n<qd-icon [icon]=\"this.getIcon()\" class=\"icon\"></qd-icon>\n\n@if (notification?.title) {\n<h3 class=\"title\">{{ notification.title.i18n | translate }}</h3>\n}\n<span class=\"message\">{{ notification?.i18n | translate }}</span>\n\n@if (displayedDate) {\n<span class=\"date\">{{ displayedDate }}</span>\n}\n", styles: [":host{position:relative;display:grid;width:100%;padding:.5rem 1.5rem .5rem .75rem;border:rgb(213,213,213) solid .0625rem;margin-bottom:.75rem;background:#fff;font-size:.875rem;gap:.125rem .625rem;grid-template-columns:23px 1fr;line-height:1rem}:host .icon{font-size:1.5rem;grid-row:1/span 3;line-height:1.5rem}:host .title{margin:0!important;color:#171717;font-size:.875rem}:host .message{margin-top:.1875rem;color:#333;font-size:.875rem;white-space:pre-wrap}:host .title+.message{margin-top:0}:host .date{margin-top:.875rem;color:#333;font-size:.875rem}:host.qd-notification-info{border-left:.25rem solid rgb(0,102,153)}:host.qd-notification-info .icon{color:#069}:host.qd-notification-warning{border-left:.25rem solid rgb(255,155,0)}:host.qd-notification-warning .icon{color:#ff9b00}:host.qd-notification-urgent{border-left:.25rem solid rgb(199,0,35)}:host.qd-notification-urgent .icon{color:#c70023}:host.qd-notification-critical{border-left:.25rem solid rgb(199,0,35)}:host.qd-notification-critical .icon{color:#c70023}:host.qd-notification-positive{border-left:.25rem solid rgb(0,129,58)}:host.qd-notification-positive .icon{color:#00813a}:host .closer{position:absolute;top:.5rem;right:.75rem;color:#333;cursor:pointer;font-size:.75rem}\n"], dependencies: [{ kind: "component", type: QdIconComponent, selector: "qd-icon", inputs: ["icon", "status"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] });
|
|
36741
36741
|
}
|
|
36742
36742
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdShellNotificationComponent, decorators: [{
|
|
36743
36743
|
type: Component,
|
|
@@ -36746,7 +36746,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
36746
36746
|
type: Input
|
|
36747
36747
|
}], typeClassName: [{
|
|
36748
36748
|
type: HostBinding,
|
|
36749
|
-
args: ['
|
|
36749
|
+
args: ['class']
|
|
36750
36750
|
}] } });
|
|
36751
36751
|
|
|
36752
36752
|
// @ts-strict-ignore
|