Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SearchModeComponent

Hierarchy

  • AbstractSearchModeComponent
    • SearchModeComponent

Index

Constructors

Properties

SEARCH_DEBOUNCE_TIME: number

The time that must elapse since last keypress in search input before a search request is sent

_sideMenuService: SideMenuService
approval: boolean
approvalFormControl: FormControl
formControls: FormControl[]
headerService: AbstractHeaderService
indeterminate: boolean
overflowWidth: string
subClearHeader: Subscription
subHeaderColumn: Subscription
typeApproval: string
ɵcmp: unknown
ɵfac: unknown

Methods

  • addNewColumn(): void
  • Adds a new column to the headers search and binds it's FormControl to the service

    Returns void

  • clearInput(column: number): void
  • Clears the value of the form control object in the given column

    Parameters

    • column: number

      the index of the column that should have it's value cleared

    Returns void

  • getMinWidth(): string
  • Returns string

  • ngOnDestroy(): void
  • Returns void

  • ngOnInit(): void
  • Returns void

  • selectAbstractUser(column: number, component: Type<any>): void
  • Opens a user assign side menu component and sets the selected user as value of the form control object that corresponds to the given column.

    If no user is selected the value of the corresponding form control si cleared.

    Parameters

    • column: number

      the index of the columns that should have it's form control value set to the selected user

    • component: Type<any>

      is the component that we want to open

    Returns void

  • selectUser(column: number): void
  • setValue(): void
  • updateHeaderCount(newCount: number): void
  • Updates the underlying objects to match the new desired number of columns.

    If the new number of columns is greater than the current one, the columns will be filled with default/blank values.

    If the new number of columns is smaller than the current one, the superfluous columns will be removed.

    Parameters

    • newCount: number

      the new number of columns

    Returns void

Generated using TypeDoc