@acorex/modules 20.6.0-next.6 → 20.6.0-next.8
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/fesm2022/acorex-modules-conversation.mjs +1 -1
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/{acorex-modules-dashboard-management-acorex-modules-dashboard-management-BXVW5pTF.mjs → acorex-modules-dashboard-management-acorex-modules-dashboard-management-JeQW5e5t.mjs} +4 -4
- package/fesm2022/{acorex-modules-dashboard-management-acorex-modules-dashboard-management-BXVW5pTF.mjs.map → acorex-modules-dashboard-management-acorex-modules-dashboard-management-JeQW5e5t.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-dashboard-management-permission-definition.provider-DTQ1D_Uh.mjs → acorex-modules-dashboard-management-permission-definition.provider-CP1sPn-5.mjs} +2 -2
- package/fesm2022/{acorex-modules-dashboard-management-permission-definition.provider-DTQ1D_Uh.mjs.map → acorex-modules-dashboard-management-permission-definition.provider-CP1sPn-5.mjs.map} +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
- package/fesm2022/{acorex-modules-data-management-acorex-modules-data-management-Ci9W347D.mjs → acorex-modules-data-management-acorex-modules-data-management-BTZVbtCd.mjs} +4 -4
- package/fesm2022/acorex-modules-data-management-acorex-modules-data-management-BTZVbtCd.mjs.map +1 -0
- package/fesm2022/{acorex-modules-data-management-permission-definition.provider-BmfgERqu.mjs → acorex-modules-data-management-permission-definition.provider-Ba0RXefU.mjs} +2 -2
- package/fesm2022/{acorex-modules-data-management-permission-definition.provider-BmfgERqu.mjs.map → acorex-modules-data-management-permission-definition.provider-Ba0RXefU.mjs.map} +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-CTpQGWrH.mjs → acorex-modules-document-management-acorex-modules-document-management-BsST9TMA.mjs} +32 -21
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BsST9TMA.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-DHnJ-wG_.mjs → acorex-modules-document-management-attachment-widget.component-DqBJrcid.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-DHnJ-wG_.mjs.map → acorex-modules-document-management-attachment-widget.component-DqBJrcid.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-D4LY1WdL.mjs → acorex-modules-document-management-details-view.component-CQgbdaHw.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-D4LY1WdL.mjs.map → acorex-modules-document-management-details-view.component-CQgbdaHw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-rsZh53Ys.mjs → acorex-modules-document-management-document-signature-popup.component-BftZK2ib.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-rsZh53Ys.mjs.map → acorex-modules-document-management-document-signature-popup.component-BftZK2ib.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-Lc6Kjy_S.mjs → acorex-modules-document-management-drive-choose.component-Ce0JZcwx.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-Lc6Kjy_S.mjs.map → acorex-modules-document-management-drive-choose.component-Ce0JZcwx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-D8MZClH0.mjs → acorex-modules-document-management-drive.component-CNkA0i-_.mjs} +3 -3
- package/fesm2022/acorex-modules-document-management-drive.component-CNkA0i-_.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BkZfQg0H.mjs → acorex-modules-document-management-large-icons-view.component-Dz8hPGMr.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BkZfQg0H.mjs.map → acorex-modules-document-management-large-icons-view.component-Dz8hPGMr.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-DSnB8pwb.mjs → acorex-modules-document-management-large-tiles-view.component-CM3pqS_m.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-DSnB8pwb.mjs.map → acorex-modules-document-management-large-tiles-view.component-CM3pqS_m.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-CCWk2Ulv.mjs → acorex-modules-document-management-list-view.component-BRkcm83Y.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-CCWk2Ulv.mjs.map → acorex-modules-document-management-list-view.component-BRkcm83Y.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-BC7Og6_y.mjs → acorex-modules-document-management-permission-definition.provider--qbpKS77.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-BC7Og6_y.mjs.map → acorex-modules-document-management-permission-definition.provider--qbpKS77.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-D6hWuJG8.mjs → acorex-modules-document-management-small-icons-view.component-C6JV_Dem.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-D6hWuJG8.mjs.map → acorex-modules-document-management-small-icons-view.component-C6JV_Dem.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DVEftaGK.mjs → acorex-modules-document-management-small-tiles-view.component-Be37TTaa.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DVEftaGK.mjs.map → acorex-modules-document-management-small-tiles-view.component-Be37TTaa.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/acorex-modules-locale-management.mjs +1 -1
- package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-notification-management-notification-page.component-BTSv9-bI.mjs → acorex-modules-notification-management-notification-page.component-Lz8J7q4k.mjs} +2 -2
- package/fesm2022/acorex-modules-notification-management-notification-page.component-Lz8J7q4k.mjs.map +1 -0
- package/fesm2022/acorex-modules-notification-management.mjs +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-Nq9gX7zW.mjs → acorex-modules-platform-management-acorex-modules-platform-management-BSFwJPkW.mjs} +5 -5
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-Nq9gX7zW.mjs.map → acorex-modules-platform-management-acorex-modules-platform-management-BSFwJPkW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-list-version.component-CtJOnijq.mjs → acorex-modules-platform-management-list-version.component-CcrYZek9.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-list-version.component-CtJOnijq.mjs.map → acorex-modules-platform-management-list-version.component-CcrYZek9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-BwnDs_72.mjs → acorex-modules-platform-management-menu-list.component-CaQSt7lg.mjs} +3 -3
- package/fesm2022/acorex-modules-platform-management-menu-list.component-CaQSt7lg.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-permission-definition.provider-DJ5bCaS9.mjs → acorex-modules-platform-management-permission-definition.provider-Oa9-EQjN.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-permission-definition.provider-DJ5bCaS9.mjs.map → acorex-modules-platform-management-permission-definition.provider-Oa9-EQjN.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-CasTcES1.mjs → acorex-modules-report-management-report-runner-root-page.component-BqXC17HC.mjs} +17 -3
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-BqXC17HC.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management.mjs +72 -33
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-security-management-acorex-modules-security-management-DDwXZErT.mjs → acorex-modules-security-management-acorex-modules-security-management-Dh6b7amt.mjs} +37 -15
- package/fesm2022/{acorex-modules-security-management-acorex-modules-security-management-DDwXZErT.mjs.map → acorex-modules-security-management-acorex-modules-security-management-Dh6b7amt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-security-management-permission-definition.provider-BI-BShPG.mjs → acorex-modules-security-management-permission-definition.provider-DJvuPqFx.mjs} +2 -2
- package/fesm2022/{acorex-modules-security-management-permission-definition.provider-BI-BShPG.mjs.map → acorex-modules-security-management-permission-definition.provider-DJvuPqFx.mjs.map} +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +1 -1
- package/package.json +6 -6
- package/report-management/index.d.ts +8 -4
- package/fesm2022/acorex-modules-data-management-acorex-modules-data-management-Ci9W347D.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-CTpQGWrH.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-drive.component-D8MZClH0.mjs.map +0 -1
- package/fesm2022/acorex-modules-notification-management-notification-page.component-BTSv9-bI.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-menu-list.component-BwnDs_72.mjs.map +0 -1
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-CasTcES1.mjs.map +0 -1
|
@@ -2167,21 +2167,43 @@ const AXPSessionTerminateWorkflow = {
|
|
|
2167
2167
|
class AXMUserAvatarProvider {
|
|
2168
2168
|
constructor() {
|
|
2169
2169
|
this.userService = inject(AXMUsersEntityService);
|
|
2170
|
+
this.sessionService = inject(AXPSessionService);
|
|
2170
2171
|
}
|
|
2171
2172
|
async provide(userId) {
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2173
|
+
// Try entity service first
|
|
2174
|
+
try {
|
|
2175
|
+
const user = await this.userService.getOne(userId);
|
|
2176
|
+
if (user) {
|
|
2177
|
+
const [firstName, lastName] = user.displayName.split(' ') || ['', ''];
|
|
2178
|
+
return {
|
|
2179
|
+
id: user.id,
|
|
2180
|
+
username: user.username,
|
|
2181
|
+
firstName: firstName || '',
|
|
2182
|
+
lastName: lastName || '',
|
|
2183
|
+
status: 'online',
|
|
2184
|
+
avatarUrl: `https://avatar.iran.liara.run/public/${AXPDataGenerator.pick([35, 22, 16, 6, 31])}`,
|
|
2185
|
+
};
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2188
|
+
catch (error) {
|
|
2189
|
+
// If entity service fails, fallback to session service for current user
|
|
2190
|
+
console.debug('Failed to load user from entity service, falling back to session data', error);
|
|
2191
|
+
}
|
|
2192
|
+
// Fallback: Use session service data for current user (mock mode)
|
|
2193
|
+
const currentUser = this.sessionService.user;
|
|
2194
|
+
if (currentUser && currentUser.id === userId) {
|
|
2195
|
+
const [firstName, lastName] = (currentUser.title || currentUser.name || '').split(' ') || ['', ''];
|
|
2196
|
+
return {
|
|
2197
|
+
id: currentUser.id,
|
|
2198
|
+
username: currentUser.name || '',
|
|
2199
|
+
firstName: firstName || '',
|
|
2200
|
+
lastName: lastName || '',
|
|
2201
|
+
status: 'online',
|
|
2202
|
+
avatarUrl: currentUser.avatar || `https://avatar.iran.liara.run/public/${AXPDataGenerator.pick([35, 22, 16, 6, 31])}`,
|
|
2203
|
+
};
|
|
2175
2204
|
}
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
id: user.id,
|
|
2179
|
-
username: user.username,
|
|
2180
|
-
firstName: firstName,
|
|
2181
|
-
lastName: lastName,
|
|
2182
|
-
status: 'online',
|
|
2183
|
-
avatarUrl: `https://avatar.iran.liara.run/public/${AXPDataGenerator.pick([35, 22, 16, 6, 31])}`,
|
|
2184
|
-
};
|
|
2205
|
+
// If all fallbacks fail, throw error
|
|
2206
|
+
throw new Error(`User not found for ${userId}`);
|
|
2185
2207
|
}
|
|
2186
2208
|
}
|
|
2187
2209
|
|
|
@@ -2478,7 +2500,7 @@ class AXMSecurityManagementModule {
|
|
|
2478
2500
|
multi: true,
|
|
2479
2501
|
useFactory: async () => {
|
|
2480
2502
|
const injector = inject(Injector);
|
|
2481
|
-
const provider = (await import('./acorex-modules-security-management-permission-definition.provider-
|
|
2503
|
+
const provider = (await import('./acorex-modules-security-management-permission-definition.provider-DJvuPqFx.mjs')).AXMPermissionDefinitionProvider;
|
|
2482
2504
|
return new provider(injector);
|
|
2483
2505
|
},
|
|
2484
2506
|
},
|
|
@@ -2556,7 +2578,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
2556
2578
|
multi: true,
|
|
2557
2579
|
useFactory: async () => {
|
|
2558
2580
|
const injector = inject(Injector);
|
|
2559
|
-
const provider = (await import('./acorex-modules-security-management-permission-definition.provider-
|
|
2581
|
+
const provider = (await import('./acorex-modules-security-management-permission-definition.provider-DJvuPqFx.mjs')).AXMPermissionDefinitionProvider;
|
|
2560
2582
|
return new provider(injector);
|
|
2561
2583
|
},
|
|
2562
2584
|
},
|
|
@@ -3096,4 +3118,4 @@ var permissionsWidgetDesigner_component = /*#__PURE__*/Object.freeze({
|
|
|
3096
3118
|
*/
|
|
3097
3119
|
|
|
3098
3120
|
export { AXMPermissionsKeys as A, RootConfig as R, AXMSecurityManagementDeviceSessionsEntityModule as a, AXMSecurityManagementRolesEntityService as b, AXMSecurityManagementRolesEntityServiceImpl as c, AXMUsersEntityService as d, AXMUsersEntityServiceImpl as e, factory$3 as f, AXMPolicyService as g, AXMPolicyServiceImpl as h, AXPSecurityManagementMenuKeys as i, AXMSecurityManagementModule as j, AXPPermissionsEditorComponent as k, AXPPermissionsEditorPopupComponent as l, AXMPermissionsModule as m, AXPPermissionsWidgetViewComponent as n, AXPPermissionsWidgetEditComponent as o, policyFactory as p, AXPPermissionsWidgetColumnComponent as q, AXPPermissionsWidgetPrintComponent as r, AXPPermissionsWidgetDesignerComponent as s, AXPPermissionsWidget as t };
|
|
3099
|
-
//# sourceMappingURL=acorex-modules-security-management-acorex-modules-security-management-
|
|
3121
|
+
//# sourceMappingURL=acorex-modules-security-management-acorex-modules-security-management-Dh6b7amt.mjs.map
|