import { jsxDEV } from "react/jsx-dev-runtime";
import { Component } from "@contember/react-binding";
import { BareUploadField } from "../../internalComponents/BareUploadField.js";
import { useFileHandler, getFileHandler } from "../../fileHandler/useFileHandler.js";
import { useFileSelection } from "../../internalComponents/selection/useResolvedFileSelection.js";
const UploadField = Component(
  (props) => {
    const fileHandler = useFileHandler(props, "UploadField");
    const fileSelection = useFileSelection(props);
    return /* @__PURE__ */ jsxDEV(BareUploadField, { ...props, fileHandler, fileSelection }, void 0, false, {
      fileName: "/__w/interface/interface/packages/admin/src/components/bindingFacade/upload/wrappers/generic/UploadField.tsx",
      lineNumber: 23,
      columnNumber: 10
    }, void 0);
  },
  (props, environment) => /* @__PURE__ */ jsxDEV(BareUploadField, { ...props, fileHandler: getFileHandler(props, environment, "UploadField") }, void 0, false, {
    fileName: "/__w/interface/interface/packages/admin/src/components/bindingFacade/upload/wrappers/generic/UploadField.tsx",
    lineNumber: 26,
    columnNumber: 3
  }, void 0),
  "UploadField"
);
export {
  UploadField
};
//# sourceMappingURL=UploadField.js.map
