@genesislcap/foundation-utils 14.225.3 → 14.225.4-alpha-5f6eefd.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +149 -149
- 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 +1221 -318
- 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.decodefrombase64.md +14 -1
- package/docs/api/foundation-utils.decodefrombase64withprefix.md +13 -1
- package/docs/api/foundation-utils.encodetobase64.md +14 -1
- package/docs/api/foundation-utils.encodetobase64withprefix.md +13 -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 +18 -18
- 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';
|
|
@@ -394,11 +397,15 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
|
394
397
|
readonly offsetTop: number;
|
|
395
398
|
readonly offsetWidth: number;
|
|
396
399
|
outerText: string;
|
|
400
|
+
popover: string;
|
|
397
401
|
spellcheck: boolean;
|
|
398
402
|
title: string;
|
|
399
403
|
translate: boolean;
|
|
400
404
|
attachInternals(): ElementInternals;
|
|
401
405
|
click(): void;
|
|
406
|
+
hidePopover(): void;
|
|
407
|
+
showPopover(): void;
|
|
408
|
+
togglePopover(force?: boolean): boolean;
|
|
402
409
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
403
410
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
404
411
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -427,9 +434,12 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
|
427
434
|
slot: string;
|
|
428
435
|
readonly tagName: string;
|
|
429
436
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
437
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
430
438
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
431
439
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
440
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
|
432
441
|
closest<E extends Element = Element>(selectors: string): E;
|
|
442
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
433
443
|
getAttribute(qualifiedName: string): string;
|
|
434
444
|
getAttributeNS(namespace: string, localName: string): string;
|
|
435
445
|
getAttributeNames(): string[];
|
|
@@ -438,11 +448,14 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
|
438
448
|
getBoundingClientRect(): DOMRect;
|
|
439
449
|
getClientRects(): DOMRectList;
|
|
440
450
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
441
|
-
getElementsByTagName<
|
|
442
|
-
getElementsByTagName<
|
|
451
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
452
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
453
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
454
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
443
455
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
444
456
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
445
457
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
458
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
446
459
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
447
460
|
hasAttribute(qualifiedName: string): boolean;
|
|
448
461
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -499,24 +512,24 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
|
499
512
|
normalize(): void;
|
|
500
513
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
501
514
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
502
|
-
readonly
|
|
503
|
-
readonly
|
|
504
|
-
readonly
|
|
505
|
-
readonly
|
|
506
|
-
readonly
|
|
507
|
-
readonly
|
|
508
|
-
readonly
|
|
509
|
-
readonly
|
|
510
|
-
readonly
|
|
511
|
-
readonly
|
|
512
|
-
readonly
|
|
513
|
-
readonly
|
|
514
|
-
readonly
|
|
515
|
-
readonly
|
|
516
|
-
readonly
|
|
517
|
-
readonly
|
|
518
|
-
readonly
|
|
519
|
-
readonly
|
|
515
|
+
readonly ELEMENT_NODE: 1;
|
|
516
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
517
|
+
readonly TEXT_NODE: 3;
|
|
518
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
519
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
520
|
+
readonly ENTITY_NODE: 6;
|
|
521
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
522
|
+
readonly COMMENT_NODE: 8;
|
|
523
|
+
readonly DOCUMENT_NODE: 9;
|
|
524
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
525
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
526
|
+
readonly NOTATION_NODE: 12;
|
|
527
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
528
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
529
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
530
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
531
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
532
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
520
533
|
dispatchEvent(event: Event): boolean;
|
|
521
534
|
ariaAtomic: string;
|
|
522
535
|
ariaAutoComplete: string;
|
|
@@ -524,9 +537,9 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
|
524
537
|
ariaChecked: string;
|
|
525
538
|
ariaColCount: string;
|
|
526
539
|
ariaColIndex: string;
|
|
527
|
-
ariaColIndexText: string;
|
|
528
540
|
ariaColSpan: string;
|
|
529
541
|
ariaCurrent: string;
|
|
542
|
+
ariaDescription: string;
|
|
530
543
|
ariaDisabled: string;
|
|
531
544
|
ariaExpanded: string;
|
|
532
545
|
ariaHasPopup: string;
|
|
@@ -548,7 +561,6 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
|
548
561
|
ariaRoleDescription: string;
|
|
549
562
|
ariaRowCount: string;
|
|
550
563
|
ariaRowIndex: string;
|
|
551
|
-
ariaRowIndexText: string;
|
|
552
564
|
ariaRowSpan: string;
|
|
553
565
|
ariaSelected: string;
|
|
554
566
|
ariaSetSize: string;
|
|
@@ -573,17 +585,19 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
|
573
585
|
readonly lastElementChild: Element;
|
|
574
586
|
append(...nodes: (string | Node)[]): void;
|
|
575
587
|
prepend(...nodes: (string | Node)[]): void;
|
|
576
|
-
querySelector<
|
|
577
|
-
querySelector<
|
|
588
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
|
589
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
|
590
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
591
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
578
592
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
579
|
-
querySelectorAll<
|
|
580
|
-
querySelectorAll<
|
|
593
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
594
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
595
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
596
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
581
597
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
582
598
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
583
599
|
readonly assignedSlot: HTMLSlotElement;
|
|
584
|
-
|
|
585
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
586
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
600
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
587
601
|
readonly style: CSSStyleDeclaration;
|
|
588
602
|
contentEditable: string;
|
|
589
603
|
enterKeyHint: string;
|
|
@@ -596,6 +610,7 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
|
596
610
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
597
611
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
598
612
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
613
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
599
614
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
600
615
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
601
616
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -604,7 +619,9 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
|
604
619
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
605
620
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
606
621
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
622
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
607
623
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
624
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
608
625
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
609
626
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
610
627
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -637,6 +654,7 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
|
637
654
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
638
655
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
639
656
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
657
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
640
658
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
641
659
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
642
660
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -653,6 +671,7 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
|
|
|
653
671
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
654
672
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
655
673
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
674
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
656
675
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
657
676
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
658
677
|
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -767,11 +786,15 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
|
767
786
|
readonly offsetTop: number;
|
|
768
787
|
readonly offsetWidth: number;
|
|
769
788
|
outerText: string;
|
|
789
|
+
popover: string;
|
|
770
790
|
spellcheck: boolean;
|
|
771
791
|
title: string;
|
|
772
792
|
translate: boolean;
|
|
773
793
|
attachInternals(): ElementInternals;
|
|
774
794
|
click(): void;
|
|
795
|
+
hidePopover(): void;
|
|
796
|
+
showPopover(): void;
|
|
797
|
+
togglePopover(force?: boolean): boolean;
|
|
775
798
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
776
799
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
777
800
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -800,9 +823,12 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
|
800
823
|
slot: string;
|
|
801
824
|
readonly tagName: string;
|
|
802
825
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
826
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
803
827
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
804
828
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
829
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
|
805
830
|
closest<E extends Element = Element>(selectors: string): E;
|
|
831
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
806
832
|
getAttribute(qualifiedName: string): string;
|
|
807
833
|
getAttributeNS(namespace: string, localName: string): string;
|
|
808
834
|
getAttributeNames(): string[];
|
|
@@ -811,11 +837,14 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
|
811
837
|
getBoundingClientRect(): DOMRect;
|
|
812
838
|
getClientRects(): DOMRectList;
|
|
813
839
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
814
|
-
getElementsByTagName<
|
|
815
|
-
getElementsByTagName<
|
|
840
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
841
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
842
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
843
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
816
844
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
817
845
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
818
846
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
847
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
819
848
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
820
849
|
hasAttribute(qualifiedName: string): boolean;
|
|
821
850
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -873,24 +902,24 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
|
873
902
|
normalize(): void;
|
|
874
903
|
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
875
904
|
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
876
|
-
readonly
|
|
877
|
-
readonly
|
|
878
|
-
readonly
|
|
879
|
-
readonly
|
|
880
|
-
readonly
|
|
881
|
-
readonly
|
|
882
|
-
readonly
|
|
883
|
-
readonly
|
|
884
|
-
readonly
|
|
885
|
-
readonly
|
|
886
|
-
readonly
|
|
887
|
-
readonly
|
|
888
|
-
readonly
|
|
889
|
-
readonly
|
|
890
|
-
readonly
|
|
891
|
-
readonly
|
|
892
|
-
readonly
|
|
893
|
-
readonly
|
|
905
|
+
readonly ELEMENT_NODE: 1;
|
|
906
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
907
|
+
readonly TEXT_NODE: 3;
|
|
908
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
909
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
910
|
+
readonly ENTITY_NODE: 6;
|
|
911
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
912
|
+
readonly COMMENT_NODE: 8;
|
|
913
|
+
readonly DOCUMENT_NODE: 9;
|
|
914
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
915
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
916
|
+
readonly NOTATION_NODE: 12;
|
|
917
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
918
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
919
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
920
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
921
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
922
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
894
923
|
dispatchEvent(event: Event): boolean;
|
|
895
924
|
ariaAtomic: string;
|
|
896
925
|
ariaAutoComplete: string;
|
|
@@ -898,9 +927,9 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
|
898
927
|
ariaChecked: string;
|
|
899
928
|
ariaColCount: string;
|
|
900
929
|
ariaColIndex: string;
|
|
901
|
-
ariaColIndexText: string;
|
|
902
930
|
ariaColSpan: string;
|
|
903
931
|
ariaCurrent: string;
|
|
932
|
+
ariaDescription: string;
|
|
904
933
|
ariaDisabled: string;
|
|
905
934
|
ariaExpanded: string;
|
|
906
935
|
ariaHasPopup: string;
|
|
@@ -922,7 +951,6 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
|
922
951
|
ariaRoleDescription: string;
|
|
923
952
|
ariaRowCount: string;
|
|
924
953
|
ariaRowIndex: string;
|
|
925
|
-
ariaRowIndexText: string;
|
|
926
954
|
ariaRowSpan: string;
|
|
927
955
|
ariaSelected: string;
|
|
928
956
|
ariaSetSize: string;
|
|
@@ -947,17 +975,19 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
|
947
975
|
readonly lastElementChild: Element;
|
|
948
976
|
append(...nodes: (string | Node)[]): void;
|
|
949
977
|
prepend(...nodes: (string | Node)[]): void;
|
|
950
|
-
querySelector<
|
|
951
|
-
querySelector<
|
|
978
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
|
979
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
|
980
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
981
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
952
982
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
953
|
-
querySelectorAll<
|
|
954
|
-
querySelectorAll<
|
|
983
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
984
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
985
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
986
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
955
987
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
956
988
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
957
989
|
readonly assignedSlot: HTMLSlotElement;
|
|
958
|
-
|
|
959
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
960
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
990
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
961
991
|
readonly style: CSSStyleDeclaration;
|
|
962
992
|
contentEditable: string;
|
|
963
993
|
enterKeyHint: string;
|
|
@@ -970,6 +1000,7 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
|
970
1000
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
971
1001
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
972
1002
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
1003
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
973
1004
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
974
1005
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
975
1006
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -978,7 +1009,9 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
|
978
1009
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
979
1010
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
980
1011
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1012
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
981
1013
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1014
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
982
1015
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
983
1016
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
984
1017
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -1011,6 +1044,7 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
|
1011
1044
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1012
1045
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1013
1046
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1047
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
1014
1048
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1015
1049
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1016
1050
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -1027,6 +1061,7 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
|
|
|
1027
1061
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1028
1062
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
1029
1063
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1064
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1030
1065
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
1031
1066
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1032
1067
|
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.4-alpha-5f6eefd.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.4-alpha-5f6eefd.0",
|
|
31
|
+
"@genesislcap/genx": "14.225.4-alpha-5f6eefd.0",
|
|
32
|
+
"@genesislcap/rollup-builder": "14.225.4-alpha-5f6eefd.0",
|
|
33
|
+
"@genesislcap/ts-builder": "14.225.4-alpha-5f6eefd.0",
|
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.225.4-alpha-5f6eefd.0",
|
|
35
|
+
"@genesislcap/vite-builder": "14.225.4-alpha-5f6eefd.0",
|
|
36
|
+
"@genesislcap/webpack-builder": "14.225.4-alpha-5f6eefd.0",
|
|
37
37
|
"rimraf": "^5.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@genesislcap/foundation-logger": "14.225.
|
|
40
|
+
"@genesislcap/foundation-logger": "14.225.4-alpha-5f6eefd.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": "232162ffe08f1239c9af3c85819c422c4a68db00"
|
|
59
59
|
}
|