@inceptionbg/main 1.0.65 → 1.0.66
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 -12
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ISimpleObject, ISelectData, ISimpleObjectWithCode, IAnyObject } from '@inceptionbg/iui';
|
|
2
|
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
2
|
import * as react from 'react';
|
|
4
|
-
import { FC, ReactNode, Dispatch, SetStateAction
|
|
3
|
+
import { ReactElement, FC, ReactNode, Dispatch, SetStateAction } from 'react';
|
|
4
|
+
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { Accept } from 'react-dropzone';
|
|
7
7
|
|
|
@@ -1407,6 +1407,13 @@ interface IOrganizationPrivileges {
|
|
|
1407
1407
|
vatEvidence?: boolean;
|
|
1408
1408
|
}
|
|
1409
1409
|
|
|
1410
|
+
interface IRoute {
|
|
1411
|
+
path?: string;
|
|
1412
|
+
element?: ReactElement;
|
|
1413
|
+
fullPage?: boolean;
|
|
1414
|
+
childrenRoutes?: IRoute[];
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1410
1417
|
interface IToken {
|
|
1411
1418
|
sub: string;
|
|
1412
1419
|
userUuid: string;
|
|
@@ -1489,33 +1496,42 @@ interface IErrorContext {
|
|
|
1489
1496
|
}
|
|
1490
1497
|
declare const ErrorContext: react.Context<IErrorContext>;
|
|
1491
1498
|
|
|
1499
|
+
interface Props$9 {
|
|
1500
|
+
routes: IRoute[];
|
|
1501
|
+
sidebarItems: ISidebarItem[][];
|
|
1502
|
+
}
|
|
1503
|
+
declare const Router: FC<Props$9>;
|
|
1504
|
+
|
|
1492
1505
|
declare const LoginPage: FC;
|
|
1493
1506
|
|
|
1494
1507
|
declare const SelectOrgPage: FC;
|
|
1495
1508
|
|
|
1496
|
-
interface Props$
|
|
1509
|
+
interface Props$8 {
|
|
1497
1510
|
title?: string;
|
|
1498
1511
|
buttonLabel?: string;
|
|
1499
1512
|
showLogout?: boolean;
|
|
1500
1513
|
}
|
|
1501
|
-
declare const NoAccessInfo: FC<Props$
|
|
1514
|
+
declare const NoAccessInfo: FC<Props$8>;
|
|
1502
1515
|
|
|
1503
1516
|
declare const NoMatchPage: FC;
|
|
1504
1517
|
|
|
1505
|
-
interface Props$
|
|
1518
|
+
interface Props$7 {
|
|
1506
1519
|
hideModules?: boolean;
|
|
1507
1520
|
children?: ReactNode;
|
|
1508
1521
|
}
|
|
1509
|
-
declare const Header: FC<Props$
|
|
1522
|
+
declare const Header: FC<Props$7>;
|
|
1510
1523
|
|
|
1511
|
-
interface Props$
|
|
1524
|
+
interface Props$6 {
|
|
1512
1525
|
items: ISidebarItem[][];
|
|
1513
1526
|
UserBox?: ReactElement;
|
|
1514
|
-
logo?: string;
|
|
1515
|
-
collapsed?: boolean;
|
|
1516
|
-
setCollapsed?: (collapsed: boolean) => void;
|
|
1517
1527
|
}
|
|
1518
|
-
declare const Sidebar: FC<Props$
|
|
1528
|
+
declare const Sidebar: FC<Props$6>;
|
|
1529
|
+
|
|
1530
|
+
interface Props$5 {
|
|
1531
|
+
sidebarItems: ISidebarItem[][];
|
|
1532
|
+
children: ReactNode;
|
|
1533
|
+
}
|
|
1534
|
+
declare const MainPageWrapper: FC<Props$5>;
|
|
1519
1535
|
|
|
1520
1536
|
interface IProps {
|
|
1521
1537
|
fileUuid: string;
|
|
@@ -1565,4 +1581,4 @@ interface Props {
|
|
|
1565
1581
|
}
|
|
1566
1582
|
declare const IndexDataSearch: FC<Props>;
|
|
1567
1583
|
|
|
1568
|
-
export { ApprovalStatus, AxiosTokenHandler, Constraints, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentFileSignDialog, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, FileSignAppPortal, FilesDropzone, Header, IApproval, IApprovalSearch, IApprovalStep, IApprovalStepSearch, IBankAccount, IBankAccountSearch, IBusinessActivity, ICondition, IConditionIndexData, IConstraint, IContactPerson, ICountry, ICurrency, 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, IOrganizationPrivileges, IOrganizationSearch, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPhaseGroup, IPhaseGroupSearch, IPlace, ISidebarItem, IToken, IUploadDocumentType, IUser, IUserPreferences, IUserPrivileges, IVoteSearch, IndexDataSearch, LoginPage, ModuleIds, NoAccessInfo, NoMatchPage, NotificationsContext, NotificationsProvider, OrganizationStatus, OrganizationStatuses, PDFSignBox, PartnerGroupType, SelectOrgPage, Sidebar, SignatureLocation, UserFetchOption, UserOrgContext, UserOrgProvider, logout };
|
|
1584
|
+
export { ApprovalStatus, AxiosTokenHandler, Constraints, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentFileSignDialog, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, FileSignAppPortal, FilesDropzone, Header, IApproval, IApprovalSearch, IApprovalStep, IApprovalStepSearch, IBankAccount, IBankAccountSearch, IBusinessActivity, ICondition, IConditionIndexData, IConstraint, IContactPerson, ICountry, ICurrency, 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, IOrganizationPrivileges, IOrganizationSearch, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPhaseGroup, IPhaseGroupSearch, IPlace, IRoute, ISidebarItem, IToken, IUploadDocumentType, IUser, IUserPreferences, IUserPrivileges, IVoteSearch, IndexDataSearch, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, NotificationsContext, NotificationsProvider, OrganizationStatus, OrganizationStatuses, PDFSignBox, PartnerGroupType, Router, SelectOrgPage, Sidebar, SignatureLocation, UserFetchOption, UserOrgContext, UserOrgProvider, logout };
|