igniteui-webcomponents-dashboards 5.1.1-beta.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 (169) hide show
  1. package/License +27 -0
  2. package/README.md +19 -0
  3. package/bundles/igniteui-webcomponents-dashboards.umd.js +9396 -0
  4. package/bundles/igniteui-webcomponents-dashboards.umd.min.js +7 -0
  5. package/esm2015/igniteui-webcomponents-dashboards.js +1 -0
  6. package/esm2015/lib/DashboardTile.js +7 -0
  7. package/esm2015/lib/DashboardTileChangingContentEventArgs.js +26 -0
  8. package/esm2015/lib/DashboardTileCommonFeature.js +39 -0
  9. package/esm2015/lib/DashboardTileCustomization.js +7 -0
  10. package/esm2015/lib/DashboardTileCustomizationCollection.js +7 -0
  11. package/esm2015/lib/DashboardTileFilterStringErrorsParsingEventArgs.js +33 -0
  12. package/esm2015/lib/DashboardTileGalleryIconInfo.js +22 -0
  13. package/esm2015/lib/DashboardTileGroupDescription.js +52 -0
  14. package/esm2015/lib/DashboardTileGroupDescriptionCollection.js +84 -0
  15. package/esm2015/lib/DashboardTilePrimitiveValueWrapper.js +20 -0
  16. package/esm2015/lib/DashboardTileSortDescription.js +61 -0
  17. package/esm2015/lib/DashboardTileSortDescriptionCollection.js +96 -0
  18. package/esm2015/lib/DashboardTileSummaryDescription.js +123 -0
  19. package/esm2015/lib/DashboardTileSummaryDescriptionCollection.js +102 -0
  20. package/esm2015/lib/DashboardTileToolbarProvider.js +7 -0
  21. package/esm2015/lib/DashboardTileView.js +7 -0
  22. package/esm2015/lib/DashboardTileView_combined.js +3151 -0
  23. package/esm2015/lib/DashboardTileVisualizationType.js +50 -0
  24. package/esm2015/lib/DataChartDashboardTileFeature.js +76 -0
  25. package/esm2015/lib/DataSeriesToDescriptionAdapter.js +1556 -0
  26. package/esm2015/lib/DataSeriesToDescriptionAdapterControlType.js +11 -0
  27. package/esm2015/lib/DataSeriesToDescriptionAdapterResult.js +146 -0
  28. package/esm2015/lib/DataSeriesToDescriptionAdapterSettings.js +85 -0
  29. package/esm2015/lib/DataSeriesToDescriptionCustomizations.js +176 -0
  30. package/esm2015/lib/DescriptionValueLookupHelper.js +38 -0
  31. package/esm2015/lib/GeographicMapDashboardTileFeature.js +26 -0
  32. package/esm2015/lib/IDashboardTileView.js +11 -0
  33. package/esm2015/lib/IExternalDashboardTile.js +11 -0
  34. package/esm2015/lib/LinearGaugeDashboardTileFeature.js +26 -0
  35. package/esm2015/lib/PieChartDashboardTileFeature.js +28 -0
  36. package/esm2015/lib/RadialGaugeDashboardTileFeature.js +26 -0
  37. package/esm2015/lib/igc-dashboard-tile-changing-content-event-args.js +36 -0
  38. package/esm2015/lib/igc-dashboard-tile-component.js +1147 -0
  39. package/esm2015/lib/igc-dashboard-tile-customization-collection.js +53 -0
  40. package/esm2015/lib/igc-dashboard-tile-customization-component.js +265 -0
  41. package/esm2015/lib/igc-dashboard-tile-customization-module.js +16 -0
  42. package/esm2015/lib/igc-dashboard-tile-filter-string-errors-parsing-event-args.js +48 -0
  43. package/esm2015/lib/igc-dashboard-tile-group-description-collection.js +76 -0
  44. package/esm2015/lib/igc-dashboard-tile-group-description-module.js +15 -0
  45. package/esm2015/lib/igc-dashboard-tile-group-description.js +19 -0
  46. package/esm2015/lib/igc-dashboard-tile-module.js +33 -0
  47. package/esm2015/lib/igc-dashboard-tile-sort-description-collection.js +86 -0
  48. package/esm2015/lib/igc-dashboard-tile-sort-description-module.js +15 -0
  49. package/esm2015/lib/igc-dashboard-tile-sort-description.js +70 -0
  50. package/esm2015/lib/igc-dashboard-tile-summary-description-collection.js +83 -0
  51. package/esm2015/lib/igc-dashboard-tile-summary-description-module.js +15 -0
  52. package/esm2015/lib/igc-dashboard-tile-summary-description.js +107 -0
  53. package/esm2015/lib/igc-data-chart-dashboard-tile-module.js +36 -0
  54. package/esm2015/lib/igc-geographic-map-dashboard-tile-module.js +18 -0
  55. package/esm2015/lib/igc-linear-gauge-dashboard-tile-module.js +18 -0
  56. package/esm2015/lib/igc-pie-chart-dashboard-tile-module.js +18 -0
  57. package/esm2015/lib/igc-radial-gauge-dashboard-tile-module.js +18 -0
  58. package/esm2015/public_api.js +51 -0
  59. package/esm5/igniteui-webcomponents-dashboards.js +1 -0
  60. package/esm5/lib/DashboardTile.js +7 -0
  61. package/esm5/lib/DashboardTileChangingContentEventArgs.js +32 -0
  62. package/esm5/lib/DashboardTileCommonFeature.js +43 -0
  63. package/esm5/lib/DashboardTileCustomization.js +7 -0
  64. package/esm5/lib/DashboardTileCustomizationCollection.js +7 -0
  65. package/esm5/lib/DashboardTileFilterStringErrorsParsingEventArgs.js +43 -0
  66. package/esm5/lib/DashboardTileGalleryIconInfo.js +24 -0
  67. package/esm5/lib/DashboardTileGroupDescription.js +59 -0
  68. package/esm5/lib/DashboardTileGroupDescriptionCollection.js +94 -0
  69. package/esm5/lib/DashboardTilePrimitiveValueWrapper.js +22 -0
  70. package/esm5/lib/DashboardTileSortDescription.js +75 -0
  71. package/esm5/lib/DashboardTileSortDescriptionCollection.js +110 -0
  72. package/esm5/lib/DashboardTileSummaryDescription.js +149 -0
  73. package/esm5/lib/DashboardTileSummaryDescriptionCollection.js +116 -0
  74. package/esm5/lib/DashboardTileToolbarProvider.js +7 -0
  75. package/esm5/lib/DashboardTileView.js +7 -0
  76. package/esm5/lib/DashboardTileView_combined.js +3814 -0
  77. package/esm5/lib/DashboardTileVisualizationType.js +50 -0
  78. package/esm5/lib/DataChartDashboardTileFeature.js +80 -0
  79. package/esm5/lib/DataSeriesToDescriptionAdapter.js +1581 -0
  80. package/esm5/lib/DataSeriesToDescriptionAdapterControlType.js +11 -0
  81. package/esm5/lib/DataSeriesToDescriptionAdapterResult.js +168 -0
  82. package/esm5/lib/DataSeriesToDescriptionAdapterSettings.js +111 -0
  83. package/esm5/lib/DataSeriesToDescriptionCustomizations.js +277 -0
  84. package/esm5/lib/DescriptionValueLookupHelper.js +46 -0
  85. package/esm5/lib/GeographicMapDashboardTileFeature.js +30 -0
  86. package/esm5/lib/IDashboardTileView.js +11 -0
  87. package/esm5/lib/IExternalDashboardTile.js +11 -0
  88. package/esm5/lib/LinearGaugeDashboardTileFeature.js +30 -0
  89. package/esm5/lib/PieChartDashboardTileFeature.js +32 -0
  90. package/esm5/lib/RadialGaugeDashboardTileFeature.js +30 -0
  91. package/esm5/lib/igc-dashboard-tile-changing-content-event-args.js +46 -0
  92. package/esm5/lib/igc-dashboard-tile-component.js +1401 -0
  93. package/esm5/lib/igc-dashboard-tile-customization-collection.js +58 -0
  94. package/esm5/lib/igc-dashboard-tile-customization-component.js +319 -0
  95. package/esm5/lib/igc-dashboard-tile-customization-module.js +20 -0
  96. package/esm5/lib/igc-dashboard-tile-filter-string-errors-parsing-event-args.js +62 -0
  97. package/esm5/lib/igc-dashboard-tile-group-description-collection.js +82 -0
  98. package/esm5/lib/igc-dashboard-tile-group-description-module.js +19 -0
  99. package/esm5/lib/igc-dashboard-tile-group-description.js +27 -0
  100. package/esm5/lib/igc-dashboard-tile-module.js +37 -0
  101. package/esm5/lib/igc-dashboard-tile-sort-description-collection.js +96 -0
  102. package/esm5/lib/igc-dashboard-tile-sort-description-module.js +19 -0
  103. package/esm5/lib/igc-dashboard-tile-sort-description.js +84 -0
  104. package/esm5/lib/igc-dashboard-tile-summary-description-collection.js +93 -0
  105. package/esm5/lib/igc-dashboard-tile-summary-description-module.js +19 -0
  106. package/esm5/lib/igc-dashboard-tile-summary-description.js +134 -0
  107. package/esm5/lib/igc-data-chart-dashboard-tile-module.js +40 -0
  108. package/esm5/lib/igc-geographic-map-dashboard-tile-module.js +22 -0
  109. package/esm5/lib/igc-linear-gauge-dashboard-tile-module.js +22 -0
  110. package/esm5/lib/igc-pie-chart-dashboard-tile-module.js +22 -0
  111. package/esm5/lib/igc-radial-gauge-dashboard-tile-module.js +22 -0
  112. package/esm5/public_api.js +51 -0
  113. package/fesm2015/igniteui-webcomponents-dashboards.js +7990 -0
  114. package/fesm5/igniteui-webcomponents-dashboards.js +9344 -0
  115. package/igniteui-webcomponents-dashboards.d.ts +1 -0
  116. package/lib/DashboardTile.d.ts +1 -0
  117. package/lib/DashboardTileChangingContentEventArgs.d.ts +11 -0
  118. package/lib/DashboardTileCommonFeature.d.ts +9 -0
  119. package/lib/DashboardTileCustomization.d.ts +1 -0
  120. package/lib/DashboardTileCustomizationCollection.d.ts +1 -0
  121. package/lib/DashboardTileFilterStringErrorsParsingEventArgs.d.ts +14 -0
  122. package/lib/DashboardTileGalleryIconInfo.d.ts +11 -0
  123. package/lib/DashboardTileGroupDescription.d.ts +16 -0
  124. package/lib/DashboardTileGroupDescriptionCollection.d.ts +27 -0
  125. package/lib/DashboardTilePrimitiveValueWrapper.d.ts +8 -0
  126. package/lib/DashboardTileSortDescription.d.ts +20 -0
  127. package/lib/DashboardTileSortDescriptionCollection.d.ts +31 -0
  128. package/lib/DashboardTileSummaryDescription.d.ts +38 -0
  129. package/lib/DashboardTileSummaryDescriptionCollection.d.ts +31 -0
  130. package/lib/DashboardTileToolbarProvider.d.ts +1 -0
  131. package/lib/DashboardTileView.d.ts +1 -0
  132. package/lib/DashboardTileView_combined.d.ts +525 -0
  133. package/lib/DashboardTileVisualizationType.d.ts +43 -0
  134. package/lib/DataChartDashboardTileFeature.d.ts +10 -0
  135. package/lib/DataSeriesToDescriptionAdapter.d.ts +62 -0
  136. package/lib/DataSeriesToDescriptionAdapterControlType.d.ts +15 -0
  137. package/lib/DataSeriesToDescriptionAdapterResult.d.ts +36 -0
  138. package/lib/DataSeriesToDescriptionAdapterSettings.d.ts +36 -0
  139. package/lib/DataSeriesToDescriptionCustomizations.d.ts +21 -0
  140. package/lib/DescriptionValueLookupHelper.d.ts +12 -0
  141. package/lib/GeographicMapDashboardTileFeature.d.ts +10 -0
  142. package/lib/IDashboardTileView.d.ts +20 -0
  143. package/lib/IExternalDashboardTile.d.ts +13 -0
  144. package/lib/LinearGaugeDashboardTileFeature.d.ts +10 -0
  145. package/lib/PieChartDashboardTileFeature.d.ts +10 -0
  146. package/lib/RadialGaugeDashboardTileFeature.d.ts +10 -0
  147. package/lib/igc-dashboard-tile-changing-content-event-args.d.ts +14 -0
  148. package/lib/igc-dashboard-tile-component.d.ts +348 -0
  149. package/lib/igc-dashboard-tile-customization-collection.d.ts +8 -0
  150. package/lib/igc-dashboard-tile-customization-component.d.ts +59 -0
  151. package/lib/igc-dashboard-tile-customization-module.d.ts +3 -0
  152. package/lib/igc-dashboard-tile-filter-string-errors-parsing-event-args.d.ts +22 -0
  153. package/lib/igc-dashboard-tile-group-description-collection.d.ts +23 -0
  154. package/lib/igc-dashboard-tile-group-description-module.d.ts +3 -0
  155. package/lib/igc-dashboard-tile-group-description.d.ts +13 -0
  156. package/lib/igc-dashboard-tile-module.d.ts +3 -0
  157. package/lib/igc-dashboard-tile-sort-description-collection.d.ts +28 -0
  158. package/lib/igc-dashboard-tile-sort-description-module.d.ts +3 -0
  159. package/lib/igc-dashboard-tile-sort-description.d.ts +33 -0
  160. package/lib/igc-dashboard-tile-summary-description-collection.d.ts +25 -0
  161. package/lib/igc-dashboard-tile-summary-description-module.d.ts +3 -0
  162. package/lib/igc-dashboard-tile-summary-description.d.ts +40 -0
  163. package/lib/igc-data-chart-dashboard-tile-module.d.ts +3 -0
  164. package/lib/igc-geographic-map-dashboard-tile-module.d.ts +3 -0
  165. package/lib/igc-linear-gauge-dashboard-tile-module.d.ts +3 -0
  166. package/lib/igc-pie-chart-dashboard-tile-module.d.ts +3 -0
  167. package/lib/igc-radial-gauge-dashboard-tile-module.d.ts +3 -0
  168. package/package.json +42 -0
  169. package/public_api.d.ts +51 -0
@@ -0,0 +1,1147 @@
1
+ import { DashboardTile } from "./DashboardTile";
2
+ import { ensureEnum, brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, fromBrushCollection, toBrushCollection, brushCollectionToString, enumToString, getAllPropertyNames, fromSpinal } from "igniteui-webcomponents-core";
3
+ import { WebComponentRenderer, PortalManager } from "igniteui-webcomponents-core";
4
+ import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
5
+ import { TypeRegistrar } from "igniteui-webcomponents-core";
6
+ import { RegisterElementHelper } from "igniteui-webcomponents-core";
7
+ import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
8
+ import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
9
+ import { IgcHTMLElement } from "igniteui-webcomponents-core";
10
+ import { IgcDashboardTileFilterStringErrorsParsingEventArgs } from "./igc-dashboard-tile-filter-string-errors-parsing-event-args";
11
+ import { DashboardTileVisualizationType_$type } from "./DashboardTileVisualizationType";
12
+ import { CrosshairsDisplayMode_$type } from "igniteui-webcomponents-charts";
13
+ import { IgcValueModeCollection } from "igniteui-webcomponents-charts";
14
+ import { SyncableObservableCollection$1 } from "igniteui-webcomponents-core";
15
+ import { ValueLayerValueMode_$type } from "igniteui-webcomponents-charts";
16
+ import { ValueModeCollection as ValueModeCollection_internal } from "igniteui-webcomponents-charts";
17
+ import { IgcChartSelectedItemCollection } from "igniteui-webcomponents-charts";
18
+ import { ChartSelectedItemCollection as ChartSelectedItemCollection_internal } from "igniteui-webcomponents-charts";
19
+ import { ChartSelection } from "igniteui-webcomponents-charts";
20
+ import { SeriesHighlightedValuesDisplayMode_$type } from "igniteui-webcomponents-core";
21
+ import { TrendLineType_$type } from "igniteui-webcomponents-core";
22
+ import { IgcDashboardTileSummaryDescriptionCollection } from "./igc-dashboard-tile-summary-description-collection";
23
+ import { IgcFilterExpressionCollection } from "igniteui-webcomponents-core";
24
+ import { IgcDashboardTileSortDescriptionCollection } from "./igc-dashboard-tile-sort-description-collection";
25
+ import { NotifyCollectionChangedAction } from "igniteui-webcomponents-core";
26
+ import { IgcDashboardTileCustomizationCollection } from "./igc-dashboard-tile-customization-collection";
27
+ import { IgcDashboardTileChangingContentEventArgs } from "./igc-dashboard-tile-changing-content-event-args";
28
+ export let IgcDashboardTileComponent = /*@__PURE__*/ (() => {
29
+ class IgcDashboardTileComponent extends IgcHTMLElement {
30
+ set height(value) {
31
+ this._height = value;
32
+ this.style.height = value;
33
+ this.notifyContainerResized();
34
+ }
35
+ get height() {
36
+ return this._height;
37
+ }
38
+ set width(value) {
39
+ this._width = value;
40
+ this.style.width = value;
41
+ this.notifyContainerResized();
42
+ }
43
+ get width() {
44
+ return this._width;
45
+ }
46
+ notifyContainerResized() {
47
+ this.i.notifyContainerResized();
48
+ }
49
+ constructor() {
50
+ super();
51
+ this._disconnected = false;
52
+ this._settingAttributes = false;
53
+ this._attached = false;
54
+ this._queuedSetAttributes = [];
55
+ this._updatingFromAttribute = false;
56
+ this._customizations = null;
57
+ this._selectedSeriesItems = null;
58
+ this._valueLines = null;
59
+ this.__p = null;
60
+ this._hasUserValues = new Set();
61
+ this._stylingContainer = null;
62
+ this._stylingParent = null;
63
+ this._inStyling = false;
64
+ this._changingContent = null;
65
+ this._changingContent_wrapped = null;
66
+ this._filterStringErrorsParsing = null;
67
+ this._filterStringErrorsParsing_wrapped = null;
68
+ if (this._styling) {
69
+ NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
70
+ }
71
+ this._portalManager = new PortalManager("DashboardTileContent");
72
+ this._renderer = new WebComponentRenderer(this, document, true, {}, this._portalManager);
73
+ this._container = this._renderer.createElement("div");
74
+ this._renderer.updateRoot(this._container);
75
+ this._implementation = this.createImplementation();
76
+ this._implementation.externalObject = this;
77
+ this._container.setStyleProperty("width", "100%");
78
+ this._container.setStyleProperty("height", "100%");
79
+ var root;
80
+ root = this._container;
81
+ if (this._container.getNativeElement() != null) {
82
+ root = this._container.getNativeElement();
83
+ }
84
+ this._wrapper = this._renderer;
85
+ var DashboardTile = this.i;
86
+ this._DashboardTile = DashboardTile;
87
+ DashboardTile.provideContainer(this._renderer);
88
+ this._onChildrenChanged();
89
+ //Checkbox.notifySizeChanged();
90
+ let mut = new MutationObserver((list) => {
91
+ for (var mutation of list) {
92
+ if (mutation.type == 'childList') {
93
+ this._onChildrenChanged();
94
+ }
95
+ }
96
+ });
97
+ mut.observe(this, {
98
+ childList: true
99
+ });
100
+ //this._renderer.addSizeWatcher(() => {
101
+ // this._checkbox.notifySizeChanged();
102
+ //});
103
+ }
104
+ _onChildrenChanged() {
105
+ var children = [];
106
+ for (var i = 0; i < this.childNodes.length; i++) {
107
+ var child = this.childNodes[i];
108
+ if (child !== this._container.getNativeElement()) {
109
+ children.push(child);
110
+ }
111
+ }
112
+ this._portalManager.onChildrenChanged(children);
113
+ }
114
+ // supports angular themes or custom properties set in CSS
115
+ updateStyle() {
116
+ this._styling(this, this);
117
+ }
118
+ destroy() {
119
+ this._DashboardTile.destroy();
120
+ this._wrapper.destroy();
121
+ }
122
+ createImplementation() {
123
+ return new DashboardTile();
124
+ }
125
+ disconnectedCallback() {
126
+ this._disconnected = true;
127
+ if (this.i) {
128
+ this.i.onDetachedFromUI();
129
+ }
130
+ }
131
+ connectedCallback() {
132
+ if (this._disconnected) {
133
+ this._disconnected = false;
134
+ if (this.i) {
135
+ this.i.onAttachedToUI();
136
+ }
137
+ return;
138
+ }
139
+ this.classList.add("ig-dashboard-tile");
140
+ this.classList.add("igc-dashboard-tile");
141
+ this.appendChild(this._container.getNativeElement());
142
+ this._attached = true;
143
+ this.style.display = "block";
144
+ //this.style.height = this._height;
145
+ //this.style.width = this._width;
146
+ this._flushQueuedAttributes();
147
+ // supports themes or custom properties set in CSS
148
+ this._styling(this, this);
149
+ this.afterContentInit();
150
+ }
151
+ afterContentInit() {
152
+ //this.i.notifySizeChanged();
153
+ }
154
+ /**
155
+ * @hidden
156
+ */
157
+ get i() {
158
+ return this._implementation;
159
+ } /**
160
+ * @hidden
161
+ */
162
+ static _createFromInternal(internal) {
163
+ if (!internal) {
164
+ return null;
165
+ }
166
+ if (!internal.$type) {
167
+ return null;
168
+ }
169
+ let name = internal.$type.name;
170
+ let externalName = "Igc" + name + "Component";
171
+ if (!TypeRegistrar.isRegistered(externalName)) {
172
+ return null;
173
+ }
174
+ return TypeRegistrar.create(externalName);
175
+ }
176
+ _enqueueSetAttribute(attrName, attrValue) {
177
+ this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
178
+ }
179
+ _flushQueuedAttributes() {
180
+ this._settingAttributes = true;
181
+ for (let i = 0; i < this._queuedSetAttributes.length; i++) {
182
+ this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
183
+ }
184
+ this._settingAttributes = false;
185
+ this._queuedSetAttributes.length = 0;
186
+ }
187
+ _a(attrName, attrValue) {
188
+ if (this._updatingFromAttribute) {
189
+ return;
190
+ }
191
+ if (attrValue) {
192
+ attrValue = attrValue.toString();
193
+ }
194
+ this._settingAttributes = true;
195
+ attrName = toSpinal(attrName);
196
+ if (this._attached) {
197
+ this.setAttribute(attrName, attrValue);
198
+ }
199
+ else {
200
+ this._enqueueSetAttribute(attrName, attrValue);
201
+ }
202
+ this._settingAttributes = false;
203
+ }
204
+ static get observedAttributes() {
205
+ if (IgcDashboardTileComponent._observedAttributesIgcDashboardTileComponent == null) {
206
+ let names = getAllPropertyNames(IgcDashboardTileComponent);
207
+ for (let i = 0; i < names.length; i++) {
208
+ names[i] = toSpinal(names[i]);
209
+ }
210
+ IgcDashboardTileComponent._observedAttributesIgcDashboardTileComponent = names;
211
+ }
212
+ return IgcDashboardTileComponent._observedAttributesIgcDashboardTileComponent;
213
+ }
214
+ attributeChangedCallback(name, oldValue, newValue) {
215
+ if (this._settingAttributes) {
216
+ return;
217
+ }
218
+ let setName = fromSpinal(name);
219
+ this._updatingFromAttribute = true;
220
+ this[setName] = newValue;
221
+ this._updatingFromAttribute = false;
222
+ }
223
+ static register() {
224
+ if (!IgcDashboardTileComponent._isElementRegistered) {
225
+ IgcDashboardTileComponent._isElementRegistered = true;
226
+ RegisterElementHelper.registerElement(IgcDashboardTileComponent.htmlTagName, IgcDashboardTileComponent);
227
+ }
228
+ }
229
+ get actualCustomizations() {
230
+ if (!this._actualCustomizations) {
231
+ this._actualCustomizations = [];
232
+ }
233
+ return this._actualCustomizations;
234
+ }
235
+ get contentCustomizations() {
236
+ if (!this._contentCustomizations) {
237
+ this._contentCustomizations = [];
238
+ }
239
+ return this._contentCustomizations;
240
+ }
241
+ /**
242
+ * Gets a collection where you can add customization that will be applied to the generated visualizations.
243
+ */
244
+ get customizations() {
245
+ if (this._customizations === null) {
246
+ let coll = new IgcDashboardTileCustomizationCollection();
247
+ let inner = coll._innerColl;
248
+ this._customizations = coll;
249
+ inner.addListener((sender, e) => {
250
+ switch (e.action) {
251
+ case NotifyCollectionChangedAction.Add:
252
+ this._customizationsAdapter.insertManualItem(e.newStartingIndex, e.newItems.item(0));
253
+ break;
254
+ case NotifyCollectionChangedAction.Remove:
255
+ this._customizationsAdapter.removeManualItemAt(e.oldStartingIndex);
256
+ break;
257
+ case NotifyCollectionChangedAction.Replace:
258
+ this._customizationsAdapter.removeManualItemAt(e.oldStartingIndex);
259
+ this._customizationsAdapter.insertManualItem(e.newStartingIndex, e.newItems.item(0));
260
+ break;
261
+ case NotifyCollectionChangedAction.Reset:
262
+ this._customizationsAdapter.clearManualItems();
263
+ break;
264
+ }
265
+ });
266
+ ;
267
+ }
268
+ return this._customizations;
269
+ }
270
+ /**
271
+ * Gets or sets text to display above the plot area.
272
+ */
273
+ get tileTitle() {
274
+ return this.i.ge;
275
+ }
276
+ set tileTitle(v) {
277
+ this.i.ge = v;
278
+ }
279
+ /**
280
+ * Gets the initial sorts that are applied to the chart.
281
+ */
282
+ get initialSortDescriptions() {
283
+ const r = this.i.aw;
284
+ if (r == null) {
285
+ return null;
286
+ }
287
+ if (!r.externalObject) {
288
+ let e = new IgcDashboardTileSortDescriptionCollection();
289
+ if (r.$type) {
290
+ e._implementation = r;
291
+ }
292
+ else {
293
+ if (e.i.setNativeElement) {
294
+ e.i.setNativeElement(r);
295
+ }
296
+ }
297
+ r.externalObject = e;
298
+ }
299
+ return r.externalObject;
300
+ }
301
+ /**
302
+ * Gets the initial sorts that are applied to the chart after groupings and summaries are applied.
303
+ */
304
+ get initialGroupSortDescriptions() {
305
+ const r = this.i.av;
306
+ if (r == null) {
307
+ return null;
308
+ }
309
+ if (!r.externalObject) {
310
+ let e = new IgcDashboardTileSortDescriptionCollection();
311
+ if (r.$type) {
312
+ e._implementation = r;
313
+ }
314
+ else {
315
+ if (e.i.setNativeElement) {
316
+ e.i.setNativeElement(r);
317
+ }
318
+ }
319
+ r.externalObject = e;
320
+ }
321
+ return r.externalObject;
322
+ }
323
+ /**
324
+ * Gets the initial groupings that are applied to the chart.
325
+ */
326
+ get initialGroupDescriptions() {
327
+ const r = this.i.au;
328
+ if (r == null) {
329
+ return null;
330
+ }
331
+ if (!r.externalObject) {
332
+ let e = new IgcDashboardTileSortDescriptionCollection();
333
+ if (r.$type) {
334
+ e._implementation = r;
335
+ }
336
+ else {
337
+ if (e.i.setNativeElement) {
338
+ e.i.setNativeElement(r);
339
+ }
340
+ }
341
+ r.externalObject = e;
342
+ }
343
+ return r.externalObject;
344
+ }
345
+ /**
346
+ * Gets the initial filters that are applied to the chart.
347
+ */
348
+ get initialFilterExpressions() {
349
+ const r = this.i.bj;
350
+ if (r == null) {
351
+ return null;
352
+ }
353
+ if (!r.externalObject) {
354
+ let e = new IgcFilterExpressionCollection();
355
+ if (r.$type) {
356
+ e._implementation = r;
357
+ }
358
+ else {
359
+ if (e.i.setNativeElement) {
360
+ e.i.setNativeElement(r);
361
+ }
362
+ }
363
+ r.externalObject = e;
364
+ }
365
+ return r.externalObject;
366
+ }
367
+ /**
368
+ * Gets the initial highlight filters that are applied to the chart.
369
+ */
370
+ get initialHighlightFilterExpressions() {
371
+ const r = this.i.bk;
372
+ if (r == null) {
373
+ return null;
374
+ }
375
+ if (!r.externalObject) {
376
+ let e = new IgcFilterExpressionCollection();
377
+ if (r.$type) {
378
+ e._implementation = r;
379
+ }
380
+ else {
381
+ if (e.i.setNativeElement) {
382
+ e.i.setNativeElement(r);
383
+ }
384
+ }
385
+ r.externalObject = e;
386
+ }
387
+ return r.externalObject;
388
+ }
389
+ /**
390
+ * Gets the initial summaries that are applied to the chart.
391
+ */
392
+ get initialSummaryDescriptions() {
393
+ const r = this.i.a0;
394
+ if (r == null) {
395
+ return null;
396
+ }
397
+ if (!r.externalObject) {
398
+ let e = new IgcDashboardTileSummaryDescriptionCollection();
399
+ if (r.$type) {
400
+ e._implementation = r;
401
+ }
402
+ else {
403
+ if (e.i.setNativeElement) {
404
+ e.i.setNativeElement(r);
405
+ }
406
+ }
407
+ r.externalObject = e;
408
+ }
409
+ return r.externalObject;
410
+ }
411
+ /**
412
+ * Gets or sets the sorts to apply to the chart. This property will become ignored if sorts are changed outside of this property.
413
+ */
414
+ get initialSorts() {
415
+ return this.i.f2;
416
+ }
417
+ set initialSorts(v) {
418
+ this.i.f2 = v;
419
+ }
420
+ /**
421
+ * Gets or sets the sorts to apply after grouping has been applied.
422
+ */
423
+ get groupSorts() {
424
+ return this.i.fr;
425
+ }
426
+ set groupSorts(v) {
427
+ this.i.fr = v;
428
+ }
429
+ /**
430
+ * Gets or sets the groupings to apply to the chart. This property will become ignored if sorts are changed outside of this property.
431
+ */
432
+ get initialGroups() {
433
+ return this.i.fy;
434
+ }
435
+ set initialGroups(v) {
436
+ this.i.fy = v;
437
+ }
438
+ /**
439
+ * Gets or sets the filter to apply to the chart. This property will become ignored if the filter is changed outside of this property.
440
+ */
441
+ get initialFilter() {
442
+ return this.i.fw;
443
+ }
444
+ set initialFilter(v) {
445
+ this.i.fw = v;
446
+ }
447
+ /**
448
+ * Gets or sets the filter to apply to the chart. This property will become ignored if the filter is changed outside of this property.
449
+ */
450
+ get initialHighlightFilter() {
451
+ return this.i.f0;
452
+ }
453
+ set initialHighlightFilter(v) {
454
+ this.i.f0 = v;
455
+ }
456
+ /**
457
+ * Gets or sets the summaries to apply to the chart. This property will become ignored if sorts are changed outside of this property.
458
+ */
459
+ get initialSummaries() {
460
+ return this.i.f4;
461
+ }
462
+ set initialSummaries(v) {
463
+ this.i.f4 = v;
464
+ }
465
+ /**
466
+ * Gets the current sort that is applied to the grid. Collection can be updated to modify the sort for the grid. Once sort descriptions are in this collection, the grid will no longer listen for changes on their properties.
467
+ */
468
+ get sortDescriptions() {
469
+ const r = this.i.ax;
470
+ if (r == null) {
471
+ return null;
472
+ }
473
+ if (!r.externalObject) {
474
+ let e = new IgcDashboardTileSortDescriptionCollection();
475
+ if (r.$type) {
476
+ e._implementation = r;
477
+ }
478
+ else {
479
+ if (e.i.setNativeElement) {
480
+ e.i.setNativeElement(r);
481
+ }
482
+ }
483
+ r.externalObject = e;
484
+ }
485
+ return r.externalObject;
486
+ }
487
+ get groupSortDescriptions() {
488
+ const r = this.i.at;
489
+ if (r == null) {
490
+ return null;
491
+ }
492
+ if (!r.externalObject) {
493
+ let e = new IgcDashboardTileSortDescriptionCollection();
494
+ if (r.$type) {
495
+ e._implementation = r;
496
+ }
497
+ else {
498
+ if (e.i.setNativeElement) {
499
+ e.i.setNativeElement(r);
500
+ }
501
+ }
502
+ r.externalObject = e;
503
+ }
504
+ return r.externalObject;
505
+ }
506
+ /**
507
+ * Gets the current grouping that is applied to the grid. Collection can be updated to modify the grouping for the grid. Once grouping descriptions are in this collection, the grid will no longer listen for changes on their properties.
508
+ */
509
+ get groupDescriptions() {
510
+ const r = this.i.as;
511
+ if (r == null) {
512
+ return null;
513
+ }
514
+ if (!r.externalObject) {
515
+ let e = new IgcDashboardTileSortDescriptionCollection();
516
+ if (r.$type) {
517
+ e._implementation = r;
518
+ }
519
+ else {
520
+ if (e.i.setNativeElement) {
521
+ e.i.setNativeElement(r);
522
+ }
523
+ }
524
+ r.externalObject = e;
525
+ }
526
+ return r.externalObject;
527
+ }
528
+ /**
529
+ * Gets the current filter that is applied to the chart. Collection can be updated to modify the filter for the chart. Once filter expressions are in this collection, the chart will no longer listen for changes on their properties.
530
+ */
531
+ get filterExpressions() {
532
+ const r = this.i.bh;
533
+ if (r == null) {
534
+ return null;
535
+ }
536
+ if (!r.externalObject) {
537
+ let e = new IgcFilterExpressionCollection();
538
+ if (r.$type) {
539
+ e._implementation = r;
540
+ }
541
+ else {
542
+ if (e.i.setNativeElement) {
543
+ e.i.setNativeElement(r);
544
+ }
545
+ }
546
+ r.externalObject = e;
547
+ }
548
+ return r.externalObject;
549
+ }
550
+ /**
551
+ * Gets the current highlight filter that is applied to the chart. Collection can be updated to modify the highlight filter for the chart. Once filter expressions are in this collection, the chart will no longer listen for changes on their properties.
552
+ */
553
+ get highlightFilterExpressions() {
554
+ const r = this.i.bi;
555
+ if (r == null) {
556
+ return null;
557
+ }
558
+ if (!r.externalObject) {
559
+ let e = new IgcFilterExpressionCollection();
560
+ if (r.$type) {
561
+ e._implementation = r;
562
+ }
563
+ else {
564
+ if (e.i.setNativeElement) {
565
+ e.i.setNativeElement(r);
566
+ }
567
+ }
568
+ r.externalObject = e;
569
+ }
570
+ return r.externalObject;
571
+ }
572
+ /**
573
+ * Gets the current summaries that are applied to the grid.
574
+ */
575
+ get summaryDescriptions() {
576
+ const r = this.i.a1;
577
+ if (r == null) {
578
+ return null;
579
+ }
580
+ if (!r.externalObject) {
581
+ let e = new IgcDashboardTileSummaryDescriptionCollection();
582
+ if (r.$type) {
583
+ e._implementation = r;
584
+ }
585
+ else {
586
+ if (e.i.setNativeElement) {
587
+ e.i.setNativeElement(r);
588
+ }
589
+ }
590
+ r.externalObject = e;
591
+ }
592
+ return r.externalObject;
593
+ }
594
+ /**
595
+ * Gets or sets a collection of data items used to generate the dashboard tile.
596
+ * The ItemsSource of this dashboard tile can be a list of objects containing one or more numeric properties.
597
+ * Additionally, if the objects in the list implement an enumerable interface,
598
+ * the dashboard tile will attempt to delve into the sub-collections when reading through the data source.
599
+ * Data binding can be further configured by attributing the data item classes
600
+ * with the data intent feature.
601
+ */
602
+ get dataSource() {
603
+ return this.i.itemsSource;
604
+ }
605
+ set dataSource(v) {
606
+ this.i.itemsSource = v;
607
+ }
608
+ /**
609
+ * Gets or sets a collection of data items used to generate the dashboard tile.
610
+ * The HighlightedItemsSource of this dashboard tile can be a list of objects containing one or more numeric properties.
611
+ * Additionally, if the objects in the list implement an enumerable interface,
612
+ * the dashboard tile will attempt to delve into the sub-collections when reading through the data source.
613
+ * Data binding can be further configured by attributing the data item classes
614
+ * with the data intent feature.
615
+ */
616
+ get highlightedDataSource() {
617
+ return this.i.highlightedItemsSource;
618
+ }
619
+ set highlightedDataSource(v) {
620
+ this.i.highlightedItemsSource = v;
621
+ }
622
+ /**
623
+ * Gets or sets whether the dashboard tile should display mock data when the data source has not been provided, if supported for this type of chart.
624
+ */
625
+ get shouldDisplayMockData() {
626
+ return this.i.de;
627
+ }
628
+ set shouldDisplayMockData(v) {
629
+ this.i.de = ensureBool(v);
630
+ this._a("shouldDisplayMockData", this.i.de);
631
+ }
632
+ /**
633
+ * Gets or sets whether annotations for the final value of each series is displayed on the axis.
634
+ */
635
+ get shouldAvoidAxisAnnotationCollisions() {
636
+ return this.i.shouldAvoidAxisAnnotationCollisions;
637
+ }
638
+ set shouldAvoidAxisAnnotationCollisions(v) {
639
+ this.i.shouldAvoidAxisAnnotationCollisions = ensureBool(v);
640
+ this._a("shouldAvoidAxisAnnotationCollisions", this.i.shouldAvoidAxisAnnotationCollisions);
641
+ }
642
+ /**
643
+ * Gets or sets the formula used for calculating trend lines in this chart.
644
+ * This property applies only to these chart types: point, line, spline, and bubble
645
+ */
646
+ get trendLineType() {
647
+ return this.i.trendLineType;
648
+ }
649
+ set trendLineType(v) {
650
+ this.i.trendLineType = ensureEnum(TrendLineType_$type, v);
651
+ this._a("trendLineType", enumToString(TrendLineType_$type, this.i.trendLineType));
652
+ }
653
+ /**
654
+ * Gets or sets whether the dashboard tile should use a faded skeleton style for mock data.
655
+ */
656
+ get shouldUseSkeletonStyleForMockData() {
657
+ return this.i.df;
658
+ }
659
+ set shouldUseSkeletonStyleForMockData(v) {
660
+ this.i.df = ensureBool(v);
661
+ this._a("shouldUseSkeletonStyleForMockData", this.i.df);
662
+ }
663
+ /**
664
+ * Gets or sets whether and how to display highlighted values for the series. Note, this is distinct from the highlighting feature that indicates what is closest or under the mouse.
665
+ * This property applies to Category Chart and Financial Chart controls.
666
+ */
667
+ get highlightedValuesDisplayMode() {
668
+ return this.i.af;
669
+ }
670
+ set highlightedValuesDisplayMode(v) {
671
+ this.i.af = ensureEnum(SeriesHighlightedValuesDisplayMode_$type, v);
672
+ this._a("highlightedValuesDisplayMode", enumToString(SeriesHighlightedValuesDisplayMode_$type, this.i.af));
673
+ }
674
+ /**
675
+ * Gets or sets a set of property paths that should be included for consideration by the category chart, leaving the remainder excluded. If null, all properties will be considered.
676
+ */
677
+ get includedProperties() {
678
+ return this.i.includedProperties;
679
+ }
680
+ set includedProperties(v) {
681
+ if (v && !Array.isArray(v) && typeof (v) == "string") {
682
+ const re = /\s*(?:,|\s|$)\s*/gm;
683
+ v = v.split(re);
684
+ }
685
+ this.i.includedProperties = v;
686
+ }
687
+ /**
688
+ * Gets the current set of valid visualization types for the data.
689
+ */
690
+ get validVisualizationTypes() {
691
+ return this.i.m;
692
+ }
693
+ set validVisualizationTypes(v) {
694
+ if (v && !Array.isArray(v) && typeof (v) == "string") {
695
+ const re = /\s*(?:,|\s|$)\s*/gm;
696
+ v = v.split(re);
697
+ }
698
+ this.i.m = v;
699
+ }
700
+ /**
701
+ * Gets or sets a set of property paths that should be excluded from consideration by the category chart.
702
+ */
703
+ get excludedProperties() {
704
+ return this.i.excludedProperties;
705
+ }
706
+ set excludedProperties(v) {
707
+ if (v && !Array.isArray(v) && typeof (v) == "string") {
708
+ const re = /\s*(?:,|\s|$)\s*/gm;
709
+ v = v.split(re);
710
+ }
711
+ this.i.excludedProperties = v;
712
+ }
713
+ /**
714
+ * Gets or sets the palette of brushes to use for coloring the dashboard tile.
715
+ * The value provided should be an array of CSS color strings or JavaScript objects defining gradients. Optionally the first element can be a string reading "RGB" or "HSV" to specify the interpolation mode of the collection
716
+ */
717
+ get brushes() {
718
+ return fromBrushCollection(this.i.v);
719
+ }
720
+ set brushes(v) {
721
+ this.i.v = toBrushCollection(v);
722
+ this._a("brushes", brushCollectionToString(this.i.v));
723
+ }
724
+ /**
725
+ * Gets or sets the palette of brushes to use for outlines on the dashboard tile.
726
+ * The value provided should be an array of CSS color strings or JavaScript objects defining gradients. Optionally the first element can be a string reading "RGB" or "HSV" to specify the interpolation mode of the collection
727
+ */
728
+ get outlines() {
729
+ return fromBrushCollection(this.i.w);
730
+ }
731
+ set outlines(v) {
732
+ this.i.w = toBrushCollection(v);
733
+ this._a("outlines", brushCollectionToString(this.i.w));
734
+ }
735
+ /**
736
+ * Gets the currently selected data items. Adding or removing data items from this collection will
737
+ * select or deselect the visuals associated with those items.
738
+ */
739
+ get selectedSeriesItems() {
740
+ if (this._selectedSeriesItems === null) {
741
+ let coll = new IgcChartSelectedItemCollection();
742
+ let innerColl = this.i.selectedSeriesItems;
743
+ if (!innerColl) {
744
+ innerColl = new ChartSelectedItemCollection_internal();
745
+ }
746
+ this._selectedSeriesItems = coll._fromInner(innerColl);
747
+ this.i.selectedSeriesItems = innerColl;
748
+ }
749
+ return this._selectedSeriesItems;
750
+ }
751
+ set selectedSeriesItems(v) {
752
+ if (this._selectedSeriesItems !== null) {
753
+ this._selectedSeriesItems._setSyncTarget(null);
754
+ this._selectedSeriesItems = null;
755
+ }
756
+ let coll = new IgcChartSelectedItemCollection();
757
+ this._selectedSeriesItems = coll._fromOuter(v);
758
+ let syncColl = new SyncableObservableCollection$1(ChartSelection.$type);
759
+ let innerColl = this.i.selectedSeriesItems;
760
+ if (!innerColl) {
761
+ innerColl = new ChartSelectedItemCollection_internal();
762
+ }
763
+ syncColl._inner = innerColl;
764
+ syncColl.clear();
765
+ this._selectedSeriesItems._setSyncTarget(syncColl);
766
+ this.i.selectedSeriesItems = innerColl;
767
+ }
768
+ /**
769
+ * Gets the actual palette of brushes to use for coloring the chart series.
770
+ */
771
+ get actualBrushes() {
772
+ return fromBrushCollection(this.i.t);
773
+ }
774
+ set actualBrushes(v) {
775
+ this.i.t = toBrushCollection(v);
776
+ this._a("actualBrushes", brushCollectionToString(this.i.t));
777
+ }
778
+ /**
779
+ * Gets the actual palette of brushes to use for outlines on the chart series.
780
+ */
781
+ get actualOutlines() {
782
+ return fromBrushCollection(this.i.u);
783
+ }
784
+ set actualOutlines(v) {
785
+ this.i.u = toBrushCollection(v);
786
+ this._a("actualOutlines", brushCollectionToString(this.i.u));
787
+ }
788
+ /**
789
+ * Gets the brush to use for the Category axis major strokes, if applicable.
790
+ */
791
+ get categoryAxisMajorStroke() {
792
+ return brushToString(this.i.h9);
793
+ }
794
+ set categoryAxisMajorStroke(v) {
795
+ this.i.h9 = stringToBrush(v);
796
+ this._a("categoryAxisMajorStroke", brushToString(this.i.h9));
797
+ }
798
+ /**
799
+ * Gets or sets what value lines to use in the chart.
800
+ */
801
+ get valueLines() {
802
+ if (this._valueLines === null) {
803
+ let coll = new IgcValueModeCollection();
804
+ let innerColl = this.i.valueLines;
805
+ if (!innerColl) {
806
+ innerColl = new ValueModeCollection_internal();
807
+ }
808
+ this._valueLines = coll._fromInner(innerColl);
809
+ this.i.valueLines = innerColl;
810
+ }
811
+ return this._valueLines;
812
+ }
813
+ set valueLines(v) {
814
+ if (this._valueLines !== null) {
815
+ this._valueLines._setSyncTarget(null);
816
+ this._valueLines = null;
817
+ }
818
+ let coll = new IgcValueModeCollection();
819
+ this._valueLines = coll._fromOuter(v);
820
+ let syncColl = new SyncableObservableCollection$1(ValueLayerValueMode_$type);
821
+ let innerColl = this.i.valueLines;
822
+ if (!innerColl) {
823
+ innerColl = new ValueModeCollection_internal();
824
+ }
825
+ syncColl._inner = innerColl;
826
+ syncColl.clear();
827
+ this._valueLines._setSyncTarget(syncColl);
828
+ this.i.valueLines = innerColl;
829
+ }
830
+ /**
831
+ * Gets or sets the palette of brushes to use for coloring the value lines present in the ValueLines property.
832
+ * The value provided should be an array of CSS color strings or JavaScript objects defining gradients. Optionally the first element can be a string reading "RGB" or "HSV" to specify the interpolation mode of the collection
833
+ */
834
+ get valueLinesBrushes() {
835
+ return fromBrushCollection(this.i.valueLinesBrushes);
836
+ }
837
+ set valueLinesBrushes(v) {
838
+ this.i.valueLinesBrushes = toBrushCollection(v);
839
+ this._a("valueLinesBrushes", brushCollectionToString(this.i.valueLinesBrushes));
840
+ }
841
+ /**
842
+ * Gets or sets if the auto value callouts should be displayed.
843
+ */
844
+ get autoCalloutsVisible() {
845
+ return this.i.autoCalloutsVisible;
846
+ }
847
+ set autoCalloutsVisible(v) {
848
+ this.i.autoCalloutsVisible = ensureBool(v);
849
+ this._a("autoCalloutsVisible", this.i.autoCalloutsVisible);
850
+ }
851
+ /**
852
+ * Gets or sets whether annotations are shown along the axis for crosshair values
853
+ */
854
+ get crosshairsAnnotationEnabled() {
855
+ return this.i.crosshairsAnnotationEnabled;
856
+ }
857
+ set crosshairsAnnotationEnabled(v) {
858
+ this.i.crosshairsAnnotationEnabled = ensureBool(v);
859
+ this._a("crosshairsAnnotationEnabled", this.i.crosshairsAnnotationEnabled);
860
+ }
861
+ /**
862
+ * Gets or sets whether annotations for the final value of each series is displayed on the axis.
863
+ */
864
+ get finalValueAnnotationsVisible() {
865
+ return this.i.finalValueAnnotationsVisible;
866
+ }
867
+ set finalValueAnnotationsVisible(v) {
868
+ this.i.finalValueAnnotationsVisible = ensureBool(v);
869
+ this._a("finalValueAnnotationsVisible", this.i.finalValueAnnotationsVisible);
870
+ }
871
+ /**
872
+ * Gets or sets the crosshairs to be displayed.
873
+ */
874
+ get crosshairsDisplayMode() {
875
+ return this.i.crosshairsDisplayMode;
876
+ }
877
+ set crosshairsDisplayMode(v) {
878
+ this.i.crosshairsDisplayMode = ensureEnum(CrosshairsDisplayMode_$type, v);
879
+ this._a("crosshairsDisplayMode", enumToString(CrosshairsDisplayMode_$type, this.i.crosshairsDisplayMode));
880
+ }
881
+ /**
882
+ * Gets or sets the crosshairs to be displayed.
883
+ */
884
+ get visualizationType() {
885
+ return this.i.a6;
886
+ }
887
+ set visualizationType(v) {
888
+ this.i.a6 = ensureEnum(DashboardTileVisualizationType_$type, v);
889
+ this._a("visualizationType", enumToString(DashboardTileVisualizationType_$type, this.i.a6));
890
+ }
891
+ /**
892
+ * Gets or sets the crosshairs to be displayed.
893
+ */
894
+ get validVisualizationTypePriorityThreshold() {
895
+ return this.i.d7;
896
+ }
897
+ set validVisualizationTypePriorityThreshold(v) {
898
+ this.i.d7 = +v;
899
+ this._a("validVisualizationTypePriorityThreshold", this.i.d7);
900
+ }
901
+ /**
902
+ * Gets or sets the base built in theme to use for the checkbox.
903
+ */
904
+ get baseTheme() {
905
+ return this.i.bt;
906
+ }
907
+ set baseTheme(v) {
908
+ this.i.bt = ensureEnum(BaseControlTheme_$type, v);
909
+ this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.bt));
910
+ }
911
+ /**
912
+ * Gets or sets the display density to use for the toolbar.
913
+ */
914
+ get density() {
915
+ return this.i.bv;
916
+ }
917
+ set density(v) {
918
+ this.i.bv = ensureEnum(ControlDisplayDensity_$type, v);
919
+ this._a("density", enumToString(ControlDisplayDensity_$type, this.i.bv));
920
+ }
921
+ /**
922
+ * Gets or sets the color to use for the background of the component.
923
+ */
924
+ get backgroundColor() {
925
+ return brushToString(this.i.h8);
926
+ }
927
+ set backgroundColor(v) {
928
+ this.i.h8 = stringToBrush(v);
929
+ this._a("backgroundColor", brushToString(this.i.h8));
930
+ }
931
+ get isVisTypeStacked() {
932
+ return this.i.c9;
933
+ }
934
+ get isVisTypeRadial() {
935
+ return this.i.c8;
936
+ }
937
+ findByName(name) {
938
+ if (this.findEphemera) {
939
+ if (name && name.indexOf("@@e:") == 0) {
940
+ return this.findEphemera(name);
941
+ }
942
+ }
943
+ if (this.customizations != null && this.customizations.findByName && this.customizations.findByName(name)) {
944
+ return this.customizations.findByName(name);
945
+ }
946
+ if (this.initialSortDescriptions != null && this.initialSortDescriptions.findByName && this.initialSortDescriptions.findByName(name)) {
947
+ return this.initialSortDescriptions.findByName(name);
948
+ }
949
+ if (this.initialGroupSortDescriptions != null && this.initialGroupSortDescriptions.findByName && this.initialGroupSortDescriptions.findByName(name)) {
950
+ return this.initialGroupSortDescriptions.findByName(name);
951
+ }
952
+ if (this.initialGroupDescriptions != null && this.initialGroupDescriptions.findByName && this.initialGroupDescriptions.findByName(name)) {
953
+ return this.initialGroupDescriptions.findByName(name);
954
+ }
955
+ if (this.initialFilterExpressions != null && this.initialFilterExpressions.findByName && this.initialFilterExpressions.findByName(name)) {
956
+ return this.initialFilterExpressions.findByName(name);
957
+ }
958
+ if (this.initialHighlightFilterExpressions != null && this.initialHighlightFilterExpressions.findByName && this.initialHighlightFilterExpressions.findByName(name)) {
959
+ return this.initialHighlightFilterExpressions.findByName(name);
960
+ }
961
+ if (this.initialSummaryDescriptions != null && this.initialSummaryDescriptions.findByName && this.initialSummaryDescriptions.findByName(name)) {
962
+ return this.initialSummaryDescriptions.findByName(name);
963
+ }
964
+ if (this.sortDescriptions != null && this.sortDescriptions.findByName && this.sortDescriptions.findByName(name)) {
965
+ return this.sortDescriptions.findByName(name);
966
+ }
967
+ if (this.groupSortDescriptions != null && this.groupSortDescriptions.findByName && this.groupSortDescriptions.findByName(name)) {
968
+ return this.groupSortDescriptions.findByName(name);
969
+ }
970
+ if (this.groupDescriptions != null && this.groupDescriptions.findByName && this.groupDescriptions.findByName(name)) {
971
+ return this.groupDescriptions.findByName(name);
972
+ }
973
+ if (this.filterExpressions != null && this.filterExpressions.findByName && this.filterExpressions.findByName(name)) {
974
+ return this.filterExpressions.findByName(name);
975
+ }
976
+ if (this.highlightFilterExpressions != null && this.highlightFilterExpressions.findByName && this.highlightFilterExpressions.findByName(name)) {
977
+ return this.highlightFilterExpressions.findByName(name);
978
+ }
979
+ if (this.summaryDescriptions != null && this.summaryDescriptions.findByName && this.summaryDescriptions.findByName(name)) {
980
+ return this.summaryDescriptions.findByName(name);
981
+ }
982
+ if (this.selectedSeriesItems != null && this.selectedSeriesItems.findByName && this.selectedSeriesItems.findByName(name)) {
983
+ return this.selectedSeriesItems.findByName(name);
984
+ }
985
+ if (this.valueLines != null && this.valueLines.findByName && this.valueLines.findByName(name)) {
986
+ return this.valueLines.findByName(name);
987
+ }
988
+ return null;
989
+ }
990
+ get hasUserValues() {
991
+ return this._hasUserValues;
992
+ }
993
+ __m(propertyName) {
994
+ if (!this._inStyling) {
995
+ this._hasUserValues.add(propertyName);
996
+ }
997
+ }
998
+ _styling(container, component, parent) {
999
+ if (this._inStyling) {
1000
+ return;
1001
+ }
1002
+ this._inStyling = true;
1003
+ this._stylingContainer = container;
1004
+ this._stylingParent = component;
1005
+ let genericPrefix = "";
1006
+ let typeName = this.i.$type.name;
1007
+ if (typeName.indexOf("Xam") === 0) {
1008
+ typeName = typeName.substring(3);
1009
+ }
1010
+ genericPrefix = toSpinal("DashboardTileComponent");
1011
+ let additionalPrefixes = [];
1012
+ let prefix = toSpinal(typeName);
1013
+ additionalPrefixes.push(prefix + "-");
1014
+ let b = this.i.$type.baseType;
1015
+ while (b && b.name != "Object" &&
1016
+ b.name != "Base" &&
1017
+ b.name != "Control" &&
1018
+ b.Name != "DependencyObject" &&
1019
+ b.Name != "FrameworkElement") {
1020
+ typeName = b.name;
1021
+ if (typeName.indexOf("Xam") === 0) {
1022
+ typeName = typeName.substring(3);
1023
+ }
1024
+ let basePrefix = toSpinal(typeName);
1025
+ additionalPrefixes.push(basePrefix + "-");
1026
+ b = b.baseType;
1027
+ }
1028
+ if (parent) {
1029
+ let parentTypeName = parent.i.$type.name;
1030
+ if (parentTypeName.indexOf("Xam") === 0) {
1031
+ parentTypeName = parentTypeName.substring(3);
1032
+ }
1033
+ let parentPrefix = toSpinal(parentTypeName);
1034
+ additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
1035
+ additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
1036
+ }
1037
+ initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
1038
+ if (this._otherStyling) {
1039
+ this._otherStyling(container, component, parent);
1040
+ }
1041
+ this._inStyling = false;
1042
+ }
1043
+ updateSettingsValue(key, value) {
1044
+ this.i.h2(key, value);
1045
+ }
1046
+ getSettingsValue(key) {
1047
+ let iv = this.i.er(key);
1048
+ return (iv);
1049
+ }
1050
+ hasModifiedSettings() {
1051
+ let iv = this.i.ct();
1052
+ return (iv);
1053
+ }
1054
+ clearSettings() {
1055
+ this.i.gr();
1056
+ }
1057
+ removeSettingsValue(key) {
1058
+ this.i.hr(key);
1059
+ }
1060
+ zoomIn(percentage) {
1061
+ this.i.zoomIn(percentage);
1062
+ }
1063
+ /**
1064
+ * Performs zoom out action on the chart by specified percentage of current window rect
1065
+
1066
+ */
1067
+ zoomOut(percentage) {
1068
+ this.i.zoomOut(percentage);
1069
+ }
1070
+ /**
1071
+ * Resets the zoom level to default.
1072
+
1073
+ */
1074
+ resetZoom() {
1075
+ this.i.resetZoom();
1076
+ }
1077
+ onUIReady() {
1078
+ this.i.hk();
1079
+ }
1080
+ getDesiredToolbarActions() {
1081
+ let iv = this.i.getDesiredToolbarActions();
1082
+ return (iv);
1083
+ }
1084
+ addCommandAvailabilityListener(listener) {
1085
+ this.i.addCommandAvailabilityListener(listener);
1086
+ }
1087
+ removeCommandAvailabilityListener(listener) {
1088
+ this.i.removeCommandAvailabilityListener(listener);
1089
+ }
1090
+ addCommandStateChangedListener(listener) {
1091
+ this.i.addCommandStateChangedListener(listener);
1092
+ }
1093
+ removeCommandStateChangedListener(listener) {
1094
+ this.i.removeCommandStateChangedListener(listener);
1095
+ }
1096
+ get changingContent() {
1097
+ return this._changingContent;
1098
+ }
1099
+ set changingContent(ev) {
1100
+ if (this._changingContent_wrapped !== null) {
1101
+ this.i.changingContent = delegateRemove(this.i.changingContent, this._changingContent_wrapped);
1102
+ this._changingContent_wrapped = null;
1103
+ this._changingContent = null;
1104
+ }
1105
+ this._changingContent = ev;
1106
+ this._changingContent_wrapped = (o, e) => {
1107
+ let outerArgs = new IgcDashboardTileChangingContentEventArgs();
1108
+ outerArgs._provideImplementation(e);
1109
+ if (this.beforeChangingContent) {
1110
+ this.beforeChangingContent(this, outerArgs);
1111
+ }
1112
+ if (this._changingContent) {
1113
+ this._changingContent(this, outerArgs);
1114
+ }
1115
+ };
1116
+ this.i.changingContent = delegateCombine(this.i.changingContent, this._changingContent_wrapped);
1117
+ ;
1118
+ }
1119
+ get filterStringErrorsParsing() {
1120
+ return this._filterStringErrorsParsing;
1121
+ }
1122
+ set filterStringErrorsParsing(ev) {
1123
+ if (this._filterStringErrorsParsing_wrapped !== null) {
1124
+ this.i.filterStringErrorsParsing = delegateRemove(this.i.filterStringErrorsParsing, this._filterStringErrorsParsing_wrapped);
1125
+ this._filterStringErrorsParsing_wrapped = null;
1126
+ this._filterStringErrorsParsing = null;
1127
+ }
1128
+ this._filterStringErrorsParsing = ev;
1129
+ this._filterStringErrorsParsing_wrapped = (o, e) => {
1130
+ let outerArgs = new IgcDashboardTileFilterStringErrorsParsingEventArgs();
1131
+ outerArgs._provideImplementation(e);
1132
+ if (this.beforeFilterStringErrorsParsing) {
1133
+ this.beforeFilterStringErrorsParsing(this, outerArgs);
1134
+ }
1135
+ if (this._filterStringErrorsParsing) {
1136
+ this._filterStringErrorsParsing(this, outerArgs);
1137
+ }
1138
+ };
1139
+ this.i.filterStringErrorsParsing = delegateCombine(this.i.filterStringErrorsParsing, this._filterStringErrorsParsing_wrapped);
1140
+ ;
1141
+ }
1142
+ }
1143
+ IgcDashboardTileComponent._observedAttributesIgcDashboardTileComponent = null;
1144
+ IgcDashboardTileComponent.htmlTagName = "igc-dashboard-tile";
1145
+ IgcDashboardTileComponent._isElementRegistered = false;
1146
+ return IgcDashboardTileComponent;
1147
+ })();