@siemens/dashboards-ng 51.4.0 → 51.6.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/assets/i18n/de.json +2 -1
- package/assets/i18n/en.json +2 -1
- package/fesm2022/siemens-dashboards-ng-translate.mjs.map +1 -1
- package/fesm2022/siemens-dashboards-ng.mjs +32 -20
- package/fesm2022/siemens-dashboards-ng.mjs.map +1 -1
- package/package.json +3 -3
- package/template-i18n.json +2 -1
- package/types/siemens-dashboards-ng-translate.d.ts +1 -0
- package/types/siemens-dashboards-ng.d.ts +8 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@siemens/dashboards-ng",
|
|
3
3
|
"description": "Element Dashboards library.",
|
|
4
|
-
"version": "51.
|
|
4
|
+
"version": "51.6.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"@angular/core": "22",
|
|
26
26
|
"@module-federation/enhanced": "^2.0.0",
|
|
27
27
|
"@module-federation/runtime": "^2.0.0",
|
|
28
|
-
"@siemens/element-ng": "51.
|
|
29
|
-
"@siemens/element-theme": "51.
|
|
28
|
+
"@siemens/element-ng": "51.6.0",
|
|
29
|
+
"@siemens/element-theme": "51.6.0",
|
|
30
30
|
"gridstack": "^13.0.0 || ^14.0.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependenciesMeta": {
|
package/template-i18n.json
CHANGED
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
"DASHBOARD.WIDGET_LIBRARY.DISCARD_CONFIG_CHANGE_DIALOG.DISCARD": "Discard",
|
|
36
36
|
"DASHBOARD.WIDGET_LIBRARY.DISCARD_CONFIG_CHANGE_DIALOG.HEADING": "Widget configuration changed",
|
|
37
37
|
"DASHBOARD.WIDGET_LIBRARY.DISCARD_CONFIG_CHANGE_DIALOG.MESSAGE": "The widget configuration changed. Do you want to discard the changes?",
|
|
38
|
-
"DASHBOARD.WIDGET_LIBRARY.EMPTY": "
|
|
38
|
+
"DASHBOARD.WIDGET_LIBRARY.EMPTY": "No widgets found",
|
|
39
|
+
"DASHBOARD.WIDGET_LIBRARY.EMPTY_MESSAGE": "Refine search",
|
|
39
40
|
"DASHBOARD.WIDGET_LIBRARY.NEXT": "Next",
|
|
40
41
|
"DASHBOARD.WIDGET_LIBRARY.PREVIOUS": "Previous",
|
|
41
42
|
"DASHBOARD.WIDGET_LIBRARY.SEARCH_PLACEHOLDER": "Search…",
|
|
@@ -38,6 +38,7 @@ interface SiTranslatableKeys {
|
|
|
38
38
|
'DASHBOARD.WIDGET_LIBRARY.DISCARD_CONFIG_CHANGE_DIALOG.HEADING'?: string;
|
|
39
39
|
'DASHBOARD.WIDGET_LIBRARY.DISCARD_CONFIG_CHANGE_DIALOG.MESSAGE'?: string;
|
|
40
40
|
'DASHBOARD.WIDGET_LIBRARY.EMPTY'?: string;
|
|
41
|
+
'DASHBOARD.WIDGET_LIBRARY.EMPTY_MESSAGE'?: string;
|
|
41
42
|
'DASHBOARD.WIDGET_LIBRARY.NEXT'?: string;
|
|
42
43
|
'DASHBOARD.WIDGET_LIBRARY.PREVIOUS'?: string;
|
|
43
44
|
'DASHBOARD.WIDGET_LIBRARY.SEARCH_PLACEHOLDER'?: string;
|
|
@@ -830,6 +830,8 @@ declare class SiWidgetCatalogComponent extends SiWidgetEditorBase implements OnI
|
|
|
830
830
|
private widgetConfig?;
|
|
831
831
|
private readonly singleSelectedWidgetHasEditor;
|
|
832
832
|
private readonly translateService;
|
|
833
|
+
/** Default indicator for widgets without an `iconClass`, as specified in the design. */
|
|
834
|
+
protected readonly icons: Record<"elementSpecialObject", string>;
|
|
833
835
|
/**
|
|
834
836
|
* TODO: Remove this property in v52. Use the signal `widgetList` instead.
|
|
835
837
|
*/
|
|
@@ -839,6 +841,7 @@ declare class SiWidgetCatalogComponent extends SiWidgetEditorBase implements OnI
|
|
|
839
841
|
protected labelNext: _siemens_element_translate_ng_translate.TranslatableString;
|
|
840
842
|
protected labelAdd: _siemens_element_translate_ng_translate.TranslatableString;
|
|
841
843
|
protected labelEmpty: _siemens_element_translate_ng_translate.TranslatableString;
|
|
844
|
+
protected labelEmptyMessage: _siemens_element_translate_ng_translate.TranslatableString;
|
|
842
845
|
protected labelDialogHeading: _siemens_element_translate_ng_translate.TranslatableString;
|
|
843
846
|
protected labelDialogCancel: _siemens_element_translate_ng_translate.TranslatableString;
|
|
844
847
|
protected labelDialogMessage: _siemens_element_translate_ng_translate.TranslatableString;
|
|
@@ -879,6 +882,10 @@ declare class SiFlexibleDashboardComponent implements OnInit, OnChanges, OnDestr
|
|
|
879
882
|
readonly editable: _angular_core.ModelSignal<boolean>;
|
|
880
883
|
/**
|
|
881
884
|
* Heading for the dashboard.
|
|
885
|
+
*
|
|
886
|
+
* To show a custom header instead, e.g. with a description or page actions,
|
|
887
|
+
* project it using the `header` attribute. The heading is ignored in that case.
|
|
888
|
+
* While adding or editing widgets, the respective title is shown instead.
|
|
882
889
|
*/
|
|
883
890
|
readonly heading: _angular_core.InputSignal<string | undefined>;
|
|
884
891
|
/**
|
|
@@ -1018,7 +1025,7 @@ declare class SiFlexibleDashboardComponent implements OnInit, OnChanges, OnDestr
|
|
|
1018
1025
|
protected editWidgetInstance(widgetConfig: WidgetConfig): void;
|
|
1019
1026
|
private getWidget;
|
|
1020
1027
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiFlexibleDashboardComponent, never>;
|
|
1021
|
-
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; }; "multiSelect": { "alias": "multiSelect"; "required": false; "isSignal": true; }; }, { "editable": "editableChange"; "isModified": "isModified"; }, never, ["[filters-slot]", "[empty-state]"], true, never>;
|
|
1028
|
+
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; }; "multiSelect": { "alias": "multiSelect"; "required": false; "isSignal": true; }; }, { "editable": "editableChange"; "isModified": "isModified"; }, never, ["[header]", "[filters-slot]", "[empty-state]"], true, never>;
|
|
1022
1029
|
}
|
|
1023
1030
|
|
|
1024
1031
|
/**
|