@genesislcap/foundation-utils 14.225.1-alpha-2aa9bd9.0 → 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 +292 -469
- package/dist/dts/error/errorMap.d.ts.map +1 -1
- package/dist/dts/index.d.ts +0 -1
- package/dist/dts/index.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/index.js +0 -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 +1128 -409
- package/dist/foundation-utils.d.ts +93 -92
- 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 -18
- package/docs/api/foundation-utils.openpopup.md +17 -1
- package/docs/api/foundation-utils.pendingstate.md +57 -30
- package/docs/api/foundation-utils.resolveafter.md +12 -1
- package/docs/api/foundation-utils.respondtovisibility.md +13 -1
- package/docs/{api-report.md → api-report.md.api.md} +93 -70
- package/package.json +11 -11
- package/dist/dts/encoding/base64/decode.d.ts +0 -16
- package/dist/dts/encoding/base64/decode.d.ts.map +0 -1
- package/dist/dts/encoding/base64/encode.d.ts +0 -16
- package/dist/dts/encoding/base64/encode.d.ts.map +0 -1
- package/dist/dts/encoding/base64/index.d.ts +0 -3
- package/dist/dts/encoding/base64/index.d.ts.map +0 -1
- package/dist/dts/encoding/index.d.ts +0 -2
- package/dist/dts/encoding/index.d.ts.map +0 -1
- package/dist/esm/encoding/base64/decode.js +0 -45
- package/dist/esm/encoding/base64/encode.js +0 -34
- package/dist/esm/encoding/base64/index.js +0 -2
- package/dist/esm/encoding/index.js +0 -1
- package/docs/api/foundation-utils.decodefrombase64.md +0 -13
- package/docs/api/foundation-utils.decodefrombase64withprefix.md +0 -18
- package/docs/api/foundation-utils.encodetobase64.md +0 -13
- package/docs/api/foundation-utils.encodetobase64withprefix.md +0 -18
@@ -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';
|
@@ -184,23 +187,6 @@ export declare interface DatabaseRecord {
|
|
184
187
|
id: string;
|
185
188
|
}
|
186
189
|
|
187
|
-
/**
|
188
|
-
* Decodes a value from base64.
|
189
|
-
* @public
|
190
|
-
* @param value - The value to decode from base64.
|
191
|
-
* @returns The decoded value.
|
192
|
-
*/
|
193
|
-
export declare const decodeFromBase64: (base64Value: string) => string | ArrayBuffer;
|
194
|
-
|
195
|
-
/**
|
196
|
-
* Decodes a value from base64 with a prefix.
|
197
|
-
* @remarks Prefixes are: 'str:' for string and 'bin:' for ArrayBuffer.
|
198
|
-
* @public
|
199
|
-
* @param value - The value to decode from base64.
|
200
|
-
* @returns The decoded value.
|
201
|
-
*/
|
202
|
-
export declare const decodeFromBase64WithPrefix: (value: string) => string | ArrayBuffer;
|
203
|
-
|
204
190
|
/**
|
205
191
|
* The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).
|
206
192
|
* @remarks Optional.
|
@@ -351,23 +337,6 @@ export declare interface DTOMapper<TDTO, TEntity> {
|
|
351
337
|
toDTO: (entity: Partial<TEntity>) => TDTO;
|
352
338
|
}
|
353
339
|
|
354
|
-
/**
|
355
|
-
* Encodes the given value to base64.
|
356
|
-
* @public
|
357
|
-
* @param value - The value to encode to base64.
|
358
|
-
* @returns The base64 encoded value.
|
359
|
-
*/
|
360
|
-
export declare const encodeToBase64: (value: string | ArrayBuffer) => string;
|
361
|
-
|
362
|
-
/**
|
363
|
-
* Encodes the given value with a prefix to base64.
|
364
|
-
* @remarks Prefixes are: 'str:' for string and 'bin:' for ArrayBuffer.
|
365
|
-
* @public
|
366
|
-
* @param value - The value to encode to base64.
|
367
|
-
* @returns The base64 encoded value with a prefix.
|
368
|
-
*/
|
369
|
-
export declare const encodeToBase64WithPrefix: (value: string | ArrayBuffer) => string;
|
370
|
-
|
371
340
|
/**
|
372
341
|
* @public
|
373
342
|
*/
|
@@ -751,11 +720,15 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
751
720
|
readonly offsetTop: number;
|
752
721
|
readonly offsetWidth: number;
|
753
722
|
outerText: string;
|
723
|
+
popover: string;
|
754
724
|
spellcheck: boolean;
|
755
725
|
title: string;
|
756
726
|
translate: boolean;
|
757
727
|
attachInternals(): ElementInternals;
|
758
728
|
click(): void;
|
729
|
+
hidePopover(): void;
|
730
|
+
showPopover(): void;
|
731
|
+
togglePopover(force?: boolean): boolean;
|
759
732
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
760
733
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
761
734
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
@@ -784,9 +757,12 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
784
757
|
slot: string;
|
785
758
|
readonly tagName: string;
|
786
759
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
760
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
787
761
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
788
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];
|
789
764
|
closest<E extends Element = Element>(selectors: string): E;
|
765
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
790
766
|
getAttribute(qualifiedName: string): string;
|
791
767
|
getAttributeNS(namespace: string, localName: string): string;
|
792
768
|
getAttributeNames(): string[];
|
@@ -795,11 +771,14 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
795
771
|
getBoundingClientRect(): DOMRect;
|
796
772
|
getClientRects(): DOMRectList;
|
797
773
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
798
|
-
getElementsByTagName<
|
799
|
-
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]>;
|
800
778
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
801
779
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
802
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>;
|
803
782
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
804
783
|
hasAttribute(qualifiedName: string): boolean;
|
805
784
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
@@ -856,24 +835,24 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
856
835
|
normalize(): void;
|
857
836
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
858
837
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
859
|
-
readonly
|
860
|
-
readonly
|
861
|
-
readonly
|
862
|
-
readonly
|
863
|
-
readonly
|
864
|
-
readonly
|
865
|
-
readonly
|
866
|
-
readonly
|
867
|
-
readonly
|
868
|
-
readonly
|
869
|
-
readonly
|
870
|
-
readonly
|
871
|
-
readonly
|
872
|
-
readonly
|
873
|
-
readonly
|
874
|
-
readonly
|
875
|
-
readonly
|
876
|
-
readonly
|
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;
|
877
856
|
dispatchEvent(event: Event): boolean;
|
878
857
|
ariaAtomic: string;
|
879
858
|
ariaAutoComplete: string;
|
@@ -881,9 +860,9 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
881
860
|
ariaChecked: string;
|
882
861
|
ariaColCount: string;
|
883
862
|
ariaColIndex: string;
|
884
|
-
ariaColIndexText: string;
|
885
863
|
ariaColSpan: string;
|
886
864
|
ariaCurrent: string;
|
865
|
+
ariaDescription: string;
|
887
866
|
ariaDisabled: string;
|
888
867
|
ariaExpanded: string;
|
889
868
|
ariaHasPopup: string;
|
@@ -905,7 +884,6 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
905
884
|
ariaRoleDescription: string;
|
906
885
|
ariaRowCount: string;
|
907
886
|
ariaRowIndex: string;
|
908
|
-
ariaRowIndexText: string;
|
909
887
|
ariaRowSpan: string;
|
910
888
|
ariaSelected: string;
|
911
889
|
ariaSetSize: string;
|
@@ -930,17 +908,19 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
930
908
|
readonly lastElementChild: Element;
|
931
909
|
append(...nodes: (string | Node)[]): void;
|
932
910
|
prepend(...nodes: (string | Node)[]): void;
|
933
|
-
querySelector<
|
934
|
-
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];
|
935
915
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
936
|
-
querySelectorAll<
|
937
|
-
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]>;
|
938
920
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
939
921
|
replaceChildren(...nodes: (string | Node)[]): void;
|
940
922
|
readonly assignedSlot: HTMLSlotElement;
|
941
|
-
|
942
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
943
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
923
|
+
readonly attributeStyleMap: StylePropertyMap;
|
944
924
|
readonly style: CSSStyleDeclaration;
|
945
925
|
contentEditable: string;
|
946
926
|
enterKeyHint: string;
|
@@ -953,6 +933,7 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
953
933
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
954
934
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
955
935
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
936
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
956
937
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
957
938
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
958
939
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -961,7 +942,9 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
961
942
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
962
943
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
963
944
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
945
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
964
946
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
947
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
965
948
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
966
949
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
967
950
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
@@ -994,6 +977,7 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
994
977
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
995
978
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
996
979
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
980
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
997
981
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
998
982
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
999
983
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -1010,6 +994,7 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
1010
994
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
1011
995
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
1012
996
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
997
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
1013
998
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
1014
999
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
1015
1000
|
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -1248,11 +1233,15 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1248
1233
|
readonly offsetTop: number;
|
1249
1234
|
readonly offsetWidth: number;
|
1250
1235
|
outerText: string;
|
1236
|
+
popover: string;
|
1251
1237
|
spellcheck: boolean;
|
1252
1238
|
title: string;
|
1253
1239
|
translate: boolean;
|
1254
1240
|
attachInternals(): ElementInternals;
|
1255
1241
|
click(): void;
|
1242
|
+
hidePopover(): void;
|
1243
|
+
showPopover(): void;
|
1244
|
+
togglePopover(force?: boolean): boolean;
|
1256
1245
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1257
1246
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
1258
1247
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
@@ -1281,9 +1270,12 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1281
1270
|
slot: string;
|
1282
1271
|
readonly tagName: string;
|
1283
1272
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
1273
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
1284
1274
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
1285
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];
|
1286
1277
|
closest<E extends Element = Element>(selectors: string): E;
|
1278
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
1287
1279
|
getAttribute(qualifiedName: string): string;
|
1288
1280
|
getAttributeNS(namespace: string, localName: string): string;
|
1289
1281
|
getAttributeNames(): string[];
|
@@ -1292,11 +1284,14 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1292
1284
|
getBoundingClientRect(): DOMRect;
|
1293
1285
|
getClientRects(): DOMRectList;
|
1294
1286
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
1295
|
-
getElementsByTagName<
|
1296
|
-
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]>;
|
1297
1291
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
1298
1292
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
1299
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>;
|
1300
1295
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
1301
1296
|
hasAttribute(qualifiedName: string): boolean;
|
1302
1297
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
@@ -1354,24 +1349,24 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1354
1349
|
normalize(): void;
|
1355
1350
|
removeChild<T_2 extends Node>(child: T_2): T_2;
|
1356
1351
|
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
1357
|
-
readonly
|
1358
|
-
readonly
|
1359
|
-
readonly
|
1360
|
-
readonly
|
1361
|
-
readonly
|
1362
|
-
readonly
|
1363
|
-
readonly
|
1364
|
-
readonly
|
1365
|
-
readonly
|
1366
|
-
readonly
|
1367
|
-
readonly
|
1368
|
-
readonly
|
1369
|
-
readonly
|
1370
|
-
readonly
|
1371
|
-
readonly
|
1372
|
-
readonly
|
1373
|
-
readonly
|
1374
|
-
readonly
|
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;
|
1375
1370
|
dispatchEvent(event: Event): boolean;
|
1376
1371
|
ariaAtomic: string;
|
1377
1372
|
ariaAutoComplete: string;
|
@@ -1379,9 +1374,9 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1379
1374
|
ariaChecked: string;
|
1380
1375
|
ariaColCount: string;
|
1381
1376
|
ariaColIndex: string;
|
1382
|
-
ariaColIndexText: string;
|
1383
1377
|
ariaColSpan: string;
|
1384
1378
|
ariaCurrent: string;
|
1379
|
+
ariaDescription: string;
|
1385
1380
|
ariaDisabled: string;
|
1386
1381
|
ariaExpanded: string;
|
1387
1382
|
ariaHasPopup: string;
|
@@ -1403,7 +1398,6 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1403
1398
|
ariaRoleDescription: string;
|
1404
1399
|
ariaRowCount: string;
|
1405
1400
|
ariaRowIndex: string;
|
1406
|
-
ariaRowIndexText: string;
|
1407
1401
|
ariaRowSpan: string;
|
1408
1402
|
ariaSelected: string;
|
1409
1403
|
ariaSetSize: string;
|
@@ -1428,17 +1422,19 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1428
1422
|
readonly lastElementChild: Element;
|
1429
1423
|
append(...nodes: (string | Node)[]): void;
|
1430
1424
|
prepend(...nodes: (string | Node)[]): void;
|
1431
|
-
querySelector<
|
1432
|
-
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];
|
1433
1429
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
1434
|
-
querySelectorAll<
|
1435
|
-
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]>;
|
1436
1434
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
1437
1435
|
replaceChildren(...nodes: (string | Node)[]): void;
|
1438
1436
|
readonly assignedSlot: HTMLSlotElement;
|
1439
|
-
|
1440
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
1441
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
1437
|
+
readonly attributeStyleMap: StylePropertyMap;
|
1442
1438
|
readonly style: CSSStyleDeclaration;
|
1443
1439
|
contentEditable: string;
|
1444
1440
|
enterKeyHint: string;
|
@@ -1451,6 +1447,7 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1451
1447
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
1452
1448
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1453
1449
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
1450
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
1454
1451
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
1455
1452
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
1456
1453
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -1459,7 +1456,9 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1459
1456
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1460
1457
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
1461
1458
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1459
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
1462
1460
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
1461
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
1463
1462
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1464
1463
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
1465
1464
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
@@ -1492,6 +1491,7 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1492
1491
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1493
1492
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1494
1493
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
1494
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
1495
1495
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
1496
1496
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
1497
1497
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -1508,6 +1508,7 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
1508
1508
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
1509
1509
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
1510
1510
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
1511
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
1511
1512
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
1512
1513
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
1513
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
|
+
|