ngx-smz-ui 15.3.22 → 15.3.23
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/esm2020/lib/modules/smz-layouts/layouts/new-athena/components/topbar-actions/topbar-actions.component.mjs +3 -3
- package/esm2020/lib/modules/smz-notifications/components/item/notification-item.component.mjs +3 -3
- package/fesm2015/ngx-smz-ui.mjs +4 -4
- package/fesm2015/ngx-smz-ui.mjs.map +1 -1
- package/fesm2020/ngx-smz-ui.mjs +4 -4
- package/fesm2020/ngx-smz-ui.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ AthenaTopbarActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
|
|
|
26
26
|
</span>
|
|
27
27
|
|
|
28
28
|
<ng-container *ngIf="uiConfig.rbkUtils.notifications.url != null; else modelDrivenNotificationsTemplate">
|
|
29
|
-
<smz-ui-notifications id="smz-ui-notifications" class="mr-5"></smz-ui-notifications>
|
|
29
|
+
<smz-ui-notifications id="smz-ui-notifications" class="mr-5 mt-2"></smz-ui-notifications>
|
|
30
30
|
</ng-container>
|
|
31
31
|
|
|
32
32
|
<ng-template #modelDrivenNotificationsTemplate>
|
|
@@ -52,7 +52,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
|
|
|
52
52
|
</span>
|
|
53
53
|
|
|
54
54
|
<ng-container *ngIf="uiConfig.rbkUtils.notifications.url != null; else modelDrivenNotificationsTemplate">
|
|
55
|
-
<smz-ui-notifications id="smz-ui-notifications" class="mr-5"></smz-ui-notifications>
|
|
55
|
+
<smz-ui-notifications id="smz-ui-notifications" class="mr-5 mt-2"></smz-ui-notifications>
|
|
56
56
|
</ng-container>
|
|
57
57
|
|
|
58
58
|
<ng-template #modelDrivenNotificationsTemplate>
|
|
@@ -71,4 +71,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngIm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LXByb2ZpbGUtbWVudSBbcHJvZmlsZV09XCJwcm9maWxlXCI+PC9zcGFuPlxyXG5cclxuICBgLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQXRoZW5hVG9wYmFyQWN0aW9uc0NvbXBvbmVudCB7XHJcblxyXG4gIEBJbnB1dCgpIHB1YmxpYyBwcm9maWxlOiBNZW51SXRlbVtdID0gW107XHJcbiAgQElucHV0KCkgcHVibGljIG5vdGlmaWNhdGlvbnM6IFNtek5vdGlmaWNhdGlvbltdID0gW107XHJcbiAgQElucHV0KCkgcHVibGljIGhlYWRlckV4dHJhc1RlbXBsYXRlOiBUZW1wbGF0ZVJlZjxhbnk+O1xyXG4gIHB1YmxpYyB1aUNvbmZpZyA9IEdsb2JhbEluamVjdG9yLmNvbmZpZztcclxuXHJcbn1cclxuIl19
|
package/esm2020/lib/modules/smz-notifications/components/item/notification-item.component.mjs
CHANGED
|
@@ -15,10 +15,10 @@ export class NotificationItemComponent {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
NotificationItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NotificationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
-
NotificationItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: NotificationItemComponent, selector: "smz-notification-item", inputs: { item: "item", charactersLimit: "charactersLimit", showDate: "showDate" }, ngImport: i0, template: "<div class=\"grid grid-nogutter flex-row flex-nowrap items-center justify-between relative flex-gap-1 py-2\">\r\n\r\n <div class=\"grid grid-nogutter flex-col items-stretch justify-start relative flex-gap-1\">\r\n <div class=\"grid grid-nogutter items-center justify-start mb-1\"
|
|
18
|
+
NotificationItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: NotificationItemComponent, selector: "smz-notification-item", inputs: { item: "item", charactersLimit: "charactersLimit", showDate: "showDate" }, ngImport: i0, template: "<div class=\"grid grid-nogutter flex-row flex-nowrap items-center justify-between relative flex-gap-1 py-2 pl-2\" [ngClass]=\"uiConfig.rbkUtils.notifications.showTypeIndicators ? typeClass[item.type] : ''\">\r\n\r\n <div class=\"grid grid-nogutter flex-col items-stretch justify-start relative flex-gap-1\">\r\n <div class=\"grid grid-nogutter items-center justify-start mb-1\">\r\n <div class=\"font-medium\" [ngClass]=\"{ 'font-extrabold': item.status === status.NEW || item.status === status.NOTIFIED }\">{{item.title}}</div>\r\n <div *ngIf=\"item.status === status.NEW\" class=\"rounded bg-blue-500 text-white px-1 py-0.5 ml-2 text-xs\">NOVO</div>\r\n </div>\r\n <div class=\"text-sm\" [ngClass]=\"{ 'font-bold': item.status === status.NEW || item.status === status.NOTIFIED }\">{{ charactersLimit != null ? (item.body | shorten : charactersLimit : '...') : item.body}}</div>\r\n </div>\r\n\r\n <div *ngIf=\"showDate\">\r\n <span *ngIf=\"uiConfig.rbkUtils.notifications.date as date\" class=\"text-xs text-right whitespace-nowrap\">\r\n {{ item.date | calendar : date.recentsMethod : date.recentsDaysCount : date.othersFormat }}\r\n </span>\r\n </div>\r\n\r\n</div>\r\n", styles: ["smz-notification-item .success-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-success)}smz-notification-item .info-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-info)}smz-notification-item .warning-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-warning)}smz-notification-item .danger-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-danger)}smz-notification-item .help-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-help)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.ShortenPipe, name: "shorten" }, { kind: "pipe", type: i3.CalendarPipe, name: "calendar" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
19
19
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NotificationItemComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
|
-
args: [{ selector: 'smz-notification-item', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"grid grid-nogutter flex-row flex-nowrap items-center justify-between relative flex-gap-1 py-2\">\r\n\r\n <div class=\"grid grid-nogutter flex-col items-stretch justify-start relative flex-gap-1\">\r\n <div class=\"grid grid-nogutter items-center justify-start mb-1\"
|
|
21
|
+
args: [{ selector: 'smz-notification-item', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"grid grid-nogutter flex-row flex-nowrap items-center justify-between relative flex-gap-1 py-2 pl-2\" [ngClass]=\"uiConfig.rbkUtils.notifications.showTypeIndicators ? typeClass[item.type] : ''\">\r\n\r\n <div class=\"grid grid-nogutter flex-col items-stretch justify-start relative flex-gap-1\">\r\n <div class=\"grid grid-nogutter items-center justify-start mb-1\">\r\n <div class=\"font-medium\" [ngClass]=\"{ 'font-extrabold': item.status === status.NEW || item.status === status.NOTIFIED }\">{{item.title}}</div>\r\n <div *ngIf=\"item.status === status.NEW\" class=\"rounded bg-blue-500 text-white px-1 py-0.5 ml-2 text-xs\">NOVO</div>\r\n </div>\r\n <div class=\"text-sm\" [ngClass]=\"{ 'font-bold': item.status === status.NEW || item.status === status.NOTIFIED }\">{{ charactersLimit != null ? (item.body | shorten : charactersLimit : '...') : item.body}}</div>\r\n </div>\r\n\r\n <div *ngIf=\"showDate\">\r\n <span *ngIf=\"uiConfig.rbkUtils.notifications.date as date\" class=\"text-xs text-right whitespace-nowrap\">\r\n {{ item.date | calendar : date.recentsMethod : date.recentsDaysCount : date.othersFormat }}\r\n </span>\r\n </div>\r\n\r\n</div>\r\n", styles: ["smz-notification-item .success-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-success)}smz-notification-item .info-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-info)}smz-notification-item .warning-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-warning)}smz-notification-item .danger-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-danger)}smz-notification-item .help-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-help)}\n"] }]
|
|
22
22
|
}], ctorParameters: function () { return []; }, propDecorators: { item: [{
|
|
23
23
|
type: Input
|
|
24
24
|
}], charactersLimit: [{
|
|
@@ -26,4 +26,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
|
|
|
26
26
|
}], showDate: [{
|
|
27
27
|
type: Input
|
|
28
28
|
}] } });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNtei11aS9zcmMvbGliL21vZHVsZXMvc216LW5vdGlmaWNhdGlvbnMvY29tcG9uZW50cy9pdGVtL25vdGlmaWNhdGlvbi1pdGVtLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zbXotdWkvc3JjL2xpYi9tb2R1bGVzL3Ntei1ub3RpZmljYXRpb25zL2NvbXBvbmVudHMvaXRlbS9ub3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ZJRUQgfVwiPnt7IGNoYXJhY3RlcnNMaW1pdCAhPSBudWxsID8gKGl0ZW0uYm9keSB8IHNob3J0ZW4gOiBjaGFyYWN0ZXJzTGltaXQgOiAnLi4uJykgOiBpdGVtLmJvZHl9fTwvZGl2PlxyXG4gICAgPC9kaXY+XHJcblxyXG4gICAgPGRpdiAqbmdJZj1cInNob3dEYXRlXCI+XHJcbiAgICAgICAgPHNwYW4gKm5nSWY9XCJ1aUNvbmZpZy5yYmtVdGlscy5ub3RpZmljYXRpb25zLmRhdGUgYXMgZGF0ZVwiIGNsYXNzPVwidGV4dC14cyB0ZXh0LXJpZ2h0IHdoaXRlc3BhY2Utbm93cmFwXCI+XHJcbiAgICAgICAgICAgIHt7IGl0ZW0uZGF0ZSB8IGNhbGVuZGFyIDogZGF0ZS5yZWNlbnRzTWV0aG9kIDogZGF0ZS5yZWNlbnRzRGF5c0NvdW50IDogZGF0ZS5vdGhlcnNGb3JtYXQgfX1cclxuICAgICAgICA8L3NwYW4+XHJcbiAgICA8L2Rpdj5cclxuXHJcbjwvZGl2PlxyXG4iXX0=
|
package/fesm2015/ngx-smz-ui.mjs
CHANGED
|
@@ -34579,10 +34579,10 @@ class NotificationItemComponent {
|
|
|
34579
34579
|
}
|
|
34580
34580
|
}
|
|
34581
34581
|
NotificationItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NotificationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
34582
|
-
NotificationItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: NotificationItemComponent, selector: "smz-notification-item", inputs: { item: "item", charactersLimit: "charactersLimit", showDate: "showDate" }, ngImport: i0, template: "<div class=\"grid grid-nogutter flex-row flex-nowrap items-center justify-between relative flex-gap-1 py-2\">\r\n\r\n <div class=\"grid grid-nogutter flex-col items-stretch justify-start relative flex-gap-1\">\r\n <div class=\"grid grid-nogutter items-center justify-start mb-1\"
|
|
34582
|
+
NotificationItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: NotificationItemComponent, selector: "smz-notification-item", inputs: { item: "item", charactersLimit: "charactersLimit", showDate: "showDate" }, ngImport: i0, template: "<div class=\"grid grid-nogutter flex-row flex-nowrap items-center justify-between relative flex-gap-1 py-2 pl-2\" [ngClass]=\"uiConfig.rbkUtils.notifications.showTypeIndicators ? typeClass[item.type] : ''\">\r\n\r\n <div class=\"grid grid-nogutter flex-col items-stretch justify-start relative flex-gap-1\">\r\n <div class=\"grid grid-nogutter items-center justify-start mb-1\">\r\n <div class=\"font-medium\" [ngClass]=\"{ 'font-extrabold': item.status === status.NEW || item.status === status.NOTIFIED }\">{{item.title}}</div>\r\n <div *ngIf=\"item.status === status.NEW\" class=\"rounded bg-blue-500 text-white px-1 py-0.5 ml-2 text-xs\">NOVO</div>\r\n </div>\r\n <div class=\"text-sm\" [ngClass]=\"{ 'font-bold': item.status === status.NEW || item.status === status.NOTIFIED }\">{{ charactersLimit != null ? (item.body | shorten : charactersLimit : '...') : item.body}}</div>\r\n </div>\r\n\r\n <div *ngIf=\"showDate\">\r\n <span *ngIf=\"uiConfig.rbkUtils.notifications.date as date\" class=\"text-xs text-right whitespace-nowrap\">\r\n {{ item.date | calendar : date.recentsMethod : date.recentsDaysCount : date.othersFormat }}\r\n </span>\r\n </div>\r\n\r\n</div>\r\n", styles: ["smz-notification-item .success-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-success)}smz-notification-item .info-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-info)}smz-notification-item .warning-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-warning)}smz-notification-item .danger-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-danger)}smz-notification-item .help-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-help)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2$6.ShortenPipe, name: "shorten" }, { kind: "pipe", type: CalendarPipe, name: "calendar" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
34583
34583
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NotificationItemComponent, decorators: [{
|
|
34584
34584
|
type: Component,
|
|
34585
|
-
args: [{ selector: 'smz-notification-item', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"grid grid-nogutter flex-row flex-nowrap items-center justify-between relative flex-gap-1 py-2\">\r\n\r\n <div class=\"grid grid-nogutter flex-col items-stretch justify-start relative flex-gap-1\">\r\n <div class=\"grid grid-nogutter items-center justify-start mb-1\"
|
|
34585
|
+
args: [{ selector: 'smz-notification-item', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"grid grid-nogutter flex-row flex-nowrap items-center justify-between relative flex-gap-1 py-2 pl-2\" [ngClass]=\"uiConfig.rbkUtils.notifications.showTypeIndicators ? typeClass[item.type] : ''\">\r\n\r\n <div class=\"grid grid-nogutter flex-col items-stretch justify-start relative flex-gap-1\">\r\n <div class=\"grid grid-nogutter items-center justify-start mb-1\">\r\n <div class=\"font-medium\" [ngClass]=\"{ 'font-extrabold': item.status === status.NEW || item.status === status.NOTIFIED }\">{{item.title}}</div>\r\n <div *ngIf=\"item.status === status.NEW\" class=\"rounded bg-blue-500 text-white px-1 py-0.5 ml-2 text-xs\">NOVO</div>\r\n </div>\r\n <div class=\"text-sm\" [ngClass]=\"{ 'font-bold': item.status === status.NEW || item.status === status.NOTIFIED }\">{{ charactersLimit != null ? (item.body | shorten : charactersLimit : '...') : item.body}}</div>\r\n </div>\r\n\r\n <div *ngIf=\"showDate\">\r\n <span *ngIf=\"uiConfig.rbkUtils.notifications.date as date\" class=\"text-xs text-right whitespace-nowrap\">\r\n {{ item.date | calendar : date.recentsMethod : date.recentsDaysCount : date.othersFormat }}\r\n </span>\r\n </div>\r\n\r\n</div>\r\n", styles: ["smz-notification-item .success-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-success)}smz-notification-item .info-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-info)}smz-notification-item .warning-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-warning)}smz-notification-item .danger-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-danger)}smz-notification-item .help-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-help)}\n"] }]
|
|
34586
34586
|
}], ctorParameters: function () { return []; }, propDecorators: { item: [{
|
|
34587
34587
|
type: Input
|
|
34588
34588
|
}], charactersLimit: [{
|
|
@@ -36091,7 +36091,7 @@ AthenaTopbarActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
|
|
|
36091
36091
|
</span>
|
|
36092
36092
|
|
|
36093
36093
|
<ng-container *ngIf="uiConfig.rbkUtils.notifications.url != null; else modelDrivenNotificationsTemplate">
|
|
36094
|
-
<smz-ui-notifications id="smz-ui-notifications" class="mr-5"></smz-ui-notifications>
|
|
36094
|
+
<smz-ui-notifications id="smz-ui-notifications" class="mr-5 mt-2"></smz-ui-notifications>
|
|
36095
36095
|
</ng-container>
|
|
36096
36096
|
|
|
36097
36097
|
<ng-template #modelDrivenNotificationsTemplate>
|
|
@@ -36117,7 +36117,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
|
|
|
36117
36117
|
</span>
|
|
36118
36118
|
|
|
36119
36119
|
<ng-container *ngIf="uiConfig.rbkUtils.notifications.url != null; else modelDrivenNotificationsTemplate">
|
|
36120
|
-
<smz-ui-notifications id="smz-ui-notifications" class="mr-5"></smz-ui-notifications>
|
|
36120
|
+
<smz-ui-notifications id="smz-ui-notifications" class="mr-5 mt-2"></smz-ui-notifications>
|
|
36121
36121
|
</ng-container>
|
|
36122
36122
|
|
|
36123
36123
|
<ng-template #modelDrivenNotificationsTemplate>
|