@react-form-builder/core
Version:
React JSON Schema Form Builder to create complex, validated, reusable forms with no deep React knowledge required
30 lines (29 loc) • 1.06 kB
JavaScript
import { boolean as o } from "../annotation/booleanAnnotation.js";
import { disabled as r } from "../annotation/disabledAnnotation.js";
import { object as a } from "../annotation/objectAnnotation.js";
import { readOnly as m } from "../annotation/readOnlyAnnotation.js";
import { toArray as n } from "../annotation/toArray.js";
import { modules as p } from "../define/constants.js";
import { Meta as i } from "../define/utils/Meta.js";
import { generateTemplateTypeName as d } from "../ui/templateUtil.js";
import { embeddedFormStyleProperties as l } from "./embeddedFormStyleProperties.js";
const f = o.default(!0).calculable(!1).hinted("Store data in parent form").named("Store data in parent form"), s = a.hinted("The additional options for loading the template").named("Template options");
function M(e) {
const t = d(e);
return new i(
t,
n({
storeDataInParentForm: f,
options: s,
disabled: r,
readOnly: m
}),
[],
l,
p
);
}
export {
M as createTemplateMeta
};
//# sourceMappingURL=templateMeta.js.map