@inceptionbg/main 2.0.69 → 2.0.71

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
@@ -1402,26 +1402,32 @@ interface IProps {
1402
1402
  }
1403
1403
  declare const UserOrgProvider: ({ children }: IProps) => react_jsx_runtime.JSX.Element;
1404
1404
 
1405
- interface Props$7 {
1405
+ interface Props$8 {
1406
1406
  routes: IRoute[];
1407
1407
  sidebarItems: ISidebarItem[][];
1408
1408
  hideNotifications?: boolean;
1409
1409
  }
1410
- declare const Router: FC<Props$7>;
1410
+ declare const Router: FC<Props$8>;
1411
1411
 
1412
1412
  declare const LoginPage: FC;
1413
1413
 
1414
- interface Props$6 {
1414
+ interface Props$7 {
1415
1415
  title?: string;
1416
1416
  buttonLabel?: string;
1417
1417
  showLogout?: boolean;
1418
1418
  }
1419
- declare const NoAccessInfo: FC<Props$6>;
1419
+ declare const NoAccessInfo: FC<Props$7>;
1420
1420
 
1421
1421
  declare const NoMatchPage: FC;
1422
1422
 
1423
1423
  declare const SelectOrgPage: FC;
1424
1424
 
1425
+ interface Props$6 {
1426
+ modulePrivileges: string[];
1427
+ usePrivileges: () => IAnyObject;
1428
+ }
1429
+ declare const RolesWithPrivileges: FC<Props$6>;
1430
+
1425
1431
  interface Props$5 {
1426
1432
  customTitle?: string;
1427
1433
  hideModules?: boolean;
@@ -1466,4 +1472,4 @@ interface Props {
1466
1472
  }
1467
1473
  declare const IndexDataSearch: FC<Props>;
1468
1474
 
1469
- export { ApprovalStatus, AxiosTokenHandler, Constraints, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, FileSignAppPortal, FilesDropzone, 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, Router, SelectOrgPage, Sidebar, UserFetchOption, UserOrgContext, UserOrgProvider, decodeToken, envVars, getUser, login, logout, modules };
1475
+ export { ApprovalStatus, AxiosTokenHandler, Constraints, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, FileSignAppPortal, FilesDropzone, 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 };