@bizdoc/core 1.17.7 → 1.17.9
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/assets/themes/dark.min.css +7 -2
- package/esm2020/lib/admin/architecture/declarations.mjs +1 -1
- package/esm2020/lib/admin/architecture/elements/cube.component.mjs +5 -3
- package/esm2020/lib/admin/architecture/elements/guide.component.mjs +2 -1
- package/esm2020/lib/compose/attachments/preview/attachment-preview.component.mjs +6 -4
- package/esm2020/lib/compose/box/box.component.mjs +2 -2
- package/esm2020/lib/compose/box/control.component.mjs +3 -3
- package/esm2020/lib/compose/version-compare/version-compare.directive.mjs +3 -3
- package/esm2020/lib/core/authentication.mjs +1 -1
- package/esm2020/lib/core/configuration.mjs +1 -1
- package/esm2020/lib/core/fields/checklist.field.mjs +3 -3
- package/esm2020/lib/core/http.interceptor.mjs +37 -47
- package/esm2020/lib/core/mailbox.service.mjs +7 -3
- package/esm2020/lib/core/models.mjs +1 -1
- package/esm2020/lib/core/session.service.mjs +9 -6
- package/esm2020/lib/core/slots/pane-ref.mjs +11 -11
- package/esm2020/lib/core/slots/slots.component.mjs +3 -4
- package/esm2020/lib/cube/chart/chart.component.mjs +6 -5
- package/esm2020/lib/cube/grid/spreadsheet.component.mjs +2 -2
- package/esm2020/lib/cube/pivot/pivot.component.mjs +4 -3
- package/esm2020/lib/dashboard/cube/accum-cube.widget.mjs +32 -22
- package/esm2020/lib/dashboard/cube/cube-analysis.base.mjs +5 -5
- package/esm2020/lib/dashboard/cube/cube-chart.widget.mjs +9 -9
- package/esm2020/lib/dashboard/score/activity.widget.mjs +12 -8
- package/esm2020/lib/dashboard/widget-item.component.mjs +2 -2
- package/esm2020/lib/system.module.mjs +3 -1
- package/esm2020/lib/views/timeline/timeline.component.exp.mjs +18 -14
- package/fesm2015/bizdoc-core.mjs +156 -132
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +155 -132
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/admin/architecture/declarations.d.ts +2 -0
- package/lib/admin/architecture/elements/cube.component.d.ts +3 -1
- package/lib/admin/architecture/elements/guide.component.d.ts +1 -0
- package/lib/core/authentication.d.ts +1 -1
- package/lib/core/configuration.d.ts +1 -0
- package/lib/core/http.interceptor.d.ts +4 -6
- package/lib/core/mailbox.service.d.ts +1 -1
- package/lib/core/models.d.ts +2 -2
- package/lib/core/session.service.d.ts +1 -0
- package/lib/core/slots/pane-ref.d.ts +4 -4
- package/lib/dashboard/cube/accum-cube.widget.d.ts +4 -2
- package/lib/dashboard/cube/cube-analysis.base.d.ts +2 -2
- package/lib/dashboard/cube/cube-chart.widget.d.ts +2 -2
- package/lib/dashboard/widget-item.component.d.ts +1 -1
- package/lib/views/timeline/timeline.component.exp.d.ts +1 -3
- package/package.json +1 -1
@@ -41,6 +41,7 @@ export declare function arrayOf(val: string | string[]): string[];
|
|
41
41
|
*/
|
42
42
|
export declare function programName(name: string): string;
|
43
43
|
export interface DesignerModel {
|
44
|
+
currencies: ElementModel[];
|
44
45
|
types: ElementModel<any>[];
|
45
46
|
tTypes: TemplateInfo[];
|
46
47
|
guides: ElementModel<any>[];
|
@@ -198,6 +199,7 @@ export interface PrivilegesModel {
|
|
198
199
|
roles?: string[];
|
199
200
|
}
|
200
201
|
export interface DesignerInfo {
|
202
|
+
currencies: ElementInfo[];
|
201
203
|
types: ElementInfo[];
|
202
204
|
guides: ElementInfo[];
|
203
205
|
reports: ElementInfo[];
|
@@ -20,6 +20,7 @@ export declare class CubeDesignComponent extends DesignerTypeElementComponent im
|
|
20
20
|
axes: import("@angular/forms").FormArray<import("@angular/forms").FormControl<unknown>>;
|
21
21
|
indices: import("@angular/forms").FormArray<import("@angular/forms").FormControl<unknown>>;
|
22
22
|
scope: import("@angular/forms").FormControl<any>;
|
23
|
+
currencyCode: import("@angular/forms").FormControl<unknown>;
|
23
24
|
yAxis: import("@angular/forms").FormGroup<{
|
24
25
|
type: import("@angular/forms").FormControl<unknown>;
|
25
26
|
title: import("@angular/forms").FormControl<unknown>;
|
@@ -31,8 +32,9 @@ export declare class CubeDesignComponent extends DesignerTypeElementComponent im
|
|
31
32
|
jobInfo: BackgroundJobInfo;
|
32
33
|
syncing: boolean;
|
33
34
|
element: ElementRef<any>;
|
34
|
-
readonly types: ElementInfo[];
|
35
35
|
accumulative: boolean;
|
36
|
+
readonly types: ElementInfo[];
|
37
|
+
readonly currencies: ElementInfo<any>[];
|
36
38
|
constructor(fb: FormBuilder, _service: SystemService, _ps: PromptService, element: ElementRef<any>, ref: DesignerRef);
|
37
39
|
sync(): void;
|
38
40
|
ngOnInit(): void;
|
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
|
|
5
5
|
export declare class GuideDesignComponent extends DesignerTypeElementComponent implements OnInit {
|
6
6
|
readonly steps: import("@angular/forms").FormArray<import("@angular/forms").FormControl<unknown>>;
|
7
7
|
readonly form: import("@angular/forms").FormGroup<{
|
8
|
+
mode: import("@angular/forms").FormControl<unknown>;
|
8
9
|
steps: import("@angular/forms").FormArray<import("@angular/forms").FormControl<unknown>>;
|
9
10
|
}>;
|
10
11
|
ngOnInit(): void;
|
@@ -3,19 +3,17 @@ import { Observable } from 'rxjs';
|
|
3
3
|
import { HubService } from './hub.service';
|
4
4
|
import { SessionService } from './session.service';
|
5
5
|
import { AuthenticationImpl } from './authentication';
|
6
|
-
import { RouterImpl } from './router';
|
7
6
|
import * as i0 from "@angular/core";
|
8
7
|
export declare class AppHttpInterceptor implements HttpInterceptor {
|
9
8
|
private _session;
|
10
|
-
private _router;
|
11
9
|
private _auth;
|
12
10
|
private _messaging;
|
13
|
-
private readonly
|
14
|
-
private
|
11
|
+
private readonly _ongoingCounter$;
|
12
|
+
private _authenticationInProgress$;
|
15
13
|
readonly active$: Observable<boolean>;
|
16
14
|
private _baseUrl;
|
17
15
|
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
18
|
-
constructor(baseUrl: string, _session: SessionService,
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppHttpInterceptor, [{ optional: true; }, null, null, null
|
16
|
+
constructor(baseUrl: string, _session: SessionService, _auth: AuthenticationImpl, _messaging: HubService);
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppHttpInterceptor, [{ optional: true; }, null, null, null]>;
|
20
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<AppHttpInterceptor>;
|
21
19
|
}
|
@@ -22,7 +22,7 @@ export declare class MailboxService {
|
|
22
22
|
readonly changed: Observable<RecipientModel<any>>;
|
23
23
|
readonly deleted: Observable<number>;
|
24
24
|
constructor(_session: SessionService, _auth: AuthenticationImpl, messaging: HubService, _http: HttpClient);
|
25
|
-
formatDownloadUrl(documentId: number, fileId: number
|
25
|
+
formatDownloadUrl(documentId: number, fileId: number): string;
|
26
26
|
download(documentId: number, fileId: number): Observable<any>;
|
27
27
|
removeattachment(recipientId: number, fileId: number): Observable<any>;
|
28
28
|
read(id: number, read: boolean, folderId?: string, received?: Date): Observable<any>;
|
package/lib/core/models.d.ts
CHANGED
@@ -516,7 +516,7 @@ export interface Form {
|
|
516
516
|
icon: string;
|
517
517
|
position?: PositionPolicy;
|
518
518
|
template?: string;
|
519
|
-
|
519
|
+
fields?: FieldInfo[];
|
520
520
|
workflow?: Workflow;
|
521
521
|
guide?: string;
|
522
522
|
}
|
@@ -575,7 +575,7 @@ export interface Cube {
|
|
575
575
|
}
|
576
576
|
export interface YAxis {
|
577
577
|
title?: string;
|
578
|
-
type?: '
|
578
|
+
type?: 'Count' | 'Number' | 'Currency';
|
579
579
|
}
|
580
580
|
export interface CubeIndex {
|
581
581
|
name: string;
|
@@ -31,6 +31,7 @@ export declare class SessionService {
|
|
31
31
|
private _constructpalette;
|
32
32
|
get primeryPalette(): string[];
|
33
33
|
getAccent(mode?: MaterialMode): string;
|
34
|
+
getGrey(mode?: MaterialMode): string;
|
34
35
|
getPrimery(mode?: MaterialMode): string;
|
35
36
|
private _theme;
|
36
37
|
get theme(): Theme;
|
@@ -59,7 +59,7 @@ export declare type PaneCommand = 'expand' | 'focus' | 'close' | 'recycle';
|
|
59
59
|
export declare class PaneRef<ComponentType = any, DataType = ParamMap> {
|
60
60
|
component: Type<any>;
|
61
61
|
private _options;
|
62
|
-
readonly
|
62
|
+
readonly _command$: Subject<PaneCommand>;
|
63
63
|
/** */
|
64
64
|
readonly _data$: BehaviorSubject<DataType>;
|
65
65
|
readonly _params$: BehaviorSubject<ParamMap>;
|
@@ -81,19 +81,19 @@ export declare class PaneRef<ComponentType = any, DataType = ParamMap> {
|
|
81
81
|
private _injector;
|
82
82
|
private _expandable;
|
83
83
|
private _stretchable;
|
84
|
-
|
84
|
+
private _value;
|
85
85
|
get expandable(): boolean;
|
86
86
|
get injector(): Injector;
|
87
87
|
get expanded(): boolean;
|
88
88
|
get fullPath(): string;
|
89
89
|
get instance(): ComponentType;
|
90
90
|
get data(): DataType;
|
91
|
-
dataChange(): Observable<DataType>;
|
92
91
|
get params(): ParamMap;
|
93
|
-
paramsChange(): Observable<ParamMap>;
|
94
92
|
get queryString(): string;
|
95
93
|
get queryParams(): ParamMap;
|
94
|
+
paramsChange(): Observable<ParamMap>;
|
96
95
|
queryParamsChange(): Observable<ParamMap>;
|
96
|
+
dataChange(): Observable<DataType>;
|
97
97
|
resized(): Observable<NavigationResize<any>>;
|
98
98
|
closeing(): Observable<NavigationClose<any>>;
|
99
99
|
closed<T = any>(): Observable<T>;
|
@@ -16,16 +16,18 @@ export declare class CubeAccumAnalysisWidget extends CubeAnalysisBase implements
|
|
16
16
|
endAngle: number;
|
17
17
|
innerRadius: string;
|
18
18
|
readonly dataLabel: AccumulationDataLabelSettingsModel;
|
19
|
-
readonly
|
19
|
+
readonly legendSettings: LegendSeriesModel;
|
20
20
|
readonly tooltip: TooltipSettingsModel;
|
21
21
|
readonly animation: AnimationModel;
|
22
22
|
readonly enableRtl: boolean;
|
23
|
-
constructor(ref: WidgetRef<ChartSettingsModel>, info: CubeInfo, session: SessionService, ds: DatasourceService, cube: CubeService, _elementRef: ElementRef);
|
23
|
+
constructor(ref: WidgetRef<ChartSettingsModel>, info: CubeInfo, session: SessionService, ds: DatasourceService, cube: CubeService, _elementRef: ElementRef<HTMLDivElement>);
|
24
24
|
onLoad(data: Series[]): void;
|
25
25
|
onResize(dim: Dimentions): void;
|
26
26
|
onThemeChange(): void;
|
27
27
|
tooltipRender(e: IAccTooltipRenderEventArgs): void;
|
28
|
+
private _ratio;
|
28
29
|
private _draw;
|
30
|
+
private _center;
|
29
31
|
pointClick(evt: IPointEventArgs): void;
|
30
32
|
ngOnDestroy(): void;
|
31
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeAccumAnalysisWidget, never>;
|
@@ -11,7 +11,6 @@ import { CubeInfo } from '../../cube/cube-info.service';
|
|
11
11
|
import { ScopeType } from '../../core/configuration';
|
12
12
|
import * as i0 from "@angular/core";
|
13
13
|
export declare abstract class CubeAnalysisBase implements WidgetComponent<Series[]>, OnDestroy {
|
14
|
-
private _ref;
|
15
14
|
private _info;
|
16
15
|
protected _session: SessionService;
|
17
16
|
private _ds;
|
@@ -29,12 +28,13 @@ export declare abstract class CubeAnalysisBase implements WidgetComponent<Series
|
|
29
28
|
private _series;
|
30
29
|
private _xAxis;
|
31
30
|
protected args: any;
|
31
|
+
protected yType: string;
|
32
32
|
protected get series(): string[];
|
33
33
|
protected get xAxis(): string[];
|
34
34
|
private readonly _axisTypeMap;
|
35
35
|
protected readonly _intl: Internationalization;
|
36
36
|
protected readonly _destroy: Subject<void>;
|
37
|
-
constructor(
|
37
|
+
constructor(ref: WidgetRef<ChartSettingsModel>, _info: CubeInfo, _session: SessionService, _ds: DatasourceService, _service: CubeService);
|
38
38
|
protected explore(axes: AxesMap, options?: {
|
39
39
|
index?: string;
|
40
40
|
}): void;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
2
2
|
import { SessionService } from '../../core/session.service';
|
3
|
-
import { Chart, AxisModel, MarkerOptionsModel,
|
3
|
+
import { Chart, AxisModel, MarkerOptionsModel, TooltipSettingsModel, ChartSeriesType, AnimationModel, ITooltipRenderEventArgs, IPointEventArgs, LegendSettingsModel } from '@syncfusion/ej2-angular-charts';
|
4
4
|
import { CubeAnalysisBase } from './cube-analysis.base';
|
5
5
|
import { DatasourceService } from '../../core/datasource.service';
|
6
6
|
import { WidgetRef } from "../widget-ref";
|
@@ -18,7 +18,7 @@ export declare class CubeChartAnalysisWidget extends CubeAnalysisBase {
|
|
18
18
|
readonly primaryXAxis: AxisModel;
|
19
19
|
readonly primaryYAxis: AxisModel;
|
20
20
|
readonly tooltip: TooltipSettingsModel;
|
21
|
-
readonly
|
21
|
+
readonly legendSettings: LegendSettingsModel;
|
22
22
|
readonly animation: AnimationModel;
|
23
23
|
constructor(ref: WidgetRef, session: SessionService, ds: DatasourceService, cube: CubeService, info: CubeInfo, _elementRef: ElementRef, _translate: TranslateService);
|
24
24
|
onLoad(data: Series[]): void;
|
@@ -14,11 +14,11 @@ export declare class WidgetItemComponent implements OnInit, AfterViewInit, OnDes
|
|
14
14
|
private _vc;
|
15
15
|
private _cf;
|
16
16
|
model: Widget;
|
17
|
+
args: any;
|
17
18
|
private _instance;
|
18
19
|
private _widgetRef;
|
19
20
|
private readonly _resizing;
|
20
21
|
private readonly _destroy;
|
21
|
-
args: any;
|
22
22
|
constructor(_popup: Popup, _http: HttpClient, _sb: PromptService, _injector: Injector, _vc: ViewContainerRef, _cf: BizDocComponentFactoryResolver);
|
23
23
|
ngOnInit(): void;
|
24
24
|
get widgetRef(): WidgetRef<any>;
|
@@ -9,12 +9,10 @@ import { ColumnModel, DayWorkingTimeModel, EventMarkerModel, Gantt, HolidayModel
|
|
9
9
|
import { ElementRef } from '@angular/core';
|
10
10
|
import { RouterImpl } from '../../core/router';
|
11
11
|
import { DocumentViewRef } from '../document-view-ref';
|
12
|
-
import { MailboxService } from '../../core/mailbox.service';
|
13
12
|
import * as i0 from "@angular/core";
|
14
13
|
export declare class TimelineViewComponent implements DocumentViewComponent {
|
15
14
|
private _ps;
|
16
15
|
private _users;
|
17
|
-
private _mailbox;
|
18
16
|
private _session;
|
19
17
|
private _translate;
|
20
18
|
private _router;
|
@@ -29,7 +27,7 @@ export declare class TimelineViewComponent implements DocumentViewComponent {
|
|
29
27
|
width: number;
|
30
28
|
readonly selectionSettings: SelectionSettingsModel;
|
31
29
|
/** timeline-view ctor */
|
32
|
-
constructor(_ps: PromptService, viewRef: DocumentViewRef<Options>, config: BizDocConfig, _users: AccountService,
|
30
|
+
constructor(_ps: PromptService, viewRef: DocumentViewRef<Options>, config: BizDocConfig, _users: AccountService, _session: SessionService, _translate: TranslateService, _router: RouterImpl, _element: ElementRef);
|
33
31
|
onBind(model: DocumentModel<any>): void;
|
34
32
|
private _draw;
|
35
33
|
private _prepare;
|