invensys-ng 21.3.9 → 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.9",
3
+ "version": "21.3.10",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/ulbrichFrauendorf/invensys-ng"
@@ -4539,6 +4539,8 @@ interface GridAction<T = any> {
4539
4539
  label?: string;
4540
4540
  /** Button severity/style */
4541
4541
  severity?: ISeverity$1;
4542
+ /** Shows the shared progress spinner while this action is pending. */
4543
+ loading?: boolean | ((row: T) => boolean);
4542
4544
  /** Whether the action is disabled */
4543
4545
  disabled?: boolean | ((row: T) => boolean);
4544
4546
  /** Tooltip text to display on hover */
@@ -4561,6 +4563,8 @@ interface GridDetails<TRow = any, TDetail = any> {
4561
4563
  rows: (parentRow: TRow) => TDetail[];
4562
4564
  /** Optional actions on the detail rows */
4563
4565
  actions?: GridAction<TDetail>[];
4566
+ /** Optional action column heading; an empty string hides the visible heading. */
4567
+ actionsHeader?: string;
4564
4568
  }
4565
4569
  /**
4566
4570
  * Single data object passed to `<i-table>`.
@@ -4605,6 +4609,8 @@ interface GridData<TRow = any, TDetail = any> {
4605
4609
  rows: TRow[];
4606
4610
  /** Per-row actions — each action carries its own click handler */
4607
4611
  actions?: GridAction<TRow>[];
4612
+ /** Optional action column heading; defaults to Actions. */
4613
+ actionsHeader?: string;
4608
4614
  /** Optional expandable detail sub-table rendered below each expanded row */
4609
4615
  details?: GridDetails<TRow, TDetail>;
4610
4616
  }
@@ -5026,6 +5032,7 @@ declare class ITable {
5026
5032
  * Checks if an action is disabled for a row.
5027
5033
  * @internal
5028
5034
  */
5035
+ isActionLoading(action: GridAction, row: any): boolean;
5029
5036
  isActionDisabled(action: GridAction, row: any): boolean;
5030
5037
  /**
5031
5038
  * Checks if an action is visible for a row.