@acorex-platform/module-report-management-client 0.0.57 → 0.0.59

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 (15) hide show
  1. package/fesm2022/{acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-DhTbq8K0.mjs → acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-eSjEqt5D.mjs} +22 -18
  2. package/fesm2022/{acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-DhTbq8K0.mjs.map → acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-eSjEqt5D.mjs.map} +1 -1
  3. package/fesm2022/{acorex-platform-module-report-management-client-entity-reports-page-component.provider-DaX9owYf.mjs → acorex-platform-module-report-management-client-entity-reports-page-component.provider-CaxletoS.mjs} +3 -3
  4. package/fesm2022/{acorex-platform-module-report-management-client-entity-reports-page-component.provider-DaX9owYf.mjs.map → acorex-platform-module-report-management-client-entity-reports-page-component.provider-CaxletoS.mjs.map} +1 -1
  5. package/fesm2022/{acorex-platform-module-report-management-client-entity-reports-page.component-1pkBoTlX.mjs → acorex-platform-module-report-management-client-entity-reports-page.component-CK5bCQhm.mjs} +2 -2
  6. package/fesm2022/{acorex-platform-module-report-management-client-entity-reports-page.component-1pkBoTlX.mjs.map → acorex-platform-module-report-management-client-entity-reports-page.component-CK5bCQhm.mjs.map} +1 -1
  7. package/fesm2022/{acorex-platform-module-report-management-client-report-layout-switcher.util-GNdaXlQx.mjs → acorex-platform-module-report-management-client-report-layout-switcher.util-C3OVIaEz.mjs} +2 -2
  8. package/fesm2022/{acorex-platform-module-report-management-client-report-layout-switcher.util-GNdaXlQx.mjs.map → acorex-platform-module-report-management-client-report-layout-switcher.util-C3OVIaEz.mjs.map} +1 -1
  9. package/fesm2022/{acorex-platform-module-report-management-client-report-popup-viewer.component-Bjb6ECKz.mjs → acorex-platform-module-report-management-client-report-popup-viewer.component-CKE8NG5T.mjs} +3 -3
  10. package/fesm2022/{acorex-platform-module-report-management-client-report-popup-viewer.component-Bjb6ECKz.mjs.map → acorex-platform-module-report-management-client-report-popup-viewer.component-CKE8NG5T.mjs.map} +1 -1
  11. package/fesm2022/{acorex-platform-module-report-management-client-report-viewer-page.component-uKCoRWfX.mjs → acorex-platform-module-report-management-client-report-viewer-page.component-CPlbhBa_.mjs} +3 -3
  12. package/fesm2022/{acorex-platform-module-report-management-client-report-viewer-page.component-uKCoRWfX.mjs.map → acorex-platform-module-report-management-client-report-viewer-page.component-CPlbhBa_.mjs.map} +1 -1
  13. package/fesm2022/acorex-platform-module-report-management-client.mjs +1 -1
  14. package/package.json +1 -1
  15. package/types/acorex-platform-module-report-management-client.d.ts +1 -0
@@ -1,4 +1,4 @@
1
- import { AXPExpressionEvaluatorService, provideAppStartUpTask, AXP_APP_STARTUP_PRIORITY, AXP_FEATURE_DEFINITION_PROVIDER, provideLazyProvider } from '@acorex-platform/framework-client/core';
1
+ import { AXPExpressionEvaluatorService, provideAppStartUpTask, AXP_APP_STARTUP_PRIORITY, AXP_FEATURE_DEFINITION_PROVIDER, provideLazyProvider, AXPDialogOpener } from '@acorex-platform/framework-client/core';
2
2
  import { AXPDomainModule } from '@acorex-platform/framework-client/domain';
3
3
  import { AXPEntityService, resolveEntityPluginDetailPageOrder, AXP_ENTITY_ACTION_PLUGIN, provideEntity } from '@acorex-platform/framework-client/layout/entity';
4
4
  import { AXP_PAGE_COMPONENT_PROVIDER } from '@acorex-platform/framework-client/layout/components';
@@ -851,12 +851,12 @@ function routesFacory() {
851
851
  children: [
852
852
  {
853
853
  path: ':reportId',
854
- loadComponent: () => import('./acorex-platform-module-report-management-client-report-viewer-page.component-uKCoRWfX.mjs').then((c) => c.AXPReportViewerPageComponent),
854
+ loadComponent: () => import('./acorex-platform-module-report-management-client-report-viewer-page.component-CPlbhBa_.mjs').then((c) => c.AXPReportViewerPageComponent),
855
855
  data: { reuse: true },
856
856
  },
857
857
  {
858
858
  path: '',
859
- loadComponent: () => import('./acorex-platform-module-report-management-client-report-viewer-page.component-uKCoRWfX.mjs').then((c) => c.AXPReportViewerPageComponent),
859
+ loadComponent: () => import('./acorex-platform-module-report-management-client-report-viewer-page.component-CPlbhBa_.mjs').then((c) => c.AXPReportViewerPageComponent),
860
860
  data: { reuse: true },
861
861
  },
862
862
  ],
@@ -913,7 +913,7 @@ class AXMReportManagementModule {
913
913
  multi: true,
914
914
  useFactory: () => createEntityReportsPlugin(inject(Injector)),
915
915
  },
916
- provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-report-management-client-entity-reports-page-component.provider-DaX9owYf.mjs').then((m) => m.AXMEntityReportsPageComponentProvider)),
916
+ provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-report-management-client-entity-reports-page-component.provider-CaxletoS.mjs').then((m) => m.AXMEntityReportsPageComponentProvider)),
917
917
  ], imports: [AXPDomainModule,
918
918
  AXPRuntimeModule] }); }
919
919
  }
@@ -972,7 +972,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
972
972
  multi: true,
973
973
  useFactory: () => createEntityReportsPlugin(inject(Injector)),
974
974
  },
975
- provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-report-management-client-entity-reports-page-component.provider-DaX9owYf.mjs').then((m) => m.AXMEntityReportsPageComponentProvider)),
975
+ provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-report-management-client-entity-reports-page-component.provider-CaxletoS.mjs').then((m) => m.AXMEntityReportsPageComponentProvider)),
976
976
  ],
977
977
  }]
978
978
  }] });
@@ -1401,6 +1401,7 @@ class AXPOpenReportInPopupCommand {
1401
1401
  constructor() {
1402
1402
  //#region ----- Services & Dependencies -----
1403
1403
  this.popupService = inject(AXPopupService);
1404
+ this.dialogOpener = inject(AXPDialogOpener);
1404
1405
  this.expressionEvaluator = inject(AXPExpressionEvaluatorService);
1405
1406
  this.translate = inject(AXTranslationService);
1406
1407
  this.reportViewerService = inject(AXPReportViewerService);
@@ -1425,18 +1426,21 @@ class AXPOpenReportInPopupCommand {
1425
1426
  }
1426
1427
  const popupTitle = await this.resolvePopupTitle(options, rowData, runId);
1427
1428
  const parameters = resolveReportParameterValues(options.parameters);
1428
- const comp = (await import('./acorex-platform-module-report-management-client-report-popup-viewer.component-Bjb6ECKz.mjs')).AXPReportPopupViewerComponent;
1429
- this.popupService.open(comp, {
1430
- title: popupTitle,
1431
- size: 'lg',
1432
- maximizable: true,
1433
- data: {
1434
- reportId: options.reportId,
1435
- layoutId: options.layoutId,
1436
- runId,
1437
- parameters,
1438
- hideColumnFields: options.hideColumnFields ?? [],
1439
- },
1429
+ await this.dialogOpener.openPopup({
1430
+ load: () => import('./acorex-platform-module-report-management-client-report-popup-viewer.component-CKE8NG5T.mjs').then((module) => module.AXPReportPopupViewerComponent),
1431
+ data: { reportId: options.reportId, layoutId: options.layoutId ?? '', runId },
1432
+ show: (component) => this.popupService.open(component, {
1433
+ title: popupTitle,
1434
+ size: 'lg',
1435
+ maximizable: true,
1436
+ data: {
1437
+ reportId: options.reportId,
1438
+ layoutId: options.layoutId,
1439
+ runId,
1440
+ parameters,
1441
+ hideColumnFields: options.hideColumnFields ?? [],
1442
+ },
1443
+ }),
1440
1444
  });
1441
1445
  return {
1442
1446
  success: true,
@@ -1542,4 +1546,4 @@ var openReportInPopup_command = /*#__PURE__*/Object.freeze({
1542
1546
  */
1543
1547
 
1544
1548
  export { AXPReportViewerService as A, ENTITY_REPORTS_PAGE_COMPONENT_KEY as E, OPEN_REPORT_IN_POPUP_COMMAND as O, AXPOpenReportViewerCommand as a, collectReportParameterDefaults as b, convertContextDataToFilterClause as c, queryResultToChartSeries as d, AXLineChartReportMapper as e, AXPieChartReportMapper as f, AXBarChartReportMapper as g, bindingShowsOnPage as h, buildOpenInPopupCommandOptions as i, resolveBindingTitle as j, resolveBindingDescription as k, AXMPermissionDefinitionProvider as l, AXMReportManagementModule as m, AXPOpenReportInPopupCommand as n, queryResultToPdfSource as q, resolveReportFilterDefaultValue as r };
1545
- //# sourceMappingURL=acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-DhTbq8K0.mjs.map
1549
+ //# sourceMappingURL=acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-eSjEqt5D.mjs.map