@fctc/interface-logic 1.7.3 → 1.7.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 +9 -12
- package/dist/configs.mjs +9 -12
- package/dist/environment.d.mts +35 -54
- package/dist/environment.d.ts +35 -54
- package/dist/environment.js +2793 -2869
- package/dist/environment.mjs +2792 -2867
- package/dist/hooks.d.mts +7 -2
- package/dist/hooks.d.ts +7 -2
- package/dist/hooks.js +2733 -3010
- package/dist/hooks.mjs +2685 -2963
- package/dist/provider.js +19 -327
- package/dist/provider.mjs +19 -327
- package/dist/services.d.mts +2 -1
- package/dist/services.d.ts +2 -1
- package/dist/services.js +2560 -2853
- package/dist/services.mjs +2560 -2853
- package/dist/store.d.mts +224 -28
- package/dist/store.d.ts +224 -28
- package/dist/store.js +20 -6
- package/dist/store.mjs +20 -6
- 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 +81 -81
package/dist/store.d.mts
CHANGED
|
@@ -255,11 +255,25 @@ declare const selectNavbar: (state: RootState) => NavbarStateType;
|
|
|
255
255
|
declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
256
256
|
env: {
|
|
257
257
|
baseUrl: string;
|
|
258
|
-
requests: null;
|
|
259
258
|
companies: never[];
|
|
260
259
|
user: {};
|
|
261
|
-
|
|
260
|
+
db: string;
|
|
261
|
+
refreshTokenEndpoint: string;
|
|
262
|
+
config: {
|
|
263
|
+
grantType: string;
|
|
264
|
+
clientId: string;
|
|
265
|
+
clientSecret: string;
|
|
266
|
+
redirectUri: string;
|
|
267
|
+
};
|
|
262
268
|
envFile: null;
|
|
269
|
+
requests: {
|
|
270
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
271
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
272
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
273
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
274
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
275
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
276
|
+
};
|
|
263
277
|
defaultCompany: {
|
|
264
278
|
id: null;
|
|
265
279
|
logo: string;
|
|
@@ -290,11 +304,25 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
290
304
|
dispatch: redux_thunk.ThunkDispatch<{
|
|
291
305
|
env: {
|
|
292
306
|
baseUrl: string;
|
|
293
|
-
requests: null;
|
|
294
307
|
companies: never[];
|
|
295
308
|
user: {};
|
|
296
|
-
|
|
309
|
+
db: string;
|
|
310
|
+
refreshTokenEndpoint: string;
|
|
311
|
+
config: {
|
|
312
|
+
grantType: string;
|
|
313
|
+
clientId: string;
|
|
314
|
+
clientSecret: string;
|
|
315
|
+
redirectUri: string;
|
|
316
|
+
};
|
|
297
317
|
envFile: null;
|
|
318
|
+
requests: {
|
|
319
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
320
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
321
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
322
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
323
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
324
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
325
|
+
};
|
|
298
326
|
defaultCompany: {
|
|
299
327
|
id: null;
|
|
300
328
|
logo: string;
|
|
@@ -326,11 +354,25 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
326
354
|
|
|
327
355
|
declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
328
356
|
baseUrl: string;
|
|
329
|
-
requests: null;
|
|
330
357
|
companies: never[];
|
|
331
358
|
user: {};
|
|
332
|
-
|
|
359
|
+
db: string;
|
|
360
|
+
refreshTokenEndpoint: string;
|
|
361
|
+
config: {
|
|
362
|
+
grantType: string;
|
|
363
|
+
clientId: string;
|
|
364
|
+
clientSecret: string;
|
|
365
|
+
redirectUri: string;
|
|
366
|
+
};
|
|
333
367
|
envFile: null;
|
|
368
|
+
requests: {
|
|
369
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
370
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
371
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
372
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
373
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
374
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
375
|
+
};
|
|
334
376
|
defaultCompany: {
|
|
335
377
|
id: null;
|
|
336
378
|
logo: string;
|
|
@@ -346,11 +388,25 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
346
388
|
}, {
|
|
347
389
|
setEnv: (state: immer.WritableDraft<{
|
|
348
390
|
baseUrl: string;
|
|
349
|
-
requests: null;
|
|
350
391
|
companies: never[];
|
|
351
392
|
user: {};
|
|
352
|
-
|
|
393
|
+
db: string;
|
|
394
|
+
refreshTokenEndpoint: string;
|
|
395
|
+
config: {
|
|
396
|
+
grantType: string;
|
|
397
|
+
clientId: string;
|
|
398
|
+
clientSecret: string;
|
|
399
|
+
redirectUri: string;
|
|
400
|
+
};
|
|
353
401
|
envFile: null;
|
|
402
|
+
requests: {
|
|
403
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
404
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
405
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
406
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
407
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
408
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
409
|
+
};
|
|
354
410
|
defaultCompany: {
|
|
355
411
|
id: null;
|
|
356
412
|
logo: string;
|
|
@@ -369,11 +425,25 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
369
425
|
}) => void;
|
|
370
426
|
setUid: (state: immer.WritableDraft<{
|
|
371
427
|
baseUrl: string;
|
|
372
|
-
requests: null;
|
|
373
428
|
companies: never[];
|
|
374
429
|
user: {};
|
|
375
|
-
|
|
430
|
+
db: string;
|
|
431
|
+
refreshTokenEndpoint: string;
|
|
432
|
+
config: {
|
|
433
|
+
grantType: string;
|
|
434
|
+
clientId: string;
|
|
435
|
+
clientSecret: string;
|
|
436
|
+
redirectUri: string;
|
|
437
|
+
};
|
|
376
438
|
envFile: null;
|
|
439
|
+
requests: {
|
|
440
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
441
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
442
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
443
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
444
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
445
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
446
|
+
};
|
|
377
447
|
defaultCompany: {
|
|
378
448
|
id: null;
|
|
379
449
|
logo: string;
|
|
@@ -392,11 +462,25 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
392
462
|
}) => void;
|
|
393
463
|
setAllowCompanies: (state: immer.WritableDraft<{
|
|
394
464
|
baseUrl: string;
|
|
395
|
-
requests: null;
|
|
396
465
|
companies: never[];
|
|
397
466
|
user: {};
|
|
398
|
-
|
|
467
|
+
db: string;
|
|
468
|
+
refreshTokenEndpoint: string;
|
|
469
|
+
config: {
|
|
470
|
+
grantType: string;
|
|
471
|
+
clientId: string;
|
|
472
|
+
clientSecret: string;
|
|
473
|
+
redirectUri: string;
|
|
474
|
+
};
|
|
399
475
|
envFile: null;
|
|
476
|
+
requests: {
|
|
477
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
478
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
479
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
480
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
481
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
482
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
483
|
+
};
|
|
400
484
|
defaultCompany: {
|
|
401
485
|
id: null;
|
|
402
486
|
logo: string;
|
|
@@ -415,11 +499,25 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
415
499
|
}) => void;
|
|
416
500
|
setCompanies: (state: immer.WritableDraft<{
|
|
417
501
|
baseUrl: string;
|
|
418
|
-
requests: null;
|
|
419
502
|
companies: never[];
|
|
420
503
|
user: {};
|
|
421
|
-
|
|
504
|
+
db: string;
|
|
505
|
+
refreshTokenEndpoint: string;
|
|
506
|
+
config: {
|
|
507
|
+
grantType: string;
|
|
508
|
+
clientId: string;
|
|
509
|
+
clientSecret: string;
|
|
510
|
+
redirectUri: string;
|
|
511
|
+
};
|
|
422
512
|
envFile: null;
|
|
513
|
+
requests: {
|
|
514
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
515
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
516
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
517
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
518
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
519
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
520
|
+
};
|
|
423
521
|
defaultCompany: {
|
|
424
522
|
id: null;
|
|
425
523
|
logo: string;
|
|
@@ -438,11 +536,25 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
438
536
|
}) => void;
|
|
439
537
|
setDefaultCompany: (state: immer.WritableDraft<{
|
|
440
538
|
baseUrl: string;
|
|
441
|
-
requests: null;
|
|
442
539
|
companies: never[];
|
|
443
540
|
user: {};
|
|
444
|
-
|
|
541
|
+
db: string;
|
|
542
|
+
refreshTokenEndpoint: string;
|
|
543
|
+
config: {
|
|
544
|
+
grantType: string;
|
|
545
|
+
clientId: string;
|
|
546
|
+
clientSecret: string;
|
|
547
|
+
redirectUri: string;
|
|
548
|
+
};
|
|
445
549
|
envFile: null;
|
|
550
|
+
requests: {
|
|
551
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
552
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
553
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
554
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
555
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
556
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
557
|
+
};
|
|
446
558
|
defaultCompany: {
|
|
447
559
|
id: null;
|
|
448
560
|
logo: string;
|
|
@@ -461,11 +573,25 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
461
573
|
}) => void;
|
|
462
574
|
setLang: (state: immer.WritableDraft<{
|
|
463
575
|
baseUrl: string;
|
|
464
|
-
requests: null;
|
|
465
576
|
companies: never[];
|
|
466
577
|
user: {};
|
|
467
|
-
|
|
578
|
+
db: string;
|
|
579
|
+
refreshTokenEndpoint: string;
|
|
580
|
+
config: {
|
|
581
|
+
grantType: string;
|
|
582
|
+
clientId: string;
|
|
583
|
+
clientSecret: string;
|
|
584
|
+
redirectUri: string;
|
|
585
|
+
};
|
|
468
586
|
envFile: null;
|
|
587
|
+
requests: {
|
|
588
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
589
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
590
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
591
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
592
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
593
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
594
|
+
};
|
|
469
595
|
defaultCompany: {
|
|
470
596
|
id: null;
|
|
471
597
|
logo: string;
|
|
@@ -484,11 +610,25 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
484
610
|
}) => void;
|
|
485
611
|
setUser: (state: immer.WritableDraft<{
|
|
486
612
|
baseUrl: string;
|
|
487
|
-
requests: null;
|
|
488
613
|
companies: never[];
|
|
489
614
|
user: {};
|
|
490
|
-
|
|
615
|
+
db: string;
|
|
616
|
+
refreshTokenEndpoint: string;
|
|
617
|
+
config: {
|
|
618
|
+
grantType: string;
|
|
619
|
+
clientId: string;
|
|
620
|
+
clientSecret: string;
|
|
621
|
+
redirectUri: string;
|
|
622
|
+
};
|
|
491
623
|
envFile: null;
|
|
624
|
+
requests: {
|
|
625
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
626
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
627
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
628
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
629
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
630
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
631
|
+
};
|
|
492
632
|
defaultCompany: {
|
|
493
633
|
id: null;
|
|
494
634
|
logo: string;
|
|
@@ -507,11 +647,25 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
507
647
|
}) => void;
|
|
508
648
|
setConfig: (state: immer.WritableDraft<{
|
|
509
649
|
baseUrl: string;
|
|
510
|
-
requests: null;
|
|
511
650
|
companies: never[];
|
|
512
651
|
user: {};
|
|
513
|
-
|
|
652
|
+
db: string;
|
|
653
|
+
refreshTokenEndpoint: string;
|
|
654
|
+
config: {
|
|
655
|
+
grantType: string;
|
|
656
|
+
clientId: string;
|
|
657
|
+
clientSecret: string;
|
|
658
|
+
redirectUri: string;
|
|
659
|
+
};
|
|
514
660
|
envFile: null;
|
|
661
|
+
requests: {
|
|
662
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
663
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
664
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
665
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
666
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
667
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
668
|
+
};
|
|
515
669
|
defaultCompany: {
|
|
516
670
|
id: null;
|
|
517
671
|
logo: string;
|
|
@@ -530,11 +684,25 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
530
684
|
}) => void;
|
|
531
685
|
setEnvFile: (state: immer.WritableDraft<{
|
|
532
686
|
baseUrl: string;
|
|
533
|
-
requests: null;
|
|
534
687
|
companies: never[];
|
|
535
688
|
user: {};
|
|
536
|
-
|
|
689
|
+
db: string;
|
|
690
|
+
refreshTokenEndpoint: string;
|
|
691
|
+
config: {
|
|
692
|
+
grantType: string;
|
|
693
|
+
clientId: string;
|
|
694
|
+
clientSecret: string;
|
|
695
|
+
redirectUri: string;
|
|
696
|
+
};
|
|
537
697
|
envFile: null;
|
|
698
|
+
requests: {
|
|
699
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
700
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
701
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
702
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
703
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
704
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
705
|
+
};
|
|
538
706
|
defaultCompany: {
|
|
539
707
|
id: null;
|
|
540
708
|
logo: string;
|
|
@@ -553,11 +721,25 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
553
721
|
}) => void;
|
|
554
722
|
}, "env", "env", _reduxjs_toolkit.SliceSelectors<{
|
|
555
723
|
baseUrl: string;
|
|
556
|
-
requests: null;
|
|
557
724
|
companies: never[];
|
|
558
725
|
user: {};
|
|
559
|
-
|
|
726
|
+
db: string;
|
|
727
|
+
refreshTokenEndpoint: string;
|
|
728
|
+
config: {
|
|
729
|
+
grantType: string;
|
|
730
|
+
clientId: string;
|
|
731
|
+
clientSecret: string;
|
|
732
|
+
redirectUri: string;
|
|
733
|
+
};
|
|
560
734
|
envFile: null;
|
|
735
|
+
requests: {
|
|
736
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
737
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
738
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
739
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
740
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
741
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
742
|
+
};
|
|
561
743
|
defaultCompany: {
|
|
562
744
|
id: null;
|
|
563
745
|
logo: string;
|
|
@@ -582,11 +764,25 @@ declare const setConfig: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/set
|
|
|
582
764
|
declare const setEnvFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnvFile">;
|
|
583
765
|
declare const selectEnv: (state: RootState) => {
|
|
584
766
|
baseUrl: string;
|
|
585
|
-
requests: null;
|
|
586
767
|
companies: never[];
|
|
587
768
|
user: {};
|
|
588
|
-
|
|
769
|
+
db: string;
|
|
770
|
+
refreshTokenEndpoint: string;
|
|
771
|
+
config: {
|
|
772
|
+
grantType: string;
|
|
773
|
+
clientId: string;
|
|
774
|
+
clientSecret: string;
|
|
775
|
+
redirectUri: string;
|
|
776
|
+
};
|
|
589
777
|
envFile: null;
|
|
778
|
+
requests: {
|
|
779
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
780
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
781
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
782
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
783
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
784
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
785
|
+
};
|
|
590
786
|
defaultCompany: {
|
|
591
787
|
id: null;
|
|
592
788
|
logo: string;
|