Skip to content

Commit ebf9b87

Browse files
Merge pull request #691 from Syncfusion-Content/hotfix/hotfix-v27.2.2
DOCINFRA-2341_merged_using_automation
2 parents 20408d7 + 61fbed8 commit ebf9b87

File tree

21 files changed

+57
-53
lines changed

21 files changed

+57
-53
lines changed

ej2-angular/code-snippet/diagram/layers/layers-cs4/src/app.component.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ providers: [ ],
99
standalone: true,
1010
selector: "app-container",
1111
template: `
12-
12+
<button (click)="addLayer()">addLayer</button>
1313
<ejs-diagram #diagram id="diagram" width="100%" height="580px" [layers]="layers">
1414
<e-nodes>
1515
<e-node id='node1' [width]=100 [height]=100 [offsetX]=100 [offsetY]=100 >
@@ -25,8 +25,7 @@ standalone: true,
2525
</e-node-annotations>
2626
</e-node>
2727
</e-nodes>
28-
</ejs-diagram>
29-
<button (click)="addLayer()">addLayer</button>`,
28+
</ejs-diagram>`,
3029
encapsulation: ViewEncapsulation.None
3130
})
3231
export class AppComponent {

ej2-angular/code-snippet/timeline/align/after/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"@angular/core": "17.1.2",
1414
"@angular/platform-browser": "17.1.2",
1515
"@angular/platform-browser-dynamic": "17.1.2",
16-
"@syncfusion/ej2-base": "*",
16+
"@syncfusion/ej2-base": "*",
17+
"@syncfusion/ej2-layouts": "*",
1718
"@syncfusion/ej2-angular-layouts": "*",
1819
"@angular/animations": "17.1.2",
1920
"@angular/common": "17.1.2",

ej2-angular/code-snippet/timeline/align/after/src/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { NgModule } from '@angular/core'
22
import { BrowserModule } from '@angular/platform-browser'
3-
3+
import { CommonModule } from '@angular/common';
44

55
import { Component } from '@angular/core';
66
import { TimelineItemModel, TimelineModule, TimelineAllModule } from "@syncfusion/ej2-angular-layouts";
77

88
@Component({
9-
imports: [ TimelineModule, TimelineAllModule ],
9+
imports: [ CommonModule, TimelineModule, TimelineAllModule ],
1010

1111

1212
standalone: true,

ej2-angular/code-snippet/timeline/align/alternate-reverse/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"@angular/platform-browser": "17.1.2",
1515
"@angular/platform-browser-dynamic": "17.1.2",
1616
"@syncfusion/ej2-base": "*",
17+
"@syncfusion/ej2-layouts": "*",
1718
"@syncfusion/ej2-angular-layouts": "*",
1819
"@angular/animations": "17.1.2",
1920
"@angular/common": "17.1.2",

ej2-angular/code-snippet/timeline/align/alternate-reverse/src/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { NgModule } from '@angular/core'
22
import { BrowserModule } from '@angular/platform-browser'
3-
3+
import { CommonModule } from '@angular/common';
44

55
import { Component } from '@angular/core';
66
import { TimelineItemModel, TimelineModule, TimelineAllModule } from "@syncfusion/ej2-angular-layouts";
77

88
@Component({
9-
imports: [ TimelineModule, TimelineAllModule ],
9+
imports: [ CommonModule, TimelineModule, TimelineAllModule ],
1010

1111

1212
standalone: true,

ej2-angular/code-snippet/timeline/align/alternate/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"@angular/platform-browser": "17.1.2",
1515
"@angular/platform-browser-dynamic": "17.1.2",
1616
"@syncfusion/ej2-base": "*",
17+
"@syncfusion/ej2-layouts": "*",
1718
"@syncfusion/ej2-angular-layouts": "*",
1819
"@angular/animations": "17.1.2",
1920
"@angular/common": "17.1.2",

ej2-angular/code-snippet/timeline/align/alternate/src/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { NgModule } from '@angular/core'
22
import { BrowserModule } from '@angular/platform-browser'
3-
3+
import { CommonModule } from '@angular/common';
44

55
import { Component } from '@angular/core';
66
import { TimelineItemModel, TimelineModule, TimelineAllModule } from "@syncfusion/ej2-angular-layouts";
77

88
@Component({
9-
imports: [ TimelineModule, TimelineAllModule ],
9+
imports: [ CommonModule, TimelineModule, TimelineAllModule ],
1010

1111

1212
standalone: true,

ej2-angular/code-snippet/timeline/align/before/src/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { NgModule } from '@angular/core'
22
import { BrowserModule } from '@angular/platform-browser'
3-
3+
import { CommonModule } from '@angular/common';
44

55
import { Component } from '@angular/core';
66
import { TimelineItemModel, TimelineModule, TimelineAllModule } from "@syncfusion/ej2-angular-layouts";
77

88
@Component({
9-
imports: [ TimelineModule, TimelineAllModule ],
9+
imports: [ CommonModule, TimelineModule, TimelineAllModule ],
1010

1111

1212
standalone: true,

ej2-angular/code-snippet/timeline/orientations/horizontal/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"@angular/platform-browser": "17.1.2",
1515
"@angular/platform-browser-dynamic": "17.1.2",
1616
"@syncfusion/ej2-base": "*",
17+
"@syncfusion/ej2-layouts": "*",
1718
"@syncfusion/ej2-angular-layouts": "*",
1819
"@angular/animations": "17.1.2",
1920
"@angular/common": "17.1.2",

ej2-angular/code-snippet/timeline/orientations/horizontal/src/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { NgModule } from '@angular/core'
22
import { BrowserModule } from '@angular/platform-browser'
3-
3+
import { CommonModule } from '@angular/common';
44

55
import { Component } from '@angular/core';
66
import { TimelineItemModel, TimelineModule, TimelineAllModule } from "@syncfusion/ej2-angular-layouts";
77

88
@Component({
9-
imports: [ TimelineModule, TimelineAllModule ],
9+
imports: [ CommonModule, TimelineModule, TimelineAllModule ],
1010

1111

1212
standalone: true,

ej2-angular/code-snippet/timeline/orientations/vertical/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"@angular/core": "17.1.2",
1414
"@angular/platform-browser": "17.1.2",
1515
"@angular/platform-browser-dynamic": "17.1.2",
16-
"@syncfusion/ej2-base": "*",
16+
"@syncfusion/ej2-base": "*",
17+
"@syncfusion/ej2-layouts": "*",
1718
"@syncfusion/ej2-angular-layouts": "*",
1819
"@angular/animations": "17.1.2",
1920
"@angular/common": "17.1.2",

ej2-angular/code-snippet/timeline/orientations/vertical/src/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { NgModule } from '@angular/core'
22
import { BrowserModule } from '@angular/platform-browser'
3-
3+
import { CommonModule } from '@angular/common';
44

55
import { Component } from '@angular/core';
66
import { TimelineItemModel, TimelineModule, TimelineAllModule } from "@syncfusion/ej2-angular-layouts";
77

88
@Component({
9-
imports: [ TimelineModule, TimelineAllModule ],
9+
imports: [ CommonModule, TimelineModule, TimelineAllModule ],
1010

1111

1212
standalone: true,

ej2-angular/code-snippet/timeline/reverse/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"@angular/platform-browser": "17.1.2",
1515
"@angular/platform-browser-dynamic": "17.1.2",
1616
"@syncfusion/ej2-base": "*",
17+
"@syncfusion/ej2-layouts": "*",
1718
"@syncfusion/ej2-angular-layouts": "*",
1819
"@angular/animations": "17.1.2",
1920
"@angular/common": "17.1.2",

ej2-angular/code-snippet/timeline/reverse/src/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { NgModule } from '@angular/core'
22
import { BrowserModule } from '@angular/platform-browser'
3-
3+
import { CommonModule } from '@angular/common';
44

55
import { Component } from '@angular/core';
66
import { TimelineItemModel, TimelineModule, TimelineAllModule } from "@syncfusion/ej2-angular-layouts";
77

88
@Component({
9-
imports: [ TimelineModule, TimelineAllModule ],
9+
imports: [ CommonModule, TimelineModule, TimelineAllModule ],
1010

1111

1212
standalone: true,

ej2-angular/diagram/connector-customization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ The [`resetSegments`](https://ej2.syncfusion.com/angular/documentation/api/diagr
286286

287287
## Enable Connector Splitting
288288

289-
The connectors are used to create a link between two points, ports, or nodes to represent the relationship between them. Split the connector between two nodes when dropping a new node onto an existing connector and create a connection between the new node and existing nodes by setting the [`enableConnectorSplit`](https://ej2.syncfusion.com/angular/documentation/api/diagram/enableConnectorSplit/) as true. The default value of the [`enableConnectorSplit`](https://ej2.syncfusion.com/angular/documentation/api/diagram/enableConnectorSplit/) is false
289+
The connectors are used to create a link between two points, ports, or nodes to represent the relationship between them. Split the connector between two nodes when dropping a new node onto an existing connector and create a connection between the new node and existing nodes by setting the [`enableConnectorSplit`](https://ej2.syncfusion.com/angular/documentation/api/diagram/enableconnectorsplit/) as true. The default value of the [`enableConnectorSplit`](https://ej2.syncfusion.com/angular/documentation/api/diagram/enableconnectorsplit/) is false
290290

291291
The following code illustrates how to split the connector and create a connection with new node.
292292

@@ -306,7 +306,7 @@ The following code illustrates how to split the connector and create a connectio
306306

307307
### Preserve connector style while connector splitting
308308

309-
When splitting a connector using [`enableConnectorSplit`](https://ej2.syncfusion.com/angular/documentation/api/diagram/enableConnectorSplit/), the new connector created will be a normal connector without any specific styles. To ensure the new connector has the same style as the original connector, you can use the collectionChange event to apply the styles.
309+
When splitting a connector using [`enableConnectorSplit`](https://ej2.syncfusion.com/angular/documentation/api/diagram/enableconnectorsplit/), the new connector created will be a normal connector without any specific styles. To ensure the new connector has the same style as the original connector, you can use the collectionChange event to apply the styles.
310310

311311
The following example demonstrates how to apply the same style of the original connector to the newly added connector:
312312

ej2-angular/diagram/context-menu.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ domainurl: ##DomainURL##
1212

1313
<!-- markdownlint-disable MD010 -->
1414

15-
In a graphical user interface (GUI), a context menu is a type of menu that appears when you perform a right-click operation. It offers users a set of actions relevant to the current context. In diagrams, context menus can be customized extensively. The Diagram control provides built-in context menu items while also allowing users to define custom menu items through the[`contextMenuSettings`](https://ej2.syncfusion.com/angular/documentation/api/diagram#contextMenuSettings) property. This flexibility enables tailoring menus to specific application needs, including creating nested levels of menu items for more intricate user interactions.
15+
In a graphical user interface (GUI), a context menu is a type of menu that appears when you perform a right-click operation. It offers users a set of actions relevant to the current context. In diagrams, context menus can be customized extensively. The Diagram control provides built-in context menu items while also allowing users to define custom menu items through the[`contextMenuSettings`](https://ej2.syncfusion.com/angular/documentation/api/diagram/#contextmenusettings) property. This flexibility enables tailoring menus to specific application needs, including creating nested levels of menu items for more intricate user interactions.
1616

17-
N> If you want to use contextMenu in diagram, you need to inject `DiagramContextMenu` Module in the diagram.
1817

1918
## Default context menu
2019

21-
Diagram provides some default context menu items to ease the execution of some frequently used commands. The [`show`](https://ej2.syncfusion.com/angular/documentation/api/diagram/contextMenuSettings#show-boolean) property helps you to enable/disable the context menu.
20+
Diagram provides some default context menu items to ease the execution of some frequently used commands. The [`show`](https://ej2.syncfusion.com/angular/documentation/api/diagram/contextMenuSettings#show) property helps you to enable/disable the context menu.
2221

2322
The following code illustrates how to enable the default context menu items.
2423

@@ -38,7 +37,7 @@ The following code illustrates how to enable the default context menu items.
3837

3938
Context menus can be customized for individual nodes by defining specific menu items beyond the default options. To add additional context menu items, you need to define and incorporate them into the [`items`](https://ej2.syncfusion.com/angular/documentation/api/diagram/contextMenuSettingsModel#items) property of the context menu.
4039

41-
Each custom item can be defined with specific text and ID using the [`text`](https://ej2.syncfusion.com/angular/documentation/api/diagram/contextMenuItemModel#text-string) and [`ID`](https://ej2.syncfusion.com/angular/documentation/api/diagram/contextMenuItemModel#id-string) properties, respectively. Additionally, you can enhance visual cues by associating icons through the [`iconCss`](https://ej2.syncfusion.com/angular/documentation/api/diagram/contextMenuItemModel#iconCss-string) for enabling the use of font icons. The [`target`](https://ej2.syncfusion.com/angular/documentation/api/diagram/contextMenuItemModel#target-string) property specifies where each menu item should appear, and separators can be included using the [`separator`](https://ej2.syncfusion.com/angular/documentation/api/diagram/contextMenuItemModel#separator-boolean) property to visually group menu items. This flexibility allows for a tailored user interface that meets specific application needs efficiently. Nested menu items are defined within the [`items`](https://ej2.syncfusion.com/angular/documentation/api/diagram/contextMenuItemModel/#items) property of a parent menu item.
40+
Each custom item can be defined with specific text and ID using the [`text`](https://ej2.syncfusion.com/angular/documentation/api/diagram/contextMenuItemModel#text) and [`ID`](https://ej2.syncfusion.com/angular/documentation/api/diagram/contextMenuItemModel#id) properties, respectively. Additionally, you can enhance visual cues by associating icons through the [`iconCss`](https://ej2.syncfusion.com/angular/documentation/api/diagram/contextMenuItemModel#iconCss) for enabling the use of font icons. The [`target`](https://ej2.syncfusion.com/angular/documentation/api/diagram/contextMenuItemModel#target) property specifies where each menu item should appear, and separators can be included using the [`separator`](https://ej2.syncfusion.com/angular/documentation/api/diagram/contextMenuItemModel#separator) property to visually group menu items. This flexibility allows for a tailored user interface that meets specific application needs efficiently. Nested menu items are defined within the [`items`](https://ej2.syncfusion.com/angular/documentation/api/diagram/contextMenuItemModel/#items) property of a parent menu item.
4241

4342
### To Display custom menu alone
4443

@@ -140,4 +139,4 @@ The following example shows how to get these events.
140139

141140
## See Also
142141

143-
* [How to open context menu on left click](https://support.syncfusion.com/kb/article/15100/how-to-perform-clipboard-operation-with-custom-context-menu-on-left-click-using-javascript-diagram)
142+
* [How to open context menu on left click](https://support.syncfusion.com/kb/article/15097/how-to-perform-clipboard-operation-with-custom-context-menu-on-left-click-using-angular-diagram)

0 commit comments

Comments
 (0)