import { defineComponent, computed, ref, mergeProps, unref, withCtx, renderSlot, useSSRContext } from 'vue'; import { ssrRenderAttrs, ssrInterpolate, ssrRenderComponent, ssrRenderSlot } from 'vue/server-renderer'; import { a as useConfigStore } from './server.mjs'; import { _ as __nuxt_component_1 } from './FormItem-DY7uTw8_.mjs'; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "InstaInput", __ssrInlineRender: true, props: { value: {}, rules: {}, name: {}, label: {}, height: {}, customLabel: {}, contentHeight: { type: Boolean, default: false } }, emits: ["update:value", "onchange"], setup(__props, { emit: __emit }) { const checkField = computed(() => { var _a; return ((_a = localValue.value) == null ? void 0 : _a.length) > 0 || typeof localValue.value === "number" && localValue.value !== 0; }); const props = __props; const emits = __emit; const config = useConfigStore(); const localValue = computed({ get() { return props.value; }, set(value) { emits("update:value", value); } }); const formItemRef = ref(null); const hasError = ref(false); return (_ctx, _push, _parent, _attrs) => { const _component_a_form_item = __nuxt_component_1; _push(`