import { attributeAddUrl, AttributeListUrlSortField, } from "@dashboard/attributes/urls"; import { TopNav } from "@dashboard/components/AppLayout/TopNav"; import { Button } from "@dashboard/components/Button"; import FilterBar from "@dashboard/components/FilterBar"; import { configurationMenuUrl } from "@dashboard/configuration"; import { AttributeFragment } from "@dashboard/graphql"; import { sectionNames } from "@dashboard/intl"; import { Card } from "@material-ui/core"; import React from "react"; import { FormattedMessage, useIntl } from "react-intl"; import { FilterPageProps, ListActions, PageListProps, SortPage, TabPageProps, } from "../../../types"; import AttributeList from "../AttributeList/AttributeList"; import { AttributeFilterKeys, AttributeListFilterOpts, createFilterStructure, } from "./filters"; export interface AttributeListPageProps extends PageListProps, ListActions, FilterPageProps, SortPage, TabPageProps { attributes: AttributeFragment[]; } const AttributeListPage: React.FC = ({ filterOpts, initialSearch, onFilterChange, onSearchChange, currentTab, onAll, onTabChange, onTabDelete, onTabSave, tabs, ...listProps }) => { const intl = useIntl(); const structure = createFilterStructure(intl, filterOpts); return ( <> ); }; AttributeListPage.displayName = "AttributeListPage"; export default AttributeListPage;