@itfin/components 2.0.24 → 2.0.25
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
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
</div>
|
|
17
17
|
<div v-if="!nocard" v-show="!collapsed" class="b-panel-header px-3 pt-3 pb-2">
|
|
18
18
|
<slot name="header">
|
|
19
|
-
<div class="d-flex gap-3 align-items-center
|
|
20
|
-
<itf-button
|
|
21
|
-
<itf-icon name="
|
|
19
|
+
<div class="d-flex gap-3 align-items-center w-100">
|
|
20
|
+
<itf-button icon default class="d-md-none open-menu-button" @click="$emit('open-menu')">
|
|
21
|
+
<itf-icon name="menu" new />
|
|
22
22
|
</itf-button>
|
|
23
23
|
<slot name="title">
|
|
24
24
|
<div class="b-panel__title fw-bold mb-0 h2 text-truncate" v-text="title"></div>
|
|
@@ -62,7 +62,11 @@ export default class PanelLink extends Vue {
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
onClick(e) {
|
|
65
|
-
|
|
65
|
+
this.$emit('open', {
|
|
66
|
+
panel: this.panel,
|
|
67
|
+
payload: this.payload || {},
|
|
68
|
+
index: this.append ? undefined : this.currentPanel?.index + 1
|
|
69
|
+
});
|
|
66
70
|
if (!this.activeList) {
|
|
67
71
|
return;
|
|
68
72
|
}
|