@acorex/modules 20.0.20 → 20.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-C3UP9Jsi.mjs +478 -0
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-C3UP9Jsi.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management.mjs +71 -125
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/package.json +5 -5
- package/report-management/index.d.ts +74 -36
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-S8qyvs79.mjs +0 -634
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-S8qyvs79.mjs.map +0 -1
- package/fesm2022/acorex-modules-report-management-run.command-DHPmdkSZ.mjs +0 -20
- package/fesm2022/acorex-modules-report-management-run.command-DHPmdkSZ.mjs.map +0 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/modules",
|
3
|
-
"version": "20.0.
|
3
|
+
"version": "20.0.22",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": ">=19.0.0",
|
6
6
|
"@angular/core": ">=19.0.0",
|
@@ -34,14 +34,14 @@
|
|
34
34
|
"types": "./calendar-management/index.d.ts",
|
35
35
|
"default": "./fesm2022/acorex-modules-calendar-management.mjs"
|
36
36
|
},
|
37
|
-
"./contact-management": {
|
38
|
-
"types": "./contact-management/index.d.ts",
|
39
|
-
"default": "./fesm2022/acorex-modules-contact-management.mjs"
|
40
|
-
},
|
41
37
|
"./common": {
|
42
38
|
"types": "./common/index.d.ts",
|
43
39
|
"default": "./fesm2022/acorex-modules-common.mjs"
|
44
40
|
},
|
41
|
+
"./contact-management": {
|
42
|
+
"types": "./contact-management/index.d.ts",
|
43
|
+
"default": "./fesm2022/acorex-modules-contact-management.mjs"
|
44
|
+
},
|
45
45
|
"./content-management": {
|
46
46
|
"types": "./content-management/index.d.ts",
|
47
47
|
"default": "./fesm2022/acorex-modules-content-management.mjs"
|
@@ -3,11 +3,11 @@ import * as i1 from '@acorex/platform/domain';
|
|
3
3
|
import * as i2 from '@acorex/platform/workflow';
|
4
4
|
import * as _ngrx_signals from '@ngrx/signals';
|
5
5
|
import * as _acorex_platform_core from '@acorex/platform/core';
|
6
|
-
import { AXPBreadcrumbItem, AXPBackButton, AXPActionMenuItem, AXPExecuteCommand } from '@acorex/platform/core';
|
6
|
+
import { AXPContextData, AXPBreadcrumbItem, AXPBackButton, AXPActionMenuItem, AXPExecuteCommand } from '@acorex/platform/core';
|
7
7
|
import * as _acorex_platform_common from '@acorex/platform/common';
|
8
8
|
import { AXPReportDefinition, AXPTableLayout } from '@acorex/platform/common';
|
9
9
|
import * as _acorex_platform_layout_builder from '@acorex/platform/layout/builder';
|
10
|
-
import { AXPPageStatus
|
10
|
+
import { AXPPageStatus } from '@acorex/platform/layout/builder';
|
11
11
|
import * as _acorex_platform_layout_components from '@acorex/platform/layout/components';
|
12
12
|
import { AXPDynamicFormDefinition } from '@acorex/platform/layout/components';
|
13
13
|
import * as _acorex_cdk_common from '@acorex/cdk/common';
|
@@ -68,6 +68,7 @@ declare const AXPReportViewerViewModel: _angular_core.Type<{
|
|
68
68
|
currentPage: _angular_core.Signal<number>;
|
69
69
|
pageSize: _angular_core.Signal<number>;
|
70
70
|
error: _angular_core.Signal<string | null>;
|
71
|
+
showResults: _angular_core.Signal<boolean>;
|
71
72
|
layoutType: _angular_core.Signal<"table" | "custom" | "chart" | "cards" | undefined>;
|
72
73
|
tableLayoutConfig: _angular_core.Signal<AXPTableLayout | null>;
|
73
74
|
isLoading: _angular_core.Signal<boolean>;
|
@@ -116,6 +117,7 @@ declare const AXPReportViewerViewModel: _angular_core.Type<{
|
|
116
117
|
currentPage: number;
|
117
118
|
pageSize: number;
|
118
119
|
error: string | null;
|
120
|
+
showResults: boolean;
|
119
121
|
}>>;
|
120
122
|
|
121
123
|
declare class AXPReportViewerPageComponent extends AXPPageLayoutBaseComponent {
|
@@ -185,9 +187,7 @@ declare class AXPReportViewerPageComponent extends AXPPageLayoutBaseComponent {
|
|
185
187
|
private unsubscriber;
|
186
188
|
reportId: _angular_core.InputSignal<string | undefined>;
|
187
189
|
reportParameters: _angular_core.InputSignal<Record<string, any>>;
|
188
|
-
reportExecuted: _angular_core.OutputEmitterRef<any>;
|
189
190
|
private filtersForm;
|
190
|
-
private mobileFiltersForm;
|
191
191
|
protected readonly vm: {
|
192
192
|
reportDefinition: _angular_core.Signal<_acorex_platform_common.AXPReportDefinition | null>;
|
193
193
|
reportData: _angular_core.Signal<any[]>;
|
@@ -199,6 +199,7 @@ declare class AXPReportViewerPageComponent extends AXPPageLayoutBaseComponent {
|
|
199
199
|
currentPage: _angular_core.Signal<number>;
|
200
200
|
pageSize: _angular_core.Signal<number>;
|
201
201
|
error: _angular_core.Signal<string | null>;
|
202
|
+
showResults: _angular_core.Signal<boolean>;
|
202
203
|
layoutType: _angular_core.Signal<"table" | "custom" | "chart" | "cards" | undefined>;
|
203
204
|
tableLayoutConfig: _angular_core.Signal<_acorex_platform_common.AXPTableLayout | null>;
|
204
205
|
isLoading: _angular_core.Signal<boolean>;
|
@@ -247,6 +248,7 @@ declare class AXPReportViewerPageComponent extends AXPPageLayoutBaseComponent {
|
|
247
248
|
currentPage: number;
|
248
249
|
pageSize: number;
|
249
250
|
error: string | null;
|
251
|
+
showResults: boolean;
|
250
252
|
}>;
|
251
253
|
protected showFiltersPanel: () => boolean;
|
252
254
|
private baseRoutes;
|
@@ -280,8 +282,9 @@ declare class AXPReportViewerPageComponent extends AXPPageLayoutBaseComponent {
|
|
280
282
|
};
|
281
283
|
};
|
282
284
|
ngOnInit(): Promise<void>;
|
283
|
-
|
284
|
-
protected
|
285
|
+
private loadReportAndRefresh;
|
286
|
+
protected handleFiltersChange(event: AXPContextData): void;
|
287
|
+
protected handleFiltersInitiated(event: AXPContextData): void;
|
285
288
|
protected handleExecuteReport(): Promise<void>;
|
286
289
|
protected handleRefresh(): void;
|
287
290
|
protected handleClearFilters(): void;
|
@@ -299,17 +302,72 @@ declare class AXPReportViewerPageComponent extends AXPPageLayoutBaseComponent {
|
|
299
302
|
getSecondaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
300
303
|
execute(command: AXPExecuteCommand): Promise<void>;
|
301
304
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPReportViewerPageComponent, never>;
|
302
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPReportViewerPageComponent, "axp-report-viewer-page", never, { "reportId": { "alias": "reportId"; "required": false; "isSignal": true; }; "reportParameters": { "alias": "reportParameters"; "required": false; "isSignal": true; }; }, {
|
305
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPReportViewerPageComponent, "axp-report-viewer-page", never, { "reportId": { "alias": "reportId"; "required": false; "isSignal": true; }; "reportParameters": { "alias": "reportParameters"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
303
306
|
}
|
304
307
|
|
305
308
|
declare class AXPReportTableViewComponent {
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
309
|
+
protected readonly vm: {
|
310
|
+
reportDefinition: _angular_core.Signal<_acorex_platform_common.AXPReportDefinition | null>;
|
311
|
+
reportData: _angular_core.Signal<any[]>;
|
312
|
+
filterContext: _angular_core.Signal<Record<string, any>>;
|
313
|
+
previousFilterContext: _angular_core.Signal<Record<string, any>>;
|
314
|
+
categoriesPath: _angular_core.Signal<any[]>;
|
315
|
+
status: _angular_core.Signal<_acorex_platform_layout_builder.AXPPageStatus>;
|
316
|
+
totalRecords: _angular_core.Signal<number>;
|
317
|
+
currentPage: _angular_core.Signal<number>;
|
318
|
+
pageSize: _angular_core.Signal<number>;
|
319
|
+
error: _angular_core.Signal<string | null>;
|
320
|
+
showResults: _angular_core.Signal<boolean>;
|
321
|
+
layoutType: _angular_core.Signal<"table" | "custom" | "chart" | "cards" | undefined>;
|
322
|
+
tableLayoutConfig: _angular_core.Signal<_acorex_platform_common.AXPTableLayout | null>;
|
323
|
+
isLoading: _angular_core.Signal<boolean>;
|
324
|
+
isExecuting: _angular_core.Signal<boolean>;
|
325
|
+
hasData: _angular_core.Signal<boolean>;
|
326
|
+
hasError: _angular_core.Signal<boolean>;
|
327
|
+
title: _angular_core.Signal<string>;
|
328
|
+
description: _angular_core.Signal<string | null>;
|
329
|
+
formDefinition: _angular_core.Signal<_acorex_platform_layout_components.AXPDynamicFormDefinition>;
|
330
|
+
dataSource: _angular_core.Signal<_acorex_cdk_common.AXDataSource<any>>;
|
331
|
+
isTableLayout: _angular_core.Signal<boolean>;
|
332
|
+
isChartLayout: _angular_core.Signal<boolean>;
|
333
|
+
isCardsLayout: _angular_core.Signal<boolean>;
|
334
|
+
isCustomLayout: _angular_core.Signal<boolean>;
|
335
|
+
columns: _angular_core.Signal<{
|
336
|
+
field: string;
|
337
|
+
title: string;
|
338
|
+
width: string | number;
|
339
|
+
visible: boolean;
|
340
|
+
align: "left" | "center" | "right";
|
341
|
+
widget: {
|
342
|
+
type: string;
|
343
|
+
options?: _acorex_platform_core.AXPOptionsData;
|
344
|
+
} | undefined;
|
345
|
+
}[]>;
|
346
|
+
paginationEnabled: _angular_core.Signal<boolean>;
|
347
|
+
canExecute: _angular_core.Signal<boolean>;
|
348
|
+
loadReport: (reportId: string) => Promise<void>;
|
349
|
+
executeReport: () => Promise<void>;
|
350
|
+
updateFilterContext: (context: Record<string, any>) => void;
|
351
|
+
clearFilters: () => void;
|
352
|
+
resetFilters: () => void;
|
353
|
+
changePage: (page: number) => void;
|
354
|
+
changePageSize: (pageSize: number) => void;
|
355
|
+
refresh: () => void;
|
356
|
+
clearError: () => void;
|
357
|
+
reset: () => void;
|
358
|
+
} & _ngrx_signals.StateSource<{
|
359
|
+
reportDefinition: _acorex_platform_common.AXPReportDefinition | null;
|
360
|
+
reportData: any[];
|
361
|
+
filterContext: Record<string, any>;
|
362
|
+
previousFilterContext: Record<string, any>;
|
363
|
+
categoriesPath: any[];
|
364
|
+
status: _acorex_platform_layout_builder.AXPPageStatus;
|
365
|
+
totalRecords: number;
|
366
|
+
currentPage: number;
|
367
|
+
pageSize: number;
|
368
|
+
error: string | null;
|
369
|
+
showResults: boolean;
|
370
|
+
}>;
|
313
371
|
rowClick: _angular_core.OutputEmitterRef<AXDataTableRowClick>;
|
314
372
|
actionClick: _angular_core.OutputEmitterRef<{
|
315
373
|
action: string;
|
@@ -318,27 +376,7 @@ declare class AXPReportTableViewComponent {
|
|
318
376
|
protected handleRowClick(event: AXDataTableRowClick): void;
|
319
377
|
protected getStatusColor(status: string): string;
|
320
378
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPReportTableViewComponent, never>;
|
321
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPReportTableViewComponent, "axp-report-table-view", never, {
|
322
|
-
}
|
323
|
-
|
324
|
-
interface AXMReportExecuteCommandInput {
|
325
|
-
reportId: string;
|
326
|
-
parameters: Record<string, any>;
|
327
|
-
page?: number;
|
328
|
-
pageSize?: number;
|
329
|
-
}
|
330
|
-
interface AXMReportExecuteCommandOutput {
|
331
|
-
data: any[];
|
332
|
-
total: number;
|
333
|
-
page: number;
|
334
|
-
pageSize: number;
|
335
|
-
}
|
336
|
-
declare class AXMReportExecuteCommand {
|
337
|
-
execute(input: AXMReportExecuteCommandInput): Promise<AXMReportExecuteCommandOutput>;
|
338
|
-
private generateMockData;
|
339
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMReportExecuteCommand, never>;
|
340
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMReportExecuteCommand>;
|
379
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPReportTableViewComponent, "axp-report-table-view", never, {}, { "rowClick": "rowClick"; "actionClick": "actionClick"; }, never, never, true, never>;
|
341
380
|
}
|
342
381
|
|
343
|
-
export {
|
344
|
-
export type { AXMReportExecuteCommandInput, AXMReportExecuteCommandOutput };
|
382
|
+
export { AXMReportManagementModule, AXPReportTableViewComponent, AXPReportViewerPageComponent, AXPReportViewerViewModel, RootConfig };
|