@jack-henry/web-component-router
Advanced tools
Comparing version 3.4.0 to 3.5.0
@@ -45,7 +45,7 @@ export default animatedRoutingMixin; | ||
readonly offsetLeft: number; | ||
readonly offsetParent: Element; | ||
readonly offsetParent: Element | null; | ||
readonly offsetTop: number; | ||
readonly offsetWidth: number; | ||
outerText: string; | ||
popover: string; | ||
popover: string | null; | ||
spellcheck: boolean; | ||
@@ -61,3 +61,3 @@ title: string; | ||
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; | ||
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void; | ||
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; | ||
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; | ||
@@ -76,3 +76,3 @@ disconnectedCallback(): void; | ||
readonly localName: string; | ||
readonly namespaceURI: string; | ||
readonly namespaceURI: string | null; | ||
onfullscreenchange: (this: Element, ev: Event) => any; | ||
@@ -83,3 +83,3 @@ onfullscreenerror: (this: Element, ev: Event) => any; | ||
readonly part: DOMTokenList; | ||
readonly prefix: string; | ||
readonly prefix: string | null; | ||
readonly scrollHeight: number; | ||
@@ -89,3 +89,3 @@ scrollLeft: number; | ||
readonly scrollWidth: number; | ||
readonly shadowRoot: ShadowRoot; | ||
readonly shadowRoot: ShadowRoot | null; | ||
slot: string; | ||
@@ -95,19 +95,19 @@ readonly tagName: string; | ||
checkVisibility(options?: CheckVisibilityOptions): boolean; | ||
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2]; | ||
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3]; | ||
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4]; | ||
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K]; | ||
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K]; | ||
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K]; | ||
closest<E extends Element = Element>(selectors: string): E; | ||
computedStyleMap(): StylePropertyMapReadOnly; | ||
getAttribute(qualifiedName: string): string; | ||
getAttributeNS(namespace: string, localName: string): string; | ||
getAttribute(qualifiedName: string): string | null; | ||
getAttributeNS(namespace: string | null, localName: string): string | null; | ||
getAttributeNames(): string[]; | ||
getAttributeNode(qualifiedName: string): Attr; | ||
getAttributeNodeNS(namespace: string, localName: string): Attr; | ||
getAttributeNode(qualifiedName: string): Attr | null; | ||
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null; | ||
getBoundingClientRect(): DOMRect; | ||
getClientRects(): DOMRectList; | ||
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>; | ||
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>; | ||
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>; | ||
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>; | ||
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>; | ||
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>; | ||
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>; | ||
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>; | ||
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>; | ||
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>; | ||
@@ -117,8 +117,8 @@ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>; | ||
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>; | ||
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>; | ||
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>; | ||
hasAttribute(qualifiedName: string): boolean; | ||
hasAttributeNS(namespace: string, localName: string): boolean; | ||
hasAttributeNS(namespace: string | null, localName: string): boolean; | ||
hasAttributes(): boolean; | ||
hasPointerCapture(pointerId: number): boolean; | ||
insertAdjacentElement(where: InsertPosition, element: Element): Element; | ||
insertAdjacentElement(where: InsertPosition, element: Element): Element | null; | ||
insertAdjacentHTML(position: InsertPosition, text: string): void; | ||
@@ -129,3 +129,3 @@ insertAdjacentText(where: InsertPosition, data: string): void; | ||
removeAttribute(qualifiedName: string): void; | ||
removeAttributeNS(namespace: string, localName: string): void; | ||
removeAttributeNS(namespace: string | null, localName: string): void; | ||
removeAttributeNode(attr: Attr): Attr; | ||
@@ -142,5 +142,6 @@ requestFullscreen(options?: FullscreenOptions): Promise<void>; | ||
setAttribute(qualifiedName: string, value: string): void; | ||
setAttributeNS(namespace: string, qualifiedName: string, value: string): void; | ||
setAttributeNode(attr: Attr): Attr; | ||
setAttributeNodeNS(attr: Attr): Attr; | ||
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void; | ||
setAttributeNode(attr: Attr): Attr | null; | ||
setAttributeNodeNS(attr: Attr): Attr | null; | ||
setHTMLUnsafe(html: string): void; | ||
setPointerCapture(pointerId: number): void; | ||
@@ -151,28 +152,28 @@ toggleAttribute(qualifiedName: string, force?: boolean): boolean; | ||
readonly childNodes: NodeListOf<ChildNode>; | ||
readonly firstChild: ChildNode; | ||
readonly firstChild: ChildNode | null; | ||
readonly isConnected: boolean; | ||
readonly lastChild: ChildNode; | ||
readonly nextSibling: ChildNode; | ||
readonly lastChild: ChildNode | null; | ||
readonly nextSibling: ChildNode | null; | ||
readonly nodeName: string; | ||
readonly nodeType: number; | ||
nodeValue: string; | ||
readonly parentElement: HTMLElement; | ||
readonly parentNode: ParentNode; | ||
readonly previousSibling: ChildNode; | ||
textContent: string; | ||
nodeValue: string | null; | ||
readonly parentElement: HTMLElement | null; | ||
readonly parentNode: ParentNode | null; | ||
readonly previousSibling: ChildNode | null; | ||
textContent: string | null; | ||
appendChild<T extends Node>(node: T): T; | ||
cloneNode(deep?: boolean): Node; | ||
compareDocumentPosition(other: Node): number; | ||
contains(other: Node): boolean; | ||
contains(other: Node | null): boolean; | ||
getRootNode(options?: GetRootNodeOptions): Node; | ||
hasChildNodes(): boolean; | ||
insertBefore<T_1 extends Node>(node: T_1, child: Node): T_1; | ||
isDefaultNamespace(namespace: string): boolean; | ||
isEqualNode(otherNode: Node): boolean; | ||
isSameNode(otherNode: Node): boolean; | ||
lookupNamespaceURI(prefix: string): string; | ||
lookupPrefix(namespace: string): string; | ||
insertBefore<T extends Node>(node: T, child: Node | null): T; | ||
isDefaultNamespace(namespace: string | null): boolean; | ||
isEqualNode(otherNode: Node | null): boolean; | ||
isSameNode(otherNode: Node | null): boolean; | ||
lookupNamespaceURI(prefix: string | null): string | null; | ||
lookupPrefix(namespace: string | null): string | null; | ||
normalize(): void; | ||
removeChild<T_2 extends Node>(child: T_2): T_2; | ||
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3; | ||
removeChild<T extends Node>(child: T): T; | ||
replaceChild<T extends Node>(node: Node, child: T): T; | ||
readonly ELEMENT_NODE: 1; | ||
@@ -197,68 +198,70 @@ readonly ATTRIBUTE_NODE: 2; | ||
dispatchEvent(event: Event): boolean; | ||
ariaAtomic: string; | ||
ariaAutoComplete: string; | ||
ariaBusy: string; | ||
ariaChecked: string; | ||
ariaColCount: string; | ||
ariaColIndex: string; | ||
ariaColSpan: string; | ||
ariaCurrent: string; | ||
ariaDescription: string; | ||
ariaDisabled: string; | ||
ariaExpanded: string; | ||
ariaHasPopup: string; | ||
ariaHidden: string; | ||
ariaInvalid: string; | ||
ariaKeyShortcuts: string; | ||
ariaLabel: string; | ||
ariaLevel: string; | ||
ariaLive: string; | ||
ariaModal: string; | ||
ariaMultiLine: string; | ||
ariaMultiSelectable: string; | ||
ariaOrientation: string; | ||
ariaPlaceholder: string; | ||
ariaPosInSet: string; | ||
ariaPressed: string; | ||
ariaReadOnly: string; | ||
ariaRequired: string; | ||
ariaRoleDescription: string; | ||
ariaRowCount: string; | ||
ariaRowIndex: string; | ||
ariaRowSpan: string; | ||
ariaSelected: string; | ||
ariaSetSize: string; | ||
ariaSort: string; | ||
ariaValueMax: string; | ||
ariaValueMin: string; | ||
ariaValueNow: string; | ||
ariaValueText: string; | ||
role: string; | ||
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation; | ||
ariaAtomic: string | null; | ||
ariaAutoComplete: string | null; | ||
ariaBrailleLabel: string | null; | ||
ariaBrailleRoleDescription: string | null; | ||
ariaBusy: string | null; | ||
ariaChecked: string | null; | ||
ariaColCount: string | null; | ||
ariaColIndex: string | null; | ||
ariaColSpan: string | null; | ||
ariaCurrent: string | null; | ||
ariaDescription: string | null; | ||
ariaDisabled: string | null; | ||
ariaExpanded: string | null; | ||
ariaHasPopup: string | null; | ||
ariaHidden: string | null; | ||
ariaInvalid: string | null; | ||
ariaKeyShortcuts: string | null; | ||
ariaLabel: string | null; | ||
ariaLevel: string | null; | ||
ariaLive: string | null; | ||
ariaModal: string | null; | ||
ariaMultiLine: string | null; | ||
ariaMultiSelectable: string | null; | ||
ariaOrientation: string | null; | ||
ariaPlaceholder: string | null; | ||
ariaPosInSet: string | null; | ||
ariaPressed: string | null; | ||
ariaReadOnly: string | null; | ||
ariaRequired: string | null; | ||
ariaRoleDescription: string | null; | ||
ariaRowCount: string | null; | ||
ariaRowIndex: string | null; | ||
ariaRowSpan: string | null; | ||
ariaSelected: string | null; | ||
ariaSetSize: string | null; | ||
ariaSort: string | null; | ||
ariaValueMax: string | null; | ||
ariaValueMin: string | null; | ||
ariaValueNow: string | null; | ||
ariaValueText: string | null; | ||
role: string | null; | ||
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation; | ||
getAnimations(options?: GetAnimationsOptions): Animation[]; | ||
after(...nodes: (string | Node)[]): void; | ||
before(...nodes: (string | Node)[]): void; | ||
after(...nodes: (Node | string)[]): void; | ||
before(...nodes: (Node | string)[]): void; | ||
remove(): void; | ||
replaceWith(...nodes: (string | Node)[]): void; | ||
replaceWith(...nodes: (Node | string)[]): void; | ||
innerHTML: string; | ||
readonly nextElementSibling: Element; | ||
readonly previousElementSibling: Element; | ||
readonly nextElementSibling: Element | null; | ||
readonly previousElementSibling: Element | null; | ||
readonly childElementCount: number; | ||
readonly children: HTMLCollection; | ||
readonly firstElementChild: Element; | ||
readonly lastElementChild: Element; | ||
append(...nodes: (string | Node)[]): void; | ||
prepend(...nodes: (string | Node)[]): void; | ||
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9]; | ||
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10]; | ||
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11]; | ||
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12]; | ||
querySelector<E_1 extends Element = Element>(selectors: string): E_1; | ||
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>; | ||
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>; | ||
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>; | ||
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>; | ||
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>; | ||
replaceChildren(...nodes: (string | Node)[]): void; | ||
readonly assignedSlot: HTMLSlotElement; | ||
readonly firstElementChild: Element | null; | ||
readonly lastElementChild: Element | null; | ||
append(...nodes: (Node | string)[]): void; | ||
prepend(...nodes: (Node | string)[]): void; | ||
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null; | ||
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null; | ||
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null; | ||
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null; | ||
querySelector<E extends Element = Element>(selectors: string): E | null; | ||
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>; | ||
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>; | ||
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>; | ||
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>; | ||
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>; | ||
replaceChildren(...nodes: (Node | string)[]): void; | ||
readonly assignedSlot: HTMLSlotElement | null; | ||
readonly attributeStyleMap: StylePropertyMap; | ||
@@ -270,98 +273,98 @@ readonly style: CSSStyleDeclaration; | ||
readonly isContentEditable: boolean; | ||
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any; | ||
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any; | ||
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any; | ||
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any; | ||
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any; | ||
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any; | ||
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any; | ||
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any; | ||
oncancel: (this: GlobalEventHandlers, ev: Event) => any; | ||
oncanplay: (this: GlobalEventHandlers, ev: Event) => any; | ||
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any; | ||
onchange: (this: GlobalEventHandlers, ev: Event) => any; | ||
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onclose: (this: GlobalEventHandlers, ev: Event) => any; | ||
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any; | ||
oncuechange: (this: GlobalEventHandlers, ev: Event) => any; | ||
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any; | ||
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any; | ||
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any; | ||
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any; | ||
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any; | ||
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any; | ||
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any; | ||
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any; | ||
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any; | ||
onemptied: (this: GlobalEventHandlers, ev: Event) => any; | ||
onended: (this: GlobalEventHandlers, ev: Event) => any; | ||
onerror: OnErrorEventHandlerNonNull; | ||
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any; | ||
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any; | ||
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
oninput: (this: GlobalEventHandlers, ev: Event) => any; | ||
oninvalid: (this: GlobalEventHandlers, ev: Event) => any; | ||
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any; | ||
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any; | ||
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any; | ||
onload: (this: GlobalEventHandlers, ev: Event) => any; | ||
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any; | ||
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any; | ||
onloadstart: (this: GlobalEventHandlers, ev: Event) => any; | ||
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any; | ||
onpause: (this: GlobalEventHandlers, ev: Event) => any; | ||
onplay: (this: GlobalEventHandlers, ev: Event) => any; | ||
onplaying: (this: GlobalEventHandlers, ev: Event) => any; | ||
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any; | ||
onratechange: (this: GlobalEventHandlers, ev: Event) => any; | ||
onreset: (this: GlobalEventHandlers, ev: Event) => any; | ||
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any; | ||
onscroll: (this: GlobalEventHandlers, ev: Event) => any; | ||
onscrollend: (this: GlobalEventHandlers, ev: Event) => any; | ||
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any; | ||
onseeked: (this: GlobalEventHandlers, ev: Event) => any; | ||
onseeking: (this: GlobalEventHandlers, ev: Event) => any; | ||
onselect: (this: GlobalEventHandlers, ev: Event) => any; | ||
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any; | ||
onselectstart: (this: GlobalEventHandlers, ev: Event) => any; | ||
onslotchange: (this: GlobalEventHandlers, ev: Event) => any; | ||
onstalled: (this: GlobalEventHandlers, ev: Event) => any; | ||
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any; | ||
onsuspend: (this: GlobalEventHandlers, ev: Event) => any; | ||
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any; | ||
ontoggle: (this: GlobalEventHandlers, ev: Event) => any; | ||
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any; | ||
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any; | ||
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any; | ||
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any; | ||
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any; | ||
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any; | ||
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any; | ||
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any; | ||
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any; | ||
onwaiting: (this: GlobalEventHandlers, ev: Event) => any; | ||
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any; | ||
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any; | ||
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any; | ||
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any; | ||
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any; | ||
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; | ||
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; | ||
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; | ||
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; | ||
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; | ||
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null; | ||
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; | ||
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null; | ||
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null; | ||
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; | ||
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; | ||
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; | ||
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; | ||
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; | ||
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; | ||
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; | ||
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onerror: OnErrorEventHandler; | ||
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; | ||
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null; | ||
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; | ||
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; | ||
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; | ||
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null; | ||
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null; | ||
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; | ||
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null; | ||
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null; | ||
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; | ||
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; | ||
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; | ||
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; | ||
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; | ||
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; | ||
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; | ||
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; | ||
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null; | ||
autofocus: boolean; | ||
@@ -368,0 +371,0 @@ readonly dataset: DOMStringMap; |
@@ -1,4 +0,3 @@ | ||
import { type LitElement } from 'lit'; | ||
import { type Constructor, type RoutingMixinInterface } from './routing.mixin.js'; | ||
declare function animatedRoutingMixin<T extends Constructor<LitElement>>(Superclass: T, className: string): Constructor<RoutingMixinInterface> & T; | ||
declare function animatedRoutingMixin<T extends Constructor<HTMLElement>>(Superclass: T, className: string): Constructor<RoutingMixinInterface> & T; | ||
export default animatedRoutingMixin; |
@@ -1,6 +0,5 @@ | ||
import {type LitElement} from 'lit'; | ||
import {type Constructor, type RoutingMixinInterface} from './routing.mixin.js'; | ||
import animatedRouteMixin from './animated-routing-mixin.js'; | ||
function animatedRoutingMixin<T extends Constructor<LitElement>>(Superclass:T, className:string) { | ||
function animatedRoutingMixin<T extends Constructor<HTMLElement>>(Superclass:T, className:string) { | ||
return animatedRouteMixin(Superclass, className) as unknown as Constructor<RoutingMixinInterface> & T; | ||
@@ -7,0 +6,0 @@ } |
@@ -41,7 +41,7 @@ /** | ||
readonly offsetLeft: number; | ||
readonly offsetParent: Element; | ||
readonly offsetParent: Element | null; | ||
readonly offsetTop: number; | ||
readonly offsetWidth: number; | ||
outerText: string; | ||
popover: string; | ||
popover: string | null; | ||
spellcheck: boolean; | ||
@@ -57,3 +57,3 @@ title: string; | ||
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; | ||
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void; | ||
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; | ||
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; | ||
@@ -73,3 +73,3 @@ connectedCallback(): void; | ||
readonly localName: string; | ||
readonly namespaceURI: string; | ||
readonly namespaceURI: string | null; | ||
onfullscreenchange: (this: Element, ev: Event) => any; | ||
@@ -80,3 +80,3 @@ onfullscreenerror: (this: Element, ev: Event) => any; | ||
readonly part: DOMTokenList; | ||
readonly prefix: string; | ||
readonly prefix: string | null; | ||
readonly scrollHeight: number; | ||
@@ -86,3 +86,3 @@ scrollLeft: number; | ||
readonly scrollWidth: number; | ||
readonly shadowRoot: ShadowRoot; | ||
readonly shadowRoot: ShadowRoot | null; | ||
slot: string; | ||
@@ -92,19 +92,19 @@ readonly tagName: string; | ||
checkVisibility(options?: CheckVisibilityOptions): boolean; | ||
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2]; | ||
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3]; | ||
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4]; | ||
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K]; | ||
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K]; | ||
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K]; | ||
closest<E extends Element = Element>(selectors: string): E; | ||
computedStyleMap(): StylePropertyMapReadOnly; | ||
getAttribute(qualifiedName: string): string; | ||
getAttributeNS(namespace: string, localName: string): string; | ||
getAttribute(qualifiedName: string): string | null; | ||
getAttributeNS(namespace: string | null, localName: string): string | null; | ||
getAttributeNames(): string[]; | ||
getAttributeNode(qualifiedName: string): Attr; | ||
getAttributeNodeNS(namespace: string, localName: string): Attr; | ||
getAttributeNode(qualifiedName: string): Attr | null; | ||
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null; | ||
getBoundingClientRect(): DOMRect; | ||
getClientRects(): DOMRectList; | ||
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>; | ||
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>; | ||
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>; | ||
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>; | ||
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>; | ||
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>; | ||
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>; | ||
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>; | ||
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>; | ||
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>; | ||
@@ -114,8 +114,8 @@ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>; | ||
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>; | ||
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>; | ||
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>; | ||
hasAttribute(qualifiedName: string): boolean; | ||
hasAttributeNS(namespace: string, localName: string): boolean; | ||
hasAttributeNS(namespace: string | null, localName: string): boolean; | ||
hasAttributes(): boolean; | ||
hasPointerCapture(pointerId: number): boolean; | ||
insertAdjacentElement(where: InsertPosition, element: Element): Element; | ||
insertAdjacentElement(where: InsertPosition, element: Element): Element | null; | ||
insertAdjacentHTML(position: InsertPosition, text: string): void; | ||
@@ -126,3 +126,3 @@ insertAdjacentText(where: InsertPosition, data: string): void; | ||
removeAttribute(qualifiedName: string): void; | ||
removeAttributeNS(namespace: string, localName: string): void; | ||
removeAttributeNS(namespace: string | null, localName: string): void; | ||
removeAttributeNode(attr: Attr): Attr; | ||
@@ -139,5 +139,6 @@ requestFullscreen(options?: FullscreenOptions): Promise<void>; | ||
setAttribute(qualifiedName: string, value: string): void; | ||
setAttributeNS(namespace: string, qualifiedName: string, value: string): void; | ||
setAttributeNode(attr: Attr): Attr; | ||
setAttributeNodeNS(attr: Attr): Attr; | ||
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void; | ||
setAttributeNode(attr: Attr): Attr | null; | ||
setAttributeNodeNS(attr: Attr): Attr | null; | ||
setHTMLUnsafe(html: string): void; | ||
setPointerCapture(pointerId: number): void; | ||
@@ -148,28 +149,28 @@ toggleAttribute(qualifiedName: string, force?: boolean): boolean; | ||
readonly childNodes: NodeListOf<ChildNode>; | ||
readonly firstChild: ChildNode; | ||
readonly firstChild: ChildNode | null; | ||
readonly isConnected: boolean; | ||
readonly lastChild: ChildNode; | ||
readonly nextSibling: ChildNode; | ||
readonly lastChild: ChildNode | null; | ||
readonly nextSibling: ChildNode | null; | ||
readonly nodeName: string; | ||
readonly nodeType: number; | ||
nodeValue: string; | ||
readonly parentElement: HTMLElement; | ||
readonly parentNode: ParentNode; | ||
readonly previousSibling: ChildNode; | ||
textContent: string; | ||
nodeValue: string | null; | ||
readonly parentElement: HTMLElement | null; | ||
readonly parentNode: ParentNode | null; | ||
readonly previousSibling: ChildNode | null; | ||
textContent: string | null; | ||
appendChild<T extends Node>(node: T): T; | ||
cloneNode(deep?: boolean): Node; | ||
compareDocumentPosition(other: Node): number; | ||
contains(other: Node): boolean; | ||
contains(other: Node | null): boolean; | ||
getRootNode(options?: GetRootNodeOptions): Node; | ||
hasChildNodes(): boolean; | ||
insertBefore<T_1 extends Node>(node: T_1, child: Node): T_1; | ||
isDefaultNamespace(namespace: string): boolean; | ||
isEqualNode(otherNode: Node): boolean; | ||
isSameNode(otherNode: Node): boolean; | ||
lookupNamespaceURI(prefix: string): string; | ||
lookupPrefix(namespace: string): string; | ||
insertBefore<T extends Node>(node: T, child: Node | null): T; | ||
isDefaultNamespace(namespace: string | null): boolean; | ||
isEqualNode(otherNode: Node | null): boolean; | ||
isSameNode(otherNode: Node | null): boolean; | ||
lookupNamespaceURI(prefix: string | null): string | null; | ||
lookupPrefix(namespace: string | null): string | null; | ||
normalize(): void; | ||
removeChild<T_2 extends Node>(child: T_2): T_2; | ||
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3; | ||
removeChild<T extends Node>(child: T): T; | ||
replaceChild<T extends Node>(node: Node, child: T): T; | ||
readonly ELEMENT_NODE: 1; | ||
@@ -194,68 +195,70 @@ readonly ATTRIBUTE_NODE: 2; | ||
dispatchEvent(event: Event): boolean; | ||
ariaAtomic: string; | ||
ariaAutoComplete: string; | ||
ariaBusy: string; | ||
ariaChecked: string; | ||
ariaColCount: string; | ||
ariaColIndex: string; | ||
ariaColSpan: string; | ||
ariaCurrent: string; | ||
ariaDescription: string; | ||
ariaDisabled: string; | ||
ariaExpanded: string; | ||
ariaHasPopup: string; | ||
ariaHidden: string; | ||
ariaInvalid: string; | ||
ariaKeyShortcuts: string; | ||
ariaLabel: string; | ||
ariaLevel: string; | ||
ariaLive: string; | ||
ariaModal: string; | ||
ariaMultiLine: string; | ||
ariaMultiSelectable: string; | ||
ariaOrientation: string; | ||
ariaPlaceholder: string; | ||
ariaPosInSet: string; | ||
ariaPressed: string; | ||
ariaReadOnly: string; | ||
ariaRequired: string; | ||
ariaRoleDescription: string; | ||
ariaRowCount: string; | ||
ariaRowIndex: string; | ||
ariaRowSpan: string; | ||
ariaSelected: string; | ||
ariaSetSize: string; | ||
ariaSort: string; | ||
ariaValueMax: string; | ||
ariaValueMin: string; | ||
ariaValueNow: string; | ||
ariaValueText: string; | ||
role: string; | ||
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation; | ||
ariaAtomic: string | null; | ||
ariaAutoComplete: string | null; | ||
ariaBrailleLabel: string | null; | ||
ariaBrailleRoleDescription: string | null; | ||
ariaBusy: string | null; | ||
ariaChecked: string | null; | ||
ariaColCount: string | null; | ||
ariaColIndex: string | null; | ||
ariaColSpan: string | null; | ||
ariaCurrent: string | null; | ||
ariaDescription: string | null; | ||
ariaDisabled: string | null; | ||
ariaExpanded: string | null; | ||
ariaHasPopup: string | null; | ||
ariaHidden: string | null; | ||
ariaInvalid: string | null; | ||
ariaKeyShortcuts: string | null; | ||
ariaLabel: string | null; | ||
ariaLevel: string | null; | ||
ariaLive: string | null; | ||
ariaModal: string | null; | ||
ariaMultiLine: string | null; | ||
ariaMultiSelectable: string | null; | ||
ariaOrientation: string | null; | ||
ariaPlaceholder: string | null; | ||
ariaPosInSet: string | null; | ||
ariaPressed: string | null; | ||
ariaReadOnly: string | null; | ||
ariaRequired: string | null; | ||
ariaRoleDescription: string | null; | ||
ariaRowCount: string | null; | ||
ariaRowIndex: string | null; | ||
ariaRowSpan: string | null; | ||
ariaSelected: string | null; | ||
ariaSetSize: string | null; | ||
ariaSort: string | null; | ||
ariaValueMax: string | null; | ||
ariaValueMin: string | null; | ||
ariaValueNow: string | null; | ||
ariaValueText: string | null; | ||
role: string | null; | ||
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation; | ||
getAnimations(options?: GetAnimationsOptions): Animation[]; | ||
after(...nodes: (string | Node)[]): void; | ||
before(...nodes: (string | Node)[]): void; | ||
after(...nodes: (Node | string)[]): void; | ||
before(...nodes: (Node | string)[]): void; | ||
remove(): void; | ||
replaceWith(...nodes: (string | Node)[]): void; | ||
replaceWith(...nodes: (Node | string)[]): void; | ||
innerHTML: string; | ||
readonly nextElementSibling: Element; | ||
readonly previousElementSibling: Element; | ||
readonly nextElementSibling: Element | null; | ||
readonly previousElementSibling: Element | null; | ||
readonly childElementCount: number; | ||
readonly children: HTMLCollection; | ||
readonly firstElementChild: Element; | ||
readonly lastElementChild: Element; | ||
append(...nodes: (string | Node)[]): void; | ||
prepend(...nodes: (string | Node)[]): void; | ||
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9]; | ||
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10]; | ||
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11]; | ||
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12]; | ||
querySelector<E_1 extends Element = Element>(selectors: string): E_1; | ||
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>; | ||
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>; | ||
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>; | ||
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>; | ||
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>; | ||
replaceChildren(...nodes: (string | Node)[]): void; | ||
readonly assignedSlot: HTMLSlotElement; | ||
readonly firstElementChild: Element | null; | ||
readonly lastElementChild: Element | null; | ||
append(...nodes: (Node | string)[]): void; | ||
prepend(...nodes: (Node | string)[]): void; | ||
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null; | ||
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null; | ||
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null; | ||
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null; | ||
querySelector<E extends Element = Element>(selectors: string): E | null; | ||
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>; | ||
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>; | ||
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>; | ||
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>; | ||
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>; | ||
replaceChildren(...nodes: (Node | string)[]): void; | ||
readonly assignedSlot: HTMLSlotElement | null; | ||
readonly attributeStyleMap: StylePropertyMap; | ||
@@ -267,98 +270,98 @@ readonly style: CSSStyleDeclaration; | ||
readonly isContentEditable: boolean; | ||
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any; | ||
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any; | ||
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any; | ||
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any; | ||
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any; | ||
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any; | ||
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any; | ||
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any; | ||
oncancel: (this: GlobalEventHandlers, ev: Event) => any; | ||
oncanplay: (this: GlobalEventHandlers, ev: Event) => any; | ||
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any; | ||
onchange: (this: GlobalEventHandlers, ev: Event) => any; | ||
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onclose: (this: GlobalEventHandlers, ev: Event) => any; | ||
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any; | ||
oncuechange: (this: GlobalEventHandlers, ev: Event) => any; | ||
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any; | ||
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any; | ||
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any; | ||
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any; | ||
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any; | ||
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any; | ||
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any; | ||
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any; | ||
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any; | ||
onemptied: (this: GlobalEventHandlers, ev: Event) => any; | ||
onended: (this: GlobalEventHandlers, ev: Event) => any; | ||
onerror: OnErrorEventHandlerNonNull; | ||
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any; | ||
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any; | ||
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
oninput: (this: GlobalEventHandlers, ev: Event) => any; | ||
oninvalid: (this: GlobalEventHandlers, ev: Event) => any; | ||
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any; | ||
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any; | ||
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any; | ||
onload: (this: GlobalEventHandlers, ev: Event) => any; | ||
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any; | ||
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any; | ||
onloadstart: (this: GlobalEventHandlers, ev: Event) => any; | ||
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any; | ||
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any; | ||
onpause: (this: GlobalEventHandlers, ev: Event) => any; | ||
onplay: (this: GlobalEventHandlers, ev: Event) => any; | ||
onplaying: (this: GlobalEventHandlers, ev: Event) => any; | ||
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any; | ||
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any; | ||
onratechange: (this: GlobalEventHandlers, ev: Event) => any; | ||
onreset: (this: GlobalEventHandlers, ev: Event) => any; | ||
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any; | ||
onscroll: (this: GlobalEventHandlers, ev: Event) => any; | ||
onscrollend: (this: GlobalEventHandlers, ev: Event) => any; | ||
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any; | ||
onseeked: (this: GlobalEventHandlers, ev: Event) => any; | ||
onseeking: (this: GlobalEventHandlers, ev: Event) => any; | ||
onselect: (this: GlobalEventHandlers, ev: Event) => any; | ||
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any; | ||
onselectstart: (this: GlobalEventHandlers, ev: Event) => any; | ||
onslotchange: (this: GlobalEventHandlers, ev: Event) => any; | ||
onstalled: (this: GlobalEventHandlers, ev: Event) => any; | ||
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any; | ||
onsuspend: (this: GlobalEventHandlers, ev: Event) => any; | ||
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any; | ||
ontoggle: (this: GlobalEventHandlers, ev: Event) => any; | ||
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any; | ||
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any; | ||
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any; | ||
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any; | ||
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any; | ||
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any; | ||
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any; | ||
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any; | ||
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any; | ||
onwaiting: (this: GlobalEventHandlers, ev: Event) => any; | ||
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any; | ||
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any; | ||
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any; | ||
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any; | ||
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any; | ||
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; | ||
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; | ||
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; | ||
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; | ||
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; | ||
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null; | ||
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; | ||
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null; | ||
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null; | ||
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; | ||
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; | ||
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; | ||
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; | ||
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; | ||
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; | ||
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; | ||
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onerror: OnErrorEventHandler; | ||
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; | ||
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null; | ||
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; | ||
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; | ||
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; | ||
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; | ||
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null; | ||
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; | ||
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null; | ||
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; | ||
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null; | ||
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null; | ||
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; | ||
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; | ||
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; | ||
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; | ||
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; | ||
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; | ||
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; | ||
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; | ||
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null; | ||
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null; | ||
autofocus: boolean; | ||
@@ -365,0 +368,0 @@ readonly dataset: DOMStringMap; |
import BasicRoutingInterface from './routing-interface.js'; | ||
import type { Context } from './page.js'; | ||
import type RouteTreeNode from './route-tree-node.js'; | ||
import type { LitElement } from 'lit'; | ||
export type Constructor<T = {}> = new (...args: any[]) => T; | ||
@@ -10,3 +9,3 @@ export declare class RoutingMixinInterface { | ||
} | ||
declare const RoutingMixin: <T extends Constructor<LitElement>>(superclass: T) => Constructor<RoutingMixinInterface> & T; | ||
declare const RoutingMixin: <T extends Constructor<HTMLElement>>(superclass: T) => Constructor<RoutingMixinInterface> & T; | ||
export { RoutingMixin, BasicRoutingInterface }; |
import BasicRoutingInterface from './routing-interface.js'; | ||
import type { Context } from './page.js'; | ||
import type RouteTreeNode from './route-tree-node.js'; | ||
import type { LitElement } from 'lit'; | ||
import routingMixin from './routing-mixin.js'; | ||
@@ -11,3 +10,3 @@ export type Constructor<T = {}> = new (...args: any[]) => T; | ||
} | ||
const RoutingMixin = <T extends Constructor<LitElement>>(superclass: T) => { | ||
const RoutingMixin = <T extends Constructor<HTMLElement>>(superclass: T) => { | ||
return routingMixin(superclass) as unknown as Constructor<RoutingMixinInterface> & T; | ||
@@ -14,0 +13,0 @@ }; |
{ | ||
"name": "@jack-henry/web-component-router", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"description": "Web Components Router", | ||
@@ -48,8 +48,4 @@ "main": "router.js", | ||
"karma-spec-reporter": "^0.0.36", | ||
"lit": "^3.1.3", | ||
"typescript": "^5.2.2" | ||
}, | ||
"peerDependencies": { | ||
"lit": "^3.1.3" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
130020
1
7
2877