@genesislcap/foundation-utils 14.226.0 → 14.226.2-alpha-bcda968.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 +277 -227
- package/dist/dts/env/variables.d.ts +20 -0
- package/dist/dts/env/variables.d.ts.map +1 -1
- 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/env/variables.js +39 -7
- 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 +355 -1212
- package/dist/foundation-utils.d.ts +78 -93
- package/docs/api/foundation-utils.builder.md +18 -0
- 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 +20 -18
- package/docs/api/foundation-utils.openpopup.md +1 -17
- package/docs/api/foundation-utils.pendingstate.md +30 -57
- package/docs/api/foundation-utils.public_path.md +18 -0
- 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} +64 -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';
|
@@ -76,6 +73,16 @@ export declare function assureDesignSystem(module: DesignSystemModule): DesignSy
|
|
76
73
|
*/
|
77
74
|
export declare const BIG_INT_64_BITS = 64;
|
78
75
|
|
76
|
+
/**
|
77
|
+
* The builder aka file bundler.
|
78
|
+
* @privateRemarks
|
79
|
+
* Provided by default as part of the `resolveDefineConfig` in the build kit.
|
80
|
+
* @example 'webpack', 'vite'.
|
81
|
+
* @defaultValue `'webpack'`
|
82
|
+
* @public
|
83
|
+
*/
|
84
|
+
export declare let BUILDER: string;
|
85
|
+
|
79
86
|
/**
|
80
87
|
* @public
|
81
88
|
*/
|
@@ -754,15 +761,11 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
754
761
|
readonly offsetTop: number;
|
755
762
|
readonly offsetWidth: number;
|
756
763
|
outerText: string;
|
757
|
-
popover: string;
|
758
764
|
spellcheck: boolean;
|
759
765
|
title: string;
|
760
766
|
translate: boolean;
|
761
767
|
attachInternals(): ElementInternals;
|
762
768
|
click(): void;
|
763
|
-
hidePopover(): void;
|
764
|
-
showPopover(): void;
|
765
|
-
togglePopover(force?: boolean): boolean;
|
766
769
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
767
770
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
768
771
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
@@ -791,12 +794,9 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
791
794
|
slot: string;
|
792
795
|
readonly tagName: string;
|
793
796
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
794
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
795
797
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
796
798
|
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
799
|
closest<E extends Element = Element>(selectors: string): E;
|
799
|
-
computedStyleMap(): StylePropertyMapReadOnly;
|
800
800
|
getAttribute(qualifiedName: string): string;
|
801
801
|
getAttributeNS(namespace: string, localName: string): string;
|
802
802
|
getAttributeNames(): string[];
|
@@ -805,14 +805,11 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
805
805
|
getBoundingClientRect(): DOMRect;
|
806
806
|
getClientRects(): DOMRectList;
|
807
807
|
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]>;
|
808
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
809
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
812
810
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
813
811
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
814
812
|
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
813
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
817
814
|
hasAttribute(qualifiedName: string): boolean;
|
818
815
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
@@ -869,24 +866,24 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
869
866
|
normalize(): void;
|
870
867
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
871
868
|
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
|
869
|
+
readonly ATTRIBUTE_NODE: number;
|
870
|
+
readonly CDATA_SECTION_NODE: number;
|
871
|
+
readonly COMMENT_NODE: number;
|
872
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
873
|
+
readonly DOCUMENT_NODE: number;
|
874
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
875
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
876
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
877
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
878
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
879
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
880
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
881
|
+
readonly ELEMENT_NODE: number;
|
882
|
+
readonly ENTITY_NODE: number;
|
883
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
884
|
+
readonly NOTATION_NODE: number;
|
885
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
886
|
+
readonly TEXT_NODE: number;
|
890
887
|
dispatchEvent(event: Event): boolean;
|
891
888
|
ariaAtomic: string;
|
892
889
|
ariaAutoComplete: string;
|
@@ -894,9 +891,9 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
894
891
|
ariaChecked: string;
|
895
892
|
ariaColCount: string;
|
896
893
|
ariaColIndex: string;
|
894
|
+
ariaColIndexText: string;
|
897
895
|
ariaColSpan: string;
|
898
896
|
ariaCurrent: string;
|
899
|
-
ariaDescription: string;
|
900
897
|
ariaDisabled: string;
|
901
898
|
ariaExpanded: string;
|
902
899
|
ariaHasPopup: string;
|
@@ -918,6 +915,7 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
918
915
|
ariaRoleDescription: string;
|
919
916
|
ariaRowCount: string;
|
920
917
|
ariaRowIndex: string;
|
918
|
+
ariaRowIndexText: string;
|
921
919
|
ariaRowSpan: string;
|
922
920
|
ariaSelected: string;
|
923
921
|
ariaSetSize: string;
|
@@ -942,19 +940,17 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
942
940
|
readonly lastElementChild: Element;
|
943
941
|
append(...nodes: (string | Node)[]): void;
|
944
942
|
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];
|
943
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
944
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
949
945
|
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]>;
|
946
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
947
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
954
948
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
955
949
|
replaceChildren(...nodes: (string | Node)[]): void;
|
956
950
|
readonly assignedSlot: HTMLSlotElement;
|
957
|
-
|
951
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
952
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
953
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
958
954
|
readonly style: CSSStyleDeclaration;
|
959
955
|
contentEditable: string;
|
960
956
|
enterKeyHint: string;
|
@@ -967,7 +963,6 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
967
963
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
968
964
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
969
965
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
970
|
-
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
971
966
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
972
967
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
973
968
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -976,9 +971,7 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
976
971
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
977
972
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
978
973
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
979
|
-
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
980
974
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
981
|
-
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
982
975
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
983
976
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
984
977
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
@@ -1011,7 +1004,6 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
1011
1004
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1012
1005
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1013
1006
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1014
|
-
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
1015
1007
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
1016
1008
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
1017
1009
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -1028,7 +1020,6 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
1028
1020
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
1029
1021
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
1030
1022
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
1031
|
-
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
1032
1023
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
1033
1024
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
1034
1025
|
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -1267,15 +1258,11 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1267
1258
|
readonly offsetTop: number;
|
1268
1259
|
readonly offsetWidth: number;
|
1269
1260
|
outerText: string;
|
1270
|
-
popover: string;
|
1271
1261
|
spellcheck: boolean;
|
1272
1262
|
title: string;
|
1273
1263
|
translate: boolean;
|
1274
1264
|
attachInternals(): ElementInternals;
|
1275
1265
|
click(): void;
|
1276
|
-
hidePopover(): void;
|
1277
|
-
showPopover(): void;
|
1278
|
-
togglePopover(force?: boolean): boolean;
|
1279
1266
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1280
1267
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
1281
1268
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
@@ -1304,12 +1291,9 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1304
1291
|
slot: string;
|
1305
1292
|
readonly tagName: string;
|
1306
1293
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
1307
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
1308
1294
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
1309
1295
|
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
1296
|
closest<E extends Element = Element>(selectors: string): E;
|
1312
|
-
computedStyleMap(): StylePropertyMapReadOnly;
|
1313
1297
|
getAttribute(qualifiedName: string): string;
|
1314
1298
|
getAttributeNS(namespace: string, localName: string): string;
|
1315
1299
|
getAttributeNames(): string[];
|
@@ -1318,14 +1302,11 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1318
1302
|
getBoundingClientRect(): DOMRect;
|
1319
1303
|
getClientRects(): DOMRectList;
|
1320
1304
|
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]>;
|
1305
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
1306
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
1325
1307
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
1326
1308
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
1327
1309
|
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
1310
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
1330
1311
|
hasAttribute(qualifiedName: string): boolean;
|
1331
1312
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
@@ -1383,24 +1364,24 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1383
1364
|
normalize(): void;
|
1384
1365
|
removeChild<T_2 extends Node>(child: T_2): T_2;
|
1385
1366
|
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
|
1367
|
+
readonly ATTRIBUTE_NODE: number;
|
1368
|
+
readonly CDATA_SECTION_NODE: number;
|
1369
|
+
readonly COMMENT_NODE: number;
|
1370
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
1371
|
+
readonly DOCUMENT_NODE: number;
|
1372
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
1373
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
1374
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
1375
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
1376
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
1377
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
1378
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
1379
|
+
readonly ELEMENT_NODE: number;
|
1380
|
+
readonly ENTITY_NODE: number;
|
1381
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
1382
|
+
readonly NOTATION_NODE: number;
|
1383
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
1384
|
+
readonly TEXT_NODE: number;
|
1404
1385
|
dispatchEvent(event: Event): boolean;
|
1405
1386
|
ariaAtomic: string;
|
1406
1387
|
ariaAutoComplete: string;
|
@@ -1408,9 +1389,9 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1408
1389
|
ariaChecked: string;
|
1409
1390
|
ariaColCount: string;
|
1410
1391
|
ariaColIndex: string;
|
1392
|
+
ariaColIndexText: string;
|
1411
1393
|
ariaColSpan: string;
|
1412
1394
|
ariaCurrent: string;
|
1413
|
-
ariaDescription: string;
|
1414
1395
|
ariaDisabled: string;
|
1415
1396
|
ariaExpanded: string;
|
1416
1397
|
ariaHasPopup: string;
|
@@ -1432,6 +1413,7 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1432
1413
|
ariaRoleDescription: string;
|
1433
1414
|
ariaRowCount: string;
|
1434
1415
|
ariaRowIndex: string;
|
1416
|
+
ariaRowIndexText: string;
|
1435
1417
|
ariaRowSpan: string;
|
1436
1418
|
ariaSelected: string;
|
1437
1419
|
ariaSetSize: string;
|
@@ -1456,19 +1438,17 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1456
1438
|
readonly lastElementChild: Element;
|
1457
1439
|
append(...nodes: (string | Node)[]): void;
|
1458
1440
|
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];
|
1441
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
1442
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
1463
1443
|
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]>;
|
1444
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
1445
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
1468
1446
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
1469
1447
|
replaceChildren(...nodes: (string | Node)[]): void;
|
1470
1448
|
readonly assignedSlot: HTMLSlotElement;
|
1471
|
-
|
1449
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
1450
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
1451
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
1472
1452
|
readonly style: CSSStyleDeclaration;
|
1473
1453
|
contentEditable: string;
|
1474
1454
|
enterKeyHint: string;
|
@@ -1481,7 +1461,6 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1481
1461
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
1482
1462
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1483
1463
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
1484
|
-
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
1485
1464
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
1486
1465
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
1487
1466
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -1490,9 +1469,7 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1490
1469
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1491
1470
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
1492
1471
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1493
|
-
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
1494
1472
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
1495
|
-
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
1496
1473
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1497
1474
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
1498
1475
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
@@ -1525,7 +1502,6 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1525
1502
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1526
1503
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1527
1504
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1528
|
-
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
1529
1505
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
1530
1506
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
1531
1507
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -1542,7 +1518,6 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1542
1518
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
1543
1519
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
1544
1520
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
1545
|
-
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
1546
1521
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
1547
1522
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
1548
1523
|
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -1629,6 +1604,16 @@ export declare const POPUP_DEFAULT_HEIGHT = 600;
|
|
1629
1604
|
*/
|
1630
1605
|
export declare const POPUP_DEFAULT_WIDTH = 483;
|
1631
1606
|
|
1607
|
+
/**
|
1608
|
+
* The public path.
|
1609
|
+
* @privateRemarks
|
1610
|
+
* Provided by default as part of the `resolveDefineConfig` in the build kit.
|
1611
|
+
* @example '/', '/app/'.
|
1612
|
+
* @public
|
1613
|
+
* @defaultValue `'/'`
|
1614
|
+
*/
|
1615
|
+
export declare let PUBLIC_PATH: string;
|
1616
|
+
|
1632
1617
|
/**
|
1633
1618
|
* Publishes an event of a specific type to all subscribed listeners.
|
1634
1619
|
* @public
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [BUILDER](./foundation-utils.builder.md)
|
4
|
+
|
5
|
+
## BUILDER variable
|
6
|
+
|
7
|
+
The builder aka file bundler.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
_BUILDER: string
|
13
|
+
```
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
'webpack', 'vite'.
|
18
|
+
|
@@ -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
|
-
|