@openfin/web-utils 0.46.80 → 0.46.82

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.
@@ -1,8 +1,8 @@
1
1
  declare const mixin: (Base: typeof HTMLElement) => {
2
2
  new (): {
3
- "__#1@#titleObserver": MutationObserver | null;
4
- "__#1@#faviconObserver": MutationObserver | null;
5
- "__#1@#isLoaded": boolean;
3
+ "__#private@#titleObserver": MutationObserver | null;
4
+ "__#private@#faviconObserver": MutationObserver | null;
5
+ "__#private@#isLoaded": boolean;
6
6
  /**
7
7
  * The last favicon URL dispatched by this element, regardless of which path
8
8
  * discovered it (same-origin DOM or data channel).
@@ -11,10 +11,10 @@ declare const mixin: (Base: typeof HTMLElement) => {
11
11
  */
12
12
  favicon: string | null;
13
13
  /** Centralised favicon dispatch: caches the URL and fires the DOM event. */
14
- "__#1@#emitFaviconEvent"(favicon: string): void;
15
- "__#1@#initObservers"(): void;
16
- "__#1@#clearObservers"(): void;
17
- readonly lastKnownUrl: string | undefined;
14
+ "__#private@#emitFaviconEvent"(favicon: string): void;
15
+ "__#private@#initObservers"(): void;
16
+ "__#private@#clearObservers"(): void;
17
+ get lastKnownUrl(): string | undefined;
18
18
  /**
19
19
  * Returns the favicon URL for this view's same-origin iframe, or `null` if the
20
20
  * frame is cross-origin, not yet loaded, or has no favicon link element.
@@ -26,20 +26,31 @@ declare const mixin: (Base: typeof HTMLElement) => {
26
26
  */
27
27
  getOrDiscoverFavicon(): Promise<string | null>;
28
28
  connectedCallback(): void;
29
- readonly iframe: HTMLIFrameElement | null;
30
- title: string;
31
- brokerUrl: string | null;
32
- name: string | null;
33
- forceFrameName: string | null;
34
- uuid: string | null;
35
- src: string | null;
36
- providerId: string | null;
37
- contextGroup: string | null;
38
- allow: string | null;
39
- showFavicon: boolean;
29
+ get iframe(): HTMLIFrameElement | null;
30
+ get title(): string;
31
+ set title(val: string);
32
+ get brokerUrl(): string | null;
33
+ set brokerUrl(val: string | null);
34
+ get name(): string | null;
35
+ set name(val: string | null);
36
+ get forceFrameName(): string | null;
37
+ set forceFrameName(val: string | null);
38
+ get uuid(): string | null;
39
+ set uuid(val: string | null);
40
+ get src(): string | null;
41
+ set src(val: string | null);
42
+ get providerId(): string | null;
43
+ set providerId(val: string | null);
44
+ get contextGroup(): string | null;
45
+ set contextGroup(val: string | null);
46
+ get allow(): string | null;
47
+ set allow(val: string | null);
48
+ get showFavicon(): boolean;
49
+ set showFavicon(val: boolean);
40
50
  accessKey: string;
41
51
  readonly accessKeyLabel: string;
42
52
  autocapitalize: string;
53
+ autocorrect: boolean;
43
54
  dir: string;
44
55
  draggable: boolean;
45
56
  hidden: boolean;
@@ -52,29 +63,38 @@ declare const mixin: (Base: typeof HTMLElement) => {
52
63
  readonly offsetTop: number;
53
64
  readonly offsetWidth: number;
54
65
  outerText: string;
66
+ popover: string | null;
55
67
  spellcheck: boolean;
56
68
  translate: boolean;
69
+ writingSuggestions: string;
57
70
  attachInternals(): ElementInternals;
58
71
  click(): void;
59
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
60
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
61
- removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
62
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
72
+ hidePopover(): void;
73
+ showPopover(): void;
74
+ togglePopover(options?: boolean): boolean;
75
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
76
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
77
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
78
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
63
79
  readonly attributes: NamedNodeMap;
64
- readonly classList: DOMTokenList;
80
+ get classList(): DOMTokenList;
81
+ set classList(value: string);
65
82
  className: string;
66
83
  readonly clientHeight: number;
67
84
  readonly clientLeft: number;
68
85
  readonly clientTop: number;
69
86
  readonly clientWidth: number;
87
+ readonly currentCSSZoom: number;
70
88
  id: string;
89
+ innerHTML: string;
71
90
  readonly localName: string;
72
91
  readonly namespaceURI: string | null;
73
92
  onfullscreenchange: ((this: Element, ev: Event) => any) | null;
74
93
  onfullscreenerror: ((this: Element, ev: Event) => any) | null;
75
94
  outerHTML: string;
76
95
  readonly ownerDocument: Document;
77
- readonly part: DOMTokenList;
96
+ get part(): DOMTokenList;
97
+ set part(value: string);
78
98
  readonly prefix: string | null;
79
99
  readonly scrollHeight: number;
80
100
  scrollLeft: number;
@@ -84,9 +104,12 @@ declare const mixin: (Base: typeof HTMLElement) => {
84
104
  slot: string;
85
105
  readonly tagName: string;
86
106
  attachShadow(init: ShadowRootInit): ShadowRoot;
87
- closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
88
- closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
107
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
108
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
109
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
110
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
89
111
  closest<E extends Element = Element>(selectors: string): E | null;
112
+ computedStyleMap(): StylePropertyMapReadOnly;
90
113
  getAttribute(qualifiedName: string): string | null;
91
114
  getAttributeNS(namespace: string | null, localName: string): string | null;
92
115
  getAttributeNames(): string[];
@@ -95,40 +118,47 @@ declare const mixin: (Base: typeof HTMLElement) => {
95
118
  getBoundingClientRect(): DOMRect;
96
119
  getClientRects(): DOMRectList;
97
120
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
98
- getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
99
- getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
121
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
122
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
123
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
124
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
100
125
  getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
101
126
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
102
127
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
128
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
103
129
  getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
130
+ getHTML(options?: GetHTMLOptions): string;
104
131
  hasAttribute(qualifiedName: string): boolean;
105
132
  hasAttributeNS(namespace: string | null, localName: string): boolean;
106
133
  hasAttributes(): boolean;
107
134
  hasPointerCapture(pointerId: number): boolean;
108
135
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
109
- insertAdjacentHTML(position: InsertPosition, text: string): void;
136
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
110
137
  insertAdjacentText(where: InsertPosition, data: string): void;
111
138
  matches(selectors: string): boolean;
112
139
  releasePointerCapture(pointerId: number): void;
113
140
  removeAttribute(qualifiedName: string): void;
114
141
  removeAttributeNS(namespace: string | null, localName: string): void;
115
142
  removeAttributeNode(attr: Attr): Attr;
116
- requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
117
- requestPointerLock(): void;
118
- scroll(options?: ScrollToOptions | undefined): void;
143
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
144
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
145
+ scroll(options?: ScrollToOptions): void;
119
146
  scroll(x: number, y: number): void;
120
- scrollBy(options?: ScrollToOptions | undefined): void;
147
+ scrollBy(options?: ScrollToOptions): void;
121
148
  scrollBy(x: number, y: number): void;
122
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
123
- scrollTo(options?: ScrollToOptions | undefined): void;
149
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
150
+ scrollTo(options?: ScrollToOptions): void;
124
151
  scrollTo(x: number, y: number): void;
125
152
  setAttribute(qualifiedName: string, value: string): void;
126
153
  setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
127
154
  setAttributeNode(attr: Attr): Attr | null;
128
155
  setAttributeNodeNS(attr: Attr): Attr | null;
156
+ setHTMLUnsafe(html: string): void;
129
157
  setPointerCapture(pointerId: number): void;
130
- toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
158
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
131
159
  webkitMatchesSelector(selectors: string): boolean;
160
+ get textContent(): string;
161
+ set textContent(value: string | null);
132
162
  readonly baseURI: string;
133
163
  readonly childNodes: NodeListOf<ChildNode>;
134
164
  readonly firstChild: ChildNode | null;
@@ -141,68 +171,79 @@ declare const mixin: (Base: typeof HTMLElement) => {
141
171
  readonly parentElement: HTMLElement | null;
142
172
  readonly parentNode: ParentNode | null;
143
173
  readonly previousSibling: ChildNode | null;
144
- textContent: string | null;
145
174
  appendChild<T extends Node>(node: T): T;
146
- cloneNode(deep?: boolean | undefined): Node;
175
+ cloneNode(subtree?: boolean): Node;
147
176
  compareDocumentPosition(other: Node): number;
148
177
  contains(other: Node | null): boolean;
149
- getRootNode(options?: GetRootNodeOptions | undefined): Node;
178
+ getRootNode(options?: GetRootNodeOptions): Node;
150
179
  hasChildNodes(): boolean;
151
- insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
180
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
152
181
  isDefaultNamespace(namespace: string | null): boolean;
153
182
  isEqualNode(otherNode: Node | null): boolean;
154
183
  isSameNode(otherNode: Node | null): boolean;
155
184
  lookupNamespaceURI(prefix: string | null): string | null;
156
185
  lookupPrefix(namespace: string | null): string | null;
157
186
  normalize(): void;
158
- removeChild<T_2 extends Node>(child: T_2): T_2;
159
- replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
160
- readonly ATTRIBUTE_NODE: number;
161
- readonly CDATA_SECTION_NODE: number;
162
- readonly COMMENT_NODE: number;
163
- readonly DOCUMENT_FRAGMENT_NODE: number;
164
- readonly DOCUMENT_NODE: number;
165
- readonly DOCUMENT_POSITION_CONTAINED_BY: number;
166
- readonly DOCUMENT_POSITION_CONTAINS: number;
167
- readonly DOCUMENT_POSITION_DISCONNECTED: number;
168
- readonly DOCUMENT_POSITION_FOLLOWING: number;
169
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
170
- readonly DOCUMENT_POSITION_PRECEDING: number;
171
- readonly DOCUMENT_TYPE_NODE: number;
172
- readonly ELEMENT_NODE: number;
173
- readonly ENTITY_NODE: number;
174
- readonly ENTITY_REFERENCE_NODE: number;
175
- readonly NOTATION_NODE: number;
176
- readonly PROCESSING_INSTRUCTION_NODE: number;
177
- readonly TEXT_NODE: number;
187
+ removeChild<T extends Node>(child: T): T;
188
+ replaceChild<T extends Node>(node: Node, child: T): T;
189
+ readonly ELEMENT_NODE: 1;
190
+ readonly ATTRIBUTE_NODE: 2;
191
+ readonly TEXT_NODE: 3;
192
+ readonly CDATA_SECTION_NODE: 4;
193
+ readonly ENTITY_REFERENCE_NODE: 5;
194
+ readonly ENTITY_NODE: 6;
195
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
196
+ readonly COMMENT_NODE: 8;
197
+ readonly DOCUMENT_NODE: 9;
198
+ readonly DOCUMENT_TYPE_NODE: 10;
199
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
200
+ readonly NOTATION_NODE: 12;
201
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
202
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
203
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
204
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
205
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
206
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
178
207
  dispatchEvent(event: Event): boolean;
179
208
  dispatchEvent(event: Event): boolean;
209
+ ariaActiveDescendantElement: Element | null;
180
210
  ariaAtomic: string | null;
181
211
  ariaAutoComplete: string | null;
212
+ ariaBrailleLabel: string | null;
213
+ ariaBrailleRoleDescription: string | null;
182
214
  ariaBusy: string | null;
183
215
  ariaChecked: string | null;
184
216
  ariaColCount: string | null;
185
217
  ariaColIndex: string | null;
186
218
  ariaColIndexText: string | null;
187
219
  ariaColSpan: string | null;
220
+ ariaControlsElements: ReadonlyArray<Element> | null;
188
221
  ariaCurrent: string | null;
222
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
223
+ ariaDescription: string | null;
224
+ ariaDetailsElements: ReadonlyArray<Element> | null;
189
225
  ariaDisabled: string | null;
226
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
190
227
  ariaExpanded: string | null;
228
+ ariaFlowToElements: ReadonlyArray<Element> | null;
191
229
  ariaHasPopup: string | null;
192
230
  ariaHidden: string | null;
193
231
  ariaInvalid: string | null;
194
232
  ariaKeyShortcuts: string | null;
195
233
  ariaLabel: string | null;
234
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
196
235
  ariaLevel: string | null;
197
236
  ariaLive: string | null;
198
237
  ariaModal: string | null;
199
238
  ariaMultiLine: string | null;
200
239
  ariaMultiSelectable: string | null;
201
240
  ariaOrientation: string | null;
241
+ ariaOwnsElements: ReadonlyArray<Element> | null;
202
242
  ariaPlaceholder: string | null;
203
243
  ariaPosInSet: string | null;
204
244
  ariaPressed: string | null;
205
245
  ariaReadOnly: string | null;
246
+ ariaRelevant: string | null;
206
247
  ariaRequired: string | null;
207
248
  ariaRoleDescription: string | null;
208
249
  ariaRowCount: string | null;
@@ -217,33 +258,35 @@ declare const mixin: (Base: typeof HTMLElement) => {
217
258
  ariaValueNow: string | null;
218
259
  ariaValueText: string | null;
219
260
  role: string | null;
220
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
221
- getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
222
- after(...nodes: (string | Node)[]): void;
223
- before(...nodes: (string | Node)[]): void;
261
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
262
+ getAnimations(options?: GetAnimationsOptions): Animation[];
263
+ after(...nodes: (Node | string)[]): void;
264
+ before(...nodes: (Node | string)[]): void;
224
265
  remove(): void;
225
- replaceWith(...nodes: (string | Node)[]): void;
226
- innerHTML: string;
266
+ replaceWith(...nodes: (Node | string)[]): void;
227
267
  readonly nextElementSibling: Element | null;
228
268
  readonly previousElementSibling: Element | null;
229
269
  readonly childElementCount: number;
230
270
  readonly children: HTMLCollection;
231
271
  readonly firstElementChild: Element | null;
232
272
  readonly lastElementChild: Element | null;
233
- append(...nodes: (string | Node)[]): void;
234
- prepend(...nodes: (string | Node)[]): void;
235
- querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6] | null;
236
- querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7] | null;
237
- querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
238
- querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
239
- querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
240
- querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
241
- replaceChildren(...nodes: (string | Node)[]): void;
273
+ append(...nodes: (Node | string)[]): void;
274
+ prepend(...nodes: (Node | string)[]): void;
275
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
276
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
277
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
278
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
279
+ querySelector<E extends Element = Element>(selectors: string): E | null;
280
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
281
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
282
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
283
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
284
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
285
+ replaceChildren(...nodes: (Node | string)[]): void;
242
286
  readonly assignedSlot: HTMLSlotElement | null;
243
- oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
244
- oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
245
- onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
246
- readonly style: CSSStyleDeclaration;
287
+ readonly attributeStyleMap: StylePropertyMap;
288
+ get style(): CSSStyleDeclaration;
289
+ set style(cssText: string);
247
290
  contentEditable: string;
248
291
  enterKeyHint: string;
249
292
  inputMode: string;
@@ -253,17 +296,23 @@ declare const mixin: (Base: typeof HTMLElement) => {
253
296
  onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
254
297
  onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
255
298
  onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
256
- onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
299
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
257
300
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
301
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
302
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
258
303
  onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
259
304
  oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
260
305
  oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
261
306
  oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
262
307
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
263
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
308
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
264
309
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
265
- oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
310
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
311
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
312
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
313
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
266
314
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
315
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
267
316
  ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
268
317
  ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
269
318
  ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
@@ -296,6 +345,7 @@ declare const mixin: (Base: typeof HTMLElement) => {
296
345
  onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
297
346
  onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
298
347
  onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
348
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
299
349
  onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
300
350
  onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
301
351
  onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -306,12 +356,14 @@ declare const mixin: (Base: typeof HTMLElement) => {
306
356
  onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
307
357
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
308
358
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
359
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
309
360
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
310
- onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
361
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
311
362
  onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
312
363
  onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
313
364
  onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
314
365
  onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
366
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
315
367
  onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
316
368
  onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
317
369
  onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -323,7 +375,7 @@ declare const mixin: (Base: typeof HTMLElement) => {
323
375
  onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
324
376
  onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
325
377
  ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
326
- ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
378
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
327
379
  ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
328
380
  ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
329
381
  ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
@@ -341,12 +393,12 @@ declare const mixin: (Base: typeof HTMLElement) => {
341
393
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
342
394
  autofocus: boolean;
343
395
  readonly dataset: DOMStringMap;
344
- nonce?: string | undefined;
396
+ nonce?: string;
345
397
  tabIndex: number;
346
398
  blur(): void;
347
- focus(options?: FocusOptions | undefined): void;
399
+ focus(options?: FocusOptions): void;
348
400
  };
349
- readonly observedAttributes: string[];
401
+ get observedAttributes(): string[];
350
402
  };
351
403
  export type OfViewAttributes = {
352
404
  'of-context-group'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/web-utils",
3
- "version": "0.46.80",
3
+ "version": "0.46.82",
4
4
  "description": "",
5
5
  "private": false,
6
6
  "publishConfig": {