@bizdoc/core 3.4.3 → 3.4.6

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.
@@ -1,5 +1,5 @@
1
- import { ElementRef, OnDestroy, SimpleChanges, AfterViewInit } from '@angular/core';
2
- import { LayoutModel, DiagramTools, Diagram, DiagramConstraints, ScrollSettingsModel, SnapSettingsModel, Segments } from '@syncfusion/ej2-angular-diagrams';
1
+ import { OnDestroy, SimpleChanges, AfterViewInit } from '@angular/core';
2
+ import { NodeModel, ConnectorModel, LayoutModel, DiagramTools, Diagram, DiagramConstraints, ScrollSettingsModel, SnapSettingsModel, Segments } from '@syncfusion/ej2-angular-diagrams';
3
3
  import { DocumentModel } from "../../core/models";
4
4
  import { TraceBase } from './trace.base';
5
5
  import { SessionService } from '../../core/session.service';
@@ -12,7 +12,6 @@ export declare class FlowViewComponent extends TraceBase implements AfterViewIni
12
12
  private _accounts;
13
13
  private _translate;
14
14
  private _duration;
15
- private _elementRef;
16
15
  model: DocumentModel<any>;
17
16
  /** trigger ngOnChanges on document save */
18
17
  version: number;
@@ -23,14 +22,22 @@ export declare class FlowViewComponent extends TraceBase implements AfterViewIni
23
22
  readonly enableRtl: boolean;
24
23
  readonly layout: LayoutModel;
25
24
  readonly scrollSettings: ScrollSettingsModel;
25
+ readonly diagramSettings: {
26
+ inversedAlignment: boolean;
27
+ };
26
28
  readonly snapSettings: SnapSettingsModel;
27
29
  private readonly _configuration;
28
30
  private _accentColor;
31
+ nodes: NodeModel[];
32
+ connectors: ConnectorModel[];
33
+ indicators: NodeModel[];
29
34
  /** workflow-view ctor */
30
- constructor(_accounts: AccountService, _translate: TranslateService, _duration: DurationFormatPipe, _elementRef: ElementRef<HTMLDivElement>, session: SessionService, hub: HubService);
35
+ constructor(_accounts: AccountService, _translate: TranslateService, _duration: DurationFormatPipe, session: SessionService, hub: HubService);
31
36
  ngAfterViewInit(): void;
32
- ngOnChanges(changes: SimpleChanges): void;
37
+ ngOnChanges(_changes: SimpleChanges): void;
38
+ created(): void;
33
39
  protected _initialize(): Promise<void>;
40
+ private _addIndicators;
34
41
  private _refresh;
35
42
  /** */
36
43
  private _prepare;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "3.4.3",
3
+ "version": "3.4.6",
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",
@@ -27,7 +27,7 @@
27
27
  "@syncfusion/ej2-angular-schedule": "29.1",
28
28
  "@syncfusion/ej2-angular-spreadsheet": "29.1",
29
29
  "@syncfusion/ej2-angular-base": "29.1",
30
- "ace-builds": "^1.39.1",
30
+ "ace-builds": "1.40",
31
31
  "cookie": "^1.0.2",
32
32
  "hammerjs": "~2",
33
33
  "dayjs": "^1.11.13",