/**
 * amis-ui v6.14.0-beta.1
 * Copyright 2018-2025 fex
 */

import { __extends, __assign } from 'tslib';
import React__default from 'react';
import CustomDaysView from './DaysView.js';
import CustomYearsView from './YearsView.js';
import CustomMonthsView from './MonthsView.js';
import CustomTimeView from './TimeView.js';
import QuartersView from './QuartersView.js';

var CustomCalendarContainer = /** @class */ (function (_super) {
    __extends(CustomCalendarContainer, _super);
    function CustomCalendarContainer() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.viewComponents = __assign(__assign({}, _this.viewComponents), { days: CustomDaysView, years: CustomYearsView, months: CustomMonthsView, time: CustomTimeView, quarters: QuartersView });
        return _this;
    }
    CustomCalendarContainer.prototype.render = function () {
        return React__default.createElement(this.viewComponents[this.props.view], this.props.viewProps);
    };
    return CustomCalendarContainer;
}(React__default.Component));

export { CustomCalendarContainer as default };
