@descope/sdk-mixins 0.24.1 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +7 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/mixins/componentsConditionsMixin/applier.js +71 -0
- package/dist/cjs/mixins/componentsConditionsMixin/applier.js.map +1 -0
- package/dist/cjs/mixins/componentsConditionsMixin/componentsConditionsMixin.js +103 -0
- package/dist/cjs/mixins/componentsConditionsMixin/componentsConditionsMixin.js.map +1 -0
- package/dist/cjs/mixins/flowIdMixin.js +17 -0
- package/dist/cjs/mixins/flowIdMixin.js.map +1 -0
- package/dist/cjs/mixins/telemetryMixin/constants.js +14 -0
- package/dist/cjs/mixins/telemetryMixin/constants.js.map +1 -0
- package/dist/cjs/mixins/telemetryMixin/index.js +8 -0
- package/dist/cjs/mixins/telemetryMixin/index.js.map +1 -0
- package/dist/cjs/mixins/telemetryMixin/telemetryMixin.js +246 -0
- package/dist/cjs/mixins/telemetryMixin/telemetryMixin.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/mixins/componentsConditionsMixin/applier.js +68 -0
- package/dist/esm/mixins/componentsConditionsMixin/applier.js.map +1 -0
- package/dist/esm/mixins/componentsConditionsMixin/componentsConditionsMixin.js +101 -0
- package/dist/esm/mixins/componentsConditionsMixin/componentsConditionsMixin.js.map +1 -0
- package/dist/esm/mixins/flowIdMixin.js +15 -0
- package/dist/esm/mixins/flowIdMixin.js.map +1 -0
- package/dist/esm/mixins/telemetryMixin/constants.js +9 -0
- package/dist/esm/mixins/telemetryMixin/constants.js.map +1 -0
- package/dist/esm/mixins/telemetryMixin/index.js +2 -0
- package/dist/esm/mixins/telemetryMixin/index.js.map +1 -0
- package/dist/esm/mixins/telemetryMixin/telemetryMixin.js +244 -0
- package/dist/esm/mixins/telemetryMixin/telemetryMixin.js.map +1 -0
- package/dist/index.d.ts +1176 -334
- package/dist/types/index.d.ts +3 -0
- package/dist/types/mixins/baseUrlMixin.d.ts +1 -0
- package/dist/types/mixins/componentsConditionsMixin/applier.d.ts +4 -0
- package/dist/types/mixins/componentsConditionsMixin/applier.test.d.ts +1 -0
- package/dist/types/mixins/componentsConditionsMixin/componentsConditionsMixin.d.ts +379 -0
- package/dist/types/mixins/componentsConditionsMixin/componentsConditionsMixin.test.d.ts +1 -0
- package/dist/types/mixins/componentsConditionsMixin/index.d.ts +2 -0
- package/dist/types/mixins/configMixin/configMixin.d.ts +15 -14
- package/dist/types/mixins/configMixin/types.d.ts +27 -0
- package/dist/types/mixins/cookieConfigMixin.d.ts +1 -0
- package/dist/types/mixins/createStateManagementMixin.d.ts +3 -2
- package/dist/types/mixins/createValidateAttributesMixin/createValidateAttributesMixin.d.ts +6 -5
- package/dist/types/mixins/cspNonceMixin.d.ts +6 -5
- package/dist/types/mixins/debuggerMixin/debugger-wc.d.ts +6 -5
- package/dist/types/mixins/debuggerMixin/debuggerMixin.d.ts +9 -8
- package/dist/types/mixins/descopeUiMixin/descopeUiMixin.d.ts +20 -19
- package/dist/types/mixins/fetchWidgetPagesMixin/createFetchWidgetPagesMixin.d.ts +16 -15
- package/dist/types/mixins/flowIdMixin.d.ts +343 -0
- package/dist/types/mixins/flowInputMixin/flowInputMixin.d.ts +42 -41
- package/dist/types/mixins/formMixin.d.ts +3 -2
- package/dist/types/mixins/initElementMixin.d.ts +6 -5
- package/dist/types/mixins/initLifecycleMixin.d.ts +2 -1
- package/dist/types/mixins/injectNpmLibMixin/injectNpmLibMixin.d.ts +3 -2
- package/dist/types/mixins/injectStyleMixin.d.ts +6 -5
- package/dist/types/mixins/localeMixin/localeMixin.d.ts +1 -0
- package/dist/types/mixins/loggerMixin/loggerMixin.d.ts +3 -2
- package/dist/types/mixins/modalMixin/modalMixin.d.ts +24 -23
- package/dist/types/mixins/notificationsMixin/notificationsMixin.d.ts +24 -23
- package/dist/types/mixins/observeAttributesMixin/observeAttributesMixin.d.ts +5 -4
- package/dist/types/mixins/projectIdMixin.d.ts +6 -5
- package/dist/types/mixins/resetMixin.d.ts +7 -6
- package/dist/types/mixins/staticResourcesMixin/staticResourcesMixin.d.ts +11 -10
- package/dist/types/mixins/telemetryMixin/constants.d.ts +4 -0
- package/dist/types/mixins/telemetryMixin/index.d.ts +1 -0
- package/dist/types/mixins/telemetryMixin/telemetryMixin.d.ts +411 -0
- package/dist/types/mixins/tenantIdMixin.d.ts +6 -5
- package/dist/types/mixins/themeMixin/themeMixin.d.ts +41 -40
- package/dist/types/mixins/widgetConfigMixin/widgetConfigMixin.d.ts +15 -14
- package/dist/types/mixins/widgetIdMixin.d.ts +6 -5
- package/package.json +13 -3
package/dist/types/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ declare global {
|
|
|
2
2
|
interface HTMLElement {
|
|
3
3
|
attributeChangedCallback(attrName: string, oldValue: string | null, newValue: string | null): void;
|
|
4
4
|
connectedCallback(): void;
|
|
5
|
+
disconnectedCallback(): void;
|
|
5
6
|
}
|
|
6
7
|
}
|
|
7
8
|
export * from './mixins/configMixin';
|
|
@@ -29,4 +30,6 @@ export * from './mixins/cookieConfigMixin';
|
|
|
29
30
|
export * from './mixins/injectNpmLibMixin';
|
|
30
31
|
export * from './mixins/injectStyleMixin';
|
|
31
32
|
export * from './mixins/cspNonceMixin';
|
|
33
|
+
export * from './mixins/telemetryMixin';
|
|
32
34
|
export * from './mixins/flowInputMixin';
|
|
35
|
+
export * from './mixins/componentsConditionsMixin';
|
|
@@ -31,6 +31,7 @@ export declare const baseUrlMixin: <T extends CustomElementConstructor>(supercla
|
|
|
31
31
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
32
32
|
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
33
33
|
connectedCallback(): void;
|
|
34
|
+
disconnectedCallback(): void;
|
|
34
35
|
readonly attributes: NamedNodeMap;
|
|
35
36
|
readonly classList: DOMTokenList;
|
|
36
37
|
className: string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Applies the componentId -> action map to the matching elements under root. */
|
|
2
|
+
export declare function applyComponentsState(root: ParentNode | null | undefined, componentsState: Record<string, string> | undefined): void;
|
|
3
|
+
/** Reverts a previously-applied componentId -> action map. */
|
|
4
|
+
export declare function clearComponentsState(root: ParentNode | null | undefined, componentsState: Record<string, string> | undefined): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
type ComponentsState = Record<string, string>;
|
|
2
|
+
export interface ConditionsHttpClient {
|
|
3
|
+
get: (path: string) => Promise<Response>;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Shared widget mixin that fetches the server-computed component conditions
|
|
7
|
+
* verdict for the current user and applies hide/disable/read-only to the widget
|
|
8
|
+
* DOM. Server-side only - no client-side re-evaluation. Compose it LAST in a
|
|
9
|
+
* widget's initMixin so its init wraps the widget's render.
|
|
10
|
+
*
|
|
11
|
+
* It reuses the widget's existing web-js-sdk httpClient (`this.api.httpClient`),
|
|
12
|
+
* so `apiMixin` must be composed and `createSdk` must return `httpClient`. A
|
|
13
|
+
* missing client is a wiring mistake, surfaced loudly (throw) rather than
|
|
14
|
+
* silently rendering everything; a runtime fetch failure fails open instead.
|
|
15
|
+
*/
|
|
16
|
+
export declare const componentsConditionsMixin: <T extends CustomElementConstructor>(superclass: T) => {
|
|
17
|
+
new (...rest: any[]): {
|
|
18
|
+
"__#20866@#statePromise"?: Promise<ComponentsState>;
|
|
19
|
+
"__#20866@#appliedState": ComponentsState;
|
|
20
|
+
"__#20866@#requireHttpClient"(): ConditionsHttpClient;
|
|
21
|
+
"__#20866@#fetchComponentsState"(httpClient: ConditionsHttpClient): Promise<ComponentsState>;
|
|
22
|
+
init(): Promise<void>;
|
|
23
|
+
onWidgetRootReady(): Promise<void>;
|
|
24
|
+
/**
|
|
25
|
+
* Re-fetch and re-apply after the widget mutates data the conditions read
|
|
26
|
+
* (e.g. a profile save). Public hook for the upcoming re-evaluate-on-mutation
|
|
27
|
+
* work - no widget wires it to its mutating flows yet.
|
|
28
|
+
*/
|
|
29
|
+
reevaluateComponentsState(): Promise<void>;
|
|
30
|
+
contentRootElement: HTMLElement;
|
|
31
|
+
rootElement: HTMLElement;
|
|
32
|
+
injectStyle(cssString: string, { prepend }?: {
|
|
33
|
+
prepend?: boolean;
|
|
34
|
+
}): {
|
|
35
|
+
styleEle: HTMLStyleElement;
|
|
36
|
+
ref: HTMLElement | ShadowRoot;
|
|
37
|
+
replaceSync(cssString: string): void;
|
|
38
|
+
readonly cssRules: CSSRuleList;
|
|
39
|
+
} | CSSStyleSheet;
|
|
40
|
+
nonce: string;
|
|
41
|
+
"__#20852@#setNonce"(): void;
|
|
42
|
+
"__#20847@#observeMappings": {};
|
|
43
|
+
observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
|
|
44
|
+
observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
|
|
45
|
+
"__#20846@#isInit": boolean;
|
|
46
|
+
connectedCallback: (() => void) & (() => void) & (() => void);
|
|
47
|
+
accessKey: string;
|
|
48
|
+
readonly accessKeyLabel: string;
|
|
49
|
+
autocapitalize: string;
|
|
50
|
+
dir: string;
|
|
51
|
+
draggable: boolean;
|
|
52
|
+
hidden: boolean;
|
|
53
|
+
inert: boolean;
|
|
54
|
+
innerText: string;
|
|
55
|
+
lang: string;
|
|
56
|
+
readonly offsetHeight: number;
|
|
57
|
+
readonly offsetLeft: number;
|
|
58
|
+
readonly offsetParent: Element;
|
|
59
|
+
readonly offsetTop: number;
|
|
60
|
+
readonly offsetWidth: number;
|
|
61
|
+
outerText: string;
|
|
62
|
+
popover: string;
|
|
63
|
+
spellcheck: boolean;
|
|
64
|
+
title: string;
|
|
65
|
+
translate: boolean;
|
|
66
|
+
attachInternals(): ElementInternals;
|
|
67
|
+
click(): void;
|
|
68
|
+
hidePopover(): void;
|
|
69
|
+
showPopover(): void;
|
|
70
|
+
togglePopover(force?: boolean): boolean;
|
|
71
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
72
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
73
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
74
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
75
|
+
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
76
|
+
disconnectedCallback(): void;
|
|
77
|
+
readonly attributes: NamedNodeMap;
|
|
78
|
+
readonly classList: DOMTokenList;
|
|
79
|
+
className: string;
|
|
80
|
+
readonly clientHeight: number;
|
|
81
|
+
readonly clientLeft: number;
|
|
82
|
+
readonly clientTop: number;
|
|
83
|
+
readonly clientWidth: number;
|
|
84
|
+
id: string;
|
|
85
|
+
readonly localName: string;
|
|
86
|
+
readonly namespaceURI: string;
|
|
87
|
+
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
88
|
+
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
89
|
+
outerHTML: string;
|
|
90
|
+
readonly ownerDocument: Document;
|
|
91
|
+
readonly part: DOMTokenList;
|
|
92
|
+
readonly prefix: string;
|
|
93
|
+
readonly scrollHeight: number;
|
|
94
|
+
scrollLeft: number;
|
|
95
|
+
scrollTop: number;
|
|
96
|
+
readonly scrollWidth: number;
|
|
97
|
+
readonly shadowRoot: ShadowRoot;
|
|
98
|
+
slot: string;
|
|
99
|
+
readonly tagName: string;
|
|
100
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
101
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
102
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
103
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
104
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
|
105
|
+
closest<E extends Element = Element>(selectors: string): E;
|
|
106
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
107
|
+
getAttribute(qualifiedName: string): string;
|
|
108
|
+
getAttributeNS(namespace: string, localName: string): string;
|
|
109
|
+
getAttributeNames(): string[];
|
|
110
|
+
getAttributeNode(qualifiedName: string): Attr;
|
|
111
|
+
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
112
|
+
getBoundingClientRect(): DOMRect;
|
|
113
|
+
getClientRects(): DOMRectList;
|
|
114
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
115
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
116
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
117
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
118
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
119
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
120
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
121
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
122
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
123
|
+
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
124
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
125
|
+
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
126
|
+
hasAttributes(): boolean;
|
|
127
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
128
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
129
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
130
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
131
|
+
matches(selectors: string): boolean;
|
|
132
|
+
releasePointerCapture(pointerId: number): void;
|
|
133
|
+
removeAttribute(qualifiedName: string): void;
|
|
134
|
+
removeAttributeNS(namespace: string, localName: string): void;
|
|
135
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
136
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
137
|
+
requestPointerLock(): void;
|
|
138
|
+
scroll(options?: ScrollToOptions): void;
|
|
139
|
+
scroll(x: number, y: number): void;
|
|
140
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
141
|
+
scrollBy(x: number, y: number): void;
|
|
142
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
143
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
144
|
+
scrollTo(x: number, y: number): void;
|
|
145
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
146
|
+
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
147
|
+
setAttributeNode(attr: Attr): Attr;
|
|
148
|
+
setAttributeNodeNS(attr: Attr): Attr;
|
|
149
|
+
setPointerCapture(pointerId: number): void;
|
|
150
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
151
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
152
|
+
readonly baseURI: string;
|
|
153
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
154
|
+
readonly firstChild: ChildNode;
|
|
155
|
+
readonly isConnected: boolean;
|
|
156
|
+
readonly lastChild: ChildNode;
|
|
157
|
+
readonly nextSibling: ChildNode;
|
|
158
|
+
readonly nodeName: string;
|
|
159
|
+
readonly nodeType: number;
|
|
160
|
+
nodeValue: string;
|
|
161
|
+
readonly parentElement: HTMLElement;
|
|
162
|
+
readonly parentNode: ParentNode;
|
|
163
|
+
readonly previousSibling: ChildNode;
|
|
164
|
+
textContent: string;
|
|
165
|
+
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
166
|
+
cloneNode(deep?: boolean): Node;
|
|
167
|
+
compareDocumentPosition(other: Node): number;
|
|
168
|
+
contains(other: Node): boolean;
|
|
169
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
170
|
+
hasChildNodes(): boolean;
|
|
171
|
+
insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
|
|
172
|
+
isDefaultNamespace(namespace: string): boolean;
|
|
173
|
+
isEqualNode(otherNode: Node): boolean;
|
|
174
|
+
isSameNode(otherNode: Node): boolean;
|
|
175
|
+
lookupNamespaceURI(prefix: string): string;
|
|
176
|
+
lookupPrefix(namespace: string): string;
|
|
177
|
+
normalize(): void;
|
|
178
|
+
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
179
|
+
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
180
|
+
readonly ELEMENT_NODE: 1;
|
|
181
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
182
|
+
readonly TEXT_NODE: 3;
|
|
183
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
184
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
185
|
+
readonly ENTITY_NODE: 6;
|
|
186
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
187
|
+
readonly COMMENT_NODE: 8;
|
|
188
|
+
readonly DOCUMENT_NODE: 9;
|
|
189
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
190
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
191
|
+
readonly NOTATION_NODE: 12;
|
|
192
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
193
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
194
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
195
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
196
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
197
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
198
|
+
dispatchEvent(event: Event): boolean;
|
|
199
|
+
ariaAtomic: string;
|
|
200
|
+
ariaAutoComplete: string;
|
|
201
|
+
ariaBusy: string;
|
|
202
|
+
ariaChecked: string;
|
|
203
|
+
ariaColCount: string;
|
|
204
|
+
ariaColIndex: string;
|
|
205
|
+
ariaColSpan: string;
|
|
206
|
+
ariaCurrent: string;
|
|
207
|
+
ariaDescription: string;
|
|
208
|
+
ariaDisabled: string;
|
|
209
|
+
ariaExpanded: string;
|
|
210
|
+
ariaHasPopup: string;
|
|
211
|
+
ariaHidden: string;
|
|
212
|
+
ariaInvalid: string;
|
|
213
|
+
ariaKeyShortcuts: string;
|
|
214
|
+
ariaLabel: string;
|
|
215
|
+
ariaLevel: string;
|
|
216
|
+
ariaLive: string;
|
|
217
|
+
ariaModal: string;
|
|
218
|
+
ariaMultiLine: string;
|
|
219
|
+
ariaMultiSelectable: string;
|
|
220
|
+
ariaOrientation: string;
|
|
221
|
+
ariaPlaceholder: string;
|
|
222
|
+
ariaPosInSet: string;
|
|
223
|
+
ariaPressed: string;
|
|
224
|
+
ariaReadOnly: string;
|
|
225
|
+
ariaRequired: string;
|
|
226
|
+
ariaRoleDescription: string;
|
|
227
|
+
ariaRowCount: string;
|
|
228
|
+
ariaRowIndex: string;
|
|
229
|
+
ariaRowSpan: string;
|
|
230
|
+
ariaSelected: string;
|
|
231
|
+
ariaSetSize: string;
|
|
232
|
+
ariaSort: string;
|
|
233
|
+
ariaValueMax: string;
|
|
234
|
+
ariaValueMin: string;
|
|
235
|
+
ariaValueNow: string;
|
|
236
|
+
ariaValueText: string;
|
|
237
|
+
role: string;
|
|
238
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation;
|
|
239
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
240
|
+
after(...nodes: (string | Node)[]): void;
|
|
241
|
+
before(...nodes: (string | Node)[]): void;
|
|
242
|
+
remove(): void;
|
|
243
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
244
|
+
innerHTML: string;
|
|
245
|
+
readonly nextElementSibling: Element;
|
|
246
|
+
readonly previousElementSibling: Element;
|
|
247
|
+
readonly childElementCount: number;
|
|
248
|
+
readonly children: HTMLCollection;
|
|
249
|
+
readonly firstElementChild: Element;
|
|
250
|
+
readonly lastElementChild: Element;
|
|
251
|
+
append(...nodes: (string | Node)[]): void;
|
|
252
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
253
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
|
254
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
|
255
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
256
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
257
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
258
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
259
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
260
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
261
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
262
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
263
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
264
|
+
readonly assignedSlot: HTMLSlotElement;
|
|
265
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
266
|
+
readonly style: CSSStyleDeclaration;
|
|
267
|
+
contentEditable: string;
|
|
268
|
+
enterKeyHint: string;
|
|
269
|
+
inputMode: string;
|
|
270
|
+
readonly isContentEditable: boolean;
|
|
271
|
+
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
272
|
+
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
273
|
+
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
274
|
+
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
275
|
+
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
276
|
+
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
277
|
+
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
278
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
279
|
+
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
280
|
+
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
281
|
+
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
282
|
+
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
283
|
+
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
284
|
+
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
285
|
+
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
286
|
+
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
287
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
288
|
+
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
289
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
290
|
+
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
291
|
+
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
292
|
+
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
293
|
+
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
294
|
+
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
295
|
+
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
296
|
+
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
297
|
+
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
298
|
+
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
299
|
+
onemptied: (this: GlobalEventHandlers, ev: Event) => any;
|
|
300
|
+
onended: (this: GlobalEventHandlers, ev: Event) => any;
|
|
301
|
+
onerror: OnErrorEventHandlerNonNull;
|
|
302
|
+
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
303
|
+
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
|
|
304
|
+
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
305
|
+
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
306
|
+
oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
|
|
307
|
+
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
308
|
+
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
309
|
+
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
310
|
+
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
311
|
+
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
312
|
+
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
313
|
+
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
314
|
+
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
315
|
+
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
316
|
+
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
317
|
+
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
318
|
+
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
319
|
+
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
320
|
+
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
321
|
+
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
322
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
323
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
324
|
+
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
325
|
+
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
326
|
+
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
327
|
+
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
328
|
+
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
329
|
+
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
330
|
+
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
331
|
+
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
332
|
+
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
333
|
+
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
334
|
+
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
|
|
335
|
+
onratechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
336
|
+
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
337
|
+
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
338
|
+
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
339
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
340
|
+
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
341
|
+
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
342
|
+
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
343
|
+
onselect: (this: GlobalEventHandlers, ev: Event) => any;
|
|
344
|
+
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
345
|
+
onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
346
|
+
onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
347
|
+
onstalled: (this: GlobalEventHandlers, ev: Event) => any;
|
|
348
|
+
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
|
|
349
|
+
onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
350
|
+
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
|
|
351
|
+
ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
352
|
+
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
353
|
+
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
354
|
+
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
355
|
+
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
356
|
+
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
357
|
+
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
358
|
+
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
359
|
+
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
360
|
+
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
361
|
+
onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
|
|
362
|
+
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
363
|
+
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
|
|
364
|
+
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
365
|
+
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
366
|
+
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
|
|
367
|
+
autofocus: boolean;
|
|
368
|
+
readonly dataset: DOMStringMap;
|
|
369
|
+
tabIndex: number;
|
|
370
|
+
blur(): void;
|
|
371
|
+
focus(options?: FocusOptions): void;
|
|
372
|
+
"__#20845@#logger": import("../loggerMixin").Logger;
|
|
373
|
+
"__#20845@#wrapLogger": ((logger: Partial<import("../loggerMixin").Logger>) => import("../loggerMixin").Logger) & ((logger: Partial<import("../loggerMixin").Logger>) => import("../loggerMixin").Logger);
|
|
374
|
+
get logger(): import("../loggerMixin").Logger;
|
|
375
|
+
set logger(logger: Partial<import("../loggerMixin").Logger>);
|
|
376
|
+
onLogEvent: ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void);
|
|
377
|
+
};
|
|
378
|
+
} & T;
|
|
379
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,10 +3,10 @@ export declare const configMixin: <T extends CustomElementConstructor>(superclas
|
|
|
3
3
|
new (...params: any[]): {
|
|
4
4
|
init(): Promise<void>;
|
|
5
5
|
readonly config: Promise<Config>;
|
|
6
|
-
"__#
|
|
7
|
-
"__#
|
|
8
|
-
"__#
|
|
9
|
-
"__#
|
|
6
|
+
"__#20851@#configCacheClear"(): void;
|
|
7
|
+
"__#20851@#_configResource": Promise<Config>;
|
|
8
|
+
"__#20851@#fetchConfig": () => Promise<Config>;
|
|
9
|
+
"__#20846@#isInit": boolean;
|
|
10
10
|
connectedCallback: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void);
|
|
11
11
|
accessKey: string;
|
|
12
12
|
readonly accessKeyLabel: string;
|
|
@@ -37,6 +37,7 @@ export declare const configMixin: <T extends CustomElementConstructor>(superclas
|
|
|
37
37
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
38
38
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
39
39
|
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
40
|
+
disconnectedCallback(): void;
|
|
40
41
|
readonly attributes: NamedNodeMap;
|
|
41
42
|
readonly classList: DOMTokenList;
|
|
42
43
|
className: string;
|
|
@@ -333,27 +334,27 @@ export declare const configMixin: <T extends CustomElementConstructor>(superclas
|
|
|
333
334
|
tabIndex: number;
|
|
334
335
|
blur(): void;
|
|
335
336
|
focus(options?: FocusOptions): void;
|
|
336
|
-
"__#
|
|
337
|
+
"__#20850@#callbacks": Map<string, () => void>;
|
|
337
338
|
onReset(sectionId: string, callback: () => void | Promise<void>): () => void;
|
|
338
339
|
reset(...sectionIds: string[]): Promise<void>;
|
|
339
|
-
"__#
|
|
340
|
-
"__#
|
|
340
|
+
"__#20848@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
|
|
341
|
+
"__#20847@#observeMappings": {} & {};
|
|
341
342
|
observeAttribute: ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any);
|
|
342
343
|
observeAttributes: ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void);
|
|
343
|
-
"__#
|
|
344
|
-
"__#
|
|
344
|
+
"__#20845@#logger": import("../loggerMixin").Logger;
|
|
345
|
+
"__#20845@#wrapLogger": ((logger: Partial<import("../loggerMixin").Logger>) => import("../loggerMixin").Logger) & ((logger: Partial<import("../loggerMixin").Logger>) => import("../loggerMixin").Logger) & ((logger: Partial<import("../loggerMixin").Logger>) => import("../loggerMixin").Logger) & ((logger: Partial<import("../loggerMixin").Logger>) => import("../loggerMixin").Logger) & ((logger: Partial<import("../loggerMixin").Logger>) => import("../loggerMixin").Logger);
|
|
345
346
|
get logger(): import("../loggerMixin").Logger;
|
|
346
347
|
set logger(logger: Partial<import("../loggerMixin").Logger>);
|
|
347
348
|
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);
|
|
348
|
-
"__#
|
|
349
|
-
"__#
|
|
350
|
-
"__#
|
|
351
|
-
"__#
|
|
349
|
+
"__#20849@#lastBaseUrl"?: string;
|
|
350
|
+
"__#20849@#workingBaseUrl"?: string;
|
|
351
|
+
"__#20849@#failedUrls": Set<string>;
|
|
352
|
+
"__#20849@#getResourceUrls"(filename: string): (URL & {
|
|
352
353
|
baseUrl: string;
|
|
353
354
|
}) | (URL & {
|
|
354
355
|
baseUrl: string;
|
|
355
356
|
})[];
|
|
356
|
-
"__#
|
|
357
|
+
"__#20849@#createResourceUrl"(filename: string, baseUrl: string): URL & {
|
|
357
358
|
baseUrl: string;
|
|
358
359
|
};
|
|
359
360
|
fetchStaticResource<F extends "text" | "json">(filename: string, format: F): Promise<{
|
|
@@ -54,6 +54,32 @@ export type WidgetConfig = {
|
|
|
54
54
|
version?: number;
|
|
55
55
|
targetLocales?: string[];
|
|
56
56
|
};
|
|
57
|
+
export type TelemetryConfig = {
|
|
58
|
+
enabled: boolean;
|
|
59
|
+
version?: string;
|
|
60
|
+
expiration?: number;
|
|
61
|
+
rumConfig: {
|
|
62
|
+
sessionSampleRate: number;
|
|
63
|
+
applicationId: string;
|
|
64
|
+
identityPoolId: string;
|
|
65
|
+
guestRoleArn?: string;
|
|
66
|
+
region: string;
|
|
67
|
+
endpoint?: string;
|
|
68
|
+
};
|
|
69
|
+
capture?: {
|
|
70
|
+
console?: boolean | {
|
|
71
|
+
levels?: ('log' | 'info' | 'warn' | 'error' | 'debug')[];
|
|
72
|
+
};
|
|
73
|
+
network?: boolean | {
|
|
74
|
+
urlFilter?: RegExp | RegExp[];
|
|
75
|
+
};
|
|
76
|
+
navigation?: boolean;
|
|
77
|
+
dom?: boolean | {
|
|
78
|
+
rootElement?: string | HTMLElement;
|
|
79
|
+
throttleMs?: number;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
57
83
|
export type ProjectConfiguration = {
|
|
58
84
|
componentsVersion: string;
|
|
59
85
|
componentsVersionSri?: string;
|
|
@@ -65,6 +91,7 @@ export type ProjectConfiguration = {
|
|
|
65
91
|
[key: string]: WidgetConfig;
|
|
66
92
|
};
|
|
67
93
|
styles: Record<string, Style>;
|
|
94
|
+
telemetry?: TelemetryConfig;
|
|
68
95
|
};
|
|
69
96
|
export type Config = {
|
|
70
97
|
projectConfig: ProjectConfiguration;
|
|
@@ -31,6 +31,7 @@ export declare const cookieConfigMixin: <T extends CustomElementConstructor>(sup
|
|
|
31
31
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
32
32
|
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
33
33
|
connectedCallback(): void;
|
|
34
|
+
disconnectedCallback(): void;
|
|
34
35
|
readonly attributes: NamedNodeMap;
|
|
35
36
|
readonly classList: DOMTokenList;
|
|
36
37
|
className: string;
|
|
@@ -6,8 +6,8 @@ export declare const createStateManagementMixin: <State, CaseReducers extends Sl
|
|
|
6
6
|
new (...args: any): {
|
|
7
7
|
actions: import("@reduxjs/toolkit").CaseReducerActions<CaseReducers, Name> & AsyncActions;
|
|
8
8
|
subscribe: <SelectorR = State extends Draft<infer S> ? S : State>(cb: (state: SelectorR) => void, selector?: (state: State) => SelectorR) => Unsubscribe;
|
|
9
|
-
"__#
|
|
10
|
-
"__#
|
|
9
|
+
"__#20845@#logger": import("./loggerMixin").Logger;
|
|
10
|
+
"__#20845@#wrapLogger"(logger: Partial<import("./loggerMixin").Logger>): import("./loggerMixin").Logger;
|
|
11
11
|
get logger(): import("./loggerMixin").Logger;
|
|
12
12
|
set logger(logger: Partial<import("./loggerMixin").Logger>);
|
|
13
13
|
onLogEvent(logLevel: "error" | "warn" | "info" | "debug", data: any[]): void;
|
|
@@ -41,6 +41,7 @@ export declare const createStateManagementMixin: <State, CaseReducers extends Sl
|
|
|
41
41
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
42
42
|
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
43
43
|
connectedCallback(): void;
|
|
44
|
+
disconnectedCallback(): void;
|
|
44
45
|
readonly attributes: NamedNodeMap;
|
|
45
46
|
readonly classList: DOMTokenList;
|
|
46
47
|
className: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
declare const createValidateAttributesMixin: {
|
|
2
2
|
(mappings: Record<string, CheckValueFn | string>): <T extends CustomElementConstructor>(superclass: T) => {
|
|
3
3
|
new (...args: any): {
|
|
4
|
-
"__#
|
|
4
|
+
"__#20848@#handleError"(attrName: string, newValue: string | null): void;
|
|
5
5
|
init(): Promise<void>;
|
|
6
|
-
"__#
|
|
6
|
+
"__#20847@#observeMappings": {};
|
|
7
7
|
observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
|
|
8
8
|
observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
|
|
9
|
-
"__#
|
|
9
|
+
"__#20846@#isInit": boolean;
|
|
10
10
|
connectedCallback: (() => void) & (() => void) & (() => void);
|
|
11
11
|
accessKey: string;
|
|
12
12
|
readonly accessKeyLabel: string;
|
|
@@ -37,6 +37,7 @@ declare const createValidateAttributesMixin: {
|
|
|
37
37
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
38
38
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
39
39
|
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
40
|
+
disconnectedCallback(): void;
|
|
40
41
|
readonly attributes: NamedNodeMap;
|
|
41
42
|
readonly classList: DOMTokenList;
|
|
42
43
|
className: string;
|
|
@@ -333,8 +334,8 @@ declare const createValidateAttributesMixin: {
|
|
|
333
334
|
tabIndex: number;
|
|
334
335
|
blur(): void;
|
|
335
336
|
focus(options?: FocusOptions): void;
|
|
336
|
-
"__#
|
|
337
|
-
"__#
|
|
337
|
+
"__#20845@#logger": import("../loggerMixin").Logger;
|
|
338
|
+
"__#20845@#wrapLogger": ((logger: Partial<import("../loggerMixin").Logger>) => import("../loggerMixin").Logger) & ((logger: Partial<import("../loggerMixin").Logger>) => import("../loggerMixin").Logger);
|
|
338
339
|
get logger(): import("../loggerMixin").Logger;
|
|
339
340
|
set logger(logger: Partial<import("../loggerMixin").Logger>);
|
|
340
341
|
onLogEvent: ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const cspNonceMixin: <T extends CustomElementConstructor>(superclass: T) => {
|
|
2
2
|
new (...params: any[]): {
|
|
3
3
|
readonly nonce: string;
|
|
4
|
-
"__#
|
|
4
|
+
"__#20852@#setNonce"(): void;
|
|
5
5
|
init(): Promise<void>;
|
|
6
|
-
"__#
|
|
6
|
+
"__#20847@#observeMappings": {};
|
|
7
7
|
observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
|
|
8
8
|
observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
|
|
9
|
-
"__#
|
|
9
|
+
"__#20846@#isInit": boolean;
|
|
10
10
|
connectedCallback: (() => void) & (() => void) & (() => void);
|
|
11
11
|
accessKey: string;
|
|
12
12
|
readonly accessKeyLabel: string;
|
|
@@ -37,6 +37,7 @@ export declare const cspNonceMixin: <T extends CustomElementConstructor>(supercl
|
|
|
37
37
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
38
38
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
39
39
|
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
40
|
+
disconnectedCallback(): void;
|
|
40
41
|
readonly attributes: NamedNodeMap;
|
|
41
42
|
readonly classList: DOMTokenList;
|
|
42
43
|
className: string;
|
|
@@ -332,8 +333,8 @@ export declare const cspNonceMixin: <T extends CustomElementConstructor>(supercl
|
|
|
332
333
|
tabIndex: number;
|
|
333
334
|
blur(): void;
|
|
334
335
|
focus(options?: FocusOptions): void;
|
|
335
|
-
"__#
|
|
336
|
-
"__#
|
|
336
|
+
"__#20845@#logger": import("./loggerMixin").Logger;
|
|
337
|
+
"__#20845@#wrapLogger"(logger: Partial<import("./loggerMixin").Logger>): import("./loggerMixin").Logger;
|
|
337
338
|
get logger(): import("./loggerMixin").Logger;
|
|
338
339
|
set logger(logger: Partial<import("./loggerMixin").Logger>);
|
|
339
340
|
onLogEvent(logLevel: "error" | "warn" | "info" | "debug", data: any[]): void;
|