@ws-ui/store 0.0.33 → 0.0.35
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.
|
@@ -140,6 +140,7 @@ export declare const openFile: import("@reduxjs/toolkit").AsyncThunk<ITab<any, P
|
|
|
140
140
|
}>> | null, {
|
|
141
141
|
file: IFileInfo;
|
|
142
142
|
inactive?: boolean | undefined;
|
|
143
|
+
isNew?: boolean | undefined;
|
|
143
144
|
flags?: Pick<Partial<{
|
|
144
145
|
touched: boolean;
|
|
145
146
|
removed: boolean;
|
|
@@ -20,7 +20,9 @@ export declare const stateSlice: import("@reduxjs/toolkit").Slice<import("immer/
|
|
|
20
20
|
confirmTab(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<string>): void;
|
|
21
21
|
selectTab(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<string>): void;
|
|
22
22
|
openTabUnselected(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<ITab>): void;
|
|
23
|
-
selectTabByReference(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<ITab
|
|
23
|
+
selectTabByReference(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<ITab & {
|
|
24
|
+
isNew?: boolean;
|
|
25
|
+
}>): void;
|
|
24
26
|
setContent(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<{
|
|
25
27
|
path: string;
|
|
26
28
|
content: any;
|
|
@@ -106,7 +108,9 @@ export declare const setTabs: import("@reduxjs/toolkit").ActionCreatorWithPayloa
|
|
|
106
108
|
source: import("@ws-ui/shared").ISource;
|
|
107
109
|
editor: import("@ws-ui/shared").IEditor;
|
|
108
110
|
ext: import("@ws-ui/shared").DebuggerFileExtension;
|
|
109
|
-
}
|
|
111
|
+
}>> & {
|
|
112
|
+
isNew?: boolean | undefined;
|
|
113
|
+
}, string>, openTabUnselected: import("@reduxjs/toolkit").ActionCreatorWithPayload<ITab<any, Partial<{
|
|
110
114
|
initialLineInfo: {
|
|
111
115
|
line: number;
|
|
112
116
|
offset?: number | undefined;
|
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.35",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@ws-ui/icons": "^0.0.4",
|
|
26
|
-
"@ws-ui/shared": "^0.0.
|
|
26
|
+
"@ws-ui/shared": "^0.0.45",
|
|
27
27
|
"lodash": "^4.17.21",
|
|
28
28
|
"minimatch": "^5.1.0",
|
|
29
29
|
"react": "^17.0.2",
|