@ws-ui/store 1.1.0 → 1.5.0

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.
@@ -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
- }, "debugger/setBreakpointsDecoration">, clearBreakpoints: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
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">, setActiveLine: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
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">, setSourceContent: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
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 ICallChainVariable {
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 type ISessionVariable = ICallChainVariable | IExpressionVariable;
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 {};
@@ -21,6 +21,7 @@ export declare const stateReducer: import('redux').Reducer<import('redux').Combi
21
21
  modals: import('./modals').IModalsState;
22
22
  sharedCSS: import('./shared-css').ISharedCSSState;
23
23
  model: import('./model').IModelState;
24
+ tasks: import('@ws-ui/shared').ISingleTask[];
24
25
  }>, import('redux').AnyAction>;
25
26
  export { rootReducer };
26
27
  export type AppState = ReturnType<typeof stateReducer>;
@@ -37,3 +38,4 @@ export * from './shared-datasources';
37
38
  export * from './shared-conditions';
38
39
  export * from './tabs';
39
40
  export * from './webforms';
41
+ export * from './tasks';
@@ -2,5 +2,6 @@ import { ISharedDatasourcesState } from './index';
2
2
 
3
3
  export declare const QODLY_NAMESPACE = "Qodly";
4
4
  export declare const LOCATION_DATASOURCE_ID = "Location";
5
- export declare const SHARED_QODLY_NAMESPACE: ISharedDatasourcesState['sources'];
6
- export declare const sameDefaultLocationSource: (last: datasources.ICreateDataSource, def: datasources.ICreateDataSource) => boolean;
5
+ export declare const USER_LANGUAGE_DATASOURCE_ID = "UserLanguage";
6
+ export declare const SHARED_USER_NAMESPACE: ISharedDatasourcesState['sources'];
7
+ export declare const sameDefaultUserSource: (last: datasources.ICreateDataSource, def: datasources.ICreateDataSource) => boolean;
@@ -19,6 +19,7 @@ export declare const selectPanelByPath: (path: string) => ((state: import('redux
19
19
  modals: import('..').IModalsState;
20
20
  sharedCSS: import('..').ISharedCSSState;
21
21
  model: import('..').IModelState;
22
+ tasks: import('@ws-ui/shared').ISingleTask[];
22
23
  }) => {
23
24
  isOpen: boolean;
24
25
  type: string;
@@ -0,0 +1,4 @@
1
+ declare const _default: import('redux').Reducer<import('@ws-ui/shared').ISingleTask[]>;
2
+ export default _default;
3
+ export * from './reducer';
4
+ export * from './selectors';
@@ -0,0 +1,22 @@
1
+ import { PayloadAction } from '@reduxjs/toolkit';
2
+ import { ISingleTask } from '@ws-ui/shared';
3
+
4
+ type TTasksState = ISingleTask[];
5
+ declare const tasksSlice: import('@reduxjs/toolkit').Slice<TTasksState, {
6
+ addTask(state: TTasksState, action: PayloadAction<{
7
+ task: ISingleTask;
8
+ }>): void;
9
+ setError(state: TTasksState, action: PayloadAction<{
10
+ id: string;
11
+ errorMessage: string;
12
+ }>): ISingleTask[];
13
+ updateTask(state: TTasksState, action: PayloadAction<ISingleTask>): ISingleTask[];
14
+ clearAllTasks(state: TTasksState): TTasksState;
15
+ }, "Tasks">;
16
+ export declare const addTask: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
17
+ task: ISingleTask;
18
+ }, "Tasks/addTask">, updateTask: import('@reduxjs/toolkit').ActionCreatorWithPayload<ISingleTask, "Tasks/updateTask">, clearAllTasks: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"Tasks/clearAllTasks">, setError: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
19
+ id: string;
20
+ errorMessage: string;
21
+ }, "Tasks/setError">;
22
+ export default tasksSlice;
@@ -0,0 +1,27 @@
1
+ export declare const selectAllTasks: ((state: import('redux').EmptyObject & {
2
+ root: import('..').IRootState;
3
+ explorer: import('..').ITreeItem[];
4
+ debugger: import('..').IDebuggerState;
5
+ settings: import('..').ISettingsState;
6
+ catalog: {
7
+ state: "loading";
8
+ } | {
9
+ state: "loaded";
10
+ model: datasources.IEnhancedCatalog;
11
+ } | {
12
+ state: "error";
13
+ error: string;
14
+ };
15
+ roles: import('..').IRolesState;
16
+ sharedDatasources: import('..').ISharedDatasourcesState;
17
+ savedConditions: import('..').ISavedConditionsState;
18
+ webforms: import('..').IWebformEditorState;
19
+ modals: import('..').IModalsState;
20
+ sharedCSS: import('..').ISharedCSSState;
21
+ model: import('..').IModelState;
22
+ tasks: import('@ws-ui/shared').ISingleTask[];
23
+ }) => import('@ws-ui/shared').ISingleTask[]) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ISingleTask[]) => import('@ws-ui/shared').ISingleTask[], {
24
+ clearCache: () => void;
25
+ }> & {
26
+ clearCache: () => void;
27
+ };
@@ -19,6 +19,7 @@ export declare const listDsNamespaces: import('lodash').CurriedFunction2<string,
19
19
  modals: import('..').IModalsState;
20
20
  sharedCSS: import('..').ISharedCSSState;
21
21
  model: import('..').IModelState;
22
+ tasks: import('@ws-ui/shared').ISingleTask[];
22
23
  }>, {
23
24
  [x: string]: any[];
24
25
  }>;
@@ -34,6 +34,9 @@ declare const stateSlice: import('@reduxjs/toolkit').Slice<IWebformEditorState,
34
34
  setWebformsFlag(state: import('immer/dist/internal').WritableDraft<IWebformEditorState>, action: PayloadAction<{
35
35
  [key: string]: any;
36
36
  }>): void;
37
+ setI18nCurrent(state: import('immer/dist/internal').WritableDraft<IWebformEditorState>, action: PayloadAction<{
38
+ current: string;
39
+ }>): void;
37
40
  }, "webforms">;
38
41
  export declare const toggleInspector: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
39
42
  type: "css" | "datasource";
@@ -47,5 +50,7 @@ export declare const toggleInspector: import('@reduxjs/toolkit').ActionCreatorWi
47
50
  components: ITemplatedGroupItem[];
48
51
  }, "webforms/setTemplateData">, setDatasourcesTheme: import('@reduxjs/toolkit').ActionCreatorWithPayload<string | number, "webforms/setDatasourcesTheme">, setWebformsFlag: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
49
52
  [key: string]: any;
50
- }, "webforms/setWebformsFlag">;
53
+ }, "webforms/setWebformsFlag">, setI18nCurrent: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
54
+ current: string;
55
+ }, "webforms/setI18nCurrent">;
51
56
  export default stateSlice;
@@ -99,6 +99,7 @@ export declare const addDatasource: import('@reduxjs/toolkit').AsyncThunk<TDatas
99
99
  modals: import('..').IModalsState;
100
100
  sharedCSS: import('..').ISharedCSSState;
101
101
  model: import('..').IModelState;
102
+ tasks: import('@ws-ui/shared').ISingleTask[];
102
103
  }>;
103
104
  dispatch: import('redux').Dispatch<import('redux').AnyAction>;
104
105
  extra: unknown;
@@ -146,6 +147,7 @@ export declare const editDatasource: import('@reduxjs/toolkit').AsyncThunk<TData
146
147
  modals: import('..').IModalsState;
147
148
  sharedCSS: import('..').ISharedCSSState;
148
149
  model: import('..').IModelState;
150
+ tasks: import('@ws-ui/shared').ISingleTask[];
149
151
  }>;
150
152
  dispatch: import('redux').Dispatch<import('redux').AnyAction>;
151
153
  extra: unknown;
@@ -188,6 +190,7 @@ export declare const renameDatasource: import('@reduxjs/toolkit').AsyncThunk<OrN
188
190
  modals: import('..').IModalsState;
189
191
  sharedCSS: import('..').ISharedCSSState;
190
192
  model: import('..').IModelState;
193
+ tasks: import('@ws-ui/shared').ISingleTask[];
191
194
  }>;
192
195
  dispatch: import('redux').Dispatch<import('redux').AnyAction>;
193
196
  extra: unknown;
@@ -224,6 +227,7 @@ export declare const deleteDatasource: import('@reduxjs/toolkit').AsyncThunk<OrN
224
227
  modals: import('..').IModalsState;
225
228
  sharedCSS: import('..').ISharedCSSState;
226
229
  model: import('..').IModelState;
230
+ tasks: import('@ws-ui/shared').ISingleTask[];
227
231
  }>;
228
232
  dispatch: import('redux').Dispatch<import('redux').AnyAction>;
229
233
  extra: unknown;
@@ -32,6 +32,9 @@ export interface IWebformEditorState {
32
32
  flags: {
33
33
  [key: string]: any;
34
34
  };
35
+ i18n: {
36
+ current: string;
37
+ };
35
38
  }
36
39
  /**
37
40
  * Inspector state
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.0",
4
+ "version": "1.5.0",
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.0"
20
+ "@ws-ui/icons": "1.5.0"
21
21
  }
22
22
  },
23
23
  "dependencies": {
@@ -20,6 +20,7 @@ export declare const selectCatalog: ((state: import('redux').EmptyObject & {
20
20
  modals: import('../modules').IModalsState;
21
21
  sharedCSS: import('../modules').ISharedCSSState;
22
22
  model: import('../modules').IModelState;
23
+ tasks: import('@ws-ui/shared').ISingleTask[];
23
24
  }) => datasources.IEnhancedCatalog | null) & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
24
25
  root: import('../modules').IRootState;
25
26
  explorer: import('../modules').ITreeItem[];
@@ -41,6 +42,7 @@ export declare const selectCatalog: ((state: import('redux').EmptyObject & {
41
42
  modals: import('../modules').IModalsState;
42
43
  sharedCSS: import('../modules').ISharedCSSState;
43
44
  model: import('../modules').IModelState;
45
+ tasks: import('@ws-ui/shared').ISingleTask[];
44
46
  }>) => datasources.IEnhancedCatalog | null, {
45
47
  clearCache: () => void;
46
48
  }> & {
@@ -67,6 +69,7 @@ export declare const selectCatalogState: ((state: import('redux').EmptyObject &
67
69
  modals: import('../modules').IModalsState;
68
70
  sharedCSS: import('../modules').ISharedCSSState;
69
71
  model: import('../modules').IModelState;
72
+ tasks: import('@ws-ui/shared').ISingleTask[];
70
73
  }) => "loading" | "error" | "loaded") & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
71
74
  root: import('../modules').IRootState;
72
75
  explorer: import('../modules').ITreeItem[];
@@ -88,6 +91,7 @@ export declare const selectCatalogState: ((state: import('redux').EmptyObject &
88
91
  modals: import('../modules').IModalsState;
89
92
  sharedCSS: import('../modules').ISharedCSSState;
90
93
  model: import('../modules').IModelState;
94
+ tasks: import('@ws-ui/shared').ISingleTask[];
91
95
  }>) => "loading" | "error" | "loaded", {
92
96
  clearCache: () => void;
93
97
  }> & {
@@ -114,6 +118,7 @@ export declare const selectDataclasses: ((state: import('redux').EmptyObject & {
114
118
  modals: import('../modules').IModalsState;
115
119
  sharedCSS: import('../modules').ISharedCSSState;
116
120
  model: import('../modules').IModelState;
121
+ tasks: import('@ws-ui/shared').ISingleTask[];
117
122
  }) => never[] | datasources.IDataClasses) & import('reselect').OutputSelectorFields<(args_0: datasources.IEnhancedCatalog | null) => never[] | datasources.IDataClasses, {
118
123
  clearCache: () => void;
119
124
  }> & {
@@ -140,6 +145,7 @@ export declare const selectSingletons: ((state: import('redux').EmptyObject & {
140
145
  modals: import('../modules').IModalsState;
141
146
  sharedCSS: import('../modules').ISharedCSSState;
142
147
  model: import('../modules').IModelState;
148
+ tasks: import('@ws-ui/shared').ISingleTask[];
143
149
  }) => never[] | datasources.ISingletons) & import('reselect').OutputSelectorFields<(args_0: datasources.IEnhancedCatalog | null) => never[] | datasources.ISingletons, {
144
150
  clearCache: () => void;
145
151
  }> & {
@@ -166,6 +172,7 @@ export declare const selectVirtualDataClasses: ((state: import('redux').EmptyObj
166
172
  modals: import('../modules').IModalsState;
167
173
  sharedCSS: import('../modules').ISharedCSSState;
168
174
  model: import('../modules').IModelState;
175
+ tasks: import('@ws-ui/shared').ISingleTask[];
169
176
  }) => datasources.IDetailedDataClass[]) & import('reselect').OutputSelectorFields<(args_0: never[] | datasources.IDataClasses) => datasources.IDetailedDataClass[], {
170
177
  clearCache: () => void;
171
178
  }> & {
@@ -192,6 +199,7 @@ export declare const selectCatalogMethods: ((state: import('redux').EmptyObject
192
199
  modals: import('../modules').IModalsState;
193
200
  sharedCSS: import('../modules').ISharedCSSState;
194
201
  model: import('../modules').IModelState;
202
+ tasks: import('@ws-ui/shared').ISingleTask[];
195
203
  }) => catalog.IMethod[]) & import('reselect').OutputSelectorFields<(args_0: datasources.IEnhancedCatalog | null) => catalog.IMethod[], {
196
204
  clearCache: () => void;
197
205
  }> & {
@@ -19,6 +19,7 @@ export declare const selectAppState: ((state: import('redux').EmptyObject & {
19
19
  modals: import('../modules').IModalsState;
20
20
  sharedCSS: import('../modules').ISharedCSSState;
21
21
  model: import('../modules').IModelState;
22
+ tasks: import('@ws-ui/shared').ISingleTask[];
22
23
  }) => import('redux').CombinedState<{
23
24
  root: import('../modules').IRootState;
24
25
  explorer: import('../modules').ITreeItem[];
@@ -40,6 +41,7 @@ export declare const selectAppState: ((state: import('redux').EmptyObject & {
40
41
  modals: import('../modules').IModalsState;
41
42
  sharedCSS: import('../modules').ISharedCSSState;
42
43
  model: import('../modules').IModelState;
44
+ tasks: import('@ws-ui/shared').ISingleTask[];
43
45
  }>) & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
44
46
  root: import('../modules').IRootState;
45
47
  explorer: import('../modules').ITreeItem[];
@@ -61,6 +63,7 @@ export declare const selectAppState: ((state: import('redux').EmptyObject & {
61
63
  modals: import('../modules').IModalsState;
62
64
  sharedCSS: import('../modules').ISharedCSSState;
63
65
  model: import('../modules').IModelState;
66
+ tasks: import('@ws-ui/shared').ISingleTask[];
64
67
  }>) => import('redux').CombinedState<{
65
68
  root: import('../modules').IRootState;
66
69
  explorer: import('../modules').ITreeItem[];
@@ -82,6 +85,7 @@ export declare const selectAppState: ((state: import('redux').EmptyObject & {
82
85
  modals: import('../modules').IModalsState;
83
86
  sharedCSS: import('../modules').ISharedCSSState;
84
87
  model: import('../modules').IModelState;
88
+ tasks: import('@ws-ui/shared').ISingleTask[];
85
89
  }>, {
86
90
  clearCache: () => void;
87
91
  }> & {
@@ -24,6 +24,7 @@ export declare const selectComponentsByPath: (tabPath: string) => ((state: impor
24
24
  modals: import('..').IModalsState;
25
25
  sharedCSS: import('..').ISharedCSSState;
26
26
  model: import('..').IModelState;
27
+ tasks: import('@ws-ui/shared').ISingleTask[];
27
28
  }) => {
28
29
  parent: string | null;
29
30
  hidden: boolean;
@@ -25,6 +25,7 @@ export declare const selectDatasourcesByPath: (tabPath: string) => ((state: impo
25
25
  modals: import('../modules').IModalsState;
26
26
  sharedCSS: import('../modules').ISharedCSSState;
27
27
  model: import('../modules').IModelState;
28
+ tasks: import('@ws-ui/shared').ISingleTask[];
28
29
  }) => any[]) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IRootState) => any[], {
29
30
  clearCache: () => void;
30
31
  }> & {
@@ -58,6 +59,7 @@ export declare const selectDatasource: (id: string, namespace: string, tabPath:
58
59
  modals: import('../modules').IModalsState;
59
60
  sharedCSS: import('../modules').ISharedCSSState;
60
61
  model: import('../modules').IModelState;
62
+ tasks: import('@ws-ui/shared').ISingleTask[];
61
63
  }) => any) & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
62
64
  root: import('../modules').IRootState;
63
65
  explorer: import('../modules').ITreeItem[];
@@ -79,6 +81,7 @@ export declare const selectDatasource: (id: string, namespace: string, tabPath:
79
81
  modals: import('../modules').IModalsState;
80
82
  sharedCSS: import('../modules').ISharedCSSState;
81
83
  model: import('../modules').IModelState;
84
+ tasks: import('@ws-ui/shared').ISingleTask[];
82
85
  }>) => any, {
83
86
  clearCache: () => void;
84
87
  }> & {
@@ -108,6 +111,7 @@ export declare const selectSharedDatasources: ((state: import('redux').EmptyObje
108
111
  modals: import('../modules').IModalsState;
109
112
  sharedCSS: import('../modules').ISharedCSSState;
110
113
  model: import('../modules').IModelState;
114
+ tasks: import('@ws-ui/shared').ISingleTask[];
111
115
  }) => {
112
116
  [key: string]: any[];
113
117
  }) & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
@@ -131,6 +135,7 @@ export declare const selectSharedDatasources: ((state: import('redux').EmptyObje
131
135
  modals: import('../modules').IModalsState;
132
136
  sharedCSS: import('../modules').ISharedCSSState;
133
137
  model: import('../modules').IModelState;
138
+ tasks: import('@ws-ui/shared').ISingleTask[];
134
139
  }>) => {
135
140
  [key: string]: any[];
136
141
  }, {
@@ -159,6 +164,7 @@ export declare const selectSharedDatasourcesState: ((state: import('redux').Empt
159
164
  modals: import('../modules').IModalsState;
160
165
  sharedCSS: import('../modules').ISharedCSSState;
161
166
  model: import('../modules').IModelState;
167
+ tasks: import('@ws-ui/shared').ISingleTask[];
162
168
  }) => "loading" | "error" | "loaded") & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
163
169
  root: import('../modules').IRootState;
164
170
  explorer: import('../modules').ITreeItem[];
@@ -180,6 +186,7 @@ export declare const selectSharedDatasourcesState: ((state: import('redux').Empt
180
186
  modals: import('../modules').IModalsState;
181
187
  sharedCSS: import('../modules').ISharedCSSState;
182
188
  model: import('../modules').IModelState;
189
+ tasks: import('@ws-ui/shared').ISingleTask[];
183
190
  }>) => "loading" | "error" | "loaded", {
184
191
  clearCache: () => void;
185
192
  }> & {
@@ -195,7 +202,7 @@ export type TDatasourcesNotIn = {
195
202
  * @param tabPath the current tab path.
196
203
  * @returns datasource or an empty array if not found.
197
204
  */
198
- export declare const selectAllDatasourcesByPath: (tabPath: string, exclude?: 'private' | 'shared', filter?: TDatasourcesFilter | null, notIn?: TDatasourcesNotIn) => ((state: import('redux').EmptyObject & {
205
+ export declare const selectAllDatasourcesByPath: (tabPath: string, exclude?: 'private' | 'shared' | 'user', filter?: TDatasourcesFilter | null, notIn?: TDatasourcesNotIn) => ((state: import('redux').EmptyObject & {
199
206
  root: import('../modules').IRootState;
200
207
  explorer: import('../modules').ITreeItem[];
201
208
  debugger: import('../modules').IDebuggerState;
@@ -216,6 +223,7 @@ export declare const selectAllDatasourcesByPath: (tabPath: string, exclude?: 'pr
216
223
  modals: import('../modules').IModalsState;
217
224
  sharedCSS: import('../modules').ISharedCSSState;
218
225
  model: import('../modules').IModelState;
226
+ tasks: import('@ws-ui/shared').ISingleTask[];
219
227
  }) => any[]) & import('reselect').OutputSelectorFields<(args_0: any[], args_1: {
220
228
  [key: string]: any[];
221
229
  }) => any[], {