@koumoul/vjsf 3.20.4 → 3.20.5
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
package/src/compat/v2.js
CHANGED
|
@@ -161,9 +161,8 @@ const processFragment = (schema, getJSONRef, schemaId, processed) => {
|
|
|
161
161
|
layout.if = '!summary'
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
if (schema.type === 'array' && schema.items && !layout.getItems) {
|
|
165
|
-
if (!
|
|
166
|
-
layout.comp = layout.comp ?? 'list'
|
|
164
|
+
if (schema.type === 'array' && schema.items && !layout.getItems && !Array.isArray(schema.items)) {
|
|
165
|
+
if (!layout.comp || layout.comp === 'list') {
|
|
167
166
|
if (schema['x-itemTitle']) layout.itemTitle = `data["${schema['x-itemTitle']}"]`
|
|
168
167
|
else {
|
|
169
168
|
// vjsf 2 implicitly used a title property as an item title in lists
|
|
@@ -24,7 +24,7 @@ import useZIndexStack from '../../composables/use-z-index-stack.js'
|
|
|
24
24
|
|
|
25
25
|
useDefaults({}, 'VjsfList')
|
|
26
26
|
const vCardProps = useCompDefaults('VjsfList-VCard', { border: true, flat: true, tile: true })
|
|
27
|
-
const vEditDialogProps = useCompDefaults('VjsfList-Edit-VDialog', { width: 500 })
|
|
27
|
+
const vEditDialogProps = useCompDefaults('VjsfList-Edit-VDialog', { width: 500, persistent: true })
|
|
28
28
|
const vEditMenuProps = useCompDefaults('VjsfList-Edit-VMenu', { width: 500 })
|
|
29
29
|
const theme = useTheme()
|
|
30
30
|
|
package/src/styles/vjsf.css
CHANGED
|
@@ -17,6 +17,9 @@
|
|
|
17
17
|
.vjsf-input--readonly.v-input--disabled .v-field__clearable {
|
|
18
18
|
display: none;
|
|
19
19
|
}
|
|
20
|
+
.vjsf-input--readonly.v-input--disabled.v-number-input .v-field__append-inner {
|
|
21
|
+
display: none;
|
|
22
|
+
}
|
|
20
23
|
.vjsf-node.vjsf-has-help {
|
|
21
24
|
padding-right: 28px!important;
|
|
22
25
|
}
|
package/types/compat/v2.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../../src/compat/v2.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../../src/compat/v2.js"],"names":[],"mappings":"AAsOA;;;;;;GAMG;AACH,kCALW,MAAM,2CAEN,MAAM,0BAoBhB;sBA9PqB,KAAK"}
|