@syncfusion/ej2-pivotview 19.3.57 → 19.4.42

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 (139) hide show
  1. package/.github/PULL_REQUEST_TEMPLATE/Bug.md +76 -0
  2. package/.github/PULL_REQUEST_TEMPLATE/Feature.md +56 -0
  3. package/CHANGELOG.md +40 -27
  4. package/README.md +1 -1
  5. package/dist/ej2-pivotview.umd.min.js +2 -2
  6. package/dist/ej2-pivotview.umd.min.js.map +1 -1
  7. package/dist/es6/ej2-pivotview.es2015.js +2052 -1101
  8. package/dist/es6/ej2-pivotview.es2015.js.map +1 -1
  9. package/dist/es6/ej2-pivotview.es5.js +2068 -1111
  10. package/dist/es6/ej2-pivotview.es5.js.map +1 -1
  11. package/dist/global/ej2-pivotview.min.js +2 -2
  12. package/dist/global/ej2-pivotview.min.js.map +1 -1
  13. package/dist/global/index.d.ts +1 -1
  14. package/package.json +22 -22
  15. package/src/base/engine.d.ts +17 -1
  16. package/src/base/engine.js +78 -27
  17. package/src/base/export-util.d.ts +17 -0
  18. package/src/base/export-util.js +245 -0
  19. package/src/base/olap/engine.d.ts +7 -0
  20. package/src/base/olap/engine.js +138 -35
  21. package/src/base/util.d.ts +0 -9
  22. package/src/base/util.js +2 -215
  23. package/src/common/actions/field-list.js +1 -1
  24. package/src/common/actions/pivot-button.d.ts +5 -8
  25. package/src/common/actions/pivot-button.js +188 -171
  26. package/src/common/base/constant.d.ts +186 -0
  27. package/src/common/base/constant.js +186 -0
  28. package/src/common/base/css-constant.d.ts +2 -0
  29. package/src/common/base/css-constant.js +2 -0
  30. package/src/common/base/enum.d.ts +11 -0
  31. package/src/common/base/interface.d.ts +272 -2
  32. package/src/common/calculatedfield/calculated-field.js +108 -93
  33. package/src/common/conditionalformatting/conditional-formatting.js +8 -2
  34. package/src/common/grouping-bar/grouping-bar.js +1 -1
  35. package/src/common/popups/aggregate-menu.js +57 -35
  36. package/src/common/popups/drillthrough-dialog.js +187 -139
  37. package/src/common/popups/filter-dialog.d.ts +1 -0
  38. package/src/common/popups/filter-dialog.js +22 -1
  39. package/src/common/popups/formatting-dialog.js +4 -0
  40. package/src/common/popups/grouping.js +2 -1
  41. package/src/common/popups/toolbar.js +305 -203
  42. package/src/pivotchart/base/pivotchart.js +36 -15
  43. package/src/pivotfieldlist/base/field-list-model.d.ts +49 -1
  44. package/src/pivotfieldlist/base/field-list.d.ts +55 -1
  45. package/src/pivotfieldlist/base/field-list.js +68 -1
  46. package/src/pivotfieldlist/renderer/dialog-renderer.js +38 -15
  47. package/src/pivotfieldlist/renderer/tree-renderer.js +35 -22
  48. package/src/pivotview/actions/drill-through.js +1 -1
  49. package/src/pivotview/actions/excel-export.js +10 -11
  50. package/src/pivotview/actions/pdf-export.js +13 -6
  51. package/src/pivotview/actions/virtualscroll.d.ts +1 -0
  52. package/src/pivotview/actions/virtualscroll.js +6 -2
  53. package/src/pivotview/base/pivotview-model.d.ts +46 -1
  54. package/src/pivotview/base/pivotview.d.ts +56 -2
  55. package/src/pivotview/base/pivotview.js +288 -107
  56. package/src/pivotview/model/chartsettings-model.d.ts +2 -2
  57. package/src/pivotview/model/chartsettings.d.ts +2 -2
  58. package/src/pivotview/model/chartsettings.js +2 -2
  59. package/src/pivotview/model/datasourcesettings-model.d.ts +8 -1
  60. package/src/pivotview/model/datasourcesettings.d.ts +7 -0
  61. package/src/pivotview/model/datasourcesettings.js +3 -0
  62. package/src/pivotview/renderer/render.d.ts +2 -1
  63. package/src/pivotview/renderer/render.js +39 -6
  64. package/styles/bootstrap-dark.css +145 -118
  65. package/styles/bootstrap.css +145 -118
  66. package/styles/bootstrap4.css +144 -95
  67. package/styles/bootstrap5-dark.css +250 -182
  68. package/styles/bootstrap5.css +245 -175
  69. package/styles/fabric-dark.css +147 -117
  70. package/styles/fabric.css +145 -116
  71. package/styles/highcontrast-light.css +146 -116
  72. package/styles/highcontrast.css +148 -118
  73. package/styles/material-dark.css +138 -111
  74. package/styles/material.css +138 -111
  75. package/styles/pivotfieldlist/_bootstrap-dark-definition.scss +1 -4
  76. package/styles/pivotfieldlist/_bootstrap-definition.scss +1 -4
  77. package/styles/pivotfieldlist/_bootstrap4-definition.scss +1 -4
  78. package/styles/pivotfieldlist/_bootstrap5-definition.scss +8 -11
  79. package/styles/pivotfieldlist/_fabric-dark-definition.scss +1 -4
  80. package/styles/pivotfieldlist/_fabric-definition.scss +1 -4
  81. package/styles/pivotfieldlist/_fluent-definition.scss +177 -0
  82. package/styles/pivotfieldlist/_highcontrast-definition.scss +1 -4
  83. package/styles/pivotfieldlist/_highcontrast-light-definition.scss +1 -4
  84. package/styles/pivotfieldlist/_layout.scss +199 -109
  85. package/styles/pivotfieldlist/_material-dark-definition.scss +1 -4
  86. package/styles/pivotfieldlist/_material-definition.scss +1 -4
  87. package/styles/pivotfieldlist/_tailwind-definition.scss +6 -9
  88. package/styles/pivotfieldlist/_theme.scss +213 -47
  89. package/styles/pivotfieldlist/bootstrap-dark.css +79 -72
  90. package/styles/pivotfieldlist/bootstrap.css +79 -72
  91. package/styles/pivotfieldlist/bootstrap4.css +74 -53
  92. package/styles/pivotfieldlist/bootstrap5-dark.css +145 -103
  93. package/styles/pivotfieldlist/bootstrap5.css +145 -103
  94. package/styles/pivotfieldlist/fabric-dark.css +79 -72
  95. package/styles/pivotfieldlist/fabric.css +79 -72
  96. package/styles/pivotfieldlist/highcontrast-light.css +79 -72
  97. package/styles/pivotfieldlist/highcontrast.css +79 -72
  98. package/styles/pivotfieldlist/icons/_bootstrap5.scss +2 -2
  99. package/styles/pivotfieldlist/icons/_fluent.scss +352 -0
  100. package/styles/pivotfieldlist/icons/_tailwind.scss +2 -2
  101. package/styles/pivotfieldlist/material-dark.css +74 -67
  102. package/styles/pivotfieldlist/material.css +74 -67
  103. package/styles/pivotfieldlist/tailwind-dark.css +168 -95
  104. package/styles/pivotfieldlist/tailwind.css +170 -97
  105. package/styles/pivotview/_bootstrap-dark-definition.scss +9 -6
  106. package/styles/pivotview/_bootstrap-definition.scss +9 -6
  107. package/styles/pivotview/_bootstrap4-definition.scss +10 -7
  108. package/styles/pivotview/_bootstrap5-definition.scss +12 -9
  109. package/styles/pivotview/_fabric-dark-definition.scss +8 -5
  110. package/styles/pivotview/_fabric-definition.scss +7 -4
  111. package/styles/pivotview/_fluent-definition.scss +126 -0
  112. package/styles/pivotview/_highcontrast-definition.scss +8 -5
  113. package/styles/pivotview/_highcontrast-light-definition.scss +7 -4
  114. package/styles/pivotview/_layout.scss +119 -64
  115. package/styles/pivotview/_material-dark-definition.scss +7 -4
  116. package/styles/pivotview/_material-definition.scss +8 -4
  117. package/styles/pivotview/_tailwind-definition.scss +8 -5
  118. package/styles/pivotview/_theme.scss +124 -70
  119. package/styles/pivotview/bootstrap-dark.css +66 -46
  120. package/styles/pivotview/bootstrap.css +66 -46
  121. package/styles/pivotview/bootstrap4.css +70 -42
  122. package/styles/pivotview/bootstrap5-dark.css +99 -73
  123. package/styles/pivotview/bootstrap5-dark.scss +0 -1
  124. package/styles/pivotview/bootstrap5.css +100 -72
  125. package/styles/pivotview/fabric-dark.css +68 -45
  126. package/styles/pivotview/fabric.css +66 -44
  127. package/styles/pivotview/highcontrast-light.css +67 -44
  128. package/styles/pivotview/highcontrast.css +69 -46
  129. package/styles/pivotview/icons/_bootstrap4.scss +1 -1
  130. package/styles/pivotview/icons/_bootstrap5.scss +1 -1
  131. package/styles/pivotview/icons/_fluent.scss +183 -0
  132. package/styles/pivotview/icons/_tailwind.scss +1 -1
  133. package/styles/pivotview/material-dark.css +64 -44
  134. package/styles/pivotview/material.css +64 -44
  135. package/styles/pivotview/tailwind-dark.css +106 -58
  136. package/styles/pivotview/tailwind-dark.scss +0 -1
  137. package/styles/pivotview/tailwind.css +107 -57
  138. package/styles/tailwind-dark.css +280 -159
  139. package/styles/tailwind.css +277 -154
@@ -0,0 +1,76 @@
1
+ ### Bug description
2
+
3
+ Clearly and concisely describe the problem or feature (this cannot be empty).
4
+
5
+ ### Root cause
6
+
7
+ Briefly describe the root cause and analysis of the problem.
8
+ If there is an internal discussion on the forum, provide the link.
9
+
10
+ ### Reason for not identifying earlier
11
+
12
+ Find how it was missed in our earlier testing and development by analysing the below checklist. This will help prevent similar mistakes in the future.
13
+
14
+ - [ ] Guidelines/documents are not followed
15
+
16
+ - Common guidelines / Core team guideline
17
+ - Specification document
18
+ - Requirement document
19
+
20
+ - [ ] Guidelines/documents are not given
21
+
22
+
23
+ - Common guidelines / Core team guideline
24
+ - Specification document
25
+ - Requirement document
26
+
27
+
28
+ ### Reason:
29
+
30
+ Mention any one or more reasons from the above points.
31
+
32
+ ### Action taken:
33
+
34
+ What action did you take to avoid this in future?
35
+
36
+ ### Related areas:
37
+
38
+ Is there any other related areas also to be addressed?
39
+
40
+ ### Is it a breaking issue?
41
+
42
+ If it is a breaking issue, provide the commit detail which caused this break.
43
+
44
+ ### Solution description
45
+
46
+ Describe your code changes in detail for reviewers.
47
+
48
+ ### Output screenshots
49
+
50
+ Post the output screenshots if an UI is affected or added due to this bug.
51
+
52
+ ### Areas affected and ensured
53
+
54
+ List the areas affected by your code changes.
55
+
56
+ ```md
57
+ Note: Ensure this from feature matrix
58
+ ```
59
+ [Feature Matrix](https://syncfusion.atlassian.net/wiki/spaces/BI/pages/1151566023/EJ2+Pivot+Table+-+Feature+matrix)
60
+
61
+ ### Additional checklist
62
+
63
+ ```md
64
+ Note: Don’t delete the template here. If they are not applicable keep them unchecked
65
+ ```
66
+ * [ ] Code doesn’t have memory leak.
67
+ * [ ] Have you added or updated API comments if it is new API or behavior change?
68
+ * [ ] Localization aspect ensured?
69
+ * [ ] Globalization aspect ensured. Ensure culture based testing?
70
+ * [ ] If changes are made in theme file, did you updated all themes.
71
+ * [ ] Feature matrix
72
+ * [ ] Web accessibility
73
+ * [ ] Responsive with different devices
74
+ * [ ] Touch support, Keyboard
75
+ * [ ] RTL
76
+ * [ ] Cross browsers[Chrome, Firefox, IE, Opera, Safari]
@@ -0,0 +1,56 @@
1
+ ### Feature description
2
+
3
+ Clearly and concisely describe the problem or feature (this cannot be empty).
4
+
5
+ ### Analysis and design
6
+
7
+ If there is an external design, link to its project documentation area.
8
+ If there is an internal discussion on the forum, provide the link.
9
+
10
+ ### Solution description
11
+
12
+ Describe your code changes in detail for reviewers.
13
+
14
+ ### Output screenshots
15
+
16
+ Post the output screenshots if an UI is affected or added due to this feature.
17
+
18
+ ### Areas affected and ensured
19
+
20
+ List the areas affected by your code changes.
21
+
22
+ ```md
23
+ Note: Ensure this from feature matrix
24
+ ```
25
+
26
+ [Feature Matrix](https://syncfusion.atlassian.net/wiki/spaces/BI/pages/1151566023/EJ2+Pivot+Table+-+Feature+matrix)
27
+
28
+ ### Test cases
29
+
30
+ Provide the unit testing written file details to understand the use cases considered in this implementation.
31
+ If there is no TDD (if it’s not possible to follow), provide the UI automation script location and the Excel file that contains the use cases considered in this implementation.
32
+ Provide the test cases Excel file alone if the feature cannot be automated in any case.
33
+
34
+ ### Test bed sample location
35
+
36
+ Provide the test bed sample location where code reviewers can review the new feature’s behaviors. This depends on the CI process that your team follows. It can be from NPMCI, HockeyApp, staging site, local server, etc.
37
+
38
+ For Merge Request Template use this file: feature-request-template.md
39
+
40
+ ### Additional checklist
41
+
42
+ ```md
43
+ Note: Don’t delete the template here. If they are not applicable keep them unchecked
44
+ ```
45
+
46
+ * [ ] Code doesn’t have memory leak.
47
+ * [ ] Have you added or updated API comments if it is new API or behavior change?
48
+ * [ ] Localization aspect ensured?
49
+ * [ ] Globalization aspect ensured. Ensure culture based testing?
50
+ * [ ] If changes are made in theme files, did you updated in all themes.
51
+ * [ ] Feature matrix
52
+ * [ ] Web accessibility
53
+ * [ ] Responsive with different devices
54
+ * [ ] Touch support, Keyboard
55
+ * [ ] RTL
56
+ * [ ] Cross browsers[Chrome, Firefox, IE, Opera, Safari]
package/CHANGELOG.md CHANGED
@@ -2,36 +2,51 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ## 19.3.55 (2021-11-23)
6
-
7
5
  ### Pivot Table
8
6
 
9
7
  #### Bug Fixes
10
8
 
11
- - The pivot table can now be properly exported to an pdf file with two levels of columns.
9
+ - `#SF-359726` - When exporting the Pivot Table to PDF format, styles can now be properly applied to the header and footer.
10
+ - `#SF-359726` - When exporting the Pivot Table to Excel format, the headers are now properly shown.
12
11
 
13
- ## 19.3.53 (2021-11-12)
12
+ ## 19.4.41 (2022-01-04)
14
13
 
15
14
  ### Pivot Table
16
15
 
17
16
  #### Bug Fixes
18
17
 
19
- - The Pivot Table can now be exported properly with static field list.
18
+ - `#I340908` - In Firefox browser, the Pivot Table is now refreshed properly with virtual scrolling.
20
19
 
21
- #### New Features
20
+ ## 19.4.40 (2021-12-28)
22
21
 
23
- - `#I343343` - Provided support to render value totals alone when no field in row axis.
22
+ ### Pivot Table
24
23
 
25
- ## 19.3.48 (2021-11-02)
24
+ #### Bug Fixes
25
+
26
+ - The Pivot Chart is now properly shown with the default value of the "zoomFactor" property.
27
+
28
+ ## 19.4.38 (2021-12-17)
26
29
 
27
30
  ### Pivot Table
28
31
 
29
32
  #### Bug Fixes
30
33
 
31
- - While no fields are bound in the values axis, the empty pivot table is now properly displayed.
32
- - Even the value fields starts with the same unique name (fieldName), the Pivot Table values are now properly displayed.
34
+ - `#I349396` - When the virtual scrolling feature is enabled, as well as when members are filtered, the Pivot Table can now be rendered properly.
35
+ - `#I340539` - In Angular, the bundle size for Pivot Table has been reduced.
36
+ - `#I347116` - With the toolbar UI, the Pivot Chart is now refreshed properly.
37
+ - `#I347116` - With the Pivot Chart's default settings, its labels are displayed properly.
38
+ - `#I348183` - While performing value sorting with a single measure, the Pivot Table will now be rendered properly.
39
+ - `#I348952` - In the pivot table, the tooltip for string fields is now properly displayed.
40
+ - `#F170928` - When using the virtual scrolling feature, the calculated field buttons with edit option inside grouping bar and field list layout are now properly displayed.
41
+ - `#F170654` - The caption in the grouping field buttons within the grouping bar and field list layout is now displayed properly.
42
+
43
+ #### New Features
44
+
45
+ - `#I295658`, `#I320675`, `#I329355`, `#F158271`, `#F158475` - Provided support to display summarized totals (grand totals) either at the first or last position in the Pivot Table's row and column axes.
46
+ - `#I327744` - Provided support to align text for specific column headers.
47
+ - `#F159996` - Provided action begin and complete events to identify UI actions in the Pivot Table such as drill down/up, value sorting, grouping bar and field list UI actions, and CRUD operations. If the UI actions do not achieve the desired result, the action failure event is triggered.
33
48
 
34
- ## 19.3.47 (2021-10-26)
49
+ ## 19.3.46 (2021-10-19)
35
50
 
36
51
  ### Pivot Table
37
52
 
@@ -39,13 +54,11 @@
39
54
 
40
55
  - `#I345673` - Even the value fields starts with the same caption, the Pivot Table values are now properly displayed.
41
56
 
42
- ## 19.3.46 (2021-10-19)
43
-
44
57
  ### Pivot Table
45
58
 
46
59
  #### Bug Fixes
47
60
 
48
- - `#I345297` - While clicking the value sorting icon, the "cellClick" event is now properly triggered.
61
+ - `#I345297` - While clicking the value sorting icon, the cell click event is now properly triggered.
49
62
  - `#I342886` - The "Calculated Field" feature in the pivot table now works properly in Angular production mode.
50
63
 
51
64
  ## 19.3.44 (2021-10-05)
@@ -55,9 +68,9 @@
55
68
  #### Bug Fixes
56
69
 
57
70
  - `#F168308` - The pivot table can now be rendered properly with custom number formats.
58
- - `#I339705` - When the virtualization feature is used, the pivot table can now be rendered properly without an unnecessary horizontal scrollbar when the content does not require it.
71
+ - `#I339705` - When the virtual scrolling feature is used, the pivot table can now be rendered properly without an unnecessary horizontal scrollbar when the content does not require it.
59
72
  - `#I341987` - The pivot table can now be rendered properly while perform filtering with OLAP data source.
60
- - `#I342221` - The pivot table can now be rendered properly while applying date grouing through UI.
73
+ - `#I342221` - The pivot table can now be rendered properly while applying date grouping through UI.
61
74
  - The column headers are now displayed properly while perform resizing.
62
75
  - `#I342221` - The pivot table can now be rendered properly while perform member filtering with an empty header.
63
76
 
@@ -79,7 +92,7 @@
79
92
 
80
93
  #### Bug Fixes
81
94
 
82
- - `#I337487` - Now the field's caption can be changed dynamically using the value field settings dialog.
95
+ - `#I337487` - Now the field's caption can be changed dynamically using the value field settings pop-up.
83
96
  - `#F167449` - Now the fields panel has been refreshed properly with toolbar UI.
84
97
 
85
98
  ## 19.2.51 (2021-08-03)
@@ -88,9 +101,9 @@
88
101
 
89
102
  #### Bug Fixes
90
103
 
91
- - `#F166428` - Issue while resizing column with virtualization in the pivot table has been resolved.
92
- - `#336591`,`#337082` - When using the virtualization feature, the pivot table columns are now properly displayed when scrolling horizontally.
93
- - `#337082` - The pivot table is now properly displayed when scrolling horizontally while filtering is applied when using the virtualization feature.
104
+ - `#F166428` - Issue while resizing column with virtual scrolling in the pivot table has been resolved.
105
+ - `#336591`,`#337082` - When using the virtual scrolling feature, the pivot table columns are now properly displayed when scrolling horizontally.
106
+ - `#337082` - The pivot table is now properly displayed when scrolling horizontally while filtering is applied when using the virtual scrolling feature.
94
107
 
95
108
  ## 19.2.49 (2021-07-27)
96
109
 
@@ -106,9 +119,9 @@
106
119
  ## 19.2.48 (2021-07-20)
107
120
 
108
121
  ### Pivot Table
109
-
122
+
110
123
  #### Bug Fixes
111
-
124
+
112
125
  - `#327131` - Now the number format issue for empty cells in excel exporting has been fixed.
113
126
 
114
127
  ## 19.2.46 (2021-07-06)
@@ -141,8 +154,8 @@
141
154
 
142
155
  #### Bug Fixes
143
156
 
144
- - The drill through dialog now be showed the correct raw items when we filtering applied in fields in filter axis.
145
- - The drill through dialog can now be openend when we bind measures in row axis.
157
+ - The drill through pop-up now be showed the correct raw items when we filtering applied in fields in filter axis.
158
+ - The drill through pop-up can now be open when we bind measures in row axis.
146
159
 
147
160
  ## 18.2.54 (2020-08-18)
148
161
 
@@ -150,14 +163,14 @@
150
163
 
151
164
  #### Bug Fixes
152
165
 
153
- - Now drill-through dialog can be opened when the measures are placed in row axis.
166
+ - Now drill-through pop-up can be open when the measures are placed in row axis.
154
167
 
155
168
  #### New Features
156
169
 
157
170
  - `#260352`,`#276917`,`#280407`,`#281842` - Provided an option to do the aggregation in server side and the rendering part alone will be done in client side. It is to improve the performance while binding huge size of data from remote server.
158
171
  - `#279727` - Provided support to sort the alphanumeric field members.
159
- - `#F155279` - Provided an option to restrict the drill-through dialog to display.
160
- - `#281462`,`#282526`,`#287070` - Provided an option to edit the aggregated cells directly (inline editing) without opening editing dialog.
172
+ - `#F155279` - Provided an option to restrict the drill-through pop-up to display.
173
+ - `#281462`,`#282526`,`#287070` - Provided an option to edit the aggregated cells directly (inline editing) without opening editing pop-up.
161
174
  - `#283107` - Provided template support in toolbar panel to create custom toolbar option.
162
175
  - `#284800` - Introduced an event to get the edited raw data information after the editing operation.
163
176
 
package/README.md CHANGED
@@ -59,4 +59,4 @@ Check the license detail [here](https://github.com/syncfusion/ej2-javascript-ui-
59
59
 
60
60
  Check the changelog [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/pivotview/CHANGELOG.md?utm_source=npm&utm_campaign=pivot-grid)
61
61
 
62
- © Copyright 2019 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
62
+ © Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.