@siemens/element-ng 48.10.3 → 48.11.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/fesm2022/siemens-element-ng-datepicker.mjs +2 -2
- package/fesm2022/siemens-element-ng-datepicker.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-side-panel.mjs +166 -10
- package/fesm2022/siemens-element-ng-side-panel.mjs.map +1 -1
- package/package.json +15 -15
- package/side-panel/index.d.ts +114 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@siemens/element-ng",
|
|
3
3
|
"description": "Element Angular component library, implementing the Siemens Design Language",
|
|
4
|
-
"version": "48.
|
|
4
|
+
"version": "48.11.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"@angular/router": "20 - 21",
|
|
31
31
|
"@ngx-formly/bootstrap": "^6.2.2",
|
|
32
32
|
"@ngx-formly/core": "^6.2.2",
|
|
33
|
-
"@siemens/element-translate-ng": "48.
|
|
34
|
-
"@siemens/element-theme": "48.
|
|
33
|
+
"@siemens/element-translate-ng": "48.11.1",
|
|
34
|
+
"@siemens/element-theme": "48.11.1",
|
|
35
35
|
"@siemens/ngx-datatable": "22 - 25",
|
|
36
36
|
"ag-grid-community": "^34.3.1",
|
|
37
37
|
"flag-icons": "^7.3.2",
|
|
@@ -95,10 +95,6 @@
|
|
|
95
95
|
"types": "./auto-collapsable-list/index.d.ts",
|
|
96
96
|
"default": "./fesm2022/siemens-element-ng-auto-collapsable-list.mjs"
|
|
97
97
|
},
|
|
98
|
-
"./autocomplete": {
|
|
99
|
-
"types": "./autocomplete/index.d.ts",
|
|
100
|
-
"default": "./fesm2022/siemens-element-ng-autocomplete.mjs"
|
|
101
|
-
},
|
|
102
98
|
"./avatar": {
|
|
103
99
|
"types": "./avatar/index.d.ts",
|
|
104
100
|
"default": "./fesm2022/siemens-element-ng-avatar.mjs"
|
|
@@ -107,6 +103,10 @@
|
|
|
107
103
|
"types": "./badge/index.d.ts",
|
|
108
104
|
"default": "./fesm2022/siemens-element-ng-badge.mjs"
|
|
109
105
|
},
|
|
106
|
+
"./autocomplete": {
|
|
107
|
+
"types": "./autocomplete/index.d.ts",
|
|
108
|
+
"default": "./fesm2022/siemens-element-ng-autocomplete.mjs"
|
|
109
|
+
},
|
|
110
110
|
"./breadcrumb": {
|
|
111
111
|
"types": "./breadcrumb/index.d.ts",
|
|
112
112
|
"default": "./fesm2022/siemens-element-ng-breadcrumb.mjs"
|
|
@@ -119,14 +119,14 @@
|
|
|
119
119
|
"types": "./card/index.d.ts",
|
|
120
120
|
"default": "./fesm2022/siemens-element-ng-card.mjs"
|
|
121
121
|
},
|
|
122
|
-
"./chat-messages": {
|
|
123
|
-
"types": "./chat-messages/index.d.ts",
|
|
124
|
-
"default": "./fesm2022/siemens-element-ng-chat-messages.mjs"
|
|
125
|
-
},
|
|
126
122
|
"./circle-status": {
|
|
127
123
|
"types": "./circle-status/index.d.ts",
|
|
128
124
|
"default": "./fesm2022/siemens-element-ng-circle-status.mjs"
|
|
129
125
|
},
|
|
126
|
+
"./chat-messages": {
|
|
127
|
+
"types": "./chat-messages/index.d.ts",
|
|
128
|
+
"default": "./fesm2022/siemens-element-ng-chat-messages.mjs"
|
|
129
|
+
},
|
|
130
130
|
"./color-picker": {
|
|
131
131
|
"types": "./color-picker/index.d.ts",
|
|
132
132
|
"default": "./fesm2022/siemens-element-ng-color-picker.mjs"
|
|
@@ -151,14 +151,14 @@
|
|
|
151
151
|
"types": "./copyright-notice/index.d.ts",
|
|
152
152
|
"default": "./fesm2022/siemens-element-ng-copyright-notice.mjs"
|
|
153
153
|
},
|
|
154
|
-
"./dashboard": {
|
|
155
|
-
"types": "./dashboard/index.d.ts",
|
|
156
|
-
"default": "./fesm2022/siemens-element-ng-dashboard.mjs"
|
|
157
|
-
},
|
|
158
154
|
"./datatable": {
|
|
159
155
|
"types": "./datatable/index.d.ts",
|
|
160
156
|
"default": "./fesm2022/siemens-element-ng-datatable.mjs"
|
|
161
157
|
},
|
|
158
|
+
"./dashboard": {
|
|
159
|
+
"types": "./dashboard/index.d.ts",
|
|
160
|
+
"default": "./fesm2022/siemens-element-ng-dashboard.mjs"
|
|
161
|
+
},
|
|
162
162
|
"./date-range-filter": {
|
|
163
163
|
"types": "./date-range-filter/index.d.ts",
|
|
164
164
|
"default": "./fesm2022/siemens-element-ng-date-range-filter.mjs"
|
package/side-panel/index.d.ts
CHANGED
|
@@ -229,7 +229,27 @@ declare class SiSidePanelComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
|
-
* An extension of MenuItem to support combined icons
|
|
232
|
+
* An extension of MenuItem to support combined icons.
|
|
233
|
+
*
|
|
234
|
+
* @deprecated Use the {@link SiSidePanelActionsComponent} instead:
|
|
235
|
+
*
|
|
236
|
+
* ```html
|
|
237
|
+
* <si-side-panel-content>
|
|
238
|
+
* <si-side-panel-actions>
|
|
239
|
+
* <button
|
|
240
|
+
* type="button"
|
|
241
|
+
* si-side-panel-action
|
|
242
|
+
* icon="element-alarm-background-filled"
|
|
243
|
+
* iconColor="status-danger"
|
|
244
|
+
* stackedIcon="element-alarm-tick"
|
|
245
|
+
* stackedIconColor="text-body"
|
|
246
|
+
* (click)="action()"
|
|
247
|
+
* >
|
|
248
|
+
* Action
|
|
249
|
+
* </button>
|
|
250
|
+
* </si-side-panel-actions>
|
|
251
|
+
* </si-side-panel-content>
|
|
252
|
+
* ```
|
|
233
253
|
*/
|
|
234
254
|
interface StatusItem extends MenuItem {
|
|
235
255
|
overlayIcon?: string;
|
|
@@ -262,6 +282,26 @@ declare class SiSidePanelContentComponent implements OnInit {
|
|
|
262
282
|
/**
|
|
263
283
|
* Status icons/actions
|
|
264
284
|
*
|
|
285
|
+
* @deprecated Use the {@link SiSidePanelActionsComponent} instead:
|
|
286
|
+
*
|
|
287
|
+
* ```html
|
|
288
|
+
* <si-side-panel-content>
|
|
289
|
+
* <si-side-panel-actions>
|
|
290
|
+
* <button
|
|
291
|
+
* type="button"
|
|
292
|
+
* si-side-panel-action
|
|
293
|
+
* icon="element-alarm-background-filled"
|
|
294
|
+
* iconColor="status-danger"
|
|
295
|
+
* stackedIcon="element-alarm-tick"
|
|
296
|
+
* stackedIconColor="text-body"
|
|
297
|
+
* (click)="action()"
|
|
298
|
+
* >
|
|
299
|
+
* Action
|
|
300
|
+
* </button>
|
|
301
|
+
* </si-side-panel-actions>
|
|
302
|
+
* </si-side-panel-content>
|
|
303
|
+
* ```
|
|
304
|
+
*
|
|
265
305
|
* @defaultValue []
|
|
266
306
|
*/
|
|
267
307
|
readonly statusActions: _angular_core.InputSignal<StatusItem[]>;
|
|
@@ -360,14 +400,84 @@ declare class SiSidePanelContentComponent implements OnInit {
|
|
|
360
400
|
toggleFullscreen(): void;
|
|
361
401
|
protected toggleSidePanel(event?: MouseEvent): void;
|
|
362
402
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiSidePanelContentComponent, never>;
|
|
363
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiSidePanelContentComponent, "si-side-panel-content", never, { "collapsibleInput": { "alias": "collapsible"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "primaryActions": { "alias": "primaryActions"; "required": false; "isSignal": true; }; "secondaryActions": { "alias": "secondaryActions"; "required": false; "isSignal": true; }; "statusActions": { "alias": "statusActions"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; "isSignal": true; }; "toggleItemLabel": { "alias": "toggleItemLabel"; "required": false; "isSignal": true; }; "enterFullscreenLabel": { "alias": "enterFullscreenLabel"; "required": false; "isSignal": true; }; "exitFullscreenLabel": { "alias": "exitFullscreenLabel"; "required": false; "isSignal": true; }; "showMobileDrawerBadge": { "alias": "showMobileDrawerBadge"; "required": false; "isSignal": true; }; "displayMode": { "alias": "displayMode"; "required": false; "isSignal": true; }; "navigateConfig": { "alias": "navigateConfig"; "required": false; "isSignal": true; }; }, { "searchEvent": "searchEvent"; }, never, ["*"], true, never>;
|
|
403
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiSidePanelContentComponent, "si-side-panel-content", never, { "collapsibleInput": { "alias": "collapsible"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "primaryActions": { "alias": "primaryActions"; "required": false; "isSignal": true; }; "secondaryActions": { "alias": "secondaryActions"; "required": false; "isSignal": true; }; "statusActions": { "alias": "statusActions"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; "isSignal": true; }; "toggleItemLabel": { "alias": "toggleItemLabel"; "required": false; "isSignal": true; }; "enterFullscreenLabel": { "alias": "enterFullscreenLabel"; "required": false; "isSignal": true; }; "exitFullscreenLabel": { "alias": "exitFullscreenLabel"; "required": false; "isSignal": true; }; "showMobileDrawerBadge": { "alias": "showMobileDrawerBadge"; "required": false; "isSignal": true; }; "displayMode": { "alias": "displayMode"; "required": false; "isSignal": true; }; "navigateConfig": { "alias": "navigateConfig"; "required": false; "isSignal": true; }; }, { "searchEvent": "searchEvent"; }, never, ["si-side-panel-actions", "*"], true, never>;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Creates an actions container for the side-panel.
|
|
408
|
+
* This action will remain visible if the side-panel is collapsed.
|
|
409
|
+
*
|
|
410
|
+
* @example
|
|
411
|
+
* ```html
|
|
412
|
+
* <si-side-panel-content>
|
|
413
|
+
* <si-side-panel-actions>
|
|
414
|
+
* <button
|
|
415
|
+
* type="button"
|
|
416
|
+
* si-side-panel-action
|
|
417
|
+
* icon="element-alarm-background-filled"
|
|
418
|
+
* iconColor="status-danger"
|
|
419
|
+
* stackedIcon="element-alarm-tick"
|
|
420
|
+
* stackedIconColor="text-body"
|
|
421
|
+
* (click)="action()"
|
|
422
|
+
* >
|
|
423
|
+
* Action
|
|
424
|
+
* </button>
|
|
425
|
+
* </si-side-panel-actions>
|
|
426
|
+
* </si-side-panel-content>
|
|
427
|
+
* ```
|
|
428
|
+
*/
|
|
429
|
+
declare class SiSidePanelActionsComponent {
|
|
430
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiSidePanelActionsComponent, never>;
|
|
431
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiSidePanelActionsComponent, "si-side-panel-actions", never, {}, {}, never, ["*"], true, never>;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Creates an action for the side-panel.
|
|
436
|
+
* This action will remain visible if the side-panel is collapsed.
|
|
437
|
+
*
|
|
438
|
+
* @example
|
|
439
|
+
* ```html
|
|
440
|
+
* <si-side-panel-content>
|
|
441
|
+
* <si-side-panel-actions>
|
|
442
|
+
* <button
|
|
443
|
+
* type="button"
|
|
444
|
+
* si-side-panel-action
|
|
445
|
+
* icon="element-alarm-background-filled"
|
|
446
|
+
* iconColor="status-danger"
|
|
447
|
+
* stackedIcon="element-alarm-tick"
|
|
448
|
+
* stackedIconColor="text-body"
|
|
449
|
+
* (click)="action()"
|
|
450
|
+
* >
|
|
451
|
+
* Action
|
|
452
|
+
* </button>
|
|
453
|
+
* </si-side-panel-actions>
|
|
454
|
+
* </si-side-panel-content>
|
|
455
|
+
* ```
|
|
456
|
+
*/
|
|
457
|
+
declare class SiSidePanelActionComponent {
|
|
458
|
+
/** Icon name for the main icon. */
|
|
459
|
+
readonly icon: _angular_core.InputSignal<string>;
|
|
460
|
+
/** CSS color class for the main icon (e.g. `'status-warning'`). */
|
|
461
|
+
readonly iconColor: _angular_core.InputSignal<string | undefined>;
|
|
462
|
+
/** Optional stacked icon name displayed on top of the main icon. */
|
|
463
|
+
readonly stackedIcon: _angular_core.InputSignal<string | undefined>;
|
|
464
|
+
/** CSS color class for the stacked icon (e.g. `'text-body'`). */
|
|
465
|
+
readonly stackedIconColor: _angular_core.InputSignal<string | undefined>;
|
|
466
|
+
/**
|
|
467
|
+
* When disabled, renders a dot separator instead of the icon and label.
|
|
468
|
+
*
|
|
469
|
+
* @defaultValue false
|
|
470
|
+
*/
|
|
471
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
472
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiSidePanelActionComponent, never>;
|
|
473
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiSidePanelActionComponent, "button[si-side-panel-action], a[si-side-panel-action]", never, { "icon": { "alias": "icon"; "required": true; "isSignal": true; }; "iconColor": { "alias": "iconColor"; "required": false; "isSignal": true; }; "stackedIcon": { "alias": "stackedIcon"; "required": false; "isSignal": true; }; "stackedIconColor": { "alias": "stackedIconColor"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
364
474
|
}
|
|
365
475
|
|
|
366
476
|
declare class SiSidePanelModule {
|
|
367
477
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiSidePanelModule, never>;
|
|
368
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<SiSidePanelModule, never, [typeof SiSidePanelComponent, typeof SiSidePanelContentComponent], [typeof SiSidePanelComponent, typeof SiSidePanelContentComponent]>;
|
|
478
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<SiSidePanelModule, never, [typeof SiSidePanelComponent, typeof SiSidePanelContentComponent, typeof SiSidePanelActionsComponent, typeof SiSidePanelActionComponent], [typeof SiSidePanelComponent, typeof SiSidePanelContentComponent, typeof SiSidePanelActionsComponent, typeof SiSidePanelActionComponent]>;
|
|
369
479
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<SiSidePanelModule>;
|
|
370
480
|
}
|
|
371
481
|
|
|
372
|
-
export { SiSidePanelComponent, SiSidePanelContentComponent, SiSidePanelModule, SiSidePanelService };
|
|
482
|
+
export { SiSidePanelActionComponent, SiSidePanelActionsComponent, SiSidePanelComponent, SiSidePanelContentComponent, SiSidePanelModule, SiSidePanelService };
|
|
373
483
|
export type { SidePanelDisplayMode, SidePanelMode, SidePanelNavigateConfig, SidePanelNavigateLink, SidePanelNavigateRouterLink, SidePanelSize, StatusItem };
|