@syncfusion/ej2-pivotview 19.3.57 → 19.4.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) 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 +26 -38
  4. package/dist/ej2-pivotview.umd.min.js +2 -2
  5. package/dist/ej2-pivotview.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-pivotview.es2015.js +2026 -1092
  7. package/dist/es6/ej2-pivotview.es2015.js.map +1 -1
  8. package/dist/es6/ej2-pivotview.es5.js +2042 -1102
  9. package/dist/es6/ej2-pivotview.es5.js.map +1 -1
  10. package/dist/global/ej2-pivotview.min.js +2 -2
  11. package/dist/global/ej2-pivotview.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/package.json +22 -22
  14. package/src/base/engine.d.ts +17 -1
  15. package/src/base/engine.js +70 -27
  16. package/src/base/export-util.d.ts +17 -0
  17. package/src/base/export-util.js +245 -0
  18. package/src/base/olap/engine.d.ts +7 -0
  19. package/src/base/olap/engine.js +138 -35
  20. package/src/base/util.d.ts +0 -9
  21. package/src/base/util.js +2 -215
  22. package/src/common/actions/field-list.js +1 -1
  23. package/src/common/actions/pivot-button.d.ts +5 -8
  24. package/src/common/actions/pivot-button.js +187 -171
  25. package/src/common/base/constant.d.ts +186 -0
  26. package/src/common/base/constant.js +186 -0
  27. package/src/common/base/css-constant.d.ts +2 -0
  28. package/src/common/base/css-constant.js +2 -0
  29. package/src/common/base/enum.d.ts +11 -0
  30. package/src/common/base/interface.d.ts +272 -2
  31. package/src/common/calculatedfield/calculated-field.js +108 -93
  32. package/src/common/conditionalformatting/conditional-formatting.js +8 -2
  33. package/src/common/grouping-bar/grouping-bar.js +1 -1
  34. package/src/common/popups/aggregate-menu.js +57 -35
  35. package/src/common/popups/drillthrough-dialog.js +187 -139
  36. package/src/common/popups/filter-dialog.d.ts +1 -0
  37. package/src/common/popups/filter-dialog.js +22 -1
  38. package/src/common/popups/formatting-dialog.js +4 -0
  39. package/src/common/popups/grouping.js +2 -1
  40. package/src/common/popups/toolbar.js +305 -203
  41. package/src/pivotchart/base/pivotchart.js +36 -15
  42. package/src/pivotfieldlist/base/field-list-model.d.ts +49 -1
  43. package/src/pivotfieldlist/base/field-list.d.ts +55 -1
  44. package/src/pivotfieldlist/base/field-list.js +68 -1
  45. package/src/pivotfieldlist/renderer/dialog-renderer.js +38 -15
  46. package/src/pivotfieldlist/renderer/tree-renderer.js +35 -22
  47. package/src/pivotview/actions/drill-through.js +1 -1
  48. package/src/pivotview/actions/excel-export.js +9 -7
  49. package/src/pivotview/actions/pdf-export.js +3 -3
  50. package/src/pivotview/base/pivotview-model.d.ts +46 -1
  51. package/src/pivotview/base/pivotview.d.ts +56 -2
  52. package/src/pivotview/base/pivotview.js +288 -107
  53. package/src/pivotview/model/chartsettings-model.d.ts +1 -1
  54. package/src/pivotview/model/chartsettings.d.ts +1 -1
  55. package/src/pivotview/model/chartsettings.js +1 -1
  56. package/src/pivotview/model/datasourcesettings-model.d.ts +8 -1
  57. package/src/pivotview/model/datasourcesettings.d.ts +7 -0
  58. package/src/pivotview/model/datasourcesettings.js +3 -0
  59. package/src/pivotview/renderer/render.d.ts +2 -1
  60. package/src/pivotview/renderer/render.js +39 -6
  61. package/styles/bootstrap-dark.css +115 -104
  62. package/styles/bootstrap.css +115 -104
  63. package/styles/bootstrap4.css +114 -81
  64. package/styles/bootstrap5-dark.css +220 -168
  65. package/styles/bootstrap5.css +215 -161
  66. package/styles/fabric-dark.css +117 -103
  67. package/styles/fabric.css +115 -102
  68. package/styles/highcontrast-light.css +116 -102
  69. package/styles/highcontrast.css +118 -104
  70. package/styles/material-dark.css +108 -97
  71. package/styles/material.css +108 -97
  72. package/styles/pivotfieldlist/_bootstrap-dark-definition.scss +1 -4
  73. package/styles/pivotfieldlist/_bootstrap-definition.scss +1 -4
  74. package/styles/pivotfieldlist/_bootstrap4-definition.scss +1 -4
  75. package/styles/pivotfieldlist/_bootstrap5-definition.scss +8 -11
  76. package/styles/pivotfieldlist/_fabric-dark-definition.scss +1 -4
  77. package/styles/pivotfieldlist/_fabric-definition.scss +1 -4
  78. package/styles/pivotfieldlist/_fluent-definition.scss +177 -0
  79. package/styles/pivotfieldlist/_highcontrast-definition.scss +1 -4
  80. package/styles/pivotfieldlist/_highcontrast-light-definition.scss +1 -4
  81. package/styles/pivotfieldlist/_layout.scss +199 -109
  82. package/styles/pivotfieldlist/_material-dark-definition.scss +1 -4
  83. package/styles/pivotfieldlist/_material-definition.scss +1 -4
  84. package/styles/pivotfieldlist/_tailwind-definition.scss +6 -9
  85. package/styles/pivotfieldlist/_theme.scss +185 -35
  86. package/styles/pivotfieldlist/bootstrap-dark.css +49 -58
  87. package/styles/pivotfieldlist/bootstrap.css +49 -58
  88. package/styles/pivotfieldlist/bootstrap4.css +44 -39
  89. package/styles/pivotfieldlist/bootstrap5-dark.css +115 -89
  90. package/styles/pivotfieldlist/bootstrap5.css +115 -89
  91. package/styles/pivotfieldlist/fabric-dark.css +49 -58
  92. package/styles/pivotfieldlist/fabric.css +49 -58
  93. package/styles/pivotfieldlist/highcontrast-light.css +49 -58
  94. package/styles/pivotfieldlist/highcontrast.css +49 -58
  95. package/styles/pivotfieldlist/icons/_bootstrap5.scss +2 -2
  96. package/styles/pivotfieldlist/icons/_fluent.scss +352 -0
  97. package/styles/pivotfieldlist/icons/_tailwind.scss +2 -2
  98. package/styles/pivotfieldlist/material-dark.css +44 -53
  99. package/styles/pivotfieldlist/material.css +44 -53
  100. package/styles/pivotfieldlist/tailwind-dark.css +138 -81
  101. package/styles/pivotfieldlist/tailwind.css +140 -83
  102. package/styles/pivotview/_bootstrap-dark-definition.scss +9 -6
  103. package/styles/pivotview/_bootstrap-definition.scss +9 -6
  104. package/styles/pivotview/_bootstrap4-definition.scss +10 -7
  105. package/styles/pivotview/_bootstrap5-definition.scss +12 -9
  106. package/styles/pivotview/_fabric-dark-definition.scss +8 -5
  107. package/styles/pivotview/_fabric-definition.scss +7 -4
  108. package/styles/pivotview/_fluent-definition.scss +126 -0
  109. package/styles/pivotview/_highcontrast-definition.scss +8 -5
  110. package/styles/pivotview/_highcontrast-light-definition.scss +7 -4
  111. package/styles/pivotview/_layout.scss +119 -64
  112. package/styles/pivotview/_material-dark-definition.scss +7 -4
  113. package/styles/pivotview/_material-definition.scss +8 -4
  114. package/styles/pivotview/_tailwind-definition.scss +8 -5
  115. package/styles/pivotview/_theme.scss +124 -70
  116. package/styles/pivotview/bootstrap-dark.css +66 -46
  117. package/styles/pivotview/bootstrap.css +66 -46
  118. package/styles/pivotview/bootstrap4.css +70 -42
  119. package/styles/pivotview/bootstrap5-dark.css +99 -73
  120. package/styles/pivotview/bootstrap5-dark.scss +0 -1
  121. package/styles/pivotview/bootstrap5.css +100 -72
  122. package/styles/pivotview/fabric-dark.css +68 -45
  123. package/styles/pivotview/fabric.css +66 -44
  124. package/styles/pivotview/highcontrast-light.css +67 -44
  125. package/styles/pivotview/highcontrast.css +69 -46
  126. package/styles/pivotview/icons/_bootstrap4.scss +1 -1
  127. package/styles/pivotview/icons/_bootstrap5.scss +1 -1
  128. package/styles/pivotview/icons/_fluent.scss +183 -0
  129. package/styles/pivotview/icons/_tailwind.scss +1 -1
  130. package/styles/pivotview/material-dark.css +64 -44
  131. package/styles/pivotview/material.css +64 -44
  132. package/styles/pivotview/tailwind-dark.css +106 -58
  133. package/styles/pivotview/tailwind-dark.scss +0 -1
  134. package/styles/pivotview/tailwind.css +107 -57
  135. package/styles/tailwind-dark.css +250 -145
  136. 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
@@ -2,36 +2,26 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ## 19.3.55 (2021-11-23)
6
-
7
- ### Pivot Table
8
-
9
- #### Bug Fixes
10
-
11
- - The pivot table can now be properly exported to an pdf file with two levels of columns.
12
-
13
- ## 19.3.53 (2021-11-12)
14
-
15
5
  ### Pivot Table
16
6
 
17
7
  #### Bug Fixes
18
8
 
19
- - The Pivot Table can now be exported properly with static field list.
9
+ - `#I349396` - When the virtual scrolling feature is enabled, as well as when members are filtered, the Pivot Table can now be rendered properly.
10
+ - `#I340539` - In Angular, the bundle size for Pivot Table has been reduced.
11
+ - `#I347116` - With the toolbar UI, the Pivot Chart is now refreshed properly.
12
+ - `#I347116` - With the Pivot Chart's default settings, its labels are displayed properly.
13
+ - `#I348183` - While performing value sorting with a single measure, the Pivot Table will now be rendered properly.
14
+ - `#I348952` - In the pivot table, the tooltip for string fields is now properly displayed.
15
+ - `#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.
16
+ - `#F170654` - The caption in the grouping field buttons within the grouping bar and field list layout is now displayed properly.
20
17
 
21
18
  #### New Features
22
19
 
23
- - `#I343343` - Provided support to render value totals alone when no field in row axis.
24
-
25
- ## 19.3.48 (2021-11-02)
26
-
27
- ### Pivot Table
28
-
29
- #### Bug Fixes
20
+ - `#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.
21
+ - `#I327744` - Provided support to align text for specific column headers.
22
+ - `#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.
30
23
 
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.
33
-
34
- ## 19.3.47 (2021-10-26)
24
+ ## 19.3.46 (2021-10-19)
35
25
 
36
26
  ### Pivot Table
37
27
 
@@ -39,13 +29,11 @@
39
29
 
40
30
  - `#I345673` - Even the value fields starts with the same caption, the Pivot Table values are now properly displayed.
41
31
 
42
- ## 19.3.46 (2021-10-19)
43
-
44
32
  ### Pivot Table
45
33
 
46
34
  #### Bug Fixes
47
35
 
48
- - `#I345297` - While clicking the value sorting icon, the "cellClick" event is now properly triggered.
36
+ - `#I345297` - While clicking the value sorting icon, the cell click event is now properly triggered.
49
37
  - `#I342886` - The "Calculated Field" feature in the pivot table now works properly in Angular production mode.
50
38
 
51
39
  ## 19.3.44 (2021-10-05)
@@ -55,9 +43,9 @@
55
43
  #### Bug Fixes
56
44
 
57
45
  - `#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.
46
+ - `#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
47
  - `#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.
48
+ - `#I342221` - The pivot table can now be rendered properly while applying date grouping through UI.
61
49
  - The column headers are now displayed properly while perform resizing.
62
50
  - `#I342221` - The pivot table can now be rendered properly while perform member filtering with an empty header.
63
51
 
@@ -79,7 +67,7 @@
79
67
 
80
68
  #### Bug Fixes
81
69
 
82
- - `#I337487` - Now the field's caption can be changed dynamically using the value field settings dialog.
70
+ - `#I337487` - Now the field's caption can be changed dynamically using the value field settings pop-up.
83
71
  - `#F167449` - Now the fields panel has been refreshed properly with toolbar UI.
84
72
 
85
73
  ## 19.2.51 (2021-08-03)
@@ -88,9 +76,9 @@
88
76
 
89
77
  #### Bug Fixes
90
78
 
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.
79
+ - `#F166428` - Issue while resizing column with virtual scrolling in the pivot table has been resolved.
80
+ - `#336591`,`#337082` - When using the virtual scrolling feature, the pivot table columns are now properly displayed when scrolling horizontally.
81
+ - `#337082` - The pivot table is now properly displayed when scrolling horizontally while filtering is applied when using the virtual scrolling feature.
94
82
 
95
83
  ## 19.2.49 (2021-07-27)
96
84
 
@@ -106,9 +94,9 @@
106
94
  ## 19.2.48 (2021-07-20)
107
95
 
108
96
  ### Pivot Table
109
-
97
+
110
98
  #### Bug Fixes
111
-
99
+
112
100
  - `#327131` - Now the number format issue for empty cells in excel exporting has been fixed.
113
101
 
114
102
  ## 19.2.46 (2021-07-06)
@@ -141,8 +129,8 @@
141
129
 
142
130
  #### Bug Fixes
143
131
 
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.
132
+ - The drill through pop-up now be showed the correct raw items when we filtering applied in fields in filter axis.
133
+ - The drill through pop-up can now be open when we bind measures in row axis.
146
134
 
147
135
  ## 18.2.54 (2020-08-18)
148
136
 
@@ -150,14 +138,14 @@
150
138
 
151
139
  #### Bug Fixes
152
140
 
153
- - Now drill-through dialog can be opened when the measures are placed in row axis.
141
+ - Now drill-through pop-up can be open when the measures are placed in row axis.
154
142
 
155
143
  #### New Features
156
144
 
157
145
  - `#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
146
  - `#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.
147
+ - `#F155279` - Provided an option to restrict the drill-through pop-up to display.
148
+ - `#281462`,`#282526`,`#287070` - Provided an option to edit the aggregated cells directly (inline editing) without opening editing pop-up.
161
149
  - `#283107` - Provided template support in toolbar panel to create custom toolbar option.
162
150
  - `#284800` - Introduced an event to get the edited raw data information after the editing operation.
163
151