@fctc/interface-logic 1.10.6 → 1.10.7
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/{view-type-D8ukwj_2.d.mts → api-type-DfAFCfCw.d.mts} +1 -15
- package/dist/{view-type-D8ukwj_2.d.ts → api-type-DfAFCfCw.d.ts} +1 -15
- package/dist/hooks.d.mts +4 -227
- package/dist/hooks.d.ts +4 -227
- package/dist/hooks.js +18 -13
- package/dist/hooks.mjs +5 -0
- package/dist/provider.d.mts +54 -1
- package/dist/provider.d.ts +54 -1
- package/dist/provider.js +1816 -55
- package/dist/provider.mjs +1813 -54
- package/dist/services.d.mts +2 -1
- package/dist/services.d.ts +2 -1
- package/dist/types.d.mts +2 -1
- package/dist/types.d.ts +2 -1
- package/dist/use-switch-locale-BFEf9mtg.d.mts +229 -0
- package/dist/use-switch-locale-y3Oki_i5.d.ts +229 -0
- package/dist/view-type-C6Eej-Ij.d.mts +15 -0
- package/dist/view-type-C6Eej-Ij.d.ts +15 -0
- package/package.json +1 -1
package/dist/provider.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { L as LocalStorageUtilsType, S as SessionStorageUtilsType } from './session-storage-ARp_lhTD.mjs';
|
|
4
|
+
import { e as useForgotPassword, f as useForgotPasswordSSO, w as useGetProvider, y as useIsValidToken, z as useLoginCredential, A as useLoginSocial, F as useResetPassword, G as useResetPasswordSSO, K as useUpdatePassword, P as useLogout, O as useGetAccessByCode, Q as useValidateActionToken, i as useGetCompanyInfo, l as useGetCurrentCompany, s as useGetListCompany, c as useExecuteImport, d as useExportExcel, n as useGetFieldExport, p as useGetFileExcel, E as useParsePreview, L as useUploadFile, M as useUploadIdFile, u as useChangeStatus, b as useDeleteComment, h as useGetComment, q as useGetFormView, r as useGetImage, I as useSendComment, N as useUploadImage, a as useDelete, g as useGetAll, j as useGetConversionRate, k as useGetCurrency, m as useGetDetail, o as useGetFieldOnChange, t as useGetListMyBankAccount, B as useModel, C as useOdooDataTransform, D as useOnChangeForm, H as useSave, v as useGetProfile, x as useGetUser, J as useSwitchLocale } from './use-switch-locale-BFEf9mtg.mjs';
|
|
5
|
+
import '@tanstack/react-query';
|
|
6
|
+
import './api-type-DfAFCfCw.mjs';
|
|
4
7
|
|
|
5
8
|
declare const MainProvider: ({ children }: {
|
|
6
9
|
children: ReactNode;
|
|
@@ -57,4 +60,54 @@ declare function useEnv(): {
|
|
|
57
60
|
setEnvFile: (envFile: any) => void;
|
|
58
61
|
};
|
|
59
62
|
|
|
60
|
-
|
|
63
|
+
interface ServiceContextType {
|
|
64
|
+
useForgotPassword: typeof useForgotPassword;
|
|
65
|
+
useForgotPasswordSSO: typeof useForgotPasswordSSO;
|
|
66
|
+
useGetProvider: typeof useGetProvider;
|
|
67
|
+
useIsValidToken: typeof useIsValidToken;
|
|
68
|
+
useLoginCredential: typeof useLoginCredential;
|
|
69
|
+
useLoginSocial: typeof useLoginSocial;
|
|
70
|
+
useResetPassword: typeof useResetPassword;
|
|
71
|
+
useResetPasswordSSO: typeof useResetPasswordSSO;
|
|
72
|
+
useUpdatePassword: typeof useUpdatePassword;
|
|
73
|
+
useLogout: typeof useLogout;
|
|
74
|
+
useGetAccessByCode: typeof useGetAccessByCode;
|
|
75
|
+
useValidateActionToken: typeof useValidateActionToken;
|
|
76
|
+
useGetCompanyInfo: typeof useGetCompanyInfo;
|
|
77
|
+
useGetCurrentCompany: typeof useGetCurrentCompany;
|
|
78
|
+
useGetListCompany: typeof useGetListCompany;
|
|
79
|
+
useExecuteImport: typeof useExecuteImport;
|
|
80
|
+
useExportExcel: typeof useExportExcel;
|
|
81
|
+
useGetFieldExport: typeof useGetFieldExport;
|
|
82
|
+
useGetFileExcel: typeof useGetFileExcel;
|
|
83
|
+
useParsePreview: typeof useParsePreview;
|
|
84
|
+
useUploadFile: typeof useUploadFile;
|
|
85
|
+
useUploadIdFile: typeof useUploadIdFile;
|
|
86
|
+
useChangeStatus: typeof useChangeStatus;
|
|
87
|
+
useDeleteComment: typeof useDeleteComment;
|
|
88
|
+
useGetComment: typeof useGetComment;
|
|
89
|
+
useGetFormView: typeof useGetFormView;
|
|
90
|
+
useGetImage: typeof useGetImage;
|
|
91
|
+
useSendComment: typeof useSendComment;
|
|
92
|
+
useUploadImage: typeof useUploadImage;
|
|
93
|
+
useDelete: typeof useDelete;
|
|
94
|
+
useGetAll: typeof useGetAll;
|
|
95
|
+
useGetConversionRate: typeof useGetConversionRate;
|
|
96
|
+
useGetCurrency: typeof useGetCurrency;
|
|
97
|
+
useGetDetail: typeof useGetDetail;
|
|
98
|
+
useGetFieldOnChange: typeof useGetFieldOnChange;
|
|
99
|
+
useGetListMyBankAccount: typeof useGetListMyBankAccount;
|
|
100
|
+
useModel: typeof useModel;
|
|
101
|
+
useOdooDataTransform: typeof useOdooDataTransform;
|
|
102
|
+
useOnChangeForm: typeof useOnChangeForm;
|
|
103
|
+
useSave: typeof useSave;
|
|
104
|
+
useGetProfile: typeof useGetProfile;
|
|
105
|
+
useGetUser: typeof useGetUser;
|
|
106
|
+
useSwitchLocale: typeof useSwitchLocale;
|
|
107
|
+
}
|
|
108
|
+
declare const ServiceProvider: ({ children, }: {
|
|
109
|
+
children: React.ReactNode;
|
|
110
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
111
|
+
declare const useService: () => ServiceContextType;
|
|
112
|
+
|
|
113
|
+
export { EnvProvider, MainProvider, ReactQueryProvider, ServiceProvider, VersionGate, useEnv, useService };
|
package/dist/provider.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { L as LocalStorageUtilsType, S as SessionStorageUtilsType } from './session-storage-ARp_lhTD.js';
|
|
4
|
+
import { e as useForgotPassword, f as useForgotPasswordSSO, w as useGetProvider, y as useIsValidToken, z as useLoginCredential, A as useLoginSocial, F as useResetPassword, G as useResetPasswordSSO, K as useUpdatePassword, P as useLogout, O as useGetAccessByCode, Q as useValidateActionToken, i as useGetCompanyInfo, l as useGetCurrentCompany, s as useGetListCompany, c as useExecuteImport, d as useExportExcel, n as useGetFieldExport, p as useGetFileExcel, E as useParsePreview, L as useUploadFile, M as useUploadIdFile, u as useChangeStatus, b as useDeleteComment, h as useGetComment, q as useGetFormView, r as useGetImage, I as useSendComment, N as useUploadImage, a as useDelete, g as useGetAll, j as useGetConversionRate, k as useGetCurrency, m as useGetDetail, o as useGetFieldOnChange, t as useGetListMyBankAccount, B as useModel, C as useOdooDataTransform, D as useOnChangeForm, H as useSave, v as useGetProfile, x as useGetUser, J as useSwitchLocale } from './use-switch-locale-y3Oki_i5.js';
|
|
5
|
+
import '@tanstack/react-query';
|
|
6
|
+
import './api-type-DfAFCfCw.js';
|
|
4
7
|
|
|
5
8
|
declare const MainProvider: ({ children }: {
|
|
6
9
|
children: ReactNode;
|
|
@@ -57,4 +60,54 @@ declare function useEnv(): {
|
|
|
57
60
|
setEnvFile: (envFile: any) => void;
|
|
58
61
|
};
|
|
59
62
|
|
|
60
|
-
|
|
63
|
+
interface ServiceContextType {
|
|
64
|
+
useForgotPassword: typeof useForgotPassword;
|
|
65
|
+
useForgotPasswordSSO: typeof useForgotPasswordSSO;
|
|
66
|
+
useGetProvider: typeof useGetProvider;
|
|
67
|
+
useIsValidToken: typeof useIsValidToken;
|
|
68
|
+
useLoginCredential: typeof useLoginCredential;
|
|
69
|
+
useLoginSocial: typeof useLoginSocial;
|
|
70
|
+
useResetPassword: typeof useResetPassword;
|
|
71
|
+
useResetPasswordSSO: typeof useResetPasswordSSO;
|
|
72
|
+
useUpdatePassword: typeof useUpdatePassword;
|
|
73
|
+
useLogout: typeof useLogout;
|
|
74
|
+
useGetAccessByCode: typeof useGetAccessByCode;
|
|
75
|
+
useValidateActionToken: typeof useValidateActionToken;
|
|
76
|
+
useGetCompanyInfo: typeof useGetCompanyInfo;
|
|
77
|
+
useGetCurrentCompany: typeof useGetCurrentCompany;
|
|
78
|
+
useGetListCompany: typeof useGetListCompany;
|
|
79
|
+
useExecuteImport: typeof useExecuteImport;
|
|
80
|
+
useExportExcel: typeof useExportExcel;
|
|
81
|
+
useGetFieldExport: typeof useGetFieldExport;
|
|
82
|
+
useGetFileExcel: typeof useGetFileExcel;
|
|
83
|
+
useParsePreview: typeof useParsePreview;
|
|
84
|
+
useUploadFile: typeof useUploadFile;
|
|
85
|
+
useUploadIdFile: typeof useUploadIdFile;
|
|
86
|
+
useChangeStatus: typeof useChangeStatus;
|
|
87
|
+
useDeleteComment: typeof useDeleteComment;
|
|
88
|
+
useGetComment: typeof useGetComment;
|
|
89
|
+
useGetFormView: typeof useGetFormView;
|
|
90
|
+
useGetImage: typeof useGetImage;
|
|
91
|
+
useSendComment: typeof useSendComment;
|
|
92
|
+
useUploadImage: typeof useUploadImage;
|
|
93
|
+
useDelete: typeof useDelete;
|
|
94
|
+
useGetAll: typeof useGetAll;
|
|
95
|
+
useGetConversionRate: typeof useGetConversionRate;
|
|
96
|
+
useGetCurrency: typeof useGetCurrency;
|
|
97
|
+
useGetDetail: typeof useGetDetail;
|
|
98
|
+
useGetFieldOnChange: typeof useGetFieldOnChange;
|
|
99
|
+
useGetListMyBankAccount: typeof useGetListMyBankAccount;
|
|
100
|
+
useModel: typeof useModel;
|
|
101
|
+
useOdooDataTransform: typeof useOdooDataTransform;
|
|
102
|
+
useOnChangeForm: typeof useOnChangeForm;
|
|
103
|
+
useSave: typeof useSave;
|
|
104
|
+
useGetProfile: typeof useGetProfile;
|
|
105
|
+
useGetUser: typeof useGetUser;
|
|
106
|
+
useSwitchLocale: typeof useSwitchLocale;
|
|
107
|
+
}
|
|
108
|
+
declare const ServiceProvider: ({ children, }: {
|
|
109
|
+
children: React.ReactNode;
|
|
110
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
111
|
+
declare const useService: () => ServiceContextType;
|
|
112
|
+
|
|
113
|
+
export { EnvProvider, MainProvider, ReactQueryProvider, ServiceProvider, VersionGate, useEnv, useService };
|