aeb-ui-kit 0.0.118 → 0.0.119

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.
@@ -2643,12 +2643,16 @@
2643
2643
  function NewNotificationsComponent(dom) {
2644
2644
  this.dom = dom;
2645
2645
  this.close = new i0.EventEmitter();
2646
+ this.clickItem = new i0.EventEmitter();
2646
2647
  }
2647
2648
  NewNotificationsComponent.prototype.ngOnInit = function () {
2648
2649
  };
2649
2650
  NewNotificationsComponent.prototype.handleClose = function (id) {
2650
2651
  this.close.emit(id);
2651
2652
  };
2653
+ NewNotificationsComponent.prototype.handleItemClick = function (id) {
2654
+ this.clickItem.emit(id);
2655
+ };
2652
2656
  NewNotificationsComponent.prototype.bypassURL = function (url) {
2653
2657
  return this.dom.bypassSecurityTrustResourceUrl(url);
2654
2658
  };
@@ -2657,7 +2661,7 @@
2657
2661
  NewNotificationsComponent.decorators = [
2658
2662
  { type: i0.Component, args: [{
2659
2663
  selector: 'aeb-new-notifications',
2660
- template: "<div\r\n class=\"aeb-new-notifications\"\r\n *ngIf=\"notifications.length\"\r\n>\r\n <div\r\n *ngFor=\"let item of notifications\"\r\n class=\"aeb-new-notifications__item\"\r\n >\r\n <div class=\"aeb-new-notifications__icon\">\r\n <object type=\"image/svg+xml\" [data]=\"bypassURL(item.iconPath)\"></object>\r\n </div>\r\n <div class=\"aeb-new-notifications__info\">\r\n <div class=\"aeb-new-notifications__header\">\r\n {{item.header}}\r\n </div>\r\n <div class=\"aeb-new-notifications__msg\">\r\n {{item.message}}\r\n </div>\r\n </div>\r\n <div\r\n class=\"aeb-new-notifications__close\"\r\n (click)=\"handleClose(item.id)\"\r\n >\r\n <svg\r\n width=\"24\"\r\n height=\"24\"\r\n viewBox=\"0 0 24 24\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M5.63086 5.63074L18.3693 18.3692\"\r\n stroke=\"white\"\r\n stroke-width=\"2\"\r\n stroke-linecap=\"round\"\r\n />\r\n <path\r\n d=\"M18.3691 5.63074L5.63065 18.3692\"\r\n stroke=\"white\"\r\n stroke-width=\"2\"\r\n stroke-linecap=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n </div>\r\n</div>\r\n",
2664
+ template: "<div\r\n class=\"aeb-new-notifications\"\r\n *ngIf=\"notifications.length\"\r\n>\r\n <div\r\n *ngFor=\"let item of notifications\"\r\n (click)=\"handleItemClick(item.id)\"\r\n class=\"aeb-new-notifications__item\"\r\n >\r\n <div class=\"aeb-new-notifications__icon\">\r\n <object type=\"image/svg+xml\" [data]=\"bypassURL(item.iconPath)\"></object>\r\n </div>\r\n <div class=\"aeb-new-notifications__info\">\r\n <div class=\"aeb-new-notifications__header\">\r\n {{item.header}}\r\n </div>\r\n <div class=\"aeb-new-notifications__msg\">\r\n {{item.message}}\r\n </div>\r\n </div>\r\n <div\r\n class=\"aeb-new-notifications__close\"\r\n (click)=\"handleClose(item.id)\"\r\n >\r\n <svg\r\n width=\"24\"\r\n height=\"24\"\r\n viewBox=\"0 0 24 24\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M5.63086 5.63074L18.3693 18.3692\"\r\n stroke=\"white\"\r\n stroke-width=\"2\"\r\n stroke-linecap=\"round\"\r\n />\r\n <path\r\n d=\"M18.3691 5.63074L5.63065 18.3692\"\r\n stroke=\"white\"\r\n stroke-width=\"2\"\r\n stroke-linecap=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n </div>\r\n</div>\r\n",
2661
2665
  encapsulation: i0.ViewEncapsulation.None,
2662
2666
  styles: [".aeb-new-notifications{position:fixed;z-index:1500;top:80px;right:30px}.aeb-new-notifications__item{display:flex;width:324px;height:auto;min-height:76px;justify-content:space-between;border-radius:8px;background-color:var(--darkblue);padding:16px;box-sizing:border-box}.aeb-new-notifications__item:not(:last-child){margin-bottom:12px}.aeb-new-notifications__icon{flex:0;width:36px;height:36px}.aeb-new-notifications__info{width:100%;margin-left:16px}.aeb-new-notifications__header{flex:auto;word-break:break-all;color:var(--white);font-size:16px;font-weight:500;margin-bottom:8px}.aeb-new-notifications__info{color:var(--white);font-size:14px}.aeb-new-notifications__close{flex:0;top:16px;right:16px;cursor:pointer}"]
2663
2667
  },] }
@@ -2667,7 +2671,8 @@
2667
2671
  ]; };
2668
2672
  NewNotificationsComponent.propDecorators = {
2669
2673
  notifications: [{ type: i0.Input }],
2670
- close: [{ type: i0.Output }]
2674
+ close: [{ type: i0.Output }],
2675
+ clickItem: [{ type: i0.Output }]
2671
2676
  };
2672
2677
 
2673
2678
  var NewNotificationsModule = /** @class */ (function () {