@acorex-platform/module-document-management-client 0.0.54 → 0.0.56
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-platform-module-document-management-client-acorex-platform-module-document-management-client--0oIEHPI.mjs → acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-qhcOFKFu.mjs} +1068 -436
- package/fesm2022/acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-qhcOFKFu.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-document-management-client-attachment-view-skeleton.component-CP6yjHx7.mjs → acorex-platform-module-document-management-client-attachment-view-skeleton.component-BeQSbax5.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-attachment-view-skeleton.component-CP6yjHx7.mjs.map → acorex-platform-module-document-management-client-attachment-view-skeleton.component-BeQSbax5.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-document-management-client-attachment-widget.component-CsrcMMC9.mjs +37 -0
- package/fesm2022/acorex-platform-module-document-management-client-attachment-widget.component-CsrcMMC9.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-contracts-entities-document-type.mjs +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-contracts-entities-document-type.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-document-management-client-contracts-entities-document.mjs +15 -0
- package/fesm2022/acorex-platform-module-document-management-client-contracts-entities-document.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-document-management-client-contracts-entities-folder.mjs +27 -0
- package/fesm2022/acorex-platform-module-document-management-client-contracts-entities-folder.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-document-management-client-contracts-entity-catalog-acorex-platform-module-document-management-client-contracts-entity-catalog-BxwUMlCE.mjs → acorex-platform-module-document-management-client-contracts-entity-catalog-acorex-platform-module-document-management-client-contracts-entity-catalog-qzPWMiWF.mjs} +6 -6
- package/fesm2022/{acorex-platform-module-document-management-client-contracts-entity-catalog-acorex-platform-module-document-management-client-contracts-entity-catalog-BxwUMlCE.mjs.map → acorex-platform-module-document-management-client-contracts-entity-catalog-acorex-platform-module-document-management-client-contracts-entity-catalog-qzPWMiWF.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-document-management-client-contracts-entity-catalog-document-shortcut.entity-D-hEBLFT.mjs → acorex-platform-module-document-management-client-contracts-entity-catalog-document-shortcut.entity-BELnXED1.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-contracts-entity-catalog-document-shortcut.entity-D-hEBLFT.mjs.map → acorex-platform-module-document-management-client-contracts-entity-catalog-document-shortcut.entity-BELnXED1.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-document-management-client-contracts-entity-catalog-document-type.entity-CBMUwrc-.mjs → acorex-platform-module-document-management-client-contracts-entity-catalog-document-type.entity-BSphQjSb.mjs} +3 -2
- package/fesm2022/acorex-platform-module-document-management-client-contracts-entity-catalog-document-type.entity-BSphQjSb.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-document-management-client-contracts-entity-catalog-document-version.entity-hATC_iAQ.mjs → acorex-platform-module-document-management-client-contracts-entity-catalog-document-version.entity-B9vWDzsE.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-contracts-entity-catalog-document-version.entity-hATC_iAQ.mjs.map → acorex-platform-module-document-management-client-contracts-entity-catalog-document-version.entity-B9vWDzsE.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-document-management-client-contracts-entity-catalog-document.entity-DOvhTOtO.mjs → acorex-platform-module-document-management-client-contracts-entity-catalog-document.entity-oFmhqAWA.mjs} +17 -2
- package/fesm2022/acorex-platform-module-document-management-client-contracts-entity-catalog-document.entity-oFmhqAWA.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-document-management-client-contracts-entity-catalog-folder.entity-cNSFyJoY.mjs → acorex-platform-module-document-management-client-contracts-entity-catalog-folder.entity-BqKpRAiP.mjs} +29 -2
- package/fesm2022/acorex-platform-module-document-management-client-contracts-entity-catalog-folder.entity-BqKpRAiP.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-document-management-client-contracts.mjs +2 -0
- package/fesm2022/acorex-platform-module-document-management-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-document-management-client-details-view-skeleton.component-BnRZrzCX.mjs +19 -0
- package/fesm2022/acorex-platform-module-document-management-client-details-view-skeleton.component-BnRZrzCX.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-details-view.component-DkCD8RSd.mjs +472 -0
- package/fesm2022/acorex-platform-module-document-management-client-details-view.component-DkCD8RSd.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-document-management-client-distribute-document.command-CCLwJcFb.mjs → acorex-platform-module-document-management-client-distribute-document.command-BaCdm2YF.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-distribute-document.command-CCLwJcFb.mjs.map → acorex-platform-module-document-management-client-distribute-document.command-BaCdm2YF.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-document-management-client-drive-choose.component-Bq4semJF.mjs → acorex-platform-module-document-management-client-drive-choose.component-up9sAsei.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-drive-choose.component-Bq4semJF.mjs.map → acorex-platform-module-document-management-client-drive-choose.component-up9sAsei.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-document-management-client-large-icons-view-skeleton.component-CXDBviff.mjs → acorex-platform-module-document-management-client-large-icons-view-skeleton.component-C_VbFRKl.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-large-icons-view-skeleton.component-CXDBviff.mjs.map → acorex-platform-module-document-management-client-large-icons-view-skeleton.component-C_VbFRKl.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-document-management-client-large-icons-view.component-Cece4n22.mjs +31 -0
- package/fesm2022/{acorex-platform-module-document-management-client-large-icons-view.component-COT_8z2S.mjs.map → acorex-platform-module-document-management-client-large-icons-view.component-Cece4n22.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-document-management-client-large-tiles-view.component-DzWIUZtv.mjs +36 -0
- package/fesm2022/{acorex-platform-module-document-management-client-large-tiles-view.component-Dm-MSIUn.mjs.map → acorex-platform-module-document-management-client-large-tiles-view.component-DzWIUZtv.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-document-management-client-link-dialog.component-EYoimqRD.mjs +119 -0
- package/fesm2022/acorex-platform-module-document-management-client-link-dialog.component-EYoimqRD.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-document-management-client-list-view-skeleton.component-D-QA5J07.mjs → acorex-platform-module-document-management-client-list-view-skeleton.component-Dgx8lVyN.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-list-view-skeleton.component-D-QA5J07.mjs.map → acorex-platform-module-document-management-client-list-view-skeleton.component-Dgx8lVyN.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-document-management-client-list-view.component-DVUfHWHB.mjs +31 -0
- package/fesm2022/{acorex-platform-module-document-management-client-list-view.component-CDldLoV-.mjs.map → acorex-platform-module-document-management-client-list-view.component-DVUfHWHB.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-document-management-client-open-document.command--tM4SRV7.mjs → acorex-platform-module-document-management-client-open-document.command-Bimm2bzt.mjs} +3 -2
- package/fesm2022/acorex-platform-module-document-management-client-open-document.command-Bimm2bzt.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-share-dialog.component-CFI4hK3T.mjs +89 -0
- package/fesm2022/acorex-platform-module-document-management-client-share-dialog.component-CFI4hK3T.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-share-email-dialog.component-CUvlAcp6.mjs +84 -0
- package/fesm2022/acorex-platform-module-document-management-client-share-email-dialog.component-CUvlAcp6.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-document-management-client-small-icons-view-skeleton.component-Cmgqsr4e.mjs → acorex-platform-module-document-management-client-small-icons-view-skeleton.component-CU2MiVUi.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-small-icons-view-skeleton.component-Cmgqsr4e.mjs.map → acorex-platform-module-document-management-client-small-icons-view-skeleton.component-CU2MiVUi.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-document-management-client-small-icons-view.component-CL5cNRtI.mjs +31 -0
- package/fesm2022/{acorex-platform-module-document-management-client-small-icons-view.component-IC5bdYey.mjs.map → acorex-platform-module-document-management-client-small-icons-view.component-CL5cNRtI.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-document-management-client-small-tiles-view-skeleton.component-DzDonT_e.mjs → acorex-platform-module-document-management-client-small-tiles-view-skeleton.component-DBJldDaS.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-small-tiles-view-skeleton.component-DzDonT_e.mjs.map → acorex-platform-module-document-management-client-small-tiles-view-skeleton.component-DBJldDaS.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-document-management-client-small-tiles-view.component-DtsBSVCq.mjs +36 -0
- package/fesm2022/{acorex-platform-module-document-management-client-small-tiles-view.component-NUNfAl3M.mjs.map → acorex-platform-module-document-management-client-small-tiles-view.component-DtsBSVCq.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-document-management-client-upload-document.command-CCRAgI9w.mjs → acorex-platform-module-document-management-client-upload-document.command-D3L6x6CQ.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-document-management-client-upload-document.command-CCRAgI9w.mjs.map → acorex-platform-module-document-management-client-upload-document.command-D3L6x6CQ.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-document-management-client.mjs +1 -1
- package/i18n/en-AU/document-management.json +664 -0
- package/i18n/en-US/document-management.json +664 -0
- package/i18n/fa-IR/document-management.json +664 -0
- package/package.json +2 -2
- package/types/acorex-platform-module-document-management-client-contracts.d.ts +59 -3
- package/types/acorex-platform-module-document-management-client.d.ts +92 -7
- package/fesm2022/acorex-platform-module-document-management-client-acorex-platform-module-document-management-client--0oIEHPI.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-document-management-client-attachment-widget.component-DmgzUrWY.mjs +0 -37
- package/fesm2022/acorex-platform-module-document-management-client-attachment-widget.component-DmgzUrWY.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-document-management-client-contracts-entity-catalog-document-type.entity-CBMUwrc-.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-document-management-client-contracts-entity-catalog-document.entity-DOvhTOtO.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-document-management-client-contracts-entity-catalog-folder.entity-cNSFyJoY.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-document-management-client-large-icons-view.component-COT_8z2S.mjs +0 -31
- package/fesm2022/acorex-platform-module-document-management-client-large-tiles-view.component-Dm-MSIUn.mjs +0 -36
- package/fesm2022/acorex-platform-module-document-management-client-link-dialog.component-CUFgI0_q.mjs +0 -77
- package/fesm2022/acorex-platform-module-document-management-client-link-dialog.component-CUFgI0_q.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-document-management-client-list-view.component-CDldLoV-.mjs +0 -31
- package/fesm2022/acorex-platform-module-document-management-client-open-document.command--tM4SRV7.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-document-management-client-share-dialog.component-CyO_2Ppm.mjs +0 -148
- package/fesm2022/acorex-platform-module-document-management-client-share-dialog.component-CyO_2Ppm.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-document-management-client-share-email-dialog.component-6B0KXT1Z.mjs +0 -58
- package/fesm2022/acorex-platform-module-document-management-client-share-email-dialog.component-6B0KXT1Z.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-document-management-client-small-icons-view.component-IC5bdYey.mjs +0 -31
- package/fesm2022/acorex-platform-module-document-management-client-small-tiles-view.component-NUNfAl3M.mjs +0 -36
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AXPModuleManifest, AXPMultiLanguageString, AXPFileListItem, AXPMetaData, AXPCategoryEntity } from '@acorex-platform/framework-shared/core';
|
|
2
|
-
import { AXPEntityModel } from '@acorex-platform/framework-shared/entity';
|
|
2
|
+
import { AXPRecordAuditInfo, AXPAuditEvent, AXPEntityModel } from '@acorex-platform/framework-shared/entity';
|
|
3
3
|
import { AXMMetaDataBuilderValue } from '@acorex-platform/module-data-management-client/contracts';
|
|
4
4
|
|
|
5
5
|
declare const AXPDocumentManagementFeatureKeys: {
|
|
@@ -15,10 +15,12 @@ declare const AXPDocumentManagementMenuKeys: {
|
|
|
15
15
|
/**
|
|
16
16
|
* Content & Documents capabilities used by this module.
|
|
17
17
|
* Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).
|
|
18
|
+
* `MaintainVersioning` is the legacy tenant-wide alias; per-entity keys come from the versioning plugin.
|
|
18
19
|
*/
|
|
19
20
|
declare const AXPContentDocumentsPermissionKeys: {
|
|
20
21
|
readonly Access: "ContentDocuments:Permission:Access";
|
|
21
22
|
readonly MaintainDocuments: "ContentDocuments:Permission:MaintainDocuments";
|
|
23
|
+
readonly MaintainVersioning: "ContentDocuments:Permission:MaintainVersioning";
|
|
22
24
|
readonly DistributeDocuments: "ContentDocuments:Permission:DistributeDocuments";
|
|
23
25
|
readonly MaintainContent: "ContentDocuments:Permission:MaintainContent";
|
|
24
26
|
readonly MaintainFormTemplates: "ContentDocuments:Permission:MaintainFormTemplates";
|
|
@@ -229,6 +231,38 @@ declare function classifyDocumentExpirationStatus(expirationDate: unknown, optio
|
|
|
229
231
|
now?: Date;
|
|
230
232
|
}): AXMDocumentExpirationStatus | null;
|
|
231
233
|
|
|
234
|
+
interface AXPDriveBootstrapDocumentType {
|
|
235
|
+
id?: string;
|
|
236
|
+
name: string;
|
|
237
|
+
title: AXPMultiLanguageString | string;
|
|
238
|
+
description?: AXPMultiLanguageString | string;
|
|
239
|
+
enableVersioning?: boolean;
|
|
240
|
+
enableExpiration?: boolean;
|
|
241
|
+
requiresReview?: boolean;
|
|
242
|
+
enableDistributionCapability?: boolean;
|
|
243
|
+
type?: string[];
|
|
244
|
+
}
|
|
245
|
+
interface AXPDriveBootstrapFolderNode {
|
|
246
|
+
title: string;
|
|
247
|
+
description?: string;
|
|
248
|
+
documentTypeName?: string;
|
|
249
|
+
/**
|
|
250
|
+
* Document type stamped on folders created under this node. The node itself
|
|
251
|
+
* stays untyped (no file upload); users can only create folders of this type.
|
|
252
|
+
*/
|
|
253
|
+
childDocumentTypeName?: string;
|
|
254
|
+
children?: AXPDriveBootstrapFolderNode[];
|
|
255
|
+
}
|
|
256
|
+
interface AXPDriveBootstrapCatalog {
|
|
257
|
+
id: string;
|
|
258
|
+
matches: (ctx: {
|
|
259
|
+
tenantId?: string;
|
|
260
|
+
applicationId?: string;
|
|
261
|
+
}) => boolean;
|
|
262
|
+
types: AXPDriveBootstrapDocumentType[];
|
|
263
|
+
folders: AXPDriveBootstrapFolderNode[];
|
|
264
|
+
}
|
|
265
|
+
|
|
232
266
|
/** Document lifecycle status (EDMS-style review workflow). */
|
|
233
267
|
type AXMDocumentManagementDocumentStatus = 'draft' | 'in-review' | 'approved' | 'rejected' | 'revision-requested';
|
|
234
268
|
/** Status value constants for use in code. */
|
|
@@ -239,10 +273,15 @@ declare const AXMDocumentManagementDocumentStatusValues: {
|
|
|
239
273
|
Rejected: "rejected";
|
|
240
274
|
RevisionRequested: "revision-requested";
|
|
241
275
|
};
|
|
276
|
+
/** Document audit bag: platform created/updated/deleted plus optional review stamp. */
|
|
277
|
+
type AXMDocumentAuditInfo = AXPRecordAuditInfo & {
|
|
278
|
+
reviewed?: AXPAuditEvent;
|
|
279
|
+
};
|
|
242
280
|
interface AXMDocumentDto extends AXPEntityModel<string> {
|
|
243
281
|
name: string;
|
|
244
282
|
title: string;
|
|
245
283
|
documentType: AXMDocumentDocDto;
|
|
284
|
+
auditInfo?: AXMDocumentAuditInfo;
|
|
246
285
|
parentId: string;
|
|
247
286
|
fileInfo: AXPFileListItem;
|
|
248
287
|
description?: string;
|
|
@@ -398,12 +437,23 @@ type AXMDocumentInheritanceType = 'Extends' | 'Inherited' | 'None';
|
|
|
398
437
|
* - nearExpiryItemsCount? (documents in the near-expiry window in this folder subtree)
|
|
399
438
|
* - totalChildrenCount?, totalItemsCount? (optional, for analytics)
|
|
400
439
|
*
|
|
401
|
-
* Folder-specific: color, documentTypes, inherit, size, parent, folders, documents.
|
|
440
|
+
* Folder-specific: color, documentTypes, childFolderDocumentTypes, allowChildFolders, inherit, size, parent, folders, documents.
|
|
402
441
|
* Optional refId/refType link this folder to an entity record (e.g. for entity-scoped drive plugin).
|
|
403
442
|
*/
|
|
404
443
|
interface AXMDocumentManagementFolderEntityModel extends AXPEntityModel<string>, AXPCategoryEntity<string> {
|
|
405
444
|
color: string;
|
|
406
445
|
documentTypes?: AXMDocumentManagementDocumentTypeEntityModel[];
|
|
446
|
+
/**
|
|
447
|
+
* When set, users may only create folders under this folder, and each child
|
|
448
|
+
* folder is stamped with these types (not editable). This folder itself stays
|
|
449
|
+
* untyped so files cannot be uploaded here.
|
|
450
|
+
*/
|
|
451
|
+
childFolderDocumentTypes?: AXMDocumentManagementDocumentTypeEntityModel[];
|
|
452
|
+
/**
|
|
453
|
+
* When false, users cannot create folders under this folder.
|
|
454
|
+
* Omitted or true keeps the default create-folder behavior.
|
|
455
|
+
*/
|
|
456
|
+
allowChildFolders?: boolean;
|
|
407
457
|
inherit: AXMDocumentInheritanceType;
|
|
408
458
|
size: number;
|
|
409
459
|
/**
|
|
@@ -420,6 +470,8 @@ interface AXMDocumentManagementFolderEntityModel extends AXPEntityModel<string>,
|
|
|
420
470
|
refType?: string;
|
|
421
471
|
/** Optional: entity record id this folder is bound to. */
|
|
422
472
|
refId?: string;
|
|
473
|
+
/** Folder-scoped metadata values from assigned document types. */
|
|
474
|
+
metaDataForm?: AXPMetaData;
|
|
423
475
|
parent?: AXMDocumentManagementFolderEntityModel;
|
|
424
476
|
folders?: AXMDocumentManagementFolderEntityModel[];
|
|
425
477
|
documents?: AXMDocumentDto[];
|
|
@@ -434,6 +486,8 @@ interface AXMDocumentManagementFolderCreateDto {
|
|
|
434
486
|
description?: string;
|
|
435
487
|
parentId?: string;
|
|
436
488
|
documentTypes?: AXMDocumentManagementDocumentTypeEntityModel[];
|
|
489
|
+
childFolderDocumentTypes?: AXMDocumentManagementDocumentTypeEntityModel[];
|
|
490
|
+
allowChildFolders?: boolean;
|
|
437
491
|
inherit: AXMDocumentInheritanceType;
|
|
438
492
|
/** Optional; when not provided, backend may set to 0 or compute. */
|
|
439
493
|
size?: number;
|
|
@@ -445,6 +499,8 @@ interface AXMDocumentManagementFolderCreateDto {
|
|
|
445
499
|
refType?: string;
|
|
446
500
|
/** Optional; entity record id to bind folder to. */
|
|
447
501
|
refId?: string;
|
|
502
|
+
/** Folder-scoped metadata values from assigned document types. */
|
|
503
|
+
metaDataForm?: AXPMetaData;
|
|
448
504
|
}
|
|
449
505
|
interface AXMDocumentManagementFolderGetDto extends AXMDocumentManagementFolderEntityModel {
|
|
450
506
|
parent?: AXMDocumentManagementFolderEntityModel;
|
|
@@ -454,4 +510,4 @@ interface AXMDocumentManagementFolderGetDto extends AXMDocumentManagementFolderE
|
|
|
454
510
|
}
|
|
455
511
|
|
|
456
512
|
export { AXMDocumentManagementCommandKeys, AXMDocumentManagementDocumentStatusValues, AXMDocumentManagementQueryKeys, AXMDocumentVersioningStatusValues, AXMPermissionsKeys, AXM_DOCUMENT_EXPIRATION_NEAR_DAYS, AXM_DOCUMENT_EXPIRATION_NOTIFY_RUN_COMMAND_KEY, AXPContentDocumentsPermissionKeys, AXPDocumentManagementFeatureKeys, AXPDocumentManagementMenuKeys, AXPDocumentManagementSettings, DocumentManagementManifest, RootConfig, addDaysToDocumentExpirationDateKey, classifyDocumentExpirationStatus, extractDocumentTypeFileKindNames, getDocumentExpirationDateKey, getDocumentExpirationQueryBoundValues, getDocumentExpirationQueryBounds, getDocumentExpirationRemainingDays, getUtcDayBoundsForDateKey, normalizeDocumentTypeFileKinds, toDocumentExpirationDate, toDocumentExpirationStorageValue };
|
|
457
|
-
export type { AXMDocumentDocDto, AXMDocumentDto, AXMDocumentExpirationStatus, AXMDocumentInheritanceType, AXMDocumentManagementDocumentStatus, AXMDocumentManagementDocumentTypeEntityModel, AXMDocumentManagementFolderCreateDto, AXMDocumentManagementFolderEntityModel, AXMDocumentManagementFolderGetDto, AXMDocumentShortcutEntityModel, AXMDocumentVersionDto, AXMDocumentVersioningStatus, DocumentTypeAllowedFileKinds, DocumentTypeFileKindName, DocumentTypeFileKindOption, DocumentTypeFileOutput };
|
|
513
|
+
export type { AXMDocumentAuditInfo, AXMDocumentDocDto, AXMDocumentDto, AXMDocumentExpirationStatus, AXMDocumentInheritanceType, AXMDocumentManagementDocumentStatus, AXMDocumentManagementDocumentTypeEntityModel, AXMDocumentManagementFolderCreateDto, AXMDocumentManagementFolderEntityModel, AXMDocumentManagementFolderGetDto, AXMDocumentShortcutEntityModel, AXMDocumentVersionDto, AXMDocumentVersioningStatus, AXPDriveBootstrapCatalog, AXPDriveBootstrapDocumentType, AXPDriveBootstrapFolderNode, DocumentTypeAllowedFileKinds, DocumentTypeFileKindName, DocumentTypeFileKindOption, DocumentTypeFileOutput };
|
|
@@ -8,9 +8,9 @@ import * as _acorex_platform_framework_client_themes_shared from '@acorex-platfo
|
|
|
8
8
|
import * as _acorex_components_menu from '@acorex/components/menu';
|
|
9
9
|
import { AXContextMenuComponent, AXContextMenuItemsClickEvent, AXMenuItem } from '@acorex/components/menu';
|
|
10
10
|
import * as dist_libs_framework_client_types_acorex_platform_framework_client_common from 'dist/libs/framework/client/types/acorex-platform-framework-client-common';
|
|
11
|
-
import * as _ngrx_signals from '@ngrx/signals';
|
|
12
11
|
import * as _acorex_platform_framework_shared_core from '@acorex-platform/framework-shared/core';
|
|
13
12
|
import { AXPFileListItem, AXPPlatformScope, AXPFilterQuery, AXPQueryRequest, AXPActionMenuItem, AXPExpression, AXPBackButton, AXPBreadcrumbItem, AXPExecuteCommand, AXPFilterDefinition, AXPContextChangeEvent, AXPWidgetNode, AXPStatusProvider, AXPStatusDefinition, AXPStatusTransition, AXPSystemStatusType } from '@acorex-platform/framework-shared/core';
|
|
13
|
+
import * as _ngrx_signals from '@ngrx/signals';
|
|
14
14
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
15
15
|
import * as _acorex_platform_framework_client_layout_entity from '@acorex-platform/framework-client/layout/entity';
|
|
16
16
|
import { AXPEntityService, AXPEntityActionPlugin } from '@acorex-platform/framework-client/layout/entity';
|
|
@@ -57,6 +57,7 @@ declare class AXMDocumentManagementModule {
|
|
|
57
57
|
interface AXMDocumentExplorerNode {
|
|
58
58
|
id: string;
|
|
59
59
|
name: string;
|
|
60
|
+
title?: string;
|
|
60
61
|
description?: string;
|
|
61
62
|
type: 'file' | 'folder';
|
|
62
63
|
parentId: string | null;
|
|
@@ -75,6 +76,16 @@ interface AXMDocumentExplorerNode {
|
|
|
75
76
|
expirationDate?: Date;
|
|
76
77
|
fileId?: AXPFileListItem | string;
|
|
77
78
|
documentTypes: AXMNodeType[];
|
|
79
|
+
/**
|
|
80
|
+
* When set, this folder is a type container: no file upload here; new child
|
|
81
|
+
* folders are stamped with these types and users cannot change them.
|
|
82
|
+
*/
|
|
83
|
+
childFolderDocumentTypes?: AXMNodeType[];
|
|
84
|
+
/**
|
|
85
|
+
* When false, users cannot create folders under this folder.
|
|
86
|
+
* Omitted or true keeps the default create-folder behavior.
|
|
87
|
+
*/
|
|
88
|
+
allowChildFolders?: boolean;
|
|
78
89
|
/**
|
|
79
90
|
* Indicates this node is a shortcut (alias) that points to another document or folder.
|
|
80
91
|
*/
|
|
@@ -102,6 +113,8 @@ interface AXMDocumentExplorerNode {
|
|
|
102
113
|
versionId?: string;
|
|
103
114
|
/** Stamped from Document Type; drives version menus. */
|
|
104
115
|
versioningEnabled?: boolean;
|
|
116
|
+
/** Present when a maintainer is viewing an open draft overlay. */
|
|
117
|
+
versioningStatus?: string;
|
|
105
118
|
/** Stamped from Document Type; drives Distribute. */
|
|
106
119
|
distributionEnabled?: boolean;
|
|
107
120
|
/** Folder accent color (hex), from entity `color`. */
|
|
@@ -125,6 +138,12 @@ interface AXMMetadataFieldInfo {
|
|
|
125
138
|
widgetOptions?: Record<string, unknown>;
|
|
126
139
|
}
|
|
127
140
|
|
|
141
|
+
type HomogeneousGridKind = 'folder' | 'document';
|
|
142
|
+
type HomogeneousGridMatch = {
|
|
143
|
+
kind: HomogeneousGridKind;
|
|
144
|
+
typeKeys: string[];
|
|
145
|
+
};
|
|
146
|
+
|
|
128
147
|
/** Breadcrumb segment returned by the combined drive contents endpoint. */
|
|
129
148
|
type AXMDriveFolderPathSegment = Pick<AXMDocumentManagementFolderEntityModel, 'id' | 'title' | 'parentId' | 'color'>;
|
|
130
149
|
/**
|
|
@@ -208,7 +227,6 @@ declare class DocumentAttachmentsService {
|
|
|
208
227
|
private readonly documentData;
|
|
209
228
|
private readonly documentDialog;
|
|
210
229
|
private readonly translateService;
|
|
211
|
-
private readonly toastService;
|
|
212
230
|
private readonly documentVersionData;
|
|
213
231
|
attachFile(fileType: string | AXMDocumentDocDto, options?: AttachmentOptions): Promise<boolean>;
|
|
214
232
|
updateAttachedFile(fileId: string, options?: UpdateAttachmentOptions): Promise<boolean>;
|
|
@@ -222,7 +240,6 @@ declare class DocumentAttachmentsService {
|
|
|
222
240
|
findOpenVersionDraft(documentId: string): Promise<{
|
|
223
241
|
id: string;
|
|
224
242
|
} | null>;
|
|
225
|
-
private notifyHostContentLocked;
|
|
226
243
|
private validateAttachmentOptions;
|
|
227
244
|
private resolveFileType;
|
|
228
245
|
private chooseFileListItems;
|
|
@@ -283,6 +300,11 @@ declare abstract class AXMDocumentManagerService {
|
|
|
283
300
|
abstract showCreateFolderDialog(parentId?: string, options?: {
|
|
284
301
|
allowedDocumentTypeNames?: string[];
|
|
285
302
|
}): Promise<AXMDocumentExplorerNode | null>;
|
|
303
|
+
/**
|
|
304
|
+
* Whether users may create a subfolder inside this folder.
|
|
305
|
+
* Typed children of type-container folders (e.g. Company Document / Other Manuals / …) return false.
|
|
306
|
+
*/
|
|
307
|
+
abstract folderAllowsCreateFolder(folder: Pick<AXMDocumentExplorerNode, 'parentId' | 'allowChildFolders' | 'childFolderDocumentTypes'> | null | undefined): Promise<boolean>;
|
|
286
308
|
abstract getDocumentTypesByNames(names: string[]): Promise<AXMNodeType[]>;
|
|
287
309
|
abstract showDeleteNodesDialog(nodeIds: AXMDocumentExplorerNode[]): Promise<boolean>;
|
|
288
310
|
abstract showRenamePopup(node: AXMDocumentExplorerNode): Promise<AXMDocumentExplorerNode | undefined>;
|
|
@@ -343,7 +365,7 @@ declare abstract class AXMDocumentManagerService {
|
|
|
343
365
|
id: string;
|
|
344
366
|
} | null>;
|
|
345
367
|
abstract showVersionHistory(node: AXMDocumentExplorerNode): Promise<void>;
|
|
346
|
-
/** New Version
|
|
368
|
+
/** New Version: pick a file, edit copied fields, then optional Publish Version. */
|
|
347
369
|
abstract runNewVersionFlow(node: AXMDocumentExplorerNode): Promise<void>;
|
|
348
370
|
/** Upload New File, then optional Publish Version. */
|
|
349
371
|
abstract runUploadNewVersionFlow(node: AXMDocumentExplorerNode): Promise<void>;
|
|
@@ -373,6 +395,7 @@ declare class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
373
395
|
protected layoutBuilder: AXPLayoutBuilderService;
|
|
374
396
|
protected fileViewerService: AXPFileViewerService;
|
|
375
397
|
protected attachmentsService: DocumentAttachmentsService;
|
|
398
|
+
private readonly folderMetadataDialog;
|
|
376
399
|
protected hooks: AXPHookService | null;
|
|
377
400
|
private scopedDriveCache;
|
|
378
401
|
private buildPathCache;
|
|
@@ -611,7 +634,7 @@ declare class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
611
634
|
id: string;
|
|
612
635
|
} | null>;
|
|
613
636
|
/**
|
|
614
|
-
* Opens version history
|
|
637
|
+
* Opens companion version history for a versioned document.
|
|
615
638
|
* For shortcut nodes, shows history of the target document.
|
|
616
639
|
*/
|
|
617
640
|
showVersionHistory(node: AXMDocumentExplorerNode): Promise<void>;
|
|
@@ -630,6 +653,7 @@ declare class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
630
653
|
* Shows link dialog for a node
|
|
631
654
|
*/
|
|
632
655
|
showLinkDialog(node: AXMDocumentExplorerNode): Promise<void>;
|
|
656
|
+
private folderInheritSelectionOptions;
|
|
633
657
|
/**
|
|
634
658
|
* Shows lock dialog for a document
|
|
635
659
|
*/
|
|
@@ -646,8 +670,14 @@ declare class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
646
670
|
* - `displayTitle`: the resolved select `textField` label.
|
|
647
671
|
*/
|
|
648
672
|
private mapDocumentTypesForPicker;
|
|
673
|
+
private hydrateDocumentTypesForPicker;
|
|
674
|
+
private documentTypeNamesOf;
|
|
675
|
+
private isTypeContainerFolder;
|
|
676
|
+
folderAllowsCreateFolder(folder: Pick<AXMDocumentExplorerNode, 'parentId' | 'allowChildFolders' | 'childFolderDocumentTypes'> | null | undefined): Promise<boolean>;
|
|
677
|
+
private loadFolderById;
|
|
649
678
|
/** Folder dialogs need a dense array; AXDataSource cache slots are undefined and break `pickerKey`. */
|
|
650
679
|
private loadDocumentTypesForFolderDialog;
|
|
680
|
+
private buildFolderDialogForm;
|
|
651
681
|
private toDocumentTypePickerRow;
|
|
652
682
|
/** Stable identity of a document type, preferring the programmatic name over the backend id. */
|
|
653
683
|
private resolveDocumentTypeKey;
|
|
@@ -721,6 +751,10 @@ declare class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
721
751
|
* Updates a file name
|
|
722
752
|
*/
|
|
723
753
|
updateFileName(node: AXMDocumentExplorerNode, name: string): Promise<AXMDocumentExplorerNode>;
|
|
754
|
+
/**
|
|
755
|
+
* Renames document title and keeps the stored file name in sync (same title + original extension).
|
|
756
|
+
*/
|
|
757
|
+
private renameFileTitle;
|
|
724
758
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagerServiceImpl, never>;
|
|
725
759
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMDocumentManagerServiceImpl>;
|
|
726
760
|
}
|
|
@@ -795,6 +829,9 @@ declare class AXMDocumentExplorerComponent {
|
|
|
795
829
|
#private;
|
|
796
830
|
protected vm: {
|
|
797
831
|
viewMode: _angular_core.Signal<AXPDocumentExplorerViewMode>;
|
|
832
|
+
preferredViewMode: _angular_core.Signal<AXPDocumentExplorerViewMode>;
|
|
833
|
+
viewModeLocked: _angular_core.Signal<boolean>;
|
|
834
|
+
homogeneousGrid: _angular_core.Signal<null> | _ngrx_signals.DeepSignal<HomogeneousGridMatch>;
|
|
798
835
|
isLoading: _angular_core.Signal<boolean>;
|
|
799
836
|
scope: _angular_core.Signal<_acorex_platform_framework_shared_core.AXPPlatformScope>;
|
|
800
837
|
currentPath: _angular_core.Signal<AXMDocumentExplorerNode[]>;
|
|
@@ -837,11 +874,13 @@ declare class AXMDocumentExplorerComponent {
|
|
|
837
874
|
isDetailsView: _angular_core.Signal<boolean>;
|
|
838
875
|
isLargeIconsView: _angular_core.Signal<boolean>;
|
|
839
876
|
isSmallIconsView: _angular_core.Signal<boolean>;
|
|
877
|
+
canUseHomogeneousGrid: _angular_core.Signal<boolean>;
|
|
840
878
|
isBackAvailable: _angular_core.Signal<boolean>;
|
|
841
879
|
isUpAvailable: _angular_core.Signal<boolean>;
|
|
842
880
|
selectedCount: _angular_core.Signal<number>;
|
|
843
881
|
hasSelectedItems: _angular_core.Signal<boolean>;
|
|
844
882
|
hasMultipleSelectedItems: _angular_core.Signal<boolean>;
|
|
883
|
+
showSelectionDeleteActions: _angular_core.Signal<boolean>;
|
|
845
884
|
isMultiSelect: _angular_core.Signal<boolean>;
|
|
846
885
|
selectedNode: _angular_core.Signal<AXMDocumentExplorerNode | null>;
|
|
847
886
|
isDetailPanelOpen: _angular_core.Signal<boolean>;
|
|
@@ -862,6 +901,7 @@ declare class AXMDocumentExplorerComponent {
|
|
|
862
901
|
name?: string;
|
|
863
902
|
parentId?: string;
|
|
864
903
|
}) => Promise<void>;
|
|
904
|
+
setViewModeLocked: (locked: boolean) => void;
|
|
865
905
|
setViewMode: (mode: AXPDocumentExplorerViewMode | string) => void;
|
|
866
906
|
isViewMode: (mode: AXPDocumentExplorerViewMode | string) => boolean;
|
|
867
907
|
setSortField: (field: string) => void;
|
|
@@ -911,6 +951,7 @@ declare class AXMDocumentExplorerComponent {
|
|
|
911
951
|
selectOnContextMenu: (node: AXMDocumentExplorerNode) => void;
|
|
912
952
|
isItemSelected: (node: AXMDocumentExplorerNode) => boolean;
|
|
913
953
|
selectAll: () => void;
|
|
954
|
+
setSelectedNodes: (nodes: AXMDocumentExplorerNode[]) => void;
|
|
914
955
|
deselectAll: () => void;
|
|
915
956
|
openDetailPanel: () => void;
|
|
916
957
|
closeDetailPanel: () => void;
|
|
@@ -951,6 +992,9 @@ declare class AXMDocumentExplorerComponent {
|
|
|
951
992
|
uploadFileByType: (folderId: string, documentTypeId: string) => Promise<void>;
|
|
952
993
|
} & _ngrx_signals.StateSource<{
|
|
953
994
|
viewMode: AXPDocumentExplorerViewMode;
|
|
995
|
+
preferredViewMode: AXPDocumentExplorerViewMode;
|
|
996
|
+
viewModeLocked: boolean;
|
|
997
|
+
homogeneousGrid: HomogeneousGridMatch | null;
|
|
954
998
|
isLoading: boolean;
|
|
955
999
|
scope: _acorex_platform_framework_shared_core.AXPPlatformScope;
|
|
956
1000
|
currentPath: AXMDocumentExplorerNode[];
|
|
@@ -1085,6 +1129,9 @@ declare class AXMDocumentExplorerComponent {
|
|
|
1085
1129
|
|
|
1086
1130
|
declare const AXPDocumentExplorerViewModel: _angular_core.Type<{
|
|
1087
1131
|
viewMode: _angular_core.Signal<AXPDocumentExplorerViewMode>;
|
|
1132
|
+
preferredViewMode: _angular_core.Signal<AXPDocumentExplorerViewMode>;
|
|
1133
|
+
viewModeLocked: _angular_core.Signal<boolean>;
|
|
1134
|
+
homogeneousGrid: _angular_core.Signal<null> | _ngrx_signals.DeepSignal<HomogeneousGridMatch>;
|
|
1088
1135
|
isLoading: _angular_core.Signal<boolean>;
|
|
1089
1136
|
scope: _angular_core.Signal<AXPPlatformScope>;
|
|
1090
1137
|
currentPath: _angular_core.Signal<AXMDocumentExplorerNode[]>;
|
|
@@ -1127,11 +1174,13 @@ declare const AXPDocumentExplorerViewModel: _angular_core.Type<{
|
|
|
1127
1174
|
isDetailsView: _angular_core.Signal<boolean>;
|
|
1128
1175
|
isLargeIconsView: _angular_core.Signal<boolean>;
|
|
1129
1176
|
isSmallIconsView: _angular_core.Signal<boolean>;
|
|
1177
|
+
canUseHomogeneousGrid: _angular_core.Signal<boolean>;
|
|
1130
1178
|
isBackAvailable: _angular_core.Signal<boolean>;
|
|
1131
1179
|
isUpAvailable: _angular_core.Signal<boolean>;
|
|
1132
1180
|
selectedCount: _angular_core.Signal<number>;
|
|
1133
1181
|
hasSelectedItems: _angular_core.Signal<boolean>;
|
|
1134
1182
|
hasMultipleSelectedItems: _angular_core.Signal<boolean>;
|
|
1183
|
+
showSelectionDeleteActions: _angular_core.Signal<boolean>;
|
|
1135
1184
|
isMultiSelect: _angular_core.Signal<boolean>;
|
|
1136
1185
|
selectedNode: _angular_core.Signal<AXMDocumentExplorerNode | null>;
|
|
1137
1186
|
isDetailPanelOpen: _angular_core.Signal<boolean>;
|
|
@@ -1152,6 +1201,7 @@ declare const AXPDocumentExplorerViewModel: _angular_core.Type<{
|
|
|
1152
1201
|
name?: string;
|
|
1153
1202
|
parentId?: string;
|
|
1154
1203
|
}) => Promise<void>;
|
|
1204
|
+
setViewModeLocked: (locked: boolean) => void;
|
|
1155
1205
|
setViewMode: (mode: AXPDocumentExplorerViewMode | string) => void;
|
|
1156
1206
|
isViewMode: (mode: AXPDocumentExplorerViewMode | string) => boolean;
|
|
1157
1207
|
setSortField: (field: string) => void;
|
|
@@ -1201,6 +1251,7 @@ declare const AXPDocumentExplorerViewModel: _angular_core.Type<{
|
|
|
1201
1251
|
selectOnContextMenu: (node: AXMDocumentExplorerNode) => void;
|
|
1202
1252
|
isItemSelected: (node: AXMDocumentExplorerNode) => boolean;
|
|
1203
1253
|
selectAll: () => void;
|
|
1254
|
+
setSelectedNodes: (nodes: AXMDocumentExplorerNode[]) => void;
|
|
1204
1255
|
deselectAll: () => void;
|
|
1205
1256
|
openDetailPanel: () => void;
|
|
1206
1257
|
closeDetailPanel: () => void;
|
|
@@ -1241,6 +1292,9 @@ declare const AXPDocumentExplorerViewModel: _angular_core.Type<{
|
|
|
1241
1292
|
uploadFileByType: (folderId: string, documentTypeId: string) => Promise<void>;
|
|
1242
1293
|
} & _ngrx_signals.StateSource<{
|
|
1243
1294
|
viewMode: AXPDocumentExplorerViewMode;
|
|
1295
|
+
preferredViewMode: AXPDocumentExplorerViewMode;
|
|
1296
|
+
viewModeLocked: boolean;
|
|
1297
|
+
homogeneousGrid: HomogeneousGridMatch | null;
|
|
1244
1298
|
isLoading: boolean;
|
|
1245
1299
|
scope: AXPPlatformScope;
|
|
1246
1300
|
currentPath: AXMDocumentExplorerNode[];
|
|
@@ -1366,6 +1420,9 @@ declare class AXMDocumentDrivePageComponent extends AXPPageLayoutBaseComponent i
|
|
|
1366
1420
|
private readonly driveService;
|
|
1367
1421
|
protected readonly vm: {
|
|
1368
1422
|
viewMode: _angular_core.Signal<_acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode>;
|
|
1423
|
+
preferredViewMode: _angular_core.Signal<_acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode>;
|
|
1424
|
+
viewModeLocked: _angular_core.Signal<boolean>;
|
|
1425
|
+
homogeneousGrid: _angular_core.Signal<null> | _ngrx_signals.DeepSignal<HomogeneousGridMatch>;
|
|
1369
1426
|
isLoading: _angular_core.Signal<boolean>;
|
|
1370
1427
|
scope: _angular_core.Signal<AXPPlatformScope>;
|
|
1371
1428
|
currentPath: _angular_core.Signal<_acorex_platform_module_document_management_client.AXMDocumentExplorerNode[]>;
|
|
@@ -1408,11 +1465,13 @@ declare class AXMDocumentDrivePageComponent extends AXPPageLayoutBaseComponent i
|
|
|
1408
1465
|
isDetailsView: _angular_core.Signal<boolean>;
|
|
1409
1466
|
isLargeIconsView: _angular_core.Signal<boolean>;
|
|
1410
1467
|
isSmallIconsView: _angular_core.Signal<boolean>;
|
|
1468
|
+
canUseHomogeneousGrid: _angular_core.Signal<boolean>;
|
|
1411
1469
|
isBackAvailable: _angular_core.Signal<boolean>;
|
|
1412
1470
|
isUpAvailable: _angular_core.Signal<boolean>;
|
|
1413
1471
|
selectedCount: _angular_core.Signal<number>;
|
|
1414
1472
|
hasSelectedItems: _angular_core.Signal<boolean>;
|
|
1415
1473
|
hasMultipleSelectedItems: _angular_core.Signal<boolean>;
|
|
1474
|
+
showSelectionDeleteActions: _angular_core.Signal<boolean>;
|
|
1416
1475
|
isMultiSelect: _angular_core.Signal<boolean>;
|
|
1417
1476
|
selectedNode: _angular_core.Signal<_acorex_platform_module_document_management_client.AXMDocumentExplorerNode | null>;
|
|
1418
1477
|
isDetailPanelOpen: _angular_core.Signal<boolean>;
|
|
@@ -1433,6 +1492,7 @@ declare class AXMDocumentDrivePageComponent extends AXPPageLayoutBaseComponent i
|
|
|
1433
1492
|
name?: string;
|
|
1434
1493
|
parentId?: string;
|
|
1435
1494
|
}) => Promise<void>;
|
|
1495
|
+
setViewModeLocked: (locked: boolean) => void;
|
|
1436
1496
|
setViewMode: (mode: _acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode | string) => void;
|
|
1437
1497
|
isViewMode: (mode: _acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode | string) => boolean;
|
|
1438
1498
|
setSortField: (field: string) => void;
|
|
@@ -1482,6 +1542,7 @@ declare class AXMDocumentDrivePageComponent extends AXPPageLayoutBaseComponent i
|
|
|
1482
1542
|
selectOnContextMenu: (node: _acorex_platform_module_document_management_client.AXMDocumentExplorerNode) => void;
|
|
1483
1543
|
isItemSelected: (node: _acorex_platform_module_document_management_client.AXMDocumentExplorerNode) => boolean;
|
|
1484
1544
|
selectAll: () => void;
|
|
1545
|
+
setSelectedNodes: (nodes: _acorex_platform_module_document_management_client.AXMDocumentExplorerNode[]) => void;
|
|
1485
1546
|
deselectAll: () => void;
|
|
1486
1547
|
openDetailPanel: () => void;
|
|
1487
1548
|
closeDetailPanel: () => void;
|
|
@@ -1522,6 +1583,9 @@ declare class AXMDocumentDrivePageComponent extends AXPPageLayoutBaseComponent i
|
|
|
1522
1583
|
uploadFileByType: (folderId: string, documentTypeId: string) => Promise<void>;
|
|
1523
1584
|
} & _ngrx_signals.StateSource<{
|
|
1524
1585
|
viewMode: _acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode;
|
|
1586
|
+
preferredViewMode: _acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode;
|
|
1587
|
+
viewModeLocked: boolean;
|
|
1588
|
+
homogeneousGrid: HomogeneousGridMatch | null;
|
|
1525
1589
|
isLoading: boolean;
|
|
1526
1590
|
scope: AXPPlatformScope;
|
|
1527
1591
|
currentPath: _acorex_platform_module_document_management_client.AXMDocumentExplorerNode[];
|
|
@@ -1566,7 +1630,7 @@ declare class AXMDocumentDrivePageComponent extends AXPPageLayoutBaseComponent i
|
|
|
1566
1630
|
textKey: string;
|
|
1567
1631
|
icon: string;
|
|
1568
1632
|
}[]>;
|
|
1569
|
-
protected readonly viewsItems: _angular_core.
|
|
1633
|
+
protected readonly viewsItems: _angular_core.Signal<({
|
|
1570
1634
|
key: string;
|
|
1571
1635
|
icon: string;
|
|
1572
1636
|
break?: undefined;
|
|
@@ -1705,6 +1769,9 @@ declare class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent imple
|
|
|
1705
1769
|
private readonly documentTypeService;
|
|
1706
1770
|
protected readonly vm: {
|
|
1707
1771
|
viewMode: _angular_core.Signal<_acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode>;
|
|
1772
|
+
preferredViewMode: _angular_core.Signal<_acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode>;
|
|
1773
|
+
viewModeLocked: _angular_core.Signal<boolean>;
|
|
1774
|
+
homogeneousGrid: _angular_core.Signal<null> | _ngrx_signals.DeepSignal<HomogeneousGridMatch>;
|
|
1708
1775
|
isLoading: _angular_core.Signal<boolean>;
|
|
1709
1776
|
scope: _angular_core.Signal<AXPPlatformScope>;
|
|
1710
1777
|
currentPath: _angular_core.Signal<_acorex_platform_module_document_management_client.AXMDocumentExplorerNode[]>;
|
|
@@ -1747,11 +1814,13 @@ declare class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent imple
|
|
|
1747
1814
|
isDetailsView: _angular_core.Signal<boolean>;
|
|
1748
1815
|
isLargeIconsView: _angular_core.Signal<boolean>;
|
|
1749
1816
|
isSmallIconsView: _angular_core.Signal<boolean>;
|
|
1817
|
+
canUseHomogeneousGrid: _angular_core.Signal<boolean>;
|
|
1750
1818
|
isBackAvailable: _angular_core.Signal<boolean>;
|
|
1751
1819
|
isUpAvailable: _angular_core.Signal<boolean>;
|
|
1752
1820
|
selectedCount: _angular_core.Signal<number>;
|
|
1753
1821
|
hasSelectedItems: _angular_core.Signal<boolean>;
|
|
1754
1822
|
hasMultipleSelectedItems: _angular_core.Signal<boolean>;
|
|
1823
|
+
showSelectionDeleteActions: _angular_core.Signal<boolean>;
|
|
1755
1824
|
isMultiSelect: _angular_core.Signal<boolean>;
|
|
1756
1825
|
selectedNode: _angular_core.Signal<_acorex_platform_module_document_management_client.AXMDocumentExplorerNode | null>;
|
|
1757
1826
|
isDetailPanelOpen: _angular_core.Signal<boolean>;
|
|
@@ -1772,6 +1841,7 @@ declare class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent imple
|
|
|
1772
1841
|
name?: string;
|
|
1773
1842
|
parentId?: string;
|
|
1774
1843
|
}) => Promise<void>;
|
|
1844
|
+
setViewModeLocked: (locked: boolean) => void;
|
|
1775
1845
|
setViewMode: (mode: _acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode | string) => void;
|
|
1776
1846
|
isViewMode: (mode: _acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode | string) => boolean;
|
|
1777
1847
|
setSortField: (field: string) => void;
|
|
@@ -1821,6 +1891,7 @@ declare class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent imple
|
|
|
1821
1891
|
selectOnContextMenu: (node: _acorex_platform_module_document_management_client.AXMDocumentExplorerNode) => void;
|
|
1822
1892
|
isItemSelected: (node: _acorex_platform_module_document_management_client.AXMDocumentExplorerNode) => boolean;
|
|
1823
1893
|
selectAll: () => void;
|
|
1894
|
+
setSelectedNodes: (nodes: _acorex_platform_module_document_management_client.AXMDocumentExplorerNode[]) => void;
|
|
1824
1895
|
deselectAll: () => void;
|
|
1825
1896
|
openDetailPanel: () => void;
|
|
1826
1897
|
closeDetailPanel: () => void;
|
|
@@ -1861,6 +1932,9 @@ declare class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent imple
|
|
|
1861
1932
|
uploadFileByType: (folderId: string, documentTypeId: string) => Promise<void>;
|
|
1862
1933
|
} & _ngrx_signals.StateSource<{
|
|
1863
1934
|
viewMode: _acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode;
|
|
1935
|
+
preferredViewMode: _acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode;
|
|
1936
|
+
viewModeLocked: boolean;
|
|
1937
|
+
homogeneousGrid: HomogeneousGridMatch | null;
|
|
1864
1938
|
isLoading: boolean;
|
|
1865
1939
|
scope: AXPPlatformScope;
|
|
1866
1940
|
currentPath: _acorex_platform_module_document_management_client.AXMDocumentExplorerNode[];
|
|
@@ -1917,7 +1991,7 @@ declare class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent imple
|
|
|
1917
1991
|
textKey: string;
|
|
1918
1992
|
icon: string;
|
|
1919
1993
|
}[]>;
|
|
1920
|
-
protected readonly viewsItems: _angular_core.
|
|
1994
|
+
protected readonly viewsItems: _angular_core.Signal<({
|
|
1921
1995
|
key: string;
|
|
1922
1996
|
icon: string;
|
|
1923
1997
|
break?: undefined;
|
|
@@ -2162,6 +2236,7 @@ declare class AXMDocumentExpirationBadgeComponent {
|
|
|
2162
2236
|
declare class AXMDocumentVersionBadgeComponent {
|
|
2163
2237
|
readonly node: _angular_core.InputSignal<AXMDocumentExplorerNode>;
|
|
2164
2238
|
protected readonly versionNumber: _angular_core.Signal<number | null>;
|
|
2239
|
+
protected readonly isDraft: _angular_core.Signal<boolean>;
|
|
2165
2240
|
protected readonly textKey = "@document-management:terms.document.version-badge.text";
|
|
2166
2241
|
protected readonly tooltipKey = "@document-management:terms.document.version-badge.tooltip";
|
|
2167
2242
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentVersionBadgeComponent, never>;
|
|
@@ -2183,6 +2258,9 @@ declare class AXMFolderExpirationBadgesComponent {
|
|
|
2183
2258
|
declare class AXMFolderPathBreadcrumbsComponent {
|
|
2184
2259
|
protected vm: {
|
|
2185
2260
|
viewMode: _angular_core.Signal<_acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode>;
|
|
2261
|
+
preferredViewMode: _angular_core.Signal<_acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode>;
|
|
2262
|
+
viewModeLocked: _angular_core.Signal<boolean>;
|
|
2263
|
+
homogeneousGrid: _angular_core.Signal<null> | _ngrx_signals.DeepSignal<HomogeneousGridMatch>;
|
|
2186
2264
|
isLoading: _angular_core.Signal<boolean>;
|
|
2187
2265
|
scope: _angular_core.Signal<_acorex_platform_framework_shared_core.AXPPlatformScope>;
|
|
2188
2266
|
currentPath: _angular_core.Signal<AXMDocumentExplorerNode[]>;
|
|
@@ -2225,11 +2303,13 @@ declare class AXMFolderPathBreadcrumbsComponent {
|
|
|
2225
2303
|
isDetailsView: _angular_core.Signal<boolean>;
|
|
2226
2304
|
isLargeIconsView: _angular_core.Signal<boolean>;
|
|
2227
2305
|
isSmallIconsView: _angular_core.Signal<boolean>;
|
|
2306
|
+
canUseHomogeneousGrid: _angular_core.Signal<boolean>;
|
|
2228
2307
|
isBackAvailable: _angular_core.Signal<boolean>;
|
|
2229
2308
|
isUpAvailable: _angular_core.Signal<boolean>;
|
|
2230
2309
|
selectedCount: _angular_core.Signal<number>;
|
|
2231
2310
|
hasSelectedItems: _angular_core.Signal<boolean>;
|
|
2232
2311
|
hasMultipleSelectedItems: _angular_core.Signal<boolean>;
|
|
2312
|
+
showSelectionDeleteActions: _angular_core.Signal<boolean>;
|
|
2233
2313
|
isMultiSelect: _angular_core.Signal<boolean>;
|
|
2234
2314
|
selectedNode: _angular_core.Signal<AXMDocumentExplorerNode | null>;
|
|
2235
2315
|
isDetailPanelOpen: _angular_core.Signal<boolean>;
|
|
@@ -2250,6 +2330,7 @@ declare class AXMFolderPathBreadcrumbsComponent {
|
|
|
2250
2330
|
name?: string;
|
|
2251
2331
|
parentId?: string;
|
|
2252
2332
|
}) => Promise<void>;
|
|
2333
|
+
setViewModeLocked: (locked: boolean) => void;
|
|
2253
2334
|
setViewMode: (mode: _acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode | string) => void;
|
|
2254
2335
|
isViewMode: (mode: _acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode | string) => boolean;
|
|
2255
2336
|
setSortField: (field: string) => void;
|
|
@@ -2299,6 +2380,7 @@ declare class AXMFolderPathBreadcrumbsComponent {
|
|
|
2299
2380
|
selectOnContextMenu: (node: AXMDocumentExplorerNode) => void;
|
|
2300
2381
|
isItemSelected: (node: AXMDocumentExplorerNode) => boolean;
|
|
2301
2382
|
selectAll: () => void;
|
|
2383
|
+
setSelectedNodes: (nodes: AXMDocumentExplorerNode[]) => void;
|
|
2302
2384
|
deselectAll: () => void;
|
|
2303
2385
|
openDetailPanel: () => void;
|
|
2304
2386
|
closeDetailPanel: () => void;
|
|
@@ -2339,6 +2421,9 @@ declare class AXMFolderPathBreadcrumbsComponent {
|
|
|
2339
2421
|
uploadFileByType: (folderId: string, documentTypeId: string) => Promise<void>;
|
|
2340
2422
|
} & _ngrx_signals.StateSource<{
|
|
2341
2423
|
viewMode: _acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode;
|
|
2424
|
+
preferredViewMode: _acorex_platform_module_document_management_client.AXPDocumentExplorerViewMode;
|
|
2425
|
+
viewModeLocked: boolean;
|
|
2426
|
+
homogeneousGrid: HomogeneousGridMatch | null;
|
|
2342
2427
|
isLoading: boolean;
|
|
2343
2428
|
scope: _acorex_platform_framework_shared_core.AXPPlatformScope;
|
|
2344
2429
|
currentPath: AXMDocumentExplorerNode[];
|