"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const reactMultipassRendering = require("@contember/react-multipass-rendering");
const FileKind = require("./FileKind.cjs");
class BoxedFileKind {
  constructor(value) {
    this.value = value;
  }
}
const fileKindLeaf = new reactMultipassRendering.Leaf((node) => {
  return new BoxedFileKind(node.props);
}, FileKind.FileKind);
const fileKindTemplateAnalyzer = new reactMultipassRendering.ChildrenAnalyzer([fileKindLeaf], {
  ignoreUnhandledNodes: false,
  staticRenderFactoryName: "staticRender",
  unhandledNodeErrorMessage: "Upload: only FileKind children are supported."
});
exports.BoxedFileKind = BoxedFileKind;
exports.fileKindTemplateAnalyzer = fileKindTemplateAnalyzer;
//# sourceMappingURL=fileKindTemplateAnalyzer.cjs.map
