@acorex/modules 20.3.0-next.3 → 20.3.0-next.5
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-content-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-DDriJFmP.mjs → acorex-modules-document-management-acorex-modules-document-management-DhEDQZru.mjs} +122 -80
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-DDriJFmP.mjs.map → acorex-modules-document-management-acorex-modules-document-management-DhEDQZru.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-OYJu4IJz.mjs → acorex-modules-document-management-attachment-widget.component-Bx2Ps7uX.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-OYJu4IJz.mjs.map → acorex-modules-document-management-attachment-widget.component-Bx2Ps7uX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-CZzlGMcu.mjs → acorex-modules-document-management-create-folder-dialog.component-B26m8qWj.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-CZzlGMcu.mjs.map → acorex-modules-document-management-create-folder-dialog.component-B26m8qWj.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-VdV7xGPS.mjs → acorex-modules-document-management-details-view.component-3DmulyK_.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-VdV7xGPS.mjs.map → acorex-modules-document-management-details-view.component-3DmulyK_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-Gi0_m0oe.mjs → acorex-modules-document-management-document-signature-popup.component-DmR6gFdD.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-Gi0_m0oe.mjs.map → acorex-modules-document-management-document-signature-popup.component-DmR6gFdD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BgRZ_nhs.mjs → acorex-modules-document-management-drive-choose.component-BNyPOrzl.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BgRZ_nhs.mjs.map → acorex-modules-document-management-drive-choose.component-BNyPOrzl.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-BRCGsnuI.mjs → acorex-modules-document-management-drive.component-D5X_bI5D.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive.component-BRCGsnuI.mjs.map → acorex-modules-document-management-drive.component-D5X_bI5D.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-CnsPx3K3.mjs → acorex-modules-document-management-large-icons-view.component-AzDtXQqt.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-CnsPx3K3.mjs.map → acorex-modules-document-management-large-icons-view.component-AzDtXQqt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-D4OUme1W.mjs → acorex-modules-document-management-large-tiles-view.component-DCG_v9JT.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-D4OUme1W.mjs.map → acorex-modules-document-management-large-tiles-view.component-DCG_v9JT.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-C7i4jI9h.mjs → acorex-modules-document-management-list-view.component-Cb2OVElN.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-C7i4jI9h.mjs.map → acorex-modules-document-management-list-view.component-Cb2OVElN.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DHVn7RIv.mjs → acorex-modules-document-management-rename-node-dialog.component-B7gcoDDb.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DHVn7RIv.mjs.map → acorex-modules-document-management-rename-node-dialog.component-B7gcoDDb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-By36moe5.mjs → acorex-modules-document-management-small-icons-view.component-EN4ttbvx.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-By36moe5.mjs.map → acorex-modules-document-management-small-icons-view.component-EN4ttbvx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-CO6MfsEU.mjs → acorex-modules-document-management-small-tiles-view.component-C-HjbNwe.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-CO6MfsEU.mjs.map → acorex-modules-document-management-small-tiles-view.component-C-HjbNwe.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-WkDn4mpE.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-BQ_KNd7M.mjs} +23 -12
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-WkDn4mpE.mjs.map → acorex-modules-human-capital-management-acorex-modules-human-capital-management-BQ_KNd7M.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-DsUYujPr.mjs → acorex-modules-human-capital-management-employee-skill.entity-3wofaUXu.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-DsUYujPr.mjs.map → acorex-modules-human-capital-management-employee-skill.entity-3wofaUXu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-CC-LIIki.mjs → acorex-modules-human-capital-management-employee.entity-1fVathnk.mjs} +10 -8
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-1fVathnk.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-Mgkdm2vo.mjs → acorex-modules-human-capital-management-employment-type.entity-BWrwli0P.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-Mgkdm2vo.mjs.map → acorex-modules-human-capital-management-employment-type.entity-BWrwli0P.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-BJyciZGL.mjs → acorex-modules-human-capital-management-leave-request.entity-4ddc6R_K.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-BJyciZGL.mjs.map → acorex-modules-human-capital-management-leave-request.entity-4ddc6R_K.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-IewYlMLV.mjs → acorex-modules-human-capital-management-leave-type.entity-DYYJVRju.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-IewYlMLV.mjs.map → acorex-modules-human-capital-management-leave-type.entity-DYYJVRju.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-BlKFRnO0.mjs → acorex-modules-human-capital-management-position-assignment.entity-DIqdhqk4.mjs} +7 -53
- package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-DIqdhqk4.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-De1qKpcU.mjs → acorex-modules-human-capital-management-skill-level.entity-BN67pBaa.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-De1qKpcU.mjs.map → acorex-modules-human-capital-management-skill-level.entity-BN67pBaa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-skill.entity-RrnBU0M5.mjs → acorex-modules-human-capital-management-skill.entity-D4CglCC7.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-skill.entity-RrnBU0M5.mjs.map → acorex-modules-human-capital-management-skill.entity-D4CglCC7.mjs.map} +1 -1
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-keZ4Gk7y.mjs +544 -0
- package/fesm2022/acorex-modules-organization-management-org-chart.page-keZ4Gk7y.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-position.entity-DK-i78ck.mjs → acorex-modules-organization-management-position.entity-CzBbuApR.mjs} +47 -1
- package/fesm2022/acorex-modules-organization-management-position.entity-CzBbuApR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-settings.provider-feVwZnkw.mjs → acorex-modules-organization-management-settings.provider-BvOAb0jb.mjs} +21 -2
- package/fesm2022/acorex-modules-organization-management-settings.provider-BvOAb0jb.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +358 -240
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +76 -16
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-Y-liTcuX.mjs → acorex-modules-settings-management-setting-page.component-IG1o_0Dp.mjs} +17 -14
- package/fesm2022/acorex-modules-settings-management-setting-page.component-IG1o_0Dp.mjs.map +1 -0
- package/fesm2022/acorex-modules-settings-management.mjs +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-task-management.mjs +0 -3
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/organization-management/README.md +98 -2
- package/organization-management/index.d.ts +44 -123
- package/package.json +1 -1
- package/report-management/index.d.ts +31 -3
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-CC-LIIki.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-BlKFRnO0.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-add-item.component-CtuULLkY.mjs +0 -89
- package/fesm2022/acorex-modules-organization-management-add-item.component-CtuULLkY.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-branch.entity-C4Le6Kv6.mjs +0 -317
- package/fesm2022/acorex-modules-organization-management-branch.entity-C4Le6Kv6.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-department.entity-BkEbajpN.mjs +0 -288
- package/fesm2022/acorex-modules-organization-management-department.entity-BkEbajpN.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-division.entity-Cds8jkR5.mjs +0 -515
- package/fesm2022/acorex-modules-organization-management-division.entity-Cds8jkR5.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-DfwjhVRX.mjs +0 -116
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-DfwjhVRX.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.service-D7NlQXp2.mjs +0 -147
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.service-D7NlQXp2.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-DeqD7PyH.mjs +0 -989
- package/fesm2022/acorex-modules-organization-management-org-chart.page-DeqD7PyH.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-position.entity-DK-i78ck.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-settings.keys-B3cgSi_S.mjs +0 -22
- package/fesm2022/acorex-modules-organization-management-settings.keys-B3cgSi_S.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-settings.provider-feVwZnkw.mjs.map +0 -1
- package/fesm2022/acorex-modules-settings-management-setting-page.component-Y-liTcuX.mjs.map +0 -1
|
@@ -5720,7 +5720,7 @@ class AXMDocumentSignaturePopupAction extends AXPWorkflowAction {
|
|
|
5720
5720
|
const documentId = context.getVariable('options.id');
|
|
5721
5721
|
const documentTitle = context.getVariable('options.title');
|
|
5722
5722
|
const fileId = context.getVariable('options.fileId');
|
|
5723
|
-
const comp = await import('./acorex-modules-document-management-document-signature-popup.component-
|
|
5723
|
+
const comp = await import('./acorex-modules-document-management-document-signature-popup.component-DmR6gFdD.mjs')
|
|
5724
5724
|
.then(x => x.AXMDocumentSignaturePopupComponent);
|
|
5725
5725
|
console.log(fileId);
|
|
5726
5726
|
const result = await this.popupService.open(comp, {
|
|
@@ -6434,7 +6434,7 @@ class AXMDocumentManagerService {
|
|
|
6434
6434
|
* Moves a node to another location
|
|
6435
6435
|
*/
|
|
6436
6436
|
async moveTo(options) {
|
|
6437
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
|
6437
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-BNyPOrzl.mjs')).AXMDocumentDriveChooseComponent;
|
|
6438
6438
|
const popup = await this.popupService.open(comp, {
|
|
6439
6439
|
title: `Choose ${options.browseMode == 'file' ? 'File' : 'Folder'}`,
|
|
6440
6440
|
data: {
|
|
@@ -6467,7 +6467,7 @@ class AXMDocumentManagerService {
|
|
|
6467
6467
|
* Copies a node to another location
|
|
6468
6468
|
*/
|
|
6469
6469
|
async copyTo(options) {
|
|
6470
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
|
6470
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-BNyPOrzl.mjs')).AXMDocumentDriveChooseComponent;
|
|
6471
6471
|
const popup = await this.popupService.open(comp, {
|
|
6472
6472
|
title: `Choose ${options.browseMode == 'file' ? 'File' : 'Folder'}`,
|
|
6473
6473
|
data: {
|
|
@@ -6744,7 +6744,7 @@ class AXMDocumentManagerService {
|
|
|
6744
6744
|
* Shows folder edit dialog
|
|
6745
6745
|
*/
|
|
6746
6746
|
async showFolderEditDialog(node) {
|
|
6747
|
-
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-
|
|
6747
|
+
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-B26m8qWj.mjs'))
|
|
6748
6748
|
.AXMCreateFolderDialog;
|
|
6749
6749
|
const popup = await this.popupService.open(comp, {
|
|
6750
6750
|
title: await this.translate.translateAsync('@document-management:actions.update-folder'),
|
|
@@ -6758,7 +6758,7 @@ class AXMDocumentManagerService {
|
|
|
6758
6758
|
* Shows create folder dialog
|
|
6759
6759
|
*/
|
|
6760
6760
|
async showCreateFolderDialog(parentId) {
|
|
6761
|
-
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-
|
|
6761
|
+
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-B26m8qWj.mjs'))
|
|
6762
6762
|
.AXMCreateFolderDialog;
|
|
6763
6763
|
const popup = await this.popupService.open(comp, {
|
|
6764
6764
|
title: await this.translate.translateAsync('@document-management:actions.create-folder'),
|
|
@@ -6772,7 +6772,7 @@ class AXMDocumentManagerService {
|
|
|
6772
6772
|
* Shows rename popup for a node
|
|
6773
6773
|
*/
|
|
6774
6774
|
async showRenamePopup(node) {
|
|
6775
|
-
const comp = (await import('./acorex-modules-document-management-rename-node-dialog.component-
|
|
6775
|
+
const comp = (await import('./acorex-modules-document-management-rename-node-dialog.component-B7gcoDDb.mjs'))
|
|
6776
6776
|
.AXMRenameNodeDialog;
|
|
6777
6777
|
const popup = await this.popupService.open(comp, {
|
|
6778
6778
|
title: 't("actions.rename")',
|
|
@@ -6798,7 +6798,7 @@ class AXMDocumentManagerService {
|
|
|
6798
6798
|
* Shows choose file dialog
|
|
6799
6799
|
*/
|
|
6800
6800
|
async showChooseFileDialog(scope) {
|
|
6801
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
|
6801
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-BNyPOrzl.mjs')).AXMDocumentDriveChooseComponent;
|
|
6802
6802
|
const result = await this.popupService.open(comp, {
|
|
6803
6803
|
title: await this.translate.translateAsync('@document-management:actions.choose-from-drive'),
|
|
6804
6804
|
data: {
|
|
@@ -8132,13 +8132,13 @@ class AXMDocumentExplorerComponent {
|
|
|
8132
8132
|
this.showContextMenu = input(true, ...(ngDevMode ? [{ debugName: "showContextMenu" }] : []));
|
|
8133
8133
|
this.view = signal(null, ...(ngDevMode ? [{ debugName: "view" }] : []));
|
|
8134
8134
|
this.viewMap = {
|
|
8135
|
-
list: async () => (await import('./acorex-modules-document-management-list-view.component-
|
|
8136
|
-
'small-tiles': async () => (await import('./acorex-modules-document-management-small-tiles-view.component-
|
|
8137
|
-
'large-tiles': async () => (await import('./acorex-modules-document-management-large-tiles-view.component-
|
|
8138
|
-
details: async () => (await import('./acorex-modules-document-management-details-view.component-
|
|
8139
|
-
'large-icons': async () => (await import('./acorex-modules-document-management-large-icons-view.component-
|
|
8140
|
-
'small-icons': async () => (await import('./acorex-modules-document-management-small-icons-view.component-
|
|
8141
|
-
'attachment': async () => (await import('./acorex-modules-document-management-attachment-widget.component-
|
|
8135
|
+
list: async () => (await import('./acorex-modules-document-management-list-view.component-Cb2OVElN.mjs')).AXMDocumentExplorerListViewComponent,
|
|
8136
|
+
'small-tiles': async () => (await import('./acorex-modules-document-management-small-tiles-view.component-C-HjbNwe.mjs')).AXMDocumentExplorerSmallTilesViewComponent,
|
|
8137
|
+
'large-tiles': async () => (await import('./acorex-modules-document-management-large-tiles-view.component-DCG_v9JT.mjs')).AXMDocumentExplorerLargeTilesViewComponent,
|
|
8138
|
+
details: async () => (await import('./acorex-modules-document-management-details-view.component-3DmulyK_.mjs')).AXMDocumentExplorerDetailsViewComponent,
|
|
8139
|
+
'large-icons': async () => (await import('./acorex-modules-document-management-large-icons-view.component-AzDtXQqt.mjs')).AXMDocumentExplorerLargeIconsViewComponent,
|
|
8140
|
+
'small-icons': async () => (await import('./acorex-modules-document-management-small-icons-view.component-EN4ttbvx.mjs')).AXMDocumentExplorerSmallIconsViewComponent,
|
|
8141
|
+
'attachment': async () => (await import('./acorex-modules-document-management-attachment-widget.component-Bx2Ps7uX.mjs')).AXMDocumentExplorerAttachmentComponent,
|
|
8142
8142
|
};
|
|
8143
8143
|
this.#effect = effect(() => {
|
|
8144
8144
|
if (this.vm.loadingFolderId() == null) {
|
|
@@ -8343,51 +8343,38 @@ class AXMetaListItemComponent {
|
|
|
8343
8343
|
}
|
|
8344
8344
|
</p>
|
|
8345
8345
|
</div>
|
|
8346
|
-
|
|
8347
|
-
@if (item().status === 'deleted') {
|
|
8348
|
-
<div class="__status-badge">
|
|
8349
|
-
<ax-icon icon="fa-light fa-trash" class="__icon"></ax-icon>
|
|
8350
|
-
<span>{{ t('@document-management:meta.deleted') | async }}</span>
|
|
8351
|
-
</div>
|
|
8352
|
-
}
|
|
8353
8346
|
</div>
|
|
8354
8347
|
</div>
|
|
8355
8348
|
|
|
8356
8349
|
<div class="__actions">
|
|
8357
8350
|
@if (item().status === 'deleted') {
|
|
8358
8351
|
<ax-button
|
|
8359
|
-
class="ax-
|
|
8360
|
-
look="
|
|
8361
|
-
color="
|
|
8352
|
+
class="ax-sm"
|
|
8353
|
+
[look]="'blank'"
|
|
8354
|
+
color="warning"
|
|
8362
8355
|
(onClick)="handleRevert()">
|
|
8363
|
-
<ax-
|
|
8364
|
-
<ax-icon icon="fa-light fa-undo"></ax-icon>
|
|
8365
|
-
</ax-prefix>
|
|
8356
|
+
<ax-icon class="fa-light fa-rotate-left"></ax-icon>
|
|
8366
8357
|
</ax-button>
|
|
8367
8358
|
} @else {
|
|
8368
8359
|
<ax-button
|
|
8369
|
-
|
|
8370
|
-
|
|
8371
|
-
color="
|
|
8360
|
+
[look]="'blank'"
|
|
8361
|
+
class="ax-sm"
|
|
8362
|
+
color="secondary"
|
|
8372
8363
|
(onClick)="handleEdit()">
|
|
8373
|
-
<ax-
|
|
8374
|
-
<ax-icon icon="fa-light fa-edit"></ax-icon>
|
|
8375
|
-
</ax-prefix>
|
|
8364
|
+
<ax-icon class="fa-light fa-pencil"></ax-icon>
|
|
8376
8365
|
</ax-button>
|
|
8377
8366
|
|
|
8378
8367
|
<ax-button
|
|
8379
|
-
|
|
8380
|
-
|
|
8368
|
+
[look]="'blank'"
|
|
8369
|
+
class="ax-sm"
|
|
8381
8370
|
color="danger"
|
|
8382
8371
|
(onClick)="handleRemove()">
|
|
8383
|
-
<ax-
|
|
8384
|
-
<ax-icon icon="fa-light fa-trash"></ax-icon>
|
|
8385
|
-
</ax-prefix>
|
|
8372
|
+
<ax-icon class="fa-light fa-trash-can"></ax-icon>
|
|
8386
8373
|
</ax-button>
|
|
8387
8374
|
}
|
|
8388
8375
|
</div>
|
|
8389
8376
|
</div>
|
|
8390
|
-
`, isInline: true, styles: [".axp-meta-list-item{display:flex;align-items:center;justify-content:space-between;border-radius:.375rem;
|
|
8377
|
+
`, isInline: true, styles: [".axp-meta-list-item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;border-radius:.375rem;border-left-width:4px;border-color:transparent;padding:.5rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}.axp-meta-list-item:hover{background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}.axp-meta-list-item.__deleted{--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-danger-500),var(--tw-border-opacity, 1))}.axp-meta-list-item.__deleted{--tw-bg-opacity: 1;background-color:rgba(var(--ax-sys-color-danger-50),var(--tw-bg-opacity, 1))}.axp-meta-list-item .__content{flex:1 1 0%}.axp-meta-list-item .__content .__header{display:flex}.axp-meta-list-item .__content .__header{align-items:center}.axp-meta-list-item .__content .__header{justify-content:space-between}.axp-meta-list-item .__content .__header .__info{flex:1 1 0%}.axp-meta-list-item .__content .__header .__info .__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.axp-meta-list-item .__content .__header .__info .__title{text-align:start}.axp-meta-list-item .__content .__header .__info .__title{font-size:.875rem;line-height:1.25rem}.axp-meta-list-item .__content .__header .__info .__title{font-weight:500}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{display:inline-flex}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{align-items:center}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{border-radius:9999px}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{padding-left:.5rem;padding-right:.5rem}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{padding-top:.25rem;padding-bottom:.25rem}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{font-size:.75rem;line-height:1rem}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{font-weight:500}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity, 1))}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{--tw-text-opacity: 1;color:rgb(154 52 18 / var(--tw-text-opacity, 1))}.axp-meta-list-item .__actions{margin-left:auto}.axp-meta-list-item .__actions{display:flex}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i5.AXTranslatorDirective, selector: "[translate]" }, { kind: "pipe", type: i1$4.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8391
8378
|
}
|
|
8392
8379
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXMetaListItemComponent, decorators: [{
|
|
8393
8380
|
type: Component,
|
|
@@ -8403,46 +8390,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
8403
8390
|
}
|
|
8404
8391
|
</p>
|
|
8405
8392
|
</div>
|
|
8406
|
-
|
|
8407
|
-
@if (item().status === 'deleted') {
|
|
8408
|
-
<div class="__status-badge">
|
|
8409
|
-
<ax-icon icon="fa-light fa-trash" class="__icon"></ax-icon>
|
|
8410
|
-
<span>{{ t('@document-management:meta.deleted') | async }}</span>
|
|
8411
|
-
</div>
|
|
8412
|
-
}
|
|
8413
8393
|
</div>
|
|
8414
8394
|
</div>
|
|
8415
8395
|
|
|
8416
8396
|
<div class="__actions">
|
|
8417
8397
|
@if (item().status === 'deleted') {
|
|
8418
8398
|
<ax-button
|
|
8419
|
-
class="ax-
|
|
8420
|
-
look="
|
|
8421
|
-
color="
|
|
8399
|
+
class="ax-sm"
|
|
8400
|
+
[look]="'blank'"
|
|
8401
|
+
color="warning"
|
|
8422
8402
|
(onClick)="handleRevert()">
|
|
8423
|
-
<ax-
|
|
8424
|
-
<ax-icon icon="fa-light fa-undo"></ax-icon>
|
|
8425
|
-
</ax-prefix>
|
|
8403
|
+
<ax-icon class="fa-light fa-rotate-left"></ax-icon>
|
|
8426
8404
|
</ax-button>
|
|
8427
8405
|
} @else {
|
|
8428
8406
|
<ax-button
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
color="
|
|
8407
|
+
[look]="'blank'"
|
|
8408
|
+
class="ax-sm"
|
|
8409
|
+
color="secondary"
|
|
8432
8410
|
(onClick)="handleEdit()">
|
|
8433
|
-
<ax-
|
|
8434
|
-
<ax-icon icon="fa-light fa-edit"></ax-icon>
|
|
8435
|
-
</ax-prefix>
|
|
8411
|
+
<ax-icon class="fa-light fa-pencil"></ax-icon>
|
|
8436
8412
|
</ax-button>
|
|
8437
8413
|
|
|
8438
8414
|
<ax-button
|
|
8439
|
-
|
|
8440
|
-
|
|
8415
|
+
[look]="'blank'"
|
|
8416
|
+
class="ax-sm"
|
|
8441
8417
|
color="danger"
|
|
8442
8418
|
(onClick)="handleRemove()">
|
|
8443
|
-
<ax-
|
|
8444
|
-
<ax-icon icon="fa-light fa-trash"></ax-icon>
|
|
8445
|
-
</ax-prefix>
|
|
8419
|
+
<ax-icon class="fa-light fa-trash-can"></ax-icon>
|
|
8446
8420
|
</ax-button>
|
|
8447
8421
|
}
|
|
8448
8422
|
</div>
|
|
@@ -8452,7 +8426,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
8452
8426
|
AXButtonModule,
|
|
8453
8427
|
AXDecoratorModule,
|
|
8454
8428
|
AXTranslationModule
|
|
8455
|
-
], styles: [".axp-meta-list-item{display:flex;align-items:center;justify-content:space-between;border-radius:.375rem;
|
|
8429
|
+
], styles: [".axp-meta-list-item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;border-radius:.375rem;border-left-width:4px;border-color:transparent;padding:.5rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}.axp-meta-list-item:hover{background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}.axp-meta-list-item.__deleted{--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-danger-500),var(--tw-border-opacity, 1))}.axp-meta-list-item.__deleted{--tw-bg-opacity: 1;background-color:rgba(var(--ax-sys-color-danger-50),var(--tw-bg-opacity, 1))}.axp-meta-list-item .__content{flex:1 1 0%}.axp-meta-list-item .__content .__header{display:flex}.axp-meta-list-item .__content .__header{align-items:center}.axp-meta-list-item .__content .__header{justify-content:space-between}.axp-meta-list-item .__content .__header .__info{flex:1 1 0%}.axp-meta-list-item .__content .__header .__info .__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.axp-meta-list-item .__content .__header .__info .__title{text-align:start}.axp-meta-list-item .__content .__header .__info .__title{font-size:.875rem;line-height:1.25rem}.axp-meta-list-item .__content .__header .__info .__title{font-weight:500}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{display:inline-flex}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{align-items:center}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{border-radius:9999px}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{padding-left:.5rem;padding-right:.5rem}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{padding-top:.25rem;padding-bottom:.25rem}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{font-size:.75rem;line-height:1rem}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{font-weight:500}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity, 1))}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{--tw-text-opacity: 1;color:rgb(154 52 18 / var(--tw-text-opacity, 1))}.axp-meta-list-item .__actions{margin-left:auto}.axp-meta-list-item .__actions{display:flex}\n"] }]
|
|
8456
8430
|
}] });
|
|
8457
8431
|
|
|
8458
8432
|
class AXMetaListComponent {
|
|
@@ -9636,19 +9610,87 @@ const DocumentFileUploaderFileItemActionsProvider = {
|
|
|
9636
9610
|
const isExcluded = Array.isArray(payload.excludePlugins) && payload.excludePlugins.includes('document');
|
|
9637
9611
|
if (!isEnabled || isExcluded)
|
|
9638
9612
|
return payload;
|
|
9639
|
-
payload.actions
|
|
9640
|
-
|
|
9641
|
-
|
|
9642
|
-
|
|
9643
|
-
|
|
9644
|
-
|
|
9645
|
-
|
|
9646
|
-
|
|
9647
|
-
|
|
9648
|
-
|
|
9649
|
-
|
|
9650
|
-
|
|
9651
|
-
|
|
9613
|
+
const actions = [...(payload.actions ?? [])];
|
|
9614
|
+
actions.push({
|
|
9615
|
+
plugin: 'document',
|
|
9616
|
+
global: false,
|
|
9617
|
+
textKey: '@document-management:actions.edit-metadata',
|
|
9618
|
+
icon: 'fa-light fa-pen-to-square',
|
|
9619
|
+
run: async (_ctx) => { },
|
|
9620
|
+
});
|
|
9621
|
+
// Conditionally add Review / Distribute based on document type flags
|
|
9622
|
+
const opts = (payload.plugins.find(p => p.name === 'document')?.options ?? {});
|
|
9623
|
+
if (opts.docTypeName) {
|
|
9624
|
+
const injector = inject(Injector);
|
|
9625
|
+
const docTypeService = injector.get(AXMDocumentTypeService);
|
|
9626
|
+
const documentService = injector.get(AXMDocumentService);
|
|
9627
|
+
const workflow = injector.get(AXPWorkflowService);
|
|
9628
|
+
const docType = await docTypeService.getByName(opts.docTypeName);
|
|
9629
|
+
const requiresReview = !!docType?.requiresReview;
|
|
9630
|
+
const requiresDistribution = !!docType?.requiresDistribution;
|
|
9631
|
+
// Show review/distribute actions only for uploaded/persisted files
|
|
9632
|
+
const isUploaded = (payload.item?.status === 'uploaded') ||
|
|
9633
|
+
(payload.item?.source?.kind === 'fileId' && typeof payload.item?.source?.value === 'string');
|
|
9634
|
+
if (!isUploaded) {
|
|
9635
|
+
payload.actions = actions;
|
|
9636
|
+
return payload;
|
|
9637
|
+
}
|
|
9638
|
+
// Attempt to resolve owning document by fileId (when item is persisted)
|
|
9639
|
+
let document = payload.item?.documentData ?? null;
|
|
9640
|
+
const fileId = payload.item?.source?.kind === 'fileId' ? payload.item?.source?.value : undefined;
|
|
9641
|
+
if (!document && typeof fileId === 'string' && fileId) {
|
|
9642
|
+
const resp = await documentService.query({
|
|
9643
|
+
skip: 0,
|
|
9644
|
+
take: 1,
|
|
9645
|
+
filter: { field: 'fileId', operator: { type: 'equal' }, value: fileId },
|
|
9646
|
+
});
|
|
9647
|
+
document = resp?.items?.[0] ?? null;
|
|
9648
|
+
}
|
|
9649
|
+
const status = document?.status;
|
|
9650
|
+
// Gate actions by current document status when available
|
|
9651
|
+
if (requiresReview) {
|
|
9652
|
+
if (!status || status === 'Draft') {
|
|
9653
|
+
actions.push({
|
|
9654
|
+
plugin: 'document',
|
|
9655
|
+
global: false,
|
|
9656
|
+
textKey: '@document-management:actions.send-to-review',
|
|
9657
|
+
icon: 'fa-light fa-share-from-square',
|
|
9658
|
+
run: async () => {
|
|
9659
|
+
await workflow.execute('send-to-review', {
|
|
9660
|
+
options: { id: document?.id ?? payload.item?.id, title: document?.title ?? payload.item?.name },
|
|
9661
|
+
});
|
|
9662
|
+
},
|
|
9663
|
+
});
|
|
9664
|
+
}
|
|
9665
|
+
else if (status === 'PendingReview') {
|
|
9666
|
+
actions.push({
|
|
9667
|
+
plugin: 'document',
|
|
9668
|
+
global: false,
|
|
9669
|
+
textKey: '@document-management:actions.submit-review',
|
|
9670
|
+
icon: 'fa-light fa-clipboard-check',
|
|
9671
|
+
run: async () => {
|
|
9672
|
+
await workflow.execute('submit-review', {
|
|
9673
|
+
options: { id: document?.reviewRecordId },
|
|
9674
|
+
});
|
|
9675
|
+
},
|
|
9676
|
+
});
|
|
9677
|
+
}
|
|
9678
|
+
}
|
|
9679
|
+
if (requiresDistribution && (status === 'Reviewed' || status === 'Completed')) {
|
|
9680
|
+
actions.push({
|
|
9681
|
+
plugin: 'document',
|
|
9682
|
+
global: false,
|
|
9683
|
+
textKey: '@document-management:actions.distribute',
|
|
9684
|
+
icon: 'fa-light fa-diagram-project',
|
|
9685
|
+
run: async () => {
|
|
9686
|
+
await workflow.execute('distributed', {
|
|
9687
|
+
options: { id: document?.id ?? payload.item?.id, title: document?.title ?? payload.item?.name },
|
|
9688
|
+
});
|
|
9689
|
+
},
|
|
9690
|
+
});
|
|
9691
|
+
}
|
|
9692
|
+
}
|
|
9693
|
+
payload.actions = actions;
|
|
9652
9694
|
return payload;
|
|
9653
9695
|
},
|
|
9654
9696
|
};
|
|
@@ -9734,11 +9776,11 @@ function routesFacory() {
|
|
|
9734
9776
|
children: [
|
|
9735
9777
|
{
|
|
9736
9778
|
path: '',
|
|
9737
|
-
loadComponent: () => import('./acorex-modules-document-management-drive.component-
|
|
9779
|
+
loadComponent: () => import('./acorex-modules-document-management-drive.component-D5X_bI5D.mjs').then((c) => c.AXMDocumentDriveComponent),
|
|
9738
9780
|
},
|
|
9739
9781
|
{
|
|
9740
9782
|
path: ':id',
|
|
9741
|
-
loadComponent: () => import('./acorex-modules-document-management-drive.component-
|
|
9783
|
+
loadComponent: () => import('./acorex-modules-document-management-drive.component-D5X_bI5D.mjs').then((c) => c.AXMDocumentDriveComponent),
|
|
9742
9784
|
},
|
|
9743
9785
|
],
|
|
9744
9786
|
},
|
|
@@ -9958,4 +10000,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
9958
10000
|
*/
|
|
9959
10001
|
|
|
9960
10002
|
export { AXPDocumentUploaderWidgetViewComponent as $, AXPDocumentExplorerViewModel as A, AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl as B, documentRelatedFactory as C, folderFactory as D, AXMFolderService as E, AXMFolderServiceImpl as F, AXMFolderEntityModule as G, reviewFactory as H, AXMReviewService as I, AXMReviewServiceImpl as J, AXMReviewEntityModule as K, distributionFactory as L, AXMDistributionService as M, AXMDistributionServiceImpl as N, AXMDistributionEntityModule as O, distributionInteractionFactory as P, AXMDistributionInteractionServiceImpl as Q, RootConfig as R, AXMDistributionInteractionEntityModule as S, AXMDocumentReletedEntityModule as T, AXMEntityProvider as U, AXMMenuProvider as V, AXMSearchCommandProvider as W, AXMSettingProvider as X, AXPDocumentUploaderWidget as Y, AXPDocumentUploaderWidgetDesignerComponent as Z, AXPDocumentUploaderWidgetEditComponent as _, AXMDocumentManagerService as a, AXPDocumentUploaderWidgetFilterComponent as a0, AXPDocumentUploaderWidgetColumnComponent as a1, AXPDocumentUploaderWidgetPrintComponent as a2, AXMDocumentExplorerComponent as b, AXMDistributionInteractionService as c, AXMFolderPathBreadcrumbsComponent as d, AXMDocumentTypeService as e, AXMDocumentManagementModule as f, documentFactory as g, AXMDocumentManagementDocumentEntityModule as h, AXMDocumentService as i, AXMDocumentServiceImpl as j, getNextStatus as k, canTransition as l, documentTypeFactory as m, AXMDocumentManagementDocumentTypeEntityModule as n, AXMDocumentTypeServiceImpl as o, documentTypeMetaDefinitionfactory as p, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule as q, AXMDocumentManagementDocumentTypeMetaDefinitionEntityService as r, AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl as s, documentTypeMetaValueFactory as t, AXMDocumentManagementDocumentTypeMetaValueEntityModule as u, AXMDocumentManagementDocumentTypeMetaValueEntityService as v, AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl as w, documentTypeStatusDefinitionFactory as x, AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule as y, AXMDocumentManagementDocumentTypeStatusDefinitionEntityService as z };
|
|
9961
|
-
//# sourceMappingURL=acorex-modules-document-management-acorex-modules-document-management-
|
|
10003
|
+
//# sourceMappingURL=acorex-modules-document-management-acorex-modules-document-management-DhEDQZru.mjs.map
|