@fctc/interface-logic 1.8.3 → 1.8.4
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.d.mts +1 -4
- package/dist/configs.d.ts +1 -4
- package/dist/configs.js +15 -12
- package/dist/configs.mjs +15 -12
- package/dist/environment.d.mts +15 -17
- package/dist/environment.d.ts +15 -17
- package/dist/environment.js +81 -92
- package/dist/environment.mjs +81 -90
- package/dist/hooks.d.mts +2 -7
- package/dist/hooks.d.ts +2 -7
- package/dist/hooks.js +195 -229
- package/dist/hooks.mjs +155 -188
- package/dist/provider.d.mts +4 -3
- package/dist/provider.d.ts +4 -3
- package/dist/provider.js +87 -88
- package/dist/provider.mjs +87 -88
- package/dist/services.d.mts +1 -2
- package/dist/services.d.ts +1 -2
- package/dist/services.js +82 -103
- package/dist/services.mjs +82 -103
- package/dist/store.d.mts +14 -280
- package/dist/store.d.ts +14 -280
- package/dist/store.js +4 -4
- package/dist/store.mjs +4 -4
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/{view-type-BGJfDe73.d.mts → view-type-D8ukwj_2.d.mts} +1 -1
- package/dist/{view-type-BGJfDe73.d.ts → view-type-D8ukwj_2.d.ts} +1 -1
- package/package.json +1 -1
package/dist/store.d.mts
CHANGED
|
@@ -253,26 +253,7 @@ declare const setMenuList: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navba
|
|
|
253
253
|
declare const selectNavbar: (state: RootState) => NavbarStateType;
|
|
254
254
|
|
|
255
255
|
declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
256
|
-
env:
|
|
257
|
-
baseUrl: string;
|
|
258
|
-
requests: null;
|
|
259
|
-
companies: never[];
|
|
260
|
-
user: {};
|
|
261
|
-
config: null;
|
|
262
|
-
envFile: null;
|
|
263
|
-
defaultCompany: {
|
|
264
|
-
id: null;
|
|
265
|
-
logo: string;
|
|
266
|
-
secondary_color: string;
|
|
267
|
-
primary_color: string;
|
|
268
|
-
};
|
|
269
|
-
context: {
|
|
270
|
-
uid: null;
|
|
271
|
-
allowed_company_ids: never[];
|
|
272
|
-
lang: string;
|
|
273
|
-
tz: string;
|
|
274
|
-
};
|
|
275
|
-
};
|
|
256
|
+
env: any;
|
|
276
257
|
header: {
|
|
277
258
|
value: {
|
|
278
259
|
allowedCompanyIds: never[];
|
|
@@ -288,26 +269,7 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
288
269
|
profile: ProfileStateType;
|
|
289
270
|
}, redux.UnknownAction, _reduxjs_toolkit.Tuple<[redux.StoreEnhancer<{
|
|
290
271
|
dispatch: redux_thunk.ThunkDispatch<{
|
|
291
|
-
env:
|
|
292
|
-
baseUrl: string;
|
|
293
|
-
requests: null;
|
|
294
|
-
companies: never[];
|
|
295
|
-
user: {};
|
|
296
|
-
config: null;
|
|
297
|
-
envFile: null;
|
|
298
|
-
defaultCompany: {
|
|
299
|
-
id: null;
|
|
300
|
-
logo: string;
|
|
301
|
-
secondary_color: string;
|
|
302
|
-
primary_color: string;
|
|
303
|
-
};
|
|
304
|
-
context: {
|
|
305
|
-
uid: null;
|
|
306
|
-
allowed_company_ids: never[];
|
|
307
|
-
lang: string;
|
|
308
|
-
tz: string;
|
|
309
|
-
};
|
|
310
|
-
};
|
|
272
|
+
env: any;
|
|
311
273
|
header: {
|
|
312
274
|
value: {
|
|
313
275
|
allowedCompanyIds: never[];
|
|
@@ -324,253 +286,44 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
324
286
|
}, undefined, redux.UnknownAction>;
|
|
325
287
|
}>, redux.StoreEnhancer]>>;
|
|
326
288
|
|
|
327
|
-
declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
328
|
-
|
|
329
|
-
requests: null;
|
|
330
|
-
companies: never[];
|
|
331
|
-
user: {};
|
|
332
|
-
config: null;
|
|
333
|
-
envFile: null;
|
|
334
|
-
defaultCompany: {
|
|
335
|
-
id: null;
|
|
336
|
-
logo: string;
|
|
337
|
-
secondary_color: string;
|
|
338
|
-
primary_color: string;
|
|
339
|
-
};
|
|
340
|
-
context: {
|
|
341
|
-
uid: null;
|
|
342
|
-
allowed_company_ids: never[];
|
|
343
|
-
lang: string;
|
|
344
|
-
tz: string;
|
|
345
|
-
};
|
|
346
|
-
}, {
|
|
347
|
-
setEnv: (state: immer.WritableDraft<{
|
|
348
|
-
baseUrl: string;
|
|
349
|
-
requests: null;
|
|
350
|
-
companies: never[];
|
|
351
|
-
user: {};
|
|
352
|
-
config: null;
|
|
353
|
-
envFile: null;
|
|
354
|
-
defaultCompany: {
|
|
355
|
-
id: null;
|
|
356
|
-
logo: string;
|
|
357
|
-
secondary_color: string;
|
|
358
|
-
primary_color: string;
|
|
359
|
-
};
|
|
360
|
-
context: {
|
|
361
|
-
uid: null;
|
|
362
|
-
allowed_company_ids: never[];
|
|
363
|
-
lang: string;
|
|
364
|
-
tz: string;
|
|
365
|
-
};
|
|
366
|
-
}>, action: {
|
|
289
|
+
declare const envSlice: _reduxjs_toolkit.Slice<any, {
|
|
290
|
+
setEnv: (state: any, action: {
|
|
367
291
|
payload: any;
|
|
368
292
|
type: string;
|
|
369
293
|
}) => void;
|
|
370
|
-
setUid: (state:
|
|
371
|
-
baseUrl: string;
|
|
372
|
-
requests: null;
|
|
373
|
-
companies: never[];
|
|
374
|
-
user: {};
|
|
375
|
-
config: null;
|
|
376
|
-
envFile: null;
|
|
377
|
-
defaultCompany: {
|
|
378
|
-
id: null;
|
|
379
|
-
logo: string;
|
|
380
|
-
secondary_color: string;
|
|
381
|
-
primary_color: string;
|
|
382
|
-
};
|
|
383
|
-
context: {
|
|
384
|
-
uid: null;
|
|
385
|
-
allowed_company_ids: never[];
|
|
386
|
-
lang: string;
|
|
387
|
-
tz: string;
|
|
388
|
-
};
|
|
389
|
-
}>, action: {
|
|
294
|
+
setUid: (state: any, action: {
|
|
390
295
|
payload: any;
|
|
391
296
|
type: string;
|
|
392
297
|
}) => void;
|
|
393
|
-
setAllowCompanies: (state:
|
|
394
|
-
baseUrl: string;
|
|
395
|
-
requests: null;
|
|
396
|
-
companies: never[];
|
|
397
|
-
user: {};
|
|
398
|
-
config: null;
|
|
399
|
-
envFile: null;
|
|
400
|
-
defaultCompany: {
|
|
401
|
-
id: null;
|
|
402
|
-
logo: string;
|
|
403
|
-
secondary_color: string;
|
|
404
|
-
primary_color: string;
|
|
405
|
-
};
|
|
406
|
-
context: {
|
|
407
|
-
uid: null;
|
|
408
|
-
allowed_company_ids: never[];
|
|
409
|
-
lang: string;
|
|
410
|
-
tz: string;
|
|
411
|
-
};
|
|
412
|
-
}>, action: {
|
|
298
|
+
setAllowCompanies: (state: any, action: {
|
|
413
299
|
payload: any;
|
|
414
300
|
type: string;
|
|
415
301
|
}) => void;
|
|
416
|
-
setCompanies: (state:
|
|
417
|
-
baseUrl: string;
|
|
418
|
-
requests: null;
|
|
419
|
-
companies: never[];
|
|
420
|
-
user: {};
|
|
421
|
-
config: null;
|
|
422
|
-
envFile: null;
|
|
423
|
-
defaultCompany: {
|
|
424
|
-
id: null;
|
|
425
|
-
logo: string;
|
|
426
|
-
secondary_color: string;
|
|
427
|
-
primary_color: string;
|
|
428
|
-
};
|
|
429
|
-
context: {
|
|
430
|
-
uid: null;
|
|
431
|
-
allowed_company_ids: never[];
|
|
432
|
-
lang: string;
|
|
433
|
-
tz: string;
|
|
434
|
-
};
|
|
435
|
-
}>, action: {
|
|
302
|
+
setCompanies: (state: any, action: {
|
|
436
303
|
payload: any;
|
|
437
304
|
type: string;
|
|
438
305
|
}) => void;
|
|
439
|
-
setDefaultCompany: (state:
|
|
440
|
-
baseUrl: string;
|
|
441
|
-
requests: null;
|
|
442
|
-
companies: never[];
|
|
443
|
-
user: {};
|
|
444
|
-
config: null;
|
|
445
|
-
envFile: null;
|
|
446
|
-
defaultCompany: {
|
|
447
|
-
id: null;
|
|
448
|
-
logo: string;
|
|
449
|
-
secondary_color: string;
|
|
450
|
-
primary_color: string;
|
|
451
|
-
};
|
|
452
|
-
context: {
|
|
453
|
-
uid: null;
|
|
454
|
-
allowed_company_ids: never[];
|
|
455
|
-
lang: string;
|
|
456
|
-
tz: string;
|
|
457
|
-
};
|
|
458
|
-
}>, action: {
|
|
306
|
+
setDefaultCompany: (state: any, action: {
|
|
459
307
|
payload: any;
|
|
460
308
|
type: string;
|
|
461
309
|
}) => void;
|
|
462
|
-
setLang: (state:
|
|
463
|
-
baseUrl: string;
|
|
464
|
-
requests: null;
|
|
465
|
-
companies: never[];
|
|
466
|
-
user: {};
|
|
467
|
-
config: null;
|
|
468
|
-
envFile: null;
|
|
469
|
-
defaultCompany: {
|
|
470
|
-
id: null;
|
|
471
|
-
logo: string;
|
|
472
|
-
secondary_color: string;
|
|
473
|
-
primary_color: string;
|
|
474
|
-
};
|
|
475
|
-
context: {
|
|
476
|
-
uid: null;
|
|
477
|
-
allowed_company_ids: never[];
|
|
478
|
-
lang: string;
|
|
479
|
-
tz: string;
|
|
480
|
-
};
|
|
481
|
-
}>, action: {
|
|
310
|
+
setLang: (state: any, action: {
|
|
482
311
|
payload: any;
|
|
483
312
|
type: string;
|
|
484
313
|
}) => void;
|
|
485
|
-
setUser: (state:
|
|
486
|
-
baseUrl: string;
|
|
487
|
-
requests: null;
|
|
488
|
-
companies: never[];
|
|
489
|
-
user: {};
|
|
490
|
-
config: null;
|
|
491
|
-
envFile: null;
|
|
492
|
-
defaultCompany: {
|
|
493
|
-
id: null;
|
|
494
|
-
logo: string;
|
|
495
|
-
secondary_color: string;
|
|
496
|
-
primary_color: string;
|
|
497
|
-
};
|
|
498
|
-
context: {
|
|
499
|
-
uid: null;
|
|
500
|
-
allowed_company_ids: never[];
|
|
501
|
-
lang: string;
|
|
502
|
-
tz: string;
|
|
503
|
-
};
|
|
504
|
-
}>, action: {
|
|
314
|
+
setUser: (state: any, action: {
|
|
505
315
|
payload: any;
|
|
506
316
|
type: string;
|
|
507
317
|
}) => void;
|
|
508
|
-
setConfig: (state:
|
|
509
|
-
baseUrl: string;
|
|
510
|
-
requests: null;
|
|
511
|
-
companies: never[];
|
|
512
|
-
user: {};
|
|
513
|
-
config: null;
|
|
514
|
-
envFile: null;
|
|
515
|
-
defaultCompany: {
|
|
516
|
-
id: null;
|
|
517
|
-
logo: string;
|
|
518
|
-
secondary_color: string;
|
|
519
|
-
primary_color: string;
|
|
520
|
-
};
|
|
521
|
-
context: {
|
|
522
|
-
uid: null;
|
|
523
|
-
allowed_company_ids: never[];
|
|
524
|
-
lang: string;
|
|
525
|
-
tz: string;
|
|
526
|
-
};
|
|
527
|
-
}>, action: {
|
|
318
|
+
setConfig: (state: any, action: {
|
|
528
319
|
payload: any;
|
|
529
320
|
type: string;
|
|
530
321
|
}) => void;
|
|
531
|
-
setEnvFile: (state:
|
|
532
|
-
baseUrl: string;
|
|
533
|
-
requests: null;
|
|
534
|
-
companies: never[];
|
|
535
|
-
user: {};
|
|
536
|
-
config: null;
|
|
537
|
-
envFile: null;
|
|
538
|
-
defaultCompany: {
|
|
539
|
-
id: null;
|
|
540
|
-
logo: string;
|
|
541
|
-
secondary_color: string;
|
|
542
|
-
primary_color: string;
|
|
543
|
-
};
|
|
544
|
-
context: {
|
|
545
|
-
uid: null;
|
|
546
|
-
allowed_company_ids: never[];
|
|
547
|
-
lang: string;
|
|
548
|
-
tz: string;
|
|
549
|
-
};
|
|
550
|
-
}>, action: {
|
|
322
|
+
setEnvFile: (state: any, action: {
|
|
551
323
|
payload: any;
|
|
552
324
|
type: string;
|
|
553
325
|
}) => void;
|
|
554
|
-
}, "env", "env", _reduxjs_toolkit.SliceSelectors<
|
|
555
|
-
baseUrl: string;
|
|
556
|
-
requests: null;
|
|
557
|
-
companies: never[];
|
|
558
|
-
user: {};
|
|
559
|
-
config: null;
|
|
560
|
-
envFile: null;
|
|
561
|
-
defaultCompany: {
|
|
562
|
-
id: null;
|
|
563
|
-
logo: string;
|
|
564
|
-
secondary_color: string;
|
|
565
|
-
primary_color: string;
|
|
566
|
-
};
|
|
567
|
-
context: {
|
|
568
|
-
uid: null;
|
|
569
|
-
allowed_company_ids: never[];
|
|
570
|
-
lang: string;
|
|
571
|
-
tz: string;
|
|
572
|
-
};
|
|
573
|
-
}>>;
|
|
326
|
+
}, "env", "env", _reduxjs_toolkit.SliceSelectors<any>>;
|
|
574
327
|
declare const setEnv: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnv">;
|
|
575
328
|
declare const setUid: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setUid">;
|
|
576
329
|
declare const setLang: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setLang">;
|
|
@@ -580,26 +333,7 @@ declare const setDefaultCompany: _reduxjs_toolkit.ActionCreatorWithPayload<any,
|
|
|
580
333
|
declare const setUser: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setUser">;
|
|
581
334
|
declare const setConfig: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setConfig">;
|
|
582
335
|
declare const setEnvFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnvFile">;
|
|
583
|
-
declare const selectEnv: (state: RootState) =>
|
|
584
|
-
baseUrl: string;
|
|
585
|
-
requests: null;
|
|
586
|
-
companies: never[];
|
|
587
|
-
user: {};
|
|
588
|
-
config: null;
|
|
589
|
-
envFile: null;
|
|
590
|
-
defaultCompany: {
|
|
591
|
-
id: null;
|
|
592
|
-
logo: string;
|
|
593
|
-
secondary_color: string;
|
|
594
|
-
primary_color: string;
|
|
595
|
-
};
|
|
596
|
-
context: {
|
|
597
|
-
uid: null;
|
|
598
|
-
allowed_company_ids: never[];
|
|
599
|
-
lang: string;
|
|
600
|
-
tz: string;
|
|
601
|
-
};
|
|
602
|
-
};
|
|
336
|
+
declare const selectEnv: (state: RootState) => any;
|
|
603
337
|
|
|
604
338
|
declare const headerSlice: _reduxjs_toolkit.Slice<{
|
|
605
339
|
value: {
|
package/dist/store.d.ts
CHANGED
|
@@ -253,26 +253,7 @@ declare const setMenuList: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navba
|
|
|
253
253
|
declare const selectNavbar: (state: RootState) => NavbarStateType;
|
|
254
254
|
|
|
255
255
|
declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
256
|
-
env:
|
|
257
|
-
baseUrl: string;
|
|
258
|
-
requests: null;
|
|
259
|
-
companies: never[];
|
|
260
|
-
user: {};
|
|
261
|
-
config: null;
|
|
262
|
-
envFile: null;
|
|
263
|
-
defaultCompany: {
|
|
264
|
-
id: null;
|
|
265
|
-
logo: string;
|
|
266
|
-
secondary_color: string;
|
|
267
|
-
primary_color: string;
|
|
268
|
-
};
|
|
269
|
-
context: {
|
|
270
|
-
uid: null;
|
|
271
|
-
allowed_company_ids: never[];
|
|
272
|
-
lang: string;
|
|
273
|
-
tz: string;
|
|
274
|
-
};
|
|
275
|
-
};
|
|
256
|
+
env: any;
|
|
276
257
|
header: {
|
|
277
258
|
value: {
|
|
278
259
|
allowedCompanyIds: never[];
|
|
@@ -288,26 +269,7 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
288
269
|
profile: ProfileStateType;
|
|
289
270
|
}, redux.UnknownAction, _reduxjs_toolkit.Tuple<[redux.StoreEnhancer<{
|
|
290
271
|
dispatch: redux_thunk.ThunkDispatch<{
|
|
291
|
-
env:
|
|
292
|
-
baseUrl: string;
|
|
293
|
-
requests: null;
|
|
294
|
-
companies: never[];
|
|
295
|
-
user: {};
|
|
296
|
-
config: null;
|
|
297
|
-
envFile: null;
|
|
298
|
-
defaultCompany: {
|
|
299
|
-
id: null;
|
|
300
|
-
logo: string;
|
|
301
|
-
secondary_color: string;
|
|
302
|
-
primary_color: string;
|
|
303
|
-
};
|
|
304
|
-
context: {
|
|
305
|
-
uid: null;
|
|
306
|
-
allowed_company_ids: never[];
|
|
307
|
-
lang: string;
|
|
308
|
-
tz: string;
|
|
309
|
-
};
|
|
310
|
-
};
|
|
272
|
+
env: any;
|
|
311
273
|
header: {
|
|
312
274
|
value: {
|
|
313
275
|
allowedCompanyIds: never[];
|
|
@@ -324,253 +286,44 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
324
286
|
}, undefined, redux.UnknownAction>;
|
|
325
287
|
}>, redux.StoreEnhancer]>>;
|
|
326
288
|
|
|
327
|
-
declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
328
|
-
|
|
329
|
-
requests: null;
|
|
330
|
-
companies: never[];
|
|
331
|
-
user: {};
|
|
332
|
-
config: null;
|
|
333
|
-
envFile: null;
|
|
334
|
-
defaultCompany: {
|
|
335
|
-
id: null;
|
|
336
|
-
logo: string;
|
|
337
|
-
secondary_color: string;
|
|
338
|
-
primary_color: string;
|
|
339
|
-
};
|
|
340
|
-
context: {
|
|
341
|
-
uid: null;
|
|
342
|
-
allowed_company_ids: never[];
|
|
343
|
-
lang: string;
|
|
344
|
-
tz: string;
|
|
345
|
-
};
|
|
346
|
-
}, {
|
|
347
|
-
setEnv: (state: immer.WritableDraft<{
|
|
348
|
-
baseUrl: string;
|
|
349
|
-
requests: null;
|
|
350
|
-
companies: never[];
|
|
351
|
-
user: {};
|
|
352
|
-
config: null;
|
|
353
|
-
envFile: null;
|
|
354
|
-
defaultCompany: {
|
|
355
|
-
id: null;
|
|
356
|
-
logo: string;
|
|
357
|
-
secondary_color: string;
|
|
358
|
-
primary_color: string;
|
|
359
|
-
};
|
|
360
|
-
context: {
|
|
361
|
-
uid: null;
|
|
362
|
-
allowed_company_ids: never[];
|
|
363
|
-
lang: string;
|
|
364
|
-
tz: string;
|
|
365
|
-
};
|
|
366
|
-
}>, action: {
|
|
289
|
+
declare const envSlice: _reduxjs_toolkit.Slice<any, {
|
|
290
|
+
setEnv: (state: any, action: {
|
|
367
291
|
payload: any;
|
|
368
292
|
type: string;
|
|
369
293
|
}) => void;
|
|
370
|
-
setUid: (state:
|
|
371
|
-
baseUrl: string;
|
|
372
|
-
requests: null;
|
|
373
|
-
companies: never[];
|
|
374
|
-
user: {};
|
|
375
|
-
config: null;
|
|
376
|
-
envFile: null;
|
|
377
|
-
defaultCompany: {
|
|
378
|
-
id: null;
|
|
379
|
-
logo: string;
|
|
380
|
-
secondary_color: string;
|
|
381
|
-
primary_color: string;
|
|
382
|
-
};
|
|
383
|
-
context: {
|
|
384
|
-
uid: null;
|
|
385
|
-
allowed_company_ids: never[];
|
|
386
|
-
lang: string;
|
|
387
|
-
tz: string;
|
|
388
|
-
};
|
|
389
|
-
}>, action: {
|
|
294
|
+
setUid: (state: any, action: {
|
|
390
295
|
payload: any;
|
|
391
296
|
type: string;
|
|
392
297
|
}) => void;
|
|
393
|
-
setAllowCompanies: (state:
|
|
394
|
-
baseUrl: string;
|
|
395
|
-
requests: null;
|
|
396
|
-
companies: never[];
|
|
397
|
-
user: {};
|
|
398
|
-
config: null;
|
|
399
|
-
envFile: null;
|
|
400
|
-
defaultCompany: {
|
|
401
|
-
id: null;
|
|
402
|
-
logo: string;
|
|
403
|
-
secondary_color: string;
|
|
404
|
-
primary_color: string;
|
|
405
|
-
};
|
|
406
|
-
context: {
|
|
407
|
-
uid: null;
|
|
408
|
-
allowed_company_ids: never[];
|
|
409
|
-
lang: string;
|
|
410
|
-
tz: string;
|
|
411
|
-
};
|
|
412
|
-
}>, action: {
|
|
298
|
+
setAllowCompanies: (state: any, action: {
|
|
413
299
|
payload: any;
|
|
414
300
|
type: string;
|
|
415
301
|
}) => void;
|
|
416
|
-
setCompanies: (state:
|
|
417
|
-
baseUrl: string;
|
|
418
|
-
requests: null;
|
|
419
|
-
companies: never[];
|
|
420
|
-
user: {};
|
|
421
|
-
config: null;
|
|
422
|
-
envFile: null;
|
|
423
|
-
defaultCompany: {
|
|
424
|
-
id: null;
|
|
425
|
-
logo: string;
|
|
426
|
-
secondary_color: string;
|
|
427
|
-
primary_color: string;
|
|
428
|
-
};
|
|
429
|
-
context: {
|
|
430
|
-
uid: null;
|
|
431
|
-
allowed_company_ids: never[];
|
|
432
|
-
lang: string;
|
|
433
|
-
tz: string;
|
|
434
|
-
};
|
|
435
|
-
}>, action: {
|
|
302
|
+
setCompanies: (state: any, action: {
|
|
436
303
|
payload: any;
|
|
437
304
|
type: string;
|
|
438
305
|
}) => void;
|
|
439
|
-
setDefaultCompany: (state:
|
|
440
|
-
baseUrl: string;
|
|
441
|
-
requests: null;
|
|
442
|
-
companies: never[];
|
|
443
|
-
user: {};
|
|
444
|
-
config: null;
|
|
445
|
-
envFile: null;
|
|
446
|
-
defaultCompany: {
|
|
447
|
-
id: null;
|
|
448
|
-
logo: string;
|
|
449
|
-
secondary_color: string;
|
|
450
|
-
primary_color: string;
|
|
451
|
-
};
|
|
452
|
-
context: {
|
|
453
|
-
uid: null;
|
|
454
|
-
allowed_company_ids: never[];
|
|
455
|
-
lang: string;
|
|
456
|
-
tz: string;
|
|
457
|
-
};
|
|
458
|
-
}>, action: {
|
|
306
|
+
setDefaultCompany: (state: any, action: {
|
|
459
307
|
payload: any;
|
|
460
308
|
type: string;
|
|
461
309
|
}) => void;
|
|
462
|
-
setLang: (state:
|
|
463
|
-
baseUrl: string;
|
|
464
|
-
requests: null;
|
|
465
|
-
companies: never[];
|
|
466
|
-
user: {};
|
|
467
|
-
config: null;
|
|
468
|
-
envFile: null;
|
|
469
|
-
defaultCompany: {
|
|
470
|
-
id: null;
|
|
471
|
-
logo: string;
|
|
472
|
-
secondary_color: string;
|
|
473
|
-
primary_color: string;
|
|
474
|
-
};
|
|
475
|
-
context: {
|
|
476
|
-
uid: null;
|
|
477
|
-
allowed_company_ids: never[];
|
|
478
|
-
lang: string;
|
|
479
|
-
tz: string;
|
|
480
|
-
};
|
|
481
|
-
}>, action: {
|
|
310
|
+
setLang: (state: any, action: {
|
|
482
311
|
payload: any;
|
|
483
312
|
type: string;
|
|
484
313
|
}) => void;
|
|
485
|
-
setUser: (state:
|
|
486
|
-
baseUrl: string;
|
|
487
|
-
requests: null;
|
|
488
|
-
companies: never[];
|
|
489
|
-
user: {};
|
|
490
|
-
config: null;
|
|
491
|
-
envFile: null;
|
|
492
|
-
defaultCompany: {
|
|
493
|
-
id: null;
|
|
494
|
-
logo: string;
|
|
495
|
-
secondary_color: string;
|
|
496
|
-
primary_color: string;
|
|
497
|
-
};
|
|
498
|
-
context: {
|
|
499
|
-
uid: null;
|
|
500
|
-
allowed_company_ids: never[];
|
|
501
|
-
lang: string;
|
|
502
|
-
tz: string;
|
|
503
|
-
};
|
|
504
|
-
}>, action: {
|
|
314
|
+
setUser: (state: any, action: {
|
|
505
315
|
payload: any;
|
|
506
316
|
type: string;
|
|
507
317
|
}) => void;
|
|
508
|
-
setConfig: (state:
|
|
509
|
-
baseUrl: string;
|
|
510
|
-
requests: null;
|
|
511
|
-
companies: never[];
|
|
512
|
-
user: {};
|
|
513
|
-
config: null;
|
|
514
|
-
envFile: null;
|
|
515
|
-
defaultCompany: {
|
|
516
|
-
id: null;
|
|
517
|
-
logo: string;
|
|
518
|
-
secondary_color: string;
|
|
519
|
-
primary_color: string;
|
|
520
|
-
};
|
|
521
|
-
context: {
|
|
522
|
-
uid: null;
|
|
523
|
-
allowed_company_ids: never[];
|
|
524
|
-
lang: string;
|
|
525
|
-
tz: string;
|
|
526
|
-
};
|
|
527
|
-
}>, action: {
|
|
318
|
+
setConfig: (state: any, action: {
|
|
528
319
|
payload: any;
|
|
529
320
|
type: string;
|
|
530
321
|
}) => void;
|
|
531
|
-
setEnvFile: (state:
|
|
532
|
-
baseUrl: string;
|
|
533
|
-
requests: null;
|
|
534
|
-
companies: never[];
|
|
535
|
-
user: {};
|
|
536
|
-
config: null;
|
|
537
|
-
envFile: null;
|
|
538
|
-
defaultCompany: {
|
|
539
|
-
id: null;
|
|
540
|
-
logo: string;
|
|
541
|
-
secondary_color: string;
|
|
542
|
-
primary_color: string;
|
|
543
|
-
};
|
|
544
|
-
context: {
|
|
545
|
-
uid: null;
|
|
546
|
-
allowed_company_ids: never[];
|
|
547
|
-
lang: string;
|
|
548
|
-
tz: string;
|
|
549
|
-
};
|
|
550
|
-
}>, action: {
|
|
322
|
+
setEnvFile: (state: any, action: {
|
|
551
323
|
payload: any;
|
|
552
324
|
type: string;
|
|
553
325
|
}) => void;
|
|
554
|
-
}, "env", "env", _reduxjs_toolkit.SliceSelectors<
|
|
555
|
-
baseUrl: string;
|
|
556
|
-
requests: null;
|
|
557
|
-
companies: never[];
|
|
558
|
-
user: {};
|
|
559
|
-
config: null;
|
|
560
|
-
envFile: null;
|
|
561
|
-
defaultCompany: {
|
|
562
|
-
id: null;
|
|
563
|
-
logo: string;
|
|
564
|
-
secondary_color: string;
|
|
565
|
-
primary_color: string;
|
|
566
|
-
};
|
|
567
|
-
context: {
|
|
568
|
-
uid: null;
|
|
569
|
-
allowed_company_ids: never[];
|
|
570
|
-
lang: string;
|
|
571
|
-
tz: string;
|
|
572
|
-
};
|
|
573
|
-
}>>;
|
|
326
|
+
}, "env", "env", _reduxjs_toolkit.SliceSelectors<any>>;
|
|
574
327
|
declare const setEnv: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnv">;
|
|
575
328
|
declare const setUid: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setUid">;
|
|
576
329
|
declare const setLang: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setLang">;
|
|
@@ -580,26 +333,7 @@ declare const setDefaultCompany: _reduxjs_toolkit.ActionCreatorWithPayload<any,
|
|
|
580
333
|
declare const setUser: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setUser">;
|
|
581
334
|
declare const setConfig: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setConfig">;
|
|
582
335
|
declare const setEnvFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnvFile">;
|
|
583
|
-
declare const selectEnv: (state: RootState) =>
|
|
584
|
-
baseUrl: string;
|
|
585
|
-
requests: null;
|
|
586
|
-
companies: never[];
|
|
587
|
-
user: {};
|
|
588
|
-
config: null;
|
|
589
|
-
envFile: null;
|
|
590
|
-
defaultCompany: {
|
|
591
|
-
id: null;
|
|
592
|
-
logo: string;
|
|
593
|
-
secondary_color: string;
|
|
594
|
-
primary_color: string;
|
|
595
|
-
};
|
|
596
|
-
context: {
|
|
597
|
-
uid: null;
|
|
598
|
-
allowed_company_ids: never[];
|
|
599
|
-
lang: string;
|
|
600
|
-
tz: string;
|
|
601
|
-
};
|
|
602
|
-
};
|
|
336
|
+
declare const selectEnv: (state: RootState) => any;
|
|
603
337
|
|
|
604
338
|
declare const headerSlice: _reduxjs_toolkit.Slice<{
|
|
605
339
|
value: {
|
package/dist/store.js
CHANGED
|
@@ -535,6 +535,10 @@ var selectSearch = (state) => state.search;
|
|
|
535
535
|
var selectSearchMap = (state) => state.search.searchMap;
|
|
536
536
|
var search_slice_default = searchSlice.reducer;
|
|
537
537
|
|
|
538
|
+
// src/store/index.ts
|
|
539
|
+
var useAppDispatch = import_react_redux.useDispatch;
|
|
540
|
+
var useAppSelector = import_react_redux.useSelector;
|
|
541
|
+
|
|
538
542
|
// src/store/store.ts
|
|
539
543
|
var import_toolkit11 = require("@reduxjs/toolkit");
|
|
540
544
|
|
|
@@ -726,10 +730,6 @@ var envStore = (0, import_toolkit11.configureStore)({
|
|
|
726
730
|
serializableCheck: false
|
|
727
731
|
})
|
|
728
732
|
});
|
|
729
|
-
|
|
730
|
-
// src/store/index.ts
|
|
731
|
-
var useAppDispatch = import_react_redux.useDispatch;
|
|
732
|
-
var useAppSelector = import_react_redux.useSelector;
|
|
733
733
|
// Annotate the CommonJS export names for ESM import in node:
|
|
734
734
|
0 && (module.exports = {
|
|
735
735
|
breadcrumbsSlice,
|