@ianicdev/datatables2 0.0.44 → 0.0.46

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-CRKmW_Ak.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-CYgCX7c3.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-DlyrTYj4.mjs").then((a) => a.i))
6
+ e(() => import("./index-5lQMctCH.mjs").then((a) => a.i))
7
7
  );
8
8
  }
9
9
  };
@@ -47143,7 +47143,7 @@ function(e) {
47143
47143
  */
47144
47144
  function(e) {
47145
47145
  function n() {
47146
- return (Zt.canvg ? Promise.resolve(Zt.canvg) : import("./index.es-DQChOQGF.mjs")).catch(function(t) {
47146
+ return (Zt.canvg ? Promise.resolve(Zt.canvg) : import("./index.es-ByyFA_G3.mjs")).catch(function(t) {
47147
47147
  return Promise.reject(new Error("Could not load canvg: " + t));
47148
47148
  }).then(function(t) {
47149
47149
  return t.default ? t.default : t;
@@ -50190,10 +50190,10 @@ function Sy() {
50190
50190
  }), a;
50191
50191
  });
50192
50192
  return zt(
50193
- t,
50194
- (s, a) => {
50195
- const l = (s == null ? void 0 : s.data) ?? [], o = (a == null ? void 0 : a.data) ?? [];
50196
- JSON.stringify(l) !== JSON.stringify(o) && (r.value = s.data);
50193
+ () => t.data,
50194
+ async (s, a) => {
50195
+ const l = s ?? [], o = a ?? [];
50196
+ JSON.stringify(l) !== JSON.stringify(o) && (r.value = s);
50197
50197
  },
50198
50198
  { deep: !0, immediate: !0 }
50199
50199
  ), { tableData: r, filteredData: A };
@@ -50296,9 +50296,8 @@ const kS = ["innerHTML"], PS = { key: 2 }, TS = { key: 3 }, NS = ["colspan"], jS
50296
50296
  "onUpdate:options": xt(s),
50297
50297
  items: xt(a),
50298
50298
  headers: xt(A),
50299
- loading: xt(l).loading,
50300
- search: xt(r)
50301
- }, { ...xt(l).options, ...xt(t).options.state }), k1({
50299
+ loading: xt(l).loading
50300
+ }, { ...xt(l).options, ...xt(t).options.state }, { search: xt(r) }), k1({
50302
50301
  loading: wr(() => [
50303
50302
  $(Av, { type: "table-row@10" })
50304
50303
  ]),
@@ -51682,10 +51681,11 @@ const aQ = /* @__PURE__ */ Fp(sQ), oQ = ["innerHTML"], lQ = { key: 2 }, AQ = { k
51682
51681
  items: xt(l),
51683
51682
  "items-length": xt(f),
51684
51683
  loading: xt(d) || xt(o).loading,
51685
- search: xt(r),
51686
- "onUpdate:options": g,
51687
51684
  headers: xt(A)
51688
- }, { ...xt(o).options, ...xt(t).options.state }), k1({
51685
+ }, { ...xt(o).options, ...xt(t).options.state }, {
51686
+ search: xt(r),
51687
+ "onUpdate:options": g
51688
+ }), k1({
51689
51689
  loading: wr(() => [
51690
51690
  $(Av, { type: "table-row@10" })
51691
51691
  ]),
@@ -51730,7 +51730,7 @@ const aQ = /* @__PURE__ */ Fp(sQ), oQ = ["innerHTML"], lQ = { key: 2 }, AQ = { k
51730
51730
  ], 2)
51731
51731
  ])
51732
51732
  }))
51733
- ]), 1040, ["modelValue", "items", "items-length", "loading", "search", "headers"]));
51733
+ ]), 1040, ["modelValue", "items", "items-length", "loading", "headers", "search"]));
51734
51734
  }
51735
51735
  }, fQ = {
51736
51736
  key: 0,