@akcelik/strct 0.5.27 → 0.5.29

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": "@akcelik/strct",
3
- "version": "0.5.27",
3
+ "version": "0.5.29",
4
4
  "description": "UIStruct — a standalone Angular component library with a tokenised, multi-palette theme system, built for datacenter / infrastructure management UIs.",
5
5
  "author": "Serkan Akcelik <serkan.akcelik@gmail.com>",
6
6
  "license": "MIT",
@@ -1485,6 +1485,10 @@ declare class StrctDatagrid {
1485
1485
  readonly resizable: _angular_core.InputSignalWithTransform<boolean, unknown>;
1486
1486
  /** Show a column-chooser dropdown in the footer. */
1487
1487
  readonly columnChooser: _angular_core.InputSignalWithTransform<boolean, unknown>;
1488
+ /** Show a refresh button in the footer. */
1489
+ readonly sync: _angular_core.InputSignalWithTransform<boolean, unknown>;
1490
+ /** Disable all footer action buttons (sync, column chooser, etc.). */
1491
+ readonly footerActionsDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
1488
1492
  /**
1489
1493
  * Stable row identity (property key or function). Set this for live-refreshing
1490
1494
  * data so selection, expansion and the active detail row survive re-fetches
@@ -1493,6 +1497,8 @@ declare class StrctDatagrid {
1493
1497
  readonly rowId: _angular_core.InputSignal<StrctRowId | null>;
1494
1498
  /** Emitted when the selection changes. */
1495
1499
  readonly selectionChange: _angular_core.OutputEmitterRef<StrctRow[]>;
1500
+ /** Emitted when the refresh button is clicked. */
1501
+ readonly syncChange: _angular_core.OutputEmitterRef<void>;
1496
1502
  protected readonly detailDef: _angular_core.Signal<StrctRowDetailDef | undefined>;
1497
1503
  protected readonly actionBarDef: _angular_core.Signal<StrctDatagridActionBar | undefined>;
1498
1504
  private readonly cellDefs;
@@ -1550,7 +1556,7 @@ declare class StrctDatagrid {
1550
1556
  private commitSelection;
1551
1557
  private compare;
1552
1558
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctDatagrid, never>;
1553
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctDatagrid, "strct-datagrid", never, { "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "rows": { "alias": "rows"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "detailPane": { "alias": "detailPane"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "columnChooser": { "alias": "columnChooser"; "required": false; "isSignal": true; }; "rowId": { "alias": "rowId"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; }, ["detailDef", "actionBarDef", "cellDefs"], ["[strctDatagridActionBar]"], true, never>;
1559
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctDatagrid, "strct-datagrid", never, { "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "rows": { "alias": "rows"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "detailPane": { "alias": "detailPane"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "columnChooser": { "alias": "columnChooser"; "required": false; "isSignal": true; }; "sync": { "alias": "sync"; "required": false; "isSignal": true; }; "footerActionsDisabled": { "alias": "footerActionsDisabled"; "required": false; "isSignal": true; }; "rowId": { "alias": "rowId"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; "syncChange": "syncChange"; }, ["detailDef", "actionBarDef", "cellDefs"], ["[strctDatagridActionBar]"], true, never>;
1554
1560
  }
1555
1561
 
1556
1562
  /** Timeline node state colors. */