@genesislcap/foundation-utils 14.225.1 → 14.225.2-alpha-a51f60c.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +531 -531
- package/dist/dts/error/errorMap.d.ts.map +1 -1
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts +51 -29
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts.map +1 -1
- package/dist/dts/mixins/pendingState/pendingState.d.ts +45 -29
- package/dist/dts/mixins/pendingState/pendingState.d.ts.map +1 -1
- package/dist/dts/observer/observer.d.ts.map +1 -1
- package/dist/dts/promise/resolveAfter.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/esm/mixins/lifecycle/lifecycle.js +5 -5
- package/dist/esm/mixins/pendingState/pendingState.js +2 -2
- package/dist/esm/uuid/uuid.js +2 -2
- package/dist/foundation-utils.api.json +1109 -270
- package/dist/foundation-utils.d.ts +93 -58
- package/docs/api/foundation-utils.createerrormap.md +14 -1
- package/docs/api/foundation-utils.createobserver.md +5 -1
- package/docs/api/foundation-utils.getfontmixin.md +16 -1
- package/docs/api/foundation-utils.iniframe.md +7 -1
- package/docs/api/foundation-utils.insertdocumentcssrule.md +15 -1
- package/docs/api/foundation-utils.insertdocumentlink.md +12 -1
- package/docs/api/foundation-utils.insymphonydesktop.md +7 -1
- package/docs/api/foundation-utils.isdev.md +5 -1
- package/docs/api/foundation-utils.lifecyclemixin.md +56 -30
- package/docs/api/foundation-utils.loadfontfaces.md +13 -1
- package/docs/api/foundation-utils.md +14 -14
- package/docs/api/foundation-utils.openpopup.md +17 -1
- package/docs/api/foundation-utils.pendingstate.md +57 -30
- package/docs/api/foundation-utils.resolveafter.md +12 -1
- package/docs/api/foundation-utils.respondtovisibility.md +13 -1
- package/docs/{api-report.md → api-report.md.api.md} +93 -58
- package/package.json +11 -11
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [respondToVisibility](./foundation-utils.respondtovisibility.md)
|
4
4
|
|
5
|
-
## respondToVisibility
|
5
|
+
## respondToVisibility() function
|
6
6
|
|
7
7
|
Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen
|
8
8
|
|
@@ -11,3 +11,15 @@ Setup an `IntersectionObserver` which will activate a callback function when an
|
|
11
11
|
```typescript
|
12
12
|
respondToVisibility: (element: HTMLElement, callback: (arg0: boolean) => any) => void
|
13
13
|
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
| Parameter | Type | Description |
|
18
|
+
| --- | --- | --- |
|
19
|
+
| element | HTMLElement | HTMLElement to observe |
|
20
|
+
| callback | (arg0: boolean) => any | any function called when the visibility changes |
|
21
|
+
|
22
|
+
**Returns:**
|
23
|
+
|
24
|
+
void
|
25
|
+
|
@@ -4,6 +4,9 @@
|
|
4
4
|
|
5
5
|
```ts
|
6
6
|
|
7
|
+
/// <reference types="node" />
|
8
|
+
/// <reference types="webpack-env" />
|
9
|
+
|
7
10
|
import { Binding } from '@microsoft/fast-element';
|
8
11
|
import { CaptureType } from '@microsoft/fast-element';
|
9
12
|
import { ComposableStyles } from '@microsoft/fast-element';
|
@@ -382,11 +385,15 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
382
385
|
readonly offsetTop: number;
|
383
386
|
readonly offsetWidth: number;
|
384
387
|
outerText: string;
|
388
|
+
popover: string;
|
385
389
|
spellcheck: boolean;
|
386
390
|
title: string;
|
387
391
|
translate: boolean;
|
388
392
|
attachInternals(): ElementInternals;
|
389
393
|
click(): void;
|
394
|
+
hidePopover(): void;
|
395
|
+
showPopover(): void;
|
396
|
+
togglePopover(force?: boolean): boolean;
|
390
397
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
391
398
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
392
399
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
@@ -415,9 +422,12 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
415
422
|
slot: string;
|
416
423
|
readonly tagName: string;
|
417
424
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
425
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
418
426
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
419
427
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
428
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
420
429
|
closest<E extends Element = Element>(selectors: string): E;
|
430
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
421
431
|
getAttribute(qualifiedName: string): string;
|
422
432
|
getAttributeNS(namespace: string, localName: string): string;
|
423
433
|
getAttributeNames(): string[];
|
@@ -426,11 +436,14 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
426
436
|
getBoundingClientRect(): DOMRect;
|
427
437
|
getClientRects(): DOMRectList;
|
428
438
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
429
|
-
getElementsByTagName<
|
430
|
-
getElementsByTagName<
|
439
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
440
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
441
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
442
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
431
443
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
432
444
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
433
445
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
446
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
434
447
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
435
448
|
hasAttribute(qualifiedName: string): boolean;
|
436
449
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
@@ -487,24 +500,24 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
487
500
|
normalize(): void;
|
488
501
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
489
502
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
490
|
-
readonly
|
491
|
-
readonly
|
492
|
-
readonly
|
493
|
-
readonly
|
494
|
-
readonly
|
495
|
-
readonly
|
496
|
-
readonly
|
497
|
-
readonly
|
498
|
-
readonly
|
499
|
-
readonly
|
500
|
-
readonly
|
501
|
-
readonly
|
502
|
-
readonly
|
503
|
-
readonly
|
504
|
-
readonly
|
505
|
-
readonly
|
506
|
-
readonly
|
507
|
-
readonly
|
503
|
+
readonly ELEMENT_NODE: 1;
|
504
|
+
readonly ATTRIBUTE_NODE: 2;
|
505
|
+
readonly TEXT_NODE: 3;
|
506
|
+
readonly CDATA_SECTION_NODE: 4;
|
507
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
508
|
+
readonly ENTITY_NODE: 6;
|
509
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
510
|
+
readonly COMMENT_NODE: 8;
|
511
|
+
readonly DOCUMENT_NODE: 9;
|
512
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
513
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
514
|
+
readonly NOTATION_NODE: 12;
|
515
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
516
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
517
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
518
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
519
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
520
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
508
521
|
dispatchEvent(event: Event): boolean;
|
509
522
|
ariaAtomic: string;
|
510
523
|
ariaAutoComplete: string;
|
@@ -512,9 +525,9 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
512
525
|
ariaChecked: string;
|
513
526
|
ariaColCount: string;
|
514
527
|
ariaColIndex: string;
|
515
|
-
ariaColIndexText: string;
|
516
528
|
ariaColSpan: string;
|
517
529
|
ariaCurrent: string;
|
530
|
+
ariaDescription: string;
|
518
531
|
ariaDisabled: string;
|
519
532
|
ariaExpanded: string;
|
520
533
|
ariaHasPopup: string;
|
@@ -536,7 +549,6 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
536
549
|
ariaRoleDescription: string;
|
537
550
|
ariaRowCount: string;
|
538
551
|
ariaRowIndex: string;
|
539
|
-
ariaRowIndexText: string;
|
540
552
|
ariaRowSpan: string;
|
541
553
|
ariaSelected: string;
|
542
554
|
ariaSetSize: string;
|
@@ -561,17 +573,19 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
561
573
|
readonly lastElementChild: Element;
|
562
574
|
append(...nodes: (string | Node)[]): void;
|
563
575
|
prepend(...nodes: (string | Node)[]): void;
|
564
|
-
querySelector<
|
565
|
-
querySelector<
|
576
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
577
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
578
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
579
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
566
580
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
567
|
-
querySelectorAll<
|
568
|
-
querySelectorAll<
|
581
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
582
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
583
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
584
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
569
585
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
570
586
|
replaceChildren(...nodes: (string | Node)[]): void;
|
571
587
|
readonly assignedSlot: HTMLSlotElement;
|
572
|
-
|
573
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
574
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
588
|
+
readonly attributeStyleMap: StylePropertyMap;
|
575
589
|
readonly style: CSSStyleDeclaration;
|
576
590
|
contentEditable: string;
|
577
591
|
enterKeyHint: string;
|
@@ -584,6 +598,7 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
584
598
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
585
599
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
586
600
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
601
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
587
602
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
588
603
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
589
604
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -592,7 +607,9 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
592
607
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
593
608
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
594
609
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
610
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
595
611
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
612
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
596
613
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
597
614
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
598
615
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
@@ -625,6 +642,7 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
625
642
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
626
643
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
627
644
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
645
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
628
646
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
629
647
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
630
648
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -641,6 +659,7 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
641
659
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
642
660
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
643
661
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
662
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
644
663
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
645
664
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
646
665
|
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -755,11 +774,15 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
755
774
|
readonly offsetTop: number;
|
756
775
|
readonly offsetWidth: number;
|
757
776
|
outerText: string;
|
777
|
+
popover: string;
|
758
778
|
spellcheck: boolean;
|
759
779
|
title: string;
|
760
780
|
translate: boolean;
|
761
781
|
attachInternals(): ElementInternals;
|
762
782
|
click(): void;
|
783
|
+
hidePopover(): void;
|
784
|
+
showPopover(): void;
|
785
|
+
togglePopover(force?: boolean): boolean;
|
763
786
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
764
787
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
765
788
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
@@ -788,9 +811,12 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
788
811
|
slot: string;
|
789
812
|
readonly tagName: string;
|
790
813
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
814
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
791
815
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
792
816
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
817
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
793
818
|
closest<E extends Element = Element>(selectors: string): E;
|
819
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
794
820
|
getAttribute(qualifiedName: string): string;
|
795
821
|
getAttributeNS(namespace: string, localName: string): string;
|
796
822
|
getAttributeNames(): string[];
|
@@ -799,11 +825,14 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
799
825
|
getBoundingClientRect(): DOMRect;
|
800
826
|
getClientRects(): DOMRectList;
|
801
827
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
802
|
-
getElementsByTagName<
|
803
|
-
getElementsByTagName<
|
828
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
829
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
830
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
831
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
804
832
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
805
833
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
806
834
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
835
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
807
836
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
808
837
|
hasAttribute(qualifiedName: string): boolean;
|
809
838
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
@@ -861,24 +890,24 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
861
890
|
normalize(): void;
|
862
891
|
removeChild<T_2 extends Node>(child: T_2): T_2;
|
863
892
|
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
864
|
-
readonly
|
865
|
-
readonly
|
866
|
-
readonly
|
867
|
-
readonly
|
868
|
-
readonly
|
869
|
-
readonly
|
870
|
-
readonly
|
871
|
-
readonly
|
872
|
-
readonly
|
873
|
-
readonly
|
874
|
-
readonly
|
875
|
-
readonly
|
876
|
-
readonly
|
877
|
-
readonly
|
878
|
-
readonly
|
879
|
-
readonly
|
880
|
-
readonly
|
881
|
-
readonly
|
893
|
+
readonly ELEMENT_NODE: 1;
|
894
|
+
readonly ATTRIBUTE_NODE: 2;
|
895
|
+
readonly TEXT_NODE: 3;
|
896
|
+
readonly CDATA_SECTION_NODE: 4;
|
897
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
898
|
+
readonly ENTITY_NODE: 6;
|
899
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
900
|
+
readonly COMMENT_NODE: 8;
|
901
|
+
readonly DOCUMENT_NODE: 9;
|
902
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
903
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
904
|
+
readonly NOTATION_NODE: 12;
|
905
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
906
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
907
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
908
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
909
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
910
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
882
911
|
dispatchEvent(event: Event): boolean;
|
883
912
|
ariaAtomic: string;
|
884
913
|
ariaAutoComplete: string;
|
@@ -886,9 +915,9 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
886
915
|
ariaChecked: string;
|
887
916
|
ariaColCount: string;
|
888
917
|
ariaColIndex: string;
|
889
|
-
ariaColIndexText: string;
|
890
918
|
ariaColSpan: string;
|
891
919
|
ariaCurrent: string;
|
920
|
+
ariaDescription: string;
|
892
921
|
ariaDisabled: string;
|
893
922
|
ariaExpanded: string;
|
894
923
|
ariaHasPopup: string;
|
@@ -910,7 +939,6 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
910
939
|
ariaRoleDescription: string;
|
911
940
|
ariaRowCount: string;
|
912
941
|
ariaRowIndex: string;
|
913
|
-
ariaRowIndexText: string;
|
914
942
|
ariaRowSpan: string;
|
915
943
|
ariaSelected: string;
|
916
944
|
ariaSetSize: string;
|
@@ -935,17 +963,19 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
935
963
|
readonly lastElementChild: Element;
|
936
964
|
append(...nodes: (string | Node)[]): void;
|
937
965
|
prepend(...nodes: (string | Node)[]): void;
|
938
|
-
querySelector<
|
939
|
-
querySelector<
|
966
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
967
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
968
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
969
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
940
970
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
941
|
-
querySelectorAll<
|
942
|
-
querySelectorAll<
|
971
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
972
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
973
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
974
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
943
975
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
944
976
|
replaceChildren(...nodes: (string | Node)[]): void;
|
945
977
|
readonly assignedSlot: HTMLSlotElement;
|
946
|
-
|
947
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
948
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
978
|
+
readonly attributeStyleMap: StylePropertyMap;
|
949
979
|
readonly style: CSSStyleDeclaration;
|
950
980
|
contentEditable: string;
|
951
981
|
enterKeyHint: string;
|
@@ -958,6 +988,7 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
958
988
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
959
989
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
960
990
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
991
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
961
992
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
962
993
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
963
994
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -966,7 +997,9 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
966
997
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
967
998
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
968
999
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1000
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
969
1001
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
1002
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
970
1003
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
971
1004
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
972
1005
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
@@ -999,6 +1032,7 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
999
1032
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1000
1033
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1001
1034
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1035
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
1002
1036
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
1003
1037
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
1004
1038
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -1015,6 +1049,7 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
1015
1049
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
1016
1050
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
1017
1051
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
1052
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
1018
1053
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
1019
1054
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
1020
1055
|
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@genesislcap/foundation-utils",
|
3
3
|
"description": "Genesis Foundation Utils",
|
4
|
-
"version": "14.225.
|
4
|
+
"version": "14.225.2-alpha-a51f60c.0",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -27,23 +27,23 @@
|
|
27
27
|
}
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
|
-
"@genesislcap/foundation-testing": "14.225.
|
31
|
-
"@genesislcap/genx": "14.225.
|
32
|
-
"@genesislcap/rollup-builder": "14.225.
|
33
|
-
"@genesislcap/ts-builder": "14.225.
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.225.
|
35
|
-
"@genesislcap/vite-builder": "14.225.
|
36
|
-
"@genesislcap/webpack-builder": "14.225.
|
30
|
+
"@genesislcap/foundation-testing": "14.225.2-alpha-a51f60c.0",
|
31
|
+
"@genesislcap/genx": "14.225.2-alpha-a51f60c.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.225.2-alpha-a51f60c.0",
|
33
|
+
"@genesislcap/ts-builder": "14.225.2-alpha-a51f60c.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.225.2-alpha-a51f60c.0",
|
35
|
+
"@genesislcap/vite-builder": "14.225.2-alpha-a51f60c.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.225.2-alpha-a51f60c.0",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.225.
|
40
|
+
"@genesislcap/foundation-logger": "14.225.2-alpha-a51f60c.0",
|
41
41
|
"@microsoft/fast-components": "2.30.6",
|
42
42
|
"@microsoft/fast-element": "1.14.0",
|
43
43
|
"@microsoft/fast-foundation": "2.49.6",
|
44
44
|
"lossless-json": "^2.0.11",
|
45
45
|
"numeral": "2.0.6",
|
46
|
-
"tslib": "
|
46
|
+
"tslib": "2.8.1",
|
47
47
|
"uuid": "^8.3.2"
|
48
48
|
},
|
49
49
|
"repository": {
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"access": "public"
|
56
56
|
},
|
57
57
|
"customElements": "dist/custom-elements.json",
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "4e2f49c901b8ee0f06d4df645c355d7f6c7bde70"
|
59
59
|
}
|