@visactor/vmind
Version:
<div align="center"> <a href="https://github.com/VisActor#gh-light-mode-only" target="_blank"> <img alt="VisActor Logo" width="200" src="https://github.com/VisActor/.github/blob/main/profile/logo_500_200_light.svg"/> </a> <a href="https://githu
21 lines (17 loc) • 567 B
JavaScript
import { color, data, indicator } from "./common";
export const liquidField = context => {
const {cell: cell, spec: spec} = context;
return spec.valueField = cell.value, spec.indicatorSmartInvert = !0, {
spec: spec
};
};
export const liquidStyle = context => {
const {spec: spec} = context;
return spec.liquid = Object.assign(Object.assign({}, spec.liquid), {
style: {}
}), {
spec: spec
};
};
export const pipelineLiquid = [ data, color, liquidField, liquidStyle, indicator ];
//# sourceMappingURL=liquid.js.map