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 {
|
2023-10-23 18:12:55 +00:00
|
|
|
#mastheadPage = new Masthead();
|
|
|
|
#sidebarPage = new SidebarPage();
|
|
|
|
#tabUtilsObj = new TabUtils();
|
|
|
|
#formUtilsObj = new FormUtils();
|
|
|
|
#modalUtilsObj = new ModalUtils();
|
|
|
|
#actionToolbarUtilsObj = new ActionToolbarUtils();
|
|
|
|
#tableUtilsObj = new TableUtils();
|
|
|
|
#tableToolbarUtilsObj = new TableToolbarUtils();
|
|
|
|
#emptyStatePage = new EmptyStatePage();
|
2022-04-19 12:25:57 +00:00
|
|
|
|
|
|
|
masthead() {
|
2023-10-23 18:12:55 +00:00
|
|
|
return this.#mastheadPage;
|
2022-04-19 12:25:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sidebar() {
|
2023-10-23 18:12:55 +00:00
|
|
|
return this.#sidebarPage;
|
2022-04-19 12:25:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tabUtils() {
|
2023-10-23 18:12:55 +00:00
|
|
|
return this.#tabUtilsObj;
|
2022-04-19 12:25:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
formUtils() {
|
2023-10-23 18:12:55 +00:00
|
|
|
return this.#formUtilsObj;
|
2022-04-19 12:25:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
modalUtils() {
|
2023-10-23 18:12:55 +00:00
|
|
|
return this.#modalUtilsObj;
|
2022-04-19 12:25:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
actionToolbarUtils() {
|
2023-10-23 18:12:55 +00:00
|
|
|
return this.#actionToolbarUtilsObj;
|
2022-04-19 12:25:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tableUtils() {
|
2023-10-23 18:12:55 +00:00
|
|
|
return this.#tableUtilsObj;
|
2022-04-19 12:25:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tableToolbarUtils() {
|
2023-10-23 18:12:55 +00:00
|
|
|
return this.#tableToolbarUtilsObj;
|
2022-04-19 12:25:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
emptyState() {
|
2023-10-23 18:12:55 +00:00
|
|
|
return this.#emptyStatePage;
|
2022-04-19 12:25:57 +00:00
|
|
|
}
|
|
|
|
}
|