@koumoul/vjsf 3.6.1 → 3.7.0
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koumoul/vjsf",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"description": "Generate forms for the vuetify UI library (vuejs) based on annotated JSON schemas.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "vitest run",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"vuetify": "^3.6.13"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@json-layout/core": "~1.
|
|
74
|
+
"@json-layout/core": "~1.4.0",
|
|
75
75
|
"@vueuse/core": "^10.5.0",
|
|
76
76
|
"debug": "^4.3.4"
|
|
77
77
|
},
|
|
@@ -40,7 +40,12 @@ export default {
|
|
|
40
40
|
if (!this.statefulLayout.options.vjsfSlots[this.layoutSlot.name]) {
|
|
41
41
|
console.error(`vjsf: layout references a code slot "${this.layoutSlot.name}" that was not provided.`)
|
|
42
42
|
} else {
|
|
43
|
-
|
|
43
|
+
const slotContext = {
|
|
44
|
+
node: this.node,
|
|
45
|
+
statefulLayout: this.statefulLayout
|
|
46
|
+
}
|
|
47
|
+
if (this.layoutSlot.props) Object.assign(slotContext, this.layoutSlot.props)
|
|
48
|
+
return h(renderTag, this.statefulLayout.options.vjsfSlots[this.layoutSlot.name](slotContext))
|
|
44
49
|
}
|
|
45
50
|
}
|
|
46
51
|
return null
|
|
@@ -224,6 +224,7 @@ const itemBorderColor = computed(() => (/** @type {import('@json-layout/core').S
|
|
|
224
224
|
>
|
|
225
225
|
<v-menu
|
|
226
226
|
location="bottom end"
|
|
227
|
+
z-index="3000"
|
|
227
228
|
@update:model-value="value => {menuOpened = value ? childIndex : -1}"
|
|
228
229
|
>
|
|
229
230
|
<template #activator="{props: activatorProps}">
|