@fctc/widget-logic 1.2.8 → 1.2.10

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.
@@ -0,0 +1,7 @@
1
+ export * from '@fctc/interface-logic/config';
2
+ import '@fctc/interface-logic/constants';
3
+ import '@fctc/interface-logic/environment';
4
+ import '@fctc/interface-logic/store';
5
+ import '@fctc/interface-logic/model';
6
+ import '@fctc/interface-logic/provider';
7
+ import '@fctc/interface-logic/services';
@@ -0,0 +1,7 @@
1
+ export * from '@fctc/interface-logic/config';
2
+ import '@fctc/interface-logic/constants';
3
+ import '@fctc/interface-logic/environment';
4
+ import '@fctc/interface-logic/store';
5
+ import '@fctc/interface-logic/model';
6
+ import '@fctc/interface-logic/provider';
7
+ import '@fctc/interface-logic/services';
package/dist/config.js ADDED
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/config.ts
18
+ var config_exports = {};
19
+ module.exports = __toCommonJS(config_exports);
20
+ __reExport(config_exports, require("@fctc/interface-logic/config"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@fctc/interface-logic/config")
24
+ });
@@ -0,0 +1,2 @@
1
+ // src/config.ts
2
+ export * from "@fctc/interface-logic/config";
@@ -0,0 +1 @@
1
+ export * from '@fctc/interface-logic/constants';
@@ -0,0 +1 @@
1
+ export * from '@fctc/interface-logic/constants';
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/constants.ts
18
+ var constants_exports = {};
19
+ module.exports = __toCommonJS(constants_exports);
20
+ __reExport(constants_exports, require("@fctc/interface-logic/constants"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@fctc/interface-logic/constants")
24
+ });
@@ -0,0 +1,2 @@
1
+ // src/constants.ts
2
+ export * from "@fctc/interface-logic/constants";
@@ -0,0 +1 @@
1
+ export * from '@fctc/interface-logic/environment';
@@ -0,0 +1 @@
1
+ export * from '@fctc/interface-logic/environment';
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/environment.ts
18
+ var environment_exports = {};
19
+ module.exports = __toCommonJS(environment_exports);
20
+ __reExport(environment_exports, require("@fctc/interface-logic/environment"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@fctc/interface-logic/environment")
24
+ });
@@ -0,0 +1,2 @@
1
+ // src/environment.ts
2
+ export * from "@fctc/interface-logic/environment";
package/dist/hooks.d.mts CHANGED
@@ -1,7 +1,8 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import * as react from 'react';
3
3
  import { RefObject } from 'react';
4
- import { Context as Context$1 } from '@fctc/interface-logic';
4
+ import { Context } from '@fctc/interface-logic';
5
+ export * from '@fctc/interface-logic/hooks';
5
6
 
6
7
  declare const useCallAction: () => readonly [ActionResult | undefined, ({ aid, actionType, }: {
7
8
  aid: number;
@@ -467,7 +468,7 @@ declare const useListData: ({ action, context, viewResponse, }: {
467
468
  type useListDataType = ReturnType<typeof useListData>;
468
469
 
469
470
  declare const useMenu: ({ context }: {
470
- context: Context$1;
471
+ context: Context;
471
472
  }) => {
472
473
  data: Record[] | undefined;
473
474
  action: {
@@ -477,7 +478,7 @@ declare const useMenu: ({ context }: {
477
478
  }) => Promise<void>;
478
479
  };
479
480
  state: any;
480
- context: Context$1;
481
+ context: Context;
481
482
  error: Error;
482
483
  isError: true;
483
484
  isPending: false;
@@ -512,7 +513,7 @@ declare const useMenu: ({ context }: {
512
513
  }) => Promise<void>;
513
514
  };
514
515
  state: any;
515
- context: Context$1;
516
+ context: Context;
516
517
  error: null;
517
518
  isError: false;
518
519
  isPending: false;
@@ -547,7 +548,7 @@ declare const useMenu: ({ context }: {
547
548
  }) => Promise<void>;
548
549
  };
549
550
  state: any;
550
- context: Context$1;
551
+ context: Context;
551
552
  error: Error;
552
553
  isError: true;
553
554
  isPending: false;
@@ -582,7 +583,7 @@ declare const useMenu: ({ context }: {
582
583
  }) => Promise<void>;
583
584
  };
584
585
  state: any;
585
- context: Context$1;
586
+ context: Context;
586
587
  error: null;
587
588
  isError: false;
588
589
  isPending: true;
@@ -617,7 +618,7 @@ declare const useMenu: ({ context }: {
617
618
  }) => Promise<void>;
618
619
  };
619
620
  state: any;
620
- context: Context$1;
621
+ context: Context;
621
622
  error: null;
622
623
  isError: false;
623
624
  isPending: true;
@@ -652,7 +653,7 @@ declare const useMenu: ({ context }: {
652
653
  }) => Promise<void>;
653
654
  };
654
655
  state: any;
655
- context: Context$1;
656
+ context: Context;
656
657
  isError: false;
657
658
  error: null;
658
659
  isPending: false;
@@ -707,7 +708,7 @@ interface Record {
707
708
  }
708
709
 
709
710
  declare const useProfile: (accessToken: string | null) => {
710
- context: Context | undefined;
711
+ context: ContextProfile | undefined;
711
712
  data: UserInfo | undefined;
712
713
  error: Error;
713
714
  isError: true;
@@ -735,7 +736,7 @@ declare const useProfile: (accessToken: string | null) => {
735
736
  fetchStatus: _tanstack_react_query.FetchStatus;
736
737
  promise: Promise<UserInfo | undefined>;
737
738
  } | {
738
- context: Context | undefined;
739
+ context: ContextProfile | undefined;
739
740
  data: UserInfo | undefined;
740
741
  error: null;
741
742
  isError: false;
@@ -763,7 +764,7 @@ declare const useProfile: (accessToken: string | null) => {
763
764
  fetchStatus: _tanstack_react_query.FetchStatus;
764
765
  promise: Promise<UserInfo | undefined>;
765
766
  } | {
766
- context: Context | undefined;
767
+ context: ContextProfile | undefined;
767
768
  data: undefined;
768
769
  error: Error;
769
770
  isError: true;
@@ -791,7 +792,7 @@ declare const useProfile: (accessToken: string | null) => {
791
792
  fetchStatus: _tanstack_react_query.FetchStatus;
792
793
  promise: Promise<UserInfo | undefined>;
793
794
  } | {
794
- context: Context | undefined;
795
+ context: ContextProfile | undefined;
795
796
  data: undefined;
796
797
  error: null;
797
798
  isError: false;
@@ -819,7 +820,7 @@ declare const useProfile: (accessToken: string | null) => {
819
820
  fetchStatus: _tanstack_react_query.FetchStatus;
820
821
  promise: Promise<UserInfo | undefined>;
821
822
  } | {
822
- context: Context | undefined;
823
+ context: ContextProfile | undefined;
823
824
  data: undefined;
824
825
  error: null;
825
826
  isError: false;
@@ -847,7 +848,7 @@ declare const useProfile: (accessToken: string | null) => {
847
848
  fetchStatus: _tanstack_react_query.FetchStatus;
848
849
  promise: Promise<UserInfo | undefined>;
849
850
  } | {
850
- context: Context | undefined;
851
+ context: ContextProfile | undefined;
851
852
  data: UserInfo | undefined;
852
853
  isError: false;
853
854
  error: null;
@@ -900,7 +901,7 @@ interface PartnerID {
900
901
  id: number;
901
902
  stud_id: boolean;
902
903
  }
903
- type Context = {
904
+ type ContextProfile = {
904
905
  uid: number;
905
906
  lang: string;
906
907
  allowed_company_ids: number[];
@@ -965,4 +966,4 @@ declare const useClickOutside: ({ handler, events, nodes, refs, }: UseClickOutsi
965
966
 
966
967
  declare function useDebounce<T>(value: T, delay: number): [T];
967
968
 
968
- export { type ActionResultType, AppProvider, type Context, type Record, type ViewResponse, useAppProvider, useAuth, type useAuthType, useCallAction, type useCallActionType, useClickOutside, useConfig, type useConfigType, useDebounce, useDetail, useListData, type useListDataType, useMenu, type useMenuType, useProfile, useUser, type useUserType, useViewV2, type useViewV2Type };
969
+ export { type ActionResultType, AppProvider, type ContextProfile, type Record, type ViewResponse, useAppProvider, useAuth, type useAuthType, useCallAction, type useCallActionType, useClickOutside, useConfig, type useConfigType, useDebounce, useDetail, useListData, type useListDataType, useMenu, type useMenuType, useProfile, useUser, type useUserType, useViewV2, type useViewV2Type };
package/dist/hooks.d.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import * as react from 'react';
3
3
  import { RefObject } from 'react';
4
- import { Context as Context$1 } from '@fctc/interface-logic';
4
+ import { Context } from '@fctc/interface-logic';
5
+ export * from '@fctc/interface-logic/hooks';
5
6
 
6
7
  declare const useCallAction: () => readonly [ActionResult | undefined, ({ aid, actionType, }: {
7
8
  aid: number;
@@ -467,7 +468,7 @@ declare const useListData: ({ action, context, viewResponse, }: {
467
468
  type useListDataType = ReturnType<typeof useListData>;
468
469
 
469
470
  declare const useMenu: ({ context }: {
470
- context: Context$1;
471
+ context: Context;
471
472
  }) => {
472
473
  data: Record[] | undefined;
473
474
  action: {
@@ -477,7 +478,7 @@ declare const useMenu: ({ context }: {
477
478
  }) => Promise<void>;
478
479
  };
479
480
  state: any;
480
- context: Context$1;
481
+ context: Context;
481
482
  error: Error;
482
483
  isError: true;
483
484
  isPending: false;
@@ -512,7 +513,7 @@ declare const useMenu: ({ context }: {
512
513
  }) => Promise<void>;
513
514
  };
514
515
  state: any;
515
- context: Context$1;
516
+ context: Context;
516
517
  error: null;
517
518
  isError: false;
518
519
  isPending: false;
@@ -547,7 +548,7 @@ declare const useMenu: ({ context }: {
547
548
  }) => Promise<void>;
548
549
  };
549
550
  state: any;
550
- context: Context$1;
551
+ context: Context;
551
552
  error: Error;
552
553
  isError: true;
553
554
  isPending: false;
@@ -582,7 +583,7 @@ declare const useMenu: ({ context }: {
582
583
  }) => Promise<void>;
583
584
  };
584
585
  state: any;
585
- context: Context$1;
586
+ context: Context;
586
587
  error: null;
587
588
  isError: false;
588
589
  isPending: true;
@@ -617,7 +618,7 @@ declare const useMenu: ({ context }: {
617
618
  }) => Promise<void>;
618
619
  };
619
620
  state: any;
620
- context: Context$1;
621
+ context: Context;
621
622
  error: null;
622
623
  isError: false;
623
624
  isPending: true;
@@ -652,7 +653,7 @@ declare const useMenu: ({ context }: {
652
653
  }) => Promise<void>;
653
654
  };
654
655
  state: any;
655
- context: Context$1;
656
+ context: Context;
656
657
  isError: false;
657
658
  error: null;
658
659
  isPending: false;
@@ -707,7 +708,7 @@ interface Record {
707
708
  }
708
709
 
709
710
  declare const useProfile: (accessToken: string | null) => {
710
- context: Context | undefined;
711
+ context: ContextProfile | undefined;
711
712
  data: UserInfo | undefined;
712
713
  error: Error;
713
714
  isError: true;
@@ -735,7 +736,7 @@ declare const useProfile: (accessToken: string | null) => {
735
736
  fetchStatus: _tanstack_react_query.FetchStatus;
736
737
  promise: Promise<UserInfo | undefined>;
737
738
  } | {
738
- context: Context | undefined;
739
+ context: ContextProfile | undefined;
739
740
  data: UserInfo | undefined;
740
741
  error: null;
741
742
  isError: false;
@@ -763,7 +764,7 @@ declare const useProfile: (accessToken: string | null) => {
763
764
  fetchStatus: _tanstack_react_query.FetchStatus;
764
765
  promise: Promise<UserInfo | undefined>;
765
766
  } | {
766
- context: Context | undefined;
767
+ context: ContextProfile | undefined;
767
768
  data: undefined;
768
769
  error: Error;
769
770
  isError: true;
@@ -791,7 +792,7 @@ declare const useProfile: (accessToken: string | null) => {
791
792
  fetchStatus: _tanstack_react_query.FetchStatus;
792
793
  promise: Promise<UserInfo | undefined>;
793
794
  } | {
794
- context: Context | undefined;
795
+ context: ContextProfile | undefined;
795
796
  data: undefined;
796
797
  error: null;
797
798
  isError: false;
@@ -819,7 +820,7 @@ declare const useProfile: (accessToken: string | null) => {
819
820
  fetchStatus: _tanstack_react_query.FetchStatus;
820
821
  promise: Promise<UserInfo | undefined>;
821
822
  } | {
822
- context: Context | undefined;
823
+ context: ContextProfile | undefined;
823
824
  data: undefined;
824
825
  error: null;
825
826
  isError: false;
@@ -847,7 +848,7 @@ declare const useProfile: (accessToken: string | null) => {
847
848
  fetchStatus: _tanstack_react_query.FetchStatus;
848
849
  promise: Promise<UserInfo | undefined>;
849
850
  } | {
850
- context: Context | undefined;
851
+ context: ContextProfile | undefined;
851
852
  data: UserInfo | undefined;
852
853
  isError: false;
853
854
  error: null;
@@ -900,7 +901,7 @@ interface PartnerID {
900
901
  id: number;
901
902
  stud_id: boolean;
902
903
  }
903
- type Context = {
904
+ type ContextProfile = {
904
905
  uid: number;
905
906
  lang: string;
906
907
  allowed_company_ids: number[];
@@ -965,4 +966,4 @@ declare const useClickOutside: ({ handler, events, nodes, refs, }: UseClickOutsi
965
966
 
966
967
  declare function useDebounce<T>(value: T, delay: number): [T];
967
968
 
968
- export { type ActionResultType, AppProvider, type Context, type Record, type ViewResponse, useAppProvider, useAuth, type useAuthType, useCallAction, type useCallActionType, useClickOutside, useConfig, type useConfigType, useDebounce, useDetail, useListData, type useListDataType, useMenu, type useMenuType, useProfile, useUser, type useUserType, useViewV2, type useViewV2Type };
969
+ export { type ActionResultType, AppProvider, type ContextProfile, type Record, type ViewResponse, useAppProvider, useAuth, type useAuthType, useCallAction, type useCallActionType, useClickOutside, useConfig, type useConfigType, useDebounce, useDetail, useListData, type useListDataType, useMenu, type useMenuType, useProfile, useUser, type useUserType, useViewV2, type useViewV2Type };
package/dist/hooks.js CHANGED
@@ -19,25 +19,6 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/hooks.ts
22
- var hooks_exports2 = {};
23
- __export(hooks_exports2, {
24
- AppProvider: () => AppProvider,
25
- useAppProvider: () => useAppProvider,
26
- useAuth: () => useAuth,
27
- useCallAction: () => useCallAction,
28
- useClickOutside: () => useClickOutside,
29
- useConfig: () => useConfig,
30
- useDebounce: () => useDebounce,
31
- useDetail: () => useDetail,
32
- useListData: () => useListData,
33
- useMenu: () => useMenu,
34
- useProfile: () => useProfile,
35
- useUser: () => useUser,
36
- useViewV2: () => useViewV2
37
- });
38
- module.exports = __toCommonJS(hooks_exports2);
39
-
40
- // src/hooks/index.ts
41
22
  var hooks_exports = {};
42
23
  __export(hooks_exports, {
43
24
  AppProvider: () => AppProvider,
@@ -54,6 +35,7 @@ __export(hooks_exports, {
54
35
  useUser: () => useUser,
55
36
  useViewV2: () => useViewV2
56
37
  });
38
+ module.exports = __toCommonJS(hooks_exports);
57
39
 
58
40
  // src/hooks/core/use-call-action.ts
59
41
  var import_interface_logic = require("@fctc/interface-logic");
@@ -731,8 +713,8 @@ function useDebounce(value, delay) {
731
713
  return [debouncedValue];
732
714
  }
733
715
 
734
- // src/hooks/index.ts
735
- __reExport(hooks_exports, require("@fctc/interface-logic/hook"));
716
+ // src/hooks.ts
717
+ __reExport(hooks_exports, require("@fctc/interface-logic/hooks"), module.exports);
736
718
  // Annotate the CommonJS export names for ESM import in node:
737
719
  0 && (module.exports = {
738
720
  AppProvider,
@@ -747,5 +729,6 @@ __reExport(hooks_exports, require("@fctc/interface-logic/hook"));
747
729
  useMenu,
748
730
  useProfile,
749
731
  useUser,
750
- useViewV2
732
+ useViewV2,
733
+ ...require("@fctc/interface-logic/hooks")
751
734
  });
package/dist/hooks.mjs CHANGED
@@ -1,39 +1,3 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
18
-
19
- // src/hooks/index.ts
20
- var hooks_exports = {};
21
- __export(hooks_exports, {
22
- AppProvider: () => AppProvider,
23
- useAppProvider: () => useAppProvider,
24
- useAuth: () => useAuth,
25
- useCallAction: () => useCallAction,
26
- useClickOutside: () => useClickOutside,
27
- useConfig: () => useConfig,
28
- useDebounce: () => useDebounce,
29
- useDetail: () => useDetail,
30
- useListData: () => useListData,
31
- useMenu: () => useMenu,
32
- useProfile: () => useProfile,
33
- useUser: () => useUser,
34
- useViewV2: () => useViewV2
35
- });
36
-
37
1
  // src/hooks/core/use-call-action.ts
38
2
  import { getEnv, useLoadAction, useRunAction } from "@fctc/interface-logic";
39
3
  import { useState } from "react";
@@ -737,9 +701,8 @@ function useDebounce(value, delay) {
737
701
  return [debouncedValue];
738
702
  }
739
703
 
740
- // src/hooks/index.ts
741
- __reExport(hooks_exports, hook_star);
742
- import * as hook_star from "@fctc/interface-logic/hook";
704
+ // src/hooks.ts
705
+ export * from "@fctc/interface-logic/hooks";
743
706
  export {
744
707
  AppProvider,
745
708
  useAppProvider,
package/dist/index.d.mts CHANGED
@@ -1,11 +1,20 @@
1
- export { ActionResultType, AppProvider, Context, Record, ViewResponse, useAppProvider, useAuth, useAuthType, useCallAction, useCallActionType, useClickOutside, useConfig, useConfigType, useDebounce, useDetail, useListData, useListDataType, useMenu, useMenuType, useProfile, useUser, useUserType, useViewV2, useViewV2Type } from './hooks.mjs';
1
+ export { ActionResultType, AppProvider, ContextProfile, Record, ViewResponse, useAppProvider, useAuth, useAuthType, useCallAction, useCallActionType, useClickOutside, useConfig, useConfigType, useDebounce, useDetail, useListData, useListDataType, useMenu, useMenuType, useProfile, useUser, useUserType, useViewV2, useViewV2Type } from './hooks.mjs';
2
+ export * from '@fctc/interface-logic/hooks';
3
+ export * from '@fctc/interface-logic/config';
2
4
  export { CloseIcon, EyeIcon, LoadingIcon } from './icons.mjs';
3
- import { IInputFieldProps, ValuePropsType } from './types.mjs';
4
5
  import * as react from 'react';
5
6
  import { ChangeEvent } from 'react';
7
+ import { IInputFieldProps, ValuePropsType } from './types.mjs';
8
+ export * from '@fctc/interface-logic/types';
6
9
  import moment from 'moment';
7
10
  export { API_APP_URL, API_PRESCHOOL_URL, STORAGES, combineContexts, convertFieldsToArray, countSum, getDateRange, languages, mergeButtons, setStorageItemAsync, useGetRowIds, useStorageState } from './utils.mjs';
8
- export * from '@fctc/interface-logic/store';
11
+ export * from '@fctc/interface-logic/utils';
12
+ export { AppDispatch, BreadcrumbsState, ExcelState, FormState, ListState, LoginStateType, NavbarStateType, ProfileStateType, RootState, SearchState, UserInfor, ViewDataStore, breadcrumbsSlice, clearSearchMap, envSlice, envStore, excelSlice, formSlice, headerSlice, listSlice, loginSlice, navbarSlice, profileSlice, removeKeyFromSearchMap, searchSlice, selectBreadCrumbs, selectEnv, selectExcel, selectForm, selectHeader, selectList, selectLogin, selectNavbar, selectProfile, selectSearch, selectSearchMap, setAllowCompanies, setAllowedCompanyIds, setBreadCrumbs, setCompanies, setConfig, setDataParse, setDataUser, setDb, setDefaultCompany, setDomainTable, setEnv, setEnvFile, setErrorData, setFieldTranslate, setFields, setFilterBy, setFirstDomain, setForgotPasswordUrl, setFormSubmitComponent, setGroupBy, setGroupByDomain, setHeader, setHoveredIndexSearchList, setIdFile, setIndexRowTableModal, setIsFileLoaded, setIsShowModalTranslate, setIsShowingModalDetail, setIsUpdateTableModal, setLang, useAppSelector } from '@fctc/interface-logic/store';
13
+ export * from '@fctc/interface-logic/constants';
14
+ export * from '@fctc/interface-logic/environment';
15
+ export * from '@fctc/interface-logic/model';
16
+ export * from '@fctc/interface-logic/provider';
17
+ export * from '@fctc/interface-logic/services';
9
18
  import '@tanstack/react-query';
10
19
  import '@fctc/interface-logic';
11
20
 
package/dist/index.d.ts CHANGED
@@ -1,11 +1,20 @@
1
- export { ActionResultType, AppProvider, Context, Record, ViewResponse, useAppProvider, useAuth, useAuthType, useCallAction, useCallActionType, useClickOutside, useConfig, useConfigType, useDebounce, useDetail, useListData, useListDataType, useMenu, useMenuType, useProfile, useUser, useUserType, useViewV2, useViewV2Type } from './hooks.js';
1
+ export { ActionResultType, AppProvider, ContextProfile, Record, ViewResponse, useAppProvider, useAuth, useAuthType, useCallAction, useCallActionType, useClickOutside, useConfig, useConfigType, useDebounce, useDetail, useListData, useListDataType, useMenu, useMenuType, useProfile, useUser, useUserType, useViewV2, useViewV2Type } from './hooks.js';
2
+ export * from '@fctc/interface-logic/hooks';
3
+ export * from '@fctc/interface-logic/config';
2
4
  export { CloseIcon, EyeIcon, LoadingIcon } from './icons.js';
3
- import { IInputFieldProps, ValuePropsType } from './types.js';
4
5
  import * as react from 'react';
5
6
  import { ChangeEvent } from 'react';
7
+ import { IInputFieldProps, ValuePropsType } from './types.js';
8
+ export * from '@fctc/interface-logic/types';
6
9
  import moment from 'moment';
7
10
  export { API_APP_URL, API_PRESCHOOL_URL, STORAGES, combineContexts, convertFieldsToArray, countSum, getDateRange, languages, mergeButtons, setStorageItemAsync, useGetRowIds, useStorageState } from './utils.js';
8
- export * from '@fctc/interface-logic/store';
11
+ export * from '@fctc/interface-logic/utils';
12
+ export { AppDispatch, BreadcrumbsState, ExcelState, FormState, ListState, LoginStateType, NavbarStateType, ProfileStateType, RootState, SearchState, UserInfor, ViewDataStore, breadcrumbsSlice, clearSearchMap, envSlice, envStore, excelSlice, formSlice, headerSlice, listSlice, loginSlice, navbarSlice, profileSlice, removeKeyFromSearchMap, searchSlice, selectBreadCrumbs, selectEnv, selectExcel, selectForm, selectHeader, selectList, selectLogin, selectNavbar, selectProfile, selectSearch, selectSearchMap, setAllowCompanies, setAllowedCompanyIds, setBreadCrumbs, setCompanies, setConfig, setDataParse, setDataUser, setDb, setDefaultCompany, setDomainTable, setEnv, setEnvFile, setErrorData, setFieldTranslate, setFields, setFilterBy, setFirstDomain, setForgotPasswordUrl, setFormSubmitComponent, setGroupBy, setGroupByDomain, setHeader, setHoveredIndexSearchList, setIdFile, setIndexRowTableModal, setIsFileLoaded, setIsShowModalTranslate, setIsShowingModalDetail, setIsUpdateTableModal, setLang, useAppSelector } from '@fctc/interface-logic/store';
13
+ export * from '@fctc/interface-logic/constants';
14
+ export * from '@fctc/interface-logic/environment';
15
+ export * from '@fctc/interface-logic/model';
16
+ export * from '@fctc/interface-logic/provider';
17
+ export * from '@fctc/interface-logic/services';
9
18
  import '@tanstack/react-query';
10
19
  import '@fctc/interface-logic';
11
20