@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.ts
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;
|
package/dist/store.js
CHANGED
|
@@ -127,11 +127,25 @@ var breadcrums_slice_default = breadcrumbsSlice.reducer;
|
|
|
127
127
|
var import_toolkit2 = require("@reduxjs/toolkit");
|
|
128
128
|
var initialState2 = {
|
|
129
129
|
baseUrl: "",
|
|
130
|
-
requests: null,
|
|
131
130
|
companies: [],
|
|
132
131
|
user: {},
|
|
133
|
-
|
|
132
|
+
db: "",
|
|
133
|
+
refreshTokenEndpoint: "",
|
|
134
|
+
config: {
|
|
135
|
+
grantType: "",
|
|
136
|
+
clientId: "",
|
|
137
|
+
clientSecret: "",
|
|
138
|
+
redirectUri: ""
|
|
139
|
+
},
|
|
134
140
|
envFile: null,
|
|
141
|
+
requests: {
|
|
142
|
+
get: async (url, headers) => ({}),
|
|
143
|
+
post: async (url, body, headers) => ({}),
|
|
144
|
+
post_excel: async (url, body, headers) => ({}),
|
|
145
|
+
put: async (url, body, headers) => ({}),
|
|
146
|
+
patch: async (url, body) => ({}),
|
|
147
|
+
delete: async (url, body) => ({})
|
|
148
|
+
},
|
|
135
149
|
defaultCompany: {
|
|
136
150
|
id: null,
|
|
137
151
|
logo: "",
|
|
@@ -535,10 +549,6 @@ var selectSearch = (state) => state.search;
|
|
|
535
549
|
var selectSearchMap = (state) => state.search.searchMap;
|
|
536
550
|
var search_slice_default = searchSlice.reducer;
|
|
537
551
|
|
|
538
|
-
// src/store/index.ts
|
|
539
|
-
var useAppDispatch = import_react_redux.useDispatch;
|
|
540
|
-
var useAppSelector = import_react_redux.useSelector;
|
|
541
|
-
|
|
542
552
|
// src/store/store.ts
|
|
543
553
|
var import_toolkit11 = require("@reduxjs/toolkit");
|
|
544
554
|
|
|
@@ -730,6 +740,10 @@ var envStore = (0, import_toolkit11.configureStore)({
|
|
|
730
740
|
serializableCheck: false
|
|
731
741
|
})
|
|
732
742
|
});
|
|
743
|
+
|
|
744
|
+
// src/store/index.ts
|
|
745
|
+
var useAppDispatch = import_react_redux.useDispatch;
|
|
746
|
+
var useAppSelector = import_react_redux.useSelector;
|
|
733
747
|
// Annotate the CommonJS export names for ESM import in node:
|
|
734
748
|
0 && (module.exports = {
|
|
735
749
|
breadcrumbsSlice,
|
package/dist/store.mjs
CHANGED
|
@@ -23,11 +23,25 @@ var breadcrums_slice_default = breadcrumbsSlice.reducer;
|
|
|
23
23
|
import { createSlice as createSlice2 } from "@reduxjs/toolkit";
|
|
24
24
|
var initialState2 = {
|
|
25
25
|
baseUrl: "",
|
|
26
|
-
requests: null,
|
|
27
26
|
companies: [],
|
|
28
27
|
user: {},
|
|
29
|
-
|
|
28
|
+
db: "",
|
|
29
|
+
refreshTokenEndpoint: "",
|
|
30
|
+
config: {
|
|
31
|
+
grantType: "",
|
|
32
|
+
clientId: "",
|
|
33
|
+
clientSecret: "",
|
|
34
|
+
redirectUri: ""
|
|
35
|
+
},
|
|
30
36
|
envFile: null,
|
|
37
|
+
requests: {
|
|
38
|
+
get: async (url, headers) => ({}),
|
|
39
|
+
post: async (url, body, headers) => ({}),
|
|
40
|
+
post_excel: async (url, body, headers) => ({}),
|
|
41
|
+
put: async (url, body, headers) => ({}),
|
|
42
|
+
patch: async (url, body) => ({}),
|
|
43
|
+
delete: async (url, body) => ({})
|
|
44
|
+
},
|
|
31
45
|
defaultCompany: {
|
|
32
46
|
id: null,
|
|
33
47
|
logo: "",
|
|
@@ -431,10 +445,6 @@ var selectSearch = (state) => state.search;
|
|
|
431
445
|
var selectSearchMap = (state) => state.search.searchMap;
|
|
432
446
|
var search_slice_default = searchSlice.reducer;
|
|
433
447
|
|
|
434
|
-
// src/store/index.ts
|
|
435
|
-
var useAppDispatch = useDispatch;
|
|
436
|
-
var useAppSelector = useSelector;
|
|
437
|
-
|
|
438
448
|
// src/store/store.ts
|
|
439
449
|
import { configureStore } from "@reduxjs/toolkit";
|
|
440
450
|
|
|
@@ -626,6 +636,10 @@ var envStore = configureStore({
|
|
|
626
636
|
serializableCheck: false
|
|
627
637
|
})
|
|
628
638
|
});
|
|
639
|
+
|
|
640
|
+
// src/store/index.ts
|
|
641
|
+
var useAppDispatch = useDispatch;
|
|
642
|
+
var useAppSelector = useSelector;
|
|
629
643
|
export {
|
|
630
644
|
breadcrumbsSlice,
|
|
631
645
|
clearSearchMap,
|
package/dist/types.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ContextApi, D as DeleteParams, F as ForgotPasswordBody,
|
|
1
|
+
export { C as ContextApi, D as DeleteParams, F as ForgotPasswordBody, e as GetAllParams, c as GetDetailParams, b as GetListParams, G as GetSelectionType, a as GetViewParams, L as LoginCredentialBody, O as OnChangeParams, R as ResetPasswordRequest, d as SaveParams, S as SocialTokenBody, f as Specification, U as UpdatePasswordRequest, g as View, V as ViewData, u as updatePasswordBody } from './view-type-D8ukwj_2.mjs';
|
|
2
2
|
|
|
3
3
|
interface Config {
|
|
4
4
|
baseUrl: string;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ContextApi, D as DeleteParams, F as ForgotPasswordBody,
|
|
1
|
+
export { C as ContextApi, D as DeleteParams, F as ForgotPasswordBody, e as GetAllParams, c as GetDetailParams, b as GetListParams, G as GetSelectionType, a as GetViewParams, L as LoginCredentialBody, O as OnChangeParams, R as ResetPasswordRequest, d as SaveParams, S as SocialTokenBody, f as Specification, U as UpdatePasswordRequest, g as View, V as ViewData, u as updatePasswordBody } from './view-type-D8ukwj_2.js';
|
|
2
2
|
|
|
3
3
|
interface Config {
|
|
4
4
|
baseUrl: string;
|
|
@@ -110,4 +110,4 @@ interface GetViewParams {
|
|
|
110
110
|
aid?: number | string | null | boolean;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
export type { ContextApi as C, DeleteParams as D, ForgotPasswordBody as F,
|
|
113
|
+
export type { ContextApi as C, DeleteParams as D, ForgotPasswordBody as F, GetSelectionType as G, LoginCredentialBody as L, OnChangeParams as O, ResetPasswordRequest as R, SocialTokenBody as S, UpdatePasswordRequest as U, ViewData as V, GetViewParams as a, GetListParams as b, GetDetailParams as c, SaveParams as d, GetAllParams as e, Specification as f, View as g, updatePasswordBody as u };
|
|
@@ -110,4 +110,4 @@ interface GetViewParams {
|
|
|
110
110
|
aid?: number | string | null | boolean;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
export type { ContextApi as C, DeleteParams as D, ForgotPasswordBody as F,
|
|
113
|
+
export type { ContextApi as C, DeleteParams as D, ForgotPasswordBody as F, GetSelectionType as G, LoginCredentialBody as L, OnChangeParams as O, ResetPasswordRequest as R, SocialTokenBody as S, UpdatePasswordRequest as U, ViewData as V, GetViewParams as a, GetListParams as b, GetDetailParams as c, SaveParams as d, GetAllParams as e, Specification as f, View as g, updatePasswordBody as u };
|
package/package.json
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fctc/interface-logic",
|
|
3
|
-
"version": "1.7.
|
|
4
|
-
"types": "dist/index.d.ts",
|
|
5
|
-
"main": "dist/index.cjs",
|
|
6
|
-
"module": "dist/index.mjs",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"types": "./dist/index.d.ts",
|
|
10
|
-
"import": "./dist/index.mjs",
|
|
11
|
-
"require": "./dist/index.cjs"
|
|
12
|
-
},
|
|
13
|
-
"./configs": {
|
|
14
|
-
"types": "./dist/configs.d.ts",
|
|
15
|
-
"import": "./dist/configs.mjs",
|
|
16
|
-
"require": "./dist/configs.cjs"
|
|
17
|
-
},
|
|
18
|
-
"./constants": {
|
|
19
|
-
"types": "./dist/constants.d.ts",
|
|
20
|
-
"import": "./dist/constants.mjs",
|
|
21
|
-
"require": "./dist/constants.cjs"
|
|
22
|
-
},
|
|
23
|
-
"./environment": {
|
|
24
|
-
"types": "./dist/environment.d.ts",
|
|
25
|
-
"import": "./dist/environment.mjs",
|
|
26
|
-
"require": "./dist/environment.cjs"
|
|
27
|
-
},
|
|
28
|
-
"./hooks": {
|
|
29
|
-
"types": "./dist/hooks.d.ts",
|
|
30
|
-
"import": "./dist/hooks.mjs",
|
|
31
|
-
"require": "./dist/hooks.cjs"
|
|
32
|
-
},
|
|
33
|
-
"./provider": {
|
|
34
|
-
"types": "./dist/provider.d.ts",
|
|
35
|
-
"import": "./dist/provider.mjs",
|
|
36
|
-
"require": "./dist/provider.cjs"
|
|
37
|
-
},
|
|
38
|
-
"./services": {
|
|
39
|
-
"types": "./dist/services.d.ts",
|
|
40
|
-
"import": "./dist/services.mjs",
|
|
41
|
-
"require": "./dist/services.cjs"
|
|
42
|
-
},
|
|
43
|
-
"./store": {
|
|
44
|
-
"types": "./dist/store.d.ts",
|
|
45
|
-
"import": "./dist/store.mjs",
|
|
46
|
-
"require": "./dist/store.cjs"
|
|
47
|
-
},
|
|
48
|
-
"./utils": {
|
|
49
|
-
"types": "./dist/utils.d.ts",
|
|
50
|
-
"import": "./dist/utils.mjs",
|
|
51
|
-
"require": "./dist/utils.cjs"
|
|
52
|
-
},
|
|
53
|
-
"./types": {
|
|
54
|
-
"types": "./dist/types.d.ts",
|
|
55
|
-
"import": "./dist/types.mjs",
|
|
56
|
-
"require": "./dist/types.cjs"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"files": [
|
|
60
|
-
"dist"
|
|
61
|
-
],
|
|
62
|
-
"scripts": {
|
|
63
|
-
"build": "tsup",
|
|
64
|
-
"test": "jest"
|
|
65
|
-
},
|
|
66
|
-
"dependencies": {
|
|
67
|
-
"@reduxjs/toolkit": "^2.8.2",
|
|
68
|
-
"@tanstack/react-query": "^5.83.0",
|
|
69
|
-
"axios": "^1.11.0",
|
|
70
|
-
"moment": "^2.30.1",
|
|
71
|
-
"react-redux": "^9.2.0"
|
|
72
|
-
},
|
|
73
|
-
"devDependencies": {
|
|
74
|
-
"@types/react": "^18.3.1",
|
|
75
|
-
"react": "18.0.0",
|
|
76
|
-
"jest": "^29.7.0",
|
|
77
|
-
"tsup": "^8.0.0",
|
|
78
|
-
"typescript": "^5.8.2"
|
|
79
|
-
},
|
|
80
|
-
"packageManager": "yarn@1.22.0"
|
|
81
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@fctc/interface-logic",
|
|
3
|
+
"version": "1.7.4",
|
|
4
|
+
"types": "dist/index.d.ts",
|
|
5
|
+
"main": "dist/index.cjs",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.mjs",
|
|
11
|
+
"require": "./dist/index.cjs"
|
|
12
|
+
},
|
|
13
|
+
"./configs": {
|
|
14
|
+
"types": "./dist/configs.d.ts",
|
|
15
|
+
"import": "./dist/configs.mjs",
|
|
16
|
+
"require": "./dist/configs.cjs"
|
|
17
|
+
},
|
|
18
|
+
"./constants": {
|
|
19
|
+
"types": "./dist/constants.d.ts",
|
|
20
|
+
"import": "./dist/constants.mjs",
|
|
21
|
+
"require": "./dist/constants.cjs"
|
|
22
|
+
},
|
|
23
|
+
"./environment": {
|
|
24
|
+
"types": "./dist/environment.d.ts",
|
|
25
|
+
"import": "./dist/environment.mjs",
|
|
26
|
+
"require": "./dist/environment.cjs"
|
|
27
|
+
},
|
|
28
|
+
"./hooks": {
|
|
29
|
+
"types": "./dist/hooks.d.ts",
|
|
30
|
+
"import": "./dist/hooks.mjs",
|
|
31
|
+
"require": "./dist/hooks.cjs"
|
|
32
|
+
},
|
|
33
|
+
"./provider": {
|
|
34
|
+
"types": "./dist/provider.d.ts",
|
|
35
|
+
"import": "./dist/provider.mjs",
|
|
36
|
+
"require": "./dist/provider.cjs"
|
|
37
|
+
},
|
|
38
|
+
"./services": {
|
|
39
|
+
"types": "./dist/services.d.ts",
|
|
40
|
+
"import": "./dist/services.mjs",
|
|
41
|
+
"require": "./dist/services.cjs"
|
|
42
|
+
},
|
|
43
|
+
"./store": {
|
|
44
|
+
"types": "./dist/store.d.ts",
|
|
45
|
+
"import": "./dist/store.mjs",
|
|
46
|
+
"require": "./dist/store.cjs"
|
|
47
|
+
},
|
|
48
|
+
"./utils": {
|
|
49
|
+
"types": "./dist/utils.d.ts",
|
|
50
|
+
"import": "./dist/utils.mjs",
|
|
51
|
+
"require": "./dist/utils.cjs"
|
|
52
|
+
},
|
|
53
|
+
"./types": {
|
|
54
|
+
"types": "./dist/types.d.ts",
|
|
55
|
+
"import": "./dist/types.mjs",
|
|
56
|
+
"require": "./dist/types.cjs"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"files": [
|
|
60
|
+
"dist"
|
|
61
|
+
],
|
|
62
|
+
"scripts": {
|
|
63
|
+
"build": "tsup",
|
|
64
|
+
"test": "jest"
|
|
65
|
+
},
|
|
66
|
+
"dependencies": {
|
|
67
|
+
"@reduxjs/toolkit": "^2.8.2",
|
|
68
|
+
"@tanstack/react-query": "^5.83.0",
|
|
69
|
+
"axios": "^1.11.0",
|
|
70
|
+
"moment": "^2.30.1",
|
|
71
|
+
"react-redux": "^9.2.0"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"@types/react": "^18.3.1",
|
|
75
|
+
"react": "18.0.0",
|
|
76
|
+
"jest": "^29.7.0",
|
|
77
|
+
"tsup": "^8.0.0",
|
|
78
|
+
"typescript": "^5.8.2"
|
|
79
|
+
},
|
|
80
|
+
"packageManager": "yarn@1.22.0"
|
|
81
|
+
}
|