"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxDevRuntime = require("react/jsx-dev-runtime");
const reactBinding = require("@contember/react-binding");
const BareUploadField = require("../../internalComponents/BareUploadField.cjs");
const useFileHandler = require("../../fileHandler/useFileHandler.cjs");
const useResolvedFileSelection = require("../../internalComponents/selection/useResolvedFileSelection.cjs");
const UploadField = reactBinding.Component(
  (props) => {
    const fileHandler = useFileHandler.useFileHandler(props, "UploadField");
    const fileSelection = useResolvedFileSelection.useFileSelection(props);
    return /* @__PURE__ */ jsxDevRuntime.jsxDEV(BareUploadField.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__ */ jsxDevRuntime.jsxDEV(BareUploadField.BareUploadField, { ...props, fileHandler: useFileHandler.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"
);
exports.UploadField = UploadField;
//# sourceMappingURL=UploadField.cjs.map
