({
relationshipId,
localRowId,
relationships,
rowComponent: Row = RowView,
getRowComponentProps,
debugIds
})
| 1599 | children: useMetric(metricId, metrics) ?? EMPTY_STRING |
| 1600 | }); |
| 1601 | var RemoteRowView = ({ |
| 1602 | relationshipId, |
| 1603 | localRowId, |
| 1604 | relationships, |
| 1605 | rowComponent: Row = RowView, |
| 1606 | getRowComponentProps, |
| 1607 | debugIds |
| 1608 | }) => { |
| 1609 | const [resolvedRelationships, store, , remoteTableId] = getRelationshipsStoreTableIds( |
| 1610 | useRelationshipsOrRelationshipsById(relationships), |
| 1611 | relationshipId |
| 1612 | ); |
| 1613 | const rowId = useRemoteRowId( |
| 1614 | relationshipId, |
| 1615 | localRowId, |
| 1616 | resolvedRelationships |
| 1617 | ); |
| 1618 | return /* @__PURE__ */ jsx(Wrap, { |
| 1619 | debugIds, |
| 1620 | id: localRowId, |
| 1621 | children: isUndefined(remoteTableId) || isUndefined(rowId) ? null : /* @__PURE__ */ jsx( |
| 1622 | Row, |
| 1623 | { |
| 1624 | ...getProps(getRowComponentProps, rowId), |
| 1625 | tableId: remoteTableId, |
| 1626 | rowId, |
| 1627 | store, |
| 1628 | debugIds |
| 1629 | }, |
| 1630 | rowId |
| 1631 | ) |
| 1632 | }); |
| 1633 | }; |
| 1634 | var ResultSortedTableView = ({ cellId, descending, offset, limit, ...props }) => resultTableView( |
| 1635 | props, |
| 1636 | useResultSortedRowIds( |
nothing calls this directly
no test coverage detected
searching dependent graphs…