@syncfusion/ej2-pivotview 19.3.53 → 19.4.40

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