@siemens/dashboards-ng 49.12.0 → 49.13.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.
|
|
4
|
+
"version": "49.13.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"@angular/common": "21 - 22",
|
|
22
22
|
"@angular/core": "21 - 22",
|
|
23
|
-
"@siemens/element-ng": "49.
|
|
24
|
-
"@siemens/element-theme": "49.
|
|
23
|
+
"@siemens/element-ng": "49.13.0",
|
|
24
|
+
"@siemens/element-theme": "49.13.0",
|
|
25
25
|
"gridstack": "^12.3.3",
|
|
26
26
|
"@angular-architects/module-federation": "^20.0.0 || ^21.0.0",
|
|
27
27
|
"@angular-architects/native-federation": "^21.1.0",
|
|
@@ -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,
|
|
4
|
+
import { Type, InputSignal, OutputEmitterRef, EventEmitter, TemplateRef, OnInit, OnChanges, SimpleChanges, OnDestroy, OutputRefSubscription, ViewContainerRef, Injector, EnvironmentInjector, ComponentRef, InjectionToken, Provider } 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, Subscription, Observable, BehaviorSubject } from 'rxjs';
|
|
@@ -413,34 +413,23 @@ declare class SiGridstackWrapperComponent implements OnInit, OnChanges {
|
|
|
413
413
|
* Emits the id of a widget instance that shall be edited.
|
|
414
414
|
*/
|
|
415
415
|
readonly widgetInstanceEdit: _angular_core.OutputEmitterRef<WidgetConfig>;
|
|
416
|
-
readonly
|
|
417
|
-
private
|
|
418
|
-
|
|
419
|
-
private readonly
|
|
420
|
-
private readonly
|
|
421
|
-
private readonly
|
|
422
|
-
private
|
|
423
|
-
private
|
|
424
|
-
private
|
|
425
|
-
private widgetConfigsDiffer?;
|
|
426
|
-
private readonly widgetConfigSignals;
|
|
416
|
+
private readonly widgetHosts;
|
|
417
|
+
private readonly widgetHostsMap;
|
|
418
|
+
protected grid?: GridStack;
|
|
419
|
+
private readonly ngZone;
|
|
420
|
+
private readonly elementRef;
|
|
421
|
+
private readonly injector;
|
|
422
|
+
private readonly platformId;
|
|
423
|
+
private readonly isBrowser;
|
|
424
|
+
private readonly destroyRef;
|
|
427
425
|
ngOnChanges(changes: SimpleChanges<this>): void;
|
|
428
426
|
ngOnInit(): void;
|
|
429
|
-
|
|
430
|
-
unmount(items: WidgetConfig[]): void;
|
|
427
|
+
private startBatch;
|
|
431
428
|
/**
|
|
432
429
|
*
|
|
433
430
|
* Returns the position of a specific widget in the grid.
|
|
434
431
|
*/
|
|
435
432
|
getWidgetLayout(widgetId: string): WidgetPositionConfig | undefined;
|
|
436
|
-
private updateLayout;
|
|
437
|
-
private addToView;
|
|
438
|
-
private removeFromView;
|
|
439
|
-
/**
|
|
440
|
-
* Uses IterableDiffer to detect added, removed, and identity-changed items.
|
|
441
|
-
* Only widgets whose object reference changed get their signal updated.
|
|
442
|
-
*/
|
|
443
|
-
private diffWidgetConfigs;
|
|
444
433
|
private hookEvents;
|
|
445
434
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiGridstackWrapperComponent, never>;
|
|
446
435
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiGridstackWrapperComponent, "si-gridstack-wrapper", never, { "widgetConfigs": { "alias": "widgetConfigs"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "gridConfig": { "alias": "gridConfig"; "required": false; "isSignal": true; }; "widgetCatalogMap": { "alias": "widgetCatalogMap"; "required": false; "isSignal": true; }; }, { "gridEvent": "gridEvent"; "widgetInstanceRemove": "widgetInstanceRemove"; "widgetInstanceEdit": "widgetInstanceEdit"; }, never, never, true, never>;
|
|
@@ -1216,6 +1205,14 @@ declare class SiDashboardsNgModule {
|
|
|
1216
1205
|
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<SiDashboardsNgModule, never, [typeof SiFlexibleDashboardComponent, typeof SiGridComponent, typeof SiWidgetCatalogComponent, typeof SiWidgetInstanceEditorDialogComponent], [typeof SiFlexibleDashboardComponent, typeof SiGridComponent, typeof SiWidgetCatalogComponent, typeof SiWidgetInstanceEditorDialogComponent]>;
|
|
1217
1206
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<SiDashboardsNgModule>;
|
|
1218
1207
|
}
|
|
1208
|
+
/**
|
|
1209
|
+
* @deprecated Use {@link SiDashboardsNgModule} instead. The `Simpl` prefix is deprecated and will be removed in v51.
|
|
1210
|
+
*/
|
|
1211
|
+
declare const SimplDashboardsNgModule: typeof SiDashboardsNgModule;
|
|
1212
|
+
/**
|
|
1213
|
+
* @deprecated Use {@link SiDashboardsNgModule} instead. The `Simpl` prefix is deprecated and will be removed in v51.
|
|
1214
|
+
*/
|
|
1215
|
+
type SimplDashboardsNgModule = SiDashboardsNgModule;
|
|
1219
1216
|
|
|
1220
|
-
export { DEFAULT_GRIDSTACK_OPTIONS, DEFAULT_WIDGET_STORAGE_TOKEN, SI_DASHBOARD_CONFIGURATION, SI_DASHBOARD_TOOLBAR_ITEMS, SI_WIDGET_ID_PROVIDER, SI_WIDGET_STORE, STORAGE_KEY, SiDashboardsNgModule, SiDefaultWidgetStorage, SiFlexibleDashboardComponent, SiGridComponent, SiWidgetCatalogComponent, SiWidgetDefaultIdProvider, SiWidgetIdProvider, SiWidgetInstanceEditorDialogComponent, SiWidgetRendererComponent, SiWidgetStorage,
|
|
1217
|
+
export { DEFAULT_GRIDSTACK_OPTIONS, DEFAULT_WIDGET_STORAGE_TOKEN, SI_DASHBOARD_CONFIGURATION, SI_DASHBOARD_TOOLBAR_ITEMS, SI_WIDGET_ID_PROVIDER, SI_WIDGET_STORE, STORAGE_KEY, SiDashboardsNgModule, SiDefaultWidgetStorage, SiFlexibleDashboardComponent, SiGridComponent, SiWidgetCatalogComponent, SiWidgetDefaultIdProvider, SiWidgetIdProvider, SiWidgetInstanceEditorDialogComponent, SiWidgetRendererComponent, SiWidgetStorage, SimplDashboardsNgModule, createWidgetConfig, handleFederatedModuleLoad, provideDashboardToolbarItems, setupWidgetEditor, setupWidgetInstance, widgetFactoryRegistry };
|
|
1221
1218
|
export type { Config, DashboardToolbarItem, DashboardToolbarItemAction, DashboardToolbarItemLink, DashboardToolbarItemRouterLink, FederatedBridgeModule, FederatedModule, FederatedModuleExports, FederationFactoryBase, GridConfig, LoadRemoteBridgeOptions, LoadRemoteModuleEsmOptions, LoadRemoteModuleManifestOptions, LoadRemoteModuleOptions, LoadRemoteModuleScriptOptions, ObjectFit, SetupComponentFn, WebComponent, Widget, WidgetComponentFactory, WidgetComponentTypeFactory, WidgetConfig, WidgetConfigEvent, WidgetConfigStatus, WidgetImage, WidgetInstance, WidgetInstanceEditor, WidgetInstanceEditorWizard, WidgetInstanceEditorWizardState, WidgetPositionConfig };
|