UNPKG

@qin-ui/antd-vue-pro

Version:
51 lines (50 loc) 1.35 kB
import "./style.css"; import { _ as _sfc_main } from "./form/index-1cdda7ac.js"; import { B, d, C, b, f, F, e, h, U, i, u, j, k } from "./form/index-1cdda7ac.js"; import BaseTable from "./table/index.js"; import { useTable } from "./table/index.js"; import _sfc_main$1 from "./component-provider/index.js"; import { INIT_PROPS_MAP, INJECT_KEYS, useInjectProps, useProviderProps } from "./component-provider/index.js"; import "vue"; import "ant-design-vue"; const withInstall = (comp) => { comp.install = (app) => { app.component(comp.name, comp); }; return comp; }; const ProForm = withInstall(_sfc_main); const ProTable = withInstall(BaseTable); const ProComponentProvider = withInstall(_sfc_main$1); const components = [ProForm, ProTable, ProComponentProvider]; const index = { install(app) { components.forEach((component) => { app.component(component.name, component); }); } }; export { B as BaseField, d as BaseFormItem, C as COMPONENT_MAP, b as ContainerFragment, f as FORM_DATA, F as FORM_ITEM_SLOT_KEYS, INIT_PROPS_MAP, INJECT_KEYS, ProComponentProvider, ProForm, ProTable, e as SlotComponent, h as UPDATE_ACTIVE_PATH, U as UPDATE_FORM_DATA, index as default, i as useFields, u as useForm, j as useFormData, k as useInitProps, useInjectProps, useProviderProps, useTable };