@inceptionbg/main 2.0.72 → 2.0.74

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.ts CHANGED
@@ -3,6 +3,9 @@ import * as react from 'react';
3
3
  import { ReactElement, FC, ReactNode, Dispatch, SetStateAction } from 'react';
4
4
  import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
5
5
  export { AxiosError } from 'axios';
6
+ import * as reactQuery from '@tanstack/react-query';
7
+ export { reactQuery as ReactQuery };
8
+ export { keepPreviousData, useMutation, useQuery } from '@tanstack/react-query';
6
9
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
10
 
8
11
  interface IPlace {
@@ -1401,46 +1404,51 @@ interface IProps {
1401
1404
  }
1402
1405
  declare const UserOrgProvider: ({ children }: IProps) => react_jsx_runtime.JSX.Element;
1403
1406
 
1404
- interface Props$6 {
1407
+ interface Props$7 {
1405
1408
  routes: IRoute[];
1406
1409
  sidebarItems: ISidebarItem[][];
1407
1410
  hideNotifications?: boolean;
1408
1411
  }
1409
- declare const Router: FC<Props$6>;
1412
+ declare const Router: FC<Props$7>;
1410
1413
 
1411
1414
  declare const LoginPage: FC;
1412
1415
 
1413
- interface Props$5 {
1416
+ interface Props$6 {
1414
1417
  title?: string;
1415
1418
  buttonLabel?: string;
1416
1419
  showLogout?: boolean;
1417
1420
  }
1418
- declare const NoAccessInfo: FC<Props$5>;
1421
+ declare const NoAccessInfo: FC<Props$6>;
1419
1422
 
1420
1423
  declare const NoMatchPage: FC;
1421
1424
 
1422
1425
  declare const SelectOrgPage: FC;
1423
1426
 
1424
- interface Props$4 {
1427
+ interface Props$5 {
1425
1428
  modulePrivileges: string[];
1426
1429
  usePrivileges: () => IAnyObject;
1427
1430
  }
1428
- declare const RolesWithPrivileges: FC<Props$4>;
1431
+ declare const RolesWithPrivileges: FC<Props$5>;
1429
1432
 
1430
- interface Props$3 {
1433
+ interface Props$4 {
1431
1434
  customTitle?: string;
1432
1435
  hideModules?: boolean;
1433
1436
  hideNotifications?: boolean;
1434
1437
  children?: ReactNode;
1435
1438
  }
1436
- declare const Header: FC<Props$3>;
1439
+ declare const Header: FC<Props$4>;
1437
1440
 
1438
- interface Props$2 {
1441
+ interface Props$3 {
1439
1442
  sidebarItems: ISidebarItem[][];
1440
1443
  hideNotifications?: boolean;
1441
1444
  children: ReactNode;
1442
1445
  }
1443
- declare const MainPageWrapper: FC<Props$2>;
1446
+ declare const MainPageWrapper: FC<Props$3>;
1447
+
1448
+ interface Props$2 {
1449
+ children: ReactNode;
1450
+ }
1451
+ declare const ReactQueryProvider: FC<Props$2>;
1444
1452
 
1445
1453
  interface Props$1 {
1446
1454
  items: ISidebarItem[][];
@@ -1458,4 +1466,4 @@ interface Props {
1458
1466
  }
1459
1467
  declare const IndexDataSearch: FC<Props>;
1460
1468
 
1461
- export { ApprovalStatus, AxiosTokenHandler, Constraints, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, Header, IApproval, IApprovalSearch, IApprovalStep, IApprovalStepSearch, IBankAccount, IBankAccountSearch, ICondition, IConditionIndexData, IConstraint, IContactPerson, ICountry, IDocument, IDocumentAny, IDocumentApproval, IDocumentApprovalStep, IDocumentApprovalVote, IDocumentFile, IDocumentFileParams, IDocumentIndex, IDocumentSearch, IDocumentSend, IDocumentSendSearch, IDocumentType, IEnv, IFile, IFileSignData, IFileType, IFileUpload, IInvoice, IInvoiceItem, ILatestApprovalProcess, IModule, IModuleId, IMunicipality, INote, INoteSearch, IOrganization, IOrganizationFetchOption, IOrganizationSearch, IOrganizationSettings, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPhaseGroup, IPhaseGroupSearch, IPlace, IRole, IRolePrivilege, IRoute, IServiceApi, ISidebarItem, IToken, IUploadDocumentType, IUser, IUserSettings, IVoteSearch, IndexDataSearch, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, OrganizationStatus, OrganizationStatuses, PartnerGroupType, RolePrivilegeGroup, RolesWithPrivileges, Router, SelectOrgPage, Sidebar, UserFetchOption, UserOrgContext, UserOrgProvider, decodeToken, envVars, getUser, login, logout, modules };
1469
+ export { ApprovalStatus, AxiosTokenHandler, Constraints, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, Header, IApproval, IApprovalSearch, IApprovalStep, IApprovalStepSearch, IBankAccount, IBankAccountSearch, ICondition, IConditionIndexData, IConstraint, IContactPerson, ICountry, IDocument, IDocumentAny, IDocumentApproval, IDocumentApprovalStep, IDocumentApprovalVote, IDocumentFile, IDocumentFileParams, IDocumentIndex, IDocumentSearch, IDocumentSend, IDocumentSendSearch, IDocumentType, IEnv, IFile, IFileSignData, IFileType, IFileUpload, IInvoice, IInvoiceItem, ILatestApprovalProcess, IModule, IModuleId, IMunicipality, INote, INoteSearch, IOrganization, IOrganizationFetchOption, IOrganizationSearch, IOrganizationSettings, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPhaseGroup, IPhaseGroupSearch, IPlace, IRole, IRolePrivilege, IRoute, IServiceApi, ISidebarItem, IToken, IUploadDocumentType, IUser, IUserSettings, IVoteSearch, IndexDataSearch, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, OrganizationStatus, OrganizationStatuses, PartnerGroupType, ReactQueryProvider, RolePrivilegeGroup, RolesWithPrivileges, Router, SelectOrgPage, Sidebar, UserFetchOption, UserOrgContext, UserOrgProvider, decodeToken, envVars, getUser, login, logout, modules };