@carbon-labs/wc-date-picker 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/es/__stories__/date-picker.stories.d.ts +949 -0
- package/es/components/date-picker/calendar-renderer.d.ts +147 -0
- package/es/components/date-picker/calendar-renderer.js +406 -0
- package/es/components/date-picker/calendar-renderer.js.map +1 -0
- package/es/components/date-picker/date-picker-input-skeleton.d.ts +34 -0
- package/es/components/date-picker/date-picker-input-skeleton.js +77 -0
- package/es/components/date-picker/date-picker-input-skeleton.js.map +1 -0
- package/es/components/date-picker/date-picker-input.d.ts +539 -0
- package/es/components/date-picker/date-picker-input.js +413 -0
- package/es/components/date-picker/date-picker-input.js.map +1 -0
- package/es/components/date-picker/date-picker.d.ts +977 -0
- package/es/components/date-picker/date-picker.js +1047 -0
- package/es/components/date-picker/date-picker.js.map +1 -0
- package/es/components/date-picker/date-picker.scss.js +6 -0
- package/es/components/date-picker/date-picker.scss.js.map +1 -0
- package/es/components/date-picker/defs.d.ts +45 -0
- package/es/components/date-picker/defs.js +51 -0
- package/es/components/date-picker/defs.js.map +1 -0
- package/es/index.d.ts +10 -0
- package/es/index.js +5 -0
- package/es/index.js.map +1 -0
- package/es/state-machine/actions.d.ts +35 -0
- package/es/state-machine/actions.js +860 -0
- package/es/state-machine/actions.js.map +1 -0
- package/es/state-machine/adapters/web-component-adapter.d.ts +142 -0
- package/es/state-machine/adapters/web-component-adapter.js +269 -0
- package/es/state-machine/adapters/web-component-adapter.js.map +1 -0
- package/es/state-machine/effects.d.ts +35 -0
- package/es/state-machine/effects.js +92 -0
- package/es/state-machine/effects.js.map +1 -0
- package/es/state-machine/guards.d.ts +41 -0
- package/es/state-machine/guards.js +143 -0
- package/es/state-machine/guards.js.map +1 -0
- package/es/state-machine/index.d.ts +12 -0
- package/es/state-machine/machine.d.ts +92 -0
- package/es/state-machine/machine.js +272 -0
- package/es/state-machine/machine.js.map +1 -0
- package/es/state-machine/states.d.ts +89 -0
- package/es/state-machine/states.js +105 -0
- package/es/state-machine/states.js.map +1 -0
- package/es/state-machine/temporal-utils.d.ts +203 -0
- package/es/state-machine/temporal-utils.js +128 -0
- package/es/state-machine/temporal-utils.js.map +1 -0
- package/es/state-machine/types.d.ts +163 -0
- package/es/temp-imports/.storybook/templates/with-layer.d.ts +26 -0
- package/es/temp-imports/globals/decorators/carbon-element.d.ts +45 -0
- package/es/temp-imports/globals/decorators/carbon-element.js +63 -0
- package/es/temp-imports/globals/decorators/carbon-element.js.map +1 -0
- package/es/temp-imports/globals/decorators/host-listener.d.ts +17 -0
- package/es/temp-imports/globals/decorators/host-listener.js +62 -0
- package/es/temp-imports/globals/decorators/host-listener.js.map +1 -0
- package/es/temp-imports/globals/internal/collection-helpers.d.ts +41 -0
- package/es/temp-imports/globals/internal/handle.d.ts +16 -0
- package/es/temp-imports/globals/internal/icon-loader-utils.d.ts +31 -0
- package/es/temp-imports/globals/internal/icon-loader-utils.js +69 -0
- package/es/temp-imports/globals/internal/icon-loader-utils.js.map +1 -0
- package/es/temp-imports/globals/internal/icon-loader.d.ts +28 -0
- package/es/temp-imports/globals/internal/icon-loader.js +43 -0
- package/es/temp-imports/globals/internal/icon-loader.js.map +1 -0
- package/es/temp-imports/globals/mixins/focus.d.ts +369 -0
- package/es/temp-imports/globals/mixins/focus.js +38 -0
- package/es/temp-imports/globals/mixins/focus.js.map +1 -0
- package/es/temp-imports/globals/mixins/form.d.ts +379 -0
- package/es/temp-imports/globals/mixins/form.js +49 -0
- package/es/temp-imports/globals/mixins/form.js.map +1 -0
- package/es/temp-imports/globals/mixins/host-listener.d.ts +387 -0
- package/es/temp-imports/globals/mixins/host-listener.js +76 -0
- package/es/temp-imports/globals/mixins/host-listener.js.map +1 -0
- package/es/temp-imports/globals/mixins/on.d.ts +9 -0
- package/es/temp-imports/globals/mixins/on.js +19 -0
- package/es/temp-imports/globals/mixins/on.js.map +1 -0
- package/es/temp-imports/globals/settings.d.ts +13 -0
- package/es/temp-imports/globals/settings.js +76 -0
- package/es/temp-imports/globals/settings.js.map +1 -0
- package/es/temp-imports/globals/shared-enums.d.ts +19 -0
- package/es/temp-imports/globals/shared-enums.js +23 -0
- package/es/temp-imports/globals/shared-enums.js.map +1 -0
- package/lib/__stories__/date-picker.stories.d.ts +949 -0
- package/lib/components/date-picker/calendar-renderer.d.ts +147 -0
- package/lib/components/date-picker/calendar-renderer.js +408 -0
- package/lib/components/date-picker/calendar-renderer.js.map +1 -0
- package/lib/components/date-picker/date-picker-input-skeleton.d.ts +34 -0
- package/lib/components/date-picker/date-picker-input-skeleton.js +79 -0
- package/lib/components/date-picker/date-picker-input-skeleton.js.map +1 -0
- package/lib/components/date-picker/date-picker-input.d.ts +539 -0
- package/lib/components/date-picker/date-picker-input.js +422 -0
- package/lib/components/date-picker/date-picker-input.js.map +1 -0
- package/lib/components/date-picker/date-picker.d.ts +977 -0
- package/lib/components/date-picker/date-picker.js +1049 -0
- package/lib/components/date-picker/date-picker.js.map +1 -0
- package/lib/components/date-picker/date-picker.scss.js +10 -0
- package/lib/components/date-picker/date-picker.scss.js.map +1 -0
- package/lib/components/date-picker/defs.d.ts +45 -0
- package/lib/components/date-picker/defs.js +56 -0
- package/lib/components/date-picker/defs.js.map +1 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.js +8 -0
- package/lib/index.js.map +1 -0
- package/lib/state-machine/actions.d.ts +35 -0
- package/lib/state-machine/actions.js +864 -0
- package/lib/state-machine/actions.js.map +1 -0
- package/lib/state-machine/adapters/web-component-adapter.d.ts +142 -0
- package/lib/state-machine/adapters/web-component-adapter.js +271 -0
- package/lib/state-machine/adapters/web-component-adapter.js.map +1 -0
- package/lib/state-machine/effects.d.ts +35 -0
- package/lib/state-machine/effects.js +96 -0
- package/lib/state-machine/effects.js.map +1 -0
- package/lib/state-machine/guards.d.ts +41 -0
- package/lib/state-machine/guards.js +147 -0
- package/lib/state-machine/guards.js.map +1 -0
- package/lib/state-machine/index.d.ts +12 -0
- package/lib/state-machine/machine.d.ts +92 -0
- package/lib/state-machine/machine.js +274 -0
- package/lib/state-machine/machine.js.map +1 -0
- package/lib/state-machine/states.d.ts +89 -0
- package/lib/state-machine/states.js +105 -0
- package/lib/state-machine/states.js.map +1 -0
- package/lib/state-machine/temporal-utils.d.ts +203 -0
- package/lib/state-machine/temporal-utils.js +136 -0
- package/lib/state-machine/temporal-utils.js.map +1 -0
- package/lib/state-machine/types.d.ts +163 -0
- package/lib/temp-imports/.storybook/templates/with-layer.d.ts +26 -0
- package/lib/temp-imports/globals/decorators/carbon-element.d.ts +45 -0
- package/lib/temp-imports/globals/decorators/carbon-element.js +65 -0
- package/lib/temp-imports/globals/decorators/carbon-element.js.map +1 -0
- package/lib/temp-imports/globals/decorators/host-listener.d.ts +17 -0
- package/lib/temp-imports/globals/decorators/host-listener.js +66 -0
- package/lib/temp-imports/globals/decorators/host-listener.js.map +1 -0
- package/lib/temp-imports/globals/internal/collection-helpers.d.ts +41 -0
- package/lib/temp-imports/globals/internal/handle.d.ts +16 -0
- package/lib/temp-imports/globals/internal/icon-loader-utils.d.ts +31 -0
- package/lib/temp-imports/globals/internal/icon-loader-utils.js +72 -0
- package/lib/temp-imports/globals/internal/icon-loader-utils.js.map +1 -0
- package/lib/temp-imports/globals/internal/icon-loader.d.ts +28 -0
- package/lib/temp-imports/globals/internal/icon-loader.js +45 -0
- package/lib/temp-imports/globals/internal/icon-loader.js.map +1 -0
- package/lib/temp-imports/globals/mixins/focus.d.ts +369 -0
- package/lib/temp-imports/globals/mixins/focus.js +42 -0
- package/lib/temp-imports/globals/mixins/focus.js.map +1 -0
- package/lib/temp-imports/globals/mixins/form.d.ts +379 -0
- package/lib/temp-imports/globals/mixins/form.js +53 -0
- package/lib/temp-imports/globals/mixins/form.js.map +1 -0
- package/lib/temp-imports/globals/mixins/host-listener.d.ts +387 -0
- package/lib/temp-imports/globals/mixins/host-listener.js +80 -0
- package/lib/temp-imports/globals/mixins/host-listener.js.map +1 -0
- package/lib/temp-imports/globals/mixins/on.d.ts +9 -0
- package/lib/temp-imports/globals/mixins/on.js +23 -0
- package/lib/temp-imports/globals/mixins/on.js.map +1 -0
- package/lib/temp-imports/globals/settings.d.ts +13 -0
- package/lib/temp-imports/globals/settings.js +79 -0
- package/lib/temp-imports/globals/settings.js.map +1 -0
- package/lib/temp-imports/globals/shared-enums.d.ts +19 -0
- package/lib/temp-imports/globals/shared-enums.js +23 -0
- package/lib/temp-imports/globals/shared-enums.js.map +1 -0
- package/package.json +44 -0
|
@@ -0,0 +1,977 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2019, 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import { LitElement } from 'lit';
|
|
8
|
+
declare const CDSDatePicker_base: {
|
|
9
|
+
new (...args: any[]): {
|
|
10
|
+
_handles: Set<import("../../temp-imports/globals/internal/handle").default>;
|
|
11
|
+
connectedCallback(): void;
|
|
12
|
+
disconnectedCallback(): void;
|
|
13
|
+
accessKey: string;
|
|
14
|
+
readonly accessKeyLabel: string;
|
|
15
|
+
autocapitalize: string;
|
|
16
|
+
autocorrect: boolean;
|
|
17
|
+
dir: string;
|
|
18
|
+
draggable: boolean;
|
|
19
|
+
hidden: boolean;
|
|
20
|
+
inert: boolean;
|
|
21
|
+
innerText: string;
|
|
22
|
+
lang: string;
|
|
23
|
+
readonly offsetHeight: number;
|
|
24
|
+
readonly offsetLeft: number;
|
|
25
|
+
readonly offsetParent: Element | null;
|
|
26
|
+
readonly offsetTop: number;
|
|
27
|
+
readonly offsetWidth: number;
|
|
28
|
+
outerText: string;
|
|
29
|
+
popover: string | null;
|
|
30
|
+
spellcheck: boolean;
|
|
31
|
+
title: string;
|
|
32
|
+
translate: boolean;
|
|
33
|
+
writingSuggestions: string;
|
|
34
|
+
attachInternals(): ElementInternals;
|
|
35
|
+
click(): void;
|
|
36
|
+
hidePopover(): void;
|
|
37
|
+
showPopover(): void;
|
|
38
|
+
togglePopover(options?: boolean): boolean;
|
|
39
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
40
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
41
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
42
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
43
|
+
readonly attributes: NamedNodeMap;
|
|
44
|
+
get classList(): DOMTokenList;
|
|
45
|
+
set classList(value: string);
|
|
46
|
+
className: string;
|
|
47
|
+
readonly clientHeight: number;
|
|
48
|
+
readonly clientLeft: number;
|
|
49
|
+
readonly clientTop: number;
|
|
50
|
+
readonly clientWidth: number;
|
|
51
|
+
readonly currentCSSZoom: number;
|
|
52
|
+
id: string;
|
|
53
|
+
innerHTML: string;
|
|
54
|
+
readonly localName: string;
|
|
55
|
+
readonly namespaceURI: string | null;
|
|
56
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
57
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
58
|
+
outerHTML: string;
|
|
59
|
+
readonly ownerDocument: Document;
|
|
60
|
+
get part(): DOMTokenList;
|
|
61
|
+
set part(value: string);
|
|
62
|
+
readonly prefix: string | null;
|
|
63
|
+
readonly scrollHeight: number;
|
|
64
|
+
scrollLeft: number;
|
|
65
|
+
scrollTop: number;
|
|
66
|
+
readonly scrollWidth: number;
|
|
67
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
68
|
+
slot: string;
|
|
69
|
+
readonly tagName: string;
|
|
70
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
71
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
72
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
73
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
74
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
75
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
76
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
77
|
+
getAttribute(qualifiedName: string): string | null;
|
|
78
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
79
|
+
getAttributeNames(): string[];
|
|
80
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
81
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
82
|
+
getBoundingClientRect(): DOMRect;
|
|
83
|
+
getClientRects(): DOMRectList;
|
|
84
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
85
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
86
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
87
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
88
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
89
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
90
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
91
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
92
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
93
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
94
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
95
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
96
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
97
|
+
hasAttributes(): boolean;
|
|
98
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
99
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
100
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
101
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
102
|
+
matches(selectors: string): boolean;
|
|
103
|
+
releasePointerCapture(pointerId: number): void;
|
|
104
|
+
removeAttribute(qualifiedName: string): void;
|
|
105
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
106
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
107
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
108
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
109
|
+
scroll(options?: ScrollToOptions): void;
|
|
110
|
+
scroll(x: number, y: number): void;
|
|
111
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
112
|
+
scrollBy(x: number, y: number): void;
|
|
113
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
114
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
115
|
+
scrollTo(x: number, y: number): void;
|
|
116
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
117
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
118
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
119
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
120
|
+
setHTMLUnsafe(html: string): void;
|
|
121
|
+
setPointerCapture(pointerId: number): void;
|
|
122
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
123
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
124
|
+
get textContent(): string;
|
|
125
|
+
set textContent(value: string | null);
|
|
126
|
+
readonly baseURI: string;
|
|
127
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
128
|
+
readonly firstChild: ChildNode | null;
|
|
129
|
+
readonly isConnected: boolean;
|
|
130
|
+
readonly lastChild: ChildNode | null;
|
|
131
|
+
readonly nextSibling: ChildNode | null;
|
|
132
|
+
readonly nodeName: string;
|
|
133
|
+
readonly nodeType: number;
|
|
134
|
+
nodeValue: string | null;
|
|
135
|
+
readonly parentElement: HTMLElement | null;
|
|
136
|
+
readonly parentNode: ParentNode | null;
|
|
137
|
+
readonly previousSibling: ChildNode | null;
|
|
138
|
+
appendChild<T extends Node>(node: T): T;
|
|
139
|
+
cloneNode(subtree?: boolean): Node;
|
|
140
|
+
compareDocumentPosition(other: Node): number;
|
|
141
|
+
contains(other: Node | null): boolean;
|
|
142
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
143
|
+
hasChildNodes(): boolean;
|
|
144
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
145
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
146
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
147
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
148
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
149
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
150
|
+
normalize(): void;
|
|
151
|
+
removeChild<T extends Node>(child: T): T;
|
|
152
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
153
|
+
readonly ELEMENT_NODE: 1;
|
|
154
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
155
|
+
readonly TEXT_NODE: 3;
|
|
156
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
157
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
158
|
+
readonly ENTITY_NODE: 6;
|
|
159
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
160
|
+
readonly COMMENT_NODE: 8;
|
|
161
|
+
readonly DOCUMENT_NODE: 9;
|
|
162
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
163
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
164
|
+
readonly NOTATION_NODE: 12;
|
|
165
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
166
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
167
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
168
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
169
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
170
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
171
|
+
dispatchEvent(event: Event): boolean;
|
|
172
|
+
ariaActiveDescendantElement: Element | null;
|
|
173
|
+
ariaAtomic: string | null;
|
|
174
|
+
ariaAutoComplete: string | null;
|
|
175
|
+
ariaBrailleLabel: string | null;
|
|
176
|
+
ariaBrailleRoleDescription: string | null;
|
|
177
|
+
ariaBusy: string | null;
|
|
178
|
+
ariaChecked: string | null;
|
|
179
|
+
ariaColCount: string | null;
|
|
180
|
+
ariaColIndex: string | null;
|
|
181
|
+
ariaColIndexText: string | null;
|
|
182
|
+
ariaColSpan: string | null;
|
|
183
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
184
|
+
ariaCurrent: string | null;
|
|
185
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
186
|
+
ariaDescription: string | null;
|
|
187
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
188
|
+
ariaDisabled: string | null;
|
|
189
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
190
|
+
ariaExpanded: string | null;
|
|
191
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
192
|
+
ariaHasPopup: string | null;
|
|
193
|
+
ariaHidden: string | null;
|
|
194
|
+
ariaInvalid: string | null;
|
|
195
|
+
ariaKeyShortcuts: string | null;
|
|
196
|
+
ariaLabel: string | null;
|
|
197
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
198
|
+
ariaLevel: string | null;
|
|
199
|
+
ariaLive: string | null;
|
|
200
|
+
ariaModal: string | null;
|
|
201
|
+
ariaMultiLine: string | null;
|
|
202
|
+
ariaMultiSelectable: string | null;
|
|
203
|
+
ariaOrientation: string | null;
|
|
204
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
205
|
+
ariaPlaceholder: string | null;
|
|
206
|
+
ariaPosInSet: string | null;
|
|
207
|
+
ariaPressed: string | null;
|
|
208
|
+
ariaReadOnly: string | null;
|
|
209
|
+
ariaRelevant: string | null;
|
|
210
|
+
ariaRequired: string | null;
|
|
211
|
+
ariaRoleDescription: string | null;
|
|
212
|
+
ariaRowCount: string | null;
|
|
213
|
+
ariaRowIndex: string | null;
|
|
214
|
+
ariaRowIndexText: string | null;
|
|
215
|
+
ariaRowSpan: string | null;
|
|
216
|
+
ariaSelected: string | null;
|
|
217
|
+
ariaSetSize: string | null;
|
|
218
|
+
ariaSort: string | null;
|
|
219
|
+
ariaValueMax: string | null;
|
|
220
|
+
ariaValueMin: string | null;
|
|
221
|
+
ariaValueNow: string | null;
|
|
222
|
+
ariaValueText: string | null;
|
|
223
|
+
role: string | null;
|
|
224
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
225
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
226
|
+
after(...nodes: (Node | string)[]): void;
|
|
227
|
+
before(...nodes: (Node | string)[]): void;
|
|
228
|
+
remove(): void;
|
|
229
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
230
|
+
readonly nextElementSibling: Element | null;
|
|
231
|
+
readonly previousElementSibling: Element | null;
|
|
232
|
+
readonly childElementCount: number;
|
|
233
|
+
readonly children: HTMLCollection;
|
|
234
|
+
readonly firstElementChild: Element | null;
|
|
235
|
+
readonly lastElementChild: Element | null;
|
|
236
|
+
append(...nodes: (Node | string)[]): void;
|
|
237
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
238
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
239
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
240
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
241
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
242
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
243
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
244
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
245
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
246
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
247
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
248
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
249
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
250
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
251
|
+
get style(): CSSStyleDeclaration;
|
|
252
|
+
set style(cssText: string);
|
|
253
|
+
contentEditable: string;
|
|
254
|
+
enterKeyHint: string;
|
|
255
|
+
inputMode: string;
|
|
256
|
+
readonly isContentEditable: boolean;
|
|
257
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
258
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
259
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
260
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
261
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
262
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
263
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
264
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
265
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
266
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
267
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
269
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
270
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
271
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
272
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
273
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
274
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
275
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
276
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
277
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
278
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
279
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
280
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
281
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
282
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
283
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
284
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
285
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
286
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
287
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
288
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
289
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
290
|
+
onerror: OnErrorEventHandler;
|
|
291
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
292
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
293
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
294
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
295
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
296
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
297
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
298
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
299
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
300
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
301
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
302
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
303
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
304
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
305
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
306
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
307
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
308
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
309
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
310
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
311
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
312
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
313
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
315
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
316
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
317
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
318
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
319
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
320
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
321
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
322
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
323
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
324
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
325
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
326
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
327
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
328
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
329
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
330
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
331
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
332
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
333
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
334
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
335
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
336
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
337
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
338
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
339
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
340
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
341
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
342
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
343
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
344
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
345
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
346
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
347
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
348
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
349
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
350
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
351
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
352
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
353
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
354
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
355
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
356
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
357
|
+
autofocus: boolean;
|
|
358
|
+
readonly dataset: DOMStringMap;
|
|
359
|
+
nonce?: string;
|
|
360
|
+
tabIndex: number;
|
|
361
|
+
blur(): void;
|
|
362
|
+
focus(options?: FocusOptions): void;
|
|
363
|
+
};
|
|
364
|
+
_hostListeners: {
|
|
365
|
+
[listenerName: string]: {
|
|
366
|
+
[type: string]: {
|
|
367
|
+
options?: boolean | AddEventListenerOptions;
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
} & (abstract new (...args: any[]) => {
|
|
372
|
+
_hFormdata: import("../../temp-imports/globals/internal/handle").default | null;
|
|
373
|
+
_handleFormdata(event: Event): void;
|
|
374
|
+
connectedCallback(): void;
|
|
375
|
+
disconnectedCallback(): void;
|
|
376
|
+
accessKey: string;
|
|
377
|
+
readonly accessKeyLabel: string;
|
|
378
|
+
autocapitalize: string;
|
|
379
|
+
autocorrect: boolean;
|
|
380
|
+
dir: string;
|
|
381
|
+
draggable: boolean;
|
|
382
|
+
hidden: boolean;
|
|
383
|
+
inert: boolean;
|
|
384
|
+
innerText: string;
|
|
385
|
+
lang: string;
|
|
386
|
+
readonly offsetHeight: number;
|
|
387
|
+
readonly offsetLeft: number;
|
|
388
|
+
readonly offsetParent: Element | null;
|
|
389
|
+
readonly offsetTop: number;
|
|
390
|
+
readonly offsetWidth: number;
|
|
391
|
+
outerText: string;
|
|
392
|
+
popover: string | null;
|
|
393
|
+
spellcheck: boolean;
|
|
394
|
+
title: string;
|
|
395
|
+
translate: boolean;
|
|
396
|
+
writingSuggestions: string;
|
|
397
|
+
attachInternals(): ElementInternals;
|
|
398
|
+
click(): void;
|
|
399
|
+
hidePopover(): void;
|
|
400
|
+
showPopover(): void;
|
|
401
|
+
togglePopover(options?: boolean): boolean;
|
|
402
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
403
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
404
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
405
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
406
|
+
readonly attributes: NamedNodeMap;
|
|
407
|
+
get classList(): DOMTokenList;
|
|
408
|
+
set classList(value: string);
|
|
409
|
+
className: string;
|
|
410
|
+
readonly clientHeight: number;
|
|
411
|
+
readonly clientLeft: number;
|
|
412
|
+
readonly clientTop: number;
|
|
413
|
+
readonly clientWidth: number;
|
|
414
|
+
readonly currentCSSZoom: number;
|
|
415
|
+
id: string;
|
|
416
|
+
innerHTML: string;
|
|
417
|
+
readonly localName: string;
|
|
418
|
+
readonly namespaceURI: string | null;
|
|
419
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
420
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
421
|
+
outerHTML: string;
|
|
422
|
+
readonly ownerDocument: Document;
|
|
423
|
+
get part(): DOMTokenList;
|
|
424
|
+
set part(value: string);
|
|
425
|
+
readonly prefix: string | null;
|
|
426
|
+
readonly scrollHeight: number;
|
|
427
|
+
scrollLeft: number;
|
|
428
|
+
scrollTop: number;
|
|
429
|
+
readonly scrollWidth: number;
|
|
430
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
431
|
+
slot: string;
|
|
432
|
+
readonly tagName: string;
|
|
433
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
434
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
435
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
436
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
437
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
438
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
439
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
440
|
+
getAttribute(qualifiedName: string): string | null;
|
|
441
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
442
|
+
getAttributeNames(): string[];
|
|
443
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
444
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
445
|
+
getBoundingClientRect(): DOMRect;
|
|
446
|
+
getClientRects(): DOMRectList;
|
|
447
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
448
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
449
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
450
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
451
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
452
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
453
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
454
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
455
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
456
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
457
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
458
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
459
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
460
|
+
hasAttributes(): boolean;
|
|
461
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
462
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
463
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
464
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
465
|
+
matches(selectors: string): boolean;
|
|
466
|
+
releasePointerCapture(pointerId: number): void;
|
|
467
|
+
removeAttribute(qualifiedName: string): void;
|
|
468
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
469
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
470
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
471
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
472
|
+
scroll(options?: ScrollToOptions): void;
|
|
473
|
+
scroll(x: number, y: number): void;
|
|
474
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
475
|
+
scrollBy(x: number, y: number): void;
|
|
476
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
477
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
478
|
+
scrollTo(x: number, y: number): void;
|
|
479
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
480
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
481
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
482
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
483
|
+
setHTMLUnsafe(html: string): void;
|
|
484
|
+
setPointerCapture(pointerId: number): void;
|
|
485
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
486
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
487
|
+
get textContent(): string;
|
|
488
|
+
set textContent(value: string | null);
|
|
489
|
+
readonly baseURI: string;
|
|
490
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
491
|
+
readonly firstChild: ChildNode | null;
|
|
492
|
+
readonly isConnected: boolean;
|
|
493
|
+
readonly lastChild: ChildNode | null;
|
|
494
|
+
readonly nextSibling: ChildNode | null;
|
|
495
|
+
readonly nodeName: string;
|
|
496
|
+
readonly nodeType: number;
|
|
497
|
+
nodeValue: string | null;
|
|
498
|
+
readonly parentElement: HTMLElement | null;
|
|
499
|
+
readonly parentNode: ParentNode | null;
|
|
500
|
+
readonly previousSibling: ChildNode | null;
|
|
501
|
+
appendChild<T extends Node>(node: T): T;
|
|
502
|
+
cloneNode(subtree?: boolean): Node;
|
|
503
|
+
compareDocumentPosition(other: Node): number;
|
|
504
|
+
contains(other: Node | null): boolean;
|
|
505
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
506
|
+
hasChildNodes(): boolean;
|
|
507
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
508
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
509
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
510
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
511
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
512
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
513
|
+
normalize(): void;
|
|
514
|
+
removeChild<T extends Node>(child: T): T;
|
|
515
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
516
|
+
readonly ELEMENT_NODE: 1;
|
|
517
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
518
|
+
readonly TEXT_NODE: 3;
|
|
519
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
520
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
521
|
+
readonly ENTITY_NODE: 6;
|
|
522
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
523
|
+
readonly COMMENT_NODE: 8;
|
|
524
|
+
readonly DOCUMENT_NODE: 9;
|
|
525
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
526
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
527
|
+
readonly NOTATION_NODE: 12;
|
|
528
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
529
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
530
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
531
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
532
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
533
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
534
|
+
dispatchEvent(event: Event): boolean;
|
|
535
|
+
ariaActiveDescendantElement: Element | null;
|
|
536
|
+
ariaAtomic: string | null;
|
|
537
|
+
ariaAutoComplete: string | null;
|
|
538
|
+
ariaBrailleLabel: string | null;
|
|
539
|
+
ariaBrailleRoleDescription: string | null;
|
|
540
|
+
ariaBusy: string | null;
|
|
541
|
+
ariaChecked: string | null;
|
|
542
|
+
ariaColCount: string | null;
|
|
543
|
+
ariaColIndex: string | null;
|
|
544
|
+
ariaColIndexText: string | null;
|
|
545
|
+
ariaColSpan: string | null;
|
|
546
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
547
|
+
ariaCurrent: string | null;
|
|
548
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
549
|
+
ariaDescription: string | null;
|
|
550
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
551
|
+
ariaDisabled: string | null;
|
|
552
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
553
|
+
ariaExpanded: string | null;
|
|
554
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
555
|
+
ariaHasPopup: string | null;
|
|
556
|
+
ariaHidden: string | null;
|
|
557
|
+
ariaInvalid: string | null;
|
|
558
|
+
ariaKeyShortcuts: string | null;
|
|
559
|
+
ariaLabel: string | null;
|
|
560
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
561
|
+
ariaLevel: string | null;
|
|
562
|
+
ariaLive: string | null;
|
|
563
|
+
ariaModal: string | null;
|
|
564
|
+
ariaMultiLine: string | null;
|
|
565
|
+
ariaMultiSelectable: string | null;
|
|
566
|
+
ariaOrientation: string | null;
|
|
567
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
568
|
+
ariaPlaceholder: string | null;
|
|
569
|
+
ariaPosInSet: string | null;
|
|
570
|
+
ariaPressed: string | null;
|
|
571
|
+
ariaReadOnly: string | null;
|
|
572
|
+
ariaRelevant: string | null;
|
|
573
|
+
ariaRequired: string | null;
|
|
574
|
+
ariaRoleDescription: string | null;
|
|
575
|
+
ariaRowCount: string | null;
|
|
576
|
+
ariaRowIndex: string | null;
|
|
577
|
+
ariaRowIndexText: string | null;
|
|
578
|
+
ariaRowSpan: string | null;
|
|
579
|
+
ariaSelected: string | null;
|
|
580
|
+
ariaSetSize: string | null;
|
|
581
|
+
ariaSort: string | null;
|
|
582
|
+
ariaValueMax: string | null;
|
|
583
|
+
ariaValueMin: string | null;
|
|
584
|
+
ariaValueNow: string | null;
|
|
585
|
+
ariaValueText: string | null;
|
|
586
|
+
role: string | null;
|
|
587
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
588
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
589
|
+
after(...nodes: (Node | string)[]): void;
|
|
590
|
+
before(...nodes: (Node | string)[]): void;
|
|
591
|
+
remove(): void;
|
|
592
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
593
|
+
readonly nextElementSibling: Element | null;
|
|
594
|
+
readonly previousElementSibling: Element | null;
|
|
595
|
+
readonly childElementCount: number;
|
|
596
|
+
readonly children: HTMLCollection;
|
|
597
|
+
readonly firstElementChild: Element | null;
|
|
598
|
+
readonly lastElementChild: Element | null;
|
|
599
|
+
append(...nodes: (Node | string)[]): void;
|
|
600
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
601
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
602
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
603
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
604
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
605
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
606
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
607
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
608
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
609
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
610
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
611
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
612
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
613
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
614
|
+
get style(): CSSStyleDeclaration;
|
|
615
|
+
set style(cssText: string);
|
|
616
|
+
contentEditable: string;
|
|
617
|
+
enterKeyHint: string;
|
|
618
|
+
inputMode: string;
|
|
619
|
+
readonly isContentEditable: boolean;
|
|
620
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
621
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
622
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
623
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
624
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
625
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
626
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
627
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
628
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
629
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
630
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
631
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
632
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
633
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
634
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
635
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
636
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
637
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
638
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
639
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
640
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
641
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
642
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
643
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
644
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
645
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
646
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
647
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
648
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
649
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
650
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
651
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
652
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
653
|
+
onerror: OnErrorEventHandler;
|
|
654
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
655
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
656
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
657
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
658
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
659
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
660
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
661
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
662
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
663
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
664
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
665
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
666
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
667
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
668
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
669
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
670
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
671
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
672
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
673
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
674
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
675
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
676
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
677
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
678
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
679
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
680
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
681
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
682
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
683
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
684
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
685
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
686
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
687
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
688
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
689
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
690
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
691
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
692
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
693
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
694
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
695
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
696
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
697
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
698
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
699
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
700
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
701
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
702
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
703
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
704
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
705
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
706
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
707
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
708
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
709
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
710
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
711
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
712
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
713
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
714
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
715
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
716
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
717
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
718
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
719
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
720
|
+
autofocus: boolean;
|
|
721
|
+
readonly dataset: DOMStringMap;
|
|
722
|
+
nonce?: string;
|
|
723
|
+
tabIndex: number;
|
|
724
|
+
blur(): void;
|
|
725
|
+
focus(options?: FocusOptions): void;
|
|
726
|
+
}) & typeof LitElement;
|
|
727
|
+
/**
|
|
728
|
+
* Date picker.
|
|
729
|
+
*
|
|
730
|
+
* @element cds-date-picker
|
|
731
|
+
* @fires cds-date-picker-changed - The custom event fired when the date selection changes.
|
|
732
|
+
* @fires cds-date-picker-error - The custom event fired when an error occurs.
|
|
733
|
+
*/
|
|
734
|
+
declare class CDSDatePicker extends CDSDatePicker_base {
|
|
735
|
+
/**
|
|
736
|
+
* The slotted `<cds-date-input kind="from">`.
|
|
737
|
+
*/
|
|
738
|
+
private _dateInteractNode;
|
|
739
|
+
/**
|
|
740
|
+
* The internal placeholder for the `value` property.
|
|
741
|
+
*/
|
|
742
|
+
private _value;
|
|
743
|
+
/**
|
|
744
|
+
* The adapter for Web Component integration.
|
|
745
|
+
*/
|
|
746
|
+
private _adapter;
|
|
747
|
+
/**
|
|
748
|
+
* Timestamp of when calendar was last closed via Tab key
|
|
749
|
+
*/
|
|
750
|
+
private _lastTabCloseTime;
|
|
751
|
+
/**
|
|
752
|
+
* @returns The effective date picker mode, determined by the child `<cds-date-picker-input>`.
|
|
753
|
+
*/
|
|
754
|
+
private get _mode();
|
|
755
|
+
/**
|
|
756
|
+
* Handles `${prefix}-date-picker-changed` event on this element.
|
|
757
|
+
*
|
|
758
|
+
* @param {CustomEvent} root0 - The event object
|
|
759
|
+
* @param {object} root0.detail - The event detail
|
|
760
|
+
*/
|
|
761
|
+
private _handleChange;
|
|
762
|
+
/**
|
|
763
|
+
* Handles calendar icon click event from date-picker-input
|
|
764
|
+
*
|
|
765
|
+
* @param {CustomEvent} _event - The icon click event
|
|
766
|
+
*/
|
|
767
|
+
private _handleIconClick;
|
|
768
|
+
/**
|
|
769
|
+
* Handles input focus event from date-picker-input
|
|
770
|
+
*
|
|
771
|
+
* @param {CustomEvent} event - The focus event
|
|
772
|
+
*/
|
|
773
|
+
private _handleInputFocus;
|
|
774
|
+
/**
|
|
775
|
+
* Handles input blur event from date-picker-input
|
|
776
|
+
*
|
|
777
|
+
* @param {CustomEvent} event - The blur event
|
|
778
|
+
*/
|
|
779
|
+
private _handleInputBlur;
|
|
780
|
+
/**
|
|
781
|
+
* Handles form data event
|
|
782
|
+
*
|
|
783
|
+
* @param {FormDataEvent} event - The form data event
|
|
784
|
+
*/
|
|
785
|
+
_handleFormdata(event: FormDataEvent): void;
|
|
786
|
+
/**
|
|
787
|
+
* Handles `slotchange` event in the `<slot>`.
|
|
788
|
+
*
|
|
789
|
+
* @param {Event} root0 - The event object
|
|
790
|
+
* @param {EventTarget} root0.target - The event target
|
|
791
|
+
*/
|
|
792
|
+
private _handleSlotChange;
|
|
793
|
+
/**
|
|
794
|
+
* Handles state machine state changes
|
|
795
|
+
*
|
|
796
|
+
* @param {StateTransition} transition - The state transition
|
|
797
|
+
* @param {DatePickerState} transition.from - Previous state
|
|
798
|
+
* @param {DatePickerState} transition.to - New state
|
|
799
|
+
* @param {DatePickerContext} transition.context - Current context
|
|
800
|
+
*/
|
|
801
|
+
private _handleStateChange;
|
|
802
|
+
/**
|
|
803
|
+
* Handles calendar date selection
|
|
804
|
+
*
|
|
805
|
+
* @param {CustomEvent} event - The date select event
|
|
806
|
+
*/
|
|
807
|
+
private _handleCalendarDateSelect;
|
|
808
|
+
/**
|
|
809
|
+
* Handles calendar month change
|
|
810
|
+
*
|
|
811
|
+
* @param {CustomEvent} event - The month change event
|
|
812
|
+
*/
|
|
813
|
+
private _handleCalendarMonthChange;
|
|
814
|
+
/**
|
|
815
|
+
* Show the calendar popover using Popover API
|
|
816
|
+
*/
|
|
817
|
+
private _showCalendarPopover;
|
|
818
|
+
/**
|
|
819
|
+
* Hide the calendar popover using Popover API
|
|
820
|
+
*/
|
|
821
|
+
private _hideCalendarPopover;
|
|
822
|
+
/**
|
|
823
|
+
* Initializes the date picker with a state machine.
|
|
824
|
+
*/
|
|
825
|
+
private _initializeDatePicker;
|
|
826
|
+
/**
|
|
827
|
+
* Releases the date picker state machine.
|
|
828
|
+
*/
|
|
829
|
+
private _releaseDatePicker;
|
|
830
|
+
/**
|
|
831
|
+
* Allows the user to enter a date directly into the input field
|
|
832
|
+
*/
|
|
833
|
+
allowInput: boolean;
|
|
834
|
+
/**
|
|
835
|
+
* Controls whether the calendar dropdown closes upon selection.
|
|
836
|
+
*/
|
|
837
|
+
closeOnSelect: boolean;
|
|
838
|
+
/**
|
|
839
|
+
* The date format.
|
|
840
|
+
*/
|
|
841
|
+
dateFormat: string;
|
|
842
|
+
/**
|
|
843
|
+
* Controls the disabled state of the input
|
|
844
|
+
*/
|
|
845
|
+
disabled: boolean;
|
|
846
|
+
/**
|
|
847
|
+
* The date range that a user can pick in calendar dropdown.
|
|
848
|
+
*/
|
|
849
|
+
enabledRange: string;
|
|
850
|
+
/**
|
|
851
|
+
* The maximum date that a user can start picking from.
|
|
852
|
+
*/
|
|
853
|
+
maxDate: string;
|
|
854
|
+
/**
|
|
855
|
+
* The minimum date that a user can start picking from.
|
|
856
|
+
*/
|
|
857
|
+
minDate: string;
|
|
858
|
+
/**
|
|
859
|
+
* Name for the input in the `FormData`
|
|
860
|
+
*/
|
|
861
|
+
name: string;
|
|
862
|
+
/**
|
|
863
|
+
* `true` if the date picker should be open.
|
|
864
|
+
*/
|
|
865
|
+
open: boolean;
|
|
866
|
+
/**
|
|
867
|
+
* Specify if the component should be read-only
|
|
868
|
+
*/
|
|
869
|
+
readonly: boolean;
|
|
870
|
+
/**
|
|
871
|
+
* The date(s) in ISO8601 format (date portion only), for range mode, '/' is used for separate start/end dates.
|
|
872
|
+
*/
|
|
873
|
+
get value(): string;
|
|
874
|
+
/**
|
|
875
|
+
* Sets the value
|
|
876
|
+
*
|
|
877
|
+
* @param {string} value - The new value
|
|
878
|
+
*/
|
|
879
|
+
set value(value: string);
|
|
880
|
+
/**
|
|
881
|
+
* Handle clicks outside the date picker to close the calendar
|
|
882
|
+
*
|
|
883
|
+
* @param {MouseEvent} event - The click event
|
|
884
|
+
*/
|
|
885
|
+
private _handleOutsideClick;
|
|
886
|
+
/**
|
|
887
|
+
* Handle keyboard events for calendar navigation
|
|
888
|
+
*
|
|
889
|
+
* @param {KeyboardEvent} event - The keyboard event
|
|
890
|
+
*/
|
|
891
|
+
private _handleKeyDown;
|
|
892
|
+
/**
|
|
893
|
+
* Find and focus the next tabbable element after the date picker
|
|
894
|
+
* @param {boolean} backwards - Whether to tab backwards (Shift+Tab)
|
|
895
|
+
*/
|
|
896
|
+
private _focusNextElement;
|
|
897
|
+
/**
|
|
898
|
+
* Lifecycle callback when element is connected
|
|
899
|
+
*/
|
|
900
|
+
connectedCallback(): void;
|
|
901
|
+
/**
|
|
902
|
+
* Lifecycle callback when element is disconnected
|
|
903
|
+
*/
|
|
904
|
+
disconnectedCallback(): void;
|
|
905
|
+
/**
|
|
906
|
+
* Lifecycle callback when properties change
|
|
907
|
+
*
|
|
908
|
+
* @param {Map<string, any>} changedProperties - Map of changed properties
|
|
909
|
+
*/
|
|
910
|
+
updated(changedProperties: Map<string, any>): void;
|
|
911
|
+
/**
|
|
912
|
+
* Renders the component
|
|
913
|
+
*/
|
|
914
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
915
|
+
/**
|
|
916
|
+
* The CSS class for the calendar dropdown.
|
|
917
|
+
*/
|
|
918
|
+
static get classCalendarContainer(): string;
|
|
919
|
+
/**
|
|
920
|
+
* The CSS class for the month navigator.
|
|
921
|
+
*/
|
|
922
|
+
static get classMonth(): string;
|
|
923
|
+
/**
|
|
924
|
+
* The CSS class for the container of the weekdays.
|
|
925
|
+
*/
|
|
926
|
+
static get classWeekdays(): string;
|
|
927
|
+
/**
|
|
928
|
+
* The CSS class for the container of the days.
|
|
929
|
+
*/
|
|
930
|
+
static get classDays(): string;
|
|
931
|
+
/**
|
|
932
|
+
* The CSS class applied to each weekdays.
|
|
933
|
+
*/
|
|
934
|
+
static get classWeekday(): string;
|
|
935
|
+
/**
|
|
936
|
+
* The CSS class applied to each days.
|
|
937
|
+
*/
|
|
938
|
+
static get classDay(): string;
|
|
939
|
+
/**
|
|
940
|
+
* The CSS class applied to the "today" highlight if there are any dates selected.
|
|
941
|
+
*/
|
|
942
|
+
static classNoBorder: string;
|
|
943
|
+
/**
|
|
944
|
+
* The default date format.
|
|
945
|
+
*/
|
|
946
|
+
static defaultDateFormat: string;
|
|
947
|
+
/**
|
|
948
|
+
* A selector that will return the `<input>` to enter starting date.
|
|
949
|
+
*/
|
|
950
|
+
static get selectorInputFrom(): string;
|
|
951
|
+
/**
|
|
952
|
+
* A selector that will return the `<input>` to enter end date.
|
|
953
|
+
*/
|
|
954
|
+
static get selectorInputTo(): string;
|
|
955
|
+
/**
|
|
956
|
+
* The name of the custom event when an error occurs.
|
|
957
|
+
*/
|
|
958
|
+
static get eventError(): string;
|
|
959
|
+
/**
|
|
960
|
+
* The name of the custom event fired when the date selection changes.
|
|
961
|
+
*/
|
|
962
|
+
static get eventChange(): string;
|
|
963
|
+
/**
|
|
964
|
+
* The name of the custom event fired when the calendar icon is clicked.
|
|
965
|
+
*/
|
|
966
|
+
static get eventIconClick(): string;
|
|
967
|
+
/**
|
|
968
|
+
* The name of the custom event fired when an input receives focus.
|
|
969
|
+
*/
|
|
970
|
+
static get eventInputFocus(): string;
|
|
971
|
+
/**
|
|
972
|
+
* The name of the custom event fired when an input loses focus.
|
|
973
|
+
*/
|
|
974
|
+
static get eventInputBlur(): string;
|
|
975
|
+
static styles: any;
|
|
976
|
+
}
|
|
977
|
+
export default CDSDatePicker;
|