@syncfusion/ej2-treemap 20.4.48 → 21.1.37

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 (32) hide show
  1. package/dist/ej2-treemap.min.js +2 -2
  2. package/dist/ej2-treemap.umd.min.js +2 -2
  3. package/dist/ej2-treemap.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-treemap.es2015.js +122 -83
  5. package/dist/es6/ej2-treemap.es2015.js.map +1 -1
  6. package/dist/es6/ej2-treemap.es5.js +122 -83
  7. package/dist/es6/ej2-treemap.es5.js.map +1 -1
  8. package/dist/global/ej2-treemap.min.js +2 -2
  9. package/dist/global/ej2-treemap.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +12 -12
  12. package/src/treemap/layout/legend.d.ts +18 -1
  13. package/src/treemap/layout/legend.js +35 -18
  14. package/src/treemap/layout/render-panel.js +9 -10
  15. package/src/treemap/model/base-model.d.ts +97 -97
  16. package/src/treemap/model/base.d.ts +110 -113
  17. package/src/treemap/model/base.js +13 -13
  18. package/src/treemap/model/constants.d.ts +1 -1
  19. package/src/treemap/model/constants.js +1 -1
  20. package/src/treemap/model/interface.d.ts +41 -38
  21. package/src/treemap/model/pdf-export.d.ts +1 -1
  22. package/src/treemap/model/pdf-export.js +1 -1
  23. package/src/treemap/treemap-model.d.ts +46 -20
  24. package/src/treemap/treemap.d.ts +73 -28
  25. package/src/treemap/treemap.js +47 -33
  26. package/src/treemap/user-interaction/highlight-selection.d.ts +2 -0
  27. package/src/treemap/user-interaction/highlight-selection.js +2 -0
  28. package/src/treemap/user-interaction/tooltip.d.ts +2 -0
  29. package/src/treemap/user-interaction/tooltip.js +7 -5
  30. package/src/treemap/utils/enum.d.ts +74 -49
  31. package/src/treemap/utils/helper.d.ts +15 -12
  32. package/src/treemap/utils/helper.js +8 -5
@@ -22,6 +22,7 @@ var TreeMapHighlight = /** @class */ (function () {
22
22
  *
23
23
  * @param {PointerEvent} e - Specifies the pointer argument.
24
24
  * @returns {boolean} - return the highlight process is true or false.
25
+ * @private
25
26
  */
26
27
  TreeMapHighlight.prototype.mouseMove = function (e) {
27
28
  var treemap = this.treemap;
@@ -233,6 +234,7 @@ var TreeMapSelection = /** @class */ (function () {
233
234
  *
234
235
  * @param {PointerEvent} e - Specifies the pointer argument.
235
236
  * @returns {void}
237
+ * @private
236
238
  */
237
239
  TreeMapSelection.prototype.mouseDown = function (e) {
238
240
  var targetEle = e.target;
@@ -16,10 +16,12 @@ export declare class TreeMapTooltip {
16
16
  removeTooltip(): void;
17
17
  /**
18
18
  * To bind events for tooltip module
19
+ * @private
19
20
  */
20
21
  addEventListener(): void;
21
22
  /**
22
23
  * To unbind events for tooltip module
24
+ * @private
23
25
  */
24
26
  removeEventListener(): void;
25
27
  /**
@@ -8,7 +8,7 @@ var __rest = (this && this.__rest) || function (s, e) {
8
8
  return t;
9
9
  };
10
10
  import { Tooltip } from '@syncfusion/ej2-svg-base';
11
- import { Browser, createElement, isNullOrUndefined } from '@syncfusion/ej2-base';
11
+ import { Browser, createElement, isNullOrUndefined, SanitizeHtmlHelper } from '@syncfusion/ej2-base';
12
12
  import { getMousePosition, textFormatter, formatValue } from '../utils/helper';
13
13
  import { tooltipRendering } from '../model/constants';
14
14
  /**
@@ -60,12 +60,12 @@ var TreeMapTooltip = /** @class */ (function () {
60
60
  markerFill = item['options']['fill'];
61
61
  }
62
62
  if (this.treemap.enableRtl) {
63
- tooltipContent = [textFormatter(this.tooltipSettings.format, toolTipData, this.treemap) ||
64
- formatValue(value, this.treemap) + ' : ' + this.treemap.weightValuePath.toString()];
63
+ tooltipContent = [SanitizeHtmlHelper.sanitize(textFormatter(this.tooltipSettings.format, toolTipData, this.treemap)) ||
64
+ SanitizeHtmlHelper.sanitize(formatValue(value, this.treemap) + ' : ' + this.treemap.weightValuePath.toString())];
65
65
  }
66
66
  else {
67
- tooltipContent = [textFormatter(this.tooltipSettings.format, toolTipData, this.treemap) ||
68
- this.treemap.weightValuePath.toString() + ' : ' + formatValue(value, this.treemap)];
67
+ tooltipContent = [SanitizeHtmlHelper.sanitize(textFormatter(this.tooltipSettings.format, toolTipData, this.treemap)) ||
68
+ SanitizeHtmlHelper.sanitize(this.treemap.weightValuePath.toString() + ' : ' + formatValue(value, this.treemap))];
69
69
  }
70
70
  if (document.getElementById(this.tooltipId)) {
71
71
  tooltipEle = document.getElementById(this.tooltipId);
@@ -163,6 +163,7 @@ var TreeMapTooltip = /** @class */ (function () {
163
163
  // eslint-disable-next-line valid-jsdoc
164
164
  /**
165
165
  * To bind events for tooltip module
166
+ * @private
166
167
  */
167
168
  TreeMapTooltip.prototype.addEventListener = function () {
168
169
  if (this.treemap.isDestroyed) {
@@ -174,6 +175,7 @@ var TreeMapTooltip = /** @class */ (function () {
174
175
  // eslint-disable-next-line valid-jsdoc
175
176
  /**
176
177
  * To unbind events for tooltip module
178
+ * @private
177
179
  */
178
180
  TreeMapTooltip.prototype.removeEventListener = function () {
179
181
  if (this.treemap.isDestroyed) {
@@ -2,35 +2,35 @@
2
2
  * Defines the position of the label in treemap leaf node.
3
3
  */
4
4
  export declare type LabelPosition =
5
- /** To show the position of the label based on the top and left of the treemap leaf nodes. */
5
+ /** Specifies to show the position of the label based on the top and left of the treemap leaf nodes. */
6
6
  'TopLeft' |
7
- /** To show the position of the label based on the top and center of the treemap leaf nodes. */
7
+ /** Specifies to show the position of the label based on the top and center of the treemap leaf nodes. */
8
8
  'TopCenter' |
9
- /** To show the position of the label based on the top and right of the treemap leaf nodes. */
9
+ /** Specifies to show the position of the label based on the top and right of the treemap leaf nodes. */
10
10
  'TopRight' |
11
- /** To show the position of the label based on the center and left of the treemap leaf nodes. */
11
+ /** Specifies to show the position of the label based on the center and left of the treemap leaf nodes. */
12
12
  'CenterLeft' |
13
- /** To show the position of the label based on the center of the treemap leaf nodes. */
13
+ /** Specifies to show the position of the label based on the center of the treemap leaf nodes. */
14
14
  'Center' |
15
- /** To show the position of the label based on the center and right of the treemap leaf nodes. */
15
+ /** Specifies to show the position of the label based on the center and right of the treemap leaf nodes. */
16
16
  'CenterRight' |
17
- /** To show the position of the label based on the bottom and left of the treemap leaf nodes. */
17
+ /** Specifies to show the position of the label based on the bottom and left of the treemap leaf nodes. */
18
18
  'BottomLeft' |
19
- /** To show the position of the label based on the bottom and center of the treemap leaf nodes. */
19
+ /** Specifies to show the position of the label based on the bottom and center of the treemap leaf nodes. */
20
20
  'BottomCenter' |
21
- /** To show the position of the label based on the bottom and right of the treemap leaf nodes. */
21
+ /** Specifies to show the position of the label based on the bottom and right of the treemap leaf nodes. */
22
22
  'BottomRight';
23
23
  /**
24
24
  * Specifies the layout rendering mode of the treemap.
25
25
  */
26
26
  export declare type LayoutMode =
27
- /** This visualizes the treemap as the nested rectangles having size proportionate to weight value */
27
+ /** This visualizes the treemap as the nested rectangles having size proportionate to weight value. */
28
28
  'Squarified' |
29
- /** This visualizes the treemap as the horizontal rectangles having size proportionate to weight value */
29
+ /** This visualizes the treemap as the horizontal rectangles having size proportionate to weight value. */
30
30
  'SliceAndDiceHorizontal' |
31
- /** This visualizes the treemap as the vertical rectangles having size proportionate to weight value */
31
+ /** This visualizes the treemap as the vertical rectangles having size proportionate to weight value. */
32
32
  'SliceAndDiceVertical' |
33
- /** This visualizes the treemap as the auto rectangles having size proportionate to weight value */
33
+ /** This visualizes the treemap rectangles having size proportionate to weight value. This type automatically provides the orientation based on the size of the treemap. */
34
34
  'SliceAndDiceAuto';
35
35
  /**
36
36
  * Specifies the alignment of the elements in the treemap.
@@ -48,11 +48,11 @@ export declare type Alignment =
48
48
  export declare type HighLightMode =
49
49
  /** Highlights the treemap item when the mouse over is done on the treemap item. */
50
50
  'Item' |
51
- /** Highlights the treemap item and level when the mouse over is done on the treemap item. */
51
+ /** Highlights the treemap item and all its children when the mouse over is done on the treemap item. */
52
52
  'Child' |
53
- /** Highlights the treemap item and parent level when the mouse over is done on the treemap item. */
53
+ /** Highlights the treemap item and all its parent levels when the mouse over is done on the treemap item. */
54
54
  'Parent' |
55
- /** Highlights all the related nodes when the mouse over is done on the treemap item. */
55
+ /** Highlights all the related nodes such as child and parent when the mouse over is done on the treemap item. */
56
56
  'All';
57
57
  /**
58
58
  * Specifies the element which must be selected when click event is performed in treemap.
@@ -60,38 +60,38 @@ export declare type HighLightMode =
60
60
  export declare type SelectionMode =
61
61
  /** Selects the treemap item when the click operation is done on the treemap item. */
62
62
  'Item' |
63
- /** Selects the treemap item and level when the click operation is done on the treemap item. */
63
+ /** Selects the treemap item and all its children when the click operation is done on the treemap item. */
64
64
  'Child' |
65
- /** Selects the treemap item and parent level when the click operation is done on the treemap item.. */
65
+ /** Selects the treemap item and all its parent levels when the click operation is done on the treemap item.. */
66
66
  'Parent' |
67
- /** Selects all the related nodes when the click operation is done on the treemap item. */
67
+ /** Selects all the related nodes such as child and parent when the click operation is done on the treemap item. */
68
68
  'All';
69
69
  /**
70
- * Specifies the export type for the treemap
70
+ * Specifies the export type for the treemap.
71
71
  */
72
72
  export declare type ExportType =
73
- /** Specifies the rendered treemap to be exported in the png format. */
73
+ /** Specifies that the rendered treemap is to be exported in the PNG format. */
74
74
  'PNG' |
75
- /** Specifies the rendered treemap to be exported in the jpeg format. */
75
+ /** Specifies that the rendered treemap is to be exported in the JPEG format. */
76
76
  'JPEG' |
77
- /** Specifies the rendered treemap to be exported in the svg format. */
77
+ /** Specifies that the rendered treemap is to be exported in the SVG format. */
78
78
  'SVG' |
79
- /** Specifies the rendered treemap to be exported in the pdf format. */
79
+ /** Specifies that the rendered treemap is to be exported in the PDF format. */
80
80
  'PDF';
81
81
  /**
82
- * Defines the text to be placed within the defined margins.
82
+ * Defines the action of the label to be placed within the defined margins.
83
83
  */
84
84
  export declare type LabelAlignment =
85
- /** Specifies that the data label will trim if exceeded the defined margins. */
85
+ /** Specifies that the label will be trimmed if it exceeds the defined margins. */
86
86
  'Trim' |
87
- /** Specifies that the data label will hide if exceeded the defined margins. */
87
+ /** Specifies that the label will be hidden if it exceeds the defined margins. */
88
88
  'Hide' |
89
- /** Specifies the word to force all text to fit within the defined margins. */
89
+ /** Specifies that the label will be wrapped by word to fit within the defined margins. */
90
90
  'WrapByWord' |
91
91
  /** Specifies to wrap the data label if exceed the defined margins. */
92
92
  'Wrap';
93
93
  /**
94
- * Defines the shape of legend in the treemap component.
94
+ * Defines the shape of legend item in the treemap.
95
95
  */
96
96
  export declare type LegendShape =
97
97
  /** Defines the legend shape as circle. */
@@ -117,7 +117,7 @@ export declare type LegendShape =
117
117
  /** Defines the legend shape as image. */
118
118
  'Image';
119
119
  /**
120
- * Defines the position of the legend in the treemap component.
120
+ * Defines the position of the legend in the treemap.
121
121
  */
122
122
  export declare type LegendPosition =
123
123
  /** Specifies to place the legend at the top of the treemap. */
@@ -128,17 +128,17 @@ export declare type LegendPosition =
128
128
  'Bottom' |
129
129
  /** Specifies to place the legend on the right of the treemap. */
130
130
  'Right' |
131
- /** Specifies to place the legend based on given x and y positions. */
131
+ /** Specifies to place the legend based on given custom positions. */
132
132
  'Float' |
133
- /** Specifies to place the legend based on width and height. */
133
+ /** Specifies to place the legend in a automatic position based on width and height. */
134
134
  'Auto';
135
135
  /**
136
- * Defines the legend rendering modes. The modes are default and interactive modes.
136
+ * Defines the modes for rendering the legend.
137
137
  */
138
138
  export declare type LegendMode =
139
- /** Specifies the legend as static. */
139
+ /** Sets the legend as fixed, and has the option to add different shapes showcasing legend items. */
140
140
  'Default' |
141
- /** Specifies the legend as interactive. */
141
+ /** Set the legend as interactive, which is rectangular in shape with an indicator showcasing legend items. */
142
142
  'Interactive';
143
143
  /**
144
144
  * Specifies the orientation of the legend in the treemap.
@@ -146,19 +146,19 @@ export declare type LegendMode =
146
146
  export declare type LegendOrientation =
147
147
  /** Defines the legend renders with default behavior. */
148
148
  'None' |
149
- /** Defines the legend renders with items places horizontally. */
149
+ /** Defines the legend rendered with items placed horizontally. */
150
150
  'Horizontal' |
151
- /** Defines the legend renders with items places vertically. */
151
+ /** Defines the legend rendered with items placed vertically. */
152
152
  'Vertical';
153
153
  /**
154
- * Defines the label intersect action in treemap component.
154
+ * Defines the action to perform when the labels intersect each other in the treemap.
155
155
  */
156
156
  export declare type LabelIntersectAction =
157
157
  /** Specifies that no action will be taken when the label contents intersect. */
158
158
  'None' |
159
- /** Specifies the data label to be trimmed when it intersects. */
159
+ /** Specifies that the data label should be trimmed when it intersects. */
160
160
  'Trim' |
161
- /** Specifies the data label to be hidden when it intersects. */
161
+ /** Specifies that the data label should be hidden when it intersects. */
162
162
  'Hide';
163
163
  /**
164
164
  * Defines the placement type of the label.
@@ -172,23 +172,23 @@ export declare type LabelPlacement =
172
172
  * Defines the theme supported for treemap.
173
173
  */
174
174
  export declare type TreeMapTheme =
175
- /** Render a treemap with material theme. */
175
+ /** Render a treemap with Material theme. */
176
176
  'Material' |
177
- /** Render a treemap with fabric theme. */
177
+ /** Render a treemap with Fabric theme. */
178
178
  'Fabric' |
179
- /** Render a treemap with highcontrast light theme. */
179
+ /** Render a treemap with HighContrast light theme. */
180
180
  'HighContrastLight' |
181
- /** Render a treemap with bootstrap theme. */
181
+ /** Render a treemap with Bootstrap theme. */
182
182
  'Bootstrap' |
183
- /** Render a treemap with material dark theme. */
183
+ /** Render a treemap with Material dark theme. */
184
184
  'MaterialDark' |
185
- /** Render a treemap with fabric dark theme. */
185
+ /** Render a treemap with Fabric dark theme. */
186
186
  'FabricDark' |
187
- /** Render a treemap with highcontrast dark theme. */
187
+ /** Render a treemap with HighContrast dark theme. */
188
188
  'HighContrast' |
189
- /** Render a treemap with bootstrap dark theme. */
189
+ /** Render a treemap with Bootstrap dark theme. */
190
190
  'BootstrapDark' |
191
- /** Render a treemap with bootstrap4 theme. */
191
+ /** Render a treemap with Bootstrap4 theme. */
192
192
  'Bootstrap4' |
193
193
  /** Render a treemap with Tailwind theme. */
194
194
  'Tailwind' |
@@ -214,3 +214,28 @@ export declare type RenderingMode =
214
214
  'BottomRightTopLeft' |
215
215
  /** Renders the treemap items from top left to bottom right direction */
216
216
  'TopLeftBottomRight';
217
+ /**
218
+ * Defines the shape of the marker in the tooltip of the treemap.
219
+ * @private
220
+ */
221
+ export declare type MarkerShape =
222
+ /** Renders circle shape marker in the tooltip. */
223
+ 'Circle' |
224
+ /** Renders rectangle shape marker in the tooltip. */
225
+ 'Rectangle' |
226
+ /** Renders triangle shape marker in the tooltip. */
227
+ 'Triangle' |
228
+ /** Renders diamond shape marker in the tooltip. */
229
+ 'Diamond' |
230
+ /** Renders cross shape marker in the tooltip. */
231
+ 'Cross' |
232
+ /** Renders horizontal line shape marker in the tooltip. */
233
+ 'HorizontalLine' |
234
+ /** Renders vertical line shape marker in the tooltip. */
235
+ 'VerticalLine' |
236
+ /** Renders pentagon shape marker in the tooltip. */
237
+ 'Pentagon' |
238
+ /** Renders inverted triangle shape marker in the tooltip. */
239
+ 'InvertedTriangle' |
240
+ /** Renders image marker in the tooltip. */
241
+ 'Image';
@@ -5,15 +5,15 @@ import { TreeMap } from '../treemap';
5
5
  import { IShapes } from '../model/interface';
6
6
  import { ExportType } from '../utils/enum';
7
7
  /**
8
- * Create the class for size
8
+ * Specifies the size parameters.
9
9
  */
10
10
  export declare class Size {
11
11
  /**
12
- * height of the size
12
+ * Defines the height in the size object.
13
13
  */
14
14
  height: number;
15
15
  /**
16
- * width of the size
16
+ * Defines the width in the size object.
17
17
  */
18
18
  width: number;
19
19
  constructor(width: number, height: number);
@@ -101,15 +101,15 @@ export declare class TextOption {
101
101
  */
102
102
  export declare function textTrim(maxWidth: number, text: string, font: FontModel): string;
103
103
  /**
104
- * Map internal class for Point
104
+ * Specifies the location parameters.
105
105
  */
106
106
  export declare class Location {
107
107
  /**
108
- * To calculate x value for location
108
+ * Defines the horizontal position.
109
109
  */
110
110
  x: number;
111
111
  /**
112
- * To calculate y value for location
112
+ * Defines the vertical position.
113
113
  */
114
114
  y: number;
115
115
  constructor(x: number, y: number);
@@ -122,6 +122,7 @@ export declare class Location {
122
122
  * @param {Size} textSize - Specifies the size of the text.
123
123
  * @param {type} type - Specifies whether the provided text is title or subtitle.
124
124
  * @returns {Location} - Returns the location of text.
125
+ * @private
125
126
  */
126
127
  export declare function findPosition(location: Rect, alignment: Alignment, textSize: Size, type: string): Location;
127
128
  /**
@@ -340,6 +341,7 @@ export declare function textWrap(maxWidth: number, label: string, font: FontMode
340
341
  * @param {string} text - Specifies the text.
341
342
  * @param {FontModel} font - Specifies the font.
342
343
  * @returns {string} - Returns the hidden text.
344
+ * @private
343
345
  */
344
346
  export declare function hide(maxWidth: number, maxHeight: number, text: string, font: FontModel): string;
345
347
  /**
@@ -455,18 +457,18 @@ export declare function renderLegendShape(location: Location, size: Size, shape:
455
457
  */
456
458
  export declare function isParentItem(data: any[], item: any): boolean;
457
459
  /**
458
- * Ajax support for treemap
460
+ * Specifies the data to be received through Ajax request for treemap.
459
461
  */
460
462
  export declare class TreeMapAjax {
461
- /** options for data */
463
+ /** Defines the options for the data for treemap. */
462
464
  dataOptions: string | any;
463
- /** type of data */
465
+ /** Defines the type of the data. */
464
466
  type: string;
465
- /** async value */
467
+ /** Specifies whether the request is asynchronous or not. */
466
468
  async: boolean;
467
- /** type of the content */
469
+ /** Defines the type of the content. */
468
470
  contentType: string;
469
- /** sending data */
471
+ /** Defines the data to be sent through the request. */
470
472
  sendData: string | any;
471
473
  constructor(options: string | any, type?: string, async?: boolean, contentType?: string, sendData?: string | any);
472
474
  }
@@ -530,6 +532,7 @@ export declare function pushCollection(collection: any[], index: number, number:
530
532
  * @param {string} url - Specifies the url
531
533
  * @param {boolean} isDownload - Specifies the boolean value
532
534
  * @returns {void}
535
+ * @private
533
536
  */
534
537
  export declare function triggerDownload(fileName: string, type: ExportType, url: string, isDownload: boolean): void;
535
538
  /**
@@ -1,7 +1,7 @@
1
- import { createElement, compile, merge, isNullOrUndefined, remove } from '@syncfusion/ej2-base';
1
+ import { createElement, compile, merge, isNullOrUndefined, remove, SanitizeHtmlHelper } from '@syncfusion/ej2-base';
2
2
  import { SvgRenderer } from '@syncfusion/ej2-svg-base';
3
3
  /**
4
- * Create the class for size
4
+ * Specifies the size parameters.
5
5
  */
6
6
  var Size = /** @class */ (function () {
7
7
  function Size(width, height) {
@@ -86,7 +86,7 @@ export function measureText(text, font) {
86
86
  measureObject = createElement('text', { id: 'treeMapMeasureText' });
87
87
  document.body.appendChild(measureObject);
88
88
  }
89
- measureObject.innerHTML = text;
89
+ measureObject.innerHTML = SanitizeHtmlHelper.sanitize(text);
90
90
  measureObject.style.position = 'absolute';
91
91
  measureObject.style.fontSize = font.size;
92
92
  measureObject.style.fontWeight = font.fontWeight;
@@ -150,7 +150,7 @@ export function textTrim(maxWidth, text, font) {
150
150
  return label;
151
151
  }
152
152
  /**
153
- * Map internal class for Point
153
+ * Specifies the location parameters.
154
154
  */
155
155
  var Location = /** @class */ (function () {
156
156
  function Location(x, y) {
@@ -168,6 +168,7 @@ export { Location };
168
168
  * @param {Size} textSize - Specifies the size of the text.
169
169
  * @param {type} type - Specifies whether the provided text is title or subtitle.
170
170
  * @returns {Location} - Returns the location of text.
171
+ * @private
171
172
  */
172
173
  export function findPosition(location, alignment, textSize, type) {
173
174
  var x;
@@ -851,6 +852,7 @@ export function textWrap(maxWidth, label, font) {
851
852
  * @param {string} text - Specifies the text.
852
853
  * @param {FontModel} font - Specifies the font.
853
854
  * @returns {string} - Returns the hidden text.
855
+ * @private
854
856
  */
855
857
  export function hide(maxWidth, maxHeight, text, font) {
856
858
  var hideText = text;
@@ -1174,7 +1176,7 @@ export function isParentItem(data, item) {
1174
1176
  return isParentItem;
1175
1177
  }
1176
1178
  /**
1177
- * Ajax support for treemap
1179
+ * Specifies the data to be received through Ajax request for treemap.
1178
1180
  */
1179
1181
  var TreeMapAjax = /** @class */ (function () {
1180
1182
  function TreeMapAjax(options, type, async, contentType, sendData) {
@@ -1296,6 +1298,7 @@ export function pushCollection(collection, index, number, legendElement, shapeEl
1296
1298
  * @param {string} url - Specifies the url
1297
1299
  * @param {boolean} isDownload - Specifies the boolean value
1298
1300
  * @returns {void}
1301
+ * @private
1299
1302
  */
1300
1303
  export function triggerDownload(fileName, type, url, isDownload) {
1301
1304
  createElement('a', {