@ws-ui/store 0.3.9 → 0.3.11
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/README.md +2 -6
- package/dist/hooks/store.d.ts +24 -3
- package/dist/index.cjs.js +86 -115
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.es.js +12235 -17422
- package/dist/index.es.js.map +1 -0
- package/dist/modules/catalog/index.d.ts +9 -1
- package/dist/modules/catalog/reducer.d.ts +9 -1
- package/dist/modules/catalog/thunks.d.ts +10 -1
- package/dist/modules/debugger/index.d.ts +1 -1
- package/dist/modules/debugger/reducer.d.ts +118 -3
- package/dist/modules/debugger/thunks.d.ts +26 -2
- package/dist/modules/debugger/types.d.ts +2 -2
- package/dist/modules/explorer/index.d.ts +1 -1
- package/dist/modules/explorer/reducer.d.ts +44 -2
- package/dist/modules/explorer/thunks.d.ts +368 -33
- package/dist/modules/explorer/utils.d.ts +2 -1
- package/dist/modules/index.d.ts +22 -1
- package/dist/modules/modals/index.d.ts +1 -1
- package/dist/modules/modals/reducer.d.ts +13 -2
- package/dist/modules/modals/thunks.d.ts +20 -1
- package/dist/modules/modals/types.d.ts +1 -1
- package/dist/modules/model/helpers.d.ts +2 -2
- package/dist/modules/model/index.d.ts +1 -1
- package/dist/modules/model/reducer.d.ts +10 -2
- package/dist/modules/model/selectors.d.ts +13 -7
- package/dist/modules/model/subjects.d.ts +7 -1
- package/dist/modules/model/thunks.d.ts +89 -4
- package/dist/modules/model/utils.d.ts +5 -5
- package/dist/modules/roles/index.d.ts +1 -1
- package/dist/modules/roles/reducer.d.ts +41 -2
- package/dist/modules/roles/thunks.d.ts +42 -3
- package/dist/modules/root/index.d.ts +1 -1
- package/dist/modules/root/reducer.d.ts +199 -2
- package/dist/modules/root/thunks.d.ts +246 -16
- package/dist/modules/root/types.d.ts +1 -1
- package/dist/modules/settings/index.d.ts +1 -1
- package/dist/modules/settings/reducer.d.ts +28 -2
- package/dist/modules/settings/thunks.d.ts +23 -2
- package/dist/modules/shared-conditions/index.d.ts +1 -1
- package/dist/modules/shared-conditions/reducer.d.ts +35 -3
- package/dist/modules/shared-conditions/thunks.d.ts +13 -1
- package/dist/modules/shared-conditions/utils.d.ts +2 -0
- package/dist/modules/shared-css/index.d.ts +1 -1
- package/dist/modules/shared-css/reducer.d.ts +14 -2
- package/dist/modules/shared-css/thunks.d.ts +13 -1
- package/dist/modules/shared-datasources/index.d.ts +1 -1
- package/dist/modules/shared-datasources/reducer.d.ts +10 -2
- package/dist/modules/shared-datasources/thunks.d.ts +73 -6
- package/dist/modules/tabs/index.d.ts +1 -1
- package/dist/modules/tabs/reducer.d.ts +1 -1
- package/dist/modules/tabs/selectors.d.ts +52 -1
- package/dist/modules/webforms/datasources.adapter.d.ts +24 -2
- package/dist/modules/webforms/index.d.ts +1 -1
- package/dist/modules/webforms/reducer.d.ts +47 -2
- package/dist/modules/webforms/thunks.d.ts +140 -10
- package/dist/modules/webforms/types.d.ts +1 -1
- package/dist/provider.d.ts +1 -1
- package/dist/selectors/catalog.d.ts +200 -8
- package/dist/selectors/common.d.ts +89 -1
- package/dist/selectors/components.d.ts +50 -1
- package/dist/selectors/datasources.d.ts +152 -4
- package/dist/selectors/debugger.d.ts +612 -26
- package/dist/selectors/explorer.d.ts +1010 -22
- package/dist/selectors/modals.d.ts +26 -1
- package/dist/selectors/roles.d.ts +238 -8
- package/dist/selectors/settings.d.ts +332 -12
- package/dist/selectors/states.d.ts +201 -5
- package/dist/selectors/styles.d.ts +162 -5
- package/dist/selectors/tabs.d.ts +156 -3
- package/dist/selectors/webforms.d.ts +366 -13
- package/dist/store.d.ts +45 -3
- package/dist/utils.d.ts +4 -4
- package/package.json +55 -15
- package/dist/package.json +0 -28
- package/dist/style.css +0 -1
package/README.md
CHANGED
package/dist/hooks/store.d.ts
CHANGED
|
@@ -1,8 +1,29 @@
|
|
|
1
|
-
import { AppState } from '../modules';
|
|
2
|
-
import { Dispatch } from 'redux';
|
|
3
1
|
import { TypedUseSelectorHook } from 'react-redux';
|
|
2
|
+
import { Dispatch } from 'redux';
|
|
3
|
+
import { AppState } from '../modules';
|
|
4
4
|
|
|
5
|
-
export declare const useAppDispatch: () =>
|
|
5
|
+
export declare const useAppDispatch: () => import('redux-thunk').ThunkDispatch<import('redux').CombinedState<{
|
|
6
|
+
root: import('../modules').IRootState;
|
|
7
|
+
explorer: import('../modules').ITreeItem[];
|
|
8
|
+
debugger: import('../modules').IDebuggerState;
|
|
9
|
+
settings: import('../modules').ISettingsState;
|
|
10
|
+
catalog: {
|
|
11
|
+
state: "loading";
|
|
12
|
+
} | {
|
|
13
|
+
state: "loaded";
|
|
14
|
+
model: datasources.IEnhancedCatalog;
|
|
15
|
+
} | {
|
|
16
|
+
state: "error";
|
|
17
|
+
error: string;
|
|
18
|
+
};
|
|
19
|
+
roles: import('../modules').IRolesState;
|
|
20
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
21
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
22
|
+
webforms: import('../modules').IWebformEditorState;
|
|
23
|
+
modals: import('../modules').IModalsState;
|
|
24
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
25
|
+
model: import('../modules').IModelState;
|
|
26
|
+
}>, undefined, import('redux').AnyAction> & Dispatch<import('redux').AnyAction>;
|
|
6
27
|
export declare const useAppSelector: TypedUseSelectorHook<AppState>;
|
|
7
28
|
export type AsyncThunkConfig<RejectValue = string> = {
|
|
8
29
|
/** return type for `thunkApi.getState` */
|