reoutre 2

This commit is contained in:
seb
2026-09-29 09:30:50 +02:00
parent 18419b1615
commit 447033e53a
23 changed files with 63 additions and 63 deletions

View File

@@ -10,28 +10,28 @@ import TextField from '@mui/material/TextField';
import Typography from '@mui/material/Typography';
import SearchIcon from '@mui/icons-material/Search';
import ClearIcon from '@mui/icons-material/Clear';
import { StorageManagerContext, getStorageManager } from '../../api/storageManagerContext';
import BackendError from '../../components/BackendError';
import { formatPrice } from '../../utils/price';
import { StorageManagerContext, getStorageManager } from '../api/storageManagerContext';
import BackendError from '../components/BackendError';
import { formatPrice } from '../utils/price';
import {
buildSearchUrl,
queryFromParams,
readArtikelQuery,
writeArtikelQuery,
} from './artikelQuery';
import ResultsPagination from './ResultsPagination';
} from '../components/article/artikelQuery';
import ResultsPagination from '../components/article/ResultsPagination';
import {
buildFilter,
formatCategoryList,
formatStock,
getCategoryDepth,
parseFilter,
} from './searchFormat';
import { preserveSearchFocus } from './searchFocus';
import { artikelDetailPath } from './articleRoute';
import withSearchParams from './withSearchParams';
import { setLastArticleSku } from '../../automats';
import { BrandLabel } from '../../components/brand';
} from '../components/article/searchFormat';
import { preserveSearchFocus } from '../components/article/searchFocus';
import { artikelDetailPath } from '../components/article/articleRoute';
import withSearchParams from '../components/article/withSearchParams';
import { setLastArticleSku } from '../automats';
import { BrandLabel } from '../components/brand';
const resultRowSx = {
alignItems: 'center',

View File

@@ -1,5 +1,5 @@
import { Navigate, useParams } from 'react-router-dom';
import { KATEGORIEN_BASE } from './categoryRoute';
import { KATEGORIEN_BASE } from '../../components/category/categoryRoute';
export default function RedirectArtikelKategorien() {
const { '*': rest = '' } = useParams();

View File

@@ -10,7 +10,7 @@ import {
getArticle,
setLastArticleSku,
} from '../../automats';
import withSkuRoute from './withSkuRoute';
import withSkuRoute from '../../components/article/withSkuRoute';
/** Full-screen loading state while the shared article cache resolves. */
function ArticleLoading() {

View File

@@ -5,7 +5,7 @@ import TextField from '@mui/material/TextField';
import Typography from '@mui/material/Typography';
import { enqueueSnackbar } from 'notistack';
import BackendError from '../../components/BackendError';
import CategorySortable from './CategorySortable';
import CategorySortable from '../../components/category/CategorySortable';
import CategoryPickerDialog from '../../components/article/CategoryPickerDialog';
import { NewCategoryTile, CategoryBreadcrumbs } from '../../components/category';
import { NewArticleTile } from '../../components/article';
@@ -17,14 +17,14 @@ import {
CategoryTile,
} from '../../components/tiles';
import { TILE_SIZE } from 'dashgui/tiles';
import withCategoryRoute from './withCategoryRoute';
import { artikelDetailPath, articleSku } from './articleRoute';
import withCategoryRoute from '../../components/category/withCategoryRoute';
import { artikelDetailPath, articleSku } from '../../components/article/articleRoute';
import {
buildCategoryPath,
defaultCategoryPath,
resolveCategoryIdFromSlugPath,
ROOT_CATEGORY_NAME,
} from './categoryRoute';
} from '../../components/category/categoryRoute';
import categoryAutomat from '../../automats/categoryAutomat';
import posterminalAutomat from '../../automats/posterminalAutomat';
import companyAutomat from '../../automats/companyAutomat';

View File

@@ -1,5 +1,5 @@
import { PureComponent } from 'react';
import { ManifestList } from '../../components/manifest';
import { ManifestList } from '../components/manifest';
class AuftragAngebotPage extends PureComponent {
render() {

View File

@@ -1,5 +1,5 @@
import { PureComponent } from 'react';
import { ManifestForm, withManifestId } from '../../components/manifest';
import { ManifestForm, withManifestId } from '../../../components/manifest';
class AuftragBestellungEditPage extends PureComponent {
render() {

View File

@@ -1,5 +1,5 @@
import { PureComponent } from 'react';
import { ManifestForm } from '../../components/manifest';
import { ManifestForm } from '../../../components/manifest';
class AuftragBestellungNeuPage extends PureComponent {
render() {

View File

@@ -1,5 +1,5 @@
import Typography from '@mui/material/Typography';
import PageLayout from '../../components/PageLayout';
import PageLayout from '../components/PageLayout';
export default function InfosPage() {
return (

View File

@@ -1,11 +1,11 @@
import { PureComponent } from 'react';
import { enqueueSnackbar } from 'notistack';
import BackendError from '../../components/BackendError';
import BackendError from '../components/BackendError';
import { RecordList } from 'dashgui/lists';
import { StorageManagerContext } from '../../api/storageManagerContext';
import { router } from '../../appRouter';
import { backendErrorFrom } from '../../utils/backendError';
import { notifyError } from '../../utils/notify';
import { StorageManagerContext } from '../api/storageManagerContext';
import { router } from '../appRouter';
import { backendErrorFrom } from '../utils/backendError';
import { notifyError } from '../utils/notify';
function sortEntities(entities) {
return [...entities].sort((a, b) => {

View File

@@ -15,7 +15,7 @@ import { StorageManagerContext } from '../../api/storageManagerContext';
import { requireArray, requireDefined, requireObject } from '../../utils/apiShape';
import { backendErrorFrom } from '../../utils/backendError';
import { notifyError } from '../../utils/notify';
import withEntityRoute from './withEntityRoute';
import withEntityRoute from '../../components/kunde/withEntityRoute';
const ADDRESS_FIELDS = [
'addressType',

View File

@@ -1,6 +1,6 @@
import { PureComponent } from 'react';
import { DeliveryList } from '../../components/manifest';
import { setLastDeliveryPath } from '../../automats';
import { DeliveryList } from '../components/manifest';
import { setLastDeliveryPath } from '../automats';
class LieferungListePage extends PureComponent {
componentDidMount() {