@drax/crud-vue 3.7.0 → 3.10.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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "3.
|
|
6
|
+
"version": "3.10.0",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "./src/index.ts",
|
|
9
9
|
"module": "./src/index.ts",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@drax/common-front": "^3.0.0",
|
|
28
28
|
"@drax/crud-front": "^3.0.0",
|
|
29
|
-
"@drax/crud-share": "^3.
|
|
30
|
-
"@drax/media-vue": "^3.
|
|
29
|
+
"@drax/crud-share": "^3.10.0",
|
|
30
|
+
"@drax/media-vue": "^3.10.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"pinia": "^3.0.4",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"vue-tsc": "^3.2.4",
|
|
51
51
|
"vuetify": "^3.11.8"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "063b6aba11e891c5374c2d3de6546a3ff120b4c9"
|
|
54
54
|
}
|
package/src/components/Crud.vue
CHANGED
|
@@ -62,7 +62,7 @@ onMounted(() => {
|
|
|
62
62
|
|
|
63
63
|
<v-row justify="end" class="px-2 border-t-sm" >
|
|
64
64
|
|
|
65
|
-
<slot name="toolbar">
|
|
65
|
+
<slot name="toolbar-left">
|
|
66
66
|
</slot>
|
|
67
67
|
|
|
68
68
|
<crud-import-button
|
|
@@ -88,6 +88,9 @@ onMounted(() => {
|
|
|
88
88
|
:entity="entity"
|
|
89
89
|
/>
|
|
90
90
|
|
|
91
|
+
<slot name="toolbar">
|
|
92
|
+
</slot>
|
|
93
|
+
|
|
91
94
|
<crud-create-button
|
|
92
95
|
v-if="entity.isCreatable"
|
|
93
96
|
:entity="entity"
|
|
@@ -91,7 +91,7 @@ defineEmits(['import', 'export', 'create', 'update', 'delete', 'view', 'edit'])
|
|
|
91
91
|
</v-toolbar-title>
|
|
92
92
|
<v-spacer></v-spacer>
|
|
93
93
|
|
|
94
|
-
<slot name="toolbar">
|
|
94
|
+
<slot name="toolbar-left">
|
|
95
95
|
|
|
96
96
|
</slot>
|
|
97
97
|
|
|
@@ -118,6 +118,10 @@ defineEmits(['import', 'export', 'create', 'update', 'delete', 'view', 'edit'])
|
|
|
118
118
|
:entity="entity"
|
|
119
119
|
/>
|
|
120
120
|
|
|
121
|
+
<slot name="toolbar">
|
|
122
|
+
|
|
123
|
+
</slot>
|
|
124
|
+
|
|
121
125
|
<crud-create-button
|
|
122
126
|
v-if="entity.isCreatable"
|
|
123
127
|
:entity="entity"
|