Files
Jonathan Adeline e5c3aa4353 Nuxt3 migration continue (#4595)
* Refactor store registration to use SSR methods across multiple plugins for improved state management

* fix database file field drag and drop

* fix storybook dependencies warning.

* refactor: Replace `useAsyncData` with a direct `watch` and `renderMarkdown` function for markdown content.

* fix workspace hydratation warning

* replace direct `role.isBillable` access with `roleIsBillable` computed property

* fix auth settings form

* fix alert slot usage

* please linter

* please prettier

* fix SSR rendering

* refactor: simplify relay state URL generation by directly passing the user source object.

* refactor: Replace `registerModuleSSR` with `registerModuleNuxtSafe` for Vuex module registration across all plugins.

* please linter

* fix: add retry logic for Firefox NS_BINDING_ABORTED navigation errors in E2E tests

* test: reload page and assert link visibility using getByRole after setting parameters.

* refactor: simplify `goto` navigation by removing retry logic and adding a fixed delay.

* refactor: trigger initial markdown rendering via immediate watcher option

* update snapshots
2026-02-09 17:32:12 +04:00

47 lines
950 B
JavaScript

import form from '@baserow/modules/core/mixins/form'
export default {
mixins: [form],
emits: ['submit'],
props: {
authProviders: {
type: Object,
required: true,
},
authProvider: {
type: Object,
required: false,
default: () => ({}),
},
authProviderType: {
type: Object,
required: true,
},
excludedForm: {
type: Boolean,
required: false, // Must be false to be compatible with other uses of this mixin
default: false,
},
},
data() {
return { serverErrors: {} }
},
computed: {
providerName() {
return this.authProviderType.getProviderName(this.authProvider)
},
},
methods: {
submit() {
this.v$.$touch()
if (this.v$.$invalid) {
return
}
this.$emit('submit', this.values)
},
handleServerError(error) {
return this.authProviderType.handleServerError(this, error)
},
},
}