@ditojs/admin 2.10.1 → 2.10.2
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/dito-admin.es.js +2 -2
- package/dist/dito-admin.umd.js +2 -2
- package/package.json +4 -4
- package/src/DitoContext.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ditojs/admin",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.2",
|
|
4
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",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"not ie_mob > 0"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@ditojs/ui": "^2.10.
|
|
36
|
+
"@ditojs/ui": "^2.10.2",
|
|
37
37
|
"@ditojs/utils": "^2.10.0",
|
|
38
38
|
"@kyvg/vue3-notification": "^2.9.1",
|
|
39
39
|
"@lk77/vue3-color": "^3.0.6",
|
|
@@ -78,12 +78,12 @@
|
|
|
78
78
|
"@vitejs/plugin-vue": "^4.2.3",
|
|
79
79
|
"@vue/compiler-sfc": "^3.3.4",
|
|
80
80
|
"pug": "^3.0.2",
|
|
81
|
-
"sass": "1.
|
|
81
|
+
"sass": "1.63.2",
|
|
82
82
|
"typescript": "^5.1.3",
|
|
83
83
|
"vite": "^4.3.9"
|
|
84
84
|
},
|
|
85
85
|
"types": "types",
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "b55fe95fb3e52f5ef6a59d0fc8670c15313985d6",
|
|
87
87
|
"scripts": {
|
|
88
88
|
"build": "vite build",
|
|
89
89
|
"watch": "yarn build --mode 'development' --watch",
|
package/src/DitoContext.js
CHANGED
|
@@ -22,7 +22,7 @@ const contexts = new WeakMap()
|
|
|
22
22
|
|
|
23
23
|
function get(context, key, defaultValue) {
|
|
24
24
|
const object = contexts.get(toRaw(context))
|
|
25
|
-
const value = object[key]
|
|
25
|
+
const value = key in object ? object[key] : undefined
|
|
26
26
|
// If `object` explicitly sets the key to `undefined`, return it.
|
|
27
27
|
return value !== undefined || hasOwnProperty.call(object, key)
|
|
28
28
|
? value
|