@wavelengthusaf/web-components 1.6.2 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +46 -1
- package/dist/cjs/index.d.cts +384 -1
- package/dist/esm/index.d.ts +384 -1
- package/dist/esm/index.js +45 -0
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -5972,6 +5972,51 @@ if (!customElements.get("wavelength-dropdown")) {
|
|
|
5972
5972
|
customElements.define("wavelength-dropdown", WavelengthDropdown);
|
|
5973
5973
|
}
|
|
5974
5974
|
|
|
5975
|
+
// src/web-components/wavelength-planetrail.template.html
|
|
5976
|
+
var wavelength_planetrail_template_default = '<style>\n :host {\n display: block;\n --color: #00308F;\n }\n .flex-container {\n display: flex;\n align-items: center;\n }\n\n #inner {\n border-radius: 25px;\n height: 2px;\n flex-grow: 1;\n background-color: var(--color);\n }\n\n #path {\n fill: var(--color);\n }\n</style>\n\n<div id="outer" class="flex-container" >\n <div id="inner">\n </div>\n <div>\n <svg id="plane" width="40" height="40">\n <path\n d="M 4.1666 16.3988 L 5.7608 16.3988 L 8.1645 19.6359 L 18.2616 19.6359 L 14.1291 5.6667 L 16.2425 5.6667 L 24.5075 19.6359 L 33.985 19.6359 C 34.5022 19.6359 34.9422 19.8172 35.305 20.18 C 35.6677 20.5428 35.8491 20.9828 35.8491 21.5 C 35.8491 22.0172 35.6677 22.4572 35.305 22.82 C 34.9422 23.1828 34.5022 23.3642 33.985 23.3642 L 24.5075 23.3642 L 16.2425 37.3334 L 14.1291 37.3334 L 18.2616 23.3642 L 8.1966 23.3642 L 5.7608 26.6013 L 4.1666 26.6013 L 5.6433 21.5 L 4.1666 16.3988 Z"\n id="path"\n />\n </svg>\n </div>\n</div>\n';
|
|
5977
|
+
|
|
5978
|
+
// src/web-components/wavelength-planetrail.ts
|
|
5979
|
+
var BasePlaneTrail = class extends HTMLElement {
|
|
5980
|
+
static get observedAttributes() {
|
|
5981
|
+
return ["traildir", "color"];
|
|
5982
|
+
}
|
|
5983
|
+
constructor() {
|
|
5984
|
+
super();
|
|
5985
|
+
this.shadow = this.attachShadow({ mode: "open" });
|
|
5986
|
+
this.shadow.innerHTML = wavelength_planetrail_template_default;
|
|
5987
|
+
this.plane = this.shadow.querySelector("#plane");
|
|
5988
|
+
this.outer = this.shadow.querySelector("#outer");
|
|
5989
|
+
this.inner = this.shadow.querySelector("#inner");
|
|
5990
|
+
}
|
|
5991
|
+
connectedCallback() {
|
|
5992
|
+
this.updateComponent();
|
|
5993
|
+
}
|
|
5994
|
+
attributeChangedCallback() {
|
|
5995
|
+
this.updateComponent();
|
|
5996
|
+
}
|
|
5997
|
+
updateComponent() {
|
|
5998
|
+
const trailDir = this.getAttribute("traildir") || "right";
|
|
5999
|
+
const color = this.getAttribute("color") || "#00308F";
|
|
6000
|
+
this.style.setProperty("--color", color);
|
|
6001
|
+
this.plane.style.setProperty("transform", trailDir === "right" ? "" : "matrix(-1, 0, 0, 1, 0, 0)");
|
|
6002
|
+
this.outer.style.setProperty("flex-direction", trailDir === "right" ? "row" : "row-reverse");
|
|
6003
|
+
this.outer.style.setProperty("justify-content", trailDir === "right" ? "right" : "left");
|
|
6004
|
+
if (trailDir === "right") {
|
|
6005
|
+
this.inner.style.setProperty("margin-right", "10px");
|
|
6006
|
+
this.inner.style.setProperty("margin-left", "0px");
|
|
6007
|
+
} else {
|
|
6008
|
+
this.inner.style.setProperty("margin-left", "10px");
|
|
6009
|
+
this.inner.style.setProperty("margin-right", "0px");
|
|
6010
|
+
}
|
|
6011
|
+
}
|
|
6012
|
+
};
|
|
6013
|
+
var WavelengthPlaneTrail = class extends StylingMixin(BasePlaneTrail) {
|
|
6014
|
+
};
|
|
6015
|
+
if (!customElements.get("wavelength-planetrail")) {
|
|
6016
|
+
customElements.define("wavelength-planetrail", WavelengthPlaneTrail);
|
|
6017
|
+
}
|
|
6018
|
+
|
|
6019
|
+
|
|
5975
6020
|
|
|
5976
6021
|
|
|
5977
6022
|
|
|
@@ -5989,7 +6034,7 @@ if (!customElements.get("wavelength-dropdown")) {
|
|
|
5989
6034
|
|
|
5990
6035
|
|
|
5991
6036
|
|
|
5992
|
-
exports.BaseWavelengthInput = BaseWavelengthInput; exports.BaseWavelengthMultiSelectAutocomplete = BaseWavelengthMultiSelectAutocomplete; exports.ChildDataTable = ChildDataTable; exports.SampleComponent = SampleComponent; exports.WavelengthBanner = WavelengthBanner; exports.WavelengthButton = WavelengthButton; exports.WavelengthCheckbox = WavelengthCheckbox; exports.WavelengthDatePicker = WavelengthDatePicker; exports.WavelengthDropdown = WavelengthDropdown; exports.WavelengthFileDropZone = WavelengthFileDropZone; exports.WavelengthForm = WavelengthForm; exports.WavelengthInput = WavelengthInput; exports.WavelengthMultiSelectAutocomplete = WavelengthMultiSelectAutocomplete; exports.WavelengthNavBar = WavelengthNavBar; exports.WavelengthNotificationPanel = WavelengthNotificationPanel; exports.WavelengthProgressBar = WavelengthProgressBar; exports.WavelengthTitleBar = WavelengthTitleBar;
|
|
6037
|
+
exports.BaseWavelengthInput = BaseWavelengthInput; exports.BaseWavelengthMultiSelectAutocomplete = BaseWavelengthMultiSelectAutocomplete; exports.ChildDataTable = ChildDataTable; exports.SampleComponent = SampleComponent; exports.WavelengthBanner = WavelengthBanner; exports.WavelengthButton = WavelengthButton; exports.WavelengthCheckbox = WavelengthCheckbox; exports.WavelengthDatePicker = WavelengthDatePicker; exports.WavelengthDropdown = WavelengthDropdown; exports.WavelengthFileDropZone = WavelengthFileDropZone; exports.WavelengthForm = WavelengthForm; exports.WavelengthInput = WavelengthInput; exports.WavelengthMultiSelectAutocomplete = WavelengthMultiSelectAutocomplete; exports.WavelengthNavBar = WavelengthNavBar; exports.WavelengthNotificationPanel = WavelengthNotificationPanel; exports.WavelengthPlaneTrail = WavelengthPlaneTrail; exports.WavelengthProgressBar = WavelengthProgressBar; exports.WavelengthTitleBar = WavelengthTitleBar;
|
|
5993
6038
|
/*! Bundled license information:
|
|
5994
6039
|
|
|
5995
6040
|
react/cjs/react.production.min.js:
|
package/dist/cjs/index.d.cts
CHANGED
|
@@ -1852,4 +1852,387 @@ declare class WavelengthDropdown extends HTMLElement {
|
|
|
1852
1852
|
set color(col: string);
|
|
1853
1853
|
}
|
|
1854
1854
|
|
|
1855
|
-
|
|
1855
|
+
declare class BasePlaneTrail extends HTMLElement {
|
|
1856
|
+
static get observedAttributes(): string[];
|
|
1857
|
+
private shadow;
|
|
1858
|
+
private plane;
|
|
1859
|
+
private outer;
|
|
1860
|
+
private inner;
|
|
1861
|
+
constructor();
|
|
1862
|
+
connectedCallback(): void;
|
|
1863
|
+
attributeChangedCallback(): void;
|
|
1864
|
+
updateComponent(): void;
|
|
1865
|
+
}
|
|
1866
|
+
declare const WavelengthPlaneTrail_base: {
|
|
1867
|
+
new (...args: any[]): {
|
|
1868
|
+
readonly _mixinStyleTagId: "custom-mixin-styles";
|
|
1869
|
+
set customStyles(styleObject: {
|
|
1870
|
+
[key: string]: string | number | {
|
|
1871
|
+
[key: string]: string | number;
|
|
1872
|
+
};
|
|
1873
|
+
});
|
|
1874
|
+
toKebabCase(str: string): string;
|
|
1875
|
+
createCssPropertiesString(ruleObject: {
|
|
1876
|
+
[key: string]: string | number;
|
|
1877
|
+
}): string;
|
|
1878
|
+
generateAndApplyStyles(styleObject: {
|
|
1879
|
+
[key: string]: string | number | {
|
|
1880
|
+
[key: string]: string | number;
|
|
1881
|
+
};
|
|
1882
|
+
}): void;
|
|
1883
|
+
accessKey: string;
|
|
1884
|
+
readonly accessKeyLabel: string;
|
|
1885
|
+
autocapitalize: string;
|
|
1886
|
+
autocorrect: boolean;
|
|
1887
|
+
dir: string;
|
|
1888
|
+
draggable: boolean;
|
|
1889
|
+
hidden: boolean;
|
|
1890
|
+
inert: boolean;
|
|
1891
|
+
innerText: string;
|
|
1892
|
+
lang: string;
|
|
1893
|
+
readonly offsetHeight: number;
|
|
1894
|
+
readonly offsetLeft: number;
|
|
1895
|
+
readonly offsetParent: Element | null;
|
|
1896
|
+
readonly offsetTop: number;
|
|
1897
|
+
readonly offsetWidth: number;
|
|
1898
|
+
outerText: string;
|
|
1899
|
+
popover: string | null;
|
|
1900
|
+
spellcheck: boolean;
|
|
1901
|
+
title: string;
|
|
1902
|
+
translate: boolean;
|
|
1903
|
+
writingSuggestions: string;
|
|
1904
|
+
attachInternals(): ElementInternals;
|
|
1905
|
+
click(): void;
|
|
1906
|
+
hidePopover(): void;
|
|
1907
|
+
showPopover(): void;
|
|
1908
|
+
togglePopover(options?: boolean): boolean;
|
|
1909
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1910
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1911
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1912
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1913
|
+
readonly attributes: NamedNodeMap;
|
|
1914
|
+
get classList(): DOMTokenList;
|
|
1915
|
+
set classList(value: string);
|
|
1916
|
+
className: string;
|
|
1917
|
+
readonly clientHeight: number;
|
|
1918
|
+
readonly clientLeft: number;
|
|
1919
|
+
readonly clientTop: number;
|
|
1920
|
+
readonly clientWidth: number;
|
|
1921
|
+
readonly currentCSSZoom: number;
|
|
1922
|
+
id: string;
|
|
1923
|
+
innerHTML: string;
|
|
1924
|
+
readonly localName: string;
|
|
1925
|
+
readonly namespaceURI: string | null;
|
|
1926
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
1927
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
1928
|
+
outerHTML: string;
|
|
1929
|
+
readonly ownerDocument: Document;
|
|
1930
|
+
get part(): DOMTokenList;
|
|
1931
|
+
set part(value: string);
|
|
1932
|
+
readonly prefix: string | null;
|
|
1933
|
+
readonly scrollHeight: number;
|
|
1934
|
+
scrollLeft: number;
|
|
1935
|
+
scrollTop: number;
|
|
1936
|
+
readonly scrollWidth: number;
|
|
1937
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
1938
|
+
slot: string;
|
|
1939
|
+
readonly tagName: string;
|
|
1940
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
1941
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
1942
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
1943
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
1944
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
1945
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
1946
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
1947
|
+
getAttribute(qualifiedName: string): string | null;
|
|
1948
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
1949
|
+
getAttributeNames(): string[];
|
|
1950
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
1951
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
1952
|
+
getBoundingClientRect(): DOMRect;
|
|
1953
|
+
getClientRects(): DOMRectList;
|
|
1954
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
1955
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
1956
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
1957
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
1958
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
1959
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
1960
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
1961
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
1962
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
1963
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
1964
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
1965
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
1966
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
1967
|
+
hasAttributes(): boolean;
|
|
1968
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
1969
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
1970
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
1971
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
1972
|
+
matches(selectors: string): boolean;
|
|
1973
|
+
releasePointerCapture(pointerId: number): void;
|
|
1974
|
+
removeAttribute(qualifiedName: string): void;
|
|
1975
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
1976
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
1977
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
1978
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
1979
|
+
scroll(options?: ScrollToOptions): void;
|
|
1980
|
+
scroll(x: number, y: number): void;
|
|
1981
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
1982
|
+
scrollBy(x: number, y: number): void;
|
|
1983
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
1984
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
1985
|
+
scrollTo(x: number, y: number): void;
|
|
1986
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
1987
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
1988
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
1989
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
1990
|
+
setHTMLUnsafe(html: string): void;
|
|
1991
|
+
setPointerCapture(pointerId: number): void;
|
|
1992
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
1993
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
1994
|
+
get textContent(): string;
|
|
1995
|
+
set textContent(value: string | null);
|
|
1996
|
+
readonly baseURI: string;
|
|
1997
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
1998
|
+
readonly firstChild: ChildNode | null;
|
|
1999
|
+
readonly isConnected: boolean;
|
|
2000
|
+
readonly lastChild: ChildNode | null;
|
|
2001
|
+
readonly nextSibling: ChildNode | null;
|
|
2002
|
+
readonly nodeName: string;
|
|
2003
|
+
readonly nodeType: number;
|
|
2004
|
+
nodeValue: string | null;
|
|
2005
|
+
readonly parentElement: HTMLElement | null;
|
|
2006
|
+
readonly parentNode: ParentNode | null;
|
|
2007
|
+
readonly previousSibling: ChildNode | null;
|
|
2008
|
+
appendChild<T extends Node>(node: T): T;
|
|
2009
|
+
cloneNode(subtree?: boolean): Node;
|
|
2010
|
+
compareDocumentPosition(other: Node): number;
|
|
2011
|
+
contains(other: Node | null): boolean;
|
|
2012
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
2013
|
+
hasChildNodes(): boolean;
|
|
2014
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
2015
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
2016
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
2017
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
2018
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
2019
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
2020
|
+
normalize(): void;
|
|
2021
|
+
removeChild<T extends Node>(child: T): T;
|
|
2022
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
2023
|
+
readonly ELEMENT_NODE: 1;
|
|
2024
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
2025
|
+
readonly TEXT_NODE: 3;
|
|
2026
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
2027
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
2028
|
+
readonly ENTITY_NODE: 6;
|
|
2029
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
2030
|
+
readonly COMMENT_NODE: 8;
|
|
2031
|
+
readonly DOCUMENT_NODE: 9;
|
|
2032
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
2033
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
2034
|
+
readonly NOTATION_NODE: 12;
|
|
2035
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
2036
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
2037
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
2038
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
2039
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
2040
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
2041
|
+
dispatchEvent(event: Event): boolean;
|
|
2042
|
+
ariaActiveDescendantElement: Element | null;
|
|
2043
|
+
ariaAtomic: string | null;
|
|
2044
|
+
ariaAutoComplete: string | null;
|
|
2045
|
+
ariaBrailleLabel: string | null;
|
|
2046
|
+
ariaBrailleRoleDescription: string | null;
|
|
2047
|
+
ariaBusy: string | null;
|
|
2048
|
+
ariaChecked: string | null;
|
|
2049
|
+
ariaColCount: string | null;
|
|
2050
|
+
ariaColIndex: string | null;
|
|
2051
|
+
ariaColIndexText: string | null;
|
|
2052
|
+
ariaColSpan: string | null;
|
|
2053
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
2054
|
+
ariaCurrent: string | null;
|
|
2055
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
2056
|
+
ariaDescription: string | null;
|
|
2057
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
2058
|
+
ariaDisabled: string | null;
|
|
2059
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
2060
|
+
ariaExpanded: string | null;
|
|
2061
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
2062
|
+
ariaHasPopup: string | null;
|
|
2063
|
+
ariaHidden: string | null;
|
|
2064
|
+
ariaInvalid: string | null;
|
|
2065
|
+
ariaKeyShortcuts: string | null;
|
|
2066
|
+
ariaLabel: string | null;
|
|
2067
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
2068
|
+
ariaLevel: string | null;
|
|
2069
|
+
ariaLive: string | null;
|
|
2070
|
+
ariaModal: string | null;
|
|
2071
|
+
ariaMultiLine: string | null;
|
|
2072
|
+
ariaMultiSelectable: string | null;
|
|
2073
|
+
ariaOrientation: string | null;
|
|
2074
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
2075
|
+
ariaPlaceholder: string | null;
|
|
2076
|
+
ariaPosInSet: string | null;
|
|
2077
|
+
ariaPressed: string | null;
|
|
2078
|
+
ariaReadOnly: string | null;
|
|
2079
|
+
ariaRelevant: string | null;
|
|
2080
|
+
ariaRequired: string | null;
|
|
2081
|
+
ariaRoleDescription: string | null;
|
|
2082
|
+
ariaRowCount: string | null;
|
|
2083
|
+
ariaRowIndex: string | null;
|
|
2084
|
+
ariaRowIndexText: string | null;
|
|
2085
|
+
ariaRowSpan: string | null;
|
|
2086
|
+
ariaSelected: string | null;
|
|
2087
|
+
ariaSetSize: string | null;
|
|
2088
|
+
ariaSort: string | null;
|
|
2089
|
+
ariaValueMax: string | null;
|
|
2090
|
+
ariaValueMin: string | null;
|
|
2091
|
+
ariaValueNow: string | null;
|
|
2092
|
+
ariaValueText: string | null;
|
|
2093
|
+
role: string | null;
|
|
2094
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
2095
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
2096
|
+
after(...nodes: (Node | string)[]): void;
|
|
2097
|
+
before(...nodes: (Node | string)[]): void;
|
|
2098
|
+
remove(): void;
|
|
2099
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
2100
|
+
readonly nextElementSibling: Element | null;
|
|
2101
|
+
readonly previousElementSibling: Element | null;
|
|
2102
|
+
readonly childElementCount: number;
|
|
2103
|
+
readonly children: HTMLCollection;
|
|
2104
|
+
readonly firstElementChild: Element | null;
|
|
2105
|
+
readonly lastElementChild: Element | null;
|
|
2106
|
+
append(...nodes: (Node | string)[]): void;
|
|
2107
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
2108
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
2109
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
2110
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
2111
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
2112
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
2113
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
2114
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
2115
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
2116
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
2117
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
2118
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
2119
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
2120
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
2121
|
+
get style(): CSSStyleDeclaration;
|
|
2122
|
+
set style(cssText: string);
|
|
2123
|
+
contentEditable: string;
|
|
2124
|
+
enterKeyHint: string;
|
|
2125
|
+
inputMode: string;
|
|
2126
|
+
readonly isContentEditable: boolean;
|
|
2127
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
2128
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
2129
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
2130
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
2131
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
2132
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2133
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
2134
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2135
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
2136
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
2137
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2138
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2139
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2140
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2141
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2142
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2143
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2144
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2145
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2146
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
2147
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2148
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
2149
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2150
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
2151
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
2152
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
2153
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
2154
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
2155
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
2156
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
2157
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2158
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2159
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2160
|
+
onerror: OnErrorEventHandler;
|
|
2161
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
2162
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
2163
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2164
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2165
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2166
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
2167
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
2168
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
2169
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2170
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2171
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2172
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2173
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2174
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2175
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2176
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2177
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2178
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2179
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2180
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2181
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
2182
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2183
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2184
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2185
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2186
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2187
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2188
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2189
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2190
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2191
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2192
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2193
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2194
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
2195
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2196
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2197
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
2198
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2199
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2200
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
2201
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2202
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2203
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2204
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2205
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2206
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2207
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2208
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
2209
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2210
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2211
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
2212
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
2213
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
2214
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
2215
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
2216
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
2217
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
2218
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
2219
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
2220
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2221
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2222
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2223
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2224
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2225
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2226
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
2227
|
+
autofocus: boolean;
|
|
2228
|
+
readonly dataset: DOMStringMap;
|
|
2229
|
+
nonce?: string;
|
|
2230
|
+
tabIndex: number;
|
|
2231
|
+
blur(): void;
|
|
2232
|
+
focus(options?: FocusOptions): void;
|
|
2233
|
+
};
|
|
2234
|
+
} & typeof BasePlaneTrail;
|
|
2235
|
+
declare class WavelengthPlaneTrail extends WavelengthPlaneTrail_base {
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
export { BaseWavelengthInput, BaseWavelengthMultiSelectAutocomplete, type CheckboxElements, ChildDataTable, SampleComponent, WavelengthBanner, WavelengthButton, WavelengthCheckbox, WavelengthDatePicker, WavelengthDropdown, WavelengthFileDropZone, WavelengthForm, WavelengthInput, WavelengthMultiSelectAutocomplete, WavelengthNavBar, WavelengthNotificationPanel, WavelengthPlaneTrail, WavelengthProgressBar, WavelengthTitleBar };
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1852,4 +1852,387 @@ declare class WavelengthDropdown extends HTMLElement {
|
|
|
1852
1852
|
set color(col: string);
|
|
1853
1853
|
}
|
|
1854
1854
|
|
|
1855
|
-
|
|
1855
|
+
declare class BasePlaneTrail extends HTMLElement {
|
|
1856
|
+
static get observedAttributes(): string[];
|
|
1857
|
+
private shadow;
|
|
1858
|
+
private plane;
|
|
1859
|
+
private outer;
|
|
1860
|
+
private inner;
|
|
1861
|
+
constructor();
|
|
1862
|
+
connectedCallback(): void;
|
|
1863
|
+
attributeChangedCallback(): void;
|
|
1864
|
+
updateComponent(): void;
|
|
1865
|
+
}
|
|
1866
|
+
declare const WavelengthPlaneTrail_base: {
|
|
1867
|
+
new (...args: any[]): {
|
|
1868
|
+
readonly _mixinStyleTagId: "custom-mixin-styles";
|
|
1869
|
+
set customStyles(styleObject: {
|
|
1870
|
+
[key: string]: string | number | {
|
|
1871
|
+
[key: string]: string | number;
|
|
1872
|
+
};
|
|
1873
|
+
});
|
|
1874
|
+
toKebabCase(str: string): string;
|
|
1875
|
+
createCssPropertiesString(ruleObject: {
|
|
1876
|
+
[key: string]: string | number;
|
|
1877
|
+
}): string;
|
|
1878
|
+
generateAndApplyStyles(styleObject: {
|
|
1879
|
+
[key: string]: string | number | {
|
|
1880
|
+
[key: string]: string | number;
|
|
1881
|
+
};
|
|
1882
|
+
}): void;
|
|
1883
|
+
accessKey: string;
|
|
1884
|
+
readonly accessKeyLabel: string;
|
|
1885
|
+
autocapitalize: string;
|
|
1886
|
+
autocorrect: boolean;
|
|
1887
|
+
dir: string;
|
|
1888
|
+
draggable: boolean;
|
|
1889
|
+
hidden: boolean;
|
|
1890
|
+
inert: boolean;
|
|
1891
|
+
innerText: string;
|
|
1892
|
+
lang: string;
|
|
1893
|
+
readonly offsetHeight: number;
|
|
1894
|
+
readonly offsetLeft: number;
|
|
1895
|
+
readonly offsetParent: Element | null;
|
|
1896
|
+
readonly offsetTop: number;
|
|
1897
|
+
readonly offsetWidth: number;
|
|
1898
|
+
outerText: string;
|
|
1899
|
+
popover: string | null;
|
|
1900
|
+
spellcheck: boolean;
|
|
1901
|
+
title: string;
|
|
1902
|
+
translate: boolean;
|
|
1903
|
+
writingSuggestions: string;
|
|
1904
|
+
attachInternals(): ElementInternals;
|
|
1905
|
+
click(): void;
|
|
1906
|
+
hidePopover(): void;
|
|
1907
|
+
showPopover(): void;
|
|
1908
|
+
togglePopover(options?: boolean): boolean;
|
|
1909
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1910
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1911
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1912
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1913
|
+
readonly attributes: NamedNodeMap;
|
|
1914
|
+
get classList(): DOMTokenList;
|
|
1915
|
+
set classList(value: string);
|
|
1916
|
+
className: string;
|
|
1917
|
+
readonly clientHeight: number;
|
|
1918
|
+
readonly clientLeft: number;
|
|
1919
|
+
readonly clientTop: number;
|
|
1920
|
+
readonly clientWidth: number;
|
|
1921
|
+
readonly currentCSSZoom: number;
|
|
1922
|
+
id: string;
|
|
1923
|
+
innerHTML: string;
|
|
1924
|
+
readonly localName: string;
|
|
1925
|
+
readonly namespaceURI: string | null;
|
|
1926
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
1927
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
1928
|
+
outerHTML: string;
|
|
1929
|
+
readonly ownerDocument: Document;
|
|
1930
|
+
get part(): DOMTokenList;
|
|
1931
|
+
set part(value: string);
|
|
1932
|
+
readonly prefix: string | null;
|
|
1933
|
+
readonly scrollHeight: number;
|
|
1934
|
+
scrollLeft: number;
|
|
1935
|
+
scrollTop: number;
|
|
1936
|
+
readonly scrollWidth: number;
|
|
1937
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
1938
|
+
slot: string;
|
|
1939
|
+
readonly tagName: string;
|
|
1940
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
1941
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
1942
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
1943
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
1944
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
1945
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
1946
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
1947
|
+
getAttribute(qualifiedName: string): string | null;
|
|
1948
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
1949
|
+
getAttributeNames(): string[];
|
|
1950
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
1951
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
1952
|
+
getBoundingClientRect(): DOMRect;
|
|
1953
|
+
getClientRects(): DOMRectList;
|
|
1954
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
1955
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
1956
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
1957
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
1958
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
1959
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
1960
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
1961
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
1962
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
1963
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
1964
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
1965
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
1966
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
1967
|
+
hasAttributes(): boolean;
|
|
1968
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
1969
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
1970
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
1971
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
1972
|
+
matches(selectors: string): boolean;
|
|
1973
|
+
releasePointerCapture(pointerId: number): void;
|
|
1974
|
+
removeAttribute(qualifiedName: string): void;
|
|
1975
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
1976
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
1977
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
1978
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
1979
|
+
scroll(options?: ScrollToOptions): void;
|
|
1980
|
+
scroll(x: number, y: number): void;
|
|
1981
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
1982
|
+
scrollBy(x: number, y: number): void;
|
|
1983
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
1984
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
1985
|
+
scrollTo(x: number, y: number): void;
|
|
1986
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
1987
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
1988
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
1989
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
1990
|
+
setHTMLUnsafe(html: string): void;
|
|
1991
|
+
setPointerCapture(pointerId: number): void;
|
|
1992
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
1993
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
1994
|
+
get textContent(): string;
|
|
1995
|
+
set textContent(value: string | null);
|
|
1996
|
+
readonly baseURI: string;
|
|
1997
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
1998
|
+
readonly firstChild: ChildNode | null;
|
|
1999
|
+
readonly isConnected: boolean;
|
|
2000
|
+
readonly lastChild: ChildNode | null;
|
|
2001
|
+
readonly nextSibling: ChildNode | null;
|
|
2002
|
+
readonly nodeName: string;
|
|
2003
|
+
readonly nodeType: number;
|
|
2004
|
+
nodeValue: string | null;
|
|
2005
|
+
readonly parentElement: HTMLElement | null;
|
|
2006
|
+
readonly parentNode: ParentNode | null;
|
|
2007
|
+
readonly previousSibling: ChildNode | null;
|
|
2008
|
+
appendChild<T extends Node>(node: T): T;
|
|
2009
|
+
cloneNode(subtree?: boolean): Node;
|
|
2010
|
+
compareDocumentPosition(other: Node): number;
|
|
2011
|
+
contains(other: Node | null): boolean;
|
|
2012
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
2013
|
+
hasChildNodes(): boolean;
|
|
2014
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
2015
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
2016
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
2017
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
2018
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
2019
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
2020
|
+
normalize(): void;
|
|
2021
|
+
removeChild<T extends Node>(child: T): T;
|
|
2022
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
2023
|
+
readonly ELEMENT_NODE: 1;
|
|
2024
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
2025
|
+
readonly TEXT_NODE: 3;
|
|
2026
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
2027
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
2028
|
+
readonly ENTITY_NODE: 6;
|
|
2029
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
2030
|
+
readonly COMMENT_NODE: 8;
|
|
2031
|
+
readonly DOCUMENT_NODE: 9;
|
|
2032
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
2033
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
2034
|
+
readonly NOTATION_NODE: 12;
|
|
2035
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
2036
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
2037
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
2038
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
2039
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
2040
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
2041
|
+
dispatchEvent(event: Event): boolean;
|
|
2042
|
+
ariaActiveDescendantElement: Element | null;
|
|
2043
|
+
ariaAtomic: string | null;
|
|
2044
|
+
ariaAutoComplete: string | null;
|
|
2045
|
+
ariaBrailleLabel: string | null;
|
|
2046
|
+
ariaBrailleRoleDescription: string | null;
|
|
2047
|
+
ariaBusy: string | null;
|
|
2048
|
+
ariaChecked: string | null;
|
|
2049
|
+
ariaColCount: string | null;
|
|
2050
|
+
ariaColIndex: string | null;
|
|
2051
|
+
ariaColIndexText: string | null;
|
|
2052
|
+
ariaColSpan: string | null;
|
|
2053
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
2054
|
+
ariaCurrent: string | null;
|
|
2055
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
2056
|
+
ariaDescription: string | null;
|
|
2057
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
2058
|
+
ariaDisabled: string | null;
|
|
2059
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
2060
|
+
ariaExpanded: string | null;
|
|
2061
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
2062
|
+
ariaHasPopup: string | null;
|
|
2063
|
+
ariaHidden: string | null;
|
|
2064
|
+
ariaInvalid: string | null;
|
|
2065
|
+
ariaKeyShortcuts: string | null;
|
|
2066
|
+
ariaLabel: string | null;
|
|
2067
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
2068
|
+
ariaLevel: string | null;
|
|
2069
|
+
ariaLive: string | null;
|
|
2070
|
+
ariaModal: string | null;
|
|
2071
|
+
ariaMultiLine: string | null;
|
|
2072
|
+
ariaMultiSelectable: string | null;
|
|
2073
|
+
ariaOrientation: string | null;
|
|
2074
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
2075
|
+
ariaPlaceholder: string | null;
|
|
2076
|
+
ariaPosInSet: string | null;
|
|
2077
|
+
ariaPressed: string | null;
|
|
2078
|
+
ariaReadOnly: string | null;
|
|
2079
|
+
ariaRelevant: string | null;
|
|
2080
|
+
ariaRequired: string | null;
|
|
2081
|
+
ariaRoleDescription: string | null;
|
|
2082
|
+
ariaRowCount: string | null;
|
|
2083
|
+
ariaRowIndex: string | null;
|
|
2084
|
+
ariaRowIndexText: string | null;
|
|
2085
|
+
ariaRowSpan: string | null;
|
|
2086
|
+
ariaSelected: string | null;
|
|
2087
|
+
ariaSetSize: string | null;
|
|
2088
|
+
ariaSort: string | null;
|
|
2089
|
+
ariaValueMax: string | null;
|
|
2090
|
+
ariaValueMin: string | null;
|
|
2091
|
+
ariaValueNow: string | null;
|
|
2092
|
+
ariaValueText: string | null;
|
|
2093
|
+
role: string | null;
|
|
2094
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
2095
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
2096
|
+
after(...nodes: (Node | string)[]): void;
|
|
2097
|
+
before(...nodes: (Node | string)[]): void;
|
|
2098
|
+
remove(): void;
|
|
2099
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
2100
|
+
readonly nextElementSibling: Element | null;
|
|
2101
|
+
readonly previousElementSibling: Element | null;
|
|
2102
|
+
readonly childElementCount: number;
|
|
2103
|
+
readonly children: HTMLCollection;
|
|
2104
|
+
readonly firstElementChild: Element | null;
|
|
2105
|
+
readonly lastElementChild: Element | null;
|
|
2106
|
+
append(...nodes: (Node | string)[]): void;
|
|
2107
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
2108
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
2109
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
2110
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
2111
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
2112
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
2113
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
2114
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
2115
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
2116
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
2117
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
2118
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
2119
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
2120
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
2121
|
+
get style(): CSSStyleDeclaration;
|
|
2122
|
+
set style(cssText: string);
|
|
2123
|
+
contentEditable: string;
|
|
2124
|
+
enterKeyHint: string;
|
|
2125
|
+
inputMode: string;
|
|
2126
|
+
readonly isContentEditable: boolean;
|
|
2127
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
2128
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
2129
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
2130
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
2131
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
2132
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2133
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
2134
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2135
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
2136
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
2137
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2138
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2139
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2140
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2141
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2142
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2143
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2144
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2145
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2146
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
2147
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2148
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
2149
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2150
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
2151
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
2152
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
2153
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
2154
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
2155
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
2156
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
2157
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2158
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2159
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2160
|
+
onerror: OnErrorEventHandler;
|
|
2161
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
2162
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
2163
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2164
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2165
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2166
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
2167
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
2168
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
2169
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2170
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2171
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2172
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2173
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2174
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2175
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2176
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2177
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2178
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2179
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2180
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
2181
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
2182
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2183
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2184
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2185
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2186
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2187
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2188
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2189
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2190
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2191
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2192
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2193
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
2194
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
2195
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2196
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2197
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
2198
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2199
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2200
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
2201
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2202
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2203
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2204
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2205
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2206
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2207
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2208
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
2209
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2210
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2211
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
2212
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
2213
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
2214
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
2215
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
2216
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
2217
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
2218
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
2219
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
2220
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2221
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2222
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2223
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2224
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2225
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
2226
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
2227
|
+
autofocus: boolean;
|
|
2228
|
+
readonly dataset: DOMStringMap;
|
|
2229
|
+
nonce?: string;
|
|
2230
|
+
tabIndex: number;
|
|
2231
|
+
blur(): void;
|
|
2232
|
+
focus(options?: FocusOptions): void;
|
|
2233
|
+
};
|
|
2234
|
+
} & typeof BasePlaneTrail;
|
|
2235
|
+
declare class WavelengthPlaneTrail extends WavelengthPlaneTrail_base {
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
export { BaseWavelengthInput, BaseWavelengthMultiSelectAutocomplete, type CheckboxElements, ChildDataTable, SampleComponent, WavelengthBanner, WavelengthButton, WavelengthCheckbox, WavelengthDatePicker, WavelengthDropdown, WavelengthFileDropZone, WavelengthForm, WavelengthInput, WavelengthMultiSelectAutocomplete, WavelengthNavBar, WavelengthNotificationPanel, WavelengthPlaneTrail, WavelengthProgressBar, WavelengthTitleBar };
|
package/dist/esm/index.js
CHANGED
|
@@ -5971,6 +5971,50 @@ var WavelengthDropdown = class extends HTMLElement {
|
|
|
5971
5971
|
if (!customElements.get("wavelength-dropdown")) {
|
|
5972
5972
|
customElements.define("wavelength-dropdown", WavelengthDropdown);
|
|
5973
5973
|
}
|
|
5974
|
+
|
|
5975
|
+
// src/web-components/wavelength-planetrail.template.html
|
|
5976
|
+
var wavelength_planetrail_template_default = '<style>\n :host {\n display: block;\n --color: #00308F;\n }\n .flex-container {\n display: flex;\n align-items: center;\n }\n\n #inner {\n border-radius: 25px;\n height: 2px;\n flex-grow: 1;\n background-color: var(--color);\n }\n\n #path {\n fill: var(--color);\n }\n</style>\n\n<div id="outer" class="flex-container" >\n <div id="inner">\n </div>\n <div>\n <svg id="plane" width="40" height="40">\n <path\n d="M 4.1666 16.3988 L 5.7608 16.3988 L 8.1645 19.6359 L 18.2616 19.6359 L 14.1291 5.6667 L 16.2425 5.6667 L 24.5075 19.6359 L 33.985 19.6359 C 34.5022 19.6359 34.9422 19.8172 35.305 20.18 C 35.6677 20.5428 35.8491 20.9828 35.8491 21.5 C 35.8491 22.0172 35.6677 22.4572 35.305 22.82 C 34.9422 23.1828 34.5022 23.3642 33.985 23.3642 L 24.5075 23.3642 L 16.2425 37.3334 L 14.1291 37.3334 L 18.2616 23.3642 L 8.1966 23.3642 L 5.7608 26.6013 L 4.1666 26.6013 L 5.6433 21.5 L 4.1666 16.3988 Z"\n id="path"\n />\n </svg>\n </div>\n</div>\n';
|
|
5977
|
+
|
|
5978
|
+
// src/web-components/wavelength-planetrail.ts
|
|
5979
|
+
var BasePlaneTrail = class extends HTMLElement {
|
|
5980
|
+
static get observedAttributes() {
|
|
5981
|
+
return ["traildir", "color"];
|
|
5982
|
+
}
|
|
5983
|
+
constructor() {
|
|
5984
|
+
super();
|
|
5985
|
+
this.shadow = this.attachShadow({ mode: "open" });
|
|
5986
|
+
this.shadow.innerHTML = wavelength_planetrail_template_default;
|
|
5987
|
+
this.plane = this.shadow.querySelector("#plane");
|
|
5988
|
+
this.outer = this.shadow.querySelector("#outer");
|
|
5989
|
+
this.inner = this.shadow.querySelector("#inner");
|
|
5990
|
+
}
|
|
5991
|
+
connectedCallback() {
|
|
5992
|
+
this.updateComponent();
|
|
5993
|
+
}
|
|
5994
|
+
attributeChangedCallback() {
|
|
5995
|
+
this.updateComponent();
|
|
5996
|
+
}
|
|
5997
|
+
updateComponent() {
|
|
5998
|
+
const trailDir = this.getAttribute("traildir") || "right";
|
|
5999
|
+
const color = this.getAttribute("color") || "#00308F";
|
|
6000
|
+
this.style.setProperty("--color", color);
|
|
6001
|
+
this.plane.style.setProperty("transform", trailDir === "right" ? "" : "matrix(-1, 0, 0, 1, 0, 0)");
|
|
6002
|
+
this.outer.style.setProperty("flex-direction", trailDir === "right" ? "row" : "row-reverse");
|
|
6003
|
+
this.outer.style.setProperty("justify-content", trailDir === "right" ? "right" : "left");
|
|
6004
|
+
if (trailDir === "right") {
|
|
6005
|
+
this.inner.style.setProperty("margin-right", "10px");
|
|
6006
|
+
this.inner.style.setProperty("margin-left", "0px");
|
|
6007
|
+
} else {
|
|
6008
|
+
this.inner.style.setProperty("margin-left", "10px");
|
|
6009
|
+
this.inner.style.setProperty("margin-right", "0px");
|
|
6010
|
+
}
|
|
6011
|
+
}
|
|
6012
|
+
};
|
|
6013
|
+
var WavelengthPlaneTrail = class extends StylingMixin(BasePlaneTrail) {
|
|
6014
|
+
};
|
|
6015
|
+
if (!customElements.get("wavelength-planetrail")) {
|
|
6016
|
+
customElements.define("wavelength-planetrail", WavelengthPlaneTrail);
|
|
6017
|
+
}
|
|
5974
6018
|
export {
|
|
5975
6019
|
BaseWavelengthInput,
|
|
5976
6020
|
BaseWavelengthMultiSelectAutocomplete,
|
|
@@ -5987,6 +6031,7 @@ export {
|
|
|
5987
6031
|
WavelengthMultiSelectAutocomplete,
|
|
5988
6032
|
WavelengthNavBar,
|
|
5989
6033
|
WavelengthNotificationPanel,
|
|
6034
|
+
WavelengthPlaneTrail,
|
|
5990
6035
|
WavelengthProgressBar,
|
|
5991
6036
|
WavelengthTitleBar
|
|
5992
6037
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@wavelengthusaf/web-components",
|
|
3
3
|
"author": "563 EWS - Wavelength",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.7.0",
|
|
6
6
|
"description": "Common component library used by Wavelength developers (NATIVE WEB COMPONENTS)",
|
|
7
7
|
"main": "/dist/cjs/index.cjs",
|
|
8
8
|
"module": "/dist/esm/index.js",
|