@bigbinary/neeto-team-members-frontend 5.0.46 → 5.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.ready +1 -1
- package/dist/cjs/v2/hooks.js +16 -8
- package/dist/cjs/v2/hooks.js.map +1 -1
- package/dist/v2/hooks.js +18 -6
- package/dist/v2/hooks.js.map +1 -1
- package/package.json +3 -3
package/dist/.ready
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Built at 2026-05-
|
|
1
|
+
Built at 2026-05-22T14:10:40.796Z
|
package/dist/cjs/v2/hooks.js
CHANGED
|
@@ -1,25 +1,33 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var useTeamsApi = require('../../useTeamsApi-Bp2O5h4D.js');
|
|
4
|
-
var
|
|
4
|
+
var lucideReact = require('lucide-react');
|
|
5
|
+
var initializers = require('@bigbinary/neeto-commons-frontend/initializers');
|
|
6
|
+
var constants = require('../../constants-D_H6M1Pm.js');
|
|
5
7
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
6
8
|
require('@babel/runtime/helpers/defineProperty');
|
|
7
9
|
require('@tanstack/react-query');
|
|
8
|
-
require('@bigbinary/neeto-commons-frontend/initializers');
|
|
9
10
|
require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
10
11
|
require('ramda');
|
|
11
12
|
require('axios');
|
|
12
13
|
require('@bigbinary/neeto-cist');
|
|
13
14
|
require('qs');
|
|
14
|
-
require('../../constants-D_H6M1Pm.js');
|
|
15
|
-
require('i18next');
|
|
16
|
-
require('@bigbinary/neeto-commons-frontend/constants');
|
|
17
15
|
require('../../queryClient-4vAFE3bx.js');
|
|
18
|
-
require('@bigbinary/neeto-
|
|
19
|
-
|
|
16
|
+
require('@bigbinary/neeto-commons-frontend/constants');
|
|
17
|
+
require('i18next');
|
|
20
18
|
|
|
19
|
+
var useMembersSidenav = function useMembersSidenav(_ref) {
|
|
20
|
+
var route = _ref.route;
|
|
21
|
+
return {
|
|
22
|
+
icon: lucideReact.CircleUser,
|
|
23
|
+
label: initializers.taxonomies.member.plural,
|
|
24
|
+
to: route,
|
|
25
|
+
"data-testid": "members-nav-tab",
|
|
26
|
+
permissions: constants.VIEW_MEMBERS_PERMISSION
|
|
27
|
+
};
|
|
28
|
+
};
|
|
21
29
|
|
|
22
30
|
exports.useFetchMembers = useTeamsApi.useFetchMembers;
|
|
23
31
|
exports.useFetchMembersCountsPerCategory = useTeamsApi.useFetchMembersCountsPerCategory;
|
|
24
|
-
exports.useMembersSidenav = useMembersSidenav
|
|
32
|
+
exports.useMembersSidenav = useMembersSidenav;
|
|
25
33
|
//# sourceMappingURL=hooks.js.map
|
package/dist/cjs/v2/hooks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hooks.js","sources":["../../../app/javascript/src/v2/hooks/useMembersSidenav.js"],"sourcesContent":["import { CircleUser } from \"lucide-react\";\nimport { taxonomies } from \"neetocommons/initializers\";\n\nimport { VIEW_MEMBERS_PERMISSION } from \"common/constants\";\n\nconst useMembersSidenav = ({ route }) => ({\n icon: CircleUser,\n label: taxonomies.member.plural,\n to: route,\n \"data-testid\": \"members-nav-tab\",\n permissions: VIEW_MEMBERS_PERMISSION,\n});\n\nexport default useMembersSidenav;\n"],"names":["useMembersSidenav","_ref","route","icon","CircleUser","label","taxonomies","member","plural","to","permissions","VIEW_MEMBERS_PERMISSION"],"mappings":";;;;;;;;;;;;;;;;;;AAKA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,KAAK,GAAAD,IAAA,CAALC,KAAK;EAAA,OAAQ;AACxCC,IAAAA,IAAI,EAAEC,sBAAU;AAChBC,IAAAA,KAAK,EAAEC,uBAAU,CAACC,MAAM,CAACC,MAAM;AAC/BC,IAAAA,EAAE,EAAEP,KAAK;AACT,IAAA,aAAa,EAAE,iBAAiB;AAChCQ,IAAAA,WAAW,EAAEC;GACd;AAAA;;;;;;"}
|
package/dist/v2/hooks.js
CHANGED
|
@@ -1,17 +1,29 @@
|
|
|
1
1
|
export { u as useFetchMembers, a as useFetchMembersCountsPerCategory } from '../useTeamsApi-BXvhKbyp.js';
|
|
2
|
-
|
|
2
|
+
import { CircleUser } from 'lucide-react';
|
|
3
|
+
import { taxonomies } from '@bigbinary/neeto-commons-frontend/initializers';
|
|
4
|
+
import { V as VIEW_MEMBERS_PERMISSION } from '../constants-CXdiW8NZ.js';
|
|
3
5
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
4
6
|
import '@babel/runtime/helpers/defineProperty';
|
|
5
7
|
import '@tanstack/react-query';
|
|
6
|
-
import '@bigbinary/neeto-commons-frontend/initializers';
|
|
7
8
|
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
8
9
|
import 'ramda';
|
|
9
10
|
import 'axios';
|
|
10
11
|
import '@bigbinary/neeto-cist';
|
|
11
12
|
import 'qs';
|
|
12
|
-
import '../constants-CXdiW8NZ.js';
|
|
13
|
-
import 'i18next';
|
|
14
|
-
import '@bigbinary/neeto-commons-frontend/constants';
|
|
15
13
|
import '../queryClient-Dsu-gu4Y.js';
|
|
16
|
-
import '@bigbinary/neeto-
|
|
14
|
+
import '@bigbinary/neeto-commons-frontend/constants';
|
|
15
|
+
import 'i18next';
|
|
16
|
+
|
|
17
|
+
var useMembersSidenav = function useMembersSidenav(_ref) {
|
|
18
|
+
var route = _ref.route;
|
|
19
|
+
return {
|
|
20
|
+
icon: CircleUser,
|
|
21
|
+
label: taxonomies.member.plural,
|
|
22
|
+
to: route,
|
|
23
|
+
"data-testid": "members-nav-tab",
|
|
24
|
+
permissions: VIEW_MEMBERS_PERMISSION
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export { useMembersSidenav };
|
|
17
29
|
//# sourceMappingURL=hooks.js.map
|
package/dist/v2/hooks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hooks.js","sources":["../../app/javascript/src/v2/hooks/useMembersSidenav.js"],"sourcesContent":["import { CircleUser } from \"lucide-react\";\nimport { taxonomies } from \"neetocommons/initializers\";\n\nimport { VIEW_MEMBERS_PERMISSION } from \"common/constants\";\n\nconst useMembersSidenav = ({ route }) => ({\n icon: CircleUser,\n label: taxonomies.member.plural,\n to: route,\n \"data-testid\": \"members-nav-tab\",\n permissions: VIEW_MEMBERS_PERMISSION,\n});\n\nexport default useMembersSidenav;\n"],"names":["useMembersSidenav","_ref","route","icon","CircleUser","label","taxonomies","member","plural","to","permissions","VIEW_MEMBERS_PERMISSION"],"mappings":";;;;;;;;;;;;;;;;AAKA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,KAAK,GAAAD,IAAA,CAALC,KAAK;EAAA,OAAQ;AACxCC,IAAAA,IAAI,EAAEC,UAAU;AAChBC,IAAAA,KAAK,EAAEC,UAAU,CAACC,MAAM,CAACC,MAAM;AAC/BC,IAAAA,EAAE,EAAEP,KAAK;AACT,IAAA,aAAa,EAAE,iBAAiB;AAChCQ,IAAAA,WAAW,EAAEC;GACd;AAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-team-members-frontend",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.47",
|
|
4
4
|
"description": "A repo acts as the source of truth for the new nano's structure, configs, data etc.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"homepage": "https://github.com/bigbinary/neeto-team-members-nano",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@bigbinary/neeto-filters-frontend": "4.3.38",
|
|
79
79
|
"@bigbinary/neeto-icons": "1.20.88",
|
|
80
80
|
"@bigbinary/neeto-image-uploader-frontend": "4.0.3",
|
|
81
|
-
"@bigbinary/neeto-molecules": "5.1.
|
|
81
|
+
"@bigbinary/neeto-molecules": "5.1.5",
|
|
82
82
|
"@bigbinary/neeto-time-zones": "0.8.25",
|
|
83
83
|
"@bigbinary/neetoui": "8.8.0",
|
|
84
84
|
"@dnd-kit/core": "6.3.1",
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
"@bigbinary/neeto-filters-frontend": "4.3.38",
|
|
196
196
|
"@bigbinary/neeto-icons": "1.20.88",
|
|
197
197
|
"@bigbinary/neeto-image-uploader-frontend": "4.0.3",
|
|
198
|
-
"@bigbinary/neeto-molecules": "5.1.
|
|
198
|
+
"@bigbinary/neeto-molecules": "5.1.5",
|
|
199
199
|
"@bigbinary/neeto-time-zones": "0.8.25",
|
|
200
200
|
"@bigbinary/neetoui": "8.8.0",
|
|
201
201
|
"@dnd-kit/core": "6.3.1",
|