mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
[PM-8228] - Create new Premium Component (#10514)
* add new premium component * finish new premium component * revert change to config service * hide copy changes behind feature flag * revert keys back to original * remove stateService and translation key * add missing translation key * add missing key
This commit is contained in:
@@ -1174,6 +1174,9 @@
|
||||
"premiumPurchaseAlert": {
|
||||
"message": "You can purchase premium membership on the bitwarden.com web vault. Do you want to visit the website now?"
|
||||
},
|
||||
"premiumPurchaseAlertV2": {
|
||||
"message": "You can purchase Premium from your account settings on the Bitwarden web app."
|
||||
},
|
||||
"premiumCurrentMember": {
|
||||
"message": "You are a premium member!"
|
||||
},
|
||||
|
||||
@@ -3,6 +3,7 @@ import { Component } from "@angular/core";
|
||||
import { PremiumComponent as BasePremiumComponent } from "@bitwarden/angular/vault/components/premium.component";
|
||||
import { ApiService } from "@bitwarden/common/abstractions/api.service";
|
||||
import { BillingAccountProfileStateService } from "@bitwarden/common/billing/abstractions/account/billing-account-profile-state.service";
|
||||
import { ConfigService } from "@bitwarden/common/platform/abstractions/config/config.service";
|
||||
import { EnvironmentService } from "@bitwarden/common/platform/abstractions/environment.service";
|
||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
||||
@@ -19,6 +20,7 @@ export class PremiumComponent extends BasePremiumComponent {
|
||||
i18nService: I18nService,
|
||||
platformUtilsService: PlatformUtilsService,
|
||||
apiService: ApiService,
|
||||
configService: ConfigService,
|
||||
logService: LogService,
|
||||
stateService: StateService,
|
||||
dialogService: DialogService,
|
||||
@@ -29,6 +31,7 @@ export class PremiumComponent extends BasePremiumComponent {
|
||||
i18nService,
|
||||
platformUtilsService,
|
||||
apiService,
|
||||
configService,
|
||||
logService,
|
||||
stateService,
|
||||
dialogService,
|
||||
|
||||
Reference in New Issue
Block a user