@fctc/interface-logic 3.0.6 → 3.0.8
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/hooks.d.mts +4 -3
- package/dist/hooks.d.ts +4 -3
- package/dist/hooks.js +25 -22
- package/dist/hooks.mjs +23 -20
- package/dist/provider.d.mts +3 -3
- package/dist/provider.d.ts +3 -3
- package/dist/provider.js +23 -20
- package/dist/provider.mjs +23 -20
- package/dist/services.d.mts +3 -2
- package/dist/services.d.ts +3 -2
- package/dist/services.js +9 -8
- package/dist/services.mjs +9 -8
- package/package.json +90 -90
package/dist/hooks.d.mts
CHANGED
|
@@ -528,14 +528,15 @@ declare const useCheckPayment: () => _tanstack_react_query.UseMutationResult<unk
|
|
|
528
528
|
xNode: string;
|
|
529
529
|
}, unknown>;
|
|
530
530
|
|
|
531
|
-
declare const
|
|
531
|
+
declare const useHandleCloseSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
532
532
|
model: string;
|
|
533
533
|
ids: any;
|
|
534
534
|
service: string;
|
|
535
535
|
xNode: string;
|
|
536
|
+
method: string;
|
|
536
537
|
}, unknown>;
|
|
537
538
|
|
|
538
|
-
declare const
|
|
539
|
+
declare const useHandleClosingDetailSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
539
540
|
model: string;
|
|
540
541
|
ids: any;
|
|
541
542
|
method: string;
|
|
@@ -544,4 +545,4 @@ declare const useGetDetailEntity: () => _tanstack_react_query.UseMutationResult<
|
|
|
544
545
|
kwargs: any;
|
|
545
546
|
}, unknown>;
|
|
546
547
|
|
|
547
|
-
export { useAddEntity, useButton, useChangeStatus, useCheckPayment, useCreateEntity, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany,
|
|
548
|
+
export { useAddEntity, useButton, useChangeStatus, useCheckPayment, useCreateEntity, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetOrderLine, useGetPos, useGetPrintReport, useGetProGressBar, useGetProductImage, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetUser, useGetView, useGrantAccess, useHandleCloseSession, useHandleClosingDetailSession, useHandleClosingSession, useIsValidToken, useLoadAction, useLoadDataPosSession, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useManageOnChange, useManageSession, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdateClosedSession, useUpdateEntity, useUpdatePassword, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };
|
package/dist/hooks.d.ts
CHANGED
|
@@ -528,14 +528,15 @@ declare const useCheckPayment: () => _tanstack_react_query.UseMutationResult<unk
|
|
|
528
528
|
xNode: string;
|
|
529
529
|
}, unknown>;
|
|
530
530
|
|
|
531
|
-
declare const
|
|
531
|
+
declare const useHandleCloseSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
532
532
|
model: string;
|
|
533
533
|
ids: any;
|
|
534
534
|
service: string;
|
|
535
535
|
xNode: string;
|
|
536
|
+
method: string;
|
|
536
537
|
}, unknown>;
|
|
537
538
|
|
|
538
|
-
declare const
|
|
539
|
+
declare const useHandleClosingDetailSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
539
540
|
model: string;
|
|
540
541
|
ids: any;
|
|
541
542
|
method: string;
|
|
@@ -544,4 +545,4 @@ declare const useGetDetailEntity: () => _tanstack_react_query.UseMutationResult<
|
|
|
544
545
|
kwargs: any;
|
|
545
546
|
}, unknown>;
|
|
546
547
|
|
|
547
|
-
export { useAddEntity, useButton, useChangeStatus, useCheckPayment, useCreateEntity, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany,
|
|
548
|
+
export { useAddEntity, useButton, useChangeStatus, useCheckPayment, useCreateEntity, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetOrderLine, useGetPos, useGetPrintReport, useGetProGressBar, useGetProductImage, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetUser, useGetView, useGrantAccess, useHandleCloseSession, useHandleClosingDetailSession, useHandleClosingSession, useIsValidToken, useLoadAction, useLoadDataPosSession, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useManageOnChange, useManageSession, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdateClosedSession, useUpdateEntity, useUpdatePassword, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };
|
package/dist/hooks.js
CHANGED
|
@@ -56,9 +56,7 @@ __export(hooks_exports, {
|
|
|
56
56
|
useGetConversionRate: () => use_get_conversion_rate_default,
|
|
57
57
|
useGetCurrency: () => use_get_currency_default,
|
|
58
58
|
useGetCurrentCompany: () => use_get_current_company_default,
|
|
59
|
-
useGetDataCloseSession: () => use_get_data_close_session_default,
|
|
60
59
|
useGetDetail: () => use_get_detail_default,
|
|
61
|
-
useGetDetailEntity: () => use_get_detail_entity_default,
|
|
62
60
|
useGetFieldExport: () => use_get_field_export_default,
|
|
63
61
|
useGetFieldOnChange: () => use_get_field_onchange_default,
|
|
64
62
|
useGetFileExcel: () => use_get_file_excel_default,
|
|
@@ -82,6 +80,8 @@ __export(hooks_exports, {
|
|
|
82
80
|
useGetUser: () => use_get_user_default,
|
|
83
81
|
useGetView: () => use_get_view_default,
|
|
84
82
|
useGrantAccess: () => use_grant_access_default,
|
|
83
|
+
useHandleCloseSession: () => use_handle_close_session_default,
|
|
84
|
+
useHandleClosingDetailSession: () => use_handle_closing_detail_session_default,
|
|
85
85
|
useHandleClosingSession: () => use_handle_closing_session_default,
|
|
86
86
|
useIsValidToken: () => use_isvalid_token_default,
|
|
87
87
|
useLoadAction: () => use_load_action_default,
|
|
@@ -5236,17 +5236,18 @@ function useViewService() {
|
|
|
5236
5236
|
},
|
|
5237
5237
|
[env]
|
|
5238
5238
|
);
|
|
5239
|
-
const
|
|
5239
|
+
const handleCloseSession = (0, import_react14.useCallback)(
|
|
5240
5240
|
({
|
|
5241
5241
|
model,
|
|
5242
5242
|
ids,
|
|
5243
5243
|
xNode,
|
|
5244
|
-
service
|
|
5244
|
+
service,
|
|
5245
|
+
method
|
|
5245
5246
|
}) => {
|
|
5246
5247
|
const jsonData = {
|
|
5247
5248
|
model,
|
|
5248
5249
|
ids,
|
|
5249
|
-
method
|
|
5250
|
+
method
|
|
5250
5251
|
};
|
|
5251
5252
|
return env?.requests.post(
|
|
5252
5253
|
"/call" /* CALL_PATH */,
|
|
@@ -5262,7 +5263,7 @@ function useViewService() {
|
|
|
5262
5263
|
},
|
|
5263
5264
|
[env]
|
|
5264
5265
|
);
|
|
5265
|
-
const
|
|
5266
|
+
const handleClosingDetailSession = (0, import_react14.useCallback)(
|
|
5266
5267
|
({
|
|
5267
5268
|
model,
|
|
5268
5269
|
ids,
|
|
@@ -5323,8 +5324,8 @@ function useViewService() {
|
|
|
5323
5324
|
getProductImage,
|
|
5324
5325
|
addEntity,
|
|
5325
5326
|
checkPayment,
|
|
5326
|
-
|
|
5327
|
-
|
|
5327
|
+
handleCloseSession,
|
|
5328
|
+
handleClosingDetailSession
|
|
5328
5329
|
};
|
|
5329
5330
|
}
|
|
5330
5331
|
|
|
@@ -7101,32 +7102,34 @@ var useCheckPayment = () => {
|
|
|
7101
7102
|
};
|
|
7102
7103
|
var use_check_payment_default = useCheckPayment;
|
|
7103
7104
|
|
|
7104
|
-
// src/hooks/view/use-
|
|
7105
|
+
// src/hooks/view/use-handle-close-session.ts
|
|
7105
7106
|
var import_react_query87 = require("@tanstack/react-query");
|
|
7106
|
-
var
|
|
7107
|
-
const {
|
|
7107
|
+
var useHandleCloseSession = () => {
|
|
7108
|
+
const { handleCloseSession } = useViewService();
|
|
7108
7109
|
return (0, import_react_query87.useMutation)({
|
|
7109
7110
|
mutationFn: ({
|
|
7110
7111
|
model,
|
|
7111
7112
|
ids,
|
|
7112
7113
|
xNode,
|
|
7113
|
-
service
|
|
7114
|
+
service,
|
|
7115
|
+
method
|
|
7114
7116
|
}) => {
|
|
7115
|
-
return
|
|
7117
|
+
return handleCloseSession({
|
|
7116
7118
|
model,
|
|
7117
7119
|
ids,
|
|
7118
7120
|
xNode,
|
|
7119
|
-
service
|
|
7121
|
+
service,
|
|
7122
|
+
method
|
|
7120
7123
|
});
|
|
7121
7124
|
}
|
|
7122
7125
|
});
|
|
7123
7126
|
};
|
|
7124
|
-
var
|
|
7127
|
+
var use_handle_close_session_default = useHandleCloseSession;
|
|
7125
7128
|
|
|
7126
|
-
// src/hooks/view/use-
|
|
7129
|
+
// src/hooks/view/use-handle-closing-detail-session.ts
|
|
7127
7130
|
var import_react_query88 = require("@tanstack/react-query");
|
|
7128
|
-
var
|
|
7129
|
-
const {
|
|
7131
|
+
var useHandleClosingDetailSession = () => {
|
|
7132
|
+
const { handleClosingDetailSession } = useViewService();
|
|
7130
7133
|
return (0, import_react_query88.useMutation)({
|
|
7131
7134
|
mutationFn: ({
|
|
7132
7135
|
model,
|
|
@@ -7136,7 +7139,7 @@ var useGetDetailEntity = () => {
|
|
|
7136
7139
|
service,
|
|
7137
7140
|
kwargs
|
|
7138
7141
|
}) => {
|
|
7139
|
-
return
|
|
7142
|
+
return handleClosingDetailSession({
|
|
7140
7143
|
model,
|
|
7141
7144
|
ids,
|
|
7142
7145
|
method,
|
|
@@ -7147,7 +7150,7 @@ var useGetDetailEntity = () => {
|
|
|
7147
7150
|
}
|
|
7148
7151
|
});
|
|
7149
7152
|
};
|
|
7150
|
-
var
|
|
7153
|
+
var use_handle_closing_detail_session_default = useHandleClosingDetailSession;
|
|
7151
7154
|
// Annotate the CommonJS export names for ESM import in node:
|
|
7152
7155
|
0 && (module.exports = {
|
|
7153
7156
|
useAddEntity,
|
|
@@ -7176,9 +7179,7 @@ var use_get_detail_entity_default = useGetDetailEntity;
|
|
|
7176
7179
|
useGetConversionRate,
|
|
7177
7180
|
useGetCurrency,
|
|
7178
7181
|
useGetCurrentCompany,
|
|
7179
|
-
useGetDataCloseSession,
|
|
7180
7182
|
useGetDetail,
|
|
7181
|
-
useGetDetailEntity,
|
|
7182
7183
|
useGetFieldExport,
|
|
7183
7184
|
useGetFieldOnChange,
|
|
7184
7185
|
useGetFileExcel,
|
|
@@ -7202,6 +7203,8 @@ var use_get_detail_entity_default = useGetDetailEntity;
|
|
|
7202
7203
|
useGetUser,
|
|
7203
7204
|
useGetView,
|
|
7204
7205
|
useGrantAccess,
|
|
7206
|
+
useHandleCloseSession,
|
|
7207
|
+
useHandleClosingDetailSession,
|
|
7205
7208
|
useHandleClosingSession,
|
|
7206
7209
|
useIsValidToken,
|
|
7207
7210
|
useLoadAction,
|
package/dist/hooks.mjs
CHANGED
|
@@ -5113,17 +5113,18 @@ function useViewService() {
|
|
|
5113
5113
|
},
|
|
5114
5114
|
[env]
|
|
5115
5115
|
);
|
|
5116
|
-
const
|
|
5116
|
+
const handleCloseSession = useCallback10(
|
|
5117
5117
|
({
|
|
5118
5118
|
model,
|
|
5119
5119
|
ids,
|
|
5120
5120
|
xNode,
|
|
5121
|
-
service
|
|
5121
|
+
service,
|
|
5122
|
+
method
|
|
5122
5123
|
}) => {
|
|
5123
5124
|
const jsonData = {
|
|
5124
5125
|
model,
|
|
5125
5126
|
ids,
|
|
5126
|
-
method
|
|
5127
|
+
method
|
|
5127
5128
|
};
|
|
5128
5129
|
return env?.requests.post(
|
|
5129
5130
|
"/call" /* CALL_PATH */,
|
|
@@ -5139,7 +5140,7 @@ function useViewService() {
|
|
|
5139
5140
|
},
|
|
5140
5141
|
[env]
|
|
5141
5142
|
);
|
|
5142
|
-
const
|
|
5143
|
+
const handleClosingDetailSession = useCallback10(
|
|
5143
5144
|
({
|
|
5144
5145
|
model,
|
|
5145
5146
|
ids,
|
|
@@ -5200,8 +5201,8 @@ function useViewService() {
|
|
|
5200
5201
|
getProductImage,
|
|
5201
5202
|
addEntity,
|
|
5202
5203
|
checkPayment,
|
|
5203
|
-
|
|
5204
|
-
|
|
5204
|
+
handleCloseSession,
|
|
5205
|
+
handleClosingDetailSession
|
|
5205
5206
|
};
|
|
5206
5207
|
}
|
|
5207
5208
|
|
|
@@ -6978,32 +6979,34 @@ var useCheckPayment = () => {
|
|
|
6978
6979
|
};
|
|
6979
6980
|
var use_check_payment_default = useCheckPayment;
|
|
6980
6981
|
|
|
6981
|
-
// src/hooks/view/use-
|
|
6982
|
+
// src/hooks/view/use-handle-close-session.ts
|
|
6982
6983
|
import { useMutation as useMutation65 } from "@tanstack/react-query";
|
|
6983
|
-
var
|
|
6984
|
-
const {
|
|
6984
|
+
var useHandleCloseSession = () => {
|
|
6985
|
+
const { handleCloseSession } = useViewService();
|
|
6985
6986
|
return useMutation65({
|
|
6986
6987
|
mutationFn: ({
|
|
6987
6988
|
model,
|
|
6988
6989
|
ids,
|
|
6989
6990
|
xNode,
|
|
6990
|
-
service
|
|
6991
|
+
service,
|
|
6992
|
+
method
|
|
6991
6993
|
}) => {
|
|
6992
|
-
return
|
|
6994
|
+
return handleCloseSession({
|
|
6993
6995
|
model,
|
|
6994
6996
|
ids,
|
|
6995
6997
|
xNode,
|
|
6996
|
-
service
|
|
6998
|
+
service,
|
|
6999
|
+
method
|
|
6997
7000
|
});
|
|
6998
7001
|
}
|
|
6999
7002
|
});
|
|
7000
7003
|
};
|
|
7001
|
-
var
|
|
7004
|
+
var use_handle_close_session_default = useHandleCloseSession;
|
|
7002
7005
|
|
|
7003
|
-
// src/hooks/view/use-
|
|
7006
|
+
// src/hooks/view/use-handle-closing-detail-session.ts
|
|
7004
7007
|
import { useMutation as useMutation66 } from "@tanstack/react-query";
|
|
7005
|
-
var
|
|
7006
|
-
const {
|
|
7008
|
+
var useHandleClosingDetailSession = () => {
|
|
7009
|
+
const { handleClosingDetailSession } = useViewService();
|
|
7007
7010
|
return useMutation66({
|
|
7008
7011
|
mutationFn: ({
|
|
7009
7012
|
model,
|
|
@@ -7013,7 +7016,7 @@ var useGetDetailEntity = () => {
|
|
|
7013
7016
|
service,
|
|
7014
7017
|
kwargs
|
|
7015
7018
|
}) => {
|
|
7016
|
-
return
|
|
7019
|
+
return handleClosingDetailSession({
|
|
7017
7020
|
model,
|
|
7018
7021
|
ids,
|
|
7019
7022
|
method,
|
|
@@ -7024,7 +7027,7 @@ var useGetDetailEntity = () => {
|
|
|
7024
7027
|
}
|
|
7025
7028
|
});
|
|
7026
7029
|
};
|
|
7027
|
-
var
|
|
7030
|
+
var use_handle_closing_detail_session_default = useHandleClosingDetailSession;
|
|
7028
7031
|
export {
|
|
7029
7032
|
use_add_entity_default as useAddEntity,
|
|
7030
7033
|
use_button_default as useButton,
|
|
@@ -7052,9 +7055,7 @@ export {
|
|
|
7052
7055
|
use_get_conversion_rate_default as useGetConversionRate,
|
|
7053
7056
|
use_get_currency_default as useGetCurrency,
|
|
7054
7057
|
use_get_current_company_default as useGetCurrentCompany,
|
|
7055
|
-
use_get_data_close_session_default as useGetDataCloseSession,
|
|
7056
7058
|
use_get_detail_default as useGetDetail,
|
|
7057
|
-
use_get_detail_entity_default as useGetDetailEntity,
|
|
7058
7059
|
use_get_field_export_default as useGetFieldExport,
|
|
7059
7060
|
use_get_field_onchange_default as useGetFieldOnChange,
|
|
7060
7061
|
use_get_file_excel_default as useGetFileExcel,
|
|
@@ -7078,6 +7079,8 @@ export {
|
|
|
7078
7079
|
use_get_user_default as useGetUser,
|
|
7079
7080
|
use_get_view_default as useGetView,
|
|
7080
7081
|
use_grant_access_default as useGrantAccess,
|
|
7082
|
+
use_handle_close_session_default as useHandleCloseSession,
|
|
7083
|
+
use_handle_closing_detail_session_default as useHandleClosingDetailSession,
|
|
7081
7084
|
use_handle_closing_session_default as useHandleClosingSession,
|
|
7082
7085
|
use_isvalid_token_default as useIsValidToken,
|
|
7083
7086
|
use_load_action_default as useLoadAction,
|
package/dist/provider.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { L as LocalStorageUtilsType } from './local-storage-BPvoMGYJ.mjs';
|
|
4
|
-
import { useForgotPassword, useForgotPasswordSSO, useGetProvider, useIsValidToken, useLoginCredential, useLoginSocial, useResetPassword, useResetPasswordSSO, useUpdatePassword, useLogout, useGetAccessByCode, useValidateActionToken, useGetCompanyInfo, useGetCurrentCompany, useGetListCompany, useExecuteImport, useExportExcel, useGetFieldExport, useGetFileExcel, useParsePreview, useUploadFileExcel, useUploadIdFile, useChangeStatus, useDeleteComment, useGetComment, useGetFormView, useGetImage, useSendComment, useUploadImage, useDelete, useGetAll, useGetConversionRate, useGetCurrency, useGetDetail, useGetFieldOnChange, useGetListMyBankAccount, useModel, useOdooDataTransform, useOnChangeForm, useSave, useGetProfile, useGetUser, useSwitchLocale, useButton, useDuplicateRecord, useGet2FAMethods, useGetActionDetail, useGetCalendar, useGetGroups, useGetListData, useGetMenu, useGetPrintReport, useGetProGressBar, useGetResequence, useGetSelection, useGetView, useLoadAction, useLoadMessage, usePrint, useRemoveRow, useRunAction, useSignInSSO, useVerify2FA, useGrantAccess, useRemoveTotpSetup, useRequestSetupTotp, useSettingsWebRead2fa, useVerifyTotp, useUploadFile, useCreateEntity, useGetASession, useCreateSession, useDeleteEntity, useGetList, useGetPos, useHandleClosingSession, useManageSession, useUpdateClosedSession, useUpdateEntity, useLoadDataPosSession, useManageOnChange, useGenSerialNumber, useGetOrderLine, useGetProductImage, useAddEntity, useCheckPayment,
|
|
4
|
+
import { useForgotPassword, useForgotPasswordSSO, useGetProvider, useIsValidToken, useLoginCredential, useLoginSocial, useResetPassword, useResetPasswordSSO, useUpdatePassword, useLogout, useGetAccessByCode, useValidateActionToken, useGetCompanyInfo, useGetCurrentCompany, useGetListCompany, useExecuteImport, useExportExcel, useGetFieldExport, useGetFileExcel, useParsePreview, useUploadFileExcel, useUploadIdFile, useChangeStatus, useDeleteComment, useGetComment, useGetFormView, useGetImage, useSendComment, useUploadImage, useDelete, useGetAll, useGetConversionRate, useGetCurrency, useGetDetail, useGetFieldOnChange, useGetListMyBankAccount, useModel, useOdooDataTransform, useOnChangeForm, useSave, useGetProfile, useGetUser, useSwitchLocale, useButton, useDuplicateRecord, useGet2FAMethods, useGetActionDetail, useGetCalendar, useGetGroups, useGetListData, useGetMenu, useGetPrintReport, useGetProGressBar, useGetResequence, useGetSelection, useGetView, useLoadAction, useLoadMessage, usePrint, useRemoveRow, useRunAction, useSignInSSO, useVerify2FA, useGrantAccess, useRemoveTotpSetup, useRequestSetupTotp, useSettingsWebRead2fa, useVerifyTotp, useUploadFile, useCreateEntity, useGetASession, useCreateSession, useDeleteEntity, useGetList, useGetPos, useHandleClosingSession, useManageSession, useUpdateClosedSession, useUpdateEntity, useLoadDataPosSession, useManageOnChange, useGenSerialNumber, useGetOrderLine, useGetProductImage, useAddEntity, useCheckPayment, useHandleCloseSession, useHandleClosingDetailSession } from './hooks.mjs';
|
|
5
5
|
import '@tanstack/react-query';
|
|
6
6
|
import './view-type-xxw9OeSR.mjs';
|
|
7
7
|
import './base-model-type-DD8uZnDP.mjs';
|
|
@@ -151,8 +151,8 @@ interface ServiceContextType {
|
|
|
151
151
|
useGetProductImage: typeof useGetProductImage;
|
|
152
152
|
useAddEntity: typeof useAddEntity;
|
|
153
153
|
useCheckPayment: typeof useCheckPayment;
|
|
154
|
-
|
|
155
|
-
|
|
154
|
+
useHandleCloseSession: typeof useHandleCloseSession;
|
|
155
|
+
useHandleClosingDetailSession: typeof useHandleClosingDetailSession;
|
|
156
156
|
}
|
|
157
157
|
declare const ServiceProvider: ({ children, }: {
|
|
158
158
|
children: React.ReactNode;
|
package/dist/provider.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { L as LocalStorageUtilsType } from './local-storage-BPvoMGYJ.js';
|
|
4
|
-
import { useForgotPassword, useForgotPasswordSSO, useGetProvider, useIsValidToken, useLoginCredential, useLoginSocial, useResetPassword, useResetPasswordSSO, useUpdatePassword, useLogout, useGetAccessByCode, useValidateActionToken, useGetCompanyInfo, useGetCurrentCompany, useGetListCompany, useExecuteImport, useExportExcel, useGetFieldExport, useGetFileExcel, useParsePreview, useUploadFileExcel, useUploadIdFile, useChangeStatus, useDeleteComment, useGetComment, useGetFormView, useGetImage, useSendComment, useUploadImage, useDelete, useGetAll, useGetConversionRate, useGetCurrency, useGetDetail, useGetFieldOnChange, useGetListMyBankAccount, useModel, useOdooDataTransform, useOnChangeForm, useSave, useGetProfile, useGetUser, useSwitchLocale, useButton, useDuplicateRecord, useGet2FAMethods, useGetActionDetail, useGetCalendar, useGetGroups, useGetListData, useGetMenu, useGetPrintReport, useGetProGressBar, useGetResequence, useGetSelection, useGetView, useLoadAction, useLoadMessage, usePrint, useRemoveRow, useRunAction, useSignInSSO, useVerify2FA, useGrantAccess, useRemoveTotpSetup, useRequestSetupTotp, useSettingsWebRead2fa, useVerifyTotp, useUploadFile, useCreateEntity, useGetASession, useCreateSession, useDeleteEntity, useGetList, useGetPos, useHandleClosingSession, useManageSession, useUpdateClosedSession, useUpdateEntity, useLoadDataPosSession, useManageOnChange, useGenSerialNumber, useGetOrderLine, useGetProductImage, useAddEntity, useCheckPayment,
|
|
4
|
+
import { useForgotPassword, useForgotPasswordSSO, useGetProvider, useIsValidToken, useLoginCredential, useLoginSocial, useResetPassword, useResetPasswordSSO, useUpdatePassword, useLogout, useGetAccessByCode, useValidateActionToken, useGetCompanyInfo, useGetCurrentCompany, useGetListCompany, useExecuteImport, useExportExcel, useGetFieldExport, useGetFileExcel, useParsePreview, useUploadFileExcel, useUploadIdFile, useChangeStatus, useDeleteComment, useGetComment, useGetFormView, useGetImage, useSendComment, useUploadImage, useDelete, useGetAll, useGetConversionRate, useGetCurrency, useGetDetail, useGetFieldOnChange, useGetListMyBankAccount, useModel, useOdooDataTransform, useOnChangeForm, useSave, useGetProfile, useGetUser, useSwitchLocale, useButton, useDuplicateRecord, useGet2FAMethods, useGetActionDetail, useGetCalendar, useGetGroups, useGetListData, useGetMenu, useGetPrintReport, useGetProGressBar, useGetResequence, useGetSelection, useGetView, useLoadAction, useLoadMessage, usePrint, useRemoveRow, useRunAction, useSignInSSO, useVerify2FA, useGrantAccess, useRemoveTotpSetup, useRequestSetupTotp, useSettingsWebRead2fa, useVerifyTotp, useUploadFile, useCreateEntity, useGetASession, useCreateSession, useDeleteEntity, useGetList, useGetPos, useHandleClosingSession, useManageSession, useUpdateClosedSession, useUpdateEntity, useLoadDataPosSession, useManageOnChange, useGenSerialNumber, useGetOrderLine, useGetProductImage, useAddEntity, useCheckPayment, useHandleCloseSession, useHandleClosingDetailSession } from './hooks.js';
|
|
5
5
|
import '@tanstack/react-query';
|
|
6
6
|
import './view-type-xxw9OeSR.js';
|
|
7
7
|
import './base-model-type-DD8uZnDP.js';
|
|
@@ -151,8 +151,8 @@ interface ServiceContextType {
|
|
|
151
151
|
useGetProductImage: typeof useGetProductImage;
|
|
152
152
|
useAddEntity: typeof useAddEntity;
|
|
153
153
|
useCheckPayment: typeof useCheckPayment;
|
|
154
|
-
|
|
155
|
-
|
|
154
|
+
useHandleCloseSession: typeof useHandleCloseSession;
|
|
155
|
+
useHandleClosingDetailSession: typeof useHandleClosingDetailSession;
|
|
156
156
|
}
|
|
157
157
|
declare const ServiceProvider: ({ children, }: {
|
|
158
158
|
children: React.ReactNode;
|
package/dist/provider.js
CHANGED
|
@@ -5233,17 +5233,18 @@ function useViewService() {
|
|
|
5233
5233
|
},
|
|
5234
5234
|
[env]
|
|
5235
5235
|
);
|
|
5236
|
-
const
|
|
5236
|
+
const handleCloseSession = (0, import_react10.useCallback)(
|
|
5237
5237
|
({
|
|
5238
5238
|
model,
|
|
5239
5239
|
ids,
|
|
5240
5240
|
xNode,
|
|
5241
|
-
service
|
|
5241
|
+
service,
|
|
5242
|
+
method
|
|
5242
5243
|
}) => {
|
|
5243
5244
|
const jsonData = {
|
|
5244
5245
|
model,
|
|
5245
5246
|
ids,
|
|
5246
|
-
method
|
|
5247
|
+
method
|
|
5247
5248
|
};
|
|
5248
5249
|
return env?.requests.post(
|
|
5249
5250
|
"/call" /* CALL_PATH */,
|
|
@@ -5259,7 +5260,7 @@ function useViewService() {
|
|
|
5259
5260
|
},
|
|
5260
5261
|
[env]
|
|
5261
5262
|
);
|
|
5262
|
-
const
|
|
5263
|
+
const handleClosingDetailSession = (0, import_react10.useCallback)(
|
|
5263
5264
|
({
|
|
5264
5265
|
model,
|
|
5265
5266
|
ids,
|
|
@@ -5320,8 +5321,8 @@ function useViewService() {
|
|
|
5320
5321
|
getProductImage,
|
|
5321
5322
|
addEntity,
|
|
5322
5323
|
checkPayment,
|
|
5323
|
-
|
|
5324
|
-
|
|
5324
|
+
handleCloseSession,
|
|
5325
|
+
handleClosingDetailSession
|
|
5325
5326
|
};
|
|
5326
5327
|
}
|
|
5327
5328
|
|
|
@@ -7480,32 +7481,34 @@ var useCheckPayment = () => {
|
|
|
7480
7481
|
};
|
|
7481
7482
|
var use_check_payment_default = useCheckPayment;
|
|
7482
7483
|
|
|
7483
|
-
// src/hooks/view/use-
|
|
7484
|
+
// src/hooks/view/use-handle-close-session.ts
|
|
7484
7485
|
var import_react_query87 = require("@tanstack/react-query");
|
|
7485
|
-
var
|
|
7486
|
-
const {
|
|
7486
|
+
var useHandleCloseSession = () => {
|
|
7487
|
+
const { handleCloseSession } = useViewService();
|
|
7487
7488
|
return (0, import_react_query87.useMutation)({
|
|
7488
7489
|
mutationFn: ({
|
|
7489
7490
|
model,
|
|
7490
7491
|
ids,
|
|
7491
7492
|
xNode,
|
|
7492
|
-
service
|
|
7493
|
+
service,
|
|
7494
|
+
method
|
|
7493
7495
|
}) => {
|
|
7494
|
-
return
|
|
7496
|
+
return handleCloseSession({
|
|
7495
7497
|
model,
|
|
7496
7498
|
ids,
|
|
7497
7499
|
xNode,
|
|
7498
|
-
service
|
|
7500
|
+
service,
|
|
7501
|
+
method
|
|
7499
7502
|
});
|
|
7500
7503
|
}
|
|
7501
7504
|
});
|
|
7502
7505
|
};
|
|
7503
|
-
var
|
|
7506
|
+
var use_handle_close_session_default = useHandleCloseSession;
|
|
7504
7507
|
|
|
7505
|
-
// src/hooks/view/use-
|
|
7508
|
+
// src/hooks/view/use-handle-closing-detail-session.ts
|
|
7506
7509
|
var import_react_query88 = require("@tanstack/react-query");
|
|
7507
|
-
var
|
|
7508
|
-
const {
|
|
7510
|
+
var useHandleClosingDetailSession = () => {
|
|
7511
|
+
const { handleClosingDetailSession } = useViewService();
|
|
7509
7512
|
return (0, import_react_query88.useMutation)({
|
|
7510
7513
|
mutationFn: ({
|
|
7511
7514
|
model,
|
|
@@ -7515,7 +7518,7 @@ var useGetDetailEntity = () => {
|
|
|
7515
7518
|
service,
|
|
7516
7519
|
kwargs
|
|
7517
7520
|
}) => {
|
|
7518
|
-
return
|
|
7521
|
+
return handleClosingDetailSession({
|
|
7519
7522
|
model,
|
|
7520
7523
|
ids,
|
|
7521
7524
|
method,
|
|
@@ -7526,7 +7529,7 @@ var useGetDetailEntity = () => {
|
|
|
7526
7529
|
}
|
|
7527
7530
|
});
|
|
7528
7531
|
};
|
|
7529
|
-
var
|
|
7532
|
+
var use_handle_closing_detail_session_default = useHandleClosingDetailSession;
|
|
7530
7533
|
|
|
7531
7534
|
// src/provider/service-provider.tsx
|
|
7532
7535
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
@@ -7621,8 +7624,8 @@ var ServiceProvider = ({
|
|
|
7621
7624
|
useGetProductImage: use_get_product_image_default,
|
|
7622
7625
|
useAddEntity: use_add_entity_default,
|
|
7623
7626
|
useCheckPayment: use_check_payment_default,
|
|
7624
|
-
|
|
7625
|
-
|
|
7627
|
+
useHandleCloseSession: use_handle_close_session_default,
|
|
7628
|
+
useHandleClosingDetailSession: use_handle_closing_detail_session_default
|
|
7626
7629
|
};
|
|
7627
7630
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ServiceContext.Provider, { value: services, children });
|
|
7628
7631
|
};
|
package/dist/provider.mjs
CHANGED
|
@@ -5190,17 +5190,18 @@ function useViewService() {
|
|
|
5190
5190
|
},
|
|
5191
5191
|
[env]
|
|
5192
5192
|
);
|
|
5193
|
-
const
|
|
5193
|
+
const handleCloseSession = useCallback9(
|
|
5194
5194
|
({
|
|
5195
5195
|
model,
|
|
5196
5196
|
ids,
|
|
5197
5197
|
xNode,
|
|
5198
|
-
service
|
|
5198
|
+
service,
|
|
5199
|
+
method
|
|
5199
5200
|
}) => {
|
|
5200
5201
|
const jsonData = {
|
|
5201
5202
|
model,
|
|
5202
5203
|
ids,
|
|
5203
|
-
method
|
|
5204
|
+
method
|
|
5204
5205
|
};
|
|
5205
5206
|
return env?.requests.post(
|
|
5206
5207
|
"/call" /* CALL_PATH */,
|
|
@@ -5216,7 +5217,7 @@ function useViewService() {
|
|
|
5216
5217
|
},
|
|
5217
5218
|
[env]
|
|
5218
5219
|
);
|
|
5219
|
-
const
|
|
5220
|
+
const handleClosingDetailSession = useCallback9(
|
|
5220
5221
|
({
|
|
5221
5222
|
model,
|
|
5222
5223
|
ids,
|
|
@@ -5277,8 +5278,8 @@ function useViewService() {
|
|
|
5277
5278
|
getProductImage,
|
|
5278
5279
|
addEntity,
|
|
5279
5280
|
checkPayment,
|
|
5280
|
-
|
|
5281
|
-
|
|
5281
|
+
handleCloseSession,
|
|
5282
|
+
handleClosingDetailSession
|
|
5282
5283
|
};
|
|
5283
5284
|
}
|
|
5284
5285
|
|
|
@@ -7437,32 +7438,34 @@ var useCheckPayment = () => {
|
|
|
7437
7438
|
};
|
|
7438
7439
|
var use_check_payment_default = useCheckPayment;
|
|
7439
7440
|
|
|
7440
|
-
// src/hooks/view/use-
|
|
7441
|
+
// src/hooks/view/use-handle-close-session.ts
|
|
7441
7442
|
import { useMutation as useMutation65 } from "@tanstack/react-query";
|
|
7442
|
-
var
|
|
7443
|
-
const {
|
|
7443
|
+
var useHandleCloseSession = () => {
|
|
7444
|
+
const { handleCloseSession } = useViewService();
|
|
7444
7445
|
return useMutation65({
|
|
7445
7446
|
mutationFn: ({
|
|
7446
7447
|
model,
|
|
7447
7448
|
ids,
|
|
7448
7449
|
xNode,
|
|
7449
|
-
service
|
|
7450
|
+
service,
|
|
7451
|
+
method
|
|
7450
7452
|
}) => {
|
|
7451
|
-
return
|
|
7453
|
+
return handleCloseSession({
|
|
7452
7454
|
model,
|
|
7453
7455
|
ids,
|
|
7454
7456
|
xNode,
|
|
7455
|
-
service
|
|
7457
|
+
service,
|
|
7458
|
+
method
|
|
7456
7459
|
});
|
|
7457
7460
|
}
|
|
7458
7461
|
});
|
|
7459
7462
|
};
|
|
7460
|
-
var
|
|
7463
|
+
var use_handle_close_session_default = useHandleCloseSession;
|
|
7461
7464
|
|
|
7462
|
-
// src/hooks/view/use-
|
|
7465
|
+
// src/hooks/view/use-handle-closing-detail-session.ts
|
|
7463
7466
|
import { useMutation as useMutation66 } from "@tanstack/react-query";
|
|
7464
|
-
var
|
|
7465
|
-
const {
|
|
7467
|
+
var useHandleClosingDetailSession = () => {
|
|
7468
|
+
const { handleClosingDetailSession } = useViewService();
|
|
7466
7469
|
return useMutation66({
|
|
7467
7470
|
mutationFn: ({
|
|
7468
7471
|
model,
|
|
@@ -7472,7 +7475,7 @@ var useGetDetailEntity = () => {
|
|
|
7472
7475
|
service,
|
|
7473
7476
|
kwargs
|
|
7474
7477
|
}) => {
|
|
7475
|
-
return
|
|
7478
|
+
return handleClosingDetailSession({
|
|
7476
7479
|
model,
|
|
7477
7480
|
ids,
|
|
7478
7481
|
method,
|
|
@@ -7483,7 +7486,7 @@ var useGetDetailEntity = () => {
|
|
|
7483
7486
|
}
|
|
7484
7487
|
});
|
|
7485
7488
|
};
|
|
7486
|
-
var
|
|
7489
|
+
var use_handle_closing_detail_session_default = useHandleClosingDetailSession;
|
|
7487
7490
|
|
|
7488
7491
|
// src/provider/service-provider.tsx
|
|
7489
7492
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
@@ -7578,8 +7581,8 @@ var ServiceProvider = ({
|
|
|
7578
7581
|
useGetProductImage: use_get_product_image_default,
|
|
7579
7582
|
useAddEntity: use_add_entity_default,
|
|
7580
7583
|
useCheckPayment: use_check_payment_default,
|
|
7581
|
-
|
|
7582
|
-
|
|
7584
|
+
useHandleCloseSession: use_handle_close_session_default,
|
|
7585
|
+
useHandleClosingDetailSession: use_handle_closing_detail_session_default
|
|
7583
7586
|
};
|
|
7584
7587
|
return /* @__PURE__ */ jsx6(ServiceContext.Provider, { value: services, children });
|
|
7585
7588
|
};
|
package/dist/services.d.mts
CHANGED
|
@@ -408,13 +408,14 @@ declare function useViewService(): {
|
|
|
408
408
|
service: string;
|
|
409
409
|
xNode: string;
|
|
410
410
|
}) => any;
|
|
411
|
-
|
|
411
|
+
handleCloseSession: ({ model, ids, xNode, service, method, }: {
|
|
412
412
|
model: string;
|
|
413
413
|
ids: any;
|
|
414
414
|
service: string;
|
|
415
415
|
xNode: string;
|
|
416
|
+
method: string;
|
|
416
417
|
}) => any;
|
|
417
|
-
|
|
418
|
+
handleClosingDetailSession: ({ model, ids, method, xNode, service, kwargs, }: {
|
|
418
419
|
model: string;
|
|
419
420
|
ids: any;
|
|
420
421
|
method: string;
|
package/dist/services.d.ts
CHANGED
|
@@ -408,13 +408,14 @@ declare function useViewService(): {
|
|
|
408
408
|
service: string;
|
|
409
409
|
xNode: string;
|
|
410
410
|
}) => any;
|
|
411
|
-
|
|
411
|
+
handleCloseSession: ({ model, ids, xNode, service, method, }: {
|
|
412
412
|
model: string;
|
|
413
413
|
ids: any;
|
|
414
414
|
service: string;
|
|
415
415
|
xNode: string;
|
|
416
|
+
method: string;
|
|
416
417
|
}) => any;
|
|
417
|
-
|
|
418
|
+
handleClosingDetailSession: ({ model, ids, method, xNode, service, kwargs, }: {
|
|
418
419
|
model: string;
|
|
419
420
|
ids: any;
|
|
420
421
|
method: string;
|
package/dist/services.js
CHANGED
|
@@ -3105,10 +3105,10 @@ var import_react_query85 = require("@tanstack/react-query");
|
|
|
3105
3105
|
// src/hooks/view/use-check-payment.ts
|
|
3106
3106
|
var import_react_query86 = require("@tanstack/react-query");
|
|
3107
3107
|
|
|
3108
|
-
// src/hooks/view/use-
|
|
3108
|
+
// src/hooks/view/use-handle-close-session.ts
|
|
3109
3109
|
var import_react_query87 = require("@tanstack/react-query");
|
|
3110
3110
|
|
|
3111
|
-
// src/hooks/view/use-
|
|
3111
|
+
// src/hooks/view/use-handle-closing-detail-session.ts
|
|
3112
3112
|
var import_react_query88 = require("@tanstack/react-query");
|
|
3113
3113
|
|
|
3114
3114
|
// src/provider/service-provider.tsx
|
|
@@ -5392,17 +5392,18 @@ function useViewService() {
|
|
|
5392
5392
|
},
|
|
5393
5393
|
[env]
|
|
5394
5394
|
);
|
|
5395
|
-
const
|
|
5395
|
+
const handleCloseSession = (0, import_react14.useCallback)(
|
|
5396
5396
|
({
|
|
5397
5397
|
model,
|
|
5398
5398
|
ids,
|
|
5399
5399
|
xNode,
|
|
5400
|
-
service
|
|
5400
|
+
service,
|
|
5401
|
+
method
|
|
5401
5402
|
}) => {
|
|
5402
5403
|
const jsonData = {
|
|
5403
5404
|
model,
|
|
5404
5405
|
ids,
|
|
5405
|
-
method
|
|
5406
|
+
method
|
|
5406
5407
|
};
|
|
5407
5408
|
return env?.requests.post(
|
|
5408
5409
|
"/call" /* CALL_PATH */,
|
|
@@ -5418,7 +5419,7 @@ function useViewService() {
|
|
|
5418
5419
|
},
|
|
5419
5420
|
[env]
|
|
5420
5421
|
);
|
|
5421
|
-
const
|
|
5422
|
+
const handleClosingDetailSession = (0, import_react14.useCallback)(
|
|
5422
5423
|
({
|
|
5423
5424
|
model,
|
|
5424
5425
|
ids,
|
|
@@ -5479,8 +5480,8 @@ function useViewService() {
|
|
|
5479
5480
|
getProductImage,
|
|
5480
5481
|
addEntity,
|
|
5481
5482
|
checkPayment,
|
|
5482
|
-
|
|
5483
|
-
|
|
5483
|
+
handleCloseSession,
|
|
5484
|
+
handleClosingDetailSession
|
|
5484
5485
|
};
|
|
5485
5486
|
}
|
|
5486
5487
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/services.mjs
CHANGED
|
@@ -3061,10 +3061,10 @@ import { useMutation as useMutation63 } from "@tanstack/react-query";
|
|
|
3061
3061
|
// src/hooks/view/use-check-payment.ts
|
|
3062
3062
|
import { useMutation as useMutation64 } from "@tanstack/react-query";
|
|
3063
3063
|
|
|
3064
|
-
// src/hooks/view/use-
|
|
3064
|
+
// src/hooks/view/use-handle-close-session.ts
|
|
3065
3065
|
import { useMutation as useMutation65 } from "@tanstack/react-query";
|
|
3066
3066
|
|
|
3067
|
-
// src/hooks/view/use-
|
|
3067
|
+
// src/hooks/view/use-handle-closing-detail-session.ts
|
|
3068
3068
|
import { useMutation as useMutation66 } from "@tanstack/react-query";
|
|
3069
3069
|
|
|
3070
3070
|
// src/provider/service-provider.tsx
|
|
@@ -5348,17 +5348,18 @@ function useViewService() {
|
|
|
5348
5348
|
},
|
|
5349
5349
|
[env]
|
|
5350
5350
|
);
|
|
5351
|
-
const
|
|
5351
|
+
const handleCloseSession = useCallback10(
|
|
5352
5352
|
({
|
|
5353
5353
|
model,
|
|
5354
5354
|
ids,
|
|
5355
5355
|
xNode,
|
|
5356
|
-
service
|
|
5356
|
+
service,
|
|
5357
|
+
method
|
|
5357
5358
|
}) => {
|
|
5358
5359
|
const jsonData = {
|
|
5359
5360
|
model,
|
|
5360
5361
|
ids,
|
|
5361
|
-
method
|
|
5362
|
+
method
|
|
5362
5363
|
};
|
|
5363
5364
|
return env?.requests.post(
|
|
5364
5365
|
"/call" /* CALL_PATH */,
|
|
@@ -5374,7 +5375,7 @@ function useViewService() {
|
|
|
5374
5375
|
},
|
|
5375
5376
|
[env]
|
|
5376
5377
|
);
|
|
5377
|
-
const
|
|
5378
|
+
const handleClosingDetailSession = useCallback10(
|
|
5378
5379
|
({
|
|
5379
5380
|
model,
|
|
5380
5381
|
ids,
|
|
@@ -5435,8 +5436,8 @@ function useViewService() {
|
|
|
5435
5436
|
getProductImage,
|
|
5436
5437
|
addEntity,
|
|
5437
5438
|
checkPayment,
|
|
5438
|
-
|
|
5439
|
-
|
|
5439
|
+
handleCloseSession,
|
|
5440
|
+
handleClosingDetailSession
|
|
5440
5441
|
};
|
|
5441
5442
|
}
|
|
5442
5443
|
export {
|
package/package.json
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fctc/interface-logic",
|
|
3
|
-
"version": "3.0.
|
|
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
|
-
"./models": {
|
|
59
|
-
"types": "./dist/models.d.ts",
|
|
60
|
-
"import": "./dist/models.mjs",
|
|
61
|
-
"require": "./dist/models.cjs"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"files": [
|
|
65
|
-
"dist"
|
|
66
|
-
],
|
|
67
|
-
"scripts": {
|
|
68
|
-
"build": "tsup",
|
|
69
|
-
"test": "jest"
|
|
70
|
-
},
|
|
71
|
-
"peerDependencies": {
|
|
72
|
-
"react": "18.0.0",
|
|
73
|
-
"@tanstack/react-query": "^5.83.0"
|
|
74
|
-
},
|
|
75
|
-
"dependencies": {
|
|
76
|
-
"@reduxjs/toolkit": "^2.8.2",
|
|
77
|
-
"@tanstack/react-query": "^5.83.0",
|
|
78
|
-
"axios": "^1.11.0",
|
|
79
|
-
"moment": "^2.30.1",
|
|
80
|
-
"react-redux": "^9.2.0"
|
|
81
|
-
},
|
|
82
|
-
"devDependencies": {
|
|
83
|
-
"@types/react": "^18.3.1",
|
|
84
|
-
"react": "18.0.0",
|
|
85
|
-
"jest": "^29.7.0",
|
|
86
|
-
"tsup": "^8.0.0",
|
|
87
|
-
"typescript": "^5.8.2"
|
|
88
|
-
},
|
|
89
|
-
"packageManager": "yarn@1.22.0"
|
|
90
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@fctc/interface-logic",
|
|
3
|
+
"version": "3.0.8",
|
|
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
|
+
"./models": {
|
|
59
|
+
"types": "./dist/models.d.ts",
|
|
60
|
+
"import": "./dist/models.mjs",
|
|
61
|
+
"require": "./dist/models.cjs"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"files": [
|
|
65
|
+
"dist"
|
|
66
|
+
],
|
|
67
|
+
"scripts": {
|
|
68
|
+
"build": "tsup",
|
|
69
|
+
"test": "jest"
|
|
70
|
+
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"react": "18.0.0",
|
|
73
|
+
"@tanstack/react-query": "^5.83.0"
|
|
74
|
+
},
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"@reduxjs/toolkit": "^2.8.2",
|
|
77
|
+
"@tanstack/react-query": "^5.83.0",
|
|
78
|
+
"axios": "^1.11.0",
|
|
79
|
+
"moment": "^2.30.1",
|
|
80
|
+
"react-redux": "^9.2.0"
|
|
81
|
+
},
|
|
82
|
+
"devDependencies": {
|
|
83
|
+
"@types/react": "^18.3.1",
|
|
84
|
+
"react": "18.0.0",
|
|
85
|
+
"jest": "^29.7.0",
|
|
86
|
+
"tsup": "^8.0.0",
|
|
87
|
+
"typescript": "^5.8.2"
|
|
88
|
+
},
|
|
89
|
+
"packageManager": "yarn@1.22.0"
|
|
90
|
+
}
|