Skip to content

utils/resolveColumnComponents ​

Overview ​

Resolves the list column adapter component and props for each display field, applying the override precedence chain. Mirrors the form override chain in buildForm.js. Pure (no Vue reactivity) so it can be unit-tested directly and wrapped in a computed by useViewList.

Methods ​

  • resolveColumnComponent - Resolve the adapter component for a single column, highest precedence first: 1.
  • resolveColumnProps - Resolve the props passed to a column's adapter, layering lowest to highest: type-default columnProps, then configProps[name], then propProps[name].
  • resolveColumns - Resolve adapter component + props for every display field, keyed by field name.

Types ​

ResolveColumnsOptions ​

ResolvedColumn ​

Source ​

client/lib/utils/resolveColumnComponents.js:1