@molecule/app-top-nav-layout-angular 1.2.0 → 1.2.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.
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-22T17:17:43.986Z
6
+ Generated: 2026-11-28T22:55:49.248Z
7
7
  -->
8
8
 
9
9
  # @molecule/app-top-nav-layout-angular
@@ -135,6 +135,7 @@ rendered as-is: pass an already-translated string.
135
135
  @Component({
136
136
  selector: 'div[mol-top-nav-layout]',
137
137
  standalone: true,
138
+ hostDirectives: [MolPlacement],
138
139
  imports: [Link, RoutedView],
139
140
  inputs: ['appName', 'logoTo', 'navItems', 'navAriaLabel', 'className', 'dataMolId'],
140
141
  host: {
@@ -163,13 +164,13 @@ rendered as-is: pass an already-translated string.
163
164
  </div>
164
165
  </header>
165
166
  <main>
166
- <span #pageSlot data-parity-unwrap style="display: contents"><ng-content></ng-content></span>
167
+ <span #pageSlot><ng-content></ng-content></span>
167
168
  @if (routed()) {
168
169
  <mol-routed-view />
169
170
  }
170
171
  </main>`,
171
172
  })
172
- export class TopNavLayout implements AfterViewInit, AfterViewChecked, OnDestroy {
173
+ export class TopNavLayout implements OnDestroy {
173
174
  /** Brand text shown in the top-left link (typically the app name). */
174
175
  appName = ''
175
176
  /** Path the brand link navigates to (defaults to `'/'` at read time). */
@@ -205,25 +206,29 @@ export class TopNavLayout implements AfterViewInit, AfterViewChecked, OnDestroy
205
206
 
206
207
  private readonly stop = this.router.subscribe(() => this.location.set(this.router.getLocation()))
207
208
 
209
+ constructor() {
210
+ usePlacement((hasContent) => this.reconcile(hasContent))
211
+ }
212
+
208
213
  /** Stops listening to the router when the component goes away. */
209
214
  ngOnDestroy(): void {
210
215
  this.stop()
211
216
  }
212
217
 
213
- /** Decides the `<main>` content once the capture point exists. */
214
- ngAfterViewInit(): void {
215
- this.syncRouted()
216
- }
217
-
218
- /** Follows a page body projected or removed later. */
219
- ngAfterViewChecked(): void {
220
- this.syncRouted()
221
- }
222
-
223
- /** React renders `children ?? <RoutedView />`: the routed view only without a page body. */
224
- private syncRouted(): void {
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
225
  const page = this.pageSlot?.nativeElement
226
- if (page) this.routed.set(!hasNodes(page))
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))
227
232
  }
228
233
 
229
234
  /**
@@ -361,7 +366,7 @@ Peer dependencies:
361
366
  - `@angular/common` ^22.0.0
362
367
  - `@angular/core` ^22.0.0
363
368
  - `@angular/platform-browser` ^22.0.0
364
- - `@molecule/app-angular` ^3.11.0
369
+ - `@molecule/app-angular` ^3.13.0 || ^4.0.0
365
370
  - `@molecule/app-ui` ^1.3.11
366
371
  - `@molecule/app-ui-angular` ^1.1.0
367
372
 
@@ -3,10 +3,11 @@
3
3
  *
4
4
  * @module
5
5
  */
6
- import { type AfterViewChecked, type AfterViewInit, type OnDestroy } from '@angular/core';
6
+ 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
  *
@@ -21,7 +22,7 @@ import * as i0 from "@angular/core";
21
22
  * loaded by the host app. Styling comes from the bonded ClassMap. `label` is
22
23
  * rendered as-is: pass an already-translated string.
23
24
  */
24
- export declare class TopNavLayout implements AfterViewInit, AfterViewChecked, OnDestroy {
25
+ export declare class TopNavLayout implements OnDestroy {
25
26
  /** Brand text shown in the top-left link (typically the app name). */
26
27
  appName: string;
27
28
  /** Path the brand link navigates to (defaults to `'/'` at read time). */
@@ -50,14 +51,16 @@ export declare class TopNavLayout implements AfterViewInit, AfterViewChecked, On
50
51
  /** The current location, kept current so active items follow navigation. */
51
52
  private readonly location;
52
53
  private readonly stop;
54
+ constructor();
53
55
  /** Stops listening to the router when the component goes away. */
54
56
  ngOnDestroy(): void;
55
- /** Decides the `<main>` content once the capture point exists. */
56
- ngAfterViewInit(): void;
57
- /** Follows a page body projected or removed later. */
58
- ngAfterViewChecked(): void;
59
- /** React renders `children ?? <RoutedView />`: the routed view only without a page body. */
60
- private syncRouted;
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;
61
64
  /**
62
65
  * The current class map.
63
66
  * @returns The UIClassMap.
@@ -124,6 +127,6 @@ export declare class TopNavLayout implements AfterViewInit, AfterViewChecked, On
124
127
  */
125
128
  itemClasses(item: TopNavItem): string;
126
129
  static ɵfac: i0.ɵɵFactoryDeclaration<TopNavLayout, never>;
127
- 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: {}; }]>;
128
131
  }
129
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,EACL,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAGlB,KAAK,SAAS,EAGf,MAAM,eAAe,CAAA;AAGtB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAIlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;;AAmB5C;;;;;;;;;;;;;GAaG;AACH,qBAqCa,YAAa,YAAW,aAAa,EAAE,gBAAgB,EAAE,SAAS;IAC7E,sEAAsE;IACtE,OAAO,SAAK;IACZ,yEAAyE;IACzE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,mDAAmD;IACnD,QAAQ,EAAE,aAAa,CAAC,UAAU,CAAC,CAAK;IACxC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,gDAAgD;IACzB,OAAO,CAAC,QAAQ,CAAC,CAAyB;IAEjE;;;OAGG;IACH,QAAQ,CAAC,MAAM,kDAAgB;IAE/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsB;IAE7C,uEAAuE;IACvE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAmB;IAExC,4EAA4E;IAC5E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoC;IAE7D,OAAO,CAAC,QAAQ,CAAC,IAAI,CAA4E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E,MAAM,CAAA;IACrB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,gDAAgD;IACzB,OAAO,CAAC,QAAQ,CAAC,CAAyB;IAEjE;;;OAGG;IACH,QAAQ,CAAC,MAAM,kDAAgB;IAE/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsB;IAE7C,uEAAuE;IACvE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAmB;IAExC,4EAA4E;IAC5E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoC;IAE7D,OAAO,CAAC,QAAQ,CAAC,IAAI,CAA4E;;IAMjG,kEAAkE;IAClE,WAAW,IAAI,IAAI;IAInB;;;;;OAKG;IACH,OAAO,CAAC,SAAS;IAUjB;;;OAGG;IACH,EAAE,IAAI,UAAU;IAIhB;;;OAGG;IACH,OAAO,IAAI,MAAM;IAIjB;;;OAGG;IACH,aAAa,IAAI,MAAM;IAIvB;;;OAGG;IACH,UAAU,IAAI,MAAM;IAWpB;;;OAGG;IACH,YAAY,IAAI,MAAM;IAItB;;;OAGG;IACH,UAAU,IAAI,MAAM;IAIpB;;;OAGG;IACH,WAAW,IAAI,MAAM;IAIrB;;;OAGG;IACH,YAAY,IAAI,MAAM;IAItB;;;;OAIG;IACH,QAAQ,IAAI,MAAM;IAIlB;;;;OAIG;IACH,QAAQ,IAAI,MAAM;IASlB;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO;IAInC;;;;;OAKG;IACH,WAAW,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM;yCA1K1B,YAAY;2CAAZ,YAAY;CAwLxB"}
@@ -3,17 +3,17 @@
3
3
  *
4
4
  * @module
5
5
  */
6
- import { Component, signal, ViewChild, } from '@angular/core';
7
- import { Link, RoutedView, 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
- import { hasNodes } from './slot-dom.js';
10
9
  import * as i0 from "@angular/core";
10
+ import * as i1 from "@molecule/app-angular";
11
11
  const _c0 = ["pageSlot"];
12
12
  const _c1 = [[["", "slot", "usermenu"]], "*"];
13
13
  const _c2 = ["[slot=userMenu]", "*"];
14
14
  const _forTrack0 = ($index, $item) => $item.key;
15
15
  function TopNavLayout_For_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
16
- i0.ɵɵelementStart(0, "span", 5);
16
+ i0.ɵɵelementStart(0, "span", 4);
17
17
  i0.ɵɵtext(1);
18
18
  i0.ɵɵelementEnd();
19
19
  } if (rf & 2) {
@@ -25,7 +25,7 @@ function TopNavLayout_For_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
25
25
  } }
26
26
  function TopNavLayout_For_6_Template(rf, ctx) { if (rf & 1) {
27
27
  i0.ɵɵelementStart(0, "a", 1);
28
- i0.ɵɵconditionalCreate(1, TopNavLayout_For_6_Conditional_1_Template, 2, 3, "span", 4);
28
+ i0.ɵɵconditionalCreate(1, TopNavLayout_For_6_Conditional_1_Template, 2, 3, "span", 3);
29
29
  i0.ɵɵelementStart(2, "span");
30
30
  i0.ɵɵtext(3);
31
31
  i0.ɵɵelementEnd()();
@@ -106,23 +106,28 @@ export class TopNavLayout {
106
106
  location = signal(this.router.getLocation(), /* @ts-ignore */
107
107
  ...(ngDevMode ? [{ debugName: "location" }] : /* istanbul ignore next */ []));
108
108
  stop = this.router.subscribe(() => this.location.set(this.router.getLocation()));
109
+ constructor() {
110
+ usePlacement((hasContent) => this.reconcile(hasContent));
111
+ }
109
112
  /** Stops listening to the router when the component goes away. */
110
113
  ngOnDestroy() {
111
114
  this.stop();
112
115
  }
113
- /** Decides the `<main>` content once the capture point exists. */
114
- ngAfterViewInit() {
115
- this.syncRouted();
116
- }
117
- /** Follows a page body projected or removed later. */
118
- ngAfterViewChecked() {
119
- this.syncRouted();
120
- }
121
- /** React renders `children ?? <RoutedView />`: the routed view only without a page body. */
122
- syncRouted() {
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
123
  const page = this.pageSlot?.nativeElement;
124
- if (page)
125
- this.routed.set(!hasNodes(page));
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));
126
131
  }
127
132
  /**
128
133
  * The current class map.
@@ -229,7 +234,7 @@ export class TopNavLayout {
229
234
  } }, hostVars: 3, hostBindings: function TopNavLayout_HostBindings(rf, ctx) { if (rf & 2) {
230
235
  i0.ɵɵattribute("data-mol-id", ctx.dataMolId ?? null);
231
236
  i0.ɵɵclassMap(ctx.classes());
232
- } }, inputs: { appName: "appName", logoTo: "logoTo", navItems: "navItems", navAriaLabel: "navAriaLabel", className: "className", dataMolId: "dataMolId" }, ngContentSelectors: _c2, decls: 13, vars: 12, consts: [["pageSlot", ""], [3, "molLink"], [3, "molLink", "class"], ["data-parity-unwrap", "", 2, "display", "contents"], ["aria-hidden", "true", 3, "class"], ["aria-hidden", "true"]], template: function TopNavLayout_Template(rf, ctx) { if (rf & 1) {
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) {
233
238
  i0.ɵɵprojectionDef(_c1);
234
239
  i0.ɵɵelementStart(0, "header")(1, "div")(2, "a", 1);
235
240
  i0.ɵɵtext(3);
@@ -239,7 +244,7 @@ export class TopNavLayout {
239
244
  i0.ɵɵelementEnd();
240
245
  i0.ɵɵprojection(7);
241
246
  i0.ɵɵelementEnd()();
242
- i0.ɵɵelementStart(8, "main")(9, "span", 3, 0);
247
+ i0.ɵɵelementStart(8, "main")(9, "span", null, 0);
243
248
  i0.ɵɵprojection(11, 1);
244
249
  i0.ɵɵelementEnd();
245
250
  i0.ɵɵconditionalCreate(12, TopNavLayout_Conditional_12_Template, 1, 0, "mol-routed-view");
@@ -267,6 +272,7 @@ export class TopNavLayout {
267
272
  args: [{
268
273
  selector: 'div[mol-top-nav-layout]',
269
274
  standalone: true,
275
+ hostDirectives: [MolPlacement],
270
276
  imports: [Link, RoutedView],
271
277
  inputs: ['appName', 'logoTo', 'navItems', 'navAriaLabel', 'className', 'dataMolId'],
272
278
  host: {
@@ -295,15 +301,15 @@ export class TopNavLayout {
295
301
  </div>
296
302
  </header>
297
303
  <main>
298
- <span #pageSlot data-parity-unwrap style="display: contents"><ng-content></ng-content></span>
304
+ <span #pageSlot><ng-content></ng-content></span>
299
305
  @if (routed()) {
300
306
  <mol-routed-view />
301
307
  }
302
308
  </main>`,
303
309
  }]
304
- }], null, { pageSlot: [{
310
+ }], () => [], { pageSlot: [{
305
311
  type: ViewChild,
306
312
  args: ['pageSlot']
307
313
  }] }); })();
308
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TopNavLayout, { className: "TopNavLayout", filePath: "top-nav-layout.component.ts", lineNumber: 92 }); })();
314
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TopNavLayout, { className: "TopNavLayout", filePath: "top-nav-layout.component.ts", lineNumber: 94 }); })();
309
315
  //# sourceMappingURL=top-nav-layout.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"top-nav-layout.component.js","sourceRoot":"","sources":["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;;YA1BU,kCAAyB;YACnC,cAAsB;YAAtB,+BAAsB;YACC,cAAwB;YAAxB,iCAAwB;YAA/C,wCAAsB;YAA0B,cAAa;YAAb,iCAAa;YAC3D,cAAsB;YAAtB,+BAAsB;;YACzB,cAYC;YAZD,2BAYC;YAOL,eAEC;YAFD,wCAEC;4BA/BK,IAAI,EAAE,UAAU;;iFAkCf,YAAY;cAtCxB,SAAS;eAAC;gBACT,QAAQ,EAAE,yBAAyB;gBACnC,UAAU,EAAE,IAAI;gBAChB,cAAc,EAAE,CAAC,YAAY,CAAC;gBAC9B,OAAO,EAAE,CAAC,IAAI,EAAE,UAAU,CAAC;gBAC3B,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,CAAC;gBACnF,IAAI,EAAE;oBACJ,SAAS,EAAE,WAAW;oBACtB,oBAAoB,EAAE,mBAAmB;iBAC1C;gBACD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;YA0BA;aACX;;kBAmBE,SAAS;mBAAC,UAAU;;kFAlBV,YAAY"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-top-nav-layout-angular",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
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.11.0",
49
+ "@molecule/app-angular": "^3.13.0 || ^4.0.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.11.0",
59
+ "@molecule/app-angular": "4.0.0",
60
60
  "@molecule/app-framework-conformance": "0.0.0",
61
- "@molecule/app-i18n": "1.2.2",
61
+ "@molecule/app-i18n": "1.4.0",
62
62
  "@molecule/app-icons": "1.0.4",
63
- "@molecule/app-ui": "1.5.0",
64
- "@molecule/app-ui-angular": "1.4.0",
63
+ "@molecule/app-ui": "1.17.0",
64
+ "@molecule/app-ui-angular": "1.13.3",
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",
@@ -1,13 +0,0 @@
1
- /**
2
- * DOM helper for the page-body capture point of {@link TopNavLayout}.
3
- *
4
- * @module
5
- */
6
- /**
7
- * Whether an ng-content wrapper captured any element or text node.
8
- *
9
- * @param el - The wrapper element.
10
- * @returns True when at least one projected node exists.
11
- */
12
- export declare const hasNodes: (el: Element | undefined | null) => boolean;
13
- //# sourceMappingURL=slot-dom.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"slot-dom.d.ts","sourceRoot":"","sources":["../src/slot-dom.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,GAAI,IAAI,OAAO,GAAG,SAAS,GAAG,IAAI,KAAG,OAOzD,CAAA"}
package/dist/slot-dom.js DELETED
@@ -1,23 +0,0 @@
1
- /**
2
- * DOM helper for the page-body capture point of {@link TopNavLayout}.
3
- *
4
- * @module
5
- */
6
- /**
7
- * Whether an ng-content wrapper captured any element or text node.
8
- *
9
- * @param el - The wrapper element.
10
- * @returns True when at least one projected node exists.
11
- */
12
- export const hasNodes = (el) => {
13
- if (!el)
14
- return false;
15
- for (const node of Array.from(el.childNodes)) {
16
- if (node.nodeType === 1)
17
- return true;
18
- if (node.nodeType === 3 && (node.textContent ?? '').trim())
19
- return true;
20
- }
21
- return false;
22
- };
23
- //# sourceMappingURL=slot-dom.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"slot-dom.js","sourceRoot":"","sources":["../src/slot-dom.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAA8B,EAAW,EAAE;IAClE,IAAI,CAAC,EAAE;QAAE,OAAO,KAAK,CAAA;IACrB,KAAK,MAAM,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7C,IAAI,IAAI,CAAC,QAAQ,KAAK,CAAC;YAAE,OAAO,IAAI,CAAA;QACpC,IAAI,IAAI,CAAC,QAAQ,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE;YAAE,OAAO,IAAI,CAAA;IACzE,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA"}