@stonecrop/desktop 0.10.11 → 0.10.13
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/desktop.js +2427 -2293
- package/dist/desktop.js.map +1 -1
- package/package.json +5 -5
- package/src/components/Desktop.vue +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stonecrop/desktop",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.13",
|
|
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.
|
|
36
|
-
"@stonecrop/
|
|
37
|
-
"@stonecrop/
|
|
38
|
-
"@stonecrop/
|
|
35
|
+
"@stonecrop/atable": "0.10.13",
|
|
36
|
+
"@stonecrop/aform": "0.10.13",
|
|
37
|
+
"@stonecrop/stonecrop": "0.10.13",
|
|
38
|
+
"@stonecrop/themes": "0.10.13"
|
|
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
|
-
//
|
|
579
|
-
|
|
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
|
}
|