@c8y/ngx-components 1023.88.4 → 1023.90.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/context-dashboard/index.d.ts +4 -4
  2. package/context-dashboard/index.d.ts.map +1 -1
  3. package/fesm2022/c8y-ngx-components-context-dashboard.mjs +21 -7
  4. package/fesm2022/c8y-ngx-components-context-dashboard.mjs.map +1 -1
  5. package/fesm2022/c8y-ngx-components-global-context.mjs +494 -359
  6. package/fesm2022/c8y-ngx-components-global-context.mjs.map +1 -1
  7. package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-alarm-list.mjs +1 -2
  8. package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-alarm-list.mjs.map +1 -1
  9. package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-all-critical-alarms.mjs +1 -2
  10. package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-all-critical-alarms.mjs.map +1 -1
  11. package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-recent-alarms.mjs +1 -2
  12. package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-recent-alarms.mjs.map +1 -1
  13. package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-graph.mjs +1 -2
  14. package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-graph.mjs.map +1 -1
  15. package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-list.mjs +0 -1
  16. package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-list.mjs.map +1 -1
  17. package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-table.mjs +0 -1
  18. package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-table.mjs.map +1 -1
  19. package/fesm2022/c8y-ngx-components-widgets-definitions-event-list.mjs +2 -89
  20. package/fesm2022/c8y-ngx-components-widgets-definitions-event-list.mjs.map +1 -1
  21. package/fesm2022/c8y-ngx-components-widgets-definitions-kpi.mjs +0 -1
  22. package/fesm2022/c8y-ngx-components-widgets-definitions-kpi.mjs.map +1 -1
  23. package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.mjs +6 -9
  24. package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.mjs.map +1 -1
  25. package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +2 -2
  26. package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -1
  27. package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-list.mjs +2 -2
  28. package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-list.mjs.map +1 -1
  29. package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-table.mjs +2 -2
  30. package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-table.mjs.map +1 -1
  31. package/fesm2022/c8y-ngx-components-widgets-implementations-events.mjs +4 -4
  32. package/fesm2022/c8y-ngx-components-widgets-implementations-events.mjs.map +1 -1
  33. package/fesm2022/c8y-ngx-components-widgets-implementations-html-widget.mjs +2 -2
  34. package/fesm2022/c8y-ngx-components-widgets-implementations-html-widget.mjs.map +1 -1
  35. package/fesm2022/c8y-ngx-components-widgets-implementations-kpi.mjs +2 -2
  36. package/fesm2022/c8y-ngx-components-widgets-implementations-kpi.mjs.map +1 -1
  37. package/fesm2022/c8y-ngx-components.mjs +36 -16
  38. package/fesm2022/c8y-ngx-components.mjs.map +1 -1
  39. package/global-context/index.d.ts +59 -31
  40. package/global-context/index.d.ts.map +1 -1
  41. package/index.d.ts +26 -6
  42. package/index.d.ts.map +1 -1
  43. package/locales/de.po +12 -9
  44. package/locales/es.po +12 -9
  45. package/locales/fr.po +12 -9
  46. package/locales/ja_JP.po +12 -9
  47. package/locales/ko.po +12 -9
  48. package/locales/locales.pot +12 -9
  49. package/locales/nl.po +12 -9
  50. package/locales/pl.po +12 -9
  51. package/locales/pt_BR.po +12 -9
  52. package/locales/zh_CN.po +12 -9
  53. package/locales/zh_TW.po +12 -9
  54. package/package.json +1 -1
  55. package/widgets/definitions/alarms/alarm-list/index.d.ts +0 -1
  56. package/widgets/definitions/alarms/alarm-list/index.d.ts.map +1 -1
  57. package/widgets/definitions/alarms/all-critical-alarms/index.d.ts +0 -1
  58. package/widgets/definitions/alarms/all-critical-alarms/index.d.ts.map +1 -1
  59. package/widgets/definitions/alarms/recent-alarms/index.d.ts +0 -1
  60. package/widgets/definitions/alarms/recent-alarms/index.d.ts.map +1 -1
  61. package/widgets/definitions/datapoints-list/index.d.ts +0 -1
  62. package/widgets/definitions/datapoints-list/index.d.ts.map +1 -1
  63. package/widgets/definitions/datapoints-table/index.d.ts +0 -1
  64. package/widgets/definitions/datapoints-table/index.d.ts.map +1 -1
  65. package/widgets/definitions/kpi/index.d.ts +0 -1
  66. package/widgets/definitions/kpi/index.d.ts.map +1 -1
  67. package/widgets/implementations/alarms/index.d.ts +5 -8
  68. package/widgets/implementations/alarms/index.d.ts.map +1 -1
  69. package/widgets/implementations/html-widget/index.d.ts +4 -6
  70. package/widgets/implementations/html-widget/index.d.ts.map +1 -1
@@ -85,6 +85,8 @@ type AlarmFilterInterval = Interval | {
85
85
  };
86
86
  declare const INTERVALS: Interval[];
87
87
  declare const INTERVAL_TITLES: Record<AlarmFilterInterval['id'], string>;
88
+ /** Opt-in interval entry covering epoch → now; gated per preset by `supportsLifetime`. */
89
+ declare const LIFETIME_INTERVAL: Interval;
88
90
 
89
91
  interface DateTimeContext {
90
92
  dateFrom: Date | string;
@@ -105,8 +107,11 @@ declare const GLOBAL_CONTEXT_EVENTS: {
105
107
  readonly INIT_GLOBAL_CONTEXT: "INIT_GLOBAL_CONTEXT";
106
108
  };
107
109
  declare enum GLOBAL_CONTEXT_DISPLAY_MODE {
110
+ /** Widget is bound to the dashboard-level global context. */
108
111
  DASHBOARD = "dashboard",
112
+ /** Widget owns its context but hides inline time range and aggregation controls. */
109
113
  CONFIG = "config",
114
+ /** Widget owns its context and renders all controls inline (default). */
110
115
  VIEW_AND_CONFIG = "view_and_config"
111
116
  }
112
117
  type GlobalContextKeys = (keyof GlobalContextState)[];
@@ -372,7 +377,8 @@ interface AggregationState {
372
377
  */
373
378
  interface ContextConfig {
374
379
  context: 'dashboard' | 'widget';
375
- showInWidget: boolean;
380
+ /** When true, widget mode hides inline time range and aggregation controls. */
381
+ hideInWidget?: boolean;
376
382
  }
377
383
 
378
384
  /**
@@ -1037,14 +1043,12 @@ interface LegacyWidgetConfig {
1037
1043
  isRealtime?: boolean;
1038
1044
  /** Alternative realtime flag used by some widgets */
1039
1045
  realtime?: boolean;
1040
- /**
1041
- * Nested configuration objects where widgets might store their settings.
1042
- * The migration service checks these nested levels to ensure all configuration is captured.
1043
- */
1044
- /** Map widget specific configuration */
1045
- mapConfig?: Record<string, unknown>;
1046
- /** Generic nested configuration */
1047
- config?: Record<string, unknown>;
1046
+ /** Legacy aggregation value; `'NONE'` is normalised to `null` during migration. */
1047
+ aggregation?: aggregationType | 'NONE';
1048
+ /** Map widget's nested settings. During migration, global-context fields here win over `config` and root. */
1049
+ mapConfig?: LegacyWidgetConfig;
1050
+ /** Nested settings used by some legacy widgets. During migration, global-context fields here win over root. */
1051
+ config?: LegacyWidgetConfig;
1048
1052
  }
1049
1053
  /** Options for `WidgetConfigMigrationService.migrateWidgetConfig`. */
1050
1054
  interface MigrateWidgetConfigOptions {
@@ -1057,6 +1061,7 @@ interface MigrateWidgetConfigOptions {
1057
1061
  }
1058
1062
  declare class WidgetConfigMigrationService {
1059
1063
  private dateTimeContextPickerService;
1064
+ private static readonly LIFETIME_DATE_FROM;
1060
1065
  constructor(dateTimeContextPickerService: DateTimeContextPickerService);
1061
1066
  /**
1062
1067
  * Transforms legacy widget configurations into the standardized GlobalContextState format.
@@ -1151,6 +1156,7 @@ declare class WidgetConfigMigrationService {
1151
1156
  *
1152
1157
  */
1153
1158
  private hasNoGlobalContextProperties;
1159
+ private upgradeLegacyEpochToNone;
1154
1160
  /**
1155
1161
  * Applies refresh settings as a cohesive unit to ensure consistency.
1156
1162
  *
@@ -1187,7 +1193,6 @@ declare class WidgetConfigMigrationService {
1187
1193
  *
1188
1194
  * @param settings - Merged settings from all config levels
1189
1195
  * @returns The appropriate display mode for the widget
1190
- *
1191
1196
  */
1192
1197
  private resolveDisplayMode;
1193
1198
  /**
@@ -1198,7 +1203,7 @@ declare class WidgetConfigMigrationService {
1198
1203
  * ISO date strings and proper interval classification.
1199
1204
  *
1200
1205
  * Resolution priority:
1201
- * 1. interval='none' → Always epoch (1970) to now with CUSTOM interval
1206
+ * 1. interval='none' → epoch (1970) to now, preserving the NONE interval (Lifetime).
1202
1207
  * 2. Predefined intervals (hours, days, etc.) → Calculate fresh dates based on interval
1203
1208
  * 3. Legacy date fields → Use provided dates with calculated/custom interval
1204
1209
  * 4. Widget needs time context → Apply default (last hour)
@@ -1285,7 +1290,7 @@ declare class WidgetConfigMigrationService {
1285
1290
  * - ≤1 month → MONTHS
1286
1291
  * - >1 month → CUSTOM
1287
1292
  *
1288
- * Special case: interval='none' → CUSTOM
1293
+ * Special case: interval='none' → NONE (Lifetime)
1289
1294
  *
1290
1295
  * @param dateFrom - Start date as ISO string
1291
1296
  * @param dateTo - End date as ISO string
@@ -2809,6 +2814,8 @@ declare class DateTimeContextPickerComponent implements OnInit, ControlValueAcce
2809
2814
  disabled: boolean;
2810
2815
  shouldDisableInterval: Record<string, boolean>;
2811
2816
  config: DateTimeContextPickerConfig;
2817
+ /** Override the intervals offered in the picker dropdown. */
2818
+ intervalOptions: Interval[];
2812
2819
  dropdown?: BsDropdownDirective;
2813
2820
  private readonly service;
2814
2821
  private readonly formBuilder;
@@ -2864,7 +2871,7 @@ declare class DateTimeContextPickerComponent implements OnInit, ControlValueAcce
2864
2871
  private normalizeTimestamp;
2865
2872
  private closeDropdown;
2866
2873
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateTimeContextPickerComponent, never>;
2867
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateTimeContextPickerComponent, "c8y-date-time-context-picker", never, { "disabled": { "alias": "disabled"; "required": false; }; "shouldDisableInterval": { "alias": "shouldDisableInterval"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
2874
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateTimeContextPickerComponent, "c8y-date-time-context-picker", never, { "disabled": { "alias": "disabled"; "required": false; }; "shouldDisableInterval": { "alias": "shouldDisableInterval"; "required": false; }; "config": { "alias": "config"; "required": false; }; "intervalOptions": { "alias": "intervalOptions"; "required": false; }; }, {}, never, never, true, never>;
2868
2875
  }
2869
2876
 
2870
2877
  declare class TimeRangeDisplayComponent {
@@ -3031,7 +3038,6 @@ declare class ConfigContextSelectorComponent implements ControlValueAccessor, On
3031
3038
  private readonly fb;
3032
3039
  private readonly destroyRef;
3033
3040
  protected form: ReturnType<typeof this.initForm>;
3034
- protected get isWidgetContext(): boolean;
3035
3041
  ngOnInit(): void;
3036
3042
  writeValue(value: GlobalContextDisplayMode): void;
3037
3043
  registerOnChange(fn: (value: GlobalContextDisplayMode) => void): void;
@@ -3067,6 +3073,8 @@ declare class ConfigurationControlsComponent {
3067
3073
  readonly liveContext: _angular_core.InputSignal<GlobalContextState>;
3068
3074
  readonly historyContext: _angular_core.InputSignal<GlobalContextState>;
3069
3075
  readonly supportedModes: _angular_core.InputSignal<RefreshOption[]>;
3076
+ /** Override the intervals offered in the picker dropdown. */
3077
+ readonly intervalOptions: _angular_core.InputSignal<Interval[]>;
3070
3078
  readonly tabsOutletName: _angular_core.InputSignal<string>;
3071
3079
  private readonly liveTabSelect;
3072
3080
  private readonly historyTabSelect;
@@ -3085,7 +3093,7 @@ declare class ConfigurationControlsComponent {
3085
3093
  handleHistoryChanges(changes: Partial<GlobalContextState>): void;
3086
3094
  handleValidationStatus(isValid: boolean): void;
3087
3095
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ConfigurationControlsComponent, never>;
3088
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ConfigurationControlsComponent, "c8y-configuration-controls", never, { "controlsDisplayMode": { "alias": "controlsDisplayMode"; "required": false; "isSignal": true; }; "settings": { "alias": "settings"; "required": false; "isSignal": true; }; "activeMode": { "alias": "activeMode"; "required": false; "isSignal": true; }; "liveContext": { "alias": "liveContext"; "required": false; "isSignal": true; }; "historyContext": { "alias": "historyContext"; "required": false; "isSignal": true; }; "supportedModes": { "alias": "supportedModes"; "required": false; "isSignal": true; }; "tabsOutletName": { "alias": "tabsOutletName"; "required": false; "isSignal": true; }; }, { "refreshOptionChange": "refreshOptionChange"; "contextChange": "contextChange"; "validationStatus": "validationStatus"; }, never, never, true, never>;
3096
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ConfigurationControlsComponent, "c8y-configuration-controls", never, { "controlsDisplayMode": { "alias": "controlsDisplayMode"; "required": false; "isSignal": true; }; "settings": { "alias": "settings"; "required": false; "isSignal": true; }; "activeMode": { "alias": "activeMode"; "required": false; "isSignal": true; }; "liveContext": { "alias": "liveContext"; "required": false; "isSignal": true; }; "historyContext": { "alias": "historyContext"; "required": false; "isSignal": true; }; "supportedModes": { "alias": "supportedModes"; "required": false; "isSignal": true; }; "intervalOptions": { "alias": "intervalOptions"; "required": false; "isSignal": true; }; "tabsOutletName": { "alias": "tabsOutletName"; "required": false; "isSignal": true; }; }, { "refreshOptionChange": "refreshOptionChange"; "contextChange": "contextChange"; "validationStatus": "validationStatus"; }, never, never, true, never>;
3089
3097
  }
3090
3098
 
3091
3099
  /**
@@ -3102,6 +3110,8 @@ declare class LiveModeConfigurationControlsComponent {
3102
3110
  private readonly currentContext;
3103
3111
  set settings(value: Partial<GlobalContextSettings> | null);
3104
3112
  get settings(): Partial<GlobalContextSettings>;
3113
+ /** Override the intervals offered in the picker dropdown. */
3114
+ intervalOptions: Interval[];
3105
3115
  set context(value: GlobalContextState | null);
3106
3116
  readonly contextChange: _angular_core.OutputEmitterRef<Partial<GlobalContextState>>;
3107
3117
  form: ReturnType<typeof this.createForm>;
@@ -3109,7 +3119,7 @@ declare class LiveModeConfigurationControlsComponent {
3109
3119
  private createForm;
3110
3120
  private patchFormFromContext;
3111
3121
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LiveModeConfigurationControlsComponent, never>;
3112
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<LiveModeConfigurationControlsComponent, "c8y-live-mode-configuration-controls", never, { "settings": { "alias": "settings"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, { "contextChange": "contextChange"; }, never, never, true, never>;
3122
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<LiveModeConfigurationControlsComponent, "c8y-live-mode-configuration-controls", never, { "settings": { "alias": "settings"; "required": false; }; "intervalOptions": { "alias": "intervalOptions"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, { "contextChange": "contextChange"; }, never, never, true, never>;
3113
3123
  }
3114
3124
 
3115
3125
  /**
@@ -3724,28 +3734,28 @@ type ContextFeature = (typeof CONTEXT_FEATURE)[keyof typeof CONTEXT_FEATURE];
3724
3734
  /** Preset name constants for type-safe access */
3725
3735
  declare const PRESET_NAME: {
3726
3736
  readonly DEFAULT: "default";
3727
- readonly ALARM_LIST: "alarmList";
3728
- readonly CHART: "chart";
3737
+ readonly LIFETIME_LIST: "lifetimeList";
3729
3738
  readonly DATA_TABLE: "dataTable";
3730
3739
  readonly DATA_TABLE_CONFIG: "dataTableConfig";
3731
3740
  readonly LIVE_ONLY: "liveOnly";
3732
3741
  readonly AUTO_REFRESH_ONLY: "autoRefreshOnly";
3733
3742
  readonly AUTO_REFRESH_ONLY_CONFIG: "autoRefreshOnlyConfig";
3734
3743
  readonly HISTORY_ONLY: "historyOnly";
3735
- readonly ALARM_LIST_CONFIG: "alarmListConfig";
3736
- readonly ALARM_LIST_LEGACY: "alarmListLegacy";
3744
+ readonly LIFETIME_LIST_CONFIG: "lifetimeListConfig";
3745
+ readonly DATAPOINTS_GRAPH: "datapointsGraph";
3746
+ readonly DATAPOINTS_GRAPH_CONFIG: "datapointsGraphConfig";
3737
3747
  readonly KPI: "kpi";
3738
3748
  readonly KPI_CONFIG: "kpiConfig";
3739
3749
  readonly DATA_POINTS_LIST: "dataPointsList";
3740
3750
  readonly DATA_POINTS_LIST_CONFIG: "dataPointsListConfig";
3741
- readonly DATAPOINTS_GRAPH: "datapointsGraph";
3742
- readonly DATAPOINTS_GRAPH_CONFIG: "datapointsGraphConfig";
3743
3751
  };
3744
3752
  type PresetName = (typeof PRESET_NAME)[keyof typeof PRESET_NAME];
3745
3753
  type PresetDefinition = {
3746
3754
  [GLOBAL_CONTEXT_DISPLAY_MODE.DASHBOARD]: ContextFeature[];
3747
3755
  [GLOBAL_CONTEXT_DISPLAY_MODE.CONFIG]: ContextFeature[];
3748
3756
  [GLOBAL_CONTEXT_DISPLAY_MODE.VIEW_AND_CONFIG]: ContextFeature[];
3757
+ /** Adds a "Lifetime" (epoch → now) entry to the interval picker. Opt-in per preset. */
3758
+ supportsLifetime?: boolean;
3749
3759
  };
3750
3760
  /** Control presets for different widget types (mode constraints applied by applyModeConstraints) */
3751
3761
  declare const CONTROL_PRESETS: Record<PresetName, PresetDefinition>;
@@ -3792,6 +3802,7 @@ declare class ConfigModeControls implements OnInit {
3792
3802
  private lastEmittedContext;
3793
3803
  settings: _angular_core.Signal<Partial<GlobalContextSettings>>;
3794
3804
  supportedModes: _angular_core.Signal<RefreshOption[]>;
3805
+ intervalOptions: _angular_core.Signal<_c8y_ngx_components_global_context.Interval[]>;
3795
3806
  constructor();
3796
3807
  ngOnInit(): void;
3797
3808
  onRefreshOptionChange(option: RefreshOption): void;
@@ -3807,6 +3818,7 @@ declare class ConfigModeControls implements OnInit {
3807
3818
  }
3808
3819
 
3809
3820
  declare class GlobalContextConnectorComponent {
3821
+ private injectedDashboardChild;
3810
3822
  private eventService;
3811
3823
  private globalContextService;
3812
3824
  private globalContextUtils;
@@ -3815,7 +3827,8 @@ declare class GlobalContextConnectorComponent {
3815
3827
  controls: _angular_core.InputSignal<PresetName | PresetDefinition>;
3816
3828
  config: _angular_core.InputSignal<GlobalContextState>;
3817
3829
  isLoading: _angular_core.InputSignal<boolean>;
3818
- dashboardChild: _angular_core.InputSignal<DashboardChildComponent>;
3830
+ dashboardChildInput: _angular_core.InputSignal<DashboardChildComponent>;
3831
+ dashboardChild: _angular_core.Signal<DashboardChildComponent>;
3819
3832
  linked: _angular_core.InputSignal<boolean>;
3820
3833
  /** When false, refresh events are not emitted as configChange - only user-initiated state changes */
3821
3834
  emitRefresh: _angular_core.InputSignal<boolean>;
@@ -3842,7 +3855,7 @@ declare class GlobalContextConnectorComponent {
3842
3855
  private registerWithGlobalContext;
3843
3856
  private trackLoadingState;
3844
3857
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GlobalContextConnectorComponent, never>;
3845
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<GlobalContextConnectorComponent, "c8y-global-context-connector", never, { "controls": { "alias": "controls"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "dashboardChild": { "alias": "dashboardChild"; "required": true; "isSignal": true; }; "linked": { "alias": "linked"; "required": false; "isSignal": true; }; "emitRefresh": { "alias": "emitRefresh"; "required": false; "isSignal": true; }; }, { "configChange": "configChange"; "refresh": "refresh"; "linkedChange": "linkedChange"; }, never, never, true, never>;
3858
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GlobalContextConnectorComponent, "c8y-global-context-connector", never, { "controls": { "alias": "controls"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "dashboardChildInput": { "alias": "dashboardChild"; "required": false; "isSignal": true; }; "linked": { "alias": "linked"; "required": false; "isSignal": true; }; "emitRefresh": { "alias": "emitRefresh"; "required": false; "isSignal": true; }; }, { "configChange": "configChange"; "refresh": "refresh"; "linkedChange": "linkedChange"; }, never, never, true, never>;
3846
3859
  }
3847
3860
 
3848
3861
  interface ControlDisplay {
@@ -3852,38 +3865,53 @@ interface ControlDisplay {
3852
3865
  icon: string;
3853
3866
  label: string;
3854
3867
  }
3855
- declare class LinkButtonsComponent implements AfterViewInit, OnDestroy {
3868
+ declare class LinkButtonsComponent {
3856
3869
  private injectedDashboardChild;
3857
3870
  private translateService;
3858
- private headerTemplateRef?;
3871
+ private headerTemplate;
3872
+ private headerTemplateRef;
3859
3873
  dashboardChild: _angular_core.InputSignal<DashboardChildComponent>;
3860
3874
  isLinked: _angular_core.InputSignal<boolean>;
3861
3875
  controls: _angular_core.InputSignal<PresetName | PresetDefinition>;
3862
3876
  config: _angular_core.InputSignal<GlobalContextState>;
3877
+ displayMode: _angular_core.InputSignal<"dashboard" | "config" | "view_and_config">;
3878
+ isLoading: _angular_core.InputSignal<boolean>;
3879
+ emitRefresh: _angular_core.InputSignal<boolean>;
3863
3880
  toggle: _angular_core.OutputEmitterRef<boolean>;
3881
+ configChange: _angular_core.OutputEmitterRef<{
3882
+ context: GlobalContextState;
3883
+ diff: GlobalContextState;
3884
+ }>;
3885
+ refresh: _angular_core.OutputEmitterRef<void>;
3864
3886
  visibleControls: _angular_core.Signal<ControlDisplay[]>;
3865
3887
  masterTooltipText: _angular_core.Signal<string>;
3866
- ngAfterViewInit(): void;
3867
- ngOnDestroy(): void;
3888
+ constructor();
3868
3889
  private getDashboardChild;
3869
3890
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LinkButtonsComponent, never>;
3870
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<LinkButtonsComponent, "c8y-link-buttons", never, { "dashboardChild": { "alias": "dashboardChild"; "required": false; "isSignal": true; }; "isLinked": { "alias": "isLinked"; "required": true; "isSignal": true; }; "controls": { "alias": "controls"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "toggle": "toggle"; }, never, never, true, never>;
3891
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<LinkButtonsComponent, "c8y-link-buttons", never, { "dashboardChild": { "alias": "dashboardChild"; "required": false; "isSignal": true; }; "isLinked": { "alias": "isLinked"; "required": true; "isSignal": true; }; "controls": { "alias": "controls"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "displayMode": { "alias": "displayMode"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "emitRefresh": { "alias": "emitRefresh"; "required": false; "isSignal": true; }; }, { "toggle": "toggle"; "configChange": "configChange"; "refresh": "refresh"; }, never, never, true, never>;
3871
3892
  }
3872
3893
 
3873
3894
  declare class LocalControlsComponent {
3895
+ private injectedDashboardChild;
3896
+ private headerTemplate;
3897
+ private headerTemplateRef;
3874
3898
  controls: _angular_core.InputSignal<PresetName | PresetDefinition>;
3875
3899
  displayMode: _angular_core.InputSignal<"dashboard" | "config" | "view_and_config">;
3876
3900
  config: _angular_core.InputSignal<GlobalContextState>;
3877
3901
  isLoading: _angular_core.InputSignal<boolean>;
3878
3902
  disabled: _angular_core.InputSignal<boolean>;
3879
3903
  emitRefresh: _angular_core.InputSignal<boolean>;
3904
+ /** Explicit override; falls back to DI-injected DashboardChildComponent. */
3905
+ dashboardChildInput: _angular_core.InputSignal<DashboardChildComponent>;
3906
+ resolvedDashboardChild: _angular_core.Signal<DashboardChildComponent>;
3880
3907
  configChange: _angular_core.OutputEmitterRef<{
3881
3908
  context: GlobalContextState;
3882
3909
  diff: GlobalContextState;
3883
3910
  }>;
3884
3911
  refresh: _angular_core.OutputEmitterRef<void>;
3912
+ constructor();
3885
3913
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LocalControlsComponent, never>;
3886
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<LocalControlsComponent, "c8y-local-controls", never, { "controls": { "alias": "controls"; "required": false; "isSignal": true; }; "displayMode": { "alias": "displayMode"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "emitRefresh": { "alias": "emitRefresh"; "required": false; "isSignal": true; }; }, { "configChange": "configChange"; "refresh": "refresh"; }, never, never, true, never>;
3914
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<LocalControlsComponent, "c8y-local-controls", never, { "controls": { "alias": "controls"; "required": false; "isSignal": true; }; "displayMode": { "alias": "displayMode"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "emitRefresh": { "alias": "emitRefresh"; "required": false; "isSignal": true; }; "dashboardChildInput": { "alias": "dashboardChild"; "required": false; "isSignal": true; }; }, { "configChange": "configChange"; "refresh": "refresh"; }, never, never, true, never>;
3887
3915
  }
3888
3916
 
3889
3917
  declare class GlobalContextModule {
@@ -4013,6 +4041,6 @@ declare class DateTimeContextUtil {
4013
4041
  }>;
4014
4042
  }
4015
4043
 
4016
- export { AGGREGATIONS, AGGREGATION_ICONS, AGGREGATION_ICON_TYPE, AGGREGATION_LABELS, AGGREGATION_LIMITS, AGGREGATION_TEXTS, AGGREGATION_VALUES, AGGREGATION_VALUES_ARR, AggregationDisplayComponent, AggregationPickerComponent, AggregationPickerService, AggregationValidationService, AutoRefreshControlComponent, CONTEXT_FEATURE, CONTROL_PRESETS, ConfigContextSelectorComponent, ConfigModeControls, ConfigModeControls as ConfigModeControlsComponent, ConfigurationCollapseComponent, ConfigurationControlsComponent, ContextControlsComponent, DEFAULT_WIDGET_TEMPLATE, DateContextQueryParamNames, DateTimeContextPickerComponent, DateTimeContextPickerService, DateTimeContextUtil, GLOBAL_CONTEXT_DASHBOARD_PATHS, GLOBAL_CONTEXT_DEFAULTS, GLOBAL_CONTEXT_DISPLAY_MODE, GLOBAL_CONTEXT_EVENTS, GLOBAL_CONTEXT_SOURCE, GlobalContextComponent, GlobalContextConfigComponent, GlobalContextConnectorComponent, GlobalContextEventService, GlobalContextFormService, GlobalContextInlineComponent, GlobalContextLinkControlsComponent, GlobalContextModule, GlobalContextNavigationService, GlobalContextQueryService, GlobalContextService, GlobalContextUtilsService, GlobalContextValidationService, GlobalContextWidgetConfigComponent, GlobalContextWidgetWrapperComponent, HistoryModeConfigurationControlsComponent, INTERVALS, INTERVAL_TITLES, IntervalPickerComponent, LINK_BTNS_CONFIG, LinkButtonsComponent, LiveModeConfigurationControlsComponent, LocalControlsComponent, PRESET_NAME, PreviewControlsComponent, REFRESH_OPTION, ROUTE_PATHS, RealtimeControlComponent, TIME_DURATION, TIME_INTERVAL, TIME_SPAN_MS, TIMING, TimeRangeDisplayComponent, UI_PRIORITIES, WIDGET_DISPLAY_MODE, WIDGET_FEATURE_MAP, WidgetConfigMigrationService, WidgetControlService, applyModeConstraints, buildAggregationExtensions, buildBaselineControls, buildWidgetControlsFromPresets, controlsToSettings, createAutoRefreshHandlers, createResult, defineWidgetControls, getSupportedModes, guards, isAggregationLinked, isAggregationUnlinked, isAutoRefreshDisabled, isAutoRefreshEnabled, isConfig, isDashboard, isDateTimeContextLinked, isDateTimeContextUnlinked, isHistory, isLive, isViewAndConfig, mergePartialControls, resolveWidgetControlsInput, setAutoRefreshControlsVisibility, setAutoRefreshLinks, updateBothSettings };
4044
+ export { AGGREGATIONS, AGGREGATION_ICONS, AGGREGATION_ICON_TYPE, AGGREGATION_LABELS, AGGREGATION_LIMITS, AGGREGATION_TEXTS, AGGREGATION_VALUES, AGGREGATION_VALUES_ARR, AggregationDisplayComponent, AggregationPickerComponent, AggregationPickerService, AggregationValidationService, AutoRefreshControlComponent, CONTEXT_FEATURE, CONTROL_PRESETS, ConfigContextSelectorComponent, ConfigModeControls, ConfigModeControls as ConfigModeControlsComponent, ConfigurationCollapseComponent, ConfigurationControlsComponent, ContextControlsComponent, DEFAULT_WIDGET_TEMPLATE, DateContextQueryParamNames, DateTimeContextPickerComponent, DateTimeContextPickerService, DateTimeContextUtil, GLOBAL_CONTEXT_DASHBOARD_PATHS, GLOBAL_CONTEXT_DEFAULTS, GLOBAL_CONTEXT_DISPLAY_MODE, GLOBAL_CONTEXT_EVENTS, GLOBAL_CONTEXT_SOURCE, GlobalContextComponent, GlobalContextConfigComponent, GlobalContextConnectorComponent, GlobalContextEventService, GlobalContextFormService, GlobalContextInlineComponent, GlobalContextLinkControlsComponent, GlobalContextModule, GlobalContextNavigationService, GlobalContextQueryService, GlobalContextService, GlobalContextUtilsService, GlobalContextValidationService, GlobalContextWidgetConfigComponent, GlobalContextWidgetWrapperComponent, HistoryModeConfigurationControlsComponent, INTERVALS, INTERVAL_TITLES, IntervalPickerComponent, LIFETIME_INTERVAL, LINK_BTNS_CONFIG, LinkButtonsComponent, LiveModeConfigurationControlsComponent, LocalControlsComponent, PRESET_NAME, PreviewControlsComponent, REFRESH_OPTION, ROUTE_PATHS, RealtimeControlComponent, TIME_DURATION, TIME_INTERVAL, TIME_SPAN_MS, TIMING, TimeRangeDisplayComponent, UI_PRIORITIES, WIDGET_DISPLAY_MODE, WIDGET_FEATURE_MAP, WidgetConfigMigrationService, WidgetControlService, applyModeConstraints, buildAggregationExtensions, buildBaselineControls, buildWidgetControlsFromPresets, controlsToSettings, createAutoRefreshHandlers, createResult, defineWidgetControls, getSupportedModes, guards, isAggregationLinked, isAggregationUnlinked, isAutoRefreshDisabled, isAutoRefreshEnabled, isConfig, isDashboard, isDateTimeContextLinked, isDateTimeContextUnlinked, isHistory, isLive, isViewAndConfig, mergePartialControls, resolveWidgetControlsInput, setAutoRefreshControlsVisibility, setAutoRefreshLinks, updateBothSettings };
4017
4045
  export type { Aggregation, AggregationCalculationResult, AggregationIconType, AggregationOption, AggregationOptionStatus, AggregationState, AlarmFilterInterval, ContextConfig, ContextFeature, ControlConfigsMap, DateContextParams, DateTimeContext, DateTimeContextPickerConfig, DisplayMode, GlobalContextDisplayMode, GlobalContextEvent, GlobalContextEventBase, GlobalContextEventRegistry, GlobalContextEventType, GlobalContextEventUnion, GlobalContextInstance, GlobalContextKeys, GlobalContextSettings, GlobalContextSource, GlobalContextState, GuardState, InputDateContextQueryParams, Interval, LegacyWidgetConfig, LinkStatesMap, LinkToggleEvent, MigrateWidgetConfigOptions, OutputDateContextQueryParams, ParameterValidationStatus, PartialWidgetControls, PresetDefinition, PresetName, RefreshOption, RoutePath, TimeInterval, WidgetControlHandler, WidgetControlSettings, WidgetControls, WidgetControlsPresetConfig, WidgetDisplayMode, WidgetFeature, WidgetPresetName, WidgetPresetSelection, WidgetSettingsResult, WidgetState, WidgetStateHandlerResult };
4018
4046
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../../global-context/models/auto-refresh.model.ts","../../global-context/models/control-flow.model.ts","../../global-context/models/interval-picker.model.ts","../../global-context/models/date-time-context-picker.model.ts","../../global-context/models/global-context.model.ts","../../global-context/models/global-context-defaults.ts","../../global-context/models/aggregation.model.ts","../../global-context/models/context-config.model.ts","../../global-context/models/constants.ts","../../global-context/services/state/global-context.service.ts","../../global-context/services/state/global-context-form.service.ts","../../global-context/services/state/global-context-event.service.ts","../../global-context/services/domain/widget-control.service.ts","../../global-context/services/domain/date-time-context-picker.service.ts","../../global-context/services/domain/widget-config-migration.service.ts","../../global-context/services/domain/global-context-validation.service.ts","../../global-context/services/domain/aggregation-picker.service.ts","../../global-context/services/domain/aggregation-validation.service.ts","../../global-context/services/infrastructure/global-context-utils.service.ts","../../global-context/services/infrastructure/global-context-navigation.service.ts","../../global-context/services/infrastructure/global-context-query.service.ts","../../global-context/features/configuration/configuration-collapse/configuration-collapse.component.ts","../../global-context/core/global-context.component.ts","../../global-context/core/global-context-inline.component.ts","../../global-context/core/global-context-config.component.ts","../../global-context/core/global-context-widget-config.component.ts","../../global-context/core/widget-inline/inline-context.models.ts","../../global-context/core/widget-inline/inline-link-controls.component.ts","../../global-context/features/time-context/time-range-picker/date-time-context-picker.component.ts","../../global-context/features/time-context/time-range-display/time-range-display.component.ts","../../global-context/features/time-context/interval-picker/interval-picker.component.ts","../../global-context/features/aggregation/aggregation-picker/aggregation-picker.component.ts","../../global-context/features/aggregation/aggregation-display/aggregation-display.component.ts","../../global-context/features/refresh/auto-refresh/auto-refresh-control.component.ts","../../global-context/features/refresh/realtime-control/realtime-control.component.ts","../../global-context/features/configuration/config-context-selector/config-context-selector.component.ts","../../global-context/features/configuration/configuration-controls/configuration-controls.component.ts","../../global-context/features/configuration/live-mode-configuration-controls/live-mode-configuration-controls.component.ts","../../global-context/features/configuration/history-mode-configuration-controls/history-mode-configuration-controls.component.ts","../../global-context/shared/context-controls/context-controls.component.ts","../../global-context/shared/preview-controls/preview-controls.component.ts","../../global-context/integration/widget-controls/widget-controls-factory.ts","../../global-context/integration/widget-controls/guards.ts","../../global-context/integration/widget-controls/update-helpers.ts","../../global-context/integration/widget-controls/default-widget-template.ts","../../global-context/integration/widget-controls/widget-controls-presets.ts","../../global-context/integration/widget-wrapper/global-context-widget-wrapper.component.ts","../../global-context/integration/presets/control-presets.ts","../../global-context/integration/config-mode-controls/config-mode-controls.component.ts","../../global-context/integration/global-context-connector/global-context-connector.component.ts","../../global-context/integration/link-buttons/link-buttons.component.ts","../../global-context/integration/local-controls/local-controls.component.ts","../../global-context/global-context.module.ts","../../global-context/integration/widget-controls/widget-controls-presets.helpers.ts","../../global-context/utils/date-time-context.util.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;AAKM;;ACFN;;AAEG;AACH;AACG;;;;;;;;;;AAaA;;AAyBH;;AAEG;;AAED;;AAKD;AAED;;AAEG;AACG;AAON;;AAEG;;;;;;;;;AAYE;;AC5EL;;;;;;;AAQA;;;;;;;;;AAUM;AAEA;AACJ;;;;AAKI;;;;;AAQN;AA6BA;;;AChEE;AACA;;AAED;;;;AAKA;;ACLD;;;;;;;;AASA;AACE;AACA;AACA;AACD;AAE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J;AACA;AACA;;AAGF;AACA;AAmPA;;;;;;AAMG;AACH;AAyBA;;;;;;;;;AASG;AACH;AAsBA;;AAEG;AACH;;AC5UA;AAuDE;AACA;AACA;AAEA;AACA;;;;AAEmF;AAEnF;;AAMA;AACA;AACA;AACA;;AAGA;AAIA;;AA8BA;AAWA;;AAgCA;AAeA;AAYA;;AAWA;AAUA;;;AAiBD;;AC5ND;;;;;;AAkCE;AACA;AACA;AACA;AACA;;AAEA;;;;AAEmF;AACnF;AACA;AAEA;AAEA;;AA2BA;;;;AAS8E;AAK9E;;AAkBA;;AAcA;AAOA;AA0CA;AAuBA;;;AAUD;;ACrND;;;;;;AAMC;AAkCD;;;;AAwCE;AACA;AACA;AACA;AAEA;AAEA;AAWA;AAwBA;AAoBA;AAcA;;;AAGD;;ACnLD;AAwCE;AACA;AACA;AACA;AACA;AACA;;;;AAEmF;AACnF;;;AACD;;AClDD;;;;AAMmC;;;;;ACQnC;;;;;AAKG;AACH;AAiFA;;;;;AAKG;AACH;AA2CA;;;;;;;AAOG;AACH;AAsCA;;;;;AAKG;AACH;;;AAKC;;AChND;;;AAGG;AACH;AACE;;;AAGG;;AAkBH;;AAEG;AACH;AAKA;;;;;;AAMG;AACH;AAgBA;;;;AAIG;AACH;AAYA;;;;AAIG;AACH;AAIA;;AAEG;;AASH;;AAEG;;AASH;;;AAGG;AACH;AA0BA;;AAEG;;AAoBH;;;;AAIG;AACH;AAuBA;;;AAGG;;AASH;;AAEG;;AAiBH;;;;AAIG;AACH;AACkB;AAA2C;AAa7D;;AAEG;AACH;AACqB;AAA2C;;;AAuBjE;;;"}
1
+ {"version":3,"file":"index.d.ts","sources":["../../global-context/models/auto-refresh.model.ts","../../global-context/models/control-flow.model.ts","../../global-context/models/interval-picker.model.ts","../../global-context/models/date-time-context-picker.model.ts","../../global-context/models/global-context.model.ts","../../global-context/models/global-context-defaults.ts","../../global-context/models/aggregation.model.ts","../../global-context/models/context-config.model.ts","../../global-context/models/constants.ts","../../global-context/services/state/global-context.service.ts","../../global-context/services/state/global-context-form.service.ts","../../global-context/services/state/global-context-event.service.ts","../../global-context/services/domain/widget-control.service.ts","../../global-context/services/domain/date-time-context-picker.service.ts","../../global-context/services/domain/widget-config-migration.service.ts","../../global-context/services/domain/global-context-validation.service.ts","../../global-context/services/domain/aggregation-picker.service.ts","../../global-context/services/domain/aggregation-validation.service.ts","../../global-context/services/infrastructure/global-context-utils.service.ts","../../global-context/services/infrastructure/global-context-navigation.service.ts","../../global-context/services/infrastructure/global-context-query.service.ts","../../global-context/features/configuration/configuration-collapse/configuration-collapse.component.ts","../../global-context/core/global-context.component.ts","../../global-context/core/global-context-inline.component.ts","../../global-context/core/global-context-config.component.ts","../../global-context/core/global-context-widget-config.component.ts","../../global-context/core/widget-inline/inline-context.models.ts","../../global-context/core/widget-inline/inline-link-controls.component.ts","../../global-context/features/time-context/time-range-picker/date-time-context-picker.component.ts","../../global-context/features/time-context/time-range-display/time-range-display.component.ts","../../global-context/features/time-context/interval-picker/interval-picker.component.ts","../../global-context/features/aggregation/aggregation-picker/aggregation-picker.component.ts","../../global-context/features/aggregation/aggregation-display/aggregation-display.component.ts","../../global-context/features/refresh/auto-refresh/auto-refresh-control.component.ts","../../global-context/features/refresh/realtime-control/realtime-control.component.ts","../../global-context/features/configuration/config-context-selector/config-context-selector.component.ts","../../global-context/features/configuration/configuration-controls/configuration-controls.component.ts","../../global-context/features/configuration/live-mode-configuration-controls/live-mode-configuration-controls.component.ts","../../global-context/features/configuration/history-mode-configuration-controls/history-mode-configuration-controls.component.ts","../../global-context/shared/context-controls/context-controls.component.ts","../../global-context/shared/preview-controls/preview-controls.component.ts","../../global-context/integration/widget-controls/widget-controls-factory.ts","../../global-context/integration/widget-controls/guards.ts","../../global-context/integration/widget-controls/update-helpers.ts","../../global-context/integration/widget-controls/default-widget-template.ts","../../global-context/integration/widget-controls/widget-controls-presets.ts","../../global-context/integration/widget-wrapper/global-context-widget-wrapper.component.ts","../../global-context/integration/presets/control-presets.ts","../../global-context/integration/config-mode-controls/config-mode-controls.component.ts","../../global-context/integration/global-context-connector/global-context-connector.component.ts","../../global-context/integration/link-buttons/link-buttons.component.ts","../../global-context/integration/local-controls/local-controls.component.ts","../../global-context/global-context.module.ts","../../global-context/integration/widget-controls/widget-controls-presets.helpers.ts","../../global-context/utils/date-time-context.util.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;AAKM;;ACFN;;AAEG;AACH;AACG;;;;;;;;;;AAaA;;AAyBH;;AAEG;;AAED;;AAKD;AAED;;AAEG;AACG;AAON;;AAEG;;;;;;;;;AAYE;;AC5EL;;;;;;;AAQA;;;;;;;;;AAUM;AAEA;AACJ;;;;AAKI;;;;;AAQN;AA6BA;AAUA;AACA;;;AC3EE;AACA;;AAED;;;;AAKA;;ACLD;;;;;;;;AASA;;AAEE;;AAEA;;AAEA;AACD;AAEK;AAEN;;AAEG;;;AAGD;AACA;;;AAGA;AACD;AAED;;AAEG;;AAED;AACA;AACA;AACA;;;AACD;;;AAIC;AACA;;;AACA;AACG;;AAEA;;AAEH;AACG;;AAEA;;AAEH;AACG;AACE;AACF;;AAEH;;;AAGD;AAED;;;;;;;AAOC;AAED;;;;;AAKC;AAED;;;;;;;AAOG;;AAED;AACE;AACA;;;;AAIF;;;AAGA;AACD;AAED;AACM;AACN;AACM;;;AAIN;AACE;AACA;AACA;AACA;AACA;AACA;AACD;AAED;AACE;AACA;AACA;;AAGF;AACE;AACA;;;AAIF;;;AAGG;AACG;AACJ;AACA;;AAEA;AACA;AACA;;AAGF;;;;AAIG;AACG;AAIJ;;;AAKF;;;;AAKM;;;AAOJ;;;;AAIA;;;AAGA;;;AAGG;;AAEJ;AAED;;;AAGG;;;AAGD;;;;;;;;;AASD;AAED;;;AAGG;;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A8DE;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;;;;AAImF;AACnF;;;;AASD;;ACjGD;;;;AAMmC;;;;;ACQnC;;;;;AAKG;AACH;AAiFA;;;;;AAKG;AACH;AA2CA;;;;;;;AAOG;AACH;AAsCA;;;;;AAKG;AACH;;;AAKC;;AChND;;;AAGG;AACH;AACE;;;AAGG;;AAkBH;;AAEG;AACH;AAKA;;;;;;AAMG;AACH;AAgBA;;;;AAIG;AACH;AAYA;;;;AAIG;AACH;AAIA;;AAEG;;AASH;;AAEG;;AASH;;;AAGG;AACH;AA0BA;;AAEG;;AAoBH;;;;AAIG;AACH;AAuBA;;;AAGG;;AASH;;AAEG;;AAiBH;;;;AAIG;AACH;AACkB;AAA2C;AAa7D;;AAEG;AACH;AACqB;AAA2C;;;AAuBjE;;;"}
package/index.d.ts CHANGED
@@ -16994,8 +16994,11 @@ declare abstract class DynamicBulkDetailsResolver<T extends {
16994
16994
  }
16995
16995
 
16996
16996
  declare enum GLOBAL_CONTEXT_DISPLAY_MODE {
16997
+ /** Widget is bound to the dashboard-level global context. */
16997
16998
  DASHBOARD = "dashboard",
16999
+ /** Widget owns its context but hides inline time range and aggregation controls. */
16998
17000
  CONFIG = "config",
17001
+ /** Widget owns its context and renders all controls inline (default). */
16999
17002
  VIEW_AND_CONFIG = "view_and_config"
17000
17003
  }
17001
17004
 
@@ -17020,28 +17023,28 @@ type ContextFeature = (typeof CONTEXT_FEATURE)[keyof typeof CONTEXT_FEATURE];
17020
17023
  /** Preset name constants for type-safe access */
17021
17024
  declare const PRESET_NAME: {
17022
17025
  readonly DEFAULT: "default";
17023
- readonly ALARM_LIST: "alarmList";
17024
- readonly CHART: "chart";
17026
+ readonly LIFETIME_LIST: "lifetimeList";
17025
17027
  readonly DATA_TABLE: "dataTable";
17026
17028
  readonly DATA_TABLE_CONFIG: "dataTableConfig";
17027
17029
  readonly LIVE_ONLY: "liveOnly";
17028
17030
  readonly AUTO_REFRESH_ONLY: "autoRefreshOnly";
17029
17031
  readonly AUTO_REFRESH_ONLY_CONFIG: "autoRefreshOnlyConfig";
17030
17032
  readonly HISTORY_ONLY: "historyOnly";
17031
- readonly ALARM_LIST_CONFIG: "alarmListConfig";
17032
- readonly ALARM_LIST_LEGACY: "alarmListLegacy";
17033
+ readonly LIFETIME_LIST_CONFIG: "lifetimeListConfig";
17034
+ readonly DATAPOINTS_GRAPH: "datapointsGraph";
17035
+ readonly DATAPOINTS_GRAPH_CONFIG: "datapointsGraphConfig";
17033
17036
  readonly KPI: "kpi";
17034
17037
  readonly KPI_CONFIG: "kpiConfig";
17035
17038
  readonly DATA_POINTS_LIST: "dataPointsList";
17036
17039
  readonly DATA_POINTS_LIST_CONFIG: "dataPointsListConfig";
17037
- readonly DATAPOINTS_GRAPH: "datapointsGraph";
17038
- readonly DATAPOINTS_GRAPH_CONFIG: "datapointsGraphConfig";
17039
17040
  };
17040
17041
  type PresetName = (typeof PRESET_NAME)[keyof typeof PRESET_NAME];
17041
17042
  type PresetDefinition = {
17042
17043
  [GLOBAL_CONTEXT_DISPLAY_MODE.DASHBOARD]: ContextFeature[];
17043
17044
  [GLOBAL_CONTEXT_DISPLAY_MODE.CONFIG]: ContextFeature[];
17044
17045
  [GLOBAL_CONTEXT_DISPLAY_MODE.VIEW_AND_CONFIG]: ContextFeature[];
17046
+ /** Adds a "Lifetime" (epoch → now) entry to the interval picker. Opt-in per preset. */
17047
+ supportsLifetime?: boolean;
17045
17048
  };
17046
17049
 
17047
17050
  /**
@@ -17307,6 +17310,20 @@ interface WidgetSettings {
17307
17310
  * If not provided, the default size is '560px' (WidgetConfigurationGridSize.DEFAULT).
17308
17311
  */
17309
17312
  configurationViewGridSize?: WIDGET_CONFIGURATION_GRID_SIZE | string;
17313
+ /**
17314
+ * A function to dynamically determine whether this widget can be added to a given
17315
+ * device, group, or asset dashboard. Return `true` (or any truthy object) to allow
17316
+ * the widget; return `false` to hide it from the list for that context.
17317
+ * For no context dashboard (e.g. home dashboard), assetMo will be undefined.
17318
+ *
17319
+ * Note: For newly created named dashboards, `dashboardMo` can be present without an `id`
17320
+ * until the dashboard is persisted (first save). Implementations should not assume that
17321
+ * `dashboardMo.id` is always available.
17322
+ */
17323
+ isWidgetSelectable?: (details: {
17324
+ assetMo?: IManagedObject;
17325
+ dashboardMo?: IManagedObject;
17326
+ }) => Promise<boolean> | boolean;
17310
17327
  /**
17311
17328
  * The default settings when the widget is added to a dashboard.
17312
17329
  */
@@ -18671,6 +18688,7 @@ declare class WidgetsDashboardComponent {
18671
18688
  isLoadingWidgets$: Observable<boolean>;
18672
18689
  copyDisabledPopoverMsg: string;
18673
18690
  widgetInFullscreenMode: boolean;
18691
+ private widgetFullscreenChangeListener;
18674
18692
  inFullScreen$: Observable<boolean>;
18675
18693
  editMode$: BehaviorSubject<boolean>;
18676
18694
  get nativeElement(): any;
@@ -18687,11 +18705,13 @@ declare class WidgetsDashboardComponent {
18687
18705
  toggleFullscreen(hasWidget?: boolean): void;
18688
18706
  fullScreen(): boolean;
18689
18707
  toggleFullscreenOnWidget(child: DashboardChildComponent): void;
18708
+ ngOnDestroy(): void;
18690
18709
  updateWidgetClasses(widget: Widget, classes: Record<string, boolean>): void;
18691
18710
  updateWidgetConfig(data: any, widget: Widget): void;
18692
18711
  cancelDashboardSave(): Promise<void>;
18693
18712
  saveDashboard(): void;
18694
18713
  enableEditMode(): void;
18714
+ private exitFullScreen;
18695
18715
  private setCopyDisabledPopoverMsg;
18696
18716
  private confirmClosing;
18697
18717
  private executeResolversOfWidgets;