@genesislcap/grid-pro 15.13.0 → 15.14.0-FUI-2595.2

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.
@@ -443,6 +443,16 @@ export declare class GridProBeta extends GridProBeta_base {
443
443
  classNames: string;
444
444
  agGrid: GridApi;
445
445
  gridSlot: HTMLSlotElement;
446
+ /**
447
+ * The slot ref binds asynchronously, and the queued `initGrid` skips any run that beats it. FAST
448
+ * calls this the moment the ref lands, so a grid whose options were set BEFORE the view bound
449
+ * still initialises rather than staying blank — closing the one gap that skip would leave.
450
+ *
451
+ * Guarded on `agGridOptions` as well: without options there is nothing to build, and AG Grid
452
+ * would only log "no gridOptions provided to the grid". Those arrive via a grid-options change,
453
+ * which re-runs `initGrid` on its own.
454
+ */
455
+ gridSlotChanged(): void;
446
456
  themeMode: 'light' | 'dark';
447
457
  gridComponents: {
448
458
  [componentName: string]: any;
@@ -480,6 +490,8 @@ export declare class GridProBeta extends GridProBeta_base {
480
490
  private applyingDatasourceGridOptions;
481
491
  protected initialised: boolean;
482
492
  private rehydrationAttempted;
493
+ /** A schemaUpdated that arrived before `gridApi` existed; replayed in onGridReady. */
494
+ private pendingSchemaUpdate?;
483
495
  private rootEventsListeners;
484
496
  private datasourceEventHandlers;
485
497
  private gridEventsQueue;
@@ -557,6 +569,11 @@ export declare class GridProBeta extends GridProBeta_base {
557
569
  * @internal
558
570
  */
559
571
  private handleSchemaUpdated;
572
+ /**
573
+ * Builds and applies column defs from a schema payload.
574
+ * @internal
575
+ */
576
+ private processSchemaUpdate;
560
577
  /**
561
578
  * Handles data clearing from datasource
562
579
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"grid-pro-beta.d.ts","sourceRoot":"","sources":["../../src/grid-pro-beta.ts"],"names":[],"mappings":"AAOA,OAAO,EAAyB,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/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E,WAAW,EA6KnC;IAED,OAAO,CAAC,mBAAmB;IAQ3B;;;OAGG;IACH,qBAAqB;IAIrB,OAAO,CAAC,qBAAqB;IAK7B,OAAO,CAAC,QAAQ;IAuBhB;;;;;;;;OAQG;IACG,2BAA2B,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,yBAAyB,UAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+GzF,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,gBAAgB;IAyBxB,OAAO,CAAC,eAAe;IAgBvB,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,mBAAmB;IAe3B,SAAS,CAAC,cAAc,CAAC,WAAW,EAAE,WAAW;IA4BjD,IAAI,kBAAkB,aAWrB;IAED,0BAA0B,CAAC,OAAO,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAkBtD,mBAAmB,CAAC,SAAS,KAAA,EAAE,KAAK,KAAA;CAgBrC"}
@@ -489,6 +489,16 @@ export declare class GridPro extends GridPro_base {
489
489
  classNames: string;
490
490
  agGrid: Grid;
491
491
  gridSlot: HTMLSlotElement;
492
+ /**
493
+ * The slot ref binds asynchronously, and the queued `initGrid` skips any run that beats it. FAST
494
+ * calls this the moment the ref lands, so a grid whose options were set BEFORE the view bound
495
+ * still initialises rather than staying blank — closing the one gap that skip would leave.
496
+ *
497
+ * Guarded on `agGridOptions` as well: without options there is nothing to build, and AG Grid
498
+ * would only log "no gridOptions provided to the grid". Those arrive via a grid-options change,
499
+ * which re-runs `initGrid` on its own.
500
+ */
501
+ gridSlotChanged(): void;
492
502
  themeMode: 'light' | 'dark';
493
503
  gridComponents: {
494
504
  [componentName: string]: any;
@@ -1 +1 @@
1
- {"version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WrB;IAED,0BAA0B,CAAC,OAAO,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAuBtD,mBAAmB,CAAC,SAAS,KAAA,EAAE,KAAK,KAAA;IAiBpC,OAAO,CAAC,eAAe,CAAa;IAEpC,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,eAAe;CAMxB;AAED;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,EAAE,cAA0B,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;CAEhC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;kBAM5B,CAAC"}
@@ -89,6 +89,60 @@ export declare const GridProCell: React.ForwardRefExoticComponent<
89
89
  >;
90
90
  export type GridProCellRef = GridProCellWC;
91
91
 
92
+ export declare const DateEditor: React.ForwardRefExoticComponent<
93
+ React.PropsWithChildren<
94
+ Omit<PublicOf<DateEditorWC>, 'children' | 'style'> &
95
+ HTMLWCProps & {
96
+ }
97
+ > & React.RefAttributes<DateEditorWC>
98
+ >;
99
+ export type DateEditorRef = DateEditorWC;
100
+
101
+ export declare const MultiselectEditor: React.ForwardRefExoticComponent<
102
+ React.PropsWithChildren<
103
+ Omit<PublicOf<MultiselectEditorWC>, 'children' | 'style'> &
104
+ HTMLWCProps & {
105
+ }
106
+ > & React.RefAttributes<MultiselectEditorWC>
107
+ >;
108
+ export type MultiselectEditorRef = MultiselectEditorWC;
109
+
110
+ export declare const NumberEditor: React.ForwardRefExoticComponent<
111
+ React.PropsWithChildren<
112
+ Omit<PublicOf<NumberEditorWC>, 'children' | 'style'> &
113
+ HTMLWCProps & {
114
+ }
115
+ > & React.RefAttributes<NumberEditorWC>
116
+ >;
117
+ export type NumberEditorRef = NumberEditorWC;
118
+
119
+ export declare const SelectEditor: React.ForwardRefExoticComponent<
120
+ React.PropsWithChildren<
121
+ Omit<PublicOf<SelectEditorWC>, 'children' | 'style'> &
122
+ HTMLWCProps & {
123
+ }
124
+ > & React.RefAttributes<SelectEditorWC>
125
+ >;
126
+ export type SelectEditorRef = SelectEditorWC;
127
+
128
+ export declare const StringEditor: React.ForwardRefExoticComponent<
129
+ React.PropsWithChildren<
130
+ Omit<PublicOf<StringEditorWC>, 'children' | 'style'> &
131
+ HTMLWCProps & {
132
+ }
133
+ > & React.RefAttributes<StringEditorWC>
134
+ >;
135
+ export type StringEditorRef = StringEditorWC;
136
+
137
+ export declare const GridProColumn: React.ForwardRefExoticComponent<
138
+ React.PropsWithChildren<
139
+ Omit<PublicOf<GridProColumnWC>, 'children' | 'style'> &
140
+ HTMLWCProps & {
141
+ }
142
+ > & React.RefAttributes<GridProColumnWC>
143
+ >;
144
+ export type GridProColumnRef = GridProColumnWC;
145
+
92
146
  export declare const ActionRenderer: React.ForwardRefExoticComponent<
93
147
  React.PropsWithChildren<
94
148
  Omit<PublicOf<ActionRendererWC>, 'children' | 'style'> &
@@ -161,60 +215,6 @@ export declare const AgTextRenderer: React.ForwardRefExoticComponent<
161
215
  >;
162
216
  export type AgTextRendererRef = AgTextRendererWC;
163
217
 
164
- export declare const DateEditor: React.ForwardRefExoticComponent<
165
- React.PropsWithChildren<
166
- Omit<PublicOf<DateEditorWC>, 'children' | 'style'> &
167
- HTMLWCProps & {
168
- }
169
- > & React.RefAttributes<DateEditorWC>
170
- >;
171
- export type DateEditorRef = DateEditorWC;
172
-
173
- export declare const MultiselectEditor: React.ForwardRefExoticComponent<
174
- React.PropsWithChildren<
175
- Omit<PublicOf<MultiselectEditorWC>, 'children' | 'style'> &
176
- HTMLWCProps & {
177
- }
178
- > & React.RefAttributes<MultiselectEditorWC>
179
- >;
180
- export type MultiselectEditorRef = MultiselectEditorWC;
181
-
182
- export declare const NumberEditor: React.ForwardRefExoticComponent<
183
- React.PropsWithChildren<
184
- Omit<PublicOf<NumberEditorWC>, 'children' | 'style'> &
185
- HTMLWCProps & {
186
- }
187
- > & React.RefAttributes<NumberEditorWC>
188
- >;
189
- export type NumberEditorRef = NumberEditorWC;
190
-
191
- export declare const SelectEditor: React.ForwardRefExoticComponent<
192
- React.PropsWithChildren<
193
- Omit<PublicOf<SelectEditorWC>, 'children' | 'style'> &
194
- HTMLWCProps & {
195
- }
196
- > & React.RefAttributes<SelectEditorWC>
197
- >;
198
- export type SelectEditorRef = SelectEditorWC;
199
-
200
- export declare const StringEditor: React.ForwardRefExoticComponent<
201
- React.PropsWithChildren<
202
- Omit<PublicOf<StringEditorWC>, 'children' | 'style'> &
203
- HTMLWCProps & {
204
- }
205
- > & React.RefAttributes<StringEditorWC>
206
- >;
207
- export type StringEditorRef = StringEditorWC;
208
-
209
- export declare const GridProColumn: React.ForwardRefExoticComponent<
210
- React.PropsWithChildren<
211
- Omit<PublicOf<GridProColumnWC>, 'children' | 'style'> &
212
- HTMLWCProps & {
213
- }
214
- > & React.RefAttributes<GridProColumnWC>
215
- >;
216
- export type GridProColumnRef = GridProColumnWC;
217
-
218
218
  export declare const GridProClientSideDatasource: React.ForwardRefExoticComponent<
219
219
  React.PropsWithChildren<
220
220
  Omit<PublicOf<GridProClientSideDatasourceWC>, 'children' | 'style'> &
@@ -83,10 +83,28 @@ function findDeclaredAccessor(target, key) {
83
83
  */
84
84
  export class GridProBeta extends LifecycleMixin(FoundationElement) {
85
85
  rowDataChanged(_, rowData) {
86
- if (this.initialised) {
86
+ // `initialised` flips true right after createGrid(), but `gridApi` is only assigned in the
87
+ // async onGridReady callback — so a binding push in that window would crash on an undefined
88
+ // api. Skipping is lossless: onGridReady applies `this.rowData` itself once the api exists,
89
+ // and FAST has already stored the new value on the instance before calling this handler.
90
+ if (this.initialised && this.gridApi) {
87
91
  this.gridApi.setGridOption('rowData', rowData);
88
92
  }
89
93
  }
94
+ /**
95
+ * The slot ref binds asynchronously, and the queued `initGrid` skips any run that beats it. FAST
96
+ * calls this the moment the ref lands, so a grid whose options were set BEFORE the view bound
97
+ * still initialises rather than staying blank — closing the one gap that skip would leave.
98
+ *
99
+ * Guarded on `agGridOptions` as well: without options there is nothing to build, and AG Grid
100
+ * would only log "no gridOptions provided to the grid". Those arrive via a grid-options change,
101
+ * which re-runs `initGrid` on its own.
102
+ */
103
+ gridSlotChanged() {
104
+ if (this.gridSlot && !this.initialised && this.agGridOptions) {
105
+ this.initGrid();
106
+ }
107
+ }
90
108
  getfilterModel() {
91
109
  return __awaiter(this, void 0, void 0, function* () {
92
110
  if (!this.persistFilterModelKey) {
@@ -446,10 +464,23 @@ export class GridProBeta extends LifecycleMixin(FoundationElement) {
446
464
  */
447
465
  handleSchemaUpdated(event) {
448
466
  return __awaiter(this, void 0, void 0, function* () {
449
- const { schema } = event.detail;
467
+ // Can fire before `gridApi` is ready (mid-reinit). Unlike rowData — which onGridReady
468
+ // re-applies from `this.rowData` — the schema has no other home on the instance, so
469
+ // returning here used to drop it silently and leave the grid with no columns. Stash it
470
+ // and replay in onGridReady.
450
471
  if (!this.gridApi) {
472
+ this.pendingSchemaUpdate = event.detail;
451
473
  return;
452
474
  }
475
+ yield this.processSchemaUpdate(event.detail);
476
+ });
477
+ }
478
+ /**
479
+ * Builds and applies column defs from a schema payload.
480
+ * @internal
481
+ */
482
+ processSchemaUpdate(_a) {
483
+ return __awaiter(this, arguments, void 0, function* ({ schema }) {
453
484
  // Only auto-generate columns from the datasource schema when the consumer has NOT already
454
485
  // supplied their own column defs (e.g. via `gridOptions`/`deferredGridOptions.columnDefs` or
455
486
  // `grid-pro-column` templates). Overwriting here would discard user-provided definitions —
@@ -927,7 +958,7 @@ export class GridProBeta extends LifecycleMixin(FoundationElement) {
927
958
  this.agAttributes[attrName] = attribute.value;
928
959
  });
929
960
  const { columnDefs, components, defaultColDef, getRowId, onGridReady, onFilterChanged, onFirstDataRendered } = options, rest = __rest(options, ["columnDefs", "components", "defaultColDef", "getRowId", "onGridReady", "onFilterChanged", "onFirstDataRendered"]);
930
- const derivedOptions = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, this.gridOptionsConfig), { defaultColDef: Object.assign({ enableCellChangeFlash: this.enableCellFlashing, filter: true, resizable: true, sortable: true }, defaultColDef), components: this.combineAllGridComponents(components), headerHeight: this.headerHeight, rowHeight: this.rowHeight, animateRows: false, suppressDragLeaveHidesColumns: true }), this.eventsAndCallbacks), { onGridReady: (event) => {
961
+ const derivedOptions = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, this.gridOptionsConfig), { defaultColDef: Object.assign({ enableCellChangeFlash: this.enableCellFlashing, filter: true, resizable: true, sortable: true }, defaultColDef), components: this.combineAllGridComponents(components), headerHeight: this.headerHeight, rowHeight: this.rowHeight, animateRows: false, suppressDragLeaveHidesColumns: true }), this.eventsAndCallbacks), { onGridReady: (event) => __awaiter(this, void 0, void 0, function* () {
931
962
  var _a, _b, _c;
932
963
  this.gridApi = event.api;
933
964
  if (this.gridEventsQueue.length) {
@@ -935,6 +966,22 @@ export class GridProBeta extends LifecycleMixin(FoundationElement) {
935
966
  this.addGridEventListener(type);
936
967
  });
937
968
  }
969
+ // Awaited so the columns land before rowData/columnState below — otherwise they
970
+ // would race against an empty column model. Caught because ag-grid neither awaits
971
+ // nor handles this callback's promise: a rejection (mergeAllColumnDefsAndStates
972
+ // hydrates column state) would surface as an unhandled rejection AND skip the rest
973
+ // of init — rowData, the consumer's onGridReady, the grid-ready emit. A grid with
974
+ // no columns beats one that never finishes starting.
975
+ if (this.pendingSchemaUpdate) {
976
+ const pendingSchemaUpdate = this.pendingSchemaUpdate;
977
+ this.pendingSchemaUpdate = undefined;
978
+ try {
979
+ yield this.processSchemaUpdate(pendingSchemaUpdate);
980
+ }
981
+ catch (error) {
982
+ logger.error('Grid Pro: failed to apply the pending schema update on grid ready:', error);
983
+ }
984
+ }
938
985
  if (this.rowData) {
939
986
  this.gridApi.setGridOption('rowData', this.rowData);
940
987
  }
@@ -965,7 +1012,7 @@ export class GridProBeta extends LifecycleMixin(FoundationElement) {
965
1012
  this.restoreColumnState();
966
1013
  this.restoreCachedFilterConfig();
967
1014
  this.debouncedColumnAutosize();
968
- }, onFirstDataRendered: (event) => {
1015
+ }), onFirstDataRendered: (event) => {
969
1016
  // Safety net: by now the grid columns are populated, so (re)seed the datasource's visible
970
1017
  // columns in case the initial grid-ready seed ran before columns were available.
971
1018
  this.notifyDatasourceVisibleColumns();
@@ -1029,7 +1076,12 @@ export class GridProBeta extends LifecycleMixin(FoundationElement) {
1029
1076
  }
1030
1077
  initGrid() {
1031
1078
  DOM.queueUpdate(() => {
1032
- if (this.disposed || !this.isConnected) {
1079
+ // `gridSlot` is a template ref, so it is undefined until the view binds, and this task runs
1080
+ // on the shared update queue — an options change can queue it ahead of that binding. Reading
1081
+ // `.firstChild` off it unguarded then throws from INSIDE a queued task, which the runner can
1082
+ // only report against whichever test is running. Same guard as `grid-pro.ts`; both callers
1083
+ // re-run on the next grid-options change, so skipping strands nothing.
1084
+ if (this.disposed || !this.isConnected || !this.gridSlot) {
1033
1085
  return;
1034
1086
  }
1035
1087
  if (this.initialised) {
@@ -59,6 +59,20 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
59
59
  this.classNames = classNames(agThemeTokenMapClassname(newValue), newValue);
60
60
  this.insertFontFace(newValue);
61
61
  }
62
+ /**
63
+ * The slot ref binds asynchronously, and the queued `initGrid` skips any run that beats it. FAST
64
+ * calls this the moment the ref lands, so a grid whose options were set BEFORE the view bound
65
+ * still initialises rather than staying blank — closing the one gap that skip would leave.
66
+ *
67
+ * Guarded on `agGridOptions` as well: without options there is nothing to build, and AG Grid
68
+ * would only log "no gridOptions provided to the grid". Those arrive via a grid-options change,
69
+ * which re-runs `initGrid` on its own.
70
+ */
71
+ gridSlotChanged() {
72
+ if (this.gridSlot && !this.initialised && this.agGridOptions) {
73
+ this.initGrid();
74
+ }
75
+ }
62
76
  getfilterModel() {
63
77
  return __awaiter(this, void 0, void 0, function* () {
64
78
  if (!this.persistFilterModelKey) {
@@ -1092,7 +1106,16 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
1092
1106
  }
1093
1107
  initGrid() {
1094
1108
  DOM.queueUpdate(() => {
1095
- if (this.disposed || !this.isConnected) {
1109
+ // `gridSlot` belongs in this readiness check, not just `disposed`/`isConnected`: it is a
1110
+ // template ref, so it is undefined until the view binds, and this task runs on the shared
1111
+ // update queue — an options change can queue it ahead of the binding that fills the ref.
1112
+ // Every other reader in this file already guards it; these two lines did not, so that
1113
+ // ordering threw `Cannot read properties of undefined (reading 'firstChild')` from INSIDE a
1114
+ // queued task. Such a throw is not attributable to whatever caused it: web-test-runner
1115
+ // reports it as an uncaught page exception against whichever test happens to be running,
1116
+ // which is how it surfaced — as an unrelated datasource test failing only under CI load.
1117
+ // Skipping is safe because both callers re-run on the next grid-options change.
1118
+ if (this.disposed || !this.isConnected || !this.gridSlot) {
1096
1119
  return;
1097
1120
  }
1098
1121
  if (this.initialised) {
@@ -13081,6 +13081,37 @@
13081
13081
  "isProtected": false,
13082
13082
  "isAbstract": false
13083
13083
  },
13084
+ {
13085
+ "kind": "Method",
13086
+ "canonicalReference": "@genesislcap/grid-pro!GridPro#gridSlotChanged:member(1)",
13087
+ "docComment": "/**\n * The slot ref binds asynchronously, and the queued `initGrid` skips any run that beats it. FAST calls this the moment the ref lands, so a grid whose options were set BEFORE the view bound still initialises rather than staying blank — closing the one gap that skip would leave.\n *\n * Guarded on `agGridOptions` as well: without options there is nothing to build, and AG Grid would only log \"no gridOptions provided to the grid\". Those arrive via a grid-options change, which re-runs `initGrid` on its own.\n */\n",
13088
+ "excerptTokens": [
13089
+ {
13090
+ "kind": "Content",
13091
+ "text": "gridSlotChanged(): "
13092
+ },
13093
+ {
13094
+ "kind": "Content",
13095
+ "text": "void"
13096
+ },
13097
+ {
13098
+ "kind": "Content",
13099
+ "text": ";"
13100
+ }
13101
+ ],
13102
+ "isStatic": false,
13103
+ "returnTypeTokenRange": {
13104
+ "startIndex": 1,
13105
+ "endIndex": 2
13106
+ },
13107
+ "releaseTag": "Public",
13108
+ "isProtected": false,
13109
+ "overloadIndex": 1,
13110
+ "parameters": [],
13111
+ "isOptional": false,
13112
+ "isAbstract": false,
13113
+ "name": "gridSlotChanged"
13114
+ },
13084
13115
  {
13085
13116
  "kind": "Method",
13086
13117
  "canonicalReference": "@genesislcap/grid-pro!GridPro#hasSelectedRows:member(1)",
@@ -16238,6 +16269,37 @@
16238
16269
  "isProtected": false,
16239
16270
  "isAbstract": false
16240
16271
  },
16272
+ {
16273
+ "kind": "Method",
16274
+ "canonicalReference": "@genesislcap/grid-pro!GridProBeta#gridSlotChanged:member(1)",
16275
+ "docComment": "/**\n * The slot ref binds asynchronously, and the queued `initGrid` skips any run that beats it. FAST calls this the moment the ref lands, so a grid whose options were set BEFORE the view bound still initialises rather than staying blank — closing the one gap that skip would leave.\n *\n * Guarded on `agGridOptions` as well: without options there is nothing to build, and AG Grid would only log \"no gridOptions provided to the grid\". Those arrive via a grid-options change, which re-runs `initGrid` on its own.\n */\n",
16276
+ "excerptTokens": [
16277
+ {
16278
+ "kind": "Content",
16279
+ "text": "gridSlotChanged(): "
16280
+ },
16281
+ {
16282
+ "kind": "Content",
16283
+ "text": "void"
16284
+ },
16285
+ {
16286
+ "kind": "Content",
16287
+ "text": ";"
16288
+ }
16289
+ ],
16290
+ "isStatic": false,
16291
+ "returnTypeTokenRange": {
16292
+ "startIndex": 1,
16293
+ "endIndex": 2
16294
+ },
16295
+ "releaseTag": "Beta",
16296
+ "isProtected": false,
16297
+ "overloadIndex": 1,
16298
+ "parameters": [],
16299
+ "isOptional": false,
16300
+ "isAbstract": false,
16301
+ "name": "gridSlotChanged"
16302
+ },
16241
16303
  {
16242
16304
  "kind": "Method",
16243
16305
  "canonicalReference": "@genesislcap/grid-pro!GridProBeta#hasSelectedRows:member(1)",
@@ -2229,6 +2229,16 @@ export declare class GridPro extends GridPro_base {
2229
2229
  classNames: string;
2230
2230
  agGrid: Grid;
2231
2231
  gridSlot: HTMLSlotElement;
2232
+ /**
2233
+ * The slot ref binds asynchronously, and the queued `initGrid` skips any run that beats it. FAST
2234
+ * calls this the moment the ref lands, so a grid whose options were set BEFORE the view bound
2235
+ * still initialises rather than staying blank — closing the one gap that skip would leave.
2236
+ *
2237
+ * Guarded on `agGridOptions` as well: without options there is nothing to build, and AG Grid
2238
+ * would only log "no gridOptions provided to the grid". Those arrive via a grid-options change,
2239
+ * which re-runs `initGrid` on its own.
2240
+ */
2241
+ gridSlotChanged(): void;
2232
2242
  themeMode: 'light' | 'dark';
2233
2243
  gridComponents: {
2234
2244
  [componentName: string]: any;
@@ -3072,6 +3082,16 @@ export declare class GridProBeta extends GridProBeta_base {
3072
3082
  classNames: string;
3073
3083
  agGrid: GridApi_2;
3074
3084
  gridSlot: HTMLSlotElement;
3085
+ /**
3086
+ * The slot ref binds asynchronously, and the queued `initGrid` skips any run that beats it. FAST
3087
+ * calls this the moment the ref lands, so a grid whose options were set BEFORE the view bound
3088
+ * still initialises rather than staying blank — closing the one gap that skip would leave.
3089
+ *
3090
+ * Guarded on `agGridOptions` as well: without options there is nothing to build, and AG Grid
3091
+ * would only log "no gridOptions provided to the grid". Those arrive via a grid-options change,
3092
+ * which re-runs `initGrid` on its own.
3093
+ */
3094
+ gridSlotChanged(): void;
3075
3095
  themeMode: 'light' | 'dark';
3076
3096
  gridComponents: {
3077
3097
  [componentName: string]: any;
@@ -3109,6 +3129,8 @@ export declare class GridProBeta extends GridProBeta_base {
3109
3129
  private applyingDatasourceGridOptions;
3110
3130
  protected initialised: boolean;
3111
3131
  private rehydrationAttempted;
3132
+ /** A schemaUpdated that arrived before `gridApi` existed; replayed in onGridReady. */
3133
+ private pendingSchemaUpdate?;
3112
3134
  private rootEventsListeners;
3113
3135
  private datasourceEventHandlers;
3114
3136
  private gridEventsQueue;
@@ -3186,6 +3208,11 @@ export declare class GridProBeta extends GridProBeta_base {
3186
3208
  * @internal
3187
3209
  */
3188
3210
  private handleSchemaUpdated;
3211
+ /**
3212
+ * Builds and applies column defs from a schema payload.
3213
+ * @internal
3214
+ */
3215
+ private processSchemaUpdate;
3189
3216
  /**
3190
3217
  * Handles data clearing from datasource
3191
3218
  * @internal