adverich-kun-ui 0.1.295 → 0.1.296

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.
@@ -27,14 +27,14 @@ const j = { key: 0 }, N = { key: 1 }, R = ["checked", "aria-checked"], U = ["onC
27
27
  function x() {
28
28
  c("toggle-select-all");
29
29
  }
30
- function S(l) {
30
+ function p(l) {
31
31
  if (!l.sortable) return;
32
32
  let s = null;
33
33
  Array.isArray(t.sortBy) ? s = t.sortBy.find((f) => f.key === l.value) : typeof t.sortBy == "string" && (s = t.sortBy === l.value ? { key: l.value, order: "asc" } : null);
34
34
  const e = (s == null ? void 0 : s.order) === "asc" ? "desc" : "asc";
35
35
  c("sort", { key: l.value, order: e });
36
36
  }
37
- function p(l) {
37
+ function S(l) {
38
38
  var s;
39
39
  if (Array.isArray(t.sortBy))
40
40
  return (s = t.sortBy.find((e) => e.key === l.value)) == null ? void 0 : s.order;
@@ -42,7 +42,7 @@ const j = { key: 0 }, N = { key: 1 }, R = ["checked", "aria-checked"], U = ["onC
42
42
  return "asc";
43
43
  }
44
44
  const C = (l) => {
45
- const s = p(l);
45
+ const s = S(l);
46
46
  return s ? s === "asc" ? I : L : O;
47
47
  }, B = [F, t.theadClass], w = [H, t.trClass], i = [K, t.thClass], u = A(null), y = () => {
48
48
  u.value && (u.value.indeterminate = t.someSelected && !t.allSelected);
@@ -81,7 +81,7 @@ const j = { key: 0 }, N = { key: 1 }, R = ["checked", "aria-checked"], U = ["onC
81
81
  (o(!0), r(E, null, T(n.headers, (e) => (o(), r("th", {
82
82
  key: e.key,
83
83
  class: a([i, e.headerAlign === "right" ? "text-right" : e.headerAlign === "left" ? "text-left" : "text-center"]),
84
- onClick: (f) => S(e),
84
+ onClick: (f) => p(e),
85
85
  style: $({ cursor: e.sortable ? "pointer" : "default" })
86
86
  }, [
87
87
  g(l.$slots, `header.${e.key}`, { header: e }, () => [
@@ -93,7 +93,7 @@ const j = { key: 0 }, N = { key: 1 }, R = ["checked", "aria-checked"], U = ["onC
93
93
  ], 14, U))), 128)),
94
94
  n.hasActions ? (o(), r("th", {
95
95
  key: 2,
96
- class: a([[i], "text-center"])
96
+ class: a([[i], "text-center print:hidden"])
97
97
  }, h(n.actionLabel), 3)) : d("", !0)
98
98
  ])
99
99
  ]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adverich-kun-ui",
3
- "version": "0.1.295",
3
+ "version": "0.1.296",
4
4
  "type": "module",
5
5
  "description": "Una librería de componentes Vue.js con Tailwind CSS",
6
6
  "main": "dist/index.js",