@bizdoc/core 1.10.0-next.4 → 1.10.0-next.5
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/bizdoc-schema.json +1 -1
- package/assets/themes/brown.min.css +1 -1
- package/assets/themes/deep-purple-light-blue.min.css +1 -1
- package/assets/themes/default.min.css +1 -1
- package/assets/themes/green.min.css +1 -1
- package/assets/themes/indigo.min.css +1 -1
- package/esm2020/lib/core/animations.mjs +7 -1
- package/esm2020/lib/core/models.mjs +1 -1
- package/esm2020/lib/core/pipes/translate.pipe.mjs +17 -2
- package/esm2020/lib/cube/chart/chart.component.mjs +5 -5
- package/esm2020/lib/cube/cube-view.component.mjs +10 -10
- package/esm2020/lib/cube/matrix/matrix.base.mjs +1 -1
- package/esm2020/lib/cube/matrix/matrix.component.mjs +4 -4
- package/esm2020/lib/cube/matrix/matrix.mobile.component.mjs +4 -4
- package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +4 -4
- package/esm2020/lib/cube/matrix/table.component.mjs +40 -44
- package/esm2020/lib/cube/parallel/parallel.component.mjs +8 -8
- package/esm2020/lib/cube/pivot/pivot.component.mjs +3 -3
- package/esm2020/lib/cube/sum/sum.component.mjs +13 -13
- package/esm2020/lib/cube/view.mobile.component.mjs +3 -3
- package/esm2020/lib/cube/view.pane.component.mjs +3 -3
- package/esm2020/lib/dashboard/cube/cube-analysis.base.mjs +1 -1
- package/esm2020/lib/dashboard/cube/cube-chart.widget.mjs +2 -2
- package/esm2020/lib/routes.desktop.mjs +2 -2
- package/esm2020/lib/routes.mobile.mjs +2 -2
- package/esm2020/lib/views/cube/chart.component.mjs +5 -5
- package/esm2020/lib/views/cube/matrix.component.mjs +6 -6
- package/esm2020/lib/views/cube/parallel.component.mjs +3 -3
- package/esm2020/lib/views/cube/pivot.component.mjs +3 -3
- package/esm2020/lib/views/cube/sum.component.mjs +3 -3
- package/esm2020/lib/views/cube/view.component.mjs +1 -1
- package/fesm2015/bizdoc-core.mjs +126 -109
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +126 -109
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/core/animations.d.ts +1 -0
- package/lib/core/models.d.ts +1 -1
- package/lib/core/pipes/translate.pipe.d.ts +9 -1
- package/lib/cube/chart/chart.component.d.ts +2 -2
- package/lib/cube/cube-view.component.d.ts +2 -2
- package/lib/cube/matrix/matrix.base.d.ts +1 -1
- package/lib/cube/matrix/table.component.d.ts +5 -6
- package/lib/cube/parallel/parallel.component.d.ts +2 -2
- package/lib/cube/pivot/pivot.component.d.ts +2 -2
- package/lib/cube/sum/sum.component.d.ts +3 -3
- package/lib/dashboard/cube/cube-analysis.base.d.ts +1 -1
- package/lib/views/cube/chart.component.d.ts +2 -2
- package/lib/views/cube/matrix.component.d.ts +2 -4
- package/lib/views/cube/pivot.component.d.ts +1 -1
- package/lib/views/cube/sum.component.d.ts +2 -2
- package/package.json +1 -1
package/lib/core/animations.d.ts
CHANGED
@@ -10,6 +10,7 @@ export declare const EnterExitTop: import("@angular/animations").AnimationTransi
|
|
10
10
|
export declare const FadeSlideInOut: import("@angular/animations").AnimationTriggerMetadata;
|
11
11
|
export declare const PulseAnimation: import("@angular/animations").AnimationAnimateMetadata;
|
12
12
|
export declare const SwapAnimation: import("@angular/animations").AnimationTransitionMetadata[];
|
13
|
+
export declare const matrixAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
13
14
|
export declare const swapAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
14
15
|
export declare const pageAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
15
16
|
export declare const fabAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
package/lib/core/models.d.ts
CHANGED
@@ -564,7 +564,7 @@ export interface CubeView {
|
|
564
564
|
title: string;
|
565
565
|
type: ViewType;
|
566
566
|
chartType?: ChartType;
|
567
|
-
|
567
|
+
indicesChartType?: ChartType;
|
568
568
|
scope?: ScopeType;
|
569
569
|
}
|
570
570
|
export declare type ViewType = 'Spreadsheet' | 'Chart' | 'Pivot' | 'Grid';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
1
|
+
import { ElementRef, OnInit, PipeTransform } from '@angular/core';
|
2
2
|
import { TranslateService } from '../translate.service';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class TranslatePipe implements PipeTransform {
|
@@ -8,3 +8,11 @@ export declare class TranslatePipe implements PipeTransform {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TranslatePipe, never>;
|
9
9
|
static ɵpipe: i0.ɵɵPipeDeclaration<TranslatePipe, "translate">;
|
10
10
|
}
|
11
|
+
export declare class TranslateDirective implements OnInit {
|
12
|
+
private _elementRef;
|
13
|
+
private _translate;
|
14
|
+
constructor(_elementRef: ElementRef<HTMLElement>, _translate: TranslateService);
|
15
|
+
ngOnInit(): void;
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslateDirective, never>;
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TranslateDirective, "[i18n]", never, {}, {}, never>;
|
18
|
+
}
|
@@ -29,7 +29,7 @@ export declare class CubeChartComponent implements OnInit, OnChanges, OnDestroy,
|
|
29
29
|
filters?: AxesMap;
|
30
30
|
yAxis?: YAxis;
|
31
31
|
chartType?: ChartType;
|
32
|
-
|
32
|
+
indicesChartType?: ChartType;
|
33
33
|
scope: ScopeType;
|
34
34
|
currencyCode: string;
|
35
35
|
readonly explore: EventEmitter<AxisClickEvent>;
|
@@ -66,5 +66,5 @@ export declare class CubeChartComponent implements OnInit, OnChanges, OnDestroy,
|
|
66
66
|
exportToExcel(title: string): void;
|
67
67
|
ngOnDestroy(): void;
|
68
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeChartComponent, never>;
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CubeChartComponent, "bizdoc-cube-chart", never, { "width": "width"; "height": "height"; "cube": "cube"; "xAxis": "xAxis"; "series": "series"; "indices": "indices"; "filters": "filters"; "yAxis": "yAxis"; "chartType": "chartType"; "
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CubeChartComponent, "bizdoc-cube-chart", never, { "width": "width"; "height": "height"; "cube": "cube"; "xAxis": "xAxis"; "series": "series"; "indices": "indices"; "filters": "filters"; "yAxis": "yAxis"; "chartType": "chartType"; "indicesChartType": "indicesChartType"; "scope": "scope"; "currencyCode": "currencyCode"; "loading": "loading"; }, { "explore": "explore"; "loadingChange": "loadingChange"; }, never, never>;
|
70
70
|
}
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CubeViewComponent implements OnInit, OnChanges, AfterViewInit {
|
7
7
|
private _viewContainer;
|
8
8
|
private _factoryResolver;
|
9
|
-
|
9
|
+
filters: AxesMap;
|
10
10
|
readonly explore: EventEmitter<AxisClickEvent>;
|
11
11
|
cube: Cube;
|
12
12
|
view: CubeView;
|
@@ -27,5 +27,5 @@ export declare class CubeViewComponent implements OnInit, OnChanges, AfterViewIn
|
|
27
27
|
exportToExcel(): void;
|
28
28
|
ngOnDestroy(): void;
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeViewComponent, never>;
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CubeViewComponent, "bizdoc-cube-view", never, { "
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CubeViewComponent, "bizdoc-cube-view", never, { "filters": "filters"; "cube": "cube"; "view": "view"; "loading": "loading"; }, { "explore": "explore"; "loadingChange": "loadingChange"; }, never, never>;
|
31
31
|
}
|
@@ -16,14 +16,14 @@ export declare class CubeMatrixComponent implements OnChanges {
|
|
16
16
|
tableElement: ElementRef<HTMLTableElement>;
|
17
17
|
_cube?: string;
|
18
18
|
_xAxis: string;
|
19
|
-
|
19
|
+
_series: string;
|
20
20
|
private _indices?;
|
21
|
-
private _evalsum;
|
22
21
|
get indices(): string[] | string;
|
23
22
|
set indices(value: string[] | string);
|
24
23
|
scope: ScopeType;
|
25
|
-
|
26
|
-
|
24
|
+
private _sum;
|
25
|
+
set sum(val: SumOptions);
|
26
|
+
filters: AxesMap;
|
27
27
|
private _interactive;
|
28
28
|
loading: boolean;
|
29
29
|
get interactive(): boolean;
|
@@ -51,11 +51,10 @@ export declare class CubeMatrixComponent implements OnChanges {
|
|
51
51
|
refresh(): void;
|
52
52
|
private _totals;
|
53
53
|
private _calculatesum;
|
54
|
-
private get _dsum();
|
55
54
|
explore(x: string | number | string[] | number[], serie: string | number | string[] | number[]): void;
|
56
55
|
move(x: any, y: any): void;
|
57
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeMatrixComponent, never>;
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CubeMatrixComponent, "bizdoc-cube-matrix", never, { "_cube": "cube"; "_xAxis": "xAxis"; "
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CubeMatrixComponent, "bizdoc-cube-matrix", never, { "_cube": "cube"; "_xAxis": "xAxis"; "_series": "series"; "indices": "indices"; "scope": "scope"; "sum": "sum"; "filters": "filters"; "loading": "loading"; "interactive": "interactive"; }, { "onExplore": "explore"; "loadingChange": "loadingChange"; }, never, never>;
|
59
58
|
}
|
60
59
|
export declare class CubeInfoCellArgs {
|
61
60
|
private _value;
|
@@ -11,7 +11,7 @@ export declare class CubeParallelComponent implements OnInit, OnChanges, OnDestr
|
|
11
11
|
private _sb;
|
12
12
|
private _service;
|
13
13
|
private _session;
|
14
|
-
|
14
|
+
filters: AxesMap;
|
15
15
|
xAxis: string | string[];
|
16
16
|
series: string | string[];
|
17
17
|
indices?: string | string[];
|
@@ -41,7 +41,7 @@ export declare class CubeParallelComponent implements OnInit, OnChanges, OnDestr
|
|
41
41
|
sprklineClick(item: Item, evt: IPointRegionEventArgs): void;
|
42
42
|
ngOnDestroy(): void;
|
43
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeParallelComponent, never>;
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CubeParallelComponent, "bizdoc-cube-parallel", never, { "
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CubeParallelComponent, "bizdoc-cube-parallel", never, { "filters": "filters"; "xAxis": "xAxis"; "series": "series"; "indices": "indices"; "cube": "cube"; "size": "size"; "chartType": "chartType"; "scope": "scope"; }, { "onExplore": "explore"; }, never, never>;
|
45
45
|
}
|
46
46
|
export interface ExploreEvent {
|
47
47
|
axes: AxesMap;
|
@@ -33,7 +33,7 @@ export declare class CubePivotComponent implements CubeViewerComponent, OnInit,
|
|
33
33
|
set indices(value: string[] | string);
|
34
34
|
filters?: AxesMap;
|
35
35
|
chartType?: ChartType;
|
36
|
-
|
36
|
+
indicesChartType?: ChartType;
|
37
37
|
currencyCode: string;
|
38
38
|
readonly explore: EventEmitter<AxisClickEvent>;
|
39
39
|
loading: boolean;
|
@@ -92,5 +92,5 @@ export declare class CubePivotComponent implements CubeViewerComponent, OnInit,
|
|
92
92
|
resize(): void;
|
93
93
|
ngOnDestroy(): void;
|
94
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubePivotComponent, never>;
|
95
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CubePivotComponent, "bizdoc-cube-pivot", never, { "width": "width"; "height": "height"; "cube": "cube"; "xAxis": "xAxis"; "yAxis": "yAxis"; "series": "series"; "indices": "indices"; "filters": "filters"; "chartType": "chartType"; "
|
95
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CubePivotComponent, "bizdoc-cube-pivot", never, { "width": "width"; "height": "height"; "cube": "cube"; "xAxis": "xAxis"; "yAxis": "yAxis"; "series": "series"; "indices": "indices"; "filters": "filters"; "chartType": "chartType"; "indicesChartType": "indicesChartType"; "currencyCode": "currencyCode"; "loading": "loading"; }, { "explore": "explore"; "loadingChange": "loadingChange"; }, never, never>;
|
96
96
|
}
|
@@ -9,9 +9,9 @@ export declare class CubeSumComponent implements OnChanges {
|
|
9
9
|
private _service;
|
10
10
|
private _session;
|
11
11
|
xAxis: string;
|
12
|
-
periodPolicy?: '
|
12
|
+
periodPolicy?: 'Strict' | 'Fish';
|
13
13
|
parentAxis: string;
|
14
|
-
|
14
|
+
filters: AxesMap;
|
15
15
|
cube: string;
|
16
16
|
indices: string[] | string;
|
17
17
|
scope: ScopeType;
|
@@ -49,7 +49,7 @@ export declare class CubeSumComponent implements OnChanges {
|
|
49
49
|
*/
|
50
50
|
explore(level: Level, index?: string): void;
|
51
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeSumComponent, never>;
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CubeSumComponent, "bizdoc-cube-sum", never, { "xAxis": "xAxis"; "periodPolicy": "periodPolicy"; "parentAxis": "parentAxis"; "
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CubeSumComponent, "bizdoc-cube-sum", never, { "xAxis": "xAxis"; "periodPolicy": "periodPolicy"; "parentAxis": "parentAxis"; "filters": "filters"; "cube": "cube"; "indices": "indices"; "scope": "scope"; }, { "onExplore": "explore"; }, never, never>;
|
53
53
|
}
|
54
54
|
export interface ExploreEvent {
|
55
55
|
axes: AxesMap;
|
@@ -49,7 +49,7 @@ export declare abstract class CubeAnalysisBase implements WidgetComponent<Series
|
|
49
49
|
export interface Options {
|
50
50
|
scope?: ScopeType;
|
51
51
|
chartType?: ChartType;
|
52
|
-
|
52
|
+
indicesChartType?: ChartType;
|
53
53
|
cube?: string;
|
54
54
|
xAxis?: string[] | string;
|
55
55
|
exclude?: string[] | string;
|
@@ -12,7 +12,7 @@ export declare class CubeChartViewComponent extends CubeBase<Options> {
|
|
12
12
|
series: string | string[];
|
13
13
|
width: number;
|
14
14
|
chartType?: ChartType;
|
15
|
-
|
15
|
+
indicesChartType?: ChartType;
|
16
16
|
indices: string | string[];
|
17
17
|
filters: AxesMap;
|
18
18
|
isAccum: boolean;
|
@@ -32,7 +32,7 @@ interface Options {
|
|
32
32
|
indices?: string | string[];
|
33
33
|
aggregate?: string[];
|
34
34
|
chartType?: ChartType;
|
35
|
-
|
35
|
+
indicesChartType?: ChartType;
|
36
36
|
scope?: ScopeType;
|
37
37
|
}
|
38
38
|
export {};
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { Observable } from "rxjs";
|
2
|
-
import { DocumentViewComponent } from "../../core/base";
|
3
2
|
import { AxesMap, CubeAxis } from "../../core/models";
|
4
3
|
import { DatasourceService } from "../../core/datasource.service";
|
5
4
|
import { SessionService } from "../../core/session.service";
|
@@ -9,7 +8,7 @@ import { DocumentViewRef } from "../document-view-ref";
|
|
9
8
|
import { CubeBase } from "./cube-base";
|
10
9
|
import { CubeMatrixComponent } from "../../cube/matrix/table.component";
|
11
10
|
import * as i0 from "@angular/core";
|
12
|
-
export declare class CubeDocumentMatrixComponent extends CubeBase<Options>
|
11
|
+
export declare class CubeDocumentMatrixComponent extends CubeBase<Options> {
|
13
12
|
private _router;
|
14
13
|
private _ds;
|
15
14
|
table: CubeMatrixComponent;
|
@@ -54,8 +53,7 @@ export interface Options {
|
|
54
53
|
};
|
55
54
|
indices: string[] | string;
|
56
55
|
aggregate: string[];
|
57
|
-
group: string[];
|
58
56
|
xAxis: string;
|
59
|
-
|
57
|
+
series: string;
|
60
58
|
scope?: ScopeType;
|
61
59
|
}
|
@@ -10,7 +10,7 @@ import * as i0 from "@angular/core";
|
|
10
10
|
export declare class CubeDocumentSumComponent extends CubeBase<Options> implements DocumentViewComponent {
|
11
11
|
private _router;
|
12
12
|
primaryAxis: CubeAxis;
|
13
|
-
parentAxis
|
13
|
+
parentAxis?: string;
|
14
14
|
periodPolicy: string;
|
15
15
|
indices: string[] | string;
|
16
16
|
selectedAxis: string | number;
|
@@ -27,6 +27,6 @@ export interface Options {
|
|
27
27
|
aggregate: string[];
|
28
28
|
xAxis: string;
|
29
29
|
parentAxis?: string;
|
30
|
-
periodPolicy?: '
|
30
|
+
periodPolicy?: 'Strict' | 'Fish';
|
31
31
|
scope?: ScopeType;
|
32
32
|
}
|
package/package.json
CHANGED