@appscode/design-system 2.17.34 → 2.17.35
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
|
@@ -3,6 +3,7 @@ import { defineProps, defineEmits, type Component, defineAsyncComponent } from "
|
|
|
3
3
|
import AcButton from "../../v3/button/Button.vue";
|
|
4
4
|
const Skeletons = defineAsyncComponent(() => import("../skeleton/Skeletons.vue"));
|
|
5
5
|
const Skeleton = defineAsyncComponent(() => import("../skeleton/Skeleton.vue"));
|
|
6
|
+
|
|
6
7
|
interface UsageRow {
|
|
7
8
|
icon?: Component;
|
|
8
9
|
label: string;
|
|
@@ -11,7 +12,7 @@ interface UsageRow {
|
|
|
11
12
|
|
|
12
13
|
type Header = string | { label: string; button?: boolean; text?: string };
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
withDefaults(
|
|
15
16
|
defineProps<{
|
|
16
17
|
title?: string;
|
|
17
18
|
thead?: Header[];
|
|
@@ -57,6 +58,15 @@ const handleHeaderButtonClick = (index: number) => {
|
|
|
57
58
|
</div>
|
|
58
59
|
</div>
|
|
59
60
|
|
|
61
|
+
<div v-if="tbody.length === 0 && !isLoaderActive" class="table-row">
|
|
62
|
+
<div class="table-cell" :style="{ gridColumn: `1 / -1`, textAlign: 'center' }">
|
|
63
|
+
<strong>
|
|
64
|
+
Resource Not Found
|
|
65
|
+
<i class="pl-5 fa fa-exclamation-circle" aria-hidden="true"></i>
|
|
66
|
+
</strong>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
|
|
60
70
|
<div v-for="(row, rowIndex) in tbody" :key="rowIndex" class="table-row">
|
|
61
71
|
<div class="table-cell">
|
|
62
72
|
<div class="is-flex gap-8">
|