@molecule/app-angular 3.12.1 → 3.14.0
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 +476 -18
- package/dist/dom-placement.d.ts +226 -10
- package/dist/dom-placement.d.ts.map +1 -1
- package/dist/dom-placement.js +944 -55
- package/dist/dom-placement.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/lazy-slot.d.ts +100 -0
- package/dist/lazy-slot.d.ts.map +1 -0
- package/dist/lazy-slot.js +152 -0
- package/dist/lazy-slot.js.map +1 -0
- package/dist/node.d.ts +25 -0
- package/dist/node.d.ts.map +1 -0
- package/dist/node.js +31 -0
- package/dist/node.js.map +1 -0
- package/dist/providers.d.ts +2 -1
- package/dist/providers.d.ts.map +1 -1
- package/dist/providers.js +3 -1
- package/dist/providers.js.map +1 -1
- package/dist/routed-view.d.ts +6 -2
- package/dist/routed-view.d.ts.map +1 -1
- package/dist/routed-view.js +15 -9
- package/dist/routed-view.js.map +1 -1
- package/dist/slot-copy.d.ts +59 -0
- package/dist/slot-copy.d.ts.map +1 -0
- package/dist/slot-copy.js +126 -0
- package/dist/slot-copy.js.map +1 -0
- package/package.json +1 -1
package/dist/routed-view.js
CHANGED
|
@@ -4,15 +4,18 @@
|
|
|
4
4
|
*
|
|
5
5
|
* @module
|
|
6
6
|
*/
|
|
7
|
-
import { Component, ViewChild, ViewContainerRef } from '@angular/core';
|
|
7
|
+
import { Component, ElementRef, inject, ViewChild, ViewContainerRef, } from '@angular/core';
|
|
8
|
+
import { MolPlacement, placeContentBefore, setElementPresent, usePlacement, } from './dom-placement.js';
|
|
8
9
|
import { routedViewOrThrow } from './routed-view-token.js';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "./dom-placement";
|
|
10
12
|
const _c0 = ["outlet"];
|
|
11
13
|
/**
|
|
12
14
|
* Renders the matched child route, through whichever routing bond the app wired (an outlet
|
|
13
15
|
* component under the angular-router bond). A layout or guard renders it where its page goes
|
|
14
16
|
* when it was given no projected content, so the component imports no router library. The page
|
|
15
|
-
* renders
|
|
17
|
+
* renders where this element stands, and the element itself is not in the page: React's
|
|
18
|
+
* `RoutedView` renders only the page.
|
|
16
19
|
*
|
|
17
20
|
* Throws an `I18nError` (`angular.error.noRoutedView`) when it is created and the routing bond
|
|
18
21
|
* has no routed view: project the page instead. Rendering nothing there would show a blank page
|
|
@@ -31,6 +34,12 @@ const _c0 = ["outlet"];
|
|
|
31
34
|
export class RoutedView {
|
|
32
35
|
constructor() {
|
|
33
36
|
this.view = routedViewOrThrow();
|
|
37
|
+
this.host = inject(ElementRef).nativeElement;
|
|
38
|
+
// Alone (no parent element), the host keeps the page: placeContentBefore needs a place.
|
|
39
|
+
usePlacement(() => {
|
|
40
|
+
placeContentBefore(this.host, this.host);
|
|
41
|
+
setElementPresent(this.host, false);
|
|
42
|
+
});
|
|
34
43
|
}
|
|
35
44
|
/** Creates the routed view's component at this element's anchor. */
|
|
36
45
|
ngOnInit() {
|
|
@@ -42,7 +51,7 @@ export class RoutedView {
|
|
|
42
51
|
} if (rf & 2) {
|
|
43
52
|
let _t;
|
|
44
53
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.outlet = _t.first);
|
|
45
|
-
} },
|
|
54
|
+
} }, features: [i0.ɵɵHostDirectivesFeature([i1.MolPlacement])], decls: 2, vars: 0, consts: [["outlet", ""]], template: function RoutedView_Template(rf, ctx) { if (rf & 1) {
|
|
46
55
|
i0.ɵɵdomElementContainer(0, null, 0);
|
|
47
56
|
} }, encapsulation: 2 }); }
|
|
48
57
|
}
|
|
@@ -51,15 +60,12 @@ export class RoutedView {
|
|
|
51
60
|
args: [{
|
|
52
61
|
selector: 'mol-routed-view',
|
|
53
62
|
standalone: true,
|
|
63
|
+
hostDirectives: [MolPlacement],
|
|
54
64
|
template: '<ng-container #outlet />',
|
|
55
|
-
host: {
|
|
56
|
-
'data-parity-unwrap': '',
|
|
57
|
-
style: 'display: contents',
|
|
58
|
-
},
|
|
59
65
|
}]
|
|
60
|
-
}],
|
|
66
|
+
}], () => [], { outlet: [{
|
|
61
67
|
type: ViewChild,
|
|
62
68
|
args: ['outlet', { read: ViewContainerRef, static: true }]
|
|
63
69
|
}] }); })();
|
|
64
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RoutedView, { className: "RoutedView", filePath: "routed-view.ts", lineNumber:
|
|
70
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RoutedView, { className: "RoutedView", filePath: "routed-view.ts", lineNumber: 52 }); })();
|
|
65
71
|
//# sourceMappingURL=routed-view.js.map
|
package/dist/routed-view.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routed-view.js","sourceRoot":"","sources":["../src/routed-view.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"routed-view.js","sourceRoot":"","sources":["../src/routed-view.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,SAAS,EACT,UAAU,EACV,MAAM,EAEN,SAAS,EACT,gBAAgB,GACjB,MAAM,eAAe,CAAA;AAEtB,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,YAAY,GACb,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;;;;AAE1D;;;;;;;;;;;;;;;;;;;;GAoBG;AAOH,MAAM,OAAO,UAAU;IAWrB;QAViB,SAAI,GAAG,iBAAiB,EAAE,CAAA;QAC1B,SAAI,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,aAA4B,CAAA;QAUrE,wFAAwF;QACxF,YAAY,CAAC,GAAG,EAAE;YAChB,kBAAkB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;YACxC,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;QACrC,CAAC,CAAC,CAAA;IACJ,CAAC;IAED,oEAAoE;IACpE,QAAQ;QACN,IAAI,CAAC,MAAM,EAAE,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACzC,CAAC;2GAtBU,UAAU;oEAAV,UAAU;mCASQ,gBAAgB;;;;;YAXlC,oCAAwB;;;iFAExB,UAAU;cANtB,SAAS;eAAC;gBACT,QAAQ,EAAE,iBAAiB;gBAC3B,UAAU,EAAE,IAAI;gBAChB,cAAc,EAAE,CAAC,YAAY,CAAC;gBAC9B,QAAQ,EAAE,0BAA0B;aACrC;;kBAUE,SAAS;mBAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE;;kFATlD,UAAU"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A slot's children rendered again in another place, as React renders `{children}` in more than
|
|
3
|
+
* one place.
|
|
4
|
+
*
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
7
|
+
import { type OnDestroy } from '@angular/core';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
/**
|
|
10
|
+
* Renders a slot's children here, as React renders `{children}` inside each row, node or gap:
|
|
11
|
+
* every place shows its own copy. Give it the slot's children (`SlotReader.nodes` of
|
|
12
|
+
* `usePlacement`) and keep the slot itself out of the page (`setElementPresent(capture,
|
|
13
|
+
* false)`), so the slot shows no copy of its own.
|
|
14
|
+
*
|
|
15
|
+
* A `*molLazy` child is stamped here from its template: a live instance per place, created with
|
|
16
|
+
* this copy and destroyed with it or when the child leaves the slot, as each of React's is. Any
|
|
17
|
+
* other child is copied as DOM (`cloneNode`), which has no listeners and no components, so
|
|
18
|
+
* content with either is written with `*molLazy` (`MolLazy`). A child that stays in the
|
|
19
|
+
* slot keeps its copy here when other children come and go.
|
|
20
|
+
*
|
|
21
|
+
* ```html
|
|
22
|
+
* @for (node of nodes(); track node.id) {
|
|
23
|
+
* <div><ng-container [molSlotCopy]="children()" /></div>
|
|
24
|
+
* }
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class MolSlotCopy implements OnDestroy {
|
|
28
|
+
/** The slot's children to render here, in order. */
|
|
29
|
+
molSlotCopy: readonly Node[];
|
|
30
|
+
/** Where the stamped instances go. */
|
|
31
|
+
private readonly views;
|
|
32
|
+
/** The directive's own place: the copies sit right before it. */
|
|
33
|
+
private readonly anchor;
|
|
34
|
+
/** The copies, in render order. */
|
|
35
|
+
private copies;
|
|
36
|
+
/** The children the copies were last rendered from. */
|
|
37
|
+
private rendered;
|
|
38
|
+
constructor();
|
|
39
|
+
/** Destroys every instance it stamped. */
|
|
40
|
+
ngOnDestroy(): void;
|
|
41
|
+
/** Renders the children it is given, keeping the copy of each child it already shows. */
|
|
42
|
+
private render;
|
|
43
|
+
/**
|
|
44
|
+
* Renders one child here.
|
|
45
|
+
*
|
|
46
|
+
* @param source - The slot's child.
|
|
47
|
+
* @returns Its copy.
|
|
48
|
+
*/
|
|
49
|
+
private create;
|
|
50
|
+
/**
|
|
51
|
+
* Takes one copy out of the page, destroying its instance.
|
|
52
|
+
*
|
|
53
|
+
* @param copy - The copy.
|
|
54
|
+
*/
|
|
55
|
+
private destroy;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MolSlotCopy, never>;
|
|
57
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MolSlotCopy, "[molSlotCopy]", never, { "molSlotCopy": { "alias": "molSlotCopy"; "required": true; }; }, {}, never, never, true, never>;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=slot-copy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slot-copy.d.ts","sourceRoot":"","sources":["../src/slot-copy.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAOL,KAAK,SAAS,EAEf,MAAM,eAAe,CAAA;;AAuBtB;;;;;;;;;;;;;;;;;GAiBG;AACH,qBACa,WAAY,YAAW,SAAS;IAC3C,oDAAoD;IACzB,WAAW,EAAE,SAAS,IAAI,EAAE,CAAK;IAE5D,sCAAsC;IACtC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA2B;IACjD,iEAAiE;IACjE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8C;IACrE,mCAAmC;IACnC,OAAO,CAAC,MAAM,CAAa;IAC3B,uDAAuD;IACvD,OAAO,CAAC,QAAQ,CAAsB;;IAQtC,0CAA0C;IAC1C,WAAW,IAAI,IAAI;IAKnB,yFAAyF;IACzF,OAAO,CAAC,MAAM;IA2Bd;;;;;OAKG;IACH,OAAO,CAAC,MAAM;IAQd;;;;OAIG;IACH,OAAO,CAAC,OAAO;yCAxEJ,WAAW;2CAAX,WAAW;CA4EvB"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A slot's children rendered again in another place, as React renders `{children}` in more than
|
|
3
|
+
* one place.
|
|
4
|
+
*
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
7
|
+
import { afterEveryRender, Directive, ElementRef, inject, Input, ViewContainerRef, } from '@angular/core';
|
|
8
|
+
import { lazySlotTemplate } from './lazy-slot.js';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
/**
|
|
11
|
+
* The nodes a copy puts in the page.
|
|
12
|
+
*
|
|
13
|
+
* @param copy - The copy.
|
|
14
|
+
* @returns Its nodes, in order.
|
|
15
|
+
*/
|
|
16
|
+
const nodesOf = (copy) => copy.view === null ? [copy.node] : copy.view.rootNodes;
|
|
17
|
+
/**
|
|
18
|
+
* Renders a slot's children here, as React renders `{children}` inside each row, node or gap:
|
|
19
|
+
* every place shows its own copy. Give it the slot's children (`SlotReader.nodes` of
|
|
20
|
+
* `usePlacement`) and keep the slot itself out of the page (`setElementPresent(capture,
|
|
21
|
+
* false)`), so the slot shows no copy of its own.
|
|
22
|
+
*
|
|
23
|
+
* A `*molLazy` child is stamped here from its template: a live instance per place, created with
|
|
24
|
+
* this copy and destroyed with it or when the child leaves the slot, as each of React's is. Any
|
|
25
|
+
* other child is copied as DOM (`cloneNode`), which has no listeners and no components, so
|
|
26
|
+
* content with either is written with `*molLazy` (`MolLazy`). A child that stays in the
|
|
27
|
+
* slot keeps its copy here when other children come and go.
|
|
28
|
+
*
|
|
29
|
+
* ```html
|
|
30
|
+
* @for (node of nodes(); track node.id) {
|
|
31
|
+
* <div><ng-container [molSlotCopy]="children()" /></div>
|
|
32
|
+
* }
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export class MolSlotCopy {
|
|
36
|
+
constructor() {
|
|
37
|
+
/** The slot's children to render here, in order. */
|
|
38
|
+
this.molSlotCopy = [];
|
|
39
|
+
/** Where the stamped instances go. */
|
|
40
|
+
this.views = inject(ViewContainerRef);
|
|
41
|
+
/** The directive's own place: the copies sit right before it. */
|
|
42
|
+
this.anchor = inject(ElementRef).nativeElement;
|
|
43
|
+
/** The copies, in render order. */
|
|
44
|
+
this.copies = [];
|
|
45
|
+
/** The children the copies were last rendered from. */
|
|
46
|
+
this.rendered = [];
|
|
47
|
+
// In the same phase as `MolLazy`, after it: a slot's own lazy children are stamped first,
|
|
48
|
+
// in the order React mounts them (the original before its copies).
|
|
49
|
+
afterEveryRender({ mixedReadWrite: () => this.render() });
|
|
50
|
+
}
|
|
51
|
+
/** Destroys every instance it stamped. */
|
|
52
|
+
ngOnDestroy() {
|
|
53
|
+
for (const copy of this.copies)
|
|
54
|
+
this.destroy(copy);
|
|
55
|
+
this.copies = [];
|
|
56
|
+
}
|
|
57
|
+
/** Renders the children it is given, keeping the copy of each child it already shows. */
|
|
58
|
+
render() {
|
|
59
|
+
// `SlotReader.nodes` returns the same array while the children are the same.
|
|
60
|
+
if (this.molSlotCopy === this.rendered)
|
|
61
|
+
return;
|
|
62
|
+
this.rendered = this.molSlotCopy;
|
|
63
|
+
const kept = new Map(this.copies.map((copy) => [copy.source, copy]));
|
|
64
|
+
const next = this.molSlotCopy.map((source) => {
|
|
65
|
+
const copy = kept.get(source);
|
|
66
|
+
if (copy === undefined)
|
|
67
|
+
return this.create(source);
|
|
68
|
+
kept.delete(source);
|
|
69
|
+
return copy;
|
|
70
|
+
});
|
|
71
|
+
for (const gone of kept.values())
|
|
72
|
+
this.destroy(gone);
|
|
73
|
+
// The stamped instances in their order, so Angular inserts each next to the right neighbour.
|
|
74
|
+
let index = 0;
|
|
75
|
+
for (const copy of next)
|
|
76
|
+
if (copy.view !== null)
|
|
77
|
+
this.views.move(copy.view, index++);
|
|
78
|
+
// Then every copy, back to front, right before the one that follows it.
|
|
79
|
+
let ref = this.anchor;
|
|
80
|
+
for (const copy of [...next].reverse()) {
|
|
81
|
+
const nodes = nodesOf(copy);
|
|
82
|
+
const first = nodes[0];
|
|
83
|
+
if (first === undefined)
|
|
84
|
+
continue;
|
|
85
|
+
if (nodes[nodes.length - 1]?.nextSibling !== ref)
|
|
86
|
+
ref.before(...nodes);
|
|
87
|
+
ref = first;
|
|
88
|
+
}
|
|
89
|
+
this.copies = next;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Renders one child here.
|
|
93
|
+
*
|
|
94
|
+
* @param source - The slot's child.
|
|
95
|
+
* @returns Its copy.
|
|
96
|
+
*/
|
|
97
|
+
create(source) {
|
|
98
|
+
const template = lazySlotTemplate(source);
|
|
99
|
+
if (template === undefined)
|
|
100
|
+
return { source, view: null, node: source.cloneNode(true) };
|
|
101
|
+
const view = this.views.createEmbeddedView(template);
|
|
102
|
+
view.detectChanges();
|
|
103
|
+
return { source, view, node: null };
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Takes one copy out of the page, destroying its instance.
|
|
107
|
+
*
|
|
108
|
+
* @param copy - The copy.
|
|
109
|
+
*/
|
|
110
|
+
destroy(copy) {
|
|
111
|
+
if (copy.view !== null)
|
|
112
|
+
copy.view.destroy();
|
|
113
|
+
else
|
|
114
|
+
copy.node.remove();
|
|
115
|
+
}
|
|
116
|
+
static { this.ɵfac = function MolSlotCopy_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MolSlotCopy)(); }; }
|
|
117
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: MolSlotCopy, selectors: [["", "molSlotCopy", ""]], inputs: { molSlotCopy: "molSlotCopy" } }); }
|
|
118
|
+
}
|
|
119
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MolSlotCopy, [{
|
|
120
|
+
type: Directive,
|
|
121
|
+
args: [{ selector: '[molSlotCopy]', standalone: true }]
|
|
122
|
+
}], () => [], { molSlotCopy: [{
|
|
123
|
+
type: Input,
|
|
124
|
+
args: [{ required: true }]
|
|
125
|
+
}] }); })();
|
|
126
|
+
//# sourceMappingURL=slot-copy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slot-copy.js","sourceRoot":"","sources":["../src/slot-copy.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,gBAAgB,EAChB,SAAS,EACT,UAAU,EAEV,MAAM,EACN,KAAK,EAEL,gBAAgB,GACjB,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;;AAYjD;;;;;GAKG;AACH,MAAM,OAAO,GAAG,CAAC,IAAU,EAAU,EAAE,CACrC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAY,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,IAAI,CAAC,SAAoB,CAAA;AAE5E;;;;;;;;;;;;;;;;;GAiBG;AAEH,MAAM,OAAO,WAAW;IAatB;QAZA,oDAAoD;QACzB,gBAAW,GAAoB,EAAE,CAAA;QAE5D,sCAAsC;QACr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