import { defineComponent as u, mergeModels as n, useModel as o, resolveComponent as i, createBlock as m, openBlock as f } from "vue";
const b = /* @__PURE__ */ u({
  __name: "wt-time-input",
  props: /* @__PURE__ */ n({
    label: { default: "" },
    name: { default: "" },
    maxValue: { default: void 0 },
    required: { type: Boolean, default: !1 },
    disabled: { type: Boolean, default: !1 },
    labelProps: { default: () => ({}) },
    hideInputInfo: { type: Boolean, default: !1 },
    v: { default: null },
    regleValidation: { default: null },
    customValidators: { default: () => [] }
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(e) {
    const l = o(e, "modelValue");
    return (r, a) => {
      const d = i("wt-input-number");
      return f(), m(d, {
        "model-value": l.value,
        "onUpdate:modelValue": a[0] || (a[0] = (t) => l.value = t),
        label: e.label,
        "label-props": e.labelProps,
        name: e.name,
        max: e.maxValue,
        min: 0,
        v: e.v,
        required: e.required,
        disabled: e.disabled,
        "hide-input-info": e.hideInputInfo
      }, null, 8, ["model-value", "label", "label-props", "name", "max", "v", "required", "disabled", "hide-input-info"]);
    };
  }
});
export {
  b as default
};
