@ditojs/admin 2.78.0 → 2.80.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/dist/dito-admin.es.js +702 -702
- package/dist/dito-admin.umd.js +5 -5
- package/package.json +5 -5
- package/src/types/DitoTypeMarkup.vue +6 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ditojs/admin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.80.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",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"not ie_mob > 0"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@ditojs/ui": "^2.
|
|
46
|
-
"@ditojs/utils": "^2.
|
|
45
|
+
"@ditojs/ui": "^2.80.0",
|
|
46
|
+
"@ditojs/utils": "^2.80.0",
|
|
47
47
|
"@kyvg/vue3-notification": "^3.4.2",
|
|
48
48
|
"@lk77/vue3-color": "^3.0.6",
|
|
49
49
|
"@tiptap/core": "^3.17.1",
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
"vue-upload-component": "^3.1.17"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
|
-
"@ditojs/build": "^2.
|
|
92
|
+
"@ditojs/build": "^2.80.0",
|
|
93
93
|
"typescript": "^5.9.3",
|
|
94
94
|
"vite": "^7.3.1"
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "fd999439023af0616fa1e8afd51909eff651161d"
|
|
97
97
|
}
|
|
@@ -207,6 +207,7 @@ export default DitoTypeComponent.register('markup', {
|
|
|
207
207
|
},
|
|
208
208
|
|
|
209
209
|
created() {
|
|
210
|
+
let changed = false
|
|
210
211
|
let ignoreWatch = false
|
|
211
212
|
|
|
212
213
|
const onFocus = () => this.onFocus()
|
|
@@ -232,10 +233,12 @@ export default DitoTypeComponent.register('markup', {
|
|
|
232
233
|
? content.replace(/^<p>(.*?)<\/p>$/s, '$1')
|
|
233
234
|
: content
|
|
234
235
|
if (value !== this.value) {
|
|
236
|
+
changed = true
|
|
235
237
|
this.value = value
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
238
|
+
}
|
|
239
|
+
if (!this.focused && changed) {
|
|
240
|
+
this.onChange()
|
|
241
|
+
changed = false
|
|
239
242
|
}
|
|
240
243
|
}
|
|
241
244
|
|