import { defineComponent } from 'vue';
import { Radio, RadioGroup, InputNumber } from 'ant-design-vue';
import { useTabSetup, useTabEmits, useTabProps } from '../../config/use-tab-mixin.mjs';

"use strict";
var _sfc_main = defineComponent({
  name: "YearUI",
  components: { InputNumber, RadioGroup, Radio },
  props: useTabProps({
    defaultValue: "*"
  }),
  emits: useTabEmits(),
  setup(props, context) {
    const nowYear = (/* @__PURE__ */ new Date()).getFullYear();
    return useTabSetup(props, context, {
      defaultValue: "*",
      minValue: 0,
      valueRange: { start: nowYear, end: nowYear + 100 },
      valueLoop: { start: nowYear, interval: 1 }
    });
  }
});

export { _sfc_main as default };
//# sourceMappingURL=year-ui.vue2.mjs.map
