2022-12-07 15:28:28 +00:00
|
|
|
import Masthead from "./admin-ui/Masthead";
|
|
|
|
import SidebarPage from "./admin-ui/SidebarPage";
|
|
|
|
import TabUtils from "./admin-ui/components/TabPage";
|
|
|
|
import FormUtils from "./admin-ui/components/FormPage";
|
2022-04-19 12:25:57 +00:00
|
|
|
import ModalUtils from "../util/ModalUtils";
|
2022-12-07 15:28:28 +00:00
|
|
|
import ActionToolbarUtils from "./admin-ui/components/ActionToolbarPage";
|
|
|
|
import TableToolbarUtils from "./admin-ui/components/TableToolbarPage";
|
|
|
|
import TableUtils from "./admin-ui/components/TablePage";
|
|
|
|
import EmptyStatePage from "./admin-ui/components/EmptyStatePage";
|
2022-04-19 12:25:57 +00:00
|
|
|
|
|
|
|
export default class CommonPage {
|
|
|
|
private mastheadPage = new Masthead();
|
|
|
|
private sidebarPage = new SidebarPage();
|
|
|
|
private tabUtilsObj = new TabUtils();
|
|
|
|
private formUtilsObj = new FormUtils();
|
|
|
|
private modalUtilsObj = new ModalUtils();
|
|
|
|
private actionToolbarUtilsObj = new ActionToolbarUtils();
|
|
|
|
private tableUtilsObj = new TableUtils();
|
|
|
|
private tableToolbarUtilsObj = new TableToolbarUtils();
|
|
|
|
private emptyStatePage = new EmptyStatePage();
|
|
|
|
|
|
|
|
masthead() {
|
|
|
|
return this.mastheadPage;
|
|
|
|
}
|
|
|
|
|
|
|
|
sidebar() {
|
|
|
|
return this.sidebarPage;
|
|
|
|
}
|
|
|
|
|
|
|
|
tabUtils() {
|
|
|
|
return this.tabUtilsObj;
|
|
|
|
}
|
|
|
|
|
|
|
|
formUtils() {
|
|
|
|
return this.formUtilsObj;
|
|
|
|
}
|
|
|
|
|
|
|
|
modalUtils() {
|
|
|
|
return this.modalUtilsObj;
|
|
|
|
}
|
|
|
|
|
|
|
|
actionToolbarUtils() {
|
|
|
|
return this.actionToolbarUtilsObj;
|
|
|
|
}
|
|
|
|
|
|
|
|
tableUtils() {
|
|
|
|
return this.tableUtilsObj;
|
|
|
|
}
|
|
|
|
|
|
|
|
tableToolbarUtils() {
|
|
|
|
return this.tableToolbarUtilsObj;
|
|
|
|
}
|
|
|
|
|
|
|
|
emptyState() {
|
|
|
|
return this.emptyStatePage;
|
|
|
|
}
|
|
|
|
}
|