@stonecrop/desktop 0.10.11 → 0.10.12

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": "@stonecrop/desktop",
3
- "version": "0.10.11",
3
+ "version": "0.10.12",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "author": {
@@ -32,10 +32,10 @@
32
32
  "**/*.css"
33
33
  ],
34
34
  "dependencies": {
35
- "@stonecrop/atable": "0.10.11",
36
- "@stonecrop/themes": "0.10.11",
37
- "@stonecrop/aform": "0.10.11",
38
- "@stonecrop/stonecrop": "0.10.11"
35
+ "@stonecrop/aform": "0.10.12",
36
+ "@stonecrop/atable": "0.10.12",
37
+ "@stonecrop/stonecrop": "0.10.12",
38
+ "@stonecrop/themes": "0.10.12"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "vue": "^3.5.28"
@@ -575,8 +575,9 @@ const getRecordFormSchema = (): SchemaTypes[] => {
575
575
  return []
576
576
  }
577
577
 
578
- // Data is provided via v-model:data="currentViewData" no need to spread values into schema
579
- return 'toArray' in doctype.schema ? doctype.schema.toArray() : doctype.schema
578
+ // Convert schema to array and resolve Doctype fields (both cardinality: 'one' and 'many')
579
+ const schemaArray = 'toArray' in doctype.schema ? doctype.schema.toArray() : doctype.schema
580
+ return registry.resolveSchema(schemaArray)
580
581
  } catch {
581
582
  return []
582
583
  }