@siemens/dashboards-ng 51.4.0 → 51.5.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 +10 -8
- 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 +3 -0
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.5.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.5.0",
|
|
29
|
+
"@siemens/element-theme": "51.5.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;
|