@genesislcap/foundation-utils 14.225.1 → 14.225.2-alpha-a51f60c.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +531 -531
- package/dist/dts/error/errorMap.d.ts.map +1 -1
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts +51 -29
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts.map +1 -1
- package/dist/dts/mixins/pendingState/pendingState.d.ts +45 -29
- package/dist/dts/mixins/pendingState/pendingState.d.ts.map +1 -1
- package/dist/dts/observer/observer.d.ts.map +1 -1
- package/dist/dts/promise/resolveAfter.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/esm/mixins/lifecycle/lifecycle.js +5 -5
- package/dist/esm/mixins/pendingState/pendingState.js +2 -2
- package/dist/esm/uuid/uuid.js +2 -2
- package/dist/foundation-utils.api.json +1109 -270
- package/dist/foundation-utils.d.ts +93 -58
- package/docs/api/foundation-utils.createerrormap.md +14 -1
- package/docs/api/foundation-utils.createobserver.md +5 -1
- package/docs/api/foundation-utils.getfontmixin.md +16 -1
- package/docs/api/foundation-utils.iniframe.md +7 -1
- package/docs/api/foundation-utils.insertdocumentcssrule.md +15 -1
- package/docs/api/foundation-utils.insertdocumentlink.md +12 -1
- package/docs/api/foundation-utils.insymphonydesktop.md +7 -1
- package/docs/api/foundation-utils.isdev.md +5 -1
- package/docs/api/foundation-utils.lifecyclemixin.md +56 -30
- package/docs/api/foundation-utils.loadfontfaces.md +13 -1
- package/docs/api/foundation-utils.md +14 -14
- package/docs/api/foundation-utils.openpopup.md +17 -1
- package/docs/api/foundation-utils.pendingstate.md +57 -30
- package/docs/api/foundation-utils.resolveafter.md +12 -1
- package/docs/api/foundation-utils.respondtovisibility.md +13 -1
- package/docs/{api-report.md → api-report.md.api.md} +93 -58
- package/package.json +11 -11
@@ -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';
|
@@ -717,11 +720,15 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
717
720
|
readonly offsetTop: number;
|
718
721
|
readonly offsetWidth: number;
|
719
722
|
outerText: string;
|
723
|
+
popover: string;
|
720
724
|
spellcheck: boolean;
|
721
725
|
title: string;
|
722
726
|
translate: boolean;
|
723
727
|
attachInternals(): ElementInternals;
|
724
728
|
click(): void;
|
729
|
+
hidePopover(): void;
|
730
|
+
showPopover(): void;
|
731
|
+
togglePopover(force?: boolean): boolean;
|
725
732
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
726
733
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
727
734
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
@@ -750,9 +757,12 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
750
757
|
slot: string;
|
751
758
|
readonly tagName: string;
|
752
759
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
760
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
753
761
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
754
762
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
763
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
755
764
|
closest<E extends Element = Element>(selectors: string): E;
|
765
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
756
766
|
getAttribute(qualifiedName: string): string;
|
757
767
|
getAttributeNS(namespace: string, localName: string): string;
|
758
768
|
getAttributeNames(): string[];
|
@@ -761,11 +771,14 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
761
771
|
getBoundingClientRect(): DOMRect;
|
762
772
|
getClientRects(): DOMRectList;
|
763
773
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
764
|
-
getElementsByTagName<
|
765
|
-
getElementsByTagName<
|
774
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
775
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
776
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
777
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
766
778
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
767
779
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
768
780
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
781
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
769
782
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
770
783
|
hasAttribute(qualifiedName: string): boolean;
|
771
784
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
@@ -822,24 +835,24 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
822
835
|
normalize(): void;
|
823
836
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
824
837
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
825
|
-
readonly
|
826
|
-
readonly
|
827
|
-
readonly
|
828
|
-
readonly
|
829
|
-
readonly
|
830
|
-
readonly
|
831
|
-
readonly
|
832
|
-
readonly
|
833
|
-
readonly
|
834
|
-
readonly
|
835
|
-
readonly
|
836
|
-
readonly
|
837
|
-
readonly
|
838
|
-
readonly
|
839
|
-
readonly
|
840
|
-
readonly
|
841
|
-
readonly
|
842
|
-
readonly
|
838
|
+
readonly ELEMENT_NODE: 1;
|
839
|
+
readonly ATTRIBUTE_NODE: 2;
|
840
|
+
readonly TEXT_NODE: 3;
|
841
|
+
readonly CDATA_SECTION_NODE: 4;
|
842
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
843
|
+
readonly ENTITY_NODE: 6;
|
844
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
845
|
+
readonly COMMENT_NODE: 8;
|
846
|
+
readonly DOCUMENT_NODE: 9;
|
847
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
848
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
849
|
+
readonly NOTATION_NODE: 12;
|
850
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
851
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
852
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
853
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
854
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
855
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
843
856
|
dispatchEvent(event: Event): boolean;
|
844
857
|
ariaAtomic: string;
|
845
858
|
ariaAutoComplete: string;
|
@@ -847,9 +860,9 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
847
860
|
ariaChecked: string;
|
848
861
|
ariaColCount: string;
|
849
862
|
ariaColIndex: string;
|
850
|
-
ariaColIndexText: string;
|
851
863
|
ariaColSpan: string;
|
852
864
|
ariaCurrent: string;
|
865
|
+
ariaDescription: string;
|
853
866
|
ariaDisabled: string;
|
854
867
|
ariaExpanded: string;
|
855
868
|
ariaHasPopup: string;
|
@@ -871,7 +884,6 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
871
884
|
ariaRoleDescription: string;
|
872
885
|
ariaRowCount: string;
|
873
886
|
ariaRowIndex: string;
|
874
|
-
ariaRowIndexText: string;
|
875
887
|
ariaRowSpan: string;
|
876
888
|
ariaSelected: string;
|
877
889
|
ariaSetSize: string;
|
@@ -896,17 +908,19 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
896
908
|
readonly lastElementChild: Element;
|
897
909
|
append(...nodes: (string | Node)[]): void;
|
898
910
|
prepend(...nodes: (string | Node)[]): void;
|
899
|
-
querySelector<
|
900
|
-
querySelector<
|
911
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
912
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
913
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
914
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
901
915
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
902
|
-
querySelectorAll<
|
903
|
-
querySelectorAll<
|
916
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
917
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
918
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
919
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
904
920
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
905
921
|
replaceChildren(...nodes: (string | Node)[]): void;
|
906
922
|
readonly assignedSlot: HTMLSlotElement;
|
907
|
-
|
908
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
909
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
923
|
+
readonly attributeStyleMap: StylePropertyMap;
|
910
924
|
readonly style: CSSStyleDeclaration;
|
911
925
|
contentEditable: string;
|
912
926
|
enterKeyHint: string;
|
@@ -919,6 +933,7 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
919
933
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
920
934
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
921
935
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
936
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
922
937
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
923
938
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
924
939
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -927,7 +942,9 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
927
942
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
928
943
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
929
944
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
945
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
930
946
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
947
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
931
948
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
932
949
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
933
950
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
@@ -960,6 +977,7 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
960
977
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
961
978
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
962
979
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
980
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
963
981
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
964
982
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
965
983
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -976,6 +994,7 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
976
994
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
977
995
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
978
996
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
997
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
979
998
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
980
999
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
981
1000
|
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -1214,11 +1233,15 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1214
1233
|
readonly offsetTop: number;
|
1215
1234
|
readonly offsetWidth: number;
|
1216
1235
|
outerText: string;
|
1236
|
+
popover: string;
|
1217
1237
|
spellcheck: boolean;
|
1218
1238
|
title: string;
|
1219
1239
|
translate: boolean;
|
1220
1240
|
attachInternals(): ElementInternals;
|
1221
1241
|
click(): void;
|
1242
|
+
hidePopover(): void;
|
1243
|
+
showPopover(): void;
|
1244
|
+
togglePopover(force?: boolean): boolean;
|
1222
1245
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1223
1246
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
1224
1247
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
@@ -1247,9 +1270,12 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1247
1270
|
slot: string;
|
1248
1271
|
readonly tagName: string;
|
1249
1272
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
1273
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
1250
1274
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
1251
1275
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
1276
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
1252
1277
|
closest<E extends Element = Element>(selectors: string): E;
|
1278
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
1253
1279
|
getAttribute(qualifiedName: string): string;
|
1254
1280
|
getAttributeNS(namespace: string, localName: string): string;
|
1255
1281
|
getAttributeNames(): string[];
|
@@ -1258,11 +1284,14 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1258
1284
|
getBoundingClientRect(): DOMRect;
|
1259
1285
|
getClientRects(): DOMRectList;
|
1260
1286
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
1261
|
-
getElementsByTagName<
|
1262
|
-
getElementsByTagName<
|
1287
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
1288
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
1289
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
1290
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
1263
1291
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
1264
1292
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
1265
1293
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
1294
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
1266
1295
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
1267
1296
|
hasAttribute(qualifiedName: string): boolean;
|
1268
1297
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
@@ -1320,24 +1349,24 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1320
1349
|
normalize(): void;
|
1321
1350
|
removeChild<T_2 extends Node>(child: T_2): T_2;
|
1322
1351
|
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
1323
|
-
readonly
|
1324
|
-
readonly
|
1325
|
-
readonly
|
1326
|
-
readonly
|
1327
|
-
readonly
|
1328
|
-
readonly
|
1329
|
-
readonly
|
1330
|
-
readonly
|
1331
|
-
readonly
|
1332
|
-
readonly
|
1333
|
-
readonly
|
1334
|
-
readonly
|
1335
|
-
readonly
|
1336
|
-
readonly
|
1337
|
-
readonly
|
1338
|
-
readonly
|
1339
|
-
readonly
|
1340
|
-
readonly
|
1352
|
+
readonly ELEMENT_NODE: 1;
|
1353
|
+
readonly ATTRIBUTE_NODE: 2;
|
1354
|
+
readonly TEXT_NODE: 3;
|
1355
|
+
readonly CDATA_SECTION_NODE: 4;
|
1356
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
1357
|
+
readonly ENTITY_NODE: 6;
|
1358
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
1359
|
+
readonly COMMENT_NODE: 8;
|
1360
|
+
readonly DOCUMENT_NODE: 9;
|
1361
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
1362
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
1363
|
+
readonly NOTATION_NODE: 12;
|
1364
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
1365
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
1366
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
1367
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
1368
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
1369
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
1341
1370
|
dispatchEvent(event: Event): boolean;
|
1342
1371
|
ariaAtomic: string;
|
1343
1372
|
ariaAutoComplete: string;
|
@@ -1345,9 +1374,9 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1345
1374
|
ariaChecked: string;
|
1346
1375
|
ariaColCount: string;
|
1347
1376
|
ariaColIndex: string;
|
1348
|
-
ariaColIndexText: string;
|
1349
1377
|
ariaColSpan: string;
|
1350
1378
|
ariaCurrent: string;
|
1379
|
+
ariaDescription: string;
|
1351
1380
|
ariaDisabled: string;
|
1352
1381
|
ariaExpanded: string;
|
1353
1382
|
ariaHasPopup: string;
|
@@ -1369,7 +1398,6 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1369
1398
|
ariaRoleDescription: string;
|
1370
1399
|
ariaRowCount: string;
|
1371
1400
|
ariaRowIndex: string;
|
1372
|
-
ariaRowIndexText: string;
|
1373
1401
|
ariaRowSpan: string;
|
1374
1402
|
ariaSelected: string;
|
1375
1403
|
ariaSetSize: string;
|
@@ -1394,17 +1422,19 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1394
1422
|
readonly lastElementChild: Element;
|
1395
1423
|
append(...nodes: (string | Node)[]): void;
|
1396
1424
|
prepend(...nodes: (string | Node)[]): void;
|
1397
|
-
querySelector<
|
1398
|
-
querySelector<
|
1425
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
1426
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
1427
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
1428
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
1399
1429
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
1400
|
-
querySelectorAll<
|
1401
|
-
querySelectorAll<
|
1430
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
1431
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
1432
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
1433
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
1402
1434
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
1403
1435
|
replaceChildren(...nodes: (string | Node)[]): void;
|
1404
1436
|
readonly assignedSlot: HTMLSlotElement;
|
1405
|
-
|
1406
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
1407
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
1437
|
+
readonly attributeStyleMap: StylePropertyMap;
|
1408
1438
|
readonly style: CSSStyleDeclaration;
|
1409
1439
|
contentEditable: string;
|
1410
1440
|
enterKeyHint: string;
|
@@ -1417,6 +1447,7 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1417
1447
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
1418
1448
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1419
1449
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
1450
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
1420
1451
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
1421
1452
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
1422
1453
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -1425,7 +1456,9 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1425
1456
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1426
1457
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
1427
1458
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1459
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
1428
1460
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
1461
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
1429
1462
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1430
1463
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
1431
1464
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
@@ -1458,6 +1491,7 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1458
1491
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1459
1492
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1460
1493
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1494
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
1461
1495
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
1462
1496
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
1463
1497
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -1474,6 +1508,7 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1474
1508
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
1475
1509
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
1476
1510
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
1511
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
1477
1512
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
1478
1513
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
1479
1514
|
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) > [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
|
+
|