@molecule/app-query-vue 1.2.1 → 1.3.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-15T13:02:10.518Z
6
+ Generated: 2026-11-17T05:20:00.226Z
7
7
  -->
8
8
 
9
9
  # @molecule/app-query-vue
@@ -480,6 +480,8 @@ interface QueryResource<T, Create = Partial<T>, Update = Partial<T>> {
480
480
  /**
481
481
  * `useQuery` options for the collection. `viewer` is who the answer is for (the signed-in id,
482
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.
483
485
  */
484
486
  list(viewer: string, params?: Record<string, unknown>): QueryOptions<T[]>
485
487
  /**
@@ -590,8 +592,19 @@ content.
590
592
 
591
593
  ```typescript
592
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. A previous key's empty document uses
599
+ * pending/error instead. Omit it to keep empty arrays as data.
600
+ */
601
+ empty?: {
602
+ when: (data: NonNullable<T>) => boolean
603
+ render: NonNullable<QueryContentProps<T>['children']>
604
+ }
605
+
593
606
  /** State from useQuery, or any compatible query observer. */
594
- query: Pick<QueryState<T>, 'data' | 'status' | 'error'>
607
+ query: Pick<QueryState<T>, 'data' | 'status' | 'error' | 'isPreviousData'>
595
608
  /**
596
609
  * Mounted only with a real document, including false, zero and an empty
597
610
  * list. A render function (React's render-prop name) or the default slot,
@@ -812,6 +825,7 @@ swallow an early click. Cached data remains mounted during refresh, including
812
825
  a failed refresh. Status fallbacks belong outside the list or record
813
826
  container rendered by `children`, and so does a refresh line; the default
814
827
  fallbacks render nothing.
828
+ A previous key's empty or missing document renders pending/error until the current key answers.
815
829
 
816
830
  The loaded branch is the `children` render function, or the default slot
817
831
  (which receives `{ data }`); `pending` and `missing` are node props or
@@ -934,3 +948,10 @@ h(
934
948
  Keep every resource identity in the query key. A boundary cannot correct a query that supplies
935
949
  another record's cached data. For a list, map real rows inside the child; never style a status
936
950
  placeholder as a row. QueryContent is headless and owns no translations or styling.
951
+
952
+ For a collection, `QueryContent` also accepts one `empty` branch:
953
+ `{ when: page => page.rows.length === 0, render: page => selectedEmptyState }`.
954
+ It is exclusive with loaded children, so a selected view chooses its message and
955
+ recovery action once rather than rendering a general empty message beside it.
956
+ `when` receives a loaded document; empty arrays remain data when this prop is omitted.
957
+ The render value uses this framework's existing children function, snippet or template.
package/dist/index.d.ts CHANGED
@@ -432,6 +432,13 @@
432
432
  * another record's cached data. For a list, map real rows inside the child; never style a status
433
433
  * placeholder as a row. QueryContent is headless and owns no translations or styling.
434
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
+ *
435
442
  * @module
436
443
  */
437
444
  export * from './list-query.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAA;AAChC,cAAc,eAAe,CAAA"}
package/dist/index.js CHANGED
@@ -432,6 +432,13 @@
432
432
  * another record's cached data. For a list, map real rows inside the child; never style a status
433
433
  * placeholder as a row. QueryContent is headless and owns no translations or styling.
434
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
+ *
435
442
  * @module
436
443
  */
437
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmbG;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
+ {"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"}
@@ -25,6 +25,7 @@ export interface QueryContentSlots<T> {
25
25
  * a failed refresh. Status fallbacks belong outside the list or record
26
26
  * container rendered by `children`, and so does a refresh line; the default
27
27
  * fallbacks render nothing.
28
+ * A previous key's empty or missing document renders pending/error until the current key answers.
28
29
  *
29
30
  * The loaded branch is the `children` render function, or the default slot
30
31
  * (which receives `{ data }`); `pending` and `missing` are node props or
@@ -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;;CAcd,CAAA"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,eAAO,MAAM,YAAY,IACD,CAAC,SACd,iBAAiB,CAAC,CAAC,CAAC,OACtB;IAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAA;CAAE,KACnC,UAAU;;CAkBd,CAAA"}
@@ -5,6 +5,7 @@
5
5
  * a failed refresh. Status fallbacks belong outside the list or record
6
6
  * container rendered by `children`, and so does a refresh line; the default
7
7
  * fallbacks render nothing.
8
+ * A previous key's empty or missing document renders pending/error until the current key answers.
8
9
  *
9
10
  * The loaded branch is the `children` render function, or the default slot
10
11
  * (which receives `{ data }`); `pending` and `missing` are node props or
@@ -41,18 +42,21 @@
41
42
  export const QueryContent = Object.assign(function QueryContent(props, ctx) {
42
43
  const query = props.query;
43
44
  const data = query.data;
44
- if (data === undefined) {
45
+ if (data === undefined ||
46
+ (query.isPreviousData && (data === null || props.empty?.when(data)))) {
45
47
  if (query.status === 'error' && props.error)
46
48
  return props.error(query.error);
47
49
  return props.pending ?? ctx.slots.pending?.() ?? null;
48
50
  }
49
51
  if (data === null)
50
52
  return props.missing ?? ctx.slots.missing?.() ?? null;
53
+ if (props.empty?.when(data))
54
+ return props.empty.render?.(data) ?? null;
51
55
  if (props.children)
52
56
  return props.children(data);
53
57
  return ctx.slots.default?.({ data }) ?? null;
54
58
  },
55
59
  // Declared so Vue extracts these from attrs instead of inheriting them onto
56
60
  // whatever the branches render.
57
- { props: ['query', 'children', 'pending', 'missing', 'error'] });
61
+ { props: ['query', 'children', 'pending', 'missing', 'error', 'empty'] });
58
62
  //# 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,KAA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QAC5E,OAAO,KAAK,CAAC,OAAO,IAAI,GAAG,CAAC,KAAK,CAAC,OAAO,EAAE,EAAE,IAAI,IAAI,CAAA;IACvD,CAAC;IACD,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,KAAK,CAAC,OAAO,IAAI,GAAG,CAAC,KAAK,CAAC,OAAO,EAAE,EAAE,IAAI,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,8 +39,18 @@ 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. A previous key's empty document uses
46
+ * pending/error instead. Omit it to keep empty arrays as data.
47
+ */
48
+ empty?: {
49
+ when: (data: NonNullable<T>) => boolean;
50
+ render: NonNullable<QueryContentProps<T>['children']>;
51
+ };
42
52
  /** State from useQuery, or any compatible query observer. */
43
- query: Pick<QueryState<T>, 'data' | 'status' | 'error'>;
53
+ query: Pick<QueryState<T>, 'data' | 'status' | 'error' | 'isPreviousData'>;
44
54
  /**
45
55
  * Mounted only with a real document, including false, zero and an empty
46
56
  * list. A render function (React's render-prop name) or the default slot,
@@ -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,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAEnE;;GAEG;AACH,MAAM,WAAW,cAAc,CAAC,CAAC,CAAE,SAAQ,UAAU,CAAC,CAAC,CAAC;IACtD;;;;;;;;;;OAUG;IACH,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,GAAG,SAAS,KAAK,CAAC,GAAG,SAAS,CAAC,KAAK,IAAI,CAAA;IAC1E;;;;;OAKG;IACH,OAAO,EAAE,MAAM,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAA;CACtC;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC,6DAA6D;IAC7D,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAA;IACvD;;;;OAIG;IACH,QAAQ,EAAE,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,UAAU,CAAA;IAC9C,uFAAuF;IACvF,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,qFAAqF;IACrF,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,6EAA6E;IAC7E,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,UAAU,CAAA;CACvC;AAED;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI,gBAAgB,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources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AAM,MAAM,iBAAiB,CAAC,CAAC,IAAI,gBAAgB,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-query-vue",
3
- "version": "1.2.1",
3
+ "version": "1.3.1",
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",
@@ -52,9 +52,9 @@
52
52
  "@molecule/app-framework-conformance": "0.0.0",
53
53
  "@molecule/app-i18n": "1.2.2",
54
54
  "@molecule/app-icons": "1.0.4",
55
- "@molecule/app-query": "1.2.0",
56
- "@molecule/app-query-memory": "1.0.5",
57
- "@molecule/app-query-tanstack": "1.0.5",
55
+ "@molecule/app-query": "1.3.2",
56
+ "@molecule/app-query-memory": "1.1.0",
57
+ "@molecule/app-query-tanstack": "1.1.0",
58
58
  "@molecule/app-ui": "1.4.0",
59
59
  "@molecule/app-ui-vue": "1.1.4",
60
60
  "@molecule/app-vue": "3.7.1",