@acorex-platform/module-document-management-client 2.0.0-next.4 → 2.0.0-next.6
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-BvSJUZE-.mjs → acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-D0DTP3BN.mjs} +79 -29
- package/fesm2022/acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-D0DTP3BN.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-document-management-client-attachment-view-skeleton.component-DgjIypl7.mjs → acorex-platform-module-document-management-client-attachment-view-skeleton.component-D36_0xXy.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-attachment-view-skeleton.component-DgjIypl7.mjs.map → acorex-platform-module-document-management-client-attachment-view-skeleton.component-D36_0xXy.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-document-management-client-attachment-widget.component-CReChWJw.mjs +37 -0
- package/fesm2022/acorex-platform-module-document-management-client-attachment-widget.component-CReChWJw.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-contracts.mjs +12 -1
- package/fesm2022/acorex-platform-module-document-management-client-contracts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-document-management-client-details-view.component-PfKcPBmu.mjs → acorex-platform-module-document-management-client-details-view.component-Cyy5ihGW.mjs} +3 -3
- package/fesm2022/acorex-platform-module-document-management-client-details-view.component-Cyy5ihGW.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-document-management-client-distribute-document.command-Dx9YD_mL.mjs → acorex-platform-module-document-management-client-distribute-document.command-CSFadKvh.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-distribute-document.command-Dx9YD_mL.mjs.map → acorex-platform-module-document-management-client-distribute-document.command-CSFadKvh.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-document-management-client-drive-choose.component-OhAugc6r.mjs → acorex-platform-module-document-management-client-drive-choose.component-BMulQpg-.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-drive-choose.component-OhAugc6r.mjs.map → acorex-platform-module-document-management-client-drive-choose.component-BMulQpg-.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-document-management-client-large-icons-view-skeleton.component-DpBUfDxO.mjs → acorex-platform-module-document-management-client-large-icons-view-skeleton.component-SQeg1CLI.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-large-icons-view-skeleton.component-DpBUfDxO.mjs.map → acorex-platform-module-document-management-client-large-icons-view-skeleton.component-SQeg1CLI.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-document-management-client-large-icons-view.component-AGlhAtYv.mjs +31 -0
- package/fesm2022/acorex-platform-module-document-management-client-large-icons-view.component-AGlhAtYv.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-large-tiles-view.component-D97jwBeB.mjs +36 -0
- package/fesm2022/acorex-platform-module-document-management-client-large-tiles-view.component-D97jwBeB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-document-management-client-list-view-skeleton.component-BBvqBQNf.mjs → acorex-platform-module-document-management-client-list-view-skeleton.component-C2HQ4GiV.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-list-view-skeleton.component-BBvqBQNf.mjs.map → acorex-platform-module-document-management-client-list-view-skeleton.component-C2HQ4GiV.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-document-management-client-list-view.component-D7ZY-Uxu.mjs +31 -0
- package/fesm2022/acorex-platform-module-document-management-client-list-view.component-D7ZY-Uxu.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-document-management-client-open-document.command-CXGPoHxG.mjs → acorex-platform-module-document-management-client-open-document.command-Cc_SSbPP.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-open-document.command-CXGPoHxG.mjs.map → acorex-platform-module-document-management-client-open-document.command-Cc_SSbPP.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-document-management-client-request-document-review.command-DeKBAiDg.mjs → acorex-platform-module-document-management-client-request-document-review.command-BPNCRHDN.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-request-document-review.command-DeKBAiDg.mjs.map → acorex-platform-module-document-management-client-request-document-review.command-BPNCRHDN.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-document-management-client-small-icons-view-skeleton.component-CXwTiSk5.mjs → acorex-platform-module-document-management-client-small-icons-view-skeleton.component-sCp4SVqI.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-small-icons-view-skeleton.component-CXwTiSk5.mjs.map → acorex-platform-module-document-management-client-small-icons-view-skeleton.component-sCp4SVqI.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-document-management-client-small-icons-view.component-DEiUdVXD.mjs +31 -0
- package/fesm2022/acorex-platform-module-document-management-client-small-icons-view.component-DEiUdVXD.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-document-management-client-small-tiles-view-skeleton.component--4le59Nv.mjs → acorex-platform-module-document-management-client-small-tiles-view-skeleton.component-BsBW019A.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-small-tiles-view-skeleton.component--4le59Nv.mjs.map → acorex-platform-module-document-management-client-small-tiles-view-skeleton.component-BsBW019A.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-document-management-client-small-tiles-view.component-CDPQf0bw.mjs +36 -0
- package/fesm2022/acorex-platform-module-document-management-client-small-tiles-view.component-CDPQf0bw.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-document-management-client-upload-document.command-Cq4ewNtw.mjs → acorex-platform-module-document-management-client-upload-document.command-DtDIxNtg.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-document-management-client-upload-document.command-Cq4ewNtw.mjs.map → acorex-platform-module-document-management-client-upload-document.command-DtDIxNtg.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-document-management-client.mjs +1 -1
- package/i18n/en-AU/document-management.json +9 -0
- package/i18n/en-US/document-management.json +9 -0
- package/i18n/fa-IR/document-management.json +9 -0
- package/package.json +2 -2
- package/types/acorex-platform-module-document-management-client-contracts.d.ts +11 -3
- package/types/acorex-platform-module-document-management-client.d.ts +5 -0
- package/fesm2022/acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-BvSJUZE-.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-document-management-client-attachment-widget.component-OFHfOBUY.mjs +0 -37
- package/fesm2022/acorex-platform-module-document-management-client-attachment-widget.component-OFHfOBUY.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-document-management-client-details-view.component-PfKcPBmu.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-document-management-client-large-icons-view.component-CcfWPik4.mjs +0 -31
- package/fesm2022/acorex-platform-module-document-management-client-large-icons-view.component-CcfWPik4.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-document-management-client-large-tiles-view.component-Dy21yqA-.mjs +0 -36
- package/fesm2022/acorex-platform-module-document-management-client-large-tiles-view.component-Dy21yqA-.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-document-management-client-list-view.component-BokMkS6v.mjs +0 -31
- package/fesm2022/acorex-platform-module-document-management-client-list-view.component-BokMkS6v.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-document-management-client-small-icons-view.component-DnY9IiJE.mjs +0 -31
- package/fesm2022/acorex-platform-module-document-management-client-small-icons-view.component-DnY9IiJE.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-document-management-client-small-tiles-view.component-DKo0rMHF.mjs +0 -36
- package/fesm2022/acorex-platform-module-document-management-client-small-tiles-view.component-DKo0rMHF.mjs.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AXPTaskBadgeProvider, resolveFileChooserExtension, AXPFileChooserService, AXPFileViewerService, AXPFileViewerFallbackContentComponent, AXP_FILE_CHOOSER_PROVIDERS, AXP_FILE_UPLOADER_PROVIDERS, isUnrestrictedFileAccept, fileNameMatchesAccept, AXPStateMessageComponent, AXPLayoutSideDetailPanelComponent, AXPLayoutSideDetailPanelSectionDirective, AXP_PAGE_COMPONENT_PROVIDER, AXP_TASK_BADGE_PROVIDERS, provideFileViewer, AXPThemeLayoutBlockComponent, AXPQueryFiltersComponent } from '@acorex-platform/framework-client/layout/components';
|
|
2
2
|
import { AXPEntityService, resolveEntityPluginDetailPageOrder, ensureListActions, AXPEntityDefinitionRegistryService, AXPMiddlewareAbortError, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_ACTION_PLUGIN, AXP_ENTITY_STORAGE_MIDDLEWARE } from '@acorex-platform/framework-client/layout/entity';
|
|
3
3
|
import { AXPEntityBroadcastService, AXPHookService, AXPDialogOpener as AXPDialogOpener$1, AXPDataGenerator as AXPDataGenerator$1, AXPDeviceService, AXPExpressionEvaluatorService, AXPDebugService, AXP_FEATURE_DEFINITION_PROVIDER, AXP_HOOK_PROVIDER } from '@acorex-platform/framework-client/core';
|
|
4
|
-
import { AXPSearchCommandProvider, createEntitySearchCommand, AXPFileTypeProviderService, AXP_FILE_TYPE_INFO_PROVIDER, AXPFileStorageService, extractRequestErrorInfo, platformErrorI18nKey, resolveExplorerFileDisplayName, tryOpenFileByCatalogType, createFileTypeOpenContext, FILE_VIEWER_PREVIEW_EXTENSIONS, isFileNameShownInViewer, normalizeDocumentToFileListItem, UploadFromComputerActionProvider, AXP_FILE_ACTION_PROVIDER, hasFileTypeOpenHandler, resolveFileTypeDisplay, AXPSettingsService, AXPLockService, AXP_PROTECTED_ROUTE_GUARDS, AXP_STATUS_PROVIDERS, AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/common';
|
|
4
|
+
import { AXPSearchCommandProvider, createEntitySearchCommand, AXPFileTypeProviderService, AXP_FILE_TYPE_INFO_PROVIDER, AXPFileStorageService, extractRequestErrorInfo, platformErrorI18nKey, resolveExplorerFileDisplayName, tryOpenFileByCatalogType, createFileTypeOpenContext, FILE_VIEWER_PREVIEW_EXTENSIONS, isFileNameShownInViewer, normalizeDocumentToFileListItem, UploadFromComputerActionProvider, AXP_FILE_ACTION_PROVIDER, isFileViewerPreviewExtension, extractFileExtension, hasFileTypeOpenHandler, resolveFileTypeDisplay, AXPSettingsService, AXPLockService, AXP_PROTECTED_ROUTE_GUARDS, AXP_STATUS_PROVIDERS, AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/common';
|
|
5
5
|
import { AXPSessionService, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';
|
|
6
6
|
import * as i0 from '@angular/core';
|
|
7
7
|
import { Injectable, inject, DestroyRef, signal, ChangeDetectionStrategy, Component, NgModule, viewChild, computed, Injector, PLATFORM_ID, input, effect, ViewEncapsulation, untracked, HostListener } from '@angular/core';
|
|
8
|
-
import { AXPDocumentManagementFeatureKeys, AXPContentDocumentsPermissionKeys, RootConfig, AXPDocumentManagementMenuKeys, AXPDocumentManagementSettings, documentReviewReadonlyFieldNames, documentTypeHasReviewMetadataForAppliesTo, documentTypeAllowsDistributionForAppliesTo, AXMDocumentManagementCommandKeys } from '@acorex-platform/module-document-management-client/contracts';
|
|
8
|
+
import { AXPDocumentManagementFeatureKeys, AXPContentDocumentsPermissionKeys, RootConfig, AXPDocumentManagementMenuKeys, AXPDocumentManagementSettings, documentReviewReadonlyFieldNames, documentTypeHasReviewMetadataForAppliesTo, documentTypeAllowsDistributionForAppliesTo, resolveDocumentFileDoubleClickAction, AXMDocumentManagementCommandKeys } from '@acorex-platform/module-document-management-client/contracts';
|
|
9
9
|
import { AXPCommonPermissionGroupKeys, AXPCommonMenuKeys, AXP_VERSIONING_ERROR_I18N, AXPVersioningField, AXPVersioningStatus, AXPCommonCommandKeys, isMaintainVersioningPermissionGranted } from '@acorex-platform/module-common-client/contracts';
|
|
10
10
|
import { firstValueFrom, combineLatest } from 'rxjs';
|
|
11
11
|
import { AXPCommandEventsService, AXPCommandService, AXPQueryService, provideCommandSetups } from '@acorex-platform/framework-client/runtime';
|
|
@@ -324,6 +324,11 @@ const SORT_DIRECTION_OPTIONS = [
|
|
|
324
324
|
{ value: 'asc', text: `${I18N}.items.sort-direction.options.asc` },
|
|
325
325
|
{ value: 'desc', text: `${I18N}.items.sort-direction.options.desc` },
|
|
326
326
|
];
|
|
327
|
+
const FILE_DOUBLE_CLICK_OPTIONS = [
|
|
328
|
+
{ value: 'gallery', text: `${I18N}.items.file-double-click-action.options.gallery` },
|
|
329
|
+
{ value: 'download', text: `${I18N}.items.file-double-click-action.options.download` },
|
|
330
|
+
{ value: 'view-or-download', text: `${I18N}.items.file-double-click-action.options.view-or-download` },
|
|
331
|
+
];
|
|
327
332
|
//#endregion
|
|
328
333
|
/**
|
|
329
334
|
* Registers document-management settings, including explorer layout prefs
|
|
@@ -411,6 +416,23 @@ class AXPDocumentManagementSettingProvider {
|
|
|
411
416
|
type: AXPWidgetsList.Editors.ToggleSwitch,
|
|
412
417
|
options: { label: null },
|
|
413
418
|
},
|
|
419
|
+
})
|
|
420
|
+
.addSetting({
|
|
421
|
+
key: AXPDocumentManagementSettings.FileDoubleClickAction,
|
|
422
|
+
title: `${I18N}.items.file-double-click-action.title`,
|
|
423
|
+
description: `${I18N}.items.file-double-click-action.description`,
|
|
424
|
+
scope: 'U',
|
|
425
|
+
overridableAt: [],
|
|
426
|
+
isInherited: false,
|
|
427
|
+
defaultValue: 'gallery',
|
|
428
|
+
widget: {
|
|
429
|
+
type: AXPWidgetsList.Editors.SelectBox,
|
|
430
|
+
options: {
|
|
431
|
+
valueField: 'value',
|
|
432
|
+
textField: 'text',
|
|
433
|
+
dataSource: [...FILE_DOUBLE_CLICK_OPTIONS],
|
|
434
|
+
},
|
|
435
|
+
},
|
|
414
436
|
})
|
|
415
437
|
.endSection()
|
|
416
438
|
.endGroup();
|
|
@@ -3016,7 +3038,7 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3016
3038
|
async openDriveFolderPicker(options) {
|
|
3017
3039
|
let title = '';
|
|
3018
3040
|
const popup = await this.dialogOpener.openPopup({
|
|
3019
|
-
load: () => import('./acorex-platform-module-document-management-client-drive-choose.component-
|
|
3041
|
+
load: () => import('./acorex-platform-module-document-management-client-drive-choose.component-BMulQpg-.mjs').then((module) => module.AXMDocumentDriveChooseComponent),
|
|
3020
3042
|
data: {
|
|
3021
3043
|
titleKey: options.titleKey,
|
|
3022
3044
|
scope: options.scope,
|
|
@@ -4459,7 +4481,7 @@ const AXM_DRIVE_FILE_CHOOSER_PROVIDER = {
|
|
|
4459
4481
|
const accept = context.options['accept'];
|
|
4460
4482
|
let title = '';
|
|
4461
4483
|
const popup = await dialogOpener.openPopup({
|
|
4462
|
-
load: () => import('./acorex-platform-module-document-management-client-drive-choose.component-
|
|
4484
|
+
load: () => import('./acorex-platform-module-document-management-client-drive-choose.component-BMulQpg-.mjs').then((module) => module.AXMDocumentDriveChooseComponent),
|
|
4463
4485
|
data: { scope, multiple, browseMode, accept: accept ?? '' },
|
|
4464
4486
|
prepare: async () => {
|
|
4465
4487
|
title = await translate.translateAsync('@document-management:actions.choose-from-drive');
|
|
@@ -5448,6 +5470,11 @@ const AXPDocumentExplorerViewModel = signalStore({ providedIn: 'root' }, withSta
|
|
|
5448
5470
|
.data();
|
|
5449
5471
|
/** In-flight folder load; duplicate requests for the same folder reuse the same promise. */
|
|
5450
5472
|
let inflightLoad = null;
|
|
5473
|
+
/** Image, PDF, video, and audio can render in the file viewer. Other types cannot. */
|
|
5474
|
+
const canPreviewFileInViewer = (node) => {
|
|
5475
|
+
const displayName = resolveExplorerFileDisplayName(node.name, node.fileId);
|
|
5476
|
+
return isFileViewerPreviewExtension(extractFileExtension(displayName));
|
|
5477
|
+
};
|
|
5451
5478
|
const applyExplorerNode = (node) => {
|
|
5452
5479
|
const sortField = store.sortField();
|
|
5453
5480
|
const sortDirection = store.sortDirection();
|
|
@@ -6853,6 +6880,25 @@ const AXPDocumentExplorerViewModel = signalStore({ providedIn: 'root' }, withSta
|
|
|
6853
6880
|
downloadFile(node) {
|
|
6854
6881
|
driveService.downloadFile(node);
|
|
6855
6882
|
},
|
|
6883
|
+
/**
|
|
6884
|
+
* File double-click in every explorer view.
|
|
6885
|
+
* Default opens the file viewer. The user setting can always download,
|
|
6886
|
+
* or open the viewer only when the file can be previewed.
|
|
6887
|
+
*/
|
|
6888
|
+
async openFileOnDoubleClick(node) {
|
|
6889
|
+
if (node.type !== 'file') {
|
|
6890
|
+
return;
|
|
6891
|
+
}
|
|
6892
|
+
const saved = await settingsService
|
|
6893
|
+
.scope(DOCUMENT_EXPLORER_LAYOUT_SETTINGS_SCOPE)
|
|
6894
|
+
.get(AXPDocumentManagementSettings.FileDoubleClickAction);
|
|
6895
|
+
const action = resolveDocumentFileDoubleClickAction(saved);
|
|
6896
|
+
if (action === 'download' || (action === 'view-or-download' && !canPreviewFileInViewer(node))) {
|
|
6897
|
+
this.downloadFile(node);
|
|
6898
|
+
return;
|
|
6899
|
+
}
|
|
6900
|
+
await this.openFileViewer(node);
|
|
6901
|
+
},
|
|
6856
6902
|
/**
|
|
6857
6903
|
* Opens the file viewer for the current folder, starting at the selected file.
|
|
6858
6904
|
*/
|
|
@@ -7070,26 +7116,26 @@ class AXMDocumentExplorerComponent {
|
|
|
7070
7116
|
/** Drops stale async open results when the user right-clicks again before items resolve. */
|
|
7071
7117
|
this.contextMenuOpenToken = 0;
|
|
7072
7118
|
this.viewMap = {
|
|
7073
|
-
list: async () => (await import('./acorex-platform-module-document-management-client-list-view.component-
|
|
7074
|
-
'small-tiles': async () => (await import('./acorex-platform-module-document-management-client-small-tiles-view.component-
|
|
7075
|
-
'large-tiles': async () => (await import('./acorex-platform-module-document-management-client-large-tiles-view.component-
|
|
7076
|
-
details: async () => (await import('./acorex-platform-module-document-management-client-details-view.component-
|
|
7077
|
-
'large-icons': async () => (await import('./acorex-platform-module-document-management-client-large-icons-view.component-
|
|
7078
|
-
'small-icons': async () => (await import('./acorex-platform-module-document-management-client-small-icons-view.component-
|
|
7079
|
-
'attachment': async () => (await import('./acorex-platform-module-document-management-client-attachment-widget.component-
|
|
7119
|
+
list: async () => (await import('./acorex-platform-module-document-management-client-list-view.component-D7ZY-Uxu.mjs')).AXMDocumentExplorerListViewComponent,
|
|
7120
|
+
'small-tiles': async () => (await import('./acorex-platform-module-document-management-client-small-tiles-view.component-CDPQf0bw.mjs')).AXMDocumentExplorerSmallTilesViewComponent,
|
|
7121
|
+
'large-tiles': async () => (await import('./acorex-platform-module-document-management-client-large-tiles-view.component-D97jwBeB.mjs')).AXMDocumentExplorerLargeTilesViewComponent,
|
|
7122
|
+
details: async () => (await import('./acorex-platform-module-document-management-client-details-view.component-Cyy5ihGW.mjs')).AXMDocumentExplorerDetailsViewComponent,
|
|
7123
|
+
'large-icons': async () => (await import('./acorex-platform-module-document-management-client-large-icons-view.component-AGlhAtYv.mjs')).AXMDocumentExplorerLargeIconsViewComponent,
|
|
7124
|
+
'small-icons': async () => (await import('./acorex-platform-module-document-management-client-small-icons-view.component-DEiUdVXD.mjs')).AXMDocumentExplorerSmallIconsViewComponent,
|
|
7125
|
+
'attachment': async () => (await import('./acorex-platform-module-document-management-client-attachment-widget.component-CReChWJw.mjs')).AXMDocumentExplorerAttachmentComponent,
|
|
7080
7126
|
};
|
|
7081
7127
|
this.skeletonViewMap = {
|
|
7082
|
-
list: async () => (await import('./acorex-platform-module-document-management-client-list-view-skeleton.component-
|
|
7083
|
-
'small-tiles': async () => (await import('./acorex-platform-module-document-management-client-small-tiles-view-skeleton.component
|
|
7128
|
+
list: async () => (await import('./acorex-platform-module-document-management-client-list-view-skeleton.component-C2HQ4GiV.mjs')).AXMDocumentExplorerListViewSkeletonComponent,
|
|
7129
|
+
'small-tiles': async () => (await import('./acorex-platform-module-document-management-client-small-tiles-view-skeleton.component-BsBW019A.mjs'))
|
|
7084
7130
|
.AXMDocumentExplorerSmallTilesViewSkeletonComponent,
|
|
7085
7131
|
'large-tiles': async () => (await Promise.resolve().then(function () { return largeTilesViewSkeleton_component; }))
|
|
7086
7132
|
.AXMDocumentExplorerLargeTilesViewSkeletonComponent,
|
|
7087
7133
|
details: async () => (await import('./acorex-platform-module-document-management-client-details-view-skeleton.component-BnRZrzCX.mjs')).AXMDocumentExplorerDetailsViewSkeletonComponent,
|
|
7088
|
-
'large-icons': async () => (await import('./acorex-platform-module-document-management-client-large-icons-view-skeleton.component-
|
|
7134
|
+
'large-icons': async () => (await import('./acorex-platform-module-document-management-client-large-icons-view-skeleton.component-SQeg1CLI.mjs'))
|
|
7089
7135
|
.AXMDocumentExplorerLargeIconsViewSkeletonComponent,
|
|
7090
|
-
'small-icons': async () => (await import('./acorex-platform-module-document-management-client-small-icons-view-skeleton.component-
|
|
7136
|
+
'small-icons': async () => (await import('./acorex-platform-module-document-management-client-small-icons-view-skeleton.component-sCp4SVqI.mjs'))
|
|
7091
7137
|
.AXMDocumentExplorerSmallIconsViewSkeletonComponent,
|
|
7092
|
-
attachment: async () => (await import('./acorex-platform-module-document-management-client-attachment-view-skeleton.component-
|
|
7138
|
+
attachment: async () => (await import('./acorex-platform-module-document-management-client-attachment-view-skeleton.component-D36_0xXy.mjs'))
|
|
7093
7139
|
.AXMDocumentExplorerAttachmentViewSkeletonComponent,
|
|
7094
7140
|
};
|
|
7095
7141
|
this.#effect2 = effect(() => {
|
|
@@ -8448,15 +8494,15 @@ class AXMDocumentManagementModule {
|
|
|
8448
8494
|
provideCommandSetups([
|
|
8449
8495
|
{
|
|
8450
8496
|
key: 'DocumentManagement.Document:Upload',
|
|
8451
|
-
command: () => import('./acorex-platform-module-document-management-client-upload-document.command-
|
|
8497
|
+
command: () => import('./acorex-platform-module-document-management-client-upload-document.command-DtDIxNtg.mjs').then((c) => c.AXMUploadDocumentCommand),
|
|
8452
8498
|
},
|
|
8453
8499
|
{
|
|
8454
8500
|
key: 'DocumentManagement.Document:Open',
|
|
8455
|
-
command: () => import('./acorex-platform-module-document-management-client-open-document.command-
|
|
8501
|
+
command: () => import('./acorex-platform-module-document-management-client-open-document.command-Cc_SSbPP.mjs').then((c) => c.AXMOpenDocumentCommand),
|
|
8456
8502
|
},
|
|
8457
8503
|
{
|
|
8458
8504
|
key: 'DocumentManagement.Document:Distribute',
|
|
8459
|
-
command: () => import('./acorex-platform-module-document-management-client-distribute-document.command-
|
|
8505
|
+
command: () => import('./acorex-platform-module-document-management-client-distribute-document.command-CSFadKvh.mjs').then((c) => c.AXMDistributeDocumentCommand),
|
|
8460
8506
|
},
|
|
8461
8507
|
{
|
|
8462
8508
|
key: 'DocumentManagement.DocumentDistribution:SignOff',
|
|
@@ -8464,7 +8510,7 @@ class AXMDocumentManagementModule {
|
|
|
8464
8510
|
},
|
|
8465
8511
|
{
|
|
8466
8512
|
key: 'DocumentManagement.Document:RequestReview',
|
|
8467
|
-
command: () => import('./acorex-platform-module-document-management-client-request-document-review.command-
|
|
8513
|
+
command: () => import('./acorex-platform-module-document-management-client-request-document-review.command-BPNCRHDN.mjs').then((c) => c.AXMRequestDocumentReviewCommand),
|
|
8468
8514
|
},
|
|
8469
8515
|
{
|
|
8470
8516
|
key: 'DocumentManagement.DocumentReview:SignOff',
|
|
@@ -8555,15 +8601,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
8555
8601
|
provideCommandSetups([
|
|
8556
8602
|
{
|
|
8557
8603
|
key: 'DocumentManagement.Document:Upload',
|
|
8558
|
-
command: () => import('./acorex-platform-module-document-management-client-upload-document.command-
|
|
8604
|
+
command: () => import('./acorex-platform-module-document-management-client-upload-document.command-DtDIxNtg.mjs').then((c) => c.AXMUploadDocumentCommand),
|
|
8559
8605
|
},
|
|
8560
8606
|
{
|
|
8561
8607
|
key: 'DocumentManagement.Document:Open',
|
|
8562
|
-
command: () => import('./acorex-platform-module-document-management-client-open-document.command-
|
|
8608
|
+
command: () => import('./acorex-platform-module-document-management-client-open-document.command-Cc_SSbPP.mjs').then((c) => c.AXMOpenDocumentCommand),
|
|
8563
8609
|
},
|
|
8564
8610
|
{
|
|
8565
8611
|
key: 'DocumentManagement.Document:Distribute',
|
|
8566
|
-
command: () => import('./acorex-platform-module-document-management-client-distribute-document.command-
|
|
8612
|
+
command: () => import('./acorex-platform-module-document-management-client-distribute-document.command-CSFadKvh.mjs').then((c) => c.AXMDistributeDocumentCommand),
|
|
8567
8613
|
},
|
|
8568
8614
|
{
|
|
8569
8615
|
key: 'DocumentManagement.DocumentDistribution:SignOff',
|
|
@@ -8571,7 +8617,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
8571
8617
|
},
|
|
8572
8618
|
{
|
|
8573
8619
|
key: 'DocumentManagement.Document:RequestReview',
|
|
8574
|
-
command: () => import('./acorex-platform-module-document-management-client-request-document-review.command-
|
|
8620
|
+
command: () => import('./acorex-platform-module-document-management-client-request-document-review.command-BPNCRHDN.mjs').then((c) => c.AXMRequestDocumentReviewCommand),
|
|
8575
8621
|
},
|
|
8576
8622
|
{
|
|
8577
8623
|
key: 'DocumentManagement.DocumentReview:SignOff',
|
|
@@ -9082,9 +9128,10 @@ class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent {
|
|
|
9082
9128
|
});
|
|
9083
9129
|
const metadataFields = documentTypeIds.length > 0 ? await this.driveService.getUniqueMetadataFields(documentTypeIds) : [];
|
|
9084
9130
|
for (const field of metadataFields) {
|
|
9131
|
+
const multiple = field.widgetOptions?.['multiple'] === true;
|
|
9085
9132
|
definitions.push({
|
|
9086
|
-
field: field.widgetPath,
|
|
9087
|
-
operator: { type: this.getDefaultOperatorForEditor(field.widgetType) },
|
|
9133
|
+
field: field.widgetPath?.trim() || field.name,
|
|
9134
|
+
operator: { type: this.getDefaultOperatorForEditor(field.widgetType, multiple) },
|
|
9088
9135
|
title: field.title,
|
|
9089
9136
|
icon: this.getMetadataFieldIcon(field.widgetType),
|
|
9090
9137
|
widget: {
|
|
@@ -9135,6 +9182,7 @@ class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent {
|
|
|
9135
9182
|
case 'number-editor':
|
|
9136
9183
|
return 'number-filter';
|
|
9137
9184
|
case 'select-editor':
|
|
9185
|
+
case 'selection-list-editor':
|
|
9138
9186
|
return 'select-filter';
|
|
9139
9187
|
case 'date-time-editor':
|
|
9140
9188
|
return 'date-filter';
|
|
@@ -9145,12 +9193,13 @@ class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent {
|
|
|
9145
9193
|
}
|
|
9146
9194
|
}
|
|
9147
9195
|
/** Returns default operator type name for a given editor widget type. */
|
|
9148
|
-
getDefaultOperatorForEditor(editorType) {
|
|
9196
|
+
getDefaultOperatorForEditor(editorType, multiple = false) {
|
|
9149
9197
|
switch (editorType) {
|
|
9150
9198
|
case 'number-editor':
|
|
9151
9199
|
return 'equal';
|
|
9152
9200
|
case 'select-editor':
|
|
9153
|
-
|
|
9201
|
+
case 'selection-list-editor':
|
|
9202
|
+
return multiple ? 'in' : 'equal';
|
|
9154
9203
|
case 'date-time-editor':
|
|
9155
9204
|
return 'equal';
|
|
9156
9205
|
case 'text-editor':
|
|
@@ -9165,6 +9214,7 @@ class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent {
|
|
|
9165
9214
|
case 'number-editor':
|
|
9166
9215
|
return 'fa-hashtag';
|
|
9167
9216
|
case 'select-editor':
|
|
9217
|
+
case 'selection-list-editor':
|
|
9168
9218
|
return 'fa-list';
|
|
9169
9219
|
case 'date-time-editor':
|
|
9170
9220
|
return 'fa-calendar';
|
|
@@ -9374,4 +9424,4 @@ var drive_component = /*#__PURE__*/Object.freeze({
|
|
|
9374
9424
|
*/
|
|
9375
9425
|
|
|
9376
9426
|
export { resolveFolderExpirationCountBadges as $, AXPDocumentExplorerViewModel as A, AXMDocumentManagerServiceImpl as B, AXMFileTypeExtensionWidgetColumnComponent as C, AXMFileTypeExtensionWidgetDesignerComponent as D, AXMFileTypeExtensionWidgetEditComponent as E, AXMFileTypeExtensionWidgetViewComponent as F, AXMFileTypeModule as G, AXMMenuProvider as H, AXMSearchCommandProvider as I, AXM_DOCUMENT_ATTACHMENT_DIALOG_ON_ACTION_HOOK_KEY as J, AXM_DOCUMENT_DIALOG_SURFACE_ATTACHMENT as K, AXM_DOCUMENT_DIALOG_SURFACE_ATTACHMENT_NO_SAVE as L, AXM_DOCUMENT_EXPIRATION_STATUS as M, AXM_DOCUMENT_EXPIRATION_STATUS_DEFINITION_KEY as N, AXPDocumentManagementSettingProvider as O, AXmFileTypeExtensionWidget as P, DM_AUDIO_EXTENSION_ICONS as Q, DM_DOCUMENT_EXTENSION_ICONS as R, DM_FILE_EXTENSION_ICONS as S, DM_FILE_TYPE_ICONS as T, DM_VIDEO_EXTENSION_ICONS as U, DOCUMENT_DRIVE_PAGE_COMPONENT_KEY as V, ScopedDriveService as W, buildDocumentManagementFileTypeCatalog as X, documentPlugin as Y, resolveDocumentExpirationBadge as Z, resolveDocumentVersionNumber as _, AXMDocumentExpirationBadgeComponent as a, AXMDocumentVersionBadgeComponent as b, AXMFolderExpirationBadgesComponent as c, collectFolderScopedMetaDataList as d, collectDocumentScopedMetaDataList as e, flattenMetaDataColumns as f, collectLookupKeys as g, collectDocumentTypeIds as h, collectDocumentTypeNames as i, AXMDocumentManagerService as j, AXMDocumentDialogService as k, buildFileChooserOptionsFromDocumentType as l, AXPDocumentManagementService as m, collectDocumentTypeKeys as n, sourcesAllowDocumentReview as o, AXMDocumentExplorerComponent as p, AXMFolderPathBreadcrumbsComponent as q, readNodeMetaDataValue as r, sourcesAllowDocumentDistribution as s, AXMDocumentDriveComponent as t, AXMDocumentDrivePageComponent as u, AXMDocumentDrivePageComponentProvider as v, AXMDocumentExpirationStatusProvider as w, AXMDocumentManagementApiService as x, AXMDocumentManagementFileTypeProvider as y, AXMDocumentManagementModule as z };
|
|
9377
|
-
//# sourceMappingURL=acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-
|
|
9427
|
+
//# sourceMappingURL=acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-D0DTP3BN.mjs.map
|