@ianicdev/datatables2 0.3.1 → 0.3.2
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-C3y-itTW.js → index-C7VX497o.js} +20 -18
- package/dist/{index-DJI9YIqE.cjs → index-CJ8xfJLy.cjs} +2 -2
- package/dist/{index.es-I3Z8o-G6.js → index.es-BHdVKx6g.js} +1 -1
- package/dist/{index.es-DlNenO7L.cjs → index.es-VhL7yjpV.cjs} +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-CJ8xfJLy.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-BHdVKx6g.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;
|
|
@@ -49999,7 +49999,7 @@ const WI = {
|
|
|
49999
49999
|
function Iv() {
|
|
50000
50000
|
return { ActionButtons: WI, Button: GI, Link: HI };
|
|
50001
50001
|
}
|
|
50002
|
-
const UI = ["innerHTML"], VI = { key: 2 }, zI = { key: 3 }, KI = ["colspan"],
|
|
50002
|
+
const UI = ["innerHTML"], VI = { key: 2 }, zI = { key: 3 }, KI = { class: "expandable-row" }, JI = ["colspan"], ZI = {
|
|
50003
50003
|
__name: "Table",
|
|
50004
50004
|
props: {
|
|
50005
50005
|
modelValue: {},
|
|
@@ -50026,15 +50026,16 @@ const UI = ["innerHTML"], VI = { key: 2 }, zI = { key: 3 }, KI = ["colspan"], JI
|
|
|
50026
50026
|
ee(zw, { type: "table-row@10" })
|
|
50027
50027
|
]),
|
|
50028
50028
|
"expanded-row": dr(({ columns: p, item: m }) => [
|
|
50029
|
-
da("tr",
|
|
50029
|
+
da("tr", KI, [
|
|
50030
50030
|
da("td", {
|
|
50031
|
+
class: "expandable-row--column",
|
|
50031
50032
|
colspan: p.length
|
|
50032
50033
|
}, [
|
|
50033
50034
|
gt(A).options.expandedRowRenderer ? (Xt(), _r(ts(gt(A).options.expandedRowRenderer), {
|
|
50034
50035
|
key: 0,
|
|
50035
50036
|
params: { columns: p, item: m }
|
|
50036
50037
|
}, null, 8, ["params"])) : XA("", !0)
|
|
50037
|
-
], 8,
|
|
50038
|
+
], 8, JI)
|
|
50038
50039
|
])
|
|
50039
50040
|
]),
|
|
50040
50041
|
_: 2
|
|
@@ -50068,7 +50069,7 @@ const UI = ["innerHTML"], VI = { key: 2 }, zI = { key: 3 }, KI = ["colspan"], JI
|
|
|
50068
50069
|
}))
|
|
50069
50070
|
]), 1040, ["modelValue", "items", "headers", "loading", "search", "onUpdate:options"]));
|
|
50070
50071
|
}
|
|
50071
|
-
},
|
|
50072
|
+
}, qI = ["innerHTML"], XI = { key: 2 }, $I = { key: 3 }, eS = { class: "expandable-row" }, tS = ["colspan"], rS = {
|
|
50072
50073
|
__name: "TableServer",
|
|
50073
50074
|
props: {
|
|
50074
50075
|
modelValue: {},
|
|
@@ -50136,15 +50137,16 @@ const UI = ["innerHTML"], VI = { key: 2 }, zI = { key: 3 }, KI = ["colspan"], JI
|
|
|
50136
50137
|
ee(zw, { type: "table-row@10" })
|
|
50137
50138
|
]),
|
|
50138
50139
|
"expanded-row": dr(({ columns: Y, item: G }) => [
|
|
50139
|
-
da("tr",
|
|
50140
|
+
da("tr", eS, [
|
|
50140
50141
|
da("td", {
|
|
50142
|
+
class: "expandable-row--column",
|
|
50141
50143
|
colspan: Y.length
|
|
50142
50144
|
}, [
|
|
50143
50145
|
gt(i).options.expandedRowRenderer ? (Xt(), _r(ts(gt(i).options.expandedRowRenderer), {
|
|
50144
50146
|
key: 0,
|
|
50145
50147
|
params: { columns: Y, item: G }
|
|
50146
50148
|
}, null, 8, ["params"])) : XA("", !0)
|
|
50147
|
-
], 8,
|
|
50149
|
+
], 8, tS)
|
|
50148
50150
|
])
|
|
50149
50151
|
]),
|
|
50150
50152
|
_: 2
|
|
@@ -50172,7 +50174,7 @@ const UI = ["innerHTML"], VI = { key: 2 }, zI = { key: 3 }, KI = ["colspan"], JI
|
|
|
50172
50174
|
{
|
|
50173
50175
|
innerHTML: j.cellRenderer({ item: D, internalItem: N, value: O, column: j })
|
|
50174
50176
|
}
|
|
50175
|
-
), null, 16,
|
|
50177
|
+
), null, 16, qI)) : j.valueFormatter ? (Xt(), Jn("span", XI, pi(j.valueFormatter({ item: D, internalItem: N, value: O, column: j })), 1)) : (Xt(), Jn("span", $I, pi(String(O).length || String(O) === "0" ? O : "-"), 1))
|
|
50176
50178
|
], 2)
|
|
50177
50179
|
])
|
|
50178
50180
|
}))
|
|
@@ -50192,10 +50194,10 @@ const UI = ["innerHTML"], VI = { key: 2 }, zI = { key: 3 }, KI = ["colspan"], JI
|
|
|
50192
50194
|
l && (e.value = l), s && (n.value = s);
|
|
50193
50195
|
}
|
|
50194
50196
|
};
|
|
50195
|
-
}),
|
|
50197
|
+
}), nS = {
|
|
50196
50198
|
key: 0,
|
|
50197
50199
|
class: "datatables-v2"
|
|
50198
|
-
},
|
|
50200
|
+
}, iS = { class: "pe-4" }, sS = {
|
|
50199
50201
|
__name: "Blueprint",
|
|
50200
50202
|
props: {
|
|
50201
50203
|
modelValue: {},
|
|
@@ -50223,7 +50225,7 @@ const UI = ["innerHTML"], VI = { key: 2 }, zI = { key: 3 }, KI = ["colspan"], JI
|
|
|
50223
50225
|
), i.value = !0;
|
|
50224
50226
|
}), $r("busEmits", u), $r("tableRef", A), $r("tableState", f), $r("downloadModal", o), n({ tableRef: A }), (w, v) => {
|
|
50225
50227
|
const x = YI;
|
|
50226
|
-
return gt(i) ? (Xt(), Jn("div",
|
|
50228
|
+
return gt(i) ? (Xt(), Jn("div", nS, [
|
|
50227
50229
|
ee(op, null, {
|
|
50228
50230
|
default: dr(() => [
|
|
50229
50231
|
ee(mf, null, {
|
|
@@ -50234,7 +50236,7 @@ const UI = ["innerHTML"], VI = { key: 2 }, zI = { key: 3 }, KI = ["colspan"], JI
|
|
|
50234
50236
|
}),
|
|
50235
50237
|
ee(gf, { class: "pa-0" }, {
|
|
50236
50238
|
default: dr(() => [
|
|
50237
|
-
(Xt(), _r(ts(gt(a).api ?
|
|
50239
|
+
(Xt(), _r(ts(gt(a).api ? rS : ZI), {
|
|
50238
50240
|
ref_key: "tableRef",
|
|
50239
50241
|
ref: A,
|
|
50240
50242
|
modelValue: s.value,
|
|
@@ -50265,7 +50267,7 @@ const UI = ["innerHTML"], VI = { key: 2 }, zI = { key: 3 }, KI = ["colspan"], JI
|
|
|
50265
50267
|
title: w.$t("$datatables.preparing_download_file")
|
|
50266
50268
|
}, {
|
|
50267
50269
|
prepend: dr(() => [
|
|
50268
|
-
da("div",
|
|
50270
|
+
da("div", iS, [
|
|
50269
50271
|
ee(hn, {
|
|
50270
50272
|
color: "primary",
|
|
50271
50273
|
size: "x-large"
|
|
@@ -50291,7 +50293,7 @@ const UI = ["innerHTML"], VI = { key: 2 }, zI = { key: 3 }, KI = ["colspan"], JI
|
|
|
50291
50293
|
])) : XA("", !0);
|
|
50292
50294
|
};
|
|
50293
50295
|
}
|
|
50294
|
-
},
|
|
50296
|
+
}, aS = {
|
|
50295
50297
|
__name: "index",
|
|
50296
50298
|
props: {
|
|
50297
50299
|
id: {
|
|
@@ -50344,7 +50346,7 @@ const UI = ["innerHTML"], VI = { key: 2 }, zI = { key: 3 }, KI = ["colspan"], JI
|
|
|
50344
50346
|
a(c), A.value.tableRef.hasOwnProperty("reloadItems") && (A.value.tableRef.reloadItems(s.state.value), d("refetchData"));
|
|
50345
50347
|
}, d = t;
|
|
50346
50348
|
return n({ refreshTable: i, refetchData: u, triggerHook: l }), $r("table_props", r), $r("triggerHook", l), (c, f) => {
|
|
50347
|
-
const p =
|
|
50349
|
+
const p = sS;
|
|
50348
50350
|
return Xt(), _r(p, {
|
|
50349
50351
|
id: e.id,
|
|
50350
50352
|
ref_key: "table",
|
|
@@ -50355,13 +50357,13 @@ const UI = ["innerHTML"], VI = { key: 2 }, zI = { key: 3 }, KI = ["colspan"], JI
|
|
|
50355
50357
|
}, null, 8, ["id"]);
|
|
50356
50358
|
};
|
|
50357
50359
|
}
|
|
50358
|
-
},
|
|
50360
|
+
}, hS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
50359
50361
|
__proto__: null,
|
|
50360
|
-
default:
|
|
50362
|
+
default: aS
|
|
50361
50363
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
50362
50364
|
export {
|
|
50363
50365
|
Wr as _,
|
|
50364
50366
|
pr as c,
|
|
50365
50367
|
F0 as g,
|
|
50366
|
-
|
|
50368
|
+
hS as i
|
|
50367
50369
|
};
|