@bizdoc/core 1.16.5 → 1.16.6
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 +199 -202
- package/esm2020/lib/admin/configuration-designer/designer.base.mjs +53 -25
- package/esm2020/lib/admin/configuration-designer/designer.component.mjs +84 -55
- package/esm2020/lib/admin/configuration-designer/elements/action.component.mjs +16 -23
- package/esm2020/lib/admin/configuration-designer/elements/analysis-view.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/analysis-widget.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/anomaly-rule.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/box-form.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/configuration-datasource.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/cube-index-utility.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/cube-view.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/cube.component.mjs +80 -62
- package/esm2020/lib/admin/configuration-designer/elements/documents-report.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/documents-widget.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/explore-view.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/folder.component.mjs +15 -17
- package/esm2020/lib/admin/configuration-designer/elements/form.component.mjs +12 -17
- package/esm2020/lib/admin/configuration-designer/elements/guide.component.mjs +8 -13
- package/esm2020/lib/admin/configuration-designer/elements/matrix-view.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/parallel-view.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/performance-widget.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/pivot-view.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/report.component.mjs +9 -14
- package/esm2020/lib/admin/configuration-designer/elements/return-to-role-action.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/role.component.mjs +6 -5
- package/esm2020/lib/admin/configuration-designer/elements/rule.component.mjs +6 -13
- package/esm2020/lib/admin/configuration-designer/elements/state.component.mjs +12 -19
- package/esm2020/lib/admin/configuration-designer/elements/sum-view.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/tasks-report.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/type.component.mjs +8 -14
- package/esm2020/lib/admin/configuration-designer/elements/usage-report.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/utility.component.mjs +6 -6
- package/esm2020/lib/admin/configuration-designer/elements/view.component.mjs +6 -13
- package/esm2020/lib/admin/configuration-designer/elements/widget.component.mjs +7 -12
- package/esm2020/lib/admin/form/workflow/node.component.mjs +2 -2
- package/esm2020/lib/core/functions.mjs +4 -3
- package/esm2020/lib/core/layout/input.base.mjs +45 -1
- package/esm2020/lib/core/layout/layout.component.mjs +16 -58
- package/esm2020/lib/core/slots/router.service.mjs +1 -1
- package/esm2020/lib/core/slots/slots.component.mjs +12 -7
- package/esm2020/lib/core/translations.mjs +9 -2
- package/esm2020/lib/dashboard/widget-item.component.mjs +2 -2
- package/esm2020/lib/reports/arguments-component.mjs +2 -2
- package/esm2020/lib/system.module.mjs +9 -9
- package/fesm2015/bizdoc-core.mjs +1492 -1448
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +1485 -1439
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/admin/configuration-designer/designer-element.component.d.ts +62 -31
- package/lib/admin/configuration-designer/designer.base.d.ts +80 -41
- package/lib/admin/configuration-designer/designer.component.d.ts +8 -4
- package/lib/admin/configuration-designer/elements/action.component.d.ts +3 -3
- package/lib/admin/configuration-designer/elements/cube.component.d.ts +1 -8
- package/lib/admin/configuration-designer/elements/folder.component.d.ts +1 -8
- package/lib/admin/configuration-designer/elements/report.component.d.ts +3 -3
- package/lib/core/layout/input.base.d.ts +4 -1
- package/lib/core/layout/layout.component.d.ts +5 -7
- package/lib/core/slots/router.service.d.ts +2 -0
- package/lib/core/translations.d.ts +7 -0
- package/lib/system.module.d.ts +23 -23
- package/package.json +16 -16
@@ -1,55 +1,86 @@
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, Injector, OnDestroy,
|
1
|
+
import { AfterViewInit, ComponentFactoryResolver, ElementRef, EventEmitter, Injector, OnDestroy, QueryList, ViewContainerRef } from "@angular/core";
|
2
2
|
import { FormBuilder, FormGroup } from "@angular/forms";
|
3
3
|
import { BizDocComponentFactoryResolver } from "../../core/component-factory-resolver";
|
4
|
+
import { Role } from "../../core/models";
|
4
5
|
import { PaneRef } from "../../core/slots/pane-ref";
|
5
6
|
import { SystemService } from "../system.service";
|
6
|
-
import {
|
7
|
+
import { DesignerRef, ElementModel, DesignMode } from "./designer.base";
|
7
8
|
import * as i0 from "@angular/core";
|
8
|
-
export
|
9
|
-
mode: DesignMode;
|
10
|
-
template: string;
|
11
|
-
model: ElementModel;
|
12
|
-
designer: DesignerModel;
|
13
|
-
}
|
14
|
-
export declare class DesignerItemComponent implements OnInit, AfterViewInit, OnDestroy {
|
15
|
-
private _injector;
|
16
|
-
private _pane;
|
17
|
-
private _fb;
|
18
|
-
private _service;
|
9
|
+
export declare class DesignerElementInfoComponent {
|
19
10
|
private _cfr;
|
20
|
-
private
|
11
|
+
private _ref;
|
21
12
|
svg: {
|
22
13
|
Azure: string;
|
23
14
|
SAP: string;
|
24
15
|
Mfg: string;
|
25
16
|
};
|
17
|
+
model: ElementModel<any>;
|
18
|
+
_econtainer: ViewContainerRef;
|
19
|
+
_arguments: ViewContainerRef;
|
20
|
+
constructor(_cfr: BizDocComponentFactoryResolver, _ref: DesignerRef<any>);
|
21
|
+
ngOnInit(): void;
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DesignerElementInfoComponent, never>;
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesignerElementInfoComponent, "bizdoc-designer-element-info", never, {}, {}, never, ["*"], false>;
|
24
|
+
}
|
25
|
+
export declare class DesignerElementPhaseComponent implements AfterViewInit, OnDestroy {
|
26
|
+
private _ref;
|
27
|
+
private _fb;
|
28
|
+
private _injector;
|
29
|
+
private _cfr;
|
30
|
+
private _componentFactoryResolver;
|
31
|
+
private _service;
|
32
|
+
private _element;
|
33
|
+
state: string;
|
26
34
|
form: FormGroup;
|
27
|
-
|
28
|
-
template: string;
|
29
|
-
model: ElementModel;
|
30
|
-
designer: DesignerModel;
|
31
|
-
change: EventEmitter<ElementModel>;
|
32
|
-
_container: ViewContainerRef;
|
35
|
+
readonly onSave: EventEmitter<any>;
|
33
36
|
_econtainer: ViewContainerRef;
|
37
|
+
_arguments: ViewContainerRef;
|
38
|
+
model: ElementModel<any>;
|
39
|
+
roles: Role[];
|
34
40
|
valid: boolean;
|
35
41
|
dirty: boolean;
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
constructor(_injector: Injector, _pane: PaneRef, _fb: FormBuilder, _service: SystemService, _cfr: BizDocComponentFactoryResolver, _element: ElementRef<HTMLDivElement>);
|
40
|
-
ngAfterViewInit(): void;
|
41
|
-
save(): void;
|
42
|
+
private readonly _destroy;
|
43
|
+
active: boolean;
|
44
|
+
constructor(_ref: DesignerRef<any>, _fb: FormBuilder, _injector: Injector, _cfr: BizDocComponentFactoryResolver, _componentFactoryResolver: ComponentFactoryResolver, _service: SystemService, _element: ElementRef<HTMLDivElement>);
|
42
45
|
ngOnInit(): void;
|
43
|
-
|
44
|
-
setOptions(obj: any): void;
|
46
|
+
ngAfterViewInit(): void;
|
45
47
|
unlock(evt: Event): void;
|
46
|
-
|
48
|
+
save(): void;
|
47
49
|
/**
|
48
50
|
* Ctrl-s save
|
49
51
|
* @param event
|
50
52
|
*/
|
51
53
|
handleKeyboardEvent(event: KeyboardEvent): void;
|
52
54
|
ngOnDestroy(): void;
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DesignerElementPhaseComponent, never>;
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesignerElementPhaseComponent, "bizdoc-designer-element-edit", never, { "state": "state"; "form": "form"; }, { "onSave": "save"; }, never, ["*"], false>;
|
57
|
+
}
|
58
|
+
/**
|
59
|
+
```html
|
60
|
+
<bizdoc-designer-element (save)="save.emit($event)">
|
61
|
+
<bizdoc-designer-element-info>
|
62
|
+
</bizdoc-designer-element-info>
|
63
|
+
<bizdoc-designer-element-edit [form]="form">
|
64
|
+
<form autocomplete="off" [formGroup]="form">
|
65
|
+
</form>
|
66
|
+
</bizdoc-designer-element-edit>
|
67
|
+
</bizdoc-designer-element>
|
68
|
+
```
|
69
|
+
*/
|
70
|
+
export declare class DesignerItemComponent {
|
71
|
+
private _pane;
|
72
|
+
info: DesignerElementInfoComponent;
|
73
|
+
phases: QueryList<DesignerElementPhaseComponent>;
|
74
|
+
state: string;
|
75
|
+
readonly save: EventEmitter<any>;
|
76
|
+
mode: DesignMode;
|
77
|
+
valid: boolean;
|
78
|
+
dirty: boolean;
|
79
|
+
model: ElementModel<any>;
|
80
|
+
phase: DesignerElementPhaseComponent;
|
81
|
+
constructor(ref: DesignerRef<any>, _pane: PaneRef);
|
82
|
+
ngOnChanges(): void;
|
83
|
+
ngAfterContentInit(): void;
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DesignerItemComponent, [null, { optional: true; }]>;
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesignerItemComponent, "bizdoc-designer-element", never, { "state": "state"; }, { "save": "save"; }, ["info", "phases"], ["bizdoc-designer-element-info", "bizdoc-designer-element-edit"], false>;
|
55
86
|
}
|
@@ -1,58 +1,56 @@
|
|
1
|
-
import { OnInit } from "@angular/core";
|
1
|
+
import { EventEmitter, Injector, OnInit } from "@angular/core";
|
2
2
|
import { FormArray, FormBuilder, FormGroup } from "@angular/forms";
|
3
3
|
import { CdkDragDrop } from "@angular/cdk/drag-drop";
|
4
4
|
import { MatSelectChange } from "@angular/material/select";
|
5
5
|
import { ScopeType } from "../../core/configuration";
|
6
|
-
import { AxesMap, CubeAxis, CubeFilter,
|
6
|
+
import { AxesMap, ChartType, CubeAxis, CubeFilter, FieldInfo, FolderColumn, GuideStep, PositionPolicy, ViewType } from "../../core/models";
|
7
7
|
import { Subject } from "rxjs";
|
8
8
|
import * as i0 from "@angular/core";
|
9
|
+
export declare const FAMILY_SVG: {
|
10
|
+
Azure: string;
|
11
|
+
SAP: string;
|
12
|
+
Mfg: string;
|
13
|
+
};
|
14
|
+
/** */
|
9
15
|
export declare class DesignerRef<O = any> {
|
10
16
|
private _designer;
|
11
17
|
private _element;
|
18
|
+
mode: DesignMode;
|
12
19
|
_lock$: Subject<boolean>;
|
13
|
-
constructor(_designer: DesignerModel, _element: ElementModel);
|
20
|
+
constructor(_designer: DesignerModel, _element: ElementModel, mode: DesignMode);
|
14
21
|
get designer(): DesignerInfo;
|
15
|
-
get
|
16
|
-
get options(): O;
|
22
|
+
get model(): ElementInfo<O>;
|
17
23
|
get lockChange(): import("rxjs").Observable<boolean>;
|
18
24
|
}
|
19
|
-
export interface ElementInfo<O = any> {
|
20
|
-
family?: string;
|
21
|
-
type?: string;
|
22
|
-
name: string;
|
23
|
-
title: string;
|
24
|
-
disabled?: boolean;
|
25
|
-
draft?: boolean;
|
26
|
-
empty?: boolean;
|
27
|
-
}
|
28
25
|
export interface DesignerElementComponent<T> {
|
29
26
|
model: ElementInfo<T>;
|
30
27
|
mode: DesignMode;
|
31
28
|
form: FormGroup;
|
29
|
+
save: EventEmitter<ElementInfo>;
|
32
30
|
}
|
33
|
-
export declare type DesignMode = 'edit' | 'widget';
|
31
|
+
export declare type DesignMode = 'add' | 'edit' | 'widget';
|
34
32
|
/** */
|
35
33
|
export declare abstract class DesignerElementComponentBase<T = any> implements DesignerElementComponent<T> {
|
36
34
|
protected _fb: FormBuilder;
|
37
|
-
protected _ref: DesignerRef
|
35
|
+
protected _ref: DesignerRef<T>;
|
38
36
|
mode: DesignMode;
|
39
37
|
model: ElementModel<T>;
|
38
|
+
save: EventEmitter<ElementModel>;
|
40
39
|
get options(): T;
|
41
40
|
abstract form: FormGroup;
|
42
|
-
constructor(_fb: FormBuilder, _ref: DesignerRef);
|
41
|
+
constructor(_fb: FormBuilder, _ref: DesignerRef<T>);
|
43
42
|
drop(event: CdkDragDrop<FormGroup>, collection: FormArray): void;
|
43
|
+
disable(...names: string[]): void;
|
44
|
+
enable(...names: string[]): void;
|
44
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesignerElementComponentBase<any>, never>;
|
45
46
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DesignerElementComponentBase<any>, never, never, {}, {}, never, never, false>;
|
46
47
|
}
|
48
|
+
export declare function clone(element: ElementModel): any;
|
47
49
|
export declare abstract class DesignerTypeElementComponent<T = any> extends DesignerElementComponentBase<T> {
|
48
|
-
protected _arrayOf(val: string | string[]): string[];
|
49
|
-
disable(...names: string[]): void;
|
50
|
-
enable(...names: string[]): void;
|
51
|
-
unlockResource(): void;
|
52
|
-
lockResource(resources: string[]): void;
|
53
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesignerTypeElementComponent<any>, never>;
|
54
51
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DesignerTypeElementComponent<any>, never, never, {}, {}, never, never, false>;
|
55
52
|
}
|
53
|
+
export declare function arrayOf(val: string | string[]): string[];
|
56
54
|
/**
|
57
55
|
*
|
58
56
|
* @param name
|
@@ -77,22 +75,6 @@ export declare abstract class DesignerCubeElementComponent<T = any> extends Desi
|
|
77
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesignerCubeElementComponent<any>, never>;
|
78
76
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DesignerCubeElementComponent<any>, never, never, {}, {}, never, never, false>;
|
79
77
|
}
|
80
|
-
export interface DesignerInfo {
|
81
|
-
types: ElementInfo[];
|
82
|
-
guides: ElementInfo[];
|
83
|
-
reports: ElementInfo[];
|
84
|
-
tReports: TemplateInfo[];
|
85
|
-
forms: ElementInfo[];
|
86
|
-
cubes: ElementInfo[];
|
87
|
-
utilities: ElementInfo[];
|
88
|
-
folders: ElementInfo[];
|
89
|
-
roles: ElementInfo[];
|
90
|
-
rules: ElementInfo[];
|
91
|
-
views: ElementInfo[];
|
92
|
-
widgets: ElementInfo[];
|
93
|
-
actions: ElementInfo[];
|
94
|
-
states: ElementInfo[];
|
95
|
-
}
|
96
78
|
export interface DesignerModel {
|
97
79
|
types: ElementModel<any>[];
|
98
80
|
tTypes: TemplateInfo[];
|
@@ -127,6 +109,7 @@ export interface TemplateInfo {
|
|
127
109
|
arguments?: FieldInfo[];
|
128
110
|
}
|
129
111
|
export interface ElementModel<T = any> {
|
112
|
+
injector: Injector;
|
130
113
|
ordinal?: number;
|
131
114
|
help?: string;
|
132
115
|
configurationFile?: string;
|
@@ -165,9 +148,9 @@ export interface ElementModel<T = any> {
|
|
165
148
|
dataType?: string;
|
166
149
|
steps?: GuideStep[];
|
167
150
|
currencyCode?: string;
|
168
|
-
axes?:
|
169
|
-
views?:
|
170
|
-
indices?:
|
151
|
+
axes?: CubeAxisModel[];
|
152
|
+
views?: CubeViewModel[];
|
153
|
+
indices?: CubeIndexModel[];
|
171
154
|
scope?: ScopeType;
|
172
155
|
color?: string;
|
173
156
|
backgroundColor?: string;
|
@@ -177,6 +160,37 @@ export interface ElementModel<T = any> {
|
|
177
160
|
};
|
178
161
|
patterns?: PatternModel[];
|
179
162
|
}
|
163
|
+
export interface CubeIndexModel {
|
164
|
+
name: string;
|
165
|
+
accumulate?: boolean;
|
166
|
+
hidden?: boolean;
|
167
|
+
title: string;
|
168
|
+
}
|
169
|
+
export interface CubeViewModel {
|
170
|
+
privileges?: PrivilegesModel;
|
171
|
+
xAxis: string[];
|
172
|
+
series?: string[];
|
173
|
+
filters?: AxesMap;
|
174
|
+
indices?: string[];
|
175
|
+
icon?: string;
|
176
|
+
guide?: string;
|
177
|
+
name: string;
|
178
|
+
title: string;
|
179
|
+
type: ViewType;
|
180
|
+
chartType?: ChartType;
|
181
|
+
indicesChartType?: ChartType;
|
182
|
+
}
|
183
|
+
export interface CubeAxisModel {
|
184
|
+
name: string;
|
185
|
+
title: string;
|
186
|
+
dataType: string;
|
187
|
+
hidden?: boolean;
|
188
|
+
combination?: boolean;
|
189
|
+
indexable?: boolean;
|
190
|
+
sensitive?: boolean;
|
191
|
+
selectionMode?: 'Single' | 'Pattern' | 'Multiple' | 'Search' | 'None';
|
192
|
+
descendentOf?: string;
|
193
|
+
}
|
180
194
|
export declare type AnomalyPolicy = 'Positions' | 'Recipients';
|
181
195
|
export interface PatternModel {
|
182
196
|
title: string;
|
@@ -194,3 +208,28 @@ export interface PrivilegesModel {
|
|
194
208
|
rule?: string;
|
195
209
|
roles?: string[];
|
196
210
|
}
|
211
|
+
export interface DesignerInfo {
|
212
|
+
types: ElementInfo[];
|
213
|
+
guides: ElementInfo[];
|
214
|
+
reports: ElementInfo[];
|
215
|
+
tReports: TemplateInfo[];
|
216
|
+
forms: ElementInfo[];
|
217
|
+
cubes: ElementInfo[];
|
218
|
+
utilities: ElementInfo[];
|
219
|
+
folders: ElementInfo[];
|
220
|
+
roles: ElementInfo[];
|
221
|
+
rules: ElementInfo[];
|
222
|
+
views: ElementInfo[];
|
223
|
+
widgets: ElementInfo[];
|
224
|
+
actions: ElementInfo[];
|
225
|
+
states: ElementInfo[];
|
226
|
+
}
|
227
|
+
export interface ElementInfo<O = any> {
|
228
|
+
family?: string;
|
229
|
+
type?: string;
|
230
|
+
name: string;
|
231
|
+
title: string;
|
232
|
+
disabled?: boolean;
|
233
|
+
draft?: boolean;
|
234
|
+
empty?: boolean;
|
235
|
+
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { CdkDragDrop } from "@angular/cdk/drag-drop";
|
2
|
-
import {
|
2
|
+
import { ComponentType } from "@angular/cdk/portal";
|
3
|
+
import { Injector, OnInit } from "@angular/core";
|
3
4
|
import { MatMenuTrigger } from "@angular/material/menu";
|
4
5
|
import { UtilityComponent } from "../../core/base";
|
5
6
|
import { PromptService } from "../../core/prompt.service";
|
@@ -13,13 +14,14 @@ export declare class ConfigurationDesignerComponent implements UtilityComponent,
|
|
13
14
|
private _panes;
|
14
15
|
private _translate;
|
15
16
|
private _ps;
|
17
|
+
private _injector;
|
16
18
|
private _ref;
|
17
19
|
loading: boolean;
|
18
20
|
saving: boolean;
|
19
21
|
dirty: boolean;
|
20
22
|
sections: Section[];
|
21
23
|
model: DesignerModel;
|
22
|
-
constructor(_panes: PanesRouter, _translate: TranslateService, _ps: PromptService, _ref: UtilityRef<boolean, DesignerModel, DesignerModel>);
|
24
|
+
constructor(_panes: PanesRouter, _translate: TranslateService, _ps: PromptService, _injector: Injector, _ref: UtilityRef<boolean, DesignerModel, DesignerModel>);
|
23
25
|
ngOnInit(): void;
|
24
26
|
drop(event: CdkDragDrop<ElementModel[]>): void;
|
25
27
|
/**
|
@@ -29,17 +31,19 @@ export declare class ConfigurationDesignerComponent implements UtilityComponent,
|
|
29
31
|
handleKeyboardEvent(event: KeyboardEvent): void;
|
30
32
|
discard(section: Section, element: ElementModel): void;
|
31
33
|
private _insert;
|
34
|
+
private _open;
|
35
|
+
private _createInjector;
|
32
36
|
add(section: Section, menu: MatMenuTrigger, evt: Event): void;
|
33
37
|
create(section: Section, template: TemplateInfo): void;
|
34
38
|
copy(section: Section, element: ElementModel): void;
|
35
|
-
edit(element: ElementModel, section: Section):
|
39
|
+
edit(element: ElementModel, section: Section): void;
|
36
40
|
toggleDisabled(element: ElementModel): void;
|
37
41
|
save(): Promise<void>;
|
38
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationDesignerComponent, never>;
|
39
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<ConfigurationDesignerComponent, "ng-component", never, {}, {}, never, never, false>;
|
40
44
|
}
|
41
45
|
interface Section {
|
42
|
-
|
46
|
+
comp: ComponentType<any>;
|
43
47
|
type: string;
|
44
48
|
elements: ElementModel[];
|
45
49
|
templates: TemplateInfo[];
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { FormGroup } from "@angular/forms";
|
2
2
|
import { DesignerTypeElementComponent } from "../designer.base";
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export declare class
|
4
|
+
export declare class ActionDesignerComponent extends DesignerTypeElementComponent {
|
5
5
|
private static resources;
|
6
6
|
form: FormGroup<{
|
7
7
|
multiple: import("@angular/forms").FormControl<unknown>;
|
@@ -17,6 +17,6 @@ export declare class ActionDesignComponent extends DesignerTypeElementComponent
|
|
17
17
|
adjectivePlural: import("@angular/forms").FormControl<unknown>;
|
18
18
|
}>;
|
19
19
|
ngOnInit(): void;
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionDesignerComponent, never>;
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionDesignerComponent, "ng-component", never, {}, {}, never, never, false>;
|
22
22
|
}
|
@@ -1,8 +1,5 @@
|
|
1
|
-
import { CdkDragDrop } from "@angular/cdk/drag-drop";
|
2
1
|
import { OnInit } from "@angular/core";
|
3
2
|
import { FormBuilder, FormGroup } from "@angular/forms";
|
4
|
-
import { MatSelectChange } from "@angular/material/select";
|
5
|
-
import { CubeAxis } from "../../../core/models";
|
6
3
|
import { PromptService } from "../../../core/prompt.service";
|
7
4
|
import { CubeInfo, SystemService } from "../../system.service";
|
8
5
|
import { DesignerTypeElementComponent, DesignerRef, ElementInfo } from "../designer.base";
|
@@ -23,31 +20,27 @@ export declare class CubeDesignComponent extends DesignerTypeElementComponent im
|
|
23
20
|
scope: import("@angular/forms").FormControl<any>;
|
24
21
|
anomaly: import("@angular/forms").FormControl<any>;
|
25
22
|
}>;
|
26
|
-
secondaryAxes: CubeAxis[][];
|
27
23
|
usage: CubeInfo;
|
28
24
|
syncing: boolean;
|
29
25
|
readonly types: ElementInfo[];
|
30
26
|
constructor(fb: FormBuilder, _service: SystemService, _ps: PromptService, ref: DesignerRef);
|
31
27
|
sync(): void;
|
32
28
|
ngOnInit(): void;
|
33
|
-
dropView(event: CdkDragDrop<FormGroup>): void;
|
34
29
|
removeAxis(index: number): void;
|
35
30
|
removeIndex(index: number): void;
|
36
31
|
removePattern(index: number): void;
|
37
32
|
removeView(index: number): void;
|
33
|
+
createAxis(): any;
|
38
34
|
addAxis(): void;
|
39
35
|
addIndex(): void;
|
40
36
|
addView(): void;
|
41
37
|
addPattern(): void;
|
42
38
|
nameOf(axis: string | string[]): string;
|
43
|
-
xAxisSelected(index: number, evt: MatSelectChange): void;
|
44
|
-
protected _secondaryAxes(index: number, axis: string[] | string): void;
|
45
39
|
private _formview;
|
46
40
|
private _formaxis;
|
47
41
|
private _formindex;
|
48
42
|
private _formpattern;
|
49
43
|
datatype(name: string): string;
|
50
|
-
isAccum(index: number): boolean;
|
51
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeDesignComponent, never>;
|
52
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<CubeDesignComponent, "ng-component", never, {}, {}, never, never, false>;
|
53
46
|
}
|
@@ -2,14 +2,7 @@ import { DesignerTypeElementComponent, ElementInfo } from "../designer.base";
|
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class FolderDesignComponent extends DesignerTypeElementComponent {
|
4
4
|
readonly columns: import("@angular/forms").FormArray<import("@angular/forms").FormControl<unknown>>;
|
5
|
-
readonly form: import("@angular/forms").FormGroup<{
|
6
|
-
icon: import("@angular/forms").FormControl<unknown>;
|
7
|
-
filters: import("@angular/forms").FormGroup<{
|
8
|
-
cube: import("@angular/forms").FormControl<unknown>;
|
9
|
-
axes: import("@angular/forms").FormControl<unknown>;
|
10
|
-
}>;
|
11
|
-
columns: import("@angular/forms").FormArray<import("@angular/forms").FormControl<unknown>>;
|
12
|
-
}>;
|
5
|
+
readonly form: import("@angular/forms").FormGroup<{}>;
|
13
6
|
cubes: ElementInfo[];
|
14
7
|
cube: ElementInfo<any>;
|
15
8
|
ngOnInit(): void;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { DesignerTypeElementComponent, ElementInfo } from "../designer.base";
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
export declare class
|
3
|
+
export declare class ReportDesignerComponent extends DesignerTypeElementComponent {
|
4
4
|
readonly form: import("@angular/forms").FormGroup<{
|
5
5
|
guide: import("@angular/forms").FormControl<unknown>;
|
6
6
|
icon: import("@angular/forms").FormControl<unknown>;
|
7
7
|
}>;
|
8
8
|
guides: ElementInfo[];
|
9
9
|
ngOnInit(): void;
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReportDesignerComponent, never>;
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReportDesignerComponent, "ng-component", never, {}, {}, never, never, false>;
|
12
12
|
}
|
@@ -3,8 +3,11 @@ import { FieldInfo } from '../models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare abstract class FieldBase {
|
5
5
|
abstract control: AbstractControl;
|
6
|
-
|
6
|
+
private _field;
|
7
|
+
set field(val: FieldInfo);
|
8
|
+
get field(): FieldInfo;
|
7
9
|
abstract focus(): any;
|
10
|
+
private _validations;
|
8
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldBase, never>;
|
9
12
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FieldBase, never, never, {}, {}, never, never, false>;
|
10
13
|
}
|
@@ -1,10 +1,9 @@
|
|
1
|
-
import { EventEmitter, ViewContainerRef, OnDestroy, OnChanges, SimpleChanges, ComponentFactoryResolver, AfterViewInit
|
1
|
+
import { EventEmitter, ViewContainerRef, OnDestroy, OnChanges, SimpleChanges, ComponentFactoryResolver, AfterViewInit } from '@angular/core';
|
2
2
|
import { FieldInfo } from '../models';
|
3
3
|
import { FormGroup } from '@angular/forms';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class LayoutComponent implements OnChanges, AfterViewInit, OnDestroy {
|
6
6
|
private _resolver;
|
7
|
-
private _zone;
|
8
7
|
fields: FieldInfo[];
|
9
8
|
model: {};
|
10
9
|
readonly modelChange: EventEmitter<{}>;
|
@@ -13,16 +12,15 @@ export declare class LayoutComponent implements OnChanges, AfterViewInit, OnDest
|
|
13
12
|
params: any;
|
14
13
|
valid: boolean;
|
15
14
|
readonly validChange: EventEmitter<boolean>;
|
16
|
-
|
15
|
+
_containerRef: ViewContainerRef;
|
17
16
|
private readonly _destroy;
|
18
|
-
form: FormGroup
|
17
|
+
readonly form: FormGroup<{}>;
|
19
18
|
private _children;
|
20
19
|
/** layout ctor */
|
21
|
-
constructor(_resolver: ComponentFactoryResolver
|
20
|
+
constructor(_resolver: ComponentFactoryResolver);
|
22
21
|
ngAfterViewInit(): void;
|
23
22
|
ngOnChanges(changes: SimpleChanges): void;
|
24
|
-
|
25
|
-
private _validations;
|
23
|
+
formulate(): void;
|
26
24
|
focus(): void;
|
27
25
|
ngOnDestroy(): void;
|
28
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutComponent, never>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { Injector } from '@angular/core';
|
1
2
|
import { ComponentType } from '@angular/cdk/portal';
|
2
3
|
import { Subject } from 'rxjs';
|
3
4
|
import { OpenPolicy } from '../configuration';
|
@@ -31,6 +32,7 @@ export interface NavigationOptions {
|
|
31
32
|
title?: string;
|
32
33
|
help?: string;
|
33
34
|
group?: string;
|
35
|
+
injector?: Injector;
|
34
36
|
policy?: OpenPolicy;
|
35
37
|
expandable?: boolean;
|
36
38
|
}
|
@@ -84,12 +84,19 @@ export declare const STRINGS: {
|
|
84
84
|
ar: {};
|
85
85
|
ru: {};
|
86
86
|
en: {
|
87
|
+
Past: string;
|
88
|
+
Future: string;
|
89
|
+
Verb: string;
|
90
|
+
Adjective: string;
|
91
|
+
AdjectivePlural: string;
|
92
|
+
AnomalyNotification: string;
|
87
93
|
AnalysisSecurityGlobalHelp: string;
|
88
94
|
AnalysisSecurityPositionsHelp: string;
|
89
95
|
AnalysisSecurityPatternsHelp: string;
|
90
96
|
ReceivedAgo: string;
|
91
97
|
IssuedAgo: string;
|
92
98
|
Unlock: string;
|
99
|
+
DescendentOf: string;
|
93
100
|
XAxis: string;
|
94
101
|
Series: string;
|
95
102
|
Steps: string;
|
package/lib/system.module.d.ts
CHANGED
@@ -14,28 +14,28 @@ import * as i11 from "./admin/configuration-designer/elements/cube.component";
|
|
14
14
|
import * as i12 from "./admin/configuration-designer/elements/action.component";
|
15
15
|
import * as i13 from "./admin/configuration-designer/elements/view.component";
|
16
16
|
import * as i14 from "./admin/configuration-designer/elements/type.component";
|
17
|
-
import * as i15 from "./admin/configuration-designer/
|
18
|
-
import * as i16 from "./admin/configuration-designer/
|
19
|
-
import * as i17 from "./admin/configuration-designer/elements/
|
20
|
-
import * as i18 from "./admin/configuration-designer/elements/
|
21
|
-
import * as i19 from "./admin/configuration-designer/elements/
|
22
|
-
import * as i20 from "./admin/configuration-designer/elements/
|
23
|
-
import * as i21 from "./admin/configuration-designer/elements/
|
24
|
-
import * as i22 from "./admin/configuration-designer/elements/
|
25
|
-
import * as i23 from "./admin/configuration-designer/elements/
|
26
|
-
import * as i24 from "./admin/configuration-designer/elements/
|
27
|
-
import * as i25 from "./admin/configuration-designer/elements/
|
28
|
-
import * as i26 from "./admin/configuration-designer/elements/
|
29
|
-
import * as i27 from "./admin/configuration-designer/elements/
|
30
|
-
import * as i28 from "./admin/configuration-designer/elements/
|
31
|
-
import * as i29 from "./admin/configuration-designer/elements/
|
32
|
-
import * as i30 from "./admin/configuration-designer/elements/
|
33
|
-
import * as i31 from "./admin/configuration-designer/elements/
|
34
|
-
import * as i32 from "./admin/configuration-designer/elements/
|
35
|
-
import * as i33 from "./admin/configuration-designer/elements/
|
36
|
-
import * as i34 from "./admin/configuration-designer/
|
37
|
-
import * as i35 from "./admin/
|
38
|
-
import * as i36 from "./admin/
|
17
|
+
import * as i15 from "./admin/configuration-designer/designer-element.component";
|
18
|
+
import * as i16 from "./admin/configuration-designer/cube-axes-filter.component";
|
19
|
+
import * as i17 from "./admin/configuration-designer/elements/cube-index-utility.component";
|
20
|
+
import * as i18 from "./admin/configuration-designer/elements/configuration-datasource.component";
|
21
|
+
import * as i19 from "./admin/configuration-designer/elements/return-to-role-action.component";
|
22
|
+
import * as i20 from "./admin/configuration-designer/elements/pivot-view.component";
|
23
|
+
import * as i21 from "./admin/configuration-designer/elements/cube-view.component";
|
24
|
+
import * as i22 from "./admin/configuration-designer/elements/box-form.component";
|
25
|
+
import * as i23 from "./admin/configuration-designer/elements/anomaly-rule.component";
|
26
|
+
import * as i24 from "./admin/configuration-designer/elements/usage-report.component";
|
27
|
+
import * as i25 from "./admin/configuration-designer/elements/documents-widget.component";
|
28
|
+
import * as i26 from "./admin/configuration-designer/elements/performance-widget.component";
|
29
|
+
import * as i27 from "./admin/configuration-designer/elements/documents-report.component";
|
30
|
+
import * as i28 from "./admin/configuration-designer/elements/tasks-report.component";
|
31
|
+
import * as i29 from "./admin/configuration-designer/elements/explore-view.component";
|
32
|
+
import * as i30 from "./admin/configuration-designer/elements/analysis-widget.component";
|
33
|
+
import * as i31 from "./admin/configuration-designer/elements/parallel-view.component";
|
34
|
+
import * as i32 from "./admin/configuration-designer/elements/sum-view.component";
|
35
|
+
import * as i33 from "./admin/configuration-designer/elements/matrix-view.component";
|
36
|
+
import * as i34 from "./admin/configuration-designer/elements/analysis-view.component";
|
37
|
+
import * as i35 from "./admin/configuration-designer/designer.component";
|
38
|
+
import * as i36 from "./admin/form/designer/designer.component";
|
39
39
|
import * as i37 from "./admin/permissions/permissions.component";
|
40
40
|
import * as i38 from "./admin/indices/manage-cube-index.component";
|
41
41
|
import * as i39 from "./admin/profiler/outofoffice.component";
|
@@ -66,6 +66,6 @@ import * as i63 from "./shared.module";
|
|
66
66
|
export declare class SystemModule {
|
67
67
|
static forChild(): ModuleWithProviders<SystemModule>;
|
68
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<SystemModule, never>;
|
69
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SystemModule, [typeof i1.IconPickerComponent, typeof i2.StateDesignComponent, typeof i3.RoleDesignComponent, typeof i4.GuideDesignComponent, typeof i5.RuleDesignComponent, typeof i6.
|
69
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SystemModule, [typeof i1.IconPickerComponent, typeof i2.StateDesignComponent, typeof i3.RoleDesignComponent, typeof i4.GuideDesignComponent, typeof i5.RuleDesignComponent, typeof i6.ReportDesignerComponent, typeof i7.FolderDesignComponent, typeof i8.UtilityDesignComponent, typeof i9.FormDesignComponent, typeof i10.WidgetDesignComponent, typeof i11.CubeDesignComponent, typeof i12.ActionDesignerComponent, typeof i6.ReportDesignerComponent, typeof i13.ViewDesignComponent, typeof i14.TypeDesignComponent, typeof i15.DesignerElementInfoComponent, typeof i15.DesignerElementPhaseComponent, typeof i16.DesignerCubeFilterComponent, typeof i17.CubeIndexDesignComponent, typeof i18.ConfigurationDatasourceDesignComponent, typeof i19.ReturnToRoleActionDesignComponent, typeof i20.PivotViewDesignComponent, typeof i21.CubeViewDesignComponent, typeof i22.BoxFormDesignComponent, typeof i23.AnomalyRuleDesignComponent, typeof i24.UsageReportDesignComponent, typeof i25.DocumentsWidgetDesignComponent, typeof i26.PerformanceWidgetDesignComponent, typeof i27.DocumentsReportDesignComponent, typeof i28.TasksReportDesignComponent, typeof i29.ExploreViewDesignComponent, typeof i30.AnalysisWidgetDesignComponent, typeof i31.ParallelViewDesignComponent, typeof i32.SumViewDesignComponent, typeof i33.MatrixViewDesignComponent, typeof i34.ChartViewDesignComponent, typeof i35.ConfigurationDesignerComponent, typeof i36.FormDesignerComponent, typeof i15.DesignerItemComponent, typeof i37.PermissionsUtility, typeof i38.ManageCubeIndexUtility, typeof i39.ProfileSettingsDialog, typeof i40.UtilityWrapperComponent, typeof i41.UtilityPaneComponent, typeof i42.SearchInput, typeof i43.ColorPicker, typeof i44.ReassignDialog, typeof i45.SystemDiffComponent, typeof i46.DocumentTraceComponent, typeof i47.TraceElementComponent, typeof i48.ProfilerComponent, typeof i49.PositionsComponent, typeof i50.PositionsPopup, typeof i51.WorkflowComponent, typeof i52.WorkflowNodeComponent, typeof i53.RoleNodeComponent, typeof i54.PatternsComponent], [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 i37.PermissionsUtility, typeof i38.ManageCubeIndexUtility, typeof i40.UtilityWrapperComponent, typeof i41.UtilityPaneComponent, typeof i45.SystemDiffComponent, typeof i46.DocumentTraceComponent, typeof i48.ProfilerComponent, typeof i49.PositionsComponent, typeof i51.WorkflowComponent, typeof i53.RoleNodeComponent, typeof i54.PatternsComponent]>;
|
70
70
|
static ɵinj: i0.ɵɵInjectorDeclaration<SystemModule>;
|
71
71
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@bizdoc/core",
|
3
|
-
"version": "1.16.
|
3
|
+
"version": "1.16.6",
|
4
4
|
"author": "Moding Ltd.",
|
5
5
|
"homepage": "https://github.com/moding-il/bizdoc.core",
|
6
6
|
"license": "https://github.com/moding-il/bizdoc.core/blob/master/License.md",
|
@@ -10,26 +10,26 @@
|
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"@ctrl/ngx-emoji-mart": "^7.0.0",
|
13
|
-
"@microsoft/signalr": "^6.0.
|
14
|
-
"@syncfusion/ej2": "^20.
|
15
|
-
"@syncfusion/ej2-angular-charts": "^20.
|
16
|
-
"@syncfusion/ej2-angular-circulargauge": "^20.
|
17
|
-
"@syncfusion/ej2-angular-diagrams": "^20.
|
18
|
-
"@syncfusion/ej2-angular-gantt": "^20.
|
19
|
-
"@syncfusion/ej2-angular-grids": "^20.
|
20
|
-
"@syncfusion/ej2-angular-kanban": "^20.
|
21
|
-
"@syncfusion/ej2-angular-pivotview": "^20.
|
22
|
-
"@syncfusion/ej2-angular-richtexteditor": "^20.
|
23
|
-
"@syncfusion/ej2-angular-schedule": "^20.
|
24
|
-
"@syncfusion/ej2-angular-spreadsheet": "^20.
|
25
|
-
"@syncfusion/ej2-base": "^20.
|
13
|
+
"@microsoft/signalr": "^6.0.7",
|
14
|
+
"@syncfusion/ej2": "^20.2.38",
|
15
|
+
"@syncfusion/ej2-angular-charts": "^20.2.38",
|
16
|
+
"@syncfusion/ej2-angular-circulargauge": "^20.2.38",
|
17
|
+
"@syncfusion/ej2-angular-diagrams": "^20.2.38",
|
18
|
+
"@syncfusion/ej2-angular-gantt": "^20.2.38",
|
19
|
+
"@syncfusion/ej2-angular-grids": "^20.2.38",
|
20
|
+
"@syncfusion/ej2-angular-kanban": "^20.2.38",
|
21
|
+
"@syncfusion/ej2-angular-pivotview": "^20.2.38",
|
22
|
+
"@syncfusion/ej2-angular-richtexteditor": "^20.2.38",
|
23
|
+
"@syncfusion/ej2-angular-schedule": "^20.2.38",
|
24
|
+
"@syncfusion/ej2-angular-spreadsheet": "^20.2.38",
|
25
|
+
"@syncfusion/ej2-base": "^20.2.38",
|
26
26
|
"@teamhive/lottie-player": "^1.0.0",
|
27
27
|
"brace": "^0.11.1",
|
28
28
|
"cookie": "^0.5.0",
|
29
29
|
"dayjs": "^1.11.3",
|
30
|
-
"firebase": "^9.
|
30
|
+
"firebase": "^9.9.0",
|
31
31
|
"hammerjs": "~2",
|
32
|
-
"lottie-web": "^5.9.
|
32
|
+
"lottie-web": "^5.9.6",
|
33
33
|
"ngx-cookie-service": "14",
|
34
34
|
"zone.js": "^0.11.6",
|
35
35
|
"tslib": "^2.3.0"
|