@syncfusion/ej2-vue-pivotview 21.2.10 → 22.1.34
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 +11 -107
- 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 +6 -6
- package/dist/es6/ej2-vue-pivotview.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-pivotview.es5.js +6 -6
- package/dist/es6/ej2-vue-pivotview.es5.js.map +1 -1
- package/dist/global/ej2-vue-pivotview.min.js +2 -2
- package/package.json +8 -8
- package/src/pivotfieldlist/pivotfieldlist.component.js +1 -1
- package/src/pivotview/pivotview.component.js +5 -5
- package/styles/bootstrap-dark.css +274 -226
- package/styles/bootstrap.css +273 -226
- package/styles/bootstrap4.css +284 -285
- package/styles/bootstrap5-dark.css +272 -270
- package/styles/bootstrap5.css +272 -270
- package/styles/fabric-dark.css +264 -230
- package/styles/fabric.css +262 -233
- package/styles/fluent-dark.css +276 -263
- package/styles/fluent.css +276 -263
- package/styles/highcontrast-light.css +264 -227
- package/styles/highcontrast.css +264 -227
- package/styles/material-dark.css +271 -227
- package/styles/material.css +270 -226
- package/styles/material3-dark.css +6666 -0
- package/styles/material3-dark.scss +3 -0
- package/styles/material3.css +6777 -0
- package/styles/material3.scss +3 -0
- package/styles/pivotfieldlist/bootstrap-dark.css +149 -139
- package/styles/pivotfieldlist/bootstrap.css +148 -138
- package/styles/pivotfieldlist/bootstrap4.css +153 -146
- package/styles/pivotfieldlist/bootstrap5-dark.css +149 -150
- package/styles/pivotfieldlist/bootstrap5.css +149 -150
- package/styles/pivotfieldlist/fabric-dark.css +140 -139
- package/styles/pivotfieldlist/fabric.css +141 -140
- package/styles/pivotfieldlist/fluent-dark.css +159 -170
- package/styles/pivotfieldlist/fluent.css +159 -170
- package/styles/pivotfieldlist/highcontrast-light.css +139 -138
- package/styles/pivotfieldlist/highcontrast.css +139 -138
- package/styles/pivotfieldlist/material-dark.css +148 -142
- package/styles/pivotfieldlist/material.css +147 -141
- package/styles/pivotfieldlist/material3-dark.css +3811 -0
- package/styles/pivotfieldlist/material3-dark.scss +2 -0
- package/styles/pivotfieldlist/material3.css +3865 -0
- package/styles/pivotfieldlist/material3.scss +2 -0
- package/styles/pivotfieldlist/tailwind-dark.css +152 -163
- package/styles/pivotfieldlist/tailwind.css +152 -163
- package/styles/pivotview/bootstrap-dark.css +125 -87
- package/styles/pivotview/bootstrap.css +125 -88
- package/styles/pivotview/bootstrap4.css +131 -139
- package/styles/pivotview/bootstrap5-dark.css +123 -120
- package/styles/pivotview/bootstrap5.css +123 -120
- package/styles/pivotview/fabric-dark.css +124 -91
- package/styles/pivotview/fabric.css +121 -93
- package/styles/pivotview/fluent-dark.css +117 -93
- package/styles/pivotview/fluent.css +117 -93
- package/styles/pivotview/highcontrast-light.css +125 -89
- package/styles/pivotview/highcontrast.css +125 -89
- package/styles/pivotview/material-dark.css +123 -85
- package/styles/pivotview/material.css +123 -85
- package/styles/pivotview/material3-dark.css +2854 -0
- package/styles/pivotview/material3-dark.scss +2 -0
- package/styles/pivotview/material3.css +2912 -0
- package/styles/pivotview/material3.scss +2 -0
- package/styles/pivotview/tailwind-dark.css +123 -91
- package/styles/pivotview/tailwind.css +123 -91
- package/styles/tailwind-dark.css +275 -254
- package/styles/tailwind.css +275 -254
package/CHANGELOG.md
CHANGED
|
@@ -4,102 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
### Pivot Table
|
|
6
6
|
|
|
7
|
-
#### Bug fixes
|
|
8
|
-
|
|
9
|
-
- Member sorting using a static field list now works properly with the server-side engine.
|
|
10
|
-
|
|
11
|
-
## 21.2.9 (2023-06-06)
|
|
12
|
-
|
|
13
|
-
### Pivot Table
|
|
14
|
-
|
|
15
|
-
#### Bug fixes
|
|
16
|
-
|
|
17
|
-
- `#I464602` - The overlay for the pivot table popups is now properly displayed.
|
|
18
|
-
|
|
19
|
-
## 21.2.8 (2023-05-30)
|
|
20
|
-
|
|
21
|
-
### Pivot Table
|
|
22
|
-
|
|
23
|
-
#### Bug fixes
|
|
24
|
-
|
|
25
|
-
- The grouping option in code-behind now works properly in the pivot table with server-side engine.
|
|
26
|
-
- The member editor popup will now display properly even if the pivot table contains invalid filter members.
|
|
27
|
-
|
|
28
|
-
## 21.2.6 (2023-05-23)
|
|
29
|
-
|
|
30
|
-
### Pivot Table
|
|
31
|
-
|
|
32
|
-
#### Bug Fixes
|
|
33
|
-
|
|
34
|
-
- The pivot table with server-side engine will now works properly.
|
|
35
|
-
|
|
36
|
-
## 21.2.5 (2023-05-16)
|
|
37
|
-
|
|
38
|
-
### Pivot Table
|
|
39
|
-
|
|
40
|
-
#### Bug Fixes
|
|
41
|
-
|
|
42
|
-
- Drill down/up will now work properly for headers with comma in an OLAP data source.
|
|
43
|
-
|
|
44
|
-
## 21.2.4 (2023-05-09)
|
|
45
|
-
|
|
46
|
-
### Pivot Table
|
|
47
|
-
|
|
48
|
-
#### Bug fixes
|
|
49
|
-
|
|
50
|
-
- `#I455857` - When using the Server-side Pivot engine, the DistinctCount aggregate will now be applied properly to string values in the pivot table.
|
|
51
|
-
|
|
52
|
-
## 21.2.3 (2023-05-03)
|
|
53
|
-
|
|
54
|
-
### Pivot Table
|
|
55
|
-
|
|
56
|
-
#### Bug fixes
|
|
57
|
-
|
|
58
|
-
- `#I453038` - Drill operations now work properly while adding attribute hierarchy to the pivot table.
|
|
59
|
-
|
|
60
|
-
#### New features
|
|
61
|
-
|
|
62
|
-
- `#I398184` - Based on export properties, the pivot table will now export automatically utilizing engine export option support while using for toolbar options.
|
|
63
|
-
- `#I442424` - The field list UI now supports setting the default sort order via the `load` event.
|
|
64
|
-
- `#I436727` - While the data source is empty, the field list UI has been rendered with an empty layout.
|
|
65
|
-
|
|
66
|
-
## 21.1.41 (2023-04-18)
|
|
67
|
-
|
|
68
|
-
### Pivot Table
|
|
69
|
-
|
|
70
|
-
#### Bug fixes
|
|
71
|
-
|
|
72
|
-
- `#I454110` - Pivot Table now works properly when conditional formatting is applied without a measure.
|
|
73
|
-
|
|
74
|
-
## 21.1.39 (2023-04-11)
|
|
75
|
-
|
|
76
|
-
### Pivot Table
|
|
77
|
-
|
|
78
|
-
#### Bug fixes
|
|
79
|
-
|
|
80
|
-
- `#I450857` - When virtualization is enabled, the Pivot Table with OLAP data now exports to an Excel document properly.
|
|
81
|
-
|
|
82
|
-
## 21.1.37 (2023-03-29)
|
|
83
|
-
|
|
84
|
-
### Pivot Table
|
|
85
|
-
|
|
86
|
-
#### Breaking changes
|
|
87
|
-
|
|
88
|
-
- The property type of [`toolbar`](https://ej2.syncfusion.com/documentation/api/pivotview#toolbar) has been changed from `(ToolbarItems | ItemModel)[]` to `ToolbarItems[] | ItemModel[]`.
|
|
89
|
-
- In the server side controller, the imported namespace name has been changed from `Syncfusion.Blazor.PivotView` to `Syncfusion.EJ2.Pivot`.
|
|
90
|
-
|
|
91
|
-
#### Bug fixes
|
|
92
|
-
|
|
93
|
-
- `#I438098` - Events are now properly bound to the element that is rendered using the cell template.
|
|
94
|
-
|
|
95
|
-
## 21.1.35 (2023-03-23)
|
|
96
|
-
|
|
97
|
-
### Pivot Table
|
|
98
|
-
|
|
99
|
-
#### Bug Fixes
|
|
100
|
-
|
|
101
|
-
- `#I437267` - During initial rendering, the spinner will now be properly displayed in the pivot table.
|
|
102
|
-
|
|
103
7
|
#### New Features
|
|
104
8
|
|
|
105
9
|
- `#F165214` - Provided paging support in server side engine that allows to break and display large amounts of data page by page.
|
|
@@ -107,11 +11,11 @@
|
|
|
107
11
|
|
|
108
12
|
#### Breaking Changes
|
|
109
13
|
|
|
110
|
-
- The property type `
|
|
14
|
+
- The property type `PivotValues` has been changed from `IPivotValues` to `IAxisSet[][]`.
|
|
111
15
|
|
|
112
16
|
| Property Name | Description | Previous Type | Current Type |
|
|
113
17
|
|---|---|---|---|
|
|
114
|
-
| pivotValues | It holds the collection of cell information that has been populated from the engine on the basis of the given pivot report to render the component as table and chart. | IPivotValues | IAxisSet[][] |
|
|
18
|
+
| `pivotValues` | It holds the collection of cell information that has been populated from the engine on the basis of the given pivot report to render the component as table and chart. | `IPivotValues` | `IAxisSet[][]` |
|
|
115
19
|
|
|
116
20
|
## 20.4.38 (2022-12-21)
|
|
117
21
|
|
|
@@ -136,7 +40,7 @@
|
|
|
136
40
|
|
|
137
41
|
| Previous | Now |
|
|
138
42
|
|---|---|
|
|
139
|
-
| showMemberSeries | showPointColorByMembers |
|
|
43
|
+
| `showMemberSeries` | `showPointColorByMembers` |
|
|
140
44
|
|
|
141
45
|
- The `chartExport` method parameters for the pivot table have now been changed.
|
|
142
46
|
|
|
@@ -145,9 +49,9 @@
|
|
|
145
49
|
|
|
146
50
|
| Parameter | Type | Description |
|
|
147
51
|
|---|---|---|
|
|
148
|
-
| type | ExportType | Defines the export type. |
|
|
52
|
+
| type | `ExportType` | Defines the export type. |
|
|
149
53
|
| fileName | string | Defines file name of export document. |
|
|
150
|
-
| orientation | PdfPageOrientation | Defines the page orientation on pdf export(0 for Portrait mode, 1 for Landscape mode). |
|
|
54
|
+
| orientation | `PdfPageOrientation` | Defines the page orientation on pdf export(0 for Portrait mode, 1 for Landscape mode). |
|
|
151
55
|
| width | number | Defines width of the export document. |
|
|
152
56
|
| height | number | Defines width of the export document. |
|
|
153
57
|
|
|
@@ -156,11 +60,11 @@
|
|
|
156
60
|
|
|
157
61
|
| Parameter | Type | Description |
|
|
158
62
|
|---|---|---|
|
|
159
|
-
| type | ExportType | Defines the export type. |
|
|
160
|
-
| pdfExportProperties | PdfExportProperties | Allows to define the chart's export properties such as file name, orientation, width and height. |
|
|
161
|
-
| isMultipleExport | boolean | Allows to export multiple tables and charts into a single PDF document. |
|
|
162
|
-
| pdfDoc | Object | Allows the export of an external PDF document along with current PDF document. |
|
|
163
|
-
| isBlob | boolean | Allows the PDF document to be saved as blob data. |
|
|
63
|
+
| type | `ExportType` | Defines the export type. |
|
|
64
|
+
| `pdfExportProperties` | `PdfExportProperties` | Allows to define the chart's export properties such as file name, orientation, width and height. |
|
|
65
|
+
| `isMultipleExport` | boolean | Allows to export multiple tables and charts into a single PDF document. |
|
|
66
|
+
| `pdfDoc` | Object | Allows the export of an external PDF document along with current PDF document. |
|
|
67
|
+
| `isBlob` | boolean | Allows the PDF document to be saved as blob data. |
|
|
164
68
|
|
|
165
69
|
## 20.3.59 (2022-11-29)
|
|
166
70
|
|
|
@@ -190,7 +94,7 @@
|
|
|
190
94
|
|
|
191
95
|
#### Bug Fixes
|
|
192
96
|
|
|
193
|
-
- The drillthrough feature now works properly with alphanumeric data.
|
|
97
|
+
- The `drillthrough` feature now works properly with alphanumeric data.
|
|
194
98
|
|
|
195
99
|
## 20.3.49 (2022-10-11)
|
|
196
100
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-pivotview.umd.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 22.1.34
|
|
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,n,i){"use strict";var s=["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"],o=[],a=n.getProps({props:s}),r=a[0],l=a[1],d=Object.keys(l);d.push("modelchanged","update:modelValue");for(var c=0,u=o;c<u.length;c++){var p=u[c];d.push("update:"+p)}var h=n.vueDefineComponent({name:"PivotViewComponent",mixins:[n.ComponentBase],props:r,watch:l,emits:d,provide:function(){return{custom:this.custom}},data:function(){return{
|
|
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,n,i){"use strict";var s=["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"],o=[],a=n.getProps({props:s}),r=a[0],l=a[1],d=Object.keys(l);d.push("modelchanged","update:modelValue");for(var c=0,u=o;c<u.length;c++){var p=u[c];d.push("update:"+p)}var h=n.vueDefineComponent({name:"PivotViewComponent",mixins:[n.ComponentBase],props:r,watch:l,emits:d,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instance:new t.PivotView({}),propKeys:s,models:o,hasChildDirective:!1,hasInjectedModules:!0,tagMapper:{},tagNameMapper:{},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,s=null;return i.isNullOrUndefined(this.$slots.default)||(s=n.isExecute?this.$slots.default:this.$slots.default()),t("div",s)},methods:{clearTemplate:function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var s=n[t],o=this.templateCollection[s];if(o&&o.length){for(var a=0,r=o;a<r.length;a++){var l=r[a];i.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[s]}}},setProperties:function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(i){t!==i||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},custom:function(){this.updated()},chartExport:function(e,t,n,i,s){return this.ej2Instances.chartExport(e,t,n,i,s)},createCalculatedFieldDialog:function(){return this.ej2Instances.createCalculatedFieldDialog()},csvExport:function(e,t,n,i,s){return this.ej2Instances.csvExport(e,t,n,i,s)},excelExport:function(e,t,n,i,s){return this.ej2Instances.excelExport(e,t,n,i,s)},loadPersistData:function(e){return this.ej2Instances.loadPersistData(e)},pdfExport:function(e,t,n,i,s){return this.ej2Instances.pdfExport(e,t,n,i,s)},printChart:function(){return this.ej2Instances.printChart()},refresh:function(){return this.ej2Instances.refresh()},showConditionalFormattingDialog:function(){return this.ej2Instances.showConditionalFormattingDialog()},showNumberFormattingDialog:function(){return this.ej2Instances.showNumberFormattingDialog()}}}),m={name:"ejs-pivotview",install:function(e){e.component(m.name,h)}},g=["isLazyUpdate","plugins","aggregateTypes","allowCalculatedField","allowDeferLayoutUpdate","cssClass","currencyCode","dataSourceSettings","enableFieldSearching","enableHtmlSanitizer","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=[],v=n.getProps({props:g}),j=v[0],b=v[1],C=Object.keys(b);C.push("modelchanged","update:modelValue");for(var I=0,P=f;I<P.length;I++){var w=P[I];C.push("update:"+w)}var y=n.vueDefineComponent({name:"PivotFieldListComponent",mixins:[n.ComponentBase],props:j,watch:b,emits:C,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instance:new t.PivotFieldList({}),propKeys:g,models:f,hasChildDirective:!1,hasInjectedModules:!0,tagMapper:{},tagNameMapper:{},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,s=null;return i.isNullOrUndefined(this.$slots.default)||(s=n.isExecute?this.$slots.default:this.$slots.default()),t("div",s)},methods:{clearTemplate:function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var s=n[t],o=this.templateCollection[s];if(o&&o.length){for(var a=0,r=o;a<r.length;a++){var l=r[a];i.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[s]}}},setProperties:function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(i){t!==i||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},custom:function(){this.updated()},update:function(e){return this.ej2Instances.update(e)},updateView:function(e){return this.ej2Instances.updateView(e)}}}),x={name:"ejs-pivotfieldlist",install:function(e){e.component(x.name,y)}};e.PivotViewComponent=h,e.PivotViewPlugin=m,e.PivotFieldListComponent=y,e.PivotFieldListPlugin=x,Object.keys(t).forEach(function(n){e[n]=t[n]}),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":["../src/pivotview/pivotview.component.js","../src/pivotfieldlist/pivotfieldlist.component.js"],"sourcesContent":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, 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 = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\n/**\n * `ejs-pivotview` represents the VueJS Pivot Table Component.\n * ```vue\n * <ejs-pivotview></ejs-pivotview>\n * ```\n */\nexport var PivotViewComponent = vueDefineComponent({\n name: 'PivotViewComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new PivotView({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\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 },\n render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 setProperties: function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\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 if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n },\n custom: function () {\n this.updated();\n },\n chartExport: function (type, pdfExportProperties, isMultipleExport, pdfDoc, isBlob) {\n return this.ej2Instances.chartExport(type, pdfExportProperties, isMultipleExport, pdfDoc, isBlob);\n },\n createCalculatedFieldDialog: function () {\n return this.ej2Instances.createCalculatedFieldDialog();\n },\n csvExport: function (excelExportProperties, isMultipleExport, workbook, isBlob) {\n return this.ej2Instances.csvExport(excelExportProperties, isMultipleExport, workbook, isBlob);\n },\n excelExport: function (excelExportProperties, isMultipleExport, workbook, isBlob) {\n return this.ej2Instances.excelExport(excelExportProperties, isMultipleExport, workbook, isBlob);\n },\n loadPersistData: function (persistData) {\n return this.ej2Instances.loadPersistData(persistData);\n },\n pdfExport: function (pdfExportProperties, isMultipleExport, pdfDoc, isBlob, exportBothTableAndChart) {\n return this.ej2Instances.pdfExport(pdfExportProperties, isMultipleExport, pdfDoc, isBlob, exportBothTableAndChart);\n },\n printChart: function () {\n return this.ej2Instances.printChart();\n },\n refresh: function () {\n return this.ej2Instances.refresh();\n },\n showConditionalFormattingDialog: function () {\n return this.ej2Instances.showConditionalFormattingDialog();\n },\n showNumberFormattingDialog: function () {\n return this.ej2Instances.showNumberFormattingDialog();\n },\n }\n});\nexport var PivotViewPlugin = {\n name: 'ejs-pivotview',\n install: function (Vue) {\n Vue.component(PivotViewPlugin.name, PivotViewComponent);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { PivotFieldList } from '@syncfusion/ej2-pivotview';\nexport var properties = ['isLazyUpdate', 'plugins', 'aggregateTypes', 'allowCalculatedField', 'allowDeferLayoutUpdate', 'cssClass', 'currencyCode', 'dataSourceSettings', 'enableFieldSearching', 'enableHtmlSanitizer', '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 = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\n/**\n * `ejs-pivotfieldlist` represents the VueJS PivotFieldList Component.\n * ```vue\n * <ejs-pivotfieldlist></ejs-pivotfieldlist>\n * ```\n */\nexport var PivotFieldListComponent = vueDefineComponent({\n name: 'PivotFieldListComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new PivotFieldList({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\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 },\n render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 setProperties: function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\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 if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n },\n custom: function () {\n this.updated();\n },\n update: function (control) {\n return this.ej2Instances.update(control);\n },\n updateView: function (control) {\n return this.ej2Instances.updateView(control);\n },\n }\n});\nexport var PivotFieldListPlugin = {\n name: 'ejs-pivotfieldlist',\n install: function (Vue) {\n Vue.component(PivotFieldListPlugin.name, PivotFieldListComponent);\n }\n};\n"],"names":["properties","modelProps","testProp","getProps","props","watch","emitProbs","Object","keys","push","_i","modelProps_1","length","props_1","PivotViewComponent","vueDefineComponent","name","mixins","ComponentBase","emits","provide","custom","this","data","ej2Instances","PivotView","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","isVue3","isExecute","templateCollection","created","bindProperties","_setProperties","setProperties","clearTemplate","updated","render","createElement","h","gh","slots","isNullOrUndefined","$slots","default","methods","templateNames","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","_this","referModels","map","key","model","test","vueInstance","$emit","chartExport","type","pdfExportProperties","isMultipleExport","pdfDoc","isBlob","createCalculatedFieldDialog","csvExport","excelExportProperties","workbook","excelExport","loadPersistData","persistData","pdfExport","exportBothTableAndChart","printChart","refresh","showConditionalFormattingDialog","showNumberFormattingDialog","PivotViewPlugin","install","Vue","component","PivotFieldListComponent","PivotFieldList","update","control","updateView","PivotFieldListPlugin"],"mappings":"wZAGO,IAAIA,GAAc,eAAgB,UAAW,iBAAkB,uBAAwB,6BAA8B,uBAAwB,yBAA0B,oBAAqB,mBAAoB,gBAAiB,wBAAyB,iBAAkB,eAAgB,gBAAiB,aAAc,WAAY,qBAAsB,gBAAiB,eAAgB,uBAAwB,sBAAuB,eAAgB,oBAAqB,YAAa,qBAAsB,uBAAwB,iBAAkB,eAAgB,sBA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AMD,EAAoBD,GAChBG,WAAS,mBAAoBD,IAEvCA,EAAIE,QAAQC,WAEZH,EAAII,YACJJ,EAAII,UAAY,WAGjBtC,KAAKY,mBAAmBkB,MAK/Cd,cAAe,SAAUuB,EAAMC,GAC3B,IAAIC,EAAQzC,KACRA,KAAKU,SACLV,KAAKK,OAAUL,KAAKK,OAAyCL,KAAKK,OAArCL,KAAKE,aAAawC,aAE/C1C,KAAKE,cAAgBF,KAAKE,aAAaa,gBACvCf,KAAKE,aAAaa,eAAewB,EAAMC,GAEvCD,GAAQvC,KAAKK,QAAUL,KAAKK,OAAOf,QACnCL,OAAOC,KAAKqD,GAAMI,IAAI,SAAUC,GAC5BH,EAAMpC,OAAOsC,IAAI,SAAUE,GAClBD,IAAQC,GAAY,cAAcC,KAAKF,KACpCH,EAAM/B,OACN+B,EAAMvC,aAAa6C,YAAYC,MAAM,UAAYJ,EAAKL,EAAKK,KAG3DH,EAAMO,MAAM,UAAYJ,EAAKL,EAAKK,IAClCH,EAAMO,MAAM,eAAgBT,EAAKK,WAOzD7C,OAAQ,WACJC,KAAKkB,WAETwD,OAAQ,SAAUC,GACd,OAAO3E,KAAKE,aAAawE,OAAOC,IAEpCC,WAAY,SAAUD,GAClB,OAAO3E,KAAKE,aAAa0E,WAAWD,OAIrCE,GACPnF,KAAM,qBACN2E,QAAS,SAAUC,GACfA,EAAIC,UAAUM,EAAqBnF,KAAM8E"}
|
|
1
|
+
{"version":3,"file":"ej2-vue-pivotview.umd.min.js","sources":["../src/pivotview/pivotview.component.js","../src/pivotfieldlist/pivotfieldlist.component.js"],"sourcesContent":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, 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 = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\n/**\n * `ejs-pivotview` represents the VueJS Pivot Table Component.\n * ```vue\n * <ejs-pivotview></ejs-pivotview>\n * ```\n */\nexport var PivotViewComponent = vueDefineComponent({\n name: 'PivotViewComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instance: new PivotView({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\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 },\n render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 setProperties: function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\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 if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n },\n custom: function () {\n this.updated();\n },\n chartExport: function (type, pdfExportProperties, isMultipleExport, pdfDoc, isBlob) {\n return this.ej2Instances.chartExport(type, pdfExportProperties, isMultipleExport, pdfDoc, isBlob);\n },\n createCalculatedFieldDialog: function () {\n return this.ej2Instances.createCalculatedFieldDialog();\n },\n csvExport: function (excelExportProperties, isMultipleExport, workbook, isBlob, isServerExport) {\n return this.ej2Instances.csvExport(excelExportProperties, isMultipleExport, workbook, isBlob, isServerExport);\n },\n excelExport: function (excelExportProperties, isMultipleExport, workbook, isBlob, isServerExport) {\n return this.ej2Instances.excelExport(excelExportProperties, isMultipleExport, workbook, isBlob, isServerExport);\n },\n loadPersistData: function (persistData) {\n return this.ej2Instances.loadPersistData(persistData);\n },\n pdfExport: function (pdfExportProperties, isMultipleExport, pdfDoc, isBlob, exportBothTableAndChart) {\n return this.ej2Instances.pdfExport(pdfExportProperties, isMultipleExport, pdfDoc, isBlob, exportBothTableAndChart);\n },\n printChart: function () {\n return this.ej2Instances.printChart();\n },\n refresh: function () {\n return this.ej2Instances.refresh();\n },\n showConditionalFormattingDialog: function () {\n return this.ej2Instances.showConditionalFormattingDialog();\n },\n showNumberFormattingDialog: function () {\n return this.ej2Instances.showNumberFormattingDialog();\n },\n }\n});\nexport var PivotViewPlugin = {\n name: 'ejs-pivotview',\n install: function (Vue) {\n Vue.component(PivotViewPlugin.name, PivotViewComponent);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { PivotFieldList } from '@syncfusion/ej2-pivotview';\nexport var properties = ['isLazyUpdate', 'plugins', 'aggregateTypes', 'allowCalculatedField', 'allowDeferLayoutUpdate', 'cssClass', 'currencyCode', 'dataSourceSettings', 'enableFieldSearching', 'enableHtmlSanitizer', '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 = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\n/**\n * `ejs-pivotfieldlist` represents the VueJS PivotFieldList Component.\n * ```vue\n * <ejs-pivotfieldlist></ejs-pivotfieldlist>\n * ```\n */\nexport var PivotFieldListComponent = vueDefineComponent({\n name: 'PivotFieldListComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instance: new PivotFieldList({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\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 },\n render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 setProperties: function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\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 if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n },\n custom: function () {\n this.updated();\n },\n update: function (control) {\n return this.ej2Instances.update(control);\n },\n updateView: function (control) {\n return this.ej2Instances.updateView(control);\n },\n }\n});\nexport var PivotFieldListPlugin = {\n name: 'ejs-pivotfieldlist',\n install: function (Vue) {\n Vue.component(PivotFieldListPlugin.name, PivotFieldListComponent);\n }\n};\n"],"names":["properties","modelProps","testProp","getProps","props","watch","emitProbs","Object","keys","push","_i","modelProps_1","length","props_1","PivotViewComponent","vueDefineComponent","name","mixins","ComponentBase","emits","provide","custom","this","data","ej2Instance","PivotView","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","isVue3","isExecute","templateCollection","created","bindProperties","ej2Instances","_setProperties","setProperties","clearTemplate","updated","render","createElement","h","gh","slots","isNullOrUndefined","$slots","default","methods","templateNames","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","_this","referModels","map","key","model","test","vueInstance","$emit","chartExport","type","pdfExportProperties","isMultipleExport","pdfDoc","isBlob","createCalculatedFieldDialog","csvExport","excelExportProperties","workbook","isServerExport","excelExport","loadPersistData","persistData","pdfExport","exportBothTableAndChart","printChart","refresh","showConditionalFormattingDialog","showNumberFormattingDialog","PivotViewPlugin","install","Vue","component","PivotFieldListComponent","PivotFieldList","update","control","updateView","PivotFieldListPlugin"],"mappings":"wZAGO,IAAIA,GAAc,eAAgB,UAAW,iBAAkB,uBAAwB,6BAA8B,uBAAwB,yBAA0B,oBAAqB,mBAAoB,gBAAiB,wBAAyB,iBAAkB,eAAgB,gBAAiB,aAAc,WAAY,qBAAsB,gBAAiB,eAAgB,uBAAwB,sBAAuB,eAAgB,oBAAqB,YAAa,qBAAsB,uBAAwB,iBAAkB,eAAgB,sBAAuB,SAAU,oBAAqB,6BAA8B,SAAU,6BAA8B,wBAAyB,eAAgB,gBAAiB,cAAe,gBAAiB,kBAAmB,cAAe,cAAe,mBAAoB,kBAAmB,UAAW,kBAAmB,kBAAmB,QAAS,cAAe,iBAAkB,gBAAiB,oBAAqB,oBAAqB,eAAgB,sBAAuB,oBAAqB,wBAAyB,YAAa,eAAgB,gBAAiB,qBAAsB,wBAAyB,UAAW,YAAa,YAAa,QAAS,eAAgB,gBAAiB,kBAAmB,mBAAoB,iBAAkB,cAAe,iBAAkB,YAAa,qBAAsB,cAAe,qBAAsB,OAAQ,aAAc,mBAAoB,kBAAmB,YAAa,mBAAoB,iBAAkB,gBAAiB,kBAAmB,eAAgB,eAAgB,aAAc,eAAgB,iBACpmDC,KACAC,EAAWC,YAAWC,MAAOJ,IAC7BI,EAAQF,EAAS,GAAIG,EAAQH,EAAS,GAAII,EAAYC,OAAOC,KAAKH,GAC7EC,EAAUG,KAAK,eAAgB,qBAC/B,IAAK,IAAIC,EA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AAMO,MAAM,UAAYJ,EAAKL,EAAKK,IAClCH,EAAMO,MAAM,eAAgBT,EAAKK,WAOzD9C,OAAQ,WACJC,KAAKmB,WAETyD,OAAQ,SAAUC,GACd,OAAO7E,KAAKe,aAAa6D,OAAOC,IAEpCC,WAAY,SAAUD,GAClB,OAAO7E,KAAKe,aAAa+D,WAAWD,OAIrCE,GACPrF,KAAM,qBACN6E,QAAS,SAAUC,GACfA,EAAIC,UAAUM,EAAqBrF,KAAMgF"}
|
|
@@ -27,7 +27,7 @@ let PivotViewComponent = vueDefineComponent({
|
|
|
27
27
|
provide() { return { custom: this.custom }; },
|
|
28
28
|
data() {
|
|
29
29
|
return {
|
|
30
|
-
|
|
30
|
+
ej2Instance: new PivotView({}),
|
|
31
31
|
propKeys: properties,
|
|
32
32
|
models: modelProps,
|
|
33
33
|
hasChildDirective: false,
|
|
@@ -108,11 +108,11 @@ let PivotViewComponent = vueDefineComponent({
|
|
|
108
108
|
createCalculatedFieldDialog() {
|
|
109
109
|
return this.ej2Instances.createCalculatedFieldDialog();
|
|
110
110
|
},
|
|
111
|
-
csvExport(excelExportProperties, isMultipleExport, workbook, isBlob) {
|
|
112
|
-
return this.ej2Instances.csvExport(excelExportProperties, isMultipleExport, workbook, isBlob);
|
|
111
|
+
csvExport(excelExportProperties, isMultipleExport, workbook, isBlob, isServerExport) {
|
|
112
|
+
return this.ej2Instances.csvExport(excelExportProperties, isMultipleExport, workbook, isBlob, isServerExport);
|
|
113
113
|
},
|
|
114
|
-
excelExport(excelExportProperties, isMultipleExport, workbook, isBlob) {
|
|
115
|
-
return this.ej2Instances.excelExport(excelExportProperties, isMultipleExport, workbook, isBlob);
|
|
114
|
+
excelExport(excelExportProperties, isMultipleExport, workbook, isBlob, isServerExport) {
|
|
115
|
+
return this.ej2Instances.excelExport(excelExportProperties, isMultipleExport, workbook, isBlob, isServerExport);
|
|
116
116
|
},
|
|
117
117
|
loadPersistData(persistData) {
|
|
118
118
|
return this.ej2Instances.loadPersistData(persistData);
|
|
@@ -166,7 +166,7 @@ let PivotFieldListComponent = vueDefineComponent({
|
|
|
166
166
|
provide() { return { custom: this.custom }; },
|
|
167
167
|
data() {
|
|
168
168
|
return {
|
|
169
|
-
|
|
169
|
+
ej2Instance: new PivotFieldList({}),
|
|
170
170
|
propKeys: properties$1,
|
|
171
171
|
models: modelProps$1,
|
|
172
172
|
hasChildDirective: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-vue-pivotview.es2015.js","sources":["../src/es6/pivotview/pivotview.component.js","../src/es6/pivotfieldlist/pivotfieldlist.component.js"],"sourcesContent":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { PivotView } from '@syncfusion/ej2-pivotview';\nexport 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'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * `ejs-pivotview` represents the VueJS Pivot Table Component.\n * ```vue\n * <ejs-pivotview></ejs-pivotview>\n * ```\n */\nexport let PivotViewComponent = vueDefineComponent({\n name: 'PivotViewComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide() { return { custom: this.custom }; },\n data() {\n return {\n ej2Instances: new PivotView({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\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 },\n render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let 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 setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\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((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n },\n custom() {\n this.updated();\n },\n chartExport(type, pdfExportProperties, isMultipleExport, pdfDoc, isBlob) {\n return this.ej2Instances.chartExport(type, pdfExportProperties, isMultipleExport, pdfDoc, isBlob);\n },\n createCalculatedFieldDialog() {\n return this.ej2Instances.createCalculatedFieldDialog();\n },\n csvExport(excelExportProperties, isMultipleExport, workbook, isBlob) {\n return this.ej2Instances.csvExport(excelExportProperties, isMultipleExport, workbook, isBlob);\n },\n excelExport(excelExportProperties, isMultipleExport, workbook, isBlob) {\n return this.ej2Instances.excelExport(excelExportProperties, isMultipleExport, workbook, isBlob);\n },\n loadPersistData(persistData) {\n return this.ej2Instances.loadPersistData(persistData);\n },\n pdfExport(pdfExportProperties, isMultipleExport, pdfDoc, isBlob, exportBothTableAndChart) {\n return this.ej2Instances.pdfExport(pdfExportProperties, isMultipleExport, pdfDoc, isBlob, exportBothTableAndChart);\n },\n printChart() {\n return this.ej2Instances.printChart();\n },\n refresh() {\n return this.ej2Instances.refresh();\n },\n showConditionalFormattingDialog() {\n return this.ej2Instances.showConditionalFormattingDialog();\n },\n showNumberFormattingDialog() {\n return this.ej2Instances.showNumberFormattingDialog();\n },\n }\n});\nexport const PivotViewPlugin = {\n name: 'ejs-pivotview',\n install(Vue) {\n Vue.component(PivotViewPlugin.name, PivotViewComponent);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { PivotFieldList } from '@syncfusion/ej2-pivotview';\nexport const properties = ['isLazyUpdate', 'plugins', 'aggregateTypes', 'allowCalculatedField', 'allowDeferLayoutUpdate', 'cssClass', 'currencyCode', 'dataSourceSettings', 'enableFieldSearching', 'enableHtmlSanitizer', '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 const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * `ejs-pivotfieldlist` represents the VueJS PivotFieldList Component.\n * ```vue\n * <ejs-pivotfieldlist></ejs-pivotfieldlist>\n * ```\n */\nexport let PivotFieldListComponent = vueDefineComponent({\n name: 'PivotFieldListComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide() { return { custom: this.custom }; },\n data() {\n return {\n ej2Instances: new PivotFieldList({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\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 },\n render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let 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 setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\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((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n },\n custom() {\n this.updated();\n },\n update(control) {\n return this.ej2Instances.update(control);\n },\n updateView(control) {\n return this.ej2Instances.updateView(control);\n },\n }\n});\nexport const PivotFieldListPlugin = {\n name: 'ejs-pivotfieldlist',\n install(Vue) {\n Vue.component(PivotFieldListPlugin.name, PivotFieldListComponent);\n }\n};\n"],"names":["properties","modelProps","testProp","props","watch","emitProbs"],"mappings":";;;;AAGO,MAAM,UAAU,GAAG,CAAC,cAAc,EAAE,SAAS,EAAE,gBAAg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fieldlist/pivotfieldlist.component.js"],"sourcesContent":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { PivotView } from '@syncfusion/ej2-pivotview';\nexport 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'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * `ejs-pivotview` represents the VueJS Pivot Table Component.\n * ```vue\n * <ejs-pivotview></ejs-pivotview>\n * ```\n */\nexport let PivotViewComponent = vueDefineComponent({\n name: 'PivotViewComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide() { return { custom: this.custom }; },\n data() {\n return {\n ej2Instance: new PivotView({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\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 },\n render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let 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 setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\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((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n },\n custom() {\n this.updated();\n },\n chartExport(type, pdfExportProperties, isMultipleExport, pdfDoc, isBlob) {\n return this.ej2Instances.chartExport(type, pdfExportProperties, isMultipleExport, pdfDoc, isBlob);\n },\n createCalculatedFieldDialog() {\n return this.ej2Instances.createCalculatedFieldDialog();\n },\n csvExport(excelExportProperties, isMultipleExport, workbook, isBlob, isServerExport) {\n return this.ej2Instances.csvExport(excelExportProperties, isMultipleExport, workbook, isBlob, isServerExport);\n },\n excelExport(excelExportProperties, isMultipleExport, workbook, isBlob, isServerExport) {\n return this.ej2Instances.excelExport(excelExportProperties, isMultipleExport, workbook, isBlob, isServerExport);\n },\n loadPersistData(persistData) {\n return this.ej2Instances.loadPersistData(persistData);\n },\n pdfExport(pdfExportProperties, isMultipleExport, pdfDoc, isBlob, exportBothTableAndChart) {\n return this.ej2Instances.pdfExport(pdfExportProperties, isMultipleExport, pdfDoc, isBlob, exportBothTableAndChart);\n },\n printChart() {\n return this.ej2Instances.printChart();\n },\n refresh() {\n return this.ej2Instances.refresh();\n },\n showConditionalFormattingDialog() {\n return this.ej2Instances.showConditionalFormattingDialog();\n },\n showNumberFormattingDialog() {\n return this.ej2Instances.showNumberFormattingDialog();\n },\n }\n});\nexport const PivotViewPlugin = {\n name: 'ejs-pivotview',\n install(Vue) {\n Vue.component(PivotViewPlugin.name, PivotViewComponent);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { PivotFieldList } from '@syncfusion/ej2-pivotview';\nexport const properties = ['isLazyUpdate', 'plugins', 'aggregateTypes', 'allowCalculatedField', 'allowDeferLayoutUpdate', 'cssClass', 'currencyCode', 'dataSourceSettings', 'enableFieldSearching', 'enableHtmlSanitizer', '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 const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * `ejs-pivotfieldlist` represents the VueJS PivotFieldList Component.\n * ```vue\n * <ejs-pivotfieldlist></ejs-pivotfieldlist>\n * ```\n */\nexport let PivotFieldListComponent = vueDefineComponent({\n name: 'PivotFieldListComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide() { return { custom: this.custom }; },\n data() {\n return {\n ej2Instance: new PivotFieldList({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\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 },\n render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let 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 setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\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((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n },\n custom() {\n this.updated();\n },\n update(control) {\n return this.ej2Instances.update(control);\n },\n updateView(control) {\n return this.ej2Instances.updateView(control);\n },\n }\n});\nexport const PivotFieldListPlugin = {\n name: 'ejs-pivotfieldlist',\n install(Vue) {\n Vue.component(PivotFieldListPlugin.name, PivotFieldListComponent);\n }\n};\n"],"names":["properties","modelProps","testProp","props","watch","emitProbs"],"mappings":";;;;AAGO,MAAM,UAAU,GAAG,CAAC,cAAc,EAAE,SAAS,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,eAAe,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,cAAc,EAAE,eAAe,EAAE,YAAY,EAAE,UAAU,EAAE,oBAAoB,EAAE,eAAe,EAAE,cAAc,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,cAAc,EAAE,mBAAmB,EAAE,WAAW,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,gBAAg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;4BAC/C,IAAI,IAAI,CAAC,MAAM,EAAE;gCACb,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,KAAK,CAAC,SAAS,GAAG,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;6BACnE;iCACI;gCACD,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;gCACvC,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;6BACzC;yBACJ;qBACJ,CAAC,CAAC;iBACN,CAAC,CAAC;aACN;SACJ;QACD,MAAM,GAAG;YACL,IAAI,CAAC,OAAO,EAAE,CAAC;SAClB;QACD,MAAM,CAAC,OAAO,EAAE;YACZ,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;SAC5C;QACD,UAAU,CAAC,OAAO,EAAE;YAChB,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;SAChD;KACJ;CACJ,CAAC,CAAC;AACH,AAAO,MAAM,oBAAoB,GAAG;IAChC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,EAAE,uBAAuB,CAAC,CAAC;KACrE;CACJ;;;;;"}
|
|
@@ -28,7 +28,7 @@ var PivotViewComponent = vueDefineComponent({
|
|
|
28
28
|
provide: function () { return { custom: this.custom }; },
|
|
29
29
|
data: function () {
|
|
30
30
|
return {
|
|
31
|
-
|
|
31
|
+
ej2Instance: new PivotView({}),
|
|
32
32
|
propKeys: properties,
|
|
33
33
|
models: modelProps,
|
|
34
34
|
hasChildDirective: false,
|
|
@@ -112,11 +112,11 @@ var PivotViewComponent = vueDefineComponent({
|
|
|
112
112
|
createCalculatedFieldDialog: function () {
|
|
113
113
|
return this.ej2Instances.createCalculatedFieldDialog();
|
|
114
114
|
},
|
|
115
|
-
csvExport: function (excelExportProperties, isMultipleExport, workbook, isBlob) {
|
|
116
|
-
return this.ej2Instances.csvExport(excelExportProperties, isMultipleExport, workbook, isBlob);
|
|
115
|
+
csvExport: function (excelExportProperties, isMultipleExport, workbook, isBlob, isServerExport) {
|
|
116
|
+
return this.ej2Instances.csvExport(excelExportProperties, isMultipleExport, workbook, isBlob, isServerExport);
|
|
117
117
|
},
|
|
118
|
-
excelExport: function (excelExportProperties, isMultipleExport, workbook, isBlob) {
|
|
119
|
-
return this.ej2Instances.excelExport(excelExportProperties, isMultipleExport, workbook, isBlob);
|
|
118
|
+
excelExport: function (excelExportProperties, isMultipleExport, workbook, isBlob, isServerExport) {
|
|
119
|
+
return this.ej2Instances.excelExport(excelExportProperties, isMultipleExport, workbook, isBlob, isServerExport);
|
|
120
120
|
},
|
|
121
121
|
loadPersistData: function (persistData) {
|
|
122
122
|
return this.ej2Instances.loadPersistData(persistData);
|
|
@@ -171,7 +171,7 @@ var PivotFieldListComponent = vueDefineComponent({
|
|
|
171
171
|
provide: function () { return { custom: this.custom }; },
|
|
172
172
|
data: function () {
|
|
173
173
|
return {
|
|
174
|
-
|
|
174
|
+
ej2Instance: new PivotFieldList({}),
|
|
175
175
|
propKeys: properties$1,
|
|
176
176
|
models: modelProps$1,
|
|
177
177
|
hasChildDirective: false,
|