@ianicdev/datatables2 0.10.9 → 0.11.0

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.
Files changed (47) hide show
  1. package/dist/{Comparison-ChMG_TLF.js → Comparison-C2hZMBq4.js} +3 -3
  2. package/dist/{Comparison-Cz2qINPo.cjs → Comparison-tLPSEm-Q.cjs} +1 -1
  3. package/dist/{Datepicker-DHZwRCiL.cjs → Datepicker-BA4mQx6C.cjs} +1 -1
  4. package/dist/{Datepicker-CHMHJOq1.js → Datepicker-BO2Ixl4r.js} +51 -51
  5. package/dist/Options-C7EAVB8f.cjs +1 -0
  6. package/dist/Options-DrhE_fto.js +108 -0
  7. package/dist/RefreshTable-BNy_MWZg.js +21 -0
  8. package/dist/RefreshTable-C-AgoC97.cjs +1 -0
  9. package/dist/{Search-C5Nj3AJd.js → Search-CdHQz2KW.js} +8 -8
  10. package/dist/{Search-DsKhSX_l.cjs → Search-D_zU2pXl.cjs} +1 -1
  11. package/dist/{Table-BnieRooB.cjs → Table-B2iOe4P0.cjs} +1 -1
  12. package/dist/{Table-dk0Au7Sd.js → Table-DHHVRPoA.js} +3 -3
  13. package/dist/{TableServer-B1QsOkJ2.js → TableServer-D4Q_9dET.js} +3 -3
  14. package/dist/{TableServer-CW6o1KQR.cjs → TableServer-k8aRa4f5.cjs} +1 -1
  15. package/dist/{cellRender-DGXXI6zI.cjs → cellRender-DuBdvYbh.cjs} +1 -1
  16. package/dist/{cellRender-n1kqNyoy.js → cellRender-LGC_k50e.js} +56 -56
  17. package/dist/{dataTables-BMvhNk0d.cjs → dataTables-DV00l1p8.cjs} +1 -1
  18. package/dist/{dataTables-RDdW6ocQ.js → dataTables-j8j4naMl.js} +100 -100
  19. package/dist/datatables.cjs +1 -1
  20. package/dist/datatables.js +1 -1
  21. package/dist/datatables2.css +1 -1
  22. package/dist/{index-Xn9pmgz0.js → index-BU9rb0Q-.js} +2 -2
  23. package/dist/index-BjbhnehN.js +4477 -0
  24. package/dist/index-CEe--P_C.cjs +1 -0
  25. package/dist/{index-CXga_1To.cjs → index-CU-Eak9-.cjs} +1 -1
  26. package/dist/index-CXUreMkK.cjs +1 -0
  27. package/dist/index-DzyBRRkM.js +30 -0
  28. package/dist/index-_cYryjRU.cjs +1 -0
  29. package/dist/index-zhSEiNN0.js +61 -0
  30. package/dist/useColumns-CCJ04VF-.cjs +1 -0
  31. package/dist/useColumns-Dfrb9p8A.js +1473 -0
  32. package/dist/useDownload-CL90ZIqP.cjs +1 -0
  33. package/dist/{Download-DhsPo8yJ.js → useDownload-DgATsbOV.js} +105 -132
  34. package/dist/useRefreshTable-BhEgI00Z.cjs +1 -0
  35. package/dist/useRefreshTable-Cf0gpIuT.js +18 -0
  36. package/package.json +8 -8
  37. package/dist/Columns-W_jSwaNc.cjs +0 -1
  38. package/dist/Columns-dl3eMPe2.js +0 -28
  39. package/dist/Download-kq1kmD5M.cjs +0 -1
  40. package/dist/Options-BNWiVRrF.cjs +0 -1
  41. package/dist/Options-DwiLD_hO.js +0 -82
  42. package/dist/RefreshTable-Cq6mrqWi.js +0 -26
  43. package/dist/RefreshTable-OLZf9tHE.cjs +0 -1
  44. package/dist/escapeKeyString-CngwDxKW.js +0 -17
  45. package/dist/escapeKeyString-nS7kXLwu.cjs +0 -1
  46. package/dist/index-DIHxM6eL.cjs +0 -1
  47. package/dist/index-Doqj_5F5.js +0 -5891
@@ -0,0 +1 @@
1
+ "use strict";const i=require("vue-i18n"),u=require("./index-CEe--P_C.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;
@@ -0,0 +1,18 @@
1
+ import { useI18n as i } from "vue-i18n";
2
+ import { k as p } from "./index-BjbhnehN.js";
3
+ import { inject as t, computed as l } from "vue";
4
+ function f() {
5
+ const e = t("datatablesPluginOptions"), s = t("table_props"), a = t("busEmits"), { t: o } = i(), { deleteDataStorage: r } = p(s), n = l(() => [
6
+ {
7
+ title: `${o("$datatables.refresh")}`,
8
+ onClick: c,
9
+ prependIcon: e.header.icons.refresh
10
+ }
11
+ ]), c = () => {
12
+ r(), a("refetchData");
13
+ };
14
+ return { refreshTableItems: n };
15
+ }
16
+ export {
17
+ f as u
18
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ianicdev/datatables2",
3
- "version": "0.10.9",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "types": "./lib/index.d.ts",
6
6
  "publishConfig": {
@@ -67,31 +67,31 @@
67
67
  "qs": "^6.14.1",
68
68
  "roboto-fontface": "*",
69
69
  "sortablejs": "^1.15.6",
70
- "vue": "^3.5.26",
70
+ "vue": "^3.5.27",
71
71
  "vue-i18n": "^11.2.8",
72
- "vuetify": "^3.11.6",
72
+ "vuetify": "^3.11.7",
73
73
  "xlsx": "npm:@e965/xlsx@0.20.3"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@eslint/js": "^9.39.2",
77
77
  "@tsconfig/node22": "^22.0.5",
78
- "@types/node": "^25.0.3",
78
+ "@types/node": "^25.0.9",
79
79
  "@vitejs/plugin-vue": "^6.0.3",
80
80
  "@vue/eslint-config-typescript": "^14.6.0",
81
81
  "@vue/tsconfig": "^0.8.1",
82
82
  "defu": "^6.1.4",
83
83
  "eslint": "^9.39.2",
84
- "eslint-plugin-vue": "^10.6.2",
84
+ "eslint-plugin-vue": "^10.7.0",
85
85
  "pinia": "^3.0.4",
86
86
  "sass": "^1.97.2",
87
87
  "typescript": "^5.9.3",
88
- "unplugin-auto-import": "^20.3.0",
88
+ "unplugin-auto-import": "^21.0.0",
89
89
  "unplugin-fonts": "^1.4.0",
90
- "unplugin-vue-components": "^30.0.0",
90
+ "unplugin-vue-components": "^31.0.0",
91
91
  "unplugin-vue-router": "^0.19.2",
92
92
  "vite": "^7.3.1",
93
93
  "vite-plugin-vue-layouts-next": "^1.3.0",
94
- "vite-plugin-vuetify": "^2.1.2",
94
+ "vite-plugin-vuetify": "^2.1.3",
95
95
  "vue-router": "^4.6.4",
96
96
  "vue-tsc": "^3.2.2"
97
97
  }
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("vue-i18n"),a=require("./dataTables-BMvhNk0d.cjs"),s={__name:"Columns",props:{componentRefs:{type:Object,default:()=>({})}},setup(t){const n=e.inject("datatablesPluginOptions"),{t:o}=c.useI18n();return(r,l)=>(e.openBlock(),e.createBlock(a.VBtn,{"prepend-icon":e.unref(n).header.icons.columns,text:e.unref(o)("$datatables.columns"),variant:"text",density:"comfortable",color:"dark",stacked:"",class:"text-capitalize",onClick:t.componentRefs.columns?.openDialog},null,8,["prepend-icon","text","onClick"]))}};exports.default=s;
@@ -1,28 +0,0 @@
1
- import { inject as a, createBlock as c, openBlock as s, unref as t } from "vue";
2
- import { useI18n as r } from "vue-i18n";
3
- import { a7 as l } from "./dataTables-RDdW6ocQ.js";
4
- const f = {
5
- __name: "Columns",
6
- props: {
7
- componentRefs: {
8
- type: Object,
9
- default: () => ({})
10
- }
11
- },
12
- setup(e) {
13
- const n = a("datatablesPluginOptions"), { t: o } = r();
14
- return (i, p) => (s(), c(l, {
15
- "prepend-icon": t(n).header.icons.columns,
16
- text: t(o)("$datatables.columns"),
17
- variant: "text",
18
- density: "comfortable",
19
- color: "dark",
20
- stacked: "",
21
- class: "text-capitalize",
22
- onClick: e.componentRefs.columns?.openDialog
23
- }, null, 8, ["prepend-icon", "text", "onClick"]));
24
- }
25
- };
26
- export {
27
- f as default
28
- };