UNPKG

@aplus-frontend/ui

Version:

18 lines (17 loc) 306 B
import { provide as t, inject as r, computed as n } from "vue"; const o = Symbol("formContextKey"); function u(e) { t(o, e); } function c() { return r(o, { model: n(() => ({})), updateModel: () => { } }); } export { o as ApFormContextKey, c as useInjectForm, u as useProvideForm };