()
| 13018 | : super.assembleGroup(e); |
| 13019 | } |
| 13020 | getCardinalityAggregateForChild() { |
| 13021 | const e = [], |
| 13022 | t = [], |
| 13023 | n = []; |
| 13024 | if (this.child instanceof pp) { |
| 13025 | if (this.child.channelHasField("column")) { |
| 13026 | const i = ma(this.child.facet.column); |
| 13027 | (e.push(i), t.push("distinct"), n.push(`distinct_${i}`)); |
| 13028 | } |
| 13029 | } else |
| 13030 | for (const i of Ct) { |
| 13031 | const r = this.child.component.scales[i]; |
| 13032 | if (r && !r.merged) { |
| 13033 | const o = r.get("type"), |
| 13034 | a = r.get("range"); |
| 13035 | if (kr(o) && kn(a)) { |
| 13036 | const r = ym(vm(this.child, i)); |
| 13037 | r |
| 13038 | ? (e.push(r), t.push("distinct"), n.push(`distinct_${r}`)) |
| 13039 | : Si(Xn(i)); |
| 13040 | } |
| 13041 | } |
| 13042 | } |
| 13043 | return { fields: e, ops: t, as: n }; |
| 13044 | } |
| 13045 | assembleFacet() { |
| 13046 | const { name: e, data: n } = this.component.data.facetRoot, |
| 13047 | { row: i, column: r } = this.facet, |
no test coverage detected