@ws-ui/store 1.1.1 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hooks/store.d.ts +1 -0
- package/dist/index.cjs.js +33 -33
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3278 -3157
- package/dist/index.es.js.map +1 -1
- package/dist/modules/index.d.ts +2 -0
- package/dist/modules/root/reducer.d.ts +2 -2
- package/dist/modules/root/thunks.d.ts +3 -3
- package/dist/modules/shared-datasources/thunks.d.ts +4 -4
- 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 +3 -1
- 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 +17 -9
- package/dist/selectors/debugger.d.ts +28 -0
- package/dist/selectors/explorer.d.ts +26 -0
- 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 +42 -2
- package/dist/store.d.ts +2 -0
- package/dist/utils.d.ts +1 -1
- package/package.json +2 -2
|
@@ -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,16 +359,17 @@ 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
|
-
datasources:
|
|
365
|
+
datasources: datasources.ICreateDataSource[];
|
|
353
366
|
states: import('@ws-ui/shared').WebformState[];
|
|
354
367
|
defaultStates: string[];
|
|
355
368
|
styles: import('@ws-ui/shared').IWebFormStyleClass[];
|
|
356
369
|
title: string;
|
|
357
370
|
}>) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IRootState) => Partial<{
|
|
358
371
|
v: string;
|
|
359
|
-
datasources:
|
|
372
|
+
datasources: datasources.ICreateDataSource[];
|
|
360
373
|
states: import('@ws-ui/shared').WebformState[];
|
|
361
374
|
defaultStates: string[];
|
|
362
375
|
styles: import('@ws-ui/shared').IWebFormStyleClass[];
|
|
@@ -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.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"overrides": {
|
|
19
19
|
"@ws-ui/shared": {
|
|
20
|
-
"@ws-ui/icons": "1.
|
|
20
|
+
"@ws-ui/icons": "1.5.1"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|