@formant/ava 3.4.7-formant → 3.4.8-formant

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46,7 +46,7 @@ var CategoryOutlierNarrativeStrategy = /** @class */ (function (_super) {
46
46
  {
47
47
  template: '${measure} has ${total} categories in the ${dimension} that are prominent compared to other dimensions: &{outliers}.',
48
48
  variableMetaMap: variableMetaMap,
49
- displayType: 'heading',
49
+ displayType: 'paragraph',
50
50
  },
51
51
  ],
52
52
  };
@@ -57,7 +57,7 @@ var CategoryOutlierNarrativeStrategy = /** @class */ (function (_super) {
57
57
  template: '${.x}',
58
58
  separator: getDefaultSeparator('zh-CN'),
59
59
  variableMetaMap: variableMetaMap,
60
- useVariable: 'patterns',
60
+ useVariable: 'paragraph',
61
61
  },
62
62
  ],
63
63
  'en-US': [
@@ -43,7 +43,7 @@ var CorrelationNarrativeStrategy = /** @class */ (function (_super) {
43
43
  {
44
44
  template: " ${m1} and ${m2}, are highly correlated. Their relationship is measured by a number, ${pcorr}, which tells us just how closely they're linked. A higher number means they move in sync more often.",
45
45
  variableMetaMap: variableMetaMap,
46
- displayType: 'heading',
46
+ displayType: 'paragraph',
47
47
  },
48
48
  ],
49
49
  };
@@ -67,7 +67,7 @@ var TimeSeriesOutlierNarrativeStrategy = /** @class */ (function (_super) {
67
67
  },
68
68
  {
69
69
  template: '${.x},${measure} 为 ${.y}, 相比基线(${.base})${.diffDesc} ${.diff}。',
70
- displayType: 'heading',
70
+ displayType: 'bullet',
71
71
  bulletOrder: true,
72
72
  useVariable: 'outliers',
73
73
  variableMetaMap: variableMetaMap,
@@ -76,7 +76,6 @@ var TimeSeriesOutlierNarrativeStrategy = /** @class */ (function (_super) {
76
76
  'en-US': [
77
77
  {
78
78
  template: '${total} outliers detected for ${measure} during ${dateRange}',
79
- displayType: 'heading',
80
79
  variableMetaMap: variableMetaMap,
81
80
  },
82
81
  {
@@ -49,7 +49,6 @@ var TrendNarrativeStrategy = /** @class */ (function (_super) {
49
49
  {
50
50
  template: 'In ${dateRange}, the ${measure} is ${trend}.',
51
51
  variableMetaMap: variableMetaMap,
52
- displayType: 'heading',
53
52
  },
54
53
  ],
55
54
  };
@@ -48,7 +48,7 @@ var CategoryOutlierNarrativeStrategy = /** @class */ (function (_super) {
48
48
  {
49
49
  template: '${measure} has ${total} categories in the ${dimension} that are prominent compared to other dimensions: &{outliers}.',
50
50
  variableMetaMap: variableMetaMap,
51
- displayType: 'heading',
51
+ displayType: 'paragraph',
52
52
  },
53
53
  ],
54
54
  };
@@ -59,7 +59,7 @@ var CategoryOutlierNarrativeStrategy = /** @class */ (function (_super) {
59
59
  template: '${.x}',
60
60
  separator: (0, helpers_1.getDefaultSeparator)('zh-CN'),
61
61
  variableMetaMap: variableMetaMap,
62
- useVariable: 'patterns',
62
+ useVariable: 'paragraph',
63
63
  },
64
64
  ],
65
65
  'en-US': [
@@ -45,7 +45,7 @@ var CorrelationNarrativeStrategy = /** @class */ (function (_super) {
45
45
  {
46
46
  template: " ${m1} and ${m2}, are highly correlated. Their relationship is measured by a number, ${pcorr}, which tells us just how closely they're linked. A higher number means they move in sync more often.",
47
47
  variableMetaMap: variableMetaMap,
48
- displayType: 'heading',
48
+ displayType: 'paragraph',
49
49
  },
50
50
  ],
51
51
  };
@@ -69,7 +69,7 @@ var TimeSeriesOutlierNarrativeStrategy = /** @class */ (function (_super) {
69
69
  },
70
70
  {
71
71
  template: '${.x},${measure} 为 ${.y}, 相比基线(${.base})${.diffDesc} ${.diff}。',
72
- displayType: 'heading',
72
+ displayType: 'bullet',
73
73
  bulletOrder: true,
74
74
  useVariable: 'outliers',
75
75
  variableMetaMap: variableMetaMap,
@@ -78,7 +78,6 @@ var TimeSeriesOutlierNarrativeStrategy = /** @class */ (function (_super) {
78
78
  'en-US': [
79
79
  {
80
80
  template: '${total} outliers detected for ${measure} during ${dateRange}',
81
- displayType: 'heading',
82
81
  variableMetaMap: variableMetaMap,
83
82
  },
84
83
  {
@@ -51,7 +51,6 @@ var TrendNarrativeStrategy = /** @class */ (function (_super) {
51
51
  {
52
52
  template: 'In ${dateRange}, the ${measure} is ${trend}.',
53
53
  variableMetaMap: variableMetaMap,
54
- displayType: 'heading',
55
54
  },
56
55
  ],
57
56
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formant/ava",
3
- "version": "3.4.7-formant",
3
+ "version": "3.4.8-formant",
4
4
  "description": "A framework for automated visual analytics.",
5
5
  "author": {
6
6
  "name": "formant",