invensys-ng 21.3.8 → 21.3.10

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,6 +1,6 @@
1
1
  {
2
2
  "name": "invensys-ng",
3
- "version": "21.3.8",
3
+ "version": "21.3.10",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/ulbrichFrauendorf/invensys-ng"
@@ -0,0 +1,46 @@
1
+ @use './variables' as vars;
2
+
3
+ // Shared message/tile layout. Keep Whisper and workflow tiles visually aligned.
4
+ @mixin frame() {
5
+ border-radius: vars.$borderRadius;
6
+ box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
7
+ overflow: hidden;
8
+ min-height: 56px;
9
+ display: flex;
10
+ align-items: center;
11
+ }
12
+ @mixin content() {
13
+ display: flex;
14
+ align-items: center;
15
+ padding: 12px 16px;
16
+ width: 100%;
17
+ gap: 12px;
18
+ min-height: 56px;
19
+ }
20
+ @mixin icon() {
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ flex-shrink: 0;
25
+ margin-top: 2px;
26
+ i { font-size: 20px; }
27
+ }
28
+ @mixin text() {
29
+ flex: 1;
30
+ display: flex;
31
+ flex-direction: column;
32
+ gap: 10px;
33
+ min-width: 0;
34
+ }
35
+ @mixin summary() {
36
+ font-weight: 600;
37
+ font-size: 1em;
38
+ line-height: 1.4;
39
+ word-wrap: break-word;
40
+ }
41
+ @mixin detail() {
42
+ font-size: 0.9em;
43
+ line-height: 1.4;
44
+ word-wrap: break-word;
45
+ opacity: 0.9;
46
+ }
@@ -220,6 +220,10 @@ declare class IButton implements AfterViewInit {
220
220
  * @default 'button'
221
221
  */
222
222
  type: 'button' | 'submit' | 'reset';
223
+ /** Accessible name for icon-only actions. Visible text is used when omitted. */
224
+ ariaLabel?: string;
225
+ /** Expansion state for a button that reveals or hides content. */
226
+ ariaExpanded: boolean | null;
223
227
  /**
224
228
  * Whether the button is disabled
225
229
  * @default false
@@ -287,7 +291,7 @@ declare class IButton implements AfterViewInit {
287
291
  */
288
292
  focus(): void;
289
293
  static ɵfac: i0.ɵɵFactoryDeclaration<IButton, never>;
290
- static ɵcmp: i0.ɵɵComponentDeclaration<IButton, "i-button", never, { "severity": { "alias": "severity"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "raised": { "alias": "raised"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "fluid": { "alias": "fluid"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "clicked": "clicked"; }, never, ["*"], true, never>;
294
+ static ɵcmp: i0.ɵɵComponentDeclaration<IButton, "i-button", never, { "severity": { "alias": "severity"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "raised": { "alias": "raised"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "fluid": { "alias": "fluid"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "clicked": "clicked"; }, never, ["*"], true, never>;
291
295
  }
292
296
 
293
297
  /**
@@ -1452,12 +1456,16 @@ declare class IDialogActions {
1452
1456
  showCancel: boolean;
1453
1457
  showSubmit: boolean;
1454
1458
  submitDisabled: boolean;
1459
+ /** Show progress and prevent repeated submission while a request is pending. */
1460
+ submitLoading: boolean;
1461
+ /** Use an outlined action when the dialog is secondary to another workflow. */
1462
+ submitOutlined: boolean;
1455
1463
  cancelEvent: EventEmitter<void>;
1456
1464
  submitEvent: EventEmitter<void>;
1457
1465
  onCancel(): void;
1458
1466
  onSubmit(): void;
1459
1467
  static ɵfac: i0.ɵɵFactoryDeclaration<IDialogActions, never>;
1460
- static ɵcmp: i0.ɵɵComponentDeclaration<IDialogActions, "i-dialog-actions", never, { "submitLabel": { "alias": "submitLabel"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "severity": { "alias": "severity"; "required": false; }; "showCancel": { "alias": "showCancel"; "required": false; }; "showSubmit": { "alias": "showSubmit"; "required": false; }; "submitDisabled": { "alias": "submitDisabled"; "required": false; }; }, { "cancelEvent": "cancelEvent"; "submitEvent": "submitEvent"; }, never, never, true, never>;
1468
+ static ɵcmp: i0.ɵɵComponentDeclaration<IDialogActions, "i-dialog-actions", never, { "submitLabel": { "alias": "submitLabel"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "severity": { "alias": "severity"; "required": false; }; "showCancel": { "alias": "showCancel"; "required": false; }; "showSubmit": { "alias": "showSubmit"; "required": false; }; "submitDisabled": { "alias": "submitDisabled"; "required": false; }; "submitLoading": { "alias": "submitLoading"; "required": false; }; "submitOutlined": { "alias": "submitOutlined"; "required": false; }; }, { "cancelEvent": "cancelEvent"; "submitEvent": "submitEvent"; }, never, never, true, never>;
1461
1469
  }
1462
1470
 
1463
1471
  type IDividerAlign = 'start' | 'center' | 'end';
@@ -4531,6 +4539,8 @@ interface GridAction<T = any> {
4531
4539
  label?: string;
4532
4540
  /** Button severity/style */
4533
4541
  severity?: ISeverity$1;
4542
+ /** Shows the shared progress spinner while this action is pending. */
4543
+ loading?: boolean | ((row: T) => boolean);
4534
4544
  /** Whether the action is disabled */
4535
4545
  disabled?: boolean | ((row: T) => boolean);
4536
4546
  /** Tooltip text to display on hover */
@@ -4553,6 +4563,8 @@ interface GridDetails<TRow = any, TDetail = any> {
4553
4563
  rows: (parentRow: TRow) => TDetail[];
4554
4564
  /** Optional actions on the detail rows */
4555
4565
  actions?: GridAction<TDetail>[];
4566
+ /** Optional action column heading; an empty string hides the visible heading. */
4567
+ actionsHeader?: string;
4556
4568
  }
4557
4569
  /**
4558
4570
  * Single data object passed to `<i-table>`.
@@ -4597,6 +4609,8 @@ interface GridData<TRow = any, TDetail = any> {
4597
4609
  rows: TRow[];
4598
4610
  /** Per-row actions — each action carries its own click handler */
4599
4611
  actions?: GridAction<TRow>[];
4612
+ /** Optional action column heading; defaults to Actions. */
4613
+ actionsHeader?: string;
4600
4614
  /** Optional expandable detail sub-table rendered below each expanded row */
4601
4615
  details?: GridDetails<TRow, TDetail>;
4602
4616
  }
@@ -5018,6 +5032,7 @@ declare class ITable {
5018
5032
  * Checks if an action is disabled for a row.
5019
5033
  * @internal
5020
5034
  */
5035
+ isActionLoading(action: GridAction, row: any): boolean;
5021
5036
  isActionDisabled(action: GridAction, row: any): boolean;
5022
5037
  /**
5023
5038
  * Checks if an action is visible for a row.