Skip to content

DOCINFRA-2341_merged_using_automation #307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ej2-javascript/circular-gauge/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The accessibility compliance for the Circular Gauge control is outlined below.
| [Right-To-Left Support](../common/accessibility#right-to-left-support) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Color Contrast](../common/accessibility#color-contrast) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Mobile Device Support](../common/accessibility#mobile-device-support) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Keyboard Navigation Support](../common/accessibility#keyboard-navigation-support) | <img src="https://cdn.syncfusion.com/content/images/documentation/not-supported.png" alt="No"> |
| [Keyboard Navigation Support](../common/accessibility#keyboard-navigation-support) | Not Applicable |
| [Accessibility Checker Validation](../common/accessibility#ensuring-accessibility) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Axe-core Accessibility Validation](../common/accessibility#ensuring-accessibility) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |

Expand Down
92 changes: 39 additions & 53 deletions ej2-javascript/code-snippet/diagram/ports-cs6/index.js
Original file line number Diff line number Diff line change
@@ -1,58 +1,51 @@
// Define ports
let port1 = {
style: {
strokeColor: '#000000',
fill: ' #FFFF00'
},
// Define port connection direction
connectionDirection: 'Right',
shape: 'Square',
id: 'port1',
visibility: ej2_diagrams_1.PortVisibility.Visible,
offset: {
x: 0.5,
y: 0.5
strokeColor: 'black',
fill: 'yellow'
}
}
port1.shape = 'Square';
port1.visibility =ej.diagrams.PortVisibility.Visible;
//specify the direction of the port
port1.connectionDirection="Right"
port1.id = 'port';
port1.offset = {
x: 0.5,
y: 0.5
};

let port2 = {
style: {
strokeColor: '#000000',
fill: ' #FFFF00'
},
offset: {
x: 0,
y: 0
},
id: 'port2',
visibility: ej2_diagrams_1.PortVisibility.Visible,
shape: 'Square',
// Define port connection direction
connectionDirection: 'Left'
strokeColor: 'black',
fill: 'yellow'
}
};
port2.offset = {
x: 0,
y: 0
};

// Define nodes
port2.id = 'port1';
port2.visibility = ej.diagrams.PortVisibility.Visible;
//specify the direction of the port
port2.connectionDirection="Left"
port2.shape = 'Square';

let nodes = [{
id: 'node',
width: 100,
height: 100,
offsetX: 600,
offsetY: 300,
ports: [port1],
fill: '#87CEEB'
offsetX: 100,
offsetY: 200,
ports: [port1]
},
{
id: 'node1',
width: 100,
height: 100,
offsetX: 800,
offsetY: 200,
ports: [port2],
fill: 'red'
}
offsetX: 300,
offsetY: 100,
ports: [port2]
},
];

// Define a connector between the nodes
let connectors = {
id: "connector1",
sourcePoint: {
Expand All @@ -66,26 +59,19 @@ let connectors = {
},
sourceID: 'node',
targetID: 'node1',
sourcePortID: 'port1',
targetPortID: 'port2'
};

// Initialize diagram component
let diagram = new ej2.diagrams.Diagram({
width: '100%',
height: '600px',
// Add nodes and connectors
sourcePortID: 'port',
targetPortID: 'port1'
}
let diagram = new ej.diagrams.Diagram({
width: 900,
height: 900,
nodes: nodes,
connectors: [connectors],
getNodeDefaults: (node) => {
// Customize default node appearance
node.height = 100;
node.width = 100;
node.style.fill = '#6BA5D7';
node.style.strokeColor = 'white';
return node;
}
});

// Render initialized diagram
diagram.appendTo('#element');
},
}, '#element' );
102 changes: 45 additions & 57 deletions ej2-javascript/code-snippet/diagram/ports-cs6/index.ts
Original file line number Diff line number Diff line change
@@ -1,62 +1,56 @@
// Import necessary modules
const ej2_diagrams_1 = require("@syncfusion/ej2-diagrams");

// Define ports
let port1 = {


import {ConnectorModel,NodeModel,PointPortModel,Diagram,PortVisibility,} from'@syncfusion/ej2-diagrams';
let port1: PointPortModel = {
style: {
strokeColor: '#000000',
fill: ' #FFFF00'
},
// Define port connection direction
connectionDirection: 'Right',
shape: 'Square',
id: 'port1',
visibility: ej2_diagrams_1.PortVisibility.Visible,
offset: {
x: 0.5,
y: 0.5
strokeColor: 'black',
fill: 'yellow'
}
}
port1.shape = 'Square';
port1.visibility = PortVisibility.Visible
//specify the direction of the port
port1.connectionDirection="Right"
port1.id = 'port';
port1.offset = {
x: 0.5,
y: 0.5
};

let port2 = {
let port2: PointPortModel = {
style: {
strokeColor: '#000000',
fill: ' #FFFF00'
},
offset: {
x: 0,
y: 0
},
id: 'port2',
visibility: ej2_diagrams_1.PortVisibility.Visible,
shape: 'Square',
// Define port connection direction
connectionDirection: 'Left'
strokeColor: 'black',
fill: 'yellow'
}
};
port2.offset = {
x: 0,
y: 0
};
port2.id = 'port1';
port2.visibility = PortVisibility.Visible
//specify the direction of the port
port2.connectionDirection="Left"
port2.shape = 'Square';

// Define nodes
let nodes = [{
let nodes: NodeModel[] = [{
id: 'node',
width: 100,
height: 100,
offsetX: 600,
offsetY: 300,
ports: [port1],
fill: '#87CEEB'
offsetX: 100,
offsetY: 200,
ports: [port1]
},
{
id: 'node1',
width: 100,
height: 100,
offsetX: 800,
offsetY: 200,
ports: [port2],
fill: 'red'
}
offsetX: 300,
offsetY: 100,
ports: [port2]
},
];

// Define a connector between the nodes
let connectors = {
let connectors: ConnectorModel = {
id: "connector1",
sourcePoint: {
x: 100,
Expand All @@ -69,26 +63,20 @@ let connectors = {
},
sourceID: 'node',
targetID: 'node1',
sourcePortID: 'port1',
targetPortID: 'port2'
};

// Initialize diagram component
let diagram = new ej2_diagrams_1.Diagram({
width: '100%',
height: '600px',
// Add nodes and connectors
sourcePortID: 'port',
targetPortID: 'port1'
}
let diagram: Diagram = new Diagram({
width: 900,
height: 900,
nodes: nodes,
connectors: [connectors],
getNodeDefaults: (node) => {
// Customize default node appearance
getNodeDefaults: (node: NodeModel) => {
node.height = 100;
node.width = 100;
node.style.fill = '#6BA5D7';
node.style.strokeColor = 'white';
return node;
}
},
});

// Render initialized diagram
diagram.appendTo('#element');
8 changes: 4 additions & 4 deletions ej2-javascript/common/custom-resource-generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Refer to the following steps to download the custom resources in CRG.

## Import previously generated settings into the CRG

To add more controls or upgrade the latest Syncfusion ASP.NET Core library resources, it is not necessary to generate it from the scratch in the CRG. Just import the old **import.json** file and make the changes, then download it again from the CRG application.
To add more controls or upgrade the latest Syncfusion scripts, it is not necessary to generate it from the scratch in the CRG. Just import the old **import.json** file and make the changes, then download it again from the CRG application.

Refer to the following steps to import previous **import.json** file in the CRG.

Expand All @@ -70,11 +70,11 @@ Refer to the following steps to import previous **import.json** file in the CRG.
2. Upload the **import.json** file so that the previously stored data will be restored in the CRG application. Now, add more controls and export the resources again.
![ej2 Previous changes restored](images/previous-changes-restored.png)

## To dowload a Licensed script
## To download a licensed script

If you prefer to utilize a licensed script, As a licensed user, you can download a licensed script from the Custom Resource Generator (CRG) by logging into your CRG account. Kindly refer to the attached image below.
If you prefer to utilize a licensed script, As a licensed user, you can download a licensed script from the Custom Resource Generator (CRG) by logging into your CRG account, as illustrated below.

![image](../js/licensing/images/crg-licensed-profile.png)
![image](images/licensed-profile.png)

Licensed scripts generated through the Custom Resource Generator (CRG) do not require additional license registration when downloaded by authenticated users. But if you are not downloading a licensed script, you need to register the license key in your application. For more information, refer to the [Licensing section](../js/licensing/license-key-registration.md).

Expand Down
Binary file added ej2-javascript/common/images/licensed-profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions ej2-javascript/document-editor/restrict-editing.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Restrict editing in ##Platform_Name## Document editor control | Syncfusion
description: Learn here all about Restrict editing in Syncfusion ##Platform_Name## Document editor control of Syncfusion Essential JS 2 and more.
title: Restrict editing in ##Platform_Name## Document Editor Control | Syncfusion
description: Learn here all about Restrict editing in Syncfusion ##Platform_Name## Document Editor control of Syncfusion Essential JS 2 and more.
platform: ej2-javascript
control: Restrict editing
publishingplatform: ##Platform_Name##
Expand Down
4 changes: 2 additions & 2 deletions ej2-javascript/heatmap-chart/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ The accessibility compliance for the HeatMap control is outlined below.
| [WCAG 2.2 Support](../common/accessibility#accessibility-standards) | <img src="https://cdn.syncfusion.com/content/images/documentation/partial.png" alt="Intermediate"> |
| [Section 508 Support](../common/accessibility#accessibility-standards) | <img src="https://cdn.syncfusion.com/content/images/documentation/partial.png" alt="Intermediate"> |
| [Screen Reader Support](../common/accessibility#screen-reader-support) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Right-To-Left Support](../common/accessibility#right-to-left-support) | <img src="https://cdn.syncfusion.com/content/images/documentation/not-supported.png" alt="No"> |
| [Right-To-Left Support](../common/accessibility#right-to-left-support) | Not Applicable |
| [Color Contrast](../common/accessibility#color-contrast) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Mobile Device Support](../common/accessibility#mobile-device-support) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Keyboard Navigation Support](../common/accessibility#keyboard-navigation-support) | <img src="https://cdn.syncfusion.com/content/images/documentation/not-supported.png" alt="No"> |
| [Keyboard Navigation Support](../common/accessibility#keyboard-navigation-support) | Not Applicable |
| [Accessibility Checker Validation](../common/accessibility#ensuring-accessibility) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Axe-core Accessibility Validation](../common/accessibility#ensuring-accessibility) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |

Expand Down
4 changes: 2 additions & 2 deletions ej2-javascript/linear-gauge/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ The accessibility compliance for the Linear Gauge control is outlined below.
| [WCAG 2.2 Support](../common/accessibility#accessibility-standards) | <img src="https://cdn.syncfusion.com/content/images/documentation/partial.png" alt="Intermediate"> |
| [Section 508 Support](../common/accessibility#accessibility-standards) | <img src="https://cdn.syncfusion.com/content/images/documentation/partial.png" alt="Intermediate"> |
| [Screen Reader Support](../common/accessibility#screen-reader-support) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Right-To-Left Support](../common/accessibility#right-to-left-support) | <img src="https://cdn.syncfusion.com/content/images/documentation/not-supported.png" alt="No"> |
| [Right-To-Left Support](../common/accessibility#right-to-left-support) | Not Applicable |
| [Color Contrast](../common/accessibility#color-contrast) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Mobile Device Support](../common/accessibility#mobile-device-support) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Keyboard Navigation Support](../common/accessibility#keyboard-navigation-support) | <img src="https://cdn.syncfusion.com/content/images/documentation/not-supported.png" alt="No"> |
| [Keyboard Navigation Support](../common/accessibility#keyboard-navigation-support) | Not Applicable |
| [Accessibility Checker Validation](../common/accessibility#ensuring-accessibility) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Axe-core Accessibility Validation](../common/accessibility#ensuring-accessibility) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |

Expand Down
2 changes: 1 addition & 1 deletion ej2-javascript/maps/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The accessibility compliance for the Maps control is outlined below.
| [WCAG 2.2 Support](../common/accessibility#accessibility-standards) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Section 508 Support](../common/accessibility#accessibility-standards) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Screen Reader Support](../common/accessibility#screen-reader-support) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Right-To-Left Support](../common/accessibility#right-to-left-support) | <img src="https://cdn.syncfusion.com/content/images/documentation/not-supported.png" alt="No"> |
| [Right-To-Left Support](../common/accessibility#right-to-left-support) | Not Applicable |
| [Color Contrast](../common/accessibility#color-contrast) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Mobile Device Support](../common/accessibility#mobile-device-support) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Keyboard Navigation Support](../common/accessibility#keyboard-navigation-support) |<img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
Expand Down
4 changes: 2 additions & 2 deletions ej2-javascript/toast/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The accessibility compliance for the Toast component is outlined below.
| [Right-To-Left Support](../common/accessibility#right-to-left-support) | <img src="https://cdn.syncfusion.com/content/images/documentation/full.png" alt="Yes"> |
| [Color Contrast](../common/accessibility#color-contrast) | <img src="https://cdn.syncfusion.com/content/images/documentation/full.png" alt="Yes"> |
| [Mobile Device Support](../common/accessibility#mobile-device-support) | <img src="https://cdn.syncfusion.com/content/images/documentation/full.png" alt="Yes"> |
| [Keyboard Navigation Support](../common/accessibility#keyboard-navigation-support) | <img src="https://cdn.syncfusion.com/content/images/documentation/not-supported.png" alt="No"> |
| [Keyboard Navigation Support](../common/accessibility#keyboard-navigation-support) | Not Applicable |
| [Accessibility Checker Validation](../common/accessibility#ensuring-accessibility) | <img src="https://cdn.syncfusion.com/content/images/documentation/full.png" alt="Yes"> |
| [Axe-core Accessibility Validation](../common/accessibility#ensuring-accessibility) | <img src="https://cdn.syncfusion.com/content/images/documentation/full.png" alt="Yes"> |

Expand Down Expand Up @@ -90,4 +90,4 @@ The accessibility compliance of the Toast component is shown in the following sa

## See also

* [Accessibility in Syncfusion components](../common/accessibility)
* [Accessibility in Syncfusion components](../common/accessibility)
2 changes: 1 addition & 1 deletion ej2-javascript/treemap/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The accessibility compliance for the TreeMap control is outlined below.
| [Right-To-Left Support](../common/accessibility#right-to-left-support) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Color Contrast](../common/accessibility#color-contrast) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Mobile Device Support](../common/accessibility#mobile-device-support) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Keyboard Navigation Support](../common/accessibility#keyboard-navigation-support) | <img src="https://cdn.syncfusion.com/content/images/documentation/not-supported.png" alt="No"> |
| [Keyboard Navigation Support](../common/accessibility#keyboard-navigation-support) | Not Applicable |
| [Accessibility Checker Validation](../common/accessibility#ensuring-accessibility) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |
| [Axe-core Accessibility Validation](../common/accessibility#ensuring-accessibility) | <img src="https://cdn.syncfusion.com/content/images/landing-page/yes.png" alt="Yes"> |

Expand Down