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

Description

GlobalContextConfigComponent

Presentation + state coordination for the widget's Global Context controls.

  • Hydrates a component-scoped store from the incoming config input.
  • Renders Live/History configuration controls via ConfigurationControlsComponent.
  • Emits a normalized GlobalContextState when user changes either the tab (refreshOption) or any control value within the current tab.
  • Does not emit during initial hydrate; emissions only happen on user actions.

Example

Metadata

Relationships

<c8y-configuration-controls
  [settings]="settings()"
  [controlsDisplayMode]="'horizontal'"
  [tabsOutletName]="'verticalTabOutletForConfigurationModes'"
  [activeMode]="refreshOption()"
  [liveContext]="liveConfig()"
  [historyContext]="historyConfig()"
  [supportedModes]="supportedModes()"
  (contextChange)="onConfigurationChanges($event)"
  (refreshOptionChange)="onConfigurationChanges({ refreshOption: $event })"
></c8y-configuration-controls>

results matching ""

    No results matching ""