@bizdoc/core 1.12.2 → 1.13.0-next.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/bizdoc-schema.json +1 -14
- package/esm2020/lib/admin/diff/configuration-diff.component.mjs +5 -2
- package/esm2020/lib/admin/document-trace/trace-element.component.mjs +22 -26
- package/esm2020/lib/admin/form/workflow/node.component.mjs +3 -2
- package/esm2020/lib/app.component.mjs +1 -1
- package/esm2020/lib/browse/browse-items.component.mjs +44 -36
- package/esm2020/lib/browse/expanded-item/expanded-item.component.mjs +92 -57
- package/esm2020/lib/compose/action/action-picker.component.mjs +15 -14
- package/esm2020/lib/compose/action/action.base.mjs +9 -4
- package/esm2020/lib/compose/action/action.pane.dialog.exp.mjs +13 -12
- package/esm2020/lib/compose/action/assign-action.component.mjs +15 -7
- package/esm2020/lib/compose/form.component.mjs +6 -3
- package/esm2020/lib/compose/trace/flow.component.mjs +167 -139
- package/esm2020/lib/compose/trace/trace.base.mjs +6 -2
- package/esm2020/lib/compose/trace/trace.component.mjs +139 -162
- package/esm2020/lib/core/hub.service.mjs +1 -1
- package/esm2020/lib/core/mailbox.service.mjs +31 -6
- package/esm2020/lib/core/models.mjs +1 -1
- package/esm2020/lib/core/slots/slots.component.mjs +3 -3
- package/esm2020/lib/core/translations.mjs +25 -6
- package/esm2020/lib/cube/cube-info.service.mjs +3 -3
- package/esm2020/lib/cube/cube.service.mjs +7 -5
- package/esm2020/lib/cube/explore/explore-items.component.mjs +3 -2
- package/esm2020/lib/cube/explore/explore.pane.component.mjs +3 -1
- package/esm2020/lib/cube/matrix/matrix.base.mjs +1 -1
- package/esm2020/lib/cube/matrix/matrix.mobile.component.mjs +1 -1
- package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +5 -3
- package/esm2020/lib/cube/matrix/popup.component.mjs +7 -5
- package/esm2020/lib/cube/matrix/table.component.mjs +136 -123
- package/esm2020/lib/home/home-base.component.mjs +2 -2
- package/esm2020/lib/shared.module.mjs +17 -2
- package/esm2020/lib/views/cube/matrix.component.mjs +1 -1
- package/fesm2015/bizdoc-core.mjs +869 -717
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +859 -714
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/admin/diff/configuration-diff.component.d.ts +1 -0
- package/lib/admin/document-trace/trace-element.component.d.ts +1 -1
- package/lib/app.component.d.ts +2 -2
- package/lib/browse/browse-items.component.d.ts +3 -1
- package/lib/browse/expanded-item/expanded-item.component.d.ts +6 -6
- package/lib/compose/action/action-picker.component.d.ts +2 -1
- package/lib/compose/action/action.base.d.ts +3 -1
- package/lib/compose/action/action.pane.dialog.exp.d.ts +2 -1
- package/lib/compose/action/assign-action.component.d.ts +5 -2
- package/lib/compose/trace/flow.component.d.ts +0 -1
- package/lib/compose/trace/trace.base.d.ts +5 -2
- package/lib/compose/trace/trace.component.d.ts +1 -19
- package/lib/core/hub.service.d.ts +1 -0
- package/lib/core/mailbox.service.d.ts +4 -1
- package/lib/core/models.d.ts +11 -1
- package/lib/core/translations.d.ts +20 -1
- package/lib/cube/cube-info.service.d.ts +2 -0
- package/lib/cube/cube.service.d.ts +2 -1
- package/lib/cube/explore/explore-items.component.d.ts +1 -0
- package/lib/cube/matrix/matrix.base.d.ts +2 -0
- package/lib/cube/matrix/table.component.d.ts +10 -4
- package/package.json +10 -10
@@ -29,7 +29,7 @@ export declare class TraceElementComponent implements OnChanges {
|
|
29
29
|
nodeType: any;
|
30
30
|
constructor(_chat: ChatInfo, _router: PanesRouter, _translate: TranslateService, _accounts: AccountService, _session: SessionService);
|
31
31
|
ngOnChanges(): void;
|
32
|
-
recipientInfo(recipient: Recipient):
|
32
|
+
recipientInfo(recipient: Recipient): Promise<string>;
|
33
33
|
logInfo(log: Log): Observable<string>;
|
34
34
|
compare(item: Log): void;
|
35
35
|
chat(e: MouseEvent): void;
|
package/lib/app.component.d.ts
CHANGED
@@ -14,8 +14,8 @@ export declare class BizDocApp implements OnInit {
|
|
14
14
|
private _cfr;
|
15
15
|
private _session;
|
16
16
|
private _messaging;
|
17
|
-
dir: Direction;
|
18
|
-
private _refresh;
|
17
|
+
readonly dir: Direction;
|
18
|
+
private readonly _refresh;
|
19
19
|
constructor(_vc: ViewContainerRef, _cfr: ComponentFactoryResolver, _session: SessionService, _messaging: HubService, iconRegistry: MatIconRegistry, sanitizer: DomSanitizer);
|
20
20
|
private _initialize;
|
21
21
|
ngOnInit(): void;
|
@@ -13,10 +13,12 @@ import { PromptService } from '../core/prompt.service';
|
|
13
13
|
import { BrowseFilterArgs } from './filter/filter.component';
|
14
14
|
import { RouterImpl } from '../core/router';
|
15
15
|
import { BizDocConfig } from '../core/configuration';
|
16
|
+
import { AccountService } from '../core/account.service';
|
16
17
|
import * as i0 from "@angular/core";
|
17
18
|
export declare const TAKE = 200, SIZE = 20, HEADER_COLUMN_NAMES: string[];
|
18
19
|
export declare class BrowseItemsComponent implements OnInit, OnChanges, OnDestroy {
|
19
20
|
private _mailbox;
|
21
|
+
private _accounts;
|
20
22
|
private _cube;
|
21
23
|
private _session;
|
22
24
|
private _sb;
|
@@ -51,7 +53,7 @@ export declare class BrowseItemsComponent implements OnInit, OnChanges, OnDestro
|
|
51
53
|
private readonly _loading$;
|
52
54
|
enableAnalysis: boolean;
|
53
55
|
/** browse ctor */
|
54
|
-
constructor(_mailbox: MailboxService, _cube: CubeService, _session: SessionService, _sb: PromptService, _translate: TranslateService, _cd: ChangeDetectorRef, _router: RouterImpl, _messaging: HubService, _config: BizDocConfig);
|
56
|
+
constructor(_mailbox: MailboxService, _accounts: AccountService, _cube: CubeService, _session: SessionService, _sb: PromptService, _translate: TranslateService, _cd: ChangeDetectorRef, _router: RouterImpl, _messaging: HubService, _config: BizDocConfig);
|
55
57
|
ngOnInit(): void;
|
56
58
|
ngOnChanges(_: SimpleChanges): void;
|
57
59
|
private _assign;
|
@@ -14,13 +14,13 @@ export declare class ExpandedItemComponent implements OnInit, OnDestroy {
|
|
14
14
|
private _sb;
|
15
15
|
private _chat;
|
16
16
|
private _accounts;
|
17
|
-
private _dir;
|
18
|
-
private _translate;
|
19
17
|
private _mailbox;
|
20
|
-
private _dialog;
|
21
18
|
private _session;
|
19
|
+
private _dir;
|
20
|
+
private _dialog;
|
21
|
+
private _translate;
|
22
22
|
private _messaging;
|
23
|
-
|
23
|
+
model: RecipientModel<any>;
|
24
24
|
readonly sent: EventEmitter<RecipientModel<any>>;
|
25
25
|
actions?: Action[];
|
26
26
|
newComments?: number;
|
@@ -32,7 +32,7 @@ export declare class ExpandedItemComponent implements OnInit, OnDestroy {
|
|
32
32
|
private _typingTask;
|
33
33
|
private _refreshTask;
|
34
34
|
private readonly _destroy;
|
35
|
-
constructor(_sb: PromptService, _chat: ChatInfo, _accounts: AccountService,
|
35
|
+
constructor(_sb: PromptService, _chat: ChatInfo, _accounts: AccountService, _mailbox: MailboxService, _session: SessionService, _dir: Directionality, _dialog: MatDialog, _translate: TranslateService, _messaging: HubService);
|
36
36
|
ngOnInit(): void;
|
37
37
|
private _note;
|
38
38
|
private _actionName;
|
@@ -62,5 +62,5 @@ export declare class ExpandedItemComponent implements OnInit, OnDestroy {
|
|
62
62
|
private _handleResponse;
|
63
63
|
ngOnDestroy(): void;
|
64
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandedItemComponent, never>;
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandedItemComponent, "bizdoc-expanded-item", never, { "
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandedItemComponent, "bizdoc-expanded-item", never, { "model": "model"; }, { "sent": "sent"; }, never, never>;
|
66
66
|
}
|
@@ -5,6 +5,7 @@ import { Action, RecipientModel } from '../../core/models';
|
|
5
5
|
import { SessionService } from '../../core/session.service';
|
6
6
|
import { ActionBase } from './action.base';
|
7
7
|
import { PromptService } from '../../core/prompt.service';
|
8
|
+
import { AccountService } from '../../core/account.service';
|
8
9
|
import * as i0 from "@angular/core";
|
9
10
|
export declare class ActionPicker extends ActionBase implements OnChanges, AfterViewInit {
|
10
11
|
model: RecipientModel<any>;
|
@@ -13,7 +14,7 @@ export declare class ActionPicker extends ActionBase implements OnChanges, After
|
|
13
14
|
working: boolean;
|
14
15
|
readonly workingChange: EventEmitter<boolean>;
|
15
16
|
actions: Action[];
|
16
|
-
constructor(model: RecipientModel<any>, _session: SessionService, mailbox: MailboxService, _dialog: MatDialog, sb: PromptService);
|
17
|
+
constructor(model: RecipientModel<any>, _session: SessionService, mailbox: MailboxService, _dialog: MatDialog, accounts: AccountService, sb: PromptService);
|
17
18
|
ngAfterViewInit(): void;
|
18
19
|
ngOnChanges(changes: SimpleChanges): void;
|
19
20
|
private _sortActions;
|
@@ -1,11 +1,13 @@
|
|
1
|
+
import { AccountService } from '../../core/account.service';
|
1
2
|
import { MailboxService } from '../../core/mailbox.service';
|
2
3
|
import { Action, RecipientModel } from '../../core/models';
|
3
4
|
import { PromptService } from '../../core/prompt.service';
|
4
5
|
export declare abstract class ActionBase {
|
5
6
|
private _mailbox;
|
7
|
+
private _accounts;
|
6
8
|
protected _sb: PromptService;
|
7
9
|
model: RecipientModel<any>;
|
8
|
-
constructor(_mailbox: MailboxService, _sb: PromptService);
|
10
|
+
constructor(_mailbox: MailboxService, _accounts: AccountService, _sb: PromptService);
|
9
11
|
protected _ok(action: Action, args: any): import("rxjs").Observable<RecipientModel<any>>;
|
10
12
|
private _handleError;
|
11
13
|
}
|
@@ -7,6 +7,7 @@ import { MailboxService } from '../../core/mailbox.service';
|
|
7
7
|
import { PromptService } from '../../core/prompt.service';
|
8
8
|
import { ParamMap } from '../../core/configuration';
|
9
9
|
import { ActionBase } from './action.base';
|
10
|
+
import { AccountService } from '../../core/account.service';
|
10
11
|
import * as i0 from "@angular/core";
|
11
12
|
export declare class ActionPaneComponent extends ActionBase implements OnInit, OnDestroy {
|
12
13
|
private _pane;
|
@@ -19,7 +20,7 @@ export declare class ActionPaneComponent extends ActionBase implements OnInit, O
|
|
19
20
|
readonly okChange: EventEmitter<ParamMap>;
|
20
21
|
private readonly _destroy;
|
21
22
|
/** action-dialog ctor */
|
22
|
-
constructor(_pane: PaneRef<ActionPaneComponent>, mailbox: MailboxService, _fr: BizDocComponentFactoryResolver, _fr2: ComponentFactoryResolver, sb: PromptService, session: SessionService);
|
23
|
+
constructor(_pane: PaneRef<ActionPaneComponent>, mailbox: MailboxService, _fr: BizDocComponentFactoryResolver, _fr2: ComponentFactoryResolver, accounts: AccountService, sb: PromptService, session: SessionService);
|
23
24
|
close(): void;
|
24
25
|
ok(): void;
|
25
26
|
ngOnInit(): void;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
2
2
|
import { FormBuilder } from '@angular/forms';
|
3
3
|
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
4
4
|
import { Observable } from 'rxjs';
|
@@ -7,16 +7,19 @@ import { ArgumentsComponent } from '../../core/base';
|
|
7
7
|
import { SessionService } from '../../core/session.service';
|
8
8
|
import { AccountService } from '../../core/account.service';
|
9
9
|
import * as i0 from "@angular/core";
|
10
|
-
export declare class AssignActionComponent implements ArgumentsComponent, OnInit {
|
10
|
+
export declare class AssignActionComponent implements ArgumentsComponent, OnInit, OnDestroy {
|
11
11
|
private _fb;
|
12
12
|
private _session;
|
13
13
|
private _accounts;
|
14
14
|
readonly form: import("@angular/forms").FormGroup;
|
15
|
+
readonly userId: import("@angular/forms").FormControl;
|
15
16
|
users: Observable<UserInfo[]>;
|
17
|
+
private _destroy;
|
16
18
|
constructor(_fb: FormBuilder, _session: SessionService, _accounts: AccountService);
|
17
19
|
ngOnInit(): void;
|
18
20
|
display(v: UserInfo): string;
|
19
21
|
change(evt: MatAutocompleteSelectedEvent): void;
|
22
|
+
ngOnDestroy(): void;
|
20
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssignActionComponent, never>;
|
21
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<AssignActionComponent, "ng-component", never, {}, {}, never, never>;
|
22
25
|
}
|
@@ -1,15 +1,18 @@
|
|
1
1
|
import { Observable, Subject } from "rxjs";
|
2
2
|
import { NodeInfo, DocumentModel } from "../../core/models";
|
3
3
|
import { HubService } from "../../core/hub.service";
|
4
|
+
import { OnChanges } from "@angular/core";
|
4
5
|
import * as i0 from "@angular/core";
|
5
6
|
export declare const START_NODE = "start";
|
6
|
-
export declare
|
7
|
+
export declare const You = "you";
|
8
|
+
export declare abstract class TraceBase implements OnChanges {
|
7
9
|
abstract model: DocumentModel<any>;
|
8
10
|
private _standardTime;
|
9
11
|
protected _destroy: Subject<void>;
|
10
12
|
constructor(hub: HubService);
|
11
13
|
onLoad(): Observable<any> | null;
|
12
|
-
|
14
|
+
refresh(): void;
|
15
|
+
abstract ngOnChanges(changes: any): any;
|
13
16
|
protected resetEstimateTime(): void;
|
14
17
|
/**
|
15
18
|
*
|
@@ -26,24 +26,7 @@ export declare class TraceViewComponent extends TraceBase implements OnChanges {
|
|
26
26
|
private _showAll;
|
27
27
|
get showAll(): boolean;
|
28
28
|
set showAll(value: boolean);
|
29
|
-
refresh(): void;
|
30
|
-
/**
|
31
|
-
* user name, chat anchor tag or You
|
32
|
-
* @param user
|
33
|
-
*/
|
34
|
-
private _nameOf;
|
35
|
-
/**
|
36
|
-
*
|
37
|
-
* @param userId
|
38
|
-
*/
|
39
|
-
private _userOf;
|
40
29
|
private _roleName;
|
41
|
-
/**
|
42
|
-
*
|
43
|
-
* @param action
|
44
|
-
* @param user
|
45
|
-
*/
|
46
|
-
private _actionName;
|
47
30
|
chat(e: MouseEvent): void;
|
48
31
|
/**
|
49
32
|
* model version compare, form component in 'compare' view mode
|
@@ -55,7 +38,7 @@ export declare class TraceViewComponent extends TraceBase implements OnChanges {
|
|
55
38
|
}
|
56
39
|
interface Trace {
|
57
40
|
fyi?: boolean;
|
58
|
-
type: LogType | '
|
41
|
+
type: LogType | 'Pending' | 'Estimate';
|
59
42
|
name?: string;
|
60
43
|
estimate?: boolean;
|
61
44
|
pending?: boolean;
|
@@ -67,6 +50,5 @@ interface Trace {
|
|
67
50
|
durationMax?: number;
|
68
51
|
fileName?: string;
|
69
52
|
time?: Date;
|
70
|
-
model?: {};
|
71
53
|
}
|
72
54
|
export {};
|
@@ -132,7 +132,10 @@ export interface AttachmentExtra extends Attachment {
|
|
132
132
|
viewed?: Date;
|
133
133
|
failed?: boolean;
|
134
134
|
}
|
135
|
-
export
|
135
|
+
export declare class UploadEvent {
|
136
|
+
readonly fileName: string;
|
136
137
|
progress: number;
|
138
|
+
total: number;
|
137
139
|
state: 'pending' | 'progress' | 'done';
|
140
|
+
constructor(options: any);
|
138
141
|
}
|
package/lib/core/models.d.ts
CHANGED
@@ -83,17 +83,24 @@ export interface WorkflowInfo {
|
|
83
83
|
connectors: ConnectorInfo[];
|
84
84
|
}
|
85
85
|
export interface RecipientModel<T = any> extends HeaderModel<T>, DocumentModel<T> {
|
86
|
+
extra?: any;
|
86
87
|
actions?: string[];
|
88
|
+
fyi: boolean;
|
87
89
|
originId?: number;
|
90
|
+
escalated?: boolean;
|
88
91
|
tags?: string[];
|
89
92
|
}
|
90
93
|
export interface ConnectorInfo {
|
94
|
+
virtual?: boolean;
|
95
|
+
originId?: number;
|
91
96
|
estimate: boolean;
|
92
97
|
time?: Date;
|
93
98
|
sourceId: string;
|
94
99
|
targetId: string;
|
95
100
|
}
|
96
101
|
export interface NodeInfo {
|
102
|
+
virtual?: boolean;
|
103
|
+
originId?: number;
|
97
104
|
id: string;
|
98
105
|
/** node */
|
99
106
|
type: string;
|
@@ -102,12 +109,12 @@ export interface NodeInfo {
|
|
102
109
|
/** seconds */
|
103
110
|
standardTime?: number;
|
104
111
|
error?: string;
|
105
|
-
fyi?: boolean;
|
106
112
|
}
|
107
113
|
export interface Log {
|
108
114
|
recipientId?: number;
|
109
115
|
userId: string;
|
110
116
|
byId?: string;
|
117
|
+
toId?: string;
|
111
118
|
time: Date;
|
112
119
|
model?: {};
|
113
120
|
type: LogType;
|
@@ -137,7 +144,10 @@ export interface Recipient {
|
|
137
144
|
estimate?: boolean;
|
138
145
|
action?: string;
|
139
146
|
toId?: string;
|
147
|
+
fyi?: boolean;
|
140
148
|
id: number;
|
149
|
+
note?: string;
|
150
|
+
escalated?: boolean;
|
141
151
|
}
|
142
152
|
export interface ScheduledEvent {
|
143
153
|
id: number;
|
@@ -195,7 +195,9 @@ export declare const STRINGS: {
|
|
195
195
|
Notifications: string;
|
196
196
|
Days: string;
|
197
197
|
Name: string;
|
198
|
+
ActionTo: string;
|
198
199
|
YouSubstituteActionTaken: string;
|
200
|
+
YouSubstituteActionTakenTo: string;
|
199
201
|
Substituting: string;
|
200
202
|
SubstitutingForYou: string;
|
201
203
|
YouSubstitute: string;
|
@@ -212,8 +214,11 @@ export declare const STRINGS: {
|
|
212
214
|
ReceivedTime: string;
|
213
215
|
ReceivedBy: string;
|
214
216
|
ActionTakenBy: string;
|
217
|
+
ActionTakenByTo: string;
|
215
218
|
YouTakenActionBy: string;
|
219
|
+
YouTakenActionByTo: string;
|
216
220
|
ActionTakenByYou: string;
|
221
|
+
ActionTakenByYouTo: string;
|
217
222
|
EscalatedTo: string;
|
218
223
|
EscalatedFrom: string;
|
219
224
|
EscalatedBy: string;
|
@@ -241,6 +246,9 @@ export declare const STRINGS: {
|
|
241
246
|
YouRepliedTo: string;
|
242
247
|
ReplyingToYou: string;
|
243
248
|
ByYou: string;
|
249
|
+
ActionBy: string;
|
250
|
+
ActionByBy: string;
|
251
|
+
ActionByYou: string;
|
244
252
|
Received: string;
|
245
253
|
ChangeLanguage: string;
|
246
254
|
NewMail: string;
|
@@ -373,6 +381,7 @@ export declare const STRINGS: {
|
|
373
381
|
Submitted: string;
|
374
382
|
SubmittedMany: string;
|
375
383
|
Sent: string;
|
384
|
+
SentTo: string;
|
376
385
|
SentMany: string;
|
377
386
|
Number: string;
|
378
387
|
Owner: string;
|
@@ -511,6 +520,7 @@ export declare const STRINGS: {
|
|
511
520
|
Votes: string;
|
512
521
|
Tasks: string;
|
513
522
|
System: string;
|
523
|
+
Everything: string;
|
514
524
|
NothingHere: string;
|
515
525
|
Matrix: string;
|
516
526
|
Working: string;
|
@@ -547,7 +557,7 @@ export declare const STRINGS: {
|
|
547
557
|
Skipped: string;
|
548
558
|
Route: string;
|
549
559
|
Trace: string;
|
550
|
-
|
560
|
+
Everything: string;
|
551
561
|
ProfilerSearchHelp: string;
|
552
562
|
TraceSearchHelp: string;
|
553
563
|
DiagramVersion: string;
|
@@ -715,7 +725,9 @@ export declare const STRINGS: {
|
|
715
725
|
ShowDeleted: string;
|
716
726
|
Days: string;
|
717
727
|
Name: string;
|
728
|
+
ActionTo: string;
|
718
729
|
YouSubstituteActionTaken: string;
|
730
|
+
YouSubstituteActionTakenTo: string;
|
719
731
|
SubstitutingYou: string;
|
720
732
|
SubstitutingYouMale: string;
|
721
733
|
SubstitutingYouFemale: string;
|
@@ -744,8 +756,11 @@ export declare const STRINGS: {
|
|
744
756
|
YouTakenAction: string;
|
745
757
|
YouTakenActionTo: string;
|
746
758
|
ActionTakenBy: string;
|
759
|
+
ActionTakenByTo: string;
|
747
760
|
YouTakenActionBy: string;
|
761
|
+
YouTakenActionByTo: string;
|
748
762
|
ActionTakenByYou: string;
|
763
|
+
ActionTakenByYouTo: string;
|
749
764
|
Sound: string;
|
750
765
|
TaggedInComments: string;
|
751
766
|
TaggedYourselfNotify: string;
|
@@ -889,6 +904,7 @@ export declare const STRINGS: {
|
|
889
904
|
Submitted: string;
|
890
905
|
SubmittedMany: string;
|
891
906
|
Sent: string;
|
907
|
+
SentTo: string;
|
892
908
|
SentMany: string;
|
893
909
|
Task: string;
|
894
910
|
Who: string;
|
@@ -899,6 +915,9 @@ export declare const STRINGS: {
|
|
899
915
|
YouRepliedTo: string;
|
900
916
|
ReplyingToYou: string;
|
901
917
|
ByYou: string;
|
918
|
+
ActionByYou: string;
|
919
|
+
ActionByBy: string;
|
920
|
+
ActionBy: string;
|
902
921
|
EscalatedTo: string;
|
903
922
|
EscalatedFrom: string;
|
904
923
|
EscalatedBy: string;
|
@@ -29,6 +29,8 @@ export interface CubeDataOptions {
|
|
29
29
|
sum?: SumSettings | SumSettings[];
|
30
30
|
seriesTotalLabel?: string;
|
31
31
|
xAxisTotalLabel?: string;
|
32
|
+
indexAt?: 'series' | 'xAxis';
|
33
|
+
placeAt?: 'leading' | 'trailing';
|
32
34
|
}
|
33
35
|
export interface ExploreOptions {
|
34
36
|
cube?: string;
|
@@ -42,6 +42,7 @@ export declare class CubeService {
|
|
42
42
|
/** include one or more index serie */
|
43
43
|
indices?: string | string[];
|
44
44
|
groupIndices?: boolean;
|
45
|
+
inverseIndices?: boolean;
|
45
46
|
/** axes */
|
46
47
|
filters?: {
|
47
48
|
[axis: string]: AxisType;
|
@@ -187,7 +188,7 @@ export declare class CubeService {
|
|
187
188
|
* get segments
|
188
189
|
* @param cube
|
189
190
|
*/
|
190
|
-
segments(cube: string,
|
191
|
+
segments(cube: string, name: string): Observable<SegmentMap>;
|
191
192
|
/**
|
192
193
|
* get user patterns
|
193
194
|
* @param cube
|
@@ -12,6 +12,8 @@ export declare abstract class CubeMatrixBase {
|
|
12
12
|
table: CubeMatrixComponent;
|
13
13
|
seriesTotalLabel: string;
|
14
14
|
xAxisTotalLabel: string;
|
15
|
+
indexAt?: 'series' | 'xAxis';
|
16
|
+
placeAt?: 'leading' | 'trailing';
|
15
17
|
loading: boolean;
|
16
18
|
private _axes;
|
17
19
|
private _originalAxes;
|
@@ -26,6 +26,8 @@ export declare class CubeMatrixComponent implements OnChanges {
|
|
26
26
|
_xAxis: string;
|
27
27
|
_series: string;
|
28
28
|
private _indices?;
|
29
|
+
indexAt: 'series' | 'xAxis';
|
30
|
+
placeAt: 'leading' | 'trailing';
|
29
31
|
scope: ScopeType;
|
30
32
|
private _sum;
|
31
33
|
set sum(val: SumSettings | SumSettings[]);
|
@@ -54,18 +56,20 @@ export declare class CubeMatrixComponent implements OnChanges {
|
|
54
56
|
private _prepare;
|
55
57
|
constructor(_sb: PromptService, _service: CubeService, _session: SessionService, _translate: TranslateService, _ds: DatasourceService);
|
56
58
|
ngOnChanges(changes: SimpleChanges): void;
|
59
|
+
private _addindices;
|
57
60
|
private _addsumheaders;
|
58
61
|
refresh(): void;
|
59
|
-
private
|
62
|
+
private _serialize;
|
60
63
|
private _clone;
|
61
64
|
private _totals;
|
62
65
|
private _calculatesum;
|
66
|
+
private _stringify;
|
63
67
|
private _format;
|
64
|
-
explore(column: HeaderInfo, row: HeaderInfo
|
68
|
+
explore(column: HeaderInfo, row: HeaderInfo): void;
|
65
69
|
export(): void;
|
66
70
|
_move(x: any, y: any): void;
|
67
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeMatrixComponent, never>;
|
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>;
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CubeMatrixComponent, "bizdoc-cube-matrix", never, { "seriesTotalLabel": "seriesTotalLabel"; "xAxisTotalLabel": "xAxisTotalLabel"; "_cube": "cube"; "_xAxis": "xAxis"; "_series": "series"; "_indices": "indices"; "indexAt": "indexAt"; "placeAt": "placeAt"; "scope": "scope"; "sum": "sum"; "filters": "filters"; "loading": "loading"; "interactive": "interactive"; }, { "onExplore": "explore"; "loadingChange": "loadingChange"; }, never, never>;
|
69
73
|
}
|
70
74
|
export declare type SumSettings = {
|
71
75
|
value?: string | number;
|
@@ -75,7 +79,7 @@ export declare type SumSettings = {
|
|
75
79
|
precision?: string;
|
76
80
|
accumulate?: boolean;
|
77
81
|
explorable?: boolean;
|
78
|
-
calculate?: 'quarter' | 'year' | 'month' | CalculateFn;
|
82
|
+
calculate?: 'quarter' | 'year' | 'month' | 'accumulate' | CalculateFn;
|
79
83
|
};
|
80
84
|
export declare interface CalculateFn {
|
81
85
|
(value: string, data: {
|
@@ -89,6 +93,8 @@ declare type HeaderInfo = {
|
|
89
93
|
value: any;
|
90
94
|
precision?: string;
|
91
95
|
explorable?: boolean;
|
96
|
+
accumulate?: boolean;
|
92
97
|
sum?: SumSettings;
|
98
|
+
index?: CubeIndex;
|
93
99
|
};
|
94
100
|
export {};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@bizdoc/core",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.13.0-next.10",
|
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",
|
@@ -11,17 +11,17 @@
|
|
11
11
|
"dependencies": {
|
12
12
|
"@ctrl/ngx-emoji-mart": "^6.1.1",
|
13
13
|
"@microsoft/signalr": "^6.0.1",
|
14
|
-
"@syncfusion/ej2": "^19.4.
|
15
|
-
"@syncfusion/ej2-angular-charts": "^19.4.
|
14
|
+
"@syncfusion/ej2": "^19.4.40",
|
15
|
+
"@syncfusion/ej2-angular-charts": "^19.4.40",
|
16
16
|
"@syncfusion/ej2-angular-circulargauge": "^19.4.38",
|
17
|
-
"@syncfusion/ej2-angular-diagrams": "^19.4.
|
18
|
-
"@syncfusion/ej2-angular-gantt": "^19.4.
|
19
|
-
"@syncfusion/ej2-angular-grids": "^19.4.
|
17
|
+
"@syncfusion/ej2-angular-diagrams": "^19.4.40",
|
18
|
+
"@syncfusion/ej2-angular-gantt": "^19.4.40",
|
19
|
+
"@syncfusion/ej2-angular-grids": "^19.4.40",
|
20
20
|
"@syncfusion/ej2-angular-kanban": "^19.4.38",
|
21
|
-
"@syncfusion/ej2-angular-pivotview": "^19.4.
|
22
|
-
"@syncfusion/ej2-angular-richtexteditor": "^19.4.
|
23
|
-
"@syncfusion/ej2-angular-schedule": "^19.4.
|
24
|
-
"@syncfusion/ej2-angular-spreadsheet": "^19.4.
|
21
|
+
"@syncfusion/ej2-angular-pivotview": "^19.4.40",
|
22
|
+
"@syncfusion/ej2-angular-richtexteditor": "^19.4.40",
|
23
|
+
"@syncfusion/ej2-angular-schedule": "^19.4.40",
|
24
|
+
"@syncfusion/ej2-angular-spreadsheet": "^19.4.40",
|
25
25
|
"@syncfusion/ej2-base": "^19.4.38",
|
26
26
|
"@teamhive/lottie-player": "^1.0.0",
|
27
27
|
"brace": "^0.11.1",
|