Skip to content

Commit

Permalink
MWB-12-33: update paginations on project
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverBerserk committed Jan 29, 2025
1 parent 775ce69 commit 5390a5d
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {useHighlighterTheme} from "src/hooks/use-highlighter-theme";
import ConfirmDialog from "src/components/app/dialog/confirm-dialog";
import {MenuActionButton, MenuActions} from 'src/components/menu-actions';
import TableSorterHeader from "src/sections/components/table-sorter-header";
import TablePagination from "src/sections/components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";

export const ListTableRow = (props) => {
const {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import {ChevronButton} from 'src/sections/components/chevron-button';
import {FormCodeTextArea} from "src/components/app/form/code-text-area";
import {ListItemActions} from 'src/components/app/list/list-item-actions';
import TableSorterHeader from 'src/sections/components/table-sorter-header';
import TablePagination from "src/sections/components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";
import {ForListItemAction} from 'src/contexts/app/section/for-list-item-action';
import {genericTripleMapFragmentsApi} from "src/api/triple-map-fragments/generic";
import {sparqlTestFileResourcesApi} from "src/api/sparql-test-suites/file-resources";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {useHighlighterTheme} from "src/hooks/use-highlighter-theme";
import {ChevronButton} from 'src/sections/components/chevron-button';
import {ListItemActions} from 'src/components/app/list/list-item-actions';
import TableSorterHeader from "src/sections/components/table-sorter-header";
import TablePagination from "src/sections/components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";
import {ForListItemAction} from 'src/contexts/app/section/for-list-item-action';


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import {ChevronButton} from 'src/sections/components/chevron-button';
import {FileUploader} from "src/sections/app/file-manager/file-uploader";
import {MenuActionButton, MenuActions} from 'src/components/menu-actions';
import TableSorterHeader from 'src/sections/components/table-sorter-header';
import TablePagination from "src/sections/components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";
import {ForListItemAction} from 'src/contexts/app/section/for-list-item-action';
import {ListFileCollectionActions} from "src/components/app/list/list-file-collection-actions";
import {MappingPackagesBulkAssigner} from "src/sections/app/mapping-package/components/mapping-packages-bulk-assigner";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import {mappingPackagesApi} from "src/api/mapping-packages";
import {PropertyListItem} from "src/components/property-list-item";
import {ChevronButton} from 'src/sections/components/chevron-button';
import ConfirmDialog from "src/components/app/dialog/confirm-dialog";
import TablePagination from "src/sections/components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";
import {MenuActions, MenuActionButton} from 'src/components/menu-actions';
import {ListItemActions} from "src/components/app/list/list-item-actions";
import TableSorterHeader from 'src/sections/components/table-sorter-header';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import Stack from '@mui/material/Stack';
import Table from '@mui/material/Table';
import TableBody from '@mui/material/TableBody';

import {ItemListRow} from './item-list-row';
import {ItemListCard} from './item-list-card';
import {Scrollbar} from 'src/components/scrollbar';
import {TableNoData} from '../shacl-validation-report/utils';
import {ItemListCard} from './item-list-card';
import {ItemListRow} from './item-list-row';
import TablePagination from "../../components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";

export const ItemList = (props) => {
const {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {ChevronButton} from 'src/sections/components/chevron-button';
import CodeMirrorDefault from 'src/components/app/form/codeMirrorDefault';
import {ListItemActions} from 'src/components/app/list/list-item-actions';
import TableSorterHeader from "src/sections/components/table-sorter-header";
import TablePagination from "src/sections/components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";
import {genericTripleMapFragmentsApi} from 'src/api/triple-map-fragments/generic';
import {ForListItemAction} from 'src/contexts/app/section/for-list-item-action';
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {ChevronButton} from 'src/sections/components/chevron-button';
import {MenuActionButton, MenuActions} from 'src/components/menu-actions';
import {ListItemActions} from 'src/components/app/list/list-item-actions';
import TableSorterHeader from 'src/sections/components/table-sorter-header';
import TablePagination from "src/sections/components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";
import {ForListItemAction} from 'src/contexts/app/section/for-list-item-action';
import {MappingPackageProcessForm} from './components/mapping-package-process-form';
import {MappingPackagesBulkActions} from './components/mapping-packages-bulk-actions';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import exportPackage from "src/utils/export-mapping-package";
import {MenuActionButton, MenuActions} from 'src/components/menu-actions';
import {ListItemActions} from 'src/components/app/list/list-item-actions';
import TableSorterHeader from 'src/sections/components/table-sorter-header';
import TablePagination from "src/sections/components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";
import {ForListItemAction} from 'src/contexts/app/section/for-list-item-action';

export const ListTable = (props) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import TableHead from '@mui/material/TableHead';
import Typography from '@mui/material/Typography';

import {Scrollbar} from 'src/components/scrollbar';
import TablePagination from 'src/sections/components/table-pagination-pages';
import TablePagination from 'src/sections/components/table-pagination';
import {ListItemActions} from 'src/components/app/list/list-item-actions';
import TableSorterHeader from 'src/sections/components/table-sorter-header';
import {toastError, toastLoad, toastSuccess} from "src/components/app-toast";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {Scrollbar} from 'src/components/scrollbar';
import {MenuActions} from 'src/components/menu-actions';
import {ListItemActions} from 'src/components/app/list/list-item-actions';
import TableSorterHeader from 'src/sections/components/table-sorter-header';
import TablePagination from "src/sections/components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";
import {toastError, toastLoad, toastSuccess} from "src/components/app-toast";
import {ForListItemAction} from 'src/contexts/app/section/for-list-item-action';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ import Typography from '@mui/material/Typography';
import CardContent from '@mui/material/CardContent';

import {Scrollbar} from 'src/components/scrollbar';
import {ListItemActions} from 'src/components/app/list/list-item-actions';
import {ForListItemAction} from 'src/contexts/app/section/for-list-item-action';
import {MenuActions} from '../../../components/menu-actions';
import {ChevronButton} from '../../components/chevron-button';
import TablePagination from "../../components/table-pagination-pages";
import TableSorterHeader from "../../components/table-sorter-header";
import {ChevronButton} from 'src/sections/components/chevron-button';
import TablePagination from "src/sections/components/table-pagination";
import TableSorterHeader from "src/sections/components/table-sorter-header";


export const ListTable = (props) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {PropertyListItem} from 'src/components/property-list-item';
import {ChevronButton} from 'src/sections/components/chevron-button';
import {ListItemActions} from 'src/components/app/list/list-item-actions';
import {MenuActionButton, MenuActions} from 'src/components/menu-actions';
import TablePagination from "src/sections/components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";
import TableSorterHeader from "src/sections/components/table-sorter-header";
import {ForListItemAction} from 'src/contexts/app/section/for-list-item-action';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import TableRow from '@mui/material/TableRow';

import {Scrollbar} from 'src/components/scrollbar';
import {useHighlighterTheme} from "src/hooks/use-highlighter-theme";
import TablePagination from 'src/sections/components/table-pagination-pages';
import TablePagination from 'src/sections/components/table-pagination';
import {TableFilterHeader} from "src/layouts/app/table-filter-header/table-filter-header";

const LocalHighlighter = ({text, language, theme}) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {ValueChip} from '../xpath-validation-report/utils';
import {useHighlighterTheme} from "src/hooks/use-highlighter-theme";
import {Prism as SyntaxHighlighter} from 'react-syntax-highlighter';
import TableSorterHeader from "src/sections/components/table-sorter-header";
import TablePagination from "src/sections/components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";
import {TableFilterHeader} from "src/layouts/app/table-filter-header/table-filter-header";

export const ListTable = (props) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {Scrollbar} from 'src/components/scrollbar';
import {getValidationColor} from '../mapping-package/state/utils';
import {useHighlighterTheme} from "src/hooks/use-highlighter-theme"
import TableSorterHeader from "src/sections/components/table-sorter-header";
import TablePagination from "src/sections/components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";
import {TableFilterHeader} from "src/layouts/app/table-filter-header/table-filter-header";

const Condition = ({text, value}) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import {Scrollbar} from 'src/components/scrollbar';
import {ValueChip} from '../xpath-validation-report/utils';
import {getValidationColor} from '../mapping-package/state/utils';
import {useHighlighterTheme} from "src/hooks/use-highlighter-theme";
import TablePagination from "src/sections/components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";
import {TableFilterHeader} from "src/layouts/app/table-filter-header/table-filter-header";

const ResultCell = ({item, onClick}) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {SeverityPill} from "src/components/severity-pill";
import {ChevronButton} from 'src/sections/components/chevron-button';
import {MenuActionButton, MenuActions} from 'src/components/menu-actions';
import TableSorterHeader from "src/sections/components/table-sorter-header";
import TablePagination from "src/sections/components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";
import {mapStatusColor, TaskActions, TaskLine, taskProgressStatus as taskStatuses} from "./task-actions";
import {Box} from "@mui/system";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import DialogContentText from "@mui/material/DialogContentText";

import {Scrollbar} from 'src/components/scrollbar';
import {useHighlighterTheme} from "src/hooks/use-highlighter-theme";
import TablePagination from "src/sections/components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";
import TableSorterHeader from "src/sections/components/table-sorter-header";
import {TableFilterHeader} from "../../../layouts/app/table-filter-header/table-filter-header";
import {getValidationColor} from '../mapping-package/state/utils';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import DialogActions from "@mui/material/DialogActions";
import {Scrollbar} from 'src/components/scrollbar';
import {useHighlighterTheme} from "src/hooks/use-highlighter-theme";
import TableSorterHeader from "src/sections/components/table-sorter-header";
import TablePagination from "src/sections/components/table-pagination-pages";
import TablePagination from "src/sections/components/table-pagination";
import {TableFilterHeader} from "src/layouts/app/table-filter-header/table-filter-header";
import {getValidationColor} from '../mapping-package/state/utils';
import {ValueChip} from './utils';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import MuiTablePagination from '@mui/material/TablePagination'

const TablePagination = (props) => {
const {children, ...otherProps} = props
const {children, showTop,...otherProps} = props
return (
<>
<MuiTablePagination {...otherProps}/>
{showTop && <MuiTablePagination {...otherProps}/>}
{children}
<MuiTablePagination {...otherProps}/>
</>
Expand Down

0 comments on commit 5390a5d

Please sign in to comment.