@ws-ui/store 1.1.0 → 1.1.1
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 +29 -29
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +5130 -4906
- package/dist/index.es.js.map +1 -1
- package/dist/modules/debugger/reducer.d.ts +36 -4
- package/dist/modules/debugger/types.d.ts +68 -7
- package/dist/package.json +2 -2
- package/dist/selectors/debugger.d.ts +190 -2
- package/dist/selectors/explorer.d.ts +0 -58
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
import { IAddBreakpointAction, IAddExpressionAction, IAddSessionAction, IBreakpointDecoration, IClearBreakpointsAction, IDebuggerData, IDebuggerSession, IRemoveBreakpointAction, IRemoveExpressionAction, IRemoveSessionAction, IRenameExpressionAction, ISaveExpressionsAction, ISetActiveLineAction, ISetBreakpointsAction, ISetExpressionAction, ISetSourceContentAction, ISetCallChainVariablesAction, IUpdateSessionAction, ISetExpressionVariablesAction, EDebuggerState, IDebuggerMeta, ISetDebuggerMetaAction, EDebuggerErrorType, IExpression, IBreakpoint, IRemoveAllExpressionsAction, IUpdateExpressionAtAction, IClearBreakpointsExceptAction } from './types';
|
|
2
|
+
import { IAddBreakpointAction, IAddExpressionAction, IAddSessionAction, IBreakpointDecoration, IClearBreakpointsAction, IDebuggerData, IDebuggerSession, IRemoveBreakpointAction, IRemoveExpressionAction, IRemoveSessionAction, IRenameExpressionAction, ISaveExpressionsAction, ISetActiveLineAction, ISetBreakpointsAction, ISetExpressionAction, ISetSourceContentAction, ISetCallChainVariablesAction, IUpdateSessionAction, ISetExpressionVariablesAction, EDebuggerState, IDebuggerMeta, ISetDebuggerMetaAction, EDebuggerErrorType, IExpression, IBreakpoint, IRemoveAllExpressionsAction, IUpdateExpressionAtAction, IClearBreakpointsExceptAction, IToggleBreakpointAction, ISetCommonVariablesAction, IToggleBreakpointsInFileAction, IUpdateBreakpointsAction } from './types';
|
|
3
3
|
|
|
4
4
|
export interface IDebuggerState {
|
|
5
5
|
meta: IDebuggerMeta;
|
|
@@ -11,9 +11,14 @@ declare const stateSlice: import('@reduxjs/toolkit').Slice<IDebuggerState, {
|
|
|
11
11
|
addBreakpointDecoration(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: IAddBreakpointAction): void;
|
|
12
12
|
removeBreakpointDecoration(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: IRemoveBreakpointAction): void;
|
|
13
13
|
setBreakpointsDecoration(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: ISetBreakpointsAction): void;
|
|
14
|
+
updateBreakpointsDecoration(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: IUpdateBreakpointsAction): void;
|
|
14
15
|
clearBreakpoints(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: IClearBreakpointsAction): void;
|
|
15
16
|
clearBreakpointsExcept(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: IClearBreakpointsExceptAction): void;
|
|
16
17
|
clearAllBreakpoints(state: import('immer/dist/internal').WritableDraft<IDebuggerState>): void;
|
|
18
|
+
toggleBreakpoint(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: IToggleBreakpointAction): void;
|
|
19
|
+
toggleBreakpointsInFile(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: IToggleBreakpointsInFileAction): void;
|
|
20
|
+
disableAllBreakpoints(state: import('immer/dist/internal').WritableDraft<IDebuggerState>): void;
|
|
21
|
+
enableAllBreakpoints(state: import('immer/dist/internal').WritableDraft<IDebuggerState>): void;
|
|
17
22
|
setActiveLine(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: ISetActiveLineAction): void;
|
|
18
23
|
addExpression(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: IAddExpressionAction): void;
|
|
19
24
|
removeExpression(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: IRemoveExpressionAction): void;
|
|
@@ -27,6 +32,7 @@ declare const stateSlice: import('@reduxjs/toolkit').Slice<IDebuggerState, {
|
|
|
27
32
|
removeSession(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: IRemoveSessionAction): void;
|
|
28
33
|
removeSessionByIndex(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: PayloadAction<number>): void;
|
|
29
34
|
setSessions(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: PayloadAction<IDebuggerSession[]>): void;
|
|
35
|
+
setCommonVariables(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: ISetCommonVariablesAction): void;
|
|
30
36
|
setCallChainVariables(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: ISetCallChainVariablesAction): void;
|
|
31
37
|
setExpressionVariables(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: ISetExpressionVariablesAction): void;
|
|
32
38
|
setSourceContent(state: import('immer/dist/internal').WritableDraft<IDebuggerState>, action: ISetSourceContentAction): void;
|
|
@@ -57,13 +63,32 @@ export declare const addBreakpointDecoration: import('@reduxjs/toolkit').ActionC
|
|
|
57
63
|
offset?: number | undefined;
|
|
58
64
|
type?: "draft" | "saved" | undefined;
|
|
59
65
|
clearDraft?: boolean | undefined;
|
|
60
|
-
|
|
66
|
+
merge?: boolean | undefined;
|
|
67
|
+
}, "debugger/setBreakpointsDecoration">, updateBreakpointsDecoration: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
68
|
+
filePath: string;
|
|
69
|
+
fileType: import('./types').IDebuggerFileType;
|
|
70
|
+
methodName: string;
|
|
71
|
+
className?: string | undefined;
|
|
72
|
+
breakpoints: IBreakpoint[];
|
|
73
|
+
type?: "draft" | "saved" | undefined;
|
|
74
|
+
merge?: boolean | undefined;
|
|
75
|
+
}, "debugger/updateBreakpointsDecoration">, clearBreakpoints: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
61
76
|
filePath: string;
|
|
62
77
|
type?: "draft" | "saved" | "any" | undefined;
|
|
63
78
|
}, "debugger/clearBreakpoints">, clearBreakpointsExcept: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
64
79
|
exceptedFilePath: string;
|
|
65
80
|
type?: "draft" | "saved" | "any" | undefined;
|
|
66
|
-
}, "debugger/clearBreakpointsExcept">, clearAllBreakpoints: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"debugger/clearAllBreakpoints">,
|
|
81
|
+
}, "debugger/clearBreakpointsExcept">, clearAllBreakpoints: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"debugger/clearAllBreakpoints">, toggleBreakpoint: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
82
|
+
filePath: string;
|
|
83
|
+
methodName: string;
|
|
84
|
+
line: number;
|
|
85
|
+
offset?: number | undefined;
|
|
86
|
+
disabled: boolean;
|
|
87
|
+
}, "debugger/toggleBreakpoint">, toggleBreakpointsInFile: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
88
|
+
filePath: string;
|
|
89
|
+
methodName: string;
|
|
90
|
+
disabled: boolean;
|
|
91
|
+
}, "debugger/toggleBreakpointsInFile">, disableAllBreakpoints: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"debugger/disableAllBreakpoints">, enableAllBreakpoints: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"debugger/enableAllBreakpoints">, setActiveLine: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
67
92
|
threadId: number;
|
|
68
93
|
line: number;
|
|
69
94
|
highlight?: boolean | undefined;
|
|
@@ -107,12 +132,19 @@ export declare const addBreakpointDecoration: import('@reduxjs/toolkit').ActionC
|
|
|
107
132
|
}, "debugger/removeSession">, removeSessionByIndex: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, "debugger/removeSessionByIndex">, setSessions: import('@reduxjs/toolkit').ActionCreatorWithPayload<IDebuggerSession[], "debugger/setSessions">, setCallChainVariables: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
108
133
|
threadId: number;
|
|
109
134
|
frameId: number;
|
|
135
|
+
variablesReference: number;
|
|
110
136
|
variables: import('./types').IVariable[];
|
|
111
137
|
}, "debugger/setCallChainVariables">, setExpressionVariables: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
112
138
|
threadId: number;
|
|
113
139
|
variablesReference: number;
|
|
114
140
|
variables: import('./types').IVariable[];
|
|
115
|
-
}, "debugger/setExpressionVariables">,
|
|
141
|
+
}, "debugger/setExpressionVariables">, setCommonVariables: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
142
|
+
key: import('./types').CommonDebuggerVariablesKey;
|
|
143
|
+
threadId: number;
|
|
144
|
+
frameId: number;
|
|
145
|
+
variablesReference: number;
|
|
146
|
+
variables: import('./types').IVariable[];
|
|
147
|
+
}, "debugger/setCommonVariables">, setSourceContent: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
116
148
|
threadId: number;
|
|
117
149
|
content: string;
|
|
118
150
|
}, "debugger/setSourceContent">, setDebuggerMeta: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
@@ -10,7 +10,9 @@ export interface IExpression {
|
|
|
10
10
|
presentationHint?: IVariablePresentationHint;
|
|
11
11
|
}
|
|
12
12
|
export interface IBreakpoint extends DebugProtocol.SourceBreakpoint {
|
|
13
|
+
lineInEditor?: number;
|
|
13
14
|
verified?: boolean;
|
|
15
|
+
disabled?: boolean;
|
|
14
16
|
}
|
|
15
17
|
export type IDebuggerFileType = FileFolderType.METHOD | FileFolderType.CLASS;
|
|
16
18
|
interface IBreakpointsData {
|
|
@@ -45,15 +47,22 @@ export interface IStackFrame extends DebugProtocol.StackFrame {
|
|
|
45
47
|
offset: number;
|
|
46
48
|
lineIndex: number;
|
|
47
49
|
}
|
|
48
|
-
export interface
|
|
49
|
-
frameId: number;
|
|
50
|
-
items: IVariable[];
|
|
51
|
-
}
|
|
52
|
-
export interface IExpressionVariable {
|
|
50
|
+
export interface ICommonVariable {
|
|
53
51
|
variablesReference: number;
|
|
54
52
|
items: IVariable[];
|
|
55
53
|
}
|
|
56
|
-
export
|
|
54
|
+
export interface ICallChainVariable extends ICommonVariable {
|
|
55
|
+
frameId: number;
|
|
56
|
+
}
|
|
57
|
+
export interface ILocalVariable extends ICommonVariable {
|
|
58
|
+
frameId: number;
|
|
59
|
+
}
|
|
60
|
+
export interface ICurrentLineVariable extends ICommonVariable {
|
|
61
|
+
frameId: number;
|
|
62
|
+
}
|
|
63
|
+
export interface IExpressionVariable extends ICommonVariable {
|
|
64
|
+
}
|
|
65
|
+
export type ISessionVariable = ICallChainVariable | ILocalVariable | ICurrentLineVariable | IExpressionVariable;
|
|
57
66
|
export interface IException {
|
|
58
67
|
errMess: string;
|
|
59
68
|
location: string;
|
|
@@ -83,12 +92,16 @@ export interface IDebuggerSession {
|
|
|
83
92
|
variables: {
|
|
84
93
|
callchain: ICallChainVariable[];
|
|
85
94
|
expressions: IExpressionVariable[];
|
|
95
|
+
local: ILocalVariable[];
|
|
96
|
+
currentLine: ICurrentLineVariable[];
|
|
86
97
|
};
|
|
87
98
|
stopped?: boolean;
|
|
88
99
|
}
|
|
89
|
-
export type DebuggerVariablesKey = keyof IDebuggerSession['variables']
|
|
100
|
+
export type DebuggerVariablesKey<K extends string = ''> = keyof Omit<IDebuggerSession['variables'], K>;
|
|
101
|
+
export type CommonDebuggerVariablesKey = DebuggerVariablesKey<'expressions' | 'callchain'>;
|
|
90
102
|
export interface IBreakpointDecoration {
|
|
91
103
|
line: number;
|
|
104
|
+
lineInEditor?: number;
|
|
92
105
|
offset?: number;
|
|
93
106
|
type?: BreakpointType;
|
|
94
107
|
}
|
|
@@ -119,6 +132,28 @@ export type ISetBreakpointsAction = PayloadAction<{
|
|
|
119
132
|
offset?: number;
|
|
120
133
|
type?: BreakpointType;
|
|
121
134
|
clearDraft?: boolean;
|
|
135
|
+
merge?: boolean;
|
|
136
|
+
}>;
|
|
137
|
+
export type IUpdateBreakpointsAction = PayloadAction<{
|
|
138
|
+
filePath: string;
|
|
139
|
+
fileType: IDebuggerFileType;
|
|
140
|
+
methodName: string;
|
|
141
|
+
className?: string;
|
|
142
|
+
breakpoints: IBreakpoint[];
|
|
143
|
+
type?: BreakpointType;
|
|
144
|
+
merge?: boolean;
|
|
145
|
+
}>;
|
|
146
|
+
export type IToggleBreakpointAction = PayloadAction<{
|
|
147
|
+
filePath: string;
|
|
148
|
+
methodName: string;
|
|
149
|
+
line: number;
|
|
150
|
+
offset?: number;
|
|
151
|
+
disabled: boolean;
|
|
152
|
+
}>;
|
|
153
|
+
export type IToggleBreakpointsInFileAction = PayloadAction<{
|
|
154
|
+
filePath: string;
|
|
155
|
+
methodName: string;
|
|
156
|
+
disabled: boolean;
|
|
122
157
|
}>;
|
|
123
158
|
export type IClearBreakpointsAction = PayloadAction<{
|
|
124
159
|
filePath: string;
|
|
@@ -180,9 +215,17 @@ export type IUpdateSessionAction = PayloadAction<{
|
|
|
180
215
|
export type IRemoveSessionAction = PayloadAction<{
|
|
181
216
|
threadId: number;
|
|
182
217
|
}>;
|
|
218
|
+
export type ISetCommonVariablesAction = PayloadAction<{
|
|
219
|
+
key: CommonDebuggerVariablesKey;
|
|
220
|
+
threadId: number;
|
|
221
|
+
frameId: number;
|
|
222
|
+
variablesReference: number;
|
|
223
|
+
variables: IVariable[];
|
|
224
|
+
}>;
|
|
183
225
|
export type ISetCallChainVariablesAction = PayloadAction<{
|
|
184
226
|
threadId: number;
|
|
185
227
|
frameId: number;
|
|
228
|
+
variablesReference: number;
|
|
186
229
|
variables: IVariable[];
|
|
187
230
|
}>;
|
|
188
231
|
export type ISetExpressionVariablesAction = PayloadAction<{
|
|
@@ -227,4 +270,22 @@ export type ISetDebuggerMetaAction = PayloadAction<{
|
|
|
227
270
|
state: EDebuggerState;
|
|
228
271
|
error?: IDebuggerError;
|
|
229
272
|
}>;
|
|
273
|
+
export interface IEnhancedBreakpoint extends IBreakpoint {
|
|
274
|
+
offset?: number;
|
|
275
|
+
fileType: IDebuggerFileType;
|
|
276
|
+
filePath: string;
|
|
277
|
+
methodName: string;
|
|
278
|
+
className?: string;
|
|
279
|
+
ext: DebuggerFileExtension;
|
|
280
|
+
}
|
|
281
|
+
export interface IBreakpointsByFile {
|
|
282
|
+
file: {
|
|
283
|
+
path: string;
|
|
284
|
+
type: IDebuggerFileType;
|
|
285
|
+
methodName: string;
|
|
286
|
+
className?: string;
|
|
287
|
+
ext: DebuggerFileExtension;
|
|
288
|
+
};
|
|
289
|
+
breakpoints: IEnhancedBreakpoint[];
|
|
290
|
+
}
|
|
230
291
|
export {};
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/store",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"overrides": {
|
|
19
19
|
"@ws-ui/shared": {
|
|
20
|
-
"@ws-ui/icons": "1.1.
|
|
20
|
+
"@ws-ui/icons": "1.1.1"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IBreakpoint, IDebuggerData, IDebuggerSession } from '../modules/debugger';
|
|
2
|
-
import { FileFolderType } from '@ws-ui/shared';
|
|
1
|
+
import { CommonDebuggerVariablesKey, IBreakpoint, IBreakpointsByFile, IDebuggerData, IDebuggerSession, IEnhancedBreakpoint } from '../modules/debugger/types';
|
|
2
|
+
import { FileFolderType, ITab } from '@ws-ui/shared';
|
|
3
3
|
|
|
4
4
|
export declare const selectDebuggerMeta: ((state: import('redux').EmptyObject & {
|
|
5
5
|
root: import('../modules').IRootState;
|
|
@@ -108,6 +108,110 @@ export declare const selectDebuggerSessionsCount: ((state: import('redux').Empty
|
|
|
108
108
|
export declare const findOne: (list: IDebuggerData[], filePath: string, methodName: string, className?: string) => IDebuggerData | undefined;
|
|
109
109
|
export declare const findSession: (sessions: IDebuggerSession[], threadId: number) => IDebuggerSession | undefined;
|
|
110
110
|
export declare const findSessionByPath: (sessions: IDebuggerSession[], tabPath: string) => IDebuggerSession | undefined;
|
|
111
|
+
export declare const selectAllBreakpoints: ((state: import('redux').EmptyObject & {
|
|
112
|
+
root: import('../modules').IRootState;
|
|
113
|
+
explorer: import('../modules').ITreeItem[];
|
|
114
|
+
debugger: import('../modules').IDebuggerState;
|
|
115
|
+
settings: import('../modules').ISettingsState;
|
|
116
|
+
catalog: {
|
|
117
|
+
state: "loading";
|
|
118
|
+
} | {
|
|
119
|
+
state: "loaded";
|
|
120
|
+
model: datasources.IEnhancedCatalog;
|
|
121
|
+
} | {
|
|
122
|
+
state: "error";
|
|
123
|
+
error: string;
|
|
124
|
+
};
|
|
125
|
+
roles: import('../modules').IRolesState;
|
|
126
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
127
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
128
|
+
webforms: import('../modules').IWebformEditorState;
|
|
129
|
+
modals: import('../modules').IModalsState;
|
|
130
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
131
|
+
model: import('../modules').IModelState;
|
|
132
|
+
}) => IEnhancedBreakpoint[]) & import('reselect').OutputSelectorFields<(args_0: IDebuggerData[]) => IEnhancedBreakpoint[], {
|
|
133
|
+
clearCache: () => void;
|
|
134
|
+
}> & {
|
|
135
|
+
clearCache: () => void;
|
|
136
|
+
};
|
|
137
|
+
export declare const selectBreakpointsByFile: ((state: import('redux').EmptyObject & {
|
|
138
|
+
root: import('../modules').IRootState;
|
|
139
|
+
explorer: import('../modules').ITreeItem[];
|
|
140
|
+
debugger: import('../modules').IDebuggerState;
|
|
141
|
+
settings: import('../modules').ISettingsState;
|
|
142
|
+
catalog: {
|
|
143
|
+
state: "loading";
|
|
144
|
+
} | {
|
|
145
|
+
state: "loaded";
|
|
146
|
+
model: datasources.IEnhancedCatalog;
|
|
147
|
+
} | {
|
|
148
|
+
state: "error";
|
|
149
|
+
error: string;
|
|
150
|
+
};
|
|
151
|
+
roles: import('../modules').IRolesState;
|
|
152
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
153
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
154
|
+
webforms: import('../modules').IWebformEditorState;
|
|
155
|
+
modals: import('../modules').IModalsState;
|
|
156
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
157
|
+
model: import('../modules').IModelState;
|
|
158
|
+
}) => IBreakpointsByFile[]) & import('reselect').OutputSelectorFields<(args_0: IDebuggerData[]) => IBreakpointsByFile[], {
|
|
159
|
+
clearCache: () => void;
|
|
160
|
+
}> & {
|
|
161
|
+
clearCache: () => void;
|
|
162
|
+
};
|
|
163
|
+
export declare const selectAllBreakpointsCount: ((state: import('redux').EmptyObject & {
|
|
164
|
+
root: import('../modules').IRootState;
|
|
165
|
+
explorer: import('../modules').ITreeItem[];
|
|
166
|
+
debugger: import('../modules').IDebuggerState;
|
|
167
|
+
settings: import('../modules').ISettingsState;
|
|
168
|
+
catalog: {
|
|
169
|
+
state: "loading";
|
|
170
|
+
} | {
|
|
171
|
+
state: "loaded";
|
|
172
|
+
model: datasources.IEnhancedCatalog;
|
|
173
|
+
} | {
|
|
174
|
+
state: "error";
|
|
175
|
+
error: string;
|
|
176
|
+
};
|
|
177
|
+
roles: import('../modules').IRolesState;
|
|
178
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
179
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
180
|
+
webforms: import('../modules').IWebformEditorState;
|
|
181
|
+
modals: import('../modules').IModalsState;
|
|
182
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
183
|
+
model: import('../modules').IModelState;
|
|
184
|
+
}) => number) & import('reselect').OutputSelectorFields<(args_0: IEnhancedBreakpoint[]) => number, {
|
|
185
|
+
clearCache: () => void;
|
|
186
|
+
}> & {
|
|
187
|
+
clearCache: () => void;
|
|
188
|
+
};
|
|
189
|
+
export declare const selectEnabledBreakpointsCount: ((state: import('redux').EmptyObject & {
|
|
190
|
+
root: import('../modules').IRootState;
|
|
191
|
+
explorer: import('../modules').ITreeItem[];
|
|
192
|
+
debugger: import('../modules').IDebuggerState;
|
|
193
|
+
settings: import('../modules').ISettingsState;
|
|
194
|
+
catalog: {
|
|
195
|
+
state: "loading";
|
|
196
|
+
} | {
|
|
197
|
+
state: "loaded";
|
|
198
|
+
model: datasources.IEnhancedCatalog;
|
|
199
|
+
} | {
|
|
200
|
+
state: "error";
|
|
201
|
+
error: string;
|
|
202
|
+
};
|
|
203
|
+
roles: import('../modules').IRolesState;
|
|
204
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
205
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
206
|
+
webforms: import('../modules').IWebformEditorState;
|
|
207
|
+
modals: import('../modules').IModalsState;
|
|
208
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
209
|
+
model: import('../modules').IModelState;
|
|
210
|
+
}) => number) & import('reselect').OutputSelectorFields<(args_0: IEnhancedBreakpoint[]) => number, {
|
|
211
|
+
clearCache: () => void;
|
|
212
|
+
}> & {
|
|
213
|
+
clearCache: () => void;
|
|
214
|
+
};
|
|
111
215
|
export declare const selectBreakpoints: (filePath: string, methodName: string) => ((state: import('redux').EmptyObject & {
|
|
112
216
|
root: import('../modules').IRootState;
|
|
113
217
|
explorer: import('../modules').ITreeItem[];
|
|
@@ -490,6 +594,32 @@ export declare const selectStackFrames: (threadId: number) => ((state: import('r
|
|
|
490
594
|
}> & {
|
|
491
595
|
clearCache: () => void;
|
|
492
596
|
};
|
|
597
|
+
export declare const selectCommonVariables: (threadId: number, key: CommonDebuggerVariablesKey) => ((state: import('redux').EmptyObject & {
|
|
598
|
+
root: import('../modules').IRootState;
|
|
599
|
+
explorer: import('../modules').ITreeItem[];
|
|
600
|
+
debugger: import('../modules').IDebuggerState;
|
|
601
|
+
settings: import('../modules').ISettingsState;
|
|
602
|
+
catalog: {
|
|
603
|
+
state: "loading";
|
|
604
|
+
} | {
|
|
605
|
+
state: "loaded";
|
|
606
|
+
model: datasources.IEnhancedCatalog;
|
|
607
|
+
} | {
|
|
608
|
+
state: "error";
|
|
609
|
+
error: string;
|
|
610
|
+
};
|
|
611
|
+
roles: import('../modules').IRolesState;
|
|
612
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
613
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
614
|
+
webforms: import('../modules').IWebformEditorState;
|
|
615
|
+
modals: import('../modules').IModalsState;
|
|
616
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
617
|
+
model: import('../modules').IModelState;
|
|
618
|
+
}) => import('../modules').ILocalVariable[]) & import('reselect').OutputSelectorFields<(args_0: IDebuggerSession[]) => import('../modules').ILocalVariable[], {
|
|
619
|
+
clearCache: () => void;
|
|
620
|
+
}> & {
|
|
621
|
+
clearCache: () => void;
|
|
622
|
+
};
|
|
493
623
|
export declare const selectCallChainVariables: (threadId: number) => ((state: import('redux').EmptyObject & {
|
|
494
624
|
root: import('../modules').IRootState;
|
|
495
625
|
explorer: import('../modules').ITreeItem[];
|
|
@@ -612,3 +742,61 @@ export declare const selectExceptions: (threadId: number, fileType: FileFolderTy
|
|
|
612
742
|
}> & {
|
|
613
743
|
clearCache: () => void;
|
|
614
744
|
};
|
|
745
|
+
export declare const selectDebuggers: ((state: import('redux').EmptyObject & {
|
|
746
|
+
root: import('../modules').IRootState;
|
|
747
|
+
explorer: import('../modules').ITreeItem[];
|
|
748
|
+
debugger: import('../modules').IDebuggerState;
|
|
749
|
+
settings: import('../modules').ISettingsState;
|
|
750
|
+
catalog: {
|
|
751
|
+
state: "loading";
|
|
752
|
+
} | {
|
|
753
|
+
state: "loaded";
|
|
754
|
+
model: datasources.IEnhancedCatalog;
|
|
755
|
+
} | {
|
|
756
|
+
state: "error";
|
|
757
|
+
error: string;
|
|
758
|
+
};
|
|
759
|
+
roles: import('../modules').IRolesState;
|
|
760
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
761
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
762
|
+
webforms: import('../modules').IWebformEditorState;
|
|
763
|
+
modals: import('../modules').IModalsState;
|
|
764
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
765
|
+
model: import('../modules').IModelState;
|
|
766
|
+
}) => ITab<any, Partial<{
|
|
767
|
+
initialLineInfo: {
|
|
768
|
+
line: number;
|
|
769
|
+
offset?: number | undefined;
|
|
770
|
+
lastModification: number;
|
|
771
|
+
};
|
|
772
|
+
initialSelectionInfo: {
|
|
773
|
+
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
774
|
+
lastModification: number;
|
|
775
|
+
};
|
|
776
|
+
diffContent: string;
|
|
777
|
+
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
778
|
+
source: import('@ws-ui/shared').ISource;
|
|
779
|
+
editor: import('@ws-ui/shared').IEditor;
|
|
780
|
+
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
781
|
+
kind: string;
|
|
782
|
+
}>>[]) & import('reselect').OutputSelectorFields<(args_0: IDebuggerSession[]) => ITab<any, Partial<{
|
|
783
|
+
initialLineInfo: {
|
|
784
|
+
line: number;
|
|
785
|
+
offset?: number | undefined;
|
|
786
|
+
lastModification: number;
|
|
787
|
+
};
|
|
788
|
+
initialSelectionInfo: {
|
|
789
|
+
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
790
|
+
lastModification: number;
|
|
791
|
+
};
|
|
792
|
+
diffContent: string;
|
|
793
|
+
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
794
|
+
source: import('@ws-ui/shared').ISource;
|
|
795
|
+
editor: import('@ws-ui/shared').IEditor;
|
|
796
|
+
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
797
|
+
kind: string;
|
|
798
|
+
}>>[], {
|
|
799
|
+
clearCache: () => void;
|
|
800
|
+
}> & {
|
|
801
|
+
clearCache: () => void;
|
|
802
|
+
};
|
|
@@ -726,64 +726,6 @@ export declare const selectTouchedTabsLength: ((state: import('redux').EmptyObje
|
|
|
726
726
|
}> & {
|
|
727
727
|
clearCache: () => void;
|
|
728
728
|
};
|
|
729
|
-
export declare const selectDebuggers: ((state: import('redux').EmptyObject & {
|
|
730
|
-
root: import('../modules').IRootState;
|
|
731
|
-
explorer: import('../modules').ITreeItem[];
|
|
732
|
-
debugger: import('../modules').IDebuggerState;
|
|
733
|
-
settings: import('../modules').ISettingsState;
|
|
734
|
-
catalog: {
|
|
735
|
-
state: "loading";
|
|
736
|
-
} | {
|
|
737
|
-
state: "loaded";
|
|
738
|
-
model: datasources.IEnhancedCatalog;
|
|
739
|
-
} | {
|
|
740
|
-
state: "error";
|
|
741
|
-
error: string;
|
|
742
|
-
};
|
|
743
|
-
roles: import('../modules').IRolesState;
|
|
744
|
-
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
745
|
-
savedConditions: import('../modules').ISavedConditionsState;
|
|
746
|
-
webforms: import('../modules').IWebformEditorState;
|
|
747
|
-
modals: import('../modules').IModalsState;
|
|
748
|
-
sharedCSS: import('../modules').ISharedCSSState;
|
|
749
|
-
model: import('../modules').IModelState;
|
|
750
|
-
}) => ITab<any, Partial<{
|
|
751
|
-
initialLineInfo: {
|
|
752
|
-
line: number;
|
|
753
|
-
offset?: number | undefined;
|
|
754
|
-
lastModification: number;
|
|
755
|
-
};
|
|
756
|
-
initialSelectionInfo: {
|
|
757
|
-
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
758
|
-
lastModification: number;
|
|
759
|
-
};
|
|
760
|
-
diffContent: string;
|
|
761
|
-
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
762
|
-
source: import('@ws-ui/shared').ISource;
|
|
763
|
-
editor: import('@ws-ui/shared').IEditor;
|
|
764
|
-
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
765
|
-
kind: string;
|
|
766
|
-
}>>[]) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IDebuggerSession[]) => ITab<any, Partial<{
|
|
767
|
-
initialLineInfo: {
|
|
768
|
-
line: number;
|
|
769
|
-
offset?: number | undefined;
|
|
770
|
-
lastModification: number;
|
|
771
|
-
};
|
|
772
|
-
initialSelectionInfo: {
|
|
773
|
-
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
774
|
-
lastModification: number;
|
|
775
|
-
};
|
|
776
|
-
diffContent: string;
|
|
777
|
-
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
778
|
-
source: import('@ws-ui/shared').ISource;
|
|
779
|
-
editor: import('@ws-ui/shared').IEditor;
|
|
780
|
-
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
781
|
-
kind: string;
|
|
782
|
-
}>>[], {
|
|
783
|
-
clearCache: () => void;
|
|
784
|
-
}> & {
|
|
785
|
-
clearCache: () => void;
|
|
786
|
-
};
|
|
787
729
|
export declare const selectExplorer: ((state: import('redux').EmptyObject & {
|
|
788
730
|
root: import('../modules').IRootState;
|
|
789
731
|
explorer: 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": "1.1.
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"overrides": {
|
|
19
19
|
"@ws-ui/shared": {
|
|
20
|
-
"@ws-ui/icons": "1.1.
|
|
20
|
+
"@ws-ui/icons": "1.1.1"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|