@molecule/app-query-vue 1.2.0 → 1.3.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 +22 -2
- package/dist/index.d.ts +9 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/query-content.d.ts.map +1 -1
- package/dist/query-content.js +3 -1
- package/dist/query-content.js.map +1 -1
- package/dist/types.d.ts +9 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +8 -8
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-16T21:21:21.690Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/app-query-vue
|
|
@@ -208,7 +208,7 @@ explicit `fetch()` retries into the mounted page.
|
|
|
208
208
|
```ts
|
|
209
209
|
import { getQueryClient } from '@molecule/app-query'
|
|
210
210
|
import { getClient } from '@molecule/app-http'
|
|
211
|
-
import {
|
|
211
|
+
import { useTranslation } from '@molecule/app-vue'
|
|
212
212
|
import { defineComponent, h } from 'vue'
|
|
213
213
|
|
|
214
214
|
// The key names what the document actually depends on — here the signed-in
|
|
@@ -239,6 +239,7 @@ async function setFollowing(principal: string, authorId: string, follow: boolean
|
|
|
239
239
|
const Retry = defineComponent({
|
|
240
240
|
props: { principal: { type: String, required: true } },
|
|
241
241
|
setup(props) {
|
|
242
|
+
const { t } = useTranslation()
|
|
242
243
|
return () =>
|
|
243
244
|
h(
|
|
244
245
|
'button',
|
|
@@ -479,6 +480,8 @@ interface QueryResource<T, Create = Partial<T>, Update = Partial<T>> {
|
|
|
479
480
|
/**
|
|
480
481
|
* `useQuery` options for the collection. `viewer` is who the answer is for (the signed-in id,
|
|
481
482
|
* or `'anonymous'`); a page or filter change keeps the rows on screen until the next answer.
|
|
483
|
+
* One record per URL identity, retaining the first occurrence. Equal values without an
|
|
484
|
+
* addressable id remain separate. Writes already refresh the collection.
|
|
482
485
|
*/
|
|
483
486
|
list(viewer: string, params?: Record<string, unknown>): QueryOptions<T[]>
|
|
484
487
|
/**
|
|
@@ -589,6 +592,16 @@ content.
|
|
|
589
592
|
|
|
590
593
|
```typescript
|
|
591
594
|
interface QueryContentProps<T> {
|
|
595
|
+
/**
|
|
596
|
+
* One optional empty branch, exclusive with children. The pure predicate reads the
|
|
597
|
+
* loaded document (an array or an application-owned envelope); render selects the
|
|
598
|
+
* current view's message and recovery action. Omit it to keep empty arrays as data.
|
|
599
|
+
*/
|
|
600
|
+
empty?: {
|
|
601
|
+
when: (data: NonNullable<T>) => boolean
|
|
602
|
+
render: NonNullable<QueryContentProps<T>['children']>
|
|
603
|
+
}
|
|
604
|
+
|
|
592
605
|
/** State from useQuery, or any compatible query observer. */
|
|
593
606
|
query: Pick<QueryState<T>, 'data' | 'status' | 'error'>
|
|
594
607
|
/**
|
|
@@ -933,3 +946,10 @@ h(
|
|
|
933
946
|
Keep every resource identity in the query key. A boundary cannot correct a query that supplies
|
|
934
947
|
another record's cached data. For a list, map real rows inside the child; never style a status
|
|
935
948
|
placeholder as a row. QueryContent is headless and owns no translations or styling.
|
|
949
|
+
|
|
950
|
+
For a collection, `QueryContent` also accepts one `empty` branch:
|
|
951
|
+
`{ when: page => page.rows.length === 0, render: page => selectedEmptyState }`.
|
|
952
|
+
It is exclusive with loaded children, so a selected view chooses its message and
|
|
953
|
+
recovery action once rather than rendering a general empty message beside it.
|
|
954
|
+
`when` receives a loaded document; empty arrays remain data when this prop is omitted.
|
|
955
|
+
The render value uses this framework's existing children function, snippet or template.
|
package/dist/index.d.ts
CHANGED
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
* ```ts
|
|
177
177
|
* import { getQueryClient } from '@molecule/app-query'
|
|
178
178
|
* import { getClient } from '@molecule/app-http'
|
|
179
|
-
* import {
|
|
179
|
+
* import { useTranslation } from '@molecule/app-vue'
|
|
180
180
|
* import { defineComponent, h } from 'vue'
|
|
181
181
|
*
|
|
182
182
|
* // The key names what the document actually depends on — here the signed-in
|
|
@@ -207,6 +207,7 @@
|
|
|
207
207
|
* const Retry = defineComponent({
|
|
208
208
|
* props: { principal: { type: String, required: true } },
|
|
209
209
|
* setup(props) {
|
|
210
|
+
* const { t } = useTranslation()
|
|
210
211
|
* return () =>
|
|
211
212
|
* h(
|
|
212
213
|
* 'button',
|
|
@@ -431,6 +432,13 @@
|
|
|
431
432
|
* another record's cached data. For a list, map real rows inside the child; never style a status
|
|
432
433
|
* placeholder as a row. QueryContent is headless and owns no translations or styling.
|
|
433
434
|
*
|
|
435
|
+
* For a collection, `QueryContent` also accepts one `empty` branch:
|
|
436
|
+
* `{ when: page => page.rows.length === 0, render: page => selectedEmptyState }`.
|
|
437
|
+
* It is exclusive with loaded children, so a selected view chooses its message and
|
|
438
|
+
* recovery action once rather than rendering a general empty message beside it.
|
|
439
|
+
* `when` receives a loaded document; empty arrays remain data when this prop is omitted.
|
|
440
|
+
* The render value uses this framework's existing children function, snippet or template.
|
|
441
|
+
*
|
|
434
442
|
* @module
|
|
435
443
|
*/
|
|
436
444
|
export * from './list-query.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0bG;AAEH,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
* ```ts
|
|
177
177
|
* import { getQueryClient } from '@molecule/app-query'
|
|
178
178
|
* import { getClient } from '@molecule/app-http'
|
|
179
|
-
* import {
|
|
179
|
+
* import { useTranslation } from '@molecule/app-vue'
|
|
180
180
|
* import { defineComponent, h } from 'vue'
|
|
181
181
|
*
|
|
182
182
|
* // The key names what the document actually depends on — here the signed-in
|
|
@@ -207,6 +207,7 @@
|
|
|
207
207
|
* const Retry = defineComponent({
|
|
208
208
|
* props: { principal: { type: String, required: true } },
|
|
209
209
|
* setup(props) {
|
|
210
|
+
* const { t } = useTranslation()
|
|
210
211
|
* return () =>
|
|
211
212
|
* h(
|
|
212
213
|
* 'button',
|
|
@@ -431,6 +432,13 @@
|
|
|
431
432
|
* another record's cached data. For a list, map real rows inside the child; never style a status
|
|
432
433
|
* placeholder as a row. QueryContent is headless and owns no translations or styling.
|
|
433
434
|
*
|
|
435
|
+
* For a collection, `QueryContent` also accepts one `empty` branch:
|
|
436
|
+
* `{ when: page => page.rows.length === 0, render: page => selectedEmptyState }`.
|
|
437
|
+
* It is exclusive with loaded children, so a selected view chooses its message and
|
|
438
|
+
* recovery action once rather than rendering a general empty message beside it.
|
|
439
|
+
* `when` receives a loaded document; empty arrays remain data when this prop is omitted.
|
|
440
|
+
* The render value uses this framework's existing children function, snippet or template.
|
|
441
|
+
*
|
|
434
442
|
* @module
|
|
435
443
|
*/
|
|
436
444
|
export * from './list-query.js';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0bG;AAEH,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-content.d.ts","sourceRoot":"","sources":["../src/query-content.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAErC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEnD;;;GAGG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE;QAAE,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAA;KAAE,KAAK,UAAU,CAAA;IAC7D,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,UAAU,CAAA;IAC1B,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,UAAU,CAAA;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,eAAO,MAAM,YAAY,IACD,CAAC,SACd,iBAAiB,CAAC,CAAC,CAAC,OACtB;IAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAA;CAAE,KACnC,UAAU;;
|
|
1
|
+
{"version":3,"file":"query-content.d.ts","sourceRoot":"","sources":["../src/query-content.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAErC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEnD;;;GAGG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE;QAAE,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAA;KAAE,KAAK,UAAU,CAAA;IAC7D,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,UAAU,CAAA;IAC1B,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,UAAU,CAAA;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,eAAO,MAAM,YAAY,IACD,CAAC,SACd,iBAAiB,CAAC,CAAC,CAAC,OACtB;IAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAA;CAAE,KACnC,UAAU;;CAed,CAAA"}
|
package/dist/query-content.js
CHANGED
|
@@ -48,11 +48,13 @@ export const QueryContent = Object.assign(function QueryContent(props, ctx) {
|
|
|
48
48
|
}
|
|
49
49
|
if (data === null)
|
|
50
50
|
return props.missing ?? ctx.slots.missing?.() ?? null;
|
|
51
|
+
if (props.empty?.when(data))
|
|
52
|
+
return props.empty.render?.(data) ?? null;
|
|
51
53
|
if (props.children)
|
|
52
54
|
return props.children(data);
|
|
53
55
|
return ctx.slots.default?.({ data }) ?? null;
|
|
54
56
|
},
|
|
55
57
|
// Declared so Vue extracts these from attrs instead of inheriting them onto
|
|
56
58
|
// whatever the branches render.
|
|
57
|
-
{ props: ['query', 'children', 'pending', 'missing', 'error'] });
|
|
59
|
+
{ props: ['query', 'children', 'pending', 'missing', 'error', 'empty'] });
|
|
58
60
|
//# sourceMappingURL=query-content.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-content.js","sourceRoot":"","sources":["../src/query-content.ts"],"names":[],"mappings":"AAqBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CACvC,SAAS,YAAY,CACnB,KAA2B,EAC3B,GAAoC;IAEpC,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAA;IACzB,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAA;IACvB,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACvB,IAAI,KAAK,CAAC,MAAM,KAAK,OAAO,IAAI,KAAK,CAAC,KAAK;YAAE,OAAO,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QAC5E,OAAO,KAAK,CAAC,OAAO,IAAI,GAAG,CAAC,K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I,IAAI,CAAA;IACxE,IAAI,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC;QAAE,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,IAAI,IAAI,CAAA;IACtE,IAAI,KAAK,CAAC,QAAQ;QAAE,OAAO,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;IAC/C,OAAO,GAAG,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,IAAI,IAAI,CAAA;AAC9C,CAAC;AACD,4EAA4E;AAC5E,gCAAgC;AAChC,EAAE,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,CACzE,CAAA"}
|
package/dist/types.d.ts
CHANGED
|
@@ -39,6 +39,15 @@ export interface UseQueryResult<T> extends QueryState<T> {
|
|
|
39
39
|
* content.
|
|
40
40
|
*/
|
|
41
41
|
export interface QueryContentProps<T> {
|
|
42
|
+
/**
|
|
43
|
+
* One optional empty branch, exclusive with children. The pure predicate reads the
|
|
44
|
+
* loaded document (an array or an application-owned envelope); render selects the
|
|
45
|
+
* current view's message and recovery action. Omit it to keep empty arrays as data.
|
|
46
|
+
*/
|
|
47
|
+
empty?: {
|
|
48
|
+
when: (data: NonNullable<T>) => boolean;
|
|
49
|
+
render: NonNullable<QueryContentProps<T>['children']>;
|
|
50
|
+
};
|
|
42
51
|
/** State from useQuery, or any compatible query observer. */
|
|
43
52
|
query: Pick<QueryState<T>, 'data' | 'status' | 'error'>;
|
|
44
53
|
/**
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAEvD,O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
"version": "1.3.0",
|
|
4
4
|
"description": "Vue 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-vue",
|
|
6
6
|
"type": "module",
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@molecule/app-framework-conformance": "0.0.0",
|
|
53
|
-
"@molecule/app-i18n": "1.2.
|
|
53
|
+
"@molecule/app-i18n": "1.2.2",
|
|
54
54
|
"@molecule/app-icons": "1.0.4",
|
|
55
|
-
"@molecule/app-query": "1.
|
|
56
|
-
"@molecule/app-query-memory": "1.0
|
|
57
|
-
"@molecule/app-query-tanstack": "1.0
|
|
58
|
-
"@molecule/app-ui": "1.
|
|
59
|
-
"@molecule/app-ui-vue": "1.1.
|
|
60
|
-
"@molecule/app-vue": "3.
|
|
55
|
+
"@molecule/app-query": "1.3.1",
|
|
56
|
+
"@molecule/app-query-memory": "1.1.0",
|
|
57
|
+
"@molecule/app-query-tanstack": "1.1.0",
|
|
58
|
+
"@molecule/app-ui": "1.4.0",
|
|
59
|
+
"@molecule/app-ui-vue": "1.1.4",
|
|
60
|
+
"@molecule/app-vue": "3.7.1",
|
|
61
61
|
"@types/node": "26.6.5",
|
|
62
62
|
"jsdom": "30.1.3",
|
|
63
63
|
"typescript": "6.0.3",
|