@molecule/app-top-nav-layout-angular 1.1.2 → 1.2.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 CHANGED
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
3
  Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
4
  Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
5
  To change this document, edit the module-level JSDoc in src/index.ts.
6
- Generated: 2026-11-21T12:47:38.471Z
6
+ Generated: 2026-11-23T14:53:47.239Z
7
7
  -->
8
8
 
9
9
  # @molecule/app-top-nav-layout-angular
@@ -122,8 +122,9 @@ TopNavLayout component.
122
122
 
123
123
  Sticky top-nav shell with brand + horizontal nav + user-menu slot. The host
124
124
  IS the outer `<div>` (`div[mol-top-nav-layout]`), matching React's root
125
- exactly. The page body is projected as the element's default content (React
126
- renders its router's `<Outlet />` in the `<main>`), and the user menu is
125
+ exactly. The page body is projected as the element's default content; without
126
+ one the `<main>` renders `<mol-routed-view />` (the matched child route,
127
+ through whichever routing bond the app wired), and the user menu is
127
128
  projected as `[slot=userMenu]` content. Nav labels are hidden below the `md`
128
129
  breakpoint (icon-only mobile nav), so always provide `icon` names; they
129
130
  render as Material Symbols ligatures and need the Material Symbols font
@@ -134,7 +135,8 @@ rendered as-is: pass an already-translated string.
134
135
  @Component({
135
136
  selector: 'div[mol-top-nav-layout]',
136
137
  standalone: true,
137
- imports: [Link],
138
+ hostDirectives: [MolPlacement],
139
+ imports: [Link, RoutedView],
138
140
  inputs: ['appName', 'logoTo', 'navItems', 'navAriaLabel', 'className', 'dataMolId'],
139
141
  host: {
140
142
  '[class]': 'classes()',
@@ -161,7 +163,12 @@ rendered as-is: pass an already-translated string.
161
163
  <ng-content select="[slot=userMenu]"></ng-content>
162
164
  </div>
163
165
  </header>
164
- <main><ng-content></ng-content></main>`,
166
+ <main>
167
+ <span #pageSlot><ng-content></ng-content></span>
168
+ @if (routed()) {
169
+ <mol-routed-view />
170
+ }
171
+ </main>`,
165
172
  })
166
173
  export class TopNavLayout implements OnDestroy {
167
174
  /** Brand text shown in the top-left link (typically the app name). */
@@ -180,6 +187,15 @@ export class TopNavLayout implements OnDestroy {
180
187
  /** `data-mol-id` for AI-agent selectors. */
181
188
  dataMolId?: string
182
189
 
190
+ /** The page body's projection capture point. */
191
+ @ViewChild('pageSlot') private pageSlot?: ElementRef<HTMLElement>
192
+
193
+ /**
194
+ * Whether the `<main>` renders the routed view: no page body was projected. A signal the
195
+ * template reads, so the routed view is created only then (it throws without one).
196
+ */
197
+ readonly routed = signal(false)
198
+
183
199
  private readonly router = useRouterInstance()
184
200
 
185
201
  /** The i18n handle (locale-reactive), read in an injection context. */
@@ -190,11 +206,31 @@ export class TopNavLayout implements OnDestroy {
190
206
 
191
207
  private readonly stop = this.router.subscribe(() => this.location.set(this.router.getLocation()))
192
208
 
209
+ constructor() {
210
+ usePlacement((hasContent) => this.reconcile(hasContent))
211
+ }
212
+
193
213
  /** Stops listening to the router when the component goes away. */
194
214
  ngOnDestroy(): void {
195
215
  this.stop()
196
216
  }
197
217
 
218
+ /**
219
+ * React renders `children ?? <RoutedView />`: the routed view only without a
220
+ * page body.
221
+ *
222
+ * @param hasContent - Reads whether a slot has content.
223
+ */
224
+ private reconcile(hasContent: SlotReader): void {
225
+ const page = this.pageSlot?.nativeElement
226
+ if (!page) return
227
+ // React renders the projected page body bare: it stands in the capture point's place
228
+ // and the point itself leaves the page.
229
+ placeContentBefore(page, page)
230
+ setElementPresent(page, false)
231
+ this.routed.set(!hasContent(page))
232
+ }
233
+
198
234
  /**
199
235
  * The current class map.
200
236
  * @returns The UIClassMap.
@@ -330,7 +366,7 @@ Peer dependencies:
330
366
  - `@angular/common` ^22.0.0
331
367
  - `@angular/core` ^22.0.0
332
368
  - `@angular/platform-browser` ^22.0.0
333
- - `@molecule/app-angular` ^3.6.0
369
+ - `@molecule/app-angular` ^3.13.0
334
370
  - `@molecule/app-ui` ^1.3.11
335
371
  - `@molecule/app-ui-angular` ^1.1.0
336
372
 
@@ -7,13 +7,15 @@ import { type OnDestroy } from '@angular/core';
7
7
  import type { UIClassMap } from '@molecule/app-ui';
8
8
  import type { TopNavItem } from './types.js';
9
9
  import * as i0 from "@angular/core";
10
+ import * as i1 from "@molecule/app-angular";
10
11
  /**
11
12
  * TopNavLayout component.
12
13
  *
13
14
  * Sticky top-nav shell with brand + horizontal nav + user-menu slot. The host
14
15
  * IS the outer `<div>` (`div[mol-top-nav-layout]`), matching React's root
15
- * exactly. The page body is projected as the element's default content (React
16
- * renders its router's `<Outlet />` in the `<main>`), and the user menu is
16
+ * exactly. The page body is projected as the element's default content; without
17
+ * one the `<main>` renders `<mol-routed-view />` (the matched child route,
18
+ * through whichever routing bond the app wired), and the user menu is
17
19
  * projected as `[slot=userMenu]` content. Nav labels are hidden below the `md`
18
20
  * breakpoint (icon-only mobile nav), so always provide `icon` names; they
19
21
  * render as Material Symbols ligatures and need the Material Symbols font
@@ -36,14 +38,29 @@ export declare class TopNavLayout implements OnDestroy {
36
38
  className?: string;
37
39
  /** `data-mol-id` for AI-agent selectors. */
38
40
  dataMolId?: string;
41
+ /** The page body's projection capture point. */
42
+ private pageSlot?;
43
+ /**
44
+ * Whether the `<main>` renders the routed view: no page body was projected. A signal the
45
+ * template reads, so the routed view is created only then (it throws without one).
46
+ */
47
+ readonly routed: import("@angular/core").WritableSignal<boolean>;
39
48
  private readonly router;
40
49
  /** The i18n handle (locale-reactive), read in an injection context. */
41
50
  private readonly i18n;
42
51
  /** The current location, kept current so active items follow navigation. */
43
52
  private readonly location;
44
53
  private readonly stop;
54
+ constructor();
45
55
  /** Stops listening to the router when the component goes away. */
46
56
  ngOnDestroy(): void;
57
+ /**
58
+ * React renders `children ?? <RoutedView />`: the routed view only without a
59
+ * page body.
60
+ *
61
+ * @param hasContent - Reads whether a slot has content.
62
+ */
63
+ private reconcile;
47
64
  /**
48
65
  * The current class map.
49
66
  * @returns The UIClassMap.
@@ -110,6 +127,6 @@ export declare class TopNavLayout implements OnDestroy {
110
127
  */
111
128
  itemClasses(item: TopNavItem): string;
112
129
  static ɵfac: i0.ɵɵFactoryDeclaration<TopNavLayout, never>;
113
- static ɵcmp: i0.ɵɵComponentDeclaration<TopNavLayout, "div[mol-top-nav-layout]", never, { "appName": { "alias": "appName"; "required": false; }; "logoTo": { "alias": "logoTo"; "required": false; }; "navItems": { "alias": "navItems"; "required": false; }; "navAriaLabel": { "alias": "navAriaLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "dataMolId": { "alias": "dataMolId"; "required": false; }; }, {}, never, ["[slot=userMenu]", "*"], true, never>;
130
+ static ɵcmp: i0.ɵɵComponentDeclaration<TopNavLayout, "div[mol-top-nav-layout]", never, { "appName": { "alias": "appName"; "required": false; }; "logoTo": { "alias": "logoTo"; "required": false; }; "navItems": { "alias": "navItems"; "required": false; }; "navAriaLabel": { "alias": "navAriaLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "dataMolId": { "alias": "dataMolId"; "required": false; }; }, {}, never, ["[slot=userMenu]", "*"], true, [{ directive: typeof i1.MolPlacement; inputs: {}; outputs: {}; }]>;
114
131
  }
115
132
  //# sourceMappingURL=top-nav-layout.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"top-nav-layout.component.d.ts","sourceRoot":"","sources":["../src/top-nav-layout.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAa,KAAK,SAAS,EAAU,MAAM,eAAe,CAAA;AAGjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;;AAmB5C;;;;;;;;;;;;GAYG;AACH,qBAgCa,YAAa,YAAW,SAAS;IAC5C,sEAAsE;IACtE,OAAO,SAAK;IACZ,yEAAyE;IACzE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,m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AAI,EAAE,UAAU,GAAG,OAAO;IAInC;;;;;OAKG;IACH,WAAW,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM;yCA1K1B,YAAY;2CAAZ,YAAY;CAwLxB"}
@@ -3,15 +3,17 @@
3
3
  *
4
4
  * @module
5
5
  */
6
- import { Component, signal } from '@angular/core';
7
- import { Link, useRouterInstance, useTranslation } from '@molecule/app-angular';
6
+ import { Component, signal, ViewChild } from '@angular/core';
7
+ import { Link, MolPlacement, placeContentBefore, RoutedView, setElementPresent, usePlacement, useRouterInstance, useTranslation, } from '@molecule/app-angular';
8
8
  import { getClassMap } from '@molecule/app-ui';
9
9
  import * as i0 from "@angular/core";
10
- const _c0 = [[["", "slot", "usermenu"]], "*"];
11
- const _c1 = ["[slot=userMenu]", "*"];
10
+ import * as i1 from "@molecule/app-angular";
11
+ const _c0 = ["pageSlot"];
12
+ const _c1 = [[["", "slot", "usermenu"]], "*"];
13
+ const _c2 = ["[slot=userMenu]", "*"];
12
14
  const _forTrack0 = ($index, $item) => $item.key;
13
15
  function TopNavLayout_For_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
14
- i0.ɵɵelementStart(0, "span", 3);
16
+ i0.ɵɵelementStart(0, "span", 4);
15
17
  i0.ɵɵtext(1);
16
18
  i0.ɵɵelementEnd();
17
19
  } if (rf & 2) {
@@ -22,8 +24,8 @@ function TopNavLayout_For_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
22
24
  i0.ɵɵtextInterpolate(item_r1.icon);
23
25
  } }
24
26
  function TopNavLayout_For_6_Template(rf, ctx) { if (rf & 1) {
25
- i0.ɵɵelementStart(0, "a", 0);
26
- i0.ɵɵconditionalCreate(1, TopNavLayout_For_6_Conditional_1_Template, 2, 3, "span", 2);
27
+ i0.ɵɵelementStart(0, "a", 1);
28
+ i0.ɵɵconditionalCreate(1, TopNavLayout_For_6_Conditional_1_Template, 2, 3, "span", 3);
27
29
  i0.ɵɵelementStart(2, "span");
28
30
  i0.ɵɵtext(3);
29
31
  i0.ɵɵelementEnd()();
@@ -40,6 +42,9 @@ function TopNavLayout_For_6_Template(rf, ctx) { if (rf & 1) {
40
42
  i0.ɵɵadvance();
41
43
  i0.ɵɵtextInterpolate(item_r1.label);
42
44
  } }
45
+ function TopNavLayout_Conditional_12_Template(rf, ctx) { if (rf & 1) {
46
+ i0.ɵɵelement(0, "mol-routed-view");
47
+ } }
43
48
  /**
44
49
  * Whether react-router's `<NavLink>` would mark `to` active at `pathname`: the
45
50
  * pathnames are equal, or the location continues beyond `to` on a segment
@@ -61,8 +66,9 @@ const navItemActive = (pathname, to) => {
61
66
  *
62
67
  * Sticky top-nav shell with brand + horizontal nav + user-menu slot. The host
63
68
  * IS the outer `<div>` (`div[mol-top-nav-layout]`), matching React's root
64
- * exactly. The page body is projected as the element's default content (React
65
- * renders its router's `<Outlet />` in the `<main>`), and the user menu is
69
+ * exactly. The page body is projected as the element's default content; without
70
+ * one the `<main>` renders `<mol-routed-view />` (the matched child route,
71
+ * through whichever routing bond the app wired), and the user menu is
66
72
  * projected as `[slot=userMenu]` content. Nav labels are hidden below the `md`
67
73
  * breakpoint (icon-only mobile nav), so always provide `icon` names; they
68
74
  * render as Material Symbols ligatures and need the Material Symbols font
@@ -85,6 +91,14 @@ export class TopNavLayout {
85
91
  className;
86
92
  /** `data-mol-id` for AI-agent selectors. */
87
93
  dataMolId;
94
+ /** The page body's projection capture point. */
95
+ pageSlot;
96
+ /**
97
+ * Whether the `<main>` renders the routed view: no page body was projected. A signal the
98
+ * template reads, so the routed view is created only then (it throws without one).
99
+ */
100
+ routed = signal(false, /* @ts-ignore */
101
+ ...(ngDevMode ? [{ debugName: "routed" }] : /* istanbul ignore next */ []));
88
102
  router = useRouterInstance();
89
103
  /** The i18n handle (locale-reactive), read in an injection context. */
90
104
  i18n = useTranslation();
@@ -92,10 +106,29 @@ export class TopNavLayout {
92
106
  location = signal(this.router.getLocation(), /* @ts-ignore */
93
107
  ...(ngDevMode ? [{ debugName: "location" }] : /* istanbul ignore next */ []));
94
108
  stop = this.router.subscribe(() => this.location.set(this.router.getLocation()));
109
+ constructor() {
110
+ usePlacement((hasContent) => this.reconcile(hasContent));
111
+ }
95
112
  /** Stops listening to the router when the component goes away. */
96
113
  ngOnDestroy() {
97
114
  this.stop();
98
115
  }
116
+ /**
117
+ * React renders `children ?? <RoutedView />`: the routed view only without a
118
+ * page body.
119
+ *
120
+ * @param hasContent - Reads whether a slot has content.
121
+ */
122
+ reconcile(hasContent) {
123
+ const page = this.pageSlot?.nativeElement;
124
+ if (!page)
125
+ return;
126
+ // React renders the projected page body bare: it stands in the capture point's place
127
+ // and the point itself leaves the page.
128
+ placeContentBefore(page, page);
129
+ setElementPresent(page, false);
130
+ this.routed.set(!hasContent(page));
131
+ }
99
132
  /**
100
133
  * The current class map.
101
134
  * @returns The UIClassMap.
@@ -193,21 +226,28 @@ export class TopNavLayout {
193
226
  : cm.cn(cm.textMuted, cm.topNavLayoutNavItemIdle));
194
227
  }
195
228
  static ɵfac = function TopNavLayout_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TopNavLayout)(); };
196
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TopNavLayout, selectors: [["div", "mol-top-nav-layout", ""]], hostVars: 3, hostBindings: function TopNavLayout_HostBindings(rf, ctx) { if (rf & 2) {
229
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TopNavLayout, selectors: [["div", "mol-top-nav-layout", ""]], viewQuery: function TopNavLayout_Query(rf, ctx) { if (rf & 1) {
230
+ i0.ɵɵviewQuery(_c0, 5);
231
+ } if (rf & 2) {
232
+ let _t;
233
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.pageSlot = _t.first);
234
+ } }, hostVars: 3, hostBindings: function TopNavLayout_HostBindings(rf, ctx) { if (rf & 2) {
197
235
  i0.ɵɵattribute("data-mol-id", ctx.dataMolId ?? null);
198
236
  i0.ɵɵclassMap(ctx.classes());
199
- } }, inputs: { appName: "appName", logoTo: "logoTo", navItems: "navItems", navAriaLabel: "navAriaLabel", className: "className", dataMolId: "dataMolId" }, ngContentSelectors: _c1, decls: 10, vars: 11, consts: [[3, "molLink"], [3, "molLink", "class"], ["aria-hidden", "true", 3, "class"], ["aria-hidden", "true"]], template: function TopNavLayout_Template(rf, ctx) { if (rf & 1) {
200
- i0.ɵɵprojectionDef(_c0);
201
- i0.ɵɵelementStart(0, "header")(1, "div")(2, "a", 0);
237
+ } }, inputs: { appName: "appName", logoTo: "logoTo", navItems: "navItems", navAriaLabel: "navAriaLabel", className: "className", dataMolId: "dataMolId" }, features: [i0.ɵɵHostDirectivesFeature([i1.MolPlacement])], ngContentSelectors: _c2, decls: 13, vars: 12, consts: [["pageSlot", ""], [3, "molLink"], [3, "molLink", "class"], ["aria-hidden", "true", 3, "class"], ["aria-hidden", "true"]], template: function TopNavLayout_Template(rf, ctx) { if (rf & 1) {
238
+ i0.ɵɵprojectionDef(_c1);
239
+ i0.ɵɵelementStart(0, "header")(1, "div")(2, "a", 1);
202
240
  i0.ɵɵtext(3);
203
241
  i0.ɵɵelementEnd();
204
242
  i0.ɵɵelementStart(4, "nav");
205
- i0.ɵɵrepeaterCreate(5, TopNavLayout_For_6_Template, 4, 9, "a", 1, _forTrack0);
243
+ i0.ɵɵrepeaterCreate(5, TopNavLayout_For_6_Template, 4, 9, "a", 2, _forTrack0);
206
244
  i0.ɵɵelementEnd();
207
245
  i0.ɵɵprojection(7);
208
246
  i0.ɵɵelementEnd()();
209
- i0.ɵɵelementStart(8, "main");
210
- i0.ɵɵprojection(9, 1);
247
+ i0.ɵɵelementStart(8, "main")(9, "span", null, 0);
248
+ i0.ɵɵprojection(11, 1);
249
+ i0.ɵɵelementEnd();
250
+ i0.ɵɵconditionalCreate(12, TopNavLayout_Conditional_12_Template, 1, 0, "mol-routed-view");
211
251
  i0.ɵɵelementEnd();
212
252
  } if (rf & 2) {
213
253
  i0.ɵɵclassMap(ctx.headerClasses());
@@ -223,14 +263,17 @@ export class TopNavLayout {
223
263
  i0.ɵɵattribute("aria-label", ctx.navLabel());
224
264
  i0.ɵɵadvance();
225
265
  i0.ɵɵrepeater(ctx.navItems);
226
- } }, dependencies: [Link], encapsulation: 2 });
266
+ i0.ɵɵadvance(7);
267
+ i0.ɵɵconditional(ctx.routed() ? 12 : -1);
268
+ } }, dependencies: [Link, RoutedView], encapsulation: 2 });
227
269
  }
228
270
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TopNavLayout, [{
229
271
  type: Component,
230
272
  args: [{
231
273
  selector: 'div[mol-top-nav-layout]',
232
274
  standalone: true,
233
- imports: [Link],
275
+ hostDirectives: [MolPlacement],
276
+ imports: [Link, RoutedView],
234
277
  inputs: ['appName', 'logoTo', 'navItems', 'navAriaLabel', 'className', 'dataMolId'],
235
278
  host: {
236
279
  '[class]': 'classes()',
@@ -257,8 +300,16 @@ export class TopNavLayout {
257
300
  <ng-content select="[slot=userMenu]"></ng-content>
258
301
  </div>
259
302
  </header>
260
- <main><ng-content></ng-content></main>`,
303
+ <main>
304
+ <span #pageSlot><ng-content></ng-content></span>
305
+ @if (routed()) {
306
+ <mol-routed-view />
307
+ }
308
+ </main>`,
261
309
  }]
262
- }], null, null); })();
263
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TopNavLayout, { className: "TopNavLayout", filePath: "top-nav-layout.component.ts", lineNumber: 77 }); })();
310
+ }], () => [], { pageSlot: [{
311
+ type: ViewChild,
312
+ args: ['pageSlot']
313
+ }] }); })();
314
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TopNavLayout, { className: "TopNavLayout", filePath: "top-nav-layout.component.ts", lineNumber: 94 }); })();
264
315
  //# sourceMappingURL=top-nav-layout.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"top-nav-layout.component.js","sourceRoot":"","sources":["../src/top-nav-layout.component.ts"],"names":[],"mappings":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-1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-top-nav-layout-angular",
3
- "version": "1.1.2",
3
+ "version": "1.2.1",
4
4
  "description": "Top navigation app shell: brand link + horizontal NavLinks + UserMenu slot, with a router outlet for nested routes",
5
5
  "homepage": "https://www.molecule.dev/packages/app-top-nav-layout-angular",
6
6
  "type": "module",
@@ -46,7 +46,7 @@
46
46
  "@angular/common": "^22.0.0",
47
47
  "@angular/core": "^22.0.0",
48
48
  "@angular/platform-browser": "^22.0.0",
49
- "@molecule/app-angular": "^3.6.0",
49
+ "@molecule/app-angular": "^3.13.0",
50
50
  "@molecule/app-ui": "^1.3.11",
51
51
  "@molecule/app-ui-angular": "^1.1.0"
52
52
  },
@@ -56,14 +56,14 @@
56
56
  "@angular/compiler-cli": "22.2.3",
57
57
  "@angular/core": "22.2.3",
58
58
  "@angular/platform-browser": "22.2.3",
59
- "@molecule/app-angular": "3.9.0",
59
+ "@molecule/app-angular": "3.13.0",
60
60
  "@molecule/app-framework-conformance": "0.0.0",
61
61
  "@molecule/app-i18n": "1.2.2",
62
62
  "@molecule/app-icons": "1.0.4",
63
63
  "@molecule/app-ui": "1.5.0",
64
- "@molecule/app-ui-angular": "1.3.1",
64
+ "@molecule/app-ui-angular": "1.5.1",
65
65
  "@types/node": "26.6.5",
66
- "jsdom": "30.1.3",
66
+ "jsdom": "31.0.1",
67
67
  "rxjs": "7.8.2",
68
68
  "typescript": "6.0.3",
69
69
  "vitest": "4.1.12",