@ditojs/admin 2.48.0 → 2.49.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.48.0",
3
+ "version": "2.49.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.48.0",
43
- "@ditojs/utils": "^2.48.0",
42
+ "@ditojs/ui": "^2.49.1",
43
+ "@ditojs/utils": "^2.49.0",
44
44
  "@kyvg/vue3-notification": "^3.4.1",
45
45
  "@lk77/vue3-color": "^3.0.6",
46
- "@tiptap/core": "^2.11.9",
47
- "@tiptap/extension-blockquote": "^2.11.9",
48
- "@tiptap/extension-bold": "^2.11.9",
49
- "@tiptap/extension-bullet-list": "^2.11.9",
50
- "@tiptap/extension-code": "^2.11.9",
51
- "@tiptap/extension-code-block": "^2.11.9",
52
- "@tiptap/extension-document": "^2.11.9",
53
- "@tiptap/extension-hard-break": "^2.11.9",
54
- "@tiptap/extension-heading": "^2.11.9",
55
- "@tiptap/extension-history": "^2.11.9",
56
- "@tiptap/extension-horizontal-rule": "^2.11.9",
57
- "@tiptap/extension-italic": "^2.11.9",
58
- "@tiptap/extension-link": "^2.11.9",
59
- "@tiptap/extension-list-item": "^2.11.9",
60
- "@tiptap/extension-ordered-list": "^2.11.9",
61
- "@tiptap/extension-paragraph": "^2.11.9",
62
- "@tiptap/extension-strike": "^2.11.9",
63
- "@tiptap/extension-subscript": "^2.11.9",
64
- "@tiptap/extension-superscript": "^2.11.9",
65
- "@tiptap/extension-text": "^2.11.9",
66
- "@tiptap/extension-text-style": "^2.11.9",
67
- "@tiptap/extension-underline": "^2.11.9",
68
- "@tiptap/pm": "^2.11.9",
69
- "@tiptap/vue-3": "^2.11.9",
46
+ "@tiptap/core": "^2.12.0",
47
+ "@tiptap/extension-blockquote": "^2.12.0",
48
+ "@tiptap/extension-bold": "^2.12.0",
49
+ "@tiptap/extension-bullet-list": "^2.12.0",
50
+ "@tiptap/extension-code": "^2.12.0",
51
+ "@tiptap/extension-code-block": "^2.12.0",
52
+ "@tiptap/extension-document": "^2.12.0",
53
+ "@tiptap/extension-hard-break": "^2.12.0",
54
+ "@tiptap/extension-heading": "^2.12.0",
55
+ "@tiptap/extension-history": "^2.12.0",
56
+ "@tiptap/extension-horizontal-rule": "^2.12.0",
57
+ "@tiptap/extension-italic": "^2.12.0",
58
+ "@tiptap/extension-link": "^2.12.0",
59
+ "@tiptap/extension-list-item": "^2.12.0",
60
+ "@tiptap/extension-ordered-list": "^2.12.0",
61
+ "@tiptap/extension-paragraph": "^2.12.0",
62
+ "@tiptap/extension-strike": "^2.12.0",
63
+ "@tiptap/extension-subscript": "^2.12.0",
64
+ "@tiptap/extension-superscript": "^2.12.0",
65
+ "@tiptap/extension-text": "^2.12.0",
66
+ "@tiptap/extension-text-style": "^2.12.0",
67
+ "@tiptap/extension-underline": "^2.12.0",
68
+ "@tiptap/pm": "^2.12.0",
69
+ "@tiptap/vue-3": "^2.12.0",
70
70
  "@vueuse/integrations": "^13.1.0",
71
71
  "codeflask": "^1.4.1",
72
72
  "filesize": "^10.1.6",
@@ -77,17 +77,17 @@
77
77
  "tinycolor2": "^1.6.0",
78
78
  "tippy.js": "^6.3.7",
79
79
  "tiptap-footnotes": "^2.0.3",
80
- "type-fest": "^4.40.1",
80
+ "type-fest": "^4.41.0",
81
81
  "vue": "^3.5.13",
82
82
  "vue-multiselect": "^3.2.0",
83
83
  "vue-router": "^4.5.1",
84
84
  "vue-upload-component": "^3.1.17"
85
85
  },
86
86
  "devDependencies": {
87
- "@ditojs/build": "^2.48.0",
87
+ "@ditojs/build": "^2.49.1",
88
88
  "typescript": "^5.8.3",
89
- "vite": "^6.3.4"
89
+ "vite": "^6.3.5"
90
90
  },
91
91
  "types": "types",
92
- "gitHead": "bacff1f9a6b314fad4f01b4a83d5cf4778d344e1"
92
+ "gitHead": "45e0fcf6cc3616b095ad32928cba034198b01ba0"
93
93
  }
package/src/DitoAdmin.js CHANGED
@@ -127,7 +127,7 @@ export default class DitoAdmin {
127
127
  },
128
128
 
129
129
  upload(resource) {
130
- // Dito Server handles upload routes on the collection resource:
130
+ // Dito.js Server handles upload routes on the collection resource:
131
131
  return `${this.collection(resource.parent)}/upload/${resource.path}`
132
132
  },
133
133
 
@@ -1,4 +1,4 @@
1
- // NOTE: index.js exports nothing, but Dito components will be registered in
1
+ // NOTE: index.js exports nothing, but Dito.js components will be registered in
2
2
  // DitoComponent and can be rendered through their tag-names.
3
3
  // NOTE: Sequence is meaningful for reasons of CSS declaration sequence. The
4
4
  // convention is in order of encountered hierarchy in the DOM.
@@ -332,7 +332,7 @@ export default {
332
332
  async (err, response) => {
333
333
  const data = response?.data
334
334
  if (err) {
335
- // See if we're dealing with a Dito validation error:
335
+ // See if we're dealing with a Dito.js validation error:
336
336
  const errors = this.isValidationError(response) && data.errors
337
337
  if (errors) {
338
338
  await this.showValidationErrors(errors, true)
@@ -34,7 +34,7 @@ export function getTypeComponent(type, allowNull = false) {
34
34
  if (!component && !allowNull && !unknownTypeReported[type]) {
35
35
  // Report each missing type only once, to avoid flooding the console:
36
36
  unknownTypeReported[type] = true
37
- throw new Error(`Unknown Dito component type: '${type}'`)
37
+ throw new Error(`Unknown Dito.js component type: '${type}'`)
38
38
  }
39
39
  return component
40
40
  }