@fctc/interface-logic 2.0.0 → 2.0.1
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 +1 -0
- package/dist/hooks.d.ts +1 -0
- package/dist/hooks.js +21 -11
- package/dist/hooks.mjs +21 -11
- package/dist/provider.d.mts +7 -6
- package/dist/provider.d.ts +7 -6
- package/dist/provider.js +21 -11
- package/dist/provider.mjs +21 -11
- package/dist/services.d.mts +3 -1
- package/dist/services.d.ts +3 -1
- package/dist/services.js +16 -9
- package/dist/services.mjs +16 -9
- package/package.json +85 -85
package/dist/hooks.d.mts
CHANGED
|
@@ -314,6 +314,7 @@ declare const useSignInSSO: () => _tanstack_react_query.UseMutationResult<any, E
|
|
|
314
314
|
client_id: string;
|
|
315
315
|
response_type: string;
|
|
316
316
|
path: string;
|
|
317
|
+
scope: string;
|
|
317
318
|
}, unknown>;
|
|
318
319
|
|
|
319
320
|
declare const useVerify2FA: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
package/dist/hooks.d.ts
CHANGED
|
@@ -314,6 +314,7 @@ declare const useSignInSSO: () => _tanstack_react_query.UseMutationResult<any, E
|
|
|
314
314
|
client_id: string;
|
|
315
315
|
response_type: string;
|
|
316
316
|
path: string;
|
|
317
|
+
scope: string;
|
|
317
318
|
}, unknown>;
|
|
318
319
|
|
|
319
320
|
declare const useVerify2FA: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
package/dist/hooks.js
CHANGED
|
@@ -4449,18 +4449,25 @@ function useViewService() {
|
|
|
4449
4449
|
redirect_uri,
|
|
4450
4450
|
state,
|
|
4451
4451
|
client_id,
|
|
4452
|
-
response_type
|
|
4452
|
+
response_type,
|
|
4453
|
+
path,
|
|
4454
|
+
scope
|
|
4453
4455
|
}) => {
|
|
4454
|
-
const
|
|
4455
|
-
|
|
4456
|
-
state,
|
|
4456
|
+
const params = new URLSearchParams({
|
|
4457
|
+
response_type,
|
|
4457
4458
|
client_id,
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4459
|
+
redirect_uri,
|
|
4460
|
+
state
|
|
4461
|
+
});
|
|
4462
|
+
const queryString = `${params.toString()}&scope=${encodeURIComponent(
|
|
4463
|
+
scope
|
|
4464
|
+
)}`;
|
|
4465
|
+
const url = `${path}?${queryString}`;
|
|
4466
|
+
return env?.requests.get(url, {
|
|
4461
4467
|
headers: {
|
|
4462
|
-
|
|
4463
|
-
}
|
|
4468
|
+
"Content-Type": "application/json"
|
|
4469
|
+
},
|
|
4470
|
+
withCredentials: true
|
|
4464
4471
|
});
|
|
4465
4472
|
},
|
|
4466
4473
|
[env]
|
|
@@ -5677,13 +5684,16 @@ var useSignInSSO = () => {
|
|
|
5677
5684
|
state,
|
|
5678
5685
|
client_id,
|
|
5679
5686
|
response_type,
|
|
5680
|
-
path
|
|
5687
|
+
path,
|
|
5688
|
+
scope
|
|
5681
5689
|
}) => {
|
|
5682
5690
|
return signInSSO({
|
|
5683
5691
|
redirect_uri,
|
|
5684
5692
|
state,
|
|
5685
5693
|
client_id,
|
|
5686
|
-
response_type
|
|
5694
|
+
response_type,
|
|
5695
|
+
path,
|
|
5696
|
+
scope
|
|
5687
5697
|
});
|
|
5688
5698
|
}
|
|
5689
5699
|
});
|
package/dist/hooks.mjs
CHANGED
|
@@ -4346,18 +4346,25 @@ function useViewService() {
|
|
|
4346
4346
|
redirect_uri,
|
|
4347
4347
|
state,
|
|
4348
4348
|
client_id,
|
|
4349
|
-
response_type
|
|
4349
|
+
response_type,
|
|
4350
|
+
path,
|
|
4351
|
+
scope
|
|
4350
4352
|
}) => {
|
|
4351
|
-
const
|
|
4352
|
-
|
|
4353
|
-
state,
|
|
4353
|
+
const params = new URLSearchParams({
|
|
4354
|
+
response_type,
|
|
4354
4355
|
client_id,
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4356
|
+
redirect_uri,
|
|
4357
|
+
state
|
|
4358
|
+
});
|
|
4359
|
+
const queryString = `${params.toString()}&scope=${encodeURIComponent(
|
|
4360
|
+
scope
|
|
4361
|
+
)}`;
|
|
4362
|
+
const url = `${path}?${queryString}`;
|
|
4363
|
+
return env?.requests.get(url, {
|
|
4358
4364
|
headers: {
|
|
4359
|
-
|
|
4360
|
-
}
|
|
4365
|
+
"Content-Type": "application/json"
|
|
4366
|
+
},
|
|
4367
|
+
withCredentials: true
|
|
4361
4368
|
});
|
|
4362
4369
|
},
|
|
4363
4370
|
[env]
|
|
@@ -5574,13 +5581,16 @@ var useSignInSSO = () => {
|
|
|
5574
5581
|
state,
|
|
5575
5582
|
client_id,
|
|
5576
5583
|
response_type,
|
|
5577
|
-
path
|
|
5584
|
+
path,
|
|
5585
|
+
scope
|
|
5578
5586
|
}) => {
|
|
5579
5587
|
return signInSSO({
|
|
5580
5588
|
redirect_uri,
|
|
5581
5589
|
state,
|
|
5582
5590
|
client_id,
|
|
5583
|
-
response_type
|
|
5591
|
+
response_type,
|
|
5592
|
+
path,
|
|
5593
|
+
scope
|
|
5584
5594
|
});
|
|
5585
5595
|
}
|
|
5586
5596
|
});
|
package/dist/provider.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import { ReactNode } from 'react';
|
|
2
3
|
import { L as LocalStorageUtilsType, S as SessionStorageUtilsType } from './session-storage-ARp_lhTD.mjs';
|
|
3
4
|
import { useForgotPassword, useForgotPasswordSSO, useGetProvider, useIsValidToken, useLoginCredential, useLoginSocial, useResetPassword, useResetPasswordSSO, useUpdatePassword, useLogout, useGetAccessByCode, useValidateActionToken, useGetCompanyInfo, useGetCurrentCompany, useGetListCompany, useExecuteImport, useExportExcel, useGetFieldExport, useGetFileExcel, useParsePreview, useUploadFile, 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 } from './hooks.mjs';
|
|
@@ -6,15 +7,15 @@ import './view-type-BGJfDe73.mjs';
|
|
|
6
7
|
|
|
7
8
|
declare const MainProvider: ({ children }: {
|
|
8
9
|
children: ReactNode;
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
10
11
|
|
|
11
12
|
declare const ReactQueryProvider: ({ children }: {
|
|
12
13
|
children: ReactNode;
|
|
13
|
-
}) => JSX.Element;
|
|
14
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
14
15
|
|
|
15
16
|
declare const VersionGate: ({ children }: {
|
|
16
17
|
children: ReactNode;
|
|
17
|
-
}) => JSX.Element | null;
|
|
18
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
18
19
|
|
|
19
20
|
interface EnvConfig {
|
|
20
21
|
env?: any;
|
|
@@ -45,7 +46,7 @@ declare function EnvProvider({ children, localStorageUtils: localStorageUtil, se
|
|
|
45
46
|
children: React.ReactNode;
|
|
46
47
|
localStorageUtils?: LocalStorageUtilsType;
|
|
47
48
|
sessionStorageUtils?: SessionStorageUtilsType;
|
|
48
|
-
}): JSX.Element;
|
|
49
|
+
}): react_jsx_runtime.JSX.Element;
|
|
49
50
|
declare function useEnv(): {
|
|
50
51
|
env: EnvConfig;
|
|
51
52
|
setupEnv: (envConfig: Partial<EnvConfig>) => EnvConfig;
|
|
@@ -131,12 +132,12 @@ interface ServiceContextType {
|
|
|
131
132
|
}
|
|
132
133
|
declare const ServiceProvider: ({ children, }: {
|
|
133
134
|
children: React.ReactNode;
|
|
134
|
-
}) => JSX.Element;
|
|
135
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
135
136
|
declare const useService: () => ServiceContextType;
|
|
136
137
|
|
|
137
138
|
type MetaProviderProps = {
|
|
138
139
|
children: ReactNode;
|
|
139
140
|
};
|
|
140
|
-
declare const MetaProvider: ({ children }: MetaProviderProps) => JSX.Element;
|
|
141
|
+
declare const MetaProvider: ({ children }: MetaProviderProps) => react_jsx_runtime.JSX.Element;
|
|
141
142
|
|
|
142
143
|
export { EnvProvider, MainProvider, MetaProvider, ReactQueryProvider, ServiceProvider, VersionGate, useEnv, useService };
|
package/dist/provider.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import { ReactNode } from 'react';
|
|
2
3
|
import { L as LocalStorageUtilsType, S as SessionStorageUtilsType } from './session-storage-ARp_lhTD.js';
|
|
3
4
|
import { useForgotPassword, useForgotPasswordSSO, useGetProvider, useIsValidToken, useLoginCredential, useLoginSocial, useResetPassword, useResetPasswordSSO, useUpdatePassword, useLogout, useGetAccessByCode, useValidateActionToken, useGetCompanyInfo, useGetCurrentCompany, useGetListCompany, useExecuteImport, useExportExcel, useGetFieldExport, useGetFileExcel, useParsePreview, useUploadFile, 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 } from './hooks.js';
|
|
@@ -6,15 +7,15 @@ import './view-type-BGJfDe73.js';
|
|
|
6
7
|
|
|
7
8
|
declare const MainProvider: ({ children }: {
|
|
8
9
|
children: ReactNode;
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
10
11
|
|
|
11
12
|
declare const ReactQueryProvider: ({ children }: {
|
|
12
13
|
children: ReactNode;
|
|
13
|
-
}) => JSX.Element;
|
|
14
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
14
15
|
|
|
15
16
|
declare const VersionGate: ({ children }: {
|
|
16
17
|
children: ReactNode;
|
|
17
|
-
}) => JSX.Element | null;
|
|
18
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
18
19
|
|
|
19
20
|
interface EnvConfig {
|
|
20
21
|
env?: any;
|
|
@@ -45,7 +46,7 @@ declare function EnvProvider({ children, localStorageUtils: localStorageUtil, se
|
|
|
45
46
|
children: React.ReactNode;
|
|
46
47
|
localStorageUtils?: LocalStorageUtilsType;
|
|
47
48
|
sessionStorageUtils?: SessionStorageUtilsType;
|
|
48
|
-
}): JSX.Element;
|
|
49
|
+
}): react_jsx_runtime.JSX.Element;
|
|
49
50
|
declare function useEnv(): {
|
|
50
51
|
env: EnvConfig;
|
|
51
52
|
setupEnv: (envConfig: Partial<EnvConfig>) => EnvConfig;
|
|
@@ -131,12 +132,12 @@ interface ServiceContextType {
|
|
|
131
132
|
}
|
|
132
133
|
declare const ServiceProvider: ({ children, }: {
|
|
133
134
|
children: React.ReactNode;
|
|
134
|
-
}) => JSX.Element;
|
|
135
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
135
136
|
declare const useService: () => ServiceContextType;
|
|
136
137
|
|
|
137
138
|
type MetaProviderProps = {
|
|
138
139
|
children: ReactNode;
|
|
139
140
|
};
|
|
140
|
-
declare const MetaProvider: ({ children }: MetaProviderProps) => JSX.Element;
|
|
141
|
+
declare const MetaProvider: ({ children }: MetaProviderProps) => react_jsx_runtime.JSX.Element;
|
|
141
142
|
|
|
142
143
|
export { EnvProvider, MainProvider, MetaProvider, ReactQueryProvider, ServiceProvider, VersionGate, useEnv, useService };
|
package/dist/provider.js
CHANGED
|
@@ -4398,18 +4398,25 @@ function useViewService() {
|
|
|
4398
4398
|
redirect_uri,
|
|
4399
4399
|
state,
|
|
4400
4400
|
client_id,
|
|
4401
|
-
response_type
|
|
4401
|
+
response_type,
|
|
4402
|
+
path,
|
|
4403
|
+
scope
|
|
4402
4404
|
}) => {
|
|
4403
|
-
const
|
|
4404
|
-
|
|
4405
|
-
state,
|
|
4405
|
+
const params = new URLSearchParams({
|
|
4406
|
+
response_type,
|
|
4406
4407
|
client_id,
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4408
|
+
redirect_uri,
|
|
4409
|
+
state
|
|
4410
|
+
});
|
|
4411
|
+
const queryString = `${params.toString()}&scope=${encodeURIComponent(
|
|
4412
|
+
scope
|
|
4413
|
+
)}`;
|
|
4414
|
+
const url = `${path}?${queryString}`;
|
|
4415
|
+
return env?.requests.get(url, {
|
|
4410
4416
|
headers: {
|
|
4411
|
-
|
|
4412
|
-
}
|
|
4417
|
+
"Content-Type": "application/json"
|
|
4418
|
+
},
|
|
4419
|
+
withCredentials: true
|
|
4413
4420
|
});
|
|
4414
4421
|
},
|
|
4415
4422
|
[env]
|
|
@@ -6008,13 +6015,16 @@ var useSignInSSO = () => {
|
|
|
6008
6015
|
state,
|
|
6009
6016
|
client_id,
|
|
6010
6017
|
response_type,
|
|
6011
|
-
path
|
|
6018
|
+
path,
|
|
6019
|
+
scope
|
|
6012
6020
|
}) => {
|
|
6013
6021
|
return signInSSO({
|
|
6014
6022
|
redirect_uri,
|
|
6015
6023
|
state,
|
|
6016
6024
|
client_id,
|
|
6017
|
-
response_type
|
|
6025
|
+
response_type,
|
|
6026
|
+
path,
|
|
6027
|
+
scope
|
|
6018
6028
|
});
|
|
6019
6029
|
}
|
|
6020
6030
|
});
|
package/dist/provider.mjs
CHANGED
|
@@ -4355,18 +4355,25 @@ function useViewService() {
|
|
|
4355
4355
|
redirect_uri,
|
|
4356
4356
|
state,
|
|
4357
4357
|
client_id,
|
|
4358
|
-
response_type
|
|
4358
|
+
response_type,
|
|
4359
|
+
path,
|
|
4360
|
+
scope
|
|
4359
4361
|
}) => {
|
|
4360
|
-
const
|
|
4361
|
-
|
|
4362
|
-
state,
|
|
4362
|
+
const params = new URLSearchParams({
|
|
4363
|
+
response_type,
|
|
4363
4364
|
client_id,
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4365
|
+
redirect_uri,
|
|
4366
|
+
state
|
|
4367
|
+
});
|
|
4368
|
+
const queryString = `${params.toString()}&scope=${encodeURIComponent(
|
|
4369
|
+
scope
|
|
4370
|
+
)}`;
|
|
4371
|
+
const url = `${path}?${queryString}`;
|
|
4372
|
+
return env?.requests.get(url, {
|
|
4367
4373
|
headers: {
|
|
4368
|
-
|
|
4369
|
-
}
|
|
4374
|
+
"Content-Type": "application/json"
|
|
4375
|
+
},
|
|
4376
|
+
withCredentials: true
|
|
4370
4377
|
});
|
|
4371
4378
|
},
|
|
4372
4379
|
[env]
|
|
@@ -5965,13 +5972,16 @@ var useSignInSSO = () => {
|
|
|
5965
5972
|
state,
|
|
5966
5973
|
client_id,
|
|
5967
5974
|
response_type,
|
|
5968
|
-
path
|
|
5975
|
+
path,
|
|
5976
|
+
scope
|
|
5969
5977
|
}) => {
|
|
5970
5978
|
return signInSSO({
|
|
5971
5979
|
redirect_uri,
|
|
5972
5980
|
state,
|
|
5973
5981
|
client_id,
|
|
5974
|
-
response_type
|
|
5982
|
+
response_type,
|
|
5983
|
+
path,
|
|
5984
|
+
scope
|
|
5975
5985
|
});
|
|
5976
5986
|
}
|
|
5977
5987
|
});
|
package/dist/services.d.mts
CHANGED
|
@@ -229,11 +229,13 @@ declare function useViewService(): {
|
|
|
229
229
|
kwargs: any;
|
|
230
230
|
model: string;
|
|
231
231
|
}) => Promise<any>;
|
|
232
|
-
signInSSO: ({ redirect_uri, state, client_id, response_type, }: {
|
|
232
|
+
signInSSO: ({ redirect_uri, state, client_id, response_type, path, scope, }: {
|
|
233
233
|
redirect_uri: string;
|
|
234
234
|
state: string;
|
|
235
235
|
client_id: string;
|
|
236
236
|
response_type: string;
|
|
237
|
+
path: string;
|
|
238
|
+
scope: string;
|
|
237
239
|
}) => Promise<any>;
|
|
238
240
|
verify2FA: ({ method, with_context, code, device, location, }: {
|
|
239
241
|
method: string;
|
package/dist/services.d.ts
CHANGED
|
@@ -229,11 +229,13 @@ declare function useViewService(): {
|
|
|
229
229
|
kwargs: any;
|
|
230
230
|
model: string;
|
|
231
231
|
}) => Promise<any>;
|
|
232
|
-
signInSSO: ({ redirect_uri, state, client_id, response_type, }: {
|
|
232
|
+
signInSSO: ({ redirect_uri, state, client_id, response_type, path, scope, }: {
|
|
233
233
|
redirect_uri: string;
|
|
234
234
|
state: string;
|
|
235
235
|
client_id: string;
|
|
236
236
|
response_type: string;
|
|
237
|
+
path: string;
|
|
238
|
+
scope: string;
|
|
237
239
|
}) => Promise<any>;
|
|
238
240
|
verify2FA: ({ method, with_context, code, device, location, }: {
|
|
239
241
|
method: string;
|
package/dist/services.js
CHANGED
|
@@ -4565,18 +4565,25 @@ function useViewService() {
|
|
|
4565
4565
|
redirect_uri,
|
|
4566
4566
|
state,
|
|
4567
4567
|
client_id,
|
|
4568
|
-
response_type
|
|
4568
|
+
response_type,
|
|
4569
|
+
path,
|
|
4570
|
+
scope
|
|
4569
4571
|
}) => {
|
|
4570
|
-
const
|
|
4571
|
-
|
|
4572
|
-
state,
|
|
4572
|
+
const params = new URLSearchParams({
|
|
4573
|
+
response_type,
|
|
4573
4574
|
client_id,
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4575
|
+
redirect_uri,
|
|
4576
|
+
state
|
|
4577
|
+
});
|
|
4578
|
+
const queryString = `${params.toString()}&scope=${encodeURIComponent(
|
|
4579
|
+
scope
|
|
4580
|
+
)}`;
|
|
4581
|
+
const url = `${path}?${queryString}`;
|
|
4582
|
+
return env?.requests.get(url, {
|
|
4577
4583
|
headers: {
|
|
4578
|
-
|
|
4579
|
-
}
|
|
4584
|
+
"Content-Type": "application/json"
|
|
4585
|
+
},
|
|
4586
|
+
withCredentials: true
|
|
4580
4587
|
});
|
|
4581
4588
|
},
|
|
4582
4589
|
[env]
|
package/dist/services.mjs
CHANGED
|
@@ -4521,18 +4521,25 @@ function useViewService() {
|
|
|
4521
4521
|
redirect_uri,
|
|
4522
4522
|
state,
|
|
4523
4523
|
client_id,
|
|
4524
|
-
response_type
|
|
4524
|
+
response_type,
|
|
4525
|
+
path,
|
|
4526
|
+
scope
|
|
4525
4527
|
}) => {
|
|
4526
|
-
const
|
|
4527
|
-
|
|
4528
|
-
state,
|
|
4528
|
+
const params = new URLSearchParams({
|
|
4529
|
+
response_type,
|
|
4529
4530
|
client_id,
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4531
|
+
redirect_uri,
|
|
4532
|
+
state
|
|
4533
|
+
});
|
|
4534
|
+
const queryString = `${params.toString()}&scope=${encodeURIComponent(
|
|
4535
|
+
scope
|
|
4536
|
+
)}`;
|
|
4537
|
+
const url = `${path}?${queryString}`;
|
|
4538
|
+
return env?.requests.get(url, {
|
|
4533
4539
|
headers: {
|
|
4534
|
-
|
|
4535
|
-
}
|
|
4540
|
+
"Content-Type": "application/json"
|
|
4541
|
+
},
|
|
4542
|
+
withCredentials: true
|
|
4536
4543
|
});
|
|
4537
4544
|
},
|
|
4538
4545
|
[env]
|
package/package.json
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fctc/interface-logic",
|
|
3
|
-
"version": "2.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
|
-
},
|
|
59
|
-
"files": [
|
|
60
|
-
"dist"
|
|
61
|
-
],
|
|
62
|
-
"scripts": {
|
|
63
|
-
"build": "tsup",
|
|
64
|
-
"test": "jest"
|
|
65
|
-
},
|
|
66
|
-
"peerDependencies": {
|
|
67
|
-
"react": "18.0.0",
|
|
68
|
-
"@tanstack/react-query": "^5.83.0"
|
|
69
|
-
},
|
|
70
|
-
"dependencies": {
|
|
71
|
-
"@reduxjs/toolkit": "^2.8.2",
|
|
72
|
-
"@tanstack/react-query": "^5.83.0",
|
|
73
|
-
"axios": "^1.11.0",
|
|
74
|
-
"moment": "^2.30.1",
|
|
75
|
-
"react-redux": "^9.2.0"
|
|
76
|
-
},
|
|
77
|
-
"devDependencies": {
|
|
78
|
-
"@types/react": "^18.3.1",
|
|
79
|
-
"react": "18.0.0",
|
|
80
|
-
"jest": "^29.7.0",
|
|
81
|
-
"tsup": "^8.0.0",
|
|
82
|
-
"typescript": "^5.8.2"
|
|
83
|
-
},
|
|
84
|
-
"packageManager": "yarn@1.22.0"
|
|
85
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@fctc/interface-logic",
|
|
3
|
+
"version": "2.0.1",
|
|
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
|
+
},
|
|
59
|
+
"files": [
|
|
60
|
+
"dist"
|
|
61
|
+
],
|
|
62
|
+
"scripts": {
|
|
63
|
+
"build": "tsup",
|
|
64
|
+
"test": "jest"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"react": "18.0.0",
|
|
68
|
+
"@tanstack/react-query": "^5.83.0"
|
|
69
|
+
},
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"@reduxjs/toolkit": "^2.8.2",
|
|
72
|
+
"@tanstack/react-query": "^5.83.0",
|
|
73
|
+
"axios": "^1.11.0",
|
|
74
|
+
"moment": "^2.30.1",
|
|
75
|
+
"react-redux": "^9.2.0"
|
|
76
|
+
},
|
|
77
|
+
"devDependencies": {
|
|
78
|
+
"@types/react": "^18.3.1",
|
|
79
|
+
"react": "18.0.0",
|
|
80
|
+
"jest": "^29.7.0",
|
|
81
|
+
"tsup": "^8.0.0",
|
|
82
|
+
"typescript": "^5.8.2"
|
|
83
|
+
},
|
|
84
|
+
"packageManager": "yarn@1.22.0"
|
|
85
|
+
}
|