@inceptionbg/main 2.0.250 → 2.0.252

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
@@ -1,4 +1,4 @@
1
- import { ISimpleObjectWithCode, ISimpleObject, ISelectData, IBooleanObject, IAnyObject, ITableFilterItem } from '@inceptionbg/iui';
1
+ import { ISimpleObjectWithCode, ISimpleObject, ISelectData, ToastPosition, IBooleanObject, IAnyObject, ITableFilterItem } from '@inceptionbg/iui';
2
2
  import * as react from 'react';
3
3
  import { ReactElement, FC, ReactNode, Dispatch, SetStateAction } from 'react';
4
4
  import { AxiosResponse } from 'axios';
@@ -1360,10 +1360,11 @@ declare const logout: (options?: {
1360
1360
  }) => void;
1361
1361
  declare const getUser: () => Promise<IUser>;
1362
1362
 
1363
- declare const decodeToken: (token?: string | null) => any;
1363
+ declare const decodeToken: (token?: string | null) => IToken | undefined;
1364
1364
 
1365
1365
  interface IProps$1 {
1366
1366
  children: ReactNode;
1367
+ toastPosition?: ToastPosition;
1367
1368
  }
1368
1369
  declare const AxiosTokenHandler: FC<IProps$1>;
1369
1370
 
@@ -2281,7 +2282,6 @@ declare const ArticlePage: FC;
2281
2282
 
2282
2283
  declare const ArticlesPage: FC;
2283
2284
 
2284
- declare const buildIndexFilterItem: (index: Partial<IIndexData>, search: any, setSearch: (s: any) => void, t: (k: string) => string, type: "document" | "case" | "contract") => ITableFilterItem;
2285
+ declare const buildIndexFilterItem: (index: Partial<IIndexData>, search: any, setSearch: (s: any) => void, t: (k: string) => string, type: 'document' | 'case' | 'contract') => ITableFilterItem;
2285
2286
 
2286
- export { AppWrapper, ArticlePage, ArticlesPage, AxiosTokenHandler, BusinessYearChooser, BusinessYearPage, BusinessYearProvider, Constraints, DeleteItemDialog, DeleteItemsDialog, DocumentStatuses, ErrorContext, FiscalYearLockManager, Header, IndexDataSearch, LastArticlesWidget, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, OrganizationStatuses, ReactQueryProvider, RolesWithPrivileges, Router, SelectOrgPage, Sidebar, SubSystems, UserOrgContext, UserOrgProvider, buildIndexFilterItem, clearToken, decodeToken, envVars, getUser, i18nMainCyrilic, i18nMainLatin, i18nMainME_Latin, login, logout, modules, setBusinessYearContext, useBusinessYearContext, useFiscalYearStatus, useModules, useUserAndOrg };
2287
- export type { ApprovalStatus, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentIndicies, DocumentSendFetchOption, 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, ISubsystem, IToken, IUploadDocumentType, IUseMutationData, IUser, IUserSettings, IVoteSearch, OrganizationStatus, PartnerGroupType, RolePrivilegeGroup, UserFetchOption };
2287
+ export { AppWrapper, ApprovalStatus, ArticlePage, ArticlesPage, AxiosTokenHandler, BusinessYearChooser, BusinessYearPage, BusinessYearProvider, Constraints, DeleteItemDialog, DeleteItemsDialog, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, FiscalYearLockManager, 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, ISubsystem, IToken, IUploadDocumentType, IUseMutationData, IUser, IUserSettings, IVoteSearch, IndexDataSearch, LastArticlesWidget, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, OrganizationStatus, OrganizationStatuses, PartnerGroupType, ReactQueryProvider, RolePrivilegeGroup, RolesWithPrivileges, Router, SelectOrgPage, Sidebar, SubSystems, UserFetchOption, UserOrgContext, UserOrgProvider, buildIndexFilterItem, clearToken, decodeToken, envVars, getUser, i18nMainCyrilic, i18nMainLatin, i18nMainME_Latin, login, logout, modules, setBusinessYearContext, useBusinessYearContext, useFiscalYearStatus, useModules, useUserAndOrg };