@descope/web-component 3.22.2 → 3.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import createSdk from '@descope/web-js-sdk';
|
|
2
|
+
import * as _descope_sdk_mixins from '@descope/sdk-mixins';
|
|
2
3
|
|
|
3
4
|
type SdkConfig = Parameters<typeof createSdk>[0];
|
|
4
5
|
type Sdk = ReturnType<typeof createSdk>;
|
|
@@ -159,9 +160,879 @@ declare class State<T extends StateObject> {
|
|
|
159
160
|
unsubscribeAll(): boolean;
|
|
160
161
|
}
|
|
161
162
|
|
|
162
|
-
declare
|
|
163
|
+
declare const BaseClass: {
|
|
164
|
+
new (...params: any[]): {
|
|
165
|
+
"__#7@#shouldMountInFormEle"(): boolean;
|
|
166
|
+
"__#7@#handleOuterForm"(): void;
|
|
167
|
+
connectedCallback(): void;
|
|
168
|
+
accessKey: string;
|
|
169
|
+
readonly accessKeyLabel: string;
|
|
170
|
+
autocapitalize: string;
|
|
171
|
+
dir: string;
|
|
172
|
+
draggable: boolean;
|
|
173
|
+
hidden: boolean;
|
|
174
|
+
inert: boolean;
|
|
175
|
+
innerText: string;
|
|
176
|
+
lang: string;
|
|
177
|
+
readonly offsetHeight: number;
|
|
178
|
+
readonly offsetLeft: number;
|
|
179
|
+
readonly offsetParent: Element;
|
|
180
|
+
readonly offsetTop: number;
|
|
181
|
+
readonly offsetWidth: number;
|
|
182
|
+
outerText: string;
|
|
183
|
+
popover: string;
|
|
184
|
+
spellcheck: boolean;
|
|
185
|
+
title: string;
|
|
186
|
+
translate: boolean;
|
|
187
|
+
attachInternals(): ElementInternals;
|
|
188
|
+
click(): void;
|
|
189
|
+
hidePopover(): void;
|
|
190
|
+
showPopover(): void;
|
|
191
|
+
togglePopover(force?: boolean): boolean;
|
|
192
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
193
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
194
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
195
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
196
|
+
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
197
|
+
readonly attributes: NamedNodeMap;
|
|
198
|
+
readonly classList: DOMTokenList;
|
|
199
|
+
className: string;
|
|
200
|
+
readonly clientHeight: number;
|
|
201
|
+
readonly clientLeft: number;
|
|
202
|
+
readonly clientTop: number;
|
|
203
|
+
readonly clientWidth: number;
|
|
204
|
+
id: string;
|
|
205
|
+
readonly localName: string;
|
|
206
|
+
readonly namespaceURI: string;
|
|
207
|
+
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
208
|
+
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
209
|
+
outerHTML: string;
|
|
210
|
+
readonly ownerDocument: Document;
|
|
211
|
+
readonly part: DOMTokenList;
|
|
212
|
+
readonly prefix: string;
|
|
213
|
+
readonly scrollHeight: number;
|
|
214
|
+
scrollLeft: number;
|
|
215
|
+
scrollTop: number;
|
|
216
|
+
readonly scrollWidth: number;
|
|
217
|
+
readonly shadowRoot: ShadowRoot;
|
|
218
|
+
slot: string;
|
|
219
|
+
readonly tagName: string;
|
|
220
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
221
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
222
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
223
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
224
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
|
225
|
+
closest<E extends Element = Element>(selectors: string): E;
|
|
226
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
227
|
+
getAttribute(qualifiedName: string): string;
|
|
228
|
+
getAttributeNS(namespace: string, localName: string): string;
|
|
229
|
+
getAttributeNames(): string[];
|
|
230
|
+
getAttributeNode(qualifiedName: string): Attr;
|
|
231
|
+
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
232
|
+
getBoundingClientRect(): DOMRect;
|
|
233
|
+
getClientRects(): DOMRectList;
|
|
234
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
235
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
236
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
237
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
238
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
239
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
240
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
241
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
242
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
243
|
+
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
244
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
245
|
+
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
246
|
+
hasAttributes(): boolean;
|
|
247
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
248
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
249
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
250
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
251
|
+
matches(selectors: string): boolean;
|
|
252
|
+
releasePointerCapture(pointerId: number): void;
|
|
253
|
+
removeAttribute(qualifiedName: string): void;
|
|
254
|
+
removeAttributeNS(namespace: string, localName: string): void;
|
|
255
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
256
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
257
|
+
requestPointerLock(): void;
|
|
258
|
+
scroll(options?: ScrollToOptions): void;
|
|
259
|
+
scroll(x: number, y: number): void;
|
|
260
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
261
|
+
scrollBy(x: number, y: number): void;
|
|
262
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
263
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
264
|
+
scrollTo(x: number, y: number): void;
|
|
265
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
266
|
+
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
267
|
+
setAttributeNode(attr: Attr): Attr;
|
|
268
|
+
setAttributeNodeNS(attr: Attr): Attr;
|
|
269
|
+
setPointerCapture(pointerId: number): void;
|
|
270
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
271
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
272
|
+
readonly baseURI: string;
|
|
273
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
274
|
+
readonly firstChild: ChildNode;
|
|
275
|
+
readonly isConnected: boolean;
|
|
276
|
+
readonly lastChild: ChildNode;
|
|
277
|
+
readonly nextSibling: ChildNode;
|
|
278
|
+
readonly nodeName: string;
|
|
279
|
+
readonly nodeType: number;
|
|
280
|
+
nodeValue: string;
|
|
281
|
+
readonly parentElement: HTMLElement;
|
|
282
|
+
readonly parentNode: ParentNode;
|
|
283
|
+
readonly previousSibling: ChildNode;
|
|
284
|
+
textContent: string;
|
|
285
|
+
appendChild<T extends Node>(node: T): T;
|
|
286
|
+
cloneNode(deep?: boolean): Node;
|
|
287
|
+
compareDocumentPosition(other: Node): number;
|
|
288
|
+
contains(other: Node): boolean;
|
|
289
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
290
|
+
hasChildNodes(): boolean;
|
|
291
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node): T_1;
|
|
292
|
+
isDefaultNamespace(namespace: string): boolean;
|
|
293
|
+
isEqualNode(otherNode: Node): boolean;
|
|
294
|
+
isSameNode(otherNode: Node): boolean;
|
|
295
|
+
lookupNamespaceURI(prefix: string): string;
|
|
296
|
+
lookupPrefix(namespace: string): string;
|
|
297
|
+
normalize(): void;
|
|
298
|
+
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
299
|
+
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
300
|
+
readonly ELEMENT_NODE: 1;
|
|
301
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
302
|
+
readonly TEXT_NODE: 3;
|
|
303
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
304
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
305
|
+
readonly ENTITY_NODE: 6;
|
|
306
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
307
|
+
readonly COMMENT_NODE: 8;
|
|
308
|
+
readonly DOCUMENT_NODE: 9;
|
|
309
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
310
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
311
|
+
readonly NOTATION_NODE: 12;
|
|
312
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
313
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
314
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
315
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
316
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
317
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
318
|
+
dispatchEvent(event: Event): boolean;
|
|
319
|
+
ariaAtomic: string;
|
|
320
|
+
ariaAutoComplete: string;
|
|
321
|
+
ariaBusy: string;
|
|
322
|
+
ariaChecked: string;
|
|
323
|
+
ariaColCount: string;
|
|
324
|
+
ariaColIndex: string;
|
|
325
|
+
ariaColSpan: string;
|
|
326
|
+
ariaCurrent: string;
|
|
327
|
+
ariaDescription: string;
|
|
328
|
+
ariaDisabled: string;
|
|
329
|
+
ariaExpanded: string;
|
|
330
|
+
ariaHasPopup: string;
|
|
331
|
+
ariaHidden: string;
|
|
332
|
+
ariaInvalid: string;
|
|
333
|
+
ariaKeyShortcuts: string;
|
|
334
|
+
ariaLabel: string;
|
|
335
|
+
ariaLevel: string;
|
|
336
|
+
ariaLive: string;
|
|
337
|
+
ariaModal: string;
|
|
338
|
+
ariaMultiLine: string;
|
|
339
|
+
ariaMultiSelectable: string;
|
|
340
|
+
ariaOrientation: string;
|
|
341
|
+
ariaPlaceholder: string;
|
|
342
|
+
ariaPosInSet: string;
|
|
343
|
+
ariaPressed: string;
|
|
344
|
+
ariaReadOnly: string;
|
|
345
|
+
ariaRequired: string;
|
|
346
|
+
ariaRoleDescription: string;
|
|
347
|
+
ariaRowCount: string;
|
|
348
|
+
ariaRowIndex: string;
|
|
349
|
+
ariaRowSpan: string;
|
|
350
|
+
ariaSelected: string;
|
|
351
|
+
ariaSetSize: string;
|
|
352
|
+
ariaSort: string;
|
|
353
|
+
ariaValueMax: string;
|
|
354
|
+
ariaValueMin: string;
|
|
355
|
+
ariaValueNow: string;
|
|
356
|
+
ariaValueText: string;
|
|
357
|
+
role: string;
|
|
358
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation;
|
|
359
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
360
|
+
after(...nodes: (string | Node)[]): void;
|
|
361
|
+
before(...nodes: (string | Node)[]): void;
|
|
362
|
+
remove(): void;
|
|
363
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
364
|
+
innerHTML: string;
|
|
365
|
+
readonly nextElementSibling: Element;
|
|
366
|
+
readonly previousElementSibling: Element;
|
|
367
|
+
readonly childElementCount: number;
|
|
368
|
+
readonly children: HTMLCollection;
|
|
369
|
+
readonly firstElementChild: Element;
|
|
370
|
+
readonly lastElementChild: Element;
|
|
371
|
+
append(...nodes: (string | Node)[]): void;
|
|
372
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
373
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
|
374
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
|
375
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
376
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
377
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
378
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
379
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
380
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
381
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
382
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
383
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
384
|
+
readonly assignedSlot: HTMLSlotElement;
|
|
385
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
386
|
+
readonly style: CSSStyleDeclaration;
|
|
387
|
+
contentEditable: string;
|
|
388
|
+
enterKeyHint: string;
|
|
389
|
+
inputMode: string;
|
|
390
|
+
readonly isContentEditable: boolean;
|
|
391
|
+
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
392
|
+
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
393
|
+
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
394
|
+
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
395
|
+
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
396
|
+
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
397
|
+
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
398
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
399
|
+
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
400
|
+
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
401
|
+
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
402
|
+
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
403
|
+
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
404
|
+
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
405
|
+
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
406
|
+
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
407
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
408
|
+
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
409
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
410
|
+
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
411
|
+
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
412
|
+
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
413
|
+
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
414
|
+
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
415
|
+
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
416
|
+
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
417
|
+
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
418
|
+
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
419
|
+
onemptied: (this: GlobalEventHandlers, ev: Event) => any;
|
|
420
|
+
onended: (this: GlobalEventHandlers, ev: Event) => any;
|
|
421
|
+
onerror: OnErrorEventHandlerNonNull;
|
|
422
|
+
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
423
|
+
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
|
|
424
|
+
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
425
|
+
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
426
|
+
oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
|
|
427
|
+
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
428
|
+
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
429
|
+
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
430
|
+
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
431
|
+
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
432
|
+
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
433
|
+
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
434
|
+
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
435
|
+
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
436
|
+
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
437
|
+
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
438
|
+
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
439
|
+
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
440
|
+
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
441
|
+
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
442
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
443
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
444
|
+
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
445
|
+
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
446
|
+
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
447
|
+
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
448
|
+
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
449
|
+
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
450
|
+
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
451
|
+
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
452
|
+
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
453
|
+
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
454
|
+
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
|
|
455
|
+
onratechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
456
|
+
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
457
|
+
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
458
|
+
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
459
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
460
|
+
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
461
|
+
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
462
|
+
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
463
|
+
onselect: (this: GlobalEventHandlers, ev: Event) => any;
|
|
464
|
+
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
465
|
+
onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
466
|
+
onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
467
|
+
onstalled: (this: GlobalEventHandlers, ev: Event) => any;
|
|
468
|
+
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
|
|
469
|
+
onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
470
|
+
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
|
|
471
|
+
ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
472
|
+
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
473
|
+
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
474
|
+
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
475
|
+
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
476
|
+
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
477
|
+
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
478
|
+
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
479
|
+
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
480
|
+
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
481
|
+
onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
|
|
482
|
+
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
483
|
+
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
|
|
484
|
+
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
485
|
+
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
486
|
+
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
|
|
487
|
+
autofocus: boolean;
|
|
488
|
+
readonly dataset: DOMStringMap;
|
|
489
|
+
nonce?: string;
|
|
490
|
+
tabIndex: number;
|
|
491
|
+
blur(): void;
|
|
492
|
+
focus(options?: FocusOptions): void;
|
|
493
|
+
};
|
|
494
|
+
} & (new (...params: any[]) => {
|
|
495
|
+
"__#12335@#globalStyleTag": HTMLStyleElement;
|
|
496
|
+
readonly theme: _descope_sdk_mixins.ThemeOptions;
|
|
497
|
+
readonly styleId: string;
|
|
498
|
+
"__#12335@#_themeResource": Promise<void | Record<string, any>>;
|
|
499
|
+
"__#12335@#fetchTheme"(): Promise<Record<string, any>>;
|
|
500
|
+
readonly "__#12335@#themeResource": Promise<void | Record<string, any>>;
|
|
501
|
+
"__#12335@#loadGlobalStyle"(): Promise<void>;
|
|
502
|
+
"__#12335@#loadComponentsStyle"(): Promise<void>;
|
|
503
|
+
"__#12335@#getFontsConfig"(): Promise<Record<string, {
|
|
504
|
+
url?: string;
|
|
505
|
+
}>>;
|
|
506
|
+
"__#12335@#loadFonts"(): Promise<void>;
|
|
507
|
+
"__#12335@#applyTheme"(): Promise<void>;
|
|
508
|
+
init(): Promise<void>;
|
|
509
|
+
"__#12324@#observeMappings": {};
|
|
510
|
+
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);
|
|
511
|
+
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);
|
|
512
|
+
"__#12323@#isInit": boolean;
|
|
513
|
+
connectedCallback: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void);
|
|
514
|
+
accessKey: string;
|
|
515
|
+
readonly accessKeyLabel: string;
|
|
516
|
+
autocapitalize: string;
|
|
517
|
+
dir: string;
|
|
518
|
+
draggable: boolean;
|
|
519
|
+
hidden: boolean;
|
|
520
|
+
inert: boolean;
|
|
521
|
+
innerText: string;
|
|
522
|
+
lang: string;
|
|
523
|
+
readonly offsetHeight: number;
|
|
524
|
+
readonly offsetLeft: number;
|
|
525
|
+
readonly offsetParent: Element;
|
|
526
|
+
readonly offsetTop: number;
|
|
527
|
+
readonly offsetWidth: number;
|
|
528
|
+
outerText: string;
|
|
529
|
+
popover: string;
|
|
530
|
+
spellcheck: boolean;
|
|
531
|
+
title: string;
|
|
532
|
+
translate: boolean;
|
|
533
|
+
attachInternals(): ElementInternals;
|
|
534
|
+
click(): void;
|
|
535
|
+
hidePopover(): void;
|
|
536
|
+
showPopover(): void;
|
|
537
|
+
togglePopover(force?: boolean): boolean;
|
|
538
|
+
addEventListener<K_17 extends keyof HTMLElementEventMap>(type: K_17, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_17]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
539
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
540
|
+
removeEventListener<K_1_1 extends keyof HTMLElementEventMap>(type: K_1_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
541
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
542
|
+
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): 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
|
+
"__#12322@#logger": {
|
|
840
|
+
error(...data: any[]): void;
|
|
841
|
+
warn(...data: any[]): void;
|
|
842
|
+
info(...data: any[]): void;
|
|
843
|
+
debug(...data: any[]): void;
|
|
844
|
+
};
|
|
845
|
+
"__#12322@#wrapLogger": ((logger: Partial<{
|
|
846
|
+
error(...data: any[]): void;
|
|
847
|
+
warn(...data: any[]): void;
|
|
848
|
+
info(...data: any[]): void;
|
|
849
|
+
debug(...data: any[]): void;
|
|
850
|
+
}>) => {
|
|
851
|
+
error(...data: any[]): void;
|
|
852
|
+
warn(...data: any[]): void;
|
|
853
|
+
info(...data: any[]): void;
|
|
854
|
+
debug(...data: any[]): void;
|
|
855
|
+
}) & ((logger: Partial<{
|
|
856
|
+
error(...data: any[]): void;
|
|
857
|
+
warn(...data: any[]): void;
|
|
858
|
+
info(...data: any[]): void;
|
|
859
|
+
debug(...data: any[]): void;
|
|
860
|
+
}>) => {
|
|
861
|
+
error(...data: any[]): void;
|
|
862
|
+
warn(...data: any[]): void;
|
|
863
|
+
info(...data: any[]): void;
|
|
864
|
+
debug(...data: any[]): void;
|
|
865
|
+
}) & ((logger: Partial<{
|
|
866
|
+
error(...data: any[]): void;
|
|
867
|
+
warn(...data: any[]): void;
|
|
868
|
+
info(...data: any[]): void;
|
|
869
|
+
debug(...data: any[]): void;
|
|
870
|
+
}>) => {
|
|
871
|
+
error(...data: any[]): void;
|
|
872
|
+
warn(...data: any[]): void;
|
|
873
|
+
info(...data: any[]): void;
|
|
874
|
+
debug(...data: any[]): void;
|
|
875
|
+
}) & ((logger: Partial<{
|
|
876
|
+
error(...data: any[]): void;
|
|
877
|
+
warn(...data: any[]): void;
|
|
878
|
+
info(...data: any[]): void;
|
|
879
|
+
debug(...data: any[]): void;
|
|
880
|
+
}>) => {
|
|
881
|
+
error(...data: any[]): void;
|
|
882
|
+
warn(...data: any[]): void;
|
|
883
|
+
info(...data: any[]): void;
|
|
884
|
+
debug(...data: any[]): void;
|
|
885
|
+
}) & ((logger: Partial<{
|
|
886
|
+
error(...data: any[]): void;
|
|
887
|
+
warn(...data: any[]): void;
|
|
888
|
+
info(...data: any[]): void;
|
|
889
|
+
debug(...data: any[]): void;
|
|
890
|
+
}>) => {
|
|
891
|
+
error(...data: any[]): void;
|
|
892
|
+
warn(...data: any[]): void;
|
|
893
|
+
info(...data: any[]): void;
|
|
894
|
+
debug(...data: any[]): void;
|
|
895
|
+
}) & ((logger: Partial<{
|
|
896
|
+
error(...data: any[]): void;
|
|
897
|
+
warn(...data: any[]): void;
|
|
898
|
+
info(...data: any[]): void;
|
|
899
|
+
debug(...data: any[]): void;
|
|
900
|
+
}>) => {
|
|
901
|
+
error(...data: any[]): void;
|
|
902
|
+
warn(...data: any[]): void;
|
|
903
|
+
info(...data: any[]): void;
|
|
904
|
+
debug(...data: any[]): void;
|
|
905
|
+
}) & ((logger: Partial<{
|
|
906
|
+
error(...data: any[]): void;
|
|
907
|
+
warn(...data: any[]): void;
|
|
908
|
+
info(...data: any[]): void;
|
|
909
|
+
debug(...data: any[]): void;
|
|
910
|
+
}>) => {
|
|
911
|
+
error(...data: any[]): void;
|
|
912
|
+
warn(...data: any[]): void;
|
|
913
|
+
info(...data: any[]): void;
|
|
914
|
+
debug(...data: any[]): void;
|
|
915
|
+
}) & ((logger: Partial<{
|
|
916
|
+
error(...data: any[]): void;
|
|
917
|
+
warn(...data: any[]): void;
|
|
918
|
+
info(...data: any[]): void;
|
|
919
|
+
debug(...data: any[]): void;
|
|
920
|
+
}>) => {
|
|
921
|
+
error(...data: any[]): void;
|
|
922
|
+
warn(...data: any[]): void;
|
|
923
|
+
info(...data: any[]): void;
|
|
924
|
+
debug(...data: any[]): void;
|
|
925
|
+
}) & ((logger: Partial<{
|
|
926
|
+
error(...data: any[]): void;
|
|
927
|
+
warn(...data: any[]): void;
|
|
928
|
+
info(...data: any[]): void;
|
|
929
|
+
debug(...data: any[]): void;
|
|
930
|
+
}>) => {
|
|
931
|
+
error(...data: any[]): void;
|
|
932
|
+
warn(...data: any[]): void;
|
|
933
|
+
info(...data: any[]): void;
|
|
934
|
+
debug(...data: any[]): void;
|
|
935
|
+
}) & ((logger: Partial<{
|
|
936
|
+
error(...data: any[]): void;
|
|
937
|
+
warn(...data: any[]): void;
|
|
938
|
+
info(...data: any[]): void;
|
|
939
|
+
debug(...data: any[]): void;
|
|
940
|
+
}>) => {
|
|
941
|
+
error(...data: any[]): void;
|
|
942
|
+
warn(...data: any[]): void;
|
|
943
|
+
info(...data: any[]): void;
|
|
944
|
+
debug(...data: any[]): void;
|
|
945
|
+
}) & ((logger: Partial<{
|
|
946
|
+
error(...data: any[]): void;
|
|
947
|
+
warn(...data: any[]): void;
|
|
948
|
+
info(...data: any[]): void;
|
|
949
|
+
debug(...data: any[]): void;
|
|
950
|
+
}>) => {
|
|
951
|
+
error(...data: any[]): void;
|
|
952
|
+
warn(...data: any[]): void;
|
|
953
|
+
info(...data: any[]): void;
|
|
954
|
+
debug(...data: any[]): void;
|
|
955
|
+
}) & ((logger: Partial<{
|
|
956
|
+
error(...data: any[]): void;
|
|
957
|
+
warn(...data: any[]): void;
|
|
958
|
+
info(...data: any[]): void;
|
|
959
|
+
debug(...data: any[]): void;
|
|
960
|
+
}>) => {
|
|
961
|
+
error(...data: any[]): void;
|
|
962
|
+
warn(...data: any[]): void;
|
|
963
|
+
info(...data: any[]): void;
|
|
964
|
+
debug(...data: any[]): void;
|
|
965
|
+
}) & ((logger: Partial<{
|
|
966
|
+
error(...data: any[]): void;
|
|
967
|
+
warn(...data: any[]): void;
|
|
968
|
+
info(...data: any[]): void;
|
|
969
|
+
debug(...data: any[]): void;
|
|
970
|
+
}>) => {
|
|
971
|
+
error(...data: any[]): void;
|
|
972
|
+
warn(...data: any[]): void;
|
|
973
|
+
info(...data: any[]): void;
|
|
974
|
+
debug(...data: any[]): void;
|
|
975
|
+
});
|
|
976
|
+
get logger(): {
|
|
977
|
+
error(...data: any[]): void;
|
|
978
|
+
warn(...data: any[]): void;
|
|
979
|
+
info(...data: any[]): void;
|
|
980
|
+
debug(...data: any[]): void;
|
|
981
|
+
};
|
|
982
|
+
set logger(logger: Partial<{
|
|
983
|
+
error(...data: any[]): void;
|
|
984
|
+
warn(...data: any[]): void;
|
|
985
|
+
info(...data: any[]): void;
|
|
986
|
+
debug(...data: any[]): void;
|
|
987
|
+
}>);
|
|
988
|
+
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);
|
|
989
|
+
contentRootElement: HTMLElement;
|
|
990
|
+
rootElement: HTMLElement;
|
|
991
|
+
readonly config: any;
|
|
992
|
+
"__#12326@#_configResource": any;
|
|
993
|
+
"__#12326@#fetchConfig": (() => Promise<{
|
|
994
|
+
projectConfig: _descope_sdk_mixins.ProjectConfiguration;
|
|
995
|
+
executionContext: {
|
|
996
|
+
geo: string;
|
|
997
|
+
};
|
|
998
|
+
}>) & (() => Promise<{
|
|
999
|
+
projectConfig: _descope_sdk_mixins.ProjectConfiguration;
|
|
1000
|
+
executionContext: {
|
|
1001
|
+
geo: string;
|
|
1002
|
+
};
|
|
1003
|
+
}>);
|
|
1004
|
+
fetchStaticResource: (<F extends "text" | "json">(filename: string, format: F) => Promise<{
|
|
1005
|
+
body: F extends "json" ? Record<string, any> : string;
|
|
1006
|
+
headers: Record<string, string>;
|
|
1007
|
+
}>) & (<F_1 extends "text" | "json">(filename: string, format: F_1) => Promise<{
|
|
1008
|
+
body: F_1 extends "json" ? Record<string, any> : string;
|
|
1009
|
+
headers: Record<string, string>;
|
|
1010
|
+
}>) & (<F_2 extends "text" | "json">(filename: string, format: F_2) => Promise<{
|
|
1011
|
+
body: F_2 extends "json" ? Record<string, any> : string;
|
|
1012
|
+
headers: Record<string, string>;
|
|
1013
|
+
}>);
|
|
1014
|
+
readonly baseStaticUrl: string;
|
|
1015
|
+
readonly baseUrl: string;
|
|
1016
|
+
readonly projectId: string;
|
|
1017
|
+
"__#12325@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
|
|
1018
|
+
"__#12329@#errorCbsSym": symbol;
|
|
1019
|
+
"__#12329@#loadCbsSym": symbol;
|
|
1020
|
+
"__#12329@#getComponentsVersion"(): Promise<any>;
|
|
1021
|
+
"__#12329@#exposeAlternateEvents"(scriptEle: HTMLScriptElement): void;
|
|
1022
|
+
"__#12329@#handleFallbackScript"(errorCbs: ((error: string) => void)[], loadCbs: (() => void)[]): Promise<void>;
|
|
1023
|
+
"__#12329@#registerEvents"(scriptEle: HTMLScriptElement): void;
|
|
1024
|
+
"__#12329@#getDescopeUiLoadingScript"(): Promise<HTMLElement>;
|
|
1025
|
+
"__#12329@#descopeUi": Promise<any>;
|
|
1026
|
+
readonly descopeUi: Promise<any>;
|
|
1027
|
+
"__#12329@#loadDescopeUiComponent"(componentName: string): Promise<any>;
|
|
1028
|
+
loadDescopeUiComponents(templateOrComponentNames: string[] | HTMLTemplateElement): Promise<any[]>;
|
|
1029
|
+
"__#12329@#getDescopeUi"(): Promise<unknown>;
|
|
1030
|
+
}) & {
|
|
1031
|
+
new (): HTMLElement;
|
|
1032
|
+
prototype: HTMLElement;
|
|
1033
|
+
};
|
|
1034
|
+
declare class BaseDescopeWc extends BaseClass {
|
|
163
1035
|
#private;
|
|
164
|
-
logger: ILogger;
|
|
165
1036
|
static get observedAttributes(): string[];
|
|
166
1037
|
static sdkConfigOverrides: Partial<SdkConfig>;
|
|
167
1038
|
loggerWrapper: {
|
|
@@ -178,16 +1049,12 @@ declare class BaseDescopeWc extends HTMLElement {
|
|
|
178
1049
|
sdk: ReturnType<typeof createSdk>;
|
|
179
1050
|
descopeUI: Promise<DescopeUI>;
|
|
180
1051
|
constructor(updateExecState: FlowStateUpdateFn);
|
|
181
|
-
get projectId(): string;
|
|
182
1052
|
get flowId(): string;
|
|
183
1053
|
get client(): Record<string, any>;
|
|
184
|
-
get baseUrl(): string;
|
|
185
|
-
get baseStaticUrl(): string;
|
|
186
1054
|
get tenant(): string;
|
|
187
1055
|
get redirectUrl(): string;
|
|
188
1056
|
get debug(): boolean;
|
|
189
1057
|
get locale(): string;
|
|
190
|
-
get theme(): ThemeOptions;
|
|
191
1058
|
get autoFocus(): AutoFocusOptions;
|
|
192
1059
|
get validateOnBlur(): boolean;
|
|
193
1060
|
get storeLastAuthenticatedUser(): boolean;
|
|
@@ -206,7 +1073,7 @@ declare class BaseDescopeWc extends HTMLElement {
|
|
|
206
1073
|
getFlowConfig(): Promise<FlowConfig>;
|
|
207
1074
|
getTargetLocales(): Promise<string[]>;
|
|
208
1075
|
static descopeUI: any;
|
|
209
|
-
|
|
1076
|
+
init(): Promise<void>;
|
|
210
1077
|
disconnectedCallback(): void;
|
|
211
1078
|
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
212
1079
|
}
|
|
@@ -222,12 +1089,11 @@ declare class DescopeWc extends BaseDescopeWc {
|
|
|
222
1089
|
stepState: State<StepState>;
|
|
223
1090
|
constructor();
|
|
224
1091
|
loadSdkScripts(): Promise<void>;
|
|
225
|
-
|
|
1092
|
+
init(): Promise<void>;
|
|
226
1093
|
disconnectedCallback(): void;
|
|
227
1094
|
getHtmlFilenameWithLocale(locale: string, screenId: string): Promise<string>;
|
|
228
1095
|
getPageContent(htmlUrl: string, htmlLocaleUrl: string): Promise<string>;
|
|
229
1096
|
onFlowChange(currentState: FlowState, prevState: FlowState, isChanged: IsChanged<FlowState>): Promise<void>;
|
|
230
|
-
loadDescopeUiComponents(clone: DocumentFragment): Promise<void>;
|
|
231
1097
|
onStepChange(currentState: StepState, prevState: StepState): Promise<void>;
|
|
232
1098
|
}
|
|
233
1099
|
|