Components

TeamsView

<TeamsView {...TeamsView.TeamsViewProps} />

This renders teams page.

Members

DynamicContentStore.<TeamsView.TeamsViewProps>

# static readonly Content

Dynamic content store
Partial.<TeamsView.TeamsViewProps>

# static readonly defaultProps

Default properties
"IN" | "NOT_IN" | "CONTAINS"

# static exports.FilterConditions

Filter condition
Properties:
Name Type Description
IN "IN"
NOT_IN "NOT_IN"
CONTAINS "CONTAINS"
"teams-view-search" | "teams-view-filter"

# static exports.FiltersType

The type of filters on teams view
Properties:
Name Type Description
search "teams-view-search"
filter "teams-view-filter"

Type Definitions

# ActiveFilter

Active filter
Properties:
Name Type Description
name string name of the field to filter against
condition TeamsView.FilterConditions condition to use for the filter
values Array.<string> | string value or an array of values to filter

# FilterDefinitionFactory()

Object

# FiltersState

Filters state
Properties:
Name Type Attributes Description
key ActiveFilters <optional>
active filters by key
TeamsView.TeamsViewProps

# TeamsViewChildrenProps

Properties:
Name Type Attributes Description
monitoredTaskSid string <optional>
Represents current monitoring task
workers Array.<SupervisorState.SupervisorWorkerState> <optional>
Represents list of workers.
stickyWorker SupervisorState.SupervisorWorkerState <optional>
Represents selected worker.
ViewCollection.ViewAdditionalProps

# TeamsViewProps

Properties of Teams view.
Properties:
Name Type Attributes Description
selectedWorker IWorker <optional>
Represents the selected worker.
route RouteComponentProps.<TeamsView.TeamsViewRouteParams> <optional>
Represents route params.
appliedFilters ActiveFilters <optional>
Represents applied filters.
filters Array.<(FiltersList.FilterDefinition|TeamsView.FilterDefinitionFactory)> <optional>
list of filter or filterFactories function

# TeamsViewRouteParams

Properties of routes in teams view.
Properties:
Name Type Attributes Description
resources "tasks" | "workers" <optional>
Represents if task or worker is part of route resource.
sid string <optional>
Represents the indentification of the task or worker