@inceptionbg/main 2.0.173 → 2.0.175

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.
Files changed (130) hide show
  1. package/dist/index.d.ts +2154 -0
  2. package/dist/types/global.d.ts +63 -63
  3. package/package.json +48 -48
  4. package/dist/tempTypes/assets/icons/duotone/faBell.d.ts +0 -2
  5. package/dist/tempTypes/assets/icons/duotone/faBoxArchive.d.ts +0 -2
  6. package/dist/tempTypes/assets/icons/duotone/faCabinetFiling.d.ts +0 -2
  7. package/dist/tempTypes/assets/icons/duotone/faCashRegister.d.ts +0 -2
  8. package/dist/tempTypes/assets/icons/duotone/faDisplayChartUpCircleDollar.d.ts +0 -2
  9. package/dist/tempTypes/assets/icons/duotone/faEnvelope.d.ts +0 -2
  10. package/dist/tempTypes/assets/icons/duotone/faFileContract.d.ts +0 -2
  11. package/dist/tempTypes/assets/icons/duotone/faFileInvoice.d.ts +0 -2
  12. package/dist/tempTypes/assets/icons/duotone/faFilePen.d.ts +0 -2
  13. package/dist/tempTypes/assets/icons/duotone/faGear.d.ts +0 -2
  14. package/dist/tempTypes/assets/icons/duotone/faGridHorizontal.d.ts +0 -2
  15. package/dist/tempTypes/assets/icons/duotone/faHandsHoldingHeart.d.ts +0 -2
  16. package/dist/tempTypes/assets/icons/duotone/faList.d.ts +0 -2
  17. package/dist/tempTypes/assets/icons/duotone/faListCheck.d.ts +0 -2
  18. package/dist/tempTypes/assets/icons/duotone/faPlusCircle.d.ts +0 -2
  19. package/dist/tempTypes/assets/icons/duotone/faScreencast.d.ts +0 -2
  20. package/dist/tempTypes/assets/icons/duotone/faShelves.d.ts +0 -2
  21. package/dist/tempTypes/assets/icons/duotone/faSignature.d.ts +0 -2
  22. package/dist/tempTypes/assets/icons/duotone/faWarehouse.d.ts +0 -2
  23. package/dist/tempTypes/assets/icons/duotone/faWarehouseFull.d.ts +0 -2
  24. package/dist/tempTypes/assets/icons/light/faAngleDown.d.ts +0 -2
  25. package/dist/tempTypes/assets/icons/light/faArrowRightFromBracket.d.ts +0 -2
  26. package/dist/tempTypes/assets/icons/light/faBell.d.ts +0 -2
  27. package/dist/tempTypes/assets/icons/light/faBriefcase.d.ts +0 -2
  28. package/dist/tempTypes/assets/icons/light/faBusinessPlus.d.ts +0 -2
  29. package/dist/tempTypes/assets/icons/light/faCalendarDays.d.ts +0 -2
  30. package/dist/tempTypes/assets/icons/light/faCircleUser.d.ts +0 -2
  31. package/dist/tempTypes/assets/icons/light/faEnvelope.d.ts +0 -2
  32. package/dist/tempTypes/assets/icons/light/faMagnifyingGlass.d.ts +0 -2
  33. package/dist/tempTypes/assets/icons/light/faTrashCan.d.ts +0 -2
  34. package/dist/tempTypes/assets/icons/light/faUserGear.d.ts +0 -2
  35. package/dist/tempTypes/assets/icons/regular/faAngleLeft.d.ts +0 -2
  36. package/dist/tempTypes/assets/icons/regular/faAngleRight.d.ts +0 -2
  37. package/dist/tempTypes/assets/icons/regular/faMagnifyingGlassMinus.d.ts +0 -2
  38. package/dist/tempTypes/assets/icons/regular/faMagnifyingGlassPlus.d.ts +0 -2
  39. package/dist/tempTypes/assets/icons/regular/faQrcode.d.ts +0 -2
  40. package/dist/tempTypes/assets/icons/solid/faAngleLeft.d.ts +0 -2
  41. package/dist/tempTypes/assets/icons/solid/faArrowRight.d.ts +0 -2
  42. package/dist/tempTypes/assets/icons/solid/faCaretDown.d.ts +0 -2
  43. package/dist/tempTypes/assets/icons/solid/faCheck.d.ts +0 -2
  44. package/dist/tempTypes/assets/icons/solid/faEnvelopeDot.d.ts +0 -2
  45. package/dist/tempTypes/assets/icons/solid/faPlus.d.ts +0 -2
  46. package/dist/tempTypes/assets/icons/solid/faXmark.d.ts +0 -2
  47. package/dist/tempTypes/auth/Auth.d.ts +0 -55
  48. package/dist/tempTypes/auth/AuthUtils.d.ts +0 -4
  49. package/dist/tempTypes/auth/AxiosTokenHandler.d.ts +0 -6
  50. package/dist/tempTypes/components/BusinessYear/BusinessYearChooser.d.ts +0 -2
  51. package/dist/tempTypes/components/BusinessYear/BusinessYearPage.d.ts +0 -3
  52. package/dist/tempTypes/components/Dialogs/DeleteItemDialog.d.ts +0 -13
  53. package/dist/tempTypes/components/Dialogs/DeleteItemsDialog.d.ts +0 -15
  54. package/dist/tempTypes/components/Header/Components/ModuleSelect.d.ts +0 -6
  55. package/dist/tempTypes/components/Header/Components/Notifications.d.ts +0 -2
  56. package/dist/tempTypes/components/Header/Components/UserMenu.d.ts +0 -2
  57. package/dist/tempTypes/components/Header/Header.d.ts +0 -9
  58. package/dist/tempTypes/components/IndexData/IndexDataSearch.d.ts +0 -13
  59. package/dist/tempTypes/components/IndexData/IndexDataSearchFields.d.ts +0 -10
  60. package/dist/tempTypes/components/Organizations/ChangeOrganizationDialog.d.ts +0 -7
  61. package/dist/tempTypes/components/Organizations/OrganizationInvitesDialog.d.ts +0 -7
  62. package/dist/tempTypes/components/ReactQuery/ReactQueryProvider.d.ts +0 -6
  63. package/dist/tempTypes/components/Router/Router.d.ts +0 -10
  64. package/dist/tempTypes/components/Sidebar/AddButton.d.ts +0 -6
  65. package/dist/tempTypes/components/Sidebar/Sidebar.d.ts +0 -8
  66. package/dist/tempTypes/components/Sidebar/SidebarItem.d.ts +0 -3
  67. package/dist/tempTypes/components/User/MyAccountDialog.d.ts +0 -7
  68. package/dist/tempTypes/components/User/components/ChangePassword.d.ts +0 -7
  69. package/dist/tempTypes/components/User/repo/useUserMutations.d.ts +0 -9
  70. package/dist/tempTypes/components/Wrappers/App/AppContent.d.ts +0 -6
  71. package/dist/tempTypes/components/Wrappers/App/AppWrapper.d.ts +0 -7
  72. package/dist/tempTypes/components/Wrappers/MainPageWrapper.d.ts +0 -9
  73. package/dist/tempTypes/context/BusinessYearContext.d.ts +0 -12
  74. package/dist/tempTypes/context/ErrorContext.d.ts +0 -13
  75. package/dist/tempTypes/context/UserOrgContext.d.ts +0 -28
  76. package/dist/tempTypes/hooks/useOrgInvites.d.ts +0 -12
  77. package/dist/tempTypes/index.d.ts +0 -56
  78. package/dist/tempTypes/pages/LoginPage.d.ts +0 -3
  79. package/dist/tempTypes/pages/NoAccessInfo.d.ts +0 -8
  80. package/dist/tempTypes/pages/NoMatchPage.d.ts +0 -3
  81. package/dist/tempTypes/pages/Roles/RolesWithPrivileges.d.ts +0 -8
  82. package/dist/tempTypes/pages/Roles/components/PrivilegesForm.d.ts +0 -11
  83. package/dist/tempTypes/pages/SelectOrg/SelectOrgPage.d.ts +0 -3
  84. package/dist/tempTypes/pages/SelectOrg/components/OrgInvites.d.ts +0 -2
  85. package/dist/tempTypes/repo/NotificationsRepository.d.ts +0 -8
  86. package/dist/tempTypes/repo/RoleRepo.d.ts +0 -7
  87. package/dist/tempTypes/types/App/Administration/IEmployee.d.ts +0 -23
  88. package/dist/tempTypes/types/App/Administration/IJob.d.ts +0 -10
  89. package/dist/tempTypes/types/App/Contracts/File/IContractFile.d.ts +0 -30
  90. package/dist/tempTypes/types/App/Contracts/IContract.d.ts +0 -241
  91. package/dist/tempTypes/types/App/Document/IApproval.d.ts +0 -143
  92. package/dist/tempTypes/types/App/Document/ICase.d.ts +0 -48
  93. package/dist/tempTypes/types/App/Document/IDocument.d.ts +0 -219
  94. package/dist/tempTypes/types/App/Document/IDocumentFile.d.ts +0 -67
  95. package/dist/tempTypes/types/App/Document/IDocumentSend.d.ts +0 -128
  96. package/dist/tempTypes/types/App/Document/IEmailDocument.d.ts +0 -52
  97. package/dist/tempTypes/types/App/Document/IIndexDataCodebook.d.ts +0 -15
  98. package/dist/tempTypes/types/App/Document/ISignatory.d.ts +0 -34
  99. package/dist/tempTypes/types/App/Document/IndexData.d.ts +0 -60
  100. package/dist/tempTypes/types/App/Document/Invoice/IAccount.d.ts +0 -11
  101. package/dist/tempTypes/types/App/Document/Invoice/IExpenseAllocation.d.ts +0 -39
  102. package/dist/tempTypes/types/App/Document/Invoice/IFactoring.d.ts +0 -6
  103. package/dist/tempTypes/types/App/Document/Invoice/IInvoice.d.ts +0 -236
  104. package/dist/tempTypes/types/App/Document/Invoice/IPayment.d.ts +0 -40
  105. package/dist/tempTypes/types/App/Document/Invoice/IProduct.d.ts +0 -23
  106. package/dist/tempTypes/types/App/Document/Invoice/ITaxAllocation.d.ts +0 -37
  107. package/dist/tempTypes/types/App/Document/Invoice/IVatIndicator.d.ts +0 -14
  108. package/dist/tempTypes/types/App/Document/Office/IOfficeDocument.d.ts +0 -27
  109. package/dist/tempTypes/types/App/Document/Shipment/IShipment.d.ts +0 -25
  110. package/dist/tempTypes/types/App/Partner/IAddress.d.ts +0 -14
  111. package/dist/tempTypes/types/App/Partner/IPartner.d.ts +0 -98
  112. package/dist/tempTypes/types/Auth/IEnv.d.ts +0 -13
  113. package/dist/tempTypes/types/Auth/IModule.d.ts +0 -15
  114. package/dist/tempTypes/types/Auth/IOrganization.d.ts +0 -140
  115. package/dist/tempTypes/types/Auth/IPrivileges.d.ts +0 -2
  116. package/dist/tempTypes/types/Auth/IRole.d.ts +0 -25
  117. package/dist/tempTypes/types/Auth/IRouter.d.ts +0 -7
  118. package/dist/tempTypes/types/Auth/IToken.d.ts +0 -12
  119. package/dist/tempTypes/types/Auth/IUser.d.ts +0 -39
  120. package/dist/tempTypes/types/IError.d.ts +0 -5
  121. package/dist/tempTypes/types/INotifications.d.ts +0 -15
  122. package/dist/tempTypes/types/IReactQuerry.d.ts +0 -4
  123. package/dist/tempTypes/types/IScan.d.ts +0 -17
  124. package/dist/tempTypes/types/ISidebar.d.ts +0 -27
  125. package/dist/tempTypes/types/ISubsystem.d.ts +0 -2
  126. package/dist/tempTypes/utils/EnvVars.d.ts +0 -2
  127. package/dist/tempTypes/utils/ImageUtils.d.ts +0 -4
  128. package/dist/tempTypes/utils/LoadOptions.d.ts +0 -20
  129. package/dist/tempTypes/utils/ModuleUtils.d.ts +0 -3
  130. package/dist/tempTypes/utils/i18nMain.d.ts +0 -662
@@ -1,46 +1,46 @@
1
1
  import { NavigateFunction, Location, LinkProps } from 'react-router-dom';
2
2
 
3
- declare const ModuleIds = [
4
- 'DASHBOARD',
5
- 'ADMIN',
6
- 'EARCHIVE',
7
- 'ERDS',
8
- 'EINVOICE',
9
- 'EFORMS',
10
- 'EDMS',
11
- 'ESIGN',
12
- 'EVALIDATION',
13
- 'EPROCUREMENT',
14
- 'EREGISTER',
15
- 'PAM',
16
- 'ERP_CASH_REGISTER',
17
- 'ERP_RIF',
18
- 'ERP_MAT_ACC',
19
- 'ERP_SMALL_INVENTORY',
20
- 'ERP_WMS',
21
- 'JISUSZ_BACKOFFICE',
3
+ declare const ModuleIds = [
4
+ 'DASHBOARD',
5
+ 'ADMIN',
6
+ 'EARCHIVE',
7
+ 'ERDS',
8
+ 'EINVOICE',
9
+ 'EFORMS',
10
+ 'EDMS',
11
+ 'ESIGN',
12
+ 'EVALIDATION',
13
+ 'EPROCUREMENT',
14
+ 'EREGISTER',
15
+ 'PAM',
16
+ 'ERP_CASH_REGISTER',
17
+ 'ERP_RIF',
18
+ 'ERP_MAT_ACC',
19
+ 'ERP_SMALL_INVENTORY',
20
+ 'ERP_WMS',
21
+ 'JISUSZ_BACKOFFICE',
22
22
  ] as const;
23
23
 
24
24
  type IModuleId = (typeof ModuleIds)[number];
25
25
 
26
- type IEnv = 'DEV' | 'TEST' | 'PROD' | 'LOCAL' | 'UAT' | 'TEST_PPLCG';
27
- type IServiceApi =
28
- | 'auth'
29
- | 'idm'
30
- | 'codebook'
31
- | 'auditLog'
32
- | 'notifications'
33
- | 'indexData'
34
- | 'registration'
35
- | 'reportTemplates'
36
- | 'procurement'
37
- | 'archive'
38
- | 'invoice'
39
- | 'edms'
40
- | 'rif'
41
- | 'cashRegister'
42
- | 'jisuszProxy'
43
- | 'fosterCare'
26
+ type IEnv = 'DEV' | 'TEST' | 'PROD' | 'LOCAL' | 'UAT' | 'TEST_PPLCG';
27
+ type IServiceApi =
28
+ | 'auth'
29
+ | 'idm'
30
+ | 'codebook'
31
+ | 'auditLog'
32
+ | 'notifications'
33
+ | 'indexData'
34
+ | 'registration'
35
+ | 'reportTemplates'
36
+ | 'procurement'
37
+ | 'archive'
38
+ | 'invoice'
39
+ | 'edms'
40
+ | 'rif'
41
+ | 'cashRegister'
42
+ | 'jisuszProxy'
43
+ | 'fosterCare'
44
44
  | 'article';
45
45
 
46
46
  type CustomHeader = {
@@ -664,30 +664,30 @@ interface GenericFormData {
664
664
  append(name: string, value: any, options?: any): any;
665
665
  }
666
666
 
667
- declare global {
668
- var environment: IEnv;
669
- var moduleId: IModuleId | null;
670
- var moduleUrls: {
671
- [id in IModuleId]?: string;
672
- };
673
- var axiosInstance: AxiosInstance;
674
- var useNavigate: () => NavigateFunction;
675
- var useLocation: () => Location;
676
- var Link: React.ForwardRefExoticComponent<
677
- LinkProps & React.RefAttributes<HTMLAnchorElement>
678
- >;
679
- var appVersion: string | undefined;
680
- var api: {
681
- apiUrl: string;
682
- clientId: string;
683
- authScope?: string;
684
- additionalScopes?: string[];
685
- redirectUrl?: string;
686
- };
687
- var zE: {
688
- show: () => void;
689
- hide: () => void;
690
- activate: () => void;
691
- setLocale: (locale: string) => void;
692
- };
667
+ declare global {
668
+ var environment: IEnv;
669
+ var moduleId: IModuleId | null;
670
+ var moduleUrls: {
671
+ [id in IModuleId]?: string;
672
+ };
673
+ var axiosInstance: AxiosInstance;
674
+ var useNavigate: () => NavigateFunction;
675
+ var useLocation: () => Location;
676
+ var Link: React.ForwardRefExoticComponent<
677
+ LinkProps & React.RefAttributes<HTMLAnchorElement>
678
+ >;
679
+ var appVersion: string | undefined;
680
+ var api: {
681
+ apiUrl: string;
682
+ clientId: string;
683
+ authScope?: string;
684
+ additionalScopes?: string[];
685
+ redirectUrl?: string;
686
+ };
687
+ var zE: {
688
+ show: () => void;
689
+ hide: () => void;
690
+ activate: () => void;
691
+ setLocale: (locale: string) => void;
692
+ };
693
693
  }
package/package.json CHANGED
@@ -1,48 +1,48 @@
1
- {
2
- "name": "@inceptionbg/main",
3
- "version": "2.0.173",
4
- "description": "Main app wrapper for Inception ecosystem",
5
- "type": "module",
6
- "files": [
7
- "dist"
8
- ],
9
- "main": "dist/index.js",
10
- "types": "dist/index.d.ts",
11
- "scripts": {
12
- "build": "rollup -c",
13
- "tsc": "npx tsc --noEmit",
14
- "update": "npm i @inceptionbg/iui@latest",
15
- "release": "npm version patch && npm run build && npm publish"
16
- },
17
- "author": "Aleksandar Sadzak",
18
- "license": "ISC",
19
- "dependencies": {
20
- "@tanstack/react-query": "^5.56.2",
21
- "axios": "^1.9.0",
22
- "crypto-js": "^4.1.1",
23
- "jwt-decode": "^3.1.2"
24
- },
25
- "devDependencies": {
26
- "@rollup/plugin-commonjs": "^25.0.2",
27
- "@rollup/plugin-image": "^3.0.2",
28
- "@rollup/plugin-terser": "^0.4.3",
29
- "@rollup/plugin-typescript": "^11.1.2",
30
- "@rollup/plugin-url": "^8.0.1",
31
- "@types/crypto-js": "^4.1.1",
32
- "@types/react": "^18.3.18",
33
- "@types/react-dom": "^18.3.5",
34
- "@types/react-router-dom": "^5.3.3",
35
- "react-router-dom": "^6.14.1",
36
- "rollup": "^3.26.0",
37
- "rollup-plugin-delete": "^2.0.0",
38
- "rollup-plugin-dts": "^5.3.1",
39
- "rollup-plugin-postcss": "^4.0.2",
40
- "tslib": "^2.6.1"
41
- },
42
- "peerDependencies": {
43
- "@inceptionbg/iui": "^1.0.291",
44
- "react": "^18.2.0",
45
- "react-dom": "^18.2.0",
46
- "sass": "^1.63.6"
47
- }
48
- }
1
+ {
2
+ "name": "@inceptionbg/main",
3
+ "version": "2.0.175",
4
+ "description": "Main app wrapper for Inception ecosystem",
5
+ "type": "module",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "main": "dist/index.js",
10
+ "types": "dist/index.d.ts",
11
+ "scripts": {
12
+ "build": "rollup -c",
13
+ "tsc": "npx tsc --noEmit",
14
+ "update": "npm i @inceptionbg/iui@latest",
15
+ "release": "npm version patch && npm run build && npm publish"
16
+ },
17
+ "author": "Aleksandar Sadzak",
18
+ "license": "ISC",
19
+ "dependencies": {
20
+ "@tanstack/react-query": "^5.56.2",
21
+ "axios": "^1.9.0",
22
+ "crypto-js": "^4.1.1",
23
+ "jwt-decode": "^3.1.2"
24
+ },
25
+ "devDependencies": {
26
+ "@rollup/plugin-commonjs": "^25.0.2",
27
+ "@rollup/plugin-image": "^3.0.2",
28
+ "@rollup/plugin-terser": "^0.4.3",
29
+ "@rollup/plugin-typescript": "^11.1.2",
30
+ "@rollup/plugin-url": "^8.0.1",
31
+ "@types/crypto-js": "^4.1.1",
32
+ "@types/react": "^18.3.18",
33
+ "@types/react-dom": "^18.3.5",
34
+ "@types/react-router-dom": "^5.3.3",
35
+ "react-router-dom": "^6.14.1",
36
+ "rollup": "^3.26.0",
37
+ "rollup-plugin-delete": "^2.0.0",
38
+ "rollup-plugin-dts": "^5.3.1",
39
+ "rollup-plugin-postcss": "^4.0.2",
40
+ "tslib": "^2.6.1"
41
+ },
42
+ "peerDependencies": {
43
+ "@inceptionbg/iui": "^1.0.291",
44
+ "react": "^18.2.0",
45
+ "react-dom": "^18.2.0",
46
+ "sass": "^1.63.6"
47
+ }
48
+ }
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
- export declare const faBell: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faBoxArchive: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faCabinetFiling: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faCashRegister: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faDisplayChartUpCircleDollar: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faEnvelope: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faFileContract: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faFileInvoice: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faFilePen: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faGear: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faGridHorizontal: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faHandsHoldingHeart: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faList: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faListCheck: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
- export declare const faPlusCircle: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faScreencast: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faShelves: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faSignature: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faWarehouse: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faWarehouseFull: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
- export declare const faAngleDown: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faArrowRightFromBracket: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
- export declare const faBell: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faBriefcase: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
- export declare const faBusinessPlus: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
- export declare const faCalendarDays: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faCircleUser: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
- export declare const faEnvelope: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faMagnifyingGlass: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faTrashCan: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faUserGear: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faAngleLeft: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faAngleRight: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faMagnifyingGlassMinus: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faMagnifyingGlassPlus: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faQrcode: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
- export declare const faAngleLeft: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
- export declare const faArrowRight: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
- export declare const faCaretDown: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faCheck: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
- export declare const faEnvelopeDot: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
- export declare const faPlus: IconDefinition;
@@ -1,2 +0,0 @@
1
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
- export declare const faXmark: IconDefinition;
@@ -1,55 +0,0 @@
1
- import { IModuleId } from '../types/Auth/IModule';
2
- import { IOrganization, IOrganizationInvite, OrganizationStatus } from '../types/Auth/IOrganization';
3
- import { IOrganizationSettings, IUserSettingsByOrg } from '../types/Auth/IPrivileges';
4
- import { IUser, IUserSettings } from '../types/Auth/IUser';
5
- export declare const login: () => void;
6
- export declare const clearToken: () => void;
7
- export declare const logout: (options?: {
8
- nextUrl?: boolean;
9
- clearData?: boolean;
10
- redirectUrl?: string;
11
- }) => void;
12
- export declare const getNewTokens: (code?: string) => Promise<void>;
13
- export declare const onRefreshToken: () => Promise<void> | undefined;
14
- export declare const getUser: () => Promise<IUser>;
15
- export declare const getOrgAndSettingsData: (organizationUuid: string) => Promise<{
16
- organization: IOrganization | undefined;
17
- userHasAccessToOrganization: boolean | undefined;
18
- userSettings: IUserSettings | undefined;
19
- organizationSettings: IOrganizationSettings | undefined;
20
- userSettingsByOrganization: IUserSettingsByOrg | undefined;
21
- privileges: {
22
- [x: string]: boolean;
23
- };
24
- moduleIds: {
25
- availableModules: ("DASHBOARD" | "ADMIN" | "EARCHIVE" | "ERDS" | "EINVOICE" | "EFORMS" | "EDMS" | "ESIGN" | "EVALIDATION" | "EPROCUREMENT" | "EREGISTER" | "PAM" | "ERP_CASH_REGISTER" | "ERP_RIF" | "ERP_MAT_ACC" | "ERP_SMALL_INVENTORY" | "ERP_WMS" | "JISUSZ_BACKOFFICE")[];
26
- userModules: ("DASHBOARD" | "ADMIN" | "EARCHIVE" | "ERDS" | "EINVOICE" | "EFORMS" | "EDMS" | "ESIGN" | "EVALIDATION" | "EPROCUREMENT" | "EREGISTER" | "PAM" | "ERP_CASH_REGISTER" | "ERP_RIF" | "ERP_MAT_ACC" | "ERP_SMALL_INVENTORY" | "ERP_WMS" | "JISUSZ_BACKOFFICE")[];
27
- organizationModules: ("DASHBOARD" | "ADMIN" | "EARCHIVE" | "ERDS" | "EINVOICE" | "EFORMS" | "EDMS" | "ESIGN" | "EVALIDATION" | "EPROCUREMENT" | "EREGISTER" | "PAM" | "ERP_CASH_REGISTER" | "ERP_RIF" | "ERP_MAT_ACC" | "ERP_SMALL_INVENTORY" | "ERP_WMS" | "JISUSZ_BACKOFFICE")[];
28
- activeModules: ("DASHBOARD" | "ADMIN" | "EARCHIVE" | "ERDS" | "EINVOICE" | "EFORMS" | "EDMS" | "ESIGN" | "EVALIDATION" | "EPROCUREMENT" | "EREGISTER" | "PAM" | "ERP_CASH_REGISTER" | "ERP_RIF" | "ERP_MAT_ACC" | "ERP_SMALL_INVENTORY" | "ERP_WMS" | "JISUSZ_BACKOFFICE")[];
29
- };
30
- }>;
31
- export declare const getMyOrganizations: (limit: number, offset: number, filters: {
32
- status?: OrganizationStatus;
33
- nameLike?: string;
34
- subsystem?: IModuleId | null;
35
- excludeOrganizationUuid?: string;
36
- }) => Promise<{
37
- organizations: IOrganization[];
38
- totalRows: number;
39
- subsystems: ("DASHBOARD" | "ADMIN" | "EARCHIVE" | "ERDS" | "EINVOICE" | "EFORMS" | "EDMS" | "ESIGN" | "EVALIDATION" | "EPROCUREMENT" | "EREGISTER" | "PAM" | "ERP_CASH_REGISTER" | "ERP_RIF" | "ERP_MAT_ACC" | "ERP_SMALL_INVENTORY" | "ERP_WMS" | "JISUSZ_BACKOFFICE")[];
40
- }>;
41
- export declare const getOrganizationInvites: ({ limit, offset, fetchOptions, }: {
42
- limit: number;
43
- offset: number;
44
- fetchOptions?: ("SENDER" | "ORGANIZATION" | "ROLE" | "RECEIVER")[] | undefined;
45
- }) => Promise<{
46
- organizationInvites: IOrganizationInvite[];
47
- totalRows: number;
48
- }>;
49
- export declare const updateOrganizationInvite: ({ inviteUuid, approve, }: {
50
- inviteUuid: string;
51
- approve: boolean;
52
- }) => Promise<any>;
53
- export declare const changeUserSettings: (data: IUserSettings, showToast?: boolean) => Promise<any>;
54
- export declare const changeOrganizationSettings: (data: IOrganizationSettings) => Promise<any>;
55
- export declare const changeUserSettingsByOrg: (data: IUserSettingsByOrg) => Promise<any>;
@@ -1,4 +0,0 @@
1
- import { IToken } from '../types/Auth/IToken';
2
- export declare const decodeToken: (token?: string | null) => IToken | undefined;
3
- export declare const createCodeVerifier: () => string;
4
- export declare const createCodeChallenge: (codeVerifier: string) => string;
@@ -1,6 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- interface IProps {
3
- children: ReactNode;
4
- }
5
- export declare const AxiosTokenHandler: FC<IProps>;
6
- export {};
@@ -1,2 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const BusinessYearChooser: FC;
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- declare const BusinessYearPage: FC;
3
- export default BusinessYearPage;
@@ -1,13 +0,0 @@
1
- import { Dispatch, FC, SetStateAction } from 'react';
2
- import { IUseMutationData } from '../../types/IReactQuerry';
3
- import { UseMutationResult } from '@tanstack/react-query';
4
- import { AxiosResponse } from 'axios';
5
- interface Props {
6
- textId: string;
7
- itemUuid: string;
8
- setItemUuid: Dispatch<SetStateAction<string>>;
9
- onSuccess: () => void;
10
- useDeleteItemMutation: ({ onSuccess, }: IUseMutationData) => UseMutationResult<AxiosResponse<any, any>, Error, string, unknown>;
11
- }
12
- export declare const DeleteItemDialog: FC<Props>;
13
- export {};
@@ -1,15 +0,0 @@
1
- import { Dispatch, FC, SetStateAction } from 'react';
2
- import { IUseMutationData } from '../../types/IReactQuerry';
3
- import { UseMutationResult } from '@tanstack/react-query';
4
- import { AxiosResponse } from 'axios';
5
- interface Props {
6
- textId: string;
7
- itemUuids: string[];
8
- setItemUuids: Dispatch<SetStateAction<string[]>>;
9
- onSuccess: () => void;
10
- useDeleteItemMutation: ({ onSuccess, }: IUseMutationData) => UseMutationResult<AxiosResponse<any, any>, Error, {
11
- itemUuids: string[];
12
- }, unknown>;
13
- }
14
- export declare const DeleteItemsDialog: FC<Props>;
15
- export {};
@@ -1,6 +0,0 @@
1
- import { FC } from 'react';
2
- interface Props {
3
- hideModules?: boolean;
4
- }
5
- export declare const ModuleSelect: FC<Props>;
6
- export {};
@@ -1,2 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const Notifications: FC;
@@ -1,2 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const UserMenu: FC;
@@ -1,9 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- interface Props {
3
- customTitle?: string;
4
- hideModules?: boolean;
5
- hideNotifications?: boolean;
6
- children?: ReactNode;
7
- }
8
- export declare const Header: FC<Props>;
9
- export {};
@@ -1,13 +0,0 @@
1
- import { IAnyObject } from '@inceptionbg/iui';
2
- import { Dispatch, FC, SetStateAction } from 'react';
3
- import { IIndexData } from '../../types/App/Document/IndexData';
4
- interface Props {
5
- searchData: IAnyObject;
6
- setSearchData: Dispatch<SetStateAction<IAnyObject>>;
7
- indexesSearch: Partial<IIndexData>[];
8
- setIndexesSearch: Dispatch<SetStateAction<Partial<IIndexData>[]>>;
9
- documentTypeUuid?: string;
10
- type?: 'document' | 'case' | 'contract';
11
- }
12
- export declare const IndexDataSearch: FC<Props>;
13
- export {};
@@ -1,10 +0,0 @@
1
- import { FC } from 'react';
2
- import { IIndexData } from '../../types/App/Document/IndexData';
3
- interface Props {
4
- indexes: Partial<IIndexData>[];
5
- search: any;
6
- setSearch: (search: any) => void;
7
- type?: 'document' | 'case' | 'contract';
8
- }
9
- export declare const IndexDataSearchFields: FC<Props>;
10
- export {};
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- interface Props {
3
- isOpen: boolean;
4
- handleClosePopover: () => void;
5
- }
6
- export declare const ChangeOrganizationDialog: FC<Props>;
7
- export {};
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- interface Props {
3
- isOpen: boolean;
4
- onClose: () => void;
5
- }
6
- export declare const OrganizationInvitesDialog: FC<Props>;
7
- export {};
@@ -1,6 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- interface Props {
3
- children: ReactNode;
4
- }
5
- export declare const ReactQueryProvider: FC<Props>;
6
- export {};
@@ -1,10 +0,0 @@
1
- import { FC } from 'react';
2
- import { IRoute } from '../../types/Auth/IRouter';
3
- import { ISidebarItem } from '../../types/ISidebar';
4
- interface Props {
5
- routes: IRoute[];
6
- sidebarItems: ISidebarItem[][];
7
- hideNotifications?: boolean;
8
- }
9
- export declare const Router: FC<Props>;
10
- export {};