@syncfusion/ej2-angular-spreadsheet 34.2.4-ngcc → 34.2.4
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.
- package/CHANGELOG.md +1681 -0
- package/README.md +51 -52
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/src/index.mjs +15 -0
- package/esm2020/src/spreadsheet/cells.directive.mjs +73 -0
- package/esm2020/src/spreadsheet/chart.directive.mjs +46 -0
- package/esm2020/src/spreadsheet/columns.directive.mjs +61 -0
- package/esm2020/src/spreadsheet/conditionalformats.directive.mjs +61 -0
- package/esm2020/src/spreadsheet/definednames.directive.mjs +58 -0
- package/esm2020/src/spreadsheet/image.directive.mjs +46 -0
- package/esm2020/src/spreadsheet/ranges.directive.mjs +69 -0
- package/esm2020/src/spreadsheet/richtext.directive.mjs +46 -0
- package/esm2020/src/spreadsheet/rows.directive.mjs +65 -0
- package/esm2020/src/spreadsheet/sheets.directive.mjs +68 -0
- package/esm2020/src/spreadsheet/spreadsheet-all.module.mjs +74 -0
- package/esm2020/src/spreadsheet/spreadsheet.component.mjs +188 -0
- package/esm2020/src/spreadsheet/spreadsheet.module.mjs +115 -0
- package/esm2020/syncfusion-ej2-angular-spreadsheet.mjs +5 -0
- package/fesm2015/syncfusion-ej2-angular-spreadsheet.mjs +916 -0
- package/fesm2015/syncfusion-ej2-angular-spreadsheet.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-spreadsheet.mjs +916 -0
- package/fesm2020/syncfusion-ej2-angular-spreadsheet.mjs.map +1 -0
- package/package.json +20 -7
- package/public_api.d.ts +1 -1
- package/src/index.d.ts +14 -14
- package/src/spreadsheet/cells.directive.d.ts +142 -137
- package/src/spreadsheet/chart.directive.d.ts +84 -79
- package/src/spreadsheet/columns.directive.d.ts +76 -71
- package/src/spreadsheet/conditionalformats.directive.d.ts +60 -55
- package/src/spreadsheet/definednames.directive.d.ts +54 -49
- package/src/spreadsheet/image.directive.d.ts +53 -48
- package/src/spreadsheet/ranges.directive.d.ts +73 -68
- package/src/spreadsheet/richtext.directive.d.ts +30 -25
- package/src/spreadsheet/rows.directive.d.ts +74 -69
- package/src/spreadsheet/sheets.directive.d.ts +154 -149
- package/src/spreadsheet/spreadsheet-all.module.d.ts +28 -22
- package/src/spreadsheet/spreadsheet.component.d.ts +74 -71
- package/src/spreadsheet/spreadsheet.module.d.ts +21 -5
- package/syncfusion-ej2-angular-spreadsheet.d.ts +5 -0
- package/@syncfusion/ej2-angular-spreadsheet.es5.js +0 -1029
- package/@syncfusion/ej2-angular-spreadsheet.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-spreadsheet.js +0 -965
- package/@syncfusion/ej2-angular-spreadsheet.js.map +0 -1
- package/LICENSE +0 -10
- package/dist/ej2-angular-spreadsheet.umd.js +0 -1706
- package/dist/ej2-angular-spreadsheet.umd.js.map +0 -1
- package/dist/ej2-angular-spreadsheet.umd.min.js +0 -11
- package/dist/ej2-angular-spreadsheet.umd.min.js.map +0 -1
- package/ej2-angular-spreadsheet.d.ts +0 -5
- package/ej2-angular-spreadsheet.metadata.json +0 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Angular Spreadsheet Component
|
|
2
2
|
|
|
3
|
-
The [Angular Spreadsheet](https://www.syncfusion.com/
|
|
3
|
+
The [Angular Spreadsheet](https://www.syncfusion.com/spreadsheet-editor-sdk/angular-spreadsheet-editor?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm) is an user interactive component to organize and analyze data in tabular format with configuration options for customization. It will load data by importing an Excel/CSV file or from local and remote data sources such as JSON, RESTful services, OData services, and more. The populated data can be exported as Excel with xlsx, xls, CSV and PDF formats.
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<a href="https://
|
|
7
|
-
<a href="https://
|
|
8
|
-
<a href="https://www.syncfusion.com/
|
|
6
|
+
<a href="https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/getting-started?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm">Getting started</a> .
|
|
7
|
+
<a href="https://document.syncfusion.com/demos/spreadsheet-editor/angular/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm#/material/spreadsheet/default">Online demos</a> .
|
|
8
|
+
<a href="https://www.syncfusion.com/spreadsheet-editor-sdk/angular-spreadsheet-editor?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm">Learn more</a>
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
@@ -89,70 +89,69 @@ export class AppComponent implements OnInit {
|
|
|
89
89
|
|
|
90
90
|
Spreadsheet component is also offered in the following list of frameworks.
|
|
91
91
|
|
|
92
|
-
| [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)<br/> [JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/react.svg" height="50" />](https://www.syncfusion.com/react-
|
|
92
|
+
| [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)<br/> [JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/react.svg" height="50" />](https://www.syncfusion.com/react-components?utm_medium=listing&utm_source=github)<br/> [React](https://www.syncfusion.com/react-components?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-components?utm_medium=listing&utm_source=github)<br/> [Vue](https://www.syncfusion.com/vue-components?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)<br/> [ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/> [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github) |
|
|
93
93
|
| :-----: | :-----: | :-----: | :-----: | :-----: |
|
|
94
94
|
|
|
95
95
|
## Showcase samples
|
|
96
96
|
|
|
97
|
-
* Expense Tracker - [Source](https://github.com/syncfusion/ej2-showcase-angular-expensetracker?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm), [Live Demo](https://ej2.syncfusion.com/showcase/angular/expensetracker
|
|
97
|
+
* Expense Tracker - [Source](https://github.com/syncfusion/ej2-showcase-angular-expensetracker?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm), [Live Demo](https://ej2.syncfusion.com/showcase/angular/expensetracker/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm#/dashboard)
|
|
98
98
|
* Loan Calculator - [Source](https://github.com/syncfusion/ej2-sample-ng-loancalculator?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm), [Live Demo](https://ej2.syncfusion.com/showcase/angular/loancalculator/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm)
|
|
99
|
-
|
|
99
|
+
|
|
100
100
|
|
|
101
101
|
## Key features
|
|
102
102
|
|
|
103
|
-
* [Data sources](https://
|
|
104
|
-
* [Virtualization](https://
|
|
105
|
-
* [Selection](https://
|
|
106
|
-
* [Editing](https://
|
|
107
|
-
* [Formulas](https://
|
|
108
|
-
* [Clipboard](https://
|
|
109
|
-
* [Cell formatting](https://
|
|
110
|
-
* [Number formatting](https://
|
|
111
|
-
* [Open](https://
|
|
112
|
-
* [Save](https://
|
|
113
|
-
* [Sorting](https://
|
|
114
|
-
* [Filtering](https://
|
|
115
|
-
* [Undo Redo](https://
|
|
116
|
-
* [
|
|
117
|
-
* [
|
|
118
|
-
* [
|
|
119
|
-
* [
|
|
120
|
-
* [
|
|
121
|
-
* [
|
|
122
|
-
* [
|
|
123
|
-
* [
|
|
124
|
-
* [
|
|
125
|
-
* [
|
|
126
|
-
* [
|
|
127
|
-
* [
|
|
128
|
-
* [
|
|
129
|
-
* [
|
|
130
|
-
* [
|
|
131
|
-
* [
|
|
132
|
-
* [
|
|
133
|
-
* [
|
|
134
|
-
* [
|
|
135
|
-
* [
|
|
136
|
-
* [
|
|
137
|
-
* [
|
|
138
|
-
* [
|
|
139
|
-
* [
|
|
140
|
-
* [Accessibility](https://ej2.syncfusion.com/angular/documentation/spreadsheet/accessibility/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides with built-in accessibility support which helps to access all the Spreadsheet component features through the keyboard, screen readers, or other assistive technology devices.
|
|
103
|
+
* [Data sources](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/data-binding/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm#local-data): Bind the Spreadsheet component with an array of objects or data from a web service using [DataManager](https://ej2.syncfusion.com/angular/documentation/data/data-binding?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm).
|
|
104
|
+
* [Virtualization](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/scrolling/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm#virtual-scrolling): Provides the option to load large amount of data without performance degradation.
|
|
105
|
+
* [Selection](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/selection/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to select a cell or range of cells.
|
|
106
|
+
* [Editing](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/editing/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to dynamically edit a cell.
|
|
107
|
+
* [Formulas](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/formulas/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm#/material/spreadsheet/formula): Provides built-in calculation library with pre-defined formulas and named range support.
|
|
108
|
+
* [Clipboard](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/clipboard/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to perform clipboard operations.
|
|
109
|
+
* [Cell formatting](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/formatting#text-and-cell-formatting/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm#/material/spreadsheet/cell-formatting): Provides the option to customize the appearance of cells.
|
|
110
|
+
* [Number formatting](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/formatting#number-formatting/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm#/material/spreadsheet/number-formatting): Provides the option to format the cell value.
|
|
111
|
+
* [Open](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/open-save#open/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to open Excel and CSV files in Spreadsheet.
|
|
112
|
+
* [Save](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/open-save#save/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to save Spreadsheet data as Excel, CSV, and PDF documents.
|
|
113
|
+
* [Sorting](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/sort#sort-by-cell-value?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Helps you to arrange the data to particular order in a selected range of cells.
|
|
114
|
+
* [Filtering](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/filter#apply-filter-on-ui?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Helps you to view specific rows in the Spreadsheet by hiding the other rows.
|
|
115
|
+
* [Undo Redo](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/undo-redo?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to perform undo redo operations in Spreadsheet.
|
|
116
|
+
* [Hyperlink](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/link/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to navigate to web link or cell reference within the sheet or to other sheet in Spreadsheet.
|
|
117
|
+
* [Resize](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/mobile-responsiveness?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Allows you to change the row height and column width. Auto fit the rows and columns based on its content.
|
|
118
|
+
* [Wrap text](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/cell-range#wrap-text?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to display the large content as multiple lines in a single cell.
|
|
119
|
+
* [Data validation](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/cell-range#data-validation/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm#/material/spreadsheet/data-validation): Provides the option to validate edited values based on data validation rules defined for a cell or range of cells.
|
|
120
|
+
* [Find and replace](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/searching#find?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to find the data and replace it across all sheets in Spreadsheet.
|
|
121
|
+
* [Protect sheet](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/protect-sheet/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to restrict user actions like cell editing, row and column insertion, deletion, and resizing.
|
|
122
|
+
* [Borders](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/formatting#borders?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to customize cell gridlines such as color and its style for enhanced UI.
|
|
123
|
+
* [Show/hide](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/worksheet#sheet-visibility?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to show/hide rows, columns and sheets.
|
|
124
|
+
* [Insert/delete](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/rows-and-columns#insert?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to insert/delete rows, columns and sheets.
|
|
125
|
+
* [Merge cells](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/cell-range#merge-cells?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to combine two or more cells located in the same row or column into a single cell.
|
|
126
|
+
* [Conditional formatting](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/formatting#conditional-formatting/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to format a cell or range of cells based on conditions applied.
|
|
127
|
+
* [Autofill](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/cell-range#auto-fill?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to fill or copy a series or pattern of values and formats into adjacent cells in any direction.
|
|
128
|
+
* [Clear](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/cell-range#clear?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to clear the content, formats, and hyperlinks applied to a cell or range of cells in a Spreadsheet.
|
|
129
|
+
* [Aggregates](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/formulas?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides the option to check the sum, average, count, and more for the selected cells or range in the sheet.
|
|
130
|
+
* [Image](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/illustrations/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm#/material/spreadsheet/image): Allows you to view, insert, and modify a picture in a Spreadsheet with customizing options.
|
|
131
|
+
* [Chart](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/illustrations#chart/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm#/material/spreadsheet/chart): Transforms your Spreadsheet data to an intuitive overview for better understanding and to make smart business decisions.
|
|
132
|
+
* [Freeze panes](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/freeze-pane/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm#/material/spreadsheet/freeze-pane): Allows you to keep the specified rows and columns always visible at the top and left side of the sheet while scrolling through the sheet.
|
|
133
|
+
* [Password protection](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/protect-sheet#protect-workbook?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Allows you to protect the workbook with a password.
|
|
134
|
+
* [Multi-line editing](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/editing/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Allows you to insert a line break between paragraphs of the text within a cell in a Spreadsheet.
|
|
135
|
+
* [Calculate range selection](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/selection/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Helps you to select a range or multiple ranges when editing a formula in a cell.
|
|
136
|
+
* [Right-to-left (RTL)](https://ej2.syncfusion.com/angular/documentation/right-to-left?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Aligns content in the Spreadsheet component from right to left.
|
|
137
|
+
* [Templates](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/template/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm#/material/spreadsheet/cell-template): Templates can be used to create custom user experiences in the Spreadsheet.
|
|
138
|
+
* [Globalization](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/global-local#localization?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Personalize the Spreadsheet component with different languages, as well as culture-specific number, date, and time formatting.
|
|
139
|
+
* [Accessibility](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/accessibility?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm): Provides with built-in accessibility support which helps to access all the Spreadsheet component features through the keyboard, screen readers, or other assistive technology devices.
|
|
141
140
|
|
|
142
141
|
## Resources
|
|
143
142
|
|
|
144
|
-
* [Theme Studio](https://ej2.syncfusion.com/themestudio
|
|
143
|
+
* [Theme Studio](https://ej2.syncfusion.com/themestudio/?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm)
|
|
145
144
|
* [What's New](https://www.syncfusion.com/products/whatsnew/angular?utm_medium=listing&utm_source=github)
|
|
146
|
-
* [Road Map](https://www.syncfusion.com/products/roadmap/angular)
|
|
147
|
-
* [E-Books](https://www.syncfusion.com/succinctly-free-ebooks?searchkey=angular&type=all)
|
|
145
|
+
* [Road Map](https://www.syncfusion.com/products/roadmap/angular?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm)
|
|
146
|
+
* [E-Books](https://www.syncfusion.com/succinctly-free-ebooks?searchkey=angular&type=all?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm)
|
|
148
147
|
|
|
149
148
|
## Support
|
|
150
149
|
|
|
151
150
|
Product support is available through the following mediums.
|
|
152
151
|
|
|
153
|
-
* [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
|
|
152
|
+
* [Support ticket](https://support.syncfusion.com/support/tickets/create?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
|
|
154
153
|
* [Community forum](https://www.syncfusion.com/forums/angular-js2?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm)
|
|
155
|
-
* [GitHub issues](https://github.com/syncfusion/ej2-angular-ui-components/issues/new)
|
|
154
|
+
* [GitHub issues](https://github.com/syncfusion/ej2-angular-ui-components/issues/new?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm)
|
|
156
155
|
* [Request feature or report bug](https://www.syncfusion.com/feedback/angular?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm)
|
|
157
156
|
* Live chat
|
|
158
157
|
|
|
@@ -162,9 +161,9 @@ Check the changelog [here](https://github.com/syncfusion/ej2-angular-ui-componen
|
|
|
162
161
|
|
|
163
162
|
## License and copyright
|
|
164
163
|
|
|
165
|
-
> This is a commercial product and requires a paid license for possession or use. Syncfusion<sup>®</sup> licensed software, including this component, is subject to the terms and conditions of Syncfusion<sup>®</sup> [EULA](https://www.syncfusion.com/
|
|
164
|
+
> This is a commercial product and requires a paid license for possession or use. Syncfusion<sup>®</sup> licensed software, including this component, is subject to the terms and conditions of Syncfusion<sup>®</sup> [EULA](https://www.syncfusion.com/license/studio/34.1.29/syncfusion_essential_studio_eula.pdf?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm). To acquire a license for 150+ [Angular UI components](https://www.syncfusion.com/angular-components?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm), you can [purchase](https://www.syncfusion.com/sales/pricing?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm) or [start a free 30-day trial](https://www.syncfusion.com/downloads/spreadsheet-editor-sdk?tag=es-seo-spreadsheet-editor-sdk-download-trial).
|
|
166
165
|
|
|
167
|
-
> A free community [license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
|
|
166
|
+
> A free community [license](https://www.syncfusion.com/products/communitylicense?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
|
|
168
167
|
|
|
169
168
|
See [LICENSE FILE](https://github.com/syncfusion/ej2-angular-ui-components/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=angular-spreadsheet-npm) for more info.
|
|
170
169
|
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './src/index';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYy9pbmRleCc7Il19
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { ImageDirective, ImagesDirective } from './spreadsheet/image.directive';
|
|
2
|
+
export { ChartDirective, ChartsDirective } from './spreadsheet/chart.directive';
|
|
3
|
+
export { RichTextDirective, RichTextsDirective } from './spreadsheet/richtext.directive';
|
|
4
|
+
export { CellDirective, CellsDirective } from './spreadsheet/cells.directive';
|
|
5
|
+
export { RowDirective, RowsDirective } from './spreadsheet/rows.directive';
|
|
6
|
+
export { ColumnDirective, ColumnsDirective } from './spreadsheet/columns.directive';
|
|
7
|
+
export { RangeDirective, RangesDirective } from './spreadsheet/ranges.directive';
|
|
8
|
+
export { ConditionalFormatDirective, ConditionalFormatsDirective } from './spreadsheet/conditionalformats.directive';
|
|
9
|
+
export { SheetDirective, SheetsDirective } from './spreadsheet/sheets.directive';
|
|
10
|
+
export { DefinedNameDirective, DefinedNamesDirective } from './spreadsheet/definednames.directive';
|
|
11
|
+
export { SpreadsheetComponent } from './spreadsheet/spreadsheet.component';
|
|
12
|
+
export { SpreadsheetModule } from './spreadsheet/spreadsheet.module';
|
|
13
|
+
export { SpreadsheetAllModule, ClipboardService, EditService, KeyboardNavigationService, KeyboardShortcutService, SelectionService, ContextMenuService, FormulaBarService, RibbonService, SaveService, OpenService, SheetTabsService, DataBindService, CellFormatService, NumberFormatService, FormulaService, AIAssistService } from './spreadsheet/spreadsheet-all.module';
|
|
14
|
+
export * from '@syncfusion/ej2-spreadsheet';
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ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Directive, ContentChildren, ContentChild } from '@angular/core';
|
|
2
|
+
import { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import { ImagesDirective } from './image.directive';
|
|
4
|
+
import { ChartsDirective } from './chart.directive';
|
|
5
|
+
import { RichTextsDirective } from './richtext.directive';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
let input = ['chart', 'colSpan', 'comment', 'format', 'formula', 'hyperlink', 'image', 'index', 'isLocked', 'isReadOnly', 'notes', 'richText', 'rowSpan', 'style', 'validation', 'value', 'wrap'];
|
|
8
|
+
let outputs = [];
|
|
9
|
+
/**
|
|
10
|
+
* `e-cell` directive represent a cell of the Angular Spreadsheet.
|
|
11
|
+
* It must be contained in a `e-row` directive.
|
|
12
|
+
* ```html
|
|
13
|
+
* <ejs-spreadsheet>
|
|
14
|
+
* <e-sheets>
|
|
15
|
+
* <e-sheet>
|
|
16
|
+
* <e-rows>
|
|
17
|
+
* <e-row>
|
|
18
|
+
* <e-cells>
|
|
19
|
+
* <e-cell value='A1'></e-cell>
|
|
20
|
+
* </e-cells>
|
|
21
|
+
* </e-row>
|
|
22
|
+
* </e-rows>
|
|
23
|
+
* </e-sheet>
|
|
24
|
+
* </e-sheets>
|
|
25
|
+
* </ejs-spreadsheet>
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export class CellDirective extends ComplexBase {
|
|
29
|
+
constructor(viewContainerRef) {
|
|
30
|
+
super();
|
|
31
|
+
this.viewContainerRef = viewContainerRef;
|
|
32
|
+
this.tags = ['image', 'chart', 'richText'];
|
|
33
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
34
|
+
this.registerEvents(outputs);
|
|
35
|
+
this.directivePropList = input;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
CellDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CellDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
+
CellDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: CellDirective, selector: "e-cells>e-cell", inputs: { chart: "chart", colSpan: "colSpan", comment: "comment", format: "format", formula: "formula", hyperlink: "hyperlink", image: "image", index: "index", isLocked: "isLocked", isReadOnly: "isReadOnly", notes: "notes", richText: "richText", rowSpan: "rowSpan", style: "style", validation: "validation", value: "value", wrap: "wrap" }, queries: [{ propertyName: "childImage", first: true, predicate: ImagesDirective, descendants: true }, { propertyName: "childChart", first: true, predicate: ChartsDirective, descendants: true }, { propertyName: "childRichText", first: true, predicate: RichTextsDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CellDirective, decorators: [{
|
|
41
|
+
type: Directive,
|
|
42
|
+
args: [{
|
|
43
|
+
selector: 'e-cells>e-cell',
|
|
44
|
+
inputs: input,
|
|
45
|
+
outputs: outputs,
|
|
46
|
+
queries: {
|
|
47
|
+
childImage: new ContentChild(ImagesDirective),
|
|
48
|
+
childChart: new ContentChild(ChartsDirective),
|
|
49
|
+
childRichText: new ContentChild(RichTextsDirective)
|
|
50
|
+
}
|
|
51
|
+
}]
|
|
52
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
53
|
+
/**
|
|
54
|
+
* Cell Array Directive
|
|
55
|
+
* @private
|
|
56
|
+
*/
|
|
57
|
+
export class CellsDirective extends ArrayBase {
|
|
58
|
+
constructor() {
|
|
59
|
+
super('cells');
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
CellsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CellsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
63
|
+
CellsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: CellsDirective, selector: "e-row>e-cells", queries: [{ propertyName: "children", predicate: CellDirective }], usesInheritance: true, ngImport: i0 });
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CellsDirective, decorators: [{
|
|
65
|
+
type: Directive,
|
|
66
|
+
args: [{
|
|
67
|
+
selector: 'e-row>e-cells',
|
|
68
|
+
queries: {
|
|
69
|
+
children: new ContentChildren(CellDirective)
|
|
70
|
+
},
|
|
71
|
+
}]
|
|
72
|
+
}], ctorParameters: function () { return []; } });
|
|
73
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2VsbHMuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3NwcmVhZHNoZWV0L2NlbGxzLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFvQixlQUFlLEVBQUUsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNGLE9BQU8sRUFBRSxXQUFXLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBRWhGLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNwRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDcEQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7O0FBRTFELElBQUksS0FBSyxHQUFhLENBQUMsT0FBTyxFQUFFLFNBQVMsRUFBRSxTQUFTLEVBQUUsUUFBUSxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsT0FBTyxFQUFFLE9BQU8sRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFFLE9BQU8sR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C8qKiBcbiAgICAgKiBXcmFwcyB0aGUgY2VsbCB0ZXh0IHRvIHRoZSBuZXh0IGxpbmUsIGlmIHRoZSB0ZXh0IHdpZHRoIGV4Y2VlZHMgdGhlIGNvbHVtbiB3aWR0aC5cbiAgICAgKiBAZGVmYXVsdCBmYWxzZVxuICAgICAqL1xuICAgIHB1YmxpYyB3cmFwOiBhbnk7XG5cbiAgICBjb25zdHJ1Y3Rvcihwcml2YXRlIHZpZXdDb250YWluZXJSZWY6Vmlld0NvbnRhaW5lclJlZikge1xuICAgICAgICBzdXBlcigpO1xuICAgICAgICBzZXRWYWx1ZSgnY3VycmVudEluc3RhbmNlJywgdGhpcywgdGhpcy52aWV3Q29udGFpbmVyUmVmKTtcbiAgICAgICAgdGhpcy5yZWdpc3RlckV2ZW50cyhvdXRwdXRzKTtcbiAgICAgICAgdGhpcy5kaXJlY3RpdmVQcm9wTGlzdCA9IGlucHV0O1xuICAgIH1cbn1cblxuLyoqXG4gKiBDZWxsIEFycmF5IERpcmVjdGl2ZVxuICogQHByaXZhdGVcbiAqL1xuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICdlLXJvdz5lLWNlbGxzJyxcbiAgICBxdWVyaWVzOiB7XG4gICAgICAgIGNoaWxkcmVuOiBuZXcgQ29udGVudENoaWxkcmVuKENlbGxEaXJlY3RpdmUpXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgQ2VsbHNEaXJlY3RpdmUgZXh0ZW5kcyBBcnJheUJhc2U8Q2VsbHNEaXJlY3RpdmU+IHtcbiAgICBjb25zdHJ1Y3RvcigpIHtcbiAgICAgICAgc3VwZXIoJ2NlbGxzJyk7XG4gICAgfVxufSJdfQ==
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Directive, ContentChildren } from '@angular/core';
|
|
2
|
+
import { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
let input = ['dataLabelSettings', 'height', 'id', 'isSeriesInRows', 'legendSettings', 'markerSettings', 'primaryXAxis', 'primaryYAxis', 'range', 'theme', 'title', 'type', 'width'];
|
|
5
|
+
let outputs = [];
|
|
6
|
+
export class ChartDirective extends ComplexBase {
|
|
7
|
+
constructor(viewContainerRef) {
|
|
8
|
+
super();
|
|
9
|
+
this.viewContainerRef = viewContainerRef;
|
|
10
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
11
|
+
this.registerEvents(outputs);
|
|
12
|
+
this.directivePropList = input;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
ChartDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ChartDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
+
ChartDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ChartDirective, selector: "e-charts>e-chart", inputs: { dataLabelSettings: "dataLabelSettings", height: "height", id: "id", isSeriesInRows: "isSeriesInRows", legendSettings: "legendSettings", markerSettings: "markerSettings", primaryXAxis: "primaryXAxis", primaryYAxis: "primaryYAxis", range: "range", theme: "theme", title: "title", type: "type", width: "width" }, usesInheritance: true, ngImport: i0 });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ChartDirective, decorators: [{
|
|
18
|
+
type: Directive,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: 'e-charts>e-chart',
|
|
21
|
+
inputs: input,
|
|
22
|
+
outputs: outputs,
|
|
23
|
+
queries: {}
|
|
24
|
+
}]
|
|
25
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
26
|
+
/**
|
|
27
|
+
* Chart Array Directive
|
|
28
|
+
* @private
|
|
29
|
+
*/
|
|
30
|
+
export class ChartsDirective extends ArrayBase {
|
|
31
|
+
constructor() {
|
|
32
|
+
super('chart');
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
ChartsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ChartsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
36
|
+
ChartsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ChartsDirective, selector: "e-cell>e-charts", queries: [{ propertyName: "children", predicate: ChartDirective }], usesInheritance: true, ngImport: i0 });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ChartsDirective, decorators: [{
|
|
38
|
+
type: Directive,
|
|
39
|
+
args: [{
|
|
40
|
+
selector: 'e-cell>e-charts',
|
|
41
|
+
queries: {
|
|
42
|
+
children: new ContentChildren(ChartDirective)
|
|
43
|
+
},
|
|
44
|
+
}]
|
|
45
|
+
}], ctorParameters: function () { return []; } });
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3NwcmVhZHNoZWV0L2NoYXJ0LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFvQixlQUFlLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0UsT0FBTyxFQUFFLFdBQVcsRUFBRSxTQUFTLEVBQUUsUUFBUSxFQUFFLE1BQU0sOEJBQThCLENBQUM7O0FBSWhGLElBQUksS0FBSyxHQUFhLENBQUMsbUJBQW1CLEVBQUUsUUFBUSxFQUFFLElBQUksRUFBRSxnQkFBZ0IsRUFBRSxnQkFBZ0IsRUFBRSxnQkFBZ0IsRUFBRSxjQUFjLEVBQUUsY0FBYyxFQUFFLE9BQU8s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3J0IGNsYXNzIENoYXJ0c0RpcmVjdGl2ZSBleHRlbmRzIEFycmF5QmFzZTxDaGFydHNEaXJlY3RpdmU+IHtcbiAgICBjb25zdHJ1Y3RvcigpIHtcbiAgICAgICAgc3VwZXIoJ2NoYXJ0Jyk7XG4gICAgfVxufSJdfQ==
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Directive, ContentChildren } from '@angular/core';
|
|
2
|
+
import { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
let input = ['customWidth', 'format', 'hidden', 'index', 'isLocked', 'isReadOnly', 'validation', 'width'];
|
|
5
|
+
let outputs = [];
|
|
6
|
+
/**
|
|
7
|
+
* `e-column` directive represent a column of the Angular Spreadsheet.
|
|
8
|
+
* It must be contained in a `e-sheet` directive.
|
|
9
|
+
* ```html
|
|
10
|
+
* <ejs-spreadsheet>
|
|
11
|
+
* <e-sheets>
|
|
12
|
+
* <e-sheet>
|
|
13
|
+
* <e-columns>
|
|
14
|
+
* <e-column width='100'></e-column>
|
|
15
|
+
* </e-columns>
|
|
16
|
+
* </e-sheet>
|
|
17
|
+
* </e-sheets>
|
|
18
|
+
* </ejs-spreadsheet>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export class ColumnDirective extends ComplexBase {
|
|
22
|
+
constructor(viewContainerRef) {
|
|
23
|
+
super();
|
|
24
|
+
this.viewContainerRef = viewContainerRef;
|
|
25
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
26
|
+
this.registerEvents(outputs);
|
|
27
|
+
this.directivePropList = input;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
ColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
31
|
+
ColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ColumnDirective, selector: "e-columns>e-column", inputs: { customWidth: "customWidth", format: "format", hidden: "hidden", index: "index", isLocked: "isLocked", isReadOnly: "isReadOnly", validation: "validation", width: "width" }, usesInheritance: true, ngImport: i0 });
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnDirective, decorators: [{
|
|
33
|
+
type: Directive,
|
|
34
|
+
args: [{
|
|
35
|
+
selector: 'e-columns>e-column',
|
|
36
|
+
inputs: input,
|
|
37
|
+
outputs: outputs,
|
|
38
|
+
queries: {}
|
|
39
|
+
}]
|
|
40
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
41
|
+
/**
|
|
42
|
+
* Column Array Directive
|
|
43
|
+
* @private
|
|
44
|
+
*/
|
|
45
|
+
export class ColumnsDirective extends ArrayBase {
|
|
46
|
+
constructor() {
|
|
47
|
+
super('columns');
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
ColumnsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
51
|
+
ColumnsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ColumnsDirective, selector: "e-sheet>e-columns", queries: [{ propertyName: "children", predicate: ColumnDirective }], usesInheritance: true, ngImport: i0 });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnsDirective, decorators: [{
|
|
53
|
+
type: Directive,
|
|
54
|
+
args: [{
|
|
55
|
+
selector: 'e-sheet>e-columns',
|
|
56
|
+
queries: {
|
|
57
|
+
children: new ContentChildren(ColumnDirective)
|
|
58
|
+
},
|
|
59
|
+
}]
|
|
60
|
+
}], ctorParameters: function () { return []; } });
|
|
61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ycmVudEluc3RhbmNlJywgdGhpcywgdGhpcy52aWV3Q29udGFpbmVyUmVmKTtcbiAgICAgICAgdGhpcy5yZWdpc3RlckV2ZW50cyhvdXRwdXRzKTtcbiAgICAgICAgdGhpcy5kaXJlY3RpdmVQcm9wTGlzdCA9IGlucHV0O1xuICAgIH1cbn1cblxuLyoqXG4gKiBDb2x1bW4gQXJyYXkgRGlyZWN0aXZlXG4gKiBAcHJpdmF0ZVxuICovXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ2Utc2hlZXQ+ZS1jb2x1bW5zJyxcbiAgICBxdWVyaWVzOiB7XG4gICAgICAgIGNoaWxkcmVuOiBuZXcgQ29udGVudENoaWxkcmVuKENvbHVtbkRpcmVjdGl2ZSlcbiAgICB9LFxufSlcbmV4cG9ydCBjbGFzcyBDb2x1bW5zRGlyZWN0aXZlIGV4dGVuZHMgQXJyYXlCYXNlPENvbHVtbnNEaXJlY3RpdmU+IHtcbiAgICBjb25zdHJ1Y3RvcigpIHtcbiAgICAgICAgc3VwZXIoJ2NvbHVtbnMnKTtcbiAgICB9XG59Il19
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Directive, ContentChildren } from '@angular/core';
|
|
2
|
+
import { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
let input = ['cFColor', 'format', 'range', 'type', 'value'];
|
|
5
|
+
let outputs = [];
|
|
6
|
+
/**
|
|
7
|
+
* `e-conditionalformat` directive represent a conditionalformat of the Angular Spreadsheet.
|
|
8
|
+
* It must be contained in a `e-sheet` directive.
|
|
9
|
+
* ```html
|
|
10
|
+
* <ejs-spreadsheet>
|
|
11
|
+
* <e-sheets>
|
|
12
|
+
* <e-sheet>
|
|
13
|
+
* <e-conditionalformats>
|
|
14
|
+
* <e-conditionalformat></e-conditionalformat>
|
|
15
|
+
* </e-conditionalformats>
|
|
16
|
+
* </e-sheet>
|
|
17
|
+
* </e-sheets>
|
|
18
|
+
* </ejs-spreadsheet>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export class ConditionalFormatDirective extends ComplexBase {
|
|
22
|
+
constructor(viewContainerRef) {
|
|
23
|
+
super();
|
|
24
|
+
this.viewContainerRef = viewContainerRef;
|
|
25
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
26
|
+
this.registerEvents(outputs);
|
|
27
|
+
this.directivePropList = input;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
ConditionalFormatDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ConditionalFormatDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
31
|
+
ConditionalFormatDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ConditionalFormatDirective, selector: "e-conditionalformats>e-conditionalformat", inputs: { cFColor: "cFColor", format: "format", range: "range", type: "type", value: "value" }, usesInheritance: true, ngImport: i0 });
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ConditionalFormatDirective, decorators: [{
|
|
33
|
+
type: Directive,
|
|
34
|
+
args: [{
|
|
35
|
+
selector: 'e-conditionalformats>e-conditionalformat',
|
|
36
|
+
inputs: input,
|
|
37
|
+
outputs: outputs,
|
|
38
|
+
queries: {}
|
|
39
|
+
}]
|
|
40
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
41
|
+
/**
|
|
42
|
+
* ConditionalFormat Array Directive
|
|
43
|
+
* @private
|
|
44
|
+
*/
|
|
45
|
+
export class ConditionalFormatsDirective extends ArrayBase {
|
|
46
|
+
constructor() {
|
|
47
|
+
super('conditionalformats');
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
ConditionalFormatsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ConditionalFormatsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
51
|
+
ConditionalFormatsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ConditionalFormatsDirective, selector: "e-sheet>e-conditionalformats", queries: [{ propertyName: "children", predicate: ConditionalFormatDirective }], usesInheritance: true, ngImport: i0 });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ConditionalFormatsDirective, decorators: [{
|
|
53
|
+
type: Directive,
|
|
54
|
+
args: [{
|
|
55
|
+
selector: 'e-sheet>e-conditionalformats',
|
|
56
|
+
queries: {
|
|
57
|
+
children: new ContentChildren(ConditionalFormatDirective)
|
|
58
|
+
},
|
|
59
|
+
}]
|
|
60
|
+
}], ctorParameters: function () { return []; } });
|
|
61
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZGl0aW9uYWxmb3JtYXRzLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zcHJlYWRzaGVldC9jb25kaXRpb25hbGZvcm1hdHMuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQW9CLGVBQWUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM3RSxPQUFPLEVBQUUsV0FBVyxFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQzs7QUFJaEYsSUFBSSxLQUFLLEdBQWEsQ0FBQyxTQUFTLEVBQUUsUUFBUSxFQUFFLE9BQU8sRUFBRSxNQUFNLEVBQUUsT0FBTyxDQUFDLENBQUM7QUFDdEUsSUFBSSxPQUFPLEdBQWEsRUFBRSxDQUFDO0FBQzNCO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ucmVnaXN0ZXJFdmVudHMob3V0cHV0cyk7XG4gICAgICAgIHRoaXMuZGlyZWN0aXZlUHJvcExpc3QgPSBpbnB1dDtcbiAgICB9XG59XG5cbi8qKlxuICogQ29uZGl0aW9uYWxGb3JtYXQgQXJyYXkgRGlyZWN0aXZlXG4gKiBAcHJpdmF0ZVxuICovXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ2Utc2hlZXQ+ZS1jb25kaXRpb25hbGZvcm1hdHMnLFxuICAgIHF1ZXJpZXM6IHtcbiAgICAgICAgY2hpbGRyZW46IG5ldyBDb250ZW50Q2hpbGRyZW4oQ29uZGl0aW9uYWxGb3JtYXREaXJlY3RpdmUpXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgQ29uZGl0aW9uYWxGb3JtYXRzRGlyZWN0aXZlIGV4dGVuZHMgQXJyYXlCYXNlPENvbmRpdGlvbmFsRm9ybWF0c0RpcmVjdGl2ZT4ge1xuICAgIGNvbnN0cnVjdG9yKCkge1xuICAgICAgICBzdXBlcignY29uZGl0aW9uYWxmb3JtYXRzJyk7XG4gICAgfVxufSJdfQ==
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Directive, ContentChildren } from '@angular/core';
|
|
2
|
+
import { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
let input = ['comment', 'name', 'refersTo', 'scope'];
|
|
5
|
+
let outputs = [];
|
|
6
|
+
/**
|
|
7
|
+
* `e-definedname` directive represent a defined name of the Angular Spreadsheet.
|
|
8
|
+
* It must be contained in a Spreadsheet component(`ejs-spreadsheet`).
|
|
9
|
+
* ```html
|
|
10
|
+
* <ejs-spreadsheet>
|
|
11
|
+
* <e-definednames>
|
|
12
|
+
* <e-definedname></e-definedname>
|
|
13
|
+
* <e-definedname></e-definedname>
|
|
14
|
+
* </e-definednames>
|
|
15
|
+
* </ejs-spreadsheet>
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export class DefinedNameDirective extends ComplexBase {
|
|
19
|
+
constructor(viewContainerRef) {
|
|
20
|
+
super();
|
|
21
|
+
this.viewContainerRef = viewContainerRef;
|
|
22
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
23
|
+
this.registerEvents(outputs);
|
|
24
|
+
this.directivePropList = input;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
DefinedNameDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DefinedNameDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
+
DefinedNameDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: DefinedNameDirective, selector: "e-definednames>e-definedname", inputs: { comment: "comment", name: "name", refersTo: "refersTo", scope: "scope" }, usesInheritance: true, ngImport: i0 });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DefinedNameDirective, decorators: [{
|
|
30
|
+
type: Directive,
|
|
31
|
+
args: [{
|
|
32
|
+
selector: 'e-definednames>e-definedname',
|
|
33
|
+
inputs: input,
|
|
34
|
+
outputs: outputs,
|
|
35
|
+
queries: {}
|
|
36
|
+
}]
|
|
37
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
38
|
+
/**
|
|
39
|
+
* DefinedName Array Directive
|
|
40
|
+
* @private
|
|
41
|
+
*/
|
|
42
|
+
export class DefinedNamesDirective extends ArrayBase {
|
|
43
|
+
constructor() {
|
|
44
|
+
super('definednames');
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
DefinedNamesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DefinedNamesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
48
|
+
DefinedNamesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: DefinedNamesDirective, selector: "ejs-spreadsheet>e-definednames", queries: [{ propertyName: "children", predicate: DefinedNameDirective }], usesInheritance: true, ngImport: i0 });
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DefinedNamesDirective, decorators: [{
|
|
50
|
+
type: Directive,
|
|
51
|
+
args: [{
|
|
52
|
+
selector: 'ejs-spreadsheet>e-definednames',
|
|
53
|
+
queries: {
|
|
54
|
+
children: new ContentChildren(DefinedNameDirective)
|
|
55
|
+
},
|
|
56
|
+
}]
|
|
57
|
+
}], ctorParameters: function () { return []; } });
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5lZG5hbWVzLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zcHJlYWRzaGVldC9kZWZpbmVkbmFtZXMuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQW9CLGVBQWUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM3RSxPQUFPLEVBQUUsV0FBVyxFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQzs7QUFJaEYsSUFBSSxLQUFLLEdBQWEsQ0FBQyxTQUFTLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxPQUFPLENBQUMsQ0FBQztBQUMvRCxJQUFJLE9BQU8sR0FBYSxFQUFFLENBQUM7QUFDM0I7Ozs7Ozs7Ozs7O0dBV0c7QUFTSCxNQUFNLE9BQU8sb0JBQXFCLFNBQVEsV0FBaUM7SUE2QnZFLFlBQW9CLGdCQUFpQztRQUNqRCxLQUFLLEVBQUUsQ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