@unovis/angular 1.2.2-beta.2 → 1.3.0-alpha.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.
package/dist/LICENSE ADDED
@@ -0,0 +1,193 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ https://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ © 2022 F5, Inc. https://www.f5.com/
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ https://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
191
+
192
+ This project uses multiple third-party components under different open-source
193
+ licences. See license.txt for more details.
package/dist/README.md ADDED
@@ -0,0 +1,66 @@
1
+ ![cover](https://user-images.githubusercontent.com/755708/194946760-13db0396-c429-4abb-8324-a5efae0455e2.png)
2
+
3
+ 🟨 **Unovis** is a modular data visualization framework for React, Angular, Svelte, and vanilla TypeScript or JavaScript.
4
+
5
+ `@unovis/angular` provides Angular modules to `@unovis/ts`, which makes Unovis integration into an Angular
6
+ app much easier.
7
+
8
+ Learn more about **Unovis** on our website [unovis.dev](https://unovis.dev)
9
+
10
+ ## Installation
11
+ ```bash
12
+ npm install -P @unovis/ts @unovis/angular
13
+ ```
14
+
15
+ ## Quick Start
16
+ #### HTML
17
+ ```html
18
+ <vis-xy-container [height]="500">
19
+ <vis-line [data]="data" [x]="x" [y]="y"></vis-line>
20
+ <vis-axis type="x"></vis-axis>
21
+ <vis-axis type="y"></vis-axis>
22
+ </vis-xy-container>
23
+ ```
24
+ #### Component
25
+ ```ts
26
+ import { Component } from '@angular/core'
27
+
28
+ type DataRecord = { x: number; y: number }
29
+
30
+ @Component({
31
+ selector: 'basic-line-chart',
32
+ templateUrl: './basic-line-chart.component.html'
33
+ })
34
+ export class BasicLineChartComponent {
35
+ x = (d: DataRecord): number => d.x
36
+ y = (d: DataRecord): number => d.y
37
+ data: DataRecord[] = [
38
+ { x: 0, y: 0 },
39
+ { x: 1, y: 2 },
40
+ { x: 2, y: 1 },
41
+ ]
42
+ }
43
+ ```
44
+ #### Module
45
+ ```ts
46
+ import { NgModule } from '@angular/core'
47
+ import { VisXYContainerModule, VisLineModule, VisAxisModule } from '@unovis/angular'
48
+
49
+ import { BasicLineChartComponent } from './basic-line-chart.component'
50
+
51
+ @NgModule({
52
+ imports: [VisXYContainerModule, VisLineModule, VisAxisModule],
53
+ declarations: [BasicLineChartComponent],
54
+ exports: [BasicLineChartComponent],
55
+ })
56
+ export class BasicLineChartModule { }
57
+ ```
58
+
59
+ ## Documentation
60
+ https://unovis.dev/docs
61
+
62
+ ## Examples
63
+ https://unovis.dev/gallery
64
+
65
+ ## License
66
+ Apache-2.0
@@ -898,8 +898,8 @@
898
898
  (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
899
899
  };
900
900
  VisAxisComponent.prototype.getConfig = function () {
901
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, position = _d.position, type = _d.type, fullSize = _d.fullSize, label = _d.label, labelFontSize = _d.labelFontSize, labelMargin = _d.labelMargin, labelColor = _d.labelColor, gridLine = _d.gridLine, tickLine = _d.tickLine, domainLine = _d.domainLine, minMaxTicksOnly = _d.minMaxTicksOnly, tickFormat = _d.tickFormat, tickValues = _d.tickValues, numTicks = _d.numTicks, tickTextFitMode = _d.tickTextFitMode, tickTextWidth = _d.tickTextWidth, tickTextSeparator = _d.tickTextSeparator, tickTextForceWordBreak = _d.tickTextForceWordBreak, tickTextTrimType = _d.tickTextTrimType, tickTextFontSize = _d.tickTextFontSize, tickTextAlign = _d.tickTextAlign, tickTextColor = _d.tickTextColor, tickPadding = _d.tickPadding;
902
- var config = { duration: duration, events: events, attributes: attributes, x: x, y: y, id: id, color: color, xScale: xScale, yScale: yScale, excludeFromDomainCalculation: excludeFromDomainCalculation, position: position, type: type, fullSize: fullSize, label: label, labelFontSize: labelFontSize, labelMargin: labelMargin, labelColor: labelColor, gridLine: gridLine, tickLine: tickLine, domainLine: domainLine, minMaxTicksOnly: minMaxTicksOnly, tickFormat: tickFormat, tickValues: tickValues, numTicks: numTicks, tickTextFitMode: tickTextFitMode, tickTextWidth: tickTextWidth, tickTextSeparator: tickTextSeparator, tickTextForceWordBreak: tickTextForceWordBreak, tickTextTrimType: tickTextTrimType, tickTextFontSize: tickTextFontSize, tickTextAlign: tickTextAlign, tickTextColor: tickTextColor, tickPadding: tickPadding };
901
+ var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, position = _d.position, type = _d.type, fullSize = _d.fullSize, label = _d.label, labelFontSize = _d.labelFontSize, labelMargin = _d.labelMargin, labelColor = _d.labelColor, gridLine = _d.gridLine, tickLine = _d.tickLine, domainLine = _d.domainLine, minMaxTicksOnly = _d.minMaxTicksOnly, tickFormat = _d.tickFormat, tickValues = _d.tickValues, numTicks = _d.numTicks, tickTextFitMode = _d.tickTextFitMode, tickTextWidth = _d.tickTextWidth, tickTextSeparator = _d.tickTextSeparator, tickTextForceWordBreak = _d.tickTextForceWordBreak, tickTextTrimType = _d.tickTextTrimType, tickTextFontSize = _d.tickTextFontSize, tickTextAlign = _d.tickTextAlign, tickTextColor = _d.tickTextColor, tickPadding = _d.tickPadding;
902
+ var config = { duration: duration, events: events, attributes: attributes, position: position, type: type, fullSize: fullSize, label: label, labelFontSize: labelFontSize, labelMargin: labelMargin, labelColor: labelColor, gridLine: gridLine, tickLine: tickLine, domainLine: domainLine, minMaxTicksOnly: minMaxTicksOnly, tickFormat: tickFormat, tickValues: tickValues, numTicks: numTicks, tickTextFitMode: tickTextFitMode, tickTextWidth: tickTextWidth, tickTextSeparator: tickTextSeparator, tickTextForceWordBreak: tickTextForceWordBreak, tickTextTrimType: tickTextTrimType, tickTextFontSize: tickTextFontSize, tickTextAlign: tickTextAlign, tickTextColor: tickTextColor, tickPadding: tickPadding };
903
903
  var keys = Object.keys(config);
904
904
  keys.forEach(function (key) {
905
905
  if (config[key] === undefined)
@@ -910,7 +910,7 @@
910
910
  return VisAxisComponent;
911
911
  }());
912
912
  VisAxisComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAxisComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
913
- VisAxisComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisAxisComponent, selector: "vis-axis", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", position: "position", type: "type", fullSize: "fullSize", label: "label", labelFontSize: "labelFontSize", labelMargin: "labelMargin", labelColor: "labelColor", gridLine: "gridLine", tickLine: "tickLine", domainLine: "domainLine", minMaxTicksOnly: "minMaxTicksOnly", tickFormat: "tickFormat", tickValues: "tickValues", numTicks: "numTicks", tickTextFitMode: "tickTextFitMode", tickTextWidth: "tickTextWidth", tickTextSeparator: "tickTextSeparator", tickTextForceWordBreak: "tickTextForceWordBreak", tickTextTrimType: "tickTextTrimType", tickTextFontSize: "tickTextFontSize", tickTextAlign: "tickTextAlign", tickTextColor: "tickTextColor", tickPadding: "tickPadding", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisAxisComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
913
+ VisAxisComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisAxisComponent, selector: "vis-axis", inputs: { duration: "duration", events: "events", attributes: "attributes", position: "position", type: "type", fullSize: "fullSize", label: "label", labelFontSize: "labelFontSize", labelMargin: "labelMargin", labelColor: "labelColor", gridLine: "gridLine", tickLine: "tickLine", domainLine: "domainLine", minMaxTicksOnly: "minMaxTicksOnly", tickFormat: "tickFormat", tickValues: "tickValues", numTicks: "numTicks", tickTextFitMode: "tickTextFitMode", tickTextWidth: "tickTextWidth", tickTextSeparator: "tickTextSeparator", tickTextForceWordBreak: "tickTextForceWordBreak", tickTextTrimType: "tickTextTrimType", tickTextFontSize: "tickTextFontSize", tickTextAlign: "tickTextAlign", tickTextColor: "tickTextColor", tickPadding: "tickPadding", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisAxisComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
914
914
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAxisComponent, decorators: [{
915
915
  type: i0.Component,
916
916
  args: [{
@@ -925,20 +925,6 @@
925
925
  type: i0.Input
926
926
  }], attributes: [{
927
927
  type: i0.Input
928
- }], x: [{
929
- type: i0.Input
930
- }], y: [{
931
- type: i0.Input
932
- }], id: [{
933
- type: i0.Input
934
- }], color: [{
935
- type: i0.Input
936
- }], xScale: [{
937
- type: i0.Input
938
- }], yScale: [{
939
- type: i0.Input
940
- }], excludeFromDomainCalculation: [{
941
- type: i0.Input
942
928
  }], position: [{
943
929
  type: i0.Input
944
930
  }], type: [{
@@ -1028,8 +1014,8 @@
1028
1014
  (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1029
1015
  };
1030
1016
  VisBrushComponent.prototype.getConfig = function () {
1031
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, onBrush = _d.onBrush, onBrushStart = _d.onBrushStart, onBrushMove = _d.onBrushMove, onBrushEnd = _d.onBrushEnd, handleWidth = _d.handleWidth, selection = _d.selection, draggable = _d.draggable, handlePosition = _d.handlePosition, selectionMinLength = _d.selectionMinLength;
1032
- var config = { duration: duration, events: events, attributes: attributes, x: x, y: y, id: id, color: color, xScale: xScale, yScale: yScale, excludeFromDomainCalculation: excludeFromDomainCalculation, onBrush: onBrush, onBrushStart: onBrushStart, onBrushMove: onBrushMove, onBrushEnd: onBrushEnd, handleWidth: handleWidth, selection: selection, draggable: draggable, handlePosition: handlePosition, selectionMinLength: selectionMinLength };
1017
+ var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, onBrush = _d.onBrush, onBrushStart = _d.onBrushStart, onBrushMove = _d.onBrushMove, onBrushEnd = _d.onBrushEnd, handleWidth = _d.handleWidth, selection = _d.selection, draggable = _d.draggable, handlePosition = _d.handlePosition, selectionMinLength = _d.selectionMinLength;
1018
+ var config = { duration: duration, events: events, attributes: attributes, onBrush: onBrush, onBrushStart: onBrushStart, onBrushMove: onBrushMove, onBrushEnd: onBrushEnd, handleWidth: handleWidth, selection: selection, draggable: draggable, handlePosition: handlePosition, selectionMinLength: selectionMinLength };
1033
1019
  var keys = Object.keys(config);
1034
1020
  keys.forEach(function (key) {
1035
1021
  if (config[key] === undefined)
@@ -1040,7 +1026,7 @@
1040
1026
  return VisBrushComponent;
1041
1027
  }());
1042
1028
  VisBrushComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBrushComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1043
- VisBrushComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisBrushComponent, selector: "vis-brush", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", onBrush: "onBrush", onBrushStart: "onBrushStart", onBrushMove: "onBrushMove", onBrushEnd: "onBrushEnd", handleWidth: "handleWidth", selection: "selection", draggable: "draggable", handlePosition: "handlePosition", selectionMinLength: "selectionMinLength", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisBrushComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
1029
+ VisBrushComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisBrushComponent, selector: "vis-brush", inputs: { duration: "duration", events: "events", attributes: "attributes", onBrush: "onBrush", onBrushStart: "onBrushStart", onBrushMove: "onBrushMove", onBrushEnd: "onBrushEnd", handleWidth: "handleWidth", selection: "selection", draggable: "draggable", handlePosition: "handlePosition", selectionMinLength: "selectionMinLength", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisBrushComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
1044
1030
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBrushComponent, decorators: [{
1045
1031
  type: i0.Component,
1046
1032
  args: [{
@@ -1055,20 +1041,6 @@
1055
1041
  type: i0.Input
1056
1042
  }], attributes: [{
1057
1043
  type: i0.Input
1058
- }], x: [{
1059
- type: i0.Input
1060
- }], y: [{
1061
- type: i0.Input
1062
- }], id: [{
1063
- type: i0.Input
1064
- }], color: [{
1065
- type: i0.Input
1066
- }], xScale: [{
1067
- type: i0.Input
1068
- }], yScale: [{
1069
- type: i0.Input
1070
- }], excludeFromDomainCalculation: [{
1071
- type: i0.Input
1072
1044
  }], onBrush: [{
1073
1045
  type: i0.Input
1074
1046
  }], onBrushStart: [{
@@ -1130,8 +1102,8 @@
1130
1102
  (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1131
1103
  };
1132
1104
  VisFreeBrushComponent.prototype.getConfig = function () {
1133
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, mode = _d.mode, onBrush = _d.onBrush, onBrushStart = _d.onBrushStart, onBrushMove = _d.onBrushMove, onBrushEnd = _d.onBrushEnd, handleWidth = _d.handleWidth, selection = _d.selection, selectionMinLength = _d.selectionMinLength, autoHide = _d.autoHide;
1134
- var config = { duration: duration, events: events, attributes: attributes, x: x, y: y, id: id, color: color, xScale: xScale, yScale: yScale, excludeFromDomainCalculation: excludeFromDomainCalculation, mode: mode, onBrush: onBrush, onBrushStart: onBrushStart, onBrushMove: onBrushMove, onBrushEnd: onBrushEnd, handleWidth: handleWidth, selection: selection, selectionMinLength: selectionMinLength, autoHide: autoHide };
1105
+ var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, mode = _d.mode, onBrush = _d.onBrush, onBrushStart = _d.onBrushStart, onBrushMove = _d.onBrushMove, onBrushEnd = _d.onBrushEnd, handleWidth = _d.handleWidth, selection = _d.selection, selectionMinLength = _d.selectionMinLength, autoHide = _d.autoHide;
1106
+ var config = { duration: duration, events: events, attributes: attributes, mode: mode, onBrush: onBrush, onBrushStart: onBrushStart, onBrushMove: onBrushMove, onBrushEnd: onBrushEnd, handleWidth: handleWidth, selection: selection, selectionMinLength: selectionMinLength, autoHide: autoHide };
1135
1107
  var keys = Object.keys(config);
1136
1108
  keys.forEach(function (key) {
1137
1109
  if (config[key] === undefined)
@@ -1142,7 +1114,7 @@
1142
1114
  return VisFreeBrushComponent;
1143
1115
  }());
1144
1116
  VisFreeBrushComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFreeBrushComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1145
- VisFreeBrushComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisFreeBrushComponent, selector: "vis-free-brush", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", mode: "mode", onBrush: "onBrush", onBrushStart: "onBrushStart", onBrushMove: "onBrushMove", onBrushEnd: "onBrushEnd", handleWidth: "handleWidth", selection: "selection", selectionMinLength: "selectionMinLength", autoHide: "autoHide", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisFreeBrushComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
1117
+ VisFreeBrushComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisFreeBrushComponent, selector: "vis-free-brush", inputs: { duration: "duration", events: "events", attributes: "attributes", mode: "mode", onBrush: "onBrush", onBrushStart: "onBrushStart", onBrushMove: "onBrushMove", onBrushEnd: "onBrushEnd", handleWidth: "handleWidth", selection: "selection", selectionMinLength: "selectionMinLength", autoHide: "autoHide", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisFreeBrushComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
1146
1118
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFreeBrushComponent, decorators: [{
1147
1119
  type: i0.Component,
1148
1120
  args: [{
@@ -1157,20 +1129,6 @@
1157
1129
  type: i0.Input
1158
1130
  }], attributes: [{
1159
1131
  type: i0.Input
1160
- }], x: [{
1161
- type: i0.Input
1162
- }], y: [{
1163
- type: i0.Input
1164
- }], id: [{
1165
- type: i0.Input
1166
- }], color: [{
1167
- type: i0.Input
1168
- }], xScale: [{
1169
- type: i0.Input
1170
- }], yScale: [{
1171
- type: i0.Input
1172
- }], excludeFromDomainCalculation: [{
1173
- type: i0.Input
1174
1132
  }], mode: [{
1175
1133
  type: i0.Input
1176
1134
  }], onBrush: [{
@@ -1232,8 +1190,8 @@
1232
1190
  (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1233
1191
  };
1234
1192
  VisCrosshairComponent.prototype.getConfig = function () {
1235
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, yStacked = _d.yStacked, baseline = _d.baseline, tooltip = _d.tooltip, template = _d.template, hideWhenFarFromPointer = _d.hideWhenFarFromPointer, hideWhenFarFromPointerDistance = _d.hideWhenFarFromPointerDistance, snapToData = _d.snapToData, getCircles = _d.getCircles;
1236
- var config = { duration: duration, events: events, attributes: attributes, x: x, y: y, id: id, color: color, xScale: xScale, yScale: yScale, excludeFromDomainCalculation: excludeFromDomainCalculation, yStacked: yStacked, baseline: baseline, tooltip: tooltip, template: template, hideWhenFarFromPointer: hideWhenFarFromPointer, hideWhenFarFromPointerDistance: hideWhenFarFromPointerDistance, snapToData: snapToData, getCircles: getCircles };
1193
+ var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, yStacked = _d.yStacked, baseline = _d.baseline, tooltip = _d.tooltip, template = _d.template, hideWhenFarFromPointer = _d.hideWhenFarFromPointer, hideWhenFarFromPointerDistance = _d.hideWhenFarFromPointerDistance, snapToData = _d.snapToData, getCircles = _d.getCircles;
1194
+ var config = { duration: duration, events: events, attributes: attributes, yStacked: yStacked, baseline: baseline, tooltip: tooltip, template: template, hideWhenFarFromPointer: hideWhenFarFromPointer, hideWhenFarFromPointerDistance: hideWhenFarFromPointerDistance, snapToData: snapToData, getCircles: getCircles };
1237
1195
  var keys = Object.keys(config);
1238
1196
  keys.forEach(function (key) {
1239
1197
  if (config[key] === undefined)
@@ -1244,7 +1202,7 @@
1244
1202
  return VisCrosshairComponent;
1245
1203
  }());
1246
1204
  VisCrosshairComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisCrosshairComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1247
- VisCrosshairComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisCrosshairComponent, selector: "vis-crosshair", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", yStacked: "yStacked", baseline: "baseline", tooltip: "tooltip", template: "template", hideWhenFarFromPointer: "hideWhenFarFromPointer", hideWhenFarFromPointerDistance: "hideWhenFarFromPointerDistance", snapToData: "snapToData", getCircles: "getCircles", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisCrosshairComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
1205
+ VisCrosshairComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisCrosshairComponent, selector: "vis-crosshair", inputs: { duration: "duration", events: "events", attributes: "attributes", yStacked: "yStacked", baseline: "baseline", tooltip: "tooltip", template: "template", hideWhenFarFromPointer: "hideWhenFarFromPointer", hideWhenFarFromPointerDistance: "hideWhenFarFromPointerDistance", snapToData: "snapToData", getCircles: "getCircles", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisCrosshairComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
1248
1206
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisCrosshairComponent, decorators: [{
1249
1207
  type: i0.Component,
1250
1208
  args: [{
@@ -1259,20 +1217,6 @@
1259
1217
  type: i0.Input
1260
1218
  }], attributes: [{
1261
1219
  type: i0.Input
1262
- }], x: [{
1263
- type: i0.Input
1264
- }], y: [{
1265
- type: i0.Input
1266
- }], id: [{
1267
- type: i0.Input
1268
- }], color: [{
1269
- type: i0.Input
1270
- }], xScale: [{
1271
- type: i0.Input
1272
- }], yScale: [{
1273
- type: i0.Input
1274
- }], excludeFromDomainCalculation: [{
1275
- type: i0.Input
1276
1220
  }], yStacked: [{
1277
1221
  type: i0.Input
1278
1222
  }], baseline: [{
@@ -1746,8 +1690,8 @@
1746
1690
  (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1747
1691
  };
1748
1692
  VisTimelineComponent.prototype.getConfig = function () {
1749
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, lineWidth = _d.lineWidth, lineCap = _d.lineCap, rowHeight = _d.rowHeight, length = _d.length, type = _d.type, cursor = _d.cursor, showLabels = _d.showLabels, labelWidth = _d.labelWidth, maxLabelWidth = _d.maxLabelWidth, alternatingRowColors = _d.alternatingRowColors, onScroll = _d.onScroll, showEmptySegments = _d.showEmptySegments;
1750
- var config = { duration: duration, events: events, attributes: attributes, x: x, y: y, id: id, color: color, xScale: xScale, yScale: yScale, excludeFromDomainCalculation: excludeFromDomainCalculation, lineWidth: lineWidth, lineCap: lineCap, rowHeight: rowHeight, length: length, type: type, cursor: cursor, showLabels: showLabels, labelWidth: labelWidth, maxLabelWidth: maxLabelWidth, alternatingRowColors: alternatingRowColors, onScroll: onScroll, showEmptySegments: showEmptySegments };
1693
+ var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, lineWidth = _d.lineWidth, lineCap = _d.lineCap, rowHeight = _d.rowHeight, length = _d.length, type = _d.type, cursor = _d.cursor, showLabels = _d.showLabels, labelWidth = _d.labelWidth, maxLabelWidth = _d.maxLabelWidth, alternatingRowColors = _d.alternatingRowColors, onScroll = _d.onScroll, showEmptySegments = _d.showEmptySegments;
1694
+ var config = { duration: duration, events: events, attributes: attributes, x: x, id: id, color: color, xScale: xScale, yScale: yScale, excludeFromDomainCalculation: excludeFromDomainCalculation, lineWidth: lineWidth, lineCap: lineCap, rowHeight: rowHeight, length: length, type: type, cursor: cursor, showLabels: showLabels, labelWidth: labelWidth, maxLabelWidth: maxLabelWidth, alternatingRowColors: alternatingRowColors, onScroll: onScroll, showEmptySegments: showEmptySegments };
1751
1695
  var keys = Object.keys(config);
1752
1696
  keys.forEach(function (key) {
1753
1697
  if (config[key] === undefined)
@@ -1758,7 +1702,7 @@
1758
1702
  return VisTimelineComponent;
1759
1703
  }());
1760
1704
  VisTimelineComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTimelineComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1761
- VisTimelineComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisTimelineComponent, selector: "vis-timeline", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", lineWidth: "lineWidth", lineCap: "lineCap", rowHeight: "rowHeight", length: "length", type: "type", cursor: "cursor", showLabels: "showLabels", labelWidth: "labelWidth", maxLabelWidth: "maxLabelWidth", alternatingRowColors: "alternatingRowColors", onScroll: "onScroll", showEmptySegments: "showEmptySegments", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisTimelineComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
1705
+ VisTimelineComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisTimelineComponent, selector: "vis-timeline", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", lineWidth: "lineWidth", lineCap: "lineCap", rowHeight: "rowHeight", length: "length", type: "type", cursor: "cursor", showLabels: "showLabels", labelWidth: "labelWidth", maxLabelWidth: "maxLabelWidth", alternatingRowColors: "alternatingRowColors", onScroll: "onScroll", showEmptySegments: "showEmptySegments", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisTimelineComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
1762
1706
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTimelineComponent, decorators: [{
1763
1707
  type: i0.Component,
1764
1708
  args: [{
@@ -1775,8 +1719,6 @@
1775
1719
  type: i0.Input
1776
1720
  }], x: [{
1777
1721
  type: i0.Input
1778
- }], y: [{
1779
- type: i0.Input
1780
1722
  }], id: [{
1781
1723
  type: i0.Input
1782
1724
  }], color: [{