@siemens/dashboards-ng 49.1.0 → 49.3.0

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@siemens/dashboards-ng",
3
3
  "description": "Element Dashboards library.",
4
- "version": "49.1.0",
4
+ "version": "49.3.0",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -20,10 +20,10 @@
20
20
  "peerDependencies": {
21
21
  "@angular/common": "21",
22
22
  "@angular/core": "21",
23
- "@siemens/element-ng": "49.1.0",
24
- "@siemens/element-theme": "49.1.0",
23
+ "@siemens/element-ng": "49.3.0",
24
+ "@siemens/element-theme": "49.3.0",
25
25
  "gridstack": "^12.3.3",
26
- "@angular-architects/module-federation": "^20.0.0",
26
+ "@angular-architects/module-federation": "^20.0.0 || ^21.0.0",
27
27
  "@angular-architects/native-federation": "^21.1.0",
28
28
  "@module-federation/enhanced": "^2.0.0"
29
29
  },
@@ -1,7 +1,7 @@
1
1
  import * as _siemens_element_translate_ng_translate from '@siemens/element-translate-ng/translate';
2
2
  import { TranslatableString } from '@siemens/element-translate-ng/translate';
3
3
  import * as _angular_core from '@angular/core';
4
- import { Type, InputSignal, OutputEmitterRef, EventEmitter, TemplateRef, OnInit, OnChanges, ViewContainerRef, SimpleChanges, OnDestroy, InjectionToken, Provider, Injector, EnvironmentInjector, ComponentRef } from '@angular/core';
4
+ import { Type, InputSignal, EventEmitter, TemplateRef, OutputEmitterRef, OnInit, OnChanges, ViewContainerRef, SimpleChanges, OnDestroy, InjectionToken, Provider, Injector, EnvironmentInjector, ComponentRef } from '@angular/core';
5
5
  import { AccentLineType, MenuItem } from '@siemens/element-ng/common';
6
6
  import { SiDashboardComponent } from '@siemens/element-ng/dashboard';
7
7
  import { Subject, BehaviorSubject, Observable } from 'rxjs';
@@ -353,6 +353,11 @@ type LoadRemoteModuleScriptOptions = {
353
353
  remoteEntry?: string;
354
354
  remoteName: string;
355
355
  exposedModule: string;
356
+ /**
357
+ * Optional nonce value applied to the script element for Content Security Policy (CSP) support.
358
+ * Supported in Module Federation v21.2.0+; safely ignored by earlier versions.
359
+ */
360
+ nonce?: string;
356
361
  };
357
362
  type LoadRemoteModuleEsmOptions = {
358
363
  type: 'module';
@@ -411,7 +416,7 @@ declare class SiGridstackWrapperComponent implements OnInit, OnChanges {
411
416
  private iterableDiffers;
412
417
  private widgetConfigsDiffer?;
413
418
  private readonly widgetConfigSignals;
414
- ngOnChanges(changes: SimpleChanges): void;
419
+ ngOnChanges(changes: SimpleChanges<this>): void;
415
420
  ngOnInit(): void;
416
421
  mount(items: WidgetConfig[]): void;
417
422
  unmount(items: WidgetConfig[]): void;
@@ -618,7 +623,7 @@ declare class SiGridComponent implements OnInit, OnChanges, OnDestroy {
618
623
  readonly isLoading: BehaviorSubject<boolean>;
619
624
  protected initialLoad: boolean;
620
625
  protected get showEmptyState(): boolean;
621
- ngOnChanges(changes: SimpleChanges): void;
626
+ ngOnChanges(changes: SimpleChanges<this>): void;
622
627
  ngOnInit(): void;
623
628
  ngOnDestroy(): void;
624
629
  /**
@@ -970,7 +975,7 @@ declare class SiFlexibleDashboardComponent implements OnInit, OnChanges, OnDestr
970
975
  private dashboardId$;
971
976
  private readonly toolbar;
972
977
  private readonly globalEditActions;
973
- ngOnChanges(changes: SimpleChanges): void;
978
+ ngOnChanges(changes: SimpleChanges<this>): void;
974
979
  ngOnInit(): void;
975
980
  ngOnDestroy(): void;
976
981
  /**
@@ -982,7 +987,6 @@ declare class SiFlexibleDashboardComponent implements OnInit, OnChanges, OnDestr
982
987
  private setupMenuItems;
983
988
  private setupPrimaryMenuItems;
984
989
  protected editWidgetInstance(widgetConfig: WidgetConfig): void;
985
- private proxyMenuItemAction;
986
990
  private getWidget;
987
991
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiFlexibleDashboardComponent, never>;
988
992
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiFlexibleDashboardComponent, "si-flexible-dashboard", never, { "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "widgetCatalogComponent": { "alias": "widgetCatalogComponent"; "required": false; "isSignal": true; }; "widgetInstanceEditorDialogComponent": { "alias": "widgetInstanceEditorDialogComponent"; "required": false; "isSignal": true; }; "dashboardId": { "alias": "dashboardId"; "required": false; "isSignal": true; }; "widgetCatalog": { "alias": "widgetCatalog"; "required": false; "isSignal": true; }; "hideAddWidgetInstanceButton": { "alias": "hideAddWidgetInstanceButton"; "required": false; "isSignal": true; }; "hideEditButton": { "alias": "hideEditButton"; "required": false; "isSignal": true; }; "showEditButtonLabel": { "alias": "showEditButtonLabel"; "required": false; "isSignal": true; }; "hideProgressIndicator": { "alias": "hideProgressIndicator"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "primaryEditActions": { "alias": "primaryEditActions"; "required": false; "isSignal": true; }; "secondaryEditActions": { "alias": "secondaryEditActions"; "required": false; "isSignal": true; }; }, { "editable": "editableChange"; "isModified": "isModified"; }, never, ["[filters-slot]", "[empty-state]"], true, never>;