@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.
- package/dist/hooks/store.d.ts +1 -0
- package/dist/index.cjs.js +35 -35
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +5809 -5464
- 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/modules/index.d.ts +2 -0
- package/dist/modules/shared-datasources/utils.d.ts +3 -2
- package/dist/modules/tabs/selectors.d.ts +1 -0
- package/dist/modules/tasks/index.d.ts +4 -0
- package/dist/modules/tasks/reducer.d.ts +22 -0
- package/dist/modules/tasks/selectors.d.ts +27 -0
- package/dist/modules/webforms/datasources.adapter.d.ts +1 -0
- package/dist/modules/webforms/reducer.d.ts +6 -1
- package/dist/modules/webforms/thunks.d.ts +4 -0
- package/dist/modules/webforms/types.d.ts +3 -0
- package/dist/package.json +2 -2
- package/dist/selectors/catalog.d.ts +8 -0
- package/dist/selectors/common.d.ts +4 -0
- package/dist/selectors/components.d.ts +1 -0
- package/dist/selectors/datasources.d.ts +9 -1
- package/dist/selectors/debugger.d.ts +218 -2
- package/dist/selectors/explorer.d.ts +26 -58
- package/dist/selectors/modals.d.ts +1 -0
- package/dist/selectors/roles.d.ts +8 -0
- package/dist/selectors/settings.d.ts +10 -56
- package/dist/selectors/states.d.ts +6 -0
- package/dist/selectors/styles.d.ts +5 -0
- package/dist/selectors/tabs.d.ts +78 -0
- package/dist/selectors/webforms.d.ts +40 -0
- package/dist/store.d.ts +2 -0
- package/dist/utils.d.ts +1 -1
- package/package.json +2 -2
|
@@ -19,6 +19,7 @@ export declare const selectRolesAndPrivileges: ((state: import('redux').EmptyObj
|
|
|
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
|
}) => Partial<{
|
|
23
24
|
privileges: import('../modules').IPrivilege[];
|
|
24
25
|
roles: import('../modules').IRole[];
|
|
@@ -59,6 +60,7 @@ export declare const selectRoles: ((state: import('redux').EmptyObject & {
|
|
|
59
60
|
modals: import('../modules').IModalsState;
|
|
60
61
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
61
62
|
model: import('../modules').IModelState;
|
|
63
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
62
64
|
}) => import('../modules').TRolesDict) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IRolesState) => import('../modules').TRolesDict, {
|
|
63
65
|
clearCache: () => void;
|
|
64
66
|
}> & {
|
|
@@ -85,6 +87,7 @@ export declare const selectPrivileges: ((state: import('redux').EmptyObject & {
|
|
|
85
87
|
modals: import('../modules').IModalsState;
|
|
86
88
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
87
89
|
model: import('../modules').IModelState;
|
|
90
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
88
91
|
}) => import('../modules').TById) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IRolesState) => import('../modules').TById, {
|
|
89
92
|
clearCache: () => void;
|
|
90
93
|
}> & {
|
|
@@ -111,6 +114,7 @@ export declare const selectGuestPrivilege: ((state: import('redux').EmptyObject
|
|
|
111
114
|
modals: import('../modules').IModalsState;
|
|
112
115
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
113
116
|
model: import('../modules').IModelState;
|
|
117
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
114
118
|
}) => import('../modules').TSanitizedPrivilege | undefined) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IRolesState) => import('../modules').TSanitizedPrivilege | undefined, {
|
|
115
119
|
clearCache: () => void;
|
|
116
120
|
}> & {
|
|
@@ -137,6 +141,7 @@ export declare const selectRolesFlags: ((state: import('redux').EmptyObject & {
|
|
|
137
141
|
modals: import('../modules').IModalsState;
|
|
138
142
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
139
143
|
model: import('../modules').IModelState;
|
|
144
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
140
145
|
}) => Partial<{
|
|
141
146
|
touched: boolean;
|
|
142
147
|
removed: boolean;
|
|
@@ -181,6 +186,7 @@ export declare const selectSelectedTab: ((state: import('redux').EmptyObject & {
|
|
|
181
186
|
modals: import('../modules').IModalsState;
|
|
182
187
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
183
188
|
model: import('../modules').IModelState;
|
|
189
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
184
190
|
}) => "roles" | "privileges") & import('reselect').OutputSelectorFields<(args_0: import('../modules').IRolesState) => "roles" | "privileges", {
|
|
185
191
|
clearCache: () => void;
|
|
186
192
|
}> & {
|
|
@@ -207,6 +213,7 @@ export declare const selectForceLogin: ((state: import('redux').EmptyObject & {
|
|
|
207
213
|
modals: import('../modules').IModalsState;
|
|
208
214
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
209
215
|
model: import('../modules').IModelState;
|
|
216
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
210
217
|
}) => boolean | undefined) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IRolesState) => boolean | undefined, {
|
|
211
218
|
clearCache: () => void;
|
|
212
219
|
}> & {
|
|
@@ -233,6 +240,7 @@ export declare const selectRolesDate: ((state: import('redux').EmptyObject & {
|
|
|
233
240
|
modals: import('../modules').IModalsState;
|
|
234
241
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
235
242
|
model: import('../modules').IModelState;
|
|
243
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
236
244
|
}) => string | undefined) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IRolesState) => string | undefined, {
|
|
237
245
|
clearCache: () => void;
|
|
238
246
|
}> & {
|
|
@@ -19,6 +19,7 @@ export declare const selectSessionSettings: ((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
|
}) => {
|
|
23
24
|
[key: string]: unknown;
|
|
24
25
|
}) & import('reselect').OutputSelectorFields<(args_0: import('../modules').ISettingsState) => {
|
|
@@ -49,6 +50,7 @@ export declare const selectPartialSessionSettings: <T extends string[]>(...keys:
|
|
|
49
50
|
modals: import('../modules').IModalsState;
|
|
50
51
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
51
52
|
model: import('../modules').IModelState;
|
|
53
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
52
54
|
}) => { [K in T[number]]: unknown; }) & import('reselect').OutputSelectorFields<(args_0: {
|
|
53
55
|
[key: string]: unknown;
|
|
54
56
|
}) => { [K in T[number]]: unknown; }, {
|
|
@@ -77,6 +79,7 @@ export declare const selectSessionSetting: <T = string>(key: string) => ((state:
|
|
|
77
79
|
modals: import('../modules').IModalsState;
|
|
78
80
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
79
81
|
model: import('../modules').IModelState;
|
|
82
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
80
83
|
}) => T) & import('reselect').OutputSelectorFields<(args_0: {
|
|
81
84
|
[key: string]: unknown;
|
|
82
85
|
}) => T, {
|
|
@@ -105,6 +108,7 @@ export declare const selectFeatureFlag: (key: string) => ((state: import('redux'
|
|
|
105
108
|
modals: import('../modules').IModalsState;
|
|
106
109
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
107
110
|
model: import('../modules').IModelState;
|
|
111
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
108
112
|
}) => boolean) & import('reselect').OutputSelectorFields<(args_0: {
|
|
109
113
|
[key: string]: unknown;
|
|
110
114
|
}) => boolean, {
|
|
@@ -133,6 +137,7 @@ export declare const selectProjectSettings: ((state: import('redux').EmptyObject
|
|
|
133
137
|
modals: import('../modules').IModalsState;
|
|
134
138
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
135
139
|
model: import('../modules').IModelState;
|
|
140
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
136
141
|
}) => {
|
|
137
142
|
[key: string]: unknown;
|
|
138
143
|
}) & import('reselect').OutputSelectorFields<(args_0: import('../modules').ISettingsState) => {
|
|
@@ -163,6 +168,7 @@ export declare const selectPreferences: ((state: import('redux').EmptyObject & {
|
|
|
163
168
|
modals: import('../modules').IModalsState;
|
|
164
169
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
165
170
|
model: import('../modules').IModelState;
|
|
171
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
166
172
|
}) => import('../modules').ISettingsState) & import('reselect').OutputSelectorFields<(args_0: import('../modules').ISettingsState) => import('../modules').ISettingsState, {
|
|
167
173
|
clearCache: () => void;
|
|
168
174
|
}> & {
|
|
@@ -189,6 +195,7 @@ export declare const selectServerSettings: ((state: import('redux').EmptyObject
|
|
|
189
195
|
modals: import('../modules').IModalsState;
|
|
190
196
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
191
197
|
model: import('../modules').IModelState;
|
|
198
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
192
199
|
}) => import('@ws-ui/shared').IAppSettingsResponse) & import('reselect').OutputSelectorFields<(args_0: import('../modules').ISettingsState) => import('@ws-ui/shared').IAppSettingsResponse, {
|
|
193
200
|
clearCache: () => void;
|
|
194
201
|
}> & {
|
|
@@ -215,6 +222,7 @@ export declare const selectRemoteDebuggerMode: ((state: import('redux').EmptyObj
|
|
|
215
222
|
modals: import('../modules').IModalsState;
|
|
216
223
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
217
224
|
model: import('../modules').IModelState;
|
|
225
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
218
226
|
}) => import('@ws-ui/shared').RemoteDebuggerMode) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').IAppSettingsResponse) => import('@ws-ui/shared').RemoteDebuggerMode, {
|
|
219
227
|
clearCache: () => void;
|
|
220
228
|
}> & {
|
|
@@ -241,6 +249,7 @@ export declare const selectQodly: ((state: import('redux').EmptyObject & {
|
|
|
241
249
|
modals: import('../modules').IModalsState;
|
|
242
250
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
243
251
|
model: import('../modules').IModelState;
|
|
252
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
244
253
|
}) => boolean) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').IAppSettingsResponse) => boolean, {
|
|
245
254
|
clearCache: () => void;
|
|
246
255
|
}> & {
|
|
@@ -267,62 +276,7 @@ export declare const selectMonacoZoom: ((state: import('redux').EmptyObject & {
|
|
|
267
276
|
modals: import('../modules').IModalsState;
|
|
268
277
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
269
278
|
model: import('../modules').IModelState;
|
|
270
|
-
|
|
271
|
-
[key: string]: unknown;
|
|
272
|
-
}) => unknown, {
|
|
273
|
-
clearCache: () => void;
|
|
274
|
-
}> & {
|
|
275
|
-
clearCache: () => void;
|
|
276
|
-
};
|
|
277
|
-
export declare const selectI18nSetting: ((state: import('redux').EmptyObject & {
|
|
278
|
-
root: import('../modules').IRootState;
|
|
279
|
-
explorer: import('../modules').ITreeItem[];
|
|
280
|
-
debugger: import('../modules').IDebuggerState;
|
|
281
|
-
settings: import('../modules').ISettingsState;
|
|
282
|
-
catalog: {
|
|
283
|
-
state: "loading";
|
|
284
|
-
} | {
|
|
285
|
-
state: "loaded";
|
|
286
|
-
model: datasources.IEnhancedCatalog;
|
|
287
|
-
} | {
|
|
288
|
-
state: "error";
|
|
289
|
-
error: string;
|
|
290
|
-
};
|
|
291
|
-
roles: import('../modules').IRolesState;
|
|
292
|
-
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
293
|
-
savedConditions: import('../modules').ISavedConditionsState;
|
|
294
|
-
webforms: import('../modules').IWebformEditorState;
|
|
295
|
-
modals: import('../modules').IModalsState;
|
|
296
|
-
sharedCSS: import('../modules').ISharedCSSState;
|
|
297
|
-
model: import('../modules').IModelState;
|
|
298
|
-
}) => unknown) & import('reselect').OutputSelectorFields<(args_0: {
|
|
299
|
-
[key: string]: unknown;
|
|
300
|
-
}) => unknown, {
|
|
301
|
-
clearCache: () => void;
|
|
302
|
-
}> & {
|
|
303
|
-
clearCache: () => void;
|
|
304
|
-
};
|
|
305
|
-
export declare const selectI18nCurrent: ((state: import('redux').EmptyObject & {
|
|
306
|
-
root: import('../modules').IRootState;
|
|
307
|
-
explorer: import('../modules').ITreeItem[];
|
|
308
|
-
debugger: import('../modules').IDebuggerState;
|
|
309
|
-
settings: import('../modules').ISettingsState;
|
|
310
|
-
catalog: {
|
|
311
|
-
state: "loading";
|
|
312
|
-
} | {
|
|
313
|
-
state: "loaded";
|
|
314
|
-
model: datasources.IEnhancedCatalog;
|
|
315
|
-
} | {
|
|
316
|
-
state: "error";
|
|
317
|
-
error: string;
|
|
318
|
-
};
|
|
319
|
-
roles: import('../modules').IRolesState;
|
|
320
|
-
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
321
|
-
savedConditions: import('../modules').ISavedConditionsState;
|
|
322
|
-
webforms: import('../modules').IWebformEditorState;
|
|
323
|
-
modals: import('../modules').IModalsState;
|
|
324
|
-
sharedCSS: import('../modules').ISharedCSSState;
|
|
325
|
-
model: import('../modules').IModelState;
|
|
279
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
326
280
|
}) => unknown) & import('reselect').OutputSelectorFields<(args_0: {
|
|
327
281
|
[key: string]: unknown;
|
|
328
282
|
}) => unknown, {
|
|
@@ -32,6 +32,7 @@ export declare const selectWebformStatesByPath: (tabPath: string, exclude?: stri
|
|
|
32
32
|
modals: import('../modules').IModalsState;
|
|
33
33
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
34
34
|
model: import('../modules').IModelState;
|
|
35
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
35
36
|
}) => WebformState[]) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
|
|
36
37
|
initialLineInfo: {
|
|
37
38
|
line: number;
|
|
@@ -80,6 +81,7 @@ export declare const selectWebformStatesLabelsByPath: (tabPath: string, exclude?
|
|
|
80
81
|
modals: import('../modules').IModalsState;
|
|
81
82
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
82
83
|
model: import('../modules').IModelState;
|
|
84
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
83
85
|
}) => string[]) & import('reselect').OutputSelectorFields<(args_0: WebformState[]) => string[], {
|
|
84
86
|
clearCache: () => void;
|
|
85
87
|
}> & {
|
|
@@ -111,6 +113,7 @@ export declare const selectDefaultWebformStatesByPath: (tabPath: string) => ((st
|
|
|
111
113
|
modals: import('../modules').IModalsState;
|
|
112
114
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
113
115
|
model: import('../modules').IModelState;
|
|
116
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
114
117
|
}) => string[]) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
|
|
115
118
|
initialLineInfo: {
|
|
116
119
|
line: number;
|
|
@@ -153,6 +156,7 @@ export declare const selectCurrentWebformStateByPath: (tabPath: string) => ((sta
|
|
|
153
156
|
modals: import('../modules').IModalsState;
|
|
154
157
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
155
158
|
model: import('../modules').IModelState;
|
|
159
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
156
160
|
}) => WebformState) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
|
|
157
161
|
initialLineInfo: {
|
|
158
162
|
line: number;
|
|
@@ -198,6 +202,7 @@ export declare const selectSavedConditions: ((state: import('redux').EmptyObject
|
|
|
198
202
|
modals: import('../modules').IModalsState;
|
|
199
203
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
200
204
|
model: import('../modules').IModelState;
|
|
205
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
201
206
|
}) => import('@ws-ui/shared').WebformStateCondition[]) & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
|
|
202
207
|
root: import('../modules').IRootState;
|
|
203
208
|
explorer: import('../modules').ITreeItem[];
|
|
@@ -219,6 +224,7 @@ export declare const selectSavedConditions: ((state: import('redux').EmptyObject
|
|
|
219
224
|
modals: import('../modules').IModalsState;
|
|
220
225
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
221
226
|
model: import('../modules').IModelState;
|
|
227
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
222
228
|
}>) => import('@ws-ui/shared').WebformStateCondition[], {
|
|
223
229
|
clearCache: () => void;
|
|
224
230
|
}> & {
|
|
@@ -22,6 +22,7 @@ export declare const selectWebformStylesByPath: (path: string) => ((state: impor
|
|
|
22
22
|
modals: import('../modules').IModalsState;
|
|
23
23
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
24
24
|
model: import('../modules').IModelState;
|
|
25
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
25
26
|
}) => IWebFormStyleClass[]) & import('reselect').OutputSelectorFields<(args_0: ITab<any, Partial<{
|
|
26
27
|
initialLineInfo: {
|
|
27
28
|
line: number;
|
|
@@ -64,6 +65,7 @@ export declare const selectStylesByPath: (path: string, scopes: EWebFormStyleCla
|
|
|
64
65
|
modals: import('../modules').IModalsState;
|
|
65
66
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
66
67
|
model: import('../modules').IModelState;
|
|
68
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
67
69
|
}) => IWebFormStyleClass[]) & import('reselect').OutputSelectorFields<(args_0: IWebFormStyleClass[]) => IWebFormStyleClass[], {
|
|
68
70
|
clearCache: () => void;
|
|
69
71
|
}> & {
|
|
@@ -90,6 +92,7 @@ export declare const selectCSSClassesByPath: (path: string) => ((state: import('
|
|
|
90
92
|
modals: import('../modules').IModalsState;
|
|
91
93
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
92
94
|
model: import('../modules').IModelState;
|
|
95
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
93
96
|
}) => IWebFormStyleClass[]) & import('reselect').OutputSelectorFields<(args_0: IWebFormStyleClass[]) => IWebFormStyleClass[], {
|
|
94
97
|
clearCache: () => void;
|
|
95
98
|
}> & {
|
|
@@ -116,6 +119,7 @@ export declare const selectSharedCSS: ((state: import('redux').EmptyObject & {
|
|
|
116
119
|
modals: import('../modules').IModalsState;
|
|
117
120
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
118
121
|
model: import('../modules').IModelState;
|
|
122
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
119
123
|
}) => {
|
|
120
124
|
scope: EWebFormStyleClassScope;
|
|
121
125
|
id: string;
|
|
@@ -147,6 +151,7 @@ export declare const selectSharedCSS: ((state: import('redux').EmptyObject & {
|
|
|
147
151
|
modals: import('../modules').IModalsState;
|
|
148
152
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
149
153
|
model: import('../modules').IModelState;
|
|
154
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
150
155
|
}>) => {
|
|
151
156
|
scope: EWebFormStyleClassScope;
|
|
152
157
|
id: string;
|
package/dist/selectors/tabs.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare const selectFlagsByPath: (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
|
}) => Partial<{
|
|
23
24
|
touched: boolean;
|
|
24
25
|
removed: boolean;
|
|
@@ -79,6 +80,7 @@ export declare const selectHistoryByPath: (path: string) => ((state: import('red
|
|
|
79
80
|
modals: import('..').IModalsState;
|
|
80
81
|
sharedCSS: import('..').ISharedCSSState;
|
|
81
82
|
model: import('..').IModelState;
|
|
83
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
82
84
|
}) => {
|
|
83
85
|
stack: any[];
|
|
84
86
|
active: number;
|
|
@@ -129,6 +131,7 @@ export declare const selectActiveTabHistoryActions: ((state: import('redux').Emp
|
|
|
129
131
|
modals: import('..').IModalsState;
|
|
130
132
|
sharedCSS: import('..').ISharedCSSState;
|
|
131
133
|
model: import('..').IModelState;
|
|
134
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
132
135
|
}) => {
|
|
133
136
|
canUndo: boolean;
|
|
134
137
|
canRedo: boolean;
|
|
@@ -156,3 +159,78 @@ export declare const selectActiveTabHistoryActions: ((state: import('redux').Emp
|
|
|
156
159
|
}> & {
|
|
157
160
|
clearCache: () => void;
|
|
158
161
|
};
|
|
162
|
+
export declare const selectAllTabsByType: (type: string) => ((state: import('redux').EmptyObject & {
|
|
163
|
+
root: import('..').IRootState;
|
|
164
|
+
explorer: import('..').ITreeItem[];
|
|
165
|
+
debugger: import('..').IDebuggerState;
|
|
166
|
+
settings: import('..').ISettingsState;
|
|
167
|
+
catalog: {
|
|
168
|
+
state: "loading";
|
|
169
|
+
} | {
|
|
170
|
+
state: "loaded";
|
|
171
|
+
model: datasources.IEnhancedCatalog;
|
|
172
|
+
} | {
|
|
173
|
+
state: "error";
|
|
174
|
+
error: string;
|
|
175
|
+
};
|
|
176
|
+
roles: import('..').IRolesState;
|
|
177
|
+
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
178
|
+
savedConditions: import('..').ISavedConditionsState;
|
|
179
|
+
webforms: import('..').IWebformEditorState;
|
|
180
|
+
modals: import('..').IModalsState;
|
|
181
|
+
sharedCSS: import('..').ISharedCSSState;
|
|
182
|
+
model: import('..').IModelState;
|
|
183
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
184
|
+
}) => import('@ws-ui/shared').ITab<any, Partial<{
|
|
185
|
+
initialLineInfo: {
|
|
186
|
+
line: number;
|
|
187
|
+
offset?: number | undefined;
|
|
188
|
+
lastModification: number;
|
|
189
|
+
};
|
|
190
|
+
initialSelectionInfo: {
|
|
191
|
+
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
192
|
+
lastModification: number;
|
|
193
|
+
};
|
|
194
|
+
diffContent: string;
|
|
195
|
+
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
196
|
+
source: import('@ws-ui/shared').ISource;
|
|
197
|
+
editor: import('@ws-ui/shared').IEditor;
|
|
198
|
+
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
199
|
+
kind: string;
|
|
200
|
+
}>>[]) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
|
|
201
|
+
initialLineInfo: {
|
|
202
|
+
line: number;
|
|
203
|
+
offset?: number | undefined;
|
|
204
|
+
lastModification: number;
|
|
205
|
+
};
|
|
206
|
+
initialSelectionInfo: {
|
|
207
|
+
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
208
|
+
lastModification: number;
|
|
209
|
+
};
|
|
210
|
+
diffContent: string;
|
|
211
|
+
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
212
|
+
source: import('@ws-ui/shared').ISource;
|
|
213
|
+
editor: import('@ws-ui/shared').IEditor;
|
|
214
|
+
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
215
|
+
kind: string;
|
|
216
|
+
}>>[]) => import('@ws-ui/shared').ITab<any, Partial<{
|
|
217
|
+
initialLineInfo: {
|
|
218
|
+
line: number;
|
|
219
|
+
offset?: number | undefined;
|
|
220
|
+
lastModification: number;
|
|
221
|
+
};
|
|
222
|
+
initialSelectionInfo: {
|
|
223
|
+
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
224
|
+
lastModification: number;
|
|
225
|
+
};
|
|
226
|
+
diffContent: string;
|
|
227
|
+
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
228
|
+
source: import('@ws-ui/shared').ISource;
|
|
229
|
+
editor: import('@ws-ui/shared').IEditor;
|
|
230
|
+
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
231
|
+
kind: string;
|
|
232
|
+
}>>[], {
|
|
233
|
+
clearCache: () => void;
|
|
234
|
+
}> & {
|
|
235
|
+
clearCache: () => void;
|
|
236
|
+
};
|
|
@@ -21,6 +21,7 @@ export declare const selectWebforms: ((state: import('redux').EmptyObject & {
|
|
|
21
21
|
modals: import('../modules').IModalsState;
|
|
22
22
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
23
23
|
model: import('../modules').IModelState;
|
|
24
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
24
25
|
}) => import('../modules').IWebformEditorState) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IWebformEditorState) => import('../modules').IWebformEditorState, {
|
|
25
26
|
clearCache: () => void;
|
|
26
27
|
}> & {
|
|
@@ -47,6 +48,7 @@ export declare const selectComponents: ((state: import('redux').EmptyObject & {
|
|
|
47
48
|
modals: import('../modules').IModalsState;
|
|
48
49
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
49
50
|
model: import('../modules').IModelState;
|
|
51
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
50
52
|
}) => import('@ws-ui/shared').IComponentTemplate[]) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IWebformEditorState) => import('@ws-ui/shared').IComponentTemplate[], {
|
|
51
53
|
clearCache: () => void;
|
|
52
54
|
}> & {
|
|
@@ -73,6 +75,7 @@ export declare const selectInspector: ((state: import('redux').EmptyObject & {
|
|
|
73
75
|
modals: import('../modules').IModalsState;
|
|
74
76
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
75
77
|
model: import('../modules').IModelState;
|
|
78
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
76
79
|
}) => import('../modules').IInspectorState) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IWebformEditorState) => import('../modules').IInspectorState, {
|
|
77
80
|
clearCache: () => void;
|
|
78
81
|
}> & {
|
|
@@ -99,6 +102,7 @@ export declare const selectInspectedCSSClass: ((state: import('redux').EmptyObje
|
|
|
99
102
|
modals: import('../modules').IModalsState;
|
|
100
103
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
101
104
|
model: import('../modules').IModelState;
|
|
105
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
102
106
|
}) => import('../modules').IInspector<string>) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IInspectorState) => import('../modules').IInspector<string>, {
|
|
103
107
|
clearCache: () => void;
|
|
104
108
|
}> & {
|
|
@@ -125,6 +129,7 @@ export declare const selectInspectedDatasource: ((state: import('redux').EmptyOb
|
|
|
125
129
|
modals: import('../modules').IModalsState;
|
|
126
130
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
127
131
|
model: import('../modules').IModelState;
|
|
132
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
128
133
|
}) => import('../modules').IInspector<import('../modules').IDatasourcedata>) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IInspectorState) => import('../modules').IInspector<import('../modules').IDatasourcedata>, {
|
|
129
134
|
clearCache: () => void;
|
|
130
135
|
}> & {
|
|
@@ -151,6 +156,7 @@ export declare const selectTemplates: ((state: import('redux').EmptyObject & {
|
|
|
151
156
|
modals: import('../modules').IModalsState;
|
|
152
157
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
153
158
|
model: import('../modules').IModelState;
|
|
159
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
154
160
|
}) => import('../modules').ITemplatedComponent) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IWebformEditorState) => import('../modules').ITemplatedComponent, {
|
|
155
161
|
clearCache: () => void;
|
|
156
162
|
}> & {
|
|
@@ -177,6 +183,7 @@ export declare const selectTemplatesData: ((state: import('redux').EmptyObject &
|
|
|
177
183
|
modals: import('../modules').IModalsState;
|
|
178
184
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
179
185
|
model: import('../modules').IModelState;
|
|
186
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
180
187
|
}) => import('../modules').ITemplatedGroup[]) & import('reselect').OutputSelectorFields<(args_0: import('../modules').ITemplatedComponent) => import('../modules').ITemplatedGroup[], {
|
|
181
188
|
clearCache: () => void;
|
|
182
189
|
}> & {
|
|
@@ -203,6 +210,7 @@ export declare const selectCraftedComponent: (id: string) => ((state: import('re
|
|
|
203
210
|
modals: import('../modules').IModalsState;
|
|
204
211
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
205
212
|
model: import('../modules').IModelState;
|
|
213
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
206
214
|
}) => import('@ws-ui/shared').IComponentTemplate | undefined) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').IComponentTemplate[]) => import('@ws-ui/shared').IComponentTemplate | undefined, {
|
|
207
215
|
clearCache: () => void;
|
|
208
216
|
}> & {
|
|
@@ -229,6 +237,7 @@ export declare const selectInspectorStateByType: (type: TInspectorType) => ((sta
|
|
|
229
237
|
modals: import('../modules').IModalsState;
|
|
230
238
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
231
239
|
model: import('../modules').IModelState;
|
|
240
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
232
241
|
}) => import('../modules').IInspector<string> | import('../modules').IInspector<import('../modules').IDatasourcedata>) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IInspectorState) => import('../modules').IInspector<string> | import('../modules').IInspector<import('../modules').IDatasourcedata>, {
|
|
233
242
|
clearCache: () => void;
|
|
234
243
|
}> & {
|
|
@@ -255,6 +264,7 @@ export declare const selectDatasourcesTheme: ((state: import('redux').EmptyObjec
|
|
|
255
264
|
modals: import('../modules').IModalsState;
|
|
256
265
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
257
266
|
model: import('../modules').IModelState;
|
|
267
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
258
268
|
}) => string | number) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IWebformEditorState) => string | number, {
|
|
259
269
|
clearCache: () => void;
|
|
260
270
|
}> & {
|
|
@@ -281,6 +291,7 @@ export declare const selectClipBoard: ((state: import('redux').EmptyObject & {
|
|
|
281
291
|
modals: import('../modules').IModalsState;
|
|
282
292
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
283
293
|
model: import('../modules').IModelState;
|
|
294
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
284
295
|
}) => {
|
|
285
296
|
payload: webforms.WEvent;
|
|
286
297
|
type: "event";
|
|
@@ -313,6 +324,7 @@ export declare const selectIsLoaded: ((state: import('redux').EmptyObject & {
|
|
|
313
324
|
modals: import('../modules').IModalsState;
|
|
314
325
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
315
326
|
model: import('../modules').IModelState;
|
|
327
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
316
328
|
}) => boolean) & import('reselect').OutputSelectorFields<(args_0: {
|
|
317
329
|
state: "loading";
|
|
318
330
|
} | {
|
|
@@ -347,6 +359,7 @@ export declare const selectWebformMetadataByPath: (tabPath: string) => ((state:
|
|
|
347
359
|
modals: import('../modules').IModalsState;
|
|
348
360
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
349
361
|
model: import('../modules').IModelState;
|
|
362
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
350
363
|
}) => Partial<{
|
|
351
364
|
v: string;
|
|
352
365
|
datasources: any[];
|
|
@@ -366,3 +379,30 @@ export declare const selectWebformMetadataByPath: (tabPath: string) => ((state:
|
|
|
366
379
|
}> & {
|
|
367
380
|
clearCache: () => void;
|
|
368
381
|
};
|
|
382
|
+
export declare const selectI18nCurrent: ((state: import('redux').EmptyObject & {
|
|
383
|
+
root: import('../modules').IRootState;
|
|
384
|
+
explorer: import('../modules').ITreeItem[];
|
|
385
|
+
debugger: import('../modules').IDebuggerState;
|
|
386
|
+
settings: import('../modules').ISettingsState;
|
|
387
|
+
catalog: {
|
|
388
|
+
state: "loading";
|
|
389
|
+
} | {
|
|
390
|
+
state: "loaded";
|
|
391
|
+
model: datasources.IEnhancedCatalog;
|
|
392
|
+
} | {
|
|
393
|
+
state: "error";
|
|
394
|
+
error: string;
|
|
395
|
+
};
|
|
396
|
+
roles: import('../modules').IRolesState;
|
|
397
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
398
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
399
|
+
webforms: import('../modules').IWebformEditorState;
|
|
400
|
+
modals: import('../modules').IModalsState;
|
|
401
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
402
|
+
model: import('../modules').IModelState;
|
|
403
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
404
|
+
}) => string) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IWebformEditorState) => string, {
|
|
405
|
+
clearCache: () => void;
|
|
406
|
+
}> & {
|
|
407
|
+
clearCache: () => void;
|
|
408
|
+
};
|
package/dist/store.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare const getStore: () => import('@reduxjs/toolkit/dist/configureStor
|
|
|
27
27
|
modals: import('./modules').IModalsState;
|
|
28
28
|
sharedCSS: import('./modules').ISharedCSSState;
|
|
29
29
|
model: import('./modules').IModelState;
|
|
30
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
30
31
|
}, AnyAction, [import('@reduxjs/toolkit').ThunkMiddleware<import('redux').CombinedState<{
|
|
31
32
|
root: import('./modules').IRootState;
|
|
32
33
|
explorer: import('./modules').ITreeItem[];
|
|
@@ -48,6 +49,7 @@ export declare const getStore: () => import('@reduxjs/toolkit/dist/configureStor
|
|
|
48
49
|
modals: import('./modules').IModalsState;
|
|
49
50
|
sharedCSS: import('./modules').ISharedCSSState;
|
|
50
51
|
model: import('./modules').IModelState;
|
|
52
|
+
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
51
53
|
}>, AnyAction>]>;
|
|
52
54
|
export type AppDispatch = typeof store.dispatch;
|
|
53
55
|
export {};
|
package/dist/utils.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { ModelNode, ServerModel } from './modules/model/types';
|
|
|
5
5
|
|
|
6
6
|
export declare const CATALOG_REFRESH_DELAY = 2000;
|
|
7
7
|
export declare const DEFAULT_CACHE: TCachedState;
|
|
8
|
-
export type TCachedState = Pick<IRootState, 'tabs' | 'activeTab' | 'recent'> & Pick<AppState, 'roles' | 'debugger' | 'webforms' | 'sharedCSS'>;
|
|
8
|
+
export type TCachedState = Pick<IRootState, 'tabs' | 'activeTab' | 'recent'> & Pick<AppState, 'roles' | 'debugger' | 'webforms' | 'sharedCSS' | 'tasks'>;
|
|
9
9
|
export declare function saveState(state: TCachedState): void;
|
|
10
10
|
export declare function savePrefrences(state: {
|
|
11
11
|
[key: string]: any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/store",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.
|
|
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.
|
|
20
|
+
"@ws-ui/icons": "1.5.0"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|