@kengic/core.react 0.0.1-beta.11 → 0.0.1-beta.12
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/package.json
CHANGED
|
@@ -16,6 +16,9 @@ export interface IDoKgWorkStation {
|
|
|
16
16
|
get<T extends {
|
|
17
17
|
value: any;
|
|
18
18
|
}>(ref: (value: any) => any, fn: (state: IKgWorkStationState[string]) => any): [T, () => void];
|
|
19
|
+
getIsVisible<T extends {
|
|
20
|
+
value: boolean;
|
|
21
|
+
}>(ref: (value: any) => any): [T, () => void];
|
|
19
22
|
/**
|
|
20
23
|
* 监听事件: 挂载.
|
|
21
24
|
*
|
|
@@ -18,6 +18,7 @@ export declare const set: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
|
18
18
|
}, "KgWorkStation/closeModal">, unmount: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
19
19
|
id: string | null | undefined;
|
|
20
20
|
}, "KgWorkStation/unmount">;
|
|
21
|
+
export declare function getIsVisible(id: string): (state: IKgWorkStationState) => boolean;
|
|
21
22
|
export declare const store: import("@reduxjs/toolkit").EnhancedStore<IKgWorkStationState, import("@reduxjs/toolkit").UnknownAction, import("@reduxjs/toolkit").Tuple<[import("@reduxjs/toolkit").StoreEnhancer<{
|
|
22
23
|
dispatch: import("@reduxjs/toolkit").ThunkDispatch<IKgWorkStationState, undefined, import("@reduxjs/toolkit").UnknownAction>;
|
|
23
24
|
}>, import("@reduxjs/toolkit").StoreEnhancer]>>;
|