import React__default from "react";
import Picker from "./picker.js";
import PickerRange from "./picker-range.js";
import DatePicker$2 from "./panels/date/index.js";
import MonthPicker$1 from "./panels/month/index.js";
import YearPicker$1 from "./panels/year/index.js";
import WeekPicker$1 from "./panels/week/index.js";
import QuarterPicker$1 from "./panels/quarter/index.js";
import { jsx } from "../../../../../../@emotion_react@11.10.4_3toe27fv7etiytxb5kxc7fxaw4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js";
var __extends = globalThis && globalThis.__extends || function() {
  var extendStatics = function(d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function(d2, b2) {
      d2.__proto__ = b2;
    } || function(d2, b2) {
      for (var p in b2)
        if (Object.prototype.hasOwnProperty.call(b2, p))
          d2[p] = b2[p];
    };
    return extendStatics(d, b);
  };
  return function(d, b) {
    if (typeof b !== "function" && b !== null)
      throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
var __assign = globalThis && globalThis.__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);
};
function wrapper(picker, displayName) {
  var _a;
  return _a = function(_super) {
    __extends(PickerWrapper, _super);
    function PickerWrapper() {
      return _super !== null && _super.apply(this, arguments) || this;
    }
    PickerWrapper.prototype.render = function() {
      return /* @__PURE__ */ jsx(Picker, {
        ...__assign({}, this.props, {
          picker
        })
      });
    };
    return PickerWrapper;
  }(React__default.Component), _a.displayName = displayName, _a;
}
var DatePicker = wrapper(/* @__PURE__ */ jsx(DatePicker$2, {}), "DatePicker");
var MonthPicker = wrapper(/* @__PURE__ */ jsx(MonthPicker$1, {}), "MonthPicker");
var YearPicker = wrapper(/* @__PURE__ */ jsx(YearPicker$1, {}), "YearPicker");
var WeekPicker = wrapper(/* @__PURE__ */ jsx(WeekPicker$1, {}), "WeekPicker");
var QuarterPicker = wrapper(/* @__PURE__ */ jsx(QuarterPicker$1, {}), "QuarterPicker");
var RangePicker = PickerRange;
Object.assign(DatePicker, {
  MonthPicker,
  YearPicker,
  WeekPicker,
  QuarterPicker,
  RangePicker
});
const DatePicker$1 = DatePicker;
export {
  DatePicker$1 as default
};
//# sourceMappingURL=index.js.map
