@bizdoc/core 3.4.6 → 3.4.8
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,4 +1,4 @@
|
|
1
|
-
import { OnDestroy, SimpleChanges, AfterViewInit } from '@angular/core';
|
1
|
+
import { ElementRef, OnDestroy, SimpleChanges, AfterViewInit } from '@angular/core';
|
2
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';
|
@@ -12,6 +12,7 @@ export declare class FlowViewComponent extends TraceBase implements AfterViewIni
|
|
12
12
|
private _accounts;
|
13
13
|
private _translate;
|
14
14
|
private _duration;
|
15
|
+
private _elementRef;
|
15
16
|
model: DocumentModel<any>;
|
16
17
|
/** trigger ngOnChanges on document save */
|
17
18
|
version: number;
|
@@ -20,6 +21,9 @@ export declare class FlowViewComponent extends TraceBase implements AfterViewIni
|
|
20
21
|
readonly tool: DiagramTools;
|
21
22
|
readonly diagramConstraints: DiagramConstraints;
|
22
23
|
readonly enableRtl: boolean;
|
24
|
+
readonly transparentColor: string;
|
25
|
+
readonly defaultColor: string;
|
26
|
+
readonly dimColor: string;
|
23
27
|
readonly layout: LayoutModel;
|
24
28
|
readonly scrollSettings: ScrollSettingsModel;
|
25
29
|
readonly diagramSettings: {
|
@@ -32,7 +36,8 @@ export declare class FlowViewComponent extends TraceBase implements AfterViewIni
|
|
32
36
|
connectors: ConnectorModel[];
|
33
37
|
indicators: NodeModel[];
|
34
38
|
/** workflow-view ctor */
|
35
|
-
constructor(_accounts: AccountService, _translate: TranslateService, _duration: DurationFormatPipe, session: SessionService, hub: HubService);
|
39
|
+
constructor(_accounts: AccountService, _translate: TranslateService, _duration: DurationFormatPipe, _elementRef: ElementRef<HTMLDivElement>, session: SessionService, hub: HubService);
|
40
|
+
/** */
|
36
41
|
ngAfterViewInit(): void;
|
37
42
|
ngOnChanges(_changes: SimpleChanges): void;
|
38
43
|
created(): void;
|
package/lib/core/functions.d.ts
CHANGED
@@ -20,6 +20,7 @@ export declare function isDate(val: any): val is Date;
|
|
20
20
|
export declare function isArray(val: any): val is Array<any>;
|
21
21
|
export declare function isString(val: any): val is string;
|
22
22
|
export declare function getWarn(mode?: MaterialMode): string;
|
23
|
+
export declare function getGray(mode?: MaterialMode): string;
|
23
24
|
export declare function playAudio(name: 'notification_simple-01' | 'alert_error-03'): void;
|
24
25
|
/**
|
25
26
|
*
|