'use strict';

var i18next = require('i18next');
var constants = require('@bigbinary/neeto-commons-frontend/constants');

var DEFAULT_PAGE_SIZE = 30;
var ADMIN_ROLE_NAME = "Admin";
var OWNER_ROLE_NAME = "Owner";
var ADMIN_ROLES = [ADMIN_ROLE_NAME, OWNER_ROLE_NAME];
var MANAGE_MEMBERS_PERMISSION = "members.manage_members";
var MANAGE_ROLES_PERMISSION = "admin_panel.manage_roles";
var VIEW_MEMBERS_PERMISSION = "members.view_members";
var VIEW_ROLES_PERMISSION = "admin_panel.view_roles";
var QUERY_KEYS = {
  PERMISSIONS: "neeto-team-members-permissions",
  ROLES: "neeto-team-members-roles",
  GLOBAL_ROLES: "neeto-team-members-global-roles",
  TEAMS: "neeto-team-members-teams",
  TEAM_MEMBER_DETAIL: "neeto-team-members-member-detail",
  TEAMS_DEPENDENCIES: "neeto-team-members-teams-dependencies",
  COUNTRIES_LIST: "countries-list",
  USER_PROFILE: "user-profile",
  CREATION_STATUS: "creation-status",
  GROUPS: "groups",
  INVITATION_LINK: "invitation-link"
};
var BASE_URL = "neeto_team_members";
var DATE_FORMAT_OPTIONS = [{
  label: i18next.t("neetoTeamMembers.profile.common.mmddyy"),
  value: "%m/%d/%Y"
}, {
  label: i18next.t("neetoTeamMembers.profile.common.ddmmyy"),
  value: "%d/%m/%Y"
}, {
  label: i18next.t("neetoTeamMembers.profile.common.yymmdd"),
  value: "%Y/%m/%d"
}];
var TIME_FORMAT_OPTIONS = [{
  label: "12 hour",
  value: "12h"
}, {
  label: "24 hour",
  value: "24h"
}];
var DEFAULT_PAGE_PROPERTIES = {
  size: DEFAULT_PAGE_SIZE,
  index: constants.DEFAULT_PAGE_INDEX
};

exports.ADMIN_ROLES = ADMIN_ROLES;
exports.ADMIN_ROLE_NAME = ADMIN_ROLE_NAME;
exports.BASE_URL = BASE_URL;
exports.DATE_FORMAT_OPTIONS = DATE_FORMAT_OPTIONS;
exports.DEFAULT_PAGE_PROPERTIES = DEFAULT_PAGE_PROPERTIES;
exports.MANAGE_MEMBERS_PERMISSION = MANAGE_MEMBERS_PERMISSION;
exports.MANAGE_ROLES_PERMISSION = MANAGE_ROLES_PERMISSION;
exports.QUERY_KEYS = QUERY_KEYS;
exports.TIME_FORMAT_OPTIONS = TIME_FORMAT_OPTIONS;
exports.VIEW_MEMBERS_PERMISSION = VIEW_MEMBERS_PERMISSION;
exports.VIEW_ROLES_PERMISSION = VIEW_ROLES_PERMISSION;
//# sourceMappingURL=constants-D_H6M1Pm.js.map
