@bizdoc/core 1.13.0-next.1 → 1.13.0-next.13
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 +4 -4
- package/esm2020/lib/browse/expanded-item/expanded-item.component.mjs +63 -51
- package/esm2020/lib/compose/action/assign-action.component.mjs +52 -26
- package/esm2020/lib/compose/form.component.mjs +2 -2
- package/esm2020/lib/compose/trace/flow.component.mjs +143 -147
- package/esm2020/lib/compose/trace/trace.component.mjs +63 -63
- 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 +20 -3
- package/esm2020/lib/cube/cube.service.mjs +3 -3
- 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/table.component.mjs +17 -17
- package/esm2020/lib/home/home-base.component.mjs +2 -2
- package/esm2020/lib/shared.module.mjs +17 -2
- package/fesm2015/bizdoc-core.mjs +515 -423
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +511 -421
- 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/expanded-item/expanded-item.component.d.ts +6 -6
- package/lib/compose/action/assign-action.component.d.ts +16 -5
- package/lib/compose/trace/flow.component.d.ts +0 -1
- package/lib/compose/trace/trace.component.d.ts +5 -4
- package/lib/core/hub.service.d.ts +1 -0
- package/lib/core/mailbox.service.d.ts +4 -1
- package/lib/core/models.d.ts +6 -2
- package/lib/core/translations.d.ts +18 -1
- package/lib/cube/cube.service.d.ts +1 -1
- package/lib/cube/explore/explore-items.component.d.ts +1 -0
- 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;
|
@@ -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
|
}
|
@@ -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,7 +23,6 @@ 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);
|
@@ -21,11 +21,11 @@ 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
|
26
|
+
private _showMode;
|
27
|
+
get showMode(): ShowMode;
|
28
|
+
set showMode(value: ShowMode);
|
29
29
|
private _roleName;
|
30
30
|
chat(e: MouseEvent): void;
|
31
31
|
/**
|
@@ -51,4 +51,5 @@ interface Trace {
|
|
51
51
|
fileName?: string;
|
52
52
|
time?: Date;
|
53
53
|
}
|
54
|
+
declare type ShowMode = 'everything' | 'active' | 'route';
|
54
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,18 +83,22 @@ 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[];
|
87
88
|
fyi: boolean;
|
88
89
|
originId?: number;
|
90
|
+
escalated?: boolean;
|
89
91
|
tags?: string[];
|
90
92
|
}
|
91
93
|
export interface ConnectorInfo {
|
94
|
+
originId?: number;
|
92
95
|
estimate: boolean;
|
93
96
|
time?: Date;
|
94
97
|
sourceId: string;
|
95
98
|
targetId: string;
|
96
99
|
}
|
97
100
|
export interface NodeInfo {
|
101
|
+
originId?: number;
|
98
102
|
id: string;
|
99
103
|
/** node */
|
100
104
|
type: string;
|
@@ -108,7 +112,7 @@ export interface Log {
|
|
108
112
|
recipientId?: number;
|
109
113
|
userId: string;
|
110
114
|
byId?: string;
|
111
|
-
|
115
|
+
originId?: string;
|
112
116
|
time: Date;
|
113
117
|
model?: {};
|
114
118
|
type: LogType;
|
@@ -137,10 +141,10 @@ export interface Recipient {
|
|
137
141
|
replied?: Date;
|
138
142
|
estimate?: boolean;
|
139
143
|
action?: string;
|
140
|
-
toId?: string;
|
141
144
|
fyi?: boolean;
|
142
145
|
id: number;
|
143
146
|
note?: string;
|
147
|
+
escalated?: boolean;
|
144
148
|
}
|
145
149
|
export interface ScheduledEvent {
|
146
150
|
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;
|
@@ -246,6 +250,9 @@ export declare const STRINGS: {
|
|
246
250
|
YouRepliedTo: string;
|
247
251
|
ReplyingToYou: string;
|
248
252
|
ByYou: string;
|
253
|
+
ActionBy: string;
|
254
|
+
ActionByBy: string;
|
255
|
+
ActionByYou: string;
|
249
256
|
Received: string;
|
250
257
|
ChangeLanguage: string;
|
251
258
|
NewMail: string;
|
@@ -517,6 +524,8 @@ export declare const STRINGS: {
|
|
517
524
|
Votes: string;
|
518
525
|
Tasks: string;
|
519
526
|
System: string;
|
527
|
+
ActiveRoute: string;
|
528
|
+
Everything: string;
|
520
529
|
NothingHere: string;
|
521
530
|
Matrix: string;
|
522
531
|
Working: string;
|
@@ -553,7 +562,8 @@ export declare const STRINGS: {
|
|
553
562
|
Skipped: string;
|
554
563
|
Route: string;
|
555
564
|
Trace: string;
|
556
|
-
|
565
|
+
ActiveRoute: string;
|
566
|
+
Everything: string;
|
557
567
|
ProfilerSearchHelp: string;
|
558
568
|
TraceSearchHelp: string;
|
559
569
|
DiagramVersion: string;
|
@@ -580,6 +590,10 @@ export declare const STRINGS: {
|
|
580
590
|
Message: string;
|
581
591
|
ProgrammableExpression: string;
|
582
592
|
FYI: string;
|
593
|
+
AssignTo: string;
|
594
|
+
AssignFYI: string;
|
595
|
+
AssignNoteHint: string;
|
596
|
+
AssignRoundtrip: string;
|
583
597
|
SkipInRoute: string;
|
584
598
|
StandardTime: string;
|
585
599
|
EscalateRole: string;
|
@@ -911,6 +925,9 @@ export declare const STRINGS: {
|
|
911
925
|
YouRepliedTo: string;
|
912
926
|
ReplyingToYou: string;
|
913
927
|
ByYou: string;
|
928
|
+
ActionByYou: string;
|
929
|
+
ActionByBy: string;
|
930
|
+
ActionBy: string;
|
914
931
|
EscalatedTo: string;
|
915
932
|
EscalatedFrom: string;
|
916
933
|
EscalatedBy: string;
|
@@ -188,7 +188,7 @@ export declare class CubeService {
|
|
188
188
|
* get segments
|
189
189
|
* @param cube
|
190
190
|
*/
|
191
|
-
segments(cube: string,
|
191
|
+
segments(cube: string, name: string): Observable<SegmentMap>;
|
192
192
|
/**
|
193
193
|
* get user patterns
|
194
194
|
* @param cube
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@bizdoc/core",
|
3
|
-
"version": "1.13.0-next.
|
3
|
+
"version": "1.13.0-next.13",
|
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",
|