@bizdoc/core 1.16.0 → 1.16.1
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/esm2020/lib/admin/configuration-designer/designer-element.component.mjs +4 -6
- package/esm2020/lib/admin/configuration-designer/designer.base.mjs +25 -11
- package/esm2020/lib/admin/configuration-designer/designer.component.mjs +13 -12
- package/esm2020/lib/admin/configuration-designer/elements/action.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/analysis-view.component.mjs +6 -6
- package/esm2020/lib/admin/configuration-designer/elements/analysis-widget.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/configuration-datasource.component.mjs +5 -7
- package/esm2020/lib/admin/configuration-designer/elements/cube-view.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/cube.component.mjs +42 -18
- package/esm2020/lib/admin/configuration-designer/elements/documents-widget.component.mjs +1 -1
- package/esm2020/lib/admin/configuration-designer/elements/folder.component.mjs +6 -2
- package/esm2020/lib/admin/configuration-designer/elements/form.component.mjs +5 -4
- package/esm2020/lib/admin/configuration-designer/elements/guide.component.mjs +5 -4
- package/esm2020/lib/admin/configuration-designer/elements/matrix-view.component.mjs +9 -13
- package/esm2020/lib/admin/configuration-designer/elements/report.component.mjs +8 -4
- package/esm2020/lib/admin/configuration-designer/elements/return-to-role-action.component.mjs +1 -1
- package/esm2020/lib/admin/configuration-designer/elements/role.component.mjs +1 -1
- package/esm2020/lib/admin/configuration-designer/elements/rule.component.mjs +3 -4
- package/esm2020/lib/admin/configuration-designer/elements/tasks-report.component.mjs +1 -1
- package/esm2020/lib/admin/configuration-designer/elements/type.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/usage-report.component.mjs +2 -2
- package/esm2020/lib/admin/configuration-designer/elements/utility.component.mjs +8 -4
- package/esm2020/lib/admin/configuration-designer/elements/view.component.mjs +8 -4
- package/esm2020/lib/admin/configuration-designer/elements/widget.component.mjs +8 -4
- package/esm2020/lib/admin/configuration-designer/icon-picker.component.mjs +7 -6
- package/esm2020/lib/admin/configuration-designer/privileges.component.mjs +4 -4
- package/esm2020/lib/admin/document-trace/document-trace.component.mjs +3 -3
- package/esm2020/lib/core/datasource.service.mjs +1 -1
- package/esm2020/lib/core/translations.mjs +4 -1
- package/esm2020/lib/cube/matrix/table.component.mjs +3 -3
- package/esm2020/lib/system.module.mjs +5 -1
- package/esm2020/public-api.mjs +2 -2
- package/fesm2015/bizdoc-core.mjs +168 -108
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +167 -107
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/admin/configuration-designer/designer.base.d.ts +45 -15
- package/lib/admin/configuration-designer/designer.component.d.ts +1 -1
- package/lib/admin/configuration-designer/elements/analysis-view.component.d.ts +2 -1
- package/lib/admin/configuration-designer/elements/configuration-datasource.component.d.ts +5 -4
- package/lib/admin/configuration-designer/elements/cube.component.d.ts +3 -3
- package/lib/admin/configuration-designer/elements/documents-widget.component.d.ts +2 -2
- package/lib/admin/configuration-designer/elements/folder.component.d.ts +1 -1
- package/lib/admin/configuration-designer/elements/form.component.d.ts +0 -1
- package/lib/admin/configuration-designer/elements/guide.component.d.ts +0 -1
- package/lib/admin/configuration-designer/elements/matrix-view.component.d.ts +0 -2
- package/lib/admin/configuration-designer/elements/report.component.d.ts +1 -1
- package/lib/admin/configuration-designer/elements/return-to-role-action.component.d.ts +2 -2
- package/lib/admin/configuration-designer/elements/role.component.d.ts +2 -2
- package/lib/admin/configuration-designer/elements/rule.component.d.ts +0 -1
- package/lib/admin/configuration-designer/elements/tasks-report.component.d.ts +2 -2
- package/lib/admin/configuration-designer/elements/utility.component.d.ts +1 -1
- package/lib/admin/configuration-designer/elements/view.component.d.ts +1 -1
- package/lib/admin/configuration-designer/elements/widget.component.d.ts +1 -1
- package/lib/core/datasource.service.d.ts +3 -3
- package/lib/core/translations.d.ts +3 -0
- package/lib/cube/matrix/table.component.d.ts +2 -1
- package/lib/system.module.d.ts +5 -4
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
@@ -5,13 +5,24 @@ import { MatSelectChange } from "@angular/material/select";
|
|
5
5
|
import { ScopeType } from "../../core/configuration";
|
6
6
|
import { AxesMap, CubeAxis, CubeIndex, CubeView, FieldInfo, GuideStep, PositionPolicy } from "../../core/models";
|
7
7
|
import * as i0 from "@angular/core";
|
8
|
-
export declare class DesignerRef {
|
8
|
+
export declare class DesignerRef<O = any> {
|
9
9
|
private _designer;
|
10
10
|
private _element;
|
11
11
|
constructor(_designer: DesignerModel, _element: ElementModel);
|
12
|
-
get designer():
|
13
|
-
get element():
|
12
|
+
get designer(): DesignerInfo;
|
13
|
+
get element(): ElementInfo;
|
14
|
+
get options(): O;
|
14
15
|
}
|
16
|
+
export interface ElementInfo {
|
17
|
+
family?: string;
|
18
|
+
type?: string;
|
19
|
+
name: string;
|
20
|
+
title: string;
|
21
|
+
disabled?: boolean;
|
22
|
+
draft?: boolean;
|
23
|
+
empty?: boolean;
|
24
|
+
}
|
25
|
+
/** */
|
15
26
|
export declare abstract class DesignerElementComponent<T = any> {
|
16
27
|
protected _fb: FormBuilder;
|
17
28
|
protected _ref: DesignerRef;
|
@@ -22,22 +33,25 @@ export declare abstract class DesignerElementComponent<T = any> {
|
|
22
33
|
abstract form: FormGroup;
|
23
34
|
constructor(_fb: FormBuilder, _ref: DesignerRef);
|
24
35
|
ngOnInit(): void;
|
36
|
+
drop(event: CdkDragDrop<FormGroup>, collection: FormArray): void;
|
25
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesignerElementComponent<any>, never>;
|
26
38
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DesignerElementComponent<any>, never, never, {}, {}, never, never, false>;
|
27
39
|
}
|
28
40
|
export declare abstract class DesignerTypeElementComponent<T = any> extends DesignerElementComponent<T> {
|
29
|
-
setPrivilieges(obj:
|
30
|
-
|
31
|
-
privilieges: boolean;
|
32
|
-
drop(event: CdkDragDrop<FormGroup>, collection: FormArray): void;
|
41
|
+
setPrivilieges(obj: PrivilegesModel): void;
|
42
|
+
setOptions(obj: T): void;
|
33
43
|
ngOnInit(): void;
|
34
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesignerTypeElementComponent<any>, never>;
|
35
45
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DesignerTypeElementComponent<any>, never, never, {}, {}, never, never, false>;
|
36
46
|
}
|
47
|
+
/**
|
48
|
+
*
|
49
|
+
* @param name
|
50
|
+
*/
|
37
51
|
export declare function programName(name: string): string;
|
38
52
|
/** */
|
39
53
|
export declare abstract class DesignerCubeElementComponent<T = any> extends DesignerElementComponent<T> implements OnInit {
|
40
|
-
readonly cubes:
|
54
|
+
readonly cubes: ElementInfo[];
|
41
55
|
cube: ElementModel;
|
42
56
|
secondaryAxes: CubeAxis[];
|
43
57
|
thirdAxes: CubeAxis[];
|
@@ -54,6 +68,22 @@ export declare abstract class DesignerCubeElementComponent<T = any> extends Desi
|
|
54
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesignerCubeElementComponent<any>, never>;
|
55
69
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DesignerCubeElementComponent<any>, never, never, {}, {}, never, never, false>;
|
56
70
|
}
|
71
|
+
export interface DesignerInfo {
|
72
|
+
types: ElementInfo[];
|
73
|
+
guides: ElementInfo[];
|
74
|
+
reports: ElementInfo[];
|
75
|
+
tReports: TemplateInfo[];
|
76
|
+
forms: ElementInfo[];
|
77
|
+
cubes: ElementInfo[];
|
78
|
+
utilities: ElementInfo[];
|
79
|
+
folders: ElementInfo[];
|
80
|
+
roles: ElementInfo[];
|
81
|
+
rules: ElementInfo[];
|
82
|
+
views: ElementInfo[];
|
83
|
+
widgets: ElementInfo[];
|
84
|
+
actions: ElementInfo[];
|
85
|
+
states: ElementInfo[];
|
86
|
+
}
|
57
87
|
export interface DesignerModel {
|
58
88
|
types: ElementModel<any>[];
|
59
89
|
tTypes: TemplateInfo[];
|
@@ -90,15 +120,18 @@ export interface TemplateInfo {
|
|
90
120
|
export interface ElementModel<T = any> {
|
91
121
|
ordinal?: number;
|
92
122
|
help?: string;
|
93
|
-
family?: string;
|
94
123
|
configurationFile?: string;
|
95
|
-
type?: string;
|
96
124
|
template?: string;
|
125
|
+
icon?: string;
|
126
|
+
resource?: boolean;
|
127
|
+
copyOf?: string;
|
128
|
+
family?: string;
|
129
|
+
type?: string;
|
97
130
|
name: string;
|
98
131
|
title: string;
|
99
|
-
icon?: string;
|
100
132
|
disabled?: boolean;
|
101
|
-
|
133
|
+
draft?: boolean;
|
134
|
+
empty?: boolean;
|
102
135
|
options?: T;
|
103
136
|
arguments?: FieldInfo[];
|
104
137
|
privileges?: PrivilegesModel;
|
@@ -111,12 +144,9 @@ export interface ElementModel<T = any> {
|
|
111
144
|
axes?: CubeAxis[];
|
112
145
|
views?: CubeView[];
|
113
146
|
indices?: CubeIndex[];
|
114
|
-
copyOf?: string;
|
115
147
|
scope?: ScopeType;
|
116
148
|
color?: string;
|
117
149
|
backgroundColor?: string;
|
118
|
-
draft?: boolean;
|
119
|
-
empty?: boolean;
|
120
150
|
rules?: PermissionModel[];
|
121
151
|
positions?: {
|
122
152
|
[key: string]: string[];
|
@@ -32,7 +32,7 @@ export declare class ConfigurationDesignerComponent implements UtilityComponent,
|
|
32
32
|
add(section: Section, menu: MatMenuTrigger, evt: Event): void;
|
33
33
|
create(section: Section, template: TemplateInfo): void;
|
34
34
|
copy(section: Section, element: ElementModel): void;
|
35
|
-
edit(element: ElementModel, section: Section, isNew?: boolean):
|
35
|
+
edit(element: ElementModel, section: Section, isNew?: boolean): Promise<import("rxjs").Subscription>;
|
36
36
|
toggleDisabled(element: ElementModel): void;
|
37
37
|
save(): Promise<void>;
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationDesignerComponent, never>;
|
@@ -8,9 +8,10 @@ export declare class ChartViewDesignComponent extends DesignerCubeElementCompone
|
|
8
8
|
xAxis: import("@angular/forms").FormControl<any>;
|
9
9
|
series: import("@angular/forms").FormControl<unknown>;
|
10
10
|
indices: import("@angular/forms").FormControl<unknown>;
|
11
|
-
filters: import("@angular/forms").FormGroup<{}>;
|
12
11
|
chartType: import("@angular/forms").FormControl<unknown>;
|
13
12
|
indicesChartType: import("@angular/forms").FormControl<unknown>;
|
13
|
+
aggregate: import("@angular/forms").FormControl<unknown>;
|
14
|
+
filters: import("@angular/forms").FormGroup<{}>;
|
14
15
|
scope: import("@angular/forms").FormControl<unknown>;
|
15
16
|
}>;
|
16
17
|
get isAccum(): boolean;
|
@@ -1,20 +1,21 @@
|
|
1
1
|
import { CdkDragDrop } from "@angular/cdk/drag-drop";
|
2
2
|
import { OnInit } from "@angular/core";
|
3
|
+
import { FormArray, FormGroup } from "@angular/forms";
|
3
4
|
import { DesignerElementComponent } from "../designer.base";
|
4
5
|
import * as i0 from "@angular/core";
|
5
6
|
export declare class ConfigurationDatasourceDesignComponent extends DesignerElementComponent<Model> implements OnInit {
|
6
|
-
readonly items:
|
7
|
+
readonly items: FormArray<import("@angular/forms").FormControl<{
|
7
8
|
key: string;
|
8
9
|
value: string;
|
9
10
|
}>>;
|
10
|
-
readonly form:
|
11
|
-
items:
|
11
|
+
readonly form: FormGroup<{
|
12
|
+
items: FormGroup<{}>;
|
12
13
|
}>;
|
13
14
|
ngOnInit(): void;
|
14
15
|
private _tomap;
|
15
16
|
add(): void;
|
16
17
|
private _itemform;
|
17
|
-
drop(event: CdkDragDrop<
|
18
|
+
drop(event: CdkDragDrop<FormGroup>, collection: FormArray): void;
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationDatasourceDesignComponent, never>;
|
19
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<ConfigurationDatasourceDesignComponent, "ng-component", never, {}, {}, never, never, false>;
|
20
21
|
}
|
@@ -5,16 +5,16 @@ import { MatSelectChange } from "@angular/material/select";
|
|
5
5
|
import { CubeAxis } from "../../../core/models";
|
6
6
|
import { PromptService } from "../../../core/prompt.service";
|
7
7
|
import { CubeInfo, SystemService } from "../../system.service";
|
8
|
-
import { DesignerTypeElementComponent, DesignerRef,
|
8
|
+
import { DesignerTypeElementComponent, DesignerRef, ElementInfo } from "../designer.base";
|
9
9
|
import * as i0 from "@angular/core";
|
10
10
|
export declare class CubeDesignComponent extends DesignerTypeElementComponent implements OnInit {
|
11
11
|
private _service;
|
12
12
|
private _ps;
|
13
|
-
privilieges: boolean;
|
14
13
|
readonly views: import("@angular/forms").FormArray<import("@angular/forms").FormControl<unknown>>;
|
15
14
|
readonly axes: import("@angular/forms").FormArray<import("@angular/forms").FormControl<unknown>>;
|
16
15
|
readonly indices: import("@angular/forms").FormArray<import("@angular/forms").FormControl<unknown>>;
|
17
16
|
readonly patterns: import("@angular/forms").FormArray<import("@angular/forms").FormControl<unknown>>;
|
17
|
+
private _cubeAxesValidator;
|
18
18
|
readonly form: FormGroup<{
|
19
19
|
patterns: import("@angular/forms").FormArray<import("@angular/forms").FormControl<unknown>>;
|
20
20
|
views: import("@angular/forms").FormArray<import("@angular/forms").FormControl<unknown>>;
|
@@ -26,7 +26,7 @@ export declare class CubeDesignComponent extends DesignerTypeElementComponent im
|
|
26
26
|
secondaryAxes: CubeAxis[][];
|
27
27
|
usage: CubeInfo;
|
28
28
|
syncing: boolean;
|
29
|
-
readonly types:
|
29
|
+
readonly types: ElementInfo[];
|
30
30
|
constructor(fb: FormBuilder, _service: SystemService, _ps: PromptService, ref: DesignerRef);
|
31
31
|
sync(): void;
|
32
32
|
ngOnInit(): void;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { OnInit } from "@angular/core";
|
2
2
|
import { FormBuilder } from "@angular/forms";
|
3
3
|
import { CubeDocumentsSettingsModel } from "../../../dashboard/cube/documents.widget";
|
4
|
-
import { DesignerCubeElementComponent, DesignerRef,
|
4
|
+
import { DesignerCubeElementComponent, DesignerRef, ElementInfo } from "../designer.base";
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
export declare class DocumentsWidgetDesignComponent extends DesignerCubeElementComponent<CubeDocumentsSettingsModel> implements OnInit {
|
7
7
|
readonly form: import("@angular/forms").FormGroup<{
|
@@ -12,7 +12,7 @@ export declare class DocumentsWidgetDesignComponent extends DesignerCubeElementC
|
|
12
12
|
take: import("@angular/forms").FormControl<unknown>;
|
13
13
|
pending: import("@angular/forms").FormControl<unknown>;
|
14
14
|
}>;
|
15
|
-
states:
|
15
|
+
states: ElementInfo[];
|
16
16
|
constructor(fb: FormBuilder, ref: DesignerRef);
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentsWidgetDesignComponent, never>;
|
18
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentsWidgetDesignComponent, "ng-component", never, {}, {}, never, never, false>;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { DesignerTypeElementComponent } from "../designer.base";
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class FolderDesignComponent extends DesignerTypeElementComponent {
|
4
|
-
privilieges: boolean;
|
5
4
|
readonly form: import("@angular/forms").FormGroup<{
|
6
5
|
icon: import("@angular/forms").FormControl<unknown>;
|
7
6
|
}>;
|
7
|
+
ngOnInit(): void;
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<FolderDesignComponent, never>;
|
9
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<FolderDesignComponent, "ng-component", never, {}, {}, never, never, false>;
|
10
10
|
}
|
@@ -11,7 +11,6 @@ export declare class FormDesignComponent extends DesignerTypeElementComponent im
|
|
11
11
|
private _service;
|
12
12
|
private _session;
|
13
13
|
readonly rules: FormArray<import("@angular/forms").FormControl<unknown>>;
|
14
|
-
privilieges: boolean;
|
15
14
|
readonly form: FormGroup<{
|
16
15
|
rules: FormArray<import("@angular/forms").FormControl<unknown>>;
|
17
16
|
icon: import("@angular/forms").FormControl<unknown>;
|
@@ -2,7 +2,6 @@ import { OnInit } from "@angular/core";
|
|
2
2
|
import { DesignerTypeElementComponent } from "../designer.base";
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class GuideDesignComponent extends DesignerTypeElementComponent implements OnInit {
|
5
|
-
privilieges: boolean;
|
6
5
|
readonly steps: import("@angular/forms").FormArray<import("@angular/forms").FormControl<unknown>>;
|
7
6
|
readonly form: import("@angular/forms").FormGroup<{
|
8
7
|
steps: import("@angular/forms").FormArray<import("@angular/forms").FormControl<unknown>>;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { CdkDragDrop } from "@angular/cdk/drag-drop";
|
2
1
|
import { OnInit } from "@angular/core";
|
3
2
|
import { SumSettings } from "../../../cube/matrix/table.component";
|
4
3
|
import { MatrixSettingsModel } from "../../../views/cube/matrix.component";
|
@@ -17,7 +16,6 @@ export declare class MatrixViewDesignComponent extends DesignerCubeElementCompon
|
|
17
16
|
}>;
|
18
17
|
ngOnInit(): void;
|
19
18
|
add(sum?: SumSettings): void;
|
20
|
-
drop(event: CdkDragDrop<SumSettings[]>): void;
|
21
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatrixViewDesignComponent, never>;
|
22
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatrixViewDesignComponent, "ng-component", never, {}, {}, never, never, false>;
|
23
21
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { DesignerTypeElementComponent } from "../designer.base";
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class ReportDesignComponent extends DesignerTypeElementComponent {
|
4
|
-
privilieges: boolean;
|
5
4
|
readonly form: import("@angular/forms").FormGroup<{
|
6
5
|
icon: import("@angular/forms").FormControl<unknown>;
|
7
6
|
}>;
|
7
|
+
ngOnInit(): void;
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReportDesignComponent, never>;
|
9
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<ReportDesignComponent, "ng-component", never, {}, {}, never, never, false>;
|
10
10
|
}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { OnInit } from "@angular/core";
|
2
|
-
import { DesignerElementComponent,
|
2
|
+
import { DesignerElementComponent, ElementInfo } from "../designer.base";
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class ReturnToRoleActionDesignComponent extends DesignerElementComponent<Model> implements OnInit {
|
5
5
|
readonly form: import("@angular/forms").FormGroup<{
|
6
6
|
roleId: import("@angular/forms").FormControl<any>;
|
7
7
|
}>;
|
8
|
-
roles:
|
8
|
+
roles: ElementInfo[];
|
9
9
|
ngOnInit(): void;
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReturnToRoleActionDesignComponent, never>;
|
11
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<ReturnToRoleActionDesignComponent, "ng-component", never, {}, {}, never, never, false>;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { DesignerTypeElementComponent,
|
1
|
+
import { DesignerTypeElementComponent, ElementInfo } from "../designer.base";
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class RoleDesignComponent extends DesignerTypeElementComponent {
|
4
4
|
readonly form: import("@angular/forms").FormGroup<{
|
5
5
|
dataType: import("@angular/forms").FormControl<any>;
|
6
6
|
}>;
|
7
|
-
types:
|
7
|
+
types: ElementInfo[];
|
8
8
|
ngOnInit(): void;
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<RoleDesignComponent, never>;
|
10
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<RoleDesignComponent, "ng-component", never, {}, {}, never, never, false>;
|
@@ -2,7 +2,6 @@ import { FormGroup } from "@angular/forms";
|
|
2
2
|
import { DesignerTypeElementComponent } from "../designer.base";
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class RuleDesignComponent extends DesignerTypeElementComponent {
|
5
|
-
disablefancyname: boolean;
|
6
5
|
form: FormGroup<{}>;
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuleDesignComponent, never>;
|
8
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<RuleDesignComponent, "ng-component", never, {}, {}, never, never, false>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { OnInit } from "@angular/core";
|
2
2
|
import { TasksSettingsModel } from "../../../reports/tasks/tasks.component";
|
3
|
-
import { DesignerCubeElementComponent,
|
3
|
+
import { DesignerCubeElementComponent, ElementInfo } from "../designer.base";
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class TasksReportDesignComponent extends DesignerCubeElementComponent<TasksSettingsModel> implements OnInit {
|
6
6
|
readonly form: import("@angular/forms").FormGroup<{
|
@@ -9,7 +9,7 @@ export declare class TasksReportDesignComponent extends DesignerCubeElementCompo
|
|
9
9
|
states: import("@angular/forms").FormControl<unknown>;
|
10
10
|
scope: import("@angular/forms").FormControl<unknown>;
|
11
11
|
}>;
|
12
|
-
states:
|
12
|
+
states: ElementInfo[];
|
13
13
|
ngOnInit(): void;
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TasksReportDesignComponent, never>;
|
15
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<TasksReportDesignComponent, "ng-component", never, {}, {}, never, never, false>;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { DesignerTypeElementComponent } from "../designer.base";
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class UtilityDesignComponent extends DesignerTypeElementComponent {
|
4
|
-
privilieges: boolean;
|
5
4
|
readonly form: import("@angular/forms").FormGroup<{
|
6
5
|
icon: import("@angular/forms").FormControl<unknown>;
|
7
6
|
}>;
|
7
|
+
ngOnInit(): void;
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<UtilityDesignComponent, never>;
|
9
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<UtilityDesignComponent, "ng-component", never, {}, {}, never, never, false>;
|
10
10
|
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { DesignerTypeElementComponent } from "../designer.base";
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class ViewDesignComponent extends DesignerTypeElementComponent {
|
4
|
-
privilieges: boolean;
|
5
4
|
form: import("@angular/forms").FormGroup<{}>;
|
5
|
+
ngOnInit(): void;
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ViewDesignComponent, never>;
|
7
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<ViewDesignComponent, "ng-component", never, {}, {}, never, never, false>;
|
8
8
|
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { DesignerTypeElementComponent } from "../designer.base";
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class WidgetDesignComponent extends DesignerTypeElementComponent {
|
4
|
-
privilieges: boolean;
|
5
4
|
form: import("@angular/forms").FormGroup<{}>;
|
5
|
+
ngOnInit(): void;
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetDesignComponent, never>;
|
7
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetDesignComponent, "ng-component", never, {}, {}, never, never, false>;
|
8
8
|
}
|
@@ -33,9 +33,9 @@ export declare class DatasourceService {
|
|
33
33
|
* @param type
|
34
34
|
* @param params
|
35
35
|
*/
|
36
|
-
all(type: string, queryParams?: string | number | ParamMap): Observable<{
|
37
|
-
key:
|
38
|
-
value:
|
36
|
+
all<K = any, V = any>(type: string, queryParams?: string | number | ParamMap): Observable<{
|
37
|
+
key: K;
|
38
|
+
value: V;
|
39
39
|
}[]>;
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatasourceService, never>;
|
41
41
|
static ɵprov: i0.ɵɵInjectableDeclaration<DatasourceService>;
|
@@ -79,10 +79,11 @@ export declare type SumSettings = {
|
|
79
79
|
format?: FormatType;
|
80
80
|
precision?: string;
|
81
81
|
explorable?: boolean;
|
82
|
+
place?: AxisPlace;
|
82
83
|
calculate?: CalculateType;
|
83
84
|
};
|
84
85
|
export declare type FormatType = 'Percent' | 'Currency' | 'Number';
|
85
|
-
export declare type CalculateType = 'Quarter' | 'Year' | 'Month' | '
|
86
|
+
export declare type CalculateType = 'Quarter' | 'Year' | 'Month' | 'Sum' | CalculateFn;
|
86
87
|
export declare interface CalculateFn {
|
87
88
|
(value: string, data: {
|
88
89
|
[series: string]: {
|
package/lib/system.module.d.ts
CHANGED
@@ -59,12 +59,13 @@ import * as i56 from "@angular/common/http";
|
|
59
59
|
import * as i57 from "@angular/forms";
|
60
60
|
import * as i58 from "@angular/flex-layout";
|
61
61
|
import * as i59 from "@angular/router";
|
62
|
-
import * as i60 from "
|
63
|
-
import * as i61 from "./modules/
|
64
|
-
import * as i62 from "./
|
62
|
+
import * as i60 from "@angular/cdk/scrolling";
|
63
|
+
import * as i61 from "./modules/diagram.module";
|
64
|
+
import * as i62 from "./modules/chart.module";
|
65
|
+
import * as i63 from "./shared.module";
|
65
66
|
export declare class SystemModule {
|
66
67
|
static forChild(): ModuleWithProviders<SystemModule>;
|
67
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<SystemModule, never>;
|
68
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SystemModule, [typeof i1.IconPickerComponent, typeof i2.StateDesignComponent, typeof i3.RoleDesignComponent, typeof i4.GuideDesignComponent, typeof i5.RuleDesignComponent, typeof i6.ReportDesignComponent, typeof i7.FolderDesignComponent, typeof i8.UtilityDesignComponent, typeof i9.FormDesignComponent, typeof i10.WidgetDesignComponent, typeof i11.CubeDesignComponent, typeof i12.ActionDesignComponent, typeof i6.ReportDesignComponent, typeof i13.ViewDesignComponent, typeof i14.TypeDesignComponent, typeof i15.CubeIndexDesignComponent, typeof i16.ConfigurationDatasourceDesignComponent, typeof i17.ReturnToRoleActionDesignComponent, typeof i18.PivotViewDesignComponent, typeof i19.CubeViewDesignComponent, typeof i20.BoxFormDesignComponent, typeof i21.AnomalyRuleDesignComponent, typeof i22.UsageReportDesignComponent, typeof i23.DocumentsWidgetDesignComponent, typeof i24.PerformanceWidgetDesignComponent, typeof i25.DocumentsReportDesignComponent, typeof i26.TasksReportDesignComponent, typeof i27.ExploreViewDesignComponent, typeof i28.AnalysisWidgetDesignComponent, typeof i29.ParallelViewDesignComponent, typeof i30.SumViewDesignComponent, typeof i31.MatrixViewDesignComponent, typeof i32.ChartViewDesignComponent, typeof i33.ConfigurationDesignerComponent, typeof i34.FormDesignerComponent, typeof i35.DesignerItemComponent, typeof i36.PermissionsUtility, typeof i37.ManageCubeIndexUtility, typeof i38.ProfileSettingsDialog, typeof i39.UtilityWrapperComponent, typeof i40.UtilityPaneComponent, typeof i41.SearchInput, typeof i42.ColorPicker, typeof i43.ReassignDialog, typeof i44.SystemDiffComponent, typeof i45.DocumentTraceComponent, typeof i46.TraceElementComponent, typeof i47.ProfilerComponent, typeof i48.PositionsComponent, typeof i49.PositionsPopup, typeof i50.WorkflowComponent, typeof i51.WorkflowNodeComponent, typeof i52.RoleNodeComponent, typeof i53.PatternsComponent, typeof i54.PrivilegesDesignComponent], [typeof i55.CommonModule, typeof i56.HttpClientModule, typeof i57.ReactiveFormsModule, typeof i58.FlexLayoutModule, typeof i59.RouterModule, typeof i60.
|
69
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SystemModule, [typeof i1.IconPickerComponent, typeof i2.StateDesignComponent, typeof i3.RoleDesignComponent, typeof i4.GuideDesignComponent, typeof i5.RuleDesignComponent, typeof i6.ReportDesignComponent, typeof i7.FolderDesignComponent, typeof i8.UtilityDesignComponent, typeof i9.FormDesignComponent, typeof i10.WidgetDesignComponent, typeof i11.CubeDesignComponent, typeof i12.ActionDesignComponent, typeof i6.ReportDesignComponent, typeof i13.ViewDesignComponent, typeof i14.TypeDesignComponent, typeof i15.CubeIndexDesignComponent, typeof i16.ConfigurationDatasourceDesignComponent, typeof i17.ReturnToRoleActionDesignComponent, typeof i18.PivotViewDesignComponent, typeof i19.CubeViewDesignComponent, typeof i20.BoxFormDesignComponent, typeof i21.AnomalyRuleDesignComponent, typeof i22.UsageReportDesignComponent, typeof i23.DocumentsWidgetDesignComponent, typeof i24.PerformanceWidgetDesignComponent, typeof i25.DocumentsReportDesignComponent, typeof i26.TasksReportDesignComponent, typeof i27.ExploreViewDesignComponent, typeof i28.AnalysisWidgetDesignComponent, typeof i29.ParallelViewDesignComponent, typeof i30.SumViewDesignComponent, typeof i31.MatrixViewDesignComponent, typeof i32.ChartViewDesignComponent, typeof i33.ConfigurationDesignerComponent, typeof i34.FormDesignerComponent, typeof i35.DesignerItemComponent, typeof i36.PermissionsUtility, typeof i37.ManageCubeIndexUtility, typeof i38.ProfileSettingsDialog, typeof i39.UtilityWrapperComponent, typeof i40.UtilityPaneComponent, typeof i41.SearchInput, typeof i42.ColorPicker, typeof i43.ReassignDialog, typeof i44.SystemDiffComponent, typeof i45.DocumentTraceComponent, typeof i46.TraceElementComponent, typeof i47.ProfilerComponent, typeof i48.PositionsComponent, typeof i49.PositionsPopup, typeof i50.WorkflowComponent, typeof i51.WorkflowNodeComponent, typeof i52.RoleNodeComponent, typeof i53.PatternsComponent, typeof i54.PrivilegesDesignComponent], [typeof i55.CommonModule, typeof i56.HttpClientModule, typeof i57.ReactiveFormsModule, typeof i58.FlexLayoutModule, typeof i59.RouterModule, typeof i60.ScrollingModule, typeof i61.SyncfusionDiagramModule, typeof i62.SyncfusionChartModule, typeof i63.SharedModule], [typeof i36.PermissionsUtility, typeof i37.ManageCubeIndexUtility, typeof i39.UtilityWrapperComponent, typeof i40.UtilityPaneComponent, typeof i44.SystemDiffComponent, typeof i45.DocumentTraceComponent, typeof i47.ProfilerComponent, typeof i48.PositionsComponent, typeof i50.WorkflowComponent, typeof i52.RoleNodeComponent, typeof i53.PatternsComponent]>;
|
69
70
|
static ɵinj: i0.ɵɵInjectorDeclaration<SystemModule>;
|
70
71
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -46,7 +46,7 @@ export { IdentityName } from './lib/core/identity/identity.component';
|
|
46
46
|
export { ArraySortPipe, FilterPipe } from './lib/core/pipes/sort.pipe';
|
47
47
|
export { TranslatePipe } from "./lib/core/pipes/translate.pipe";
|
48
48
|
export { FormPipe } from './lib/core/pipes/form.pipe';
|
49
|
-
export
|
49
|
+
export { DesignerRef, DesignerInfo, ElementInfo, programName } from './lib/admin/configuration-designer/designer.base';
|
50
50
|
export { RolePipe } from './lib/core/pipes/role.pipe';
|
51
51
|
export { JoinPipe } from "./lib/core/pipes/join.pipe";
|
52
52
|
export { SanitizeHtmlPipe } from './lib/core/pipes/sanitize-html.pipe';
|