Liferay.Loader.define("@liferay/search-experiences-web@3.0.30/sxp_blueprint_admin/js/shared/sxp_element/NumberInput",["module","exports","require","@frontend-taglib-clay$clayui/form","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$react"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=t("@frontend-taglib-clay$clayui/form"),r=_interopRequireDefault(t("liferay!frontend-js-react-web$classnames")),l=_interopRequireDefault(t("liferay!frontend-js-react-web$react"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var u=function NumberInput({configKey:e,disabled:a,id:t,label:u,max:i,min:d,name:o,onBlur:f,onChange:s,step:p,unit:c,value:m}){return l.default.createElement(n.ClayInput.Group,{small:!0},l.default.createElement(n.ClayInput.GroupItem,{className:(0,r.default)({"arrowless-input":c||e&&e.includes("id")}),prepend:!0},l.default.createElement(n.ClayInput,{"aria-label":u,disabled:a,id:t,max:i,min:d,name:o,onBlur:f,onChange:s,onKeyDown:e=>{"Enter"===e.key&&e.preventDefault()},step:p,type:"number",value:m})),c&&l.default.createElement(n.ClayInput.GroupItem,{append:!0,shrink:!0},l.default.createElement(n.ClayInput.GroupText,{className:(0,r.default)({secondary:a})},c)))};a.default=u}}));
//# sourceMappingURL=NumberInput.js.map