import { createBlock as e, defineComponent as t, mergeModels as n, openBlock as r, resolveComponent as i, useModel as a } from "vue";
//#endregion
//#region src/components/wt-time-input/wt-time-input.vue
var o = /* @__PURE__ */ t({
	__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(t) {
		let n = a(t, "modelValue");
		return (a, o) => {
			let s = i("wt-input-number");
			return r(), e(s, {
				"model-value": n.value,
				"onUpdate:modelValue": o[0] ||= (e) => n.value = e,
				label: t.label,
				"label-props": t.labelProps,
				name: t.name,
				max: t.maxValue,
				min: 0,
				v: t.v,
				required: t.required,
				disabled: t.disabled,
				"hide-input-info": t.hideInputInfo
			}, null, 8, [
				"model-value",
				"label",
				"label-props",
				"name",
				"max",
				"v",
				"required",
				"disabled",
				"hide-input-info"
			]);
		};
	}
});
//#endregion
export { o as default };
