@aplus-frontend/ui
Version:
32 lines (31 loc) • 646 B
JavaScript
import { provide as s, inject as a, computed as o } from "vue";
const r = Symbol("apTableContextKey");
function n(t) {
s(r, t);
}
const e = () => {
};
function c() {
return a(r, {
columns: o(() => []),
updateColumns: e,
size: o(() => "middle"),
updateSize: e,
dataSource: void 0,
renderConfig: void 0,
getSearchFormValues: () => {
},
setSearchFormValues: e,
submit: e,
reset: e,
refresh: e,
getSearchFormSorterItems: () => [],
setSearchFormSorterItems: e,
resetSearchFormSorterItems: e
});
}
export {
r as ApTableContextKey,
c as useInjectApTable,
n as useProvideApTable
};