@bizdoc/core 3.8.1 → 3.8.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/fesm2022/bizdoc-core.mjs +90 -96
- package/fesm2022/bizdoc-core.mjs.map +1 -1
- package/index.d.ts +17 -23
- package/package.json +1 -1
package/index.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import * as _angular_forms from '@angular/forms';
|
2
2
|
import { FormGroup, FormBuilder, ControlValueAccessor, NgControl, AbstractControl, FormControl, ValidationErrors, FormArray } from '@angular/forms';
|
3
3
|
import * as i0 from '@angular/core';
|
4
|
-
import { Type as Type$1, InjectionToken, Injector, TemplateRef, ElementRef, OnInit, OnDestroy, ViewContainerRef, DoCheck, EventEmitter, OnChanges, AfterViewInit, SimpleChanges,
|
4
|
+
import { Type as Type$1, InjectionToken, Injector, TemplateRef, ElementRef, OnInit, OnDestroy, ViewContainerRef, DoCheck, EventEmitter, OnChanges, AfterViewInit, SimpleChanges, PipeTransform, ChangeDetectorRef, NgZone, ComponentRef, QueryList, Renderer2, ModuleWithProviders } from '@angular/core';
|
5
5
|
import * as rxjs from 'rxjs';
|
6
6
|
import { Subject, Observable, BehaviorSubject } from 'rxjs';
|
7
7
|
import * as i8 from '@angular/material/chips';
|
8
|
-
import { MatChipInput, MatChipInputEvent, MatChipListbox
|
8
|
+
import { MatChipInput, MatChipInputEvent, MatChipListbox } from '@angular/material/chips';
|
9
9
|
import * as i28 from '@angular/material/autocomplete';
|
10
10
|
import { MatAutocompleteSelectedEvent, MatAutocompleteTrigger, MatAutocomplete } from '@angular/material/autocomplete';
|
11
11
|
import * as i34 from '@angular/material/input';
|
@@ -1128,7 +1128,7 @@ declare class SessionService {
|
|
1128
1128
|
get gender(): Gender | undefined;
|
1129
1129
|
private _accentpalette;
|
1130
1130
|
get accentPalette(): string[];
|
1131
|
-
|
1131
|
+
private _isAboveWatermark;
|
1132
1132
|
private _primarypalette;
|
1133
1133
|
get primeryPalette(): string[];
|
1134
1134
|
getAccent(mode?: MaterialMode): string;
|
@@ -3106,13 +3106,13 @@ declare class MailboxService {
|
|
3106
3106
|
/** */
|
3107
3107
|
readonly changed: Observable<RecipientModel<any>>;
|
3108
3108
|
readonly deleted: Observable<number>;
|
3109
|
-
constructor(
|
3109
|
+
constructor(_session: SessionService, _auth: AuthenticationImpl, _http: HttpClient);
|
3110
3110
|
formatDownloadUrl(document: DocumentModel, file: Attachment): Promise<string>;
|
3111
3111
|
downloadAttachment(documentId: number, fileId: number): Observable<any>;
|
3112
3112
|
removeAttachment(recipientId: number, fileId: number): Observable<any>;
|
3113
3113
|
markAsRead(id: number, read: boolean, folderId?: string, received?: Date): Observable<any>;
|
3114
3114
|
listComments(id: number, before: Date): Observable<Comment[]>;
|
3115
|
-
|
3115
|
+
updateTags(id: number, tags?: string[]): Observable<any>;
|
3116
3116
|
/**
|
3117
3117
|
*
|
3118
3118
|
* @param documentId
|
@@ -3204,10 +3204,10 @@ declare class MailboxService {
|
|
3204
3204
|
* @returns
|
3205
3205
|
*/
|
3206
3206
|
get<T = any>(id: number, read?: boolean): Observable<RecipientModel<T>>;
|
3207
|
-
private
|
3207
|
+
private _updateUnreadWatermark;
|
3208
3208
|
save<T = any>(id: number, form: string, version: number, model: {}, files?: File[] | FileList): Observable<RecipientModel<T>>;
|
3209
3209
|
delete(id: number): Observable<any>;
|
3210
|
-
|
3210
|
+
toggleCommentHide(id: number, value: boolean): Observable<any>;
|
3211
3211
|
submit<T = any>(id: number, version: number, form: string, model?: T): Observable<RecipientModel<T>>;
|
3212
3212
|
send<T = any>(id: number, version: number, form: string, model: any, action: string, actionArgs: {}, read?: boolean, folderId?: string, received?: Date): Observable<RecipientModel<T>>;
|
3213
3213
|
listEvents(starting: Date, ending?: Date, contains?: string): Observable<ScheduledEvent[]>;
|
@@ -3323,7 +3323,7 @@ declare abstract class HomeBase implements OnInit {
|
|
3323
3323
|
constructor(config: BizDocConfig);
|
3324
3324
|
ngOnInit(): void;
|
3325
3325
|
resize(): void;
|
3326
|
-
abstract
|
3326
|
+
abstract navToMessage(model: RecipientModel): void;
|
3327
3327
|
protected _markInboxAsTouched(): void;
|
3328
3328
|
protected _markNotificationsAsTouched(_?: Event): void;
|
3329
3329
|
protected _set(name: string, val?: boolean): boolean | undefined;
|
@@ -3414,7 +3414,7 @@ declare class HomeMobileComponent extends HomeBase implements OnInit {
|
|
3414
3414
|
constructor(_router: Router, _bs: MatBottomSheet, _dir: Directionality, _chat: ChatInfo, config: BizDocConfig);
|
3415
3415
|
ngOnInit(): void;
|
3416
3416
|
compose(): void;
|
3417
|
-
|
3417
|
+
navToMessage(model: RecipientModel<any>): void;
|
3418
3418
|
chat(): void;
|
3419
3419
|
private _open;
|
3420
3420
|
private _close;
|
@@ -3430,7 +3430,6 @@ declare class HomeMobileComponent extends HomeBase implements OnInit {
|
|
3430
3430
|
declare class BrowseFilterComponent implements OnInit, AfterViewInit, OnDestroy {
|
3431
3431
|
private _fb;
|
3432
3432
|
private _session;
|
3433
|
-
private _cd;
|
3434
3433
|
private _mailbox;
|
3435
3434
|
private _accounts;
|
3436
3435
|
private _config;
|
@@ -3453,13 +3452,10 @@ declare class BrowseFilterComponent implements OnInit, AfterViewInit, OnDestroy
|
|
3453
3452
|
states: State[];
|
3454
3453
|
senders$: Observable<PersonInfo[]>;
|
3455
3454
|
tags: Tag$1[];
|
3456
|
-
filters
|
3457
|
-
cube?: string;
|
3458
|
-
axes: string[];
|
3459
|
-
};
|
3455
|
+
filters?: CubeFilter;
|
3460
3456
|
chips: MatChipListbox;
|
3461
|
-
containsEl:
|
3462
|
-
senderEl:
|
3457
|
+
containsEl: MatInput;
|
3458
|
+
senderEl: MatInput;
|
3463
3459
|
readonly sources: {
|
3464
3460
|
[datatype: string]: Observable<{
|
3465
3461
|
[name: string]: any;
|
@@ -3467,15 +3463,13 @@ declare class BrowseFilterComponent implements OnInit, AfterViewInit, OnDestroy
|
|
3467
3463
|
};
|
3468
3464
|
private readonly _destroy;
|
3469
3465
|
/** browse-filter ctor */
|
3470
|
-
constructor(_fb: FormBuilder, _session: SessionService,
|
3466
|
+
constructor(_fb: FormBuilder, _session: SessionService, _mailbox: MailboxService, _accounts: AccountService, _config: BizDocConfig);
|
3471
3467
|
ngOnInit(): void;
|
3472
3468
|
ngAfterViewInit(): void;
|
3473
|
-
displayName(val: any): any;
|
3474
3469
|
change(axis: string, evt: MatAutocompleteSelectedEvent): void;
|
3475
3470
|
clearSender(): void;
|
3476
3471
|
axesChange(axes: AxesMap): void;
|
3477
|
-
|
3478
|
-
displayFn(item: PersonInfo): string | undefined;
|
3472
|
+
displayFn(person: PersonInfo): string | undefined;
|
3479
3473
|
drop(evt: CdkDragDrop<string, any>): void;
|
3480
3474
|
senderSelected(e: MatAutocompleteSelectedEvent): void;
|
3481
3475
|
focus(): void;
|
@@ -7010,14 +7004,14 @@ interface OutOfOfficeData {
|
|
7010
7004
|
declare class NotificationsService {
|
7011
7005
|
private _http;
|
7012
7006
|
private _session;
|
7013
|
-
constructor(_http: HttpClient,
|
7007
|
+
constructor(_http: HttpClient, _session: SessionService);
|
7014
7008
|
deleteAll(arg0: number[]): void;
|
7015
7009
|
getAll(options?: {
|
7016
7010
|
exclude?: boolean;
|
7017
7011
|
skip?: number;
|
7018
7012
|
before?: Date;
|
7019
7013
|
}): Observable<Message[]>;
|
7020
|
-
|
7014
|
+
markAsRead(id: number, date: Date, read: boolean): Observable<any>;
|
7021
7015
|
get(id: number): Observable<any>;
|
7022
7016
|
mute(id: number, mute: boolean): Observable<any>;
|
7023
7017
|
delete(id: number): Observable<any>;
|
@@ -9659,7 +9653,7 @@ declare class HomeComponent extends HomeBase {
|
|
9659
9653
|
options(_: Event): void;
|
9660
9654
|
signout(evt: Event): void;
|
9661
9655
|
nav(path: string): void;
|
9662
|
-
|
9656
|
+
navToMessage(model: RecipientModel): void;
|
9663
9657
|
closeSubMenu(): void;
|
9664
9658
|
openNew(): void;
|
9665
9659
|
private _create;
|