UNPKG

@gooddata/react-components

Version:

GoodData.UI - A powerful JavaScript library for building analytical applications

21 lines 1.4 kB
"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; Object.defineProperty(exports, "__esModule", { value: true }); // (C) 2007-2018 GoodData Corporation var PropTypes = require("prop-types"); var ChartConfig_1 = require("./ChartConfig"); var Events_1 = require("./Events"); var Filters_1 = require("./Filters"); var DrillableItem_1 = require("./DrillableItem"); exports.VisualizationPropType = __assign({ config: ChartConfig_1.ChartConfigPropType }, Events_1.EventsPropTypes, { filters: Filters_1.FiltersPropType, drillableItems: PropTypes.arrayOf(PropTypes.oneOfType([DrillableItem_1.DrillableItemPropType, DrillableItem_1.DrillablePredicatePropType])), projectId: PropTypes.string.isRequired, identifier: PropTypes.string, uri: PropTypes.string, uriResolver: PropTypes.func, locale: PropTypes.string, fetchVisObject: PropTypes.func, fetchVisualizationClass: PropTypes.func, BaseChartComponent: PropTypes.func, LoadingComponent: PropTypes.func, ErrorComponent: PropTypes.func, onLegendReady: PropTypes.func }); //# sourceMappingURL=Visualization.js.map