UNPKG

@awsui/components-react

Version:

AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A

48 lines (47 loc) 2.22 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var charts_1 = require("../charts"); var styles_selectors_js_1 = require("../../../../internal/components/mixed-chart/styles.selectors.js"); var MixedChartWrapper = (function (_super) { __extends(MixedChartWrapper, _super); function MixedChartWrapper() { return _super !== null && _super.apply(this, arguments) || this; } MixedChartWrapper.prototype.findFilterContainer = function () { return this.findByClassName(styles_selectors_js_1.default['filter-container']); }; MixedChartWrapper.prototype.findChart = function () { return this.findByClassName(styles_selectors_js_1.default.pie); }; MixedChartWrapper.prototype.findSeries = function () { return this.findAllByClassName(styles_selectors_js_1.default.series); }; MixedChartWrapper.prototype.findXAxisTitle = function () { return this.findByClassName(styles_selectors_js_1.default['axis-label--x']); }; MixedChartWrapper.prototype.findYAxisTitle = function () { return this.findByClassName(styles_selectors_js_1.default['axis-label--y']); }; MixedChartWrapper.prototype.findXTicks = function () { return this.findAllByClassName(styles_selectors_js_1.default['ticks--x']); }; MixedChartWrapper.prototype.findYTicks = function () { return this.findAllByClassName(styles_selectors_js_1.default['ticks--y']); }; MixedChartWrapper.rootSelector = styles_selectors_js_1.default.root; return MixedChartWrapper; }(charts_1.default)); exports.default = MixedChartWrapper;