@fctc/interface-logic 2.2.8 → 2.2.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/configs.js +1 -1
- package/dist/configs.mjs +1 -1
- package/dist/environment.js +1 -1
- package/dist/environment.mjs +1 -1
- package/dist/hooks.d.mts +2 -7
- package/dist/hooks.d.ts +2 -7
- package/dist/hooks.js +79 -123
- package/dist/hooks.mjs +35 -78
- package/dist/provider.d.mts +8 -8
- package/dist/provider.d.ts +8 -8
- package/dist/provider.js +80 -123
- package/dist/provider.mjs +36 -79
- package/dist/services.d.mts +1 -2
- package/dist/services.d.ts +1 -2
- package/dist/services.js +40 -66
- package/dist/services.mjs +18 -44
- package/package.json +85 -85
package/dist/configs.js
CHANGED
|
@@ -2370,7 +2370,7 @@ var axiosClient = {
|
|
|
2370
2370
|
}
|
|
2371
2371
|
const getBaseUrl = (baseUrl, serviceName) => {
|
|
2372
2372
|
const service = serviceName || config?.default_service;
|
|
2373
|
-
return
|
|
2373
|
+
return `${baseUrl.replace(/\/$/, "")}/${service}/api/v2`;
|
|
2374
2374
|
};
|
|
2375
2375
|
const responseBody = (response) => response;
|
|
2376
2376
|
const requests = {
|
package/dist/configs.mjs
CHANGED
|
@@ -2334,7 +2334,7 @@ var axiosClient = {
|
|
|
2334
2334
|
}
|
|
2335
2335
|
const getBaseUrl = (baseUrl, serviceName) => {
|
|
2336
2336
|
const service = serviceName || config?.default_service;
|
|
2337
|
-
return
|
|
2337
|
+
return `${baseUrl.replace(/\/$/, "")}/${service}/api/v2`;
|
|
2338
2338
|
};
|
|
2339
2339
|
const responseBody = (response) => response;
|
|
2340
2340
|
const requests = {
|
package/dist/environment.js
CHANGED
|
@@ -2372,7 +2372,7 @@ var axiosClient = {
|
|
|
2372
2372
|
}
|
|
2373
2373
|
const getBaseUrl = (baseUrl, serviceName) => {
|
|
2374
2374
|
const service = serviceName || config?.default_service;
|
|
2375
|
-
return
|
|
2375
|
+
return `${baseUrl.replace(/\/$/, "")}/${service}/api/v2`;
|
|
2376
2376
|
};
|
|
2377
2377
|
const responseBody = (response) => response;
|
|
2378
2378
|
const requests = {
|
package/dist/environment.mjs
CHANGED
|
@@ -2334,7 +2334,7 @@ var axiosClient = {
|
|
|
2334
2334
|
}
|
|
2335
2335
|
const getBaseUrl = (baseUrl, serviceName) => {
|
|
2336
2336
|
const service = serviceName || config?.default_service;
|
|
2337
|
-
return
|
|
2337
|
+
return `${baseUrl.replace(/\/$/, "")}/${service}/api/v2`;
|
|
2338
2338
|
};
|
|
2339
2339
|
const responseBody = (response) => response;
|
|
2340
2340
|
const requests = {
|
package/dist/hooks.d.mts
CHANGED
|
@@ -140,11 +140,6 @@ declare const useUploadFile: () => _tanstack_react_query.UseMutationResult<any,
|
|
|
140
140
|
formData: any;
|
|
141
141
|
}, unknown>;
|
|
142
142
|
|
|
143
|
-
declare const useGetFile: ({ idFile, context }: {
|
|
144
|
-
idFile: any;
|
|
145
|
-
context: any;
|
|
146
|
-
}) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
147
|
-
|
|
148
143
|
declare const useDelete: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
149
144
|
ids: any;
|
|
150
145
|
model: string;
|
|
@@ -276,7 +271,7 @@ declare const useGetGroups: ({ model, width_context, }: {
|
|
|
276
271
|
|
|
277
272
|
declare const useGetListData: (listDataProps: any, queryKey?: any, enabled?: any, service?: string) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
278
273
|
|
|
279
|
-
declare const useGetMenu: (context: any, specification: any, enabled?: boolean) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
274
|
+
declare const useGetMenu: (context: any, specification: any, enabled?: boolean, domain?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
280
275
|
|
|
281
276
|
declare const useGetPrintReport: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
282
277
|
id: number;
|
|
@@ -379,4 +374,4 @@ declare const useVerifyTotp: () => _tanstack_react_query.UseMutationResult<unkno
|
|
|
379
374
|
code: string;
|
|
380
375
|
}, unknown>;
|
|
381
376
|
|
|
382
|
-
export { useButton, useChangeStatus, useDelete, useDeleteComment, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGet2FAMethods, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange,
|
|
377
|
+
export { useButton, useChangeStatus, useDelete, useDeleteComment, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGet2FAMethods, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetPrintReport, useGetProGressBar, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetUser, useGetView, useGrantAccess, useIsValidToken, useLoadAction, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdatePassword, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };
|
package/dist/hooks.d.ts
CHANGED
|
@@ -140,11 +140,6 @@ declare const useUploadFile: () => _tanstack_react_query.UseMutationResult<any,
|
|
|
140
140
|
formData: any;
|
|
141
141
|
}, unknown>;
|
|
142
142
|
|
|
143
|
-
declare const useGetFile: ({ idFile, context }: {
|
|
144
|
-
idFile: any;
|
|
145
|
-
context: any;
|
|
146
|
-
}) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
147
|
-
|
|
148
143
|
declare const useDelete: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
149
144
|
ids: any;
|
|
150
145
|
model: string;
|
|
@@ -276,7 +271,7 @@ declare const useGetGroups: ({ model, width_context, }: {
|
|
|
276
271
|
|
|
277
272
|
declare const useGetListData: (listDataProps: any, queryKey?: any, enabled?: any, service?: string) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
278
273
|
|
|
279
|
-
declare const useGetMenu: (context: any, specification: any, enabled?: boolean) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
274
|
+
declare const useGetMenu: (context: any, specification: any, enabled?: boolean, domain?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
280
275
|
|
|
281
276
|
declare const useGetPrintReport: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
282
277
|
id: number;
|
|
@@ -379,4 +374,4 @@ declare const useVerifyTotp: () => _tanstack_react_query.UseMutationResult<unkno
|
|
|
379
374
|
code: string;
|
|
380
375
|
}, unknown>;
|
|
381
376
|
|
|
382
|
-
export { useButton, useChangeStatus, useDelete, useDeleteComment, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGet2FAMethods, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange,
|
|
377
|
+
export { useButton, useChangeStatus, useDelete, useDeleteComment, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGet2FAMethods, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetPrintReport, useGetProGressBar, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetUser, useGetView, useGrantAccess, useIsValidToken, useLoadAction, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdatePassword, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };
|