@redseed/redseed-ui-vue3 5.1.0 → 5.1.2
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/package.json
CHANGED
|
@@ -6,21 +6,14 @@ import Card from '../Card/Card.vue'
|
|
|
6
6
|
:clickable="false"
|
|
7
7
|
:hoverable="false"
|
|
8
8
|
>
|
|
9
|
-
<template #
|
|
10
|
-
<slot name="
|
|
9
|
+
<template #header v-if="$slots.header">
|
|
10
|
+
<slot name="header"></slot>
|
|
11
11
|
</template>
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
</template>
|
|
15
|
-
<div class="rsui-card-resource__content">
|
|
16
|
-
<slot></slot>
|
|
17
|
-
</div>
|
|
12
|
+
|
|
13
|
+
<slot></slot>
|
|
18
14
|
</Card>
|
|
19
15
|
</template>
|
|
20
16
|
<style lang="scss" scoped>
|
|
21
17
|
.rsui-card-resource {
|
|
22
|
-
&__content {
|
|
23
|
-
@apply mt-4;
|
|
24
|
-
}
|
|
25
18
|
}
|
|
26
19
|
</style>
|
|
@@ -63,7 +63,9 @@ const props = defineProps({
|
|
|
63
63
|
</CardHeader>
|
|
64
64
|
</template>
|
|
65
65
|
|
|
66
|
-
<div
|
|
66
|
+
<div v-if="!!rows.length"
|
|
67
|
+
class="rsui-table"
|
|
68
|
+
>
|
|
67
69
|
<div class="rsui-table__container">
|
|
68
70
|
<table>
|
|
69
71
|
<thead v-if="columns">
|
|
@@ -106,6 +108,8 @@ const props = defineProps({
|
|
|
106
108
|
<slot name="footer"></slot>
|
|
107
109
|
</div>
|
|
108
110
|
</div>
|
|
111
|
+
|
|
112
|
+
<slot name="empty" v-if="!rows.length"></slot>
|
|
109
113
|
</Card>
|
|
110
114
|
</template>
|
|
111
115
|
<style lang="scss" scoped>
|