@ws-ui/store 0.0.3 → 0.0.5
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 +3 -3
- package/dist/index.cjs.js +142 -97
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.es.js +13554 -12706
- package/dist/index.es.js.map +1 -1
- package/dist/modules/debugger/reducer.d.ts +4 -4
- package/dist/modules/debugger/types.d.ts +1 -13
- package/dist/modules/debugger/utils.d.ts +1 -1
- package/dist/modules/explorer/thunks.d.ts +9 -9
- package/dist/modules/model/thunks.d.ts +5 -5
- package/dist/modules/roles/thunks.d.ts +1 -1
- package/dist/modules/roles/types.d.ts +1 -1
- package/dist/modules/root/reducer.d.ts +9 -9
- package/dist/modules/root/thunks.d.ts +7 -7
- package/dist/modules/root/types.d.ts +1 -2
- package/dist/modules/tabs/selectors.d.ts +3 -3
- package/dist/modules/webforms/index.d.ts +1 -1
- package/dist/modules/webforms/private.d.ts +1 -1
- package/dist/selectors/debugger.d.ts +3 -3
- package/dist/selectors/explorer.d.ts +45 -45
- package/dist/selectors/styles.d.ts +3 -3
- package/dist/selectors/tabs.d.ts +3 -3
- package/dist/utils.d.ts +1 -1
- package/package.json +55 -55
- package/dist/interfaces/index.d.ts +0 -1
- package/dist/interfaces/shared.d.ts +0 -60
- package/dist/modules/webforms/selectors.d.ts +0 -6
package/dist/utils.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ws-ui/store",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
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
|
-
"dev": "vite",
|
|
14
|
-
"prepack": "npm run build",
|
|
15
|
-
"build": "tsc && vite build",
|
|
16
|
-
"postbuild": "yalc push --changed",
|
|
17
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
18
|
-
"preview": "vite preview"
|
|
19
|
-
},
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"@reduxjs/toolkit": "^1.7.1",
|
|
22
|
-
"react-redux": "^7.2.6"
|
|
23
|
-
},
|
|
24
|
-
"peerDependencies": {
|
|
25
|
-
"@ws-ui/shared": "^0.0.
|
|
26
|
-
"lodash": "^4.17.21",
|
|
27
|
-
"minimatch": "^5.1.0",
|
|
28
|
-
"react": "^17.0.2",
|
|
29
|
-
"react-dom": "^17.0.2",
|
|
30
|
-
"react-flow-renderer": "^10.3.17",
|
|
31
|
-
"react-icons": "^4.3.1",
|
|
32
|
-
"vscode-debugprotocol": "^1.51.0"
|
|
33
|
-
},
|
|
34
|
-
"devDependencies": {
|
|
35
|
-
"@jest/globals": "^29.7.0",
|
|
36
|
-
"@types/jest": "^29.5.5",
|
|
37
|
-
"@types/lodash": "^4.14.199",
|
|
38
|
-
"@types/minimatch": "^3.0.5",
|
|
39
|
-
"@types/node": "^20.6.5",
|
|
40
|
-
"@types/react": "^17.0.24",
|
|
41
|
-
"@types/react-dom": "^17.0.5",
|
|
42
|
-
"@types/react-redux": "^7.1.16",
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
44
|
-
"@typescript-eslint/parser": "^6.0.0",
|
|
45
|
-
"@vitejs/plugin-react": "^4.0.3",
|
|
46
|
-
"eslint": "^8.45.0",
|
|
47
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
48
|
-
"eslint-plugin-react-refresh": "^0.4.3",
|
|
49
|
-
"prettier": "3.0.3",
|
|
50
|
-
"typescript": "^5.0.2",
|
|
51
|
-
"vite": "^4.4.5",
|
|
52
|
-
"vite-plugin-dts": "^3.5.4",
|
|
53
|
-
"yalc": "^1.0.0-pre.53"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@ws-ui/store",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.0.5",
|
|
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
|
+
"dev": "vite",
|
|
14
|
+
"prepack": "npm run build",
|
|
15
|
+
"build": "tsc && vite build",
|
|
16
|
+
"postbuild": "yalc push --changed",
|
|
17
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
18
|
+
"preview": "vite preview"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@reduxjs/toolkit": "^1.7.1",
|
|
22
|
+
"react-redux": "^7.2.6"
|
|
23
|
+
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"@ws-ui/shared": "^0.0.31",
|
|
26
|
+
"lodash": "^4.17.21",
|
|
27
|
+
"minimatch": "^5.1.0",
|
|
28
|
+
"react": "^17.0.2",
|
|
29
|
+
"react-dom": "^17.0.2",
|
|
30
|
+
"react-flow-renderer": "^10.3.17",
|
|
31
|
+
"react-icons": "^4.3.1",
|
|
32
|
+
"vscode-debugprotocol": "^1.51.0"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@jest/globals": "^29.7.0",
|
|
36
|
+
"@types/jest": "^29.5.5",
|
|
37
|
+
"@types/lodash": "^4.14.199",
|
|
38
|
+
"@types/minimatch": "^3.0.5",
|
|
39
|
+
"@types/node": "^20.6.5",
|
|
40
|
+
"@types/react": "^17.0.24",
|
|
41
|
+
"@types/react-dom": "^17.0.5",
|
|
42
|
+
"@types/react-redux": "^7.1.16",
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
44
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
45
|
+
"@vitejs/plugin-react": "^4.0.3",
|
|
46
|
+
"eslint": "^8.45.0",
|
|
47
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
48
|
+
"eslint-plugin-react-refresh": "^0.4.3",
|
|
49
|
+
"prettier": "3.0.3",
|
|
50
|
+
"typescript": "^5.0.2",
|
|
51
|
+
"vite": "^4.4.5",
|
|
52
|
+
"vite-plugin-dts": "^3.5.4",
|
|
53
|
+
"yalc": "^1.0.0-pre.53"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './shared';
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/// <reference types="@ws-ui/shared/dist/declarations/webform/webform" />
|
|
2
|
-
import { DebuggerFileExtension, ISource } from '../modules/debugger/types';
|
|
3
|
-
import { IEditor, IFileInfo, IMethodAttributes, ITextEditorSelection } from '@ws-ui/shared';
|
|
4
|
-
export type ITabFlags = Partial<{
|
|
5
|
-
touched: boolean;
|
|
6
|
-
removed: boolean;
|
|
7
|
-
pinned: boolean;
|
|
8
|
-
loading: boolean;
|
|
9
|
-
old: boolean;
|
|
10
|
-
enabled: boolean;
|
|
11
|
-
}>;
|
|
12
|
-
export type ITabExtra = Partial<{
|
|
13
|
-
initialLineInfo: {
|
|
14
|
-
line: number;
|
|
15
|
-
offset?: number;
|
|
16
|
-
lastModification: number;
|
|
17
|
-
};
|
|
18
|
-
initialSelectionInfo: {
|
|
19
|
-
selection: ITextEditorSelection;
|
|
20
|
-
lastModification: number;
|
|
21
|
-
};
|
|
22
|
-
diffContent: string;
|
|
23
|
-
attributes: IMethodAttributes;
|
|
24
|
-
source: ISource;
|
|
25
|
-
editor: IEditor;
|
|
26
|
-
ext: DebuggerFileExtension;
|
|
27
|
-
}>;
|
|
28
|
-
export interface ITab<T = any, G = ITabExtra> extends IFileInfo {
|
|
29
|
-
content?: T;
|
|
30
|
-
weight?: number;
|
|
31
|
-
prefix?: string;
|
|
32
|
-
extra?: G;
|
|
33
|
-
view: {
|
|
34
|
-
panel: {
|
|
35
|
-
isOpen: boolean;
|
|
36
|
-
type: string;
|
|
37
|
-
current: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
flags: ITabFlags;
|
|
41
|
-
initialContent?: T;
|
|
42
|
-
}
|
|
43
|
-
export type WebformTab = ITab<webforms.Content>;
|
|
44
|
-
export interface IAppState {
|
|
45
|
-
files: IFileInfo[];
|
|
46
|
-
tabs: ITab[];
|
|
47
|
-
activeTab: string;
|
|
48
|
-
}
|
|
49
|
-
export declare enum ERROR_CODES {
|
|
50
|
-
FILE_NOT_FOUND = 1839
|
|
51
|
-
}
|
|
52
|
-
export interface GetNodeInfoException {
|
|
53
|
-
data: {
|
|
54
|
-
__ERROR: [
|
|
55
|
-
{
|
|
56
|
-
errCode: number;
|
|
57
|
-
}
|
|
58
|
-
];
|
|
59
|
-
};
|
|
60
|
-
}
|