@bizdoc/core 1.14.0-next.6 → 1.14.0-next.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.
@@ -33,7 +33,8 @@ export declare enum OpenPolicy {
33
33
  Tab = 48,
34
34
  Dialog = 112,
35
35
  Dismissable = 128,
36
- Toggle = 256
36
+ Toggle = 256,
37
+ Stretch = 256
37
38
  }
38
39
  export declare const DEFAULT_POLICY: OpenPolicy;
39
40
  export interface BizDocChildConfig {
@@ -7,11 +7,13 @@ import { Profile, UserInfo, AvailabilityState, Options, Gender } from './models'
7
7
  import { HubService } from './hub.service';
8
8
  import { MaterialMode } from './functions';
9
9
  import * as i0 from "@angular/core";
10
+ export declare function SessionProviderFactory(provider: SessionService): () => Promise<any[]>;
10
11
  export declare class SessionService {
11
12
  private _config;
12
13
  private _http;
13
14
  private _cookies;
14
15
  private _hub;
16
+ prepare(): Promise<any[]>;
15
17
  readonly Themes: Theme[];
16
18
  constructor(_config: BizDocConfig, _http: HttpClient, _cookies: CookieService, _hub: HubService);
17
19
  private readonly _loaded;
@@ -70,7 +72,7 @@ export declare class SessionService {
70
72
  */
71
73
  private _changeTheme;
72
74
  private _loadSw;
73
- private _loadMaps;
75
+ private _googleMaps;
74
76
  static ɵfac: i0.ɵɵFactoryDeclaration<SessionService, never>;
75
77
  static ɵprov: i0.ɵɵInjectableDeclaration<SessionService>;
76
78
  }
@@ -82,6 +82,8 @@ export declare class PaneRef<T = any> {
82
82
  get modeChange(): import("rxjs").Observable<"tab" | "pane">;
83
83
  get mode(): "tab" | "pane";
84
84
  get parent(): PaneRef<any>;
85
+ get stretch(): boolean;
86
+ set stretch(val: boolean);
85
87
  get dialog(): boolean;
86
88
  get dismissable(): boolean;
87
89
  get route(): PaneRoute;
@@ -96,6 +98,7 @@ export declare class PaneRef<T = any> {
96
98
  help?: string;
97
99
  fullscreen?: boolean;
98
100
  dialog?: boolean;
101
+ stretch?: boolean;
99
102
  parent?: PaneRef<any>;
100
103
  queryString?: string;
101
104
  data?: ParamMap;
@@ -32,6 +32,7 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
32
32
  readonly panes: PaneRef<any>[];
33
33
  readonly tabs: PaneRef<any>[];
34
34
  private _selectedTabIndex;
35
+ dialog: boolean;
35
36
  get selectedTabIndex(): number;
36
37
  set selectedTabIndex(value: number);
37
38
  private _setTabAnimation;
@@ -39,7 +40,6 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
39
40
  next: boolean;
40
41
  prev: boolean;
41
42
  dragging: boolean;
42
- dialog: boolean;
43
43
  tabsAnimation: {
44
44
  value: number;
45
45
  params: {
@@ -48,7 +48,6 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
48
48
  };
49
49
  readonly ripple: RippleConfig;
50
50
  accent: string;
51
- private _width;
52
51
  private _navigating;
53
52
  private _repository;
54
53
  private readonly _pending;
@@ -83,7 +82,7 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
83
82
  */
84
83
  private _navParams;
85
84
  /** */
86
- private _replaceUrl;
85
+ private _sync;
87
86
  /**
88
87
  *
89
88
  * @param mode
@@ -130,18 +129,30 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
130
129
  * @param options
131
130
  */
132
131
  private _constract;
132
+ /**
133
+ *
134
+ * @param component
135
+ * @param options
136
+ */
133
137
  private _insertTab;
134
138
  guide(name: string): void;
135
139
  back(): void;
136
140
  private _back;
137
141
  tabBack(): void;
142
+ /**
143
+ *
144
+ * @param e
145
+ * @param pane
146
+ */
138
147
  private _action;
139
148
  /**
140
149
  * escape
141
150
  * @param event
142
151
  */
143
152
  collapse(): void;
153
+ onResize(): void;
144
154
  private _resize;
155
+ dismiss(): void;
145
156
  closeTab(position: number): void;
146
157
  expandPane(): void;
147
158
  private _getHistoryStep;
@@ -171,7 +182,7 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
171
182
  navigationArrows(_?: Event): void;
172
183
  scrollBy(n: number): void;
173
184
  focus(index: any): void;
174
- onResize(pane: PaneRef<any>, event: MouseEvent): void;
185
+ onPaneResize(pane: PaneRef<any>, event: MouseEvent): void;
175
186
  onTabResize(event: MouseEvent): void;
176
187
  private _destroyPane;
177
188
  ngOnDestroy(): void;
@@ -2,10 +2,8 @@ import { AfterViewInit, Injector, OnDestroy, ViewContainerRef } from "@angular/c
2
2
  import { HttpClient } from "@angular/common/http";
3
3
  import { BizDocComponentFactoryResolver } from "../core/component-factory-resolver";
4
4
  import { DocumentModel, View } from "../core/models";
5
- import { PaneRef } from "../core/slots/pane-ref";
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class ViewItemComponent implements AfterViewInit, OnDestroy {
8
- private _pane;
9
7
  private _http;
10
8
  private _vc;
11
9
  private _injector;
@@ -18,11 +16,11 @@ export declare class ViewItemComponent implements AfterViewInit, OnDestroy {
18
16
  private _instance;
19
17
  private readonly _resizing;
20
18
  private readonly _destroy;
21
- constructor(_pane: PaneRef<any>, _http: HttpClient, _vc: ViewContainerRef, _injector: Injector, _cf: BizDocComponentFactoryResolver);
19
+ constructor(_http: HttpClient, _vc: ViewContainerRef, _injector: Injector, _cf: BizDocComponentFactoryResolver);
22
20
  ngAfterViewInit(): void;
23
21
  private _dim;
24
22
  resize(): void;
25
23
  ngOnDestroy(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewItemComponent, [{ optional: true; }, null, null, null, null]>;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewItemComponent, never>;
27
25
  static ɵcmp: i0.ɵɵComponentDeclaration<ViewItemComponent, "bizdoc-document-view-item", never, { "model": "model"; "view": "view"; }, {}, never, never>;
28
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "1.14.0-next.6",
3
+ "version": "1.14.0-next.9",
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",
@@ -11,24 +11,24 @@
11
11
  "dependencies": {
12
12
  "@ctrl/ngx-emoji-mart": "^6.2.0",
13
13
  "@microsoft/signalr": "^6.0.3",
14
- "@syncfusion/ej2": "^19.4.56",
15
- "@syncfusion/ej2-angular-charts": "^19.4.54",
16
- "@syncfusion/ej2-angular-circulargauge": "^19.4.52",
17
- "@syncfusion/ej2-angular-diagrams": "^19.4.56",
18
- "@syncfusion/ej2-angular-gantt": "^19.4.56",
19
- "@syncfusion/ej2-angular-grids": "^19.4.56",
20
- "@syncfusion/ej2-angular-kanban": "^19.4.52",
21
- "@syncfusion/ej2-angular-pivotview": "^19.4.55",
22
- "@syncfusion/ej2-angular-richtexteditor": "^19.4.56",
23
- "@syncfusion/ej2-angular-schedule": "^19.4.55",
24
- "@syncfusion/ej2-angular-spreadsheet": "^19.4.56",
25
- "@syncfusion/ej2-base": "^19.4.52",
14
+ "@syncfusion/ej2": "^20.1.47",
15
+ "@syncfusion/ej2-angular-charts": "^20.1.47",
16
+ "@syncfusion/ej2-angular-circulargauge": "^20.1.47",
17
+ "@syncfusion/ej2-angular-diagrams": "^20.1.47",
18
+ "@syncfusion/ej2-angular-gantt": "^20.1.47",
19
+ "@syncfusion/ej2-angular-grids": "^20.1.47",
20
+ "@syncfusion/ej2-angular-kanban": "^20.1.47",
21
+ "@syncfusion/ej2-angular-pivotview": "^20.1.47",
22
+ "@syncfusion/ej2-angular-richtexteditor": "^20.1.47",
23
+ "@syncfusion/ej2-angular-schedule": "^20.1.47",
24
+ "@syncfusion/ej2-angular-spreadsheet": "^20.1.47",
25
+ "@syncfusion/ej2-base": "^20.1.47",
26
26
  "@teamhive/lottie-player": "^1.0.0",
27
27
  "@types/google.maps": "^3.48.3",
28
28
  "brace": "^0.11.1",
29
29
  "cookie": "^0.4.2",
30
30
  "dayjs": "^1.11.0",
31
- "firebase": "^9.6.9",
31
+ "firebase": "^9.6.10",
32
32
  "hammerjs": "~2",
33
33
  "lottie-web": "^5.9.1",
34
34
  "ngx-cookie-service": "13",