Compare commits

..

6 Commits

Author SHA1 Message Date
Sebastian 72cb2b8d02 fix: full screen preview
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-09-14 18:56:38 -04:00
Sebastian a0c50bded9 Merge pull request 'chore(deps): update dependency vuetify to v4.2.1' (#58) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #58
2026-09-14 22:02:07 +00:00
Sebastian 09ada28f09 Merge pull request 'chore(deps): update dependency vite to v8.3.0' (#59) from renovate/vite-8.x-lockfile into main
Reviewed-on: #59
2026-09-14 22:02:01 +00:00
Sebastian ea28911822 chore(deps): update dependency vite to v8.3.0
Build Test / test (pull_request) Successful in 41s
JS Unit Tests / test (pull_request) Successful in 40s
2026-09-14 03:02:08 +00:00
Sebastian 0a88c7f14a chore(deps): update dependency vuetify to v4.2.1
Build Test / test (pull_request) Successful in 47s
JS Unit Tests / test (pull_request) Successful in 51s
2026-09-14 03:02:05 +00:00
Sebastian 1d7e363076 refactor: adjust integration points
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-09-12 21:40:28 -04:00
3 changed files with 18 additions and 18 deletions
+14 -14
View File
@@ -1896,9 +1896,9 @@
"license": "MIT"
},
"node_modules/nanoid": {
"version": "3.3.17",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.17.tgz",
"integrity": "sha512-xQLf0A3HOMlgHq0n247/LRuAOYmB7dXJ/DvAxGvsSBij45XtBSmQycu+F8ODbHwns/XyFZagyL1+J0Offw1E0g==",
"version": "3.3.19",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.19.tgz",
"integrity": "sha512-Y2tUNy4ouw6tq5oDSKeQYGOyhkUBhNOcGV/02KC+6kd9eDGqdZd++mjMiIDilrBYvjEnCYvVtsuHCuP+okSfug==",
"funding": [
{
"type": "github",
@@ -2066,9 +2066,9 @@
}
},
"node_modules/postcss": {
"version": "8.5.26",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.26.tgz",
"integrity": "sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==",
"version": "8.5.28",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.28.tgz",
"integrity": "sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A==",
"funding": [
{
"type": "opencollective",
@@ -2085,7 +2085,7 @@
],
"license": "MIT",
"dependencies": {
"nanoid": "^3.3.17",
"nanoid": "^3.3.18",
"picocolors": "^1.1.1",
"source-map-js": "^1.2.1"
},
@@ -2445,16 +2445,16 @@
}
},
"node_modules/vite": {
"version": "8.2.2",
"resolved": "https://registry.npmjs.org/vite/-/vite-8.2.2.tgz",
"integrity": "sha512-cFKLV/PRgAUlIRm5WjMjJ86jrftzpqcgH+Us+DS8mI3CDNiH30Whrz8uHL3+MOLPAgqbMBAqWdAHAphOAM+z/Q==",
"version": "8.3.0",
"resolved": "https://registry.npmjs.org/vite/-/vite-8.3.0.tgz",
"integrity": "sha512-lhZBVvEHefgE+HQZC9O7EBJgCU/nVzFNl7vkS4RE0APtWLP02/8QVIkQtzBxPquh7lq5/78NHipTj7ODQ6XuyQ==",
"devOptional": true,
"license": "MIT",
"dependencies": {
"lightningcss": "^1.33.0",
"picomatch": "^4.0.5",
"postcss": "^8.5.26",
"rolldown": "~1.2.4",
"picomatch": "^4.0.7",
"postcss": "^8.5.28",
"rolldown": "~1.2.6",
"tinyglobby": "^0.2.17"
},
"bin": {
@@ -2471,7 +2471,7 @@
},
"peerDependencies": {
"@types/node": "^20.19.0 || >=22.12.0",
"@vitejs/devtools": "^0.4.0 || ^0.5.0",
"@vitejs/devtools": "^0.7.1",
"esbuild": "^0.27.0 || ^0.28.0",
"jiti": ">=1.21.0",
"less": "^4.0.0",
+3 -3
View File
@@ -1,11 +1,11 @@
/**
* useFileEditor — resolves which registered editor can handle a given MIME type.
*
* Other modules register editors at the `documents_file_editor` integration
* Other modules register editors at the `documents_editor` integration
* point by including an entry in their `integrations.ts`:
*
* ```ts
* documents_file_editor: [{
* documents_editor: [{
* id: 'my_editor',
* meta: { mimeTypes: ['text/plain'] },
* component: () => import('./components/MyEditor.vue'),
@@ -21,7 +21,7 @@
import { useIntegrationStore } from '@KTXC'
import type { EntityObject } from '@DocumentsManager/models/entity'
const INTEGRATION_POINT = 'documents_file_editor'
const INTEGRATION_POINT = 'documents_editor'
function mimeMatchesPattern(mime: string, pattern: string): boolean {
if (pattern.endsWith('/*')) {
+1 -1
View File
@@ -126,7 +126,7 @@ function entityToViewerItem(entity: EntityObject): ViewerItem {
return {
id: String(entity.identifier ?? ''),
title: entity.properties.label ?? String(entity.identifier ?? ''),
mime: entity.properties.mime ?? '',
mime: 'image/webp',
meta: { collection: entity.collection ? String(entity.collection) : null },
}
}