@molecule/app-ui-angular 1.4.1 → 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.
Files changed (138) hide show
  1. package/README.md +989 -1103
  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 +134 -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 +25 -21
  55. package/dist/components/modal.component.d.ts.map +1 -1
  56. package/dist/components/modal.component.js +42 -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 +38 -57
  91. package/dist/components/responsive-app-shell.component.d.ts.map +1 -1
  92. package/dist/components/responsive-app-shell.component.js +138 -213
  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 -37
  107. package/dist/components/toast.component.d.ts.map +1 -1
  108. package/dist/components/toast.component.js +76 -112
  109. package/dist/components/toast.component.js.map +1 -1
  110. package/dist/components/tooltip.component.d.ts +14 -11
  111. package/dist/components/tooltip.component.d.ts.map +1 -1
  112. package/dist/components/tooltip.component.js +47 -47
  113. package/dist/components/tooltip.component.js.map +1 -1
  114. package/dist/components/user-menu-popover.component.d.ts +6 -12
  115. package/dist/components/user-menu-popover.component.d.ts.map +1 -1
  116. package/dist/components/user-menu-popover.component.js +40 -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
@@ -3,11 +3,12 @@
3
3
  *
4
4
  * @module
5
5
  */
6
- import { type AfterViewChecked, type AfterViewInit, type DoCheck, ElementRef, TemplateRef } from '@angular/core';
6
+ import { type AfterViewChecked, type AfterViewInit, ElementRef, TemplateRef } from '@angular/core';
7
7
  import type { TableColumn, UIClassMap } from '@molecule/app-ui';
8
8
  import type { HasElement } from '../utilities/element.js';
9
9
  import type { ResolvedIcon } from '../utilities/render-icon.js';
10
10
  import * as i0 from "@angular/core";
11
+ import * as i1 from "@molecule/app-angular";
11
12
  /**
12
13
  * Table component.
13
14
  *
@@ -16,7 +17,7 @@ import * as i0 from "@angular/core";
16
17
  * functions are templates (with `a0`–`a2` = the render function's arguments)
17
18
  * or plain functions returning text.
18
19
  */
19
- export declare class Table implements AfterViewInit, AfterViewChecked, DoCheck, HasElement<HTMLTableElement> {
20
+ export declare class Table implements AfterViewInit, AfterViewChecked, HasElement<HTMLTableElement> {
20
21
  /** The rows. */
21
22
  data: Record<string, unknown>[];
22
23
  /** The columns. */
@@ -67,21 +68,19 @@ export declare class Table implements AfterViewInit, AfterViewChecked, DoCheck,
67
68
  private readonly inner;
68
69
  /** The element a caller's ref receives: the `<table>`, not its scroll wrapper. */
69
70
  readonly element: import("@angular/core").Signal<HTMLTableElement | null>;
70
- /** Whether the projected empty content is present (read after view init). */
71
+ /** Whether the projected empty content is present (set by the placement function). */
71
72
  readonly hasEmpty: import("@angular/core").WritableSignal<boolean>;
72
73
  private readonly host;
74
+ /** Reconciles the empty state and adopts its projected content. */
75
+ constructor();
73
76
  /**
74
77
  * Reactive translation, read in the injection context. Its `t` reads the
75
78
  * locale, so the view re-renders the text on a locale switch (the static `t`
76
79
  * does not).
77
80
  */
78
81
  private readonly i18n;
79
- private readonly renderer;
80
- private readonly sync;
81
82
  /** The `data-mol-id` a caller bound on the host (React spreads it onto the table). */
82
83
  private externalMolId;
83
- private emptyParent;
84
- private adoptedEmpty;
85
84
  /**
86
85
  * The current class map.
87
86
  * @returns The UIClassMap.
@@ -199,10 +198,9 @@ export declare class Table implements AfterViewInit, AfterViewChecked, DoCheck,
199
198
  */
200
199
  handleRowClick(row: Record<string, unknown>, index: number): void;
201
200
  /**
202
- * Reads the empty-slot presence at view init (view queries resolve only
203
- * then), adopts the projected empty content into the empty cell, and moves
204
- * the host's rest attributes (`aria-*`, `data-*`, `id`, …) onto the
205
- * `<table>`, where React spreads them.
201
+ * Adopts the projected empty content into the empty cell, and moves the
202
+ * host's rest attributes (`aria-*`, `data-*`, `id`, …) onto the `<table>`,
203
+ * where React spreads them.
206
204
  */
207
205
  ngAfterViewInit(): void;
208
206
  /**
@@ -212,11 +210,21 @@ export declare class Table implements AfterViewInit, AfterViewChecked, DoCheck,
212
210
  */
213
211
  ngAfterViewChecked(): void;
214
212
  /**
215
- * Re-reconciles the empty content (the empty cell is re-created when the
216
- * data length changes).
213
+ * Puts a `data-mol-id` bound on the host onto the table in the pass that bound it.
217
214
  */
218
215
  ngDoCheck(): void;
216
+ /**
217
+ * Reads whether the empty state renders and adopts its projected content.
218
+ *
219
+ * @param hasContent - Reads whether a slot has content.
220
+ */
221
+ private reconcile;
222
+ /**
223
+ * Renders the projected empty content inside the empty cell, wherever the
224
+ * cell now is (it is re-created when the data length changes).
225
+ */
226
+ private placeEmptyContent;
219
227
  static ɵfac: i0.ɵɵFactoryDeclaration<Table, never>;
220
- static ɵcmp: i0.ɵɵComponentDeclaration<Table, "div[mol-table]", never, { "data": { "alias": "data"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "rowKey": { "alias": "rowKey"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "striped": { "alias": "striped"; "required": false; }; "hoverable": { "alias": "hoverable"; "required": false; }; "size": { "alias": "size"; "required": false; }; "emptyContent": { "alias": "emptyContent"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "onSort": { "alias": "onSort"; "required": false; }; "onRowClick": { "alias": "onRowClick"; "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; }; }, {}, never, ["[slot=emptyContent]"], true, never>;
228
+ static ɵcmp: i0.ɵɵComponentDeclaration<Table, "div[mol-table]", never, { "data": { "alias": "data"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "rowKey": { "alias": "rowKey"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "striped": { "alias": "striped"; "required": false; }; "hoverable": { "alias": "hoverable"; "required": false; }; "size": { "alias": "size"; "required": false; }; "emptyContent": { "alias": "emptyContent"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "onSort": { "alias": "onSort"; "required": false; }; "onRowClick": { "alias": "onRowClick"; "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; }; }, {}, never, ["[slot=emptyContent]"], true, [{ directive: typeof i1.MolPlacement; inputs: {}; outputs: {}; }]>;
221
229
  }
222
230
  //# sourceMappingURL=table.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"table.component.d.ts","sourceRoot":"","sources":["../../src/components/table.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAElB,KAAK,OAAO,EACZ,UAAU,EAIV,WAAW,EAEZ,MAAM,eAAe,CAAA;AAGtB,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAG/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;;AAY/D;;;;;;;GAOG;AACH,qBAsGa,KACX,YAAW,aAAa,EAAE,gBAAgB,EAAE,OAAO,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAEjF,gBAAgB;IAChB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAK;IACpC,mBAAmB;IACnB,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAAK;IACpD,2CAA2C;IAC3C,MAAM,CAAC,EAAE,MAAM,GA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OG;IACH,WAAW,CACT,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC5B,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAC5C,KAAK,EAAE,MAAM,GACZ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAK1B;;;;;;OAMG;IACH,UAAU,CACR,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC5B,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAC5C,KAAK,EAAE,MAAM,GACZ,MAAM;IAQT;;;;;OAKG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,MAAM;IAK5F;;;OAGG;IACH,UAAU,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,IAAI;IAO9D;;;;OAIG;IACH,cAAc,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAIjE;;;;OAIG;IACH,eAAe,IAAI,IAAI;IAYvB;;;;OAIG;IACH,kBAAkB,IAAI,IAAI;IAY1B;;OAEG;IACH,SAAS,IAAI,IAAI;IAWjB;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAOjB;;;OAGG;IACH,OAAO,CAAC,iBAAiB;yCA7Vd,KAAK;2CAAL,KAAK;CAkWjB"}
@@ -3,16 +3,16 @@
3
3
  *
4
4
  * @module
5
5
  */
6
- import { Component, ElementRef, inject, Renderer2, signal, TemplateRef, ViewChild, } from '@angular/core';
7
- import { useTranslation } from '@molecule/app-angular';
6
+ import { Component, ElementRef, inject, signal, TemplateRef, ViewChild, } from '@angular/core';
7
+ import { MolPlacement, placeContent, setElementPresent, usePlacement, useTranslation, } from '@molecule/app-angular';
8
8
  import { getClassMap } from '@molecule/app-ui';
9
9
  import { MolIconSvg, resolveIcon } from '../utilities/render-icon.js';
10
10
  import { adoptHostDataMolId, moveRestAttributes, reapplyRestAttributes, } from '../utilities/rest-attrs.js';
11
11
  import { styleText } from '../utilities/style.js';
12
- import { hasNodes, SlotWrapper } from './button.component.js';
13
12
  import { Spinner } from './spinner.component.js';
14
13
  import { MolTemplateOutlet } from './template-outlet.directive.js';
15
14
  import * as i0 from "@angular/core";
15
+ import * as i1 from "@molecule/app-angular";
16
16
  const _c0 = ["emptySlot"];
17
17
  const _c1 = ["emptyCell"];
18
18
  const _c2 = ["tableEl"];
@@ -219,22 +219,22 @@ export class Table {
219
219
  ...(ngDevMode ? [{ debugName: "inner" }] : /* istanbul ignore next */ []));
220
220
  /** The element a caller's ref receives: the `<table>`, not its scroll wrapper. */
221
221
  element = this.inner.asReadonly();
222
- /** Whether the projected empty content is present (read after view init). */
222
+ /** Whether the projected empty content is present (set by the placement function). */
223
223
  hasEmpty = signal(false, /* @ts-ignore */
224
224
  ...(ngDevMode ? [{ debugName: "hasEmpty" }] : /* istanbul ignore next */ []));
225
225
  host = inject(ElementRef);
226
+ /** Reconciles the empty state and adopts its projected content. */
227
+ constructor() {
228
+ usePlacement((hasContent) => this.reconcile(hasContent));
229
+ }
226
230
  /**
227
231
  * Reactive translation, read in the injection context. Its `t` reads the
228
232
  * locale, so the view re-renders the text on a locale switch (the static `t`
229
233
  * does not).
230
234
  */
231
235
  i18n = useTranslation();
232
- renderer = inject(Renderer2);
233
- sync = new SlotWrapper(this.host, this.renderer);
234
236
  /** The `data-mol-id` a caller bound on the host (React spreads it onto the table). */
235
237
  externalMolId;
236
- emptyParent = null;
237
- adoptedEmpty = [];
238
238
  /**
239
239
  * The current class map.
240
240
  * @returns The UIClassMap.
@@ -409,23 +409,11 @@ export class Table {
409
409
  this.onRowClick?.(row, index);
410
410
  }
411
411
  /**
412
- * Reads the empty-slot presence at view init (view queries resolve only
413
- * then), adopts the projected empty content into the empty cell, and moves
414
- * the host's rest attributes (`aria-*`, `data-*`, `id`, …) onto the
415
- * `<table>`, where React spreads them.
412
+ * Adopts the projected empty content into the empty cell, and moves the
413
+ * host's rest attributes (`aria-*`, `data-*`, `id`, …) onto the `<table>`,
414
+ * where React spreads them.
416
415
  */
417
416
  ngAfterViewInit() {
418
- const slot = this.emptySlot?.nativeElement;
419
- this.emptyParent = slot?.parentElement ?? null;
420
- const present = hasNodes(slot);
421
- this.hasEmpty.set(present);
422
- const cell = this.emptyCell?.nativeElement;
423
- if (slot && cell && present) {
424
- this.adoptedEmpty = Array.from(slot.childNodes);
425
- for (const node of this.adoptedEmpty)
426
- cell.appendChild(node);
427
- }
428
- this.sync.sync(slot, false, this.emptyParent ?? undefined);
429
417
  adoptHostDataMolId(this.host.nativeElement, this.inner(), (id) => {
430
418
  this.externalMolId = id;
431
419
  }, () => this.molId());
@@ -443,20 +431,33 @@ export class Table {
443
431
  reapplyRestAttributes(this.host.nativeElement, this.inner());
444
432
  }
445
433
  /**
446
- * Re-reconciles the empty content (the empty cell is re-created when the
447
- * data length changes).
434
+ * Puts a `data-mol-id` bound on the host onto the table in the pass that bound it.
448
435
  */
449
436
  ngDoCheck() {
450
437
  adoptHostDataMolId(this.host.nativeElement, this.inner(), (id) => {
451
438
  this.externalMolId = id;
452
439
  }, () => this.molId());
440
+ }
441
+ /**
442
+ * Reads whether the empty state renders and adopts its projected content.
443
+ *
444
+ * @param hasContent - Reads whether a slot has content.
445
+ */
446
+ reconcile(hasContent) {
447
+ const slot = this.emptySlot?.nativeElement;
448
+ this.hasEmpty.set(hasContent(slot));
449
+ setElementPresent(slot, false);
450
+ this.placeEmptyContent();
451
+ }
452
+ /**
453
+ * Renders the projected empty content inside the empty cell, wherever the
454
+ * cell now is (it is re-created when the data length changes).
455
+ */
456
+ placeEmptyContent() {
453
457
  const cell = this.emptyCell?.nativeElement;
454
458
  if (!cell || !this.hasEmpty())
455
459
  return;
456
- if (this.adoptedEmpty.some((node) => node.parentNode !== cell)) {
457
- for (const node of this.adoptedEmpty)
458
- cell.appendChild(node);
459
- }
460
+ placeContent(this.emptySlot?.nativeElement, cell);
460
461
  }
461
462
  static ɵfac = function Table_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Table)(); };
462
463
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Table, selectors: [["div", "mol-table", ""]], viewQuery: function Table_Query(rf, ctx) { if (rf & 1) {
@@ -469,7 +470,7 @@ export class Table {
469
470
  } }, hostVars: 4, hostBindings: function Table_HostBindings(rf, ctx) { if (rf & 2) {
470
471
  i0.ɵɵattribute("id", null)("title", null);
471
472
  i0.ɵɵclassMap(ctx.cm().tableWrapper);
472
- } }, inputs: { data: "data", columns: "columns", rowKey: "rowKey", bordered: "bordered", striped: "striped", hoverable: "hoverable", size: "size", emptyContent: "emptyContent", loading: "loading", sort: "sort", onSort: "onSort", onRowClick: "onRowClick", className: "className", style: "style", testId: "testId", automationId: "automationId", dataMolId: [0, "data-mol-id", "dataMolId"], id: "id", title: "title" }, ngContentSelectors: _c4, decls: 13, vars: 16, consts: [["emptySlot", ""], ["tableEl", ""], ["emptyCell", ""], [3, "class"], [3, "class", "style"], ["mol-spinner", "", 3, "size"], [3, "click"], [3, "molTemplateOutlet"], ["mol-icon", "", 3, "data"], [3, "molTemplateOutlet", "molTemplateOutletContext"]], template: function Table_Template(rf, ctx) { if (rf & 1) {
473
+ } }, inputs: { data: "data", columns: "columns", rowKey: "rowKey", bordered: "bordered", striped: "striped", hoverable: "hoverable", size: "size", emptyContent: "emptyContent", loading: "loading", sort: "sort", onSort: "onSort", onRowClick: "onRowClick", className: "className", style: "style", testId: "testId", automationId: "automationId", dataMolId: [0, "data-mol-id", "dataMolId"], id: "id", title: "title" }, features: [i0.ɵɵHostDirectivesFeature([i1.MolPlacement])], ngContentSelectors: _c4, decls: 13, vars: 16, consts: [["emptySlot", ""], ["tableEl", ""], ["emptyCell", ""], [3, "class"], [3, "class", "style"], ["mol-spinner", "", 3, "size"], [3, "click"], [3, "molTemplateOutlet"], ["mol-icon", "", 3, "data"], [3, "molTemplateOutlet", "molTemplateOutletContext"]], template: function Table_Template(rf, ctx) { if (rf & 1) {
473
474
  i0.ɵɵprojectionDef(_c3);
474
475
  i0.ɵɵelementStart(0, "span", null, 0);
475
476
  i0.ɵɵprojection(2);
@@ -505,6 +506,7 @@ export class Table {
505
506
  args: [{
506
507
  selector: 'div[mol-table]',
507
508
  standalone: true,
509
+ hostDirectives: [MolPlacement],
508
510
  imports: [MolIconSvg, MolTemplateOutlet, Spinner],
509
511
  inputs: [
510
512
  'data',
@@ -604,7 +606,7 @@ export class Table {
604
606
  </tbody>
605
607
  </table>`,
606
608
  }]
607
- }], null, { emptySlot: [{
609
+ }], () => [], { emptySlot: [{
608
610
  type: ViewChild,
609
611
  args: ['emptySlot']
610
612
  }], emptyCell: [{
@@ -614,5 +616,5 @@ export class Table {
614
616
  type: ViewChild,
615
617
  args: ['tableEl']
616
618
  }] }); })();
617
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Table, { className: "Table", filePath: "components/table.component.ts", lineNumber: 147 }); })();
619
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Table, { className: "Table", filePath: "components/table.component.ts", lineNumber: 152 }); })();
618
620
  //# sourceMappingURL=table.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"table.component.js","sourceRoot":"","sources":["../../src/components/table.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAGL,SAAS,EAET,UAAU,EACV,MAAM,EACN,SAAS,EACT,MAAM,EACN,WAAW,EACX,SAAS,GACV,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAEtD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA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;YAC3B,cAAuB;YAAvB,gCAAuB;YACzB,cAkBC;YAlBD,0BAkBC;YAGE,eAAwB;YAAxB,iCAAwB;YAC7B,cA6BC;YA7BD,iDA6BC;4BA/FG,UAAU,EAAE,iBAAiB,EAAE,OAAO;;iFAmGrC,KAAK;cAtGjB,SAAS;eAAC;gBACT,QAAQ,EAAE,gBAAgB;gBAC1B,UAAU,EAAE,IAAI;gBAChB,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,OAAO,CAAC;gBACjD,MAAM,EAAE;oBACN,MAAM;oBACN,SAAS;oBACT,QAAQ;oBACR,UAAU;oBACV,SAAS;oBACT,WAAW;oBACX,MAAM;oBACN,cAAc;oBACd,SAAS;oBACT,MAAM;oBACN,QAAQ;oBACR,YAAY;oBACZ,WAAW;oBACX,OAAO;oBACP,QAAQ;oBACR,cAAc;oBACd,wBAAwB;oBACxB,IAAI;oBACJ,OAAO;iBACR;gBACD,IAAI,EAAE;oBACJ,kGAAkG;oBAClG,uFAAuF;oBACvF,WAAW,EAAE,MAAM;oBACnB,cAAc,EAAE,MAAM;oBACtB,SAAS,EAAE,mBAAmB;iBAC/B;gBACD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAoEC;aACZ;;kBA4CE,SAAS;mBAAC,WAAW;;kBAErB,SAAS;mBAAC,WAAW;;kBAErB,SAAS;mBAAC,SAAS;;kFA/CT,KAAK"}
1
+ {"version":3,"file":"table.component.js","sourceRoot":"","sources":["../../src/components/table.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAGL,SAAS,EACT,UAAU,EACV,MAAM,EACN,MAAM,EACN,WAAW,EACX,SAAS,GACV,MAAM,eAAe,CAAA;AAEtB,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,iBAAiB,EAEjB,YAAY,EACZ,cAAc,GACf,MAAM,uBAAuB,CAAA;AAE9B,OAAO,E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ACD,IAAI,EAAE;oBACJ,kGAAkG;oBAClG,uFAAuF;oBACvF,WAAW,EAAE,MAAM;oBACnB,cAAc,EAAE,MAAM;oBACtB,SAAS,EAAE,mBAAmB;iBAC/B;gBACD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAoEC;aACZ;;kBA0CE,SAAS;mBAAC,WAAW;;kBAErB,SAAS;mBAAC,WAAW;;kBAErB,SAAS;mBAAC,SAAS;;kFA7CT,KAAK"}
@@ -9,6 +9,7 @@ import type { ColorVariant, ToastProps, UIClassMap } from '@molecule/app-ui';
9
9
  import { type HasElement } from '../utilities/element.js';
10
10
  import type { ResolvedIcon } from '../utilities/render-icon.js';
11
11
  import * as i0 from "@angular/core";
12
+ import * as i1 from "@molecule/app-angular";
12
13
  /** The toast context value (React's `ToastContextValue`). */
13
14
  export interface ToastContextValue {
14
15
  /** The current toasts, each with its id. */
@@ -82,19 +83,12 @@ export declare class Toast implements AfterViewInit, DoCheck, OnDestroy, HasElem
82
83
  * does not).
83
84
  */
84
85
  private readonly i18n;
85
- private readonly renderer;
86
86
  private readonly host;
87
- private readonly sync;
88
87
  private remaining;
89
88
  private startedAt;
90
89
  private timer;
91
90
  private lastDuration;
92
- private descriptionParent;
93
- private childrenParent;
94
91
  private hasChildren;
95
- private adoptedChildren;
96
- private detachedParent;
97
- private detachedAnchor;
98
92
  /** Prepares the countdown state (the timer starts at view init). */
99
93
  constructor();
100
94
  /**
@@ -164,7 +158,8 @@ export declare class Toast implements AfterViewInit, DoCheck, OnDestroy, HasElem
164
158
  */
165
159
  ngAfterViewInit(): void;
166
160
  /**
167
- * Re-reconciles children visibility on later passes.
161
+ * Restarts the countdown when the `duration` input changes (React's
162
+ * `[duration]` effect).
168
163
  */
169
164
  ngDoCheck(): void;
170
165
  /** Stops the countdown (React's unmount cleanup). */
@@ -178,29 +173,32 @@ export declare class Toast implements AfterViewInit, DoCheck, OnDestroy, HasElem
178
173
  * @param ms - Milliseconds until dismissal.
179
174
  */
180
175
  private startTimer;
176
+ /**
177
+ * Reads the children slot and moves the projected children into the
178
+ * description wrapper (React renders them there) unless the description
179
+ * prop wins.
180
+ *
181
+ * @param hasContent - Reads whether a slot has content.
182
+ */
183
+ private reconcile;
181
184
  /**
182
185
  * Moves the projected children into the description wrapper (React renders
183
186
  * them there) unless the description prop wins.
184
187
  */
185
188
  private adoptChildren;
186
- /**
187
- * Removes the host element from the DOM when React renders null (the toast
188
- * dismissed itself), and restores it before Angular removes it on destroy.
189
- */
190
- private syncHostVisibility;
191
189
  /** Applies React's `{!!(description || children) && <div>…</div>}`. */
192
190
  private syncDescription;
193
191
  static ɵfac: i0.ɵɵFactoryDeclaration<Toast, never>;
194
- static ɵcmp: i0.ɵɵComponentDeclaration<Toast, "div[mol-toast]", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "status": { "alias": "status"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "closeLabel": { "alias": "closeLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "style": { "alias": "style"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "position": { "alias": "position"; "required": false; }; "automationId": { "alias": "automationId"; "required": false; }; "dataMolId": { "alias": "data-mol-id"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "dismiss": "dismiss"; }, never, ["*"], true, never>;
192
+ static ɵcmp: i0.ɵɵComponentDeclaration<Toast, "div[mol-toast]", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "status": { "alias": "status"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "closeLabel": { "alias": "closeLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "style": { "alias": "style"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "position": { "alias": "position"; "required": false; }; "automationId": { "alias": "automationId"; "required": false; }; "dataMolId": { "alias": "data-mol-id"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "dismiss": "dismiss"; }, never, ["*"], true, [{ directive: typeof i1.MolPlacement; inputs: {}; outputs: {}; }]>;
195
193
  }
196
194
  /**
197
195
  * Toast container: positions toasts on screen via a body portal.
198
196
  *
199
- * React's root is a portal, so the host is unwrapped
200
- * (`data-parity-unwrap`, `display: contents`) and the container `<div>` is
201
- * moved into `document.body`.
197
+ * React's root is a portal: the container `<div>` is moved into
198
+ * `document.body` and the host element leaves the page, so nothing is left at
199
+ * the component's place.
202
200
  */
203
- export declare class ToastContainer implements AfterViewInit, OnDestroy, HasElement<HTMLDivElement> {
201
+ export declare class ToastContainer implements HasElement<HTMLDivElement> {
204
202
  /** The container position (default `bottom-right`). */
205
203
  position: ToastPosition;
206
204
  /** Extra classes. */
@@ -213,6 +211,8 @@ export declare class ToastContainer implements AfterViewInit, OnDestroy, HasElem
213
211
  /** The element a caller's ref receives: the positioned container `<div>`. */
214
212
  readonly element: import("@angular/core").Signal<HTMLDivElement | null>;
215
213
  private readonly host;
214
+ /** Renders the container in `document.body` (React's portal) and takes the host out of the page. */
215
+ constructor();
216
216
  /**
217
217
  * The current class map.
218
218
  * @returns The UIClassMap.
@@ -223,22 +223,22 @@ export declare class ToastContainer implements AfterViewInit, OnDestroy, HasElem
223
223
  * @returns The class string.
224
224
  */
225
225
  classes(): string;
226
- /** Moves the container to `document.body` (React's portal). */
227
- ngAfterViewInit(): void;
228
- /** Moves the container back under the host so Angular can remove it. */
229
- ngOnDestroy(): void;
230
226
  static ɵfac: i0.ɵɵFactoryDeclaration<ToastContainer, never>;
231
- static ɵcmp: i0.ɵɵComponentDeclaration<ToastContainer, "mol-toast-container", never, { "position": { "alias": "position"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, {}, never, ["*"], true, never>;
227
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToastContainer, "mol-toast-container", never, { "position": { "alias": "position"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.MolPlacement; inputs: {}; outputs: {}; }]>;
232
228
  }
233
229
  /**
234
230
  * ToastProvider: manages global toast state and renders children plus a
235
231
  * positioned toast container (React's context provider + portal).
236
232
  *
237
- * The context value is registered on the host element (React context flows
233
+ * The context value is registered on a DOM element (React context flows
238
234
  * through the rendered tree, which Angular DI cannot reach for projected
239
- * content); `useToast()` reads it through the DOM ancestors.
235
+ * content); `useToast()` reads it through the DOM ancestors. React's provider
236
+ * renders its children and the container's portal, no element of its own, so
237
+ * the children render in front of the host and the host leaves the page; the
238
+ * context is registered on the parent element, the one whose child list the
239
+ * children now belong to.
240
240
  */
241
- export declare class ToastProvider implements AfterViewInit, OnDestroy {
241
+ export declare class ToastProvider implements OnDestroy {
242
242
  /** The default position for toasts (default `bottom-right`). */
243
243
  position: ToastPosition;
244
244
  /** The children capture point (removed once children are adopted). */
@@ -250,10 +250,12 @@ export declare class ToastProvider implements AfterViewInit, OnDestroy {
250
250
  id: string;
251
251
  })[]>;
252
252
  private readonly host;
253
- private readonly renderer;
254
- private readonly sync;
255
- private adopted;
256
- /** Registers the toast context on the host (before any projected child resolves it). */
253
+ /** The value consumers read; its closures keep the live toast state. */
254
+ private readonly value;
255
+ /**
256
+ * Renders the children in front of the host (which leaves the page),
257
+ * registers the context where they render, and portals the container.
258
+ */
257
259
  constructor();
258
260
  /**
259
261
  * The current class map.
@@ -277,15 +279,10 @@ export declare class ToastProvider implements AfterViewInit, OnDestroy {
277
279
  * @param id - The toast's id.
278
280
  */
279
281
  removeToast(id: string): void;
280
- /**
281
- * Adopts the children bare into the host and moves the container to
282
- * `document.body` (React's portal).
283
- */
284
- ngAfterViewInit(): void;
285
- /** Removes the context registration and restores the container (unmount). */
282
+ /** Removes the context registration (unmount). */
286
283
  ngOnDestroy(): void;
287
284
  static ɵfac: i0.ɵɵFactoryDeclaration<ToastProvider, never>;
288
- static ɵcmp: i0.ɵɵComponentDeclaration<ToastProvider, "mol-toast-provider", never, { "position": { "alias": "position"; "required": false; }; }, {}, never, ["*"], true, never>;
285
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToastProvider, "mol-toast-provider", never, { "position": { "alias": "position"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.MolPlacement; inputs: {}; outputs: {}; }]>;
289
286
  }
290
287
  /**
291
288
  * Accesses the toast context for adding and removing toasts.
@@ -1 +1 @@
1
- {"version":3,"file":"toast.component.d.ts","sourceRoot":"","sources":["../../src/components/toast.component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,OAAO,EACZ,UAAU,EACV,YAAY,EAEZ,KAAK,SAAS,EAId,WAAW,EAEZ,MAAM,eAAe,CAAA;AAKtB,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAI5E,OAAO,EAAE,KAAK,UAAU,EAAe,MAAM,yBAAyB,CAAA;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;;AA2B/D,6DAA6D;AAC7D,MAAM,WAAW,iBAAiB;IAChC,4CAA4C;IAC5C,MAAM,EAAE,CAAC,UAAU,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAA;IACvC;;;;OAIG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,WAAW,CAAC,KAAK,MAAM,CAAA;IAC1D;;;OAGG;IACH,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED,wDAAwD;AACxD,KAAK,aAAa,GAAG,UAAU,CAAC,UAAU,CAAC,CAAA;AAE3C;;;;;;;GAOG;AACH,qBA8Da,KAAM,YAAW,aAAa,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,CAAC,cAAc,CAAC;IACzF,uBAAuB;IACvB,KAAK,CAAC,EA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