@bizdoc/core 1.14.2 → 1.14.4
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/brown.min.css +1 -1
- package/assets/themes/dark.min.css +1 -1
- package/assets/themes/deep-purple-light-blue.min.css +1 -1
- package/assets/themes/deep-purple-teal.min.css +1 -1
- package/assets/themes/default.min.css +1 -1
- package/assets/themes/green.min.css +1 -1
- package/assets/themes/indigo.min.css +1 -1
- package/esm2020/lib/admin/document-trace/document-trace.component.mjs +3 -1
- package/esm2020/lib/admin/profiler/outofoffice.component.mjs +106 -37
- package/esm2020/lib/admin/profiler/profiler.component.mjs +23 -16
- package/esm2020/lib/core/models.mjs +1 -1
- package/esm2020/lib/core/slots/pane-ref.mjs +39 -25
- package/esm2020/lib/core/slots/slots.component.mjs +27 -24
- package/esm2020/lib/core/translations.mjs +2 -2
- package/esm2020/lib/cube/cube-info.service.mjs +2 -2
- package/esm2020/lib/options/options.component.mjs +37 -16
- package/esm2020/lib/system.module.mjs +8 -7
- package/fesm2015/bizdoc-core.mjs +242 -131
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +235 -127
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/admin/profiler/outofoffice.component.d.ts +29 -11
- package/lib/admin/profiler/profiler.component.d.ts +6 -3
- package/lib/core/models.d.ts +1 -1
- package/lib/core/slots/pane-ref.d.ts +25 -8
- package/lib/core/slots/slots.component.d.ts +1 -1
- package/lib/options/options.component.d.ts +4 -3
- package/lib/system.module.d.ts +1 -1
- package/package.json +16 -16
@@ -1,30 +1,48 @@
|
|
1
1
|
import { OnInit } from "@angular/core";
|
2
|
-
import {
|
2
|
+
import { FormBuilder, FormGroup } from "@angular/forms";
|
3
3
|
import { MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
|
4
|
+
import { MatChipInput } from "@angular/material/chips";
|
4
5
|
import { MatDialogRef } from "@angular/material/dialog";
|
5
6
|
import { MatInput } from "@angular/material/input";
|
6
7
|
import { Observable } from "rxjs";
|
7
8
|
import { AccountService } from "../../core/account.service";
|
8
|
-
import { OutOfOfficeSettings, UserInfo } from "../../core/models";
|
9
|
+
import { OutOfOfficeSettings, GrantSettings, UserInfo } from "../../core/models";
|
9
10
|
import * as i0 from "@angular/core";
|
10
11
|
export interface OutOfOfficeData {
|
11
12
|
userId: string;
|
12
13
|
outOfOffice: OutOfOfficeSettings;
|
14
|
+
grantAccess: GrantSettings;
|
13
15
|
}
|
14
|
-
export declare class
|
16
|
+
export declare class ProfileSettingsDialog implements OnInit {
|
15
17
|
private _accounts;
|
16
18
|
private _dialogRef;
|
17
19
|
private _fb;
|
18
|
-
|
19
|
-
readonly
|
20
|
-
|
20
|
+
model: OutOfOfficeData;
|
21
|
+
readonly separatorKeysCodes: number[];
|
22
|
+
readonly substitute: import("@angular/forms").FormControl;
|
23
|
+
readonly grants: import("@angular/forms").FormControl;
|
24
|
+
substitueInput: MatInput;
|
25
|
+
grantInput: MatChipInput;
|
26
|
+
readonly outOfOffice: FormGroup;
|
27
|
+
readonly grantAccess: FormGroup;
|
21
28
|
readonly form: FormGroup;
|
22
|
-
|
23
|
-
|
24
|
-
constructor(_accounts: AccountService, _dialogRef: MatDialogRef<
|
29
|
+
ousers$: Observable<UserInfo[]>;
|
30
|
+
gusers$: Observable<UserInfo[]>;
|
31
|
+
constructor(_accounts: AccountService, _dialogRef: MatDialogRef<ProfileSettingsDialog>, _fb: FormBuilder, model: OutOfOfficeData);
|
25
32
|
ngOnInit(): void;
|
26
33
|
userDisplay: (item: UserInfo) => string;
|
27
34
|
setId(event: MatAutocompleteSelectedEvent): void;
|
28
|
-
|
29
|
-
|
35
|
+
/**
|
36
|
+
*
|
37
|
+
* @param id
|
38
|
+
*/
|
39
|
+
removeGrant(id: string): void;
|
40
|
+
/**
|
41
|
+
*
|
42
|
+
* @param inp
|
43
|
+
* @param event
|
44
|
+
*/
|
45
|
+
addGrant(inp: HTMLInputElement, event: MatAutocompleteSelectedEvent): void;
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileSettingsDialog, never>;
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileSettingsDialog, "ng-component", never, {}, {}, never, never>;
|
30
48
|
}
|
@@ -5,7 +5,7 @@ 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 { OutOfOfficeSettings, UserInfo } from '../../core/models';
|
8
|
+
import { GrantSettings, 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';
|
@@ -50,6 +50,7 @@ export declare class ProfilerComponent implements OnInit, OnDestroy {
|
|
50
50
|
data: ProfileInfo;
|
51
51
|
cols: number;
|
52
52
|
private readonly _destroy;
|
53
|
+
readonly separatorKeysCodes: number[];
|
53
54
|
/** ctor */
|
54
55
|
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);
|
55
56
|
ngOnInit(): void;
|
@@ -69,7 +70,7 @@ export declare class ProfilerComponent implements OnInit, OnDestroy {
|
|
69
70
|
trace(id: number): void;
|
70
71
|
chat(): void;
|
71
72
|
reassign(position?: PositionInfo): void;
|
72
|
-
|
73
|
+
settings(): void;
|
73
74
|
/** */
|
74
75
|
private _reassign;
|
75
76
|
tooltipRender(e: ITooltipRenderEventArgs): void;
|
@@ -78,7 +79,8 @@ export declare class ProfilerComponent implements OnInit, OnDestroy {
|
|
78
79
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProfilerComponent, "ng-component", never, {}, {}, never, never>;
|
79
80
|
}
|
80
81
|
interface ProfileInfo {
|
81
|
-
outOfOffice
|
82
|
+
outOfOffice: OutOfOfficeSettings;
|
83
|
+
grantAccess: GrantSettings;
|
82
84
|
positions: PositionInfo[];
|
83
85
|
activity: {
|
84
86
|
[action: string]: {
|
@@ -104,6 +106,7 @@ interface PositionInfo {
|
|
104
106
|
}
|
105
107
|
interface ProfilerModel {
|
106
108
|
outOfOffice?: OutOfOfficeSettings;
|
109
|
+
grantAccess?: GrantSettings;
|
107
110
|
userId: string;
|
108
111
|
reassign?: {
|
109
112
|
who: string;
|
package/lib/core/models.d.ts
CHANGED
@@ -6,6 +6,8 @@ import { Dimentions } from "../models";
|
|
6
6
|
export declare const QUERY_CHAR = ":", PATH_CHAR = ";", ARG_CHAR = "&", PANE_CHAR = "~";
|
7
7
|
export declare const PANES_DATA: InjectionToken<PaneRoute[]>;
|
8
8
|
export declare abstract class NavigationBase {
|
9
|
+
_preventDefault: boolean;
|
10
|
+
preventDefault(): void;
|
9
11
|
}
|
10
12
|
export declare class CollapseNavigation extends NavigationBase {
|
11
13
|
}
|
@@ -22,14 +24,25 @@ export declare class NavigationSelected extends NavigationPaneBase {
|
|
22
24
|
}
|
23
25
|
export declare class NavigationEnd extends NavigationPaneBase {
|
24
26
|
}
|
27
|
+
export declare class NavigationMode extends NavigationPaneBase {
|
28
|
+
readonly mode: PaneMode;
|
29
|
+
constructor(mode: PaneMode, pane: PaneRef<any>);
|
30
|
+
}
|
31
|
+
export declare class NavigationFullscreen extends NavigationPaneBase {
|
32
|
+
readonly fullscreen: boolean;
|
33
|
+
constructor(fullscreen: boolean, pane: PaneRef<any>);
|
34
|
+
}
|
35
|
+
export declare class NavigationClose extends NavigationPaneBase {
|
36
|
+
}
|
25
37
|
export declare class ParamNavigation extends NavigationPaneBase {
|
26
38
|
readonly params: ParamMap;
|
27
|
-
constructor(params: ParamMap,
|
39
|
+
constructor(params: ParamMap, pane: PaneRef<any>);
|
28
40
|
}
|
29
41
|
export declare class QueryParamNavigation extends NavigationPaneBase {
|
30
42
|
readonly queryParams: ParamMap;
|
31
|
-
constructor(queryParams: ParamMap,
|
43
|
+
constructor(queryParams: ParamMap, pane: PaneRef<any>);
|
32
44
|
}
|
45
|
+
export declare type PaneMode = 'tab' | 'pane';
|
33
46
|
export interface PaneOptions {
|
34
47
|
title?: string;
|
35
48
|
group?: string;
|
@@ -49,8 +62,7 @@ export declare class PaneRef<T = any> {
|
|
49
62
|
readonly _params$: BehaviorSubject<ParamMap>;
|
50
63
|
readonly _queryParams$: BehaviorSubject<ParamMap>;
|
51
64
|
readonly _resize$: BehaviorSubject<Dimentions>;
|
52
|
-
|
53
|
-
_mode$: BehaviorSubject<'tab' | 'pane'>;
|
65
|
+
readonly _events$: Subject<NavigationBase>;
|
54
66
|
title: string;
|
55
67
|
icon?: string;
|
56
68
|
guide?: string;
|
@@ -60,14 +72,16 @@ export declare class PaneRef<T = any> {
|
|
60
72
|
group: string;
|
61
73
|
help: string;
|
62
74
|
expandable: boolean;
|
75
|
+
_fullscreen: boolean;
|
63
76
|
_instance: T;
|
64
77
|
_path: string;
|
65
78
|
_queryString: string;
|
66
79
|
_injector: Injector;
|
67
80
|
_portal: ComponentPortal<T>;
|
81
|
+
_mode: PaneMode;
|
82
|
+
_stretch: boolean;
|
68
83
|
get injector(): Injector;
|
69
84
|
get fullscreen(): boolean;
|
70
|
-
get fullscreenChange(): import("rxjs").Observable<boolean>;
|
71
85
|
get fullPath(): string;
|
72
86
|
get instance(): T;
|
73
87
|
get data(): any;
|
@@ -78,16 +92,19 @@ export declare class PaneRef<T = any> {
|
|
78
92
|
get queryString(): string;
|
79
93
|
get queryParams(): ParamMap;
|
80
94
|
get queryParamsChange(): import("rxjs").Observable<ParamMap>;
|
95
|
+
get events(): import("rxjs").Observable<NavigationBase>;
|
96
|
+
get closing(): import("rxjs").Observable<NavigationBase>;
|
97
|
+
get modeChange(): import("rxjs").Observable<NavigationBase>;
|
98
|
+
get fullscreenChange(): import("rxjs").Observable<NavigationBase>;
|
81
99
|
get path(): string;
|
82
|
-
get
|
83
|
-
get mode(): "tab" | "pane";
|
100
|
+
get mode(): PaneMode;
|
84
101
|
get parent(): PaneRef<any>;
|
85
102
|
get stretch(): boolean;
|
86
103
|
set stretch(val: boolean);
|
87
104
|
get dialog(): boolean;
|
88
105
|
get dismissable(): boolean;
|
89
106
|
get route(): PaneRoute;
|
90
|
-
constructor(component: Type<any>, mode:
|
107
|
+
constructor(component: Type<any>, mode: PaneMode, _options: {
|
91
108
|
path?: string;
|
92
109
|
route?: PaneRoute;
|
93
110
|
title?: string;
|
@@ -3,13 +3,14 @@ import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { Observable } from 'rxjs';
|
4
4
|
import { OverlayRef } from '@angular/cdk/overlay';
|
5
5
|
import { MatExpansionPanel } from '@angular/material/expansion';
|
6
|
-
import { MatChipInputEvent } from '@angular/material/chips';
|
6
|
+
import { MatChipInput, MatChipInputEvent } from '@angular/material/chips';
|
7
7
|
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
8
8
|
import { BizDocConfig } from '../core/configuration';
|
9
9
|
import { Options, UserInfo } from '../core/models';
|
10
10
|
import { AccountService } from '../core/account.service';
|
11
11
|
import { SessionService } from '../core/session.service';
|
12
12
|
import { PromptService } from '../core/prompt.service';
|
13
|
+
import { MatInput } from '@angular/material/input';
|
13
14
|
import * as i0 from "@angular/core";
|
14
15
|
export declare type OptionType = 'notifications' | 'outofoffice' | 'emails' | 'grantaccess';
|
15
16
|
export declare const OPTION_PANEL: InjectionToken<OptionData>;
|
@@ -24,6 +25,8 @@ export declare class OptionsComponent implements OnInit, OnDestroy {
|
|
24
25
|
private _session;
|
25
26
|
private readonly _destroy;
|
26
27
|
private _requiredValidator;
|
28
|
+
substitueInput: MatInput;
|
29
|
+
grantInput: MatChipInput;
|
27
30
|
readonly language: import("@angular/forms").FormControl;
|
28
31
|
readonly aRIA: import("@angular/forms").FormControl;
|
29
32
|
readonly languages: string[];
|
@@ -37,13 +40,11 @@ export declare class OptionsComponent implements OnInit, OnDestroy {
|
|
37
40
|
readonly separatorKeysCodes: number[];
|
38
41
|
outOfOffice: MatExpansionPanel;
|
39
42
|
notifications: MatExpansionPanel;
|
40
|
-
private readonly _me;
|
41
43
|
/** options ctor */
|
42
44
|
constructor(_option: OptionData, overlayRef: OverlayRef, _fb: FormBuilder, _accounts: AccountService, _sb: PromptService, _session: SessionService, config: BizDocConfig);
|
43
45
|
ngOnInit(): void;
|
44
46
|
private _toggle;
|
45
47
|
toggleSound(): void;
|
46
|
-
nameOf(id: string): Observable<string>;
|
47
48
|
display: (item: UserInfo) => string;
|
48
49
|
addTag(event: MatChipInputEvent): void;
|
49
50
|
removeTag(tag: string): void;
|
package/lib/system.module.d.ts
CHANGED
@@ -29,6 +29,6 @@ import * as i25 from "./shared.module";
|
|
29
29
|
export declare class SystemModule {
|
30
30
|
static forChild(): ModuleWithProviders<SystemModule>;
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<SystemModule, never>;
|
32
|
-
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.ProfileSettingsDialog, 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]>;
|
33
33
|
static ɵinj: i0.ɵɵInjectorDeclaration<SystemModule>;
|
34
34
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@bizdoc/core",
|
3
|
-
"version": "1.14.
|
3
|
+
"version": "1.14.4",
|
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",
|
@@ -10,26 +10,26 @@
|
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"@ctrl/ngx-emoji-mart": "^6.2.0",
|
13
|
-
"@microsoft/signalr": "^6.0.
|
14
|
-
"@syncfusion/ej2": "^20.1.
|
15
|
-
"@syncfusion/ej2-angular-charts": "^20.1.
|
13
|
+
"@microsoft/signalr": "^6.0.4",
|
14
|
+
"@syncfusion/ej2": "^20.1.51",
|
15
|
+
"@syncfusion/ej2-angular-charts": "^20.1.51",
|
16
16
|
"@syncfusion/ej2-angular-circulargauge": "^20.1.47",
|
17
|
-
"@syncfusion/ej2-angular-diagrams": "^20.1.
|
18
|
-
"@syncfusion/ej2-angular-gantt": "^20.1.
|
19
|
-
"@syncfusion/ej2-angular-grids": "^20.1.
|
17
|
+
"@syncfusion/ej2-angular-diagrams": "^20.1.51",
|
18
|
+
"@syncfusion/ej2-angular-gantt": "^20.1.51",
|
19
|
+
"@syncfusion/ej2-angular-grids": "^20.1.51",
|
20
20
|
"@syncfusion/ej2-angular-kanban": "^20.1.47",
|
21
|
-
"@syncfusion/ej2-angular-pivotview": "^20.1.
|
22
|
-
"@syncfusion/ej2-angular-richtexteditor": "^20.1.
|
23
|
-
"@syncfusion/ej2-angular-schedule": "^20.1.
|
24
|
-
"@syncfusion/ej2-angular-spreadsheet": "^20.1.
|
25
|
-
"@syncfusion/ej2-base": "^20.1.
|
21
|
+
"@syncfusion/ej2-angular-pivotview": "^20.1.48",
|
22
|
+
"@syncfusion/ej2-angular-richtexteditor": "^20.1.51",
|
23
|
+
"@syncfusion/ej2-angular-schedule": "^20.1.50",
|
24
|
+
"@syncfusion/ej2-angular-spreadsheet": "^20.1.51",
|
25
|
+
"@syncfusion/ej2-base": "^20.1.50",
|
26
26
|
"@teamhive/lottie-player": "^1.0.0",
|
27
27
|
"brace": "^0.11.1",
|
28
|
-
"cookie": "^0.
|
29
|
-
"dayjs": "^1.11.
|
30
|
-
"firebase": "^9.6.
|
28
|
+
"cookie": "^0.5.0",
|
29
|
+
"dayjs": "^1.11.1",
|
30
|
+
"firebase": "^9.6.11",
|
31
31
|
"hammerjs": "~2",
|
32
|
-
"lottie-web": "^5.9.
|
32
|
+
"lottie-web": "^5.9.3",
|
33
33
|
"ngx-cookie-service": "13",
|
34
34
|
"zone.js": "^0.11.5",
|
35
35
|
"tslib": "^2.3.0"
|