@siemens/dashboards-ng 48.4.0 → 48.5.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.
- package/README.md +10 -11
- package/fesm2022/siemens-dashboards-ng-module-federation.mjs +1 -1
- package/fesm2022/siemens-dashboards-ng-module-federation.mjs.map +1 -1
- package/fesm2022/siemens-dashboards-ng.mjs +92 -118
- package/fesm2022/siemens-dashboards-ng.mjs.map +1 -1
- package/index.d.ts +6 -13
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _siemens_element_translate_ng_translate_types from '@siemens/element-translate-ng/translate-types';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
|
-
import { InjectionToken, InputSignal, OutputEmitterRef, EventEmitter, TemplateRef, OnInit, OnChanges,
|
|
3
|
+
import { InjectionToken, InputSignal, OutputEmitterRef, EventEmitter, TemplateRef, OnInit, OnChanges, ViewContainerRef, SimpleChanges, OnDestroy, Type, Injector, EnvironmentInjector, ComponentRef, Provider, ModuleWithProviders } from '@angular/core';
|
|
4
4
|
import { AccentLineType, MenuItem } from '@siemens/element-ng/common';
|
|
5
5
|
import { SiDashboardComponent } from '@siemens/element-ng/dashboard';
|
|
6
6
|
import { Subject, BehaviorSubject, Observable } from 'rxjs';
|
|
@@ -367,7 +367,7 @@ interface GridWrapperEvent {
|
|
|
367
367
|
grid: GridStack;
|
|
368
368
|
el?: GridItemHTMLElement;
|
|
369
369
|
}
|
|
370
|
-
declare class SiGridstackWrapperComponent implements OnInit, OnChanges
|
|
370
|
+
declare class SiGridstackWrapperComponent implements OnInit, OnChanges {
|
|
371
371
|
/**
|
|
372
372
|
* Grid items to render inside the gridstack
|
|
373
373
|
*
|
|
@@ -399,25 +399,20 @@ declare class SiGridstackWrapperComponent implements OnInit, OnChanges, OnDestro
|
|
|
399
399
|
readonly gridstackContainer: _angular_core.Signal<ViewContainerRef | undefined>;
|
|
400
400
|
private grid;
|
|
401
401
|
private markedForRender;
|
|
402
|
-
private gridItems;
|
|
402
|
+
private readonly gridItems;
|
|
403
|
+
private readonly gridItemsMap;
|
|
403
404
|
private readonly itemIdAttr;
|
|
404
|
-
private widgetIdSubscriptionMap;
|
|
405
405
|
private ngZone;
|
|
406
406
|
private elementRef;
|
|
407
|
+
private readonly widgetConfigsMap;
|
|
407
408
|
ngOnChanges(changes: SimpleChanges): void;
|
|
408
409
|
ngOnInit(): void;
|
|
409
|
-
ngOnDestroy(): void;
|
|
410
410
|
mount(items: WidgetConfig[]): void;
|
|
411
411
|
unmount(items: WidgetConfig[]): void;
|
|
412
412
|
getLayout(): WidgetPositionConfig[];
|
|
413
413
|
private updateLayout;
|
|
414
414
|
private addToView;
|
|
415
415
|
private removeFromView;
|
|
416
|
-
/**
|
|
417
|
-
* GridItemComponents are created dynamically, change detection won't trigger as there is no \@Input binding.
|
|
418
|
-
* We have to update instance and run ChangeDetectionRef manually.
|
|
419
|
-
*/
|
|
420
|
-
private updateViewComponents;
|
|
421
416
|
private hookEvents;
|
|
422
417
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiGridstackWrapperComponent, never>;
|
|
423
418
|
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; }; }, { "gridEvent": "gridEvent"; "widgetInstanceRemove": "widgetInstanceRemove"; "widgetInstanceEdit": "widgetInstanceEdit"; }, never, never, true, never>;
|
|
@@ -922,11 +917,9 @@ declare class SiFlexibleDashboardComponent implements OnInit, OnChanges, OnDestr
|
|
|
922
917
|
*/
|
|
923
918
|
readonly pageTitle: _angular_core.Signal<string | undefined>;
|
|
924
919
|
private readonly viewState;
|
|
925
|
-
private subscriptions;
|
|
926
920
|
private widgetStorage;
|
|
927
921
|
private hideAddWidgetInstanceButton$;
|
|
928
922
|
private dashboardId$;
|
|
929
|
-
private outputRefSubscription;
|
|
930
923
|
private readonly toolbar;
|
|
931
924
|
ngOnChanges(changes: SimpleChanges): void;
|
|
932
925
|
ngOnInit(): void;
|
|
@@ -939,7 +932,7 @@ declare class SiFlexibleDashboardComponent implements OnInit, OnChanges, OnDestr
|
|
|
939
932
|
protected onModified(event: boolean): void;
|
|
940
933
|
private setupMenuItems;
|
|
941
934
|
private setupPrimaryMenuItems;
|
|
942
|
-
|
|
935
|
+
protected editWidgetInstance(widgetConfig: WidgetConfig): void;
|
|
943
936
|
private proxyMenuItemAction;
|
|
944
937
|
private getWidget;
|
|
945
938
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiFlexibleDashboardComponent, never>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@siemens/dashboards-ng",
|
|
3
3
|
"description": "Element Dashboards library.",
|
|
4
|
-
"version": "48.
|
|
4
|
+
"version": "48.5.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"@angular/common": "20",
|
|
22
22
|
"@angular/core": "20",
|
|
23
23
|
"@ngx-translate/core": "15 - 16",
|
|
24
|
-
"@siemens/element-ng": "48.
|
|
25
|
-
"@siemens/element-theme": "48.
|
|
24
|
+
"@siemens/element-ng": "48.5.1",
|
|
25
|
+
"@siemens/element-theme": "48.5.1",
|
|
26
26
|
"gridstack": "^12.3.3"
|
|
27
27
|
},
|
|
28
28
|
"module": "fesm2022/siemens-dashboards-ng.mjs",
|