UNPKG

@antv/t8

Version:

T8 is a text visualization solution for unstructured data within the AntV technology stack, and it is a declarative JSON Schema syntax that can be used to describe the content of data interpretation reports.

62 lines (60 loc) 1.36 kB
var PhraseType; (function (PhraseType) { PhraseType["TEXT"] = "text"; PhraseType["ENTITY"] = "entity"; PhraseType["CUSTOM"] = "custom"; })(PhraseType || (PhraseType = {})); var EntityType = [ /** * @description main indicator value 主指标名 * @example DAU * */ 'metric_name', /** * @description main indicator name 主指标值 * @example 1.23 million * */ 'metric_value', /** * @description other indicator value 其他指标值 * @example * */ 'other_metric_value', /** * @description contribution ratio 贡献度 * @example 23% * */ 'contribute_ratio', /** * @description delate value 变化值 * @example -1.2 * */ 'delta_value', /** * @description ratio value 变化率 * @example +23% * */ 'ratio_value', /** * @description trend description 趋势描述 * @example up/down * */ 'trend_desc', /** * @description dimension value 维值 * @example sex = man * */ 'dim_value', /** * @description time description 时间描述 * @example 2021-11-19 * */ 'time_desc', /** * @description proportion 占比 * @example 20% * */ 'proportion', ]; export { EntityType, PhraseType }; //# sourceMappingURL=phrase.js.map