vlite3 0.3.4 → 0.3.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.
- package/components/Badge.vue.js +4 -4
- package/components/Button.vue.d.ts +1 -0
- package/components/Button.vue.js +46 -35
- package/components/DataList/DataList.vue.d.ts +9 -7
- package/components/DataList/DataList.vue.js +78 -55
- package/components/DataList/types.d.ts +5 -10
- package/components/DataTable/DataTable.vue.d.ts +1 -3
- package/components/DataTable/DataTable.vue.js +136 -127
- package/components/DataTable/DataTableRow.vue.js +1 -1
- package/components/DataTable/types.d.ts +3 -10
- package/components/Form/types.d.ts +0 -3
- package/components/Input.vue.js +24 -25
- package/components/Pagination/Pagination.vue.d.ts +4 -16
- package/components/Pagination/Pagination.vue.js +36 -36
- package/components/Pagination/index.d.ts +19 -0
- package/components/Screen/Screen.vue.d.ts +47 -0
- package/components/Screen/Screen.vue.js +411 -0
- package/components/Screen/Screen.vue2.js +4 -0
- package/components/Screen/ScreenFilter.vue.d.ts +15 -0
- package/components/Screen/ScreenFilter.vue.js +169 -0
- package/components/Screen/ScreenFilter.vue2.js +4 -0
- package/components/Screen/index.d.ts +3 -0
- package/components/Screen/types.d.ts +53 -0
- package/index.d.ts +1 -0
- package/index.js +39 -35
- package/package.json +1 -1
- package/style.css +4 -1
- package/types/button.d.ts +4 -0
- package/utils/usePersistentState.d.ts +8 -0
- package/utils/usePersistentState.js +7 -0
package/components/Badge.vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as o, computed as a, openBlock as c, createElementBlock as
|
|
1
|
+
import { defineComponent as o, computed as a, openBlock as c, createElementBlock as d, normalizeClass as i, renderSlot as u } from "vue";
|
|
2
2
|
const g = /* @__PURE__ */ o({
|
|
3
3
|
__name: "Badge",
|
|
4
4
|
props: {
|
|
@@ -6,7 +6,7 @@ const g = /* @__PURE__ */ o({
|
|
|
6
6
|
class: { default: "" }
|
|
7
7
|
},
|
|
8
8
|
setup(n) {
|
|
9
|
-
const e = n, t = a(() => ["inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold
|
|
9
|
+
const e = n, t = a(() => ["inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", {
|
|
10
10
|
default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
|
|
11
11
|
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
12
12
|
danger: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
|
|
@@ -15,8 +15,8 @@ const g = /* @__PURE__ */ o({
|
|
|
15
15
|
success: "border-transparent bg-success text-success-fg hover:bg-success/80",
|
|
16
16
|
outline: "text-foreground border-border"
|
|
17
17
|
}[e.variant], e.class].join(" "));
|
|
18
|
-
return (r, s) => (c(),
|
|
19
|
-
class:
|
|
18
|
+
return (r, s) => (c(), d("div", {
|
|
19
|
+
class: i(t.value)
|
|
20
20
|
}, [
|
|
21
21
|
u(r.$slots, "default")
|
|
22
22
|
], 2));
|
package/components/Button.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as B, useSlots as I, computed as r, inject as R, withDirectives as S, openBlock as s, createElementBlock as g, normalizeClass as o, createBlock as u, createCommentVNode as h, renderSlot as f, createTextVNode as m, toDisplayString as b, unref as G } from "vue";
|
|
2
2
|
import d from "./Icon.vue.js";
|
|
3
3
|
import { vRipple as j } from "../directives/vRipple.js";
|
|
4
|
-
const V = ["type", "disabled"],
|
|
4
|
+
const V = ["type", "disabled"], N = /* @__PURE__ */ B({
|
|
5
5
|
__name: "Button",
|
|
6
6
|
props: {
|
|
7
7
|
variant: { default: "primary" },
|
|
@@ -13,11 +13,15 @@ const V = ["type", "disabled"], E = /* @__PURE__ */ y({
|
|
|
13
13
|
iconRight: {},
|
|
14
14
|
type: { default: "button" },
|
|
15
15
|
text: {},
|
|
16
|
-
rounded: { default: "md" }
|
|
16
|
+
rounded: { default: "md" },
|
|
17
|
+
textClass: {},
|
|
18
|
+
iconLeftClass: {},
|
|
19
|
+
iconRightClass: {},
|
|
20
|
+
asIcon: { type: Boolean }
|
|
17
21
|
},
|
|
18
22
|
setup(e) {
|
|
19
|
-
const
|
|
20
|
-
const
|
|
23
|
+
const t = e, x = I(), l = r(() => t?.asIcon || t.icon && !t.text && !x.default), v = R("buttonGroup", null), w = r(() => !!v?.isInGroup), y = r(() => {
|
|
24
|
+
const n = "inline-flex items-center justify-center whitespace-nowrap text-sm font-medium ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 active:scale-[0.98] cursor-pointer gap-2", i = {
|
|
21
25
|
primary: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
22
26
|
"primary-light": "bg-primary-light text-primary-fg-light hover:bg-primary/20",
|
|
23
27
|
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
@@ -37,25 +41,25 @@ const V = ["type", "disabled"], E = /* @__PURE__ */ y({
|
|
|
37
41
|
"outline-success": "border border-success text-success hover:bg-success/10",
|
|
38
42
|
ghost: "hover:bg-accent hover:text-accent-foreground text-foreground",
|
|
39
43
|
link: "text-primary underline-offset-4 hover:underline"
|
|
40
|
-
},
|
|
44
|
+
}, p = {
|
|
41
45
|
xs: "h-6.5 px-2",
|
|
42
46
|
sm: "h-7.5 px-3",
|
|
43
47
|
md: "h-9 px-4 py-2",
|
|
44
48
|
lg: "h-10 px-6",
|
|
45
49
|
xl: "h-12 px-10"
|
|
46
|
-
},
|
|
50
|
+
}, z = {
|
|
47
51
|
xs: "h-6.5 w-6.5 min-h-6.5 min-w-6.5",
|
|
48
52
|
sm: "h-7 w-7 min-h-7 min-w-7",
|
|
49
53
|
md: "h-7.5 w-7.5 min-h-7.5 min-w-7.5",
|
|
50
54
|
lg: "h-8 w-8 min-h-8 min-w-8",
|
|
51
55
|
xl: "h-8.5 w-8.5 min-h-8.5 min-w-8.5"
|
|
52
|
-
},
|
|
56
|
+
}, C = {
|
|
53
57
|
xs: "px-2",
|
|
54
58
|
sm: "px-3",
|
|
55
59
|
md: "px-4",
|
|
56
60
|
lg: "px-6",
|
|
57
61
|
xl: "px-10"
|
|
58
|
-
},
|
|
62
|
+
}, k = {
|
|
59
63
|
none: "rounded-none",
|
|
60
64
|
sm: "rounded-sm",
|
|
61
65
|
md: "rounded",
|
|
@@ -64,57 +68,64 @@ const V = ["type", "disabled"], E = /* @__PURE__ */ y({
|
|
|
64
68
|
"2xl": "rounded-2xl",
|
|
65
69
|
full: "rounded-full"
|
|
66
70
|
};
|
|
67
|
-
let
|
|
68
|
-
return l.value ?
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
let c;
|
|
72
|
+
return l.value ? c = w.value ? C[t.size] : z[t.size] : c = p[t.size], [
|
|
73
|
+
n,
|
|
74
|
+
i[t.variant],
|
|
75
|
+
k[t.rounded],
|
|
76
|
+
c,
|
|
77
|
+
t.class
|
|
74
78
|
].join(" ");
|
|
75
|
-
}),
|
|
76
|
-
const
|
|
79
|
+
}), a = r(() => {
|
|
80
|
+
const n = {
|
|
77
81
|
xs: "w-3 h-3",
|
|
78
82
|
sm: "w-4 h-4",
|
|
79
83
|
md: "w-4 h-4",
|
|
80
84
|
lg: "w-4 h-4",
|
|
81
85
|
xl: "w-4 h-4"
|
|
82
|
-
},
|
|
86
|
+
}, i = {
|
|
83
87
|
xs: "w-3 h-3",
|
|
84
88
|
sm: "w-3.5 h-3.5",
|
|
85
89
|
md: "w-3.5 h-3.5",
|
|
86
90
|
lg: "w-4 h-4",
|
|
87
91
|
xl: "w-4 h-4"
|
|
88
92
|
};
|
|
89
|
-
return l.value ?
|
|
93
|
+
return l.value ? i[t.size] : n[t.size];
|
|
90
94
|
});
|
|
91
|
-
return (
|
|
95
|
+
return (n, i) => S((s(), g("button", {
|
|
92
96
|
type: e.type,
|
|
93
|
-
class:
|
|
97
|
+
class: o(y.value),
|
|
94
98
|
disabled: e.disabled || e.loading
|
|
95
99
|
}, [
|
|
96
|
-
e.loading ? (
|
|
100
|
+
e.loading ? (s(), u(d, {
|
|
97
101
|
key: 0,
|
|
98
102
|
icon: "lucide:loader-2",
|
|
99
|
-
class:
|
|
100
|
-
}, null, 8, ["class"])) : e.icon ? (
|
|
103
|
+
class: o(["animate-spin pointer-events-none", a.value])
|
|
104
|
+
}, null, 8, ["class"])) : e.icon ? (s(), u(d, {
|
|
101
105
|
key: 1,
|
|
102
106
|
icon: e.icon,
|
|
103
|
-
class:
|
|
104
|
-
}, null, 8, ["icon", "class"])) :
|
|
105
|
-
|
|
106
|
-
G(I(e.text), 1)
|
|
107
|
-
]),
|
|
108
|
-
e.iconRight && !e.loading ? (r(), u(d, {
|
|
107
|
+
class: o(["pointer-events-none", [e.iconLeftClass, a.value, l.value ? "mx-auto" : ""]])
|
|
108
|
+
}, null, 8, ["icon", "class"])) : h("", !0),
|
|
109
|
+
e.textClass ? (s(), g("span", {
|
|
109
110
|
key: 2,
|
|
111
|
+
class: o(e.textClass)
|
|
112
|
+
}, [
|
|
113
|
+
f(n.$slots, "default", {}, () => [
|
|
114
|
+
m(b(e.text), 1)
|
|
115
|
+
])
|
|
116
|
+
], 2)) : f(n.$slots, "default", { key: 3 }, () => [
|
|
117
|
+
m(b(e.text), 1)
|
|
118
|
+
]),
|
|
119
|
+
e.iconRight && !e.loading ? (s(), u(d, {
|
|
120
|
+
key: 4,
|
|
110
121
|
icon: e.iconRight,
|
|
111
|
-
class:
|
|
112
|
-
}, null, 8, ["icon", "class"])) :
|
|
122
|
+
class: o([[e.iconRightClass, a.value], "h-4 w-4 pointer-events-none"])
|
|
123
|
+
}, null, 8, ["icon", "class"])) : h("", !0)
|
|
113
124
|
], 10, V)), [
|
|
114
|
-
[
|
|
125
|
+
[G(j)]
|
|
115
126
|
]);
|
|
116
127
|
}
|
|
117
128
|
});
|
|
118
129
|
export {
|
|
119
|
-
|
|
130
|
+
N as default
|
|
120
131
|
};
|
|
@@ -20,22 +20,24 @@ declare function __VLS_template(): {
|
|
|
20
20
|
};
|
|
21
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
22
|
declare const __VLS_component: import('vue').DefineComponent<DataListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
change: (payload: {
|
|
24
|
+
page: number;
|
|
25
|
+
limit: number;
|
|
26
|
+
}) => any;
|
|
25
27
|
}, string, import('vue').PublicProps, Readonly<DataListProps> & Readonly<{
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
onChange?: (payload: {
|
|
29
|
+
page: number;
|
|
30
|
+
limit: number;
|
|
31
|
+
}) => any;
|
|
28
32
|
}>, {
|
|
29
33
|
data: any[];
|
|
30
34
|
loading: boolean;
|
|
31
35
|
className: string;
|
|
32
|
-
paginationPosition: "start" | "center" | "end" | "between";
|
|
33
|
-
showItemsPerPage: boolean;
|
|
34
|
-
itemsPerPageOptions: number[];
|
|
35
36
|
emptyTitle: string;
|
|
36
37
|
emptyDescription: string;
|
|
37
38
|
emptyIcon: string;
|
|
38
39
|
showPagination: boolean;
|
|
40
|
+
paginationProps: import('./types').DataListMetaInfo;
|
|
39
41
|
itemProps: Record<string, any>;
|
|
40
42
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
41
43
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as B, ref as D, watch as u, computed as f, openBlock as a, createElementBlock as n, normalizeClass as y, Fragment as P, renderList as h, renderSlot as i, createBlock as k, resolveDynamicComponent as v, createElementVNode as c, createVNode as I, toDisplayString as p, mergeProps as x, createCommentVNode as b, unref as L } from "vue";
|
|
2
|
+
import j from "../Pagination/Pagination.vue.js";
|
|
3
|
+
import E from "../Icon.vue.js";
|
|
4
|
+
const S = { class: "flex flex-col w-full" }, z = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "h-48 rounded-lg bg-gray-200 animate-pulse w-full"
|
|
7
|
-
},
|
|
7
|
+
}, F = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "flex flex-col items-center justify-center p-12 text-center bg-gray-50 border border-gray-200 rounded-lg"
|
|
10
|
-
},
|
|
10
|
+
}, O = { class: "flex h-12 w-12 items-center justify-center rounded-full bg-gray-100 mb-4" }, U = { class: "text-lg font-semibold text-gray-900" }, V = { class: "mt-2 text-sm text-gray-500" }, W = {
|
|
11
11
|
key: 3,
|
|
12
|
-
class: "mt-8"
|
|
13
|
-
},
|
|
12
|
+
class: "mt-8 w-full"
|
|
13
|
+
}, H = /* @__PURE__ */ B({
|
|
14
14
|
__name: "DataList",
|
|
15
15
|
props: {
|
|
16
16
|
data: { default: () => [] },
|
|
@@ -25,74 +25,97 @@ const D = { class: "flex flex-col w-full" }, V = {
|
|
|
25
25
|
emptyDescription: { default: "We could not find any items to display here." },
|
|
26
26
|
emptyIcon: { default: "lucide:inbox" },
|
|
27
27
|
showPagination: { type: Boolean, default: !0 },
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
paginationProps: { default: () => ({
|
|
29
|
+
alignment: "end",
|
|
30
|
+
navType: "icon",
|
|
31
|
+
showItemsPerPage: !1,
|
|
32
|
+
itemsPerPageOptions: [10, 25, 50, 100],
|
|
33
|
+
showPageInfo: !1
|
|
34
|
+
}) },
|
|
35
|
+
delete: {}
|
|
31
36
|
},
|
|
32
|
-
emits: ["
|
|
33
|
-
setup(e, { emit:
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
emits: ["change"],
|
|
38
|
+
setup(e, { emit: w }) {
|
|
39
|
+
const o = e, C = w, s = D(o.pageInfo?.itemsPerPage || o.paginationProps?.itemsPerPage || 10);
|
|
40
|
+
u(
|
|
41
|
+
() => o.pageInfo?.itemsPerPage,
|
|
42
|
+
(t) => {
|
|
43
|
+
t !== void 0 && (s.value = t);
|
|
44
|
+
}
|
|
45
|
+
), u(
|
|
46
|
+
() => o.paginationProps?.itemsPerPage,
|
|
47
|
+
(t) => {
|
|
48
|
+
t !== void 0 && (s.value = t);
|
|
49
|
+
}
|
|
50
|
+
);
|
|
51
|
+
let r = null;
|
|
52
|
+
const g = (t, m) => {
|
|
53
|
+
r && clearTimeout(r), r = setTimeout(() => {
|
|
54
|
+
C("change", { page: t, limit: m });
|
|
55
|
+
}, 10);
|
|
56
|
+
}, N = (t) => {
|
|
57
|
+
g(t, s.value);
|
|
58
|
+
}, T = (t) => {
|
|
59
|
+
s.value = t, g(o.pageInfo?.currentPage || 1, t);
|
|
60
|
+
};
|
|
61
|
+
f(() => o.pageInfo?.currentPage || 1);
|
|
62
|
+
const $ = f(() => o.pageInfo?.totalPages || 1);
|
|
63
|
+
return (t, m) => (a(), n("div", S, [
|
|
64
|
+
e.loading ? (a(), n("div", {
|
|
41
65
|
key: 0,
|
|
42
|
-
class:
|
|
66
|
+
class: y(e.className)
|
|
43
67
|
}, [
|
|
44
|
-
(
|
|
45
|
-
key: "skeleton-" +
|
|
46
|
-
index:
|
|
68
|
+
(a(), n(P, null, h(8, (l) => i(t.$slots, "skeleton", {
|
|
69
|
+
key: "skeleton-" + l,
|
|
70
|
+
index: l
|
|
47
71
|
}, () => [
|
|
48
|
-
|
|
49
|
-
e.skeleton || e.skelton ? (
|
|
72
|
+
i(t.$slots, "skelton", { index: l }, () => [
|
|
73
|
+
e.skeleton || e.skelton ? (a(), k(v(e.skeleton || e.skelton), { key: 0 })) : (a(), n("div", z))
|
|
50
74
|
])
|
|
51
75
|
])), 64))
|
|
52
|
-
], 2)) : !e.data || e.data.length === 0 ? (
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
76
|
+
], 2)) : !e.data || e.data.length === 0 ? (a(), n("div", F, [
|
|
77
|
+
i(t.$slots, "empty", {}, () => [
|
|
78
|
+
c("div", O, [
|
|
79
|
+
I(E, {
|
|
56
80
|
icon: e.emptyIcon,
|
|
57
81
|
class: "h-6 w-6 text-gray-500"
|
|
58
82
|
}, null, 8, ["icon"])
|
|
59
83
|
]),
|
|
60
|
-
|
|
61
|
-
|
|
84
|
+
c("h3", U, p(e.emptyTitle), 1),
|
|
85
|
+
c("p", V, p(e.emptyDescription), 1)
|
|
62
86
|
])
|
|
63
|
-
])) : (
|
|
87
|
+
])) : (a(), n("div", {
|
|
64
88
|
key: 2,
|
|
65
|
-
class:
|
|
89
|
+
class: y(e.className)
|
|
66
90
|
}, [
|
|
67
|
-
(
|
|
68
|
-
key:
|
|
69
|
-
item:
|
|
91
|
+
(a(!0), n(P, null, h(e.data, (l, d) => i(t.$slots, "item", {
|
|
92
|
+
key: d,
|
|
93
|
+
item: l,
|
|
70
94
|
data: e.data,
|
|
71
|
-
index:
|
|
95
|
+
index: d
|
|
72
96
|
}, () => [
|
|
73
|
-
e.item ? (
|
|
97
|
+
e.item ? (a(), k(v(e.item), x({
|
|
74
98
|
key: 0,
|
|
75
|
-
item:
|
|
99
|
+
item: l,
|
|
76
100
|
data: e.data,
|
|
77
|
-
index:
|
|
78
|
-
}, { ref_for: !0 }, e.itemProps), null, 16, ["item", "data", "index"])) :
|
|
101
|
+
index: d
|
|
102
|
+
}, { ref_for: !0 }, e.itemProps), null, 16, ["item", "data", "index"])) : b("", !0)
|
|
79
103
|
])), 128))
|
|
80
104
|
], 2)),
|
|
81
|
-
e.showPagination && e.pageInfo &&
|
|
82
|
-
|
|
83
|
-
"current-page":
|
|
84
|
-
"total-pages":
|
|
85
|
-
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
])) : p("", !0)
|
|
105
|
+
e.showPagination && e.pageInfo && $.value > 1 ? (a(), n("div", W, [
|
|
106
|
+
I(L(j), x({
|
|
107
|
+
"current-page": e.pageInfo?.currentPage,
|
|
108
|
+
"total-pages": e.pageInfo?.totalPages,
|
|
109
|
+
"total-items": e.pageInfo?.totalItems,
|
|
110
|
+
navType: "icon"
|
|
111
|
+
}, e.paginationProps, {
|
|
112
|
+
onChange: N,
|
|
113
|
+
"onUpdate:itemsPerPage": T
|
|
114
|
+
}), null, 16, ["current-page", "total-pages", "total-items"])
|
|
115
|
+
])) : b("", !0)
|
|
93
116
|
]));
|
|
94
117
|
}
|
|
95
118
|
});
|
|
96
119
|
export {
|
|
97
|
-
|
|
120
|
+
H as default
|
|
98
121
|
};
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
totalPages: number;
|
|
4
|
-
totalItems?: number;
|
|
5
|
-
itemsPerPage?: number;
|
|
6
|
-
}
|
|
1
|
+
import { PageInfo, PaginationProps } from '../Pagination';
|
|
2
|
+
export type DataListMetaInfo = Omit<PaginationProps, 'currentPage' | 'totalPages'>;
|
|
7
3
|
export interface DataListProps {
|
|
8
4
|
data?: any[];
|
|
9
5
|
loading?: boolean;
|
|
10
|
-
pageInfo?:
|
|
6
|
+
pageInfo?: PageInfo;
|
|
11
7
|
className?: string;
|
|
12
8
|
item?: any;
|
|
13
9
|
skeleton?: any;
|
|
@@ -17,7 +13,6 @@ export interface DataListProps {
|
|
|
17
13
|
emptyDescription?: string;
|
|
18
14
|
emptyIcon?: string;
|
|
19
15
|
showPagination?: boolean;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
showItemsPerPage?: boolean;
|
|
16
|
+
paginationProps?: DataListMetaInfo;
|
|
17
|
+
delete?: (items: any[]) => void;
|
|
23
18
|
}
|
|
@@ -37,9 +37,6 @@ declare const __VLS_component: import('vue').DefineComponent<DataTableProps, {},
|
|
|
37
37
|
rows: any[];
|
|
38
38
|
selectable: boolean;
|
|
39
39
|
showSearch: boolean;
|
|
40
|
-
showItemsPerPage: boolean;
|
|
41
|
-
itemsPerPage: number;
|
|
42
|
-
itemsPerPageOptions: number[];
|
|
43
40
|
compact: boolean;
|
|
44
41
|
headers: import('./types').TableHeader[];
|
|
45
42
|
keyField: string;
|
|
@@ -53,6 +50,7 @@ declare const __VLS_component: import('vue').DefineComponent<DataTableProps, {},
|
|
|
53
50
|
emptyDescription: string;
|
|
54
51
|
emptyIcon: string;
|
|
55
52
|
showPagination: boolean;
|
|
53
|
+
paginationProps: import('./types').DataTablePaginationProps;
|
|
56
54
|
bordered: boolean;
|
|
57
55
|
sortable: boolean;
|
|
58
56
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|