diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 92dccc99b9..92e7930fb0 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -57,6 +57,7 @@ import { UserGroupsComponent as OrgUserGroupsComponent } from './organizations/m import { AccountComponent as OrgAccountComponent } from './organizations/settings/account.component'; import { AdjustSeatsComponent } from './organizations/settings/adjust-seats.component'; import { ApiKeyComponent as OrgApiKeyComponent } from './organizations/settings/api-key.component'; +import { ChangePlanComponent } from './organizations/settings/change-plan.component'; import { DeleteOrganizationComponent } from './organizations/settings/delete-organization.component'; import { DownloadLicenseComponent } from './organizations/settings/download-license.component'; import { OrganizationBillingComponent } from './organizations/settings/organization-billing.component'; @@ -250,6 +251,7 @@ registerLocaleData(localeZhTw, 'zh-TW'); ChangeEmailComponent, ChangeKdfComponent, ChangePasswordComponent, + ChangePlanComponent, CiphersComponent, CollectionsComponent, ColorPasswordPipe, diff --git a/src/app/organizations/settings/change-plan.component.html b/src/app/organizations/settings/change-plan.component.html new file mode 100644 index 0000000000..8aef7f8186 --- /dev/null +++ b/src/app/organizations/settings/change-plan.component.html @@ -0,0 +1,14 @@ +
diff --git a/src/app/organizations/settings/change-plan.component.ts b/src/app/organizations/settings/change-plan.component.ts new file mode 100644 index 0000000000..46fc2ec4d3 --- /dev/null +++ b/src/app/organizations/settings/change-plan.component.ts @@ -0,0 +1,34 @@ +import { + Component, + EventEmitter, + Input, + Output, +} from '@angular/core'; + +import { ApiService } from 'jslib/abstractions/api.service'; +import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service'; + +@Component({ + selector: 'app-change-plan', + templateUrl: 'change-plan.component.html', +}) +export class ChangePlanComponent { + @Input() organizationId: string; + @Output() onChanged = new EventEmitter(); + @Output() onCanceled = new EventEmitter(); + + formPromise: Promise