@bizdoc/core 3.4.2 → 3.4.5
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-amber.min.css +1 -1
- package/assets/themes/indigo.min.css +1 -1
- package/fesm2022/bizdoc-core.mjs +1494 -1482
- package/fesm2022/bizdoc-core.mjs.map +1 -1
- package/lib/admin/document-trace/reassign.dialog.d.ts +2 -2
- package/lib/admin/positions/positions-popup.component.d.ts +2 -2
- package/lib/admin/positions/positions.component.d.ts +2 -2
- package/lib/admin/profiler/outofoffice.component.d.ts +5 -5
- package/lib/admin/profiler/profiler.component.d.ts +5 -5
- package/lib/browse/filter/filter.component.d.ts +4 -4
- package/lib/chat/chat-info.d.ts +6 -11
- package/lib/chat/chat.service.d.ts +2 -2
- package/lib/chat/contacts.component.d.ts +2 -2
- package/lib/chat/conversation.component.d.ts +2 -2
- package/lib/compose/action/assign-action.component.d.ts +3 -3
- package/lib/compose/action/moveto-action.component.d.ts +2 -2
- package/lib/compose/trace/flow.component.d.ts +16 -5
- package/lib/compose/trace/people.component.d.ts +3 -3
- package/lib/compose/trace/trace.base.d.ts +1 -2
- package/lib/compose/trace/trace.component.d.ts +2 -1
- package/lib/core/account.service.d.ts +4 -4
- package/lib/core/avatar/avatar.component.d.ts +2 -2
- package/lib/core/configuration.d.ts +2 -2
- package/lib/core/mailbox.service.d.ts +2 -2
- package/lib/core/models.d.ts +1 -1
- package/lib/core/session.service.d.ts +3 -3
- package/lib/core/tagging/users.component.d.ts +2 -2
- package/lib/home/outofoffice/outofoffice.component.d.ts +2 -2
- package/lib/impersonate/impersonate.component.d.ts +6 -6
- package/lib/notifications/types/notification-base.d.ts +2 -2
- package/lib/options/options.component.d.ts +6 -6
- package/package.json +2 -2
- package/public-api.d.ts +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FormGroup, FormControl } from "@angular/forms";
|
2
2
|
import { SessionService } from "../../core/session.service";
|
3
|
-
import { Role,
|
3
|
+
import { Role, PersonInfo } from "../../core/models";
|
4
4
|
import { AccountService } from "../../core/account.service";
|
5
5
|
import { Observable } from "rxjs";
|
6
6
|
import * as i0 from "@angular/core";
|
@@ -11,7 +11,7 @@ export declare class ReassignDialog {
|
|
11
11
|
note: FormControl<string | null>;
|
12
12
|
}>;
|
13
13
|
readonly roles: Role[];
|
14
|
-
readonly users$: Observable<
|
14
|
+
readonly users$: Observable<PersonInfo[]>;
|
15
15
|
constructor(_data: ReassignData, session: SessionService, account: AccountService);
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReassignDialog, never>;
|
17
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<ReassignDialog, "ng-component", never, {}, {}, never, never, false, never>;
|
@@ -2,7 +2,7 @@ import { OnInit, OnDestroy, AfterViewInit, ElementRef, ChangeDetectorRef } from
|
|
2
2
|
import { Observable, Subject } from 'rxjs';
|
3
3
|
import { FormControl } from '@angular/forms';
|
4
4
|
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
5
|
-
import {
|
5
|
+
import { PersonInfo } from '../../core/models';
|
6
6
|
import { AccountService } from '../../core/account.service';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
export interface PositionsData {
|
@@ -17,7 +17,7 @@ export declare class PositionsPopup implements OnInit, AfterViewInit, OnDestroy
|
|
17
17
|
readonly valueChange: Subject<void>;
|
18
18
|
readonly control: FormControl<string | null>;
|
19
19
|
nameInput: ElementRef<HTMLInputElement>;
|
20
|
-
users$: Observable<
|
20
|
+
users$: Observable<PersonInfo[]>;
|
21
21
|
private readonly _destroy;
|
22
22
|
constructor(data: PositionsData, _cd: ChangeDetectorRef, _service: AccountService);
|
23
23
|
ngOnInit(): void;
|
@@ -4,7 +4,7 @@ import { FormControl, FormGroup } from '@angular/forms';
|
|
4
4
|
import { MatSort } from '@angular/material/sort';
|
5
5
|
import { MatTableDataSource } from '@angular/material/table';
|
6
6
|
import { ProgressBarMode } from '@angular/material/progress-bar';
|
7
|
-
import { Role, Type,
|
7
|
+
import { Role, Type, PersonInfo } from '../../core/models';
|
8
8
|
import { AdminComponent } from '../admin-dismiss.service';
|
9
9
|
import { SessionService } from '../../core/session.service';
|
10
10
|
import { DatasourceService } from '../../core/datasource.service';
|
@@ -33,7 +33,7 @@ export declare class PositionsComponent implements OnInit, OnDestroy, UtilityCom
|
|
33
33
|
tools: boolean;
|
34
34
|
displayedColumns: string[];
|
35
35
|
profiles: {
|
36
|
-
[id: string]:
|
36
|
+
[id: string]: PersonInfo;
|
37
37
|
};
|
38
38
|
type?: Type;
|
39
39
|
dirty: boolean;
|
@@ -6,7 +6,7 @@ import { MatDialogRef } from "@angular/material/dialog";
|
|
6
6
|
import { MatInput } from "@angular/material/input";
|
7
7
|
import { Observable } from "rxjs";
|
8
8
|
import { AccountService } from "../../core/account.service";
|
9
|
-
import { OutOfOfficeSettings, GrantSettings,
|
9
|
+
import { OutOfOfficeSettings, GrantSettings, PersonInfo } from "../../core/models";
|
10
10
|
import * as i0 from "@angular/core";
|
11
11
|
export interface OutOfOfficeData {
|
12
12
|
userId: string;
|
@@ -21,7 +21,7 @@ export declare class ProfileSettingsDialog implements OnInit {
|
|
21
21
|
readonly separatorKeysCodes: number[];
|
22
22
|
readonly today: Date;
|
23
23
|
readonly isMobile: boolean;
|
24
|
-
readonly substitute: import("@angular/forms").FormControl<string |
|
24
|
+
readonly substitute: import("@angular/forms").FormControl<string | PersonInfo | null>;
|
25
25
|
readonly grants: import("@angular/forms").FormControl<never[] | null>;
|
26
26
|
substitueInput: MatInput;
|
27
27
|
grantInput: MatChipInput;
|
@@ -47,11 +47,11 @@ export declare class ProfileSettingsDialog implements OnInit {
|
|
47
47
|
users: import("@angular/forms").FormControl<string[] | null>;
|
48
48
|
}>;
|
49
49
|
}>;
|
50
|
-
ousers$: Observable<
|
51
|
-
gusers$: Observable<
|
50
|
+
ousers$: Observable<PersonInfo[]>;
|
51
|
+
gusers$: Observable<PersonInfo[]>;
|
52
52
|
constructor(_accounts: AccountService, _dialogRef: MatDialogRef<ProfileSettingsDialog>, _fb: FormBuilder, model: OutOfOfficeData);
|
53
53
|
ngOnInit(): void;
|
54
|
-
userDisplay: (item:
|
54
|
+
userDisplay: (item: PersonInfo) => string | null;
|
55
55
|
setId(event: MatAutocompleteSelectedEvent): void;
|
56
56
|
/**
|
57
57
|
*
|
@@ -4,7 +4,7 @@ import { MatDialog } from '@angular/material/dialog';
|
|
4
4
|
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
5
5
|
import { AxisModel, BorderModel, ChartComponent, IPointEventArgs, ITooltipRenderEventArgs, LegendSeriesModel, MarkerOptionsModel, TooltipSettingsModel, ZoomSettingsModel } from '@syncfusion/ej2-angular-charts';
|
6
6
|
import { Observable } from 'rxjs';
|
7
|
-
import { GrantSettings, OutOfOfficeSettings,
|
7
|
+
import { GrantSettings, OutOfOfficeSettings, PersonInfo } from '../../core/models';
|
8
8
|
import { UtilityRef } from '../utility-ref';
|
9
9
|
import { PromptService } from '../../core/prompt.service';
|
10
10
|
import { AccountService } from '../../core/account.service';
|
@@ -42,8 +42,8 @@ export declare class ProfilerComponent implements OnInit, OnDestroy {
|
|
42
42
|
readonly legend: LegendSeriesModel;
|
43
43
|
readonly border: BorderModel;
|
44
44
|
readonly marker: MarkerOptionsModel;
|
45
|
-
users$: Observable<
|
46
|
-
assignable$: Observable<
|
45
|
+
users$: Observable<PersonInfo[]>;
|
46
|
+
assignable$: Observable<PersonInfo[]>;
|
47
47
|
palettes: string[];
|
48
48
|
theme: 'Material3' | 'Material3Dark';
|
49
49
|
data: ProfileInfo;
|
@@ -65,7 +65,7 @@ export declare class ProfilerComponent implements OnInit, OnDestroy {
|
|
65
65
|
private _series;
|
66
66
|
private _actionName;
|
67
67
|
pointClick(evt: IPointEventArgs): void;
|
68
|
-
userDisplay(item:
|
68
|
+
userDisplay(item: PersonInfo): string | null;
|
69
69
|
trace(id: number): void;
|
70
70
|
chat(): void;
|
71
71
|
reassign(position?: PositionInfo): void;
|
@@ -95,7 +95,7 @@ interface ProfileInfo {
|
|
95
95
|
received: Date;
|
96
96
|
number: string;
|
97
97
|
}[];
|
98
|
-
info:
|
98
|
+
info: PersonInfo;
|
99
99
|
}
|
100
100
|
interface PositionInfo {
|
101
101
|
type: string;
|
@@ -3,7 +3,7 @@ import { FormBuilder } from '@angular/forms';
|
|
3
3
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
4
4
|
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
5
5
|
import { Observable } from 'rxjs';
|
6
|
-
import { State, Form,
|
6
|
+
import { State, Form, PersonInfo, AxesMap } from '../../core/models';
|
7
7
|
import { SessionService } from '../../core/session.service';
|
8
8
|
import { MailboxService } from '../../core/mailbox.service';
|
9
9
|
import { AccountService } from '../../core/account.service';
|
@@ -22,7 +22,7 @@ export declare class BrowseFilterComponent implements OnInit, AfterViewInit, OnD
|
|
22
22
|
folderId?: string;
|
23
23
|
exclude?: string[];
|
24
24
|
readonly valuesChange: EventEmitter<BrowseFilterArgs>;
|
25
|
-
readonly sendername: import("@angular/forms").FormControl<string |
|
25
|
+
readonly sendername: import("@angular/forms").FormControl<string | PersonInfo | null>;
|
26
26
|
readonly form: import("@angular/forms").FormGroup<{
|
27
27
|
contains: import("@angular/forms").FormControl<string | null>;
|
28
28
|
form: import("@angular/forms").FormControl<string | null>;
|
@@ -32,7 +32,7 @@ export declare class BrowseFilterComponent implements OnInit, AfterViewInit, OnD
|
|
32
32
|
}>;
|
33
33
|
forms: Form[];
|
34
34
|
states: State[];
|
35
|
-
senders$: Observable<
|
35
|
+
senders$: Observable<PersonInfo[]>;
|
36
36
|
tags?: string[];
|
37
37
|
filters: {
|
38
38
|
cube?: string;
|
@@ -56,7 +56,7 @@ export declare class BrowseFilterComponent implements OnInit, AfterViewInit, OnD
|
|
56
56
|
clearSender(): void;
|
57
57
|
axesChange(axes: AxesMap): void;
|
58
58
|
toggleTag(evt: MatChipListboxChange): void;
|
59
|
-
displayFn(item:
|
59
|
+
displayFn(item: PersonInfo): string | undefined;
|
60
60
|
drop(evt: CdkDragDrop<string, any>): void;
|
61
61
|
senderSelected(e: MatAutocompleteSelectedEvent): void;
|
62
62
|
focus(): void;
|
package/lib/chat/chat-info.d.ts
CHANGED
@@ -1,29 +1,23 @@
|
|
1
1
|
import { Subject } from 'rxjs';
|
2
2
|
import { BizDocConfig } from '../core/configuration';
|
3
|
-
import {
|
3
|
+
import { PersonInfo } from '../core/models';
|
4
4
|
import { SessionService } from '../core/session.service';
|
5
5
|
import { RouterImpl } from '../core/router';
|
6
|
+
import { AccountService } from '../core/account.service';
|
6
7
|
import * as i0 from "@angular/core";
|
7
|
-
export interface ChatOpenEvent {
|
8
|
-
contact: Contact;
|
9
|
-
text?: string;
|
10
|
-
image?: string;
|
11
|
-
resource?: {
|
12
|
-
[key: string]: any;
|
13
|
-
};
|
14
|
-
}
|
15
8
|
export declare class ChatInfo {
|
16
9
|
private _router;
|
17
10
|
private _session;
|
11
|
+
private _account;
|
18
12
|
private _config?;
|
19
13
|
private _isMobile;
|
20
14
|
_open$: Subject<string>;
|
21
|
-
constructor(config: BizDocConfig, _router: RouterImpl, _session: SessionService);
|
15
|
+
constructor(config: BizDocConfig, _router: RouterImpl, _session: SessionService, _account: AccountService);
|
22
16
|
/**
|
23
17
|
*
|
24
18
|
* @param person
|
25
19
|
*/
|
26
|
-
format(person:
|
20
|
+
format(person: PersonInfo): string;
|
27
21
|
/**
|
28
22
|
*
|
29
23
|
* @param userId
|
@@ -32,6 +26,7 @@ export declare class ChatInfo {
|
|
32
26
|
mode?: 'room' | 'full';
|
33
27
|
group?: string;
|
34
28
|
}): void;
|
29
|
+
private _nav;
|
35
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChatInfo, never>;
|
36
31
|
static ɵprov: i0.ɵɵInjectableDeclaration<ChatInfo>;
|
37
32
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
2
2
|
import { Observable } from 'rxjs';
|
3
|
-
import { Chat, Contact,
|
3
|
+
import { Chat, Contact, PersonInfo } from '../core/models';
|
4
4
|
import { SessionService } from '../core/session.service';
|
5
5
|
import { HubService } from '../core/hub.service';
|
6
6
|
import * as i0 from "@angular/core";
|
@@ -24,7 +24,7 @@ export declare class ChatService {
|
|
24
24
|
seen(contactId: string): Observable<Timestamp>;
|
25
25
|
typing(contactId: string): Observable<any>;
|
26
26
|
forget(contactId: string): Observable<any>;
|
27
|
-
findAll(name: string): Observable<
|
27
|
+
findAll(name: string): Observable<PersonInfo[]>;
|
28
28
|
send(contactId: string, options: {
|
29
29
|
text?: string;
|
30
30
|
icon?: string;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, PipeTransform } from "@angular/core";
|
2
2
|
import { Observable } from 'rxjs';
|
3
|
-
import { Contact,
|
3
|
+
import { Contact, PersonInfo } from '../core/models';
|
4
4
|
import { SessionService } from '../core/session.service';
|
5
5
|
import { PromptService } from '../core/prompt.service';
|
6
6
|
import { FormControl } from '@angular/forms';
|
@@ -23,7 +23,7 @@ export declare class ContactsComponent implements OnInit, OnDestroy {
|
|
23
23
|
private _messaging;
|
24
24
|
readonly selected: EventEmitter<Contact>;
|
25
25
|
contacts: Contact[];
|
26
|
-
users$: Observable<
|
26
|
+
users$: Observable<PersonInfo[]>;
|
27
27
|
readonly searchControl: FormControl<any>;
|
28
28
|
private readonly _destroy;
|
29
29
|
constructor(_service: ChatService, _sb: PromptService, _session: SessionService, _accounts: AccountService, _changeDetector: ChangeDetectorRef, _messaging: HubService);
|
@@ -2,7 +2,7 @@ import { ElementRef, OnDestroy, OnInit, TemplateRef, ViewContainerRef, OnChanges
|
|
2
2
|
import { Overlay } from '@angular/cdk/overlay';
|
3
3
|
import { Subject } from 'rxjs';
|
4
4
|
import { CalendarSpec } from "../core/pipes/calendar.pipe";
|
5
|
-
import { Chat, Contact,
|
5
|
+
import { Chat, Contact, PersonInfo } from '../core/models';
|
6
6
|
import { HubService } from '../core/hub.service';
|
7
7
|
import { ChatService } from './chat.service';
|
8
8
|
import { TranslateService } from '../core/translate.service';
|
@@ -20,7 +20,7 @@ export declare class ConversationComponent implements OnInit, OnChanges, OnDestr
|
|
20
20
|
private _vc;
|
21
21
|
private _overlay;
|
22
22
|
contact: Contact;
|
23
|
-
profile:
|
23
|
+
profile: PersonInfo;
|
24
24
|
items: Chat[];
|
25
25
|
typing: boolean;
|
26
26
|
watermark?: Date;
|
@@ -2,7 +2,7 @@ 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';
|
5
|
-
import {
|
5
|
+
import { PersonInfo } from '../../core/models';
|
6
6
|
import { ArgumentsComponent } from '../../core/base';
|
7
7
|
import { SessionService } from '../../core/session.service';
|
8
8
|
import { AccountService } from '../../core/account.service';
|
@@ -19,10 +19,10 @@ export declare class AssignActionComponent implements ArgumentsComponent, OnInit
|
|
19
19
|
note: import("@angular/forms").FormControl<string | null>;
|
20
20
|
}>;
|
21
21
|
readonly userId: import("@angular/forms").FormControl<never[] | null>;
|
22
|
-
users$: Observable<
|
22
|
+
users$: Observable<PersonInfo[]>;
|
23
23
|
private _destroy;
|
24
24
|
constructor(_fb: FormBuilder, _session: SessionService, _accounts: AccountService);
|
25
|
-
displayWith: (e:
|
25
|
+
displayWith: (e: PersonInfo) => string;
|
26
26
|
ngOnInit(): void;
|
27
27
|
/**
|
28
28
|
*
|
@@ -2,7 +2,7 @@ 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';
|
5
|
-
import {
|
5
|
+
import { PersonInfo } from '../../core/models';
|
6
6
|
import { ArgumentsComponent } from '../../core/base';
|
7
7
|
import { SessionService } from '../../core/session.service';
|
8
8
|
import { AccountService } from '../../core/account.service';
|
@@ -18,7 +18,7 @@ export declare class MoveToActionComponent implements ArgumentsComponent, OnInit
|
|
18
18
|
note: import("@angular/forms").FormControl<string | null>;
|
19
19
|
}>;
|
20
20
|
readonly userIds: import("@angular/forms").FormControl<never[] | null>;
|
21
|
-
users$: Observable<
|
21
|
+
users$: Observable<PersonInfo[]>;
|
22
22
|
private _destroy;
|
23
23
|
constructor(_fb: FormBuilder, _session: SessionService, _accounts: AccountService);
|
24
24
|
ngOnInit(): void;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import { LayoutModel, DiagramTools, Diagram, DiagramConstraints, ScrollSettingsModel, SnapSettingsModel, Segments } from '@syncfusion/ej2-angular-diagrams';
|
1
|
+
import { OnDestroy, SimpleChanges, AfterViewInit } from '@angular/core';
|
2
|
+
import { NodeModel, ConnectorModel, LayoutModel, DiagramTools, Diagram, DiagramConstraints, ScrollSettingsModel, SnapSettingsModel, Segments } from '@syncfusion/ej2-angular-diagrams';
|
3
3
|
import { DocumentModel } from "../../core/models";
|
4
4
|
import { TraceBase } from './trace.base';
|
5
5
|
import { SessionService } from '../../core/session.service';
|
@@ -8,26 +8,37 @@ import { TranslateService } from '../../core/translate.service';
|
|
8
8
|
import { HubService } from '../../core/hub.service';
|
9
9
|
import { DurationFormatPipe } from '../../core/pipes/duration-format.pipe';
|
10
10
|
import * as i0 from "@angular/core";
|
11
|
-
export declare class FlowViewComponent extends TraceBase implements OnDestroy {
|
11
|
+
export declare class FlowViewComponent extends TraceBase implements AfterViewInit, OnDestroy {
|
12
12
|
private _accounts;
|
13
13
|
private _translate;
|
14
14
|
private _duration;
|
15
|
-
private _elementRef;
|
16
15
|
model: DocumentModel<any>;
|
16
|
+
/** trigger ngOnChanges on document save */
|
17
17
|
version: number;
|
18
18
|
connectorType: Segments;
|
19
19
|
diagram: Diagram;
|
20
20
|
readonly tool: DiagramTools;
|
21
21
|
readonly diagramConstraints: DiagramConstraints;
|
22
22
|
readonly enableRtl: boolean;
|
23
|
+
readonly transparentColor: string;
|
23
24
|
readonly layout: LayoutModel;
|
24
25
|
readonly scrollSettings: ScrollSettingsModel;
|
26
|
+
readonly diagramSettings: {
|
27
|
+
inversedAlignment: boolean;
|
28
|
+
};
|
25
29
|
readonly snapSettings: SnapSettingsModel;
|
26
30
|
private readonly _configuration;
|
27
31
|
private _accentColor;
|
32
|
+
nodes: NodeModel[];
|
33
|
+
connectors: ConnectorModel[];
|
34
|
+
indicators: NodeModel[];
|
28
35
|
/** workflow-view ctor */
|
29
|
-
constructor(_accounts: AccountService,
|
36
|
+
constructor(_accounts: AccountService, _translate: TranslateService, _duration: DurationFormatPipe, session: SessionService, hub: HubService);
|
37
|
+
ngAfterViewInit(): void;
|
38
|
+
ngOnChanges(_changes: SimpleChanges): void;
|
39
|
+
created(): void;
|
30
40
|
protected _initialize(): Promise<void>;
|
41
|
+
private _addIndicators;
|
31
42
|
private _refresh;
|
32
43
|
/** */
|
33
44
|
private _prepare;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { OnChanges, SimpleChanges } from "@angular/core";
|
2
2
|
import { AccountService } from "../../core/account.service";
|
3
|
-
import { DocumentModel, RecipientModel,
|
3
|
+
import { DocumentModel, RecipientModel, PersonInfo } from "../../core/models";
|
4
4
|
import { SessionService } from "../../core/session.service";
|
5
5
|
import { ChatInfo } from "../../chat/chat-info";
|
6
6
|
import * as i0 from "@angular/core";
|
@@ -9,13 +9,13 @@ export declare class PeopleComponent implements OnChanges {
|
|
9
9
|
private _accounts;
|
10
10
|
private _chat;
|
11
11
|
model: DocumentModel<any> | RecipientModel<any>;
|
12
|
-
people:
|
12
|
+
people: PersonInfo[];
|
13
13
|
private readonly _userIds;
|
14
14
|
private readonly _me;
|
15
15
|
constructor(_accounts: AccountService, session: SessionService, _chat: ChatInfo);
|
16
16
|
ngOnChanges(_: SimpleChanges): void;
|
17
17
|
private _push;
|
18
|
-
chat(person:
|
18
|
+
chat(person: PersonInfo): void;
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<PeopleComponent, never>;
|
20
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<PeopleComponent, "bizdoc-people", never, { "model": { "alias": "model"; "required": false; }; }, {}, never, never, false, never>;
|
21
21
|
}
|
@@ -15,8 +15,7 @@ export declare abstract class TraceBase implements OnChanges {
|
|
15
15
|
onLoad(): Observable<any> | null;
|
16
16
|
refresh(): void;
|
17
17
|
protected _roleName(name: string): string;
|
18
|
-
ngOnChanges(_: SimpleChanges): void;
|
19
|
-
protected abstract _initialize(): void;
|
18
|
+
abstract ngOnChanges(_: SimpleChanges): void;
|
20
19
|
protected resetEstimateTime(): void;
|
21
20
|
/**
|
22
21
|
*
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EventEmitter } from "@angular/core";
|
1
|
+
import { EventEmitter, SimpleChanges } from "@angular/core";
|
2
2
|
import { CalendarSpec } from "../../core/pipes/calendar.pipe";
|
3
3
|
import { LogType, DocumentModel } from "../../core/models";
|
4
4
|
import { SessionService } from "../../core/session.service";
|
@@ -20,6 +20,7 @@ export declare class TraceViewComponent extends TraceBase {
|
|
20
20
|
private _data;
|
21
21
|
readonly CALENDAR_SPEC: CalendarSpec;
|
22
22
|
constructor(session: SessionService, _translate: TranslateService, _accounts: AccountService, _chat: ChatInfo, hub: HubService);
|
23
|
+
ngOnChanges(_: SimpleChanges): void;
|
23
24
|
protected _initialize(): Promise<void>;
|
24
25
|
private _filter;
|
25
26
|
private _showMode;
|
@@ -1,18 +1,18 @@
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
2
2
|
import { Observable } from 'rxjs';
|
3
|
-
import {
|
3
|
+
import { PersonInfo } from '../core/models';
|
4
4
|
import { HubService } from './hub.service';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
export declare class AccountService {
|
7
7
|
private _http;
|
8
8
|
private readonly _cache;
|
9
9
|
constructor(_http: HttpClient, messaging: HubService);
|
10
|
-
getAll(ids: string[]): Observable<
|
11
|
-
get(id: string): Observable<
|
10
|
+
getAll(ids: string[]): Observable<PersonInfo[]>;
|
11
|
+
get(id: string): Observable<PersonInfo>;
|
12
12
|
findAll(name?: string | null, options?: {
|
13
13
|
skip?: number;
|
14
14
|
take?: number;
|
15
|
-
}): Observable<
|
15
|
+
}): Observable<PersonInfo[]>;
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccountService, never>;
|
17
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<AccountService>;
|
18
18
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges } from "@angular/core";
|
2
|
-
import { AvailabilityState,
|
2
|
+
import { AvailabilityState, PersonInfo } from "../models";
|
3
3
|
import { HubService } from "../hub.service";
|
4
4
|
import { DomSanitizer, SafeUrl } from "@angular/platform-browser";
|
5
5
|
import EventEmitter from "events";
|
@@ -8,7 +8,7 @@ export declare class AvatarComponent implements OnChanges, OnDestroy {
|
|
8
8
|
private _hub;
|
9
9
|
private _sanitizer;
|
10
10
|
private _cd;
|
11
|
-
person:
|
11
|
+
person: PersonInfo;
|
12
12
|
readonly clickChange: EventEmitter<any>;
|
13
13
|
modeIcon: string;
|
14
14
|
modeColor: string;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { InjectionToken, Type } from '@angular/core';
|
2
2
|
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
3
3
|
import { Observable } from 'rxjs';
|
4
|
-
import { FolderColumn } from './models';
|
4
|
+
import { FolderColumn, PersonInfo } from './models';
|
5
5
|
import { BaseColor } from './colors';
|
6
6
|
export declare const BIZDOC_CONFIG: InjectionToken<BizDocConfig>;
|
7
7
|
export interface PaneRoute {
|
@@ -100,7 +100,7 @@ export interface ChatSettings {
|
|
100
100
|
app?: string | ChatLauncherFn;
|
101
101
|
}
|
102
102
|
export declare interface ChatLauncherFn {
|
103
|
-
(
|
103
|
+
(person: PersonInfo): void;
|
104
104
|
}
|
105
105
|
export interface FirebaseSettings {
|
106
106
|
apiKey: string;
|
@@ -3,7 +3,7 @@ import { HttpClient } from '@angular/common/http';
|
|
3
3
|
import { SafeUrl } from '@angular/platform-browser';
|
4
4
|
import { Observable } from 'rxjs';
|
5
5
|
import { SessionService } from './session.service';
|
6
|
-
import { Comment,
|
6
|
+
import { Comment, PersonInfo, RecipientModel, Attachment, ScheduledEvent, HeaderModel, DocumentModel, Vote, CommentVersion, Chain } from './models';
|
7
7
|
import { HubService } from './hub.service';
|
8
8
|
import { AuthenticationImpl } from './authentication';
|
9
9
|
import * as i0 from "@angular/core";
|
@@ -48,7 +48,7 @@ export declare class MailboxService {
|
|
48
48
|
* retrieve senders
|
49
49
|
* @param name
|
50
50
|
*/
|
51
|
-
senders(name: string): Observable<
|
51
|
+
senders(name: string): Observable<PersonInfo[]>;
|
52
52
|
flag(id: number, flag: boolean): Observable<any>;
|
53
53
|
viewedcomments(id: number): Observable<{
|
54
54
|
time: Date;
|
package/lib/core/models.d.ts
CHANGED
@@ -5,7 +5,7 @@ import { MatIconRegistry } from '@angular/material/icon';
|
|
5
5
|
import { Observable } from 'rxjs';
|
6
6
|
import { CookieService } from 'ngx-cookie-service';
|
7
7
|
import { BizDocConfig, Theme } from '../core/configuration';
|
8
|
-
import { Profile,
|
8
|
+
import { Profile, PersonInfo, AvailabilityState, Options, Gender } from './models';
|
9
9
|
import { HubService } from './hub.service';
|
10
10
|
import { MaterialMode } from './functions';
|
11
11
|
import * as i0 from "@angular/core";
|
@@ -76,8 +76,8 @@ export declare class SessionService {
|
|
76
76
|
* @param search
|
77
77
|
* @returns
|
78
78
|
*/
|
79
|
-
listImpersonate(search?: string): Observable<
|
80
|
-
impersonate(userId: string): Observable<
|
79
|
+
listImpersonate(search?: string): Observable<PersonInfo[]>;
|
80
|
+
impersonate(userId: string): Observable<PersonInfo>;
|
81
81
|
inboxTouch(): Promise<WatermarkInfo>;
|
82
82
|
notificationsTouch(): Promise<WatermarkInfo>;
|
83
83
|
private _getBrowserLang;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { PersonInfo } from "../models";
|
2
2
|
import { AccountService } from "../account.service";
|
3
3
|
import { SessionService } from "../session.service";
|
4
4
|
import { TaggingComponentBase } from "./tagging.component-base";
|
5
5
|
import * as i0 from "@angular/core";
|
6
|
-
export declare class UserTaggingComponent extends TaggingComponentBase<
|
6
|
+
export declare class UserTaggingComponent extends TaggingComponentBase<PersonInfo> {
|
7
7
|
private _session;
|
8
8
|
private _accounts;
|
9
9
|
private readonly _me;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { MatSnackBarRef } from "@angular/material/snack-bar";
|
2
|
-
import {
|
2
|
+
import { PersonInfo } from '../../core/models';
|
3
3
|
import { AccountService } from '../../core/account.service';
|
4
4
|
import { RouterImpl } from "../../core/router";
|
5
5
|
import * as i0 from "@angular/core";
|
@@ -7,7 +7,7 @@ export declare class OutOfOfficeToast {
|
|
7
7
|
private _router;
|
8
8
|
private _accounts;
|
9
9
|
private _ref;
|
10
|
-
substitute:
|
10
|
+
substitute: PersonInfo;
|
11
11
|
constructor(_router: RouterImpl, _accounts: AccountService, data: OutOfOfficeData, _ref: MatSnackBarRef<OutOfOfficeToast>);
|
12
12
|
options(): void;
|
13
13
|
dismiss(): void;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
2
2
|
import { FormControl } from '@angular/forms';
|
3
3
|
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
4
|
-
import {
|
4
|
+
import { PersonInfo } from '../core/models';
|
5
5
|
import { SessionService } from '../core/session.service';
|
6
6
|
import { PromptService } from '../core/prompt.service';
|
7
7
|
import * as i0 from "@angular/core";
|
@@ -9,17 +9,17 @@ export declare class ImpersonateDialog implements OnDestroy {
|
|
9
9
|
private _sb;
|
10
10
|
private _session;
|
11
11
|
private readonly _destroy;
|
12
|
-
readonly username: FormControl<string |
|
13
|
-
readonly recents$: import("rxjs").Observable<
|
14
|
-
readonly users$: import("rxjs").Observable<
|
15
|
-
selected?:
|
12
|
+
readonly username: FormControl<string | PersonInfo | null>;
|
13
|
+
readonly recents$: import("rxjs").Observable<PersonInfo[]>;
|
14
|
+
readonly users$: import("rxjs").Observable<PersonInfo[]>;
|
15
|
+
selected?: PersonInfo;
|
16
16
|
logging: boolean;
|
17
17
|
constructor(_sb: PromptService, _session: SessionService);
|
18
18
|
reset(): void;
|
19
19
|
close(): void;
|
20
20
|
escape(evt: MouseEvent): void;
|
21
21
|
go(userId: string): void;
|
22
|
-
display(item?:
|
22
|
+
display(item?: PersonInfo): string | null;
|
23
23
|
change(evt: MatAutocompleteSelectedEvent): void;
|
24
24
|
ngOnDestroy(): void;
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImpersonateDialog, never>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { InjectionToken } from "@angular/core";
|
2
|
-
import { Message,
|
2
|
+
import { Message, PersonInfo } from "../../core/models";
|
3
3
|
import { SessionService } from "../../core/session.service";
|
4
4
|
import { TranslateService } from "../../core/translate.service";
|
5
5
|
import { ChatInfo } from "../../chat/chat-info";
|
@@ -13,7 +13,7 @@ export declare abstract class NotificationBase {
|
|
13
13
|
protected _translate: TranslateService;
|
14
14
|
private _chat;
|
15
15
|
constructor(notification: Message, _router: RouterImpl, _session: SessionService, _translate: TranslateService, _chat: ChatInfo);
|
16
|
-
protected _formatUserElement(person:
|
16
|
+
protected _formatUserElement(person: PersonInfo): string;
|
17
17
|
open(e: MouseEvent): void;
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationBase, never>;
|
19
19
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NotificationBase, never, never, {}, {}, never, never, true, never>;
|
@@ -5,7 +5,7 @@ import { MatChipInput, MatChipInputEvent } from '@angular/material/chips';
|
|
5
5
|
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
6
6
|
import { MatInput } from '@angular/material/input';
|
7
7
|
import { BizDocConfig, Theme } from '../core/configuration';
|
8
|
-
import { AvailabilityState, Guide, Options, Profile,
|
8
|
+
import { AvailabilityState, Guide, Options, Profile, PersonInfo } from '../core/models';
|
9
9
|
import { AccountService } from '../core/account.service';
|
10
10
|
import { SessionService } from '../core/session.service';
|
11
11
|
import { PromptService } from '../core/prompt.service';
|
@@ -47,7 +47,7 @@ export declare class OptionsComponent implements OnInit, OnDestroy {
|
|
47
47
|
saveing: boolean;
|
48
48
|
private _requiredValidator;
|
49
49
|
readonly grantUserIds: import("@angular/forms").FormControl<never[] | null>;
|
50
|
-
readonly oooId: import("@angular/forms").FormControl<string |
|
50
|
+
readonly oooId: import("@angular/forms").FormControl<string | PersonInfo | null>;
|
51
51
|
readonly form: FormGroup<{
|
52
52
|
notifications: FormGroup<{
|
53
53
|
active: import("@angular/forms").FormControl<boolean | null>;
|
@@ -72,7 +72,7 @@ export declare class OptionsComponent implements OnInit, OnDestroy {
|
|
72
72
|
}>;
|
73
73
|
outOfOffice: FormGroup<{
|
74
74
|
active: import("@angular/forms").FormControl<boolean | null>;
|
75
|
-
substitueId: import("@angular/forms").FormControl<string |
|
75
|
+
substitueId: import("@angular/forms").FormControl<string | PersonInfo | null>;
|
76
76
|
from: import("@angular/forms").FormControl<Date | null>;
|
77
77
|
to: import("@angular/forms").FormControl<Date | null>;
|
78
78
|
}>;
|
@@ -81,8 +81,8 @@ export declare class OptionsComponent implements OnInit, OnDestroy {
|
|
81
81
|
users: import("@angular/forms").FormControl<string[] | null>;
|
82
82
|
}>;
|
83
83
|
}>;
|
84
|
-
susers$: Observable<
|
85
|
-
gusers$: Observable<
|
84
|
+
susers$: Observable<PersonInfo[]>;
|
85
|
+
gusers$: Observable<PersonInfo[]>;
|
86
86
|
voting: boolean;
|
87
87
|
readonly options: Options;
|
88
88
|
readonly today: Date;
|
@@ -103,7 +103,7 @@ export declare class OptionsComponent implements OnInit, OnDestroy {
|
|
103
103
|
save(): void;
|
104
104
|
private _toggle;
|
105
105
|
toggleSound(): void;
|
106
|
-
display: (item:
|
106
|
+
display: (item: PersonInfo) => string | null;
|
107
107
|
addTag(event: MatChipInputEvent): void;
|
108
108
|
removeTag(tag: string): void;
|
109
109
|
/**
|