@ws-ui/store 0.3.8 → 0.3.9
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 +6 -2
- package/dist/hooks/store.d.ts +3 -24
- package/dist/index.cjs.js +115 -86
- package/dist/index.es.js +16649 -11462
- package/dist/modules/catalog/index.d.ts +1 -9
- package/dist/modules/catalog/reducer.d.ts +1 -9
- package/dist/modules/catalog/thunks.d.ts +1 -10
- package/dist/modules/debugger/index.d.ts +1 -1
- package/dist/modules/debugger/reducer.d.ts +3 -118
- package/dist/modules/debugger/thunks.d.ts +2 -26
- 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 +2 -44
- package/dist/modules/explorer/thunks.d.ts +33 -368
- package/dist/modules/explorer/utils.d.ts +1 -2
- package/dist/modules/index.d.ts +1 -22
- package/dist/modules/modals/index.d.ts +1 -1
- package/dist/modules/modals/reducer.d.ts +2 -13
- package/dist/modules/modals/thunks.d.ts +1 -20
- 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 +2 -10
- package/dist/modules/model/selectors.d.ts +7 -13
- package/dist/modules/model/subjects.d.ts +1 -7
- package/dist/modules/model/thunks.d.ts +4 -89
- 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 +2 -41
- package/dist/modules/roles/thunks.d.ts +3 -42
- package/dist/modules/root/index.d.ts +1 -1
- package/dist/modules/root/reducer.d.ts +2 -199
- package/dist/modules/root/thunks.d.ts +16 -246
- 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 +2 -28
- package/dist/modules/settings/thunks.d.ts +2 -23
- package/dist/modules/shared-conditions/index.d.ts +1 -1
- package/dist/modules/shared-conditions/reducer.d.ts +3 -35
- package/dist/modules/shared-conditions/thunks.d.ts +1 -13
- package/dist/modules/shared-conditions/utils.d.ts +0 -2
- package/dist/modules/shared-css/index.d.ts +1 -1
- package/dist/modules/shared-css/reducer.d.ts +2 -14
- package/dist/modules/shared-css/thunks.d.ts +1 -13
- package/dist/modules/shared-datasources/index.d.ts +1 -1
- package/dist/modules/shared-datasources/reducer.d.ts +2 -10
- package/dist/modules/shared-datasources/thunks.d.ts +6 -73
- 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 +1 -52
- package/dist/modules/webforms/datasources.adapter.d.ts +2 -24
- package/dist/modules/webforms/index.d.ts +1 -1
- package/dist/modules/webforms/reducer.d.ts +2 -47
- package/dist/modules/webforms/thunks.d.ts +10 -140
- package/dist/modules/webforms/types.d.ts +1 -1
- package/dist/package.json +28 -0
- package/dist/provider.d.ts +1 -1
- package/dist/selectors/catalog.d.ts +8 -200
- package/dist/selectors/common.d.ts +1 -89
- package/dist/selectors/components.d.ts +1 -50
- package/dist/selectors/datasources.d.ts +4 -152
- package/dist/selectors/debugger.d.ts +26 -612
- package/dist/selectors/explorer.d.ts +22 -1010
- package/dist/selectors/modals.d.ts +1 -26
- package/dist/selectors/roles.d.ts +8 -238
- package/dist/selectors/settings.d.ts +12 -332
- package/dist/selectors/states.d.ts +5 -201
- package/dist/selectors/styles.d.ts +5 -162
- package/dist/selectors/tabs.d.ts +3 -156
- package/dist/selectors/webforms.d.ts +13 -366
- package/dist/store.d.ts +3 -45
- package/dist/style.css +1 -0
- package/dist/utils.d.ts +4 -4
- package/package.json +15 -55
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.es.js.map +0 -1
package/README.md
CHANGED
package/dist/hooks/store.d.ts
CHANGED
|
@@ -1,29 +1,8 @@
|
|
|
1
|
-
import { TypedUseSelectorHook } from 'react-redux';
|
|
2
|
-
import { Dispatch } from 'redux';
|
|
3
1
|
import { AppState } from '../modules';
|
|
2
|
+
import { Dispatch } from 'redux';
|
|
3
|
+
import { TypedUseSelectorHook } from 'react-redux';
|
|
4
4
|
|
|
5
|
-
export declare const useAppDispatch: () =>
|
|
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>;
|
|
5
|
+
export declare const useAppDispatch: () => AppDispatch;
|
|
27
6
|
export declare const useAppSelector: TypedUseSelectorHook<AppState>;
|
|
28
7
|
export type AsyncThunkConfig<RejectValue = string> = {
|
|
29
8
|
/** return type for `thunkApi.getState` */
|