@ditojs/admin 2.36.0 → 2.36.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.36.0",
3
+ "version": "2.36.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",
@@ -39,34 +39,34 @@
39
39
  "not ie_mob > 0"
40
40
  ],
41
41
  "dependencies": {
42
- "@ditojs/ui": "^2.36.0",
42
+ "@ditojs/ui": "^2.36.1",
43
43
  "@ditojs/utils": "^2.36.0",
44
44
  "@kyvg/vue3-notification": "^3.4.0",
45
45
  "@lk77/vue3-color": "^3.0.6",
46
- "@tiptap/core": "^2.8.0",
47
- "@tiptap/extension-blockquote": "^2.8.0",
48
- "@tiptap/extension-bold": "^2.8.0",
49
- "@tiptap/extension-bullet-list": "^2.8.0",
50
- "@tiptap/extension-code": "^2.8.0",
51
- "@tiptap/extension-code-block": "^2.8.0",
52
- "@tiptap/extension-document": "^2.8.0",
53
- "@tiptap/extension-hard-break": "^2.8.0",
54
- "@tiptap/extension-heading": "^2.8.0",
55
- "@tiptap/extension-history": "^2.8.0",
56
- "@tiptap/extension-horizontal-rule": "^2.8.0",
57
- "@tiptap/extension-italic": "^2.8.0",
58
- "@tiptap/extension-link": "^2.8.0",
59
- "@tiptap/extension-list-item": "^2.8.0",
60
- "@tiptap/extension-ordered-list": "^2.8.0",
61
- "@tiptap/extension-paragraph": "^2.8.0",
62
- "@tiptap/extension-strike": "^2.8.0",
63
- "@tiptap/extension-subscript": "^2.8.0",
64
- "@tiptap/extension-superscript": "^2.8.0",
65
- "@tiptap/extension-text": "^2.8.0",
66
- "@tiptap/extension-text-style": "^2.8.0",
67
- "@tiptap/extension-underline": "^2.8.0",
68
- "@tiptap/pm": "^2.8.0",
69
- "@tiptap/vue-3": "^2.8.0",
46
+ "@tiptap/core": "^2.9.1",
47
+ "@tiptap/extension-blockquote": "^2.9.1",
48
+ "@tiptap/extension-bold": "^2.9.1",
49
+ "@tiptap/extension-bullet-list": "^2.9.1",
50
+ "@tiptap/extension-code": "^2.9.1",
51
+ "@tiptap/extension-code-block": "^2.9.1",
52
+ "@tiptap/extension-document": "^2.9.1",
53
+ "@tiptap/extension-hard-break": "^2.9.1",
54
+ "@tiptap/extension-heading": "^2.9.1",
55
+ "@tiptap/extension-history": "^2.9.1",
56
+ "@tiptap/extension-horizontal-rule": "^2.9.1",
57
+ "@tiptap/extension-italic": "^2.9.1",
58
+ "@tiptap/extension-link": "^2.9.1",
59
+ "@tiptap/extension-list-item": "^2.9.1",
60
+ "@tiptap/extension-ordered-list": "^2.9.1",
61
+ "@tiptap/extension-paragraph": "^2.9.1",
62
+ "@tiptap/extension-strike": "^2.9.1",
63
+ "@tiptap/extension-subscript": "^2.9.1",
64
+ "@tiptap/extension-superscript": "^2.9.1",
65
+ "@tiptap/extension-text": "^2.9.1",
66
+ "@tiptap/extension-text-style": "^2.9.1",
67
+ "@tiptap/extension-underline": "^2.9.1",
68
+ "@tiptap/pm": "^2.9.1",
69
+ "@tiptap/vue-3": "^2.9.1",
70
70
  "@vueuse/integrations": "^11.1.0",
71
71
  "codeflask": "^1.4.1",
72
72
  "filesize": "^10.1.6",
@@ -77,16 +77,16 @@
77
77
  "tinycolor2": "^1.6.0",
78
78
  "tippy.js": "^6.3.7",
79
79
  "type-fest": "^4.26.1",
80
- "vue": "^3.5.11",
80
+ "vue": "^3.5.12",
81
81
  "vue-multiselect": "^3.1.0",
82
82
  "vue-router": "^4.4.5",
83
83
  "vue-upload-component": "^3.1.17"
84
84
  },
85
85
  "devDependencies": {
86
- "@ditojs/build": "^2.36.0",
86
+ "@ditojs/build": "^2.36.1",
87
87
  "typescript": "^5.6.3",
88
- "vite": "^5.4.8"
88
+ "vite": "^5.4.10"
89
89
  },
90
90
  "types": "types",
91
- "gitHead": "ba2704e52f9f04ea2d28fb5a418c4e721784aa50"
91
+ "gitHead": "70fd2abe897c2a4fd5d51cdaa06493c059f05d46"
92
92
  }
@@ -32,10 +32,10 @@ function toObject(context) {
32
32
  if (object) break
33
33
  raw = Object.getPrototypeOf(raw)
34
34
  } while (raw)
35
- if (raw !== rawStart) {
35
+ if (object && raw !== rawStart) {
36
36
  // Assign the passed context with the original object as well, so we don't
37
37
  // have to search for it again:
38
- contexts.set(rawStart, object)
38
+ contexts.set(raw, object)
39
39
  }
40
40
  return object
41
41
  }
@@ -124,7 +124,7 @@ export default DitoComponent.component('DitoRoot', {
124
124
  interactive: true,
125
125
  delay: 250,
126
126
  zIndex: 1,
127
- onCreate(instance) {
127
+ onShow(instance) {
128
128
  instance.setContent(instance.reference.dataset.info)
129
129
  }
130
130
  })