@genesislcap/foundation-fdc3 14.192.0 → 14.192.2-fdc3-enhancements.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,6 @@ import { Context } from '@finos/fdc3';
4
4
  import { ContextHandler } from '@finos/fdc3';
5
5
  import { Controller } from '@microsoft/fast-element';
6
6
  import { DOMContainer } from '@genesislcap/foundation-utils';
7
- import { FASTElement } from '@genesislcap/web-core';
8
7
  import { FoundationElement } from '@genesislcap/web-core';
9
8
  import { FoundationElementRegistry } from '@microsoft/fast-foundation';
10
9
  import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
@@ -15,6 +14,7 @@ import { IOConnectDesktop } from '@interopio/desktop';
15
14
  import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
16
15
  import { NotificationDataRow } from '@genesislcap/foundation-notifications';
17
16
  import { NotificationListener } from '@genesislcap/foundation-ui';
17
+ import { Observable } from 'rxjs';
18
18
  import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
19
19
  import { ViewTemplate } from '@microsoft/fast-element';
20
20
 
@@ -34,6 +34,8 @@ export declare interface ChannelConfig {
34
34
  */
35
35
  export declare class DefaultFDC3 implements FDC3 {
36
36
  isReady: boolean;
37
+ private _currentChannel$;
38
+ currentChannel$: Observable<Channel>;
37
39
  constructor();
38
40
  private connect;
39
41
  addIntentListeners(listeners: Map<FDC3Intents, FDC3ContextHandler>): void;
@@ -43,9 +45,11 @@ export declare class DefaultFDC3 implements FDC3 {
43
45
  joinChannel(channelId: string): Promise<void>;
44
46
  getOrCreateChannel(channelId: string): Promise<FDC3Channel>;
45
47
  broadcastOnChannel(channelName: string, type: string, payload: any): Promise<void>;
48
+ broadcastOnCurrentChannel(payload: any, type?: string): Promise<void>;
46
49
  broadcastOnChannelEventHandler(channelName: string, type: string): Promise<(e: any) => Promise<void>>;
47
50
  addChannelListener(channelName: string, channelType: string, callback: (any: any) => void): Promise<Channel>;
48
51
  getCurrentChannel(): Promise<Channel>;
52
+ private broadcastMessageOnChannel;
49
53
  }
50
54
 
51
55
  /**
@@ -108,6 +112,12 @@ export declare interface FDC3 {
108
112
  * @param payload - payload sent to the channel
109
113
  */
110
114
  broadcastOnChannel(channelName: string, type: string, payload: any): Promise<void>;
115
+ /**
116
+ * Broadcasts a message on the current app channel
117
+ * @param type - type of the channel
118
+ * @param payload - payload sent to the channel
119
+ */
120
+ broadcastOnCurrentChannel(payload: any, type?: string): Promise<void>;
111
121
  /**
112
122
  * Helper function to broadcast message on channel in response to dispatched event
113
123
  * @param channelName - name of the channel
@@ -513,27 +523,681 @@ export declare type FDC3Intents = Intents;
513
523
  * fdc3-listener
514
524
  * @alpha
515
525
  */
516
- export declare class Fdc3Listener extends FASTElement {
526
+ export declare class Fdc3Listener extends Fdc3Listener_base {
517
527
  fdc3: FDC3;
518
528
  intentConfig: IntentConfig[];
519
529
  channelConfig: ChannelConfig[];
530
+ deepClone(): Node;
520
531
  connectedCallback(): void;
521
532
  }
522
533
 
523
- /**
524
- * fdc3-raise-intent
525
- * @alpha
526
- */
527
- export declare class Fdc3RaiseIntent extends FASTElement {
528
- fdc3: FDC3;
529
- eventName: string;
530
- intentType: string;
531
- intentName: string;
532
- mappingFunction: (any: any) => any;
534
+ declare const Fdc3Listener_base: (new (...args: any[]) => {
535
+ "__#1@#_container": FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
536
+ "__#1@#_latestTokenCode": string;
537
+ "__#1@#_hasFirstLoaded": boolean;
538
+ "__#1@#_cleanupTimeout": NodeJS.Timeout;
539
+ "__#1@#_shouldForceLifecycle": boolean;
540
+ cloneNode(deep?: boolean): Node;
541
+ deepClone(): Node;
542
+ readonly shouldRunDisconnect: boolean;
543
+ readonly shouldRunConnect: boolean;
544
+ "__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
545
+ "__#1@#_tryFindContainingLayout"(e: Element): FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
533
546
  connectedCallback(): void;
547
+ readonly $fastController: Controller;
548
+ $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
534
549
  disconnectedCallback(): void;
535
- private sendEventOnChannel;
536
- }
550
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
551
+ accessKey: string;
552
+ readonly accessKeyLabel: string;
553
+ autocapitalize: string;
554
+ dir: string;
555
+ draggable: boolean;
556
+ hidden: boolean;
557
+ inert: boolean;
558
+ innerText: string;
559
+ lang: string;
560
+ readonly offsetHeight: number;
561
+ readonly offsetLeft: number;
562
+ readonly offsetParent: Element;
563
+ readonly offsetTop: number;
564
+ readonly offsetWidth: number;
565
+ outerText: string;
566
+ spellcheck: boolean;
567
+ title: string;
568
+ translate: boolean;
569
+ attachInternals(): ElementInternals;
570
+ click(): void;
571
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
572
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
573
+ removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
574
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
575
+ readonly attributes: NamedNodeMap;
576
+ readonly classList: DOMTokenList;
577
+ className: string;
578
+ readonly clientHeight: number;
579
+ readonly clientLeft: number;
580
+ readonly clientTop: number;
581
+ readonly clientWidth: number;
582
+ id: string;
583
+ readonly localName: string;
584
+ readonly namespaceURI: string;
585
+ onfullscreenchange: (this: Element, ev: Event) => any;
586
+ onfullscreenerror: (this: Element, ev: Event) => any;
587
+ outerHTML: string;
588
+ readonly ownerDocument: Document;
589
+ readonly part: DOMTokenList;
590
+ readonly prefix: string;
591
+ readonly scrollHeight: number;
592
+ scrollLeft: number;
593
+ scrollTop: number;
594
+ readonly scrollWidth: number;
595
+ readonly shadowRoot: ShadowRoot;
596
+ slot: string;
597
+ readonly tagName: string;
598
+ attachShadow(init: ShadowRootInit): ShadowRoot;
599
+ closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
600
+ closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
601
+ closest<E extends Element = Element>(selectors: string): E;
602
+ getAttribute(qualifiedName: string): string;
603
+ getAttributeNS(namespace: string, localName: string): string;
604
+ getAttributeNames(): string[];
605
+ getAttributeNode(qualifiedName: string): Attr;
606
+ getAttributeNodeNS(namespace: string, localName: string): Attr;
607
+ getBoundingClientRect(): DOMRect;
608
+ getClientRects(): DOMRectList;
609
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
610
+ getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
611
+ getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
612
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
613
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
614
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
615
+ getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
616
+ hasAttribute(qualifiedName: string): boolean;
617
+ hasAttributeNS(namespace: string, localName: string): boolean;
618
+ hasAttributes(): boolean;
619
+ hasPointerCapture(pointerId: number): boolean;
620
+ insertAdjacentElement(where: InsertPosition, element: Element): Element;
621
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
622
+ insertAdjacentText(where: InsertPosition, data: string): void;
623
+ matches(selectors: string): boolean;
624
+ releasePointerCapture(pointerId: number): void;
625
+ removeAttribute(qualifiedName: string): void;
626
+ removeAttributeNS(namespace: string, localName: string): void;
627
+ removeAttributeNode(attr: Attr): Attr;
628
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
629
+ requestPointerLock(): void;
630
+ scroll(options?: ScrollToOptions): void;
631
+ scroll(x: number, y: number): void;
632
+ scrollBy(options?: ScrollToOptions): void;
633
+ scrollBy(x: number, y: number): void;
634
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
635
+ scrollTo(options?: ScrollToOptions): void;
636
+ scrollTo(x: number, y: number): void;
637
+ setAttribute(qualifiedName: string, value: string): void;
638
+ setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
639
+ setAttributeNode(attr: Attr): Attr;
640
+ setAttributeNodeNS(attr: Attr): Attr;
641
+ setPointerCapture(pointerId: number): void;
642
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
643
+ webkitMatchesSelector(selectors: string): boolean;
644
+ readonly baseURI: string;
645
+ readonly childNodes: NodeListOf<ChildNode>;
646
+ readonly firstChild: ChildNode;
647
+ readonly isConnected: boolean;
648
+ readonly lastChild: ChildNode;
649
+ readonly nextSibling: ChildNode;
650
+ readonly nodeName: string;
651
+ readonly nodeType: number;
652
+ nodeValue: string;
653
+ readonly parentElement: HTMLElement;
654
+ readonly parentNode: ParentNode;
655
+ readonly previousSibling: ChildNode;
656
+ textContent: string;
657
+ appendChild<T_1 extends Node>(node: T_1): T_1;
658
+ compareDocumentPosition(other: Node): number;
659
+ contains(other: Node): boolean;
660
+ getRootNode(options?: GetRootNodeOptions): Node;
661
+ hasChildNodes(): boolean;
662
+ insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
663
+ isDefaultNamespace(namespace: string): boolean;
664
+ isEqualNode(otherNode: Node): boolean;
665
+ isSameNode(otherNode: Node): boolean;
666
+ lookupNamespaceURI(prefix: string): string;
667
+ lookupPrefix(namespace: string): string;
668
+ normalize(): void;
669
+ removeChild<T_3 extends Node>(child: T_3): T_3;
670
+ replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
671
+ readonly ATTRIBUTE_NODE: number;
672
+ readonly CDATA_SECTION_NODE: number;
673
+ readonly COMMENT_NODE: number;
674
+ readonly DOCUMENT_FRAGMENT_NODE: number;
675
+ readonly DOCUMENT_NODE: number;
676
+ readonly DOCUMENT_POSITION_CONTAINED_BY: number;
677
+ readonly DOCUMENT_POSITION_CONTAINS: number;
678
+ readonly DOCUMENT_POSITION_DISCONNECTED: number;
679
+ readonly DOCUMENT_POSITION_FOLLOWING: number;
680
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
681
+ readonly DOCUMENT_POSITION_PRECEDING: number;
682
+ readonly DOCUMENT_TYPE_NODE: number;
683
+ readonly ELEMENT_NODE: number;
684
+ readonly ENTITY_NODE: number;
685
+ readonly ENTITY_REFERENCE_NODE: number;
686
+ readonly NOTATION_NODE: number;
687
+ readonly PROCESSING_INSTRUCTION_NODE: number;
688
+ readonly TEXT_NODE: number;
689
+ dispatchEvent(event: Event): boolean;
690
+ ariaAtomic: string;
691
+ ariaAutoComplete: string;
692
+ ariaBusy: string;
693
+ ariaChecked: string;
694
+ ariaColCount: string;
695
+ ariaColIndex: string;
696
+ ariaColIndexText: string;
697
+ ariaColSpan: string;
698
+ ariaCurrent: string;
699
+ ariaDisabled: string;
700
+ ariaExpanded: string;
701
+ ariaHasPopup: string;
702
+ ariaHidden: string;
703
+ ariaInvalid: string;
704
+ ariaKeyShortcuts: string;
705
+ ariaLabel: string;
706
+ ariaLevel: string;
707
+ ariaLive: string;
708
+ ariaModal: string;
709
+ ariaMultiLine: string;
710
+ ariaMultiSelectable: string;
711
+ ariaOrientation: string;
712
+ ariaPlaceholder: string;
713
+ ariaPosInSet: string;
714
+ ariaPressed: string;
715
+ ariaReadOnly: string;
716
+ ariaRequired: string;
717
+ ariaRoleDescription: string;
718
+ ariaRowCount: string;
719
+ ariaRowIndex: string;
720
+ ariaRowIndexText: string;
721
+ ariaRowSpan: string;
722
+ ariaSelected: string;
723
+ ariaSetSize: string;
724
+ ariaSort: string;
725
+ ariaValueMax: string;
726
+ ariaValueMin: string;
727
+ ariaValueNow: string;
728
+ ariaValueText: string;
729
+ role: string;
730
+ animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
731
+ getAnimations(options?: GetAnimationsOptions): Animation[];
732
+ after(...nodes: (string | Node)[]): void;
733
+ before(...nodes: (string | Node)[]): void;
734
+ remove(): void;
735
+ replaceWith(...nodes: (string | Node)[]): void;
736
+ innerHTML: string;
737
+ readonly nextElementSibling: Element;
738
+ readonly previousElementSibling: Element;
739
+ readonly childElementCount: number;
740
+ readonly children: HTMLCollection;
741
+ readonly firstElementChild: Element;
742
+ readonly lastElementChild: Element;
743
+ append(...nodes: (string | Node)[]): void;
744
+ prepend(...nodes: (string | Node)[]): void;
745
+ querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
746
+ querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
747
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1;
748
+ querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
749
+ querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
750
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
751
+ replaceChildren(...nodes: (string | Node)[]): void;
752
+ readonly assignedSlot: HTMLSlotElement;
753
+ oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
754
+ oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
755
+ onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
756
+ readonly style: CSSStyleDeclaration;
757
+ contentEditable: string;
758
+ enterKeyHint: string;
759
+ inputMode: string;
760
+ readonly isContentEditable: boolean;
761
+ onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
762
+ onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
763
+ onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
764
+ onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
765
+ onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
766
+ onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
767
+ onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
768
+ onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
769
+ oncancel: (this: GlobalEventHandlers, ev: Event) => any;
770
+ oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
771
+ oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
772
+ onchange: (this: GlobalEventHandlers, ev: Event) => any;
773
+ onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
774
+ onclose: (this: GlobalEventHandlers, ev: Event) => any;
775
+ oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
776
+ oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
777
+ ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
778
+ ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
779
+ ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
780
+ ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
781
+ ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
782
+ ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
783
+ ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
784
+ ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
785
+ ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
786
+ onemptied: (this: GlobalEventHandlers, ev: Event) => any;
787
+ onended: (this: GlobalEventHandlers, ev: Event) => any;
788
+ onerror: OnErrorEventHandlerNonNull;
789
+ onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
790
+ onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
791
+ ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
792
+ oninput: (this: GlobalEventHandlers, ev: Event) => any;
793
+ oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
794
+ onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
795
+ onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
796
+ onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
797
+ onload: (this: GlobalEventHandlers, ev: Event) => any;
798
+ onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
799
+ onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
800
+ onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
801
+ onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
802
+ onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
803
+ onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
804
+ onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
805
+ onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
806
+ onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
807
+ onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
808
+ onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
809
+ onpause: (this: GlobalEventHandlers, ev: Event) => any;
810
+ onplay: (this: GlobalEventHandlers, ev: Event) => any;
811
+ onplaying: (this: GlobalEventHandlers, ev: Event) => any;
812
+ onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
813
+ onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
814
+ onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
815
+ onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
816
+ onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
817
+ onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
818
+ onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
819
+ onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
820
+ onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
821
+ onratechange: (this: GlobalEventHandlers, ev: Event) => any;
822
+ onreset: (this: GlobalEventHandlers, ev: Event) => any;
823
+ onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
824
+ onscroll: (this: GlobalEventHandlers, ev: Event) => any;
825
+ onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
826
+ onseeked: (this: GlobalEventHandlers, ev: Event) => any;
827
+ onseeking: (this: GlobalEventHandlers, ev: Event) => any;
828
+ onselect: (this: GlobalEventHandlers, ev: Event) => any;
829
+ onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
830
+ onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
831
+ onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
832
+ onstalled: (this: GlobalEventHandlers, ev: Event) => any;
833
+ onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
834
+ onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
835
+ ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
836
+ ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
837
+ ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
838
+ ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
839
+ ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
840
+ ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
841
+ ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
842
+ ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
843
+ ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
844
+ ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
845
+ onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
846
+ onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
847
+ onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
848
+ onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
849
+ onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
850
+ onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
851
+ onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
852
+ autofocus: boolean;
853
+ readonly dataset: DOMStringMap;
854
+ nonce?: string;
855
+ tabIndex: number;
856
+ blur(): void;
857
+ focus(options?: FocusOptions): void;
858
+ }) & typeof FoundationElement;
859
+
860
+ /**
861
+ * fdc3-raise-intent
862
+ * @alpha
863
+ */
864
+ export declare class Fdc3RaiseIntent extends Fdc3RaiseIntent_base {
865
+ fdc3: FDC3;
866
+ eventName: string;
867
+ intentType: string;
868
+ intentName: string;
869
+ mappingFunction: (any: any) => any;
870
+ deepClone(): Node;
871
+ connectedCallback(): void;
872
+ disconnectedCallback(): void;
873
+ private sendEventOnChannel;
874
+ }
875
+
876
+ declare const Fdc3RaiseIntent_base: (new (...args: any[]) => {
877
+ "__#1@#_container": FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
878
+ "__#1@#_latestTokenCode": string;
879
+ "__#1@#_hasFirstLoaded": boolean;
880
+ "__#1@#_cleanupTimeout": NodeJS.Timeout;
881
+ "__#1@#_shouldForceLifecycle": boolean;
882
+ cloneNode(deep?: boolean): Node;
883
+ deepClone(): Node;
884
+ readonly shouldRunDisconnect: boolean;
885
+ readonly shouldRunConnect: boolean;
886
+ "__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
887
+ "__#1@#_tryFindContainingLayout"(e: Element): FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
888
+ connectedCallback(): void;
889
+ readonly $fastController: Controller;
890
+ $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
891
+ disconnectedCallback(): void;
892
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
893
+ accessKey: string;
894
+ readonly accessKeyLabel: string;
895
+ autocapitalize: string;
896
+ dir: string;
897
+ draggable: boolean;
898
+ hidden: boolean;
899
+ inert: boolean;
900
+ innerText: string;
901
+ lang: string;
902
+ readonly offsetHeight: number;
903
+ readonly offsetLeft: number;
904
+ readonly offsetParent: Element;
905
+ readonly offsetTop: number;
906
+ readonly offsetWidth: number;
907
+ outerText: string;
908
+ spellcheck: boolean;
909
+ title: string;
910
+ translate: boolean;
911
+ attachInternals(): ElementInternals;
912
+ click(): void;
913
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
914
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
915
+ removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
916
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
917
+ readonly attributes: NamedNodeMap;
918
+ readonly classList: DOMTokenList;
919
+ className: string;
920
+ readonly clientHeight: number;
921
+ readonly clientLeft: number;
922
+ readonly clientTop: number;
923
+ readonly clientWidth: number;
924
+ id: string;
925
+ readonly localName: string;
926
+ readonly namespaceURI: string;
927
+ onfullscreenchange: (this: Element, ev: Event) => any;
928
+ onfullscreenerror: (this: Element, ev: Event) => any;
929
+ outerHTML: string;
930
+ readonly ownerDocument: Document;
931
+ readonly part: DOMTokenList;
932
+ readonly prefix: string;
933
+ readonly scrollHeight: number;
934
+ scrollLeft: number;
935
+ scrollTop: number;
936
+ readonly scrollWidth: number;
937
+ readonly shadowRoot: ShadowRoot;
938
+ slot: string;
939
+ readonly tagName: string;
940
+ attachShadow(init: ShadowRootInit): ShadowRoot;
941
+ closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
942
+ closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
943
+ closest<E extends Element = Element>(selectors: string): E;
944
+ getAttribute(qualifiedName: string): string;
945
+ getAttributeNS(namespace: string, localName: string): string;
946
+ getAttributeNames(): string[];
947
+ getAttributeNode(qualifiedName: string): Attr;
948
+ getAttributeNodeNS(namespace: string, localName: string): Attr;
949
+ getBoundingClientRect(): DOMRect;
950
+ getClientRects(): DOMRectList;
951
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
952
+ getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
953
+ getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
954
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
955
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
956
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
957
+ getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
958
+ hasAttribute(qualifiedName: string): boolean;
959
+ hasAttributeNS(namespace: string, localName: string): boolean;
960
+ hasAttributes(): boolean;
961
+ hasPointerCapture(pointerId: number): boolean;
962
+ insertAdjacentElement(where: InsertPosition, element: Element): Element;
963
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
964
+ insertAdjacentText(where: InsertPosition, data: string): void;
965
+ matches(selectors: string): boolean;
966
+ releasePointerCapture(pointerId: number): void;
967
+ removeAttribute(qualifiedName: string): void;
968
+ removeAttributeNS(namespace: string, localName: string): void;
969
+ removeAttributeNode(attr: Attr): Attr;
970
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
971
+ requestPointerLock(): void;
972
+ scroll(options?: ScrollToOptions): void;
973
+ scroll(x: number, y: number): void;
974
+ scrollBy(options?: ScrollToOptions): void;
975
+ scrollBy(x: number, y: number): void;
976
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
977
+ scrollTo(options?: ScrollToOptions): void;
978
+ scrollTo(x: number, y: number): void;
979
+ setAttribute(qualifiedName: string, value: string): void;
980
+ setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
981
+ setAttributeNode(attr: Attr): Attr;
982
+ setAttributeNodeNS(attr: Attr): Attr;
983
+ setPointerCapture(pointerId: number): void;
984
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
985
+ webkitMatchesSelector(selectors: string): boolean;
986
+ readonly baseURI: string;
987
+ readonly childNodes: NodeListOf<ChildNode>;
988
+ readonly firstChild: ChildNode;
989
+ readonly isConnected: boolean;
990
+ readonly lastChild: ChildNode;
991
+ readonly nextSibling: ChildNode;
992
+ readonly nodeName: string;
993
+ readonly nodeType: number;
994
+ nodeValue: string;
995
+ readonly parentElement: HTMLElement;
996
+ readonly parentNode: ParentNode;
997
+ readonly previousSibling: ChildNode;
998
+ textContent: string;
999
+ appendChild<T_1 extends Node>(node: T_1): T_1;
1000
+ compareDocumentPosition(other: Node): number;
1001
+ contains(other: Node): boolean;
1002
+ getRootNode(options?: GetRootNodeOptions): Node;
1003
+ hasChildNodes(): boolean;
1004
+ insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
1005
+ isDefaultNamespace(namespace: string): boolean;
1006
+ isEqualNode(otherNode: Node): boolean;
1007
+ isSameNode(otherNode: Node): boolean;
1008
+ lookupNamespaceURI(prefix: string): string;
1009
+ lookupPrefix(namespace: string): string;
1010
+ normalize(): void;
1011
+ removeChild<T_3 extends Node>(child: T_3): T_3;
1012
+ replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
1013
+ readonly ATTRIBUTE_NODE: number;
1014
+ readonly CDATA_SECTION_NODE: number;
1015
+ readonly COMMENT_NODE: number;
1016
+ readonly DOCUMENT_FRAGMENT_NODE: number;
1017
+ readonly DOCUMENT_NODE: number;
1018
+ readonly DOCUMENT_POSITION_CONTAINED_BY: number;
1019
+ readonly DOCUMENT_POSITION_CONTAINS: number;
1020
+ readonly DOCUMENT_POSITION_DISCONNECTED: number;
1021
+ readonly DOCUMENT_POSITION_FOLLOWING: number;
1022
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
1023
+ readonly DOCUMENT_POSITION_PRECEDING: number;
1024
+ readonly DOCUMENT_TYPE_NODE: number;
1025
+ readonly ELEMENT_NODE: number;
1026
+ readonly ENTITY_NODE: number;
1027
+ readonly ENTITY_REFERENCE_NODE: number;
1028
+ readonly NOTATION_NODE: number;
1029
+ readonly PROCESSING_INSTRUCTION_NODE: number;
1030
+ readonly TEXT_NODE: number;
1031
+ dispatchEvent(event: Event): boolean;
1032
+ ariaAtomic: string;
1033
+ ariaAutoComplete: string;
1034
+ ariaBusy: string;
1035
+ ariaChecked: string;
1036
+ ariaColCount: string;
1037
+ ariaColIndex: string;
1038
+ ariaColIndexText: string;
1039
+ ariaColSpan: string;
1040
+ ariaCurrent: string;
1041
+ ariaDisabled: string;
1042
+ ariaExpanded: string;
1043
+ ariaHasPopup: string;
1044
+ ariaHidden: string;
1045
+ ariaInvalid: string;
1046
+ ariaKeyShortcuts: string;
1047
+ ariaLabel: string;
1048
+ ariaLevel: string;
1049
+ ariaLive: string;
1050
+ ariaModal: string;
1051
+ ariaMultiLine: string;
1052
+ ariaMultiSelectable: string;
1053
+ ariaOrientation: string;
1054
+ ariaPlaceholder: string;
1055
+ ariaPosInSet: string;
1056
+ ariaPressed: string;
1057
+ ariaReadOnly: string;
1058
+ ariaRequired: string;
1059
+ ariaRoleDescription: string;
1060
+ ariaRowCount: string;
1061
+ ariaRowIndex: string;
1062
+ ariaRowIndexText: string;
1063
+ ariaRowSpan: string;
1064
+ ariaSelected: string;
1065
+ ariaSetSize: string;
1066
+ ariaSort: string;
1067
+ ariaValueMax: string;
1068
+ ariaValueMin: string;
1069
+ ariaValueNow: string;
1070
+ ariaValueText: string;
1071
+ role: string;
1072
+ animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
1073
+ getAnimations(options?: GetAnimationsOptions): Animation[];
1074
+ after(...nodes: (string | Node)[]): void;
1075
+ before(...nodes: (string | Node)[]): void;
1076
+ remove(): void;
1077
+ replaceWith(...nodes: (string | Node)[]): void;
1078
+ innerHTML: string;
1079
+ readonly nextElementSibling: Element;
1080
+ readonly previousElementSibling: Element;
1081
+ readonly childElementCount: number;
1082
+ readonly children: HTMLCollection;
1083
+ readonly firstElementChild: Element;
1084
+ readonly lastElementChild: Element;
1085
+ append(...nodes: (string | Node)[]): void;
1086
+ prepend(...nodes: (string | Node)[]): void;
1087
+ querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
1088
+ querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
1089
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1;
1090
+ querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
1091
+ querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
1092
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
1093
+ replaceChildren(...nodes: (string | Node)[]): void;
1094
+ readonly assignedSlot: HTMLSlotElement;
1095
+ oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
1096
+ oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
1097
+ onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
1098
+ readonly style: CSSStyleDeclaration;
1099
+ contentEditable: string;
1100
+ enterKeyHint: string;
1101
+ inputMode: string;
1102
+ readonly isContentEditable: boolean;
1103
+ onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
1104
+ onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
1105
+ onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
1106
+ onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
1107
+ onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
1108
+ onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1109
+ onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
1110
+ onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
1111
+ oncancel: (this: GlobalEventHandlers, ev: Event) => any;
1112
+ oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
1113
+ oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
1114
+ onchange: (this: GlobalEventHandlers, ev: Event) => any;
1115
+ onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1116
+ onclose: (this: GlobalEventHandlers, ev: Event) => any;
1117
+ oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1118
+ oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
1119
+ ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1120
+ ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
1121
+ ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
1122
+ ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
1123
+ ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
1124
+ ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
1125
+ ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
1126
+ ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
1127
+ ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
1128
+ onemptied: (this: GlobalEventHandlers, ev: Event) => any;
1129
+ onended: (this: GlobalEventHandlers, ev: Event) => any;
1130
+ onerror: OnErrorEventHandlerNonNull;
1131
+ onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
1132
+ onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
1133
+ ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
1134
+ oninput: (this: GlobalEventHandlers, ev: Event) => any;
1135
+ oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
1136
+ onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
1137
+ onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
1138
+ onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
1139
+ onload: (this: GlobalEventHandlers, ev: Event) => any;
1140
+ onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
1141
+ onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
1142
+ onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
1143
+ onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
1144
+ onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1145
+ onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1146
+ onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1147
+ onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1148
+ onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1149
+ onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1150
+ onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1151
+ onpause: (this: GlobalEventHandlers, ev: Event) => any;
1152
+ onplay: (this: GlobalEventHandlers, ev: Event) => any;
1153
+ onplaying: (this: GlobalEventHandlers, ev: Event) => any;
1154
+ onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
1155
+ onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
1156
+ onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
1157
+ onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
1158
+ onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
1159
+ onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
1160
+ onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
1161
+ onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
1162
+ onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
1163
+ onratechange: (this: GlobalEventHandlers, ev: Event) => any;
1164
+ onreset: (this: GlobalEventHandlers, ev: Event) => any;
1165
+ onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
1166
+ onscroll: (this: GlobalEventHandlers, ev: Event) => any;
1167
+ onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
1168
+ onseeked: (this: GlobalEventHandlers, ev: Event) => any;
1169
+ onseeking: (this: GlobalEventHandlers, ev: Event) => any;
1170
+ onselect: (this: GlobalEventHandlers, ev: Event) => any;
1171
+ onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
1172
+ onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
1173
+ onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
1174
+ onstalled: (this: GlobalEventHandlers, ev: Event) => any;
1175
+ onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
1176
+ onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
1177
+ ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
1178
+ ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
1179
+ ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
1180
+ ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
1181
+ ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
1182
+ ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
1183
+ ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
1184
+ ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
1185
+ ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
1186
+ ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
1187
+ onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
1188
+ onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
1189
+ onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
1190
+ onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
1191
+ onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
1192
+ onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
1193
+ onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
1194
+ autofocus: boolean;
1195
+ readonly dataset: DOMStringMap;
1196
+ nonce?: string;
1197
+ tabIndex: number;
1198
+ blur(): void;
1199
+ focus(options?: FocusOptions): void;
1200
+ }) & typeof FoundationElement;
537
1201
 
538
1202
  /**
539
1203
  * fdc3-listener listen intent config