@syncfusion/ej2-pivotview 20.2.39 → 20.2.43

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 (64) hide show
  1. package/CHANGELOG.md +14 -1
  2. package/dist/ej2-pivotview.umd.min.js +2 -2
  3. package/dist/ej2-pivotview.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-pivotview.es2015.js +274 -237
  5. package/dist/es6/ej2-pivotview.es2015.js.map +1 -1
  6. package/dist/es6/ej2-pivotview.es5.js +278 -241
  7. package/dist/es6/ej2-pivotview.es5.js.map +1 -1
  8. package/dist/global/ej2-pivotview.min.js +2 -2
  9. package/dist/global/ej2-pivotview.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +22 -22
  12. package/src/common/base/constant.d.ts +2 -0
  13. package/src/common/base/constant.js +2 -0
  14. package/src/common/base/css-constant.d.ts +2 -4
  15. package/src/common/base/css-constant.js +3 -5
  16. package/src/common/base/interface.d.ts +11 -0
  17. package/src/common/calculatedfield/calculated-field.d.ts +3 -1
  18. package/src/common/calculatedfield/calculated-field.js +163 -168
  19. package/src/common/conditionalformatting/conditional-formatting.js +4 -3
  20. package/src/common/popups/grouping.js +2 -2
  21. package/src/common/popups/toolbar.js +6 -6
  22. package/src/pivotchart/base/pivotchart.js +16 -12
  23. package/src/pivotview/actions/drill-through.js +1 -1
  24. package/src/pivotview/actions/excel-export.d.ts +1 -1
  25. package/src/pivotview/actions/excel-export.js +13 -4
  26. package/src/pivotview/actions/keyboard.js +6 -6
  27. package/src/pivotview/actions/pdf-export.d.ts +1 -1
  28. package/src/pivotview/actions/pdf-export.js +13 -2
  29. package/src/pivotview/base/pivotview-model.d.ts +7 -2
  30. package/src/pivotview/base/pivotview.d.ts +6 -2
  31. package/src/pivotview/base/pivotview.js +25 -18
  32. package/src/pivotview/renderer/render.js +24 -14
  33. package/styles/bootstrap-dark.css +22 -20
  34. package/styles/bootstrap.css +22 -20
  35. package/styles/bootstrap4.css +22 -20
  36. package/styles/bootstrap5-dark.css +22 -20
  37. package/styles/bootstrap5.css +22 -20
  38. package/styles/fabric-dark.css +22 -20
  39. package/styles/fabric.css +22 -20
  40. package/styles/fluent-dark.css +22 -20
  41. package/styles/fluent.css +22 -20
  42. package/styles/highcontrast-light.css +22 -20
  43. package/styles/highcontrast.css +22 -20
  44. package/styles/material-dark.css +22 -20
  45. package/styles/material.css +22 -20
  46. package/styles/pivotfieldlist/_layout.scss +13 -9
  47. package/styles/pivotfieldlist/_theme.scss +1 -2
  48. package/styles/pivotfieldlist/bootstrap-dark.css +22 -20
  49. package/styles/pivotfieldlist/bootstrap.css +22 -20
  50. package/styles/pivotfieldlist/bootstrap4.css +22 -20
  51. package/styles/pivotfieldlist/bootstrap5-dark.css +22 -20
  52. package/styles/pivotfieldlist/bootstrap5.css +22 -20
  53. package/styles/pivotfieldlist/fabric-dark.css +22 -20
  54. package/styles/pivotfieldlist/fabric.css +22 -20
  55. package/styles/pivotfieldlist/fluent-dark.css +22 -20
  56. package/styles/pivotfieldlist/fluent.css +22 -20
  57. package/styles/pivotfieldlist/highcontrast-light.css +22 -20
  58. package/styles/pivotfieldlist/highcontrast.css +22 -20
  59. package/styles/pivotfieldlist/material-dark.css +22 -20
  60. package/styles/pivotfieldlist/material.css +22 -20
  61. package/styles/pivotfieldlist/tailwind-dark.css +22 -20
  62. package/styles/pivotfieldlist/tailwind.css +22 -20
  63. package/styles/tailwind-dark.css +22 -20
  64. package/styles/tailwind.css +22 -20
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.2.39
3
+ * version : 20.2.43
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
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-pivotview@*",
3
- "_id": "@syncfusion/ej2-pivotview@20.2.38",
3
+ "_id": "@syncfusion/ej2-pivotview@20.2.39",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-teTnfOCRdXz/7//+6qdx0e188/v/JyqpzUZLqpm9wTTeJG4CPTI1d40nZb8fGXEY8iv6TimEHmX7yQFqcFZzsQ==",
5
+ "_integrity": "sha512-hRdfMr5Ts3MFxljVnu1VihiIMTGUSXA0dJHsV4MwCkuibFD0WhlqgEvvFPHiMLr9EMHDuPGzc35GkS8LOQ57Tg==",
6
6
  "_location": "/@syncfusion/ej2-pivotview",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,8 +23,8 @@
23
23
  "/@syncfusion/ej2-react-pivotview",
24
24
  "/@syncfusion/ej2-vue-pivotview"
25
25
  ],
26
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-pivotview/-/ej2-pivotview-20.2.38.tgz",
27
- "_shasum": "eae3e4c94e3012d3263bc0b50480dab45fc3307b",
26
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-pivotview/-/ej2-pivotview-20.2.39.tgz",
27
+ "_shasum": "47eb906e24f58332b474c2cf4c11c60ea62b9327",
28
28
  "_spec": "@syncfusion/ej2-pivotview@*",
29
29
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
30
30
  "author": {
@@ -35,23 +35,23 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~20.2.38",
39
- "@syncfusion/ej2-buttons": "~20.2.38",
40
- "@syncfusion/ej2-calendars": "~20.2.38",
41
- "@syncfusion/ej2-charts": "~20.2.38",
42
- "@syncfusion/ej2-compression": "~20.2.38",
43
- "@syncfusion/ej2-data": "~20.2.38",
44
- "@syncfusion/ej2-dropdowns": "~20.2.39",
45
- "@syncfusion/ej2-excel-export": "~20.2.39",
46
- "@syncfusion/ej2-file-utils": "~20.2.38",
47
- "@syncfusion/ej2-grids": "~20.2.39",
48
- "@syncfusion/ej2-inputs": "~20.2.38",
49
- "@syncfusion/ej2-lists": "~20.2.39",
50
- "@syncfusion/ej2-navigations": "~20.2.39",
51
- "@syncfusion/ej2-pdf-export": "~20.2.38",
52
- "@syncfusion/ej2-popups": "~20.2.39",
53
- "@syncfusion/ej2-splitbuttons": "~20.2.38",
54
- "@syncfusion/ej2-svg-base": "~20.2.38"
38
+ "@syncfusion/ej2-base": "~20.2.43",
39
+ "@syncfusion/ej2-buttons": "~20.2.43",
40
+ "@syncfusion/ej2-calendars": "~20.2.43",
41
+ "@syncfusion/ej2-charts": "~20.2.43",
42
+ "@syncfusion/ej2-compression": "~20.2.43",
43
+ "@syncfusion/ej2-data": "~20.2.43",
44
+ "@syncfusion/ej2-dropdowns": "~20.2.43",
45
+ "@syncfusion/ej2-excel-export": "~20.2.43",
46
+ "@syncfusion/ej2-file-utils": "~20.2.43",
47
+ "@syncfusion/ej2-grids": "~20.2.43",
48
+ "@syncfusion/ej2-inputs": "~20.2.43",
49
+ "@syncfusion/ej2-lists": "~20.2.43",
50
+ "@syncfusion/ej2-navigations": "~20.2.43",
51
+ "@syncfusion/ej2-pdf-export": "~20.2.43",
52
+ "@syncfusion/ej2-popups": "~20.2.43",
53
+ "@syncfusion/ej2-splitbuttons": "~20.2.43",
54
+ "@syncfusion/ej2-svg-base": "~20.2.43"
55
55
  },
56
56
  "deprecated": false,
57
57
  "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.",
@@ -78,6 +78,6 @@
78
78
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
79
79
  },
80
80
  "typings": "index.d.ts",
81
- "version": "20.2.39",
81
+ "version": "20.2.43",
82
82
  "sideEffects": false
83
83
  }
@@ -19,6 +19,8 @@ export declare const afterPivotTableRender: string;
19
19
  /** @hidden */
20
20
  export declare const beforeExport: string;
21
21
  /** @hidden */
22
+ export declare const exportComplete: string;
23
+ /** @hidden */
22
24
  export declare const excelHeaderQueryCellInfo: string;
23
25
  /** @hidden */
24
26
  export declare const pdfHeaderQueryCellInfo: string;
@@ -19,6 +19,8 @@ export var afterPivotTableRender = 'afterPivotTableRender';
19
19
  /** @hidden */
20
20
  export var beforeExport = 'beforeExport';
21
21
  /** @hidden */
22
+ export var exportComplete = 'exportComplete';
23
+ /** @hidden */
22
24
  export var excelHeaderQueryCellInfo = 'excelHeaderQueryCellInfo';
23
25
  /** @hidden */
24
26
  export var pdfHeaderQueryCellInfo = 'pdfHeaderQueryCellInfo';
@@ -339,9 +339,7 @@ export declare const CALC_FORMAT_INPUT: string;
339
339
  /** @hidden */
340
340
  export declare const CALCINPUTDIV: string;
341
341
  /** @hidden */
342
- export declare const CALC_CUSTOM_FORMAT_INPUTDIV: string;
343
- /** @hidden */
344
- export declare const OLAP_CALC_CUSTOM_FORMAT_INPUTDIV: string;
342
+ export declare const PIVOT_CALC_CUSTOM_FORMAT_INPUTDIV: string;
345
343
  /** @hidden */
346
344
  export declare const CALC_HIERARCHY_LIST_DIV: string;
347
345
  /** @hidden */
@@ -415,7 +413,7 @@ export declare const PIVOT_FORMULA_TITLE_CLASS: string;
415
413
  /** @hidden */
416
414
  export declare const OLAP_HIERARCHY_TITLE_CLASS: string;
417
415
  /** @hidden */
418
- export declare const OLAP_FORMAT_TITLE_CLASS: string;
416
+ export declare const PIVOT_FORMAT_TITLE_CLASS: string;
419
417
  /** @hidden */
420
418
  export declare const OLAP_MEMBER_TITLE_CLASS: string;
421
419
  /** @hidden */
@@ -341,13 +341,11 @@ export var CALC_FORMAT_INPUT = 'e-custom-format-input';
341
341
  /** @hidden */
342
342
  export var CALCINPUTDIV = 'e-pivot-calc-input-div';
343
343
  /** @hidden */
344
- export var CALC_CUSTOM_FORMAT_INPUTDIV = 'e-pivot-calc-custom-format-div';
345
- /** @hidden */
346
- export var OLAP_CALC_CUSTOM_FORMAT_INPUTDIV = 'e-olap-calc-custom-format-div';
344
+ export var PIVOT_CALC_CUSTOM_FORMAT_INPUTDIV = 'e-pivot-calc-custom-format-div';
347
345
  /** @hidden */
348
346
  export var CALC_HIERARCHY_LIST_DIV = 'e-olap-calc-hierarchy-list-div';
349
347
  /** @hidden */
350
- export var CALC_FORMAT_TYPE_DIV = 'e-olap-calc-format-type-div';
348
+ export var CALC_FORMAT_TYPE_DIV = 'e-pivot-calc-format-type-div';
351
349
  /** @hidden */
352
350
  export var CALC_MEMBER_TYPE_DIV = 'e-olap-calc-member-type-div';
353
351
  /** @hidden */
@@ -417,7 +415,7 @@ export var PIVOT_FORMULA_TITLE_CLASS = 'e-pivot-formula-title';
417
415
  /** @hidden */
418
416
  export var OLAP_HIERARCHY_TITLE_CLASS = 'e-olap-hierarchy-title';
419
417
  /** @hidden */
420
- export var OLAP_FORMAT_TITLE_CLASS = 'e-olap-format-title';
418
+ export var PIVOT_FORMAT_TITLE_CLASS = 'e-pivot-format-title';
421
419
  /** @hidden */
422
420
  export var OLAP_MEMBER_TITLE_CLASS = 'e-olap-member-title';
423
421
  /** @hidden */
@@ -1234,3 +1234,14 @@ export interface HeadersSortEventArgs {
1234
1234
  /** Defines an option to restrict the unwanted custom sorting operation. By default, the value is in 'false' state. */
1235
1235
  IsOrderChanged?: boolean;
1236
1236
  }
1237
+ /**
1238
+ * The export complete event arguments provide the necessary information about the exported data after completing the file export.
1239
+ */
1240
+ export interface ExportCompleteEventArgs {
1241
+ /** Defines the current export type such as PDF, Excel, and CSV. */
1242
+ type?: string;
1243
+ /** Defines the promise object for blob data. */
1244
+ promise?: Promise<{
1245
+ blobData: Blob;
1246
+ }>;
1247
+ }
@@ -36,6 +36,7 @@ export declare class CalculatedField implements IAction {
36
36
  private confirmPopUp;
37
37
  private field;
38
38
  private accordion;
39
+ private formatTypes;
39
40
  /**
40
41
  * Constructor for calculatedfield module.
41
42
  * @param {PivotView | PivotFieldList} parent - Component instance.
@@ -141,7 +142,8 @@ export declare class CalculatedField implements IAction {
141
142
  * To create treeview.
142
143
  * @returns {void}
143
144
  */
144
- private createOlapDropElements;
145
+ private createDropElements;
146
+ private getFormat;
145
147
  /**
146
148
  * To create treeview.
147
149
  * @returns {void}