'use strict';

var useTeamsApi = require('../../useTeamsApi-ClWGPxNW.js');
var lucideReact = require('lucide-react');
var initializers = require('@bigbinary/neeto-commons-frontend/initializers');
var constants = require('../../constants-D_H6M1Pm.js');
require('@babel/runtime/helpers/objectWithoutProperties');
require('@babel/runtime/helpers/defineProperty');
require('@tanstack/react-query');
require('@bigbinary/neeto-commons-frontend/react-utils');
require('ramda');
require('axios');
require('@bigbinary/neeto-cist');
require('qs');
require('../../queryClient-4vAFE3bx.js');
require('@bigbinary/neeto-commons-frontend/constants');
require('i18next');

var useMembersSidenav = function useMembersSidenav(_ref) {
  var route = _ref.route;
  return {
    icon: lucideReact.CircleUser,
    label: initializers.taxonomies.member.plural,
    to: route,
    "data-testid": "members-nav-tab",
    permissions: constants.VIEW_MEMBERS_PERMISSION
  };
};

exports.useFetchMembers = useTeamsApi.useFetchMembers;
exports.useFetchMembersCountsPerCategory = useTeamsApi.useFetchMembersCountsPerCategory;
exports.useMembersSidenav = useMembersSidenav;
//# sourceMappingURL=hooks.js.map
