@genesislcap/foundation-utils 14.225.3 → 14.225.4-alpha-9342136.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 +23 -23
- 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
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="webpack-env" />
|
|
3
|
+
|
|
1
4
|
import { Binding } from '@microsoft/fast-element';
|
|
2
5
|
import { CaptureType } from '@microsoft/fast-element';
|
|
3
6
|
import { ComposableStyles } from '@microsoft/fast-element';
|
|
@@ -751,11 +754,15 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
751
754
|
readonly offsetTop: number;
|
|
752
755
|
readonly offsetWidth: number;
|
|
753
756
|
outerText: string;
|
|
757
|
+
popover: string;
|
|
754
758
|
spellcheck: boolean;
|
|
755
759
|
title: string;
|
|
756
760
|
translate: boolean;
|
|
757
761
|
attachInternals(): ElementInternals;
|
|
758
762
|
click(): void;
|
|
763
|
+
hidePopover(): void;
|
|
764
|
+
showPopover(): void;
|
|
765
|
+
togglePopover(force?: boolean): boolean;
|
|
759
766
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
760
767
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
761
768
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -784,9 +791,12 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
784
791
|
slot: string;
|
|
785
792
|
readonly tagName: string;
|
|
786
793
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
794
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
787
795
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
788
796
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
797
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
|
789
798
|
closest<E extends Element = Element>(selectors: string): E;
|
|
799
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
790
800
|
getAttribute(qualifiedName: string): string;
|
|
791
801
|
getAttributeNS(namespace: string, localName: string): string;
|
|
792
802
|
getAttributeNames(): string[];
|
|
@@ -795,11 +805,14 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
795
805
|
getBoundingClientRect(): DOMRect;
|
|
796
806
|
getClientRects(): DOMRectList;
|
|
797
807
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
798
|
-
getElementsByTagName<
|
|
799
|
-
getElementsByTagName<
|
|
808
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
809
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
810
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
811
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
800
812
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
801
813
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
802
814
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
815
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
803
816
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
804
817
|
hasAttribute(qualifiedName: string): boolean;
|
|
805
818
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -856,24 +869,24 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
856
869
|
normalize(): void;
|
|
857
870
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
858
871
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
859
|
-
readonly
|
|
860
|
-
readonly
|
|
861
|
-
readonly
|
|
862
|
-
readonly
|
|
863
|
-
readonly
|
|
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
|
|
872
|
+
readonly ELEMENT_NODE: 1;
|
|
873
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
874
|
+
readonly TEXT_NODE: 3;
|
|
875
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
876
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
877
|
+
readonly ENTITY_NODE: 6;
|
|
878
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
879
|
+
readonly COMMENT_NODE: 8;
|
|
880
|
+
readonly DOCUMENT_NODE: 9;
|
|
881
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
882
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
883
|
+
readonly NOTATION_NODE: 12;
|
|
884
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
885
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
886
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
887
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
888
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
889
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
877
890
|
dispatchEvent(event: Event): boolean;
|
|
878
891
|
ariaAtomic: string;
|
|
879
892
|
ariaAutoComplete: string;
|
|
@@ -881,9 +894,9 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
881
894
|
ariaChecked: string;
|
|
882
895
|
ariaColCount: string;
|
|
883
896
|
ariaColIndex: string;
|
|
884
|
-
ariaColIndexText: string;
|
|
885
897
|
ariaColSpan: string;
|
|
886
898
|
ariaCurrent: string;
|
|
899
|
+
ariaDescription: string;
|
|
887
900
|
ariaDisabled: string;
|
|
888
901
|
ariaExpanded: string;
|
|
889
902
|
ariaHasPopup: string;
|
|
@@ -905,7 +918,6 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
905
918
|
ariaRoleDescription: string;
|
|
906
919
|
ariaRowCount: string;
|
|
907
920
|
ariaRowIndex: string;
|
|
908
|
-
ariaRowIndexText: string;
|
|
909
921
|
ariaRowSpan: string;
|
|
910
922
|
ariaSelected: string;
|
|
911
923
|
ariaSetSize: string;
|
|
@@ -930,17 +942,19 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
930
942
|
readonly lastElementChild: Element;
|
|
931
943
|
append(...nodes: (string | Node)[]): void;
|
|
932
944
|
prepend(...nodes: (string | Node)[]): void;
|
|
933
|
-
querySelector<
|
|
934
|
-
querySelector<
|
|
945
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
|
946
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
|
947
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
948
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
935
949
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
936
|
-
querySelectorAll<
|
|
937
|
-
querySelectorAll<
|
|
950
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
951
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
952
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
953
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
938
954
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
939
955
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
940
956
|
readonly assignedSlot: HTMLSlotElement;
|
|
941
|
-
|
|
942
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
943
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
957
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
944
958
|
readonly style: CSSStyleDeclaration;
|
|
945
959
|
contentEditable: string;
|
|
946
960
|
enterKeyHint: string;
|
|
@@ -953,6 +967,7 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
953
967
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
954
968
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
955
969
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
970
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
956
971
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
957
972
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
958
973
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -961,7 +976,9 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
961
976
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
962
977
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
963
978
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
979
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
964
980
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
981
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
965
982
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
966
983
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
967
984
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -994,6 +1011,7 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
994
1011
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
995
1012
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
996
1013
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1014
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
997
1015
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
998
1016
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
999
1017
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -1010,6 +1028,7 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
1010
1028
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1011
1029
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
1012
1030
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1031
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1013
1032
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
1014
1033
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1015
1034
|
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -1248,11 +1267,15 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
1248
1267
|
readonly offsetTop: number;
|
|
1249
1268
|
readonly offsetWidth: number;
|
|
1250
1269
|
outerText: string;
|
|
1270
|
+
popover: string;
|
|
1251
1271
|
spellcheck: boolean;
|
|
1252
1272
|
title: string;
|
|
1253
1273
|
translate: boolean;
|
|
1254
1274
|
attachInternals(): ElementInternals;
|
|
1255
1275
|
click(): void;
|
|
1276
|
+
hidePopover(): void;
|
|
1277
|
+
showPopover(): void;
|
|
1278
|
+
togglePopover(force?: boolean): boolean;
|
|
1256
1279
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1257
1280
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1258
1281
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -1281,9 +1304,12 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
1281
1304
|
slot: string;
|
|
1282
1305
|
readonly tagName: string;
|
|
1283
1306
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
1307
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
1284
1308
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
1285
1309
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
1310
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
|
1286
1311
|
closest<E extends Element = Element>(selectors: string): E;
|
|
1312
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
1287
1313
|
getAttribute(qualifiedName: string): string;
|
|
1288
1314
|
getAttributeNS(namespace: string, localName: string): string;
|
|
1289
1315
|
getAttributeNames(): string[];
|
|
@@ -1292,11 +1318,14 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
1292
1318
|
getBoundingClientRect(): DOMRect;
|
|
1293
1319
|
getClientRects(): DOMRectList;
|
|
1294
1320
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
1295
|
-
getElementsByTagName<
|
|
1296
|
-
getElementsByTagName<
|
|
1321
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
1322
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
1323
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
1324
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
1297
1325
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
1298
1326
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
1299
1327
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
1328
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
1300
1329
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
1301
1330
|
hasAttribute(qualifiedName: string): boolean;
|
|
1302
1331
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -1354,24 +1383,24 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
1354
1383
|
normalize(): void;
|
|
1355
1384
|
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
1356
1385
|
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
1357
|
-
readonly
|
|
1358
|
-
readonly
|
|
1359
|
-
readonly
|
|
1360
|
-
readonly
|
|
1361
|
-
readonly
|
|
1362
|
-
readonly
|
|
1363
|
-
readonly
|
|
1364
|
-
readonly
|
|
1365
|
-
readonly
|
|
1366
|
-
readonly
|
|
1367
|
-
readonly
|
|
1368
|
-
readonly
|
|
1369
|
-
readonly
|
|
1370
|
-
readonly
|
|
1371
|
-
readonly
|
|
1372
|
-
readonly
|
|
1373
|
-
readonly
|
|
1374
|
-
readonly
|
|
1386
|
+
readonly ELEMENT_NODE: 1;
|
|
1387
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
1388
|
+
readonly TEXT_NODE: 3;
|
|
1389
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
1390
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
1391
|
+
readonly ENTITY_NODE: 6;
|
|
1392
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
1393
|
+
readonly COMMENT_NODE: 8;
|
|
1394
|
+
readonly DOCUMENT_NODE: 9;
|
|
1395
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
1396
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
1397
|
+
readonly NOTATION_NODE: 12;
|
|
1398
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
1399
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
1400
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
1401
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
1402
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
1403
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
1375
1404
|
dispatchEvent(event: Event): boolean;
|
|
1376
1405
|
ariaAtomic: string;
|
|
1377
1406
|
ariaAutoComplete: string;
|
|
@@ -1379,9 +1408,9 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
1379
1408
|
ariaChecked: string;
|
|
1380
1409
|
ariaColCount: string;
|
|
1381
1410
|
ariaColIndex: string;
|
|
1382
|
-
ariaColIndexText: string;
|
|
1383
1411
|
ariaColSpan: string;
|
|
1384
1412
|
ariaCurrent: string;
|
|
1413
|
+
ariaDescription: string;
|
|
1385
1414
|
ariaDisabled: string;
|
|
1386
1415
|
ariaExpanded: string;
|
|
1387
1416
|
ariaHasPopup: string;
|
|
@@ -1403,7 +1432,6 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
1403
1432
|
ariaRoleDescription: string;
|
|
1404
1433
|
ariaRowCount: string;
|
|
1405
1434
|
ariaRowIndex: string;
|
|
1406
|
-
ariaRowIndexText: string;
|
|
1407
1435
|
ariaRowSpan: string;
|
|
1408
1436
|
ariaSelected: string;
|
|
1409
1437
|
ariaSetSize: string;
|
|
@@ -1428,17 +1456,19 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
1428
1456
|
readonly lastElementChild: Element;
|
|
1429
1457
|
append(...nodes: (string | Node)[]): void;
|
|
1430
1458
|
prepend(...nodes: (string | Node)[]): void;
|
|
1431
|
-
querySelector<
|
|
1432
|
-
querySelector<
|
|
1459
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
|
1460
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
|
1461
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
1462
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
1433
1463
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
1434
|
-
querySelectorAll<
|
|
1435
|
-
querySelectorAll<
|
|
1464
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
1465
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
1466
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
1467
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
1436
1468
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
1437
1469
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
1438
1470
|
readonly assignedSlot: HTMLSlotElement;
|
|
1439
|
-
|
|
1440
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
1441
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
1471
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
1442
1472
|
readonly style: CSSStyleDeclaration;
|
|
1443
1473
|
contentEditable: string;
|
|
1444
1474
|
enterKeyHint: string;
|
|
@@ -1451,6 +1481,7 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
1451
1481
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
1452
1482
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1453
1483
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
1484
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1454
1485
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
1455
1486
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1456
1487
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -1459,7 +1490,9 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
1459
1490
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1460
1491
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1461
1492
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1493
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
1462
1494
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1495
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
1463
1496
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1464
1497
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1465
1498
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -1492,6 +1525,7 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
1492
1525
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1493
1526
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1494
1527
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1528
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
1495
1529
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1496
1530
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1497
1531
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -1508,6 +1542,7 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
1508
1542
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1509
1543
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
1510
1544
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1545
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1511
1546
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
1512
1547
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1513
1548
|
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [createErrorMap](./foundation-utils.createerrormap.md)
|
|
4
4
|
|
|
5
|
-
## createErrorMap
|
|
5
|
+
## createErrorMap() function
|
|
6
6
|
|
|
7
7
|
A factory to create the error map.
|
|
8
8
|
|
|
@@ -11,3 +11,16 @@ A factory to create the error map.
|
|
|
11
11
|
```typescript
|
|
12
12
|
createErrorMap: <TErrorDetailMap extends ErrorDetailMap>(logger: ErrorMapLogger) => ErrorMap<TErrorDetailMap>
|
|
13
13
|
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| logger | [ErrorMapLogger](./foundation-utils.errormaplogger.md) | A logger error method reference. |
|
|
20
|
+
|
|
21
|
+
**Returns:**
|
|
22
|
+
|
|
23
|
+
[ErrorMap](./foundation-utils.errormap.md)<!-- --><TErrorDetailMap>
|
|
24
|
+
|
|
25
|
+
A ErrorMap instance.
|
|
26
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [createObserver](./foundation-utils.createobserver.md)
|
|
4
4
|
|
|
5
|
-
## createObserver
|
|
5
|
+
## createObserver() function
|
|
6
6
|
|
|
7
7
|
Creates a new event observer instance.
|
|
8
8
|
|
|
@@ -11,3 +11,7 @@ Creates a new event observer instance.
|
|
|
11
11
|
```typescript
|
|
12
12
|
createObserver: <EventType>() => Observer<EventType>
|
|
13
13
|
```
|
|
14
|
+
**Returns:**
|
|
15
|
+
|
|
16
|
+
[Observer](./foundation-utils.observer.md)<!-- --><EventType>
|
|
17
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [decodeFromBase64](./foundation-utils.decodefrombase64.md)
|
|
4
4
|
|
|
5
|
-
## decodeFromBase64
|
|
5
|
+
## decodeFromBase64() function
|
|
6
6
|
|
|
7
7
|
Decodes a value from base64.
|
|
8
8
|
|
|
@@ -11,3 +11,16 @@ Decodes a value from base64.
|
|
|
11
11
|
```typescript
|
|
12
12
|
decodeFromBase64: (base64Value: string) => string | ArrayBuffer
|
|
13
13
|
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| base64Value | string | |
|
|
20
|
+
|
|
21
|
+
**Returns:**
|
|
22
|
+
|
|
23
|
+
string \| ArrayBuffer
|
|
24
|
+
|
|
25
|
+
The decoded value.
|
|
26
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [decodeFromBase64WithPrefix](./foundation-utils.decodefrombase64withprefix.md)
|
|
4
4
|
|
|
5
|
-
## decodeFromBase64WithPrefix
|
|
5
|
+
## decodeFromBase64WithPrefix() function
|
|
6
6
|
|
|
7
7
|
Decodes a value from base64 with a prefix.
|
|
8
8
|
|
|
@@ -12,6 +12,18 @@ Decodes a value from base64 with a prefix.
|
|
|
12
12
|
decodeFromBase64WithPrefix: (value: string) => string | ArrayBuffer
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| value | string | The value to decode from base64. |
|
|
20
|
+
|
|
21
|
+
**Returns:**
|
|
22
|
+
|
|
23
|
+
string \| ArrayBuffer
|
|
24
|
+
|
|
25
|
+
The decoded value.
|
|
26
|
+
|
|
15
27
|
## Remarks
|
|
16
28
|
|
|
17
29
|
Prefixes are: 'str:' for string and 'bin:' for ArrayBuffer.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [encodeToBase64](./foundation-utils.encodetobase64.md)
|
|
4
4
|
|
|
5
|
-
## encodeToBase64
|
|
5
|
+
## encodeToBase64() function
|
|
6
6
|
|
|
7
7
|
Encodes the given value to base64.
|
|
8
8
|
|
|
@@ -11,3 +11,16 @@ Encodes the given value to base64.
|
|
|
11
11
|
```typescript
|
|
12
12
|
encodeToBase64: (value: string | ArrayBuffer) => string
|
|
13
13
|
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| value | string \| ArrayBuffer | The value to encode to base64. |
|
|
20
|
+
|
|
21
|
+
**Returns:**
|
|
22
|
+
|
|
23
|
+
string
|
|
24
|
+
|
|
25
|
+
The base64 encoded value.
|
|
26
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [encodeToBase64WithPrefix](./foundation-utils.encodetobase64withprefix.md)
|
|
4
4
|
|
|
5
|
-
## encodeToBase64WithPrefix
|
|
5
|
+
## encodeToBase64WithPrefix() function
|
|
6
6
|
|
|
7
7
|
Encodes the given value with a prefix to base64.
|
|
8
8
|
|
|
@@ -12,6 +12,18 @@ Encodes the given value with a prefix to base64.
|
|
|
12
12
|
encodeToBase64WithPrefix: (value: string | ArrayBuffer) => string
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| value | string \| ArrayBuffer | The value to encode to base64. |
|
|
20
|
+
|
|
21
|
+
**Returns:**
|
|
22
|
+
|
|
23
|
+
string
|
|
24
|
+
|
|
25
|
+
The base64 encoded value with a prefix.
|
|
26
|
+
|
|
15
27
|
## Remarks
|
|
16
28
|
|
|
17
29
|
Prefixes are: 'str:' for string and 'bin:' for ArrayBuffer.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [getFontMixin](./foundation-utils.getfontmixin.md)
|
|
4
4
|
|
|
5
|
-
## getFontMixin
|
|
5
|
+
## getFontMixin() function
|
|
6
6
|
|
|
7
7
|
Generates a CSS mixin for the specified font family, style, and weight.
|
|
8
8
|
|
|
@@ -11,3 +11,18 @@ Generates a CSS mixin for the specified font family, style, and weight.
|
|
|
11
11
|
```typescript
|
|
12
12
|
getFontMixin: (family: string, style?: FontStyle, weight?: FontWeight) => string
|
|
13
13
|
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| family | string | The font family. |
|
|
20
|
+
| style | [FontStyle](./foundation-utils.fontstyle.md) | _(Optional)_ Optional. The font style. Defaults to FontStyle.Normal. |
|
|
21
|
+
| weight | [FontWeight](./foundation-utils.fontweight.md) | _(Optional)_ Optional. The font weight. Defaults to FontWeight.Regular. |
|
|
22
|
+
|
|
23
|
+
**Returns:**
|
|
24
|
+
|
|
25
|
+
string
|
|
26
|
+
|
|
27
|
+
The generated CSS mixin.
|
|
28
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [inIFrame](./foundation-utils.iniframe.md)
|
|
4
4
|
|
|
5
|
-
## inIFrame
|
|
5
|
+
## inIFrame() function
|
|
6
6
|
|
|
7
7
|
Returns a boolean value indicating whether the current window is inside an iframe.
|
|
8
8
|
|
|
@@ -11,3 +11,9 @@ Returns a boolean value indicating whether the current window is inside an ifram
|
|
|
11
11
|
```typescript
|
|
12
12
|
inIFrame: () => boolean
|
|
13
13
|
```
|
|
14
|
+
**Returns:**
|
|
15
|
+
|
|
16
|
+
boolean
|
|
17
|
+
|
|
18
|
+
true if the window is inside an iframe, false otherwise.
|
|
19
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [insertDocumentCSSRule](./foundation-utils.insertdocumentcssrule.md)
|
|
4
4
|
|
|
5
|
-
## insertDocumentCSSRule
|
|
5
|
+
## insertDocumentCSSRule() function
|
|
6
6
|
|
|
7
7
|
Inserts a CSS rule into the document by creating a new style element or using an existing one with the specified ID. Returns a function that can be called to remove the rule from the document.
|
|
8
8
|
|
|
@@ -11,3 +11,17 @@ Inserts a CSS rule into the document by creating a new style element or using an
|
|
|
11
11
|
```typescript
|
|
12
12
|
insertDocumentCSSRule: (cssRule: string, styleElementId: string) => (() => void)
|
|
13
13
|
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| cssRule | string | The CSS rule to insert. |
|
|
20
|
+
| styleElementId | string | The ID of the style element to use or create. |
|
|
21
|
+
|
|
22
|
+
**Returns:**
|
|
23
|
+
|
|
24
|
+
(() => void)
|
|
25
|
+
|
|
26
|
+
A function that removes the rule from the document.
|
|
27
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [insertDocumentLink](./foundation-utils.insertdocumentlink.md)
|
|
4
4
|
|
|
5
|
-
## insertDocumentLink
|
|
5
|
+
## insertDocumentLink() function
|
|
6
6
|
|
|
7
7
|
Inserts a CSS link into the document if it doesn't already exist.
|
|
8
8
|
|
|
@@ -11,3 +11,14 @@ Inserts a CSS link into the document if it doesn't already exist.
|
|
|
11
11
|
```typescript
|
|
12
12
|
insertDocumentLink: (href: string) => void
|
|
13
13
|
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| href | string | The URL of the CSS file to insert. |
|
|
20
|
+
|
|
21
|
+
**Returns:**
|
|
22
|
+
|
|
23
|
+
void
|
|
24
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [inSymphonyDesktop](./foundation-utils.insymphonydesktop.md)
|
|
4
4
|
|
|
5
|
-
## inSymphonyDesktop
|
|
5
|
+
## inSymphonyDesktop() function
|
|
6
6
|
|
|
7
7
|
Returns a boolean value indicating whether the user is running the Symphony desktop app.
|
|
8
8
|
|
|
@@ -11,3 +11,9 @@ Returns a boolean value indicating whether the user is running the Symphony desk
|
|
|
11
11
|
```typescript
|
|
12
12
|
inSymphonyDesktop: () => boolean
|
|
13
13
|
```
|
|
14
|
+
**Returns:**
|
|
15
|
+
|
|
16
|
+
boolean
|
|
17
|
+
|
|
18
|
+
true if the user is running the Symphony desktop app, false otherwise.
|
|
19
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [isDev](./foundation-utils.isdev.md)
|
|
4
4
|
|
|
5
|
-
## isDev
|
|
5
|
+
## isDev() function
|
|
6
6
|
|
|
7
7
|
Determines if the current environment is a development environment.
|
|
8
8
|
|
|
@@ -11,3 +11,7 @@ Determines if the current environment is a development environment.
|
|
|
11
11
|
```typescript
|
|
12
12
|
isDev: () => boolean
|
|
13
13
|
```
|
|
14
|
+
**Returns:**
|
|
15
|
+
|
|
16
|
+
boolean
|
|
17
|
+
|