@fctc/widget-logic 1.3.8 → 1.3.9
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/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +3 -9
- package/dist/config.mjs +1 -4
- package/dist/constants.d.mts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +3 -33
- package/dist/constants.mjs +1 -30
- package/dist/environment.d.mts +1 -1
- package/dist/environment.d.ts +1 -1
- package/dist/environment.js +3 -15
- package/dist/environment.mjs +1 -12
- package/dist/hooks.d.mts +1 -1
- package/dist/hooks.d.ts +1 -1
- package/dist/hooks.js +4 -138
- package/dist/hooks.mjs +1 -138
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +135 -509
- package/dist/index.mjs +198 -514
- package/dist/provider.d.mts +1 -1
- package/dist/provider.d.ts +1 -1
- package/dist/provider.js +3 -13
- package/dist/provider.mjs +1 -10
- package/dist/services.d.mts +1 -1
- package/dist/services.d.ts +1 -1
- package/dist/services.js +3 -25
- package/dist/services.mjs +1 -22
- package/dist/store.d.mts +1 -1
- package/dist/store.d.ts +1 -1
- package/dist/store.js +3 -189
- package/dist/store.mjs +1 -186
- package/dist/utils.d.mts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +7 -65
- package/dist/utils.mjs +5 -66
- package/package.json +1 -1
package/dist/config.d.mts
CHANGED
package/dist/config.d.ts
CHANGED
package/dist/config.js
CHANGED
|
@@ -3,10 +3,6 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
6
|
var __copyProps = (to, from, except, desc) => {
|
|
11
7
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
8
|
for (let key of __getOwnPropNames(from))
|
|
@@ -15,16 +11,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
11
|
}
|
|
16
12
|
return to;
|
|
17
13
|
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
18
15
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
16
|
|
|
20
17
|
// src/config.ts
|
|
21
18
|
var config_exports = {};
|
|
22
|
-
__export(config_exports, {
|
|
23
|
-
axiosClient: () => import_configs.axiosClient
|
|
24
|
-
});
|
|
25
19
|
module.exports = __toCommonJS(config_exports);
|
|
26
|
-
|
|
20
|
+
__reExport(config_exports, require("@fctc/interface-logic/configs"), module.exports);
|
|
27
21
|
// Annotate the CommonJS export names for ESM import in node:
|
|
28
22
|
0 && (module.exports = {
|
|
29
|
-
|
|
23
|
+
...require("@fctc/interface-logic/configs")
|
|
30
24
|
});
|
package/dist/config.mjs
CHANGED
package/dist/constants.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from '@fctc/interface-logic/constants';
|
package/dist/constants.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from '@fctc/interface-logic/constants';
|
package/dist/constants.js
CHANGED
|
@@ -3,10 +3,6 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
6
|
var __copyProps = (to, from, except, desc) => {
|
|
11
7
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
8
|
for (let key of __getOwnPropNames(from))
|
|
@@ -15,40 +11,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
11
|
}
|
|
16
12
|
return to;
|
|
17
13
|
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
18
15
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
16
|
|
|
20
17
|
// src/constants.ts
|
|
21
18
|
var constants_exports = {};
|
|
22
|
-
__export(constants_exports, {
|
|
23
|
-
ComponentType: () => import_constants.ComponentType,
|
|
24
|
-
FieldTypeConstants: () => import_constants.FieldTypeConstants,
|
|
25
|
-
KeyConstants: () => import_constants.KeyConstants,
|
|
26
|
-
MethodConstants: () => import_constants.MethodConstants,
|
|
27
|
-
MethodType: () => import_constants.MethodType,
|
|
28
|
-
ModelConstants: () => import_constants.ModelConstants,
|
|
29
|
-
SearchType: () => import_constants.SearchType,
|
|
30
|
-
UriConstants: () => import_constants.UriConstants,
|
|
31
|
-
WIDGETAVATAR: () => import_constants.WIDGETAVATAR,
|
|
32
|
-
WIDGETCOLOR: () => import_constants.WIDGETCOLOR,
|
|
33
|
-
WIDGETCURRENCY: () => import_constants.WIDGETCURRENCY,
|
|
34
|
-
WIDGETNOSTRING: () => import_constants.WIDGETNOSTRING,
|
|
35
|
-
WIDGETSTATUS: () => import_constants.WIDGETSTATUS
|
|
36
|
-
});
|
|
37
19
|
module.exports = __toCommonJS(constants_exports);
|
|
38
|
-
|
|
20
|
+
__reExport(constants_exports, require("@fctc/interface-logic/constants"), module.exports);
|
|
39
21
|
// Annotate the CommonJS export names for ESM import in node:
|
|
40
22
|
0 && (module.exports = {
|
|
41
|
-
|
|
42
|
-
FieldTypeConstants,
|
|
43
|
-
KeyConstants,
|
|
44
|
-
MethodConstants,
|
|
45
|
-
MethodType,
|
|
46
|
-
ModelConstants,
|
|
47
|
-
SearchType,
|
|
48
|
-
UriConstants,
|
|
49
|
-
WIDGETAVATAR,
|
|
50
|
-
WIDGETCOLOR,
|
|
51
|
-
WIDGETCURRENCY,
|
|
52
|
-
WIDGETNOSTRING,
|
|
53
|
-
WIDGETSTATUS
|
|
23
|
+
...require("@fctc/interface-logic/constants")
|
|
54
24
|
});
|
package/dist/constants.mjs
CHANGED
|
@@ -1,31 +1,2 @@
|
|
|
1
1
|
// src/constants.ts
|
|
2
|
-
|
|
3
|
-
ComponentType,
|
|
4
|
-
FieldTypeConstants,
|
|
5
|
-
KeyConstants,
|
|
6
|
-
MethodConstants,
|
|
7
|
-
MethodType,
|
|
8
|
-
ModelConstants,
|
|
9
|
-
SearchType,
|
|
10
|
-
UriConstants,
|
|
11
|
-
WIDGETAVATAR,
|
|
12
|
-
WIDGETCOLOR,
|
|
13
|
-
WIDGETCURRENCY,
|
|
14
|
-
WIDGETNOSTRING,
|
|
15
|
-
WIDGETSTATUS
|
|
16
|
-
} from "@fctc/interface-logic/constants";
|
|
17
|
-
export {
|
|
18
|
-
ComponentType,
|
|
19
|
-
FieldTypeConstants,
|
|
20
|
-
KeyConstants,
|
|
21
|
-
MethodConstants,
|
|
22
|
-
MethodType,
|
|
23
|
-
ModelConstants,
|
|
24
|
-
SearchType,
|
|
25
|
-
UriConstants,
|
|
26
|
-
WIDGETAVATAR,
|
|
27
|
-
WIDGETCOLOR,
|
|
28
|
-
WIDGETCURRENCY,
|
|
29
|
-
WIDGETNOSTRING,
|
|
30
|
-
WIDGETSTATUS
|
|
31
|
-
};
|
|
2
|
+
export * from "@fctc/interface-logic/constants";
|
package/dist/environment.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from '@fctc/interface-logic/environment';
|
package/dist/environment.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from '@fctc/interface-logic/environment';
|
package/dist/environment.js
CHANGED
|
@@ -3,10 +3,6 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
6
|
var __copyProps = (to, from, except, desc) => {
|
|
11
7
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
8
|
for (let key of __getOwnPropNames(from))
|
|
@@ -15,22 +11,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
11
|
}
|
|
16
12
|
return to;
|
|
17
13
|
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
18
15
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
16
|
|
|
20
17
|
// src/environment.ts
|
|
21
18
|
var environment_exports = {};
|
|
22
|
-
__export(environment_exports, {
|
|
23
|
-
EnvStore: () => import_environment.EnvStore,
|
|
24
|
-
env: () => import_environment.env,
|
|
25
|
-
getEnv: () => import_environment.getEnv,
|
|
26
|
-
initEnv: () => import_environment.initEnv
|
|
27
|
-
});
|
|
28
19
|
module.exports = __toCommonJS(environment_exports);
|
|
29
|
-
|
|
20
|
+
__reExport(environment_exports, require("@fctc/interface-logic/environment"), module.exports);
|
|
30
21
|
// Annotate the CommonJS export names for ESM import in node:
|
|
31
22
|
0 && (module.exports = {
|
|
32
|
-
|
|
33
|
-
env,
|
|
34
|
-
getEnv,
|
|
35
|
-
initEnv
|
|
23
|
+
...require("@fctc/interface-logic/environment")
|
|
36
24
|
});
|
package/dist/environment.mjs
CHANGED
package/dist/hooks.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _tanstack_react_query from '@tanstack/react-query';
|
|
|
2
2
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { RefObject } from 'react';
|
|
5
|
-
export
|
|
5
|
+
export * from '@fctc/interface-logic/hooks';
|
|
6
6
|
|
|
7
7
|
declare const useCallAction: () => readonly [ActionResult | undefined, ({ aid, actionType, }: {
|
|
8
8
|
aid: number;
|
package/dist/hooks.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _tanstack_react_query from '@tanstack/react-query';
|
|
|
2
2
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { RefObject } from 'react';
|
|
5
|
-
export
|
|
5
|
+
export * from '@fctc/interface-logic/hooks';
|
|
6
6
|
|
|
7
7
|
declare const useCallAction: () => readonly [ActionResult | undefined, ({ aid, actionType, }: {
|
|
8
8
|
aid: number;
|
package/dist/hooks.js
CHANGED
|
@@ -15,6 +15,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
15
|
}
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
18
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
20
|
|
|
20
21
|
// src/hooks.ts
|
|
@@ -23,83 +24,15 @@ __export(hooks_exports, {
|
|
|
23
24
|
AppProvider: () => AppProvider,
|
|
24
25
|
useAppProvider: () => useAppProvider,
|
|
25
26
|
useAuth: () => useAuth,
|
|
26
|
-
useButton: () => import_hooks10.useButton,
|
|
27
27
|
useCallAction: () => useCallAction,
|
|
28
|
-
useChangeStatus: () => import_hooks10.useChangeStatus,
|
|
29
28
|
useClickOutside: () => useClickOutside,
|
|
30
29
|
useConfig: () => useConfig,
|
|
31
30
|
useDebounce: () => useDebounce,
|
|
32
|
-
useDelete: () => import_hooks10.useDelete,
|
|
33
|
-
useDeleteComment: () => import_hooks10.useDeleteComment,
|
|
34
31
|
useDetail: () => useDetail,
|
|
35
|
-
useDuplicateRecord: () => import_hooks10.useDuplicateRecord,
|
|
36
|
-
useExecuteImport: () => import_hooks10.useExecuteImport,
|
|
37
|
-
useExportExcel: () => import_hooks10.useExportExcel,
|
|
38
|
-
useForgotPassword: () => import_hooks10.useForgotPassword,
|
|
39
|
-
useForgotPasswordSSO: () => import_hooks10.useForgotPasswordSSO,
|
|
40
|
-
useGet2FAMethods: () => import_hooks10.useGet2FAMethods,
|
|
41
|
-
useGetAccessByCode: () => import_hooks10.useGetAccessByCode,
|
|
42
|
-
useGetActionDetail: () => import_hooks10.useGetActionDetail,
|
|
43
|
-
useGetAll: () => import_hooks10.useGetAll,
|
|
44
|
-
useGetCalendar: () => import_hooks10.useGetCalendar,
|
|
45
|
-
useGetComment: () => import_hooks10.useGetComment,
|
|
46
|
-
useGetCompanyInfo: () => import_hooks10.useGetCompanyInfo,
|
|
47
|
-
useGetConversionRate: () => import_hooks10.useGetConversionRate,
|
|
48
|
-
useGetCurrency: () => import_hooks10.useGetCurrency,
|
|
49
|
-
useGetCurrentCompany: () => import_hooks10.useGetCurrentCompany,
|
|
50
|
-
useGetDetail: () => import_hooks10.useGetDetail,
|
|
51
|
-
useGetFieldExport: () => import_hooks10.useGetFieldExport,
|
|
52
|
-
useGetFieldOnChange: () => import_hooks10.useGetFieldOnChange,
|
|
53
|
-
useGetFieldsViewSecurity: () => import_hooks10.useGetFieldsViewSecurity,
|
|
54
|
-
useGetFileExcel: () => import_hooks10.useGetFileExcel,
|
|
55
|
-
useGetFormView: () => import_hooks10.useGetFormView,
|
|
56
|
-
useGetGroups: () => import_hooks10.useGetGroups,
|
|
57
|
-
useGetImage: () => import_hooks10.useGetImage,
|
|
58
|
-
useGetListCompany: () => import_hooks10.useGetListCompany,
|
|
59
|
-
useGetListData: () => import_hooks10.useGetListData,
|
|
60
|
-
useGetListMyBankAccount: () => import_hooks10.useGetListMyBankAccount,
|
|
61
|
-
useGetMenu: () => import_hooks10.useGetMenu,
|
|
62
|
-
useGetPrintReport: () => import_hooks10.useGetPrintReport,
|
|
63
|
-
useGetProGressBar: () => import_hooks10.useGetProGressBar,
|
|
64
|
-
useGetProfile: () => import_hooks10.useGetProfile,
|
|
65
|
-
useGetProvider: () => import_hooks10.useGetProvider,
|
|
66
|
-
useGetResequence: () => import_hooks10.useGetResequence,
|
|
67
|
-
useGetSelection: () => import_hooks10.useGetSelection,
|
|
68
|
-
useGetUser: () => import_hooks10.useGetUser,
|
|
69
|
-
useGetView: () => import_hooks10.useGetView,
|
|
70
|
-
useGrantAccess: () => import_hooks10.useGrantAccess,
|
|
71
|
-
useIsValidToken: () => import_hooks10.useIsValidToken,
|
|
72
32
|
useListData: () => useListData,
|
|
73
|
-
useLoadAction: () => import_hooks10.useLoadAction,
|
|
74
|
-
useLoadMessage: () => import_hooks10.useLoadMessage,
|
|
75
|
-
useLoginCredential: () => import_hooks10.useLoginCredential,
|
|
76
|
-
useLoginSocial: () => import_hooks10.useLoginSocial,
|
|
77
|
-
useLogout: () => import_hooks10.useLogout,
|
|
78
33
|
useMenu: () => useMenu,
|
|
79
|
-
useModel: () => import_hooks10.useModel,
|
|
80
|
-
useOdooDataTransform: () => import_hooks10.useOdooDataTransform,
|
|
81
|
-
useOnChangeForm: () => import_hooks10.useOnChangeForm,
|
|
82
|
-
useParsePreview: () => import_hooks10.useParsePreview,
|
|
83
|
-
usePrint: () => import_hooks10.usePrint,
|
|
84
34
|
useProfile: () => useProfile,
|
|
85
|
-
useRemoveRow: () => import_hooks10.useRemoveRow,
|
|
86
|
-
useRemoveTotpSetup: () => import_hooks10.useRemoveTotpSetup,
|
|
87
|
-
useRequestSetupTotp: () => import_hooks10.useRequestSetupTotp,
|
|
88
|
-
useResetPassword: () => import_hooks10.useResetPassword,
|
|
89
|
-
useResetPasswordSSO: () => import_hooks10.useResetPasswordSSO,
|
|
90
|
-
useRunAction: () => import_hooks10.useRunAction,
|
|
91
|
-
useSave: () => import_hooks10.useSave,
|
|
92
|
-
useSendComment: () => import_hooks10.useSendComment,
|
|
93
|
-
useSettingsWebRead2fa: () => import_hooks10.useSettingsWebRead2fa,
|
|
94
|
-
useSignInSSO: () => import_hooks10.useSignInSSO,
|
|
95
|
-
useSwitchLocale: () => import_hooks10.useSwitchLocale,
|
|
96
|
-
useUpdatePassword: () => import_hooks10.useUpdatePassword,
|
|
97
|
-
useUploadFile: () => import_hooks10.useUploadFile,
|
|
98
|
-
useUploadIdFile: () => import_hooks10.useUploadIdFile,
|
|
99
|
-
useUploadImage: () => import_hooks10.useUploadImage,
|
|
100
35
|
useUser: () => useUser,
|
|
101
|
-
useVerify2FA: () => import_hooks10.useVerify2FA,
|
|
102
|
-
useVerifyTotp: () => import_hooks10.useVerifyTotp,
|
|
103
36
|
useViewV2: () => useViewV2
|
|
104
37
|
});
|
|
105
38
|
module.exports = __toCommonJS(hooks_exports);
|
|
@@ -790,88 +723,21 @@ function useDebounce(value, delay) {
|
|
|
790
723
|
}
|
|
791
724
|
|
|
792
725
|
// src/hooks.ts
|
|
793
|
-
|
|
726
|
+
__reExport(hooks_exports, require("@fctc/interface-logic/hooks"), module.exports);
|
|
794
727
|
// Annotate the CommonJS export names for ESM import in node:
|
|
795
728
|
0 && (module.exports = {
|
|
796
729
|
AppProvider,
|
|
797
730
|
useAppProvider,
|
|
798
731
|
useAuth,
|
|
799
|
-
useButton,
|
|
800
732
|
useCallAction,
|
|
801
|
-
useChangeStatus,
|
|
802
733
|
useClickOutside,
|
|
803
734
|
useConfig,
|
|
804
735
|
useDebounce,
|
|
805
|
-
useDelete,
|
|
806
|
-
useDeleteComment,
|
|
807
736
|
useDetail,
|
|
808
|
-
useDuplicateRecord,
|
|
809
|
-
useExecuteImport,
|
|
810
|
-
useExportExcel,
|
|
811
|
-
useForgotPassword,
|
|
812
|
-
useForgotPasswordSSO,
|
|
813
|
-
useGet2FAMethods,
|
|
814
|
-
useGetAccessByCode,
|
|
815
|
-
useGetActionDetail,
|
|
816
|
-
useGetAll,
|
|
817
|
-
useGetCalendar,
|
|
818
|
-
useGetComment,
|
|
819
|
-
useGetCompanyInfo,
|
|
820
|
-
useGetConversionRate,
|
|
821
|
-
useGetCurrency,
|
|
822
|
-
useGetCurrentCompany,
|
|
823
|
-
useGetDetail,
|
|
824
|
-
useGetFieldExport,
|
|
825
|
-
useGetFieldOnChange,
|
|
826
|
-
useGetFieldsViewSecurity,
|
|
827
|
-
useGetFileExcel,
|
|
828
|
-
useGetFormView,
|
|
829
|
-
useGetGroups,
|
|
830
|
-
useGetImage,
|
|
831
|
-
useGetListCompany,
|
|
832
|
-
useGetListData,
|
|
833
|
-
useGetListMyBankAccount,
|
|
834
|
-
useGetMenu,
|
|
835
|
-
useGetPrintReport,
|
|
836
|
-
useGetProGressBar,
|
|
837
|
-
useGetProfile,
|
|
838
|
-
useGetProvider,
|
|
839
|
-
useGetResequence,
|
|
840
|
-
useGetSelection,
|
|
841
|
-
useGetUser,
|
|
842
|
-
useGetView,
|
|
843
|
-
useGrantAccess,
|
|
844
|
-
useIsValidToken,
|
|
845
737
|
useListData,
|
|
846
|
-
useLoadAction,
|
|
847
|
-
useLoadMessage,
|
|
848
|
-
useLoginCredential,
|
|
849
|
-
useLoginSocial,
|
|
850
|
-
useLogout,
|
|
851
738
|
useMenu,
|
|
852
|
-
useModel,
|
|
853
|
-
useOdooDataTransform,
|
|
854
|
-
useOnChangeForm,
|
|
855
|
-
useParsePreview,
|
|
856
|
-
usePrint,
|
|
857
739
|
useProfile,
|
|
858
|
-
useRemoveRow,
|
|
859
|
-
useRemoveTotpSetup,
|
|
860
|
-
useRequestSetupTotp,
|
|
861
|
-
useResetPassword,
|
|
862
|
-
useResetPasswordSSO,
|
|
863
|
-
useRunAction,
|
|
864
|
-
useSave,
|
|
865
|
-
useSendComment,
|
|
866
|
-
useSettingsWebRead2fa,
|
|
867
|
-
useSignInSSO,
|
|
868
|
-
useSwitchLocale,
|
|
869
|
-
useUpdatePassword,
|
|
870
|
-
useUploadFile,
|
|
871
|
-
useUploadIdFile,
|
|
872
|
-
useUploadImage,
|
|
873
740
|
useUser,
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
useViewV2
|
|
741
|
+
useViewV2,
|
|
742
|
+
...require("@fctc/interface-logic/hooks")
|
|
877
743
|
});
|
package/dist/hooks.mjs
CHANGED
|
@@ -699,156 +699,19 @@ function useDebounce(value, delay) {
|
|
|
699
699
|
}
|
|
700
700
|
|
|
701
701
|
// src/hooks.ts
|
|
702
|
-
|
|
703
|
-
useButton,
|
|
704
|
-
useChangeStatus,
|
|
705
|
-
useDelete,
|
|
706
|
-
useDeleteComment,
|
|
707
|
-
useDuplicateRecord,
|
|
708
|
-
useExecuteImport,
|
|
709
|
-
useExportExcel,
|
|
710
|
-
useForgotPassword,
|
|
711
|
-
useForgotPasswordSSO,
|
|
712
|
-
useGet2FAMethods,
|
|
713
|
-
useGetActionDetail,
|
|
714
|
-
useGetAll,
|
|
715
|
-
useGetCalendar,
|
|
716
|
-
useGetComment,
|
|
717
|
-
useGetCompanyInfo as useGetCompanyInfo2,
|
|
718
|
-
useGetConversionRate,
|
|
719
|
-
useGetCurrency,
|
|
720
|
-
useGetCurrentCompany as useGetCurrentCompany2,
|
|
721
|
-
useGetDetail as useGetDetail2,
|
|
722
|
-
useGetFieldExport,
|
|
723
|
-
useGetFieldOnChange,
|
|
724
|
-
useGetFileExcel,
|
|
725
|
-
useGetFormView,
|
|
726
|
-
useGetGroups,
|
|
727
|
-
useGetImage,
|
|
728
|
-
useGetListCompany,
|
|
729
|
-
useGetListData as useGetListData2,
|
|
730
|
-
useGetListMyBankAccount,
|
|
731
|
-
useGetMenu as useGetMenu2,
|
|
732
|
-
useGetPrintReport,
|
|
733
|
-
useGetProfile as useGetProfile2,
|
|
734
|
-
useGetProGressBar,
|
|
735
|
-
useGetProvider,
|
|
736
|
-
useGetResequence,
|
|
737
|
-
useGetSelection,
|
|
738
|
-
useGetUser,
|
|
739
|
-
useGetView as useGetView2,
|
|
740
|
-
useIsValidToken,
|
|
741
|
-
useLoadAction as useLoadAction2,
|
|
742
|
-
useLoadMessage,
|
|
743
|
-
useLoginCredential as useLoginCredential2,
|
|
744
|
-
useLoginSocial,
|
|
745
|
-
useModel as useModel2,
|
|
746
|
-
useOdooDataTransform,
|
|
747
|
-
useOnChangeForm,
|
|
748
|
-
useParsePreview,
|
|
749
|
-
usePrint,
|
|
750
|
-
useRemoveRow,
|
|
751
|
-
useResetPassword,
|
|
752
|
-
useResetPasswordSSO,
|
|
753
|
-
useRunAction as useRunAction2,
|
|
754
|
-
useSave,
|
|
755
|
-
useSendComment,
|
|
756
|
-
useSignInSSO,
|
|
757
|
-
useSwitchLocale,
|
|
758
|
-
useUpdatePassword,
|
|
759
|
-
useUploadFile,
|
|
760
|
-
useUploadIdFile,
|
|
761
|
-
useUploadImage,
|
|
762
|
-
useVerify2FA,
|
|
763
|
-
useGetAccessByCode,
|
|
764
|
-
useLogout,
|
|
765
|
-
useGrantAccess,
|
|
766
|
-
useGetFieldsViewSecurity,
|
|
767
|
-
useRemoveTotpSetup,
|
|
768
|
-
useRequestSetupTotp,
|
|
769
|
-
useSettingsWebRead2fa,
|
|
770
|
-
useVerifyTotp
|
|
771
|
-
} from "@fctc/interface-logic/hooks";
|
|
702
|
+
export * from "@fctc/interface-logic/hooks";
|
|
772
703
|
export {
|
|
773
704
|
AppProvider,
|
|
774
705
|
useAppProvider,
|
|
775
706
|
useAuth,
|
|
776
|
-
useButton,
|
|
777
707
|
useCallAction,
|
|
778
|
-
useChangeStatus,
|
|
779
708
|
useClickOutside,
|
|
780
709
|
useConfig,
|
|
781
710
|
useDebounce,
|
|
782
|
-
useDelete,
|
|
783
|
-
useDeleteComment,
|
|
784
711
|
useDetail,
|
|
785
|
-
useDuplicateRecord,
|
|
786
|
-
useExecuteImport,
|
|
787
|
-
useExportExcel,
|
|
788
|
-
useForgotPassword,
|
|
789
|
-
useForgotPasswordSSO,
|
|
790
|
-
useGet2FAMethods,
|
|
791
|
-
useGetAccessByCode,
|
|
792
|
-
useGetActionDetail,
|
|
793
|
-
useGetAll,
|
|
794
|
-
useGetCalendar,
|
|
795
|
-
useGetComment,
|
|
796
|
-
useGetCompanyInfo2 as useGetCompanyInfo,
|
|
797
|
-
useGetConversionRate,
|
|
798
|
-
useGetCurrency,
|
|
799
|
-
useGetCurrentCompany2 as useGetCurrentCompany,
|
|
800
|
-
useGetDetail2 as useGetDetail,
|
|
801
|
-
useGetFieldExport,
|
|
802
|
-
useGetFieldOnChange,
|
|
803
|
-
useGetFieldsViewSecurity,
|
|
804
|
-
useGetFileExcel,
|
|
805
|
-
useGetFormView,
|
|
806
|
-
useGetGroups,
|
|
807
|
-
useGetImage,
|
|
808
|
-
useGetListCompany,
|
|
809
|
-
useGetListData2 as useGetListData,
|
|
810
|
-
useGetListMyBankAccount,
|
|
811
|
-
useGetMenu2 as useGetMenu,
|
|
812
|
-
useGetPrintReport,
|
|
813
|
-
useGetProGressBar,
|
|
814
|
-
useGetProfile2 as useGetProfile,
|
|
815
|
-
useGetProvider,
|
|
816
|
-
useGetResequence,
|
|
817
|
-
useGetSelection,
|
|
818
|
-
useGetUser,
|
|
819
|
-
useGetView2 as useGetView,
|
|
820
|
-
useGrantAccess,
|
|
821
|
-
useIsValidToken,
|
|
822
712
|
useListData,
|
|
823
|
-
useLoadAction2 as useLoadAction,
|
|
824
|
-
useLoadMessage,
|
|
825
|
-
useLoginCredential2 as useLoginCredential,
|
|
826
|
-
useLoginSocial,
|
|
827
|
-
useLogout,
|
|
828
713
|
useMenu,
|
|
829
|
-
useModel2 as useModel,
|
|
830
|
-
useOdooDataTransform,
|
|
831
|
-
useOnChangeForm,
|
|
832
|
-
useParsePreview,
|
|
833
|
-
usePrint,
|
|
834
714
|
useProfile,
|
|
835
|
-
useRemoveRow,
|
|
836
|
-
useRemoveTotpSetup,
|
|
837
|
-
useRequestSetupTotp,
|
|
838
|
-
useResetPassword,
|
|
839
|
-
useResetPasswordSSO,
|
|
840
|
-
useRunAction2 as useRunAction,
|
|
841
|
-
useSave,
|
|
842
|
-
useSendComment,
|
|
843
|
-
useSettingsWebRead2fa,
|
|
844
|
-
useSignInSSO,
|
|
845
|
-
useSwitchLocale,
|
|
846
|
-
useUpdatePassword,
|
|
847
|
-
useUploadFile,
|
|
848
|
-
useUploadIdFile,
|
|
849
|
-
useUploadImage,
|
|
850
715
|
useUser,
|
|
851
|
-
useVerify2FA,
|
|
852
|
-
useVerifyTotp,
|
|
853
716
|
useViewV2
|
|
854
717
|
};
|
package/dist/index.d.mts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
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
|
|
3
|
-
export
|
|
2
|
+
export * from '@fctc/interface-logic/hooks';
|
|
3
|
+
export * from '@fctc/interface-logic/configs';
|
|
4
4
|
export { CloseIcon, EyeIcon, LoadingIcon } from './icons.mjs';
|
|
5
5
|
import * as react from 'react';
|
|
6
6
|
import { ChangeEvent } from 'react';
|
|
7
7
|
import moment from 'moment';
|
|
8
8
|
export { API_APP_URL, API_PRESCHOOL_URL, STORAGES, combineContexts, convertFieldsToArray, countSum, getDateRange, languages, mergeButtons, setStorageItemAsync, useGetRowIds, useStorageState } from './utils.mjs';
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
9
|
+
export * from '@fctc/interface-logic/utils';
|
|
10
|
+
export * from '@fctc/interface-logic/store';
|
|
11
|
+
export * from '@fctc/interface-logic/constants';
|
|
12
|
+
export * from '@fctc/interface-logic/environment';
|
|
13
|
+
export * from '@fctc/interface-logic/provider';
|
|
14
|
+
export * from '@fctc/interface-logic/services';
|
|
15
15
|
import '@tanstack/react-query';
|
|
16
16
|
import '@tanstack/query-core';
|
|
17
17
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
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
|
|
3
|
-
export
|
|
2
|
+
export * from '@fctc/interface-logic/hooks';
|
|
3
|
+
export * from '@fctc/interface-logic/configs';
|
|
4
4
|
export { CloseIcon, EyeIcon, LoadingIcon } from './icons.js';
|
|
5
5
|
import * as react from 'react';
|
|
6
6
|
import { ChangeEvent } from 'react';
|
|
7
7
|
import moment from 'moment';
|
|
8
8
|
export { API_APP_URL, API_PRESCHOOL_URL, STORAGES, combineContexts, convertFieldsToArray, countSum, getDateRange, languages, mergeButtons, setStorageItemAsync, useGetRowIds, useStorageState } from './utils.js';
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
9
|
+
export * from '@fctc/interface-logic/utils';
|
|
10
|
+
export * from '@fctc/interface-logic/store';
|
|
11
|
+
export * from '@fctc/interface-logic/constants';
|
|
12
|
+
export * from '@fctc/interface-logic/environment';
|
|
13
|
+
export * from '@fctc/interface-logic/provider';
|
|
14
|
+
export * from '@fctc/interface-logic/services';
|
|
15
15
|
import '@tanstack/react-query';
|
|
16
16
|
import '@tanstack/query-core';
|
|
17
17
|
|