@fctc/interface-logic 3.7.9 → 3.8.0

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.
@@ -2,7 +2,7 @@ declare const axiosClient: {
2
2
  init(config: any): {
3
3
  get: (url: string, headers?: any, hardService?: string) => Promise<any>;
4
4
  post: (url: string, body: any, headers?: any, hardService?: string) => Promise<any>;
5
- post_excel: (url: string, body: any, headers?: any) => Promise<any>;
5
+ post_excel: (url: string, body: any, headers?: any, hardService?: string) => Promise<any>;
6
6
  put: (url: string, body: any, headers?: any, hardService?: string) => Promise<any>;
7
7
  patch: (url: string, body: any, headers?: any, hardService?: string) => Promise<any>;
8
8
  delete: (url: string, headers?: any, hardService?: string) => Promise<any>;
package/dist/configs.d.ts CHANGED
@@ -2,7 +2,7 @@ declare const axiosClient: {
2
2
  init(config: any): {
3
3
  get: (url: string, headers?: any, hardService?: string) => Promise<any>;
4
4
  post: (url: string, body: any, headers?: any, hardService?: string) => Promise<any>;
5
- post_excel: (url: string, body: any, headers?: any) => Promise<any>;
5
+ post_excel: (url: string, body: any, headers?: any, hardService?: string) => Promise<any>;
6
6
  put: (url: string, body: any, headers?: any, hardService?: string) => Promise<any>;
7
7
  patch: (url: string, body: any, headers?: any, hardService?: string) => Promise<any>;
8
8
  delete: (url: string, headers?: any, hardService?: string) => Promise<any>;
package/dist/configs.js CHANGED
@@ -2445,14 +2445,19 @@ var axiosClient = {
2445
2445
  body,
2446
2446
  getHeaders(headers)
2447
2447
  ).then(responseBody),
2448
- post_excel: (url, body, headers) => instance.post(formatUrl(getBaseUrl(config?.baseUrl) + url, db), body, {
2449
- responseType: "arraybuffer",
2450
- headers: {
2451
- "Content-Type": typeof window !== "undefined" ? "application/json" : "application/javascript",
2452
- Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
2453
- ...headers
2448
+ post_excel: (url, body, headers, hardService) => instance.post(
2449
+ formatUrl(getBaseUrl(config?.baseUrl, hardService) + url, db),
2450
+ body,
2451
+ {
2452
+ responseType: "arraybuffer",
2453
+ headers: {
2454
+ "Content-Type": typeof window !== "undefined" ? "application/json" : "application/javascript",
2455
+ Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
2456
+ ...headers,
2457
+ ...sessionStorage2.getXNode() ? { "X-Node": sessionStorage2.getXNode() } : {}
2458
+ }
2454
2459
  }
2455
- }).then(responseBody),
2460
+ ).then(responseBody),
2456
2461
  put: (url, body, headers, hardService) => instance.put(
2457
2462
  formatUrl(getBaseUrl(config?.baseUrl, hardService) + url, db),
2458
2463
  body,
package/dist/configs.mjs CHANGED
@@ -2409,14 +2409,19 @@ var axiosClient = {
2409
2409
  body,
2410
2410
  getHeaders(headers)
2411
2411
  ).then(responseBody),
2412
- post_excel: (url, body, headers) => instance.post(formatUrl(getBaseUrl(config?.baseUrl) + url, db), body, {
2413
- responseType: "arraybuffer",
2414
- headers: {
2415
- "Content-Type": typeof window !== "undefined" ? "application/json" : "application/javascript",
2416
- Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
2417
- ...headers
2412
+ post_excel: (url, body, headers, hardService) => instance.post(
2413
+ formatUrl(getBaseUrl(config?.baseUrl, hardService) + url, db),
2414
+ body,
2415
+ {
2416
+ responseType: "arraybuffer",
2417
+ headers: {
2418
+ "Content-Type": typeof window !== "undefined" ? "application/json" : "application/javascript",
2419
+ Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
2420
+ ...headers,
2421
+ ...sessionStorage2.getXNode() ? { "X-Node": sessionStorage2.getXNode() } : {}
2422
+ }
2418
2423
  }
2419
- }).then(responseBody),
2424
+ ).then(responseBody),
2420
2425
  put: (url, body, headers, hardService) => instance.put(
2421
2426
  formatUrl(getBaseUrl(config?.baseUrl, hardService) + url, db),
2422
2427
  body,
@@ -2447,14 +2447,19 @@ var axiosClient = {
2447
2447
  body,
2448
2448
  getHeaders(headers)
2449
2449
  ).then(responseBody),
2450
- post_excel: (url, body, headers) => instance.post(formatUrl(getBaseUrl(config?.baseUrl) + url, db), body, {
2451
- responseType: "arraybuffer",
2452
- headers: {
2453
- "Content-Type": typeof window !== "undefined" ? "application/json" : "application/javascript",
2454
- Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
2455
- ...headers
2450
+ post_excel: (url, body, headers, hardService) => instance.post(
2451
+ formatUrl(getBaseUrl(config?.baseUrl, hardService) + url, db),
2452
+ body,
2453
+ {
2454
+ responseType: "arraybuffer",
2455
+ headers: {
2456
+ "Content-Type": typeof window !== "undefined" ? "application/json" : "application/javascript",
2457
+ Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
2458
+ ...headers,
2459
+ ...sessionStorage2.getXNode() ? { "X-Node": sessionStorage2.getXNode() } : {}
2460
+ }
2456
2461
  }
2457
- }).then(responseBody),
2462
+ ).then(responseBody),
2458
2463
  put: (url, body, headers, hardService) => instance.put(
2459
2464
  formatUrl(getBaseUrl(config?.baseUrl, hardService) + url, db),
2460
2465
  body,
@@ -2409,14 +2409,19 @@ var axiosClient = {
2409
2409
  body,
2410
2410
  getHeaders(headers)
2411
2411
  ).then(responseBody),
2412
- post_excel: (url, body, headers) => instance.post(formatUrl(getBaseUrl(config?.baseUrl) + url, db), body, {
2413
- responseType: "arraybuffer",
2414
- headers: {
2415
- "Content-Type": typeof window !== "undefined" ? "application/json" : "application/javascript",
2416
- Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
2417
- ...headers
2412
+ post_excel: (url, body, headers, hardService) => instance.post(
2413
+ formatUrl(getBaseUrl(config?.baseUrl, hardService) + url, db),
2414
+ body,
2415
+ {
2416
+ responseType: "arraybuffer",
2417
+ headers: {
2418
+ "Content-Type": typeof window !== "undefined" ? "application/json" : "application/javascript",
2419
+ Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
2420
+ ...headers,
2421
+ ...sessionStorage2.getXNode() ? { "X-Node": sessionStorage2.getXNode() } : {}
2422
+ }
2418
2423
  }
2419
- }).then(responseBody),
2424
+ ).then(responseBody),
2420
2425
  put: (url, body, headers, hardService) => instance.put(
2421
2426
  formatUrl(getBaseUrl(config?.baseUrl, hardService) + url, db),
2422
2427
  body,
package/dist/hooks.d.mts CHANGED
@@ -671,6 +671,6 @@ declare const useGetNotifications: ({ service, xNode, body, queryKey, enabled, }
671
671
 
672
672
  declare const useReadGroup: (services?: string, xNode?: any, body?: any, enabled?: boolean) => _tanstack_react_query.UseQueryResult<any, Error>;
673
673
 
674
- declare const useGetDataChart: (services?: string, xNode?: any, body?: any, enabled?: boolean, path?: string, method?: string) => _tanstack_react_query.UseQueryResult<any, Error>;
674
+ declare const useGetDataChart: (services?: string, xNode?: any, body?: any, enabled?: boolean, path?: string, method?: string, queryKey?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
675
675
 
676
676
  export { useAddEntity, useButton, useChangeOrderPreparationState as useChangeOrderPreparaionState, useChangeStatus, useCheckPayment, useCreateEntity, useCreatePosConfig, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGeneratePaymentQrInfo, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDataChart, useGetDetail, useGetExternalTabs, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetNotifications, useGetOrderLine, useGetPinCode, useGetPos, useGetPreparationDisplayData, useGetPrintReport, useGetProGressBar, useGetProductImage, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetTenantMapping, useGetThreadData, useGetThreadMessages, useGetToken, useGetUser, useGetView, useGrantAccess, useHandleCloseSession, useHandleClosingDetailSession, useHandleClosingSession, useIsValidToken, useLoadAction, useLoadDataPosSession, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useManageOnChange, useManageSession, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useProcessOrder, useReadGroup, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSavePinCode, useSearchJournal, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdateClosedSession, useUpdateEntity, useUpdateOrderStatus, useUpdatePassword, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };
package/dist/hooks.d.ts CHANGED
@@ -671,6 +671,6 @@ declare const useGetNotifications: ({ service, xNode, body, queryKey, enabled, }
671
671
 
672
672
  declare const useReadGroup: (services?: string, xNode?: any, body?: any, enabled?: boolean) => _tanstack_react_query.UseQueryResult<any, Error>;
673
673
 
674
- declare const useGetDataChart: (services?: string, xNode?: any, body?: any, enabled?: boolean, path?: string, method?: string) => _tanstack_react_query.UseQueryResult<any, Error>;
674
+ declare const useGetDataChart: (services?: string, xNode?: any, body?: any, enabled?: boolean, path?: string, method?: string, queryKey?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
675
675
 
676
676
  export { useAddEntity, useButton, useChangeOrderPreparationState as useChangeOrderPreparaionState, useChangeStatus, useCheckPayment, useCreateEntity, useCreatePosConfig, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGeneratePaymentQrInfo, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDataChart, useGetDetail, useGetExternalTabs, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetNotifications, useGetOrderLine, useGetPinCode, useGetPos, useGetPreparationDisplayData, useGetPrintReport, useGetProGressBar, useGetProductImage, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetTenantMapping, useGetThreadData, useGetThreadMessages, useGetToken, useGetUser, useGetView, useGrantAccess, useHandleCloseSession, useHandleClosingDetailSession, useHandleClosingSession, useIsValidToken, useLoadAction, useLoadDataPosSession, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useManageOnChange, useManageSession, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useProcessOrder, useReadGroup, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSavePinCode, useSearchJournal, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdateClosedSession, useUpdateEntity, useUpdateOrderStatus, useUpdatePassword, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };
package/dist/hooks.js CHANGED
@@ -3734,7 +3734,10 @@ function useExcelService() {
3734
3734
  `/export/${type}`,
3735
3735
  jsonData,
3736
3736
  {
3737
- headers: { "Content-Type": "application/json", "X-Node": xNode }
3737
+ headers: {
3738
+ "Content-Type": "application/json",
3739
+ ...xNode ? { "X-Node": xNode } : {}
3740
+ }
3738
3741
  },
3739
3742
  service
3740
3743
  );
@@ -8043,10 +8046,10 @@ var use_read_group_default = useReadGroup;
8043
8046
 
8044
8047
  // src/hooks/chart/use-get-data-chart.ts
8045
8048
  var import_react_query105 = require("@tanstack/react-query");
8046
- var useGetDataChart = (services, xNode, body, enabled, path, method) => {
8049
+ var useGetDataChart = (services, xNode, body, enabled, path, method, queryKey) => {
8047
8050
  const { getDataChart } = useDashboardService();
8048
8051
  return (0, import_react_query105.useQuery)({
8049
- queryKey: [body],
8052
+ queryKey: [queryKey],
8050
8053
  queryFn: () => getDataChart({
8051
8054
  service: services,
8052
8055
  xNode,
package/dist/hooks.mjs CHANGED
@@ -3594,7 +3594,10 @@ function useExcelService() {
3594
3594
  `/export/${type}`,
3595
3595
  jsonData,
3596
3596
  {
3597
- headers: { "Content-Type": "application/json", "X-Node": xNode }
3597
+ headers: {
3598
+ "Content-Type": "application/json",
3599
+ ...xNode ? { "X-Node": xNode } : {}
3600
+ }
3598
3601
  },
3599
3602
  service
3600
3603
  );
@@ -7903,10 +7906,10 @@ var use_read_group_default = useReadGroup;
7903
7906
 
7904
7907
  // src/hooks/chart/use-get-data-chart.ts
7905
7908
  import { useQuery as useQuery26 } from "@tanstack/react-query";
7906
- var useGetDataChart = (services, xNode, body, enabled, path, method) => {
7909
+ var useGetDataChart = (services, xNode, body, enabled, path, method, queryKey) => {
7907
7910
  const { getDataChart } = useDashboardService();
7908
7911
  return useQuery26({
7909
- queryKey: [body],
7912
+ queryKey: [queryKey],
7910
7913
  queryFn: () => getDataChart({
7911
7914
  service: services,
7912
7915
  xNode,
package/dist/provider.js CHANGED
@@ -3723,7 +3723,10 @@ function useExcelService() {
3723
3723
  `/export/${type}`,
3724
3724
  jsonData,
3725
3725
  {
3726
- headers: { "Content-Type": "application/json", "X-Node": xNode }
3726
+ headers: {
3727
+ "Content-Type": "application/json",
3728
+ ...xNode ? { "X-Node": xNode } : {}
3729
+ }
3727
3730
  },
3728
3731
  service
3729
3732
  );
@@ -6073,14 +6076,19 @@ var axiosClient = {
6073
6076
  body,
6074
6077
  getHeaders(headers)
6075
6078
  ).then(responseBody),
6076
- post_excel: (url, body, headers) => instance.post(formatUrl(getBaseUrl(config?.baseUrl) + url, db), body, {
6077
- responseType: "arraybuffer",
6078
- headers: {
6079
- "Content-Type": typeof window !== "undefined" ? "application/json" : "application/javascript",
6080
- Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
6081
- ...headers
6079
+ post_excel: (url, body, headers, hardService) => instance.post(
6080
+ formatUrl(getBaseUrl(config?.baseUrl, hardService) + url, db),
6081
+ body,
6082
+ {
6083
+ responseType: "arraybuffer",
6084
+ headers: {
6085
+ "Content-Type": typeof window !== "undefined" ? "application/json" : "application/javascript",
6086
+ Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
6087
+ ...headers,
6088
+ ...sessionStorage2.getXNode() ? { "X-Node": sessionStorage2.getXNode() } : {}
6089
+ }
6082
6090
  }
6083
- }).then(responseBody),
6091
+ ).then(responseBody),
6084
6092
  put: (url, body, headers, hardService) => instance.put(
6085
6093
  formatUrl(getBaseUrl(config?.baseUrl, hardService) + url, db),
6086
6094
  body,
@@ -8422,10 +8430,10 @@ var use_read_group_default = useReadGroup;
8422
8430
 
8423
8431
  // src/hooks/chart/use-get-data-chart.ts
8424
8432
  var import_react_query105 = require("@tanstack/react-query");
8425
- var useGetDataChart = (services, xNode, body, enabled, path, method) => {
8433
+ var useGetDataChart = (services, xNode, body, enabled, path, method, queryKey) => {
8426
8434
  const { getDataChart } = useDashboardService();
8427
8435
  return (0, import_react_query105.useQuery)({
8428
- queryKey: [body],
8436
+ queryKey: [queryKey],
8429
8437
  queryFn: () => getDataChart({
8430
8438
  service: services,
8431
8439
  xNode,
package/dist/provider.mjs CHANGED
@@ -3680,7 +3680,10 @@ function useExcelService() {
3680
3680
  `/export/${type}`,
3681
3681
  jsonData,
3682
3682
  {
3683
- headers: { "Content-Type": "application/json", "X-Node": xNode }
3683
+ headers: {
3684
+ "Content-Type": "application/json",
3685
+ ...xNode ? { "X-Node": xNode } : {}
3686
+ }
3684
3687
  },
3685
3688
  service
3686
3689
  );
@@ -6030,14 +6033,19 @@ var axiosClient = {
6030
6033
  body,
6031
6034
  getHeaders(headers)
6032
6035
  ).then(responseBody),
6033
- post_excel: (url, body, headers) => instance.post(formatUrl(getBaseUrl(config?.baseUrl) + url, db), body, {
6034
- responseType: "arraybuffer",
6035
- headers: {
6036
- "Content-Type": typeof window !== "undefined" ? "application/json" : "application/javascript",
6037
- Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
6038
- ...headers
6036
+ post_excel: (url, body, headers, hardService) => instance.post(
6037
+ formatUrl(getBaseUrl(config?.baseUrl, hardService) + url, db),
6038
+ body,
6039
+ {
6040
+ responseType: "arraybuffer",
6041
+ headers: {
6042
+ "Content-Type": typeof window !== "undefined" ? "application/json" : "application/javascript",
6043
+ Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
6044
+ ...headers,
6045
+ ...sessionStorage2.getXNode() ? { "X-Node": sessionStorage2.getXNode() } : {}
6046
+ }
6039
6047
  }
6040
- }).then(responseBody),
6048
+ ).then(responseBody),
6041
6049
  put: (url, body, headers, hardService) => instance.put(
6042
6050
  formatUrl(getBaseUrl(config?.baseUrl, hardService) + url, db),
6043
6051
  body,
@@ -8379,10 +8387,10 @@ var use_read_group_default = useReadGroup;
8379
8387
 
8380
8388
  // src/hooks/chart/use-get-data-chart.ts
8381
8389
  import { useQuery as useQuery26 } from "@tanstack/react-query";
8382
- var useGetDataChart = (services, xNode, body, enabled, path, method) => {
8390
+ var useGetDataChart = (services, xNode, body, enabled, path, method, queryKey) => {
8383
8391
  const { getDataChart } = useDashboardService();
8384
8392
  return useQuery26({
8385
- queryKey: [body],
8393
+ queryKey: [queryKey],
8386
8394
  queryFn: () => getDataChart({
8387
8395
  service: services,
8388
8396
  xNode,
package/dist/services.js CHANGED
@@ -3925,7 +3925,10 @@ function useExcelService() {
3925
3925
  `/export/${type}`,
3926
3926
  jsonData,
3927
3927
  {
3928
- headers: { "Content-Type": "application/json", "X-Node": xNode }
3928
+ headers: {
3929
+ "Content-Type": "application/json",
3930
+ ...xNode ? { "X-Node": xNode } : {}
3931
+ }
3929
3932
  },
3930
3933
  service
3931
3934
  );
package/dist/services.mjs CHANGED
@@ -3880,7 +3880,10 @@ function useExcelService() {
3880
3880
  `/export/${type}`,
3881
3881
  jsonData,
3882
3882
  {
3883
- headers: { "Content-Type": "application/json", "X-Node": xNode }
3883
+ headers: {
3884
+ "Content-Type": "application/json",
3885
+ ...xNode ? { "X-Node": xNode } : {}
3886
+ }
3884
3887
  },
3885
3888
  service
3886
3889
  );
package/package.json CHANGED
@@ -1,90 +1,90 @@
1
- {
2
- "name": "@fctc/interface-logic",
3
- "version": "3.7.9",
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.8.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
+ }