@bizdoc/core 3.8.8 → 3.8.9
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 +141 -85
- package/fesm2022/bizdoc-core.mjs.map +1 -1
- package/index.d.ts +63 -21
- package/package.json +1 -1
package/index.d.ts
CHANGED
@@ -563,6 +563,7 @@ interface Folder {
|
|
563
563
|
group?: string;
|
564
564
|
icon?: string;
|
565
565
|
title: string;
|
566
|
+
/** unread */
|
566
567
|
count?: number;
|
567
568
|
columns?: FolderColumn[];
|
568
569
|
}
|
@@ -943,15 +944,14 @@ declare abstract class AuthenticationImpl {
|
|
943
944
|
declare class HubService {
|
944
945
|
private _auth;
|
945
946
|
private _connection;
|
946
|
-
private readonly
|
947
|
-
readonly state$: rxjs.Observable<HubConnectionState>;
|
947
|
+
private readonly _connectionState;
|
948
948
|
private readonly _configurationChange;
|
949
949
|
private readonly _newMail;
|
950
950
|
private readonly _newChat;
|
951
951
|
private readonly _newComment;
|
952
952
|
private readonly _commentUpdate;
|
953
953
|
private readonly _commentDelete;
|
954
|
-
private readonly
|
954
|
+
private readonly _mailUpdate;
|
955
955
|
private readonly _mailDelete;
|
956
956
|
private readonly _mailHeaderUpdate;
|
957
957
|
private readonly _newNotify;
|
@@ -965,6 +965,7 @@ declare class HubService {
|
|
965
965
|
private readonly _jobProgress;
|
966
966
|
private readonly _reportProgress;
|
967
967
|
private readonly _callback;
|
968
|
+
readonly state$: rxjs.Observable<HubConnectionState>;
|
968
969
|
readonly configurationChange$: rxjs.Observable<void>;
|
969
970
|
readonly jobProgress$: rxjs.Observable<JobProgressEvent>;
|
970
971
|
readonly reportProgress$: rxjs.Observable<ReportProgressEvent>;
|
@@ -977,7 +978,7 @@ declare class HubService {
|
|
977
978
|
readonly commentUpdate$: rxjs.Observable<CommentEvent>;
|
978
979
|
readonly commentDelete$: rxjs.Observable<CommentDeleteEvent>;
|
979
980
|
/** new notification */
|
980
|
-
readonly
|
981
|
+
readonly newNotification$: rxjs.Observable<NotificationEvent>;
|
981
982
|
readonly chat$: rxjs.Observable<ChatEvent>;
|
982
983
|
readonly updateNotify$: rxjs.Observable<NotificationEvent>;
|
983
984
|
/** new mail */
|
@@ -1112,6 +1113,18 @@ declare class SessionService {
|
|
1112
1113
|
private _http;
|
1113
1114
|
private _cookies;
|
1114
1115
|
private _hub;
|
1116
|
+
private readonly _messagesCount$;
|
1117
|
+
private readonly _inboxCount$;
|
1118
|
+
private readonly _loaded$;
|
1119
|
+
private readonly _themeChange$;
|
1120
|
+
private _profile;
|
1121
|
+
private _lang;
|
1122
|
+
private _tags;
|
1123
|
+
private _firebase;
|
1124
|
+
readonly loaded: Observable<void>;
|
1125
|
+
readonly themeChange: Observable<Theme>;
|
1126
|
+
readonly notificationsCountChange$: Observable<number>;
|
1127
|
+
readonly inboxCountChange$: Observable<number>;
|
1115
1128
|
/**
|
1116
1129
|
*
|
1117
1130
|
* @returns
|
@@ -1119,14 +1132,10 @@ declare class SessionService {
|
|
1119
1132
|
prepare(): Promise<any[]>;
|
1120
1133
|
readonly Themes: Theme[];
|
1121
1134
|
constructor(_config: BizDocConfig, _http: HttpClient, _cookies: CookieService, _hub: HubService, iconRegistry: MatIconRegistry, sanitizer: DomSanitizer);
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
private _profile;
|
1127
|
-
private _lang;
|
1128
|
-
private _firebase;
|
1129
|
-
private _tags;
|
1135
|
+
reportInboxRead(date: Date, move: 1 | -1): void;
|
1136
|
+
reportNotificationsRead(date: Date, move: 1 | -1): void;
|
1137
|
+
private _stepNotificationsCount;
|
1138
|
+
private _stepInboxCount;
|
1130
1139
|
/** */
|
1131
1140
|
get tags(): Tag$1[];
|
1132
1141
|
get profile(): Profile;
|
@@ -1187,7 +1196,6 @@ declare class SessionService {
|
|
1187
1196
|
* @param theme
|
1188
1197
|
*/
|
1189
1198
|
private _changeTheme;
|
1190
|
-
private _loadServiceWorker;
|
1191
1199
|
private _loadGoogleMaps;
|
1192
1200
|
static ɵfac: i0.ɵɵFactoryDeclaration<SessionService, never>;
|
1193
1201
|
static ɵprov: i0.ɵɵInjectableDeclaration<SessionService>;
|
@@ -3106,11 +3114,10 @@ declare class MailboxService {
|
|
3106
3114
|
private _session;
|
3107
3115
|
private _auth;
|
3108
3116
|
private _http;
|
3109
|
-
private readonly
|
3110
|
-
private readonly
|
3111
|
-
|
3112
|
-
readonly
|
3113
|
-
readonly deleted: Observable<number>;
|
3117
|
+
private readonly _changed$;
|
3118
|
+
private readonly _deleted$;
|
3119
|
+
readonly recordChange$: Observable<RecipientModel<any>>;
|
3120
|
+
readonly recordDelete$: Observable<number>;
|
3114
3121
|
constructor(_session: SessionService, _auth: AuthenticationImpl, _http: HttpClient);
|
3115
3122
|
formatDownloadUrl(document: DocumentModel, file: Attachment): Promise<string>;
|
3116
3123
|
downloadAttachment(documentId: number, fileId: number): Observable<any>;
|
@@ -3209,7 +3216,22 @@ declare class MailboxService {
|
|
3209
3216
|
* @returns
|
3210
3217
|
*/
|
3211
3218
|
get<T = any>(id: number, read?: boolean): Observable<RecipientModel<T>>;
|
3219
|
+
/**
|
3220
|
+
*
|
3221
|
+
* @param date
|
3222
|
+
* @param folderId
|
3223
|
+
* @param move
|
3224
|
+
*/
|
3212
3225
|
private _updateUnreadWatermark;
|
3226
|
+
/**
|
3227
|
+
*
|
3228
|
+
* @param id
|
3229
|
+
* @param form
|
3230
|
+
* @param version
|
3231
|
+
* @param model
|
3232
|
+
* @param files
|
3233
|
+
* @returns
|
3234
|
+
*/
|
3213
3235
|
save<T = any>(id: number, form: string, version: number, model: {}, files?: File[] | FileList): Observable<RecipientModel<T>>;
|
3214
3236
|
delete(id: number): Observable<any>;
|
3215
3237
|
toggleCommentHide(id: number, value: boolean): Observable<any>;
|
@@ -6755,6 +6777,11 @@ declare class AvatarComponent implements OnChanges, OnDestroy {
|
|
6755
6777
|
chat(): void;
|
6756
6778
|
ngOnChanges(changes: SimpleChanges): void;
|
6757
6779
|
private _changeMode;
|
6780
|
+
/**
|
6781
|
+
*
|
6782
|
+
* @param name
|
6783
|
+
* @returns
|
6784
|
+
*/
|
6758
6785
|
private _gen;
|
6759
6786
|
ngOnDestroy(): void;
|
6760
6787
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
@@ -7072,7 +7099,7 @@ declare class TaggingItemDirective implements Highlightable, OnDestroy {
|
|
7072
7099
|
static ɵcmp: i0.ɵɵComponentDeclaration<TaggingItemDirective, "bizdoc-tag-item", never, { "key": { "alias": "key"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "selected": "selected"; }, never, ["*"], false, never>;
|
7073
7100
|
}
|
7074
7101
|
|
7075
|
-
declare class TaggingDirective {
|
7102
|
+
declare class TaggingDirective implements OnDestroy {
|
7076
7103
|
private _input;
|
7077
7104
|
private _dir;
|
7078
7105
|
private _element;
|
@@ -7085,8 +7112,18 @@ declare class TaggingDirective {
|
|
7085
7112
|
}>;
|
7086
7113
|
private _instance?;
|
7087
7114
|
private _overlayRef;
|
7088
|
-
|
7115
|
+
private readonly _subscription;
|
7116
|
+
constructor(_input: MatInput, _dir: Directionality, _element: ElementRef<HTMLTextAreaElement>, router: PanesRouter, _overlay: Overlay);
|
7117
|
+
/**
|
7118
|
+
*
|
7119
|
+
* @param _evt
|
7120
|
+
*/
|
7089
7121
|
_handleInput(_evt: KeyboardEvent): void;
|
7122
|
+
/**
|
7123
|
+
*
|
7124
|
+
* @param evt
|
7125
|
+
* @returns
|
7126
|
+
*/
|
7090
7127
|
_handleKeydown(evt: KeyboardEvent): void;
|
7091
7128
|
private _close;
|
7092
7129
|
/**
|
@@ -7106,8 +7143,13 @@ declare class TaggingDirective {
|
|
7106
7143
|
* @param value
|
7107
7144
|
*/
|
7108
7145
|
private _select;
|
7146
|
+
/**
|
7147
|
+
*
|
7148
|
+
* @param key
|
7149
|
+
*/
|
7109
7150
|
private _assign;
|
7110
|
-
|
7151
|
+
ngOnDestroy(): void;
|
7152
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaggingDirective, [{ self: true; }, null, null, { optional: true; }, null]>;
|
7111
7153
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TaggingDirective, "[bizdocTagging]", never, { "resource": { "alias": "bizdocTagging"; "required": false; }; }, { "resourceChange": "bizdocTaggingChange"; }, never, never, false, never>;
|
7112
7154
|
}
|
7113
7155
|
|