@ianicdev/datatables2 0.10.5 → 0.10.7

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 (51) hide show
  1. package/dist/{Columns-CPCKKIx3.cjs → Columns-BQBgwIE4.cjs} +1 -1
  2. package/dist/{Columns-ZxF5CuL6.js → Columns-CeOoSZPT.js} +1 -1
  3. package/dist/{Comparison-DfPeTvCT.cjs → Comparison-TwSFYOo8.cjs} +1 -1
  4. package/dist/{Comparison-CMTDEfUJ.js → Comparison-w8X0sSEz.js} +6 -6
  5. package/dist/Datepicker-Bfg7S8gY.cjs +2 -0
  6. package/dist/Datepicker-DZj1h3YE.js +1425 -0
  7. package/dist/{Download-CjD4NWhV.cjs → Download-CtOrEQa0.cjs} +1 -1
  8. package/dist/{Download-CBodg9GI.js → Download-h5jMMWzV.js} +3 -3
  9. package/dist/{Options-BHx4o8aa.js → Options-Cf8cNif9.js} +1 -1
  10. package/dist/{Options-e0hJOpF8.cjs → Options-DgUkT0h1.cjs} +1 -1
  11. package/dist/{RefreshTable-DlG8UH4c.js → RefreshTable-B5qFMtYy.js} +2 -2
  12. package/dist/{RefreshTable-CyPWCK3e.cjs → RefreshTable-CyPzzQ1S.cjs} +1 -1
  13. package/dist/{Search-DDRz2N_S.js → Search--1ntexbx.js} +2 -2
  14. package/dist/{Search-D4UmoZpS.cjs → Search-YN4Jt4eC.cjs} +1 -1
  15. package/dist/{Table-QxreAQB1.js → Table-5pQ_bwxC.js} +3 -3
  16. package/dist/{Table-ACmKFpAk.cjs → Table-WgtgmVfz.cjs} +1 -1
  17. package/dist/{TableServer-pRzLKhVw.cjs → TableServer-7AzrveN2.cjs} +1 -1
  18. package/dist/{TableServer-BQUFKBeQ.js → TableServer-Bewaghu8.js} +3 -3
  19. package/dist/{cellRender-B3IOPLJf.js → cellRender-Cy88VFEF.js} +451 -452
  20. package/dist/cellRender-kbJfFjXc.cjs +1 -0
  21. package/dist/{dataTables-Be-U1RVV.js → dataTables-ej1IEGzo.js} +1385 -1388
  22. package/dist/dataTables-z7fPX2Wi.cjs +4 -0
  23. package/dist/datatables.cjs +1 -1
  24. package/dist/datatables.js +1 -1
  25. package/dist/datatables2.css +1 -1
  26. package/dist/html2canvas.esm-B5qzocYs.cjs +5 -0
  27. package/dist/{html2canvas.esm-DQ00cQCm.js → html2canvas.esm-BWVIUcAF.js} +5 -55
  28. package/dist/{index-5WIEduUN.js → index-C3S1kkaI.js} +2 -2
  29. package/dist/index-CiJ4XY6g.cjs +1 -0
  30. package/dist/index-DfPhvU77.js +5865 -0
  31. package/dist/{index-CDteNa2i.cjs → index-EmvtFwx8.cjs} +1 -1
  32. package/dist/{index.es-Ciudu1vj.cjs → index.es-BtDW7HTQ.cjs} +1 -1
  33. package/dist/{index.es-eRsZ1LFr.js → index.es-Bv6Mb9BC.js} +2 -2
  34. package/dist/{jspdf-B3ZoDzKb.cjs → jspdf-BsORS480.cjs} +2 -2
  35. package/dist/{jspdf-ooxm5O8S.js → jspdf-D9i2dan7.js} +3 -3
  36. package/dist/purify.es-B-PIlM9I.js +552 -0
  37. package/dist/purify.es-B-_4ubwQ.cjs +2 -0
  38. package/dist/{xlsx-BiH37OJz.cjs → xlsx-D4qEY9Uo.cjs} +5 -5
  39. package/dist/{xlsx-Beik4N2o.js → xlsx-VYa4XHDj.js} +8 -48
  40. package/package.json +14 -13
  41. package/dist/Datepicker-BLYCUwKH.js +0 -1411
  42. package/dist/Datepicker-CbsULJsG.cjs +0 -2
  43. package/dist/cellRender-CA6S9KvF.cjs +0 -1
  44. package/dist/dataTables-BbXv6am2.cjs +0 -4
  45. package/dist/html2canvas.esm-CNmnTSlr.cjs +0 -5
  46. package/dist/index-BAxGZLuh.js +0 -4533
  47. package/dist/index-m_LBTAkz.cjs +0 -1
  48. package/dist/purify.es-BwLardii.js +0 -527
  49. package/dist/purify.es-ClceE12G.cjs +0 -2
  50. package/dist/sortablejs-C0WJhxmJ.js +0 -1254
  51. package/dist/sortablejs-Da6TYh39.cjs +0 -1
@@ -1533,10 +1533,8 @@ var Qn = /* @__PURE__ */ (function() {
1533
1533
  function X(d, E) {
1534
1534
  var _ = E || {};
1535
1535
  if (_.fileType == "mad") return ds(d, _);
1536
- switch (D(d), _.fileType) {
1537
- case "zip":
1538
- return fs(d, _);
1539
- }
1536
+ if (D(d), _.fileType === "zip")
1537
+ return fs(d, _);
1540
1538
  var w = (function(ne) {
1541
1539
  for (var Z = 0, Q = 0, de = 0; de < ne.FileIndex.length; ++de) {
1542
1540
  var Ue = ne.FileIndex[de];
@@ -3846,12 +3844,7 @@ function rl(e, t) {
3846
3844
  }).forEach(function(n) {
3847
3845
  if (e[n[1]] != null) {
3848
3846
  var a = t && t.Props && t.Props[n[1]] != null ? t.Props[n[1]] : e[n[1]];
3849
- switch (n[2]) {
3850
- case "date":
3851
- a = new Date(a).toISOString().replace(/\.\d*Z/, "Z");
3852
- break;
3853
- }
3854
- typeof a == "number" ? a = String(a) : a === !0 || a === !1 ? a = a ? "1" : "0" : a instanceof Date && (a = new Date(a).toISOString().replace(/\.\d*Z/, "")), r.push(ar(va[n[1]] || n[1], a));
3847
+ n[2] === "date" && (a = new Date(a).toISOString().replace(/\.\d*Z/, "Z")), typeof a == "number" ? a = String(a) : a === !0 || a === !1 ? a = a ? "1" : "0" : a instanceof Date && (a = new Date(a).toISOString().replace(/\.\d*Z/, "")), r.push(ar(va[n[1]] || n[1], a));
3855
3848
  }
3856
3849
  }), J("DocumentProperties", r.join(""), { xmlns: Cr.o });
3857
3850
  }
@@ -4808,11 +4801,7 @@ var Wl = /* @__PURE__ */ (function() {
4808
4801
  break;
4809
4802
  /* window */
4810
4803
  case "P":
4811
- switch (he[1].charAt(0)) {
4812
- case "P":
4813
- H.push(_e.slice(3).replace(/;;/g, ";"));
4814
- break;
4815
- }
4804
+ he[1].charAt(0) === "P" && H.push(_e.slice(3).replace(/;;/g, ";"));
4816
4805
  break;
4817
4806
  case "NN":
4818
4807
  {
@@ -5162,15 +5151,7 @@ EOD`;
5162
5151
  var b = C[C.length - 1];
5163
5152
  /* falls through */
5164
5153
  case "vtc":
5165
- switch (C[3]) {
5166
- case "nl":
5167
- p[v][g] = !!+C[4];
5168
- break;
5169
- default:
5170
- p[v][g] = C[C.length - 1].charAt(0) == "#" ? { t: "e", v: Gr[C[C.length - 1]] } : +C[4];
5171
- break;
5172
- }
5173
- C[2] == "vtf" && (p[v][g] = [p[v][g], b]);
5154
+ C[3] === "nl" ? p[v][g] = !!+C[4] : p[v][g] = C[C.length - 1].charAt(0) == "#" ? { t: "e", v: Gr[C[C.length - 1]] } : +C[4], C[2] == "vtf" && (p[v][g] = [p[v][g], b]);
5174
5155
  }
5175
5156
  }
5176
5157
  }
@@ -7433,15 +7414,7 @@ function nh(e) {
7433
7414
  for (var t = [], r = 0; r < e.length; ++r) {
7434
7415
  for (var n = e[r], a = [], s = 0; s < n.length; ++s) {
7435
7416
  var i = n[s];
7436
- if (i) switch (i[0]) {
7437
- // TODO: handle embedded quotes
7438
- case 2:
7439
- a.push('"' + i[1].replace(/"/g, '""') + '"');
7440
- break;
7441
- default:
7442
- a.push(i[1]);
7443
- }
7444
- else a.push("");
7417
+ i ? i[0] === 2 ? a.push('"' + i[1].replace(/"/g, '""') + '"') : a.push(i[1]) : a.push("");
7445
7418
  }
7446
7419
  t.push(a.join(","));
7447
7420
  }
@@ -7479,7 +7452,6 @@ function Hi(e, t, r) {
7479
7452
  return a = n[1] == -1 ? "#REF" : e.SheetNames[n[1]], n[1] == n[2] ? a : a + ":" + e.SheetNames[n[2]];
7480
7453
  case 358:
7481
7454
  return r.SID != null ? e.SheetNames[r.SID] : "SH33TJSSAME" + e[n[0]][0];
7482
- case 355:
7483
7455
  /* 'BrtSupBookSrc' */
7484
7456
  /* falls through */
7485
7457
  default:
@@ -15311,13 +15283,7 @@ function vx(e, t) {
15311
15283
  var h = ["SheetJ5"];
15312
15284
  for (t.tcid = 0, f = 1; f <= e.SheetNames.length; ++f) {
15313
15285
  var x = { "!id": {} }, c = e.Sheets[e.SheetNames[f - 1]], u = (c || {})["!type"] || "sheet";
15314
- switch (u) {
15315
- case "chart":
15316
- /* falls through */
15317
- default:
15318
- i = "xl/worksheets/sheet" + f + "." + r, ve(s, i, Zc(f - 1, t, e, x)), a.sheets.push(i), Oe(t.wbrels, -1, "worksheets/sheet" + f + "." + r, Ae.WS[0]);
15319
- }
15320
- if (c) {
15286
+ if (i = "xl/worksheets/sheet" + f + "." + r, ve(s, i, Zc(f - 1, t, e, x)), a.sheets.push(i), Oe(t.wbrels, -1, "worksheets/sheet" + f + "." + r, Ae.WS[0]), c) {
15321
15287
  var v = c["!comments"], g = !1, m = "";
15322
15288
  if (v && v.length > 0) {
15323
15289
  var p = !1;
@@ -15351,13 +15317,7 @@ function mx(e, t) {
15351
15317
  var h = ["SheetJ5"];
15352
15318
  for (t.tcid = 0, f = 1; f <= e.SheetNames.length; ++f) {
15353
15319
  var x = { "!id": {} }, c = e.Sheets[e.SheetNames[f - 1]], u = (c || {})["!type"] || "sheet";
15354
- switch (u) {
15355
- case "chart":
15356
- /* falls through */
15357
- default:
15358
- i = "xl/worksheets/sheet" + f + "." + r, ve(s, i, Mh(f - 1, t, e, x)), a.sheets.push(i), Oe(t.wbrels, -1, "worksheets/sheet" + f + "." + r, Ae.WS[0]);
15359
- }
15360
- if (c) {
15320
+ if (i = "xl/worksheets/sheet" + f + "." + r, ve(s, i, Mh(f - 1, t, e, x)), a.sheets.push(i), Oe(t.wbrels, -1, "worksheets/sheet" + f + "." + r, Ae.WS[0]), c) {
15361
15321
  var v = c["!comments"], g = !1, m = "";
15362
15322
  if (v && v.length > 0) {
15363
15323
  var p = !1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ianicdev/datatables2",
3
- "version": "0.10.5",
3
+ "version": "0.10.7",
4
4
  "type": "module",
5
5
  "types": "./lib/index.d.ts",
6
6
  "publishConfig": {
@@ -53,8 +53,9 @@
53
53
  "update": "npx npm-check-updates --interactive --format group"
54
54
  },
55
55
  "dependencies": {
56
- "@mdi/font": "7.4.47",
56
+ "@mdi/font": "^7.4.47",
57
57
  "@vueuse/core": "^14.1.0",
58
+ "@vueuse/integrations": "^14.1.0",
58
59
  "core-js": "^3.47.0",
59
60
  "export-to-csv": "^1.4.0",
60
61
  "file-saver": "^2.0.5",
@@ -66,32 +67,32 @@
66
67
  "qs": "^6.14.0",
67
68
  "roboto-fontface": "*",
68
69
  "sortablejs": "^1.15.6",
69
- "vue": "^3.5.25",
70
+ "vue": "^3.5.26",
70
71
  "vue-i18n": "^11.2.2",
71
- "vuetify": "^3.11.1",
72
+ "vuetify": "^3.11.4",
72
73
  "xlsx": "npm:@e965/xlsx@0.20.3"
73
74
  },
74
75
  "devDependencies": {
75
- "@eslint/js": "^9.39.1",
76
+ "@eslint/js": "^9.39.2",
76
77
  "@tsconfig/node22": "^22.0.5",
77
- "@types/node": "^24.10.1",
78
- "@vitejs/plugin-vue": "^6.0.2",
78
+ "@types/node": "^25.0.3",
79
+ "@vitejs/plugin-vue": "^6.0.3",
79
80
  "@vue/eslint-config-typescript": "^14.6.0",
80
81
  "@vue/tsconfig": "^0.8.1",
81
82
  "defu": "^6.1.4",
82
- "eslint": "^9.39.1",
83
+ "eslint": "^9.39.2",
83
84
  "eslint-plugin-vue": "^10.6.2",
84
85
  "pinia": "^3.0.4",
85
- "sass": "^1.94.2",
86
+ "sass": "^1.97.0",
86
87
  "typescript": "^5.9.3",
87
88
  "unplugin-auto-import": "^20.3.0",
88
89
  "unplugin-fonts": "^1.4.0",
89
90
  "unplugin-vue-components": "^30.0.0",
90
- "unplugin-vue-router": "^0.18.0",
91
- "vite": "^7.2.6",
91
+ "unplugin-vue-router": "^0.19.1",
92
+ "vite": "^7.3.0",
92
93
  "vite-plugin-vue-layouts-next": "^1.3.0",
93
94
  "vite-plugin-vuetify": "^2.1.2",
94
- "vue-router": "^4.6.3",
95
- "vue-tsc": "^3.1.5"
95
+ "vue-router": "^4.6.4",
96
+ "vue-tsc": "^3.1.8"
96
97
  }
97
98
  }