igniteui-webcomponents-charts 5.1.1 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/bundles/igniteui-webcomponents-charts.umd.js +1107 -602
  2. package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
  3. package/esm2015/lib/AxisStrokeSettings.js +21 -0
  4. package/esm2015/lib/DataChartToolbarProvider.js +229 -196
  5. package/esm2015/lib/FunnelChartSelectedItemsChangedEventArgs.js +43 -0
  6. package/esm2015/lib/FunnelChartSelectedItemsCollection.js +42 -0
  7. package/esm2015/lib/XamFunnelView_combined.js +353 -304
  8. package/esm2015/lib/igc-funnel-chart-component.js +168 -104
  9. package/esm2015/lib/igc-funnel-chart-selected-items-changed-event-args.js +126 -0
  10. package/esm2015/lib/igc-funnel-chart-selected-items-collection.js +30 -0
  11. package/esm2015/lib/igc-series-viewer-component.js +33 -0
  12. package/esm2015/public_api.js +5 -0
  13. package/esm5/lib/AxisStrokeSettings.js +23 -0
  14. package/esm5/lib/DataChartToolbarProvider.js +229 -196
  15. package/esm5/lib/FunnelChartSelectedItemsChangedEventArgs.js +57 -0
  16. package/esm5/lib/FunnelChartSelectedItemsCollection.js +48 -0
  17. package/esm5/lib/XamFunnelView_combined.js +368 -302
  18. package/esm5/lib/igc-funnel-chart-component.js +177 -104
  19. package/esm5/lib/igc-funnel-chart-selected-items-changed-event-args.js +144 -0
  20. package/esm5/lib/igc-funnel-chart-selected-items-collection.js +35 -0
  21. package/esm5/lib/igc-series-viewer-component.js +45 -0
  22. package/esm5/public_api.js +5 -0
  23. package/fesm2015/igniteui-webcomponents-charts.js +1029 -603
  24. package/fesm5/igniteui-webcomponents-charts.js +1103 -603
  25. package/lib/AxisStrokeSettings.d.ts +10 -0
  26. package/lib/DataChartToolbarProvider.d.ts +28 -26
  27. package/lib/FunnelChartSelectedItemsChangedEventArgs.d.ts +18 -0
  28. package/lib/FunnelChartSelectedItemsCollection.d.ts +14 -0
  29. package/lib/FunnelChartVisualData.d.ts +3 -3
  30. package/lib/XamFunnelView_combined.d.ts +111 -107
  31. package/lib/igc-funnel-chart-component.d.ts +15 -0
  32. package/lib/igc-funnel-chart-selected-items-changed-event-args.d.ts +33 -0
  33. package/lib/igc-funnel-chart-selected-items-collection.d.ts +6 -0
  34. package/lib/igc-series-viewer-component.d.ts +18 -0
  35. package/package.json +2 -2
  36. package/public_api.d.ts +5 -0
@@ -0,0 +1,126 @@
1
+ import { IgcFunnelChartSelectedItemsCollection } from "./igc-funnel-chart-selected-items-collection";
2
+ import { FunnelChartSelectedItemsCollection as FunnelChartSelectedItemsCollection_internal } from "./FunnelChartSelectedItemsCollection";
3
+ import { Base } from "igniteui-webcomponents-core";
4
+ import { SyncableObservableCollection$1 } from "igniteui-webcomponents-core";
5
+ /**
6
+ * Provides data for the SelectedItemsChanged event.
7
+ */
8
+ export class IgcFunnelChartSelectedItemsChangedEventArgs {
9
+ /**
10
+ * @hidden
11
+ */
12
+ get i() {
13
+ return this._implementation;
14
+ }
15
+ onImplementationCreated() {
16
+ }
17
+ constructor() {
18
+ this._oldItems = null;
19
+ this._newItems = null;
20
+ this._currentItems = null;
21
+ }
22
+ _provideImplementation(i) {
23
+ this._implementation = i;
24
+ this._implementation.externalObject = this;
25
+ this.onImplementationCreated();
26
+ if (this._initializeAdapters) {
27
+ this._initializeAdapters();
28
+ }
29
+ }
30
+ /**
31
+ * A list of the previously selected items.
32
+ */
33
+ get oldItems() {
34
+ if (this._oldItems === null) {
35
+ let coll = new IgcFunnelChartSelectedItemsCollection();
36
+ let innerColl = this.i.oldItems;
37
+ if (!innerColl) {
38
+ innerColl = new FunnelChartSelectedItemsCollection_internal();
39
+ }
40
+ this._oldItems = coll._fromInner(innerColl);
41
+ this.i.oldItems = innerColl;
42
+ }
43
+ return this._oldItems;
44
+ }
45
+ set oldItems(v) {
46
+ if (this._oldItems !== null) {
47
+ this._oldItems._setSyncTarget(null);
48
+ this._oldItems = null;
49
+ }
50
+ let coll = new IgcFunnelChartSelectedItemsCollection();
51
+ this._oldItems = coll._fromOuter(v);
52
+ let syncColl = new SyncableObservableCollection$1(Base.$type);
53
+ let innerColl = this.i.oldItems;
54
+ if (!innerColl) {
55
+ innerColl = new FunnelChartSelectedItemsCollection_internal();
56
+ }
57
+ syncColl._inner = innerColl;
58
+ syncColl.clear();
59
+ this._oldItems._setSyncTarget(syncColl);
60
+ this.i.oldItems = innerColl;
61
+ }
62
+ /**
63
+ * A list of the items being selected.
64
+ */
65
+ get newItems() {
66
+ if (this._newItems === null) {
67
+ let coll = new IgcFunnelChartSelectedItemsCollection();
68
+ let innerColl = this.i.newItems;
69
+ if (!innerColl) {
70
+ innerColl = new FunnelChartSelectedItemsCollection_internal();
71
+ }
72
+ this._newItems = coll._fromInner(innerColl);
73
+ this.i.newItems = innerColl;
74
+ }
75
+ return this._newItems;
76
+ }
77
+ set newItems(v) {
78
+ if (this._newItems !== null) {
79
+ this._newItems._setSyncTarget(null);
80
+ this._newItems = null;
81
+ }
82
+ let coll = new IgcFunnelChartSelectedItemsCollection();
83
+ this._newItems = coll._fromOuter(v);
84
+ let syncColl = new SyncableObservableCollection$1(Base.$type);
85
+ let innerColl = this.i.newItems;
86
+ if (!innerColl) {
87
+ innerColl = new FunnelChartSelectedItemsCollection_internal();
88
+ }
89
+ syncColl._inner = innerColl;
90
+ syncColl.clear();
91
+ this._newItems._setSyncTarget(syncColl);
92
+ this.i.newItems = innerColl;
93
+ }
94
+ /**
95
+ * A list of the current items selected.
96
+ */
97
+ get currentItems() {
98
+ if (this._currentItems === null) {
99
+ let coll = new IgcFunnelChartSelectedItemsCollection();
100
+ let innerColl = this.i.currentItems;
101
+ if (!innerColl) {
102
+ innerColl = new FunnelChartSelectedItemsCollection_internal();
103
+ }
104
+ this._currentItems = coll._fromInner(innerColl);
105
+ this.i.currentItems = innerColl;
106
+ }
107
+ return this._currentItems;
108
+ }
109
+ set currentItems(v) {
110
+ if (this._currentItems !== null) {
111
+ this._currentItems._setSyncTarget(null);
112
+ this._currentItems = null;
113
+ }
114
+ let coll = new IgcFunnelChartSelectedItemsCollection();
115
+ this._currentItems = coll._fromOuter(v);
116
+ let syncColl = new SyncableObservableCollection$1(Base.$type);
117
+ let innerColl = this.i.currentItems;
118
+ if (!innerColl) {
119
+ innerColl = new FunnelChartSelectedItemsCollection_internal();
120
+ }
121
+ syncColl._inner = innerColl;
122
+ syncColl.clear();
123
+ this._currentItems._setSyncTarget(syncColl);
124
+ this.i.currentItems = innerColl;
125
+ }
126
+ }
@@ -0,0 +1,30 @@
1
+ import { IgCollection } from "igniteui-webcomponents-core";
2
+ import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
3
+ import { Base } from "igniteui-webcomponents-core";
4
+ export class IgcFunnelChartSelectedItemsCollection extends IgCollection {
5
+ constructor(list) {
6
+ super();
7
+ if (list) {
8
+ for (let i = 0; i < list.length; i++) {
9
+ this.add(list[i]);
10
+ }
11
+ }
12
+ }
13
+ _createInnerColl() {
14
+ let coll = new SyncableObservableCollection$2(Base.$type, Base.$type, 0);
15
+ coll.compare = (ext, int) => {
16
+ let comp = ext;
17
+ if (comp.equals) {
18
+ return comp.equals(int);
19
+ }
20
+ return comp === int;
21
+ };
22
+ coll.createTo = (ext) => {
23
+ return ext;
24
+ };
25
+ coll.createFrom = (int) => {
26
+ return int;
27
+ };
28
+ return coll;
29
+ }
30
+ }
@@ -1669,6 +1669,39 @@ export let IgcSeriesViewerComponent = /*@__PURE__*/ (() => {
1669
1669
  this.i.hk = +v;
1670
1670
  this._a("actualWindowPositionVertical", this.i.hk);
1671
1671
  }
1672
+ /**
1673
+ * Gets or sets the brush used as the border for the current SeriesViewer object's preview path.
1674
+ * Null is treated as auto.
1675
+ */
1676
+ get previewPathStroke() {
1677
+ return brushToString(this.i.vn);
1678
+ }
1679
+ set previewPathStroke(v) {
1680
+ this.i.vn = stringToBrush(v);
1681
+ this._a("previewPathStroke", brushToString(this.i.vn));
1682
+ }
1683
+ /**
1684
+ * Gets or sets the brush used as the fill for the current SeriesViewer object's preview path.
1685
+ * Null is treated as auto.
1686
+ */
1687
+ get previewPathFill() {
1688
+ return brushToString(this.i.vm);
1689
+ }
1690
+ set previewPathFill(v) {
1691
+ this.i.vm = stringToBrush(v);
1692
+ this._a("previewPathFill", brushToString(this.i.vm));
1693
+ }
1694
+ /**
1695
+ * Gets or sets the opacity used as for the fill for the current SeriesViewer object's preview path.
1696
+ * Null is treated as auto.
1697
+ */
1698
+ get previewPathOpacity() {
1699
+ return this.i.h4;
1700
+ }
1701
+ set previewPathOpacity(v) {
1702
+ this.i.h4 = +v;
1703
+ this._a("previewPathOpacity", this.i.h4);
1704
+ }
1672
1705
  get isDetached() {
1673
1706
  return this.i.isDetached;
1674
1707
  }
@@ -614,6 +614,10 @@ export * from './lib/igc-funnel-slice-clicked-event-args';
614
614
  export * from './lib/FunnelSliceEventArgs';
615
615
  export * from './lib/igc-funnel-slice-event-args';
616
616
  export * from './lib/XamFunnelChart';
617
+ export * from './lib/FunnelChartSelectedItemsChangedEventArgs';
618
+ export * from './lib/igc-funnel-chart-selected-items-changed-event-args';
619
+ export * from './lib/igc-funnel-chart-selected-items-collection';
620
+ export * from './lib/FunnelChartSelectedItemsCollection';
617
621
  export * from './lib/XamFunnelConnector';
618
622
  export * from './lib/XamFunnelSlice';
619
623
  export * from './lib/PointList';
@@ -831,6 +835,7 @@ export * from './lib/SeriesLayerPropertyOverlayValueResolvingEventArgs';
831
835
  export * from './lib/igc-series-layer-property-overlay-value-resolving-event-args';
832
836
  export * from './lib/IDataChartToolbarProvider';
833
837
  export * from './lib/DataChartToolbarProvider';
838
+ export * from './lib/AxisStrokeSettings';
834
839
  export * from './lib/DataChartToolbarIcons';
835
840
  export * from './lib/ISeriesViewerScrollbarManager';
836
841
  export * from './lib/SeriesRenderManager';
@@ -0,0 +1,23 @@
1
+ /*
2
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
3
+ https://www.infragistics.com/legal/license/igultimate-la
4
+ https://www.infragistics.com/legal/license/igultimate-eula
5
+ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
+ */
7
+ import { __extends } from "tslib";
8
+ import { Base, markType } from "igniteui-webcomponents-core";
9
+ /**
10
+ * @hidden
11
+ */
12
+ var AxisStrokeSettings = /** @class */ /*@__PURE__*/ (function (_super) {
13
+ __extends(AxisStrokeSettings, _super);
14
+ function AxisStrokeSettings() {
15
+ var _this = _super !== null && _super.apply(this, arguments) || this;
16
+ _this.b = null;
17
+ _this.a = 0;
18
+ return _this;
19
+ }
20
+ AxisStrokeSettings.$t = markType(AxisStrokeSettings, 'AxisStrokeSettings');
21
+ return AxisStrokeSettings;
22
+ }(Base));
23
+ export { AxisStrokeSettings };