@bigbinary/neeto-molecules 4.1.55 → 4.1.56
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/{Columns-cUgR6NTO.js → Columns-BVXRaORo.js} +8 -11
- package/dist/Columns-BVXRaORo.js.map +1 -0
- package/dist/{ConfigureView-C84AmCMq.js → ConfigureView-DAZrBZPv.js} +3 -2
- package/dist/{ConfigureView-C84AmCMq.js.map → ConfigureView-DAZrBZPv.js.map} +1 -1
- package/dist/cjs/{Columns-D3eocaeY.js → Columns-ZySdkGqV.js} +12 -15
- package/dist/cjs/Columns-ZySdkGqV.js.map +1 -0
- package/dist/cjs/{ConfigureView-DGf7cRMQ.js → ConfigureView-CAWRNNYI.js} +12 -11
- package/dist/cjs/{ConfigureView-DGf7cRMQ.js.map → ConfigureView-CAWRNNYI.js.map} +1 -1
- package/dist/cjs/v2/AuditLogs.js +19 -80
- package/dist/cjs/v2/AuditLogs.js.map +1 -1
- package/dist/cjs/v2/Breadcrumbs.js +7 -7
- package/dist/cjs/v2/Breadcrumbs.js.map +1 -1
- package/dist/cjs/v2/Columns.js +2 -1
- package/dist/cjs/v2/Columns.js.map +1 -1
- package/dist/cjs/v2/ConfigurePageSidebar.js +7 -6
- package/dist/cjs/v2/ConfigurePageSidebar.js.map +1 -1
- package/dist/cjs/v2/CopyToClipboardButton.js +11 -17
- package/dist/cjs/v2/CopyToClipboardButton.js.map +1 -1
- package/dist/cjs/v2/FloatingActionMenu.js +48 -66
- package/dist/cjs/v2/FloatingActionMenu.js.map +1 -1
- package/dist/cjs/v2/Header.js +2 -1
- package/dist/cjs/v2/Header.js.map +1 -1
- package/dist/cjs/v2/HelpPopover.js +51 -54
- package/dist/cjs/v2/HelpPopover.js.map +1 -1
- package/dist/cjs/v2/KeyboardShortcuts.js +7 -15
- package/dist/cjs/v2/KeyboardShortcuts.js.map +1 -1
- package/dist/cjs/v2/MoreDropdown.js +59 -78
- package/dist/cjs/v2/MoreDropdown.js.map +1 -1
- package/dist/cjs/v2/Settings.js +1 -0
- package/dist/cjs/v2/Settings.js.map +1 -1
- package/dist/cjs/v2/Sidebar.js +101 -116
- package/dist/cjs/v2/Sidebar.js.map +1 -1
- package/dist/cjs/v2/SubHeader.js +31 -43
- package/dist/cjs/v2/SubHeader.js.map +1 -1
- package/dist/v2/AuditLogs.js +20 -81
- package/dist/v2/AuditLogs.js.map +1 -1
- package/dist/v2/Breadcrumbs.js +1 -1
- package/dist/v2/Breadcrumbs.js.map +1 -1
- package/dist/v2/Columns.js +2 -1
- package/dist/v2/Columns.js.map +1 -1
- package/dist/v2/ConfigurePageSidebar.js +3 -2
- package/dist/v2/ConfigurePageSidebar.js.map +1 -1
- package/dist/v2/CopyToClipboardButton.js +13 -19
- package/dist/v2/CopyToClipboardButton.js.map +1 -1
- package/dist/v2/FloatingActionMenu.js +25 -43
- package/dist/v2/FloatingActionMenu.js.map +1 -1
- package/dist/v2/Header.js +2 -1
- package/dist/v2/Header.js.map +1 -1
- package/dist/v2/HelpPopover.js +53 -56
- package/dist/v2/HelpPopover.js.map +1 -1
- package/dist/v2/KeyboardShortcuts.js +8 -16
- package/dist/v2/KeyboardShortcuts.js.map +1 -1
- package/dist/v2/MoreDropdown.js +61 -80
- package/dist/v2/MoreDropdown.js.map +1 -1
- package/dist/v2/Settings.js +1 -0
- package/dist/v2/Settings.js.map +1 -1
- package/dist/v2/Sidebar.js +87 -102
- package/dist/v2/Sidebar.js.map +1 -1
- package/dist/v2/SubHeader.js +32 -44
- package/dist/v2/SubHeader.js.map +1 -1
- package/package.json +5 -3
- package/dist/Columns-cUgR6NTO.js.map +0 -1
- package/dist/cjs/Columns-D3eocaeY.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var
|
|
4
|
+
var primitives = require('@bigbinary/neeto-atoms/primitives');
|
|
5
5
|
var classnames = require('classnames');
|
|
6
6
|
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
7
7
|
var general = require('@bigbinary/neeto-commons-frontend/utils/general');
|
|
@@ -15,10 +15,10 @@ var Breadcrumbs = reactUtils.withT(function (_ref) {
|
|
|
15
15
|
_ref$hasTrailingSepar = _ref.hasTrailingSeparator,
|
|
16
16
|
hasTrailingSeparator = _ref$hasTrailingSepar === void 0 ? false : _ref$hasTrailingSepar,
|
|
17
17
|
className = _ref.className;
|
|
18
|
-
return /*#__PURE__*/jsxRuntime.jsx(
|
|
18
|
+
return /*#__PURE__*/jsxRuntime.jsx(primitives.Breadcrumb, {
|
|
19
19
|
"aria-label": t("neetoMolecules.breadcrumbs.breadcrumbAriaLabel"),
|
|
20
20
|
className: classnames("mb-4", className),
|
|
21
|
-
children: /*#__PURE__*/jsxRuntime.jsx(
|
|
21
|
+
children: /*#__PURE__*/jsxRuntime.jsx(primitives.BreadcrumbList, {
|
|
22
22
|
children: breadcrumbs.map(function (_ref2, index) {
|
|
23
23
|
var text = _ref2.text,
|
|
24
24
|
_ref2$link = _ref2.link,
|
|
@@ -26,12 +26,12 @@ var Breadcrumbs = reactUtils.withT(function (_ref) {
|
|
|
26
26
|
var isLast = index + 1 === breadcrumbs.length;
|
|
27
27
|
var isCurrentPage = isLast && !hasTrailingSeparator;
|
|
28
28
|
return /*#__PURE__*/jsxRuntime.jsxs(React.Fragment, {
|
|
29
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(
|
|
29
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(primitives.BreadcrumbItem, {
|
|
30
30
|
"data-testid": "header-breadcrumb",
|
|
31
|
-
children: isCurrentPage ? /*#__PURE__*/jsxRuntime.jsx(
|
|
31
|
+
children: isCurrentPage ? /*#__PURE__*/jsxRuntime.jsx(primitives.BreadcrumbPage, {
|
|
32
32
|
"data-testid": "".concat(general.hyphenize(text), "-breadcrumb"),
|
|
33
33
|
children: text
|
|
34
|
-
}) : /*#__PURE__*/jsxRuntime.jsx(
|
|
34
|
+
}) : /*#__PURE__*/jsxRuntime.jsx(primitives.BreadcrumbLink, {
|
|
35
35
|
asChild: true,
|
|
36
36
|
children: /*#__PURE__*/jsxRuntime.jsx(reactRouterDom.Link, {
|
|
37
37
|
"data-testid": "".concat(general.hyphenize(text), "-breadcrumb"),
|
|
@@ -39,7 +39,7 @@ var Breadcrumbs = reactUtils.withT(function (_ref) {
|
|
|
39
39
|
children: text
|
|
40
40
|
})
|
|
41
41
|
})
|
|
42
|
-
}), !isCurrentPage && /*#__PURE__*/jsxRuntime.jsx(
|
|
42
|
+
}), !isCurrentPage && /*#__PURE__*/jsxRuntime.jsx(primitives.BreadcrumbSeparator, {})]
|
|
43
43
|
}, index);
|
|
44
44
|
})
|
|
45
45
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumbs.js","sources":["../../../src/v2/components/Breadcrumbs/index.jsx"],"sourcesContent":["import React from \"react\";\n\nimport {\n Breadcrumb,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n} from \"@bigbinary/neeto-atoms\";\nimport classNames from \"classnames\";\nimport { withT } from \"neetocommons/react-utils\";\nimport { hyphenize } from \"neetocommons/utils/general\";\nimport PropTypes from \"prop-types\";\nimport { Link } from \"react-router-dom\";\n\nconst Breadcrumbs = withT(\n ({ t, breadcrumbs = [], hasTrailingSeparator = false, className }) => (\n <Breadcrumb\n aria-label={t(\"neetoMolecules.breadcrumbs.breadcrumbAriaLabel\")}\n className={classNames(\"mb-4\", className)}\n >\n <BreadcrumbList>\n {breadcrumbs.map(({ text, link = \"#\" }, index) => {\n const isLast = index + 1 === breadcrumbs.length;\n const isCurrentPage = isLast && !hasTrailingSeparator;\n\n return (\n <React.Fragment key={index}>\n <BreadcrumbItem data-testid=\"header-breadcrumb\">\n {isCurrentPage ? (\n <BreadcrumbPage data-testid={`${hyphenize(text)}-breadcrumb`}>\n {text}\n </BreadcrumbPage>\n ) : (\n <BreadcrumbLink asChild>\n <Link\n data-testid={`${hyphenize(text)}-breadcrumb`}\n to={link}\n >\n {text}\n </Link>\n </BreadcrumbLink>\n )}\n </BreadcrumbItem>\n {!isCurrentPage && <BreadcrumbSeparator />}\n </React.Fragment>\n );\n })}\n </BreadcrumbList>\n </Breadcrumb>\n )\n);\n\nBreadcrumbs.propTypes = {\n breadcrumbs: PropTypes.arrayOf(\n PropTypes.shape({\n text: PropTypes.string,\n link: PropTypes.string,\n })\n ),\n};\n\nexport default Breadcrumbs;\n"],"names":["Breadcrumbs","withT","_ref","t","_ref$breadcrumbs","breadcrumbs","_ref$hasTrailingSepar","hasTrailingSeparator","className","_jsx","Breadcrumb","classNames","children","BreadcrumbList","map","_ref2","index","text","_ref2$link","link","isLast","length","isCurrentPage","_jsxs","React","Fragment","BreadcrumbItem","BreadcrumbPage","concat","hyphenize","BreadcrumbLink","asChild","Link","to","BreadcrumbSeparator"],"mappings":";;;;;;;;;;AAgBA,IAAMA,WAAW,GAAGC,gBAAK,CACvB,UAAAC,IAAA,EAAA;AAAA,EAAA,IAAGC,CAAC,GAAAD,IAAA,CAADC,CAAC;IAAAC,gBAAA,GAAAF,IAAA,CAAEG,WAAW;AAAXA,IAAAA,WAAW,GAAAD,gBAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,gBAAA;IAAAE,qBAAA,GAAAJ,IAAA,CAAEK,oBAAoB;AAApBA,IAAAA,oBAAoB,GAAAD,qBAAA,KAAA,MAAA,GAAG,KAAK,GAAAA,qBAAA;IAAEE,SAAS,GAAAN,IAAA,CAATM,SAAS;EAAA,oBAC7DC,cAAA,CAACC,qBAAU,EAAA;IACT,YAAA,EAAYP,CAAC,CAAC,gDAAgD,CAAE;AAChEK,IAAAA,SAAS,EAAEG,UAAU,CAAC,MAAM,EAAEH,SAAS,CAAE;IAAAI,QAAA,eAEzCH,cAAA,CAACI,yBAAc,EAAA;MAAAD,QAAA,EACZP,WAAW,CAACS,GAAG,CAA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nimport {\n Breadcrumb,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n} from \"@bigbinary/neeto-atoms/primitives\";\nimport classNames from \"classnames\";\nimport { withT } from \"neetocommons/react-utils\";\nimport { hyphenize } from \"neetocommons/utils/general\";\nimport PropTypes from \"prop-types\";\nimport { Link } from \"react-router-dom\";\n\nconst Breadcrumbs = withT(\n ({ t, breadcrumbs = [], hasTrailingSeparator = false, className }) => (\n <Breadcrumb\n aria-label={t(\"neetoMolecules.breadcrumbs.breadcrumbAriaLabel\")}\n className={classNames(\"mb-4\", className)}\n >\n <BreadcrumbList>\n {breadcrumbs.map(({ text, link = \"#\" }, index) => {\n const isLast = index + 1 === breadcrumbs.length;\n const isCurrentPage = isLast && !hasTrailingSeparator;\n\n return (\n <React.Fragment key={index}>\n <BreadcrumbItem data-testid=\"header-breadcrumb\">\n {isCurrentPage ? (\n <BreadcrumbPage data-testid={`${hyphenize(text)}-breadcrumb`}>\n {text}\n </BreadcrumbPage>\n ) : (\n <BreadcrumbLink asChild>\n <Link\n data-testid={`${hyphenize(text)}-breadcrumb`}\n to={link}\n >\n {text}\n </Link>\n </BreadcrumbLink>\n )}\n </BreadcrumbItem>\n {!isCurrentPage && <BreadcrumbSeparator />}\n </React.Fragment>\n );\n })}\n </BreadcrumbList>\n </Breadcrumb>\n )\n);\n\nBreadcrumbs.propTypes = {\n breadcrumbs: PropTypes.arrayOf(\n PropTypes.shape({\n text: PropTypes.string,\n link: PropTypes.string,\n })\n ),\n};\n\nexport default Breadcrumbs;\n"],"names":["Breadcrumbs","withT","_ref","t","_ref$breadcrumbs","breadcrumbs","_ref$hasTrailingSepar","hasTrailingSeparator","className","_jsx","Breadcrumb","classNames","children","BreadcrumbList","map","_ref2","index","text","_ref2$link","link","isLast","length","isCurrentPage","_jsxs","React","Fragment","BreadcrumbItem","BreadcrumbPage","concat","hyphenize","BreadcrumbLink","asChild","Link","to","BreadcrumbSeparator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BC,iBAAS,CAACZ,IAAI,CAAC,EAAA,aAAA,CAAc;AAAAL,cAAAA,QAAA,EAC1DK;AAAI,aACS,CAAC,gBAEjBR,cAAA,CAACqB,yBAAc,EAAA;cAACC,OAAO,EAAA,IAAA;cAAAnB,QAAA,eACrBH,cAAA,CAACuB,mBAAI,EAAA;AACH,gBAAA,aAAA,EAAA,EAAA,CAAAJ,MAAA,CAAgBC,iBAAS,CAACZ,IAAI,CAAC,EAAA,aAAA,CAAc;AAC7CgB,gBAAAA,EAAE,EAAEd,IAAK;AAAAP,gBAAAA,QAAA,EAERK;eACG;aACQ;WAEJ,CAAC,EAChB,CAACK,aAAa,iBAAIb,cAAA,CAACyB,8BAAmB,EAAA,EAAE,CAAC;AAAA,SAAA,EAjBvBlB,KAkBL,CAAC;MAErB,CAAC;KACa;AAAC,GACP,CAAC;AAAA,CAEjB;;;;"}
|
package/dist/cjs/v2/Columns.js
CHANGED
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Columns = require('../Columns-
|
|
5
|
+
var Columns = require('../Columns-ZySdkGqV.js');
|
|
6
6
|
require('@babel/runtime/helpers/defineProperty');
|
|
7
7
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
8
8
|
require('@babel/runtime/helpers/toConsumableArray');
|
|
9
9
|
require('@babel/runtime/helpers/slicedToArray');
|
|
10
10
|
require('react');
|
|
11
11
|
require('@bigbinary/neeto-atoms');
|
|
12
|
+
require('@bigbinary/neeto-atoms/primitives');
|
|
12
13
|
require('@dnd-kit/core');
|
|
13
14
|
require('@dnd-kit/sortable');
|
|
14
15
|
require('i18next');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Columns.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Columns.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var
|
|
5
|
+
var primitives = require('@bigbinary/neeto-atoms/primitives');
|
|
6
6
|
var reactRouterDom = require('react-router-dom');
|
|
7
|
-
var ConfigureView = require('../ConfigureView-
|
|
7
|
+
var ConfigureView = require('../ConfigureView-CAWRNNYI.js');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
9
9
|
require('@babel/runtime/helpers/defineProperty');
|
|
10
10
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
@@ -13,6 +13,7 @@ require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
|
13
13
|
require('@bigbinary/neeto-commons-frontend/utils/general');
|
|
14
14
|
require('ramda');
|
|
15
15
|
require('@bigbinary/neeto-commons-frontend/react-utils/useRegisterNavigationCheckpoint');
|
|
16
|
+
require('@bigbinary/neeto-atoms');
|
|
16
17
|
require('classnames');
|
|
17
18
|
require('@bigbinary/neeto-filters-frontend/Segments');
|
|
18
19
|
require('../createLucideIcon-DBDhE7kE.js');
|
|
@@ -29,16 +30,16 @@ var ConfigurePageSidebar = function ConfigurePageSidebar(_ref) {
|
|
|
29
30
|
var handleConfigureLinkClick = function handleConfigureLinkClick() {
|
|
30
31
|
history.push(configurePageRoute);
|
|
31
32
|
};
|
|
32
|
-
return /*#__PURE__*/jsxRuntime.jsxs(
|
|
33
|
+
return /*#__PURE__*/jsxRuntime.jsxs(primitives.SidebarProvider, {
|
|
33
34
|
className: "!w-auto",
|
|
34
35
|
open: !isSidebarCollapsed,
|
|
35
36
|
onOpenChange: function onOpenChange(open) {
|
|
36
37
|
return setIsSidebarCollapsed(!open);
|
|
37
38
|
},
|
|
38
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(
|
|
39
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(primitives.Sidebar, {
|
|
39
40
|
collapsible: "offcanvas",
|
|
40
41
|
side: document.documentElement.dir === "rtl" ? "right" : "left",
|
|
41
|
-
children: /*#__PURE__*/jsxRuntime.jsx(
|
|
42
|
+
children: /*#__PURE__*/jsxRuntime.jsx(primitives.SidebarContent, {
|
|
42
43
|
children: /*#__PURE__*/jsxRuntime.jsx(ConfigureView.ConfigureView, {
|
|
43
44
|
isConfigureSidebar: true,
|
|
44
45
|
handleGoBack: handleConfigureLinkClick,
|
|
@@ -48,7 +49,7 @@ var ConfigurePageSidebar = function ConfigurePageSidebar(_ref) {
|
|
|
48
49
|
}
|
|
49
50
|
})
|
|
50
51
|
})
|
|
51
|
-
}), /*#__PURE__*/jsxRuntime.jsx(
|
|
52
|
+
}), /*#__PURE__*/jsxRuntime.jsx(primitives.SidebarTrigger, {})]
|
|
52
53
|
});
|
|
53
54
|
};
|
|
54
55
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigurePageSidebar.js","sources":["../../../src/v2/components/ConfigurePageSidebar.jsx"],"sourcesContent":["import { useState } from \"react\";\n\nimport {\n Sidebar,\n SidebarContent,\n SidebarProvider,\n SidebarTrigger,\n} from \"@bigbinary/neeto-atoms\";\nimport PropTypes from \"prop-types\";\nimport { useHistory } from \"react-router-dom\";\n\nimport ConfigureView from \"./Sidebar/Components/ConfigureView\";\n\nconst ConfigurePageSidebar = ({\n label,\n navLinks: items,\n configurePageRoute,\n}) => {\n const history = useHistory();\n const [isSidebarCollapsed, setIsSidebarCollapsed] = useState(false);\n\n const handleConfigureLinkClick = () => {\n history.push(configurePageRoute);\n };\n\n return (\n <SidebarProvider\n className=\"!w-auto\"\n open={!isSidebarCollapsed}\n onOpenChange={open => setIsSidebarCollapsed(!open)}\n >\n <Sidebar\n collapsible=\"offcanvas\"\n side={document.documentElement.dir === \"rtl\" ? \"right\" : \"left\"}\n >\n <SidebarContent>\n <ConfigureView\n isConfigureSidebar\n handleGoBack={handleConfigureLinkClick}\n navLink={{ label, items }}\n />\n </SidebarContent>\n </Sidebar>\n <SidebarTrigger />\n </SidebarProvider>\n );\n};\n\nConfigurePageSidebar.propTypes = {\n configurePageRoute: PropTypes.string,\n label: PropTypes.string,\n navLinks: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n to: PropTypes.string,\n items: PropTypes.arrayOf(\n PropTypes.shape({ label: PropTypes.string, to: PropTypes.string })\n ),\n })\n ),\n};\n\nexport default ConfigurePageSidebar;\n"],"names":["ConfigurePageSidebar","_ref","label","items","navLinks","configurePageRoute","history","useHistory","_useState","useState","_useState2","_slicedToArray","isSidebarCollapsed","setIsSidebarCollapsed","handleConfigureLinkClick","push","_jsxs","SidebarProvider","className","open","onOpenChange","children","_jsx","Sidebar","collapsible","side","document","documentElement","dir","SidebarContent","ConfigureView","isConfigureSidebar","handleGoBack","navLink","SidebarTrigger"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConfigurePageSidebar.js","sources":["../../../src/v2/components/ConfigurePageSidebar.jsx"],"sourcesContent":["import { useState } from \"react\";\n\nimport {\n Sidebar,\n SidebarContent,\n SidebarProvider,\n SidebarTrigger,\n} from \"@bigbinary/neeto-atoms/primitives\";\nimport PropTypes from \"prop-types\";\nimport { useHistory } from \"react-router-dom\";\n\nimport ConfigureView from \"./Sidebar/Components/ConfigureView\";\n\nconst ConfigurePageSidebar = ({\n label,\n navLinks: items,\n configurePageRoute,\n}) => {\n const history = useHistory();\n const [isSidebarCollapsed, setIsSidebarCollapsed] = useState(false);\n\n const handleConfigureLinkClick = () => {\n history.push(configurePageRoute);\n };\n\n return (\n <SidebarProvider\n className=\"!w-auto\"\n open={!isSidebarCollapsed}\n onOpenChange={open => setIsSidebarCollapsed(!open)}\n >\n <Sidebar\n collapsible=\"offcanvas\"\n side={document.documentElement.dir === \"rtl\" ? \"right\" : \"left\"}\n >\n <SidebarContent>\n <ConfigureView\n isConfigureSidebar\n handleGoBack={handleConfigureLinkClick}\n navLink={{ label, items }}\n />\n </SidebarContent>\n </Sidebar>\n <SidebarTrigger />\n </SidebarProvider>\n );\n};\n\nConfigurePageSidebar.propTypes = {\n configurePageRoute: PropTypes.string,\n label: PropTypes.string,\n navLinks: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n to: PropTypes.string,\n items: PropTypes.arrayOf(\n PropTypes.shape({ label: PropTypes.string, to: PropTypes.string })\n ),\n })\n ),\n};\n\nexport default ConfigurePageSidebar;\n"],"names":["ConfigurePageSidebar","_ref","label","items","navLinks","configurePageRoute","history","useHistory","_useState","useState","_useState2","_slicedToArray","isSidebarCollapsed","setIsSidebarCollapsed","handleConfigureLinkClick","push","_jsxs","SidebarProvider","className","open","onOpenChange","children","_jsx","Sidebar","collapsible","side","document","documentElement","dir","SidebarContent","ConfigureView","isConfigureSidebar","handleGoBack","navLink","SidebarTrigger"],"mappings":";;;;;;;;;;;;;;;;;;;;AAaA,IAAMA,oBAAoB,GAAG,SAAvBA,oBAAoBA,CAAAC,IAAA,EAIpB;AAAA,EAAA,IAHJC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACKC,KAAK,GAAAF,IAAA,CAAfG,QAAQ;IACRC,kBAAkB,GAAAJ,IAAA,CAAlBI,kBAAkB;AAElB,EAAA,IAAMC,OAAO,GAAGC,yBAAU,EAAE;AAC5B,EAAA,IAAAC,SAAA,GAAoDC,cAAQ,CAAC,KAAK,CAAC;IAAAC,UAAA,GAAAC,cAAA,CAAAH,SAAA,EAAA,CAAA,CAAA;AAA5DI,IAAAA,kBAAkB,GAAAF,UAAA,CAAA,CAAA,CAAA;AAAEG,IAAAA,qBAAqB,GAAAH,UAAA,CAAA,CAAA,CAAA;AAEhD,EAAA,IAAMI,wBAAwB,GAAG,SAA3BA,wBAAwBA,GAAS;AACrCR,IAAAA,OAAO,CAACS,IAAI,CAACV,kBAAkB,CAAC;EAClC,CAAC;EAED,oBACEW,eAAA,CAACC,0BAAe,EAAA;AACdC,IAAAA,SAAS,EAAC,SAAS;IACnBC,IAAI,EAAE,CAACP,kBAAmB;AAC1BQ,IAAAA,YAAY,EAAE,SAAdA,YAAYA,CAAED,IAAI,EAAA;AAAA,MAAA,OAAIN,qBAAqB,CAAC,CAACM,IAAI,CAAC;IAAA,CAAC;IAAAE,QAAA,EAAA,cAEnDC,cAAA,CAACC,kBAAO,EAAA;AACNC,MAAAA,WAAW,EAAC,WAAW;MACvBC,IAAI,EAAEC,QAAQ,CAACC,eAAe,CAACC,GAAG,KAAK,KAAK,GAAG,OAAO,GAAG,MAAO;MAAAP,QAAA,eAEhEC,cAAA,CAACO,yBAAc,EAAA;QAAAR,QAAA,eACbC,cAAA,CAACQ,2BAAa,EAAA;UACZC,kBAAkB,EAAA,IAAA;AAClBC,UAAAA,YAAY,EAAElB,wBAAyB;AACvCmB,UAAAA,OAAO,EAAE;AAAE/B,YAAAA,KAAK,EAALA,KAAK;AAAEC,YAAAA,KAAK,EAALA;AAAM;SACzB;OACa;AAAC,KACV,CAAC,eACVmB,cAAA,CAACY,yBAAc,IAAE,CAAC;AAAA,GACH,CAAC;AAEtB;;;;"}
|
|
@@ -92,30 +92,24 @@ var CopyToClipboardButton = function CopyToClipboardButton(_ref) {
|
|
|
92
92
|
var currentTooltipContent = isChecked ? successTooltipContent || t("neetoMolecules.common.copied") : tooltipContent || t("neetoMolecules.common.copy");
|
|
93
93
|
var buttonLabel = isChecked && label ? successLabel || t("neetoMolecules.common.copied") : label;
|
|
94
94
|
var ButtonIcon = isChecked ? Check : Icon;
|
|
95
|
-
var button = /*#__PURE__*/jsxRuntime.
|
|
95
|
+
var button = /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, _objectSpread({
|
|
96
96
|
ref: ref,
|
|
97
97
|
"data-testid": "copy-to-clipboard-button",
|
|
98
|
+
icon: ButtonIcon,
|
|
99
|
+
iconPosition: "left",
|
|
100
|
+
label: buttonLabel || undefined,
|
|
98
101
|
size: resolvedSize,
|
|
99
102
|
variant: isChecked ? "default" : variant,
|
|
100
103
|
className: classnames("neeto-molecules-copy-button", isChecked && "neeto-molecules-copy-button--active", className),
|
|
101
104
|
onClick: onHandleClick
|
|
102
|
-
}, otherProps)
|
|
103
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(ButtonIcon, {
|
|
104
|
-
size: 16
|
|
105
|
-
}), buttonLabel]
|
|
106
|
-
}));
|
|
105
|
+
}, otherProps));
|
|
107
106
|
if (label) return button;
|
|
108
|
-
return /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
side: "top",
|
|
115
|
-
children: currentTooltipContent
|
|
116
|
-
})]
|
|
117
|
-
}))
|
|
118
|
-
});
|
|
107
|
+
return /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Tooltip, _objectSpread(_objectSpread({
|
|
108
|
+
content: currentTooltipContent,
|
|
109
|
+
position: "top"
|
|
110
|
+
}, tooltipProps), {}, {
|
|
111
|
+
children: button
|
|
112
|
+
}));
|
|
119
113
|
};
|
|
120
114
|
|
|
121
115
|
module.exports = CopyToClipboardButton;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyToClipboardButton.js","sources":["../../../node_modules/lucide-react/dist/esm/icons/check.js","../../../node_modules/lucide-react/dist/esm/icons/copy.js","../../../src/v2/components/CopyToClipboardButton/constants.js","../../../src/v2/components/CopyToClipboardButton/index.jsx"],"sourcesContent":["/**\n * @license lucide-react v1.7.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"M20 6 9 17l-5-5\", key: \"1gmf2c\" }]];\nconst Check = createLucideIcon(\"check\", __iconNode);\n\nexport { __iconNode, Check as default };\n//# sourceMappingURL=check.js.map\n","/**\n * @license lucide-react v1.7.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"rect\", { width: \"14\", height: \"14\", x: \"8\", y: \"8\", rx: \"2\", ry: \"2\", key: \"17jyea\" }],\n [\"path\", { d: \"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\", key: \"zix9uf\" }]\n];\nconst Copy = createLucideIcon(\"copy\", __iconNode);\n\nexport { __iconNode, Copy as default };\n//# sourceMappingURL=copy.js.map\n","const TIME_OUT = 2000;\n\nexport { TIME_OUT };\n","import { useState, useEffect, useLayoutEffect, useRef } from \"react\";\n\nimport {
|
|
1
|
+
{"version":3,"file":"CopyToClipboardButton.js","sources":["../../../node_modules/lucide-react/dist/esm/icons/check.js","../../../node_modules/lucide-react/dist/esm/icons/copy.js","../../../src/v2/components/CopyToClipboardButton/constants.js","../../../src/v2/components/CopyToClipboardButton/index.jsx"],"sourcesContent":["/**\n * @license lucide-react v1.7.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"M20 6 9 17l-5-5\", key: \"1gmf2c\" }]];\nconst Check = createLucideIcon(\"check\", __iconNode);\n\nexport { __iconNode, Check as default };\n//# sourceMappingURL=check.js.map\n","/**\n * @license lucide-react v1.7.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"rect\", { width: \"14\", height: \"14\", x: \"8\", y: \"8\", rx: \"2\", ry: \"2\", key: \"17jyea\" }],\n [\"path\", { d: \"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\", key: \"zix9uf\" }]\n];\nconst Copy = createLucideIcon(\"copy\", __iconNode);\n\nexport { __iconNode, Copy as default };\n//# sourceMappingURL=copy.js.map\n","const TIME_OUT = 2000;\n\nexport { TIME_OUT };\n","import { useState, useEffect, useLayoutEffect, useRef } from \"react\";\n\nimport { Button, Tooltip } from \"@bigbinary/neeto-atoms\";\nimport classnames from \"classnames\";\nimport { Copy, Check } from \"lucide-react\";\nimport { copyToClipboard } from \"neetocommons/utils/general\";\nimport PropTypes from \"prop-types\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { TIME_OUT } from \"./constants\";\n\nconst CopyToClipboardButton = ({\n className,\n icon: Icon = Copy,\n label = \"\",\n successLabel,\n tooltipContent,\n successTooltipContent,\n value,\n variant = \"outline\",\n size,\n tooltipProps,\n onClick,\n ...otherProps\n}) => {\n const { t } = useTranslation();\n\n const [isChecked, setIsChecked] = useState(false);\n\n const ref = useRef();\n const timerRef = useRef();\n\n const resolvedSize = size || (label ? \"default\" : \"icon\");\n\n const onHandleClick = event => {\n event.preventDefault();\n event.stopPropagation();\n\n if (onClick) onClick(event);\n else copyToClipboard(value, { showToastr: false });\n\n clearTimeout(timerRef.current);\n setIsChecked(true);\n timerRef.current = setTimeout(() => {\n setIsChecked(false);\n }, TIME_OUT);\n };\n\n useEffect(() => () => clearTimeout(timerRef.current), []);\n\n useLayoutEffect(() => {\n if (!ref.current) return;\n ref.current.style.minWidth = \"\";\n const buttonWidth = ref.current.clientWidth;\n ref.current.style.minWidth = `${buttonWidth}px`;\n }, [resolvedSize, label]);\n\n const currentTooltipContent = isChecked\n ? successTooltipContent || t(\"neetoMolecules.common.copied\")\n : tooltipContent || t(\"neetoMolecules.common.copy\");\n\n const buttonLabel =\n isChecked && label\n ? successLabel || t(\"neetoMolecules.common.copied\")\n : label;\n const ButtonIcon = isChecked ? Check : Icon;\n\n const button = (\n <Button\n {...{ ref }}\n data-testid=\"copy-to-clipboard-button\"\n icon={ButtonIcon}\n iconPosition=\"left\"\n label={buttonLabel || undefined}\n size={resolvedSize}\n variant={isChecked ? \"default\" : variant}\n className={classnames(\n \"neeto-molecules-copy-button\",\n isChecked && \"neeto-molecules-copy-button--active\",\n className\n )}\n onClick={onHandleClick}\n {...otherProps}\n />\n );\n\n if (label) return button;\n\n return (\n <Tooltip content={currentTooltipContent} position=\"top\" {...tooltipProps}>\n {button}\n </Tooltip>\n );\n};\n\nCopyToClipboardButton.propTypes = {\n className: PropTypes.string,\n icon: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.func,\n PropTypes.object,\n ]),\n label: PropTypes.string,\n successLabel: PropTypes.string,\n value: PropTypes.string,\n variant: PropTypes.string,\n size: PropTypes.string,\n tooltipContent: PropTypes.string,\n successTooltipContent: PropTypes.string,\n};\n\nexport default CopyToClipboardButton;\n"],"names":["__iconNode","createLucideIcon","TIME_OUT","CopyToClipboardButton","_ref","className","_ref$icon","icon","Icon","Copy","_ref$label","label","successLabel","tooltipContent","successTooltipContent","value","_ref$variant","variant","size","tooltipProps","onClick","otherProps","_objectWithoutProperties","_excluded","_useTranslation","useTranslation","t","_useState","useState","_useState2","_slicedToArray","isChecked","setIsChecked","ref","useRef","timerRef","resolvedSize","onHandleClick","event","preventDefault","stopPropagation","copyToClipboard","showToastr","clearTimeout","current","setTimeout","useEffect","useLayoutEffect","style","minWidth","buttonWidth","clientWidth","concat","currentTooltipContent","buttonLabel","ButtonIcon","Check","button","_jsx","Button","_objectSpread","iconPosition","undefined","classnames","Tooltip","content","position","children"],"mappings":";;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;;;AAIA,MAAMA,YAAU,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,iBAAiB,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AACtE,MAAM,KAAK,GAAGC,iCAAgB,CAAC,OAAO,EAAED,YAAU,CAAC;;ACVnD;AACA;AACA;AACA;AACA;AACA;;;AAIA,MAAM,UAAU,GAAG;AACnB,EAAE,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,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,GAAA,CACA,CAAC;AAEd;;;;","x_google_ignoreList":[0,1]}
|
|
@@ -7,6 +7,7 @@ var initializers = require('@bigbinary/neeto-commons-frontend/initializers');
|
|
|
7
7
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
8
8
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
9
9
|
var neetoAtoms = require('@bigbinary/neeto-atoms');
|
|
10
|
+
var primitives = require('@bigbinary/neeto-atoms/primitives');
|
|
10
11
|
var neetoCist = require('@bigbinary/neeto-cist');
|
|
11
12
|
var useHotkeys = require('@bigbinary/neeto-hotkeys');
|
|
12
13
|
var Profile = require('@bigbinary/neeto-team-members-frontend/Profile');
|
|
@@ -511,23 +512,19 @@ var Menu = function Menu(_ref) {
|
|
|
511
512
|
var Modal = function Modal(_ref) {
|
|
512
513
|
var isOpen = _ref.isOpen,
|
|
513
514
|
onClose = _ref.onClose;
|
|
514
|
-
return /*#__PURE__*/jsxRuntime.
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
className: "
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
"data-testid": "product-switcher-modal",
|
|
528
|
-
children: /*#__PURE__*/jsxRuntime.jsx(Menu, {})
|
|
529
|
-
})]
|
|
530
|
-
})
|
|
515
|
+
return /*#__PURE__*/jsxRuntime.jsxs(neetoAtoms.Dialog, {
|
|
516
|
+
isOpen: isOpen,
|
|
517
|
+
onClose: onClose,
|
|
518
|
+
"aria-describedby": undefined,
|
|
519
|
+
className: "sm:max-w-4xl",
|
|
520
|
+
closeButton: false,
|
|
521
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Dialog.Title, {
|
|
522
|
+
className: "sr-only",
|
|
523
|
+
children: "Product Switcher"
|
|
524
|
+
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
525
|
+
"data-testid": "product-switcher-modal",
|
|
526
|
+
children: /*#__PURE__*/jsxRuntime.jsx(Menu, {})
|
|
527
|
+
})]
|
|
531
528
|
});
|
|
532
529
|
};
|
|
533
530
|
|
|
@@ -575,10 +572,10 @@ var HelpMenu = function HelpMenu() {
|
|
|
575
572
|
return setOpen(false);
|
|
576
573
|
}, 150);
|
|
577
574
|
}, []);
|
|
578
|
-
return /*#__PURE__*/jsxRuntime.jsxs(
|
|
575
|
+
return /*#__PURE__*/jsxRuntime.jsxs(primitives.Popover, {
|
|
579
576
|
open: open,
|
|
580
577
|
onOpenChange: setOpen,
|
|
581
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(
|
|
578
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(primitives.PopoverAnchor, {
|
|
582
579
|
asChild: true,
|
|
583
580
|
children: /*#__PURE__*/jsxRuntime.jsx(MenuButton$4, {
|
|
584
581
|
onClick: function onClick() {
|
|
@@ -589,7 +586,7 @@ var HelpMenu = function HelpMenu() {
|
|
|
589
586
|
onMouseEnter: handleMouseEnter,
|
|
590
587
|
onMouseLeave: handleMouseLeave
|
|
591
588
|
})
|
|
592
|
-
}), /*#__PURE__*/jsxRuntime.jsxs(
|
|
589
|
+
}), /*#__PURE__*/jsxRuntime.jsxs(primitives.PopoverContent, {
|
|
593
590
|
align: "center",
|
|
594
591
|
className: "z-[99999] w-56 gap-0.5 p-1",
|
|
595
592
|
side: "right",
|
|
@@ -755,10 +752,10 @@ var OrganizationSwitcher = function OrganizationSwitcher() {
|
|
|
755
752
|
return false;
|
|
756
753
|
}
|
|
757
754
|
};
|
|
758
|
-
return /*#__PURE__*/jsxRuntime.jsxs(
|
|
755
|
+
return /*#__PURE__*/jsxRuntime.jsxs(primitives.Popover, {
|
|
759
756
|
open: open,
|
|
760
757
|
onOpenChange: setOpen,
|
|
761
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(
|
|
758
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(primitives.PopoverAnchor, {
|
|
762
759
|
asChild: true,
|
|
763
760
|
children: /*#__PURE__*/jsxRuntime.jsx(MenuButton$3, {
|
|
764
761
|
onClick: function onClick() {
|
|
@@ -769,7 +766,7 @@ var OrganizationSwitcher = function OrganizationSwitcher() {
|
|
|
769
766
|
onMouseEnter: handleMouseEnter,
|
|
770
767
|
onMouseLeave: handleMouseLeave
|
|
771
768
|
})
|
|
772
|
-
}), /*#__PURE__*/jsxRuntime.jsxs(
|
|
769
|
+
}), /*#__PURE__*/jsxRuntime.jsxs(primitives.PopoverContent, {
|
|
773
770
|
align: "center",
|
|
774
771
|
className: "z-[99999] w-56 gap-0.5 p-1",
|
|
775
772
|
side: "right",
|
|
@@ -840,10 +837,10 @@ var Dropdown = function Dropdown() {
|
|
|
840
837
|
return setOpen(false);
|
|
841
838
|
}, 150);
|
|
842
839
|
}, []);
|
|
843
|
-
return /*#__PURE__*/jsxRuntime.jsxs(
|
|
840
|
+
return /*#__PURE__*/jsxRuntime.jsxs(primitives.Popover, {
|
|
844
841
|
open: open,
|
|
845
842
|
onOpenChange: setOpen,
|
|
846
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(
|
|
843
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(primitives.PopoverAnchor, {
|
|
847
844
|
asChild: true,
|
|
848
845
|
children: /*#__PURE__*/jsxRuntime.jsx(MenuButton$2, {
|
|
849
846
|
onClick: function onClick() {
|
|
@@ -854,7 +851,7 @@ var Dropdown = function Dropdown() {
|
|
|
854
851
|
onMouseEnter: handleMouseEnter,
|
|
855
852
|
onMouseLeave: handleMouseLeave
|
|
856
853
|
})
|
|
857
|
-
}), /*#__PURE__*/jsxRuntime.jsx(
|
|
854
|
+
}), /*#__PURE__*/jsxRuntime.jsx(primitives.PopoverContent, {
|
|
858
855
|
align: "start",
|
|
859
856
|
className: "z-[99999] w-[calc(100vw-25rem)] max-w-none overflow-y-auto rounded-xl p-0",
|
|
860
857
|
collisionPadding: 16,
|
|
@@ -884,11 +881,6 @@ var ProductSwitcher = function ProductSwitcher(_ref) {
|
|
|
884
881
|
|
|
885
882
|
var MENU_ITEM_CLASS = "flex h-9 w-full items-center gap-2 neeto-ui-rounded-md px-2.5 text-sm font-medium hover:bg-accent";
|
|
886
883
|
|
|
887
|
-
var getInitials$1 = function getInitials(name) {
|
|
888
|
-
return (name || "").split(" ").filter(Boolean).map(function (n) {
|
|
889
|
-
return n[0];
|
|
890
|
-
}).join("").toUpperCase().slice(0, 2);
|
|
891
|
-
};
|
|
892
884
|
var ProfileHeader = function ProfileHeader(_ref) {
|
|
893
885
|
var profileInfo = _ref.profileInfo;
|
|
894
886
|
var name = profileInfo.name,
|
|
@@ -897,15 +889,13 @@ var ProfileHeader = function ProfileHeader(_ref) {
|
|
|
897
889
|
return /*#__PURE__*/jsxRuntime.jsxs("span", {
|
|
898
890
|
className: "flex w-full min-w-0 items-center gap-2 text-start",
|
|
899
891
|
"data-testid": "floating-action-menu-profile-header",
|
|
900
|
-
children: [/*#__PURE__*/jsxRuntime.
|
|
892
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Avatar, {
|
|
901
893
|
className: "size-8 shrink-0",
|
|
902
894
|
"data-testid": "floating-action-menu-header-profile-icon",
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
}
|
|
907
|
-
children: getInitials$1(name)
|
|
908
|
-
})]
|
|
895
|
+
user: {
|
|
896
|
+
name: name,
|
|
897
|
+
imageUrl: imageUrl
|
|
898
|
+
}
|
|
909
899
|
}), /*#__PURE__*/jsxRuntime.jsxs("span", {
|
|
910
900
|
className: "flex min-w-0 flex-grow flex-col gap-1",
|
|
911
901
|
children: [/*#__PURE__*/jsxRuntime.jsx("span", {
|
|
@@ -992,10 +982,10 @@ var ProfileExpandMenu = function ProfileExpandMenu(_ref) {
|
|
|
992
982
|
return setOpen(false);
|
|
993
983
|
}, 150);
|
|
994
984
|
}, []);
|
|
995
|
-
return /*#__PURE__*/jsxRuntime.jsxs(
|
|
985
|
+
return /*#__PURE__*/jsxRuntime.jsxs(primitives.Popover, {
|
|
996
986
|
open: open,
|
|
997
987
|
onOpenChange: setOpen,
|
|
998
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(
|
|
988
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(primitives.PopoverAnchor, {
|
|
999
989
|
asChild: true,
|
|
1000
990
|
children: /*#__PURE__*/jsxRuntime.jsx(MenuButton$1, {
|
|
1001
991
|
profileInfo: profileInfo,
|
|
@@ -1007,7 +997,7 @@ var ProfileExpandMenu = function ProfileExpandMenu(_ref) {
|
|
|
1007
997
|
onMouseEnter: handleMouseEnter,
|
|
1008
998
|
onMouseLeave: handleMouseLeave
|
|
1009
999
|
})
|
|
1010
|
-
}), /*#__PURE__*/jsxRuntime.jsxs(
|
|
1000
|
+
}), /*#__PURE__*/jsxRuntime.jsxs(primitives.PopoverContent, {
|
|
1011
1001
|
align: "center",
|
|
1012
1002
|
className: "z-[99999] w-56 gap-0.5 p-1",
|
|
1013
1003
|
side: "right",
|
|
@@ -1191,10 +1181,10 @@ var WorkspaceMenu = function WorkspaceMenu() {
|
|
|
1191
1181
|
return setOpen(false);
|
|
1192
1182
|
}, 150);
|
|
1193
1183
|
}, []);
|
|
1194
|
-
return /*#__PURE__*/jsxRuntime.jsxs(
|
|
1184
|
+
return /*#__PURE__*/jsxRuntime.jsxs(primitives.Popover, {
|
|
1195
1185
|
open: open,
|
|
1196
1186
|
onOpenChange: setOpen,
|
|
1197
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(
|
|
1187
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(primitives.PopoverAnchor, {
|
|
1198
1188
|
asChild: true,
|
|
1199
1189
|
children: /*#__PURE__*/jsxRuntime.jsx(MenuButton, {
|
|
1200
1190
|
onClick: function onClick() {
|
|
@@ -1205,7 +1195,7 @@ var WorkspaceMenu = function WorkspaceMenu() {
|
|
|
1205
1195
|
onMouseEnter: handleMouseEnter,
|
|
1206
1196
|
onMouseLeave: handleMouseLeave
|
|
1207
1197
|
})
|
|
1208
|
-
}), /*#__PURE__*/jsxRuntime.jsxs(
|
|
1198
|
+
}), /*#__PURE__*/jsxRuntime.jsxs(primitives.PopoverContent, {
|
|
1209
1199
|
align: "center",
|
|
1210
1200
|
className: "z-[99999] w-56 gap-0.5 p-1",
|
|
1211
1201
|
side: "right",
|
|
@@ -1303,27 +1293,27 @@ var ProfileMenu = function ProfileMenu(_ref) {
|
|
|
1303
1293
|
children: [/*#__PURE__*/jsxRuntime.jsx(LinkSection, {
|
|
1304
1294
|
links: defaultLinks
|
|
1305
1295
|
}), neetoCist.isNotEmpty(topLinks) && /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
1306
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(
|
|
1296
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(primitives.Separator, {
|
|
1307
1297
|
className: "my-2"
|
|
1308
1298
|
}), /*#__PURE__*/jsxRuntime.jsx(LinkSection, {
|
|
1309
1299
|
links: topLinks
|
|
1310
1300
|
})]
|
|
1311
1301
|
}), neetoCist.isPresent(customContent) && /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
1312
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(
|
|
1302
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(primitives.Separator, {
|
|
1313
1303
|
className: "my-2"
|
|
1314
1304
|
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
1315
1305
|
className: "px-3 py-1",
|
|
1316
1306
|
children: customContent
|
|
1317
1307
|
})]
|
|
1318
|
-
}), /*#__PURE__*/jsxRuntime.jsx(
|
|
1308
|
+
}), /*#__PURE__*/jsxRuntime.jsx(primitives.Separator, {
|
|
1319
1309
|
className: "my-2"
|
|
1320
|
-
}), ((_globalProps$user4 = globalProps.user) === null || _globalProps$user4 === void 0 ? void 0 : _globalProps$user4.isOwner) && /*#__PURE__*/jsxRuntime.jsx(WorkspaceMenu, {}), isOrganizationSwitcherEnabled && /*#__PURE__*/jsxRuntime.jsx(OrganizationSwitcher, {}), /*#__PURE__*/jsxRuntime.jsx(
|
|
1310
|
+
}), ((_globalProps$user4 = globalProps.user) === null || _globalProps$user4 === void 0 ? void 0 : _globalProps$user4.isOwner) && /*#__PURE__*/jsxRuntime.jsx(WorkspaceMenu, {}), isOrganizationSwitcherEnabled && /*#__PURE__*/jsxRuntime.jsx(OrganizationSwitcher, {}), /*#__PURE__*/jsxRuntime.jsx(primitives.Separator, {
|
|
1321
1311
|
className: "my-2"
|
|
1322
1312
|
}), neetoCist.isPresent((_globalProps$user5 = globalProps.user) === null || _globalProps$user5 === void 0 ? void 0 : _globalProps$user5.subscriptionPlan) && /*#__PURE__*/jsxRuntime.jsx(LinkSection, {
|
|
1323
1313
|
links: [subscriptionPlanLink]
|
|
1324
1314
|
}), showProductSwitcher && /*#__PURE__*/jsxRuntime.jsx(ProductSwitcher, {
|
|
1325
1315
|
toggleModal: toggleModal
|
|
1326
|
-
}), /*#__PURE__*/jsxRuntime.jsx(HelpMenu, {}), /*#__PURE__*/jsxRuntime.jsx(
|
|
1316
|
+
}), /*#__PURE__*/jsxRuntime.jsx(HelpMenu, {}), /*#__PURE__*/jsxRuntime.jsx(primitives.Separator, {
|
|
1327
1317
|
className: "my-2"
|
|
1328
1318
|
})]
|
|
1329
1319
|
}), isAuthenticated && !isConsumer && /*#__PURE__*/jsxRuntime.jsx(ProfileExpandMenu, {
|
|
@@ -1331,7 +1321,7 @@ var ProfileMenu = function ProfileMenu(_ref) {
|
|
|
1331
1321
|
}), /*#__PURE__*/jsxRuntime.jsx(LinkSection, {
|
|
1332
1322
|
links: bottomLinks
|
|
1333
1323
|
}), isThemeSwitcherEnabled && /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
1334
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(
|
|
1324
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(primitives.Separator, {
|
|
1335
1325
|
className: "my-2"
|
|
1336
1326
|
}), /*#__PURE__*/jsxRuntime.jsx(ThemeSwitcher, {})]
|
|
1337
1327
|
})]
|
|
@@ -1340,11 +1330,6 @@ var ProfileMenu = function ProfileMenu(_ref) {
|
|
|
1340
1330
|
|
|
1341
1331
|
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1342
1332
|
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1343
|
-
var getInitials = function getInitials(name) {
|
|
1344
|
-
return (name || "").split(" ").filter(Boolean).map(function (n) {
|
|
1345
|
-
return n[0];
|
|
1346
|
-
}).join("").toUpperCase().slice(0, 2);
|
|
1347
|
-
};
|
|
1348
1333
|
var ProfileButton = function ProfileButton(_ref) {
|
|
1349
1334
|
var profileInfoOverrides = _ref.profileInfoOverrides,
|
|
1350
1335
|
showProductSwitcher = _ref.showProductSwitcher,
|
|
@@ -1428,26 +1413,23 @@ var ProfileButton = function ProfileButton(_ref) {
|
|
|
1428
1413
|
popoverProps: profilePopoverProps
|
|
1429
1414
|
}), isPopoverOpen && /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
1430
1415
|
className: "pointer-events-none fixed inset-0 z-[99998] bg-black/[0.27]"
|
|
1431
|
-
}), /*#__PURE__*/jsxRuntime.jsxs(
|
|
1416
|
+
}), /*#__PURE__*/jsxRuntime.jsxs(primitives.Popover, {
|
|
1432
1417
|
open: isPopoverOpen,
|
|
1433
1418
|
onOpenChange: setIsPopoverOpen,
|
|
1434
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(
|
|
1419
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(primitives.PopoverAnchor, {
|
|
1435
1420
|
asChild: true,
|
|
1436
1421
|
children: /*#__PURE__*/jsxRuntime.jsxs("button", {
|
|
1437
1422
|
className: "bg-primary flex flex-col items-center justify-center gap-1.5 rounded-e-2xl p-1",
|
|
1438
1423
|
type: "button",
|
|
1439
1424
|
onMouseEnter: handleMouseEnter,
|
|
1440
1425
|
onMouseLeave: handleMouseLeave,
|
|
1441
|
-
children: [/*#__PURE__*/jsxRuntime.
|
|
1426
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Avatar, {
|
|
1442
1427
|
className: "size-[1.625rem] shrink-0 rounded-full border-2 border-white",
|
|
1443
1428
|
"data-testid": "profile-avatar",
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
}
|
|
1448
|
-
className: "text-[10px]",
|
|
1449
|
-
children: getInitials(profileInfo.name)
|
|
1450
|
-
})]
|
|
1429
|
+
user: {
|
|
1430
|
+
name: profileInfo.name,
|
|
1431
|
+
imageUrl: profileInfo.imageUrl
|
|
1432
|
+
}
|
|
1451
1433
|
}), /*#__PURE__*/jsxRuntime.jsx("span", {
|
|
1452
1434
|
className: "flex size-[1.625rem] items-center justify-center rounded-full bg-white",
|
|
1453
1435
|
children: /*#__PURE__*/jsxRuntime.jsx(circleQuestionMark.CircleQuestionMark, {
|
|
@@ -1455,7 +1437,7 @@ var ProfileButton = function ProfileButton(_ref) {
|
|
|
1455
1437
|
})
|
|
1456
1438
|
})]
|
|
1457
1439
|
})
|
|
1458
|
-
}), /*#__PURE__*/jsxRuntime.jsx(
|
|
1440
|
+
}), /*#__PURE__*/jsxRuntime.jsx(primitives.PopoverContent, {
|
|
1459
1441
|
align: "end",
|
|
1460
1442
|
className: "z-[99999] max-h-[var(--radix-popover-content-available-height)] w-64 overflow-y-auto rounded-xl p-0",
|
|
1461
1443
|
collisionPadding: 16,
|