@vyr/echarts-browser 0.0.25 → 0.0.26
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.
package/package.json
CHANGED
|
@@ -91,7 +91,7 @@ interface ZhCNLanguageProvider extends LanguageProvider {
|
|
|
91
91
|
'inspector.Pie.base.label.position': string
|
|
92
92
|
'inspector.Pie.base.label.color': string
|
|
93
93
|
|
|
94
|
-
'sidebar.action.
|
|
94
|
+
'sidebar.action.AddEcharts.label': string
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
const zhCnLanguageProvider: ZhCNLanguageProvider = {
|
|
@@ -184,7 +184,7 @@ const zhCnLanguageProvider: ZhCNLanguageProvider = {
|
|
|
184
184
|
'inspector.Pie.base.label.position': '标签位置',
|
|
185
185
|
'inspector.Pie.base.label.color': '标签颜色',
|
|
186
186
|
|
|
187
|
-
'sidebar.action.
|
|
187
|
+
'sidebar.action.AddEcharts.label': '新增图表',
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
export {
|
|
@@ -5,7 +5,7 @@ import { BarServiceEchartDescriptor, EchartDescriptor, LineServiceEchartDescript
|
|
|
5
5
|
import { language } from '../../../locale'
|
|
6
6
|
|
|
7
7
|
class AddEchartsAction extends Action {
|
|
8
|
-
static id = 'sidebar.
|
|
8
|
+
static id = 'sidebar.AddEcharts'
|
|
9
9
|
static generate = (label: string, Class: typeof Descriptor, args: any = {}) => {
|
|
10
10
|
class ClassAction extends Action {
|
|
11
11
|
static id = Class.type
|
|
@@ -37,7 +37,7 @@ class AddEchartsAction extends Action {
|
|
|
37
37
|
}
|
|
38
38
|
return new ClassAction()
|
|
39
39
|
}
|
|
40
|
-
label = language.get('sidebar.action.
|
|
40
|
+
label = language.get('sidebar.action.AddEcharts.label')
|
|
41
41
|
order = 2
|
|
42
42
|
|
|
43
43
|
constructor() {
|