@ianicdev/datatables2 0.11.3 → 0.11.5
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/{Comparison-C4t1CoQN.js → Comparison-DL9ojj3w.js} +3 -3
- package/dist/{Comparison-K_C8fK5q.cjs → Comparison-zf9wgAkk.cjs} +1 -1
- package/dist/{Datepicker-8vMCYK64.cjs → Datepicker-Dg15YseP.cjs} +1 -1
- package/dist/{Datepicker-CvoUCd6e.js → Datepicker-Duwv3zQB.js} +7 -7
- package/dist/{Options-CLwvsyYI.cjs → Options-BE82c0Zz.cjs} +1 -1
- package/dist/{Options-DtOz8dqa.js → Options-CurNvolo.js} +17 -17
- package/dist/{RefreshTable-BDCdK574.cjs → RefreshTable-Cc0I1PA5.cjs} +1 -1
- package/dist/{RefreshTable-03hYqy0d.js → RefreshTable-Cn3y6Lyg.js} +3 -3
- package/dist/{Search-DCvbaw38.js → Search-BUb6ZctR.js} +4 -4
- package/dist/{Search-BfHfgRqm.cjs → Search-CvOD_IHr.cjs} +1 -1
- package/dist/{Table-BdiBnyG7.js → Table-D5xj84Hx.js} +6 -6
- package/dist/{Table-hSaWsE5Z.cjs → Table-DRC6dqmS.cjs} +1 -1
- package/dist/{TableServer-DfNCjOUI.cjs → TableServer-BrktC88-.cjs} +1 -1
- package/dist/{TableServer-eOtGylb9.js → TableServer-DGx2_VC7.js} +11 -11
- package/dist/{cellRender-B7hkYbUV.js → cellRender-DN6k6hHB.js} +2 -2
- package/dist/{cellRender-BN5jkrLA.cjs → cellRender-DcK06KSn.cjs} +1 -1
- package/dist/{dataTables-EUusYEBd.js → dataTables-BEIZ1GFJ.js} +17 -17
- package/dist/{dataTables-B51qe1LD.cjs → dataTables-DocfWkcv.cjs} +1 -1
- package/dist/datatables.cjs +1 -1
- package/dist/datatables.js +1 -1
- package/dist/{index-BTwaqzMN.js → index-A7VzNfop.js} +3 -3
- package/dist/{index-DG3Vs3j9.js → index-BfwTwETw.js} +8 -8
- package/dist/{index-BSh8Y0C1.cjs → index-C9IAfraU.cjs} +1 -1
- package/dist/{index-sB-PMcO7.cjs → index-CqeIrUKn.cjs} +1 -1
- package/dist/{index-CsgCe_gz.js → index-DIJYRSnI.js} +14 -14
- package/dist/{index-Hcb-nE49.cjs → index-Db7uKS4O.cjs} +1 -1
- package/dist/{index-B_fG3b5A.js → index-DdbT75rv.js} +5 -5
- package/dist/{index-9hGXBnYN.cjs → index-kEBJD9Uz.cjs} +1 -1
- package/dist/{index.es-D48oZl91.js → index.es-DB0V-0tm.js} +1 -1
- package/dist/{index.es-DQaLNvpD.cjs → index.es-DZnpWbiI.cjs} +1 -1
- package/dist/jspdf-BDAGZhm6.cjs +79 -0
- package/dist/{jspdf-v7nU-ziX.js → jspdf-DpfxfImq.js} +2930 -2948
- package/dist/{purify.es-B-PIlM9I.js → purify.es-DIxY135m.js} +142 -142
- package/dist/purify.es-DSa7RKfV.cjs +2 -0
- package/dist/{useColumns-UM_zCt0D.js → useColumns-Dmca5HPg.js} +316 -302
- package/dist/useColumns-FMszZoTi.cjs +1 -0
- package/dist/{useDownload-CR3A1-nS.js → useDownload-DVYhgsLa.js} +1 -1
- package/dist/{useDownload-wLFMGFcn.cjs → useDownload-YBEDFv5z.cjs} +1 -1
- package/dist/{useRefreshTable-Dg9LI59z.cjs → useRefreshTable-BjtSww_t.cjs} +1 -1
- package/dist/{useRefreshTable-CRquY8ZU.js → useRefreshTable-BoTF0YZF.js} +1 -1
- package/lib/index.d.ts +14 -4
- package/package.json +6 -6
- package/dist/jspdf-D8dTvh2d.cjs +0 -79
- package/dist/purify.es-B-_4ubwQ.cjs +0 -2
- package/dist/useColumns-DV---ndr.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("vue-i18n"),u=require("./index-
|
|
1
|
+
"use strict";const i=require("vue-i18n"),u=require("./index-CqeIrUKn.cjs"),e=require("vue");function l(){const t=e.inject("datatablesPluginOptions"),s=e.inject("table_props"),n=e.inject("busEmits"),{t:a}=i.useI18n(),{deleteDataStorage:r}=u.useDatastate(s),c=e.computed(()=>[{title:`${a("$datatables.refresh")}`,onClick:o,prependIcon:t.header.icons.refresh}]),o=()=>{r(),n("refetchData")};return{refreshTableItems:c}}exports.useRefreshTable=l;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useI18n as i } from "vue-i18n";
|
|
2
|
-
import { k as p } from "./index-
|
|
2
|
+
import { k as p } from "./index-DIJYRSnI.js";
|
|
3
3
|
import { inject as t, computed as l } from "vue";
|
|
4
4
|
function f() {
|
|
5
5
|
const e = t("datatablesPluginOptions"), s = t("table_props"), a = t("busEmits"), { t: o } = i(), { deleteDataStorage: r } = p(s), n = l(() => [
|
package/lib/index.d.ts
CHANGED
|
@@ -16,25 +16,35 @@ type AdvancedFilterConfig =
|
|
|
16
16
|
| false
|
|
17
17
|
| (BaseAdvancedFilter & {
|
|
18
18
|
component: "textfield";
|
|
19
|
-
options?: InstanceType<typeof VTextField>["$props"]
|
|
19
|
+
options?: InstanceType<typeof VTextField>["$props"] & {
|
|
20
|
+
[key: `on${string}`]: any;
|
|
21
|
+
};
|
|
20
22
|
})
|
|
21
23
|
| (BaseAdvancedFilter & {
|
|
22
24
|
component: "select";
|
|
23
|
-
options?: InstanceType<typeof VSelect>["$props"]
|
|
25
|
+
options?: InstanceType<typeof VSelect>["$props"] & {
|
|
26
|
+
[key: `on${string}`]: any;
|
|
27
|
+
};
|
|
24
28
|
})
|
|
25
29
|
| (BaseAdvancedFilter & {
|
|
26
30
|
component: "number";
|
|
27
|
-
options?: InstanceType<typeof VNumberInput>["$props"]
|
|
31
|
+
options?: InstanceType<typeof VNumberInput>["$props"] & {
|
|
32
|
+
[key: `on${string}`]: any;
|
|
33
|
+
};
|
|
28
34
|
})
|
|
29
35
|
| (BaseAdvancedFilter & {
|
|
30
36
|
component: "datepicker";
|
|
31
37
|
options?: InstanceType<typeof VDateInput>["$props"] & {
|
|
32
38
|
returnFormat?: string;
|
|
39
|
+
[key: `on${string}`]: any;
|
|
33
40
|
};
|
|
34
41
|
})
|
|
35
42
|
| (BaseAdvancedFilter & {
|
|
36
43
|
component: "comparison";
|
|
37
|
-
options?: InstanceType<typeof VNumberInput>["$props"] &
|
|
44
|
+
options?: InstanceType<typeof VNumberInput>["$props"] &
|
|
45
|
+
InstanceType<typeof VSelect>["$props"] & {
|
|
46
|
+
[key: `on${string}`]: any;
|
|
47
|
+
};
|
|
38
48
|
})
|
|
39
49
|
| (BaseAdvancedFilter & {
|
|
40
50
|
component?: Component;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ianicdev/datatables2",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"publishConfig": {
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@mdi/font": "^7.4.47",
|
|
57
|
-
"@vueuse/core": "^14.
|
|
58
|
-
"@vueuse/integrations": "^14.
|
|
57
|
+
"@vueuse/core": "^14.2.0",
|
|
58
|
+
"@vueuse/integrations": "^14.2.0",
|
|
59
59
|
"core-js": "^3.48.0",
|
|
60
60
|
"export-to-csv": "^1.4.0",
|
|
61
61
|
"file-saver": "^2.0.5",
|
|
62
|
-
"jspdf": "^4.
|
|
62
|
+
"jspdf": "^4.1.0",
|
|
63
63
|
"jspdf-autotable": "^5.0.7",
|
|
64
64
|
"lodash": "^4.17.23",
|
|
65
65
|
"moment": "^2.30.1",
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@eslint/js": "^9.39.2",
|
|
77
77
|
"@tsconfig/node22": "^22.0.5",
|
|
78
|
-
"@types/node": "^25.0
|
|
79
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
78
|
+
"@types/node": "^25.2.0",
|
|
79
|
+
"@vitejs/plugin-vue": "^6.0.4",
|
|
80
80
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
81
81
|
"@vue/tsconfig": "^0.8.1",
|
|
82
82
|
"defu": "^6.1.4",
|