adverich-kun-ui 0.1.129 → 0.1.130

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,49 +1,18 @@
1
1
  const t = () => ({
2
- items: {
3
- type: Array,
4
- default: () => []
5
- },
6
- headers: {
7
- type: Array,
8
- default: () => []
9
- },
10
- hasActions: {
11
- type: Boolean,
12
- default: !1
13
- },
14
- actionLabel: {
15
- type: String,
16
- default: "Acciones"
17
- },
2
+ items: { type: Array, default: () => [] },
3
+ headers: { type: Array, default: () => [] },
4
+ hasActions: { type: Boolean, default: !1 },
5
+ actionLabel: { type: String, default: "Acciones" },
18
6
  actionsAlign: String,
19
- actionLoadingMap: {
20
- type: Object,
21
- default: () => ({})
22
- // ej. { 3: true, 5: false }
23
- },
7
+ actionLoadingMap: { type: Object, default: () => ({}) },
24
8
  filterable: Boolean,
25
- filters: {
26
- type: Array,
27
- default: () => []
28
- },
9
+ filters: { type: Array, default: () => [] },
29
10
  customFilter: { type: Function, default: null },
30
11
  // Features
31
- itemsPerPage: {
32
- type: Number,
33
- default: 10
34
- },
35
- page: {
36
- type: Number,
37
- default: 1
38
- },
39
- sortBy: {
40
- type: Array,
41
- default: () => []
42
- },
43
- pageOptions: {
44
- type: Array,
45
- default: () => [5, 10, 25, 50, 100]
46
- },
12
+ itemsPerPage: { type: Number, default: 10 },
13
+ page: { type: Number, default: 1 },
14
+ sortBy: { type: Array, default: () => [] },
15
+ pageOptions: { type: Array, default: () => [5, 10, 25, 50, 100] },
47
16
  searchable: { type: Boolean, default: !1 },
48
17
  searchableKeys: { type: Array, default: null },
49
18
  searchPosition: {
@@ -54,12 +23,12 @@ const t = () => ({
54
23
  },
55
24
  searchPlaceholder: { type: String, default: "Search..." },
56
25
  debounceTime: { type: Number, default: 300 },
57
- showSelect: Boolean,
58
- showExpand: Boolean,
59
- showGroupBy: Boolean,
26
+ showSelect: { type: Boolean, default: !1 },
27
+ showExpand: { type: Boolean, default: !1 },
28
+ showGroupBy: { type: Boolean, default: !1 },
60
29
  // Display
61
- hideDefaultHeader: Boolean,
62
- hideDefaultFooter: Boolean,
30
+ hideDefaultHeader: { type: Boolean, default: !1 },
31
+ hideDefaultFooter: { type: Boolean, default: !1 },
63
32
  // Custom class props
64
33
  wrapperClass: { type: String, default: "" },
65
34
  tableClass: { type: String, default: "" },
@@ -71,13 +40,13 @@ const t = () => ({
71
40
  selectedClass: { type: String, default: "bg-blue-100" },
72
41
  stripedClass: { type: String, default: "" },
73
42
  tfootClass: { type: String, default: "" },
74
- rowClass: String,
43
+ rowClass: { type: String, default: "" },
75
44
  // Misc
76
45
  noDataText: { type: String, default: "No data available" },
77
46
  loadingText: { type: String, default: "Loading..." },
78
47
  // Slots control
79
- showTopSlot: Boolean,
80
- showBottomSlot: Boolean
48
+ showTopSlot: { type: Boolean, default: !1 },
49
+ showBottomSlot: { type: Boolean, default: !1 }
81
50
  });
82
51
  export {
83
52
  t as default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adverich-kun-ui",
3
- "version": "0.1.129",
3
+ "version": "0.1.130",
4
4
  "type": "module",
5
5
  "description": "Una librería de componentes Vue.js con Tailwind CSS",
6
6
  "main": "dist/index.js",