diff --git a/src/app/app.module.ts b/src/app/app.module.ts index ad1b8261c1..42b252d0bd 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -39,6 +39,7 @@ import { DeauthorizeSessionsComponent } from './settings/deauthorize-sessions.co import { DeleteAccountComponent } from './settings/delete-account.component'; import { DomainRulesComponent } from './settings/domain-rules.component'; import { OptionsComponent } from './settings/options.component'; +import { PremiumComponent } from './settings/premium.component'; import { ProfileComponent } from './settings/profile.component'; import { PurgeVaultComponent } from './settings/purge-vault.component'; import { SettingsComponent } from './settings/settings.component'; @@ -143,6 +144,7 @@ import { SearchCiphersPipe } from 'jslib/angular/pipes/search-ciphers.pipe'; OrganizationLayoutComponent, PasswordGeneratorComponent, PasswordGeneratorHistoryComponent, + PremiumComponent, ProfileComponent, PurgeVaultComponent, RegisterComponent, diff --git a/src/app/settings/premium.component.html b/src/app/settings/premium.component.html new file mode 100644 index 0000000000..2492042ce2 --- /dev/null +++ b/src/app/settings/premium.component.html @@ -0,0 +1,333 @@ +
diff --git a/src/app/settings/premium.component.ts b/src/app/settings/premium.component.ts new file mode 100644 index 0000000000..b41bafbe2a --- /dev/null +++ b/src/app/settings/premium.component.ts @@ -0,0 +1,150 @@ +import { + Component, + OnInit, +} from '@angular/core'; + +import { I18nService } from 'jslib/abstractions/i18n.service'; + +@Component({ + selector: 'app-premium', + templateUrl: 'premium.component.html', +}) +export class PremiumComponent implements OnInit { + premiumPrice = 10; + storageGbPrice = 4; + additionalStorage = 0; + method = 'card'; + card: any = { + number: null, + exp_month: null, + exp_year: null, + address_country: '', + address_zip: null, + }; + formPromise: Promise