@ws-ui/store 0.0.27 → 0.0.28
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 +32 -32
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2562 -2609
- package/dist/index.es.js.map +1 -1
- package/dist/modules/explorer/thunks.d.ts +1 -1
- package/dist/modules/root/reducer.d.ts +1 -2
- package/dist/modules/root/thunks.d.ts +2 -1
- package/dist/modules/settings/types.d.ts +1 -0
- package/dist/selectors/settings.d.ts +0 -45
- package/package.json +55 -55
|
@@ -148,7 +148,7 @@ export declare const openFile: import("@reduxjs/toolkit").AsyncThunk<ITab<any, P
|
|
|
148
148
|
old: boolean;
|
|
149
149
|
enabled: boolean;
|
|
150
150
|
confirmed: boolean;
|
|
151
|
-
}>, "pinned" | "loading" | "enabled"
|
|
151
|
+
}>, "pinned" | "loading" | "enabled"> | undefined;
|
|
152
152
|
}, {
|
|
153
153
|
state: AppState;
|
|
154
154
|
}>;
|
|
@@ -17,7 +17,6 @@ export declare const stateSlice: import("@reduxjs/toolkit").Slice<import("immer/
|
|
|
17
17
|
closeRightTabs(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<number>): void;
|
|
18
18
|
closeLeftTabs(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<number>): void;
|
|
19
19
|
closeSavedTabs(state: import("immer/dist/internal.js").WritableDraft<IRootState>): void;
|
|
20
|
-
confirmTab(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<string>): void;
|
|
21
20
|
selectTab(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<string>): void;
|
|
22
21
|
openTabUnselected(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<ITab>): void;
|
|
23
22
|
selectTabByReference(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<ITab>): void;
|
|
@@ -91,7 +90,7 @@ export declare const setTabs: import("@reduxjs/toolkit").ActionCreatorWithPayloa
|
|
|
91
90
|
}, string>, removeDataSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
92
91
|
path: string;
|
|
93
92
|
datasourceID: string;
|
|
94
|
-
}, string>,
|
|
93
|
+
}, string>, selectTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, selectTabByReference: import("@reduxjs/toolkit").ActionCreatorWithPayload<ITab<any, Partial<{
|
|
95
94
|
initialLineInfo: {
|
|
96
95
|
line: number;
|
|
97
96
|
offset?: number | undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="@ws-ui/shared/dist/declarations/datasources/datasource" />
|
|
2
|
-
import { FileFolderTypeWithContent, IFileInfoResponse, IMultilineMessage, INodeInfo
|
|
2
|
+
import { FileFolderTypeWithContent, IFileInfoResponse, IMultilineMessage, INodeInfo } from '@ws-ui/shared';
|
|
3
|
+
import { ITab } from '@ws-ui/shared';
|
|
3
4
|
import { AppState } from '..';
|
|
4
5
|
import { ClassFileTypes, TActionRenameDataSource } from './types';
|
|
5
6
|
export declare const fetchFiles: import("@reduxjs/toolkit").AsyncThunk<{
|
|
@@ -42,51 +42,6 @@ export declare const selectSessionSettings: ((state: import("redux").EmptyObject
|
|
|
42
42
|
}> & {
|
|
43
43
|
clearCache: () => void;
|
|
44
44
|
};
|
|
45
|
-
export declare const selectPartialSessionSettings: (...keys: string[]) => ((state: import("redux").EmptyObject & {
|
|
46
|
-
root: import("immer/dist/internal.js").WritableDraft<import("../modules").IRootState>;
|
|
47
|
-
explorer: import("immer/dist/internal.js").WritableDraft<import("../modules").ITreeItem>[];
|
|
48
|
-
debugger: import("../modules").IDebuggerState;
|
|
49
|
-
settings: import("../modules").ISettingsState;
|
|
50
|
-
catalog: {
|
|
51
|
-
state: "loading";
|
|
52
|
-
} | {
|
|
53
|
-
state: "loaded";
|
|
54
|
-
model: datasources.IEnhancedCatalog;
|
|
55
|
-
} | {
|
|
56
|
-
state: "error";
|
|
57
|
-
error: string;
|
|
58
|
-
};
|
|
59
|
-
roles: {
|
|
60
|
-
flags: {
|
|
61
|
-
touched?: boolean | undefined;
|
|
62
|
-
removed?: boolean | undefined;
|
|
63
|
-
pinned?: boolean | undefined;
|
|
64
|
-
loading?: boolean | undefined;
|
|
65
|
-
old?: boolean | undefined;
|
|
66
|
-
enabled?: boolean | undefined;
|
|
67
|
-
confirmed?: boolean | undefined;
|
|
68
|
-
};
|
|
69
|
-
date?: string | undefined;
|
|
70
|
-
privileges: import("../modules").TById;
|
|
71
|
-
roles: import("../modules").TRolesDict;
|
|
72
|
-
selectedTab: "roles" | "privileges";
|
|
73
|
-
};
|
|
74
|
-
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
75
|
-
webforms: import("../modules").IWebformEditorState;
|
|
76
|
-
modals: import("../modules").IModalsState;
|
|
77
|
-
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
78
|
-
model: import("../modules").IModelState;
|
|
79
|
-
}) => {
|
|
80
|
-
[key: string]: any;
|
|
81
|
-
}) & import("reselect").OutputSelectorFields<(args_0: {
|
|
82
|
-
[key: string]: any;
|
|
83
|
-
}) => {
|
|
84
|
-
[key: string]: any;
|
|
85
|
-
}, {
|
|
86
|
-
clearCache: () => void;
|
|
87
|
-
}> & {
|
|
88
|
-
clearCache: () => void;
|
|
89
|
-
};
|
|
90
45
|
export declare const selectProjectSettings: ((state: import("redux").EmptyObject & {
|
|
91
46
|
root: import("immer/dist/internal.js").WritableDraft<import("../modules").IRootState>;
|
|
92
47
|
explorer: import("immer/dist/internal.js").WritableDraft<import("../modules").ITreeItem>[];
|
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.28",
|
|
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.42",
|
|
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
|
+
}
|