@inceptionbg/main 2.0.174 → 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.
package/dist/index.d.ts CHANGED
@@ -232,7 +232,7 @@ interface IOrganization {
232
232
  serviceAgreement?: serviceDoc;
233
233
  allowNewsletter?: boolean;
234
234
  legalRepresentative?: IUser;
235
- internalCode?: 'PIO' | 'JP_POSTA' | 'DUNAV_AD' | 'DDOR';
235
+ internalCode?: 'PIO' | 'JP_POSTA' | 'DUNAV_AD' | 'DDOR' | 'BGDEL';
236
236
  logo?: serviceDoc;
237
237
  latestPricingPackage?: ILatestPricingPackage;
238
238
  pricingPackage?: IPricingPackage;
@@ -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.174",
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
+ }