@ditojs/admin 2.24.0 → 2.24.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": "@ditojs/admin",
|
|
3
|
-
"version": "2.24.
|
|
3
|
+
"version": "2.24.1",
|
|
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.24.
|
|
36
|
+
"@ditojs/ui": "^2.24.1",
|
|
37
37
|
"@ditojs/utils": "^2.24.0",
|
|
38
38
|
"@kyvg/vue3-notification": "^3.1.4",
|
|
39
39
|
"@lk77/vue3-color": "^3.0.6",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"tinycolor2": "^1.6.0",
|
|
69
69
|
"tippy.js": "^6.3.7",
|
|
70
70
|
"type-fest": "^4.10.2",
|
|
71
|
-
"vue": "
|
|
71
|
+
"vue": "3.4.10",
|
|
72
72
|
"vue-multiselect": "^3.0.0-beta.3",
|
|
73
73
|
"vue-router": "^4.2.5",
|
|
74
74
|
"vue-upload-component": "^3.1.8"
|
|
@@ -76,14 +76,14 @@
|
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@ditojs/build": "^2.24.0",
|
|
78
78
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
79
|
-
"@vue/compiler-sfc": "
|
|
79
|
+
"@vue/compiler-sfc": "3.4.10",
|
|
80
80
|
"pug": "^3.0.2",
|
|
81
81
|
"sass": "1.70.0",
|
|
82
82
|
"typescript": "^5.3.3",
|
|
83
83
|
"vite": "^5.1.1"
|
|
84
84
|
},
|
|
85
85
|
"types": "types",
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "47db476cbe26eb80eea031cb07133ec76b2d10b1",
|
|
87
87
|
"scripts": {
|
|
88
88
|
"build": "vite build",
|
|
89
89
|
"watch": "yarn build --mode 'development' --watch",
|
package/src/mixins/DataMixin.js
CHANGED
|
@@ -15,7 +15,7 @@ export default {
|
|
|
15
15
|
data() {
|
|
16
16
|
return {
|
|
17
17
|
isLoading: false,
|
|
18
|
-
asyncDataEntries: {}
|
|
18
|
+
asyncDataEntries: markRaw({})
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
|
|
@@ -29,13 +29,13 @@ export default {
|
|
|
29
29
|
// NOTE: Use `markRaw()` to avoid reactivity on the entry itself, as
|
|
30
30
|
// reactivity is only desired on the `reactiveVersion` property, which is
|
|
31
31
|
// used to trigger controlled reevaluation of the computed getter.
|
|
32
|
-
const asyncEntry = (this.asyncDataEntries[name]
|
|
32
|
+
const asyncEntry = (this.asyncDataEntries[name] ??= {
|
|
33
33
|
reactiveVersion: ref(1),
|
|
34
34
|
dependencyFunction: null,
|
|
35
35
|
resolvedData: undefined,
|
|
36
36
|
resolving: false,
|
|
37
37
|
resolved: false
|
|
38
|
-
})
|
|
38
|
+
})
|
|
39
39
|
// If the data callback provided a dependency function when it was called,
|
|
40
40
|
// cal it in every call of `handleDataSchema()` to force Vue to keep track
|
|
41
41
|
// of the async dependencies. Also access `reactiveVersion.value` right
|