@ditojs/admin 2.77.0 → 2.78.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.77.0",
3
+ "version": "2.78.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,56 +42,56 @@
42
42
  "not ie_mob > 0"
43
43
  ],
44
44
  "dependencies": {
45
- "@ditojs/ui": "^2.77.0",
46
- "@ditojs/utils": "^2.77.0",
45
+ "@ditojs/ui": "^2.78.0",
46
+ "@ditojs/utils": "^2.78.0",
47
47
  "@kyvg/vue3-notification": "^3.4.2",
48
48
  "@lk77/vue3-color": "^3.0.6",
49
- "@tiptap/core": "^3.15.3",
50
- "@tiptap/extension-blockquote": "^3.15.3",
51
- "@tiptap/extension-bold": "^3.15.3",
52
- "@tiptap/extension-bullet-list": "^3.15.3",
53
- "@tiptap/extension-code": "^3.15.3",
54
- "@tiptap/extension-code-block": "^3.15.3",
55
- "@tiptap/extension-document": "^3.15.3",
56
- "@tiptap/extension-hard-break": "^3.15.3",
57
- "@tiptap/extension-heading": "^3.15.3",
58
- "@tiptap/extension-history": "^3.15.3",
59
- "@tiptap/extension-horizontal-rule": "^3.15.3",
60
- "@tiptap/extension-italic": "^3.15.3",
61
- "@tiptap/extension-link": "^3.15.3",
62
- "@tiptap/extension-list": "^3.15.3",
63
- "@tiptap/extension-list-item": "^3.15.3",
64
- "@tiptap/extension-ordered-list": "^3.15.3",
65
- "@tiptap/extension-paragraph": "^3.15.3",
66
- "@tiptap/extension-strike": "^3.15.3",
67
- "@tiptap/extension-subscript": "^3.15.3",
68
- "@tiptap/extension-superscript": "^3.15.3",
69
- "@tiptap/extension-text": "^3.15.3",
70
- "@tiptap/extension-text-style": "^3.15.3",
71
- "@tiptap/extension-underline": "^3.15.3",
72
- "@tiptap/extensions": "^3.15.3",
73
- "@tiptap/pm": "^3.15.3",
74
- "@tiptap/vue-3": "^3.15.3",
49
+ "@tiptap/core": "^3.17.1",
50
+ "@tiptap/extension-blockquote": "^3.17.1",
51
+ "@tiptap/extension-bold": "^3.17.1",
52
+ "@tiptap/extension-bullet-list": "^3.17.1",
53
+ "@tiptap/extension-code": "^3.17.1",
54
+ "@tiptap/extension-code-block": "^3.17.1",
55
+ "@tiptap/extension-document": "^3.17.1",
56
+ "@tiptap/extension-hard-break": "^3.17.1",
57
+ "@tiptap/extension-heading": "^3.17.1",
58
+ "@tiptap/extension-history": "^3.17.1",
59
+ "@tiptap/extension-horizontal-rule": "^3.17.1",
60
+ "@tiptap/extension-italic": "^3.17.1",
61
+ "@tiptap/extension-link": "^3.17.1",
62
+ "@tiptap/extension-list": "^3.17.1",
63
+ "@tiptap/extension-list-item": "^3.17.1",
64
+ "@tiptap/extension-ordered-list": "^3.17.1",
65
+ "@tiptap/extension-paragraph": "^3.17.1",
66
+ "@tiptap/extension-strike": "^3.17.1",
67
+ "@tiptap/extension-subscript": "^3.17.1",
68
+ "@tiptap/extension-superscript": "^3.17.1",
69
+ "@tiptap/extension-text": "^3.17.1",
70
+ "@tiptap/extension-text-style": "^3.17.1",
71
+ "@tiptap/extension-underline": "^3.17.1",
72
+ "@tiptap/extensions": "^3.17.1",
73
+ "@tiptap/pm": "^3.17.1",
74
+ "@tiptap/vue-3": "^3.17.1",
75
75
  "@vueuse/integrations": "^14.1.0",
76
76
  "codeflask": "^1.4.1",
77
77
  "filesize": "^11.0.13",
78
78
  "filesize-parser": "^1.5.1",
79
- "focus-trap": "^7.7.1",
79
+ "focus-trap": "^7.8.0",
80
80
  "nanoid": "^5.1.6",
81
81
  "sortablejs": "^1.15.6",
82
82
  "tinycolor2": "^1.6.0",
83
83
  "tippy.js": "^6.3.7",
84
84
  "tiptap-footnotes": "^3.0.1",
85
- "type-fest": "^5.3.1",
86
- "vue": "^3.5.26",
85
+ "type-fest": "^5.4.1",
86
+ "vue": "^3.5.27",
87
87
  "vue-multiselect": "^3.4.0",
88
88
  "vue-router": "^4.6.4",
89
89
  "vue-upload-component": "^3.1.17"
90
90
  },
91
91
  "devDependencies": {
92
- "@ditojs/build": "^2.77.0",
92
+ "@ditojs/build": "^2.78.0",
93
93
  "typescript": "^5.9.3",
94
94
  "vite": "^7.3.1"
95
95
  },
96
- "gitHead": "d2cff77924d989aad5ab601cf08433a4e683ac6d"
96
+ "gitHead": "ede4c836e6b2bb5dfcc80e1614a3d85eb80b0efa"
97
97
  }
@@ -18,8 +18,8 @@
18
18
  DitoLabel(
19
19
  v-if="hasLabel"
20
20
  :class="labelClasses"
21
- :label="label"
22
21
  :dataPath="labelDataPath"
22
+ :label="label"
23
23
  :info="info"
24
24
  )
25
25
  component.dito-component(
@@ -27,6 +27,7 @@ slot(name="prepend")
27
27
  DitoLabel(
28
28
  v-if="hasLabel"
29
29
  :label="label"
30
+ :info="info"
30
31
  :dataPath="dataPath"
31
32
  :collapsible="collapsible"
32
33
  :collapsed="!opened"
@@ -156,6 +157,7 @@ export default DitoComponent.component('DitoSchema', {
156
157
  meta: { type: Object, default: () => ({}) },
157
158
  store: { type: Object, default: () => ({}) },
158
159
  label: { type: [String, Object], default: null },
160
+ info: { type: String, default: null },
159
161
  single: { type: Boolean, default: false },
160
162
  padding: { type: String, default: null },
161
163
  active: { type: Boolean, default: true },
@@ -6,6 +6,7 @@ DitoSchema.dito-schema-inlined(
6
6
  :meta="meta"
7
7
  :store="store"
8
8
  :label="isCompact ? null : label"
9
+ :info="info"
9
10
  :padding="padding ?? 'inlined'"
10
11
  :inlined="true"
11
12
  :disabled="disabled"
@@ -49,6 +50,7 @@ export default DitoComponent.component('DitoSchemaInlined', {
49
50
  meta: { type: Object, required: true },
50
51
  store: { type: Object, required: true },
51
52
  label: { type: [String, Object], default: null },
53
+ info: { type: String, default: null },
52
54
  padding: { type: String, default: null },
53
55
  disabled: { type: Boolean, required: true },
54
56
  collapsed: { type: Boolean, default: false },
@@ -130,9 +130,10 @@
130
130
  :buttons="buttonSchemas"
131
131
  :schema="schema"
132
132
  :dataPath="dataPath"
133
- :data="listData"
133
+ :data="data"
134
134
  :meta="meta"
135
135
  :store="store"
136
+ :nested="nested"
136
137
  :disabled="disabled || isLoading"
137
138
  :creatable="creatable"
138
139
  :createPath="createPath"
@@ -1,12 +1,13 @@
1
1
  <template lang="pug">
2
2
  .dito-section(:class="{ 'dito-section--labelled': hasLabel }")
3
3
  DitoSchemaInlined.dito-section__schema(
4
- :label="label"
5
4
  :schema="getItemFormSchema(schema, item, context)"
6
5
  :dataPath="dataPath"
7
6
  :data="item"
8
7
  :meta="meta"
9
8
  :store="store"
9
+ :label="label"
10
+ :info="info"
10
11
  :padding="hasLabel ? 'nested' : 'inlined'"
11
12
  :disabled="disabled"
12
13
  :collapsed="collapsed"