@syncfusion/ej2-pivotview 19.3.55 → 19.4.41

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 +34 -28
  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 +2068 -1096
  8. package/dist/es6/ej2-pivotview.es2015.js.map +1 -1
  9. package/dist/es6/ej2-pivotview.es5.js +2084 -1106
  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 +82 -29
  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 +9 -7
  50. package/src/pivotview/actions/pdf-export.js +3 -3
  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 +311 -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 +115 -104
  65. package/styles/bootstrap.css +115 -104
  66. package/styles/bootstrap4.css +114 -81
  67. package/styles/bootstrap5-dark.css +220 -168
  68. package/styles/bootstrap5.css +215 -161
  69. package/styles/fabric-dark.css +117 -103
  70. package/styles/fabric.css +115 -102
  71. package/styles/highcontrast-light.css +116 -102
  72. package/styles/highcontrast.css +118 -104
  73. package/styles/material-dark.css +108 -97
  74. package/styles/material.css +108 -97
  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 +185 -35
  89. package/styles/pivotfieldlist/bootstrap-dark.css +49 -58
  90. package/styles/pivotfieldlist/bootstrap.css +49 -58
  91. package/styles/pivotfieldlist/bootstrap4.css +44 -39
  92. package/styles/pivotfieldlist/bootstrap5-dark.css +115 -89
  93. package/styles/pivotfieldlist/bootstrap5.css +115 -89
  94. package/styles/pivotfieldlist/fabric-dark.css +49 -58
  95. package/styles/pivotfieldlist/fabric.css +49 -58
  96. package/styles/pivotfieldlist/highcontrast-light.css +49 -58
  97. package/styles/pivotfieldlist/highcontrast.css +49 -58
  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 +44 -53
  102. package/styles/pivotfieldlist/material.css +44 -53
  103. package/styles/pivotfieldlist/tailwind-dark.css +138 -81
  104. package/styles/pivotfieldlist/tailwind.css +140 -83
  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 +250 -145
  139. package/styles/tailwind.css +247 -140
@@ -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
@@ -4,32 +4,40 @@
4
4
 
5
5
  ### Pivot Table
6
6
 
7
- #### Bug Fixes
7
+ #### Bug Fixes
8
8
 
9
- - The pivot table can now be properly exported to an pdf file with two levels of columns.
9
+ - `#I340908` - In Firefox browser, the Pivot Table is now refreshed properly with virtual scrolling.
10
10
 
11
- ## 19.3.53 (2021-11-12)
11
+ ## 19.4.40 (2021-12-28)
12
12
 
13
13
  ### Pivot Table
14
14
 
15
15
  #### Bug Fixes
16
16
 
17
- - The Pivot Table can now be exported properly with static field list.
18
-
19
- #### New Features
17
+ - The Pivot Chart is now properly shown with the default value of the "zoomFactor" property.
20
18
 
21
- - `#I343343` - Provided support to render value totals alone when no field in row axis.
22
-
23
- ## 19.3.48 (2021-11-02)
19
+ ## 19.4.38 (2021-12-17)
24
20
 
25
21
  ### Pivot Table
26
22
 
27
23
  #### Bug Fixes
28
24
 
29
- - While no fields are bound in the values axis, the empty pivot table is now properly displayed.
30
- - Even the value fields starts with the same unique name (fieldName), the Pivot Table values are now properly displayed.
25
+ - `#I349396` - When the virtual scrolling feature is enabled, as well as when members are filtered, the Pivot Table can now be rendered properly.
26
+ - `#I340539` - In Angular, the bundle size for Pivot Table has been reduced.
27
+ - `#I347116` - With the toolbar UI, the Pivot Chart is now refreshed properly.
28
+ - `#I347116` - With the Pivot Chart's default settings, its labels are displayed properly.
29
+ - `#I348183` - While performing value sorting with a single measure, the Pivot Table will now be rendered properly.
30
+ - `#I348952` - In the pivot table, the tooltip for string fields is now properly displayed.
31
+ - `#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.
32
+ - `#F170654` - The caption in the grouping field buttons within the grouping bar and field list layout is now displayed properly.
33
+
34
+ #### New Features
31
35
 
32
- ## 19.3.47 (2021-10-26)
36
+ - `#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.
37
+ - `#I327744` - Provided support to align text for specific column headers.
38
+ - `#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.
39
+
40
+ ## 19.3.46 (2021-10-19)
33
41
 
34
42
  ### Pivot Table
35
43
 
@@ -37,13 +45,11 @@
37
45
 
38
46
  - `#I345673` - Even the value fields starts with the same caption, the Pivot Table values are now properly displayed.
39
47
 
40
- ## 19.3.46 (2021-10-19)
41
-
42
48
  ### Pivot Table
43
49
 
44
50
  #### Bug Fixes
45
51
 
46
- - `#I345297` - While clicking the value sorting icon, the "cellClick" event is now properly triggered.
52
+ - `#I345297` - While clicking the value sorting icon, the cell click event is now properly triggered.
47
53
  - `#I342886` - The "Calculated Field" feature in the pivot table now works properly in Angular production mode.
48
54
 
49
55
  ## 19.3.44 (2021-10-05)
@@ -53,9 +59,9 @@
53
59
  #### Bug Fixes
54
60
 
55
61
  - `#F168308` - The pivot table can now be rendered properly with custom number formats.
56
- - `#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.
62
+ - `#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.
57
63
  - `#I341987` - The pivot table can now be rendered properly while perform filtering with OLAP data source.
58
- - `#I342221` - The pivot table can now be rendered properly while applying date grouing through UI.
64
+ - `#I342221` - The pivot table can now be rendered properly while applying date grouping through UI.
59
65
  - The column headers are now displayed properly while perform resizing.
60
66
  - `#I342221` - The pivot table can now be rendered properly while perform member filtering with an empty header.
61
67
 
@@ -77,7 +83,7 @@
77
83
 
78
84
  #### Bug Fixes
79
85
 
80
- - `#I337487` - Now the field's caption can be changed dynamically using the value field settings dialog.
86
+ - `#I337487` - Now the field's caption can be changed dynamically using the value field settings pop-up.
81
87
  - `#F167449` - Now the fields panel has been refreshed properly with toolbar UI.
82
88
 
83
89
  ## 19.2.51 (2021-08-03)
@@ -86,9 +92,9 @@
86
92
 
87
93
  #### Bug Fixes
88
94
 
89
- - `#F166428` - Issue while resizing column with virtualization in the pivot table has been resolved.
90
- - `#336591`,`#337082` - When using the virtualization feature, the pivot table columns are now properly displayed when scrolling horizontally.
91
- - `#337082` - The pivot table is now properly displayed when scrolling horizontally while filtering is applied when using the virtualization feature.
95
+ - `#F166428` - Issue while resizing column with virtual scrolling in the pivot table has been resolved.
96
+ - `#336591`,`#337082` - When using the virtual scrolling feature, the pivot table columns are now properly displayed when scrolling horizontally.
97
+ - `#337082` - The pivot table is now properly displayed when scrolling horizontally while filtering is applied when using the virtual scrolling feature.
92
98
 
93
99
  ## 19.2.49 (2021-07-27)
94
100
 
@@ -104,9 +110,9 @@
104
110
  ## 19.2.48 (2021-07-20)
105
111
 
106
112
  ### Pivot Table
107
-
113
+
108
114
  #### Bug Fixes
109
-
115
+
110
116
  - `#327131` - Now the number format issue for empty cells in excel exporting has been fixed.
111
117
 
112
118
  ## 19.2.46 (2021-07-06)
@@ -139,8 +145,8 @@
139
145
 
140
146
  #### Bug Fixes
141
147
 
142
- - The drill through dialog now be showed the correct raw items when we filtering applied in fields in filter axis.
143
- - The drill through dialog can now be openend when we bind measures in row axis.
148
+ - The drill through pop-up now be showed the correct raw items when we filtering applied in fields in filter axis.
149
+ - The drill through pop-up can now be open when we bind measures in row axis.
144
150
 
145
151
  ## 18.2.54 (2020-08-18)
146
152
 
@@ -148,14 +154,14 @@
148
154
 
149
155
  #### Bug Fixes
150
156
 
151
- - Now drill-through dialog can be opened when the measures are placed in row axis.
157
+ - Now drill-through pop-up can be open when the measures are placed in row axis.
152
158
 
153
159
  #### New Features
154
160
 
155
161
  - `#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.
156
162
  - `#279727` - Provided support to sort the alphanumeric field members.
157
- - `#F155279` - Provided an option to restrict the drill-through dialog to display.
158
- - `#281462`,`#282526`,`#287070` - Provided an option to edit the aggregated cells directly (inline editing) without opening editing dialog.
163
+ - `#F155279` - Provided an option to restrict the drill-through pop-up to display.
164
+ - `#281462`,`#282526`,`#287070` - Provided an option to edit the aggregated cells directly (inline editing) without opening editing pop-up.
159
165
  - `#283107` - Provided template support in toolbar panel to create custom toolbar option.
160
166
  - `#284800` - Introduced an event to get the edited raw data information after the editing operation.
161
167
 
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.