@acorex/modules 20.7.7 → 20.7.9
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/auth/index.d.ts +16 -2
- package/document-management/index.d.ts +33 -10
- package/fesm2022/acorex-modules-application-management.mjs +16 -1
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CyabqFR8.mjs → acorex-modules-auth-acorex-modules-auth-Dg9sg98-.mjs} +32 -13
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-Dg9sg98-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-CizgE3Bb.mjs → acorex-modules-auth-app-chooser.component-Dr8EZ7ZX.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-CizgE3Bb.mjs.map → acorex-modules-auth-app-chooser.component-Dr8EZ7ZX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-DRVqUojm.mjs → acorex-modules-auth-login.module-C7Rt6tLk.mjs} +6 -4
- package/fesm2022/acorex-modules-auth-login.module-C7Rt6tLk.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-master.layout-C1zCbrQh.mjs → acorex-modules-auth-master.layout-CgD5kk65.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-C1zCbrQh.mjs.map → acorex-modules-auth-master.layout-CgD5kk65.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-DmNV6zL4.mjs → acorex-modules-auth-oauth-callback.component-CuGIGBVO.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-DmNV6zL4.mjs.map → acorex-modules-auth-oauth-callback.component-CuGIGBVO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-BmTCzp3t.mjs → acorex-modules-auth-password.component-C6TCAUm4.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-BmTCzp3t.mjs.map → acorex-modules-auth-password.component-C6TCAUm4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-DSysOOu9.mjs → acorex-modules-auth-password.component-DmohsIxt.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-DSysOOu9.mjs.map → acorex-modules-auth-password.component-DmohsIxt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-oYfOJjLO.mjs → acorex-modules-auth-routes-C3162bwa.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-oYfOJjLO.mjs.map → acorex-modules-auth-routes-C3162bwa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-DqrZiwp6.mjs → acorex-modules-auth-tenant-chooser.component-Ce-n3WC9.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-DqrZiwp6.mjs.map → acorex-modules-auth-tenant-chooser.component-Ce-n3WC9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-Cc3x-76V.mjs → acorex-modules-auth-two-factor.module-B2nPzX-3.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-Cc3x-76V.mjs.map → acorex-modules-auth-two-factor.module-B2nPzX-3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-CiGEYKgb.mjs → acorex-modules-auth-user-sessions.component-wVKJ2KIm.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-CiGEYKgb.mjs.map → acorex-modules-auth-user-sessions.component-wVKJ2KIm.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +3 -3
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +24 -23
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +68 -61
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-CJRrn2XH.mjs → acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-CJRrn2XH.mjs.map → acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +363 -231
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-DGgHWrL0.mjs → acorex-modules-help-desk-acorex-modules-help-desk-CydmGF5Q.mjs} +8 -4
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-DGgHWrL0.mjs.map → acorex-modules-help-desk-acorex-modules-help-desk-CydmGF5Q.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CAknGKEK.mjs → acorex-modules-help-desk-capture-screen.component-Bsq1FJId.mjs} +2 -2
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CAknGKEK.mjs.map → acorex-modules-help-desk-capture-screen.component-Bsq1FJId.mjs.map} +1 -1
- package/fesm2022/acorex-modules-help-desk.mjs +1 -1
- package/fesm2022/acorex-modules-human-capital-management.mjs +41 -26
- package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-C85uluWf.mjs → acorex-modules-organization-management-org-chart.page-Ca_aJDbu.mjs} +19 -13
- package/fesm2022/acorex-modules-organization-management-org-chart.page-Ca_aJDbu.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +2 -2
- package/fesm2022/{acorex-modules-person-management-person.entity-BtaGNj8n.mjs → acorex-modules-person-management-person.entity-CaEVw1mL.mjs} +2 -2
- package/fesm2022/acorex-modules-person-management-person.entity-CaEVw1mL.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-management.mjs +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-DEx13GSy.mjs → acorex-modules-platform-management-acorex-modules-platform-management-DVkP3JKC.mjs} +1188 -341
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-DVkP3JKC.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management-menu-list.component-C_mdsuRc.mjs +519 -0
- package/fesm2022/acorex-modules-platform-management-menu-list.component-C_mdsuRc.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +27 -6
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management.mjs +15 -9
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/package.json +2 -2
- package/platform-management/index.d.ts +12 -1
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-CyabqFR8.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-login.module-DRVqUojm.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-C85uluWf.mjs.map +0 -1
- package/fesm2022/acorex-modules-person-management-person.entity-BtaGNj8n.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-DEx13GSy.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-menu-list.component-DLg61Nf8.mjs +0 -853
- package/fesm2022/acorex-modules-platform-management-menu-list.component-DLg61Nf8.mjs.map +0 -1
|
@@ -77,6 +77,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
77
77
|
type: Injectable
|
|
78
78
|
}] });
|
|
79
79
|
|
|
80
|
+
/**
|
|
81
|
+
* Guard for login page that redirects authenticated users to home page.
|
|
82
|
+
* This guard prevents authenticated users from accessing the login page.
|
|
83
|
+
*/
|
|
84
|
+
const canActivateLogin = async (route, state) => {
|
|
85
|
+
// If not authenticated, allow access to login page
|
|
86
|
+
return true;
|
|
87
|
+
};
|
|
88
|
+
|
|
80
89
|
var AXMAuthenticationTypes;
|
|
81
90
|
(function (AXMAuthenticationTypes) {
|
|
82
91
|
AXMAuthenticationTypes[AXMAuthenticationTypes["UsernamePassword"] = 0] = "UsernamePassword";
|
|
@@ -96,11 +105,21 @@ const AXMDefaultAuthConfigs = {
|
|
|
96
105
|
type: AXMAuthenticationTypes.UsernamePassword,
|
|
97
106
|
// defaultStrategyName:'oidc',
|
|
98
107
|
// حذف authConfig از اینجا چون از environment خوانده میشود
|
|
99
|
-
defaultStrategyName: 'user-pass'
|
|
108
|
+
defaultStrategyName: 'user-pass',
|
|
100
109
|
};
|
|
101
110
|
function configAuthModule(config = AXMDefaultAuthConfigs) {
|
|
102
111
|
return { ...AXMDefaultAuthConfigs, ...config };
|
|
103
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* Injection token for login page guard.
|
|
115
|
+
* Apps can provide their own custom guard by providing this token.
|
|
116
|
+
* If not provided, the default guard (canActivateLogin) will be used.
|
|
117
|
+
*/
|
|
118
|
+
const AXM_LOGIN_GUARD_TOKEN = new InjectionToken('AXM_LOGIN_GUARD_TOKEN', {
|
|
119
|
+
providedIn: 'root',
|
|
120
|
+
factory: () => canActivateLogin,
|
|
121
|
+
});
|
|
122
|
+
//#endregion
|
|
104
123
|
|
|
105
124
|
const routes = [
|
|
106
125
|
{
|
|
@@ -113,22 +132,22 @@ const routes = [
|
|
|
113
132
|
},
|
|
114
133
|
{
|
|
115
134
|
path: '',
|
|
116
|
-
loadComponent: () => import('./acorex-modules-auth-master.layout-
|
|
117
|
-
loadChildren: () => import('./acorex-modules-auth-login.module-
|
|
135
|
+
loadComponent: () => import('./acorex-modules-auth-master.layout-CgD5kk65.mjs').then((c) => c.AXPAuthMasterLayoutComponent),
|
|
136
|
+
loadChildren: () => import('./acorex-modules-auth-login.module-C7Rt6tLk.mjs').then((c) => c.AXPSignInModule),
|
|
118
137
|
},
|
|
119
138
|
{
|
|
120
139
|
path: '',
|
|
121
|
-
loadComponent: () => import('./acorex-modules-auth-master.layout-
|
|
122
|
-
loadChildren: () => import('./acorex-modules-auth-two-factor.module-
|
|
140
|
+
loadComponent: () => import('./acorex-modules-auth-master.layout-CgD5kk65.mjs').then((c) => c.AXPAuthMasterLayoutComponent),
|
|
141
|
+
loadChildren: () => import('./acorex-modules-auth-two-factor.module-B2nPzX-3.mjs').then((c) => c.AXPTwoFactorModule),
|
|
123
142
|
},
|
|
124
143
|
{
|
|
125
144
|
path: '',
|
|
126
|
-
loadComponent: () => import('./acorex-modules-auth-master.layout-
|
|
127
|
-
loadChildren: () => import('./acorex-modules-auth-routes-
|
|
145
|
+
loadComponent: () => import('./acorex-modules-auth-master.layout-CgD5kk65.mjs').then((c) => c.AXPAuthMasterLayoutComponent),
|
|
146
|
+
loadChildren: () => import('./acorex-modules-auth-routes-C3162bwa.mjs').then((c) => c),
|
|
128
147
|
},
|
|
129
148
|
{
|
|
130
149
|
path: 'axp-oauth-callback',
|
|
131
|
-
loadComponent: () => import('./acorex-modules-auth-oauth-callback.component-
|
|
150
|
+
loadComponent: () => import('./acorex-modules-auth-oauth-callback.component-CuGIGBVO.mjs').then((c) => c.AXPOAuthCallbackComponent),
|
|
132
151
|
},
|
|
133
152
|
{
|
|
134
153
|
path: 'account',
|
|
@@ -325,7 +344,7 @@ class AXMAuthProfileSlotComponent {
|
|
|
325
344
|
this.router.navigate(['/auth/login']);
|
|
326
345
|
}
|
|
327
346
|
async openUserSession() {
|
|
328
|
-
const com = await import('./acorex-modules-auth-user-sessions.component-
|
|
347
|
+
const com = await import('./acorex-modules-auth-user-sessions.component-wVKJ2KIm.mjs').then((c) => c.AXMUserSessionsComponent);
|
|
329
348
|
this.popupService.open(com, {
|
|
330
349
|
size: this.platform.is('Mobile') || this.platform.is('SM') ? 'full' : 'sm',
|
|
331
350
|
title: await this.translateService.translateAsync('@auth:profile.sessions.title'),
|
|
@@ -618,12 +637,12 @@ function routesFacory() {
|
|
|
618
637
|
routes = [
|
|
619
638
|
{
|
|
620
639
|
path: 'tenant-chooser',
|
|
621
|
-
loadComponent: () => import('./acorex-modules-auth-tenant-chooser.component-
|
|
640
|
+
loadComponent: () => import('./acorex-modules-auth-tenant-chooser.component-Ce-n3WC9.mjs').then((c) => c.AXPAuthTenantChooserComponent),
|
|
622
641
|
canActivate: [AXPAuthGuard, canActivateTenantChooser],
|
|
623
642
|
},
|
|
624
643
|
{
|
|
625
644
|
path: 'app-chooser',
|
|
626
|
-
loadComponent: () => import('./acorex-modules-auth-app-chooser.component-
|
|
645
|
+
loadComponent: () => import('./acorex-modules-auth-app-chooser.component-Dr8EZ7ZX.mjs').then((c) => c.AXPAuthAppChooserComponent),
|
|
627
646
|
canActivate: [AXPAuthGuard, canActivateAppChooser],
|
|
628
647
|
},
|
|
629
648
|
];
|
|
@@ -769,5 +788,5 @@ var AXMSessionStatusTypes;
|
|
|
769
788
|
* Generated bundle index. Do not edit.
|
|
770
789
|
*/
|
|
771
790
|
|
|
772
|
-
export { AXM_AUTH_CONFIG_TOKEN as A,
|
|
773
|
-
//# sourceMappingURL=acorex-modules-auth-acorex-modules-auth-
|
|
791
|
+
export { AXM_AUTH_CONFIG_TOKEN as A, AXM_LOGIN_GUARD_TOKEN as a, AXMAuthenticationTypes as b, AXPTenantChooserListComponent as c, AXPTenantChooserDropdownComponent as d, AXPAppChooserListComponent as e, AXMUserDeviceSessionsService as f, AXMAuthErrorHandler as g, AXMDefaultAuthConfigs as h, configAuthModule as i, AXMAuthModule as j, AXMSessionStatusTypes as k, AXPIdleService as l, AXMDeviceSessionsService as m, AXMDeviceSessionsServiceImpl as n, canActivateLogin as o };
|
|
792
|
+
//# sourceMappingURL=acorex-modules-auth-acorex-modules-auth-Dg9sg98-.mjs.map
|