@ws-ui/store 0.3.7 → 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.
Files changed (76) hide show
  1. package/README.md +6 -2
  2. package/dist/hooks/store.d.ts +3 -24
  3. package/dist/index.cjs.js +115 -86
  4. package/dist/index.es.js +16649 -11462
  5. package/dist/modules/catalog/index.d.ts +1 -9
  6. package/dist/modules/catalog/reducer.d.ts +1 -9
  7. package/dist/modules/catalog/thunks.d.ts +1 -10
  8. package/dist/modules/debugger/index.d.ts +1 -1
  9. package/dist/modules/debugger/reducer.d.ts +3 -118
  10. package/dist/modules/debugger/thunks.d.ts +2 -26
  11. package/dist/modules/debugger/types.d.ts +2 -2
  12. package/dist/modules/explorer/index.d.ts +1 -1
  13. package/dist/modules/explorer/reducer.d.ts +2 -44
  14. package/dist/modules/explorer/thunks.d.ts +33 -368
  15. package/dist/modules/explorer/utils.d.ts +1 -2
  16. package/dist/modules/index.d.ts +1 -22
  17. package/dist/modules/modals/index.d.ts +1 -1
  18. package/dist/modules/modals/reducer.d.ts +2 -13
  19. package/dist/modules/modals/thunks.d.ts +1 -20
  20. package/dist/modules/modals/types.d.ts +1 -1
  21. package/dist/modules/model/helpers.d.ts +2 -2
  22. package/dist/modules/model/index.d.ts +1 -1
  23. package/dist/modules/model/reducer.d.ts +2 -10
  24. package/dist/modules/model/selectors.d.ts +7 -13
  25. package/dist/modules/model/subjects.d.ts +1 -7
  26. package/dist/modules/model/thunks.d.ts +4 -89
  27. package/dist/modules/model/utils.d.ts +5 -5
  28. package/dist/modules/roles/index.d.ts +1 -1
  29. package/dist/modules/roles/reducer.d.ts +2 -41
  30. package/dist/modules/roles/thunks.d.ts +3 -42
  31. package/dist/modules/root/index.d.ts +1 -1
  32. package/dist/modules/root/reducer.d.ts +2 -199
  33. package/dist/modules/root/thunks.d.ts +16 -246
  34. package/dist/modules/root/types.d.ts +1 -1
  35. package/dist/modules/settings/index.d.ts +1 -1
  36. package/dist/modules/settings/reducer.d.ts +2 -28
  37. package/dist/modules/settings/thunks.d.ts +2 -23
  38. package/dist/modules/shared-conditions/index.d.ts +1 -1
  39. package/dist/modules/shared-conditions/reducer.d.ts +3 -35
  40. package/dist/modules/shared-conditions/thunks.d.ts +1 -13
  41. package/dist/modules/shared-conditions/utils.d.ts +0 -2
  42. package/dist/modules/shared-css/index.d.ts +1 -1
  43. package/dist/modules/shared-css/reducer.d.ts +2 -14
  44. package/dist/modules/shared-css/thunks.d.ts +1 -13
  45. package/dist/modules/shared-datasources/index.d.ts +1 -1
  46. package/dist/modules/shared-datasources/reducer.d.ts +2 -10
  47. package/dist/modules/shared-datasources/thunks.d.ts +6 -73
  48. package/dist/modules/tabs/index.d.ts +1 -1
  49. package/dist/modules/tabs/reducer.d.ts +1 -1
  50. package/dist/modules/tabs/selectors.d.ts +1 -52
  51. package/dist/modules/webforms/datasources.adapter.d.ts +2 -24
  52. package/dist/modules/webforms/index.d.ts +1 -1
  53. package/dist/modules/webforms/reducer.d.ts +2 -47
  54. package/dist/modules/webforms/thunks.d.ts +10 -140
  55. package/dist/modules/webforms/types.d.ts +1 -1
  56. package/dist/package.json +28 -0
  57. package/dist/provider.d.ts +1 -1
  58. package/dist/selectors/catalog.d.ts +8 -200
  59. package/dist/selectors/common.d.ts +1 -89
  60. package/dist/selectors/components.d.ts +1 -50
  61. package/dist/selectors/datasources.d.ts +4 -152
  62. package/dist/selectors/debugger.d.ts +26 -612
  63. package/dist/selectors/explorer.d.ts +22 -1010
  64. package/dist/selectors/modals.d.ts +1 -26
  65. package/dist/selectors/roles.d.ts +8 -238
  66. package/dist/selectors/settings.d.ts +12 -332
  67. package/dist/selectors/states.d.ts +5 -201
  68. package/dist/selectors/styles.d.ts +5 -162
  69. package/dist/selectors/tabs.d.ts +3 -156
  70. package/dist/selectors/webforms.d.ts +13 -366
  71. package/dist/store.d.ts +3 -45
  72. package/dist/style.css +1 -0
  73. package/dist/utils.d.ts +4 -4
  74. package/package.json +15 -55
  75. package/dist/index.cjs.js.map +0 -1
  76. package/dist/index.es.js.map +0 -1
package/README.md CHANGED
@@ -1,3 +1,7 @@
1
- # Qodly store
1
+ # store
2
2
 
3
- coming soon...
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Running unit tests
6
+
7
+ Run `nx test store` to execute the unit tests via [Vitest](https://vitest.dev/).
@@ -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: () => 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>;
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` */