@bizdoc/core 3.3.8 → 3.3.10
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 +14 -14
- package/assets/themes/default.min.css +15 -15
- package/fesm2022/bizdoc-core.mjs +105 -109
- package/fesm2022/bizdoc-core.mjs.map +1 -1
- package/lib/admin/architecture/cube-axes-filter.component.d.ts +2 -2
- package/lib/admin/indices/manage-cube-index.component.d.ts +1 -1
- package/lib/admin/patterns/patterns.component.d.ts +1 -1
- package/lib/admin/permissions/permissions.component.d.ts +1 -1
- package/lib/admin/positions/positions.component.d.ts +1 -1
- package/lib/browse/browse-items.component.d.ts +2 -2
- package/lib/core/base.d.ts +3 -6
- package/lib/core/fields/axes-picker.field.d.ts +2 -2
- package/lib/core/inputs/combination-picker-body.d.ts +2 -2
- package/lib/core/inputs/combination-pool.d.ts +2 -2
- package/lib/core/models.d.ts +2 -2
- package/lib/cube/accum/accum.component.d.ts +2 -2
- package/lib/cube/chart/chart.component.d.ts +2 -2
- package/lib/cube/cube-info.service.d.ts +2 -2
- package/lib/cube/cube.service.d.ts +3 -3
- package/lib/cube/explore/explore-items.component.d.ts +2 -2
- package/lib/cube/explore/explore.pane.component.d.ts +2 -2
- package/lib/cube/explore/item-resolver.service.d.ts +3 -3
- package/lib/cube/filter/filter.component.d.ts +2 -2
- package/lib/cube/grid/grid.component.d.ts +2 -2
- package/lib/cube/matrix/matrix.base.d.ts +3 -3
- package/lib/cube/matrix/matrix.mobile.component.d.ts +2 -2
- package/lib/cube/matrix/matrix.pane.component.d.ts +2 -2
- package/lib/cube/matrix/popup.component.d.ts +2 -2
- package/lib/cube/matrix/table.component.d.ts +2 -2
- package/lib/cube/parallel/parallel.component.d.ts +2 -2
- package/lib/cube/pivot/pivot.component.d.ts +2 -2
- package/lib/cube/spreadsheet/spreadsheet.component.d.ts +2 -2
- package/lib/cube/sum/sum.component.d.ts +2 -2
- package/lib/cube/view-base.d.ts +3 -3
- package/lib/cube/view.mobile.component.d.ts +2 -2
- package/lib/cube/view.pane.component.d.ts +2 -2
- package/lib/dashboard/cube/accum-cube.widget.d.ts +2 -2
- package/lib/dashboard/cube/cube-analysis.base.d.ts +3 -3
- package/lib/dashboard/cube/cube-chart.widget.d.ts +2 -2
- package/lib/reports/cube/grid-documents.component.d.ts +2 -2
- package/lib/reports/cube/table-documents.component.d.ts +2 -2
- package/lib/reports/cube/usage-base.d.ts +3 -3
- package/lib/reports/cube/usage-chart.component.d.ts +2 -2
- package/lib/reports/cube/usage-pivot.component.d.ts +2 -2
- package/lib/views/cube/chart.component.d.ts +2 -2
- package/lib/views/cube/cube-base.d.ts +3 -3
- package/lib/views/cube/explore.component.d.ts +2 -2
- package/lib/views/cube/matrix.component.d.ts +2 -2
- package/lib/views/cube/parallel.component.d.ts +2 -2
- package/lib/views/cube/pivot.component.d.ts +2 -2
- package/lib/views/cube/sum.component.d.ts +2 -2
- package/lib/views/cube/view.component.d.ts +2 -2
- package/package.json +2 -2
- package/public-api.d.ts +1 -1
@@ -2,7 +2,7 @@ import { OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FormGroup, FormBuilder } from '@angular/forms';
|
3
3
|
import { Observable } from 'rxjs';
|
4
4
|
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
5
|
-
import {
|
5
|
+
import { CubeService } from '../../cube/cube.service';
|
6
6
|
import { DesignerRef, ElementModel } from './declarations';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
export declare class DesignerCubeFilterComponent implements OnChanges, OnDestroy {
|
@@ -22,7 +22,7 @@ export declare class DesignerCubeFilterComponent implements OnChanges, OnDestroy
|
|
22
22
|
private readonly _destroy;
|
23
23
|
ngOnChanges(_changes: SimpleChanges): void;
|
24
24
|
/** filter ctor */
|
25
|
-
constructor(_service:
|
25
|
+
constructor(_service: CubeService, _ref: DesignerRef, _fb: FormBuilder);
|
26
26
|
displayValue(val: {
|
27
27
|
key: string;
|
28
28
|
value: any;
|
@@ -10,7 +10,7 @@ import { SessionService } from "../../core/session.service";
|
|
10
10
|
import { CubeAxis } from "../../core/models";
|
11
11
|
import { PromptService } from "../../core/prompt.service";
|
12
12
|
import * as i0 from "@angular/core";
|
13
|
-
export declare class ManageCubeIndexUtility implements UtilityComponent<any
|
13
|
+
export declare class ManageCubeIndexUtility implements UtilityComponent<any>, OnInit, OnDestroy {
|
14
14
|
private _dir;
|
15
15
|
private _ref;
|
16
16
|
private _vc;
|
@@ -15,7 +15,7 @@ import { MatSort } from '@angular/material/sort';
|
|
15
15
|
import { MatPaginator } from '@angular/material/paginator';
|
16
16
|
import { SystemService } from '../system.service';
|
17
17
|
import * as i0 from "@angular/core";
|
18
|
-
export declare class PatternsComponent implements UtilityComponent<boolean
|
18
|
+
export declare class PatternsComponent implements UtilityComponent<boolean>, OnInit, OnDestroy {
|
19
19
|
private _session;
|
20
20
|
private _dir;
|
21
21
|
private _fb;
|
@@ -9,7 +9,7 @@ import { MatTableDataSource } from "@angular/material/table";
|
|
9
9
|
import { MatSort } from "@angular/material/sort";
|
10
10
|
import { MatCheckboxChange } from "@angular/material/checkbox";
|
11
11
|
import * as i0 from "@angular/core";
|
12
|
-
export declare class PermissionsUtility implements OnInit, UtilityComponent<boolean
|
12
|
+
export declare class PermissionsUtility implements OnInit, UtilityComponent<boolean> {
|
13
13
|
private _utilityRef;
|
14
14
|
private _session;
|
15
15
|
private _sb;
|
@@ -16,7 +16,7 @@ import { Popup } from '../../core/popup/popup.service';
|
|
16
16
|
import { UtilityComponent } from '../../core/base';
|
17
17
|
import { UtilityRef } from '../utility-ref';
|
18
18
|
import * as i0 from "@angular/core";
|
19
|
-
export declare class PositionsComponent implements OnInit, OnDestroy, UtilityComponent<boolean
|
19
|
+
export declare class PositionsComponent implements OnInit, OnDestroy, UtilityComponent<boolean>, AdminComponent {
|
20
20
|
private _session;
|
21
21
|
private _utilityRef;
|
22
22
|
private _datasources;
|
@@ -8,7 +8,7 @@ import { FilterType, MailboxService } from '../core/mailbox.service';
|
|
8
8
|
import { SessionService } from '../core/session.service';
|
9
9
|
import { TranslateService } from '../core/translate.service';
|
10
10
|
import { HubService } from '../core/hub.service';
|
11
|
-
import {
|
11
|
+
import { CubeService } from '../cube/cube.service';
|
12
12
|
import { PromptService } from '../core/prompt.service';
|
13
13
|
import { BrowseFilterArgs } from './filter/filter.component';
|
14
14
|
import { RouterImpl } from '../core/router';
|
@@ -53,7 +53,7 @@ export declare class BrowseItemsComponent implements OnInit, OnChanges, OnDestro
|
|
53
53
|
private readonly _loading$;
|
54
54
|
enableViews: boolean;
|
55
55
|
/** browse ctor */
|
56
|
-
constructor(_mailbox: MailboxService, _accounts: AccountService, _cube:
|
56
|
+
constructor(_mailbox: MailboxService, _accounts: AccountService, _cube: CubeService, _session: SessionService, _sb: PromptService, _translate: TranslateService, _cd: ChangeDetectorRef, _router: RouterImpl, _messaging: HubService, _config: BizDocConfig);
|
57
57
|
ngOnInit(): void;
|
58
58
|
ngOnChanges(_: SimpleChanges): void;
|
59
59
|
get folder(): Folder | null;
|
package/lib/core/base.d.ts
CHANGED
@@ -3,10 +3,7 @@ import { AbstractControl, FormGroup } from "@angular/forms";
|
|
3
3
|
import { Observable } from "rxjs";
|
4
4
|
import { MatFormFieldAppearance } from "@angular/material/form-field";
|
5
5
|
export declare type ViewMode = 'compose' | 'preview' | 'print' | 'version' | 'overlay';
|
6
|
-
export declare type FormMode = '';
|
7
6
|
export interface TagComponent<T> extends ManagedComponent<any> {
|
8
|
-
form: FormGroup;
|
9
|
-
mode: ViewMode;
|
10
7
|
onBind(value: T): void;
|
11
8
|
}
|
12
9
|
export interface NotificationComponent<T> extends ManagedComponent<any> {
|
@@ -29,7 +26,7 @@ export interface FormComponent<TModel> extends ManagedComponent<TModel> {
|
|
29
26
|
*/
|
30
27
|
onError?(message: string): void;
|
31
28
|
}
|
32
|
-
export interface ControlDesigner<T = any> {
|
29
|
+
export interface ControlDesigner<T = any> extends ManagedComponent<T> {
|
33
30
|
form: FormGroup;
|
34
31
|
onBind?(model: T): void;
|
35
32
|
}
|
@@ -51,11 +48,11 @@ export interface ManagedComponent<TArgs> {
|
|
51
48
|
export interface WidgetComponent<TResult, TArgs = any> {
|
52
49
|
onBind(data: TResult, args?: TArgs): void;
|
53
50
|
}
|
54
|
-
export interface UtilityComponent<
|
51
|
+
export interface UtilityComponent<TOptions = any> {
|
55
52
|
}
|
56
53
|
export interface ExploreItemComponent<TModel> {
|
57
54
|
onBind(data: TModel): void;
|
58
55
|
}
|
59
|
-
export interface InsightComponent<
|
56
|
+
export interface InsightComponent<TOptions = any> {
|
60
57
|
onBind(model: DocumentModel<any>): void;
|
61
58
|
}
|
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
3
3
|
import { ControlComponent, ViewMode } from '../base';
|
4
4
|
import { CombinationPicker } from '../inputs/combination-picker';
|
5
|
-
import {
|
5
|
+
import { CubeService } from '../../cube/cube.service';
|
6
6
|
import { SessionService } from '../session.service';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
export declare class AxesPickerField implements ControlComponent, OnInit {
|
@@ -18,7 +18,7 @@ export declare class AxesPickerField implements ControlComponent, OnInit {
|
|
18
18
|
focus(): void;
|
19
19
|
ngOnInit(): void;
|
20
20
|
nameOf(value: string): import("rxjs").Observable<string> | null;
|
21
|
-
constructor(_session: SessionService, _service:
|
21
|
+
constructor(_session: SessionService, _service: CubeService);
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AxesPickerField, never>;
|
23
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<AxesPickerField, "ng-component", never, {}, {}, never, never, false, never>;
|
24
24
|
}
|
@@ -3,7 +3,7 @@ import { FormBuilder } from "@angular/forms";
|
|
3
3
|
import { MatSelect } from "@angular/material/select";
|
4
4
|
import { CubeAxis } from "../models";
|
5
5
|
import { SessionService } from "../session.service";
|
6
|
-
import {
|
6
|
+
import { CubeService } from "../../cube/cube.service";
|
7
7
|
import { DatasourceService } from "../datasource.service";
|
8
8
|
import { PromptService } from "../prompt.service";
|
9
9
|
import { CubeInfo } from "../../cube/cube-info.service";
|
@@ -65,7 +65,7 @@ export declare class CombinationPickerBody implements OnInit, OnDestroy {
|
|
65
65
|
_combinations: string[][];
|
66
66
|
private _data;
|
67
67
|
private _cube;
|
68
|
-
constructor(dialogData: CombinationBodyData, overlayData: CombinationBodyData, _fb: FormBuilder, _snackbar: PromptService, _accountInfo: CubeInfo, _ds: DatasourceService, _cd: ChangeDetectorRef, _session: SessionService, _service:
|
68
|
+
constructor(dialogData: CombinationBodyData, overlayData: CombinationBodyData, _fb: FormBuilder, _snackbar: PromptService, _accountInfo: CubeInfo, _ds: DatasourceService, _cd: ChangeDetectorRef, _session: SessionService, _service: CubeService);
|
69
69
|
ngOnInit(): void;
|
70
70
|
/**
|
71
71
|
*
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { OnInit, EventEmitter, OnDestroy } from "@angular/core";
|
2
2
|
import { FormBuilder, FormGroup } from "@angular/forms";
|
3
3
|
import { SessionService } from "../session.service";
|
4
|
-
import {
|
4
|
+
import { CubeService } from "../../cube/cube.service";
|
5
5
|
import { CubeAxis, Cube } from "../models";
|
6
6
|
import { MatFormFieldAppearance } from "@angular/material/form-field";
|
7
7
|
import * as i0 from "@angular/core";
|
@@ -31,7 +31,7 @@ export declare class CombinationPool implements OnInit, OnDestroy {
|
|
31
31
|
};
|
32
32
|
};
|
33
33
|
private readonly _destroy;
|
34
|
-
constructor(_service:
|
34
|
+
constructor(_service: CubeService, _fb: FormBuilder, _session: SessionService);
|
35
35
|
ngOnInit(): void;
|
36
36
|
private _populate;
|
37
37
|
clear(axis: string): void;
|
package/lib/core/models.d.ts
CHANGED
@@ -82,14 +82,14 @@ export interface WorkflowInfo {
|
|
82
82
|
connectors: ConnectorInfo[];
|
83
83
|
}
|
84
84
|
export interface RecipientModel<T = any> extends HeaderModel<T>, DocumentModel<T> {
|
85
|
-
extra?: any;
|
86
85
|
actions?: string[];
|
87
86
|
fyi: boolean;
|
88
87
|
originId?: number;
|
89
|
-
roleId?:
|
88
|
+
roleId?: string;
|
90
89
|
escalated?: boolean;
|
91
90
|
tags?: string[];
|
92
91
|
byId?: string;
|
92
|
+
substituteId?: string;
|
93
93
|
}
|
94
94
|
export interface ConnectorInfo {
|
95
95
|
originId?: number;
|
@@ -2,7 +2,7 @@ import { EventEmitter, OnDestroy, OnInit, ElementRef, SimpleChanges, OnChanges }
|
|
2
2
|
import { AccumulationDataLabelSettingsModel, TooltipSettingsModel, LegendSettingsModel, AccumulationChart, IPointEventArgs, IAccTextRenderEventArgs, IAccTooltipRenderEventArgs } from '@syncfusion/ej2-charts';
|
3
3
|
import { AxisClickEvent, CubeViewerComponent } from "../declarations";
|
4
4
|
import { AxesMap, ChartType } from '../../core/models';
|
5
|
-
import {
|
5
|
+
import { CubeService, Point } from '../cube.service';
|
6
6
|
import { SessionService } from '../../core/session.service';
|
7
7
|
import { TranslateService } from '../../core/translate.service';
|
8
8
|
import { PromptService } from '../../core/prompt.service';
|
@@ -44,7 +44,7 @@ export declare class CubeAccumulationChartComponent implements OnInit, OnChanges
|
|
44
44
|
private readonly _intl;
|
45
45
|
private readonly _destroy;
|
46
46
|
/** chart ctor */
|
47
|
-
constructor(_service:
|
47
|
+
constructor(_service: CubeService, _sb: PromptService, _translate: TranslateService, _elementRef: ElementRef<HTMLDivElement>, _session: SessionService);
|
48
48
|
ngOnInit(): void;
|
49
49
|
textRender(e: IAccTextRenderEventArgs): void;
|
50
50
|
tooltipRender(e: IAccTooltipRenderEventArgs): void;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { EventEmitter, ElementRef, OnInit, OnDestroy, SimpleChanges, OnChanges } from '@angular/core';
|
2
2
|
import { Chart, CrosshairSettingsModel, AxisModel, ChartAreaModel, TooltipSettingsModel, LegendSettingsModel, IPointEventArgs, ITooltipRenderEventArgs } from '@syncfusion/ej2-charts';
|
3
|
-
import {
|
3
|
+
import { CubeService } from '../cube.service';
|
4
4
|
import { AxisClickEvent, CubeViewerComponent } from "../declarations";
|
5
5
|
import { AxesMap, ChartType, YAxis } from '../../core/models';
|
6
6
|
import { PromptService } from '../../core/prompt.service';
|
@@ -54,7 +54,7 @@ export declare class CubeChartComponent implements OnInit, OnChanges, OnDestroy,
|
|
54
54
|
private readonly _intl;
|
55
55
|
private readonly _destroy;
|
56
56
|
/** chart ctor */
|
57
|
-
constructor(_service:
|
57
|
+
constructor(_service: CubeService, _sb: PromptService, _translate: TranslateService, _session: SessionService, _elementRef: ElementRef);
|
58
58
|
ngOnInit(): void;
|
59
59
|
/**
|
60
60
|
*
|
@@ -3,7 +3,7 @@ import { AxesMap } from "../core/models";
|
|
3
3
|
import { AxisPlace, AxisType } from "./declarations";
|
4
4
|
import { ScopeType } from "../core/configuration";
|
5
5
|
import { SessionService } from "../core/session.service";
|
6
|
-
import {
|
6
|
+
import { CubeService } from "./cube.service";
|
7
7
|
import { Popup } from "../core/popup/popup.service";
|
8
8
|
import { RouterImpl } from "../core/router";
|
9
9
|
import { SumSettings } from "./matrix/table.component";
|
@@ -48,7 +48,7 @@ export declare class CubeInfo {
|
|
48
48
|
private _router;
|
49
49
|
private _popup;
|
50
50
|
private _cf;
|
51
|
-
constructor(_session: SessionService, _service:
|
51
|
+
constructor(_session: SessionService, _service: CubeService, _router: RouterImpl, _popup: Popup, _cf: BizDocComponentFactoryResolver);
|
52
52
|
navigate(axes: Array<string | number | null | undefined> | {
|
53
53
|
[axis: string]: (string | number);
|
54
54
|
}, options?: CubeDataOptions): void;
|
@@ -17,7 +17,7 @@ export declare const AXIS_SPECIAL_CHARS: RegExp;
|
|
17
17
|
export declare const AXIS_VALUE_PATTERN: RegExp;
|
18
18
|
export declare const CLDR_FILES: string[];
|
19
19
|
/** query cube */
|
20
|
-
export declare class
|
20
|
+
export declare class CubeService {
|
21
21
|
private _config;
|
22
22
|
private _http;
|
23
23
|
private _type;
|
@@ -227,8 +227,8 @@ export declare class AnalysisService {
|
|
227
227
|
* @param cube
|
228
228
|
*/
|
229
229
|
private _decorateTable;
|
230
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
231
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
230
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CubeService, never>;
|
231
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CubeService>;
|
232
232
|
}
|
233
233
|
export declare function progress(time?: number): (source: Observable<any>) => Observable<boolean>;
|
234
234
|
/** modelize cube results as nested maps */
|
@@ -3,7 +3,7 @@ import { MatTableDataSource } from '@angular/material/table';
|
|
3
3
|
import { MatSort } from '@angular/material/sort';
|
4
4
|
import { MatPaginator } from '@angular/material/paginator';
|
5
5
|
import { FieldInfo, AxesMap } from '../../core/models';
|
6
|
-
import {
|
6
|
+
import { CubeService } from '../cube.service';
|
7
7
|
import { PromptService } from '../../core/prompt.service';
|
8
8
|
import { TranslateService } from '../../core/translate.service';
|
9
9
|
import { SessionService } from '../../core/session.service';
|
@@ -38,7 +38,7 @@ export declare class ExploreItemsComponent implements OnInit, OnChanges, OnDestr
|
|
38
38
|
private _template?;
|
39
39
|
private _cube;
|
40
40
|
/** drill-down ctor */
|
41
|
-
constructor(_service:
|
41
|
+
constructor(_service: CubeService, _sb: PromptService, _session: SessionService, _translate: TranslateService);
|
42
42
|
ngOnInit(): void;
|
43
43
|
refresh(): void;
|
44
44
|
ngOnChanges(_: SimpleChanges): void;
|
@@ -3,7 +3,7 @@ import { SessionService } from '../../core/session.service';
|
|
3
3
|
import { PanesRouter } from '../../core/slots/router.service';
|
4
4
|
import { PaneRef } from '../../core/slots/pane-ref';
|
5
5
|
import { TranslateService } from '../../core/translate.service';
|
6
|
-
import {
|
6
|
+
import { CubeService } from '../cube.service';
|
7
7
|
import { ExploreItemEvent } from './explore-items.component';
|
8
8
|
import { PromptService } from '../../core/prompt.service';
|
9
9
|
import { ScopeType } from '../../core/configuration';
|
@@ -22,7 +22,7 @@ export declare class CubeExplorePaneComponent {
|
|
22
22
|
scope?: ScopeType;
|
23
23
|
loading: boolean;
|
24
24
|
private _cube;
|
25
|
-
constructor(_pane: PaneRef<CubeExplorePaneComponent>, _sb: PromptService, _session: SessionService, _service:
|
25
|
+
constructor(_pane: PaneRef<CubeExplorePaneComponent>, _sb: PromptService, _session: SessionService, _service: CubeService, _translate: TranslateService, _router: PanesRouter);
|
26
26
|
resize(): void;
|
27
27
|
item(evt: ExploreItemEvent): void;
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeExplorePaneComponent, never>;
|
@@ -1,18 +1,18 @@
|
|
1
1
|
import { ActivatedRouteSnapshot } from '@angular/router';
|
2
2
|
import { Observable } from 'rxjs';
|
3
|
-
import {
|
3
|
+
import { CubeService } from '../cube.service';
|
4
4
|
import { PaneResolve, ParamMap } from '../../core/configuration';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
export declare class CubeItemResolver implements PaneResolve<any> {
|
7
7
|
private _service;
|
8
|
-
constructor(_service:
|
8
|
+
constructor(_service: CubeService);
|
9
9
|
onResolve(params: ParamMap, queryParams: ParamMap): Observable<any>;
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeItemResolver, never>;
|
11
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<CubeItemResolver>;
|
12
12
|
}
|
13
13
|
export declare class CubeItemResolveService {
|
14
14
|
private _service;
|
15
|
-
constructor(_service:
|
15
|
+
constructor(_service: CubeService);
|
16
16
|
resolve(route: ActivatedRouteSnapshot): Observable<void | any>;
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeItemResolveService, never>;
|
18
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<CubeItemResolveService>;
|
@@ -3,7 +3,7 @@ import { FormGroup, FormBuilder } from '@angular/forms';
|
|
3
3
|
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
4
4
|
import { Observable } from 'rxjs';
|
5
5
|
import { AxesMap, CubeAxis } from '../../core/models';
|
6
|
-
import {
|
6
|
+
import { CubeService } from '../cube.service';
|
7
7
|
import { SessionService } from '../../core/session.service';
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
export declare class CubeFilterComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {
|
@@ -34,7 +34,7 @@ export declare class CubeFilterComponent implements OnInit, OnChanges, AfterView
|
|
34
34
|
private _initialize;
|
35
35
|
focus(): void;
|
36
36
|
/** filter ctor */
|
37
|
-
constructor(_service:
|
37
|
+
constructor(_service: CubeService, _element: ElementRef<HTMLDivElement>, _cd: ChangeDetectorRef, _fb: FormBuilder, _session: SessionService);
|
38
38
|
ngAfterViewInit(): void;
|
39
39
|
displayValue(val: any): any;
|
40
40
|
change(axis: string, evt: MatAutocompleteSelectedEvent): void;
|
@@ -2,7 +2,7 @@ import { EventEmitter, OnInit, ElementRef, OnDestroy, SimpleChanges, OnChanges }
|
|
2
2
|
import { GroupSettingsModel, Grid, AggregateColumnModel, SelectionSettingsModel, CellSelectingEventArgs, QueryCellInfoEventArgs, ColumnModel } from '@syncfusion/ej2-grids';
|
3
3
|
import { AxisClickEvent, CubeViewerComponent } from "../declarations";
|
4
4
|
import { AxesMap } from "../../core/models";
|
5
|
-
import {
|
5
|
+
import { CubeService } from "../cube.service";
|
6
6
|
import { PromptService } from "../../core/prompt.service";
|
7
7
|
import { DatasourceService } from "../../core/datasource.service";
|
8
8
|
import { SessionService } from "../../core/session.service";
|
@@ -41,7 +41,7 @@ export declare class CubeGridComponent implements OnInit, OnChanges, CubeViewerC
|
|
41
41
|
private _columns;
|
42
42
|
private _cube;
|
43
43
|
private _ready;
|
44
|
-
constructor(_session: SessionService, _sb: PromptService, _ds: DatasourceService, _service:
|
44
|
+
constructor(_session: SessionService, _sb: PromptService, _ds: DatasourceService, _service: CubeService, _elementRef: ElementRef);
|
45
45
|
ngOnInit(): void;
|
46
46
|
/** */
|
47
47
|
ngOnChanges(changes: SimpleChanges): void;
|
@@ -2,12 +2,12 @@ import { Observable } from 'rxjs';
|
|
2
2
|
import { AxesMap, Cube, CubeAxis } from '../../core/models';
|
3
3
|
import { SessionService } from '../../core/session.service';
|
4
4
|
import { DatasourceService } from '../../core/datasource.service';
|
5
|
-
import {
|
5
|
+
import { CubeService, Pattern } from '../cube.service';
|
6
6
|
import { AxisPlace, AxisType } from '../declarations';
|
7
7
|
import { CubeMatrixComponent, SumSettings } from './table.component';
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
export declare abstract class CubeMatrixBase {
|
10
|
-
protected _service:
|
10
|
+
protected _service: CubeService;
|
11
11
|
private _ds;
|
12
12
|
protected _session: SessionService;
|
13
13
|
abstract table: CubeMatrixComponent;
|
@@ -48,7 +48,7 @@ export declare abstract class CubeMatrixBase {
|
|
48
48
|
/** one or more axis */
|
49
49
|
protected set selection(value: string | string[] | undefined);
|
50
50
|
configuration: Cube;
|
51
|
-
constructor(_service:
|
51
|
+
constructor(_service: CubeService, _ds: DatasourceService, _session: SessionService);
|
52
52
|
private _populate;
|
53
53
|
/**
|
54
54
|
*
|
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
3
3
|
import { SessionService } from '../../core/session.service';
|
4
4
|
import { DatasourceService } from '../../core/datasource.service';
|
5
|
-
import {
|
5
|
+
import { CubeService } from '../cube.service';
|
6
6
|
import { WindowTitleService } from '../../core/window-title.service';
|
7
7
|
import { AxesMap } from '../../core/models';
|
8
8
|
import { AxisClickEvent } from '../declarations';
|
@@ -15,7 +15,7 @@ export declare class CubeMatrixMobileComponent extends CubeMatrixBase implements
|
|
15
15
|
private _router;
|
16
16
|
table: CubeMatrixComponent;
|
17
17
|
/** cube-info ctor */
|
18
|
-
constructor(_title: WindowTitleService, _route: ActivatedRoute, _router: Router, service:
|
18
|
+
constructor(_title: WindowTitleService, _route: ActivatedRoute, _router: Router, service: CubeService, ds: DatasourceService, session: SessionService);
|
19
19
|
ngOnInit(): void;
|
20
20
|
onFilter(axes: AxesMap): void;
|
21
21
|
explore(evt: AxisClickEvent): void;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { OnInit } from '@angular/core';
|
2
2
|
import { SessionService } from '../../core/session.service';
|
3
3
|
import { DatasourceService } from '../../core/datasource.service';
|
4
|
-
import {
|
4
|
+
import { CubeService } from '../cube.service';
|
5
5
|
import { PanesRouter } from '../../core/slots/router.service';
|
6
6
|
import { TranslateService } from '../../core/translate.service';
|
7
7
|
import { AxesMap } from '../../core/models';
|
@@ -17,7 +17,7 @@ export declare class CubeMatrixPaneComponent extends CubeMatrixBase implements O
|
|
17
17
|
private _translate;
|
18
18
|
table: CubeMatrixComponent;
|
19
19
|
/** cube-info ctor */
|
20
|
-
constructor(_pane: PaneRef<CubeMatrixPaneComponent, Data>, _router: PanesRouter, _translate: TranslateService, service:
|
20
|
+
constructor(_pane: PaneRef<CubeMatrixPaneComponent, Data>, _router: PanesRouter, _translate: TranslateService, service: CubeService, ds: DatasourceService, session: SessionService);
|
21
21
|
ngOnInit(): void;
|
22
22
|
onFilter(queryParams: AxesMap): void;
|
23
23
|
explore(evt: AxisClickEvent): void;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { OnInit } from '@angular/core';
|
2
|
-
import {
|
2
|
+
import { CubeService } from '../../cube/cube.service';
|
3
3
|
import { CubeData } from '../cube-info.service';
|
4
4
|
import { SessionService } from '../../core/session.service';
|
5
5
|
import { DatasourceService } from '../../core/datasource.service';
|
@@ -14,7 +14,7 @@ export declare class CubeMatrixPopupComponent extends CubeMatrixBase implements
|
|
14
14
|
preloading: boolean;
|
15
15
|
/** filters */
|
16
16
|
/** cube-info ctor */
|
17
|
-
constructor(_ref: PopupRef, data: CubeData, service:
|
17
|
+
constructor(_ref: PopupRef, data: CubeData, service: CubeService, ds: DatasourceService, session: SessionService);
|
18
18
|
ngOnInit(): void;
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeMatrixPopupComponent, never>;
|
20
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<CubeMatrixPopupComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
2
|
-
import {
|
2
|
+
import { CubeService } from '../cube.service';
|
3
3
|
import { SessionService } from '../../core/session.service';
|
4
4
|
import { DatasourceService } from '../../core/datasource.service';
|
5
5
|
import { PromptService } from '../../core/prompt.service';
|
@@ -55,7 +55,7 @@ export declare class CubeMatrixComponent implements OnChanges {
|
|
55
55
|
series: CubeAxis;
|
56
56
|
private _rawdata;
|
57
57
|
private _prepare;
|
58
|
-
constructor(_sb: PromptService, _service:
|
58
|
+
constructor(_sb: PromptService, _service: CubeService, _session: SessionService, _translate: TranslateService, _ds: DatasourceService);
|
59
59
|
ngOnChanges(changes: SimpleChanges): void;
|
60
60
|
private _addAccumHeaders;
|
61
61
|
refresh(): void;
|
@@ -2,7 +2,7 @@ import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angu
|
|
2
2
|
import { AxisSettingsModel, IPointRegionEventArgs, SparklineType } from '@syncfusion/ej2-charts';
|
3
3
|
import { PromptService } from '../../core/prompt.service';
|
4
4
|
import { SessionService } from '../../core/session.service';
|
5
|
-
import {
|
5
|
+
import { CubeService } from '../../cube/cube.service';
|
6
6
|
import { AxesMap } from '../../core/models';
|
7
7
|
import { Item } from './item';
|
8
8
|
import { ScopeType } from '../../core/configuration';
|
@@ -36,7 +36,7 @@ export declare class CubeParallelComponent implements OnInit, OnChanges, OnDestr
|
|
36
36
|
private _primary;
|
37
37
|
private readonly _loading;
|
38
38
|
private readonly _destroy;
|
39
|
-
constructor(_sb: PromptService, _service:
|
39
|
+
constructor(_sb: PromptService, _service: CubeService, _session: SessionService);
|
40
40
|
ngOnChanges(changes: SimpleChanges): void;
|
41
41
|
ngOnInit(): void;
|
42
42
|
private _initialize;
|
@@ -8,7 +8,7 @@ import { IPointEventArgs } from '@syncfusion/ej2-charts';
|
|
8
8
|
import { Tooltip } from '@syncfusion/ej2-popups';
|
9
9
|
import { AxesMap, ChartType, YAxis } from '../../core/models';
|
10
10
|
import { AxisClickEvent, CubeViewerComponent } from "../declarations";
|
11
|
-
import {
|
11
|
+
import { CubeService } from '../cube.service';
|
12
12
|
import { PromptService } from '../../core/prompt.service';
|
13
13
|
import { SessionService } from '../../core/session.service';
|
14
14
|
import { TranslateService } from '../../core/translate.service';
|
@@ -59,7 +59,7 @@ export declare class CubePivotComponent implements CubeViewerComponent, OnInit,
|
|
59
59
|
private _data;
|
60
60
|
private readonly _destroy;
|
61
61
|
/** pivot ctor */
|
62
|
-
constructor(_service:
|
62
|
+
constructor(_service: CubeService, _session: SessionService, _translate: TranslateService, _sb: PromptService, _elementRef: ElementRef);
|
63
63
|
ngOnInit(): void;
|
64
64
|
private _getIndexTitle;
|
65
65
|
private _getAxisTitle;
|
@@ -2,7 +2,7 @@ import { EventEmitter, OnInit, ElementRef, OnDestroy, SimpleChanges, OnChanges }
|
|
2
2
|
import { ColumnModel, RowModel, Spreadsheet, RangeModel, CellStyleModel, SelectEventArgs, AutoFillSettingsModel, ScrollSettingsModel, SheetModel } from "@syncfusion/ej2-spreadsheet";
|
3
3
|
import { AxisClickEvent, CubeViewerComponent } from "../declarations";
|
4
4
|
import { AxesMap, YAxis } from "../../core/models";
|
5
|
-
import {
|
5
|
+
import { CubeService } from "../cube.service";
|
6
6
|
import { PromptService } from "../../core/prompt.service";
|
7
7
|
import { TranslateService } from "../../core/translate.service";
|
8
8
|
import { DatasourceService } from "../../core/datasource.service";
|
@@ -51,7 +51,7 @@ export declare class CubeSpreadsheetComponent implements OnInit, CubeViewerCompo
|
|
51
51
|
private _xcolumns;
|
52
52
|
private _prepare;
|
53
53
|
private _numberFormat;
|
54
|
-
constructor(_session: SessionService, _sb: PromptService, _service:
|
54
|
+
constructor(_session: SessionService, _sb: PromptService, _service: CubeService, _translate: TranslateService, _ds: DatasourceService, _elementRef: ElementRef);
|
55
55
|
ngOnInit(): void;
|
56
56
|
ngOnChanges(changes: SimpleChanges): void;
|
57
57
|
resize(): void;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { EventEmitter, OnChanges, SimpleChanges } from "@angular/core";
|
2
2
|
import { SessionService } from "../../core/session.service";
|
3
|
-
import {
|
3
|
+
import { CubeService } from "../../cube/cube.service";
|
4
4
|
import { DatasourceService } from "../../core/datasource.service";
|
5
5
|
import { PromptService } from "../../core/prompt.service";
|
6
6
|
import { AxesMap, CubeAxis } from "../../core/models";
|
@@ -35,7 +35,7 @@ export declare class CubeSumComponent implements OnChanges {
|
|
35
35
|
private _results;
|
36
36
|
private _scoperesults;
|
37
37
|
private _scope;
|
38
|
-
constructor(_ds: DatasourceService, _service:
|
38
|
+
constructor(_ds: DatasourceService, _service: CubeService, _sb: PromptService, _session: SessionService);
|
39
39
|
ngOnChanges(_: SimpleChanges): void;
|
40
40
|
private _strict;
|
41
41
|
private _handleErr;
|
package/lib/cube/view-base.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AxesMap, Cube, CubeView } from '../core/models';
|
2
|
-
import {
|
2
|
+
import { CubeService, Pattern } from './cube.service';
|
3
3
|
import { SessionService } from '../core/session.service';
|
4
4
|
import { GuideService } from '../core/guide/guide.service';
|
5
5
|
import { CubeViewComponent } from './cube-view.component';
|
@@ -9,7 +9,7 @@ import * as i0 from "@angular/core";
|
|
9
9
|
export declare abstract class ViewBase {
|
10
10
|
protected _session: SessionService;
|
11
11
|
protected _router: RouterImpl;
|
12
|
-
protected _service:
|
12
|
+
protected _service: CubeService;
|
13
13
|
private _guide;
|
14
14
|
abstract viewPane: CubeViewComponent;
|
15
15
|
patterns: Pattern[];
|
@@ -30,7 +30,7 @@ export declare abstract class ViewBase {
|
|
30
30
|
private _originalAxes;
|
31
31
|
get originalAxes(): AxesMap;
|
32
32
|
set originalAxes(value: AxesMap);
|
33
|
-
constructor(_session: SessionService, _router: RouterImpl, _service:
|
33
|
+
constructor(_session: SessionService, _router: RouterImpl, _service: CubeService, _guide: GuideService);
|
34
34
|
patternChange(pattern: Pattern): void;
|
35
35
|
clearFilter(): void;
|
36
36
|
navigate(queryParams: ParamMap): void;
|
@@ -2,7 +2,7 @@ import { OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute } from '@angular/router';
|
3
3
|
import { MatSidenav } from '@angular/material/sidenav';
|
4
4
|
import { AxesMap } from '../core/models';
|
5
|
-
import {
|
5
|
+
import { CubeService } from './cube.service';
|
6
6
|
import { SessionService } from '../core/session.service';
|
7
7
|
import { GuideService } from '../core/guide/guide.service';
|
8
8
|
import { WindowTitleService } from '../core/window-title.service';
|
@@ -28,7 +28,7 @@ export declare class CubeMobileViewComponent extends ViewBase implements OnInit,
|
|
28
28
|
private _navigating;
|
29
29
|
private readonly _destroy;
|
30
30
|
/** cube ctor */
|
31
|
-
constructor(session: SessionService, router: RouterImpl, service:
|
31
|
+
constructor(session: SessionService, router: RouterImpl, service: CubeService, guide: GuideService, _sb: PromptService, _title: WindowTitleService, _route: ActivatedRoute);
|
32
32
|
ngOnInit(): void;
|
33
33
|
exploreItem(evt: ExploreItemEvent): void;
|
34
34
|
toggleFilter(): void;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ElementRef, OnInit } from '@angular/core';
|
2
|
-
import {
|
2
|
+
import { CubeService } from './cube.service';
|
3
3
|
import { SessionService } from '../core/session.service';
|
4
4
|
import { GuideService } from '../core/guide/guide.service';
|
5
5
|
import { CubeViewComponent } from './cube-view.component';
|
@@ -14,7 +14,7 @@ export declare class CubeViewPaneComponent extends ViewBase implements OnInit {
|
|
14
14
|
private _popup;
|
15
15
|
viewPane: CubeViewComponent;
|
16
16
|
filterEl: ElementRef<HTMLElement>;
|
17
|
-
constructor(session: SessionService, _pane: PaneRef<CubeViewPaneComponent>, _popup: Popup, router: RouterImpl, service:
|
17
|
+
constructor(session: SessionService, _pane: PaneRef<CubeViewPaneComponent>, _popup: Popup, router: RouterImpl, service: CubeService, guide: GuideService);
|
18
18
|
ngOnInit(): void;
|
19
19
|
/**
|
20
20
|
*
|
@@ -3,7 +3,7 @@ import { LegendSeriesModel, TooltipSettingsModel, AccumulationChart, Accumulatio
|
|
3
3
|
import { CubeAnalysisBase, ChartSettingsModel } from './cube-analysis.base';
|
4
4
|
import { DatasourceService } from '../../core/datasource.service';
|
5
5
|
import { SessionService } from '../../core/session.service';
|
6
|
-
import {
|
6
|
+
import { CubeService, Series, Point } from '../../cube/cube.service';
|
7
7
|
import { WidgetRef } from "../widget-ref";
|
8
8
|
import { Dimentions } from '../../core/models';
|
9
9
|
import { CubeInfo } from '../../cube/cube-info.service';
|
@@ -19,7 +19,7 @@ export declare class CubeAccumAnalysisWidget extends CubeAnalysisBase implements
|
|
19
19
|
readonly legendSettings: LegendSeriesModel;
|
20
20
|
readonly tooltip: TooltipSettingsModel;
|
21
21
|
readonly animation: AnimationModel;
|
22
|
-
constructor(ref: WidgetRef<ChartSettingsModel>, info: CubeInfo, session: SessionService, ds: DatasourceService, cube:
|
22
|
+
constructor(ref: WidgetRef<ChartSettingsModel>, info: CubeInfo, session: SessionService, ds: DatasourceService, cube: CubeService, _elementRef: ElementRef<HTMLDivElement>);
|
23
23
|
onLoad(data: Series[]): void;
|
24
24
|
onResize(dim: Dimentions): void;
|
25
25
|
onThemeChange(): void;
|