Skip to content

Commit 33aa60d

Browse files
Merge pull request #2 from SuriyaKumar2402/master
Added new components with Improvements and documentation updates
2 parents e06e470 + c6694c8 commit 33aa60d

File tree

259 files changed

+105858
-614
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

259 files changed

+105858
-614
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Ignore Node.js dependencies
22
node_modules/
3-
package-lock.json
4-
yarn.lock
53

64
# Ignore compiled output and generated files
75
obj/
@@ -27,3 +25,4 @@ generated/
2725
!/components/
2826
!/docs/
2927
!/.images/
28+
!/gulp-tasks/

CHANGELOG.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,38 @@
1+
# Changelog
2+
3+
## v27.2.2 (November 28, 2024)
4+
5+
We are excited to announce the addition of four new components in this release, enhancing the capabilities of PowerApps with even more flexibility and functionality.
6+
7+
### Added Components
8+
9+
- [Gantt](components/gantt) `Preview`: A Gantt component for visualizing project timelines and tasks in a Gantt chart format.
10+
- [FileManager](components/filemanager) `Preview`: A FileManager component for navigating and managing files and folders in a hierarchical view, supporting features like file and folder viewing, searching, and organizing etc.
11+
- [Spreadsheet](components/spreadsheet) `Preview`: A spreadsheet component for viewing spreadsheet data, allowing users to navigate and analyze data in a grid format.
12+
- [Kanban](components/kanban) `Preview`: A kanban component for visualizing and organizing work in progress through customizable boards, columns, and cards.
13+
14+
### Improvements
15+
16+
- **Dark Mode Support**: Dark mode support across all components to improve accessibility and user experience.
17+
- **Adaptive UI**: Components now automatically adjust layouts based on device type (`formfactor`) for optimized display across devices for supported code components.
18+
- **Enhanced Automation**: Organized automation scripts into a structured `gulp-tasks` folder, introducing new options for creating managed/unmanaged solutions, selective component packaging, and an `npm run clean` command for clearing the cache.
19+
20+
### Documentation Updates
21+
22+
- **PDF Viewer Guide**: Added instructions on loading PDFs from Dataverse into the pdfviewer using PowerAutomate within Canvas applications. [Link](./docs/pdfviewer/how-to-load-dataverse-file-in-pdfviewer.md)
23+
124
## v27.1.48 (October 21, 2024)
225

326
We are excited to announce the initial release of the **Syncfusion PowerApps Code Components** library. This version includes the following components:
427

528
### Added Components
29+
630
- [Grid](components/grids) `Preview`: A powerful data grid component for displaying and manipulating tabular data.
731
- [Chart](components/charts) `Preview`: An interactive charting component for visualizing data through various chart types.
832
- [Schedule](components/schedule) `Preview`: A scheduling component for managing appointments and events.
933
- [PdfViewer](components/pdfviewer) `Preview`: A component for viewing and interacting with PDF documents within your applications.
1034
- [PivotView](components/pivotview) `Preview`: A pivot table component for summarizing and analyzing data dynamically.
1135

1236
### What's Changed
13-
* Initial release of the Syncfusion PowerApps Code Components library in https://github.com/syncfusion/ej2-powerapps-components/pull/1
37+
38+
- Initial release of the Syncfusion PowerApps Code Components library in <https://github.com/syncfusion/ej2-powerapps-components/pull/1>

README.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ The repository is organized into the following folders:
1010
| -------------------------- | ------------------------------------------------ |
1111
| [`components`](components) | Contains the Syncfusion code components. |
1212
| [`docs`](docs) | Contains the documentation for Syncfusion code components. |
13+
| [`gulp-tasks`](gulp-tasks) | Contains the gulp tasks for the Syncfusion code components library. |
1314
| [`SyncfusionPowerAppsComponents`](SyncfusionPowerAppsComponents) | Contains the generated solution project and solution file with all Syncfusion code components in the **components** folder (Available after running the `npm run pack` command). |
1415

1516
## Components list
@@ -22,7 +23,11 @@ The Syncfusion PowerApps Code components library includes the following componen
2223
| [Chart](components/charts) `Preview` |[Local (TestHarness)](docs/charts/getting-started-with-code-component.md) <br/> ✅ [Canvas](docs/charts/getting-started-with-canvas.md) <br/> ✅ [Model-Driven (Form)](docs/charts/getting-started-with-model-driven-form.md) <br/> ✅ [Model-Driven (Custom Pages)](docs/charts/getting-started-with-model-driven-custom-pages.md) <br/> ✅ [PowerPages (Portals)](./docs/charts/getting-started-with-power-pages.md) |
2324
| [Schedule](components/schedule) `Preview` |[Local (TestHarness)](docs/schedule/getting-started-with-code-component.md) <br/> ✅ [Canvas](docs/schedule/getting-started-with-canvas.md) <br/> ✅ [Model-Driven (Form)](docs/schedule/getting-started-with-model-driven-form.md) <br/> ✅ [Model-Driven (Custom Pages)](docs/schedule/getting-started-with-model-driven-custom-pages.md) <br/> ✅ [PowerPages (Portals)](./docs/schedule/getting-started-with-power-pages.md) |
2425
| [PdfViewer](components/pdfviewer) `Preview` |[Local (TestHarness)](docs/pdfviewer/getting-started-with-code-component.md) <br/> ✅ [Canvas](docs/pdfviewer/getting-started-with-canvas.md) <br/> ✅ [Model-Driven (Form)](docs/pdfviewer/getting-started-with-model-driven-form.md) <br/> ✅ [Model-Driven (Custom Pages)](docs/pdfviewer/getting-started-with-model-driven-custom-pages.md) <br/> ⬜ PowerPages (Portals) |
25-
| [PivotView](components/pivotview) `Preview` | ✅ [Local (TestHarness)](docs/pivotview/getting-started-with-code-component.md) <br/> ✅ [Canvas](docs/pivotview/getting-started-with-canvas.md) <br/> ✅ [Model-Driven (Form)](docs/pivotview/getting-started-with-model-driven-form.md) <br/> ✅ [Model-Driven (Custom Pages)](docs/pivotview/getting-started-with-model-driven-custom-pages.md) <br/> ✅ [PowerPages (Portals)](docs/pivotview/getting-started-with-model-driven-custom-pages.md) <br/>
26+
| [PivotView](components/pivotview) `Preview` | ✅ [Local (TestHarness)](docs/pivotview/getting-started-with-code-component.md) <br/> ✅ [Canvas](docs/pivotview/getting-started-with-canvas.md) <br/> ✅ [Model-Driven (Form)](docs/pivotview/getting-started-with-model-driven-form.md) <br/> ✅ [Model-Driven (Custom Pages)](docs/pivotview/getting-started-with-model-driven-custom-pages.md) <br/> ✅ [PowerPages (Portals)](docs/pivotview/getting-started-with-power-pages.md) <br/>
27+
| [Gantt](components/gantt) `Preview` | ✅ [Local (TestHarness)](docs/gantt/getting-started-with-code-component.md) <br/> ✅ [Canvas](docs/gantt/getting-started-with-canvas.md) <br/> ✅ [Model-Driven (Form)](docs/gantt/getting-started-with-model-driven-form.md) <br/> ✅ [Model-Driven (Custom Pages)](docs/gantt/getting-started-with-model-driven-custom-pages.md) <br/> ✅ [PowerPages (Portals)](docs/gantt/getting-started-with-power-pages.md) <br/>
28+
| [FileManager](components/filemanager) `Preview` | ✅ [Local (TestHarness)](docs/filemanager/getting-started-with-code-component.md) <br/> ✅ [Canvas](docs/filemanager/getting-started-with-canvas.md) <br/> ✅ [Model-Driven (Form)](docs/filemanager/getting-started-with-model-driven-form.md) <br/> ✅ [Model-Driven (Custom Pages)](docs/filemanager/getting-started-with-model-driven-custom-pages.md) <br/> ✅ [PowerPages (Portals)](docs/filemanager/getting-started-with-power-pages.md) <br/>
29+
| [Spreadsheet](components/spreadsheet) `Preview` |[Local (TestHarness)](docs/spreadsheet/getting-started-with-code-component.md) <br/> ✅ [Canvas](docs/spreadsheet/getting-started-with-canvas.md) <br/> ⬜ Model-Driven (Form) <br/> ✅ [Model-Driven (Custom Pages)](docs/spreadsheet/getting-started-with-model-driven-custom-pages.md) <br/> ⬜ PowerPages (Portals) |
30+
| [Kanban](components/kanban) `Preview` |[Local (TestHarness)](docs/kanban/getting-started-with-code-component.md) <br/> ✅ [Canvas](docs/kanban/getting-started-with-canvas.md) <br/> ⬜ Model-Driven (Form) <br/> ✅ [Model-Driven (Custom Pages)](docs/kanban/getting-started-with-model-driven-custom-pages.md) <br/> ⬜ PowerPages (Portals) |
2631

2732
<em>Anticipate future updates to the component list. \*</em>
2833

@@ -41,7 +46,7 @@ Clone the Syncfusion PowerApps components repository to your local machine.
4146

4247
## Creating the Syncfusion code components solution package
4348

44-
To generate a solution project and bundle all Synfusion code components to create a solution package, follow these steps:
49+
To generate a solution project and bundle all Syncfusion code components to create a solution package, follow these steps:
4550

4651
1. Open your command prompt and navigate to the [root folder](./) of this project.
4752

@@ -104,29 +109,26 @@ For instance, to test the Grid code component, you can visit the [Local (TestHar
104109

105110
## Upcoming Plans and Feedbacks
106111

107-
- We are excited to announce that the following components will be included soon:
112+
The following components are set to be published soon:
113+
108114
1. Document Editor
109-
2. File Manager
110-
3. Gantt Chart
111-
4. Kanban
112-
5. Rich Text Editor
113-
6. Spreadsheet
114-
7. TreeGrid
115+
2. Rich Text Editor
116+
3. TreeGrid
115117

116-
- We welcome your suggestions and improvements! Please share your feedback with us through [Github Discussions](https://github.com/syncfusion/ej2-powerapps-components/issues).
118+
We welcome your suggestions and improvements! Please share your feedback with us through [Github Discussions](https://github.com/syncfusion/ej2-powerapps-components/issues).
117119

118120
## Support and feedback
119121

120-
* For any other queries, reach our [Syncfusion support team](https://www.syncfusion.com/support/directtrac/incidents/newincident) or post the queries through the [Community forums](https://www.syncfusion.com/forums) and submit a feature request or a bug through our [Feedback portal](https://www.syncfusion.com/feedback).
121-
* To renew the subscription, click [renew](https://www.syncfusion.com/sales/products) or contact our sales team at salessupport@syncfusion.com | Toll Free: 1-888-9 DOTNET.
122+
- For any other queries, reach our [Syncfusion support team](https://www.syncfusion.com/support/directtrac/incidents/newincident) or post the queries through the [Community forums](https://www.syncfusion.com/forums) and submit a feature request or a bug through our [Feedback portal](https://www.syncfusion.com/feedback).
123+
- To renew the subscription, click [renew](https://www.syncfusion.com/sales/products) or contact our sales team at <salessupport@syncfusion.com> | Toll Free: 1-888-9 DOTNET.
122124

123125
## License
124126

125127
Syncfusion React Components is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
126128

127129
To be qualified for the Syncfusion Community License Program, you must have gross revenue of less than one (1) million U.S. dollars (USD 1,000,000.00) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
128130

129-
Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
131+
Customers who do not qualify for the community license can contact <sales@syncfusion.com> for commercial licensing options.
130132

131133
You may not use this product without first purchasing a Community License or a Commercial License, as well as agreeing to and complying with Syncfusion's license terms and conditions.
132134

components/charts/SfChart/ControlManifest.Input.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest>
3-
<control namespace="Syncfusion" constructor="SfChart" version="27.1.48" display-name-key="SfChart" description-key="SfChart_Desc_Key" control-type="virtual">
3+
<control namespace="Syncfusion" constructor="SfChart" version="27.2.2" display-name-key="SfChart" description-key="SfChart_Desc_Key" control-type="virtual">
44
<!--external-service-usage node declares whether this 3rd party PCF control is using external service or not, if yes, this control will be considered as premium and please also add the external domain it is using.
55
If it is not using any external service, please set the enabled="false" and DO NOT add any domain below. The "enabled" will be false by default.
66
Example1:
@@ -20,6 +20,7 @@
2020

2121
<!-- Chart DataSource Property -->
2222
<data-set name="DataSource" display-name-key="DataSource"></data-set>
23+
<property name="EnableDarkMode" of-type="TwoOptions" default-value="false" display-name-key="EnableDarkMode" description-key="EnableDarkMode_Desc_Key" usage="input" required="false" />
2324

2425
<!-- Chart Series & Title Property -->
2526
<property name="Series" of-type="Multiple" default-value="" display-name-key="Series" description-key="Series_Desc_Key" usage="input" required="false" />

components/charts/SfChart/SfChart.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ export const SfChartComponent: React.FC<ISfChart> = React.memo((props: ISfChart)
8383
return (
8484
<ChartComponent
8585
ref={chartRef}
86-
theme="Fluent2"
86+
theme={`Fluent2${props.enableDarkMode ? "Dark" : ""}`}
87+
background={props.enableDarkMode ? "#292929" : "#fff"}
8788
width={props.width}
8889
height={props.height}
8990
enableRtl={props.rtl}

components/charts/SfChart/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export class SfChart implements ComponentFramework.ReactControl<IInputs, IOutput
4848
dataSource: this.getChartData(context.parameters?.DataSource),
4949
width: allocatedWidth > 0 ? allocatedWidth + "px" : "100%",
5050
height: allocatedHeight > 0 ? allocatedHeight + "px" : "100%",
51+
enableDarkMode: this.validateBooleanProperty(context.parameters?.EnableDarkMode),
5152
rtl: this.context.userSettings.isRTL ?? false,
5253
series: this.parseJSONConfig(context.parameters?.Series),
5354
seriesType: context.parameters?.SeriesType?.raw,
@@ -95,7 +96,7 @@ export class SfChart implements ComponentFramework.ReactControl<IInputs, IOutput
9596
const returnData = sortedRecordIds.map((id) => {
9697
const record: Record = {};
9798
columns.forEach((column: Record) => {
98-
if (isNullOrUndefined(column.displayName)) return;
99+
if (isNullOrUndefined(column.displayName) || column.dataType.includes("multiselectpicklist")) return;
99100

100101
isModelDriven = !isNullOrUndefined(column["isPrimary"]) && !this.isTestHarness;
101102
if (isModelDriven && column.dataType === "TwoOptions") {

components/charts/SfChart/strings/SfChart.1033.resx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123

124124
<!-- Chart Control properties -->
125125
<data name="SfChart" xml:space="preserve">
126-
<value>SfChart (27.1.48) Preview</value>
126+
<value>SfChart (27.2.2) Preview</value>
127127
</data>
128128
<data name="SfChart_Desc_Key" xml:space="preserve">
129129
<value>The EJ2 PowerApps Chart Component delivers dynamic and animated HTML5 graphs, seamlessly integrating real-time data for visually impactful presentations.</value>
@@ -134,6 +134,13 @@
134134
<value>Data Source </value>
135135
</data>
136136

137+
<data name="EnableDarkMode" xml:space="preserve">
138+
<value>Enable Dark Mode</value>
139+
</data>
140+
<data name="EnableDarkMode_Desc_Key" xml:space="preserve">
141+
<value>Toggle this option to switch the application interface to Dark Mode</value>
142+
</data>
143+
137144
<!-- Chart Series & Title Properties -->
138145
<data name="Series" xml:space="preserve">
139146
<value>Series</value>

components/charts/SfChart/types.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export interface ISfChart {
77
dataSource: Record[] | undefined;
88
width: string;
99
height: string;
10+
enableDarkMode: boolean;
1011
rtl: boolean;
1112
series: SeriesModel[];
1213
seriesType: ChartSeriesType;

0 commit comments

Comments
 (0)