@nocobase/client 2.0.0-alpha.12 → 2.0.0-alpha.13
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/es/flow/FlowModelRepository.d.ts +2 -0
- package/es/flow/models/base/CollectionBlockModel.d.ts +1 -0
- package/es/flow/models/base/PageModel/PageModel.d.ts +3 -0
- package/es/flow/models/base/PageModel/RootPageModel.d.ts +2 -0
- package/es/index.mjs +14280 -14180
- package/lib/{index-C3fHjsMw-CPNByUCR.js → index-C3fHjsMw-DI4QGopA.js} +214 -214
- package/lib/index.js +120 -120
- package/package.json +6 -6
|
@@ -19,6 +19,7 @@ export declare class MockFlowModelRepository implements IFlowModelRepository<Flo
|
|
|
19
19
|
destroy(uid: string): Promise<boolean>;
|
|
20
20
|
clear(): Promise<boolean>;
|
|
21
21
|
move(sourceId: string, targetId: string, position?: 'before' | 'after'): Promise<void>;
|
|
22
|
+
duplicate(uid: string): Promise<any>;
|
|
22
23
|
}
|
|
23
24
|
export declare class FlowModelRepository implements IFlowModelRepository<FlowModel> {
|
|
24
25
|
private app;
|
|
@@ -29,4 +30,5 @@ export declare class FlowModelRepository implements IFlowModelRepository<FlowMod
|
|
|
29
30
|
}): Promise<any>;
|
|
30
31
|
destroy(uid: string): Promise<boolean>;
|
|
31
32
|
move(sourceId: string, targetId: string, position?: 'before' | 'after'): Promise<any>;
|
|
33
|
+
duplicate(uid: string): Promise<any>;
|
|
32
34
|
}
|
|
@@ -20,6 +20,9 @@ export declare class PageModel extends FlowModel<PageModelStructure> {
|
|
|
20
20
|
left?: ReactNode;
|
|
21
21
|
right?: ReactNode;
|
|
22
22
|
};
|
|
23
|
+
tabActiveKey: string;
|
|
24
|
+
onMount(): void;
|
|
25
|
+
invokeTabModelLifecycleMethod(tabActiveKey: string, method: 'onActive' | 'onInactive'): void;
|
|
23
26
|
createPageTabModelOptions: () => CreateModelOptions;
|
|
24
27
|
mapTabs(): {
|
|
25
28
|
key: string;
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
import { DragEndEvent } from '@dnd-kit/core';
|
|
10
10
|
import { PageModel } from './PageModel';
|
|
11
11
|
export declare class RootPageModel extends PageModel {
|
|
12
|
+
mounted: boolean;
|
|
13
|
+
onMount(): void;
|
|
12
14
|
saveStepParams(): Promise<void>;
|
|
13
15
|
handleDragEnd(event: DragEndEvent): Promise<void>;
|
|
14
16
|
}
|