goog.module('grrUi.user.user');
goog.module.declareLegacyNamespace();

const {ApproverInputDirective} = goog.require('grrUi.user.approverInputDirective');
const {UserDashboardDirective} = goog.require('grrUi.user.userDashboardDirective');
const {UserDesktopNotificationsDirective} = goog.require('grrUi.user.userDesktopNotificationsDirective');
const {UserLabelDirective} = goog.require('grrUi.user.userLabelDirective');
const {UserNotificationButtonDirective} = goog.require('grrUi.user.userNotificationButtonDirective');
const {UserNotificationDialogDirective} = goog.require('grrUi.user.userNotificationDialogDirective');
const {UserNotificationItemDirective} = goog.require('grrUi.user.userNotificationItemDirective');
const {UserSettingsButtonDirective} = goog.require('grrUi.user.userSettingsButtonDirective');
const {coreModule} = goog.require('grrUi.core.core');
const {formsModule} = goog.require('grrUi.forms.forms');


/**
 * Angular module for user-related UI.
 */
exports.userModule =
    angular.module('grrUi.user', [coreModule.name, formsModule.name]);

exports.userModule.directive(
    ApproverInputDirective.directive_name, ApproverInputDirective);
exports.userModule.directive(
    UserDashboardDirective.directive_name, UserDashboardDirective);
exports.userModule.directive(
    UserDesktopNotificationsDirective.directive_name,
    UserDesktopNotificationsDirective);
exports.userModule.directive(
    UserLabelDirective.directive_name, UserLabelDirective);
exports.userModule.directive(
    UserNotificationButtonDirective.directive_name,
    UserNotificationButtonDirective);
exports.userModule.directive(
    UserNotificationDialogDirective.directive_name,
    UserNotificationDialogDirective);
exports.userModule.directive(
    UserNotificationItemDirective.directive_name,
    UserNotificationItemDirective);
exports.userModule.directive(
    UserSettingsButtonDirective.directive_name, UserSettingsButtonDirective);
