Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UserAssignComponent

deprecated

Is the main - parent component of the entire user assignment in the side menu.

Holds logic link of the UserAssignListComponent along with searching, selecting, and then assigning to the user field.

Hierarchy

  • AbstractUserAssignComponent
    • UserAssignComponent

Index

Constructors

Properties

_currentUser: UserValue

Value of the current selected user.

_sideMenuControl: SideMenuControl
injectedData: UserListInjectedData

Data about preselected user send from [UserFieldComponent]{@link AbstractUserFieldComponent}.

searchUserControl: FormControl

Form control for user search value.

ɵcmp: unknown
ɵfac: unknown

Accessors

  • get initiallySelectedUser(): UserValue
  • The user that is initially selected, or undefined if none is

    Returns UserValue

  • get negativeRoles(): string[] | ProcessRole[]
  • Returns string[] | ProcessRole[]

  • get roles(): string[] | ProcessRole[]
  • Returns string[] | ProcessRole[]

Methods

  • assign(): void
  • On assign button close side menu with selected user as data and message about confirm.

    Returns void

  • userWasSelected(user: UserValue): void
  • On select user from users assign list publish side menu with selected user as data and message about selection.

    Parameters

    • user: UserValue

      Select current user as [UserValue]{@link UserValue}

    Returns void

Generated using TypeDoc