@okta/odyssey-react-mui 1.21.0 → 1.21.2

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 (32) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/Pagination/Pagination.js +1 -1
  3. package/dist/Pagination/Pagination.js.map +1 -1
  4. package/dist/index.scss +1 -1
  5. package/dist/labs/DataComponents/DataView.js +2 -2
  6. package/dist/labs/DataComponents/DataView.js.map +1 -1
  7. package/dist/labs/DataComponents/fetchData.js +2 -2
  8. package/dist/labs/DataComponents/fetchData.js.map +1 -1
  9. package/dist/properties/ts/odyssey-react-mui_ok_PL.js +3 -1
  10. package/dist/properties/ts/odyssey-react-mui_ok_PL.js.map +1 -1
  11. package/dist/properties/ts/odyssey-react-mui_ok_SK.js +2 -0
  12. package/dist/properties/ts/odyssey-react-mui_ok_SK.js.map +1 -1
  13. package/dist/src/Pagination/Pagination.d.ts.map +1 -1
  14. package/dist/src/labs/DataComponents/DataView.d.ts.map +1 -1
  15. package/dist/src/labs/DataComponents/fetchData.d.ts +1 -1
  16. package/dist/src/labs/DataComponents/fetchData.d.ts.map +1 -1
  17. package/dist/src/properties/ts/odyssey-react-mui_ok_PL.d.ts +2 -0
  18. package/dist/src/properties/ts/odyssey-react-mui_ok_PL.d.ts.map +1 -1
  19. package/dist/src/properties/ts/odyssey-react-mui_ok_SK.d.ts +2 -0
  20. package/dist/src/properties/ts/odyssey-react-mui_ok_SK.d.ts.map +1 -1
  21. package/dist/theme/components.js +4 -5
  22. package/dist/theme/components.js.map +1 -1
  23. package/dist/tsconfig.production.tsbuildinfo +1 -1
  24. package/package.json +3 -3
  25. package/src/Pagination/Pagination.tsx +3 -1
  26. package/src/labs/DataComponents/DataView.tsx +3 -2
  27. package/src/labs/DataComponents/fetchData.ts +3 -3
  28. package/src/properties/translations/odyssey-react-mui_ok_PL.properties +3 -1
  29. package/src/properties/translations/odyssey-react-mui_ok_SK.properties +2 -0
  30. package/src/properties/ts/odyssey-react-mui_ok_PL.ts +1 -1
  31. package/src/properties/ts/odyssey-react-mui_ok_SK.ts +1 -1
  32. package/src/theme/components.tsx +5 -5
package/CHANGELOG.md CHANGED
@@ -3,6 +3,43 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.21.2](https://github.com/okta/odyssey/compare/v1.21.1...v1.21.2) (2024-08-09)
7
+
8
+ **Note:** Version bump only for package @okta/odyssey-react-mui
9
+
10
+ ## [1.21.1](https://github.com/okta/odyssey/compare/v1.15.9...v1.21.1) (2024-08-07)
11
+
12
+ ### Features
13
+
14
+ - add backwards compatible empty state export ([#2266](https://github.com/okta/odyssey/issues/2266)) ([0fe3203](https://github.com/okta/odyssey/commit/0fe3203629dc85f7c91c58e3ff078c9a89360407))
15
+ - add initial search prop to DataTable ([#2265](https://github.com/okta/odyssey/issues/2265)) ([5829534](https://github.com/okta/odyssey/commit/582953472b9a4e9946a57c852b78cd890a6ab674))
16
+ - adds a generic top nav component ([#2296](https://github.com/okta/odyssey/issues/2296)) ([6f3165f](https://github.com/okta/odyssey/commit/6f3165f9fd4a1d1743c975b72132d4ec186d09bb))
17
+ - adds new side navigation component for unified nav design ([#2269](https://github.com/okta/odyssey/issues/2269)) ([e54a470](https://github.com/okta/odyssey/commit/e54a470aaa71eec4fd85f19ac8519425f1d64e8f))
18
+ - EmptyState component ([#2175](https://github.com/okta/odyssey/issues/2175)) ([8c86845](https://github.com/okta/odyssey/commit/8c868450b6e1b8c63775afe1f38219507e9bacc7))
19
+ - move Pagination to its own component ([#2166](https://github.com/okta/odyssey/issues/2166)) ([61eda40](https://github.com/okta/odyssey/commit/61eda40aaf1a5dc5477799694594ea5625715fe0))
20
+ - Test Selectors ([#2209](https://github.com/okta/odyssey/issues/2209)) ([dfa8451](https://github.com/okta/odyssey/commit/dfa8451d0cb6ed63cbd3ac1ce740203b638348f7))
21
+
22
+ ### Bug Fixes
23
+
24
+ - add changes back, remove required label ([cccce45](https://github.com/okta/odyssey/commit/cccce454c33588369786b2dc8cc6e39bbace4678))
25
+ - add comment ([9af7d11](https://github.com/okta/odyssey/commit/9af7d11f2964fa1b17be673c4e84a0bbb1a47ab9))
26
+ - add floating action button variant ([a32110d](https://github.com/okta/odyssey/commit/a32110d5aa71efd7fcbf3f1606eae613a639c721))
27
+ - add hint text to Radio and RadioGroup ([6518de5](https://github.com/okta/odyssey/commit/6518de5b38e54ec6aa3146a310c7c02a3b7d8a4e))
28
+ - add optional href prop to button ([f46123b](https://github.com/okta/odyssey/commit/f46123b538947aa0040b29832dafaf6df9da332e))
29
+ - add secondary danger button variant ([170e6e0](https://github.com/okta/odyssey/commit/170e6e03476d3a7fdef9bdca9f94a8d7e0d6f00a))
30
+ - add translation keys for Autocomplete ([#2308](https://github.com/okta/odyssey/issues/2308)) ([9617768](https://github.com/okta/odyssey/commit/961776881b3e07667cb09c6ffb51c57ffa0c1ca7))
31
+ - alphabetize props ([988bd74](https://github.com/okta/odyssey/commit/988bd74e98794f2f48589e6be3e37f608f87a07a))
32
+ - alphabetize props in imports ([ca56f0a](https://github.com/okta/odyssey/commit/ca56f0a3ad5b3a4902bf38111bc6c229ad1533f6))
33
+ - bump version to 1.17 ([0e32aba](https://github.com/okta/odyssey/commit/0e32aba973ef00d5a872dbd408a84fb54c8a7408))
34
+ - make return implicit in label ([e2a26df](https://github.com/okta/odyssey/commit/e2a26df5082bfb5e7573c83a9ab53b364941713b))
35
+ - move Drawer from labs to Odyssey OKTA-700393 ([247b30a](https://github.com/okta/odyssey/commit/247b30af6e598119b78d97c971f490c48cd1dfca))
36
+ - prevent mixing old and new button props ([7aed65b](https://github.com/okta/odyssey/commit/7aed65be175c12525c9aee5fca18af0251dd2fec))
37
+ - re-add support for "callToAction" button usage ([0eb6ec7](https://github.com/okta/odyssey/commit/0eb6ec704ba6a0a9da12dcd6d864a6d1d1421915))
38
+ - remove invalid pseudo element from theme overrides ([#2310](https://github.com/okta/odyssey/issues/2310)) ([fea0793](https://github.com/okta/odyssey/commit/fea0793acf0800494270a87e4e5d65129942b99e))
39
+ - rename new variant ([28466a4](https://github.com/okta/odyssey/commit/28466a46c8a254f543f595d2abf26115eff7b66b))
40
+ - resolve eslint error ([6be8bd0](https://github.com/okta/odyssey/commit/6be8bd0ca6f333949d80cbe59e28fac48528388b))
41
+ - revert type change ([9d9e16b](https://github.com/okta/odyssey/commit/9d9e16b83cc3047b7dd6c5eb7e8027b2dd0898cb))
42
+
6
43
  ## [1.21.0](https://github.com/okta/odyssey/compare/v1.15.9...v1.21.0) (2024-08-07)
7
44
 
8
45
  ### Features
@@ -124,7 +124,7 @@ const Pagination = ({
124
124
  }, [setPage, maxPageIndex]);
125
125
  const setRowsPerPageFromEvent = useCallback(event => {
126
126
  const value = maxPageSize ? Math.min(parseInt(event.target.value), maxPageSize) : parseInt(event.target.value);
127
- setRowsPerPage(value);
127
+ setRowsPerPage(Math.max(1, value));
128
128
  }, [setRowsPerPage, maxPageSize]);
129
129
  const handleLoadMore = useCallback(() => {
130
130
  onPaginationChange({
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.js","names":["memo","useCallback","useEffect","useMemo","useRef","useState","Paragraph","Button","ArrowLeftIcon","ArrowRightIcon","styled","useOdysseyDesignTokens","Box","usePagination","jsx","_jsx","jsxs","_jsxs","PaginationContainer","display","alignItems","justifyContent","PaginationSegment","shouldForwardProp","prop","odysseyDesignTokens","gap","Spacing4","Spacing2","PaginationInput","_InputBase","borderColor","HueNeutral200","borderRadius","BorderRadiusTight","height","Spacing6","width","HueNeutral400","PalettePrimaryMain","PaginationButtonContainer","marginInlineStart","Pagination","currentPageLabel","isDisabled","isMoreDisabled","lastRow","loadMoreLabel","maxPageIndex","maxPageSize","nextLabel","onPaginationChange","pageIndex","pageSize","previousLabel","rowsPerPageLabel","totalRows","currentRowsCount","variant","page","setPage","rowsPerPage","setRowsPerPage","initialRowsPerPage","totalRowsLabel","handlePaginationChange","updatedPage","Math","ceil","updatedRowsPerPage","handlePageSubmit","event","key","parseInt","currentTarget","value","handleRowsPerPageSubmit","setPageFromEvent","min","target","setRowsPerPageFromEvent","handleLoadMore","current","handleNextButton","handlePreviousButton","loadMoreIsDisabled","nextButtonDisabled","previousButtonDisabled","rowsPerPageInputProps","max","currentPageInputProps","children","component","color","type","onChange","onBlur","onKeyDown","disabled","inputProps","startIcon","size","ariaLabel","onClick","endIcon","label","MemoizedPagination","displayName"],"sources":["../../src/Pagination/Pagination.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { InputBase } from \"@mui/material\";\nimport { memo, useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { Paragraph } from \"../Typography\";\nimport { Button } from \"../Button\";\nimport { ArrowLeftIcon, ArrowRightIcon } from \"../icons.generated\";\nimport styled from \"@emotion/styled\";\nimport {\n DesignTokens,\n useOdysseyDesignTokens,\n} from \"../OdysseyDesignTokensContext\";\nimport { Box } from \"../Box\";\nimport { paginationTypeValues } from \"./constants\";\nimport { usePagination } from \"./usePagination\";\n\nconst PaginationContainer = styled(\"div\")({\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n});\n\nconst PaginationSegment = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})(({ odysseyDesignTokens }: { odysseyDesignTokens: DesignTokens }) => ({\n display: \"flex\",\n alignItems: \"center\",\n gap: odysseyDesignTokens.Spacing4,\n \"& > div\": {\n display: \"flex\",\n alignItems: \"center\",\n gap: odysseyDesignTokens.Spacing2,\n },\n}));\n\nconst PaginationInput = styled(InputBase, {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})(({ odysseyDesignTokens }: { odysseyDesignTokens: DesignTokens }) => ({\n borderColor: odysseyDesignTokens.HueNeutral200,\n borderRadius: odysseyDesignTokens.BorderRadiusTight,\n height: odysseyDesignTokens.Spacing6,\n width: \"4.5714285714rem\", // This is a hardcoded value, keep as string\n \"&:hover\": {\n borderColor: odysseyDesignTokens.HueNeutral400,\n },\n \"&.Mui-focused:hover\": {\n borderColor: odysseyDesignTokens.PalettePrimaryMain,\n },\n}));\n\nconst PaginationButtonContainer = styled(\"div\")({\n \"& > *\": {\n marginInlineStart: `0 !important`,\n },\n});\n\nexport type PaginationProps = {\n /**\n * The labeled rendered for the current page index\n */\n currentPageLabel: string;\n /**\n * The number of items currently visible on the page\n */\n currentRowsCount?: number;\n /**\n * If true, the pagination controls will be disabled\n */\n isDisabled?: boolean;\n /**\n * If true, the next or Show More button will be disabled\n */\n isMoreDisabled?: boolean;\n /**\n * The current page last row index\n */\n lastRow: number;\n /**\n * If the pagination is of \"loadMore\" variant, then this is the the load more label\n */\n loadMoreLabel: string;\n /**\n * The max page\n */\n maxPageIndex?: number;\n /**\n * The max rows per page\n */\n maxPageSize?: number;\n /**\n * The label for the next control\n */\n nextLabel: string;\n /**\n * Page index and page size setter\n */\n onPaginationChange: ({\n pageIndex,\n pageSize,\n }: {\n pageIndex: number;\n pageSize: number;\n }) => void;\n /**\n * The current page index\n */\n pageIndex: number;\n /**\n * The current page size\n */\n pageSize: number;\n /**\n * The label for the previous control\n */\n previousLabel: string;\n /**\n * The label that shows how many results are rendered per page\n */\n rowsPerPageLabel: string;\n /**\n * Total rows count\n */\n totalRows?: number;\n /**\n * The type of pagination controls shown. Defaults to next/prev buttons, but can be\n * set to a simple \"Load more\" button by setting to \"loadMore\".\n */\n variant?: (typeof paginationTypeValues)[number];\n};\n\nconst Pagination = ({\n currentPageLabel,\n isDisabled,\n isMoreDisabled,\n lastRow,\n loadMoreLabel,\n maxPageIndex,\n maxPageSize,\n nextLabel,\n onPaginationChange,\n pageIndex,\n pageSize,\n previousLabel,\n rowsPerPageLabel,\n totalRows,\n currentRowsCount,\n variant,\n}: PaginationProps) => {\n const odysseyDesignTokens = useOdysseyDesignTokens();\n\n const [page, setPage] = useState<number>(pageIndex);\n const [rowsPerPage, setRowsPerPage] = useState<number>(pageSize);\n const initialRowsPerPage = useRef<number>(pageSize);\n\n useEffect(() => {\n setPage(pageIndex);\n setRowsPerPage(pageSize);\n }, [pageIndex, pageSize]);\n\n const { totalRowsLabel } = usePagination({\n pageIndex,\n pageSize,\n currentRowsCount: currentRowsCount || pageSize,\n totalRows,\n });\n\n const handlePaginationChange = useCallback(() => {\n const updatedPage =\n totalRows && page * totalRows > lastRow\n ? Math.ceil(totalRows / rowsPerPage)\n : page;\n const updatedRowsPerPage =\n totalRows && rowsPerPage > totalRows ? totalRows : rowsPerPage;\n\n onPaginationChange({\n pageIndex: updatedPage,\n pageSize: updatedRowsPerPage,\n });\n }, [page, rowsPerPage, lastRow, onPaginationChange, totalRows]);\n\n // The following handlers use React.KeyboardEvent (rather than just KeyboardEvent) becuase React.KeyboardEvent\n // is generic, while plain KeyboardEvent is not. We need this generic so we can specify the HTMLInputElement,\n // which allows us to use currentTarget.value\n const handlePageSubmit = useCallback(\n (event: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => {\n if (event.key === \"Enter\") {\n onPaginationChange({\n pageIndex: parseInt(event.currentTarget.value),\n pageSize: rowsPerPage,\n });\n }\n },\n [rowsPerPage, onPaginationChange],\n );\n\n const handleRowsPerPageSubmit = useCallback(\n (event: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => {\n if (event.key === \"Enter\") {\n onPaginationChange({\n pageIndex: page,\n pageSize: parseInt(event.currentTarget.value),\n });\n }\n },\n [page, onPaginationChange],\n );\n\n const setPageFromEvent = useCallback(\n (event: React.ChangeEvent<HTMLInputElement>) => {\n const value = maxPageIndex\n ? Math.min(parseInt(event.target.value), maxPageIndex)\n : parseInt(event.target.value);\n setPage(value);\n },\n [setPage, maxPageIndex],\n );\n\n const setRowsPerPageFromEvent = useCallback(\n (event: React.ChangeEvent<HTMLInputElement>) => {\n const value = maxPageSize\n ? Math.min(parseInt(event.target.value), maxPageSize)\n : parseInt(event.target.value);\n setRowsPerPage(value);\n },\n [setRowsPerPage, maxPageSize],\n );\n\n const handleLoadMore = useCallback(() => {\n onPaginationChange({\n pageIndex: 1,\n pageSize: rowsPerPage + initialRowsPerPage.current,\n });\n }, [rowsPerPage, onPaginationChange]);\n\n const handleNextButton = useCallback(() => {\n onPaginationChange({ pageIndex: page + 1, pageSize: rowsPerPage });\n }, [onPaginationChange, page, rowsPerPage]);\n\n const handlePreviousButton = useCallback(() => {\n onPaginationChange({ pageIndex: page - 1, pageSize: rowsPerPage });\n }, [onPaginationChange, page, rowsPerPage]);\n\n const loadMoreIsDisabled = useMemo(() => {\n return isMoreDisabled || (totalRows ? rowsPerPage >= totalRows : false);\n }, [isMoreDisabled, rowsPerPage, totalRows]);\n\n const nextButtonDisabled = useMemo(\n () =>\n isMoreDisabled ||\n (totalRows ? lastRow >= totalRows : false) ||\n isDisabled,\n [isMoreDisabled, totalRows, lastRow, isDisabled],\n );\n\n const previousButtonDisabled = useMemo(\n () => pageIndex <= 1 || isDisabled,\n [pageIndex, isDisabled],\n );\n\n const rowsPerPageInputProps = useMemo(\n () => ({\n \"aria-label\": rowsPerPageLabel,\n max: maxPageSize || totalRows,\n }),\n [maxPageSize, rowsPerPageLabel, totalRows],\n );\n\n const currentPageInputProps = useMemo(\n () => ({\n \"aria-label\": currentPageLabel,\n max: maxPageIndex,\n }),\n [currentPageLabel, maxPageIndex],\n );\n\n return variant === \"paged\" ? (\n <PaginationContainer>\n <PaginationSegment odysseyDesignTokens={odysseyDesignTokens}>\n <Box>\n <Paragraph component=\"span\" color=\"textSecondary\">\n {rowsPerPageLabel}\n </Paragraph>\n <PaginationInput\n odysseyDesignTokens={odysseyDesignTokens}\n type=\"number\"\n value={rowsPerPage}\n onChange={setRowsPerPageFromEvent}\n onBlur={handlePaginationChange}\n onKeyDown={handleRowsPerPageSubmit}\n disabled={isDisabled}\n inputProps={rowsPerPageInputProps}\n />\n </Box>\n <Paragraph component=\"span\" color=\"textSecondary\">\n {totalRowsLabel}\n </Paragraph>\n </PaginationSegment>\n\n <PaginationSegment odysseyDesignTokens={odysseyDesignTokens}>\n {totalRows && (\n <Box>\n <Paragraph component=\"span\" color=\"textSecondary\">\n {currentPageLabel}\n </Paragraph>\n <PaginationInput\n odysseyDesignTokens={odysseyDesignTokens}\n type=\"number\"\n value={page}\n onChange={setPageFromEvent}\n onBlur={handlePaginationChange}\n onKeyDown={handlePageSubmit}\n disabled={isDisabled}\n inputProps={currentPageInputProps}\n />\n </Box>\n )}\n <PaginationButtonContainer>\n <Button\n startIcon={<ArrowLeftIcon />}\n variant=\"floating\"\n size=\"small\"\n ariaLabel={previousLabel}\n onClick={handlePreviousButton}\n isDisabled={previousButtonDisabled}\n />\n <Button\n endIcon={<ArrowRightIcon />}\n variant=\"floating\"\n size=\"small\"\n ariaLabel={nextLabel}\n onClick={handleNextButton}\n isDisabled={nextButtonDisabled}\n />\n </PaginationButtonContainer>\n </PaginationSegment>\n </PaginationContainer>\n ) : (\n <Button\n variant=\"secondary\"\n label={loadMoreLabel}\n onClick={handleLoadMore}\n isDisabled={loadMoreIsDisabled}\n />\n );\n};\n\nconst MemoizedPagination = memo(Pagination);\nMemoizedPagination.displayName = \"Pagination\";\n\nexport { MemoizedPagination as Pagination };\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,SAASA,IAAI,EAAEC,WAAW,EAAEC,SAAS,EAAEC,OAAO,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAAC,SACvEC,SAAS;AAAA,SACTC,MAAM;AAAA,SACNC,aAA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AChC,CACF;AACH,CAAC;AAED,MAAMqB,kBAAkB,GAAG1G,IAAI,CAAC0C,UAAU,CAAC;AAC3CgE,kBAAkB,CAACC,WAAW,GAAG,YAAY;AAE7C,SAASD,kBAAkB,IAAIhE,UAAU"}
1
+ {"version":3,"file":"Pagination.js","names":["memo","useCallback","useEffect","useMemo","useRef","useState","Paragraph","Button","ArrowLeftIcon","ArrowRightIcon","styled","useOdysseyDesignTokens","Box","usePagination","jsx","_jsx","jsxs","_jsxs","PaginationContainer","display","alignItems","justifyContent","PaginationSegment","shouldForwardProp","prop","odysseyDesignTokens","gap","Spacing4","Spacing2","PaginationInput","_InputBase","borderColor","HueNeutral200","borderRadius","BorderRadiusTight","height","Spacing6","width","HueNeutral400","PalettePrimaryMain","PaginationButtonContainer","marginInlineStart","Pagination","currentPageLabel","isDisabled","isMoreDisabled","lastRow","loadMoreLabel","maxPageIndex","maxPageSize","nextLabel","onPaginationChange","pageIndex","pageSize","previousLabel","rowsPerPageLabel","totalRows","currentRowsCount","variant","page","setPage","rowsPerPage","setRowsPerPage","initialRowsPerPage","totalRowsLabel","handlePaginationChange","updatedPage","Math","ceil","updatedRowsPerPage","handlePageSubmit","event","key","parseInt","currentTarget","value","handleRowsPerPageSubmit","setPageFromEvent","min","target","setRowsPerPageFromEvent","max","handleLoadMore","current","handleNextButton","handlePreviousButton","loadMoreIsDisabled","nextButtonDisabled","previousButtonDisabled","rowsPerPageInputProps","currentPageInputProps","children","component","color","type","onChange","onBlur","onKeyDown","disabled","inputProps","startIcon","size","ariaLabel","onClick","endIcon","label","MemoizedPagination","displayName"],"sources":["../../src/Pagination/Pagination.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { InputBase } from \"@mui/material\";\nimport { memo, useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { Paragraph } from \"../Typography\";\nimport { Button } from \"../Button\";\nimport { ArrowLeftIcon, ArrowRightIcon } from \"../icons.generated\";\nimport styled from \"@emotion/styled\";\nimport {\n DesignTokens,\n useOdysseyDesignTokens,\n} from \"../OdysseyDesignTokensContext\";\nimport { Box } from \"../Box\";\nimport { paginationTypeValues } from \"./constants\";\nimport { usePagination } from \"./usePagination\";\n\nconst PaginationContainer = styled(\"div\")({\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n});\n\nconst PaginationSegment = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})(({ odysseyDesignTokens }: { odysseyDesignTokens: DesignTokens }) => ({\n display: \"flex\",\n alignItems: \"center\",\n gap: odysseyDesignTokens.Spacing4,\n \"& > div\": {\n display: \"flex\",\n alignItems: \"center\",\n gap: odysseyDesignTokens.Spacing2,\n },\n}));\n\nconst PaginationInput = styled(InputBase, {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})(({ odysseyDesignTokens }: { odysseyDesignTokens: DesignTokens }) => ({\n borderColor: odysseyDesignTokens.HueNeutral200,\n borderRadius: odysseyDesignTokens.BorderRadiusTight,\n height: odysseyDesignTokens.Spacing6,\n width: \"4.5714285714rem\", // This is a hardcoded value, keep as string\n \"&:hover\": {\n borderColor: odysseyDesignTokens.HueNeutral400,\n },\n \"&.Mui-focused:hover\": {\n borderColor: odysseyDesignTokens.PalettePrimaryMain,\n },\n}));\n\nconst PaginationButtonContainer = styled(\"div\")({\n \"& > *\": {\n marginInlineStart: `0 !important`,\n },\n});\n\nexport type PaginationProps = {\n /**\n * The labeled rendered for the current page index\n */\n currentPageLabel: string;\n /**\n * The number of items currently visible on the page\n */\n currentRowsCount?: number;\n /**\n * If true, the pagination controls will be disabled\n */\n isDisabled?: boolean;\n /**\n * If true, the next or Show More button will be disabled\n */\n isMoreDisabled?: boolean;\n /**\n * The current page last row index\n */\n lastRow: number;\n /**\n * If the pagination is of \"loadMore\" variant, then this is the the load more label\n */\n loadMoreLabel: string;\n /**\n * The max page\n */\n maxPageIndex?: number;\n /**\n * The max rows per page\n */\n maxPageSize?: number;\n /**\n * The label for the next control\n */\n nextLabel: string;\n /**\n * Page index and page size setter\n */\n onPaginationChange: ({\n pageIndex,\n pageSize,\n }: {\n pageIndex: number;\n pageSize: number;\n }) => void;\n /**\n * The current page index\n */\n pageIndex: number;\n /**\n * The current page size\n */\n pageSize: number;\n /**\n * The label for the previous control\n */\n previousLabel: string;\n /**\n * The label that shows how many results are rendered per page\n */\n rowsPerPageLabel: string;\n /**\n * Total rows count\n */\n totalRows?: number;\n /**\n * The type of pagination controls shown. Defaults to next/prev buttons, but can be\n * set to a simple \"Load more\" button by setting to \"loadMore\".\n */\n variant?: (typeof paginationTypeValues)[number];\n};\n\nconst Pagination = ({\n currentPageLabel,\n isDisabled,\n isMoreDisabled,\n lastRow,\n loadMoreLabel,\n maxPageIndex,\n maxPageSize,\n nextLabel,\n onPaginationChange,\n pageIndex,\n pageSize,\n previousLabel,\n rowsPerPageLabel,\n totalRows,\n currentRowsCount,\n variant,\n}: PaginationProps) => {\n const odysseyDesignTokens = useOdysseyDesignTokens();\n\n const [page, setPage] = useState<number>(pageIndex);\n const [rowsPerPage, setRowsPerPage] = useState<number>(pageSize);\n const initialRowsPerPage = useRef<number>(pageSize);\n\n useEffect(() => {\n setPage(pageIndex);\n setRowsPerPage(pageSize);\n }, [pageIndex, pageSize]);\n\n const { totalRowsLabel } = usePagination({\n pageIndex,\n pageSize,\n currentRowsCount: currentRowsCount || pageSize,\n totalRows,\n });\n\n const handlePaginationChange = useCallback(() => {\n const updatedPage =\n totalRows && page * totalRows > lastRow\n ? Math.ceil(totalRows / rowsPerPage)\n : page;\n const updatedRowsPerPage =\n totalRows && rowsPerPage > totalRows ? totalRows : rowsPerPage;\n\n onPaginationChange({\n pageIndex: updatedPage,\n pageSize: updatedRowsPerPage,\n });\n }, [page, rowsPerPage, lastRow, onPaginationChange, totalRows]);\n\n // The following handlers use React.KeyboardEvent (rather than just KeyboardEvent) becuase React.KeyboardEvent\n // is generic, while plain KeyboardEvent is not. We need this generic so we can specify the HTMLInputElement,\n // which allows us to use currentTarget.value\n const handlePageSubmit = useCallback(\n (event: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => {\n if (event.key === \"Enter\") {\n onPaginationChange({\n pageIndex: parseInt(event.currentTarget.value),\n pageSize: rowsPerPage,\n });\n }\n },\n [rowsPerPage, onPaginationChange],\n );\n\n const handleRowsPerPageSubmit = useCallback(\n (event: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => {\n if (event.key === \"Enter\") {\n onPaginationChange({\n pageIndex: page,\n pageSize: parseInt(event.currentTarget.value),\n });\n }\n },\n [page, onPaginationChange],\n );\n\n const setPageFromEvent = useCallback(\n (event: React.ChangeEvent<HTMLInputElement>) => {\n const value = maxPageIndex\n ? Math.min(parseInt(event.target.value), maxPageIndex)\n : parseInt(event.target.value);\n setPage(value);\n },\n [setPage, maxPageIndex],\n );\n\n const setRowsPerPageFromEvent = useCallback(\n (event: React.ChangeEvent<HTMLInputElement>) => {\n const value = maxPageSize\n ? Math.min(parseInt(event.target.value), maxPageSize)\n : parseInt(event.target.value);\n\n // Ensure the value can't be less than 1\n setRowsPerPage(Math.max(1, value));\n },\n [setRowsPerPage, maxPageSize],\n );\n\n const handleLoadMore = useCallback(() => {\n onPaginationChange({\n pageIndex: 1,\n pageSize: rowsPerPage + initialRowsPerPage.current,\n });\n }, [rowsPerPage, onPaginationChange]);\n\n const handleNextButton = useCallback(() => {\n onPaginationChange({ pageIndex: page + 1, pageSize: rowsPerPage });\n }, [onPaginationChange, page, rowsPerPage]);\n\n const handlePreviousButton = useCallback(() => {\n onPaginationChange({ pageIndex: page - 1, pageSize: rowsPerPage });\n }, [onPaginationChange, page, rowsPerPage]);\n\n const loadMoreIsDisabled = useMemo(() => {\n return isMoreDisabled || (totalRows ? rowsPerPage >= totalRows : false);\n }, [isMoreDisabled, rowsPerPage, totalRows]);\n\n const nextButtonDisabled = useMemo(\n () =>\n isMoreDisabled ||\n (totalRows ? lastRow >= totalRows : false) ||\n isDisabled,\n [isMoreDisabled, totalRows, lastRow, isDisabled],\n );\n\n const previousButtonDisabled = useMemo(\n () => pageIndex <= 1 || isDisabled,\n [pageIndex, isDisabled],\n );\n\n const rowsPerPageInputProps = useMemo(\n () => ({\n \"aria-label\": rowsPerPageLabel,\n max: maxPageSize || totalRows,\n }),\n [maxPageSize, rowsPerPageLabel, totalRows],\n );\n\n const currentPageInputProps = useMemo(\n () => ({\n \"aria-label\": currentPageLabel,\n max: maxPageIndex,\n }),\n [currentPageLabel, maxPageIndex],\n );\n\n return variant === \"paged\" ? (\n <PaginationContainer>\n <PaginationSegment odysseyDesignTokens={odysseyDesignTokens}>\n <Box>\n <Paragraph component=\"span\" color=\"textSecondary\">\n {rowsPerPageLabel}\n </Paragraph>\n <PaginationInput\n odysseyDesignTokens={odysseyDesignTokens}\n type=\"number\"\n value={rowsPerPage}\n onChange={setRowsPerPageFromEvent}\n onBlur={handlePaginationChange}\n onKeyDown={handleRowsPerPageSubmit}\n disabled={isDisabled}\n inputProps={rowsPerPageInputProps}\n />\n </Box>\n <Paragraph component=\"span\" color=\"textSecondary\">\n {totalRowsLabel}\n </Paragraph>\n </PaginationSegment>\n\n <PaginationSegment odysseyDesignTokens={odysseyDesignTokens}>\n {totalRows && (\n <Box>\n <Paragraph component=\"span\" color=\"textSecondary\">\n {currentPageLabel}\n </Paragraph>\n <PaginationInput\n odysseyDesignTokens={odysseyDesignTokens}\n type=\"number\"\n value={page}\n onChange={setPageFromEvent}\n onBlur={handlePaginationChange}\n onKeyDown={handlePageSubmit}\n disabled={isDisabled}\n inputProps={currentPageInputProps}\n />\n </Box>\n )}\n <PaginationButtonContainer>\n <Button\n startIcon={<ArrowLeftIcon />}\n variant=\"floating\"\n size=\"small\"\n ariaLabel={previousLabel}\n onClick={handlePreviousButton}\n isDisabled={previousButtonDisabled}\n />\n <Button\n endIcon={<ArrowRightIcon />}\n variant=\"floating\"\n size=\"small\"\n ariaLabel={nextLabel}\n onClick={handleNextButton}\n isDisabled={nextButtonDisabled}\n />\n </PaginationButtonContainer>\n </PaginationSegment>\n </PaginationContainer>\n ) : (\n <Button\n variant=\"secondary\"\n label={loadMoreLabel}\n onClick={handleLoadMore}\n isDisabled={loadMoreIsDisabled}\n />\n );\n};\n\nconst MemoizedPagination = memo(Pagination);\nMemoizedPagination.displayName = \"Pagination\";\n\nexport { MemoizedPagination as Pagination };\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,SAASA,IAAI,EAAEC,WAAW,EAAEC,SAAS,EAAEC,OAAO,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAAC,SACvEC,SAAS;AAAA,SACTC,MAAM;AAAA,SACNC,aAAa,EAAEC,cAAc;AACtC,OAAOC,MAAM,MAAM,iBAAiB;AAAC,SAGnCC,sBAAsB;AAAA,SAEfC,GAAG;AAAA,SAEHC,aAAa;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAAA,SAAAC,IAAA,IAAAC,KAAA;AAEtB,MAAMC,mBAAmB,GAAGR,MAAM,CAAC,KAAK,CAAC,CAAC;EACxCS,OAAO,EAAE,MAAM;EACfC,UAAU,EAAE,QAAQ;EACpBC,cAAc,EAAE;AAClB,CAAC,CAAC;AAEF,MAAMC,iBAAiB,GAAGZ,MAAM,CAAC,KAAK,EAAE;EACtCa,iBAAiB,EAAGC,IAAI,IAAKA,IAAI,KAAK;AACxC,CAAC,CAAC,CAAC,CAAC;EAAEC;AAA2D,CAAC,MAAM;EACtEN,OAAO,EAAE,MAAM;EAC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EtD,UAAW;UACrBuD,UAAU,EAAET;QAAsB,CACnC,CAAC;MAAA,CACC,CACN,EACDzE,KAAA,CAACuB,yBAAyB;QAAAmD,QAAA,GACxB5E,IAAA,CAACR,MAAM;UACL6F,SAAS,EAAErF,IAAA,CAACP,aAAa,IAAE,CAAE;UAC7BkD,OAAO,EAAC,UAAU;UAClB2C,IAAI,EAAC,OAAO;UACZC,SAAS,EAAEhD,aAAc;UACzBiD,OAAO,EAAElB,oBAAqB;UAC9BzC,UAAU,EAAE4C;QAAuB,CACpC,CAAC,EACFzE,IAAA,CAACR,MAAM;UACLiG,OAAO,EAAEzF,IAAA,CAACN,cAAc,IAAE,CAAE;UAC5BiD,OAAO,EAAC,UAAU;UAClB2C,IAAI,EAAC,OAAO;UACZC,SAAS,EAAEpD,SAAU;UACrBqD,OAAO,EAAEnB,gBAAiB;UAC1BxC,UAAU,EAAE2C;QAAmB,CAChC,CAAC;MAAA,CACuB,CAAC;IAAA,CACX,CAAC;EAAA,CACD,CAAC,GAEtBxE,IAAA,CAACR,MAAM;IACLmD,OAAO,EAAC,WAAW;IACnB+C,KAAK,EAAE1D,aAAc;IACrBwD,OAAO,EAAErB,cAAe;IACxBtC,UAAU,EAAE0C;EAAmB,CAChC,CACF;AACH,CAAC;AAED,MAAMoB,kBAAkB,GAAG1G,IAAI,CAAC0C,UAAU,CAAC;AAC3CgE,kBAAkB,CAACC,WAAW,GAAG,YAAY;AAE7C,SAASD,kBAAkB,IAAIhE,UAAU"}
package/dist/index.scss CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Wed, 07 Aug 2024 19:37:56 GMT
4
+ * Generated on Fri, 09 Aug 2024 19:25:30 GMT
5
5
  */
6
6
 
7
7
  $border-color-control: #8d8d8d !default;
@@ -145,9 +145,9 @@ const DataView = ({
145
145
  getData,
146
146
  setData,
147
147
  setErrorMessage,
148
- setIsLoading
148
+ setIsLoading: isLoadingProp ? undefined : setIsLoading
149
149
  });
150
- }, [dataQueryParams, errorMessageProp, getData]);
150
+ }, [dataQueryParams, errorMessageProp, getData, isLoadingProp]);
151
151
  useEffect(() => {
152
152
  setIsEmpty(pagination.pageIndex === currentPage && pagination.pageSize === resultsPerPage && search === "" && filters === initialFilters && data.length === 0);
153
153
  }, [currentPage, data, filters, initialFilters, pagination, resultsPerPage, search]);
@@ -1 +1 @@
1
- {"version":3,"file":"DataView.js","names":["memo","useEffect","useMemo","useState","useTranslation","availableLayouts","allAvailableLayouts","densityValues","Box","BulkActionsMenu","Callout","DataFilters","EmptyState","fetchData","LayoutSwitcher","TableSettings","Pagination","usePagination","TableContent","StackContent","useFilterConversion","useRowReordering","useOdysseyDesignTokens","styled","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","DataViewContainer","shouldForwardProp","prop","odysseyDesignTokens","display","flexDirection","gap","Spacing4","BulkActionsContainer","justifyContent","AdditionalActionsContainer","DataView","bulkActionMenuItems","currentPage","emptyPlaceholder","errorMessage","errorMessageProp","filters","filtersProp","getData","getRowId","getRowIdProp","hasFilters","hasPagination","hasSearch","hasSearchSubmitButton","hasRowReordering","hasRowSelection","initialLayout","isEmpty","isEmptyProp","isLoading","isLoadingProp","isNoResults","isNoResultsProp","isPaginationMoreDisabled","isRowReorderingDisabled","noResultsPlaceholder","onChangeRowSelection","onReorderRows","paginationType","resultsPerPage","searchDelayTime","stackOptions","tableOptions","totalRows","maxPages","maxResultsPerPage","t","currentLayout","setCurrentLayout","data","setData","setIsLoading","setIsEmpty","setIsNoResults","setErrorMessage","search","setSearch","initialFilters","setInitialFilters","setFilters","draggingRow","setDraggingRow","rowSelection","setRowSelection","pagination","setPagination","pageIndex","pageSize","tableState","setTableState","columnSorting","columnVisibility","rowDensity","initialDensity","shouldShowFilters","availableFilters","columns","dataQueryParams","page","sort","row","id","prev","length","prevValue","emptyState","noResultsInnerContent","description","heading","additionalActions","children","lastRow","lastRowOnPage","currentRowsCount","rowReorderingUtilities","severity","text","undefined","isDisabled","onChangeFilters","onChangeSearch","menuItems","currentPageLabel","isMoreDisabled","loadMoreLabel","maxPageIndex","maxPageSize","nextLabel","onPaginationChange","previousLabel","rowsPerPageLabel","variant","MemoizedDataView","displayName"],"sources":["../../../src/labs/DataComponents/DataView.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { memo, useEffect, useMemo, useState } from \"react\";\nimport {\n MRT_Row,\n MRT_RowData,\n MRT_RowSelectionState,\n} from \"material-react-table\";\nimport { useTranslation } from \"react-i18next\";\n\nimport {\n availableLayouts as allAvailableLayouts,\n densityValues,\n} from \"./constants\";\nimport {\n DataLayout,\n UniversalProps,\n ViewProps,\n TableState,\n} from \"./componentTypes\";\nimport { Box } from \"../../Box\";\nimport { BulkActionsMenu } from \"./BulkActionsMenu\";\nimport { Callout } from \"../../Callout\";\nimport { DataFilters } from \"../DataFilters\";\nimport { EmptyState } from \"../../EmptyState\";\nimport { fetchData } from \"./fetchData\";\nimport { LayoutSwitcher } from \"./LayoutSwitcher\";\nimport { TableSettings } from \"./TableSettings\";\nimport { Pagination, usePagination } from \"../../Pagination\";\nimport { TableContent } from \"./TableContent\";\nimport { StackContent } from \"./StackContent\";\nimport { useFilterConversion } from \"./useFilterConversion\";\nimport { useRowReordering } from \"../../DataTable/useRowReordering\";\nimport {\n DesignTokens,\n useOdysseyDesignTokens,\n} from \"../../OdysseyDesignTokensContext\";\nimport styled from \"@emotion/styled\";\n\nexport type DataViewProps = UniversalProps & ViewProps<DataLayout>;\n\nconst DataViewContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{ odysseyDesignTokens: DesignTokens }>(({ odysseyDesignTokens }) => ({\n display: \"flex\",\n flexDirection: \"column\",\n gap: odysseyDesignTokens.Spacing4,\n}));\n\nconst BulkActionsContainer = styled(\"div\")(() => ({\n display: \"flex\",\n justifyContent: \"space-between\",\n}));\n\nconst AdditionalActionsContainer = styled(\"div\")(() => ({\n display: \"flex\",\n justifyContent: \"flex-end\",\n}));\n\nconst DataView = ({\n availableLayouts = allAvailableLayouts,\n bulkActionMenuItems,\n currentPage = 1,\n emptyPlaceholder,\n errorMessage: errorMessageProp,\n filters: filtersProp,\n getData,\n getRowId: getRowIdProp,\n hasFilters,\n hasPagination,\n hasSearch,\n hasSearchSubmitButton,\n hasRowReordering,\n hasRowSelection,\n initialLayout,\n isEmpty: isEmptyProp,\n isLoading: isLoadingProp,\n isNoResults: isNoResultsProp,\n isPaginationMoreDisabled,\n isRowReorderingDisabled,\n noResultsPlaceholder,\n onChangeRowSelection,\n onReorderRows,\n paginationType = \"paged\",\n resultsPerPage = 20,\n searchDelayTime,\n stackOptions,\n tableOptions,\n totalRows,\n maxPages,\n maxResultsPerPage,\n}: DataViewProps) => {\n const odysseyDesignTokens = useOdysseyDesignTokens();\n const { t } = useTranslation();\n\n const [currentLayout, setCurrentLayout] = useState<DataLayout>(\n initialLayout ?? availableLayouts[0],\n );\n\n const [data, setData] = useState<MRT_RowData[]>([]);\n const [isLoading, setIsLoading] = useState<boolean>(isLoadingProp ?? true);\n const [isEmpty, setIsEmpty] = useState<boolean>(isEmptyProp ?? true);\n const [isNoResults, setIsNoResults] = useState<boolean>(\n isNoResultsProp ?? false,\n );\n const [errorMessage, setErrorMessage] =\n useState<UniversalProps[\"errorMessage\"]>(errorMessageProp);\n\n const [search, setSearch] = useState<string>(\"\");\n\n const [initialFilters, setInitialFilters] =\n useState<UniversalProps[\"filters\"]>(filtersProp);\n const [filters, setFilters] =\n useState<UniversalProps[\"filters\"]>(filtersProp);\n\n const [draggingRow, setDraggingRow] = useState<MRT_Row<MRT_RowData> | null>();\n\n const [rowSelection, setRowSelection] = useState<MRT_RowSelectionState>({});\n\n useEffect(() => {\n onChangeRowSelection?.(rowSelection);\n }, [rowSelection, onChangeRowSelection]);\n\n const [pagination, setPagination] = useState({\n pageIndex: currentPage,\n pageSize: resultsPerPage,\n });\n\n const [tableState, setTableState] = useState<TableState>({\n columnSorting: [],\n columnVisibility: {},\n rowDensity: tableOptions?.initialDensity ?? densityValues[0],\n });\n\n const shouldShowFilters = hasSearch || hasFilters;\n\n const availableFilters = useFilterConversion({\n filters: filters,\n columns: tableOptions?.columns,\n });\n\n useEffect(() => {\n if (!initialFilters && availableFilters) {\n setInitialFilters(availableFilters);\n }\n }, [availableFilters, initialFilters]);\n\n const dataQueryParams = useMemo(\n () => ({\n page: pagination.pageIndex,\n resultsPerPage: pagination.pageSize,\n search,\n filters: availableFilters,\n sort: tableState?.columnSorting,\n }),\n [\n pagination.pageIndex,\n pagination.pageSize,\n search,\n availableFilters,\n tableState?.columnSorting,\n ],\n );\n\n const getRowId = getRowIdProp ? getRowIdProp : (row: MRT_RowData) => row.id;\n\n // Update pagination state if props change\n useEffect(() => {\n setPagination({\n pageIndex: currentPage,\n pageSize: resultsPerPage,\n });\n }, [currentPage, resultsPerPage]);\n\n // Reset pagination if search or filters change\n useEffect(() => {\n setPagination((prev) => ({\n pageIndex: 1,\n pageSize: prev.pageSize,\n }));\n }, [filters, search]);\n\n // Retrieve the data\n useEffect(() => {\n fetchData({\n dataQueryParams,\n errorMessageProp,\n getData,\n setData,\n setErrorMessage,\n setIsLoading,\n });\n }, [dataQueryParams, errorMessageProp, getData]);\n\n // When data is updated\n useEffect(() => {\n setIsEmpty(\n pagination.pageIndex === currentPage &&\n pagination.pageSize === resultsPerPage &&\n search === \"\" &&\n filters === initialFilters &&\n data.length === 0,\n );\n }, [\n currentPage,\n data,\n filters,\n initialFilters,\n pagination,\n resultsPerPage,\n search,\n ]);\n\n // Change loading, empty and noResults state on prop change\n useEffect(() => {\n setIsLoading((prevValue) => isLoadingProp ?? prevValue);\n }, [isLoadingProp]);\n\n useEffect(() => {\n setIsEmpty((prevValue) => isEmptyProp ?? prevValue);\n }, [isEmptyProp]);\n\n useEffect(() => {\n setIsNoResults((prevValue) => isNoResultsProp ?? prevValue);\n }, [isNoResultsProp]);\n\n const emptyState = useMemo(() => {\n const noResultsInnerContent = noResultsPlaceholder || (\n <EmptyState\n description={t(\"table.noresults.text\")}\n heading={t(\"table.noresults.heading\")}\n />\n );\n\n if (isEmpty) {\n return emptyPlaceholder || noResultsInnerContent;\n }\n\n if (isNoResults) {\n return noResultsInnerContent;\n }\n\n return;\n }, [noResultsPlaceholder, t, isEmpty, isNoResults, emptyPlaceholder]);\n\n const additionalActions = useMemo(\n () => (\n <>\n {currentLayout === \"table\" && tableOptions && (\n <TableSettings\n setTableState={setTableState}\n tableOptions={tableOptions}\n tableState={tableState}\n />\n )}\n\n {availableLayouts.length > 1 && (\n <LayoutSwitcher\n availableLayouts={availableLayouts}\n currentLayout={currentLayout}\n setCurrentLayout={setCurrentLayout}\n />\n )}\n </>\n ),\n [currentLayout, tableOptions, tableState, availableLayouts],\n );\n\n const { lastRow: lastRowOnPage } = usePagination({\n currentRowsCount: data.length,\n pageIndex: pagination.pageIndex,\n pageSize: pagination.pageSize,\n totalRows,\n });\n\n const rowReorderingUtilities = useRowReordering({\n totalRows,\n onReorderRows,\n data,\n setData,\n draggingRow,\n setDraggingRow,\n resultsPerPage: pagination.pageSize,\n page: pagination.pageIndex,\n });\n\n return (\n <DataViewContainer odysseyDesignTokens={odysseyDesignTokens}>\n {errorMessage && (\n <Box>\n <Callout severity=\"error\" text={errorMessage} />\n </Box>\n )}\n\n {shouldShowFilters && (\n <DataFilters\n additionalActions={additionalActions}\n filters={hasFilters ? availableFilters : undefined}\n hasSearchSubmitButton={hasSearchSubmitButton}\n isDisabled={isEmpty}\n onChangeFilters={hasFilters ? setFilters : undefined}\n onChangeSearch={hasSearch ? setSearch : undefined}\n searchDelayTime={searchDelayTime}\n />\n )}\n\n {(bulkActionMenuItems || hasRowSelection) && (\n <BulkActionsContainer>\n <BulkActionsMenu\n data={data}\n menuItems={bulkActionMenuItems}\n rowSelection={rowSelection}\n setRowSelection={setRowSelection}\n />\n {!shouldShowFilters && additionalActions}\n </BulkActionsContainer>\n )}\n\n {!shouldShowFilters && !bulkActionMenuItems && !hasRowSelection && (\n <AdditionalActionsContainer>\n {additionalActions}\n </AdditionalActionsContainer>\n )}\n\n {currentLayout === \"table\" && tableOptions && (\n <TableContent\n columns={tableOptions.columns}\n data={data}\n draggingRow={draggingRow}\n emptyState={emptyState}\n getRowId={getRowId}\n hasRowReordering={hasRowReordering}\n hasRowSelection={hasRowSelection}\n isEmpty={isEmpty}\n isLoading={isLoading}\n isNoResults={isNoResults}\n isRowReorderingDisabled={isRowReorderingDisabled}\n onReorderRows={onReorderRows}\n pagination={pagination}\n rowReorderingUtilities={rowReorderingUtilities}\n rowSelection={rowSelection}\n setRowSelection={setRowSelection}\n setTableState={setTableState}\n tableOptions={tableOptions}\n tableState={tableState}\n totalRows={totalRows}\n />\n )}\n {(currentLayout === \"list\" || currentLayout === \"grid\") &&\n stackOptions && (\n <StackContent\n currentLayout={currentLayout}\n data={data}\n draggingRow={draggingRow}\n emptyState={emptyState}\n getRowId={getRowId}\n hasRowReordering={hasRowReordering}\n hasRowSelection={hasRowSelection}\n isEmpty={isEmpty}\n isLoading={isLoading}\n isNoResults={isNoResults}\n isRowReorderingDisabled={isRowReorderingDisabled}\n onReorderRows={onReorderRows}\n pagination={pagination}\n rowReorderingUtilities={rowReorderingUtilities}\n rowSelection={rowSelection}\n setRowSelection={setRowSelection}\n stackOptions={stackOptions}\n totalRows={totalRows}\n />\n )}\n\n {hasPagination && (\n <Pagination\n currentPageLabel={t(\"pagination.page\")}\n isDisabled={isEmpty}\n isMoreDisabled={isPaginationMoreDisabled}\n lastRow={lastRowOnPage}\n loadMoreLabel={t(\"pagination.loadmore\")}\n maxPageIndex={maxPages}\n maxPageSize={maxResultsPerPage}\n nextLabel={t(\"pagination.next\")}\n onPaginationChange={setPagination}\n pageIndex={pagination.pageIndex}\n pageSize={pagination.pageSize}\n previousLabel={t(\"pagination.previous\")}\n rowsPerPageLabel={t(\"pagination.rowsperpage\")}\n totalRows={totalRows}\n currentRowsCount={data.length}\n variant={paginationType}\n />\n )}\n </DataViewContainer>\n );\n};\n\nconst MemoizedDataView = memo(DataView);\nMemoizedDataView.displayName = \"DataView\";\n\nexport { MemoizedDataView as DataView };\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,IAAI,EAAEC,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAM1D,SAASC,cAAc,QAAQ,eAAe;AAAC,SAG7CC,gBAAgB,IAAIC,mBAAmB,EACvCC,aAAa;AAAA,SAQNC,GAAG;AAAA,SACHC,eAAe;AAAA,SACfC,OAAO;AAAA,SACPC,WAAW;AAAA,SACXC,UAAU;AAAA,SACVC,SAAS;AAAA,SACTC,cAAc;AAAA,SACdC,aAAa;AAAA,SACbC,UAAU,EAAEC,aAAa;AAAA,SACzBC,YAAY;AAAA,SACZC,YAAY;AAAA,SACZC,mBAAmB;AAAA,SACnBC,gBAAgB;AAAA,SAGvBC,sBAAsB;AAExB,OAAOC,MAAM,MAAM,iBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAAA,SAAAC,QAAA,IAAAC,SAAA;AAAA,SAAAC,IAAA,IAAAC,KAAA;AAIrC,MAAMC,iBAAiB,GAAGP,MAAM,CAAC,KAAK,EAAE;EACtCQ,iBAAiB,EAAGC,IAAI,IAAKA,IAAI,KAAK;AACxC,CAAC,CAAC,CAAwC,CAAC;EAAEC;AAAoB,CAAC,MAAM;EACtEC,OAAO,EAAE,MAAM;EACfC,aAAa,EAAE,QAAQ;EACvBC,GAAG,EAAEH,mBAAmB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AAS,EAAEF,UAAU,CAACE,SAAU;MAChCC,QAAQ,EAAEH,UAAU,CAACG,QAAS;MAC9B0C,aAAa,EAAE/D,CAAC,CAAC,qBAAqB,CAAE;MACxCgE,gBAAgB,EAAEhE,CAAC,CAAC,wBAAwB,CAAE;MAC9CH,SAAS,EAAEA,SAAU;MACrBkD,gBAAgB,EAAE5C,IAAI,CAACkC,MAAO;MAC9B4B,OAAO,EAAEzE;IAAe,CACzB,CACF;EAAA,CACgB,CAAC;AAExB,CAAC;AAED,MAAM0E,gBAAgB,GAAGhJ,IAAI,CAACyC,QAAQ,CAAC;AACvCuG,gBAAgB,CAACC,WAAW,GAAG,UAAU;AAEzC,SAASD,gBAAgB,IAAIvG,QAAQ"}
1
+ {"version":3,"file":"DataView.js","names":["memo","useEffect","useMemo","useState","useTranslation","availableLayouts","allAvailableLayouts","densityValues","Box","BulkActionsMenu","Callout","DataFilters","EmptyState","fetchData","LayoutSwitcher","TableSettings","Pagination","usePagination","TableContent","StackContent","useFilterConversion","useRowReordering","useOdysseyDesignTokens","styled","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","DataViewContainer","shouldForwardProp","prop","odysseyDesignTokens","display","flexDirection","gap","Spacing4","BulkActionsContainer","justifyContent","AdditionalActionsContainer","DataView","bulkActionMenuItems","currentPage","emptyPlaceholder","errorMessage","errorMessageProp","filters","filtersProp","getData","getRowId","getRowIdProp","hasFilters","hasPagination","hasSearch","hasSearchSubmitButton","hasRowReordering","hasRowSelection","initialLayout","isEmpty","isEmptyProp","isLoading","isLoadingProp","isNoResults","isNoResultsProp","isPaginationMoreDisabled","isRowReorderingDisabled","noResultsPlaceholder","onChangeRowSelection","onReorderRows","paginationType","resultsPerPage","searchDelayTime","stackOptions","tableOptions","totalRows","maxPages","maxResultsPerPage","t","currentLayout","setCurrentLayout","data","setData","setIsLoading","setIsEmpty","setIsNoResults","setErrorMessage","search","setSearch","initialFilters","setInitialFilters","setFilters","draggingRow","setDraggingRow","rowSelection","setRowSelection","pagination","setPagination","pageIndex","pageSize","tableState","setTableState","columnSorting","columnVisibility","rowDensity","initialDensity","shouldShowFilters","availableFilters","columns","dataQueryParams","page","sort","row","id","prev","undefined","length","prevValue","emptyState","noResultsInnerContent","description","heading","additionalActions","children","lastRow","lastRowOnPage","currentRowsCount","rowReorderingUtilities","severity","text","isDisabled","onChangeFilters","onChangeSearch","menuItems","currentPageLabel","isMoreDisabled","loadMoreLabel","maxPageIndex","maxPageSize","nextLabel","onPaginationChange","previousLabel","rowsPerPageLabel","variant","MemoizedDataView","displayName"],"sources":["../../../src/labs/DataComponents/DataView.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { memo, useEffect, useMemo, useState } from \"react\";\nimport {\n MRT_Row,\n MRT_RowData,\n MRT_RowSelectionState,\n} from \"material-react-table\";\nimport { useTranslation } from \"react-i18next\";\n\nimport {\n availableLayouts as allAvailableLayouts,\n densityValues,\n} from \"./constants\";\nimport {\n DataLayout,\n UniversalProps,\n ViewProps,\n TableState,\n} from \"./componentTypes\";\nimport { Box } from \"../../Box\";\nimport { BulkActionsMenu } from \"./BulkActionsMenu\";\nimport { Callout } from \"../../Callout\";\nimport { DataFilters } from \"../DataFilters\";\nimport { EmptyState } from \"../../EmptyState\";\nimport { fetchData } from \"./fetchData\";\nimport { LayoutSwitcher } from \"./LayoutSwitcher\";\nimport { TableSettings } from \"./TableSettings\";\nimport { Pagination, usePagination } from \"../../Pagination\";\nimport { TableContent } from \"./TableContent\";\nimport { StackContent } from \"./StackContent\";\nimport { useFilterConversion } from \"./useFilterConversion\";\nimport { useRowReordering } from \"../../DataTable/useRowReordering\";\nimport {\n DesignTokens,\n useOdysseyDesignTokens,\n} from \"../../OdysseyDesignTokensContext\";\nimport styled from \"@emotion/styled\";\n\nexport type DataViewProps = UniversalProps & ViewProps<DataLayout>;\n\nconst DataViewContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{ odysseyDesignTokens: DesignTokens }>(({ odysseyDesignTokens }) => ({\n display: \"flex\",\n flexDirection: \"column\",\n gap: odysseyDesignTokens.Spacing4,\n}));\n\nconst BulkActionsContainer = styled(\"div\")(() => ({\n display: \"flex\",\n justifyContent: \"space-between\",\n}));\n\nconst AdditionalActionsContainer = styled(\"div\")(() => ({\n display: \"flex\",\n justifyContent: \"flex-end\",\n}));\n\nconst DataView = ({\n availableLayouts = allAvailableLayouts,\n bulkActionMenuItems,\n currentPage = 1,\n emptyPlaceholder,\n errorMessage: errorMessageProp,\n filters: filtersProp,\n getData,\n getRowId: getRowIdProp,\n hasFilters,\n hasPagination,\n hasSearch,\n hasSearchSubmitButton,\n hasRowReordering,\n hasRowSelection,\n initialLayout,\n isEmpty: isEmptyProp,\n isLoading: isLoadingProp,\n isNoResults: isNoResultsProp,\n isPaginationMoreDisabled,\n isRowReorderingDisabled,\n noResultsPlaceholder,\n onChangeRowSelection,\n onReorderRows,\n paginationType = \"paged\",\n resultsPerPage = 20,\n searchDelayTime,\n stackOptions,\n tableOptions,\n totalRows,\n maxPages,\n maxResultsPerPage,\n}: DataViewProps) => {\n const odysseyDesignTokens = useOdysseyDesignTokens();\n const { t } = useTranslation();\n\n const [currentLayout, setCurrentLayout] = useState<DataLayout>(\n initialLayout ?? availableLayouts[0],\n );\n\n const [data, setData] = useState<MRT_RowData[]>([]);\n const [isLoading, setIsLoading] = useState<boolean>(isLoadingProp ?? true);\n const [isEmpty, setIsEmpty] = useState<boolean>(isEmptyProp ?? true);\n const [isNoResults, setIsNoResults] = useState<boolean>(\n isNoResultsProp ?? false,\n );\n const [errorMessage, setErrorMessage] =\n useState<UniversalProps[\"errorMessage\"]>(errorMessageProp);\n\n const [search, setSearch] = useState<string>(\"\");\n\n const [initialFilters, setInitialFilters] =\n useState<UniversalProps[\"filters\"]>(filtersProp);\n const [filters, setFilters] =\n useState<UniversalProps[\"filters\"]>(filtersProp);\n\n const [draggingRow, setDraggingRow] = useState<MRT_Row<MRT_RowData> | null>();\n\n const [rowSelection, setRowSelection] = useState<MRT_RowSelectionState>({});\n\n useEffect(() => {\n onChangeRowSelection?.(rowSelection);\n }, [rowSelection, onChangeRowSelection]);\n\n const [pagination, setPagination] = useState({\n pageIndex: currentPage,\n pageSize: resultsPerPage,\n });\n\n const [tableState, setTableState] = useState<TableState>({\n columnSorting: [],\n columnVisibility: {},\n rowDensity: tableOptions?.initialDensity ?? densityValues[0],\n });\n\n const shouldShowFilters = hasSearch || hasFilters;\n\n const availableFilters = useFilterConversion({\n filters: filters,\n columns: tableOptions?.columns,\n });\n\n useEffect(() => {\n if (!initialFilters && availableFilters) {\n setInitialFilters(availableFilters);\n }\n }, [availableFilters, initialFilters]);\n\n const dataQueryParams = useMemo(\n () => ({\n page: pagination.pageIndex,\n resultsPerPage: pagination.pageSize,\n search,\n filters: availableFilters,\n sort: tableState?.columnSorting,\n }),\n [\n pagination.pageIndex,\n pagination.pageSize,\n search,\n availableFilters,\n tableState?.columnSorting,\n ],\n );\n\n const getRowId = getRowIdProp ? getRowIdProp : (row: MRT_RowData) => row.id;\n\n // Update pagination state if props change\n useEffect(() => {\n setPagination({\n pageIndex: currentPage,\n pageSize: resultsPerPage,\n });\n }, [currentPage, resultsPerPage]);\n\n // Reset pagination if search or filters change\n useEffect(() => {\n setPagination((prev) => ({\n pageIndex: 1,\n pageSize: prev.pageSize,\n }));\n }, [filters, search]);\n\n // Retrieve the data\n useEffect(() => {\n fetchData({\n dataQueryParams,\n errorMessageProp,\n getData,\n setData,\n setErrorMessage,\n // Only include setIsLoading if that's not being controlled manually\n setIsLoading: isLoadingProp ? undefined : setIsLoading,\n });\n }, [dataQueryParams, errorMessageProp, getData, isLoadingProp]);\n\n // When data is updated\n useEffect(() => {\n setIsEmpty(\n pagination.pageIndex === currentPage &&\n pagination.pageSize === resultsPerPage &&\n search === \"\" &&\n filters === initialFilters &&\n data.length === 0,\n );\n }, [\n currentPage,\n data,\n filters,\n initialFilters,\n pagination,\n resultsPerPage,\n search,\n ]);\n\n // Change loading, empty and noResults state on prop change\n useEffect(() => {\n setIsLoading((prevValue) => isLoadingProp ?? prevValue);\n }, [isLoadingProp]);\n\n useEffect(() => {\n setIsEmpty((prevValue) => isEmptyProp ?? prevValue);\n }, [isEmptyProp]);\n\n useEffect(() => {\n setIsNoResults((prevValue) => isNoResultsProp ?? prevValue);\n }, [isNoResultsProp]);\n\n const emptyState = useMemo(() => {\n const noResultsInnerContent = noResultsPlaceholder || (\n <EmptyState\n description={t(\"table.noresults.text\")}\n heading={t(\"table.noresults.heading\")}\n />\n );\n\n if (isEmpty) {\n return emptyPlaceholder || noResultsInnerContent;\n }\n\n if (isNoResults) {\n return noResultsInnerContent;\n }\n\n return;\n }, [noResultsPlaceholder, t, isEmpty, isNoResults, emptyPlaceholder]);\n\n const additionalActions = useMemo(\n () => (\n <>\n {currentLayout === \"table\" && tableOptions && (\n <TableSettings\n setTableState={setTableState}\n tableOptions={tableOptions}\n tableState={tableState}\n />\n )}\n\n {availableLayouts.length > 1 && (\n <LayoutSwitcher\n availableLayouts={availableLayouts}\n currentLayout={currentLayout}\n setCurrentLayout={setCurrentLayout}\n />\n )}\n </>\n ),\n [currentLayout, tableOptions, tableState, availableLayouts],\n );\n\n const { lastRow: lastRowOnPage } = usePagination({\n currentRowsCount: data.length,\n pageIndex: pagination.pageIndex,\n pageSize: pagination.pageSize,\n totalRows,\n });\n\n const rowReorderingUtilities = useRowReordering({\n totalRows,\n onReorderRows,\n data,\n setData,\n draggingRow,\n setDraggingRow,\n resultsPerPage: pagination.pageSize,\n page: pagination.pageIndex,\n });\n\n return (\n <DataViewContainer odysseyDesignTokens={odysseyDesignTokens}>\n {errorMessage && (\n <Box>\n <Callout severity=\"error\" text={errorMessage} />\n </Box>\n )}\n\n {shouldShowFilters && (\n <DataFilters\n additionalActions={additionalActions}\n filters={hasFilters ? availableFilters : undefined}\n hasSearchSubmitButton={hasSearchSubmitButton}\n isDisabled={isEmpty}\n onChangeFilters={hasFilters ? setFilters : undefined}\n onChangeSearch={hasSearch ? setSearch : undefined}\n searchDelayTime={searchDelayTime}\n />\n )}\n\n {(bulkActionMenuItems || hasRowSelection) && (\n <BulkActionsContainer>\n <BulkActionsMenu\n data={data}\n menuItems={bulkActionMenuItems}\n rowSelection={rowSelection}\n setRowSelection={setRowSelection}\n />\n {!shouldShowFilters && additionalActions}\n </BulkActionsContainer>\n )}\n\n {!shouldShowFilters && !bulkActionMenuItems && !hasRowSelection && (\n <AdditionalActionsContainer>\n {additionalActions}\n </AdditionalActionsContainer>\n )}\n\n {currentLayout === \"table\" && tableOptions && (\n <TableContent\n columns={tableOptions.columns}\n data={data}\n draggingRow={draggingRow}\n emptyState={emptyState}\n getRowId={getRowId}\n hasRowReordering={hasRowReordering}\n hasRowSelection={hasRowSelection}\n isEmpty={isEmpty}\n isLoading={isLoading}\n isNoResults={isNoResults}\n isRowReorderingDisabled={isRowReorderingDisabled}\n onReorderRows={onReorderRows}\n pagination={pagination}\n rowReorderingUtilities={rowReorderingUtilities}\n rowSelection={rowSelection}\n setRowSelection={setRowSelection}\n setTableState={setTableState}\n tableOptions={tableOptions}\n tableState={tableState}\n totalRows={totalRows}\n />\n )}\n {(currentLayout === \"list\" || currentLayout === \"grid\") &&\n stackOptions && (\n <StackContent\n currentLayout={currentLayout}\n data={data}\n draggingRow={draggingRow}\n emptyState={emptyState}\n getRowId={getRowId}\n hasRowReordering={hasRowReordering}\n hasRowSelection={hasRowSelection}\n isEmpty={isEmpty}\n isLoading={isLoading}\n isNoResults={isNoResults}\n isRowReorderingDisabled={isRowReorderingDisabled}\n onReorderRows={onReorderRows}\n pagination={pagination}\n rowReorderingUtilities={rowReorderingUtilities}\n rowSelection={rowSelection}\n setRowSelection={setRowSelection}\n stackOptions={stackOptions}\n totalRows={totalRows}\n />\n )}\n\n {hasPagination && (\n <Pagination\n currentPageLabel={t(\"pagination.page\")}\n isDisabled={isEmpty}\n isMoreDisabled={isPaginationMoreDisabled}\n lastRow={lastRowOnPage}\n loadMoreLabel={t(\"pagination.loadmore\")}\n maxPageIndex={maxPages}\n maxPageSize={maxResultsPerPage}\n nextLabel={t(\"pagination.next\")}\n onPaginationChange={setPagination}\n pageIndex={pagination.pageIndex}\n pageSize={pagination.pageSize}\n previousLabel={t(\"pagination.previous\")}\n rowsPerPageLabel={t(\"pagination.rowsperpage\")}\n totalRows={totalRows}\n currentRowsCount={data.length}\n variant={paginationType}\n />\n )}\n </DataViewContainer>\n );\n};\n\nconst MemoizedDataView = memo(DataView);\nMemoizedDataView.displayName = \"DataView\";\n\nexport { MemoizedDataView as DataView };\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,IAAI,EAAEC,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAM1D,SAASC,cAAc,QAAQ,eAAe;AAAC,SAG7CC,gBAAgB,IAAIC,mBAAmB,EACvCC,aAAa;AAAA,SAQNC,GAAG;AAAA,SACHC,eAAe;AAAA,SACfC,OAAO;AAAA,SACPC,WAAW;AAAA,SACXC,UAAU;AAAA,SACVC,SAAS;AAAA,SACTC,cAAc;AAAA,SACdC,aAAa;AAAA,SACbC,UAAU,EAAEC,aAAa;AAAA,SACzBC,YAAY;AAAA,SACZC,YAAY;AAAA,SACZC,mBAAmB;AAAA,SACnBC,gBAAgB;AAAA,SAGvBC,sBAAsB;AAExB,OAAOC,MAAM,MAAM,iBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAAA,SAAAC,QAAA,IAAAC,SAAA;A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ACTsH,gBAAgB,EAAExD,CAAC,CAAC,iBAAiB,CAAE;MACvCoD,UAAU,EAAEvE,OAAQ;MACpB4E,cAAc,EAAEtE,wBAAyB;MACzC2D,OAAO,EAAEC,aAAc;MACvBW,aAAa,EAAE1D,CAAC,CAAC,qBAAqB,CAAE;MACxC2D,YAAY,EAAE7D,QAAS;MACvB8D,WAAW,EAAE7D,iBAAkB;MAC/B8D,SAAS,EAAE7D,CAAC,CAAC,iBAAiB,CAAE;MAChC8D,kBAAkB,EAAE3C,aAAc;MAClCC,SAAS,EAAEF,UAAU,CAACE,SAAU;MAChCC,QAAQ,EAAEH,UAAU,CAACG,QAAS;MAC9B0C,aAAa,EAAE/D,CAAC,CAAC,qBAAqB,CAAE;MACxCgE,gBAAgB,EAAEhE,CAAC,CAAC,wBAAwB,CAAE;MAC9CH,SAAS,EAAEA,SAAU;MACrBmD,gBAAgB,EAAE7C,IAAI,CAACmC,MAAO;MAC9B2B,OAAO,EAAEzE;IAAe,CACzB,CACF;EAAA,CACgB,CAAC;AAExB,CAAC;AAED,MAAM0E,gBAAgB,GAAGhJ,IAAI,CAACyC,QAAQ,CAAC;AACvCuG,gBAAgB,CAACC,WAAW,GAAG,UAAU;AAEzC,SAASD,gBAAgB,IAAIvG,QAAQ"}
@@ -19,7 +19,7 @@ export const fetchData = async ({
19
19
  setErrorMessage,
20
20
  setIsLoading
21
21
  }) => {
22
- setIsLoading(true);
22
+ setIsLoading?.(true);
23
23
  setErrorMessage(errorMessageProp);
24
24
  try {
25
25
  const incomingData = await getData?.(dataQueryParams);
@@ -27,7 +27,7 @@ export const fetchData = async ({
27
27
  } catch (error) {
28
28
  setErrorMessage(typeof error === "string" ? error : t("table.error"));
29
29
  } finally {
30
- setIsLoading(false);
30
+ setIsLoading?.(false);
31
31
  }
32
32
  };
33
33
  //# sourceMappingURL=fetchData.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetchData.js","names":["t","fetchData","dataQueryParams","errorMessageProp","getData","setData","setErrorMessage","setIsLoading","incomingData","error"],"sources":["../../../src/labs/DataComponents/fetchData.ts"],"sourcesContent":["/*!\n * Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { Dispatch, SetStateAction } from \"react\";\nimport { MRT_RowData } from \"material-react-table\";\nimport { t } from \"i18next\";\n\nimport { DataQueryParamsType } from \"./dataTypes\";\nimport { UniversalProps } from \"./componentTypes\";\n\ntype DataRequestType = {\n dataQueryParams: DataQueryParamsType;\n errorMessageProp: UniversalProps[\"errorMessage\"];\n getData: UniversalProps[\"getData\"];\n setData: Dispatch<SetStateAction<MRT_RowData[]>>;\n setErrorMessage: Dispatch<SetStateAction<UniversalProps[\"errorMessage\"]>>;\n setIsLoading: Dispatch<SetStateAction<boolean>>;\n};\n\nexport const fetchData = async ({\n dataQueryParams,\n errorMessageProp,\n getData,\n setData,\n setErrorMessage,\n setIsLoading,\n}: DataRequestType) => {\n setIsLoading(true);\n setErrorMessage(errorMessageProp);\n try {\n const incomingData = await getData?.(dataQueryParams);\n setData(incomingData);\n } catch (error) {\n setErrorMessage(typeof error === \"string\" ? error : t(\"table.error\"));\n } finally {\n setIsLoading(false);\n }\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,SAASA,CAAC,QAAQ,SAAS;AAc3B,OAAO,MAAMC,SAAS,GAAG,MAAAA,CAAO;EAC9BC,eAAe;EACfC,gBAAgB;EAChBC,OAAO;EACPC,OAAO;EACPC,eAAe;EACfC;AACe,CAAC,KAAK;EACrBA,YAAY,CAAC,IAAI,CAAC;EAClBD,eAAe,CAACH,gBAAgB,CAAC;EACjC,IAAI;IACF,MAAMK,YAAY,GAAG,MAAMJ,OAAO,GAAGF,eAAe,CAAC;IACrDG,OAAO,CAACG,YAAY,CAAC;EACvB,CAAC,CAAC,OAAOC,KAAK,EAAE;IACdH,eAAe,CAAC,OAAOG,KAAK,KAAK,QAAQ,GAAGA,KAAK,GAAGT,CAAC,CAAC,aAAa,CAAC,CAAC;EACvE,CAAC,SAAS;IACRO,YAAY,CAAC,KAAK,CAAC;EACrB;AACF,CAAC"}
1
+ {"version":3,"file":"fetchData.js","names":["t","fetchData","dataQueryParams","errorMessageProp","getData","setData","setErrorMessage","setIsLoading","incomingData","error"],"sources":["../../../src/labs/DataComponents/fetchData.ts"],"sourcesContent":["/*!\n * Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { Dispatch, SetStateAction } from \"react\";\nimport { MRT_RowData } from \"material-react-table\";\nimport { t } from \"i18next\";\n\nimport { DataQueryParamsType } from \"./dataTypes\";\nimport { UniversalProps } from \"./componentTypes\";\n\ntype DataRequestType = {\n dataQueryParams: DataQueryParamsType;\n errorMessageProp: UniversalProps[\"errorMessage\"];\n getData: UniversalProps[\"getData\"];\n setData: Dispatch<SetStateAction<MRT_RowData[]>>;\n setErrorMessage: Dispatch<SetStateAction<UniversalProps[\"errorMessage\"]>>;\n setIsLoading?: Dispatch<SetStateAction<boolean>>;\n};\n\nexport const fetchData = async ({\n dataQueryParams,\n errorMessageProp,\n getData,\n setData,\n setErrorMessage,\n setIsLoading,\n}: DataRequestType) => {\n setIsLoading?.(true);\n setErrorMessage(errorMessageProp);\n try {\n const incomingData = await getData?.(dataQueryParams);\n setData(incomingData);\n } catch (error) {\n setErrorMessage(typeof error === \"string\" ? error : t(\"table.error\"));\n } finally {\n setIsLoading?.(false);\n }\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,SAASA,CAAC,QAAQ,SAAS;AAc3B,OAAO,MAAMC,SAAS,GAAG,MAAAA,CAAO;EAC9BC,eAAe;EACfC,gBAAgB;EAChBC,OAAO;EACPC,OAAO;EACPC,eAAe;EACfC;AACe,CAAC,KAAK;EACrBA,YAAY,GAAG,IAAI,CAAC;EACpBD,eAAe,CAACH,gBAAgB,CAAC;EACjC,IAAI;IACF,MAAMK,YAAY,GAAG,MAAMJ,OAAO,GAAGF,eAAe,CAAC;IACrDG,OAAO,CAACG,YAAY,CAAC;EACvB,CAAC,CAAC,OAAOC,KAAK,EAAE;IACdH,eAAe,CAAC,OAAOG,KAAK,KAAK,QAAQ,GAAGA,KAAK,GAAGT,CAAC,CAAC,aAAa,CAAC,CAAC;EACvE,CAAC,SAAS;IACRO,YAAY,GAAG,KAAK,CAAC;EACvB;AACF,CAAC"}
@@ -1,7 +1,9 @@
1
1
  export const translation = {
2
2
  "breadcrumbs.home.text": "》Ĥöɱé 한Ӝฐโ《",
3
3
  "breadcrumbs.label.text": "》Ɓŕéåðçŕûɱƀš ئ䀕ヸ€홝한Ӝฐโ《",
4
- "close.text": "》çļöšé 홝한Ӝฐโ《",
4
+ "close.text": "》Çļöšé 홝한Ӝฐโ《",
5
+ "clear.text": "》Çļéåŕ 홝한Ӝฐโ《",
6
+ "open.text": "》Öþéñ 한Ӝฐโ《",
5
7
  "fielderror.screenreader.text": "》Éŕŕöŕ 홝한Ӝฐโ《",
6
8
  "fieldlabel.optional.text": "》Öþţîöñåļ 䀕ヸ€홝한Ӝฐโ《",
7
9
  "fieldlabel.required.text": "》Ŕéǫûîŕéð 䀕ヸ€홝한Ӝฐโ《",
@@ -1 +1 @@
1
- {"version":3,"file":"odyssey-react-mui_ok_PL.js","names":["translation"],"sources":["../../../src/properties/ts/odyssey-react-mui_ok_PL.ts"],"sourcesContent":["export const translation = {\"breadcrumbs.home.text\":\"》Ĥöɱé 한Ӝฐโ《\",\"breadcrumbs.label.text\":\"》Ɓŕéåðçŕûɱƀš ئ䀕ヸ€홝한Ӝฐโ《\",\"close.text\":\"》çļöšé 홝한Ӝฐโ《\",\"fielderror.screenreader.text\":\"》Éŕŕöŕ 홝한Ӝฐโ《\",\"fieldlabel.optional.text\":\"》Öþţîöñåļ 䀕ヸ€홝한Ӝฐโ《\",\"fieldlabel.required.text\":\"》Ŕéǫûîŕéð 䀕ヸ€홝한Ӝฐโ《\",\"filters.clear.label\":\"》Çļéåŕ ƒîļţéŕš ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"filters.filter.any\":\"》Åñý Ӝฐโ《\",\"filters.filter.clear\":\"》Çļéåŕ ƒîļţéŕ ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"filters.filters.arialabel\":\"》Ƒîļţéŕš ヸ€홝한Ӝฐโ《\",\"filters.menuitem.any\":\"》Åñý {{label}} ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"filters.menuitem.selected\":\"》{{selected}} šéļéçţéð Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"filters.search.label\":\"》Šéåŕçĥ €홝한Ӝฐโ《\",\"fileupload.button.text\":\"》Åðð ƒîļéš ئ䀕ヸ€홝한Ӝฐโ《\",\"fileupload.prompt.text\":\"》Ðŕåĝ åñð ðŕöþ ƒîļéš ĥéŕé öŕ çļîçķ ţö åðð ƒîļéš 䀕ヸ€홝한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"fileupload.removefile.text\":\"》Ŕéɱöṽé ƒîļé ئ䀕ヸ€홝한Ӝฐโ《\",\"passwordfield.icon.label.hide\":\"》Ĥîðé þåššŵöŕð ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"passwordfield.icon.label.show\":\"》Šĥöŵ þåššŵöŕð ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"severity.error\":\"》éŕŕöŕ 홝한Ӝฐโ《\",\"severity.info\":\"》îñƒö 한Ӝฐโ《\",\"severity.success\":\"》šûççéšš ヸ€홝한Ӝฐโ《\",\"severity.warning\":\"》ŵåŕñîñĝ ヸ€홝한Ӝฐโ《\",\"switch.active\":\"》Åçţîṽé €홝한Ӝฐโ《\",\"switch.inactive\":\"》Îñåçţîṽé 䀕ヸ€홝한Ӝฐโ《\",\"table.actions\":\"》Åçţîöñš ヸ€홝한Ӝฐโ《\",\"table.columnvisibility.arialabel\":\"》Šĥöŵ⁄ĥîðé çöļûɱñš 한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.density.arialabel\":\"》Ţåƀļé ðéñšîţý ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.draghandle.arialabel\":\"》Ðŕåĝ ŕöŵ ţö ŕéöŕðéŕ· Öŕ، þŕéšš šþåçé öŕ éñţéŕ ţö šţåŕţ åñð šţöþ ŕéöŕðéŕîñĝ åñð éšç ţö çåñçéļ· ئ䀕ヸ€홝한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.draghandle.tooltip\":\"》Ðŕåĝ ŕöŵ öŕ þŕéšš šþåçé⁄éñţéŕ ķéý ţö šţåŕţ åñð šţöþ ŕéöŕðéŕîñĝ ئ䀕ヸ€홝한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.error\":\"》Éŕŕöŕ ļöåðîñĝ ðåţå· 홝한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.fetchedrows.text\":\"》Ƒéţçĥéð {{totalRows}} ŕöŵ 홝한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.fetchedrows.text_plural\":\"》Ƒéţçĥéð {{totalRows}} ţöţåļ ŕöŵš Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.moreactions.arialabel\":\"》Ṁöŕé åçţîöñš ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.noresults.heading\":\"》Ţĥéŕé åŕé ñö ŕéšûļţš· Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.noresults.text\":\"》Ţŕý å ðéŕéñţ ǫûéŕý· Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.pagination.loadmore\":\"》Šĥöŵ ɱöŕé ئ䀕ヸ€홝한Ӝฐโ《\",\"table.pagination.next\":\"》Ñéẋţ þåĝé ئ䀕ヸ€홝한Ӝฐโ《\",\"table.pagination.previous\":\"》Þŕéṽîöûš þåĝé ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.pagination.page\":\"》Þåĝé 한Ӝฐโ《\",\"table.pagination.rowsperpage\":\"》Ŕöŵš þéŕ þåĝé ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.pagination.rowswithtotal\":\"》{{firstRow}}‐{{lastRow}} öƒ {{totalRows}} ŕöŵš 䀕ヸ€홝한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.pagination.rowswithouttotal\":\"》{{firstRow}}‐{{lastRow}} ŕöŵš ヸ€홝한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.reorder.backward\":\"》Šéñð ƀåçķŵåŕð ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.reorder.forward\":\"》Ɓŕîñĝ ƒöŕŵåŕð ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.reorder.toback\":\"》Šéñð ţö ƀåçķ ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.reorder.tofront\":\"》Ɓŕîñĝ ţö ƒŕöñţ โ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.rows.text\":\"》{{totalRows}} ŕöŵ 한Ӝฐโ⾼ئ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AAuB,EAAC,aAAa;EAAC,8BAA8B,EAAC,4BAA4B;EAAC,gCAAgC,EAAC,qEAAqE;EAAC,mCAAmC,EAAC,mDAAmD;EAAC,wBAAwB,EAAC,4BAA4B;EAAC,uBAAuB,EAAC,4BAA4B;EAAC,sBAAsB,EAAC,2BAA2B;EAAC,uBAAuB,EAAC,8BAA8B;EAAC,iBAAiB,EAAC,oCAAoC;EAAC,wBAAwB,EAAC;AAAqC,CAAC"}
1
+ {"version":3,"file":"odyssey-react-mui_ok_PL.js","names":["translation"],"sources":["../../../src/properties/ts/odyssey-react-mui_ok_PL.ts"],"sourcesContent":["export const translation = {\"breadcrumbs.home.text\":\"》Ĥöɱé 한Ӝฐโ《\",\"breadcrumbs.label.text\":\"》Ɓŕéåðçŕûɱƀš ئ䀕ヸ€홝한Ӝฐโ《\",\"close.text\":\"》Çļöšé 홝한Ӝฐโ《\",\"clear.text\":\"》Çļéåŕ 홝한Ӝฐโ《\",\"open.text\":\"》Öþéñ 한Ӝฐโ《\",\"fielderror.screenreader.text\":\"》Éŕŕöŕ 홝한Ӝฐโ《\",\"fieldlabel.optional.text\":\"》Öþţîöñåļ 䀕ヸ€홝한Ӝฐโ《\",\"fieldlabel.required.text\":\"》Ŕéǫûîŕéð 䀕ヸ€홝한Ӝฐโ《\",\"filters.clear.label\":\"》Çļéåŕ ƒîļţéŕš ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"filters.filter.any\":\"》Åñý Ӝฐโ《\",\"filters.filter.clear\":\"》Çļéåŕ ƒîļţéŕ ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"filters.filters.arialabel\":\"》Ƒîļţéŕš ヸ€홝한Ӝฐโ《\",\"filters.menuitem.any\":\"》Åñý {{label}} ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"filters.menuitem.selected\":\"》{{selected}} šéļéçţéð Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"filters.search.label\":\"》Šéåŕçĥ €홝한Ӝฐโ《\",\"fileupload.button.text\":\"》Åðð ƒîļéš ئ䀕ヸ€홝한Ӝฐโ《\",\"fileupload.prompt.text\":\"》Ðŕåĝ åñð ðŕöþ ƒîļéš ĥéŕé öŕ çļîçķ ţö åðð ƒîļéš 䀕ヸ€홝한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"fileupload.removefile.text\":\"》Ŕéɱöṽé ƒîļé ئ䀕ヸ€홝한Ӝฐโ《\",\"passwordfield.icon.label.hide\":\"》Ĥîðé þåššŵöŕð ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"passwordfield.icon.label.show\":\"》Šĥöŵ þåššŵöŕð ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"severity.error\":\"》éŕŕöŕ 홝한Ӝฐโ《\",\"severity.info\":\"》îñƒö 한Ӝฐโ《\",\"severity.success\":\"》šûççéšš ヸ€홝한Ӝฐโ《\",\"severity.warning\":\"》ŵåŕñîñĝ ヸ€홝한Ӝฐโ《\",\"switch.active\":\"》Åçţîṽé €홝한Ӝฐโ《\",\"switch.inactive\":\"》Îñåçţîṽé 䀕ヸ€홝한Ӝฐโ《\",\"table.actions\":\"》Åçţîöñš ヸ€홝한Ӝฐโ《\",\"table.columnvisibility.arialabel\":\"》Šĥöŵ⁄ĥîðé çöļûɱñš 한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.density.arialabel\":\"》Ţåƀļé ðéñšîţý ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.draghandle.arialabel\":\"》Ðŕåĝ ŕöŵ ţö ŕéöŕðéŕ· Öŕ، þŕéšš šþåçé öŕ éñţéŕ ţö šţåŕţ åñð šţöþ ŕéöŕðéŕîñĝ åñð éšç ţö çåñçéļ· ئ䀕ヸ€홝한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.draghandle.tooltip\":\"》Ðŕåĝ ŕöŵ öŕ þŕéšš šþåçé⁄éñţéŕ ķéý ţö šţåŕţ åñð šţöþ ŕéöŕðéŕîñĝ ئ䀕ヸ€홝한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.error\":\"》Éŕŕöŕ ļöåðîñĝ ðåţå· 홝한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.fetchedrows.text\":\"》Ƒéţçĥéð {{totalRows}} ŕöŵ 홝한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.fetchedrows.text_plural\":\"》Ƒéţçĥéð {{totalRows}} ţöţåļ ŕöŵš Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.moreactions.arialabel\":\"》Ṁöŕé åçţîöñš ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.noresults.heading\":\"》Ţĥéŕé åŕé ñö ŕéšûļţš· Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.noresults.text\":\"》Ţŕý å ðéŕéñţ ǫûéŕý· Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.pagination.loadmore\":\"》Šĥöŵ ɱöŕé ئ䀕ヸ€홝한Ӝฐโ《\",\"table.pagination.next\":\"》Ñéẋţ þåĝé ئ䀕ヸ€홝한Ӝฐโ《\",\"table.pagination.previous\":\"》Þŕéṽîöûš þåĝé ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.pagination.page\":\"》Þåĝé 한Ӝฐโ《\",\"table.pagination.rowsperpage\":\"》Ŕöŵš þéŕ þåĝé ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.pagination.rowswithtotal\":\"》{{firstRow}}‐{{lastRow}} öƒ {{totalRows}} ŕöŵš 䀕ヸ€홝한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.pagination.rowswithouttotal\":\"》{{firstRow}}‐{{lastRow}} ŕöŵš ヸ€홝한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.reorder.backward\":\"》Šéñð ƀåçķŵåŕð ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.reorder.forward\":\"》Ɓŕîñĝ ƒöŕŵåŕð ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.reorder.toback\":\"》Šéñð ţö ƀåçķ ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.reorder.tofront\":\"》Ɓŕîñĝ ţö ƒŕöñţ โ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.rows.text\":\"》{{totalRows}} ŕöŵ 한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\",\"table.rows.text_plural\":\"》{{totalRows}} ŕöŵš 한Ӝฐโ⾼ئ䀕ヸ€홝한Ӝฐโ《\"};"],"mappings":"AAAA,OAAO,MAAMA,WAAW,GAAG;EAAC,uBAAuB,EAAC,aAAa;EAAC,wBAAwB,EAAC,yBAAyB;EAAC,YAAY,EAAC,eAAe;EAAC,YAAY,EAAC,eAAe;EAAC,WAAW,EAAC,aAAa;EAAC,8BAA8B,EAAC,eAAe;EAAC,0BAA0B,EAAC,qBAAqB;EAAC,0BAA0B,EAAC,qBAAqB;EAAC,qBAAqB,EAAC,4BAA4B;EAAC,oBAAoB,EAAC,WAAW;EAAC,sBAAsB,EAAC,2BAA2B;EAAC,2BAA2B,EAAC,mBAAmB;EAAC,sBAAsB,EAAC,4BAA4B;EAAC,2BAA2B,EAAC,uCAAuC;EAAC,sBAAsB,EAAC,iBAAiB;EAAC,wBAAwB,EAAC,uBAAuB;EAAC,wBAAwB,EAAC,qEAAqE;EAAC,4BAA4B,EAAC,yBAAyB;EAAC,+BAA+B,EAAC,4BAA4B;EAAC,+BAA+B,EAAC,4BAA4B;EAAC,gBAAgB,EAAC,eAAe;EAAC,eAAe,EAAC,aAAa;EAAC,kBAAkB,EAAC,mBAAmB;EAAC,kBAAkB,EAAC,mBAAmB;EAAC,eAAe,EAAC,iBAAiB;EAAC,iBAAiB,EAAC,qBAAqB;EAAC,eAAe,EAAC,mBAAmB;EAAC,kCAAkC,EAAC,oCAAoC;EAAC,yBAAyB,EAAC,4BAA4B;EAAC,4BAA4B,EAAC,qHAAqH;EAAC,0BAA0B,EAAC,sFAAsF;EAAC,aAAa,EAAC,uCAAuC;EAAC,wBAAwB,EAAC,6CAA6C;EAAC,+BAA+B,EAAC,kDAAkD;EAAC,6BAA6B,EAAC,2BAA2B;EAAC,yBAAyB,EAAC,uCAAuC;EAAC,sBAAsB,EAAC,wCAAwC;EAAC,2BAA2B,EAAC,uBAAuB;EAAC,uBAAuB,EAAC,uBAAuB;EAAC,2BAA2B,EAAC,4BAA4B;EAAC,uBAAuB,EAAC,aAAa;EAAC,8BAA8B,EAAC,4BAA4B;EAAC,gCAAgC,EAAC,qEAAqE;EAAC,mCAAmC,EAAC,mDAAmD;EAAC,wBAAwB,EAAC,4BAA4B;EAAC,uBAAuB,EAAC,4BAA4B;EAAC,sBAAsB,EAAC,2BAA2B;EAAC,uBAAuB,EAAC,8BAA8B;EAAC,iBAAiB,EAAC,oCAAoC;EAAC,wBAAwB,EAAC;AAAqC,CAAC"}
@@ -2,6 +2,8 @@ export const translation = {
2
2
  "breadcrumbs.home.text": "[[odyssey:odyssey-react-mui: breadcrumbs.home.text]]",
3
3
  "breadcrumbs.label.text": "[[odyssey:odyssey-react-mui: breadcrumbs.label.text]]",
4
4
  "close.text": "[[odyssey:odyssey-react-mui: close.text]]",
5
+ "clear.text": "[[odyssey:odyssey-react-mui: clear.text]]",
6
+ "open.text": "[[odyssey:odyssey-react-mui: open.text]]",
5
7
  "fielderror.screenreader.text": "[[odyssey:odyssey-react-mui: fielderror.screenreader.text]]",
6
8
  "fieldlabel.optional.text": "[[odyssey:odyssey-react-mui: fieldlabel.optional.text]]",
7
9
  "fieldlabel.required.text": "[[odyssey:odyssey-react-mui: fieldlabel.required.text]]",
@@ -1 +1 @@
1
- {"version":3,"file":"odyssey-react-mui_ok_SK.js","names":["translation"],"sources":["../../../src/properties/ts/odyssey-react-mui_ok_SK.ts"],"sourcesContent":["export const translation = {\"breadcrumbs.home.text\":\"[[odyssey:odyssey-react-mui: breadcrumbs.home.text]]\",\"breadcrumbs.label.text\":\"[[odyssey:odyssey-react-mui: breadcrumbs.label.text]]\",\"close.text\":\"[[odyssey:odyssey-react-mui: close.text]]\",\"fielderror.screenreader.text\":\"[[odyssey:odyssey-react-mui: fielderror.screenreader.text]]\",\"fieldlabel.optional.text\":\"[[odyssey:odyssey-react-mui: fieldlabel.optional.text]]\",\"fieldlabel.required.text\":\"[[odyssey:odyssey-react-mui: fieldlabel.required.text]]\",\"filters.clear.label\":\"[[odyssey:odyssey-react-mui: filters.clear.label]]\",\"filters.filter.any\":\"[[odyssey:odyssey-react-mui: filters.filter.any]]\",\"filters.filter.clear\":\"[[odyssey:odyssey-react-mui: filters.filter.clear]]\",\"filters.filters.arialabel\":\"[[odyssey:odyssey-react-mui: filters.filters.arialabel]]\",\"filters.menuitem.any\":\"[[odyssey:odyssey-react-mui: filters.menuitem.any]]\",\"filters.menuitem.selected\":\"[[odyssey:odyssey-react-mui: filters.menuitem.selected]]\",\"filters.search.label\":\"[[odyssey:odyssey-react-mui: filters.search.label]]\",\"fileupload.button.text\":\"[[odyssey:odyssey-react-mui: fileupload.button.text]]\",\"fileupload.prompt.text\":\"[[odyssey:odyssey-react-mui: fileupload.prompt.text]]\",\"fileupload.removefile.text\":\"[[odyssey:odyssey-react-mui: fileupload.removefile.text]]\",\"passwordfield.icon.label.hide\":\"[[odyssey:odyssey-react-mui: passwordfield.icon.label.hide]]\",\"passwordfield.icon.label.show\":\"[[odyssey:odyssey-react-mui: passwordfield.icon.label.show]]\",\"severity.error\":\"[[odyssey:odyssey-react-mui: severity.error]]\",\"severity.info\":\"[[odyssey:odyssey-react-mui: severity.info]]\",\"severity.success\":\"[[odyssey:odyssey-react-mui: severity.success]]\",\"severity.warning\":\"[[odyssey:odyssey-react-mui: severity.warning]]\",\"switch.active\":\"[[odyssey:odyssey-react-mui: switch.active]]\",\"switch.inactive\":\"[[odyssey:odyssey-react-mui: switch.inactive]]\",\"table.actions\":\"[[odyssey:odyssey-react-mui: table.actions]]\",\"table.columnvisibility.arialabel\":\"[[odyssey:odyssey-react-mui: table.columnvisibility.arialabel]]\",\"table.density.arialabel\":\"[[odyssey:odyssey-react-mui: table.density.arialabel]]\",\"table.draghandle.arialabel\":\"[[odyssey:odyssey-react-mui: table.draghandle.arialabel]]\",\"table.draghandle.tooltip\":\"[[odyssey:odyssey-react-mui: table.draghandle.tooltip]]\",\"table.error\":\"[[odyssey:odyssey-react-mui: table.error]]\",\"table.fetchedrows.text\":\"[[odyssey:odyssey-react-mui: table.fetchedrows.text]]\",\"table.fetchedrows.text_plural\":\"[[odyssey:odyssey-react-mui: table.fetchedrows.text_plural]]\",\"table.moreactions.arialabel\":\"[[odyssey:odyssey-react-mui: table.moreactions.arialabel]]\",\"table.noresults.heading\":\"[[odyssey:odyssey-react-mui: table.noresults.heading]]\",\"table.noresults.text\":\"[[odyssey:odyssey-react-mui: table.noresults.text]]\",\"table.pagination.loadmore\":\"[[odyssey:odyssey-react-mui: table.pagination.loadmore]]\",\"table.pagination.next\":\"[[odyssey:odyssey-react-mui: table.pagination.next]]\",\"table.pagination.previous\":\"[[odyssey:odyssey-react-mui: table.pagination.previous]]\",\"table.pagination.page\":\"[[odyssey:odyssey-react-mui: table.pagination.page]]\",\"table.pagination.rowsperpage\":\"[[odyssey:odyssey-react-mui: table.pagination.rowsperpage]]\",\"table.pagination.rowswithtotal\":\"[[odyssey:odyssey-react-mui: table.pagination.rowswithtotal]]\",\"table.pagination.rowswithouttotal\":\"[[odyssey:odyssey-react-mui: table.pagination.rowswithouttotal]]\",\"table.reorder.backward\":\"[[odyssey:odyssey-react-mui: table.reorder.backward]]\",\"table.reorder.forward\":\"[[odyssey:odyssey-react-mui: table.reorder.forward]]\",\"table.reorder.toback\":\"[[odyssey:odyssey-react-mui: table.reorder.toback]]\",\"table.reorder.tofront\":\"[[odyssey:odyssey-react-mui: table.reorder.tofront]]\",\"table.rows.text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,EAAC,sDAAsD;EAAC,8BAA8B,EAAC,6DAA6D;EAAC,gCAAgC,EAAC,+DAA+D;EAAC,mCAAmC,EAAC,kEAAkE;EAAC,wBAAwB,EAAC,uDAAuD;EAAC,uBAAuB,EAAC,sDAAsD;EAAC,sBAAsB,EAAC,qDAAqD;EAAC,uBAAuB,EAAC,sDAAsD;EAAC,iBAAiB,EAAC,gDAAgD;EAAC,wBAAwB,EAAC;AAAuD,CAAC"}
1
+ {"version":3,"file":"odyssey-react-mui_ok_SK.js","names":["translation"],"sources":["../../../src/properties/ts/odyssey-react-mui_ok_SK.ts"],"sourcesContent":["export const translation = {\"breadcrumbs.home.text\":\"[[odyssey:odyssey-react-mui: breadcrumbs.home.text]]\",\"breadcrumbs.label.text\":\"[[odyssey:odyssey-react-mui: breadcrumbs.label.text]]\",\"close.text\":\"[[odyssey:odyssey-react-mui: close.text]]\",\"clear.text\":\"[[odyssey:odyssey-react-mui: clear.text]]\",\"open.text\":\"[[odyssey:odyssey-react-mui: open.text]]\",\"fielderror.screenreader.text\":\"[[odyssey:odyssey-react-mui: fielderror.screenreader.text]]\",\"fieldlabel.optional.text\":\"[[odyssey:odyssey-react-mui: fieldlabel.optional.text]]\",\"fieldlabel.required.text\":\"[[odyssey:odyssey-react-mui: fieldlabel.required.text]]\",\"filters.clear.label\":\"[[odyssey:odyssey-react-mui: filters.clear.label]]\",\"filters.filter.any\":\"[[odyssey:odyssey-react-mui: filters.filter.any]]\",\"filters.filter.clear\":\"[[odyssey:odyssey-react-mui: filters.filter.clear]]\",\"filters.filters.arialabel\":\"[[odyssey:odyssey-react-mui: filters.filters.arialabel]]\",\"filters.menuitem.any\":\"[[odyssey:odyssey-react-mui: filters.menuitem.any]]\",\"filters.menuitem.selected\":\"[[odyssey:odyssey-react-mui: filters.menuitem.selected]]\",\"filters.search.label\":\"[[odyssey:odyssey-react-mui: filters.search.label]]\",\"fileupload.button.text\":\"[[odyssey:odyssey-react-mui: fileupload.button.text]]\",\"fileupload.prompt.text\":\"[[odyssey:odyssey-react-mui: fileupload.prompt.text]]\",\"fileupload.removefile.text\":\"[[odyssey:odyssey-react-mui: fileupload.removefile.text]]\",\"passwordfield.icon.label.hide\":\"[[odyssey:odyssey-react-mui: passwordfield.icon.label.hide]]\",\"passwordfield.icon.label.show\":\"[[odyssey:odyssey-react-mui: passwordfield.icon.label.show]]\",\"severity.error\":\"[[odyssey:odyssey-react-mui: severity.error]]\",\"severity.info\":\"[[odyssey:odyssey-react-mui: severity.info]]\",\"severity.success\":\"[[odyssey:odyssey-react-mui: severity.success]]\",\"severity.warning\":\"[[odyssey:odyssey-react-mui: severity.warning]]\",\"switch.active\":\"[[odyssey:odyssey-react-mui: switch.active]]\",\"switch.inactive\":\"[[odyssey:odyssey-react-mui: switch.inactive]]\",\"table.actions\":\"[[odyssey:odyssey-react-mui: table.actions]]\",\"table.columnvisibility.arialabel\":\"[[odyssey:odyssey-react-mui: table.columnvisibility.arialabel]]\",\"table.density.arialabel\":\"[[odyssey:odyssey-react-mui: table.density.arialabel]]\",\"table.draghandle.arialabel\":\"[[odyssey:odyssey-react-mui: table.draghandle.arialabel]]\",\"table.draghandle.tooltip\":\"[[odyssey:odyssey-react-mui: table.draghandle.tooltip]]\",\"table.error\":\"[[odyssey:odyssey-react-mui: table.error]]\",\"table.fetchedrows.text\":\"[[odyssey:odyssey-react-mui: table.fetchedrows.text]]\",\"table.fetchedrows.text_plural\":\"[[odyssey:odyssey-react-mui: table.fetchedrows.text_plural]]\",\"table.moreactions.arialabel\":\"[[odyssey:odyssey-react-mui: table.moreactions.arialabel]]\",\"table.noresults.heading\":\"[[odyssey:odyssey-react-mui: table.noresults.heading]]\",\"table.noresults.text\":\"[[odyssey:odyssey-react-mui: table.noresults.text]]\",\"table.pagination.loadmore\":\"[[odyssey:odyssey-react-mui: table.pagination.loadmore]]\",\"table.pagination.next\":\"[[odyssey:odyssey-react-mui: table.pagination.next]]\",\"table.pagination.previous\":\"[[odyssey:odyssey-react-mui: table.pagination.previous]]\",\"table.pagination.page\":\"[[odyssey:odyssey-react-mui: table.pagination.page]]\",\"table.pagination.rowsperpage\":\"[[odyssey:odyssey-react-mui: table.pagination.rowsperpage]]\",\"table.pagination.rowswithtotal\":\"[[odyssey:odyssey-react-mui: table.pagination.rowswithtotal]]\",\"table.pagination.rowswithouttotal\":\"[[odyssey:odyssey-react-mui: table.pagination.rowswithouttotal]]\",\"table.reorder.backward\":\"[[odyssey:odyssey-react-mui: table.reorder.backward]]\",\"table.reorder.forward\":\"[[odyssey:odyssey-react-mui: table.reorder.forward]]\",\"table.reorder.toback\":\"[[odyssey:odyssey-react-mui: table.reorder.toback]]\",\"table.reorder.tofront\":\"[[odyssey:odyssey-react-mui: table.reorder.tofront]]\",\"table.rows.text\":\"[[odyssey:odyssey-react-mui: table.rows.text]]\",\"table.rows.text_plural\":\"[[odyssey:odyssey-react-mui: table.rows.text_plural]]\"};"],"mappings":"AAAA,OAAO,MAAMA,WAAW,GAAG;EAAC,uBAAuB,EAAC,sDAAsD;EAAC,wBAAwB,EAAC,uDAAuD;EAAC,YAAY,EAAC,2CAA2C;EAAC,YAAY,EAAC,2CAA2C;EAAC,WAAW,EAAC,0CAA0C;EAAC,8BAA8B,EAAC,6DAA6D;EAAC,0BAA0B,EAAC,yDAAyD;EAAC,0BAA0B,EAAC,yDAAyD;EAAC,qBAAqB,EAAC,oDAAoD;EAAC,oBAAoB,EAAC,mDAAmD;EAAC,sBAAsB,EAAC,qDAAqD;EAAC,2BAA2B,EAAC,0DAA0D;EAAC,sBAAsB,EAAC,qDAAqD;EAAC,2BAA2B,EAAC,0DAA0D;EAAC,sBAAsB,EAAC,qDAAqD;EAAC,wBAAwB,EAAC,uDAAuD;EAAC,wBAAwB,EAAC,uDAAuD;EAAC,4BAA4B,EAAC,2DAA2D;EAAC,+BAA+B,EAAC,8DAA8D;EAAC,+BAA+B,EAAC,8DAA8D;EAAC,gBAAgB,EAAC,+CAA+C;EAAC,eAAe,EAAC,8CAA8C;EAAC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MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,kBAAkB,EAAE,CAAC,EACnB,SAAS,EACT,QAAQ,GACT,EAAE;QACD,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;KAClB,KAAK,IAAI,CAAC;IACX;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;CACjD,CAAC;AA4NF,QAAA,MAAM,kBAAkB,wQAzMrB,eAAe,6CAyMyB,CAAC;AAG5C,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataView.d.ts","sourceRoot":"","sources":["../../../../src/labs/DataComponents/DataView.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAcH,OAAO,EACL,UAAU,EACV,cAAc,EACd,SAAS,EAEV,MAAM,kBAAkB,CAAC;AAoB1B,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,SAAS,CAAC,UAAU,CAAC,CAAC;AAqWnE,QAAA,MAAM,gBAAgB,ymBAjTnB,aAAa,6CAiTuB,CAAC;AAGxC,OAAO,EAAE,gBAAgB,IAAI,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"DataView.d.ts","sourceRoot":"","sources":["../../../../src/labs/DataComponents/DataView.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAcH,OAAO,EACL,UAAU,EACV,cAAc,EACd,SAAS,EAEV,MAAM,kBAAkB,CAAC;AAoB1B,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,SAAS,CAAC,UAAU,CAAC,CAAC;AAsWnE,QAAA,MAAM,gBAAgB,ymBAlTnB,aAAa,6CAkTuB,CAAC;AAGxC,OAAO,EAAE,gBAAgB,IAAI,QAAQ,EAAE,CAAC"}
@@ -19,7 +19,7 @@ type DataRequestType = {
19
19
  getData: UniversalProps["getData"];
20
20
  setData: Dispatch<SetStateAction<MRT_RowData[]>>;
21
21
  setErrorMessage: Dispatch<SetStateAction<UniversalProps["errorMessage"]>>;
22
- setIsLoading: Dispatch<SetStateAction<boolean>>;
22
+ setIsLoading?: Dispatch<SetStateAction<boolean>>;
23
23
  };
24
24
  export declare const fetchData: ({ dataQueryParams, errorMessageProp, getData, setData, setErrorMessage, setIsLoading, }: DataRequestType) => Promise<void>;
25
25
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"fetchData.d.ts","sourceRoot":"","sources":["../../../../src/labs/DataComponents/fetchData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,KAAK,eAAe,GAAG;IACrB,eAAe,EAAE,mBAAmB,CAAC;IACrC,gBAAgB,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IACjD,OAAO,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACnC,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;IACjD,eAAe,EAAE,QAAQ,CAAC,cAAc,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;IAC1E,YAAY,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,SAAS,4FAOnB,eAAe,kBAWjB,CAAC"}
1
+ {"version":3,"file":"fetchData.d.ts","sourceRoot":"","sources":["../../../../src/labs/DataComponents/fetchData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,KAAK,eAAe,GAAG;IACrB,eAAe,EAAE,mBAAmB,CAAC;IACrC,gBAAgB,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IACjD,OAAO,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACnC,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;IACjD,eAAe,EAAE,QAAQ,CAAC,cAAc,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;IAC1E,YAAY,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAClD,CAAC;AAEF,eAAO,MAAM,SAAS,4FAOnB,eAAe,kBAWjB,CAAC"}
@@ -2,6 +2,8 @@ export declare const translation: {
2
2
  "breadcrumbs.home.text": string;
3
3
  "breadcrumbs.label.text": string;
4
4
  "close.text": string;
5
+ "clear.text": string;
6
+ "open.text": string;
5
7
  "fielderror.screenreader.text": string;
6
8
  "fieldlabel.optional.text": string;
7
9
  "fieldlabel.required.text": string;
@@ -1 +1 @@
1
- {"version":3,"file":"odyssey-react-mui_ok_PL.d.ts","sourceRoot":"","sources":["../../../../src/properties/ts/odyssey-react-mui_ok_PL.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwrF,CAAC"}
1
+ {"version":3,"file":"odyssey-react-mui_ok_PL.d.ts","sourceRoot":"","sources":["../../../../src/properties/ts/odyssey-react-mui_ok_PL.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+uF,CAAC"}
@@ -2,6 +2,8 @@ export declare const translation: {
2
2
  "breadcrumbs.home.text": string;
3
3
  "breadcrumbs.label.text": string;
4
4
  "close.text": string;
5
+ "clear.text": string;
6
+ "open.text": string;
5
7
  "fielderror.screenreader.text": string;
6
8
  "fieldlabel.optional.text": string;
7
9
  "fieldlabel.required.text": string;
@@ -1 +1 @@
1
- {"version":3,"file":"odyssey-react-mui_ok_SK.d.ts","sourceRoot":"","sources":["../../../../src/properties/ts/odyssey-react-mui_ok_SK.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA8xH,CAAC"}
1
+ {"version":3,"file":"odyssey-react-mui_ok_SK.d.ts","sourceRoot":"","sources":["../../../../src/properties/ts/odyssey-react-mui_ok_SK.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA84H,CAAC"}
@@ -2305,6 +2305,9 @@ export const components = ({
2305
2305
  borderBottom: `none !important`,
2306
2306
  borderLeft: `none !important`
2307
2307
  },
2308
+ ["&::after"]: {
2309
+ background: "transparent !important"
2310
+ },
2308
2311
  [`.${tableBodyClasses.root} &.${tableCellClasses.root}`]: {
2309
2312
  borderRight: `none !important`
2310
2313
  },
@@ -2368,9 +2371,6 @@ export const components = ({
2368
2371
  display: "none"
2369
2372
  }
2370
2373
  },
2371
- [`&::after`]: {
2372
- display: "none"
2373
- },
2374
2374
  ...(ownerState.variant === "number" && {
2375
2375
  textAlign: "end",
2376
2376
  fontFeatureSettings: '"lnum", "tnum"'
@@ -2402,8 +2402,7 @@ export const components = ({
2402
2402
  [`& .Mui-TableHeadCell-ResizeHandle-Wrapper`]: {
2403
2403
  marginInlineEnd: `-${odysseyTokens.Spacing3}`,
2404
2404
  [`&:active .${dividerClasses.vertical}`]: {
2405
- borderColor: odysseyTokens.HueNeutral400,
2406
- opacity: 1
2405
+ display: "none"
2407
2406
  }
2408
2407
  },
2409
2408
  [`& .Mui-TableHeadCell-Content-Wrapper`]: {