@ianicdev/datatables2 0.8.15 → 0.8.16
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/{Columns-CbCyHqIz.cjs → Columns-CXLpVp9o.cjs} +1 -1
- package/dist/{Columns-yWAGrf5J.js → Columns-DFFA76r9.js} +1 -1
- package/dist/{Comparison-aai1XuBD.cjs → Comparison-CHgtd2_K.cjs} +1 -1
- package/dist/{Comparison-Bnnoe8Bt.js → Comparison-CxtIF1j1.js} +1 -1
- package/dist/{Datepicker-NgLRJwEn.js → Datepicker-9OGqYUYS.js} +2 -2
- package/dist/{Datepicker-CLnsGSS6.cjs → Datepicker-CqIdbz1C.cjs} +1 -1
- package/dist/{Download-CgMeWjIL.js → Download-CVYfz0Dn.js} +3 -3
- package/dist/{Download-C5jSumSU.cjs → Download-DQeQ7L-F.cjs} +1 -1
- package/dist/{Options-BJIkNcEi.js → Options-CCs38y2s.js} +1 -1
- package/dist/{Options-DMUT5noM.cjs → Options-zU-AQOf5.cjs} +1 -1
- package/dist/{RefreshTable-BsupAIBX.js → RefreshTable-Bd3R53R5.js} +2 -2
- package/dist/{RefreshTable-C3ZiDeOk.cjs → RefreshTable-CL-wZop-.cjs} +1 -1
- package/dist/{Search-wlws1Tg-.cjs → Search-Bx6YYkMQ.cjs} +1 -1
- package/dist/{Search-CrCOD6gZ.js → Search-D8HrkoPb.js} +2 -2
- package/dist/{Table-BAXZWtzv.cjs → Table-Bmliyq7v.cjs} +1 -1
- package/dist/{Table-BjmvxzG6.js → Table-CNs60LSW.js} +2 -2
- package/dist/{TableServer-ByWJDF4y.cjs → TableServer-DofMcT2r.cjs} +1 -8
- package/dist/{TableServer-9e0SnBbT.js → TableServer-iUuU7UzF.js} +3 -11
- package/dist/{cellRender-Dh1TBBCc.js → cellRender-B0HWDUm8.js} +2 -2
- package/dist/{cellRender-D-TK2Vx6.cjs → cellRender-B33OOzkW.cjs} +1 -1
- package/dist/{dataTables-BEt0Mho4.js → dataTables-B08Xc7bo.js} +45 -45
- package/dist/dataTables-DCnrUmUh.cjs +4 -0
- package/dist/datatables.cjs +1 -1
- package/dist/datatables.js +1 -1
- package/dist/datatables2.css +1 -1
- package/dist/{html2canvas.esm-CUkZERmf.cjs → html2canvas.esm-CNmnTSlr.cjs} +1 -18
- package/dist/{html2canvas.esm-Dmi1NfiH.js → html2canvas.esm-DQ00cQCm.js} +0 -19
- package/dist/{index-B4ImFSQF.js → index-BtA1RE4g.js} +12 -12
- package/dist/{index-eV98ePHW.cjs → index-CR-8W111.cjs} +1 -1
- package/dist/{index-SVP6CdDP.cjs → index-DYDMoN3B.cjs} +1 -1
- package/dist/{index-B6n9PS9m.js → index-bh7xyE4p.js} +1 -1
- package/dist/{index.es-sKSodxcW.js → index.es-BXudRhtE.js} +1 -15
- package/dist/{index.es-B0GUE7KM.cjs → index.es-DbLPWyn6.cjs} +2 -15
- package/dist/{jspdf-BDkAtFGI.cjs → jspdf-DQdhUPLM.cjs} +3 -118
- package/dist/{jspdf-CzuJJB6C.js → jspdf-Dt---f5Z.js} +3 -125
- package/dist/{purify.es-DHbHSKL1.js → purify.es-BwLardii.js} +0 -1
- package/dist/purify.es-ClceE12G.cjs +2 -0
- package/dist/{sortablejs-DSHM8iDp.js → sortablejs-C0WJhxmJ.js} +0 -6
- package/dist/sortablejs-Da6TYh39.cjs +1 -0
- package/dist/{xlsx-vtl6oPEm.js → xlsx-Beik4N2o.js} +0 -2
- package/dist/{xlsx-BBXALOAs.cjs → xlsx-BiH37OJz.cjs} +2 -2
- package/package.json +12 -12
- package/dist/dataTables-codcCcM8.cjs +0 -4
- package/dist/purify.es-D1I7B1hP.cjs +0 -2
- package/dist/sortablejs-BhPwT7wS.cjs +0 -6
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|
3
|
-
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
4
|
-
* Released under MIT License
|
|
5
|
-
*/
|
|
6
|
-
/*! *****************************************************************************
|
|
7
|
-
Copyright (c) Microsoft Corporation.
|
|
8
|
-
|
|
9
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
10
|
-
purpose with or without fee is hereby granted.
|
|
11
|
-
|
|
12
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
13
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
14
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
15
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
16
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
17
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
18
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
19
|
-
***************************************************************************** */
|
|
20
1
|
var mr = function(e, A) {
|
|
21
2
|
return mr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, r) {
|
|
22
3
|
t.__proto__ = r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as R, inject as ye, computed as V, watch as ue, nextTick as me, createVNode as d, normalizeStyle as be, normalizeClass as ae, createElementVNode as C, Fragment as ie, toDisplayString as Ue, withDirectives as Te, mergeProps as z, useId as De, toRef as T, provide as Be, onScopeDispose as st, shallowRef as ne, unref as B, onBeforeMount as un, onBeforeUnmount as dl, onMounted as Ne, createBlock as fe, openBlock as X, isRef as $e, withCtx as W, createElementBlock as Ee, renderList as wt, vShow as it, mergeModels as _t, useModel as ut, cloneVNode as rn, watchEffect as St, toValue as Yt, createTextVNode as cn, h as fl, capitalize as Pt, defineAsyncComponent as Ce, resolveDynamicComponent as xe, createCommentVNode as He } from "vue";
|
|
2
|
-
import { S as dn } from "./sortablejs-
|
|
2
|
+
import { S as dn } from "./sortablejs-C0WJhxmJ.js";
|
|
3
3
|
import { defineStore as vl } from "pinia";
|
|
4
|
-
import { g as K, p as L, a as At, u as ee, m as ke, b as oe, c as fn, V as je, d as ge, e as Se, f as We, I as re, R as Oe, h as Re, i as Ft, j as ml, k as rt, l as Je, n as Tt, o as gl, q as Dt, r as yl, s as Ye, t as bl, v as hl, w as vn, L as pl, x as Bt, y as Pe, z as Sl, A as Xe, B as kl, C as Et, D as Cl, E as Nt, F as Qe, G as $t, H as we, J as ze, K as pe, M as Ot, N as Ae, O as ct, P as dt, Q as kt, S as Ze, T as Le, U as Vl, W as Rt, X as ft, Y as xl, Z as Il, _ as wl, $ as Ct, a0 as vt, a1 as mn, a2 as et, a3 as gn, a4 as Ge, a5 as Xt, a6 as yn, a7 as _l, a8 as Vt, a9 as _e, aa as Ie, ab as Lt, ac as nt, ad as xt, ae as Pl, af as Fe, ag as bn, ah as hn, ai as pn, aj as Al, ak as Fl, al as at, am as Qt, an as Tl, ao as Sn, ap as kn, aq as Zt, ar as Dl, as as Cn, at as Vn, au as xn, av as In, aw as wn, ax as Me, ay as el, az as _n, aA as Pn, aB as An, aC as Fn, aD as Tn, aE as Dn, aF as Bn, aG as En, aH as tl, aI as Nn, aJ as $n, aK as On, aL as mt, aM as Rn, aN as Ln, aO as Mn, aP as Hn } from "./dataTables-
|
|
4
|
+
import { g as K, p as L, a as At, u as ee, m as ke, b as oe, c as fn, V as je, d as ge, e as Se, f as We, I as re, R as Oe, h as Re, i as Ft, j as ml, k as rt, l as Je, n as Tt, o as gl, q as Dt, r as yl, s as Ye, t as bl, v as hl, w as vn, L as pl, x as Bt, y as Pe, z as Sl, A as Xe, B as kl, C as Et, D as Cl, E as Nt, F as Qe, G as $t, H as we, J as ze, K as pe, M as Ot, N as Ae, O as ct, P as dt, Q as kt, S as Ze, T as Le, U as Vl, W as Rt, X as ft, Y as xl, Z as Il, _ as wl, $ as Ct, a0 as vt, a1 as mn, a2 as et, a3 as gn, a4 as Ge, a5 as Xt, a6 as yn, a7 as _l, a8 as Vt, a9 as _e, aa as Ie, ab as Lt, ac as nt, ad as xt, ae as Pl, af as Fe, ag as bn, ah as hn, ai as pn, aj as Al, ak as Fl, al as at, am as Qt, an as Tl, ao as Sn, ap as kn, aq as Zt, ar as Dl, as as Cn, at as Vn, au as xn, av as In, aw as wn, ax as Me, ay as el, az as _n, aA as Pn, aB as An, aC as Fn, aD as Tn, aE as Dn, aF as Bn, aG as En, aH as tl, aI as Nn, aJ as $n, aK as On, aL as mt, aM as Rn, aN as Ln, aO as Mn, aP as Hn } from "./dataTables-B08Xc7bo.js";
|
|
5
5
|
import { createSharedComposable as zn } from "@vueuse/core";
|
|
6
6
|
const gt = vl("datatables", () => {
|
|
7
7
|
const e = R([]), a = ({ table_id: i }) => {
|
|
@@ -3846,10 +3846,10 @@ const ro = L({
|
|
|
3846
3846
|
select: qa,
|
|
3847
3847
|
number: co,
|
|
3848
3848
|
datepicker: Ce(
|
|
3849
|
-
() => import("./Datepicker-
|
|
3849
|
+
() => import("./Datepicker-9OGqYUYS.js")
|
|
3850
3850
|
),
|
|
3851
3851
|
comparison: Ce(
|
|
3852
|
-
() => import("./Comparison-
|
|
3852
|
+
() => import("./Comparison-CxtIF1j1.js")
|
|
3853
3853
|
)
|
|
3854
3854
|
}, r = V(() => n.headers.filter((f) => f.advancedFilter !== !1 && !f.hidden)), i = (f) => f ? typeof f == "string" ? c[f] : f : c.textfield;
|
|
3855
3855
|
return ue(
|
|
@@ -3979,17 +3979,17 @@ const go = {
|
|
|
3979
3979
|
__name: "index",
|
|
3980
3980
|
setup(e) {
|
|
3981
3981
|
const a = Ce(
|
|
3982
|
-
() => import("./Search-
|
|
3982
|
+
() => import("./Search-D8HrkoPb.js")
|
|
3983
3983
|
), n = Ce(
|
|
3984
|
-
() => import("./RefreshTable-
|
|
3984
|
+
() => import("./RefreshTable-Bd3R53R5.js")
|
|
3985
3985
|
), t = Ce(
|
|
3986
|
-
() => import("./Options-
|
|
3986
|
+
() => import("./Options-CCs38y2s.js")
|
|
3987
3987
|
), l = Ce(
|
|
3988
|
-
() => import("./index-
|
|
3988
|
+
() => import("./index-bh7xyE4p.js")
|
|
3989
3989
|
), s = Ce(
|
|
3990
|
-
() => import("./Columns-
|
|
3990
|
+
() => import("./Columns-DFFA76r9.js")
|
|
3991
3991
|
), c = Ce(
|
|
3992
|
-
() => import("./Download-
|
|
3992
|
+
() => import("./Download-CVYfz0Dn.js")
|
|
3993
3993
|
), r = ye("table_props"), i = ye("pluginOptions"), { advancedFiltersState: f } = tt(), u = R(null), o = R(!1), v = r.options?.header?.components ?? {}, y = V(() => Object.keys(f.value).length);
|
|
3994
3994
|
return (m, h) => {
|
|
3995
3995
|
const S = go, k = ca;
|
|
@@ -4091,9 +4091,9 @@ const go = {
|
|
|
4091
4091
|
], ["update:modelValue"]),
|
|
4092
4092
|
setup(e, { expose: a, emit: n }) {
|
|
4093
4093
|
const t = Ce(
|
|
4094
|
-
() => import("./Table-
|
|
4094
|
+
() => import("./Table-CNs60LSW.js")
|
|
4095
4095
|
), l = Ce(
|
|
4096
|
-
() => import("./TableServer-
|
|
4096
|
+
() => import("./TableServer-iUuU7UzF.js")
|
|
4097
4097
|
), { storeOptions: s } = an(), { saveTableOptions: c } = tt(), r = ut(e, "modelValue"), i = ye("table_props"), f = ye("pluginOptions"), u = R(null), o = R(!1), v = R(!1), y = R(!1), m = n, h = gt(), { dataStateGet: S, tableDataState: k, checkTableState: I } = Bl(i), { addTable: E, restoreData: F } = h, w = V(() => {
|
|
4098
4098
|
const $ = i.options?.header;
|
|
4099
4099
|
return $ === void 0 || typeof $ == "object" && $ !== null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("./index-DYDMoN3B.cjs"),b={__name:"Selected",props:{modelValue:{},modelModifiers:{}},emits:e.mergeModels(["save"],["update:modelValue"]),setup(_,{emit:h}){const n=e.inject("table_props"),o=e.useModel(_,"modelValue"),{hardFiltersState:f}=c.useTableState(),{registerHook:u}=c.useDatatablesHooksStore(),r=e.ref([]),m=h,l=e.inject("busEmits");e.watch(r,s=>{const t={};s.forEach(a=>{let i=n.hardFilters?.[a]??null;isNaN(a)&&(i=n.hardFilters.find(v=>v.value===a)),t[a]=i}),o.value=t,l("hardFilters:update",{keys:s,filters:t}),m("save")}),e.onMounted(()=>{r.value=Object.keys(f.value),r.value.length||n.hardFilters.forEach((s,t)=>{s.active&&r.value.push(s.value??t)}),u("hardFilters:activate",d),u("hardFilters:deactivate",p)});const d=s=>{const t=JSON.parse(JSON.stringify(r.value));t.push(s),r.value=t},p=s=>{const t=JSON.parse(JSON.stringify(r.value)),a=t.findIndex(i=>i===s);a!==-1&&(t.splice(a,1),r.value=t)};return(s,t)=>(e.openBlock(),e.createBlock(c.VSheet,null,{default:e.withCtx(()=>[e.createVNode(c.VChipGroup,{modelValue:e.unref(r),"onUpdate:modelValue":t[0]||(t[0]=a=>e.isRef(r)?r.value=a:null),"selected-class":"text-primary",multiple:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(n).hardFilters,(a,i)=>(e.openBlock(),e.createBlock(c.VChip,e.mergeProps({key:i,class:"my-0"},{ref_for:!0},a,{density:"comfortable"}),null,16))),128))]),_:1},8,["modelValue"])]),_:1}))}},y={__name:"index",setup(_){const h=c.useDatatablesStore(),{setData:n}=h,o=e.ref({}),f=e.inject("table_props"),u=e.ref(0),r=()=>{const m=Object.entries(o.value).filter(([,l])=>Array.isArray(l)||typeof l=="string"?l.length>0:l!=null&&l!=="").reduce((l,[d,p])=>(l[d]=p,l),{});n({table_id:f.id,name:"hardFilters",value:{query:m}})};return e.watch(()=>f.hardFilters,()=>{u.value++}),(m,l)=>{const d=b;return e.openBlock(),e.createBlock(d,{key:e.unref(u),modelValue:e.unref(o),"onUpdate:modelValue":l[0]||(l[0]=p=>e.isRef(o)?o.value=p:null),onSave:r},null,8,["modelValue"])}}};exports.default=y;
|