@ws-ui/store 0.1.6 → 0.1.7
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/dist/hooks/store.d.ts +6 -56
- package/dist/index.cjs.js +53 -52
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +7294 -7197
- package/dist/index.es.js.map +1 -1
- package/dist/modules/catalog/thunks.d.ts +7 -0
- package/dist/modules/debugger/reducer.d.ts +19 -19
- package/dist/modules/debugger/thunks.d.ts +14 -0
- package/dist/modules/explorer/index.d.ts +1 -1
- package/dist/modules/explorer/reducer.d.ts +6 -6
- package/dist/modules/explorer/thunks.d.ts +158 -7
- package/dist/modules/index.d.ts +4 -19
- package/dist/modules/modals/reducer.d.ts +3 -3
- package/dist/modules/modals/thunks.d.ts +10 -1
- package/dist/modules/modals/types.d.ts +4 -4
- package/dist/modules/model/reducer.d.ts +1 -1
- package/dist/modules/model/thunks.d.ts +39 -8
- package/dist/modules/roles/index.d.ts +1 -16
- package/dist/modules/roles/reducer.d.ts +4 -19
- package/dist/modules/roles/thunks.d.ts +19 -0
- package/dist/modules/root/index.d.ts +1 -1
- package/dist/modules/root/reducer.d.ts +17 -17
- package/dist/modules/root/thunks.d.ts +106 -3
- package/dist/modules/settings/reducer.d.ts +3 -3
- package/dist/modules/settings/thunks.d.ts +16 -1
- package/dist/modules/shared-css/index.d.ts +1 -1
- package/dist/modules/shared-css/reducer.d.ts +3 -3
- package/dist/modules/shared-css/thunks.d.ts +6 -0
- package/dist/modules/shared-datasources/reducer.d.ts +1 -1
- package/dist/modules/shared-datasources/thunks.d.ts +42 -1
- package/dist/modules/tabs/selectors.d.ts +8 -23
- package/dist/modules/webforms/datasources.adapter.d.ts +4 -19
- package/dist/modules/webforms/reducer.d.ts +5 -5
- package/dist/modules/webforms/thunks.d.ts +174 -9
- package/dist/provider.d.ts +2 -2
- package/dist/selectors/catalog.d.ts +30 -135
- package/dist/selectors/common.d.ts +16 -76
- package/dist/selectors/components.d.ts +5 -20
- package/dist/selectors/datasources.d.ts +25 -115
- package/dist/selectors/debugger.d.ts +88 -418
- package/dist/selectors/explorer.d.ts +146 -536
- package/dist/selectors/modals.d.ts +4 -19
- package/dist/selectors/roles.d.ts +56 -296
- package/dist/selectors/settings.d.ts +32 -152
- package/dist/selectors/states.d.ts +6 -21
- package/dist/selectors/styles.d.ts +26 -101
- package/dist/selectors/tabs.d.ts +8 -23
- package/dist/selectors/webforms.d.ts +45 -210
- package/dist/store.d.ts +42 -1
- package/package.json +16 -7
package/dist/hooks/store.d.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { TypedUseSelectorHook } from 'react-redux';
|
|
3
3
|
import { Dispatch } from 'redux';
|
|
4
4
|
import type { AppState } from '../modules';
|
|
5
|
-
export declare const useAppDispatch: () =>
|
|
6
|
-
root: import(
|
|
7
|
-
explorer: import(
|
|
5
|
+
export declare const useAppDispatch: () => import("redux-thunk").ThunkDispatch<import("redux").CombinedState<{
|
|
6
|
+
root: import('../modules').IRootState;
|
|
7
|
+
explorer: import('../modules').ITreeItem[];
|
|
8
8
|
debugger: import('../modules').IDebuggerState;
|
|
9
9
|
settings: import('../modules').ISettingsState;
|
|
10
10
|
catalog: {
|
|
@@ -16,63 +16,13 @@ export declare const useAppDispatch: () => Dispatch<import("redux").AnyAction> &
|
|
|
16
16
|
state: "error";
|
|
17
17
|
error: string;
|
|
18
18
|
};
|
|
19
|
-
roles:
|
|
20
|
-
flags: {
|
|
21
|
-
touched?: boolean | undefined;
|
|
22
|
-
removed?: boolean | undefined;
|
|
23
|
-
pinned?: boolean | undefined;
|
|
24
|
-
loading?: boolean | undefined;
|
|
25
|
-
old?: boolean | undefined;
|
|
26
|
-
enabled?: boolean | undefined;
|
|
27
|
-
confirmed?: boolean | undefined;
|
|
28
|
-
};
|
|
29
|
-
date?: string | undefined;
|
|
30
|
-
privileges: import('../modules').TById;
|
|
31
|
-
roles: import('../modules').TRolesDict;
|
|
32
|
-
forceLogin?: boolean | undefined;
|
|
33
|
-
selectedTab: "roles" | "privileges";
|
|
34
|
-
};
|
|
35
|
-
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
36
|
-
webforms: import('../modules').IWebformEditorState;
|
|
37
|
-
modals: import('../modules').IModalsState;
|
|
38
|
-
sharedCSS: import("immer/dist/internal.js").WritableDraft<import('../modules').ISharedCSSState>;
|
|
39
|
-
model: import('../modules').IModelState;
|
|
40
|
-
}>, null, import("redux").AnyAction> & import("redux-thunk").ThunkDispatch<import("redux").CombinedState<{
|
|
41
|
-
root: import("immer/dist/internal.js").WritableDraft<import('../modules').IRootState>;
|
|
42
|
-
explorer: import("immer/dist/internal.js").WritableDraft<import('../modules').ITreeItem>[];
|
|
43
|
-
debugger: import('../modules').IDebuggerState;
|
|
44
|
-
settings: import('../modules').ISettingsState;
|
|
45
|
-
catalog: {
|
|
46
|
-
state: "loading";
|
|
47
|
-
} | {
|
|
48
|
-
state: "loaded";
|
|
49
|
-
model: datasources.IEnhancedCatalog;
|
|
50
|
-
} | {
|
|
51
|
-
state: "error";
|
|
52
|
-
error: string;
|
|
53
|
-
};
|
|
54
|
-
roles: {
|
|
55
|
-
flags: {
|
|
56
|
-
touched?: boolean | undefined;
|
|
57
|
-
removed?: boolean | undefined;
|
|
58
|
-
pinned?: boolean | undefined;
|
|
59
|
-
loading?: boolean | undefined;
|
|
60
|
-
old?: boolean | undefined;
|
|
61
|
-
enabled?: boolean | undefined;
|
|
62
|
-
confirmed?: boolean | undefined;
|
|
63
|
-
};
|
|
64
|
-
date?: string | undefined;
|
|
65
|
-
privileges: import('../modules').TById;
|
|
66
|
-
roles: import('../modules').TRolesDict;
|
|
67
|
-
forceLogin?: boolean | undefined;
|
|
68
|
-
selectedTab: "roles" | "privileges";
|
|
69
|
-
};
|
|
19
|
+
roles: import('../modules').IRolesState;
|
|
70
20
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
71
21
|
webforms: import('../modules').IWebformEditorState;
|
|
72
22
|
modals: import('../modules').IModalsState;
|
|
73
|
-
sharedCSS: import(
|
|
23
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
74
24
|
model: import('../modules').IModelState;
|
|
75
|
-
}>, undefined, import("redux").AnyAction>;
|
|
25
|
+
}>, undefined, import("redux").AnyAction> & Dispatch<import("redux").AnyAction>;
|
|
76
26
|
export declare const useAppSelector: TypedUseSelectorHook<AppState>;
|
|
77
27
|
export type AsyncThunkConfig<RejectValue = string> = {
|
|
78
28
|
/** return type for `thunkApi.getState` */
|