@bizdoc/core 1.11.4 → 1.12.2
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/brown.min.css +1 -1
- package/assets/themes/dark.min.css +1 -1
- package/assets/themes/deep-purple-teal.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/browse/expanded-item/expanded-item.component.mjs +4 -2
- package/esm2020/lib/compose/action/return-action.component.mjs +11 -5
- package/esm2020/lib/compose/trace/flow.component.mjs +26 -7
- package/esm2020/lib/compose/trace/people.component.mjs +3 -2
- package/esm2020/lib/compose/trace/trace.component.mjs +21 -8
- package/esm2020/lib/core/controls/combination-picker.mjs +3 -3
- package/esm2020/lib/core/controls/file.input.mjs +7 -4
- package/esm2020/lib/core/mailbox.service.mjs +4 -6
- package/esm2020/lib/core/models.mjs +1 -1
- package/esm2020/lib/core/slots/slots.component.mjs +4 -4
- package/esm2020/lib/core/translations.mjs +11 -5
- package/esm2020/lib/cube/declarations.mjs +1 -1
- package/esm2020/lib/cube/explore/explore-items.component.mjs +4 -4
- package/esm2020/lib/cube/explore/explore.pane.component.mjs +5 -4
- package/esm2020/lib/cube/grid/spreadsheet.component.mjs +4 -4
- package/esm2020/lib/cube/matrix/matrix.base.mjs +2 -5
- package/esm2020/lib/cube/matrix/matrix.mobile.component.mjs +5 -3
- package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +9 -4
- package/esm2020/lib/cube/matrix/popup.component.mjs +3 -3
- package/esm2020/lib/cube/matrix/table.component.mjs +112 -106
- package/esm2020/lib/dashboard/recents/recents.widget.mjs +24 -26
- package/esm2020/lib/home/options/options.component.mjs +4 -3
- package/esm2020/lib/views/cube/explore.component.mjs +7 -4
- package/esm2020/lib/views/cube/matrix.component.mjs +6 -4
- package/fesm2015/bizdoc-core.mjs +274 -209
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +270 -209
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/compose/action/return-action.component.d.ts +3 -1
- package/lib/core/models.d.ts +3 -1
- package/lib/core/translations.d.ts +6 -0
- package/lib/cube/explore/explore-items.component.d.ts +1 -1
- package/lib/cube/matrix/matrix.base.d.ts +0 -1
- package/lib/cube/matrix/matrix.mobile.component.d.ts +2 -1
- package/lib/cube/matrix/matrix.pane.component.d.ts +2 -1
- package/lib/cube/matrix/table.component.d.ts +8 -7
- package/lib/dashboard/recents/recents.widget.d.ts +10 -9
- package/lib/home/options/options.component.d.ts +2 -1
- package/lib/views/cube/explore.component.d.ts +2 -0
- package/lib/views/cube/matrix.component.d.ts +3 -2
- package/package.json +1 -1
@@ -4,11 +4,13 @@ import { Recipient } from '../../core/models';
|
|
4
4
|
import { ActionRef } from './action-ref';
|
5
5
|
import { SessionService } from '../../core/session.service';
|
6
6
|
import { AccountService } from '../../core/account.service';
|
7
|
+
import { OnInit } from '@angular/core';
|
7
8
|
import * as i0 from "@angular/core";
|
8
|
-
export declare class ReturnActionComponent implements ArgumentsComponent {
|
9
|
+
export declare class ReturnActionComponent implements ArgumentsComponent, OnInit {
|
9
10
|
private _fb;
|
10
11
|
readonly recipients: Recipient[];
|
11
12
|
constructor(_fb: FormBuilder, actionRef: ActionRef, session: SessionService, accounts: AccountService);
|
13
|
+
ngOnInit(): void;
|
12
14
|
readonly form: import("@angular/forms").FormGroup;
|
13
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReturnActionComponent, never>;
|
14
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<ReturnActionComponent, "ng-component", never, {}, {}, never, never>;
|
package/lib/core/models.d.ts
CHANGED
@@ -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 {
|
@@ -247,6 +248,7 @@ export interface Profile {
|
|
247
248
|
photo?: string;
|
248
249
|
userId: string;
|
249
250
|
byId?: string;
|
251
|
+
byName?: string;
|
250
252
|
name: string;
|
251
253
|
impersonating?: string;
|
252
254
|
available?: AvailabilityState;
|
@@ -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;
|
@@ -516,6 +518,8 @@ export declare const STRINGS: {
|
|
516
518
|
'he-IL': {
|
517
519
|
Condition: string;
|
518
520
|
DragFile: string;
|
521
|
+
DragFileMale: string;
|
522
|
+
DragFileFemale: string;
|
519
523
|
Mention: string;
|
520
524
|
Working: string;
|
521
525
|
WorkingMale: string;
|
@@ -729,6 +733,7 @@ export declare const STRINGS: {
|
|
729
733
|
SubstitutingByYouFemale: string;
|
730
734
|
SubstitutingNote: string;
|
731
735
|
ActionTaken: string;
|
736
|
+
ActionTakenTo: string;
|
732
737
|
YouReceived: string;
|
733
738
|
ReceivedTimeFemale: string;
|
734
739
|
ReceivedTimeMale: string;
|
@@ -737,6 +742,7 @@ export declare const STRINGS: {
|
|
737
742
|
ReceivedByMale: string;
|
738
743
|
ReceivedByFemale: string;
|
739
744
|
YouTakenAction: string;
|
745
|
+
YouTakenActionTo: string;
|
740
746
|
ActionTakenBy: string;
|
741
747
|
YouTakenActionBy: string;
|
742
748
|
ActionTakenByYou: string;
|
@@ -39,7 +39,6 @@ export declare class ExploreItemsComponent implements OnInit, OnChanges, OnDestr
|
|
39
39
|
/** drill-down ctor */
|
40
40
|
constructor(_service: CubeService, _sb: PromptService, _session: SessionService, _translate: TranslateService);
|
41
41
|
ngOnInit(): void;
|
42
|
-
ngOnDestroy(): void;
|
43
42
|
refresh(): void;
|
44
43
|
ngOnChanges(_: SimpleChanges): void;
|
45
44
|
/** */
|
@@ -48,6 +47,7 @@ export declare class ExploreItemsComponent implements OnInit, OnChanges, OnDestr
|
|
48
47
|
private _datasource;
|
49
48
|
expand(item: any): void;
|
50
49
|
exportExcel(): void;
|
50
|
+
ngOnDestroy(): void;
|
51
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExploreItemsComponent, never>;
|
52
52
|
static ɵcmp: i0.ɵɵComponentDeclaration<ExploreItemsComponent, "bizdoc-cube-explore", never, { "pageSize": "pageSize"; "cube": "cube"; "index": "index"; "scope": "scope"; "axes": "axes"; "loading": "loading"; }, { "explore": "explore"; "load": "load"; "loadingChange": "loadingChange"; }, never, never>;
|
53
53
|
}
|
@@ -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(
|
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(
|
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<
|
37
|
+
readonly onExplore: EventEmitter<AxisClickEvent>;
|
37
38
|
readonly loadingChange: EventEmitter<boolean>;
|
38
39
|
rows: HeaderInfo[];
|
39
40
|
columns: HeaderInfo[];
|
@@ -55,13 +56,14 @@ export declare class CubeMatrixComponent implements OnChanges {
|
|
55
56
|
ngOnChanges(changes: SimpleChanges): void;
|
56
57
|
private _addsumheaders;
|
57
58
|
refresh(): void;
|
58
|
-
private
|
59
|
+
private _stringify;
|
60
|
+
private _clone;
|
59
61
|
private _totals;
|
60
62
|
private _calculatesum;
|
61
63
|
private _format;
|
62
|
-
explore(column: HeaderInfo, row: HeaderInfo): void;
|
64
|
+
explore(column: HeaderInfo, row: HeaderInfo | CubeIndex): void;
|
63
65
|
export(): void;
|
64
|
-
|
66
|
+
_move(x: any, y: any): void;
|
65
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeMatrixComponent, never>;
|
66
68
|
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>;
|
67
69
|
}
|
@@ -72,6 +74,7 @@ export declare type SumSettings = {
|
|
72
74
|
format?: 'percent' | 'currency' | 'number';
|
73
75
|
precision?: string;
|
74
76
|
accumulate?: boolean;
|
77
|
+
explorable?: boolean;
|
75
78
|
calculate?: 'quarter' | 'year' | 'month' | CalculateFn;
|
76
79
|
};
|
77
80
|
export declare interface CalculateFn {
|
@@ -84,10 +87,8 @@ export declare interface CalculateFn {
|
|
84
87
|
declare type HeaderInfo = {
|
85
88
|
key: string;
|
86
89
|
value: any;
|
87
|
-
format?: 'percent' | 'currency' | 'number';
|
88
90
|
precision?: string;
|
89
|
-
accumulate?: boolean;
|
90
91
|
explorable?: boolean;
|
91
|
-
|
92
|
+
sum?: SumSettings;
|
92
93
|
};
|
93
94
|
export {};
|
@@ -7,33 +7,34 @@ import { FormControl } from '@angular/forms';
|
|
7
7
|
import { BizDocConfig } from '../../core/configuration';
|
8
8
|
import { RouterImpl } from '../../core/router';
|
9
9
|
import { SessionService } from '../../core/session.service';
|
10
|
+
import { PromptService } from '../../core/prompt.service';
|
10
11
|
import * as i0 from "@angular/core";
|
11
|
-
export declare class RecentsWidget implements WidgetComponent<
|
12
|
+
export declare class RecentsWidget implements WidgetComponent<RecipientInfo[]>, OnInit, OnDestroy {
|
12
13
|
private _router;
|
13
14
|
private _service;
|
14
|
-
|
15
|
-
|
15
|
+
private _ps;
|
16
|
+
dataSource: MatTableDataSource<RecipientInfo>;
|
16
17
|
height: string;
|
17
18
|
readonly search: FormControl;
|
18
19
|
readonly enableAnalysis: boolean;
|
19
20
|
readonly columns: string[];
|
20
21
|
private readonly _destroy;
|
21
|
-
|
22
|
-
constructor(_router: RouterImpl, _service: MailboxService, ref: WidgetRef, session: SessionService, config: BizDocConfig);
|
22
|
+
constructor(_router: RouterImpl, _service: MailboxService, _ps: PromptService, ref: WidgetRef, session: SessionService, config: BizDocConfig);
|
23
23
|
ngOnInit(): void;
|
24
|
-
onBind(data:
|
24
|
+
onBind(data: RecipientInfo[]): void;
|
25
25
|
private _navigate;
|
26
|
-
open(item:
|
27
|
-
view(item:
|
26
|
+
open(item: RecipientInfo): void;
|
27
|
+
view(item: RecipientInfo, evt: Event): void;
|
28
28
|
ngOnDestroy(): void;
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecentsWidget, never>;
|
30
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<RecentsWidget, "ng-component", never, {}, {}, never, never>;
|
31
31
|
}
|
32
|
-
interface
|
32
|
+
interface RecipientInfo {
|
33
33
|
id: number;
|
34
34
|
formId: string;
|
35
35
|
number?: string;
|
36
36
|
subject?: string;
|
37
37
|
stateId: string;
|
38
|
+
loading?: boolean;
|
38
39
|
}
|
39
40
|
export {};
|
@@ -18,9 +18,10 @@ export declare class QuickOptionsComponent implements OnInit, OnDestroy {
|
|
18
18
|
private _session;
|
19
19
|
private _dialog;
|
20
20
|
readonly name: string;
|
21
|
-
|
21
|
+
readonly by: string;
|
22
22
|
online: boolean;
|
23
23
|
theme: string;
|
24
|
+
available: AvailabilityState;
|
24
25
|
readonly languages: string[];
|
25
26
|
readonly themes: Theme[];
|
26
27
|
readonly guides: Guide[];
|
@@ -21,6 +21,7 @@ export declare class CubeExploreViewComponent extends CubeBase<Options> {
|
|
21
21
|
}[]>;
|
22
22
|
};
|
23
23
|
filters: CubeAxis[];
|
24
|
+
pageSize: number;
|
24
25
|
constructor(viewRef: DocumentViewRef<Options>, _sb: PromptService, _router: RouterImpl, service: CubeService, _ds: DatasourceService, session: SessionService);
|
25
26
|
onViewBind(): void;
|
26
27
|
/**
|
@@ -37,5 +38,6 @@ interface Options {
|
|
37
38
|
aggregate?: string[];
|
38
39
|
filters: string[];
|
39
40
|
scope?: ScopeType;
|
41
|
+
pageSize?: number;
|
40
42
|
}
|
41
43
|
export {};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Observable } from "rxjs";
|
2
|
-
import {
|
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(
|
28
|
+
explore(evt: AxisClickEvent): void;
|
28
29
|
/**
|
29
30
|
*
|
30
31
|
* @param value
|