@genesislcap/grid-pro 15.63.0 → 15.64.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.
Files changed (44) hide show
  1. package/.cursor/rules/ag-embedded-components.mdc +1 -0
  2. package/dist/custom-elements.json +12848 -12340
  3. package/dist/dts/column-selection/column-selection.styles.d.ts.map +1 -1
  4. package/dist/dts/datasource/base.datasource.d.ts +2 -1
  5. package/dist/dts/datasource/base.datasource.d.ts.map +1 -1
  6. package/dist/dts/grid-components.d.ts +9 -0
  7. package/dist/dts/grid-components.d.ts.map +1 -1
  8. package/dist/dts/grid-pro.d.ts +58 -11
  9. package/dist/dts/grid-pro.d.ts.map +1 -1
  10. package/dist/dts/grid-pro.template.d.ts.map +1 -1
  11. package/dist/dts/grid-pro.types.d.ts +4 -7
  12. package/dist/dts/grid-pro.types.d.ts.map +1 -1
  13. package/dist/dts/index.d.ts +1 -0
  14. package/dist/dts/index.d.ts.map +1 -1
  15. package/dist/dts/react.d.ts +68 -58
  16. package/dist/dts/status-bar/index.d.ts +5 -0
  17. package/dist/dts/status-bar/index.d.ts.map +1 -0
  18. package/dist/dts/status-bar/resolve-status-bar-panels.d.ts +43 -0
  19. package/dist/dts/status-bar/resolve-status-bar-panels.d.ts.map +1 -0
  20. package/dist/dts/status-bar/status-bar.d.ts +439 -0
  21. package/dist/dts/status-bar/status-bar.d.ts.map +1 -0
  22. package/dist/dts/status-bar/status-bar.styles.d.ts +6 -0
  23. package/dist/dts/status-bar/status-bar.styles.d.ts.map +1 -0
  24. package/dist/dts/status-bar/status-bar.template.d.ts +12 -0
  25. package/dist/dts/status-bar/status-bar.template.d.ts.map +1 -0
  26. package/dist/esm/column-selection/column-selection.styles.js +26 -5
  27. package/dist/esm/datasource/base.datasource.js +3 -3
  28. package/dist/esm/grid-components.js +2 -0
  29. package/dist/esm/grid-pro.js +144 -113
  30. package/dist/esm/grid-pro.styles.js +1 -1
  31. package/dist/esm/grid-pro.template.js +23 -12
  32. package/dist/esm/grid-pro.types.js +2 -3
  33. package/dist/esm/index.js +1 -0
  34. package/dist/esm/status-bar/index.js +4 -0
  35. package/dist/esm/status-bar/resolve-status-bar-panels.js +67 -0
  36. package/dist/esm/status-bar/status-bar.js +171 -0
  37. package/dist/esm/status-bar/status-bar.styles.js +49 -0
  38. package/dist/esm/status-bar/status-bar.template.js +16 -0
  39. package/dist/esm/status-bar-components/row-count.status-bar.js +2 -1
  40. package/dist/grid-pro.api.json +1672 -488
  41. package/dist/grid-pro.d.ts +569 -18
  42. package/dist/react.cjs +46 -39
  43. package/dist/react.mjs +38 -32
  44. package/package.json +12 -12
@@ -0,0 +1,439 @@
1
+ import { FoundationElement } from '@microsoft/fast-foundation';
2
+ import type { GridApi, IStatusPanelComp } from 'ag-grid-community';
3
+ import { GridProStatusBarConfig } from '../grid-pro.types';
4
+ import { type StatusBarPanelHost } from './resolve-status-bar-panels';
5
+ declare const GridProStatusBar_base: (new (...args: any[]) => {
6
+ #_container: import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
7
+ #_latestTokenCode: string;
8
+ #_hasFirstLoaded: boolean;
9
+ #_cleanupTimeout: NodeJS.Timeout;
10
+ #_shouldForceLifecycle: boolean;
11
+ #_blockedDisconnectSurvivedGracePeriod: boolean;
12
+ cloneNode(deep?: boolean): Node;
13
+ deepClone(): Node;
14
+ get shouldRunDisconnect(): boolean;
15
+ get shouldRunConnect(): boolean;
16
+ #_blockLifecycleDueToTokenChange(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
17
+ #_tryFindContainingLayout(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
18
+ connectedCallback(): void;
19
+ readonly $fastController: import("@microsoft/fast-element").Controller;
20
+ $emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
21
+ disconnectedCallback(): void;
22
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
23
+ accessKey: string;
24
+ readonly accessKeyLabel: string;
25
+ autocapitalize: string;
26
+ autocorrect: boolean;
27
+ dir: string;
28
+ draggable: boolean;
29
+ hidden: boolean;
30
+ inert: boolean;
31
+ innerText: string;
32
+ lang: string;
33
+ readonly offsetHeight: number;
34
+ readonly offsetLeft: number;
35
+ readonly offsetParent: Element | null;
36
+ readonly offsetTop: number;
37
+ readonly offsetWidth: number;
38
+ outerText: string;
39
+ popover: string | null;
40
+ spellcheck: boolean;
41
+ title: string;
42
+ translate: boolean;
43
+ writingSuggestions: string;
44
+ attachInternals(): ElementInternals;
45
+ click(): void;
46
+ hidePopover(): void;
47
+ showPopover(): void;
48
+ togglePopover(options?: boolean): boolean;
49
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
50
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
51
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
52
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
53
+ readonly attributes: NamedNodeMap;
54
+ get classList(): DOMTokenList;
55
+ set classList(value: string): any;
56
+ className: string;
57
+ readonly clientHeight: number;
58
+ readonly clientLeft: number;
59
+ readonly clientTop: number;
60
+ readonly clientWidth: number;
61
+ readonly currentCSSZoom: number;
62
+ id: string;
63
+ innerHTML: string;
64
+ readonly localName: string;
65
+ readonly namespaceURI: string | null;
66
+ onfullscreenchange: (this: Element, ev: Event) => any;
67
+ onfullscreenerror: (this: Element, ev: Event) => any;
68
+ outerHTML: string;
69
+ readonly ownerDocument: Document;
70
+ get part(): DOMTokenList;
71
+ set part(value: string): any;
72
+ readonly prefix: string | null;
73
+ readonly scrollHeight: number;
74
+ scrollLeft: number;
75
+ scrollTop: number;
76
+ readonly scrollWidth: number;
77
+ readonly shadowRoot: ShadowRoot | null;
78
+ slot: string;
79
+ readonly tagName: string;
80
+ attachShadow(init: ShadowRootInit): ShadowRoot;
81
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
82
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K];
83
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K];
84
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K];
85
+ closest<E extends Element = Element>(selectors: string): E;
86
+ computedStyleMap(): StylePropertyMapReadOnly;
87
+ getAttribute(qualifiedName: string): string | null;
88
+ getAttributeNS(namespace: string | null, localName: string): string | null;
89
+ getAttributeNames(): string[];
90
+ getAttributeNode(qualifiedName: string): Attr | null;
91
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
92
+ getBoundingClientRect(): DOMRect;
93
+ getClientRects(): DOMRectList;
94
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
95
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
96
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
97
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
98
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
99
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
100
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
101
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
102
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
103
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
104
+ getHTML(options?: GetHTMLOptions): string;
105
+ hasAttribute(qualifiedName: string): boolean;
106
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
107
+ hasAttributes(): boolean;
108
+ hasPointerCapture(pointerId: number): boolean;
109
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
110
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
111
+ insertAdjacentText(where: InsertPosition, data: string): void;
112
+ matches(selectors: string): boolean;
113
+ releasePointerCapture(pointerId: number): void;
114
+ removeAttribute(qualifiedName: string): void;
115
+ removeAttributeNS(namespace: string | null, localName: string): void;
116
+ removeAttributeNode(attr: Attr): Attr;
117
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
118
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
119
+ scroll(options?: ScrollToOptions): void;
120
+ scroll(x: number, y: number): void;
121
+ scrollBy(options?: ScrollToOptions): void;
122
+ scrollBy(x: number, y: number): void;
123
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
124
+ scrollTo(options?: ScrollToOptions): void;
125
+ scrollTo(x: number, y: number): void;
126
+ setAttribute(qualifiedName: string, value: string): void;
127
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
128
+ setAttributeNode(attr: Attr): Attr | null;
129
+ setAttributeNodeNS(attr: Attr): Attr | null;
130
+ setHTMLUnsafe(html: string): void;
131
+ setPointerCapture(pointerId: number): void;
132
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
133
+ webkitMatchesSelector(selectors: string): boolean;
134
+ textContent: string;
135
+ readonly baseURI: string;
136
+ readonly childNodes: NodeListOf<ChildNode>;
137
+ readonly firstChild: ChildNode | null;
138
+ readonly isConnected: boolean;
139
+ readonly lastChild: ChildNode | null;
140
+ readonly nextSibling: ChildNode | null;
141
+ readonly nodeName: string;
142
+ readonly nodeType: number;
143
+ nodeValue: string | null;
144
+ readonly parentElement: HTMLElement | null;
145
+ readonly parentNode: ParentNode | null;
146
+ readonly previousSibling: ChildNode | null;
147
+ appendChild<T_1 extends Node>(node: T_1): T_1;
148
+ compareDocumentPosition(other: Node): number;
149
+ contains(other: Node | null): boolean;
150
+ getRootNode(options?: GetRootNodeOptions): Node;
151
+ hasChildNodes(): boolean;
152
+ insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
153
+ isDefaultNamespace(namespace: string | null): boolean;
154
+ isEqualNode(otherNode: Node | null): boolean;
155
+ isSameNode(otherNode: Node | null): boolean;
156
+ lookupNamespaceURI(prefix: string | null): string | null;
157
+ lookupPrefix(namespace: string | null): string | null;
158
+ normalize(): void;
159
+ removeChild<T_1 extends Node>(child: T_1): T_1;
160
+ replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
161
+ readonly ELEMENT_NODE: 1;
162
+ readonly ATTRIBUTE_NODE: 2;
163
+ readonly TEXT_NODE: 3;
164
+ readonly CDATA_SECTION_NODE: 4;
165
+ readonly ENTITY_REFERENCE_NODE: 5;
166
+ readonly ENTITY_NODE: 6;
167
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
168
+ readonly COMMENT_NODE: 8;
169
+ readonly DOCUMENT_NODE: 9;
170
+ readonly DOCUMENT_TYPE_NODE: 10;
171
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
172
+ readonly NOTATION_NODE: 12;
173
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
174
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
175
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
176
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
177
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
178
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
179
+ dispatchEvent(event: Event): boolean;
180
+ ariaActiveDescendantElement: Element | null;
181
+ ariaAtomic: string | null;
182
+ ariaAutoComplete: string | null;
183
+ ariaBrailleLabel: string | null;
184
+ ariaBrailleRoleDescription: string | null;
185
+ ariaBusy: string | null;
186
+ ariaChecked: string | null;
187
+ ariaColCount: string | null;
188
+ ariaColIndex: string | null;
189
+ ariaColIndexText: string | null;
190
+ ariaColSpan: string | null;
191
+ ariaControlsElements: ReadonlyArray<Element> | null;
192
+ ariaCurrent: string | null;
193
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
194
+ ariaDescription: string | null;
195
+ ariaDetailsElements: ReadonlyArray<Element> | null;
196
+ ariaDisabled: string | null;
197
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
198
+ ariaExpanded: string | null;
199
+ ariaFlowToElements: ReadonlyArray<Element> | null;
200
+ ariaHasPopup: string | null;
201
+ ariaHidden: string | null;
202
+ ariaInvalid: string | null;
203
+ ariaKeyShortcuts: string | null;
204
+ ariaLabel: string | null;
205
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
206
+ ariaLevel: string | null;
207
+ ariaLive: string | null;
208
+ ariaModal: string | null;
209
+ ariaMultiLine: string | null;
210
+ ariaMultiSelectable: string | null;
211
+ ariaOrientation: string | null;
212
+ ariaOwnsElements: ReadonlyArray<Element> | null;
213
+ ariaPlaceholder: string | null;
214
+ ariaPosInSet: string | null;
215
+ ariaPressed: string | null;
216
+ ariaReadOnly: string | null;
217
+ ariaRelevant: string | null;
218
+ ariaRequired: string | null;
219
+ ariaRoleDescription: string | null;
220
+ ariaRowCount: string | null;
221
+ ariaRowIndex: string | null;
222
+ ariaRowIndexText: string | null;
223
+ ariaRowSpan: string | null;
224
+ ariaSelected: string | null;
225
+ ariaSetSize: string | null;
226
+ ariaSort: string | null;
227
+ ariaValueMax: string | null;
228
+ ariaValueMin: string | null;
229
+ ariaValueNow: string | null;
230
+ ariaValueText: string | null;
231
+ role: string | null;
232
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
233
+ getAnimations(options?: GetAnimationsOptions): Animation[];
234
+ after(...nodes: (Node | string)[]): void;
235
+ before(...nodes: (Node | string)[]): void;
236
+ remove(): void;
237
+ replaceWith(...nodes: (Node | string)[]): void;
238
+ readonly nextElementSibling: Element | null;
239
+ readonly previousElementSibling: Element | null;
240
+ readonly childElementCount: number;
241
+ readonly children: HTMLCollection;
242
+ readonly firstElementChild: Element | null;
243
+ readonly lastElementChild: Element | null;
244
+ append(...nodes: (Node | string)[]): void;
245
+ prepend(...nodes: (Node | string)[]): void;
246
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
247
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
248
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
249
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
250
+ querySelector<E extends Element = Element>(selectors: string): E | null;
251
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
252
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
253
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
254
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
255
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
256
+ replaceChildren(...nodes: (Node | string)[]): void;
257
+ readonly assignedSlot: HTMLSlotElement | null;
258
+ readonly attributeStyleMap: StylePropertyMap;
259
+ get style(): CSSStyleDeclaration;
260
+ set style(cssText: string): any;
261
+ contentEditable: string;
262
+ enterKeyHint: string;
263
+ inputMode: string;
264
+ readonly isContentEditable: boolean;
265
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
266
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
267
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
268
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
269
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
270
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
271
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
272
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
273
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
274
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
275
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
277
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
278
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
279
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
280
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
281
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
282
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
283
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
284
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
285
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
286
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
287
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
288
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
289
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
290
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
291
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
292
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
293
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
294
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
295
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
296
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
297
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
298
+ onerror: OnErrorEventHandler;
299
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
300
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
301
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
302
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
303
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
304
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
305
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
306
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
307
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
308
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
309
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
310
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
311
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
312
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
313
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
314
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
315
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
316
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
317
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
318
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
319
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
320
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
321
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
322
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
323
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
324
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
325
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
326
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
327
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
328
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
329
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
330
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
331
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
332
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
333
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
334
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
335
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
336
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
337
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
338
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
339
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
340
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
341
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
342
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
344
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
345
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
346
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
347
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
348
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
349
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
350
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
351
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
352
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
353
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
354
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
355
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
356
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
357
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
358
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
359
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
360
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
361
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
362
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
363
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
364
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
365
+ autofocus: boolean;
366
+ readonly dataset: DOMStringMap;
367
+ nonce?: string;
368
+ tabIndex: number;
369
+ blur(): void;
370
+ focus(options?: FocusOptions): void;
371
+ }) & typeof FoundationElement;
372
+ /**
373
+ * Status bar under the grid. Mounts the existing `IStatusPanelComp` panels.
374
+ *
375
+ * @public
376
+ * @remarks
377
+ * HTML Element: \<%%prefix%%-grid-pro-status-bar\>
378
+ *
379
+ * @tagname %%prefix%%-grid-pro-status-bar
380
+ */
381
+ export declare class GridProStatusBar extends GridProStatusBar_base {
382
+ /** Grid Pro host that owns the api, datasource, and `statusBarConfig`. */
383
+ gridHost: StatusBarPanelHost | null;
384
+ /** Optional explicit AG grid API (v36). Falls back to `gridHost.gridApi` when present. */
385
+ gridApi: GridApi | null;
386
+ /**
387
+ * Panel config. Grid Pro binds its own `statusBarConfig` here.
388
+ * When unset, `gridHost.statusBarConfig` is used.
389
+ */
390
+ statusBarConfig: GridProStatusBarConfig | null;
391
+ /** @internal */
392
+ leftEl: HTMLElement;
393
+ /** @internal */
394
+ rightEl: HTMLElement;
395
+ private readonly panels;
396
+ private readonly warnedPanelTypes;
397
+ gridHostChanged(): void;
398
+ gridApiChanged(): void;
399
+ statusBarConfigChanged(): void;
400
+ leftElChanged(): void;
401
+ rightElChanged(): void;
402
+ /**
403
+ * Rebuilds the mounted panels from the current host / api / config.
404
+ * @public
405
+ */
406
+ syncPanels(): void;
407
+ /**
408
+ * Returns a mounted panel by type.
409
+ * @public
410
+ */
411
+ getStatusPanel(key: string): IStatusPanelComp | undefined;
412
+ /**
413
+ * Destroys the mounted panels. Call before the grid api is destroyed.
414
+ * @internal
415
+ */
416
+ releasePanels(): void;
417
+ connectedCallback(): void;
418
+ disconnectedCallback(): void;
419
+ private resolveApi;
420
+ private mountPanel;
421
+ }
422
+ /**
423
+ * Foundation Grid Pro Status Bar registration.
424
+ *
425
+ * @public
426
+ * @remarks
427
+ * HTML Element: \<foundation-grid-pro-status-bar\>
428
+ */
429
+ export declare const foundationGridProStatusBar: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
430
+ baseName: string;
431
+ template: import("@microsoft/fast-element").ViewTemplate<GridProStatusBar, any>;
432
+ styles: import("@microsoft/fast-element").ElementStyles;
433
+ }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
434
+ baseName: string;
435
+ template: import("@microsoft/fast-element").ViewTemplate<GridProStatusBar, any>;
436
+ styles: import("@microsoft/fast-element").ElementStyles;
437
+ }, typeof GridProStatusBar>;
438
+ export {};
439
+ //# sourceMappingURL=status-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status-bar.d.ts","sourceRoot":"","sources":["../../../src/status-bar/status-bar.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,gBAAgB,EAAsB,MAAM,mBAAmB,CAAC;AACvF,OAAO,EAAE,sBAAsB,EAAyB,MAAM,mBAAmB,CAAC;AAQlF,OAAO,EAGL,KAAK,kBAAkB,EACxB,MAAM,6BAA6B,CAAC;;;;;;;;kBA6GjC,CAAA;;;;;;;;8BA+DA,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAIm4B,CAAC;4IAAqK,CAAC;wFAAwI,CAAC;+IAA+L,CAAC;2FAAwI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAA4mC,CAAC;;;;;;;;;;;;;;;;;;;;;;;mBAA8hE,CAAC;;;;;;;;;;;;;6BAA4xB,CAAC;8BAAuE,CAAC;kBAA4D,CAAC;;oBAA8F,CAAC;;sBAAkG,CAAC;oBAAkE,CAAC;;;;;;;;gDAAme,CAAC;;;;;;;;;;;;;;;;;;uBAA8yB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAAiiH,CAAC;yBAA8E,CAAC;UAAoD,GAAG;WAAgD,GAAG;;gBAA6E,GAAG;;;;;;;WAA4V,GAAG;YAAiD,GAAG;;;;;;;;;;;oBAAupC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAiiO,CAAC;cAA6F,CAAC;eAA8F,CAAC;gBAA+F,CAAC;;;;;;;;;;;;;;SAAulC,CAAC;;;iBAA+E,CAAC;;AArKr5pB;;;;;;;;GAQG;AACH,qBAAa,gBAAiB,SAAQ,qBAAiC;IACrE,0EAA0E;IAC9D,QAAQ,EAAE,kBAAkB,GAAG,IAAI,CAAQ;IAEvD,0FAA0F;IAC9E,OAAO,EAAE,OAAO,GAAG,IAAI,CAAQ;IAE3C;;;OAGG;IACS,eAAe,EAAE,sBAAsB,GAAG,IAAI,CAAQ;IAElE,gBAAgB;IACJ,MAAM,EAAE,WAAW,CAAC;IAEhC,gBAAgB;IACJ,OAAO,EAAE,WAAW,CAAC;IAEjC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuC;IAC9D,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAqB;IAEtD,eAAe;IAIf,cAAc;IAId,sBAAsB;IAItB,aAAa;IAIb,cAAc;IAId;;;OAGG;IACH,UAAU,IAAI,IAAI;IAyBlB;;;OAGG;IACH,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,GAAG,SAAS;IAIzD;;;OAGG;IACH,aAAa,IAAI,IAAI;IAUrB,iBAAiB;IAOjB,oBAAoB;IAcpB,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,UAAU;CAwBnB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;2BAIrC,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Status-bar host styles. Tokens follow the grid so the bar matches.
3
+ * @public
4
+ */
5
+ export declare const statusBarStyles: import("@microsoft/fast-element").ElementStyles;
6
+ //# sourceMappingURL=status-bar.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status-bar.styles.d.ts","sourceRoot":"","sources":["../../../src/status-bar/status-bar.styles.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,eAAe,iDA2C3B,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { GridProStatusBar } from './status-bar';
2
+ /**
3
+ * Community status-bar layout: left-aligned info panels, right-aligned actions.
4
+ * @public
5
+ */
6
+ export declare const getStatusBarTemplate: () => import("@microsoft/fast-element").ViewTemplate<GridProStatusBar, any>;
7
+ /**
8
+ * Default status bar template.
9
+ * @public
10
+ */
11
+ export declare const statusBarTemplate: import("@microsoft/fast-element").ViewTemplate<GridProStatusBar, any>;
12
+ //# sourceMappingURL=status-bar.template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status-bar.template.d.ts","sourceRoot":"","sources":["../../../src/status-bar/status-bar.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,6EAKhC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,uEAAyB,CAAC"}
@@ -391,18 +391,34 @@ export const columnSelectionStyles = css `
391
391
  * @public
392
392
  */
393
393
  export const gridProColumnSelectionHostStyles = css `
394
- :host(.has-column-selection) {
394
+ /* AG's own status bar sits inside the grid area, under the docked panel. */
395
+ :host([with-status-bar].has-column-selection:not(.has-status-bar)) {
396
+ --grid-pro-column-panel-status-offset: var(--ag-status-bar-height, 32.5px);
397
+ }
398
+
399
+ :host(.has-column-selection),
400
+ :host(.has-status-bar) {
395
401
  display: flex;
396
- flex-direction: row;
402
+ flex-direction: column;
397
403
  min-height: 0;
398
404
  min-width: 0;
399
405
  }
400
406
 
401
- :host([with-status-bar].has-column-selection) {
402
- --grid-pro-column-panel-status-offset: var(--ag-status-bar-height, 32.5px);
407
+ .grid-pro-main {
408
+ display: contents;
409
+ }
410
+
411
+ :host(.has-column-selection) .grid-pro-main,
412
+ :host(.has-status-bar) .grid-pro-main {
413
+ display: flex;
414
+ flex-direction: row;
415
+ flex: 1 1 auto;
416
+ min-width: 0;
417
+ min-height: 0;
403
418
  }
404
419
 
405
- :host(.has-column-selection) [part='grid'] {
420
+ :host(.has-column-selection) [part='grid'],
421
+ :host(.has-status-bar) [part='grid'] {
406
422
  flex: 1 1 auto;
407
423
  min-width: 0;
408
424
  min-height: 0;
@@ -417,4 +433,9 @@ export const gridProColumnSelectionHostStyles = css `
417
433
  overflow: visible;
418
434
  min-height: 0;
419
435
  }
436
+
437
+ .grid-pro-status-bar {
438
+ flex: 0 0 auto;
439
+ width: 100%;
440
+ }
420
441
  `;
@@ -811,15 +811,15 @@ export class GridProBaseDatasource extends GenesisGridDatasourceElement {
811
811
  /**
812
812
  * Gets datasource-specific status bar component configurations.
813
813
  * This method should be called by the grid to get status bar panels specific to this datasource.
814
+ * @param suppressLoadMore - Leaves out the Load More panel, for row models that fetch on scroll.
814
815
  * @public
815
816
  */
816
- getDatasourceStatusBarPanels(isServerSide, statusBarConfig) {
817
+ getDatasourceStatusBarPanels(suppressLoadMore, statusBarConfig) {
817
818
  var _a, _b, _c, _d, _e, _f;
818
819
  const additionalPanels = [];
819
820
  // Extract loadMore configuration
820
821
  const loadMoreConfig = this.getStatusBarActionConfig(statusBarConfig === null || statusBarConfig === void 0 ? void 0 : statusBarConfig.loadMore);
821
- // Add load more button if enabled and not server-side
822
- if (loadMoreConfig.enabled && !isServerSide) {
822
+ if (loadMoreConfig.enabled && !suppressLoadMore) {
823
823
  const loadMoreParams = {};
824
824
  // Use custom callback if provided, otherwise leave undefined for default behavior
825
825
  if ((_a = loadMoreConfig.config) === null || _a === void 0 ? void 0 : _a.onLoadMore) {
@@ -3,6 +3,7 @@ import { foundationGridProActionRenderer, foundationGridProActionsMenuRenderer,
3
3
  import { foundationColumnSelection } from './column-selection';
4
4
  import { foundationGridPro } from './grid-pro';
5
5
  import { foundationMulticolumnDropdown } from './multicolumn-dropdown';
6
+ import { foundationGridProStatusBar } from './status-bar';
6
7
  /**
7
8
  * The Grid Pro Components.
8
9
  * @remarks Contains all available components, from Grid Pro itself to the cell renderers.
@@ -27,6 +28,7 @@ export const foundationGridComponents = {
27
28
  StatusPillRenderer,
28
29
  foundationGridPro,
29
30
  foundationColumnSelection,
31
+ foundationGridProStatusBar,
30
32
  register(container, ...rest) {
31
33
  if (!container) {
32
34
  // preserve backward compatibility with code that loops through