@acorex-platform/module-report-management-client 0.0.30 → 0.0.33

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 (48) hide show
  1. package/fesm2022/{acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-BDCuhd5O.mjs → acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-DENcGULA.mjs} +1018 -386
  2. package/fesm2022/acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-DENcGULA.mjs.map +1 -0
  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 +23 -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-C6tJPxri.mjs → acorex-platform-module-report-management-client-entity-reports-page-component.provider-B_i4p7tQ.mjs} +3 -3
  30. package/fesm2022/{acorex-platform-module-report-management-client-entity-reports-page-component.provider-C6tJPxri.mjs.map → acorex-platform-module-report-management-client-entity-reports-page-component.provider-B_i4p7tQ.mjs.map} +1 -1
  31. package/fesm2022/{acorex-platform-module-report-management-client-entity-reports-page.component-fBftKdQW.mjs → acorex-platform-module-report-management-client-entity-reports-page.component-D27Gtma6.mjs} +2 -2
  32. package/fesm2022/{acorex-platform-module-report-management-client-entity-reports-page.component-fBftKdQW.mjs.map → acorex-platform-module-report-management-client-entity-reports-page.component-D27Gtma6.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-B9msMMod.mjs → acorex-platform-module-report-management-client-report-popup-viewer.component-B6aTfRp0.mjs} +2 -2
  36. package/fesm2022/{acorex-platform-module-report-management-client-report-popup-viewer.component-B9msMMod.mjs.map → acorex-platform-module-report-management-client-report-popup-viewer.component-B6aTfRp0.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 +99 -58
  46. package/types/acorex-platform-module-report-management-client-local-entities.d.ts +12 -0
  47. package/types/acorex-platform-module-report-management-client.d.ts +46 -4
  48. package/fesm2022/acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-BDCuhd5O.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-report-management-client-report-popup-viewer.component-B9msMMod.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,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BAAwB;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
+ {"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,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,EAAA,MAAA,EAAA,IAAA,EAAAC,IAAA,CAAA,SAAA,EAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAAD,IAAA,CAAA,gBAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,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-BDCuhd5O.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-DENcGULA.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.30",
3
+ "version": "0.0.33",
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 };
@@ -8,6 +8,7 @@ declare const AXMReportManagementCommandKeys: {
8
8
  readonly ReportGeneration: {
9
9
  readonly Create: "ReportManagement:ReportGeneration:Create";
10
10
  readonly Execute: "ReportManagement:ReportGeneration:Execute";
11
+ readonly ReleaseInlineWatch: "ReportManagement:ReportGeneration:ReleaseInlineWatch";
11
12
  };
12
13
  };
13
14
  declare const AXM_RECALCULATE_QUERY_SNAPSHOTS_COMMAND_KEY: "ReportManagement:RecalculateQuerySnapshots";
@@ -63,62 +64,6 @@ declare const AXMPermissionsKeys: {
63
64
  };
64
65
  };
65
66
 
66
- declare const RootConfig: {
67
- readonly config: {
68
- i18n: string;
69
- module: string;
70
- };
71
- readonly module: {
72
- readonly route: "report-management";
73
- readonly name: string;
74
- readonly title: `@${string}:module.title`;
75
- readonly icon: "fa-light fa-chart-bar";
76
- };
77
- readonly entities: {
78
- readonly dataSet: {
79
- readonly name: "DataSet";
80
- readonly title: `t("dataSet", { scope: "${string}" })`;
81
- readonly titlePlural: `t("dataSetPlural", { scope: "${string}" })`;
82
- readonly icon: "fa-light fa-default";
83
- };
84
- readonly category: {
85
- readonly name: "ReportCategory";
86
- readonly fullName: `${string}.ReportCategory`;
87
- readonly title: `@${string}:reports.entities.category.title`;
88
- readonly titlePlural: `@${string}:reports.entities.category.plural`;
89
- readonly icon: "fa-light fa-folder";
90
- };
91
- readonly report: {
92
- readonly name: "Report";
93
- readonly fullName: `${string}.Report`;
94
- readonly title: `@${string}:reports.entities.report.title`;
95
- readonly titlePlural: `@${string}:reports.entities.report.plural`;
96
- readonly icon: "fa-light fa-file-chart-pie";
97
- };
98
- readonly querySnapshotPolicy: {
99
- readonly name: "QuerySnapshotPolicy";
100
- readonly fullName: `${string}.QuerySnapshotPolicy`;
101
- readonly title: `@${string}:query-snapshots.entities.policy.title`;
102
- readonly titlePlural: `@${string}:query-snapshots.entities.policy.plural`;
103
- readonly icon: "fa-light fa-sliders";
104
- };
105
- readonly querySnapshot: {
106
- readonly name: "QuerySnapshot";
107
- readonly fullName: `${string}.QuerySnapshot`;
108
- readonly title: `@${string}:query-snapshots.entities.snapshot.title`;
109
- readonly titlePlural: `@${string}:query-snapshots.entities.snapshot.plural`;
110
- readonly icon: "fa-light fa-camera";
111
- };
112
- readonly reportGenerationRequest: {
113
- readonly name: "ReportGenerationRequest";
114
- readonly fullName: `${string}.ReportGenerationRequest`;
115
- readonly title: `@${string}:report-generation.entities.request.title`;
116
- readonly titlePlural: `@${string}:report-generation.entities.request.plural`;
117
- readonly icon: "fa-light fa-file-export";
118
- };
119
- };
120
- };
121
-
122
67
  type AXPReportLayoutType = 'table' | 'chart' | 'cards' | 'custom' | 'pdf';
123
68
  /**
124
69
  * Report Category - Extends AXPCategoryEntity for consistency and performance
@@ -190,6 +135,13 @@ interface AXPReportDefinition {
190
135
  type AXPReportGenerationMode = 'interactive' | 'background' | 'choose';
191
136
  type AXPReportArtifactKind = 'viewer' | 'pdf' | 'excel' | 'csv';
192
137
  type AXPReportFreezeLayouts = 'current' | 'all';
138
+ type AXPReportGenerationDedupePolicy = 'none' | 'in-flight' | 'in-flight-or-cooldown';
139
+ interface AXPReportGenerationDedupeOptions {
140
+ /** Omitted → inherit platform `ReportManagement:Setting:Generation.Dedupe.Policy`. */
141
+ policy?: AXPReportGenerationDedupePolicy;
142
+ /** Omitted → inherit platform `ReportManagement:Setting:Generation.Dedupe.CooldownMinutes`. */
143
+ cooldownMs?: number;
144
+ }
193
145
  interface AXPReportGenerationOptions {
194
146
  /** Omitted = interactive (today’s viewer). */
195
147
  mode?: AXPReportGenerationMode;
@@ -204,6 +156,13 @@ interface AXPReportGenerationOptions {
204
156
  pinDefinition?: boolean;
205
157
  /** Demo/local only. Worker waits this long after marking the run running. */
206
158
  simulateDelayMs?: number;
159
+ /** Omitted → dedupe behavior comes from platform settings. */
160
+ dedupe?: AXPReportGenerationDedupeOptions;
161
+ /**
162
+ * When true (default for background/choose), completed jobs stay in the footer tray until dismissed.
163
+ * Set false to remove from tray as soon as the job completes.
164
+ */
165
+ keepInTray?: boolean;
207
166
  }
208
167
  type AXPReportLayoutAction = AXPActionMenuItem & {
209
168
  priority: 'primary' | 'secondary';
@@ -568,6 +527,73 @@ interface AXPReportLayoutState {
568
527
  availableLayouts: AXPLayoutSwitcherOption[];
569
528
  }
570
529
 
530
+ declare enum AXPReportManagementSettings {
531
+ GenerationDedupePolicy = "ReportManagement:Setting:Generation.Dedupe.Policy",
532
+ GenerationDedupeCooldownMinutes = "ReportManagement:Setting:Generation.Dedupe.CooldownMinutes",
533
+ GenerationMaxConcurrentPerUser = "ReportManagement:Setting:Generation.MaxConcurrentPerUser"
534
+ }
535
+ declare const AXP_REPORT_MANAGEMENT_GENERATION_SETTING_DEFAULTS: {
536
+ readonly "ReportManagement:Setting:Generation.Dedupe.Policy": AXPReportGenerationDedupePolicy;
537
+ readonly "ReportManagement:Setting:Generation.Dedupe.CooldownMinutes": 0;
538
+ readonly "ReportManagement:Setting:Generation.MaxConcurrentPerUser": 3;
539
+ };
540
+
541
+ declare const RootConfig: {
542
+ readonly config: {
543
+ i18n: string;
544
+ module: string;
545
+ };
546
+ readonly module: {
547
+ readonly route: "report-management";
548
+ readonly name: string;
549
+ readonly title: `@${string}:module.title`;
550
+ readonly icon: "fa-light fa-chart-bar";
551
+ };
552
+ readonly entities: {
553
+ readonly dataSet: {
554
+ readonly name: "DataSet";
555
+ readonly title: `t("dataSet", { scope: "${string}" })`;
556
+ readonly titlePlural: `t("dataSetPlural", { scope: "${string}" })`;
557
+ readonly icon: "fa-light fa-default";
558
+ };
559
+ readonly category: {
560
+ readonly name: "ReportCategory";
561
+ readonly fullName: `${string}.ReportCategory`;
562
+ readonly title: `@${string}:reports.entities.category.title`;
563
+ readonly titlePlural: `@${string}:reports.entities.category.plural`;
564
+ readonly icon: "fa-light fa-folder";
565
+ };
566
+ readonly report: {
567
+ readonly name: "Report";
568
+ readonly fullName: `${string}.Report`;
569
+ readonly title: `@${string}:reports.entities.report.title`;
570
+ readonly titlePlural: `@${string}:reports.entities.report.plural`;
571
+ readonly icon: "fa-light fa-file-chart-pie";
572
+ };
573
+ readonly querySnapshotPolicy: {
574
+ readonly name: "QuerySnapshotPolicy";
575
+ readonly fullName: `${string}.QuerySnapshotPolicy`;
576
+ readonly title: `@${string}:query-snapshots.entities.policy.title`;
577
+ readonly titlePlural: `@${string}:query-snapshots.entities.policy.plural`;
578
+ readonly icon: "fa-light fa-sliders";
579
+ };
580
+ readonly querySnapshot: {
581
+ readonly name: "QuerySnapshot";
582
+ readonly fullName: `${string}.QuerySnapshot`;
583
+ readonly title: `@${string}:query-snapshots.entities.snapshot.title`;
584
+ readonly titlePlural: `@${string}:query-snapshots.entities.snapshot.plural`;
585
+ readonly icon: "fa-light fa-camera";
586
+ };
587
+ readonly reportGenerationRequest: {
588
+ readonly name: "ReportGenerationRequest";
589
+ readonly fullName: `${string}.ReportGenerationRequest`;
590
+ readonly title: `@${string}:report-generation.entities.request.title`;
591
+ readonly titlePlural: `@${string}:report-generation.entities.request.plural`;
592
+ readonly icon: "fa-light fa-file-export";
593
+ };
594
+ };
595
+ };
596
+
571
597
  type AXPReportGenerationStatus = 'queued' | 'running' | 'completed' | 'failed' | 'cancelled';
572
598
  type AXPReportGenerationTrigger = 'manual' | 'schedule' | 'export';
573
599
  interface AXPReportGenerationArtifact {
@@ -579,6 +605,10 @@ interface AXPReportGenerationArtifact {
579
605
  byteLength?: number;
580
606
  lastError?: string;
581
607
  }
608
+ declare const REPORT_GENERATION_NOTIFICATION_DEFINITION_KEY = "ReportManagement:ReportGeneration";
609
+ declare const REPORT_GENERATION_OPEN_FROZEN_COMMAND = "ReportManagement.Report:OpenViewer";
610
+ /** In-app inbox correlation id for a completed report generation run. */
611
+ declare function buildReportGenerationNotificationCorrelationId(runId: string): string;
582
612
  interface AXMReportGenerationRequest extends AXPEntityModel<string> {
583
613
  reportId: string;
584
614
  layoutId?: string;
@@ -597,6 +627,8 @@ interface AXMReportGenerationRequest extends AXPEntityModel<string> {
597
627
  lastError?: string;
598
628
  expiresAt?: string;
599
629
  sourceRequestId?: string;
630
+ /** When true, skip in-app notification because the report viewer is watching this run inline. */
631
+ suppressNotificationOnComplete?: boolean;
600
632
  artifacts: AXPReportGenerationArtifact[];
601
633
  }
602
634
  interface AXPReportViewerFreeze {
@@ -625,11 +657,18 @@ interface AXPReportGenerationCreateInput {
625
657
  sourceRequestId?: string;
626
658
  scheduleId?: string;
627
659
  scheduledOccurrence?: string;
660
+ /** Set when the report viewer will poll and show the result inline. */
661
+ suppressNotificationOnComplete?: boolean;
662
+ }
663
+ interface AXPReportGenerationReleaseInlineWatchInput {
664
+ id: string;
628
665
  }
629
666
  interface AXPReportGenerationCreateResult {
630
667
  id: string;
631
668
  jobId?: string;
632
669
  status: AXPReportGenerationStatus;
670
+ /** True when an existing run was returned instead of creating a new row. */
671
+ deduplicated?: boolean;
633
672
  }
634
673
  interface AXPReportGenerationExecuteInput {
635
674
  reportRequestId: string;
@@ -705,10 +744,12 @@ interface AXMRecalculateQuerySnapshotsInput {
705
744
  tenantId?: string;
706
745
  applicationId?: string;
707
746
  queryKeys?: string[];
747
+ /** When true, a full run ignores catch-up skips (manual refresh all). */
748
+ force?: boolean;
708
749
  }
709
750
  interface AXMRefreshQuerySnapshotsInput {
710
751
  queryKeys?: string[];
711
752
  }
712
753
 
713
- export { AXMPermissionsKeys, AXMReportManagementCommandKeys, AXMReportManagementQueryKeys, AXM_RECALCULATE_QUERY_SNAPSHOTS_COMMAND_KEY, AXM_REFRESH_QUERY_SNAPSHOTS_COMMAND_KEY, AXPInsightsReportingPermissionKeys, AXPReportManagementFeatureKeys, AXPReportManagementMenuKeys, RootConfig };
714
- 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, AXPReportGenerationExecuteInput, AXPReportGenerationExecuteResult, AXPReportGenerationGetInput, AXPReportGenerationGetViewerFreezeInput, AXPReportGenerationListMineInput, AXPReportGenerationMode, AXPReportGenerationOptions, AXPReportGenerationStatus, AXPReportGenerationTrigger, AXPReportGroupByDefinition, AXPReportHeaderFooter, AXPReportLayout, AXPReportLayoutAction, AXPReportLayoutDefinition, AXPReportLayoutState, AXPReportLayoutType, AXPReportParameter, AXPReportParameterBinding, AXPReportParameterGroup, AXPReportPdfLayout, AXPReportPdfOptions, AXPReportSummaryOptions, AXPReportTableLayout, AXPReportTableLayoutRowAction, AXPReportTableSummaryResult, AXPReportViewerFreeze, AXPTableOptions, AXPTransformedDataSource };
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 };
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 };
@@ -51,11 +51,13 @@ declare class AXPOpenReportInPopupCommand implements AXPCommand<AXPOpenReportInP
51
51
  private readonly expressionEvaluator;
52
52
  private readonly translate;
53
53
  private readonly reportViewerService;
54
+ private readonly inboxConnector;
54
55
  execute(input: AXPOpenReportInPopupCommandInput | Record<string, unknown>): AXPCommandExecuteResultPromise<void>;
55
56
  private resolveRowData;
56
57
  private resolveOptions;
57
58
  private resolvePopupTitle;
58
59
  private resolveExplicitPopupTitle;
60
+ private dismissReportGenerationInboxNotification;
59
61
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPOpenReportInPopupCommand, never>;
60
62
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPOpenReportInPopupCommand>;
61
63
  }
@@ -72,7 +74,9 @@ declare class AXPOpenReportViewerCommand implements AXPCommand<AXPOpenReportView
72
74
  private readonly tabNavigation;
73
75
  private readonly expressionEvaluator;
74
76
  private readonly translate;
77
+ private readonly inboxConnector;
75
78
  execute(input: AXPOpenReportViewerCommandInput | Record<string, unknown>): AXPCommandExecuteResultPromise<void>;
79
+ private dismissReportGenerationInboxNotification;
76
80
  private resolveRowData;
77
81
  private resolveOptions;
78
82
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPOpenReportViewerCommand, never>;
@@ -288,6 +292,9 @@ declare class AXPReportViewerPageComponent extends AXPPageLayoutBaseComponent {
288
292
  sideMenuCompactWidth: _angular_core.Signal<number>;
289
293
  menuVerticalMode: _angular_core.Signal<_acorex_platform_framework_client_themes_shared.AXPMenuVerticalMode>;
290
294
  menuOrientation: _angular_core.Signal<_acorex_platform_framework_client_themes_shared.AXPMenuOrientation>;
295
+ menuAppearance: _angular_core.Signal<_acorex_platform_framework_client_themes_shared.AXPMenuAppearance>;
296
+ headerAppearance: _angular_core.Signal<_acorex_platform_framework_client_themes_shared.AXPHeaderAppearance>;
297
+ mainFooterFullWidth: _angular_core.Signal<boolean>;
291
298
  isPrinting: _angular_core.Signal<boolean>;
292
299
  isDarkMode: _angular_core.Signal<boolean>;
293
300
  isLightMode: _angular_core.Signal<boolean>;
@@ -299,6 +306,12 @@ declare class AXPReportViewerPageComponent extends AXPPageLayoutBaseComponent {
299
306
  isMenuHorizontal: _angular_core.Signal<boolean>;
300
307
  effectiveMenuVerticalMode: _angular_core.Signal<_acorex_platform_framework_client_themes_shared.AXPMenuVerticalMode>;
301
308
  sideMenuDrawerWidth: _angular_core.Signal<number>;
309
+ menuDarkEnabled: _angular_core.Signal<boolean>;
310
+ menuBrandEnabled: _angular_core.Signal<boolean>;
311
+ effectiveMainFooterFullWidth: _angular_core.Signal<boolean>;
312
+ headerBrandEnabled: _angular_core.Signal<boolean>;
313
+ headerButtonColor: _angular_core.Signal<"default" | "primary">;
314
+ headerButtonLook: _angular_core.Signal<"default" | "blank">;
302
315
  changeThemeMode: (theme: _acorex_platform_framework_client_themes_shared.AXPThemeMode) => void;
303
316
  openSideMenu: () => void;
304
317
  closeSideMenu: () => void;
@@ -328,6 +341,9 @@ declare class AXPReportViewerPageComponent extends AXPPageLayoutBaseComponent {
328
341
  sideMenuCompactWidth: number;
329
342
  menuVerticalMode: _acorex_platform_framework_client_themes_shared.AXPMenuVerticalMode;
330
343
  menuOrientation: _acorex_platform_framework_client_themes_shared.AXPMenuOrientation;
344
+ menuAppearance: _acorex_platform_framework_client_themes_shared.AXPMenuAppearance;
345
+ headerAppearance: _acorex_platform_framework_client_themes_shared.AXPHeaderAppearance;
346
+ mainFooterFullWidth: boolean;
331
347
  isPrinting: boolean;
332
348
  }>;
333
349
  protected readonly deviceService: AXPDeviceService;
@@ -357,6 +373,8 @@ declare class AXPReportViewerPageComponent extends AXPPageLayoutBaseComponent {
357
373
  frozen: _angular_core.Signal<boolean>;
358
374
  freeze: _angular_core.Signal<_acorex_platform_module_report_management_client.AXPReportViewerFreeze | null>;
359
375
  backgroundQueued: _angular_core.Signal<boolean>;
376
+ backgroundGenerationRequestId: _angular_core.Signal<string | null>;
377
+ inlineGenerationWatchActive: _angular_core.Signal<boolean>;
360
378
  parametersReadonly: _angular_core.Signal<boolean>;
361
379
  selectedLayoutIds: _angular_core.Signal<string[]>;
362
380
  availableLayouts: _angular_core.Signal<AXPLayoutSwitcherOption[]>;
@@ -386,6 +404,7 @@ declare class AXPReportViewerPageComponent extends AXPPageLayoutBaseComponent {
386
404
  isBackgroundReportMode: _angular_core.Signal<boolean>;
387
405
  hasSelectedBackgroundLayouts: _angular_core.Signal<boolean>;
388
406
  areParametersReadonly: _angular_core.Signal<boolean>;
407
+ isBackgroundGenerateDisabled: _angular_core.Signal<boolean>;
389
408
  canSwitchLayout: _angular_core.Signal<boolean>;
390
409
  generationMode: _angular_core.Signal<_acorex_platform_module_report_management_client.AXPReportGenerationMode>;
391
410
  loadReport: (reportId: string) => Promise<void>;
@@ -399,8 +418,9 @@ declare class AXPReportViewerPageComponent extends AXPPageLayoutBaseComponent {
399
418
  executeReport: () => Promise<void>;
400
419
  fetchData: (query?: _acorex_cdk_common.AXDataSourceQuery) => Promise<_acorex_platform_framework_shared_core.AXPRuntimeQueryResult<unknown> | null>;
401
420
  generateInBackground: () => Promise<void>;
421
+ releaseInlineNotificationWatch: () => Promise<void>;
402
422
  nudgeFetch: () => void;
403
- loadFrozenRun: (runId: string) => Promise<void>;
423
+ loadFrozenRun: (_runId: string) => Promise<void>;
404
424
  applyDrillView: (options: {
405
425
  hideColumnFields: string[];
406
426
  }) => void;
@@ -430,10 +450,13 @@ declare class AXPReportViewerPageComponent extends AXPPageLayoutBaseComponent {
430
450
  frozen: boolean;
431
451
  freeze: _acorex_platform_module_report_management_client.AXPReportViewerFreeze | null;
432
452
  backgroundQueued: boolean;
453
+ backgroundGenerationRequestId: string | null;
454
+ inlineGenerationWatchActive: boolean;
433
455
  parametersReadonly: boolean;
434
456
  selectedLayoutIds: string[];
435
457
  }>;
436
458
  private readonly watchNavigationLoading;
459
+ private readonly syncFrozenRunUrl;
437
460
  private loadingDialogRef;
438
461
  private isDialogOpening;
439
462
  private lastReportRouteKey;
@@ -441,6 +464,7 @@ declare class AXPReportViewerPageComponent extends AXPPageLayoutBaseComponent {
441
464
  protected showFiltersPanel: () => boolean;
442
465
  protected showReportDisplay: () => boolean;
443
466
  private reportsListPath;
467
+ private isReportViewerUrl;
444
468
  protected defaultLayout: () => AXPGridLayoutOptions;
445
469
  protected compactLayout: () => AXPGridLayoutOptions;
446
470
  ngOnInit(): Promise<void>;
@@ -549,6 +573,8 @@ declare const AXPReportViewerViewModel: _angular_core.Type<{
549
573
  frozen: _angular_core.Signal<boolean>;
550
574
  freeze: _angular_core.Signal<AXPReportViewerFreeze | null>;
551
575
  backgroundQueued: _angular_core.Signal<boolean>;
576
+ backgroundGenerationRequestId: _angular_core.Signal<string | null>;
577
+ inlineGenerationWatchActive: _angular_core.Signal<boolean>;
552
578
  parametersReadonly: _angular_core.Signal<boolean>;
553
579
  selectedLayoutIds: _angular_core.Signal<string[]>;
554
580
  availableLayouts: _angular_core.Signal<AXPLayoutSwitcherOption[]>;
@@ -578,6 +604,7 @@ declare const AXPReportViewerViewModel: _angular_core.Type<{
578
604
  isBackgroundReportMode: _angular_core.Signal<boolean>;
579
605
  hasSelectedBackgroundLayouts: _angular_core.Signal<boolean>;
580
606
  areParametersReadonly: _angular_core.Signal<boolean>;
607
+ isBackgroundGenerateDisabled: _angular_core.Signal<boolean>;
581
608
  canSwitchLayout: _angular_core.Signal<boolean>;
582
609
  generationMode: _angular_core.Signal<_acorex_platform_module_report_management_client.AXPReportGenerationMode>;
583
610
  loadReport: (reportId: string) => Promise<void>;
@@ -591,8 +618,9 @@ declare const AXPReportViewerViewModel: _angular_core.Type<{
591
618
  executeReport: () => Promise<void>;
592
619
  fetchData: (query?: AXDataSourceQuery) => Promise<AXPRuntimeQueryResult<unknown> | null>;
593
620
  generateInBackground: () => Promise<void>;
621
+ releaseInlineNotificationWatch: () => Promise<void>;
594
622
  nudgeFetch: () => void;
595
- loadFrozenRun: (runId: string) => Promise<void>;
623
+ loadFrozenRun: (_runId: string) => Promise<void>;
596
624
  applyDrillView: (options: {
597
625
  hideColumnFields: string[];
598
626
  }) => void;
@@ -622,6 +650,8 @@ declare const AXPReportViewerViewModel: _angular_core.Type<{
622
650
  frozen: boolean;
623
651
  freeze: AXPReportViewerFreeze | null;
624
652
  backgroundQueued: boolean;
653
+ backgroundGenerationRequestId: string | null;
654
+ inlineGenerationWatchActive: boolean;
625
655
  parametersReadonly: boolean;
626
656
  selectedLayoutIds: string[];
627
657
  }>>;
@@ -645,6 +675,8 @@ declare class AXPReportBarChartViewComponent {
645
675
  frozen: _angular_core.Signal<boolean>;
646
676
  freeze: _angular_core.Signal<_acorex_platform_module_report_management_client.AXPReportViewerFreeze | null>;
647
677
  backgroundQueued: _angular_core.Signal<boolean>;
678
+ backgroundGenerationRequestId: _angular_core.Signal<string | null>;
679
+ inlineGenerationWatchActive: _angular_core.Signal<boolean>;
648
680
  parametersReadonly: _angular_core.Signal<boolean>;
649
681
  selectedLayoutIds: _angular_core.Signal<string[]>;
650
682
  availableLayouts: _angular_core.Signal<_acorex_platform_module_report_management_client.AXPLayoutSwitcherOption[]>;
@@ -674,6 +706,7 @@ declare class AXPReportBarChartViewComponent {
674
706
  isBackgroundReportMode: _angular_core.Signal<boolean>;
675
707
  hasSelectedBackgroundLayouts: _angular_core.Signal<boolean>;
676
708
  areParametersReadonly: _angular_core.Signal<boolean>;
709
+ isBackgroundGenerateDisabled: _angular_core.Signal<boolean>;
677
710
  canSwitchLayout: _angular_core.Signal<boolean>;
678
711
  generationMode: _angular_core.Signal<_acorex_platform_module_report_management_client.AXPReportGenerationMode>;
679
712
  loadReport: (reportId: string) => Promise<void>;
@@ -687,8 +720,9 @@ declare class AXPReportBarChartViewComponent {
687
720
  executeReport: () => Promise<void>;
688
721
  fetchData: (query?: _acorex_cdk_common.AXDataSourceQuery) => Promise<_acorex_platform_framework_shared_core.AXPRuntimeQueryResult<unknown> | null>;
689
722
  generateInBackground: () => Promise<void>;
723
+ releaseInlineNotificationWatch: () => Promise<void>;
690
724
  nudgeFetch: () => void;
691
- loadFrozenRun: (runId: string) => Promise<void>;
725
+ loadFrozenRun: (_runId: string) => Promise<void>;
692
726
  applyDrillView: (options: {
693
727
  hideColumnFields: string[];
694
728
  }) => void;
@@ -718,6 +752,8 @@ declare class AXPReportBarChartViewComponent {
718
752
  frozen: boolean;
719
753
  freeze: _acorex_platform_module_report_management_client.AXPReportViewerFreeze | null;
720
754
  backgroundQueued: boolean;
755
+ backgroundGenerationRequestId: string | null;
756
+ inlineGenerationWatchActive: boolean;
721
757
  parametersReadonly: boolean;
722
758
  selectedLayoutIds: string[];
723
759
  }>;
@@ -780,6 +816,8 @@ declare class AXPReportTableViewComponent {
780
816
  frozen: _angular_core.Signal<boolean>;
781
817
  freeze: _angular_core.Signal<_acorex_platform_module_report_management_client.AXPReportViewerFreeze | null>;
782
818
  backgroundQueued: _angular_core.Signal<boolean>;
819
+ backgroundGenerationRequestId: _angular_core.Signal<string | null>;
820
+ inlineGenerationWatchActive: _angular_core.Signal<boolean>;
783
821
  parametersReadonly: _angular_core.Signal<boolean>;
784
822
  selectedLayoutIds: _angular_core.Signal<string[]>;
785
823
  availableLayouts: _angular_core.Signal<_acorex_platform_module_report_management_client.AXPLayoutSwitcherOption[]>;
@@ -809,6 +847,7 @@ declare class AXPReportTableViewComponent {
809
847
  isBackgroundReportMode: _angular_core.Signal<boolean>;
810
848
  hasSelectedBackgroundLayouts: _angular_core.Signal<boolean>;
811
849
  areParametersReadonly: _angular_core.Signal<boolean>;
850
+ isBackgroundGenerateDisabled: _angular_core.Signal<boolean>;
812
851
  canSwitchLayout: _angular_core.Signal<boolean>;
813
852
  generationMode: _angular_core.Signal<_acorex_platform_module_report_management_client.AXPReportGenerationMode>;
814
853
  loadReport: (reportId: string) => Promise<void>;
@@ -822,8 +861,9 @@ declare class AXPReportTableViewComponent {
822
861
  executeReport: () => Promise<void>;
823
862
  fetchData: (query?: AXDataSourceQuery) => Promise<_acorex_platform_framework_shared_core.AXPRuntimeQueryResult<unknown> | null>;
824
863
  generateInBackground: () => Promise<void>;
864
+ releaseInlineNotificationWatch: () => Promise<void>;
825
865
  nudgeFetch: () => void;
826
- loadFrozenRun: (runId: string) => Promise<void>;
866
+ loadFrozenRun: (_runId: string) => Promise<void>;
827
867
  applyDrillView: (options: {
828
868
  hideColumnFields: string[];
829
869
  }) => void;
@@ -853,6 +893,8 @@ declare class AXPReportTableViewComponent {
853
893
  frozen: boolean;
854
894
  freeze: _acorex_platform_module_report_management_client.AXPReportViewerFreeze | null;
855
895
  backgroundQueued: boolean;
896
+ backgroundGenerationRequestId: string | null;
897
+ inlineGenerationWatchActive: boolean;
856
898
  parametersReadonly: boolean;
857
899
  selectedLayoutIds: string[];
858
900
  }>;