(sort)
| 147107 | const Ascending = "ascending"; |
| 147108 | const Descending = "descending"; |
| 147109 | function sortKey(sort) { |
| 147110 | return !(0, _vegaUtil.isObject)(sort) ? "" : (sort.order === Descending ? "-" : "+") + aggrField(sort.op, sort.field); |
| 147111 | } |
| 147112 | function aggrField(op, field3) { |
| 147113 | return (op && op.signal ? "$" + op.signal : op || "") + (op && field3 ? "_" : "") + (field3 && field3.signal ? "$" + field3.signal : field3 || ""); |
| 147114 | } // ----- |