@genesislcap/grid-pro 15.62.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 (49) hide show
  1. package/.cursor/rules/ag-embedded-components.mdc +1 -0
  2. package/dist/custom-elements.json +11320 -10780
  3. package/dist/dts/column-selection/column-selection.d.ts +11 -2
  4. package/dist/dts/column-selection/column-selection.d.ts.map +1 -1
  5. package/dist/dts/column-selection/column-selection.styles.d.ts.map +1 -1
  6. package/dist/dts/column-selection/column-selection.template.d.ts.map +1 -1
  7. package/dist/dts/datasource/base.datasource.d.ts +2 -1
  8. package/dist/dts/datasource/base.datasource.d.ts.map +1 -1
  9. package/dist/dts/grid-components.d.ts +9 -0
  10. package/dist/dts/grid-components.d.ts.map +1 -1
  11. package/dist/dts/grid-pro.d.ts +59 -12
  12. package/dist/dts/grid-pro.d.ts.map +1 -1
  13. package/dist/dts/grid-pro.template.d.ts.map +1 -1
  14. package/dist/dts/grid-pro.types.d.ts +4 -7
  15. package/dist/dts/grid-pro.types.d.ts.map +1 -1
  16. package/dist/dts/index.d.ts +1 -0
  17. package/dist/dts/index.d.ts.map +1 -1
  18. package/dist/dts/react.d.ts +68 -58
  19. package/dist/dts/status-bar/index.d.ts +5 -0
  20. package/dist/dts/status-bar/index.d.ts.map +1 -0
  21. package/dist/dts/status-bar/resolve-status-bar-panels.d.ts +43 -0
  22. package/dist/dts/status-bar/resolve-status-bar-panels.d.ts.map +1 -0
  23. package/dist/dts/status-bar/status-bar.d.ts +439 -0
  24. package/dist/dts/status-bar/status-bar.d.ts.map +1 -0
  25. package/dist/dts/status-bar/status-bar.styles.d.ts +6 -0
  26. package/dist/dts/status-bar/status-bar.styles.d.ts.map +1 -0
  27. package/dist/dts/status-bar/status-bar.template.d.ts +12 -0
  28. package/dist/dts/status-bar/status-bar.template.d.ts.map +1 -0
  29. package/dist/esm/column-selection/column-selection.js +25 -4
  30. package/dist/esm/column-selection/column-selection.styles.js +218 -11
  31. package/dist/esm/column-selection/column-selection.template.js +9 -3
  32. package/dist/esm/datasource/base.datasource.js +3 -3
  33. package/dist/esm/grid-components.js +2 -0
  34. package/dist/esm/grid-pro.js +147 -116
  35. package/dist/esm/grid-pro.styles.js +1 -1
  36. package/dist/esm/grid-pro.template.js +23 -10
  37. package/dist/esm/grid-pro.types.js +2 -3
  38. package/dist/esm/index.js +1 -0
  39. package/dist/esm/status-bar/index.js +4 -0
  40. package/dist/esm/status-bar/resolve-status-bar-panels.js +67 -0
  41. package/dist/esm/status-bar/status-bar.js +171 -0
  42. package/dist/esm/status-bar/status-bar.styles.js +49 -0
  43. package/dist/esm/status-bar/status-bar.template.js +16 -0
  44. package/dist/esm/status-bar-components/row-count.status-bar.js +2 -1
  45. package/dist/grid-pro.api.json +1333 -88
  46. package/dist/grid-pro.d.ts +581 -21
  47. package/dist/react.cjs +46 -39
  48. package/dist/react.mjs +38 -32
  49. 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"}
@@ -26,7 +26,8 @@ const pickerApiByElement = new WeakMap();
26
26
  *
27
27
  * The panel uses the Popover API (`popover="manual"`) so it paints in the top layer and is not
28
28
  * clipped by layout ancestors with `overflow: hidden`. Placement is pure CSS (anchor positioning
29
- * via `showPopover({ source })` + `position-area`).
29
+ * via `showPopover({ source })` + `position-area`). Set `docked` to keep the same picker in a
30
+ * side panel beside the grid instead; the tab on the trailing edge opens and closes it.
30
31
  *
31
32
  * Layout: select-all + search → column list. Ordering via `sort`
32
33
  * (`selected-first` default, or `ag-grid`). Checkboxes toggle visibility via
@@ -41,6 +42,11 @@ export class ColumnSelection extends LifecycleMixin(FoundationElement) {
41
42
  super(...arguments);
42
43
  /** Button label. */
43
44
  this.label = 'Column Selection';
45
+ /**
46
+ * Docks the picker beside the grid instead of opening a popover.
47
+ * A tab on the trailing edge opens and closes the panel, matching the enterprise side bar.
48
+ */
49
+ this.docked = false;
44
50
  /**
45
51
  * Column list ordering.
46
52
  * - `selected-first` (default): visible first (grid display order), then hidden A–Z.
@@ -79,7 +85,7 @@ export class ColumnSelection extends LifecycleMixin(FoundationElement) {
79
85
  /** Stable listener refs so close/disconnect can remove the same functions. */
80
86
  this.boundRefresh = () => this.refresh();
81
87
  this.handleClickOutside = (event) => {
82
- if (!this.open || !this.root || !event.isTrusted) {
88
+ if (this.docked || !this.open || !this.root || !event.isTrusted) {
83
89
  return;
84
90
  }
85
91
  if (!event.composedPath().includes(this.root)) {
@@ -122,11 +128,16 @@ export class ColumnSelection extends LifecycleMixin(FoundationElement) {
122
128
  if (oldValue === undefined || !this.$fastController.isConnected) {
123
129
  return;
124
130
  }
131
+ this.syncDockedOpenState();
125
132
  if (this.open) {
126
133
  DOM.queueUpdate(() => {
127
134
  this.subscribePicker();
128
135
  this.refresh();
129
136
  this.showPanel();
137
+ // A docked side panel stays open until its tab is clicked again.
138
+ if (this.docked) {
139
+ return;
140
+ }
130
141
  // Defer listener — showPopover can emit a same-turn mousedown outside the root.
131
142
  requestAnimationFrame(() => {
132
143
  if (this.open) {
@@ -165,6 +176,13 @@ export class ColumnSelection extends LifecycleMixin(FoundationElement) {
165
176
  });
166
177
  }
167
178
  }
179
+ dockedChanged() {
180
+ this.syncDockedOpenState();
181
+ }
182
+ /** Overlay visibility is a host class so the grid keeps its width while the panel is open. */
183
+ syncDockedOpenState() {
184
+ this.classList.toggle('column-selection-open', Boolean(this.open && this.docked));
185
+ }
168
186
  /**
169
187
  * Subscribe to grid column events and rebuild picker lists.
170
188
  * Called automatically when the popover opens; exposed for tests/hosts that need an early bind.
@@ -230,7 +248,7 @@ export class ColumnSelection extends LifecycleMixin(FoundationElement) {
230
248
  }
231
249
  showPanel() {
232
250
  const panel = this.panelEl;
233
- if (!panel || typeof panel.showPopover !== 'function') {
251
+ if (!panel || this.docked || typeof panel.showPopover !== 'function') {
234
252
  return;
235
253
  }
236
254
  if (panel.matches(':popover-open')) {
@@ -248,7 +266,7 @@ export class ColumnSelection extends LifecycleMixin(FoundationElement) {
248
266
  }
249
267
  hidePanel() {
250
268
  const panel = this.panelEl;
251
- if (!panel || typeof panel.hidePopover !== 'function') {
269
+ if (!panel || this.docked || typeof panel.hidePopover !== 'function') {
252
270
  return;
253
271
  }
254
272
  if (panel.matches(':popover-open')) {
@@ -572,6 +590,9 @@ export class ColumnSelection extends LifecycleMixin(FoundationElement) {
572
590
  __decorate([
573
591
  attr
574
592
  ], ColumnSelection.prototype, "label", void 0);
593
+ __decorate([
594
+ attr({ mode: 'boolean' })
595
+ ], ColumnSelection.prototype, "docked", void 0);
575
596
  __decorate([
576
597
  attr
577
598
  ], ColumnSelection.prototype, "sort", void 0);