@inceptionbg/main 2.0.76 → 2.0.78

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
@@ -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';
@@ -1315,6 +1316,7 @@ interface IOrganizationSettings {
1315
1316
  preservationEnabled?: boolean;
1316
1317
  sealSignatureValidation?: boolean;
1317
1318
  vatEvidence?: boolean;
1319
+ availableForms?: boolean;
1318
1320
  }
1319
1321
 
1320
1322
  interface IRoute {
@@ -1409,59 +1411,59 @@ interface IProps {
1409
1411
  }
1410
1412
  declare const UserOrgProvider: ({ children }: IProps) => react_jsx_runtime.JSX.Element;
1411
1413
 
1412
- interface Props$7 {
1414
+ interface Props$8 {
1413
1415
  routes: IRoute[];
1414
1416
  sidebarItems: ISidebarItem[][];
1415
1417
  hideNotifications?: boolean;
1416
1418
  }
1417
- declare const Router: FC<Props$7>;
1419
+ declare const Router: FC<Props$8>;
1418
1420
 
1419
1421
  declare const LoginPage: FC;
1420
1422
 
1421
- interface Props$6 {
1423
+ interface Props$7 {
1422
1424
  title?: string;
1423
1425
  buttonLabel?: string;
1424
1426
  showLogout?: boolean;
1425
1427
  }
1426
- declare const NoAccessInfo: FC<Props$6>;
1428
+ declare const NoAccessInfo: FC<Props$7>;
1427
1429
 
1428
1430
  declare const NoMatchPage: FC;
1429
1431
 
1430
1432
  declare const SelectOrgPage: FC;
1431
1433
 
1432
- interface Props$5 {
1434
+ interface Props$6 {
1433
1435
  modulePrivileges: string[];
1434
1436
  usePrivileges: () => IAnyObject;
1435
1437
  }
1436
- declare const RolesWithPrivileges: FC<Props$5>;
1438
+ declare const RolesWithPrivileges: FC<Props$6>;
1437
1439
 
1438
- interface Props$4 {
1440
+ interface Props$5 {
1439
1441
  customTitle?: string;
1440
1442
  hideModules?: boolean;
1441
1443
  hideNotifications?: boolean;
1442
1444
  children?: ReactNode;
1443
1445
  }
1444
- declare const Header: FC<Props$4>;
1446
+ declare const Header: FC<Props$5>;
1445
1447
 
1446
- interface Props$3 {
1448
+ interface Props$4 {
1447
1449
  sidebarItems: ISidebarItem[][];
1448
1450
  hideNotifications?: boolean;
1449
1451
  children: ReactNode;
1450
1452
  }
1451
- declare const MainPageWrapper: FC<Props$3>;
1453
+ declare const MainPageWrapper: FC<Props$4>;
1452
1454
 
1453
- interface Props$2 {
1455
+ interface Props$3 {
1454
1456
  children: ReactNode;
1455
1457
  }
1456
- declare const ReactQueryProvider: FC<Props$2>;
1458
+ declare const ReactQueryProvider: FC<Props$3>;
1457
1459
 
1458
- interface Props$1 {
1460
+ interface Props$2 {
1459
1461
  items: ISidebarItem[][];
1460
1462
  UserBox?: ReactElement;
1461
1463
  }
1462
- declare const Sidebar: FC<Props$1>;
1464
+ declare const Sidebar: FC<Props$2>;
1463
1465
 
1464
- interface Props {
1466
+ interface Props$1 {
1465
1467
  searchData: IAnyObject;
1466
1468
  setSearchData: Dispatch<SetStateAction<IAnyObject>>;
1467
1469
  indexesSearch: IIndexData[];
@@ -1469,6 +1471,15 @@ interface Props {
1469
1471
  documentTypeUuid?: string;
1470
1472
  type?: 'document' | 'case' | 'contract';
1471
1473
  }
1472
- declare const IndexDataSearch: FC<Props>;
1474
+ declare const IndexDataSearch: FC<Props$1>;
1475
+
1476
+ interface Props {
1477
+ textId: string;
1478
+ itemUuid: string;
1479
+ setItemUuid: Dispatch<SetStateAction<string>>;
1480
+ onSuccess: () => void;
1481
+ useDeleteItemMutation: ({ onSuccess, }: IUseMutationData) => UseMutationResult<AxiosResponse<any, any>, Error, string, unknown>;
1482
+ }
1483
+ declare const DeleteItemDialog: FC<Props>;
1473
1484
 
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 };
1485
+ 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 };