@caido-utils/components 0.5.0 → 0.5.1
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.
|
@@ -45,11 +45,11 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_With
|
|
|
45
45
|
loading: boolean;
|
|
46
46
|
loadingRows: number;
|
|
47
47
|
}>>>, {
|
|
48
|
-
loading: boolean;
|
|
49
48
|
rowHeight: number;
|
|
50
49
|
selectable: boolean | "single" | "multiple";
|
|
51
50
|
selection: Record<string, unknown>[] | null;
|
|
52
51
|
activeRow: Record<string, unknown> | null;
|
|
52
|
+
loading: boolean;
|
|
53
53
|
loadingRows: number;
|
|
54
54
|
}, {}>, {
|
|
55
55
|
[x: string]: ((props: {
|
|
@@ -303,10 +303,10 @@ const columnPt = {
|
|
|
303
303
|
]"
|
|
304
304
|
/>
|
|
305
305
|
</template>
|
|
306
|
-
<template #body="{ data }">
|
|
306
|
+
<template v-if="loading || $slots[`cell-${col.field}`]" #body="{ data }">
|
|
307
307
|
<Skeleton v-if="loading" />
|
|
308
308
|
<slot
|
|
309
|
-
v-else
|
|
309
|
+
v-else
|
|
310
310
|
:name="`cell-${col.field}`"
|
|
311
311
|
:item="data"
|
|
312
312
|
:value="data[col.field]"
|
|
@@ -45,11 +45,11 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_With
|
|
|
45
45
|
loading: boolean;
|
|
46
46
|
loadingRows: number;
|
|
47
47
|
}>>>, {
|
|
48
|
-
loading: boolean;
|
|
49
48
|
rowHeight: number;
|
|
50
49
|
selectable: boolean | "single" | "multiple";
|
|
51
50
|
selection: Record<string, unknown>[] | null;
|
|
52
51
|
activeRow: Record<string, unknown> | null;
|
|
52
|
+
loading: boolean;
|
|
53
53
|
loadingRows: number;
|
|
54
54
|
}, {}>, {
|
|
55
55
|
[x: string]: ((props: {
|
|
@@ -10,8 +10,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
10
10
|
placeholder: string;
|
|
11
11
|
loading: boolean;
|
|
12
12
|
}>>>, {
|
|
13
|
-
placeholder: string;
|
|
14
13
|
loading: boolean;
|
|
14
|
+
placeholder: string;
|
|
15
15
|
}, {}>;
|
|
16
16
|
export default _default;
|
|
17
17
|
type __VLS_WithDefaults<P, D> = {
|
|
@@ -10,8 +10,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
10
10
|
placeholder: string;
|
|
11
11
|
loading: boolean;
|
|
12
12
|
}>>>, {
|
|
13
|
-
placeholder: string;
|
|
14
13
|
loading: boolean;
|
|
14
|
+
placeholder: string;
|
|
15
15
|
}, {}>;
|
|
16
16
|
export default _default;
|
|
17
17
|
type __VLS_WithDefaults<P, D> = {
|