import s from "./TableComponent.vue.js";
import { h as a, computed as o, unref as n, reactive as f } from "vue";
import { RawData as m } from "./adapters/RawData.js";
import { AsyncData as h } from "./adapters/AsyncData.js";
function g(t) {
  return Object.freeze(t);
}
function y(t) {
  return a(s, { settings: Object.freeze(t) });
}
function c(t, e) {
  const r = new m(t, e.resolveRowHeight, e.resolvePrimaryKey);
  return { ...e, dataSource: r };
}
function R(t, e) {
  return o(() => {
    const r = n(t);
    return c(r, n(e));
  });
}
function v(t, e) {
  const r = o(() => {
    const i = n(t);
    return c(i, n(e));
  }), u = f({
    settings: r
  });
  return o(() => a(s, u));
}
export {
  h as AsyncData,
  s as Component,
  y as factory,
  c as rawDataSettings,
  g as settings,
  R as useRawData,
  v as useRawDataComponent
};
//# sourceMappingURL=index.js.map
