The `typedSignatureEnabled` prop was removed from the `SignatureField`
component, which broke the typed signature meaning that nobody could
sign documents by typing their signature.
## Description
Introduces the ability for users with the **Assistant** role to prefill
fields on behalf of other signers. Assistants can fill in various field
types such as text, checkboxes, dates, and more, streamlining the
document preparation process before it reaches the final signers.
https://github.com/user-attachments/assets/c1321578-47ec-405b-a70a-7d9578385895
The global team settings weren't created when creating a new team.
## Changes Made
The global team settings are now created when a new team is created.
Updates one of our confusing ternaries to use `ts-pattern` for rendering
the conditional blocks making it easy to follow the logic occurring.
## Related Issue
N/A
## Changes Made
- Swapped ternary for `ts-pattern`
## Testing Performed
- Manually created a bunch of documents in configurations matching those
required to exhaust the `match` conditions.
## Description
Adds the ability to align text to the left, center or right for relevant
fields.
Previously text was always centered which can be less desirable.
See attached debug document which has left, center and right text
alignments set for fields.
<img width="614" alt="image"
src="https://github.com/user-attachments/assets/361a030e-813d-458b-9c7a-ff4c9fa5e33c"
/>
## Related Issue
N/A
## Changes Made
- Added text align option
- Update the insert in pdf method to support different alignments
- Added a debug mode to field insertion
## Testing Performed
- Ran manual tests using the debug mode
When authenticating using OIDC some IDPs send additional fields in their
authorization response.
This leads to an error because these fields can't be persisted to the DB
through the auth.js prisma adapter.
This PR solves this by deleting all unrecognized fields from the
authorization response before persisting.
This behaviour is also compliant to
[RFC6749 Section 4.1.2](https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.2)