@bizdoc/core 3.3.10 → 3.3.11

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.
@@ -55,6 +55,7 @@ export interface Theme {
55
55
  }
56
56
  /** BizDoc app options */
57
57
  export interface BizDocConfig {
58
+ hubServerUrl?: string;
58
59
  appearance?: MatFormFieldAppearance;
59
60
  currencyCode?: string;
60
61
  /** available user interface languages */
@@ -1,6 +1,7 @@
1
1
  import { Comment, Chat, AvailabilityState, RecipientModel, Message } from './models';
2
2
  import { HubConnectionState } from '@microsoft/signalr';
3
3
  import { AuthenticationImpl } from './authentication';
4
+ import { BizDocConfig } from './configuration';
4
5
  import * as i0 from "@angular/core";
5
6
  /** Listen to hub contracts */
6
7
  export declare class HubService {
@@ -52,7 +53,7 @@ export declare class HubService {
52
53
  readonly comment$: import("rxjs").Observable<CommentEvent>;
53
54
  readonly profileChange$: import("rxjs").Observable<UserInfoEvent>;
54
55
  lockResolver?: any;
55
- constructor(_auth: AuthenticationImpl);
56
+ constructor(config: BizDocConfig, _auth: AuthenticationImpl);
56
57
  get state(): HubConnectionState;
57
58
  get connectionId(): string | null;
58
59
  start(): Promise<void>;
@@ -14,4 +14,4 @@ export declare class ToNowPipe implements PipeTransform {
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ToNowPipe, never>;
15
15
  static ɵpipe: i0.ɵɵPipeDeclaration<ToNowPipe, "amToNow", false>;
16
16
  }
17
- export declare function getSecondsUntilUpdate(time: dayjs.Dayjs): 1 | 300 | 30 | 3600;
17
+ export declare function getSecondsUntilUpdate(time: dayjs.Dayjs): 1 | 300 | 3600 | 30;
@@ -265,4 +265,4 @@ export interface Pattern {
265
265
  title: string;
266
266
  axes: AxesMap;
267
267
  }
268
- export declare function errResource(error: HttpErrorResponse): "Err" | "Unauthorized" | "LicenseErr" | "NotAcceptable";
268
+ export declare function errResource(error: HttpErrorResponse): "Unauthorized" | "LicenseErr" | "NotAcceptable" | "Err";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "3.3.10",
3
+ "version": "3.3.11",
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",
@@ -26,7 +26,7 @@
26
26
  "@syncfusion/ej2-angular-schedule": "28.2",
27
27
  "@syncfusion/ej2-angular-spreadsheet": "28.2",
28
28
  "@syncfusion/ej2-angular-base": "28.2",
29
- "ace-builds": "^1.38.0",
29
+ "ace-builds": "^1.39.0",
30
30
  "cookie": "^1.0.2",
31
31
  "hammerjs": "~2",
32
32
  "dayjs": "^1.11.13",