UNPKG

com.phloxui

Version:

PhloxUI Ng2+ Framework

1,199 lines (1,198 loc) 113 kB
/** * @fileoverview added by tsickle * @suppress {checkTypes} checked by tsc */ import * as tslib_1 from "tslib"; import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { AbstractHasData } from './AbstractHasData'; import { Notification } from './model/Notification'; import { CLOSE_NOTIFICATION_EVENT, CLOSE_DONE_NOTIFICATION_EVENT, CLICK_EVENT, SHOW_ACTION_BAR_NOTIFICATION_EVENT, HIDE_ACTION_BAR_NOTIFICATION_EVENT, SHOW_CONTENT_NOTIFICATION_EVENT, HIDE_CONTENT_NOTIFICATION_EVENT } from '../share/CustomEventType'; import { UISystemClock } from '../service/UISystemClock.service'; import { DateTimeUtils } from '../share/utils/DateTimeUtils'; import { Option } from '../decorator/Option.decorator'; import { EventUtils } from '../share/utils/EventUtils'; var /** @type {?} */ TYPE_NAME = "phx-toast-notification"; var ToastNotification = /** @class */ (function (_super) { tslib_1.__extends(ToastNotification, _super); function ToastNotification(uiSystemClock, elementRef) { var _this = _super.call(this, elementRef) || this; _this.closeEvent = new EventEmitter(); _this.closeDoneEvent = new EventEmitter(); _this.showContentEvent = new EventEmitter(); _this.showContentDoneEvent = new EventEmitter(); _this.hideContentEvent = new EventEmitter(); _this.hideContentDoneEvent = new EventEmitter(); _this.showActionBarEvent = new EventEmitter(); _this.showActionBarDoneEvent = new EventEmitter(); _this.hideActionBarEvent = new EventEmitter(); _this.hideActionBarDoneEvent = new EventEmitter(); _this.uiSystemClock = uiSystemClock; _this.isClose = false; _this._showBody = false; _this._showActionBar = false; _this.closeStampTime = null; _this.showBodyTimeStamp = null; _this.HOVER_SHOW_ACTION_BAR_INTERVAL = 750; _this.MOUSE_LEAVE_HIDE_BAR_INTERVAL = 3000; return _this; } /** * @return {?} */ ToastNotification.prototype.ngOnInit = /** * @return {?} */ function () { _super.prototype.ngOnInit.call(this); }; /** * @return {?} */ ToastNotification.prototype.close = /** * @return {?} */ function () { var _this = this; this.clearHoverCountTimer(); if (this.isClose) { return; } this._currentRowHeight = this.getRowHeight(true); this._defaultRowHeight = this.getDefaultRowHeight(true); // add class this.isClose = true; this.closeStampTime = new Date(); var /** @type {?} */ data = { data: this.data, model: this.model }; var /** @type {?} */ ev = EventUtils.newCustomEvent(CLOSE_NOTIFICATION_EVENT, this, data, null); this.closeEvent.emit(ev); // delay and remove event if (this.removeDelayTimer !== null && typeof this.removeDelayTimer !== 'undefined') { clearTimeout(this.removeDelayTimer); this.removeDelayTimer = null; } this.removeDelayTimer = setTimeout(function () { var /** @type {?} */ data = { data: _this.data, model: _this.model }; var /** @type {?} */ ev2 = EventUtils.newCustomEvent(CLOSE_DONE_NOTIFICATION_EVENT, _this, data, null); _this.closeDoneEvent.emit(ev2); }, ToastNotification.ANIMATE_OUT_INTERVAL + ToastNotification.ANIMATE_REMOVE_INTERVAL); }; /** * @param {?} isShow * @return {?} */ ToastNotification.prototype.setShowActionBar = /** * @param {?} isShow * @return {?} */ function (isShow) { var _this = this; if (this.isClose) { // this block to disable show when closing return; } this._showActionBar = isShow; if (this._showActionBar) { var /** @type {?} */ ev_1 = this.getDefaultCustomEvent(SHOW_ACTION_BAR_NOTIFICATION_EVENT); this.showActionBarEvent.emit(ev_1); // after animated if (this.showActionBarDoneTimer !== null && typeof this.showActionBarDoneTimer !== 'undefined') { clearTimeout(this.showActionBarDoneTimer); this.showActionBarDoneTimer = null; } this.showActionBarDoneTimer = setTimeout(function () { _this._currentRowHeight = _this.getRowHeight(true); _this._defaultRowHeight = _this.getDefaultRowHeight(true); _this.showActionBarDoneEvent.emit(ev_1); }, ToastNotification.ANIMATE_SHOW_ACTION_BAR_INTERVAL); } else { var /** @type {?} */ ev_2 = this.getDefaultCustomEvent(HIDE_ACTION_BAR_NOTIFICATION_EVENT); this.hideActionBarEvent.emit(ev_2); // after animated if (this.hideActionBarDoneTimer !== null && typeof this.hideActionBarDoneTimer !== 'undefined') { clearTimeout(this.hideActionBarDoneTimer); this.hideActionBarDoneTimer = null; } this.hideActionBarDoneTimer = setTimeout(function () { _this._currentRowHeight = _this.getRowHeight(true); _this._defaultRowHeight = _this.getDefaultRowHeight(true); _this.hideActionBarDoneEvent.emit(ev_2); }, ToastNotification.ANIMATE_SHOW_ACTION_BAR_INTERVAL); } }; /** * @return {?} */ ToastNotification.prototype.clearHoverCountTimer = /** * @return {?} */ function () { if (this.hoverCountTimer !== null && typeof this.hoverCountTimer !== 'undefined') { clearTimeout(this.hoverCountTimer); this.hoverCountTimer = null; } }; /** * @return {?} */ ToastNotification.prototype.clearMouseLeaveTimer = /** * @return {?} */ function () { if (this.mouseLeaveTimer !== null && typeof this.mouseLeaveTimer !== 'undefined') { clearTimeout(this.mouseLeaveTimer); this.mouseLeaveTimer = null; } }; /** * @param {?} eventName * @return {?} */ ToastNotification.prototype.getDefaultCustomEvent = /** * @param {?} eventName * @return {?} */ function (eventName) { var /** @type {?} */ data = { data: this.data, model: this.model, instance: this }; var /** @type {?} */ ev = EventUtils.newCustomEvent(eventName, this, data, null); return ev; }; /** * @param {?} includePadding * @return {?} */ ToastNotification.prototype.getDefaultRowHeight = /** * @param {?} includePadding * @return {?} */ function (includePadding) { var /** @type {?} */ firsRowHeight = 0; var /** @type {?} */ firstRow = $(this.elementRef.nativeElement).find('.row'); if (typeof firstRow !== 'undefined' && typeof firstRow.first() !== 'undefined') { firsRowHeight = firstRow.first().height(); } var /** @type {?} */ padding = 0; if (includePadding !== null && typeof includePadding !== 'undefined') { var /** @type {?} */ pd = $(this.elementRef.nativeElement).css('padding-bottom'); if (pd !== null && typeof pd !== 'undefined') { padding = parseFloat(pd); } } var /** @type {?} */ finalHeight = firsRowHeight + padding; return finalHeight; }; /** * @param {?} includePadding * @return {?} */ ToastNotification.prototype.getRowHeight = /** * @param {?} includePadding * @return {?} */ function (includePadding) { // check height and override var /** @type {?} */ contentBodyHeight = 0; var /** @type {?} */ contentBody = $(this.elementRef.nativeElement).find('.row.content'); if (typeof contentBody !== 'undefined') { contentBodyHeight = contentBody.height(); } var /** @type {?} */ actionBarHeight = 0; var /** @type {?} */ actionBar = $(this.elementRef.nativeElement).find('.row.action-bar'); if (typeof contentBody !== 'undefined') { actionBarHeight = actionBar.height(); } var /** @type {?} */ firsRowHeight = 0; var /** @type {?} */ firstRow = $(this.elementRef.nativeElement).find('.row'); if (typeof firstRow !== 'undefined' && typeof firstRow.first() !== 'undefined') { firsRowHeight = firstRow.first().height(); } var /** @type {?} */ padding = 0; if (includePadding !== null && typeof includePadding !== 'undefined') { var /** @type {?} */ pd = $(this.elementRef.nativeElement).css('padding-bottom'); if (pd !== null && typeof pd !== 'undefined') { padding = parseFloat(pd); } } var /** @type {?} */ finalHeight = firsRowHeight + contentBodyHeight + actionBarHeight + padding; return finalHeight; }; /** * @return {?} */ ToastNotification.prototype.hasActions = /** * @return {?} */ function () { var /** @type {?} */ firstBtn = this._getFirstActionBtn(); if (firstBtn !== null && typeof firstBtn !== 'undefined') { return true; } return false; }; /** * @return {?} */ ToastNotification.prototype.hasBody = /** * @return {?} */ function () { // open if (this.model !== null && typeof this.model !== 'undefined') { var /** @type {?} */ bodyType = this.model.bodyComponent; if (bodyType !== null && typeof bodyType !== 'undefined') { return true; } } return false; }; /** * @return {?} */ ToastNotification.prototype._isBodyAnimating = /** * @return {?} */ function () { if (this.uiSystemClock !== null && this.showBodyTimeStamp !== null) { return (this.uiSystemClock.getCurrentClockTime() - this.showBodyTimeStamp.getTime()) < ToastNotification.ANIMATE_SHOW_BODY_INTERVAL; } return false; }; /** * @return {?} */ ToastNotification.prototype._isExpandDefaultBtn = /** * @return {?} */ function () { var /** @type {?} */ secondBtn = this._getSecondActionBtn(); if (secondBtn === null || typeof secondBtn === 'undefined') { return true; } return false; }; /** * @return {?} */ ToastNotification.prototype._showActionsBarBtn = /** * @return {?} */ function () { var /** @type {?} */ isHasACT = this.hasActions(); if (!this._showBody) { return isHasACT; } else { var /** @type {?} */ isHasBody = this.hasBody(); if (!isHasBody) { return isHasACT; } } return false; }; /** * @return {?} */ ToastNotification.prototype._getSecondActionBtn = /** * @return {?} */ function () { if (this.model !== null && typeof this.model !== 'undefined') { var /** @type {?} */ actionArrays = this.model.getActions(); if (actionArrays !== null && typeof actionArrays !== 'undefined' && actionArrays.length >= 2) { return actionArrays[1]; } } return null; }; /** * @return {?} */ ToastNotification.prototype._getFirstActionBtn = /** * @return {?} */ function () { if (this.model !== null && typeof this.model !== 'undefined') { var /** @type {?} */ actionArrays = this.model.getActions(); if (actionArrays !== null && typeof actionArrays !== 'undefined' && actionArrays.length >= 1) { return actionArrays[0]; } } return null; }; /** * @return {?} */ ToastNotification.prototype._getRowMarginTop = /** * @return {?} */ function () { var /** @type {?} */ isRemoving = this._isAnimateRemove(); if (!isRemoving) { return null; } if (!this.isClose) { if (this._defaultRowHeight === null || typeof this._defaultRowHeight === 'undefined') { this._defaultRowHeight = this.getDefaultRowHeight(true); } return -(this._defaultRowHeight) + "px"; } if (this._currentRowHeight === null || typeof this._currentRowHeight === 'undefined') { this._currentRowHeight = this.getRowHeight(true); } return -(this._currentRowHeight) + "px"; }; /** * @return {?} */ ToastNotification.prototype._isAnimateIn = /** * @return {?} */ function () { if (this.isClose) { return false; } var /** @type {?} */ createdTime = null; if (this.model !== null && typeof this.model !== 'undefined') { if (this.model.createdTime !== null && typeof this.model.createdTime !== 'undefined') { createdTime = this.model.createdTime; } } if (this.uiSystemClock !== null && createdTime !== null) { return (this.uiSystemClock.getCurrentClockTime() - createdTime.getTime()) < ToastNotification.ANIMATE_IN_INTERVAL; } return true; }; /** * @return {?} */ ToastNotification.prototype._isAnimateOut = /** * @return {?} */ function () { if (!this.isClose) { if (this._showBody || this._showActionBar) { return false; } } var /** @type {?} */ createdTime = null; var /** @type {?} */ timeout = 0; if (this.model !== null && typeof this.model !== 'undefined') { if (this.model.createdTime !== null && typeof this.model.createdTime !== 'undefined') { createdTime = this.model.createdTime; } if (this.model.timeout !== null && typeof this.model.timeout !== 'undefined') { timeout = this.model.timeout; } } // if close return true if (this.isClose) { return true; } if (this.uiSystemClock !== null && createdTime !== null) { return (this.uiSystemClock.getCurrentClockTime() > (createdTime.getTime() + timeout - (ToastNotification.ANIMATE_OUT_INTERVAL + ToastNotification.ANIMATE_REMOVE_INTERVAL))); } return false; }; /** * @return {?} */ ToastNotification.prototype._isAnimateRemove = /** * @return {?} */ function () { if (!this.isClose) { if (this._showBody || this._showActionBar) { return false; } } var /** @type {?} */ createdTime = null; var /** @type {?} */ timeout = 0; if (this.model !== null && typeof this.model !== 'undefined') { if (this.model.createdTime !== null && typeof this.model.createdTime !== 'undefined') { createdTime = this.model.createdTime; } if (this.model.timeout !== null && typeof this.model.timeout !== 'undefined') { timeout = this.model.timeout; } } if (this.uiSystemClock !== null && createdTime !== null) { if (this.isClose) { return (this.uiSystemClock.getCurrentClockTime() > (this.closeStampTime.getTime() + ToastNotification.ANIMATE_OUT_INTERVAL)); } return (this.uiSystemClock.getCurrentClockTime() > (createdTime.getTime() + timeout - (ToastNotification.ANIMATE_REMOVE_INTERVAL))); } return false; }; /** * @param {?} date * @return {?} */ ToastNotification.prototype._getTimeMessage = /** * @param {?} date * @return {?} */ function (date) { if (date === null || typeof date === 'undefined') { return ""; } if (this.uiSystemClock !== null && typeof this.uiSystemClock !== 'undefined') { var /** @type {?} */ currentTime = this.uiSystemClock.getCurrentClockDateTime(); return DateTimeUtils.getCompareTimeMessage(date, currentTime); } return ""; }; /** * @return {?} */ ToastNotification.prototype._isShowActionBar = /** * @return {?} */ function () { return this._showActionBar; }; /** * @return {?} */ ToastNotification.prototype._isShowIcon = /** * @return {?} */ function () { if (this.model !== null && this.model !== undefined) { var /** @type {?} */ url = this._getIconUrl(); if (url !== null && url !== undefined && url !== '') { return true; } } return false; }; /** * @return {?} */ ToastNotification.prototype._getIconUrl = /** * @return {?} */ function () { if (this.model !== null && this.model !== undefined) { if (this.model.iconURL !== null && this.model.iconURL !== undefined) { return this.model.iconURL; } } return null; }; /** * @return {?} */ ToastNotification.prototype._getLabel = /** * @return {?} */ function () { if (this.model !== null && this.model !== undefined) { if (this.model.label !== null && this.model.label !== undefined) { return this.model.label; } } return ""; }; /** * @param {?} $event * @return {?} */ ToastNotification.prototype.onSecondButtonClicked = /** * @param {?} $event * @return {?} */ function ($event) { var /** @type {?} */ secondBtn = this._getSecondActionBtn(); if (secondBtn !== null && typeof secondBtn !== 'undefined') { if (secondBtn.handler !== null && typeof secondBtn.handler === 'function') { var /** @type {?} */ custEV = this.getDefaultCustomEvent(CLICK_EVENT); secondBtn.handler.call(null, custEV); if (secondBtn.closeNotification !== null && typeof secondBtn.closeNotification !== 'undefined') { if (secondBtn.closeNotification) { this.close(); } } } } }; /** * @param {?} $event * @return {?} */ ToastNotification.prototype.onFirstButtonClicked = /** * @param {?} $event * @return {?} */ function ($event) { var /** @type {?} */ firstBtn = this._getFirstActionBtn(); if (firstBtn !== null && typeof firstBtn !== 'undefined') { if (firstBtn.handler !== null && typeof firstBtn.handler === 'function') { var /** @type {?} */ custEV = this.getDefaultCustomEvent(CLICK_EVENT); firstBtn.handler.call(null, custEV); if (firstBtn.closeNotification !== null && typeof firstBtn.closeNotification !== 'undefined') { if (firstBtn.closeNotification) { this.close(); } } } } }; /** * @return {?} */ ToastNotification.prototype.onRowBodyHover = /** * @return {?} */ function () { var _this = this; if (this._showActionBar) { this.clearHoverCountTimer(); return; } if (this.hoverCountTimer === null || typeof this.hoverCountTimer === 'undefined') { this.hoverCountTimer = setTimeout(function () { if (!_this._showActionBar) { _this.setShowActionBar(true); } }, this.HOVER_SHOW_ACTION_BAR_INTERVAL); } this.clearMouseLeaveTimer(); }; /** * @return {?} */ ToastNotification.prototype.onRowBodyLeave = /** * @return {?} */ function () { var _this = this; this.clearHoverCountTimer(); /** open if u want to mouse leave and hide actionbar **/ if (!this._showBody && this._showActionBar) { if (this.mouseLeaveTimer !== null && typeof this.mouseLeaveTimer !== 'undefined') { clearTimeout(this.mouseLeaveTimer); this.mouseLeaveTimer = null; } this.mouseLeaveTimer = setTimeout(function () { if (!_this._showBody && !_this.isClose) { _this.setShowActionBar(false); } }, this.MOUSE_LEAVE_HIDE_BAR_INTERVAL); } }; /** * @param {?} $event * @return {?} */ ToastNotification.prototype.onCloseBtnClicked = /** * @param {?} $event * @return {?} */ function ($event) { if ($event !== null && typeof $event !== 'undefined') { $event.stopPropagation(); $event.cancelBubble = true; } this.close(); }; /** * @param {?} $event * @return {?} */ ToastNotification.prototype.onBodyClicked = /** * @param {?} $event * @return {?} */ function ($event) { if (this.model !== null && typeof this.model !== 'undefined') { if (this.model.clickHandler !== null && typeof this.model.clickHandler === 'function') { var /** @type {?} */ custEV = this.getDefaultCustomEvent(CLICK_EVENT); this.model.clickHandler.call(null, custEV); this.close(); } } }; /** * @return {?} */ ToastNotification.prototype.showBody = /** * @return {?} */ function () { var _this = this; if (this.isClose) { // this block to disable show when closing return; } if (!this._showBody) { this.showBodyTimeStamp = new Date(); this._showBody = true; var /** @type {?} */ ev_3 = this.getDefaultCustomEvent(SHOW_CONTENT_NOTIFICATION_EVENT); this.showContentEvent.emit(ev_3); // after animated if (this.showContentDoneTimer !== null && typeof this.showContentDoneTimer !== 'undefined') { clearTimeout(this.showContentDoneTimer); this.showContentDoneTimer = null; } this.showContentDoneTimer = setTimeout(function () { _this._currentRowHeight = _this.getRowHeight(true); _this._defaultRowHeight = _this.getDefaultRowHeight(true); _this.showContentDoneEvent.emit(ev_3); }, ToastNotification.ANIMATE_SHOW_BODY_INTERVAL); } }; /** * @return {?} */ ToastNotification.prototype.hideBody = /** * @return {?} */ function () { var _this = this; if (this.isClose) { // this block to disable show when closing return; } if (this._showBody) { this.showBodyTimeStamp = null; this._showBody = false; var /** @type {?} */ ev_4 = this.getDefaultCustomEvent(HIDE_CONTENT_NOTIFICATION_EVENT); this.hideContentEvent.emit(ev_4); // after animated if (this.hideContentDoneTimer !== null && typeof this.hideContentDoneTimer !== 'undefined') { clearTimeout(this.hideContentDoneTimer); this.hideContentDoneTimer = null; } this.hideContentDoneTimer = setTimeout(function () { _this._currentRowHeight = _this.getRowHeight(true); _this._defaultRowHeight = _this.getDefaultRowHeight(true); _this.hideContentDoneEvent.emit(ev_4); }, ToastNotification.ANIMATE_SHOW_BODY_INTERVAL); } }; /** * @return {?} */ ToastNotification.prototype.isShowBody = /** * @return {?} */ function () { return this._showBody; }; /** * @return {?} */ ToastNotification.prototype.getModel = /** * @return {?} */ function () { return this.model; }; /** * @param {?} model * @return {?} */ ToastNotification.prototype.setModel = /** * @param {?} model * @return {?} */ function (model) { this.model = model; }; /** * @return {?} */ ToastNotification.prototype.isSelfDataDirty = /** * @return {?} */ function () { return false; }; /** * @param {?} data * @return {?} */ ToastNotification.prototype.selfSaveData = /** * @param {?} data * @return {?} */ function (data) { }; /** * @return {?} */ ToastNotification.prototype.selfResetData = /** * @return {?} */ function () { }; /** * @return {?} */ ToastNotification.prototype.getCloseEvent = /** * @return {?} */ function () { return this.closeEvent; }; /** * @param {?} event * @return {?} */ ToastNotification.prototype.setCloseEvent = /** * @param {?} event * @return {?} */ function (event) { this.closeEvent = event; }; /** * @return {?} */ ToastNotification.prototype.getCloseDoneEvent = /** * @return {?} */ function () { return this.closeDoneEvent; }; /** * @param {?} event * @return {?} */ ToastNotification.prototype.setCloseDoneEvent = /** * @param {?} event * @return {?} */ function (event) { this.closeDoneEvent = event; }; /** * @return {?} */ ToastNotification.prototype.getShowContentEvent = /** * @return {?} */ function () { return this.showContentEvent; }; /** * @param {?} event * @return {?} */ ToastNotification.prototype.setShowContentEvent = /** * @param {?} event * @return {?} */ function (event) { this.showContentEvent = event; }; /** * @return {?} */ ToastNotification.prototype.getShowContentDoneEvent = /** * @return {?} */ function () { return this.showContentDoneEvent; }; /** * @param {?} event * @return {?} */ ToastNotification.prototype.setShowContentDoneEvent = /** * @param {?} event * @return {?} */ function (event) { this.showContentDoneEvent = event; }; /** * @return {?} */ ToastNotification.prototype.getHideContentEvent = /** * @return {?} */ function () { return this.hideContentEvent; }; /** * @param {?} event * @return {?} */ ToastNotification.prototype.setHideContentEvent = /** * @param {?} event * @return {?} */ function (event) { this.hideContentEvent = event; }; /** * @return {?} */ ToastNotification.prototype.getHideContentDoneEvent = /** * @return {?} */ function () { return this.hideContentDoneEvent; }; /** * @param {?} event * @return {?} */ ToastNotification.prototype.setHideContentDoneEvent = /** * @param {?} event * @return {?} */ function (event) { this.hideContentDoneEvent = event; }; /** * @return {?} */ ToastNotification.prototype.getShowActionBarEvent = /** * @return {?} */ function () { return this.showActionBarEvent; }; /** * @param {?} event * @return {?} */ ToastNotification.prototype.setShowActionBarEvent = /** * @param {?} event * @return {?} */ function (event) { this.showActionBarEvent = event; }; /** * @return {?} */ ToastNotification.prototype.getShowActionBarDoneEvent = /** * @return {?} */ function () { return this.showActionBarDoneEvent; }; /** * @param {?} event * @return {?} */ ToastNotification.prototype.setShowActionBarDoneEvent = /** * @param {?} event * @return {?} */ function (event) { this.showActionBarDoneEvent = event; }; /** * @return {?} */ ToastNotification.prototype.getHideActionBarEvent = /** * @return {?} */ function () { return this.hideActionBarEvent; }; /** * @param {?} event * @return {?} */ ToastNotification.prototype.setHideActionBarEvent = /** * @param {?} event * @return {?} */ function (event) { this.hideActionBarEvent = event; }; /** * @return {?} */ ToastNotification.prototype.getHideActionBarDoneEvent = /** * @return {?} */ function () { return this.hideActionBarDoneEvent; }; /** * @param {?} event * @return {?} */ ToastNotification.prototype.setHideActionBarDoneEvent = /** * @param {?} event * @return {?} */ function (event) { this.hideActionBarDoneEvent = event; }; /** * @return {?} */ ToastNotification.prototype.doPreload = /** * @return {?} */ function () { return new Promise(function (resolve, reject) { resolve(null); }); }; /** * @return {?} */ ToastNotification.prototype.doLoaded = /** * @return {?} */ function () { }; ToastNotification.TYPE_NAME = TYPE_NAME; ToastNotification.ANIMATE_IN_INTERVAL = 50; ToastNotification.ANIMATE_OUT_INTERVAL = 600; ToastNotification.ANIMATE_REMOVE_INTERVAL = 200; ToastNotification.ANIMATE_SHOW_BODY_INTERVAL = 600; ToastNotification.ANIMATE_SHOW_ACTION_BAR_INTERVAL = 600; ToastNotification.decorators = [ { type: Component, args: [{ moduleId: module.id, selector: TYPE_NAME, template: "<div class=\"phx-toast-notification\" [style.margin-top]=\"_getRowMarginTop()\" [class.animateIn]=\"_isAnimateIn()\" [class.animateOut]=\"_isAnimateOut()\"\n\t[class.animateRemove]=\"_isAnimateRemove()\" (mouseover)=\"onRowBodyHover()\" (mouseleave)=\"onRowBodyLeave()\">\n\t<div class=\"row-container\">\n\t\t<div class=\"row\" (click)=\"onBodyClicked($event)\">\n\t\t\t<div class=left>\n\t\t\t\t<div class=\"wrapper\">\n\t\t\t\t\t<div class=\"textCircle\" *ngIf=\"!_isShowIcon()\">\n\t\t\t\t\t\t<div class=\"text-container flex-center\">\n\t\t\t\t\t\t\t{{_getLabel()}}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div *ngIf=\"_isShowIcon()\" class=\"icon-container flex-center\">\n\t\t\t\t\t\t<img src=\"{{_getIconUrl()}}\">\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class=\"center\">\n\t\t\t\t<div class=\"wrapper\">\n\t\t\t\t\t<div class=\"title-label\">\n\t\t\t\t\t\t<div class=\"table-wrapper fluid\">\n\t\t\t\t\t\t\t<div class=\"table-row-wrapper\">\n\t\t\t\t\t\t\t\t<div class=\"table-cell-wrapper middle\">{{getModel().title}}</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"description-label\">{{getModel().description}}</div>\n\t\t\t\t\t<div class=\"time-label\">\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<div class=\"table-wrapper fluid\">\n\t\t\t\t\t\t\t\t<div class=\"table-row-wrapper\">\n\t\t\t\t\t\t\t\t\t<div class=\"table-cell-wrapper middle\">\n\t\t\t\t\t\t\t\t\t\t<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t\t\t\t\t\t\t\t\t\t viewBox=\"0 0 30 30\" style=\"enable-background:new 0 0 30 30;\" xml:space=\"preserve\" class=\"clock\">\n\t\t\t\t\t\t\t\t\t\t\t<g>\n\t\t\t\t\t\t\t\t\t\t\t\t<g>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<path style=\"fill:#CCCCCC;\" d=\"M15.026,1c3.725,0,7.096,1.516,9.545,3.952c2.439,2.452,3.955,5.823,3.955,9.548\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tc0,3.725-1.516,7.099-3.955,9.548C22.122,26.487,18.751,28,15.026,28c-3.726,0-7.097-1.513-9.535-3.952\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tC3.039,21.6,1.536,18.225,1.536,14.5c0-3.726,1.504-7.097,3.952-9.548C7.93,2.516,11.301,1,15.026,1L15.026,1z M21.906,13.762\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tc0.405,0,0.727,0.332,0.727,0.738c0,0.405-0.322,0.737-0.727,0.737h-6.879c-0.271,0-0.507-0.157-0.633-0.373l-0.012-0.01\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tl-0.01-0.022v-0.01l-0.01-0.022l-0.012-0.02v-0.012l-0.01-0.02l-0.01-0.009v-0.023l-0.009-0.019v-0.013l-0.013-0.019v-0.042\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tl-0.01-0.013V5.712c0-0.405,0.323-0.728,0.728-0.728c0.402,0,0.734,0.323,0.734,0.728v8.05H21.906z M23.533,5.992\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tc-2.177-2.18-5.188-3.517-8.507-3.517c-3.32,0-6.33,1.337-8.51,3.517C4.348,8.169,2.998,11.18,2.998,14.5\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tc0,3.32,1.35,6.33,3.518,8.51c2.18,2.177,5.19,3.517,8.51,3.517c3.32,0,6.33-1.34,8.507-3.517c2.18-2.18,3.53-5.188,3.53-8.51\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tC27.064,11.18,25.714,8.169,23.533,5.992L23.533,5.992z M23.533,5.992\"/>\n\t\t\t\t\t\t\t\t\t\t\t\t</g>\n\t\t\t\t\t\t\t\t\t\t\t</g>\n\t\t\t\t\t\t\t\t\t\t</svg>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<div class=\"table-wrapper fluid\">\n\t\t\t\t\t\t\t\t<div class=\"table-row-wrapper\">\n\t\t\t\t\t\t\t\t\t<div class=\"table-cell-wrapper middle\">\n\t\t\t\t\t\t\t\t\t\t{{_getTimeMessage(getModel().createdTime)}}</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class=\"right\"> <div class=\"cross-icon\" (click)=\"onCloseBtnClicked($event)\"></div> </div>\n\t\t</div>\n\t\t<div class=\"row action-bar\" [class.show]=\"_isShowActionBar()\">\n\t\t\t<div class=\"left\">\n\t\t\t\t<!-- nothing here -->\n\t\t\t</div>\n\t\t\t<div class=\"center\">\n\t\t\t\t<div class=\"wrapper\">\n\t\t\t\t\t<div class=\"left\" [class.hide]=\"_isExpandDefaultBtn()\">\n\t\t\t\t\t\t<div class=\"table-wrapper fluid\">\n\t\t\t\t\t\t\t<div class=\"table-row-wrapper\">\n\t\t\t\t\t\t\t\t<div class=\"table-cell-wrapper middle\">\n\t\t\t\t\t\t\t\t\t<div class=\"notification-action-btn\" [class.fadeout]=\"!_showActionsBarBtn()\" *ngIf=\"_getSecondActionBtn() !== null\" (click)=\"onSecondButtonClicked($event)\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"table-wrapper fluid\">\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"table-row-wrapper\">\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"table-cell-wrapper middle\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{_getSecondActionBtn().title}}\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"right\" [class.expand]=\"_isExpandDefaultBtn()\">\n\t\t\t\t\t\t<div class=\"table-wrapper fluid\">\n\t\t\t\t\t\t\t<div class=\"table-row-wrapper\">\n\t\t\t\t\t\t\t\t<div class=\"table-cell-wrapper middle\">\n\t\t\t\t\t\t\t\t\t<div class=\"notification-action-btn first\" [class.fadeout]=\"!_showActionsBarBtn()\" *ngIf=\"_getFirstActionBtn() !== null\" (click)=\"onFirstButtonClicked($event)\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"table-wrapper fluid\">\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"table-row-wrapper\">\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"table-cell-wrapper middle\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{_getFirstActionBtn().title}}\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class=\"right\">\n\t\t\t\t<!-- nothing here -->\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"row content\" [class.show]=\"!_showActionsBarBtn()\" [class.animating]=\"_isBodyAnimating()\">\n\t\t\t<div class=\"wrapper\">\n\t\t\t\t<phx-component-wrapper [type]=\"getModel().bodyComponent\" [data]=\"this\"></phx-component-wrapper>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n" },] }, ]; /** @nocollapse */ ToastNotification.ctorParameters = function () { return [ { type: UISystemClock, }, { type: ElementRef, }, ]; }; ToastNotification.propDecorators = { "dataParent": [{ type: Input },], "ignoreParentData": [{ type: Input },], "data": [{ type: Input },], "ignoreParentDisabled": [{ type: Input },], "delegateHistory": [{ type: Input },], "onDisabled": [{ type: Input },], "onEnabled": [{ type: Input },], "loadingEnabled": [{ type: Input },], "i18nKey": [{ type: Input },], "bypass": [{ type: Input, args: ['i18nBypass',] },], "options": [{ type: Input },], "disabled": [{ type: Input },], "model": [{ type: Input },], "loadEvent": [{ type: Output, args: ['phxLoad',] },], "closeEvent": [{ type: Output, args: ['phxClose',] },], "closeDoneEvent": [{ type: Output, args: ['phxCloseDone',] },], "showContentEvent": [{ type: Output, args: ['phxShowContent',] },], "showContentDoneEvent": [{ type: Output, args: ['phxShowContentDone',] },], "hideContentEvent": [{ type: Output, args: ['phxHideContent',] },], "hideContentDoneEvent": [{ type: Output, args: ['phxHideContentDone',] },], "showActionBarEvent": [{ type: Output, args: ['phxShowActionBar',] },], "showActionBarDoneEvent": [{ type: Output, args: ['phxShowActionBarDone',] },], "hideActionBarEvent": [{ type: Output, args: ['phxHideActionBar',] },], "hideActionBarDoneEvent": [{ type: Output, args: ['phxHideActionBarDone',] },], }; tslib_1.__decorate([ Option(), tslib_1.__metadata("design:type", Object) ], ToastNotification.prototype, "dataParent", void 0); tslib_1.__decorate([ Option(), tslib_1.__metadata("design:type", Boolean) ], ToastNotification.prototype, "ignoreParentData", void 0); tslib_1.__decorate([ Option(), tslib_1.__metadata("design:type", Object) ], ToastNotification.prototype, "data", void 0); tslib_1.__decorate([ Option(), tslib_1.__metadata("design:type", Boolean) ], ToastNotification.prototype, "ignoreParentDisabled", void 0); tslib_1.__decorate([ Option(), tslib_1.__metadata("design:type", Boolean) ], ToastNotification.prototype, "delegateHistory", void 0); tslib_1.__decorate([ Option(), tslib_1.__metadata("design:type", Function) ], ToastNotification.prototype, "onDisabled", void 0); tslib_1.__decorate([ Option(), tslib_1.__metadata("design:type", Function) ], ToastNotification.prototype, "onEnabled", void 0); tslib_1.__decorate([ Option(), tslib_1.__metadata("design:type", Boolean) ], ToastNotification.prototype, "loadingEnabled", void 0); tslib_1.__decorate([ Option(), tslib_1.__metadata("design:type", String) ], ToastNotification.prototype, "i18nKey", void 0); tslib_1.__decorate([ Option('i18nBypass'), tslib_1.__metadata("design:type", Boolean) ], ToastNotification.prototype, "bypass", void 0); tslib_1.__decorate([ Option(), tslib_1.__metadata("design:type", Boolean) ], ToastNotification.prototype, "disabled", void 0); tslib_1.__decorate([ Option('load'), tslib_1.__metadata("design:type", EventEmitter) ], ToastNotification.prototype, "loadEvent", void 0); tslib_1.__decorate([ Option('close'), tslib_1.__metadata("design:type", EventEmitter) ], ToastNotification.prototype, "closeEvent", void 0); tslib_1.__decorate([ Option('closeDone'), tslib_1.__metadata("design:type", EventEmitter) ], ToastNotification.prototype, "closeDoneEvent", void 0); tslib_1.__decorate([ Option('showContent'), tslib_1.__metadata("design:type", EventEmitter) ], ToastNotification.prototype, "showContentEvent", void 0); tslib_1.__decorate([ Option('showContentDone'), tslib_1.__metadata("design:type", EventEmitter) ], ToastNotification.prototype, "showContentDoneEvent", void 0); tslib_1.__decorate([ Option('hideContent'), tslib_1.__metadata("design:type", EventEmitter) ], ToastNotification.prototype, "hideContentEvent", void 0); tslib_1.__decorate([ Option('hideContentDone'), tslib_1.__metadata("design:type", EventEmitter) ], ToastNotification.prototype, "hideContentDoneEvent", void 0); tslib_1.__decorate([ Option('showActionBar'), tslib_1.__metadata("design:type", EventEmitter) ], ToastNotification.prototype, "showActionBarEvent", void 0); tslib_1.__decorate([ Option('showActionBarDone'), tslib_1.__metadata("design:type", EventEmitter) ], ToastNotification.prototype, "showActionBarDoneEvent", void 0); tslib_1.__decorate([ Option('hideActionBar'), tslib_1.__metadata("design:type", EventEmitter) ], ToastNotification.prototype, "hideActionBarEvent", void 0); tslib_1.__decorate([ Option('hideActionBarDone'), tslib_1.__metadata("design:type", EventEmitter) ], ToastNotification.prototype, "hideActionBarDoneEvent", void 0); return ToastNotification; }(AbstractHasData)); export { ToastNotification }; function ToastNotification_tsickle_Closure_declarations() { /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ ToastNotification.decorators; /** * @nocollapse * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>} */ ToastNotification.ctorParameters; /** @type {!Object<string,!Array<{type: !Function, args: (undefined|!Array<?>)}>>} */ ToastNotification.propDecorators; /** @type {?} */ ToastNotification.TYPE_NAME; /** @type {?} */ ToastNotification.ANIMATE_IN_INTERVAL; /** @type {?} */ ToastNotification.ANIMATE_OUT_INTERVAL; /** @type {?} */ ToastNotification.ANIMATE_REMOVE_INTERVAL; /** @type {?} */ ToastNotification.ANIMATE_SHOW_BODY_INTERVAL; /** @type {?} */ ToastNotification.ANIMATE_SHOW_ACTION_BAR_INTERVAL; /** @type {?} */ ToastNotification.prototype.dataParent; /** @type {?} */ ToastNotification.prototype.ignoreParentData; /** @type {?} */ ToastNotification.prototype.data; /** @type {?} */ ToastNotification.prototype.ignoreParentDisabled; /** @type {?} */ ToastNotification.prototype.delegateHistory; /** @type {?} */ ToastNotification.prototype.onDisabled; /** @type {?} */ ToastNotification.prototype.onEnabled; /** @type {?} */ ToastNotification.prototype.loadingEnabled; /** @type {?} */ ToastNotification.prototype.i18nKey; /** @type {?} */ ToastNotification.prototype.bypass; /** @type {?} */ ToastNotification.prototype.options; /** @type {?} */ ToastNotification.prototype.disabled; /** @type {?} */ ToastNotification.prototype.model; /** @type {?} */ ToastNotification.prototype.loadEvent; /** @type {?} */ ToastNotification.prototype.closeEvent; /** @type {?} */ ToastNotification.prototype.closeDoneEvent; /** @type {?} */ ToastNotification.prototype.showContentEvent; /** @type {?} */ ToastNotification.prototype.showContentDoneEvent; /** @type {?} */ ToastNotification.prototype.hideContentEvent; /** @type {?} */ ToastNotification.prototype.hideContentDoneEvent; /** @type {?} */ ToastNotification.prototype.showActionBarEvent; /** @type {?} */ ToastNotification.prototype.showActionBarDoneEvent; /** @type {?} */ ToastNotification.prototype.hideActionBarEvent; /** @type {?} */ ToastNotification.prototype.hideActionBarDoneEvent; /** @type {?} */ ToastNotification.prototype.removeDelayTimer; /** @type {?} */ ToastNotification.prototype.hideDelayTimer; /** @type {?} */ ToastNotification.prototype.hoverCountTimer; /** @type {?} */ ToastNotification.prototype.mouseLeaveTimer; /** @type {?} */ ToastNotification.prototype.uiDelayTimer; /** @type {?} */ ToastNotification.prototype.showActionBarDoneTimer; /** @type {?} */ ToastNotification.prototype.hideActionBarDoneTimer; /** @type {?} */ ToastNotification.prototype.showContentDoneTimer; /** @type {?} */ ToastNotification.prototype.hideContentDoneTimer; /** @type {?} */ ToastNotification.prototype.uiSystemClock; /** @type {?} */ ToastNotification.prototype.isClose; /** @type {?} */ ToastNotification.prototype.closeStampTime; /** @type {?} */ ToastNotification.prototype._showBody; /** @type {?} */ ToastNotification.prototype._showActionBar; /** @type {?} */ ToastNotification.prototype._currentRowHeight; /** @type {?} */ ToastNotification.prototype._defaultRowHeight; /** @type {?} */ ToastNotification.prototype.showBodyTimeStamp; /** @type {?} */ ToastNotification.prototype.HOVER_SHOW_ACTION_BAR_INTERVAL; /** @type {?} */ ToastNotification.prototype.MOUSE_LEAVE_HIDE_BAR_INTERVAL; } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVG9hc3ROb3RpZmljYXRpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vY29tLnBobG94dWkvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50L1RvYXN0Tm90aWZpY2F0aW9uLmNvbXBvbmVudC50cyJdLCJuYW1lcy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