global-context/core/global-context-config.component.ts
GlobalContextConfigComponent
Presentation + state coordination for the widget's Global Context controls.
config input.ConfigurationControlsComponent.GlobalContextState when user changes either the tab
(refreshOption) or any control value within the current tab.
| changeDetection | ChangeDetectionStrategy.OnPush |
| providers |
GlobalContextConfigStoreService
|
| selector | c8y-global-context-config |
| standalone | true |
| imports |
TooltipModule
PopoverModule
CollapseModule
|
| templateUrl | ./global-context-config.component.html |
ReactiveFormsModule
TooltipModule
PopoverModule
CollapseModule
ConfigurationControlsComponent
GlobalContextConfigStoreService
<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>