@appscode/design-system 2.17.31 → 2.17.33
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
|
@@ -27,13 +27,11 @@ const props = withDefaults(
|
|
|
27
27
|
);
|
|
28
28
|
|
|
29
29
|
const emit = defineEmits<{
|
|
30
|
-
"header-button-click": [
|
|
30
|
+
"header-button-click": [index: number];
|
|
31
31
|
}>();
|
|
32
32
|
|
|
33
|
-
const handleHeaderButtonClick = (
|
|
34
|
-
|
|
35
|
-
emit("header-button-click", header.label, index);
|
|
36
|
-
}
|
|
33
|
+
const handleHeaderButtonClick = (index: number) => {
|
|
34
|
+
emit("header-button-click", index);
|
|
37
35
|
};
|
|
38
36
|
</script>
|
|
39
37
|
|
|
@@ -51,7 +49,7 @@ const handleHeaderButtonClick = (header: Header, index: number) => {
|
|
|
51
49
|
<ac-button
|
|
52
50
|
modifier-classes="is-text has-text-primary p-0 height-auto"
|
|
53
51
|
v-if="header.button"
|
|
54
|
-
@click="handleHeaderButtonClick(
|
|
52
|
+
@click="handleHeaderButtonClick(1)"
|
|
55
53
|
>({{ header.text }})</ac-button
|
|
56
54
|
>
|
|
57
55
|
</div>
|
|
@@ -61,7 +61,7 @@ const hoveredRow = ref<number | null>(null);
|
|
|
61
61
|
<div class="table-cell has-text-weight-normal is-flex is-justify-content-end gap-5">
|
|
62
62
|
<div>{{ thead[4] }}</div>
|
|
63
63
|
<div class="is-flex is-clickable">
|
|
64
|
-
<ac-button modifier-classes="is-text has-text-primary p-0 height-16" @click="handleHeaderButtonClick(
|
|
64
|
+
<ac-button modifier-classes="is-text has-text-primary p-0 height-16" @click="handleHeaderButtonClick(2)">
|
|
65
65
|
<LinkIcon />
|
|
66
66
|
</ac-button>
|
|
67
67
|
</div>
|