@inceptionbg/main 2.0.72 → 2.0.73
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 +17 -11
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ 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
|
+
export { default as ReactQuery, keepPreviousData, useMutation, useQuery } from '@tanstack/react-query';
|
|
6
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
8
|
|
|
8
9
|
interface IPlace {
|
|
@@ -1401,46 +1402,51 @@ interface IProps {
|
|
|
1401
1402
|
}
|
|
1402
1403
|
declare const UserOrgProvider: ({ children }: IProps) => react_jsx_runtime.JSX.Element;
|
|
1403
1404
|
|
|
1404
|
-
interface Props$
|
|
1405
|
+
interface Props$7 {
|
|
1405
1406
|
routes: IRoute[];
|
|
1406
1407
|
sidebarItems: ISidebarItem[][];
|
|
1407
1408
|
hideNotifications?: boolean;
|
|
1408
1409
|
}
|
|
1409
|
-
declare const Router: FC<Props$
|
|
1410
|
+
declare const Router: FC<Props$7>;
|
|
1410
1411
|
|
|
1411
1412
|
declare const LoginPage: FC;
|
|
1412
1413
|
|
|
1413
|
-
interface Props$
|
|
1414
|
+
interface Props$6 {
|
|
1414
1415
|
title?: string;
|
|
1415
1416
|
buttonLabel?: string;
|
|
1416
1417
|
showLogout?: boolean;
|
|
1417
1418
|
}
|
|
1418
|
-
declare const NoAccessInfo: FC<Props$
|
|
1419
|
+
declare const NoAccessInfo: FC<Props$6>;
|
|
1419
1420
|
|
|
1420
1421
|
declare const NoMatchPage: FC;
|
|
1421
1422
|
|
|
1422
1423
|
declare const SelectOrgPage: FC;
|
|
1423
1424
|
|
|
1424
|
-
interface Props$
|
|
1425
|
+
interface Props$5 {
|
|
1425
1426
|
modulePrivileges: string[];
|
|
1426
1427
|
usePrivileges: () => IAnyObject;
|
|
1427
1428
|
}
|
|
1428
|
-
declare const RolesWithPrivileges: FC<Props$
|
|
1429
|
+
declare const RolesWithPrivileges: FC<Props$5>;
|
|
1429
1430
|
|
|
1430
|
-
interface Props$
|
|
1431
|
+
interface Props$4 {
|
|
1431
1432
|
customTitle?: string;
|
|
1432
1433
|
hideModules?: boolean;
|
|
1433
1434
|
hideNotifications?: boolean;
|
|
1434
1435
|
children?: ReactNode;
|
|
1435
1436
|
}
|
|
1436
|
-
declare const Header: FC<Props$
|
|
1437
|
+
declare const Header: FC<Props$4>;
|
|
1437
1438
|
|
|
1438
|
-
interface Props$
|
|
1439
|
+
interface Props$3 {
|
|
1439
1440
|
sidebarItems: ISidebarItem[][];
|
|
1440
1441
|
hideNotifications?: boolean;
|
|
1441
1442
|
children: ReactNode;
|
|
1442
1443
|
}
|
|
1443
|
-
declare const MainPageWrapper: FC<Props$
|
|
1444
|
+
declare const MainPageWrapper: FC<Props$3>;
|
|
1445
|
+
|
|
1446
|
+
interface Props$2 {
|
|
1447
|
+
children: ReactNode;
|
|
1448
|
+
}
|
|
1449
|
+
declare const ReactQueryProvider: FC<Props$2>;
|
|
1444
1450
|
|
|
1445
1451
|
interface Props$1 {
|
|
1446
1452
|
items: ISidebarItem[][];
|
|
@@ -1458,4 +1464,4 @@ interface Props {
|
|
|
1458
1464
|
}
|
|
1459
1465
|
declare const IndexDataSearch: FC<Props>;
|
|
1460
1466
|
|
|
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 };
|
|
1467
|
+
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 };
|