@acorex/modules 20.7.8 → 20.7.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/document-management/index.d.ts +33 -10
  2. package/fesm2022/acorex-modules-application-management.mjs +16 -1
  3. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  4. package/fesm2022/acorex-modules-content-management.mjs +3 -3
  5. package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
  6. package/fesm2022/acorex-modules-dashboard-management.mjs +24 -23
  7. package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
  8. package/fesm2022/acorex-modules-data-management.mjs +68 -61
  9. package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
  10. package/fesm2022/{acorex-modules-document-management-drive-choose.component-CJRrn2XH.mjs → acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs} +4 -4
  11. package/fesm2022/{acorex-modules-document-management-drive-choose.component-CJRrn2XH.mjs.map → acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs.map} +1 -1
  12. package/fesm2022/acorex-modules-document-management.mjs +363 -231
  13. package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
  14. package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-DGgHWrL0.mjs → acorex-modules-help-desk-acorex-modules-help-desk-CydmGF5Q.mjs} +8 -4
  15. package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-DGgHWrL0.mjs.map → acorex-modules-help-desk-acorex-modules-help-desk-CydmGF5Q.mjs.map} +1 -1
  16. package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CAknGKEK.mjs → acorex-modules-help-desk-capture-screen.component-Bsq1FJId.mjs} +2 -2
  17. package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CAknGKEK.mjs.map → acorex-modules-help-desk-capture-screen.component-Bsq1FJId.mjs.map} +1 -1
  18. package/fesm2022/acorex-modules-help-desk.mjs +1 -1
  19. package/fesm2022/acorex-modules-human-capital-management.mjs +41 -26
  20. package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
  21. package/fesm2022/{acorex-modules-organization-management-org-chart.page-C85uluWf.mjs → acorex-modules-organization-management-org-chart.page-Ca_aJDbu.mjs} +19 -13
  22. package/fesm2022/acorex-modules-organization-management-org-chart.page-Ca_aJDbu.mjs.map +1 -0
  23. package/fesm2022/acorex-modules-organization-management.mjs +2 -2
  24. package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-DEx13GSy.mjs → acorex-modules-platform-management-acorex-modules-platform-management-DVkP3JKC.mjs} +1188 -341
  25. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-DVkP3JKC.mjs.map +1 -0
  26. package/fesm2022/acorex-modules-platform-management-menu-list.component-C_mdsuRc.mjs +519 -0
  27. package/fesm2022/acorex-modules-platform-management-menu-list.component-C_mdsuRc.mjs.map +1 -0
  28. package/fesm2022/acorex-modules-platform-management.mjs +1 -1
  29. package/fesm2022/acorex-modules-report-management.mjs +27 -6
  30. package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
  31. package/fesm2022/acorex-modules-workflow-management.mjs +15 -9
  32. package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
  33. package/package.json +6 -6
  34. package/platform-management/index.d.ts +12 -1
  35. package/fesm2022/acorex-modules-organization-management-org-chart.page-C85uluWf.mjs.map +0 -1
  36. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-DEx13GSy.mjs.map +0 -1
  37. package/fesm2022/acorex-modules-platform-management-menu-list.component-DLg61Nf8.mjs +0 -853
  38. package/fesm2022/acorex-modules-platform-management-menu-list.component-DLg61Nf8.mjs.map +0 -1
@@ -3,7 +3,6 @@ import { Injector, Type, OnInit } from '@angular/core';
3
3
  import * as i9 from '@acorex/platform/layout/widget-core';
4
4
  import { AXPMetaDataDefinition, AXPValueWidgetComponent, AXPWidgetCoreContextChangeEvent, AXPWidgetNode, AXPWidgetConfig } from '@acorex/platform/layout/widget-core';
5
5
  import * as i10 from '@acorex/components/media-viewer';
6
- import { AXMediaViewerContainerComponent, AXMediaViewerData } from '@acorex/components/media-viewer';
7
6
  import * as i11 from '@acorex/platform/workflow';
8
7
  import { AXPWorkflowService } from '@acorex/platform/workflow';
9
8
  import * as _acorex_platform_common from '@acorex/platform/common';
@@ -487,6 +486,10 @@ interface AXMDocumentManagerServiceInterface {
487
486
  }): Promise<boolean>;
488
487
  showFileViewerPopup(node: AXMDocumentExplorerNode): Promise<void>;
489
488
  openFile(node: AXMDocumentExplorerNode): Promise<void>;
489
+ /**
490
+ * Returns nodes that are supported by the gallery (image/pdf extensions).
491
+ */
492
+ getGallerySupportedFiles(nodes: AXMDocumentExplorerNode[]): AXMDocumentExplorerNode[];
490
493
  getAllFolders(): Promise<AXMDocumentExplorerNode[]>;
491
494
  getAllFiles(request?: AXPQueryRequest): Promise<AXMDocumentExplorerNode[]>;
492
495
  getAllNodes(): Promise<AXMDocumentExplorerNode[]>;
@@ -744,8 +747,14 @@ declare class AXMDocumentManagerService implements AXMDocumentManagerServiceInte
744
747
  * Shows choose file dialog
745
748
  */
746
749
  showChooseFileDialog(scope: AXPPlatformScope): Promise<AXMDocumentExplorerNode[]>;
750
+ /** File extensions supported by the gallery viewer (images + PDF). */
751
+ private static readonly GALLERY_EXTENSIONS;
747
752
  /**
748
- * Shows file viewer popup
753
+ * Returns nodes that are supported by the gallery (image/pdf extensions).
754
+ */
755
+ getGallerySupportedFiles(nodes: AXMDocumentExplorerNode[]): AXMDocumentExplorerNode[];
756
+ /**
757
+ * Shows file viewer popup using the gallery widget
749
758
  */
750
759
  showFileViewerPopup(node: AXMDocumentExplorerNode, options?: {
751
760
  index?: number;
@@ -1511,14 +1520,28 @@ declare class AXMFileTypeModule {
1511
1520
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMFileTypeModule>;
1512
1521
  }
1513
1522
 
1514
- declare class AXMFileViewerPopupComponent extends AXBasePageComponent {
1515
- index: number;
1516
- mediaViewer: _angular_core.Signal<AXMediaViewerContainerComponent | undefined>;
1517
- ngAfterViewInit(): void;
1523
+ /**
1524
+ * File gallery popup component that displays files using the gallery widget.
1525
+ * This component replaces the old file-viewer-popup and uses the same
1526
+ * gallery widget pattern as test8.
1527
+ */
1528
+ declare class AXMFileGalleryPopupComponent extends AXBasePageComponent {
1529
+ /** File list items received from popup data */
1530
+ files: _angular_core.WritableSignal<AXPFileListItem[]>;
1531
+ /** Starting index for the media viewer */
1532
+ startIndex: number;
1533
+ /** Widget context for the gallery */
1534
+ context: _angular_core.WritableSignal<Record<string, unknown>>;
1535
+ /**
1536
+ * Gallery widget node configuration
1537
+ */
1538
+ protected readonly galleryNode: _angular_core.Signal<AXPWidgetNode>;
1539
+ /**
1540
+ * Close the popup
1541
+ */
1518
1542
  onClose(): void;
1519
- nodes: AXMediaViewerData[];
1520
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMFileViewerPopupComponent, never>;
1521
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMFileViewerPopupComponent, "ng-component", never, {}, {}, never, never, true, never>;
1543
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMFileGalleryPopupComponent, never>;
1544
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMFileGalleryPopupComponent, "axm-file-gallery-popup", never, {}, {}, never, never, true, never>;
1522
1545
  }
1523
1546
 
1524
1547
  declare class AXMFolderPathBreadcrumbsComponent {
@@ -1769,5 +1792,5 @@ declare class AXMSettingProvider implements AXPSettingDefinitionProvider {
1769
1792
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMSettingProvider>;
1770
1793
  }
1771
1794
 
1772
- export { AXMArchiveFileTypeProvider, AXMAudioFileTypeProvider, AXMCodeFileTypeProvider, AXMDocumentDriveComponent, AXMDocumentExplorerComponent, AXMDocumentFileTypeProvider, AXMDocumentManagementDocumentEntityModule, AXMDocumentManagementDocumentTypeEntityModule, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, AXMDocumentManagementDocumentTypeMetaDefinitionEntityService, AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl, AXMDocumentManagementDocumentTypeMetaValueEntityModule, AXMDocumentManagementDocumentTypeMetaValueEntityService, AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl, AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, AXMDocumentManagementDocumentTypeStatusDefinitionEntityService, AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl, AXMDocumentManagementModule, AXMDocumentManagerService, AXMDocumentReletedEntityModule, AXMDocumentService, AXMDocumentServiceImpl, AXMDocumentTypeService, AXMDocumentTypeServiceImpl, AXMEntityProvider, AXMFileTypeExtensionWidgetColumnComponent, AXMFileTypeExtensionWidgetDesignerComponent, AXMFileTypeExtensionWidgetEditComponent, AXMFileTypeExtensionWidgetViewComponent, AXMFileTypeModule, AXMFileViewerPopupComponent, AXMFolderEntityModule, AXMFolderPathBreadcrumbsComponent, AXMFolderService, AXMFolderServiceImpl, AXMImageFileTypeProvider, AXMMenuProvider, AXMPermissionsKeys, AXMReviewEntityModule, AXMReviewService, AXMReviewServiceImpl, AXMSearchCommandProvider, AXMSettingProvider, AXMVideoFileTypeProvider, AXPDocumentExplorerSettings, AXPDocumentExplorerViewModel, AXPDocumentManagementFeatureKeys, AXPDocumentManagementMenuKeys, AXPDocumentManagementService, AXmFileTypeExtensionWidget, RootConfig, ScopedDriveService, canTransition, documentFactory, documentRelatedFactory, documentTypeFactory, documentTypeMetaDefinitionfactory, documentTypeMetaValueFactory, documentTypeStatusDefinitionFactory, folderFactory, getNextStatus, reviewFactory };
1795
+ export { AXMArchiveFileTypeProvider, AXMAudioFileTypeProvider, AXMCodeFileTypeProvider, AXMDocumentDriveComponent, AXMDocumentExplorerComponent, AXMDocumentFileTypeProvider, AXMDocumentManagementDocumentEntityModule, AXMDocumentManagementDocumentTypeEntityModule, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, AXMDocumentManagementDocumentTypeMetaDefinitionEntityService, AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl, AXMDocumentManagementDocumentTypeMetaValueEntityModule, AXMDocumentManagementDocumentTypeMetaValueEntityService, AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl, AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, AXMDocumentManagementDocumentTypeStatusDefinitionEntityService, AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl, AXMDocumentManagementModule, AXMDocumentManagerService, AXMDocumentReletedEntityModule, AXMDocumentService, AXMDocumentServiceImpl, AXMDocumentTypeService, AXMDocumentTypeServiceImpl, AXMEntityProvider, AXMFileGalleryPopupComponent, AXMFileTypeExtensionWidgetColumnComponent, AXMFileTypeExtensionWidgetDesignerComponent, AXMFileTypeExtensionWidgetEditComponent, AXMFileTypeExtensionWidgetViewComponent, AXMFileTypeModule, AXMFolderEntityModule, AXMFolderPathBreadcrumbsComponent, AXMFolderService, AXMFolderServiceImpl, AXMImageFileTypeProvider, AXMMenuProvider, AXMPermissionsKeys, AXMReviewEntityModule, AXMReviewService, AXMReviewServiceImpl, AXMSearchCommandProvider, AXMSettingProvider, AXMVideoFileTypeProvider, AXPDocumentExplorerSettings, AXPDocumentExplorerViewModel, AXPDocumentManagementFeatureKeys, AXPDocumentManagementMenuKeys, AXPDocumentManagementService, AXmFileTypeExtensionWidget, RootConfig, ScopedDriveService, canTransition, documentFactory, documentRelatedFactory, documentTypeFactory, documentTypeMetaDefinitionfactory, documentTypeMetaValueFactory, documentTypeStatusDefinitionFactory, folderFactory, getNextStatus, reviewFactory };
1773
1796
  export type { AXMDocumentExplorerBrowseMode, AXMDocumentExplorerNode, AXMDocumentInheritanceType, AXMDocumentManagementDocumentEntityModel, AXMDocumentManagementDocumentTypeEntityModel, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModel, AXMDocumentManagementDocumentTypeMetaValueEntityModel, AXMDocumentManagementDocumentTypeStatusDefinitionEntityModel, AXMDocumentManagementFolderCreateDto, AXMDocumentManagementFolderEntityModel, AXMDocumentManagementFolderGetDto, AXMDocumentManagementReviewEntityModel, AXMDocumentManagerServiceInterface, AXMDocumentMeta, AXMDocumentSelectionMode, AXMDocumentWorkflowPhase, AXMNodeType, AXPDocumentExplorerViewMode, CreateFileDto, CreateFolderDto, DocumentTypeFileOutput, UpdateFileDto, UpdateFolderDto };
@@ -2380,7 +2380,22 @@ async function editionEntityFactory(injector) {
2380
2380
  actions: [...entityMasterRecordActions()],
2381
2381
  },
2382
2382
  list: {
2383
- actions: [...entityMasterCrudActions()],
2383
+ actions: [
2384
+ ...entityMasterCrudActions(),
2385
+ {
2386
+ title: '@platform-management:menu-management.actions.customize-menu.title',
2387
+ icon: 'fa-light fa-bars',
2388
+ command: {
2389
+ name: 'customize-menu',
2390
+ options: {
2391
+ scopePrefix: 'edition',
2392
+ },
2393
+ },
2394
+ priority: 'secondary',
2395
+ type: 'view',
2396
+ scope: AXPEntityCommandScope.Individual,
2397
+ },
2398
+ ],
2384
2399
  views: [
2385
2400
  createAllQueryView({
2386
2401
  sorts: [{ name: 'title', dir: 'asc' }],