@ianicdev/datatables2 0.3.0 → 0.3.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.
- package/dist/datatables.cjs +1 -1
- package/dist/datatables.js +1 -1
- package/dist/{index-Dq93eCyZ.js → index-C3y-itTW.js} +6 -6
- package/dist/{index-DsLHqINg.cjs → index-DJI9YIqE.cjs} +2 -2
- package/dist/{index.es-CzHyX90u.cjs → index.es-DlNenO7L.cjs} +1 -1
- package/dist/{index.es-BCzzqMeg.js → index.es-I3Z8o-G6.js} +1 -1
- package/package.json +1 -1
package/dist/datatables.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),s={install(e){e.component("DataTable",t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-
|
|
1
|
+
"use strict";const t=require("vue"),s={install(e){e.component("DataTable",t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-DJI9YIqE.cjs")).then(n=>n.index)))}};module.exports=s;
|
package/dist/datatables.js
CHANGED
|
@@ -47099,7 +47099,7 @@ function(e) {
|
|
|
47099
47099
|
*/
|
|
47100
47100
|
function(e) {
|
|
47101
47101
|
function n() {
|
|
47102
|
-
return (qt.canvg ? Promise.resolve(qt.canvg) : import("./index.es-
|
|
47102
|
+
return (qt.canvg ? Promise.resolve(qt.canvg) : import("./index.es-I3Z8o-G6.js")).catch(function(t) {
|
|
47103
47103
|
return Promise.reject(new Error("Could not load canvg: " + t));
|
|
47104
47104
|
}).then(function(t) {
|
|
47105
47105
|
return t.default ? t.default : t;
|
|
@@ -50097,19 +50097,19 @@ const UI = ["innerHTML"], VI = { key: 2 }, zI = { key: 3 }, KI = ["colspan"], JI
|
|
|
50097
50097
|
advancedFilters: s.value,
|
|
50098
50098
|
hardFilters: a.value
|
|
50099
50099
|
}), g = async () => {
|
|
50100
|
-
const x = d.value.sortBy, L = d.value.search, { data: Y } = m.value
|
|
50100
|
+
const x = d.value.sortBy, L = d.value.search, { data: Y } = m.value;
|
|
50101
|
+
return (await h({
|
|
50101
50102
|
page: 1,
|
|
50102
50103
|
itemsPerPage: -1,
|
|
50103
50104
|
sortBy: x,
|
|
50104
50105
|
search: L
|
|
50105
|
-
});
|
|
50106
|
-
return G.value[Y];
|
|
50106
|
+
}))[Y];
|
|
50107
50107
|
}, w = async ({ page: x, itemsPerPage: L, sortBy: Y, search: G }) => {
|
|
50108
50108
|
c.value = !0, A({ page: x, itemsPerPage: L, sortBy: Y, search: G });
|
|
50109
50109
|
const { data: D, total: N } = m.value, O = await h({ page: x, itemsPerPage: L, sortBy: Y, search: G });
|
|
50110
50110
|
if (!O) return;
|
|
50111
|
-
const
|
|
50112
|
-
o.value = j
|
|
50111
|
+
const j = O;
|
|
50112
|
+
o.value = j[D], f.value = j[N], c.value = !1;
|
|
50113
50113
|
}, v = (x = {}) => {
|
|
50114
50114
|
if (!d.value) return;
|
|
50115
50115
|
const L = d.value.page, Y = d.value.itemsPerPage, G = d.value.sortBy, D = d.value.search;
|