@ws-ui/store 0.1.8 → 0.1.10
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 +38 -38
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2217 -2189
- package/dist/index.es.js.map +1 -1
- package/dist/modules/debugger/reducer.d.ts +8 -3
- package/dist/modules/debugger/types.d.ts +5 -1
- package/dist/modules/root/types.d.ts +5 -0
- package/package.json +8 -3
|
@@ -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 } 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 } from './types';
|
|
3
3
|
export interface IDebuggerState {
|
|
4
4
|
meta: IDebuggerMeta;
|
|
5
5
|
list: IDebuggerData[];
|
|
@@ -11,6 +11,8 @@ declare const stateSlice: import("@reduxjs/toolkit").Slice<IDebuggerState, {
|
|
|
11
11
|
removeBreakpointDecoration(state: import("immer/dist/internal.js").WritableDraft<IDebuggerState>, action: IRemoveBreakpointAction): void;
|
|
12
12
|
setBreakpointsDecoration(state: import("immer/dist/internal.js").WritableDraft<IDebuggerState>, action: ISetBreakpointsAction): void;
|
|
13
13
|
clearBreakpoints(state: import("immer/dist/internal.js").WritableDraft<IDebuggerState>, action: IClearBreakpointsAction): void;
|
|
14
|
+
clearBreakpointsExcept(state: import("immer/dist/internal.js").WritableDraft<IDebuggerState>, action: IClearBreakpointsExceptAction): void;
|
|
15
|
+
clearAllBreakpoints(state: import("immer/dist/internal.js").WritableDraft<IDebuggerState>): void;
|
|
14
16
|
setActiveLine(state: import("immer/dist/internal.js").WritableDraft<IDebuggerState>, action: ISetActiveLineAction): void;
|
|
15
17
|
addExpression(state: import("immer/dist/internal.js").WritableDraft<IDebuggerState>, action: IAddExpressionAction): void;
|
|
16
18
|
removeExpression(state: import("immer/dist/internal.js").WritableDraft<IDebuggerState>, action: IRemoveExpressionAction): void;
|
|
@@ -56,8 +58,11 @@ export declare const addBreakpointDecoration: import("@reduxjs/toolkit").ActionC
|
|
|
56
58
|
clearDraft?: boolean | undefined;
|
|
57
59
|
}, string>, clearBreakpoints: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
58
60
|
filePath: string;
|
|
59
|
-
type?: "draft" | "saved" | undefined;
|
|
60
|
-
}, string>,
|
|
61
|
+
type?: "draft" | "saved" | "any" | undefined;
|
|
62
|
+
}, string>, clearBreakpointsExcept: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
63
|
+
exceptedFilePath: string;
|
|
64
|
+
type?: "draft" | "saved" | "any" | undefined;
|
|
65
|
+
}, string>, clearAllBreakpoints: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setActiveLine: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
61
66
|
threadId: number;
|
|
62
67
|
line: number;
|
|
63
68
|
highlight?: boolean | undefined;
|
|
@@ -121,7 +121,11 @@ export type ISetBreakpointsAction = PayloadAction<{
|
|
|
121
121
|
}>;
|
|
122
122
|
export type IClearBreakpointsAction = PayloadAction<{
|
|
123
123
|
filePath: string;
|
|
124
|
-
type?: BreakpointType;
|
|
124
|
+
type?: BreakpointType | 'any';
|
|
125
|
+
}>;
|
|
126
|
+
export type IClearBreakpointsExceptAction = PayloadAction<{
|
|
127
|
+
exceptedFilePath: string;
|
|
128
|
+
type?: BreakpointType | 'any';
|
|
125
129
|
}>;
|
|
126
130
|
export type ISetActiveLineAction = PayloadAction<{
|
|
127
131
|
threadId: number;
|
|
@@ -64,6 +64,11 @@ export declare enum ETooltipBehavior {
|
|
|
64
64
|
SHOW_AFTER_TIMEOUT = "show_after_timeout",
|
|
65
65
|
HIDE_AFTER_TIMEOUT = "hide_after_timeout"
|
|
66
66
|
}
|
|
67
|
+
export declare enum EUnsavedPopOverChoice {
|
|
68
|
+
NONE = "none",
|
|
69
|
+
SAVE_ALL_AND_PROCEED = "saved_all_and_proceed",
|
|
70
|
+
PROCEED = "proceed"
|
|
71
|
+
}
|
|
67
72
|
export declare enum EDisplayMode {
|
|
68
73
|
AIRY = "airy",
|
|
69
74
|
COMPACT = "neutral"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/store",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.10",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -17,13 +17,18 @@
|
|
|
17
17
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
18
18
|
"preview": "vite preview"
|
|
19
19
|
},
|
|
20
|
+
"overrides": {
|
|
21
|
+
"@ws-ui/shared": {
|
|
22
|
+
"@ws-ui/icons": "$@ws-ui/icons"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
20
25
|
"dependencies": {
|
|
21
26
|
"@reduxjs/toolkit": "^1.7.1",
|
|
22
27
|
"react-redux": "^7.2.6"
|
|
23
28
|
},
|
|
24
29
|
"peerDependencies": {
|
|
25
|
-
"@ws-ui/icons": "^0.0.
|
|
26
|
-
"@ws-ui/shared": "^0.1.
|
|
30
|
+
"@ws-ui/icons": "^0.0.10",
|
|
31
|
+
"@ws-ui/shared": "^0.1.7",
|
|
27
32
|
"lodash": "^4.17.21",
|
|
28
33
|
"minimatch": "^5.1.0",
|
|
29
34
|
"react": "^17.0.2",
|