@genesislcap/foundation-store 14.117.0 → 14.118.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/README.md +94 -36
  2. package/dist/dts/__test__/elements.d.ts +701 -0
  3. package/dist/dts/__test__/elements.d.ts.map +1 -0
  4. package/dist/dts/__test__/index.d.ts +5 -0
  5. package/dist/dts/__test__/index.d.ts.map +1 -0
  6. package/dist/dts/__test__/services.d.ts +40 -0
  7. package/dist/dts/__test__/services.d.ts.map +1 -0
  8. package/dist/dts/__test__/store.d.ts +145 -0
  9. package/dist/dts/__test__/store.d.ts.map +1 -0
  10. package/dist/dts/__test__/types.d.ts +15 -0
  11. package/dist/dts/__test__/types.d.ts.map +1 -0
  12. package/dist/dts/store/errorMap.d.ts +3 -0
  13. package/dist/dts/store/errorMap.d.ts.map +1 -1
  14. package/dist/dts/store/foundationStore.d.ts +108 -12
  15. package/dist/dts/store/foundationStore.d.ts.map +1 -1
  16. package/dist/esm/__test__/elements.js +118 -0
  17. package/dist/esm/__test__/index.js +4 -0
  18. package/dist/esm/__test__/services.js +37 -0
  19. package/dist/esm/__test__/store.js +154 -0
  20. package/dist/esm/__test__/types.js +1 -0
  21. package/dist/esm/store/foundationStore.js +145 -40
  22. package/dist/foundation-store.api.json +174 -13
  23. package/dist/foundation-store.d.ts +113 -12
  24. package/docs/api/foundation-store.abstractstore.createasynclistener.md +35 -1
  25. package/docs/api/foundation-store.abstractstore.createerrorlistener.md +1 -1
  26. package/docs/api/foundation-store.abstractstore.createlistener.md +1 -1
  27. package/docs/api/foundation-store.abstractstore.invokeasyncapi.md +46 -0
  28. package/docs/api/foundation-store.abstractstore.md +4 -3
  29. package/docs/api/foundation-store.errordetailmap.md +4 -0
  30. package/docs/api/foundation-store.errormap.md +4 -0
  31. package/docs/api/foundation-store.errormaplogger.md +4 -0
  32. package/docs/api/foundation-store.registerstore.md +1 -1
  33. package/docs/api-report.md +27 -6
  34. package/package.json +11 -7
@@ -0,0 +1,701 @@
1
+ import { ReportService, SubService } from './services';
2
+ import { SubStore, SubStoreEventMap, TestStore, TestStoreEventDetailMap } from './store';
3
+ declare const TestChildElement_base: abstract new (...args: any[]) => {
4
+ $emit<K extends "x-changed" | "y-changed" | "z-changed">(...args: Pick<SubStoreEventMap, "x-changed" | "y-changed" | "z-changed">[K] extends void ? [type: K, options?: import("@genesislcap/foundation-events").EmitOptions] : [type: K, detail: Pick<SubStoreEventMap, "x-changed" | "y-changed" | "z-changed">[K], options?: import("@genesislcap/foundation-events").EmitOptions]): import("@genesislcap/foundation-events").EmitReturn;
5
+ accessKey: string;
6
+ readonly accessKeyLabel: string;
7
+ autocapitalize: string;
8
+ dir: string;
9
+ draggable: boolean;
10
+ hidden: boolean;
11
+ inert: boolean;
12
+ innerText: string;
13
+ lang: string;
14
+ readonly offsetHeight: number;
15
+ readonly offsetLeft: number;
16
+ readonly offsetParent: Element;
17
+ readonly offsetTop: number;
18
+ readonly offsetWidth: number;
19
+ outerText: string;
20
+ spellcheck: boolean;
21
+ title: string;
22
+ translate: boolean;
23
+ attachInternals(): ElementInternals;
24
+ click(): void;
25
+ addEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | AddEventListenerOptions): void;
26
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
27
+ removeEventListener<K_2 extends keyof HTMLElementEventMap>(type: K_2, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_2]) => any, options?: boolean | EventListenerOptions): void;
28
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
29
+ readonly attributes: NamedNodeMap;
30
+ readonly classList: DOMTokenList;
31
+ className: string;
32
+ readonly clientHeight: number;
33
+ readonly clientLeft: number;
34
+ readonly clientTop: number;
35
+ readonly clientWidth: number;
36
+ id: string;
37
+ readonly localName: string;
38
+ readonly namespaceURI: string;
39
+ onfullscreenchange: (this: Element, ev: Event) => any;
40
+ onfullscreenerror: (this: Element, ev: Event) => any;
41
+ outerHTML: string;
42
+ readonly ownerDocument: Document;
43
+ readonly part: DOMTokenList;
44
+ readonly prefix: string;
45
+ readonly scrollHeight: number;
46
+ scrollLeft: number;
47
+ scrollTop: number;
48
+ readonly scrollWidth: number;
49
+ readonly shadowRoot: ShadowRoot;
50
+ slot: string;
51
+ readonly tagName: string;
52
+ attachShadow(init: ShadowRootInit): ShadowRoot;
53
+ closest<K_3 extends keyof HTMLElementTagNameMap>(selector: K_3): HTMLElementTagNameMap[K_3];
54
+ closest<K_4 extends keyof SVGElementTagNameMap>(selector: K_4): SVGElementTagNameMap[K_4];
55
+ closest<E extends Element = Element>(selectors: string): E;
56
+ getAttribute(qualifiedName: string): string;
57
+ getAttributeNS(namespace: string, localName: string): string;
58
+ getAttributeNames(): string[];
59
+ getAttributeNode(qualifiedName: string): Attr;
60
+ getAttributeNodeNS(namespace: string, localName: string): Attr;
61
+ getBoundingClientRect(): DOMRect;
62
+ getClientRects(): DOMRectList;
63
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
64
+ getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
65
+ getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
66
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
67
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
68
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
69
+ getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
70
+ hasAttribute(qualifiedName: string): boolean;
71
+ hasAttributeNS(namespace: string, localName: string): boolean;
72
+ hasAttributes(): boolean;
73
+ hasPointerCapture(pointerId: number): boolean;
74
+ insertAdjacentElement(where: InsertPosition, element: Element): Element;
75
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
76
+ insertAdjacentText(where: InsertPosition, data: string): void;
77
+ matches(selectors: string): boolean;
78
+ releasePointerCapture(pointerId: number): void;
79
+ removeAttribute(qualifiedName: string): void;
80
+ removeAttributeNS(namespace: string, localName: string): void;
81
+ removeAttributeNode(attr: Attr): Attr;
82
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
83
+ requestPointerLock(): void;
84
+ scroll(options?: ScrollToOptions): void;
85
+ scroll(x: number, y: number): void;
86
+ scrollBy(options?: ScrollToOptions): void;
87
+ scrollBy(x: number, y: number): void;
88
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
89
+ scrollTo(options?: ScrollToOptions): void;
90
+ scrollTo(x: number, y: number): void;
91
+ setAttribute(qualifiedName: string, value: string): void;
92
+ setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
93
+ setAttributeNode(attr: Attr): Attr;
94
+ setAttributeNodeNS(attr: Attr): Attr;
95
+ setPointerCapture(pointerId: number): void;
96
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
97
+ webkitMatchesSelector(selectors: string): boolean;
98
+ readonly baseURI: string;
99
+ readonly childNodes: NodeListOf<ChildNode>;
100
+ readonly firstChild: ChildNode;
101
+ readonly isConnected: boolean;
102
+ readonly lastChild: ChildNode;
103
+ readonly nextSibling: ChildNode;
104
+ readonly nodeName: string;
105
+ readonly nodeType: number;
106
+ nodeValue: string;
107
+ readonly parentElement: HTMLElement;
108
+ readonly parentNode: ParentNode;
109
+ readonly previousSibling: ChildNode;
110
+ textContent: string;
111
+ appendChild<T extends Node>(node: T): T;
112
+ cloneNode(deep?: boolean): Node;
113
+ compareDocumentPosition(other: Node): number;
114
+ contains(other: Node): boolean;
115
+ getRootNode(options?: GetRootNodeOptions): Node;
116
+ hasChildNodes(): boolean;
117
+ insertBefore<T_1 extends Node>(node: T_1, child: Node): T_1;
118
+ isDefaultNamespace(namespace: string): boolean;
119
+ isEqualNode(otherNode: Node): boolean;
120
+ isSameNode(otherNode: Node): boolean;
121
+ lookupNamespaceURI(prefix: string): string;
122
+ lookupPrefix(namespace: string): string;
123
+ normalize(): void;
124
+ removeChild<T_2 extends Node>(child: T_2): T_2;
125
+ replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
126
+ readonly ATTRIBUTE_NODE: number;
127
+ readonly CDATA_SECTION_NODE: number;
128
+ readonly COMMENT_NODE: number;
129
+ readonly DOCUMENT_FRAGMENT_NODE: number;
130
+ readonly DOCUMENT_NODE: number;
131
+ readonly DOCUMENT_POSITION_CONTAINED_BY: number;
132
+ readonly DOCUMENT_POSITION_CONTAINS: number;
133
+ readonly DOCUMENT_POSITION_DISCONNECTED: number;
134
+ readonly DOCUMENT_POSITION_FOLLOWING: number;
135
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
136
+ readonly DOCUMENT_POSITION_PRECEDING: number;
137
+ readonly DOCUMENT_TYPE_NODE: number;
138
+ readonly ELEMENT_NODE: number;
139
+ readonly ENTITY_NODE: number;
140
+ readonly ENTITY_REFERENCE_NODE: number;
141
+ readonly NOTATION_NODE: number;
142
+ readonly PROCESSING_INSTRUCTION_NODE: number;
143
+ readonly TEXT_NODE: number;
144
+ dispatchEvent(event: Event): boolean;
145
+ ariaAtomic: string;
146
+ ariaAutoComplete: string;
147
+ ariaBusy: string;
148
+ ariaChecked: string;
149
+ ariaColCount: string;
150
+ ariaColIndex: string;
151
+ ariaColIndexText: string;
152
+ ariaColSpan: string;
153
+ ariaCurrent: string;
154
+ ariaDisabled: string;
155
+ ariaExpanded: string;
156
+ ariaHasPopup: string;
157
+ ariaHidden: string;
158
+ ariaInvalid: string;
159
+ ariaKeyShortcuts: string;
160
+ ariaLabel: string;
161
+ ariaLevel: string;
162
+ ariaLive: string;
163
+ ariaModal: string;
164
+ ariaMultiLine: string;
165
+ ariaMultiSelectable: string;
166
+ ariaOrientation: string;
167
+ ariaPlaceholder: string;
168
+ ariaPosInSet: string;
169
+ ariaPressed: string;
170
+ ariaReadOnly: string;
171
+ ariaRequired: string;
172
+ ariaRoleDescription: string;
173
+ ariaRowCount: string;
174
+ ariaRowIndex: string;
175
+ ariaRowIndexText: string;
176
+ ariaRowSpan: string;
177
+ ariaSelected: string;
178
+ ariaSetSize: string;
179
+ ariaSort: string;
180
+ ariaValueMax: string;
181
+ ariaValueMin: string;
182
+ ariaValueNow: string;
183
+ ariaValueText: string;
184
+ role: string;
185
+ animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
186
+ getAnimations(options?: GetAnimationsOptions): Animation[];
187
+ after(...nodes: (string | Node)[]): void;
188
+ before(...nodes: (string | Node)[]): void;
189
+ remove(): void;
190
+ replaceWith(...nodes: (string | Node)[]): void;
191
+ innerHTML: string;
192
+ readonly nextElementSibling: Element;
193
+ readonly previousElementSibling: Element;
194
+ readonly childElementCount: number;
195
+ readonly children: HTMLCollection;
196
+ readonly firstElementChild: Element;
197
+ readonly lastElementChild: Element;
198
+ append(...nodes: (string | Node)[]): void;
199
+ prepend(...nodes: (string | Node)[]): void;
200
+ querySelector<K_7 extends keyof HTMLElementTagNameMap>(selectors: K_7): HTMLElementTagNameMap[K_7];
201
+ querySelector<K_8 extends keyof SVGElementTagNameMap>(selectors: K_8): SVGElementTagNameMap[K_8];
202
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1;
203
+ querySelectorAll<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): NodeListOf<HTMLElementTagNameMap[K_9]>;
204
+ querySelectorAll<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): NodeListOf<SVGElementTagNameMap[K_10]>;
205
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
206
+ replaceChildren(...nodes: (string | Node)[]): void;
207
+ readonly assignedSlot: HTMLSlotElement;
208
+ oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
209
+ oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
210
+ onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
211
+ readonly style: CSSStyleDeclaration;
212
+ contentEditable: string;
213
+ enterKeyHint: string;
214
+ inputMode: string;
215
+ readonly isContentEditable: boolean;
216
+ onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
217
+ onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
218
+ onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
219
+ onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
220
+ onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
221
+ onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
222
+ onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
223
+ onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
224
+ oncancel: (this: GlobalEventHandlers, ev: Event) => any;
225
+ oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
226
+ oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
227
+ onchange: (this: GlobalEventHandlers, ev: Event) => any;
228
+ onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
229
+ onclose: (this: GlobalEventHandlers, ev: Event) => any;
230
+ oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
231
+ oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
232
+ ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
233
+ ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
234
+ ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
235
+ ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
236
+ ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
237
+ ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
238
+ ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
239
+ ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
240
+ ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
241
+ onemptied: (this: GlobalEventHandlers, ev: Event) => any;
242
+ onended: (this: GlobalEventHandlers, ev: Event) => any;
243
+ onerror: OnErrorEventHandlerNonNull;
244
+ onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
245
+ onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
246
+ ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
247
+ oninput: (this: GlobalEventHandlers, ev: Event) => any;
248
+ oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
249
+ onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
250
+ onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
251
+ onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
252
+ onload: (this: GlobalEventHandlers, ev: Event) => any;
253
+ onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
254
+ onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
255
+ onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
256
+ onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
257
+ onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
258
+ onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
259
+ onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
260
+ onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
261
+ onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
262
+ onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
263
+ onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
264
+ onpause: (this: GlobalEventHandlers, ev: Event) => any;
265
+ onplay: (this: GlobalEventHandlers, ev: Event) => any;
266
+ onplaying: (this: GlobalEventHandlers, ev: Event) => any;
267
+ onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
268
+ onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
269
+ onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
270
+ onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
271
+ onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
272
+ onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
273
+ onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
274
+ onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
275
+ onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
276
+ onratechange: (this: GlobalEventHandlers, ev: Event) => any;
277
+ onreset: (this: GlobalEventHandlers, ev: Event) => any;
278
+ onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
279
+ onscroll: (this: GlobalEventHandlers, ev: Event) => any;
280
+ onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
281
+ onseeked: (this: GlobalEventHandlers, ev: Event) => any;
282
+ onseeking: (this: GlobalEventHandlers, ev: Event) => any;
283
+ onselect: (this: GlobalEventHandlers, ev: Event) => any;
284
+ onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
285
+ onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
286
+ onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
287
+ onstalled: (this: GlobalEventHandlers, ev: Event) => any;
288
+ onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
289
+ onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
290
+ ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
291
+ ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
292
+ ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
293
+ ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
294
+ ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
295
+ ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
296
+ ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
297
+ ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
298
+ ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
299
+ ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
300
+ onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
301
+ onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
302
+ onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
303
+ onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
304
+ onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
305
+ onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
306
+ onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
307
+ autofocus: boolean;
308
+ readonly dataset: DOMStringMap;
309
+ nonce?: string;
310
+ tabIndex: number;
311
+ blur(): void;
312
+ focus(options?: FocusOptions): void;
313
+ readonly $fastController: import("@microsoft/fast-element").Controller;
314
+ connectedCallback(): void;
315
+ disconnectedCallback(): void;
316
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
317
+ };
318
+ /**
319
+ * @internal
320
+ */
321
+ export declare class TestChildElement extends TestChildElement_base {
322
+ /**
323
+ * @remarks
324
+ * Normally you would inject the lowest store fragment the component needs. However, the test stores are set up as
325
+ * `transient` due to the test suite create/destroy cycle, so injecting `@SubStore subStore: SubStore;` here would
326
+ * result in a different instance than what is in the store tree. As such, we'll make this observable and pass the sub
327
+ * store down as property. This saves us having to reset stores on each test suite cycle.
328
+ *
329
+ * @public
330
+ */
331
+ subStore: SubStore;
332
+ /**
333
+ * @public
334
+ */
335
+ entityNodes: Node[];
336
+ }
337
+ type TestElementEventMap = TestStoreEventDetailMap & SubStoreEventMap & {};
338
+ declare const TestElement_base: abstract new (...args: any[]) => {
339
+ $emit<K extends "x-changed" | "y-changed" | "z-changed" | "select-sub-entity" | "remove-sub-entity" | "store-connected" | "store-disconnected" | "store-ready" | "a-changed" | "b-changed" | "c-changed">(...args: TestElementEventMap[K] extends void ? [type: K, options?: import("@genesislcap/foundation-events").EmitOptions] : [type: K, detail: TestElementEventMap[K], options?: import("@genesislcap/foundation-events").EmitOptions]): import("@genesislcap/foundation-events").EmitReturn;
340
+ accessKey: string;
341
+ readonly accessKeyLabel: string;
342
+ autocapitalize: string;
343
+ dir: string;
344
+ draggable: boolean;
345
+ hidden: boolean;
346
+ inert: boolean;
347
+ innerText: string;
348
+ lang: string;
349
+ readonly offsetHeight: number;
350
+ readonly offsetLeft: number;
351
+ readonly offsetParent: Element;
352
+ readonly offsetTop: number;
353
+ readonly offsetWidth: number;
354
+ outerText: string;
355
+ spellcheck: boolean;
356
+ title: string;
357
+ translate: boolean;
358
+ attachInternals(): ElementInternals;
359
+ click(): void;
360
+ addEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | AddEventListenerOptions): void;
361
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
362
+ removeEventListener<K_2 extends keyof HTMLElementEventMap>(type: K_2, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_2]) => any, options?: boolean | EventListenerOptions): void;
363
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
364
+ readonly attributes: NamedNodeMap;
365
+ readonly classList: DOMTokenList;
366
+ className: string;
367
+ readonly clientHeight: number;
368
+ readonly clientLeft: number;
369
+ readonly clientTop: number;
370
+ readonly clientWidth: number;
371
+ id: string;
372
+ readonly localName: string;
373
+ readonly namespaceURI: string;
374
+ onfullscreenchange: (this: Element, ev: Event) => any;
375
+ onfullscreenerror: (this: Element, ev: Event) => any;
376
+ outerHTML: string;
377
+ readonly ownerDocument: Document;
378
+ readonly part: DOMTokenList;
379
+ readonly prefix: string;
380
+ readonly scrollHeight: number;
381
+ scrollLeft: number;
382
+ scrollTop: number;
383
+ readonly scrollWidth: number;
384
+ readonly shadowRoot: ShadowRoot;
385
+ slot: string;
386
+ readonly tagName: string;
387
+ attachShadow(init: ShadowRootInit): ShadowRoot;
388
+ closest<K_3 extends keyof HTMLElementTagNameMap>(selector: K_3): HTMLElementTagNameMap[K_3];
389
+ closest<K_4 extends keyof SVGElementTagNameMap>(selector: K_4): SVGElementTagNameMap[K_4];
390
+ closest<E extends Element = Element>(selectors: string): E;
391
+ getAttribute(qualifiedName: string): string;
392
+ getAttributeNS(namespace: string, localName: string): string;
393
+ getAttributeNames(): string[];
394
+ getAttributeNode(qualifiedName: string): Attr;
395
+ getAttributeNodeNS(namespace: string, localName: string): Attr;
396
+ getBoundingClientRect(): DOMRect;
397
+ getClientRects(): DOMRectList;
398
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
399
+ getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
400
+ getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
401
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
402
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
403
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
404
+ getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
405
+ hasAttribute(qualifiedName: string): boolean;
406
+ hasAttributeNS(namespace: string, localName: string): boolean;
407
+ hasAttributes(): boolean;
408
+ hasPointerCapture(pointerId: number): boolean;
409
+ insertAdjacentElement(where: InsertPosition, element: Element): Element;
410
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
411
+ insertAdjacentText(where: InsertPosition, data: string): void;
412
+ matches(selectors: string): boolean;
413
+ releasePointerCapture(pointerId: number): void;
414
+ removeAttribute(qualifiedName: string): void;
415
+ removeAttributeNS(namespace: string, localName: string): void;
416
+ removeAttributeNode(attr: Attr): Attr;
417
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
418
+ requestPointerLock(): void;
419
+ scroll(options?: ScrollToOptions): void;
420
+ scroll(x: number, y: number): void;
421
+ scrollBy(options?: ScrollToOptions): void;
422
+ scrollBy(x: number, y: number): void;
423
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
424
+ scrollTo(options?: ScrollToOptions): void;
425
+ scrollTo(x: number, y: number): void;
426
+ setAttribute(qualifiedName: string, value: string): void;
427
+ setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
428
+ setAttributeNode(attr: Attr): Attr;
429
+ setAttributeNodeNS(attr: Attr): Attr;
430
+ setPointerCapture(pointerId: number): void;
431
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
432
+ webkitMatchesSelector(selectors: string): boolean;
433
+ readonly baseURI: string;
434
+ readonly childNodes: NodeListOf<ChildNode>;
435
+ readonly firstChild: ChildNode;
436
+ readonly isConnected: boolean;
437
+ readonly lastChild: ChildNode;
438
+ readonly nextSibling: ChildNode;
439
+ readonly nodeName: string;
440
+ readonly nodeType: number;
441
+ nodeValue: string;
442
+ readonly parentElement: HTMLElement;
443
+ readonly parentNode: ParentNode;
444
+ readonly previousSibling: ChildNode;
445
+ textContent: string;
446
+ appendChild<T extends Node>(node: T): T;
447
+ cloneNode(deep?: boolean): Node;
448
+ compareDocumentPosition(other: Node): number;
449
+ contains(other: Node): boolean;
450
+ getRootNode(options?: GetRootNodeOptions): Node;
451
+ hasChildNodes(): boolean;
452
+ insertBefore<T_1 extends Node>(node: T_1, child: Node): T_1;
453
+ isDefaultNamespace(namespace: string): boolean;
454
+ isEqualNode(otherNode: Node): boolean;
455
+ isSameNode(otherNode: Node): boolean;
456
+ lookupNamespaceURI(prefix: string): string;
457
+ lookupPrefix(namespace: string): string;
458
+ normalize(): void;
459
+ removeChild<T_2 extends Node>(child: T_2): T_2;
460
+ replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
461
+ readonly ATTRIBUTE_NODE: number;
462
+ readonly CDATA_SECTION_NODE: number;
463
+ readonly COMMENT_NODE: number;
464
+ readonly DOCUMENT_FRAGMENT_NODE: number;
465
+ readonly DOCUMENT_NODE: number;
466
+ readonly DOCUMENT_POSITION_CONTAINED_BY: number;
467
+ readonly DOCUMENT_POSITION_CONTAINS: number;
468
+ readonly DOCUMENT_POSITION_DISCONNECTED: number;
469
+ readonly DOCUMENT_POSITION_FOLLOWING: number;
470
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
471
+ readonly DOCUMENT_POSITION_PRECEDING: number;
472
+ readonly DOCUMENT_TYPE_NODE: number;
473
+ readonly ELEMENT_NODE: number;
474
+ readonly ENTITY_NODE: number;
475
+ readonly ENTITY_REFERENCE_NODE: number;
476
+ readonly NOTATION_NODE: number;
477
+ readonly PROCESSING_INSTRUCTION_NODE: number;
478
+ readonly TEXT_NODE: number;
479
+ dispatchEvent(event: Event): boolean;
480
+ ariaAtomic: string;
481
+ ariaAutoComplete: string;
482
+ ariaBusy: string;
483
+ ariaChecked: string;
484
+ ariaColCount: string;
485
+ ariaColIndex: string;
486
+ ariaColIndexText: string;
487
+ ariaColSpan: string;
488
+ ariaCurrent: string;
489
+ ariaDisabled: string;
490
+ ariaExpanded: string;
491
+ ariaHasPopup: string;
492
+ ariaHidden: string;
493
+ ariaInvalid: string;
494
+ ariaKeyShortcuts: string;
495
+ ariaLabel: string;
496
+ ariaLevel: string;
497
+ ariaLive: string;
498
+ ariaModal: string;
499
+ ariaMultiLine: string;
500
+ ariaMultiSelectable: string;
501
+ ariaOrientation: string;
502
+ ariaPlaceholder: string;
503
+ ariaPosInSet: string;
504
+ ariaPressed: string;
505
+ ariaReadOnly: string;
506
+ ariaRequired: string;
507
+ ariaRoleDescription: string;
508
+ ariaRowCount: string;
509
+ ariaRowIndex: string;
510
+ ariaRowIndexText: string;
511
+ ariaRowSpan: string;
512
+ ariaSelected: string;
513
+ ariaSetSize: string;
514
+ ariaSort: string;
515
+ ariaValueMax: string;
516
+ ariaValueMin: string;
517
+ ariaValueNow: string;
518
+ ariaValueText: string;
519
+ role: string;
520
+ animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
521
+ getAnimations(options?: GetAnimationsOptions): Animation[];
522
+ after(...nodes: (string | Node)[]): void;
523
+ before(...nodes: (string | Node)[]): void;
524
+ remove(): void;
525
+ replaceWith(...nodes: (string | Node)[]): void;
526
+ innerHTML: string;
527
+ readonly nextElementSibling: Element;
528
+ readonly previousElementSibling: Element;
529
+ readonly childElementCount: number;
530
+ readonly children: HTMLCollection;
531
+ readonly firstElementChild: Element;
532
+ readonly lastElementChild: Element;
533
+ append(...nodes: (string | Node)[]): void;
534
+ prepend(...nodes: (string | Node)[]): void;
535
+ querySelector<K_7 extends keyof HTMLElementTagNameMap>(selectors: K_7): HTMLElementTagNameMap[K_7];
536
+ querySelector<K_8 extends keyof SVGElementTagNameMap>(selectors: K_8): SVGElementTagNameMap[K_8];
537
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1;
538
+ querySelectorAll<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): NodeListOf<HTMLElementTagNameMap[K_9]>;
539
+ querySelectorAll<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): NodeListOf<SVGElementTagNameMap[K_10]>;
540
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
541
+ replaceChildren(...nodes: (string | Node)[]): void;
542
+ readonly assignedSlot: HTMLSlotElement;
543
+ oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
544
+ oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
545
+ onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
546
+ readonly style: CSSStyleDeclaration;
547
+ contentEditable: string;
548
+ enterKeyHint: string;
549
+ inputMode: string;
550
+ readonly isContentEditable: boolean;
551
+ onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
552
+ onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
553
+ onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
554
+ onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
555
+ onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
556
+ onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
557
+ onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
558
+ onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
559
+ oncancel: (this: GlobalEventHandlers, ev: Event) => any;
560
+ oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
561
+ oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
562
+ onchange: (this: GlobalEventHandlers, ev: Event) => any;
563
+ onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
564
+ onclose: (this: GlobalEventHandlers, ev: Event) => any;
565
+ oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
566
+ oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
567
+ ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
568
+ ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
569
+ ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
570
+ ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
571
+ ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
572
+ ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
573
+ ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
574
+ ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
575
+ ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
576
+ onemptied: (this: GlobalEventHandlers, ev: Event) => any;
577
+ onended: (this: GlobalEventHandlers, ev: Event) => any;
578
+ onerror: OnErrorEventHandlerNonNull;
579
+ onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
580
+ onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
581
+ ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
582
+ oninput: (this: GlobalEventHandlers, ev: Event) => any;
583
+ oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
584
+ onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
585
+ onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
586
+ onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
587
+ onload: (this: GlobalEventHandlers, ev: Event) => any;
588
+ onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
589
+ onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
590
+ onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
591
+ onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
592
+ onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
593
+ onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
594
+ onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
595
+ onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
596
+ onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
597
+ onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
598
+ onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
599
+ onpause: (this: GlobalEventHandlers, ev: Event) => any;
600
+ onplay: (this: GlobalEventHandlers, ev: Event) => any;
601
+ onplaying: (this: GlobalEventHandlers, ev: Event) => any;
602
+ onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
603
+ onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
604
+ onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
605
+ onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
606
+ onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
607
+ onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
608
+ onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
609
+ onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
610
+ onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
611
+ onratechange: (this: GlobalEventHandlers, ev: Event) => any;
612
+ onreset: (this: GlobalEventHandlers, ev: Event) => any;
613
+ onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
614
+ onscroll: (this: GlobalEventHandlers, ev: Event) => any;
615
+ onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
616
+ onseeked: (this: GlobalEventHandlers, ev: Event) => any;
617
+ onseeking: (this: GlobalEventHandlers, ev: Event) => any;
618
+ onselect: (this: GlobalEventHandlers, ev: Event) => any;
619
+ onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
620
+ onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
621
+ onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
622
+ onstalled: (this: GlobalEventHandlers, ev: Event) => any;
623
+ onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
624
+ onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
625
+ ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
626
+ ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
627
+ ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
628
+ ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
629
+ ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
630
+ ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
631
+ ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
632
+ ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
633
+ ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
634
+ ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
635
+ onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
636
+ onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
637
+ onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
638
+ onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
639
+ onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
640
+ onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
641
+ onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
642
+ autofocus: boolean;
643
+ readonly dataset: DOMStringMap;
644
+ nonce?: string;
645
+ tabIndex: number;
646
+ blur(): void;
647
+ focus(options?: FocusOptions): void;
648
+ readonly $fastController: import("@microsoft/fast-element").Controller;
649
+ connectedCallback(): void;
650
+ disconnectedCallback(): void;
651
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
652
+ };
653
+ /**
654
+ * @internal
655
+ */
656
+ export declare class TestElement extends TestElement_base {
657
+ /**
658
+ * @public
659
+ */
660
+ testStore: TestStore;
661
+ /**
662
+ * Injecting services to aid testing.
663
+ * @public
664
+ */
665
+ reportService: ReportService;
666
+ /**
667
+ * Injecting services to aid testing.
668
+ * @public
669
+ */
670
+ subService: SubService;
671
+ /**
672
+ * @public
673
+ */
674
+ child: TestChildElement;
675
+ /**
676
+ * @public
677
+ */
678
+ connectedCallback(): void;
679
+ /**
680
+ * @public
681
+ */
682
+ disconnectedCallback(): void;
683
+ /**
684
+ * @internal
685
+ */
686
+ protected addEventListeners(): void;
687
+ /**
688
+ * @internal
689
+ */
690
+ protected removeEventListeners(): void;
691
+ /**
692
+ * @internal
693
+ */
694
+ protected readyStore(): void;
695
+ /**
696
+ * @internal
697
+ */
698
+ protected disconnectStore(): void;
699
+ }
700
+ export {};
701
+ //# sourceMappingURL=elements.d.ts.map