adverich-kun-ui 0.1.229 → 0.1.231

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.
@@ -1,12 +1,12 @@
1
- import { computed as k, ref as g, onMounted as C, createBlock as V, createCommentVNode as $, openBlock as d, withCtx as l, createElementVNode as c, createVNode as o, createElementBlock as N, Fragment as b, renderList as B, createTextVNode as x } from "vue";
2
- import j from "../../../KunDialog/src/components/KunDialog.vue.js";
3
- import w from "../../../KunRow/src/components/KunRow.vue.js";
4
- import z from "../../../KunCol/src/components/KunCol.vue.js";
1
+ import { computed as k, ref as g, onMounted as C, createBlock as x, createCommentVNode as $, openBlock as d, withCtx as l, createElementVNode as c, createVNode as o, createElementBlock as N, Fragment as b, renderList as z, createTextVNode as V } from "vue";
2
+ import B from "../../../KunDialog/src/components/KunDialog.vue.js";
3
+ import j from "../../../KunRow/src/components/KunRow.vue.js";
4
+ import w from "../../../KunCol/src/components/KunCol.vue.js";
5
5
  import U from "../../../KunAutocomplete/src/components/KunAutocomplete.vue.js";
6
6
  import f from "../../../KunBtn/src/components/KunBtn.vue.js";
7
7
  import A from "../../../KunIcon/src/components/KunIcon.vue.js";
8
8
  import D from "../../../../icons/IconClose.vue.js";
9
- const E = { class: "w-full" }, I = { class: "flex justify-end" }, L = { class: "flex justify-end mt-8 p-2 gap-x-2" }, G = {
9
+ const E = { class: "w-full" }, I = { class: "flex justify-end px-1" }, L = { class: "flex justify-end mt-8 p-2 gap-x-2" }, G = {
10
10
  __name: "KunTableFilter",
11
11
  props: {
12
12
  modelValue: Boolean,
@@ -35,7 +35,7 @@ const E = { class: "w-full" }, I = { class: "flex justify-end" }, L = { class: "
35
35
  function u() {
36
36
  a("update:modelValue", !1);
37
37
  }
38
- return (i, t) => m.value ? (d(), V(j, {
38
+ return (i, t) => m.value ? (d(), x(B, {
39
39
  key: 0,
40
40
  modelValue: m.value,
41
41
  "onUpdate:modelValue": t[0] || (t[0] = (e) => m.value = e),
@@ -54,15 +54,19 @@ const E = { class: "w-full" }, I = { class: "flex justify-end" }, L = { class: "
54
54
  default: l(() => [
55
55
  o(A, {
56
56
  color: "text-red-500",
57
- icon: D
57
+ icon: D,
58
+ size: "text-lg"
58
59
  })
59
60
  ]),
60
61
  _: 1
61
62
  })
62
63
  ]),
63
- o(w, null, {
64
+ o(j, null, {
64
65
  default: l(() => [
65
- (d(!0), N(b, null, B(p.filters, (e) => (d(), V(z, { cols: "4" }, {
66
+ (d(!0), N(b, null, z(p.filters, (e) => (d(), x(w, {
67
+ cols: "4",
68
+ class: "px-2"
69
+ }, {
66
70
  default: l(() => [
67
71
  o(U, {
68
72
  multiple: "",
@@ -70,9 +74,9 @@ const E = { class: "w-full" }, I = { class: "flex justify-end" }, L = { class: "
70
74
  "onUpdate:modelValue": (n) => s.value[e.value] = n,
71
75
  items: e.items,
72
76
  "item-value": "id",
73
- "item-title": e.title,
77
+ "item-title": e.title ?? e.text,
74
78
  "z-index": "z-250",
75
- "text-no-items": e.textNoItem ?? `No hay (${e.name} ?? elementos) disponibles`
79
+ "text-no-items": e.textNoItem ?? `No hay ${e.name ?? "elementos"} disponibles`
76
80
  }, null, 8, ["modelValue", "onUpdate:modelValue", "items", "item-title", "text-no-items"])
77
81
  ]),
78
82
  _: 2
@@ -83,14 +87,14 @@ const E = { class: "w-full" }, I = { class: "flex justify-end" }, L = { class: "
83
87
  c("div", L, [
84
88
  o(f, { onClick: y }, {
85
89
  default: l(() => t[1] || (t[1] = [
86
- x(" Limpiar filtros ")
90
+ V(" Limpiar filtros ")
87
91
  ])),
88
92
  _: 1,
89
93
  __: [1]
90
94
  }),
91
95
  o(f, { onClick: F }, {
92
96
  default: l(() => t[2] || (t[2] = [
93
- x(" Aplicar ")
97
+ V(" Aplicar ")
94
98
  ])),
95
99
  _: 1,
96
100
  __: [2]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adverich-kun-ui",
3
- "version": "0.1.229",
3
+ "version": "0.1.231",
4
4
  "type": "module",
5
5
  "description": "Una librería de componentes Vue.js con Tailwind CSS",
6
6
  "main": "dist/index.js",