@ws-ui/store 0.2.11-rc.0 → 0.2.11
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 +0 -2
- package/dist/index.cjs.js +37 -37
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4436 -4476
- package/dist/index.es.js.map +1 -1
- package/dist/modules/index.d.ts +0 -2
- package/dist/modules/model/reducer.d.ts +1 -0
- package/dist/modules/model/selectors.d.ts +1 -0
- package/dist/modules/roles/adapter.d.ts +1 -1
- package/dist/modules/tabs/selectors.d.ts +0 -1
- package/dist/modules/webforms/datasources.adapter.d.ts +0 -1
- package/dist/selectors/catalog.d.ts +0 -8
- package/dist/selectors/common.d.ts +0 -4
- package/dist/selectors/components.d.ts +0 -1
- package/dist/selectors/datasources.d.ts +0 -6
- package/dist/selectors/debugger.d.ts +0 -22
- package/dist/selectors/explorer.d.ts +0 -26
- package/dist/selectors/modals.d.ts +0 -1
- package/dist/selectors/roles.d.ts +0 -8
- package/dist/selectors/settings.d.ts +0 -12
- package/dist/selectors/states.d.ts +0 -5
- package/dist/selectors/styles.d.ts +0 -5
- package/dist/selectors/tabs.d.ts +0 -90
- package/dist/selectors/webforms.d.ts +0 -12
- package/dist/utils.d.ts +1 -1
- package/package.json +2 -2
- package/dist/modules/tasks/index.d.ts +0 -4
- package/dist/modules/tasks/reducer.d.ts +0 -14
- package/dist/modules/tasks/selectors.d.ts +0 -43
|
@@ -35,7 +35,6 @@ export declare const selectRolesAndPrivileges: ((state: import("redux").EmptyObj
|
|
|
35
35
|
modals: import("../modules").IModalsState;
|
|
36
36
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
37
37
|
model: import("../modules").IModelState;
|
|
38
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
39
38
|
}) => Partial<{
|
|
40
39
|
privileges: import("../modules").IPrivilege[];
|
|
41
40
|
roles: import("../modules").IRole[];
|
|
@@ -106,7 +105,6 @@ export declare const selectRoles: ((state: import("redux").EmptyObject & {
|
|
|
106
105
|
modals: import("../modules").IModalsState;
|
|
107
106
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
108
107
|
model: import("../modules").IModelState;
|
|
109
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
110
108
|
}) => import("../modules").TRolesDict) & import("reselect").OutputSelectorFields<(args_0: {
|
|
111
109
|
flags: {
|
|
112
110
|
touched?: boolean | undefined;
|
|
@@ -163,7 +161,6 @@ export declare const selectPrivileges: ((state: import("redux").EmptyObject & {
|
|
|
163
161
|
modals: import("../modules").IModalsState;
|
|
164
162
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
165
163
|
model: import("../modules").IModelState;
|
|
166
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
167
164
|
}) => import("../modules").TById) & import("reselect").OutputSelectorFields<(args_0: {
|
|
168
165
|
flags: {
|
|
169
166
|
touched?: boolean | undefined;
|
|
@@ -220,7 +217,6 @@ export declare const selectGuestPrivilege: ((state: import("redux").EmptyObject
|
|
|
220
217
|
modals: import("../modules").IModalsState;
|
|
221
218
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
222
219
|
model: import("../modules").IModelState;
|
|
223
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
224
220
|
}) => import("../modules").TSanitizedPrivilege | undefined) & import("reselect").OutputSelectorFields<(args_0: {
|
|
225
221
|
flags: {
|
|
226
222
|
touched?: boolean | undefined;
|
|
@@ -277,7 +273,6 @@ export declare const selectRolesFlags: ((state: import("redux").EmptyObject & {
|
|
|
277
273
|
modals: import("../modules").IModalsState;
|
|
278
274
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
279
275
|
model: import("../modules").IModelState;
|
|
280
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
281
276
|
}) => {
|
|
282
277
|
touched?: boolean | undefined;
|
|
283
278
|
removed?: boolean | undefined;
|
|
@@ -350,7 +345,6 @@ export declare const selectSelectedTab: ((state: import("redux").EmptyObject & {
|
|
|
350
345
|
modals: import("../modules").IModalsState;
|
|
351
346
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
352
347
|
model: import("../modules").IModelState;
|
|
353
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
354
348
|
}) => "roles" | "privileges") & import("reselect").OutputSelectorFields<(args_0: {
|
|
355
349
|
flags: {
|
|
356
350
|
touched?: boolean | undefined;
|
|
@@ -407,7 +401,6 @@ export declare const selectForceLogin: ((state: import("redux").EmptyObject & {
|
|
|
407
401
|
modals: import("../modules").IModalsState;
|
|
408
402
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
409
403
|
model: import("../modules").IModelState;
|
|
410
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
411
404
|
}) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: {
|
|
412
405
|
flags: {
|
|
413
406
|
touched?: boolean | undefined;
|
|
@@ -464,7 +457,6 @@ export declare const selectRolesDate: ((state: import("redux").EmptyObject & {
|
|
|
464
457
|
modals: import("../modules").IModalsState;
|
|
465
458
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
466
459
|
model: import("../modules").IModelState;
|
|
467
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
468
460
|
}) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: {
|
|
469
461
|
flags: {
|
|
470
462
|
touched?: boolean | undefined;
|
|
@@ -35,7 +35,6 @@ export declare const selectSessionSettings: ((state: import("redux").EmptyObject
|
|
|
35
35
|
modals: import("../modules").IModalsState;
|
|
36
36
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
37
37
|
model: import("../modules").IModelState;
|
|
38
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
39
38
|
}) => {
|
|
40
39
|
[key: string]: unknown;
|
|
41
40
|
}) & import("reselect").OutputSelectorFields<(args_0: import("../modules").ISettingsState) => {
|
|
@@ -81,7 +80,6 @@ export declare const selectPartialSessionSettings: <T extends string[]>(...keys:
|
|
|
81
80
|
modals: import("../modules").IModalsState;
|
|
82
81
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
83
82
|
model: import("../modules").IModelState;
|
|
84
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
85
83
|
}) => { [K in T[number]]: unknown; }) & import("reselect").OutputSelectorFields<(args_0: {
|
|
86
84
|
[key: string]: unknown;
|
|
87
85
|
}) => { [K in T[number]]: unknown; }, {
|
|
@@ -125,7 +123,6 @@ export declare const selectSessionSetting: <T = string>(key: string) => ((state:
|
|
|
125
123
|
modals: import("../modules").IModalsState;
|
|
126
124
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
127
125
|
model: import("../modules").IModelState;
|
|
128
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
129
126
|
}) => T) & import("reselect").OutputSelectorFields<(args_0: {
|
|
130
127
|
[key: string]: unknown;
|
|
131
128
|
}) => T, {
|
|
@@ -169,7 +166,6 @@ export declare const selectFeatureFlag: (key: string) => ((state: import("redux"
|
|
|
169
166
|
modals: import("../modules").IModalsState;
|
|
170
167
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
171
168
|
model: import("../modules").IModelState;
|
|
172
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
173
169
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: {
|
|
174
170
|
[key: string]: unknown;
|
|
175
171
|
}) => boolean, {
|
|
@@ -213,7 +209,6 @@ export declare const selectProjectSettings: ((state: import("redux").EmptyObject
|
|
|
213
209
|
modals: import("../modules").IModalsState;
|
|
214
210
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
215
211
|
model: import("../modules").IModelState;
|
|
216
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
217
212
|
}) => {
|
|
218
213
|
[key: string]: unknown;
|
|
219
214
|
}) & import("reselect").OutputSelectorFields<(args_0: import("../modules").ISettingsState) => {
|
|
@@ -259,7 +254,6 @@ export declare const selectPreferences: ((state: import("redux").EmptyObject & {
|
|
|
259
254
|
modals: import("../modules").IModalsState;
|
|
260
255
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
261
256
|
model: import("../modules").IModelState;
|
|
262
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
263
257
|
}) => import("../modules").ISettingsState) & import("reselect").OutputSelectorFields<(args_0: import("../modules").ISettingsState) => import("../modules").ISettingsState, {
|
|
264
258
|
clearCache: () => void;
|
|
265
259
|
}> & {
|
|
@@ -301,7 +295,6 @@ export declare const selectServerSettings: ((state: import("redux").EmptyObject
|
|
|
301
295
|
modals: import("../modules").IModalsState;
|
|
302
296
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
303
297
|
model: import("../modules").IModelState;
|
|
304
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
305
298
|
}) => import("@ws-ui/shared").IAppSettingsResponse) & import("reselect").OutputSelectorFields<(args_0: import("../modules").ISettingsState) => import("@ws-ui/shared").IAppSettingsResponse, {
|
|
306
299
|
clearCache: () => void;
|
|
307
300
|
}> & {
|
|
@@ -343,7 +336,6 @@ export declare const selectRemoteDebuggerMode: ((state: import("redux").EmptyObj
|
|
|
343
336
|
modals: import("../modules").IModalsState;
|
|
344
337
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
345
338
|
model: import("../modules").IModelState;
|
|
346
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
347
339
|
}) => import("@ws-ui/shared").RemoteDebuggerMode) & import("reselect").OutputSelectorFields<(args_0: import("@ws-ui/shared").IAppSettingsResponse) => import("@ws-ui/shared").RemoteDebuggerMode, {
|
|
348
340
|
clearCache: () => void;
|
|
349
341
|
}> & {
|
|
@@ -385,7 +377,6 @@ export declare const selectQodly: ((state: import("redux").EmptyObject & {
|
|
|
385
377
|
modals: import("../modules").IModalsState;
|
|
386
378
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
387
379
|
model: import("../modules").IModelState;
|
|
388
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
389
380
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("@ws-ui/shared").IAppSettingsResponse) => boolean, {
|
|
390
381
|
clearCache: () => void;
|
|
391
382
|
}> & {
|
|
@@ -427,7 +418,6 @@ export declare const selectMonacoZoom: ((state: import("redux").EmptyObject & {
|
|
|
427
418
|
modals: import("../modules").IModalsState;
|
|
428
419
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
429
420
|
model: import("../modules").IModelState;
|
|
430
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
431
421
|
}) => unknown) & import("reselect").OutputSelectorFields<(args_0: {
|
|
432
422
|
[key: string]: unknown;
|
|
433
423
|
}) => unknown, {
|
|
@@ -471,7 +461,6 @@ export declare const selectI18nSetting: ((state: import("redux").EmptyObject & {
|
|
|
471
461
|
modals: import("../modules").IModalsState;
|
|
472
462
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
473
463
|
model: import("../modules").IModelState;
|
|
474
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
475
464
|
}) => unknown) & import("reselect").OutputSelectorFields<(args_0: {
|
|
476
465
|
[key: string]: unknown;
|
|
477
466
|
}) => unknown, {
|
|
@@ -515,7 +504,6 @@ export declare const selectI18nCurrent: ((state: import("redux").EmptyObject & {
|
|
|
515
504
|
modals: import("../modules").IModalsState;
|
|
516
505
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
517
506
|
model: import("../modules").IModelState;
|
|
518
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
519
507
|
}) => unknown) & import("reselect").OutputSelectorFields<(args_0: {
|
|
520
508
|
[key: string]: unknown;
|
|
521
509
|
}) => unknown, {
|
|
@@ -47,7 +47,6 @@ export declare const selectWebformStatesByPath: (tabPath: string, exclude?: stri
|
|
|
47
47
|
modals: import('../modules').IModalsState;
|
|
48
48
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import('../modules').ISharedCSSState>;
|
|
49
49
|
model: import('../modules').IModelState;
|
|
50
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
51
50
|
}) => WebformState[]) & import("reselect").OutputSelectorFields<(args_0: import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").ITab<any, Partial<{
|
|
52
51
|
initialLineInfo: {
|
|
53
52
|
line: number;
|
|
@@ -110,7 +109,6 @@ export declare const selectWebformStatesLabelsByPath: (tabPath: string, exclude?
|
|
|
110
109
|
modals: import('../modules').IModalsState;
|
|
111
110
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import('../modules').ISharedCSSState>;
|
|
112
111
|
model: import('../modules').IModelState;
|
|
113
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
114
112
|
}) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebformState[]) => string[], {
|
|
115
113
|
clearCache: () => void;
|
|
116
114
|
}> & {
|
|
@@ -157,7 +155,6 @@ export declare const selectDefaultWebformStatesByPath: (tabPath: string) => ((st
|
|
|
157
155
|
modals: import('../modules').IModalsState;
|
|
158
156
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import('../modules').ISharedCSSState>;
|
|
159
157
|
model: import('../modules').IModelState;
|
|
160
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
161
158
|
}) => string[]) & import("reselect").OutputSelectorFields<(args_0: import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").ITab<any, Partial<{
|
|
162
159
|
initialLineInfo: {
|
|
163
160
|
line: number;
|
|
@@ -217,7 +214,6 @@ export declare const selectSavedConditions: ((state: import("redux").EmptyObject
|
|
|
217
214
|
modals: import('../modules').IModalsState;
|
|
218
215
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import('../modules').ISharedCSSState>;
|
|
219
216
|
model: import('../modules').IModelState;
|
|
220
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
221
217
|
}) => (import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").DataSourceCondition> | import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").PrivilegeCondition> | import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").CombinationCondition> | import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").CurrentStateCondition> | import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").ParentStateCondition> | import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").ReferenceCondition>)[]) & import("reselect").OutputSelectorFields<(args_0: import("redux").CombinedState<{
|
|
222
218
|
root: import("immer/dist/internal.js").WritableDraft<import('../modules').IRootState>;
|
|
223
219
|
explorer: import("immer/dist/internal.js").WritableDraft<import('../modules').ITreeItem>[];
|
|
@@ -254,7 +250,6 @@ export declare const selectSavedConditions: ((state: import("redux").EmptyObject
|
|
|
254
250
|
modals: import('../modules').IModalsState;
|
|
255
251
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import('../modules').ISharedCSSState>;
|
|
256
252
|
model: import('../modules').IModelState;
|
|
257
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
258
253
|
}>) => (import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").DataSourceCondition> | import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").PrivilegeCondition> | import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").CombinationCondition> | import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").CurrentStateCondition> | import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").ParentStateCondition> | import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").ReferenceCondition>)[], {
|
|
259
254
|
clearCache: () => void;
|
|
260
255
|
}> & {
|
|
@@ -38,7 +38,6 @@ export declare const selectWebformStylesByPath: (path: string) => ((state: impor
|
|
|
38
38
|
modals: import("../modules").IModalsState;
|
|
39
39
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
40
40
|
model: import("../modules").IModelState;
|
|
41
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
42
41
|
}) => IWebFormStyleClass[]) & import("reselect").OutputSelectorFields<(args_0: import("immer/dist/internal.js").WritableDraft<ITab<any, Partial<{
|
|
43
42
|
initialLineInfo: {
|
|
44
43
|
line: number;
|
|
@@ -95,7 +94,6 @@ export declare const selectStylesByPath: (path: string, scopes: EWebFormStyleCla
|
|
|
95
94
|
modals: import("../modules").IModalsState;
|
|
96
95
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
97
96
|
model: import("../modules").IModelState;
|
|
98
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
99
97
|
}) => IWebFormStyleClass[]) & import("reselect").OutputSelectorFields<(args_0: IWebFormStyleClass[]) => IWebFormStyleClass[], {
|
|
100
98
|
clearCache: () => void;
|
|
101
99
|
}> & {
|
|
@@ -137,7 +135,6 @@ export declare const selectCSSClassesByPath: (path: string) => ((state: import("
|
|
|
137
135
|
modals: import("../modules").IModalsState;
|
|
138
136
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
139
137
|
model: import("../modules").IModelState;
|
|
140
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
141
138
|
}) => IWebFormStyleClass[]) & import("reselect").OutputSelectorFields<(args_0: IWebFormStyleClass[]) => IWebFormStyleClass[], {
|
|
142
139
|
clearCache: () => void;
|
|
143
140
|
}> & {
|
|
@@ -179,7 +176,6 @@ export declare const selectSharedCSS: ((state: import("redux").EmptyObject & {
|
|
|
179
176
|
modals: import("../modules").IModalsState;
|
|
180
177
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
181
178
|
model: import("../modules").IModelState;
|
|
182
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
183
179
|
}) => {
|
|
184
180
|
scope: EWebFormStyleClassScope;
|
|
185
181
|
id: string;
|
|
@@ -226,7 +222,6 @@ export declare const selectSharedCSS: ((state: import("redux").EmptyObject & {
|
|
|
226
222
|
modals: import("../modules").IModalsState;
|
|
227
223
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
228
224
|
model: import("../modules").IModelState;
|
|
229
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
230
225
|
}>) => {
|
|
231
226
|
scope: EWebFormStyleClassScope;
|
|
232
227
|
id: string;
|
package/dist/selectors/tabs.d.ts
CHANGED
|
@@ -35,7 +35,6 @@ export declare const selectFlagsByPath: (path: string) => ((state: import("redux
|
|
|
35
35
|
modals: import("..").IModalsState;
|
|
36
36
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("..").ISharedCSSState>;
|
|
37
37
|
model: import("..").IModelState;
|
|
38
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
39
38
|
}) => import("immer/dist/internal.js").WritableDraft<Partial<{
|
|
40
39
|
touched: boolean;
|
|
41
40
|
removed: boolean;
|
|
@@ -108,7 +107,6 @@ export declare const selectHistoryByPath: (path: string) => ((state: import("red
|
|
|
108
107
|
modals: import("..").IModalsState;
|
|
109
108
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("..").ISharedCSSState>;
|
|
110
109
|
model: import("..").IModelState;
|
|
111
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
112
110
|
}) => import("immer/dist/internal.js").WritableDraft<{
|
|
113
111
|
stack: any[];
|
|
114
112
|
active: number;
|
|
@@ -173,7 +171,6 @@ export declare const selectActiveTabHistoryActions: ((state: import("redux").Emp
|
|
|
173
171
|
modals: import("..").IModalsState;
|
|
174
172
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("..").ISharedCSSState>;
|
|
175
173
|
model: import("..").IModelState;
|
|
176
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
177
174
|
}) => {
|
|
178
175
|
canUndo: boolean;
|
|
179
176
|
canRedo: boolean;
|
|
@@ -200,90 +197,3 @@ export declare const selectActiveTabHistoryActions: ((state: import("redux").Emp
|
|
|
200
197
|
}> & {
|
|
201
198
|
clearCache: () => void;
|
|
202
199
|
};
|
|
203
|
-
export declare const selectAllTabsByType: (type: string) => ((state: import("redux").EmptyObject & {
|
|
204
|
-
root: import("immer/dist/internal.js").WritableDraft<import("..").IRootState>;
|
|
205
|
-
explorer: import("immer/dist/internal.js").WritableDraft<import("..").ITreeItem>[];
|
|
206
|
-
debugger: import("..").IDebuggerState;
|
|
207
|
-
settings: import("..").ISettingsState;
|
|
208
|
-
catalog: {
|
|
209
|
-
state: "loading";
|
|
210
|
-
} | {
|
|
211
|
-
state: "loaded";
|
|
212
|
-
model: datasources.IEnhancedCatalog;
|
|
213
|
-
} | {
|
|
214
|
-
state: "error";
|
|
215
|
-
error: string;
|
|
216
|
-
};
|
|
217
|
-
roles: {
|
|
218
|
-
flags: {
|
|
219
|
-
touched?: boolean | undefined;
|
|
220
|
-
removed?: boolean | undefined;
|
|
221
|
-
pinned?: boolean | undefined;
|
|
222
|
-
loading?: boolean | undefined;
|
|
223
|
-
old?: boolean | undefined;
|
|
224
|
-
enabled?: boolean | undefined;
|
|
225
|
-
confirmed?: boolean | undefined;
|
|
226
|
-
};
|
|
227
|
-
date?: string | undefined;
|
|
228
|
-
privileges: import("..").TById;
|
|
229
|
-
roles: import("..").TRolesDict;
|
|
230
|
-
forceLogin?: boolean | undefined;
|
|
231
|
-
selectedTab: "roles" | "privileges";
|
|
232
|
-
};
|
|
233
|
-
sharedDatasources: import("..").ISharedDatasourcesState;
|
|
234
|
-
savedConditions: import("immer/dist/internal.js").WritableDraft<import("..").ISavedConditionsState>;
|
|
235
|
-
webforms: import("..").IWebformEditorState;
|
|
236
|
-
modals: import("..").IModalsState;
|
|
237
|
-
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("..").ISharedCSSState>;
|
|
238
|
-
model: import("..").IModelState;
|
|
239
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
240
|
-
}) => import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").ITab<any, Partial<{
|
|
241
|
-
initialLineInfo: {
|
|
242
|
-
line: number;
|
|
243
|
-
offset?: number | undefined;
|
|
244
|
-
lastModification: number;
|
|
245
|
-
};
|
|
246
|
-
initialSelectionInfo: {
|
|
247
|
-
selection: import("@ws-ui/shared").ITextEditorSelection;
|
|
248
|
-
lastModification: number;
|
|
249
|
-
};
|
|
250
|
-
diffContent: string;
|
|
251
|
-
attributes: import("@ws-ui/shared").IMethodAttributes;
|
|
252
|
-
source: import("@ws-ui/shared").ISource;
|
|
253
|
-
editor: import("@ws-ui/shared").IEditor;
|
|
254
|
-
ext: import("@ws-ui/shared").DebuggerFileExtension;
|
|
255
|
-
}>>>[]) & import("reselect").OutputSelectorFields<(args_0: import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").ITab<any, Partial<{
|
|
256
|
-
initialLineInfo: {
|
|
257
|
-
line: number;
|
|
258
|
-
offset?: number | undefined;
|
|
259
|
-
lastModification: number;
|
|
260
|
-
};
|
|
261
|
-
initialSelectionInfo: {
|
|
262
|
-
selection: import("@ws-ui/shared").ITextEditorSelection;
|
|
263
|
-
lastModification: number;
|
|
264
|
-
};
|
|
265
|
-
diffContent: string;
|
|
266
|
-
attributes: import("@ws-ui/shared").IMethodAttributes;
|
|
267
|
-
source: import("@ws-ui/shared").ISource;
|
|
268
|
-
editor: import("@ws-ui/shared").IEditor;
|
|
269
|
-
ext: import("@ws-ui/shared").DebuggerFileExtension;
|
|
270
|
-
}>>>[]) => import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").ITab<any, Partial<{
|
|
271
|
-
initialLineInfo: {
|
|
272
|
-
line: number;
|
|
273
|
-
offset?: number | undefined;
|
|
274
|
-
lastModification: number;
|
|
275
|
-
};
|
|
276
|
-
initialSelectionInfo: {
|
|
277
|
-
selection: import("@ws-ui/shared").ITextEditorSelection;
|
|
278
|
-
lastModification: number;
|
|
279
|
-
};
|
|
280
|
-
diffContent: string;
|
|
281
|
-
attributes: import("@ws-ui/shared").IMethodAttributes;
|
|
282
|
-
source: import("@ws-ui/shared").ISource;
|
|
283
|
-
editor: import("@ws-ui/shared").IEditor;
|
|
284
|
-
ext: import("@ws-ui/shared").DebuggerFileExtension;
|
|
285
|
-
}>>>[], {
|
|
286
|
-
clearCache: () => void;
|
|
287
|
-
}> & {
|
|
288
|
-
clearCache: () => void;
|
|
289
|
-
};
|
|
@@ -37,7 +37,6 @@ export declare const selectWebforms: ((state: import("redux").EmptyObject & {
|
|
|
37
37
|
modals: import("../modules").IModalsState;
|
|
38
38
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
39
39
|
model: import("../modules").IModelState;
|
|
40
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
41
40
|
}) => import("../modules").IWebformEditorState) & import("reselect").OutputSelectorFields<(args_0: import("../modules").IWebformEditorState) => import("../modules").IWebformEditorState, {
|
|
42
41
|
clearCache: () => void;
|
|
43
42
|
}> & {
|
|
@@ -79,7 +78,6 @@ export declare const selectComponents: ((state: import("redux").EmptyObject & {
|
|
|
79
78
|
modals: import("../modules").IModalsState;
|
|
80
79
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
81
80
|
model: import("../modules").IModelState;
|
|
82
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
83
81
|
}) => import("@ws-ui/shared").IComponentTemplate[]) & import("reselect").OutputSelectorFields<(args_0: import("../modules").IWebformEditorState) => import("@ws-ui/shared").IComponentTemplate[], {
|
|
84
82
|
clearCache: () => void;
|
|
85
83
|
}> & {
|
|
@@ -121,7 +119,6 @@ export declare const selectInspector: ((state: import("redux").EmptyObject & {
|
|
|
121
119
|
modals: import("../modules").IModalsState;
|
|
122
120
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
123
121
|
model: import("../modules").IModelState;
|
|
124
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
125
122
|
}) => import("../modules").IInspectorState) & import("reselect").OutputSelectorFields<(args_0: import("../modules").IWebformEditorState) => import("../modules").IInspectorState, {
|
|
126
123
|
clearCache: () => void;
|
|
127
124
|
}> & {
|
|
@@ -163,7 +160,6 @@ export declare const selectInspectedCSSClass: ((state: import("redux").EmptyObje
|
|
|
163
160
|
modals: import("../modules").IModalsState;
|
|
164
161
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
165
162
|
model: import("../modules").IModelState;
|
|
166
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
167
163
|
}) => import("../modules").IInspector<string>) & import("reselect").OutputSelectorFields<(args_0: import("../modules").IInspectorState) => import("../modules").IInspector<string>, {
|
|
168
164
|
clearCache: () => void;
|
|
169
165
|
}> & {
|
|
@@ -205,7 +201,6 @@ export declare const selectInspectedDatasource: ((state: import("redux").EmptyOb
|
|
|
205
201
|
modals: import("../modules").IModalsState;
|
|
206
202
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
207
203
|
model: import("../modules").IModelState;
|
|
208
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
209
204
|
}) => import("../modules").IInspector<import("../modules").IDatasourcedata>) & import("reselect").OutputSelectorFields<(args_0: import("../modules").IInspectorState) => import("../modules").IInspector<import("../modules").IDatasourcedata>, {
|
|
210
205
|
clearCache: () => void;
|
|
211
206
|
}> & {
|
|
@@ -247,7 +242,6 @@ export declare const selectTemplates: ((state: import("redux").EmptyObject & {
|
|
|
247
242
|
modals: import("../modules").IModalsState;
|
|
248
243
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
249
244
|
model: import("../modules").IModelState;
|
|
250
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
251
245
|
}) => import("../modules").ITemplatedComponent) & import("reselect").OutputSelectorFields<(args_0: import("../modules").IWebformEditorState) => import("../modules").ITemplatedComponent, {
|
|
252
246
|
clearCache: () => void;
|
|
253
247
|
}> & {
|
|
@@ -289,7 +283,6 @@ export declare const selectTemplatesData: ((state: import("redux").EmptyObject &
|
|
|
289
283
|
modals: import("../modules").IModalsState;
|
|
290
284
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
291
285
|
model: import("../modules").IModelState;
|
|
292
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
293
286
|
}) => import("../modules").ITemplatedGroup[]) & import("reselect").OutputSelectorFields<(args_0: import("../modules").ITemplatedComponent) => import("../modules").ITemplatedGroup[], {
|
|
294
287
|
clearCache: () => void;
|
|
295
288
|
}> & {
|
|
@@ -331,7 +324,6 @@ export declare const selectCraftedComponent: (id: string) => ((state: import("re
|
|
|
331
324
|
modals: import("../modules").IModalsState;
|
|
332
325
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
333
326
|
model: import("../modules").IModelState;
|
|
334
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
335
327
|
}) => import("@ws-ui/shared").IComponentTemplate | undefined) & import("reselect").OutputSelectorFields<(args_0: import("@ws-ui/shared").IComponentTemplate[]) => import("@ws-ui/shared").IComponentTemplate | undefined, {
|
|
336
328
|
clearCache: () => void;
|
|
337
329
|
}> & {
|
|
@@ -373,7 +365,6 @@ export declare const selectInspectorStateByType: (type: TInspectorType) => ((sta
|
|
|
373
365
|
modals: import("../modules").IModalsState;
|
|
374
366
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
375
367
|
model: import("../modules").IModelState;
|
|
376
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
377
368
|
}) => 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>, {
|
|
378
369
|
clearCache: () => void;
|
|
379
370
|
}> & {
|
|
@@ -415,7 +406,6 @@ export declare const selectDatasourcesTheme: ((state: import("redux").EmptyObjec
|
|
|
415
406
|
modals: import("../modules").IModalsState;
|
|
416
407
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
417
408
|
model: import("../modules").IModelState;
|
|
418
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
419
409
|
}) => string | number) & import("reselect").OutputSelectorFields<(args_0: import("../modules").IWebformEditorState) => string | number, {
|
|
420
410
|
clearCache: () => void;
|
|
421
411
|
}> & {
|
|
@@ -457,7 +447,6 @@ export declare const selectClipBoard: ((state: import("redux").EmptyObject & {
|
|
|
457
447
|
modals: import("../modules").IModalsState;
|
|
458
448
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
459
449
|
model: import("../modules").IModelState;
|
|
460
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
461
450
|
}) => import("immer/dist/internal.js").WritableDraft<{
|
|
462
451
|
payload: webforms.WEvent;
|
|
463
452
|
type: "event";
|
|
@@ -505,7 +494,6 @@ export declare const selectIsLoaded: ((state: import("redux").EmptyObject & {
|
|
|
505
494
|
modals: import("../modules").IModalsState;
|
|
506
495
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
507
496
|
model: import("../modules").IModelState;
|
|
508
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
509
497
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: {
|
|
510
498
|
state: "loading";
|
|
511
499
|
} | {
|
package/dist/utils.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { IRootState } from './modules/root/types';
|
|
|
4
4
|
import { ModelNode, ServerModel } from './modules/model/types';
|
|
5
5
|
export declare const CATALOG_REFRESH_DELAY = 2000;
|
|
6
6
|
export declare const DEFAULT_CACHE: TCachedState;
|
|
7
|
-
export type TCachedState = Pick<IRootState, 'tabs' | 'activeTab' | 'recent'> & Pick<AppState, 'roles' | 'debugger' | 'webforms' | 'sharedCSS'
|
|
7
|
+
export type TCachedState = Pick<IRootState, 'tabs' | 'activeTab' | 'recent'> & Pick<AppState, 'roles' | 'debugger' | 'webforms' | 'sharedCSS'>;
|
|
8
8
|
export declare function saveState(state: TCachedState): void;
|
|
9
9
|
export declare function savePrefrences(state: {
|
|
10
10
|
[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": "0.2.11
|
|
4
|
+
"version": "0.2.11",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@ws-ui/icons": "^0.0.22",
|
|
32
|
-
"@ws-ui/shared": "^0.2.
|
|
32
|
+
"@ws-ui/shared": "^0.2.11",
|
|
33
33
|
"lodash": "^4.17.21",
|
|
34
34
|
"minimatch": "^5.1.0",
|
|
35
35
|
"react": "^17.0.2",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PayloadAction } from "@reduxjs/toolkit";
|
|
2
|
-
import { ISingleTask } from '@ws-ui/shared';
|
|
3
|
-
type TTasksState = ISingleTask[];
|
|
4
|
-
declare const tasksSlice: import("@reduxjs/toolkit").Slice<TTasksState, {
|
|
5
|
-
addTask(state: TTasksState, action: PayloadAction<{
|
|
6
|
-
task: ISingleTask;
|
|
7
|
-
}>): void;
|
|
8
|
-
updateTask(state: TTasksState, action: PayloadAction<ISingleTask>): ISingleTask[];
|
|
9
|
-
clearAllTasks(state: TTasksState): TTasksState;
|
|
10
|
-
}, "Tasks">;
|
|
11
|
-
export declare const addTask: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
12
|
-
task: ISingleTask;
|
|
13
|
-
}, string>, updateTask: import("@reduxjs/toolkit").ActionCreatorWithPayload<ISingleTask, string>, clearAllTasks: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
14
|
-
export default tasksSlice;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/// <reference types="@ws-ui/shared/dist/declarations/datasources/datasource" />
|
|
2
|
-
export declare const selectAllTasks: ((state: import("redux").EmptyObject & {
|
|
3
|
-
root: import("immer/dist/internal.js").WritableDraft<import("..").IRootState>;
|
|
4
|
-
explorer: import("immer/dist/internal.js").WritableDraft<import("..").ITreeItem>[];
|
|
5
|
-
debugger: import("..").IDebuggerState;
|
|
6
|
-
settings: import("..").ISettingsState;
|
|
7
|
-
catalog: {
|
|
8
|
-
state: "loading";
|
|
9
|
-
} | {
|
|
10
|
-
state: "loaded";
|
|
11
|
-
model: datasources.IEnhancedCatalog;
|
|
12
|
-
} | {
|
|
13
|
-
state: "error";
|
|
14
|
-
error: string;
|
|
15
|
-
};
|
|
16
|
-
roles: {
|
|
17
|
-
flags: {
|
|
18
|
-
touched?: boolean | undefined;
|
|
19
|
-
removed?: boolean | undefined;
|
|
20
|
-
pinned?: boolean | undefined;
|
|
21
|
-
loading?: boolean | undefined;
|
|
22
|
-
old?: boolean | undefined;
|
|
23
|
-
enabled?: boolean | undefined;
|
|
24
|
-
confirmed?: boolean | undefined;
|
|
25
|
-
};
|
|
26
|
-
date?: string | undefined;
|
|
27
|
-
privileges: import("..").TById;
|
|
28
|
-
roles: import("..").TRolesDict;
|
|
29
|
-
forceLogin?: boolean | undefined;
|
|
30
|
-
selectedTab: "roles" | "privileges";
|
|
31
|
-
};
|
|
32
|
-
sharedDatasources: import("..").ISharedDatasourcesState;
|
|
33
|
-
savedConditions: import("immer/dist/internal.js").WritableDraft<import("..").ISavedConditionsState>;
|
|
34
|
-
webforms: import("..").IWebformEditorState;
|
|
35
|
-
modals: import("..").IModalsState;
|
|
36
|
-
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("..").ISharedCSSState>;
|
|
37
|
-
model: import("..").IModelState;
|
|
38
|
-
tasks: import("@ws-ui/shared").ISingleTask[];
|
|
39
|
-
}) => import("@ws-ui/shared").ISingleTask[]) & import("reselect").OutputSelectorFields<(args_0: import("@ws-ui/shared").ISingleTask[]) => import("@ws-ui/shared").ISingleTask[], {
|
|
40
|
-
clearCache: () => void;
|
|
41
|
-
}> & {
|
|
42
|
-
clearCache: () => void;
|
|
43
|
-
};
|