@fctc/interface-logic 1.4.4 → 1.4.5

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/index.d.mts CHANGED
@@ -1,25 +1,10 @@
1
1
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
2
- import { EnhancedStore, PayloadAction } from '@reduxjs/toolkit';
2
+ import { EnhancedStore } from '@reduxjs/toolkit';
3
3
  import * as _tanstack_react_query from '@tanstack/react-query';
4
4
  import { ReactNode } from 'react';
5
5
  import { TypedUseSelectorHook } from 'react-redux';
6
6
  import * as redux_thunk from 'redux-thunk';
7
7
  import * as redux from 'redux';
8
- import * as immer from 'immer';
9
-
10
- declare const localStorageUtils: () => {
11
- setToken: (access_token: string) => Promise<void>;
12
- setRefreshToken: (refresh_token: string) => Promise<void>;
13
- getAccessToken: () => Promise<string | null>;
14
- getRefreshToken: () => Promise<string | null>;
15
- clearToken: () => Promise<void>;
16
- };
17
- type LocalStorageUtilsType = ReturnType<typeof localStorageUtils>;
18
-
19
- declare const sessionStorageUtils: () => {
20
- getBrowserSession: () => Promise<string | null>;
21
- };
22
- type SessionStorageUtilsType = ReturnType<typeof sessionStorageUtils>;
23
8
 
24
9
  declare global {
25
10
  interface Global {
@@ -52,11 +37,6 @@ declare class EnvStore {
52
37
  setDefaultCompany(company: any): void;
53
38
  setUserInfo(userInfo: any): void;
54
39
  }
55
- declare let env: EnvStore | null;
56
- declare function initEnv({ localStorageUtils, sessionStorageUtils, }: {
57
- localStorageUtils?: LocalStorageUtilsType;
58
- sessionStorageUtils?: SessionStorageUtilsType;
59
- }): EnvStore;
60
40
  declare function getEnv(): EnvStore;
61
41
 
62
42
  declare const axiosClient: {
@@ -667,14 +647,6 @@ declare const useVerifyTotp: () => _tanstack_react_query.UseMutationResult<any,
667
647
  code: string;
668
648
  }, unknown>;
669
649
 
670
- declare const MainProvider: ({ children }: {
671
- children: ReactNode;
672
- }) => JSX.Element;
673
-
674
- declare const ReactQueryProvider: ({ children }: {
675
- children: ReactNode;
676
- }) => JSX.Element;
677
-
678
650
  declare const VersionGate: ({ children }: {
679
651
  children: ReactNode;
680
652
  }) => JSX.Element | null;
@@ -958,14 +930,6 @@ interface UserInfor {
958
930
  interface ProfileStateType {
959
931
  profile: UserInfor;
960
932
  }
961
- declare const profileSlice: _reduxjs_toolkit.Slice<ProfileStateType, {
962
- setProfile: (state: immer.WritableDraft<ProfileStateType>, action: {
963
- payload: any;
964
- type: string;
965
- }) => void;
966
- }, "profile", "profile", _reduxjs_toolkit.SliceSelectors<ProfileStateType>>;
967
- declare const setProfile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "profile/setProfile">;
968
- declare const selectProfile: (state: RootState) => ProfileStateType;
969
933
 
970
934
  interface ExcelState {
971
935
  dataParse: any | null;
@@ -975,36 +939,12 @@ interface ExcelState {
975
939
  selectedFile: any;
976
940
  errorData: any;
977
941
  }
978
- declare const excelSlice: _reduxjs_toolkit.Slice<ExcelState, {
979
- setDataParse: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
980
- setIdFile: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
981
- setIsFileLoaded: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
982
- setLoadingImport: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
983
- setSelectedFile: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
984
- setErrorData: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
985
- }, "excel", "excel", _reduxjs_toolkit.SliceSelectors<ExcelState>>;
986
- declare const setDataParse: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setDataParse">;
987
- declare const setIdFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setIdFile">;
988
- declare const setIsFileLoaded: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setIsFileLoaded">;
989
- declare const setLoadingImport: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setLoadingImport">;
990
- declare const setSelectedFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setSelectedFile">;
991
- declare const setErrorData: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setErrorData">;
992
- declare const selectExcel: (state: RootState) => ExcelState;
993
942
 
994
943
  interface LoginStateType {
995
944
  db: string;
996
945
  redirectTo: string;
997
946
  forgotPasswordUrl: string;
998
947
  }
999
- declare const loginSlice: _reduxjs_toolkit.Slice<LoginStateType, {
1000
- setDb: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
1001
- setRedirectTo: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
1002
- setForgotPasswordUrl: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
1003
- }, "login", "login", _reduxjs_toolkit.SliceSelectors<LoginStateType>>;
1004
- declare const setDb: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setDb">;
1005
- declare const setRedirectTo: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setRedirectTo">;
1006
- declare const setForgotPasswordUrl: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setForgotPasswordUrl">;
1007
- declare const selectLogin: (state: RootState) => LoginStateType;
1008
948
 
1009
949
  interface Breadcrumb {
1010
950
  title?: string;
@@ -1017,11 +957,6 @@ interface Breadcrumb {
1017
957
  interface BreadcrumbsState {
1018
958
  breadCrumbs: Breadcrumb[];
1019
959
  }
1020
- declare const breadcrumbsSlice: _reduxjs_toolkit.Slice<BreadcrumbsState, {
1021
- setBreadCrumbs: (state: BreadcrumbsState, action: PayloadAction<Breadcrumb>) => void;
1022
- }, "breadcrumbs", "breadcrumbs", _reduxjs_toolkit.SliceSelectors<BreadcrumbsState>>;
1023
- declare const setBreadCrumbs: _reduxjs_toolkit.ActionCreatorWithPayload<Breadcrumb, "breadcrumbs/setBreadCrumbs">;
1024
- declare const selectBreadCrumbs: (state: RootState) => BreadcrumbsState;
1025
960
 
1026
961
  interface ViewDataStore {
1027
962
  [key: string]: any;
@@ -1035,29 +970,6 @@ interface FormState {
1035
970
  listSubject: any;
1036
971
  dataUser: any;
1037
972
  }
1038
- declare const formSlice: _reduxjs_toolkit.Slice<FormState, {
1039
- setViewDataStore: (state: FormState, action: PayloadAction<ViewDataStore>) => void;
1040
- setIsShowingModalDetail: (state: FormState, action: PayloadAction<boolean>) => void;
1041
- setIsShowModalTranslate: (state: FormState, action: PayloadAction<boolean>) => void;
1042
- setFormSubmitComponent: (state: immer.WritableDraft<FormState>, action: PayloadAction<{
1043
- key: string;
1044
- component: any;
1045
- }>) => void;
1046
- setFieldTranslate: (state: FormState, action: PayloadAction<any>) => void;
1047
- setListSubject: (state: FormState, action: PayloadAction<any>) => void;
1048
- setDataUser: (state: FormState, action: PayloadAction<any>) => void;
1049
- }, "form", "form", _reduxjs_toolkit.SliceSelectors<FormState>>;
1050
- declare const setViewDataStore: _reduxjs_toolkit.ActionCreatorWithPayload<ViewDataStore, "form/setViewDataStore">;
1051
- declare const setIsShowingModalDetail: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowingModalDetail">;
1052
- declare const setIsShowModalTranslate: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowModalTranslate">;
1053
- declare const setFormSubmitComponent: _reduxjs_toolkit.ActionCreatorWithPayload<{
1054
- key: string;
1055
- component: any;
1056
- }, "form/setFormSubmitComponent">;
1057
- declare const setFieldTranslate: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setFieldTranslate">;
1058
- declare const setListSubject: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setListSubject">;
1059
- declare const setDataUser: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setDataUser">;
1060
- declare const selectForm: (state: RootState) => FormState;
1061
973
 
1062
974
  interface SearchState {
1063
975
  groupByDomain: any;
@@ -1070,46 +982,6 @@ interface SearchState {
1070
982
  filterBy: any;
1071
983
  groupBy: any;
1072
984
  }
1073
- declare const searchSlice: _reduxjs_toolkit.Slice<SearchState, {
1074
- setGroupByDomain: (state: immer.WritableDraft<SearchState>, action: PayloadAction<string | null>) => void;
1075
- setSearchBy: (state: immer.WritableDraft<SearchState>, action: any) => void;
1076
- setSearchString: (state: immer.WritableDraft<SearchState>, action: PayloadAction<string>) => void;
1077
- setHoveredIndexSearchList: (state: immer.WritableDraft<SearchState>, action: PayloadAction<number | null>) => void;
1078
- setSelectedTags: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
1079
- setFirstDomain: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
1080
- setFilterBy: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
1081
- setGroupBy: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
1082
- setSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<Record<string, any>>) => void;
1083
- updateSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<{
1084
- key: string;
1085
- value: any;
1086
- }>) => void;
1087
- removeKeyFromSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<{
1088
- key: string;
1089
- item?: any;
1090
- }>) => void;
1091
- clearSearchMap: (state: immer.WritableDraft<SearchState>) => void;
1092
- }, "search", "search", _reduxjs_toolkit.SliceSelectors<SearchState>>;
1093
- declare const setGroupByDomain: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "search/setGroupByDomain">;
1094
- declare const setSelectedTags: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setSelectedTags">;
1095
- declare const setSearchString: _reduxjs_toolkit.ActionCreatorWithPayload<string, "search/setSearchString">;
1096
- declare const setHoveredIndexSearchList: _reduxjs_toolkit.ActionCreatorWithPayload<number | null, "search/setHoveredIndexSearchList">;
1097
- declare const setFirstDomain: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFirstDomain">;
1098
- declare const setSearchBy: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"search/setSearchBy"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/setSearchBy">;
1099
- declare const setFilterBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFilterBy">;
1100
- declare const setSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "search/setSearchMap">;
1101
- declare const updateSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
1102
- key: string;
1103
- value: any;
1104
- }, "search/updateSearchMap">;
1105
- declare const removeKeyFromSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
1106
- key: string;
1107
- item?: any;
1108
- }, "search/removeKeyFromSearchMap">;
1109
- declare const setGroupBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setGroupBy">;
1110
- declare const clearSearchMap: _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/clearSearchMap">;
1111
- declare const selectSearch: (state: RootState) => SearchState;
1112
- declare const selectSearchMap: (state: RootState) => Record<string, any[]>;
1113
985
 
1114
986
  interface ListState {
1115
987
  pageLimit: number;
@@ -1124,29 +996,6 @@ interface ListState {
1124
996
  transferDetail?: any;
1125
997
  domainTable?: any;
1126
998
  }
1127
- declare const listSlice: _reduxjs_toolkit.Slice<ListState, {
1128
- setPageLimit: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
1129
- setFields: (state: immer.WritableDraft<ListState>, action: PayloadAction<Record<string, any>>) => void;
1130
- setOrder: (state: immer.WritableDraft<ListState>, action: PayloadAction<string | null>) => void;
1131
- setSelectedRowKeys: (state: immer.WritableDraft<ListState>, action: PayloadAction<number[]>) => void;
1132
- setSelectedRadioKey: (state: immer.WritableDraft<ListState>, action: any) => void;
1133
- setIndexRowTableModal: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
1134
- setTransferDetail: (state: immer.WritableDraft<ListState>, action: any) => void;
1135
- setIsUpdateTableModal: (state: immer.WritableDraft<ListState>, action: PayloadAction<boolean>) => void;
1136
- setPage: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
1137
- setDomainTable: (state: immer.WritableDraft<ListState>, action: PayloadAction<any[]>) => void;
1138
- }, "list", "list", _reduxjs_toolkit.SliceSelectors<ListState>>;
1139
- declare const setPageLimit: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPageLimit">;
1140
- declare const setFields: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "list/setFields">;
1141
- declare const setOrder: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "list/setOrder">;
1142
- declare const setSelectedRowKeys: _reduxjs_toolkit.ActionCreatorWithPayload<number[], "list/setSelectedRowKeys">;
1143
- declare const setIndexRowTableModal: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setIndexRowTableModal">;
1144
- declare const setIsUpdateTableModal: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "list/setIsUpdateTableModal">;
1145
- declare const setPage: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPage">;
1146
- declare const setSelectedRadioKey: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setSelectedRadioKey"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setSelectedRadioKey">;
1147
- declare const setTransferDetail: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setTransferDetail"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setTransferDetail">;
1148
- declare const setDomainTable: _reduxjs_toolkit.ActionCreatorWithPayload<any[], "list/setDomainTable">;
1149
- declare const selectList: (state: RootState) => ListState;
1150
999
 
1151
1000
  interface NavbarStateType {
1152
1001
  menuFocus: any;
@@ -1154,29 +1003,6 @@ interface NavbarStateType {
1154
1003
  navbarWidth: number;
1155
1004
  menuList: any;
1156
1005
  }
1157
- declare const navbarSlice: _reduxjs_toolkit.Slice<NavbarStateType, {
1158
- setMenuFocus: (state: immer.WritableDraft<NavbarStateType>, action: {
1159
- payload: any;
1160
- type: string;
1161
- }) => void;
1162
- setMenuFocusAction: (state: immer.WritableDraft<NavbarStateType>, action: {
1163
- payload: any;
1164
- type: string;
1165
- }) => void;
1166
- setNavbarWidth: (state: immer.WritableDraft<NavbarStateType>, action: {
1167
- payload: any;
1168
- type: string;
1169
- }) => void;
1170
- setMenuList: (state: immer.WritableDraft<NavbarStateType>, action: {
1171
- payload: any;
1172
- type: string;
1173
- }) => void;
1174
- }, "navbar", "navbar", _reduxjs_toolkit.SliceSelectors<NavbarStateType>>;
1175
- declare const setMenuFocus: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuFocus">;
1176
- declare const setMenuFocusAction: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuFocusAction">;
1177
- declare const setNavbarWidth: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setNavbarWidth">;
1178
- declare const setMenuList: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuList">;
1179
- declare const selectNavbar: (state: RootState) => NavbarStateType;
1180
1006
 
1181
1007
  declare const envStore: _reduxjs_toolkit.EnhancedStore<{
1182
1008
  env: {
@@ -1250,261 +1076,6 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
1250
1076
  }, undefined, redux.UnknownAction>;
1251
1077
  }>, redux.StoreEnhancer]>>;
1252
1078
 
1253
- declare const envSlice: _reduxjs_toolkit.Slice<{
1254
- baseUrl: string;
1255
- requests: null;
1256
- companies: never[];
1257
- user: {};
1258
- config: null;
1259
- envFile: null;
1260
- defaultCompany: {
1261
- id: null;
1262
- logo: string;
1263
- secondary_color: string;
1264
- primary_color: string;
1265
- };
1266
- context: {
1267
- uid: null;
1268
- allowed_company_ids: never[];
1269
- lang: string;
1270
- tz: string;
1271
- };
1272
- }, {
1273
- setEnv: (state: immer.WritableDraft<{
1274
- baseUrl: string;
1275
- requests: null;
1276
- companies: never[];
1277
- user: {};
1278
- config: null;
1279
- envFile: null;
1280
- defaultCompany: {
1281
- id: null;
1282
- logo: string;
1283
- secondary_color: string;
1284
- primary_color: string;
1285
- };
1286
- context: {
1287
- uid: null;
1288
- allowed_company_ids: never[];
1289
- lang: string;
1290
- tz: string;
1291
- };
1292
- }>, action: {
1293
- payload: any;
1294
- type: string;
1295
- }) => void;
1296
- setUid: (state: immer.WritableDraft<{
1297
- baseUrl: string;
1298
- requests: null;
1299
- companies: never[];
1300
- user: {};
1301
- config: null;
1302
- envFile: null;
1303
- defaultCompany: {
1304
- id: null;
1305
- logo: string;
1306
- secondary_color: string;
1307
- primary_color: string;
1308
- };
1309
- context: {
1310
- uid: null;
1311
- allowed_company_ids: never[];
1312
- lang: string;
1313
- tz: string;
1314
- };
1315
- }>, action: {
1316
- payload: any;
1317
- type: string;
1318
- }) => void;
1319
- setAllowCompanies: (state: immer.WritableDraft<{
1320
- baseUrl: string;
1321
- requests: null;
1322
- companies: never[];
1323
- user: {};
1324
- config: null;
1325
- envFile: null;
1326
- defaultCompany: {
1327
- id: null;
1328
- logo: string;
1329
- secondary_color: string;
1330
- primary_color: string;
1331
- };
1332
- context: {
1333
- uid: null;
1334
- allowed_company_ids: never[];
1335
- lang: string;
1336
- tz: string;
1337
- };
1338
- }>, action: {
1339
- payload: any;
1340
- type: string;
1341
- }) => void;
1342
- setCompanies: (state: immer.WritableDraft<{
1343
- baseUrl: string;
1344
- requests: null;
1345
- companies: never[];
1346
- user: {};
1347
- config: null;
1348
- envFile: null;
1349
- defaultCompany: {
1350
- id: null;
1351
- logo: string;
1352
- secondary_color: string;
1353
- primary_color: string;
1354
- };
1355
- context: {
1356
- uid: null;
1357
- allowed_company_ids: never[];
1358
- lang: string;
1359
- tz: string;
1360
- };
1361
- }>, action: {
1362
- payload: any;
1363
- type: string;
1364
- }) => void;
1365
- setDefaultCompany: (state: immer.WritableDraft<{
1366
- baseUrl: string;
1367
- requests: null;
1368
- companies: never[];
1369
- user: {};
1370
- config: null;
1371
- envFile: null;
1372
- defaultCompany: {
1373
- id: null;
1374
- logo: string;
1375
- secondary_color: string;
1376
- primary_color: string;
1377
- };
1378
- context: {
1379
- uid: null;
1380
- allowed_company_ids: never[];
1381
- lang: string;
1382
- tz: string;
1383
- };
1384
- }>, action: {
1385
- payload: any;
1386
- type: string;
1387
- }) => void;
1388
- setLang: (state: immer.WritableDraft<{
1389
- baseUrl: string;
1390
- requests: null;
1391
- companies: never[];
1392
- user: {};
1393
- config: null;
1394
- envFile: null;
1395
- defaultCompany: {
1396
- id: null;
1397
- logo: string;
1398
- secondary_color: string;
1399
- primary_color: string;
1400
- };
1401
- context: {
1402
- uid: null;
1403
- allowed_company_ids: never[];
1404
- lang: string;
1405
- tz: string;
1406
- };
1407
- }>, action: {
1408
- payload: any;
1409
- type: string;
1410
- }) => void;
1411
- setUser: (state: immer.WritableDraft<{
1412
- baseUrl: string;
1413
- requests: null;
1414
- companies: never[];
1415
- user: {};
1416
- config: null;
1417
- envFile: null;
1418
- defaultCompany: {
1419
- id: null;
1420
- logo: string;
1421
- secondary_color: string;
1422
- primary_color: string;
1423
- };
1424
- context: {
1425
- uid: null;
1426
- allowed_company_ids: never[];
1427
- lang: string;
1428
- tz: string;
1429
- };
1430
- }>, action: {
1431
- payload: any;
1432
- type: string;
1433
- }) => void;
1434
- setConfig: (state: immer.WritableDraft<{
1435
- baseUrl: string;
1436
- requests: null;
1437
- companies: never[];
1438
- user: {};
1439
- config: null;
1440
- envFile: null;
1441
- defaultCompany: {
1442
- id: null;
1443
- logo: string;
1444
- secondary_color: string;
1445
- primary_color: string;
1446
- };
1447
- context: {
1448
- uid: null;
1449
- allowed_company_ids: never[];
1450
- lang: string;
1451
- tz: string;
1452
- };
1453
- }>, action: {
1454
- payload: any;
1455
- type: string;
1456
- }) => void;
1457
- setEnvFile: (state: immer.WritableDraft<{
1458
- baseUrl: string;
1459
- requests: null;
1460
- companies: never[];
1461
- user: {};
1462
- config: null;
1463
- envFile: null;
1464
- defaultCompany: {
1465
- id: null;
1466
- logo: string;
1467
- secondary_color: string;
1468
- primary_color: string;
1469
- };
1470
- context: {
1471
- uid: null;
1472
- allowed_company_ids: never[];
1473
- lang: string;
1474
- tz: string;
1475
- };
1476
- }>, action: {
1477
- payload: any;
1478
- type: string;
1479
- }) => void;
1480
- }, "env", "env", _reduxjs_toolkit.SliceSelectors<{
1481
- baseUrl: string;
1482
- requests: null;
1483
- companies: never[];
1484
- user: {};
1485
- config: null;
1486
- envFile: null;
1487
- defaultCompany: {
1488
- id: null;
1489
- logo: string;
1490
- secondary_color: string;
1491
- primary_color: string;
1492
- };
1493
- context: {
1494
- uid: null;
1495
- allowed_company_ids: never[];
1496
- lang: string;
1497
- tz: string;
1498
- };
1499
- }>>;
1500
- declare const setEnv: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnv">;
1501
- declare const setUid: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setUid">;
1502
- declare const setLang: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setLang">;
1503
- declare const setAllowCompanies: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setAllowCompanies">;
1504
- declare const setCompanies: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setCompanies">;
1505
- declare const setDefaultCompany: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setDefaultCompany">;
1506
- declare const setUser: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setUser">;
1507
- declare const setConfig: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setConfig">;
1508
1079
  declare const setEnvFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnvFile">;
1509
1080
  declare const selectEnv: (state: RootState) => {
1510
1081
  baseUrl: string;
@@ -1527,40 +1098,6 @@ declare const selectEnv: (state: RootState) => {
1527
1098
  };
1528
1099
  };
1529
1100
 
1530
- declare const headerSlice: _reduxjs_toolkit.Slice<{
1531
- value: {
1532
- allowedCompanyIds: never[];
1533
- };
1534
- }, {
1535
- setHeader: (state: immer.WritableDraft<{
1536
- value: {
1537
- allowedCompanyIds: never[];
1538
- };
1539
- }>, action: {
1540
- payload: any;
1541
- type: string;
1542
- }) => void;
1543
- setAllowedCompanyIds: (state: immer.WritableDraft<{
1544
- value: {
1545
- allowedCompanyIds: never[];
1546
- };
1547
- }>, action: {
1548
- payload: any;
1549
- type: string;
1550
- }) => void;
1551
- }, "header", "header", _reduxjs_toolkit.SliceSelectors<{
1552
- value: {
1553
- allowedCompanyIds: never[];
1554
- };
1555
- }>>;
1556
- declare const setAllowedCompanyIds: _reduxjs_toolkit.ActionCreatorWithPayload<any, "header/setAllowedCompanyIds">;
1557
- declare const setHeader: _reduxjs_toolkit.ActionCreatorWithPayload<any, "header/setHeader">;
1558
- declare const selectHeader: (state: RootState) => {
1559
- value: {
1560
- allowedCompanyIds: never[];
1561
- };
1562
- };
1563
-
1564
1101
  type RootState = ReturnType<typeof envStore.getState>;
1565
1102
  type AppDispatch = typeof envStore.dispatch;
1566
1103
  declare const useAppDispatch: () => AppDispatch;
@@ -1672,4 +1209,4 @@ interface Context {
1672
1209
  [key: string]: any;
1673
1210
  }
1674
1211
 
1675
- export { ActionService, type AppDispatch, AuthService, type BreadcrumbsState, CompanyService, ComponentType, type Config, type Context, type ContextApi, type DeleteParams, EnvStore, ExcelService, type ExcelState, FieldTypeConstants, type ForgotPasswordBody, FormService, type FormState, type GetAllParams, type GetDetailParams, type GetListParams, type GetSelectionType, type GetViewParams, KanbanServices as KanbanService, KeyConstants, type ListState, type LoginCredentialBody, type LoginStateType, MainProvider, MethodConstants, MethodType, ModelConstants, ModelService, type NavbarStateType, type OnChangeParams, type ProfileStateType, ReactQueryProvider, type ResetPasswordRequest, type RootState, type SaveParams, type SearchState, SearchType, type SocialTokenBody, type Specification, type UpdatePasswordRequest, UriConstants, type UserInfor, UserService, VersionGate, type View, type ViewData, type ViewDataStore, ViewService, WIDGETAVATAR, WIDGETCOLOR, WIDGETCURRENCY, WIDGETNOSTRING, WIDGETSTATUS, WesapError, axiosClient, breadcrumbsSlice, checkIsImageLink, clearSearchMap, convertFloatToTime, convertTimeToFloat, copyTextToClipboard, domainHelper, env, envSlice, envStore, evalJSONContext, evalJSONDomain, excelSlice, filterFieldDirty, formSlice, formatCurrency, formatDate, formatFileSize, formatSortingString, formatUrlPath, getEnv, getFieldsOnChange, getOffSet, getSubdomain, handleError, headerSlice, initEnv, isBase64File, isBase64Image, isObjectEmpty, listSlice, loginSlice, mergeObjects, navbarSlice, profileSlice, removeKeyFromSearchMap, removeUndefinedFields, resequence, searchSlice, selectBreadCrumbs, selectEnv, selectExcel, selectForm, selectHeader, selectList, selectLogin, selectNavbar, selectProfile, selectSearch, selectSearchMap, setAllowCompanies, setAllowedCompanyIds, setBreadCrumbs, setCompanies, setConfig, setDataParse, setDataUser, setDb, setDefaultCompany, setDomainTable, setEnv, setEnvFile, setErrorData, setFieldTranslate, setFields, setFilterBy, setFirstDomain, setForgotPasswordUrl, setFormSubmitComponent, setGroupBy, setGroupByDomain, setHeader, setHoveredIndexSearchList, setIdFile, setIndexRowTableModal, setIsFileLoaded, setIsShowModalTranslate, setIsShowingModalDetail, setIsUpdateTableModal, setLang, setListSubject, setLoadingImport, setMenuFocus, setMenuFocusAction, setMenuList, setNavbarWidth, setOrder, setPage, setPageLimit, setProfile, setRedirectTo, setSearchBy, setSearchMap, setSearchString, setSelectedFile, setSelectedRadioKey, setSelectedRowKeys, setSelectedTags, setTransferDetail, setUid, setUser, setViewDataStore, stringToColor, toQueryString, type updatePasswordBody, updateSearchMap, updateTokenParamInOriginalRequest, useAppDispatch, useAppSelector, useButton, useChangeStatus, useDelete, useDeleteComment, useDuplicateRecord, useExecuteImport, useExportExcel, useField, useForgotPassword, useForgotPasswordSSO, useGet2FAMethods, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFieldsViewSecurity, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetPrintReport, useGetProGressBar, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetUser, useGetView, useGrantAccess, useIsValidToken, useLoadAction, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useTabModel, useUpdatePassword, useUploadFile, useUploadIdFile, useUploadImage, useVerify2FA, useVerifyTotp, validateAndParseDate };
1212
+ export { ActionService, type AppDispatch, AuthService, CompanyService, ComponentType, type Config, type Context, type ContextApi, type DeleteParams, EnvStore, ExcelService, FieldTypeConstants, type ForgotPasswordBody, FormService, type GetAllParams, type GetDetailParams, type GetListParams, type GetSelectionType, type GetViewParams, KanbanServices as KanbanService, KeyConstants, type LoginCredentialBody, MethodConstants, MethodType, ModelConstants, ModelService, type OnChangeParams, type ResetPasswordRequest, type SaveParams, SearchType, type SocialTokenBody, type Specification, type UpdatePasswordRequest, UriConstants, UserService, VersionGate, type View, type ViewData, ViewService, WIDGETAVATAR, WIDGETCOLOR, WIDGETCURRENCY, WIDGETNOSTRING, WIDGETSTATUS, WesapError, axiosClient, checkIsImageLink, convertFloatToTime, convertTimeToFloat, copyTextToClipboard, domainHelper, evalJSONContext, evalJSONDomain, filterFieldDirty, formatCurrency, formatDate, formatFileSize, formatSortingString, formatUrlPath, getEnv, getFieldsOnChange, getOffSet, getSubdomain, handleError, isBase64File, isBase64Image, isObjectEmpty, mergeObjects, removeUndefinedFields, resequence, selectEnv, setEnvFile, stringToColor, toQueryString, type updatePasswordBody, updateTokenParamInOriginalRequest, useAppDispatch, useAppSelector, useButton, useChangeStatus, useDelete, useDeleteComment, useDuplicateRecord, useExecuteImport, useExportExcel, useField, useForgotPassword, useForgotPasswordSSO, useGet2FAMethods, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFieldsViewSecurity, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetPrintReport, useGetProGressBar, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetUser, useGetView, useGrantAccess, useIsValidToken, useLoadAction, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useTabModel, useUpdatePassword, useUploadFile, useUploadIdFile, useUploadImage, useVerify2FA, useVerifyTotp, validateAndParseDate };