@ws-ui/store 1.5.7 → 1.5.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/dist/hooks/store.d.ts +0 -1
- package/dist/index.cjs.js +44 -44
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +11993 -10904
- package/dist/index.es.js.map +1 -1
- package/dist/modules/catalog/reducer.d.ts +3 -3
- package/dist/modules/catalog/thunks.d.ts +1 -1
- package/dist/modules/debugger/reducer.d.ts +22 -23
- package/dist/modules/debugger/thunks.d.ts +2 -3
- package/dist/modules/debugger/types.d.ts +0 -1
- package/dist/modules/debugger/utils.d.ts +0 -1
- package/dist/modules/explorer/reducer.d.ts +0 -1
- package/dist/modules/explorer/thunks.d.ts +38 -39
- package/dist/modules/explorer/types.d.ts +0 -1
- package/dist/modules/explorer/utils.d.ts +0 -1
- package/dist/modules/index.d.ts +0 -1
- package/dist/modules/modals/reducer.d.ts +1 -2
- package/dist/modules/modals/thunks.d.ts +1 -2
- package/dist/modules/modals/types.d.ts +0 -1
- package/dist/modules/model/helpers.d.ts +1 -2
- package/dist/modules/model/reducer.d.ts +0 -1
- package/dist/modules/model/selectors.d.ts +0 -1
- package/dist/modules/model/subjects.d.ts +1 -2
- package/dist/modules/model/thunks.d.ts +6 -7
- package/dist/modules/model/types.d.ts +0 -1
- package/dist/modules/model/utils.d.ts +3 -4
- package/dist/modules/roles/adapter.d.ts +1 -2
- package/dist/modules/roles/reducer.d.ts +7 -17
- package/dist/modules/roles/thunks.d.ts +3 -4
- package/dist/modules/roles/types.d.ts +0 -1
- package/dist/modules/root/reducer.d.ts +11 -21
- package/dist/modules/root/thunks.d.ts +25 -31
- package/dist/modules/root/types.d.ts +0 -1
- package/dist/modules/settings/reducer.d.ts +0 -1
- package/dist/modules/settings/thunks.d.ts +2 -3
- package/dist/modules/settings/types.d.ts +0 -1
- package/dist/modules/settings/utils.d.ts +0 -1
- package/dist/modules/shared-conditions/reducer.d.ts +0 -1
- package/dist/modules/shared-conditions/thunks.d.ts +1 -2
- package/dist/modules/shared-conditions/utils.d.ts +0 -1
- package/dist/modules/shared-css/reducer.d.ts +0 -1
- package/dist/modules/shared-css/thunks.d.ts +1 -2
- package/dist/modules/shared-datasources/reducer.d.ts +0 -1
- package/dist/modules/shared-datasources/thunks.d.ts +6 -7
- package/dist/modules/shared-datasources/utils.d.ts +0 -1
- package/dist/modules/tabs/selectors.d.ts +3 -3
- package/dist/modules/tasks/reducer.d.ts +0 -1
- package/dist/modules/webforms/datasources.adapter.d.ts +1 -2
- package/dist/modules/webforms/reducer.d.ts +2 -2
- package/dist/modules/webforms/thunks.d.ts +15 -107
- package/dist/modules/webforms/types.d.ts +0 -1
- package/dist/provider.d.ts +0 -1
- package/dist/selectors/catalog.d.ts +0 -1
- package/dist/selectors/components.d.ts +8 -8
- package/dist/selectors/datasources.d.ts +1 -2
- package/dist/selectors/debugger.d.ts +12 -13
- package/dist/selectors/explorer.d.ts +21 -22
- package/dist/selectors/states.d.ts +3 -4
- package/dist/selectors/styles.d.ts +5 -6
- package/dist/selectors/tabs.d.ts +6 -6
- package/dist/selectors/webforms.d.ts +0 -1
- package/dist/store.d.ts +0 -1
- package/dist/utils.d.ts +0 -1
- package/package.json +15 -22
- package/dist/package.json +0 -61
package/dist/store.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AnyAction, EnhancedStore } from '@reduxjs/toolkit';
|
|
2
2
|
import { AppState } from './modules';
|
|
3
3
|
import { ThunkMiddlewareFor } from '@reduxjs/toolkit/dist/getDefaultMiddleware';
|
|
4
|
-
|
|
5
4
|
export type Store = EnhancedStore<AppState, AnyAction, [
|
|
6
5
|
ThunkMiddlewareFor<AppState>
|
|
7
6
|
]>;
|
package/dist/utils.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { ITab, WebformState, WebformStateCondition } from '@ws-ui/shared';
|
|
|
2
2
|
import { AppState } from './modules';
|
|
3
3
|
import { IRootState } from './modules/root/types';
|
|
4
4
|
import { ModelNode, ServerModel } from './modules/model/types';
|
|
5
|
-
|
|
6
5
|
export declare const CATALOG_REFRESH_DELAY = 2000;
|
|
7
6
|
export declare const DEFAULT_CACHE: TCachedState;
|
|
8
7
|
export type TCachedState = Pick<IRootState, 'tabs' | 'activeTab' | 'recent'> & Pick<AppState, 'roles' | 'debugger' | 'webforms' | 'sharedCSS' | 'tasks'>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/store",
|
|
3
|
-
"
|
|
4
|
-
"version": "1.5.7",
|
|
3
|
+
"version": "1.5.9",
|
|
5
4
|
"type": "module",
|
|
6
5
|
"main": "./dist/index.cjs.js",
|
|
7
6
|
"module": "./dist/index.es.js",
|
|
@@ -10,27 +9,27 @@
|
|
|
10
9
|
"dist"
|
|
11
10
|
],
|
|
12
11
|
"scripts": {
|
|
13
|
-
"start-dev": "nodemon --watch src --ext ts,tsx,js,jsx,css --exec \"npm run build && npm run --prefix ../.. postbuild -- --packages=store\"",
|
|
14
12
|
"build": "tsc && vite build",
|
|
15
13
|
"prepack": "npm run build",
|
|
16
|
-
"test": "jest"
|
|
14
|
+
"test": "jest",
|
|
15
|
+
"publish": "npm publish --ignore-scripts --access public"
|
|
17
16
|
},
|
|
18
17
|
"overrides": {
|
|
19
18
|
"@ws-ui/shared": {
|
|
20
|
-
"@ws-ui/icons": "
|
|
19
|
+
"@ws-ui/icons": "$@ws-ui/icons"
|
|
21
20
|
}
|
|
22
21
|
},
|
|
23
22
|
"dependencies": {
|
|
24
23
|
"@reduxjs/toolkit": "^1.7.1",
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
"peerDependencies": {
|
|
24
|
+
"@ws-ui/icons": "",
|
|
25
|
+
"@ws-ui/shared": "",
|
|
28
26
|
"lodash": "^4.17.21",
|
|
29
27
|
"minimatch": "^10.0.1",
|
|
30
28
|
"react": "^17.0.2",
|
|
31
29
|
"react-dom": "^17.0.2",
|
|
32
30
|
"react-flow-renderer": "^10.3.17",
|
|
33
31
|
"react-icons": "^4.3.1",
|
|
32
|
+
"react-redux": "^7.2.6",
|
|
34
33
|
"vscode-debugprotocol": "^1.51.0"
|
|
35
34
|
},
|
|
36
35
|
"devDependencies": {
|
|
@@ -38,24 +37,18 @@
|
|
|
38
37
|
"@jest/globals": "^29.7.0",
|
|
39
38
|
"@testing-library/jest-dom": "^6.4.2",
|
|
40
39
|
"@testing-library/react": "^12.1.5",
|
|
41
|
-
"@types/jest": "^29.5.
|
|
40
|
+
"@types/jest": "^29.5.14",
|
|
42
41
|
"@types/lodash": "^4.14.199",
|
|
43
42
|
"@types/minimatch": "^5.1.2",
|
|
44
|
-
"@types/node": "^20.
|
|
43
|
+
"@types/node": "^20.14.9",
|
|
45
44
|
"@types/react": "^17.0.24",
|
|
46
45
|
"@types/react-dom": "^17.0.5",
|
|
47
46
|
"@types/react-redux": "^7.1.16",
|
|
48
|
-
"@
|
|
49
|
-
"@typescript-eslint/parser": "^6.0.0",
|
|
50
|
-
"@vitejs/plugin-react": "^4.0.3",
|
|
51
|
-
"eslint": "^8.45.0",
|
|
52
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
53
|
-
"eslint-plugin-react-refresh": "^0.4.3",
|
|
47
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
54
48
|
"jest": "^29.7.0",
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"vite": "^5.
|
|
59
|
-
"vite-plugin-dts": "^3.5.4"
|
|
49
|
+
"ts-jest": "^29.2.6",
|
|
50
|
+
"typescript": "^5.8.3",
|
|
51
|
+
"vite": "^6.2.1",
|
|
52
|
+
"vite-plugin-dts": "^4.5.3"
|
|
60
53
|
}
|
|
61
|
-
}
|
|
54
|
+
}
|
package/dist/package.json
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ws-ui/store",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "1.5.7",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.cjs.js",
|
|
7
|
-
"module": "./dist/index.es.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"files": [
|
|
10
|
-
"dist"
|
|
11
|
-
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"start-dev": "nodemon --watch src --ext ts,tsx,js,jsx,css --exec \"npm run build && npm run --prefix ../.. postbuild -- --packages=store\"",
|
|
14
|
-
"build": "tsc && vite build",
|
|
15
|
-
"prepack": "npm run build",
|
|
16
|
-
"test": "jest"
|
|
17
|
-
},
|
|
18
|
-
"overrides": {
|
|
19
|
-
"@ws-ui/shared": {
|
|
20
|
-
"@ws-ui/icons": "1.5.7"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"@reduxjs/toolkit": "^1.7.1",
|
|
25
|
-
"react-redux": "^7.2.6"
|
|
26
|
-
},
|
|
27
|
-
"peerDependencies": {
|
|
28
|
-
"lodash": "^4.17.21",
|
|
29
|
-
"minimatch": "^10.0.1",
|
|
30
|
-
"react": "^17.0.2",
|
|
31
|
-
"react-dom": "^17.0.2",
|
|
32
|
-
"react-flow-renderer": "^10.3.17",
|
|
33
|
-
"react-icons": "^4.3.1",
|
|
34
|
-
"vscode-debugprotocol": "^1.51.0"
|
|
35
|
-
},
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"@esbuild/darwin-arm64": "^0.21.4",
|
|
38
|
-
"@jest/globals": "^29.7.0",
|
|
39
|
-
"@testing-library/jest-dom": "^6.4.2",
|
|
40
|
-
"@testing-library/react": "^12.1.5",
|
|
41
|
-
"@types/jest": "^29.5.5",
|
|
42
|
-
"@types/lodash": "^4.14.199",
|
|
43
|
-
"@types/minimatch": "^5.1.2",
|
|
44
|
-
"@types/node": "^20.6.5",
|
|
45
|
-
"@types/react": "^17.0.24",
|
|
46
|
-
"@types/react-dom": "^17.0.5",
|
|
47
|
-
"@types/react-redux": "^7.1.16",
|
|
48
|
-
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
49
|
-
"@typescript-eslint/parser": "^6.0.0",
|
|
50
|
-
"@vitejs/plugin-react": "^4.0.3",
|
|
51
|
-
"eslint": "^8.45.0",
|
|
52
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
53
|
-
"eslint-plugin-react-refresh": "^0.4.3",
|
|
54
|
-
"jest": "^29.7.0",
|
|
55
|
-
"prettier": "^3.2.5",
|
|
56
|
-
"ts-jest": "^29.1.2",
|
|
57
|
-
"typescript": "^5.0.2",
|
|
58
|
-
"vite": "^5.0.0",
|
|
59
|
-
"vite-plugin-dts": "^3.5.4"
|
|
60
|
-
}
|
|
61
|
-
}
|