@bigbinary/neeto-molecules 4.1.50 → 4.1.52

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.
Files changed (91) hide show
  1. package/dist/CalendarView.js +2 -1
  2. package/dist/CalendarView.js.map +1 -1
  3. package/dist/{Columns-BB50-jks.js → Columns-D68XA-e7.js} +2 -53
  4. package/dist/Columns-D68XA-e7.js.map +1 -0
  5. package/dist/Columns-cUgR6NTO.js +502 -0
  6. package/dist/Columns-cUgR6NTO.js.map +1 -0
  7. package/dist/Columns.js +2 -1
  8. package/dist/Columns.js.map +1 -1
  9. package/dist/StatusDropdown.js +1 -0
  10. package/dist/StatusDropdown.js.map +1 -1
  11. package/dist/SubHeader.js +2 -1
  12. package/dist/SubHeader.js.map +1 -1
  13. package/dist/Taxonomy.js +2 -1
  14. package/dist/Taxonomy.js.map +1 -1
  15. package/dist/circle-question-mark-Dib48f5Z.js +19 -0
  16. package/dist/circle-question-mark-Dib48f5Z.js.map +1 -0
  17. package/dist/cjs/CalendarView.js +2 -1
  18. package/dist/cjs/CalendarView.js.map +1 -1
  19. package/dist/cjs/{Columns-jm_CUnLP.js → Columns-BACqpEQU.js} +3 -54
  20. package/dist/cjs/Columns-BACqpEQU.js.map +1 -0
  21. package/dist/cjs/Columns-D3eocaeY.js +508 -0
  22. package/dist/cjs/Columns-D3eocaeY.js.map +1 -0
  23. package/dist/cjs/Columns.js +2 -1
  24. package/dist/cjs/Columns.js.map +1 -1
  25. package/dist/cjs/StatusDropdown.js +1 -0
  26. package/dist/cjs/StatusDropdown.js.map +1 -1
  27. package/dist/cjs/SubHeader.js +2 -1
  28. package/dist/cjs/SubHeader.js.map +1 -1
  29. package/dist/cjs/Taxonomy.js +2 -1
  30. package/dist/cjs/Taxonomy.js.map +1 -1
  31. package/dist/cjs/circle-question-mark-kxBMPyWQ.js +21 -0
  32. package/dist/cjs/circle-question-mark-kxBMPyWQ.js.map +1 -0
  33. package/dist/cjs/ellipsis-BcfLTtl5.js +21 -0
  34. package/dist/cjs/ellipsis-BcfLTtl5.js.map +1 -0
  35. package/dist/cjs/utilities.esm-jwIHISzF.js +58 -0
  36. package/dist/cjs/utilities.esm-jwIHISzF.js.map +1 -0
  37. package/dist/cjs/v2/Breadcrumbs.js +50 -0
  38. package/dist/cjs/v2/Breadcrumbs.js.map +1 -0
  39. package/dist/cjs/v2/Columns.js +34 -0
  40. package/dist/cjs/v2/Columns.js.map +1 -0
  41. package/dist/cjs/v2/Container.js +34 -0
  42. package/dist/cjs/v2/Container.js.map +1 -0
  43. package/dist/cjs/v2/FloatingActionMenu.js +10 -24
  44. package/dist/cjs/v2/FloatingActionMenu.js.map +1 -1
  45. package/dist/cjs/v2/Header.js +128 -0
  46. package/dist/cjs/v2/Header.js.map +1 -0
  47. package/dist/cjs/v2/HelpPopover.js +93 -0
  48. package/dist/cjs/v2/HelpPopover.js.map +1 -0
  49. package/dist/cjs/v2/MoreDropdown.js +201 -0
  50. package/dist/cjs/v2/MoreDropdown.js.map +1 -0
  51. package/dist/cjs/v2/Search.js +129 -0
  52. package/dist/cjs/v2/Search.js.map +1 -0
  53. package/dist/cjs/v2/Sidebar.js +3 -17
  54. package/dist/cjs/v2/Sidebar.js.map +1 -1
  55. package/dist/cjs/v2/SubHeader.js +246 -0
  56. package/dist/cjs/v2/SubHeader.js.map +1 -0
  57. package/dist/ellipsis-DpI9xqUK.js +19 -0
  58. package/dist/ellipsis-DpI9xqUK.js.map +1 -0
  59. package/dist/utilities.esm-CS21Daln.js +56 -0
  60. package/dist/utilities.esm-CS21Daln.js.map +1 -0
  61. package/dist/v2/Breadcrumbs.js +48 -0
  62. package/dist/v2/Breadcrumbs.js.map +1 -0
  63. package/dist/v2/Columns.js +22 -0
  64. package/dist/v2/Columns.js.map +1 -0
  65. package/dist/v2/Container.js +32 -0
  66. package/dist/v2/Container.js.map +1 -0
  67. package/dist/v2/FloatingActionMenu.js +8 -22
  68. package/dist/v2/FloatingActionMenu.js.map +1 -1
  69. package/dist/v2/Header.js +126 -0
  70. package/dist/v2/Header.js.map +1 -0
  71. package/dist/v2/HelpPopover.js +91 -0
  72. package/dist/v2/HelpPopover.js.map +1 -0
  73. package/dist/v2/MoreDropdown.js +199 -0
  74. package/dist/v2/MoreDropdown.js.map +1 -0
  75. package/dist/v2/Search.js +127 -0
  76. package/dist/v2/Search.js.map +1 -0
  77. package/dist/v2/Sidebar.js +2 -16
  78. package/dist/v2/Sidebar.js.map +1 -1
  79. package/dist/v2/SubHeader.js +244 -0
  80. package/dist/v2/SubHeader.js.map +1 -0
  81. package/package.json +1 -1
  82. package/types/v2/Breadcrumbs.d.ts +12 -0
  83. package/types/v2/Columns.d.ts +42 -0
  84. package/types/v2/Container.d.ts +8 -0
  85. package/types/v2/Header.d.ts +22 -0
  86. package/types/v2/HelpPopover.d.ts +23 -0
  87. package/types/v2/MoreDropdown.d.ts +42 -0
  88. package/types/v2/Search.d.ts +16 -0
  89. package/types/v2/SubHeader.d.ts +51 -0
  90. package/dist/Columns-BB50-jks.js.map +0 -1
  91. package/dist/cjs/Columns-jm_CUnLP.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubHeader.js","sources":["../../../node_modules/lucide-react/dist/esm/icons/columns-3.js","../../../node_modules/lucide-react/dist/esm/icons/download.js","../../../node_modules/lucide-react/dist/esm/icons/funnel.js","../../../src/v2/components/SubHeader/RightBlock/Columns.jsx","../../../src/v2/components/SubHeader/RightBlock/Download.jsx","../../../src/v2/components/SubHeader/RightBlock/Filter.jsx","../../../src/v2/components/SubHeader/RightBlock/index.jsx","../../../src/v2/components/SubHeader/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 = [\n [\"rect\", { width: \"18\", height: \"18\", x: \"3\", y: \"3\", rx: \"2\", key: \"afitv7\" }],\n [\"path\", { d: \"M9 3v18\", key: \"fh3hqa\" }],\n [\"path\", { d: \"M15 3v18\", key: \"14nvp0\" }]\n];\nconst Columns3 = createLucideIcon(\"columns-3\", __iconNode);\n\nexport { __iconNode, Columns3 as default };\n//# sourceMappingURL=columns-3.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 [\"path\", { d: \"M12 15V3\", key: \"m9g1x1\" }],\n [\"path\", { d: \"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\", key: \"ih7n3h\" }],\n [\"path\", { d: \"m7 10 5 5 5-5\", key: \"brsn70\" }]\n];\nconst Download = createLucideIcon(\"download\", __iconNode);\n\nexport { __iconNode, Download as default };\n//# sourceMappingURL=download.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 [\n \"path\",\n {\n d: \"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z\",\n key: \"sc7q7i\"\n }\n ]\n];\nconst Funnel = createLucideIcon(\"funnel\", __iconNode);\n\nexport { __iconNode, Funnel as default };\n//# sourceMappingURL=funnel.js.map\n","import {\n Tooltip,\n TooltipContent,\n TooltipProvider,\n TooltipTrigger,\n} from \"@bigbinary/neeto-atoms\";\nimport { Columns3 } from \"lucide-react\";\nimport { useTranslation } from \"react-i18next\";\n\nimport ManageColumns from \"../../Columns\";\n\nconst Columns = ({\n buttonProps = {},\n columnData,\n onMutationSuccess,\n allowConfigurationResetOnUpdate,\n tableKey,\n ...props\n}) => {\n const { t } = useTranslation();\n\n const tooltipContent = t(\"neetoMolecules.columns.columns\");\n\n return (\n <div>\n <TooltipProvider>\n <Tooltip>\n <TooltipTrigger asChild>\n <div className=\"inline-flex\">\n <ManageColumns\n isSearchable\n buttonProps={{\n icon: Columns3,\n \"data-testid\": \"columns-dropdown-button\",\n ...buttonProps,\n }}\n {...{\n allowConfigurationResetOnUpdate,\n columnData,\n onMutationSuccess,\n tableKey,\n ...props,\n }}\n />\n </div>\n </TooltipTrigger>\n <TooltipContent side=\"bottom\">{tooltipContent}</TooltipContent>\n </Tooltip>\n </TooltipProvider>\n </div>\n );\n};\n\nColumns.displayName = \"Columns\";\nexport default Columns;\n","/* eslint-disable @bigbinary/neeto/use-neetoui-classes */\nimport {\n Button,\n Tooltip,\n TooltipContent,\n TooltipProvider,\n TooltipTrigger,\n} from \"@bigbinary/neeto-atoms\";\nimport { Download } from \"lucide-react\";\nimport { isPresent } from \"neetocist\";\nimport { useTranslation } from \"react-i18next\";\n\nconst DownloadButton = ({\n count,\n onClick,\n \"data-testid\": dataTestid = \"download-button\",\n tooltipProps = {},\n}) => {\n const { t } = useTranslation();\n\n const { content: tooltipContent, ...restTooltipProps } = tooltipProps;\n\n const resolvedTooltipContent =\n tooltipContent ?? t(\"neetoMolecules.common.download\");\n\n return (\n <div className=\"relative\">\n <TooltipProvider>\n <Tooltip {...restTooltipProps}>\n <TooltipTrigger asChild>\n <Button\n {...{ onClick }}\n size=\"icon\"\n variant=\"ghost\"\n data-testid={\n isPresent(dataTestid) ? dataTestid : \"download-button\"\n }\n >\n <Download size={16} />\n </Button>\n </TooltipTrigger>\n <TooltipContent side=\"bottom\">\n {resolvedTooltipContent}\n </TooltipContent>\n </Tooltip>\n </TooltipProvider>\n {count && (\n <span className=\"bg-primary text-primary-foreground absolute -end-0.5 -top-0.5 z-[1] inline-flex min-h-4 min-w-4 items-center justify-center rounded-full text-[0.625rem]\">\n {count}\n </span>\n )}\n </div>\n );\n};\n\nexport default DownloadButton;\n","import { Filter } from \"lucide-react\";\nimport { withT } from \"neetocommons/react-utils\";\nimport { Filters as NeetoFilters } from \"neetofilters\";\n\nconst FilterButton = withT(({ t, buttonProps, ...props }) => (\n <div>\n <NeetoFilters\n buttonProps={{\n \"data-testid\": \"filter-button\",\n icon: Filter,\n style: \"text\",\n tooltipProps: {\n content: t(\"neetoMolecules.common.filter\"),\n position: \"bottom\",\n touch: [\"hold\", 500],\n },\n label: null,\n ...buttonProps,\n }}\n {...props}\n />\n </div>\n));\n\nexport default FilterButton;\n","import classnames from \"classnames\";\nimport { isNotPresent } from \"neetocist\";\nimport PropTypes from \"prop-types\";\nimport { not } from \"ramda\";\n\nimport Columns from \"./Columns\";\nimport Download from \"./Download\";\nimport Filter from \"./Filter\";\n\nconst RightBlock = ({\n downloadButtonProps,\n columnsButtonProps,\n filterProps,\n dataProps,\n}) => {\n const showIcons = isNotPresent(dataProps?.totalCount)\n ? true\n : dataProps?.totalCount > 0;\n\n return (\n <div\n data-testid=\"subheader-rightblock-buttons-container\"\n className={classnames(\n \"flex flex-row items-center justify-end gap-2\",\n \"[&>:not([hidden])~:not([hidden])]:border-border [&>:not([hidden])~:not([hidden])]:border-s [&>:not([hidden])~:not([hidden])]:ps-2\",\n { hidden: not(showIcons) }\n )}\n >\n {downloadButtonProps && <Download {...downloadButtonProps} />}\n {columnsButtonProps && <Columns {...columnsButtonProps} />}\n {filterProps && <Filter {...filterProps} />}\n </div>\n );\n};\n\nRightBlock.propTypes = {\n /**\n * Props that are passed to the download button.\n */\n downloadButtonProps: PropTypes.shape({\n count: PropTypes.number,\n onClick: PropTypes.func,\n tooltipProps: PropTypes.object,\n }),\n /**\n * Props that are passed to the columns button, same as the `Columns` component from neetoMolecules.\n */\n columnsButtonProps: PropTypes.shape({\n actionBlock: PropTypes.node,\n tableKey: PropTypes.string,\n checkboxProps: PropTypes.object,\n columnData: PropTypes.array,\n isSearchable: PropTypes.bool,\n noColumnMessage: PropTypes.string,\n searchProps: PropTypes.object,\n onMutationSuccess: PropTypes.func,\n allowConfigurationResetOnUpdate: PropTypes.bool,\n }),\n /**\n * Props that are passed the the filter component. These are the same props as the\n * neetoFilters `Filters` component.\n */\n filterProps: PropTypes.shape({\n size: PropTypes.oneOf([\"xsmall\", \"small\", \"large\"]),\n isOpen: PropTypes.bool,\n setIsOpen: PropTypes.func,\n columns: PropTypes.object,\n onChange: PropTypes.func,\n onSelectorsChange: PropTypes.func,\n buttonProps: PropTypes.object,\n paneProps: PropTypes.object,\n isSearchable: PropTypes.bool,\n className: PropTypes.string,\n }),\n /**\n * Props related to data being displayed, such as tables, lists, and more. The buttons\n * will be hidden if the value of `totalCount` in `dataProps` is `0`.\n */\n dataProps: PropTypes.shape({ totalCount: PropTypes.number }),\n};\n\nexport default RightBlock;\n","import { useLayoutEffect, useRef } from \"react\";\n\nimport classnames from \"classnames\";\nimport { isPresent } from \"neetocist\";\nimport PropTypes from \"prop-types\";\n\nimport RightBlock from \"./RightBlock\";\n\nconst SubHeader = ({\n className = \"\",\n leftActionBlock,\n rightActionBlock,\n \"data-testid\": dataTestid = \"subheader\",\n}) => {\n const subheaderRef = useRef(null);\n\n useLayoutEffect(() => {\n const updateHeaderHeight = () => {\n if (!subheaderRef.current) return;\n const height = subheaderRef.current.offsetHeight;\n document.body.style.setProperty(\n \"--neeto-molecules-effective-subheader-height\",\n `${height}px`\n );\n };\n\n updateHeaderHeight();\n\n window.addEventListener(\"resize\", updateHeaderHeight);\n\n return () => {\n window.removeEventListener(\"resize\", updateHeaderHeight);\n document.body.style.removeProperty(\n \"--neeto-molecules-effective-subheader-height\"\n );\n };\n }, []);\n\n return (\n <div\n data-testid={isPresent(dataTestid) ? dataTestid : \"subheader\"}\n ref={subheaderRef}\n className={classnames(\n \"mb-5 flex w-full shrink-0 flex-row flex-wrap items-center justify-between gap-4 md:flex-nowrap\",\n className\n )}\n >\n <div className=\"flex grow\" data-testid=\"subheader-left-wrapper\">\n {leftActionBlock && (\n <div\n className=\"flex flex-row items-center justify-start\"\n data-testid=\"subheader-left\"\n >\n {leftActionBlock}\n </div>\n )}\n </div>\n {rightActionBlock && (\n <div\n className=\"ms-auto flex flex-row items-center justify-end gap-3 md:ms-0\"\n data-testid=\"subheader-right\"\n >\n {rightActionBlock}\n </div>\n )}\n </div>\n );\n};\n\nSubHeader.RightBlock = RightBlock;\n\nSubHeader.propTypes = {\n /**\n * To specify external classnames as overrides to the `SubHeader`.\n */\n className: PropTypes.string,\n /**\n * To specify the content to be rendered in the left side of the `SubHeader` section.\n */\n leftActionBlock: PropTypes.node,\n /**\n * To specify the content to be rendered in the right side of the `SubHeader` section.\n */\n rightActionBlock: PropTypes.node,\n};\n\nexport default SubHeader;\n"],"names":["__iconNode","createLucideIcon","Columns","_ref","_ref$buttonProps","buttonProps","columnData","onMutationSuccess","allowConfigurationResetOnUpdate","tableKey","props","_objectWithoutProperties","_excluded","_useTranslation","useTranslation","t","tooltipContent","_jsx","children","TooltipProvider","_jsxs","Tooltip","TooltipTrigger","asChild","className","ManageColumns","_objectSpread","isSearchable","icon","Columns3","TooltipContent","side","displayName","DownloadButton","count","onClick","_ref$dataTestid","dataTestid","_ref$tooltipProps","tooltipProps","content","restTooltipProps","resolvedTooltipContent","Button","size","variant","isPresent","Download","FilterButton","withT","NeetoFilters","Filter","style","position","touch","label","RightBlock","downloadButtonProps","columnsButtonProps","filterProps","dataProps","showIcons","isNotPresent","totalCount","classnames","hidden","not","SubHeader","_ref$className","leftActionBlock","rightActionBlock","subheaderRef","useRef","useLayoutEffect","updateHeaderHeight","current","height","offsetHeight","document","body","setProperty","concat","window","addEventListener","removeEventListener","removeProperty","ref"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;;;AAIA,MAAMA,YAAU,GAAG;AACnB,EAAE,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,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pD,cAAA,CAAA,KAAA,EAAA;AACEO,QAAAA,SAAS,EAAC,0CAA0C;AACpD,QAAA,aAAA,EAAY,gBAAgB;AAAAN,QAAAA,QAAA,EAE3BmD;OACE;AACN,KACE,CAAC,EACLC,gBAAgB,iBACfrD,cAAA,CAAA,KAAA,EAAA;AACEO,MAAAA,SAAS,EAAC,8DAA8D;AACxE,MAAA,aAAA,EAAY,iBAAiB;AAAAN,MAAAA,QAAA,EAE5BoD;AAAgB,KACd,CACN;AAAA,GACE,CAAC;AAEV;AAEAH,SAAS,CAACX,UAAU,GAAGA,UAAU;;;;","x_google_ignoreList":[0,1,2]}
@@ -0,0 +1,19 @@
1
+ import { c as createLucideIcon } from './createLucideIcon-mNMhCCpf.js';
2
+
3
+ /**
4
+ * @license lucide-react v1.7.0 - ISC
5
+ *
6
+ * This source code is licensed under the ISC license.
7
+ * See the LICENSE file in the root directory of this source tree.
8
+ */
9
+
10
+
11
+ const __iconNode = [
12
+ ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
13
+ ["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
14
+ ["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
15
+ ];
16
+ const Ellipsis = createLucideIcon("ellipsis", __iconNode);
17
+
18
+ export { Ellipsis as E };
19
+ //# sourceMappingURL=ellipsis-DpI9xqUK.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ellipsis-DpI9xqUK.js","sources":["../node_modules/lucide-react/dist/esm/icons/ellipsis.js"],"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 = [\n [\"circle\", { cx: \"12\", cy: \"12\", r: \"1\", key: \"41hilf\" }],\n [\"circle\", { cx: \"19\", cy: \"12\", r: \"1\", key: \"1wjl8i\" }],\n [\"circle\", { cx: \"5\", cy: \"12\", r: \"1\", key: \"1pcz8c\" }]\n];\nconst Ellipsis = createLucideIcon(\"ellipsis\", __iconNode);\n\nexport { __iconNode, Ellipsis as default };\n//# sourceMappingURL=ellipsis.js.map\n"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;;;AAIA,MAAM,UAAU,GAAG;AACnB,EAAE,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC;AAC3D,EAAE,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC;AAC3D,EAAE,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE;AACzD,CAAC;AACI,MAAC,QAAQ,GAAG,gBAAgB,CAAC,UAAU,EAAE,UAAU;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,56 @@
1
+ import 'react';
2
+
3
+ const CSS = /*#__PURE__*/Object.freeze({
4
+ Translate: {
5
+ toString(transform) {
6
+ if (!transform) {
7
+ return;
8
+ }
9
+
10
+ const {
11
+ x,
12
+ y
13
+ } = transform;
14
+ return "translate3d(" + (x ? Math.round(x) : 0) + "px, " + (y ? Math.round(y) : 0) + "px, 0)";
15
+ }
16
+
17
+ },
18
+ Scale: {
19
+ toString(transform) {
20
+ if (!transform) {
21
+ return;
22
+ }
23
+
24
+ const {
25
+ scaleX,
26
+ scaleY
27
+ } = transform;
28
+ return "scaleX(" + scaleX + ") scaleY(" + scaleY + ")";
29
+ }
30
+
31
+ },
32
+ Transform: {
33
+ toString(transform) {
34
+ if (!transform) {
35
+ return;
36
+ }
37
+
38
+ return [CSS.Translate.toString(transform), CSS.Scale.toString(transform)].join(' ');
39
+ }
40
+
41
+ },
42
+ Transition: {
43
+ toString(_ref) {
44
+ let {
45
+ property,
46
+ duration,
47
+ easing
48
+ } = _ref;
49
+ return property + " " + duration + "ms " + easing;
50
+ }
51
+
52
+ }
53
+ });
54
+
55
+ export { CSS as C };
56
+ //# sourceMappingURL=utilities.esm-CS21Daln.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utilities.esm-CS21Daln.js","sources":["../node_modules/@dnd-kit/utilities/dist/utilities.esm.js"],"sourcesContent":["import { useMemo, useLayoutEffect, useEffect, useRef, useCallback } from 'react';\n\nfunction useCombinedRefs() {\n for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {\n refs[_key] = arguments[_key];\n }\n\n return useMemo(() => node => {\n refs.forEach(ref => ref(node));\n }, // eslint-disable-next-line react-hooks/exhaustive-deps\n refs);\n}\n\n// https://github.com/facebook/react/blob/master/packages/shared/ExecutionEnvironment.js\nconst canUseDOM = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined';\n\nfunction isWindow(element) {\n const elementString = Object.prototype.toString.call(element);\n return elementString === '[object Window]' || // In Electron context the Window object serializes to [object global]\n elementString === '[object global]';\n}\n\nfunction isNode(node) {\n return 'nodeType' in node;\n}\n\nfunction getWindow(target) {\n var _target$ownerDocument, _target$ownerDocument2;\n\n if (!target) {\n return window;\n }\n\n if (isWindow(target)) {\n return target;\n }\n\n if (!isNode(target)) {\n return window;\n }\n\n return (_target$ownerDocument = (_target$ownerDocument2 = target.ownerDocument) == null ? void 0 : _target$ownerDocument2.defaultView) != null ? _target$ownerDocument : window;\n}\n\nfunction isDocument(node) {\n const {\n Document\n } = getWindow(node);\n return node instanceof Document;\n}\n\nfunction isHTMLElement(node) {\n if (isWindow(node)) {\n return false;\n }\n\n return node instanceof getWindow(node).HTMLElement;\n}\n\nfunction isSVGElement(node) {\n return node instanceof getWindow(node).SVGElement;\n}\n\nfunction getOwnerDocument(target) {\n if (!target) {\n return document;\n }\n\n if (isWindow(target)) {\n return target.document;\n }\n\n if (!isNode(target)) {\n return document;\n }\n\n if (isDocument(target)) {\n return target;\n }\n\n if (isHTMLElement(target) || isSVGElement(target)) {\n return target.ownerDocument;\n }\n\n return document;\n}\n\n/**\r\n * A hook that resolves to useEffect on the server and useLayoutEffect on the client\r\n * @param callback {function} Callback function that is invoked when the dependencies of the hook change\r\n */\n\nconst useIsomorphicLayoutEffect = canUseDOM ? useLayoutEffect : useEffect;\n\nfunction useEvent(handler) {\n const handlerRef = useRef(handler);\n useIsomorphicLayoutEffect(() => {\n handlerRef.current = handler;\n });\n return useCallback(function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return handlerRef.current == null ? void 0 : handlerRef.current(...args);\n }, []);\n}\n\nfunction useInterval() {\n const intervalRef = useRef(null);\n const set = useCallback((listener, duration) => {\n intervalRef.current = setInterval(listener, duration);\n }, []);\n const clear = useCallback(() => {\n if (intervalRef.current !== null) {\n clearInterval(intervalRef.current);\n intervalRef.current = null;\n }\n }, []);\n return [set, clear];\n}\n\nfunction useLatestValue(value, dependencies) {\n if (dependencies === void 0) {\n dependencies = [value];\n }\n\n const valueRef = useRef(value);\n useIsomorphicLayoutEffect(() => {\n if (valueRef.current !== value) {\n valueRef.current = value;\n }\n }, dependencies);\n return valueRef;\n}\n\nfunction useLazyMemo(callback, dependencies) {\n const valueRef = useRef();\n return useMemo(() => {\n const newValue = callback(valueRef.current);\n valueRef.current = newValue;\n return newValue;\n }, // eslint-disable-next-line react-hooks/exhaustive-deps\n [...dependencies]);\n}\n\nfunction useNodeRef(onChange) {\n const onChangeHandler = useEvent(onChange);\n const node = useRef(null);\n const setNodeRef = useCallback(element => {\n if (element !== node.current) {\n onChangeHandler == null ? void 0 : onChangeHandler(element, node.current);\n }\n\n node.current = element;\n }, //eslint-disable-next-line\n []);\n return [node, setNodeRef];\n}\n\nfunction usePrevious(value) {\n const ref = useRef();\n useEffect(() => {\n ref.current = value;\n }, [value]);\n return ref.current;\n}\n\nlet ids = {};\nfunction useUniqueId(prefix, value) {\n return useMemo(() => {\n if (value) {\n return value;\n }\n\n const id = ids[prefix] == null ? 0 : ids[prefix] + 1;\n ids[prefix] = id;\n return prefix + \"-\" + id;\n }, [prefix, value]);\n}\n\nfunction createAdjustmentFn(modifier) {\n return function (object) {\n for (var _len = arguments.length, adjustments = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n adjustments[_key - 1] = arguments[_key];\n }\n\n return adjustments.reduce((accumulator, adjustment) => {\n const entries = Object.entries(adjustment);\n\n for (const [key, valueAdjustment] of entries) {\n const value = accumulator[key];\n\n if (value != null) {\n accumulator[key] = value + modifier * valueAdjustment;\n }\n }\n\n return accumulator;\n }, { ...object\n });\n };\n}\n\nconst add = /*#__PURE__*/createAdjustmentFn(1);\nconst subtract = /*#__PURE__*/createAdjustmentFn(-1);\n\nfunction hasViewportRelativeCoordinates(event) {\n return 'clientX' in event && 'clientY' in event;\n}\n\nfunction isKeyboardEvent(event) {\n if (!event) {\n return false;\n }\n\n const {\n KeyboardEvent\n } = getWindow(event.target);\n return KeyboardEvent && event instanceof KeyboardEvent;\n}\n\nfunction isTouchEvent(event) {\n if (!event) {\n return false;\n }\n\n const {\n TouchEvent\n } = getWindow(event.target);\n return TouchEvent && event instanceof TouchEvent;\n}\n\n/**\r\n * Returns the normalized x and y coordinates for mouse and touch events.\r\n */\n\nfunction getEventCoordinates(event) {\n if (isTouchEvent(event)) {\n if (event.touches && event.touches.length) {\n const {\n clientX: x,\n clientY: y\n } = event.touches[0];\n return {\n x,\n y\n };\n } else if (event.changedTouches && event.changedTouches.length) {\n const {\n clientX: x,\n clientY: y\n } = event.changedTouches[0];\n return {\n x,\n y\n };\n }\n }\n\n if (hasViewportRelativeCoordinates(event)) {\n return {\n x: event.clientX,\n y: event.clientY\n };\n }\n\n return null;\n}\n\nconst CSS = /*#__PURE__*/Object.freeze({\n Translate: {\n toString(transform) {\n if (!transform) {\n return;\n }\n\n const {\n x,\n y\n } = transform;\n return \"translate3d(\" + (x ? Math.round(x) : 0) + \"px, \" + (y ? Math.round(y) : 0) + \"px, 0)\";\n }\n\n },\n Scale: {\n toString(transform) {\n if (!transform) {\n return;\n }\n\n const {\n scaleX,\n scaleY\n } = transform;\n return \"scaleX(\" + scaleX + \") scaleY(\" + scaleY + \")\";\n }\n\n },\n Transform: {\n toString(transform) {\n if (!transform) {\n return;\n }\n\n return [CSS.Translate.toString(transform), CSS.Scale.toString(transform)].join(' ');\n }\n\n },\n Transition: {\n toString(_ref) {\n let {\n property,\n duration,\n easing\n } = _ref;\n return property + \" \" + duration + \"ms \" + easing;\n }\n\n }\n});\n\nconst SELECTOR = 'a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]';\nfunction findFirstFocusableNode(element) {\n if (element.matches(SELECTOR)) {\n return element;\n }\n\n return element.querySelector(SELECTOR);\n}\n\nexport { CSS, add, canUseDOM, findFirstFocusableNode, getEventCoordinates, getOwnerDocument, getWindow, hasViewportRelativeCoordinates, isDocument, isHTMLElement, isKeyboardEvent, isNode, isSVGElement, isTouchEvent, isWindow, subtract, useCombinedRefs, useEvent, useInterval, useIsomorphicLayoutEffect, useLatestValue, useLazyMemo, useNodeRef, usePrevious, useUniqueId };\n//# sourceMappingURL=utilities.esm.js.map\n"],"names":[],"mappings":";;AA8QK,MAAC,GAAG,gBAAgB,MAAM,CAAC,MAAM,CAAC;AACvC,EAAE,SAAS,EAAE;AACb,IAAI,QAAQ,CAAC,SAAS,EAAE;AACxB,MAAM,IAAI,CAAC,SAAS,EAAE;AACtB,QAAQ;AACR,MAAM;;AAEN,MAAM,MAAM;AACZ,QAAQ,CAAC;AACT,QAAQ;AACR,OAAO,GAAG,SAAS;AACnB,MAAM,OAAO,cAAc,IAAI,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,QAAQ;AACnG,IAAI;;AAEJ,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,QAAQ,CAAC,SAAS,EAAE;AACxB,MAAM,IAAI,CAAC,SAAS,EAAE;AACtB,QAAQ;AACR,MAAM;;AAEN,MAAM,MAAM;AACZ,QAAQ,MAAM;AACd,QAAQ;AACR,OAAO,GAAG,SAAS;AACnB,MAAM,OAAO,SAAS,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,GAAG;AAC5D,IAAI;;AAEJ,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,QAAQ,CAAC,SAAS,EAAE;AACxB,MAAM,IAAI,CAAC,SAAS,EAAE;AACtB,QAAQ;AACR,MAAM;;AAEN,MAAM,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;AACzF,IAAI;;AAEJ,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,QAAQ,CAAC,IAAI,EAAE;AACnB,MAAM,IAAI;AACV,QAAQ,QAAQ;AAChB,QAAQ,QAAQ;AAChB,QAAQ;AACR,OAAO,GAAG,IAAI;AACd,MAAM,OAAO,QAAQ,GAAG,GAAG,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM;AACvD,IAAI;;AAEJ;AACA,CAAC;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,48 @@
1
+ import React__default from 'react';
2
+ import { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbPage, BreadcrumbLink, BreadcrumbSeparator } from '@bigbinary/neeto-atoms';
3
+ import classnames from 'classnames';
4
+ import { withT } from '@bigbinary/neeto-commons-frontend/react-utils';
5
+ import { hyphenize } from '@bigbinary/neeto-commons-frontend/utils/general';
6
+ import { Link } from 'react-router-dom';
7
+ import { jsx, jsxs } from 'react/jsx-runtime';
8
+
9
+ var Breadcrumbs = withT(function (_ref) {
10
+ var t = _ref.t,
11
+ _ref$breadcrumbs = _ref.breadcrumbs,
12
+ breadcrumbs = _ref$breadcrumbs === void 0 ? [] : _ref$breadcrumbs,
13
+ _ref$hasTrailingSepar = _ref.hasTrailingSeparator,
14
+ hasTrailingSeparator = _ref$hasTrailingSepar === void 0 ? false : _ref$hasTrailingSepar,
15
+ className = _ref.className;
16
+ return /*#__PURE__*/jsx(Breadcrumb, {
17
+ "aria-label": t("neetoMolecules.breadcrumbs.breadcrumbAriaLabel"),
18
+ className: classnames("mb-4", className),
19
+ children: /*#__PURE__*/jsx(BreadcrumbList, {
20
+ children: breadcrumbs.map(function (_ref2, index) {
21
+ var text = _ref2.text,
22
+ _ref2$link = _ref2.link,
23
+ link = _ref2$link === void 0 ? "#" : _ref2$link;
24
+ var isLast = index + 1 === breadcrumbs.length;
25
+ var isCurrentPage = isLast && !hasTrailingSeparator;
26
+ return /*#__PURE__*/jsxs(React__default.Fragment, {
27
+ children: [/*#__PURE__*/jsx(BreadcrumbItem, {
28
+ "data-testid": "header-breadcrumb",
29
+ children: isCurrentPage ? /*#__PURE__*/jsx(BreadcrumbPage, {
30
+ "data-testid": "".concat(hyphenize(text), "-breadcrumb"),
31
+ children: text
32
+ }) : /*#__PURE__*/jsx(BreadcrumbLink, {
33
+ asChild: true,
34
+ children: /*#__PURE__*/jsx(Link, {
35
+ "data-testid": "".concat(hyphenize(text), "-breadcrumb"),
36
+ to: link,
37
+ children: text
38
+ })
39
+ })
40
+ }), !isCurrentPage && /*#__PURE__*/jsx(BreadcrumbSeparator, {})]
41
+ }, index);
42
+ })
43
+ })
44
+ });
45
+ });
46
+
47
+ export { Breadcrumbs as default };
48
+ //# sourceMappingURL=Breadcrumbs.js.map
@@ -0,0 +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","BreadcrumbIt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AAA;AAAC,cAAA,aAAA,EAAA,EAAA,CAAAC,MAAA,CAAgBC,SAAS,CAACZ,IAAI,CAAC,EAAA,aAAA,CAAc;AAAAL,cAAAA,QAAA,EAC1DK;AAAI,aACS,CAAC,gBAEjBR,GAAA,CAACqB,cAAc,EAAA;cAACC,OAAO,EAAA,IAAA;cAAAnB,QAAA,eACrBH,GAAA,CAACuB,IAAI,EAAA;AACH,gBAAA,aAAA,EAAA,EAAA,CAAAJ,MAAA,CAAgBC,SAAS,CAACZ,IAAI,CAAC,EAAA,aAAA,CAAc;AAC7CgB,gBAAAA,EAAE,EAAEd,IAAK;AAAAP,gBAAAA,QAAA,EAERK;eACG;aACQ;WAEJ,CAAC,EAChB,CAACK,aAAa,iBAAIb,GAAA,CAACyB,mBAAmB,EAAA,EAAE,CAAC;AAAA,SAAA,EAjBvBlB,KAkBL,CAAC;MAErB,CAAC;KACa;AAAC,GACP,CAAC;AAAA,CAEjB;;;;"}
@@ -0,0 +1,22 @@
1
+ export { C as COLUMNS_ORDER_STORAGE_KEY, H as HIDDEN_COLUMNS_STORAGE_KEY, T as TABLE_CONFIGURATION_QUERY_KEY, a as default, u as useTableConfigurations } from '../Columns-cUgR6NTO.js';
2
+ import '@babel/runtime/helpers/defineProperty';
3
+ import '@babel/runtime/helpers/objectWithoutProperties';
4
+ import '@babel/runtime/helpers/toConsumableArray';
5
+ import '@babel/runtime/helpers/slicedToArray';
6
+ import 'react';
7
+ import '@bigbinary/neeto-atoms';
8
+ import '@dnd-kit/core';
9
+ import '@dnd-kit/sortable';
10
+ import 'i18next';
11
+ import '@bigbinary/neeto-cist';
12
+ import 'ramda';
13
+ import 'react-i18next';
14
+ import '../utilities.esm-CS21Daln.js';
15
+ import 'classnames';
16
+ import 'react/jsx-runtime';
17
+ import '../createLucideIcon-mNMhCCpf.js';
18
+ import '@tanstack/react-query';
19
+ import '@bigbinary/neeto-commons-frontend/react-utils/useMutationWithInvalidation';
20
+ import 'axios';
21
+ import '../search-DCgpNjip.js';
22
+ //# sourceMappingURL=Columns.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Columns.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,32 @@
1
+ import { forwardRef } from 'react';
2
+ import classnames from 'classnames';
3
+ import { P as PropTypes } from '../index-DAYCJu79.js';
4
+ import { jsx } from 'react/jsx-runtime';
5
+ import '../_commonjsHelpers-BFTU3MAI.js';
6
+
7
+ var Container = /*#__PURE__*/forwardRef(function (_ref, ref) {
8
+ var _ref$isHeaderFixed = _ref.isHeaderFixed,
9
+ isHeaderFixed = _ref$isHeaderFixed === void 0 ? false : _ref$isHeaderFixed,
10
+ _ref$className = _ref.className,
11
+ className = _ref$className === void 0 ? "" : _ref$className,
12
+ children = _ref.children;
13
+ return /*#__PURE__*/jsx("div", {
14
+ ref: ref,
15
+ className: classnames("flex h-dvh grow flex-col items-start justify-start overflow-y-auto", isHeaderFixed ? "[&>*]:px-5 [&>*]:md:px-10" : "px-5 md:px-10", className),
16
+ children: children
17
+ });
18
+ });
19
+ Container.displayName = "Container";
20
+ Container.propTypes = {
21
+ /**
22
+ * Decides whether the `Header` component should be stickied at the top on scroll.
23
+ */
24
+ isHeaderFixed: PropTypes.bool,
25
+ /**
26
+ * Additional classes to be added to the container.
27
+ */
28
+ className: PropTypes.string
29
+ };
30
+
31
+ export { Container as default };
32
+ //# sourceMappingURL=Container.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Container.js","sources":["../../src/v2/components/Container/index.jsx"],"sourcesContent":["import { forwardRef } from \"react\";\n\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\n\nconst Container = forwardRef(\n ({ isHeaderFixed = false, className = \"\", children }, ref) => (\n <div\n {...{ ref }}\n className={classnames(\n \"flex h-dvh grow flex-col items-start justify-start overflow-y-auto\",\n isHeaderFixed ? \"[&>*]:px-5 [&>*]:md:px-10\" : \"px-5 md:px-10\",\n className\n )}\n >\n {children}\n </div>\n )\n);\n\nContainer.displayName = \"Container\";\n\nContainer.propTypes = {\n /**\n * Decides whether the `Header` component should be stickied at the top on scroll.\n */\n isHeaderFixed: PropTypes.bool,\n /**\n * Additional classes to be added to the container.\n */\n className: PropTypes.string,\n};\n\nexport default Container;\n"],"names":["Container","forwardRef","_ref","ref","_ref$isHeaderFixed","isHeaderFixed","_ref$className","className","children","_jsx","classnames","displayName","propTypes","PropTypes","bool","string"],"mappings":";;;;;;AAKA,IAAMA,SAAS,gBAAGC,UAAU,CAC1B,UAAAC,IAAA,EAAsDC,GAAG,EAAA;AAAA,EAAA,IAAAC,kBAAA,GAAAF,IAAA,CAAtDG,aAAa;AAAbA,IAAAA,aAAa,GAAAD,kBAAA,KAAA,MAAA,GAAG,KAAK,GAAAA,kBAAA;IAAAE,cAAA,GAAAJ,IAAA,CAAEK,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,cAAA;IAAEE,QAAQ,GAAAN,IAAA,CAARM,QAAQ;AAAA,EAAA,oBAChDC,GAAA,CAAA,KAAA,EAAA;AACQN,IAAAA,GAAG,EAAHA,GAAG;AACTI,IAAAA,SAAS,EAAEG,UAAU,CACnB,oEAAoE,EACpEL,aAAa,GAAG,2BAA2B,GAAG,eAAe,EAC7DE,SACF,CAAE;AAAAC,IAAAA,QAAA,EAEDA;AAAQ,GACN,CAAC;AAAA,CAEV;AAEAR,SAAS,CAACW,WAAW,GAAG,WAAW;AAEnCX,SAAS,CAACY,SAAS,GAAG;AACpB;AACF;AACA;EACEP,aAAa,EAAEQ,SAAS,CAACC,IAAI;AAC7B;AACF;AACA;EACEP,SAAS,EAAEM,SAAS,CAACE;AACvB,CAAC;;;;"}
@@ -19,8 +19,9 @@ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
19
19
  import { useQuery } from '@tanstack/react-query';
20
20
  import axios from 'axios';
21
21
  import { S as Search } from '../search-DCgpNjip.js';
22
- import { c as createLucideIcon } from '../createLucideIcon-mNMhCCpf.js';
22
+ import { C as CircleQuestionMark } from '../circle-question-mark-Dib48f5Z.js';
23
23
  import { C as ChevronRight } from '../chevron-right-DcaO-Hlu.js';
24
+ import { c as createLucideIcon } from '../createLucideIcon-mNMhCCpf.js';
24
25
  import useBreakpoints from '@bigbinary/neeto-commons-frontend/react-utils/useBreakpoints';
25
26
  import _objectDestructuringEmpty from '@babel/runtime/helpers/objectDestructuringEmpty';
26
27
  import { t } from 'i18next';
@@ -53,7 +54,7 @@ import '@bigbinary/neeto-icons/Check';
53
54
  */
54
55
 
55
56
 
56
- const __iconNode$b = [
57
+ const __iconNode$a = [
57
58
  [
58
59
  "path",
59
60
  {
@@ -62,7 +63,7 @@ const __iconNode$b = [
62
63
  }
63
64
  ]
64
65
  ];
65
- const Activity = createLucideIcon("activity", __iconNode$b);
66
+ const Activity = createLucideIcon("activity", __iconNode$a);
66
67
 
67
68
  /**
68
69
  * @license lucide-react v1.7.0 - ISC
@@ -72,7 +73,7 @@ const Activity = createLucideIcon("activity", __iconNode$b);
72
73
  */
73
74
 
74
75
 
75
- const __iconNode$a = [
76
+ const __iconNode$9 = [
76
77
  ["path", { d: "M12 7v14", key: "1akyts" }],
77
78
  [
78
79
  "path",
@@ -82,21 +83,7 @@ const __iconNode$a = [
82
83
  }
83
84
  ]
84
85
  ];
85
- const BookOpen = createLucideIcon("book-open", __iconNode$a);
86
-
87
- /**
88
- * @license lucide-react v1.7.0 - ISC
89
- *
90
- * This source code is licensed under the ISC license.
91
- * See the LICENSE file in the root directory of this source tree.
92
- */
93
-
94
-
95
- const __iconNode$9 = [
96
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
97
- ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
98
- ];
99
- const CircleCheck = createLucideIcon("circle-check", __iconNode$9);
86
+ const BookOpen = createLucideIcon("book-open", __iconNode$9);
100
87
 
101
88
  /**
102
89
  * @license lucide-react v1.7.0 - ISC
@@ -108,10 +95,9 @@ const CircleCheck = createLucideIcon("circle-check", __iconNode$9);
108
95
 
109
96
  const __iconNode$8 = [
110
97
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
111
- ["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
112
- ["path", { d: "M12 17h.01", key: "p32p05" }]
98
+ ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
113
99
  ];
114
- const CircleQuestionMark = createLucideIcon("circle-question-mark", __iconNode$8);
100
+ const CircleCheck = createLucideIcon("circle-check", __iconNode$8);
115
101
 
116
102
  /**
117
103
  * @license lucide-react v1.7.0 - ISC