"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.OverviewSection = void 0;
function _react() {
  const data = _interopRequireDefault(require("react"));
  _react = function () {
    return data;
  };
  return data;
}
function _overview() {
  const data = require("./overview");
  _overview = function () {
    return data;
  };
  return data;
}
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
class OverviewSection {
  constructor(
  /**
   * title badge slot.
   */
  titleBadgeSlot, overviewOptionsSlot, docs, apiRef) {
    this.titleBadgeSlot = titleBadgeSlot;
    this.overviewOptionsSlot = overviewOptionsSlot;
    this.docs = docs;
    this.apiRef = apiRef;
    _defineProperty(this, "navigationLink", {
      href: '.',
      exact: true,
      children: 'Overview'
    });
    _defineProperty(this, "route", {
      index: true,
      element: /*#__PURE__*/_react().default.createElement(_overview().Overview, {
        titleBadges: this.titleBadgeSlot,
        overviewOptions: this.overviewOptionsSlot,
        getEmptyState: this.docs.getEmptyState.bind(this.docs),
        TaggedAPI: this.apiRef.TaggedAPIPage
      })
    });
    _defineProperty(this, "order", 10);
  }
}
exports.OverviewSection = OverviewSection;

//# sourceMappingURL=overview.section.js.map