@acorex/modules 20.6.0-next.8 → 20.6.0-next.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/conversation/index.d.ts +77 -240
- package/fesm2022/acorex-modules-conversation.mjs +193 -1750
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-BsST9TMA.mjs → acorex-modules-document-management-acorex-modules-document-management-ZU1fqI_q.mjs} +22 -23
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-ZU1fqI_q.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-DqBJrcid.mjs → acorex-modules-document-management-attachment-widget.component-DMCcZ53H.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-DqBJrcid.mjs.map → acorex-modules-document-management-attachment-widget.component-DMCcZ53H.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-CQgbdaHw.mjs → acorex-modules-document-management-details-view.component-iov9ayCy.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-CQgbdaHw.mjs.map → acorex-modules-document-management-details-view.component-iov9ayCy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-BftZK2ib.mjs → acorex-modules-document-management-document-signature-popup.component-DoeU-5S2.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-BftZK2ib.mjs.map → acorex-modules-document-management-document-signature-popup.component-DoeU-5S2.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-Ce0JZcwx.mjs → acorex-modules-document-management-drive-choose.component-0UN17SNF.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-Ce0JZcwx.mjs.map → acorex-modules-document-management-drive-choose.component-0UN17SNF.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-CNkA0i-_.mjs → acorex-modules-document-management-drive.component-DzikECQB.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive.component-CNkA0i-_.mjs.map → acorex-modules-document-management-drive.component-DzikECQB.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-Dz8hPGMr.mjs → acorex-modules-document-management-large-icons-view.component-B2zaP-ye.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-Dz8hPGMr.mjs.map → acorex-modules-document-management-large-icons-view.component-B2zaP-ye.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CM3pqS_m.mjs → acorex-modules-document-management-large-tiles-view.component-h0N92C7a.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CM3pqS_m.mjs.map → acorex-modules-document-management-large-tiles-view.component-h0N92C7a.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-BRkcm83Y.mjs → acorex-modules-document-management-list-view.component-Cq-FBKuo.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-BRkcm83Y.mjs.map → acorex-modules-document-management-list-view.component-Cq-FBKuo.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider--qbpKS77.mjs → acorex-modules-document-management-permission-definition.provider-DWID2ajQ.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider--qbpKS77.mjs.map → acorex-modules-document-management-permission-definition.provider-DWID2ajQ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-C6JV_Dem.mjs → acorex-modules-document-management-small-icons-view.component-Crb7NDuY.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-C6JV_Dem.mjs.map → acorex-modules-document-management-small-icons-view.component-Crb7NDuY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-Be37TTaa.mjs → acorex-modules-document-management-small-tiles-view.component-AhGebx78.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-Be37TTaa.mjs.map → acorex-modules-document-management-small-tiles-view.component-AhGebx78.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/package.json +10 -10
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BsST9TMA.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AXPSessionService, AXPAuthGuard, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
2
|
-
import { AXPSearchCommandProvider, createAllQueryView, createQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXPFileTypeProviderService, AXP_FILE_TYPE_INFO_PROVIDER, AXPFileStorageService, AXPSettingService, AXPLockService, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
|
2
|
+
import { AXPSearchCommandProvider, createAllQueryView, createQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXPFileTypeProviderService, AXP_FILE_TYPE_INFO_PROVIDER, AXPFileStorageService, AXPFilterOperatorMiddlewareService, AXPSettingService, AXPLockService, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
|
3
3
|
import { AXPEntityService, AXMEntityCrudServiceImpl, entityMasterCrudActions, entityMasterRecordActions, ensureListActions, actionExists, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER, AXP_ENTITY_ACTION_PLUGIN } from '@acorex/platform/layout/entity';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
5
|
import { inject, Injector, Injectable, NgModule, ChangeDetectionStrategy, Component, signal, viewChild, afterNextRender, computed, input, effect, ViewEncapsulation } from '@angular/core';
|
|
@@ -5530,6 +5530,7 @@ class AXMDocumentManagerService {
|
|
|
5530
5530
|
this.layoutBuilder = inject(AXPLayoutBuilderService);
|
|
5531
5531
|
this.reviewService = inject(AXMReviewService);
|
|
5532
5532
|
this.attachmentsService = inject(DocumentAttachmentsService);
|
|
5533
|
+
this.filterMiddlewareService = inject(AXPFilterOperatorMiddlewareService);
|
|
5533
5534
|
//#endregion
|
|
5534
5535
|
//#region ---- Private Properties ----
|
|
5535
5536
|
this.scopedDriveCache = new Map();
|
|
@@ -5609,14 +5610,13 @@ class AXMDocumentManagerService {
|
|
|
5609
5610
|
if (!tenantId) {
|
|
5610
5611
|
throw new Error('Tenant ID is required');
|
|
5611
5612
|
}
|
|
5612
|
-
console.log('call get tenant root folder every time');
|
|
5613
5613
|
const result = await this.folderService.query({
|
|
5614
5614
|
skip: 0,
|
|
5615
5615
|
take: 1,
|
|
5616
5616
|
filter: {
|
|
5617
5617
|
operator: null,
|
|
5618
5618
|
logic: 'and',
|
|
5619
|
-
filters: [
|
|
5619
|
+
filters: this.filterMiddlewareService.transformFilters([
|
|
5620
5620
|
{
|
|
5621
5621
|
field: 'parentId',
|
|
5622
5622
|
operator: { type: 'equal' },
|
|
@@ -5624,7 +5624,7 @@ class AXMDocumentManagerService {
|
|
|
5624
5624
|
},
|
|
5625
5625
|
{ field: 'tenantId', operator: { type: 'equal' }, value: tenantId },
|
|
5626
5626
|
{ field: 'userId', operator: { type: 'isNull' } },
|
|
5627
|
-
],
|
|
5627
|
+
]),
|
|
5628
5628
|
},
|
|
5629
5629
|
});
|
|
5630
5630
|
if (result.items.length === 0) {
|
|
@@ -5645,11 +5645,11 @@ class AXMDocumentManagerService {
|
|
|
5645
5645
|
filter: {
|
|
5646
5646
|
operator: null,
|
|
5647
5647
|
logic: 'and',
|
|
5648
|
-
filters: [
|
|
5648
|
+
filters: this.filterMiddlewareService.transformFilters([
|
|
5649
5649
|
{ field: 'parentId', operator: { type: 'equal' }, value: tenantFolderId },
|
|
5650
5650
|
{ field: 'tenantId', operator: { type: 'equal' }, value: tenantId },
|
|
5651
5651
|
{ field: 'userId', operator: { type: 'equal' }, value: userId },
|
|
5652
|
-
],
|
|
5652
|
+
]),
|
|
5653
5653
|
},
|
|
5654
5654
|
});
|
|
5655
5655
|
if (result.items.length === 0) {
|
|
@@ -5679,7 +5679,6 @@ class AXMDocumentManagerService {
|
|
|
5679
5679
|
* Maps document to media viewer data
|
|
5680
5680
|
*/
|
|
5681
5681
|
async mapDocumentToMediaViewerData(doc, fileInfosMap) {
|
|
5682
|
-
console.log('mapDocumentToMediaViewerData', doc);
|
|
5683
5682
|
if (doc.fileId?.source?.kind == 'fileId') {
|
|
5684
5683
|
const fileId = doc.fileId.source.value;
|
|
5685
5684
|
let fileInfo;
|
|
@@ -5968,7 +5967,7 @@ class AXMDocumentManagerService {
|
|
|
5968
5967
|
* Moves a node to another location
|
|
5969
5968
|
*/
|
|
5970
5969
|
async moveTo(options) {
|
|
5971
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
|
5970
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-0UN17SNF.mjs')).AXMDocumentDriveChooseComponent;
|
|
5972
5971
|
const popup = await this.popupService.open(comp, {
|
|
5973
5972
|
title: `Choose ${options.browseMode == 'file' ? 'File' : 'Folder'}`,
|
|
5974
5973
|
data: {
|
|
@@ -6001,7 +6000,7 @@ class AXMDocumentManagerService {
|
|
|
6001
6000
|
* Copies a node to another location
|
|
6002
6001
|
*/
|
|
6003
6002
|
async copyTo(options) {
|
|
6004
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
|
6003
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-0UN17SNF.mjs')).AXMDocumentDriveChooseComponent;
|
|
6005
6004
|
const popup = await this.popupService.open(comp, {
|
|
6006
6005
|
title: `Choose ${options.browseMode == 'file' ? 'File' : 'Folder'}`,
|
|
6007
6006
|
data: {
|
|
@@ -6451,7 +6450,7 @@ class AXMDocumentManagerService {
|
|
|
6451
6450
|
* Shows choose file dialog
|
|
6452
6451
|
*/
|
|
6453
6452
|
async showChooseFileDialog(scope) {
|
|
6454
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
|
6453
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-0UN17SNF.mjs')).AXMDocumentDriveChooseComponent;
|
|
6455
6454
|
const result = await this.popupService.open(comp, {
|
|
6456
6455
|
title: await this.translate.translateAsync('@document-management:actions.choose-from-drive'),
|
|
6457
6456
|
data: {
|
|
@@ -7659,13 +7658,13 @@ class AXMDocumentExplorerComponent {
|
|
|
7659
7658
|
this.showContextMenu = input(true, ...(ngDevMode ? [{ debugName: "showContextMenu" }] : []));
|
|
7660
7659
|
this.view = signal(null, ...(ngDevMode ? [{ debugName: "view" }] : []));
|
|
7661
7660
|
this.viewMap = {
|
|
7662
|
-
list: async () => (await import('./acorex-modules-document-management-list-view.component-
|
|
7663
|
-
'small-tiles': async () => (await import('./acorex-modules-document-management-small-tiles-view.component-
|
|
7664
|
-
'large-tiles': async () => (await import('./acorex-modules-document-management-large-tiles-view.component-
|
|
7665
|
-
details: async () => (await import('./acorex-modules-document-management-details-view.component-
|
|
7666
|
-
'large-icons': async () => (await import('./acorex-modules-document-management-large-icons-view.component-
|
|
7667
|
-
'small-icons': async () => (await import('./acorex-modules-document-management-small-icons-view.component-
|
|
7668
|
-
'attachment': async () => (await import('./acorex-modules-document-management-attachment-widget.component-
|
|
7661
|
+
list: async () => (await import('./acorex-modules-document-management-list-view.component-Cq-FBKuo.mjs')).AXMDocumentExplorerListViewComponent,
|
|
7662
|
+
'small-tiles': async () => (await import('./acorex-modules-document-management-small-tiles-view.component-AhGebx78.mjs')).AXMDocumentExplorerSmallTilesViewComponent,
|
|
7663
|
+
'large-tiles': async () => (await import('./acorex-modules-document-management-large-tiles-view.component-h0N92C7a.mjs')).AXMDocumentExplorerLargeTilesViewComponent,
|
|
7664
|
+
details: async () => (await import('./acorex-modules-document-management-details-view.component-iov9ayCy.mjs')).AXMDocumentExplorerDetailsViewComponent,
|
|
7665
|
+
'large-icons': async () => (await import('./acorex-modules-document-management-large-icons-view.component-B2zaP-ye.mjs')).AXMDocumentExplorerLargeIconsViewComponent,
|
|
7666
|
+
'small-icons': async () => (await import('./acorex-modules-document-management-small-icons-view.component-Crb7NDuY.mjs')).AXMDocumentExplorerSmallIconsViewComponent,
|
|
7667
|
+
'attachment': async () => (await import('./acorex-modules-document-management-attachment-widget.component-DMCcZ53H.mjs')).AXMDocumentExplorerAttachmentComponent,
|
|
7669
7668
|
};
|
|
7670
7669
|
this.#effect = effect(() => {
|
|
7671
7670
|
if (this.vm.loadingFolderId() == null) {
|
|
@@ -8251,7 +8250,7 @@ class AXMDocumentSignaturePopupAction extends AXPWorkflowAction {
|
|
|
8251
8250
|
const documentId = context.getVariable('options.id');
|
|
8252
8251
|
const documentTitle = context.getVariable('options.title');
|
|
8253
8252
|
const fileId = context.getVariable('options.fileId');
|
|
8254
|
-
const comp = await import('./acorex-modules-document-management-document-signature-popup.component-
|
|
8253
|
+
const comp = await import('./acorex-modules-document-management-document-signature-popup.component-DoeU-5S2.mjs')
|
|
8255
8254
|
.then(x => x.AXMDocumentSignaturePopupComponent);
|
|
8256
8255
|
console.log(fileId);
|
|
8257
8256
|
const result = await this.popupService.open(comp, {
|
|
@@ -9189,11 +9188,11 @@ function routesFacory() {
|
|
|
9189
9188
|
children: [
|
|
9190
9189
|
{
|
|
9191
9190
|
path: '',
|
|
9192
|
-
loadComponent: () => import('./acorex-modules-document-management-drive.component-
|
|
9191
|
+
loadComponent: () => import('./acorex-modules-document-management-drive.component-DzikECQB.mjs').then((c) => c.AXMDocumentDriveComponent),
|
|
9193
9192
|
},
|
|
9194
9193
|
{
|
|
9195
9194
|
path: ':id',
|
|
9196
|
-
loadComponent: () => import('./acorex-modules-document-management-drive.component-
|
|
9195
|
+
loadComponent: () => import('./acorex-modules-document-management-drive.component-DzikECQB.mjs').then((c) => c.AXMDocumentDriveComponent),
|
|
9197
9196
|
},
|
|
9198
9197
|
],
|
|
9199
9198
|
},
|
|
@@ -9238,7 +9237,7 @@ class AXMDocumentManagementModule {
|
|
|
9238
9237
|
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
|
9239
9238
|
useFactory: async () => {
|
|
9240
9239
|
const injector = inject(Injector);
|
|
9241
|
-
const provider = (await import('./acorex-modules-document-management-permission-definition.provider
|
|
9240
|
+
const provider = (await import('./acorex-modules-document-management-permission-definition.provider-DWID2ajQ.mjs')).AXMPermissionDefinitionProvider;
|
|
9242
9241
|
return new provider(injector);
|
|
9243
9242
|
},
|
|
9244
9243
|
multi: true,
|
|
@@ -9376,7 +9375,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
9376
9375
|
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
|
9377
9376
|
useFactory: async () => {
|
|
9378
9377
|
const injector = inject(Injector);
|
|
9379
|
-
const provider = (await import('./acorex-modules-document-management-permission-definition.provider
|
|
9378
|
+
const provider = (await import('./acorex-modules-document-management-permission-definition.provider-DWID2ajQ.mjs')).AXMPermissionDefinitionProvider;
|
|
9380
9379
|
return new provider(injector);
|
|
9381
9380
|
},
|
|
9382
9381
|
multi: true,
|
|
@@ -9417,4 +9416,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
9417
9416
|
*/
|
|
9418
9417
|
|
|
9419
9418
|
export { AXPDocumentExplorerViewModel as A, AXMDocumentManagementDocumentTypeStatusDefinitionEntityService as B, AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl as C, documentRelatedFactory as D, folderFactory as E, AXMFolderService as F, AXMFolderServiceImpl as G, AXMFolderEntityModule as H, reviewFactory as I, AXMReviewService as J, AXMReviewServiceImpl as K, AXMReviewEntityModule as L, distributionFactory as M, AXMDistributionService as N, AXMDistributionServiceImpl as O, AXMDistributionEntityModule as P, distributionInteractionFactory as Q, RootConfig as R, AXMDistributionInteractionServiceImpl as S, AXMDistributionInteractionEntityModule as T, AXMDocumentReletedEntityModule as U, AXMEntityProvider as V, AXMMenuProvider as W, AXMSearchCommandProvider as X, AXMSettingProvider as Y, AXMDocumentManagerService as a, AXMDocumentExplorerComponent as b, AXMPermissionsKeys as c, AXMDistributionInteractionService as d, AXMFolderPathBreadcrumbsComponent 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, AXMDocumentTypeService as o, AXMDocumentTypeServiceImpl as p, documentTypeMetaDefinitionfactory as q, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule as r, AXMDocumentManagementDocumentTypeMetaDefinitionEntityService as s, AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl as t, documentTypeMetaValueFactory as u, AXMDocumentManagementDocumentTypeMetaValueEntityModule as v, AXMDocumentManagementDocumentTypeMetaValueEntityService as w, AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl as x, documentTypeStatusDefinitionFactory as y, AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule as z };
|
|
9420
|
-
//# sourceMappingURL=acorex-modules-document-management-acorex-modules-document-management-
|
|
9419
|
+
//# sourceMappingURL=acorex-modules-document-management-acorex-modules-document-management-ZU1fqI_q.mjs.map
|