@fctc/interface-logic 1.5.4 → 1.5.6
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/{configs.mjs → configs.cjs} +44 -9
- package/dist/{configs.d.mts → configs.d.cts} +1 -1
- package/dist/configs.js +9 -45
- package/dist/{constants.mjs → constants.cjs} +40 -2
- package/dist/constants.js +2 -41
- package/dist/{environment.mjs → environment.cjs} +68 -32
- package/dist/environment.js +32 -69
- package/dist/{hooks.mjs → hooks.cjs} +332 -232
- package/dist/{hooks.d.mts → hooks.d.cts} +1 -1
- package/dist/hooks.js +232 -333
- package/dist/{provider.mjs → provider.cjs} +83 -48
- package/dist/{provider.d.mts → provider.d.cts} +1 -1
- package/dist/provider.d.ts +1 -1
- package/dist/provider.js +48 -84
- package/dist/{services.mjs → services.cjs} +82 -41
- package/dist/{services.d.mts → services.d.cts} +1 -1
- package/dist/services.js +41 -83
- package/dist/{store.mjs → store.cjs} +128 -27
- package/dist/{store.d.mts → store.d.cts} +127 -127
- package/dist/store.d.ts +127 -127
- package/dist/store.js +27 -129
- package/dist/types.cjs +17 -0
- package/dist/{types.d.mts → types.d.cts} +1 -1
- package/dist/types.js +0 -18
- package/dist/{utils.mjs → utils.cjs} +83 -21
- package/dist/{utils.d.mts → utils.d.cts} +2 -2
- package/dist/utils.d.ts +2 -2
- package/dist/utils.js +21 -84
- package/package.json +12 -21
- package/dist/types.mjs +0 -0
- /package/dist/{constants.d.mts → constants.d.cts} +0 -0
- /package/dist/{environment.d.mts → environment.d.cts} +0 -0
- /package/dist/{view-type-BGJfDe73.d.mts → view-type-BGJfDe73.d.cts} +0 -0
package/dist/store.d.ts
CHANGED
|
@@ -75,9 +75,9 @@ declare const loginSlice: _reduxjs_toolkit.Slice<LoginStateType, {
|
|
|
75
75
|
setRedirectTo: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
|
|
76
76
|
setForgotPasswordUrl: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
|
|
77
77
|
}, "login", "login", _reduxjs_toolkit.SliceSelectors<LoginStateType>>;
|
|
78
|
-
declare const setDb: _reduxjs_toolkit.
|
|
79
|
-
declare const setRedirectTo: _reduxjs_toolkit.
|
|
80
|
-
declare const setForgotPasswordUrl: _reduxjs_toolkit.
|
|
78
|
+
declare const setDb: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "login/setDb">;
|
|
79
|
+
declare const setRedirectTo: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "login/setRedirectTo">;
|
|
80
|
+
declare const setForgotPasswordUrl: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "login/setForgotPasswordUrl">;
|
|
81
81
|
declare const selectLogin: (state: RootState) => LoginStateType;
|
|
82
82
|
|
|
83
83
|
interface Breadcrumb {
|
|
@@ -94,7 +94,7 @@ interface BreadcrumbsState {
|
|
|
94
94
|
declare const breadcrumbsSlice: _reduxjs_toolkit.Slice<BreadcrumbsState, {
|
|
95
95
|
setBreadCrumbs: (state: BreadcrumbsState, action: PayloadAction<Breadcrumb>) => void;
|
|
96
96
|
}, "breadcrumbs", "breadcrumbs", _reduxjs_toolkit.SliceSelectors<BreadcrumbsState>>;
|
|
97
|
-
declare const setBreadCrumbs: _reduxjs_toolkit.
|
|
97
|
+
declare const setBreadCrumbs: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<Breadcrumb, "breadcrumbs/setBreadCrumbs">;
|
|
98
98
|
declare const selectBreadCrumbs: (state: RootState) => BreadcrumbsState;
|
|
99
99
|
|
|
100
100
|
interface ViewDataStore {
|
|
@@ -121,10 +121,10 @@ declare const formSlice: _reduxjs_toolkit.Slice<FormState, {
|
|
|
121
121
|
setListSubject: (state: FormState, action: PayloadAction<any>) => void;
|
|
122
122
|
setDataUser: (state: FormState, action: PayloadAction<any>) => void;
|
|
123
123
|
}, "form", "form", _reduxjs_toolkit.SliceSelectors<FormState>>;
|
|
124
|
-
declare const setViewDataStore: _reduxjs_toolkit.
|
|
125
|
-
declare const setIsShowingModalDetail: _reduxjs_toolkit.
|
|
126
|
-
declare const setIsShowModalTranslate: _reduxjs_toolkit.
|
|
127
|
-
declare const setFormSubmitComponent: _reduxjs_toolkit.
|
|
124
|
+
declare const setViewDataStore: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"form/setViewDataStore">;
|
|
125
|
+
declare const setIsShowingModalDetail: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<boolean, "form/setIsShowingModalDetail">;
|
|
126
|
+
declare const setIsShowModalTranslate: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<boolean, "form/setIsShowModalTranslate">;
|
|
127
|
+
declare const setFormSubmitComponent: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<{
|
|
128
128
|
key: string;
|
|
129
129
|
component: any;
|
|
130
130
|
}, "form/setFormSubmitComponent">;
|
|
@@ -164,19 +164,19 @@ declare const searchSlice: _reduxjs_toolkit.Slice<SearchState, {
|
|
|
164
164
|
}>) => void;
|
|
165
165
|
clearSearchMap: (state: immer.WritableDraft<SearchState>) => void;
|
|
166
166
|
}, "search", "search", _reduxjs_toolkit.SliceSelectors<SearchState>>;
|
|
167
|
-
declare const setGroupByDomain: _reduxjs_toolkit.
|
|
167
|
+
declare const setGroupByDomain: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "search/setGroupByDomain">;
|
|
168
168
|
declare const setSelectedTags: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setSelectedTags">;
|
|
169
|
-
declare const setSearchString: _reduxjs_toolkit.
|
|
170
|
-
declare const setHoveredIndexSearchList: _reduxjs_toolkit.
|
|
169
|
+
declare const setSearchString: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "search/setSearchString">;
|
|
170
|
+
declare const setHoveredIndexSearchList: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number, "search/setHoveredIndexSearchList">;
|
|
171
171
|
declare const setFirstDomain: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFirstDomain">;
|
|
172
172
|
declare const setSearchBy: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"search/setSearchBy"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/setSearchBy">;
|
|
173
173
|
declare const setFilterBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFilterBy">;
|
|
174
|
-
declare const setSearchMap: _reduxjs_toolkit.
|
|
175
|
-
declare const updateSearchMap: _reduxjs_toolkit.
|
|
174
|
+
declare const setSearchMap: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"search/setSearchMap">;
|
|
175
|
+
declare const updateSearchMap: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<{
|
|
176
176
|
key: string;
|
|
177
177
|
value: any;
|
|
178
178
|
}, "search/updateSearchMap">;
|
|
179
|
-
declare const removeKeyFromSearchMap: _reduxjs_toolkit.
|
|
179
|
+
declare const removeKeyFromSearchMap: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<{
|
|
180
180
|
key: string;
|
|
181
181
|
item?: any;
|
|
182
182
|
}, "search/removeKeyFromSearchMap">;
|
|
@@ -210,16 +210,16 @@ declare const listSlice: _reduxjs_toolkit.Slice<ListState, {
|
|
|
210
210
|
setPage: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
|
|
211
211
|
setDomainTable: (state: immer.WritableDraft<ListState>, action: PayloadAction<any[]>) => void;
|
|
212
212
|
}, "list", "list", _reduxjs_toolkit.SliceSelectors<ListState>>;
|
|
213
|
-
declare const setPageLimit: _reduxjs_toolkit.
|
|
214
|
-
declare const setFields: _reduxjs_toolkit.
|
|
215
|
-
declare const setOrder: _reduxjs_toolkit.
|
|
216
|
-
declare const setSelectedRowKeys: _reduxjs_toolkit.
|
|
217
|
-
declare const setIndexRowTableModal: _reduxjs_toolkit.
|
|
218
|
-
declare const setIsUpdateTableModal: _reduxjs_toolkit.
|
|
219
|
-
declare const setPage: _reduxjs_toolkit.
|
|
213
|
+
declare const setPageLimit: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number, "list/setPageLimit">;
|
|
214
|
+
declare const setFields: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setFields">;
|
|
215
|
+
declare const setOrder: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "list/setOrder">;
|
|
216
|
+
declare const setSelectedRowKeys: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number[], "list/setSelectedRowKeys">;
|
|
217
|
+
declare const setIndexRowTableModal: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number, "list/setIndexRowTableModal">;
|
|
218
|
+
declare const setIsUpdateTableModal: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<boolean, "list/setIsUpdateTableModal">;
|
|
219
|
+
declare const setPage: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number, "list/setPage">;
|
|
220
220
|
declare const setSelectedRadioKey: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setSelectedRadioKey"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setSelectedRadioKey">;
|
|
221
221
|
declare const setTransferDetail: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setTransferDetail"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setTransferDetail">;
|
|
222
|
-
declare const setDomainTable: _reduxjs_toolkit.
|
|
222
|
+
declare const setDomainTable: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<any[], "list/setDomainTable">;
|
|
223
223
|
declare const selectList: (state: RootState) => ListState;
|
|
224
224
|
|
|
225
225
|
interface NavbarStateType {
|
|
@@ -255,27 +255,27 @@ declare const selectNavbar: (state: RootState) => NavbarStateType;
|
|
|
255
255
|
declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
256
256
|
env: {
|
|
257
257
|
baseUrl: string;
|
|
258
|
-
requests:
|
|
259
|
-
companies:
|
|
258
|
+
requests: any;
|
|
259
|
+
companies: any[];
|
|
260
260
|
user: {};
|
|
261
|
-
config:
|
|
262
|
-
envFile:
|
|
261
|
+
config: any;
|
|
262
|
+
envFile: any;
|
|
263
263
|
defaultCompany: {
|
|
264
|
-
id:
|
|
264
|
+
id: any;
|
|
265
265
|
logo: string;
|
|
266
266
|
secondary_color: string;
|
|
267
267
|
primary_color: string;
|
|
268
268
|
};
|
|
269
269
|
context: {
|
|
270
|
-
uid:
|
|
271
|
-
allowed_company_ids:
|
|
270
|
+
uid: any;
|
|
271
|
+
allowed_company_ids: any[];
|
|
272
272
|
lang: string;
|
|
273
273
|
tz: string;
|
|
274
274
|
};
|
|
275
275
|
};
|
|
276
276
|
header: {
|
|
277
277
|
value: {
|
|
278
|
-
allowedCompanyIds:
|
|
278
|
+
allowedCompanyIds: any[];
|
|
279
279
|
};
|
|
280
280
|
};
|
|
281
281
|
navbar: NavbarStateType;
|
|
@@ -290,27 +290,27 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
290
290
|
dispatch: redux_thunk.ThunkDispatch<{
|
|
291
291
|
env: {
|
|
292
292
|
baseUrl: string;
|
|
293
|
-
requests:
|
|
294
|
-
companies:
|
|
293
|
+
requests: any;
|
|
294
|
+
companies: any[];
|
|
295
295
|
user: {};
|
|
296
|
-
config:
|
|
297
|
-
envFile:
|
|
296
|
+
config: any;
|
|
297
|
+
envFile: any;
|
|
298
298
|
defaultCompany: {
|
|
299
|
-
id:
|
|
299
|
+
id: any;
|
|
300
300
|
logo: string;
|
|
301
301
|
secondary_color: string;
|
|
302
302
|
primary_color: string;
|
|
303
303
|
};
|
|
304
304
|
context: {
|
|
305
|
-
uid:
|
|
306
|
-
allowed_company_ids:
|
|
305
|
+
uid: any;
|
|
306
|
+
allowed_company_ids: any[];
|
|
307
307
|
lang: string;
|
|
308
308
|
tz: string;
|
|
309
309
|
};
|
|
310
310
|
};
|
|
311
311
|
header: {
|
|
312
312
|
value: {
|
|
313
|
-
allowedCompanyIds:
|
|
313
|
+
allowedCompanyIds: any[];
|
|
314
314
|
};
|
|
315
315
|
};
|
|
316
316
|
navbar: NavbarStateType;
|
|
@@ -326,40 +326,40 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
326
326
|
|
|
327
327
|
declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
328
328
|
baseUrl: string;
|
|
329
|
-
requests:
|
|
330
|
-
companies:
|
|
329
|
+
requests: any;
|
|
330
|
+
companies: any[];
|
|
331
331
|
user: {};
|
|
332
|
-
config:
|
|
333
|
-
envFile:
|
|
332
|
+
config: any;
|
|
333
|
+
envFile: any;
|
|
334
334
|
defaultCompany: {
|
|
335
|
-
id:
|
|
335
|
+
id: any;
|
|
336
336
|
logo: string;
|
|
337
337
|
secondary_color: string;
|
|
338
338
|
primary_color: string;
|
|
339
339
|
};
|
|
340
340
|
context: {
|
|
341
|
-
uid:
|
|
342
|
-
allowed_company_ids:
|
|
341
|
+
uid: any;
|
|
342
|
+
allowed_company_ids: any[];
|
|
343
343
|
lang: string;
|
|
344
344
|
tz: string;
|
|
345
345
|
};
|
|
346
346
|
}, {
|
|
347
347
|
setEnv: (state: immer.WritableDraft<{
|
|
348
348
|
baseUrl: string;
|
|
349
|
-
requests:
|
|
350
|
-
companies:
|
|
349
|
+
requests: any;
|
|
350
|
+
companies: any[];
|
|
351
351
|
user: {};
|
|
352
|
-
config:
|
|
353
|
-
envFile:
|
|
352
|
+
config: any;
|
|
353
|
+
envFile: any;
|
|
354
354
|
defaultCompany: {
|
|
355
|
-
id:
|
|
355
|
+
id: any;
|
|
356
356
|
logo: string;
|
|
357
357
|
secondary_color: string;
|
|
358
358
|
primary_color: string;
|
|
359
359
|
};
|
|
360
360
|
context: {
|
|
361
|
-
uid:
|
|
362
|
-
allowed_company_ids:
|
|
361
|
+
uid: any;
|
|
362
|
+
allowed_company_ids: any[];
|
|
363
363
|
lang: string;
|
|
364
364
|
tz: string;
|
|
365
365
|
};
|
|
@@ -369,20 +369,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
369
369
|
}) => void;
|
|
370
370
|
setUid: (state: immer.WritableDraft<{
|
|
371
371
|
baseUrl: string;
|
|
372
|
-
requests:
|
|
373
|
-
companies:
|
|
372
|
+
requests: any;
|
|
373
|
+
companies: any[];
|
|
374
374
|
user: {};
|
|
375
|
-
config:
|
|
376
|
-
envFile:
|
|
375
|
+
config: any;
|
|
376
|
+
envFile: any;
|
|
377
377
|
defaultCompany: {
|
|
378
|
-
id:
|
|
378
|
+
id: any;
|
|
379
379
|
logo: string;
|
|
380
380
|
secondary_color: string;
|
|
381
381
|
primary_color: string;
|
|
382
382
|
};
|
|
383
383
|
context: {
|
|
384
|
-
uid:
|
|
385
|
-
allowed_company_ids:
|
|
384
|
+
uid: any;
|
|
385
|
+
allowed_company_ids: any[];
|
|
386
386
|
lang: string;
|
|
387
387
|
tz: string;
|
|
388
388
|
};
|
|
@@ -392,20 +392,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
392
392
|
}) => void;
|
|
393
393
|
setAllowCompanies: (state: immer.WritableDraft<{
|
|
394
394
|
baseUrl: string;
|
|
395
|
-
requests:
|
|
396
|
-
companies:
|
|
395
|
+
requests: any;
|
|
396
|
+
companies: any[];
|
|
397
397
|
user: {};
|
|
398
|
-
config:
|
|
399
|
-
envFile:
|
|
398
|
+
config: any;
|
|
399
|
+
envFile: any;
|
|
400
400
|
defaultCompany: {
|
|
401
|
-
id:
|
|
401
|
+
id: any;
|
|
402
402
|
logo: string;
|
|
403
403
|
secondary_color: string;
|
|
404
404
|
primary_color: string;
|
|
405
405
|
};
|
|
406
406
|
context: {
|
|
407
|
-
uid:
|
|
408
|
-
allowed_company_ids:
|
|
407
|
+
uid: any;
|
|
408
|
+
allowed_company_ids: any[];
|
|
409
409
|
lang: string;
|
|
410
410
|
tz: string;
|
|
411
411
|
};
|
|
@@ -415,20 +415,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
415
415
|
}) => void;
|
|
416
416
|
setCompanies: (state: immer.WritableDraft<{
|
|
417
417
|
baseUrl: string;
|
|
418
|
-
requests:
|
|
419
|
-
companies:
|
|
418
|
+
requests: any;
|
|
419
|
+
companies: any[];
|
|
420
420
|
user: {};
|
|
421
|
-
config:
|
|
422
|
-
envFile:
|
|
421
|
+
config: any;
|
|
422
|
+
envFile: any;
|
|
423
423
|
defaultCompany: {
|
|
424
|
-
id:
|
|
424
|
+
id: any;
|
|
425
425
|
logo: string;
|
|
426
426
|
secondary_color: string;
|
|
427
427
|
primary_color: string;
|
|
428
428
|
};
|
|
429
429
|
context: {
|
|
430
|
-
uid:
|
|
431
|
-
allowed_company_ids:
|
|
430
|
+
uid: any;
|
|
431
|
+
allowed_company_ids: any[];
|
|
432
432
|
lang: string;
|
|
433
433
|
tz: string;
|
|
434
434
|
};
|
|
@@ -438,20 +438,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
438
438
|
}) => void;
|
|
439
439
|
setDefaultCompany: (state: immer.WritableDraft<{
|
|
440
440
|
baseUrl: string;
|
|
441
|
-
requests:
|
|
442
|
-
companies:
|
|
441
|
+
requests: any;
|
|
442
|
+
companies: any[];
|
|
443
443
|
user: {};
|
|
444
|
-
config:
|
|
445
|
-
envFile:
|
|
444
|
+
config: any;
|
|
445
|
+
envFile: any;
|
|
446
446
|
defaultCompany: {
|
|
447
|
-
id:
|
|
447
|
+
id: any;
|
|
448
448
|
logo: string;
|
|
449
449
|
secondary_color: string;
|
|
450
450
|
primary_color: string;
|
|
451
451
|
};
|
|
452
452
|
context: {
|
|
453
|
-
uid:
|
|
454
|
-
allowed_company_ids:
|
|
453
|
+
uid: any;
|
|
454
|
+
allowed_company_ids: any[];
|
|
455
455
|
lang: string;
|
|
456
456
|
tz: string;
|
|
457
457
|
};
|
|
@@ -461,20 +461,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
461
461
|
}) => void;
|
|
462
462
|
setLang: (state: immer.WritableDraft<{
|
|
463
463
|
baseUrl: string;
|
|
464
|
-
requests:
|
|
465
|
-
companies:
|
|
464
|
+
requests: any;
|
|
465
|
+
companies: any[];
|
|
466
466
|
user: {};
|
|
467
|
-
config:
|
|
468
|
-
envFile:
|
|
467
|
+
config: any;
|
|
468
|
+
envFile: any;
|
|
469
469
|
defaultCompany: {
|
|
470
|
-
id:
|
|
470
|
+
id: any;
|
|
471
471
|
logo: string;
|
|
472
472
|
secondary_color: string;
|
|
473
473
|
primary_color: string;
|
|
474
474
|
};
|
|
475
475
|
context: {
|
|
476
|
-
uid:
|
|
477
|
-
allowed_company_ids:
|
|
476
|
+
uid: any;
|
|
477
|
+
allowed_company_ids: any[];
|
|
478
478
|
lang: string;
|
|
479
479
|
tz: string;
|
|
480
480
|
};
|
|
@@ -484,20 +484,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
484
484
|
}) => void;
|
|
485
485
|
setUser: (state: immer.WritableDraft<{
|
|
486
486
|
baseUrl: string;
|
|
487
|
-
requests:
|
|
488
|
-
companies:
|
|
487
|
+
requests: any;
|
|
488
|
+
companies: any[];
|
|
489
489
|
user: {};
|
|
490
|
-
config:
|
|
491
|
-
envFile:
|
|
490
|
+
config: any;
|
|
491
|
+
envFile: any;
|
|
492
492
|
defaultCompany: {
|
|
493
|
-
id:
|
|
493
|
+
id: any;
|
|
494
494
|
logo: string;
|
|
495
495
|
secondary_color: string;
|
|
496
496
|
primary_color: string;
|
|
497
497
|
};
|
|
498
498
|
context: {
|
|
499
|
-
uid:
|
|
500
|
-
allowed_company_ids:
|
|
499
|
+
uid: any;
|
|
500
|
+
allowed_company_ids: any[];
|
|
501
501
|
lang: string;
|
|
502
502
|
tz: string;
|
|
503
503
|
};
|
|
@@ -507,20 +507,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
507
507
|
}) => void;
|
|
508
508
|
setConfig: (state: immer.WritableDraft<{
|
|
509
509
|
baseUrl: string;
|
|
510
|
-
requests:
|
|
511
|
-
companies:
|
|
510
|
+
requests: any;
|
|
511
|
+
companies: any[];
|
|
512
512
|
user: {};
|
|
513
|
-
config:
|
|
514
|
-
envFile:
|
|
513
|
+
config: any;
|
|
514
|
+
envFile: any;
|
|
515
515
|
defaultCompany: {
|
|
516
|
-
id:
|
|
516
|
+
id: any;
|
|
517
517
|
logo: string;
|
|
518
518
|
secondary_color: string;
|
|
519
519
|
primary_color: string;
|
|
520
520
|
};
|
|
521
521
|
context: {
|
|
522
|
-
uid:
|
|
523
|
-
allowed_company_ids:
|
|
522
|
+
uid: any;
|
|
523
|
+
allowed_company_ids: any[];
|
|
524
524
|
lang: string;
|
|
525
525
|
tz: string;
|
|
526
526
|
};
|
|
@@ -530,20 +530,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
530
530
|
}) => void;
|
|
531
531
|
setEnvFile: (state: immer.WritableDraft<{
|
|
532
532
|
baseUrl: string;
|
|
533
|
-
requests:
|
|
534
|
-
companies:
|
|
533
|
+
requests: any;
|
|
534
|
+
companies: any[];
|
|
535
535
|
user: {};
|
|
536
|
-
config:
|
|
537
|
-
envFile:
|
|
536
|
+
config: any;
|
|
537
|
+
envFile: any;
|
|
538
538
|
defaultCompany: {
|
|
539
|
-
id:
|
|
539
|
+
id: any;
|
|
540
540
|
logo: string;
|
|
541
541
|
secondary_color: string;
|
|
542
542
|
primary_color: string;
|
|
543
543
|
};
|
|
544
544
|
context: {
|
|
545
|
-
uid:
|
|
546
|
-
allowed_company_ids:
|
|
545
|
+
uid: any;
|
|
546
|
+
allowed_company_ids: any[];
|
|
547
547
|
lang: string;
|
|
548
548
|
tz: string;
|
|
549
549
|
};
|
|
@@ -553,20 +553,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
553
553
|
}) => void;
|
|
554
554
|
}, "env", "env", _reduxjs_toolkit.SliceSelectors<{
|
|
555
555
|
baseUrl: string;
|
|
556
|
-
requests:
|
|
557
|
-
companies:
|
|
556
|
+
requests: any;
|
|
557
|
+
companies: any[];
|
|
558
558
|
user: {};
|
|
559
|
-
config:
|
|
560
|
-
envFile:
|
|
559
|
+
config: any;
|
|
560
|
+
envFile: any;
|
|
561
561
|
defaultCompany: {
|
|
562
|
-
id:
|
|
562
|
+
id: any;
|
|
563
563
|
logo: string;
|
|
564
564
|
secondary_color: string;
|
|
565
565
|
primary_color: string;
|
|
566
566
|
};
|
|
567
567
|
context: {
|
|
568
|
-
uid:
|
|
569
|
-
allowed_company_ids:
|
|
568
|
+
uid: any;
|
|
569
|
+
allowed_company_ids: any[];
|
|
570
570
|
lang: string;
|
|
571
571
|
tz: string;
|
|
572
572
|
};
|
|
@@ -582,20 +582,20 @@ declare const setConfig: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/set
|
|
|
582
582
|
declare const setEnvFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnvFile">;
|
|
583
583
|
declare const selectEnv: (state: RootState) => {
|
|
584
584
|
baseUrl: string;
|
|
585
|
-
requests:
|
|
586
|
-
companies:
|
|
585
|
+
requests: any;
|
|
586
|
+
companies: any[];
|
|
587
587
|
user: {};
|
|
588
|
-
config:
|
|
589
|
-
envFile:
|
|
588
|
+
config: any;
|
|
589
|
+
envFile: any;
|
|
590
590
|
defaultCompany: {
|
|
591
|
-
id:
|
|
591
|
+
id: any;
|
|
592
592
|
logo: string;
|
|
593
593
|
secondary_color: string;
|
|
594
594
|
primary_color: string;
|
|
595
595
|
};
|
|
596
596
|
context: {
|
|
597
|
-
uid:
|
|
598
|
-
allowed_company_ids:
|
|
597
|
+
uid: any;
|
|
598
|
+
allowed_company_ids: any[];
|
|
599
599
|
lang: string;
|
|
600
600
|
tz: string;
|
|
601
601
|
};
|
|
@@ -603,12 +603,12 @@ declare const selectEnv: (state: RootState) => {
|
|
|
603
603
|
|
|
604
604
|
declare const headerSlice: _reduxjs_toolkit.Slice<{
|
|
605
605
|
value: {
|
|
606
|
-
allowedCompanyIds:
|
|
606
|
+
allowedCompanyIds: any[];
|
|
607
607
|
};
|
|
608
608
|
}, {
|
|
609
609
|
setHeader: (state: immer.WritableDraft<{
|
|
610
610
|
value: {
|
|
611
|
-
allowedCompanyIds:
|
|
611
|
+
allowedCompanyIds: any[];
|
|
612
612
|
};
|
|
613
613
|
}>, action: {
|
|
614
614
|
payload: any;
|
|
@@ -616,7 +616,7 @@ declare const headerSlice: _reduxjs_toolkit.Slice<{
|
|
|
616
616
|
}) => void;
|
|
617
617
|
setAllowedCompanyIds: (state: immer.WritableDraft<{
|
|
618
618
|
value: {
|
|
619
|
-
allowedCompanyIds:
|
|
619
|
+
allowedCompanyIds: any[];
|
|
620
620
|
};
|
|
621
621
|
}>, action: {
|
|
622
622
|
payload: any;
|
|
@@ -624,14 +624,14 @@ declare const headerSlice: _reduxjs_toolkit.Slice<{
|
|
|
624
624
|
}) => void;
|
|
625
625
|
}, "header", "header", _reduxjs_toolkit.SliceSelectors<{
|
|
626
626
|
value: {
|
|
627
|
-
allowedCompanyIds:
|
|
627
|
+
allowedCompanyIds: any[];
|
|
628
628
|
};
|
|
629
629
|
}>>;
|
|
630
630
|
declare const setAllowedCompanyIds: _reduxjs_toolkit.ActionCreatorWithPayload<any, "header/setAllowedCompanyIds">;
|
|
631
631
|
declare const setHeader: _reduxjs_toolkit.ActionCreatorWithPayload<any, "header/setHeader">;
|
|
632
632
|
declare const selectHeader: (state: RootState) => {
|
|
633
633
|
value: {
|
|
634
|
-
allowedCompanyIds:
|
|
634
|
+
allowedCompanyIds: any[];
|
|
635
635
|
};
|
|
636
636
|
};
|
|
637
637
|
|