@koumoul/vjsf 3.11.0 → 3.12.1

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.11.0",
3
+ "version": "3.12.1",
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,8 +71,8 @@
71
71
  "vuetify": "^3.6.13"
72
72
  },
73
73
  "dependencies": {
74
- "@json-layout/core": "~1.6.0",
75
- "@json-layout/vocabulary": "~2.0.0",
74
+ "@json-layout/core": "~1.7.0",
75
+ "@json-layout/vocabulary": "~2.1.0",
76
76
  "@vueuse/core": "^12.5.0",
77
77
  "debug": "^4.3.4"
78
78
  },
package/src/compat/v2.js CHANGED
@@ -95,6 +95,7 @@ const processFragment = (schema, getJSONRef, schemaId, processed) => {
95
95
  if (display === 'radio') display = 'radio-group'
96
96
  if (display === 'checkbox' && schema.type !== 'boolean') display = 'checkbox-group'
97
97
  if (display === 'switch' && schema.type !== 'boolean') display = 'switch-group'
98
+ if (display === 'hidden') display = 'none'
98
99
  layout.comp = display
99
100
  delete schema['x-display']
100
101
  }
@@ -59,7 +59,6 @@ const timePickerProps = computed(() => {
59
59
  if (localData.value) timePickerProps.modelValue = getShortTime(localData.value.slice(11))
60
60
  timePickerProps['onUpdate:modelValue'] = (/** @type {string} */value) => {
61
61
  if (!localData.value) return
62
- console.log('set time', value, localData.value.slice(0, 10), localData.value.slice(15))
63
62
  props.statefulLayout.input(props.modelValue, localData.value.slice(0, 11) + value + localData.value.slice(16))
64
63
  }
65
64
  return timePickerProps
@@ -1 +1 @@
1
- {"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../../src/compat/v2.js"],"names":[],"mappings":"AA2MA;;;;;;GAMG;AACH,kCALW,MAAM,2CAEN,MAAM,0BAoBhB;sBAnOqB,KAAK"}
1
+ {"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../../src/compat/v2.js"],"names":[],"mappings":"AA4MA;;;;;;GAMG;AACH,kCALW,MAAM,2CAEN,MAAM,0BAoBhB;sBApOqB,KAAK"}