@luminix/mui-cms 0.0.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +18 -0
- package/README.md +30 -0
- package/bundle/mui-cms.bundle.iife.js +196 -0
- package/bundle/style.css +1 -0
- package/bundle/vite.svg +1 -0
- package/dist/mui-cms.js +3163 -0
- package/dist/vite.svg +1 -0
- package/package.json +46 -0
- package/tsconfig.json +25 -0
- package/tsconfig.node.json +11 -0
- package/types/components/Breadcrumbs.d.ts +3 -0
- package/types/components/DesktopPageTitle.d.ts +2 -0
- package/types/components/Layout/AppBar/MenuButton.d.ts +3 -0
- package/types/components/Layout/AppBar.d.ts +4 -0
- package/types/components/Layout/BackButton.d.ts +4 -0
- package/types/components/Layout/Drawer.d.ts +4 -0
- package/types/components/Layout/SearchBar.d.ts +4 -0
- package/types/components/Link.d.ts +7 -0
- package/types/components/LuminixCms.d.ts +4 -0
- package/types/components/ModelIndex/Filter/Content.d.ts +3 -0
- package/types/components/ModelIndex/Filter/Row.d.ts +4 -0
- package/types/components/ModelIndex/Filter/ValueInput/AsyncAutocomplete.d.ts +3 -0
- package/types/components/ModelIndex/Filter/ValueInput/DatePicker.d.ts +4 -0
- package/types/components/ModelIndex/Filter/ValueInput/Switch.d.ts +3 -0
- package/types/components/ModelIndex/Filter/ValueInput/TextField.d.ts +4 -0
- package/types/components/ModelIndex/Filter/ValueInput.d.ts +3 -0
- package/types/components/ModelIndex/Filter/useRow.d.ts +19 -0
- package/types/components/ModelIndex/Filter.d.ts +3 -0
- package/types/components/ModelIndex/InstanceActions.d.ts +5 -0
- package/types/components/ModelIndex/MassActions.d.ts +4 -0
- package/types/components/ModelIndex/Pagination.d.ts +4 -0
- package/types/components/ModelIndex/PaginationDetails.d.ts +3 -0
- package/types/components/ModelIndex/PerPageSwitch.d.ts +3 -0
- package/types/components/ModelIndex/Sort.d.ts +3 -0
- package/types/components/ModelIndex/StaticActions.d.ts +4 -0
- package/types/components/ModelIndex/Table/ShrinkedCell.d.ts +4 -0
- package/types/components/ModelIndex/Table/TableBody/Skeleton.d.ts +3 -0
- package/types/components/ModelIndex/Table/TableBody/TableRow.d.ts +4 -0
- package/types/components/ModelIndex/Table/TableBody.d.ts +4 -0
- package/types/components/ModelIndex/Table/TableFooter.d.ts +4 -0
- package/types/components/ModelIndex/Table/TableHead.d.ts +4 -0
- package/types/components/ModelIndex/Table/TableToolbar.d.ts +3 -0
- package/types/components/ModelIndex/Table.d.ts +4 -0
- package/types/components/ModelIndex/Tabs.d.ts +3 -0
- package/types/components/RecursiveList.d.ts +4 -0
- package/types/components/RecursiveMenu.d.ts +4 -0
- package/types/contexts/DialogContext.d.ts +4 -0
- package/types/contexts/LayoutContext.d.ts +4 -0
- package/types/contexts/ModelContext.d.ts +4 -0
- package/types/contexts/ModelFilterContext.d.ts +4 -0
- package/types/contexts/ModelFilterRowContext.d.ts +4 -0
- package/types/contexts/NotificationContext.d.ts +4 -0
- package/types/contexts/TableContext.d.ts +4 -0
- package/types/dist.d.ts +3 -0
- package/types/facades/Cms.d.ts +31 -0
- package/types/facades/Filter.d.ts +24 -0
- package/types/hooks/useActionEvent.d.ts +2 -0
- package/types/hooks/useBackButton.d.ts +6 -0
- package/types/hooks/useCurrentModel.d.ts +1 -0
- package/types/hooks/useDialog.d.ts +1 -0
- package/types/hooks/useDisplaceNotifications.d.ts +1 -0
- package/types/hooks/useHandleError.d.ts +1 -0
- package/types/hooks/useHasBackButton.d.ts +6 -0
- package/types/hooks/useHasSearch.d.ts +7 -0
- package/types/hooks/useIsDesktopMode.d.ts +7 -0
- package/types/hooks/useKeyChord.d.ts +1 -0
- package/types/hooks/useKeyPress.d.ts +1 -0
- package/types/hooks/useLayoutConfig.d.ts +8 -0
- package/types/hooks/useMenu.d.ts +12 -0
- package/types/hooks/useNotifications.d.ts +1 -0
- package/types/hooks/useNotify.d.ts +1 -0
- package/types/hooks/useOptimistic.d.ts +32 -0
- package/types/hooks/usePageTitle.d.ts +7 -0
- package/types/hooks/useSearch.d.ts +6 -0
- package/types/hooks/useSelection.d.ts +10 -0
- package/types/hooks/useSetPageTitle.d.ts +8 -0
- package/types/hooks/useTable.d.ts +1 -0
- package/types/index.d.ts +2 -0
- package/types/main.d.ts +0 -0
- package/types/plugins/CmsPlugin.d.ts +18 -0
- package/types/plugins/i18NextPlugin.d.ts +19 -0
- package/types/providers/DialogProvider.d.ts +4 -0
- package/types/providers/LayoutProvider.d.ts +5 -0
- package/types/providers/ModelProvider.d.ts +3 -0
- package/types/providers/NotificationProvider.d.ts +4 -0
- package/types/providers/TableProvider.d.ts +4 -0
- package/types/routes.d.ts +3 -0
- package/types/support/ModelIndex/Filter/inputs.d.ts +4 -0
- package/types/support/ModelIndex/Filter/searchParams.d.ts +18 -0
- package/types/support/ModelIndex/relation.d.ts +4 -0
- package/types/support/array.d.ts +9 -0
- package/types/support/date.d.ts +1 -0
- package/types/support/error.d.ts +2 -0
- package/types/support/handlers.d.ts +9 -0
- package/types/support/misc.d.ts +16 -0
- package/types/support/searchParams.d.ts +1 -0
- package/types/types/Config.d.ts +13 -0
- package/types/types/Contexts.d.ts +72 -0
- package/types/types/Dialog.d.ts +9 -0
- package/types/types/Filter.d.ts +20 -0
- package/types/types/Menu.d.ts +11 -0
- package/types/types/Notifications.d.ts +13 -0
- package/types/types/Plugin.d.ts +8 -0
- package/types/types/PropTypes.d.ts +100 -0
- package/types/types/Reducers.d.ts +4 -0
- package/types/types/Table.d.ts +41 -0
- package/types/types/Tabs.d.ts +4 -0
- package/types/views/Dashboard.d.ts +3 -0
- package/types/views/Error.d.ts +4 -0
- package/types/views/Layout/Layout.d.ts +4 -0
- package/types/views/ModelIndex.d.ts +3 -0
- package/types/views/ModelItem.d.ts +4 -0
package/dist/vite.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@luminix/mui-cms",
|
|
3
|
+
"version": "0.0.1-beta.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "dist/mui-cms.js",
|
|
6
|
+
"types": "types/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"dev": "vite --port=3333 --config=vite.config.dev.ts",
|
|
9
|
+
"build": "npm run build:bundle && npm run build:dist",
|
|
10
|
+
"build:bundle": "tsc && vite build --config vite.config.bundle.ts",
|
|
11
|
+
"build:dist": "tsc && vite build",
|
|
12
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
13
|
+
"preview": "vite preview"
|
|
14
|
+
},
|
|
15
|
+
"peerDependencies": {
|
|
16
|
+
"@emotion/react": "^11.13.0",
|
|
17
|
+
"@emotion/styled": "^11.13.0",
|
|
18
|
+
"@fontsource/roboto": "^5.0.12",
|
|
19
|
+
"@luminix/core": "^0.0.1-beta.15",
|
|
20
|
+
"@luminix/react": "^0.0.1-beta.20",
|
|
21
|
+
"@mui/icons-material": "^5.16.5",
|
|
22
|
+
"@mui/material": "^5.16.5",
|
|
23
|
+
"axios": "^1.6.4",
|
|
24
|
+
"i18next": "^23.12.2",
|
|
25
|
+
"lodash": "^4.17.21",
|
|
26
|
+
"react": "^18.3.1",
|
|
27
|
+
"react-dom": "^18.3.1",
|
|
28
|
+
"react-i18next": "^15.0.1",
|
|
29
|
+
"react-router-dom": "6.25.1"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@types/lodash": "^4.17.0",
|
|
33
|
+
"@types/react": "^18.3.3",
|
|
34
|
+
"@types/react-dom": "^18.3.0",
|
|
35
|
+
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
36
|
+
"@typescript-eslint/parser": "^7.2.0",
|
|
37
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
38
|
+
"eslint": "^8.57.0",
|
|
39
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
40
|
+
"eslint-plugin-react-refresh": "^0.4.6",
|
|
41
|
+
"terser": "^5.31.6",
|
|
42
|
+
"typescript": "^5.2.2",
|
|
43
|
+
"vite": "^5.2.0",
|
|
44
|
+
"vite-plugin-dts": "^4.0.3"
|
|
45
|
+
}
|
|
46
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2020",
|
|
4
|
+
"useDefineForClassFields": true,
|
|
5
|
+
"lib": ["ES2020", "DOM", "DOM.Iterable", "ES2021.String"],
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"skipLibCheck": true,
|
|
8
|
+
|
|
9
|
+
/* Bundler mode */
|
|
10
|
+
"moduleResolution": "bundler",
|
|
11
|
+
"allowImportingTsExtensions": true,
|
|
12
|
+
"resolveJsonModule": true,
|
|
13
|
+
"isolatedModules": true,
|
|
14
|
+
"noEmit": true,
|
|
15
|
+
"jsx": "react-jsx",
|
|
16
|
+
|
|
17
|
+
/* Linting */
|
|
18
|
+
"strict": true,
|
|
19
|
+
"noUnusedLocals": true,
|
|
20
|
+
"noUnusedParameters": true,
|
|
21
|
+
"noFallthroughCasesInSwitch": true
|
|
22
|
+
},
|
|
23
|
+
"include": ["src"],
|
|
24
|
+
"references": [{ "path": "./tsconfig.node.json" }]
|
|
25
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { LinkProps as RouterLinkProps } from 'react-router-dom';
|
|
3
|
+
import { LinkTypeMap } from '@mui/material/Link';
|
|
4
|
+
import { DefaultComponentProps } from '@mui/material/OverridableComponent';
|
|
5
|
+
export type LinkProps = DefaultComponentProps<LinkTypeMap> & RouterLinkProps;
|
|
6
|
+
declare const Link: React.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
7
|
+
export default Link;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SelectChangeEvent } from '@mui/material';
|
|
3
|
+
import { FilterColumn, FilteredColumn } from '../../../types/Filter';
|
|
4
|
+
export default function useRow(index: number, column: FilteredColumn): {
|
|
5
|
+
columns: FilterColumn[];
|
|
6
|
+
key: string;
|
|
7
|
+
setKey: React.Dispatch<React.SetStateAction<string>>;
|
|
8
|
+
operator: string;
|
|
9
|
+
setOperator: React.Dispatch<React.SetStateAction<string>>;
|
|
10
|
+
type: string;
|
|
11
|
+
setType: React.Dispatch<React.SetStateAction<string>>;
|
|
12
|
+
value: any;
|
|
13
|
+
setValue: React.Dispatch<any>;
|
|
14
|
+
isRelation: boolean;
|
|
15
|
+
setIsRelation: React.Dispatch<React.SetStateAction<boolean>>;
|
|
16
|
+
handleKey: (event: SelectChangeEvent<string>) => Promise<void>;
|
|
17
|
+
handleOperator: (event: SelectChangeEvent<string>) => Promise<void>;
|
|
18
|
+
handleRemoveColumn: (index: number) => () => void;
|
|
19
|
+
};
|
package/types/dist.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Model } from '@luminix/core';
|
|
3
|
+
import { RouteObject } from 'react-router-dom';
|
|
4
|
+
import { MenuItem } from '../types/Menu';
|
|
5
|
+
import { ModelFormProps } from '@luminix/react/dist/types/Form';
|
|
6
|
+
import { StaticAction, MassAction } from '../types/Table';
|
|
7
|
+
import { ReducerCallback } from '@luminix/core/dist/types/Reducer';
|
|
8
|
+
declare class CmsFacade {
|
|
9
|
+
[key: string]: ReducerCallback;
|
|
10
|
+
constructor();
|
|
11
|
+
getComponents(): Record<string, React.ComponentType>;
|
|
12
|
+
getComponent(name: string): React.ComponentType;
|
|
13
|
+
getRoutes(): RouteObject[];
|
|
14
|
+
getMenuItems(): MenuItem[];
|
|
15
|
+
getModelFormProps(item: Model): ModelFormProps;
|
|
16
|
+
getMassActions(ModelClass: typeof Model, currentTab: string): MassAction[];
|
|
17
|
+
getInstanceActions(ModelClass: typeof Model, currentTab: string): StaticAction[];
|
|
18
|
+
getStaticActions(ModelClass: typeof Model, currentTab: string): StaticAction[];
|
|
19
|
+
}
|
|
20
|
+
declare const _default: (new (...args: any[]) => {
|
|
21
|
+
reducers: {
|
|
22
|
+
[name: string]: import('@luminix/core/dist/types/Collection').Collection<import('@luminix/core/dist/types/Reducer').Reducer>;
|
|
23
|
+
};
|
|
24
|
+
reducer(name: string, callback: ReducerCallback, priority?: number): () => void;
|
|
25
|
+
removeReducer(name: string, callback: ReducerCallback): void;
|
|
26
|
+
getReducer(name: string): import('@luminix/core/dist/types/Collection').Collection<import('@luminix/core/dist/types/Reducer').Reducer>;
|
|
27
|
+
hasReducer(name: string): boolean;
|
|
28
|
+
clearReducer(name: string): void;
|
|
29
|
+
flushReducers(): void;
|
|
30
|
+
}) & typeof CmsFacade;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Model } from '@luminix/core';
|
|
2
|
+
import { ReducerCallback } from '@luminix/core/dist/types/Reducer';
|
|
3
|
+
import { InputOption } from '../types/PropTypes';
|
|
4
|
+
import { FilterColumn, FilteredColumn } from '../types/Filter';
|
|
5
|
+
declare class FilterFacade {
|
|
6
|
+
[key: string]: ReducerCallback;
|
|
7
|
+
getInputType(type: string): string;
|
|
8
|
+
getOperators(): string[];
|
|
9
|
+
getMatchingOperators(column: FilterColumn): InputOption[];
|
|
10
|
+
getFilterableColumns(ModelClass: typeof Model): FilterColumn[];
|
|
11
|
+
checkIfCanApplyFilters(columnsFilter: FilteredColumn[]): boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: (new (...args: any[]) => {
|
|
14
|
+
reducers: {
|
|
15
|
+
[name: string]: import('@luminix/core/dist/types/Collection').Collection<import('@luminix/core/dist/types/Reducer').Reducer>;
|
|
16
|
+
};
|
|
17
|
+
reducer(name: string, callback: ReducerCallback, priority?: number): () => void;
|
|
18
|
+
removeReducer(name: string, callback: ReducerCallback): void;
|
|
19
|
+
getReducer(name: string): import('@luminix/core/dist/types/Collection').Collection<import('@luminix/core/dist/types/Reducer').Reducer>;
|
|
20
|
+
hasReducer(name: string): boolean;
|
|
21
|
+
clearReducer(name: string): void;
|
|
22
|
+
flushReducers(): void;
|
|
23
|
+
}) & typeof FilterFacade;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useCurrentModel(): typeof import('@luminix/core').Model;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useDialog(): import('../types/Dialog').DialogFunction;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useDisplaceNotifications(value: string | number | false): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useHandleError(): (error: unknown) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useKeyChord(keys: string[], onPress?: () => void): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useKeyPress(key: string, onPress?: () => void): boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Gets the value of a layout configuration.
|
|
4
|
+
*
|
|
5
|
+
* @param {string} path The path to the configuration.
|
|
6
|
+
* @param {unknown} defaultValue The default value to return if the configuration is not found.
|
|
7
|
+
*/
|
|
8
|
+
export default function useLayoutConfig(path: string, defaultValue?: unknown): unknown;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Hook to control the menu state.
|
|
4
|
+
*
|
|
5
|
+
* @returns {object} An object containing the open state and functions to open, close, and toggle the menu.
|
|
6
|
+
*/
|
|
7
|
+
export default function useMenu(): {
|
|
8
|
+
open: boolean;
|
|
9
|
+
handleDrawerOpen: () => void;
|
|
10
|
+
handleDrawerClose: () => void;
|
|
11
|
+
toggle: () => void;
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useNotifications(): import('../types/Contexts').NotificationContextValue;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useNotify(): import('../types/Notifications').NotifyFunction;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Hook to create an optimistic state. It will update the result when the state changes, if the state is not falsy.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```tsx
|
|
7
|
+
* const [state, setState] = React.useState<string>();
|
|
8
|
+
* const optimistic = useOptimistic(state);
|
|
9
|
+
*
|
|
10
|
+
* const handleClick = () => {
|
|
11
|
+
* if (Math.random() > 0.5) {
|
|
12
|
+
* setState('new value');
|
|
13
|
+
* } else {
|
|
14
|
+
* setState(null);
|
|
15
|
+
* }
|
|
16
|
+
* };
|
|
17
|
+
*
|
|
18
|
+
* // After the first time state is set to 'new value'
|
|
19
|
+
* // the optimistic state will always be 'new value'
|
|
20
|
+
*
|
|
21
|
+
* return (
|
|
22
|
+
* <>
|
|
23
|
+
* <p>{optimistic}</p>
|
|
24
|
+
* <button onClick={handleClick}>
|
|
25
|
+
* Change Value
|
|
26
|
+
* </button>
|
|
27
|
+
* </>
|
|
28
|
+
* );
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export default function useOptimistic<T>(state: T): T;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Model } from '@luminix/core';
|
|
2
|
+
export default function useSelection(): {
|
|
3
|
+
selected: import('@luminix/core/dist/types/Collection').Collection<Model>;
|
|
4
|
+
indeterminate: boolean;
|
|
5
|
+
allSelected: boolean;
|
|
6
|
+
isSelected: (item: Model) => boolean;
|
|
7
|
+
handleClearSelected: () => void;
|
|
8
|
+
handleSelectToggle: (item: Model) => void;
|
|
9
|
+
handleSelectToggleAll: () => void;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useTable(): import('../types/Contexts').TableContextValue;
|
package/types/index.d.ts
ADDED
package/types/main.d.ts
ADDED
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AppFacade, Plugin } from '@luminix/core';
|
|
2
|
+
import { CmsPluginOptions } from '../types/Plugin';
|
|
3
|
+
declare class CmsPlugin extends Plugin {
|
|
4
|
+
options: CmsPluginOptions;
|
|
5
|
+
name: string;
|
|
6
|
+
constructor(options?: CmsPluginOptions);
|
|
7
|
+
register(appFacade: AppFacade): void;
|
|
8
|
+
boot(): void;
|
|
9
|
+
private bootModels;
|
|
10
|
+
private bootRoutes;
|
|
11
|
+
private bootComponents;
|
|
12
|
+
private bootMenu;
|
|
13
|
+
private bootDefaultUserModifiers;
|
|
14
|
+
private bootMassActions;
|
|
15
|
+
private bootInstanceActions;
|
|
16
|
+
private bootStaticActions;
|
|
17
|
+
}
|
|
18
|
+
export default CmsPlugin;
|