@molecule/app-query-angular 1.4.0 → 1.4.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-
|
|
6
|
+
Generated: 2026-11-23T14:53:39.904Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/app-query-angular
|
|
@@ -410,7 +410,7 @@ removeFromPage adapter; no row or total property is guessed.
|
|
|
410
410
|
## Installation
|
|
411
411
|
|
|
412
412
|
```bash
|
|
413
|
-
npm install @molecule/app-query-angular @angular/common @angular/core @angular/platform-browser @molecule/app-query
|
|
413
|
+
npm install @molecule/app-query-angular @angular/common @angular/core @angular/platform-browser @molecule/app-angular @molecule/app-query
|
|
414
414
|
```
|
|
415
415
|
|
|
416
416
|
## API
|
|
@@ -749,12 +749,9 @@ also gets the ID as `a1` (`let-id`), `error` gets the error value
|
|
|
749
749
|
@Component({
|
|
750
750
|
selector: 'mol-query-content',
|
|
751
751
|
standalone: true,
|
|
752
|
+
hostDirectives: [MolPlacement],
|
|
752
753
|
template: '<ng-container #outlet></ng-container>',
|
|
753
754
|
inputs: ['query', 'pending', 'missing', 'children', 'error', 'empty', 'recordKey', 'getRecordId'],
|
|
754
|
-
host: {
|
|
755
|
-
'data-parity-unwrap': '',
|
|
756
|
-
style: 'display: contents',
|
|
757
|
-
},
|
|
758
755
|
})
|
|
759
756
|
export class QueryContent<T = unknown> implements DoCheck, OnChanges {
|
|
760
757
|
/** State from useQuery, or any compatible query observer. */
|
|
@@ -801,7 +798,16 @@ export class QueryContent<T = unknown> implements DoCheck, OnChanges {
|
|
|
801
798
|
/** The mounted branch view, when a template is showing. */
|
|
802
799
|
private view?: EmbeddedViewRef<unknown>
|
|
803
800
|
|
|
801
|
+
/** The component's host element (React renders the branch and nothing of its own). */
|
|
802
|
+
private readonly host: ElementRef<HTMLElement> = inject(ElementRef)
|
|
803
|
+
|
|
804
804
|
constructor() {
|
|
805
|
+
// The branch renders in front of the host's place and the host leaves the page, so the
|
|
806
|
+
// DOM is exactly the branch's own (React returns the branch element directly).
|
|
807
|
+
usePlacement(() => {
|
|
808
|
+
placeContentBefore(this.host.nativeElement, this.host.nativeElement)
|
|
809
|
+
setElementPresent(this.host.nativeElement, false)
|
|
810
|
+
})
|
|
805
811
|
// A `useQuery` result exposes its state through getters that read the
|
|
806
812
|
// observer's own signals. React re-renders a `QueryContent`'s parent on
|
|
807
813
|
// every state change; Angular only re-checks a view something marked, and
|
|
@@ -1085,6 +1091,7 @@ Peer dependencies:
|
|
|
1085
1091
|
- `@angular/common` ^22.0.0
|
|
1086
1092
|
- `@angular/core` ^22.0.0
|
|
1087
1093
|
- `@angular/platform-browser` ^22.0.0
|
|
1094
|
+
- `@molecule/app-angular` ^3.13.0
|
|
1088
1095
|
- `@molecule/app-query` ^1.2.0
|
|
1089
1096
|
|
|
1090
1097
|
### Runtime Dependencies
|
|
@@ -1092,6 +1099,7 @@ Peer dependencies:
|
|
|
1092
1099
|
- `@angular/common`
|
|
1093
1100
|
- `@angular/core`
|
|
1094
1101
|
- `@angular/platform-browser`
|
|
1102
|
+
- `@molecule/app-angular`
|
|
1095
1103
|
- `@molecule/app-query`
|
|
1096
1104
|
|
|
1097
1105
|
- **`useQuery` reads the cache synchronously on the first render.** A
|
|
@@ -2,13 +2,16 @@
|
|
|
2
2
|
* Render resource-dependent content only after its document exists — the
|
|
3
3
|
* Angular counterpart of `QueryContent` in `@molecule/app-query-react`, with
|
|
4
4
|
* the node-valued props as `TemplateRef`s. The component is headless: it owns
|
|
5
|
-
* no translations and no styling, and
|
|
6
|
-
* host
|
|
5
|
+
* no translations and no styling, and renders the chosen branch in front of the
|
|
6
|
+
* host's place and takes its own element out of the DOM
|
|
7
|
+
* (`placeContentBefore` + `setElementPresent`), so the DOM is exactly the
|
|
8
|
+
* branch's own.
|
|
7
9
|
* @module
|
|
8
10
|
*/
|
|
9
11
|
import { type DoCheck, type OnChanges, type TemplateRef } from '@angular/core';
|
|
10
12
|
import type { QueryContentErrorContext, QueryContentProps, QueryRecordContentProps } from './types.js';
|
|
11
13
|
import * as i0 from "@angular/core";
|
|
14
|
+
import * as i1 from "@molecule/app-angular";
|
|
12
15
|
/**
|
|
13
16
|
* The loaded-data branch receives a non-null document. Pending, failed initial
|
|
14
17
|
* reads and missing records never mount that branch, so its actions cannot
|
|
@@ -68,6 +71,8 @@ export declare class QueryContent<T = unknown> implements DoCheck, OnChanges {
|
|
|
68
71
|
private readonly context;
|
|
69
72
|
/** The mounted branch view, when a template is showing. */
|
|
70
73
|
private view?;
|
|
74
|
+
/** The component's host element (React renders the branch and nothing of its own). */
|
|
75
|
+
private readonly host;
|
|
71
76
|
constructor();
|
|
72
77
|
/**
|
|
73
78
|
* The branch the current query state shows.
|
|
@@ -101,6 +106,6 @@ export declare class QueryContent<T = unknown> implements DoCheck, OnChanges {
|
|
|
101
106
|
*/
|
|
102
107
|
private update;
|
|
103
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<QueryContent<any>, never>;
|
|
104
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QueryContent<any>, "mol-query-content", never, { "query": { "alias": "query"; "required": false; }; "pending": { "alias": "pending"; "required": false; }; "missing": { "alias": "missing"; "required": false; }; "children": { "alias": "children"; "required": false; }; "error": { "alias": "error"; "required": false; }; "empty": { "alias": "empty"; "required": false; }; "recordKey": { "alias": "recordKey"; "required": false; }; "getRecordId": { "alias": "getRecordId"; "required": false; }; }, {}, never, never, true,
|
|
109
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QueryContent<any>, "mol-query-content", never, { "query": { "alias": "query"; "required": false; }; "pending": { "alias": "pending"; "required": false; }; "missing": { "alias": "missing"; "required": false; }; "children": { "alias": "children"; "required": false; }; "error": { "alias": "error"; "required": false; }; "empty": { "alias": "empty"; "required": false; }; "recordKey": { "alias": "recordKey"; "required": false; }; "getRecordId": { "alias": "getRecordId"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.MolPlacement; inputs: {}; outputs: {}; }]>;
|
|
105
110
|
}
|
|
106
111
|
//# sourceMappingURL=query-content.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-content.component.d.ts","sourceRoot":"","sources":["../src/query-content.component.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"query-content.component.d.ts","sourceRoot":"","sources":["../src/query-content.component.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAGL,KAAK,OAAO,EAKZ,KAAK,SAAS,EAEd,KAAK,WAAW,EAIjB,MAAM,eAAe,CAAA;AAStB,OAAO,KAAK,EACV,wBAAwB,EACxB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,YAAY,CAAA;;;AAQnB;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAOa,YAAY,CAAC,CAAC,GAAG,OAAO,CAAE,YAAW,OAAO,EAAE,SAAS;IAClE,6DAA6D;IAC7D,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAwD;IAC5F;;;;OAIG;IACH,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAY;IACxD;;;OAGG;IACH,WAAW,EAAE,uBAAuB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,aAAa,CAAC,GAAG,SAAS,CAAY;IAC/F,kFAAkF;IAClF,QAAQ,EACN,iBAAiB,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG,uBAAuB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,UAAU,CAAC,CACtF;IACN,2FAA2F;IAC3F,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,IAAI,CAAO;IAC3C,qFAAqF;IACrF,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,IAAI,CAAO;IAC3C,yEAAyE;IACzE,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAY;IAChD,6EAA6E;IAC7E,KAAK,EAAE,WAAW,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAO;IAE1D,uCAAuC;IAEvC,OAAO,CAAC,MAAM,CAAmB;IACjC,sEAAsE;IACtE,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA4B;IAC3D,yFAAyF;IACzF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoD;IAC7E,sCAAsC;IACtC,OAAO,CAAC,OAAO,CAAoC;IACnD,mFAAmF;IACnF,OAAO,CAAC,aAAa,CAAqC;IAC1D,sFAAsF;IACtF,OAAO,CAAC,SAAS,CAAyC;IAC1D,oEAAoE;IACpE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA8B;IACtD,2DAA2D;IAC3D,OAAO,CAAC,IAAI,CAAC,CAA0B;IAEvC,sFAAsF;IACtF,OAAO,CAAC,QAAQ,CAAC,IAAI,CAA8C;;IA6BnE;;;OAGG;IACH,OAAO,CAAC,MAAM;IAoCd;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAStB;;;OAGG;IACH,WAAW,IAAI,IAAI;IAInB;;;;OAIG;IACH,SAAS,IAAI,IAAI;IAIjB;;;;;;OAMG;IACH,OAAO,CAAC,MAAM;yCA1JH,YAAY;2CAAZ,YAAY;CA4KxB"}
|
|
@@ -2,12 +2,16 @@
|
|
|
2
2
|
* Render resource-dependent content only after its document exists — the
|
|
3
3
|
* Angular counterpart of `QueryContent` in `@molecule/app-query-react`, with
|
|
4
4
|
* the node-valued props as `TemplateRef`s. The component is headless: it owns
|
|
5
|
-
* no translations and no styling, and
|
|
6
|
-
* host
|
|
5
|
+
* no translations and no styling, and renders the chosen branch in front of the
|
|
6
|
+
* host's place and takes its own element out of the DOM
|
|
7
|
+
* (`placeContentBefore` + `setElementPresent`), so the DOM is exactly the
|
|
8
|
+
* branch's own.
|
|
7
9
|
* @module
|
|
8
10
|
*/
|
|
9
|
-
import { ChangeDetectorRef, Component, effect, inject, signal, untracked, ViewChild, ViewContainerRef, } from '@angular/core';
|
|
11
|
+
import { ChangeDetectorRef, Component, effect, ElementRef, inject, signal, untracked, ViewChild, ViewContainerRef, } from '@angular/core';
|
|
12
|
+
import { MolPlacement, placeContentBefore, setElementPresent, usePlacement, } from '@molecule/app-angular';
|
|
10
13
|
import * as i0 from "@angular/core";
|
|
14
|
+
import * as i1 from "@molecule/app-angular";
|
|
11
15
|
const _c0 = ["outlet"];
|
|
12
16
|
/**
|
|
13
17
|
* The loaded-data branch receives a non-null document. Pending, failed initial
|
|
@@ -69,7 +73,15 @@ export class QueryContent {
|
|
|
69
73
|
context = {};
|
|
70
74
|
/** The mounted branch view, when a template is showing. */
|
|
71
75
|
view;
|
|
76
|
+
/** The component's host element (React renders the branch and nothing of its own). */
|
|
77
|
+
host = inject(ElementRef);
|
|
72
78
|
constructor() {
|
|
79
|
+
// The branch renders in front of the host's place and the host leaves the page, so the
|
|
80
|
+
// DOM is exactly the branch's own (React returns the branch element directly).
|
|
81
|
+
usePlacement(() => {
|
|
82
|
+
placeContentBefore(this.host.nativeElement, this.host.nativeElement);
|
|
83
|
+
setElementPresent(this.host.nativeElement, false);
|
|
84
|
+
});
|
|
73
85
|
// A `useQuery` result exposes its state through getters that read the
|
|
74
86
|
// observer's own signals. React re-renders a `QueryContent`'s parent on
|
|
75
87
|
// every state change; Angular only re-checks a view something marked, and
|
|
@@ -192,7 +204,7 @@ export class QueryContent {
|
|
|
192
204
|
} if (rf & 2) {
|
|
193
205
|
let _t;
|
|
194
206
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.outlet = _t.first);
|
|
195
|
-
} },
|
|
207
|
+
} }, inputs: { query: "query", pending: "pending", missing: "missing", children: "children", error: "error", empty: "empty", recordKey: "recordKey", getRecordId: "getRecordId" }, features: [i0.ɵɵHostDirectivesFeature([i1.MolPlacement]), i0.ɵɵNgOnChangesFeature], decls: 2, vars: 0, consts: [["outlet", ""]], template: function QueryContent_Template(rf, ctx) { if (rf & 1) {
|
|
196
208
|
i0.ɵɵdomElementContainer(0, null, 0);
|
|
197
209
|
} }, encapsulation: 2 });
|
|
198
210
|
}
|
|
@@ -201,16 +213,13 @@ export class QueryContent {
|
|
|
201
213
|
args: [{
|
|
202
214
|
selector: 'mol-query-content',
|
|
203
215
|
standalone: true,
|
|
216
|
+
hostDirectives: [MolPlacement],
|
|
204
217
|
template: '<ng-container #outlet></ng-container>',
|
|
205
218
|
inputs: ['query', 'pending', 'missing', 'children', 'error', 'empty', 'recordKey', 'getRecordId'],
|
|
206
|
-
host: {
|
|
207
|
-
'data-parity-unwrap': '',
|
|
208
|
-
style: 'display: contents',
|
|
209
|
-
},
|
|
210
219
|
}]
|
|
211
220
|
}], () => [], { outlet: [{
|
|
212
221
|
type: ViewChild,
|
|
213
222
|
args: ['outlet', { read: ViewContainerRef, static: true }]
|
|
214
223
|
}] }); })();
|
|
215
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryContent, { className: "QueryContent", filePath: "query-content.component.ts", lineNumber:
|
|
224
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryContent, { className: "QueryContent", filePath: "query-content.component.ts", lineNumber: 72 }); })();
|
|
216
225
|
//# sourceMappingURL=query-content.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-content.component.js","sourceRoot":"","sources":["../src/query-content.component.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"query-content.component.js","sourceRoot":"","sources":["../src/query-content.component.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,SAAS;mBAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE;;kFA5BlD,YAAY"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/app-query-angular",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "Angular hooks for @molecule/app-query — read a cached document synchronously, observe it, and prefetch on intent",
|
|
5
5
|
"homepage": "https://www.molecule.dev/packages/app-query-angular",
|
|
6
6
|
"type": "module",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"@angular/common": "^22.0.0",
|
|
49
49
|
"@angular/core": "^22.0.0",
|
|
50
50
|
"@angular/platform-browser": "^22.0.0",
|
|
51
|
+
"@molecule/app-angular": "^3.13.0",
|
|
51
52
|
"@molecule/app-query": "^1.2.0"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
@@ -56,17 +57,17 @@
|
|
|
56
57
|
"@angular/compiler-cli": "22.2.3",
|
|
57
58
|
"@angular/core": "22.2.3",
|
|
58
59
|
"@angular/platform-browser": "22.2.3",
|
|
59
|
-
"@molecule/app-angular": "3.
|
|
60
|
+
"@molecule/app-angular": "3.13.0",
|
|
60
61
|
"@molecule/app-framework-conformance": "0.0.0",
|
|
61
62
|
"@molecule/app-i18n": "1.2.2",
|
|
62
63
|
"@molecule/app-icons": "1.0.4",
|
|
63
|
-
"@molecule/app-query": "1.3.
|
|
64
|
+
"@molecule/app-query": "1.3.4",
|
|
64
65
|
"@molecule/app-query-memory": "1.1.0",
|
|
65
66
|
"@molecule/app-query-tanstack": "1.1.0",
|
|
66
|
-
"@molecule/app-ui": "1.
|
|
67
|
-
"@molecule/app-ui-angular": "1.
|
|
67
|
+
"@molecule/app-ui": "1.5.0",
|
|
68
|
+
"@molecule/app-ui-angular": "1.5.1",
|
|
68
69
|
"@types/node": "26.6.5",
|
|
69
|
-
"jsdom": "
|
|
70
|
+
"jsdom": "31.0.1",
|
|
70
71
|
"rxjs": "7.8.2",
|
|
71
72
|
"typescript": "6.0.3",
|
|
72
73
|
"vitest": "4.1.12",
|