@vectoriox/iox-ui 4.13.0 → 4.14.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-ui",
3
- "version": "4.13.0",
3
+ "version": "4.14.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -847,10 +847,12 @@ declare function resolveRepeaterItems(resolved: any, sourcePath?: string | null)
847
847
  declare function collectReferencedAliases(nodes: any[], acc?: Set<string>): Set<string>;
848
848
  /** The subset of `all` whose `alias` is referenced by `nodes` (shallow — direct references only). */
849
849
  declare function referencedDataSources(nodes: any[], all: any[]): any[];
850
- /** Like `referencedDataSources`, but also pulls in the DERIVED dependencies (transitively): a
851
- * referenced `derived` alias needs its `request.derived.from` source resolved too, even though the
852
- * layout never names the parent directly. Use this when RESOLVING (the engine) so derived views
853
- * don't resolve to nothing. */
850
+ /** Like `referencedDataSources`, but also pulls in a referenced source's DEPENDENCIES (transitively),
851
+ * none of which the layout names directly:
852
+ * - a `derived` alias needs its `request.derived.from` parent;
853
+ * - a `relative` (route-context) alias needs its `request.relative.subjectFrom` (the current item)
854
+ * and `request.relative.from` (the collection it navigates).
855
+ * Use this when RESOLVING (the engine) so derived views and siblings/related don't resolve to nothing. */
854
856
  declare function referencedDataSourcesDeep(nodes: any[], all: any[]): any[];
855
857
  /** Base URLs for the PUBLIC content controllers. Both must end with `/`. The builder and the SSR
856
858
  * engine pass their own host (they proxy `/api` differently) but MUST target the public
@@ -974,6 +976,10 @@ interface RelativeSourceSpec {
974
976
  sortBy?: string;
975
977
  sortDir?: 'asc' | 'desc';
976
978
  wrap?: boolean;
979
+ /** `siblings`: resolve to a SINGLE neighbour ITEM (`next`/`prev`) instead of the whole
980
+ * `{prev,next,index,count,…}` object — so a source can be named e.g. `nextProject` and bound
981
+ * directly (`nextProject.route`). Omit for the whole-object shape. */
982
+ pick?: 'next' | 'prev';
977
983
  /** `related`: field(s) on the subject the results must match. */
978
984
  matchFields?: string | string[];
979
985
  /** `related`: drop the subject from its own results. Default `true`. */