@bizdoc/core 1.11.0-next.4 → 1.11.0-next.8

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.
Files changed (35) hide show
  1. package/esm2020/lib/app.component.mjs +11 -4
  2. package/esm2020/lib/compose/form.component.mjs +3 -5
  3. package/esm2020/lib/compose/trace/trace.pane.component.mjs +2 -2
  4. package/esm2020/lib/core/component-factory-resolver.mjs +9 -2
  5. package/esm2020/lib/core/controls/combination-picker-body.mjs +1 -1
  6. package/esm2020/lib/core/controls/file.input.mjs +45 -16
  7. package/esm2020/lib/core/functions.mjs +1 -1
  8. package/esm2020/lib/core/info/attachment-info.service.mjs +2 -2
  9. package/esm2020/lib/core/mailbox.service.mjs +9 -9
  10. package/esm2020/lib/core/tagging/edit-input.component.mjs +3 -3
  11. package/esm2020/lib/cube/cube-info.service.mjs +3 -3
  12. package/esm2020/lib/cube/cube.service.mjs +5 -2
  13. package/esm2020/lib/cube/matrix/matrix.base.mjs +1 -1
  14. package/esm2020/lib/cube/matrix/matrix.mobile.component.mjs +4 -4
  15. package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +5 -4
  16. package/esm2020/lib/cube/matrix/popup.component.mjs +6 -5
  17. package/esm2020/lib/cube/matrix/table.component.mjs +6 -4
  18. package/esm2020/lib/cube/pivot/pivot.component.mjs +13 -1
  19. package/esm2020/lib/dashboard/score/activity.widget.mjs +2 -5
  20. package/esm2020/lib/views/cube/matrix.component.mjs +19 -20
  21. package/fesm2015/bizdoc-core.mjs +128 -75
  22. package/fesm2015/bizdoc-core.mjs.map +1 -1
  23. package/fesm2020/bizdoc-core.mjs +128 -75
  24. package/fesm2020/bizdoc-core.mjs.map +1 -1
  25. package/lib/app.component.d.ts +3 -1
  26. package/lib/core/controls/combination-picker-body.d.ts +2 -0
  27. package/lib/core/controls/file.input.d.ts +1 -0
  28. package/lib/core/functions.d.ts +3 -1
  29. package/lib/core/mailbox.service.d.ts +4 -3
  30. package/lib/cube/cube-info.service.d.ts +2 -2
  31. package/lib/cube/matrix/matrix.base.d.ts +2 -1
  32. package/lib/cube/matrix/table.component.d.ts +3 -2
  33. package/lib/cube/pivot/pivot.component.d.ts +3 -0
  34. package/lib/views/cube/matrix.component.d.ts +1 -3
  35. package/package.json +1 -1
@@ -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>;
@@ -33,6 +33,8 @@ export interface ExploreSettings {
33
33
  sum?: SumSettings | SumSettings[];
34
34
  /** */
35
35
  aggregate?: string[] | string;
36
+ seriesTotalLabel?: string;
37
+ xAxisTotalLabel?: string;
36
38
  }
37
39
  export declare type Mode = 'filter' | 'results';
38
40
  /** */
@@ -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;
@@ -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: any): {
2
+ export declare function mapToArray(map: {
3
+ [key: string]: any;
4
+ }): {
3
5
  key: string;
4
6
  value: any;
5
7
  }[];
@@ -24,7 +24,7 @@ export declare class MailboxService {
24
24
  constructor(_session: SessionService, _auth: AuthenticationImpl, messaging: HubService, _http: HttpClient);
25
25
  formatDownloadUrl(documentId: number, fileId: number): string;
26
26
  download(documentId: number, fileId: number): Observable<any>;
27
- removeattachment(id: number, fileId: number): Observable<any>;
27
+ removeattachment(recipientId: number, fileId: number): Observable<any>;
28
28
  read(id: number, read: boolean, folderId?: string, received?: Date): Observable<any>;
29
29
  comments(id: number, before: Date): Observable<Comment[]>;
30
30
  tags(id: number, tags: string[]): Observable<any>;
@@ -36,8 +36,8 @@ 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(documentId: number, version: number, attachmentId: number): Observable<Object>;
40
- checkIn(documentId: number, version: number, attachmentId: number, file: File): Observable<Attachment>;
39
+ checkOut(recipientId: number, version: number, attachmentId: number): Observable<Object>;
40
+ checkIn(recipientId: number, version: number, attachmentId: number, file: File): Observable<Attachment>;
41
41
  upload(recipientId: number, formId: string, version: number, files: File | File[], options?: {
42
42
  isPrivate?: boolean;
43
43
  }): Observable<Attachment[]>;
@@ -121,6 +121,7 @@ export interface ItemExtra {
121
121
  }
122
122
  export interface AttachmentExtra extends Attachment {
123
123
  url: SafeUrl;
124
+ icon?: string;
124
125
  fileExt: string;
125
126
  isImage: boolean;
126
127
  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
- /** label */
31
- available?: string;
30
+ seriesTotalLabel?: string;
31
+ xAxisTotalLabel?: string;
32
32
  }
33
33
  export interface ExploreOptions {
34
34
  cube?: string;
@@ -10,7 +10,8 @@ export declare abstract class CubeMatrixBase {
10
10
  private _ds;
11
11
  protected _session: SessionService;
12
12
  table: CubeMatrixComponent;
13
- availableLabel: string;
13
+ seriesTotalLabel: string;
14
+ xAxisTotalLabel: string;
14
15
  loading: boolean;
15
16
  private _axes;
16
17
  private _originalAxes;
@@ -17,7 +17,8 @@ export declare class CubeMatrixComponent implements OnChanges {
17
17
  CURRENCY: string;
18
18
  SYMBOL: string;
19
19
  tableElement: ElementRef<HTMLTableElement>;
20
- availableLabel: string;
20
+ seriesTotalLabel: string;
21
+ xAxisTotalLabel: string;
21
22
  _cube?: string;
22
23
  _xAxis: string;
23
24
  _series: string;
@@ -59,7 +60,7 @@ export declare class CubeMatrixComponent implements OnChanges {
59
60
  explore(column: HeaderInfo, row: HeaderInfo): void;
60
61
  move(x: any, y: any): void;
61
62
  static ɵfac: i0.ɵɵFactoryDeclaration<CubeMatrixComponent, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<CubeMatrixComponent, "bizdoc-cube-matrix", never, { "availableLabel": "availableLabel"; "_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
+ 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
64
  }
64
65
  export declare type SumSettings = {
65
66
  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, _ds: DatasourceService, session: SessionService);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "1.11.0-next.4",
3
+ "version": "1.11.0-next.8",
4
4
  "author": "Moding Ltd.",
5
5
  "homepage": "https://github.com/moding-il/bizdoc.core",
6
6
  "license": "https://github.com/moding-il/bizdoc.core/blob/master/License.md",