chore(front): tidying up (types, packages, links)

This commit is contained in:
upsiflu 2025-03-25 19:54:30 +01:00
parent 1948d9455b
commit 0570d5c3a5
5 changed files with 7 additions and 10 deletions

View File

@ -39,7 +39,7 @@
"butterchurn": "3.0.0-beta.4",
"butterchurn-presets": "3.0.0-beta.4",
"diff": "5.1.0",
"dompurify": "3.0.8",
"dompurify": "3.2.4",
"focus-trap": "7.2.0",
"idb-keyval": "6.2.1",
"jquery": "3.7.1",

View File

@ -69,7 +69,7 @@ const actions = computed(() => [
confirmationMessage: t('components.manage.library.UploadsTable.action.delete.warning'),
isDangerous: true,
allowAll: false,
confirmColor: 'danger'
confirmColor: 'danger' as const
}
])
@ -132,10 +132,10 @@ const getPrivacyLevelChoice = (privacyLevel: PrivacyLevel) => {
<Input
id="uploads-search"
ref="search"
v-model="query"
name="search"
search
:label="t('components.manage.library.UploadsTable.label.search')"
v-model="query"
:placeholder="labels.searchPlaceholder"
/>
</form>

View File

@ -4,6 +4,7 @@ import DefaultTheme from 'vitepress/theme'
import en from '../../../src/locales/en_US.json'
import Theme from './Theme.vue'
import VueDOMPurifyHTML from 'vue-dompurify-html';
import { createRouter, createWebHistory } from 'vue-router'
@ -50,5 +51,6 @@ export default {
}
app.use(i18n)
app.use(router)
app.use(VueDOMPurifyHTML);
}
}

View File

@ -8,7 +8,7 @@ import OptionsButton from "~/components/ui/button/Options.vue"
# Options Button
-> For use cases, see [components/popover](../popover)
-> For use cases, see [components/popover](../popover.md)
```vue-html
<OptionsButton />

View File

@ -6272,12 +6272,7 @@ domhandler@^5.0.2, domhandler@^5.0.3:
dependencies:
domelementtype "^2.3.0"
dompurify@3.0.8:
version "3.0.8"
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.0.8.tgz#e0021ab1b09184bc8af7e35c7dd9063f43a8a437"
integrity sha512-b7uwreMYL2eZhrSCRC4ahLTeZcPZxSmYfmcQGXGkXiZSNW1X85v+SDM5KsWcpivIiUBH47Ji7NtyUdpLeF5JZQ==
dompurify@^3.2.1:
dompurify@3.2.4, dompurify@^3.2.1:
version "3.2.4"
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.2.4.tgz#af5a5a11407524431456cf18836c55d13441cd8e"
integrity sha512-ysFSFEDVduQpyhzAob/kkuJjf5zWkZD8/A9ywSp1byueyuCfHamrCBa14/Oc2iiB0e51B+NpxSl5gmzn+Ms/mg==