UNPKG

com.phloxui

Version:

PhloxUI Ng2+ Framework

154 lines (153 loc) 15.5 kB
/** * @fileoverview added by tsickle * @suppress {checkTypes} checked by tsc */ /** * <p style="text-indent: 2em;"> * A <code>ng</code> service interface having main responsibilities on <code>application</code> notification <code>UI</code> logics. * Please note that this class does NOT directly involve with server-side push notification logics. It's only a client-side * API providing the way to interact with notification <code>UI</code> components. A [[Notification]] can be <code>pinned</code> * on the screen --you can do this via [[pinNotification]] method. This will make it not to be removed from the screen when * display timeout is reached unless the user clicks on the close button. All <code>unread</code> notifications --those which * automatically removed when display timeout is reached-- will be displayed as a badge notification showing the number of * <code>unread</code> items. You can also retrieve the list of <code>unread</code> items by using [[getUnreadNotifications]] * method. * </p> * * @author shiorin, tee4cute * @see [[Notification]] * @record */ export function INotificationManager() { } function INotificationManager_tsickle_Closure_declarations() { /** * <p style="text-indent: 1em;"> * Notify user by displaying the given <code><b>notification</b></code> message on the screen. * </p> * @type {?} */ INotificationManager.prototype.notify; /** * <p style="text-indent: 1em;"> * Remove the given <code><b>notification</b></code> from the <code>UI</code>. This also remove the notification message * from <code>unread</code> and <code>pinned</code> items list. * </p> * @type {?} */ INotificationManager.prototype.clear; /** * <p style="text-indent: 1em;"> * Remove all notifications which matches the given <code><b>notificationType</b></code> and <code><b>name</b></code>. This * method also remove the notifications from <code>unread</code> and <code>pinned</code> items list. * </p> * * \@param notificationType A notification's type ([[Notification.type]]) to be cleared. Passing <code>null</code> means not to * apply the filter on this field. * \@param name A notification's name ([[Notification.name]]) to be cleared. Passing <code>null</code> means not to * apply the filter on this field. * @type {?} */ INotificationManager.prototype.clearBy; /** * <p style="text-indent: 1em;"> * Clear all notifications from the <code>UI</code>. This also remove all notification messages from <code>unread</code> and * <code>pinned</code> items list. * </p> * @type {?} */ INotificationManager.prototype.clearAll; /** * <p style="text-indent: 1em;"> * Get all notifications in the <code>UI</code>. * </p> * @type {?} */ INotificationManager.prototype.getNotifications; /** * <p style="text-indent: 1em;"> * Get all notifications in the <code>UI</code> by the given <code><b>notificationType</b></code> and <code><b>name</b></code>. * </p> * * \@param notificationType A notification's type ([[Notification.type]]) to filter. Passing <code>null</code> means not to apply the filter * on this field. * \@param name A notification's name ([[Notification.name]]) to filter. Passing <code>null</code> means not to apply the filter on this field. * @type {?} */ INotificationManager.prototype.getNotificationsBy; /** * <p style="text-indent: 1em;"> * Get all notifications being shown in the <code>UI</code>. * </p> * @type {?} */ INotificationManager.prototype.getShowingNotifications; /** * <p style="text-indent: 1em;"> * Get all notifications being shown in the <code>UI</code> by the given <code><b>notificationType</b></code> and <code><b>name</b></code>. * </p> * * \@param notificationType A notification's type ([[Notification.type]]) to filter. Passing <code>null</code> means not to apply the filter * on this field. * \@param name A notification's name ([[Notification.name]]) to filter. Passing <code>null</code> means not to apply the filter on this field. * @type {?} */ INotificationManager.prototype.getShowingNotificationsBy; /** * <p style="text-indent: 1em;"> * Get all <code>unread</code> notifications in the <code>UI</code>. * </p> * @type {?} */ INotificationManager.prototype.getUnreadNotifications; /** * <p style="text-indent: 1em;"> * Get all <code>unread</code> notifications in the <code>UI</code> by the given <code><b>notificationType</b></code> and <code><b>name</b></code>. * </p> * * \@param notificationType A notification's type ([[Notification.type]]) to filter. Passing <code>null</code> means not to apply the filter * on this field. * \@param name A notification's name ([[Notification.name]]) to filter. Passing <code>null</code> means not to apply the filter on this field. * @type {?} */ INotificationManager.prototype.getUnreadNotificationsBy; /** * <p style="text-indent: 1em;"> * Mark the given <code>notification</code> as <code>read</code>. * </p> * @type {?} */ INotificationManager.prototype.markAsRead; /** * <p style="text-indent: 1em;"> * Mark <code>notification</code>s as <code>read</code> by the given <code><b>notificationType</b></code> and <code><b>name</b></code>. * </p> * * \@param notificationType A notification's type ([[Notification.type]]) to filter. Passing <code>null</code> means not to apply the filter * on this field. * \@param name A notification's name ([[Notification.name]]) to filter. Passing <code>null</code> means not to apply the filter on this field. * @type {?} */ INotificationManager.prototype.markAsReadBy; /** * <p style="text-indent: 1em;"> * Mark all <code>notification</code>s as <code>read</code>. * </p> * @type {?} */ INotificationManager.prototype.markAsReadAll; /** * <p style="text-indent: 1em;"> * Pin the given <code>notification</code> on the screen. * </p> * @type {?} */ INotificationManager.prototype.pinNotification; /** * <p style="text-indent: 1em;"> * Unpin the given <code>notification</code> off the screen. * </p> * @type {?} */ INotificationManager.prototype.unpinNotification; } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSU5vdGlmaWNhdGlvbk1hbmFnZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9jb20ucGhsb3h1aS8iLCJzb3VyY2VzIjpbImxpYi9zaGFyZS9JTm90aWZpY2F0aW9uTWFuYWdlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTm90aWZpY2F0aW9uIH0gZnJvbSAnLi4vY29tcG9uZW50L21vZGVsL05vdGlmaWNhdGlvbic7XG5cbi8qKlxuICogPHAgc3R5bGU9XCJ0ZXh0LWluZGVudDogMmVtO1wiPlxuICogQSA8Y29kZT5uZzwvY29kZT4gc2VydmljZSBpbnRlcmZhY2UgaGF2aW5nIG1haW4gcmVzcG9uc2liaWxpdGllcyBvbiA8Y29kZT5hcHBsaWNhdGlvbjwvY29kZT4gbm90aWZpY2F0aW9uIDxjb2RlPlVJPC9jb2RlPiBsb2dpY3MuXG4gKiBQbGVhc2Ugbm90ZSB0aGF0IHRoaXMgY2xhc3MgZG9lcyBOT1QgZGlyZWN0bHkgaW52b2x2ZSB3aXRoIHNlcnZlci1zaWRlIHB1c2ggbm90aWZpY2F0aW9uIGxvZ2ljcy4gSXQncyBvbmx5IGEgY2xpZW50LXNpZGVcbiAqIEFQSSBwcm92aWRpbmcgdGhlIHdheSB0byBpbnRlcmFjdCB3aXRoIG5vdGlmaWNhdGlvbiA8Y29kZT5VSTwvY29kZT4gY29tcG9uZW50cy4gQSBbW05vdGlmaWNhdGlvbl1dIGNhbiBiZSA8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