import { defineComponent, mergeProps, unref, useSSRContext } from "vue";
import { ssrRenderAttrs } from "vue/server-renderer";
import { t as textInputClasses } from "./theme.43fc44e2.js";
const _sfc_main = /* @__PURE__ */ defineComponent({
  __name: "InputNumber",
  __ssrInlineRender: true,
  props: {
    modelValue: { type: [String, Number], default: "" },
    min: { type: [String, Number], default: 0 },
    max: { type: [String, Number], default: void 0 },
    step: { type: [String, Number], default: 1 }
  },
  emits: ["update:modelValue"],
  setup(__props, { emit }) {
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<input${ssrRenderAttrs(mergeProps({
        class: unref(textInputClasses)(),
        type: "number",
        value: __props.modelValue,
        min: __props.min,
        max: __props.max,
        step: __props.step
      }, _attrs))}>`);
    };
  }
});
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../ui/InputNumber.vue");
  return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
export {
  _sfc_main as default
};
