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