@inceptionbg/main 3.0.24 → 3.0.25

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,16 +1,30 @@
1
- import * as _inceptionbg_iui from '@inceptionbg/iui';
2
- import { ISimpleObjectWithCode, ISimpleObject, ISelectData, IReportTemplate, IPagination, IError, IPopupControl, IHeaderUserMenuProps, INotificationsProps, IReportTemplateData, ITableTemplateData, ITableItemDeleteData, IAnyObject, ToastContainerProps, IRoute } from '@inceptionbg/iui';
3
- import { IconDefinition as IconDefinition$1 } from '@fortawesome/fontawesome-svg-core';
4
- import { IconDefinition } from '@fortawesome/fontawesome-common-types';
5
1
  import * as axios from 'axios';
6
2
  import { AxiosResponse } from 'axios';
7
3
  export { AxiosError } from 'axios';
8
4
  import * as _tanstack_react_query from '@tanstack/react-query';
9
5
  import { UseMutationResult } from '@tanstack/react-query';
10
6
  import { FC, Dispatch, SetStateAction, ReactNode } from 'react';
7
+ import * as _inceptionbg_iui from '@inceptionbg/iui';
8
+ import { ISimpleObjectWithCode, ISimpleObject, ISelectData, IReportTemplate, IPagination, ToastContainerProps, IError, IPopupControl, IAnyObject, INotificationsProps, IHeaderUserMenuProps, IReportTemplateData, ITableTemplateData, ITableItemDeleteData, IRoute } from '@inceptionbg/iui';
9
+ import { IconDefinition as IconDefinition$1 } from '@fortawesome/fontawesome-svg-core';
10
+ import { IconDefinition } from '@fortawesome/fontawesome-common-types';
11
11
  import * as react_jsx_runtime from 'react/jsx-runtime';
12
12
  import * as _tanstack_query_core from '@tanstack/query-core';
13
13
 
14
+ type IDeleteItemMutation = (props: {
15
+ onSuccess: () => void;
16
+ }) => UseMutationResult<AxiosResponse<any, any>, Error, {
17
+ itemUuids: string[];
18
+ }, unknown>;
19
+ interface Props$7 {
20
+ textId?: string;
21
+ itemUuids: string[];
22
+ setItemUuids: Dispatch<SetStateAction<string[]>>;
23
+ onSuccess?: () => void;
24
+ useDeleteItemsMutation: IDeleteItemMutation;
25
+ }
26
+ declare const DeleteItemsDialog: FC<Props$7>;
27
+
14
28
  interface IPlace {
15
29
  uuid: string;
16
30
  name: string;
@@ -357,60 +371,6 @@ interface IEmployee {
357
371
  costCenter?: ISimpleObjectWithCode;
358
372
  }
359
373
 
360
- interface IIndexDataCodebook {
361
- uuid: string;
362
- name: string;
363
- description: string;
364
- active?: boolean;
365
- organization?: {
366
- uuid: string;
367
- };
368
- }
369
- interface IIndexDataCodebookItem {
370
- code: string;
371
- name: string;
372
- uuid: string;
373
- active: boolean;
374
- }
375
-
376
- interface IIndexData {
377
- uuid: string;
378
- name: string;
379
- code: string;
380
- createdAt: string;
381
- fieldType: IndexDataFieldType;
382
- indexDataCodebook?: Partial<IIndexDataCodebook>;
383
- deletionTime?: string;
384
- readonly?: boolean;
385
- organization?: IOrganization;
386
- minLength?: number;
387
- maxLength?: number;
388
- order?: number;
389
- fieldTypeObj?: ISelectData;
390
- codebookObj?: ISelectData;
391
- }
392
- interface IIndex {
393
- uuid?: string;
394
- value?: string;
395
- name?: string;
396
- position?: IIndexDataPosition;
397
- indexData?: IIndexData;
398
- indexOrder?: string;
399
- defaultCodebookItem?: Partial<IIndexDataCodebookItem>;
400
- }
401
- declare const IndexDataFieldTypes: readonly ["TEXT", "DATE", "CODEBOOK", "NUMERIC", "DECIMAL", "LONG_TEXT"];
402
- type IndexDataFieldType = (typeof IndexDataFieldTypes)[number];
403
- declare const IndexDataPositions: readonly ["COST_CENTER", "CONTRACT", "CASE", "DOCUMENT", "LEGAL_ENTITY"];
404
- type IIndexDataPosition = (typeof IndexDataPositions)[number];
405
- interface IIndicesIndex {
406
- uuid?: string;
407
- indexDataPosition?: IIndex;
408
- value?: string;
409
- codebookItem?: {
410
- uuid: string;
411
- };
412
- }
413
-
414
374
  interface IFileSignatory {
415
375
  uuid?: string;
416
376
  firstName?: string;
@@ -574,51 +534,58 @@ interface IDocumentSendSearch {
574
534
  declare const SendStatuses: readonly ["QUEUED", "SENDING", "NOT_REGISTERED_ON_SEF", "ERROR", "SENT", "SEEN", "DOWNLOADED", "APPROVED", "REJECTED", "UNRESOLVED", "MISTAKE", "CANCELLED", "STORNO", "RENOTIFIED"];
575
535
  type ISendStatus = (typeof SendStatuses)[number];
576
536
 
577
- interface IProduct {
537
+ interface IIndexDataCodebook {
578
538
  uuid: string;
579
- code?: string;
580
- name?: string;
581
- priceWithoutVat?: number | string;
582
- vatPercentage?: number;
583
- serialNumber?: string;
584
- manufacturer?: string;
585
- taxCategory?: string;
586
- barcode?: string;
587
- taxExemptionNote?: ITaxExemptionNote;
588
- unitOfMeasure?: ISimpleObject;
589
- bankingService?: boolean;
539
+ name: string;
540
+ description: string;
541
+ active?: boolean;
542
+ organization?: {
543
+ uuid: string;
544
+ };
590
545
  }
591
-
592
- interface IVatIndicator {
593
- uuid: string;
546
+ interface IIndexDataCodebookItem {
594
547
  code: string;
595
548
  name: string;
596
- vatPercentage: number;
597
- calculateVatAmount?: boolean;
598
- internalVatCalculation?: boolean;
599
- organization?: IOrganization;
549
+ uuid: string;
550
+ active: boolean;
600
551
  }
601
552
 
602
- interface ITaxAllocation {
553
+ interface IIndexData {
603
554
  uuid: string;
604
- vatIndicator: IVatIndicator;
605
- lowerVatTaxBase?: number;
606
- higherVatTaxBase?: number;
607
- lowerVatTaxAmount?: number;
608
- higherVatTaxAmount?: number;
609
- totalAmountWithoutVat?: number;
610
- totalVatAmount?: number;
611
- totalAmountWithVat?: number;
612
- taxExcemptionAmount?: number;
613
- nonVatPayerAmount?: number;
614
- participateInPdfReport?: boolean;
615
- orderNumber?: string;
555
+ name: string;
556
+ code: string;
557
+ createdAt: string;
558
+ fieldType: IndexDataFieldType;
559
+ indexDataCodebook?: Partial<IIndexDataCodebook>;
560
+ deletionTime?: string;
561
+ readonly?: boolean;
562
+ organization?: IOrganization;
563
+ minLength?: number;
564
+ maxLength?: number;
565
+ order?: number;
566
+ fieldTypeObj?: ISelectData;
567
+ codebookObj?: ISelectData;
616
568
  }
617
- interface ITaxRecapitulation {
618
- priceWithoutVat: number;
619
- priceWithVat: number;
620
- vatAmount: number;
621
- vatPercentage: number;
569
+ interface IIndex {
570
+ uuid?: string;
571
+ value?: string;
572
+ name?: string;
573
+ position?: IIndexDataPosition;
574
+ indexData?: IIndexData;
575
+ indexOrder?: string;
576
+ defaultCodebookItem?: Partial<IIndexDataCodebookItem>;
577
+ }
578
+ declare const IndexDataFieldTypes: readonly ["TEXT", "DATE", "CODEBOOK", "NUMERIC", "DECIMAL", "LONG_TEXT"];
579
+ type IndexDataFieldType = (typeof IndexDataFieldTypes)[number];
580
+ declare const IndexDataPositions: readonly ["COST_CENTER", "CONTRACT", "CASE", "DOCUMENT", "LEGAL_ENTITY"];
581
+ type IIndexDataPosition = (typeof IndexDataPositions)[number];
582
+ interface IIndicesIndex {
583
+ uuid?: string;
584
+ indexDataPosition?: IIndex;
585
+ value?: string;
586
+ codebookItem?: {
587
+ uuid: string;
588
+ };
622
589
  }
623
590
 
624
591
  interface IAccount {
@@ -629,18 +596,19 @@ interface IAccount {
629
596
  organization?: IOrganization;
630
597
  }
631
598
 
632
- interface IPayment {
633
- uuid?: string;
634
- amountWithoutVat?: number | string;
635
- description?: string;
636
- invoice?: IDocument;
637
- paymentAmount?: number | string;
638
- paymentDate?: string;
639
- vatAmount?: number | string;
640
- vatPercentage?: number | string;
641
- organization?: IOrganization;
642
- orderNumber?: string;
643
- account?: IAccount;
599
+ interface IProduct {
600
+ uuid: string;
601
+ code?: string;
602
+ name?: string;
603
+ priceWithoutVat?: number | string;
604
+ vatPercentage?: number;
605
+ serialNumber?: string;
606
+ manufacturer?: string;
607
+ taxCategory?: string;
608
+ barcode?: string;
609
+ taxExemptionNote?: ITaxExemptionNote;
610
+ unitOfMeasure?: ISimpleObject;
611
+ bankingService?: boolean;
644
612
  }
645
613
 
646
614
  interface IContractNew {
@@ -811,6 +779,52 @@ interface ICostCenterExpenseAllocationIndex {
811
779
  };
812
780
  }
813
781
 
782
+ interface IPayment {
783
+ uuid?: string;
784
+ amountWithoutVat?: number | string;
785
+ description?: string;
786
+ invoice?: IDocument;
787
+ paymentAmount?: number | string;
788
+ paymentDate?: string;
789
+ vatAmount?: number | string;
790
+ vatPercentage?: number | string;
791
+ organization?: IOrganization;
792
+ orderNumber?: string;
793
+ account?: IAccount;
794
+ }
795
+
796
+ interface IVatIndicator {
797
+ uuid: string;
798
+ code: string;
799
+ name: string;
800
+ vatPercentage: number;
801
+ calculateVatAmount?: boolean;
802
+ internalVatCalculation?: boolean;
803
+ organization?: IOrganization;
804
+ }
805
+
806
+ interface ITaxAllocation {
807
+ uuid: string;
808
+ vatIndicator: IVatIndicator;
809
+ lowerVatTaxBase?: number;
810
+ higherVatTaxBase?: number;
811
+ lowerVatTaxAmount?: number;
812
+ higherVatTaxAmount?: number;
813
+ totalAmountWithoutVat?: number;
814
+ totalVatAmount?: number;
815
+ totalAmountWithVat?: number;
816
+ taxExcemptionAmount?: number;
817
+ nonVatPayerAmount?: number;
818
+ participateInPdfReport?: boolean;
819
+ orderNumber?: string;
820
+ }
821
+ interface ITaxRecapitulation {
822
+ priceWithoutVat: number;
823
+ priceWithVat: number;
824
+ vatAmount: number;
825
+ vatPercentage: number;
826
+ }
827
+
814
828
  interface IInvoice extends IDocument {
815
829
  name?: string;
816
830
  trafficDate?: string;
@@ -1318,32 +1332,6 @@ type IUseMutationData = {
1318
1332
  onSuccess: IMutationSuccess;
1319
1333
  };
1320
1334
 
1321
- declare const login: () => void;
1322
- declare const logout: (options?: {
1323
- nextUrl?: boolean;
1324
- clearData?: boolean;
1325
- redirectUrl?: string;
1326
- }) => void;
1327
- declare const decodeToken: (token?: string | null) => IToken | undefined;
1328
-
1329
- declare const debugLog: (...args: any[]) => void;
1330
-
1331
- declare const envVars: IEnvVar;
1332
-
1333
- type IDeleteItemMutation = (props: {
1334
- onSuccess: () => void;
1335
- }) => UseMutationResult<AxiosResponse<any, any>, Error, {
1336
- itemUuids: string[];
1337
- }, unknown>;
1338
- interface Props$7 {
1339
- textId?: string;
1340
- itemUuids: string[];
1341
- setItemUuids: Dispatch<SetStateAction<string[]>>;
1342
- onSuccess?: () => void;
1343
- useDeleteItemsMutation: IDeleteItemMutation;
1344
- }
1345
- declare const DeleteItemsDialog: FC<Props$7>;
1346
-
1347
1335
  type IReportTemplatesFetchOption = 'SORT' | 'FILTER_VALUES' | 'COLUMNS' | 'CREATED_BY' | 'ORGANIZATION' | 'OPTIONS';
1348
1336
  type IReportTemplatesProps = {
1349
1337
  pagination: IPagination;
@@ -1361,21 +1349,18 @@ declare const useGetReportTemplates: (params: IReportTemplatesProps, enabled: bo
1361
1349
  declare const useCreateReportTemplate: () => _tanstack_react_query.UseMutationResult<axios.AxiosResponse<any, any, {}>, Error, Partial<IReportTemplate>, unknown>;
1362
1350
  declare const useDeleteReportTemplates: IDeleteItemMutation;
1363
1351
 
1352
+ interface Props$6 {
1353
+ toastProps?: ToastContainerProps;
1354
+ children: ReactNode;
1355
+ }
1356
+ declare const AppWrapper: FC<Props$6>;
1357
+
1364
1358
  interface IErrorContext {
1365
1359
  errors: IError[];
1366
1360
  setErrors: Dispatch<SetStateAction<IError[]>>;
1367
1361
  }
1368
1362
  declare const useErrorContext: () => IErrorContext;
1369
1363
 
1370
- interface IUserContext {
1371
- user: IUser | null;
1372
- refetch: () => void;
1373
- userSettings: IUserSettings;
1374
- updateUserSettings: (data: IUserSettings, showToast?: boolean) => void;
1375
- isFetching: boolean;
1376
- }
1377
- declare const useUser: () => IUserContext;
1378
-
1379
1364
  interface IOrganizationContext {
1380
1365
  organization: IOrganization | null;
1381
1366
  changeOrganization: (orgUuid: string, callback?: () => void) => void;
@@ -1389,6 +1374,44 @@ interface IOrganizationContext {
1389
1374
  declare const useOrganization: () => IOrganizationContext;
1390
1375
  declare const useModules: () => IModuleIdsObj;
1391
1376
 
1377
+ interface Props$5 {
1378
+ children: ReactNode;
1379
+ }
1380
+ declare const ReactQueryProvider: FC<Props$5>;
1381
+
1382
+ interface IUserContext {
1383
+ user: IUser | null;
1384
+ refetch: () => void;
1385
+ userSettings: IUserSettings;
1386
+ updateUserSettings: (data: IUserSettings, showToast?: boolean) => void;
1387
+ isFetching: boolean;
1388
+ }
1389
+ declare const useUser: () => IUserContext;
1390
+
1391
+ declare const BusinessYearChooser: FC;
1392
+
1393
+ declare const BusinessYearPage: FC;
1394
+
1395
+ interface Props$4 {
1396
+ controls: {
1397
+ myAccountControl: IPopupControl;
1398
+ changeOrgControl: IPopupControl;
1399
+ orgInvitesControl: IPopupControl;
1400
+ };
1401
+ refetchOrganizationInvites?: () => void;
1402
+ }
1403
+ declare const HeaderUserMenuDialogs: FC<Props$4>;
1404
+
1405
+ interface Props$3 {
1406
+ searchData: IAnyObject;
1407
+ setSearchData: Dispatch<SetStateAction<IAnyObject>>;
1408
+ indexesSearch: Partial<IIndexData>[];
1409
+ setIndexesSearch: Dispatch<SetStateAction<Partial<IIndexData>[]>>;
1410
+ documentTypeUuid?: string;
1411
+ type?: 'document' | 'case' | 'contract';
1412
+ }
1413
+ declare const IndexDataSearch: FC<Props$3>;
1414
+
1392
1415
  interface IBusinessYearContext {
1393
1416
  businessYear: string;
1394
1417
  setBusinessYear: Dispatch<SetStateAction<string>>;
@@ -1404,40 +1427,16 @@ declare const useModuleSelect: (activeModuleId: IModuleId | null) => {
1404
1427
  modules: IModule[];
1405
1428
  };
1406
1429
 
1407
- interface Props$6 {
1408
- controls: {
1409
- myAccountControl: IPopupControl;
1410
- changeOrgControl: IPopupControl;
1411
- orgInvitesControl: IPopupControl;
1412
- };
1413
- refetchOrganizationInvites?: () => void;
1414
- }
1415
- declare const HeaderUserMenuDialogs: FC<Props$6>;
1416
-
1417
- declare const useUserMenuProps: () => IHeaderUserMenuProps;
1418
-
1419
1430
  declare const useNotificationsProps: () => INotificationsProps;
1420
1431
 
1421
- declare const useOrgInvites: ({ enabled, pagination, fetchOptions, }: {
1422
- enabled: boolean;
1423
- pagination?: IPagination;
1424
- fetchOptions?: IOrganizationInvitesFetchOption[];
1425
- }) => {
1426
- invites: IOrganizationInvite[];
1427
- count: number;
1428
- isFetching: boolean;
1429
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
1430
- organizationInvites: IOrganizationInvite[];
1431
- totalRows: number;
1432
- }, Error>>;
1433
- };
1432
+ declare const useUserMenuProps: () => IHeaderUserMenuProps;
1434
1433
 
1435
1434
  declare const useDefaultTemplate: (identifier: string) => {
1436
1435
  defaultTemplate: _inceptionbg_iui.IReportTemplate | undefined;
1437
1436
  isLoadingDefaultTemplate: boolean;
1438
1437
  };
1439
1438
 
1440
- interface Props$5 {
1439
+ interface Props$2 {
1441
1440
  identifier: string;
1442
1441
  data: IReportTemplateData;
1443
1442
  limit?: number;
@@ -1445,34 +1444,49 @@ interface Props$5 {
1445
1444
  defaultTemplate?: IReportTemplate;
1446
1445
  fetchOptions?: IReportTemplatesFetchOption[];
1447
1446
  }
1448
- declare const useReportTemplates: ({ identifier, data, limit, allowPublicCreate, defaultTemplate, fetchOptions, }: Props$5) => ITableTemplateData;
1447
+ declare const useReportTemplates: ({ identifier, data, limit, allowPublicCreate, defaultTemplate, fetchOptions, }: Props$2) => ITableTemplateData;
1449
1448
 
1450
- interface Props$4 {
1449
+ interface Props$1 {
1451
1450
  hasAccess: boolean;
1452
1451
  textId: string;
1453
1452
  useDeleteItemsMutation: IDeleteItemMutation;
1454
1453
  onSuccess?: () => void;
1455
1454
  }
1456
- declare const useTableItemsDelete: ({ hasAccess, textId, useDeleteItemsMutation, onSuccess, }: Props$4) => ITableItemDeleteData;
1455
+ declare const useTableItemsDelete: ({ hasAccess, textId, useDeleteItemsMutation, onSuccess, }: Props$1) => ITableItemDeleteData;
1457
1456
 
1458
- interface Props$3 {
1457
+ declare const useOrgInvites: ({ enabled, pagination, fetchOptions, }: {
1458
+ enabled: boolean;
1459
+ pagination?: IPagination;
1460
+ fetchOptions?: IOrganizationInvitesFetchOption[];
1461
+ }) => {
1462
+ invites: IOrganizationInvite[];
1463
+ count: number;
1464
+ isFetching: boolean;
1465
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
1466
+ organizationInvites: IOrganizationInvite[];
1467
+ totalRows: number;
1468
+ }, Error>>;
1469
+ };
1470
+
1471
+ interface Props {
1459
1472
  modulePrivileges: string[];
1460
1473
  usePrivileges: () => IAnyObject;
1461
1474
  }
1462
- declare const RolesWithPrivileges: FC<Props$3>;
1475
+ declare const RolesWithPrivileges: FC<Props>;
1463
1476
 
1464
- interface Props$2 {
1465
- toastProps?: ToastContainerProps;
1466
- children: ReactNode;
1467
- }
1468
- declare const AppWrapper: FC<Props$2>;
1477
+ declare const login: () => void;
1478
+ declare const logout: (options?: {
1479
+ nextUrl?: boolean;
1480
+ clearData?: boolean;
1481
+ redirectUrl?: string;
1482
+ }) => void;
1483
+ declare const decodeToken: (token?: string | null) => IToken | undefined;
1469
1484
 
1470
- interface Props$1 {
1471
- children: ReactNode;
1472
- }
1473
- declare const ReactQueryProvider: FC<Props$1>;
1485
+ declare const debugLog: (...args: any[]) => void;
1474
1486
 
1475
- declare const i18nMainLatin: {
1487
+ declare const envVars: IEnvVar;
1488
+
1489
+ declare const i18nMainCyrilic: {
1476
1490
  ADMIN: string;
1477
1491
  EARCHIVE: string;
1478
1492
  ERDS: string;
@@ -1487,7 +1501,7 @@ declare const i18nMainLatin: {
1487
1501
  DISPATCH_ADVICE: string;
1488
1502
  TELEGRAM_MNGMNT: string;
1489
1503
  VAT_EVIDENCE: string;
1490
- ERP_RIF: string;
1504
+ EPR_RIF: string;
1491
1505
  ERP_CASH_REGISTER: string;
1492
1506
  ERP_MAT_ACC: string;
1493
1507
  ERP_SMALL_INVENTORY: string;
@@ -1526,6 +1540,7 @@ declare const i18nMainLatin: {
1526
1540
  TaxId: string;
1527
1541
  BusinessCode: string;
1528
1542
  BusinessCodeShort: string;
1543
+ JBKJS: string;
1529
1544
  FullPhoneNumber: string;
1530
1545
  Organization: string;
1531
1546
  Organizations: string;
@@ -1600,6 +1615,8 @@ declare const i18nMainLatin: {
1600
1615
  UmcnValidation: string;
1601
1616
  Attachments: string;
1602
1617
  CreationTime: string;
1618
+ DeleteFileDesc: string;
1619
+ DeleteFileTitle: string;
1603
1620
  DisplaySignatureOnDocument: string;
1604
1621
  Download: string;
1605
1622
  DownloadAll: string;
@@ -1633,18 +1650,14 @@ declare const i18nMainLatin: {
1633
1650
  Type: string;
1634
1651
  AddSignatory: string;
1635
1652
  AddSignatories: string;
1653
+ DeleteFileSignatoryTitle: string;
1654
+ DeleteFileSignatoryDesc: string;
1636
1655
  Report: string;
1637
1656
  ReportDate: string;
1638
1657
  ReportFromTo: string;
1639
1658
  DeleteDialogTitle: string;
1640
1659
  DeleteDialogItem: string;
1641
1660
  DeleteDialogItemBulk: string;
1642
- DeleteDialogFile: string;
1643
- DeleteDialogFileBulk: string;
1644
- DeleteDialogReportTemplate: string;
1645
- DeleteDialogReportTemplateBulk: string;
1646
- DeleteDialogFileSignatory: string;
1647
- DeleteDialogFileSignatoryBulk: string;
1648
1661
  InProgress: string;
1649
1662
  FinalStatus: string;
1650
1663
  LatestApprovalStatus: string;
@@ -1683,14 +1696,13 @@ declare const i18nMainLatin: {
1683
1696
  BusinessYearChooser: string;
1684
1697
  Successfully: string;
1685
1698
  Year: string;
1686
- BusinessYearPage: string;
1687
1699
  BusinessYearInfoTitle: string;
1688
1700
  BusinessYearInfoDesc: string;
1689
1701
  ErrorDEFAULT: string;
1690
1702
  TryAgain: string;
1691
1703
  };
1692
1704
 
1693
- declare const i18nMainCyrilic: {
1705
+ declare const i18nMainLatin: {
1694
1706
  ADMIN: string;
1695
1707
  EARCHIVE: string;
1696
1708
  ERDS: string;
@@ -1705,7 +1717,7 @@ declare const i18nMainCyrilic: {
1705
1717
  DISPATCH_ADVICE: string;
1706
1718
  TELEGRAM_MNGMNT: string;
1707
1719
  VAT_EVIDENCE: string;
1708
- EPR_RIF: string;
1720
+ ERP_RIF: string;
1709
1721
  ERP_CASH_REGISTER: string;
1710
1722
  ERP_MAT_ACC: string;
1711
1723
  ERP_SMALL_INVENTORY: string;
@@ -1744,6 +1756,7 @@ declare const i18nMainCyrilic: {
1744
1756
  TaxId: string;
1745
1757
  BusinessCode: string;
1746
1758
  BusinessCodeShort: string;
1759
+ JBKJS: string;
1747
1760
  FullPhoneNumber: string;
1748
1761
  Organization: string;
1749
1762
  Organizations: string;
@@ -1818,8 +1831,6 @@ declare const i18nMainCyrilic: {
1818
1831
  UmcnValidation: string;
1819
1832
  Attachments: string;
1820
1833
  CreationTime: string;
1821
- DeleteFileDesc: string;
1822
- DeleteFileTitle: string;
1823
1834
  DisplaySignatureOnDocument: string;
1824
1835
  Download: string;
1825
1836
  DownloadAll: string;
@@ -1853,14 +1864,18 @@ declare const i18nMainCyrilic: {
1853
1864
  Type: string;
1854
1865
  AddSignatory: string;
1855
1866
  AddSignatories: string;
1856
- DeleteFileSignatoryTitle: string;
1857
- DeleteFileSignatoryDesc: string;
1858
1867
  Report: string;
1859
1868
  ReportDate: string;
1860
1869
  ReportFromTo: string;
1861
1870
  DeleteDialogTitle: string;
1862
1871
  DeleteDialogItem: string;
1863
1872
  DeleteDialogItemBulk: string;
1873
+ DeleteDialogFile: string;
1874
+ DeleteDialogFileBulk: string;
1875
+ DeleteDialogReportTemplate: string;
1876
+ DeleteDialogReportTemplateBulk: string;
1877
+ DeleteDialogFileSignatory: string;
1878
+ DeleteDialogFileSignatoryBulk: string;
1864
1879
  InProgress: string;
1865
1880
  FinalStatus: string;
1866
1881
  LatestApprovalStatus: string;
@@ -1899,6 +1914,7 @@ declare const i18nMainCyrilic: {
1899
1914
  BusinessYearChooser: string;
1900
1915
  Successfully: string;
1901
1916
  Year: string;
1917
+ BusinessYearPage: string;
1902
1918
  BusinessYearInfoTitle: string;
1903
1919
  BusinessYearInfoDesc: string;
1904
1920
  ErrorDEFAULT: string;
@@ -1961,6 +1977,7 @@ declare const i18nMainME: {
1961
1977
  TaxId: string;
1962
1978
  BusinessCode: string;
1963
1979
  BusinessCodeShort: string;
1980
+ JBKJS: string;
1964
1981
  FullPhoneNumber: string;
1965
1982
  Organization: string;
1966
1983
  Organizations: string;
@@ -2125,19 +2142,5 @@ declare const i18nMainME: {
2125
2142
 
2126
2143
  declare const mainFullScreenRoutes: IRoute[];
2127
2144
 
2128
- interface Props {
2129
- searchData: IAnyObject;
2130
- setSearchData: Dispatch<SetStateAction<IAnyObject>>;
2131
- indexesSearch: Partial<IIndexData>[];
2132
- setIndexesSearch: Dispatch<SetStateAction<Partial<IIndexData>[]>>;
2133
- documentTypeUuid?: string;
2134
- type?: 'document' | 'case' | 'contract';
2135
- }
2136
- declare const IndexDataSearch: FC<Props>;
2137
-
2138
- declare const BusinessYearChooser: FC;
2139
-
2140
- declare const BusinessYearPage: FC;
2141
-
2142
2145
  export { AppWrapper, BusinessYearChooser, BusinessYearPage, BusinessYearProvider, Constraints, DeleteItemsDialog, DocumentStatuses, HeaderUserMenuDialogs, IndexDataSearch, OrganizationStatuses, ReactQueryProvider, RolesWithPrivileges, debugLog, decodeToken, envVars, i18nMainCyrilic, i18nMainLatin, i18nMainME, login, logout, mainFullScreenRoutes, moduleIcon, moduleIds, setBusinessYearContext, useBusinessYearContext, useCreateReportTemplate, useDefaultTemplate, useDeleteReportTemplates, useErrorContext, useGetReportTemplates, useModuleSelect, useModules, useNotificationsProps, useOrgInvites, useOrganization, useReportTemplates, useTableItemsDelete, useUser, useUserMenuProps, useUserMenuProps as userMenuProps };
2143
2146
  export type { ApprovalStatus, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentIndicies, DocumentSendFetchOption, IApproval, IApprovalSearch, IApprovalStep, IApprovalStepSearch, IBankAccount, IBankAccountSearch, ICondition, IConditionIndexData, IConstraint, IContactPerson, ICountry, IDeleteItemMutation, IDocument, IDocumentAny, IDocumentApproval, IDocumentApprovalStep, IDocumentApprovalVote, IDocumentFile, IDocumentFileParams, IDocumentIndex, IDocumentSearch, IDocumentSend, IDocumentSendSearch, IDocumentType, IEnv, IFile, IFileSignData, IFileType, IFileUpload, IInvoice, IInvoiceItem, ILatestApprovalProcess, IModule, IModuleId, IMunicipality, IMutationSuccess, INote, INoteSearch, IOrganization, IOrganizationFetchOption, IOrganizationSearch, IOrganizationSettings, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPhaseGroup, IPhaseGroupSearch, IPlace, IRole, IRolePrivilege, IServiceApi, IToken, IUploadDocumentType, IUseMutationData, IUser, IUserSettings, IVoteSearch, OrganizationStatus, PartnerGroupType, RolePrivilegeGroup, UserFetchOption };
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export{G as AppWrapper,m as BusinessYearChooser,n as BusinessYearPage,B as BusinessYearProvider,I as DeleteItemsDialog,H as HeaderUserMenuDialogs,J as IndexDataSearch,K as ReactQueryProvider,R as RolesWithPrivileges,y as debugLog,z as decodeToken,A as envVars,t as i18nMainCyrilic,r as i18nMainLatin,v as i18nMainME,l as login,a as logout,w as mainFullScreenRoutes,C as moduleIcon,x as moduleIds,s as setBusinessYearContext,k as useBusinessYearContext,D as useCreateReportTemplate,h as useDefaultTemplate,F as useDeleteReportTemplates,d as useErrorContext,E as useGetReportTemplates,o as useModuleSelect,f as useModules,q as useNotificationsProps,u as useOrgInvites,b as useOrganization,i as useReportTemplates,j as useTableItemsDelete,e as useUser,p as useUserMenuProps,p as userMenuProps}from"./index-DJ1ZZdFA.js";import"jwt-decode";import"crypto-js";import"@inceptionbg/iui";import"@tanstack/react-query";import"react/jsx-runtime";import"react";import"react-i18next";import"react-router";import"axios";
1
+ export{G as AppWrapper,m as BusinessYearChooser,n as BusinessYearPage,B as BusinessYearProvider,I as DeleteItemsDialog,H as HeaderUserMenuDialogs,J as IndexDataSearch,K as ReactQueryProvider,R as RolesWithPrivileges,y as debugLog,z as decodeToken,A as envVars,t as i18nMainCyrilic,r as i18nMainLatin,v as i18nMainME,l as login,a as logout,w as mainFullScreenRoutes,C as moduleIcon,x as moduleIds,s as setBusinessYearContext,k as useBusinessYearContext,D as useCreateReportTemplate,h as useDefaultTemplate,F as useDeleteReportTemplates,d as useErrorContext,E as useGetReportTemplates,o as useModuleSelect,f as useModules,q as useNotificationsProps,u as useOrgInvites,b as useOrganization,i as useReportTemplates,j as useTableItemsDelete,e as useUser,p as useUserMenuProps,p as userMenuProps}from"./index-lM24RKH7.js";import"@inceptionbg/iui";import"@tanstack/react-query";import"react/jsx-runtime";import"axios";import"react-router";import"react";import"crypto-js";import"jwt-decode";import"react-i18next";
2
2
  //# sourceMappingURL=index.js.map