"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _wauField = _interopRequireDefault(require("../../../wau-field"));
var _createField = _interopRequireDefault(require("../../create-field"));
var _jsxRuntime = require("react/jsx-runtime");
const valueType = 'time';
/**
 * 时间选择组件
 *
 * @param
 */
const ProFormTimePicker = /*#__PURE__*/_react.default.forwardRef(({
  fieldProps,
  proFieldProps
}, ref) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_wauField.default, {
  ref: ref,
  text: (fieldProps === null || fieldProps === void 0 ? void 0 : fieldProps.value) || '',
  mode: "edit",
  fieldProps: fieldProps,
  valueType: valueType,
  ...proFieldProps
}));
var _default = (0, _createField.default)(ProFormTimePicker, {
  customLightMode: true,
  valueType
});
exports.default = _default;