@inceptionbg/main 2.0.76 → 2.0.77
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 +28 -18
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { ReactElement, FC, ReactNode, Dispatch, SetStateAction } from 'react';
|
|
|
4
4
|
import { AxiosResponse } from 'axios';
|
|
5
5
|
export { AxiosError } from 'axios';
|
|
6
6
|
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
7
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
7
8
|
import * as reactQuery from '@tanstack/react-query';
|
|
8
9
|
export { reactQuery as ReactQuery };
|
|
9
10
|
export { keepPreviousData, useMutation, useQuery } from '@tanstack/react-query';
|
|
@@ -93,7 +94,7 @@ interface IUserSettings {
|
|
|
93
94
|
notificationsSound?: boolean;
|
|
94
95
|
startGuideOpen?: boolean;
|
|
95
96
|
scannerData?: IScanData;
|
|
96
|
-
|
|
97
|
+
uuide?: {
|
|
97
98
|
[key in IGuideType]: boolean;
|
|
98
99
|
};
|
|
99
100
|
}
|
|
@@ -1409,59 +1410,59 @@ interface IProps {
|
|
|
1409
1410
|
}
|
|
1410
1411
|
declare const UserOrgProvider: ({ children }: IProps) => react_jsx_runtime.JSX.Element;
|
|
1411
1412
|
|
|
1412
|
-
interface Props$
|
|
1413
|
+
interface Props$8 {
|
|
1413
1414
|
routes: IRoute[];
|
|
1414
1415
|
sidebarItems: ISidebarItem[][];
|
|
1415
1416
|
hideNotifications?: boolean;
|
|
1416
1417
|
}
|
|
1417
|
-
declare const Router: FC<Props$
|
|
1418
|
+
declare const Router: FC<Props$8>;
|
|
1418
1419
|
|
|
1419
1420
|
declare const LoginPage: FC;
|
|
1420
1421
|
|
|
1421
|
-
interface Props$
|
|
1422
|
+
interface Props$7 {
|
|
1422
1423
|
title?: string;
|
|
1423
1424
|
buttonLabel?: string;
|
|
1424
1425
|
showLogout?: boolean;
|
|
1425
1426
|
}
|
|
1426
|
-
declare const NoAccessInfo: FC<Props$
|
|
1427
|
+
declare const NoAccessInfo: FC<Props$7>;
|
|
1427
1428
|
|
|
1428
1429
|
declare const NoMatchPage: FC;
|
|
1429
1430
|
|
|
1430
1431
|
declare const SelectOrgPage: FC;
|
|
1431
1432
|
|
|
1432
|
-
interface Props$
|
|
1433
|
+
interface Props$6 {
|
|
1433
1434
|
modulePrivileges: string[];
|
|
1434
1435
|
usePrivileges: () => IAnyObject;
|
|
1435
1436
|
}
|
|
1436
|
-
declare const RolesWithPrivileges: FC<Props$
|
|
1437
|
+
declare const RolesWithPrivileges: FC<Props$6>;
|
|
1437
1438
|
|
|
1438
|
-
interface Props$
|
|
1439
|
+
interface Props$5 {
|
|
1439
1440
|
customTitle?: string;
|
|
1440
1441
|
hideModules?: boolean;
|
|
1441
1442
|
hideNotifications?: boolean;
|
|
1442
1443
|
children?: ReactNode;
|
|
1443
1444
|
}
|
|
1444
|
-
declare const Header: FC<Props$
|
|
1445
|
+
declare const Header: FC<Props$5>;
|
|
1445
1446
|
|
|
1446
|
-
interface Props$
|
|
1447
|
+
interface Props$4 {
|
|
1447
1448
|
sidebarItems: ISidebarItem[][];
|
|
1448
1449
|
hideNotifications?: boolean;
|
|
1449
1450
|
children: ReactNode;
|
|
1450
1451
|
}
|
|
1451
|
-
declare const MainPageWrapper: FC<Props$
|
|
1452
|
+
declare const MainPageWrapper: FC<Props$4>;
|
|
1452
1453
|
|
|
1453
|
-
interface Props$
|
|
1454
|
+
interface Props$3 {
|
|
1454
1455
|
children: ReactNode;
|
|
1455
1456
|
}
|
|
1456
|
-
declare const ReactQueryProvider: FC<Props$
|
|
1457
|
+
declare const ReactQueryProvider: FC<Props$3>;
|
|
1457
1458
|
|
|
1458
|
-
interface Props$
|
|
1459
|
+
interface Props$2 {
|
|
1459
1460
|
items: ISidebarItem[][];
|
|
1460
1461
|
UserBox?: ReactElement;
|
|
1461
1462
|
}
|
|
1462
|
-
declare const Sidebar: FC<Props$
|
|
1463
|
+
declare const Sidebar: FC<Props$2>;
|
|
1463
1464
|
|
|
1464
|
-
interface Props {
|
|
1465
|
+
interface Props$1 {
|
|
1465
1466
|
searchData: IAnyObject;
|
|
1466
1467
|
setSearchData: Dispatch<SetStateAction<IAnyObject>>;
|
|
1467
1468
|
indexesSearch: IIndexData[];
|
|
@@ -1469,6 +1470,15 @@ interface Props {
|
|
|
1469
1470
|
documentTypeUuid?: string;
|
|
1470
1471
|
type?: 'document' | 'case' | 'contract';
|
|
1471
1472
|
}
|
|
1472
|
-
declare const IndexDataSearch: FC<Props>;
|
|
1473
|
+
declare const IndexDataSearch: FC<Props$1>;
|
|
1474
|
+
|
|
1475
|
+
interface Props {
|
|
1476
|
+
textId: string;
|
|
1477
|
+
itemUuid: string;
|
|
1478
|
+
setItemUuid: Dispatch<SetStateAction<string>>;
|
|
1479
|
+
onSuccess: () => void;
|
|
1480
|
+
useDeleteItemMutation: ({ onSuccess, }: IUseMutationData) => UseMutationResult<AxiosResponse<any, any>, Error, string, unknown>;
|
|
1481
|
+
}
|
|
1482
|
+
declare const DeleteItemDialog: FC<Props>;
|
|
1473
1483
|
|
|
1474
|
-
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, IUseMutationData, 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 };
|
|
1484
|
+
export { ApprovalStatus, AxiosTokenHandler, Constraints, DeleteItemDialog, 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, IUseMutationData, 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 };
|