@genesislcap/foundation-utils 14.225.3 → 14.225.4-alpha-9342136.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +23 -23
- package/dist/dts/error/errorMap.d.ts.map +1 -1
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts +51 -29
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts.map +1 -1
- package/dist/dts/mixins/pendingState/pendingState.d.ts +45 -29
- package/dist/dts/mixins/pendingState/pendingState.d.ts.map +1 -1
- package/dist/dts/observer/observer.d.ts.map +1 -1
- package/dist/dts/promise/resolveAfter.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/esm/mixins/lifecycle/lifecycle.js +5 -5
- package/dist/esm/mixins/pendingState/pendingState.js +2 -2
- package/dist/esm/uuid/uuid.js +2 -2
- package/dist/foundation-utils.api.json +1221 -318
- package/dist/foundation-utils.d.ts +93 -58
- package/docs/api/foundation-utils.createerrormap.md +14 -1
- package/docs/api/foundation-utils.createobserver.md +5 -1
- package/docs/api/foundation-utils.decodefrombase64.md +14 -1
- package/docs/api/foundation-utils.decodefrombase64withprefix.md +13 -1
- package/docs/api/foundation-utils.encodetobase64.md +14 -1
- package/docs/api/foundation-utils.encodetobase64withprefix.md +13 -1
- package/docs/api/foundation-utils.getfontmixin.md +16 -1
- package/docs/api/foundation-utils.iniframe.md +7 -1
- package/docs/api/foundation-utils.insertdocumentcssrule.md +15 -1
- package/docs/api/foundation-utils.insertdocumentlink.md +12 -1
- package/docs/api/foundation-utils.insymphonydesktop.md +7 -1
- package/docs/api/foundation-utils.isdev.md +5 -1
- package/docs/api/foundation-utils.lifecyclemixin.md +56 -30
- package/docs/api/foundation-utils.loadfontfaces.md +13 -1
- package/docs/api/foundation-utils.md +18 -18
- package/docs/api/foundation-utils.openpopup.md +17 -1
- package/docs/api/foundation-utils.pendingstate.md +57 -30
- package/docs/api/foundation-utils.resolveafter.md +12 -1
- package/docs/api/foundation-utils.respondtovisibility.md +13 -1
- package/docs/{api-report.md → api-report.md.api.md} +93 -58
- package/package.json +11 -11
|
@@ -420,6 +420,29 @@
|
|
|
420
420
|
}
|
|
421
421
|
]
|
|
422
422
|
},
|
|
423
|
+
{
|
|
424
|
+
"kind": "javascript-module",
|
|
425
|
+
"path": "src/directives/index.ts",
|
|
426
|
+
"declarations": [],
|
|
427
|
+
"exports": [
|
|
428
|
+
{
|
|
429
|
+
"kind": "js",
|
|
430
|
+
"name": "*",
|
|
431
|
+
"declaration": {
|
|
432
|
+
"name": "*",
|
|
433
|
+
"package": "./sync"
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"kind": "js",
|
|
438
|
+
"name": "*",
|
|
439
|
+
"declaration": {
|
|
440
|
+
"name": "*",
|
|
441
|
+
"package": "./when-else"
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
]
|
|
445
|
+
},
|
|
423
446
|
{
|
|
424
447
|
"kind": "javascript-module",
|
|
425
448
|
"path": "src/design-system/design-system.ts",
|
|
@@ -470,29 +493,6 @@
|
|
|
470
493
|
}
|
|
471
494
|
]
|
|
472
495
|
},
|
|
473
|
-
{
|
|
474
|
-
"kind": "javascript-module",
|
|
475
|
-
"path": "src/directives/index.ts",
|
|
476
|
-
"declarations": [],
|
|
477
|
-
"exports": [
|
|
478
|
-
{
|
|
479
|
-
"kind": "js",
|
|
480
|
-
"name": "*",
|
|
481
|
-
"declaration": {
|
|
482
|
-
"name": "*",
|
|
483
|
-
"package": "./sync"
|
|
484
|
-
}
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"kind": "js",
|
|
488
|
-
"name": "*",
|
|
489
|
-
"declaration": {
|
|
490
|
-
"name": "*",
|
|
491
|
-
"package": "./when-else"
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
]
|
|
495
|
-
},
|
|
496
496
|
{
|
|
497
497
|
"kind": "javascript-module",
|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,iCAAiC;IACjC,GAAG,CAAC,GAAG,EAAE,MAAM,eAAe,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI;IAMnD;;;;;;OAMG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,eAAe,GAAG,KAAK,GAAG,SAAS;IAIlD;;;;;;OAMG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,eAAe,GAAG,OAAO;IAIxC;;;;;;OAMG;IACH,MAAM,CAAC,GAAG,EAAE,MAAM,eAAe,GAAG,OAAO;IAa3C;;;OAGG;IACH,KAAK;IAKL;;;;;OAKG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;OAEG;IACH,MAAM;IAIN,sCAAsC;IACtC,IAAI,QAAQ,IAAI,MAAM,CAUrB;CACF;AAED;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,mDACjB,cAAc,KACrB,SAAS,eAAe,CAAiD,CAAC"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="webpack-env" />
|
|
3
|
+
/// <reference types="node" />
|
|
4
|
+
/// <reference types="node" />
|
|
5
|
+
/// <reference types="node" />
|
|
6
|
+
/// <reference types="node" />
|
|
1
7
|
import { Constructable, FASTElement } from '@microsoft/fast-element';
|
|
2
8
|
/**
|
|
3
9
|
* @public
|
|
@@ -126,11 +132,15 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
126
132
|
readonly offsetTop: number;
|
|
127
133
|
readonly offsetWidth: number;
|
|
128
134
|
outerText: string;
|
|
135
|
+
popover: string;
|
|
129
136
|
spellcheck: boolean;
|
|
130
137
|
title: string;
|
|
131
138
|
translate: boolean;
|
|
132
139
|
attachInternals(): ElementInternals;
|
|
133
140
|
click(): void;
|
|
141
|
+
hidePopover(): void;
|
|
142
|
+
showPopover(): void;
|
|
143
|
+
togglePopover(force?: boolean): boolean;
|
|
134
144
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
135
145
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
136
146
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -159,9 +169,12 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
159
169
|
slot: string;
|
|
160
170
|
readonly tagName: string;
|
|
161
171
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
172
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
162
173
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
163
174
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
175
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
|
164
176
|
closest<E extends Element = Element>(selectors: string): E;
|
|
177
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
165
178
|
getAttribute(qualifiedName: string): string;
|
|
166
179
|
getAttributeNS(namespace: string, localName: string): string;
|
|
167
180
|
getAttributeNames(): string[];
|
|
@@ -170,11 +183,14 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
170
183
|
getBoundingClientRect(): DOMRect;
|
|
171
184
|
getClientRects(): DOMRectList;
|
|
172
185
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
173
|
-
getElementsByTagName<
|
|
174
|
-
getElementsByTagName<
|
|
186
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
187
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
188
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
189
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
175
190
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
176
191
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
177
192
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
193
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
178
194
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
179
195
|
hasAttribute(qualifiedName: string): boolean;
|
|
180
196
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -231,24 +247,24 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
231
247
|
normalize(): void;
|
|
232
248
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
233
249
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
234
|
-
readonly
|
|
235
|
-
readonly
|
|
236
|
-
readonly
|
|
237
|
-
readonly
|
|
238
|
-
readonly
|
|
239
|
-
readonly
|
|
240
|
-
readonly
|
|
241
|
-
readonly
|
|
242
|
-
readonly
|
|
243
|
-
readonly
|
|
244
|
-
readonly
|
|
245
|
-
readonly
|
|
246
|
-
readonly
|
|
247
|
-
readonly
|
|
248
|
-
readonly
|
|
249
|
-
readonly
|
|
250
|
-
readonly
|
|
251
|
-
readonly
|
|
250
|
+
readonly ELEMENT_NODE: 1;
|
|
251
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
252
|
+
readonly TEXT_NODE: 3;
|
|
253
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
254
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
255
|
+
readonly ENTITY_NODE: 6;
|
|
256
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
257
|
+
readonly COMMENT_NODE: 8;
|
|
258
|
+
readonly DOCUMENT_NODE: 9;
|
|
259
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
260
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
261
|
+
readonly NOTATION_NODE: 12;
|
|
262
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
263
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
264
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
265
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
266
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
267
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
252
268
|
dispatchEvent(event: Event): boolean;
|
|
253
269
|
ariaAtomic: string;
|
|
254
270
|
ariaAutoComplete: string;
|
|
@@ -256,9 +272,9 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
256
272
|
ariaChecked: string;
|
|
257
273
|
ariaColCount: string;
|
|
258
274
|
ariaColIndex: string;
|
|
259
|
-
ariaColIndexText: string;
|
|
260
275
|
ariaColSpan: string;
|
|
261
276
|
ariaCurrent: string;
|
|
277
|
+
ariaDescription: string;
|
|
262
278
|
ariaDisabled: string;
|
|
263
279
|
ariaExpanded: string;
|
|
264
280
|
ariaHasPopup: string;
|
|
@@ -280,7 +296,6 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
280
296
|
ariaRoleDescription: string;
|
|
281
297
|
ariaRowCount: string;
|
|
282
298
|
ariaRowIndex: string;
|
|
283
|
-
ariaRowIndexText: string;
|
|
284
299
|
ariaRowSpan: string;
|
|
285
300
|
ariaSelected: string;
|
|
286
301
|
ariaSetSize: string;
|
|
@@ -305,17 +320,19 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
305
320
|
readonly lastElementChild: Element;
|
|
306
321
|
append(...nodes: (string | Node)[]): void;
|
|
307
322
|
prepend(...nodes: (string | Node)[]): void;
|
|
308
|
-
querySelector<
|
|
309
|
-
querySelector<
|
|
323
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
|
324
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
|
325
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
326
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
310
327
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
311
|
-
querySelectorAll<
|
|
312
|
-
querySelectorAll<
|
|
328
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
329
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
330
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
331
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
313
332
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
314
333
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
315
334
|
readonly assignedSlot: HTMLSlotElement;
|
|
316
|
-
|
|
317
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
318
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
335
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
319
336
|
readonly style: CSSStyleDeclaration;
|
|
320
337
|
contentEditable: string;
|
|
321
338
|
enterKeyHint: string;
|
|
@@ -328,6 +345,7 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
328
345
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
329
346
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
330
347
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
348
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
331
349
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
332
350
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
333
351
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -336,7 +354,9 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
336
354
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
337
355
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
338
356
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
357
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
339
358
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
359
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
340
360
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
341
361
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
342
362
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -369,6 +389,7 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
369
389
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
370
390
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
371
391
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
392
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
372
393
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
373
394
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
374
395
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -385,6 +406,7 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
385
406
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
386
407
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
387
408
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
409
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
388
410
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
389
411
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
390
412
|
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle.d.ts","sourceRoot":"","sources":["../../../../src/mixins/lifecycle/lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,aAAa,CAAC,WAAW,GAAG,WAAW,CAAC,CAAC;AAErF;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;IACxB,oBAAoB,EAAE,MAA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BA+BtD,GAAG,EAAE;QA7B1B,iBAAiB;4BACJ,SAAS;QAEtB;;;YAGI;kCACe,MAAM;QACzB;;;YAGI;iCACc,OAAO;QACzB;;;;;;;YAOI;iCACc,OAAO,OAAO;QAChC;;;;YAII;uCACoB,OAAO;QAM/B;;;;;WAKG;yBACuB,OAAO,GAAG,IAAI;QAUxC;;;;;;WAMG;qBACU,IAAI;QAMjB;;;WAGG;;QAmBH;;;;;WAKG;;+DAwB6C,aAAa,GAAG,OAAO;QA6BvE;;;;;;WAMG;4CAC0B,OAAO,GAAG,SAAS;6BA4B3B,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAM1B,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,mBAAmB,eAAkC,CAAC"}
|
|
@@ -97,11 +97,15 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
97
97
|
readonly offsetTop: number;
|
|
98
98
|
readonly offsetWidth: number;
|
|
99
99
|
outerText: string;
|
|
100
|
+
popover: string;
|
|
100
101
|
spellcheck: boolean;
|
|
101
102
|
title: string;
|
|
102
103
|
translate: boolean;
|
|
103
104
|
attachInternals(): ElementInternals;
|
|
104
105
|
click(): void;
|
|
106
|
+
hidePopover(): void;
|
|
107
|
+
showPopover(): void;
|
|
108
|
+
togglePopover(force?: boolean): boolean;
|
|
105
109
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
106
110
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
107
111
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -130,9 +134,12 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
130
134
|
slot: string;
|
|
131
135
|
readonly tagName: string;
|
|
132
136
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
137
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
133
138
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
134
139
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
140
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
|
135
141
|
closest<E extends Element = Element>(selectors: string): E;
|
|
142
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
136
143
|
getAttribute(qualifiedName: string): string;
|
|
137
144
|
getAttributeNS(namespace: string, localName: string): string;
|
|
138
145
|
getAttributeNames(): string[];
|
|
@@ -141,11 +148,14 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
141
148
|
getBoundingClientRect(): DOMRect;
|
|
142
149
|
getClientRects(): DOMRectList;
|
|
143
150
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
144
|
-
getElementsByTagName<
|
|
145
|
-
getElementsByTagName<
|
|
151
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
152
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
153
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
154
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
146
155
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
147
156
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
148
157
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
158
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
149
159
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
150
160
|
hasAttribute(qualifiedName: string): boolean;
|
|
151
161
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -203,24 +213,24 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
203
213
|
normalize(): void;
|
|
204
214
|
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
205
215
|
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
206
|
-
readonly
|
|
207
|
-
readonly
|
|
208
|
-
readonly
|
|
209
|
-
readonly
|
|
210
|
-
readonly
|
|
211
|
-
readonly
|
|
212
|
-
readonly
|
|
213
|
-
readonly
|
|
214
|
-
readonly
|
|
215
|
-
readonly
|
|
216
|
-
readonly
|
|
217
|
-
readonly
|
|
218
|
-
readonly
|
|
219
|
-
readonly
|
|
220
|
-
readonly
|
|
221
|
-
readonly
|
|
222
|
-
readonly
|
|
223
|
-
readonly
|
|
216
|
+
readonly ELEMENT_NODE: 1;
|
|
217
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
218
|
+
readonly TEXT_NODE: 3;
|
|
219
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
220
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
221
|
+
readonly ENTITY_NODE: 6;
|
|
222
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
223
|
+
readonly COMMENT_NODE: 8;
|
|
224
|
+
readonly DOCUMENT_NODE: 9;
|
|
225
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
226
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
227
|
+
readonly NOTATION_NODE: 12;
|
|
228
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
229
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
230
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
231
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
232
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
233
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
224
234
|
dispatchEvent(event: Event): boolean;
|
|
225
235
|
ariaAtomic: string;
|
|
226
236
|
ariaAutoComplete: string;
|
|
@@ -228,9 +238,9 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
228
238
|
ariaChecked: string;
|
|
229
239
|
ariaColCount: string;
|
|
230
240
|
ariaColIndex: string;
|
|
231
|
-
ariaColIndexText: string;
|
|
232
241
|
ariaColSpan: string;
|
|
233
242
|
ariaCurrent: string;
|
|
243
|
+
ariaDescription: string;
|
|
234
244
|
ariaDisabled: string;
|
|
235
245
|
ariaExpanded: string;
|
|
236
246
|
ariaHasPopup: string;
|
|
@@ -252,7 +262,6 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
252
262
|
ariaRoleDescription: string;
|
|
253
263
|
ariaRowCount: string;
|
|
254
264
|
ariaRowIndex: string;
|
|
255
|
-
ariaRowIndexText: string;
|
|
256
265
|
ariaRowSpan: string;
|
|
257
266
|
ariaSelected: string;
|
|
258
267
|
ariaSetSize: string;
|
|
@@ -277,17 +286,19 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
277
286
|
readonly lastElementChild: Element;
|
|
278
287
|
append(...nodes: (string | Node)[]): void;
|
|
279
288
|
prepend(...nodes: (string | Node)[]): void;
|
|
280
|
-
querySelector<
|
|
281
|
-
querySelector<
|
|
289
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
|
290
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
|
291
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
292
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
282
293
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
283
|
-
querySelectorAll<
|
|
284
|
-
querySelectorAll<
|
|
294
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
295
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
296
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
297
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
285
298
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
286
299
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
287
300
|
readonly assignedSlot: HTMLSlotElement;
|
|
288
|
-
|
|
289
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
290
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
301
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
291
302
|
readonly style: CSSStyleDeclaration;
|
|
292
303
|
contentEditable: string;
|
|
293
304
|
enterKeyHint: string;
|
|
@@ -300,6 +311,7 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
300
311
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
301
312
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
302
313
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
314
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
303
315
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
304
316
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
305
317
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -308,7 +320,9 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
308
320
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
309
321
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
310
322
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
323
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
311
324
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
325
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
312
326
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
313
327
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
314
328
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -341,6 +355,7 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
341
355
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
342
356
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
343
357
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
358
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
344
359
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
345
360
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
346
361
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -357,6 +372,7 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
|
357
372
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
358
373
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
359
374
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
375
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
360
376
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
361
377
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
362
378
|
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pendingState.d.ts","sourceRoot":"","sources":["../../../../src/mixins/pendingState/pendingState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAc,MAAM,yBAAyB,CAAC;AAGjF;;;GAGG;AACH,OAAO,MAAM,qBAAqB,GAAG;IACnC,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;CACxB,CAAC;AAEF;;;GAGG;AACH,OAAO,MAAM,0BAA0B,GAAG;IACxC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF;;;GAGG;AACH,oBAAY,kBAAkB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;WAGG;;QAKH;;;WAGG;6BACyB,IAAI;QAUhC;;;WAGG;gCAC4B,IAAI;QAMnC;;;;WAIG;mCACqC,iBAAiB,GAAG,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAsB5E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observer.d.ts","sourceRoot":"","sources":["../../../src/observer/observer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,QAAQ,CAAC,SAAS,IAAI,CAAC,EAAE,EAAE,SAAS,KAAK,IAAI,CAAC;AAC1D;;;;GAIG;AACH,MAAM,MAAM,SAAS,CAAC,SAAS,IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,SAAS,CAAC,KAAK,MAAM,IAAI,CAAC;AACjF;;;GAGG;AACH,MAAM,MAAM,OAAO,CAAC,SAAS,IAAI,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;AAE5D;;;GAGG;AACH,MAAM,WAAW,QAAQ,CAAC,SAAS;IACjC,SAAS,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;CAC7B;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"observer.d.ts","sourceRoot":"","sources":["../../../src/observer/observer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,QAAQ,CAAC,SAAS,IAAI,CAAC,EAAE,EAAE,SAAS,KAAK,IAAI,CAAC;AAC1D;;;;GAIG;AACH,MAAM,MAAM,SAAS,CAAC,SAAS,IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,SAAS,CAAC,KAAK,MAAM,IAAI,CAAC;AACjF;;;GAGG;AACH,MAAM,MAAM,OAAO,CAAC,SAAS,IAAI,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;AAE5D;;;GAGG;AACH,MAAM,WAAW,QAAQ,CAAC,SAAS;IACjC,SAAS,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;CAC7B;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,mBAAkB,SAAS,SAAS,CAW9D,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,YAAa,WAAW,mBAAmB,OAAO,KAAK,GAAG,SAYzF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveAfter.d.ts","sourceRoot":"","sources":["../../../src/promise/resolveAfter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,YAAY,gBAAiB,MAAM,
|
|
1
|
+
{"version":3,"file":"resolveAfter.d.ts","sourceRoot":"","sources":["../../../src/promise/resolveAfter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,YAAY,gBAAiB,MAAM,gBAAgB,MAAM,CAAC,KAAG,QAAQ,CAAC,CAMlF,CAAC"}
|
|
@@ -129,7 +129,7 @@ export const LifecycleMixin = (Base) => { var _instances, __container, __latestT
|
|
|
129
129
|
__shouldForceLifecycle = new WeakMap(),
|
|
130
130
|
_instances = new WeakSet(),
|
|
131
131
|
__blockLifecycleDueToTokenChange = function __blockLifecycleDueToTokenChange(lifecycleType) {
|
|
132
|
-
var
|
|
132
|
+
var _b, _c;
|
|
133
133
|
if (__classPrivateFieldGet(this, __container, "f")._key !== 'foundation-layout') {
|
|
134
134
|
throw new Error('LifecycleMixin: should not be checking a token change if container not in the layout');
|
|
135
135
|
}
|
|
@@ -137,7 +137,7 @@ export const LifecycleMixin = (Base) => { var _instances, __container, __latestT
|
|
|
137
137
|
let result = false;
|
|
138
138
|
if (lifecycleType === 'connect') {
|
|
139
139
|
// We always want to allow a first connection in the layout
|
|
140
|
-
__classPrivateFieldSet(this, __latestTokenCode, (
|
|
140
|
+
__classPrivateFieldSet(this, __latestTokenCode, (_b = __classPrivateFieldGet(this, __container, "f").lifecycleUpdateToken) !== null && _b !== void 0 ? _b : '', "f");
|
|
141
141
|
}
|
|
142
142
|
else if (lifecycleType === 'disconnect') {
|
|
143
143
|
result = tokensDifferent;
|
|
@@ -150,13 +150,13 @@ export const LifecycleMixin = (Base) => { var _instances, __container, __latestT
|
|
|
150
150
|
}
|
|
151
151
|
else if (lifecycleType === 'reconnect') {
|
|
152
152
|
result = tokensDifferent;
|
|
153
|
-
__classPrivateFieldSet(this, __latestTokenCode, (
|
|
153
|
+
__classPrivateFieldSet(this, __latestTokenCode, (_c = __classPrivateFieldGet(this, __container, "f").lifecycleUpdateToken) !== null && _c !== void 0 ? _c : '', "f");
|
|
154
154
|
clearTimeout(__classPrivateFieldGet(this, __cleanupTimeout, "f"));
|
|
155
155
|
}
|
|
156
156
|
return result;
|
|
157
157
|
},
|
|
158
158
|
__tryFindContainingLayout = function __tryFindContainingLayout(e) {
|
|
159
|
-
var
|
|
159
|
+
var _b;
|
|
160
160
|
/**
|
|
161
161
|
* This is a special case where the element is part of the layout cache
|
|
162
162
|
* signified by a symbol put on the document cache root
|
|
@@ -169,7 +169,7 @@ export const LifecycleMixin = (Base) => { var _instances, __container, __latestT
|
|
|
169
169
|
* without finding a containing FoundationLayout
|
|
170
170
|
* hence, this item is not in a custom layout
|
|
171
171
|
*/
|
|
172
|
-
if (e.getRootNode() instanceof Document || !((
|
|
172
|
+
if (e.getRootNode() instanceof Document || !((_b = e.getRootNode()) === null || _b === void 0 ? void 0 : _b.host)) {
|
|
173
173
|
return { _key: 'dom' };
|
|
174
174
|
}
|
|
175
175
|
const shadowHost = e.getRootNode().host;
|
|
@@ -67,8 +67,8 @@ export const PendingState = (Base) => {
|
|
|
67
67
|
* @param event - The `pending-state` event.
|
|
68
68
|
* @internal
|
|
69
69
|
*/
|
|
70
|
-
onPendingState(
|
|
71
|
-
return __awaiter(this,
|
|
70
|
+
onPendingState(_a) {
|
|
71
|
+
return __awaiter(this, arguments, void 0, function* ({ detail }) {
|
|
72
72
|
const { promise } = detail;
|
|
73
73
|
if (promise) {
|
|
74
74
|
this.hasPendingChildren = true;
|
package/dist/esm/uuid/uuid.js
CHANGED
|
@@ -28,8 +28,8 @@ class UUIDService {
|
|
|
28
28
|
* @param withLogging - Optional. Whether to log the generated UUID to the console. Defaults to false.
|
|
29
29
|
* @returns A promise that resolves to the generated UUID.
|
|
30
30
|
*/
|
|
31
|
-
createRemoteId(
|
|
32
|
-
return __awaiter(this,
|
|
31
|
+
createRemoteId() {
|
|
32
|
+
return __awaiter(this, arguments, void 0, function* (withLogging = false) {
|
|
33
33
|
/**
|
|
34
34
|
* TODO: Revisit async nature of id generation with potential server involvement
|
|
35
35
|
* Use this.config to customize uuidv4.
|