@nova-ui/charts 20.0.4 → 21.0.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/README.md +26 -26
- package/bundles/css/styles.css +1 -1
- package/fesm2022/nova-ui-charts.mjs +114 -62
- package/fesm2022/nova-ui-charts.mjs.map +1 -1
- package/package.json +16 -23
- package/{index.d.ts → types/nova-ui-charts.d.ts} +15 -10
- package/sdk/atoms/chart/atoms/bar-data-point.atom.d.ts +0 -11
- package/sdk/atoms/chart/atoms/bar-data-point.atom.js +0 -46
- package/sdk/atoms/chart/atoms/bar-data-point.atom.js.map +0 -1
- package/sdk/atoms/chart/atoms/chart.atom.d.ts +0 -27
- package/sdk/atoms/chart/atoms/chart.atom.js +0 -104
- package/sdk/atoms/chart/atoms/chart.atom.js.map +0 -1
- package/sdk/atoms/chart/atoms/lasagna.atom.d.ts +0 -7
- package/sdk/atoms/chart/atoms/lasagna.atom.js +0 -38
- package/sdk/atoms/chart/atoms/lasagna.atom.js.map +0 -1
- package/sdk/atoms/chart/atoms/line-series.atom.d.ts +0 -8
- package/sdk/atoms/chart/atoms/line-series.atom.js +0 -52
- package/sdk/atoms/chart/atoms/line-series.atom.js.map +0 -1
- package/sdk/atoms/chart/atoms/marker-series.atom.d.ts +0 -6
- package/sdk/atoms/chart/atoms/marker-series.atom.js +0 -35
- package/sdk/atoms/chart/atoms/marker-series.atom.js.map +0 -1
- package/sdk/atoms/chart/atoms/marker.atom.d.ts +0 -8
- package/sdk/atoms/chart/atoms/marker.atom.js +0 -44
- package/sdk/atoms/chart/atoms/marker.atom.js.map +0 -1
- package/sdk/atoms/chart/atoms/radial-series.atom.d.ts +0 -12
- package/sdk/atoms/chart/atoms/radial-series.atom.js +0 -47
- package/sdk/atoms/chart/atoms/radial-series.atom.js.map +0 -1
- package/sdk/atoms/chart/atoms/series.atom.d.ts +0 -7
- package/sdk/atoms/chart/atoms/series.atom.js +0 -32
- package/sdk/atoms/chart/atoms/series.atom.js.map +0 -1
- package/sdk/atoms/chart/atoms/status-bar-data-point.atom.d.ts +0 -5
- package/sdk/atoms/chart/atoms/status-bar-data-point.atom.js +0 -34
- package/sdk/atoms/chart/atoms/status-bar-data-point.atom.js.map +0 -1
- package/sdk/atoms/chart/atoms/threshold-series.atom.d.ts +0 -7
- package/sdk/atoms/chart/atoms/threshold-series.atom.js +0 -38
- package/sdk/atoms/chart/atoms/threshold-series.atom.js.map +0 -1
- package/sdk/atoms/chart/boosters/donut-chart-content.booster.d.ts +0 -6
- package/sdk/atoms/chart/boosters/donut-chart-content.booster.js +0 -35
- package/sdk/atoms/chart/boosters/donut-chart-content.booster.js.map +0 -1
- package/sdk/atoms/chart/boosters/interactive.booster.d.ts +0 -5
- package/sdk/atoms/chart/boosters/interactive.booster.js +0 -35
- package/sdk/atoms/chart/boosters/interactive.booster.js.map +0 -1
- package/sdk/atoms/chart/boosters/zoom.booster.d.ts +0 -5
- package/sdk/atoms/chart/boosters/zoom.booster.js +0 -40
- package/sdk/atoms/chart/boosters/zoom.booster.js.map +0 -1
- package/sdk/atoms/chart/donut-chart-test.po.d.ts +0 -6
- package/sdk/atoms/chart/donut-chart-test.po.js +0 -36
- package/sdk/atoms/chart/donut-chart-test.po.js.map +0 -1
- package/sdk/atoms/chart/line-chart-test.po.d.ts +0 -8
- package/sdk/atoms/chart/line-chart-test.po.js +0 -42
- package/sdk/atoms/chart/line-chart-test.po.js.map +0 -1
- package/sdk/atoms/chart/pie-chart-test.po.d.ts +0 -6
- package/sdk/atoms/chart/pie-chart-test.po.js +0 -36
- package/sdk/atoms/chart/pie-chart-test.po.js.map +0 -1
- package/sdk/atoms/chart/spark-chart-test.po.d.ts +0 -13
- package/sdk/atoms/chart/spark-chart-test.po.js +0 -55
- package/sdk/atoms/chart/spark-chart-test.po.js.map +0 -1
- package/sdk/atoms/chart/status-chart.atom.d.ts +0 -6
- package/sdk/atoms/chart/status-chart.atom.js +0 -49
- package/sdk/atoms/chart/status-chart.atom.js.map +0 -1
- package/sdk/atoms/chart/test.po.d.ts +0 -9
- package/sdk/atoms/chart/test.po.js +0 -49
- package/sdk/atoms/chart/test.po.js.map +0 -1
- package/sdk/atoms/chart/thresholds-summary-test.po.d.ts +0 -13
- package/sdk/atoms/chart/thresholds-summary-test.po.js +0 -55
- package/sdk/atoms/chart/thresholds-summary-test.po.js.map +0 -1
- package/sdk/atoms/chart/time-frame-bar-test.po.d.ts +0 -10
- package/sdk/atoms/chart/time-frame-bar-test.po.js +0 -47
- package/sdk/atoms/chart/time-frame-bar-test.po.js.map +0 -1
- package/sdk/atoms/legend/legend-series.atom.d.ts +0 -23
- package/sdk/atoms/legend/legend-series.atom.js +0 -74
- package/sdk/atoms/legend/legend-series.atom.js.map +0 -1
- package/sdk/atoms/legend/legend.atom.d.ts +0 -9
- package/sdk/atoms/legend/legend.atom.js +0 -36
- package/sdk/atoms/legend/legend.atom.js.map +0 -1
- package/sdk/atoms/legend/rich-legend-tile.atom.d.ts +0 -9
- package/sdk/atoms/legend/rich-legend-tile.atom.js +0 -58
- package/sdk/atoms/legend/rich-legend-tile.atom.js.map +0 -1
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.RadialSeriesAtom = void 0;
|
|
23
|
-
const protractor_1 = require("protractor");
|
|
24
|
-
const series_atom_1 = require("./series.atom");
|
|
25
|
-
class RadialSeriesAtom extends series_atom_1.SeriesAtom {
|
|
26
|
-
path = this.root.element(protractor_1.by.tagName("path"));
|
|
27
|
-
/**
|
|
28
|
-
* TODO: evaluate the centroid of the arc to select a proper arc. We can take this as an example:
|
|
29
|
-
* https://stackoverflow.com/questions/9017100/calculate-center-of-svg-arc
|
|
30
|
-
* The regexp matchers below are intended to be used in parseArcParams() method to parse the path of the svg to gather the parameters of the arc.
|
|
31
|
-
*/
|
|
32
|
-
firstCurveMatcher = /M{1}-?\d*\.?\d+\w?-?\d*,{1}-?\d+\.?\d*A{1}\d+,{1}\d+,{1}\d{1},{1}\d{1},{1}\d{1},{1}-?\d*\.?\d*\w{1}?-?\d*,?-?\d*\.?\d*/g;
|
|
33
|
-
secondCurveMatcher = /L{1}-?\d*\.?\d+\w?-?\d*,{1}-?\d+\.?\d*A{1}\d+,{1}\d+,{1}\d{1},{1}\d{1},{1}\d{1},{1}-?\d*\.?\d*\w{1}?-?\d*,?-?\d*\.?\d*Z{1}$/g;
|
|
34
|
-
parseArcParams(path, matcher) {
|
|
35
|
-
const result = [];
|
|
36
|
-
const match = path.match(matcher) || [];
|
|
37
|
-
const arcParams = match[0]
|
|
38
|
-
.slice(1)
|
|
39
|
-
.split("A")
|
|
40
|
-
.map((array) => array.split(","))
|
|
41
|
-
.map((params) => params.map((param) => parseFloat(param)));
|
|
42
|
-
arcParams?.forEach((array) => array.forEach((param) => result.push(param)));
|
|
43
|
-
return result;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
exports.RadialSeriesAtom = RadialSeriesAtom;
|
|
47
|
-
//# sourceMappingURL=radial-series.atom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"radial-series.atom.js","sourceRoot":"","sources":["../../../../../spec/chart/atoms/radial-series.atom.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;AAEjB,2CAA+C;AAE/C,+CAA2C;AAE3C,MAAa,gBAAiB,SAAQ,wBAAU;IACpC,IAAI,GAAkB,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;IAEpE;;;;OAIG;IAEK,iBAAiB,GACrB,yHAAyH,CAAC;IACtH,kBAAkB,GACtB,8HAA8H,CAAC;IAE5H,cAAc,CAAC,IAAY,EAAE,OAAe;QAC/C,MAAM,MAAM,GAAa,EAAE,CAAC;QAC5B,MAAM,KAAK,GAAa,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QAClD,MAAM,SAAS,GAA2B,KAAK,CAAC,CAAC,CAAC;aAC7C,KAAK,CAAC,CAAC,CAAC;aACR,KAAK,CAAC,GAAG,CAAC;aACV,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;aAChC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CACzB,KAAK,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAC/C,CAAC;QACF,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AA3BD,4CA2BC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.SeriesAtom = void 0;
|
|
23
|
-
const atoms_1 = require("@nova-ui/bits/sdk/atoms");
|
|
24
|
-
class SeriesAtom extends atoms_1.Atom {
|
|
25
|
-
static CSS_CLASS = "data-series-container";
|
|
26
|
-
root = this.getElement();
|
|
27
|
-
async getOpacity() {
|
|
28
|
-
return parseFloat(await this.root.getAttribute("opacity"));
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
exports.SeriesAtom = SeriesAtom;
|
|
32
|
-
//# sourceMappingURL=series.atom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"series.atom.js","sourceRoot":"","sources":["../../../../../spec/chart/atoms/series.atom.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;AAIjB,mDAA+C;AAE/C,MAAa,UAAW,SAAQ,YAAI;IACzB,MAAM,CAAC,SAAS,GAAG,uBAAuB,CAAC;IAExC,IAAI,GAAkB,IAAI,CAAC,UAAU,EAAE,CAAC;IAE3C,KAAK,CAAC,UAAU;QACnB,OAAO,UAAU,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,CAAC;IAC/D,CAAC;;AAPL,gCAQC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.StatusBarDataPointAtom = void 0;
|
|
23
|
-
const protractor_1 = require("protractor");
|
|
24
|
-
const bar_data_point_atom_1 = require("./bar-data-point.atom");
|
|
25
|
-
class StatusBarDataPointAtom extends bar_data_point_atom_1.BarDataPointAtom {
|
|
26
|
-
barIconClass = "bar-icon";
|
|
27
|
-
async hasIcon() {
|
|
28
|
-
return this.getElement()
|
|
29
|
-
.element(protractor_1.by.css(`.${this.barIconClass} g`))
|
|
30
|
-
.isPresent();
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
exports.StatusBarDataPointAtom = StatusBarDataPointAtom;
|
|
34
|
-
//# sourceMappingURL=status-bar-data-point.atom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"status-bar-data-point.atom.js","sourceRoot":"","sources":["../../../../../spec/chart/atoms/status-bar-data-point.atom.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;AAEjB,2CAAgC;AAEhC,+DAAyD;AAEzD,MAAa,sBAAuB,SAAQ,sCAAgB;IAChD,YAAY,GAAG,UAAU,CAAC;IAE3B,KAAK,CAAC,OAAO;QAChB,OAAO,IAAI,CAAC,UAAU,EAAE;aACnB,OAAO,CAAC,eAAE,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,YAAY,IAAI,CAAC,CAAC;aAC1C,SAAS,EAAE,CAAC;IACrB,CAAC;CACJ;AARD,wDAQC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BarDataPointAtom } from "./bar-data-point.atom";
|
|
2
|
-
import { SeriesAtom } from "./series.atom";
|
|
3
|
-
export declare class ThresholdSeriesAtom extends SeriesAtom {
|
|
4
|
-
static buildSeriesId(dataSeriesId: string): string;
|
|
5
|
-
getDataPoint(index?: number): BarDataPointAtom;
|
|
6
|
-
getDataPointCount(): Promise<number>;
|
|
7
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.ThresholdSeriesAtom = void 0;
|
|
23
|
-
const atoms_1 = require("@nova-ui/bits/sdk/atoms");
|
|
24
|
-
const bar_data_point_atom_1 = require("./bar-data-point.atom");
|
|
25
|
-
const series_atom_1 = require("./series.atom");
|
|
26
|
-
class ThresholdSeriesAtom extends series_atom_1.SeriesAtom {
|
|
27
|
-
static buildSeriesId(dataSeriesId) {
|
|
28
|
-
return `${dataSeriesId}__thresholds-background`;
|
|
29
|
-
}
|
|
30
|
-
getDataPoint(index = 0) {
|
|
31
|
-
return atoms_1.Atom.findIn(bar_data_point_atom_1.BarDataPointAtom, this.root, index);
|
|
32
|
-
}
|
|
33
|
-
async getDataPointCount() {
|
|
34
|
-
return atoms_1.Atom.findCount(bar_data_point_atom_1.BarDataPointAtom, this.root);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
exports.ThresholdSeriesAtom = ThresholdSeriesAtom;
|
|
38
|
-
//# sourceMappingURL=threshold-series.atom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"threshold-series.atom.js","sourceRoot":"","sources":["../../../../../spec/chart/atoms/threshold-series.atom.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;AAEjB,mDAA+C;AAE/C,+DAAyD;AACzD,+CAA2C;AAE3C,MAAa,mBAAoB,SAAQ,wBAAU;IACxC,MAAM,CAAC,aAAa,CAAC,YAAoB;QAC5C,OAAO,GAAG,YAAY,yBAAyB,CAAC;IACpD,CAAC;IAEM,YAAY,CAAC,QAAgB,CAAC;QACjC,OAAO,YAAI,CAAC,MAAM,CAAC,sCAAgB,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC3D,CAAC;IAEM,KAAK,CAAC,iBAAiB;QAC1B,OAAO,YAAI,CAAC,SAAS,CAAC,sCAAgB,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC;CACJ;AAZD,kDAYC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.DonutChartContentBooster = void 0;
|
|
23
|
-
const protractor_1 = require("protractor");
|
|
24
|
-
class DonutChartContentBooster {
|
|
25
|
-
static getContentElement(chart) {
|
|
26
|
-
return chart
|
|
27
|
-
.getElement()
|
|
28
|
-
.element(protractor_1.by.xpath("//following-sibling::nui-chart-donut-content"));
|
|
29
|
-
}
|
|
30
|
-
static async getContent(chart) {
|
|
31
|
-
return this.getContentElement(chart).getText();
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
exports.DonutChartContentBooster = DonutChartContentBooster;
|
|
35
|
-
//# sourceMappingURL=donut-chart-content.booster.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"donut-chart-content.booster.js","sourceRoot":"","sources":["../../../../../spec/chart/boosters/donut-chart-content.booster.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;AAEjB,2CAA+C;AAI/C,MAAa,wBAAwB;IAC1B,MAAM,CAAC,iBAAiB,CAAC,KAAgB;QAC5C,OAAO,KAAK;aACP,UAAU,EAAE;aACZ,OAAO,CAAC,eAAE,CAAC,KAAK,CAAC,8CAA8C,CAAC,CAAC,CAAC;IAC3E,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,KAAgB;QAC3C,OAAO,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC;IACnD,CAAC;CACJ;AAVD,4DAUC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.InteractiveBooster = void 0;
|
|
23
|
-
const protractor_1 = require("protractor");
|
|
24
|
-
class InteractiveBooster {
|
|
25
|
-
static async hover(chart, location) {
|
|
26
|
-
return chart.getLayer("rendering-area").then(async ([layer]) => {
|
|
27
|
-
const element = layer
|
|
28
|
-
? layer.element(protractor_1.by.className("mouse-interactive-area"))
|
|
29
|
-
: chart.getElement();
|
|
30
|
-
return chart.hover(element, location);
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
exports.InteractiveBooster = InteractiveBooster;
|
|
35
|
-
//# sourceMappingURL=interactive.booster.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interactive.booster.js","sourceRoot":"","sources":["../../../../../spec/chart/boosters/interactive.booster.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;AAEjB,2CAAgC;AAKhC,MAAa,kBAAkB;IACpB,MAAM,CAAC,KAAK,CAAC,KAAK,CACrB,KAAgB,EAChB,QAAmB;QAEnB,OAAO,KAAK,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE;YAC3D,MAAM,OAAO,GAAG,KAAK;gBACjB,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,eAAE,CAAC,SAAS,CAAC,wBAAwB,CAAC,CAAC;gBACvD,CAAC,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC;YACzB,OAAO,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAC1C,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AAZD,gDAYC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.ZoomBooster = void 0;
|
|
23
|
-
const protractor_1 = require("protractor");
|
|
24
|
-
class ZoomBooster {
|
|
25
|
-
static async zoom(chart, from, to) {
|
|
26
|
-
return chart.getLayer("zoom-brush").then(async ([target]) => {
|
|
27
|
-
if (target) {
|
|
28
|
-
await protractor_1.browser.actions().mouseMove(target, from).perform();
|
|
29
|
-
await protractor_1.browser
|
|
30
|
-
.actions()
|
|
31
|
-
.mouseDown()
|
|
32
|
-
.mouseMove(target, to)
|
|
33
|
-
.perform();
|
|
34
|
-
await protractor_1.browser.actions().mouseUp().perform();
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
exports.ZoomBooster = ZoomBooster;
|
|
40
|
-
//# sourceMappingURL=zoom.booster.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zoom.booster.js","sourceRoot":"","sources":["../../../../../spec/chart/boosters/zoom.booster.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;AAEjB,2CAAqC;AAKrC,MAAa,WAAW;IACb,MAAM,CAAC,KAAK,CAAC,IAAI,CACpB,KAAgB,EAChB,IAAe,EACf,EAAa;QAEb,OAAO,KAAK,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE;YACxD,IAAI,MAAM,EAAE,CAAC;gBACT,MAAM,oBAAO,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC;gBAC1D,MAAM,oBAAO;qBACR,OAAO,EAAE;qBACT,SAAS,EAAE;qBACX,SAAS,CAAC,MAAM,EAAE,EAAE,CAAC;qBACrB,OAAO,EAAE,CAAC;gBACf,MAAM,oBAAO,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,CAAC;YAChD,CAAC;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AAlBD,kCAkBC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.DonutChartTestPage = void 0;
|
|
23
|
-
const protractor_1 = require("protractor");
|
|
24
|
-
const atoms_1 = require("@nova-ui/bits/sdk/atoms");
|
|
25
|
-
const chart_atom_1 = require("./atoms/chart.atom");
|
|
26
|
-
class DonutChartTestPage {
|
|
27
|
-
root;
|
|
28
|
-
constructor() {
|
|
29
|
-
this.root = (0, protractor_1.element)(protractor_1.by.className("nui-donut-chart-basic-test"));
|
|
30
|
-
}
|
|
31
|
-
get chart() {
|
|
32
|
-
return atoms_1.Atom.findIn(chart_atom_1.ChartAtom, this.root);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.DonutChartTestPage = DonutChartTestPage;
|
|
36
|
-
//# sourceMappingURL=donut-chart-test.po.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"donut-chart-test.po.js","sourceRoot":"","sources":["../../../../spec/chart/donut-chart-test.po.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;AAEjB,2CAAwD;AAExD,mDAA+C;AAE/C,mDAA+C;AAE/C,MAAa,kBAAkB;IACnB,IAAI,CAAgB;IAE5B;QACI,IAAI,CAAC,IAAI,GAAG,IAAA,oBAAO,EAAC,eAAE,CAAC,SAAS,CAAC,4BAA4B,CAAC,CAAC,CAAC;IACpE,CAAC;IAED,IAAW,KAAK;QACZ,OAAO,YAAI,CAAC,MAAM,CAAC,sBAAS,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;CACJ;AAVD,gDAUC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.LineChartTestPage = void 0;
|
|
23
|
-
const protractor_1 = require("protractor");
|
|
24
|
-
const atoms_1 = require("@nova-ui/bits/sdk/atoms");
|
|
25
|
-
const chart_atom_1 = require("./atoms/chart.atom");
|
|
26
|
-
class LineChartTestPage {
|
|
27
|
-
root;
|
|
28
|
-
dataInput;
|
|
29
|
-
constructor() {
|
|
30
|
-
this.root = (0, protractor_1.element)(protractor_1.by.className("nui-line-chart-basic-test"));
|
|
31
|
-
this.dataInput = this.root.element(protractor_1.by.id("data-input"));
|
|
32
|
-
}
|
|
33
|
-
get chart() {
|
|
34
|
-
return atoms_1.Atom.findIn(chart_atom_1.ChartAtom, this.root);
|
|
35
|
-
}
|
|
36
|
-
async changeData(input) {
|
|
37
|
-
await this.dataInput.clear();
|
|
38
|
-
return this.dataInput.sendKeys(JSON.stringify(input));
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.LineChartTestPage = LineChartTestPage;
|
|
42
|
-
//# sourceMappingURL=line-chart-test.po.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"line-chart-test.po.js","sourceRoot":"","sources":["../../../../spec/chart/line-chart-test.po.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;AAEjB,2CAAwD;AAExD,mDAA+C;AAE/C,mDAA+C;AAE/C,MAAa,iBAAiB;IAClB,IAAI,CAAgB;IACpB,SAAS,CAAgB;IAEjC;QACI,IAAI,CAAC,IAAI,GAAG,IAAA,oBAAO,EAAC,eAAE,CAAC,SAAS,CAAC,2BAA2B,CAAC,CAAC,CAAC;QAC/D,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAE,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED,IAAW,KAAK;QACZ,OAAO,YAAI,CAAC,MAAM,CAAC,sBAAS,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IAEM,KAAK,CAAC,UAAU,CAAC,KAAiB;QACrC,MAAM,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;QAC7B,OAAO,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAC1D,CAAC;CACJ;AAjBD,8CAiBC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.PieChartTestPage = void 0;
|
|
23
|
-
const protractor_1 = require("protractor");
|
|
24
|
-
const atoms_1 = require("@nova-ui/bits/sdk/atoms");
|
|
25
|
-
const chart_atom_1 = require("./atoms/chart.atom");
|
|
26
|
-
class PieChartTestPage {
|
|
27
|
-
root;
|
|
28
|
-
constructor() {
|
|
29
|
-
this.root = (0, protractor_1.element)(protractor_1.by.className("nui-pie-chart-basic-test"));
|
|
30
|
-
}
|
|
31
|
-
get chart() {
|
|
32
|
-
return atoms_1.Atom.findIn(chart_atom_1.ChartAtom, this.root);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.PieChartTestPage = PieChartTestPage;
|
|
36
|
-
//# sourceMappingURL=pie-chart-test.po.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pie-chart-test.po.js","sourceRoot":"","sources":["../../../../spec/chart/pie-chart-test.po.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;AAEjB,2CAAwD;AAExD,mDAA+C;AAE/C,mDAA+C;AAE/C,MAAa,gBAAgB;IACjB,IAAI,CAAgB;IAE5B;QACI,IAAI,CAAC,IAAI,GAAG,IAAA,oBAAO,EAAC,eAAE,CAAC,SAAS,CAAC,0BAA0B,CAAC,CAAC,CAAC;IAClE,CAAC;IAED,IAAW,KAAK;QACZ,OAAO,YAAI,CAAC,MAAM,CAAC,sBAAS,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;CACJ;AAVD,4CAUC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { LegendSeriesAtom } from "../legend/legend-series.atom";
|
|
2
|
-
import { ChartAtom } from "./atoms/chart.atom";
|
|
3
|
-
export declare class SparkChartTestPage {
|
|
4
|
-
private root;
|
|
5
|
-
private dataInput;
|
|
6
|
-
constructor();
|
|
7
|
-
getChartCount(): Promise<number>;
|
|
8
|
-
getSparkCountInStack(className: string): Promise<number>;
|
|
9
|
-
getLegendSeriesCount(): Promise<number>;
|
|
10
|
-
getChart(index: number): ChartAtom;
|
|
11
|
-
getLegendSeries(index: number): LegendSeriesAtom;
|
|
12
|
-
changeData(input: number[][]): Promise<void>;
|
|
13
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.SparkChartTestPage = void 0;
|
|
23
|
-
const protractor_1 = require("protractor");
|
|
24
|
-
const atoms_1 = require("@nova-ui/bits/sdk/atoms");
|
|
25
|
-
const legend_series_atom_1 = require("../legend/legend-series.atom");
|
|
26
|
-
const chart_atom_1 = require("./atoms/chart.atom");
|
|
27
|
-
class SparkChartTestPage {
|
|
28
|
-
root;
|
|
29
|
-
dataInput;
|
|
30
|
-
constructor() {
|
|
31
|
-
this.root = (0, protractor_1.element)(protractor_1.by.className("nui-spark-chart-multiple-test"));
|
|
32
|
-
this.dataInput = this.root.element(protractor_1.by.id("data-input"));
|
|
33
|
-
}
|
|
34
|
-
async getChartCount() {
|
|
35
|
-
return atoms_1.Atom.findCount(chart_atom_1.ChartAtom, this.root);
|
|
36
|
-
}
|
|
37
|
-
async getSparkCountInStack(className) {
|
|
38
|
-
return atoms_1.Atom.findCount(chart_atom_1.ChartAtom, (0, protractor_1.element)(protractor_1.by.className(className)));
|
|
39
|
-
}
|
|
40
|
-
async getLegendSeriesCount() {
|
|
41
|
-
return atoms_1.Atom.findCount(legend_series_atom_1.LegendSeriesAtom, this.root);
|
|
42
|
-
}
|
|
43
|
-
getChart(index) {
|
|
44
|
-
return atoms_1.Atom.findIn(chart_atom_1.ChartAtom, this.root, index);
|
|
45
|
-
}
|
|
46
|
-
getLegendSeries(index) {
|
|
47
|
-
return atoms_1.Atom.findIn(legend_series_atom_1.LegendSeriesAtom, this.root, index);
|
|
48
|
-
}
|
|
49
|
-
async changeData(input) {
|
|
50
|
-
await this.dataInput.clear();
|
|
51
|
-
return this.dataInput.sendKeys(JSON.stringify(input));
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
exports.SparkChartTestPage = SparkChartTestPage;
|
|
55
|
-
//# sourceMappingURL=spark-chart-test.po.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spark-chart-test.po.js","sourceRoot":"","sources":["../../../../spec/chart/spark-chart-test.po.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;AAEjB,2CAAwD;AAExD,mDAA+C;AAE/C,qEAAgE;AAChE,mDAA+C;AAE/C,MAAa,kBAAkB;IACnB,IAAI,CAAgB;IACpB,SAAS,CAAgB;IAEjC;QACI,IAAI,CAAC,IAAI,GAAG,IAAA,oBAAO,EAAC,eAAE,CAAC,SAAS,CAAC,+BAA+B,CAAC,CAAC,CAAC;QACnE,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAE,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAC5D,CAAC;IAEM,KAAK,CAAC,aAAa;QACtB,OAAO,YAAI,CAAC,SAAS,CAAC,sBAAS,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;IAEM,KAAK,CAAC,oBAAoB,CAAC,SAAiB;QAC/C,OAAO,YAAI,CAAC,SAAS,CAAC,sBAAS,EAAE,IAAA,oBAAO,EAAC,eAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACvE,CAAC;IAEM,KAAK,CAAC,oBAAoB;QAC7B,OAAO,YAAI,CAAC,SAAS,CAAC,qCAAgB,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC;IAEM,QAAQ,CAAC,KAAa;QACzB,OAAO,YAAI,CAAC,MAAM,CAAC,sBAAS,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACpD,CAAC;IAEM,eAAe,CAAC,KAAa;QAChC,OAAO,YAAI,CAAC,MAAM,CAAC,qCAAgB,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC3D,CAAC;IAEM,KAAK,CAAC,UAAU,CAAC,KAAiB;QACrC,MAAM,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;QAC7B,OAAO,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAC1D,CAAC;CACJ;AAjCD,gDAiCC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ChartAtom } from "./atoms/chart.atom";
|
|
2
|
-
import { StatusBarDataPointAtom } from "./atoms/status-bar-data-point.atom";
|
|
3
|
-
export declare class StatusChartAtom extends ChartAtom {
|
|
4
|
-
getStatusBarDataPointByIndex(seriesID: string, barIndex: number): Promise<StatusBarDataPointAtom>;
|
|
5
|
-
getAllBarDataPointsBySeriesID(seriesID: string): Promise<StatusBarDataPointAtom[]>;
|
|
6
|
-
}
|