@ianicdev/datatables2 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";const t=require("vue"),s={install(e){e.component("DataTable",t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-Crrtx7oC.js")).then(n=>n.index)))}};module.exports=s;
1
+ "use strict";const t=require("vue"),s={install(e){e.component("DataTable",t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-KrtDRiBG.js")).then(n=>n.index)))}};module.exports=s;
@@ -3,7 +3,7 @@ const o = {
3
3
  install(t) {
4
4
  t.component(
5
5
  "DataTable",
6
- e(() => import("./index-BdmzEuh3.mjs").then((a) => a.i))
6
+ e(() => import("./index-B_LcTHjR.mjs").then((a) => a.i))
7
7
  );
8
8
  }
9
9
  };
@@ -47173,7 +47173,7 @@ function(e) {
47173
47173
  */
47174
47174
  function(e) {
47175
47175
  function n() {
47176
- return (Zt.canvg ? Promise.resolve(Zt.canvg) : import("./index.es-Ds_iSady.mjs")).catch(function(t) {
47176
+ return (Zt.canvg ? Promise.resolve(Zt.canvg) : import("./index.es-tdG0XDuh.mjs")).catch(function(t) {
47177
47177
  return Promise.reject(new Error("Could not load canvg: " + t));
47178
47178
  }).then(function(t) {
47179
47179
  return t.default ? t.default : t;
@@ -52027,7 +52027,7 @@ const cQ = /* @__PURE__ */ Pp(uQ), fQ = ["innerHTML"], dQ = { key: 2 }, hQ = { k
52027
52027
  const r = e, { triggerHook: A } = Ry(), { storeOptions: s, setUserOptions: a } = $y(), l = at(null), o = at(0), i = async (f = {}) => {
52028
52028
  a(f), o.value < 99 && (d("refreshTable"), await on(), o.value++);
52029
52029
  }, u = (f = {}) => {
52030
- a(f), l.value.tableRef.hasOwnProperty("reloadItems") && (l.value.tableRef.reloadItems(s), d("refetchData"));
52030
+ a(f), l.value.tableRef.hasOwnProperty("reloadItems") && (l.value.tableRef.reloadItems(s.state.value), d("refetchData"));
52031
52031
  }, d = t;
52032
52032
  return n({ refreshTable: i, refetchData: u, triggerHook: A }), en("table_props", r), en("triggerHook", A), (f, c) => {
52033
52033
  const p = bQ;