@bizdoc/core 1.12.3 → 1.13.0-next.11
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/admin/positions/positions-popup.component.mjs +1 -1
- 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 +90 -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 +52 -26
- package/esm2020/lib/compose/form.component.mjs +6 -3
- package/esm2020/lib/compose/trace/flow.component.mjs +174 -142
- package/esm2020/lib/compose/trace/trace.base.mjs +6 -2
- package/esm2020/lib/compose/trace/trace.component.mjs +161 -175
- 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 +35 -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 +964 -773
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +954 -770
- 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 +16 -5
- package/lib/compose/trace/flow.component.d.ts +0 -2
- package/lib/compose/trace/trace.base.d.ts +5 -2
- package/lib/compose/trace/trace.component.d.ts +6 -23
- package/lib/core/hub.service.d.ts +1 -0
- package/lib/core/mailbox.service.d.ts +4 -1
- package/lib/core/models.d.ts +10 -2
- package/lib/core/translations.d.ts +30 -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 { OnDestroy, OnInit } from '@angular/core';
|
1
|
+
import { ElementRef, 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';
|
@@ -11,14 +11,25 @@ export declare class AssignActionComponent implements ArgumentsComponent, OnInit
|
|
11
11
|
private _fb;
|
12
12
|
private _session;
|
13
13
|
private _accounts;
|
14
|
+
readonly separatorKeysCodes: number[];
|
15
|
+
nameInput: ElementRef<HTMLInputElement>;
|
14
16
|
readonly form: import("@angular/forms").FormGroup;
|
15
|
-
readonly
|
16
|
-
users
|
17
|
+
readonly userIds: import("@angular/forms").FormControl;
|
18
|
+
users$: Observable<UserInfo[]>;
|
17
19
|
private _destroy;
|
18
20
|
constructor(_fb: FormBuilder, _session: SessionService, _accounts: AccountService);
|
19
21
|
ngOnInit(): void;
|
20
|
-
|
21
|
-
|
22
|
+
/**
|
23
|
+
*
|
24
|
+
* @param inp
|
25
|
+
* @param event
|
26
|
+
*/
|
27
|
+
userSelected(inp: HTMLInputElement, event: MatAutocompleteSelectedEvent): void;
|
28
|
+
/**
|
29
|
+
*
|
30
|
+
* @param id
|
31
|
+
*/
|
32
|
+
removed(id: string): void;
|
22
33
|
ngOnDestroy(): void;
|
23
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssignActionComponent, never>;
|
24
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<AssignActionComponent, "ng-component", never, {}, {}, never, never>;
|
@@ -23,14 +23,12 @@ export declare class FlowViewComponent extends TraceBase implements OnChanges, O
|
|
23
23
|
readonly scrollSettings: ScrollSettingsModel;
|
24
24
|
readonly snapSettings: SnapSettingsModel;
|
25
25
|
private readonly _configuration;
|
26
|
-
private _issued;
|
27
26
|
private _accentColor;
|
28
27
|
/** workflow-view ctor */
|
29
28
|
constructor(_accounts: AccountService, _session: SessionService, _translate: TranslateService, _duration: DurationFormatPipe, _elementRef: ElementRef<HTMLDivElement>, hub: HubService);
|
30
29
|
ngOnChanges(_changes: SimpleChanges): void;
|
31
30
|
private _initialize;
|
32
31
|
private _refresh;
|
33
|
-
refresh(): void;
|
34
32
|
/**
|
35
33
|
*
|
36
34
|
* @param obj
|
@@ -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
|
*
|
@@ -21,29 +21,12 @@ export declare class TraceViewComponent extends TraceBase implements OnChanges {
|
|
21
21
|
readonly CALENDAR_SPEC: CalendarSpec;
|
22
22
|
constructor(_session: SessionService, _translate: TranslateService, _accounts: AccountService, _chat: ChatInfo, hub: HubService);
|
23
23
|
ngOnChanges(_changes: SimpleChanges): void;
|
24
|
-
private
|
24
|
+
private _initialize;
|
25
25
|
private _filter;
|
26
|
-
private
|
27
|
-
get
|
28
|
-
set
|
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;
|
26
|
+
private _showMode;
|
27
|
+
get showMode(): ShowMode;
|
28
|
+
set showMode(value: ShowMode);
|
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,6 @@ interface Trace {
|
|
67
50
|
durationMax?: number;
|
68
51
|
fileName?: string;
|
69
52
|
time?: Date;
|
70
|
-
model?: {};
|
71
53
|
}
|
54
|
+
declare type ShowMode = 'everything' | 'active' | 'route';
|
72
55
|
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,23 @@ 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
|
+
originId?: number;
|
91
95
|
estimate: boolean;
|
92
96
|
time?: Date;
|
93
97
|
sourceId: string;
|
94
98
|
targetId: string;
|
95
99
|
}
|
96
100
|
export interface NodeInfo {
|
101
|
+
virtual?: boolean;
|
102
|
+
originId?: number;
|
97
103
|
id: string;
|
98
104
|
/** node */
|
99
105
|
type: string;
|
@@ -102,12 +108,12 @@ export interface NodeInfo {
|
|
102
108
|
/** seconds */
|
103
109
|
standardTime?: number;
|
104
110
|
error?: string;
|
105
|
-
fyi?: boolean;
|
106
111
|
}
|
107
112
|
export interface Log {
|
108
113
|
recipientId?: number;
|
109
114
|
userId: string;
|
110
115
|
byId?: string;
|
116
|
+
originId?: string;
|
111
117
|
time: Date;
|
112
118
|
model?: {};
|
113
119
|
type: LogType;
|
@@ -136,8 +142,10 @@ export interface Recipient {
|
|
136
142
|
replied?: Date;
|
137
143
|
estimate?: boolean;
|
138
144
|
action?: string;
|
139
|
-
|
145
|
+
fyi?: boolean;
|
140
146
|
id: number;
|
147
|
+
note?: string;
|
148
|
+
escalated?: boolean;
|
141
149
|
}
|
142
150
|
export interface ScheduledEvent {
|
143
151
|
id: number;
|
@@ -141,6 +141,10 @@ export declare const STRINGS: {
|
|
141
141
|
EverybodyRange: string;
|
142
142
|
YourRange: string;
|
143
143
|
Introduction: string;
|
144
|
+
AssignTo: string;
|
145
|
+
AssignRoundtrip: string;
|
146
|
+
AssignFYI: string;
|
147
|
+
AssignNoteHint: string;
|
144
148
|
Welcome: string;
|
145
149
|
WelcomeMsg: string;
|
146
150
|
WelcomeHide: string;
|
@@ -195,7 +199,9 @@ export declare const STRINGS: {
|
|
195
199
|
Notifications: string;
|
196
200
|
Days: string;
|
197
201
|
Name: string;
|
202
|
+
ActionTo: string;
|
198
203
|
YouSubstituteActionTaken: string;
|
204
|
+
YouSubstituteActionTakenTo: string;
|
199
205
|
Substituting: string;
|
200
206
|
SubstitutingForYou: string;
|
201
207
|
YouSubstitute: string;
|
@@ -212,8 +218,11 @@ export declare const STRINGS: {
|
|
212
218
|
ReceivedTime: string;
|
213
219
|
ReceivedBy: string;
|
214
220
|
ActionTakenBy: string;
|
221
|
+
ActionTakenByTo: string;
|
215
222
|
YouTakenActionBy: string;
|
223
|
+
YouTakenActionByTo: string;
|
216
224
|
ActionTakenByYou: string;
|
225
|
+
ActionTakenByYouTo: string;
|
217
226
|
EscalatedTo: string;
|
218
227
|
EscalatedFrom: string;
|
219
228
|
EscalatedBy: string;
|
@@ -241,6 +250,9 @@ export declare const STRINGS: {
|
|
241
250
|
YouRepliedTo: string;
|
242
251
|
ReplyingToYou: string;
|
243
252
|
ByYou: string;
|
253
|
+
ActionBy: string;
|
254
|
+
ActionByBy: string;
|
255
|
+
ActionByYou: string;
|
244
256
|
Received: string;
|
245
257
|
ChangeLanguage: string;
|
246
258
|
NewMail: string;
|
@@ -373,6 +385,7 @@ export declare const STRINGS: {
|
|
373
385
|
Submitted: string;
|
374
386
|
SubmittedMany: string;
|
375
387
|
Sent: string;
|
388
|
+
SentTo: string;
|
376
389
|
SentMany: string;
|
377
390
|
Number: string;
|
378
391
|
Owner: string;
|
@@ -511,6 +524,8 @@ export declare const STRINGS: {
|
|
511
524
|
Votes: string;
|
512
525
|
Tasks: string;
|
513
526
|
System: string;
|
527
|
+
ActiveRoute: string;
|
528
|
+
Everything: string;
|
514
529
|
NothingHere: string;
|
515
530
|
Matrix: string;
|
516
531
|
Working: string;
|
@@ -547,7 +562,8 @@ export declare const STRINGS: {
|
|
547
562
|
Skipped: string;
|
548
563
|
Route: string;
|
549
564
|
Trace: string;
|
550
|
-
|
565
|
+
ActiveRoute: string;
|
566
|
+
Everything: string;
|
551
567
|
ProfilerSearchHelp: string;
|
552
568
|
TraceSearchHelp: string;
|
553
569
|
DiagramVersion: string;
|
@@ -574,6 +590,10 @@ export declare const STRINGS: {
|
|
574
590
|
Message: string;
|
575
591
|
ProgrammableExpression: string;
|
576
592
|
FYI: string;
|
593
|
+
AssignTo: string;
|
594
|
+
AssignFYI: string;
|
595
|
+
AssignNoteHint: string;
|
596
|
+
AssignRoundtrip: string;
|
577
597
|
SkipInRoute: string;
|
578
598
|
StandardTime: string;
|
579
599
|
EscalateRole: string;
|
@@ -715,7 +735,9 @@ export declare const STRINGS: {
|
|
715
735
|
ShowDeleted: string;
|
716
736
|
Days: string;
|
717
737
|
Name: string;
|
738
|
+
ActionTo: string;
|
718
739
|
YouSubstituteActionTaken: string;
|
740
|
+
YouSubstituteActionTakenTo: string;
|
719
741
|
SubstitutingYou: string;
|
720
742
|
SubstitutingYouMale: string;
|
721
743
|
SubstitutingYouFemale: string;
|
@@ -744,8 +766,11 @@ export declare const STRINGS: {
|
|
744
766
|
YouTakenAction: string;
|
745
767
|
YouTakenActionTo: string;
|
746
768
|
ActionTakenBy: string;
|
769
|
+
ActionTakenByTo: string;
|
747
770
|
YouTakenActionBy: string;
|
771
|
+
YouTakenActionByTo: string;
|
748
772
|
ActionTakenByYou: string;
|
773
|
+
ActionTakenByYouTo: string;
|
749
774
|
Sound: string;
|
750
775
|
TaggedInComments: string;
|
751
776
|
TaggedYourselfNotify: string;
|
@@ -889,6 +914,7 @@ export declare const STRINGS: {
|
|
889
914
|
Submitted: string;
|
890
915
|
SubmittedMany: string;
|
891
916
|
Sent: string;
|
917
|
+
SentTo: string;
|
892
918
|
SentMany: string;
|
893
919
|
Task: string;
|
894
920
|
Who: string;
|
@@ -899,6 +925,9 @@ export declare const STRINGS: {
|
|
899
925
|
YouRepliedTo: string;
|
900
926
|
ReplyingToYou: string;
|
901
927
|
ByYou: string;
|
928
|
+
ActionByYou: string;
|
929
|
+
ActionByBy: string;
|
930
|
+
ActionBy: string;
|
902
931
|
EscalatedTo: string;
|
903
932
|
EscalatedFrom: string;
|
904
933
|
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.11",
|
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",
|