diff --git a/apps/web/src/app/modules/loose-components.module.ts b/apps/web/src/app/modules/loose-components.module.ts index 37a87cee36..a84ac4fb9a 100644 --- a/apps/web/src/app/modules/loose-components.module.ts +++ b/apps/web/src/app/modules/loose-components.module.ts @@ -156,6 +156,7 @@ import { CollectionsComponent } from "../vault/collections.component"; import { FolderAddEditComponent } from "../vault/folder-add-edit.component"; import { ShareComponent } from "../vault/share.component"; +import { OrganizationCreateModule } from "./organizations/create/organization-create.module"; import { PipesModule } from "./pipes/pipes.module"; import { RegisterFormModule } from "./register-form/register-form.module"; import { SharedModule } from "./shared.module"; @@ -170,6 +171,7 @@ import { OrganizationBadgeModule } from "./vault/modules/organization-badge/orga VaultFilterModule, OrganizationBadgeModule, PipesModule, + OrganizationCreateModule, RegisterFormModule, ], declarations: [ diff --git a/apps/web/src/app/modules/organizations/create/organization-create.module.ts b/apps/web/src/app/modules/organizations/create/organization-create.module.ts new file mode 100644 index 0000000000..2ee84fdd68 --- /dev/null +++ b/apps/web/src/app/modules/organizations/create/organization-create.module.ts @@ -0,0 +1,12 @@ +import { NgModule } from "@angular/core"; + +import { SharedModule } from "../../shared.module"; + +import { OrganizationInformationComponent } from "./organization-information.component"; + +@NgModule({ + imports: [SharedModule], + declarations: [OrganizationInformationComponent], + exports: [OrganizationInformationComponent], +}) +export class OrganizationCreateModule {} diff --git a/apps/web/src/app/modules/organizations/create/organization-information.component.html b/apps/web/src/app/modules/organizations/create/organization-information.component.html new file mode 100644 index 0000000000..7550bfbf4c --- /dev/null +++ b/apps/web/src/app/modules/organizations/create/organization-information.component.html @@ -0,0 +1,32 @@ +
+ diff --git a/apps/web/src/app/modules/organizations/create/organization-information.component.ts b/apps/web/src/app/modules/organizations/create/organization-information.component.ts new file mode 100644 index 0000000000..5d35f6df8a --- /dev/null +++ b/apps/web/src/app/modules/organizations/create/organization-information.component.ts @@ -0,0 +1,12 @@ +import { Component, EventEmitter, Input, Output } from "@angular/core"; +import { FormGroup } from "@angular/forms"; + +@Component({ + selector: "app-org-info", + templateUrl: "organization-information.component.html", +}) +export class OrganizationInformationComponent { + @Input() nameOnly = false; + @Input() formGroup: FormGroup; + @Output() changedBusinessOwned = new EventEmitter