@descope/web-component 0.0.0-custom-screens.1
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 +21 -0
- package/README.md +166 -0
- package/dist/cjs/constants/content.js +1 -0
- package/dist/cjs/constants/general.js +1 -0
- package/dist/cjs/constants/index.js +1 -0
- package/dist/cjs/constants/uiComponents.js +1 -0
- package/dist/cjs/debugger-wc.js +1 -0
- package/dist/cjs/descope-wc/BaseDescopeWc.js +1 -0
- package/dist/cjs/descope-wc/DescopeWc.js +1 -0
- package/dist/cjs/descope-wc/index.js +1 -0
- package/dist/cjs/descope-wc/initTemplate.js +1 -0
- package/dist/cjs/descope-wc/sdkScripts/fingerprint.js +1 -0
- package/dist/cjs/descope-wc/sdkScripts/fingerprintDescope.js +1 -0
- package/dist/cjs/descope-wc/sdkScripts/forter.js +1 -0
- package/dist/cjs/descope-wc/sdkScripts/index.js +1 -0
- package/dist/cjs/helpers/abTestingKey.js +1 -0
- package/dist/cjs/helpers/conditions.js +1 -0
- package/dist/cjs/helpers/flowInputs.js +1 -0
- package/dist/cjs/helpers/helpers.js +1 -0
- package/dist/cjs/helpers/lastAuth.js +1 -0
- package/dist/cjs/helpers/positionHelpers.js +1 -0
- package/dist/cjs/helpers/state.js +1 -0
- package/dist/cjs/helpers/templates.js +1 -0
- package/dist/cjs/helpers/webauthn.js +1 -0
- package/dist/cjs/mixins/formMountMixin.js +1 -0
- package/dist/cjs/types.js +1 -0
- package/dist/esm/constants/content.js +1 -0
- package/dist/esm/constants/general.js +1 -0
- package/dist/esm/constants/index.js +1 -0
- package/dist/esm/constants/uiComponents.js +1 -0
- package/dist/esm/debugger-wc.js +1 -0
- package/dist/esm/descope-wc/BaseDescopeWc.js +1 -0
- package/dist/esm/descope-wc/DescopeWc.js +1 -0
- package/dist/esm/descope-wc/index.js +1 -0
- package/dist/esm/descope-wc/initTemplate.js +1 -0
- package/dist/esm/descope-wc/sdkScripts/fingerprint.js +1 -0
- package/dist/esm/descope-wc/sdkScripts/fingerprintDescope.js +1 -0
- package/dist/esm/descope-wc/sdkScripts/forter.js +1 -0
- package/dist/esm/descope-wc/sdkScripts/index.js +1 -0
- package/dist/esm/helpers/abTestingKey.js +1 -0
- package/dist/esm/helpers/conditions.js +1 -0
- package/dist/esm/helpers/flowInputs.js +1 -0
- package/dist/esm/helpers/helpers.js +1 -0
- package/dist/esm/helpers/lastAuth.js +1 -0
- package/dist/esm/helpers/positionHelpers.js +1 -0
- package/dist/esm/helpers/state.js +1 -0
- package/dist/esm/helpers/templates.js +1 -0
- package/dist/esm/helpers/webauthn.js +1 -0
- package/dist/esm/mixins/formMountMixin.js +1 -0
- package/dist/esm/types.js +1 -0
- package/dist/index.d.ts +1365 -0
- package/dist/index.js +3 -0
- package/package.json +86 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1365 @@
|
|
|
1
|
+
import createSdk from '@descope/web-js-sdk';
|
|
2
|
+
import * as _descope_sdk_mixins_static_resources_mixin from '@descope/sdk-mixins/static-resources-mixin';
|
|
3
|
+
|
|
4
|
+
type SdkConfig = Parameters<typeof createSdk>[0];
|
|
5
|
+
type Sdk = ReturnType<typeof createSdk>;
|
|
6
|
+
type SdkFlowNext = Sdk['flow']['next'];
|
|
7
|
+
type ComponentsConfig = Record<string, any>;
|
|
8
|
+
type CssVars = Record<string, any>;
|
|
9
|
+
type KeepArgsByIndex<F, Indices extends readonly number[]> = F extends (...args: infer A) => infer R ? (...args: PickArgsByIndex<A, Indices>) => R : never;
|
|
10
|
+
type PickArgsByIndex<All extends readonly any[], Indices extends readonly number[]> = {
|
|
11
|
+
[K in keyof Indices]: Indices[K] extends keyof All ? All[Indices[K]] : never;
|
|
12
|
+
};
|
|
13
|
+
declare enum Direction {
|
|
14
|
+
backward = "backward",
|
|
15
|
+
forward = "forward"
|
|
16
|
+
}
|
|
17
|
+
interface LastAuthState {
|
|
18
|
+
loginId?: string;
|
|
19
|
+
name?: string;
|
|
20
|
+
}
|
|
21
|
+
interface ScreenState {
|
|
22
|
+
errorText?: string;
|
|
23
|
+
errorType?: string;
|
|
24
|
+
componentsConfig?: ComponentsConfig;
|
|
25
|
+
cssVars?: CssVars;
|
|
26
|
+
form?: Record<string, string>;
|
|
27
|
+
inputs?: Record<string, string>;
|
|
28
|
+
lastAuth?: LastAuthState;
|
|
29
|
+
totp?: {
|
|
30
|
+
image?: string;
|
|
31
|
+
provisionUrl?: string;
|
|
32
|
+
};
|
|
33
|
+
notp?: {
|
|
34
|
+
image?: string;
|
|
35
|
+
redirectUrl?: string;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
type SSOQueryParams = {
|
|
39
|
+
oidcIdpStateId?: string;
|
|
40
|
+
samlIdpStateId?: string;
|
|
41
|
+
samlIdpUsername?: string;
|
|
42
|
+
descopeIdpInitiated?: boolean;
|
|
43
|
+
ssoAppId?: string;
|
|
44
|
+
thirdPartyAppId: string;
|
|
45
|
+
thirdPartyAppStateId?: string;
|
|
46
|
+
applicationScopes?: string;
|
|
47
|
+
} & OIDCOptions;
|
|
48
|
+
type OIDCOptions = {
|
|
49
|
+
oidcLoginHint?: string;
|
|
50
|
+
oidcPrompt?: string;
|
|
51
|
+
oidcErrorRedirectUri?: string;
|
|
52
|
+
};
|
|
53
|
+
type FlowState = {
|
|
54
|
+
flowId: string;
|
|
55
|
+
projectId: string;
|
|
56
|
+
baseUrl: string;
|
|
57
|
+
tenant: string;
|
|
58
|
+
stepId: string;
|
|
59
|
+
executionId: string;
|
|
60
|
+
action: string;
|
|
61
|
+
redirectTo: string;
|
|
62
|
+
openInNewTabUrl?: string;
|
|
63
|
+
redirectUrl: string;
|
|
64
|
+
screenId: string;
|
|
65
|
+
screenState: ScreenState;
|
|
66
|
+
token: string;
|
|
67
|
+
code: string;
|
|
68
|
+
exchangeError: string;
|
|
69
|
+
webauthnTransactionId: string;
|
|
70
|
+
webauthnOptions: string;
|
|
71
|
+
redirectAuthCodeChallenge: string;
|
|
72
|
+
redirectAuthCallbackUrl: string;
|
|
73
|
+
redirectAuthBackupCallbackUri: string;
|
|
74
|
+
redirectAuthInitiator: string;
|
|
75
|
+
deferredRedirect: boolean;
|
|
76
|
+
locale: string;
|
|
77
|
+
samlIdpResponseUrl: string;
|
|
78
|
+
samlIdpResponseSamlResponse: string;
|
|
79
|
+
samlIdpResponseRelayState: string;
|
|
80
|
+
nativeResponseType: string;
|
|
81
|
+
nativePayload: Record<string, any>;
|
|
82
|
+
} & SSOQueryParams;
|
|
83
|
+
type StepState = {
|
|
84
|
+
screenState: ScreenState;
|
|
85
|
+
htmlFilename: string;
|
|
86
|
+
htmlLocaleFilename: string;
|
|
87
|
+
next: NextFn;
|
|
88
|
+
direction: Direction | undefined;
|
|
89
|
+
samlIdpUsername: string;
|
|
90
|
+
openInNewTabUrl?: string;
|
|
91
|
+
} & OIDCOptions;
|
|
92
|
+
type NextFn = KeepArgsByIndex<SdkFlowNext, [2, 5]>;
|
|
93
|
+
type FlowStateUpdateFn = (state: FlowState) => void;
|
|
94
|
+
type Operator = 'equal' | 'not-equal' | 'contains' | 'greater-than' | 'less-than' | 'empty' | 'not-empty' | 'is-true' | 'is-false' | 'in' | 'not-in';
|
|
95
|
+
interface ClientConditionResult {
|
|
96
|
+
screenId: string;
|
|
97
|
+
interactionId: string;
|
|
98
|
+
}
|
|
99
|
+
interface ClientCondition {
|
|
100
|
+
operator: Operator;
|
|
101
|
+
key: string;
|
|
102
|
+
predicate?: string | number;
|
|
103
|
+
met: ClientConditionResult;
|
|
104
|
+
unmet?: ClientConditionResult;
|
|
105
|
+
}
|
|
106
|
+
type AutoFocusOptions = true | false | 'skipFirstScreen';
|
|
107
|
+
type ThemeOptions = 'light' | 'dark' | 'os';
|
|
108
|
+
type DescopeUI = Record<string, () => Promise<void>> & {
|
|
109
|
+
componentsThemeManager: Record<string, any>;
|
|
110
|
+
};
|
|
111
|
+
type Font = {
|
|
112
|
+
family: string[];
|
|
113
|
+
label: string;
|
|
114
|
+
url?: string;
|
|
115
|
+
};
|
|
116
|
+
type ThemeTemplate = {
|
|
117
|
+
fonts: {
|
|
118
|
+
font1: Font;
|
|
119
|
+
font2: Font;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
type FlowConfig = {
|
|
123
|
+
startScreenId?: string;
|
|
124
|
+
version: number;
|
|
125
|
+
targetLocales?: string[];
|
|
126
|
+
conditions?: ClientCondition[];
|
|
127
|
+
condition?: ClientCondition;
|
|
128
|
+
fingerprintEnabled?: boolean;
|
|
129
|
+
fingerprintKey?: string;
|
|
130
|
+
sdkScripts?: [
|
|
131
|
+
{
|
|
132
|
+
id: string;
|
|
133
|
+
initArgs: Record<string, any>;
|
|
134
|
+
resultKey?: string;
|
|
135
|
+
}
|
|
136
|
+
];
|
|
137
|
+
};
|
|
138
|
+
interface ProjectConfiguration {
|
|
139
|
+
componentsVersion: string;
|
|
140
|
+
cssTemplate: {
|
|
141
|
+
dark: ThemeTemplate;
|
|
142
|
+
light: ThemeTemplate;
|
|
143
|
+
};
|
|
144
|
+
flows: {
|
|
145
|
+
[key: string]: FlowConfig;
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
type FlowStatus = 'loading' | 'error' | 'success' | 'ready' | 'initial';
|
|
149
|
+
|
|
150
|
+
declare const createIsChanged: <T extends Record<string, any>>(state: T, prevState: T) => (attrName: keyof T) => boolean;
|
|
151
|
+
|
|
152
|
+
type StateObject = Record<string, any>;
|
|
153
|
+
type SubscribeCb<T> = (state: T, prevState: T, isChanged: ReturnType<typeof createIsChanged>) => void | Promise<void>;
|
|
154
|
+
type UpdateStateCb<T> = (state: T) => Partial<T>;
|
|
155
|
+
type IsChanged<T> = Parameters<SubscribeCb<T>>[2];
|
|
156
|
+
declare class State<T extends StateObject> {
|
|
157
|
+
#private;
|
|
158
|
+
constructor(init?: T, { updateOnlyOnChange }?: {
|
|
159
|
+
updateOnlyOnChange?: boolean;
|
|
160
|
+
});
|
|
161
|
+
get current(): T;
|
|
162
|
+
update: (newState: Partial<T> | UpdateStateCb<T>) => void;
|
|
163
|
+
subscribe(cb: SubscribeCb<T>): string;
|
|
164
|
+
unsubscribe(token: string): boolean;
|
|
165
|
+
unsubscribeAll(): boolean;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
declare const BaseClass: {
|
|
169
|
+
new (...params: any[]): {
|
|
170
|
+
"__#7@#shouldMountInFormEle"(): boolean;
|
|
171
|
+
"__#7@#handleOuterForm"(): void;
|
|
172
|
+
connectedCallback(): void;
|
|
173
|
+
accessKey: string;
|
|
174
|
+
readonly accessKeyLabel: string;
|
|
175
|
+
autocapitalize: string;
|
|
176
|
+
dir: string;
|
|
177
|
+
draggable: boolean;
|
|
178
|
+
hidden: boolean;
|
|
179
|
+
inert: boolean;
|
|
180
|
+
innerText: string;
|
|
181
|
+
lang: string;
|
|
182
|
+
readonly offsetHeight: number;
|
|
183
|
+
readonly offsetLeft: number;
|
|
184
|
+
readonly offsetParent: Element;
|
|
185
|
+
readonly offsetTop: number;
|
|
186
|
+
readonly offsetWidth: number;
|
|
187
|
+
outerText: string;
|
|
188
|
+
popover: string;
|
|
189
|
+
spellcheck: boolean;
|
|
190
|
+
title: string;
|
|
191
|
+
translate: boolean;
|
|
192
|
+
attachInternals(): ElementInternals;
|
|
193
|
+
click(): void;
|
|
194
|
+
hidePopover(): void;
|
|
195
|
+
showPopover(): void;
|
|
196
|
+
togglePopover(force?: boolean): boolean;
|
|
197
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
198
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
199
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
200
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
201
|
+
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
202
|
+
readonly attributes: NamedNodeMap;
|
|
203
|
+
readonly classList: DOMTokenList;
|
|
204
|
+
className: string;
|
|
205
|
+
readonly clientHeight: number;
|
|
206
|
+
readonly clientLeft: number;
|
|
207
|
+
readonly clientTop: number;
|
|
208
|
+
readonly clientWidth: number;
|
|
209
|
+
id: string;
|
|
210
|
+
readonly localName: string;
|
|
211
|
+
readonly namespaceURI: string;
|
|
212
|
+
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
213
|
+
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
214
|
+
outerHTML: string;
|
|
215
|
+
readonly ownerDocument: Document;
|
|
216
|
+
readonly part: DOMTokenList;
|
|
217
|
+
readonly prefix: string;
|
|
218
|
+
readonly scrollHeight: number;
|
|
219
|
+
scrollLeft: number;
|
|
220
|
+
scrollTop: number;
|
|
221
|
+
readonly scrollWidth: number;
|
|
222
|
+
readonly shadowRoot: ShadowRoot;
|
|
223
|
+
slot: string;
|
|
224
|
+
readonly tagName: string;
|
|
225
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
226
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
227
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
228
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
229
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
|
230
|
+
closest<E extends Element = Element>(selectors: string): E;
|
|
231
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
232
|
+
getAttribute(qualifiedName: string): string;
|
|
233
|
+
getAttributeNS(namespace: string, localName: string): string;
|
|
234
|
+
getAttributeNames(): string[];
|
|
235
|
+
getAttributeNode(qualifiedName: string): Attr;
|
|
236
|
+
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
237
|
+
getBoundingClientRect(): DOMRect;
|
|
238
|
+
getClientRects(): DOMRectList;
|
|
239
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
240
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
241
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
242
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
243
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
244
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
245
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
246
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
247
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
248
|
+
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
249
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
250
|
+
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
251
|
+
hasAttributes(): boolean;
|
|
252
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
253
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
254
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
255
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
256
|
+
matches(selectors: string): boolean;
|
|
257
|
+
releasePointerCapture(pointerId: number): void;
|
|
258
|
+
removeAttribute(qualifiedName: string): void;
|
|
259
|
+
removeAttributeNS(namespace: string, localName: string): void;
|
|
260
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
261
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
262
|
+
requestPointerLock(): void;
|
|
263
|
+
scroll(options?: ScrollToOptions): void;
|
|
264
|
+
scroll(x: number, y: number): void;
|
|
265
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
266
|
+
scrollBy(x: number, y: number): void;
|
|
267
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
268
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
269
|
+
scrollTo(x: number, y: number): void;
|
|
270
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
271
|
+
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
272
|
+
setAttributeNode(attr: Attr): Attr;
|
|
273
|
+
setAttributeNodeNS(attr: Attr): Attr;
|
|
274
|
+
setPointerCapture(pointerId: number): void;
|
|
275
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
276
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
277
|
+
readonly baseURI: string;
|
|
278
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
279
|
+
readonly firstChild: ChildNode;
|
|
280
|
+
readonly isConnected: boolean;
|
|
281
|
+
readonly lastChild: ChildNode;
|
|
282
|
+
readonly nextSibling: ChildNode;
|
|
283
|
+
readonly nodeName: string;
|
|
284
|
+
readonly nodeType: number;
|
|
285
|
+
nodeValue: string;
|
|
286
|
+
readonly parentElement: HTMLElement;
|
|
287
|
+
readonly parentNode: ParentNode;
|
|
288
|
+
readonly previousSibling: ChildNode;
|
|
289
|
+
textContent: string;
|
|
290
|
+
appendChild<T extends Node>(node: T): T;
|
|
291
|
+
cloneNode(deep?: boolean): Node;
|
|
292
|
+
compareDocumentPosition(other: Node): number;
|
|
293
|
+
contains(other: Node): boolean;
|
|
294
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
295
|
+
hasChildNodes(): boolean;
|
|
296
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node): T_1;
|
|
297
|
+
isDefaultNamespace(namespace: string): boolean;
|
|
298
|
+
isEqualNode(otherNode: Node): boolean;
|
|
299
|
+
isSameNode(otherNode: Node): boolean;
|
|
300
|
+
lookupNamespaceURI(prefix: string): string;
|
|
301
|
+
lookupPrefix(namespace: string): string;
|
|
302
|
+
normalize(): void;
|
|
303
|
+
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
304
|
+
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
305
|
+
readonly ELEMENT_NODE: 1;
|
|
306
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
307
|
+
readonly TEXT_NODE: 3;
|
|
308
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
309
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
310
|
+
readonly ENTITY_NODE: 6;
|
|
311
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
312
|
+
readonly COMMENT_NODE: 8;
|
|
313
|
+
readonly DOCUMENT_NODE: 9;
|
|
314
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
315
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
316
|
+
readonly NOTATION_NODE: 12;
|
|
317
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
318
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
319
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
320
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
321
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
322
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
323
|
+
dispatchEvent(event: Event): boolean;
|
|
324
|
+
ariaAtomic: string;
|
|
325
|
+
ariaAutoComplete: string;
|
|
326
|
+
ariaBusy: string;
|
|
327
|
+
ariaChecked: string;
|
|
328
|
+
ariaColCount: string;
|
|
329
|
+
ariaColIndex: string;
|
|
330
|
+
ariaColSpan: string;
|
|
331
|
+
ariaCurrent: string;
|
|
332
|
+
ariaDescription: string;
|
|
333
|
+
ariaDisabled: string;
|
|
334
|
+
ariaExpanded: string;
|
|
335
|
+
ariaHasPopup: string;
|
|
336
|
+
ariaHidden: string;
|
|
337
|
+
ariaInvalid: string;
|
|
338
|
+
ariaKeyShortcuts: string;
|
|
339
|
+
ariaLabel: string;
|
|
340
|
+
ariaLevel: string;
|
|
341
|
+
ariaLive: string;
|
|
342
|
+
ariaModal: string;
|
|
343
|
+
ariaMultiLine: string;
|
|
344
|
+
ariaMultiSelectable: string;
|
|
345
|
+
ariaOrientation: string;
|
|
346
|
+
ariaPlaceholder: string;
|
|
347
|
+
ariaPosInSet: string;
|
|
348
|
+
ariaPressed: string;
|
|
349
|
+
ariaReadOnly: string;
|
|
350
|
+
ariaRequired: string;
|
|
351
|
+
ariaRoleDescription: string;
|
|
352
|
+
ariaRowCount: string;
|
|
353
|
+
ariaRowIndex: string;
|
|
354
|
+
ariaRowSpan: string;
|
|
355
|
+
ariaSelected: string;
|
|
356
|
+
ariaSetSize: string;
|
|
357
|
+
ariaSort: string;
|
|
358
|
+
ariaValueMax: string;
|
|
359
|
+
ariaValueMin: string;
|
|
360
|
+
ariaValueNow: string;
|
|
361
|
+
ariaValueText: string;
|
|
362
|
+
role: string;
|
|
363
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation;
|
|
364
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
365
|
+
after(...nodes: (string | Node)[]): void;
|
|
366
|
+
before(...nodes: (string | Node)[]): void;
|
|
367
|
+
remove(): void;
|
|
368
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
369
|
+
innerHTML: string;
|
|
370
|
+
readonly nextElementSibling: Element;
|
|
371
|
+
readonly previousElementSibling: Element;
|
|
372
|
+
readonly childElementCount: number;
|
|
373
|
+
readonly children: HTMLCollection;
|
|
374
|
+
readonly firstElementChild: Element;
|
|
375
|
+
readonly lastElementChild: Element;
|
|
376
|
+
append(...nodes: (string | Node)[]): void;
|
|
377
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
378
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
|
379
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
|
380
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
381
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
382
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
383
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
384
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
385
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
386
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
387
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
388
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
389
|
+
readonly assignedSlot: HTMLSlotElement;
|
|
390
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
391
|
+
readonly style: CSSStyleDeclaration;
|
|
392
|
+
contentEditable: string;
|
|
393
|
+
enterKeyHint: string;
|
|
394
|
+
inputMode: string;
|
|
395
|
+
readonly isContentEditable: boolean;
|
|
396
|
+
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
397
|
+
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
398
|
+
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
399
|
+
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
400
|
+
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
401
|
+
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
402
|
+
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
403
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
404
|
+
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
405
|
+
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
406
|
+
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
407
|
+
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
408
|
+
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
409
|
+
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
410
|
+
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
411
|
+
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
412
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
413
|
+
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
414
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
415
|
+
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
416
|
+
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
417
|
+
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
418
|
+
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
419
|
+
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
420
|
+
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
421
|
+
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
422
|
+
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
423
|
+
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
424
|
+
onemptied: (this: GlobalEventHandlers, ev: Event) => any;
|
|
425
|
+
onended: (this: GlobalEventHandlers, ev: Event) => any;
|
|
426
|
+
onerror: OnErrorEventHandlerNonNull;
|
|
427
|
+
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
428
|
+
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
|
|
429
|
+
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
430
|
+
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
431
|
+
oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
|
|
432
|
+
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
433
|
+
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
434
|
+
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
435
|
+
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
436
|
+
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
437
|
+
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
438
|
+
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
439
|
+
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
440
|
+
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
441
|
+
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
442
|
+
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
443
|
+
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
444
|
+
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
445
|
+
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
446
|
+
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
447
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
448
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
449
|
+
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
450
|
+
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
451
|
+
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
452
|
+
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
453
|
+
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
454
|
+
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
455
|
+
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
456
|
+
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
457
|
+
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
458
|
+
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
459
|
+
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
|
|
460
|
+
onratechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
461
|
+
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
462
|
+
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
463
|
+
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
464
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
465
|
+
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
466
|
+
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
467
|
+
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
468
|
+
onselect: (this: GlobalEventHandlers, ev: Event) => any;
|
|
469
|
+
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
470
|
+
onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
471
|
+
onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
472
|
+
onstalled: (this: GlobalEventHandlers, ev: Event) => any;
|
|
473
|
+
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
|
|
474
|
+
onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
475
|
+
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
|
|
476
|
+
ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
477
|
+
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
478
|
+
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
479
|
+
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
480
|
+
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
481
|
+
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
482
|
+
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
483
|
+
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
484
|
+
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
485
|
+
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
486
|
+
onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
|
|
487
|
+
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
488
|
+
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
|
|
489
|
+
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
490
|
+
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
491
|
+
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
|
|
492
|
+
autofocus: boolean;
|
|
493
|
+
readonly dataset: DOMStringMap;
|
|
494
|
+
nonce?: string;
|
|
495
|
+
tabIndex: number;
|
|
496
|
+
blur(): void;
|
|
497
|
+
focus(options?: FocusOptions): void;
|
|
498
|
+
};
|
|
499
|
+
} & (new (...params: any[]) => {
|
|
500
|
+
"__#24314@#lastBaseUrl"?: string;
|
|
501
|
+
"__#24314@#workingBaseUrl"?: string;
|
|
502
|
+
"__#24314@#getResourceUrls"(filename: string): (URL & {
|
|
503
|
+
baseUrl: string;
|
|
504
|
+
}) | (URL & {
|
|
505
|
+
baseUrl: string;
|
|
506
|
+
})[];
|
|
507
|
+
fetchStaticResource<F extends "text" | "json">(filename: string, format: F): Promise<{
|
|
508
|
+
body: F extends "json" ? Record<string, any> : string;
|
|
509
|
+
headers: Record<string, string>;
|
|
510
|
+
}>;
|
|
511
|
+
readonly baseStaticUrl: string;
|
|
512
|
+
readonly baseUrl: string;
|
|
513
|
+
accessKey: string;
|
|
514
|
+
readonly accessKeyLabel: string;
|
|
515
|
+
autocapitalize: string;
|
|
516
|
+
dir: string;
|
|
517
|
+
draggable: boolean;
|
|
518
|
+
hidden: boolean;
|
|
519
|
+
inert: boolean;
|
|
520
|
+
innerText: string;
|
|
521
|
+
lang: string;
|
|
522
|
+
readonly offsetHeight: number;
|
|
523
|
+
readonly offsetLeft: number;
|
|
524
|
+
readonly offsetParent: Element;
|
|
525
|
+
readonly offsetTop: number;
|
|
526
|
+
readonly offsetWidth: number;
|
|
527
|
+
outerText: string;
|
|
528
|
+
popover: string;
|
|
529
|
+
spellcheck: boolean;
|
|
530
|
+
title: string;
|
|
531
|
+
translate: boolean;
|
|
532
|
+
attachInternals(): ElementInternals;
|
|
533
|
+
click(): void;
|
|
534
|
+
hidePopover(): void;
|
|
535
|
+
showPopover(): void;
|
|
536
|
+
togglePopover(force?: boolean): boolean;
|
|
537
|
+
addEventListener<K_17 extends keyof HTMLElementEventMap>(type: K_17, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_17]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
538
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
539
|
+
removeEventListener<K_1_1 extends keyof HTMLElementEventMap>(type: K_1_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
540
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
541
|
+
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
542
|
+
connectedCallback: (() => void) & (() => void) & (() => void);
|
|
543
|
+
readonly attributes: NamedNodeMap;
|
|
544
|
+
readonly classList: DOMTokenList;
|
|
545
|
+
className: string;
|
|
546
|
+
readonly clientHeight: number;
|
|
547
|
+
readonly clientLeft: number;
|
|
548
|
+
readonly clientTop: number;
|
|
549
|
+
readonly clientWidth: number;
|
|
550
|
+
id: string;
|
|
551
|
+
readonly localName: string;
|
|
552
|
+
readonly namespaceURI: string;
|
|
553
|
+
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
554
|
+
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
555
|
+
outerHTML: string;
|
|
556
|
+
readonly ownerDocument: Document;
|
|
557
|
+
readonly part: DOMTokenList;
|
|
558
|
+
readonly prefix: string;
|
|
559
|
+
readonly scrollHeight: number;
|
|
560
|
+
scrollLeft: number;
|
|
561
|
+
scrollTop: number;
|
|
562
|
+
readonly scrollWidth: number;
|
|
563
|
+
readonly shadowRoot: ShadowRoot;
|
|
564
|
+
slot: string;
|
|
565
|
+
readonly tagName: string;
|
|
566
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
567
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
568
|
+
closest<K_2_1 extends keyof HTMLElementTagNameMap>(selector: K_2_1): HTMLElementTagNameMap[K_2_1];
|
|
569
|
+
closest<K_3_1 extends keyof SVGElementTagNameMap>(selector: K_3_1): SVGElementTagNameMap[K_3_1];
|
|
570
|
+
closest<K_4_1 extends keyof MathMLElementTagNameMap>(selector: K_4_1): MathMLElementTagNameMap[K_4_1];
|
|
571
|
+
closest<E_3 extends Element = Element>(selectors: string): E_3;
|
|
572
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
573
|
+
getAttribute(qualifiedName: string): string;
|
|
574
|
+
getAttributeNS(namespace: string, localName: string): string;
|
|
575
|
+
getAttributeNames(): string[];
|
|
576
|
+
getAttributeNode(qualifiedName: string): Attr;
|
|
577
|
+
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
578
|
+
getBoundingClientRect(): DOMRect;
|
|
579
|
+
getClientRects(): DOMRectList;
|
|
580
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
581
|
+
getElementsByTagName<K_5_1 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5_1): HTMLCollectionOf<HTMLElementTagNameMap[K_5_1]>;
|
|
582
|
+
getElementsByTagName<K_6_1 extends keyof SVGElementTagNameMap>(qualifiedName: K_6_1): HTMLCollectionOf<SVGElementTagNameMap[K_6_1]>;
|
|
583
|
+
getElementsByTagName<K_7_1 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7_1): HTMLCollectionOf<MathMLElementTagNameMap[K_7_1]>;
|
|
584
|
+
getElementsByTagName<K_8_1 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8_1): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8_1]>;
|
|
585
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
586
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
587
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
588
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
589
|
+
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
590
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
591
|
+
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
592
|
+
hasAttributes(): boolean;
|
|
593
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
594
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
595
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
596
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
597
|
+
matches(selectors: string): boolean;
|
|
598
|
+
releasePointerCapture(pointerId: number): void;
|
|
599
|
+
removeAttribute(qualifiedName: string): void;
|
|
600
|
+
removeAttributeNS(namespace: string, localName: string): void;
|
|
601
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
602
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
603
|
+
requestPointerLock(): void;
|
|
604
|
+
scroll(options?: ScrollToOptions): void;
|
|
605
|
+
scroll(x: number, y: number): void;
|
|
606
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
607
|
+
scrollBy(x: number, y: number): void;
|
|
608
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
609
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
610
|
+
scrollTo(x: number, y: number): void;
|
|
611
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
612
|
+
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
613
|
+
setAttributeNode(attr: Attr): Attr;
|
|
614
|
+
setAttributeNodeNS(attr: Attr): Attr;
|
|
615
|
+
setPointerCapture(pointerId: number): void;
|
|
616
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
617
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
618
|
+
readonly baseURI: string;
|
|
619
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
620
|
+
readonly firstChild: ChildNode;
|
|
621
|
+
readonly isConnected: boolean;
|
|
622
|
+
readonly lastChild: ChildNode;
|
|
623
|
+
readonly nextSibling: ChildNode;
|
|
624
|
+
readonly nodeName: string;
|
|
625
|
+
readonly nodeType: number;
|
|
626
|
+
nodeValue: string;
|
|
627
|
+
readonly parentElement: HTMLElement;
|
|
628
|
+
readonly parentNode: ParentNode;
|
|
629
|
+
readonly previousSibling: ChildNode;
|
|
630
|
+
textContent: string;
|
|
631
|
+
appendChild<T_1_1 extends Node>(node: T_1_1): T_1_1;
|
|
632
|
+
cloneNode(deep?: boolean): Node;
|
|
633
|
+
compareDocumentPosition(other: Node): number;
|
|
634
|
+
contains(other: Node): boolean;
|
|
635
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
636
|
+
hasChildNodes(): boolean;
|
|
637
|
+
insertBefore<T_2_1 extends Node>(node: T_2_1, child: Node): T_2_1;
|
|
638
|
+
isDefaultNamespace(namespace: string): boolean;
|
|
639
|
+
isEqualNode(otherNode: Node): boolean;
|
|
640
|
+
isSameNode(otherNode: Node): boolean;
|
|
641
|
+
lookupNamespaceURI(prefix: string): string;
|
|
642
|
+
lookupPrefix(namespace: string): string;
|
|
643
|
+
normalize(): void;
|
|
644
|
+
removeChild<T_3_1 extends Node>(child: T_3_1): T_3_1;
|
|
645
|
+
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
646
|
+
readonly ELEMENT_NODE: 1;
|
|
647
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
648
|
+
readonly TEXT_NODE: 3;
|
|
649
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
650
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
651
|
+
readonly ENTITY_NODE: 6;
|
|
652
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
653
|
+
readonly COMMENT_NODE: 8;
|
|
654
|
+
readonly DOCUMENT_NODE: 9;
|
|
655
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
656
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
657
|
+
readonly NOTATION_NODE: 12;
|
|
658
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
659
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
660
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
661
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
662
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
663
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
664
|
+
dispatchEvent(event: Event): boolean;
|
|
665
|
+
ariaAtomic: string;
|
|
666
|
+
ariaAutoComplete: string;
|
|
667
|
+
ariaBusy: string;
|
|
668
|
+
ariaChecked: string;
|
|
669
|
+
ariaColCount: string;
|
|
670
|
+
ariaColIndex: string;
|
|
671
|
+
ariaColSpan: string;
|
|
672
|
+
ariaCurrent: string;
|
|
673
|
+
ariaDescription: string;
|
|
674
|
+
ariaDisabled: string;
|
|
675
|
+
ariaExpanded: string;
|
|
676
|
+
ariaHasPopup: string;
|
|
677
|
+
ariaHidden: string;
|
|
678
|
+
ariaInvalid: string;
|
|
679
|
+
ariaKeyShortcuts: string;
|
|
680
|
+
ariaLabel: string;
|
|
681
|
+
ariaLevel: string;
|
|
682
|
+
ariaLive: string;
|
|
683
|
+
ariaModal: string;
|
|
684
|
+
ariaMultiLine: string;
|
|
685
|
+
ariaMultiSelectable: string;
|
|
686
|
+
ariaOrientation: string;
|
|
687
|
+
ariaPlaceholder: string;
|
|
688
|
+
ariaPosInSet: string;
|
|
689
|
+
ariaPressed: string;
|
|
690
|
+
ariaReadOnly: string;
|
|
691
|
+
ariaRequired: string;
|
|
692
|
+
ariaRoleDescription: string;
|
|
693
|
+
ariaRowCount: string;
|
|
694
|
+
ariaRowIndex: string;
|
|
695
|
+
ariaRowSpan: string;
|
|
696
|
+
ariaSelected: string;
|
|
697
|
+
ariaSetSize: string;
|
|
698
|
+
ariaSort: string;
|
|
699
|
+
ariaValueMax: string;
|
|
700
|
+
ariaValueMin: string;
|
|
701
|
+
ariaValueNow: string;
|
|
702
|
+
ariaValueText: string;
|
|
703
|
+
role: string;
|
|
704
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation;
|
|
705
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
706
|
+
after(...nodes: (string | Node)[]): void;
|
|
707
|
+
before(...nodes: (string | Node)[]): void;
|
|
708
|
+
remove(): void;
|
|
709
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
710
|
+
innerHTML: string;
|
|
711
|
+
readonly nextElementSibling: Element;
|
|
712
|
+
readonly previousElementSibling: Element;
|
|
713
|
+
readonly childElementCount: number;
|
|
714
|
+
readonly children: HTMLCollection;
|
|
715
|
+
readonly firstElementChild: Element;
|
|
716
|
+
readonly lastElementChild: Element;
|
|
717
|
+
append(...nodes: (string | Node)[]): void;
|
|
718
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
719
|
+
querySelector<K_9_1 extends keyof HTMLElementTagNameMap>(selectors: K_9_1): HTMLElementTagNameMap[K_9_1];
|
|
720
|
+
querySelector<K_10_1 extends keyof SVGElementTagNameMap>(selectors: K_10_1): SVGElementTagNameMap[K_10_1];
|
|
721
|
+
querySelector<K_11_1 extends keyof MathMLElementTagNameMap>(selectors: K_11_1): MathMLElementTagNameMap[K_11_1];
|
|
722
|
+
querySelector<K_12_1 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12_1): HTMLElementDeprecatedTagNameMap[K_12_1];
|
|
723
|
+
querySelector<E_1_1 extends Element = Element>(selectors: string): E_1_1;
|
|
724
|
+
querySelectorAll<K_13_1 extends keyof HTMLElementTagNameMap>(selectors: K_13_1): NodeListOf<HTMLElementTagNameMap[K_13_1]>;
|
|
725
|
+
querySelectorAll<K_14_1 extends keyof SVGElementTagNameMap>(selectors: K_14_1): NodeListOf<SVGElementTagNameMap[K_14_1]>;
|
|
726
|
+
querySelectorAll<K_15_1 extends keyof MathMLElementTagNameMap>(selectors: K_15_1): NodeListOf<MathMLElementTagNameMap[K_15_1]>;
|
|
727
|
+
querySelectorAll<K_16_1 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16_1): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16_1]>;
|
|
728
|
+
querySelectorAll<E_2_1 extends Element = Element>(selectors: string): NodeListOf<E_2_1>;
|
|
729
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
730
|
+
readonly assignedSlot: HTMLSlotElement;
|
|
731
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
732
|
+
readonly style: CSSStyleDeclaration;
|
|
733
|
+
contentEditable: string;
|
|
734
|
+
enterKeyHint: string;
|
|
735
|
+
inputMode: string;
|
|
736
|
+
readonly isContentEditable: boolean;
|
|
737
|
+
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
738
|
+
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
739
|
+
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
740
|
+
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
741
|
+
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
742
|
+
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
743
|
+
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
744
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
745
|
+
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
746
|
+
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
747
|
+
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
748
|
+
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
749
|
+
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
750
|
+
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
751
|
+
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
752
|
+
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
753
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
754
|
+
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
755
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
756
|
+
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
757
|
+
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
758
|
+
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
759
|
+
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
760
|
+
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
761
|
+
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
762
|
+
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
763
|
+
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
764
|
+
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
765
|
+
onemptied: (this: GlobalEventHandlers, ev: Event) => any;
|
|
766
|
+
onended: (this: GlobalEventHandlers, ev: Event) => any;
|
|
767
|
+
onerror: OnErrorEventHandlerNonNull;
|
|
768
|
+
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
769
|
+
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
|
|
770
|
+
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
771
|
+
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
772
|
+
oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
|
|
773
|
+
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
774
|
+
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
775
|
+
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
776
|
+
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
777
|
+
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
778
|
+
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
779
|
+
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
780
|
+
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
781
|
+
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
782
|
+
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
783
|
+
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
784
|
+
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
785
|
+
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
786
|
+
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
787
|
+
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
788
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
789
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
790
|
+
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
791
|
+
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
792
|
+
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
793
|
+
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
794
|
+
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
795
|
+
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
796
|
+
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
797
|
+
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
798
|
+
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
799
|
+
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
800
|
+
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
|
|
801
|
+
onratechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
802
|
+
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
803
|
+
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
804
|
+
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
805
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
806
|
+
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
807
|
+
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
808
|
+
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
809
|
+
onselect: (this: GlobalEventHandlers, ev: Event) => any;
|
|
810
|
+
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
811
|
+
onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
812
|
+
onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
813
|
+
onstalled: (this: GlobalEventHandlers, ev: Event) => any;
|
|
814
|
+
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
|
|
815
|
+
onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
816
|
+
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
|
|
817
|
+
ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
818
|
+
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
819
|
+
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
820
|
+
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
821
|
+
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
822
|
+
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
823
|
+
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
824
|
+
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
825
|
+
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
826
|
+
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
827
|
+
onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
|
|
828
|
+
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
829
|
+
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
|
|
830
|
+
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
831
|
+
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
832
|
+
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
|
|
833
|
+
autofocus: boolean;
|
|
834
|
+
readonly dataset: DOMStringMap;
|
|
835
|
+
nonce?: string;
|
|
836
|
+
tabIndex: number;
|
|
837
|
+
blur(): void;
|
|
838
|
+
focus(options?: FocusOptions): void;
|
|
839
|
+
readonly projectId: string;
|
|
840
|
+
"__#24313@#handleError"(attrName: string, newValue: string): void;
|
|
841
|
+
init(): Promise<void>;
|
|
842
|
+
"__#24312@#observeMappings": {};
|
|
843
|
+
observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
|
|
844
|
+
observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
|
|
845
|
+
"__#24311@#isInit": boolean;
|
|
846
|
+
"__#24310@#logger": _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
847
|
+
"__#24310@#wrapLogger": ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger);
|
|
848
|
+
get logger(): _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
849
|
+
set logger(logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>);
|
|
850
|
+
onLogEvent: ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void);
|
|
851
|
+
}) & (new (...params: any[]) => {
|
|
852
|
+
"__#24324@#globalStyleTag": HTMLStyleElement;
|
|
853
|
+
readonly theme: _descope_sdk_mixins_static_resources_mixin.ThemeOptions;
|
|
854
|
+
readonly styleId: string;
|
|
855
|
+
"__#24324@#_themeResource": Promise<void | Record<string, any>>;
|
|
856
|
+
"__#24324@#fetchTheme"(): Promise<Record<string, any>>;
|
|
857
|
+
readonly "__#24324@#themeResource": Promise<void | Record<string, any>>;
|
|
858
|
+
"__#24324@#loadGlobalStyle"(): Promise<void>;
|
|
859
|
+
"__#24324@#loadComponentsStyle"(): Promise<void>;
|
|
860
|
+
"__#24324@#getFontsConfig"(): Promise<Record<string, {
|
|
861
|
+
url?: string;
|
|
862
|
+
}>>;
|
|
863
|
+
"__#24324@#loadFonts"(): Promise<void>;
|
|
864
|
+
"__#24324@#applyTheme"(): Promise<void>;
|
|
865
|
+
"__#24324@#onThemeChange": () => void;
|
|
866
|
+
"__#24324@#loadTheme"(): void;
|
|
867
|
+
"__#24324@#toggleOsThemeChangeListener": (listen: boolean) => void;
|
|
868
|
+
init(): Promise<void>;
|
|
869
|
+
"__#24312@#observeMappings": {};
|
|
870
|
+
observeAttribute: ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any);
|
|
871
|
+
observeAttributes: ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void);
|
|
872
|
+
"__#24311@#isInit": boolean;
|
|
873
|
+
connectedCallback: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void);
|
|
874
|
+
accessKey: string;
|
|
875
|
+
readonly accessKeyLabel: string;
|
|
876
|
+
autocapitalize: string;
|
|
877
|
+
dir: string;
|
|
878
|
+
draggable: boolean;
|
|
879
|
+
hidden: boolean;
|
|
880
|
+
inert: boolean;
|
|
881
|
+
innerText: string;
|
|
882
|
+
lang: string;
|
|
883
|
+
readonly offsetHeight: number;
|
|
884
|
+
readonly offsetLeft: number;
|
|
885
|
+
readonly offsetParent: Element;
|
|
886
|
+
readonly offsetTop: number;
|
|
887
|
+
readonly offsetWidth: number;
|
|
888
|
+
outerText: string;
|
|
889
|
+
popover: string;
|
|
890
|
+
spellcheck: boolean;
|
|
891
|
+
title: string;
|
|
892
|
+
translate: boolean;
|
|
893
|
+
attachInternals(): ElementInternals;
|
|
894
|
+
click(): void;
|
|
895
|
+
hidePopover(): void;
|
|
896
|
+
showPopover(): void;
|
|
897
|
+
togglePopover(force?: boolean): boolean;
|
|
898
|
+
addEventListener<K_18 extends keyof HTMLElementEventMap>(type: K_18, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_18]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
899
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
900
|
+
removeEventListener<K_1_2 extends keyof HTMLElementEventMap>(type: K_1_2, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1_2]) => any, options?: boolean | EventListenerOptions): void;
|
|
901
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
902
|
+
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
903
|
+
readonly attributes: NamedNodeMap;
|
|
904
|
+
readonly classList: DOMTokenList;
|
|
905
|
+
className: string;
|
|
906
|
+
readonly clientHeight: number;
|
|
907
|
+
readonly clientLeft: number;
|
|
908
|
+
readonly clientTop: number;
|
|
909
|
+
readonly clientWidth: number;
|
|
910
|
+
id: string;
|
|
911
|
+
readonly localName: string;
|
|
912
|
+
readonly namespaceURI: string;
|
|
913
|
+
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
914
|
+
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
915
|
+
outerHTML: string;
|
|
916
|
+
readonly ownerDocument: Document;
|
|
917
|
+
readonly part: DOMTokenList;
|
|
918
|
+
readonly prefix: string;
|
|
919
|
+
readonly scrollHeight: number;
|
|
920
|
+
scrollLeft: number;
|
|
921
|
+
scrollTop: number;
|
|
922
|
+
readonly scrollWidth: number;
|
|
923
|
+
readonly shadowRoot: ShadowRoot;
|
|
924
|
+
slot: string;
|
|
925
|
+
readonly tagName: string;
|
|
926
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
927
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
928
|
+
closest<K_2_2 extends keyof HTMLElementTagNameMap>(selector: K_2_2): HTMLElementTagNameMap[K_2_2];
|
|
929
|
+
closest<K_3_2 extends keyof SVGElementTagNameMap>(selector: K_3_2): SVGElementTagNameMap[K_3_2];
|
|
930
|
+
closest<K_4_2 extends keyof MathMLElementTagNameMap>(selector: K_4_2): MathMLElementTagNameMap[K_4_2];
|
|
931
|
+
closest<E_4 extends Element = Element>(selectors: string): E_4;
|
|
932
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
933
|
+
getAttribute(qualifiedName: string): string;
|
|
934
|
+
getAttributeNS(namespace: string, localName: string): string;
|
|
935
|
+
getAttributeNames(): string[];
|
|
936
|
+
getAttributeNode(qualifiedName: string): Attr;
|
|
937
|
+
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
938
|
+
getBoundingClientRect(): DOMRect;
|
|
939
|
+
getClientRects(): DOMRectList;
|
|
940
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
941
|
+
getElementsByTagName<K_5_2 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5_2): HTMLCollectionOf<HTMLElementTagNameMap[K_5_2]>;
|
|
942
|
+
getElementsByTagName<K_6_2 extends keyof SVGElementTagNameMap>(qualifiedName: K_6_2): HTMLCollectionOf<SVGElementTagNameMap[K_6_2]>;
|
|
943
|
+
getElementsByTagName<K_7_2 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7_2): HTMLCollectionOf<MathMLElementTagNameMap[K_7_2]>;
|
|
944
|
+
getElementsByTagName<K_8_2 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8_2): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8_2]>;
|
|
945
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
946
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
947
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
948
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
949
|
+
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
950
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
951
|
+
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
952
|
+
hasAttributes(): boolean;
|
|
953
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
954
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
955
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
956
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
957
|
+
matches(selectors: string): boolean;
|
|
958
|
+
releasePointerCapture(pointerId: number): void;
|
|
959
|
+
removeAttribute(qualifiedName: string): void;
|
|
960
|
+
removeAttributeNS(namespace: string, localName: string): void;
|
|
961
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
962
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
963
|
+
requestPointerLock(): void;
|
|
964
|
+
scroll(options?: ScrollToOptions): void;
|
|
965
|
+
scroll(x: number, y: number): void;
|
|
966
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
967
|
+
scrollBy(x: number, y: number): void;
|
|
968
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
969
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
970
|
+
scrollTo(x: number, y: number): void;
|
|
971
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
972
|
+
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
973
|
+
setAttributeNode(attr: Attr): Attr;
|
|
974
|
+
setAttributeNodeNS(attr: Attr): Attr;
|
|
975
|
+
setPointerCapture(pointerId: number): void;
|
|
976
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
977
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
978
|
+
readonly baseURI: string;
|
|
979
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
980
|
+
readonly firstChild: ChildNode;
|
|
981
|
+
readonly isConnected: boolean;
|
|
982
|
+
readonly lastChild: ChildNode;
|
|
983
|
+
readonly nextSibling: ChildNode;
|
|
984
|
+
readonly nodeName: string;
|
|
985
|
+
readonly nodeType: number;
|
|
986
|
+
nodeValue: string;
|
|
987
|
+
readonly parentElement: HTMLElement;
|
|
988
|
+
readonly parentNode: ParentNode;
|
|
989
|
+
readonly previousSibling: ChildNode;
|
|
990
|
+
textContent: string;
|
|
991
|
+
appendChild<T_1_2 extends Node>(node: T_1_2): T_1_2;
|
|
992
|
+
cloneNode(deep?: boolean): Node;
|
|
993
|
+
compareDocumentPosition(other: Node): number;
|
|
994
|
+
contains(other: Node): boolean;
|
|
995
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
996
|
+
hasChildNodes(): boolean;
|
|
997
|
+
insertBefore<T_2_2 extends Node>(node: T_2_2, child: Node): T_2_2;
|
|
998
|
+
isDefaultNamespace(namespace: string): boolean;
|
|
999
|
+
isEqualNode(otherNode: Node): boolean;
|
|
1000
|
+
isSameNode(otherNode: Node): boolean;
|
|
1001
|
+
lookupNamespaceURI(prefix: string): string;
|
|
1002
|
+
lookupPrefix(namespace: string): string;
|
|
1003
|
+
normalize(): void;
|
|
1004
|
+
removeChild<T_3_2 extends Node>(child: T_3_2): T_3_2;
|
|
1005
|
+
replaceChild<T_4_1 extends Node>(node: Node, child: T_4_1): T_4_1;
|
|
1006
|
+
readonly ELEMENT_NODE: 1;
|
|
1007
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
1008
|
+
readonly TEXT_NODE: 3;
|
|
1009
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
1010
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
1011
|
+
readonly ENTITY_NODE: 6;
|
|
1012
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
1013
|
+
readonly COMMENT_NODE: 8;
|
|
1014
|
+
readonly DOCUMENT_NODE: 9;
|
|
1015
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
1016
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
1017
|
+
readonly NOTATION_NODE: 12;
|
|
1018
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
1019
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
1020
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
1021
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
1022
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
1023
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
1024
|
+
dispatchEvent(event: Event): boolean;
|
|
1025
|
+
ariaAtomic: string;
|
|
1026
|
+
ariaAutoComplete: string;
|
|
1027
|
+
ariaBusy: string;
|
|
1028
|
+
ariaChecked: string;
|
|
1029
|
+
ariaColCount: string;
|
|
1030
|
+
ariaColIndex: string;
|
|
1031
|
+
ariaColSpan: string;
|
|
1032
|
+
ariaCurrent: string;
|
|
1033
|
+
ariaDescription: string;
|
|
1034
|
+
ariaDisabled: string;
|
|
1035
|
+
ariaExpanded: string;
|
|
1036
|
+
ariaHasPopup: string;
|
|
1037
|
+
ariaHidden: string;
|
|
1038
|
+
ariaInvalid: string;
|
|
1039
|
+
ariaKeyShortcuts: string;
|
|
1040
|
+
ariaLabel: string;
|
|
1041
|
+
ariaLevel: string;
|
|
1042
|
+
ariaLive: string;
|
|
1043
|
+
ariaModal: string;
|
|
1044
|
+
ariaMultiLine: string;
|
|
1045
|
+
ariaMultiSelectable: string;
|
|
1046
|
+
ariaOrientation: string;
|
|
1047
|
+
ariaPlaceholder: string;
|
|
1048
|
+
ariaPosInSet: string;
|
|
1049
|
+
ariaPressed: string;
|
|
1050
|
+
ariaReadOnly: string;
|
|
1051
|
+
ariaRequired: string;
|
|
1052
|
+
ariaRoleDescription: string;
|
|
1053
|
+
ariaRowCount: string;
|
|
1054
|
+
ariaRowIndex: string;
|
|
1055
|
+
ariaRowSpan: string;
|
|
1056
|
+
ariaSelected: string;
|
|
1057
|
+
ariaSetSize: string;
|
|
1058
|
+
ariaSort: string;
|
|
1059
|
+
ariaValueMax: string;
|
|
1060
|
+
ariaValueMin: string;
|
|
1061
|
+
ariaValueNow: string;
|
|
1062
|
+
ariaValueText: string;
|
|
1063
|
+
role: string;
|
|
1064
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation;
|
|
1065
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
1066
|
+
after(...nodes: (string | Node)[]): void;
|
|
1067
|
+
before(...nodes: (string | Node)[]): void;
|
|
1068
|
+
remove(): void;
|
|
1069
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
1070
|
+
innerHTML: string;
|
|
1071
|
+
readonly nextElementSibling: Element;
|
|
1072
|
+
readonly previousElementSibling: Element;
|
|
1073
|
+
readonly childElementCount: number;
|
|
1074
|
+
readonly children: HTMLCollection;
|
|
1075
|
+
readonly firstElementChild: Element;
|
|
1076
|
+
readonly lastElementChild: Element;
|
|
1077
|
+
append(...nodes: (string | Node)[]): void;
|
|
1078
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
1079
|
+
querySelector<K_9_2 extends keyof HTMLElementTagNameMap>(selectors: K_9_2): HTMLElementTagNameMap[K_9_2];
|
|
1080
|
+
querySelector<K_10_2 extends keyof SVGElementTagNameMap>(selectors: K_10_2): SVGElementTagNameMap[K_10_2];
|
|
1081
|
+
querySelector<K_11_2 extends keyof MathMLElementTagNameMap>(selectors: K_11_2): MathMLElementTagNameMap[K_11_2];
|
|
1082
|
+
querySelector<K_12_2 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12_2): HTMLElementDeprecatedTagNameMap[K_12_2];
|
|
1083
|
+
querySelector<E_1_2 extends Element = Element>(selectors: string): E_1_2;
|
|
1084
|
+
querySelectorAll<K_13_2 extends keyof HTMLElementTagNameMap>(selectors: K_13_2): NodeListOf<HTMLElementTagNameMap[K_13_2]>;
|
|
1085
|
+
querySelectorAll<K_14_2 extends keyof SVGElementTagNameMap>(selectors: K_14_2): NodeListOf<SVGElementTagNameMap[K_14_2]>;
|
|
1086
|
+
querySelectorAll<K_15_2 extends keyof MathMLElementTagNameMap>(selectors: K_15_2): NodeListOf<MathMLElementTagNameMap[K_15_2]>;
|
|
1087
|
+
querySelectorAll<K_16_2 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16_2): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16_2]>;
|
|
1088
|
+
querySelectorAll<E_2_2 extends Element = Element>(selectors: string): NodeListOf<E_2_2>;
|
|
1089
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
1090
|
+
readonly assignedSlot: HTMLSlotElement;
|
|
1091
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
1092
|
+
readonly style: CSSStyleDeclaration;
|
|
1093
|
+
contentEditable: string;
|
|
1094
|
+
enterKeyHint: string;
|
|
1095
|
+
inputMode: string;
|
|
1096
|
+
readonly isContentEditable: boolean;
|
|
1097
|
+
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
1098
|
+
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
1099
|
+
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
1100
|
+
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
1101
|
+
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
1102
|
+
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1103
|
+
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
1104
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1105
|
+
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
1106
|
+
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1107
|
+
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1108
|
+
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1109
|
+
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1110
|
+
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1111
|
+
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1112
|
+
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1113
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
1114
|
+
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1115
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
1116
|
+
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1117
|
+
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1118
|
+
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1119
|
+
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1120
|
+
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1121
|
+
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1122
|
+
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1123
|
+
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1124
|
+
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1125
|
+
onemptied: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1126
|
+
onended: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1127
|
+
onerror: OnErrorEventHandlerNonNull;
|
|
1128
|
+
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
1129
|
+
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
|
|
1130
|
+
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1131
|
+
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1132
|
+
oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1133
|
+
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
1134
|
+
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
1135
|
+
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
1136
|
+
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1137
|
+
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1138
|
+
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1139
|
+
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1140
|
+
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1141
|
+
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1142
|
+
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1143
|
+
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1144
|
+
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1145
|
+
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1146
|
+
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1147
|
+
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1148
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
1149
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1150
|
+
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1151
|
+
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1152
|
+
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1153
|
+
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1154
|
+
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1155
|
+
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1156
|
+
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1157
|
+
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1158
|
+
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1159
|
+
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1160
|
+
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
|
|
1161
|
+
onratechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1162
|
+
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1163
|
+
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
1164
|
+
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1165
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1166
|
+
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
1167
|
+
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1168
|
+
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1169
|
+
onselect: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1170
|
+
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1171
|
+
onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1172
|
+
onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1173
|
+
onstalled: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1174
|
+
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
|
|
1175
|
+
onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1176
|
+
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1177
|
+
ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1178
|
+
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
1179
|
+
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
1180
|
+
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
1181
|
+
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
1182
|
+
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
1183
|
+
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
1184
|
+
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
1185
|
+
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
1186
|
+
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1187
|
+
onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1188
|
+
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1189
|
+
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1190
|
+
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1191
|
+
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1192
|
+
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
|
|
1193
|
+
autofocus: boolean;
|
|
1194
|
+
readonly dataset: DOMStringMap;
|
|
1195
|
+
nonce?: string;
|
|
1196
|
+
tabIndex: number;
|
|
1197
|
+
blur(): void;
|
|
1198
|
+
focus(options?: FocusOptions): void;
|
|
1199
|
+
"__#24310@#logger": _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
1200
|
+
"__#24310@#wrapLogger": ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger);
|
|
1201
|
+
get logger(): _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
1202
|
+
set logger(logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>);
|
|
1203
|
+
onLogEvent: ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void);
|
|
1204
|
+
contentRootElement: HTMLElement;
|
|
1205
|
+
rootElement: HTMLElement;
|
|
1206
|
+
readonly config: any;
|
|
1207
|
+
"__#24315@#_configResource": any;
|
|
1208
|
+
"__#24315@#fetchConfig": (() => Promise<{
|
|
1209
|
+
projectConfig: _descope_sdk_mixins_static_resources_mixin.ProjectConfiguration;
|
|
1210
|
+
executionContext: {
|
|
1211
|
+
geo: any;
|
|
1212
|
+
};
|
|
1213
|
+
}>) & (() => Promise<{
|
|
1214
|
+
projectConfig: _descope_sdk_mixins_static_resources_mixin.ProjectConfiguration;
|
|
1215
|
+
executionContext: {
|
|
1216
|
+
geo: any;
|
|
1217
|
+
};
|
|
1218
|
+
}>);
|
|
1219
|
+
"__#24314@#lastBaseUrl"?: string;
|
|
1220
|
+
"__#24314@#workingBaseUrl"?: string;
|
|
1221
|
+
"__#24314@#getResourceUrls": ((filename: string) => (URL & {
|
|
1222
|
+
baseUrl: string;
|
|
1223
|
+
}) | (URL & {
|
|
1224
|
+
baseUrl: string;
|
|
1225
|
+
})[]) & ((filename: string) => (URL & {
|
|
1226
|
+
baseUrl: string;
|
|
1227
|
+
}) | (URL & {
|
|
1228
|
+
baseUrl: string;
|
|
1229
|
+
})[]) & ((filename: string) => (URL & {
|
|
1230
|
+
baseUrl: string;
|
|
1231
|
+
}) | (URL & {
|
|
1232
|
+
baseUrl: string;
|
|
1233
|
+
})[]);
|
|
1234
|
+
fetchStaticResource: (<F_1 extends "text" | "json">(filename: string, format: F_1) => Promise<{
|
|
1235
|
+
body: F_1 extends "json" ? Record<string, any> : string;
|
|
1236
|
+
headers: Record<string, string>;
|
|
1237
|
+
}>) & (<F_1_1 extends "text" | "json">(filename: string, format: F_1_1) => Promise<{
|
|
1238
|
+
body: F_1_1 extends "json" ? Record<string, any> : string;
|
|
1239
|
+
headers: Record<string, string>;
|
|
1240
|
+
}>) & (<F_2 extends "text" | "json">(filename: string, format: F_2) => Promise<{
|
|
1241
|
+
body: F_2 extends "json" ? Record<string, any> : string;
|
|
1242
|
+
headers: Record<string, string>;
|
|
1243
|
+
}>);
|
|
1244
|
+
readonly baseStaticUrl: string;
|
|
1245
|
+
readonly baseUrl: string;
|
|
1246
|
+
readonly projectId: string;
|
|
1247
|
+
"__#24313@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
|
|
1248
|
+
"__#24318@#errorCbsSym": symbol;
|
|
1249
|
+
"__#24318@#loadCbsSym": symbol;
|
|
1250
|
+
"__#24318@#getComponentsVersion"(): Promise<any>;
|
|
1251
|
+
"__#24318@#exposeAlternateEvents"(scriptEle: HTMLScriptElement): void;
|
|
1252
|
+
"__#24318@#handleFallbackScript"(errorCbs: ((error: string) => void)[], loadCbs: (() => void)[], elemId: string, scriptUrl: string): Promise<void>;
|
|
1253
|
+
"__#24318@#registerEvents"(scriptEle: HTMLScriptElement): void;
|
|
1254
|
+
"__#24318@#getDescopeUiLoadingScript"(): Promise<HTMLElement>;
|
|
1255
|
+
"__#24318@#descopeUi": Promise<any>;
|
|
1256
|
+
readonly descopeUi: Promise<any>;
|
|
1257
|
+
"__#24318@#loadDescopeUiComponent"(componentName: string): Promise<any>;
|
|
1258
|
+
loadDescopeUiComponents(templateOrComponentNames: string[] | HTMLTemplateElement): Promise<any[]>;
|
|
1259
|
+
"__#24318@#getDescopeUi"(): Promise<unknown>;
|
|
1260
|
+
}) & {
|
|
1261
|
+
new (): HTMLElement;
|
|
1262
|
+
prototype: HTMLElement;
|
|
1263
|
+
};
|
|
1264
|
+
declare class BaseDescopeWc extends BaseClass {
|
|
1265
|
+
#private;
|
|
1266
|
+
static get observedAttributes(): string[];
|
|
1267
|
+
static sdkConfigOverrides: Partial<SdkConfig>;
|
|
1268
|
+
flowStatus: FlowStatus;
|
|
1269
|
+
loggerWrapper: {
|
|
1270
|
+
error: (message: string, description?: string) => void;
|
|
1271
|
+
warn: (message: string, description?: string) => void;
|
|
1272
|
+
info: (message: string, description?: string, state?: any) => void;
|
|
1273
|
+
debug: (message: string, description?: string) => void;
|
|
1274
|
+
};
|
|
1275
|
+
getComponentsContext: () => {};
|
|
1276
|
+
nextRequestStatus: State<{
|
|
1277
|
+
isLoading: boolean;
|
|
1278
|
+
}>;
|
|
1279
|
+
rootElement: HTMLDivElement;
|
|
1280
|
+
contentRootElement: HTMLDivElement;
|
|
1281
|
+
slotElement: HTMLSlotElement;
|
|
1282
|
+
sdk: ReturnType<typeof createSdk>;
|
|
1283
|
+
descopeUI: Promise<DescopeUI>;
|
|
1284
|
+
constructor(updateExecState: FlowStateUpdateFn);
|
|
1285
|
+
get flowId(): string;
|
|
1286
|
+
get client(): Record<string, any>;
|
|
1287
|
+
get tenant(): string;
|
|
1288
|
+
get redirectUrl(): string;
|
|
1289
|
+
get debug(): boolean;
|
|
1290
|
+
get locale(): string;
|
|
1291
|
+
get autoFocus(): AutoFocusOptions;
|
|
1292
|
+
get validateOnBlur(): boolean;
|
|
1293
|
+
get storeLastAuthenticatedUser(): boolean;
|
|
1294
|
+
get keepLastAuthenticatedUserAfterLogout(): boolean;
|
|
1295
|
+
get storagePrefix(): string;
|
|
1296
|
+
get preview(): boolean;
|
|
1297
|
+
get formConfig(): any;
|
|
1298
|
+
get form(): string;
|
|
1299
|
+
get formConfigValues(): {
|
|
1300
|
+
[k: string]: any;
|
|
1301
|
+
};
|
|
1302
|
+
getConfig: (() => Promise<{
|
|
1303
|
+
projectConfig: ProjectConfiguration;
|
|
1304
|
+
executionContext: {
|
|
1305
|
+
geo: string;
|
|
1306
|
+
};
|
|
1307
|
+
isMissingConfig?: undefined;
|
|
1308
|
+
} | {
|
|
1309
|
+
isMissingConfig: boolean;
|
|
1310
|
+
projectConfig?: undefined;
|
|
1311
|
+
executionContext?: undefined;
|
|
1312
|
+
}>) & {
|
|
1313
|
+
reset: () => void;
|
|
1314
|
+
};
|
|
1315
|
+
get isRestartOnError(): boolean;
|
|
1316
|
+
getExecutionContext(): Promise<{
|
|
1317
|
+
geo: string;
|
|
1318
|
+
}>;
|
|
1319
|
+
getProjectConfig(): Promise<ProjectConfiguration>;
|
|
1320
|
+
getFlowConfig(): Promise<FlowConfig>;
|
|
1321
|
+
getTargetLocales(): Promise<string[]>;
|
|
1322
|
+
getComponentsVersion(): Promise<string>;
|
|
1323
|
+
static descopeUI: any;
|
|
1324
|
+
init(): Promise<void>;
|
|
1325
|
+
disconnectedCallback(): void;
|
|
1326
|
+
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
declare class DescopeWc extends BaseDescopeWc {
|
|
1330
|
+
#private;
|
|
1331
|
+
errorTransformer: ((error: {
|
|
1332
|
+
text: string;
|
|
1333
|
+
type: string;
|
|
1334
|
+
}) => string) | undefined;
|
|
1335
|
+
static set sdkConfigOverrides(config: Partial<SdkConfig>);
|
|
1336
|
+
static get sdkConfigOverrides(): Partial<SdkConfig>;
|
|
1337
|
+
flowState: State<FlowState>;
|
|
1338
|
+
stepState: State<StepState>;
|
|
1339
|
+
onPageUpdate: (stepStateUpdate: Partial<StepState>, ref: typeof this) => Promise<{
|
|
1340
|
+
useDescopeComponents?: boolean;
|
|
1341
|
+
} | boolean>;
|
|
1342
|
+
constructor();
|
|
1343
|
+
bridgeVersion: number;
|
|
1344
|
+
nativeComplete: (input: Record<string, any>) => Promise<void>;
|
|
1345
|
+
nativeResume: (type: string, payload: string) => void;
|
|
1346
|
+
nativeOptions: {
|
|
1347
|
+
platform: 'ios' | 'android';
|
|
1348
|
+
oauthProvider?: string;
|
|
1349
|
+
oauthRedirect?: string;
|
|
1350
|
+
magicLinkRedirect?: string;
|
|
1351
|
+
ssoRedirect?: string;
|
|
1352
|
+
origin?: string;
|
|
1353
|
+
} | undefined;
|
|
1354
|
+
loadSdkScripts(): Promise<void>;
|
|
1355
|
+
init(): Promise<void>;
|
|
1356
|
+
disconnectedCallback(): void;
|
|
1357
|
+
getHtmlFilenameWithLocale(locale: string, screenId: string): Promise<string>;
|
|
1358
|
+
getPageContent(htmlFilename: string, htmlLocaleFilename: string): Promise<string>;
|
|
1359
|
+
onFlowChange(currentState: FlowState, prevState: FlowState, isChanged: IsChanged<FlowState>): Promise<void>;
|
|
1360
|
+
onStepChange(currentState: StepState, prevState: StepState): Promise<void>;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
type ILogger = Partial<DescopeWc['logger']>;
|
|
1364
|
+
|
|
1365
|
+
export { type AutoFocusOptions, type ILogger, type ThemeOptions, DescopeWc as default };
|