Components

AgentDesktopView

<AgentDesktopView {...AgentDesktopView.AgentDesktopViewProps} />

Agent Desktop View

Component children

These below are list of children
Key Condition Type Align Description
splitter Visible only if showPanel2 prop is true (i.e. when panel 2 is visible) React component start Splitter container. Renders the left and right panel of the agent desktop view

Members

DynamicContentStore.<AgentDesktopView.AgentDesktopViewChildrenProps>

# static readonly Content

Dynamic content store
AgentDesktopView.AgentDesktopViewProps

# static readonly defaultProps

Default properties
Panel1

# static readonly Panel1

Shortcut for Panel1 component
Panel2

# static readonly Panel2

Shortcut for Panel2 component

Type Definitions

# AgentDesktopViewChildrenProps

Properties of children from AgentDesktopView
Properties:
Name Type Attributes Description
selectedTaskSid string <optional>
SID of the currently selected task
tasks Map.<string, ITask> A map of the worker's tasks
route RouteComponentProps Routing object
ViewCollection.ViewAdditionalProps

# AgentDesktopViewProps

AgentDesktopView properties
Properties:
Name Type Attributes Description
selectedTaskSid string <optional>
SID of the currently selected task
splitterOptions AgentDesktopView.SplitterProps <optional>
Options to customise panels sizes
showPanel2 boolean <optional>
If set to false, this flag hides the second panel of the view
route RouteComponentProps Routing object
children DynamicComponentChildren.<AgentDesktopView.AgentDesktopViewChildrenProps> <optional>
children

# SplitterProps

Splitter configuration
Properties:
Name Type Attributes Description
initialFirstPanelSize string <optional>
initial size for the first panel. e.g 320px
minimumFirstPanelSize string <optional>
minimum allowed size for the first panel. e.g 320px
minimumSecondPanelSize string <optional>
minimum allowed size for the second panel. e.g 320px