@molecule/app-ui-angular 1.4.2 → 1.5.2

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.
Files changed (138) hide show
  1. package/README.md +987 -1015
  2. package/dist/components/alert.component.d.ts +11 -16
  3. package/dist/components/alert.component.d.ts.map +1 -1
  4. package/dist/components/alert.component.js +22 -51
  5. package/dist/components/alert.component.js.map +1 -1
  6. package/dist/components/auth-guard.component.d.ts +36 -28
  7. package/dist/components/auth-guard.component.d.ts.map +1 -1
  8. package/dist/components/auth-guard.component.js +59 -67
  9. package/dist/components/auth-guard.component.js.map +1 -1
  10. package/dist/components/avatar.component.d.ts +13 -10
  11. package/dist/components/avatar.component.d.ts.map +1 -1
  12. package/dist/components/avatar.component.js +27 -25
  13. package/dist/components/avatar.component.js.map +1 -1
  14. package/dist/components/button.component.d.ts +26 -30
  15. package/dist/components/button.component.d.ts.map +1 -1
  16. package/dist/components/button.component.js +41 -75
  17. package/dist/components/button.component.js.map +1 -1
  18. package/dist/components/checkbox.component.d.ts +5 -4
  19. package/dist/components/checkbox.component.d.ts.map +1 -1
  20. package/dist/components/checkbox.component.js +14 -9
  21. package/dist/components/checkbox.component.js.map +1 -1
  22. package/dist/components/confirm-button.component.d.ts +11 -28
  23. package/dist/components/confirm-button.component.d.ts.map +1 -1
  24. package/dist/components/confirm-button.component.js +31 -63
  25. package/dist/components/confirm-button.component.js.map +1 -1
  26. package/dist/components/confirm-dialog.component.d.ts +28 -17
  27. package/dist/components/confirm-dialog.component.d.ts.map +1 -1
  28. package/dist/components/confirm-dialog.component.js +98 -69
  29. package/dist/components/confirm-dialog.component.js.map +1 -1
  30. package/dist/components/dropdown.component.d.ts +29 -16
  31. package/dist/components/dropdown.component.d.ts.map +1 -1
  32. package/dist/components/dropdown.component.js +143 -105
  33. package/dist/components/dropdown.component.js.map +1 -1
  34. package/dist/components/empty-state.component.d.ts +10 -15
  35. package/dist/components/empty-state.component.d.ts.map +1 -1
  36. package/dist/components/empty-state.component.js +23 -27
  37. package/dist/components/empty-state.component.js.map +1 -1
  38. package/dist/components/form-field.component.d.ts +26 -11
  39. package/dist/components/form-field.component.d.ts.map +1 -1
  40. package/dist/components/form-field.component.js +86 -25
  41. package/dist/components/form-field.component.js.map +1 -1
  42. package/dist/components/input.component.d.ts +20 -23
  43. package/dist/components/input.component.d.ts.map +1 -1
  44. package/dist/components/input.component.js +45 -54
  45. package/dist/components/input.component.js.map +1 -1
  46. package/dist/components/language-picker.component.d.ts +15 -18
  47. package/dist/components/language-picker.component.d.ts.map +1 -1
  48. package/dist/components/language-picker.component.js +25 -35
  49. package/dist/components/language-picker.component.js.map +1 -1
  50. package/dist/components/load-error-banner.component.d.ts +14 -26
  51. package/dist/components/load-error-banner.component.d.ts.map +1 -1
  52. package/dist/components/load-error-banner.component.js +28 -62
  53. package/dist/components/load-error-banner.component.js.map +1 -1
  54. package/dist/components/modal.component.d.ts +38 -21
  55. package/dist/components/modal.component.d.ts.map +1 -1
  56. package/dist/components/modal.component.js +55 -78
  57. package/dist/components/modal.component.js.map +1 -1
  58. package/dist/components/molecule/button.component.d.ts +13 -2
  59. package/dist/components/molecule/button.component.d.ts.map +1 -1
  60. package/dist/components/molecule/button.component.js +45 -15
  61. package/dist/components/molecule/button.component.js.map +1 -1
  62. package/dist/components/molecule/toast.component.d.ts +2 -1
  63. package/dist/components/molecule/toast.component.d.ts.map +1 -1
  64. package/dist/components/molecule/toast.component.js +9 -7
  65. package/dist/components/molecule/toast.component.js.map +1 -1
  66. package/dist/components/molecule/tooltip.component.d.ts +4 -2
  67. package/dist/components/molecule/tooltip.component.d.ts.map +1 -1
  68. package/dist/components/molecule/tooltip.component.js +19 -14
  69. package/dist/components/molecule/tooltip.component.js.map +1 -1
  70. package/dist/components/optimistic-toggle-button.component.d.ts +13 -25
  71. package/dist/components/optimistic-toggle-button.component.d.ts.map +1 -1
  72. package/dist/components/optimistic-toggle-button.component.js +33 -63
  73. package/dist/components/optimistic-toggle-button.component.js.map +1 -1
  74. package/dist/components/page-header.component.d.ts +8 -13
  75. package/dist/components/page-header.component.d.ts.map +1 -1
  76. package/dist/components/page-header.component.js +16 -24
  77. package/dist/components/page-header.component.js.map +1 -1
  78. package/dist/components/page-shell.component.d.ts +8 -14
  79. package/dist/components/page-shell.component.d.ts.map +1 -1
  80. package/dist/components/page-shell.component.js +18 -28
  81. package/dist/components/page-shell.component.js.map +1 -1
  82. package/dist/components/panel-close.component.d.ts +14 -8
  83. package/dist/components/panel-close.component.d.ts.map +1 -1
  84. package/dist/components/panel-close.component.js +28 -17
  85. package/dist/components/panel-close.component.js.map +1 -1
  86. package/dist/components/prompt-dialog.component.d.ts +32 -10
  87. package/dist/components/prompt-dialog.component.d.ts.map +1 -1
  88. package/dist/components/prompt-dialog.component.js +110 -73
  89. package/dist/components/prompt-dialog.component.js.map +1 -1
  90. package/dist/components/responsive-app-shell.component.d.ts +46 -41
  91. package/dist/components/responsive-app-shell.component.d.ts.map +1 -1
  92. package/dist/components/responsive-app-shell.component.js +138 -147
  93. package/dist/components/responsive-app-shell.component.js.map +1 -1
  94. package/dist/components/sidebar-user-card.component.d.ts +8 -12
  95. package/dist/components/sidebar-user-card.component.d.ts.map +1 -1
  96. package/dist/components/sidebar-user-card.component.js +19 -35
  97. package/dist/components/sidebar-user-card.component.js.map +1 -1
  98. package/dist/components/switch.component.d.ts +13 -8
  99. package/dist/components/switch.component.d.ts.map +1 -1
  100. package/dist/components/switch.component.js +29 -20
  101. package/dist/components/switch.component.js.map +1 -1
  102. package/dist/components/table.component.d.ts +22 -14
  103. package/dist/components/table.component.d.ts.map +1 -1
  104. package/dist/components/table.component.js +34 -32
  105. package/dist/components/table.component.js.map +1 -1
  106. package/dist/components/toast.component.d.ts +34 -30
  107. package/dist/components/toast.component.d.ts.map +1 -1
  108. package/dist/components/toast.component.js +74 -84
  109. package/dist/components/toast.component.js.map +1 -1
  110. package/dist/components/tooltip.component.d.ts +27 -11
  111. package/dist/components/tooltip.component.d.ts.map +1 -1
  112. package/dist/components/tooltip.component.js +62 -47
  113. package/dist/components/tooltip.component.js.map +1 -1
  114. package/dist/components/user-menu-popover.component.d.ts +18 -12
  115. package/dist/components/user-menu-popover.component.d.ts.map +1 -1
  116. package/dist/components/user-menu-popover.component.js +52 -77
  117. package/dist/components/user-menu-popover.component.js.map +1 -1
  118. package/dist/components/user-menu.component.d.ts +8 -11
  119. package/dist/components/user-menu.component.d.ts.map +1 -1
  120. package/dist/components/user-menu.component.js +19 -27
  121. package/dist/components/user-menu.component.js.map +1 -1
  122. package/dist/index.d.ts +5 -5
  123. package/dist/index.js +5 -5
  124. package/dist/utilities/dom-context.d.ts +62 -15
  125. package/dist/utilities/dom-context.d.ts.map +1 -1
  126. package/dist/utilities/dom-context.js +79 -34
  127. package/dist/utilities/dom-context.js.map +1 -1
  128. package/dist/utilities/form-field-context.d.ts +2 -0
  129. package/dist/utilities/form-field-context.d.ts.map +1 -1
  130. package/dist/utilities/form-field-context.js +4 -2
  131. package/dist/utilities/form-field-context.js.map +1 -1
  132. package/dist/utilities/node-value.d.ts +8 -0
  133. package/dist/utilities/node-value.d.ts.map +1 -1
  134. package/dist/utilities/node-value.js +10 -0
  135. package/dist/utilities/node-value.js.map +1 -1
  136. package/dist/utilities/rest-attrs.d.ts +2 -2
  137. package/dist/utilities/rest-attrs.js +1 -1
  138. package/package.json +3 -3
@@ -4,17 +4,17 @@
4
4
  *
5
5
  * @module
6
6
  */
7
- import { Component, ElementRef, EventEmitter, inject, Output, Renderer2, signal, TemplateRef, ViewChild, } from '@angular/core';
8
- import { useHostPresence, useTranslation } from '@molecule/app-angular';
7
+ import { Component, ElementRef, EventEmitter, inject, Output, signal, TemplateRef, ViewChild, } from '@angular/core';
8
+ import { MolPlacement, placeContent, placeContentBefore, placeElement, setElementPresent, useHostPresence, usePlacement, useTranslation, } from '@molecule/app-angular';
9
9
  import { I18nError } from '@molecule/app-i18n';
10
10
  import { getClassMap } from '@molecule/app-ui';
11
- import { findDomContext, provideDomContext, removeDomContext } from '../utilities/dom-context.js';
11
+ import { createDomContext } from '../utilities/dom-context.js';
12
12
  import { hostElement } from '../utilities/element.js';
13
13
  import { MolIconSvg, resolveIcon } from '../utilities/render-icon.js';
14
14
  import { styleText } from '../utilities/style.js';
15
- import { hasNodes, SlotWrapper } from './button.component.js';
16
15
  import { MolTemplateOutlet } from './template-outlet.directive.js';
17
16
  import * as i0 from "@angular/core";
17
+ import * as i1 from "@molecule/app-angular";
18
18
  const _c0 = ["descriptionSlot"];
19
19
  const _c1 = ["childrenSlot"];
20
20
  const _c2 = ["*"];
@@ -143,19 +143,15 @@ export class Toast {
143
143
  * does not).
144
144
  */
145
145
  i18n = useTranslation();
146
- renderer = inject(Renderer2);
147
146
  host = this.el.nativeElement;
148
- sync = new SlotWrapper(this.el, this.renderer);
149
147
  remaining;
150
148
  startedAt = null;
151
149
  timer;
152
150
  lastDuration;
153
- descriptionParent = null;
154
- childrenParent = null;
155
151
  hasChildren = false;
156
- adoptedChildren = [];
157
152
  /** Prepares the countdown state (the timer starts at view init). */
158
153
  constructor() {
154
+ usePlacement((hasContent) => this.reconcile(hasContent));
159
155
  // Leaves no element in the page while the toast is hidden (React renders null).
160
156
  useHostPresence(() => this.visible());
161
157
  this.remaining = this.duration;
@@ -262,26 +258,21 @@ export class Toast {
262
258
  * countdown (React's mount effect, with `[duration]` deps).
263
259
  */
264
260
  ngAfterViewInit() {
265
- this.descriptionParent = this.descriptionSlot?.nativeElement.parentElement ?? null;
266
- this.childrenParent = this.childrenSlot?.nativeElement.parentElement ?? null;
267
- this.hasChildren = hasNodes(this.childrenSlot?.nativeElement);
268
- this.adoptChildren();
269
261
  this.restart();
270
262
  }
271
263
  /**
272
- * Re-reconciles children visibility on later passes.
264
+ * Restarts the countdown when the `duration` input changes (React's
265
+ * `[duration]` effect).
273
266
  */
274
267
  ngDoCheck() {
275
268
  if (this.duration !== this.lastDuration) {
276
269
  this.lastDuration = this.duration;
277
270
  this.restart();
278
271
  }
279
- this.syncDescription();
280
272
  }
281
273
  /** Stops the countdown (React's unmount cleanup). */
282
274
  ngOnDestroy() {
283
275
  this.clearTimer();
284
- this.adoptedChildren = [];
285
276
  }
286
277
  /** React's effect body: reset the remaining time and start counting. */
287
278
  restart() {
@@ -310,6 +301,17 @@ export class Toast {
310
301
  this.dismiss.emit();
311
302
  }, ms);
312
303
  }
304
+ /**
305
+ * Reads the children slot and moves the projected children into the
306
+ * description wrapper (React renders them there) unless the description
307
+ * prop wins.
308
+ *
309
+ * @param hasContent - Reads whether a slot has content.
310
+ */
311
+ reconcile(hasContent) {
312
+ this.hasChildren = hasContent(this.childrenSlot?.nativeElement);
313
+ this.adoptChildren();
314
+ }
313
315
  /**
314
316
  * Moves the projected children into the description wrapper (React renders
315
317
  * them there) unless the description prop wins.
@@ -320,12 +322,11 @@ export class Toast {
320
322
  return;
321
323
  const wrapper = this.descriptionSlot?.nativeElement;
322
324
  const descWins = this.descriptionText() !== null || this.descriptionTemplate() !== null;
323
- if (wrapper && !descWins && this.hasChildren) {
324
- this.adoptedChildren = Array.from(span.childNodes);
325
- for (const node of this.adoptedChildren)
326
- wrapper.appendChild(node);
327
- }
328
- this.sync.sync(span, false, this.childrenParent ?? undefined);
325
+ setElementPresent(span, false);
326
+ if (wrapper && !descWins && this.hasChildren)
327
+ placeContent(span, wrapper);
328
+ else
329
+ placeContent(span, null);
329
330
  this.syncDescription();
330
331
  }
331
332
  /** Applies React's `{!!(description || children) && <div>…</div>}`. */
@@ -334,7 +335,7 @@ export class Toast {
334
335
  if (!wrapper)
335
336
  return;
336
337
  const hasDescription = this.descriptionText() !== null || this.descriptionTemplate() !== null;
337
- this.sync.sync(wrapper, hasDescription || this.hasChildren, this.descriptionParent ?? undefined);
338
+ setElementPresent(wrapper, hasDescription || this.hasChildren);
338
339
  }
339
340
  static ɵfac = function Toast_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Toast)(); };
340
341
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Toast, selectors: [["div", "mol-toast", ""]], viewQuery: function Toast_Query(rf, ctx) { if (rf & 1) {
@@ -349,7 +350,7 @@ export class Toast {
349
350
  i0.ɵɵattribute("title", null)("data-testid", ctx.testId)("data-mol-id", ctx.molId())("id", ctx.id)("role", ctx.role())("data-state", ctx.visible() ? "open" : null);
350
351
  i0.ɵɵstyleMap(ctx.hostStyle());
351
352
  i0.ɵɵclassMap(ctx.classes());
352
- } }, inputs: { title: "title", description: "description", status: "status", duration: "duration", dismissible: "dismissible", closeLabel: "closeLabel", className: "className", style: "style", testId: "testId", position: "position", automationId: "automationId", dataMolId: [0, "data-mol-id", "dataMolId"], id: "id" }, outputs: { dismiss: "dismiss" }, ngContentSelectors: _c2, decls: 11, vars: 9, consts: [["descriptionSlot", ""], ["childrenSlot", ""], [3, "class"], [3, "molTemplateOutlet"], ["type", "button", 3, "class"], ["mol-icon", "", 3, "data"], ["type", "button", 3, "click"]], template: function Toast_Template(rf, ctx) { if (rf & 1) {
353
+ } }, inputs: { title: "title", description: "description", status: "status", duration: "duration", dismissible: "dismissible", closeLabel: "closeLabel", className: "className", style: "style", testId: "testId", position: "position", automationId: "automationId", dataMolId: [0, "data-mol-id", "dataMolId"], id: "id" }, outputs: { dismiss: "dismiss" }, features: [i0.ɵɵHostDirectivesFeature([i1.MolPlacement])], ngContentSelectors: _c2, decls: 11, vars: 9, consts: [["descriptionSlot", ""], ["childrenSlot", ""], [3, "class"], [3, "molTemplateOutlet"], ["type", "button", 3, "class"], ["mol-icon", "", 3, "data"], ["type", "button", 3, "click"]], template: function Toast_Template(rf, ctx) { if (rf & 1) {
353
354
  i0.ɵɵprojectionDef();
354
355
  i0.ɵɵconditionalCreate(0, Toast_Conditional_0_Template, 2, 3, "span", 2);
355
356
  i0.ɵɵelementStart(1, "div");
@@ -384,6 +385,7 @@ export class Toast {
384
385
  args: [{
385
386
  selector: 'div[mol-toast]',
386
387
  standalone: true,
388
+ hostDirectives: [MolPlacement],
387
389
  imports: [MolIconSvg, MolTemplateOutlet],
388
390
  inputs: [
389
391
  'title',
@@ -452,13 +454,13 @@ export class Toast {
452
454
  type: ViewChild,
453
455
  args: ['childrenSlot']
454
456
  }] }); })();
455
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Toast, { className: "Toast", filePath: "components/toast.component.ts", lineNumber: 148 }); })();
457
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Toast, { className: "Toast", filePath: "components/toast.component.ts", lineNumber: 157 }); })();
456
458
  /**
457
459
  * Toast container: positions toasts on screen via a body portal.
458
460
  *
459
- * React's root is a portal, so the host is unwrapped
460
- * (`data-parity-unwrap`, `display: contents`) and the container `<div>` is
461
- * moved into `document.body`.
461
+ * React's root is a portal: the container `<div>` is moved into
462
+ * `document.body` and the host element leaves the page, so nothing is left at
463
+ * the component's place.
462
464
  */
463
465
  export class ToastContainer {
464
466
  /** The container position (default `bottom-right`). */
@@ -477,6 +479,14 @@ export class ToastContainer {
477
479
  /** The element a caller's ref receives: the positioned container `<div>`. */
478
480
  element = this.inner.asReadonly();
479
481
  host = inject(ElementRef);
482
+ /** Renders the container in `document.body` (React's portal) and takes the host out of the page. */
483
+ constructor() {
484
+ usePlacement(() => {
485
+ if (typeof document !== 'undefined')
486
+ placeElement(this.container?.nativeElement, document.body);
487
+ setElementPresent(this.host.nativeElement, false);
488
+ });
489
+ }
480
490
  /**
481
491
  * The current class map.
482
492
  * @returns The UIClassMap.
@@ -491,25 +501,13 @@ export class ToastContainer {
491
501
  classes() {
492
502
  return this.cm().cn(this.cm().toastContainer({ position: this.position }), this.className);
493
503
  }
494
- /** Moves the container to `document.body` (React's portal). */
495
- ngAfterViewInit() {
496
- const el = this.container?.nativeElement;
497
- if (el && typeof document !== 'undefined')
498
- document.body.appendChild(el);
499
- }
500
- /** Moves the container back under the host so Angular can remove it. */
501
- ngOnDestroy() {
502
- const el = this.container?.nativeElement;
503
- if (el && this.host.nativeElement.parentNode)
504
- this.host.nativeElement.appendChild(el);
505
- }
506
504
  static ɵfac = function ToastContainer_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToastContainer)(); };
507
505
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ToastContainer, selectors: [["mol-toast-container"]], viewQuery: function ToastContainer_Query(rf, ctx) { if (rf & 1) {
508
506
  i0.ɵɵviewQuery(_c3, 5);
509
507
  } if (rf & 2) {
510
508
  let _t;
511
509
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.containerQuery = _t.first);
512
- } }, hostAttrs: ["data-parity-unwrap", "", 2, "display", "contents"], inputs: { position: "position", className: "className" }, ngContentSelectors: _c2, decls: 3, vars: 2, consts: [["container", ""]], template: function ToastContainer_Template(rf, ctx) { if (rf & 1) {
510
+ } }, inputs: { position: "position", className: "className" }, features: [i0.ɵɵHostDirectivesFeature([i1.MolPlacement])], ngContentSelectors: _c2, decls: 3, vars: 2, consts: [["container", ""]], template: function ToastContainer_Template(rf, ctx) { if (rf & 1) {
513
511
  i0.ɵɵprojectionDef();
514
512
  i0.ɵɵdomElementStart(0, "div", null, 0);
515
513
  i0.ɵɵprojection(2);
@@ -523,25 +521,26 @@ export class ToastContainer {
523
521
  args: [{
524
522
  selector: 'mol-toast-container',
525
523
  standalone: true,
524
+ hostDirectives: [MolPlacement],
526
525
  inputs: ['position', 'className'],
527
- host: {
528
- 'data-parity-unwrap': '',
529
- style: 'display: contents',
530
- },
531
526
  template: `<div #container [class]="classes()"><ng-content></ng-content></div>`,
532
527
  }]
533
- }], null, { containerQuery: [{
528
+ }], () => [], { containerQuery: [{
534
529
  type: ViewChild,
535
530
  args: ['container']
536
531
  }] }); })();
537
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ToastContainer, { className: "ToastContainer", filePath: "components/toast.component.ts", lineNumber: 428 }); })();
532
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ToastContainer, { className: "ToastContainer", filePath: "components/toast.component.ts", lineNumber: 435 }); })();
538
533
  /**
539
534
  * ToastProvider: manages global toast state and renders children plus a
540
535
  * positioned toast container (React's context provider + portal).
541
536
  *
542
- * The context value is registered on the host element (React context flows
537
+ * The context value is registered on a DOM element (React context flows
543
538
  * through the rendered tree, which Angular DI cannot reach for projected
544
- * content); `useToast()` reads it through the DOM ancestors.
539
+ * content); `useToast()` reads it through the DOM ancestors. React's provider
540
+ * renders its children and the container's portal, no element of its own, so
541
+ * the children render in front of the host and the host leaves the page; the
542
+ * context is registered on the parent element, the one whose child list the
543
+ * children now belong to.
545
544
  */
546
545
  export class ToastProvider {
547
546
  /** The default position for toasts (default `bottom-right`). */
@@ -554,12 +553,25 @@ export class ToastProvider {
554
553
  toasts = signal([], /* @ts-ignore */
555
554
  ...(ngDevMode ? [{ debugName: "toasts" }] : /* istanbul ignore next */ []));
556
555
  host = inject(ElementRef);
557
- renderer = inject(Renderer2);
558
- sync = new SlotWrapper(this.host, this.renderer);
559
- adopted = [];
560
- /** Registers the toast context on the host (before any projected child resolves it). */
556
+ /** The value consumers read; its closures keep the live toast state. */
557
+ value = new ToastContextImplementation(this);
558
+ /**
559
+ * Renders the children in front of the host (which leaves the page),
560
+ * registers the context where they render, and portals the container.
561
+ */
561
562
  constructor() {
562
- provideDomContext(this.host.nativeElement, new ToastContextImplementation(this));
563
+ ToastDomContext.provide(this.host.nativeElement, this.value);
564
+ usePlacement(() => {
565
+ const capture = this.childrenCapture?.nativeElement;
566
+ const host = this.host.nativeElement;
567
+ if (capture) {
568
+ placeContentBefore(capture, host);
569
+ setElementPresent(capture, false);
570
+ }
571
+ setElementPresent(host, false);
572
+ if (typeof document !== 'undefined')
573
+ placeElement(this.container?.nativeElement, document.body);
574
+ });
563
575
  }
564
576
  /**
565
577
  * The current class map.
@@ -593,30 +605,9 @@ export class ToastProvider {
593
605
  removeToast(id) {
594
606
  this.toasts.update((prev) => prev.filter((toast) => toast.id !== id));
595
607
  }
596
- /**
597
- * Adopts the children bare into the host and moves the container to
598
- * `document.body` (React's portal).
599
- */
600
- ngAfterViewInit() {
601
- const capture = this.childrenCapture?.nativeElement;
602
- const host = this.host.nativeElement;
603
- if (capture) {
604
- this.adopted = Array.from(capture.childNodes);
605
- for (const node of this.adopted)
606
- host.appendChild(node);
607
- this.sync.sync(capture, false, host);
608
- }
609
- const container = this.container?.nativeElement;
610
- if (container && typeof document !== 'undefined')
611
- document.body.appendChild(container);
612
- }
613
- /** Removes the context registration and restores the container (unmount). */
608
+ /** Removes the context registration (unmount). */
614
609
  ngOnDestroy() {
615
- removeDomContext(this.host.nativeElement);
616
- const container = this.container?.nativeElement;
617
- if (container && this.host.nativeElement.parentNode)
618
- this.host.nativeElement.appendChild(container);
619
- this.adopted = [];
610
+ ToastDomContext.remove(this.host.nativeElement);
620
611
  }
621
612
  static ɵfac = function ToastProvider_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToastProvider)(); };
622
613
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ToastProvider, selectors: [["mol-toast-provider"]], viewQuery: function ToastProvider_Query(rf, ctx) { if (rf & 1) {
@@ -625,7 +616,7 @@ export class ToastProvider {
625
616
  let _t;
626
617
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childrenCapture = _t.first);
627
618
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
628
- } }, hostAttrs: ["data-parity-unwrap", "", 2, "display", "contents"], inputs: { position: "position" }, ngContentSelectors: _c2, decls: 7, vars: 2, consts: [["childrenCapture", ""], ["container", ""], ["mol-toast", "", 3, "title", "description", "status", "duration", "dismissible", "closeLabel", "className", "style", "testId", "automationId", "id"], ["mol-toast", "", 3, "dismiss", "title", "description", "status", "duration", "dismissible", "closeLabel", "className", "testId", "automationId", "id"]], template: function ToastProvider_Template(rf, ctx) { if (rf & 1) {
619
+ } }, inputs: { position: "position" }, features: [i0.ɵɵHostDirectivesFeature([i1.MolPlacement])], ngContentSelectors: _c2, decls: 7, vars: 2, consts: [["childrenCapture", ""], ["container", ""], ["mol-toast", "", 3, "title", "description", "status", "duration", "dismissible", "closeLabel", "className", "style", "testId", "automationId", "id"], ["mol-toast", "", 3, "dismiss", "title", "description", "status", "duration", "dismissible", "closeLabel", "className", "testId", "automationId", "id"]], template: function ToastProvider_Template(rf, ctx) { if (rf & 1) {
629
620
  i0.ɵɵprojectionDef();
630
621
  i0.ɵɵelementStart(0, "span", null, 0);
631
622
  i0.ɵɵprojection(2);
@@ -645,12 +636,9 @@ export class ToastProvider {
645
636
  args: [{
646
637
  selector: 'mol-toast-provider',
647
638
  standalone: true,
639
+ hostDirectives: [MolPlacement],
648
640
  imports: [Toast],
649
641
  inputs: ['position'],
650
- host: {
651
- 'data-parity-unwrap': '',
652
- style: 'display: contents',
653
- },
654
642
  template: `<span #childrenCapture><ng-content></ng-content></span>
655
643
  <div #container [class]="containerClasses()">
656
644
  @for (toast of toasts(); track toast.id) {
@@ -679,7 +667,7 @@ export class ToastProvider {
679
667
  type: ViewChild,
680
668
  args: ['container']
681
669
  }] }); })();
682
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ToastProvider, { className: "ToastProvider", filePath: "components/toast.component.ts", lineNumber: 516 }); })();
670
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ToastProvider, { className: "ToastProvider", filePath: "components/toast.component.ts", lineNumber: 521 }); })();
683
671
  /** The toast context a `ToastProvider` registers. */
684
672
  class ToastContextImplementation {
685
673
  provider;
@@ -723,7 +711,7 @@ class ToastContextImplementation {
723
711
  export function useToast() {
724
712
  const el = inject(ElementRef, { optional: true });
725
713
  const resolve = () => {
726
- const found = findDomContext(el?.nativeElement ?? null);
714
+ const found = ToastDomContext.find(el?.nativeElement ?? null);
727
715
  if (!found) {
728
716
  // Thrown outside rendering (a hook used outside its provider), so the
729
717
  // English fallback travels with the error instead of the static `t`.
@@ -741,4 +729,6 @@ export function useToast() {
741
729
  removeToast: (id) => resolve().removeToast(id),
742
730
  };
743
731
  }
732
+ /** The context a provider registers and its consumers find. */
733
+ const ToastDomContext = createDomContext('ToastDomContext');
744
734
  //# sourceMappingURL=toast.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toast.component.js","sourceRoot":"","sources":["../../src/components/toast.component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAEL,SAAS,EAET,UAAU,EACV,YAAY,EACZ,MAAM,EAEN,MAAM,EACN,SAAS,EACT,MAAM,EACN,WAAW,EACX,SAAS,GACV,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAG9C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACjG,OAAO,EAAmB,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAEtE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;;;;;;IAwF5D,4BAAsC;;IAAA,yBAA8B;IAAA,iBAAO;;;IAArE,2CAA+B;IAAe,cAAa;IAAb,0BAAa;;;IAI/D,2BAA+B;IAAA,YAAW;IAAA,iBAAM;;;IAA3C,qCAAyB;IAAC,cAAW;IAAX,kCAAW;;;IAIxC,YACF;;IADE,oCACF;;;;IAMF,iCAKC;IADC,0KAAS,sBAAe,KAAC;;IAEzB,y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C,WAAW,CAAC,EAAE,CAAC,CAAA;IAC/B,CAAC;CACF;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,QAAQ;IACtB,MAAM,EAAE,GAAG,MAAM,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAmC,CAAA;IACnF,MAAM,OAAO,GAAG,GAAsB,EAAE;QACtC,MAAM,KAAK,GAAG,cAAc,CAAoB,EAAE,EAAE,aAAa,IAAI,IAAI,CAAC,CAAA;QAC1E,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,sEAAsE;YACtE,qEAAqE;YACrE,MAAM,IAAI,SAAS,CACjB,qCAAqC,EACrC,SAAS,EACT,8CAA8C,CAC/C,CAAA;QACH,CAAC;QACD,OAAO,KAAK,CAAA;IACd,CAAC,CAAA;IACD,0EAA0E;IAC1E,sDAAsD;IACtD,OAAO;QACL,IAAI,MAAM;YACR,OAAO,OAAO,EAAE,CAAC,MAAM,CAAA;QACzB,CAAC;QACD,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC;QAC9C,WAAW,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;KAC/C,CAAA;AACH,CAAC"}
1
+ {"version":3,"file":"toast.component.js","sourceRoot":"","sources":["../../src/components/toast.component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAEL,SAAS,EAET,UAAU,EACV,YAAY,EACZ,MAAM,EAEN,MAAM,EACN,MAAM,EACN,WAAW,EACX,SAAS,GACV,MAAM,eAAe,CAAA;AAEtB,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EAEjB,eAAe,EACf,YAAY,EACZ,cAAc,GACf,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAG9C,OAAO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AQ,CAAC,KAAK,CAAC;QAC9C,WAAW,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;KAC/C,CAAA;AACH,CAAC;AAED,+DAA+D;AAC/D,MAAM,eAAe,GAAG,gBAAgB,CAAoB,iBAAiB,CAAC,CAAA"}
@@ -8,16 +8,30 @@ import { type AfterViewChecked, type AfterViewInit, type DoCheck, ElementRef, ty
8
8
  import type { MouseEventHandler, TooltipPlacement, UIClassMap } from '@molecule/app-ui';
9
9
  import type { HasElement } from '../utilities/element.js';
10
10
  import * as i0 from "@angular/core";
11
+ import * as i1 from "@molecule/app-angular";
11
12
  /**
12
13
  * Tooltip component.
13
14
  *
14
15
  * React's root is a FRAGMENT (a trigger wrapper `<div>` plus a portal), so
15
- * the host is unwrapped (`data-parity-unwrap`, `display: contents`); the
16
- * wrapper is adopted beside the host (so the rendered tree and focus paths
17
- * match React's) and the portal element is moved into `document.body` while
18
- * visible. A single-element trigger receives `aria-describedby` while the
16
+ * the trigger wrapper renders in front of the host (`placeElementBefore`),
17
+ * the host itself leaves the DOM, and the portal element renders in
18
+ * `document.body` while visible: the rendered tree and focus paths are
19
+ * React's. A single-element trigger receives `aria-describedby` while the
19
20
  * tooltip shows; show/hide are coordinated across instances exactly like
20
21
  * React's module-level `activeTooltips` map.
22
+ *
23
+ * Projected content is created with the consumer's view, so a tooltip's `[slot=content]` exists
24
+ * while hidden: its components, effects and fetches run. React mounts it only while shown, and
25
+ * again each time it shows. Write content with state as `*molLazy` (`MolLazy` from
26
+ * `@molecule/app-angular`): it is created when it shows and destroyed when it hides, as React's is.
27
+ *
28
+ * @example
29
+ * ```html
30
+ * <mol-tooltip>
31
+ * <button mol-button>Usage</button>
32
+ * <div slot="content" *molLazy><usage-summary /></div>
33
+ * </mol-tooltip>
34
+ * ```
21
35
  */
22
36
  export declare class Tooltip implements AfterViewInit, AfterViewChecked, DoCheck, OnDestroy, HasElement<HTMLDivElement> {
23
37
  /** The tooltip content (node-valued prop). */
@@ -42,7 +56,11 @@ export declare class Tooltip implements AfterViewInit, AfterViewChecked, DoCheck
42
56
  id?: string;
43
57
  /** The visible box's `title` attribute (React's rest spread). */
44
58
  title?: string;
45
- /** A caller's double-click handler on the visible box (React spreads it there). */
59
+ /**
60
+ * A caller's double-click handler on the visible box (React spreads it there).
61
+ *
62
+ * @deprecated Bind `(dblclick)` on the tag: what a caller binds there lands on the box.
63
+ */
46
64
  onDoubleClick?: MouseEventHandler;
47
65
  /** The generated tooltip id (the normalizer renumbers it). */
48
66
  readonly tooltipId: string;
@@ -79,14 +97,12 @@ export declare class Tooltip implements AfterViewInit, AfterViewChecked, DoCheck
79
97
  private readonly hideListener;
80
98
  private readonly escapeListener;
81
99
  private escapeBound;
82
- private attached;
83
100
  private lastVisible;
84
101
  /** The rendered content the current position was measured for. */
85
102
  private lastContentText;
86
103
  /** The placement the current position was measured for. */
87
104
  private lastPlacement;
88
105
  private associateEl;
89
- private hostParent;
90
106
  /** The `data-mol-id` a caller bound on the host (React spreads it onto the tooltip box). */
91
107
  private externalMolId;
92
108
  /**
@@ -150,8 +166,8 @@ export declare class Tooltip implements AfterViewInit, AfterViewChecked, DoCheck
150
166
  */
151
167
  handleKeyDown(event: KeyboardEvent): void;
152
168
  /**
153
- * Adopts the trigger wrapper beside the host, moves the projected children
154
- * into it and records the single-element trigger for `aria-describedby`.
169
+ * Starts hidden (the trigger wrapper and its children are placed by the
170
+ * placement function in the constructor).
155
171
  */
156
172
  ngAfterViewInit(): void;
157
173
  /**
@@ -165,7 +181,7 @@ export declare class Tooltip implements AfterViewInit, AfterViewChecked, DoCheck
165
181
  * (`repositionForContentChange`), matching React's layout effect.
166
182
  */
167
183
  ngDoCheck(): void;
168
- /** Removes listeners/timers and restores the adopted nodes (unmount). */
184
+ /** Removes listeners/timers and drops the trigger association (unmount). */
169
185
  ngOnDestroy(): void;
170
186
  /** Attaches the portal to `document.body`, positions it and associates it. */
171
187
  private attachPortal;
@@ -174,6 +190,6 @@ export declare class Tooltip implements AfterViewInit, AfterViewChecked, DoCheck
174
190
  /** Measures the trigger and tooltip and updates the clamped position. */
175
191
  private updatePosition;
176
192
  static ɵfac: i0.ɵɵFactoryDeclaration<Tooltip, never>;
177
- static ɵcmp: i0.ɵɵComponentDeclaration<Tooltip, "mol-tooltip", never, { "content": { "alias": "content"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "hasArrow": { "alias": "hasArrow"; "required": false; }; "className": { "alias": "className"; "required": false; }; "style": { "alias": "style"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "automationId": { "alias": "automationId"; "required": false; }; "dataMolId": { "alias": "data-mol-id"; "required": false; }; "id": { "alias": "id"; "required": false; }; "title": { "alias": "title"; "required": false; }; "onDoubleClick": { "alias": "onDoubleClick"; "required": false; }; }, {}, never, ["*", "[slot=content]"], true, never>;
193
+ static ɵcmp: i0.ɵɵComponentDeclaration<Tooltip, "mol-tooltip", never, { "content": { "alias": "content"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "hasArrow": { "alias": "hasArrow"; "required": false; }; "className": { "alias": "className"; "required": false; }; "style": { "alias": "style"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "automationId": { "alias": "automationId"; "required": false; }; "dataMolId": { "alias": "data-mol-id"; "required": false; }; "id": { "alias": "id"; "required": false; }; "title": { "alias": "title"; "required": false; }; "onDoubleClick": { "alias": "onDoubleClick"; "required": false; }; }, {}, never, ["*", "[slot=content]"], true, [{ directive: typeof i1.MolPlacement; inputs: {}; outputs: {}; }]>;
178
194
  }
179
195
  //# sourceMappingURL=tooltip.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.component.d.ts","sourceRoot":"","sources":["../../src/components/tooltip.component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAGlB,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