@wavelengthusaf/web-components 1.0.1 → 1.1.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.
@@ -1,882 +1,1362 @@
1
- import * as React$1 from 'react';
2
- import React__default, { ReactNode, ChangeEvent, ReactElement } from 'react';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import { TextFieldVariants, SxProps, Theme } from '@mui/material';
5
- import { z } from 'zod';
6
- import { Mark } from '@mui/material/Slider/useSlider.types';
1
+ import { ZodObject, ZodRawShape } from 'zod';
7
2
 
8
- /**
9
- * Helper Functions
10
- * @param a
11
- * @param b
12
- * @returns
13
- */
14
- declare function add(a: number, b: number): number;
15
-
16
- /**
17
- * Helper Functions
18
- * @param a
19
- * @param b
20
- * @returns
21
- */
22
- declare function concat(a: string, b: string): string;
23
-
24
- interface WavelengthButtonProps extends React__default.HTMLAttributes<HTMLElement> {
25
- variant?: "contained" | "outlined" | "text";
26
- size?: "small" | "medium" | "large";
27
- height?: string;
28
- width?: string;
29
- margin?: string;
30
- padding?: string;
31
- colorOne?: string;
32
- colorTwo?: string;
33
- fontSize?: string;
34
- disabled?: boolean;
35
- borderRadius?: string;
36
- onClick?: React__default.MouseEventHandler<HTMLElement>;
37
- children?: React__default.ReactNode;
38
- href?: string;
39
- target?: "_self" | "_blank" | "_parent" | "_top";
40
- boxShadow?: string;
41
- className?: string;
42
- style?: React__default.CSSProperties;
3
+ declare class BaseSampleComponent extends HTMLElement {
4
+ static get observedAttributes(): string[];
5
+ private shadow;
6
+ constructor();
7
+ connectedCallback(): void;
8
+ attributeChangedCallback(): void;
9
+ updateComponent(): void;
10
+ }
11
+ declare const SampleComponent_base: {
12
+ new (...args: any[]): {
13
+ readonly _mixinStyleTagId: "custom-mixin-styles";
14
+ set customStyles(styleObject: {
15
+ [key: string]: string | number | {
16
+ [key: string]: string | number;
17
+ };
18
+ });
19
+ toKebabCase(str: string): string;
20
+ createCssPropertiesString(ruleObject: {
21
+ [key: string]: string | number;
22
+ }): string;
23
+ generateAndApplyStyles(styleObject: {
24
+ [key: string]: string | number | {
25
+ [key: string]: string | number;
26
+ };
27
+ }): void;
28
+ accessKey: string;
29
+ readonly accessKeyLabel: string;
30
+ autocapitalize: string;
31
+ autocorrect: boolean;
32
+ dir: string;
33
+ draggable: boolean;
34
+ hidden: boolean;
35
+ inert: boolean;
36
+ innerText: string;
37
+ lang: string;
38
+ readonly offsetHeight: number;
39
+ readonly offsetLeft: number;
40
+ readonly offsetParent: Element | null;
41
+ readonly offsetTop: number;
42
+ readonly offsetWidth: number;
43
+ outerText: string;
44
+ popover: string | null;
45
+ spellcheck: boolean;
46
+ title: string;
47
+ translate: boolean;
48
+ writingSuggestions: string;
49
+ attachInternals(): ElementInternals;
50
+ click(): void;
51
+ hidePopover(): void;
52
+ showPopover(): void;
53
+ togglePopover(options?: boolean): boolean;
54
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
55
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
56
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
57
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
58
+ readonly attributes: NamedNodeMap;
59
+ get classList(): DOMTokenList;
60
+ set classList(value: string);
61
+ className: string;
62
+ readonly clientHeight: number;
63
+ readonly clientLeft: number;
64
+ readonly clientTop: number;
65
+ readonly clientWidth: number;
66
+ readonly currentCSSZoom: number;
67
+ id: string;
68
+ innerHTML: string;
69
+ readonly localName: string;
70
+ readonly namespaceURI: string | null;
71
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
72
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
73
+ outerHTML: string;
74
+ readonly ownerDocument: Document;
75
+ get part(): DOMTokenList;
76
+ set part(value: string);
77
+ readonly prefix: string | null;
78
+ readonly scrollHeight: number;
79
+ scrollLeft: number;
80
+ scrollTop: number;
81
+ readonly scrollWidth: number;
82
+ readonly shadowRoot: ShadowRoot | null;
83
+ slot: string;
84
+ readonly tagName: string;
85
+ attachShadow(init: ShadowRootInit): ShadowRoot;
86
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
87
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
88
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
89
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
90
+ closest<E extends Element = Element>(selectors: string): E | null;
91
+ computedStyleMap(): StylePropertyMapReadOnly;
92
+ getAttribute(qualifiedName: string): string | null;
93
+ getAttributeNS(namespace: string | null, localName: string): string | null;
94
+ getAttributeNames(): string[];
95
+ getAttributeNode(qualifiedName: string): Attr | null;
96
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
97
+ getBoundingClientRect(): DOMRect;
98
+ getClientRects(): DOMRectList;
99
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
100
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
101
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
102
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
103
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
104
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
105
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
106
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
107
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
108
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
109
+ getHTML(options?: GetHTMLOptions): string;
110
+ hasAttribute(qualifiedName: string): boolean;
111
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
112
+ hasAttributes(): boolean;
113
+ hasPointerCapture(pointerId: number): boolean;
114
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
115
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
116
+ insertAdjacentText(where: InsertPosition, data: string): void;
117
+ matches(selectors: string): boolean;
118
+ releasePointerCapture(pointerId: number): void;
119
+ removeAttribute(qualifiedName: string): void;
120
+ removeAttributeNS(namespace: string | null, localName: string): void;
121
+ removeAttributeNode(attr: Attr): Attr;
122
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
123
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
124
+ scroll(options?: ScrollToOptions): void;
125
+ scroll(x: number, y: number): void;
126
+ scrollBy(options?: ScrollToOptions): void;
127
+ scrollBy(x: number, y: number): void;
128
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
129
+ scrollTo(options?: ScrollToOptions): void;
130
+ scrollTo(x: number, y: number): void;
131
+ setAttribute(qualifiedName: string, value: string): void;
132
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
133
+ setAttributeNode(attr: Attr): Attr | null;
134
+ setAttributeNodeNS(attr: Attr): Attr | null;
135
+ setHTMLUnsafe(html: string): void;
136
+ setPointerCapture(pointerId: number): void;
137
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
138
+ webkitMatchesSelector(selectors: string): boolean;
139
+ get textContent(): string;
140
+ set textContent(value: string | null);
141
+ readonly baseURI: string;
142
+ readonly childNodes: NodeListOf<ChildNode>;
143
+ readonly firstChild: ChildNode | null;
144
+ readonly isConnected: boolean;
145
+ readonly lastChild: ChildNode | null;
146
+ readonly nextSibling: ChildNode | null;
147
+ readonly nodeName: string;
148
+ readonly nodeType: number;
149
+ nodeValue: string | null;
150
+ readonly parentElement: HTMLElement | null;
151
+ readonly parentNode: ParentNode | null;
152
+ readonly previousSibling: ChildNode | null;
153
+ appendChild<T extends Node>(node: T): T;
154
+ cloneNode(subtree?: boolean): Node;
155
+ compareDocumentPosition(other: Node): number;
156
+ contains(other: Node | null): boolean;
157
+ getRootNode(options?: GetRootNodeOptions): Node;
158
+ hasChildNodes(): boolean;
159
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
160
+ isDefaultNamespace(namespace: string | null): boolean;
161
+ isEqualNode(otherNode: Node | null): boolean;
162
+ isSameNode(otherNode: Node | null): boolean;
163
+ lookupNamespaceURI(prefix: string | null): string | null;
164
+ lookupPrefix(namespace: string | null): string | null;
165
+ normalize(): void;
166
+ removeChild<T extends Node>(child: T): T;
167
+ replaceChild<T extends Node>(node: Node, child: T): T;
168
+ readonly ELEMENT_NODE: 1;
169
+ readonly ATTRIBUTE_NODE: 2;
170
+ readonly TEXT_NODE: 3;
171
+ readonly CDATA_SECTION_NODE: 4;
172
+ readonly ENTITY_REFERENCE_NODE: 5;
173
+ readonly ENTITY_NODE: 6;
174
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
175
+ readonly COMMENT_NODE: 8;
176
+ readonly DOCUMENT_NODE: 9;
177
+ readonly DOCUMENT_TYPE_NODE: 10;
178
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
179
+ readonly NOTATION_NODE: 12;
180
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
181
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
182
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
183
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
184
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
185
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
186
+ dispatchEvent(event: Event): boolean;
187
+ ariaActiveDescendantElement: Element | null;
188
+ ariaAtomic: string | null;
189
+ ariaAutoComplete: string | null;
190
+ ariaBrailleLabel: string | null;
191
+ ariaBrailleRoleDescription: string | null;
192
+ ariaBusy: string | null;
193
+ ariaChecked: string | null;
194
+ ariaColCount: string | null;
195
+ ariaColIndex: string | null;
196
+ ariaColIndexText: string | null;
197
+ ariaColSpan: string | null;
198
+ ariaControlsElements: ReadonlyArray<Element> | null;
199
+ ariaCurrent: string | null;
200
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
201
+ ariaDescription: string | null;
202
+ ariaDetailsElements: ReadonlyArray<Element> | null;
203
+ ariaDisabled: string | null;
204
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
205
+ ariaExpanded: string | null;
206
+ ariaFlowToElements: ReadonlyArray<Element> | null;
207
+ ariaHasPopup: string | null;
208
+ ariaHidden: string | null;
209
+ ariaInvalid: string | null;
210
+ ariaKeyShortcuts: string | null;
211
+ ariaLabel: string | null;
212
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
213
+ ariaLevel: string | null;
214
+ ariaLive: string | null;
215
+ ariaModal: string | null;
216
+ ariaMultiLine: string | null;
217
+ ariaMultiSelectable: string | null;
218
+ ariaOrientation: string | null;
219
+ ariaOwnsElements: ReadonlyArray<Element> | null;
220
+ ariaPlaceholder: string | null;
221
+ ariaPosInSet: string | null;
222
+ ariaPressed: string | null;
223
+ ariaReadOnly: string | null;
224
+ ariaRelevant: string | null;
225
+ ariaRequired: string | null;
226
+ ariaRoleDescription: string | null;
227
+ ariaRowCount: string | null;
228
+ ariaRowIndex: string | null;
229
+ ariaRowIndexText: string | null;
230
+ ariaRowSpan: string | null;
231
+ ariaSelected: string | null;
232
+ ariaSetSize: string | null;
233
+ ariaSort: string | null;
234
+ ariaValueMax: string | null;
235
+ ariaValueMin: string | null;
236
+ ariaValueNow: string | null;
237
+ ariaValueText: string | null;
238
+ role: string | null;
239
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
240
+ getAnimations(options?: GetAnimationsOptions): Animation[];
241
+ after(...nodes: (Node | string)[]): void;
242
+ before(...nodes: (Node | string)[]): void;
243
+ remove(): void;
244
+ replaceWith(...nodes: (Node | string)[]): void;
245
+ readonly nextElementSibling: Element | null;
246
+ readonly previousElementSibling: Element | null;
247
+ readonly childElementCount: number;
248
+ readonly children: HTMLCollection;
249
+ readonly firstElementChild: Element | null;
250
+ readonly lastElementChild: Element | null;
251
+ append(...nodes: (Node | string)[]): void;
252
+ prepend(...nodes: (Node | string)[]): void;
253
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
254
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
255
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
256
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
257
+ querySelector<E extends Element = Element>(selectors: string): E | null;
258
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
259
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
260
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
261
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
262
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
263
+ replaceChildren(...nodes: (Node | string)[]): void;
264
+ readonly assignedSlot: HTMLSlotElement | null;
265
+ readonly attributeStyleMap: StylePropertyMap;
266
+ get style(): CSSStyleDeclaration;
267
+ set style(cssText: string);
268
+ contentEditable: string;
269
+ enterKeyHint: string;
270
+ inputMode: string;
271
+ readonly isContentEditable: boolean;
272
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
273
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
274
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
275
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
276
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
277
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
278
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
279
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
280
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
281
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
282
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
283
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
284
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
285
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
286
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
287
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
288
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
289
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
290
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
291
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
292
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
293
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
294
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
295
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
296
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
297
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
298
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
299
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
300
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
301
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
302
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
303
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
304
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
305
+ onerror: OnErrorEventHandler;
306
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
307
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
308
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
309
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
310
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
311
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
312
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
313
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
314
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
315
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
316
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
317
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
318
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
319
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
320
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
321
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
322
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
323
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
324
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
325
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
326
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
327
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
328
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
329
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
330
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
331
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
332
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
333
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
334
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
335
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
336
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
337
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
338
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
339
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
340
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
341
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
342
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
343
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
344
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
345
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
346
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
347
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
348
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
349
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
350
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
351
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
352
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
353
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
354
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
355
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
356
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
357
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
358
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
359
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
360
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
361
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
362
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
363
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
364
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
365
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
366
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
367
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
368
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
369
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
370
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
371
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
372
+ autofocus: boolean;
373
+ readonly dataset: DOMStringMap;
374
+ nonce?: string;
375
+ tabIndex: number;
376
+ blur(): void;
377
+ focus(options?: FocusOptions): void;
378
+ };
379
+ } & typeof BaseSampleComponent;
380
+ declare class SampleComponent extends SampleComponent_base {
43
381
  }
44
- declare const WavelengthButton: React__default.FC<WavelengthButtonProps>;
45
382
 
46
- interface ButtonProps {
47
- onClick?: any;
48
- children?: ReactNode;
49
- }
50
- interface IconProps {
51
- text: string;
52
- numIcon?: string;
53
- children: ReactNode;
54
- active?: boolean;
55
- width: string;
56
- height: number;
57
- fontsize: number;
58
- }
59
- declare function ButtonIcon({ text, numIcon, children, active, width, height, fontsize }: IconProps): react_jsx_runtime.JSX.Element;
60
- interface ButtonMenuProps {
61
- children: ReactNode;
62
- }
63
- declare function ButtonMenu({ children }: ButtonMenuProps): react_jsx_runtime.JSX.Element;
64
- declare function WavelengthDropdownButton({ children, onClick }: ButtonProps): React__default.JSX.Element;
65
- declare namespace WavelengthDropdownButton {
66
- var displayName: string;
383
+ declare class WavelengthBanner extends HTMLElement {
384
+ static get observedAttributes(): string[];
385
+ private container;
386
+ private textElement;
387
+ constructor();
388
+ connectedCallback(): void;
389
+ attributeChangedCallback(): void;
390
+ private updateAttributes;
67
391
  }
68
392
 
69
- interface WavelengthAutocompleteProps {
70
- id?: string;
71
- label: string;
72
- items?: any;
73
- variant?: TextFieldVariants;
74
- width?: number;
75
- borderColor?: string;
76
- hoverColor?: string;
77
- textColor?: string;
78
- onChange?: (selectedValue: string) => void;
79
- }
80
- /**
81
- * Returns the Best Matching String from a List; Defaults to the first item if no good match is found
82
- * @param searchString - the string we want to look for
83
- * @param choices - the list of strings we get to choose from (must be greater than 0)
84
- * @returns - a string with the "best" match, or "" if no match is found
85
- */
86
- declare function findBestStringMatch(searchString: string, choices: string[]): string;
87
- declare function WavelengthAutocomplete({ label, width, variant, items, onChange, borderColor, textColor, hoverColor, id }: WavelengthAutocompleteProps): react_jsx_runtime.JSX.Element;
88
- declare namespace WavelengthAutocomplete {
89
- var displayName: string;
393
+ declare class WavelengthButton extends HTMLElement {
394
+ static get observedAttributes(): string[];
395
+ private button;
396
+ constructor();
397
+ connectedCallback(): void;
398
+ attributeChangedCallback(): void;
399
+ updateButton(): void;
400
+ private applyPresetSize;
401
+ private handleHoverIn;
402
+ private handleHoverOut;
403
+ private hexToRgba;
404
+ private shadeColor;
405
+ private handleRipple;
90
406
  }
91
407
 
92
- interface DownloadProps {
93
- fileLoc: "local" | "api";
94
- fileURL: string;
95
- fileName: string;
96
- button?: ReactNode | React__default.JSX.Element;
97
- id?: string;
98
- }
99
- declare function WavelengthFileDownloader({ fileLoc, fileURL, fileName, button, id }: DownloadProps): react_jsx_runtime.JSX.Element | undefined;
100
- declare namespace WavelengthFileDownloader {
101
- var displayName: string;
102
- }
408
+ type FormValue = Record<string, unknown>;
103
409
 
104
- interface StyledButtonPropsTwo {
105
- type: "channel_one_transparent" | "channel_one_launch" | "channel_one_request" | "channel_one_pending" | "channel_one_disabled" | "ewdms_tertiary" | "ewdms_primary" | "ewdms_secondary" | "brewery" | "default";
106
- styles?: React__default.CSSProperties;
107
- hoverstyles?: React__default.CSSProperties;
108
- activestyles?: React__default.CSSProperties;
109
- disabledstyles?: React__default.CSSProperties;
110
- icon?: React__default.ReactNode;
111
- disabled?: boolean;
112
- children: React__default.ReactNode;
113
- onClick?: React__default.MouseEventHandler<HTMLButtonElement>;
114
- }
115
- declare function WavelengthStyledButton({ type, styles, children, disabled, hoverstyles, icon, onClick, disabledstyles, activestyles }: StyledButtonPropsTwo): react_jsx_runtime.JSX.Element;
116
- declare namespace WavelengthStyledButton {
117
- var displayName: string;
118
- }
119
-
120
- interface WavelengthBoxProps {
121
- width?: number;
122
- height?: number;
123
- children: ReactNode;
124
- borderTopRadius?: string;
125
- borderBottomRadius?: string;
126
- id?: string;
127
- }
128
- declare function WavelengthBox({ width, height, children, borderBottomRadius, borderTopRadius, id }: WavelengthBoxProps): react_jsx_runtime.JSX.Element;
129
- declare namespace WavelengthBox {
130
- var displayName: string;
131
- }
132
-
133
- interface WavelengthContentPlaceholderProps {
134
- type?: "circle" | "rectangle";
135
- width?: string | number;
136
- height?: string | number;
137
- txtcolor?: string;
138
- bgcolor?: string;
139
- children: ReactNode;
140
- id?: string;
141
- }
142
- declare function WavelengthContentPlaceholder({ type, width, height, txtcolor, bgcolor, children, id }: WavelengthContentPlaceholderProps): react_jsx_runtime.JSX.Element;
143
- declare namespace WavelengthContentPlaceholder {
144
- var displayName: string;
145
- }
146
-
147
- interface WavelengthExampleComponentProps {
148
- width?: number;
149
- height?: number;
150
- }
151
- declare function WavelengthExampleComponent({ width, height }: WavelengthExampleComponentProps): react_jsx_runtime.JSX.Element;
152
- declare namespace WavelengthExampleComponent {
153
- var displayName: string;
154
- }
155
-
156
- interface SearchResult {
157
- id: number | string;
158
- title: string;
159
- subtitle?: string;
160
- }
161
- interface SearchProps {
162
- id?: string;
163
- mode: "automatic" | "manual";
164
- type?: "text-box" | "search-bar";
165
- iconPos?: "start" | "end";
166
- clearIconMarginRight?: string;
167
- borderRadius?: number | string;
410
+ type Shape = ZodRawShape;
411
+ type ButtonConfig = {
168
412
  label?: string;
169
- width?: string;
170
- height?: string | number;
171
- children?: ReactNode;
172
- borderColor?: string;
173
- hoverColor?: string;
174
- textColor?: string;
175
- backgroundColor?: string;
176
- placeholder?: string;
177
- onEnter?: (arg0?: any) => any;
178
- size?: "small" | "medium";
179
- fontSize?: string;
180
- options: SearchResult[];
181
- onChange?: React__default.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement>;
182
- onSearchItemSelected?: (selectedItem: SearchResult | string) => void;
183
- }
184
- declare function WavelengthSearch({ id, mode, type, width, height, label, size, borderRadius, children, placeholder, onEnter, onSearchItemSelected, options, onChange, borderColor, hoverColor, textColor, fontSize, backgroundColor, iconPos, clearIconMarginRight, }: SearchProps): react_jsx_runtime.JSX.Element | undefined;
185
- declare namespace WavelengthSearch {
186
- var displayName: string;
187
- }
188
-
189
- declare function WavelengthSearchTextField(): react_jsx_runtime.JSX.Element;
190
- declare namespace WavelengthSearchTextField {
191
- var displayName: string;
192
- }
193
-
194
- interface WavelengthNotAvailablePageProps {
195
- WavelengthAppLogoName?: string;
196
- errorMessage: string;
197
- backgroundColor?: string;
198
- buttonText: string;
199
- redirectLink?: string;
200
- buttonColorOne?: string;
201
- buttonColorTwo?: string;
202
- id?: string;
203
- }
204
- declare function WavelengthNotAvailablePage({ WavelengthAppLogoName, errorMessage, backgroundColor, buttonText, redirectLink, buttonColorOne, buttonColorTwo, id }: WavelengthNotAvailablePageProps): react_jsx_runtime.JSX.Element;
205
- declare namespace WavelengthNotAvailablePage {
206
- var displayName: string;
207
- }
208
-
209
- interface SubSectionItem {
210
- title?: string;
211
- path?: string;
212
- onClick?: () => void;
213
- items?: SubSectionItem[];
214
- }
215
- interface SubSection {
216
- title?: string;
217
- items?: SubSectionItem[];
218
- }
219
- interface Section {
220
- title: string;
221
- subsections?: SubSection[];
222
- }
223
- interface SidebarProps {
224
- id?: string;
225
- sections: Section[];
226
- bgColor?: string;
227
- txtColor?: string;
228
- labelColor?: string;
229
- arrowColor?: string;
230
- marginTop?: string;
231
- marginLeft?: string;
232
- width?: string | number;
233
- height?: string | number;
234
- }
235
- declare function WavelengthSideBar({ sections, txtColor, bgColor, labelColor, arrowColor, marginTop, marginLeft, width, height, id }: SidebarProps): React__default.JSX.Element;
236
- declare namespace WavelengthSideBar {
237
- var displayName: string;
238
- }
239
-
240
- interface ISpinningSvgProps {
241
- size: number;
242
- id: "outer-circle" | "middle-circle" | "inner-circle" | "spinning";
243
- clip: string;
244
- color: string;
245
- gradient: boolean;
246
- radius: number;
247
- }
248
- declare function WavelengthSpinningOuterCircle({ size, id, clip, color, gradient, radius }: ISpinningSvgProps): react_jsx_runtime.JSX.Element;
249
- declare namespace WavelengthSpinningOuterCircle {
250
- var displayName: string;
251
- }
252
-
253
- interface spinningLogoProps {
254
- svg?: React__default.ReactNode;
255
- size?: number;
256
- id?: string;
257
- }
258
- declare function WavelengthSpinningLogo({ svg, size, id }: spinningLogoProps): react_jsx_runtime.JSX.Element;
259
- declare namespace WavelengthSpinningLogo {
260
- var displayName: string;
261
- }
262
-
263
- interface DragAndDropProps {
264
- width?: string;
265
- height?: string;
266
- border?: string;
267
- onFilesSelected: (files: File[]) => void;
268
- textColor?: string;
269
- fontSize?: string;
270
- allowedFileMIME?: string[];
271
- allowedFileExtensions?: string;
272
- backgroundColor?: string;
273
- dataTestId?: string;
274
- }
275
- declare function WavelengthDragAndDrop({ width, height, onFilesSelected, border, textColor, fontSize, allowedFileMIME, allowedFileExtensions, backgroundColor, dataTestId, }: DragAndDropProps): react_jsx_runtime.JSX.Element;
276
- declare namespace WavelengthDragAndDrop {
277
- var displayName: string;
278
- }
279
-
280
- interface WavelengthProgressBarProps extends React__default.HTMLAttributes<HTMLElement> {
281
- name?: string;
282
- value?: number;
283
- width?: string;
284
- height?: string;
285
- fontSize?: string;
286
- fontColor?: string;
287
- progressBorder?: string;
288
- progressColor?: string;
289
- }
290
- declare const WavelengthProgressBar: React__default.FC<WavelengthProgressBarProps>;
291
-
292
- interface CommentProps {
293
- width?: string;
294
- height?: string;
295
- author: string;
296
- date: string;
297
- comments: string;
298
- onClick?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
299
- textColor?: string;
300
- backgroundColor?: string;
301
- border?: string;
302
- iconSelectedColor?: string;
303
- dataTestId?: string;
304
- }
305
- declare function WavelengthCommentDisplay(props: CommentProps): react_jsx_runtime.JSX.Element;
306
- declare namespace WavelengthCommentDisplay {
307
- var displayName: string;
308
- }
309
-
310
- interface PermissionAlertProps {
311
- height?: string;
312
- width?: string;
313
- permission?: "Permission Requested" | "Permission Denied";
314
- applicationName?: string;
315
- requestorName?: string;
316
- dateOfRequest?: string;
317
- backgroundColor?: string;
318
- unit?: string;
319
- onDismiss?: React__default.MouseEventHandler<HTMLAnchorElement> | undefined;
320
- dataTestId?: string;
321
- }
322
- declare function WavelengthPermissionAlert({ dataTestId, height, width, backgroundColor, permission, applicationName, requestorName, dateOfRequest, onDismiss, unit, }: PermissionAlertProps): react_jsx_runtime.JSX.Element;
323
- declare namespace WavelengthPermissionAlert {
324
- var displayName: string;
325
- }
326
-
327
- interface AccessAlertProps {
328
- height?: string;
329
- width?: string;
330
- access?: "Access Request" | "Access Granted" | "Access Denied";
331
- appAdmin?: string;
332
- time?: string;
333
- requestorName?: string;
334
- appNickname?: string;
335
- message?: string;
336
- appLogo?: string;
337
- dataTestId?: string;
338
- backgroundColor?: string;
339
- onClear?: React__default.MouseEventHandler<HTMLAnchorElement> | undefined;
340
- }
341
- declare function WavelengthAccessAlert({ height, dataTestId, width, time, access, appNickname, appLogo, appAdmin, requestorName, }: AccessAlertProps): react_jsx_runtime.JSX.Element;
342
- declare namespace WavelengthAccessAlert {
343
- var displayName: string;
344
- }
345
-
346
- interface WavelengthAlertProps {
347
- id?: string;
348
- height?: string;
349
- width?: string;
350
- variant?: "caveman" | "basic" | "civilized";
351
- backgroundColor?: string;
352
- alertType?: string | React__default.ReactNode;
353
- alertDescription?: string | React__default.ReactNode;
354
- datatestid?: string;
355
- viewed?: boolean;
356
- timeStamp?: string | React__default.ReactNode;
357
- appName?: string | React__default.ReactNode;
358
- url?: string;
359
- onClose?: () => void;
360
- }
361
- declare function WavelengthAlert({ viewed, width, height, backgroundColor, appName, alertType, alertDescription, datatestid, variant, timeStamp, url, id, onClose, }: WavelengthAlertProps): react_jsx_runtime.JSX.Element;
362
- declare namespace WavelengthAlert {
363
- var displayName: string;
364
- }
365
-
366
- interface WavelengthFooterProps {
367
- text?: string;
368
- textColor?: string;
369
- }
370
- declare function WavelengthFooter({ text, textColor }: WavelengthFooterProps): react_jsx_runtime.JSX.Element;
371
- declare namespace WavelengthFooter {
372
- var displayName: string;
373
- }
374
-
375
- /** Attributes passed through to the underlying `wavelength-button` */
376
- interface WavelengthButtonAttributes extends React__default.HTMLAttributes<HTMLElement> {
377
- [key: string]: any;
378
- }
379
- interface ButtonConfig {
380
- label?: string;
381
- buttonProps?: WavelengthButtonAttributes;
413
+ buttonProps?: Record<string, any>;
382
414
  eventName?: string;
383
- }
384
- /** Attributes passed through to each generated `wavelength-input` */
385
- interface WavelengthInputAttributes extends React__default.HTMLAttributes<HTMLElement> {
386
- [key: string]: any;
387
- }
388
- type FormDetail<T> = {
389
- value: T;
390
- issues: z.ZodIssue[];
391
415
  };
392
- type FormInvalidDetail<T> = FormDetail<Partial<T>>;
393
- type FormValidDetail<T> = FormDetail<T>;
394
- type FormChangeDetail<T> = FormDetail<Partial<T>>;
395
- interface WavelengthFormProps<T extends object = Record<string, unknown>> {
396
- /** A Zod object schema */
397
- schema: z.ZodType<T>;
398
- /** Initial or controlled value (partial OK) */
399
- value?: Partial<T>;
400
- /** Configuration for an optional left-aligned button */
401
- leftButton?: ButtonConfig;
402
- /** Configuration for an optional center-aligned button */
403
- centerButton?: ButtonConfig;
404
- /** Configuration for an optional right-aligned button */
405
- rightButton?: ButtonConfig;
406
- /** Props applied to each generated WavelengthInput */
407
- inputProps?: WavelengthInputAttributes;
408
- /** Prefix applied to generated input IDs and names */
409
- idPrefix?: string;
410
- /** Optional heading text displayed above the form */
411
- title?: string;
412
- /** Alignment for the heading text (default: left) */
413
- titleAlign?: React__default.CSSProperties["textAlign"];
414
- /** Color for the heading text */
415
- titleColor?: React__default.CSSProperties["color"];
416
- /** Per-field placeholder overrides */
417
- placeholders?: Partial<Record<keyof T & string, string>>;
418
- /** CSS width applied to the underlying form element */
419
- formWidth?: string;
420
- /** Array defining how many fields appear in each row */
421
- layout?: number[];
422
- /** Standard React props */
423
- className?: string;
424
- style?: React__default.CSSProperties;
425
- /** Event callbacks (straight from web component custom events) */
426
- onChange?: (value: Partial<T>, issues: z.ZodIssue[]) => void;
427
- onValid?: (value: T, issues: z.ZodIssue[]) => void;
428
- onInvalid?: (value: Partial<T>, issues: z.ZodIssue[]) => void;
429
- /** Fired when the default left event is triggered */
430
- onLeft?: () => void;
431
- /** Fired when the default center event is triggered */
432
- onCenter?: () => void;
433
- /** Fired when the default right event is triggered */
434
- onRight?: () => void;
435
- /** Fired when the underlying form emits a native submit event */
436
- onSubmit?: (event: SubmitEvent) => void;
437
- }
438
- interface WavelengthFormRef<T extends object = Record<string, unknown>> {
439
- /** Runs the component’s internal validation and returns boolean */
440
- validate: () => boolean;
441
- /** Read current value (as the element holds it) */
442
- getValue: () => Partial<T> | undefined;
443
- /** Imperatively set the value */
444
- setValue: (v: Partial<T>) => void;
416
+ declare class WavelengthForm<T extends object> extends HTMLElement {
417
+ private _schema?;
418
+ private _validator?;
419
+ private _shadow;
420
+ private _fields;
421
+ private _value;
422
+ private _errors;
423
+ private _leftButton?;
424
+ private _centerButton?;
425
+ private _rightButton?;
426
+ private _inputProps;
427
+ private _idPrefix;
428
+ private _title;
429
+ private _titleAlign;
430
+ private _titleColor;
431
+ private _formWidth;
432
+ private _layout?;
433
+ static get observedAttributes(): string[];
434
+ constructor();
435
+ /**
436
+ * Assign a Zod object schema to render. (required)
437
+ */
438
+ set schema(s: ZodObject<Shape> | undefined);
439
+ get schema(): ZodObject<Shape> | undefined;
440
+ /**
441
+ * Optional initial values. You can also set individual values
442
+ * by dispatching inputChange from your inputs after mount.
443
+ */
444
+ set value(v: FormValue | undefined);
445
+ get value(): FormValue;
446
+ set leftButton(v: ButtonConfig | undefined);
447
+ get leftButton(): ButtonConfig | undefined;
448
+ set centerButton(v: ButtonConfig | undefined);
449
+ get centerButton(): ButtonConfig | undefined;
450
+ set rightButton(v: ButtonConfig | undefined);
451
+ get rightButton(): ButtonConfig | undefined;
452
+ set inputProps(v: Record<string, any> | undefined);
453
+ get inputProps(): Record<string, any> | undefined;
454
+ set idPrefix(v: string | undefined);
455
+ get idPrefix(): string | undefined;
456
+ /** Heading text displayed above the form */
457
+ set title(v: string);
458
+ get title(): string;
459
+ /** CSS text-align value applied to the heading */
460
+ set titleAlign(v: string | undefined);
461
+ get titleAlign(): string;
462
+ /** Color applied to the heading text */
463
+ set titleColor(v: string | undefined);
464
+ get titleColor(): string | undefined;
465
+ /** Width applied to the form element */
466
+ set formWidth(v: string | undefined);
467
+ get formWidth(): string;
468
+ /** Array describing how many fields appear in each row */
469
+ set layout(v: number[] | undefined);
470
+ get layout(): number[] | undefined;
471
+ /**
472
+ * Imperative validation without submitting.
473
+ * Returns true if the current form values are valid.
474
+ */
475
+ validate(): boolean;
476
+ connectedCallback(): void;
477
+ attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
478
+ private collectValues;
479
+ private queryFieldEl;
480
+ private setFieldError;
481
+ private validateField;
482
+ private validateAll;
483
+ private onInputChange;
484
+ private onBlur;
485
+ private onSubmit;
486
+ private render;
445
487
  }
446
- declare const WavelengthForm: <T extends object = Record<string, unknown>>(props: WavelengthFormProps<T> & React__default.RefAttributes<WavelengthFormRef<T>>) => React__default.ReactElement | null;
447
488
 
448
- interface WavelengthTitleBarProps {
449
- titleText?: string;
450
- subtitleText?: string;
451
- textColor?: string;
452
- shadowColor?: string;
453
- }
454
- declare function WavelengthTitleBar({ titleText, subtitleText, textColor, shadowColor }: WavelengthTitleBarProps): react_jsx_runtime.JSX.Element;
455
- declare namespace WavelengthTitleBar {
456
- var displayName: string;
489
+ declare class WavelengthProgressBar extends HTMLElement {
490
+ static get observedAttributes(): string[];
491
+ private container;
492
+ private nameSpan;
493
+ private statusSpan;
494
+ private progressBar;
495
+ private progressFill;
496
+ constructor();
497
+ connectedCallback(): void;
498
+ attributeChangedCallback(): void;
499
+ private updateRendering;
457
500
  }
458
501
 
459
- interface WavelengthBannerProps {
460
- bannerText?: string;
461
- bannerColor?: string;
462
- textColor?: string;
463
- opacity?: string | number;
464
- zIndex?: string | number;
465
- id?: string;
466
- classification?: string;
467
- control?: string[];
468
- }
469
- declare function WavelengthBanner({ bannerText, bannerColor, textColor, opacity, zIndex, id, classification, control }: WavelengthBannerProps): react_jsx_runtime.JSX.Element;
470
- declare namespace WavelengthBanner {
471
- var displayName: string;
502
+ declare class BaseWavelengthInput extends HTMLElement {
503
+ private inputEl;
504
+ private labelEl;
505
+ private helperEl;
506
+ private clearButtonEl;
507
+ private placeholderStyleEl;
508
+ private isFocused;
509
+ private hasBlurred;
510
+ private validationType;
511
+ private forceError;
512
+ private _bgObserver;
513
+ private _debounceValidate;
514
+ private _debounceTimeout;
515
+ private _lastErrorMessage;
516
+ private internals;
517
+ static formAssociated: boolean;
518
+ static get observedAttributes(): string[];
519
+ constructor();
520
+ connectedCallback(): void;
521
+ disconnectedCallback(): void;
522
+ private _startBackgroundObserver;
523
+ private _stopBackgroundObserver;
524
+ private _setupDebouncedValidation;
525
+ private _onInput;
526
+ private _onFocus;
527
+ private _onBlur;
528
+ private _validate;
529
+ private _showError;
530
+ private _clearError;
531
+ private _applyAttributes;
532
+ private _updateRequiredMarker;
533
+ private _onClearClick;
534
+ private _toggleClearButton;
535
+ private _applyContent;
536
+ private _applyLayout;
537
+ private _applyColors;
538
+ private _applyValidationHint;
539
+ private _applyAccessibility;
540
+ private _upgradeProperty;
541
+ attributeChangedCallback(name: string, _oldValue: string | null, newValue: string | null): void;
542
+ get id(): string;
543
+ set id(val: string);
544
+ get name(): string;
545
+ set name(val: string);
546
+ get value(): string;
547
+ set value(val: string);
548
+ get placeholder(): string;
549
+ set placeholder(val: string);
550
+ get required(): boolean;
551
+ set required(val: boolean);
552
+ get disabled(): boolean;
553
+ set disabled(val: boolean);
554
+ get clearable(): boolean;
555
+ set clearable(val: boolean);
556
+ }
557
+ declare const WavelengthInput_base: {
558
+ new (...args: any[]): {
559
+ readonly _mixinStyleTagId: "custom-mixin-styles";
560
+ set customStyles(styleObject: {
561
+ [key: string]: string | number | {
562
+ [key: string]: string | number;
563
+ };
564
+ });
565
+ toKebabCase(str: string): string;
566
+ createCssPropertiesString(ruleObject: {
567
+ [key: string]: string | number;
568
+ }): string;
569
+ generateAndApplyStyles(styleObject: {
570
+ [key: string]: string | number | {
571
+ [key: string]: string | number;
572
+ };
573
+ }): void;
574
+ accessKey: string;
575
+ readonly accessKeyLabel: string;
576
+ autocapitalize: string;
577
+ autocorrect: boolean;
578
+ dir: string;
579
+ draggable: boolean;
580
+ hidden: boolean;
581
+ inert: boolean;
582
+ innerText: string;
583
+ lang: string;
584
+ readonly offsetHeight: number;
585
+ readonly offsetLeft: number;
586
+ readonly offsetParent: Element | null;
587
+ readonly offsetTop: number;
588
+ readonly offsetWidth: number;
589
+ outerText: string;
590
+ popover: string | null;
591
+ spellcheck: boolean;
592
+ title: string;
593
+ translate: boolean;
594
+ writingSuggestions: string;
595
+ attachInternals(): ElementInternals;
596
+ click(): void;
597
+ hidePopover(): void;
598
+ showPopover(): void;
599
+ togglePopover(options?: boolean): boolean;
600
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
601
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
602
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
603
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
604
+ readonly attributes: NamedNodeMap;
605
+ get classList(): DOMTokenList;
606
+ set classList(value: string);
607
+ className: string;
608
+ readonly clientHeight: number;
609
+ readonly clientLeft: number;
610
+ readonly clientTop: number;
611
+ readonly clientWidth: number;
612
+ readonly currentCSSZoom: number;
613
+ id: string;
614
+ innerHTML: string;
615
+ readonly localName: string;
616
+ readonly namespaceURI: string | null;
617
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
618
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
619
+ outerHTML: string;
620
+ readonly ownerDocument: Document;
621
+ get part(): DOMTokenList;
622
+ set part(value: string);
623
+ readonly prefix: string | null;
624
+ readonly scrollHeight: number;
625
+ scrollLeft: number;
626
+ scrollTop: number;
627
+ readonly scrollWidth: number;
628
+ readonly shadowRoot: ShadowRoot | null;
629
+ slot: string;
630
+ readonly tagName: string;
631
+ attachShadow(init: ShadowRootInit): ShadowRoot;
632
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
633
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
634
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
635
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
636
+ closest<E extends Element = Element>(selectors: string): E | null;
637
+ computedStyleMap(): StylePropertyMapReadOnly;
638
+ getAttribute(qualifiedName: string): string | null;
639
+ getAttributeNS(namespace: string | null, localName: string): string | null;
640
+ getAttributeNames(): string[];
641
+ getAttributeNode(qualifiedName: string): Attr | null;
642
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
643
+ getBoundingClientRect(): DOMRect;
644
+ getClientRects(): DOMRectList;
645
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
646
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
647
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
648
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
649
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
650
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
651
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
652
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
653
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
654
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
655
+ getHTML(options?: GetHTMLOptions): string;
656
+ hasAttribute(qualifiedName: string): boolean;
657
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
658
+ hasAttributes(): boolean;
659
+ hasPointerCapture(pointerId: number): boolean;
660
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
661
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
662
+ insertAdjacentText(where: InsertPosition, data: string): void;
663
+ matches(selectors: string): boolean;
664
+ releasePointerCapture(pointerId: number): void;
665
+ removeAttribute(qualifiedName: string): void;
666
+ removeAttributeNS(namespace: string | null, localName: string): void;
667
+ removeAttributeNode(attr: Attr): Attr;
668
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
669
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
670
+ scroll(options?: ScrollToOptions): void;
671
+ scroll(x: number, y: number): void;
672
+ scrollBy(options?: ScrollToOptions): void;
673
+ scrollBy(x: number, y: number): void;
674
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
675
+ scrollTo(options?: ScrollToOptions): void;
676
+ scrollTo(x: number, y: number): void;
677
+ setAttribute(qualifiedName: string, value: string): void;
678
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
679
+ setAttributeNode(attr: Attr): Attr | null;
680
+ setAttributeNodeNS(attr: Attr): Attr | null;
681
+ setHTMLUnsafe(html: string): void;
682
+ setPointerCapture(pointerId: number): void;
683
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
684
+ webkitMatchesSelector(selectors: string): boolean;
685
+ get textContent(): string;
686
+ set textContent(value: string | null);
687
+ readonly baseURI: string;
688
+ readonly childNodes: NodeListOf<ChildNode>;
689
+ readonly firstChild: ChildNode | null;
690
+ readonly isConnected: boolean;
691
+ readonly lastChild: ChildNode | null;
692
+ readonly nextSibling: ChildNode | null;
693
+ readonly nodeName: string;
694
+ readonly nodeType: number;
695
+ nodeValue: string | null;
696
+ readonly parentElement: HTMLElement | null;
697
+ readonly parentNode: ParentNode | null;
698
+ readonly previousSibling: ChildNode | null;
699
+ appendChild<T extends Node>(node: T): T;
700
+ cloneNode(subtree?: boolean): Node;
701
+ compareDocumentPosition(other: Node): number;
702
+ contains(other: Node | null): boolean;
703
+ getRootNode(options?: GetRootNodeOptions): Node;
704
+ hasChildNodes(): boolean;
705
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
706
+ isDefaultNamespace(namespace: string | null): boolean;
707
+ isEqualNode(otherNode: Node | null): boolean;
708
+ isSameNode(otherNode: Node | null): boolean;
709
+ lookupNamespaceURI(prefix: string | null): string | null;
710
+ lookupPrefix(namespace: string | null): string | null;
711
+ normalize(): void;
712
+ removeChild<T extends Node>(child: T): T;
713
+ replaceChild<T extends Node>(node: Node, child: T): T;
714
+ readonly ELEMENT_NODE: 1;
715
+ readonly ATTRIBUTE_NODE: 2;
716
+ readonly TEXT_NODE: 3;
717
+ readonly CDATA_SECTION_NODE: 4;
718
+ readonly ENTITY_REFERENCE_NODE: 5;
719
+ readonly ENTITY_NODE: 6;
720
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
721
+ readonly COMMENT_NODE: 8;
722
+ readonly DOCUMENT_NODE: 9;
723
+ readonly DOCUMENT_TYPE_NODE: 10;
724
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
725
+ readonly NOTATION_NODE: 12;
726
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
727
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
728
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
729
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
730
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
731
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
732
+ dispatchEvent(event: Event): boolean;
733
+ ariaActiveDescendantElement: Element | null;
734
+ ariaAtomic: string | null;
735
+ ariaAutoComplete: string | null;
736
+ ariaBrailleLabel: string | null;
737
+ ariaBrailleRoleDescription: string | null;
738
+ ariaBusy: string | null;
739
+ ariaChecked: string | null;
740
+ ariaColCount: string | null;
741
+ ariaColIndex: string | null;
742
+ ariaColIndexText: string | null;
743
+ ariaColSpan: string | null;
744
+ ariaControlsElements: ReadonlyArray<Element> | null;
745
+ ariaCurrent: string | null;
746
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
747
+ ariaDescription: string | null;
748
+ ariaDetailsElements: ReadonlyArray<Element> | null;
749
+ ariaDisabled: string | null;
750
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
751
+ ariaExpanded: string | null;
752
+ ariaFlowToElements: ReadonlyArray<Element> | null;
753
+ ariaHasPopup: string | null;
754
+ ariaHidden: string | null;
755
+ ariaInvalid: string | null;
756
+ ariaKeyShortcuts: string | null;
757
+ ariaLabel: string | null;
758
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
759
+ ariaLevel: string | null;
760
+ ariaLive: string | null;
761
+ ariaModal: string | null;
762
+ ariaMultiLine: string | null;
763
+ ariaMultiSelectable: string | null;
764
+ ariaOrientation: string | null;
765
+ ariaOwnsElements: ReadonlyArray<Element> | null;
766
+ ariaPlaceholder: string | null;
767
+ ariaPosInSet: string | null;
768
+ ariaPressed: string | null;
769
+ ariaReadOnly: string | null;
770
+ ariaRelevant: string | null;
771
+ ariaRequired: string | null;
772
+ ariaRoleDescription: string | null;
773
+ ariaRowCount: string | null;
774
+ ariaRowIndex: string | null;
775
+ ariaRowIndexText: string | null;
776
+ ariaRowSpan: string | null;
777
+ ariaSelected: string | null;
778
+ ariaSetSize: string | null;
779
+ ariaSort: string | null;
780
+ ariaValueMax: string | null;
781
+ ariaValueMin: string | null;
782
+ ariaValueNow: string | null;
783
+ ariaValueText: string | null;
784
+ role: string | null;
785
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
786
+ getAnimations(options?: GetAnimationsOptions): Animation[];
787
+ after(...nodes: (Node | string)[]): void;
788
+ before(...nodes: (Node | string)[]): void;
789
+ remove(): void;
790
+ replaceWith(...nodes: (Node | string)[]): void;
791
+ readonly nextElementSibling: Element | null;
792
+ readonly previousElementSibling: Element | null;
793
+ readonly childElementCount: number;
794
+ readonly children: HTMLCollection;
795
+ readonly firstElementChild: Element | null;
796
+ readonly lastElementChild: Element | null;
797
+ append(...nodes: (Node | string)[]): void;
798
+ prepend(...nodes: (Node | string)[]): void;
799
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
800
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
801
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
802
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
803
+ querySelector<E extends Element = Element>(selectors: string): E | null;
804
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
805
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
806
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
807
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
808
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
809
+ replaceChildren(...nodes: (Node | string)[]): void;
810
+ readonly assignedSlot: HTMLSlotElement | null;
811
+ readonly attributeStyleMap: StylePropertyMap;
812
+ get style(): CSSStyleDeclaration;
813
+ set style(cssText: string);
814
+ contentEditable: string;
815
+ enterKeyHint: string;
816
+ inputMode: string;
817
+ readonly isContentEditable: boolean;
818
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
819
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
820
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
821
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
822
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
823
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
824
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
825
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
826
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
827
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
828
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
829
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
830
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
831
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
832
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
833
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
834
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
835
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
836
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
837
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
838
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
839
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
840
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
841
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
842
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
843
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
844
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
845
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
846
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
847
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
848
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
849
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
850
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
851
+ onerror: OnErrorEventHandler;
852
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
853
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
854
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
855
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
856
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
857
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
858
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
859
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
860
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
861
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
862
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
863
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
864
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
865
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
866
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
867
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
868
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
869
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
870
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
871
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
872
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
873
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
874
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
875
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
876
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
877
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
878
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
879
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
880
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
881
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
882
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
883
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
884
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
885
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
886
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
887
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
888
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
889
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
890
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
891
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
892
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
893
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
894
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
895
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
896
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
897
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
898
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
899
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
900
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
901
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
902
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
903
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
904
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
905
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
906
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
907
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
908
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
909
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
910
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
911
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
912
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
913
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
914
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
915
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
916
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
917
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
918
+ autofocus: boolean;
919
+ readonly dataset: DOMStringMap;
920
+ nonce?: string;
921
+ tabIndex: number;
922
+ blur(): void;
923
+ focus(options?: FocusOptions): void;
924
+ };
925
+ } & typeof BaseWavelengthInput;
926
+ declare class WavelengthInput extends WavelengthInput_base {
472
927
  }
473
928
 
474
- interface WavelengthAppLogoProps {
475
- width?: number;
476
- height?: number;
477
- name?: string;
478
- grayscale?: boolean;
479
- id?: string;
480
- }
481
- declare function WavelengthAppLogo({ width, height, name, grayscale, id }: WavelengthAppLogoProps): react_jsx_runtime.JSX.Element;
482
- declare namespace WavelengthAppLogo {
483
- var displayName: string;
929
+ declare class WavelengthTitleBar extends HTMLElement {
930
+ constructor();
931
+ connectedCallback(): void;
932
+ static get observedAttributes(): string[];
933
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
484
934
  }
485
935
 
486
- interface DefaultProps {
487
- width?: string;
488
- height?: number;
489
- }
490
- declare function WavelengthDefaultIcon({ width, height }: DefaultProps): react_jsx_runtime.JSX.Element;
491
- declare namespace WavelengthDefaultIcon {
492
- var displayName: string;
936
+ declare class WavelengthDatePicker extends HTMLElement {
937
+ private inputDatePicker;
938
+ constructor();
939
+ connectedCallback(): void;
940
+ attributeChangedCallback(): void;
941
+ updateInput(): void;
493
942
  }
494
943
 
495
- interface HeaderProps {
496
- numberOfPlanes?: number;
497
- trailDir?: "right" | "left";
498
- color?: string;
499
- opacity?: number;
500
- gradient?: boolean;
501
- }
502
- declare function WavelengthManyPlanes({ numberOfPlanes, trailDir, color, opacity, gradient }: HeaderProps): react_jsx_runtime.JSX.Element;
503
- declare namespace WavelengthManyPlanes {
504
- var displayName: string;
505
- }
506
-
507
- interface WavelengthPlaneTrailProps {
508
- trailDir?: "right" | "left";
509
- color?: string;
510
- id?: string;
511
- }
512
- declare function WavelengthPlaneTrail({ trailDir, id, color }: WavelengthPlaneTrailProps): react_jsx_runtime.JSX.Element;
513
- declare namespace WavelengthPlaneTrail {
514
- var displayName: string;
515
- }
516
-
517
- type ThemeProperties = {
518
- name?: string;
519
- };
520
- declare const WavelengthAppTheme: React$1.Context<ThemeProperties>;
521
- declare const useThemeContext: () => ThemeProperties;
522
-
523
- interface WavelengthConfirmationModalProps {
524
- show: boolean;
525
- setShow: (show: boolean) => void;
526
- textObj: Record<string, string>;
527
- id?: string;
528
- width?: string;
529
- height?: string;
530
- fontFamily?: string;
531
- textColor?: string;
532
- cancelButton?: React.ReactNode;
533
- submitButton?: React.ReactNode;
534
- backgroundColor?: string;
535
- }
536
- declare function WavelengthConfirmationModal(props: WavelengthConfirmationModalProps): react_jsx_runtime.JSX.Element;
537
- declare namespace WavelengthConfirmationModal {
538
- var displayName: string;
539
- }
540
-
541
- interface WavelengthContentModalProps {
542
- show: boolean;
543
- setShow: (show: boolean) => void;
544
- textObj: Record<string, string>;
545
- handleContentModalOnConfirmProp: () => void;
546
- }
547
- declare function WavelengthContentModal(props: WavelengthContentModalProps): react_jsx_runtime.JSX.Element;
548
- declare namespace WavelengthContentModal {
549
- var displayName: string;
550
- }
551
-
552
- interface menuItemProps {
553
- itemType: "header" | "link" | "footer" | string;
554
- label: string | number;
555
- link?: string;
556
- end?: boolean;
557
- email?: string;
558
- hoverColor?: string;
559
- }
560
- interface PopUPMenuProps {
561
- menuItems: menuItemProps[];
562
- customIcon?: React__default.ReactNode;
563
- width?: string;
564
- menuDirection?: "top" | "bottom";
565
- color?: string;
566
- border?: string;
567
- id?: string;
568
- }
569
- declare function WavelengthPopUpMenu({ menuItems, customIcon, width, menuDirection, color, id, border }: PopUPMenuProps): react_jsx_runtime.JSX.Element;
570
- declare namespace WavelengthPopUpMenu {
571
- var displayName: string;
572
- }
573
-
574
- interface DropdownProps {
575
- id?: string;
576
- palette: "brewery" | "custom";
577
- width: string;
578
- options: menuOptions[];
579
- buttonSx?: SxProps<Theme> | undefined;
580
- menuSx?: MenuSxProps;
581
- buttonText: string | ReactNode;
582
- }
583
- interface menuOptions {
584
- option: React__default.ReactNode;
585
- onClick?: React__default.MouseEventHandler<HTMLLIElement> | undefined;
586
- }
587
- interface MenuSxProps {
588
- backgroundColor?: string;
589
- borderColor?: string;
590
- hoverColor?: string;
591
- width?: string;
592
- boxShadow?: string;
593
- }
594
- declare function WavelengthDropdown({ id, options, buttonSx, width, buttonText, menuSx, palette, }: DropdownProps): react_jsx_runtime.JSX.Element;
595
- declare namespace WavelengthDropdown {
596
- var displayName: string;
597
- }
598
-
599
- interface ConfirmationSnackbarProps {
600
- show: boolean;
601
- setShow: (show: boolean) => void;
602
- closeIcon?: ReactNode | React__default.JSX.Element;
603
- message?: ReactNode | React__default.JSX.Element;
604
- snackBarColor?: string;
605
- textColor?: string;
606
- horryAlign?: "left" | "right" | "center";
607
- vertyAlign?: "top" | "bottom";
608
- durationSb?: number;
609
- id?: string;
610
- width?: string | number;
611
- icon?: ReactNode;
612
- }
613
- declare function WavelengthSnackbar({ show, setShow, closeIcon, message, snackBarColor, textColor, horryAlign, vertyAlign, durationSb, width, icon, id }: ConfirmationSnackbarProps): react_jsx_runtime.JSX.Element;
614
- declare namespace WavelengthSnackbar {
615
- var displayName: string;
616
- }
617
-
618
- interface StandardSnackbarProps {
619
- type: "success" | "error" | "disabled";
620
- show: boolean;
621
- closeIcon: ReactNode | React__default.JSX.Element;
622
- icon?: ReactNode;
623
- toggleShow: (on: boolean) => void;
624
- horryAlign?: "left" | "right" | "center";
625
- vertyAlign?: "top" | "bottom";
626
- durationSb?: number;
627
- width?: string | number;
628
- message?: string | ReactNode;
629
- customVertyAlign?: string;
630
- id?: string;
631
- }
632
- declare function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign, durationSb, width, message, customVertyAlign, toggleShow, closeIcon, id }: StandardSnackbarProps): react_jsx_runtime.JSX.Element;
633
- declare namespace WavelengthStandardSnackbar {
634
- var displayName: string;
635
- }
636
-
637
- interface Testprops {
638
- isPopUpOpen: boolean;
639
- type: "success" | "error" | "disabled";
640
- icon?: ReactNode;
641
- width?: string | number;
642
- message?: string | ReactNode;
643
- img: React__default.JSX.Element | ReactNode;
644
- toggleOpen: (value: React__default.SetStateAction<boolean>) => void;
645
- customVertyAlign?: string;
646
- }
647
- declare const useOutsideClick: (callback: () => void) => React__default.RefObject<HTMLDivElement>;
648
- declare function WavelengthTestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign, width, img }: Testprops): react_jsx_runtime.JSX.Element;
649
- declare namespace WavelengthTestSnackbar {
650
- var displayName: string;
651
- }
652
-
653
- interface sliderProps {
654
- width?: string;
655
- labelColor?: string;
656
- color?: string;
657
- value: number;
658
- valueDisplayed?: boolean;
659
- minVal: number;
660
- maxVal: number;
661
- step: number;
662
- handleChange: (event: Event, newValue: number | number[]) => void;
663
- labelFunc?(val: number): string;
664
- marks?: Mark[];
665
- }
666
- declare function WavelengthSlider({ width, color, valueDisplayed, marks, labelColor, value, maxVal, minVal, step, labelFunc, handleChange }: sliderProps): react_jsx_runtime.JSX.Element;
667
- declare namespace WavelengthSlider {
668
- var displayName: string;
669
- }
670
-
671
- interface carouselItem$1 {
672
- title?: string;
673
- description?: string;
674
- image: string;
675
- path: string;
676
- }
677
- interface carouselConfigArray$1 {
678
- items: carouselItem$1[];
679
- }
680
- interface adjustableDimensions {
681
- buttonSize?: number;
682
- imageHeight?: number;
683
- imageWidth?: number;
684
- cardWidth?: number;
685
- cardHeight?: number;
686
- }
687
- declare const DefaultCarousel: React__default.FC<carouselConfigArray$1 & adjustableDimensions>;
688
-
689
- interface carouselItem {
690
- title?: string;
691
- description?: string;
692
- image: string;
693
- path: string;
694
- }
695
- interface carouselConfigArray {
696
- items: carouselItem[];
697
- }
698
- interface adjustDimenforCarousel {
699
- contHeight?: number;
700
- contWidth?: number;
701
- cardWidth?: number;
702
- cardHeight?: number;
703
- }
704
- declare const SliderCardCarousel: React__default.FC<carouselConfigArray & adjustDimenforCarousel>;
705
-
706
- interface PaginationProps {
707
- totalPages: number;
708
- boundaryCount?: number;
709
- siblingCount?: number;
710
- currentPageNumber: number;
711
- style?: "text" | "contained" | "outlined" | "circular";
712
- onPageChange: (page: number) => void;
713
- }
714
- declare const range: (start: number, end: number) => number[];
715
- declare function ascendingRange(start: number, end: number): number[];
716
- declare function DefaultPagination({ totalPages, currentPageNumber, siblingCount, boundaryCount, style, onPageChange }: PaginationProps): react_jsx_runtime.JSX.Element;
717
- declare namespace DefaultPagination {
718
- var displayName: string;
719
- }
720
-
721
- interface WavelengthInputProps extends React__default.HTMLAttributes<HTMLElement> {
722
- id?: string;
723
- name?: string;
724
- value?: string;
725
- clearable?: boolean;
726
- placeholder?: string;
727
- inputType?: string;
728
- regex?: string;
729
- helperMessage?: string;
730
- errorMessage?: string;
731
- minLengthMessage?: string;
732
- maxLengthMessage?: string;
733
- validationType?: "none" | "always" | "onBlur" | "manual";
734
- minLength?: number;
735
- maxLength?: number;
736
- required?: boolean;
737
- forceError?: boolean;
738
- disabled?: boolean;
739
- width?: string;
740
- height?: string;
741
- padding?: string;
742
- borderRadius?: string;
743
- backgroundColor?: string;
744
- labelColor?: string;
745
- placeholderColor?: string;
746
- textColor?: string;
747
- borderColor?: string;
748
- focusColor?: string;
749
- helperColor?: string;
750
- label?: string;
751
- onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
752
- }
753
- declare const WavelengthInput: React__default.ForwardRefExoticComponent<WavelengthInputProps & React__default.RefAttributes<HTMLElement & {
754
- validate?: () => boolean;
755
- }>>;
756
-
757
- interface DataType$2 {
758
- id: number;
759
- [key: string]: any;
760
- }
761
- interface ColumnProps$2<T> {
762
- key: string;
763
- title: string | ReactElement;
764
- width?: string;
765
- editable?: boolean;
766
- render?: (column: ColumnProps$2<T>, item: T) => ReactElement;
767
- }
768
- type Props$2<T> = {
769
- columns: Array<ColumnProps$2<T>>;
770
- data?: T[] | undefined;
771
- itemsPerPage: number;
772
- totalPages: number;
773
- };
774
- declare const WavelengthDataTable: {
775
- <T extends DataType$2>({ data, columns, itemsPerPage, totalPages }: Props$2<T>): react_jsx_runtime.JSX.Element;
776
- displayName: string;
777
- };
778
-
779
- interface fileObject {
780
- id: number;
781
- [key: string]: any;
782
- }
783
- interface Details$1 {
784
- relationId: number;
785
- fileObjects: fileObject[];
786
- }
787
- interface DataType$1 {
788
- id: number;
789
- [key: string]: any;
790
- Details?: Details$1;
791
- }
792
- interface ColumnProps$1 {
793
- key: string;
794
- title: string | ReactElement;
795
- subDataTableColumn: boolean;
796
- PrimaryBoldText?: boolean;
797
- }
798
- type Props$1<T> = {
799
- columns: Array<ColumnProps$1>;
800
- data?: T[] | undefined;
801
- downloadArrowOnClick?: () => void | Promise<void>;
802
- downloadMissionOnClick?: () => void | Promise<void>;
803
- addFilesOnClick?: () => void | Promise<void>;
804
- };
805
- declare const ChildDataTable: {
806
- <T extends DataType$1>({ data, columns, downloadArrowOnClick, downloadMissionOnClick, addFilesOnClick }: Props$1<T>): react_jsx_runtime.JSX.Element;
807
- displayName: string;
808
- };
809
-
810
- interface Details {
811
- relationId: number;
812
- [key: string]: any;
813
- }
814
- interface DataType {
815
- id: number;
816
- [key: string]: any;
817
- Details?: Details;
818
- }
819
- interface ColumnProps<T> {
820
- key: string;
821
- title: string | ReactElement;
822
- subDataTableColumn: boolean;
823
- width?: string;
824
- editable?: boolean;
825
- render?: (column: ColumnProps<T>, item: T) => ReactElement;
826
- }
827
- type Props<T> = {
828
- columns: Array<ColumnProps<T>>;
829
- data?: T[] | undefined;
830
- };
831
- declare const NestedDataTable: {
832
- <T extends DataType>({ data, columns }: Props<T>): react_jsx_runtime.JSX.Element;
833
- displayName: string;
834
- };
835
-
836
- interface AutocompleteProps {
837
- data: string[];
838
- floatLabel: string;
839
- onDataChange?: (data: string) => void;
840
- height?: string;
841
- width?: string;
842
- inputBorderStyle?: string;
843
- inputFocusBorderColor?: string;
844
- autoBackGroundColor?: string;
845
- labelColor?: string;
846
- focusedLabelColor?: string;
847
- id?: string;
848
- name?: string;
849
- }
850
- declare const WavelengthAutoComplete: {
851
- ({ floatLabel, data, height, width, inputBorderStyle, inputFocusBorderColor, onDataChange, autoBackGroundColor, labelColor, focusedLabelColor, id, name, }: AutocompleteProps): react_jsx_runtime.JSX.Element;
852
- displayName: string;
853
- };
854
-
855
- type timeVariant = "date" | "datetime-local" | "";
856
- interface DateInputProps {
857
- floatLabel: string;
858
- OnDataChange?: (data: Date) => void;
859
- height?: string;
860
- width?: string;
861
- min?: string;
862
- max?: string;
863
- inputTimeType: timeVariant;
864
- labelColor?: string;
865
- inputBorderStyle?: string;
866
- inputFocusBorderColor?: string;
867
- backgroundColor?: string;
868
- FocusLabelColor?: string;
869
- id?: string;
870
- name?: string;
871
- }
872
- declare const WavelengthDatePicker: {
873
- ({ id, name, inputBorderStyle, floatLabel, labelColor, inputFocusBorderColor, FocusLabelColor, backgroundColor, height, width, min, max, inputTimeType, OnDataChange, }: DateInputProps): react_jsx_runtime.JSX.Element;
874
- displayName: string;
875
- };
876
-
877
- interface SampleComponentProps extends React__default.HTMLAttributes<HTMLElement> {
878
- testProp?: string;
944
+ interface Option {
945
+ label: string;
946
+ value: string;
947
+ }
948
+ declare class BaseWavelengthMultiSelectAutocomplete extends HTMLElement {
949
+ static readonly formAssociated = true;
950
+ private _options;
951
+ private _selectedOptions;
952
+ private _isOpen;
953
+ private _inputValue;
954
+ private _placeholder;
955
+ private readonly _internals;
956
+ private readonly _container;
957
+ private readonly _inputWrapper;
958
+ private readonly _input;
959
+ private readonly _label;
960
+ private readonly _dropdown;
961
+ private readonly _clearBtn;
962
+ private readonly _arrowBtn;
963
+ constructor();
964
+ get form(): HTMLFormElement | null;
965
+ get name(): string | null;
966
+ get type(): string;
967
+ get value(): Option[];
968
+ set value(options: Option[]);
969
+ set autocompleteOptions(options: Option[]);
970
+ static get observedAttributes(): string[];
971
+ attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
972
+ connectedCallback(): void;
973
+ disconnectedCallback(): void;
974
+ get isOpen(): boolean;
975
+ set isOpen(value: boolean);
976
+ private addEventListeners;
977
+ private handleInput;
978
+ private toggleDropdown;
979
+ private handleContainerClick;
980
+ private handleOutsideClick;
981
+ private handleOptionClick;
982
+ private handleRemoveChip;
983
+ private toggleClearButton;
984
+ private clearSelection;
985
+ private updateLabelPosition;
986
+ private renderChips;
987
+ private renderDropdown;
988
+ private render;
989
+ }
990
+ declare const WavelengthMultiSelectAutocomplete_base: {
991
+ new (...args: any[]): {
992
+ readonly _mixinStyleTagId: "custom-mixin-styles";
993
+ set customStyles(styleObject: {
994
+ [key: string]: string | number | {
995
+ [key: string]: string | number;
996
+ };
997
+ });
998
+ toKebabCase(str: string): string;
999
+ createCssPropertiesString(ruleObject: {
1000
+ [key: string]: string | number;
1001
+ }): string;
1002
+ generateAndApplyStyles(styleObject: {
1003
+ [key: string]: string | number | {
1004
+ [key: string]: string | number;
1005
+ };
1006
+ }): void;
1007
+ accessKey: string;
1008
+ readonly accessKeyLabel: string;
1009
+ autocapitalize: string;
1010
+ autocorrect: boolean;
1011
+ dir: string;
1012
+ draggable: boolean;
1013
+ hidden: boolean;
1014
+ inert: boolean;
1015
+ innerText: string;
1016
+ lang: string;
1017
+ readonly offsetHeight: number;
1018
+ readonly offsetLeft: number;
1019
+ readonly offsetParent: Element | null;
1020
+ readonly offsetTop: number;
1021
+ readonly offsetWidth: number;
1022
+ outerText: string;
1023
+ popover: string | null;
1024
+ spellcheck: boolean;
1025
+ title: string;
1026
+ translate: boolean;
1027
+ writingSuggestions: string;
1028
+ attachInternals(): ElementInternals;
1029
+ click(): void;
1030
+ hidePopover(): void;
1031
+ showPopover(): void;
1032
+ togglePopover(options?: boolean): boolean;
1033
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1034
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1035
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1036
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1037
+ readonly attributes: NamedNodeMap;
1038
+ get classList(): DOMTokenList;
1039
+ set classList(value: string);
1040
+ className: string;
1041
+ readonly clientHeight: number;
1042
+ readonly clientLeft: number;
1043
+ readonly clientTop: number;
1044
+ readonly clientWidth: number;
1045
+ readonly currentCSSZoom: number;
1046
+ id: string;
1047
+ innerHTML: string;
1048
+ readonly localName: string;
1049
+ readonly namespaceURI: string | null;
1050
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
1051
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
1052
+ outerHTML: string;
1053
+ readonly ownerDocument: Document;
1054
+ get part(): DOMTokenList;
1055
+ set part(value: string);
1056
+ readonly prefix: string | null;
1057
+ readonly scrollHeight: number;
1058
+ scrollLeft: number;
1059
+ scrollTop: number;
1060
+ readonly scrollWidth: number;
1061
+ readonly shadowRoot: ShadowRoot | null;
1062
+ slot: string;
1063
+ readonly tagName: string;
1064
+ attachShadow(init: ShadowRootInit): ShadowRoot;
1065
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
1066
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
1067
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
1068
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
1069
+ closest<E extends Element = Element>(selectors: string): E | null;
1070
+ computedStyleMap(): StylePropertyMapReadOnly;
1071
+ getAttribute(qualifiedName: string): string | null;
1072
+ getAttributeNS(namespace: string | null, localName: string): string | null;
1073
+ getAttributeNames(): string[];
1074
+ getAttributeNode(qualifiedName: string): Attr | null;
1075
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
1076
+ getBoundingClientRect(): DOMRect;
1077
+ getClientRects(): DOMRectList;
1078
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
1079
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
1080
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
1081
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
1082
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
1083
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
1084
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
1085
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
1086
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
1087
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
1088
+ getHTML(options?: GetHTMLOptions): string;
1089
+ hasAttribute(qualifiedName: string): boolean;
1090
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
1091
+ hasAttributes(): boolean;
1092
+ hasPointerCapture(pointerId: number): boolean;
1093
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
1094
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
1095
+ insertAdjacentText(where: InsertPosition, data: string): void;
1096
+ matches(selectors: string): boolean;
1097
+ releasePointerCapture(pointerId: number): void;
1098
+ removeAttribute(qualifiedName: string): void;
1099
+ removeAttributeNS(namespace: string | null, localName: string): void;
1100
+ removeAttributeNode(attr: Attr): Attr;
1101
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
1102
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
1103
+ scroll(options?: ScrollToOptions): void;
1104
+ scroll(x: number, y: number): void;
1105
+ scrollBy(options?: ScrollToOptions): void;
1106
+ scrollBy(x: number, y: number): void;
1107
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
1108
+ scrollTo(options?: ScrollToOptions): void;
1109
+ scrollTo(x: number, y: number): void;
1110
+ setAttribute(qualifiedName: string, value: string): void;
1111
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
1112
+ setAttributeNode(attr: Attr): Attr | null;
1113
+ setAttributeNodeNS(attr: Attr): Attr | null;
1114
+ setHTMLUnsafe(html: string): void;
1115
+ setPointerCapture(pointerId: number): void;
1116
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
1117
+ webkitMatchesSelector(selectors: string): boolean;
1118
+ get textContent(): string;
1119
+ set textContent(value: string | null);
1120
+ readonly baseURI: string;
1121
+ readonly childNodes: NodeListOf<ChildNode>;
1122
+ readonly firstChild: ChildNode | null;
1123
+ readonly isConnected: boolean;
1124
+ readonly lastChild: ChildNode | null;
1125
+ readonly nextSibling: ChildNode | null;
1126
+ readonly nodeName: string;
1127
+ readonly nodeType: number;
1128
+ nodeValue: string | null;
1129
+ readonly parentElement: HTMLElement | null;
1130
+ readonly parentNode: ParentNode | null;
1131
+ readonly previousSibling: ChildNode | null;
1132
+ appendChild<T extends Node>(node: T): T;
1133
+ cloneNode(subtree?: boolean): Node;
1134
+ compareDocumentPosition(other: Node): number;
1135
+ contains(other: Node | null): boolean;
1136
+ getRootNode(options?: GetRootNodeOptions): Node;
1137
+ hasChildNodes(): boolean;
1138
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
1139
+ isDefaultNamespace(namespace: string | null): boolean;
1140
+ isEqualNode(otherNode: Node | null): boolean;
1141
+ isSameNode(otherNode: Node | null): boolean;
1142
+ lookupNamespaceURI(prefix: string | null): string | null;
1143
+ lookupPrefix(namespace: string | null): string | null;
1144
+ normalize(): void;
1145
+ removeChild<T extends Node>(child: T): T;
1146
+ replaceChild<T extends Node>(node: Node, child: T): T;
1147
+ readonly ELEMENT_NODE: 1;
1148
+ readonly ATTRIBUTE_NODE: 2;
1149
+ readonly TEXT_NODE: 3;
1150
+ readonly CDATA_SECTION_NODE: 4;
1151
+ readonly ENTITY_REFERENCE_NODE: 5;
1152
+ readonly ENTITY_NODE: 6;
1153
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
1154
+ readonly COMMENT_NODE: 8;
1155
+ readonly DOCUMENT_NODE: 9;
1156
+ readonly DOCUMENT_TYPE_NODE: 10;
1157
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
1158
+ readonly NOTATION_NODE: 12;
1159
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
1160
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
1161
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
1162
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
1163
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
1164
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
1165
+ dispatchEvent(event: Event): boolean;
1166
+ ariaActiveDescendantElement: Element | null;
1167
+ ariaAtomic: string | null;
1168
+ ariaAutoComplete: string | null;
1169
+ ariaBrailleLabel: string | null;
1170
+ ariaBrailleRoleDescription: string | null;
1171
+ ariaBusy: string | null;
1172
+ ariaChecked: string | null;
1173
+ ariaColCount: string | null;
1174
+ ariaColIndex: string | null;
1175
+ ariaColIndexText: string | null;
1176
+ ariaColSpan: string | null;
1177
+ ariaControlsElements: ReadonlyArray<Element> | null;
1178
+ ariaCurrent: string | null;
1179
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
1180
+ ariaDescription: string | null;
1181
+ ariaDetailsElements: ReadonlyArray<Element> | null;
1182
+ ariaDisabled: string | null;
1183
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
1184
+ ariaExpanded: string | null;
1185
+ ariaFlowToElements: ReadonlyArray<Element> | null;
1186
+ ariaHasPopup: string | null;
1187
+ ariaHidden: string | null;
1188
+ ariaInvalid: string | null;
1189
+ ariaKeyShortcuts: string | null;
1190
+ ariaLabel: string | null;
1191
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
1192
+ ariaLevel: string | null;
1193
+ ariaLive: string | null;
1194
+ ariaModal: string | null;
1195
+ ariaMultiLine: string | null;
1196
+ ariaMultiSelectable: string | null;
1197
+ ariaOrientation: string | null;
1198
+ ariaOwnsElements: ReadonlyArray<Element> | null;
1199
+ ariaPlaceholder: string | null;
1200
+ ariaPosInSet: string | null;
1201
+ ariaPressed: string | null;
1202
+ ariaReadOnly: string | null;
1203
+ ariaRelevant: string | null;
1204
+ ariaRequired: string | null;
1205
+ ariaRoleDescription: string | null;
1206
+ ariaRowCount: string | null;
1207
+ ariaRowIndex: string | null;
1208
+ ariaRowIndexText: string | null;
1209
+ ariaRowSpan: string | null;
1210
+ ariaSelected: string | null;
1211
+ ariaSetSize: string | null;
1212
+ ariaSort: string | null;
1213
+ ariaValueMax: string | null;
1214
+ ariaValueMin: string | null;
1215
+ ariaValueNow: string | null;
1216
+ ariaValueText: string | null;
1217
+ role: string | null;
1218
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
1219
+ getAnimations(options?: GetAnimationsOptions): Animation[];
1220
+ after(...nodes: (Node | string)[]): void;
1221
+ before(...nodes: (Node | string)[]): void;
1222
+ remove(): void;
1223
+ replaceWith(...nodes: (Node | string)[]): void;
1224
+ readonly nextElementSibling: Element | null;
1225
+ readonly previousElementSibling: Element | null;
1226
+ readonly childElementCount: number;
1227
+ readonly children: HTMLCollection;
1228
+ readonly firstElementChild: Element | null;
1229
+ readonly lastElementChild: Element | null;
1230
+ append(...nodes: (Node | string)[]): void;
1231
+ prepend(...nodes: (Node | string)[]): void;
1232
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
1233
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
1234
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
1235
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
1236
+ querySelector<E extends Element = Element>(selectors: string): E | null;
1237
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
1238
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
1239
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
1240
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
1241
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
1242
+ replaceChildren(...nodes: (Node | string)[]): void;
1243
+ readonly assignedSlot: HTMLSlotElement | null;
1244
+ readonly attributeStyleMap: StylePropertyMap;
1245
+ get style(): CSSStyleDeclaration;
1246
+ set style(cssText: string);
1247
+ contentEditable: string;
1248
+ enterKeyHint: string;
1249
+ inputMode: string;
1250
+ readonly isContentEditable: boolean;
1251
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1252
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1253
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1254
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1255
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1256
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1257
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
1258
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1259
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
1260
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
1261
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1262
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1263
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1264
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1265
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1266
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1267
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1268
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1269
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1270
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1271
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1272
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1273
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1274
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1275
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1276
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1277
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1278
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1279
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1280
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1281
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1282
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1283
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1284
+ onerror: OnErrorEventHandler;
1285
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
1286
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
1287
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1288
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1289
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1290
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1291
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1292
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1293
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1294
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1295
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1296
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1297
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1298
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1299
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1300
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1301
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1302
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1303
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1304
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1305
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1306
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1307
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1308
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1309
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1310
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1311
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1312
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1313
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1314
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1315
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1316
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1317
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1318
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
1319
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1320
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1321
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1322
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1323
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1324
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
1325
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1326
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1327
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1328
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1329
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1330
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1331
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1332
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
1333
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1334
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1335
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
1336
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1337
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1338
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1339
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1340
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1341
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1342
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1343
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1344
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1345
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1346
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1347
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1348
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1349
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1350
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1351
+ autofocus: boolean;
1352
+ readonly dataset: DOMStringMap;
1353
+ nonce?: string;
1354
+ tabIndex: number;
1355
+ blur(): void;
1356
+ focus(options?: FocusOptions): void;
1357
+ };
1358
+ } & typeof BaseWavelengthMultiSelectAutocomplete;
1359
+ declare class WavelengthMultiSelectAutocomplete extends WavelengthMultiSelectAutocomplete_base {
879
1360
  }
880
- declare const SampleComponent: React__default.FC<SampleComponentProps>;
881
1361
 
882
- export { type ButtonConfig, ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, DefaultPagination, type FormChangeDetail, type FormDetail, type FormInvalidDetail, type FormValidDetail, NestedDataTable, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthAutocomplete, WavelengthBanner, type WavelengthBannerProps, WavelengthBox, WavelengthButton, type WavelengthButtonAttributes, type WavelengthButtonProps, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthForm, type WavelengthFormProps, type WavelengthFormRef, WavelengthInput, type WavelengthInputAttributes, WavelengthManyPlanes, WavelengthNotAvailablePage, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, type WavelengthProgressBarProps, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTestSnackbar, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
1362
+ export { BaseSampleComponent, BaseWavelengthInput, BaseWavelengthMultiSelectAutocomplete, SampleComponent, WavelengthBanner, WavelengthButton, WavelengthDatePicker, WavelengthForm, WavelengthInput, WavelengthMultiSelectAutocomplete, WavelengthProgressBar, WavelengthTitleBar };