@skyux/ag-grid 15.1.0 → 15.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/ag-grid",
3
- "version": "15.1.0",
3
+ "version": "15.3.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -36,18 +36,18 @@
36
36
  "@angular/common": "^22.1.2",
37
37
  "@angular/core": "^22.1.2",
38
38
  "@angular/forms": "^22.1.2",
39
- "@skyux/autonumeric": "15.1.0",
40
- "@skyux/core": "15.1.0",
41
- "@skyux/data-manager": "15.1.0",
42
- "@skyux/datetime": "15.1.0",
43
- "@skyux/forms": "15.1.0",
44
- "@skyux/i18n": "15.1.0",
45
- "@skyux/icon": "15.1.0",
46
- "@skyux/indicators": "15.1.0",
47
- "@skyux/layout": "15.1.0",
48
- "@skyux/lookup": "15.1.0",
49
- "@skyux/popovers": "15.1.0",
50
- "@skyux/theme": "15.1.0",
39
+ "@skyux/autonumeric": "15.3.0",
40
+ "@skyux/core": "15.3.0",
41
+ "@skyux/data-manager": "15.3.0",
42
+ "@skyux/datetime": "15.3.0",
43
+ "@skyux/forms": "15.3.0",
44
+ "@skyux/i18n": "15.3.0",
45
+ "@skyux/icon": "15.3.0",
46
+ "@skyux/indicators": "15.3.0",
47
+ "@skyux/layout": "15.3.0",
48
+ "@skyux/lookup": "15.3.0",
49
+ "@skyux/popovers": "15.3.0",
50
+ "@skyux/theme": "15.3.0",
51
51
  "ag-grid-angular": "^36.1.0",
52
52
  "ag-grid-community": "^36.1.0"
53
53
  },
@@ -1,5 +1,6 @@
1
1
  import { HarnessPredicate } from '@angular/cdk/testing';
2
2
  import { SkyHarnessFilters, SkyComponentHarness } from '@skyux/core/testing';
3
+ import { SkyInlineDeleteHarness } from '@skyux/layout/testing';
3
4
  import { GridApi } from 'ag-grid-community';
4
5
  import { Provider } from '@angular/core';
5
6
 
@@ -38,26 +39,31 @@ declare class SkyAgGridWrapperHarness extends SkyComponentHarness {
38
39
  * Retrieves the header names of the currently displayed columns.
39
40
  */
40
41
  getDisplayedColumnHeaderNames(): Promise<string[]>;
42
+ /**
43
+ * Gets the inline delete confirmation shown for a row by the
44
+ * `skyAgGridRowDelete` directive, or `null` if the row is not showing one.
45
+ * @param rowId The ID of the row.
46
+ */
47
+ getRowInlineDelete(rowId: string): Promise<SkyInlineDeleteHarness | null>;
41
48
  /**
42
49
  * @internal
43
50
  */
44
51
  getGridApi(): Promise<GridApi>;
45
52
  /**
46
- * @internal
47
- * The number of `modelUpdated` render passes AG Grid has completed for
48
- * this grid so far. Callers that need to observe the *next* render (e.g.
49
- * after triggering a sort) should capture this before acting, then pass it
50
- * to `waitUntilRendered()`.
53
+ * Retrieves the formatted values of a column for the rows the grid currently
54
+ * displays, in display order.
55
+ * @param columnId The ID of the column.
51
56
  */
52
- getRenderCount(): Promise<number>;
57
+ getDisplayedCellValues(columnId: string): Promise<string[]>;
53
58
  /**
54
- * @internal
55
- * Waits, on a bounded wall-clock poll, until the grid has completed more
56
- * than `afterCount` render passes. Defaults to `0`, i.e. "has rendered at
57
- * least once" - use this instead of `whenStable()`/`waitForTasksOutsideAngular()`,
58
- * since AG Grid 36 schedules its render work outside the Angular zone.
59
+ * Waits until the grid finishes rendering. Use this instead of
60
+ * `fixture.whenStable()`, since AG Grid renders outside the Angular zone.
61
+ * Requires `provideSkyAgGridTesting()`; without it, this resolves without waiting.
62
+ * @param action An action that causes the grid to render again, such as
63
+ * entering search text. When provided, the action runs first, and this waits
64
+ * for the render it causes.
59
65
  */
60
- waitUntilRendered(afterCount?: number): Promise<void>;
66
+ waitUntilRendered(action?: () => Promise<void> | void): Promise<void>;
61
67
  }
62
68
 
63
69
  /**
@@ -27,11 +27,12 @@ declare class SkyAgGridWrapperComponent implements AfterContentInit, AfterViewIn
27
27
  protected readonly beforeAnchorId: string;
28
28
  protected readonly gridId: string;
29
29
  /**
30
- * Set by SkyAgGridDataManagerAdapterDirective to hand sticky-header duty
31
- * to the data manager's own viewkeeper. Survives grid recreation, unlike
32
- * a direct write to `viewkeeperClasses`.
30
+ * Whether to stop keeping the column headers visible while the page scrolls,
31
+ * for a host that keeps them visible itself. This is applied when the grid
32
+ * initializes.
33
33
  * @internal
34
34
  */
35
+ readonly viewkeeperDisabled: i0.InputSignalWithTransform<boolean, unknown>;
35
36
  readonly viewkeeperSuppressed: i0.WritableSignal<boolean>;
36
37
  /**
37
38
  * @internal
@@ -52,7 +53,7 @@ declare class SkyAgGridWrapperComponent implements AfterContentInit, AfterViewIn
52
53
  onGridKeydown(event: KeyboardEvent): void;
53
54
  onAnchorFocus(event: FocusEvent): void;
54
55
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyAgGridWrapperComponent, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridWrapperComponent, "sky-ag-grid-wrapper", never, { "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "minHeight": { "alias": "minHeight"; "required": false; "isSignal": true; }; }, {}, ["agGrid"], ["*"], true, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyAgGridWrapperComponent, "sky-ag-grid-wrapper", never, { "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "minHeight": { "alias": "minHeight"; "required": false; "isSignal": true; }; "viewkeeperDisabled": { "alias": "viewkeeperDisabled"; "required": false; "isSignal": true; }; }, {}, ["agGrid"], ["*"], true, never>;
56
57
  }
57
58
 
58
59
  /**