@osovitny/anatoly 3.20.39 → 3.20.40
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.
|
@@ -9078,7 +9078,12 @@ class Message2UserComponent extends ComponentBase {
|
|
|
9078
9078
|
//Events
|
|
9079
9079
|
onCloseAndBlock() {
|
|
9080
9080
|
this.show = false;
|
|
9081
|
-
this.
|
|
9081
|
+
if (this.message.go2dashboard) {
|
|
9082
|
+
this.go.dashboard();
|
|
9083
|
+
}
|
|
9084
|
+
else {
|
|
9085
|
+
this.go.home();
|
|
9086
|
+
}
|
|
9082
9087
|
}
|
|
9083
9088
|
onClose() {
|
|
9084
9089
|
this.show = false;
|
|
@@ -9095,7 +9100,7 @@ class Message2UserComponent extends ComponentBase {
|
|
|
9095
9100
|
type: Component,
|
|
9096
9101
|
args: [{ selector: 'anatoly-message2user', standalone: false, template: "@if (show) {\r\n <div class='message-user' [ngClass]='{show: show}'>\r\n <div class='message-user-inner '>\r\n <anatoly-card>\r\n <anatoly-card-header title=' '>\r\n <div class='card-tools'>\r\n @if (message?.block) {\r\n <a href='javascript:' class='btn btn-icon btn-info' (click)='onCloseAndBlock()'>\r\n <fa-icon icon='close' />\r\n </a>\r\n }\r\n \r\n @if (!message?.block) {\r\n <a href='javascript:' class='btn btn-icon btn-info' (click)='onClose()'>\r\n <fa-icon icon='close' />\r\n </a>\r\n }\r\n </div>\r\n </anatoly-card-header>\r\n \r\n <anatoly-card-body classes='p-0'>\r\n <div class='message-content'>\r\n <div class='message-content text-center'>\r\n @if (config?.image) {\r\n <div class='message-image mb-3'>\r\n <img [src]=\"config.image\"\r\n [alt]=\"config.title || 'Message'\"\r\n class='img-fluid'\r\n loading=\"lazy\">\r\n </div>\r\n }\r\n <div class='message-text'>\r\n <h4 class='mb-2' [ngClass]=\"'text-' + config?.color\">\r\n {{ config?.title }}\r\n </h4>\r\n <p class='mb-0'>{{ config?.message }}</p>\r\n </div>\r\n </div>\r\n <ng-content></ng-content>\r\n </div>\r\n </anatoly-card-body>\r\n \r\n <anatoly-card-footer classes='bg-footer'>\r\n <div class='actions'>\r\n @if (message?.block) {\r\n <a href='javascript:' class='btn btn-secondary' (click)='onCloseAndBlock()'>\r\n <span>Close</span>\r\n </a>\r\n }\r\n \r\n @if (!message?.block) {\r\n <a href='javascript:' class='btn btn-secondary' (click)='onClose()'>\r\n <span>Close</span>\r\n </a>\r\n }\r\n </div>\r\n </anatoly-card-footer>\r\n </anatoly-card>\r\n </div>\r\n </div>\r\n}\r\n" }]
|
|
9097
9102
|
}], () => [{ type: GoServiceBase }, { type: Message2UserService }], null); })();
|
|
9098
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Message2UserComponent, { className: "Message2UserComponent", filePath: "lib/ui/components/message2user/message2user.component.ts", lineNumber:
|
|
9103
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Message2UserComponent, { className: "Message2UserComponent", filePath: "lib/ui/components/message2user/message2user.component.ts", lineNumber: 29 }); })();
|
|
9099
9104
|
|
|
9100
9105
|
/*
|
|
9101
9106
|
<file>
|