@ditojs/admin 1.0.0-rc.0 → 1.1.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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"type": "module",
|
|
3
2
|
"name": "@ditojs/admin",
|
|
4
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"type": "module",
|
|
5
5
|
"description": "Dito.js Admin is a schema based admin interface for Dito.js Server, featuring auto-generated views and forms and built with Vue.js",
|
|
6
6
|
"repository": "https://github.com/ditojs/dito/tree/master/packages/admin",
|
|
7
7
|
"author": "Jürg Lehni <juerg@scratchdisk.com> (http://scratchdisk.com)",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"not ie_mob > 0"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@ditojs/ui": "^1.
|
|
39
|
-
"@ditojs/utils": "^1.
|
|
38
|
+
"@ditojs/ui": "^1.1.0",
|
|
39
|
+
"@ditojs/utils": "^1.1.0",
|
|
40
40
|
"axios": "^0.26.1",
|
|
41
41
|
"codeflask": "^1.4.1",
|
|
42
42
|
"filesize": "^8.0.7",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"vuedraggable": "^2.24.3"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@ditojs/build": "^1.
|
|
62
|
+
"@ditojs/build": "^1.1.0",
|
|
63
63
|
"pug": "^3.0.2",
|
|
64
64
|
"sass": "1.49.9",
|
|
65
65
|
"vite": "^2.8.6",
|
|
66
66
|
"vite-plugin-vue2": "^1.9.3"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "32b276bd5d9eaf468352a69f361bdb5df5ed373c"
|
|
69
69
|
}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
<script>
|
|
25
25
|
import TypeComponent from '../TypeComponent.js'
|
|
26
|
-
import { getItemFormSchema } from '../utils/schema.js'
|
|
26
|
+
import { getItemFormSchema, processSchemaComponents } from '../utils/schema.js'
|
|
27
27
|
|
|
28
28
|
// @vue/component
|
|
29
29
|
export default TypeComponent.register('section', {
|
|
@@ -41,6 +41,11 @@ export default TypeComponent.register('section', {
|
|
|
41
41
|
|
|
42
42
|
methods: {
|
|
43
43
|
getItemFormSchema
|
|
44
|
+
},
|
|
45
|
+
|
|
46
|
+
async processSchema(api, schema, name, routes, level) {
|
|
47
|
+
// Process section components so their forms get resolved too.
|
|
48
|
+
await processSchemaComponents(api, schema, routes, level)
|
|
44
49
|
}
|
|
45
50
|
})
|
|
46
51
|
</script>
|