@bizdoc/core 1.11.0-next.6 → 1.11.0
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/brown.min.css +18 -16
- package/assets/themes/dark.min.css +17 -15
- package/assets/themes/deep-purple-teal.min.css +92 -0
- package/assets/themes/default.min.css +18 -16
- package/assets/themes/green.min.css +18 -16
- package/assets/themes/indigo.min.css +18 -16
- package/esm2020/lib/app.component.mjs +11 -4
- package/esm2020/lib/compose/form.component.mjs +20 -22
- package/esm2020/lib/compose/trace/trace.pane.component.mjs +2 -2
- package/esm2020/lib/core/component-factory-resolver.mjs +9 -2
- package/esm2020/lib/core/controls/address.input.mjs +4 -3
- package/esm2020/lib/core/controls/combination-picker-body.mjs +1 -1
- package/esm2020/lib/core/controls/file.input.mjs +44 -15
- package/esm2020/lib/core/functions.mjs +1 -1
- package/esm2020/lib/core/info/attachment-info.service.mjs +2 -2
- package/esm2020/lib/core/mailbox.service.mjs +4 -4
- package/esm2020/lib/core/tagging/edit-input.component.mjs +3 -3
- package/esm2020/lib/cube/cube-info.service.mjs +3 -3
- package/esm2020/lib/cube/cube.service.mjs +8 -9
- package/esm2020/lib/cube/grid/spreadsheet.component.mjs +3 -2
- package/esm2020/lib/cube/matrix/matrix.base.mjs +1 -1
- package/esm2020/lib/cube/matrix/matrix.mobile.component.mjs +4 -4
- package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +5 -4
- package/esm2020/lib/cube/matrix/popup.component.mjs +6 -5
- package/esm2020/lib/cube/matrix/table.component.mjs +64 -11
- package/esm2020/lib/cube/pivot/pivot.component.mjs +15 -1
- package/esm2020/lib/dashboard/score/activity.widget.mjs +2 -5
- package/esm2020/lib/views/cube/cube-base.mjs +7 -9
- package/esm2020/lib/views/cube/matrix.component.mjs +19 -20
- package/fesm2015/bizdoc-core.mjs +206 -106
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +206 -106
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/app.component.d.ts +3 -1
- package/lib/core/controls/combination-picker-body.d.ts +2 -0
- package/lib/core/controls/file.input.d.ts +1 -0
- package/lib/core/functions.d.ts +3 -1
- package/lib/core/mailbox.service.d.ts +6 -2
- package/lib/cube/cube-info.service.d.ts +2 -2
- package/lib/cube/cube.service.d.ts +1 -4
- package/lib/cube/matrix/matrix.base.d.ts +2 -1
- package/lib/cube/matrix/table.component.d.ts +7 -3
- package/lib/cube/pivot/pivot.component.d.ts +3 -0
- package/lib/views/cube/matrix.component.d.ts +1 -3
- package/package.json +1 -1
package/lib/app.component.d.ts
CHANGED
@@ -2,6 +2,8 @@ import { ComponentFactoryResolver, OnInit, ViewContainerRef } from '@angular/cor
|
|
2
2
|
import { Direction } from '@angular/cdk/bidi';
|
3
3
|
import { SessionService } from './core/session.service';
|
4
4
|
import { HubService } from './core/hub.service';
|
5
|
+
import { MatIconRegistry } from '@angular/material/icon';
|
6
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
5
7
|
import * as i0 from "@angular/core";
|
6
8
|
export declare class BrokenPage {
|
7
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrokenPage, never>;
|
@@ -14,7 +16,7 @@ export declare class BizDocApp implements OnInit {
|
|
14
16
|
private _messaging;
|
15
17
|
dir: Direction;
|
16
18
|
private _refresh;
|
17
|
-
constructor(_vc: ViewContainerRef, _cfr: ComponentFactoryResolver, _session: SessionService, _messaging: HubService);
|
19
|
+
constructor(_vc: ViewContainerRef, _cfr: ComponentFactoryResolver, _session: SessionService, _messaging: HubService, iconRegistry: MatIconRegistry, sanitizer: DomSanitizer);
|
18
20
|
private _initialize;
|
19
21
|
ngOnInit(): void;
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizDocApp, never>;
|
@@ -50,6 +50,7 @@ export declare class FileInput implements MatFormFieldControl<number | number[]>
|
|
50
50
|
checkIn(item: AttachmentExtra): void;
|
51
51
|
checkOut(item: AttachmentExtra): void;
|
52
52
|
discard(item: AttachmentExtra): void;
|
53
|
+
private _handleError;
|
53
54
|
ngOnInit(): void;
|
54
55
|
handleDocumentDrop(event: KeyboardEvent): void;
|
55
56
|
handleDrop(event: DragEvent): void;
|
package/lib/core/functions.d.ts
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
export declare type MaterialMode = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 'A100' | 'A200' | 'A400' | 'A700';
|
2
|
-
export declare function mapToArray(map:
|
2
|
+
export declare function mapToArray(map: {
|
3
|
+
[key: string]: any;
|
4
|
+
}): {
|
3
5
|
key: string;
|
4
6
|
value: any;
|
5
7
|
}[];
|
@@ -36,9 +36,12 @@ export declare class MailboxService {
|
|
36
36
|
*/
|
37
37
|
changeState(documentId: number, stateId: string, userId?: string): Observable<any>;
|
38
38
|
move(id: number, folderId: string): Observable<any>;
|
39
|
-
checkOut(recipientId: number, version: number, attachmentId: number): Observable<
|
39
|
+
checkOut(recipientId: number, version: number, attachmentId: number): Observable<Attachment>;
|
40
40
|
checkIn(recipientId: number, version: number, attachmentId: number, file: File): Observable<Attachment>;
|
41
|
-
upload(recipientId: number, formId: string, version: number,
|
41
|
+
upload(recipientId: number, formId: string, version: number, file: File, options?: {
|
42
|
+
isPrivate?: boolean;
|
43
|
+
}): Observable<Attachment>;
|
44
|
+
upload(recipientId: number, formId: string, version: number, files: File[], options?: {
|
42
45
|
isPrivate?: boolean;
|
43
46
|
}): Observable<Attachment[]>;
|
44
47
|
/**
|
@@ -121,6 +124,7 @@ export interface ItemExtra {
|
|
121
124
|
}
|
122
125
|
export interface AttachmentExtra extends Attachment {
|
123
126
|
url: SafeUrl;
|
127
|
+
icon?: string;
|
124
128
|
fileExt: string;
|
125
129
|
isImage: boolean;
|
126
130
|
progress?: number;
|
@@ -27,8 +27,8 @@ export interface CubeDataOptions {
|
|
27
27
|
aggregate?: string[] | string;
|
28
28
|
/** summary rows / columns */
|
29
29
|
sum?: SumSettings | SumSettings[];
|
30
|
-
|
31
|
-
|
30
|
+
seriesTotalLabel?: string;
|
31
|
+
xAxisTotalLabel?: string;
|
32
32
|
}
|
33
33
|
export interface ExploreOptions {
|
34
34
|
cube?: string;
|
@@ -23,7 +23,6 @@ export declare class CubeService {
|
|
23
23
|
private _type;
|
24
24
|
private _session;
|
25
25
|
private readonly _cache;
|
26
|
-
private readonly _exchangeRates;
|
27
26
|
constructor(_config: BizDocConfig, _http: HttpClient, _type: DatasourceService, _session: SessionService);
|
28
27
|
private _cacheOr;
|
29
28
|
/** system currency */
|
@@ -103,9 +102,7 @@ export declare class CubeService {
|
|
103
102
|
* @param axes
|
104
103
|
* @param cube
|
105
104
|
*/
|
106
|
-
nameOf(axes:
|
107
|
-
[axis: string]: AxisType;
|
108
|
-
}, cube: string): Observable<string>;
|
105
|
+
nameOf(axes: AxesMap, cube: string): Observable<string>;
|
109
106
|
/**
|
110
107
|
* explore indices by axis
|
111
108
|
* @param cube name
|
@@ -10,7 +10,8 @@ export declare abstract class CubeMatrixBase {
|
|
10
10
|
private _ds;
|
11
11
|
protected _session: SessionService;
|
12
12
|
table: CubeMatrixComponent;
|
13
|
-
|
13
|
+
seriesTotalLabel: string;
|
14
|
+
xAxisTotalLabel: string;
|
14
15
|
loading: boolean;
|
15
16
|
private _axes;
|
16
17
|
private _originalAxes;
|
@@ -5,19 +5,22 @@ import { DatasourceService } from '../../core/datasource.service';
|
|
5
5
|
import { PromptService } from '../../core/prompt.service';
|
6
6
|
import { AxesMap, Cube, CubeAxis, CubeIndex } from '../../core/models';
|
7
7
|
import { ScopeType } from '../../core/configuration';
|
8
|
+
import { TranslateService } from '../../core/translate.service';
|
8
9
|
import * as i0 from "@angular/core";
|
9
10
|
/** cube matrix component*/
|
10
11
|
export declare class CubeMatrixComponent implements OnChanges {
|
11
12
|
private _sb;
|
12
13
|
private _service;
|
13
14
|
private _session;
|
15
|
+
private _translate;
|
14
16
|
private _ds;
|
15
17
|
readonly PRECISION: string;
|
16
18
|
readonly LANGUAGE: string;
|
17
19
|
CURRENCY: string;
|
18
20
|
SYMBOL: string;
|
19
21
|
tableElement: ElementRef<HTMLTableElement>;
|
20
|
-
|
22
|
+
seriesTotalLabel: string;
|
23
|
+
xAxisTotalLabel: string;
|
21
24
|
_cube?: string;
|
22
25
|
_xAxis: string;
|
23
26
|
_series: string;
|
@@ -48,7 +51,7 @@ export declare class CubeMatrixComponent implements OnChanges {
|
|
48
51
|
series: CubeAxis;
|
49
52
|
private _data;
|
50
53
|
private _prepare;
|
51
|
-
constructor(_sb: PromptService, _service: CubeService, _session: SessionService, _ds: DatasourceService);
|
54
|
+
constructor(_sb: PromptService, _service: CubeService, _session: SessionService, _translate: TranslateService, _ds: DatasourceService);
|
52
55
|
ngOnChanges(changes: SimpleChanges): void;
|
53
56
|
private _addsumheaders;
|
54
57
|
refresh(): void;
|
@@ -57,9 +60,10 @@ export declare class CubeMatrixComponent implements OnChanges {
|
|
57
60
|
private _calculatesum;
|
58
61
|
private _format;
|
59
62
|
explore(column: HeaderInfo, row: HeaderInfo): void;
|
63
|
+
export(): void;
|
60
64
|
move(x: any, y: any): void;
|
61
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeMatrixComponent, never>;
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CubeMatrixComponent, "bizdoc-cube-matrix", never, { "
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CubeMatrixComponent, "bizdoc-cube-matrix", never, { "seriesTotalLabel": "seriesTotalLabel"; "xAxisTotalLabel": "xAxisTotalLabel"; "_cube": "cube"; "_xAxis": "xAxis"; "_series": "series"; "_indices": "indices"; "scope": "scope"; "sum": "sum"; "filters": "filters"; "loading": "loading"; "interactive": "interactive"; }, { "onExplore": "explore"; "loadingChange": "loadingChange"; }, never, never>;
|
63
67
|
}
|
64
68
|
export declare type SumSettings = {
|
65
69
|
value?: string | number;
|
@@ -5,6 +5,7 @@ import { ChartSettingsModel } from '@syncfusion/ej2-pivotview/src/pivotview/mode
|
|
5
5
|
import { DataSourceSettingsModel, FieldOptionsModel, FormatSettingsModel } from "@syncfusion/ej2-pivotview/src/pivotview/model/datasourcesettings-model";
|
6
6
|
import { GridSettingsModel } from "@syncfusion/ej2-pivotview/src/pivotview/model/gridsettings-model";
|
7
7
|
import { IPointEventArgs } from '@syncfusion/ej2-angular-charts';
|
8
|
+
import { Tooltip } from '@syncfusion/ej2-popups';
|
8
9
|
import { AxesMap, ChartType, YAxis } from '../../core/models';
|
9
10
|
import { AxisClickEvent, CubeViewerComponent } from "../declarations";
|
10
11
|
import { CubeService } from '../cube.service';
|
@@ -22,6 +23,7 @@ export declare class CubePivotComponent implements CubeViewerComponent, OnInit,
|
|
22
23
|
height: string;
|
23
24
|
cube: string;
|
24
25
|
private _xAxis;
|
26
|
+
tooltip: Tooltip;
|
25
27
|
get xAxis(): string[] | string;
|
26
28
|
set xAxis(value: string[] | string);
|
27
29
|
yAxis?: YAxis;
|
@@ -92,6 +94,7 @@ export declare class CubePivotComponent implements CubeViewerComponent, OnInit,
|
|
92
94
|
pointClick(e: IPointEventArgs): void;
|
93
95
|
exportToExcel(title: string): any;
|
94
96
|
private _draw;
|
97
|
+
dataBound(_: any): void;
|
95
98
|
resize(): void;
|
96
99
|
ngOnDestroy(): void;
|
97
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubePivotComponent, never>;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { Observable } from "rxjs";
|
2
2
|
import { AxesMap, CubeAxis } from "../../core/models";
|
3
|
-
import { DatasourceService } from "../../core/datasource.service";
|
4
3
|
import { SessionService } from "../../core/session.service";
|
5
4
|
import { RouterImpl } from "../../core/router";
|
6
5
|
import { CubeService, Pattern } from "../../cube/cube.service";
|
@@ -11,7 +10,6 @@ import { ScopeType } from "../../core/configuration";
|
|
11
10
|
import * as i0 from "@angular/core";
|
12
11
|
export declare class CubeDocumentMatrixComponent extends CubeBase<Options> {
|
13
12
|
private _router;
|
14
|
-
private _ds;
|
15
13
|
table: CubeMatrixComponent;
|
16
14
|
readonly sources: {
|
17
15
|
[axis: string]: Observable<{
|
@@ -24,7 +22,7 @@ export declare class CubeDocumentMatrixComponent extends CubeBase<Options> {
|
|
24
22
|
xAxis: string;
|
25
23
|
series: string;
|
26
24
|
sum?: SumSettings | SumSettings[];
|
27
|
-
constructor(viewRef: DocumentViewRef<Options>, _router: RouterImpl, service: CubeService,
|
25
|
+
constructor(viewRef: DocumentViewRef<Options>, _router: RouterImpl, service: CubeService, session: SessionService);
|
28
26
|
onViewBind(): void;
|
29
27
|
explore(axes: AxesMap): void;
|
30
28
|
/**
|
package/package.json
CHANGED