@motor-cms/ui-media 1.4.0 → 1.5.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.
|
@@ -79,8 +79,7 @@ const fetchFiles = useGridFetch<File>('/api/v2/files')
|
|
|
79
79
|
</script>
|
|
80
80
|
|
|
81
81
|
<template>
|
|
82
|
-
<
|
|
83
|
-
<GridPage
|
|
82
|
+
<GridPage
|
|
84
83
|
:title="t('motor-media.files.title')"
|
|
85
84
|
:subtitle="t('motor-media.files.subtitle')"
|
|
86
85
|
add-route="/motor-media/files/create"
|
|
@@ -153,12 +152,11 @@ const fetchFiles = useGridFetch<File>('/api/v2/files')
|
|
|
153
152
|
delete-permission="files.delete"
|
|
154
153
|
:row-click-to="(row: any) => `/motor-media/files/${row.id}/edit`"
|
|
155
154
|
/>
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
</div>
|
|
155
|
+
</GridPage>
|
|
156
|
+
|
|
157
|
+
<EntityUsageModal
|
|
158
|
+
v-model:open="usageModalOpen"
|
|
159
|
+
:endpoint="usageEndpoint"
|
|
160
|
+
:title="t('motor-media.files.usage_title')"
|
|
161
|
+
/>
|
|
164
162
|
</template>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@motor-cms/ui-media",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./nuxt.config.ts",
|
|
6
6
|
"files": [
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@vueuse/core": "^14.0.0",
|
|
14
|
-
"@motor-cms/ui-core": "1.
|
|
14
|
+
"@motor-cms/ui-core": "1.5.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"nuxt": "^4.0.0",
|