@bizdoc/core 1.14.1 → 1.14.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/esm2020/lib/admin/document-trace/document-trace.component.mjs +4 -4
- package/esm2020/lib/admin/profiler/outofoffice.component.mjs +86 -0
- package/esm2020/lib/admin/profiler/profiler.component.mjs +65 -43
- package/esm2020/lib/compose/version-compare/version-compare.directive.mjs +3 -3
- package/esm2020/lib/core/models.mjs +1 -1
- package/esm2020/lib/core/translations.mjs +3 -1
- package/esm2020/lib/cube/explore/explore-items.component.mjs +2 -2
- package/esm2020/lib/reports/report-viewer.component.mjs +2 -2
- package/esm2020/lib/system.module.mjs +4 -3
- package/fesm2015/bizdoc-core.mjs +134 -42
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +131 -42
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/admin/profiler/outofoffice.component.d.ts +30 -0
- package/lib/admin/profiler/profiler.component.d.ts +17 -11
- package/lib/core/models.d.ts +1 -1
- package/lib/core/translations.d.ts +2 -0
- package/lib/system.module.d.ts +24 -23
- package/package.json +1 -1
@@ -0,0 +1,30 @@
|
|
1
|
+
import { OnInit } from "@angular/core";
|
2
|
+
import { FormGroup, FormBuilder } from "@angular/forms";
|
3
|
+
import { MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
|
4
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
5
|
+
import { MatInput } from "@angular/material/input";
|
6
|
+
import { Observable } from "rxjs";
|
7
|
+
import { AccountService } from "../../core/account.service";
|
8
|
+
import { OutOfOfficeSettings, UserInfo } from "../../core/models";
|
9
|
+
import * as i0 from "@angular/core";
|
10
|
+
export interface OutOfOfficeData {
|
11
|
+
userId: string;
|
12
|
+
outOfOffice: OutOfOfficeSettings;
|
13
|
+
}
|
14
|
+
export declare class OutOfOfficeDialog implements OnInit {
|
15
|
+
private _accounts;
|
16
|
+
private _dialogRef;
|
17
|
+
private _fb;
|
18
|
+
private _data;
|
19
|
+
readonly userCtrl: import("@angular/forms").FormControl;
|
20
|
+
userInput: MatInput;
|
21
|
+
readonly form: FormGroup;
|
22
|
+
users$: Observable<UserInfo[]>;
|
23
|
+
get model(): OutOfOfficeSettings;
|
24
|
+
constructor(_accounts: AccountService, _dialogRef: MatDialogRef<OutOfOfficeDialog>, _fb: FormBuilder, _data: OutOfOfficeData);
|
25
|
+
ngOnInit(): void;
|
26
|
+
userDisplay: (item: UserInfo) => string;
|
27
|
+
setId(event: MatAutocompleteSelectedEvent): void;
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OutOfOfficeDialog, never>;
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OutOfOfficeDialog, "ng-component", never, {}, {}, never, never>;
|
30
|
+
}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { OnInit, OnDestroy, TemplateRef, ElementRef } from '@angular/core';
|
1
|
+
import { OnInit, OnDestroy, TemplateRef, ElementRef, ChangeDetectorRef } from '@angular/core';
|
2
2
|
import { FormBuilder } from '@angular/forms';
|
3
3
|
import { MatDialog } from '@angular/material/dialog';
|
4
4
|
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
5
5
|
import { MediaObserver } from '@angular/flex-layout';
|
6
6
|
import { AxisModel, BorderModel, ChartComponent, IPointEventArgs, ITooltipRenderEventArgs, LegendSeriesModel, MarkerOptionsModel, TooltipSettingsModel, ZoomSettingsModel } from '@syncfusion/ej2-angular-charts';
|
7
7
|
import { Observable } from 'rxjs';
|
8
|
-
import { UserInfo } from '../../core/models';
|
8
|
+
import { OutOfOfficeSettings, UserInfo } from '../../core/models';
|
9
9
|
import { UtilityRef } from '../utility-ref';
|
10
10
|
import { PromptService } from '../../core/prompt.service';
|
11
11
|
import { AccountService } from '../../core/account.service';
|
@@ -26,14 +26,15 @@ export declare class ProfilerComponent implements OnInit, OnDestroy {
|
|
26
26
|
private _chat;
|
27
27
|
private _guide;
|
28
28
|
private _router;
|
29
|
-
private
|
29
|
+
private _cd;
|
30
|
+
private _pane;
|
30
31
|
private _translate;
|
31
32
|
private _accounts;
|
32
33
|
private _fb;
|
33
34
|
readonly search: import("@angular/forms").FormControl;
|
34
35
|
chart: ChartComponent;
|
35
36
|
chartElement: ElementRef;
|
36
|
-
|
37
|
+
assignTpl: TemplateRef<any>;
|
37
38
|
readonly who: import("@angular/forms").FormControl;
|
38
39
|
readonly primaryXAxis: AxisModel;
|
39
40
|
readonly primaryYAxis: AxisModel;
|
@@ -50,7 +51,7 @@ export declare class ProfilerComponent implements OnInit, OnDestroy {
|
|
50
51
|
cols: number;
|
51
52
|
private readonly _destroy;
|
52
53
|
/** ctor */
|
53
|
-
constructor(_sb: PromptService, _utilityRef: UtilityRef<boolean,
|
54
|
+
constructor(_sb: PromptService, _utilityRef: UtilityRef<boolean, ProfilerModel, ProfileInfo, string>, _session: SessionService, _dialog: MatDialog, _documentInfo: DocumentInfo, media: MediaObserver, _chat: ChatInfo, _guide: GuideService, _router: PanesRouter, _cd: ChangeDetectorRef, _pane: PaneRef<ProfilerComponent>, _translate: TranslateService, _accounts: AccountService, _fb: FormBuilder);
|
54
55
|
ngOnInit(): void;
|
55
56
|
guide(evt?: Event | KeyboardEvent): void;
|
56
57
|
change(evt: MatAutocompleteSelectedEvent): void;
|
@@ -64,10 +65,11 @@ export declare class ProfilerComponent implements OnInit, OnDestroy {
|
|
64
65
|
private _actionName;
|
65
66
|
resize(): void;
|
66
67
|
pointClick(evt: IPointEventArgs): void;
|
67
|
-
|
68
|
+
userDisplay(item: UserInfo): string;
|
68
69
|
trace(id: number): void;
|
69
|
-
chat(
|
70
|
+
chat(): void;
|
70
71
|
reassign(position?: PositionInfo): void;
|
72
|
+
outOfOffice(): void;
|
71
73
|
/** */
|
72
74
|
private _reassign;
|
73
75
|
tooltipRender(e: ITooltipRenderEventArgs): void;
|
@@ -76,6 +78,7 @@ export declare class ProfilerComponent implements OnInit, OnDestroy {
|
|
76
78
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProfilerComponent, "ng-component", never, {}, {}, never, never>;
|
77
79
|
}
|
78
80
|
interface ProfileInfo {
|
81
|
+
outOfOffice?: OutOfOfficeSettings;
|
79
82
|
positions: PositionInfo[];
|
80
83
|
activity: {
|
81
84
|
[action: string]: {
|
@@ -99,10 +102,13 @@ interface PositionInfo {
|
|
99
102
|
value: string;
|
100
103
|
role: string;
|
101
104
|
}
|
102
|
-
interface
|
105
|
+
interface ProfilerModel {
|
106
|
+
outOfOffice?: OutOfOfficeSettings;
|
103
107
|
userId: string;
|
104
|
-
|
105
|
-
|
106
|
-
|
108
|
+
reassign?: {
|
109
|
+
who: string;
|
110
|
+
role?: string;
|
111
|
+
key?: any;
|
112
|
+
};
|
107
113
|
}
|
108
114
|
export {};
|
package/lib/core/models.d.ts
CHANGED
@@ -625,7 +625,7 @@ export declare type ChartType = 'Pie' |
|
|
625
625
|
'Radar' |
|
626
626
|
/** Define the Pareto series */
|
627
627
|
'Pareto' | 'Doughnut' | 'HalfDoughnut' | 'Funnel' | 'Pyramid' | 'StackingStepArea';
|
628
|
-
interface OutOfOfficeSettings {
|
628
|
+
export interface OutOfOfficeSettings {
|
629
629
|
from?: Date;
|
630
630
|
to?: Date;
|
631
631
|
active: boolean;
|
@@ -84,6 +84,7 @@ export declare const STRINGS: {
|
|
84
84
|
ar: {};
|
85
85
|
ru: {};
|
86
86
|
en: {
|
87
|
+
OutOfOfficeHelp: string;
|
87
88
|
LastDay: string;
|
88
89
|
TodayAt: string;
|
89
90
|
Tomorrow: string;
|
@@ -549,6 +550,7 @@ export declare const STRINGS: {
|
|
549
550
|
Working: string;
|
550
551
|
};
|
551
552
|
he: {
|
553
|
+
OutOfOfficeHelp: string;
|
552
554
|
LastDay: string;
|
553
555
|
TodayAt: string;
|
554
556
|
Tomorrow: string;
|
package/lib/system.module.d.ts
CHANGED
@@ -2,32 +2,33 @@ import { ModuleWithProviders } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
import * as i1 from "./admin/permissions/permissions.component";
|
4
4
|
import * as i2 from "./admin/indices/manage-cube-index.component";
|
5
|
-
import * as i3 from "./admin/
|
6
|
-
import * as i4 from "./admin/utility.
|
7
|
-
import * as i5 from "./admin/
|
8
|
-
import * as i6 from "./admin/
|
9
|
-
import * as i7 from "./admin/
|
10
|
-
import * as i8 from "./admin/
|
11
|
-
import * as i9 from "./admin/document-trace/trace
|
12
|
-
import * as i10 from "./admin/
|
13
|
-
import * as i11 from "./admin/
|
14
|
-
import * as i12 from "./admin/positions/positions
|
15
|
-
import * as i13 from "./admin/
|
16
|
-
import * as i14 from "./admin/form/workflow/
|
17
|
-
import * as i15 from "./admin/form/workflow/
|
18
|
-
import * as i16 from "./admin/
|
19
|
-
import * as i17 from "
|
20
|
-
import * as i18 from "@angular/common
|
21
|
-
import * as i19 from "@angular/
|
22
|
-
import * as i20 from "@angular/
|
23
|
-
import * as i21 from "@angular/
|
24
|
-
import * as i22 from "
|
25
|
-
import * as i23 from "./modules/
|
26
|
-
import * as i24 from "./
|
5
|
+
import * as i3 from "./admin/profiler/outofoffice.component";
|
6
|
+
import * as i4 from "./admin/utility-wrapper.component";
|
7
|
+
import * as i5 from "./admin/utility.pane.component";
|
8
|
+
import * as i6 from "./admin/core/search.input";
|
9
|
+
import * as i7 from "./admin/document-trace/reassign.dialog";
|
10
|
+
import * as i8 from "./admin/diff/configuration-diff.component";
|
11
|
+
import * as i9 from "./admin/document-trace/document-trace.component";
|
12
|
+
import * as i10 from "./admin/document-trace/trace-element.component";
|
13
|
+
import * as i11 from "./admin/profiler/profiler.component";
|
14
|
+
import * as i12 from "./admin/positions/positions.component";
|
15
|
+
import * as i13 from "./admin/positions/positions-popup.component";
|
16
|
+
import * as i14 from "./admin/form/workflow/workflow.component";
|
17
|
+
import * as i15 from "./admin/form/workflow/node.component";
|
18
|
+
import * as i16 from "./admin/form/workflow/role-node.component";
|
19
|
+
import * as i17 from "./admin/patterns/patterns.component";
|
20
|
+
import * as i18 from "@angular/common";
|
21
|
+
import * as i19 from "@angular/common/http";
|
22
|
+
import * as i20 from "@angular/forms";
|
23
|
+
import * as i21 from "@angular/flex-layout";
|
24
|
+
import * as i22 from "@angular/router";
|
25
|
+
import * as i23 from "./modules/diagram.module";
|
26
|
+
import * as i24 from "./modules/chart.module";
|
27
|
+
import * as i25 from "./shared.module";
|
27
28
|
/** administrative utilities */
|
28
29
|
export declare class SystemModule {
|
29
30
|
static forChild(): ModuleWithProviders<SystemModule>;
|
30
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<SystemModule, never>;
|
31
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SystemModule, [typeof i1.PermissionsUtility, typeof i2.ManageCubeIndexUtility, typeof i3.
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SystemModule, [typeof i1.PermissionsUtility, typeof i2.ManageCubeIndexUtility, typeof i3.OutOfOfficeDialog, typeof i4.UtilityWrapperComponent, typeof i5.UtilityPaneComponent, typeof i6.SearchInput, typeof i7.ReassignDialog, typeof i8.SystemDiffComponent, typeof i9.DocumentTraceComponent, typeof i10.TraceElementComponent, typeof i11.ProfilerComponent, typeof i12.PositionsComponent, typeof i13.PositionsPopup, typeof i14.WorkflowComponent, typeof i15.WorkflowNodeComponent, typeof i16.RoleNodeComponent, typeof i17.PatternsComponent], [typeof i18.CommonModule, typeof i19.HttpClientModule, typeof i20.ReactiveFormsModule, typeof i21.FlexLayoutModule, typeof i22.RouterModule, typeof i23.SyncfusionDiagramModule, typeof i24.SyncfusionChartModule, typeof i25.SharedModule], [typeof i1.PermissionsUtility, typeof i2.ManageCubeIndexUtility, typeof i4.UtilityWrapperComponent, typeof i5.UtilityPaneComponent, typeof i8.SystemDiffComponent, typeof i9.DocumentTraceComponent, typeof i10.TraceElementComponent, typeof i11.ProfilerComponent, typeof i12.PositionsComponent, typeof i14.WorkflowComponent, typeof i15.WorkflowNodeComponent, typeof i16.RoleNodeComponent, typeof i17.PatternsComponent]>;
|
32
33
|
static ɵinj: i0.ɵɵInjectorDeclaration<SystemModule>;
|
33
34
|
}
|