@ditojs/admin 2.12.1 → 2.12.3

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.12.1",
3
+ "version": "2.12.3",
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,37 +33,37 @@
33
33
  "not ie_mob > 0"
34
34
  ],
35
35
  "dependencies": {
36
- "@ditojs/ui": "^2.12.0",
36
+ "@ditojs/ui": "^2.12.2",
37
37
  "@ditojs/utils": "^2.12.0",
38
- "@kyvg/vue3-notification": "^3.0.1",
38
+ "@kyvg/vue3-notification": "https://github.com/ditojs/vue3-notification#dito",
39
39
  "@lk77/vue3-color": "^3.0.6",
40
- "@tiptap/core": "^2.1.7",
41
- "@tiptap/extension-blockquote": "^2.1.7",
42
- "@tiptap/extension-bold": "^2.1.7",
43
- "@tiptap/extension-bullet-list": "^2.1.7",
44
- "@tiptap/extension-code": "^2.1.7",
45
- "@tiptap/extension-code-block": "^2.1.7",
46
- "@tiptap/extension-document": "^2.1.7",
47
- "@tiptap/extension-hard-break": "^2.1.7",
48
- "@tiptap/extension-heading": "^2.1.7",
49
- "@tiptap/extension-history": "^2.1.7",
50
- "@tiptap/extension-horizontal-rule": "^2.1.7",
51
- "@tiptap/extension-italic": "^2.1.7",
52
- "@tiptap/extension-link": "^2.1.7",
53
- "@tiptap/extension-list-item": "^2.1.7",
54
- "@tiptap/extension-ordered-list": "^2.1.7",
55
- "@tiptap/extension-paragraph": "^2.1.7",
56
- "@tiptap/extension-strike": "^2.1.7",
57
- "@tiptap/extension-text": "^2.1.7",
58
- "@tiptap/extension-underline": "^2.1.7",
59
- "@tiptap/pm": "^2.1.7",
60
- "@tiptap/vue-3": "^2.1.7",
40
+ "@tiptap/core": "^2.1.10",
41
+ "@tiptap/extension-blockquote": "^2.1.10",
42
+ "@tiptap/extension-bold": "^2.1.10",
43
+ "@tiptap/extension-bullet-list": "^2.1.10",
44
+ "@tiptap/extension-code": "^2.1.10",
45
+ "@tiptap/extension-code-block": "^2.1.10",
46
+ "@tiptap/extension-document": "^2.1.10",
47
+ "@tiptap/extension-hard-break": "^2.1.10",
48
+ "@tiptap/extension-heading": "^2.1.10",
49
+ "@tiptap/extension-history": "^2.1.10",
50
+ "@tiptap/extension-horizontal-rule": "^2.1.10",
51
+ "@tiptap/extension-italic": "^2.1.10",
52
+ "@tiptap/extension-link": "^2.1.10",
53
+ "@tiptap/extension-list-item": "^2.1.10",
54
+ "@tiptap/extension-ordered-list": "^2.1.10",
55
+ "@tiptap/extension-paragraph": "^2.1.10",
56
+ "@tiptap/extension-strike": "^2.1.10",
57
+ "@tiptap/extension-text": "^2.1.10",
58
+ "@tiptap/extension-underline": "^2.1.10",
59
+ "@tiptap/pm": "^2.1.10",
60
+ "@tiptap/vue-3": "^2.1.10",
61
61
  "@vueuse/integrations": "^10.4.1",
62
62
  "codeflask": "^1.4.1",
63
63
  "filesize": "^10.0.12",
64
64
  "filesize-parser": "^1.5.0",
65
65
  "focus-trap": "^7.5.2",
66
- "nanoid": "^4.0.2",
66
+ "nanoid": "^5.0.1",
67
67
  "sortablejs": "^1.15.0",
68
68
  "tinycolor2": "^1.6.0",
69
69
  "tippy.js": "^6.3.7",
@@ -78,12 +78,12 @@
78
78
  "@vitejs/plugin-vue": "^4.3.4",
79
79
  "@vue/compiler-sfc": "^3.3.4",
80
80
  "pug": "^3.0.2",
81
- "sass": "1.66.1",
81
+ "sass": "1.67.0",
82
82
  "typescript": "^5.2.2",
83
83
  "vite": "^4.4.9"
84
84
  },
85
85
  "types": "types",
86
- "gitHead": "8fd13e75795f65ef5991263d6b385d2f2fb99f08",
86
+ "gitHead": "c518cec4dd603d15ff3093355426c8295a5769d4",
87
87
  "scripts": {
88
88
  "build": "vite build",
89
89
  "watch": "yarn build --mode 'development' --watch",
@@ -6,7 +6,7 @@
6
6
  VueNotifications(
7
7
  ref="notifications"
8
8
  classes="dito-notification"
9
- :dangerouslySetInnerHTML="true"
9
+ :dangerouslySetInnerHtml="true"
10
10
  position=""
11
11
  width=""
12
12
  )
@@ -157,9 +157,19 @@ export default DitoComponent.component('DitoTreeItem', {
157
157
  return this.schema.children
158
158
  },
159
159
 
160
- childrenList() {
161
- const name = this.childrenSchema?.name
162
- return name && this.data[name]
160
+ childrenList: {
161
+ get() {
162
+ const name = this.childrenSchema?.name
163
+ return name && this.data[name]
164
+ },
165
+
166
+ set(value) {
167
+ const name = this.childrenSchema?.name
168
+ if (name) {
169
+ // eslint-disable-next-line vue/no-mutating-props
170
+ this.data[name] = value
171
+ }
172
+ }
163
173
  },
164
174
 
165
175
  childrenDraggable() {