import { __exportAll } from "../../../_virtual/_rolldown/runtime.mjs";
import { BaseTextPropertyWidget } from "./TextPropertyWidget.mjs";
import { c } from "react-compiler-runtime";
import React from "react";
//#region src/UI/property/widgets/NumericPropertyWidget.jsx
var NumericPropertyWidget_exports = /* @__PURE__ */ __exportAll({ default: () => NumericPropertyWidget });
/**
* `numeric` property widget
*
* Outputs numeric TextField suitable for non-integer numbers like numeric identifier numbers
*/
const NumericPropertyWidget = (props) => {
	const $ = c(2);
	let t0;
	if ($[0] !== props) {
		t0 = /* @__PURE__ */ React.createElement(BaseTextPropertyWidget, {
			type: "text",
			step: 1,
			inputMode: "numeric",
			pattern: "[0-9]*",
			...props
		});
		$[0] = props;
		$[1] = t0;
	} else t0 = $[1];
	return t0;
};
//#endregion
export { NumericPropertyWidget_exports, NumericPropertyWidget as default };

//# sourceMappingURL=NumericPropertyWidget.mjs.map