import { __exportAll } from "../../../_virtual/_rolldown/runtime.mjs";
import { BaseTextPropertyWidget } from "./TextPropertyWidget.mjs";
import { DateField } from "../../inputs/datetimes/DateField.mjs";
import { c } from "react-compiler-runtime";
import React from "react";
//#region src/UI/property/widgets/DatePropertyWidget.jsx
var DatePropertyWidget_exports = /* @__PURE__ */ __exportAll({ default: () => DatePropertyWidget });
/**
* `date` property widget
*
* Outputs a DatePicker field
*/
const DatePropertyWidget = (props) => {
	const $ = c(2);
	let t0;
	if ($[0] !== props) {
		t0 = /* @__PURE__ */ React.createElement(BaseTextPropertyWidget, {
			component: DateField,
			inputVariant: "outlined",
			...props
		});
		$[0] = props;
		$[1] = t0;
	} else t0 = $[1];
	return t0;
};
//#endregion
export { DatePropertyWidget_exports, DatePropertyWidget as default };

//# sourceMappingURL=DatePropertyWidget.mjs.map