|
@@ -15,12 +15,70 @@ |
|
@@ -15,12 +15,70 @@ |
15
|
limitations under the License.
|
15
|
limitations under the License.
|
16
|
|
16
|
|
17
|
-->
|
17
|
-->
|
18
|
-<fc-canvas #fcCanvas
|
|
|
19
|
- id="fc-target-canvas"
|
|
|
20
|
- [model]="ruleChainModel"
|
|
|
21
|
- (modelChanged)="onModelChanged()"
|
|
|
22
|
- [selectedObjects]="selectedObjects"
|
|
|
23
|
- [edgeStyle]="flowchartConstants.curvedStyle"
|
|
|
24
|
- [automaticResize]="true"
|
|
|
25
|
- [dragAnimation]="flowchartConstants.dragAnimationRepaint">
|
|
|
26
|
-</fc-canvas> |
18
|
+<div class="mat-content" fxFlex tb-fullscreen [fullscreen]="isFullscreen"
|
|
|
19
|
+ fxLayout="column" class="tb-rulechain">
|
|
|
20
|
+ <section class="tb-rulechain-container" fxFlex fxLayout="column">
|
|
|
21
|
+ <div class="tb-rulechain-layout" fxFlex fxLayout="row">
|
|
|
22
|
+ <section fxLayout="row"
|
|
|
23
|
+ class="tb-header-buttons tb-library-open" [fxShow]="!isLibraryOpen">
|
|
|
24
|
+ <button mat-button mat-icon-button color="primary"
|
|
|
25
|
+ class="tb-btn-header tb-btn-open-library mat-fab"
|
|
|
26
|
+ (click)="isLibraryOpen = true"
|
|
|
27
|
+ matTooltip="{{ 'rulenode.open-node-library' | translate }}"
|
|
|
28
|
+ matTooltipPosition="above">
|
|
|
29
|
+ <mat-icon>menu</mat-icon>
|
|
|
30
|
+ </button>
|
|
|
31
|
+ </section>
|
|
|
32
|
+ <mat-drawer-container style="width: 100%;">
|
|
|
33
|
+ <mat-drawer class="tb-rulechain-library"
|
|
|
34
|
+ disableClose="true"
|
|
|
35
|
+ mode="side"
|
|
|
36
|
+ [opened]="isLibraryOpen"
|
|
|
37
|
+ position="start"
|
|
|
38
|
+ fxLayout="column">
|
|
|
39
|
+ <mat-toolbar color="primary" class="tb-dark">
|
|
|
40
|
+ <div class="mat-toolbar-tools">
|
|
|
41
|
+ <button mat-button mat-icon-button class="tb-small"
|
|
|
42
|
+ matTooltip="{{'rulenode.search' | translate}}"
|
|
|
43
|
+ matTooltipPosition="above">
|
|
|
44
|
+ <mat-icon>search</mat-icon>
|
|
|
45
|
+ </button>
|
|
|
46
|
+ <mat-form-field fxFlex floatLabel="always">
|
|
|
47
|
+ <mat-label></mat-label>
|
|
|
48
|
+ <input matInput
|
|
|
49
|
+ [(ngModel)]="ruleNodeSearch"
|
|
|
50
|
+ placeholder="{{'rulenode.search' | translate}}"/>
|
|
|
51
|
+ </mat-form-field>
|
|
|
52
|
+ <button mat-button mat-icon-button class="tb-small"
|
|
|
53
|
+ [fxShow]="ruleNodeSearch !== ''"
|
|
|
54
|
+ (click)="ruleNodeSearch = ''"
|
|
|
55
|
+ matTooltip="{{'action.clear-search' | translate}}"
|
|
|
56
|
+ matTooltipPosition="above">
|
|
|
57
|
+ <mat-icon>close</mat-icon>
|
|
|
58
|
+ </button>
|
|
|
59
|
+ <button mat-button mat-icon-button class="tb-small"
|
|
|
60
|
+ (click)="isLibraryOpen = false"
|
|
|
61
|
+ matTooltip="{{'action.close' | translate}}"
|
|
|
62
|
+ matTooltipPosition="above">
|
|
|
63
|
+ <mat-icon>chevron_left</mat-icon>
|
|
|
64
|
+ </button>
|
|
|
65
|
+ </div>
|
|
|
66
|
+ </mat-toolbar>
|
|
|
67
|
+ </mat-drawer>
|
|
|
68
|
+ <mat-drawer-content>
|
|
|
69
|
+ <div class="tb-absolute-fill tb-rulechain-graph">
|
|
|
70
|
+ <fc-canvas #fcCanvas
|
|
|
71
|
+ id="tb-rulchain-canvas"
|
|
|
72
|
+ [model]="ruleChainModel"
|
|
|
73
|
+ (modelChanged)="onModelChanged()"
|
|
|
74
|
+ [selectedObjects]="selectedObjects"
|
|
|
75
|
+ [edgeStyle]="flowchartConstants.curvedStyle"
|
|
|
76
|
+ [automaticResize]="true"
|
|
|
77
|
+ [dragAnimation]="flowchartConstants.dragAnimationRepaint">
|
|
|
78
|
+ </fc-canvas>
|
|
|
79
|
+ </div>
|
|
|
80
|
+ </mat-drawer-content>
|
|
|
81
|
+ </mat-drawer-container>
|
|
|
82
|
+ </div>
|
|
|
83
|
+ </section>
|
|
|
84
|
+</div> |