chore: fix vue/v-on-event-hyphenation ESLint rule

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2026-01-25 23:29:54 +01:00
parent 5b5f5379e8
commit 70ca9cd841
No known key found for this signature in database
GPG key ID: 7E849AE05218500F
15 changed files with 26 additions and 26 deletions

View file

@ -8,7 +8,7 @@
<NcCheckboxRadioSwitch
:model-value="enableDefaultContact"
type="switch"
@update:model-value="updateEnableDefaultContact">
@update:modelValue="updateEnableDefaultContact">
{{ t('dav', "Add example contact to user's address book when they first log in") }}
</NcCheckboxRadioSwitch>
<div v-if="enableDefaultContact" class="example-contact-settings__buttons">

View file

@ -9,7 +9,7 @@
:model-value="createExampleEvent"
:disabled="savingConfig"
type="switch"
@update:model-value="updateCreateExampleEvent">
@update:modelValue="updateCreateExampleEvent">
{{ t('dav', "Add example event to user's calendar when they first log in") }}
</NcCheckboxRadioSwitch>
<div

View file

@ -190,7 +190,7 @@ async function updateAppConfig(key: string, value: boolean) {
type="switch"
:model-value="state.lookupServerEnabled"
disabled
@update:model-value="showLookupServerConfirmation">
@update:modelValue="showLookupServerConfirmation">
{{ t('federatedfilesharing', 'Search global and public address book for people') }}
</NcCheckboxRadioSwitch>
@ -198,7 +198,7 @@ async function updateAppConfig(key: string, value: boolean) {
type="switch"
:model-value="state.lookupServerUploadEnabled"
disabled
@update:model-value="showLookupServerUploadConfirmation">
@update:modelValue="showLookupServerUploadConfirmation">
{{ t('federatedfilesharing', 'Allow people to publish their data to a global and public address book') }}
</NcCheckboxRadioSwitch>
</fieldset>

View file

@ -85,7 +85,7 @@ async function copyCloudId(): Promise<void> {
:success="isCopied"
show-trailing-button
:trailing-button-label="copyLinkTooltip"
@trailing-button-click="copyCloudId">
@trailingButtonClick="copyCloudId">
<template #trailing-button-icon>
<IconCheck v-if="isCopied" :size="20" fill-color="var(--color-border-success)" />
<IconClipboard v-else :size="20" />

View file

@ -23,7 +23,7 @@
@click="openVersion"
@compare="compareVersion"
@restore="handleRestore"
@label-update-request="handleLabelUpdateRequest(row.items[0].version)"
@labelUpdateRequest="handleLabelUpdateRequest(row.items[0].version)"
@delete="handleDelete" />
</template>
</ul>

View file

@ -145,7 +145,7 @@ async function saveSetting(key: string, value: unknown) {
:class="$style.userSectionAppMenu__selector"
:aria-details="ariaDetailsAppOrder"
:model-value="appOrder"
@update:model-value="updateAppOrder" />
@update:modelValue="updateAppOrder" />
<NcButton
data-test-id="btn-apporder-reset"

View file

@ -53,7 +53,7 @@ watchDebounced(modelValue, (value) => {
:type
:show-trailing-button="modelValue !== defaultValue"
:trailing-button-icon="defaultValue ? 'undo' : 'close'"
@trailing-button-click="reset">
@trailingButtonClick="reset">
<template v-if="isSaving" #icon>
<NcLoadingIcon />
</template>

View file

@ -40,7 +40,7 @@
type="checkbox"
:model-value="enableBlurFilter === 'yes'"
:indeterminate="enableBlurFilter === ''"
@update:model-value="changeEnableBlurFilter">
@update:modelValue="changeEnableBlurFilter">
{{ t('theming', 'Enable blur background filter (may increase GPU load)') }}
</NcCheckboxRadioSwitch>
</NcSettingsSection>
@ -50,8 +50,8 @@
</NcNoteCard>
<template v-else>
<UserSectionPrimaryColor ref="primaryColor" @refresh-styles="refreshGlobalStyles" />
<UserSectionBackground @refresh-styles="refreshGlobalStyles" />
<UserSectionPrimaryColor ref="primaryColor" @refreshStyles="refreshGlobalStyles" />
<UserSectionBackground @refreshStyles="refreshGlobalStyles" />
</template>
<UserSectionHotkeys />

View file

@ -24,14 +24,14 @@
:model-value="ldapConfigProxy.ldapOverrideMainServer === '1'"
type="switch"
:aria-label="t('user_ldap', 'Only connect to the replica server.')"
@update:model-value="ldapConfigProxy.ldapOverrideMainServer = $event ? '1' : '0'">
@update:modelValue="ldapConfigProxy.ldapOverrideMainServer = $event ? '1' : '0'">
{{ t('user_ldap', 'Disable Main Server') }}
</NcCheckboxRadioSwitch>
<NcCheckboxRadioSwitch
:model-value="ldapConfigProxy.turnOffCertCheck === '1'"
:aria-label="t('user_ldap', 'Not recommended, use it for testing only! If connection only works with this option, import the LDAP server\'s SSL certificate in your {instanceName} server.', { instanceName })"
@update:model-value="ldapConfigProxy.turnOffCertCheck = $event ? '1' : '0'">
@update:modelValue="ldapConfigProxy.turnOffCertCheck = $event ? '1' : '0'">
{{ t('user_ldap', 'Turn off SSL certificate validation.') }}
</NcCheckboxRadioSwitch>
@ -75,7 +75,7 @@
<NcCheckboxRadioSwitch
:model-value="ldapConfigProxy.markRemnantsAsDisabled === '1'"
:aria-label="t('user_ldap', 'When switched on, users imported from LDAP which are then missing will be disabled')"
@update:model-value="ldapConfigProxy.markRemnantsAsDisabled = $event ? '1' : '0'">
@update:modelValue="ldapConfigProxy.markRemnantsAsDisabled = $event ? '1' : '0'">
{{ t('user_ldap', 'Disable users missing from LDAP') }}
</NcCheckboxRadioSwitch>
@ -120,7 +120,7 @@
<NcCheckboxRadioSwitch
:model-value="ldapConfigProxy.ldapNestedGroups === '1'"
:aria-label="t('user_ldap', 'When switched on, groups that contain groups are supported. (Only works if the group member attribute contains DNs.)')"
@update:model-value="ldapConfigProxy.ldapNestedGroups = $event ? '1' : '0'">
@update:modelValue="ldapConfigProxy.ldapNestedGroups = $event ? '1' : '0'">
{{ t('user_ldap', 'Nested Groups') }}
</NcCheckboxRadioSwitch>
@ -134,7 +134,7 @@
<NcCheckboxRadioSwitch
:model-value="ldapConfigProxy.turnOnPasswordChange === '1'"
:aria-label="t('user_ldap', 'Allow LDAP users to change their password and allow Super Administrators and Group Administrators to change the password of their LDAP users. Only works when access control policies are configured accordingly on the LDAP server. As passwords are sent in plaintext to the LDAP server, transport encryption must be used and password hashing should be configured on the LDAP server.')"
@update:model-value="ldapConfigProxy.turnOnPasswordChange = $event ? '1' : '0'">
@update:modelValue="ldapConfigProxy.turnOnPasswordChange = $event ? '1' : '0'">
{{ t('user_ldap', 'Enable LDAP password changes per user') }}
</NcCheckboxRadioSwitch>
<span class="tablecell">

View file

@ -29,7 +29,7 @@
<div class="ldap-wizard__groups__line ldap-wizard__groups__groups-filter">
<NcCheckboxRadioSwitch
:model-value="ldapConfigProxy.ldapGroupFilterMode === '1'"
@update:model-value="toggleFilterMode">
@update:modelValue="toggleFilterMode">
{{ t('user_ldap', 'Edit LDAP Query') }}
</NcCheckboxRadioSwitch>

View file

@ -11,14 +11,14 @@
<NcCheckboxRadioSwitch
:model-value="ldapConfigProxy.ldapLoginFilterUsername === '1'"
:description="t('user_ldap', 'Allows login against the LDAP/AD username, which is either \'uid\' or \'sAMAccountName\' and will be detected.')"
@update:model-value="ldapConfigProxy.ldapLoginFilterUsername = $event ? '1' : '0'">
@update:modelValue="ldapConfigProxy.ldapLoginFilterUsername = $event ? '1' : '0'">
{{ t('user_ldap', 'LDAP/AD Username:') }}
</NcCheckboxRadioSwitch>
<NcCheckboxRadioSwitch
:model-value="ldapConfigProxy.ldapLoginFilterEmail === '1'"
:description="t('user_ldap', 'Allows login against an email attribute. \'mail\' and \'mailPrimaryAddress\' allowed.')"
@update:model-value="ldapConfigProxy.ldapLoginFilterEmail = $event ? '1' : '0'">
@update:modelValue="ldapConfigProxy.ldapLoginFilterEmail = $event ? '1' : '0'">
{{ t('user_ldap', 'LDAP/AD Email Address:') }}
</NcCheckboxRadioSwitch>
@ -35,7 +35,7 @@
<div class="ldap-wizard__login__line ldap-wizard__login__user-login-filter">
<NcCheckboxRadioSwitch
:model-value="ldapLoginFilterMode"
@update:model-value="toggleFilterMode">
@update:modelValue="toggleFilterMode">
{{ t('user_ldap', 'Edit LDAP Query') }}
</NcCheckboxRadioSwitch>

View file

@ -9,7 +9,7 @@
:model-value="ldapConfigProxy.ldapConfigurationActive === '1'"
type="switch"
:aria-label="t('user_ldap', 'When unchecked, this configuration will be skipped.')"
@update:model-value="ldapConfigProxy.ldapConfigurationActive = $event ? '1' : '0'">
@update:modelValue="ldapConfigProxy.ldapConfigurationActive = $event ? '1' : '0'">
{{ t('user_ldap', 'Configuration active') }}
</NcCheckboxRadioSwitch>

View file

@ -30,7 +30,7 @@
<div class="ldap-wizard__users__line ldap-wizard__users__user-filter">
<NcCheckboxRadioSwitch
:model-value="ldapConfigProxy.ldapUserFilterMode === '1'"
@update:model-value="toggleFilterMode">
@update:modelValue="toggleFilterMode">
{{ t('user_ldap', 'Edit LDAP Query') }}
</NcCheckboxRadioSwitch>

View file

@ -22,7 +22,7 @@
:model-value="message"
type="text"
:label="t('user_status', 'What is your status?')"
@update:model-value="onChange" />
@update:modelValue="onChange" />
</div>
</div>
</template>

View file

@ -38,7 +38,7 @@
:icon="icon"
:message="editedMessage"
@change="setMessage"
@select-icon="setIcon" />
@selectIcon="setIcon" />
<NcButton
v-if="messageId === 'vacationing'"
:href="absencePageUrl"
@ -58,10 +58,10 @@
:icon="backupIcon"
:message="backupMessage"
@select="revertBackupFromServer" />
<PredefinedStatusesList @select-status="selectPredefinedMessage" />
<PredefinedStatusesList @selectStatus="selectPredefinedMessage" />
<ClearAtSelect
:clear-at="clearAt"
@select-clear-at="setClearAt" />
@selectClearAt="setClearAt" />
<div class="status-buttons">
<NcButton
:wide="true"