@ws-ui/store 0.3.7 → 0.3.9
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/README.md +6 -2
- package/dist/hooks/store.d.ts +3 -24
- package/dist/index.cjs.js +115 -86
- package/dist/index.es.js +16649 -11462
- package/dist/modules/catalog/index.d.ts +1 -9
- package/dist/modules/catalog/reducer.d.ts +1 -9
- package/dist/modules/catalog/thunks.d.ts +1 -10
- package/dist/modules/debugger/index.d.ts +1 -1
- package/dist/modules/debugger/reducer.d.ts +3 -118
- package/dist/modules/debugger/thunks.d.ts +2 -26
- package/dist/modules/debugger/types.d.ts +2 -2
- package/dist/modules/explorer/index.d.ts +1 -1
- package/dist/modules/explorer/reducer.d.ts +2 -44
- package/dist/modules/explorer/thunks.d.ts +33 -368
- package/dist/modules/explorer/utils.d.ts +1 -2
- package/dist/modules/index.d.ts +1 -22
- package/dist/modules/modals/index.d.ts +1 -1
- package/dist/modules/modals/reducer.d.ts +2 -13
- package/dist/modules/modals/thunks.d.ts +1 -20
- package/dist/modules/modals/types.d.ts +1 -1
- package/dist/modules/model/helpers.d.ts +2 -2
- package/dist/modules/model/index.d.ts +1 -1
- package/dist/modules/model/reducer.d.ts +2 -10
- package/dist/modules/model/selectors.d.ts +7 -13
- package/dist/modules/model/subjects.d.ts +1 -7
- package/dist/modules/model/thunks.d.ts +4 -89
- package/dist/modules/model/utils.d.ts +5 -5
- package/dist/modules/roles/index.d.ts +1 -1
- package/dist/modules/roles/reducer.d.ts +2 -41
- package/dist/modules/roles/thunks.d.ts +3 -42
- package/dist/modules/root/index.d.ts +1 -1
- package/dist/modules/root/reducer.d.ts +2 -199
- package/dist/modules/root/thunks.d.ts +16 -246
- package/dist/modules/root/types.d.ts +1 -1
- package/dist/modules/settings/index.d.ts +1 -1
- package/dist/modules/settings/reducer.d.ts +2 -28
- package/dist/modules/settings/thunks.d.ts +2 -23
- package/dist/modules/shared-conditions/index.d.ts +1 -1
- package/dist/modules/shared-conditions/reducer.d.ts +3 -35
- package/dist/modules/shared-conditions/thunks.d.ts +1 -13
- package/dist/modules/shared-conditions/utils.d.ts +0 -2
- package/dist/modules/shared-css/index.d.ts +1 -1
- package/dist/modules/shared-css/reducer.d.ts +2 -14
- package/dist/modules/shared-css/thunks.d.ts +1 -13
- package/dist/modules/shared-datasources/index.d.ts +1 -1
- package/dist/modules/shared-datasources/reducer.d.ts +2 -10
- package/dist/modules/shared-datasources/thunks.d.ts +6 -73
- package/dist/modules/tabs/index.d.ts +1 -1
- package/dist/modules/tabs/reducer.d.ts +1 -1
- package/dist/modules/tabs/selectors.d.ts +1 -52
- package/dist/modules/webforms/datasources.adapter.d.ts +2 -24
- package/dist/modules/webforms/index.d.ts +1 -1
- package/dist/modules/webforms/reducer.d.ts +2 -47
- package/dist/modules/webforms/thunks.d.ts +10 -140
- package/dist/modules/webforms/types.d.ts +1 -1
- package/dist/package.json +28 -0
- package/dist/provider.d.ts +1 -1
- package/dist/selectors/catalog.d.ts +8 -200
- package/dist/selectors/common.d.ts +1 -89
- package/dist/selectors/components.d.ts +1 -50
- package/dist/selectors/datasources.d.ts +4 -152
- package/dist/selectors/debugger.d.ts +26 -612
- package/dist/selectors/explorer.d.ts +22 -1010
- package/dist/selectors/modals.d.ts +1 -26
- package/dist/selectors/roles.d.ts +8 -238
- package/dist/selectors/settings.d.ts +12 -332
- package/dist/selectors/states.d.ts +5 -201
- package/dist/selectors/styles.d.ts +5 -162
- package/dist/selectors/tabs.d.ts +3 -156
- package/dist/selectors/webforms.d.ts +13 -366
- package/dist/store.d.ts +3 -45
- package/dist/style.css +1 -0
- package/dist/utils.d.ts +4 -4
- package/package.json +15 -55
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.es.js.map +0 -1
|
@@ -1,252 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
import { IFileInfoResponse, IMultilineMessage, INodeInfo, ITab, WebformState } from '@ws-ui/shared';
|
|
3
|
-
import { AppState } from '..';
|
|
4
|
-
import { ClassFileTypes, TActionRenameDataSource } from './types';
|
|
5
|
-
|
|
6
|
-
export declare const fetchFiles: import('@reduxjs/toolkit').AsyncThunk<{
|
|
7
|
-
name: string;
|
|
8
|
-
type: import('@ws-ui/shared').FileFolderTypeWithContent;
|
|
9
|
-
date: string;
|
|
10
|
-
path: string;
|
|
11
|
-
}[], void, {
|
|
12
|
-
state?: unknown;
|
|
13
|
-
dispatch?: Dispatch;
|
|
14
|
-
extra?: unknown;
|
|
15
|
-
rejectValue?: unknown;
|
|
16
|
-
serializedErrorType?: unknown;
|
|
17
|
-
pendingMeta?: unknown;
|
|
18
|
-
fulfilledMeta?: unknown;
|
|
19
|
-
rejectedMeta?: unknown;
|
|
20
|
-
}>;
|
|
1
|
+
export declare const fetchFiles: any;
|
|
21
2
|
/**
|
|
22
3
|
* handles the rename of a datasource.
|
|
23
4
|
*
|
|
24
5
|
* - if the datasource is a local datasource, it will rename it along with it's references in component and other datasources.
|
|
25
6
|
* - if the datasource is a shared datasource, it will do the same as above but only for current webform.
|
|
26
7
|
*/
|
|
27
|
-
export declare const renameDataSource:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
export declare const
|
|
42
|
-
path: string;
|
|
43
|
-
datasourceId: string;
|
|
44
|
-
namespace?: string;
|
|
45
|
-
propertyKey: string;
|
|
46
|
-
value: any;
|
|
47
|
-
}, {
|
|
48
|
-
state?: unknown;
|
|
49
|
-
dispatch?: Dispatch;
|
|
50
|
-
extra?: unknown;
|
|
51
|
-
rejectValue?: unknown;
|
|
52
|
-
serializedErrorType?: unknown;
|
|
53
|
-
pendingMeta?: unknown;
|
|
54
|
-
fulfilledMeta?: unknown;
|
|
55
|
-
rejectedMeta?: unknown;
|
|
56
|
-
}>;
|
|
57
|
-
export declare const fetchChanges: import('@reduxjs/toolkit').AsyncThunk<IFileInfoResponse, void, {
|
|
58
|
-
state: AppState;
|
|
59
|
-
dispatch?: Dispatch | undefined;
|
|
60
|
-
extra?: unknown;
|
|
61
|
-
rejectValue?: unknown;
|
|
62
|
-
serializedErrorType?: unknown;
|
|
63
|
-
pendingMeta?: unknown;
|
|
64
|
-
fulfilledMeta?: unknown;
|
|
65
|
-
rejectedMeta?: unknown;
|
|
66
|
-
}>;
|
|
67
|
-
export declare const saveAll: import('@reduxjs/toolkit').AsyncThunk<void, void, {
|
|
68
|
-
state: AppState;
|
|
69
|
-
dispatch?: Dispatch | undefined;
|
|
70
|
-
extra?: unknown;
|
|
71
|
-
rejectValue?: unknown;
|
|
72
|
-
serializedErrorType?: unknown;
|
|
73
|
-
pendingMeta?: unknown;
|
|
74
|
-
fulfilledMeta?: unknown;
|
|
75
|
-
rejectedMeta?: unknown;
|
|
76
|
-
}>;
|
|
77
|
-
export declare const tryCloseTab: import('@reduxjs/toolkit').AsyncThunk<boolean, string, {
|
|
78
|
-
state: AppState;
|
|
79
|
-
dispatch?: Dispatch | undefined;
|
|
80
|
-
extra?: unknown;
|
|
81
|
-
rejectValue?: unknown;
|
|
82
|
-
serializedErrorType?: unknown;
|
|
83
|
-
pendingMeta?: unknown;
|
|
84
|
-
fulfilledMeta?: unknown;
|
|
85
|
-
rejectedMeta?: unknown;
|
|
86
|
-
}>;
|
|
87
|
-
export declare const tryCloseOtherTabs: import('@reduxjs/toolkit').AsyncThunk<void, string, {
|
|
88
|
-
state: AppState;
|
|
89
|
-
dispatch?: Dispatch | undefined;
|
|
90
|
-
extra?: unknown;
|
|
91
|
-
rejectValue?: unknown;
|
|
92
|
-
serializedErrorType?: unknown;
|
|
93
|
-
pendingMeta?: unknown;
|
|
94
|
-
fulfilledMeta?: unknown;
|
|
95
|
-
rejectedMeta?: unknown;
|
|
96
|
-
}>;
|
|
97
|
-
export declare const tryCloseAllTabs: import('@reduxjs/toolkit').AsyncThunk<void, void, {
|
|
98
|
-
state: AppState;
|
|
99
|
-
dispatch?: Dispatch | undefined;
|
|
100
|
-
extra?: unknown;
|
|
101
|
-
rejectValue?: unknown;
|
|
102
|
-
serializedErrorType?: unknown;
|
|
103
|
-
pendingMeta?: unknown;
|
|
104
|
-
fulfilledMeta?: unknown;
|
|
105
|
-
rejectedMeta?: unknown;
|
|
106
|
-
}>;
|
|
107
|
-
export declare const tryCloseRightTabs: import('@reduxjs/toolkit').AsyncThunk<void, number, {
|
|
108
|
-
state: AppState;
|
|
109
|
-
dispatch?: Dispatch | undefined;
|
|
110
|
-
extra?: unknown;
|
|
111
|
-
rejectValue?: unknown;
|
|
112
|
-
serializedErrorType?: unknown;
|
|
113
|
-
pendingMeta?: unknown;
|
|
114
|
-
fulfilledMeta?: unknown;
|
|
115
|
-
rejectedMeta?: unknown;
|
|
116
|
-
}>;
|
|
117
|
-
export declare const tryCloseLeftTabs: import('@reduxjs/toolkit').AsyncThunk<void, number, {
|
|
118
|
-
state: AppState;
|
|
119
|
-
dispatch?: Dispatch | undefined;
|
|
120
|
-
extra?: unknown;
|
|
121
|
-
rejectValue?: unknown;
|
|
122
|
-
serializedErrorType?: unknown;
|
|
123
|
-
pendingMeta?: unknown;
|
|
124
|
-
fulfilledMeta?: unknown;
|
|
125
|
-
rejectedMeta?: unknown;
|
|
126
|
-
}>;
|
|
127
|
-
export declare const reloadTab: import('@reduxjs/toolkit').AsyncThunk<void | INodeInfo, ITab<any, Partial<{
|
|
128
|
-
initialLineInfo: {
|
|
129
|
-
line: number;
|
|
130
|
-
offset?: number;
|
|
131
|
-
lastModification: number;
|
|
132
|
-
};
|
|
133
|
-
initialSelectionInfo: {
|
|
134
|
-
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
135
|
-
lastModification: number;
|
|
136
|
-
};
|
|
137
|
-
diffContent: string;
|
|
138
|
-
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
139
|
-
source: import('@ws-ui/shared').ISource;
|
|
140
|
-
editor: import('@ws-ui/shared').IEditor;
|
|
141
|
-
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
142
|
-
kind: string;
|
|
143
|
-
}>>, {
|
|
144
|
-
state: AppState;
|
|
145
|
-
dispatch?: Dispatch | undefined;
|
|
146
|
-
extra?: unknown;
|
|
147
|
-
rejectValue?: unknown;
|
|
148
|
-
serializedErrorType?: unknown;
|
|
149
|
-
pendingMeta?: unknown;
|
|
150
|
-
fulfilledMeta?: unknown;
|
|
151
|
-
rejectedMeta?: unknown;
|
|
152
|
-
}>;
|
|
153
|
-
type SaveTabReturnType = ITab & {
|
|
154
|
-
errors: IMultilineMessage[];
|
|
155
|
-
};
|
|
156
|
-
export declare const saveTab: import('@reduxjs/toolkit').AsyncThunk<SaveTabReturnType | null, {
|
|
157
|
-
tab: ITab;
|
|
158
|
-
}, {
|
|
159
|
-
state: AppState;
|
|
160
|
-
dispatch?: Dispatch | undefined;
|
|
161
|
-
extra?: unknown;
|
|
162
|
-
rejectValue?: unknown;
|
|
163
|
-
serializedErrorType?: unknown;
|
|
164
|
-
pendingMeta?: unknown;
|
|
165
|
-
fulfilledMeta?: unknown;
|
|
166
|
-
rejectedMeta?: unknown;
|
|
167
|
-
}>;
|
|
168
|
-
export declare const setTabContent: import('@reduxjs/toolkit').AsyncThunk<void, {
|
|
169
|
-
path: string;
|
|
170
|
-
content: any;
|
|
171
|
-
contentPath?: string;
|
|
172
|
-
}, {
|
|
173
|
-
state: AppState;
|
|
174
|
-
dispatch?: Dispatch | undefined;
|
|
175
|
-
extra?: unknown;
|
|
176
|
-
rejectValue?: unknown;
|
|
177
|
-
serializedErrorType?: unknown;
|
|
178
|
-
pendingMeta?: unknown;
|
|
179
|
-
fulfilledMeta?: unknown;
|
|
180
|
-
rejectedMeta?: unknown;
|
|
181
|
-
}>;
|
|
182
|
-
export declare const setCurrentWebformState: import('@reduxjs/toolkit').AsyncThunk<void, {
|
|
183
|
-
currentState: WebformState;
|
|
184
|
-
path: string;
|
|
185
|
-
}, {
|
|
186
|
-
state: AppState;
|
|
187
|
-
dispatch?: Dispatch | undefined;
|
|
188
|
-
extra?: unknown;
|
|
189
|
-
rejectValue?: unknown;
|
|
190
|
-
serializedErrorType?: unknown;
|
|
191
|
-
pendingMeta?: unknown;
|
|
192
|
-
fulfilledMeta?: unknown;
|
|
193
|
-
rejectedMeta?: unknown;
|
|
194
|
-
}>;
|
|
195
|
-
export declare const tryInjectMethod: import('@reduxjs/toolkit').AsyncThunk<ITab<any, Partial<{
|
|
196
|
-
initialLineInfo: {
|
|
197
|
-
line: number;
|
|
198
|
-
offset?: number;
|
|
199
|
-
lastModification: number;
|
|
200
|
-
};
|
|
201
|
-
initialSelectionInfo: {
|
|
202
|
-
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
203
|
-
lastModification: number;
|
|
204
|
-
};
|
|
205
|
-
diffContent: string;
|
|
206
|
-
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
207
|
-
source: import('@ws-ui/shared').ISource;
|
|
208
|
-
editor: import('@ws-ui/shared').IEditor;
|
|
209
|
-
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
210
|
-
kind: string;
|
|
211
|
-
}>> | null, {
|
|
212
|
-
name: string;
|
|
213
|
-
type?: ClassFileTypes;
|
|
214
|
-
dataclass?: string;
|
|
215
|
-
expand?: boolean;
|
|
216
|
-
}, {
|
|
217
|
-
state: AppState;
|
|
218
|
-
dispatch?: Dispatch | undefined;
|
|
219
|
-
extra?: unknown;
|
|
220
|
-
rejectValue?: unknown;
|
|
221
|
-
serializedErrorType?: unknown;
|
|
222
|
-
pendingMeta?: unknown;
|
|
223
|
-
fulfilledMeta?: unknown;
|
|
224
|
-
rejectedMeta?: unknown;
|
|
225
|
-
}>;
|
|
226
|
-
export declare const openRoles: import('@reduxjs/toolkit').AsyncThunk<void | ITab<any, Partial<{
|
|
227
|
-
initialLineInfo: {
|
|
228
|
-
line: number;
|
|
229
|
-
offset?: number;
|
|
230
|
-
lastModification: number;
|
|
231
|
-
};
|
|
232
|
-
initialSelectionInfo: {
|
|
233
|
-
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
234
|
-
lastModification: number;
|
|
235
|
-
};
|
|
236
|
-
diffContent: string;
|
|
237
|
-
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
238
|
-
source: import('@ws-ui/shared').ISource;
|
|
239
|
-
editor: import('@ws-ui/shared').IEditor;
|
|
240
|
-
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
241
|
-
kind: string;
|
|
242
|
-
}>>, {}, {
|
|
243
|
-
state: AppState;
|
|
244
|
-
rejectValue: string;
|
|
245
|
-
dispatch?: Dispatch | undefined;
|
|
246
|
-
extra?: unknown;
|
|
247
|
-
serializedErrorType?: unknown;
|
|
248
|
-
pendingMeta?: unknown;
|
|
249
|
-
fulfilledMeta?: unknown;
|
|
250
|
-
rejectedMeta?: unknown;
|
|
251
|
-
}>;
|
|
252
|
-
export {};
|
|
8
|
+
export declare const renameDataSource: any;
|
|
9
|
+
export declare const editDataSource: any;
|
|
10
|
+
export declare const fetchChanges: any;
|
|
11
|
+
export declare const saveAll: any;
|
|
12
|
+
export declare const tryCloseTab: any;
|
|
13
|
+
export declare const tryCloseOtherTabs: any;
|
|
14
|
+
export declare const tryCloseAllTabs: any;
|
|
15
|
+
export declare const tryCloseRightTabs: any;
|
|
16
|
+
export declare const tryCloseLeftTabs: any;
|
|
17
|
+
export declare const reloadTab: any;
|
|
18
|
+
export declare const saveTab: any;
|
|
19
|
+
export declare const setTabContent: any;
|
|
20
|
+
export declare const setCurrentWebformState: any;
|
|
21
|
+
export declare const tryInjectMethod: any;
|
|
22
|
+
export declare const openRoles: any;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
1
|
import { IAppSettingsResponse } from '@ws-ui/shared';
|
|
3
|
-
import { TSetSettingPayload, TSettingPath } from './types';
|
|
4
2
|
|
|
5
3
|
export interface ISettingsState {
|
|
6
4
|
session: {
|
|
@@ -14,30 +12,6 @@ export interface ISettingsState {
|
|
|
14
12
|
[key: string]: unknown;
|
|
15
13
|
};
|
|
16
14
|
}
|
|
17
|
-
declare const stateSlice:
|
|
18
|
-
|
|
19
|
-
setSettings(state: ISettingsState, action: PayloadAction<{
|
|
20
|
-
path: TSettingPath;
|
|
21
|
-
value: any;
|
|
22
|
-
}>): void;
|
|
23
|
-
setSettingsAsText(state: ISettingsState, action: PayloadAction<{
|
|
24
|
-
path: TSettingPath;
|
|
25
|
-
settings: {
|
|
26
|
-
[key: string]: unknown;
|
|
27
|
-
};
|
|
28
|
-
}>): void;
|
|
29
|
-
}, "settings">;
|
|
30
|
-
export declare const setSetting: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
31
|
-
path: TSettingPath;
|
|
32
|
-
settingsKey: string;
|
|
33
|
-
value: any;
|
|
34
|
-
}, "settings/setSetting">, setSettings: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
35
|
-
path: TSettingPath;
|
|
36
|
-
value: any;
|
|
37
|
-
}, "settings/setSettings">, setSettingsAsText: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
38
|
-
path: TSettingPath;
|
|
39
|
-
settings: {
|
|
40
|
-
[key: string]: unknown;
|
|
41
|
-
};
|
|
42
|
-
}, "settings/setSettingsAsText">;
|
|
15
|
+
declare const stateSlice: any;
|
|
16
|
+
export declare const setSetting: any, setSettings: any, setSettingsAsText: any;
|
|
43
17
|
export default stateSlice;
|
|
@@ -1,23 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export declare const fetchSettings: import('@reduxjs/toolkit').AsyncThunk<INodeInfo, void, {
|
|
5
|
-
state: AppState;
|
|
6
|
-
rejectValue: string;
|
|
7
|
-
dispatch?: import('redux').Dispatch | undefined;
|
|
8
|
-
extra?: unknown;
|
|
9
|
-
serializedErrorType?: unknown;
|
|
10
|
-
pendingMeta?: unknown;
|
|
11
|
-
fulfilledMeta?: unknown;
|
|
12
|
-
rejectedMeta?: unknown;
|
|
13
|
-
}>;
|
|
14
|
-
export declare const fetchAppSettings: import('@reduxjs/toolkit').AsyncThunk<import('@ws-ui/shared').IAppSettingsResponse, void, {
|
|
15
|
-
state?: unknown;
|
|
16
|
-
dispatch?: import('redux').Dispatch;
|
|
17
|
-
extra?: unknown;
|
|
18
|
-
rejectValue?: unknown;
|
|
19
|
-
serializedErrorType?: unknown;
|
|
20
|
-
pendingMeta?: unknown;
|
|
21
|
-
fulfilledMeta?: unknown;
|
|
22
|
-
rejectedMeta?: unknown;
|
|
23
|
-
}>;
|
|
1
|
+
export declare const fetchSettings: any;
|
|
2
|
+
export declare const fetchAppSettings: any;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
1
|
import { WebformStateCondition } from '@ws-ui/shared';
|
|
3
2
|
|
|
4
3
|
export type ISavedConditionsState = {
|
|
@@ -6,39 +5,8 @@ export type ISavedConditionsState = {
|
|
|
6
5
|
conditions: WebformStateCondition[];
|
|
7
6
|
error?: string;
|
|
8
7
|
};
|
|
9
|
-
export declare const deepDeleteCondition: (condition: WebformStateCondition, targetId: string) =>
|
|
8
|
+
export declare const deepDeleteCondition: (condition: WebformStateCondition, targetId: string) => any;
|
|
10
9
|
export declare const deepSanitizeCondition: (condition: WebformStateCondition) => WebformStateCondition;
|
|
11
|
-
declare const stateSlice:
|
|
12
|
-
|
|
13
|
-
conditions: WebformStateCondition[];
|
|
14
|
-
}>) => import('immer/dist/internal.js').WritableDraft<ISavedConditionsState>;
|
|
15
|
-
setSavedCondition: (state: import('immer/dist/internal.js').WritableDraft<ISavedConditionsState>, action: PayloadAction<{
|
|
16
|
-
id: string;
|
|
17
|
-
condition: WebformStateCondition;
|
|
18
|
-
}>) => import('immer/dist/internal.js').WritableDraft<ISavedConditionsState>;
|
|
19
|
-
updateSavedConditionDs: (state: import('immer/dist/internal.js').WritableDraft<ISavedConditionsState>, action: PayloadAction<{
|
|
20
|
-
old_reference: string;
|
|
21
|
-
new_reference: string;
|
|
22
|
-
}>) => void;
|
|
23
|
-
addSavedCondition: (state: import('immer/dist/internal.js').WritableDraft<ISavedConditionsState>, action: PayloadAction<WebformStateCondition>) => import('immer/dist/internal.js').WritableDraft<ISavedConditionsState>;
|
|
24
|
-
removeSavedCondition: (state: import('immer/dist/internal.js').WritableDraft<ISavedConditionsState>, action: PayloadAction<{
|
|
25
|
-
id: string;
|
|
26
|
-
}>) => import('immer/dist/internal.js').WritableDraft<ISavedConditionsState>;
|
|
27
|
-
initSavedConditions: (state: import('immer/dist/internal.js').WritableDraft<ISavedConditionsState>, action: PayloadAction<{
|
|
28
|
-
conditions: WebformStateCondition[];
|
|
29
|
-
}>) => import('immer/dist/internal.js').WritableDraft<ISavedConditionsState>;
|
|
30
|
-
}, "shared-conditions">;
|
|
31
|
-
export declare const updateSavedConditions: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
32
|
-
conditions: WebformStateCondition[];
|
|
33
|
-
}, "shared-conditions/updateSavedConditions">, setSavedCondition: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
34
|
-
id: string;
|
|
35
|
-
condition: WebformStateCondition;
|
|
36
|
-
}, "shared-conditions/setSavedCondition">, updateSavedConditionDs: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
37
|
-
old_reference: string;
|
|
38
|
-
new_reference: string;
|
|
39
|
-
}, "shared-conditions/updateSavedConditionDs">, addSavedCondition: import('@reduxjs/toolkit').ActionCreatorWithPayload<WebformStateCondition, "shared-conditions/addSavedCondition">, removeSavedCondition: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
40
|
-
id: string;
|
|
41
|
-
}, "shared-conditions/removeSavedCondition">, initSavedConditions: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
42
|
-
conditions: WebformStateCondition[];
|
|
43
|
-
}, "shared-conditions/initSavedConditions">;
|
|
10
|
+
declare const stateSlice: any;
|
|
11
|
+
export declare const updateSavedConditions: any, setSavedCondition: any, updateSavedConditionDs: any, addSavedCondition: any, removeSavedCondition: any, initSavedConditions: any;
|
|
44
12
|
export default stateSlice;
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { AppState } from '..';
|
|
3
|
-
|
|
4
|
-
export declare const fetchSavedConditions: import('@reduxjs/toolkit').AsyncThunk<WebformStateCondition[], void, {
|
|
5
|
-
state: AppState;
|
|
6
|
-
rejectValue: string;
|
|
7
|
-
dispatch?: import('redux').Dispatch | undefined;
|
|
8
|
-
extra?: unknown;
|
|
9
|
-
serializedErrorType?: unknown;
|
|
10
|
-
pendingMeta?: unknown;
|
|
11
|
-
fulfilledMeta?: unknown;
|
|
12
|
-
rejectedMeta?: unknown;
|
|
13
|
-
}>;
|
|
1
|
+
export declare const fetchSavedConditions: any;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
1
|
import { IWebFormStyleClass } from '@ws-ui/shared';
|
|
3
2
|
|
|
4
3
|
export type ISharedCSSState = {
|
|
@@ -6,17 +5,6 @@ export type ISharedCSSState = {
|
|
|
6
5
|
styles: IWebFormStyleClass[];
|
|
7
6
|
error?: string;
|
|
8
7
|
};
|
|
9
|
-
declare const stateSlice:
|
|
10
|
-
|
|
11
|
-
classes: IWebFormStyleClass[];
|
|
12
|
-
}>) => import('immer/dist/internal.js').WritableDraft<ISharedCSSState>;
|
|
13
|
-
initSharedCss: (state: import('immer/dist/internal.js').WritableDraft<ISharedCSSState>, action: PayloadAction<{
|
|
14
|
-
classes: IWebFormStyleClass[];
|
|
15
|
-
}>) => import('immer/dist/internal.js').WritableDraft<ISharedCSSState>;
|
|
16
|
-
}, "shared-css">;
|
|
17
|
-
export declare const updateSharedCss: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
18
|
-
classes: IWebFormStyleClass[];
|
|
19
|
-
}, "shared-css/updateSharedCss">, initSharedCss: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
20
|
-
classes: IWebFormStyleClass[];
|
|
21
|
-
}, "shared-css/initSharedCss">;
|
|
8
|
+
declare const stateSlice: any;
|
|
9
|
+
export declare const updateSharedCss: any, initSharedCss: any;
|
|
22
10
|
export default stateSlice;
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { AppState } from '..';
|
|
3
|
-
|
|
4
|
-
export declare const fetchSharedCss: import('@reduxjs/toolkit').AsyncThunk<IWebFormStyleClass[], void, {
|
|
5
|
-
state: AppState;
|
|
6
|
-
rejectValue: string;
|
|
7
|
-
dispatch?: import('redux').Dispatch | undefined;
|
|
8
|
-
extra?: unknown;
|
|
9
|
-
serializedErrorType?: unknown;
|
|
10
|
-
pendingMeta?: unknown;
|
|
11
|
-
fulfilledMeta?: unknown;
|
|
12
|
-
rejectedMeta?: unknown;
|
|
13
|
-
}>;
|
|
1
|
+
export declare const fetchSharedCss: any;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
|
|
3
1
|
export type ISharedDatasourcesState = {
|
|
4
2
|
state: 'loading' | 'loaded' | 'error';
|
|
5
3
|
sources: {
|
|
@@ -7,12 +5,6 @@ export type ISharedDatasourcesState = {
|
|
|
7
5
|
};
|
|
8
6
|
error?: string;
|
|
9
7
|
};
|
|
10
|
-
declare const stateSlice:
|
|
11
|
-
|
|
12
|
-
name: string;
|
|
13
|
-
}>): void;
|
|
14
|
-
}, "shared-datasources">;
|
|
15
|
-
export declare const addEmptyNamespace: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
16
|
-
name: string;
|
|
17
|
-
}, "shared-datasources/addEmptyNamespace">;
|
|
8
|
+
declare const stateSlice: any;
|
|
9
|
+
export declare const addEmptyNamespace: any;
|
|
18
10
|
export default stateSlice;
|
|
@@ -1,73 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
dispatch?: import('redux').Dispatch | undefined;
|
|
8
|
-
extra?: unknown;
|
|
9
|
-
serializedErrorType?: unknown;
|
|
10
|
-
pendingMeta?: unknown;
|
|
11
|
-
fulfilledMeta?: unknown;
|
|
12
|
-
rejectedMeta?: unknown;
|
|
13
|
-
}>;
|
|
14
|
-
export declare const addSharedSource: import('@reduxjs/toolkit').AsyncThunk<ISharedDatasourcesResponse, datasources.ICreateDataSource, {
|
|
15
|
-
rejectValue: string;
|
|
16
|
-
state: AppState;
|
|
17
|
-
dispatch?: import('redux').Dispatch | undefined;
|
|
18
|
-
extra?: unknown;
|
|
19
|
-
serializedErrorType?: unknown;
|
|
20
|
-
pendingMeta?: unknown;
|
|
21
|
-
fulfilledMeta?: unknown;
|
|
22
|
-
rejectedMeta?: unknown;
|
|
23
|
-
}>;
|
|
24
|
-
export declare const editSharedSource: import('@reduxjs/toolkit').AsyncThunk<{
|
|
25
|
-
[key: string]: datasources.ICreateDataSource[];
|
|
26
|
-
}, datasources.ICreateDataSource, {
|
|
27
|
-
state?: unknown;
|
|
28
|
-
dispatch?: import('redux').Dispatch;
|
|
29
|
-
extra?: unknown;
|
|
30
|
-
rejectValue?: unknown;
|
|
31
|
-
serializedErrorType?: unknown;
|
|
32
|
-
pendingMeta?: unknown;
|
|
33
|
-
fulfilledMeta?: unknown;
|
|
34
|
-
rejectedMeta?: unknown;
|
|
35
|
-
}>;
|
|
36
|
-
export declare const deleteSharedSource: import('@reduxjs/toolkit').AsyncThunk<ISharedDatasourcesResponse, {
|
|
37
|
-
id: string;
|
|
38
|
-
namespace: string;
|
|
39
|
-
}, {
|
|
40
|
-
rejectValue: string;
|
|
41
|
-
state: AppState;
|
|
42
|
-
dispatch?: import('redux').Dispatch | undefined;
|
|
43
|
-
extra?: unknown;
|
|
44
|
-
serializedErrorType?: unknown;
|
|
45
|
-
pendingMeta?: unknown;
|
|
46
|
-
fulfilledMeta?: unknown;
|
|
47
|
-
rejectedMeta?: unknown;
|
|
48
|
-
}>;
|
|
49
|
-
export declare const updateSharedDatasources: import('@reduxjs/toolkit').AsyncThunk<ISharedDatasourcesResponse, datasources.ICreateDataSource[], {
|
|
50
|
-
rejectValue: string;
|
|
51
|
-
state: AppState;
|
|
52
|
-
dispatch?: import('redux').Dispatch | undefined;
|
|
53
|
-
extra?: unknown;
|
|
54
|
-
serializedErrorType?: unknown;
|
|
55
|
-
pendingMeta?: unknown;
|
|
56
|
-
fulfilledMeta?: unknown;
|
|
57
|
-
rejectedMeta?: unknown;
|
|
58
|
-
}>;
|
|
59
|
-
export declare const setDatasourceEvents: import('@reduxjs/toolkit').AsyncThunk<void, {
|
|
60
|
-
tabPath: string;
|
|
61
|
-
name: string;
|
|
62
|
-
namespace: string;
|
|
63
|
-
events: webforms.WEvent[];
|
|
64
|
-
}, {
|
|
65
|
-
state: AppState;
|
|
66
|
-
dispatch?: import('redux').Dispatch | undefined;
|
|
67
|
-
extra?: unknown;
|
|
68
|
-
rejectValue?: unknown;
|
|
69
|
-
serializedErrorType?: unknown;
|
|
70
|
-
pendingMeta?: unknown;
|
|
71
|
-
fulfilledMeta?: unknown;
|
|
72
|
-
rejectedMeta?: unknown;
|
|
73
|
-
}>;
|
|
1
|
+
export declare const fetchSharedDatasources: any;
|
|
2
|
+
export declare const addSharedSource: any;
|
|
3
|
+
export declare const editSharedSource: any;
|
|
4
|
+
export declare const deleteSharedSource: any;
|
|
5
|
+
export declare const updateSharedDatasources: any;
|
|
6
|
+
export declare const setDatasourceEvents: any;
|
|
@@ -1,52 +1 @@
|
|
|
1
|
-
export declare const selectPanelByPath: (path: string) =>
|
|
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
|
-
}) => {
|
|
23
|
-
isOpen: boolean;
|
|
24
|
-
type: string;
|
|
25
|
-
current: string;
|
|
26
|
-
lastSelected?: string;
|
|
27
|
-
} | undefined) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
|
|
28
|
-
initialLineInfo: {
|
|
29
|
-
line: number;
|
|
30
|
-
offset?: number;
|
|
31
|
-
lastModification: number;
|
|
32
|
-
};
|
|
33
|
-
initialSelectionInfo: {
|
|
34
|
-
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
35
|
-
lastModification: number;
|
|
36
|
-
};
|
|
37
|
-
diffContent: string;
|
|
38
|
-
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
39
|
-
source: import('@ws-ui/shared').ISource;
|
|
40
|
-
editor: import('@ws-ui/shared').IEditor;
|
|
41
|
-
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
42
|
-
kind: string;
|
|
43
|
-
}>>[]) => {
|
|
44
|
-
isOpen: boolean;
|
|
45
|
-
type: string;
|
|
46
|
-
current: string;
|
|
47
|
-
lastSelected?: string;
|
|
48
|
-
} | undefined, {
|
|
49
|
-
clearCache: () => void;
|
|
50
|
-
}> & {
|
|
51
|
-
clearCache: () => void;
|
|
52
|
-
};
|
|
1
|
+
export declare const selectPanelByPath: (path: string) => any;
|