File

global-context/core/global-context-widget-config.component.ts

Description

Widget configuration component for time context settings.

Allows widgets to either sync with dashboard-level time settings (dashboard mode) or use independent time controls (widget mode). When in widget mode, displays additional configuration controls for time range, aggregation, and refresh settings.

Implements

OnInit

Metadata

Index

Properties
Methods
Inputs
Outputs
Accessors

Constructor

constructor()

Inputs

configInput
Type : GlobalContextState | null
Required :  true
Default value : { alias: 'config' }
isLoadingInput
Default value : false, { alias: 'isLoading' }
widgetControlsInput
Type : WidgetControls
Required :  true
Default value : { alias: 'widgetControls' }

Outputs

displayModeChange
Type : GlobalContextDisplayMode
globalContextChange
Type : GlobalContextState
refresh
Type : void

Methods

ngOnInit
ngOnInit()
Returns : void
onGlobalContextChange
onGlobalContextChange(newConfig: GlobalContextState)
Parameters :
Name Type Optional
newConfig GlobalContextState No
Returns : void

Properties

Readonly displayModeSig
Type : unknown
Default value : signal<GlobalContextDisplayMode>(GLOBAL_CONTEXT_DISPLAY_MODE.DASHBOARD)
Protected form
Type : FormGroup
Readonly GLOBAL_CONTEXT_DISPLAY_MODE
Type : unknown
Default value : GLOBAL_CONTEXT_DISPLAY_MODE

Accessors

liveSnapshot
getliveSnapshot()
historySnapshot
gethistorySnapshot()

results matching ""

    No results matching ""