@bizdoc/core 1.14.0-next.11 → 1.14.0-next.14
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/dark.min.css +78 -1
- package/esm2020/lib/admin/diff/configuration-diff.component.mjs +2 -2
- package/esm2020/lib/admin/document-trace/document-trace.component.mjs +120 -59
- package/esm2020/lib/admin/document-trace/trace-element.component.mjs +52 -34
- package/esm2020/lib/admin/form/form.service.mjs +20 -3
- package/esm2020/lib/admin/form/workflow/role-node.component.mjs +3 -3
- package/esm2020/lib/admin/form/workflow/workflow.component.mjs +4 -2
- package/esm2020/lib/chat/conversation.component.mjs +2 -2
- package/esm2020/lib/compose/trace/trace.component.mjs +3 -3
- package/esm2020/lib/compose/version-compare/version.pane.component.mjs +3 -3
- package/esm2020/lib/core/slots/router.service.mjs +1 -4
- package/esm2020/lib/core/translate.service.mjs +5 -5
- package/esm2020/lib/core/translations.mjs +9 -3
- package/esm2020/lib/cube/accum/accum.component.mjs +1 -1
- package/esm2020/lib/cube/chart/chart.component.mjs +1 -1
- package/esm2020/lib/cube/matrix/table.component.mjs +3 -3
- package/esm2020/lib/cube/parallel/parallel.component.mjs +3 -4
- package/esm2020/lib/cube/pivot/pivot.component.mjs +15 -19
- package/esm2020/lib/dashboard/score/personal-score.widget.mjs +3 -3
- package/esm2020/lib/modules/chart.module.mjs +12 -10
- package/esm2020/lib/modules/dayjs.module.mjs +2 -2
- package/esm2020/lib/modules/diagram.module.mjs +4 -4
- package/esm2020/lib/modules/pivot.module.mjs +3 -2
- package/esm2020/lib/modules/spreadsheet.module.mjs +5 -3
- package/esm2020/lib/modules/texteditor.module.mjs +4 -4
- package/esm2020/lib/reports/cube/usage-pivot.component.mjs +2 -3
- package/esm2020/lib/views/cube/cube-base.mjs +2 -2
- package/esm2020/lib/views/cube/parallel.component.mjs +3 -2
- package/esm2020/lib/views/cube/sum.component.mjs +3 -3
- package/esm2020/public-api.mjs +1 -1
- package/fesm2015/bizdoc-core.mjs +218 -130
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +218 -130
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/admin/document-trace/document-trace.component.d.ts +33 -18
- package/lib/admin/document-trace/trace-element.component.d.ts +22 -8
- package/lib/admin/form/form.service.d.ts +19 -2
- package/lib/admin/form/workflow/workflow.component.d.ts +2 -1
- package/lib/core/slots/router.service.d.ts +2 -1
- package/lib/core/translations.d.ts +6 -0
- package/lib/modules/chart.module.d.ts +1 -1
- package/lib/views/cube/cube-base.d.ts +1 -1
- package/lib/views/cube/sum.component.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
@@ -1,36 +1,39 @@
|
|
1
|
-
import { OnInit, OnDestroy, ElementRef, ChangeDetectorRef } from '@angular/core';
|
1
|
+
import { OnInit, OnDestroy, ElementRef, ChangeDetectorRef, TemplateRef } from '@angular/core';
|
2
2
|
import { DiagramConstraints, ScrollSettingsModel, SelectorModel, ToolBase, Diagram, ConnectorModel, NodeModel, SnapSettingsModel, DiagramTools, ISelectionChangeEventArgs, LayoutModel } from '@syncfusion/ej2-angular-diagrams';
|
3
3
|
import { FormBuilder } from '@angular/forms';
|
4
|
-
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
5
|
-
import { MatDialog } from "@angular/material/dialog";
|
6
|
-
import { Observable } from 'rxjs';
|
7
|
-
import { Recipient, HeaderModel, DocumentModel } from '../../core/models';
|
8
4
|
import { PromptService } from '../../core/prompt.service';
|
9
5
|
import { UtilityRef } from '../utility-ref';
|
10
|
-
import { FormService } from '../form/form.service';
|
6
|
+
import { DocumentInfo, FormService, RangeModel } from '../form/form.service';
|
11
7
|
import { TranslateService } from '../../core/translate.service';
|
12
8
|
import { GuideService } from '../../core/guide/guide.service';
|
13
9
|
import { PanesRouter } from '../../core/slots/router.service';
|
14
10
|
import { PaneRef } from '../../core/slots/pane-ref';
|
15
11
|
import { SessionService } from '../../core/session.service';
|
16
12
|
import { DiagramInfo, MoveModel, Timeline } from './timeline';
|
13
|
+
import { IChangedEventArgs, RangeNavigator } from '@syncfusion/ej2-angular-charts';
|
14
|
+
import { MatTableDataSource } from '@angular/material/table';
|
15
|
+
import { Popup } from '../../core/popup/popup.service';
|
16
|
+
import { ProgressBarMode } from '@angular/material/progress-bar';
|
17
|
+
import { MatSort } from '@angular/material/sort';
|
18
|
+
import { MatInput } from '@angular/material/input';
|
17
19
|
import * as i0 from "@angular/core";
|
18
20
|
export declare class DocumentTraceComponent implements OnInit, OnDestroy {
|
19
21
|
private _utilityRef;
|
20
22
|
private _service;
|
21
23
|
private _session;
|
22
|
-
private
|
24
|
+
private _pane;
|
23
25
|
private _router;
|
24
26
|
private _sb;
|
25
27
|
private _translate;
|
26
|
-
private
|
28
|
+
private _popup;
|
27
29
|
private _guide;
|
28
30
|
private _cd;
|
29
31
|
private _fb;
|
30
32
|
diagramElement: ElementRef<HTMLDivElement>;
|
33
|
+
theme: string;
|
34
|
+
accent: string;
|
31
35
|
diagram: Diagram;
|
32
|
-
readonly
|
33
|
-
documents$: Observable<DocumentModel[]>;
|
36
|
+
readonly form: import("@angular/forms").FormGroup;
|
34
37
|
model: DiagramInfo;
|
35
38
|
timeline: Timeline;
|
36
39
|
diagramConstraints: DiagramConstraints;
|
@@ -43,20 +46,36 @@ export declare class DocumentTraceComponent implements OnInit, OnDestroy {
|
|
43
46
|
readonly selectedItems: SelectorModel;
|
44
47
|
getCustomTool: Function;
|
45
48
|
node: NodeModel;
|
49
|
+
private _start;
|
50
|
+
private _end;
|
51
|
+
private _infoRef;
|
46
52
|
getTool(action: string): ToolBase;
|
47
|
-
mode: 'diagram' | '
|
53
|
+
mode: 'diagram' | 'browse' | null;
|
54
|
+
range: (Date | number)[];
|
55
|
+
rangeData: RangeModel[];
|
56
|
+
loading: ProgressBarMode;
|
57
|
+
filterArgs: TemplateRef<any>;
|
58
|
+
searchInput: MatInput;
|
59
|
+
dataSource: MatTableDataSource<DocumentInfo>;
|
60
|
+
sort: MatSort;
|
61
|
+
rangeNavigator: RangeNavigator;
|
62
|
+
readonly displayedColumns: string[];
|
48
63
|
private _highLightedIds;
|
49
64
|
private readonly _tap;
|
50
65
|
private readonly _destroy;
|
66
|
+
private readonly _dateschange;
|
51
67
|
/** workflow ctor */
|
52
|
-
constructor(_utilityRef: UtilityRef<DiagramInfo, MoveModel, DiagramInfo, number>, _service: FormService, _session: SessionService,
|
68
|
+
constructor(_utilityRef: UtilityRef<DiagramInfo, MoveModel, DiagramInfo, number>, _service: FormService, _session: SessionService, _pane: PaneRef<DocumentTraceComponent>, _router: PanesRouter, _sb: PromptService, _translate: TranslateService, _popup: Popup, _guide: GuideService, _cd: ChangeDetectorRef, _fb: FormBuilder);
|
53
69
|
ngOnInit(): void;
|
70
|
+
openFilter(evt: Event): void;
|
71
|
+
private _list;
|
72
|
+
rangeChanged(args: IChangedEventArgs): void;
|
54
73
|
guide(evt?: Event | KeyboardEvent): void;
|
74
|
+
browse(): void;
|
55
75
|
private _open;
|
56
76
|
nodeDefaults: (node: NodeModel) => NodeModel;
|
57
77
|
connDefaults: (connector: ConnectorModel) => void;
|
58
|
-
|
59
|
-
change(evt: MatAutocompleteSelectedEvent): void;
|
78
|
+
open(item: DocumentInfo): void;
|
60
79
|
private _timeline;
|
61
80
|
/**
|
62
81
|
*
|
@@ -67,11 +86,7 @@ export declare class DocumentTraceComponent implements OnInit, OnDestroy {
|
|
67
86
|
private _decorateNode;
|
68
87
|
private _decorateConnector;
|
69
88
|
private _version;
|
70
|
-
fileName(fileId: number): string;
|
71
89
|
selectionChange(evt: ISelectionChangeEventArgs): void;
|
72
|
-
/** */
|
73
|
-
assign(recipient: Recipient): void;
|
74
|
-
private _info;
|
75
90
|
highlightTime(time: Date): void;
|
76
91
|
pan(): void;
|
77
92
|
cursor(): void;
|
@@ -1,21 +1,32 @@
|
|
1
|
-
import {
|
1
|
+
import { MatDialog } from "@angular/material/dialog";
|
2
2
|
import { Observable } from "rxjs";
|
3
|
-
import { Log, Recipient } from "../../core/models";
|
4
3
|
import { NodeModel } from "@syncfusion/ej2-angular-diagrams";
|
4
|
+
import { Log, Recipient } from "../../core/models";
|
5
5
|
import { TranslateService } from '../../core/translate.service';
|
6
6
|
import { AccountService } from '../../core/account.service';
|
7
7
|
import { ChatInfo } from '../../chat/chat-info';
|
8
8
|
import { Timeline, DiagramInfo } from "./timeline";
|
9
9
|
import { SessionService } from "../../core/session.service";
|
10
10
|
import { PanesRouter } from "../../core/slots/router.service";
|
11
|
+
import { PaneRef } from "../../core/slots/pane-ref";
|
12
|
+
import { PromptService } from "../../core/prompt.service";
|
13
|
+
import { UtilityRef } from "../utility-ref";
|
11
14
|
import * as i0 from "@angular/core";
|
12
|
-
export
|
15
|
+
export interface ElementData {
|
16
|
+
model: DiagramInfo;
|
17
|
+
timeline: Timeline;
|
18
|
+
node: NodeModel;
|
19
|
+
utilityRef: UtilityRef;
|
20
|
+
}
|
21
|
+
export declare class TraceElementComponent {
|
22
|
+
private _pane;
|
13
23
|
private _chat;
|
24
|
+
private _sb;
|
14
25
|
private _router;
|
15
26
|
private _translate;
|
16
27
|
private _accounts;
|
28
|
+
private _dialog;
|
17
29
|
private _session;
|
18
|
-
readonly assign: EventEmitter<Recipient>;
|
19
30
|
model: DiagramInfo;
|
20
31
|
timeline: Timeline;
|
21
32
|
node: NodeModel;
|
@@ -25,13 +36,16 @@ export declare class TraceElementComponent implements OnChanges {
|
|
25
36
|
recurring: boolean;
|
26
37
|
none: boolean;
|
27
38
|
skip: boolean;
|
28
|
-
|
29
|
-
constructor(_chat: ChatInfo, _router: PanesRouter, _translate: TranslateService, _accounts: AccountService, _session: SessionService);
|
30
|
-
|
39
|
+
private _utilityRef;
|
40
|
+
constructor(_pane: PaneRef, _chat: ChatInfo, _sb: PromptService, _router: PanesRouter, _translate: TranslateService, _accounts: AccountService, _dialog: MatDialog, _session: SessionService);
|
41
|
+
change(state: ElementData): void;
|
42
|
+
fileName(fileId: number): string;
|
43
|
+
/** */
|
44
|
+
assign(recipient: Recipient): void;
|
31
45
|
recipientInfo(recipient: Recipient): Promise<string>;
|
32
46
|
logInfo(log: Log): Observable<string>;
|
33
47
|
compare(item: Log): void;
|
34
48
|
chat(e: MouseEvent): void;
|
35
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<TraceElementComponent, never>;
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TraceElementComponent, "bizdoc-document-trace-element", never, {
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TraceElementComponent, "bizdoc-document-trace-element", never, {}, {}, never, never>;
|
37
51
|
}
|
@@ -1,13 +1,30 @@
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
2
2
|
import { Observable } from 'rxjs';
|
3
|
-
import { Form
|
3
|
+
import { Form } from '../../core/models';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class FormService {
|
6
6
|
private _http;
|
7
|
-
findAll(
|
7
|
+
findAll(search?: string): any;
|
8
|
+
findAll(options: {
|
9
|
+
search?: string;
|
10
|
+
start?: Date;
|
11
|
+
end?: Date;
|
12
|
+
formId?: string;
|
13
|
+
}): any;
|
14
|
+
range(): Observable<RangeModel[]>;
|
8
15
|
get(name: string): Observable<Form>;
|
9
16
|
save(form: Form): Observable<number>;
|
10
17
|
constructor(_http: HttpClient);
|
11
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormService, never>;
|
12
19
|
static ɵprov: i0.ɵɵInjectableDeclaration<FormService>;
|
13
20
|
}
|
21
|
+
export interface RangeModel {
|
22
|
+
count: number;
|
23
|
+
date: Date;
|
24
|
+
}
|
25
|
+
export interface DocumentInfo {
|
26
|
+
id: number;
|
27
|
+
number: string;
|
28
|
+
subject: string;
|
29
|
+
stateId: string;
|
30
|
+
}
|
@@ -7,6 +7,7 @@ import { TranslateService } from '../../../core/translate.service';
|
|
7
7
|
import { PaneRef } from '../../../core/slots/pane-ref';
|
8
8
|
import { PanesRouter } from '../../../core/slots/router.service';
|
9
9
|
import { AdminComponent } from '../../admin-dismiss.service';
|
10
|
+
import { ISelectionChangeEventArgs } from '@syncfusion/ej2-angular-diagrams';
|
10
11
|
import * as i0 from "@angular/core";
|
11
12
|
export declare class WorkflowComponent implements OnInit, AfterViewInit, OnDestroy, AdminComponent {
|
12
13
|
private ps;
|
@@ -53,7 +54,7 @@ export declare class WorkflowComponent implements OnInit, AfterViewInit, OnDestr
|
|
53
54
|
getSymbolDefaults(symbol: NodeModel): void;
|
54
55
|
pan(): void;
|
55
56
|
cursor(): void;
|
56
|
-
selectionChange(): void;
|
57
|
+
selectionChange(evt: ISelectionChangeEventArgs): void;
|
57
58
|
align(value: AlignmentOptions): void;
|
58
59
|
dragEnter(args: IDragEnterEventArgs): void;
|
59
60
|
propertyChange(e: any): void;
|
@@ -13,7 +13,8 @@ export declare class PanesRouter {
|
|
13
13
|
component?: ComponentType<any>;
|
14
14
|
} & NavigationOptions>;
|
15
15
|
constructor();
|
16
|
-
navigate(commands:
|
16
|
+
navigate(commands: (string | number)[], options?: NavigationOptions): any;
|
17
|
+
navigate<T>(commands: ComponentType<T>, options?: NavigationOptions): any;
|
17
18
|
get events(): import("rxjs").Observable<NavigationBase>;
|
18
19
|
collapse(): void;
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<PanesRouter, never>;
|
@@ -84,8 +84,10 @@ export declare const STRINGS: {
|
|
84
84
|
ar: {};
|
85
85
|
ru: {};
|
86
86
|
en: {
|
87
|
+
LastDay: string;
|
87
88
|
TodayAt: string;
|
88
89
|
Tomorrow: string;
|
90
|
+
TomorrowAt: string;
|
89
91
|
Editing: string;
|
90
92
|
CheckOut: string;
|
91
93
|
CheckIn: string;
|
@@ -200,6 +202,7 @@ export declare const STRINGS: {
|
|
200
202
|
YouSubmittedNoteBy: string;
|
201
203
|
Today: string;
|
202
204
|
Yesterday: string;
|
205
|
+
YesterdayAt: string;
|
203
206
|
Forget: string;
|
204
207
|
SomeoneTyping: string;
|
205
208
|
Typing: string;
|
@@ -546,8 +549,10 @@ export declare const STRINGS: {
|
|
546
549
|
Working: string;
|
547
550
|
};
|
548
551
|
he: {
|
552
|
+
LastDay: string;
|
549
553
|
TodayAt: string;
|
550
554
|
Tomorrow: string;
|
555
|
+
TomorrowAt: string;
|
551
556
|
Editing: string;
|
552
557
|
EditingMale: string;
|
553
558
|
EditingFemale: string;
|
@@ -749,6 +754,7 @@ export declare const STRINGS: {
|
|
749
754
|
YouSubmittedNoteBy: string;
|
750
755
|
Today: string;
|
751
756
|
Yesterday: string;
|
757
|
+
YesterdayAt: string;
|
752
758
|
SomeoneTyping: string;
|
753
759
|
Typing: string;
|
754
760
|
TypingFemale: string;
|
@@ -2,6 +2,6 @@ import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "@syncfusion/ej2-angular-charts";
|
3
3
|
export declare class SyncfusionChartModule {
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<SyncfusionChartModule, never>;
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SyncfusionChartModule, never, [typeof i1.ChartModule, typeof i1.
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SyncfusionChartModule, never, [typeof i1.ChartModule, typeof i1.AccumulationChartModule, typeof i1.SparklineModule, typeof i1.RangeNavigatorModule], [typeof i1.ChartModule, typeof i1.AccumulationChartModule, typeof i1.SparklineModule, typeof i1.RangeNavigatorModule]>;
|
6
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<SyncfusionChartModule>;
|
7
7
|
}
|
@@ -27,7 +27,7 @@ export declare abstract class CubeBase<O extends Options> implements DocumentVie
|
|
27
27
|
onBind(model: DocumentModel<any>): void;
|
28
28
|
abstract onViewBind(): any;
|
29
29
|
switchAxes(axes?: AxesMap): void;
|
30
|
-
|
30
|
+
protected _drop(axes: string | string[]): void;
|
31
31
|
/**
|
32
32
|
*
|
33
33
|
* @param cube
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -136,7 +136,7 @@ export { CubeParallelComponent } from './lib/cube/parallel/parallel.component';
|
|
136
136
|
export { CheckboxComponent } from './lib/core/layout/checkbox';
|
137
137
|
export { DifferencePipe } from './lib/core/pipes/difference.pipe';
|
138
138
|
export { DateFormatPipe } from './lib/core/pipes/date-format.pipe';
|
139
|
-
export { CalendarPipe } from './lib/core/pipes/calendar.pipe';
|
139
|
+
export { CalendarPipe, CalendarSpec } from './lib/core/pipes/calendar.pipe';
|
140
140
|
export { TimeAgoPipe } from './lib/core/pipes/time-ago.pipe';
|
141
141
|
export { DurationFormatPipe } from './lib/core/pipes/duration-format.pipe';
|
142
142
|
export { DurationPipe } from './lib/core/pipes/duration.pipe';
|