@fctc/interface-logic 2.7.7 → 2.7.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 +0 -1
- package/dist/hooks.d.ts +0 -1
- package/dist/hooks.js +2 -5
- package/dist/hooks.mjs +2 -5
- package/dist/provider.js +2 -5
- package/dist/provider.mjs +2 -5
- package/dist/services.d.mts +1 -2
- package/dist/services.d.ts +1 -2
- package/dist/services.js +1 -2
- package/dist/services.mjs +1 -2
- package/package.json +90 -90
package/dist/hooks.d.mts
CHANGED
|
@@ -466,7 +466,6 @@ declare const useManageOnChange: () => _tanstack_react_query.UseMutationResult<u
|
|
|
466
466
|
args: any;
|
|
467
467
|
service: string;
|
|
468
468
|
xNode: string;
|
|
469
|
-
method: string;
|
|
470
469
|
}, unknown>;
|
|
471
470
|
|
|
472
471
|
export { useButton, useChangeStatus, useCreateEntity, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetPos, useGetPrintReport, useGetProGressBar, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetUser, useGetView, useGrantAccess, 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
|
@@ -466,7 +466,6 @@ declare const useManageOnChange: () => _tanstack_react_query.UseMutationResult<u
|
|
|
466
466
|
args: any;
|
|
467
467
|
service: string;
|
|
468
468
|
xNode: string;
|
|
469
|
-
method: string;
|
|
470
469
|
}, unknown>;
|
|
471
470
|
|
|
472
471
|
export { useButton, useChangeStatus, useCreateEntity, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetPos, useGetPrintReport, useGetProGressBar, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetUser, useGetView, useGrantAccess, 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
|
@@ -4982,7 +4982,6 @@ function useViewService() {
|
|
|
4982
4982
|
const manageOnChange = (0, import_react14.useCallback)(
|
|
4983
4983
|
({
|
|
4984
4984
|
model,
|
|
4985
|
-
method,
|
|
4986
4985
|
ids,
|
|
4987
4986
|
args,
|
|
4988
4987
|
xNode,
|
|
@@ -4990,7 +4989,7 @@ function useViewService() {
|
|
|
4990
4989
|
}) => {
|
|
4991
4990
|
const jsonData = {
|
|
4992
4991
|
model,
|
|
4993
|
-
method
|
|
4992
|
+
method: "onchange" /* ONCHANGE */,
|
|
4994
4993
|
ids,
|
|
4995
4994
|
args
|
|
4996
4995
|
};
|
|
@@ -6639,12 +6638,10 @@ var useManageOnChange = () => {
|
|
|
6639
6638
|
ids,
|
|
6640
6639
|
args,
|
|
6641
6640
|
service,
|
|
6642
|
-
xNode
|
|
6643
|
-
method
|
|
6641
|
+
xNode
|
|
6644
6642
|
}) => {
|
|
6645
6643
|
return manageOnChange({
|
|
6646
6644
|
model,
|
|
6647
|
-
method,
|
|
6648
6645
|
ids,
|
|
6649
6646
|
args,
|
|
6650
6647
|
service,
|
package/dist/hooks.mjs
CHANGED
|
@@ -4866,7 +4866,6 @@ function useViewService() {
|
|
|
4866
4866
|
const manageOnChange = useCallback10(
|
|
4867
4867
|
({
|
|
4868
4868
|
model,
|
|
4869
|
-
method,
|
|
4870
4869
|
ids,
|
|
4871
4870
|
args,
|
|
4872
4871
|
xNode,
|
|
@@ -4874,7 +4873,7 @@ function useViewService() {
|
|
|
4874
4873
|
}) => {
|
|
4875
4874
|
const jsonData = {
|
|
4876
4875
|
model,
|
|
4877
|
-
method
|
|
4876
|
+
method: "onchange" /* ONCHANGE */,
|
|
4878
4877
|
ids,
|
|
4879
4878
|
args
|
|
4880
4879
|
};
|
|
@@ -6523,12 +6522,10 @@ var useManageOnChange = () => {
|
|
|
6523
6522
|
ids,
|
|
6524
6523
|
args,
|
|
6525
6524
|
service,
|
|
6526
|
-
xNode
|
|
6527
|
-
method
|
|
6525
|
+
xNode
|
|
6528
6526
|
}) => {
|
|
6529
6527
|
return manageOnChange({
|
|
6530
6528
|
model,
|
|
6531
|
-
method,
|
|
6532
6529
|
ids,
|
|
6533
6530
|
args,
|
|
6534
6531
|
service,
|
package/dist/provider.js
CHANGED
|
@@ -4918,7 +4918,6 @@ function useViewService() {
|
|
|
4918
4918
|
const manageOnChange = (0, import_react10.useCallback)(
|
|
4919
4919
|
({
|
|
4920
4920
|
model,
|
|
4921
|
-
method,
|
|
4922
4921
|
ids,
|
|
4923
4922
|
args,
|
|
4924
4923
|
xNode,
|
|
@@ -4926,7 +4925,7 @@ function useViewService() {
|
|
|
4926
4925
|
}) => {
|
|
4927
4926
|
const jsonData = {
|
|
4928
4927
|
model,
|
|
4929
|
-
method
|
|
4928
|
+
method: "onchange" /* ONCHANGE */,
|
|
4930
4929
|
ids,
|
|
4931
4930
|
args
|
|
4932
4931
|
};
|
|
@@ -6993,12 +6992,10 @@ var useManageOnChange = () => {
|
|
|
6993
6992
|
ids,
|
|
6994
6993
|
args,
|
|
6995
6994
|
service,
|
|
6996
|
-
xNode
|
|
6997
|
-
method
|
|
6995
|
+
xNode
|
|
6998
6996
|
}) => {
|
|
6999
6997
|
return manageOnChange({
|
|
7000
6998
|
model,
|
|
7001
|
-
method,
|
|
7002
6999
|
ids,
|
|
7003
7000
|
args,
|
|
7004
7001
|
service,
|
package/dist/provider.mjs
CHANGED
|
@@ -4875,7 +4875,6 @@ function useViewService() {
|
|
|
4875
4875
|
const manageOnChange = useCallback9(
|
|
4876
4876
|
({
|
|
4877
4877
|
model,
|
|
4878
|
-
method,
|
|
4879
4878
|
ids,
|
|
4880
4879
|
args,
|
|
4881
4880
|
xNode,
|
|
@@ -4883,7 +4882,7 @@ function useViewService() {
|
|
|
4883
4882
|
}) => {
|
|
4884
4883
|
const jsonData = {
|
|
4885
4884
|
model,
|
|
4886
|
-
method
|
|
4885
|
+
method: "onchange" /* ONCHANGE */,
|
|
4887
4886
|
ids,
|
|
4888
4887
|
args
|
|
4889
4888
|
};
|
|
@@ -6950,12 +6949,10 @@ var useManageOnChange = () => {
|
|
|
6950
6949
|
ids,
|
|
6951
6950
|
args,
|
|
6952
6951
|
service,
|
|
6953
|
-
xNode
|
|
6954
|
-
method
|
|
6952
|
+
xNode
|
|
6955
6953
|
}) => {
|
|
6956
6954
|
return manageOnChange({
|
|
6957
6955
|
model,
|
|
6958
|
-
method,
|
|
6959
6956
|
ids,
|
|
6960
6957
|
args,
|
|
6961
6958
|
service,
|
package/dist/services.d.mts
CHANGED
|
@@ -350,9 +350,8 @@ declare function useViewService(): {
|
|
|
350
350
|
service: string;
|
|
351
351
|
xNode: string;
|
|
352
352
|
}) => any;
|
|
353
|
-
manageOnChange: ({ model,
|
|
353
|
+
manageOnChange: ({ model, ids, args, xNode, service, }: {
|
|
354
354
|
model: string;
|
|
355
|
-
method: string;
|
|
356
355
|
ids: any;
|
|
357
356
|
args: any;
|
|
358
357
|
service: string;
|
package/dist/services.d.ts
CHANGED
|
@@ -350,9 +350,8 @@ declare function useViewService(): {
|
|
|
350
350
|
service: string;
|
|
351
351
|
xNode: string;
|
|
352
352
|
}) => any;
|
|
353
|
-
manageOnChange: ({ model,
|
|
353
|
+
manageOnChange: ({ model, ids, args, xNode, service, }: {
|
|
354
354
|
model: string;
|
|
355
|
-
method: string;
|
|
356
355
|
ids: any;
|
|
357
356
|
args: any;
|
|
358
357
|
service: string;
|
package/dist/services.js
CHANGED
|
@@ -5124,7 +5124,6 @@ function useViewService() {
|
|
|
5124
5124
|
const manageOnChange = (0, import_react14.useCallback)(
|
|
5125
5125
|
({
|
|
5126
5126
|
model,
|
|
5127
|
-
method,
|
|
5128
5127
|
ids,
|
|
5129
5128
|
args,
|
|
5130
5129
|
xNode,
|
|
@@ -5132,7 +5131,7 @@ function useViewService() {
|
|
|
5132
5131
|
}) => {
|
|
5133
5132
|
const jsonData = {
|
|
5134
5133
|
model,
|
|
5135
|
-
method
|
|
5134
|
+
method: "onchange" /* ONCHANGE */,
|
|
5136
5135
|
ids,
|
|
5137
5136
|
args
|
|
5138
5137
|
};
|
package/dist/services.mjs
CHANGED
|
@@ -5080,7 +5080,6 @@ function useViewService() {
|
|
|
5080
5080
|
const manageOnChange = useCallback10(
|
|
5081
5081
|
({
|
|
5082
5082
|
model,
|
|
5083
|
-
method,
|
|
5084
5083
|
ids,
|
|
5085
5084
|
args,
|
|
5086
5085
|
xNode,
|
|
@@ -5088,7 +5087,7 @@ function useViewService() {
|
|
|
5088
5087
|
}) => {
|
|
5089
5088
|
const jsonData = {
|
|
5090
5089
|
model,
|
|
5091
|
-
method
|
|
5090
|
+
method: "onchange" /* ONCHANGE */,
|
|
5092
5091
|
ids,
|
|
5093
5092
|
args
|
|
5094
5093
|
};
|
package/package.json
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fctc/interface-logic",
|
|
3
|
-
"version": "2.7.
|
|
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": "2.7.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
|
+
}
|