bways-report 0.2.11 → 0.2.13
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/esm2022/lib/core/formula/formula-columns.mjs +7 -7
- package/esm2022/lib/core/models/report-component.model.mjs +1 -1
- package/esm2022/lib/core/services/report-overlay.service.mjs +2 -2
- package/esm2022/lib/core/utils/report-values.util.mjs +3 -3
- package/esm2022/lib/core/utils/selection-workflow.util.mjs +10 -9
- package/esm2022/lib/features/designer/components/component-palette/component-palette.component.mjs +17 -4
- package/esm2022/lib/features/designer/components/design-canvas/design-canvas.component.mjs +6 -3
- package/esm2022/lib/features/designer/components/property-editor/property-editor.component.mjs +78 -4
- package/esm2022/lib/features/designer/components/property-editor/selection-workflow-editor.component.mjs +30 -18
- package/esm2022/lib/features/designer/components/property-editor/workflow-source-editor.component.mjs +51 -15
- package/esm2022/lib/features/designer/components/toolbar/designer-toolbar.component.mjs +2 -11
- package/esm2022/lib/features/designer/designer.component.mjs +6 -34
- package/esm2022/lib/features/designer/services/designer-state.service.mjs +36 -2
- package/esm2022/lib/features/persistence/services/schema-validator.service.mjs +14 -1
- package/esm2022/lib/features/runtime/dynamic-renderer.component.mjs +11 -5
- package/esm2022/lib/features/runtime/index.mjs +2 -1
- package/esm2022/lib/features/runtime/report-component-grid.component.mjs +90 -0
- package/esm2022/lib/features/runtime/report-execution.service.mjs +9 -8
- package/esm2022/lib/primitives/register-builtins.mjs +27 -1
- package/fesm2022/bways-report.mjs +8618 -8504
- package/fesm2022/bways-report.mjs.map +1 -1
- package/lib/core/formula/formula-columns.d.ts +3 -2
- package/lib/core/models/report-component.model.d.ts +3 -0
- package/lib/core/utils/report-values.util.d.ts +1 -1
- package/lib/core/utils/selection-workflow.util.d.ts +5 -1
- package/lib/features/designer/components/component-palette/component-palette.component.d.ts +2 -0
- package/lib/features/designer/components/design-canvas/design-canvas.component.d.ts +1 -0
- package/lib/features/designer/components/property-editor/property-editor.component.d.ts +13 -2
- package/lib/features/designer/components/property-editor/selection-workflow-editor.component.d.ts +2 -0
- package/lib/features/designer/components/property-editor/workflow-source-editor.component.d.ts +5 -1
- package/lib/features/designer/components/toolbar/designer-toolbar.component.d.ts +1 -2
- package/lib/features/designer/designer.component.d.ts +0 -4
- package/lib/features/designer/services/designer-state.service.d.ts +2 -0
- package/lib/features/runtime/dynamic-renderer.component.d.ts +1 -0
- package/lib/features/runtime/index.d.ts +1 -0
- package/lib/features/runtime/report-component-grid.component.d.ts +20 -0
- package/package.json +1 -1
- package/esm2022/lib/features/designer/components/dialogs/report-workflow-dialog.component.mjs +0 -162
- package/lib/features/designer/components/dialogs/report-workflow-dialog.component.d.ts +0 -63
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { ReportDefinition } from '../../../../core/models/report-definition.model';
|
|
2
|
-
import { ReportWorkflowDefinition, ReportWorkflowVariant } from '../../../../core/models/report-workflow.model';
|
|
3
|
-
import { ReportDataSourceDefinition } from '../../../../core/models/report-datasource.model';
|
|
4
|
-
import { ReportGridDefinition } from '../../../../core/models/report-grid.model';
|
|
5
|
-
import { ReportComponentDefinition, VisibilityDefinition } from '../../../../core/models/report-component.model';
|
|
6
|
-
import { SelectionWorkflowEditorComponent } from '../property-editor/selection-workflow-editor.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ReportWorkflowDialogComponent {
|
|
9
|
-
private readonly ref;
|
|
10
|
-
private readonly initial;
|
|
11
|
-
readonly draft: import("@angular/core").WritableSignal<ReportDefinition>;
|
|
12
|
-
readonly selectionEditor: import("@angular/core").Signal<SelectionWorkflowEditorComponent | undefined>;
|
|
13
|
-
readonly applyError: import("@angular/core").WritableSignal<string>;
|
|
14
|
-
readonly tab: import("@angular/core").WritableSignal<"run" | "selections" | "rules">;
|
|
15
|
-
readonly selectionField: import("@angular/core").WritableSignal<string>;
|
|
16
|
-
readonly ruleField: import("@angular/core").WritableSignal<string>;
|
|
17
|
-
readonly page: import("@angular/core").Signal<ReportWorkflowDefinition>;
|
|
18
|
-
readonly fields: import("@angular/core").Signal<ReportComponentDefinition[]>;
|
|
19
|
-
readonly buttons: import("@angular/core").Signal<ReportComponentDefinition[]>;
|
|
20
|
-
readonly typeFields: import("@angular/core").Signal<ReportComponentDefinition[]>;
|
|
21
|
-
readonly variants: import("@angular/core").Signal<ReportWorkflowVariant[]>;
|
|
22
|
-
readonly ruleComponent: import("@angular/core").Signal<ReportComponentDefinition | undefined>;
|
|
23
|
-
readonly conditionFields: import("@angular/core").Signal<ReportComponentDefinition[]>;
|
|
24
|
-
readonly errors: import("@angular/core").Signal<string[]>;
|
|
25
|
-
readonly selectionSources: import("@angular/core").Signal<{
|
|
26
|
-
key: string;
|
|
27
|
-
triggerKey: string | undefined;
|
|
28
|
-
label: string;
|
|
29
|
-
columns: import("../../../../core/models/report-grid.model").GridColumnDefinition[];
|
|
30
|
-
}[]>;
|
|
31
|
-
constructor();
|
|
32
|
-
patch(patch: Partial<ReportDefinition>): void;
|
|
33
|
-
patchPage(patch: Partial<ReportWorkflowDefinition>): void;
|
|
34
|
-
chooseButton(id: string): void;
|
|
35
|
-
query(id: string): ReportDataSourceDefinition | undefined;
|
|
36
|
-
grid(index?: number): ReportGridDefinition;
|
|
37
|
-
sourceChange(source: ReportDataSourceDefinition): void;
|
|
38
|
-
gridChange(grid: ReportGridDefinition, index?: number): void;
|
|
39
|
-
chooseQuery(id: string, index?: number): void;
|
|
40
|
-
newQuery(index?: number): void;
|
|
41
|
-
chooseType(key: string): void;
|
|
42
|
-
options(key: string): {
|
|
43
|
-
value: string | number | boolean;
|
|
44
|
-
label: string;
|
|
45
|
-
}[];
|
|
46
|
-
variantChange(index: number, patch: Partial<ReportWorkflowVariant>): void;
|
|
47
|
-
addVariant(): void;
|
|
48
|
-
removeVariant(index: number): void;
|
|
49
|
-
useAllFormulas(index: number, all: boolean): void;
|
|
50
|
-
toggleFormula(index: number, name: string, checked: boolean): void;
|
|
51
|
-
componentPatch(patch: Partial<ReportComponentDefinition>): void;
|
|
52
|
-
conditionPatch(patch: Partial<VisibilityDefinition>): void;
|
|
53
|
-
requireWhenVisible(required: boolean): void;
|
|
54
|
-
conditionValue(value: unknown): void;
|
|
55
|
-
removeRule(): void;
|
|
56
|
-
private commitSelection;
|
|
57
|
-
navigate(tab: 'run' | 'selections' | 'rules'): void;
|
|
58
|
-
chooseSelectionField(key: string): void;
|
|
59
|
-
apply(): void;
|
|
60
|
-
cancel(): void;
|
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ReportWorkflowDialogComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ReportWorkflowDialogComponent, "rpt-report-workflow-dialog", never, {}, {}, never, never, true, never>;
|
|
63
|
-
}
|