@inceptionbg/main 2.0.107 → 2.0.109

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
@@ -1417,65 +1417,65 @@ declare const UserOrgProvider: ({ children }: IProps) => react_jsx_runtime.JSX.E
1417
1417
  declare const useUserAndOrg: () => IUserOrgContext;
1418
1418
  declare const useModules: () => IModuleIdsObj;
1419
1419
 
1420
- interface Props$9 {
1420
+ interface Props$a {
1421
1421
  routes: IRoute[];
1422
1422
  sidebarItems: ISidebarItem[][];
1423
1423
  hideNotifications?: boolean;
1424
1424
  }
1425
- declare const Router: FC<Props$9>;
1425
+ declare const Router: FC<Props$a>;
1426
1426
 
1427
1427
  declare const LoginPage: FC;
1428
1428
 
1429
- interface Props$8 {
1429
+ interface Props$9 {
1430
1430
  title?: string;
1431
1431
  buttonLabel?: string;
1432
1432
  showLogout?: boolean;
1433
1433
  }
1434
- declare const NoAccessInfo: FC<Props$8>;
1434
+ declare const NoAccessInfo: FC<Props$9>;
1435
1435
 
1436
1436
  declare const NoMatchPage: FC;
1437
1437
 
1438
1438
  declare const SelectOrgPage: FC;
1439
1439
 
1440
- interface Props$7 {
1440
+ interface Props$8 {
1441
1441
  modulePrivileges: string[];
1442
1442
  usePrivileges: () => IAnyObject;
1443
1443
  }
1444
- declare const RolesWithPrivileges: FC<Props$7>;
1444
+ declare const RolesWithPrivileges: FC<Props$8>;
1445
1445
 
1446
- interface Props$6 {
1446
+ interface Props$7 {
1447
1447
  i18n: any;
1448
1448
  children: ReactNode;
1449
1449
  }
1450
- declare const AppWrapper: FC<Props$6>;
1450
+ declare const AppWrapper: FC<Props$7>;
1451
1451
 
1452
- interface Props$5 {
1452
+ interface Props$6 {
1453
1453
  customTitle?: string;
1454
1454
  hideModules?: boolean;
1455
1455
  hideNotifications?: boolean;
1456
1456
  children?: ReactNode;
1457
1457
  }
1458
- declare const Header: FC<Props$5>;
1458
+ declare const Header: FC<Props$6>;
1459
1459
 
1460
- interface Props$4 {
1460
+ interface Props$5 {
1461
1461
  sidebarItems: ISidebarItem[][];
1462
1462
  hideNotifications?: boolean;
1463
1463
  children: ReactNode;
1464
1464
  }
1465
- declare const MainPageWrapper: FC<Props$4>;
1465
+ declare const MainPageWrapper: FC<Props$5>;
1466
1466
 
1467
- interface Props$3 {
1467
+ interface Props$4 {
1468
1468
  children: ReactNode;
1469
1469
  }
1470
- declare const ReactQueryProvider: FC<Props$3>;
1470
+ declare const ReactQueryProvider: FC<Props$4>;
1471
1471
 
1472
- interface Props$2 {
1472
+ interface Props$3 {
1473
1473
  items: ISidebarItem[][];
1474
1474
  UserBox?: ReactElement;
1475
1475
  }
1476
- declare const Sidebar: FC<Props$2>;
1476
+ declare const Sidebar: FC<Props$3>;
1477
1477
 
1478
- interface Props$1 {
1478
+ interface Props$2 {
1479
1479
  searchData: IAnyObject;
1480
1480
  setSearchData: Dispatch<SetStateAction<IAnyObject>>;
1481
1481
  indexesSearch: Partial<IIndexData>[];
@@ -1483,16 +1483,25 @@ interface Props$1 {
1483
1483
  documentTypeUuid?: string;
1484
1484
  type?: 'document' | 'case' | 'contract';
1485
1485
  }
1486
- declare const IndexDataSearch: FC<Props$1>;
1486
+ declare const IndexDataSearch: FC<Props$2>;
1487
1487
 
1488
- interface Props {
1488
+ interface Props$1 {
1489
1489
  textId: string;
1490
1490
  itemUuid: string;
1491
1491
  setItemUuid: Dispatch<SetStateAction<string>>;
1492
1492
  onSuccess: () => void;
1493
1493
  useDeleteItemMutation: ({ onSuccess, }: IUseMutationData) => UseMutationResult<AxiosResponse<any, any>, Error, string, unknown>;
1494
1494
  }
1495
- declare const DeleteItemDialog: FC<Props>;
1495
+ declare const DeleteItemDialog: FC<Props$1>;
1496
+
1497
+ interface Props {
1498
+ textId: string;
1499
+ itemsUuid: string[];
1500
+ setItemsUuid: Dispatch<SetStateAction<string[]>>;
1501
+ onSuccess: () => void;
1502
+ useDeleteItemMutation: ({ onSuccess, }: IUseMutationData) => UseMutationResult<AxiosResponse<any, any>, Error, string[], unknown>;
1503
+ }
1504
+ declare const DeleteItemsDialog: FC<Props>;
1496
1505
 
1497
1506
  declare const i18nMainLatin: {
1498
1507
  ADMIN: string;
@@ -1875,4 +1884,4 @@ declare const i18nMainCyrilic: {
1875
1884
  HomePage: string;
1876
1885
  };
1877
1886
 
1878
- export { AppWrapper, 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, i18nMainCyrilic, i18nMainLatin, login, logout, modules, useModules, useUserAndOrg };
1887
+ export { AppWrapper, ApprovalStatus, AxiosTokenHandler, Constraints, DeleteItemDialog, DeleteItemsDialog, 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, i18nMainCyrilic, i18nMainLatin, login, logout, modules, useModules, useUserAndOrg };