@genesislcap/foundation-fdc3 14.225.3 → 14.225.4-alpha-5f6eefd.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/dist/dts/fdc3-channel-event.d.ts +46 -29
  2. package/dist/dts/fdc3-channel-event.d.ts.map +1 -1
  3. package/dist/dts/tsdoc-metadata.json +1 -1
  4. package/dist/dts/util/fdc3-intent-listener.d.ts +46 -29
  5. package/dist/dts/util/fdc3-intent-listener.d.ts.map +1 -1
  6. package/dist/dts/util/fdc3-raise-intent.d.ts +46 -29
  7. package/dist/dts/util/fdc3-raise-intent.d.ts.map +1 -1
  8. package/dist/dts/util/fdc3-system-channel-listener.d.ts +46 -29
  9. package/dist/dts/util/fdc3-system-channel-listener.d.ts.map +1 -1
  10. package/dist/esm/fdc3.js +2 -2
  11. package/dist/foundation-fdc3.api.json +845 -178
  12. package/dist/foundation-fdc3.d.ts +182 -116
  13. package/docs/api/foundation-fdc3.appchannellistenerconfig.channelname.md +14 -0
  14. package/docs/api/foundation-fdc3.appchannellistenerconfig.md +24 -0
  15. package/docs/api/foundation-fdc3.fdc3contextlistener.config.md +14 -0
  16. package/docs/api/foundation-fdc3.fdc3contextlistener.md +24 -0
  17. package/docs/api/foundation-fdc3.fdc3intentlistener.fdc3.md +14 -0
  18. package/docs/api/foundation-fdc3.fdc3intentlistener.intentconfig.md +14 -0
  19. package/docs/api/foundation-fdc3.fdc3intentlistener.md +25 -0
  20. package/docs/api/foundation-fdc3.fdc3raiseintent.eventname.md +14 -0
  21. package/docs/api/foundation-fdc3.fdc3raiseintent.fdc3.md +14 -0
  22. package/docs/api/foundation-fdc3.fdc3raiseintent.intentname.md +14 -0
  23. package/docs/api/foundation-fdc3.fdc3raiseintent.intenttype.md +14 -0
  24. package/docs/api/foundation-fdc3.fdc3raiseintent.mappingfunction.md +14 -0
  25. package/docs/api/foundation-fdc3.fdc3raiseintent.md +28 -0
  26. package/docs/api/foundation-fdc3.fdc3systemchannellistener.config.md +14 -0
  27. package/docs/api/foundation-fdc3.fdc3systemchannellistener.fdc3.md +14 -0
  28. package/docs/api/foundation-fdc3.fdc3systemchannellistener.md +25 -0
  29. package/docs/api/foundation-fdc3.intentconfig.callback.md +14 -0
  30. package/docs/api/foundation-fdc3.intentconfig.intent.md +14 -0
  31. package/docs/api/foundation-fdc3.intentconfig.md +24 -0
  32. package/docs/api/foundation-fdc3.interopfoundationnotificationlistener.md +11 -1
  33. package/docs/api/foundation-fdc3.md +13 -1
  34. package/docs/api/foundation-fdc3.systemchannellistenerconfig.callback.md +14 -0
  35. package/docs/api/foundation-fdc3.systemchannellistenerconfig.channeltype.md +14 -0
  36. package/docs/api/foundation-fdc3.systemchannellistenerconfig.md +24 -0
  37. package/docs/{api-report.md → api-report.md.api.md} +2 -0
  38. package/package.json +15 -15
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import { FoundationElement } from '@genesislcap/web-core';
2
3
  import { FDC3 } from '../fdc3';
3
4
  /**
@@ -42,11 +43,15 @@ declare const Fdc3SystemChannelListener_base: (new (...args: any[]) => {
42
43
  readonly offsetTop: number;
43
44
  readonly offsetWidth: number;
44
45
  outerText: string;
46
+ popover: string;
45
47
  spellcheck: boolean;
46
48
  title: string;
47
49
  translate: boolean;
48
50
  attachInternals(): ElementInternals;
49
51
  click(): void;
52
+ hidePopover(): void;
53
+ showPopover(): void;
54
+ togglePopover(force?: boolean): boolean;
50
55
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
51
56
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
52
57
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
@@ -75,9 +80,12 @@ declare const Fdc3SystemChannelListener_base: (new (...args: any[]) => {
75
80
  slot: string;
76
81
  readonly tagName: string;
77
82
  attachShadow(init: ShadowRootInit): ShadowRoot;
83
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
78
84
  closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
79
85
  closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
86
+ closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
80
87
  closest<E extends Element = Element>(selectors: string): E;
88
+ computedStyleMap(): StylePropertyMapReadOnly;
81
89
  getAttribute(qualifiedName: string): string;
82
90
  getAttributeNS(namespace: string, localName: string): string;
83
91
  getAttributeNames(): string[];
@@ -86,11 +94,14 @@ declare const Fdc3SystemChannelListener_base: (new (...args: any[]) => {
86
94
  getBoundingClientRect(): DOMRect;
87
95
  getClientRects(): DOMRectList;
88
96
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
89
- getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
90
- getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
97
+ getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
98
+ getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
99
+ getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
100
+ getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
91
101
  getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
92
102
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
93
103
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
104
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
94
105
  getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
95
106
  hasAttribute(qualifiedName: string): boolean;
96
107
  hasAttributeNS(namespace: string, localName: string): boolean;
@@ -147,24 +158,24 @@ declare const Fdc3SystemChannelListener_base: (new (...args: any[]) => {
147
158
  normalize(): void;
148
159
  removeChild<T_3 extends Node>(child: T_3): T_3;
149
160
  replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
150
- readonly ATTRIBUTE_NODE: number;
151
- readonly CDATA_SECTION_NODE: number;
152
- readonly COMMENT_NODE: number;
153
- readonly DOCUMENT_FRAGMENT_NODE: number;
154
- readonly DOCUMENT_NODE: number;
155
- readonly DOCUMENT_POSITION_CONTAINED_BY: number;
156
- readonly DOCUMENT_POSITION_CONTAINS: number;
157
- readonly DOCUMENT_POSITION_DISCONNECTED: number;
158
- readonly DOCUMENT_POSITION_FOLLOWING: number;
159
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
160
- readonly DOCUMENT_POSITION_PRECEDING: number;
161
- readonly DOCUMENT_TYPE_NODE: number;
162
- readonly ELEMENT_NODE: number;
163
- readonly ENTITY_NODE: number;
164
- readonly ENTITY_REFERENCE_NODE: number;
165
- readonly NOTATION_NODE: number;
166
- readonly PROCESSING_INSTRUCTION_NODE: number;
167
- readonly TEXT_NODE: number;
161
+ readonly ELEMENT_NODE: 1;
162
+ readonly ATTRIBUTE_NODE: 2;
163
+ readonly TEXT_NODE: 3;
164
+ readonly CDATA_SECTION_NODE: 4;
165
+ readonly ENTITY_REFERENCE_NODE: 5;
166
+ readonly ENTITY_NODE: 6;
167
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
168
+ readonly COMMENT_NODE: 8;
169
+ readonly DOCUMENT_NODE: 9;
170
+ readonly DOCUMENT_TYPE_NODE: 10;
171
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
172
+ readonly NOTATION_NODE: 12;
173
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
174
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
175
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
176
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
177
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
178
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
168
179
  dispatchEvent(event: Event): boolean;
169
180
  ariaAtomic: string;
170
181
  ariaAutoComplete: string;
@@ -172,9 +183,9 @@ declare const Fdc3SystemChannelListener_base: (new (...args: any[]) => {
172
183
  ariaChecked: string;
173
184
  ariaColCount: string;
174
185
  ariaColIndex: string;
175
- ariaColIndexText: string;
176
186
  ariaColSpan: string;
177
187
  ariaCurrent: string;
188
+ ariaDescription: string;
178
189
  ariaDisabled: string;
179
190
  ariaExpanded: string;
180
191
  ariaHasPopup: string;
@@ -196,7 +207,6 @@ declare const Fdc3SystemChannelListener_base: (new (...args: any[]) => {
196
207
  ariaRoleDescription: string;
197
208
  ariaRowCount: string;
198
209
  ariaRowIndex: string;
199
- ariaRowIndexText: string;
200
210
  ariaRowSpan: string;
201
211
  ariaSelected: string;
202
212
  ariaSetSize: string;
@@ -221,17 +231,19 @@ declare const Fdc3SystemChannelListener_base: (new (...args: any[]) => {
221
231
  readonly lastElementChild: Element;
222
232
  append(...nodes: (string | Node)[]): void;
223
233
  prepend(...nodes: (string | Node)[]): void;
224
- querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
225
- querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
234
+ querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
235
+ querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
236
+ querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
237
+ querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
226
238
  querySelector<E_1 extends Element = Element>(selectors: string): E_1;
227
- querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
228
- querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
239
+ querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
240
+ querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
241
+ querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
242
+ querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
229
243
  querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
230
244
  replaceChildren(...nodes: (string | Node)[]): void;
231
245
  readonly assignedSlot: HTMLSlotElement;
232
- oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
233
- oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
234
- onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
246
+ readonly attributeStyleMap: StylePropertyMap;
235
247
  readonly style: CSSStyleDeclaration;
236
248
  contentEditable: string;
237
249
  enterKeyHint: string;
@@ -244,6 +256,7 @@ declare const Fdc3SystemChannelListener_base: (new (...args: any[]) => {
244
256
  onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
245
257
  onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
246
258
  onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
259
+ onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
247
260
  onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
248
261
  oncancel: (this: GlobalEventHandlers, ev: Event) => any;
249
262
  oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
@@ -252,7 +265,9 @@ declare const Fdc3SystemChannelListener_base: (new (...args: any[]) => {
252
265
  onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
253
266
  onclose: (this: GlobalEventHandlers, ev: Event) => any;
254
267
  oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
268
+ oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
255
269
  oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
270
+ oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
256
271
  ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
257
272
  ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
258
273
  ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
@@ -285,6 +300,7 @@ declare const Fdc3SystemChannelListener_base: (new (...args: any[]) => {
285
300
  onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
286
301
  onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
287
302
  onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
303
+ onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
288
304
  onpause: (this: GlobalEventHandlers, ev: Event) => any;
289
305
  onplay: (this: GlobalEventHandlers, ev: Event) => any;
290
306
  onplaying: (this: GlobalEventHandlers, ev: Event) => any;
@@ -301,6 +317,7 @@ declare const Fdc3SystemChannelListener_base: (new (...args: any[]) => {
301
317
  onreset: (this: GlobalEventHandlers, ev: Event) => any;
302
318
  onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
303
319
  onscroll: (this: GlobalEventHandlers, ev: Event) => any;
320
+ onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
304
321
  onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
305
322
  onseeked: (this: GlobalEventHandlers, ev: Event) => any;
306
323
  onseeking: (this: GlobalEventHandlers, ev: Event) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"fdc3-system-channel-listener.d.ts","sourceRoot":"","sources":["../../../src/util/fdc3-system-channel-listener.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAEzE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B;;;;;GAKG;AACH,MAAM,WAAW,2BAA2B;IAC1C,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,CAAC,GAAG,KAAA,KAAK,IAAI,CAAC;CACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED;;;;GAIG;AACH,qBAGa,yBAA0B,SAAQ,8BAAiC;IAC9E,MAAM,EAAE,2BAA2B,EAAE,CAAM;IAErC,IAAI,EAAE,IAAI,CAAC;IAER,SAAS,IAAI,IAAI;IAgB1B,iBAAiB;IAUjB,OAAO,CAAC,UAAU,CAAsB;IAExC,SAAS,CAAC,mBAAmB,IAAI,IAAI;IAarC,oBAAoB;CAIrB"}
1
+ {"version":3,"file":"fdc3-system-channel-listener.d.ts","sourceRoot":"","sources":["../../../src/util/fdc3-system-channel-listener.ts"],"names":[],"mappings":";AACA,OAAO,EAAiB,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAEzE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B;;;;;GAKG;AACH,MAAM,WAAW,2BAA2B;IAC1C,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,CAAC,GAAG,KAAA,KAAK,IAAI,CAAC;CACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED;;;;GAIG;AACH,qBAGa,yBAA0B,SAAQ,8BAAiC;IAC9E,MAAM,EAAE,2BAA2B,EAAE,CAAM;IAErC,IAAI,EAAE,IAAI,CAAC;IAER,SAAS,IAAI,IAAI;IAgB1B,iBAAiB;IAUjB,OAAO,CAAC,UAAU,CAAsB;IAExC,SAAS,CAAC,mBAAmB,IAAI,IAAI;IAarC,oBAAoB;CAIrB"}
package/dist/esm/fdc3.js CHANGED
@@ -72,8 +72,8 @@ export class DefaultFDC3 {
72
72
  }
73
73
  }
74
74
  joinChannel(channelId) {
75
- var _a;
76
75
  return __awaiter(this, void 0, void 0, function* () {
76
+ var _a;
77
77
  logger.debug(`fdc3 joinChannel '${channelId}'`);
78
78
  if (((_a = this._currentChannel) === null || _a === void 0 ? void 0 : _a.id) === channelId) {
79
79
  return;
@@ -158,8 +158,8 @@ export class DefaultFDC3 {
158
158
  });
159
159
  }
160
160
  handleInteropChannelChanges() {
161
- var _a, _b;
162
161
  return __awaiter(this, void 0, void 0, function* () {
162
+ var _a, _b;
163
163
  if (this.isInteropFdc3()) {
164
164
  // Listen to changes from the io channel selector.
165
165
  // This can be done on the interop container window which is outside this app scope