@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
|
@@ -5254,7 +5254,7 @@ class AXMDashboardPopupService {
|
|
|
5254
5254
|
.query({ skip: 0, take: 100 })
|
|
5255
5255
|
.catch(() => ({ items: [] }))).items.map((i) => ({ id: i.id, title: i.title }))
|
|
5256
5256
|
: [];
|
|
5257
|
-
const
|
|
5257
|
+
const result = await this.layoutBuilder
|
|
5258
5258
|
.create()
|
|
5259
5259
|
.dialog((dialog) => {
|
|
5260
5260
|
dialog
|
|
@@ -5303,31 +5303,32 @@ class AXMDashboardPopupService {
|
|
|
5303
5303
|
})
|
|
5304
5304
|
.setActions((actions) => {
|
|
5305
5305
|
actions.cancel('@general:actions.cancel.title').submit('@general:actions.save.title');
|
|
5306
|
+
})
|
|
5307
|
+
.onAction(async (dialogRef) => {
|
|
5308
|
+
const context = dialogRef.context();
|
|
5309
|
+
const action = dialogRef.action();
|
|
5310
|
+
if (!context || action === 'cancel') {
|
|
5311
|
+
return undefined;
|
|
5312
|
+
}
|
|
5313
|
+
const formData = context;
|
|
5314
|
+
const now = new Date();
|
|
5315
|
+
const userId = this.sessionService.user?.id;
|
|
5316
|
+
return {
|
|
5317
|
+
...data,
|
|
5318
|
+
title: (formData['title'] ?? '').toString().trim(),
|
|
5319
|
+
description: (formData['description'] ?? '').toString().trim(),
|
|
5320
|
+
roleIds: isAdmin ? (formData['selectedRoleIds'] ?? []) : undefined,
|
|
5321
|
+
isDeleted: isAdmin ? Boolean(formData['isDisabled']) : undefined,
|
|
5322
|
+
locked: isAdmin ? Boolean(formData['isLocked']) : undefined,
|
|
5323
|
+
scope: isAdmin ? 'T' : 'U',
|
|
5324
|
+
createdBy: userId,
|
|
5325
|
+
createdAt: now,
|
|
5326
|
+
updatedBy: userId,
|
|
5327
|
+
updatedAt: now,
|
|
5328
|
+
};
|
|
5306
5329
|
});
|
|
5307
5330
|
})
|
|
5308
5331
|
.show();
|
|
5309
|
-
const formData = dialogRef.context() ?? {};
|
|
5310
|
-
const action = dialogRef.action();
|
|
5311
|
-
if (action === 'cancel') {
|
|
5312
|
-
dialogRef.close();
|
|
5313
|
-
return;
|
|
5314
|
-
}
|
|
5315
|
-
const now = new Date();
|
|
5316
|
-
const userId = this.sessionService.user?.id;
|
|
5317
|
-
const result = {
|
|
5318
|
-
...data,
|
|
5319
|
-
title: (formData['title'] ?? '').trim(),
|
|
5320
|
-
description: (formData['description'] ?? '').trim(),
|
|
5321
|
-
roleIds: isAdmin ? (formData['selectedRoleIds'] ?? []) : undefined,
|
|
5322
|
-
isDeleted: isAdmin ? Boolean(formData['isDisabled']) : undefined,
|
|
5323
|
-
locked: isAdmin ? Boolean(formData['isLocked']) : undefined,
|
|
5324
|
-
scope: isAdmin ? 'T' : 'U',
|
|
5325
|
-
createdBy: userId,
|
|
5326
|
-
createdAt: now,
|
|
5327
|
-
updatedBy: userId,
|
|
5328
|
-
updatedAt: now,
|
|
5329
|
-
};
|
|
5330
|
-
dialogRef.close();
|
|
5331
5332
|
return result;
|
|
5332
5333
|
}
|
|
5333
5334
|
async handlePopupConfiguration(widget) {
|