@fctc/interface-logic 1.7.4 → 1.7.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.d.mts +4 -1
- package/dist/configs.d.ts +4 -1
- package/dist/configs.js +12 -9
- package/dist/configs.mjs +12 -9
- package/dist/environment.d.mts +55 -35
- package/dist/environment.d.ts +55 -35
- package/dist/environment.js +1311 -1232
- package/dist/environment.mjs +1309 -1231
- package/dist/hooks.d.mts +2 -7
- package/dist/hooks.d.ts +2 -7
- package/dist/hooks.js +2175 -1896
- package/dist/hooks.mjs +2960 -2680
- package/dist/provider.js +329 -19
- package/dist/provider.mjs +329 -19
- package/dist/services.d.mts +1 -2
- package/dist/services.d.ts +1 -2
- package/dist/services.js +2001 -1706
- package/dist/services.mjs +2001 -1706
- package/dist/store.d.mts +28 -224
- package/dist/store.d.ts +28 -224
- package/dist/store.js +6 -20
- package/dist/store.mjs +6 -20
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/{view-type-D8ukwj_2.d.mts → view-type-BGJfDe73.d.mts} +1 -1
- package/dist/{view-type-D8ukwj_2.d.ts → view-type-BGJfDe73.d.ts} +1 -1
- package/package.json +81 -81
package/dist/store.d.ts
CHANGED
|
@@ -255,25 +255,11 @@ declare const selectNavbar: (state: RootState) => NavbarStateType;
|
|
|
255
255
|
declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
256
256
|
env: {
|
|
257
257
|
baseUrl: string;
|
|
258
|
+
requests: null;
|
|
258
259
|
companies: never[];
|
|
259
260
|
user: {};
|
|
260
|
-
|
|
261
|
-
refreshTokenEndpoint: string;
|
|
262
|
-
config: {
|
|
263
|
-
grantType: string;
|
|
264
|
-
clientId: string;
|
|
265
|
-
clientSecret: string;
|
|
266
|
-
redirectUri: string;
|
|
267
|
-
};
|
|
261
|
+
config: null;
|
|
268
262
|
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
|
-
};
|
|
277
263
|
defaultCompany: {
|
|
278
264
|
id: null;
|
|
279
265
|
logo: string;
|
|
@@ -304,25 +290,11 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
304
290
|
dispatch: redux_thunk.ThunkDispatch<{
|
|
305
291
|
env: {
|
|
306
292
|
baseUrl: string;
|
|
293
|
+
requests: null;
|
|
307
294
|
companies: never[];
|
|
308
295
|
user: {};
|
|
309
|
-
|
|
310
|
-
refreshTokenEndpoint: string;
|
|
311
|
-
config: {
|
|
312
|
-
grantType: string;
|
|
313
|
-
clientId: string;
|
|
314
|
-
clientSecret: string;
|
|
315
|
-
redirectUri: string;
|
|
316
|
-
};
|
|
296
|
+
config: null;
|
|
317
297
|
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
|
-
};
|
|
326
298
|
defaultCompany: {
|
|
327
299
|
id: null;
|
|
328
300
|
logo: string;
|
|
@@ -354,25 +326,11 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
354
326
|
|
|
355
327
|
declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
356
328
|
baseUrl: string;
|
|
329
|
+
requests: null;
|
|
357
330
|
companies: never[];
|
|
358
331
|
user: {};
|
|
359
|
-
|
|
360
|
-
refreshTokenEndpoint: string;
|
|
361
|
-
config: {
|
|
362
|
-
grantType: string;
|
|
363
|
-
clientId: string;
|
|
364
|
-
clientSecret: string;
|
|
365
|
-
redirectUri: string;
|
|
366
|
-
};
|
|
332
|
+
config: null;
|
|
367
333
|
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
|
-
};
|
|
376
334
|
defaultCompany: {
|
|
377
335
|
id: null;
|
|
378
336
|
logo: string;
|
|
@@ -388,25 +346,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
388
346
|
}, {
|
|
389
347
|
setEnv: (state: immer.WritableDraft<{
|
|
390
348
|
baseUrl: string;
|
|
349
|
+
requests: null;
|
|
391
350
|
companies: never[];
|
|
392
351
|
user: {};
|
|
393
|
-
|
|
394
|
-
refreshTokenEndpoint: string;
|
|
395
|
-
config: {
|
|
396
|
-
grantType: string;
|
|
397
|
-
clientId: string;
|
|
398
|
-
clientSecret: string;
|
|
399
|
-
redirectUri: string;
|
|
400
|
-
};
|
|
352
|
+
config: null;
|
|
401
353
|
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
|
-
};
|
|
410
354
|
defaultCompany: {
|
|
411
355
|
id: null;
|
|
412
356
|
logo: string;
|
|
@@ -425,25 +369,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
425
369
|
}) => void;
|
|
426
370
|
setUid: (state: immer.WritableDraft<{
|
|
427
371
|
baseUrl: string;
|
|
372
|
+
requests: null;
|
|
428
373
|
companies: never[];
|
|
429
374
|
user: {};
|
|
430
|
-
|
|
431
|
-
refreshTokenEndpoint: string;
|
|
432
|
-
config: {
|
|
433
|
-
grantType: string;
|
|
434
|
-
clientId: string;
|
|
435
|
-
clientSecret: string;
|
|
436
|
-
redirectUri: string;
|
|
437
|
-
};
|
|
375
|
+
config: null;
|
|
438
376
|
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
|
-
};
|
|
447
377
|
defaultCompany: {
|
|
448
378
|
id: null;
|
|
449
379
|
logo: string;
|
|
@@ -462,25 +392,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
462
392
|
}) => void;
|
|
463
393
|
setAllowCompanies: (state: immer.WritableDraft<{
|
|
464
394
|
baseUrl: string;
|
|
395
|
+
requests: null;
|
|
465
396
|
companies: never[];
|
|
466
397
|
user: {};
|
|
467
|
-
|
|
468
|
-
refreshTokenEndpoint: string;
|
|
469
|
-
config: {
|
|
470
|
-
grantType: string;
|
|
471
|
-
clientId: string;
|
|
472
|
-
clientSecret: string;
|
|
473
|
-
redirectUri: string;
|
|
474
|
-
};
|
|
398
|
+
config: null;
|
|
475
399
|
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
|
-
};
|
|
484
400
|
defaultCompany: {
|
|
485
401
|
id: null;
|
|
486
402
|
logo: string;
|
|
@@ -499,25 +415,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
499
415
|
}) => void;
|
|
500
416
|
setCompanies: (state: immer.WritableDraft<{
|
|
501
417
|
baseUrl: string;
|
|
418
|
+
requests: null;
|
|
502
419
|
companies: never[];
|
|
503
420
|
user: {};
|
|
504
|
-
|
|
505
|
-
refreshTokenEndpoint: string;
|
|
506
|
-
config: {
|
|
507
|
-
grantType: string;
|
|
508
|
-
clientId: string;
|
|
509
|
-
clientSecret: string;
|
|
510
|
-
redirectUri: string;
|
|
511
|
-
};
|
|
421
|
+
config: null;
|
|
512
422
|
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
|
-
};
|
|
521
423
|
defaultCompany: {
|
|
522
424
|
id: null;
|
|
523
425
|
logo: string;
|
|
@@ -536,25 +438,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
536
438
|
}) => void;
|
|
537
439
|
setDefaultCompany: (state: immer.WritableDraft<{
|
|
538
440
|
baseUrl: string;
|
|
441
|
+
requests: null;
|
|
539
442
|
companies: never[];
|
|
540
443
|
user: {};
|
|
541
|
-
|
|
542
|
-
refreshTokenEndpoint: string;
|
|
543
|
-
config: {
|
|
544
|
-
grantType: string;
|
|
545
|
-
clientId: string;
|
|
546
|
-
clientSecret: string;
|
|
547
|
-
redirectUri: string;
|
|
548
|
-
};
|
|
444
|
+
config: null;
|
|
549
445
|
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
|
-
};
|
|
558
446
|
defaultCompany: {
|
|
559
447
|
id: null;
|
|
560
448
|
logo: string;
|
|
@@ -573,25 +461,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
573
461
|
}) => void;
|
|
574
462
|
setLang: (state: immer.WritableDraft<{
|
|
575
463
|
baseUrl: string;
|
|
464
|
+
requests: null;
|
|
576
465
|
companies: never[];
|
|
577
466
|
user: {};
|
|
578
|
-
|
|
579
|
-
refreshTokenEndpoint: string;
|
|
580
|
-
config: {
|
|
581
|
-
grantType: string;
|
|
582
|
-
clientId: string;
|
|
583
|
-
clientSecret: string;
|
|
584
|
-
redirectUri: string;
|
|
585
|
-
};
|
|
467
|
+
config: null;
|
|
586
468
|
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
|
-
};
|
|
595
469
|
defaultCompany: {
|
|
596
470
|
id: null;
|
|
597
471
|
logo: string;
|
|
@@ -610,25 +484,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
610
484
|
}) => void;
|
|
611
485
|
setUser: (state: immer.WritableDraft<{
|
|
612
486
|
baseUrl: string;
|
|
487
|
+
requests: null;
|
|
613
488
|
companies: never[];
|
|
614
489
|
user: {};
|
|
615
|
-
|
|
616
|
-
refreshTokenEndpoint: string;
|
|
617
|
-
config: {
|
|
618
|
-
grantType: string;
|
|
619
|
-
clientId: string;
|
|
620
|
-
clientSecret: string;
|
|
621
|
-
redirectUri: string;
|
|
622
|
-
};
|
|
490
|
+
config: null;
|
|
623
491
|
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
|
-
};
|
|
632
492
|
defaultCompany: {
|
|
633
493
|
id: null;
|
|
634
494
|
logo: string;
|
|
@@ -647,25 +507,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
647
507
|
}) => void;
|
|
648
508
|
setConfig: (state: immer.WritableDraft<{
|
|
649
509
|
baseUrl: string;
|
|
510
|
+
requests: null;
|
|
650
511
|
companies: never[];
|
|
651
512
|
user: {};
|
|
652
|
-
|
|
653
|
-
refreshTokenEndpoint: string;
|
|
654
|
-
config: {
|
|
655
|
-
grantType: string;
|
|
656
|
-
clientId: string;
|
|
657
|
-
clientSecret: string;
|
|
658
|
-
redirectUri: string;
|
|
659
|
-
};
|
|
513
|
+
config: null;
|
|
660
514
|
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
|
-
};
|
|
669
515
|
defaultCompany: {
|
|
670
516
|
id: null;
|
|
671
517
|
logo: string;
|
|
@@ -684,25 +530,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
684
530
|
}) => void;
|
|
685
531
|
setEnvFile: (state: immer.WritableDraft<{
|
|
686
532
|
baseUrl: string;
|
|
533
|
+
requests: null;
|
|
687
534
|
companies: never[];
|
|
688
535
|
user: {};
|
|
689
|
-
|
|
690
|
-
refreshTokenEndpoint: string;
|
|
691
|
-
config: {
|
|
692
|
-
grantType: string;
|
|
693
|
-
clientId: string;
|
|
694
|
-
clientSecret: string;
|
|
695
|
-
redirectUri: string;
|
|
696
|
-
};
|
|
536
|
+
config: null;
|
|
697
537
|
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
|
-
};
|
|
706
538
|
defaultCompany: {
|
|
707
539
|
id: null;
|
|
708
540
|
logo: string;
|
|
@@ -721,25 +553,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
721
553
|
}) => void;
|
|
722
554
|
}, "env", "env", _reduxjs_toolkit.SliceSelectors<{
|
|
723
555
|
baseUrl: string;
|
|
556
|
+
requests: null;
|
|
724
557
|
companies: never[];
|
|
725
558
|
user: {};
|
|
726
|
-
|
|
727
|
-
refreshTokenEndpoint: string;
|
|
728
|
-
config: {
|
|
729
|
-
grantType: string;
|
|
730
|
-
clientId: string;
|
|
731
|
-
clientSecret: string;
|
|
732
|
-
redirectUri: string;
|
|
733
|
-
};
|
|
559
|
+
config: null;
|
|
734
560
|
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
|
-
};
|
|
743
561
|
defaultCompany: {
|
|
744
562
|
id: null;
|
|
745
563
|
logo: string;
|
|
@@ -764,25 +582,11 @@ declare const setConfig: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/set
|
|
|
764
582
|
declare const setEnvFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnvFile">;
|
|
765
583
|
declare const selectEnv: (state: RootState) => {
|
|
766
584
|
baseUrl: string;
|
|
585
|
+
requests: null;
|
|
767
586
|
companies: never[];
|
|
768
587
|
user: {};
|
|
769
|
-
|
|
770
|
-
refreshTokenEndpoint: string;
|
|
771
|
-
config: {
|
|
772
|
-
grantType: string;
|
|
773
|
-
clientId: string;
|
|
774
|
-
clientSecret: string;
|
|
775
|
-
redirectUri: string;
|
|
776
|
-
};
|
|
588
|
+
config: null;
|
|
777
589
|
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
|
-
};
|
|
786
590
|
defaultCompany: {
|
|
787
591
|
id: null;
|
|
788
592
|
logo: string;
|
package/dist/store.js
CHANGED
|
@@ -127,25 +127,11 @@ var breadcrums_slice_default = breadcrumbsSlice.reducer;
|
|
|
127
127
|
var import_toolkit2 = require("@reduxjs/toolkit");
|
|
128
128
|
var initialState2 = {
|
|
129
129
|
baseUrl: "",
|
|
130
|
+
requests: null,
|
|
130
131
|
companies: [],
|
|
131
132
|
user: {},
|
|
132
|
-
|
|
133
|
-
refreshTokenEndpoint: "",
|
|
134
|
-
config: {
|
|
135
|
-
grantType: "",
|
|
136
|
-
clientId: "",
|
|
137
|
-
clientSecret: "",
|
|
138
|
-
redirectUri: ""
|
|
139
|
-
},
|
|
133
|
+
config: null,
|
|
140
134
|
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
|
-
},
|
|
149
135
|
defaultCompany: {
|
|
150
136
|
id: null,
|
|
151
137
|
logo: "",
|
|
@@ -549,6 +535,10 @@ var selectSearch = (state) => state.search;
|
|
|
549
535
|
var selectSearchMap = (state) => state.search.searchMap;
|
|
550
536
|
var search_slice_default = searchSlice.reducer;
|
|
551
537
|
|
|
538
|
+
// src/store/index.ts
|
|
539
|
+
var useAppDispatch = import_react_redux.useDispatch;
|
|
540
|
+
var useAppSelector = import_react_redux.useSelector;
|
|
541
|
+
|
|
552
542
|
// src/store/store.ts
|
|
553
543
|
var import_toolkit11 = require("@reduxjs/toolkit");
|
|
554
544
|
|
|
@@ -740,10 +730,6 @@ var envStore = (0, import_toolkit11.configureStore)({
|
|
|
740
730
|
serializableCheck: false
|
|
741
731
|
})
|
|
742
732
|
});
|
|
743
|
-
|
|
744
|
-
// src/store/index.ts
|
|
745
|
-
var useAppDispatch = import_react_redux.useDispatch;
|
|
746
|
-
var useAppSelector = import_react_redux.useSelector;
|
|
747
733
|
// Annotate the CommonJS export names for ESM import in node:
|
|
748
734
|
0 && (module.exports = {
|
|
749
735
|
breadcrumbsSlice,
|
package/dist/store.mjs
CHANGED
|
@@ -23,25 +23,11 @@ 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,
|
|
26
27
|
companies: [],
|
|
27
28
|
user: {},
|
|
28
|
-
|
|
29
|
-
refreshTokenEndpoint: "",
|
|
30
|
-
config: {
|
|
31
|
-
grantType: "",
|
|
32
|
-
clientId: "",
|
|
33
|
-
clientSecret: "",
|
|
34
|
-
redirectUri: ""
|
|
35
|
-
},
|
|
29
|
+
config: null,
|
|
36
30
|
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
|
-
},
|
|
45
31
|
defaultCompany: {
|
|
46
32
|
id: null,
|
|
47
33
|
logo: "",
|
|
@@ -445,6 +431,10 @@ var selectSearch = (state) => state.search;
|
|
|
445
431
|
var selectSearchMap = (state) => state.search.searchMap;
|
|
446
432
|
var search_slice_default = searchSlice.reducer;
|
|
447
433
|
|
|
434
|
+
// src/store/index.ts
|
|
435
|
+
var useAppDispatch = useDispatch;
|
|
436
|
+
var useAppSelector = useSelector;
|
|
437
|
+
|
|
448
438
|
// src/store/store.ts
|
|
449
439
|
import { configureStore } from "@reduxjs/toolkit";
|
|
450
440
|
|
|
@@ -636,10 +626,6 @@ var envStore = configureStore({
|
|
|
636
626
|
serializableCheck: false
|
|
637
627
|
})
|
|
638
628
|
});
|
|
639
|
-
|
|
640
|
-
// src/store/index.ts
|
|
641
|
-
var useAppDispatch = useDispatch;
|
|
642
|
-
var useAppSelector = useSelector;
|
|
643
629
|
export {
|
|
644
630
|
breadcrumbsSlice,
|
|
645
631
|
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, G as GetAllParams, a as GetDetailParams, b as GetListParams, c as GetSelectionType, f as GetViewParams, L as LoginCredentialBody, O as OnChangeParams, R as ResetPasswordRequest, S as SaveParams, d as SocialTokenBody, e as Specification, U as UpdatePasswordRequest, g as View, V as ViewData, u as updatePasswordBody } from './view-type-BGJfDe73.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, G as GetAllParams, a as GetDetailParams, b as GetListParams, c as GetSelectionType, f as GetViewParams, L as LoginCredentialBody, O as OnChangeParams, R as ResetPasswordRequest, S as SaveParams, d as SocialTokenBody, e as Specification, U as UpdatePasswordRequest, g as View, V as ViewData, u as updatePasswordBody } from './view-type-BGJfDe73.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, GetAllParams as G, LoginCredentialBody as L, OnChangeParams as O, ResetPasswordRequest as R, SaveParams as S, UpdatePasswordRequest as U, ViewData as V, GetDetailParams as a, GetListParams as b, GetSelectionType as c, SocialTokenBody as d, Specification as e, GetViewParams 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, GetAllParams as G, LoginCredentialBody as L, OnChangeParams as O, ResetPasswordRequest as R, SaveParams as S, UpdatePasswordRequest as U, ViewData as V, GetDetailParams as a, GetListParams as b, GetSelectionType as c, SocialTokenBody as d, Specification as e, GetViewParams 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.6",
|
|
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
|
+
}
|