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,144 @@
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
+ var IgcFunnelChartSelectedItemsChangedEventArgs = /** @class */ /*@__PURE__*/ (function () {
9
+ function IgcFunnelChartSelectedItemsChangedEventArgs() {
10
+ this._oldItems = null;
11
+ this._newItems = null;
12
+ this._currentItems = null;
13
+ }
14
+ Object.defineProperty(IgcFunnelChartSelectedItemsChangedEventArgs.prototype, "i", {
15
+ /**
16
+ * @hidden
17
+ */
18
+ get: function () {
19
+ return this._implementation;
20
+ },
21
+ enumerable: false,
22
+ configurable: true
23
+ });
24
+ IgcFunnelChartSelectedItemsChangedEventArgs.prototype.onImplementationCreated = function () {
25
+ };
26
+ IgcFunnelChartSelectedItemsChangedEventArgs.prototype._provideImplementation = function (i) {
27
+ this._implementation = i;
28
+ this._implementation.externalObject = this;
29
+ this.onImplementationCreated();
30
+ if (this._initializeAdapters) {
31
+ this._initializeAdapters();
32
+ }
33
+ };
34
+ Object.defineProperty(IgcFunnelChartSelectedItemsChangedEventArgs.prototype, "oldItems", {
35
+ /**
36
+ * A list of the previously selected items.
37
+ */
38
+ get: function () {
39
+ if (this._oldItems === null) {
40
+ var coll = new IgcFunnelChartSelectedItemsCollection();
41
+ var innerColl = this.i.oldItems;
42
+ if (!innerColl) {
43
+ innerColl = new FunnelChartSelectedItemsCollection_internal();
44
+ }
45
+ this._oldItems = coll._fromInner(innerColl);
46
+ this.i.oldItems = innerColl;
47
+ }
48
+ return this._oldItems;
49
+ },
50
+ set: function (v) {
51
+ if (this._oldItems !== null) {
52
+ this._oldItems._setSyncTarget(null);
53
+ this._oldItems = null;
54
+ }
55
+ var coll = new IgcFunnelChartSelectedItemsCollection();
56
+ this._oldItems = coll._fromOuter(v);
57
+ var syncColl = new SyncableObservableCollection$1(Base.$type);
58
+ var innerColl = this.i.oldItems;
59
+ if (!innerColl) {
60
+ innerColl = new FunnelChartSelectedItemsCollection_internal();
61
+ }
62
+ syncColl._inner = innerColl;
63
+ syncColl.clear();
64
+ this._oldItems._setSyncTarget(syncColl);
65
+ this.i.oldItems = innerColl;
66
+ },
67
+ enumerable: false,
68
+ configurable: true
69
+ });
70
+ Object.defineProperty(IgcFunnelChartSelectedItemsChangedEventArgs.prototype, "newItems", {
71
+ /**
72
+ * A list of the items being selected.
73
+ */
74
+ get: function () {
75
+ if (this._newItems === null) {
76
+ var coll = new IgcFunnelChartSelectedItemsCollection();
77
+ var innerColl = this.i.newItems;
78
+ if (!innerColl) {
79
+ innerColl = new FunnelChartSelectedItemsCollection_internal();
80
+ }
81
+ this._newItems = coll._fromInner(innerColl);
82
+ this.i.newItems = innerColl;
83
+ }
84
+ return this._newItems;
85
+ },
86
+ set: function (v) {
87
+ if (this._newItems !== null) {
88
+ this._newItems._setSyncTarget(null);
89
+ this._newItems = null;
90
+ }
91
+ var coll = new IgcFunnelChartSelectedItemsCollection();
92
+ this._newItems = coll._fromOuter(v);
93
+ var syncColl = new SyncableObservableCollection$1(Base.$type);
94
+ var innerColl = this.i.newItems;
95
+ if (!innerColl) {
96
+ innerColl = new FunnelChartSelectedItemsCollection_internal();
97
+ }
98
+ syncColl._inner = innerColl;
99
+ syncColl.clear();
100
+ this._newItems._setSyncTarget(syncColl);
101
+ this.i.newItems = innerColl;
102
+ },
103
+ enumerable: false,
104
+ configurable: true
105
+ });
106
+ Object.defineProperty(IgcFunnelChartSelectedItemsChangedEventArgs.prototype, "currentItems", {
107
+ /**
108
+ * A list of the current items selected.
109
+ */
110
+ get: function () {
111
+ if (this._currentItems === null) {
112
+ var coll = new IgcFunnelChartSelectedItemsCollection();
113
+ var innerColl = this.i.currentItems;
114
+ if (!innerColl) {
115
+ innerColl = new FunnelChartSelectedItemsCollection_internal();
116
+ }
117
+ this._currentItems = coll._fromInner(innerColl);
118
+ this.i.currentItems = innerColl;
119
+ }
120
+ return this._currentItems;
121
+ },
122
+ set: function (v) {
123
+ if (this._currentItems !== null) {
124
+ this._currentItems._setSyncTarget(null);
125
+ this._currentItems = null;
126
+ }
127
+ var coll = new IgcFunnelChartSelectedItemsCollection();
128
+ this._currentItems = coll._fromOuter(v);
129
+ var syncColl = new SyncableObservableCollection$1(Base.$type);
130
+ var innerColl = this.i.currentItems;
131
+ if (!innerColl) {
132
+ innerColl = new FunnelChartSelectedItemsCollection_internal();
133
+ }
134
+ syncColl._inner = innerColl;
135
+ syncColl.clear();
136
+ this._currentItems._setSyncTarget(syncColl);
137
+ this.i.currentItems = innerColl;
138
+ },
139
+ enumerable: false,
140
+ configurable: true
141
+ });
142
+ return IgcFunnelChartSelectedItemsChangedEventArgs;
143
+ }());
144
+ export { IgcFunnelChartSelectedItemsChangedEventArgs };
@@ -0,0 +1,35 @@
1
+ import { __extends } from "tslib";
2
+ import { IgCollection } from "igniteui-webcomponents-core";
3
+ import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
4
+ import { Base } from "igniteui-webcomponents-core";
5
+ var IgcFunnelChartSelectedItemsCollection = /** @class */ /*@__PURE__*/ (function (_super) {
6
+ __extends(IgcFunnelChartSelectedItemsCollection, _super);
7
+ function IgcFunnelChartSelectedItemsCollection(list) {
8
+ var _this = _super.call(this) || this;
9
+ if (list) {
10
+ for (var i = 0; i < list.length; i++) {
11
+ _this.add(list[i]);
12
+ }
13
+ }
14
+ return _this;
15
+ }
16
+ IgcFunnelChartSelectedItemsCollection.prototype._createInnerColl = function () {
17
+ var coll = new SyncableObservableCollection$2(Base.$type, Base.$type, 0);
18
+ coll.compare = function (ext, int) {
19
+ var comp = ext;
20
+ if (comp.equals) {
21
+ return comp.equals(int);
22
+ }
23
+ return comp === int;
24
+ };
25
+ coll.createTo = function (ext) {
26
+ return ext;
27
+ };
28
+ coll.createFrom = function (int) {
29
+ return int;
30
+ };
31
+ return coll;
32
+ };
33
+ return IgcFunnelChartSelectedItemsCollection;
34
+ }(IgCollection));
35
+ export { IgcFunnelChartSelectedItemsCollection };
@@ -2143,6 +2143,51 @@ var IgcSeriesViewerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
2143
2143
  enumerable: false,
2144
2144
  configurable: true
2145
2145
  });
2146
+ Object.defineProperty(IgcSeriesViewerComponent.prototype, "previewPathStroke", {
2147
+ /**
2148
+ * Gets or sets the brush used as the border for the current SeriesViewer object's preview path.
2149
+ * Null is treated as auto.
2150
+ */
2151
+ get: function () {
2152
+ return brushToString(this.i.vn);
2153
+ },
2154
+ set: function (v) {
2155
+ this.i.vn = stringToBrush(v);
2156
+ this._a("previewPathStroke", brushToString(this.i.vn));
2157
+ },
2158
+ enumerable: false,
2159
+ configurable: true
2160
+ });
2161
+ Object.defineProperty(IgcSeriesViewerComponent.prototype, "previewPathFill", {
2162
+ /**
2163
+ * Gets or sets the brush used as the fill for the current SeriesViewer object's preview path.
2164
+ * Null is treated as auto.
2165
+ */
2166
+ get: function () {
2167
+ return brushToString(this.i.vm);
2168
+ },
2169
+ set: function (v) {
2170
+ this.i.vm = stringToBrush(v);
2171
+ this._a("previewPathFill", brushToString(this.i.vm));
2172
+ },
2173
+ enumerable: false,
2174
+ configurable: true
2175
+ });
2176
+ Object.defineProperty(IgcSeriesViewerComponent.prototype, "previewPathOpacity", {
2177
+ /**
2178
+ * Gets or sets the opacity used as for the fill for the current SeriesViewer object's preview path.
2179
+ * Null is treated as auto.
2180
+ */
2181
+ get: function () {
2182
+ return this.i.h4;
2183
+ },
2184
+ set: function (v) {
2185
+ this.i.h4 = +v;
2186
+ this._a("previewPathOpacity", this.i.h4);
2187
+ },
2188
+ enumerable: false,
2189
+ configurable: true
2190
+ });
2146
2191
  Object.defineProperty(IgcSeriesViewerComponent.prototype, "isDetached", {
2147
2192
  get: function () {
2148
2193
  return this.i.isDetached;
@@ -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';