@kengic/core.react 0.0.1-beta.41 → 0.0.1-beta.44

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/core.react",
3
- "version": "0.0.1-beta.41",
3
+ "version": "0.0.1-beta.44",
4
4
  "type": "module",
5
5
  "main": "./kengic-core.react.js",
6
6
  "module": "./kengic-core.react.js",
@@ -13,7 +13,7 @@ export type IKgWorkStationState = Record<string, {
13
13
  /**
14
14
  * 当前选择的工作区.
15
15
  */
16
- workstationArea: WorkstationAreaDTO | null;
16
+ workStationArea: WorkstationAreaDTO | null;
17
17
  }>;
18
18
  export declare const set: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
19
19
  id: string | null | undefined;
@@ -24,12 +24,19 @@ export declare const set: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
24
24
  id: string | null | undefined;
25
25
  }, "KgWorkStation/openModal">, closeModal: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
26
26
  id: string | null | undefined;
27
- }, "KgWorkStation/closeModal">, unmount: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
27
+ }, "KgWorkStation/closeModal">, setWorkStation: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
28
+ id: string | null | undefined;
29
+ workStation: WorkstationDTO | null;
30
+ }, "KgWorkStation/setWorkStation">, setWorkStationArea: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
31
+ id: string | null | undefined;
32
+ workStationArea: WorkstationAreaDTO | null;
33
+ }, "KgWorkStation/setWorkStationArea">, unmount: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
28
34
  id: string | null | undefined;
29
35
  }, "KgWorkStation/unmount">;
30
36
  export declare function getIsVisible(id: string): (state: IKgWorkStationState) => boolean;
37
+ export declare function getIsOpen(id: string): (state: IKgWorkStationState) => boolean;
31
38
  export declare function getWorkStation(id: string): (state: IKgWorkStationState) => WorkstationDTO | null;
32
- export declare function getWorkstationArea(id: string): (state: IKgWorkStationState) => WorkstationAreaDTO | null;
39
+ export declare function getWorkStationArea(id: string): (state: IKgWorkStationState) => WorkstationAreaDTO | null;
33
40
  export declare const store: import("@reduxjs/toolkit").EnhancedStore<IKgWorkStationState, import("@reduxjs/toolkit").UnknownAction, import("@reduxjs/toolkit").Tuple<[import("@reduxjs/toolkit").StoreEnhancer<{
34
41
  dispatch: import("@reduxjs/toolkit").ThunkDispatch<IKgWorkStationState, undefined, import("@reduxjs/toolkit").UnknownAction>;
35
42
  }>, import("@reduxjs/toolkit").StoreEnhancer]>>;
package/src/i18n/en.d.ts CHANGED
@@ -3,4 +3,5 @@ export declare const en: {
3
3
  'KgWorkStation.selectWorkStation': string;
4
4
  'KgWorkStation.workStation': string;
5
5
  'KgWorkStation.workStationAndWorkStationArea': string;
6
+ 'KgWorkStation.workStationArea': string;
6
7
  };
@@ -3,4 +3,5 @@ export declare const zh_CN: {
3
3
  'KgWorkStation.selectWorkStation': string;
4
4
  'KgWorkStation.workStation': string;
5
5
  'KgWorkStation.workStationAndWorkStationArea': string;
6
+ 'KgWorkStation.workStationArea': string;
6
7
  };