@genesislcap/foundation-utils 14.225.4-alpha-5f6eefd.0 → 14.226.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +174 -174
- package/dist/dts/error/errorMap.d.ts.map +1 -1
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts +29 -51
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts.map +1 -1
- package/dist/dts/mixins/pendingState/pendingState.d.ts +29 -45
- package/dist/dts/mixins/pendingState/pendingState.d.ts.map +1 -1
- package/dist/dts/observer/observer.d.ts.map +1 -1
- package/dist/dts/promise/resolveAfter.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/esm/mixins/lifecycle/lifecycle.js +5 -5
- package/dist/esm/mixins/pendingState/pendingState.js +2 -2
- package/dist/esm/uuid/uuid.js +2 -2
- package/dist/foundation-utils.api.json +317 -1220
- package/dist/foundation-utils.d.ts +58 -93
- package/docs/api/foundation-utils.createerrormap.md +1 -14
- package/docs/api/foundation-utils.createobserver.md +1 -5
- package/docs/api/foundation-utils.decodefrombase64.md +1 -14
- package/docs/api/foundation-utils.decodefrombase64withprefix.md +1 -13
- package/docs/api/foundation-utils.encodetobase64.md +1 -14
- package/docs/api/foundation-utils.encodetobase64withprefix.md +1 -13
- package/docs/api/foundation-utils.getfontmixin.md +1 -16
- package/docs/api/foundation-utils.iniframe.md +1 -7
- package/docs/api/foundation-utils.insertdocumentcssrule.md +1 -15
- package/docs/api/foundation-utils.insertdocumentlink.md +1 -12
- package/docs/api/foundation-utils.insymphonydesktop.md +1 -7
- package/docs/api/foundation-utils.isdev.md +1 -5
- package/docs/api/foundation-utils.lifecyclemixin.md +30 -56
- package/docs/api/foundation-utils.loadfontfaces.md +1 -13
- package/docs/api/foundation-utils.md +18 -18
- package/docs/api/foundation-utils.openpopup.md +1 -17
- package/docs/api/foundation-utils.pendingstate.md +30 -57
- package/docs/api/foundation-utils.resolveafter.md +1 -12
- package/docs/api/foundation-utils.respondtovisibility.md +1 -13
- package/docs/{api-report.md.api.md → api-report.md} +58 -93
- package/package.json +11 -11
@@ -97,15 +97,11 @@ 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;
|
101
100
|
spellcheck: boolean;
|
102
101
|
title: string;
|
103
102
|
translate: boolean;
|
104
103
|
attachInternals(): ElementInternals;
|
105
104
|
click(): void;
|
106
|
-
hidePopover(): void;
|
107
|
-
showPopover(): void;
|
108
|
-
togglePopover(force?: boolean): boolean;
|
109
105
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
110
106
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
111
107
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
@@ -134,12 +130,9 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
134
130
|
slot: string;
|
135
131
|
readonly tagName: string;
|
136
132
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
137
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
138
133
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
139
134
|
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];
|
141
135
|
closest<E extends Element = Element>(selectors: string): E;
|
142
|
-
computedStyleMap(): StylePropertyMapReadOnly;
|
143
136
|
getAttribute(qualifiedName: string): string;
|
144
137
|
getAttributeNS(namespace: string, localName: string): string;
|
145
138
|
getAttributeNames(): string[];
|
@@ -148,14 +141,11 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
148
141
|
getBoundingClientRect(): DOMRect;
|
149
142
|
getClientRects(): DOMRectList;
|
150
143
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
151
|
-
getElementsByTagName<
|
152
|
-
getElementsByTagName<
|
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]>;
|
144
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
145
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
155
146
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
156
147
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
157
148
|
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>;
|
159
149
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
160
150
|
hasAttribute(qualifiedName: string): boolean;
|
161
151
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
@@ -213,24 +203,24 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
213
203
|
normalize(): void;
|
214
204
|
removeChild<T_2 extends Node>(child: T_2): T_2;
|
215
205
|
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
216
|
-
readonly
|
217
|
-
readonly
|
218
|
-
readonly
|
219
|
-
readonly
|
220
|
-
readonly
|
221
|
-
readonly
|
222
|
-
readonly
|
223
|
-
readonly
|
224
|
-
readonly
|
225
|
-
readonly
|
226
|
-
readonly
|
227
|
-
readonly
|
228
|
-
readonly
|
229
|
-
readonly
|
230
|
-
readonly
|
231
|
-
readonly
|
232
|
-
readonly
|
233
|
-
readonly
|
206
|
+
readonly ATTRIBUTE_NODE: number;
|
207
|
+
readonly CDATA_SECTION_NODE: number;
|
208
|
+
readonly COMMENT_NODE: number;
|
209
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
210
|
+
readonly DOCUMENT_NODE: number;
|
211
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
212
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
213
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
214
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
215
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
216
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
217
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
218
|
+
readonly ELEMENT_NODE: number;
|
219
|
+
readonly ENTITY_NODE: number;
|
220
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
221
|
+
readonly NOTATION_NODE: number;
|
222
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
223
|
+
readonly TEXT_NODE: number;
|
234
224
|
dispatchEvent(event: Event): boolean;
|
235
225
|
ariaAtomic: string;
|
236
226
|
ariaAutoComplete: string;
|
@@ -238,9 +228,9 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
238
228
|
ariaChecked: string;
|
239
229
|
ariaColCount: string;
|
240
230
|
ariaColIndex: string;
|
231
|
+
ariaColIndexText: string;
|
241
232
|
ariaColSpan: string;
|
242
233
|
ariaCurrent: string;
|
243
|
-
ariaDescription: string;
|
244
234
|
ariaDisabled: string;
|
245
235
|
ariaExpanded: string;
|
246
236
|
ariaHasPopup: string;
|
@@ -262,6 +252,7 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
262
252
|
ariaRoleDescription: string;
|
263
253
|
ariaRowCount: string;
|
264
254
|
ariaRowIndex: string;
|
255
|
+
ariaRowIndexText: string;
|
265
256
|
ariaRowSpan: string;
|
266
257
|
ariaSelected: string;
|
267
258
|
ariaSetSize: string;
|
@@ -286,19 +277,17 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
286
277
|
readonly lastElementChild: Element;
|
287
278
|
append(...nodes: (string | Node)[]): void;
|
288
279
|
prepend(...nodes: (string | Node)[]): void;
|
289
|
-
querySelector<
|
290
|
-
querySelector<
|
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];
|
280
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
281
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
293
282
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
294
|
-
querySelectorAll<
|
295
|
-
querySelectorAll<
|
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]>;
|
283
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
284
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
298
285
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
299
286
|
replaceChildren(...nodes: (string | Node)[]): void;
|
300
287
|
readonly assignedSlot: HTMLSlotElement;
|
301
|
-
|
288
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
289
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
290
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
302
291
|
readonly style: CSSStyleDeclaration;
|
303
292
|
contentEditable: string;
|
304
293
|
enterKeyHint: string;
|
@@ -311,7 +300,6 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
311
300
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
312
301
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
313
302
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
314
|
-
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
315
303
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
316
304
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
317
305
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -320,9 +308,7 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
320
308
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
321
309
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
322
310
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
323
|
-
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
324
311
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
325
|
-
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
326
312
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
327
313
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
328
314
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
@@ -355,7 +341,6 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
355
341
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
356
342
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
357
343
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
358
|
-
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
359
344
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
360
345
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
361
346
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -372,7 +357,6 @@ export declare const PendingState: <TBase extends ConstructablePendingState>(Bas
|
|
372
357
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
373
358
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
374
359
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
375
|
-
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
376
360
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
377
361
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
378
362
|
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;IAC5B,KAAK,kBAAkB;IACvB,KAAK,wBAAwB;CAC9B;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,MAAM,iBAAiB,GAAG,WAAW,CAAC,qBAAqB,CAAC,CAAC;AAE3E;;;GAGG;AACH,MAAM,CAAC,OAAO,MAAM,sBAAsB,GAAG,WAAW,CAAC,0BAA0B,CAAC,CAAC;AAErF;;;GAGG;AACH,MAAM,CAAC,OAAO,MAAM,yBAAyB,GAAG,aAAa,CAAC,WAAW,GAAG,WAAW,CAAC,CAAC;AAEzF;;;GAGG;AACH,eAAO,MAAM,YAAY
|
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;IAC5B,KAAK,kBAAkB;IACvB,KAAK,wBAAwB;CAC9B;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,MAAM,iBAAiB,GAAG,WAAW,CAAC,qBAAqB,CAAC,CAAC;AAE3E;;;GAGG;AACH,MAAM,CAAC,OAAO,MAAM,sBAAsB,GAAG,WAAW,CAAC,0BAA0B,CAAC,CAAC;AAErF;;;GAGG;AACH,MAAM,CAAC,OAAO,MAAM,yBAAyB,GAAG,aAAa,CAAC,WAAW,GAAG,WAAW,CAAC,CAAC;AAEzF;;;GAGG;AACH,eAAO,MAAM,YAAY;;QAErB;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAIH;;;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,sCAW1B,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,sCAM/C,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 _a, _b;
|
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, (_a = __classPrivateFieldGet(this, __container, "f").lifecycleUpdateToken) !== null && _a !== void 0 ? _a : '', "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, (_b = __classPrivateFieldGet(this, __container, "f").lifecycleUpdateToken) !== null && _b !== void 0 ? _b : '', "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 _a;
|
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 || !((_a = e.getRootNode()) === null || _a === void 0 ? void 0 : _a.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({ detail }) {
|
71
|
+
return __awaiter(this, void 0, void 0, function* () {
|
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(withLogging = false) {
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
33
33
|
/**
|
34
34
|
* TODO: Revisit async nature of id generation with potential server involvement
|
35
35
|
* Use this.config to customize uuidv4.
|