@ws-ui/store 0.0.28 → 0.0.30
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/index.cjs.js +32 -32
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2609 -2562
- package/dist/index.es.js.map +1 -1
- package/dist/modules/explorer/thunks.d.ts +1 -1
- package/dist/modules/root/reducer.d.ts +2 -1
- package/dist/modules/root/thunks.d.ts +1 -2
- package/dist/modules/settings/types.d.ts +0 -1
- package/dist/selectors/settings.d.ts +45 -0
- package/package.json +2 -2
|
@@ -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"> | undefined;
|
|
151
|
+
}>, "pinned" | "loading" | "enabled" | "confirmed"> | undefined;
|
|
152
152
|
}, {
|
|
153
153
|
state: AppState;
|
|
154
154
|
}>;
|
|
@@ -17,6 +17,7 @@ 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;
|
|
20
21
|
selectTab(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<string>): void;
|
|
21
22
|
openTabUnselected(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<ITab>): void;
|
|
22
23
|
selectTabByReference(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<ITab>): void;
|
|
@@ -90,7 +91,7 @@ export declare const setTabs: import("@reduxjs/toolkit").ActionCreatorWithPayloa
|
|
|
90
91
|
}, string>, removeDataSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
91
92
|
path: string;
|
|
92
93
|
datasourceID: string;
|
|
93
|
-
}, string>, selectTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, selectTabByReference: import("@reduxjs/toolkit").ActionCreatorWithPayload<ITab<any, Partial<{
|
|
94
|
+
}, string>, confirmTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, selectTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, selectTabByReference: import("@reduxjs/toolkit").ActionCreatorWithPayload<ITab<any, Partial<{
|
|
94
95
|
initialLineInfo: {
|
|
95
96
|
line: number;
|
|
96
97
|
offset?: number | undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="@ws-ui/shared/dist/declarations/datasources/datasource" />
|
|
2
|
-
import { FileFolderTypeWithContent, IFileInfoResponse, IMultilineMessage, INodeInfo } from '@ws-ui/shared';
|
|
3
|
-
import { ITab } from '@ws-ui/shared';
|
|
2
|
+
import { FileFolderTypeWithContent, IFileInfoResponse, IMultilineMessage, INodeInfo, ITab } from '@ws-ui/shared';
|
|
4
3
|
import { AppState } from '..';
|
|
5
4
|
import { ClassFileTypes, TActionRenameDataSource } from './types';
|
|
6
5
|
export declare const fetchFiles: import("@reduxjs/toolkit").AsyncThunk<{
|
|
@@ -42,6 +42,51 @@ 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
|
+
};
|
|
45
90
|
export declare const selectProjectSettings: ((state: import("redux").EmptyObject & {
|
|
46
91
|
root: import("immer/dist/internal.js").WritableDraft<import("../modules").IRootState>;
|
|
47
92
|
explorer: import("immer/dist/internal.js").WritableDraft<import("../modules").ITreeItem>[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/store",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.30",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"react-redux": "^7.2.6"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@ws-ui/shared": "^0.0.
|
|
25
|
+
"@ws-ui/shared": "^0.0.43",
|
|
26
26
|
"lodash": "^4.17.21",
|
|
27
27
|
"minimatch": "^5.1.0",
|
|
28
28
|
"react": "^17.0.2",
|