@bizdoc/core 1.12.0 → 1.12.1

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.
@@ -61,6 +61,7 @@ export interface DocumentModel<T = any> {
61
61
  };
62
62
  parent?: Chain;
63
63
  children?: Chain[];
64
+ toId?: string;
64
65
  }
65
66
  export interface Chain {
66
67
  completed: boolean;
@@ -85,7 +86,6 @@ export interface RecipientModel<T = any> extends HeaderModel<T>, DocumentModel<T
85
86
  actions?: string[];
86
87
  originId?: number;
87
88
  tags?: string[];
88
- toId?: string;
89
89
  }
90
90
  export interface ConnectorInfo {
91
91
  estimate: boolean;
@@ -136,6 +136,7 @@ export interface Recipient {
136
136
  replied?: Date;
137
137
  estimate?: boolean;
138
138
  action?: string;
139
+ toId?: string;
139
140
  id: number;
140
141
  }
141
142
  export interface ScheduledEvent {
@@ -205,7 +205,9 @@ export declare const STRINGS: {
205
205
  SubstitutingFor: string;
206
206
  SubstitutingNote: string;
207
207
  ActionTaken: string;
208
+ ActionTakenTo: string;
208
209
  YouTakenAction: string;
210
+ YouTakenActionTo: string;
209
211
  YouReceived: string;
210
212
  ReceivedTime: string;
211
213
  ReceivedBy: string;
@@ -731,6 +733,7 @@ export declare const STRINGS: {
731
733
  SubstitutingByYouFemale: string;
732
734
  SubstitutingNote: string;
733
735
  ActionTaken: string;
736
+ ActionTakenTo: string;
734
737
  YouReceived: string;
735
738
  ReceivedTimeFemale: string;
736
739
  ReceivedTimeMale: string;
@@ -739,6 +742,7 @@ export declare const STRINGS: {
739
742
  ReceivedByMale: string;
740
743
  ReceivedByFemale: string;
741
744
  YouTakenAction: string;
745
+ YouTakenActionTo: string;
742
746
  ActionTakenBy: string;
743
747
  YouTakenActionBy: string;
744
748
  ActionTakenByYou: string;
@@ -6,6 +6,7 @@ import { CubeService } from '../cube.service';
6
6
  import { AxesMap } from '../../core/models';
7
7
  import { WindowTitleService } from '../../core/window-title.service';
8
8
  import { CubeMatrixBase } from './matrix.base';
9
+ import { AxisClickEvent } from '../declarations';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare class CubeMatrixMobileComponent extends CubeMatrixBase implements OnInit {
11
12
  private _title;
@@ -15,7 +16,7 @@ export declare class CubeMatrixMobileComponent extends CubeMatrixBase implements
15
16
  constructor(_title: WindowTitleService, _route: ActivatedRoute, _router: Router, service: CubeService, ds: DatasourceService, session: SessionService);
16
17
  ngOnInit(): void;
17
18
  onFilter(axes: AxesMap): void;
18
- explore(axes: AxesMap): void;
19
+ explore(evt: AxisClickEvent): void;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<CubeMatrixMobileComponent, never>;
20
21
  static ɵcmp: i0.ɵɵComponentDeclaration<CubeMatrixMobileComponent, "ng-component", never, {}, {}, never, never>;
21
22
  }
@@ -7,6 +7,7 @@ import { PaneRef } from '../../core/slots/pane-ref';
7
7
  import { AxesMap } from '../../core/models';
8
8
  import { CubeMatrixBase } from './matrix.base';
9
9
  import { TranslateService } from '../../core/translate.service';
10
+ import { AxisClickEvent } from '../declarations';
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class CubeMatrixPaneComponent extends CubeMatrixBase implements OnInit {
12
13
  private _pane;
@@ -16,7 +17,7 @@ export declare class CubeMatrixPaneComponent extends CubeMatrixBase implements O
16
17
  constructor(_pane: PaneRef<CubeMatrixPaneComponent>, _router: PanesRouter, _translate: TranslateService, service: CubeService, ds: DatasourceService, session: SessionService);
17
18
  ngOnInit(): void;
18
19
  onFilter(queryParams: AxesMap): void;
19
- explore(queryParams: AxesMap): void;
20
+ explore(evt: AxisClickEvent): void;
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<CubeMatrixPaneComponent, never>;
21
22
  static ɵcmp: i0.ɵɵComponentDeclaration<CubeMatrixPaneComponent, "ng-component", never, {}, {}, never, never>;
22
23
  }
@@ -6,6 +6,7 @@ import { PromptService } from '../../core/prompt.service';
6
6
  import { AxesMap, Cube, CubeAxis, CubeIndex } from '../../core/models';
7
7
  import { ScopeType } from '../../core/configuration';
8
8
  import { TranslateService } from '../../core/translate.service';
9
+ import { AxisClickEvent } from '../declarations';
9
10
  import * as i0 from "@angular/core";
10
11
  /** cube matrix component*/
11
12
  export declare class CubeMatrixComponent implements OnChanges {
@@ -33,7 +34,7 @@ export declare class CubeMatrixComponent implements OnChanges {
33
34
  loading: boolean;
34
35
  get interactive(): boolean;
35
36
  set interactive(value: boolean);
36
- readonly onExplore: EventEmitter<AxesMap>;
37
+ readonly onExplore: EventEmitter<AxisClickEvent>;
37
38
  readonly loadingChange: EventEmitter<boolean>;
38
39
  rows: HeaderInfo[];
39
40
  columns: HeaderInfo[];
@@ -59,7 +60,7 @@ export declare class CubeMatrixComponent implements OnChanges {
59
60
  private _totals;
60
61
  private _calculatesum;
61
62
  private _format;
62
- explore(column: HeaderInfo, row: HeaderInfo): void;
63
+ explore(column: HeaderInfo, row: HeaderInfo | CubeIndex): void;
63
64
  export(): void;
64
65
  move(x: any, y: any): void;
65
66
  static ɵfac: i0.ɵɵFactoryDeclaration<CubeMatrixComponent, never>;
@@ -1,5 +1,5 @@
1
1
  import { Observable } from "rxjs";
2
- import { AxesMap, CubeAxis } from "../../core/models";
2
+ import { CubeAxis } from "../../core/models";
3
3
  import { SessionService } from "../../core/session.service";
4
4
  import { RouterImpl } from "../../core/router";
5
5
  import { CubeService, Pattern } from "../../cube/cube.service";
@@ -7,6 +7,7 @@ import { DocumentViewRef } from "../document-view-ref";
7
7
  import { CubeBase } from "./cube-base";
8
8
  import { CubeMatrixComponent, SumSettings } from "../../cube/matrix/table.component";
9
9
  import { ScopeType } from "../../core/configuration";
10
+ import { AxisClickEvent } from "../../cube/declarations";
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class CubeDocumentMatrixComponent extends CubeBase<Options> {
12
13
  private _router;
@@ -24,7 +25,7 @@ export declare class CubeDocumentMatrixComponent extends CubeBase<Options> {
24
25
  sum?: SumSettings | SumSettings[];
25
26
  constructor(viewRef: DocumentViewRef<Options>, _router: RouterImpl, service: CubeService, session: SessionService);
26
27
  onViewBind(): void;
27
- explore(axes: AxesMap): void;
28
+ explore(evt: AxisClickEvent): void;
28
29
  /**
29
30
  *
30
31
  * @param value
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
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",