@nocobase/client 2.1.0-beta.29 → 2.1.0-beta.30
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.
|
@@ -28,6 +28,8 @@ export declare class AdminLayoutMenuItemModel extends FlowModel<AdminLayoutMenuI
|
|
|
28
28
|
getRouteRepository(): any;
|
|
29
29
|
hasPersistedMenuInstanceFlowFlag(route?: NocoBaseDesktopRoute): boolean;
|
|
30
30
|
getCurrentPersistedInstanceFlowCount(): number;
|
|
31
|
+
hasPersistableMenuLinkageRules(): boolean;
|
|
32
|
+
hasCurrentPersistedMenuState(): boolean;
|
|
31
33
|
buildRouteOptionsWithPersistedFlowFlag(hasPersistedMenuInstanceFlow: boolean): {
|
|
32
34
|
[x: string]: any;
|
|
33
35
|
hasPersistedMenuInstanceFlow?: boolean;
|
|
@@ -46,6 +48,8 @@ export declare class AdminLayoutMenuItemModel extends FlowModel<AdminLayoutMenuI
|
|
|
46
48
|
* @returns {boolean} 是否需要走 FlowModel 默认保存链路
|
|
47
49
|
*/
|
|
48
50
|
hasPersistableInstanceFlows(): boolean;
|
|
51
|
+
setHidden(value: boolean): void;
|
|
52
|
+
protected renderHiddenInConfig(): React.ReactNode | undefined;
|
|
49
53
|
insertRouteSchema(schema: Record<string, any>): Promise<void>;
|
|
50
54
|
createMenuRoute(route: NocoBaseDesktopRoute, options?: {
|
|
51
55
|
parentId?: string | number;
|