import { a as __unplugin_components_0 } from './chunk-6003391e.js'; import { defineComponent, toRefs, ref, mergeProps, unref, withCtx, createTextVNode, useSSRContext } from 'vue'; import { ssrRenderAttrs, ssrIncludeBooleanAttr, ssrRenderAttr, ssrRenderSlot, ssrInterpolate, ssrRenderComponent } from 'vue/server-renderer'; import 'lodash'; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "c-file-upload", __ssrInlineRender: true, props: { multiple: { type: Boolean, default: false }, accept: { default: void 0 }, title: { default: "Drag and drop files here, or click to select files" } }, emits: ["filesUpload", "fileUpload"], setup(__props, { emit }) { const props = __props; const { multiple } = toRefs(props); const isOverDropZone = ref(false); ref(null); return (_ctx, _push, _parent, _attrs) => { const _component_c_button = __unplugin_components_0; _push(``); ssrRenderSlot(_ctx.$slots, "default", {}, () => { _push(`${ssrInterpolate(_ctx.title)}
or
`); _push(ssrRenderComponent(_component_c_button, null, { default: withCtx((_2, _push2, _parent2, _scopeId) => { if (_push2) { _push2(` Browse files `); } else { return [ createTextVNode(" Browse files ") ]; } }), _: 1 }, _parent)); }, _push, _parent); _push(``); }; } }); const _sfc_setup = _sfc_main.setup; _sfc_main.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/ui/c-file-upload/c-file-upload.vue"); return _sfc_setup ? _sfc_setup(props, ctx) : void 0; }; export { _sfc_main as _ };