@genesislcap/grid-pro 15.13.1 → 15.14.0-FUI-2601.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.
Files changed (56) hide show
  1. package/dist/custom-elements.json +1988 -563
  2. package/dist/dts/columns-tool-panel/columns-tool-panel.d.ts +98 -0
  3. package/dist/dts/columns-tool-panel/columns-tool-panel.d.ts.map +1 -0
  4. package/dist/dts/columns-tool-panel/columns-tool-panel.styles.d.ts +9 -0
  5. package/dist/dts/columns-tool-panel/columns-tool-panel.styles.d.ts.map +1 -0
  6. package/dist/dts/columns-tool-panel/columns-tool-panel.template.d.ts +12 -0
  7. package/dist/dts/columns-tool-panel/columns-tool-panel.template.d.ts.map +1 -0
  8. package/dist/dts/columns-tool-panel/columns-tool-panel.utils.d.ts +24 -0
  9. package/dist/dts/columns-tool-panel/columns-tool-panel.utils.d.ts.map +1 -0
  10. package/dist/dts/columns-tool-panel/index.d.ts +5 -0
  11. package/dist/dts/columns-tool-panel/index.d.ts.map +1 -0
  12. package/dist/dts/grid-pro-beta.d.ts +39 -4
  13. package/dist/dts/grid-pro-beta.d.ts.map +1 -1
  14. package/dist/dts/grid-pro.d.ts +10 -0
  15. package/dist/dts/grid-pro.d.ts.map +1 -1
  16. package/dist/dts/grid-pro.styles.d.ts.map +1 -1
  17. package/dist/dts/grid-pro.template.d.ts.map +1 -1
  18. package/dist/dts/grid-pro.types.d.ts +10 -0
  19. package/dist/dts/grid-pro.types.d.ts.map +1 -1
  20. package/dist/dts/index.d.ts +2 -0
  21. package/dist/dts/index.d.ts.map +1 -1
  22. package/dist/dts/react.d.ts +24 -4
  23. package/dist/dts/side-bar/index.d.ts +6 -0
  24. package/dist/dts/side-bar/index.d.ts.map +1 -0
  25. package/dist/dts/side-bar/side-bar.d.ts +412 -0
  26. package/dist/dts/side-bar/side-bar.d.ts.map +1 -0
  27. package/dist/dts/side-bar/side-bar.styles.d.ts +19 -0
  28. package/dist/dts/side-bar/side-bar.styles.d.ts.map +1 -0
  29. package/dist/dts/side-bar/side-bar.template.d.ts +11 -0
  30. package/dist/dts/side-bar/side-bar.template.d.ts.map +1 -0
  31. package/dist/dts/side-bar/side-bar.tools.d.ts +12 -0
  32. package/dist/dts/side-bar/side-bar.tools.d.ts.map +1 -0
  33. package/dist/dts/side-bar/side-bar.types.d.ts +77 -0
  34. package/dist/dts/side-bar/side-bar.types.d.ts.map +1 -0
  35. package/dist/esm/columns-tool-panel/columns-tool-panel.js +312 -0
  36. package/dist/esm/columns-tool-panel/columns-tool-panel.styles.js +122 -0
  37. package/dist/esm/columns-tool-panel/columns-tool-panel.template.js +79 -0
  38. package/dist/esm/columns-tool-panel/columns-tool-panel.utils.js +129 -0
  39. package/dist/esm/columns-tool-panel/index.js +4 -0
  40. package/dist/esm/grid-pro-beta.js +89 -3
  41. package/dist/esm/grid-pro.js +24 -1
  42. package/dist/esm/grid-pro.styles.js +4 -0
  43. package/dist/esm/grid-pro.template.js +18 -2
  44. package/dist/esm/grid-pro.types.js +11 -0
  45. package/dist/esm/index.js +2 -0
  46. package/dist/esm/side-bar/index.js +5 -0
  47. package/dist/esm/side-bar/side-bar.js +166 -0
  48. package/dist/esm/side-bar/side-bar.styles.js +154 -0
  49. package/dist/esm/side-bar/side-bar.template.js +48 -0
  50. package/dist/esm/side-bar/side-bar.tools.js +19 -0
  51. package/dist/esm/side-bar/side-bar.types.js +45 -0
  52. package/dist/grid-pro.api.json +8838 -6330
  53. package/dist/grid-pro.d.ts +906 -168
  54. package/dist/react.cjs +17 -3
  55. package/dist/react.mjs +14 -2
  56. package/package.json +14 -14
@@ -0,0 +1,412 @@
1
+ import { FoundationElement } from '@microsoft/fast-foundation';
2
+ import type { GridApi } from 'ag-grid-community';
3
+ import { type GridProSideBarToolDef, type GridProSideBarToolId } from './side-bar.types';
4
+ declare const GridProSideBar_base: (new (...args: any[]) => {
5
+ #_container: import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
6
+ #_latestTokenCode: string;
7
+ #_hasFirstLoaded: boolean;
8
+ #_cleanupTimeout: NodeJS.Timeout;
9
+ #_shouldForceLifecycle: boolean;
10
+ #_blockedDisconnectSurvivedGracePeriod: boolean;
11
+ cloneNode(deep?: boolean): Node;
12
+ deepClone(): Node;
13
+ get shouldRunDisconnect(): boolean;
14
+ get shouldRunConnect(): boolean;
15
+ #_blockLifecycleDueToTokenChange(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
16
+ #_tryFindContainingLayout(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
17
+ connectedCallback(): void;
18
+ readonly $fastController: import("@microsoft/fast-element").Controller;
19
+ $emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
20
+ disconnectedCallback(): void;
21
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
22
+ accessKey: string;
23
+ readonly accessKeyLabel: string;
24
+ autocapitalize: string;
25
+ autocorrect: boolean;
26
+ dir: string;
27
+ draggable: boolean;
28
+ hidden: boolean;
29
+ inert: boolean;
30
+ innerText: string;
31
+ lang: string;
32
+ readonly offsetHeight: number;
33
+ readonly offsetLeft: number;
34
+ readonly offsetParent: Element | null;
35
+ readonly offsetTop: number;
36
+ readonly offsetWidth: number;
37
+ outerText: string;
38
+ popover: string | null;
39
+ spellcheck: boolean;
40
+ title: string;
41
+ translate: boolean;
42
+ writingSuggestions: string;
43
+ attachInternals(): ElementInternals;
44
+ click(): void;
45
+ hidePopover(): void;
46
+ showPopover(): void;
47
+ togglePopover(options?: boolean): boolean;
48
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
49
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
50
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
51
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
52
+ readonly attributes: NamedNodeMap;
53
+ get classList(): DOMTokenList;
54
+ set classList(value: string): any;
55
+ className: string;
56
+ readonly clientHeight: number;
57
+ readonly clientLeft: number;
58
+ readonly clientTop: number;
59
+ readonly clientWidth: number;
60
+ readonly currentCSSZoom: number;
61
+ id: string;
62
+ innerHTML: string;
63
+ readonly localName: string;
64
+ readonly namespaceURI: string | null;
65
+ onfullscreenchange: (this: Element, ev: Event) => any;
66
+ onfullscreenerror: (this: Element, ev: Event) => any;
67
+ outerHTML: string;
68
+ readonly ownerDocument: Document;
69
+ get part(): DOMTokenList;
70
+ set part(value: string): any;
71
+ readonly prefix: string | null;
72
+ readonly scrollHeight: number;
73
+ scrollLeft: number;
74
+ scrollTop: number;
75
+ readonly scrollWidth: number;
76
+ readonly shadowRoot: ShadowRoot | null;
77
+ slot: string;
78
+ readonly tagName: string;
79
+ attachShadow(init: ShadowRootInit): ShadowRoot;
80
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
81
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K];
82
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K];
83
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K];
84
+ closest<E extends Element = Element>(selectors: string): E;
85
+ computedStyleMap(): StylePropertyMapReadOnly;
86
+ getAttribute(qualifiedName: string): string | null;
87
+ getAttributeNS(namespace: string | null, localName: string): string | null;
88
+ getAttributeNames(): string[];
89
+ getAttributeNode(qualifiedName: string): Attr | null;
90
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
91
+ getBoundingClientRect(): DOMRect;
92
+ getClientRects(): DOMRectList;
93
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
94
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
95
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
96
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
97
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
98
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
99
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
100
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
101
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
102
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
103
+ getHTML(options?: GetHTMLOptions): string;
104
+ hasAttribute(qualifiedName: string): boolean;
105
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
106
+ hasAttributes(): boolean;
107
+ hasPointerCapture(pointerId: number): boolean;
108
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
109
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
110
+ insertAdjacentText(where: InsertPosition, data: string): void;
111
+ matches(selectors: string): boolean;
112
+ releasePointerCapture(pointerId: number): void;
113
+ removeAttribute(qualifiedName: string): void;
114
+ removeAttributeNS(namespace: string | null, localName: string): void;
115
+ removeAttributeNode(attr: Attr): Attr;
116
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
117
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
118
+ scroll(options?: ScrollToOptions): void;
119
+ scroll(x: number, y: number): void;
120
+ scrollBy(options?: ScrollToOptions): void;
121
+ scrollBy(x: number, y: number): void;
122
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
123
+ scrollTo(options?: ScrollToOptions): void;
124
+ scrollTo(x: number, y: number): void;
125
+ setAttribute(qualifiedName: string, value: string): void;
126
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
127
+ setAttributeNode(attr: Attr): Attr | null;
128
+ setAttributeNodeNS(attr: Attr): Attr | null;
129
+ setHTMLUnsafe(html: string): void;
130
+ setPointerCapture(pointerId: number): void;
131
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
132
+ webkitMatchesSelector(selectors: string): boolean;
133
+ textContent: string;
134
+ readonly baseURI: string;
135
+ readonly childNodes: NodeListOf<ChildNode>;
136
+ readonly firstChild: ChildNode | null;
137
+ readonly isConnected: boolean;
138
+ readonly lastChild: ChildNode | null;
139
+ readonly nextSibling: ChildNode | null;
140
+ readonly nodeName: string;
141
+ readonly nodeType: number;
142
+ nodeValue: string | null;
143
+ readonly parentElement: HTMLElement | null;
144
+ readonly parentNode: ParentNode | null;
145
+ readonly previousSibling: ChildNode | null;
146
+ appendChild<T_1 extends Node>(node: T_1): T_1;
147
+ compareDocumentPosition(other: Node): number;
148
+ contains(other: Node | null): boolean;
149
+ getRootNode(options?: GetRootNodeOptions): Node;
150
+ hasChildNodes(): boolean;
151
+ insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
152
+ isDefaultNamespace(namespace: string | null): boolean;
153
+ isEqualNode(otherNode: Node | null): boolean;
154
+ isSameNode(otherNode: Node | null): boolean;
155
+ lookupNamespaceURI(prefix: string | null): string | null;
156
+ lookupPrefix(namespace: string | null): string | null;
157
+ normalize(): void;
158
+ removeChild<T_1 extends Node>(child: T_1): T_1;
159
+ replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
160
+ readonly ELEMENT_NODE: 1;
161
+ readonly ATTRIBUTE_NODE: 2;
162
+ readonly TEXT_NODE: 3;
163
+ readonly CDATA_SECTION_NODE: 4;
164
+ readonly ENTITY_REFERENCE_NODE: 5;
165
+ readonly ENTITY_NODE: 6;
166
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
167
+ readonly COMMENT_NODE: 8;
168
+ readonly DOCUMENT_NODE: 9;
169
+ readonly DOCUMENT_TYPE_NODE: 10;
170
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
171
+ readonly NOTATION_NODE: 12;
172
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
173
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
174
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
175
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
176
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
177
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
178
+ dispatchEvent(event: Event): boolean;
179
+ ariaActiveDescendantElement: Element | null;
180
+ ariaAtomic: string | null;
181
+ ariaAutoComplete: string | null;
182
+ ariaBrailleLabel: string | null;
183
+ ariaBrailleRoleDescription: string | null;
184
+ ariaBusy: string | null;
185
+ ariaChecked: string | null;
186
+ ariaColCount: string | null;
187
+ ariaColIndex: string | null;
188
+ ariaColIndexText: string | null;
189
+ ariaColSpan: string | null;
190
+ ariaControlsElements: ReadonlyArray<Element> | null;
191
+ ariaCurrent: string | null;
192
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
193
+ ariaDescription: string | null;
194
+ ariaDetailsElements: ReadonlyArray<Element> | null;
195
+ ariaDisabled: string | null;
196
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
197
+ ariaExpanded: string | null;
198
+ ariaFlowToElements: ReadonlyArray<Element> | null;
199
+ ariaHasPopup: string | null;
200
+ ariaHidden: string | null;
201
+ ariaInvalid: string | null;
202
+ ariaKeyShortcuts: string | null;
203
+ ariaLabel: string | null;
204
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
205
+ ariaLevel: string | null;
206
+ ariaLive: string | null;
207
+ ariaModal: string | null;
208
+ ariaMultiLine: string | null;
209
+ ariaMultiSelectable: string | null;
210
+ ariaOrientation: string | null;
211
+ ariaOwnsElements: ReadonlyArray<Element> | null;
212
+ ariaPlaceholder: string | null;
213
+ ariaPosInSet: string | null;
214
+ ariaPressed: string | null;
215
+ ariaReadOnly: string | null;
216
+ ariaRelevant: string | null;
217
+ ariaRequired: string | null;
218
+ ariaRoleDescription: string | null;
219
+ ariaRowCount: string | null;
220
+ ariaRowIndex: string | null;
221
+ ariaRowIndexText: string | null;
222
+ ariaRowSpan: string | null;
223
+ ariaSelected: string | null;
224
+ ariaSetSize: string | null;
225
+ ariaSort: string | null;
226
+ ariaValueMax: string | null;
227
+ ariaValueMin: string | null;
228
+ ariaValueNow: string | null;
229
+ ariaValueText: string | null;
230
+ role: string | null;
231
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
232
+ getAnimations(options?: GetAnimationsOptions): Animation[];
233
+ after(...nodes: (Node | string)[]): void;
234
+ before(...nodes: (Node | string)[]): void;
235
+ remove(): void;
236
+ replaceWith(...nodes: (Node | string)[]): void;
237
+ readonly nextElementSibling: Element | null;
238
+ readonly previousElementSibling: Element | null;
239
+ readonly childElementCount: number;
240
+ readonly children: HTMLCollection;
241
+ readonly firstElementChild: Element | null;
242
+ readonly lastElementChild: Element | null;
243
+ append(...nodes: (Node | string)[]): void;
244
+ prepend(...nodes: (Node | string)[]): void;
245
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
246
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
247
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
248
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
249
+ querySelector<E extends Element = Element>(selectors: string): E | null;
250
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
251
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
252
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
253
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
254
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
255
+ replaceChildren(...nodes: (Node | string)[]): void;
256
+ readonly assignedSlot: HTMLSlotElement | null;
257
+ readonly attributeStyleMap: StylePropertyMap;
258
+ get style(): CSSStyleDeclaration;
259
+ set style(cssText: string): any;
260
+ contentEditable: string;
261
+ enterKeyHint: string;
262
+ inputMode: string;
263
+ readonly isContentEditable: boolean;
264
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
265
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
266
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
267
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
268
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
269
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
270
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
271
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
272
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
273
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
274
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
275
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
277
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
278
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
279
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
280
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
281
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
282
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
283
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
284
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
285
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
286
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
287
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
288
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
289
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
290
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
291
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
292
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
293
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
294
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
295
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
296
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
297
+ onerror: OnErrorEventHandler;
298
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
299
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
300
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
301
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
302
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
303
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
304
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
305
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
306
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
307
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
308
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
309
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
310
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
311
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
312
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
313
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
314
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
315
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
316
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
317
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
318
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
319
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
320
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
321
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
322
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
323
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
324
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
325
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
326
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
327
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
328
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
329
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
330
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
331
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
332
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
333
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
334
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
335
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
336
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
337
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
338
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
339
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
340
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
341
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
342
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
344
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
345
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
346
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
347
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
348
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
349
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
350
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
351
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
352
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
353
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
354
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
355
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
356
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
357
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
358
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
359
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
360
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
361
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
362
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
363
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
364
+ autofocus: boolean;
365
+ readonly dataset: DOMStringMap;
366
+ nonce?: string;
367
+ tabIndex: number;
368
+ blur(): void;
369
+ focus(options?: FocusOptions): void;
370
+ }) & typeof FoundationElement;
371
+ /**
372
+ * The Grid Pro Side Bar element.
373
+ * @remarks No shadow root — chrome stays in Grid Pro's tree so host CSS still applies.
374
+ * @public
375
+ * @remarks
376
+ * HTML Element: \<grid-pro-side-bar\>
377
+ */
378
+ export declare class GridProSideBar extends GridProSideBar_base {
379
+ prefix: string;
380
+ prefixChanged(): void;
381
+ tools: ReadonlyArray<GridProSideBarToolDef>;
382
+ toolsChanged(): void;
383
+ gridApi: GridApi | undefined;
384
+ gridApiChanged(): void;
385
+ open: boolean;
386
+ activeTool: GridProSideBarToolId;
387
+ panelHost: HTMLElement;
388
+ panelHostChanged(): void;
389
+ private mountedPanels;
390
+ connectedCallback(): void;
391
+ disconnectedCallback(): void;
392
+ /**
393
+ * Selects a tool. Clicking the active open tool collapses the panel.
394
+ * @public
395
+ */
396
+ selectTool(tool: GridProSideBarToolId): void;
397
+ /**
398
+ * @internal
399
+ */
400
+ handleToolClick(id: GridProSideBarToolId): void;
401
+ /**
402
+ * @public
403
+ */
404
+ mountActiveTool(): void;
405
+ /**
406
+ * @public
407
+ */
408
+ destroyTools(): void;
409
+ private closeAgToolPanel;
410
+ }
411
+ export {};
412
+ //# sourceMappingURL=side-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"side-bar.d.ts","sourceRoot":"","sources":["../../../src/side-bar/side-bar.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAoB,MAAM,mBAAmB,CAAC;AAMnE,OAAO,EAGL,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EAE1B,MAAM,kBAAkB,CAAC;;;;;;;;kBA6GmB,CAAC;;;;;;;;8BA+Cmb,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAw9B,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;;AA1Jv8qB;;;;;;GAMG;AACH,qBAMa,cAAe,SAAQ,mBAAiC;IAC7D,MAAM,SAAgB;IAC5B,aAAa;IAMD,KAAK,EAAE,aAAa,CAAC,qBAAqB,CAAC,CAAmC;IAC1F,YAAY;IAOA,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;IACzC,cAAc;IAIF,IAAI,UAAS;IAEb,UAAU,EAAE,oBAAoB,CAA8B;IAC9D,SAAS,EAAE,WAAW,CAAC;IACnC,gBAAgB;IAIhB,OAAO,CAAC,aAAa,CAA0C;IAE/D,iBAAiB,IAAI,IAAI;IAKzB,oBAAoB,IAAI,IAAI;IAK5B;;;OAGG;IACH,UAAU,CAAC,IAAI,EAAE,oBAAoB,GAAG,IAAI;IAc5C;;OAEG;IACH,eAAe,CAAC,EAAE,EAAE,oBAAoB,GAAG,IAAI;IAI/C;;OAEG;IACH,eAAe,IAAI,IAAI;IAqDvB;;OAEG;IACH,YAAY,IAAI,IAAI;IAUpB,OAAO,CAAC,gBAAgB;CAKzB"}
@@ -0,0 +1,19 @@
1
+ import { type ElementStyles } from '@microsoft/fast-element';
2
+ /**
3
+ * Layout on the Grid Pro host when `with-side-bar` is set.
4
+ * @public
5
+ */
6
+ export declare const gridProSideBarHostStyles: ElementStyles;
7
+ /**
8
+ * Chrome for {@link GridProSideBar}. Uses class selectors (no `:host`) because the
9
+ * element has no shadow — styles land on Grid Pro's shadow root.
10
+ * @public
11
+ */
12
+ export declare const gridProSideBarChromeStyles: ElementStyles;
13
+ /**
14
+ * Host + chrome. Prefer {@link gridProSideBarHostStyles} on Grid Pro and
15
+ * {@link gridProSideBarChromeStyles} on the side-bar element.
16
+ * @public
17
+ */
18
+ export declare const gridProSideBarStyles: ElementStyles;
19
+ //# sourceMappingURL=side-bar.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"side-bar.styles.d.ts","sourceRoot":"","sources":["../../../src/side-bar/side-bar.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAElE;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,aAYtC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAE,aAyHxC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAE,aAGlC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { GridProSideBar } from './side-bar';
2
+ /**
3
+ * Community side bar chrome. Prefix selects DS buttons (`rapid-button`, `zero-button`).
4
+ * @public
5
+ */
6
+ export declare const getGridProSideBarTemplate: (prefix?: string) => import("@microsoft/fast-element").ViewTemplate<GridProSideBar, any>;
7
+ /**
8
+ * @public
9
+ */
10
+ export declare const gridProSideBarTemplate: import("@microsoft/fast-element").ViewTemplate<GridProSideBar, any>;
11
+ //# sourceMappingURL=side-bar.template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"side-bar.template.d.ts","sourceRoot":"","sources":["../../../src/side-bar/side-bar.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAGjD;;;GAGG;AACH,eAAO,MAAM,yBAAyB,GAAI,eAAqB,wEA2C9D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,qEAA8B,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { type GridProSideBarToolDef } from './side-bar.types';
2
+ /**
3
+ * Built-in Columns picker (Community, no AG SideBarModule).
4
+ * @public
5
+ */
6
+ export declare const gridProSideBarColumnsTool: GridProSideBarToolDef;
7
+ /**
8
+ * Default tools when `with-side-bar` is set and `sideBarTools` is not provided.
9
+ * @public
10
+ */
11
+ export declare const GRID_PRO_DEFAULT_SIDE_BAR_TOOLS: ReadonlyArray<GridProSideBarToolDef>;
12
+ //# sourceMappingURL=side-bar.tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"side-bar.tools.d.ts","sourceRoot":"","sources":["../../../src/side-bar/side-bar.tools.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,KAAK,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAElF;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,qBAKvC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,+BAA+B,EAAE,aAAa,CAAC,qBAAqB,CAEhF,CAAC"}
@@ -0,0 +1,77 @@
1
+ import type { IToolPanelComp, IToolPanelParams } from 'ag-grid-community';
2
+ /**
3
+ * Well-known Community side-bar tool ids.
4
+ * @public
5
+ */
6
+ export declare const GridProSideBarTool: {
7
+ readonly columns: "columns";
8
+ readonly filters: "filters";
9
+ };
10
+ /**
11
+ * @public
12
+ */
13
+ export type GridProSideBarToolId = (typeof GridProSideBarTool)[keyof typeof GridProSideBarTool] | (string & {});
14
+ /**
15
+ * Tool definition for the Community Grid Pro side bar shell.
16
+ *
17
+ * - `createPanel`: local `IToolPanelComp` (no AG SideBar chrome); preferred for custom / Genesis panels.
18
+ * - `toolPanel`: AG registered name or component class (e.g. `'agFiltersToolPanel'` or a custom
19
+ * class from https://www.ag-grid.com/javascript-data-grid/component-tool-panel/); mounted via
20
+ * `api.openToolPanel(id, host)` with AG sideBar `hideButtons`.
21
+ *
22
+ * @public
23
+ */
24
+ export interface GridProSideBarToolDef {
25
+ id: GridProSideBarToolId;
26
+ label: string;
27
+ /** Localisation key for AG toolPanels; defaults to `id`. */
28
+ labelKey?: string;
29
+ /** AG icon key (`columns`, `filter`, …). Shown on the tab; also passed to AG `toolPanels`. */
30
+ iconKey?: string;
31
+ /**
32
+ * AG tool panel component (`agFiltersToolPanel`, custom class, etc.).
33
+ * Requires `SideBarModule` (pulled in by Filters / Enterprise modules).
34
+ */
35
+ toolPanel?: any;
36
+ /** Params passed to the AG / custom tool panel. */
37
+ toolPanelParams?: any;
38
+ /**
39
+ * Factory for a locally mounted IToolPanelComp.
40
+ * When set, the panel is created/mounted in our host (does not use `openToolPanel`).
41
+ */
42
+ createPanel?: () => IToolPanelComp;
43
+ }
44
+ /**
45
+ * Built-in AG Filters tool (Enterprise `FiltersToolPanelModule` required at app register).
46
+ * @public
47
+ */
48
+ export declare const gridProSideBarFiltersTool: GridProSideBarToolDef;
49
+ /**
50
+ * Builds a custom tool panel def (AG-style registration into our shell).
51
+ * @public
52
+ */
53
+ export declare function createGridProSideBarTool(def: GridProSideBarToolDef): GridProSideBarToolDef;
54
+ /**
55
+ * @internal
56
+ */
57
+ export declare function resolveAgSideBarToolPanels(tools: ReadonlyArray<GridProSideBarToolDef>): {
58
+ toolPanelParams?: any;
59
+ id: GridProSideBarToolId;
60
+ labelKey: string;
61
+ labelDefault: string;
62
+ iconKey: string;
63
+ toolPanel: any;
64
+ }[];
65
+ /**
66
+ * @internal
67
+ */
68
+ export type MountedSideBarPanel = {
69
+ defId: string;
70
+ panel: IToolPanelComp;
71
+ destroy?: () => void;
72
+ };
73
+ /**
74
+ * @internal
75
+ */
76
+ export declare function initLocalSideBarPanel(panel: IToolPanelComp, params: IToolPanelParams): IToolPanelComp;
77
+ //# sourceMappingURL=side-bar.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"side-bar.types.d.ts","sourceRoot":"","sources":["../../../src/side-bar/side-bar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE1E;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAC5B,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,GAC5D,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB;;;;;;;;;GASG;AACH,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,oBAAoB,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8FAA8F;IAC9F,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,mDAAmD;IACnD,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,cAAc,CAAC;CACpC;AAED;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,qBAMvC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,qBAAqB,GAAG,qBAAqB,CAE1F;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,aAAa,CAAC,qBAAqB,CAAC;;;;;;;IAWrF;AAED;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,cAAc,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,gBAAgB,GACvB,cAAc,CAGhB"}