chore: type fixes #2
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new configuration option,
showBackLink, allowing users to control the visibility of the footer back button in the document verification UI. The changes update the configuration, documentation, and component logic to support this toggle, with a default value oftruefor backward compatibility.New configuration option:
showBackLinkproperty to theDocumentVerificationConfiginterface and all relevant config objects, defaulting totrue. This allows users to show or hide the footer back button as needed.Component and UI updates:
DocumentFooter.vueto conditionally render the footer based on theshowBackLinkprop, and updated its props accordingly.DocumentVerification.vueto pass the newshowBackLinkprop and guard rendering of the footer.Documentation improvements:
showBackLinkto the configuration table and usage examples in theREADME.md, explaining its purpose and usage.Playground and typescript config:
nuxt.config.tsto demonstrate usage ofshowBackLink.tsconfig.jsonfor the playground to ensure correct type resolution.These changes make it easier to customize the navigation experience in the document verification flow by toggling the back button's visibility.