@ws-ui/store 0.2.0-beta.20240726.0 → 0.2.0-beta.20240726.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 +2 -0
- package/dist/index.cjs.js +18 -18
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +608 -582
- package/dist/index.es.js.map +1 -1
- package/dist/modules/index.d.ts +1 -0
- package/dist/modules/roles/index.d.ts +1 -0
- package/dist/modules/roles/reducer.d.ts +10 -1
- package/dist/modules/roles/types.d.ts +2 -0
- package/dist/modules/tabs/selectors.d.ts +1 -0
- package/dist/modules/webforms/datasources.adapter.d.ts +1 -0
- 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 +6 -0
- package/dist/selectors/debugger.d.ts +22 -0
- package/dist/selectors/explorer.d.ts +26 -0
- package/dist/selectors/modals.d.ts +1 -0
- package/dist/selectors/roles.d.ts +74 -0
- package/dist/selectors/settings.d.ts +12 -0
- package/dist/selectors/states.d.ts +5 -0
- package/dist/selectors/styles.d.ts +5 -0
- package/dist/selectors/tabs.d.ts +3 -0
- package/dist/selectors/webforms.d.ts +12 -0
- package/package.json +2 -2
|
@@ -27,6 +27,7 @@ export declare const selectRolesAndPrivileges: ((state: import("redux").EmptyObj
|
|
|
27
27
|
privileges: import("../modules").TById;
|
|
28
28
|
roles: import("../modules").TRolesDict;
|
|
29
29
|
forceLogin?: boolean | undefined;
|
|
30
|
+
allowedOnGet?: string[] | undefined;
|
|
30
31
|
selectedTab: "roles" | "privileges";
|
|
31
32
|
};
|
|
32
33
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -56,6 +57,7 @@ export declare const selectRolesAndPrivileges: ((state: import("redux").EmptyObj
|
|
|
56
57
|
privileges: import("../modules").TById;
|
|
57
58
|
roles: import("../modules").TRolesDict;
|
|
58
59
|
forceLogin?: boolean | undefined;
|
|
60
|
+
allowedOnGet?: string[] | undefined;
|
|
59
61
|
selectedTab: "roles" | "privileges";
|
|
60
62
|
}) => Partial<{
|
|
61
63
|
privileges: import("../modules").IPrivilege[];
|
|
@@ -97,6 +99,7 @@ export declare const selectRoles: ((state: import("redux").EmptyObject & {
|
|
|
97
99
|
privileges: import("../modules").TById;
|
|
98
100
|
roles: import("../modules").TRolesDict;
|
|
99
101
|
forceLogin?: boolean | undefined;
|
|
102
|
+
allowedOnGet?: string[] | undefined;
|
|
100
103
|
selectedTab: "roles" | "privileges";
|
|
101
104
|
};
|
|
102
105
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -119,6 +122,7 @@ export declare const selectRoles: ((state: import("redux").EmptyObject & {
|
|
|
119
122
|
privileges: import("../modules").TById;
|
|
120
123
|
roles: import("../modules").TRolesDict;
|
|
121
124
|
forceLogin?: boolean | undefined;
|
|
125
|
+
allowedOnGet?: string[] | undefined;
|
|
122
126
|
selectedTab: "roles" | "privileges";
|
|
123
127
|
}) => import("../modules").TRolesDict, {
|
|
124
128
|
clearCache: () => void;
|
|
@@ -153,6 +157,7 @@ export declare const selectPrivileges: ((state: import("redux").EmptyObject & {
|
|
|
153
157
|
privileges: import("../modules").TById;
|
|
154
158
|
roles: import("../modules").TRolesDict;
|
|
155
159
|
forceLogin?: boolean | undefined;
|
|
160
|
+
allowedOnGet?: string[] | undefined;
|
|
156
161
|
selectedTab: "roles" | "privileges";
|
|
157
162
|
};
|
|
158
163
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -175,6 +180,7 @@ export declare const selectPrivileges: ((state: import("redux").EmptyObject & {
|
|
|
175
180
|
privileges: import("../modules").TById;
|
|
176
181
|
roles: import("../modules").TRolesDict;
|
|
177
182
|
forceLogin?: boolean | undefined;
|
|
183
|
+
allowedOnGet?: string[] | undefined;
|
|
178
184
|
selectedTab: "roles" | "privileges";
|
|
179
185
|
}) => import("../modules").TById, {
|
|
180
186
|
clearCache: () => void;
|
|
@@ -209,6 +215,7 @@ export declare const selectGuestPrivilege: ((state: import("redux").EmptyObject
|
|
|
209
215
|
privileges: import("../modules").TById;
|
|
210
216
|
roles: import("../modules").TRolesDict;
|
|
211
217
|
forceLogin?: boolean | undefined;
|
|
218
|
+
allowedOnGet?: string[] | undefined;
|
|
212
219
|
selectedTab: "roles" | "privileges";
|
|
213
220
|
};
|
|
214
221
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -231,6 +238,7 @@ export declare const selectGuestPrivilege: ((state: import("redux").EmptyObject
|
|
|
231
238
|
privileges: import("../modules").TById;
|
|
232
239
|
roles: import("../modules").TRolesDict;
|
|
233
240
|
forceLogin?: boolean | undefined;
|
|
241
|
+
allowedOnGet?: string[] | undefined;
|
|
234
242
|
selectedTab: "roles" | "privileges";
|
|
235
243
|
}) => import("../modules").TSanitizedPrivilege | undefined, {
|
|
236
244
|
clearCache: () => void;
|
|
@@ -265,6 +273,7 @@ export declare const selectRolesFlags: ((state: import("redux").EmptyObject & {
|
|
|
265
273
|
privileges: import("../modules").TById;
|
|
266
274
|
roles: import("../modules").TRolesDict;
|
|
267
275
|
forceLogin?: boolean | undefined;
|
|
276
|
+
allowedOnGet?: string[] | undefined;
|
|
268
277
|
selectedTab: "roles" | "privileges";
|
|
269
278
|
};
|
|
270
279
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -295,6 +304,7 @@ export declare const selectRolesFlags: ((state: import("redux").EmptyObject & {
|
|
|
295
304
|
privileges: import("../modules").TById;
|
|
296
305
|
roles: import("../modules").TRolesDict;
|
|
297
306
|
forceLogin?: boolean | undefined;
|
|
307
|
+
allowedOnGet?: string[] | undefined;
|
|
298
308
|
selectedTab: "roles" | "privileges";
|
|
299
309
|
}) => {
|
|
300
310
|
touched?: boolean | undefined;
|
|
@@ -337,6 +347,7 @@ export declare const selectSelectedTab: ((state: import("redux").EmptyObject & {
|
|
|
337
347
|
privileges: import("../modules").TById;
|
|
338
348
|
roles: import("../modules").TRolesDict;
|
|
339
349
|
forceLogin?: boolean | undefined;
|
|
350
|
+
allowedOnGet?: string[] | undefined;
|
|
340
351
|
selectedTab: "roles" | "privileges";
|
|
341
352
|
};
|
|
342
353
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -359,6 +370,7 @@ export declare const selectSelectedTab: ((state: import("redux").EmptyObject & {
|
|
|
359
370
|
privileges: import("../modules").TById;
|
|
360
371
|
roles: import("../modules").TRolesDict;
|
|
361
372
|
forceLogin?: boolean | undefined;
|
|
373
|
+
allowedOnGet?: string[] | undefined;
|
|
362
374
|
selectedTab: "roles" | "privileges";
|
|
363
375
|
}) => "roles" | "privileges", {
|
|
364
376
|
clearCache: () => void;
|
|
@@ -393,6 +405,7 @@ export declare const selectForceLogin: ((state: import("redux").EmptyObject & {
|
|
|
393
405
|
privileges: import("../modules").TById;
|
|
394
406
|
roles: import("../modules").TRolesDict;
|
|
395
407
|
forceLogin?: boolean | undefined;
|
|
408
|
+
allowedOnGet?: string[] | undefined;
|
|
396
409
|
selectedTab: "roles" | "privileges";
|
|
397
410
|
};
|
|
398
411
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -415,12 +428,71 @@ export declare const selectForceLogin: ((state: import("redux").EmptyObject & {
|
|
|
415
428
|
privileges: import("../modules").TById;
|
|
416
429
|
roles: import("../modules").TRolesDict;
|
|
417
430
|
forceLogin?: boolean | undefined;
|
|
431
|
+
allowedOnGet?: string[] | undefined;
|
|
418
432
|
selectedTab: "roles" | "privileges";
|
|
419
433
|
}) => boolean | undefined, {
|
|
420
434
|
clearCache: () => void;
|
|
421
435
|
}> & {
|
|
422
436
|
clearCache: () => void;
|
|
423
437
|
};
|
|
438
|
+
export declare const selectAllowedOnGet: ((state: import("redux").EmptyObject & {
|
|
439
|
+
root: import("immer/dist/internal.js").WritableDraft<import("../modules").IRootState>;
|
|
440
|
+
explorer: import("immer/dist/internal.js").WritableDraft<import("../modules").ITreeItem>[];
|
|
441
|
+
debugger: import("../modules").IDebuggerState;
|
|
442
|
+
settings: import("../modules").ISettingsState;
|
|
443
|
+
catalog: {
|
|
444
|
+
state: "loading";
|
|
445
|
+
} | {
|
|
446
|
+
state: "loaded";
|
|
447
|
+
model: datasources.IEnhancedCatalog;
|
|
448
|
+
} | {
|
|
449
|
+
state: "error";
|
|
450
|
+
error: string;
|
|
451
|
+
};
|
|
452
|
+
roles: {
|
|
453
|
+
flags: {
|
|
454
|
+
touched?: boolean | undefined;
|
|
455
|
+
removed?: boolean | undefined;
|
|
456
|
+
pinned?: boolean | undefined;
|
|
457
|
+
loading?: boolean | undefined;
|
|
458
|
+
old?: boolean | undefined;
|
|
459
|
+
enabled?: boolean | undefined;
|
|
460
|
+
confirmed?: boolean | undefined;
|
|
461
|
+
};
|
|
462
|
+
date?: string | undefined;
|
|
463
|
+
privileges: import("../modules").TById;
|
|
464
|
+
roles: import("../modules").TRolesDict;
|
|
465
|
+
forceLogin?: boolean | undefined;
|
|
466
|
+
allowedOnGet?: string[] | undefined;
|
|
467
|
+
selectedTab: "roles" | "privileges";
|
|
468
|
+
};
|
|
469
|
+
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
470
|
+
savedConditions: import("immer/dist/internal.js").WritableDraft<import("../modules").ISavedConditionsState>;
|
|
471
|
+
webforms: import("../modules").IWebformEditorState;
|
|
472
|
+
modals: import("../modules").IModalsState;
|
|
473
|
+
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
474
|
+
model: import("../modules").IModelState;
|
|
475
|
+
}) => string[] | undefined) & import("reselect").OutputSelectorFields<(args_0: {
|
|
476
|
+
flags: {
|
|
477
|
+
touched?: boolean | undefined;
|
|
478
|
+
removed?: boolean | undefined;
|
|
479
|
+
pinned?: boolean | undefined;
|
|
480
|
+
loading?: boolean | undefined;
|
|
481
|
+
old?: boolean | undefined;
|
|
482
|
+
enabled?: boolean | undefined;
|
|
483
|
+
confirmed?: boolean | undefined;
|
|
484
|
+
};
|
|
485
|
+
date?: string | undefined;
|
|
486
|
+
privileges: import("../modules").TById;
|
|
487
|
+
roles: import("../modules").TRolesDict;
|
|
488
|
+
forceLogin?: boolean | undefined;
|
|
489
|
+
allowedOnGet?: string[] | undefined;
|
|
490
|
+
selectedTab: "roles" | "privileges";
|
|
491
|
+
}) => string[] | undefined, {
|
|
492
|
+
clearCache: () => void;
|
|
493
|
+
}> & {
|
|
494
|
+
clearCache: () => void;
|
|
495
|
+
};
|
|
424
496
|
export declare const selectRolesDate: ((state: import("redux").EmptyObject & {
|
|
425
497
|
root: import("immer/dist/internal.js").WritableDraft<import("../modules").IRootState>;
|
|
426
498
|
explorer: import("immer/dist/internal.js").WritableDraft<import("../modules").ITreeItem>[];
|
|
@@ -449,6 +521,7 @@ export declare const selectRolesDate: ((state: import("redux").EmptyObject & {
|
|
|
449
521
|
privileges: import("../modules").TById;
|
|
450
522
|
roles: import("../modules").TRolesDict;
|
|
451
523
|
forceLogin?: boolean | undefined;
|
|
524
|
+
allowedOnGet?: string[] | undefined;
|
|
452
525
|
selectedTab: "roles" | "privileges";
|
|
453
526
|
};
|
|
454
527
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -471,6 +544,7 @@ export declare const selectRolesDate: ((state: import("redux").EmptyObject & {
|
|
|
471
544
|
privileges: import("../modules").TById;
|
|
472
545
|
roles: import("../modules").TRolesDict;
|
|
473
546
|
forceLogin?: boolean | undefined;
|
|
547
|
+
allowedOnGet?: string[] | undefined;
|
|
474
548
|
selectedTab: "roles" | "privileges";
|
|
475
549
|
}) => string | undefined, {
|
|
476
550
|
clearCache: () => void;
|
|
@@ -27,6 +27,7 @@ export declare const selectSessionSettings: ((state: import("redux").EmptyObject
|
|
|
27
27
|
privileges: import("../modules").TById;
|
|
28
28
|
roles: import("../modules").TRolesDict;
|
|
29
29
|
forceLogin?: boolean | undefined;
|
|
30
|
+
allowedOnGet?: string[] | undefined;
|
|
30
31
|
selectedTab: "roles" | "privileges";
|
|
31
32
|
};
|
|
32
33
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -72,6 +73,7 @@ export declare const selectPartialSessionSettings: <T extends string[]>(...keys:
|
|
|
72
73
|
privileges: import("../modules").TById;
|
|
73
74
|
roles: import("../modules").TRolesDict;
|
|
74
75
|
forceLogin?: boolean | undefined;
|
|
76
|
+
allowedOnGet?: string[] | undefined;
|
|
75
77
|
selectedTab: "roles" | "privileges";
|
|
76
78
|
};
|
|
77
79
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -115,6 +117,7 @@ export declare const selectSessionSetting: <T = string>(key: string) => ((state:
|
|
|
115
117
|
privileges: import("../modules").TById;
|
|
116
118
|
roles: import("../modules").TRolesDict;
|
|
117
119
|
forceLogin?: boolean | undefined;
|
|
120
|
+
allowedOnGet?: string[] | undefined;
|
|
118
121
|
selectedTab: "roles" | "privileges";
|
|
119
122
|
};
|
|
120
123
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -158,6 +161,7 @@ export declare const selectFeatureFlag: (key: string) => ((state: import("redux"
|
|
|
158
161
|
privileges: import("../modules").TById;
|
|
159
162
|
roles: import("../modules").TRolesDict;
|
|
160
163
|
forceLogin?: boolean | undefined;
|
|
164
|
+
allowedOnGet?: string[] | undefined;
|
|
161
165
|
selectedTab: "roles" | "privileges";
|
|
162
166
|
};
|
|
163
167
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -201,6 +205,7 @@ export declare const selectProjectSettings: ((state: import("redux").EmptyObject
|
|
|
201
205
|
privileges: import("../modules").TById;
|
|
202
206
|
roles: import("../modules").TRolesDict;
|
|
203
207
|
forceLogin?: boolean | undefined;
|
|
208
|
+
allowedOnGet?: string[] | undefined;
|
|
204
209
|
selectedTab: "roles" | "privileges";
|
|
205
210
|
};
|
|
206
211
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -246,6 +251,7 @@ export declare const selectPreferences: ((state: import("redux").EmptyObject & {
|
|
|
246
251
|
privileges: import("../modules").TById;
|
|
247
252
|
roles: import("../modules").TRolesDict;
|
|
248
253
|
forceLogin?: boolean | undefined;
|
|
254
|
+
allowedOnGet?: string[] | undefined;
|
|
249
255
|
selectedTab: "roles" | "privileges";
|
|
250
256
|
};
|
|
251
257
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -287,6 +293,7 @@ export declare const selectServerSettings: ((state: import("redux").EmptyObject
|
|
|
287
293
|
privileges: import("../modules").TById;
|
|
288
294
|
roles: import("../modules").TRolesDict;
|
|
289
295
|
forceLogin?: boolean | undefined;
|
|
296
|
+
allowedOnGet?: string[] | undefined;
|
|
290
297
|
selectedTab: "roles" | "privileges";
|
|
291
298
|
};
|
|
292
299
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -328,6 +335,7 @@ export declare const selectRemoteDebuggerMode: ((state: import("redux").EmptyObj
|
|
|
328
335
|
privileges: import("../modules").TById;
|
|
329
336
|
roles: import("../modules").TRolesDict;
|
|
330
337
|
forceLogin?: boolean | undefined;
|
|
338
|
+
allowedOnGet?: string[] | undefined;
|
|
331
339
|
selectedTab: "roles" | "privileges";
|
|
332
340
|
};
|
|
333
341
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -369,6 +377,7 @@ export declare const selectQodly: ((state: import("redux").EmptyObject & {
|
|
|
369
377
|
privileges: import("../modules").TById;
|
|
370
378
|
roles: import("../modules").TRolesDict;
|
|
371
379
|
forceLogin?: boolean | undefined;
|
|
380
|
+
allowedOnGet?: string[] | undefined;
|
|
372
381
|
selectedTab: "roles" | "privileges";
|
|
373
382
|
};
|
|
374
383
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -410,6 +419,7 @@ export declare const selectMonacoZoom: ((state: import("redux").EmptyObject & {
|
|
|
410
419
|
privileges: import("../modules").TById;
|
|
411
420
|
roles: import("../modules").TRolesDict;
|
|
412
421
|
forceLogin?: boolean | undefined;
|
|
422
|
+
allowedOnGet?: string[] | undefined;
|
|
413
423
|
selectedTab: "roles" | "privileges";
|
|
414
424
|
};
|
|
415
425
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -453,6 +463,7 @@ export declare const selectI18nSetting: ((state: import("redux").EmptyObject & {
|
|
|
453
463
|
privileges: import("../modules").TById;
|
|
454
464
|
roles: import("../modules").TRolesDict;
|
|
455
465
|
forceLogin?: boolean | undefined;
|
|
466
|
+
allowedOnGet?: string[] | undefined;
|
|
456
467
|
selectedTab: "roles" | "privileges";
|
|
457
468
|
};
|
|
458
469
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -496,6 +507,7 @@ export declare const selectI18nCurrent: ((state: import("redux").EmptyObject & {
|
|
|
496
507
|
privileges: import("../modules").TById;
|
|
497
508
|
roles: import("../modules").TRolesDict;
|
|
498
509
|
forceLogin?: boolean | undefined;
|
|
510
|
+
allowedOnGet?: string[] | undefined;
|
|
499
511
|
selectedTab: "roles" | "privileges";
|
|
500
512
|
};
|
|
501
513
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -38,6 +38,7 @@ export declare const selectWebformStatesByPath: (tabPath: string, exclude?: stri
|
|
|
38
38
|
privileges: import('../modules').TById;
|
|
39
39
|
roles: import('../modules').TRolesDict;
|
|
40
40
|
forceLogin?: boolean | undefined;
|
|
41
|
+
allowedOnGet?: string[] | undefined;
|
|
41
42
|
selectedTab: "roles" | "privileges";
|
|
42
43
|
};
|
|
43
44
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
@@ -100,6 +101,7 @@ export declare const selectWebformStatesLabelsByPath: (tabPath: string, exclude?
|
|
|
100
101
|
privileges: import('../modules').TById;
|
|
101
102
|
roles: import('../modules').TRolesDict;
|
|
102
103
|
forceLogin?: boolean | undefined;
|
|
104
|
+
allowedOnGet?: string[] | undefined;
|
|
103
105
|
selectedTab: "roles" | "privileges";
|
|
104
106
|
};
|
|
105
107
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
@@ -146,6 +148,7 @@ export declare const selectDefaultWebformStatesByPath: (tabPath: string) => ((st
|
|
|
146
148
|
privileges: import('../modules').TById;
|
|
147
149
|
roles: import('../modules').TRolesDict;
|
|
148
150
|
forceLogin?: boolean | undefined;
|
|
151
|
+
allowedOnGet?: string[] | undefined;
|
|
149
152
|
selectedTab: "roles" | "privileges";
|
|
150
153
|
};
|
|
151
154
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
@@ -205,6 +208,7 @@ export declare const selectSavedConditions: ((state: import("redux").EmptyObject
|
|
|
205
208
|
privileges: import('../modules').TById;
|
|
206
209
|
roles: import('../modules').TRolesDict;
|
|
207
210
|
forceLogin?: boolean | undefined;
|
|
211
|
+
allowedOnGet?: string[] | undefined;
|
|
208
212
|
selectedTab: "roles" | "privileges";
|
|
209
213
|
};
|
|
210
214
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
@@ -241,6 +245,7 @@ export declare const selectSavedConditions: ((state: import("redux").EmptyObject
|
|
|
241
245
|
privileges: import('../modules').TById;
|
|
242
246
|
roles: import('../modules').TRolesDict;
|
|
243
247
|
forceLogin?: boolean | undefined;
|
|
248
|
+
allowedOnGet?: string[] | undefined;
|
|
244
249
|
selectedTab: "roles" | "privileges";
|
|
245
250
|
};
|
|
246
251
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
@@ -30,6 +30,7 @@ export declare const selectWebformStylesByPath: (path: string) => ((state: impor
|
|
|
30
30
|
privileges: import("../modules").TById;
|
|
31
31
|
roles: import("../modules").TRolesDict;
|
|
32
32
|
forceLogin?: boolean | undefined;
|
|
33
|
+
allowedOnGet?: string[] | undefined;
|
|
33
34
|
selectedTab: "roles" | "privileges";
|
|
34
35
|
};
|
|
35
36
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -86,6 +87,7 @@ export declare const selectStylesByPath: (path: string, scopes: EWebFormStyleCla
|
|
|
86
87
|
privileges: import("../modules").TById;
|
|
87
88
|
roles: import("../modules").TRolesDict;
|
|
88
89
|
forceLogin?: boolean | undefined;
|
|
90
|
+
allowedOnGet?: string[] | undefined;
|
|
89
91
|
selectedTab: "roles" | "privileges";
|
|
90
92
|
};
|
|
91
93
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -127,6 +129,7 @@ export declare const selectCSSClassesByPath: (path: string) => ((state: import("
|
|
|
127
129
|
privileges: import("../modules").TById;
|
|
128
130
|
roles: import("../modules").TRolesDict;
|
|
129
131
|
forceLogin?: boolean | undefined;
|
|
132
|
+
allowedOnGet?: string[] | undefined;
|
|
130
133
|
selectedTab: "roles" | "privileges";
|
|
131
134
|
};
|
|
132
135
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -168,6 +171,7 @@ export declare const selectSharedCSS: ((state: import("redux").EmptyObject & {
|
|
|
168
171
|
privileges: import("../modules").TById;
|
|
169
172
|
roles: import("../modules").TRolesDict;
|
|
170
173
|
forceLogin?: boolean | undefined;
|
|
174
|
+
allowedOnGet?: string[] | undefined;
|
|
171
175
|
selectedTab: "roles" | "privileges";
|
|
172
176
|
};
|
|
173
177
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -214,6 +218,7 @@ export declare const selectSharedCSS: ((state: import("redux").EmptyObject & {
|
|
|
214
218
|
privileges: import("../modules").TById;
|
|
215
219
|
roles: import("../modules").TRolesDict;
|
|
216
220
|
forceLogin?: boolean | undefined;
|
|
221
|
+
allowedOnGet?: string[] | undefined;
|
|
217
222
|
selectedTab: "roles" | "privileges";
|
|
218
223
|
};
|
|
219
224
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
package/dist/selectors/tabs.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare const selectFlagsByPath: (path: string) => ((state: import("redux
|
|
|
27
27
|
privileges: import("..").TById;
|
|
28
28
|
roles: import("..").TRolesDict;
|
|
29
29
|
forceLogin?: boolean | undefined;
|
|
30
|
+
allowedOnGet?: string[] | undefined;
|
|
30
31
|
selectedTab: "roles" | "privileges";
|
|
31
32
|
};
|
|
32
33
|
sharedDatasources: import("..").ISharedDatasourcesState;
|
|
@@ -99,6 +100,7 @@ export declare const selectHistoryByPath: (path: string) => ((state: import("red
|
|
|
99
100
|
privileges: import("..").TById;
|
|
100
101
|
roles: import("..").TRolesDict;
|
|
101
102
|
forceLogin?: boolean | undefined;
|
|
103
|
+
allowedOnGet?: string[] | undefined;
|
|
102
104
|
selectedTab: "roles" | "privileges";
|
|
103
105
|
};
|
|
104
106
|
sharedDatasources: import("..").ISharedDatasourcesState;
|
|
@@ -163,6 +165,7 @@ export declare const selectActiveTabHistoryActions: ((state: import("redux").Emp
|
|
|
163
165
|
privileges: import("..").TById;
|
|
164
166
|
roles: import("..").TRolesDict;
|
|
165
167
|
forceLogin?: boolean | undefined;
|
|
168
|
+
allowedOnGet?: string[] | undefined;
|
|
166
169
|
selectedTab: "roles" | "privileges";
|
|
167
170
|
};
|
|
168
171
|
sharedDatasources: import("..").ISharedDatasourcesState;
|
|
@@ -29,6 +29,7 @@ export declare const selectWebforms: ((state: import("redux").EmptyObject & {
|
|
|
29
29
|
privileges: import("../modules").TById;
|
|
30
30
|
roles: import("../modules").TRolesDict;
|
|
31
31
|
forceLogin?: boolean | undefined;
|
|
32
|
+
allowedOnGet?: string[] | undefined;
|
|
32
33
|
selectedTab: "roles" | "privileges";
|
|
33
34
|
};
|
|
34
35
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -70,6 +71,7 @@ export declare const selectComponents: ((state: import("redux").EmptyObject & {
|
|
|
70
71
|
privileges: import("../modules").TById;
|
|
71
72
|
roles: import("../modules").TRolesDict;
|
|
72
73
|
forceLogin?: boolean | undefined;
|
|
74
|
+
allowedOnGet?: string[] | undefined;
|
|
73
75
|
selectedTab: "roles" | "privileges";
|
|
74
76
|
};
|
|
75
77
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -117,6 +119,7 @@ export declare const selectInspector: ((state: import("redux").EmptyObject & {
|
|
|
117
119
|
privileges: import("../modules").TById;
|
|
118
120
|
roles: import("../modules").TRolesDict;
|
|
119
121
|
forceLogin?: boolean | undefined;
|
|
122
|
+
allowedOnGet?: string[] | undefined;
|
|
120
123
|
selectedTab: "roles" | "privileges";
|
|
121
124
|
};
|
|
122
125
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -158,6 +161,7 @@ export declare const selectInspectedCSSClass: ((state: import("redux").EmptyObje
|
|
|
158
161
|
privileges: import("../modules").TById;
|
|
159
162
|
roles: import("../modules").TRolesDict;
|
|
160
163
|
forceLogin?: boolean | undefined;
|
|
164
|
+
allowedOnGet?: string[] | undefined;
|
|
161
165
|
selectedTab: "roles" | "privileges";
|
|
162
166
|
};
|
|
163
167
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -199,6 +203,7 @@ export declare const selectInspectedDatasource: ((state: import("redux").EmptyOb
|
|
|
199
203
|
privileges: import("../modules").TById;
|
|
200
204
|
roles: import("../modules").TRolesDict;
|
|
201
205
|
forceLogin?: boolean | undefined;
|
|
206
|
+
allowedOnGet?: string[] | undefined;
|
|
202
207
|
selectedTab: "roles" | "privileges";
|
|
203
208
|
};
|
|
204
209
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -240,6 +245,7 @@ export declare const selectTemplates: ((state: import("redux").EmptyObject & {
|
|
|
240
245
|
privileges: import("../modules").TById;
|
|
241
246
|
roles: import("../modules").TRolesDict;
|
|
242
247
|
forceLogin?: boolean | undefined;
|
|
248
|
+
allowedOnGet?: string[] | undefined;
|
|
243
249
|
selectedTab: "roles" | "privileges";
|
|
244
250
|
};
|
|
245
251
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -281,6 +287,7 @@ export declare const selectTemplatesData: ((state: import("redux").EmptyObject &
|
|
|
281
287
|
privileges: import("../modules").TById;
|
|
282
288
|
roles: import("../modules").TRolesDict;
|
|
283
289
|
forceLogin?: boolean | undefined;
|
|
290
|
+
allowedOnGet?: string[] | undefined;
|
|
284
291
|
selectedTab: "roles" | "privileges";
|
|
285
292
|
};
|
|
286
293
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -322,6 +329,7 @@ export declare const selectCraftedComponent: (id: string, type: 'webform' | 'rep
|
|
|
322
329
|
privileges: import("../modules").TById;
|
|
323
330
|
roles: import("../modules").TRolesDict;
|
|
324
331
|
forceLogin?: boolean | undefined;
|
|
332
|
+
allowedOnGet?: string[] | undefined;
|
|
325
333
|
selectedTab: "roles" | "privileges";
|
|
326
334
|
};
|
|
327
335
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -366,6 +374,7 @@ export declare const selectInspectorStateByType: (type: TInspectorType) => ((sta
|
|
|
366
374
|
privileges: import("../modules").TById;
|
|
367
375
|
roles: import("../modules").TRolesDict;
|
|
368
376
|
forceLogin?: boolean | undefined;
|
|
377
|
+
allowedOnGet?: string[] | undefined;
|
|
369
378
|
selectedTab: "roles" | "privileges";
|
|
370
379
|
};
|
|
371
380
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -407,6 +416,7 @@ export declare const selectDatasourcesTheme: ((state: import("redux").EmptyObjec
|
|
|
407
416
|
privileges: import("../modules").TById;
|
|
408
417
|
roles: import("../modules").TRolesDict;
|
|
409
418
|
forceLogin?: boolean | undefined;
|
|
419
|
+
allowedOnGet?: string[] | undefined;
|
|
410
420
|
selectedTab: "roles" | "privileges";
|
|
411
421
|
};
|
|
412
422
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -448,6 +458,7 @@ export declare const selectClipBoard: ((state: import("redux").EmptyObject & {
|
|
|
448
458
|
privileges: import("../modules").TById;
|
|
449
459
|
roles: import("../modules").TRolesDict;
|
|
450
460
|
forceLogin?: boolean | undefined;
|
|
461
|
+
allowedOnGet?: string[] | undefined;
|
|
451
462
|
selectedTab: "roles" | "privileges";
|
|
452
463
|
};
|
|
453
464
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
|
@@ -495,6 +506,7 @@ export declare const selectIsLoaded: ((state: import("redux").EmptyObject & {
|
|
|
495
506
|
privileges: import("../modules").TById;
|
|
496
507
|
roles: import("../modules").TRolesDict;
|
|
497
508
|
forceLogin?: boolean | undefined;
|
|
509
|
+
allowedOnGet?: string[] | undefined;
|
|
498
510
|
selectedTab: "roles" | "privileges";
|
|
499
511
|
};
|
|
500
512
|
sharedDatasources: import("../modules").ISharedDatasourcesState;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/store",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.0-beta.20240726.
|
|
4
|
+
"version": "0.2.0-beta.20240726.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@reduxjs/toolkit": "^1.7.1",
|
|
28
|
-
"@ws-ui/shared": "^0.2.0-beta.20240726.
|
|
28
|
+
"@ws-ui/shared": "^0.2.0-beta.20240726.1",
|
|
29
29
|
"react-redux": "^7.2.6"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|