@genesislcap/foundation-comms 14.187.1-alpha-3406925.0 → 14.187.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. package/dist/dts/connect/connect.d.ts +6 -11
  2. package/dist/dts/connect/connect.d.ts.map +1 -1
  3. package/dist/dts/connect/http.connect.d.ts +2 -2
  4. package/dist/dts/connect/http.connect.d.ts.map +1 -1
  5. package/dist/dts/connect/message.d.ts +0 -11
  6. package/dist/dts/connect/message.d.ts.map +1 -1
  7. package/dist/dts/connect/socket.d.ts +2 -6
  8. package/dist/dts/connect/socket.d.ts.map +1 -1
  9. package/dist/dts/datasource/datasource.d.ts +19 -49
  10. package/dist/dts/datasource/datasource.d.ts.map +1 -1
  11. package/dist/dts/datasource/datasource.types.d.ts +22 -14
  12. package/dist/dts/datasource/datasource.types.d.ts.map +1 -1
  13. package/dist/dts/datasource/entityDatasource.d.ts +8 -5
  14. package/dist/dts/datasource/entityDatasource.d.ts.map +1 -1
  15. package/dist/dts/datasource/index.d.ts +0 -2
  16. package/dist/dts/datasource/index.d.ts.map +1 -1
  17. package/dist/dts/index.d.ts +0 -1
  18. package/dist/dts/index.d.ts.map +1 -1
  19. package/dist/dts/testing/mocks/auth/auth.d.ts +0 -3
  20. package/dist/dts/testing/mocks/auth/auth.d.ts.map +1 -1
  21. package/dist/dts/testing/mocks/connect/connect.d.ts +2 -3
  22. package/dist/dts/testing/mocks/connect/connect.d.ts.map +1 -1
  23. package/dist/dts/testing/mocks/connect/socket.d.ts +0 -1
  24. package/dist/dts/testing/mocks/connect/socket.d.ts.map +1 -1
  25. package/dist/dts/testing/mocks/datasource/datasource.d.ts +4 -22
  26. package/dist/dts/testing/mocks/datasource/datasource.d.ts.map +1 -1
  27. package/dist/dts/testing/mocks/index.d.ts +0 -1
  28. package/dist/dts/testing/mocks/index.d.ts.map +1 -1
  29. package/dist/esm/connect/connect.js +15 -12
  30. package/dist/esm/connect/http.connect.js +3 -5
  31. package/dist/esm/connect/message.js +0 -2
  32. package/dist/esm/connect/socket.js +6 -19
  33. package/dist/esm/datasource/datasource.js +58 -133
  34. package/dist/esm/datasource/datasource.types.js +18 -2
  35. package/dist/esm/datasource/entityDatasource.js +0 -6
  36. package/dist/esm/datasource/index.js +0 -2
  37. package/dist/esm/index.js +0 -1
  38. package/dist/esm/testing/mocks/auth/auth.js +0 -10
  39. package/dist/esm/testing/mocks/connect/connect.js +2 -9
  40. package/dist/esm/testing/mocks/connect/socket.js +0 -2
  41. package/dist/esm/testing/mocks/datasource/datasource.js +0 -59
  42. package/dist/esm/testing/mocks/index.js +0 -1
  43. package/dist/foundation-comms.api.json +6042 -10797
  44. package/dist/foundation-comms.d.ts +37 -696
  45. package/docs/api/foundation-comms.connect.connect.md +2 -2
  46. package/docs/api/foundation-comms.connect.getavailableresources.md +2 -2
  47. package/docs/api/foundation-comms.connect.md +0 -1
  48. package/docs/api/{foundation-comms.datasource.status.md → foundation-comms.datasource.fieldmetadata.md} +4 -3
  49. package/docs/api/foundation-comms.datasource.init.md +2 -2
  50. package/docs/api/foundation-comms.datasource.md +2 -3
  51. package/docs/api/foundation-comms.datasourceconfig.md +1 -2
  52. package/docs/api/foundation-comms.defaultconnect.connect.md +2 -2
  53. package/docs/api/foundation-comms.defaultconnect.getavailableresources.md +2 -2
  54. package/docs/api/foundation-comms.defaultconnect.md +0 -1
  55. package/docs/api/foundation-comms.defaultdatasource._constructor_.md +2 -3
  56. package/docs/api/{foundation-comms.defaultdatasource.fetchmetadatarequired.md → foundation-comms.defaultdatasource._stream.md} +3 -4
  57. package/docs/api/foundation-comms.defaultdatasource.availableindexes.md +1 -2
  58. package/docs/api/foundation-comms.defaultdatasource.fieldmetadata.md +0 -1
  59. package/docs/api/foundation-comms.defaultdatasource.initialized.md +1 -3
  60. package/docs/api/foundation-comms.defaultdatasource.md +7 -10
  61. package/docs/api/foundation-comms.defaultdatasource.originalfielddef.md +1 -2
  62. package/docs/api/foundation-comms.defaultdatasource.requestfields.md +1 -2
  63. package/docs/api/foundation-comms.defaultdatasource.stream.md +1 -1
  64. package/docs/api/foundation-comms.defaultdatasource.validresourcename.md +0 -5
  65. package/docs/api/foundation-comms.defaultdatasourceconfig.md +1 -1
  66. package/docs/api/foundation-comms.defaulthttpconnect.getavailableresources.md +2 -2
  67. package/docs/api/foundation-comms.defaultsocket._constructor_.md +1 -2
  68. package/docs/api/foundation-comms.defaultsocket.connect.md +2 -2
  69. package/docs/api/foundation-comms.defaultsocket.md +1 -3
  70. package/docs/api/foundation-comms.eventmessagetype.md +0 -2
  71. package/docs/api/foundation-comms.md +2 -19
  72. package/docs/api/foundation-comms.socket.md +0 -6
  73. package/docs/api-report.md +25 -550
  74. package/package.json +12 -13
  75. package/dist/dts/datasource/datasource.config.d.ts +0 -44
  76. package/dist/dts/datasource/datasource.config.d.ts.map +0 -1
  77. package/dist/dts/datasource/datasource.mixins.d.ts +0 -367
  78. package/dist/dts/datasource/datasource.mixins.d.ts.map +0 -1
  79. package/dist/dts/resources/genesis/config.d.ts +0 -81
  80. package/dist/dts/resources/genesis/config.d.ts.map +0 -1
  81. package/dist/dts/resources/genesis/genesis.d.ts +0 -69
  82. package/dist/dts/resources/genesis/genesis.d.ts.map +0 -1
  83. package/dist/dts/resources/genesis/index.d.ts +0 -4
  84. package/dist/dts/resources/genesis/index.d.ts.map +0 -1
  85. package/dist/dts/resources/genesis/types.d.ts +0 -19
  86. package/dist/dts/resources/genesis/types.d.ts.map +0 -1
  87. package/dist/dts/resources/index.d.ts +0 -2
  88. package/dist/dts/resources/index.d.ts.map +0 -1
  89. package/dist/dts/testing/mocks/resources/genesis/genesis.d.ts +0 -16
  90. package/dist/dts/testing/mocks/resources/genesis/genesis.d.ts.map +0 -1
  91. package/dist/dts/testing/mocks/resources/genesis/index.d.ts +0 -2
  92. package/dist/dts/testing/mocks/resources/genesis/index.d.ts.map +0 -1
  93. package/dist/dts/testing/mocks/resources/index.d.ts +0 -2
  94. package/dist/dts/testing/mocks/resources/index.d.ts.map +0 -1
  95. package/dist/esm/datasource/datasource.config.js +0 -41
  96. package/dist/esm/datasource/datasource.mixins.js +0 -86
  97. package/dist/esm/resources/genesis/config.js +0 -51
  98. package/dist/esm/resources/genesis/genesis.js +0 -114
  99. package/dist/esm/resources/genesis/index.js +0 -3
  100. package/dist/esm/resources/genesis/types.js +0 -4
  101. package/dist/esm/resources/index.js +0 -1
  102. package/dist/esm/testing/mocks/resources/genesis/genesis.js +0 -25
  103. package/dist/esm/testing/mocks/resources/genesis/index.js +0 -1
  104. package/dist/esm/testing/mocks/resources/index.js +0 -1
  105. package/docs/api/foundation-comms.connect.host.md +0 -11
  106. package/docs/api/foundation-comms.datasourceconfig.eventemitter.md +0 -18
  107. package/docs/api/foundation-comms.datasourceeventhandler.md +0 -353
  108. package/docs/api/foundation-comms.datasourcemetadata.availableindexes.md +0 -11
  109. package/docs/api/foundation-comms.datasourcemetadata.fetchmetadatarequired.md +0 -11
  110. package/docs/api/foundation-comms.datasourcemetadata.fieldmetadata.md +0 -11
  111. package/docs/api/foundation-comms.datasourcemetadata.md +0 -24
  112. package/docs/api/foundation-comms.datasourcemetadata.originalfielddef.md +0 -11
  113. package/docs/api/foundation-comms.datasourcemetadata.requestfields.md +0 -11
  114. package/docs/api/foundation-comms.datasourcestatus.md +0 -21
  115. package/docs/api/foundation-comms.datasourcestatuschanged.md +0 -13
  116. package/docs/api/foundation-comms.datasourcestatuschangedevent.md +0 -15
  117. package/docs/api/foundation-comms.defaultconnect.host.md +0 -11
  118. package/docs/api/foundation-comms.defaultdatasource.fetchandapplymetadata.md +0 -22
  119. package/docs/api/foundation-comms.defaultdatasource.resources.md +0 -11
  120. package/docs/api/foundation-comms.defaultdatasource.status.md +0 -12
  121. package/docs/api/foundation-comms.defaultgenesisresources._constructor_.md +0 -21
  122. package/docs/api/foundation-comms.defaultgenesisresources.config.md +0 -11
  123. package/docs/api/foundation-comms.defaultgenesisresources.connect.md +0 -11
  124. package/docs/api/foundation-comms.defaultgenesisresources.destroy.md +0 -17
  125. package/docs/api/foundation-comms.defaultgenesisresources.getresources.md +0 -15
  126. package/docs/api/foundation-comms.defaultgenesisresources.getresourcetypefor.md +0 -24
  127. package/docs/api/foundation-comms.defaultgenesisresources.isvalidresource.md +0 -24
  128. package/docs/api/foundation-comms.defaultgenesisresources.md +0 -40
  129. package/docs/api/foundation-comms.defaultgenesisresources.postloadedmessage.md +0 -15
  130. package/docs/api/foundation-comms.defaultgenesisresources.resources.md +0 -11
  131. package/docs/api/foundation-comms.defaultgenesisresources.resourcespromise.md +0 -11
  132. package/docs/api/foundation-comms.defaultgenesisresourcesconfig.md +0 -13
  133. package/docs/api/foundation-comms.defaultsocket.config.md +0 -11
  134. package/docs/api/foundation-comms.defaultsocket.host.md +0 -11
  135. package/docs/api/foundation-comms.genesisresources.destroy.md +0 -13
  136. package/docs/api/foundation-comms.genesisresources.getresourcetypefor.md +0 -13
  137. package/docs/api/foundation-comms.genesisresources.isvalidresource.md +0 -13
  138. package/docs/api/foundation-comms.genesisresources.md +0 -26
  139. package/docs/api/foundation-comms.genesisresourceschannel.md +0 -33
  140. package/docs/api/foundation-comms.genesisresourceschannelid.md +0 -12
  141. package/docs/api/foundation-comms.genesisresourcesconfig.md +0 -21
  142. package/docs/api/foundation-comms.genesisresourcesconfig.throwwhenunavailable.md +0 -13
  143. package/docs/api/foundation-comms.genesisresourcesconfig.throwwhenunknown.md +0 -13
  144. package/docs/api/foundation-comms.genesisresourcesevents.md +0 -17
  145. package/docs/api/foundation-comms.genesisresourcesmock.destroy.md +0 -15
  146. package/docs/api/foundation-comms.genesisresourcesmock.getresourcetypefor.md +0 -24
  147. package/docs/api/foundation-comms.genesisresourcesmock.isvalidresource.md +0 -24
  148. package/docs/api/foundation-comms.genesisresourcesmock.md +0 -30
  149. package/docs/api/foundation-comms.genesisresourcesmock.nextisvalidresourceresponse.md +0 -11
  150. package/docs/api/foundation-comms.genesisresourcesmock.nextresourcetypeforresponse.md +0 -11
  151. package/docs/api/foundation-comms.genesisresourcesmock.resources.md +0 -11
  152. package/docs/api/foundation-comms.getgenesisresources.md +0 -30
  153. package/docs/api/foundation-comms.getgenesisresourceschannel.md +0 -39
  154. package/docs/api/foundation-comms.resourceitem.md +0 -15
  155. package/docs/api/foundation-comms.resourcesmessage.md +0 -18
  156. package/docs/api/foundation-comms.socket.host.md +0 -11
@@ -1,353 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DatasourceEventHandler](./foundation-comms.datasourceeventhandler.md)
4
-
5
- ## DatasourceEventHandler variable
6
-
7
- Datasource event handler mixin for target classes that use or are interested in datasource status changes.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- DatasourceEventHandler: (Target: new () => HTMLElement & FASTElement) => {
13
- new (): {
14
- datasourceStatus: DatasourceStatus;
15
- resourceName: string;
16
- onDatasourceStatusChanged: (event: DatasourceStatusChangedEvent) => void;
17
- datasourceStatusChanged(prev: DatasourceStatus, next: DatasourceStatus): void;
18
- connectedCallback(): void;
19
- disconnectedCallback(): void;
20
- accessKey: string;
21
- readonly accessKeyLabel: string;
22
- autocapitalize: string;
23
- dir: string;
24
- draggable: boolean;
25
- hidden: boolean;
26
- inert: boolean;
27
- innerText: string;
28
- lang: string;
29
- readonly offsetHeight: number;
30
- readonly offsetLeft: number;
31
- readonly offsetParent: Element;
32
- readonly offsetTop: number;
33
- readonly offsetWidth: number;
34
- outerText: string;
35
- spellcheck: boolean;
36
- title: string;
37
- translate: boolean;
38
- attachInternals(): ElementInternals;
39
- click(): void;
40
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
41
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
42
- removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
43
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
44
- readonly attributes: NamedNodeMap;
45
- readonly classList: DOMTokenList;
46
- className: string;
47
- readonly clientHeight: number;
48
- readonly clientLeft: number;
49
- readonly clientTop: number;
50
- readonly clientWidth: number;
51
- id: string;
52
- readonly localName: string;
53
- readonly namespaceURI: string;
54
- onfullscreenchange: (this: Element, ev: Event) => any;
55
- onfullscreenerror: (this: Element, ev: Event) => any;
56
- outerHTML: string;
57
- readonly ownerDocument: Document;
58
- readonly part: DOMTokenList;
59
- readonly prefix: string;
60
- readonly scrollHeight: number;
61
- scrollLeft: number;
62
- scrollTop: number;
63
- readonly scrollWidth: number;
64
- readonly shadowRoot: ShadowRoot;
65
- slot: string;
66
- readonly tagName: string;
67
- attachShadow(init: ShadowRootInit): ShadowRoot;
68
- closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
69
- closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
70
- closest<E extends Element = Element>(selectors: string): E;
71
- getAttribute(qualifiedName: string): string;
72
- getAttributeNS(namespace: string, localName: string): string;
73
- getAttributeNames(): string[];
74
- getAttributeNode(qualifiedName: string): Attr;
75
- getAttributeNodeNS(namespace: string, localName: string): Attr;
76
- getBoundingClientRect(): DOMRect;
77
- getClientRects(): DOMRectList;
78
- getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
79
- getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
80
- getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
81
- getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
82
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
83
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
84
- getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
85
- hasAttribute(qualifiedName: string): boolean;
86
- hasAttributeNS(namespace: string, localName: string): boolean;
87
- hasAttributes(): boolean;
88
- hasPointerCapture(pointerId: number): boolean;
89
- insertAdjacentElement(where: InsertPosition, element: Element): Element;
90
- insertAdjacentHTML(position: InsertPosition, text: string): void;
91
- insertAdjacentText(where: InsertPosition, data: string): void;
92
- matches(selectors: string): boolean;
93
- releasePointerCapture(pointerId: number): void;
94
- removeAttribute(qualifiedName: string): void;
95
- removeAttributeNS(namespace: string, localName: string): void;
96
- removeAttributeNode(attr: Attr): Attr;
97
- requestFullscreen(options?: FullscreenOptions): Promise<void>;
98
- requestPointerLock(): void;
99
- scroll(options?: ScrollToOptions): void;
100
- scroll(x: number, y: number): void;
101
- scrollBy(options?: ScrollToOptions): void;
102
- scrollBy(x: number, y: number): void;
103
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
104
- scrollTo(options?: ScrollToOptions): void;
105
- scrollTo(x: number, y: number): void;
106
- setAttribute(qualifiedName: string, value: string): void;
107
- setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
108
- setAttributeNode(attr: Attr): Attr;
109
- setAttributeNodeNS(attr: Attr): Attr;
110
- setPointerCapture(pointerId: number): void;
111
- toggleAttribute(qualifiedName: string, force?: boolean): boolean;
112
- webkitMatchesSelector(selectors: string): boolean;
113
- readonly baseURI: string;
114
- readonly childNodes: NodeListOf<ChildNode>;
115
- readonly firstChild: ChildNode;
116
- readonly isConnected: boolean;
117
- readonly lastChild: ChildNode;
118
- readonly nextSibling: ChildNode;
119
- readonly nodeName: string;
120
- readonly nodeType: number;
121
- nodeValue: string;
122
- readonly parentElement: HTMLElement;
123
- readonly parentNode: ParentNode;
124
- readonly previousSibling: ChildNode;
125
- textContent: string;
126
- appendChild<T extends Node>(node: T): T;
127
- cloneNode(deep?: boolean): Node;
128
- compareDocumentPosition(other: Node): number;
129
- contains(other: Node): boolean;
130
- getRootNode(options?: GetRootNodeOptions): Node;
131
- hasChildNodes(): boolean;
132
- insertBefore<T_1 extends Node>(node: T_1, child: Node): T_1;
133
- isDefaultNamespace(namespace: string): boolean;
134
- isEqualNode(otherNode: Node): boolean;
135
- isSameNode(otherNode: Node): boolean;
136
- lookupNamespaceURI(prefix: string): string;
137
- lookupPrefix(namespace: string): string;
138
- normalize(): void;
139
- removeChild<T_2 extends Node>(child: T_2): T_2;
140
- replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
141
- readonly ATTRIBUTE_NODE: number;
142
- readonly CDATA_SECTION_NODE: number;
143
- readonly COMMENT_NODE: number;
144
- readonly DOCUMENT_FRAGMENT_NODE: number;
145
- readonly DOCUMENT_NODE: number;
146
- readonly DOCUMENT_POSITION_CONTAINED_BY: number;
147
- readonly DOCUMENT_POSITION_CONTAINS: number;
148
- readonly DOCUMENT_POSITION_DISCONNECTED: number;
149
- readonly DOCUMENT_POSITION_FOLLOWING: number;
150
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
151
- readonly DOCUMENT_POSITION_PRECEDING: number;
152
- readonly DOCUMENT_TYPE_NODE: number;
153
- readonly ELEMENT_NODE: number;
154
- readonly ENTITY_NODE: number;
155
- readonly ENTITY_REFERENCE_NODE: number;
156
- readonly NOTATION_NODE: number;
157
- readonly PROCESSING_INSTRUCTION_NODE: number;
158
- readonly TEXT_NODE: number;
159
- dispatchEvent(event: Event): boolean;
160
- ariaAtomic: string;
161
- ariaAutoComplete: string;
162
- ariaBusy: string;
163
- ariaChecked: string;
164
- ariaColCount: string;
165
- ariaColIndex: string;
166
- ariaColIndexText: string;
167
- ariaColSpan: string;
168
- ariaCurrent: string;
169
- ariaDisabled: string;
170
- ariaExpanded: string;
171
- ariaHasPopup: string;
172
- ariaHidden: string;
173
- ariaInvalid: string;
174
- ariaKeyShortcuts: string;
175
- ariaLabel: string;
176
- ariaLevel: string;
177
- ariaLive: string;
178
- ariaModal: string;
179
- ariaMultiLine: string;
180
- ariaMultiSelectable: string;
181
- ariaOrientation: string;
182
- ariaPlaceholder: string;
183
- ariaPosInSet: string;
184
- ariaPressed: string;
185
- ariaReadOnly: string;
186
- ariaRequired: string;
187
- ariaRoleDescription: string;
188
- ariaRowCount: string;
189
- ariaRowIndex: string;
190
- ariaRowIndexText: string;
191
- ariaRowSpan: string;
192
- ariaSelected: string;
193
- ariaSetSize: string;
194
- ariaSort: string;
195
- ariaValueMax: string;
196
- ariaValueMin: string;
197
- ariaValueNow: string;
198
- ariaValueText: string;
199
- role: string;
200
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation;
201
- getAnimations(options?: GetAnimationsOptions): Animation[];
202
- after(...nodes: (string | Node)[]): void;
203
- before(...nodes: (string | Node)[]): void;
204
- remove(): void;
205
- replaceWith(...nodes: (string | Node)[]): void;
206
- innerHTML: string;
207
- readonly nextElementSibling: Element;
208
- readonly previousElementSibling: Element;
209
- readonly childElementCount: number;
210
- readonly children: HTMLCollection;
211
- readonly firstElementChild: Element;
212
- readonly lastElementChild: Element;
213
- append(...nodes: (string | Node)[]): void;
214
- prepend(...nodes: (string | Node)[]): void;
215
- querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
216
- querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
217
- querySelector<E_1 extends Element = Element>(selectors: string): E_1;
218
- querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
219
- querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
220
- querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
221
- replaceChildren(...nodes: (string | Node)[]): void;
222
- readonly assignedSlot: HTMLSlotElement;
223
- oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
224
- oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
225
- onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
226
- readonly style: CSSStyleDeclaration;
227
- contentEditable: string;
228
- enterKeyHint: string;
229
- inputMode: string;
230
- readonly isContentEditable: boolean;
231
- onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
232
- onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
233
- onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
234
- onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
235
- onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
236
- onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
237
- onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
238
- onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
239
- oncancel: (this: GlobalEventHandlers, ev: Event) => any;
240
- oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
241
- oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
242
- onchange: (this: GlobalEventHandlers, ev: Event) => any;
243
- onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
244
- onclose: (this: GlobalEventHandlers, ev: Event) => any;
245
- oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
246
- oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
247
- ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
248
- ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
249
- ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
250
- ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
251
- ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
252
- ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
253
- ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
254
- ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
255
- ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
256
- onemptied: (this: GlobalEventHandlers, ev: Event) => any;
257
- onended: (this: GlobalEventHandlers, ev: Event) => any;
258
- onerror: OnErrorEventHandlerNonNull;
259
- onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
260
- onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
261
- ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
262
- oninput: (this: GlobalEventHandlers, ev: Event) => any;
263
- oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
264
- onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
265
- onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
266
- onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
267
- onload: (this: GlobalEventHandlers, ev: Event) => any;
268
- onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
269
- onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
270
- onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
271
- onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
272
- onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
273
- onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
274
- onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
275
- onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
276
- onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
277
- onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
278
- onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
279
- onpause: (this: GlobalEventHandlers, ev: Event) => any;
280
- onplay: (this: GlobalEventHandlers, ev: Event) => any;
281
- onplaying: (this: GlobalEventHandlers, ev: Event) => any;
282
- onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
283
- onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
284
- onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
285
- onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
286
- onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
287
- onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
288
- onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
289
- onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
290
- onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
291
- onratechange: (this: GlobalEventHandlers, ev: Event) => any;
292
- onreset: (this: GlobalEventHandlers, ev: Event) => any;
293
- onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
294
- onscroll: (this: GlobalEventHandlers, ev: Event) => any;
295
- onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
296
- onseeked: (this: GlobalEventHandlers, ev: Event) => any;
297
- onseeking: (this: GlobalEventHandlers, ev: Event) => any;
298
- onselect: (this: GlobalEventHandlers, ev: Event) => any;
299
- onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
300
- onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
301
- onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
302
- onstalled: (this: GlobalEventHandlers, ev: Event) => any;
303
- onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
304
- onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
305
- ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
306
- ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
307
- ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
308
- ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
309
- ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
310
- ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
311
- ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
312
- ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
313
- ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
314
- ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
315
- onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
316
- onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
317
- onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
318
- onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
319
- onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
320
- onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
321
- onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
322
- autofocus: boolean;
323
- readonly dataset: DOMStringMap;
324
- nonce?: string;
325
- tabIndex: number;
326
- blur(): void;
327
- focus(options?: FocusOptions): void;
328
- readonly $fastController: import("@microsoft/fast-element").Controller;
329
- $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
330
- attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
331
- };
332
- }
333
- ```
334
-
335
- ## Remarks
336
-
337
- Classes that use the mixin are not required to own the datasource itself, there may be several interested parties.
338
-
339
- ## Example
340
-
341
-
342
- ```ts
343
- import { DatasourceEventHandler, DatasourceStatus } from '@genesislcap/foundation-comms';
344
- ...
345
- class MyComponent extends DatasourceEventHandler(FASTElement) {
346
- resourceName: string = 'some-resource';
347
- ...
348
- datasourceStatusChanged(prev: DatasourceStatus, next: DatasourceStatus) {
349
- // Respond to changes in the target datasource.
350
- }
351
- }
352
- ```
353
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DatasourceMetadata](./foundation-comms.datasourcemetadata.md) &gt; [availableIndexes](./foundation-comms.datasourcemetadata.availableindexes.md)
4
-
5
- ## DatasourceMetadata.availableIndexes property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- readonly availableIndexes: IndexDetail[];
11
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DatasourceMetadata](./foundation-comms.datasourcemetadata.md) &gt; [fetchMetadataRequired](./foundation-comms.datasourcemetadata.fetchmetadatarequired.md)
4
-
5
- ## DatasourceMetadata.fetchMetadataRequired property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- fetchMetadataRequired: boolean;
11
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DatasourceMetadata](./foundation-comms.datasourcemetadata.md) &gt; [fieldMetadata](./foundation-comms.datasourcemetadata.fieldmetadata.md)
4
-
5
- ## DatasourceMetadata.fieldMetadata property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- readonly fieldMetadata: FieldMetadata[];
11
- ```
@@ -1,24 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DatasourceMetadata](./foundation-comms.datasourcemetadata.md)
4
-
5
- ## DatasourceMetadata interface
6
-
7
- DatasourceMetadata interface.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export interface DatasourceMetadata
13
- ```
14
-
15
- ## Properties
16
-
17
- | Property | Modifiers | Type | Description |
18
- | --- | --- | --- | --- |
19
- | [availableIndexes](./foundation-comms.datasourcemetadata.availableindexes.md) | <code>readonly</code> | [IndexDetail](./foundation-comms.indexdetail.md)<!-- -->\[\] | |
20
- | [fetchMetadataRequired](./foundation-comms.datasourcemetadata.fetchmetadatarequired.md) | | boolean | |
21
- | [fieldMetadata](./foundation-comms.datasourcemetadata.fieldmetadata.md) | <code>readonly</code> | [FieldMetadata](./foundation-comms.fieldmetadata.md)<!-- -->\[\] | |
22
- | [originalFieldDef](./foundation-comms.datasourcemetadata.originalfielddef.md) | <code>readonly</code> | [MetadataDetail](./foundation-comms.metadatadetail.md)<!-- -->\[\] | |
23
- | [requestFields](./foundation-comms.datasourcemetadata.requestfields.md) | <code>readonly</code> | [MetadataDetail](./foundation-comms.metadatadetail.md)<!-- -->\[\] | |
24
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DatasourceMetadata](./foundation-comms.datasourcemetadata.md) &gt; [originalFieldDef](./foundation-comms.datasourcemetadata.originalfielddef.md)
4
-
5
- ## DatasourceMetadata.originalFieldDef property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- readonly originalFieldDef: MetadataDetail[];
11
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DatasourceMetadata](./foundation-comms.datasourcemetadata.md) &gt; [requestFields](./foundation-comms.datasourcemetadata.requestfields.md)
4
-
5
- ## DatasourceMetadata.requestFields property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- readonly requestFields: MetadataDetail[];
11
- ```
@@ -1,21 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DatasourceStatus](./foundation-comms.datasourcestatus.md)
4
-
5
- ## DatasourceStatus type
6
-
7
- DatasourceStatus.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export type DatasourceStatus = {
13
- name: string;
14
- type: `${ResourceType}`;
15
- isInitialized: boolean;
16
- metadataRequired: boolean;
17
- hasMetadata: boolean;
18
- };
19
- ```
20
- **References:** [ResourceType](./foundation-comms.resourcetype.md)
21
-
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DatasourceStatusChanged](./foundation-comms.datasourcestatuschanged.md)
4
-
5
- ## DatasourceStatusChanged variable
6
-
7
- DatasourceStatusChanged.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- DatasourceStatusChanged = "datasource-status-changed"
13
- ```
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DatasourceStatusChangedEvent](./foundation-comms.datasourcestatuschangedevent.md)
4
-
5
- ## DatasourceStatusChangedEvent type
6
-
7
- DatasourceStatusChangedEvent.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export type DatasourceStatusChangedEvent = CustomEvent<DatasourceStatus>;
13
- ```
14
- **References:** [DatasourceStatus](./foundation-comms.datasourcestatus.md)
15
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DefaultConnect](./foundation-comms.defaultconnect.md) &gt; [host](./foundation-comms.defaultconnect.host.md)
4
-
5
- ## DefaultConnect.host property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- get host(): string;
11
- ```
@@ -1,22 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DefaultDatasource](./foundation-comms.defaultdatasource.md) &gt; [fetchAndApplyMetadata](./foundation-comms.defaultdatasource.fetchandapplymetadata.md)
4
-
5
- ## DefaultDatasource.fetchAndApplyMetadata() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- protected fetchAndApplyMetadata(resourceName: string): Promise<void>;
11
- ```
12
-
13
- ## Parameters
14
-
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | resourceName | string | |
18
-
19
- **Returns:**
20
-
21
- Promise&lt;void&gt;
22
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DefaultDatasource](./foundation-comms.defaultdatasource.md) &gt; [resources](./foundation-comms.defaultdatasource.resources.md)
4
-
5
- ## DefaultDatasource.resources property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- protected resources: GenesisResources;
11
- ```
@@ -1,12 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DefaultDatasource](./foundation-comms.defaultdatasource.md) &gt; [status](./foundation-comms.defaultdatasource.status.md)
4
-
5
- ## DefaultDatasource.status property
6
-
7
-
8
- **Signature:**
9
-
10
- ```typescript
11
- status: DatasourceStatus;
12
- ```
@@ -1,21 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DefaultGenesisResources](./foundation-comms.defaultgenesisresources.md) &gt; [(constructor)](./foundation-comms.defaultgenesisresources._constructor_.md)
4
-
5
- ## DefaultGenesisResources.(constructor)
6
-
7
- Constructs a new instance of the `DefaultGenesisResources` class
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- constructor(connect: Connect, config: GenesisResourcesConfig);
13
- ```
14
-
15
- ## Parameters
16
-
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | connect | [Connect](./foundation-comms.connect.md) | |
20
- | config | [GenesisResourcesConfig](./foundation-comms.genesisresourcesconfig.md) | |
21
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DefaultGenesisResources](./foundation-comms.defaultgenesisresources.md) &gt; [config](./foundation-comms.defaultgenesisresources.config.md)
4
-
5
- ## DefaultGenesisResources.config property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- protected config: GenesisResourcesConfig;
11
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DefaultGenesisResources](./foundation-comms.defaultgenesisresources.md) &gt; [connect](./foundation-comms.defaultgenesisresources.connect.md)
4
-
5
- ## DefaultGenesisResources.connect property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- protected connect: Connect;
11
- ```
@@ -1,17 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DefaultGenesisResources](./foundation-comms.defaultgenesisresources.md) &gt; [destroy](./foundation-comms.defaultgenesisresources.destroy.md)
4
-
5
- ## DefaultGenesisResources.destroy() method
6
-
7
- Destroy and garbage collect
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- destroy(): void;
13
- ```
14
- **Returns:**
15
-
16
- void
17
-
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DefaultGenesisResources](./foundation-comms.defaultgenesisresources.md) &gt; [getResources](./foundation-comms.defaultgenesisresources.getresources.md)
4
-
5
- ## DefaultGenesisResources.getResources() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- protected getResources(): Promise<void>;
11
- ```
12
- **Returns:**
13
-
14
- Promise&lt;void&gt;
15
-