igniteui-angular-extras 21.0.0 → 21.2.0-beta.1

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.
@@ -1,45 +1,43 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Input, Output, Directive, Pipe, ViewContainerRef, HostBinding, ViewChild, CUSTOM_ELEMENTS_SCHEMA, ViewEncapsulation, Component, Optional } from '@angular/core';
2
+ import { EventEmitter, Input, Output, Directive, inject, Pipe, ElementRef, ViewContainerRef, HostBinding, ViewChild, CUSTOM_ELEMENTS_SCHEMA, ViewEncapsulation, Component } from '@angular/core';
3
3
  import { IgxCategoryXAxisComponent, IgxNumericYAxisComponent, IgxScatterLineSeriesComponent, IgxNumericXAxisComponent, IgxBubbleSeriesComponent, IgxScatterSeriesComponent, IgxBarSeriesComponent, IgxCategoryYAxisComponent, IgxStackedBarSeriesComponent, IgxStacked100BarSeriesComponent, IgxStackedFragmentSeriesComponent, IgxSizeScaleComponent, IgxColumnSeriesComponent, IgxAreaSeriesComponent, IgxLineSeriesComponent, IgxStackedColumnSeriesComponent, IgxStackedAreaSeriesComponent, IgxStackedLineSeriesComponent, IgxStacked100ColumnSeriesComponent, IgxStacked100AreaSeriesComponent, IgxStacked100LineSeriesComponent, IgxPieChartComponent, IgxDataChartComponent, IgxItemLegendComponent, IgxLegendComponent, IgxBarSeriesModule, IgxCategoryChartModule, IgxCategoryXAxisModule, IgxDataChartCategoryModule, IgxDataChartCoreModule, IgxDataChartInteractivityModule, IgxDataChartScatterModule, IgxDataChartStackedModule, IgxItemLegendModule, IgxLegendModule, IgxNumericXAxisModule, IgxNumericYAxisModule } from 'igniteui-angular-charts';
4
- import { Subject } from 'rxjs';
5
- import { takeUntil, debounceTime, merge, filter } from 'rxjs/operators';
6
- import * as i1 from 'igniteui-angular/grids/grid';
7
- import * as i1$3 from 'igniteui-angular/core';
8
- import { AutoPositionStrategy, CloseScrollStrategy, VerticalAlignment, HorizontalAlignment, AbsoluteScrollStrategy } from 'igniteui-angular/core';
9
- import * as i1$2 from '@angular/common';
4
+ import { IgxGridComponent } from 'igniteui-angular/grids/grid';
5
+ import { Subject, merge } from 'rxjs';
6
+ import { takeUntil, debounceTime, filter } from 'rxjs/operators';
7
+ import { AutoPositionStrategy, CloseScrollStrategy, VerticalAlignment, HorizontalAlignment, IgxOverlayService, AbsoluteScrollStrategy } from 'igniteui-angular/core';
8
+ import * as i1 from '@angular/common';
10
9
  import { CommonModule } from '@angular/common';
11
- import { IgxIconButtonDirective, IgxToggleDirective } from 'igniteui-angular/directives';
10
+ import { IgxIconButtonDirective, IgxRippleDirective, IgxDividerDirective, IgxToggleDirective } from 'igniteui-angular/directives';
12
11
  import { IgxTabsComponent, IgxTabItemComponent, IgxTabHeaderComponent, IgxTabContentComponent, IgxTabHeaderLabelDirective } from 'igniteui-angular/tabs';
13
12
  import { IgxIconComponent } from 'igniteui-angular/icon';
14
- import { ResizeObserver } from '@juggle/resize-observer';
15
- import * as i1$1 from '@angular/platform-browser';
13
+ import { DomSanitizer } from '@angular/platform-browser';
16
14
 
17
15
  var CHART_TYPE;
18
16
  (function (CHART_TYPE) {
19
- CHART_TYPE["PIE"] = "Pie";
20
- CHART_TYPE["COLUMN_GROUPED"] = "ColumnGrouped";
21
- CHART_TYPE["AREA_GROUPED"] = "AreaGrouped";
22
- CHART_TYPE["LINE_GROUPED"] = "LineGrouped";
23
- CHART_TYPE["BAR_GROUPED"] = "BarGrouped";
24
- CHART_TYPE["COLUMN_STACKED"] = "ColumnStacked";
25
- CHART_TYPE["AREA_STACKED"] = "AreaStacked";
26
- CHART_TYPE["LINE_STACKED"] = "LineStacked";
27
- CHART_TYPE["BAR_STACKED"] = "BarStacked";
28
- CHART_TYPE["COLUMN_100_STACKED"] = "Column100Stacked";
29
- CHART_TYPE["AREA_100_STACKED"] = "Area100Stacked";
30
- CHART_TYPE["LINE_100_STACKED"] = "Line100Stacked";
31
- CHART_TYPE["BAR_100_STACKED"] = "Bar100Stacked";
32
- CHART_TYPE["SCATTER_POINT"] = "ScatterPoint";
33
- CHART_TYPE["SCATTER_BUBBLE"] = "ScatterBubble";
34
- CHART_TYPE["SCATTER_LINE"] = "ScatterLine";
17
+ CHART_TYPE["Pie"] = "Pie";
18
+ CHART_TYPE["ColumnGrouped"] = "ColumnGrouped";
19
+ CHART_TYPE["AreaGrouped"] = "AreaGrouped";
20
+ CHART_TYPE["LineGrouped"] = "LineGrouped";
21
+ CHART_TYPE["BarGrouped"] = "BarGrouped";
22
+ CHART_TYPE["ColumnStacked"] = "ColumnStacked";
23
+ CHART_TYPE["AreaStacked"] = "AreaStacked";
24
+ CHART_TYPE["LineStacked"] = "LineStacked";
25
+ CHART_TYPE["BarStacked"] = "BarStacked";
26
+ CHART_TYPE["Column100Stacked"] = "Column100Stacked";
27
+ CHART_TYPE["Area100Stacked"] = "Area100Stacked";
28
+ CHART_TYPE["Line100Stacked"] = "Line100Stacked";
29
+ CHART_TYPE["Bar100Stacked"] = "Bar100Stacked";
30
+ CHART_TYPE["ScatterPoint"] = "ScatterPoint";
31
+ CHART_TYPE["ScatterBubble"] = "ScatterBubble";
32
+ CHART_TYPE["ScatterLine"] = "ScatterLine";
35
33
  })(CHART_TYPE || (CHART_TYPE = {}));
36
34
  var OPTIONS_TYPE;
37
35
  (function (OPTIONS_TYPE) {
38
- OPTIONS_TYPE["CHART"] = "chartOptions";
39
- OPTIONS_TYPE["SERIES"] = "seriesModel";
40
- OPTIONS_TYPE["X_AXIS"] = "xAxisOptions";
41
- OPTIONS_TYPE["Y_AXIS"] = "yAxisOptions";
42
- OPTIONS_TYPE["STACKED_SERIES"] = "stackedFragmentOptions";
36
+ OPTIONS_TYPE["Chart"] = "chartOptions";
37
+ OPTIONS_TYPE["Series"] = "seriesModel";
38
+ OPTIONS_TYPE["XAxis"] = "xAxisOptions";
39
+ OPTIONS_TYPE["YAxis"] = "yAxisOptions";
40
+ OPTIONS_TYPE["StackedSeries"] = "stackedFragmentOptions";
43
41
  })(OPTIONS_TYPE || (OPTIONS_TYPE = {}));
44
42
 
45
43
  // tslint:disable: max-line-length
@@ -170,7 +168,7 @@ class IgxChartIntegrationDirective {
170
168
  chartsForCreation: []
171
169
  };
172
170
  if (selectedData.length === 0 || this._valueMemberPaths.length === 0) {
173
- this.onChartTypesDetermined.emit(args);
171
+ this.chartTypesDetermined.emit(args);
174
172
  return;
175
173
  }
176
174
  if (selectedData.length === 1) {
@@ -186,22 +184,22 @@ class IgxChartIntegrationDirective {
186
184
  // Config pie chart
187
185
  const cannotCreatePieChart = selectedData.some(record => record[this._valueMemberPaths[0]] <= 0);
188
186
  if (cannotCreatePieChart) {
189
- charts.delete(CHART_TYPE.PIE);
187
+ charts.delete(CHART_TYPE.Pie);
190
188
  }
191
189
  // Config scatter chart member paths
192
190
  const canCreateScatterChart = this._valueMemberPaths.length >= 2;
193
191
  const canCreateBubbleChart = this._valueMemberPaths.length >= 3;
194
192
  if (!canCreateScatterChart) {
195
- charts.delete(CHART_TYPE.SCATTER_BUBBLE);
196
- charts.delete(CHART_TYPE.SCATTER_LINE);
197
- charts.delete(CHART_TYPE.SCATTER_POINT);
193
+ charts.delete(CHART_TYPE.ScatterBubble);
194
+ charts.delete(CHART_TYPE.ScatterLine);
195
+ charts.delete(CHART_TYPE.ScatterPoint);
198
196
  }
199
197
  if (!canCreateBubbleChart) {
200
- charts.delete(CHART_TYPE.SCATTER_BUBBLE);
198
+ charts.delete(CHART_TYPE.ScatterBubble);
201
199
  }
202
200
  args.chartsAvailability = this.chartTypesAvailability;
203
201
  args.chartsForCreation = [...charts];
204
- this.onChartTypesDetermined.emit(args);
202
+ this.chartTypesDetermined.emit(args);
205
203
  }
206
204
  set scatterChartYAxisValueMemberPath(path) {
207
205
  this._scatterChartYAxisValueMemberPath = path;
@@ -243,10 +241,9 @@ class IgxChartIntegrationDirective {
243
241
  dataSource: this.chartData
244
242
  };
245
243
  }
246
- constructor(factoryResolver) {
247
- this.factoryResolver = factoryResolver;
248
- this.onChartTypesDetermined = new EventEmitter();
249
- this.onChartCreationDone = new EventEmitter();
244
+ constructor() {
245
+ this.chartTypesDetermined = new EventEmitter();
246
+ this.chartCreationDone = new EventEmitter();
250
247
  this.useLegend = true;
251
248
  this.defaultLabelMemberPath = undefined;
252
249
  this.chartTypesAvailability = new Map();
@@ -271,22 +268,22 @@ class IgxChartIntegrationDirective {
271
268
  this.bubbleChartSeriesOptionsModel = {
272
269
  radiusScale: this._sizeScale
273
270
  };
274
- this.dataCharts.set(CHART_TYPE.COLUMN_GROUPED, IgxColumnSeriesComponent);
275
- this.dataCharts.set(CHART_TYPE.AREA_GROUPED, IgxAreaSeriesComponent);
276
- this.dataCharts.set(CHART_TYPE.LINE_GROUPED, IgxLineSeriesComponent);
277
- this.dataCharts.set(CHART_TYPE.BAR_GROUPED, IgxBarSeriesComponent);
278
- this.dataCharts.set(CHART_TYPE.COLUMN_STACKED, IgxStackedColumnSeriesComponent);
279
- this.dataCharts.set(CHART_TYPE.AREA_STACKED, IgxStackedAreaSeriesComponent);
280
- this.dataCharts.set(CHART_TYPE.LINE_STACKED, IgxStackedLineSeriesComponent);
281
- this.dataCharts.set(CHART_TYPE.BAR_STACKED, IgxStackedBarSeriesComponent);
282
- this.dataCharts.set(CHART_TYPE.COLUMN_100_STACKED, IgxStacked100ColumnSeriesComponent);
283
- this.dataCharts.set(CHART_TYPE.AREA_100_STACKED, IgxStacked100AreaSeriesComponent);
284
- this.dataCharts.set(CHART_TYPE.LINE_100_STACKED, IgxStacked100LineSeriesComponent);
285
- this.dataCharts.set(CHART_TYPE.BAR_100_STACKED, IgxStacked100BarSeriesComponent);
286
- this.dataCharts.set(CHART_TYPE.SCATTER_POINT, IgxScatterSeriesComponent);
287
- this.dataCharts.set(CHART_TYPE.SCATTER_BUBBLE, IgxBubbleSeriesComponent);
288
- this.dataCharts.set(CHART_TYPE.SCATTER_LINE, IgxScatterLineSeriesComponent);
289
- this.dataCharts.set(CHART_TYPE.PIE, IgxPieChartComponent);
271
+ this.dataCharts.set(CHART_TYPE.ColumnGrouped, IgxColumnSeriesComponent);
272
+ this.dataCharts.set(CHART_TYPE.AreaGrouped, IgxAreaSeriesComponent);
273
+ this.dataCharts.set(CHART_TYPE.LineGrouped, IgxLineSeriesComponent);
274
+ this.dataCharts.set(CHART_TYPE.BarGrouped, IgxBarSeriesComponent);
275
+ this.dataCharts.set(CHART_TYPE.ColumnStacked, IgxStackedColumnSeriesComponent);
276
+ this.dataCharts.set(CHART_TYPE.AreaStacked, IgxStackedAreaSeriesComponent);
277
+ this.dataCharts.set(CHART_TYPE.LineStacked, IgxStackedLineSeriesComponent);
278
+ this.dataCharts.set(CHART_TYPE.BarStacked, IgxStackedBarSeriesComponent);
279
+ this.dataCharts.set(CHART_TYPE.Column100Stacked, IgxStacked100ColumnSeriesComponent);
280
+ this.dataCharts.set(CHART_TYPE.Area100Stacked, IgxStacked100AreaSeriesComponent);
281
+ this.dataCharts.set(CHART_TYPE.Line100Stacked, IgxStacked100LineSeriesComponent);
282
+ this.dataCharts.set(CHART_TYPE.Bar100Stacked, IgxStacked100BarSeriesComponent);
283
+ this.dataCharts.set(CHART_TYPE.ScatterPoint, IgxScatterSeriesComponent);
284
+ this.dataCharts.set(CHART_TYPE.ScatterBubble, IgxBubbleSeriesComponent);
285
+ this.dataCharts.set(CHART_TYPE.ScatterLine, IgxScatterLineSeriesComponent);
286
+ this.dataCharts.set(CHART_TYPE.Pie, IgxPieChartComponent);
290
287
  const iterable = this.dataCharts.keys();
291
288
  for (let head = iterable.next().value; head !== undefined; head = iterable.next().value) {
292
289
  this._dataChartTypes.add(head);
@@ -329,22 +326,18 @@ class IgxChartIntegrationDirective {
329
326
  const initializer = this.getInitializer(type, chartType);
330
327
  let chart;
331
328
  if (viewContainerRef) {
332
- let componentFactory;
333
329
  let componentRef;
334
330
  this._sizeScale.maximumValue = 60;
335
331
  this._sizeScale.minimumValue = 10;
336
- if (type === CHART_TYPE.PIE) {
337
- componentFactory = this.factoryResolver.resolveComponentFactory(IgxPieChartComponent);
338
- componentRef = viewContainerRef.createComponent(componentFactory);
332
+ if (type === CHART_TYPE.Pie) {
333
+ componentRef = viewContainerRef.createComponent(IgxPieChartComponent);
339
334
  }
340
335
  else {
341
- componentFactory = this.factoryResolver.resolveComponentFactory(IgxDataChartComponent);
342
- componentRef = viewContainerRef.createComponent(componentFactory);
336
+ componentRef = viewContainerRef.createComponent(IgxDataChartComponent);
343
337
  }
344
338
  if (this.useLegend) {
345
- const legendType = type === CHART_TYPE.PIE ? IgxItemLegendComponent : IgxLegendComponent;
346
- const legendFactory = this.factoryResolver.resolveComponentFactory(legendType);
347
- const legendComponentRef = viewContainerRef.createComponent(legendFactory);
339
+ const legendType = type === CHART_TYPE.Pie ? IgxItemLegendComponent : IgxLegendComponent;
340
+ const legendComponentRef = viewContainerRef.createComponent(legendType);
348
341
  options.chartOptions['legend'] = legendComponentRef.instance;
349
342
  }
350
343
  chart = initializer.initChart(componentRef.instance, options);
@@ -352,7 +345,7 @@ class IgxChartIntegrationDirective {
352
345
  else if (createdChart) {
353
346
  chart = initializer.initChart(createdChart, options);
354
347
  }
355
- this.onChartCreationDone.emit(chart);
348
+ this.chartCreationDone.emit(chart);
356
349
  return chart;
357
350
  }
358
351
  getInitializer(chartType, componentClassRef) {
@@ -368,22 +361,25 @@ class IgxChartIntegrationDirective {
368
361
  }
369
362
  getChartOptions(type) {
370
363
  const chartComponentOptions = {};
371
- return type === CHART_TYPE.PIE ? this.addPieChartDataOptions(chartComponentOptions) :
364
+ return type === CHART_TYPE.Pie ? this.addPieChartDataOptions(chartComponentOptions) :
372
365
  this.addDataChartDataOptions(type, chartComponentOptions, type.includes('Stacked'));
373
366
  }
374
367
  addPieChartDataOptions(chartComponentOptions) {
375
- // tslint:disable-next-line: max-line-length
376
- chartComponentOptions.chartOptions = Object.assign(this.pieChartOptions, this.customChartComponentOptions.get(CHART_TYPE.PIE).chartOptions);
368
+ const customPieOptions = this.customChartComponentOptions.get(CHART_TYPE.Pie) || {};
369
+ const customPieChartOptions = customPieOptions.chartOptions || {};
370
+ chartComponentOptions.chartOptions = { ...this.pieChartOptions, ...customPieChartOptions };
377
371
  return chartComponentOptions;
378
372
  }
379
373
  addDataChartDataOptions(type, chartComponentOptions, stacked) {
380
- chartComponentOptions.chartOptions = Object.assign(this.dataChartOptions, this.customChartComponentOptions.get(type));
374
+ const customComponentOptions = this.customChartComponentOptions.get(type) || {};
375
+ const customChartOptions = customComponentOptions.chartOptions || {};
376
+ const customSeriesModel = customComponentOptions.seriesModel || {};
377
+ chartComponentOptions.chartOptions = { ...this.dataChartOptions, ...customChartOptions };
381
378
  if (type.indexOf('Scatter') !== -1) {
382
379
  this.addScatterChartDataOptions(type, chartComponentOptions);
383
380
  }
384
381
  else {
385
- // tslint:disable-next-line: max-line-length
386
- chartComponentOptions.seriesModel = Object.assign(this.dataChartSeriesOptionsModel, this.customChartComponentOptions.get(type).seriesModel);
382
+ chartComponentOptions.seriesModel = { ...this.dataChartSeriesOptionsModel, ...customSeriesModel };
387
383
  this.setAxisLabelOption(type, chartComponentOptions);
388
384
  const options = [];
389
385
  this._valueMemberPaths.forEach(valueMemberPath => {
@@ -398,16 +394,21 @@ class IgxChartIntegrationDirective {
398
394
  options.push({ ...dataOptions, ...chartComponentOptions.seriesModel });
399
395
  }
400
396
  });
401
- stacked ? chartComponentOptions.stackedFragmentOptions = options :
397
+ if (stacked) {
398
+ chartComponentOptions.stackedFragmentOptions = options;
399
+ }
400
+ else {
402
401
  chartComponentOptions.seriesOptions = options;
402
+ }
403
403
  }
404
404
  return chartComponentOptions;
405
405
  }
406
406
  addScatterChartDataOptions(scatterChart, chartComponentOptions) {
407
- // tslint:disable-next-line: max-line-length
408
- chartComponentOptions.seriesModel = Object.assign(this.scatterChartSeriesOptionsModel, this.customChartComponentOptions.get(scatterChart).seriesModel);
407
+ const scatterCustomOptions = this.customChartComponentOptions.get(scatterChart) || {};
408
+ const scatterCustomSeriesModel = scatterCustomOptions.seriesModel || {};
409
+ chartComponentOptions.seriesModel = { ...this.scatterChartSeriesOptionsModel, ...scatterCustomSeriesModel };
409
410
  chartComponentOptions.seriesModel['yMemberPath'] = this.scatterChartYAxisValueMemberPath;
410
- if (scatterChart === CHART_TYPE.SCATTER_BUBBLE) {
411
+ if (scatterChart === CHART_TYPE.ScatterBubble) {
411
412
  chartComponentOptions.seriesModel = Object.assign(chartComponentOptions.seriesModel, this.bubbleChartSeriesOptionsModel);
412
413
  chartComponentOptions.seriesModel['radiusMemberPath'] = this.bubbleChartRadiusMemberPath;
413
414
  }
@@ -425,11 +426,11 @@ class IgxChartIntegrationDirective {
425
426
  chartComponentOptions.xAxisOptions = Object.assign({
426
427
  labelExtent: NaN,
427
428
  labelTextColor: null,
428
- });
429
+ }, scatterCustomOptions.xAxisOptions);
429
430
  chartComponentOptions.yAxisOptions = Object.assign({
430
431
  labelTextColor: null,
431
432
  labelExtent: NaN,
432
- });
433
+ }, scatterCustomOptions.yAxisOptions);
433
434
  chartComponentOptions.seriesOptions = seriesOptions;
434
435
  }
435
436
  addIndexMemberPath(dataRecord, index) {
@@ -437,27 +438,28 @@ class IgxChartIntegrationDirective {
437
438
  return dataRecord;
438
439
  }
439
440
  setAxisLabelOption(type, options) {
441
+ const customOptions = this.customChartComponentOptions.get(type) || {};
440
442
  if (type.indexOf('Bar') !== -1) {
441
443
  options.yAxisOptions = Object.assign({
442
444
  label: this._labelMemberPath,
443
445
  labelTextColor: null,
444
446
  labelExtent: NaN,
445
- }, this.customChartComponentOptions.get(type).yAxisOptions);
447
+ }, customOptions.yAxisOptions);
446
448
  options.xAxisOptions = Object.assign({
447
449
  labelTextColor: null,
448
450
  labelExtent: NaN,
449
- });
451
+ }, customOptions.xAxisOptions);
450
452
  }
451
453
  else {
452
454
  options.xAxisOptions = Object.assign({
453
455
  label: this._labelMemberPath,
454
456
  labelTextColor: null,
455
457
  labelExtent: NaN,
456
- }, this.customChartComponentOptions.get(type).xAxisOptions);
458
+ }, customOptions.xAxisOptions);
457
459
  options.yAxisOptions = Object.assign({
458
460
  labelTextColor: null,
459
461
  labelExtent: NaN,
460
- });
462
+ }, customOptions.yAxisOptions);
461
463
  }
462
464
  }
463
465
  setChartComponentOptions(chart, optionsType, options) {
@@ -468,19 +470,19 @@ class IgxChartIntegrationDirective {
468
470
  this.customChartComponentOptions.get(chart)[optionsType][property] = options[property];
469
471
  });
470
472
  }
471
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: IgxChartIntegrationDirective, deps: [{ token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Directive }); }
472
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: IgxChartIntegrationDirective, isStandalone: true, selector: "[igxChartIntegration]", inputs: { chartData: "chartData", useLegend: "useLegend", defaultLabelMemberPath: "defaultLabelMemberPath", scatterChartYAxisValueMemberPath: "scatterChartYAxisValueMemberPath", bubbleChartRadiusMemberPath: "bubbleChartRadiusMemberPath" }, outputs: { onChartTypesDetermined: "onChartTypesDetermined", onChartCreationDone: "onChartCreationDone" }, ngImport: i0 }); }
473
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxChartIntegrationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
474
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.6", type: IgxChartIntegrationDirective, isStandalone: true, selector: "[igxChartIntegration]", inputs: { chartData: "chartData", useLegend: "useLegend", defaultLabelMemberPath: "defaultLabelMemberPath", scatterChartYAxisValueMemberPath: "scatterChartYAxisValueMemberPath", bubbleChartRadiusMemberPath: "bubbleChartRadiusMemberPath" }, outputs: { chartTypesDetermined: "chartTypesDetermined", chartCreationDone: "chartCreationDone" }, ngImport: i0 }); }
473
475
  }
474
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: IgxChartIntegrationDirective, decorators: [{
476
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxChartIntegrationDirective, decorators: [{
475
477
  type: Directive,
476
478
  args: [{
477
479
  selector: '[igxChartIntegration]',
478
480
  }]
479
- }], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }], propDecorators: { chartData: [{
481
+ }], ctorParameters: () => [], propDecorators: { chartData: [{
480
482
  type: Input
481
- }], onChartTypesDetermined: [{
483
+ }], chartTypesDetermined: [{
482
484
  type: Output
483
- }], onChartCreationDone: [{
485
+ }], chartCreationDone: [{
484
486
  type: Output
485
487
  }], useLegend: [{
486
488
  type: Input
@@ -494,13 +496,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImpor
494
496
 
495
497
  var ConditionalFormattingType;
496
498
  (function (ConditionalFormattingType) {
497
- ConditionalFormattingType["dataBars"] = "Data Bars";
498
- ConditionalFormattingType["colorScale"] = "Color Scale";
499
- ConditionalFormattingType["top10"] = "Top 10";
500
- ConditionalFormattingType["textContains"] = "Text Contains";
501
- ConditionalFormattingType["single"] = "Duplicate Values";
502
- ConditionalFormattingType["unique"] = "Unique Values";
503
- ConditionalFormattingType["empty"] = "Empty";
499
+ ConditionalFormattingType["DataBars"] = "Data Bars";
500
+ ConditionalFormattingType["ColorScale"] = "Color Scale";
501
+ ConditionalFormattingType["Top10"] = "Top 10";
502
+ ConditionalFormattingType["TextContains"] = "Text Contains";
503
+ ConditionalFormattingType["Single"] = "Duplicate Values";
504
+ ConditionalFormattingType["Unique"] = "Unique Values";
505
+ ConditionalFormattingType["Empty"] = "Empty";
504
506
  })(ConditionalFormattingType || (ConditionalFormattingType = {}));
505
507
  class IgxConditionalFormattingDirective {
506
508
  set formatColors(val) {
@@ -520,11 +522,10 @@ class IgxConditionalFormattingDirective {
520
522
  get numericData() {
521
523
  return this.selectedData.filter(val => typeof val === 'number');
522
524
  }
523
- constructor(grid) {
524
- this.grid = grid;
525
- this.onFormattersReady = new EventEmitter();
525
+ constructor() {
526
+ this.formattersReady = new EventEmitter();
526
527
  this.colorScale = {
527
- backgroundColor: (rowData, colname, cellValue, rowIndex) => {
528
+ backgroundColor: (_rowData, colname, cellValue, rowIndex) => {
528
529
  if (!(typeof cellValue === 'number' && this.isWithInFormattedRange(rowIndex, colname))) {
529
530
  return;
530
531
  }
@@ -533,7 +534,7 @@ class IgxConditionalFormattingDirective {
533
534
  }
534
535
  };
535
536
  this.dataBars = {
536
- backgroundImage: (rowData, colname, cellValue, rowIndex) => {
537
+ backgroundImage: (_rowData, colname, cellValue, rowIndex) => {
537
538
  if (!(typeof cellValue === 'number' && this.isWithInFormattedRange(rowIndex, colname))) {
538
539
  return;
539
540
  }
@@ -542,14 +543,14 @@ class IgxConditionalFormattingDirective {
542
543
  if (cellValue < 0) {
543
544
  const negativeStartingPoint = 100 - treshold;
544
545
  gradientPercents = this.getNegativePercentage(cellValue);
545
- return `linear-gradient(to left, transparent 0% ${negativeStartingPoint}%,
546
- ${this.formatColors.error} ${negativeStartingPoint}% ${negativeStartingPoint + gradientPercents}%,
546
+ return `linear-gradient(to left, transparent 0% ${negativeStartingPoint}%,
547
+ ${this.formatColors.error} ${negativeStartingPoint}% ${negativeStartingPoint + gradientPercents}%,
547
548
  transparent ${gradientPercents}% 100%)`;
548
549
  }
549
550
  else {
550
551
  gradientPercents = this.getPositivePercentage(cellValue);
551
- return `linear-gradient(to right, transparent 0% ${treshold}%,
552
- ${this.formatColors.success} ${treshold}% ${treshold + gradientPercents}%,
552
+ return `linear-gradient(to right, transparent 0% ${treshold}%,
553
+ ${this.formatColors.success} ${treshold}% ${treshold + gradientPercents}%,
553
554
  transparent ${treshold + gradientPercents}% 100%)`;
554
555
  }
555
556
  },
@@ -558,13 +559,13 @@ class IgxConditionalFormattingDirective {
558
559
  backgroundPositionY: 'center'
559
560
  };
560
561
  this.top10Percent = {
561
- backgroundColor: (rowData, colname, cellValue, rowIndex) => {
562
+ backgroundColor: (_rowData, colname, cellValue, rowIndex) => {
562
563
  if (typeof cellValue === 'number' && this.isWithInFormattedRange(rowIndex, colname)
563
564
  && cellValue > this.top10PercentTreshold) {
564
565
  return this.formatColors.info;
565
566
  }
566
567
  },
567
- color: (rowData, colname, cellValue, rowIndex) => {
568
+ color: (_rowData, colname, cellValue, rowIndex) => {
568
569
  if (typeof cellValue === 'number' && this.isWithInFormattedRange(rowIndex, colname)
569
570
  && cellValue > this.top10PercentTreshold) {
570
571
  return this.formatColors.text;
@@ -572,13 +573,13 @@ class IgxConditionalFormattingDirective {
572
573
  }
573
574
  };
574
575
  this.greaterThan = {
575
- backgroundColor: (rowData, colname, cellValue, rowIndex) => {
576
+ backgroundColor: (_rowData, colname, cellValue, rowIndex) => {
576
577
  if (typeof cellValue === 'number' && this.isWithInFormattedRange(rowIndex, colname)
577
578
  && cellValue > this.avgValue) {
578
579
  return this.formatColors.info;
579
580
  }
580
581
  },
581
- color: (rowData, colname, cellValue, rowIndex) => {
582
+ color: (_rowData, colname, cellValue, rowIndex) => {
582
583
  if (typeof cellValue === 'number' && this.isWithInFormattedRange(rowIndex, colname)
583
584
  && cellValue > this.avgValue) {
584
585
  return this.formatColors.text;
@@ -586,26 +587,26 @@ class IgxConditionalFormattingDirective {
586
587
  }
587
588
  };
588
589
  this.empty = {
589
- backgroundColor: (rowData, colname, cellValue, rowIndex) => {
590
+ backgroundColor: (_rowData, colname, cellValue, rowIndex) => {
590
591
  if (this.isWithInFormattedRange(rowIndex, colname) && cellValue === undefined) {
591
592
  return this.formatColors.info;
592
593
  }
593
594
  },
594
- color: (rowData, colname, cellValue, rowIndex) => {
595
+ color: (_rowData, colname, cellValue, rowIndex) => {
595
596
  if (this.isWithInFormattedRange(rowIndex, colname) && cellValue === undefined) {
596
597
  return this.formatColors.text;
597
598
  }
598
599
  }
599
600
  };
600
601
  this.duplicates = {
601
- backgroundColor: (rowData, colname, cellValue, rowIndex) => {
602
+ backgroundColor: (_rowData, colname, cellValue, rowIndex) => {
602
603
  if (!this.isWithInFormattedRange(rowIndex, colname)) {
603
604
  return;
604
605
  }
605
606
  const arr = typeof cellValue === 'number' ? this.numericData : this.textData;
606
607
  return arr.indexOf(cellValue) !== arr.lastIndexOf(cellValue) ? this.formatColors.info : '';
607
608
  },
608
- color: (rowData, colname, cellValue, rowIndex) => {
609
+ color: (_rowData, colname, cellValue, rowIndex) => {
609
610
  if (!this.isWithInFormattedRange(rowIndex, colname)) {
610
611
  return;
611
612
  }
@@ -614,13 +615,13 @@ class IgxConditionalFormattingDirective {
614
615
  }
615
616
  };
616
617
  this.textContains = {
617
- backgroundColor: (rowData, colname, cellValue, rowIndex) => {
618
+ backgroundColor: (_rowData, colname, cellValue, rowIndex) => {
618
619
  if (typeof cellValue === 'string' && this.isWithInFormattedRange(rowIndex, colname) &&
619
620
  cellValue.toLowerCase().indexOf(this._valueForComparison.toLowerCase()) !== -1) {
620
621
  return this.formatColors.info;
621
622
  }
622
623
  },
623
- color: (rowData, colname, cellValue, rowIndex) => {
624
+ color: (_rowData, colname, cellValue, rowIndex) => {
624
625
  if (typeof cellValue === 'string' && this.isWithInFormattedRange(rowIndex, colname) &&
625
626
  cellValue.toLowerCase().indexOf(this._valueForComparison.toLowerCase()) !== -1) {
626
627
  return this.formatColors.text;
@@ -628,14 +629,14 @@ class IgxConditionalFormattingDirective {
628
629
  }
629
630
  };
630
631
  this.uniques = {
631
- backgroundColor: (rowData, colname, cellValue, rowIndex) => {
632
+ backgroundColor: (_rowData, colname, cellValue, rowIndex) => {
632
633
  if (!this.isWithInFormattedRange(rowIndex, colname)) {
633
634
  return;
634
635
  }
635
636
  const arr = typeof cellValue === 'number' ? this.numericData : this.textData;
636
637
  return arr.indexOf(cellValue) === arr.lastIndexOf(cellValue) ? this.formatColors.info : '';
637
638
  },
638
- color: (rowData, colname, cellValue, rowIndex) => {
639
+ color: (_rowData, colname, cellValue, rowIndex) => {
639
640
  if (!this.isWithInFormattedRange(rowIndex, colname)) {
640
641
  return;
641
642
  }
@@ -657,6 +658,7 @@ class IgxConditionalFormattingDirective {
657
658
  this._formattersData = new Map();
658
659
  this.destroy$ = new Subject();
659
660
  this.formatedRange = new Map();
661
+ this.grid = inject(IgxGridComponent);
660
662
  this._formattersData.set('Data Bars', this.dataBars);
661
663
  this._formattersData.set('Color Scale', this.colorScale);
662
664
  this._formattersData.set('Top 10', this.top10Percent);
@@ -695,19 +697,23 @@ class IgxConditionalFormattingDirective {
695
697
  }
696
698
  this.clearFormatting();
697
699
  this.formatter = formatterName;
700
+ let hasUpdatedColumn = false;
698
701
  this.grid.visibleColumns.forEach(c => {
699
702
  if (c.visibleIndex >= this._startColumn && c.visibleIndex <= this._endColumn) {
700
703
  c.cellStyles = this._formattersData.get(this.formatter);
701
- this.grid.notifyChanges();
704
+ hasUpdatedColumn = true;
702
705
  }
703
706
  });
707
+ if (hasUpdatedColumn) {
708
+ this.grid.notifyChanges();
709
+ }
704
710
  }
705
711
  clearFormatting() {
706
712
  this.formatter = undefined;
707
713
  this.grid.visibleColumns.forEach(c => {
708
714
  c.cellStyles = undefined;
709
- this.grid.cdr.detectChanges();
710
715
  });
716
+ this.grid.cdr.detectChanges();
711
717
  }
712
718
  determineFormatters(fromColumn) {
713
719
  const data = fromColumn ? this.grid.getSelectedColumnsData() : this.grid.getSelectedData();
@@ -723,7 +729,7 @@ class IgxConditionalFormattingDirective {
723
729
  else {
724
730
  formatters.splice(0, 0, ...['Data Bars', 'Color Scale', 'Text Contains']);
725
731
  }
726
- this.onFormattersReady.emit(formatters);
732
+ this.formattersReady.emit(formatters);
727
733
  }
728
734
  recalcCachedValues(clearAll = false) {
729
735
  if (clearAll) {
@@ -758,9 +764,15 @@ class IgxConditionalFormattingDirective {
758
764
  }
759
765
  return this.formatedRange.has(rowIndex) && this.formatedRange.get(rowIndex).has(visibleIndex);
760
766
  }
761
- get middleTresholdValue() { return 0.66 * Math.ceil(this._maxValue); }
762
- get lowTresholdValue() { return 0.33 * Math.ceil(this._maxValue); }
763
- get top10PercentTreshold() { return 0.9 * Math.ceil(this._maxValue); }
767
+ get middleTresholdValue() {
768
+ return 0.66 * Math.ceil(this._maxValue);
769
+ }
770
+ get lowTresholdValue() {
771
+ return 0.33 * Math.ceil(this._maxValue);
772
+ }
773
+ get top10PercentTreshold() {
774
+ return 0.9 * Math.ceil(this._maxValue);
775
+ }
764
776
  get avgValue() {
765
777
  return Math.ceil((this.numericData.reduce((a, b) => a + b, 0)) / this.numericData.length);
766
778
  }
@@ -802,437 +814,441 @@ class IgxConditionalFormattingDirective {
802
814
  });
803
815
  this.recalcCachedValues(true);
804
816
  }
805
- addToCache(rowIndex, colIndex, selection = true) {
806
- this.formatedRange.has(rowIndex) ? this.formatedRange.get(rowIndex).add(colIndex) :
817
+ addToCache(rowIndex, colIndex) {
818
+ if (this.formatedRange.has(rowIndex)) {
819
+ this.formatedRange.get(rowIndex).add(colIndex);
820
+ }
821
+ else {
807
822
  this.formatedRange.set(rowIndex, new Set()).get(rowIndex).add(colIndex);
823
+ }
808
824
  }
809
825
  toArray(data) {
810
826
  let result = [];
811
827
  data.forEach(rec => result = result.concat(Object.values(rec)));
812
828
  return result;
813
829
  }
814
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: IgxConditionalFormattingDirective, deps: [{ token: i1.IgxGridComponent }], target: i0.ɵɵFactoryTarget.Directive }); }
815
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: IgxConditionalFormattingDirective, isStandalone: true, selector: "[igxConditionalFormatting]", inputs: { formatter: "formatter", formatColors: "formatColors" }, outputs: { onFormattersReady: "onFormattersReady" }, ngImport: i0 }); }
830
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxConditionalFormattingDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
831
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.6", type: IgxConditionalFormattingDirective, isStandalone: true, selector: "[igxConditionalFormatting]", inputs: { formatter: "formatter", formatColors: "formatColors" }, outputs: { formattersReady: "formattersReady" }, ngImport: i0 }); }
816
832
  }
817
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: IgxConditionalFormattingDirective, decorators: [{
833
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxConditionalFormattingDirective, decorators: [{
818
834
  type: Directive,
819
835
  args: [{
820
836
  selector: '[igxConditionalFormatting]',
821
837
  }]
822
- }], ctorParameters: () => [{ type: i1.IgxGridComponent }], propDecorators: { formatter: [{
838
+ }], ctorParameters: () => [], propDecorators: { formatter: [{
823
839
  type: Input
824
840
  }], formatColors: [{
825
841
  type: Input
826
- }], onFormattersReady: [{
842
+ }], formattersReady: [{
827
843
  type: Output
828
844
  }] } });
829
845
 
830
846
  // tslint:disable: max-line-length
831
- const Area100Stacked = `
832
- <svg id="Layer_1" data-name="Layer 1"
833
- xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
834
- <defs>
835
- <style>.cls-Area100Stacked-1{fill:#ab4191;}.cls-Area100Stacked-2{fill:#f05951;}.cls-Area100Stacked-2,.cls-Area100Stacked-3,.cls-Area100Stacked-4{fill-rule:evenodd;}.cls-Area100Stacked-3{fill:#fa8d3d;}.cls-Area100Stacked-4{fill:#0f6860;}</style>
836
- </defs>
837
- <rect class="cls-Area100Stacked-1" width="96" height="95.7"/>
838
- <polygon class="cls-Area100Stacked-2" points="0 11.1 3.78 11.99 11.33 25.27 20.15 13.04 30.53 15.31 43.12 26.54 50.13 28.07 65.78 24.5 72.08 16.84 82.15 17.61 88.45 11.99 91.91 9.57 96 6.13 96 95.7 0 95.7 0 11.1"/>
839
- <path class="cls-Area100Stacked-3" d="M0,54V95.7H96V18.37l-3.79,6.51-3.79,18-3.16,6.51-5.68,3.06-2.84,3.45s-3.42,6-3.48,6.12-7.58,4.6-7.58,4.6L60,67l-2.21.77-7.9-4.6-3.78,1.15-7.58-3.44L34.42,62.4l-3.79-1.15-4.1,3.44-3.48-.76L15.16,53.21,7.26,54,3.47,49Z"/>
840
- <polygon class="cls-Area100Stacked-4" points="0 78.75 4.72 77.11 7.87 78.2 15.42 76.56 19.52 80.39 26.44 83.67 36.2 83.67 45.33 85.31 50.05 78.75 58.23 84.22 68.3 85.86 87.82 90.23 96 83.12 96 95.7 0 95.7 0 78.75"/>
841
- </svg>
847
+ const Area100Stacked = `
848
+ <svg id="Layer_1" data-name="Layer 1"
849
+ xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
850
+ <defs>
851
+ <style>.cls-Area100Stacked-1{fill:#ab4191;}.cls-Area100Stacked-2{fill:#f05951;}.cls-Area100Stacked-2,.cls-Area100Stacked-3,.cls-Area100Stacked-4{fill-rule:evenodd;}.cls-Area100Stacked-3{fill:#fa8d3d;}.cls-Area100Stacked-4{fill:#0f6860;}</style>
852
+ </defs>
853
+ <rect class="cls-Area100Stacked-1" width="96" height="95.7"/>
854
+ <polygon class="cls-Area100Stacked-2" points="0 11.1 3.78 11.99 11.33 25.27 20.15 13.04 30.53 15.31 43.12 26.54 50.13 28.07 65.78 24.5 72.08 16.84 82.15 17.61 88.45 11.99 91.91 9.57 96 6.13 96 95.7 0 95.7 0 11.1"/>
855
+ <path class="cls-Area100Stacked-3" d="M0,54V95.7H96V18.37l-3.79,6.51-3.79,18-3.16,6.51-5.68,3.06-2.84,3.45s-3.42,6-3.48,6.12-7.58,4.6-7.58,4.6L60,67l-2.21.77-7.9-4.6-3.78,1.15-7.58-3.44L34.42,62.4l-3.79-1.15-4.1,3.44-3.48-.76L15.16,53.21,7.26,54,3.47,49Z"/>
856
+ <polygon class="cls-Area100Stacked-4" points="0 78.75 4.72 77.11 7.87 78.2 15.42 76.56 19.52 80.39 26.44 83.67 36.2 83.67 45.33 85.31 50.05 78.75 58.23 84.22 68.3 85.86 87.82 90.23 96 83.12 96 95.7 0 95.7 0 78.75"/>
857
+ </svg>
842
858
  `;
843
- const AreaGrouped = `
844
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
845
- <defs>
846
- <style>.cls-AreaGrouped-1{fill:#ab4191;}.cls-AreaGrouped-1,.cls-AreaGrouped-2,.cls-AreaGrouped-3,.cls-AreaGrouped-4{fill-rule:evenodd;}.cls-AreaGrouped-2{fill:#f05951;}.cls-AreaGrouped-3{fill:#fa8d3d;}.cls-AreaGrouped-4{fill:#0f6860;}</style>
847
- </defs>
848
- <g id="ChartNames">
849
- <polygon class="cls-AreaGrouped-1" points="96 69.18 96 13.76 80.22 37.03 64.11 42.35 48.34 63.44 32.56 72.38 16.45 70.78 0 86.13 0 96 96 96 96 69.18"/>
850
- <polygon class="cls-AreaGrouped-2" points="96 84.43 96 38.72 80.22 48.72 64.11 72.86 48.34 72.62 32.56 81.54 16.78 79.11 0 90.25 0 96 96 96 96 84.43"/>
851
- <path class="cls-AreaGrouped-3" d="M96,91V62.08L80.22,66.71l-16.11,15-15.77.9L32.56,88s-16.12-.84-16.11-.76S0,92.65,0,92.65V96H96Z"/>
852
- <polygon class="cls-AreaGrouped-4" points="96 93.77 96 77.49 80.22 81.31 64.11 91.54 48.34 93.13 32.56 94.09 0 95.37 0 96 96 96 96 93.77"/>
853
- </g>
854
- </svg>
859
+ const AreaGrouped = `
860
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
861
+ <defs>
862
+ <style>.cls-AreaGrouped-1{fill:#ab4191;}.cls-AreaGrouped-1,.cls-AreaGrouped-2,.cls-AreaGrouped-3,.cls-AreaGrouped-4{fill-rule:evenodd;}.cls-AreaGrouped-2{fill:#f05951;}.cls-AreaGrouped-3{fill:#fa8d3d;}.cls-AreaGrouped-4{fill:#0f6860;}</style>
863
+ </defs>
864
+ <g id="ChartNames">
865
+ <polygon class="cls-AreaGrouped-1" points="96 69.18 96 13.76 80.22 37.03 64.11 42.35 48.34 63.44 32.56 72.38 16.45 70.78 0 86.13 0 96 96 96 96 69.18"/>
866
+ <polygon class="cls-AreaGrouped-2" points="96 84.43 96 38.72 80.22 48.72 64.11 72.86 48.34 72.62 32.56 81.54 16.78 79.11 0 90.25 0 96 96 96 96 84.43"/>
867
+ <path class="cls-AreaGrouped-3" d="M96,91V62.08L80.22,66.71l-16.11,15-15.77.9L32.56,88s-16.12-.84-16.11-.76S0,92.65,0,92.65V96H96Z"/>
868
+ <polygon class="cls-AreaGrouped-4" points="96 93.77 96 77.49 80.22 81.31 64.11 91.54 48.34 93.13 32.56 94.09 0 95.37 0 96 96 96 96 93.77"/>
869
+ </g>
870
+ </svg>
855
871
  `;
856
- const AreaStacked = `
857
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
858
- <defs>
859
- <style>.cls-AreaStacked-1{fill:#ab4191;}.cls-AreaStacked-1,.cls-AreaStacked-2,.cls-AreaStacked-3,.cls-AreaStacked-4{fill-rule:evenodd;}.cls-AreaStacked-2{fill:#f05951;}.cls-AreaStacked-3{fill:#fa8d3d;}.cls-AreaStacked-4{fill:#0f6860;}</style>
860
- </defs>
861
- <g id="ChartNames">
862
- <path class="cls-AreaStacked-1" d="M0,17.24,3.73,4.7l7.56,19.2,4.09-.78,7.87,11.75,3.46,1.57,3.78-3.13,4.41,2,3.46-2.75,4.72,2.35L45.91,38s4-.26,4.09-.39,7.45,4.57,7.56,4.7a35.11,35.11,0,0,0,3.77-1.57h4.41L72,43.49,82.11,28.21,88.4,10.32,91.86,0,96,12.15V96H0Z"/>
863
- <path class="cls-AreaStacked-2" d="M0,53.29V96H96V16.85l-3.79,6.66L88.38,41.93l-3.16,6.66-5.68,3.13-2.85,3.53s-3.42,6.14-3.47,6.27-7.58,4.7-7.58,4.7L60,66.61l-2.21.79-7.9-4.71-3.79,1.18-7.58-3.53-4.1,1.57-3.79-1.18-4.11,3.53L23,63.48l-7.89-11-7.9.78L3.43,48.2Z"/>
864
- <polygon class="cls-AreaStacked-3" points="0.14 78.65 4.85 76.97 7.99 78.09 15.54 76.41 19.62 80.33 26.53 83.69 36.27 83.69 45.38 85.37 50.09 78.65 58.26 84.25 68.31 85.93 87.79 90.4 95.96 83.12 95.96 96 0.14 96 0.14 78.65"/>
865
- <polygon class="cls-AreaStacked-4" points="0.14 96 95.96 96 95.96 74.45 92.19 79.15 80.56 83.07 69.25 91.3 58.57 91.69 54.17 92.08 49.78 90.12 45.38 91.3 38.47 91.3 28.73 91.69 23.7 91.3 18.99 92.86 13.96 92.08 0.14 93.65 0.14 96"/>
866
- </g>
867
- </svg>
872
+ const AreaStacked = `
873
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
874
+ <defs>
875
+ <style>.cls-AreaStacked-1{fill:#ab4191;}.cls-AreaStacked-1,.cls-AreaStacked-2,.cls-AreaStacked-3,.cls-AreaStacked-4{fill-rule:evenodd;}.cls-AreaStacked-2{fill:#f05951;}.cls-AreaStacked-3{fill:#fa8d3d;}.cls-AreaStacked-4{fill:#0f6860;}</style>
876
+ </defs>
877
+ <g id="ChartNames">
878
+ <path class="cls-AreaStacked-1" d="M0,17.24,3.73,4.7l7.56,19.2,4.09-.78,7.87,11.75,3.46,1.57,3.78-3.13,4.41,2,3.46-2.75,4.72,2.35L45.91,38s4-.26,4.09-.39,7.45,4.57,7.56,4.7a35.11,35.11,0,0,0,3.77-1.57h4.41L72,43.49,82.11,28.21,88.4,10.32,91.86,0,96,12.15V96H0Z"/>
879
+ <path class="cls-AreaStacked-2" d="M0,53.29V96H96V16.85l-3.79,6.66L88.38,41.93l-3.16,6.66-5.68,3.13-2.85,3.53s-3.42,6.14-3.47,6.27-7.58,4.7-7.58,4.7L60,66.61l-2.21.79-7.9-4.71-3.79,1.18-7.58-3.53-4.1,1.57-3.79-1.18-4.11,3.53L23,63.48l-7.89-11-7.9.78L3.43,48.2Z"/>
880
+ <polygon class="cls-AreaStacked-3" points="0.14 78.65 4.85 76.97 7.99 78.09 15.54 76.41 19.62 80.33 26.53 83.69 36.27 83.69 45.38 85.37 50.09 78.65 58.26 84.25 68.31 85.93 87.79 90.4 95.96 83.12 95.96 96 0.14 96 0.14 78.65"/>
881
+ <polygon class="cls-AreaStacked-4" points="0.14 96 95.96 96 95.96 74.45 92.19 79.15 80.56 83.07 69.25 91.3 58.57 91.69 54.17 92.08 49.78 90.12 45.38 91.3 38.47 91.3 28.73 91.69 23.7 91.3 18.99 92.86 13.96 92.08 0.14 93.65 0.14 96"/>
882
+ </g>
883
+ </svg>
868
884
  `;
869
- const Bar100Stacked = `
870
- <svg id="Layer_1" data-name="Layer 1"
871
- xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
872
- <defs>
873
- <style>.cls-Bar100Stacked-1{fill:#ab4191;}.cls-Bar100Stacked-1,.cls-Bar100Stacked-2,.cls-Bar100Stacked-3,.cls-Bar100Stacked-4{fill-rule:evenodd;}.cls-Bar100Stacked-2{fill:#f05951;}.cls-Bar100Stacked-3{fill:#fa8d3d;}.cls-Bar100Stacked-4,.cls-Bar100Stacked-5{fill:#0f6860;}</style>
874
- </defs>
875
- <path class="cls-Bar100Stacked-1" d="M96,7.84H45.71v11.1H96Zm0,13.38H47.67V32.33H96Zm0,13.39H42.45V46H96Zm0,13.72H48.33v11.1H96Zm0,13.38H43.43V72.82H96ZM96,75.1H42.12V86.2H96Z"/>
876
- <path class="cls-Bar100Stacked-2" d="M75.76,21.22H29.71V32.33H75.76ZM66,61.71H27.1V72.82H66Zm4.24-27.1h-48V46h48ZM56.82,48.33H30v11.1H56.82ZM73.47,75.1H25.8V86.2H73.47ZM60.73,7.84h-33v11.1h33Z"/>
877
- <path class="cls-Bar100Stacked-3" d="M47.67,21.22H8.16V32.33H47.67ZM39.51,61.71H5.88V72.82H39.51Zm3.59-27.1H1.63V46H43.1ZM31.35,48.33H8.16v11.1H31.35ZM45.71,75.1H4.57V86.2H45.71ZM34.61,7.84H6.2v11.1H34.61Z"/>
878
- <path class="cls-Bar100Stacked-4" d="M14,34.61H0V46H14Zm4.25,13.72H0v11.1H18.29ZM15,75.1H0V86.2H15ZM22.2,21.22H0V32.33H22.2ZM11.43,61.71H0V72.82H11.43Z"/>
879
- <rect class="cls-Bar100Stacked-5" y="7.84" width="10.78" height="11.1"/>
880
- </svg>
885
+ const Bar100Stacked = `
886
+ <svg id="Layer_1" data-name="Layer 1"
887
+ xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
888
+ <defs>
889
+ <style>.cls-Bar100Stacked-1{fill:#ab4191;}.cls-Bar100Stacked-1,.cls-Bar100Stacked-2,.cls-Bar100Stacked-3,.cls-Bar100Stacked-4{fill-rule:evenodd;}.cls-Bar100Stacked-2{fill:#f05951;}.cls-Bar100Stacked-3{fill:#fa8d3d;}.cls-Bar100Stacked-4,.cls-Bar100Stacked-5{fill:#0f6860;}</style>
890
+ </defs>
891
+ <path class="cls-Bar100Stacked-1" d="M96,7.84H45.71v11.1H96Zm0,13.38H47.67V32.33H96Zm0,13.39H42.45V46H96Zm0,13.72H48.33v11.1H96Zm0,13.38H43.43V72.82H96ZM96,75.1H42.12V86.2H96Z"/>
892
+ <path class="cls-Bar100Stacked-2" d="M75.76,21.22H29.71V32.33H75.76ZM66,61.71H27.1V72.82H66Zm4.24-27.1h-48V46h48ZM56.82,48.33H30v11.1H56.82ZM73.47,75.1H25.8V86.2H73.47ZM60.73,7.84h-33v11.1h33Z"/>
893
+ <path class="cls-Bar100Stacked-3" d="M47.67,21.22H8.16V32.33H47.67ZM39.51,61.71H5.88V72.82H39.51Zm3.59-27.1H1.63V46H43.1ZM31.35,48.33H8.16v11.1H31.35ZM45.71,75.1H4.57V86.2H45.71ZM34.61,7.84H6.2v11.1H34.61Z"/>
894
+ <path class="cls-Bar100Stacked-4" d="M14,34.61H0V46H14Zm4.25,13.72H0v11.1H18.29ZM15,75.1H0V86.2H15ZM22.2,21.22H0V32.33H22.2ZM11.43,61.71H0V72.82H11.43Z"/>
895
+ <rect class="cls-Bar100Stacked-5" y="7.84" width="10.78" height="11.1"/>
896
+ </svg>
881
897
  `;
882
- const BarGrouped = `
883
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
884
- <defs>
885
- <style>.cls-BarGrouped-1{fill:#f05951;}.cls-BarGrouped-2{fill:#ab4191;}.cls-BarGrouped-3{fill:#0f6860;}.cls-BarGrouped-4{fill:#fa8d3d;}</style>
886
- </defs>
887
- <g id="ChartNames">
888
- <rect class="cls-BarGrouped-1" y="77.13" width="21.19" height="6.29"/>
889
- <rect class="cls-BarGrouped-1" y="49.66" width="48.99" height="6.29"/>
890
- <rect class="cls-BarGrouped-1" y="22.18" width="72.5" height="6.29"/>
891
- <rect class="cls-BarGrouped-2" y="70.84" width="81.43" height="6.29"/>
892
- <rect class="cls-BarGrouped-3" y="89.71" width="60.25" height="6.29"/>
893
- <rect class="cls-BarGrouped-2" y="43.37" width="96" height="6.29"/>
894
- <rect class="cls-BarGrouped-3" y="62.23" width="33.43" height="6.29"/>
895
- <rect class="cls-BarGrouped-2" y="15.89" width="55.61" height="6.29"/>
896
- <rect class="cls-BarGrouped-3" y="34.76" width="45.35" height="6.29"/>
897
- <rect class="cls-BarGrouped-4" y="83.42" width="89.38" height="6.29"/>
898
- <rect class="cls-BarGrouped-4" y="55.94" width="70.84" height="6.29"/>
899
- <rect class="cls-BarGrouped-4" y="28.47" width="33.43" height="6.29"/>
900
- </g>
901
- </svg>
898
+ const BarGrouped = `
899
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
900
+ <defs>
901
+ <style>.cls-BarGrouped-1{fill:#f05951;}.cls-BarGrouped-2{fill:#ab4191;}.cls-BarGrouped-3{fill:#0f6860;}.cls-BarGrouped-4{fill:#fa8d3d;}</style>
902
+ </defs>
903
+ <g id="ChartNames">
904
+ <rect class="cls-BarGrouped-1" y="77.13" width="21.19" height="6.29"/>
905
+ <rect class="cls-BarGrouped-1" y="49.66" width="48.99" height="6.29"/>
906
+ <rect class="cls-BarGrouped-1" y="22.18" width="72.5" height="6.29"/>
907
+ <rect class="cls-BarGrouped-2" y="70.84" width="81.43" height="6.29"/>
908
+ <rect class="cls-BarGrouped-3" y="89.71" width="60.25" height="6.29"/>
909
+ <rect class="cls-BarGrouped-2" y="43.37" width="96" height="6.29"/>
910
+ <rect class="cls-BarGrouped-3" y="62.23" width="33.43" height="6.29"/>
911
+ <rect class="cls-BarGrouped-2" y="15.89" width="55.61" height="6.29"/>
912
+ <rect class="cls-BarGrouped-3" y="34.76" width="45.35" height="6.29"/>
913
+ <rect class="cls-BarGrouped-4" y="83.42" width="89.38" height="6.29"/>
914
+ <rect class="cls-BarGrouped-4" y="55.94" width="70.84" height="6.29"/>
915
+ <rect class="cls-BarGrouped-4" y="28.47" width="33.43" height="6.29"/>
916
+ </g>
917
+ </svg>
902
918
  `;
903
- const BarStacked = `
904
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
905
- <defs>
906
- <style>.cls-BarStacked-1{fill:#ab4191;}.cls-BarStacked-1,.cls-BarStacked-2,.cls-BarStacked-3,.cls-BarStacked-4{fill-rule:evenodd;}.cls-BarStacked-2{fill:#f05951;}.cls-BarStacked-3{fill:#fa8d3d;}.cls-BarStacked-4{fill:#0f6860;}</style>
907
- </defs>
908
- <g id="ChartNames">
909
- <path class="cls-BarStacked-1" d="M53.9,8.85H14.58V19.66H53.9ZM86.33,22.28H21.46V33.09H86.33ZM71.26,35.71H14.91V46.85H71.26ZM53.57,49.47H11.63V60.29H53.57ZM95.84,62.91H21.46V73.72H95.84Zm-36,13.43H14.91V87.15H59.8Z"/>
910
- <path class="cls-BarStacked-2" d="M41.12,8.85H14.58V19.66H41.12ZM61.76,22.28H21.46V33.09h40.3ZM46.69,35.71H14.91V46.85H46.69ZM41.77,49.47H11.63V60.29H41.77ZM62.09,62.91H21.46V73.72H62.09ZM42.76,76.34H14.91V87.15H42.76Z"/>
911
- <path class="cls-BarStacked-3" d="M31.62,8.85h-17V19.66h17ZM45.38,22.28H21.46V33.09H45.38Zm-9.5,13.43h-21V46.85h21Zm-2.3,13.76H11.63V60.29H33.58Zm8.85,13.44h-21V73.72h21ZM31,76.34h-16V87.15H31Z"/>
912
- <path class="cls-BarStacked-4" d="M14.91,8.85H.16V19.66H14.91ZM27.36,22.28H.16V33.09h27.2ZM19.17,35.71H.16V46.85h19ZM15.56,49.47H.16V60.29h15.4ZM27.69,62.91H.16V73.72H27.69ZM16.22,76.34H.16V87.15H16.22Z"/>
913
- </g>
914
- </svg>
919
+ const BarStacked = `
920
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
921
+ <defs>
922
+ <style>.cls-BarStacked-1{fill:#ab4191;}.cls-BarStacked-1,.cls-BarStacked-2,.cls-BarStacked-3,.cls-BarStacked-4{fill-rule:evenodd;}.cls-BarStacked-2{fill:#f05951;}.cls-BarStacked-3{fill:#fa8d3d;}.cls-BarStacked-4{fill:#0f6860;}</style>
923
+ </defs>
924
+ <g id="ChartNames">
925
+ <path class="cls-BarStacked-1" d="M53.9,8.85H14.58V19.66H53.9ZM86.33,22.28H21.46V33.09H86.33ZM71.26,35.71H14.91V46.85H71.26ZM53.57,49.47H11.63V60.29H53.57ZM95.84,62.91H21.46V73.72H95.84Zm-36,13.43H14.91V87.15H59.8Z"/>
926
+ <path class="cls-BarStacked-2" d="M41.12,8.85H14.58V19.66H41.12ZM61.76,22.28H21.46V33.09h40.3ZM46.69,35.71H14.91V46.85H46.69ZM41.77,49.47H11.63V60.29H41.77ZM62.09,62.91H21.46V73.72H62.09ZM42.76,76.34H14.91V87.15H42.76Z"/>
927
+ <path class="cls-BarStacked-3" d="M31.62,8.85h-17V19.66h17ZM45.38,22.28H21.46V33.09H45.38Zm-9.5,13.43h-21V46.85h21Zm-2.3,13.76H11.63V60.29H33.58Zm8.85,13.44h-21V73.72h21ZM31,76.34h-16V87.15H31Z"/>
928
+ <path class="cls-BarStacked-4" d="M14.91,8.85H.16V19.66H14.91ZM27.36,22.28H.16V33.09h27.2ZM19.17,35.71H.16V46.85h19ZM15.56,49.47H.16V60.29h15.4ZM27.69,62.91H.16V73.72H27.69ZM16.22,76.34H.16V87.15H16.22Z"/>
929
+ </g>
930
+ </svg>
915
931
  `;
916
- const Column100Stacked = `
917
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
918
- <defs>
919
- <style>.cls-Column100Stacked-1{fill:#ab4191;}.cls-Column100Stacked-1,.cls-Column100Stacked-2,.cls-Column100Stacked-3,.cls-Column100Stacked-4{fill-rule:evenodd;}.cls-Column100Stacked-2{fill:#f05951;}.cls-Column100Stacked-3{fill:#fa8d3d;}.cls-Column100Stacked-4{fill:#0f6860;}</style>
920
- </defs>
921
- <g id="ChartNames">
922
- <path class="cls-Column100Stacked-1" d="M0,0V50.28H13.81V0ZM16.44,0V48.44H30.25V0ZM32.88,0V53.51h13.8V0ZM49.32,0V47.78h13.8V0ZM65.75,0V52.68H79.56V0ZM82.19,0V54H96V0Z"/>
923
- <path class="cls-Column100Stacked-2" d="M16.44,20.35V66.43H30.25V20.35ZM65.75,30V68.74H79.56V30ZM32.88,25.73v48h13.8v-48ZM49.32,39.17V66.05h13.8V39.17ZM82.19,22.66V70.27H96V22.66ZM0,35.33v33H13.81v-33Z"/>
924
- <path class="cls-Column100Stacked-3" d="M16.44,48.38V87.94H30.25V48.38Zm49.31,8.07V90.24H79.56V56.45ZM32.88,53V94.46h13.8V53ZM49.32,64.51V87.94h13.8V64.51ZM82.19,50.3V91.39H96V50.3ZM0,61.44V89.86H13.81V61.44Z"/>
925
- <path class="cls-Column100Stacked-4" d="M32.88,82.11V96h13.8V82.11Zm16.44-4.45V96h13.8V77.66Zm32.87,3.41V96H96V81.07ZM16.44,73.73V96H30.25V73.73ZM65.75,84.47V96H79.56V84.47ZM0,85.08V96H13.81V85.08Z"/>
926
- </g>
927
- </svg>
932
+ const Column100Stacked = `
933
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
934
+ <defs>
935
+ <style>.cls-Column100Stacked-1{fill:#ab4191;}.cls-Column100Stacked-1,.cls-Column100Stacked-2,.cls-Column100Stacked-3,.cls-Column100Stacked-4{fill-rule:evenodd;}.cls-Column100Stacked-2{fill:#f05951;}.cls-Column100Stacked-3{fill:#fa8d3d;}.cls-Column100Stacked-4{fill:#0f6860;}</style>
936
+ </defs>
937
+ <g id="ChartNames">
938
+ <path class="cls-Column100Stacked-1" d="M0,0V50.28H13.81V0ZM16.44,0V48.44H30.25V0ZM32.88,0V53.51h13.8V0ZM49.32,0V47.78h13.8V0ZM65.75,0V52.68H79.56V0ZM82.19,0V54H96V0Z"/>
939
+ <path class="cls-Column100Stacked-2" d="M16.44,20.35V66.43H30.25V20.35ZM65.75,30V68.74H79.56V30ZM32.88,25.73v48h13.8v-48ZM49.32,39.17V66.05h13.8V39.17ZM82.19,22.66V70.27H96V22.66ZM0,35.33v33H13.81v-33Z"/>
940
+ <path class="cls-Column100Stacked-3" d="M16.44,48.38V87.94H30.25V48.38Zm49.31,8.07V90.24H79.56V56.45ZM32.88,53V94.46h13.8V53ZM49.32,64.51V87.94h13.8V64.51ZM82.19,50.3V91.39H96V50.3ZM0,61.44V89.86H13.81V61.44Z"/>
941
+ <path class="cls-Column100Stacked-4" d="M32.88,82.11V96h13.8V82.11Zm16.44-4.45V96h13.8V77.66Zm32.87,3.41V96H96V81.07ZM16.44,73.73V96H30.25V73.73ZM65.75,84.47V96H79.56V84.47ZM0,85.08V96H13.81V85.08Z"/>
942
+ </g>
943
+ </svg>
928
944
  `;
929
- const ColumnGrouped = `
930
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
931
- <defs>
932
- <style>.cls-ColumnGrouped-1{fill:#fa8d3d;}.cls-ColumnGrouped-2{fill:#f05951;}.cls-ColumnGrouped-3{fill:#0f6860;}.cls-ColumnGrouped-4{fill:#ab4191;}</style>
933
- </defs>
934
- <g id="ChartNames">
935
- <rect class="cls-ColumnGrouped-1" x="14.87" y="30.42" width="7.44" height="65.58"/>
936
- <rect class="cls-ColumnGrouped-1" x="48" y="8.11" width="7.44" height="87.89"/>
937
- <rect class="cls-ColumnGrouped-1" x="81.13" y="38.2" width="7.44" height="57.8"/>
938
- <rect class="cls-ColumnGrouped-2" x="7.44" y="43.61" width="7.44" height="52.39"/>
939
- <rect class="cls-ColumnGrouped-3" x="22.31" y="52.06" width="7.44" height="43.94"/>
940
- <rect class="cls-ColumnGrouped-2" x="40.56" y="34.48" width="7.44" height="61.52"/>
941
- <rect class="cls-ColumnGrouped-3" x="55.44" y="19.27" width="7.44" height="76.73"/>
942
- <rect class="cls-ColumnGrouped-2" x="73.69" y="12.17" width="7.44" height="83.83"/>
943
- <rect class="cls-ColumnGrouped-4" y="20.28" width="7.44" height="75.72"/>
944
- <rect class="cls-ColumnGrouped-4" x="33.13" y="71.32" width="7.44" height="24.68"/>
945
- <rect class="cls-ColumnGrouped-4" x="66.25" y="51.04" width="7.44" height="44.96"/>
946
- <rect class="cls-ColumnGrouped-3" x="88.56" y="63.21" width="7.44" height="32.79"/>
947
- </g>
948
- </svg>
945
+ const ColumnGrouped = `
946
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
947
+ <defs>
948
+ <style>.cls-ColumnGrouped-1{fill:#fa8d3d;}.cls-ColumnGrouped-2{fill:#f05951;}.cls-ColumnGrouped-3{fill:#0f6860;}.cls-ColumnGrouped-4{fill:#ab4191;}</style>
949
+ </defs>
950
+ <g id="ChartNames">
951
+ <rect class="cls-ColumnGrouped-1" x="14.87" y="30.42" width="7.44" height="65.58"/>
952
+ <rect class="cls-ColumnGrouped-1" x="48" y="8.11" width="7.44" height="87.89"/>
953
+ <rect class="cls-ColumnGrouped-1" x="81.13" y="38.2" width="7.44" height="57.8"/>
954
+ <rect class="cls-ColumnGrouped-2" x="7.44" y="43.61" width="7.44" height="52.39"/>
955
+ <rect class="cls-ColumnGrouped-3" x="22.31" y="52.06" width="7.44" height="43.94"/>
956
+ <rect class="cls-ColumnGrouped-2" x="40.56" y="34.48" width="7.44" height="61.52"/>
957
+ <rect class="cls-ColumnGrouped-3" x="55.44" y="19.27" width="7.44" height="76.73"/>
958
+ <rect class="cls-ColumnGrouped-2" x="73.69" y="12.17" width="7.44" height="83.83"/>
959
+ <rect class="cls-ColumnGrouped-4" y="20.28" width="7.44" height="75.72"/>
960
+ <rect class="cls-ColumnGrouped-4" x="33.13" y="71.32" width="7.44" height="24.68"/>
961
+ <rect class="cls-ColumnGrouped-4" x="66.25" y="51.04" width="7.44" height="44.96"/>
962
+ <rect class="cls-ColumnGrouped-3" x="88.56" y="63.21" width="7.44" height="32.79"/>
963
+ </g>
964
+ </svg>
949
965
  `;
950
- const ColumnStacked = `
951
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
952
- <defs>
953
- <style>.cls-ColumnStacked-1{fill:#ab4191;}.cls-ColumnStacked-1,.cls-ColumnStacked-2,.cls-ColumnStacked-3,.cls-ColumnStacked-4{fill-rule:evenodd;}.cls-ColumnStacked-2{fill:#f05951;}.cls-ColumnStacked-3{fill:#fa8d3d;}.cls-ColumnStacked-4{fill:#0f6860;}</style>
954
- </defs>
955
- <g id="ChartNames">
956
- <path class="cls-ColumnStacked-1" d="M0,44.4V78.55H13.81V44.4ZM16.44,9.87V78.55H30.25V9.87ZM32.88,25.8V78.55h13.8V25.8Zm16.44,19V82.34h13.8V44.77ZM65.75,0V78.55H79.56V0ZM82.19,37.94V86.13H96V37.94Z"/>
957
- <path class="cls-ColumnStacked-2" d="M16.44,36.05v42.5H30.25V36.05Zm49.31-.38V78.55H79.56V35.67ZM32.88,52V78.55h13.8V52ZM49.32,57.3v25h13.8v-25Zm32.87-1.14v30H96v-30ZM0,57.68V78.55H13.81V57.68Z"/>
958
- <path class="cls-ColumnStacked-3" d="M32.88,63.37V78.55h13.8V63.37Zm16.44,2.27v16.7h13.8V65.64Zm32.87,3V86.13H96V68.68ZM16.44,53.5v25H30.25v-25Zm49.31,3v22H79.56v-22ZM0,67.54v14H13.81v-14Z"/>
959
- <path class="cls-ColumnStacked-4" d="M16.44,71.72V96H30.25V71.72Zm49.31,1.51V96H79.56V73.23ZM32.88,77V96h13.8V77Zm16.44,3.79V96h13.8V80.82Zm32.87,3V96H96V83.86ZM0,81.2V96H13.81V81.2Z"/>
960
- </g>
961
- </svg>
966
+ const ColumnStacked = `
967
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
968
+ <defs>
969
+ <style>.cls-ColumnStacked-1{fill:#ab4191;}.cls-ColumnStacked-1,.cls-ColumnStacked-2,.cls-ColumnStacked-3,.cls-ColumnStacked-4{fill-rule:evenodd;}.cls-ColumnStacked-2{fill:#f05951;}.cls-ColumnStacked-3{fill:#fa8d3d;}.cls-ColumnStacked-4{fill:#0f6860;}</style>
970
+ </defs>
971
+ <g id="ChartNames">
972
+ <path class="cls-ColumnStacked-1" d="M0,44.4V78.55H13.81V44.4ZM16.44,9.87V78.55H30.25V9.87ZM32.88,25.8V78.55h13.8V25.8Zm16.44,19V82.34h13.8V44.77ZM65.75,0V78.55H79.56V0ZM82.19,37.94V86.13H96V37.94Z"/>
973
+ <path class="cls-ColumnStacked-2" d="M16.44,36.05v42.5H30.25V36.05Zm49.31-.38V78.55H79.56V35.67ZM32.88,52V78.55h13.8V52ZM49.32,57.3v25h13.8v-25Zm32.87-1.14v30H96v-30ZM0,57.68V78.55H13.81V57.68Z"/>
974
+ <path class="cls-ColumnStacked-3" d="M32.88,63.37V78.55h13.8V63.37Zm16.44,2.27v16.7h13.8V65.64Zm32.87,3V86.13H96V68.68ZM16.44,53.5v25H30.25v-25Zm49.31,3v22H79.56v-22ZM0,67.54v14H13.81v-14Z"/>
975
+ <path class="cls-ColumnStacked-4" d="M16.44,71.72V96H30.25V71.72Zm49.31,1.51V96H79.56V73.23ZM32.88,77V96h13.8V77Zm16.44,3.79V96h13.8V80.82Zm32.87,3V96H96V83.86ZM0,81.2V96H13.81V81.2Z"/>
976
+ </g>
977
+ </svg>
962
978
  `;
963
- const Line100Stacked = `
964
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
965
- <defs>
966
- <style>.cls-Line100Stacked-1,.cls-Line100Stacked-2,.cls-Line100Stacked-3,.cls-Line100Stacked-4{fill:none;stroke-miterlimit:10;stroke-width:2px;fill-rule:evenodd;}.cls-Line100Stacked-1{stroke:#ab4191;}.cls-Line100Stacked-2{stroke:#f05951;}.cls-Line100Stacked-3{stroke:#fa8d3d;}.cls-Line100Stacked-4{stroke:#0f6860;}</style>
967
- </defs>
968
- <g id="ChartNames">
969
- <polyline class="cls-Line100Stacked-1" points="0 29.37 17.34 19.88 38.74 29.52 58.65 32.18 80.42 28.87 96 24.56"/>
970
- <polyline class="cls-Line100Stacked-2" points="0 42.5 17.34 37.81 38.37 41.12 59.02 42.11 80.42 37.81 96 41.85"/>
971
- <polyline class="cls-Line100Stacked-3" points="0 66.68 17.34 59.32 38.37 72.9 59.76 55.35 96 65.16"/>
972
- <polyline class="cls-Line100Stacked-4" points="0 85.81 17.34 78.52 59.39 88.12 80.78 76.87 96 82.48"/>
973
- </g>
974
- </svg>
979
+ const Line100Stacked = `
980
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
981
+ <defs>
982
+ <style>.cls-Line100Stacked-1,.cls-Line100Stacked-2,.cls-Line100Stacked-3,.cls-Line100Stacked-4{fill:none;stroke-miterlimit:10;stroke-width:2px;fill-rule:evenodd;}.cls-Line100Stacked-1{stroke:#ab4191;}.cls-Line100Stacked-2{stroke:#f05951;}.cls-Line100Stacked-3{stroke:#fa8d3d;}.cls-Line100Stacked-4{stroke:#0f6860;}</style>
983
+ </defs>
984
+ <g id="ChartNames">
985
+ <polyline class="cls-Line100Stacked-1" points="0 29.37 17.34 19.88 38.74 29.52 58.65 32.18 80.42 28.87 96 24.56"/>
986
+ <polyline class="cls-Line100Stacked-2" points="0 42.5 17.34 37.81 38.37 41.12 59.02 42.11 80.42 37.81 96 41.85"/>
987
+ <polyline class="cls-Line100Stacked-3" points="0 66.68 17.34 59.32 38.37 72.9 59.76 55.35 96 65.16"/>
988
+ <polyline class="cls-Line100Stacked-4" points="0 85.81 17.34 78.52 59.39 88.12 80.78 76.87 96 82.48"/>
989
+ </g>
990
+ </svg>
975
991
  `;
976
- const LineGrouped = `
977
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
978
- <defs>
979
- <style>.cls-LineGrouped-1,.cls-LineGrouped-2,.cls-LineGrouped-3,.cls-LineGrouped-4{fill:none;stroke-miterlimit:10;stroke-width:2px;}.cls-LineGrouped-1{stroke:#ab4191;}.cls-LineGrouped-2{stroke:#f05951;}.cls-LineGrouped-3{stroke:#fa8d3d;}.cls-LineGrouped-4{stroke:#0f6860;}</style>
980
- </defs>
981
- <g id="ChartNames">
982
- <polyline class="cls-LineGrouped-1" points="0 31.14 4.12 20.49 11.66 36.91 16.09 36.66 24.41 46.48 27.96 47.14 32.04 44.59 36.46 46.81 40.19 44.59 45.04 45.82 47.99 49.2 51.98 48.87 59.96 52.84 63.95 51.52 68.28 51.52 74.78 53.74 85.36 41.04 96 17.86 96 18.27"/>
983
- <polyline class="cls-LineGrouped-2" points="0 61.42 3.9 56.96 7.98 61.25 15.61 60.59 24.28 69.75 27.57 71.15 31.99 67.52 35.81 69.17 40.06 67.19 48.04 70.08 51.76 69.17 59.07 73.36 68.06 72.06 75.87 68.01 79.25 63.06 82.37 59.93 88.01 57.37 91.99 52.01 96 36.5 96 35.45"/>
984
- <polyline class="cls-LineGrouped-3" points="0 79.47 5.11 77.91 8.5 78.81 16.13 77.41 20.72 80.71 27.4 84.17 37.8 83.52 46.91 85.58 52.02 79.31 60.35 84.59 90.95 89.87 96 85.5"/>
985
- <polyline class="cls-LineGrouped-4" points="0 92.26 14.7 90.69 19.9 92.1 24.93 90.03 30.13 91.1 47.13 90.78 51.72 89.12 56.75 90.69 71.06 90.11 83.63 83.1 96 79.33"/>
986
- </g>
987
- </svg>
992
+ const LineGrouped = `
993
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
994
+ <defs>
995
+ <style>.cls-LineGrouped-1,.cls-LineGrouped-2,.cls-LineGrouped-3,.cls-LineGrouped-4{fill:none;stroke-miterlimit:10;stroke-width:2px;}.cls-LineGrouped-1{stroke:#ab4191;}.cls-LineGrouped-2{stroke:#f05951;}.cls-LineGrouped-3{stroke:#fa8d3d;}.cls-LineGrouped-4{stroke:#0f6860;}</style>
996
+ </defs>
997
+ <g id="ChartNames">
998
+ <polyline class="cls-LineGrouped-1" points="0 31.14 4.12 20.49 11.66 36.91 16.09 36.66 24.41 46.48 27.96 47.14 32.04 44.59 36.46 46.81 40.19 44.59 45.04 45.82 47.99 49.2 51.98 48.87 59.96 52.84 63.95 51.52 68.28 51.52 74.78 53.74 85.36 41.04 96 17.86 96 18.27"/>
999
+ <polyline class="cls-LineGrouped-2" points="0 61.42 3.9 56.96 7.98 61.25 15.61 60.59 24.28 69.75 27.57 71.15 31.99 67.52 35.81 69.17 40.06 67.19 48.04 70.08 51.76 69.17 59.07 73.36 68.06 72.06 75.87 68.01 79.25 63.06 82.37 59.93 88.01 57.37 91.99 52.01 96 36.5 96 35.45"/>
1000
+ <polyline class="cls-LineGrouped-3" points="0 79.47 5.11 77.91 8.5 78.81 16.13 77.41 20.72 80.71 27.4 84.17 37.8 83.52 46.91 85.58 52.02 79.31 60.35 84.59 90.95 89.87 96 85.5"/>
1001
+ <polyline class="cls-LineGrouped-4" points="0 92.26 14.7 90.69 19.9 92.1 24.93 90.03 30.13 91.1 47.13 90.78 51.72 89.12 56.75 90.69 71.06 90.11 83.63 83.1 96 79.33"/>
1002
+ </g>
1003
+ </svg>
988
1004
  `;
989
- const LineStacked = `
990
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
991
- <defs>
992
- <style>.cls-LineStacked-1,.cls-LineStacked-2,.cls-LineStacked-3,.cls-LineStacked-4{fill:none;stroke-miterlimit:10;stroke-width:2px;fill-rule:evenodd;}.cls-LineStacked-1{stroke:#ab4191;}.cls-LineStacked-2{stroke:#f05951;}.cls-LineStacked-3{stroke:#fa8d3d;}.cls-LineStacked-4{stroke:#0f6860;}</style>
993
- </defs>
994
- <g id="ChartNames">
995
- <polyline class="cls-LineStacked-1" points="0 80.39 14.23 67.93 31.11 68.6 47.9 59.83 65.4 39.39 81.92 33.46 96 14.25"/>
996
- <polyline class="cls-LineStacked-2" points="0 85.07 14.32 75.65 31.47 78.74 48.25 68.72 64.86 68.97 82.1 43.77 96 36.04"/>
997
- <polyline class="cls-LineStacked-3" points="0 90.45 14.14 83.91 30.93 84.66 48.17 79.07 64.86 78.07 82.28 62.38 96 59.21"/>
998
- <polyline class="cls-LineStacked-4" points="0 96 31.16 90.78 64.95 88.38 82.19 77.78 96 74.53"/>
999
- </g>
1000
- </svg>
1005
+ const LineStacked = `
1006
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
1007
+ <defs>
1008
+ <style>.cls-LineStacked-1,.cls-LineStacked-2,.cls-LineStacked-3,.cls-LineStacked-4{fill:none;stroke-miterlimit:10;stroke-width:2px;fill-rule:evenodd;}.cls-LineStacked-1{stroke:#ab4191;}.cls-LineStacked-2{stroke:#f05951;}.cls-LineStacked-3{stroke:#fa8d3d;}.cls-LineStacked-4{stroke:#0f6860;}</style>
1009
+ </defs>
1010
+ <g id="ChartNames">
1011
+ <polyline class="cls-LineStacked-1" points="0 80.39 14.23 67.93 31.11 68.6 47.9 59.83 65.4 39.39 81.92 33.46 96 14.25"/>
1012
+ <polyline class="cls-LineStacked-2" points="0 85.07 14.32 75.65 31.47 78.74 48.25 68.72 64.86 68.97 82.1 43.77 96 36.04"/>
1013
+ <polyline class="cls-LineStacked-3" points="0 90.45 14.14 83.91 30.93 84.66 48.17 79.07 64.86 78.07 82.28 62.38 96 59.21"/>
1014
+ <polyline class="cls-LineStacked-4" points="0 96 31.16 90.78 64.95 88.38 82.19 77.78 96 74.53"/>
1015
+ </g>
1016
+ </svg>
1001
1017
  `;
1002
- const Pie = `
1003
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
1004
- <defs>
1005
- <style>.cls-Pie-1{fill:#f05951;}.cls-Pie-1,.cls-Pie-2,.cls-Pie-3,.cls-Pie-4{fill-rule:evenodd;}.cls-Pie-2{fill:#fa8d3d;}.cls-Pie-3{fill:#0f6860;}.cls-Pie-4{fill:#ab4191;}</style>
1006
- </defs>
1007
- <g id="ChartNames">
1008
- <path class="cls-Pie-1" d="M44.19,48V3.79A43.27,43.27,0,0,0,3,32.3,43.45,43.45,0,0,0,15,81Z"/>
1009
- <path class="cls-Pie-2" d="M44.19,48,15,81a42.63,42.63,0,0,0,37.7,10.28,42.72,42.72,0,0,0,31-23.78Z"/>
1010
- <path class="cls-Pie-3" d="M51.77,48,91.29,67.53a42.87,42.87,0,0,0,.53-38Z"/>
1011
- <path class="cls-Pie-4" d="M44.19,48,84.24,29.52a43.13,43.13,0,0,0-40-25.73Z"/>
1012
- </g>
1013
- </svg>
1018
+ const Pie = `
1019
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
1020
+ <defs>
1021
+ <style>.cls-Pie-1{fill:#f05951;}.cls-Pie-1,.cls-Pie-2,.cls-Pie-3,.cls-Pie-4{fill-rule:evenodd;}.cls-Pie-2{fill:#fa8d3d;}.cls-Pie-3{fill:#0f6860;}.cls-Pie-4{fill:#ab4191;}</style>
1022
+ </defs>
1023
+ <g id="ChartNames">
1024
+ <path class="cls-Pie-1" d="M44.19,48V3.79A43.27,43.27,0,0,0,3,32.3,43.45,43.45,0,0,0,15,81Z"/>
1025
+ <path class="cls-Pie-2" d="M44.19,48,15,81a42.63,42.63,0,0,0,37.7,10.28,42.72,42.72,0,0,0,31-23.78Z"/>
1026
+ <path class="cls-Pie-3" d="M51.77,48,91.29,67.53a42.87,42.87,0,0,0,.53-38Z"/>
1027
+ <path class="cls-Pie-4" d="M44.19,48,84.24,29.52a43.13,43.13,0,0,0-40-25.73Z"/>
1028
+ </g>
1029
+ </svg>
1014
1030
  `;
1015
- const ScatterBubble = `
1016
- <svg id="Layer_1" data-name="Layer 1"
1017
- xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
1018
- <defs>
1019
- <style>.cls-ScatterBubble-1{fill:#f05951;}.cls-ScatterBubble-1,.cls-ScatterBubble-2{stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.5px;}.cls-ScatterBubble-2{fill:#ab4191;}</style>
1020
- </defs>
1021
- <circle class="cls-ScatterBubble-1" cx="6.06" cy="85.05" r="2.33"/>
1022
- <circle class="cls-ScatterBubble-1" cx="16.57" cy="83.89" r="2.33"/>
1023
- <circle class="cls-ScatterBubble-1" cx="13.07" cy="78.83" r="2.33"/>
1024
- <circle class="cls-ScatterBubble-1" cx="39.52" cy="59.38" r="2.33"/>
1025
- <circle class="cls-ScatterBubble-1" cx="35.63" cy="53.94" r="2.33"/>
1026
- <circle class="cls-ScatterBubble-1" cx="7.62" cy="70.27" r="2.33"/>
1027
- <circle class="cls-ScatterBubble-1" cx="20.85" cy="71.44" r="2.33"/>
1028
- <circle class="cls-ScatterBubble-2" cx="8.79" cy="84.28" r="3.11"/>
1029
- <circle class="cls-ScatterBubble-1" cx="18.9" cy="67.16" r="3.11"/>
1030
- <circle class="cls-ScatterBubble-1" cx="36.4" cy="59.77" r="3.11"/>
1031
- <circle class="cls-ScatterBubble-1" cx="63.24" cy="21.26" r="3.11"/>
1032
- <circle class="cls-ScatterBubble-1" cx="25.12" cy="70.27" r="3.11"/>
1033
- <circle class="cls-ScatterBubble-2" cx="9.18" cy="71.83" r="3.11"/>
1034
- <circle class="cls-ScatterBubble-2" cx="13.07" cy="47.32" r="3.11"/>
1035
- <circle class="cls-ScatterBubble-1" cx="8.01" cy="60.94" r="4.28"/>
1036
- <circle class="cls-ScatterBubble-2" cx="22.4" cy="74.94" r="4.28"/>
1037
- <circle class="cls-ScatterBubble-1" cx="29.79" cy="54.33" r="4.28"/>
1038
- <circle class="cls-ScatterBubble-1" cx="73.75" cy="30.99" r="4.28"/>
1039
- <circle class="cls-ScatterBubble-1" cx="62.47" cy="34.88" r="4.28"/>
1040
- <circle class="cls-ScatterBubble-1" cx="16.57" cy="48.88" r="4.28"/>
1041
- <circle class="cls-ScatterBubble-1" cx="44.18" cy="28.26" r="4.28"/>
1042
- <circle class="cls-ScatterBubble-1" cx="16.57" cy="61.33" r="4.28"/>
1043
- <circle class="cls-ScatterBubble-2" cx="29.79" cy="49.66" r="5.06"/>
1044
- <circle class="cls-ScatterBubble-1" cx="47.68" cy="53.94" r="5.83"/>
1045
- <circle class="cls-ScatterBubble-1" cx="62.08" cy="26.32" r="5.06"/>
1046
- <circle class="cls-ScatterBubble-2" cx="86.58" cy="39.93" r="5.06"/>
1047
- <circle class="cls-ScatterBubble-2" cx="70.63" cy="33.32" r="5.06"/>
1048
- <circle class="cls-ScatterBubble-2" cx="64.8" cy="33.32" r="6.22"/>
1049
- <circle class="cls-ScatterBubble-1" cx="25.9" cy="32.15" r="6.22"/>
1050
- <circle class="cls-ScatterBubble-2" cx="39.52" cy="74.16" r="6.61"/>
1051
- <circle class="cls-ScatterBubble-2" cx="56.23" cy="81.54" r="6.22"/>
1052
- <circle class="cls-ScatterBubble-1" cx="51.19" cy="74.16" r="8.17"/>
1053
- <circle class="cls-ScatterBubble-2" cx="42.24" cy="38.77" r="8.17"/>
1054
- <circle class="cls-ScatterBubble-1" cx="50.8" cy="60.94" r="8.17"/>
1055
- <circle class="cls-ScatterBubble-1" cx="41.85" cy="34.88" r="9.34"/>
1056
- <circle class="cls-ScatterBubble-1" cx="52.35" cy="31.76" r="11.28"/>
1057
- <circle class="cls-ScatterBubble-2" cx="58.97" cy="53.55" r="12.84"/>
1058
- <circle class="cls-ScatterBubble-1" cx="37.57" cy="81.55" r="9.72"/>
1059
- <circle class="cls-ScatterBubble-1" cx="58.58" cy="50.44" r="6.22"/>
1060
- <circle class="cls-ScatterBubble-1" cx="51.57" cy="53.55" r="7"/>
1061
- <circle class="cls-ScatterBubble-1" cx="53.52" cy="34.49" r="7"/>
1062
- <circle class="cls-ScatterBubble-1" cx="57.41" cy="11.93" r="7"/>
1063
- <circle class="cls-ScatterBubble-1" cx="86.19" cy="57.83" r="5.45"/>
1064
- <circle class="cls-ScatterBubble-1" cx="20.85" cy="66.38" r="5.45"/>
1065
- <circle class="cls-ScatterBubble-2" cx="38.35" cy="58.6" r="5.06"/>
1066
- <circle class="cls-ScatterBubble-2" cx="15.79" cy="64.05" r="5.06"/>
1067
- <circle class="cls-ScatterBubble-1" cx="28.24" cy="74.55" r="5.06"/>
1068
- <circle class="cls-ScatterBubble-2" cx="57.02" cy="22.04" r="4.28"/>
1069
- </svg>
1031
+ const ScatterBubble = `
1032
+ <svg id="Layer_1" data-name="Layer 1"
1033
+ xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
1034
+ <defs>
1035
+ <style>.cls-ScatterBubble-1{fill:#f05951;}.cls-ScatterBubble-1,.cls-ScatterBubble-2{stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.5px;}.cls-ScatterBubble-2{fill:#ab4191;}</style>
1036
+ </defs>
1037
+ <circle class="cls-ScatterBubble-1" cx="6.06" cy="85.05" r="2.33"/>
1038
+ <circle class="cls-ScatterBubble-1" cx="16.57" cy="83.89" r="2.33"/>
1039
+ <circle class="cls-ScatterBubble-1" cx="13.07" cy="78.83" r="2.33"/>
1040
+ <circle class="cls-ScatterBubble-1" cx="39.52" cy="59.38" r="2.33"/>
1041
+ <circle class="cls-ScatterBubble-1" cx="35.63" cy="53.94" r="2.33"/>
1042
+ <circle class="cls-ScatterBubble-1" cx="7.62" cy="70.27" r="2.33"/>
1043
+ <circle class="cls-ScatterBubble-1" cx="20.85" cy="71.44" r="2.33"/>
1044
+ <circle class="cls-ScatterBubble-2" cx="8.79" cy="84.28" r="3.11"/>
1045
+ <circle class="cls-ScatterBubble-1" cx="18.9" cy="67.16" r="3.11"/>
1046
+ <circle class="cls-ScatterBubble-1" cx="36.4" cy="59.77" r="3.11"/>
1047
+ <circle class="cls-ScatterBubble-1" cx="63.24" cy="21.26" r="3.11"/>
1048
+ <circle class="cls-ScatterBubble-1" cx="25.12" cy="70.27" r="3.11"/>
1049
+ <circle class="cls-ScatterBubble-2" cx="9.18" cy="71.83" r="3.11"/>
1050
+ <circle class="cls-ScatterBubble-2" cx="13.07" cy="47.32" r="3.11"/>
1051
+ <circle class="cls-ScatterBubble-1" cx="8.01" cy="60.94" r="4.28"/>
1052
+ <circle class="cls-ScatterBubble-2" cx="22.4" cy="74.94" r="4.28"/>
1053
+ <circle class="cls-ScatterBubble-1" cx="29.79" cy="54.33" r="4.28"/>
1054
+ <circle class="cls-ScatterBubble-1" cx="73.75" cy="30.99" r="4.28"/>
1055
+ <circle class="cls-ScatterBubble-1" cx="62.47" cy="34.88" r="4.28"/>
1056
+ <circle class="cls-ScatterBubble-1" cx="16.57" cy="48.88" r="4.28"/>
1057
+ <circle class="cls-ScatterBubble-1" cx="44.18" cy="28.26" r="4.28"/>
1058
+ <circle class="cls-ScatterBubble-1" cx="16.57" cy="61.33" r="4.28"/>
1059
+ <circle class="cls-ScatterBubble-2" cx="29.79" cy="49.66" r="5.06"/>
1060
+ <circle class="cls-ScatterBubble-1" cx="47.68" cy="53.94" r="5.83"/>
1061
+ <circle class="cls-ScatterBubble-1" cx="62.08" cy="26.32" r="5.06"/>
1062
+ <circle class="cls-ScatterBubble-2" cx="86.58" cy="39.93" r="5.06"/>
1063
+ <circle class="cls-ScatterBubble-2" cx="70.63" cy="33.32" r="5.06"/>
1064
+ <circle class="cls-ScatterBubble-2" cx="64.8" cy="33.32" r="6.22"/>
1065
+ <circle class="cls-ScatterBubble-1" cx="25.9" cy="32.15" r="6.22"/>
1066
+ <circle class="cls-ScatterBubble-2" cx="39.52" cy="74.16" r="6.61"/>
1067
+ <circle class="cls-ScatterBubble-2" cx="56.23" cy="81.54" r="6.22"/>
1068
+ <circle class="cls-ScatterBubble-1" cx="51.19" cy="74.16" r="8.17"/>
1069
+ <circle class="cls-ScatterBubble-2" cx="42.24" cy="38.77" r="8.17"/>
1070
+ <circle class="cls-ScatterBubble-1" cx="50.8" cy="60.94" r="8.17"/>
1071
+ <circle class="cls-ScatterBubble-1" cx="41.85" cy="34.88" r="9.34"/>
1072
+ <circle class="cls-ScatterBubble-1" cx="52.35" cy="31.76" r="11.28"/>
1073
+ <circle class="cls-ScatterBubble-2" cx="58.97" cy="53.55" r="12.84"/>
1074
+ <circle class="cls-ScatterBubble-1" cx="37.57" cy="81.55" r="9.72"/>
1075
+ <circle class="cls-ScatterBubble-1" cx="58.58" cy="50.44" r="6.22"/>
1076
+ <circle class="cls-ScatterBubble-1" cx="51.57" cy="53.55" r="7"/>
1077
+ <circle class="cls-ScatterBubble-1" cx="53.52" cy="34.49" r="7"/>
1078
+ <circle class="cls-ScatterBubble-1" cx="57.41" cy="11.93" r="7"/>
1079
+ <circle class="cls-ScatterBubble-1" cx="86.19" cy="57.83" r="5.45"/>
1080
+ <circle class="cls-ScatterBubble-1" cx="20.85" cy="66.38" r="5.45"/>
1081
+ <circle class="cls-ScatterBubble-2" cx="38.35" cy="58.6" r="5.06"/>
1082
+ <circle class="cls-ScatterBubble-2" cx="15.79" cy="64.05" r="5.06"/>
1083
+ <circle class="cls-ScatterBubble-1" cx="28.24" cy="74.55" r="5.06"/>
1084
+ <circle class="cls-ScatterBubble-2" cx="57.02" cy="22.04" r="4.28"/>
1085
+ </svg>
1070
1086
  `;
1071
- const ScatterLine = `
1072
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
1073
- <defs>
1074
- <style>.cls-ScatterLine-1,.cls-ScatterLine-2,.cls-ScatterLine-3,.cls-ScatterLine-4{fill:none;stroke-miterlimit:10;stroke-width:2px;}.cls-ScatterLine-1{stroke:#0f6860;}.cls-ScatterLine-1,.cls-ScatterLine-2,.cls-ScatterLine-3,.cls-ScatterLine-4,.cls-ScatterLine-5,.cls-ScatterLine-7,.cls-ScatterLine-8,.cls-ScatterLine-9{fill-rule:evenodd;}.cls-ScatterLine-2{stroke:#fa8d3d;}.cls-ScatterLine-3{stroke:#f05951;}.cls-ScatterLine-4{stroke:#ab4191;}.cls-ScatterLine-5{fill:#ab4191;}.cls-ScatterLine-6{fill:#fff;}.cls-ScatterLine-7{fill:#f05951;}.cls-ScatterLine-8{fill:#0f6860;}.cls-ScatterLine-9{fill:#fa8d3d;}</style>
1075
- </defs>
1076
- <g id="ChartNames">
1077
- <polyline class="cls-ScatterLine-1" points="26.86 87.32 37.71 81.09 60.66 85.34 75.57 71.13 82.69 60.02 88.09 48.86"/>
1078
- <polyline class="cls-ScatterLine-2" points="10.6 85.36 16.86 76.38 32.22 58.89 55.26 41.45 60.02 31.09 69.79 23.41 88.32 6.3"/>
1079
- <polyline class="cls-ScatterLine-3" points="60.19 7.22 47.42 10.06 35.31 14.73 18.95 32.1 17.53 50.04 10.44 58.56"/>
1080
- <polyline class="cls-ScatterLine-4" points="23.58 4.76 10.97 12.44 8.47 29.72"/>
1081
- <path class="cls-ScatterLine-5" d="M8.69,12.61a2.51,2.51,0,1,0,2.5-2.51A2.5,2.5,0,0,0,8.69,12.61Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.5,1.5,0,0,1,9.69,12.61Z"/>
1082
- <circle class="cls-ScatterLine-6" cx="11.19" cy="12.61" r="1.5"/>
1083
- <path class="cls-ScatterLine-5" d="M21,4.59a2.51,2.51,0,1,0,2.51-2.5A2.51,2.51,0,0,0,21,4.59Zm1,0A1.51,1.51,0,1,1,23.55,6.1,1.5,1.5,0,0,1,22,4.59Z"/>
1084
- <circle class="cls-ScatterLine-6" cx="23.55" cy="4.59" r="1.5"/>
1085
- <path class="cls-ScatterLine-5" d="M6,29.64a2.5,2.5,0,1,0,2.5-2.51A2.5,2.5,0,0,0,6,29.64Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.5,1.5,0,0,1,7,29.64Z"/>
1086
- <circle class="cls-ScatterLine-6" cx="8.52" cy="29.64" r="1.5"/>
1087
- <path class="cls-ScatterLine-7" d="M57.43,7.26a2.51,2.51,0,1,0,2.51-2.5A2.51,2.51,0,0,0,57.43,7.26Zm1,0a1.51,1.51,0,1,1,1.51,1.51A1.51,1.51,0,0,1,58.43,7.26Z"/>
1088
- <circle class="cls-ScatterLine-6" cx="59.94" cy="7.26" r="1.5"/>
1089
- <path class="cls-ScatterLine-7" d="M44.74,10.24a2.51,2.51,0,1,0,2.51-2.51A2.51,2.51,0,0,0,44.74,10.24Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.5,1.5,0,0,1,45.75,10.24Z"/>
1090
- <circle class="cls-ScatterLine-6" cx="47.25" cy="10.24" r="1.5"/>
1091
- <path class="cls-ScatterLine-7" d="M33.06,14.94a2.51,2.51,0,1,0,2.5-2.5A2.5,2.5,0,0,0,33.06,14.94Zm1,0a1.5,1.5,0,1,1,1.5,1.51A1.5,1.5,0,0,1,34.06,14.94Z"/>
1092
- <circle class="cls-ScatterLine-6" cx="35.56" cy="14.94" r="1.5"/>
1093
- <path class="cls-ScatterLine-7" d="M16.36,32.08a2.51,2.51,0,1,0,2.51-2.5A2.51,2.51,0,0,0,16.36,32.08Zm1,0a1.51,1.51,0,1,1,1.51,1.5A1.5,1.5,0,0,1,17.36,32.08Z"/>
1094
- <circle class="cls-ScatterLine-6" cx="18.87" cy="32.08" r="1.5"/>
1095
- <path class="cls-ScatterLine-7" d="M14.69,50.34a2.51,2.51,0,1,0,2.51-2.51A2.5,2.5,0,0,0,14.69,50.34Zm1,0a1.51,1.51,0,1,1,3,0,1.51,1.51,0,0,1-3,0Z"/>
1096
- <circle class="cls-ScatterLine-6" cx="17.2" cy="50.34" r="1.5"/>
1097
- <path class="cls-ScatterLine-7" d="M8,58.24a2.51,2.51,0,1,0,2.5-2.51A2.5,2.5,0,0,0,8,58.24Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.5,1.5,0,0,1,9,58.24Z"/>
1098
- <circle class="cls-ScatterLine-6" cx="10.48" cy="58.24" r="1.5"/>
1099
- <path class="cls-ScatterLine-8" d="M80.54,60a2.5,2.5,0,1,0,2.5-2.5A2.51,2.51,0,0,0,80.54,60Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.5,1.5,0,0,1,81.54,60Z"/>
1100
- <circle class="cls-ScatterLine-6" cx="83.04" cy="60.02" r="1.5"/>
1101
- <path class="cls-ScatterLine-8" d="M85.58,49a2.51,2.51,0,1,0,2.51-2.5A2.51,2.51,0,0,0,85.58,49Zm1,0a1.51,1.51,0,1,1,1.51,1.5A1.51,1.51,0,0,1,86.58,49Z"/>
1102
- <circle class="cls-ScatterLine-6" cx="88.09" cy="49" r="1.5"/>
1103
- <path class="cls-ScatterLine-8" d="M73.27,71.18a2.51,2.51,0,1,0,2.5-2.5A2.51,2.51,0,0,0,73.27,71.18Zm1,0a1.5,1.5,0,1,1,1.5,1.51A1.5,1.5,0,0,1,74.27,71.18Z"/>
1104
- <circle class="cls-ScatterLine-6" cx="75.77" cy="71.18" r="1.5"/>
1105
- <path class="cls-ScatterLine-8" d="M58.16,85.65a2.5,2.5,0,1,0,2.5-2.51A2.5,2.5,0,0,0,58.16,85.65Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.51,1.51,0,0,1,59.16,85.65Z"/>
1106
- <circle class="cls-ScatterLine-6" cx="60.66" cy="85.65" r="1.5"/>
1107
- <path class="cls-ScatterLine-8" d="M35.2,81.53A2.51,2.51,0,1,0,37.71,79,2.52,2.52,0,0,0,35.2,81.53Zm1,0A1.51,1.51,0,1,1,37.71,83,1.51,1.51,0,0,1,36.2,81.53Z"/>
1108
- <circle class="cls-ScatterLine-6" cx="37.71" cy="81.53" r="1.5"/>
1109
- <path class="cls-ScatterLine-8" d="M24.35,87.32a2.51,2.51,0,1,0,2.51-2.51A2.5,2.5,0,0,0,24.35,87.32Zm1,0a1.51,1.51,0,1,1,1.51,1.5A1.51,1.51,0,0,1,25.35,87.32Z"/>
1110
- <circle class="cls-ScatterLine-6" cx="26.86" cy="87.32" r="1.5"/>
1111
- <path class="cls-ScatterLine-9" d="M8,85.73a2.51,2.51,0,1,0,2.51-2.5A2.52,2.52,0,0,0,8,85.73Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.5,1.5,0,0,1,9,85.73Z"/>
1112
- <circle class="cls-ScatterLine-6" cx="10.48" cy="85.73" r="1.5"/>
1113
- <path class="cls-ScatterLine-9" d="M13.36,77.38a2.51,2.51,0,1,0,2.5-2.5A2.5,2.5,0,0,0,13.36,77.38Zm1,0a1.51,1.51,0,1,1,1.5,1.51A1.5,1.5,0,0,1,14.36,77.38Z"/>
1114
- <circle class="cls-ScatterLine-6" cx="15.86" cy="77.38" r="1.5"/>
1115
- <path class="cls-ScatterLine-9" d="M19,70.71a2.51,2.51,0,1,0,2.51-2.51A2.5,2.5,0,0,0,19,70.71Zm1,0a1.51,1.51,0,1,1,1.51,1.5A1.51,1.51,0,0,1,20,70.71Z"/>
1116
- <circle class="cls-ScatterLine-6" cx="21.54" cy="70.71" r="1.5"/>
1117
- <path class="cls-ScatterLine-9" d="M29.44,58.91a2.51,2.51,0,1,0,2.5-2.51A2.5,2.5,0,0,0,29.44,58.91Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.51,1.51,0,0,1,30.44,58.91Z"/>
1118
- <circle class="cls-ScatterLine-6" cx="31.94" cy="58.91" r="1.5"/>
1119
- <path class="cls-ScatterLine-9" d="M41.41,49.67a2.5,2.5,0,1,0,2.5-2.5A2.5,2.5,0,0,0,41.41,49.67Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.5,1.5,0,0,1,42.41,49.67Z"/>
1120
- <circle class="cls-ScatterLine-6" cx="43.91" cy="49.67" r="1.5"/>
1121
- <path class="cls-ScatterLine-9" d="M52.76,41.66a2.51,2.51,0,1,0,2.5-2.51A2.5,2.5,0,0,0,52.76,41.66Zm1,0a1.51,1.51,0,1,1,1.5,1.5A1.5,1.5,0,0,1,53.76,41.66Z"/>
1122
- <circle class="cls-ScatterLine-6" cx="55.26" cy="41.66" r="1.5"/>
1123
- <path class="cls-ScatterLine-9" d="M57.77,31.3a2.51,2.51,0,1,0,2.5-2.5A2.5,2.5,0,0,0,57.77,31.3Zm1,0a1.5,1.5,0,1,1,1.5,1.51A1.5,1.5,0,0,1,58.77,31.3Z"/>
1124
- <circle class="cls-ScatterLine-6" cx="60.27" cy="31.3" r="1.5"/>
1125
- <path class="cls-ScatterLine-9" d="M67.45,23.62a2.51,2.51,0,1,0,2.5-2.5A2.5,2.5,0,0,0,67.45,23.62Zm1,0A1.51,1.51,0,1,1,70,25.13,1.5,1.5,0,0,1,68.45,23.62Z"/>
1126
- <circle class="cls-ScatterLine-6" cx="69.95" cy="23.62" r="1.5"/>
1127
- <path class="cls-ScatterLine-9" d="M85.82,6.59a2.5,2.5,0,1,0,2.5-2.5A2.5,2.5,0,0,0,85.82,6.59Zm1,0a1.5,1.5,0,1,1,1.5,1.51A1.5,1.5,0,0,1,86.82,6.59Z"/>
1128
- <circle class="cls-ScatterLine-6" cx="88.32" cy="6.59" r="1.5"/>
1129
- </g>
1130
- </svg>
1087
+ const ScatterLine = `
1088
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
1089
+ <defs>
1090
+ <style>.cls-ScatterLine-1,.cls-ScatterLine-2,.cls-ScatterLine-3,.cls-ScatterLine-4{fill:none;stroke-miterlimit:10;stroke-width:2px;}.cls-ScatterLine-1{stroke:#0f6860;}.cls-ScatterLine-1,.cls-ScatterLine-2,.cls-ScatterLine-3,.cls-ScatterLine-4,.cls-ScatterLine-5,.cls-ScatterLine-7,.cls-ScatterLine-8,.cls-ScatterLine-9{fill-rule:evenodd;}.cls-ScatterLine-2{stroke:#fa8d3d;}.cls-ScatterLine-3{stroke:#f05951;}.cls-ScatterLine-4{stroke:#ab4191;}.cls-ScatterLine-5{fill:#ab4191;}.cls-ScatterLine-6{fill:#fff;}.cls-ScatterLine-7{fill:#f05951;}.cls-ScatterLine-8{fill:#0f6860;}.cls-ScatterLine-9{fill:#fa8d3d;}</style>
1091
+ </defs>
1092
+ <g id="ChartNames">
1093
+ <polyline class="cls-ScatterLine-1" points="26.86 87.32 37.71 81.09 60.66 85.34 75.57 71.13 82.69 60.02 88.09 48.86"/>
1094
+ <polyline class="cls-ScatterLine-2" points="10.6 85.36 16.86 76.38 32.22 58.89 55.26 41.45 60.02 31.09 69.79 23.41 88.32 6.3"/>
1095
+ <polyline class="cls-ScatterLine-3" points="60.19 7.22 47.42 10.06 35.31 14.73 18.95 32.1 17.53 50.04 10.44 58.56"/>
1096
+ <polyline class="cls-ScatterLine-4" points="23.58 4.76 10.97 12.44 8.47 29.72"/>
1097
+ <path class="cls-ScatterLine-5" d="M8.69,12.61a2.51,2.51,0,1,0,2.5-2.51A2.5,2.5,0,0,0,8.69,12.61Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.5,1.5,0,0,1,9.69,12.61Z"/>
1098
+ <circle class="cls-ScatterLine-6" cx="11.19" cy="12.61" r="1.5"/>
1099
+ <path class="cls-ScatterLine-5" d="M21,4.59a2.51,2.51,0,1,0,2.51-2.5A2.51,2.51,0,0,0,21,4.59Zm1,0A1.51,1.51,0,1,1,23.55,6.1,1.5,1.5,0,0,1,22,4.59Z"/>
1100
+ <circle class="cls-ScatterLine-6" cx="23.55" cy="4.59" r="1.5"/>
1101
+ <path class="cls-ScatterLine-5" d="M6,29.64a2.5,2.5,0,1,0,2.5-2.51A2.5,2.5,0,0,0,6,29.64Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.5,1.5,0,0,1,7,29.64Z"/>
1102
+ <circle class="cls-ScatterLine-6" cx="8.52" cy="29.64" r="1.5"/>
1103
+ <path class="cls-ScatterLine-7" d="M57.43,7.26a2.51,2.51,0,1,0,2.51-2.5A2.51,2.51,0,0,0,57.43,7.26Zm1,0a1.51,1.51,0,1,1,1.51,1.51A1.51,1.51,0,0,1,58.43,7.26Z"/>
1104
+ <circle class="cls-ScatterLine-6" cx="59.94" cy="7.26" r="1.5"/>
1105
+ <path class="cls-ScatterLine-7" d="M44.74,10.24a2.51,2.51,0,1,0,2.51-2.51A2.51,2.51,0,0,0,44.74,10.24Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.5,1.5,0,0,1,45.75,10.24Z"/>
1106
+ <circle class="cls-ScatterLine-6" cx="47.25" cy="10.24" r="1.5"/>
1107
+ <path class="cls-ScatterLine-7" d="M33.06,14.94a2.51,2.51,0,1,0,2.5-2.5A2.5,2.5,0,0,0,33.06,14.94Zm1,0a1.5,1.5,0,1,1,1.5,1.51A1.5,1.5,0,0,1,34.06,14.94Z"/>
1108
+ <circle class="cls-ScatterLine-6" cx="35.56" cy="14.94" r="1.5"/>
1109
+ <path class="cls-ScatterLine-7" d="M16.36,32.08a2.51,2.51,0,1,0,2.51-2.5A2.51,2.51,0,0,0,16.36,32.08Zm1,0a1.51,1.51,0,1,1,1.51,1.5A1.5,1.5,0,0,1,17.36,32.08Z"/>
1110
+ <circle class="cls-ScatterLine-6" cx="18.87" cy="32.08" r="1.5"/>
1111
+ <path class="cls-ScatterLine-7" d="M14.69,50.34a2.51,2.51,0,1,0,2.51-2.51A2.5,2.5,0,0,0,14.69,50.34Zm1,0a1.51,1.51,0,1,1,3,0,1.51,1.51,0,0,1-3,0Z"/>
1112
+ <circle class="cls-ScatterLine-6" cx="17.2" cy="50.34" r="1.5"/>
1113
+ <path class="cls-ScatterLine-7" d="M8,58.24a2.51,2.51,0,1,0,2.5-2.51A2.5,2.5,0,0,0,8,58.24Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.5,1.5,0,0,1,9,58.24Z"/>
1114
+ <circle class="cls-ScatterLine-6" cx="10.48" cy="58.24" r="1.5"/>
1115
+ <path class="cls-ScatterLine-8" d="M80.54,60a2.5,2.5,0,1,0,2.5-2.5A2.51,2.51,0,0,0,80.54,60Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.5,1.5,0,0,1,81.54,60Z"/>
1116
+ <circle class="cls-ScatterLine-6" cx="83.04" cy="60.02" r="1.5"/>
1117
+ <path class="cls-ScatterLine-8" d="M85.58,49a2.51,2.51,0,1,0,2.51-2.5A2.51,2.51,0,0,0,85.58,49Zm1,0a1.51,1.51,0,1,1,1.51,1.5A1.51,1.51,0,0,1,86.58,49Z"/>
1118
+ <circle class="cls-ScatterLine-6" cx="88.09" cy="49" r="1.5"/>
1119
+ <path class="cls-ScatterLine-8" d="M73.27,71.18a2.51,2.51,0,1,0,2.5-2.5A2.51,2.51,0,0,0,73.27,71.18Zm1,0a1.5,1.5,0,1,1,1.5,1.51A1.5,1.5,0,0,1,74.27,71.18Z"/>
1120
+ <circle class="cls-ScatterLine-6" cx="75.77" cy="71.18" r="1.5"/>
1121
+ <path class="cls-ScatterLine-8" d="M58.16,85.65a2.5,2.5,0,1,0,2.5-2.51A2.5,2.5,0,0,0,58.16,85.65Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.51,1.51,0,0,1,59.16,85.65Z"/>
1122
+ <circle class="cls-ScatterLine-6" cx="60.66" cy="85.65" r="1.5"/>
1123
+ <path class="cls-ScatterLine-8" d="M35.2,81.53A2.51,2.51,0,1,0,37.71,79,2.52,2.52,0,0,0,35.2,81.53Zm1,0A1.51,1.51,0,1,1,37.71,83,1.51,1.51,0,0,1,36.2,81.53Z"/>
1124
+ <circle class="cls-ScatterLine-6" cx="37.71" cy="81.53" r="1.5"/>
1125
+ <path class="cls-ScatterLine-8" d="M24.35,87.32a2.51,2.51,0,1,0,2.51-2.51A2.5,2.5,0,0,0,24.35,87.32Zm1,0a1.51,1.51,0,1,1,1.51,1.5A1.51,1.51,0,0,1,25.35,87.32Z"/>
1126
+ <circle class="cls-ScatterLine-6" cx="26.86" cy="87.32" r="1.5"/>
1127
+ <path class="cls-ScatterLine-9" d="M8,85.73a2.51,2.51,0,1,0,2.51-2.5A2.52,2.52,0,0,0,8,85.73Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.5,1.5,0,0,1,9,85.73Z"/>
1128
+ <circle class="cls-ScatterLine-6" cx="10.48" cy="85.73" r="1.5"/>
1129
+ <path class="cls-ScatterLine-9" d="M13.36,77.38a2.51,2.51,0,1,0,2.5-2.5A2.5,2.5,0,0,0,13.36,77.38Zm1,0a1.51,1.51,0,1,1,1.5,1.51A1.5,1.5,0,0,1,14.36,77.38Z"/>
1130
+ <circle class="cls-ScatterLine-6" cx="15.86" cy="77.38" r="1.5"/>
1131
+ <path class="cls-ScatterLine-9" d="M19,70.71a2.51,2.51,0,1,0,2.51-2.51A2.5,2.5,0,0,0,19,70.71Zm1,0a1.51,1.51,0,1,1,1.51,1.5A1.51,1.51,0,0,1,20,70.71Z"/>
1132
+ <circle class="cls-ScatterLine-6" cx="21.54" cy="70.71" r="1.5"/>
1133
+ <path class="cls-ScatterLine-9" d="M29.44,58.91a2.51,2.51,0,1,0,2.5-2.51A2.5,2.5,0,0,0,29.44,58.91Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.51,1.51,0,0,1,30.44,58.91Z"/>
1134
+ <circle class="cls-ScatterLine-6" cx="31.94" cy="58.91" r="1.5"/>
1135
+ <path class="cls-ScatterLine-9" d="M41.41,49.67a2.5,2.5,0,1,0,2.5-2.5A2.5,2.5,0,0,0,41.41,49.67Zm1,0a1.5,1.5,0,1,1,1.5,1.5A1.5,1.5,0,0,1,42.41,49.67Z"/>
1136
+ <circle class="cls-ScatterLine-6" cx="43.91" cy="49.67" r="1.5"/>
1137
+ <path class="cls-ScatterLine-9" d="M52.76,41.66a2.51,2.51,0,1,0,2.5-2.51A2.5,2.5,0,0,0,52.76,41.66Zm1,0a1.51,1.51,0,1,1,1.5,1.5A1.5,1.5,0,0,1,53.76,41.66Z"/>
1138
+ <circle class="cls-ScatterLine-6" cx="55.26" cy="41.66" r="1.5"/>
1139
+ <path class="cls-ScatterLine-9" d="M57.77,31.3a2.51,2.51,0,1,0,2.5-2.5A2.5,2.5,0,0,0,57.77,31.3Zm1,0a1.5,1.5,0,1,1,1.5,1.51A1.5,1.5,0,0,1,58.77,31.3Z"/>
1140
+ <circle class="cls-ScatterLine-6" cx="60.27" cy="31.3" r="1.5"/>
1141
+ <path class="cls-ScatterLine-9" d="M67.45,23.62a2.51,2.51,0,1,0,2.5-2.5A2.5,2.5,0,0,0,67.45,23.62Zm1,0A1.51,1.51,0,1,1,70,25.13,1.5,1.5,0,0,1,68.45,23.62Z"/>
1142
+ <circle class="cls-ScatterLine-6" cx="69.95" cy="23.62" r="1.5"/>
1143
+ <path class="cls-ScatterLine-9" d="M85.82,6.59a2.5,2.5,0,1,0,2.5-2.5A2.5,2.5,0,0,0,85.82,6.59Zm1,0a1.5,1.5,0,1,1,1.5,1.51A1.5,1.5,0,0,1,86.82,6.59Z"/>
1144
+ <circle class="cls-ScatterLine-6" cx="88.32" cy="6.59" r="1.5"/>
1145
+ </g>
1146
+ </svg>
1131
1147
  `;
1132
- const ScatterPoint = `
1133
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
1134
- <defs>
1135
- <style>.cls-ScatterPoint-1{fill:#ab4191;}.cls-ScatterPoint-1,.cls-ScatterPoint-3,.cls-ScatterPoint-4{fill-rule:evenodd;}.cls-ScatterPoint-2{fill:#fff;}.cls-ScatterPoint-3{fill:#f05951;}.cls-ScatterPoint-4{fill:#fa8d3d;}</style>
1136
- </defs>
1137
- <g id="ChartNames">
1138
- <path class="cls-ScatterPoint-1" d="M6.42,7.64A2.37,2.37,0,1,0,8.79,5.28,2.37,2.37,0,0,0,6.42,7.64Zm1,0A1.42,1.42,0,1,1,8.79,9.06,1.41,1.41,0,0,1,7.37,7.64Z"/>
1139
- <circle class="cls-ScatterPoint-2" cx="8.79" cy="7.64" r="1.42"/>
1140
- <path class="cls-ScatterPoint-1" d="M12.09,10a2.37,2.37,0,1,0,2.37-2.37A2.37,2.37,0,0,0,12.09,10ZM13,10a1.42,1.42,0,1,1,1.42,1.41A1.41,1.41,0,0,1,13,10Z"/>
1141
- <circle class="cls-ScatterPoint-2" cx="14.46" cy="10.01" r="1.42"/>
1142
- <path class="cls-ScatterPoint-1" d="M22,8.59a2.37,2.37,0,1,0,2.37-2.36A2.37,2.37,0,0,0,22,8.59Zm.95,0A1.42,1.42,0,1,1,24.38,10,1.41,1.41,0,0,1,23,8.59Z"/>
1143
- <circle class="cls-ScatterPoint-2" cx="24.38" cy="8.59" r="1.42"/>
1144
- <path class="cls-ScatterPoint-1" d="M14.46,14.73a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,14.46,14.73Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.42,1.42,0,0,1,15.4,14.73Z"/>
1145
- <circle class="cls-ScatterPoint-2" cx="16.82" cy="14.73" r="1.42"/>
1146
- <path class="cls-ScatterPoint-1" d="M11.62,31.27A2.37,2.37,0,1,0,14,28.9,2.36,2.36,0,0,0,11.62,31.27Zm1,0A1.42,1.42,0,1,1,14,32.68,1.41,1.41,0,0,1,12.57,31.27Z"/>
1147
- <circle class="cls-ScatterPoint-2" cx="13.98" cy="31.27" r="1.42"/>
1148
- <path class="cls-ScatterPoint-1" d="M3.12,28.9a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,3.12,28.9Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.41,1.41,0,0,1,4.06,28.9Z"/>
1149
- <circle class="cls-ScatterPoint-2" cx="5.48" cy="28.9" r="1.42"/>
1150
- <path class="cls-ScatterPoint-1" d="M2.64,34.57A2.37,2.37,0,1,0,5,32.21,2.37,2.37,0,0,0,2.64,34.57Zm.95,0A1.42,1.42,0,1,1,5,36,1.41,1.41,0,0,1,3.59,34.57Z"/>
1151
- <circle class="cls-ScatterPoint-2" cx="5.01" cy="34.57" r="1.42"/>
1152
- <path class="cls-ScatterPoint-1" d="M.75,37.88a2.37,2.37,0,1,0,2.37-2.36A2.36,2.36,0,0,0,.75,37.88Zm1,0A1.42,1.42,0,1,1,3.12,39.3,1.42,1.42,0,0,1,1.7,37.88Z"/>
1153
- <circle class="cls-ScatterPoint-2" cx="3.12" cy="37.88" r="1.42"/>
1154
- <path class="cls-ScatterPoint-1" d="M1.23,44.5a2.36,2.36,0,1,0,2.36-2.37A2.36,2.36,0,0,0,1.23,44.5Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.41,1.41,0,0,1,2.17,44.5Z"/>
1155
- <circle class="cls-ScatterPoint-2" cx="3.59" cy="44.5" r="1.42"/>
1156
- <path class="cls-ScatterPoint-1" d="M2.64,66.23A2.37,2.37,0,1,0,5,63.87,2.37,2.37,0,0,0,2.64,66.23Zm.95,0A1.42,1.42,0,1,1,5,67.65,1.41,1.41,0,0,1,3.59,66.23Z"/>
1157
- <circle class="cls-ScatterPoint-2" cx="5.01" cy="66.23" r="1.42"/>
1158
- <path class="cls-ScatterPoint-1" d="M26.27,75.21a2.36,2.36,0,1,0,2.36-2.37A2.36,2.36,0,0,0,26.27,75.21Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.41,1.41,0,0,1,27.21,75.21Z"/>
1159
- <circle class="cls-ScatterPoint-2" cx="28.63" cy="75.21" r="1.42"/>
1160
- <path class="cls-ScatterPoint-1" d="M9.73,52.06a2.37,2.37,0,1,0,2.36-2.37A2.36,2.36,0,0,0,9.73,52.06Zm.95,0a1.42,1.42,0,1,1,1.41,1.41A1.41,1.41,0,0,1,10.68,52.06Z"/>
1161
- <circle class="cls-ScatterPoint-2" cx="12.09" cy="52.06" r="1.42"/>
1162
- <path class="cls-ScatterPoint-1" d="M14.46,48.75a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,14.46,48.75Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.41,1.41,0,0,1,15.4,48.75Z"/>
1163
- <circle class="cls-ScatterPoint-2" cx="16.82" cy="48.75" r="1.42"/>
1164
- <path class="cls-ScatterPoint-1" d="M14.46,41.66a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,14.46,41.66Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.42,1.42,0,0,1,15.4,41.66Z"/>
1165
- <circle class="cls-ScatterPoint-2" cx="16.82" cy="41.66" r="1.42"/>
1166
- <path class="cls-ScatterPoint-1" d="M22.49,44.5a2.36,2.36,0,1,0,2.36-2.37A2.36,2.36,0,0,0,22.49,44.5Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.42,1.42,0,0,1,23.43,44.5Z"/>
1167
- <circle class="cls-ScatterPoint-2" cx="24.85" cy="44.5" r="1.42"/>
1168
- <path class="cls-ScatterPoint-1" d="M30.52,44a2.36,2.36,0,1,0,2.36-2.36A2.37,2.37,0,0,0,30.52,44Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.42,1.42,0,0,1,31.46,44Z"/>
1169
- <circle class="cls-ScatterPoint-2" cx="32.88" cy="44.02" r="1.42"/>
1170
- <path class="cls-ScatterPoint-3" d="M19.18,87.88a2.36,2.36,0,1,0,2.36-2.36A2.37,2.37,0,0,0,19.18,87.88Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.42,1.42,0,0,1,20.12,87.88Z"/>
1171
- <circle class="cls-ScatterPoint-2" cx="21.54" cy="87.88" r="1.42"/>
1172
- <path class="cls-ScatterPoint-3" d="M30.52,67.65a2.36,2.36,0,1,0,2.36-2.37A2.36,2.36,0,0,0,30.52,67.65Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.42,1.42,0,0,1,31.46,67.65Z"/>
1173
- <circle class="cls-ScatterPoint-2" cx="32.88" cy="67.65" r="1.42"/>
1174
- <path class="cls-ScatterPoint-3" d="M41.86,51.58a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,41.86,51.58Zm.94,0A1.42,1.42,0,1,1,44.22,53,1.42,1.42,0,0,1,42.8,51.58Z"/>
1175
- <circle class="cls-ScatterPoint-2" cx="44.22" cy="51.58" r="1.42"/>
1176
- <path class="cls-ScatterPoint-3" d="M41.86,53.94a2.36,2.36,0,1,0,2.36-2.36A2.37,2.37,0,0,0,41.86,53.94Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.42,1.42,0,0,1,42.8,53.94Z"/>
1177
- <circle class="cls-ScatterPoint-2" cx="44.22" cy="53.94" r="1.42"/>
1178
- <path class="cls-ScatterPoint-3" d="M41.86,63.39A2.36,2.36,0,1,0,44.22,61,2.37,2.37,0,0,0,41.86,63.39Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.42,1.42,0,0,1,42.8,63.39Z"/>
1179
- <circle class="cls-ScatterPoint-2" cx="44.22" cy="63.39" r="1.42"/>
1180
- <path class="cls-ScatterPoint-3" d="M41.86,71.43a2.36,2.36,0,1,0,2.36-2.37A2.36,2.36,0,0,0,41.86,71.43Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.42,1.42,0,0,1,42.8,71.43Z"/>
1181
- <circle class="cls-ScatterPoint-2" cx="44.22" cy="71.43" r="1.42"/>
1182
- <path class="cls-ScatterPoint-3" d="M53.2,83.24a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,53.2,83.24Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.42,1.42,0,0,1,54.14,83.24Z"/>
1183
- <circle class="cls-ScatterPoint-2" cx="55.56" cy="83.24" r="1.42"/>
1184
- <path class="cls-ScatterPoint-3" d="M64.06,75.21a2.37,2.37,0,1,0,2.37-2.37A2.37,2.37,0,0,0,64.06,75.21Zm1,0a1.42,1.42,0,1,1,1.42,1.41A1.41,1.41,0,0,1,65,75.21Z"/>
1185
- <circle class="cls-ScatterPoint-2" cx="66.43" cy="75.21" r="1.42"/>
1186
- <path class="cls-ScatterPoint-3" d="M64.06,63.39A2.37,2.37,0,1,0,66.43,61,2.37,2.37,0,0,0,64.06,63.39Zm1,0a1.42,1.42,0,1,1,1.42,1.42A1.41,1.41,0,0,1,65,63.39Z"/>
1187
- <circle class="cls-ScatterPoint-2" cx="66.43" cy="63.39" r="1.42"/>
1188
- <path class="cls-ScatterPoint-3" d="M75.4,71.43a2.37,2.37,0,1,0,2.36-2.37A2.36,2.36,0,0,0,75.4,71.43Zm.95,0a1.42,1.42,0,1,1,1.41,1.41A1.41,1.41,0,0,1,76.35,71.43Z"/>
1189
- <circle class="cls-ScatterPoint-2" cx="77.76" cy="71.43" r="1.42"/>
1190
- <path class="cls-ScatterPoint-3" d="M75.4,55.83a2.37,2.37,0,1,0,2.36-2.36A2.37,2.37,0,0,0,75.4,55.83Zm.95,0a1.42,1.42,0,1,1,1.41,1.42A1.41,1.41,0,0,1,76.35,55.83Z"/>
1191
- <circle class="cls-ScatterPoint-2" cx="77.76" cy="55.83" r="1.42"/>
1192
- <path class="cls-ScatterPoint-3" d="M75.4,24.81a2.37,2.37,0,1,0,2.36-2.36A2.36,2.36,0,0,0,75.4,24.81Zm.95,0a1.42,1.42,0,1,1,1.41,1.42A1.41,1.41,0,0,1,76.35,24.81Z"/>
1193
- <circle class="cls-ScatterPoint-2" cx="77.76" cy="24.81" r="1.42"/>
1194
- <path class="cls-ScatterPoint-3" d="M75.4,22a2.37,2.37,0,1,0,2.36-2.36A2.37,2.37,0,0,0,75.4,22Zm.95,0a1.42,1.42,0,1,1,1.41,1.42A1.41,1.41,0,0,1,76.35,22Z"/>
1195
- <circle class="cls-ScatterPoint-2" cx="77.76" cy="21.97" r="1.42"/>
1196
- <path class="cls-ScatterPoint-3" d="M86.74,84.1a2.37,2.37,0,1,0,2.36-2.36A2.37,2.37,0,0,0,86.74,84.1Zm1,0a1.42,1.42,0,1,1,1.41,1.42A1.41,1.41,0,0,1,87.69,84.1Z"/>
1197
- <circle class="cls-ScatterPoint-2" cx="89.1" cy="84.1" r="1.42"/>
1198
- <path class="cls-ScatterPoint-3" d="M86.74,71a2.37,2.37,0,1,0,2.36-2.36A2.37,2.37,0,0,0,86.74,71Zm1,0a1.42,1.42,0,1,1,1.41,1.42A1.41,1.41,0,0,1,87.69,71Z"/>
1199
- <circle class="cls-ScatterPoint-2" cx="89.1" cy="70.95" r="1.42"/>
1200
- <path class="cls-ScatterPoint-3" d="M41.86,88.36A2.36,2.36,0,1,0,44.22,86,2.36,2.36,0,0,0,41.86,88.36Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.42,1.42,0,0,1,42.8,88.36Z"/>
1201
- <circle class="cls-ScatterPoint-2" cx="44.22" cy="88.36" r="1.42"/>
1202
- <path class="cls-ScatterPoint-3" d="M30.52,71.43a2.36,2.36,0,1,0,2.36-2.37A2.36,2.36,0,0,0,30.52,71.43Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.42,1.42,0,0,1,31.46,71.43Z"/>
1203
- <circle class="cls-ScatterPoint-2" cx="32.88" cy="71.43" r="1.42"/>
1204
- <path class="cls-ScatterPoint-4" d="M19.65,64.34A2.37,2.37,0,1,0,22,62,2.36,2.36,0,0,0,19.65,64.34Zm1,0A1.42,1.42,0,1,1,22,65.76,1.41,1.41,0,0,1,20.6,64.34Z"/>
1205
- <circle class="cls-ScatterPoint-2" cx="22.01" cy="64.34" r="1.42"/>
1206
- <path class="cls-ScatterPoint-4" d="M30.52,50.64a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,30.52,50.64Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.42,1.42,0,0,1,31.46,50.64Z"/>
1207
- <circle class="cls-ScatterPoint-2" cx="32.88" cy="50.64" r="1.42"/>
1208
- <path class="cls-ScatterPoint-4" d="M30.52,62.92a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,30.52,62.92Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.43,1.43,0,0,1,31.46,62.92Z"/>
1209
- <circle class="cls-ScatterPoint-2" cx="32.88" cy="62.92" r="1.42"/>
1210
- <path class="cls-ScatterPoint-4" d="M30.52,79a2.36,2.36,0,1,0,2.36-2.37A2.36,2.36,0,0,0,30.52,79Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.42,1.42,0,0,1,31.46,79Z"/>
1211
- <circle class="cls-ScatterPoint-2" cx="32.88" cy="78.99" r="1.42"/>
1212
- <path class="cls-ScatterPoint-4" d="M41.86,68.12a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,41.86,68.12Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.42,1.42,0,0,1,42.8,68.12Z"/>
1213
- <circle class="cls-ScatterPoint-2" cx="44.22" cy="68.12" r="1.42"/>
1214
- <path class="cls-ScatterPoint-4" d="M53.2,56.78a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,53.2,56.78Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.43,1.43,0,0,1,54.14,56.78Z"/>
1215
- <circle class="cls-ScatterPoint-2" cx="55.56" cy="56.78" r="1.42"/>
1216
- <path class="cls-ScatterPoint-4" d="M53.2,76.15a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,53.2,76.15Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.43,1.43,0,0,1,54.14,76.15Z"/>
1217
- <circle class="cls-ScatterPoint-2" cx="55.56" cy="76.15" r="1.42"/>
1218
- <path class="cls-ScatterPoint-4" d="M41.86,85.52a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,41.86,85.52Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.43,1.43,0,0,1,42.8,85.52Z"/>
1219
- <circle class="cls-ScatterPoint-2" cx="44.22" cy="85.52" r="1.42"/>
1220
- <path class="cls-ScatterPoint-4" d="M64.06,83.24a2.37,2.37,0,1,0,2.37-2.36A2.37,2.37,0,0,0,64.06,83.24Zm1,0a1.42,1.42,0,1,1,1.42,1.41A1.41,1.41,0,0,1,65,83.24Z"/>
1221
- <circle class="cls-ScatterPoint-2" cx="66.43" cy="83.24" r="1.42"/>
1222
- <path class="cls-ScatterPoint-4" d="M75.4,75.68a2.37,2.37,0,1,0,2.36-2.36A2.36,2.36,0,0,0,75.4,75.68Zm.95,0a1.42,1.42,0,1,1,1.41,1.42A1.41,1.41,0,0,1,76.35,75.68Z"/>
1223
- <circle class="cls-ScatterPoint-2" cx="77.76" cy="75.68" r="1.42"/>
1224
- <path class="cls-ScatterPoint-4" d="M77.76,75.21a2.37,2.37,0,1,0,2.37-2.37A2.37,2.37,0,0,0,77.76,75.21Zm.95,0a1.42,1.42,0,1,1,1.42,1.41A1.41,1.41,0,0,1,78.71,75.21Z"/>
1225
- <circle class="cls-ScatterPoint-2" cx="80.13" cy="75.21" r="1.42"/>
1226
- <path class="cls-ScatterPoint-4" d="M86.27,54.89a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,86.27,54.89Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.43,1.43,0,0,1,87.21,54.89Z"/>
1227
- <circle class="cls-ScatterPoint-2" cx="88.63" cy="54.89" r="1.42"/>
1228
- <path class="cls-ScatterPoint-4" d="M90.52,71a2.37,2.37,0,1,0,2.36-2.36A2.37,2.37,0,0,0,90.52,71Zm1,0a1.42,1.42,0,1,1,1.41,1.42A1.41,1.41,0,0,1,91.47,71Z"/>
1229
- <circle class="cls-ScatterPoint-2" cx="92.88" cy="70.95" r="1.42"/>
1230
- <path class="cls-ScatterPoint-4" d="M86.74,88.36A2.37,2.37,0,1,0,89.1,86,2.36,2.36,0,0,0,86.74,88.36Zm1,0a1.42,1.42,0,1,1,1.41,1.41A1.41,1.41,0,0,1,87.69,88.36Z"/>
1231
- <circle class="cls-ScatterPoint-2" cx="89.1" cy="88.36" r="1.42"/>
1232
- <path class="cls-ScatterPoint-4" d="M30.52,83.71a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,30.52,83.71Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.43,1.43,0,0,1,31.46,83.71Z"/>
1233
- <circle class="cls-ScatterPoint-2" cx="32.88" cy="83.71" r="1.42"/>
1234
- </g>
1235
- </svg>
1148
+ const ScatterPoint = `
1149
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
1150
+ <defs>
1151
+ <style>.cls-ScatterPoint-1{fill:#ab4191;}.cls-ScatterPoint-1,.cls-ScatterPoint-3,.cls-ScatterPoint-4{fill-rule:evenodd;}.cls-ScatterPoint-2{fill:#fff;}.cls-ScatterPoint-3{fill:#f05951;}.cls-ScatterPoint-4{fill:#fa8d3d;}</style>
1152
+ </defs>
1153
+ <g id="ChartNames">
1154
+ <path class="cls-ScatterPoint-1" d="M6.42,7.64A2.37,2.37,0,1,0,8.79,5.28,2.37,2.37,0,0,0,6.42,7.64Zm1,0A1.42,1.42,0,1,1,8.79,9.06,1.41,1.41,0,0,1,7.37,7.64Z"/>
1155
+ <circle class="cls-ScatterPoint-2" cx="8.79" cy="7.64" r="1.42"/>
1156
+ <path class="cls-ScatterPoint-1" d="M12.09,10a2.37,2.37,0,1,0,2.37-2.37A2.37,2.37,0,0,0,12.09,10ZM13,10a1.42,1.42,0,1,1,1.42,1.41A1.41,1.41,0,0,1,13,10Z"/>
1157
+ <circle class="cls-ScatterPoint-2" cx="14.46" cy="10.01" r="1.42"/>
1158
+ <path class="cls-ScatterPoint-1" d="M22,8.59a2.37,2.37,0,1,0,2.37-2.36A2.37,2.37,0,0,0,22,8.59Zm.95,0A1.42,1.42,0,1,1,24.38,10,1.41,1.41,0,0,1,23,8.59Z"/>
1159
+ <circle class="cls-ScatterPoint-2" cx="24.38" cy="8.59" r="1.42"/>
1160
+ <path class="cls-ScatterPoint-1" d="M14.46,14.73a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,14.46,14.73Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.42,1.42,0,0,1,15.4,14.73Z"/>
1161
+ <circle class="cls-ScatterPoint-2" cx="16.82" cy="14.73" r="1.42"/>
1162
+ <path class="cls-ScatterPoint-1" d="M11.62,31.27A2.37,2.37,0,1,0,14,28.9,2.36,2.36,0,0,0,11.62,31.27Zm1,0A1.42,1.42,0,1,1,14,32.68,1.41,1.41,0,0,1,12.57,31.27Z"/>
1163
+ <circle class="cls-ScatterPoint-2" cx="13.98" cy="31.27" r="1.42"/>
1164
+ <path class="cls-ScatterPoint-1" d="M3.12,28.9a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,3.12,28.9Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.41,1.41,0,0,1,4.06,28.9Z"/>
1165
+ <circle class="cls-ScatterPoint-2" cx="5.48" cy="28.9" r="1.42"/>
1166
+ <path class="cls-ScatterPoint-1" d="M2.64,34.57A2.37,2.37,0,1,0,5,32.21,2.37,2.37,0,0,0,2.64,34.57Zm.95,0A1.42,1.42,0,1,1,5,36,1.41,1.41,0,0,1,3.59,34.57Z"/>
1167
+ <circle class="cls-ScatterPoint-2" cx="5.01" cy="34.57" r="1.42"/>
1168
+ <path class="cls-ScatterPoint-1" d="M.75,37.88a2.37,2.37,0,1,0,2.37-2.36A2.36,2.36,0,0,0,.75,37.88Zm1,0A1.42,1.42,0,1,1,3.12,39.3,1.42,1.42,0,0,1,1.7,37.88Z"/>
1169
+ <circle class="cls-ScatterPoint-2" cx="3.12" cy="37.88" r="1.42"/>
1170
+ <path class="cls-ScatterPoint-1" d="M1.23,44.5a2.36,2.36,0,1,0,2.36-2.37A2.36,2.36,0,0,0,1.23,44.5Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.41,1.41,0,0,1,2.17,44.5Z"/>
1171
+ <circle class="cls-ScatterPoint-2" cx="3.59" cy="44.5" r="1.42"/>
1172
+ <path class="cls-ScatterPoint-1" d="M2.64,66.23A2.37,2.37,0,1,0,5,63.87,2.37,2.37,0,0,0,2.64,66.23Zm.95,0A1.42,1.42,0,1,1,5,67.65,1.41,1.41,0,0,1,3.59,66.23Z"/>
1173
+ <circle class="cls-ScatterPoint-2" cx="5.01" cy="66.23" r="1.42"/>
1174
+ <path class="cls-ScatterPoint-1" d="M26.27,75.21a2.36,2.36,0,1,0,2.36-2.37A2.36,2.36,0,0,0,26.27,75.21Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.41,1.41,0,0,1,27.21,75.21Z"/>
1175
+ <circle class="cls-ScatterPoint-2" cx="28.63" cy="75.21" r="1.42"/>
1176
+ <path class="cls-ScatterPoint-1" d="M9.73,52.06a2.37,2.37,0,1,0,2.36-2.37A2.36,2.36,0,0,0,9.73,52.06Zm.95,0a1.42,1.42,0,1,1,1.41,1.41A1.41,1.41,0,0,1,10.68,52.06Z"/>
1177
+ <circle class="cls-ScatterPoint-2" cx="12.09" cy="52.06" r="1.42"/>
1178
+ <path class="cls-ScatterPoint-1" d="M14.46,48.75a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,14.46,48.75Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.41,1.41,0,0,1,15.4,48.75Z"/>
1179
+ <circle class="cls-ScatterPoint-2" cx="16.82" cy="48.75" r="1.42"/>
1180
+ <path class="cls-ScatterPoint-1" d="M14.46,41.66a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,14.46,41.66Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.42,1.42,0,0,1,15.4,41.66Z"/>
1181
+ <circle class="cls-ScatterPoint-2" cx="16.82" cy="41.66" r="1.42"/>
1182
+ <path class="cls-ScatterPoint-1" d="M22.49,44.5a2.36,2.36,0,1,0,2.36-2.37A2.36,2.36,0,0,0,22.49,44.5Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.42,1.42,0,0,1,23.43,44.5Z"/>
1183
+ <circle class="cls-ScatterPoint-2" cx="24.85" cy="44.5" r="1.42"/>
1184
+ <path class="cls-ScatterPoint-1" d="M30.52,44a2.36,2.36,0,1,0,2.36-2.36A2.37,2.37,0,0,0,30.52,44Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.42,1.42,0,0,1,31.46,44Z"/>
1185
+ <circle class="cls-ScatterPoint-2" cx="32.88" cy="44.02" r="1.42"/>
1186
+ <path class="cls-ScatterPoint-3" d="M19.18,87.88a2.36,2.36,0,1,0,2.36-2.36A2.37,2.37,0,0,0,19.18,87.88Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.42,1.42,0,0,1,20.12,87.88Z"/>
1187
+ <circle class="cls-ScatterPoint-2" cx="21.54" cy="87.88" r="1.42"/>
1188
+ <path class="cls-ScatterPoint-3" d="M30.52,67.65a2.36,2.36,0,1,0,2.36-2.37A2.36,2.36,0,0,0,30.52,67.65Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.42,1.42,0,0,1,31.46,67.65Z"/>
1189
+ <circle class="cls-ScatterPoint-2" cx="32.88" cy="67.65" r="1.42"/>
1190
+ <path class="cls-ScatterPoint-3" d="M41.86,51.58a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,41.86,51.58Zm.94,0A1.42,1.42,0,1,1,44.22,53,1.42,1.42,0,0,1,42.8,51.58Z"/>
1191
+ <circle class="cls-ScatterPoint-2" cx="44.22" cy="51.58" r="1.42"/>
1192
+ <path class="cls-ScatterPoint-3" d="M41.86,53.94a2.36,2.36,0,1,0,2.36-2.36A2.37,2.37,0,0,0,41.86,53.94Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.42,1.42,0,0,1,42.8,53.94Z"/>
1193
+ <circle class="cls-ScatterPoint-2" cx="44.22" cy="53.94" r="1.42"/>
1194
+ <path class="cls-ScatterPoint-3" d="M41.86,63.39A2.36,2.36,0,1,0,44.22,61,2.37,2.37,0,0,0,41.86,63.39Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.42,1.42,0,0,1,42.8,63.39Z"/>
1195
+ <circle class="cls-ScatterPoint-2" cx="44.22" cy="63.39" r="1.42"/>
1196
+ <path class="cls-ScatterPoint-3" d="M41.86,71.43a2.36,2.36,0,1,0,2.36-2.37A2.36,2.36,0,0,0,41.86,71.43Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.42,1.42,0,0,1,42.8,71.43Z"/>
1197
+ <circle class="cls-ScatterPoint-2" cx="44.22" cy="71.43" r="1.42"/>
1198
+ <path class="cls-ScatterPoint-3" d="M53.2,83.24a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,53.2,83.24Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.42,1.42,0,0,1,54.14,83.24Z"/>
1199
+ <circle class="cls-ScatterPoint-2" cx="55.56" cy="83.24" r="1.42"/>
1200
+ <path class="cls-ScatterPoint-3" d="M64.06,75.21a2.37,2.37,0,1,0,2.37-2.37A2.37,2.37,0,0,0,64.06,75.21Zm1,0a1.42,1.42,0,1,1,1.42,1.41A1.41,1.41,0,0,1,65,75.21Z"/>
1201
+ <circle class="cls-ScatterPoint-2" cx="66.43" cy="75.21" r="1.42"/>
1202
+ <path class="cls-ScatterPoint-3" d="M64.06,63.39A2.37,2.37,0,1,0,66.43,61,2.37,2.37,0,0,0,64.06,63.39Zm1,0a1.42,1.42,0,1,1,1.42,1.42A1.41,1.41,0,0,1,65,63.39Z"/>
1203
+ <circle class="cls-ScatterPoint-2" cx="66.43" cy="63.39" r="1.42"/>
1204
+ <path class="cls-ScatterPoint-3" d="M75.4,71.43a2.37,2.37,0,1,0,2.36-2.37A2.36,2.36,0,0,0,75.4,71.43Zm.95,0a1.42,1.42,0,1,1,1.41,1.41A1.41,1.41,0,0,1,76.35,71.43Z"/>
1205
+ <circle class="cls-ScatterPoint-2" cx="77.76" cy="71.43" r="1.42"/>
1206
+ <path class="cls-ScatterPoint-3" d="M75.4,55.83a2.37,2.37,0,1,0,2.36-2.36A2.37,2.37,0,0,0,75.4,55.83Zm.95,0a1.42,1.42,0,1,1,1.41,1.42A1.41,1.41,0,0,1,76.35,55.83Z"/>
1207
+ <circle class="cls-ScatterPoint-2" cx="77.76" cy="55.83" r="1.42"/>
1208
+ <path class="cls-ScatterPoint-3" d="M75.4,24.81a2.37,2.37,0,1,0,2.36-2.36A2.36,2.36,0,0,0,75.4,24.81Zm.95,0a1.42,1.42,0,1,1,1.41,1.42A1.41,1.41,0,0,1,76.35,24.81Z"/>
1209
+ <circle class="cls-ScatterPoint-2" cx="77.76" cy="24.81" r="1.42"/>
1210
+ <path class="cls-ScatterPoint-3" d="M75.4,22a2.37,2.37,0,1,0,2.36-2.36A2.37,2.37,0,0,0,75.4,22Zm.95,0a1.42,1.42,0,1,1,1.41,1.42A1.41,1.41,0,0,1,76.35,22Z"/>
1211
+ <circle class="cls-ScatterPoint-2" cx="77.76" cy="21.97" r="1.42"/>
1212
+ <path class="cls-ScatterPoint-3" d="M86.74,84.1a2.37,2.37,0,1,0,2.36-2.36A2.37,2.37,0,0,0,86.74,84.1Zm1,0a1.42,1.42,0,1,1,1.41,1.42A1.41,1.41,0,0,1,87.69,84.1Z"/>
1213
+ <circle class="cls-ScatterPoint-2" cx="89.1" cy="84.1" r="1.42"/>
1214
+ <path class="cls-ScatterPoint-3" d="M86.74,71a2.37,2.37,0,1,0,2.36-2.36A2.37,2.37,0,0,0,86.74,71Zm1,0a1.42,1.42,0,1,1,1.41,1.42A1.41,1.41,0,0,1,87.69,71Z"/>
1215
+ <circle class="cls-ScatterPoint-2" cx="89.1" cy="70.95" r="1.42"/>
1216
+ <path class="cls-ScatterPoint-3" d="M41.86,88.36A2.36,2.36,0,1,0,44.22,86,2.36,2.36,0,0,0,41.86,88.36Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.42,1.42,0,0,1,42.8,88.36Z"/>
1217
+ <circle class="cls-ScatterPoint-2" cx="44.22" cy="88.36" r="1.42"/>
1218
+ <path class="cls-ScatterPoint-3" d="M30.52,71.43a2.36,2.36,0,1,0,2.36-2.37A2.36,2.36,0,0,0,30.52,71.43Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.42,1.42,0,0,1,31.46,71.43Z"/>
1219
+ <circle class="cls-ScatterPoint-2" cx="32.88" cy="71.43" r="1.42"/>
1220
+ <path class="cls-ScatterPoint-4" d="M19.65,64.34A2.37,2.37,0,1,0,22,62,2.36,2.36,0,0,0,19.65,64.34Zm1,0A1.42,1.42,0,1,1,22,65.76,1.41,1.41,0,0,1,20.6,64.34Z"/>
1221
+ <circle class="cls-ScatterPoint-2" cx="22.01" cy="64.34" r="1.42"/>
1222
+ <path class="cls-ScatterPoint-4" d="M30.52,50.64a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,30.52,50.64Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.42,1.42,0,0,1,31.46,50.64Z"/>
1223
+ <circle class="cls-ScatterPoint-2" cx="32.88" cy="50.64" r="1.42"/>
1224
+ <path class="cls-ScatterPoint-4" d="M30.52,62.92a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,30.52,62.92Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.43,1.43,0,0,1,31.46,62.92Z"/>
1225
+ <circle class="cls-ScatterPoint-2" cx="32.88" cy="62.92" r="1.42"/>
1226
+ <path class="cls-ScatterPoint-4" d="M30.52,79a2.36,2.36,0,1,0,2.36-2.37A2.36,2.36,0,0,0,30.52,79Zm.94,0a1.42,1.42,0,1,1,1.42,1.41A1.42,1.42,0,0,1,31.46,79Z"/>
1227
+ <circle class="cls-ScatterPoint-2" cx="32.88" cy="78.99" r="1.42"/>
1228
+ <path class="cls-ScatterPoint-4" d="M41.86,68.12a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,41.86,68.12Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.42,1.42,0,0,1,42.8,68.12Z"/>
1229
+ <circle class="cls-ScatterPoint-2" cx="44.22" cy="68.12" r="1.42"/>
1230
+ <path class="cls-ScatterPoint-4" d="M53.2,56.78a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,53.2,56.78Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.43,1.43,0,0,1,54.14,56.78Z"/>
1231
+ <circle class="cls-ScatterPoint-2" cx="55.56" cy="56.78" r="1.42"/>
1232
+ <path class="cls-ScatterPoint-4" d="M53.2,76.15a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,53.2,76.15Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.43,1.43,0,0,1,54.14,76.15Z"/>
1233
+ <circle class="cls-ScatterPoint-2" cx="55.56" cy="76.15" r="1.42"/>
1234
+ <path class="cls-ScatterPoint-4" d="M41.86,85.52a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,41.86,85.52Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.43,1.43,0,0,1,42.8,85.52Z"/>
1235
+ <circle class="cls-ScatterPoint-2" cx="44.22" cy="85.52" r="1.42"/>
1236
+ <path class="cls-ScatterPoint-4" d="M64.06,83.24a2.37,2.37,0,1,0,2.37-2.36A2.37,2.37,0,0,0,64.06,83.24Zm1,0a1.42,1.42,0,1,1,1.42,1.41A1.41,1.41,0,0,1,65,83.24Z"/>
1237
+ <circle class="cls-ScatterPoint-2" cx="66.43" cy="83.24" r="1.42"/>
1238
+ <path class="cls-ScatterPoint-4" d="M75.4,75.68a2.37,2.37,0,1,0,2.36-2.36A2.36,2.36,0,0,0,75.4,75.68Zm.95,0a1.42,1.42,0,1,1,1.41,1.42A1.41,1.41,0,0,1,76.35,75.68Z"/>
1239
+ <circle class="cls-ScatterPoint-2" cx="77.76" cy="75.68" r="1.42"/>
1240
+ <path class="cls-ScatterPoint-4" d="M77.76,75.21a2.37,2.37,0,1,0,2.37-2.37A2.37,2.37,0,0,0,77.76,75.21Zm.95,0a1.42,1.42,0,1,1,1.42,1.41A1.41,1.41,0,0,1,78.71,75.21Z"/>
1241
+ <circle class="cls-ScatterPoint-2" cx="80.13" cy="75.21" r="1.42"/>
1242
+ <path class="cls-ScatterPoint-4" d="M86.27,54.89a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,86.27,54.89Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.43,1.43,0,0,1,87.21,54.89Z"/>
1243
+ <circle class="cls-ScatterPoint-2" cx="88.63" cy="54.89" r="1.42"/>
1244
+ <path class="cls-ScatterPoint-4" d="M90.52,71a2.37,2.37,0,1,0,2.36-2.36A2.37,2.37,0,0,0,90.52,71Zm1,0a1.42,1.42,0,1,1,1.41,1.42A1.41,1.41,0,0,1,91.47,71Z"/>
1245
+ <circle class="cls-ScatterPoint-2" cx="92.88" cy="70.95" r="1.42"/>
1246
+ <path class="cls-ScatterPoint-4" d="M86.74,88.36A2.37,2.37,0,1,0,89.1,86,2.36,2.36,0,0,0,86.74,88.36Zm1,0a1.42,1.42,0,1,1,1.41,1.41A1.41,1.41,0,0,1,87.69,88.36Z"/>
1247
+ <circle class="cls-ScatterPoint-2" cx="89.1" cy="88.36" r="1.42"/>
1248
+ <path class="cls-ScatterPoint-4" d="M30.52,83.71a2.36,2.36,0,1,0,2.36-2.36A2.36,2.36,0,0,0,30.52,83.71Zm.94,0a1.42,1.42,0,1,1,1.42,1.42A1.43,1.43,0,0,1,31.46,83.71Z"/>
1249
+ <circle class="cls-ScatterPoint-2" cx="32.88" cy="83.71" r="1.42"/>
1250
+ </g>
1251
+ </svg>
1236
1252
  `;
1237
1253
 
1238
1254
  var charts = /*#__PURE__*/Object.freeze({
@@ -1256,21 +1272,21 @@ var charts = /*#__PURE__*/Object.freeze({
1256
1272
  });
1257
1273
 
1258
1274
  class SvgPipe {
1259
- constructor(sanitizer) {
1260
- this.sanitizer = sanitizer;
1275
+ constructor() {
1276
+ this.sanitizer = inject(DomSanitizer);
1261
1277
  }
1262
1278
  transform(markup) {
1263
1279
  return this.sanitizer.bypassSecurityTrustHtml(markup);
1264
1280
  }
1265
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: SvgPipe, deps: [{ token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
1266
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.3", ngImport: i0, type: SvgPipe, isStandalone: true, name: "svg" }); }
1281
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: SvgPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1282
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.6", ngImport: i0, type: SvgPipe, isStandalone: true, name: "svg" }); }
1267
1283
  }
1268
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: SvgPipe, decorators: [{
1284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: SvgPipe, decorators: [{
1269
1285
  type: Pipe,
1270
1286
  args: [{
1271
1287
  name: 'svg',
1272
1288
  }]
1273
- }], ctorParameters: () => [{ type: i1$1.DomSanitizer }] });
1289
+ }] });
1274
1290
 
1275
1291
  class IgxChartMenuComponent {
1276
1292
  get width() {
@@ -1285,20 +1301,28 @@ class IgxChartMenuComponent {
1285
1301
  set height(value) {
1286
1302
  this._height = value;
1287
1303
  }
1288
- constructor(element) {
1289
- this.element = element;
1290
- this.onClose = new EventEmitter();
1304
+ constructor() {
1305
+ this.closed = new EventEmitter();
1291
1306
  this.chartDialogResizeNotify = new Subject();
1292
1307
  this.allCharts = [];
1293
1308
  this.fullScreen = false;
1294
1309
  this.isConfigAreaExpanded = false;
1295
1310
  this.mainChartTypes = ['Column', 'Area', 'Bar', 'Line', 'Scatter', 'Pie'];
1311
+ this.element = inject((ElementRef));
1296
1312
  this.images = charts;
1297
1313
  }
1298
1314
  ngAfterViewInit() {
1299
1315
  this.contentObserver = new ResizeObserver((args) => this.chartDialogResizeNotify.next(args));
1300
1316
  this.contentObserver.observe(this.element.nativeElement);
1301
- this.createChart(this.currentChartType);
1317
+ if (this.currentChartType && this.chartDirective) {
1318
+ this.createChart(this.currentChartType);
1319
+ }
1320
+ }
1321
+ ngOnDestroy() {
1322
+ if (this.contentObserver) {
1323
+ this.contentObserver.disconnect();
1324
+ }
1325
+ this.chartDialogResizeNotify.complete();
1302
1326
  }
1303
1327
  toggleFullScreen() {
1304
1328
  this.fullScreen = !this.fullScreen;
@@ -1307,24 +1331,24 @@ class IgxChartMenuComponent {
1307
1331
  return this.allCharts.some(c => c.includes(chartType));
1308
1332
  }
1309
1333
  createChart(chartType) {
1334
+ if (!chartType || !this.chartDirective || !this.chartArea) {
1335
+ return;
1336
+ }
1310
1337
  this.currentChartType = chartType;
1311
1338
  this.title = chartType.split(/(?=[A-Z])/).toString().replace(',', ' ');
1312
- try {
1313
- this.chartArea.clear();
1314
- }
1315
- catch (e) { }
1339
+ this.chartArea.clear();
1316
1340
  this.chartDirective.chartFactory(chartType, this.chartArea);
1317
1341
  }
1318
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: IgxChartMenuComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
1319
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.3", type: IgxChartMenuComponent, isStandalone: true, selector: "igx-chart-menu", outputs: { onClose: "onClose" }, host: { properties: { "style.width.px": "this.width", "style.height.px": "this.height" } }, viewQueries: [{ propertyName: "chartArea", first: true, predicate: ["chartArea"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "<div class=\"header\">\r\n <span class=\"header-text\">\r\n {{ title }} Chart\r\n </span>\r\n <span class=\"action-buttons-wrapper\">\r\n <button igxIconButton=\"flat\" (click)=\"toggleFullScreen()\">\r\n <igx-icon class=\"material\">fullscreen{{fullScreen ? '_exit' : ''}}</igx-icon>\r\n </button>\r\n <button igxIconButton=\"flat\" (click)=\"onClose.emit()\">\r\n <igx-icon class=\"material\">close</igx-icon>\r\n </button>\r\n </span>\r\n</div>\r\n<div class=\"selection-area ig-scrollbar\">\r\n <igc-trial-watermark></igc-trial-watermark>\r\n <div class=\"chart-area\" [ngClass]=\"{'expanded': isConfigAreaExpanded}\">\r\n <ng-template #chartArea ></ng-template>\r\n </div>\r\n <div>\r\n <button igxIconButton=\"flat\" igxRipple (click)=\"isConfigAreaExpanded = !isConfigAreaExpanded\">\r\n <igx-icon family=\"material\">chevron_{{ isConfigAreaExpanded ? 'left': 'right'}}</igx-icon>\r\n </button>\r\n </div>\r\n <div #configArea [ngClass]=\"{'chart-config-area': true, 'opened': !isConfigAreaExpanded, 'closed': isConfigAreaExpanded }\">\r\n <div class=\"config-area-header\">\r\n <span>Chart Types</span>\r\n </div>\r\n <igx-divider class=\"divider\"></igx-divider>\r\n @for (chartType of mainChartTypes; track chartType) {\r\n <div class=\"wrapper\">\r\n @if (hasAvailableChart(chartType)) {\r\n <div>{{chartType | titlecase}} Chart</div>\r\n <div class=\"types-section\">\r\n @for (chart of allCharts; track chart) {\r\n @if (chart.startsWith(chartType)) {\r\n <span class=\"types-section-btn\" title=\"{{chart}}\"\r\n [ngClass]=\"{'selected': chart === currentChartType}\" (click)=\"createChart(chart)\">\r\n <div [innerHTML]=\"images[chart] | svg\">\r\n </div>\r\n </span>\r\n }\r\n }\r\n </div>\r\n <igx-divider></igx-divider>\r\n }\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: [".ig-chart-legend-items-list{height:20%;display:inline-flex;flex-wrap:wrap;margin-bottom:1rem}igx-chart-menu{display:flex;flex-flow:column;overflow:hidden;background-color:#fff;transition:width .2s ease-in-out,height .3s ease-in-out}.header{height:10%;background-color:#e0e0e0;display:flex;font-size:1.8rem}.header .action-buttons-wrapper{margin-left:auto;margin-right:10px;align-self:center}.header .header-text{margin-right:auto;align-self:center;margin-left:3rem}.selection-area,.selection-area .ig-scrollbar{--sb-size: var(--ig-scrollbar-sb-size, 1rem);--sb-thumb-min-height: var(--ig-scrollbar-sb-thumb-min-height, 2rem);--sb-thumb-bg-color: var(--ig-scrollbar-sb-thumb-bg-color, var(--ig-gray-400));--sb-thumb-bg-color-hover: var(--ig-scrollbar-sb-thumb-bg-color-hover, var(--ig-gray-400));--sb-thumb-border-color: var(--ig-scrollbar-sb-thumb-border-color, transparent);--sb-thumb-border-size: var(--ig-scrollbar-sb-thumb-border-size, 0);--sb-thumb-border-radius: var(--ig-scrollbar-sb-thumb-border-radius, 0);--sb-track-bg-color: var(--ig-scrollbar-sb-track-bg-color, var(--ig-gray-100));--sb-track-bg-color-hover: var(--ig-scrollbar-sb-track-bg-color-hover, var(--ig-gray-100));--sb-track-border-color: var(--ig-scrollbar-sb-track-border-color, transparent);--sb-track-border-size: var(--ig-scrollbar-sb-track-border-size, 0);--sb-corner-bg: var(--ig-scrollbar-sb-corner-bg, var(--ig-gray-100));--sb-corner-border-color: var(--ig-scrollbar-sb-corner-border-color, transparent);--sb-corner-border-size: var(--ig-scrollbar-sb-corner-border-size, 0);--ig-theme: material}@-moz-document url-prefix(){}.selection-area{width:100%;height:90%;display:inline-flex;flex-flow:row}.selection-area .chart-area{margin-top:1rem;overflow-y:hidden;overflow-x:hidden;width:100%}.selection-area .chart-config-area.opened{width:25%;overflow-y:auto;overflow-x:hidden}.selection-area .chart-config-area.closed{width:0;transform:translate(100%)}.selection-area .chart-config-area{transition:all;transition-duration:.3s;transition-timing-function:ease-in-out}.selection-area .chart-config-area .config-area-header{margin-bottom:3px;font-size:1rem;font-weight:700;text-align:center}.selection-area .chart-config-area .types-section-btn{width:40%;margin-right:5px;cursor:pointer}.selection-area .chart-config-area .types-section-btn.selected{opacity:.5}.selection-area .wrapper{padding:3px}.selection-area .wrapper .types-section{display:flex;flex-wrap:wrap}.selection-area .wrapper .igx-divider{margin:5px!important;background:#000!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IgxIconComponent, selector: "igx-icon", inputs: ["ariaHidden", "family", "name", "active"] }, { kind: "directive", type: IgxIconButtonDirective, selector: "[igxIconButton]", inputs: ["igxIconButton"] }, { kind: "pipe", type: i1$2.TitleCasePipe, name: "titlecase" }, { kind: "pipe", type: SvgPipe, name: "svg" }], encapsulation: i0.ViewEncapsulation.None }); }
1342
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxChartMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1343
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: IgxChartMenuComponent, isStandalone: true, selector: "igx-chart-menu", outputs: { closed: "closed" }, host: { properties: { "style.width.px": "this.width", "style.height.px": "this.height" } }, viewQueries: [{ propertyName: "chartArea", first: true, predicate: ["chartArea"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "<div class=\"header\">\n <span class=\"header-text\">\n {{ title }} Chart\n </span>\n <span class=\"action-buttons-wrapper\">\n <button igxIconButton=\"flat\" (click)=\"toggleFullScreen()\">\n <igx-icon class=\"material\">fullscreen{{fullScreen ? '_exit' : ''}}</igx-icon>\n </button>\n <button igxIconButton=\"flat\" (click)=\"closed.emit()\">\n <igx-icon class=\"material\">close</igx-icon>\n </button>\n </span>\n</div>\n<div class=\"selection-area ig-scrollbar\">\n <igc-trial-watermark></igc-trial-watermark>\n <div class=\"chart-area\" [ngClass]=\"{'expanded': isConfigAreaExpanded}\">\n <ng-template #chartArea ></ng-template>\n </div>\n <div>\n <button igxIconButton=\"flat\" igxRipple (click)=\"isConfigAreaExpanded = !isConfigAreaExpanded\">\n <igx-icon family=\"material\">chevron_{{ isConfigAreaExpanded ? 'left': 'right'}}</igx-icon>\n </button>\n </div>\n <div #configArea [ngClass]=\"{'chart-config-area': true, 'opened': !isConfigAreaExpanded, 'closed': isConfigAreaExpanded }\">\n <div class=\"config-area-header\">\n <span>Chart Types</span>\n </div>\n <igx-divider class=\"divider\"></igx-divider>\n @for (chartType of mainChartTypes; track chartType) {\n <div class=\"wrapper\">\n @if (hasAvailableChart(chartType)) {\n <div>{{chartType | titlecase}} Chart</div>\n <div class=\"types-section\">\n @for (chart of allCharts; track chart) {\n @if (chart.startsWith(chartType)) {\n <span class=\"types-section-btn\" title=\"{{chart}}\"\n [ngClass]=\"{'selected': chart === currentChartType}\" (click)=\"createChart(chart)\">\n <div [innerHTML]=\"images[chart] | svg\">\n </div>\n </span>\n }\n }\n </div>\n <igx-divider></igx-divider>\n }\n </div>\n }\n </div>\n</div>\n", styles: [".ig-chart-legend-items-list{height:20%;display:inline-flex;flex-wrap:wrap;margin-bottom:1rem}igx-chart-menu{display:flex;flex-flow:column;overflow:hidden;background-color:#fff;transition:width .2s ease-in-out,height .3s ease-in-out}.header{height:10%;background-color:#e0e0e0;display:flex;font-size:1.8rem}.header .action-buttons-wrapper{margin-left:auto;margin-right:10px;align-self:center}.header .header-text{margin-right:auto;align-self:center;margin-left:3rem}.selection-area,.selection-area .ig-scrollbar{--sb-size: var(--igx-scrollbar-sb-size, var(--ig-scrollbar-sb-size, 1rem));--sb-thumb-min-height: var(--igx-scrollbar-sb-thumb-min-height, var(--ig-scrollbar-sb-thumb-min-height, 2rem));--sb-thumb-bg-color: var(--igx-scrollbar-sb-thumb-bg-color, var(--ig-scrollbar-sb-thumb-bg-color, var(--ig-gray-400)));--sb-thumb-bg-color-hover: var(--igx-scrollbar-sb-thumb-bg-color-hover, var(--ig-scrollbar-sb-thumb-bg-color-hover, var(--ig-gray-400)));--sb-thumb-border-color: var(--igx-scrollbar-sb-thumb-border-color, var(--ig-scrollbar-sb-thumb-border-color, transparent));--sb-thumb-border-size: var(--igx-scrollbar-sb-thumb-border-size, var(--ig-scrollbar-sb-thumb-border-size, 0));--sb-thumb-border-radius: var(--igx-scrollbar-sb-thumb-border-radius, var(--ig-scrollbar-sb-thumb-border-radius, 0));--sb-track-bg-color: var(--igx-scrollbar-sb-track-bg-color, var(--ig-scrollbar-sb-track-bg-color, var(--ig-gray-100)));--sb-track-bg-color-hover: var(--igx-scrollbar-sb-track-bg-color-hover, var(--ig-scrollbar-sb-track-bg-color-hover, var(--ig-gray-100)));--sb-track-border-color: var(--igx-scrollbar-sb-track-border-color, var(--ig-scrollbar-sb-track-border-color, transparent));--sb-track-border-size: var(--igx-scrollbar-sb-track-border-size, var(--ig-scrollbar-sb-track-border-size, 0));--sb-corner-bg: var(--igx-scrollbar-sb-corner-bg, var(--ig-scrollbar-sb-corner-bg, var(--ig-gray-100)));--sb-corner-border-color: var(--igx-scrollbar-sb-corner-border-color, var(--ig-scrollbar-sb-corner-border-color, transparent));--sb-corner-border-size: var(--igx-scrollbar-sb-corner-border-size, var(--ig-scrollbar-sb-corner-border-size, 0));--ig-theme: material;--ig-theme-variant: light}@-moz-document url-prefix(){}.selection-area{width:100%;height:90%;display:inline-flex;flex-flow:row}.selection-area .chart-area{margin-top:1rem;overflow-y:hidden;overflow-x:hidden;width:100%}.selection-area .chart-config-area.opened{width:25%;overflow-y:auto;overflow-x:hidden}.selection-area .chart-config-area.closed{width:0;transform:translate(100%)}.selection-area .chart-config-area{transition:all;transition-duration:.3s;transition-timing-function:ease-in-out}.selection-area .chart-config-area .config-area-header{margin-bottom:3px;font-size:1rem;font-weight:700;text-align:center}.selection-area .chart-config-area .types-section-btn{width:40%;margin-right:5px;cursor:pointer}.selection-area .chart-config-area .types-section-btn.selected{opacity:.5}.selection-area .wrapper{padding:3px}.selection-area .wrapper .types-section{display:flex;flex-wrap:wrap}.selection-area .wrapper .igx-divider{margin:5px!important;background:#000!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IgxIconComponent, selector: "igx-icon", inputs: ["ariaHidden", "family", "name", "active"] }, { kind: "directive", type: IgxIconButtonDirective, selector: "[igxIconButton]", inputs: ["igxIconButton"] }, { kind: "directive", type: IgxRippleDirective, selector: "[igxRipple]", inputs: ["igxRippleTarget", "igxRipple", "igxRippleDuration", "igxRippleCentered", "igxRippleDisabled"] }, { kind: "directive", type: IgxDividerDirective, selector: "igx-divider", inputs: ["id", "role", "type", "middle", "vertical", "inset"] }, { kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }, { kind: "pipe", type: SvgPipe, name: "svg" }], encapsulation: i0.ViewEncapsulation.None }); }
1320
1344
  }
1321
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: IgxChartMenuComponent, decorators: [{
1345
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxChartMenuComponent, decorators: [{
1322
1346
  type: Component,
1323
- args: [{ selector: 'igx-chart-menu', encapsulation: ViewEncapsulation.None, imports: [CommonModule, IgxIconComponent, IgxIconButtonDirective, SvgPipe], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<div class=\"header\">\r\n <span class=\"header-text\">\r\n {{ title }} Chart\r\n </span>\r\n <span class=\"action-buttons-wrapper\">\r\n <button igxIconButton=\"flat\" (click)=\"toggleFullScreen()\">\r\n <igx-icon class=\"material\">fullscreen{{fullScreen ? '_exit' : ''}}</igx-icon>\r\n </button>\r\n <button igxIconButton=\"flat\" (click)=\"onClose.emit()\">\r\n <igx-icon class=\"material\">close</igx-icon>\r\n </button>\r\n </span>\r\n</div>\r\n<div class=\"selection-area ig-scrollbar\">\r\n <igc-trial-watermark></igc-trial-watermark>\r\n <div class=\"chart-area\" [ngClass]=\"{'expanded': isConfigAreaExpanded}\">\r\n <ng-template #chartArea ></ng-template>\r\n </div>\r\n <div>\r\n <button igxIconButton=\"flat\" igxRipple (click)=\"isConfigAreaExpanded = !isConfigAreaExpanded\">\r\n <igx-icon family=\"material\">chevron_{{ isConfigAreaExpanded ? 'left': 'right'}}</igx-icon>\r\n </button>\r\n </div>\r\n <div #configArea [ngClass]=\"{'chart-config-area': true, 'opened': !isConfigAreaExpanded, 'closed': isConfigAreaExpanded }\">\r\n <div class=\"config-area-header\">\r\n <span>Chart Types</span>\r\n </div>\r\n <igx-divider class=\"divider\"></igx-divider>\r\n @for (chartType of mainChartTypes; track chartType) {\r\n <div class=\"wrapper\">\r\n @if (hasAvailableChart(chartType)) {\r\n <div>{{chartType | titlecase}} Chart</div>\r\n <div class=\"types-section\">\r\n @for (chart of allCharts; track chart) {\r\n @if (chart.startsWith(chartType)) {\r\n <span class=\"types-section-btn\" title=\"{{chart}}\"\r\n [ngClass]=\"{'selected': chart === currentChartType}\" (click)=\"createChart(chart)\">\r\n <div [innerHTML]=\"images[chart] | svg\">\r\n </div>\r\n </span>\r\n }\r\n }\r\n </div>\r\n <igx-divider></igx-divider>\r\n }\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: [".ig-chart-legend-items-list{height:20%;display:inline-flex;flex-wrap:wrap;margin-bottom:1rem}igx-chart-menu{display:flex;flex-flow:column;overflow:hidden;background-color:#fff;transition:width .2s ease-in-out,height .3s ease-in-out}.header{height:10%;background-color:#e0e0e0;display:flex;font-size:1.8rem}.header .action-buttons-wrapper{margin-left:auto;margin-right:10px;align-self:center}.header .header-text{margin-right:auto;align-self:center;margin-left:3rem}.selection-area,.selection-area .ig-scrollbar{--sb-size: var(--ig-scrollbar-sb-size, 1rem);--sb-thumb-min-height: var(--ig-scrollbar-sb-thumb-min-height, 2rem);--sb-thumb-bg-color: var(--ig-scrollbar-sb-thumb-bg-color, var(--ig-gray-400));--sb-thumb-bg-color-hover: var(--ig-scrollbar-sb-thumb-bg-color-hover, var(--ig-gray-400));--sb-thumb-border-color: var(--ig-scrollbar-sb-thumb-border-color, transparent);--sb-thumb-border-size: var(--ig-scrollbar-sb-thumb-border-size, 0);--sb-thumb-border-radius: var(--ig-scrollbar-sb-thumb-border-radius, 0);--sb-track-bg-color: var(--ig-scrollbar-sb-track-bg-color, var(--ig-gray-100));--sb-track-bg-color-hover: var(--ig-scrollbar-sb-track-bg-color-hover, var(--ig-gray-100));--sb-track-border-color: var(--ig-scrollbar-sb-track-border-color, transparent);--sb-track-border-size: var(--ig-scrollbar-sb-track-border-size, 0);--sb-corner-bg: var(--ig-scrollbar-sb-corner-bg, var(--ig-gray-100));--sb-corner-border-color: var(--ig-scrollbar-sb-corner-border-color, transparent);--sb-corner-border-size: var(--ig-scrollbar-sb-corner-border-size, 0);--ig-theme: material}@-moz-document url-prefix(){}.selection-area{width:100%;height:90%;display:inline-flex;flex-flow:row}.selection-area .chart-area{margin-top:1rem;overflow-y:hidden;overflow-x:hidden;width:100%}.selection-area .chart-config-area.opened{width:25%;overflow-y:auto;overflow-x:hidden}.selection-area .chart-config-area.closed{width:0;transform:translate(100%)}.selection-area .chart-config-area{transition:all;transition-duration:.3s;transition-timing-function:ease-in-out}.selection-area .chart-config-area .config-area-header{margin-bottom:3px;font-size:1rem;font-weight:700;text-align:center}.selection-area .chart-config-area .types-section-btn{width:40%;margin-right:5px;cursor:pointer}.selection-area .chart-config-area .types-section-btn.selected{opacity:.5}.selection-area .wrapper{padding:3px}.selection-area .wrapper .types-section{display:flex;flex-wrap:wrap}.selection-area .wrapper .igx-divider{margin:5px!important;background:#000!important}\n"] }]
1324
- }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { chartArea: [{
1347
+ args: [{ selector: 'igx-chart-menu', encapsulation: ViewEncapsulation.None, imports: [CommonModule, IgxIconComponent, IgxIconButtonDirective, IgxRippleDirective, IgxDividerDirective, SvgPipe], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<div class=\"header\">\n <span class=\"header-text\">\n {{ title }} Chart\n </span>\n <span class=\"action-buttons-wrapper\">\n <button igxIconButton=\"flat\" (click)=\"toggleFullScreen()\">\n <igx-icon class=\"material\">fullscreen{{fullScreen ? '_exit' : ''}}</igx-icon>\n </button>\n <button igxIconButton=\"flat\" (click)=\"closed.emit()\">\n <igx-icon class=\"material\">close</igx-icon>\n </button>\n </span>\n</div>\n<div class=\"selection-area ig-scrollbar\">\n <igc-trial-watermark></igc-trial-watermark>\n <div class=\"chart-area\" [ngClass]=\"{'expanded': isConfigAreaExpanded}\">\n <ng-template #chartArea ></ng-template>\n </div>\n <div>\n <button igxIconButton=\"flat\" igxRipple (click)=\"isConfigAreaExpanded = !isConfigAreaExpanded\">\n <igx-icon family=\"material\">chevron_{{ isConfigAreaExpanded ? 'left': 'right'}}</igx-icon>\n </button>\n </div>\n <div #configArea [ngClass]=\"{'chart-config-area': true, 'opened': !isConfigAreaExpanded, 'closed': isConfigAreaExpanded }\">\n <div class=\"config-area-header\">\n <span>Chart Types</span>\n </div>\n <igx-divider class=\"divider\"></igx-divider>\n @for (chartType of mainChartTypes; track chartType) {\n <div class=\"wrapper\">\n @if (hasAvailableChart(chartType)) {\n <div>{{chartType | titlecase}} Chart</div>\n <div class=\"types-section\">\n @for (chart of allCharts; track chart) {\n @if (chart.startsWith(chartType)) {\n <span class=\"types-section-btn\" title=\"{{chart}}\"\n [ngClass]=\"{'selected': chart === currentChartType}\" (click)=\"createChart(chart)\">\n <div [innerHTML]=\"images[chart] | svg\">\n </div>\n </span>\n }\n }\n </div>\n <igx-divider></igx-divider>\n }\n </div>\n }\n </div>\n</div>\n", styles: [".ig-chart-legend-items-list{height:20%;display:inline-flex;flex-wrap:wrap;margin-bottom:1rem}igx-chart-menu{display:flex;flex-flow:column;overflow:hidden;background-color:#fff;transition:width .2s ease-in-out,height .3s ease-in-out}.header{height:10%;background-color:#e0e0e0;display:flex;font-size:1.8rem}.header .action-buttons-wrapper{margin-left:auto;margin-right:10px;align-self:center}.header .header-text{margin-right:auto;align-self:center;margin-left:3rem}.selection-area,.selection-area .ig-scrollbar{--sb-size: var(--igx-scrollbar-sb-size, var(--ig-scrollbar-sb-size, 1rem));--sb-thumb-min-height: var(--igx-scrollbar-sb-thumb-min-height, var(--ig-scrollbar-sb-thumb-min-height, 2rem));--sb-thumb-bg-color: var(--igx-scrollbar-sb-thumb-bg-color, var(--ig-scrollbar-sb-thumb-bg-color, var(--ig-gray-400)));--sb-thumb-bg-color-hover: var(--igx-scrollbar-sb-thumb-bg-color-hover, var(--ig-scrollbar-sb-thumb-bg-color-hover, var(--ig-gray-400)));--sb-thumb-border-color: var(--igx-scrollbar-sb-thumb-border-color, var(--ig-scrollbar-sb-thumb-border-color, transparent));--sb-thumb-border-size: var(--igx-scrollbar-sb-thumb-border-size, var(--ig-scrollbar-sb-thumb-border-size, 0));--sb-thumb-border-radius: var(--igx-scrollbar-sb-thumb-border-radius, var(--ig-scrollbar-sb-thumb-border-radius, 0));--sb-track-bg-color: var(--igx-scrollbar-sb-track-bg-color, var(--ig-scrollbar-sb-track-bg-color, var(--ig-gray-100)));--sb-track-bg-color-hover: var(--igx-scrollbar-sb-track-bg-color-hover, var(--ig-scrollbar-sb-track-bg-color-hover, var(--ig-gray-100)));--sb-track-border-color: var(--igx-scrollbar-sb-track-border-color, var(--ig-scrollbar-sb-track-border-color, transparent));--sb-track-border-size: var(--igx-scrollbar-sb-track-border-size, var(--ig-scrollbar-sb-track-border-size, 0));--sb-corner-bg: var(--igx-scrollbar-sb-corner-bg, var(--ig-scrollbar-sb-corner-bg, var(--ig-gray-100)));--sb-corner-border-color: var(--igx-scrollbar-sb-corner-border-color, var(--ig-scrollbar-sb-corner-border-color, transparent));--sb-corner-border-size: var(--igx-scrollbar-sb-corner-border-size, var(--ig-scrollbar-sb-corner-border-size, 0));--ig-theme: material;--ig-theme-variant: light}@-moz-document url-prefix(){}.selection-area{width:100%;height:90%;display:inline-flex;flex-flow:row}.selection-area .chart-area{margin-top:1rem;overflow-y:hidden;overflow-x:hidden;width:100%}.selection-area .chart-config-area.opened{width:25%;overflow-y:auto;overflow-x:hidden}.selection-area .chart-config-area.closed{width:0;transform:translate(100%)}.selection-area .chart-config-area{transition:all;transition-duration:.3s;transition-timing-function:ease-in-out}.selection-area .chart-config-area .config-area-header{margin-bottom:3px;font-size:1rem;font-weight:700;text-align:center}.selection-area .chart-config-area .types-section-btn{width:40%;margin-right:5px;cursor:pointer}.selection-area .chart-config-area .types-section-btn.selected{opacity:.5}.selection-area .wrapper{padding:3px}.selection-area .wrapper .types-section{display:flex;flex-wrap:wrap}.selection-area .wrapper .igx-divider{margin:5px!important;background:#000!important}\n"] }]
1348
+ }], ctorParameters: () => [], propDecorators: { chartArea: [{
1325
1349
  type: ViewChild,
1326
1350
  args: ['chartArea', { read: ViewContainerRef }]
1327
- }], onClose: [{
1351
+ }], closed: [{
1328
1352
  type: Output
1329
1353
  }], width: [{
1330
1354
  type: HostBinding,
@@ -1335,98 +1359,98 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImpor
1335
1359
  }] } });
1336
1360
 
1337
1361
  // tslint:disable: max-line-length
1338
- const Clear = `
1339
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1340
- <defs>
1341
- <style>.cls-Clear-1{fill-rule:evenodd;}.cls-Clear-2{fill:none;}</style>
1342
- </defs>
1343
- <g id="Layer_2" data-name="Layer 2">
1344
- <g id="Layer_1-2" data-name="Layer 1">
1345
- <g id="Conditional-formating">
1346
- <g id="Artboard">
1347
- <g id="refresh-24px">
1348
- <path id="Path" class="cls-Clear-1" d="M17.65,6.35A8,8,0,1,0,19.73,14H17.65A6,6,0,1,1,12,6a5.91,5.91,0,0,1,4.22,1.78L13,11h7V4Z"/>
1349
- <polygon class="cls-Clear-2" points="0 0 24 0 24 24 0 24 0 0"/>
1350
- </g>
1351
- </g>
1352
- </g>
1353
- </g>
1354
- </g>
1355
- </svg>
1362
+ const Clear = `
1363
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1364
+ <defs>
1365
+ <style>.cls-Clear-1{fill-rule:evenodd;}.cls-Clear-2{fill:none;}</style>
1366
+ </defs>
1367
+ <g id="Layer_2" data-name="Layer 2">
1368
+ <g id="Layer_1-2" data-name="Layer 1">
1369
+ <g id="Conditional-formating">
1370
+ <g id="Artboard">
1371
+ <g id="refresh-24px">
1372
+ <path id="Path" class="cls-Clear-1" d="M17.65,6.35A8,8,0,1,0,19.73,14H17.65A6,6,0,1,1,12,6a5.91,5.91,0,0,1,4.22,1.78L13,11h7V4Z"/>
1373
+ <polygon class="cls-Clear-2" points="0 0 24 0 24 24 0 24 0 0"/>
1374
+ </g>
1375
+ </g>
1376
+ </g>
1377
+ </g>
1378
+ </g>
1379
+ </svg>
1356
1380
  `;
1357
- const ColorScale = `
1358
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1359
- <path d="M13 13.65h5a5.63 5.63 0 00-.09-1H13zM13 10.65h4.19a6.29 6.29 0 00-.74-1H13zM13 19.58a5.87 5.87 0 002.34-.93H13zM13 6.18v1.48h1.48l-1-1-.48-.48zM13 15.65v1h4.2a5.68 5.68 0 00.46-1zM11 6.18L7.76 9.43A6 6 0 0011 19.58z" fill="none"/>
1360
- <path d="M16.45 9.65H13v1h4.19a6.29 6.29 0 00-.74-1zM13.48 6.66L13 6.18v1.48h1.48l-1-1zM6 13.66a6 6 0 005 5.92V6.18L7.76 9.42A6 6 0 006 13.66zM13 19.58a5.87 5.87 0 002.34-.93H13zM13 16.65h4.2a5.68 5.68 0 00.46-1H13zM13 12.65v1h5a5.63 5.63 0 00-.09-1z" fill="none"/>
1361
- <path d="M19.93 12.66a7.84 7.84 0 00-.51-2 8.48 8.48 0 00-.5-1A7.8 7.8 0 0017.66 8l-.35-.36-.31-.26-.73-.73-2-2-.85-.84L12 2.34 6.34 8A8 8 0 0011 21.58h.21a7 7 0 00.79 0 7.14 7.14 0 00.8 0h.2a7.94 7.94 0 006.93-8.92zM11 19.58A6 6 0 017.76 9.42L11 6.18zm2-12.93v-.47l.48.47 1 1H13zm0 3h3.45a6.29 6.29 0 01.74 1H13zm0 9.93v-.93h2.34a5.87 5.87 0 01-2.34.93zm4.2-2.93H13v-1h4.66a5.68 5.68 0 01-.46 1zm-4.2-3v-1h4.91a5.63 5.63 0 01.09 1z"/>
1362
- <path d="M0 0h24v24H0z" fill="none"/>
1363
- </svg>
1364
-
1381
+ const ColorScale = `
1382
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1383
+ <path d="M13 13.65h5a5.63 5.63 0 00-.09-1H13zM13 10.65h4.19a6.29 6.29 0 00-.74-1H13zM13 19.58a5.87 5.87 0 002.34-.93H13zM13 6.18v1.48h1.48l-1-1-.48-.48zM13 15.65v1h4.2a5.68 5.68 0 00.46-1zM11 6.18L7.76 9.43A6 6 0 0011 19.58z" fill="none"/>
1384
+ <path d="M16.45 9.65H13v1h4.19a6.29 6.29 0 00-.74-1zM13.48 6.66L13 6.18v1.48h1.48l-1-1zM6 13.66a6 6 0 005 5.92V6.18L7.76 9.42A6 6 0 006 13.66zM13 19.58a5.87 5.87 0 002.34-.93H13zM13 16.65h4.2a5.68 5.68 0 00.46-1H13zM13 12.65v1h5a5.63 5.63 0 00-.09-1z" fill="none"/>
1385
+ <path d="M19.93 12.66a7.84 7.84 0 00-.51-2 8.48 8.48 0 00-.5-1A7.8 7.8 0 0017.66 8l-.35-.36-.31-.26-.73-.73-2-2-.85-.84L12 2.34 6.34 8A8 8 0 0011 21.58h.21a7 7 0 00.79 0 7.14 7.14 0 00.8 0h.2a7.94 7.94 0 006.93-8.92zM11 19.58A6 6 0 017.76 9.42L11 6.18zm2-12.93v-.47l.48.47 1 1H13zm0 3h3.45a6.29 6.29 0 01.74 1H13zm0 9.93v-.93h2.34a5.87 5.87 0 01-2.34.93zm4.2-2.93H13v-1h4.66a5.68 5.68 0 01-.46 1zm-4.2-3v-1h4.91a5.63 5.63 0 01.09 1z"/>
1386
+ <path d="M0 0h24v24H0z" fill="none"/>
1387
+ </svg>
1388
+
1365
1389
  `;
1366
- const DataBars = `
1367
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1368
- <path d="M3 7h12v2H3zM3 15h12v2H3zM3 19h18v2H3zM3 11h18v2H3zM3 3h18v2H3z"/>
1369
- <path d="M0 0h24v24H0z" fill="none"/>
1370
- </svg>
1371
-
1390
+ const DataBars = `
1391
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1392
+ <path d="M3 7h12v2H3zM3 15h12v2H3zM3 19h18v2H3zM3 11h18v2H3zM3 3h18v2H3z"/>
1393
+ <path d="M0 0h24v24H0z" fill="none"/>
1394
+ </svg>
1395
+
1372
1396
  `;
1373
- const DuplicateValues = `
1374
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1375
- <path d="M4.94 10.56a1 1 0 00-.38.79.79.79 0 00.25.63 1.06 1.06 0 00.74.24 1.9 1.9 0 001.06-.3 1.48 1.48 0 00.63-.67v-1H6a1.58 1.58 0 00-1.06.31zM16.94 14.69a1 1 0 00-.38.79.82.82 0 00.25.63 1.11 1.11 0 00.74.23 2 2 0 001.06-.29 1.5 1.5 0 00.63-.68v-1H18a1.54 1.54 0 00-1.06.32z" fill="none"/>
1376
- <path d="M4.94 10.56a1 1 0 00-.38.79.79.79 0 00.25.63 1.06 1.06 0 00.74.24 1.9 1.9 0 001.06-.3 1.48 1.48 0 00.63-.67v-1H6a1.58 1.58 0 00-1.06.31zM16.94 14.69a1 1 0 00-.38.79.82.82 0 00.25.63 1.11 1.11 0 00.74.23 2 2 0 001.06-.29 1.5 1.5 0 00.63-.68v-1H18a1.54 1.54 0 00-1.06.32z" fill="none"/>
1377
- <path d="M20.76 15.87v-3.06a2.17 2.17 0 00-.76-1.76 3 3 0 00-1.94-.61 3.06 3.06 0 00-2 .63 1.7 1.7 0 00-.73 1.45h1.49a.83.83 0 01.31-.66 1.29 1.29 0 01.84-.25 1.26 1.26 0 01.91.3 1.09 1.09 0 01.32.85v.6H18a3.81 3.81 0 00-2.22.56 1.78 1.78 0 00-.78 1.59 2 2 0 00.58 1.49 2.31 2.31 0 001.65.55 2.12 2.12 0 001.16-.33 2.79 2.79 0 00.83-.81 4.33 4.33 0 00.08.5c0 .16.08.33.13.51H21a4.29 4.29 0 01-.18-.77 5.46 5.46 0 01-.06-.78zm-1.52-.5a1.5 1.5 0 01-.63.68 2 2 0 01-1.06.29 1.11 1.11 0 01-.74-.23.82.82 0 01-.25-.63 1 1 0 01.38-.79 1.54 1.54 0 011.06-.34h1.24zM8.76 11.75V8.69A2.16 2.16 0 008 6.93a2.93 2.93 0 00-1.94-.61 3.06 3.06 0 00-2 .63 1.69 1.69 0 00-.73 1.44h1.5a.83.83 0 01.31-.65A1.3 1.3 0 016 7.52a1.23 1.23 0 01.91.31 1.07 1.07 0 01.32.84v.61H6a3.74 3.74 0 00-2.22.56A1.78 1.78 0 003 11.39a2 2 0 00.58 1.52 2.27 2.27 0 001.65.56 2.12 2.12 0 001.16-.33 2.79 2.79 0 00.83-.81 4.17 4.17 0 00.08.49 4.77 4.77 0 00.13.51H9a4 4 0 01-.18-.76 5.55 5.55 0 01-.06-.82zm-1.52-.5a1.48 1.48 0 01-.63.67 1.9 1.9 0 01-1.06.3 1.06 1.06 0 01-.74-.22.79.79 0 01-.25-.63 1 1 0 01.38-.79A1.58 1.58 0 016 10.23h1.24zM7 19h2v2H7zM7 15h2v2H7zM3 15h2v2H3zM15 7h2v2h-2zM15 3h2v2h-2zM3 19h2v2H3zM19 19h2v2h-2zM19 7h2v2h-2zM15 19h2v2h-2zM19 3h2v2h-2zM11 11h2v2h-2zM11 19h2v2h-2zM11 15h2v2h-2zM11 7h2v2h-2zM11 3h2v2h-2zM7 3h2v2H7zM3 3h2v2H3z"/>
1378
- <path d="M0 0h24v24H0z" fill="none"/>
1379
- </svg>
1380
-
1397
+ const DuplicateValues = `
1398
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1399
+ <path d="M4.94 10.56a1 1 0 00-.38.79.79.79 0 00.25.63 1.06 1.06 0 00.74.24 1.9 1.9 0 001.06-.3 1.48 1.48 0 00.63-.67v-1H6a1.58 1.58 0 00-1.06.31zM16.94 14.69a1 1 0 00-.38.79.82.82 0 00.25.63 1.11 1.11 0 00.74.23 2 2 0 001.06-.29 1.5 1.5 0 00.63-.68v-1H18a1.54 1.54 0 00-1.06.32z" fill="none"/>
1400
+ <path d="M4.94 10.56a1 1 0 00-.38.79.79.79 0 00.25.63 1.06 1.06 0 00.74.24 1.9 1.9 0 001.06-.3 1.48 1.48 0 00.63-.67v-1H6a1.58 1.58 0 00-1.06.31zM16.94 14.69a1 1 0 00-.38.79.82.82 0 00.25.63 1.11 1.11 0 00.74.23 2 2 0 001.06-.29 1.5 1.5 0 00.63-.68v-1H18a1.54 1.54 0 00-1.06.32z" fill="none"/>
1401
+ <path d="M20.76 15.87v-3.06a2.17 2.17 0 00-.76-1.76 3 3 0 00-1.94-.61 3.06 3.06 0 00-2 .63 1.7 1.7 0 00-.73 1.45h1.49a.83.83 0 01.31-.66 1.29 1.29 0 01.84-.25 1.26 1.26 0 01.91.3 1.09 1.09 0 01.32.85v.6H18a3.81 3.81 0 00-2.22.56 1.78 1.78 0 00-.78 1.59 2 2 0 00.58 1.49 2.31 2.31 0 001.65.55 2.12 2.12 0 001.16-.33 2.79 2.79 0 00.83-.81 4.33 4.33 0 00.08.5c0 .16.08.33.13.51H21a4.29 4.29 0 01-.18-.77 5.46 5.46 0 01-.06-.78zm-1.52-.5a1.5 1.5 0 01-.63.68 2 2 0 01-1.06.29 1.11 1.11 0 01-.74-.23.82.82 0 01-.25-.63 1 1 0 01.38-.79 1.54 1.54 0 011.06-.34h1.24zM8.76 11.75V8.69A2.16 2.16 0 008 6.93a2.93 2.93 0 00-1.94-.61 3.06 3.06 0 00-2 .63 1.69 1.69 0 00-.73 1.44h1.5a.83.83 0 01.31-.65A1.3 1.3 0 016 7.52a1.23 1.23 0 01.91.31 1.07 1.07 0 01.32.84v.61H6a3.74 3.74 0 00-2.22.56A1.78 1.78 0 003 11.39a2 2 0 00.58 1.52 2.27 2.27 0 001.65.56 2.12 2.12 0 001.16-.33 2.79 2.79 0 00.83-.81 4.17 4.17 0 00.08.49 4.77 4.77 0 00.13.51H9a4 4 0 01-.18-.76 5.55 5.55 0 01-.06-.82zm-1.52-.5a1.48 1.48 0 01-.63.67 1.9 1.9 0 01-1.06.3 1.06 1.06 0 01-.74-.22.79.79 0 01-.25-.63 1 1 0 01.38-.79A1.58 1.58 0 016 10.23h1.24zM7 19h2v2H7zM7 15h2v2H7zM3 15h2v2H3zM15 7h2v2h-2zM15 3h2v2h-2zM3 19h2v2H3zM19 19h2v2h-2zM19 7h2v2h-2zM15 19h2v2h-2zM19 3h2v2h-2zM11 11h2v2h-2zM11 19h2v2h-2zM11 15h2v2h-2zM11 7h2v2h-2zM11 3h2v2h-2zM7 3h2v2H7zM3 3h2v2H3z"/>
1402
+ <path d="M0 0h24v24H0z" fill="none"/>
1403
+ </svg>
1404
+
1381
1405
  `;
1382
- const Empty = `
1383
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1384
- <path d="M0 0h24v24H0z" fill="none"/>
1385
- <path d="M5 17h2v2H5zM13 17h2v2h-2zM5 13h2v2H5zM17 17h2v2h-2zM13 5h2v2h-2zM9 17h2v2H9zM17 9h2v2h-2zM17 13h2v2h-2zM17 5h2v2h-2zM5 9h2v2H5zM5 5h2v2H5zM9 5h2v2H9z"/>
1386
- <path d="M0 0h24v24H0z" fill="none"/>
1387
- </svg>
1388
-
1406
+ const Empty = `
1407
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1408
+ <path d="M0 0h24v24H0z" fill="none"/>
1409
+ <path d="M5 17h2v2H5zM13 17h2v2h-2zM5 13h2v2H5zM17 17h2v2h-2zM13 5h2v2h-2zM9 17h2v2H9zM17 9h2v2h-2zM17 13h2v2h-2zM17 5h2v2h-2zM5 9h2v2H5zM5 5h2v2H5zM9 5h2v2H9z"/>
1410
+ <path d="M0 0h24v24H0z" fill="none"/>
1411
+ </svg>
1412
+
1389
1413
  `;
1390
- const Equal = `
1391
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1392
- <path d="M5 13.5h14v2H5zM5 8.5h14v2H5z"/>
1393
- </svg>
1394
-
1414
+ const Equal = `
1415
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1416
+ <path d="M5 13.5h14v2H5zM5 8.5h14v2H5z"/>
1417
+ </svg>
1418
+
1395
1419
  `;
1396
- const GreaterThan = `
1397
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1398
- <path d="M6 7.11L15.09 12 6 16.89V19l12-6.46v-1.08L6 5v2.11z"/>
1399
- </svg>
1400
-
1420
+ const GreaterThan = `
1421
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1422
+ <path d="M6 7.11L15.09 12 6 16.89V19l12-6.46v-1.08L6 5v2.11z"/>
1423
+ </svg>
1424
+
1401
1425
  `;
1402
- const TextContains = `
1403
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1404
- <path d="M10.79 12.77a1.16 1.16 0 00-.44.9.92.92 0 00.3.72 1.18 1.18 0 00.84.27 2.27 2.27 0 001.21-.34 1.61 1.61 0 00.71-.77v-1.17H12a1.76 1.76 0 00-1.21.39z" fill="none"/>
1405
- <path d="M5 19h14V5H5zm8-9.36a1.45 1.45 0 00-1-.35 1.5 1.5 0 00-1 .29.93.93 0 00-.35.75H9a1.93 1.93 0 01.83-1.65 3.54 3.54 0 012.3-.72 3.34 3.34 0 012.22.7 2.44 2.44 0 01.84 2v3.5a5.57 5.57 0 00.07.93 4.51 4.51 0 00.21.88h-1.83c-.06-.2-.12-.39-.16-.58a3.72 3.72 0 01-.08-.57 3.05 3.05 0 01-1 .93 2.39 2.39 0 01-1.32.37 2.63 2.63 0 01-1.89-.63 2.29 2.29 0 01-.66-1.74 2.07 2.07 0 01.9-1.78A4.39 4.39 0 0112 11.3h1.38v-.69a1.3 1.3 0 00-.38-.97z" fill="none"/>
1406
- <path d="M3 3v18h18V3zm16 16H5V5h14z"/>
1407
- <path d="M12 11.3a4.39 4.39 0 00-2.54.63 2.07 2.07 0 00-.9 1.78 2.29 2.29 0 00.66 1.74 2.63 2.63 0 001.89.63 2.39 2.39 0 001.32-.37 3.05 3.05 0 001-.93 3.72 3.72 0 00.08.57c0 .19.1.38.16.58h1.79a4.51 4.51 0 01-.21-.88 5.57 5.57 0 01-.07-.93v-3.5a2.44 2.44 0 00-.84-2 3.34 3.34 0 00-2.22-.7 3.54 3.54 0 00-2.3.72A1.93 1.93 0 009 10.29h1.71a.93.93 0 01.29-.71 1.5 1.5 0 011-.29 1.45 1.45 0 011 .35 1.3 1.3 0 01.37 1v.69zm1.4 1.08v1.17a1.61 1.61 0 01-.71.77 2.27 2.27 0 01-1.21.34 1.18 1.18 0 01-.84-.27.92.92 0 01-.3-.72 1.16 1.16 0 01.44-.9 1.76 1.76 0 011.22-.39z"/>
1408
- <path d="M0 0h24v24H0z" fill="none"/>
1409
- </svg>
1410
-
1426
+ const TextContains = `
1427
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1428
+ <path d="M10.79 12.77a1.16 1.16 0 00-.44.9.92.92 0 00.3.72 1.18 1.18 0 00.84.27 2.27 2.27 0 001.21-.34 1.61 1.61 0 00.71-.77v-1.17H12a1.76 1.76 0 00-1.21.39z" fill="none"/>
1429
+ <path d="M5 19h14V5H5zm8-9.36a1.45 1.45 0 00-1-.35 1.5 1.5 0 00-1 .29.93.93 0 00-.35.75H9a1.93 1.93 0 01.83-1.65 3.54 3.54 0 012.3-.72 3.34 3.34 0 012.22.7 2.44 2.44 0 01.84 2v3.5a5.57 5.57 0 00.07.93 4.51 4.51 0 00.21.88h-1.83c-.06-.2-.12-.39-.16-.58a3.72 3.72 0 01-.08-.57 3.05 3.05 0 01-1 .93 2.39 2.39 0 01-1.32.37 2.63 2.63 0 01-1.89-.63 2.29 2.29 0 01-.66-1.74 2.07 2.07 0 01.9-1.78A4.39 4.39 0 0112 11.3h1.38v-.69a1.3 1.3 0 00-.38-.97z" fill="none"/>
1430
+ <path d="M3 3v18h18V3zm16 16H5V5h14z"/>
1431
+ <path d="M12 11.3a4.39 4.39 0 00-2.54.63 2.07 2.07 0 00-.9 1.78 2.29 2.29 0 00.66 1.74 2.63 2.63 0 001.89.63 2.39 2.39 0 001.32-.37 3.05 3.05 0 001-.93 3.72 3.72 0 00.08.57c0 .19.1.38.16.58h1.79a4.51 4.51 0 01-.21-.88 5.57 5.57 0 01-.07-.93v-3.5a2.44 2.44 0 00-.84-2 3.34 3.34 0 00-2.22-.7 3.54 3.54 0 00-2.3.72A1.93 1.93 0 009 10.29h1.71a.93.93 0 01.29-.71 1.5 1.5 0 011-.29 1.45 1.45 0 011 .35 1.3 1.3 0 01.37 1v.69zm1.4 1.08v1.17a1.61 1.61 0 01-.71.77 2.27 2.27 0 01-1.21.34 1.18 1.18 0 01-.84-.27.92.92 0 01-.3-.72 1.16 1.16 0 01.44-.9 1.76 1.76 0 011.22-.39z"/>
1432
+ <path d="M0 0h24v24H0z" fill="none"/>
1433
+ </svg>
1434
+
1411
1435
  `;
1412
- const Top10 = `
1413
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1414
- <path d="M17.34 7.14a.5.5 0 00-.13.33v.33a.48.48 0 00.13.33.41.41 0 00.31.14.37.37 0 00.42-.37v-.41a.49.49 0 00-.07-.34.45.45 0 00-.62 0zM10.84 8a.54.54 0 00.51-.3 2.05 2.05 0 00.17-.92V5.3a2 2 0 00-.17-.94.6.6 0 00-1 0 2.13 2.13 0 00-.17.88V6.7a2.14 2.14 0 00.17 1 .55.55 0 00.49.3zM14.88 5c.28 0 .42-.18.42-.53v-.26a.53.53 0 00-.11-.34.4.4 0 00-.32-.14.42.42 0 00-.31.13.52.52 0 00-.12.36v.29a.49.49 0 00.12.34.39.39 0 00.32.15z" fill="none"/>
1415
- <path d="M9 18h2v3h2v-3h2l-3-3-3 3zM4 11h16v2H4zM6.38 8.92h1.36V3.08h-.12l-2.57.89V5l1.33-.39v4.31zM10.84 9a1.85 1.85 0 001.5-.64 2.82 2.82 0 00.53-1.82V5.47a2.76 2.76 0 00-.54-1.82 1.83 1.83 0 00-1.5-.65 1.83 1.83 0 00-1.5.65 2.78 2.78 0 00-.53 1.82v1.07a2.79 2.79 0 00.53 1.81 1.86 1.86 0 001.51.65zm-.69-3.79a2.13 2.13 0 01.17-.88.6.6 0 011 0 2 2 0 01.17.94v1.47a2.05 2.05 0 01-.17.92.59.59 0 01-1 0 2.14 2.14 0 01-.17-1zM14.88 5.71a1.31 1.31 0 00.94-.33 1.11 1.11 0 00.35-.86v-.29a1.19 1.19 0 00-.35-.9 1.32 1.32 0 00-1-.33 1.34 1.34 0 00-.95.33 1.17 1.17 0 00-.35.88v.28a1.16 1.16 0 00.36.9 1.4 1.4 0 001 .32zm-.44-1.49a.52.52 0 01.12-.36.42.42 0 01.31-.13.4.4 0 01.32.14.53.53 0 01.11.34v.24c0 .35-.14.53-.42.53a.39.39 0 01-.32-.13.49.49 0 01-.12-.34zM15.13 8.48l2.85-4.56-.62-.32-2.85 4.57.62.31zM16.7 6.62a1.1 1.1 0 00-.35.87v.29a1.12 1.12 0 00.35.89 1.36 1.36 0 00.95.33 1.32 1.32 0 001-.33A1.15 1.15 0 0019 7.8v-.28a1.17 1.17 0 00-.36-.91 1.54 1.54 0 00-1.89 0zm1.38.87v.41a.37.37 0 01-.42.37.41.41 0 01-.31-.14.48.48 0 01-.13-.33v-.33a.5.5 0 01.13-.33.45.45 0 01.62 0 .49.49 0 01.11.35z"/>
1416
- <path d="M0 0h24v24H0z" fill="none"/>
1417
- </svg>
1418
-
1436
+ const Top10 = `
1437
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1438
+ <path d="M17.34 7.14a.5.5 0 00-.13.33v.33a.48.48 0 00.13.33.41.41 0 00.31.14.37.37 0 00.42-.37v-.41a.49.49 0 00-.07-.34.45.45 0 00-.62 0zM10.84 8a.54.54 0 00.51-.3 2.05 2.05 0 00.17-.92V5.3a2 2 0 00-.17-.94.6.6 0 00-1 0 2.13 2.13 0 00-.17.88V6.7a2.14 2.14 0 00.17 1 .55.55 0 00.49.3zM14.88 5c.28 0 .42-.18.42-.53v-.26a.53.53 0 00-.11-.34.4.4 0 00-.32-.14.42.42 0 00-.31.13.52.52 0 00-.12.36v.29a.49.49 0 00.12.34.39.39 0 00.32.15z" fill="none"/>
1439
+ <path d="M9 18h2v3h2v-3h2l-3-3-3 3zM4 11h16v2H4zM6.38 8.92h1.36V3.08h-.12l-2.57.89V5l1.33-.39v4.31zM10.84 9a1.85 1.85 0 001.5-.64 2.82 2.82 0 00.53-1.82V5.47a2.76 2.76 0 00-.54-1.82 1.83 1.83 0 00-1.5-.65 1.83 1.83 0 00-1.5.65 2.78 2.78 0 00-.53 1.82v1.07a2.79 2.79 0 00.53 1.81 1.86 1.86 0 001.51.65zm-.69-3.79a2.13 2.13 0 01.17-.88.6.6 0 011 0 2 2 0 01.17.94v1.47a2.05 2.05 0 01-.17.92.59.59 0 01-1 0 2.14 2.14 0 01-.17-1zM14.88 5.71a1.31 1.31 0 00.94-.33 1.11 1.11 0 00.35-.86v-.29a1.19 1.19 0 00-.35-.9 1.32 1.32 0 00-1-.33 1.34 1.34 0 00-.95.33 1.17 1.17 0 00-.35.88v.28a1.16 1.16 0 00.36.9 1.4 1.4 0 001 .32zm-.44-1.49a.52.52 0 01.12-.36.42.42 0 01.31-.13.4.4 0 01.32.14.53.53 0 01.11.34v.24c0 .35-.14.53-.42.53a.39.39 0 01-.32-.13.49.49 0 01-.12-.34zM15.13 8.48l2.85-4.56-.62-.32-2.85 4.57.62.31zM16.7 6.62a1.1 1.1 0 00-.35.87v.29a1.12 1.12 0 00.35.89 1.36 1.36 0 00.95.33 1.32 1.32 0 001-.33A1.15 1.15 0 0019 7.8v-.28a1.17 1.17 0 00-.36-.91 1.54 1.54 0 00-1.89 0zm1.38.87v.41a.37.37 0 01-.42.37.41.41 0 01-.31-.14.48.48 0 01-.13-.33v-.33a.5.5 0 01.13-.33.45.45 0 01.62 0 .49.49 0 01.11.35z"/>
1440
+ <path d="M0 0h24v24H0z" fill="none"/>
1441
+ </svg>
1442
+
1419
1443
  `;
1420
- const UniqueValues = `
1421
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1422
- <path d="M0 0h24v24H0z" fill="none"/>
1423
- <path d="M8.94 10.56a1 1 0 00-.38.79.79.79 0 00.25.63 1.06 1.06 0 00.74.24 1.9 1.9 0 001.06-.3 1.48 1.48 0 00.63-.67v-1H10a1.58 1.58 0 00-1.06.31z" fill="none"/>
1424
- <path d="M8.94 10.56a1 1 0 00-.38.79.79.79 0 00.25.63 1.06 1.06 0 00.74.24 1.9 1.9 0 001.06-.3 1.48 1.48 0 00.63-.67v-1H10a1.58 1.58 0 00-1.06.31z" fill="none"/>
1425
- <path d="M12.76 11.75V8.69A2.16 2.16 0 0012 6.93a2.93 2.93 0 00-1.94-.61 3.06 3.06 0 00-2 .63 1.69 1.69 0 00-.73 1.44h1.5a.83.83 0 01.31-.65 1.3 1.3 0 01.86-.22 1.23 1.23 0 01.91.31 1.07 1.07 0 01.32.84v.61H10a3.74 3.74 0 00-2.22.56A1.78 1.78 0 007 11.39a2 2 0 00.58 1.52 2.27 2.27 0 001.65.56 2.12 2.12 0 001.16-.33 2.79 2.79 0 00.83-.81 4.17 4.17 0 00.08.49 4.77 4.77 0 00.13.51H13a4 4 0 01-.18-.76 5.55 5.55 0 01-.06-.82zm-1.52-.5a1.48 1.48 0 01-.63.67 1.9 1.9 0 01-1.06.3 1.06 1.06 0 01-.74-.22.79.79 0 01-.25-.63 1 1 0 01.38-.79 1.58 1.58 0 011.06-.35h1.24zM7 19h2v2H7zM7 15h2v2H7zM3 15h2v2H3zM15 7h2v2h-2zM15 3h2v2h-2zM3 19h2v2H3zM19 19h2v2h-2zM19 7h2v2h-2zM15 19h2v2h-2zM19 3h2v2h-2zM15 11h2v2h-2zM19 11h2v2h-2zM15 15h2v2h-2zM19 15h2v2h-2zM11 19h2v2h-2zM11 15h2v2h-2zM11 3h2v2h-2zM7 3h2v2H7zM3 3h2v2H3zM3 7h2v2H3zM3 11h2v2H3z"/>
1426
- <path d="M0 0h24v24H0z" fill="none"/>
1427
- <path d="M0 0h24v24H0z" fill="none"/>
1428
- </svg>
1429
-
1444
+ const UniqueValues = `
1445
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1446
+ <path d="M0 0h24v24H0z" fill="none"/>
1447
+ <path d="M8.94 10.56a1 1 0 00-.38.79.79.79 0 00.25.63 1.06 1.06 0 00.74.24 1.9 1.9 0 001.06-.3 1.48 1.48 0 00.63-.67v-1H10a1.58 1.58 0 00-1.06.31z" fill="none"/>
1448
+ <path d="M8.94 10.56a1 1 0 00-.38.79.79.79 0 00.25.63 1.06 1.06 0 00.74.24 1.9 1.9 0 001.06-.3 1.48 1.48 0 00.63-.67v-1H10a1.58 1.58 0 00-1.06.31z" fill="none"/>
1449
+ <path d="M12.76 11.75V8.69A2.16 2.16 0 0012 6.93a2.93 2.93 0 00-1.94-.61 3.06 3.06 0 00-2 .63 1.69 1.69 0 00-.73 1.44h1.5a.83.83 0 01.31-.65 1.3 1.3 0 01.86-.22 1.23 1.23 0 01.91.31 1.07 1.07 0 01.32.84v.61H10a3.74 3.74 0 00-2.22.56A1.78 1.78 0 007 11.39a2 2 0 00.58 1.52 2.27 2.27 0 001.65.56 2.12 2.12 0 001.16-.33 2.79 2.79 0 00.83-.81 4.17 4.17 0 00.08.49 4.77 4.77 0 00.13.51H13a4 4 0 01-.18-.76 5.55 5.55 0 01-.06-.82zm-1.52-.5a1.48 1.48 0 01-.63.67 1.9 1.9 0 01-1.06.3 1.06 1.06 0 01-.74-.22.79.79 0 01-.25-.63 1 1 0 01.38-.79 1.58 1.58 0 011.06-.35h1.24zM7 19h2v2H7zM7 15h2v2H7zM3 15h2v2H3zM15 7h2v2h-2zM15 3h2v2h-2zM3 19h2v2H3zM19 19h2v2h-2zM19 7h2v2h-2zM15 19h2v2h-2zM19 3h2v2h-2zM15 11h2v2h-2zM19 11h2v2h-2zM15 15h2v2h-2zM19 15h2v2h-2zM11 19h2v2h-2zM11 15h2v2h-2zM11 3h2v2h-2zM7 3h2v2H7zM3 3h2v2H3zM3 7h2v2H3zM3 11h2v2H3z"/>
1450
+ <path d="M0 0h24v24H0z" fill="none"/>
1451
+ <path d="M0 0h24v24H0z" fill="none"/>
1452
+ </svg>
1453
+
1430
1454
  `;
1431
1455
 
1432
1456
  var conditions = /*#__PURE__*/Object.freeze({
@@ -1444,8 +1468,7 @@ var conditions = /*#__PURE__*/Object.freeze({
1444
1468
  });
1445
1469
 
1446
1470
  class IgxContextMenuComponent {
1447
- constructor(overlayService) {
1448
- this.overlayService = overlayService;
1471
+ constructor() {
1449
1472
  this.chartTypes = [];
1450
1473
  this.textFormatters = [];
1451
1474
  this.displayCreationTab = true;
@@ -1479,6 +1502,7 @@ class IgxContextMenuComponent {
1479
1502
  closeAnimation: null,
1480
1503
  }),
1481
1504
  };
1505
+ this.overlayService = inject(IgxOverlayService);
1482
1506
  this.chartImages = charts;
1483
1507
  this.conditionImages = conditions;
1484
1508
  }
@@ -1487,14 +1511,14 @@ class IgxContextMenuComponent {
1487
1511
  this.textFormatters = this.contextDirective.formatters;
1488
1512
  this.displayCreationTab = this.contextDirective.displayCreationTab;
1489
1513
  if (this.contextDirective.chartsDirective) {
1490
- this.contextDirective.chartsDirective.onChartTypesDetermined.pipe(takeUntil(this.destroy$))
1514
+ this.contextDirective.chartsDirective.chartTypesDetermined.pipe(takeUntil(this.destroy$))
1491
1515
  .subscribe((args) => (this.chartTypes = args.chartsForCreation));
1492
1516
  }
1493
1517
  if (this.contextDirective.textFormatter) {
1494
- this.contextDirective.textFormatter.onFormattersReady.pipe(takeUntil(this.destroy$))
1518
+ this.contextDirective.textFormatter.formattersReady.pipe(takeUntil(this.destroy$))
1495
1519
  .subscribe((names) => (this.textFormatters = names));
1496
1520
  }
1497
- this.contextDirective.onButtonClose.pipe(takeUntil(this.destroy$))
1521
+ this.contextDirective.buttonClose.pipe(takeUntil(this.destroy$))
1498
1522
  .subscribe(() => {
1499
1523
  if (this.tabsMenu && !this.tabsMenu.collapsed) {
1500
1524
  this.tabsMenu.close();
@@ -1532,7 +1556,7 @@ class IgxContextMenuComponent {
1532
1556
  }
1533
1557
  }
1534
1558
  });
1535
- instance.onClose?.subscribe(() => this.closeDialog());
1559
+ instance.closed?.subscribe(() => this.closeDialog());
1536
1560
  }
1537
1561
  });
1538
1562
  this.overlayService.closing.pipe(takeUntil(this.destroy$))
@@ -1549,9 +1573,14 @@ class IgxContextMenuComponent {
1549
1573
  this.destroy$.complete();
1550
1574
  }
1551
1575
  toggleTabMenu() {
1552
- this.currentChartType = this.currentChartType || CHART_TYPE.COLUMN_GROUPED;
1576
+ this.currentChartType = this.currentChartType || CHART_TYPE.ColumnGrouped;
1553
1577
  this._tabsMenuOverlaySettings.target = this.button.nativeElement;
1554
- this.tabsMenu.collapsed ? this.tabsMenu.open(this._tabsMenuOverlaySettings) : this.tabsMenu.close();
1578
+ if (this.tabsMenu.collapsed) {
1579
+ this.tabsMenu.open(this._tabsMenuOverlaySettings);
1580
+ }
1581
+ else {
1582
+ this.tabsMenu.close();
1583
+ }
1555
1584
  }
1556
1585
  formatCells(condition) {
1557
1586
  this.currentFormatter = condition;
@@ -1573,7 +1602,7 @@ class IgxContextMenuComponent {
1573
1602
  }
1574
1603
  openDialog(type) {
1575
1604
  this.currentChartType =
1576
- type || this.currentChartType || CHART_TYPE.COLUMN_GROUPED;
1605
+ type || this.currentChartType || CHART_TYPE.ColumnGrouped;
1577
1606
  this._dialogId = this._dialogId || this.overlayService.attach(IgxChartMenuComponent, this._chartDialogOS);
1578
1607
  this.tabsMenu.close();
1579
1608
  this.overlayService.show(this._dialogId);
@@ -1586,10 +1615,10 @@ class IgxContextMenuComponent {
1586
1615
  this._dialogId = undefined;
1587
1616
  }
1588
1617
  }
1589
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: IgxContextMenuComponent, deps: [{ token: i1$3.IgxOverlayService }], target: i0.ɵɵFactoryTarget.Component }); }
1590
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.3", type: IgxContextMenuComponent, isStandalone: true, selector: "igx-context-menu", viewQueries: [{ propertyName: "button", first: true, predicate: ["analyticsBtn"], descendants: true }, { propertyName: "tabsMenu", first: true, predicate: ["tabsMenu"], descendants: true, read: IgxToggleDirective }, { propertyName: "chartPreview", first: true, predicate: ["chartPreview"], descendants: true, read: ViewContainerRef }, { propertyName: "chartPreviewDialog", first: true, predicate: ["chartPreviewDialog"], descendants: true, read: IgxToggleDirective }, { propertyName: "tabs", first: true, predicate: IgxTabsComponent, descendants: true }], ngImport: i0, template: "<span #analyticsBtn class=\"analytics-btn\">\r\n <button #btn class=\"analytics-button\" igxIconButton=\"flat\" (click)=\"toggleTabMenu()\">\r\n <igx-icon #icon class=\"icon\" family=\"material\">insert_chart_outlined</igx-icon>\r\n </button>\r\n</span>\r\n<div #tabsMenu igxToggle class=\"toggle-content ig-scrollbar\">\r\n <igx-tabs tabsType=\"fixed\" [selectedIndex]=\"!this.textFormatters.length && chartTypes.length ? 1 : 0\">\r\n <igx-tab-item [disabled]=\"!textFormatters.length\">\r\n <igx-tab-header>\r\n <span igxTabHeaderLabel>Conditional Formatting</span>\r\n </igx-tab-header>\r\n <igx-tab-content>\r\n <igc-trial-watermark></igc-trial-watermark>\r\n <div class=\"tabs\">\r\n <span class=\"tab-option\">\r\n @for (condition of textFormatters; track condition) {\r\n <span class=\"action btn condition\"\r\n [ngClass]=\"{'selected--condition': condition === currentFormatter}\"\r\n (click)=\"formatCells(condition)\">\r\n <div class=\"imgSize\" [innerHTML]=\"conditionImages[condition.replace(' ', '')] | svg\">\r\n </div>\r\n <span class=\"name\">{{condition.replace('10', '10%')}}</span>\r\n </span>\r\n }\r\n </span>\r\n <span class=\"clear action\"\r\n [ngClass]=\"{'disableButton': contextDirective.textFormatter ? !contextDirective.textFormatter.formatter : true }\"\r\n (click)=\"clearFormat()\">\r\n <div class=\"imgSize\" [innerHTML]=\"conditionImages['Clear'] | svg\">\r\n </div>\r\n <span class=\"btn name\">Clear All</span>\r\n </span>\r\n </div>\r\n </igx-tab-content>\r\n </igx-tab-item>\r\n @if (displayCreationTab) {\r\n <igx-tab-item [disabled]=\"!chartTypes.length\">\r\n <igx-tab-header>\r\n <span igxTabHeaderLabel>Create Chart</span>\r\n </igx-tab-header>\r\n <igx-tab-content>\r\n <igc-trial-watermark></igc-trial-watermark>\r\n <div class=\"tabs\">\r\n <span class=\"tab-option\">\r\n @for (chart of chartTypes | slice:0:4; track chart) {\r\n <span class=\"action btn chart\"\r\n [ngClass]=\"{'selected': chart === currentChartType}\" (mouseenter)=\"previewChart(chart)\"\r\n (mouseleave)=\"hidePreview()\" (click)=\"openDialog(chart)\">\r\n <span [innerHTML]=\"chartImages[chart] | svg\" class=\"imgSize\">\r\n </span>\r\n <span class=\"name\">{{chart}}</span>\r\n </span>\r\n }\r\n </span>\r\n <span class=\"more-action chart\" [ngClass]=\"{'disableButton': !chartTypes.length}\"\r\n (click)=\"openDialog()\">\r\n <button class=\"more-btn more-icon\" igxIconButton=\"flat\" [style.--background]=\"'#EBEBEB'\"\r\n [style.--foreground]=\"'black'\">\r\n <igx-icon class=\"icon\" family=\"material\">more_horiz</igx-icon>\r\n </button>\r\n <span class=\"name btn\">More...</span>\r\n </span>\r\n </div>\r\n </igx-tab-content>\r\n </igx-tab-item>\r\n }\r\n </igx-tabs>\r\n</div>\r\n<div igxToggle #chartPreviewDialog class=\"chart-preview\">\r\n <div class=\"chart-preview-title\">\r\n <h5>Preview Chart</h5>\r\n </div>\r\n <div class=\"chart-preview-area\">\r\n <ng-template #chartPreview></ng-template>\r\n </div>\r\n</div>", styles: [":host ::ng-deep .analytics-button{--ig-size: var(--ig-size-small)}.disableButton{opacity:.4;pointer-events:none}.clear,.more-action{display:flex;flex-flow:column;justify-content:center;border-left:1px solid #bdbdbd}.clear .btn,.clear .more-btn,.more-action .btn,.more-action .more-btn{width:68px;margin:0 0 7px;padding:0}.clear .more-btn,.more-action .more-btn{width:36px;height:36px;align-self:center;border-radius:20px}.clear .name,.more-action .name{font-size:.9rem;font-weight:400;text-align:center}.icon{pointer-events:none}.btn.condition{padding-right:16px}.btn.chart{padding-right:24px}.btn{display:inline-flex;flex-flow:column;align-items:center}.btn img,.btn span{pointer-events:none}.chart-preview{width:350px;height:300px;background-color:#fff;overflow:hidden}.chart-preview .chart-preview-title{margin:1rem;justify-content:center}.chart-preview .chart-preview-area{height:270px}::ng-deep .toggle-content,::ng-deep .toggle-content .ig-scrollbar{--sb-size: var(--ig-scrollbar-sb-size, 1rem);--sb-thumb-min-height: var(--ig-scrollbar-sb-thumb-min-height, 2rem);--sb-thumb-bg-color: var(--ig-scrollbar-sb-thumb-bg-color, var(--ig-gray-400));--sb-thumb-bg-color-hover: var(--ig-scrollbar-sb-thumb-bg-color-hover, var(--ig-gray-400));--sb-thumb-border-color: var(--ig-scrollbar-sb-thumb-border-color, transparent);--sb-thumb-border-size: var(--ig-scrollbar-sb-thumb-border-size, 0);--sb-thumb-border-radius: var(--ig-scrollbar-sb-thumb-border-radius, 0);--sb-track-bg-color: var(--ig-scrollbar-sb-track-bg-color, var(--ig-gray-100));--sb-track-bg-color-hover: var(--ig-scrollbar-sb-track-bg-color-hover, var(--ig-gray-100));--sb-track-border-color: var(--ig-scrollbar-sb-track-border-color, transparent);--sb-track-border-size: var(--ig-scrollbar-sb-track-border-size, 0);--sb-corner-bg: var(--ig-scrollbar-sb-corner-bg, var(--ig-gray-100));--sb-corner-border-color: var(--ig-scrollbar-sb-corner-border-color, transparent);--sb-corner-border-size: var(--ig-scrollbar-sb-corner-border-size, 0);--ig-theme: material}@-moz-document url-prefix(){}::ng-deep .toggle-content{width:354px;max-width:358px;height:148px;background-color:#fff}::ng-deep .toggle-content .tabs{display:flex!important;border:.2px solid;border-color:#d3d3d3}::ng-deep .toggle-content .tab-option{padding:.9rem;height:100px;width:358px;display:inline-flex;overflow-x:auto;overflow-y:hidden;white-space:nowrap;align-content:center}::ng-deep .toggle-content .tab-option .chartImgButton{width:48px;height:48px}::ng-deep .toggle-content .tab-option .imgSize,::ng-deep .toggle-content .clear.action .imgSize{width:36px;height:36px;align-self:center}::ng-deep .toggle-content .action{cursor:pointer;opacity:1}::ng-deep .toggle-content .action.selected{opacity:.62}::ng-deep .toggle-content .action.selected--condition{pointer-events:none;opacity:.62}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: IgxToggleDirective, selector: "[igxToggle]", inputs: ["id"], outputs: ["opened", "opening", "closed", "closing", "appended"], exportAs: ["toggle"] }, { kind: "component", type: IgxIconComponent, selector: "igx-icon", inputs: ["ariaHidden", "family", "name", "active"] }, { kind: "component", type: IgxTabsComponent, selector: "igx-tabs", inputs: ["tabAlignment", "activation"] }, { kind: "component", type: IgxTabItemComponent, selector: "igx-tab-item" }, { kind: "component", type: IgxTabHeaderComponent, selector: "igx-tab-header" }, { kind: "component", type: IgxTabContentComponent, selector: "igx-tab-content" }, { kind: "directive", type: IgxTabHeaderLabelDirective, selector: "igx-tab-header-label,[igxTabHeaderLabel]" }, { kind: "ngmodule", type: IgxBarSeriesModule }, { kind: "ngmodule", type: IgxCategoryChartModule }, { kind: "ngmodule", type: IgxCategoryXAxisModule }, { kind: "ngmodule", type: IgxDataChartCategoryModule }, { kind: "ngmodule", type: IgxDataChartCoreModule }, { kind: "ngmodule", type: IgxDataChartInteractivityModule }, { kind: "ngmodule", type: IgxDataChartScatterModule }, { kind: "ngmodule", type: IgxDataChartStackedModule }, { kind: "ngmodule", type: IgxItemLegendModule }, { kind: "ngmodule", type: IgxLegendModule }, { kind: "ngmodule", type: IgxNumericXAxisModule }, { kind: "ngmodule", type: IgxNumericYAxisModule }, { kind: "directive", type: IgxIconButtonDirective, selector: "[igxIconButton]", inputs: ["igxIconButton"] }, { kind: "pipe", type: i1$2.SlicePipe, name: "slice" }, { kind: "pipe", type: SvgPipe, name: "svg" }] }); }
1618
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxContextMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1619
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: IgxContextMenuComponent, isStandalone: true, selector: "igx-context-menu", viewQueries: [{ propertyName: "button", first: true, predicate: ["analyticsBtn"], descendants: true }, { propertyName: "tabsMenu", first: true, predicate: ["tabsMenu"], descendants: true, read: IgxToggleDirective }, { propertyName: "chartPreview", first: true, predicate: ["chartPreview"], descendants: true, read: ViewContainerRef }, { propertyName: "chartPreviewDialog", first: true, predicate: ["chartPreviewDialog"], descendants: true, read: IgxToggleDirective }, { propertyName: "tabs", first: true, predicate: IgxTabsComponent, descendants: true }], ngImport: i0, template: "<span #analyticsBtn class=\"analytics-btn\">\n <button #btn class=\"analytics-button\" igxIconButton=\"flat\" (click)=\"toggleTabMenu()\">\n <igx-icon #icon class=\"icon\" family=\"material\">insert_chart_outlined</igx-icon>\n </button>\n</span>\n<div #tabsMenu igxToggle class=\"toggle-content ig-scrollbar\">\n <igx-tabs tabsType=\"fixed\" [selectedIndex]=\"!this.textFormatters.length && chartTypes.length ? 1 : 0\">\n <igx-tab-item [disabled]=\"!textFormatters.length\">\n <igx-tab-header>\n <span igxTabHeaderLabel>Conditional Formatting</span>\n </igx-tab-header>\n <igx-tab-content>\n <igc-trial-watermark></igc-trial-watermark>\n <div class=\"tabs\">\n <span class=\"tab-option\">\n @for (condition of textFormatters; track condition) {\n <span class=\"action btn condition\"\n [ngClass]=\"{'selected--condition': condition === currentFormatter}\"\n (click)=\"formatCells(condition)\">\n <div class=\"imgSize\" [innerHTML]=\"conditionImages[condition.replace(' ', '')] | svg\">\n </div>\n <span class=\"name\">{{condition.replace('10', '10%')}}</span>\n </span>\n }\n </span>\n <span class=\"clear action\"\n [ngClass]=\"{'disableButton': contextDirective.textFormatter ? !contextDirective.textFormatter.formatter : true }\"\n (click)=\"clearFormat()\">\n <div class=\"imgSize\" [innerHTML]=\"conditionImages['Clear'] | svg\">\n </div>\n <span class=\"btn name\">Clear All</span>\n </span>\n </div>\n </igx-tab-content>\n </igx-tab-item>\n @if (displayCreationTab) {\n <igx-tab-item [disabled]=\"!chartTypes.length\">\n <igx-tab-header>\n <span igxTabHeaderLabel>Create Chart</span>\n </igx-tab-header>\n <igx-tab-content>\n <igc-trial-watermark></igc-trial-watermark>\n <div class=\"tabs\">\n <span class=\"tab-option\">\n @for (chart of chartTypes | slice:0:4; track chart) {\n <span class=\"action btn chart\"\n [ngClass]=\"{'selected': chart === currentChartType}\" (mouseenter)=\"previewChart(chart)\"\n (mouseleave)=\"hidePreview()\" (click)=\"openDialog(chart)\">\n <span [innerHTML]=\"chartImages[chart] | svg\" class=\"imgSize\">\n </span>\n <span class=\"name\">{{chart}}</span>\n </span>\n }\n </span>\n <span class=\"more-action chart\" [ngClass]=\"{'disableButton': !chartTypes.length}\"\n (click)=\"openDialog()\">\n <button class=\"more-btn more-icon\" igxIconButton=\"flat\" [style.--background]=\"'#EBEBEB'\"\n [style.--foreground]=\"'black'\">\n <igx-icon class=\"icon\" family=\"material\">more_horiz</igx-icon>\n </button>\n <span class=\"name btn\">More...</span>\n </span>\n </div>\n </igx-tab-content>\n </igx-tab-item>\n }\n </igx-tabs>\n</div>\n<div igxToggle #chartPreviewDialog class=\"chart-preview\">\n <div class=\"chart-preview-title\">\n <h5>Preview Chart</h5>\n </div>\n <div class=\"chart-preview-area\">\n <ng-template #chartPreview></ng-template>\n </div>\n</div>", styles: [":host ::ng-deep .analytics-button{--ig-size: var(--ig-size-small)}.disableButton{opacity:.4;pointer-events:none}.clear,.more-action{display:flex;flex-flow:column;justify-content:center;border-left:1px solid #bdbdbd}.clear .btn,.clear .more-btn,.more-action .btn,.more-action .more-btn{width:68px;margin:0 0 7px;padding:0}.clear .more-btn,.more-action .more-btn{width:36px;height:36px;align-self:center;border-radius:20px}.clear .name,.more-action .name{font-size:.9rem;font-weight:400;text-align:center}.icon{pointer-events:none}.btn.condition{padding-right:16px}.btn.chart{padding-right:24px}.btn{display:inline-flex;flex-flow:column;align-items:center}.btn img,.btn span{pointer-events:none}.chart-preview{width:350px;height:300px;background-color:#fff;overflow:hidden}.chart-preview .chart-preview-title{margin:1rem;justify-content:center}.chart-preview .chart-preview-area{height:270px}::ng-deep .toggle-content,::ng-deep .toggle-content .ig-scrollbar{--sb-size: var(--igx-scrollbar-sb-size, var(--ig-scrollbar-sb-size, 1rem));--sb-thumb-min-height: var(--igx-scrollbar-sb-thumb-min-height, var(--ig-scrollbar-sb-thumb-min-height, 2rem));--sb-thumb-bg-color: var(--igx-scrollbar-sb-thumb-bg-color, var(--ig-scrollbar-sb-thumb-bg-color, var(--ig-gray-400)));--sb-thumb-bg-color-hover: var(--igx-scrollbar-sb-thumb-bg-color-hover, var(--ig-scrollbar-sb-thumb-bg-color-hover, var(--ig-gray-400)));--sb-thumb-border-color: var(--igx-scrollbar-sb-thumb-border-color, var(--ig-scrollbar-sb-thumb-border-color, transparent));--sb-thumb-border-size: var(--igx-scrollbar-sb-thumb-border-size, var(--ig-scrollbar-sb-thumb-border-size, 0));--sb-thumb-border-radius: var(--igx-scrollbar-sb-thumb-border-radius, var(--ig-scrollbar-sb-thumb-border-radius, 0));--sb-track-bg-color: var(--igx-scrollbar-sb-track-bg-color, var(--ig-scrollbar-sb-track-bg-color, var(--ig-gray-100)));--sb-track-bg-color-hover: var(--igx-scrollbar-sb-track-bg-color-hover, var(--ig-scrollbar-sb-track-bg-color-hover, var(--ig-gray-100)));--sb-track-border-color: var(--igx-scrollbar-sb-track-border-color, var(--ig-scrollbar-sb-track-border-color, transparent));--sb-track-border-size: var(--igx-scrollbar-sb-track-border-size, var(--ig-scrollbar-sb-track-border-size, 0));--sb-corner-bg: var(--igx-scrollbar-sb-corner-bg, var(--ig-scrollbar-sb-corner-bg, var(--ig-gray-100)));--sb-corner-border-color: var(--igx-scrollbar-sb-corner-border-color, var(--ig-scrollbar-sb-corner-border-color, transparent));--sb-corner-border-size: var(--igx-scrollbar-sb-corner-border-size, var(--ig-scrollbar-sb-corner-border-size, 0));--ig-theme: material;--ig-theme-variant: light}@-moz-document url-prefix(){}::ng-deep .toggle-content{width:354px;max-width:358px;height:148px;background-color:#fff}::ng-deep .toggle-content .tabs{display:flex!important;border:.2px solid;border-color:#d3d3d3}::ng-deep .toggle-content .tab-option{padding:.9rem;height:100px;width:358px;display:inline-flex;overflow-x:auto;overflow-y:hidden;white-space:nowrap;align-content:center}::ng-deep .toggle-content .tab-option .chartImgButton{width:48px;height:48px}::ng-deep .toggle-content .tab-option .imgSize,::ng-deep .toggle-content .clear.action .imgSize{width:36px;height:36px;align-self:center}::ng-deep .toggle-content .action{cursor:pointer;opacity:1}::ng-deep .toggle-content .action.selected{opacity:.62}::ng-deep .toggle-content .action.selected--condition{pointer-events:none;opacity:.62}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: IgxToggleDirective, selector: "[igxToggle]", inputs: ["id"], outputs: ["opened", "opening", "closed", "closing", "appended"], exportAs: ["toggle"] }, { kind: "component", type: IgxIconComponent, selector: "igx-icon", inputs: ["ariaHidden", "family", "name", "active"] }, { kind: "component", type: IgxTabsComponent, selector: "igx-tabs", inputs: ["tabAlignment", "activation"] }, { kind: "component", type: IgxTabItemComponent, selector: "igx-tab-item" }, { kind: "component", type: IgxTabHeaderComponent, selector: "igx-tab-header" }, { kind: "component", type: IgxTabContentComponent, selector: "igx-tab-content" }, { kind: "directive", type: IgxTabHeaderLabelDirective, selector: "[igxTabHeaderLabel],igx-tab-header-label" }, { kind: "ngmodule", type: IgxBarSeriesModule }, { kind: "ngmodule", type: IgxCategoryChartModule }, { kind: "ngmodule", type: IgxCategoryXAxisModule }, { kind: "ngmodule", type: IgxDataChartCategoryModule }, { kind: "ngmodule", type: IgxDataChartCoreModule }, { kind: "ngmodule", type: IgxDataChartInteractivityModule }, { kind: "ngmodule", type: IgxDataChartScatterModule }, { kind: "ngmodule", type: IgxDataChartStackedModule }, { kind: "ngmodule", type: IgxItemLegendModule }, { kind: "ngmodule", type: IgxLegendModule }, { kind: "ngmodule", type: IgxNumericXAxisModule }, { kind: "ngmodule", type: IgxNumericYAxisModule }, { kind: "directive", type: IgxIconButtonDirective, selector: "[igxIconButton]", inputs: ["igxIconButton"] }, { kind: "pipe", type: i1.SlicePipe, name: "slice" }, { kind: "pipe", type: SvgPipe, name: "svg" }] }); }
1591
1620
  }
1592
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: IgxContextMenuComponent, decorators: [{
1621
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxContextMenuComponent, decorators: [{
1593
1622
  type: Component,
1594
1623
  args: [{ selector: 'igx-context-menu', imports: [
1595
1624
  CommonModule,
@@ -1614,8 +1643,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImpor
1614
1643
  IgxNumericXAxisModule,
1615
1644
  IgxNumericYAxisModule,
1616
1645
  IgxIconButtonDirective
1617
- ], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<span #analyticsBtn class=\"analytics-btn\">\r\n <button #btn class=\"analytics-button\" igxIconButton=\"flat\" (click)=\"toggleTabMenu()\">\r\n <igx-icon #icon class=\"icon\" family=\"material\">insert_chart_outlined</igx-icon>\r\n </button>\r\n</span>\r\n<div #tabsMenu igxToggle class=\"toggle-content ig-scrollbar\">\r\n <igx-tabs tabsType=\"fixed\" [selectedIndex]=\"!this.textFormatters.length && chartTypes.length ? 1 : 0\">\r\n <igx-tab-item [disabled]=\"!textFormatters.length\">\r\n <igx-tab-header>\r\n <span igxTabHeaderLabel>Conditional Formatting</span>\r\n </igx-tab-header>\r\n <igx-tab-content>\r\n <igc-trial-watermark></igc-trial-watermark>\r\n <div class=\"tabs\">\r\n <span class=\"tab-option\">\r\n @for (condition of textFormatters; track condition) {\r\n <span class=\"action btn condition\"\r\n [ngClass]=\"{'selected--condition': condition === currentFormatter}\"\r\n (click)=\"formatCells(condition)\">\r\n <div class=\"imgSize\" [innerHTML]=\"conditionImages[condition.replace(' ', '')] | svg\">\r\n </div>\r\n <span class=\"name\">{{condition.replace('10', '10%')}}</span>\r\n </span>\r\n }\r\n </span>\r\n <span class=\"clear action\"\r\n [ngClass]=\"{'disableButton': contextDirective.textFormatter ? !contextDirective.textFormatter.formatter : true }\"\r\n (click)=\"clearFormat()\">\r\n <div class=\"imgSize\" [innerHTML]=\"conditionImages['Clear'] | svg\">\r\n </div>\r\n <span class=\"btn name\">Clear All</span>\r\n </span>\r\n </div>\r\n </igx-tab-content>\r\n </igx-tab-item>\r\n @if (displayCreationTab) {\r\n <igx-tab-item [disabled]=\"!chartTypes.length\">\r\n <igx-tab-header>\r\n <span igxTabHeaderLabel>Create Chart</span>\r\n </igx-tab-header>\r\n <igx-tab-content>\r\n <igc-trial-watermark></igc-trial-watermark>\r\n <div class=\"tabs\">\r\n <span class=\"tab-option\">\r\n @for (chart of chartTypes | slice:0:4; track chart) {\r\n <span class=\"action btn chart\"\r\n [ngClass]=\"{'selected': chart === currentChartType}\" (mouseenter)=\"previewChart(chart)\"\r\n (mouseleave)=\"hidePreview()\" (click)=\"openDialog(chart)\">\r\n <span [innerHTML]=\"chartImages[chart] | svg\" class=\"imgSize\">\r\n </span>\r\n <span class=\"name\">{{chart}}</span>\r\n </span>\r\n }\r\n </span>\r\n <span class=\"more-action chart\" [ngClass]=\"{'disableButton': !chartTypes.length}\"\r\n (click)=\"openDialog()\">\r\n <button class=\"more-btn more-icon\" igxIconButton=\"flat\" [style.--background]=\"'#EBEBEB'\"\r\n [style.--foreground]=\"'black'\">\r\n <igx-icon class=\"icon\" family=\"material\">more_horiz</igx-icon>\r\n </button>\r\n <span class=\"name btn\">More...</span>\r\n </span>\r\n </div>\r\n </igx-tab-content>\r\n </igx-tab-item>\r\n }\r\n </igx-tabs>\r\n</div>\r\n<div igxToggle #chartPreviewDialog class=\"chart-preview\">\r\n <div class=\"chart-preview-title\">\r\n <h5>Preview Chart</h5>\r\n </div>\r\n <div class=\"chart-preview-area\">\r\n <ng-template #chartPreview></ng-template>\r\n </div>\r\n</div>", styles: [":host ::ng-deep .analytics-button{--ig-size: var(--ig-size-small)}.disableButton{opacity:.4;pointer-events:none}.clear,.more-action{display:flex;flex-flow:column;justify-content:center;border-left:1px solid #bdbdbd}.clear .btn,.clear .more-btn,.more-action .btn,.more-action .more-btn{width:68px;margin:0 0 7px;padding:0}.clear .more-btn,.more-action .more-btn{width:36px;height:36px;align-self:center;border-radius:20px}.clear .name,.more-action .name{font-size:.9rem;font-weight:400;text-align:center}.icon{pointer-events:none}.btn.condition{padding-right:16px}.btn.chart{padding-right:24px}.btn{display:inline-flex;flex-flow:column;align-items:center}.btn img,.btn span{pointer-events:none}.chart-preview{width:350px;height:300px;background-color:#fff;overflow:hidden}.chart-preview .chart-preview-title{margin:1rem;justify-content:center}.chart-preview .chart-preview-area{height:270px}::ng-deep .toggle-content,::ng-deep .toggle-content .ig-scrollbar{--sb-size: var(--ig-scrollbar-sb-size, 1rem);--sb-thumb-min-height: var(--ig-scrollbar-sb-thumb-min-height, 2rem);--sb-thumb-bg-color: var(--ig-scrollbar-sb-thumb-bg-color, var(--ig-gray-400));--sb-thumb-bg-color-hover: var(--ig-scrollbar-sb-thumb-bg-color-hover, var(--ig-gray-400));--sb-thumb-border-color: var(--ig-scrollbar-sb-thumb-border-color, transparent);--sb-thumb-border-size: var(--ig-scrollbar-sb-thumb-border-size, 0);--sb-thumb-border-radius: var(--ig-scrollbar-sb-thumb-border-radius, 0);--sb-track-bg-color: var(--ig-scrollbar-sb-track-bg-color, var(--ig-gray-100));--sb-track-bg-color-hover: var(--ig-scrollbar-sb-track-bg-color-hover, var(--ig-gray-100));--sb-track-border-color: var(--ig-scrollbar-sb-track-border-color, transparent);--sb-track-border-size: var(--ig-scrollbar-sb-track-border-size, 0);--sb-corner-bg: var(--ig-scrollbar-sb-corner-bg, var(--ig-gray-100));--sb-corner-border-color: var(--ig-scrollbar-sb-corner-border-color, transparent);--sb-corner-border-size: var(--ig-scrollbar-sb-corner-border-size, 0);--ig-theme: material}@-moz-document url-prefix(){}::ng-deep .toggle-content{width:354px;max-width:358px;height:148px;background-color:#fff}::ng-deep .toggle-content .tabs{display:flex!important;border:.2px solid;border-color:#d3d3d3}::ng-deep .toggle-content .tab-option{padding:.9rem;height:100px;width:358px;display:inline-flex;overflow-x:auto;overflow-y:hidden;white-space:nowrap;align-content:center}::ng-deep .toggle-content .tab-option .chartImgButton{width:48px;height:48px}::ng-deep .toggle-content .tab-option .imgSize,::ng-deep .toggle-content .clear.action .imgSize{width:36px;height:36px;align-self:center}::ng-deep .toggle-content .action{cursor:pointer;opacity:1}::ng-deep .toggle-content .action.selected{opacity:.62}::ng-deep .toggle-content .action.selected--condition{pointer-events:none;opacity:.62}\n"] }]
1618
- }], ctorParameters: () => [{ type: i1$3.IgxOverlayService }], propDecorators: { button: [{
1646
+ ], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<span #analyticsBtn class=\"analytics-btn\">\n <button #btn class=\"analytics-button\" igxIconButton=\"flat\" (click)=\"toggleTabMenu()\">\n <igx-icon #icon class=\"icon\" family=\"material\">insert_chart_outlined</igx-icon>\n </button>\n</span>\n<div #tabsMenu igxToggle class=\"toggle-content ig-scrollbar\">\n <igx-tabs tabsType=\"fixed\" [selectedIndex]=\"!this.textFormatters.length && chartTypes.length ? 1 : 0\">\n <igx-tab-item [disabled]=\"!textFormatters.length\">\n <igx-tab-header>\n <span igxTabHeaderLabel>Conditional Formatting</span>\n </igx-tab-header>\n <igx-tab-content>\n <igc-trial-watermark></igc-trial-watermark>\n <div class=\"tabs\">\n <span class=\"tab-option\">\n @for (condition of textFormatters; track condition) {\n <span class=\"action btn condition\"\n [ngClass]=\"{'selected--condition': condition === currentFormatter}\"\n (click)=\"formatCells(condition)\">\n <div class=\"imgSize\" [innerHTML]=\"conditionImages[condition.replace(' ', '')] | svg\">\n </div>\n <span class=\"name\">{{condition.replace('10', '10%')}}</span>\n </span>\n }\n </span>\n <span class=\"clear action\"\n [ngClass]=\"{'disableButton': contextDirective.textFormatter ? !contextDirective.textFormatter.formatter : true }\"\n (click)=\"clearFormat()\">\n <div class=\"imgSize\" [innerHTML]=\"conditionImages['Clear'] | svg\">\n </div>\n <span class=\"btn name\">Clear All</span>\n </span>\n </div>\n </igx-tab-content>\n </igx-tab-item>\n @if (displayCreationTab) {\n <igx-tab-item [disabled]=\"!chartTypes.length\">\n <igx-tab-header>\n <span igxTabHeaderLabel>Create Chart</span>\n </igx-tab-header>\n <igx-tab-content>\n <igc-trial-watermark></igc-trial-watermark>\n <div class=\"tabs\">\n <span class=\"tab-option\">\n @for (chart of chartTypes | slice:0:4; track chart) {\n <span class=\"action btn chart\"\n [ngClass]=\"{'selected': chart === currentChartType}\" (mouseenter)=\"previewChart(chart)\"\n (mouseleave)=\"hidePreview()\" (click)=\"openDialog(chart)\">\n <span [innerHTML]=\"chartImages[chart] | svg\" class=\"imgSize\">\n </span>\n <span class=\"name\">{{chart}}</span>\n </span>\n }\n </span>\n <span class=\"more-action chart\" [ngClass]=\"{'disableButton': !chartTypes.length}\"\n (click)=\"openDialog()\">\n <button class=\"more-btn more-icon\" igxIconButton=\"flat\" [style.--background]=\"'#EBEBEB'\"\n [style.--foreground]=\"'black'\">\n <igx-icon class=\"icon\" family=\"material\">more_horiz</igx-icon>\n </button>\n <span class=\"name btn\">More...</span>\n </span>\n </div>\n </igx-tab-content>\n </igx-tab-item>\n }\n </igx-tabs>\n</div>\n<div igxToggle #chartPreviewDialog class=\"chart-preview\">\n <div class=\"chart-preview-title\">\n <h5>Preview Chart</h5>\n </div>\n <div class=\"chart-preview-area\">\n <ng-template #chartPreview></ng-template>\n </div>\n</div>", styles: [":host ::ng-deep .analytics-button{--ig-size: var(--ig-size-small)}.disableButton{opacity:.4;pointer-events:none}.clear,.more-action{display:flex;flex-flow:column;justify-content:center;border-left:1px solid #bdbdbd}.clear .btn,.clear .more-btn,.more-action .btn,.more-action .more-btn{width:68px;margin:0 0 7px;padding:0}.clear .more-btn,.more-action .more-btn{width:36px;height:36px;align-self:center;border-radius:20px}.clear .name,.more-action .name{font-size:.9rem;font-weight:400;text-align:center}.icon{pointer-events:none}.btn.condition{padding-right:16px}.btn.chart{padding-right:24px}.btn{display:inline-flex;flex-flow:column;align-items:center}.btn img,.btn span{pointer-events:none}.chart-preview{width:350px;height:300px;background-color:#fff;overflow:hidden}.chart-preview .chart-preview-title{margin:1rem;justify-content:center}.chart-preview .chart-preview-area{height:270px}::ng-deep .toggle-content,::ng-deep .toggle-content .ig-scrollbar{--sb-size: var(--igx-scrollbar-sb-size, var(--ig-scrollbar-sb-size, 1rem));--sb-thumb-min-height: var(--igx-scrollbar-sb-thumb-min-height, var(--ig-scrollbar-sb-thumb-min-height, 2rem));--sb-thumb-bg-color: var(--igx-scrollbar-sb-thumb-bg-color, var(--ig-scrollbar-sb-thumb-bg-color, var(--ig-gray-400)));--sb-thumb-bg-color-hover: var(--igx-scrollbar-sb-thumb-bg-color-hover, var(--ig-scrollbar-sb-thumb-bg-color-hover, var(--ig-gray-400)));--sb-thumb-border-color: var(--igx-scrollbar-sb-thumb-border-color, var(--ig-scrollbar-sb-thumb-border-color, transparent));--sb-thumb-border-size: var(--igx-scrollbar-sb-thumb-border-size, var(--ig-scrollbar-sb-thumb-border-size, 0));--sb-thumb-border-radius: var(--igx-scrollbar-sb-thumb-border-radius, var(--ig-scrollbar-sb-thumb-border-radius, 0));--sb-track-bg-color: var(--igx-scrollbar-sb-track-bg-color, var(--ig-scrollbar-sb-track-bg-color, var(--ig-gray-100)));--sb-track-bg-color-hover: var(--igx-scrollbar-sb-track-bg-color-hover, var(--ig-scrollbar-sb-track-bg-color-hover, var(--ig-gray-100)));--sb-track-border-color: var(--igx-scrollbar-sb-track-border-color, var(--ig-scrollbar-sb-track-border-color, transparent));--sb-track-border-size: var(--igx-scrollbar-sb-track-border-size, var(--ig-scrollbar-sb-track-border-size, 0));--sb-corner-bg: var(--igx-scrollbar-sb-corner-bg, var(--ig-scrollbar-sb-corner-bg, var(--ig-gray-100)));--sb-corner-border-color: var(--igx-scrollbar-sb-corner-border-color, var(--ig-scrollbar-sb-corner-border-color, transparent));--sb-corner-border-size: var(--igx-scrollbar-sb-corner-border-size, var(--ig-scrollbar-sb-corner-border-size, 0));--ig-theme: material;--ig-theme-variant: light}@-moz-document url-prefix(){}::ng-deep .toggle-content{width:354px;max-width:358px;height:148px;background-color:#fff}::ng-deep .toggle-content .tabs{display:flex!important;border:.2px solid;border-color:#d3d3d3}::ng-deep .toggle-content .tab-option{padding:.9rem;height:100px;width:358px;display:inline-flex;overflow-x:auto;overflow-y:hidden;white-space:nowrap;align-content:center}::ng-deep .toggle-content .tab-option .chartImgButton{width:48px;height:48px}::ng-deep .toggle-content .tab-option .imgSize,::ng-deep .toggle-content .clear.action .imgSize{width:36px;height:36px;align-self:center}::ng-deep .toggle-content .action{cursor:pointer;opacity:1}::ng-deep .toggle-content .action.selected{opacity:.62}::ng-deep .toggle-content .action.selected--condition{pointer-events:none;opacity:.62}\n"] }]
1647
+ }], ctorParameters: () => [], propDecorators: { button: [{
1619
1648
  type: ViewChild,
1620
1649
  args: ['analyticsBtn']
1621
1650
  }], tabsMenu: [{
@@ -1633,13 +1662,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImpor
1633
1662
  }] } });
1634
1663
 
1635
1664
  class IgxContextMenuDirective {
1636
- constructor(grid, textFormatter, chartsDirective, overlayService) {
1637
- this.grid = grid;
1638
- this.textFormatter = textFormatter;
1639
- this.chartsDirective = chartsDirective;
1640
- this.overlayService = overlayService;
1665
+ constructor() {
1641
1666
  this.displayCreationTab = true;
1642
- this.onButtonClose = new EventEmitter();
1667
+ this.buttonClose = new EventEmitter();
1643
1668
  this.formatters = [];
1644
1669
  this.charts = [];
1645
1670
  this.gridResizeNotify = new Subject();
@@ -1649,6 +1674,10 @@ class IgxContextMenuDirective {
1649
1674
  closeOnOutsideClick: false,
1650
1675
  modal: false
1651
1676
  };
1677
+ this.grid = inject(IgxGridComponent);
1678
+ this.textFormatter = inject(IgxConditionalFormattingDirective, { optional: true });
1679
+ this.chartsDirective = inject(IgxChartIntegrationDirective, { optional: true });
1680
+ this.overlayService = inject(IgxOverlayService);
1652
1681
  }
1653
1682
  ngOnInit() {
1654
1683
  this.gridResizeNotify.pipe(takeUntil(this.destroy$))
@@ -1661,11 +1690,11 @@ class IgxContextMenuDirective {
1661
1690
  ngAfterViewInit() {
1662
1691
  this.setUpGridListeners();
1663
1692
  if (this.textFormatter) {
1664
- this.textFormatter.onFormattersReady.pipe(takeUntil(this.destroy$))
1693
+ this.textFormatter.formattersReady.pipe(takeUntil(this.destroy$))
1665
1694
  .subscribe(names => this.formatters = names);
1666
1695
  }
1667
1696
  if (this.chartsDirective) {
1668
- this.chartsDirective.onChartTypesDetermined.pipe(takeUntil(this.destroy$))
1697
+ this.chartsDirective.chartTypesDetermined.pipe(takeUntil(this.destroy$))
1669
1698
  .subscribe((args) => this.charts = args.chartsForCreation);
1670
1699
  }
1671
1700
  this.overlayService.opening.pipe(takeUntil(this.destroy$))
@@ -1679,6 +1708,10 @@ class IgxContextMenuDirective {
1679
1708
  ngOnDestroy() {
1680
1709
  this.destroy$.next(true);
1681
1710
  this.destroy$.complete();
1711
+ if (this.contentObserver) {
1712
+ this.contentObserver.disconnect();
1713
+ this.contentObserver = null;
1714
+ }
1682
1715
  if (!this._collapsed) {
1683
1716
  this.close();
1684
1717
  }
@@ -1686,15 +1719,17 @@ class IgxContextMenuDirective {
1686
1719
  setUpGridListeners() {
1687
1720
  this.contentObserver = new ResizeObserver(() => this.gridResizeNotify.next());
1688
1721
  this.contentObserver.observe(this.grid.nativeElement);
1689
- this.grid.columnSelectionChanging.pipe(debounceTime(100))
1722
+ this.grid.columnSelectionChanging.pipe(debounceTime(100), takeUntil(this.destroy$))
1690
1723
  .subscribe((args) => {
1691
1724
  if (args.newSelection && args.oldSelection && !this._collapsed) {
1692
1725
  this.close();
1693
1726
  }
1694
1727
  this.grid.clearCellSelection();
1695
- this.chartsDirective.chartData = this.grid.getSelectedColumnsData();
1728
+ if (this.chartsDirective) {
1729
+ this.chartsDirective.chartData = this.grid.getSelectedColumnsData();
1730
+ }
1696
1731
  if (!this._collapsed) {
1697
- this.onButtonClose.emit();
1732
+ this.buttonClose.emit();
1698
1733
  }
1699
1734
  this.renderHeaderButton();
1700
1735
  });
@@ -1710,15 +1745,15 @@ class IgxContextMenuDirective {
1710
1745
  }
1711
1746
  }
1712
1747
  if (!this._collapsed) {
1713
- this.onButtonClose.emit();
1748
+ this.buttonClose.emit();
1714
1749
  }
1715
1750
  this.renderButton();
1716
1751
  });
1717
- this.grid.verticalScrollContainer.chunkLoad.pipe(merge(this.grid.parentVirtDir.chunkLoad, this.grid.filteringDone, this.grid.columnResized, this.grid.columnVisibilityChanged.pipe(debounceTime(200))), filter(() => this._range), takeUntil(this.destroy$)).subscribe(() => {
1718
- this.onButtonClose.emit();
1752
+ merge(this.grid.verticalScrollContainer.chunkLoad, this.grid.parentVirtDir.chunkLoad, this.grid.filteringDone, this.grid.columnResized, this.grid.columnVisibilityChanged.pipe(debounceTime(200))).pipe(filter(() => this._range), takeUntil(this.destroy$)).subscribe(() => {
1753
+ this.buttonClose.emit();
1719
1754
  this.renderButton();
1720
1755
  });
1721
- this.grid.selected.pipe(merge(this.grid.groupingDone), takeUntil(this.destroy$)).subscribe((args) => {
1756
+ merge(this.grid.selected, this.grid.groupingDone).pipe(takeUntil(this.destroy$)).subscribe((args) => {
1722
1757
  if (this.grid.selectedCells.length < 2 || args.expressions) {
1723
1758
  this._range = undefined;
1724
1759
  this.close();
@@ -1755,7 +1790,12 @@ class IgxContextMenuDirective {
1755
1790
  if (info) {
1756
1791
  info.settings.positionStrategy = this._analyticsBtnSettings.positionStrategy;
1757
1792
  }
1758
- this._collapsed ? this.show() : this.overlayService.reposition(this._id);
1793
+ if (this._collapsed) {
1794
+ this.show();
1795
+ }
1796
+ else {
1797
+ this.overlayService.reposition(this._id);
1798
+ }
1759
1799
  }
1760
1800
  renderHeaderButton() {
1761
1801
  const selectedColumns = this.grid.selectedColumns();
@@ -1770,7 +1810,6 @@ class IgxContextMenuDirective {
1770
1810
  });
1771
1811
  const selectedColumnsIndexes = selectedColumns.map(c => c.visibleIndex).sort((a, b) => a - b);
1772
1812
  let colIndex = selectedColumnsIndexes[selectedColumnsIndexes.length - 1];
1773
- let rowIndex = undefined;
1774
1813
  while (selectedColumnsIndexes.length) {
1775
1814
  if (this.grid.navigation.isColumnFullyVisible(colIndex)) {
1776
1815
  break;
@@ -1792,7 +1831,12 @@ class IgxContextMenuDirective {
1792
1831
  if (info) {
1793
1832
  info.settings.positionStrategy = this._analyticsBtnSettings.positionStrategy;
1794
1833
  }
1795
- this._collapsed ? this.show() : this.overlayService.reposition(this._id);
1834
+ if (this._collapsed) {
1835
+ this.show();
1836
+ }
1837
+ else {
1838
+ this.overlayService.reposition(this._id);
1839
+ }
1796
1840
  }
1797
1841
  show() {
1798
1842
  if (!this._collapsed) {
@@ -1809,28 +1853,24 @@ class IgxContextMenuDirective {
1809
1853
  }
1810
1854
  this._collapsed = true;
1811
1855
  this.overlayService.hide(this._id);
1812
- this.onButtonClose.emit();
1856
+ this.buttonClose.emit();
1813
1857
  this._id = undefined;
1814
1858
  }
1815
1859
  isWithInRange(rInex, cIndex) {
1816
1860
  return rInex >= this._range.rowStart && rInex <= this._range.rowEnd
1817
1861
  && cIndex >= this._range.columnStart && cIndex <= this._range.columnEnd;
1818
1862
  }
1819
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: IgxContextMenuDirective, deps: [{ token: i1.IgxGridComponent }, { token: IgxConditionalFormattingDirective, optional: true }, { token: IgxChartIntegrationDirective, optional: true }, { token: i1$3.IgxOverlayService }], target: i0.ɵɵFactoryTarget.Directive }); }
1820
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: IgxContextMenuDirective, isStandalone: true, selector: "[igxContextMenu]", inputs: { displayCreationTab: "displayCreationTab" }, outputs: { onButtonClose: "onButtonClose" }, ngImport: i0 }); }
1863
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxContextMenuDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1864
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.6", type: IgxContextMenuDirective, isStandalone: true, selector: "[igxContextMenu]", inputs: { displayCreationTab: "displayCreationTab" }, outputs: { buttonClose: "buttonClose" }, ngImport: i0 }); }
1821
1865
  }
1822
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: IgxContextMenuDirective, decorators: [{
1866
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxContextMenuDirective, decorators: [{
1823
1867
  type: Directive,
1824
1868
  args: [{
1825
1869
  selector: '[igxContextMenu]',
1826
1870
  }]
1827
- }], ctorParameters: () => [{ type: i1.IgxGridComponent }, { type: IgxConditionalFormattingDirective, decorators: [{
1828
- type: Optional
1829
- }] }, { type: IgxChartIntegrationDirective, decorators: [{
1830
- type: Optional
1831
- }] }, { type: i1$3.IgxOverlayService }], propDecorators: { displayCreationTab: [{
1871
+ }], ctorParameters: () => [], propDecorators: { displayCreationTab: [{
1832
1872
  type: Input
1833
- }], onButtonClose: [{
1873
+ }], buttonClose: [{
1834
1874
  type: Output
1835
1875
  }] } });
1836
1876
 
@@ -1845,5 +1885,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImpor
1845
1885
  * Generated bundle index. Do not edit.
1846
1886
  */
1847
1887
 
1848
- export { CHART_TYPE, ChartInitializer, ConditionalFormattingType, IgxChartIntegrationDirective, IgxChartMenuComponent, IgxConditionalFormattingDirective, IgxContextMenuComponent, IgxContextMenuDirective, IgxDataChartInitializer, IgxPieChartInitializer, IgxStackedDataChartInitializer, OPTIONS_TYPE, SvgPipe };
1888
+ export { CHART_TYPE, ChartInitializer, ConditionalFormattingType, IgxChartIntegrationDirective, IgxChartMenuComponent, IgxConditionalFormattingDirective, IgxContextMenuComponent, IgxContextMenuDirective, IgxDataChartInitializer, IgxPieChartInitializer, IgxStackedDataChartInitializer, OPTIONS_TYPE };
1849
1889
  //# sourceMappingURL=igniteui-angular-extras.mjs.map