@inceptionbg/main 4.0.11 → 4.0.13
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/{SelectOrgPage-FrzIiCCa.js → SelectOrgPage-BihJHgUH.js} +2 -2
- package/dist/{SelectOrgPage-FrzIiCCa.js.map → SelectOrgPage-BihJHgUH.js.map} +1 -1
- package/dist/index-BWBpuu7r.js +2 -0
- package/dist/index-BWBpuu7r.js.map +1 -0
- package/dist/index.d.ts +31 -6
- package/dist/index.js +1 -1
- package/dist/types/global.d.ts +130 -131
- package/package.json +55 -55
- package/dist/index-BE_jcbUi.js +0 -2
- package/dist/index-BE_jcbUi.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
12
12
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
13
13
|
import * as zustand from 'zustand';
|
|
14
14
|
|
|
15
|
-
declare const moduleIds: readonly ["DASHBOARD", "ADMIN", "EARCHIVE", "ERDS", "EINVOICE", "EFORMS", "EDMS", "ESIGN", "EVALIDATION", "EPROCUREMENT", "EREGISTER", "PAM", "DISPATCH_ADVICE", "TELEGRAM_MNGMNT", "VAT_EVIDENCE", "VEOSP", "ERP_CASH_REGISTER", "ERP_FIXED_ASSETS", "ERP_RIF", "ERP_MAT_ACC", "ERP_SMALL_INVENTORY", "ERP_WMS", "ERP_HR", "JISUSZ_BACKOFFICE", "MONITORING"
|
|
15
|
+
declare const moduleIds: readonly ["DASHBOARD", "ADMIN", "EARCHIVE", "ERDS", "EINVOICE", "EFORMS", "EDMS", "ESIGN", "EVALIDATION", "EPROCUREMENT", "EREGISTER", "PAM", "DISPATCH_ADVICE", "TELEGRAM_MNGMNT", "VAT_EVIDENCE", "VEOSP", "QC_REGISTRATION", "ERP_CASH_REGISTER", "ERP_FIXED_ASSETS", "ERP_RIF", "ERP_MAT_ACC", "ERP_SMALL_INVENTORY", "ERP_WMS", "ERP_HR", "JISUSZ_BACKOFFICE", "MONITORING"];
|
|
16
16
|
declare const moduleIcon: {
|
|
17
17
|
[id in IModuleId]: IconDefinition;
|
|
18
18
|
};
|
|
@@ -1277,7 +1277,27 @@ declare const useGetReportTemplates: (params: IReportTemplatesProps, enabled: bo
|
|
|
1277
1277
|
templates: IReportTemplate[];
|
|
1278
1278
|
totalRows: number;
|
|
1279
1279
|
}, Error>;
|
|
1280
|
-
declare const useCreateReportTemplate: () => _tanstack_react_query.UseMutationResult<axios.AxiosResponse<any,
|
|
1280
|
+
declare const useCreateReportTemplate: () => _tanstack_react_query.UseMutationResult<axios.AxiosResponse<any, {
|
|
1281
|
+
organization: {
|
|
1282
|
+
uuid: any;
|
|
1283
|
+
};
|
|
1284
|
+
subsystem: "DASHBOARD" | "ADMIN" | "EARCHIVE" | "ERDS" | "EINVOICE" | "EFORMS" | "EDMS" | "ESIGN" | "EVALIDATION" | "EPROCUREMENT" | "EREGISTER" | "PAM" | "DISPATCH_ADVICE" | "TELEGRAM_MNGMNT" | "VAT_EVIDENCE" | "VEOSP" | "QC_REGISTRATION" | "ERP_CASH_REGISTER" | "ERP_FIXED_ASSETS" | "ERP_RIF" | "ERP_MAT_ACC" | "ERP_SMALL_INVENTORY" | "ERP_WMS" | "ERP_HR" | "JISUSZ_BACKOFFICE" | "MONITORING" | null;
|
|
1285
|
+
uuid?: string | undefined;
|
|
1286
|
+
name?: string | undefined;
|
|
1287
|
+
identifier?: string | undefined;
|
|
1288
|
+
filterValues?: _inceptionbg_iui.IReportTemplateFilterValue[] | undefined;
|
|
1289
|
+
options?: {
|
|
1290
|
+
key: string;
|
|
1291
|
+
value?: any;
|
|
1292
|
+
}[] | undefined;
|
|
1293
|
+
columns?: string[] | undefined;
|
|
1294
|
+
sorts?: string[] | undefined;
|
|
1295
|
+
isPublic?: boolean | undefined;
|
|
1296
|
+
isDefault?: boolean | undefined;
|
|
1297
|
+
order?: number | undefined;
|
|
1298
|
+
createdAt?: string | undefined;
|
|
1299
|
+
createdBy?: _inceptionbg_iui.ISimpleObject | undefined;
|
|
1300
|
+
}, {}, any>, Error, Partial<IReportTemplate>, unknown>;
|
|
1281
1301
|
declare const useDeleteReportTemplates: IDeleteItemMutation;
|
|
1282
1302
|
|
|
1283
1303
|
interface IUserSettingsUpdateOptions {
|
|
@@ -1325,7 +1345,9 @@ interface Props$5 {
|
|
|
1325
1345
|
}
|
|
1326
1346
|
declare const LastArticlesWidget: FC<Props$5>;
|
|
1327
1347
|
|
|
1328
|
-
declare const BusinessYearChooser: FC
|
|
1348
|
+
declare const BusinessYearChooser: FC<{
|
|
1349
|
+
canChange?: boolean;
|
|
1350
|
+
}>;
|
|
1329
1351
|
|
|
1330
1352
|
interface BusinessYearSidebarIndicatorProps {
|
|
1331
1353
|
settingsPath?: string;
|
|
@@ -1333,6 +1355,7 @@ interface BusinessYearSidebarIndicatorProps {
|
|
|
1333
1355
|
declare const BusinessYearSidebarIndicator: FC<BusinessYearSidebarIndicatorProps>;
|
|
1334
1356
|
|
|
1335
1357
|
interface FiscalYearLockManagerProps {
|
|
1358
|
+
canClose?: boolean;
|
|
1336
1359
|
canReopen?: boolean;
|
|
1337
1360
|
}
|
|
1338
1361
|
declare const FiscalYearLockManager: FC<FiscalYearLockManagerProps>;
|
|
@@ -1352,6 +1375,8 @@ type FiscalYearAuditUserLoader = (search: string, loadedOptions: [], offset?: {
|
|
|
1352
1375
|
|
|
1353
1376
|
interface BusinessYearPageProps {
|
|
1354
1377
|
fiscalYear?: {
|
|
1378
|
+
canChange?: boolean;
|
|
1379
|
+
canClose?: boolean;
|
|
1355
1380
|
canReopen?: boolean;
|
|
1356
1381
|
showLockManager?: boolean;
|
|
1357
1382
|
auditLogs?: {
|
|
@@ -1568,6 +1593,7 @@ declare const i18nMainCyrilic: {
|
|
|
1568
1593
|
TELEGRAM_MNGMNT: string;
|
|
1569
1594
|
VAT_EVIDENCE: string;
|
|
1570
1595
|
VEOSP: string;
|
|
1596
|
+
QC_REGISTRATION: string;
|
|
1571
1597
|
ERP_CASH_REGISTER: string;
|
|
1572
1598
|
ERP_FIXED_ASSETS: string;
|
|
1573
1599
|
ERP_RIF: string;
|
|
@@ -1575,7 +1601,6 @@ declare const i18nMainCyrilic: {
|
|
|
1575
1601
|
ERP_SMALL_INVENTORY: string;
|
|
1576
1602
|
ERP_WMS: string;
|
|
1577
1603
|
ERP_HR: string;
|
|
1578
|
-
RAIFFEISEN_SIGN_MIDLAYER_ADMIN_SERVICE: string;
|
|
1579
1604
|
DASHBOARD: string;
|
|
1580
1605
|
MONTORING: string;
|
|
1581
1606
|
Basic: string;
|
|
@@ -1832,6 +1857,7 @@ declare const i18nMainLatin: {
|
|
|
1832
1857
|
TELEGRAM_MNGMNT: string;
|
|
1833
1858
|
VAT_EVIDENCE: string;
|
|
1834
1859
|
VEOSP: string;
|
|
1860
|
+
QC_REGISTRATION: string;
|
|
1835
1861
|
ERP_CASH_REGISTER: string;
|
|
1836
1862
|
ERP_FIXED_ASSETS: string;
|
|
1837
1863
|
ERP_RIF: string;
|
|
@@ -1841,7 +1867,6 @@ declare const i18nMainLatin: {
|
|
|
1841
1867
|
ERP_HR: string;
|
|
1842
1868
|
DASHBOARD: string;
|
|
1843
1869
|
MONITORING: string;
|
|
1844
|
-
RAIFFEISEN_SIGN_MIDLAYER_ADMIN_SERVICE: string;
|
|
1845
1870
|
JISUSZ_BACKOFFICE: string;
|
|
1846
1871
|
Basic: string;
|
|
1847
1872
|
BasicData: string;
|
|
@@ -2100,6 +2125,7 @@ declare const i18nMainME: {
|
|
|
2100
2125
|
TELEGRAM_MNGMNT: string;
|
|
2101
2126
|
VAT_EVIDENCE: string;
|
|
2102
2127
|
VEOSP: string;
|
|
2128
|
+
QC_REGISTRATION: string;
|
|
2103
2129
|
ERP_CASH_REGISTER: string;
|
|
2104
2130
|
ERP_FIXED_ASSETS: string;
|
|
2105
2131
|
ERP_RIF: string;
|
|
@@ -2109,7 +2135,6 @@ declare const i18nMainME: {
|
|
|
2109
2135
|
ERP_HR: string;
|
|
2110
2136
|
DASHBOARD: string;
|
|
2111
2137
|
MONITORING: string;
|
|
2112
|
-
RAIFFEISEN_SIGN_MIDLAYER_ADMIN_SERVICE: string;
|
|
2113
2138
|
JISUSZ_BACKOFFICE: string;
|
|
2114
2139
|
Basic: string;
|
|
2115
2140
|
BasicData: string;
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{A as AppWrapper,e as ArticlesPage,B as BusinessYearChooser,f as BusinessYearPage,g as BusinessYearProvider,h as BusinessYearSidebarIndicator,D as DeleteItemsDialog,F as FiscalYearLockManager,H as HeaderUserMenuDialogs,I as IndexDataSearch,L as LastArticlesWidget,R as ReactQueryProvider,i as RolesWithPrivileges,c as changeOrganization,j as checkToken,k as clearActiveOrg,m as debugLog,n as decodeToken,o as envVars,p as getActiveOrgUuid,q as getToken,r as i18nMainCyrilic,s as i18nMainLatin,t as i18nMainME,v as login,l as logout,w as mainFullScreenRoutes,x as moduleIcon,y as moduleIds,z as queryClient,C as setBusinessYearContext,E as ssGet,G as ssRemove,J as ssSet,d as useActiveOrgUuid,K as useBusinessYearContext,M as useCreateReportTemplate,N as useDefaultTemplate,P as useDeleteReportTemplates,Q as useErrorContext,S as useFiscalYearStatus,b as useGetMyOrganizations,T as useGetReportTemplates,U as useGetUserSettings,V as useGetUserSettingsItem,W as useModuleSelect,X as useModules,Y as useNotificationsProps,a as useOrgInvites,Z as useOrganizationStore,_ as usePatchFiscalYear,$ as useReportTemplates,a0 as useTableItemsDelete,a1 as useUserMenuProps,a2 as useUserSettings,u as useUserStore,a1 as userMenuProps}from"./index-
|
|
1
|
+
export{A as AppWrapper,e as ArticlesPage,B as BusinessYearChooser,f as BusinessYearPage,g as BusinessYearProvider,h as BusinessYearSidebarIndicator,D as DeleteItemsDialog,F as FiscalYearLockManager,H as HeaderUserMenuDialogs,I as IndexDataSearch,L as LastArticlesWidget,R as ReactQueryProvider,i as RolesWithPrivileges,c as changeOrganization,j as checkToken,k as clearActiveOrg,m as debugLog,n as decodeToken,o as envVars,p as getActiveOrgUuid,q as getToken,r as i18nMainCyrilic,s as i18nMainLatin,t as i18nMainME,v as login,l as logout,w as mainFullScreenRoutes,x as moduleIcon,y as moduleIds,z as queryClient,C as setBusinessYearContext,E as ssGet,G as ssRemove,J as ssSet,d as useActiveOrgUuid,K as useBusinessYearContext,M as useCreateReportTemplate,N as useDefaultTemplate,P as useDeleteReportTemplates,Q as useErrorContext,S as useFiscalYearStatus,b as useGetMyOrganizations,T as useGetReportTemplates,U as useGetUserSettings,V as useGetUserSettingsItem,W as useModuleSelect,X as useModules,Y as useNotificationsProps,a as useOrgInvites,Z as useOrganizationStore,_ as usePatchFiscalYear,$ as useReportTemplates,a0 as useTableItemsDelete,a1 as useUserMenuProps,a2 as useUserSettings,u as useUserStore,a1 as userMenuProps}from"./index-BWBpuu7r.js";import"@inceptionbg/iui";import"@tanstack/react-query";import"zustand";import"zustand/middleware";import"react-router";import"react/jsx-runtime";import"axios";import"react";import"crypto-js";import"jwt-decode";import"react-i18next";import"@inceptionbg/icons";import"@inceptionbg/icons/regular";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/types/global.d.ts
CHANGED
|
@@ -1,144 +1,143 @@
|
|
|
1
1
|
import { AxiosInstance } from 'axios';
|
|
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
|
-
'DISPATCH_ADVICE',
|
|
17
|
-
'TELEGRAM_MNGMNT',
|
|
18
|
-
'VAT_EVIDENCE',
|
|
19
|
-
'VEOSP',
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
'
|
|
23
|
-
'
|
|
24
|
-
'
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
'
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
'
|
|
31
|
-
'
|
|
32
|
-
|
|
33
|
-
// 'ERP',
|
|
34
|
-
// 'FINANCES',
|
|
35
|
-
// 'CONTRACTS',
|
|
36
|
-
// 'IDM',
|
|
37
|
-
// 'REGISTRATION',
|
|
38
|
-
// '
|
|
39
|
-
// 'SETTINGS',
|
|
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
|
+
'DISPATCH_ADVICE',
|
|
17
|
+
'TELEGRAM_MNGMNT',
|
|
18
|
+
'VAT_EVIDENCE',
|
|
19
|
+
'VEOSP',
|
|
20
|
+
'QC_REGISTRATION',
|
|
21
|
+
// ERP
|
|
22
|
+
'ERP_CASH_REGISTER',
|
|
23
|
+
'ERP_FIXED_ASSETS',
|
|
24
|
+
'ERP_RIF',
|
|
25
|
+
'ERP_MAT_ACC',
|
|
26
|
+
'ERP_SMALL_INVENTORY',
|
|
27
|
+
'ERP_WMS',
|
|
28
|
+
'ERP_HR',
|
|
29
|
+
// PRIVATE
|
|
30
|
+
'JISUSZ_BACKOFFICE',
|
|
31
|
+
'MONITORING',
|
|
32
|
+
|
|
33
|
+
// 'ERP',
|
|
34
|
+
// 'FINANCES',
|
|
35
|
+
// 'CONTRACTS',
|
|
36
|
+
// 'IDM',
|
|
37
|
+
// 'REGISTRATION',
|
|
38
|
+
// 'SETTINGS',
|
|
40
39
|
] as const;
|
|
41
40
|
|
|
42
41
|
type IModuleId = (typeof moduleIds)[number];
|
|
43
42
|
|
|
44
|
-
type IEnv =
|
|
45
|
-
| 'DEV'
|
|
46
|
-
| 'TEST'
|
|
47
|
-
| 'PROD'
|
|
48
|
-
| 'LOCAL'
|
|
49
|
-
| 'UAT'
|
|
50
|
-
| 'TEST_PPLCG'
|
|
51
|
-
| 'PROD_PPLCG'
|
|
52
|
-
| 'TEST_MSP'
|
|
53
|
-
| 'PROD_MSP'
|
|
54
|
-
| 'TEST_LOCAL_MSP'
|
|
55
|
-
| 'TEST_PTT'
|
|
56
|
-
| 'PROD_PTT';
|
|
57
|
-
|
|
58
|
-
type IRequiredServiceApi = 'auth' | 'idm' | 'registration' | 'userSettings';
|
|
59
|
-
|
|
60
|
-
type IOptionalServiceApi =
|
|
61
|
-
| 'codebook'
|
|
62
|
-
| 'auditLog'
|
|
63
|
-
| 'notifications'
|
|
64
|
-
| 'indexData'
|
|
65
|
-
| 'reportTemplates'
|
|
66
|
-
| 'approvalProcess'
|
|
67
|
-
| 'procurement'
|
|
68
|
-
| 'archive'
|
|
69
|
-
| 'invoice'
|
|
70
|
-
| 'delivery'
|
|
71
|
-
| 'edms'
|
|
72
|
-
| 'rif'
|
|
73
|
-
| 'cashRegister'
|
|
74
|
-
| 'jisuszProxy'
|
|
75
|
-
| 'fosterCare'
|
|
76
|
-
| 'article'
|
|
77
|
-
| 'approval'
|
|
78
|
-
| 'messenger'
|
|
79
|
-
| 'veosp'
|
|
80
|
-
| 'fixedAssets'
|
|
81
|
-
| 'dispatchAdvice'
|
|
82
|
-
| 'tasks'
|
|
83
|
-
| 'nbs'
|
|
84
|
-
| 'organization';
|
|
85
|
-
|
|
43
|
+
type IEnv =
|
|
44
|
+
| 'DEV'
|
|
45
|
+
| 'TEST'
|
|
46
|
+
| 'PROD'
|
|
47
|
+
| 'LOCAL'
|
|
48
|
+
| 'UAT'
|
|
49
|
+
| 'TEST_PPLCG'
|
|
50
|
+
| 'PROD_PPLCG'
|
|
51
|
+
| 'TEST_MSP'
|
|
52
|
+
| 'PROD_MSP'
|
|
53
|
+
| 'TEST_LOCAL_MSP'
|
|
54
|
+
| 'TEST_PTT'
|
|
55
|
+
| 'PROD_PTT';
|
|
56
|
+
|
|
57
|
+
type IRequiredServiceApi = 'auth' | 'idm' | 'registration' | 'userSettings';
|
|
58
|
+
|
|
59
|
+
type IOptionalServiceApi =
|
|
60
|
+
| 'codebook'
|
|
61
|
+
| 'auditLog'
|
|
62
|
+
| 'notifications'
|
|
63
|
+
| 'indexData'
|
|
64
|
+
| 'reportTemplates'
|
|
65
|
+
| 'approvalProcess'
|
|
66
|
+
| 'procurement'
|
|
67
|
+
| 'archive'
|
|
68
|
+
| 'invoice'
|
|
69
|
+
| 'delivery'
|
|
70
|
+
| 'edms'
|
|
71
|
+
| 'rif'
|
|
72
|
+
| 'cashRegister'
|
|
73
|
+
| 'jisuszProxy'
|
|
74
|
+
| 'fosterCare'
|
|
75
|
+
| 'article'
|
|
76
|
+
| 'approval'
|
|
77
|
+
| 'messenger'
|
|
78
|
+
| 'veosp'
|
|
79
|
+
| 'fixedAssets'
|
|
80
|
+
| 'dispatchAdvice'
|
|
81
|
+
| 'tasks'
|
|
82
|
+
| 'nbs'
|
|
83
|
+
| 'organization';
|
|
84
|
+
|
|
86
85
|
type IServiceApi$1 = IRequiredServiceApi | IOptionalServiceApi;
|
|
87
86
|
|
|
88
|
-
declare module 'axios' {
|
|
89
|
-
interface AxiosRequestConfig {
|
|
90
|
-
public?: boolean;
|
|
91
|
-
service?: IServiceApi$1;
|
|
92
|
-
token?: string;
|
|
93
|
-
noToast?: boolean;
|
|
94
|
-
noErrors?: boolean;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
declare module '*.scss' {
|
|
99
|
-
const classes: { readonly [key: string]: string };
|
|
100
|
-
export { classes };
|
|
101
|
-
}
|
|
102
|
-
declare module '*.png' {
|
|
103
|
-
const src: string;
|
|
104
|
-
export { src };
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
declare module '*.svg' {
|
|
108
|
-
const src: string;
|
|
109
|
-
export { src };
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
declare module '*.json' {
|
|
113
|
-
const data: any;
|
|
114
|
-
export { data };
|
|
87
|
+
declare module 'axios' {
|
|
88
|
+
interface AxiosRequestConfig {
|
|
89
|
+
public?: boolean;
|
|
90
|
+
service?: IServiceApi$1;
|
|
91
|
+
token?: string;
|
|
92
|
+
noToast?: boolean;
|
|
93
|
+
noErrors?: boolean;
|
|
94
|
+
}
|
|
115
95
|
}
|
|
116
96
|
|
|
117
|
-
declare module '*.
|
|
118
|
-
const
|
|
119
|
-
export {
|
|
97
|
+
declare module '*.scss' {
|
|
98
|
+
const classes: { readonly [key: string]: string };
|
|
99
|
+
export { classes };
|
|
100
|
+
}
|
|
101
|
+
declare module '*.png' {
|
|
102
|
+
const src: string;
|
|
103
|
+
export { src };
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
declare module '*.svg' {
|
|
107
|
+
const src: string;
|
|
108
|
+
export { src };
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
declare module '*.json' {
|
|
112
|
+
const data: any;
|
|
113
|
+
export { data };
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
declare module '*.mp3' {
|
|
117
|
+
const src: string;
|
|
118
|
+
export { src };
|
|
120
119
|
}
|
|
121
120
|
|
|
122
|
-
declare global {
|
|
123
|
-
var environment: IEnv;
|
|
124
|
-
var moduleId: IModuleId | null;
|
|
125
|
-
var moduleUrls: {
|
|
126
|
-
[id in IModuleId]?: string;
|
|
127
|
-
};
|
|
128
|
-
var axiosInstance: AxiosInstance;
|
|
129
|
-
var appVersion: string | undefined;
|
|
130
|
-
var api: {
|
|
131
|
-
apiUrl: string;
|
|
132
|
-
clientId: string;
|
|
133
|
-
authScope?: string;
|
|
134
|
-
additionalScopes?: string[];
|
|
135
|
-
redirectUrl?: string;
|
|
136
|
-
};
|
|
137
|
-
var serviceApiUrls: Partial<Record<IServiceApi, string>> | undefined;
|
|
138
|
-
var zE: {
|
|
139
|
-
show: () => void;
|
|
140
|
-
hide: () => void;
|
|
141
|
-
activate: () => void;
|
|
142
|
-
setLocale: (locale: string) => void;
|
|
143
|
-
};
|
|
121
|
+
declare global {
|
|
122
|
+
var environment: IEnv;
|
|
123
|
+
var moduleId: IModuleId | null;
|
|
124
|
+
var moduleUrls: {
|
|
125
|
+
[id in IModuleId]?: string;
|
|
126
|
+
};
|
|
127
|
+
var axiosInstance: AxiosInstance;
|
|
128
|
+
var appVersion: string | undefined;
|
|
129
|
+
var api: {
|
|
130
|
+
apiUrl: string;
|
|
131
|
+
clientId: string;
|
|
132
|
+
authScope?: string;
|
|
133
|
+
additionalScopes?: string[];
|
|
134
|
+
redirectUrl?: string;
|
|
135
|
+
};
|
|
136
|
+
var serviceApiUrls: Partial<Record<IServiceApi, string>> | undefined;
|
|
137
|
+
var zE: {
|
|
138
|
+
show: () => void;
|
|
139
|
+
hide: () => void;
|
|
140
|
+
activate: () => void;
|
|
141
|
+
setLocale: (locale: string) => void;
|
|
142
|
+
};
|
|
144
143
|
}
|
package/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@inceptionbg/main",
|
|
3
|
-
"version": "4.0.
|
|
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": "tsc --noEmit",
|
|
14
|
-
"lint": "eslint --max-warnings=0 src",
|
|
15
|
-
"link-i": "npm link @inceptionbg/iui",
|
|
16
|
-
"update-i": "npm i @inceptionbg/iui@next",
|
|
17
|
-
"update-ic": "npm i @inceptionbg/icons@next",
|
|
18
|
-
"release": "npm version patch && npm run build && npm publish --tag next"
|
|
19
|
-
},
|
|
20
|
-
"author": "Aleksandar Sadzak",
|
|
21
|
-
"license": "ISC",
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"axios": "^1.13.5",
|
|
24
|
-
"crypto-js": "^4.2.0",
|
|
25
|
-
"jwt-decode": "^4.0.0"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"@rollup/plugin-commonjs": "^29.0.0",
|
|
29
|
-
"@rollup/plugin-image": "^3.0.3",
|
|
30
|
-
"@rollup/plugin-terser": "^1.0.0",
|
|
31
|
-
"@rollup/plugin-typescript": "^12.3.0",
|
|
32
|
-
"@rollup/plugin-url": "^8.0.2",
|
|
33
|
-
"@types/crypto-js": "^4.2.2",
|
|
34
|
-
"@types/react": "^19.2.14",
|
|
35
|
-
"@types/react-dom": "^19.2.3",
|
|
36
|
-
"rollup": "^4.57.1",
|
|
37
|
-
"rollup-plugin-delete": "^3.0.2",
|
|
38
|
-
"rollup-plugin-dts": "^6.3.0",
|
|
39
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
40
|
-
"tslib": "^2.8.1"
|
|
41
|
-
},
|
|
42
|
-
"peerDependencies": {
|
|
43
|
-
"@fortawesome/fontawesome-svg-core": ">=7.2.0",
|
|
44
|
-
"@inceptionbg/icons": "^1.0.8",
|
|
45
|
-
"@inceptionbg/iui": "^3.0.1",
|
|
46
|
-
"@tanstack/react-query": ">=5.90.21",
|
|
47
|
-
"i18next": ">=26.3.0",
|
|
48
|
-
"react": ">=19.2.4 <20",
|
|
49
|
-
"react-dom": ">=19.2.4 <20",
|
|
50
|
-
"react-i18next": ">=17.0.8",
|
|
51
|
-
"react-router": ">=7.17.0",
|
|
52
|
-
"sass": ">=1.97.3",
|
|
53
|
-
"zustand": ">=5.0.12"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@inceptionbg/main",
|
|
3
|
+
"version": "4.0.13",
|
|
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": "tsc --noEmit",
|
|
14
|
+
"lint": "eslint --max-warnings=0 src",
|
|
15
|
+
"link-i": "npm link @inceptionbg/iui",
|
|
16
|
+
"update-i": "npm i @inceptionbg/iui@next",
|
|
17
|
+
"update-ic": "npm i @inceptionbg/icons@next",
|
|
18
|
+
"release": "npm version patch && npm run build && npm publish --tag next"
|
|
19
|
+
},
|
|
20
|
+
"author": "Aleksandar Sadzak",
|
|
21
|
+
"license": "ISC",
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"axios": "^1.13.5",
|
|
24
|
+
"crypto-js": "^4.2.0",
|
|
25
|
+
"jwt-decode": "^4.0.0"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
29
|
+
"@rollup/plugin-image": "^3.0.3",
|
|
30
|
+
"@rollup/plugin-terser": "^1.0.0",
|
|
31
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
32
|
+
"@rollup/plugin-url": "^8.0.2",
|
|
33
|
+
"@types/crypto-js": "^4.2.2",
|
|
34
|
+
"@types/react": "^19.2.14",
|
|
35
|
+
"@types/react-dom": "^19.2.3",
|
|
36
|
+
"rollup": "^4.57.1",
|
|
37
|
+
"rollup-plugin-delete": "^3.0.2",
|
|
38
|
+
"rollup-plugin-dts": "^6.3.0",
|
|
39
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
40
|
+
"tslib": "^2.8.1"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"@fortawesome/fontawesome-svg-core": ">=7.2.0",
|
|
44
|
+
"@inceptionbg/icons": "^1.0.8",
|
|
45
|
+
"@inceptionbg/iui": "^3.0.1",
|
|
46
|
+
"@tanstack/react-query": ">=5.90.21",
|
|
47
|
+
"i18next": ">=26.3.0",
|
|
48
|
+
"react": ">=19.2.4 <20",
|
|
49
|
+
"react-dom": ">=19.2.4 <20",
|
|
50
|
+
"react-i18next": ">=17.0.8",
|
|
51
|
+
"react-router": ">=7.17.0",
|
|
52
|
+
"sass": ">=1.97.3",
|
|
53
|
+
"zustand": ">=5.0.12"
|
|
54
|
+
}
|
|
55
|
+
}
|