@bizdoc/core 1.10.0-next.9 → 1.10.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/esm2020/lib/admin/form/workflow/workflow.component.mjs +2 -2
- package/esm2020/lib/browse/filter/filter.component.mjs +1 -1
- package/esm2020/lib/core/controls/select.input.mjs +2 -2
- package/esm2020/lib/core/models.mjs +1 -1
- package/esm2020/lib/core/slots/pane-ref.mjs +1 -1
- package/esm2020/lib/cube/accum/accum.component.mjs +2 -3
- package/esm2020/lib/cube/chart/chart.component.mjs +2 -3
- package/esm2020/lib/cube/cube-info.service.mjs +3 -3
- package/esm2020/lib/cube/grid/spreadsheet.component.mjs +2 -2
- package/esm2020/lib/cube/matrix/matrix.component.mjs +1 -1
- package/esm2020/lib/cube/matrix/matrix.mobile.component.mjs +1 -1
- package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +4 -3
- package/esm2020/lib/cube/matrix/table.component.mjs +152 -103
- package/esm2020/lib/cube/sum/sum.component.mjs +3 -3
- package/esm2020/lib/dashboard/cube/accum-cube.widget.mjs +2 -3
- package/esm2020/lib/dashboard/cube/cube-chart.widget.mjs +2 -3
- package/esm2020/lib/modules/chart.module.mjs +4 -2
- package/esm2020/lib/shared.module.mjs +3 -1
- package/esm2020/lib/views/cube/matrix.component.mjs +1 -1
- package/esm2020/public-api.mjs +1 -1
- package/fesm2015/bizdoc-core.mjs +170 -122
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +171 -123
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/browse/filter/filter.component.d.ts +1 -1
- package/lib/core/models.d.ts +1 -1
- package/lib/core/slots/pane-ref.d.ts +0 -1
- package/lib/cube/cube-info.service.d.ts +1 -0
- package/lib/cube/matrix/matrix.pane.component.d.ts +1 -0
- package/lib/cube/matrix/table.component.d.ts +21 -7
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
@@ -61,7 +61,7 @@ export declare class BrowseFilterComponent implements OnInit, OnChanges, AfterVi
|
|
61
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrowseFilterComponent, never>;
|
62
62
|
static ɵcmp: i0.ɵɵComponentDeclaration<BrowseFilterComponent, "bizdoc-browse-filter", never, { "values": "values"; "folderId": "folderId"; "exclude": "exclude"; }, { "valuesChange": "valuesChange"; }, never, never>;
|
63
63
|
}
|
64
|
-
export interface BrowseFilterArgs
|
64
|
+
export interface BrowseFilterArgs {
|
65
65
|
form?: string;
|
66
66
|
flag?: boolean;
|
67
67
|
state?: string;
|
package/lib/core/models.d.ts
CHANGED
@@ -549,7 +549,7 @@ export interface CubeAxis {
|
|
549
549
|
combination?: boolean;
|
550
550
|
selectionMode?: 'Single' | 'Pattern' | 'Multiple' | 'Search' | 'None';
|
551
551
|
}
|
552
|
-
export declare type AxisType = string | number |
|
552
|
+
export declare type AxisType = string | number | Array<string | number>;
|
553
553
|
export interface AxesMap {
|
554
554
|
[axis: string]: AxisType;
|
555
555
|
}
|
@@ -12,6 +12,7 @@ export declare class CubeMatrixPaneComponent extends CubeMatrixBase implements O
|
|
12
12
|
private _pane;
|
13
13
|
private _router;
|
14
14
|
private _translate;
|
15
|
+
available: string;
|
15
16
|
/** cube-info ctor */
|
16
17
|
constructor(_pane: PaneRef<CubeMatrixPaneComponent>, _router: PanesRouter, _translate: TranslateService, service: CubeService, ds: DatasourceService, session: SessionService);
|
17
18
|
ngOnInit(): void;
|
@@ -12,8 +12,11 @@ export declare class CubeMatrixComponent implements OnChanges {
|
|
12
12
|
private _session;
|
13
13
|
private _ds;
|
14
14
|
readonly PRECISION: string;
|
15
|
+
readonly LANGUAGE: string;
|
15
16
|
CURRENCY: string;
|
17
|
+
SYMBOL: string;
|
16
18
|
tableElement: ElementRef<HTMLTableElement>;
|
19
|
+
available: string;
|
17
20
|
_cube?: string;
|
18
21
|
_xAxis: string;
|
19
22
|
_series: string;
|
@@ -28,12 +31,12 @@ export declare class CubeMatrixComponent implements OnChanges {
|
|
28
31
|
set interactive(value: boolean);
|
29
32
|
readonly onExplore: EventEmitter<AxesMap>;
|
30
33
|
readonly loadingChange: EventEmitter<boolean>;
|
31
|
-
rows:
|
32
|
-
columns:
|
34
|
+
rows: HeaderInfo[];
|
35
|
+
columns: HeaderInfo[];
|
33
36
|
indices: CubeIndex[];
|
34
37
|
data: {
|
35
38
|
[series: string]: {
|
36
|
-
[xAxis: string]:
|
39
|
+
[xAxis: string]: string;
|
37
40
|
};
|
38
41
|
};
|
39
42
|
totals: {
|
@@ -42,22 +45,28 @@ export declare class CubeMatrixComponent implements OnChanges {
|
|
42
45
|
cube: Cube;
|
43
46
|
xAxis: CubeAxis;
|
44
47
|
series: CubeAxis;
|
48
|
+
private _data;
|
45
49
|
private _prepare;
|
46
50
|
constructor(_sb: PromptService, _service: CubeService, _session: SessionService, _ds: DatasourceService);
|
47
51
|
ngOnChanges(changes: SimpleChanges): void;
|
48
|
-
private
|
52
|
+
private _addsumheaders;
|
49
53
|
refresh(): void;
|
54
|
+
private _stringfy;
|
50
55
|
private _totals;
|
51
56
|
private _calculatesum;
|
52
|
-
|
57
|
+
private _format;
|
58
|
+
explore(column: HeaderInfo, row: HeaderInfo): void;
|
53
59
|
move(x: any, y: any): void;
|
54
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeMatrixComponent, never>;
|
55
|
-
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>;
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CubeMatrixComponent, "bizdoc-cube-matrix", never, { "available": "available"; "_cube": "cube"; "_xAxis": "xAxis"; "_series": "series"; "_indices": "indices"; "scope": "scope"; "sum": "sum"; "filters": "filters"; "loading": "loading"; "interactive": "interactive"; }, { "onExplore": "explore"; "loadingChange": "loadingChange"; }, never, never>;
|
56
62
|
}
|
57
63
|
export declare type SumSettings = {
|
58
64
|
value?: string | number;
|
59
65
|
axis: 'series' | 'xAxis';
|
60
66
|
title: string;
|
67
|
+
format?: 'percent' | 'currency' | 'number';
|
68
|
+
precision?: string;
|
69
|
+
accumulate?: boolean;
|
61
70
|
calculate?: 'quarter' | 'year' | 'month' | CalculateFn;
|
62
71
|
};
|
63
72
|
export declare interface CalculateFn {
|
@@ -67,8 +76,13 @@ export declare interface CalculateFn {
|
|
67
76
|
};
|
68
77
|
}): number;
|
69
78
|
}
|
70
|
-
declare type
|
79
|
+
declare type HeaderInfo = {
|
71
80
|
key: string;
|
72
81
|
value: any;
|
82
|
+
format?: 'percent' | 'currency' | 'number';
|
83
|
+
precision?: string;
|
84
|
+
accumulate?: boolean;
|
85
|
+
explorable?: boolean;
|
86
|
+
index?: number;
|
73
87
|
};
|
74
88
|
export {};
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -103,7 +103,7 @@ export { AssignActionComponent } from './lib/compose/action/assign-action.compon
|
|
103
103
|
export { ReturnActionComponent } from './lib/compose/action/return-action.component';
|
104
104
|
export { ContactsComponent } from './lib/chat/contacts.component';
|
105
105
|
export { ConversationComponent } from './lib/chat/conversation.component';
|
106
|
-
export { CubeMatrixComponent, SumSettings } from './lib/cube/matrix/table.component';
|
106
|
+
export { CubeMatrixComponent, SumSettings, CalculateFn } from './lib/cube/matrix/table.component';
|
107
107
|
export { VersionCompareComponent } from './lib/compose/version-compare/version-compare.component';
|
108
108
|
export { TimespanInput } from './lib/core/controls/timespan.input';
|
109
109
|
export { AceInput } from './lib/admin/core/ace.input';
|