@acorex-platform/module-report-management-client 0.0.32 → 0.0.37

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 (46) hide show
  1. package/fesm2022/{acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-DENcGULA.mjs → acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-DUdUNlnp.mjs} +5 -5
  2. package/fesm2022/{acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-DENcGULA.mjs.map → acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-DUdUNlnp.mjs.map} +1 -1
  3. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-query-snapshot-policy.mjs +143 -0
  4. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-query-snapshot-policy.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-query-snapshot.mjs +183 -0
  6. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-query-snapshot.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report-category.mjs +129 -0
  8. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report-category.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report-generation-request.mjs +260 -0
  10. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report-generation-request.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report.mjs +170 -0
  12. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-acorex-platform-module-report-management-client-contracts-entity-catalog-CgrfJQLl.mjs +83 -0
  14. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-acorex-platform-module-report-management-client-contracts-entity-catalog-CgrfJQLl.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-query-snapshot-policy.entity-D50GUBH6.mjs +83 -0
  16. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-query-snapshot-policy.entity-D50GUBH6.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-query-snapshot.entity-DuR9ZuN2.mjs +123 -0
  18. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-query-snapshot.entity-DuR9ZuN2.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report-category.entity-Dc4uvjsG.mjs +69 -0
  20. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report-category.entity-Dc4uvjsG.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report-generation-request.entity-mJUQuk89.mjs +200 -0
  22. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report-generation-request.entity-mJUQuk89.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report.entity-CMDFRHeK.mjs +110 -0
  24. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report.entity-CMDFRHeK.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog.mjs +2 -0
  26. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-report-management-client-contracts.mjs +2 -1
  28. package/fesm2022/acorex-platform-module-report-management-client-contracts.mjs.map +1 -1
  29. package/fesm2022/{acorex-platform-module-report-management-client-entity-reports-page-component.provider-B_i4p7tQ.mjs → acorex-platform-module-report-management-client-entity-reports-page-component.provider-B0dU2K_E.mjs} +3 -3
  30. package/fesm2022/{acorex-platform-module-report-management-client-entity-reports-page-component.provider-B_i4p7tQ.mjs.map → acorex-platform-module-report-management-client-entity-reports-page-component.provider-B0dU2K_E.mjs.map} +1 -1
  31. package/fesm2022/{acorex-platform-module-report-management-client-entity-reports-page.component-D27Gtma6.mjs → acorex-platform-module-report-management-client-entity-reports-page.component-D4SAGGn-.mjs} +3 -3
  32. package/fesm2022/{acorex-platform-module-report-management-client-entity-reports-page.component-D27Gtma6.mjs.map → acorex-platform-module-report-management-client-entity-reports-page.component-D4SAGGn-.mjs.map} +1 -1
  33. package/fesm2022/acorex-platform-module-report-management-client-local-entities.mjs +33 -0
  34. package/fesm2022/acorex-platform-module-report-management-client-local-entities.mjs.map +1 -0
  35. package/fesm2022/{acorex-platform-module-report-management-client-report-popup-viewer.component-B6aTfRp0.mjs → acorex-platform-module-report-management-client-report-popup-viewer.component-Dg3IxjGy.mjs} +3 -3
  36. package/fesm2022/{acorex-platform-module-report-management-client-report-popup-viewer.component-B6aTfRp0.mjs.map → acorex-platform-module-report-management-client-report-popup-viewer.component-Dg3IxjGy.mjs.map} +1 -1
  37. package/fesm2022/acorex-platform-module-report-management-client.mjs +1 -1
  38. package/package.json +29 -1
  39. package/types/acorex-platform-module-report-management-client-contracts-entities-query-snapshot-policy.d.ts +5 -0
  40. package/types/acorex-platform-module-report-management-client-contracts-entities-query-snapshot.d.ts +5 -0
  41. package/types/acorex-platform-module-report-management-client-contracts-entities-report-category.d.ts +5 -0
  42. package/types/acorex-platform-module-report-management-client-contracts-entities-report-generation-request.d.ts +5 -0
  43. package/types/acorex-platform-module-report-management-client-contracts-entities-report.d.ts +5 -0
  44. package/types/acorex-platform-module-report-management-client-contracts-entity-catalog.d.ts +10 -0
  45. package/types/acorex-platform-module-report-management-client-contracts.d.ts +2 -1
  46. package/types/acorex-platform-module-report-management-client-local-entities.d.ts +12 -0
@@ -13,7 +13,7 @@ import * as i2$1 from '@angular/common';
13
13
  import { CommonModule } from '@angular/common';
14
14
  import * as i0 from '@angular/core';
15
15
  import { inject, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
16
- import { A as AXPReportViewerViewModel, a as AXPOpenReportViewerCommand, r as reportLayoutPageIcon, b as resolveReportFilterDefaultValue, i as isDistinctLayoutTitle, c as reportLayoutTitleKey, d as AXPReportTableViewComponent, e as AXPReportChartViewComponent, f as AXPReportPdfViewComponent } from './acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-DENcGULA.mjs';
16
+ import { A as AXPReportViewerViewModel, a as AXPOpenReportViewerCommand, r as reportLayoutPageIcon, b as resolveReportFilterDefaultValue, i as isDistinctLayoutTitle, c as reportLayoutTitleKey, d as AXPReportTableViewComponent, e as AXPReportChartViewComponent, f as AXPReportPdfViewComponent } from './acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-DUdUNlnp.mjs';
17
17
 
18
18
  //#region ----- Imports -----
19
19
  //#endregion
@@ -89,7 +89,7 @@ class AXPReportPopupViewerComponent extends AXBasePageComponent {
89
89
  }
90
90
  }
91
91
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPReportPopupViewerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
92
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXPReportPopupViewerComponent, isStandalone: true, selector: "axp-report-popup-viewer", host: { classAttribute: "axp-report-popup-viewer flex h-full min-h-0 flex-1 flex-col overflow-hidden" }, providers: [AXPReportViewerViewModel], usesInheritance: true, ngImport: i0, template: "<ax-content class=\"flex min-h-0 flex-1 flex-col overflow-hidden\" *translate=\"let t\">\n <div class=\"__popup-content\">\n <!-- ----- Layout switcher for multi-layout reports ----- -->\n @if (vm.hasMultipleLayouts() && vm.canSwitchLayout()) {\n <div class=\"__layout-switcher mb-3\">\n <ax-tabs\n class=\"__layout-tabs\"\n [look]=\"'with-line'\"\n [location]=\"'bottom'\"\n [fitParent]=\"false\"\n (onActiveTabChanged)=\"handleLayoutTabChanged($event)\"\n >\n @for (layout of vm.availableLayouts(); track layout.id) {\n <ax-tab-item\n [key]=\"layout.id\"\n [text]=\"(getLayoutSwitcherLabel(layout) | translate | async) ?? ''\"\n [active]=\"vm.activeLayoutId() === layout.id\"\n >\n <ax-prefix>\n <ax-icon [icon]=\"layoutPageIcon(layout.icon, layout)\"></ax-icon>\n </ax-prefix>\n </ax-tab-item>\n }\n </ax-tabs>\n </div>\n }\n <!-- ----- Error or results ----- -->\n @if (vm.hasError()) {\n <axp-state-message\n icon=\"fa-light fa-exclamation-triangle\"\n [title]=\"'@report-management:report-viewer.messages.error.fetch-title'\"\n [description]=\"vm.error() || '@report-management:report-viewer.messages.error.unexpected'\"\n >\n </axp-state-message>\n }\n <!-- ----- Table layout results ----- -->\n @else if (vm.isTableLayout()) {\n <axp-report-table-view class=\"__popup-view\"></axp-report-table-view>\n }\n <!-- ----- Chart layout results ----- -->\n @else if (vm.isChartLayout()) {\n <axp-report-chart-view class=\"__popup-view\"></axp-report-chart-view>\n }\n <!-- ----- PDF layout results ----- -->\n @else if (vm.isPdfLayout()) {\n <axp-report-pdf-view class=\"__popup-view\"></axp-report-pdf-view>\n }\n <!-- ----- Unsupported layout types ----- -->\n @else {\n <axp-state-message\n icon=\"fa-light fa-chart-line\"\n [title]=\"'@report-management:report-viewer.components.report-popup-viewer.unsupported-layout.title'\"\n [description]=\"'@report-management:report-viewer.components.report-popup-viewer.unsupported-layout.description'\"\n >\n </axp-state-message>\n }\n </div>\n</ax-content>\n<ax-footer class=\"__popup-footer\">\n <ax-prefix>\n <ax-button\n look=\"outline\"\n color=\"secondary\"\n [text]=\"'@report-management:report-viewer.actions.open-in-report-viewer.title' | translate | async\"\n (onClick)=\"openInFullViewer()\"\n >\n <ax-suffix>\n <ax-icon icon=\"fa-light fa-file-chart-column\"></ax-icon>\n </ax-suffix>\n </ax-button>\n </ax-prefix>\n <ax-suffix>\n <ax-button\n [text]=\"'@general:actions.close.title' | translate | async\"\n look=\"solid\"\n color=\"default\"\n (onClick)=\"close()\"\n >\n </ax-button>\n </ax-suffix>\n</ax-footer>\n", styles: [".axp-report-popup-viewer{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}.__popup-content{display:flex;min-height:0px;flex:1;flex-direction:column;overflow:hidden;padding:calc(var(--spacing, .25rem) * 4)}.__popup-view{display:flex;height:100%;max-height:100%;min-height:20rem;width:100%;min-width:0px;flex:1;flex-direction:column;overflow:hidden}.__popup-view ax-data-table{display:flex;height:100%;max-height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}.__popup-view.axp-report-chart-view,.__popup-view.axp-report-pdf-view{min-height:20rem}.__layout-switcher{flex-shrink:0}.__layout-tabs{width:100%}.ax-popup:has(axp-report-popup-viewer){display:flex;flex-direction:column;overflow:hidden;height:80vh;max-height:80vh}.ax-popup:has(axp-report-popup-viewer) .ax-popup-header-container .ax-popup-header{padding-inline:calc(var(--spacing, .25rem) * 4);padding-block:calc(var(--spacing, .25rem) * 3)}.ax-popup:has(axp-report-popup-viewer) .ax-popup-main-container{display:flex;min-height:0px;flex:1;flex-direction:column;overflow:hidden;flex:1 1 auto}.ax-popup:has(axp-report-popup-viewer) .ax-popup-body-container{display:flex;min-height:0px;flex:1;flex-direction:column;overflow:hidden;flex:1 1 auto;overflow:hidden!important}.ax-popup:has(axp-report-popup-viewer) .ax-popup-body-container>ng-component,.ax-popup:has(axp-report-popup-viewer) .ax-popup-body-container>*{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}.ax-popup:has(axp-report-popup-viewer) .ax-popup-footer-container{flex-shrink:0}.ax-popup:has(axp-report-popup-viewer) ax-footer{padding-inline:calc(var(--spacing, .25rem) * 4);padding-block:calc(var(--spacing, .25rem) * 3)}@media(min-width:320px)and (max-width:640px){.ax-popup.ax-popup-sm:has(axp-report-popup-viewer),.ax-popup.ax-popup-md:has(axp-report-popup-viewer),.ax-popup.ax-popup-lg:has(axp-report-popup-viewer){height:90vh!important;max-height:90vh!important}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXTabsModule }, { kind: "component", type: i3.AXTabsComponent, selector: "ax-tabs", inputs: ["look", "location", "fitParent", "minWidth", "content"], outputs: ["onActiveTabChanged"] }, { kind: "component", type: i3.AXTabItemComponent, selector: "ax-tab-item", inputs: ["disabled", "text", "key", "headerTemplate", "active"], outputs: ["disabledChange", "onClick", "onBlur", "onFocus", "activeChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i1$1.AXTranslatorDirective, selector: "[translate]" }, { kind: "component", type: AXPStateMessageComponent, selector: "axp-state-message", inputs: ["mode", "icon", "title", "description", "titleParams", "descriptionParams", "look"] }, { kind: "component", type: AXPReportTableViewComponent, selector: "axp-report-table-view" }, { kind: "component", type: AXPReportChartViewComponent, selector: "axp-report-chart-view" }, { kind: "component", type: AXPReportPdfViewComponent, selector: "axp-report-pdf-view" }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
92
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXPReportPopupViewerComponent, isStandalone: true, selector: "axp-report-popup-viewer", host: { classAttribute: "axp-report-popup-viewer flex h-full min-h-0 flex-1 flex-col overflow-hidden" }, providers: [AXPReportViewerViewModel], usesInheritance: true, ngImport: i0, template: "<ax-content class=\"flex min-h-0 flex-1 flex-col overflow-hidden\" *translate=\"let t\">\n <div class=\"__popup-content\">\n <!-- ----- Layout switcher for multi-layout reports ----- -->\n @if (vm.hasMultipleLayouts() && vm.canSwitchLayout()) {\n <div class=\"__layout-switcher mb-3\">\n <ax-tabs\n class=\"__layout-tabs\"\n [look]=\"'with-line'\"\n [location]=\"'bottom'\"\n [fitParent]=\"false\"\n (onActiveTabChanged)=\"handleLayoutTabChanged($event)\"\n >\n @for (layout of vm.availableLayouts(); track layout.id) {\n <ax-tab-item\n [key]=\"layout.id\"\n [text]=\"(getLayoutSwitcherLabel(layout) | translate | async) ?? ''\"\n [active]=\"vm.activeLayoutId() === layout.id\"\n >\n <ax-prefix>\n <ax-icon [icon]=\"layoutPageIcon(layout.icon, layout)\"></ax-icon>\n </ax-prefix>\n </ax-tab-item>\n }\n </ax-tabs>\n </div>\n }\n <!-- ----- Error or results ----- -->\n @if (vm.hasError()) {\n <axp-state-message\n icon=\"fa-light fa-exclamation-triangle\"\n [title]=\"'@report-management:report-viewer.messages.error.fetch-title'\"\n [description]=\"vm.error() || '@report-management:report-viewer.messages.error.unexpected'\"\n >\n </axp-state-message>\n }\n <!-- ----- Table layout results ----- -->\n @else if (vm.isTableLayout()) {\n <axp-report-table-view class=\"__popup-view\"></axp-report-table-view>\n }\n <!-- ----- Chart layout results ----- -->\n @else if (vm.isChartLayout()) {\n <axp-report-chart-view class=\"__popup-view\"></axp-report-chart-view>\n }\n <!-- ----- PDF layout results ----- -->\n @else if (vm.isPdfLayout()) {\n <axp-report-pdf-view class=\"__popup-view\"></axp-report-pdf-view>\n }\n <!-- ----- Unsupported layout types ----- -->\n @else {\n <axp-state-message\n icon=\"fa-light fa-chart-line\"\n [title]=\"'@report-management:report-viewer.components.report-popup-viewer.unsupported-layout.title'\"\n [description]=\"'@report-management:report-viewer.components.report-popup-viewer.unsupported-layout.description'\"\n >\n </axp-state-message>\n }\n </div>\n</ax-content>\n<ax-footer class=\"__popup-footer\">\n <ax-prefix>\n <ax-button\n look=\"outline\"\n color=\"secondary\"\n [text]=\"'@report-management:report-viewer.actions.open-in-report-viewer.title' | translate | async\"\n (onClick)=\"openInFullViewer()\"\n >\n <ax-suffix>\n <ax-icon icon=\"fa-light fa-file-chart-column\"></ax-icon>\n </ax-suffix>\n </ax-button>\n </ax-prefix>\n <ax-suffix>\n <ax-button\n [text]=\"'@general:actions.close.title' | translate | async\"\n look=\"solid\"\n color=\"default\"\n (onClick)=\"close()\"\n >\n </ax-button>\n </ax-suffix>\n</ax-footer>\n", styles: [".axp-report-popup-viewer{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}.__popup-content{display:flex;min-height:0px;flex:1;flex-direction:column;overflow:hidden;padding:calc(var(--spacing, .25rem) * 4)}.__popup-view{display:flex;height:100%;max-height:100%;min-height:20rem;width:100%;min-width:0px;flex:1;flex-direction:column;overflow:hidden}.__popup-view ax-data-table{display:flex;height:100%;max-height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}.__popup-view.axp-report-chart-view,.__popup-view.axp-report-pdf-view{min-height:20rem}.__layout-switcher{flex-shrink:0}.__layout-tabs{width:100%}.ax-popup:has(axp-report-popup-viewer){display:flex;flex-direction:column;overflow:hidden;height:80vh;max-height:80vh}.ax-popup:has(axp-report-popup-viewer) .ax-popup-header-container .ax-popup-header{padding-inline:calc(var(--spacing, .25rem) * 4);padding-block:calc(var(--spacing, .25rem) * 3)}.ax-popup:has(axp-report-popup-viewer) .ax-popup-main-container{display:flex;min-height:0px;flex:1;flex-direction:column;overflow:hidden;flex:1 1 auto}.ax-popup:has(axp-report-popup-viewer) .ax-popup-body-container{display:flex;min-height:0px;flex:1;flex-direction:column;overflow:hidden;flex:1 1 auto;overflow:hidden!important}.ax-popup:has(axp-report-popup-viewer) .ax-popup-body-container>ng-component,.ax-popup:has(axp-report-popup-viewer) .ax-popup-body-container>*{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}.ax-popup:has(axp-report-popup-viewer) .ax-popup-footer-container{flex-shrink:0}.ax-popup:has(axp-report-popup-viewer) ax-footer{padding-inline:calc(var(--spacing, .25rem) * 4);padding-block:calc(var(--spacing, .25rem) * 3)}@media(min-width:320px)and (max-width:640px){.ax-popup.ax-popup-sm:has(axp-report-popup-viewer),.ax-popup.ax-popup-md:has(axp-report-popup-viewer),.ax-popup.ax-popup-lg:has(axp-report-popup-viewer){height:90vh!important;max-height:90vh!important}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXTabsModule }, { kind: "component", type: i3.AXTabsComponent, selector: "ax-tabs", inputs: ["look", "location", "reorderable", "reorderDelay", "fitParent", "minWidth", "content"], outputs: ["onActiveTabChanged", "onTabsReordered"] }, { kind: "component", type: i3.AXTabItemComponent, selector: "ax-tab-item", inputs: ["disabled", "text", "key", "headerTemplate", "active"], outputs: ["disabledChange", "onClick", "onBlur", "onFocus", "activeChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i1$1.AXTranslatorDirective, selector: "[translate]" }, { kind: "component", type: AXPStateMessageComponent, selector: "axp-state-message", inputs: ["mode", "icon", "title", "description", "titleParams", "descriptionParams", "look"] }, { kind: "component", type: AXPReportTableViewComponent, selector: "axp-report-table-view" }, { kind: "component", type: AXPReportChartViewComponent, selector: "axp-report-chart-view" }, { kind: "component", type: AXPReportPdfViewComponent, selector: "axp-report-pdf-view" }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
93
93
  }
94
94
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPReportPopupViewerComponent, decorators: [{
95
95
  type: Component,
@@ -110,4 +110,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
110
110
  }] });
111
111
 
112
112
  export { AXPReportPopupViewerComponent };
113
- //# sourceMappingURL=acorex-platform-module-report-management-client-report-popup-viewer.component-B6aTfRp0.mjs.map
113
+ //# sourceMappingURL=acorex-platform-module-report-management-client-report-popup-viewer.component-Dg3IxjGy.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-report-management-client-report-popup-viewer.component-B6aTfRp0.mjs","sources":["../../../../libs/modules/report-management/client/src/lib/features/report-viewer/report-popup-viewer/report-popup-viewer.component.ts","../../../../libs/modules/report-management/client/src/lib/features/report-viewer/report-popup-viewer/report-popup-viewer.component.html"],"sourcesContent":["//#region ----- Imports -----\n\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXTabsModule, type AXTabStripChangedEvent } from '@acorex/components/tabs';\nimport { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';\nimport { AXPStateMessageComponent } from '@acorex-platform/framework-client/layout/components';\nimport type { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport type { AXPLayoutSwitcherOption } from '@acorex-platform/module-report-management-client/contracts';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AXPOpenReportViewerCommand } from '../../../commands/open-report-viewer.command';\nimport { resolveReportFilterDefaultValue } from '../../../reports/report-parameter.util';\nimport {\n isDistinctLayoutTitle,\n reportLayoutPageIcon,\n reportLayoutTitleKey,\n} from '../report-layout-switcher.util';\nimport { AXPReportViewerViewModel } from '../report-viewer.viewmodel';\nimport { AXPReportChartViewComponent } from '../views/report-chart-view/report-chart-view.component';\nimport { AXPReportPdfViewComponent } from '../views/report-pdf-view/report-pdf-view.component';\nimport { AXPReportTableViewComponent } from '../views/report-table-view/report-table-view.component';\n\n//#endregion\n\n//#region ----- Component -----\n\n@Component({\n selector: 'axp-report-popup-viewer',\n templateUrl: './report-popup-viewer.component.html',\n styleUrl: './report-popup-viewer.component.css',\n imports: [\n CommonModule,\n AXButtonModule,\n AXDecoratorModule,\n AXLoadingModule,\n AXTabsModule,\n AXTranslationModule,\n AXPStateMessageComponent,\n AXPReportTableViewComponent,\n AXPReportChartViewComponent,\n AXPReportPdfViewComponent,\n ],\n providers: [AXPReportViewerViewModel],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'axp-report-popup-viewer flex h-full min-h-0 flex-1 flex-col overflow-hidden',\n },\n})\nexport class AXPReportPopupViewerComponent extends AXBasePageComponent {\n //#region ----- Popup Data -----\n\n reportId!: string;\n layoutId?: string;\n runId?: string;\n parameters: Record<string, unknown> = {};\n hideColumnFields: string[] = [];\n\n //#endregion\n\n //#region ----- Services & Dependencies -----\n\n protected readonly vm = inject(AXPReportViewerViewModel);\n private readonly openViewer = inject(AXPOpenReportViewerCommand);\n private readonly translateService = inject(AXTranslationService);\n protected readonly layoutPageIcon = reportLayoutPageIcon;\n\n //#endregion\n\n //#region ----- Lifecycle -----\n\n override async ngOnInit(): Promise<void> {\n await super.ngOnInit();\n const runId = this.runId?.trim();\n if (runId) {\n await this.vm.loadFrozenRun(runId);\n // Table mounts after this tick; nudge so the grid refresh effect sees a ready view child.\n setTimeout(() => this.vm.nudgeFetch());\n return;\n }\n\n await this.vm.loadReport(this.reportId);\n\n if (this.layoutId) {\n this.vm.switchLayout(this.layoutId);\n }\n\n if (this.hideColumnFields.length > 0) {\n this.vm.applyDrillView({ hideColumnFields: this.hideColumnFields });\n }\n\n if (this.parameters && Object.keys(this.parameters).length > 0) {\n const resolvedParameters = Object.fromEntries(\n Object.entries(this.parameters).map(([key, value]) => [key, resolveReportFilterDefaultValue(value)]),\n );\n this.vm.updateFilterContext(resolvedParameters);\n }\n\n await this.vm.executeReport();\n }\n\n //#endregion\n\n //#region ----- Event Handlers -----\n\n protected async openInFullViewer(): Promise<void> {\n if (!this.reportId) {\n return;\n }\n\n const runId = this.runId?.trim() || this.vm.runId()?.trim();\n await this.openViewer.execute({\n reportId: this.reportId,\n ...(runId ? { runId } : {}),\n });\n this.close();\n }\n\n protected getLayoutSwitcherLabel(layout: AXPLayoutSwitcherOption): AXPMultiLanguageString {\n const locale = this.translateService.getActiveLang() || 'en-US';\n const reportTitle = this.vm.reportDefinition()?.title;\n if (isDistinctLayoutTitle(layout.title, reportTitle, locale)) {\n return layout.title ?? reportLayoutTitleKey(layout);\n }\n return reportLayoutTitleKey(layout);\n }\n\n protected handleLayoutSwitch(layoutId: string): void {\n if (this.vm.activeLayoutId() === layoutId) {\n return;\n }\n this.vm.switchLayout(layoutId);\n this.vm.nudgeFetch();\n }\n\n protected handleLayoutTabChanged(event: AXTabStripChangedEvent): void {\n const layout = this.vm.availableLayouts()[event.index];\n if (layout) {\n this.handleLayoutSwitch(layout.id);\n }\n }\n\n //#endregion\n}\n\n//#endregion\n","<ax-content class=\"flex min-h-0 flex-1 flex-col overflow-hidden\" *translate=\"let t\">\n <div class=\"__popup-content\">\n <!-- ----- Layout switcher for multi-layout reports ----- -->\n @if (vm.hasMultipleLayouts() && vm.canSwitchLayout()) {\n <div class=\"__layout-switcher mb-3\">\n <ax-tabs\n class=\"__layout-tabs\"\n [look]=\"'with-line'\"\n [location]=\"'bottom'\"\n [fitParent]=\"false\"\n (onActiveTabChanged)=\"handleLayoutTabChanged($event)\"\n >\n @for (layout of vm.availableLayouts(); track layout.id) {\n <ax-tab-item\n [key]=\"layout.id\"\n [text]=\"(getLayoutSwitcherLabel(layout) | translate | async) ?? ''\"\n [active]=\"vm.activeLayoutId() === layout.id\"\n >\n <ax-prefix>\n <ax-icon [icon]=\"layoutPageIcon(layout.icon, layout)\"></ax-icon>\n </ax-prefix>\n </ax-tab-item>\n }\n </ax-tabs>\n </div>\n }\n <!-- ----- Error or results ----- -->\n @if (vm.hasError()) {\n <axp-state-message\n icon=\"fa-light fa-exclamation-triangle\"\n [title]=\"'@report-management:report-viewer.messages.error.fetch-title'\"\n [description]=\"vm.error() || '@report-management:report-viewer.messages.error.unexpected'\"\n >\n </axp-state-message>\n }\n <!-- ----- Table layout results ----- -->\n @else if (vm.isTableLayout()) {\n <axp-report-table-view class=\"__popup-view\"></axp-report-table-view>\n }\n <!-- ----- Chart layout results ----- -->\n @else if (vm.isChartLayout()) {\n <axp-report-chart-view class=\"__popup-view\"></axp-report-chart-view>\n }\n <!-- ----- PDF layout results ----- -->\n @else if (vm.isPdfLayout()) {\n <axp-report-pdf-view class=\"__popup-view\"></axp-report-pdf-view>\n }\n <!-- ----- Unsupported layout types ----- -->\n @else {\n <axp-state-message\n icon=\"fa-light fa-chart-line\"\n [title]=\"'@report-management:report-viewer.components.report-popup-viewer.unsupported-layout.title'\"\n [description]=\"'@report-management:report-viewer.components.report-popup-viewer.unsupported-layout.description'\"\n >\n </axp-state-message>\n }\n </div>\n</ax-content>\n<ax-footer class=\"__popup-footer\">\n <ax-prefix>\n <ax-button\n look=\"outline\"\n color=\"secondary\"\n [text]=\"'@report-management:report-viewer.actions.open-in-report-viewer.title' | translate | async\"\n (onClick)=\"openInFullViewer()\"\n >\n <ax-suffix>\n <ax-icon icon=\"fa-light fa-file-chart-column\"></ax-icon>\n </ax-suffix>\n </ax-button>\n </ax-prefix>\n <ax-suffix>\n <ax-button\n [text]=\"'@general:actions.close.title' | translate | async\"\n look=\"solid\"\n color=\"default\"\n (onClick)=\"close()\"\n >\n </ax-button>\n </ax-suffix>\n</ax-footer>\n"],"names":["i4","i5"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AA8BA;AAEA;AAyBM,MAAO,6BAA8B,SAAQ,mBAAmB,CAAA;AAvBtE,IAAA,WAAA,GAAA;;QA6BE,IAAA,CAAA,UAAU,GAA4B,EAAE;QACxC,IAAA,CAAA,gBAAgB,GAAa,EAAE;;;AAMZ,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,wBAAwB,CAAC;AACvC,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,0BAA0B,CAAC;AAC/C,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,oBAAoB,CAAC;QAC7C,IAAA,CAAA,cAAc,GAAG,oBAAoB;AA8EzD,IAAA;;;AAxEU,IAAA,MAAM,QAAQ,GAAA;AACrB,QAAA,MAAM,KAAK,CAAC,QAAQ,EAAE;QACtB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,IAAI,EAAE;QAChC,IAAI,KAAK,EAAE;YACT,MAAM,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC;;YAElC,UAAU,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC,UAAU,EAAE,CAAC;YACtC;QACF;QAEA,MAAM,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC;AAEvC,QAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;QACrC;QAE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AAA,ogEAAA,CAAA,EAAA;;;;;"}
1
+ {"version":3,"file":"acorex-platform-module-report-management-client-report-popup-viewer.component-Dg3IxjGy.mjs","sources":["../../../../libs/modules/report-management/client/src/lib/features/report-viewer/report-popup-viewer/report-popup-viewer.component.ts","../../../../libs/modules/report-management/client/src/lib/features/report-viewer/report-popup-viewer/report-popup-viewer.component.html"],"sourcesContent":["//#region ----- Imports -----\n\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXTabsModule, type AXTabStripChangedEvent } from '@acorex/components/tabs';\nimport { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';\nimport { AXPStateMessageComponent } from '@acorex-platform/framework-client/layout/components';\nimport type { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport type { AXPLayoutSwitcherOption } from '@acorex-platform/module-report-management-client/contracts';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AXPOpenReportViewerCommand } from '../../../commands/open-report-viewer.command';\nimport { resolveReportFilterDefaultValue } from '../../../reports/report-parameter.util';\nimport {\n isDistinctLayoutTitle,\n reportLayoutPageIcon,\n reportLayoutTitleKey,\n} from '../report-layout-switcher.util';\nimport { AXPReportViewerViewModel } from '../report-viewer.viewmodel';\nimport { AXPReportChartViewComponent } from '../views/report-chart-view/report-chart-view.component';\nimport { AXPReportPdfViewComponent } from '../views/report-pdf-view/report-pdf-view.component';\nimport { AXPReportTableViewComponent } from '../views/report-table-view/report-table-view.component';\n\n//#endregion\n\n//#region ----- Component -----\n\n@Component({\n selector: 'axp-report-popup-viewer',\n templateUrl: './report-popup-viewer.component.html',\n styleUrl: './report-popup-viewer.component.css',\n imports: [\n CommonModule,\n AXButtonModule,\n AXDecoratorModule,\n AXLoadingModule,\n AXTabsModule,\n AXTranslationModule,\n AXPStateMessageComponent,\n AXPReportTableViewComponent,\n AXPReportChartViewComponent,\n AXPReportPdfViewComponent,\n ],\n providers: [AXPReportViewerViewModel],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'axp-report-popup-viewer flex h-full min-h-0 flex-1 flex-col overflow-hidden',\n },\n})\nexport class AXPReportPopupViewerComponent extends AXBasePageComponent {\n //#region ----- Popup Data -----\n\n reportId!: string;\n layoutId?: string;\n runId?: string;\n parameters: Record<string, unknown> = {};\n hideColumnFields: string[] = [];\n\n //#endregion\n\n //#region ----- Services & Dependencies -----\n\n protected readonly vm = inject(AXPReportViewerViewModel);\n private readonly openViewer = inject(AXPOpenReportViewerCommand);\n private readonly translateService = inject(AXTranslationService);\n protected readonly layoutPageIcon = reportLayoutPageIcon;\n\n //#endregion\n\n //#region ----- Lifecycle -----\n\n override async ngOnInit(): Promise<void> {\n await super.ngOnInit();\n const runId = this.runId?.trim();\n if (runId) {\n await this.vm.loadFrozenRun(runId);\n // Table mounts after this tick; nudge so the grid refresh effect sees a ready view child.\n setTimeout(() => this.vm.nudgeFetch());\n return;\n }\n\n await this.vm.loadReport(this.reportId);\n\n if (this.layoutId) {\n this.vm.switchLayout(this.layoutId);\n }\n\n if (this.hideColumnFields.length > 0) {\n this.vm.applyDrillView({ hideColumnFields: this.hideColumnFields });\n }\n\n if (this.parameters && Object.keys(this.parameters).length > 0) {\n const resolvedParameters = Object.fromEntries(\n Object.entries(this.parameters).map(([key, value]) => [key, resolveReportFilterDefaultValue(value)]),\n );\n this.vm.updateFilterContext(resolvedParameters);\n }\n\n await this.vm.executeReport();\n }\n\n //#endregion\n\n //#region ----- Event Handlers -----\n\n protected async openInFullViewer(): Promise<void> {\n if (!this.reportId) {\n return;\n }\n\n const runId = this.runId?.trim() || this.vm.runId()?.trim();\n await this.openViewer.execute({\n reportId: this.reportId,\n ...(runId ? { runId } : {}),\n });\n this.close();\n }\n\n protected getLayoutSwitcherLabel(layout: AXPLayoutSwitcherOption): AXPMultiLanguageString {\n const locale = this.translateService.getActiveLang() || 'en-US';\n const reportTitle = this.vm.reportDefinition()?.title;\n if (isDistinctLayoutTitle(layout.title, reportTitle, locale)) {\n return layout.title ?? reportLayoutTitleKey(layout);\n }\n return reportLayoutTitleKey(layout);\n }\n\n protected handleLayoutSwitch(layoutId: string): void {\n if (this.vm.activeLayoutId() === layoutId) {\n return;\n }\n this.vm.switchLayout(layoutId);\n this.vm.nudgeFetch();\n }\n\n protected handleLayoutTabChanged(event: AXTabStripChangedEvent): void {\n const layout = this.vm.availableLayouts()[event.index];\n if (layout) {\n this.handleLayoutSwitch(layout.id);\n }\n }\n\n //#endregion\n}\n\n//#endregion\n","<ax-content class=\"flex min-h-0 flex-1 flex-col overflow-hidden\" *translate=\"let t\">\n <div class=\"__popup-content\">\n <!-- ----- Layout switcher for multi-layout reports ----- -->\n @if (vm.hasMultipleLayouts() && vm.canSwitchLayout()) {\n <div class=\"__layout-switcher mb-3\">\n <ax-tabs\n class=\"__layout-tabs\"\n [look]=\"'with-line'\"\n [location]=\"'bottom'\"\n [fitParent]=\"false\"\n (onActiveTabChanged)=\"handleLayoutTabChanged($event)\"\n >\n @for (layout of vm.availableLayouts(); track layout.id) {\n <ax-tab-item\n [key]=\"layout.id\"\n [text]=\"(getLayoutSwitcherLabel(layout) | translate | async) ?? ''\"\n [active]=\"vm.activeLayoutId() === layout.id\"\n >\n <ax-prefix>\n <ax-icon [icon]=\"layoutPageIcon(layout.icon, layout)\"></ax-icon>\n </ax-prefix>\n </ax-tab-item>\n }\n </ax-tabs>\n </div>\n }\n <!-- ----- Error or results ----- -->\n @if (vm.hasError()) {\n <axp-state-message\n icon=\"fa-light fa-exclamation-triangle\"\n [title]=\"'@report-management:report-viewer.messages.error.fetch-title'\"\n [description]=\"vm.error() || '@report-management:report-viewer.messages.error.unexpected'\"\n >\n </axp-state-message>\n }\n <!-- ----- Table layout results ----- -->\n @else if (vm.isTableLayout()) {\n <axp-report-table-view class=\"__popup-view\"></axp-report-table-view>\n }\n <!-- ----- Chart layout results ----- -->\n @else if (vm.isChartLayout()) {\n <axp-report-chart-view class=\"__popup-view\"></axp-report-chart-view>\n }\n <!-- ----- PDF layout results ----- -->\n @else if (vm.isPdfLayout()) {\n <axp-report-pdf-view class=\"__popup-view\"></axp-report-pdf-view>\n }\n <!-- ----- Unsupported layout types ----- -->\n @else {\n <axp-state-message\n icon=\"fa-light fa-chart-line\"\n [title]=\"'@report-management:report-viewer.components.report-popup-viewer.unsupported-layout.title'\"\n [description]=\"'@report-management:report-viewer.components.report-popup-viewer.unsupported-layout.description'\"\n >\n </axp-state-message>\n }\n </div>\n</ax-content>\n<ax-footer class=\"__popup-footer\">\n <ax-prefix>\n <ax-button\n look=\"outline\"\n color=\"secondary\"\n [text]=\"'@report-management:report-viewer.actions.open-in-report-viewer.title' | translate | async\"\n (onClick)=\"openInFullViewer()\"\n >\n <ax-suffix>\n <ax-icon icon=\"fa-light fa-file-chart-column\"></ax-icon>\n </ax-suffix>\n </ax-button>\n </ax-prefix>\n <ax-suffix>\n <ax-button\n [text]=\"'@general:actions.close.title' | translate | async\"\n look=\"solid\"\n color=\"default\"\n (onClick)=\"close()\"\n >\n </ax-button>\n </ax-suffix>\n</ax-footer>\n"],"names":["i4","i5"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AA8BA;AAEA;AAyBM,MAAO,6BAA8B,SAAQ,mBAAmB,CAAA;AAvBtE,IAAA,WAAA,GAAA;;QA6BE,IAAA,CAAA,UAAU,GAA4B,EAAE;QACxC,IAAA,CAAA,gBAAgB,GAAa,EAAE;;;AAMZ,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,wBAAwB,CAAC;AACvC,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,0BAA0B,CAAC;AAC/C,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,oBAAoB,CAAC;QAC7C,IAAA,CAAA,cAAc,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iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAShB,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAvBzC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,yBAAyB,EAAA,OAAA,EAG1B;wBACP,YAAY;wBACZ,cAAc;wBACd,iBAAiB;wBACjB,eAAe;wBACf,YAAY;wBACZ,mBAAmB;wBACnB,wBAAwB;wBACxB,2BAA2B;wBAC3B,2BAA2B;wBAC3B,yBAAyB;qBAC1B,EAAA,SAAA,EACU,CAAC,wBAAwB,CAAC,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,EAAA,IAAA,EAC/B;AACJ,wBAAA,KAAK,EAAE,6EAA6E;AACrF,qBAAA,EAAA,QAAA,EAAA,w7FAAA,EAAA,MAAA,EAAA,CAAA,ogEAAA,CAAA,EAAA;;;"}
@@ -1,3 +1,3 @@
1
- export { m as AXBarChartReportMapper, n as AXLineChartReportMapper, o as AXMPermissionDefinitionProvider, p as AXMReportManagementModule, q as AXPOpenReportInPopupCommand, a as AXPOpenReportViewerCommand, s as AXPReportBarChartViewComponent, d as AXPReportTableViewComponent, t as AXPReportViewerPageComponent, g as AXPReportViewerService, A as AXPReportViewerViewModel, u as AXPieChartReportMapper, v as collectReportParameterDefaults, w as convertContextDataToFilterClause, x as flattenReportParametersToQueryParams, y as formatReportDateOnly, z as isReportDateRangeObject, B as mapEntityBindingParameters, C as queryResultToChartSeries, D as queryResultToPdfSource, b as resolveReportFilterDefaultValue, F as resolveReportParameterValues, G as resolveTodayDateRange, H as toReportDateRangeFilterValue } from './acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-DENcGULA.mjs';
1
+ export { m as AXBarChartReportMapper, n as AXLineChartReportMapper, o as AXMPermissionDefinitionProvider, p as AXMReportManagementModule, q as AXPOpenReportInPopupCommand, a as AXPOpenReportViewerCommand, s as AXPReportBarChartViewComponent, d as AXPReportTableViewComponent, t as AXPReportViewerPageComponent, g as AXPReportViewerService, A as AXPReportViewerViewModel, u as AXPieChartReportMapper, v as collectReportParameterDefaults, w as convertContextDataToFilterClause, x as flattenReportParametersToQueryParams, y as formatReportDateOnly, z as isReportDateRangeObject, B as mapEntityBindingParameters, C as queryResultToChartSeries, D as queryResultToPdfSource, b as resolveReportFilterDefaultValue, F as resolveReportParameterValues, G as resolveTodayDateRange, H as toReportDateRangeFilterValue } from './acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-DUdUNlnp.mjs';
2
2
  export * from '@acorex-platform/module-report-management-client/contracts';
3
3
  //# sourceMappingURL=acorex-platform-module-report-management-client.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex-platform/module-report-management-client",
3
- "version": "0.0.32",
3
+ "version": "0.0.37",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0 || ^22.0.0",
@@ -22,6 +22,34 @@
22
22
  "./contracts": {
23
23
  "types": "./types/acorex-platform-module-report-management-client-contracts.d.ts",
24
24
  "default": "./fesm2022/acorex-platform-module-report-management-client-contracts.mjs"
25
+ },
26
+ "./contracts/entities/query-snapshot": {
27
+ "types": "./types/acorex-platform-module-report-management-client-contracts-entities-query-snapshot.d.ts",
28
+ "default": "./fesm2022/acorex-platform-module-report-management-client-contracts-entities-query-snapshot.mjs"
29
+ },
30
+ "./contracts/entities/query-snapshot-policy": {
31
+ "types": "./types/acorex-platform-module-report-management-client-contracts-entities-query-snapshot-policy.d.ts",
32
+ "default": "./fesm2022/acorex-platform-module-report-management-client-contracts-entities-query-snapshot-policy.mjs"
33
+ },
34
+ "./contracts/entities/report": {
35
+ "types": "./types/acorex-platform-module-report-management-client-contracts-entities-report.d.ts",
36
+ "default": "./fesm2022/acorex-platform-module-report-management-client-contracts-entities-report.mjs"
37
+ },
38
+ "./contracts/entities/report-category": {
39
+ "types": "./types/acorex-platform-module-report-management-client-contracts-entities-report-category.d.ts",
40
+ "default": "./fesm2022/acorex-platform-module-report-management-client-contracts-entities-report-category.mjs"
41
+ },
42
+ "./contracts/entities/report-generation-request": {
43
+ "types": "./types/acorex-platform-module-report-management-client-contracts-entities-report-generation-request.d.ts",
44
+ "default": "./fesm2022/acorex-platform-module-report-management-client-contracts-entities-report-generation-request.mjs"
45
+ },
46
+ "./contracts/entity-catalog": {
47
+ "types": "./types/acorex-platform-module-report-management-client-contracts-entity-catalog.d.ts",
48
+ "default": "./fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog.mjs"
49
+ },
50
+ "./local-entities": {
51
+ "types": "./types/acorex-platform-module-report-management-client-local-entities.d.ts",
52
+ "default": "./fesm2022/acorex-platform-module-report-management-client-local-entities.mjs"
25
53
  }
26
54
  },
27
55
  "type": "module"
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function querySnapshotPolicyEntityFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { querySnapshotPolicyEntityFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function querySnapshotEntityFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { querySnapshotEntityFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reportCategoryEntityFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reportCategoryEntityFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reportGenerationRequestEntityFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reportGenerationRequestEntityFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reportEntityFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reportEntityFactory };
@@ -0,0 +1,10 @@
1
+ import { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';
2
+
3
+ /**
4
+ * Lazy per-entity layout factories. Do not re-export from the contracts barrel
5
+ * so RootConfig imports stay light. Server seed and client `local-entities`
6
+ * consume this catalog explicitly.
7
+ */
8
+ declare const reportManagementLocalEntityCatalog: AXPLocalEntityCatalog;
9
+
10
+ export { reportManagementLocalEntityCatalog };
@@ -606,6 +606,7 @@ interface AXPReportGenerationArtifact {
606
606
  lastError?: string;
607
607
  }
608
608
  declare const REPORT_GENERATION_NOTIFICATION_DEFINITION_KEY = "ReportManagement:ReportGeneration";
609
+ declare const REPORT_GENERATION_OPEN_FROZEN_COMMAND = "ReportManagement.Report:OpenViewer";
609
610
  /** In-app inbox correlation id for a completed report generation run. */
610
611
  declare function buildReportGenerationNotificationCorrelationId(runId: string): string;
611
612
  interface AXMReportGenerationRequest extends AXPEntityModel<string> {
@@ -750,5 +751,5 @@ interface AXMRefreshQuerySnapshotsInput {
750
751
  queryKeys?: string[];
751
752
  }
752
753
 
753
- export { AXMPermissionsKeys, AXMReportManagementCommandKeys, AXMReportManagementQueryKeys, AXM_RECALCULATE_QUERY_SNAPSHOTS_COMMAND_KEY, AXM_REFRESH_QUERY_SNAPSHOTS_COMMAND_KEY, AXPInsightsReportingPermissionKeys, AXPReportManagementFeatureKeys, AXPReportManagementMenuKeys, AXPReportManagementSettings, AXP_REPORT_MANAGEMENT_GENERATION_SETTING_DEFAULTS, REPORT_GENERATION_NOTIFICATION_DEFINITION_KEY, RootConfig, buildReportGenerationNotificationCorrelationId };
754
+ export { AXMPermissionsKeys, AXMReportManagementCommandKeys, AXMReportManagementQueryKeys, AXM_RECALCULATE_QUERY_SNAPSHOTS_COMMAND_KEY, AXM_REFRESH_QUERY_SNAPSHOTS_COMMAND_KEY, AXPInsightsReportingPermissionKeys, AXPReportManagementFeatureKeys, AXPReportManagementMenuKeys, AXPReportManagementSettings, AXP_REPORT_MANAGEMENT_GENERATION_SETTING_DEFAULTS, REPORT_GENERATION_NOTIFICATION_DEFINITION_KEY, REPORT_GENERATION_OPEN_FROZEN_COMMAND, RootConfig, buildReportGenerationNotificationCorrelationId };
754
755
  export type { AXMQuerySnapshotEntityModel, AXMQuerySnapshotPayload, AXMQuerySnapshotPolicyEntityModel, AXMQuerySnapshotPolicyTriggers, AXMQuerySnapshotStatus, AXMQuerySnapshotTriggerOperation, AXMRecalculateQuerySnapshotsInput, AXMRefreshQuerySnapshotsInput, AXMReportGenerationRequest, AXPAggregatedDataSource, AXPAggregation, AXPChartAxisConfig, AXPChartDataMapping, AXPChartInteractivity, AXPChartStyling, AXPConditionalFormatRule, AXPCustomDataSource, AXPDataTransformation, AXPLayoutSwitcherOption, AXPQueryDataSource, AXPReportArtifactKind, AXPReportCategory, AXPReportChartLayout, AXPReportChartOptions, AXPReportColumn, AXPReportColumnInteractivity, AXPReportDataSource, AXPReportDefinition, AXPReportDrillDownConfig, AXPReportEntityBinding, AXPReportEntityDisplay, AXPReportEntityParameterValue, AXPReportFreezeLayouts, AXPReportGenerationArtifact, AXPReportGenerationCreateInput, AXPReportGenerationCreateResult, AXPReportGenerationDedupeOptions, AXPReportGenerationDedupePolicy, AXPReportGenerationExecuteInput, AXPReportGenerationExecuteResult, AXPReportGenerationGetInput, AXPReportGenerationGetViewerFreezeInput, AXPReportGenerationListMineInput, AXPReportGenerationMode, AXPReportGenerationOptions, AXPReportGenerationReleaseInlineWatchInput, AXPReportGenerationStatus, AXPReportGenerationTrigger, AXPReportGroupByDefinition, AXPReportHeaderFooter, AXPReportLayout, AXPReportLayoutAction, AXPReportLayoutDefinition, AXPReportLayoutState, AXPReportLayoutType, AXPReportParameter, AXPReportParameterBinding, AXPReportParameterGroup, AXPReportPdfLayout, AXPReportPdfOptions, AXPReportSummaryOptions, AXPReportTableLayout, AXPReportTableLayoutRowAction, AXPReportTableSummaryResult, AXPReportViewerFreeze, AXPTableOptions, AXPTransformedDataSource };
@@ -0,0 +1,12 @@
1
+ import * as _angular_core from '@angular/core';
2
+ export { reportManagementLocalEntityCatalog } from '@acorex-platform/module-report-management-client/contracts/entity-catalog';
3
+
4
+ /**
5
+ * Registers report-management layouts on the client from packaged factories.
6
+ * Each `import()` targets a secondary entry so unused entities stay out of the
7
+ * bundle. Do not add this to the demo app; demo continues to load layouts via
8
+ * `Domain:GetEntityLayout`.
9
+ */
10
+ declare function provideReportManagementLocalEntities(): _angular_core.EnvironmentProviders;
11
+
12
+ export { provideReportManagementLocalEntities };