@molecule/app-ui-angular 1.4.2 → 1.5.1
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/README.md +966 -1013
- package/dist/components/alert.component.d.ts +11 -16
- package/dist/components/alert.component.d.ts.map +1 -1
- package/dist/components/alert.component.js +22 -51
- package/dist/components/alert.component.js.map +1 -1
- package/dist/components/auth-guard.component.d.ts +36 -28
- package/dist/components/auth-guard.component.d.ts.map +1 -1
- package/dist/components/auth-guard.component.js +59 -67
- package/dist/components/auth-guard.component.js.map +1 -1
- package/dist/components/avatar.component.d.ts +13 -10
- package/dist/components/avatar.component.d.ts.map +1 -1
- package/dist/components/avatar.component.js +27 -25
- package/dist/components/avatar.component.js.map +1 -1
- package/dist/components/button.component.d.ts +26 -30
- package/dist/components/button.component.d.ts.map +1 -1
- package/dist/components/button.component.js +41 -75
- package/dist/components/button.component.js.map +1 -1
- package/dist/components/checkbox.component.d.ts +5 -4
- package/dist/components/checkbox.component.d.ts.map +1 -1
- package/dist/components/checkbox.component.js +14 -9
- package/dist/components/checkbox.component.js.map +1 -1
- package/dist/components/confirm-button.component.d.ts +11 -28
- package/dist/components/confirm-button.component.d.ts.map +1 -1
- package/dist/components/confirm-button.component.js +31 -63
- package/dist/components/confirm-button.component.js.map +1 -1
- package/dist/components/confirm-dialog.component.d.ts +28 -17
- package/dist/components/confirm-dialog.component.d.ts.map +1 -1
- package/dist/components/confirm-dialog.component.js +98 -69
- package/dist/components/confirm-dialog.component.js.map +1 -1
- package/dist/components/dropdown.component.d.ts +29 -16
- package/dist/components/dropdown.component.d.ts.map +1 -1
- package/dist/components/dropdown.component.js +134 -105
- package/dist/components/dropdown.component.js.map +1 -1
- package/dist/components/empty-state.component.d.ts +10 -15
- package/dist/components/empty-state.component.d.ts.map +1 -1
- package/dist/components/empty-state.component.js +23 -27
- package/dist/components/empty-state.component.js.map +1 -1
- package/dist/components/form-field.component.d.ts +26 -11
- package/dist/components/form-field.component.d.ts.map +1 -1
- package/dist/components/form-field.component.js +86 -25
- package/dist/components/form-field.component.js.map +1 -1
- package/dist/components/input.component.d.ts +20 -23
- package/dist/components/input.component.d.ts.map +1 -1
- package/dist/components/input.component.js +45 -54
- package/dist/components/input.component.js.map +1 -1
- package/dist/components/language-picker.component.d.ts +15 -18
- package/dist/components/language-picker.component.d.ts.map +1 -1
- package/dist/components/language-picker.component.js +25 -35
- package/dist/components/language-picker.component.js.map +1 -1
- package/dist/components/load-error-banner.component.d.ts +14 -26
- package/dist/components/load-error-banner.component.d.ts.map +1 -1
- package/dist/components/load-error-banner.component.js +28 -62
- package/dist/components/load-error-banner.component.js.map +1 -1
- package/dist/components/modal.component.d.ts +25 -21
- package/dist/components/modal.component.d.ts.map +1 -1
- package/dist/components/modal.component.js +42 -78
- package/dist/components/modal.component.js.map +1 -1
- package/dist/components/molecule/button.component.d.ts +13 -2
- package/dist/components/molecule/button.component.d.ts.map +1 -1
- package/dist/components/molecule/button.component.js +45 -15
- package/dist/components/molecule/button.component.js.map +1 -1
- package/dist/components/molecule/toast.component.d.ts +2 -1
- package/dist/components/molecule/toast.component.d.ts.map +1 -1
- package/dist/components/molecule/toast.component.js +9 -7
- package/dist/components/molecule/toast.component.js.map +1 -1
- package/dist/components/molecule/tooltip.component.d.ts +4 -2
- package/dist/components/molecule/tooltip.component.d.ts.map +1 -1
- package/dist/components/molecule/tooltip.component.js +19 -14
- package/dist/components/molecule/tooltip.component.js.map +1 -1
- package/dist/components/optimistic-toggle-button.component.d.ts +13 -25
- package/dist/components/optimistic-toggle-button.component.d.ts.map +1 -1
- package/dist/components/optimistic-toggle-button.component.js +33 -63
- package/dist/components/optimistic-toggle-button.component.js.map +1 -1
- package/dist/components/page-header.component.d.ts +8 -13
- package/dist/components/page-header.component.d.ts.map +1 -1
- package/dist/components/page-header.component.js +16 -24
- package/dist/components/page-header.component.js.map +1 -1
- package/dist/components/page-shell.component.d.ts +8 -14
- package/dist/components/page-shell.component.d.ts.map +1 -1
- package/dist/components/page-shell.component.js +18 -28
- package/dist/components/page-shell.component.js.map +1 -1
- package/dist/components/panel-close.component.d.ts +14 -8
- package/dist/components/panel-close.component.d.ts.map +1 -1
- package/dist/components/panel-close.component.js +28 -17
- package/dist/components/panel-close.component.js.map +1 -1
- package/dist/components/prompt-dialog.component.d.ts +32 -10
- package/dist/components/prompt-dialog.component.d.ts.map +1 -1
- package/dist/components/prompt-dialog.component.js +110 -73
- package/dist/components/prompt-dialog.component.js.map +1 -1
- package/dist/components/responsive-app-shell.component.d.ts +34 -41
- package/dist/components/responsive-app-shell.component.d.ts.map +1 -1
- package/dist/components/responsive-app-shell.component.js +126 -147
- package/dist/components/responsive-app-shell.component.js.map +1 -1
- package/dist/components/sidebar-user-card.component.d.ts +8 -12
- package/dist/components/sidebar-user-card.component.d.ts.map +1 -1
- package/dist/components/sidebar-user-card.component.js +19 -35
- package/dist/components/sidebar-user-card.component.js.map +1 -1
- package/dist/components/switch.component.d.ts +13 -8
- package/dist/components/switch.component.d.ts.map +1 -1
- package/dist/components/switch.component.js +29 -20
- package/dist/components/switch.component.js.map +1 -1
- package/dist/components/table.component.d.ts +22 -14
- package/dist/components/table.component.d.ts.map +1 -1
- package/dist/components/table.component.js +34 -32
- package/dist/components/table.component.js.map +1 -1
- package/dist/components/toast.component.d.ts +34 -30
- package/dist/components/toast.component.d.ts.map +1 -1
- package/dist/components/toast.component.js +74 -84
- package/dist/components/toast.component.js.map +1 -1
- package/dist/components/tooltip.component.d.ts +14 -11
- package/dist/components/tooltip.component.d.ts.map +1 -1
- package/dist/components/tooltip.component.js +47 -47
- package/dist/components/tooltip.component.js.map +1 -1
- package/dist/components/user-menu-popover.component.d.ts +6 -12
- package/dist/components/user-menu-popover.component.d.ts.map +1 -1
- package/dist/components/user-menu-popover.component.js +40 -77
- package/dist/components/user-menu-popover.component.js.map +1 -1
- package/dist/components/user-menu.component.d.ts +8 -11
- package/dist/components/user-menu.component.d.ts.map +1 -1
- package/dist/components/user-menu.component.js +19 -27
- package/dist/components/user-menu.component.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +5 -5
- package/dist/utilities/dom-context.d.ts +62 -15
- package/dist/utilities/dom-context.d.ts.map +1 -1
- package/dist/utilities/dom-context.js +79 -34
- package/dist/utilities/dom-context.js.map +1 -1
- package/dist/utilities/form-field-context.d.ts +2 -0
- package/dist/utilities/form-field-context.d.ts.map +1 -1
- package/dist/utilities/form-field-context.js +4 -2
- package/dist/utilities/form-field-context.js.map +1 -1
- package/dist/utilities/node-value.d.ts +8 -0
- package/dist/utilities/node-value.d.ts.map +1 -1
- package/dist/utilities/node-value.js +10 -0
- package/dist/utilities/node-value.js.map +1 -1
- package/dist/utilities/rest-attrs.d.ts +2 -2
- package/dist/utilities/rest-attrs.js +1 -1
- package/package.json +3 -3
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
* @module
|
|
6
6
|
*/
|
|
7
7
|
import { afterEveryRender, ChangeDetectorRef, Component, ElementRef, inject, signal, ViewChild, } from '@angular/core';
|
|
8
|
+
import { MolPlacement, placeContent, placeElement, placeElementBefore, setElementPresent, setHostRoot, usePlacement, } from '@molecule/app-angular';
|
|
8
9
|
import { getClassMap } from '@molecule/app-ui';
|
|
9
10
|
import { nextInstanceId } from '../utilities/ids.js';
|
|
10
11
|
import { adoptHostDataMolId } from '../utilities/rest-attrs.js';
|
|
11
12
|
import { styleText } from '../utilities/style.js';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
14
|
+
import * as i1 from "@molecule/app-angular";
|
|
13
15
|
const _c0 = ["triggerWrap"];
|
|
14
16
|
const _c1 = ["childrenCapture"];
|
|
15
17
|
const _c2 = ["portalWrap"];
|
|
@@ -124,10 +126,10 @@ function calculatePosition(triggerRect, tooltipRect, placement) {
|
|
|
124
126
|
* Tooltip component.
|
|
125
127
|
*
|
|
126
128
|
* React's root is a FRAGMENT (a trigger wrapper `<div>` plus a portal), so
|
|
127
|
-
* the
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
129
|
+
* the trigger wrapper renders in front of the host (`placeElementBefore`),
|
|
130
|
+
* the host itself leaves the DOM, and the portal element renders in
|
|
131
|
+
* `document.body` while visible: the rendered tree and focus paths are
|
|
132
|
+
* React's. A single-element trigger receives `aria-describedby` while the
|
|
131
133
|
* tooltip shows; show/hide are coordinated across instances exactly like
|
|
132
134
|
* React's module-level `activeTooltips` map.
|
|
133
135
|
*/
|
|
@@ -154,7 +156,11 @@ export class Tooltip {
|
|
|
154
156
|
id;
|
|
155
157
|
/** The visible box's `title` attribute (React's rest spread). */
|
|
156
158
|
title;
|
|
157
|
-
/**
|
|
159
|
+
/**
|
|
160
|
+
* A caller's double-click handler on the visible box (React spreads it there).
|
|
161
|
+
*
|
|
162
|
+
* @deprecated Bind `(dblclick)` on the tag: what a caller binds there lands on the box.
|
|
163
|
+
*/
|
|
158
164
|
onDoubleClick;
|
|
159
165
|
/** The generated tooltip id (the normalizer renumbers it). */
|
|
160
166
|
tooltipId = nextInstanceId();
|
|
@@ -201,14 +207,12 @@ export class Tooltip {
|
|
|
201
207
|
this.hide();
|
|
202
208
|
};
|
|
203
209
|
escapeBound = false;
|
|
204
|
-
attached = false;
|
|
205
210
|
lastVisible = false;
|
|
206
211
|
/** The rendered content the current position was measured for. */
|
|
207
212
|
lastContentText = null;
|
|
208
213
|
/** The placement the current position was measured for. */
|
|
209
214
|
lastPlacement = null;
|
|
210
215
|
associateEl = null;
|
|
211
|
-
hostParent = null;
|
|
212
216
|
/** The `data-mol-id` a caller bound on the host (React spreads it onto the tooltip box). */
|
|
213
217
|
externalMolId;
|
|
214
218
|
/**
|
|
@@ -220,6 +224,31 @@ export class Tooltip {
|
|
|
220
224
|
*/
|
|
221
225
|
constructor() {
|
|
222
226
|
afterEveryRender(() => this.repositionForContentChange());
|
|
227
|
+
// React's root is a fragment: the trigger wrapper renders in front of the host, the
|
|
228
|
+
// children inside it. A lone element child is the one `aria-describedby` goes on.
|
|
229
|
+
usePlacement((hasContent) => {
|
|
230
|
+
const wrap = this.triggerWrap?.nativeElement;
|
|
231
|
+
const capture = this.childrenCapture?.nativeElement;
|
|
232
|
+
if (!wrap || !capture)
|
|
233
|
+
return;
|
|
234
|
+
placeElementBefore(wrap, this.host.nativeElement);
|
|
235
|
+
setElementPresent(this.host.nativeElement, false);
|
|
236
|
+
// React spreads the rest props on the tooltip box, not on the trigger wrapper.
|
|
237
|
+
setHostRoot(this.host.nativeElement, this.contentEl?.nativeElement, {
|
|
238
|
+
except: ['data-mol-id'],
|
|
239
|
+
});
|
|
240
|
+
placeContent(capture, wrap);
|
|
241
|
+
setElementPresent(capture, false);
|
|
242
|
+
const children = hasContent.nodes(capture);
|
|
243
|
+
const only = children.length === 1 && children[0].nodeType === 1 ? children[0] : null;
|
|
244
|
+
if (only === this.associateEl)
|
|
245
|
+
return;
|
|
246
|
+
if (this.visible()) {
|
|
247
|
+
this.associateEl?.removeAttribute('aria-describedby');
|
|
248
|
+
only?.setAttribute('aria-describedby', this.boxId());
|
|
249
|
+
}
|
|
250
|
+
this.associateEl = only;
|
|
251
|
+
});
|
|
223
252
|
}
|
|
224
253
|
/**
|
|
225
254
|
* Re-measures a visible tooltip whose rendered content or placement changed.
|
|
@@ -342,29 +371,12 @@ export class Tooltip {
|
|
|
342
371
|
this.hide();
|
|
343
372
|
}
|
|
344
373
|
/**
|
|
345
|
-
*
|
|
346
|
-
*
|
|
374
|
+
* Starts hidden (the trigger wrapper and its children are placed by the
|
|
375
|
+
* placement function in the constructor).
|
|
347
376
|
*/
|
|
348
377
|
ngAfterViewInit() {
|
|
349
|
-
const wrap = this.triggerWrap?.nativeElement;
|
|
350
|
-
const host = this.host.nativeElement;
|
|
351
|
-
const capture = this.childrenCapture?.nativeElement;
|
|
352
|
-
this.hostParent = host.parentNode;
|
|
353
|
-
if (wrap) {
|
|
354
|
-
this.hostParent?.insertBefore(wrap, host);
|
|
355
|
-
}
|
|
356
|
-
if (capture && wrap) {
|
|
357
|
-
const children = Array.from(capture.childNodes);
|
|
358
|
-
for (const node of children)
|
|
359
|
-
wrap.appendChild(node);
|
|
360
|
-
const elements = children.filter((node) => node.nodeType === 1);
|
|
361
|
-
const hasText = children.some((node) => node.nodeType === 3 && (node.textContent ?? '').trim());
|
|
362
|
-
this.associateEl = elements.length === 1 && !hasText ? elements[0] : null;
|
|
363
|
-
capture.remove();
|
|
364
|
-
}
|
|
365
378
|
// React renders nothing while hidden.
|
|
366
|
-
this.portalWrap?.nativeElement
|
|
367
|
-
this.attached = false;
|
|
379
|
+
setElementPresent(this.portalWrap?.nativeElement, false);
|
|
368
380
|
this.lastVisible = false;
|
|
369
381
|
}
|
|
370
382
|
/**
|
|
@@ -394,7 +406,7 @@ export class Tooltip {
|
|
|
394
406
|
else
|
|
395
407
|
this.detachPortal();
|
|
396
408
|
}
|
|
397
|
-
/** Removes listeners/timers and
|
|
409
|
+
/** Removes listeners/timers and drops the trigger association (unmount). */
|
|
398
410
|
ngOnDestroy() {
|
|
399
411
|
clearTimeout(this.showTimer);
|
|
400
412
|
clearTimeout(this.hideTimer);
|
|
@@ -403,15 +415,6 @@ export class Tooltip {
|
|
|
403
415
|
}
|
|
404
416
|
if (this.escapeBound)
|
|
405
417
|
document.removeEventListener('keydown', this.escapeListener);
|
|
406
|
-
const host = this.host.nativeElement;
|
|
407
|
-
const wrap = this.triggerWrap?.nativeElement;
|
|
408
|
-
// The adopted nodes must be children of the host again for Angular's own
|
|
409
|
-
// removal to succeed.
|
|
410
|
-
if (wrap && wrap.parentElement !== host)
|
|
411
|
-
host.appendChild(wrap);
|
|
412
|
-
const portal = this.portalWrap?.nativeElement;
|
|
413
|
-
if (portal && portal.parentElement !== host)
|
|
414
|
-
host.appendChild(portal);
|
|
415
418
|
this.associateEl = null;
|
|
416
419
|
}
|
|
417
420
|
/** Attaches the portal to `document.body`, positions it and associates it. */
|
|
@@ -419,9 +422,8 @@ export class Tooltip {
|
|
|
419
422
|
const portal = this.portalWrap?.nativeElement;
|
|
420
423
|
if (!portal)
|
|
421
424
|
return;
|
|
422
|
-
document.body
|
|
425
|
+
placeElement(portal, document.body);
|
|
423
426
|
this.inner.set(this.contentEl?.nativeElement ?? null);
|
|
424
|
-
this.attached = true;
|
|
425
427
|
this.updatePosition();
|
|
426
428
|
this.associateEl?.setAttribute('aria-describedby', this.boxId());
|
|
427
429
|
if (!this.escapeBound) {
|
|
@@ -431,9 +433,10 @@ export class Tooltip {
|
|
|
431
433
|
}
|
|
432
434
|
/** Detaches the portal and removes the trigger association. */
|
|
433
435
|
detachPortal() {
|
|
434
|
-
this.portalWrap?.nativeElement
|
|
436
|
+
const portal = this.portalWrap?.nativeElement;
|
|
437
|
+
placeElement(portal, null);
|
|
438
|
+
setElementPresent(portal, false);
|
|
435
439
|
this.inner.set(null);
|
|
436
|
-
this.attached = false;
|
|
437
440
|
this.associateEl?.removeAttribute('aria-describedby');
|
|
438
441
|
if (this.escapeBound) {
|
|
439
442
|
document.removeEventListener('keydown', this.escapeListener);
|
|
@@ -459,7 +462,7 @@ export class Tooltip {
|
|
|
459
462
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childrenCapture = _t.first);
|
|
460
463
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.portalWrap = _t.first);
|
|
461
464
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentEl = _t.first);
|
|
462
|
-
} },
|
|
465
|
+
} }, inputs: { content: "content", placement: "placement", delay: "delay", hasArrow: "hasArrow", className: "className", style: "style", testId: "testId", automationId: "automationId", dataMolId: [0, "data-mol-id", "dataMolId"], id: "id", title: "title", onDoubleClick: "onDoubleClick" }, features: [i0.ɵɵHostDirectivesFeature([i1.MolPlacement])], ngContentSelectors: _c5, decls: 11, vars: 13, consts: [["triggerWrap", ""], ["childrenCapture", ""], ["portalWrap", ""], ["contentEl", ""], ["role", "presentation", 3, "mouseover", "mouseout", "focusin", "focusout", "keydown", "click"], ["role", "tooltip", 3, "dblclick", "mouseover", "mouseout", "id"], ["aria-hidden", "true", 3, "style"], ["aria-hidden", "true"]], template: function Tooltip_Template(rf, ctx) { if (rf & 1) {
|
|
463
466
|
i0.ɵɵprojectionDef(_c4);
|
|
464
467
|
i0.ɵɵdomElementStart(0, "div", 4, 0);
|
|
465
468
|
i0.ɵɵdomListener("mouseover", function Tooltip_Template_div_mouseover_0_listener() { return ctx.show(); })("mouseout", function Tooltip_Template_div_mouseout_0_listener() { return ctx.scheduleHide(); })("focusin", function Tooltip_Template_div_focusin_0_listener($event) { return ctx.handleFocus($event); })("focusout", function Tooltip_Template_div_focusout_0_listener() { return ctx.hide(); })("keydown", function Tooltip_Template_div_keydown_0_listener($event) { return ctx.handleKeyDown($event); })("click", function Tooltip_Template_div_click_0_listener() { return ctx.hide(); });
|
|
@@ -490,6 +493,7 @@ export class Tooltip {
|
|
|
490
493
|
args: [{
|
|
491
494
|
selector: 'mol-tooltip',
|
|
492
495
|
standalone: true,
|
|
496
|
+
hostDirectives: [MolPlacement],
|
|
493
497
|
inputs: [
|
|
494
498
|
'content',
|
|
495
499
|
'placement',
|
|
@@ -504,10 +508,6 @@ export class Tooltip {
|
|
|
504
508
|
'title',
|
|
505
509
|
'onDoubleClick',
|
|
506
510
|
],
|
|
507
|
-
host: {
|
|
508
|
-
'data-parity-unwrap': '',
|
|
509
|
-
style: 'display: contents',
|
|
510
|
-
},
|
|
511
511
|
template: `<div
|
|
512
512
|
#triggerWrap
|
|
513
513
|
[class]="cm().tooltipTrigger"
|
|
@@ -555,5 +555,5 @@ export class Tooltip {
|
|
|
555
555
|
type: ViewChild,
|
|
556
556
|
args: ['contentEl']
|
|
557
557
|
}] }); })();
|
|
558
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Tooltip, { className: "Tooltip", filePath: "components/tooltip.component.ts", lineNumber:
|
|
558
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Tooltip, { className: "Tooltip", filePath: "components/tooltip.component.ts", lineNumber: 217 }); })();
|
|
559
559
|
//# sourceMappingURL=tooltip.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.component.js","sourceRoot":"","sources":["../../src/components/tooltip.component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,gBAAgB,EAGhB,iBAAiB,EACjB,SAAS,EAET,UAAU,EACV,MAAM,EAEN,MAAM,EACN,SAAS,GACV,MAAM,eAAe,CAAA;AAGtB,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAG9C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;;;;;;;;;IAmLzC,6BAA2D;;;IAAlC,sCAA0B;;AAjL3D,mFAAmF;AACnF,MAAM,UAAU,GAAG,CAAC,CAAA;AAEpB,iFAAiF;AACjF,MAAM,cAAc,GAAG,IAAI,OAAO,EAAwB,CAAA;AAE1D;;;;;GAKG;AACH,SAAS,UAAU,CAAC,SAA2B;IAC7C,MAAM,IAAI,GAAG,UAAU,GAAG,CAAC,CAAA;IAC3B,MAAM,IAAI,GAA4B;QACpC,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,UAAU;QACjB,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,sBAAsB;QAClC,MAAM,EAAE,+BAA+B;KACxC,CAAA;IACD,QAAQ,SAAS,EAAE,CAAC;QAClB,KAAK,KAAK;YACR,OAAO,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,gCAAgC,EAAE,CAAA;QAC7F,KAAK,WAAW;YACd,OAAO,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,I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eAEC;YAFD,wCAEC;;;iFAGM,OAAO;cAvDnB,SAAS;eAAC;gBACT,QAAQ,EAAE,aAAa;gBACvB,UAAU,EAAE,IAAI;gBAChB,MAAM,EAAE;oBACN,SAAS;oBACT,WAAW;oBACX,OAAO;oBACP,UAAU;oBACV,WAAW;oBACX,OAAO;oBACP,QAAQ;oBACR,cAAc;oBACd,wBAAwB;oBACxB,IAAI;oBACJ,OAAO;oBACP,eAAe;iBAChB;gBACD,IAAI,EAAE;oBACJ,oBAAoB,EAAE,EAAE;oBACxB,KAAK,EAAE,mBAAmB;iBAC3B;gBACD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAgCD;aACV;;kBAqDE,SAAS;mBAAC,aAAa;;kBAEvB,SAAS;mBAAC,iBAAiB;;kBAE3B,SAAS;mBAAC,YAAY;;kBAEtB,SAAS;mBAAC,WAAW;;kFA1DX,OAAO"}
|
|
1
|
+
{"version":3,"file":"tooltip.component.js","sourceRoot":"","sources":["../../src/components/tooltip.component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,gBAAgB,EAGhB,iBAAiB,EACjB,SAAS,EAET,UAAU,EACV,MAAM,EAEN,MAAM,EACN,SAAS,GACV,MAAM,eAAe,CAAA;AAEtB,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,WAAW,EACX,YAAY,GACb,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAG9C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;;;;;;;;;;IAgLzC,6BAA2D;;;IAAlC,sCAA0B;;AA9K3D,mFAAmF;AACnF,MAAM,UAAU,GAAG,CAAC,CAAA;AAEpB,i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YADC,AADA,AADA,gGAAY,2BAAuB,IAAC,4EACvB,iBAAa,IAAC,0EACf,kBAAc,IAAC;YAE3B,qBAAiD;YACnD,oBAAM;YACN,4EAAgB;YAGlB,oBAAM;;YA9BJ,sCAA6B;YAWd,eAA2B;YAA3B,oCAA2B;YAMxC,eAA4B;YAA5B,qCAA4B;YAD5B,mCAA0B;YAD1B,mCAAc;;YAYhB,eAEC;YAFD,wCAEC;;;iFAGM,OAAO;cApDnB,SAAS;eAAC;gBACT,QAAQ,EAAE,aAAa;gBACvB,UAAU,EAAE,IAAI;gBAChB,cAAc,EAAE,CAAC,YAAY,CAAC;gBAC9B,MAAM,EAAE;oBACN,SAAS;oBACT,WAAW;oBACX,OAAO;oBACP,UAAU;oBACV,WAAW;oBACX,OAAO;oBACP,QAAQ;oBACR,cAAc;oBACd,wBAAwB;oBACxB,IAAI;oBACJ,OAAO;oBACP,eAAe;iBAChB;gBACD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAgCD;aACV;;kBAyDE,SAAS;mBAAC,aAAa;;kBAEvB,SAAS;mBAAC,iBAAiB;;kBAE3B,SAAS;mBAAC,YAAY;;kBAEtB,SAAS;mBAAC,WAAW;;kFA9DX,OAAO"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @module
|
|
7
7
|
*/
|
|
8
|
-
import { type AfterViewInit, type DoCheck,
|
|
8
|
+
import { type AfterViewInit, type DoCheck, type OnDestroy } from '@angular/core';
|
|
9
9
|
import type { UIClassMap } from '@molecule/app-ui';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/** The auth user shape this family reads. */
|
|
@@ -216,9 +216,11 @@ export declare class UserMenuPopoverTrigger {
|
|
|
216
216
|
}
|
|
217
217
|
/**
|
|
218
218
|
* The popover panel: an absolutely-positioned card with an identity header
|
|
219
|
-
* and a `<nav>` wrapping the caller's items.
|
|
219
|
+
* and a `<nav>` wrapping the caller's items. The host element is the card
|
|
220
|
+
* (React's one `<div>`), and it is out of the DOM while the popover is closed
|
|
221
|
+
* (React renders `null`).
|
|
220
222
|
*/
|
|
221
|
-
export declare class UserMenuPopoverPanel
|
|
223
|
+
export declare class UserMenuPopoverPanel {
|
|
222
224
|
/** i18n key for the panel's aria-label (default `userMenu.panelLabel`). */
|
|
223
225
|
ariaLabelKey?: UserMenuPopoverPanelProps['ariaLabelKey'];
|
|
224
226
|
/** Fallback aria-label (default `Account menu`). */
|
|
@@ -227,8 +229,6 @@ export declare class UserMenuPopoverPanel implements AfterViewInit, DoCheck {
|
|
|
227
229
|
dataMolId?: UserMenuPopoverPanelProps['dataMolId'];
|
|
228
230
|
/** Extra classes for the panel. */
|
|
229
231
|
className?: UserMenuPopoverPanelProps['className'];
|
|
230
|
-
/** The panel element (removed from the DOM while closed). */
|
|
231
|
-
panel?: ElementRef<HTMLDivElement>;
|
|
232
232
|
private readonly host;
|
|
233
233
|
/**
|
|
234
234
|
* Reactive translation, read in the injection context. Its `t` reads the
|
|
@@ -236,9 +236,7 @@ export declare class UserMenuPopoverPanel implements AfterViewInit, DoCheck {
|
|
|
236
236
|
* does not).
|
|
237
237
|
*/
|
|
238
238
|
private readonly i18n;
|
|
239
|
-
|
|
240
|
-
private panelAnchor;
|
|
241
|
-
private lastOpen;
|
|
239
|
+
constructor();
|
|
242
240
|
/**
|
|
243
241
|
* The current class map.
|
|
244
242
|
* @returns The UIClassMap.
|
|
@@ -270,10 +268,6 @@ export declare class UserMenuPopoverPanel implements AfterViewInit, DoCheck {
|
|
|
270
268
|
* @returns The class string.
|
|
271
269
|
*/
|
|
272
270
|
classes(): string;
|
|
273
|
-
/** Records where the panel lives and applies the initial open state. */
|
|
274
|
-
ngAfterViewInit(): void;
|
|
275
|
-
/** Attaches or detaches the panel to match the open state (React renders null). */
|
|
276
|
-
ngDoCheck(): void;
|
|
277
271
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserMenuPopoverPanel, never>;
|
|
278
272
|
static ɵcmp: i0.ɵɵComponentDeclaration<UserMenuPopoverPanel, "div[mol-user-menu-popover-panel]", never, { "ariaLabelKey": { "alias": "ariaLabelKey"; "required": false; }; "ariaLabelDefault": { "alias": "ariaLabelDefault"; "required": false; }; "dataMolId": { "alias": "dataMolId"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
279
273
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-menu-popover.component.d.ts","sourceRoot":"","sources":["../../src/components/user-menu-popover.component.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,KAAK,aAAa,EAGlB,KAAK,OAAO,
|
|
1
|
+
{"version":3,"file":"user-menu-popover.component.d.ts","sourceRoot":"","sources":["../../src/components/user-menu-popover.component.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,KAAK,aAAa,EAGlB,KAAK,OAAO,EAIZ,KAAK,SAAS,EAEf,MAAM,eAAe,CAAA;AAGtB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;AAQlD,6CAA6C;AAC7C,UAAU,WAAW;IACnB,oBAAoB;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB;AAED,yEAAyE;AACzE,MAAM,WAAW,sBAAsB;IACrC,mCAAmC;IACnC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB;;;OAGG;IACH,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAChC,iCAAiC;IACjC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,kCAAkC;IAClC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IAClC,iEAAiE;IACjE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CACzB;AAED;;;;GAIG;AACH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W,IAAI,MAAM;IAIrB,kCAAkC;IAClC,KAAK,IAAI,MAAM,GAAG,SAAS;IAI3B;;;OAGG;IACH,QAAQ,IAAI,MAAM;IAUlB;;;OAGG;IACH,OAAO,IAAI,MAAM;yCAhFN,oBAAoB;2CAApB,oBAAoB;CAmFhC;AAED;;GAEG;AACH,qBAYa,sBAAsB;IACjC,kEAAkE;IAClE,QAAQ,CAAC,EAAE,2BAA2B,CAAC,UAAU,CAAC,CAAA;IAClD,2CAA2C;IAC3C,YAAY,CAAC,EAAE,2BAA2B,CAAC,cAAc,CAAC,CAAA;IAC1D,mEAAmE;IACnE,SAAS,CAAC,EAAE,2BAA2B,CAAC,WAAW,CAAC,CAAuB;IAC3E,oCAAoC;IACpC,SAAS,CAAC,EAAE,2BAA2B,CAAC,WAAW,CAAC,CAAA;IAEpD,sCAAsC;IACtC,QAAQ,CAAC,IAAI,+EAAY;IAEzB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAA8C;IAEnE;;;;OAIG;IACH,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAmB;IAExC;;;OAGG;IACH,EAAE,IAAI,UAAU;IAIhB;;;OAGG;IACH,OAAO,IAAI,sBAAsB,GAAG,IAAI;IAIxC;;;OAGG;IACH,KAAK,IAAI,MAAM;IAUf;;;OAGG;IACH,OAAO,IAAI,MAAM;IAcjB,gEAAgE;IAC1D,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;yCAvEnB,sBAAsB;2CAAtB,sBAAsB;CAgFlC;AAED;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,IAAI,MAAM,IAAI,CAOpD"}
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @module
|
|
7
7
|
*/
|
|
8
|
-
import { ChangeDetectorRef, Component, effect, ElementRef, inject, signal,
|
|
9
|
-
import { useAuth, useRouter, useTranslation } from '@molecule/app-angular';
|
|
8
|
+
import { ChangeDetectorRef, Component, effect, ElementRef, inject, signal, } from '@angular/core';
|
|
9
|
+
import { useAuth, useHostPresence, useRouter, useTranslation } from '@molecule/app-angular';
|
|
10
10
|
import { getClassMap } from '@molecule/app-ui';
|
|
11
|
-
import {
|
|
11
|
+
import { createDomContext } from '../utilities/dom-context.js';
|
|
12
12
|
import { nextInstanceId } from '../utilities/ids.js';
|
|
13
13
|
import { getInitials } from '../utilities/initials.js';
|
|
14
14
|
import { styleText } from '../utilities/style.js';
|
|
@@ -24,8 +24,7 @@ function UserMenuPopoverTrigger_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
24
24
|
i0.ɵɵadvance();
|
|
25
25
|
i0.ɵɵtextInterpolate(ctx);
|
|
26
26
|
} }
|
|
27
|
-
|
|
28
|
-
function UserMenuPopoverPanel_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
function UserMenuPopoverPanel_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
29
28
|
i0.ɵɵdomElementStart(0, "p");
|
|
30
29
|
i0.ɵɵtext(1);
|
|
31
30
|
i0.ɵɵdomElementEnd();
|
|
@@ -81,7 +80,7 @@ export class UserMenuPopover {
|
|
|
81
80
|
...(ngDevMode ? [{ debugName: "routeEffect" }] : /* istanbul ignore next */ []));
|
|
82
81
|
/** Registers the context on the host before any projected child resolves it. */
|
|
83
82
|
constructor() {
|
|
84
|
-
|
|
83
|
+
PopoverDomContext.provide(this.host.nativeElement, new UserMenuPopoverContextValue(this));
|
|
85
84
|
}
|
|
86
85
|
/**
|
|
87
86
|
* The current class map.
|
|
@@ -132,7 +131,7 @@ export class UserMenuPopover {
|
|
|
132
131
|
/** Removes listeners and the context registration (unmount). */
|
|
133
132
|
ngOnDestroy() {
|
|
134
133
|
this.removeDocumentListeners();
|
|
135
|
-
|
|
134
|
+
PopoverDomContext.remove(this.host.nativeElement);
|
|
136
135
|
}
|
|
137
136
|
/** Adds the outside-click and Escape dismiss listeners while open. */
|
|
138
137
|
addDocumentListeners() {
|
|
@@ -183,7 +182,7 @@ export class UserMenuPopover {
|
|
|
183
182
|
template: `<ng-content></ng-content>`,
|
|
184
183
|
}]
|
|
185
184
|
}], () => [], null); })();
|
|
186
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserMenuPopover, { className: "UserMenuPopover", filePath: "components/user-menu-popover.component.ts", lineNumber:
|
|
185
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserMenuPopover, { className: "UserMenuPopover", filePath: "components/user-menu-popover.component.ts", lineNumber: 126 }); })();
|
|
187
186
|
/** The popover context a `UserMenuPopover` root registers. */
|
|
188
187
|
class UserMenuPopoverContextValue {
|
|
189
188
|
root;
|
|
@@ -252,7 +251,7 @@ export class UserMenuPopoverTrigger {
|
|
|
252
251
|
* @returns The context, or null outside a popover.
|
|
253
252
|
*/
|
|
254
253
|
context() {
|
|
255
|
-
return
|
|
254
|
+
return PopoverDomContext.find(this.host.nativeElement) ?? null;
|
|
256
255
|
}
|
|
257
256
|
/**
|
|
258
257
|
* Whether the popover is open.
|
|
@@ -372,10 +371,12 @@ export class UserMenuPopoverTrigger {
|
|
|
372
371
|
</span>`,
|
|
373
372
|
}]
|
|
374
373
|
}], null, null); })();
|
|
375
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserMenuPopoverTrigger, { className: "UserMenuPopoverTrigger", filePath: "components/user-menu-popover.component.ts", lineNumber:
|
|
374
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserMenuPopoverTrigger, { className: "UserMenuPopoverTrigger", filePath: "components/user-menu-popover.component.ts", lineNumber: 329 }); })();
|
|
376
375
|
/**
|
|
377
376
|
* The popover panel: an absolutely-positioned card with an identity header
|
|
378
|
-
* and a `<nav>` wrapping the caller's items.
|
|
377
|
+
* and a `<nav>` wrapping the caller's items. The host element is the card
|
|
378
|
+
* (React's one `<div>`), and it is out of the DOM while the popover is closed
|
|
379
|
+
* (React renders `null`).
|
|
379
380
|
*/
|
|
380
381
|
export class UserMenuPopoverPanel {
|
|
381
382
|
/** i18n key for the panel's aria-label (default `userMenu.panelLabel`). */
|
|
@@ -386,8 +387,6 @@ export class UserMenuPopoverPanel {
|
|
|
386
387
|
dataMolId = 'user-menu-panel';
|
|
387
388
|
/** Extra classes for the panel. */
|
|
388
389
|
className;
|
|
389
|
-
/** The panel element (removed from the DOM while closed). */
|
|
390
|
-
panel;
|
|
391
390
|
host = inject(ElementRef);
|
|
392
391
|
/**
|
|
393
392
|
* Reactive translation, read in the injection context. Its `t` reads the
|
|
@@ -395,9 +394,9 @@ export class UserMenuPopoverPanel {
|
|
|
395
394
|
* does not).
|
|
396
395
|
*/
|
|
397
396
|
i18n = useTranslation();
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
397
|
+
constructor() {
|
|
398
|
+
useHostPresence(() => this.open());
|
|
399
|
+
}
|
|
401
400
|
/**
|
|
402
401
|
* The current class map.
|
|
403
402
|
* @returns The UIClassMap.
|
|
@@ -410,7 +409,7 @@ export class UserMenuPopoverPanel {
|
|
|
410
409
|
* @returns The context, or null outside a popover.
|
|
411
410
|
*/
|
|
412
411
|
context() {
|
|
413
|
-
return
|
|
412
|
+
return PopoverDomContext.find(this.host.nativeElement) ?? null;
|
|
414
413
|
}
|
|
415
414
|
/**
|
|
416
415
|
* Whether the popover is open.
|
|
@@ -447,62 +446,29 @@ export class UserMenuPopoverPanel {
|
|
|
447
446
|
classes() {
|
|
448
447
|
return this.cm().cn(this.cm().userMenuPopoverPanel, this.className);
|
|
449
448
|
}
|
|
450
|
-
/** Records where the panel lives and applies the initial open state. */
|
|
451
|
-
ngAfterViewInit() {
|
|
452
|
-
const panel = this.panel?.nativeElement;
|
|
453
|
-
if (!panel)
|
|
454
|
-
return;
|
|
455
|
-
this.panelParent = panel.parentNode;
|
|
456
|
-
this.panelAnchor = panel.nextSibling;
|
|
457
|
-
this.lastOpen = this.open();
|
|
458
|
-
if (!this.lastOpen)
|
|
459
|
-
panel.remove();
|
|
460
|
-
}
|
|
461
|
-
/** Attaches or detaches the panel to match the open state (React renders null). */
|
|
462
|
-
ngDoCheck() {
|
|
463
|
-
const open = this.open();
|
|
464
|
-
if (open === this.lastOpen)
|
|
465
|
-
return;
|
|
466
|
-
this.lastOpen = open;
|
|
467
|
-
const panel = this.panel?.nativeElement;
|
|
468
|
-
if (!panel || !this.panelParent)
|
|
469
|
-
return;
|
|
470
|
-
if (open)
|
|
471
|
-
this.panelParent.insertBefore(panel, this.panelAnchor);
|
|
472
|
-
else
|
|
473
|
-
panel.remove();
|
|
474
|
-
}
|
|
475
449
|
static ɵfac = function UserMenuPopoverPanel_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UserMenuPopoverPanel)(); };
|
|
476
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserMenuPopoverPanel, selectors: [["div", "mol-user-menu-popover-panel", ""]],
|
|
477
|
-
i0.ɵɵ
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panel = _t.first);
|
|
481
|
-
} }, hostAttrs: ["data-parity-unwrap", "", 2, "display", "contents"], hostVars: 1, hostBindings: function UserMenuPopoverPanel_HostBindings(rf, ctx) { if (rf & 2) {
|
|
482
|
-
i0.ɵɵattribute("data-open", ctx.open() ? "true" : null);
|
|
483
|
-
} }, inputs: { ariaLabelKey: "ariaLabelKey", ariaLabelDefault: "ariaLabelDefault", dataMolId: "dataMolId", className: "className" }, ngContentSelectors: _c0, decls: 8, vars: 13, consts: [["panel", ""], [3, "id"], [3, "class"]], template: function UserMenuPopoverPanel_Template(rf, ctx) { if (rf & 1) {
|
|
450
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserMenuPopoverPanel, selectors: [["div", "mol-user-menu-popover-panel", ""]], hostVars: 4, hostBindings: function UserMenuPopoverPanel_HostBindings(rf, ctx) { if (rf & 2) {
|
|
451
|
+
i0.ɵɵattribute("id", ctx.panelId())("data-mol-id", ctx.dataMolId);
|
|
452
|
+
i0.ɵɵclassMap(ctx.classes());
|
|
453
|
+
} }, inputs: { ariaLabelKey: "ariaLabelKey", ariaLabelDefault: "ariaLabelDefault", dataMolId: "dataMolId", className: "className" }, ngContentSelectors: _c0, decls: 6, vars: 9, consts: [[3, "class"]], template: function UserMenuPopoverPanel_Template(rf, ctx) { if (rf & 1) {
|
|
484
454
|
i0.ɵɵprojectionDef();
|
|
485
|
-
i0.ɵɵdomElementStart(0, "
|
|
486
|
-
i0.ɵɵtext(
|
|
455
|
+
i0.ɵɵdomElementStart(0, "header")(1, "p");
|
|
456
|
+
i0.ɵɵtext(2);
|
|
487
457
|
i0.ɵɵdomElementEnd();
|
|
488
|
-
i0.ɵɵconditionalCreate(
|
|
458
|
+
i0.ɵɵconditionalCreate(3, UserMenuPopoverPanel_Conditional_3_Template, 2, 3, "p", 0);
|
|
459
|
+
i0.ɵɵdomElementEnd();
|
|
460
|
+
i0.ɵɵdomElementStart(4, "nav");
|
|
461
|
+
i0.ɵɵprojection(5);
|
|
489
462
|
i0.ɵɵdomElementEnd();
|
|
490
|
-
i0.ɵɵdomElementStart(6, "nav");
|
|
491
|
-
i0.ɵɵprojection(7);
|
|
492
|
-
i0.ɵɵdomElementEnd()();
|
|
493
463
|
} if (rf & 2) {
|
|
494
|
-
let
|
|
495
|
-
i0.ɵɵclassMap(ctx.classes());
|
|
496
|
-
i0.ɵɵdomProperty("id", ctx.panelId());
|
|
497
|
-
i0.ɵɵattribute("data-mol-id", ctx.dataMolId);
|
|
498
|
-
i0.ɵɵadvance(2);
|
|
464
|
+
let tmp_3_0;
|
|
499
465
|
i0.ɵɵclassMap(ctx.cm().cn(ctx.cm().sp("pb", 4), ctx.cm().userMenuPopoverHeader));
|
|
500
466
|
i0.ɵɵadvance();
|
|
501
467
|
i0.ɵɵclassMap(ctx.cm().cn(ctx.cm().textSize("sm"), ctx.cm().fontWeight("semibold")));
|
|
502
468
|
i0.ɵɵadvance();
|
|
503
469
|
i0.ɵɵtextInterpolate(ctx.displayName());
|
|
504
470
|
i0.ɵɵadvance();
|
|
505
|
-
i0.ɵɵconditional((
|
|
471
|
+
i0.ɵɵconditional((tmp_3_0 = ctx.email()) ? 3 : -1, tmp_3_0);
|
|
506
472
|
i0.ɵɵadvance();
|
|
507
473
|
i0.ɵɵclassMap(ctx.cm().cn(ctx.cm().sp("mt", 4), ctx.cm().stack(1)));
|
|
508
474
|
i0.ɵɵattribute("aria-label", ctx.navLabel());
|
|
@@ -515,12 +481,11 @@ export class UserMenuPopoverPanel {
|
|
|
515
481
|
standalone: true,
|
|
516
482
|
inputs: ['ariaLabelKey', 'ariaLabelDefault', 'dataMolId', 'className'],
|
|
517
483
|
host: {
|
|
518
|
-
'
|
|
519
|
-
'[attr.data-
|
|
520
|
-
|
|
484
|
+
'[attr.id]': 'panelId()',
|
|
485
|
+
'[attr.data-mol-id]': 'dataMolId',
|
|
486
|
+
'[class]': 'classes()',
|
|
521
487
|
},
|
|
522
|
-
template: `<
|
|
523
|
-
<header [class]="cm().cn(cm().sp('pb', 4), cm().userMenuPopoverHeader)">
|
|
488
|
+
template: `<header [class]="cm().cn(cm().sp('pb', 4), cm().userMenuPopoverHeader)">
|
|
524
489
|
<p [class]="cm().cn(cm().textSize('sm'), cm().fontWeight('semibold'))">{{ displayName() }}</p>
|
|
525
490
|
@if (email(); as accountEmail) {
|
|
526
491
|
<p [class]="cm().cn(cm().textSize('xs'), cm().textMuted)">{{ accountEmail }}</p>
|
|
@@ -528,14 +493,10 @@ export class UserMenuPopoverPanel {
|
|
|
528
493
|
</header>
|
|
529
494
|
<nav [class]="cm().cn(cm().sp('mt', 4), cm().stack(1))" [attr.aria-label]="navLabel()">
|
|
530
495
|
<ng-content></ng-content>
|
|
531
|
-
</nav
|
|
532
|
-
</div>`,
|
|
496
|
+
</nav>`,
|
|
533
497
|
}]
|
|
534
|
-
}],
|
|
535
|
-
|
|
536
|
-
args: ['panel']
|
|
537
|
-
}] }); })();
|
|
538
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserMenuPopoverPanel, { className: "UserMenuPopoverPanel", filePath: "components/user-menu-popover.component.ts", lineNumber: 491 }); })();
|
|
498
|
+
}], () => [], null); })();
|
|
499
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserMenuPopoverPanel, { className: "UserMenuPopoverPanel", filePath: "components/user-menu-popover.component.ts", lineNumber: 490 }); })();
|
|
539
500
|
/**
|
|
540
501
|
* The sign-out nav item: closes the popover and signs out.
|
|
541
502
|
*/
|
|
@@ -569,7 +530,7 @@ export class UserMenuPopoverSignOut {
|
|
|
569
530
|
* @returns The context, or null outside a popover.
|
|
570
531
|
*/
|
|
571
532
|
context() {
|
|
572
|
-
return
|
|
533
|
+
return PopoverDomContext.find(this.host.nativeElement) ?? null;
|
|
573
534
|
}
|
|
574
535
|
/**
|
|
575
536
|
* The button label.
|
|
@@ -625,7 +586,7 @@ export class UserMenuPopoverSignOut {
|
|
|
625
586
|
template: `{{ label() }}`,
|
|
626
587
|
}]
|
|
627
588
|
}], null, null); })();
|
|
628
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserMenuPopoverSignOut, { className: "UserMenuPopoverSignOut", filePath: "components/user-menu-popover.component.ts", lineNumber:
|
|
589
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserMenuPopoverSignOut, { className: "UserMenuPopoverSignOut", filePath: "components/user-menu-popover.component.ts", lineNumber: 590 }); })();
|
|
629
590
|
/**
|
|
630
591
|
* Returns a callback that closes the enclosing `UserMenuPopover` (a no-op
|
|
631
592
|
* outside one).
|
|
@@ -640,7 +601,9 @@ export function useUserMenuPopoverClose() {
|
|
|
640
601
|
// Resolved at call time: a probe resolves its context in its constructor,
|
|
641
602
|
// before Angular has inserted its host into the DOM.
|
|
642
603
|
return () => {
|
|
643
|
-
|
|
604
|
+
PopoverDomContext.find(el?.nativeElement ?? null)?.setOpen(false);
|
|
644
605
|
};
|
|
645
606
|
}
|
|
607
|
+
/** The context a provider registers and its consumers find. */
|
|
608
|
+
const PopoverDomContext = createDomContext('PopoverDomContext');
|
|
646
609
|
//# sourceMappingURL=user-menu-popover.component.js.map
|