mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
* SM-365: Add scaffolding for settings, import, and export components * SM-365: Build out SM export component and retrieve org name * Add password verification * Add SMExportService * SM-365: Add full export functionality for client side * SM-365: Add SM Import UI, combine import & export services, general cleanup * SM-365: Small updates, fix settings navigation for SM * SM-365: Refactorings based on PR comments, part 1 * SM-365: Refactorings based on PR comments, part 2 * SM-365: remove unneeded import file parsing code * Attempt New SM Export Auth Flow (#4596) * Attempt new sm-export auth flow * Fix component * SM-365: Add error messaging for failed import * SM-365: Fix import error dialog * SM-365: Fix layout of pages, title, and success messaging * SM-365: Address majority of PR comments, clear import form on success * SM-365: Refactor error handling, refactor date formatting * SM-365: Refactored names, logic, added SM porting api service, added needed error checking, etc. * SM-365: Refactor fileContents to pastedContents to be more clear * SM-365: Refactoring based on PR comments * SM-365: Update based on PR comments, refactoring ngOnInit for sm-import * SM-365: Fix wrong type on choose import file button
22 lines
380 B
TypeScript
22 lines
380 B
TypeScript
export type InputTypes =
|
|
| "text"
|
|
| "password"
|
|
| "number"
|
|
| "datetime-local"
|
|
| "email"
|
|
| "checkbox"
|
|
| "search"
|
|
| "file";
|
|
|
|
export abstract class BitFormFieldControl {
|
|
ariaDescribedBy: string;
|
|
id: string;
|
|
labelForId: string;
|
|
required: boolean;
|
|
hasError: boolean;
|
|
error: [string, any];
|
|
type?: InputTypes;
|
|
spellcheck?: boolean;
|
|
focus?: () => void;
|
|
}
|