UNPKG

@aplus-frontend/ui

Version:

19 lines (18 loc) 477 B
import { createVNode as r } from "vue"; import { omit as o } from "lodash-unified"; import { ApModal as t } from "../../../ap-modal/index.mjs"; import { ApFilePreview as l } from "../index.mjs"; const f = (e) => { t.createModal({ title: e?.fileName ?? "File Preview", width: "90%", wrapperOffset: !0, wrapperFullHeight: !0, footer: null, content: r(l, o(e, "modalProps"), null), ...e?.modalProps }); }; export { f as createFilePreviewModal };