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