@mouseless/baked 1.1.3 → 1.1.4
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/dist/module.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
ref="panel"
|
|
4
4
|
:header="localizeTitle ? l(title) : title"
|
|
5
5
|
:collapsed="collapsedState"
|
|
6
|
-
toggleable
|
|
6
|
+
:toggleable="toggleable ?? true"
|
|
7
7
|
:pt="
|
|
8
8
|
{
|
|
9
9
|
headerActions: 'flex gap-2 items-center',
|
|
@@ -95,7 +95,7 @@ const panel = useTemplateRef("panel");
|
|
|
95
95
|
const { schema } = defineProps({
|
|
96
96
|
schema: { type: null, required: true }
|
|
97
97
|
});
|
|
98
|
-
const { collapsed, content, inputs, localizeTitle, title: titleData } = schema;
|
|
98
|
+
const { collapsed, content, inputs, localizeTitle, title: titleData, toggleable } = schema;
|
|
99
99
|
const contextData = context.injectContextData();
|
|
100
100
|
const path = context.injectPath();
|
|
101
101
|
const collapsedState = computed(() => panelStates[path] ?? collapsed);
|