@ditojs/admin 2.24.0 → 2.25.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@ditojs/admin",
3
- "version": "2.24.0",
3
+ "version": "2.25.0",
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,8 +33,8 @@
33
33
  "not ie_mob > 0"
34
34
  ],
35
35
  "dependencies": {
36
- "@ditojs/ui": "^2.24.0",
37
- "@ditojs/utils": "^2.24.0",
36
+ "@ditojs/ui": "^2.25.0",
37
+ "@ditojs/utils": "^2.25.0",
38
38
  "@kyvg/vue3-notification": "^3.1.4",
39
39
  "@lk77/vue3-color": "^3.0.6",
40
40
  "@tiptap/core": "^2.2.2",
@@ -68,22 +68,22 @@
68
68
  "tinycolor2": "^1.6.0",
69
69
  "tippy.js": "^6.3.7",
70
70
  "type-fest": "^4.10.2",
71
- "vue": "^3.4.18",
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"
75
75
  },
76
76
  "devDependencies": {
77
- "@ditojs/build": "^2.24.0",
78
- "@vitejs/plugin-vue": "^5.0.3",
79
- "@vue/compiler-sfc": "^3.4.18",
77
+ "@ditojs/build": "^2.25.0",
78
+ "@vitejs/plugin-vue": "^5.0.4",
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": "cd3083bf66a2f1b3fdb568fbb85e58ba0c202287",
86
+ "gitHead": "888c84b30ad53c2a44ce50174f7ffb851454cec2",
87
87
  "scripts": {
88
88
  "build": "vite build",
89
89
  "watch": "yarn build --mode 'development' --watch",
@@ -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
 
@@ -26,16 +26,16 @@ export default {
26
26
  }
27
27
  let { data = undefined, dataPath = null } = schema
28
28
  // Create a reactive entry for the async data, if it doesn't exist yet.
29
- // NOTE: Use `markRaw()` to avoid reactivity on the entry itself, as
30
- // reactivity is only desired on the `reactiveVersion` property, which is
29
+ // NOTE: `markRaw()` is used to avoid reactivity on `asyncDataEntries`
30
+ // itself, as reactivity is only desired on `reactiveVersion`, which is
31
31
  // used to trigger controlled reevaluation of the computed getter.
32
- const asyncEntry = (this.asyncDataEntries[name] ||= markRaw({
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