@syncfusion/ej2-vue-pivotview 20.3.59 → 20.4.38
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 +49 -0
- package/README.md +149 -36
- package/dist/ej2-vue-pivotview.umd.min.js +2 -2
- package/dist/ej2-vue-pivotview.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-pivotview.es2015.js +5 -5
- package/dist/es6/ej2-vue-pivotview.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-pivotview.es5.js +5 -5
- package/dist/es6/ej2-vue-pivotview.es5.js.map +1 -1
- package/dist/global/ej2-vue-pivotview.min.js +2 -2
- package/package.json +55 -13
- package/src/pivotview/pivotview.component.d.ts +2 -2
- package/src/pivotview/pivotview.component.js +5 -5
- package/styles/bootstrap-dark.css +15 -4
- package/styles/bootstrap.css +16 -5
- package/styles/bootstrap4.css +24 -7
- package/styles/bootstrap5-dark.css +23 -10
- package/styles/bootstrap5.css +23 -10
- package/styles/fabric-dark.css +39 -8
- package/styles/fabric.css +42 -8
- package/styles/fluent-dark.css +44 -20
- package/styles/fluent.css +44 -20
- package/styles/highcontrast-light.css +29 -6
- package/styles/highcontrast.css +29 -6
- package/styles/material-dark.css +19 -4
- package/styles/material.css +25 -4
- package/styles/pivotfieldlist/bootstrap-dark.css +8 -2
- package/styles/pivotfieldlist/bootstrap.css +9 -3
- package/styles/pivotfieldlist/bootstrap4.css +9 -3
- package/styles/pivotfieldlist/bootstrap5-dark.css +15 -3
- package/styles/pivotfieldlist/bootstrap5.css +15 -3
- package/styles/pivotfieldlist/fabric-dark.css +19 -4
- package/styles/pivotfieldlist/fabric.css +19 -4
- package/styles/pivotfieldlist/fluent-dark.css +19 -7
- package/styles/pivotfieldlist/fluent.css +19 -7
- package/styles/pivotfieldlist/highcontrast-light.css +19 -4
- package/styles/pivotfieldlist/highcontrast.css +19 -4
- package/styles/pivotfieldlist/material-dark.css +12 -2
- package/styles/pivotfieldlist/material.css +12 -2
- package/styles/pivotfieldlist/tailwind-dark.css +15 -3
- package/styles/pivotfieldlist/tailwind.css +15 -3
- package/styles/pivotview/bootstrap-dark.css +7 -2
- package/styles/pivotview/bootstrap.css +7 -2
- package/styles/pivotview/bootstrap4.css +15 -4
- package/styles/pivotview/bootstrap5-dark.css +8 -7
- package/styles/pivotview/bootstrap5.css +8 -7
- package/styles/pivotview/fabric-dark.css +20 -4
- package/styles/pivotview/fabric.css +23 -4
- package/styles/pivotview/fluent-dark.css +25 -13
- package/styles/pivotview/fluent.css +25 -13
- package/styles/pivotview/highcontrast-light.css +10 -2
- package/styles/pivotview/highcontrast.css +10 -2
- package/styles/pivotview/material-dark.css +7 -2
- package/styles/pivotview/material.css +13 -2
- package/styles/pivotview/tailwind-dark.css +12 -10
- package/styles/pivotview/tailwind.css +12 -10
- package/styles/tailwind-dark.css +27 -13
- package/styles/tailwind.css +27 -13
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,55 @@
|
|
|
6
6
|
|
|
7
7
|
#### Bug Fixes
|
|
8
8
|
|
|
9
|
+
- `#I423050` - Filter state will now be properly maintained in the member editor.
|
|
10
|
+
- `#I420253` - When virtual scrolling is enabled, the pivot table will now scroll properly.
|
|
11
|
+
- Number formatting is now applied properly to row and column headers in the pivot table.
|
|
12
|
+
|
|
13
|
+
#### New Features
|
|
14
|
+
|
|
15
|
+
- `#I347303`, `#I400764`, `#F172939` - Provided support for displaying row and column sub-totals at the top or bottom of the header group in the pivot table.
|
|
16
|
+
- `#I310709`, `#I346859` - Provided support to display pivot chart's series for multiple measures on a single y-axis.
|
|
17
|
+
- `#I398184` - The pivot table now supports customising the size of PDF document while exporting.
|
|
18
|
+
- `#I305545` - The pivot table now allows you to export both the table and the chart to a single PDF document.
|
|
19
|
+
|
|
20
|
+
#### Breaking Changes
|
|
21
|
+
|
|
22
|
+
- The `chartSettings.showMemberSeries` property is deprecated and will no longer to be used. Use `chartSettings.showPointColorByMembers` to achieve the same.
|
|
23
|
+
|
|
24
|
+
| Previous | Now |
|
|
25
|
+
|---|---|
|
|
26
|
+
| showMemberSeries | showPointColorByMembers |
|
|
27
|
+
|
|
28
|
+
- The `chartExport` method parameters for the pivot table have now been changed.
|
|
29
|
+
|
|
30
|
+
**Previous**
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
| Parameter | Type | Description |
|
|
34
|
+
|---|---|---|
|
|
35
|
+
| type | ExportType | Defines the export type. |
|
|
36
|
+
| fileName | string | Defines file name of export document. |
|
|
37
|
+
| orientation | PdfPageOrientation | Defines the page orientation on pdf export(0 for Portrait mode, 1 for Landscape mode). |
|
|
38
|
+
| width | number | Defines width of the export document. |
|
|
39
|
+
| height | number | Defines width of the export document. |
|
|
40
|
+
|
|
41
|
+
**Now**
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
| Parameter | Type | Description |
|
|
45
|
+
|---|---|---|
|
|
46
|
+
| type | ExportType | Defines the export type. |
|
|
47
|
+
| pdfExportProperties | PdfExportProperties | Allows to define the chart's export properties such as file name, orientation, width and height. |
|
|
48
|
+
| isMultipleExport | boolean | Allows to export multiple tables and charts into a single PDF document. |
|
|
49
|
+
| pdfDoc | Object | Allows the export of an external PDF document along with current PDF document. |
|
|
50
|
+
| isBlob | boolean | Allows the PDF document to be saved as blob data. |
|
|
51
|
+
|
|
52
|
+
## 20.3.59 (2022-11-29)
|
|
53
|
+
|
|
54
|
+
### Pivot Table
|
|
55
|
+
|
|
56
|
+
#### Bug Fixes
|
|
57
|
+
|
|
9
58
|
- `#I405590` - The pivot table will now properly refresh while performing value sorting with the grouping bar and autofit enabled.
|
|
10
59
|
- `#I420612` - The pivot table will now be rendered properly while switching between reports in the toolbar.
|
|
11
60
|
- `#F420612` - The pivot table's alphanumeric sorting will now works properly.
|
package/README.md
CHANGED
|
@@ -1,61 +1,174 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Vue Pivot Table Component
|
|
2
2
|
|
|
3
|
-
The pivot
|
|
3
|
+
The [Vue Pivot Table](https://www.syncfusion.com/vue-components/vue-pivot-table?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm) is a multi-dimensional data visualization component built on top of relational and OLAP data sources. The pivot report can be managed dynamically at runtime, along with other features such as graphical visualization (Pivot Chart), drill down/up, aggregation, filtering, sorting, grouping, conditional formatting, drill through, editing, hyperlink, and more. The large amounts of data are effectively handled by virtualization or paging support.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://ej2.syncfusion.com/vue/documentation/pivotview/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm">Getting started</a> .
|
|
7
|
+
<a href="https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#/bootstrap5/pivot-table/default.html">Online demos</a> .
|
|
8
|
+
<a href="https://www.syncfusion.com/vue-components/vue-pivot-table?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm">Learn more</a>
|
|
9
|
+
</p>
|
|
6
10
|
|
|
7
|
-
>
|
|
8
|
-
|
|
11
|
+
<p align="center">
|
|
12
|
+
<img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/vue/vue-pivot-table.png" alt="Vue Pivot Table Component" />
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
Trusted by the world's leading companies
|
|
17
|
+
<a href="https://www.syncfusion.com">
|
|
18
|
+
<img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/syncfusion/syncfusion-trusted-companies.webp" alt="Bootstrap logo">
|
|
19
|
+
</a>
|
|
20
|
+
</p>
|
|
9
21
|
|
|
10
22
|
## Setup
|
|
11
23
|
|
|
12
|
-
|
|
24
|
+
### Create a Vue Application
|
|
25
|
+
|
|
26
|
+
You can use [`Vue CLI`](https://github.com/vuejs/vue-cli) to setup your Vue 2 applications. To install Vue CLI, use the following command.
|
|
13
27
|
|
|
14
|
-
```
|
|
15
|
-
npm install @
|
|
28
|
+
```bash
|
|
29
|
+
npm install -g @vue/cli
|
|
30
|
+
vue create quickstart
|
|
31
|
+
cd quickstart
|
|
32
|
+
npm run serve
|
|
16
33
|
```
|
|
34
|
+
Initiating a new project prompts us to choose the type of project to be used for the current application. Select the option `Default ([Vue 2] babel, eslint)` from the menu.
|
|
17
35
|
|
|
18
|
-
|
|
36
|
+
### Add Syncfusion Pivot Table package
|
|
19
37
|
|
|
20
|
-
|
|
21
|
-
* [View Online Demos](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=pivot-grid#/material/pivot-view/default.html)
|
|
22
|
-
* [Product Page](https://www.syncfusion.com/vue-ui-components/pivot-table)
|
|
38
|
+
All Syncfusion Vue packages are published in [npmjs.com](https://www.npmjs.com/~syncfusionorg) registry. To install Vue Pivot Table package, use the following command.
|
|
23
39
|
|
|
24
|
-
|
|
40
|
+
```bash
|
|
41
|
+
npm install @syncfusion/ej2-vue-pivotview --save
|
|
42
|
+
```
|
|
25
43
|
|
|
26
|
-
|
|
44
|
+
### Register Pivot Table Component
|
|
27
45
|
|
|
28
|
-
|
|
29
|
-
2. [React](https://www.syncfusion.com/react-ui-components/pivot-table)
|
|
30
|
-
3. [ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls/pivot-table)
|
|
31
|
-
4. [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls/pivot-table)
|
|
32
|
-
5. [JavaScript (ES5)](https://www.syncfusion.com/javascript-ui-controls/pivot-table)
|
|
46
|
+
You can register the Pivot Table component in your application by using the **Vue.use()**. Refer to the code example given below.
|
|
33
47
|
|
|
34
|
-
|
|
48
|
+
```typescript
|
|
49
|
+
import { PivotViewPlugin } from "@syncfusion/ej2-vue-pivotview";
|
|
35
50
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
* [**Sorting**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=pivot-grid#/material/pivot-view/sorting) - Both member and value sorting are supported. It’s allows user to order fields and values (column) either in ascending or descending order respectively.
|
|
39
|
-
* [**Field List & Grouping Bar**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=pivot-grid#/material/pivot-view/grouping-bar) - Supports UI interaction at runtime to dynamically change the report along with sorting, filtering and remove options.
|
|
40
|
-
* [**Aggregation**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=pivot-grid#/material/pivot-view/aggregation) - Provides built in aggregation types like sum, average, min, max and count.
|
|
41
|
-
* [**Calculated Field**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=pivot-grid#/material/pivot-view/calculated-field) - Users can add new value field(s) to the report dynamically using this option.
|
|
42
|
-
* **Adaptive Rendering** - Adapts with optimal user interfaces for mobile and desktop form-factors, thus helping the user’s application to scale elegantly across all the form-factors without any additional effort.
|
|
43
|
-
* [**Exporting**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=pivot-grid#/material/pivot-view/exporting) - Provides the option to exporting records to Excel, CSV and PDF formats.
|
|
51
|
+
Vue.use(PivotViewPlugin);
|
|
52
|
+
```
|
|
44
53
|
|
|
45
|
-
|
|
54
|
+
> Registering **PivotViewPlugin** in Vue, will register the Pivot Table component along with its required child directives globally.
|
|
55
|
+
|
|
56
|
+
### Add CSS references for Pivot Table
|
|
57
|
+
|
|
58
|
+
Add CSS references needed for Pivot Table in **style** section of the **App.vue** file from **../node_modules/@syncfusion** package folder.
|
|
59
|
+
|
|
60
|
+
```html
|
|
61
|
+
<style>
|
|
62
|
+
@import '../node_modules/@syncfusion/ej2-base/styles/material.css';
|
|
63
|
+
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';
|
|
64
|
+
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';
|
|
65
|
+
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
|
|
66
|
+
@import '../node_modules/@syncfusion/ej2-lists/styles/material.css';
|
|
67
|
+
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
|
|
68
|
+
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
|
|
69
|
+
@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';
|
|
70
|
+
@import '../node_modules/@syncfusion/ej2-grids/styles/material.css';
|
|
71
|
+
@import '../node_modules/@syncfusion/ej2-pivotview/styles/material.css';
|
|
72
|
+
</style>
|
|
73
|
+
```
|
|
46
74
|
|
|
47
|
-
|
|
75
|
+
## Add Pivot Table Component
|
|
76
|
+
|
|
77
|
+
Add the Vue Pivot Table by using **ejs-pivotview** selector in **template** section of the **App.vue** file.
|
|
78
|
+
|
|
79
|
+
```html
|
|
80
|
+
<template>
|
|
81
|
+
<ejs-pivotview :height="height" :dataSourceSettings="dataSourceSettings"></ejs-pivotview>
|
|
82
|
+
</template>
|
|
83
|
+
|
|
84
|
+
<script>
|
|
85
|
+
import Vue from "vue";
|
|
86
|
+
import { PivotViewPlugin } from "@syncfusion/ej2-vue-pivotview";
|
|
87
|
+
Vue.use(PivotViewPlugin);
|
|
88
|
+
export default {
|
|
89
|
+
data: () => {
|
|
90
|
+
return {
|
|
91
|
+
dataSourceSettings: {
|
|
92
|
+
expandAll: false,
|
|
93
|
+
filters: [],
|
|
94
|
+
dataSource: [
|
|
95
|
+
{ 'Sold': 31, 'Amount': 52824, 'Country': 'France', 'Products': 'Mountain Bikes', 'Year': 'FY 2015', 'Quarter': 'Q1' },
|
|
96
|
+
{ 'Sold': 51, 'Amount': 86904, 'Country': 'France', 'Products': 'Mountain Bikes', 'Year': 'FY 2015', 'Quarter': 'Q2' },
|
|
97
|
+
{ 'Sold': 90, 'Amount': 153360, 'Country': 'France', 'Products': 'Mountain Bikes', 'Year': 'FY 2015', 'Quarter': 'Q3' },
|
|
98
|
+
{ 'Sold': 25, 'Amount': 42600, 'Country': 'France', 'Products': 'Mountain Bikes', 'Year': 'FY 2015', 'Quarter': 'Q4' },
|
|
99
|
+
{ 'Sold': 27, 'Amount': 46008, 'Country': 'France', 'Products': 'Mountain Bikes', 'Year': 'FY 2016', 'Quarter': 'Q1' }
|
|
100
|
+
],
|
|
101
|
+
rows: [{ name: 'Country' }, { name: 'Products' }],
|
|
102
|
+
columns: [{ name: 'Year', caption: 'Production Year' }, { name: 'Quarter' }],
|
|
103
|
+
values: [{ name: 'Sold', caption: 'Units Sold' }, { name: 'Amount', caption: 'Sold Amount' }],
|
|
104
|
+
formatSettings: [{ name: 'Amount', format: 'C0' }]
|
|
105
|
+
},
|
|
106
|
+
height: '350px'
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
</script>
|
|
111
|
+
<style>
|
|
112
|
+
@import '../node_modules/@syncfusion/ej2-base/styles/material.css';
|
|
113
|
+
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';
|
|
114
|
+
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';
|
|
115
|
+
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
|
|
116
|
+
@import '../node_modules/@syncfusion/ej2-lists/styles/material.css';
|
|
117
|
+
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
|
|
118
|
+
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
|
|
119
|
+
@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';
|
|
120
|
+
@import '../node_modules/@syncfusion/ej2-grids/styles/material.css';
|
|
121
|
+
@import '../node_modules/@syncfusion/ej2-pivotview/styles/material.css';
|
|
122
|
+
</style>
|
|
123
|
+
```
|
|
124
|
+
> Refer the [Getting Started with Vue3](https://ej2.syncfusion.com/vue/documentation/pivotview/getting-started-vue-3/) topic for using Syncfusion Vue components in Vue 3 applications.
|
|
125
|
+
|
|
126
|
+
## Supported frameworks
|
|
127
|
+
|
|
128
|
+
Pivot Table component is also offered in the following list of frameworks.
|
|
129
|
+
|
|
130
|
+
| [<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/angular.svg" height="50" />](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)<br/> [Angular](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github) | [<img src="https://ej2.syncfusion.com/github/images/react.svg" height="50" />](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)<br/> [React](https://www.syncfusion.com/react-ui-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) |
|
|
131
|
+
| :-----: | :-----: | :-----: | :-----: | :-----: |
|
|
132
|
+
|
|
133
|
+
## Key features
|
|
134
|
+
|
|
135
|
+
* [Data sources](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#/material/pivot-table/local.html): Binds the Pivot Table component with an array of JSON objects, CSV files, and web services. It also supports multi-dimensional data sources, such as OLAP.
|
|
136
|
+
* [Pivot chart](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#/material/pivot-table/pivot-chart.html): Allows user to visualize the pivot data graphically with 20+ chart types.
|
|
137
|
+
* [Drill down](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#/material/pivot-table/Drill-Down.html): Provides option to view the bound data in both detailed and abstract view.
|
|
138
|
+
* [Filtering](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#/material/pivot-table/filtering.html): Allows user to view only specific/desired records in the component.
|
|
139
|
+
* [Sorting](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#/material/pivot-table/sorting.html): Both member and value sorting are supported. It’s allows user to order fields and values (column) either in ascending or descending order respectively.
|
|
140
|
+
* [Field list and grouping bar](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#/material/pivot-table/grouping-bar.html): Supports UI interaction at runtime to dynamically change the report along with sorting, filtering and remove options.
|
|
141
|
+
* [Aggregation](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#/material/pivot-table/aggregation.html): Provides built-in aggregation types such as sum, count, product, average, min, max, and more.
|
|
142
|
+
* [Calculated field](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#/material/pivot-table/calculated-field.html): Users can add new value field(s) to the report dynamically using this option.
|
|
143
|
+
* [Grouping](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#/material/pivot-table/grouping.html): Allows you to automatically group date, time, number, and string data based on group interval.
|
|
144
|
+
* [Virtual scrolling and paging](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#/material/pivot-table/paging.html): Provides the option to display large amounts of data page by page, using either virtual scrolling or pager UI.
|
|
145
|
+
* [Drill through and editing](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#/material/pivot-table/editing.html): Provides the ability to perform CRUD operations such as creating, reading, updating, and deleting raw data at runtime via an interactive UI.
|
|
146
|
+
* [Toolbar](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#/material/pivot-table/toolbar.html): Provides the option to access frequently used features like switching between pivot table and pivot chart, changing chart types, conditional formatting, exporting, and so on.
|
|
147
|
+
* [Templates](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#/material/pivot-table/cell-template.html): Templates can be used to create custom user experiences in the pivot table.
|
|
148
|
+
* [Export](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#/material/pivot-table/exporting.html): Data can be exported to Excel, CSV, and PDF formats.
|
|
149
|
+
* [Right-to-left (RTL)](https://ej2.syncfusion.com/vue/documentation/pivotview/globalization-and-localization/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#right-to-left-rtl): Aligns content in the Pivot Table component from right to left.
|
|
150
|
+
* [Globalization](https://ej2.syncfusion.com/vue/documentation/pivotview/globalization-and-localization/?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm#globalization): Personalize the Pivot Table component with different languages, as well as culture-specific date and number formatting.
|
|
48
151
|
|
|
49
|
-
|
|
50
|
-
* New [GitHub issue](https://github.com/syncfusion/ej2-vue-ui-components/issues/new).
|
|
51
|
-
* Ask your query in Stack Overflow with tag `syncfusion`, `ej2`.
|
|
152
|
+
## Support
|
|
52
153
|
|
|
53
|
-
|
|
154
|
+
Product support is available through the following mediums.
|
|
54
155
|
|
|
55
|
-
|
|
156
|
+
* [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
|
|
157
|
+
* [Community forum](https://www.syncfusion.com/forums/vue?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm)
|
|
158
|
+
* [GitHub issues](https://github.com/syncfusion/ej2-vue-ui-components/issues/new)
|
|
159
|
+
* [Request feature or report bug](https://www.syncfusion.com/feedback/vue?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm)
|
|
160
|
+
* Live chat
|
|
56
161
|
|
|
57
162
|
## Changelog
|
|
58
163
|
|
|
59
|
-
Check the changelog [here](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/components/pivotview/CHANGELOG.md?utm_source=npm&utm_campaign=pivot-
|
|
164
|
+
Check the changelog [here](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/components/pivotview/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
|
|
165
|
+
|
|
166
|
+
## License and copyright
|
|
167
|
+
|
|
168
|
+
> This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [Vue UI components](https://www.syncfusion.com/vue-components), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
|
|
169
|
+
|
|
170
|
+
> 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.
|
|
171
|
+
|
|
172
|
+
See [LICENSE FILE](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=vue-pivot-table-npm) for more info.
|
|
60
173
|
|
|
61
174
|
© Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-pivotview.umd.min.js
|
|
3
|
-
* version : 20.
|
|
3
|
+
* version : 20.4.38
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-pivotview"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-pivotview","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Pivotview,e.ej2VueBase,e.ej2Base)}(this,function(e,t,o,n){"use strict";var r=function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},a=["isLazyUpdate","plugins","aggregateTypes","allowCalculatedField","allowConditionalFormatting","allowDataCompression","allowDeferLayoutUpdate","allowDrillThrough","allowExcelExport","allowGrouping","allowNumberFormatting","allowPdfExport","cellTemplate","chartSettings","chartTypes","cssClass","
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-pivotview"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-pivotview","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Pivotview,e.ej2VueBase,e.ej2Base)}(this,function(e,t,o,n){"use strict";var r=function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},a=["isLazyUpdate","plugins","aggregateTypes","allowCalculatedField","allowConditionalFormatting","allowDataCompression","allowDeferLayoutUpdate","allowDrillThrough","allowExcelExport","allowGrouping","allowNumberFormatting","allowPdfExport","cellTemplate","chartSettings","chartTypes","cssClass","dataSourceSettings","displayOption","editSettings","enableFieldSearching","enableHtmlSanitizer","enablePaging","enablePersistence","enableRtl","enableValueSorting","enableVirtualization","exportAllPages","gridSettings","groupingBarSettings","height","hyperlinkSettings","loadOnDemandInMemberEditor","locale","maxNodeLimitInMemberEditor","maxRowsInDrillThrough","pageSettings","pagerSettings","pivotValues","showFieldList","showGroupingBar","showToolbar","showTooltip","showValuesButton","spinnerTemplate","toolbar","toolbarTemplate","tooltipTemplate","width","actionBegin","actionComplete","actionFailure","aggregateCellInfo","aggregateMenuOpen","beforeExport","beforeServiceInvoke","beginDrillThrough","calculatedFieldCreate","cellClick","cellSelected","cellSelecting","chartSeriesCreated","conditionalFormatting","created","dataBound","destroyed","drill","drillThrough","editCompleted","enginePopulated","enginePopulating","exportComplete","fetchReport","fieldDragStart","fieldDrop","fieldListRefreshed","fieldRemove","hyperlinkCellClick","load","loadReport","memberEditorOpen","memberFiltering","newReport","numberFormatting","onFieldDropped","onHeadersSort","onPdfCellRender","removeReport","renameReport","saveReport","toolbarClick","toolbarRender"],s=[],l=function(e){function l(){var o=e.call(this,arguments)||this;return o.propKeys=a,o.models=s,o.hasChildDirective=!1,o.hasInjectedModules=!0,o.tagMapper={},o.tagNameMapper={},o.ej2Instances=new t.PivotView({}),o.bindProperties(),o.ej2Instances._setProperties=o.ej2Instances.setProperties,o.ej2Instances.setProperties=o.setProperties,o.ej2Instances.clearTemplate=o.clearTemplate,o.updated=o.updated,o}return r(l,e),l.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,o=e;t<o.length;t++){var r=o[t],i=this.templateCollection[r];if(i&&i.length){for(var a=0,s=i;a<s.length;a++){var l=s[a];n.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[r]}}},l.prototype.setProperties=function(e,t){var o=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){o.models.map(function(n){t!==n||/datasource/i.test(t)||o.$emit("update:"+t,e[t])})})},l.prototype.render=function(e){return e("div",this.$slots.default)},l.prototype.custom=function(){this.updated()},l.prototype.chartExport=function(e,t,o,n,r){return this.ej2Instances.chartExport(e,t,o,n,r)},l.prototype.createCalculatedFieldDialog=function(){return this.ej2Instances.createCalculatedFieldDialog()},l.prototype.csvExport=function(e,t,o,n){return this.ej2Instances.csvExport(e,t,o,n)},l.prototype.excelExport=function(e,t,o,n){return this.ej2Instances.excelExport(e,t,o,n)},l.prototype.getCellTemplate=function(){return this.ej2Instances.getCellTemplate()},l.prototype.getRowText=function(e,t){return this.ej2Instances.getRowText(e,t)},l.prototype.loadPersistData=function(e){return this.ej2Instances.loadPersistData(e)},l.prototype.pdfExport=function(e,t,o,n,r){return this.ej2Instances.pdfExport(e,t,o,n,r)},l.prototype.printChart=function(){return this.ej2Instances.printChart()},l.prototype.refresh=function(){return this.ej2Instances.refresh()},l.prototype.showConditionalFormattingDialog=function(){return this.ej2Instances.showConditionalFormattingDialog()},l.prototype.showNumberFormattingDialog=function(){return this.ej2Instances.showNumberFormattingDialog()},l.prototype.templateParser=function(e){return this.ej2Instances.templateParser(e)},l=i([o.EJComponentDecorator({props:a})],l)}(o.ComponentBase),p={name:"ejs-pivotview",install:function(e){e.component(p.name,l)}},c=function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),u=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},d=["isLazyUpdate","plugins","aggregateTypes","allowCalculatedField","allowDeferLayoutUpdate","cssClass","currencyCode","dataSourceSettings","enableFieldSearching","enablePersistence","enableRtl","loadOnDemandInMemberEditor","locale","maxNodeLimitInMemberEditor","renderMode","showValuesButton","spinnerTemplate","target","actionBegin","actionComplete","actionFailure","aggregateCellInfo","aggregateMenuOpen","beforeServiceInvoke","calculatedFieldCreate","created","dataBound","destroyed","enginePopulated","enginePopulating","fieldDragStart","fieldDrop","fieldRemove","load","memberEditorOpen","memberFiltering","onFieldDropped","onHeadersSort"],f=[],h=function(e){function r(){var o=e.call(this,arguments)||this;return o.propKeys=d,o.models=f,o.hasChildDirective=!1,o.hasInjectedModules=!0,o.tagMapper={},o.tagNameMapper={},o.ej2Instances=new t.PivotFieldList({}),o.bindProperties(),o.ej2Instances._setProperties=o.ej2Instances.setProperties,o.ej2Instances.setProperties=o.setProperties,o.ej2Instances.clearTemplate=o.clearTemplate,o.updated=o.updated,o}return c(r,e),r.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,o=e;t<o.length;t++){var r=o[t],i=this.templateCollection[r];if(i&&i.length){for(var a=0,s=i;a<s.length;a++){var l=s[a];n.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[r]}}},r.prototype.setProperties=function(e,t){var o=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){o.models.map(function(n){t!==n||/datasource/i.test(t)||o.$emit("update:"+t,e[t])})})},r.prototype.render=function(e){return e("div",this.$slots.default)},r.prototype.custom=function(){this.updated()},r.prototype.update=function(e){return this.ej2Instances.update(e)},r.prototype.updateView=function(e){return this.ej2Instances.updateView(e)},r=u([o.EJComponentDecorator({props:d})],r)}(o.ComponentBase),g={name:"ejs-pivotfieldlist",install:function(e){e.component(g.name,h)}};e.PivotViewComponent=l,e.PivotViewPlugin=p,e.PivotFieldListComponent=h,e.PivotFieldListPlugin=g,Object.keys(t).forEach(function(o){e[o]=t[o]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
11
11
|
//# sourceMappingURL=ej2-vue-pivotview.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-vue-pivotview.umd.min.js","sources":["../vue2/src/pivotview/pivotview.component.js","../vue2/src/pivotfieldlist/pivotfieldlist.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { getValue } from '@syncfusion/ej2-base';\nimport { PivotView } from '@syncfusion/ej2-pivotview';\nexport var properties = ['isLazyUpdate', 'plugins', 'aggregateTypes', 'allowCalculatedField', 'allowConditionalFormatting', 'allowDataCompression', 'allowDeferLayoutUpdate', 'allowDrillThrough', 'allowExcelExport', 'allowGrouping', 'allowNumberFormatting', 'allowPdfExport', 'cellTemplate', 'chartSettings', 'chartTypes', 'cssClass', 'currencyCode', 'dataSourceSettings', 'displayOption', 'editSettings', 'enableFieldSearching', 'enableHtmlSanitizer', 'enablePaging', 'enablePersistence', 'enableRtl', 'enableValueSorting', 'enableVirtualization', 'exportAllPages', 'gridSettings', 'groupingBarSettings', 'height', 'hyperlinkSettings', 'loadOnDemandInMemberEditor', 'locale', 'maxNodeLimitInMemberEditor', 'maxRowsInDrillThrough', 'pageSettings', 'pagerSettings', 'pivotValues', 'showFieldList', 'showGroupingBar', 'showToolbar', 'showTooltip', 'showValuesButton', 'spinnerTemplate', 'toolbar', 'toolbarTemplate', 'tooltipTemplate', 'width', 'actionBegin', 'actionComplete', 'actionFailure', 'aggregateCellInfo', 'aggregateMenuOpen', 'beforeExport', 'beforeServiceInvoke', 'beginDrillThrough', 'calculatedFieldCreate', 'cellClick', 'cellSelected', 'cellSelecting', 'chartSeriesCreated', 'conditionalFormatting', 'created', 'dataBound', 'destroyed', 'drill', 'drillThrough', 'editCompleted', 'enginePopulated', 'enginePopulating', 'exportComplete', 'fetchReport', 'fieldDragStart', 'fieldDrop', 'fieldListRefreshed', 'fieldRemove', 'hyperlinkCellClick', 'load', 'loadReport', 'memberEditorOpen', 'memberFiltering', 'newReport', 'numberFormatting', 'onFieldDropped', 'onHeadersSort', 'onPdfCellRender', 'removeReport', 'renameReport', 'saveReport', 'toolbarClick', 'toolbarRender'];\nexport var modelProps = [];\n/**\n * `ejs-pivotview` represents the VueJS PivotView Component.\n * ```vue\n * <ejs-pivotview></ejs-pivotview>\n * ```\n */\nvar PivotViewComponent = /** @class */ (function (_super) {\n __extends(PivotViewComponent, _super);\n function PivotViewComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new PivotView({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n PivotViewComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n PivotViewComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n PivotViewComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n PivotViewComponent.prototype.custom = function () {\n this.updated();\n };\n PivotViewComponent.prototype.chartExport = function (type, fileName, orientation, width, height) {\n return this.ej2Instances.chartExport(type, fileName, orientation, width, height);\n };\n PivotViewComponent.prototype.createCalculatedFieldDialog = function () {\n return this.ej2Instances.createCalculatedFieldDialog();\n };\n PivotViewComponent.prototype.csvExport = function (excelExportProperties, isMultipleExport, workbook, isBlob) {\n return this.ej2Instances.csvExport(excelExportProperties, isMultipleExport, workbook, isBlob);\n };\n PivotViewComponent.prototype.excelExport = function (excelExportProperties, isMultipleExport, workbook, isBlob) {\n return this.ej2Instances.excelExport(excelExportProperties, isMultipleExport, workbook, isBlob);\n };\n PivotViewComponent.prototype.getCellTemplate = function () {\n return this.ej2Instances.getCellTemplate();\n };\n PivotViewComponent.prototype.getRowText = function (rowIndex, colIndex) {\n return this.ej2Instances.getRowText(rowIndex, colIndex);\n };\n PivotViewComponent.prototype.loadPersistData = function (persistData) {\n return this.ej2Instances.loadPersistData(persistData);\n };\n PivotViewComponent.prototype.pdfExport = function (pdfExportProperties, isMultipleExport, pdfDoc, isBlob) {\n return this.ej2Instances.pdfExport(pdfExportProperties, isMultipleExport, pdfDoc, isBlob);\n };\n PivotViewComponent.prototype.printChart = function () {\n return this.ej2Instances.printChart();\n };\n PivotViewComponent.prototype.refresh = function () {\n return this.ej2Instances.refresh();\n };\n PivotViewComponent.prototype.showConditionalFormattingDialog = function () {\n return this.ej2Instances.showConditionalFormattingDialog();\n };\n PivotViewComponent.prototype.showNumberFormattingDialog = function () {\n return this.ej2Instances.showNumberFormattingDialog();\n };\n PivotViewComponent.prototype.templateParser = function (template) {\n return this.ej2Instances.templateParser(template);\n };\n PivotViewComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], PivotViewComponent);\n return PivotViewComponent;\n}(ComponentBase));\nexport { PivotViewComponent };\nexport var PivotViewPlugin = {\n name: 'ejs-pivotview',\n install: function (Vue) {\n Vue.component(PivotViewPlugin.name, PivotViewComponent);\n }\n};\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { getValue } from '@syncfusion/ej2-base';\nimport { PivotFieldList } from '@syncfusion/ej2-pivotview';\nexport var properties = ['isLazyUpdate', 'plugins', 'aggregateTypes', 'allowCalculatedField', 'allowDeferLayoutUpdate', 'cssClass', 'currencyCode', 'dataSourceSettings', 'enableFieldSearching', 'enablePersistence', 'enableRtl', 'loadOnDemandInMemberEditor', 'locale', 'maxNodeLimitInMemberEditor', 'renderMode', 'showValuesButton', 'spinnerTemplate', 'target', 'actionBegin', 'actionComplete', 'actionFailure', 'aggregateCellInfo', 'aggregateMenuOpen', 'beforeServiceInvoke', 'calculatedFieldCreate', 'created', 'dataBound', 'destroyed', 'enginePopulated', 'enginePopulating', 'fieldDragStart', 'fieldDrop', 'fieldRemove', 'load', 'memberEditorOpen', 'memberFiltering', 'onFieldDropped', 'onHeadersSort'];\nexport var modelProps = [];\n/**\n * `ejs-pivotfieldlist` represents the VueJS PivotFieldList Component.\n * ```vue\n * <ejs-pivotfieldlist></ejs-pivotfieldlist>\n * ```\n */\nvar PivotFieldListComponent = /** @class */ (function (_super) {\n __extends(PivotFieldListComponent, _super);\n function PivotFieldListComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new PivotFieldList({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n PivotFieldListComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n PivotFieldListComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n PivotFieldListComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n PivotFieldListComponent.prototype.custom = function () {\n this.updated();\n };\n PivotFieldListComponent.prototype.update = function (control) {\n return this.ej2Instances.update(control);\n };\n PivotFieldListComponent.prototype.updateView = function (control) {\n return this.ej2Instances.updateView(control);\n };\n PivotFieldListComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], PivotFieldListComponent);\n return PivotFieldListComponent;\n}(ComponentBase));\nexport { PivotFieldListComponent };\nexport var PivotFieldListPlugin = {\n name: 'ejs-pivotfieldlist',\n install: function (Vue) {\n Vue.component(PivotFieldListPlugin.name, PivotFieldListComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","PivotViewComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","ej2Instances","PivotView","bindProperties","_setProperties","setProperties","clearTemplate","updated","templateNames","keys","templateCollection","_i","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","map","model","test","$emit","render","createElement","$slots","default","custom","chartExport","type","fileName","orientation","width","height","createCalculatedFieldDialog","csvExport","excelExportProperties","isMultipleExport","workbook","isBlob","excelExport","getCellTemplate","getRowText","rowIndex","colIndex","loadPersistData","persistData","pdfExport","pdfExportProperties","pdfDoc","printChart","refresh","showConditionalFormattingDialog","showNumberFormattingDialog","templateParser","template","EJComponentDecorator","props","ComponentBase","PivotViewPlugin","name","install","Vue","component","PivotFieldListComponent","PivotFieldList","update","control","updateView","PivotFieldListPlugin"],"mappings":"wZAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,G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QAAS,SAAUC,GACfA,EAAIC,UAAUM,EAAqBT,KAAMI"}
|
|
1
|
+
{"version":3,"file":"ej2-vue-pivotview.umd.min.js","sources":["../vue2/src/pivotview/pivotview.component.js","../vue2/src/pivotfieldlist/pivotfieldlist.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { getValue } from '@syncfusion/ej2-base';\nimport { PivotView } from '@syncfusion/ej2-pivotview';\nexport var properties = ['isLazyUpdate', 'plugins', 'aggregateTypes', 'allowCalculatedField', 'allowConditionalFormatting', 'allowDataCompression', 'allowDeferLayoutUpdate', 'allowDrillThrough', 'allowExcelExport', 'allowGrouping', 'allowNumberFormatting', 'allowPdfExport', 'cellTemplate', 'chartSettings', 'chartTypes', 'cssClass', 'dataSourceSettings', 'displayOption', 'editSettings', 'enableFieldSearching', 'enableHtmlSanitizer', 'enablePaging', 'enablePersistence', 'enableRtl', 'enableValueSorting', 'enableVirtualization', 'exportAllPages', 'gridSettings', 'groupingBarSettings', 'height', 'hyperlinkSettings', 'loadOnDemandInMemberEditor', 'locale', 'maxNodeLimitInMemberEditor', 'maxRowsInDrillThrough', 'pageSettings', 'pagerSettings', 'pivotValues', 'showFieldList', 'showGroupingBar', 'showToolbar', 'showTooltip', 'showValuesButton', 'spinnerTemplate', 'toolbar', 'toolbarTemplate', 'tooltipTemplate', 'width', 'actionBegin', 'actionComplete', 'actionFailure', 'aggregateCellInfo', 'aggregateMenuOpen', 'beforeExport', 'beforeServiceInvoke', 'beginDrillThrough', 'calculatedFieldCreate', 'cellClick', 'cellSelected', 'cellSelecting', 'chartSeriesCreated', 'conditionalFormatting', 'created', 'dataBound', 'destroyed', 'drill', 'drillThrough', 'editCompleted', 'enginePopulated', 'enginePopulating', 'exportComplete', 'fetchReport', 'fieldDragStart', 'fieldDrop', 'fieldListRefreshed', 'fieldRemove', 'hyperlinkCellClick', 'load', 'loadReport', 'memberEditorOpen', 'memberFiltering', 'newReport', 'numberFormatting', 'onFieldDropped', 'onHeadersSort', 'onPdfCellRender', 'removeReport', 'renameReport', 'saveReport', 'toolbarClick', 'toolbarRender'];\nexport var modelProps = [];\n/**\n * `ejs-pivotview` represents the VueJS PivotView Component.\n * ```vue\n * <ejs-pivotview></ejs-pivotview>\n * ```\n */\nvar PivotViewComponent = /** @class */ (function (_super) {\n __extends(PivotViewComponent, _super);\n function PivotViewComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new PivotView({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n PivotViewComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n PivotViewComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n PivotViewComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n PivotViewComponent.prototype.custom = function () {\n this.updated();\n };\n PivotViewComponent.prototype.chartExport = function (type, pdfExportProperties, isMultipleExport, pdfDoc, isBlob) {\n return this.ej2Instances.chartExport(type, pdfExportProperties, isMultipleExport, pdfDoc, isBlob);\n };\n PivotViewComponent.prototype.createCalculatedFieldDialog = function () {\n return this.ej2Instances.createCalculatedFieldDialog();\n };\n PivotViewComponent.prototype.csvExport = function (excelExportProperties, isMultipleExport, workbook, isBlob) {\n return this.ej2Instances.csvExport(excelExportProperties, isMultipleExport, workbook, isBlob);\n };\n PivotViewComponent.prototype.excelExport = function (excelExportProperties, isMultipleExport, workbook, isBlob) {\n return this.ej2Instances.excelExport(excelExportProperties, isMultipleExport, workbook, isBlob);\n };\n PivotViewComponent.prototype.getCellTemplate = function () {\n return this.ej2Instances.getCellTemplate();\n };\n PivotViewComponent.prototype.getRowText = function (rowIndex, colIndex) {\n return this.ej2Instances.getRowText(rowIndex, colIndex);\n };\n PivotViewComponent.prototype.loadPersistData = function (persistData) {\n return this.ej2Instances.loadPersistData(persistData);\n };\n PivotViewComponent.prototype.pdfExport = function (pdfExportProperties, isMultipleExport, pdfDoc, isBlob, exportBothTableAndChart) {\n return this.ej2Instances.pdfExport(pdfExportProperties, isMultipleExport, pdfDoc, isBlob, exportBothTableAndChart);\n };\n PivotViewComponent.prototype.printChart = function () {\n return this.ej2Instances.printChart();\n };\n PivotViewComponent.prototype.refresh = function () {\n return this.ej2Instances.refresh();\n };\n PivotViewComponent.prototype.showConditionalFormattingDialog = function () {\n return this.ej2Instances.showConditionalFormattingDialog();\n };\n PivotViewComponent.prototype.showNumberFormattingDialog = function () {\n return this.ej2Instances.showNumberFormattingDialog();\n };\n PivotViewComponent.prototype.templateParser = function (template) {\n return this.ej2Instances.templateParser(template);\n };\n PivotViewComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], PivotViewComponent);\n return PivotViewComponent;\n}(ComponentBase));\nexport { PivotViewComponent };\nexport var PivotViewPlugin = {\n name: 'ejs-pivotview',\n install: function (Vue) {\n Vue.component(PivotViewPlugin.name, PivotViewComponent);\n }\n};\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { getValue } from '@syncfusion/ej2-base';\nimport { PivotFieldList } from '@syncfusion/ej2-pivotview';\nexport var properties = ['isLazyUpdate', 'plugins', 'aggregateTypes', 'allowCalculatedField', 'allowDeferLayoutUpdate', 'cssClass', 'currencyCode', 'dataSourceSettings', 'enableFieldSearching', 'enablePersistence', 'enableRtl', 'loadOnDemandInMemberEditor', 'locale', 'maxNodeLimitInMemberEditor', 'renderMode', 'showValuesButton', 'spinnerTemplate', 'target', 'actionBegin', 'actionComplete', 'actionFailure', 'aggregateCellInfo', 'aggregateMenuOpen', 'beforeServiceInvoke', 'calculatedFieldCreate', 'created', 'dataBound', 'destroyed', 'enginePopulated', 'enginePopulating', 'fieldDragStart', 'fieldDrop', 'fieldRemove', 'load', 'memberEditorOpen', 'memberFiltering', 'onFieldDropped', 'onHeadersSort'];\nexport var modelProps = [];\n/**\n * `ejs-pivotfieldlist` represents the VueJS PivotFieldList Component.\n * ```vue\n * <ejs-pivotfieldlist></ejs-pivotfieldlist>\n * ```\n */\nvar PivotFieldListComponent = /** @class */ (function (_super) {\n __extends(PivotFieldListComponent, _super);\n function PivotFieldListComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new PivotFieldList({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n PivotFieldListComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n PivotFieldListComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n PivotFieldListComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n PivotFieldListComponent.prototype.custom = function () {\n this.updated();\n };\n PivotFieldListComponent.prototype.update = function (control) {\n return this.ej2Instances.update(control);\n };\n PivotFieldListComponent.prototype.updateView = function (control) {\n return this.ej2Instances.updateView(control);\n };\n PivotFieldListComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], PivotFieldListComponent);\n return PivotFieldListComponent;\n}(ComponentBase));\nexport { PivotFieldListComponent };\nexport var PivotFieldListPlugin = {\n name: 'ejs-pivotfieldlist',\n install: function (Vue) {\n Vue.component(PivotFieldListPlugin.name, PivotFieldListComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","PivotViewComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","ej2Instances","PivotView","bindProperties","_setProperties","setProperties","clearTemplate","updated","templateNames","keys","templateCollection","_i","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","map","model","test","$emit","render","createElement","$slots","default","custom","chartExport","type","pdfExportProperties","isMultipleExport","pdfDoc","isBlob","createCalculatedFieldDialog","csvExport","excelExportProperties","workbook","excelExport","getCellTemplate","getRowText","rowIndex","colIndex","loadPersistData","persistData","pdfExport","exportBothTableAndChart","printChart","refresh","showConditionalFormattingDialog","showNumberFormattingDialog","templateParser","template","EJComponentDecorator","props","ComponentBase","PivotViewPlugin","name","install","Vue","component","PivotFieldListComponent","PivotFieldList","update","control","updateView","PivotFieldListPlugin"],"mappings":"wZAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAaxCK,EAA0C,SAAUC,EAAYC,EAAQC,EAAKC,GAC7E,IAA2HjB,EAAvHkB,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOf,OAAOoB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GA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8B,aAAaG,eAAekB,EAAMC,GAEvCD,GAAQnD,KAAKyB,QAAUzB,KAAKyB,OAAOd,QACnClB,OAAO6C,KAAKa,GAAME,IAAI,SAAU9C,GAC5Be,EAAMG,OAAO4B,IAAI,SAAUC,GAClB/C,IAAQ+C,GAAY,cAAcC,KAAKhD,IACxCe,EAAMkC,MAAM,UAAYjD,EAAK4C,EAAK5C,SAMtDwF,EAAwB7F,UAAUuD,OAAS,SAAUC,GACjD,OAAOA,EAAc,MAAO1D,KAAK2D,OAAOC,UAE5CmC,EAAwB7F,UAAU2D,OAAS,WACvC7D,KAAKoC,WAET2D,EAAwB7F,UAAU+F,OAAS,SAAUC,GACjD,OAAOlG,KAAK8B,aAAamE,OAAOC,IAEpCH,EAAwB7F,UAAUiG,WAAa,SAAUD,GACrD,OAAOlG,KAAK8B,aAAaqE,WAAWD,IAExCH,EAA0B3F,GACtBmF,wBACIC,MAAOtE,KAEZ6E,IAELN,iBAESW,GACPT,KAAM,qBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUM,EAAqBT,KAAMI"}
|
|
@@ -9,7 +9,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
9
9
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10
10
|
};
|
|
11
11
|
// {{VueImport}}
|
|
12
|
-
const properties = ['isLazyUpdate', 'plugins', 'aggregateTypes', 'allowCalculatedField', 'allowConditionalFormatting', 'allowDataCompression', 'allowDeferLayoutUpdate', 'allowDrillThrough', 'allowExcelExport', 'allowGrouping', 'allowNumberFormatting', 'allowPdfExport', 'cellTemplate', 'chartSettings', 'chartTypes', 'cssClass', '
|
|
12
|
+
const properties = ['isLazyUpdate', 'plugins', 'aggregateTypes', 'allowCalculatedField', 'allowConditionalFormatting', 'allowDataCompression', 'allowDeferLayoutUpdate', 'allowDrillThrough', 'allowExcelExport', 'allowGrouping', 'allowNumberFormatting', 'allowPdfExport', 'cellTemplate', 'chartSettings', 'chartTypes', 'cssClass', 'dataSourceSettings', 'displayOption', 'editSettings', 'enableFieldSearching', 'enableHtmlSanitizer', 'enablePaging', 'enablePersistence', 'enableRtl', 'enableValueSorting', 'enableVirtualization', 'exportAllPages', 'gridSettings', 'groupingBarSettings', 'height', 'hyperlinkSettings', 'loadOnDemandInMemberEditor', 'locale', 'maxNodeLimitInMemberEditor', 'maxRowsInDrillThrough', 'pageSettings', 'pagerSettings', 'pivotValues', 'showFieldList', 'showGroupingBar', 'showToolbar', 'showTooltip', 'showValuesButton', 'spinnerTemplate', 'toolbar', 'toolbarTemplate', 'tooltipTemplate', 'width', 'actionBegin', 'actionComplete', 'actionFailure', 'aggregateCellInfo', 'aggregateMenuOpen', 'beforeExport', 'beforeServiceInvoke', 'beginDrillThrough', 'calculatedFieldCreate', 'cellClick', 'cellSelected', 'cellSelecting', 'chartSeriesCreated', 'conditionalFormatting', 'created', 'dataBound', 'destroyed', 'drill', 'drillThrough', 'editCompleted', 'enginePopulated', 'enginePopulating', 'exportComplete', 'fetchReport', 'fieldDragStart', 'fieldDrop', 'fieldListRefreshed', 'fieldRemove', 'hyperlinkCellClick', 'load', 'loadReport', 'memberEditorOpen', 'memberFiltering', 'newReport', 'numberFormatting', 'onFieldDropped', 'onHeadersSort', 'onPdfCellRender', 'removeReport', 'renameReport', 'saveReport', 'toolbarClick', 'toolbarRender'];
|
|
13
13
|
const modelProps = [];
|
|
14
14
|
const testProp = getProps({ props: properties });
|
|
15
15
|
const props = testProp[0];
|
|
@@ -109,8 +109,8 @@ class PivotViewComponent extends ComponentBase {
|
|
|
109
109
|
custom() {
|
|
110
110
|
this.updated();
|
|
111
111
|
}
|
|
112
|
-
chartExport(type,
|
|
113
|
-
return this.ej2Instances.chartExport(type,
|
|
112
|
+
chartExport(type, pdfExportProperties, isMultipleExport, pdfDoc, isBlob) {
|
|
113
|
+
return this.ej2Instances.chartExport(type, pdfExportProperties, isMultipleExport, pdfDoc, isBlob);
|
|
114
114
|
}
|
|
115
115
|
createCalculatedFieldDialog() {
|
|
116
116
|
return this.ej2Instances.createCalculatedFieldDialog();
|
|
@@ -130,8 +130,8 @@ class PivotViewComponent extends ComponentBase {
|
|
|
130
130
|
loadPersistData(persistData) {
|
|
131
131
|
return this.ej2Instances.loadPersistData(persistData);
|
|
132
132
|
}
|
|
133
|
-
pdfExport(pdfExportProperties, isMultipleExport, pdfDoc, isBlob) {
|
|
134
|
-
return this.ej2Instances.pdfExport(pdfExportProperties, isMultipleExport, pdfDoc, isBlob);
|
|
133
|
+
pdfExport(pdfExportProperties, isMultipleExport, pdfDoc, isBlob, exportBothTableAndChart) {
|
|
134
|
+
return this.ej2Instances.pdfExport(pdfExportProperties, isMultipleExport, pdfDoc, isBlob, exportBothTableAndChart);
|
|
135
135
|
}
|
|
136
136
|
printChart() {
|
|
137
137
|
return this.ej2Instances.printChart();
|