@syncfusion/ej2-react-pivotview 20.4.54 → 21.1.36

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.
Files changed (69) hide show
  1. package/CHANGELOG.md +21 -53
  2. package/diConfig.json +5 -4
  3. package/dist/ej2-react-pivotview.min.js +2 -2
  4. package/dist/ej2-react-pivotview.umd.min.js +2 -2
  5. package/dist/ej2-react-pivotview.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-react-pivotview.es2015.js +6 -2
  7. package/dist/es6/ej2-react-pivotview.es2015.js.map +1 -1
  8. package/package.json +9 -9
  9. package/src/pivotfieldlist/pivotfieldlist.component.d.ts +2 -0
  10. package/src/pivotfieldlist/pivotfieldlist.component.js +2 -0
  11. package/src/pivotview/pivotview.component.d.ts +4 -2
  12. package/src/pivotview/pivotview.component.js +4 -2
  13. package/styles/bootstrap-dark.css +363 -239
  14. package/styles/bootstrap.css +362 -238
  15. package/styles/bootstrap4.css +370 -304
  16. package/styles/bootstrap5-dark.css +376 -297
  17. package/styles/bootstrap5.css +376 -297
  18. package/styles/fabric-dark.css +354 -249
  19. package/styles/fabric.css +351 -249
  20. package/styles/fluent-dark.css +378 -284
  21. package/styles/fluent.css +378 -284
  22. package/styles/highcontrast-light.css +355 -243
  23. package/styles/highcontrast.css +355 -243
  24. package/styles/material-dark.css +359 -239
  25. package/styles/material.css +358 -244
  26. package/styles/material3-dark.css +6666 -0
  27. package/styles/material3-dark.scss +3 -0
  28. package/styles/material3.css +6777 -0
  29. package/styles/material3.scss +3 -0
  30. package/styles/pivotfieldlist/bootstrap-dark.css +217 -150
  31. package/styles/pivotfieldlist/bootstrap.css +215 -148
  32. package/styles/pivotfieldlist/bootstrap4.css +219 -155
  33. package/styles/pivotfieldlist/bootstrap5-dark.css +226 -169
  34. package/styles/pivotfieldlist/bootstrap5.css +226 -169
  35. package/styles/pivotfieldlist/fabric-dark.css +207 -149
  36. package/styles/pivotfieldlist/fabric.css +207 -149
  37. package/styles/pivotfieldlist/fluent-dark.css +236 -185
  38. package/styles/pivotfieldlist/fluent.css +236 -185
  39. package/styles/pivotfieldlist/highcontrast-light.css +206 -148
  40. package/styles/pivotfieldlist/highcontrast.css +206 -148
  41. package/styles/pivotfieldlist/material-dark.css +215 -152
  42. package/styles/pivotfieldlist/material.css +214 -151
  43. package/styles/pivotfieldlist/material3-dark.css +3811 -0
  44. package/styles/pivotfieldlist/material3-dark.scss +2 -0
  45. package/styles/pivotfieldlist/material3.css +3865 -0
  46. package/styles/pivotfieldlist/material3.scss +2 -0
  47. package/styles/pivotfieldlist/tailwind-dark.css +224 -177
  48. package/styles/pivotfieldlist/tailwind.css +224 -177
  49. package/styles/pivotview/bootstrap-dark.css +146 -89
  50. package/styles/pivotview/bootstrap.css +147 -90
  51. package/styles/pivotview/bootstrap4.css +152 -150
  52. package/styles/pivotview/bootstrap5-dark.css +150 -128
  53. package/styles/pivotview/bootstrap5.css +150 -128
  54. package/styles/pivotview/fabric-dark.css +147 -100
  55. package/styles/pivotview/fabric.css +144 -100
  56. package/styles/pivotview/fluent-dark.css +142 -99
  57. package/styles/pivotview/fluent.css +142 -99
  58. package/styles/pivotview/highcontrast-light.css +149 -95
  59. package/styles/pivotview/highcontrast.css +149 -95
  60. package/styles/pivotview/material-dark.css +144 -87
  61. package/styles/pivotview/material.css +144 -93
  62. package/styles/pivotview/material3-dark.css +2854 -0
  63. package/styles/pivotview/material3-dark.scss +2 -0
  64. package/styles/pivotview/material3.css +2912 -0
  65. package/styles/pivotview/material3.scss +2 -0
  66. package/styles/pivotview/tailwind-dark.css +147 -100
  67. package/styles/pivotview/tailwind.css +147 -100
  68. package/styles/tailwind-dark.css +371 -277
  69. package/styles/tailwind.css +371 -277
package/CHANGELOG.md CHANGED
@@ -4,51 +4,27 @@
4
4
 
5
5
  ### Pivot Table
6
6
 
7
- #### Bug Fixes
8
-
9
- - `#I423348` - The "autoFit" property in the pivot table will now work properly.
10
- - `#I442142` - Headers are now properly exported when exporting a Pivot Table to an Excel sheet.
11
- - `#I441872` - The performance issue has now been fixed with the defer layout update, when the popup field list closes with a "Cancel" button click.
12
-
13
- ## 20.4.48 (2023-02-01)
14
-
15
- ### Pivot Table
16
-
17
- #### Bug Fixes
18
-
19
- - `#I431116` - The "clipMode" property now works properly in pivot table row headers.
20
-
21
- ## 20.4.44 (2023-01-18)
22
-
23
- ### Pivot Table
24
-
25
- #### Bug Fixes
26
-
27
- - When switching from table to chart using the toolbar, the fieldlist popup now renders properly.
28
-
29
- ## 20.4.43 (2023-01-10)
30
-
31
- ### Pivot Table
32
-
33
- #### Bug Fixes
7
+ #### Bug fixes
34
8
 
35
- - While performing inline editing, the pivot table cell will now properly update for empty values.
9
+ - `#I473176` - The issue with the spinner not being properly hidden on the pivot table when the drillthrough popup was closed with server-side engine has now been resolved.
10
+ - `#I461804` - When we bind fields from the same hierarchy, drill down/up will now work properly in the pivot table with an OLAP data.
36
11
 
37
- ## 20.4.42 (2023-01-04)
12
+ ## 22.1.34 (2023-06-21)
38
13
 
39
14
  ### Pivot Table
40
15
 
41
- #### Bug Fixes
42
-
43
- - `#F179497` - The field list popup will now properly refresh while dynamically updating the data source in the pivot table.
16
+ #### New Features
44
17
 
45
- ## 20.4.40 (2022-12-28)
18
+ - `#F165214` - Provided paging support in server side engine that allows to break and display large amounts of data page by page.
19
+ - Provided the role option that allows access to restricted cube information such as measures, dimensions, hierarchy, and more when a SSAS OLAP cube is bound to the pivot table.
46
20
 
47
- ### Pivot Table
21
+ #### Breaking Changes
48
22
 
49
- #### Bug Fixes
23
+ - The property type `PivotValues` has been changed from `IPivotValues` to `IAxisSet[][]`.
50
24
 
51
- - Advanced filtering now works properly in a pivot table.
25
+ | Property Name | Description | Previous Type | Current Type |
26
+ |---|---|---|---|
27
+ | `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[][]` |
52
28
 
53
29
  ## 20.4.38 (2022-12-21)
54
30
 
@@ -73,7 +49,7 @@
73
49
 
74
50
  | Previous | Now |
75
51
  |---|---|
76
- | showMemberSeries | showPointColorByMembers |
52
+ | `showMemberSeries` | `showPointColorByMembers` |
77
53
 
78
54
  - The `chartExport` method parameters for the pivot table have now been changed.
79
55
 
@@ -82,9 +58,9 @@
82
58
 
83
59
  | Parameter | Type | Description |
84
60
  |---|---|---|
85
- | type | ExportType | Defines the export type. |
61
+ | type | `ExportType` | Defines the export type. |
86
62
  | fileName | string | Defines file name of export document. |
87
- | orientation | PdfPageOrientation | Defines the page orientation on pdf export(0 for Portrait mode, 1 for Landscape mode). |
63
+ | orientation | `PdfPageOrientation` | Defines the page orientation on pdf export(0 for Portrait mode, 1 for Landscape mode). |
88
64
  | width | number | Defines width of the export document. |
89
65
  | height | number | Defines width of the export document. |
90
66
 
@@ -93,11 +69,11 @@
93
69
 
94
70
  | Parameter | Type | Description |
95
71
  |---|---|---|
96
- | type | ExportType | Defines the export type. |
97
- | pdfExportProperties | PdfExportProperties | Allows to define the chart's export properties such as file name, orientation, width and height. |
98
- | isMultipleExport | boolean | Allows to export multiple tables and charts into a single PDF document. |
99
- | pdfDoc | Object | Allows the export of an external PDF document along with current PDF document. |
100
- | isBlob | boolean | Allows the PDF document to be saved as blob data. |
72
+ | type | `ExportType` | Defines the export type. |
73
+ | `pdfExportProperties` | `PdfExportProperties` | Allows to define the chart's export properties such as file name, orientation, width and height. |
74
+ | `isMultipleExport` | boolean | Allows to export multiple tables and charts into a single PDF document. |
75
+ | `pdfDoc` | Object | Allows the export of an external PDF document along with current PDF document. |
76
+ | `isBlob` | boolean | Allows the PDF document to be saved as blob data. |
101
77
 
102
78
  ## 20.3.59 (2022-11-29)
103
79
 
@@ -127,7 +103,7 @@
127
103
 
128
104
  #### Bug Fixes
129
105
 
130
- - The drillthrough feature now works properly with alphanumeric data.
106
+ - The `drillthrough` feature now works properly with alphanumeric data.
131
107
 
132
108
  ## 20.3.49 (2022-10-11)
133
109
 
@@ -783,14 +759,6 @@ The pivot grid is a multi-dimensional data visualization component built on top
783
759
  - **Exporting** - Provides the option to exporting records to Excel, CSV and PDF formats.
784
760
 
785
761
 
786
- ## 20.4.50 (2023-02-14)
787
-
788
- ### Pivot Table
789
-
790
- #### Bug Fixes
791
-
792
- - The tooltip template will now work properly in the pivot table.
793
-
794
762
  ## 18.1.52 (2020-05-13)
795
763
 
796
764
  ### Pivot Table
package/diConfig.json CHANGED
@@ -111,6 +111,7 @@
111
111
  "PivotActionBeginEventArgs",
112
112
  "PivotActionFailureEventArgs",
113
113
  "BeforeServiceInvokeEventArgs",
114
+ "AfterServiceInvokeEventArgs",
114
115
  "FieldRemoveEventArgs",
115
116
  "AggregateMenuOpenEventArgs",
116
117
  "NumberFormattingEventArgs",
@@ -201,7 +202,7 @@
201
202
  ],
202
203
  "comment": [
203
204
  "/**",
204
- " * `ej-pivotview` represents the Angular PivotView Component.",
205
+ " * `ej-pivotview` represents the Angular Pivot Table Component.",
205
206
  " * ```html",
206
207
  " * <ej-pivotview></ej-pivotview>",
207
208
  " * ```",
@@ -209,15 +210,15 @@
209
210
  ],
210
211
  "reactComment": [
211
212
  "/**",
212
- " * `PivotViewComponent` represents the react PivotView.",
213
+ " * `PivotViewComponent` represents the react Pivot Table.",
213
214
  " * ```tsx",
214
- " * <PivotViewComponent/>",
215
+ " * <PivotViewComponent></PivotViewComponent>",
215
216
  " * ```",
216
217
  " */"
217
218
  ],
218
219
  "vueComment": [
219
220
  "/**",
220
- " * `ejs-pivotview` represents the VueJS PivotView Component.",
221
+ " * `ejs-pivotview` represents the VueJS Pivot Table Component.",
221
222
  " * ```vue",
222
223
  " * <ejs-pivotview></ejs-pivotview>",
223
224
  " * ```",
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * filename: ej2-react-pivotview.min.js
3
- * version : 20.4.54
3
+ * version : 21.1.36
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(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionPivotview"),require("SyncfusionReactBase"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionPivotview","SyncfusionReactBase","React"],e):"object"==typeof exports?exports.SyncfusionReactPivotview=e(require("SyncfusionPivotview"),require("SyncfusionReactBase"),require("React")):t.SyncfusionReactPivotview=e(t.SyncfusionPivotview,t.SyncfusionReactBase,t.React)}(this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=5)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e,n){"use strict";var r=n(6);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(7);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);n.d(e,"PivotViewComponent",function(){return r.a});var i=n(3);n.d(e,"PivotFieldListComponent",function(){return i.a});var o=n(1);n.n(o);n.o(o,"Inject")&&n.d(e,"Inject",function(){return o.Inject});var c=n(0);n.n(c);for(var u in c)["PivotViewComponent","PivotFieldListComponent","Inject","default"].indexOf(u)<0&&function(t){n.d(e,t,function(){return c[t]})}(u)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),i=(n.n(r),n(0)),o=(n.n(i),n(1)),c=(n.n(o),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(i.PivotFieldList);n.i(o.applyMixins)(u,[o.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),i=(n.n(r),n(0)),o=(n.n(i),n(1)),c=(n.n(o),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.immediateRender=!1,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(i.PivotView);n.i(o.applyMixins)(u,[o.ComponentBase,r.Component])}])});
10
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionPivotview"),require("SyncfusionReactBase"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionPivotview","SyncfusionReactBase","React"],e):"object"==typeof exports?exports.SyncfusionReactPivotview=e(require("SyncfusionPivotview"),require("SyncfusionReactBase"),require("React")):t.SyncfusionReactPivotview=e(t.SyncfusionPivotview,t.SyncfusionReactBase,t.React)}(this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=5)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e,n){"use strict";var r=n(6);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(7);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);n.d(e,"PivotViewComponent",function(){return r.a});var o=n(3);n.d(e,"PivotFieldListComponent",function(){return o.a});var i=n(1);n.n(i);n.o(i,"Inject")&&n.d(e,"Inject",function(){return i.Inject});var c=n(0);n.n(c);for(var u in c)["PivotViewComponent","PivotFieldListComponent","Inject","default"].indexOf(u)<0&&function(t){n.d(e,t,function(){return c[t]})}(u)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.PivotFieldList);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.PivotView);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])}])});
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-react-pivotview.umd.min.js
3
- * version : 20.4.54
3
+ * version : 21.1.36
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("react"),require("@syncfusion/ej2-pivotview"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-pivotview","@syncfusion/ej2-react-base"],t):t(e.ej={},e.React,e.ej2Pivotview,e.ej2ReactBase)}(this,function(e,t,n,i){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.immediateRender=!1,n.portals=[],n}return r(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.PivotView);i.applyMixins(o,[i.ComponentBase,t.Component]);var c=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.immediateRender=!0,n.portals=[],n}return c(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.PivotFieldList);i.applyMixins(s,[i.ComponentBase,t.Component]),e.Inject=i.Inject,e.PivotViewComponent=o,e.PivotFieldListComponent=s,Object.keys(n).forEach(function(t){e[t]=n[t]}),Object.defineProperty(e,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@syncfusion/ej2-pivotview"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-pivotview","@syncfusion/ej2-react-base"],t):t(e.ej={},e.React,e.ej2Pivotview,e.ej2ReactBase)}(this,function(e,t,n,r){"use strict";var o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return o(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.PivotView);r.applyMixins(i,[r.ComponentBase,t.Component]);var s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!0,n.portals=[],n}return s(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.PivotFieldList);r.applyMixins(c,[r.ComponentBase,t.Component]),e.Inject=r.Inject,e.PivotViewComponent=i,e.PivotFieldListComponent=c,Object.keys(n).forEach(function(t){e[t]=n[t]}),Object.defineProperty(e,"__esModule",{value:!0})});
11
11
  //# sourceMappingURL=ej2-react-pivotview.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-pivotview.umd.min.js","sources":["../src/pivotview/pivotview.component.js","../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})();\nimport * as React from 'react';\nimport { PivotView } from '@syncfusion/ej2-pivotview';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `PivotViewComponent` represents the react PivotView.\n * ```tsx\n * <PivotViewComponent/>\n * ```\n */\nvar PivotViewComponent = /** @class */ (function (_super) {\n __extends(PivotViewComponent, _super);\n function PivotViewComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n PivotViewComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return PivotViewComponent;\n}(PivotView));\nexport { PivotViewComponent };\napplyMixins(PivotViewComponent, [ComponentBase, React.Component]);\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})();\nimport * as React from 'react';\nimport { PivotFieldList } from '@syncfusion/ej2-pivotview';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `PivotFieldListComponent` represents the react PivotFieldList.\n * ```tsx\n * <PivotFieldListComponent/>\n * ```\n */\nvar PivotFieldListComponent = /** @class */ (function (_super) {\n __extends(PivotFieldListComponent, _super);\n function PivotFieldListComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n PivotFieldListComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return PivotFieldListComponent;\n}(PivotFieldList));\nexport { PivotFieldListComponent };\napplyMixins(PivotFieldListComponent, [ComponentBase, React.Component]);\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","PivotViewComponent","_super","props","_this","call","initRenderCalled","checkInjectedModules","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","PivotView","ej2ReactBase","ComponentBase","React.Component","PivotFieldListComponent","PivotFieldList"],"mappings":"8XAAA,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,GAsBxCK,EAAoC,SAAUC,GAE9C,SAASD,EAAmBE,GACxB,IAAIC,EAAQF,EAAOG,KAAKR,KAAMM,IAAUN,KAKxC,OAJAO,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,iBAAkB,EACxBJ,EAAMK,WACCL,EAWX,OAlBAlB,EAAUe,EAAoBC,GAS9BD,EAAmBF,UAAUW,OAAS,WAClC,KAAMb,KAAKc,UAAYd,KAAKS,kBAAqBT,KAAKe,aAAgBf,KAAKgB,oBAKvE,OAAOC,gBAAoB,MAAOjB,KAAKkB,0BAA2BC,OAAOnB,KAAKM,MAAMc,SAAUpB,KAAKY,UAJnGP,EAAOH,UAAUW,OAAOL,KAAKR,MAC7BA,KAAKS,kBAAmB,GAMzBL,GACTiB,aACFC,cACYlB,GAAqBmB,gBAAeC,cC5ChD,IAAInC,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,GAsBxC0B,EAAyC,SAAUpB,GAEnD,SAASoB,EAAwBnB,GAC7B,IAAIC,EAAQF,EAAOG,KAAKR,KAAMM,IAAUN,KAKxC,OAJAO,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,iBAAkB,EACxBJ,EAAMK,WACCL,EAWX,OAlBAlB,EAAUoC,EAAyBpB,GASnCoB,EAAwBvB,UAAUW,OAAS,WACvC,KAAMb,KAAKc,UAAYd,KAAKS,kBAAqBT,KAAKe,aAAgBf,KAAKgB,oBAKvE,OAAOC,gBAAoB,MAAOjB,KAAKkB,0BAA2BC,OAAOnB,KAAKM,MAAMc,SAAUpB,KAAKY,UAJnGP,EAAOH,UAAUW,OAAOL,KAAKR,MAC7BA,KAAKS,kBAAmB,GAMzBgB,GACTC,kBACFJ,cACYG,GAA0BF,gBAAeC"}
1
+ {"version":3,"file":"ej2-react-pivotview.umd.min.js","sources":["../src/pivotview/pivotview.component.js","../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})();\nimport * as React from 'react';\nimport { PivotView } from '@syncfusion/ej2-pivotview';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `PivotViewComponent` represents the react Pivot Table.\n * ```tsx\n * <PivotViewComponent></PivotViewComponent>\n * ```\n */\nvar PivotViewComponent = /** @class */ (function (_super) {\n __extends(PivotViewComponent, _super);\n function PivotViewComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n PivotViewComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return PivotViewComponent;\n}(PivotView));\nexport { PivotViewComponent };\napplyMixins(PivotViewComponent, [ComponentBase, React.Component]);\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})();\nimport * as React from 'react';\nimport { PivotFieldList } from '@syncfusion/ej2-pivotview';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `PivotFieldListComponent` represents the react PivotFieldList.\n * ```tsx\n * <PivotFieldListComponent/>\n * ```\n */\nvar PivotFieldListComponent = /** @class */ (function (_super) {\n __extends(PivotFieldListComponent, _super);\n function PivotFieldListComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n PivotFieldListComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return PivotFieldListComponent;\n}(PivotFieldList));\nexport { PivotFieldListComponent };\napplyMixins(PivotFieldListComponent, [ComponentBase, React.Component]);\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","PivotViewComponent","_super","props","_this","call","initRenderCalled","checkInjectedModules","statelessTemplateProps","templateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","PivotView","ej2ReactBase","ComponentBase","React.Component","PivotFieldListComponent","PivotFieldList"],"mappings":"8XAAA,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,GAsBxCK,EAAoC,SAAUC,GAE9C,SAASD,EAAmBE,GACxB,IAAIC,EAAQF,EAAOG,KAAKR,KAAMM,IAAUN,KAOxC,OANAO,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,uBAAyB,KAC/BJ,EAAMK,cAAgB,KACtBL,EAAMM,iBAAkB,EACxBN,EAAMO,WACCP,EAWX,OApBAlB,EAAUe,EAAoBC,GAW9BD,EAAmBF,UAAUa,OAAS,WAClC,KAAMf,KAAKgB,UAAYhB,KAAKS,kBAAqBT,KAAKiB,aAAgBjB,KAAKkB,oBAKvE,OAAOC,gBAAoB,MAAOnB,KAAKoB,0BAA2BC,OAAOrB,KAAKM,MAAMgB,SAAUtB,KAAKc,UAJnGT,EAAOH,UAAUa,OAAOP,KAAKR,MAC7BA,KAAKS,kBAAmB,GAMzBL,GACTmB,aACFC,cACYpB,GAAqBqB,gBAAeC,cC9ChD,IAAIrC,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,GAsBxC4B,EAAyC,SAAUtB,GAEnD,SAASsB,EAAwBrB,GAC7B,IAAIC,EAAQF,EAAOG,KAAKR,KAAMM,IAAUN,KAOxC,OANAO,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,uBAAyB,KAC/BJ,EAAMK,cAAgB,KACtBL,EAAMM,iBAAkB,EACxBN,EAAMO,WACCP,EAWX,OApBAlB,EAAUsC,EAAyBtB,GAWnCsB,EAAwBzB,UAAUa,OAAS,WACvC,KAAMf,KAAKgB,UAAYhB,KAAKS,kBAAqBT,KAAKiB,aAAgBjB,KAAKkB,oBAKvE,OAAOC,gBAAoB,MAAOnB,KAAKoB,0BAA2BC,OAAOrB,KAAKM,MAAMgB,SAAUtB,KAAKc,UAJnGT,EAAOH,UAAUa,OAAOP,KAAKR,MAC7BA,KAAKS,kBAAmB,GAMzBkB,GACTC,kBACFJ,cACYG,GAA0BF,gBAAeC"}
@@ -3,9 +3,9 @@ import { PivotFieldList, PivotView } from '@syncfusion/ej2-pivotview';
3
3
  import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
4
4
 
5
5
  /**
6
- * `PivotViewComponent` represents the react PivotView.
6
+ * `PivotViewComponent` represents the react Pivot Table.
7
7
  * ```tsx
8
- * <PivotViewComponent/>
8
+ * <PivotViewComponent></PivotViewComponent>
9
9
  * ```
10
10
  */
11
11
  class PivotViewComponent extends PivotView {
@@ -13,6 +13,8 @@ class PivotViewComponent extends PivotView {
13
13
  super(props);
14
14
  this.initRenderCalled = false;
15
15
  this.checkInjectedModules = true;
16
+ this.statelessTemplateProps = null;
17
+ this.templateProps = null;
16
18
  this.immediateRender = false;
17
19
  this.portals = [];
18
20
  }
@@ -39,6 +41,8 @@ class PivotFieldListComponent extends PivotFieldList {
39
41
  super(props);
40
42
  this.initRenderCalled = false;
41
43
  this.checkInjectedModules = true;
44
+ this.statelessTemplateProps = null;
45
+ this.templateProps = null;
42
46
  this.immediateRender = true;
43
47
  this.portals = [];
44
48
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-pivotview.es2015.js","sources":["../src/es6/pivotview/pivotview.component.js","../src/es6/pivotfieldlist/pivotfieldlist.component.js"],"sourcesContent":["import * as React from 'react';\nimport { PivotView } from '@syncfusion/ej2-pivotview';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `PivotViewComponent` represents the react PivotView.\n * ```tsx\n * <PivotViewComponent/>\n * ```\n */\nexport class PivotViewComponent extends PivotView {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.immediateRender = false;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(PivotViewComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { PivotFieldList } from '@syncfusion/ej2-pivotview';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `PivotFieldListComponent` represents the react PivotFieldList.\n * ```tsx\n * <PivotFieldListComponent/>\n * ```\n */\nexport class PivotFieldListComponent extends PivotFieldList {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.immediateRender = true;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(PivotFieldListComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;AAGA;;;;;;AAMA,AAAO,MAAM,kBAAkB,SAAS,SAAS,CAAC;IAC9C,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;KACrB;IACD,MAAM,GAAG;QACL,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SAChH;KACJ;CACJ;AACD,WAAW,CAAC,kBAAkB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;ACxBlE;;;;;;AAMA,AAAO,MAAM,uBAAuB,SAAS,cAAc,CAAC;IACxD,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;KACrB;IACD,MAAM,GAAG;QACL,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,OAAOD,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SAChH;KACJ;CACJ;AACD,WAAW,CAAC,uBAAuB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;;;"}
1
+ {"version":3,"file":"ej2-react-pivotview.es2015.js","sources":["../src/es6/pivotview/pivotview.component.js","../src/es6/pivotfieldlist/pivotfieldlist.component.js"],"sourcesContent":["import * as React from 'react';\nimport { PivotView } from '@syncfusion/ej2-pivotview';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `PivotViewComponent` represents the react Pivot Table.\n * ```tsx\n * <PivotViewComponent></PivotViewComponent>\n * ```\n */\nexport class PivotViewComponent extends PivotView {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(PivotViewComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { PivotFieldList } from '@syncfusion/ej2-pivotview';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `PivotFieldListComponent` represents the react PivotFieldList.\n * ```tsx\n * <PivotFieldListComponent/>\n * ```\n */\nexport class PivotFieldListComponent extends PivotFieldList {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = true;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(PivotFieldListComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;AAGA;;;;;;AAMA,AAAO,MAAM,kBAAkB,SAAS,SAAS,CAAC;IAC9C,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;KACrB;IACD,MAAM,GAAG;QACL,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SAChH;KACJ;CACJ;AACD,WAAW,CAAC,kBAAkB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;AC1BlE;;;;;;AAMA,AAAO,MAAM,uBAAuB,SAAS,cAAc,CAAC;IACxD,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;KACrB;IACD,MAAM,GAAG;QACL,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,OAAOD,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SAChH;KACJ;CACJ;AACD,WAAW,CAAC,uBAAuB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;;;"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-react-pivotview@*",
3
- "_id": "@syncfusion/ej2-react-pivotview@20.4.50",
3
+ "_id": "@syncfusion/ej2-react-pivotview@22.1.34",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-rW9ayN3puSqRFY2MBRzJzwEnrgnqtJFoObZiRfNCt7fnoEDJC569Q/b6N54Ng40MEnI2b91t0pVP3QOPN88qmQ==",
5
+ "_integrity": "sha512-n2s4KNdCIaoAr0Tw3M+jIQBWy9T4EnV5XHJmZOOgGDmkK8YR00dakGrJzepgrow09e/cjQ+To3u4jDz64tog4A==",
6
6
  "_location": "/@syncfusion/ej2-react-pivotview",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,10 +19,10 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-pivotview/-/ej2-react-pivotview-20.4.50.tgz",
23
- "_shasum": "85f5b01a5db97b8c581bc543a853cb045f91246c",
22
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-pivotview/-/ej2-react-pivotview-22.1.34.tgz",
23
+ "_shasum": "13c273180bd0a998a43be35934bacb7dab52f90a",
24
24
  "_spec": "@syncfusion/ej2-react-pivotview@*",
25
- "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
25
+ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
26
26
  "author": {
27
27
  "name": "Syncfusion Inc."
28
28
  },
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~20.4.51",
35
- "@syncfusion/ej2-pivotview": "20.4.54",
36
- "@syncfusion/ej2-react-base": "~20.4.54"
34
+ "@syncfusion/ej2-base": "~22.1.34",
35
+ "@syncfusion/ej2-pivotview": "21.1.36",
36
+ "@syncfusion/ej2-react-base": "~22.1.34"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "The pivot grid, or pivot table, is used to visualize large sets of relational data in a cross-tabular format, similar to an Excel pivot table. for React",
@@ -53,6 +53,6 @@
53
53
  "type": "git",
54
54
  "url": "git+https://github.com/syncfusion/ej2-react-ui-components.git"
55
55
  },
56
- "version": "20.4.54",
56
+ "version": "21.1.36",
57
57
  "sideEffects": false
58
58
  }
@@ -15,6 +15,8 @@ export declare class PivotFieldListComponent extends PivotFieldList {
15
15
  private getDefaultAttributes;
16
16
  initRenderCalled: boolean;
17
17
  private checkInjectedModules;
18
+ private statelessTemplateProps;
19
+ private templateProps;
18
20
  private immediateRender;
19
21
  props: Readonly<{
20
22
  children?: React.ReactNode | React.ReactNode[];
@@ -26,6 +26,8 @@ var PivotFieldListComponent = /** @class */ (function (_super) {
26
26
  var _this = _super.call(this, props) || this;
27
27
  _this.initRenderCalled = false;
28
28
  _this.checkInjectedModules = true;
29
+ _this.statelessTemplateProps = null;
30
+ _this.templateProps = null;
29
31
  _this.immediateRender = true;
30
32
  _this.portals = [];
31
33
  return _this;
@@ -6,9 +6,9 @@ export interface PivotViewTypecast {
6
6
  tooltipTemplate?: string | Function | any;
7
7
  }
8
8
  /**
9
- * `PivotViewComponent` represents the react PivotView.
9
+ * `PivotViewComponent` represents the react Pivot Table.
10
10
  * ```tsx
11
- * <PivotViewComponent/>
11
+ * <PivotViewComponent></PivotViewComponent>
12
12
  * ```
13
13
  */
14
14
  export declare class PivotViewComponent extends PivotView {
@@ -19,6 +19,8 @@ export declare class PivotViewComponent extends PivotView {
19
19
  private getDefaultAttributes;
20
20
  initRenderCalled: boolean;
21
21
  private checkInjectedModules;
22
+ private statelessTemplateProps;
23
+ private templateProps;
22
24
  private immediateRender;
23
25
  props: Readonly<{
24
26
  children?: React.ReactNode | React.ReactNode[];
@@ -15,9 +15,9 @@ import * as React from 'react';
15
15
  import { PivotView } from '@syncfusion/ej2-pivotview';
16
16
  import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
17
17
  /**
18
- * `PivotViewComponent` represents the react PivotView.
18
+ * `PivotViewComponent` represents the react Pivot Table.
19
19
  * ```tsx
20
- * <PivotViewComponent/>
20
+ * <PivotViewComponent></PivotViewComponent>
21
21
  * ```
22
22
  */
23
23
  var PivotViewComponent = /** @class */ (function (_super) {
@@ -26,6 +26,8 @@ var PivotViewComponent = /** @class */ (function (_super) {
26
26
  var _this = _super.call(this, props) || this;
27
27
  _this.initRenderCalled = false;
28
28
  _this.checkInjectedModules = true;
29
+ _this.statelessTemplateProps = null;
30
+ _this.templateProps = null;
29
31
  _this.immediateRender = false;
30
32
  _this.portals = [];
31
33
  return _this;