@vyr/echarts-browser 0.0.22 → 0.0.24

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/echarts-browser",
3
- "version": "0.0.22",
3
+ "version": "0.0.24",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
@@ -1,216 +1,214 @@
1
1
  <template>
2
- <template v-if="descriptor">
3
- <vyr-card v-if="descriptor" :title="language.get('descriptor.type.Echart')" :scroll="true">
4
- <base-fragment :raw="raw"></base-fragment>
5
- <HTML-fragment :raw="raw"></HTML-fragment>
6
- <vyr-row>
7
- <vyr-divider :text="language.get('inspector.Echart.xAxis')"></vyr-divider>
8
- </vyr-row>
9
- <vyr-row>
10
- <vyr-label :label="language.get('inspector.Echart.xAxis.show')">
11
- <vyr-col>
12
- <vyr-select v-model="descriptor.xAxisShow" :data="option.stateOptions"></vyr-select>
13
- </vyr-col>
14
- </vyr-label>
15
- </vyr-row>
16
- <vyr-row>
17
- <vyr-label :label="language.get('inspector.Echart.xAxis.type')">
18
- <vyr-col>
19
- <vyr-select v-model="descriptor.xAxisType" :clearable="true"
20
- :data="Echart.typeOptions"></vyr-select>
21
- </vyr-col>
22
- </vyr-label>
23
- </vyr-row>
24
- <vyr-row>
25
- <vyr-label :label="language.get('inspector.Echart.xAxis.line.show')">
26
- <vyr-col>
27
- <vyr-select v-model="descriptor.xAxisLine.show" :data="option.stateOptions"></vyr-select>
28
- </vyr-col>
29
- </vyr-label>
30
- </vyr-row>
31
- <vyr-row>
32
- <vyr-label :label="language.get('inspector.Echart.xAxis.tick.show')">
33
- <vyr-col>
34
- <vyr-select v-model="descriptor.xAxisTick.show" :data="option.stateOptions"></vyr-select>
35
- </vyr-col>
36
- </vyr-label>
37
- </vyr-row>
38
- <vyr-row>
39
- <vyr-label :label="language.get('inspector.Echart.xAxis.label.show')">
40
- <vyr-col>
41
- <vyr-select v-model="descriptor.xAxisLabel.show" :data="option.stateOptions"></vyr-select>
42
- </vyr-col>
43
- </vyr-label>
44
- </vyr-row>
45
- <vyr-row>
46
- <vyr-label :label="language.get('inspector.Echart.xAxis.splitLine.show')">
47
- <vyr-col>
48
- <vyr-select v-model="descriptor.xAxisSplitLine.show" :data="option.stateOptions"></vyr-select>
49
- </vyr-col>
50
- </vyr-label>
51
- </vyr-row>
52
- <vyr-row>
53
- <vyr-label :label="language.get('inspector.Echart.xAxis.font')">
54
- <vyr-col :span="12">
55
- <vyr-color-picker width="all" v-model="descriptor.xAxisLabel.color"></vyr-color-picker>
56
- </vyr-col>
57
- <vyr-col :span="12">
58
- <vyr-input-number v-model="descriptor.xAxisLabel.fontSize"></vyr-input-number>
59
- </vyr-col>
60
- </vyr-label>
61
- </vyr-row>
62
- <vyr-row>
63
- <vyr-divider :text="language.get('inspector.Echart.yAxis')"></vyr-divider>
64
- </vyr-row>
65
- <vyr-row>
66
- <vyr-label :label="language.get('inspector.Echart.yAxis.show')">
67
- <vyr-col>
68
- <vyr-select v-model="descriptor.yAxisShow" :data="option.stateOptions"></vyr-select>
69
- </vyr-col>
70
- </vyr-label>
71
- </vyr-row>
72
- <vyr-row>
73
- <vyr-label :label="language.get('inspector.Echart.yAxis.type')">
74
- <vyr-col>
75
- <vyr-select v-model="descriptor.yAxisType" :clearable="true"
76
- :data="Echart.typeOptions"></vyr-select>
77
- </vyr-col>
78
- </vyr-label>
79
- </vyr-row>
80
- <vyr-row>
81
- <vyr-label :label="language.get('inspector.Echart.yAxis.line.show')">
82
- <vyr-col>
83
- <vyr-select v-model="descriptor.yAxisLine.show" :data="option.stateOptions"></vyr-select>
84
- </vyr-col>
85
- </vyr-label>
86
- </vyr-row>
87
- <vyr-row>
88
- <vyr-label :label="language.get('inspector.Echart.yAxis.tick.show')">
89
- <vyr-col>
90
- <vyr-select v-model="descriptor.yAxisTick.show" :data="option.stateOptions"></vyr-select>
91
- </vyr-col>
92
- </vyr-label>
93
- </vyr-row>
94
- <vyr-row>
95
- <vyr-label :label="language.get('inspector.Echart.yAxis.label.show')">
96
- <vyr-col>
97
- <vyr-select v-model="descriptor.yAxisLabel.show" :data="option.stateOptions"></vyr-select>
98
- </vyr-col>
99
- </vyr-label>
100
- </vyr-row>
101
- <vyr-row>
102
- <vyr-label :label="language.get('inspector.Echart.yAxis.splitLine.show')">
103
- <vyr-col>
104
- <vyr-select v-model="descriptor.yAxisSplitLine.show" :data="option.stateOptions"></vyr-select>
105
- </vyr-col>
106
- </vyr-label>
107
- </vyr-row>
108
- <vyr-row>
109
- <vyr-label :label="language.get('inspector.Echart.yAxis.font')">
110
- <vyr-col :span="12">
111
- <vyr-color-picker width="all" v-model="descriptor.yAxisLabel.color"></vyr-color-picker>
112
- </vyr-col>
113
- <vyr-col :span="12">
114
- <vyr-input-number v-model="descriptor.yAxisLabel.fontSize"></vyr-input-number>
115
- </vyr-col>
116
- </vyr-label>
117
- </vyr-row>
118
- <vyr-row>
119
- <vyr-divider :text="language.get('inspector.Echart.grid')"></vyr-divider>
120
- </vyr-row>
121
- <vyr-row>
122
- <vyr-label :label="language.get('inspector.Echart.grid.show')">
123
- <vyr-col>
124
- <vyr-select v-model="descriptor.gridShow" :data="option.stateOptions"></vyr-select>
125
- </vyr-col>
126
- </vyr-label>
127
- </vyr-row>
128
- <vyr-row>
129
- <vyr-label :label="language.get('inspector.Echart.grid.rect.size')">
130
- <vyr-col :span="12">
131
- <vyr-input v-model="descriptor.gridRect.width" trigger="blur"></vyr-input>
132
- </vyr-col>
133
- <vyr-col :span="12">
134
- <vyr-input v-model="descriptor.gridRect.height" trigger="blur"></vyr-input>
135
- </vyr-col>
136
- </vyr-label>
137
- </vyr-row>
138
- <vyr-row>
139
- <vyr-label :label="language.get('inspector.Echart.grid.rect.padding.horizontal')">
140
- <vyr-col :span="12">
141
- <vyr-input v-model="descriptor.gridRect.left" trigger="blur"></vyr-input>
142
- </vyr-col>
143
- <vyr-col :span="12">
144
- <vyr-input v-model="descriptor.gridRect.right" trigger="blur"></vyr-input>
145
- </vyr-col>
146
- </vyr-label>
147
- </vyr-row>
148
- <vyr-row>
149
- <vyr-label :label="language.get('inspector.Echart.grid.rect.padding.vertical')">
150
- <vyr-col :span="12">
151
- <vyr-input v-model="descriptor.gridRect.top" trigger="blur"></vyr-input>
152
- </vyr-col>
153
- <vyr-col :span="12">
154
- <vyr-input v-model="descriptor.gridRect.bottom" trigger="blur"></vyr-input>
155
- </vyr-col>
156
- </vyr-label>
157
- </vyr-row>
158
- <vyr-row>
159
- <vyr-divider :text="language.get('inspector.Echart.legend')"></vyr-divider>
160
- </vyr-row>
161
- <vyr-row>
162
- <vyr-label :label="language.get('inspector.Echart.legend.show')">
163
- <vyr-col>
164
- <vyr-select v-model="descriptor.legendShow" :data="option.stateOptions"></vyr-select>
165
- </vyr-col>
166
- </vyr-label>
167
- </vyr-row>
168
- <vyr-row>
169
- <vyr-label :label="language.get('inspector.Echart.legend.rect.size')">
170
- <vyr-col :span="12">
171
- <vyr-input v-model="descriptor.legendRect.width" trigger="blur"></vyr-input>
172
- </vyr-col>
173
- <vyr-col :span="12">
174
- <vyr-input v-model="descriptor.legendRect.height" trigger="blur"></vyr-input>
175
- </vyr-col>
176
- </vyr-label>
177
- </vyr-row>
178
- <vyr-row>
179
- <vyr-label :label="language.get('inspector.Echart.legend.position')">
180
- <vyr-col :span="12">
181
- <vyr-input v-model="descriptor.legendRect.left" trigger="blur"></vyr-input>
182
- </vyr-col>
183
- <vyr-col :span="12">
184
- <vyr-input v-model="descriptor.legendRect.top" trigger="blur"></vyr-input>
185
- </vyr-col>
186
- </vyr-label>
187
- </vyr-row>
188
- <vyr-row>
189
- <vyr-label :label="language.get('inspector.Echart.legend.font')">
190
- <vyr-col>
191
- <vyr-color-picker width="all" v-model="descriptor.legendTextStyle.color"></vyr-color-picker>
192
- </vyr-col>
193
- </vyr-label>
194
- </vyr-row>
195
- <vyr-row>
196
- <vyr-divider :text="language.get('inspector.Echart.tooltip')"></vyr-divider>
197
- </vyr-row>
198
- <vyr-row>
199
- <vyr-label :label="language.get('inspector.Echart.tooltip.show')">
200
- <vyr-col>
201
- <vyr-select v-model="descriptor.tooltipShow" :data="option.stateOptions"></vyr-select>
202
- </vyr-col>
203
- </vyr-label>
204
- </vyr-row>
205
- <vyr-row>
206
- <vyr-label :label="language.get('inspector.Echart.tooltip.trigger')">
207
- <vyr-col>
208
- <vyr-select v-model="descriptor.tooltipTrigger" :data="Echart.triggerOptions"></vyr-select>
209
- </vyr-col>
210
- </vyr-label>
211
- </vyr-row>
212
- </vyr-card>
213
- </template>
2
+ <vyr-card v-if="descriptor" :title="language.get('descriptor.type.Echart')" :scroll="true">
3
+ <base-fragment :raw="raw"></base-fragment>
4
+ <HTML-fragment :raw="raw"></HTML-fragment>
5
+ <vyr-row>
6
+ <vyr-divider :text="language.get('inspector.Echart.xAxis')"></vyr-divider>
7
+ </vyr-row>
8
+ <vyr-row>
9
+ <vyr-label :label="language.get('inspector.Echart.xAxis.show')">
10
+ <vyr-col>
11
+ <vyr-select v-model="descriptor.xAxisShow" :data="option.stateOptions"></vyr-select>
12
+ </vyr-col>
13
+ </vyr-label>
14
+ </vyr-row>
15
+ <vyr-row>
16
+ <vyr-label :label="language.get('inspector.Echart.xAxis.type')">
17
+ <vyr-col>
18
+ <vyr-select v-model="descriptor.xAxisType" :clearable="true"
19
+ :data="Echart.typeOptions"></vyr-select>
20
+ </vyr-col>
21
+ </vyr-label>
22
+ </vyr-row>
23
+ <vyr-row>
24
+ <vyr-label :label="language.get('inspector.Echart.xAxis.line.show')">
25
+ <vyr-col>
26
+ <vyr-select v-model="descriptor.xAxisLine.show" :data="option.stateOptions"></vyr-select>
27
+ </vyr-col>
28
+ </vyr-label>
29
+ </vyr-row>
30
+ <vyr-row>
31
+ <vyr-label :label="language.get('inspector.Echart.xAxis.tick.show')">
32
+ <vyr-col>
33
+ <vyr-select v-model="descriptor.xAxisTick.show" :data="option.stateOptions"></vyr-select>
34
+ </vyr-col>
35
+ </vyr-label>
36
+ </vyr-row>
37
+ <vyr-row>
38
+ <vyr-label :label="language.get('inspector.Echart.xAxis.label.show')">
39
+ <vyr-col>
40
+ <vyr-select v-model="descriptor.xAxisLabel.show" :data="option.stateOptions"></vyr-select>
41
+ </vyr-col>
42
+ </vyr-label>
43
+ </vyr-row>
44
+ <vyr-row>
45
+ <vyr-label :label="language.get('inspector.Echart.xAxis.splitLine.show')">
46
+ <vyr-col>
47
+ <vyr-select v-model="descriptor.xAxisSplitLine.show" :data="option.stateOptions"></vyr-select>
48
+ </vyr-col>
49
+ </vyr-label>
50
+ </vyr-row>
51
+ <vyr-row>
52
+ <vyr-label :label="language.get('inspector.Echart.xAxis.font')">
53
+ <vyr-col :span="12">
54
+ <vyr-color-picker width="all" v-model="descriptor.xAxisLabel.color"></vyr-color-picker>
55
+ </vyr-col>
56
+ <vyr-col :span="12">
57
+ <vyr-input-number v-model="descriptor.xAxisLabel.fontSize"></vyr-input-number>
58
+ </vyr-col>
59
+ </vyr-label>
60
+ </vyr-row>
61
+ <vyr-row>
62
+ <vyr-divider :text="language.get('inspector.Echart.yAxis')"></vyr-divider>
63
+ </vyr-row>
64
+ <vyr-row>
65
+ <vyr-label :label="language.get('inspector.Echart.yAxis.show')">
66
+ <vyr-col>
67
+ <vyr-select v-model="descriptor.yAxisShow" :data="option.stateOptions"></vyr-select>
68
+ </vyr-col>
69
+ </vyr-label>
70
+ </vyr-row>
71
+ <vyr-row>
72
+ <vyr-label :label="language.get('inspector.Echart.yAxis.type')">
73
+ <vyr-col>
74
+ <vyr-select v-model="descriptor.yAxisType" :clearable="true"
75
+ :data="Echart.typeOptions"></vyr-select>
76
+ </vyr-col>
77
+ </vyr-label>
78
+ </vyr-row>
79
+ <vyr-row>
80
+ <vyr-label :label="language.get('inspector.Echart.yAxis.line.show')">
81
+ <vyr-col>
82
+ <vyr-select v-model="descriptor.yAxisLine.show" :data="option.stateOptions"></vyr-select>
83
+ </vyr-col>
84
+ </vyr-label>
85
+ </vyr-row>
86
+ <vyr-row>
87
+ <vyr-label :label="language.get('inspector.Echart.yAxis.tick.show')">
88
+ <vyr-col>
89
+ <vyr-select v-model="descriptor.yAxisTick.show" :data="option.stateOptions"></vyr-select>
90
+ </vyr-col>
91
+ </vyr-label>
92
+ </vyr-row>
93
+ <vyr-row>
94
+ <vyr-label :label="language.get('inspector.Echart.yAxis.label.show')">
95
+ <vyr-col>
96
+ <vyr-select v-model="descriptor.yAxisLabel.show" :data="option.stateOptions"></vyr-select>
97
+ </vyr-col>
98
+ </vyr-label>
99
+ </vyr-row>
100
+ <vyr-row>
101
+ <vyr-label :label="language.get('inspector.Echart.yAxis.splitLine.show')">
102
+ <vyr-col>
103
+ <vyr-select v-model="descriptor.yAxisSplitLine.show" :data="option.stateOptions"></vyr-select>
104
+ </vyr-col>
105
+ </vyr-label>
106
+ </vyr-row>
107
+ <vyr-row>
108
+ <vyr-label :label="language.get('inspector.Echart.yAxis.font')">
109
+ <vyr-col :span="12">
110
+ <vyr-color-picker width="all" v-model="descriptor.yAxisLabel.color"></vyr-color-picker>
111
+ </vyr-col>
112
+ <vyr-col :span="12">
113
+ <vyr-input-number v-model="descriptor.yAxisLabel.fontSize"></vyr-input-number>
114
+ </vyr-col>
115
+ </vyr-label>
116
+ </vyr-row>
117
+ <vyr-row>
118
+ <vyr-divider :text="language.get('inspector.Echart.grid')"></vyr-divider>
119
+ </vyr-row>
120
+ <vyr-row>
121
+ <vyr-label :label="language.get('inspector.Echart.grid.show')">
122
+ <vyr-col>
123
+ <vyr-select v-model="descriptor.gridShow" :data="option.stateOptions"></vyr-select>
124
+ </vyr-col>
125
+ </vyr-label>
126
+ </vyr-row>
127
+ <vyr-row>
128
+ <vyr-label :label="language.get('inspector.Echart.grid.rect.size')">
129
+ <vyr-col :span="12">
130
+ <vyr-input v-model="descriptor.gridRect.width" trigger="blur"></vyr-input>
131
+ </vyr-col>
132
+ <vyr-col :span="12">
133
+ <vyr-input v-model="descriptor.gridRect.height" trigger="blur"></vyr-input>
134
+ </vyr-col>
135
+ </vyr-label>
136
+ </vyr-row>
137
+ <vyr-row>
138
+ <vyr-label :label="language.get('inspector.Echart.grid.rect.padding.horizontal')">
139
+ <vyr-col :span="12">
140
+ <vyr-input v-model="descriptor.gridRect.left" trigger="blur"></vyr-input>
141
+ </vyr-col>
142
+ <vyr-col :span="12">
143
+ <vyr-input v-model="descriptor.gridRect.right" trigger="blur"></vyr-input>
144
+ </vyr-col>
145
+ </vyr-label>
146
+ </vyr-row>
147
+ <vyr-row>
148
+ <vyr-label :label="language.get('inspector.Echart.grid.rect.padding.vertical')">
149
+ <vyr-col :span="12">
150
+ <vyr-input v-model="descriptor.gridRect.top" trigger="blur"></vyr-input>
151
+ </vyr-col>
152
+ <vyr-col :span="12">
153
+ <vyr-input v-model="descriptor.gridRect.bottom" trigger="blur"></vyr-input>
154
+ </vyr-col>
155
+ </vyr-label>
156
+ </vyr-row>
157
+ <vyr-row>
158
+ <vyr-divider :text="language.get('inspector.Echart.legend')"></vyr-divider>
159
+ </vyr-row>
160
+ <vyr-row>
161
+ <vyr-label :label="language.get('inspector.Echart.legend.show')">
162
+ <vyr-col>
163
+ <vyr-select v-model="descriptor.legendShow" :data="option.stateOptions"></vyr-select>
164
+ </vyr-col>
165
+ </vyr-label>
166
+ </vyr-row>
167
+ <vyr-row>
168
+ <vyr-label :label="language.get('inspector.Echart.legend.rect.size')">
169
+ <vyr-col :span="12">
170
+ <vyr-input v-model="descriptor.legendRect.width" trigger="blur"></vyr-input>
171
+ </vyr-col>
172
+ <vyr-col :span="12">
173
+ <vyr-input v-model="descriptor.legendRect.height" trigger="blur"></vyr-input>
174
+ </vyr-col>
175
+ </vyr-label>
176
+ </vyr-row>
177
+ <vyr-row>
178
+ <vyr-label :label="language.get('inspector.Echart.legend.position')">
179
+ <vyr-col :span="12">
180
+ <vyr-input v-model="descriptor.legendRect.left" trigger="blur"></vyr-input>
181
+ </vyr-col>
182
+ <vyr-col :span="12">
183
+ <vyr-input v-model="descriptor.legendRect.top" trigger="blur"></vyr-input>
184
+ </vyr-col>
185
+ </vyr-label>
186
+ </vyr-row>
187
+ <vyr-row>
188
+ <vyr-label :label="language.get('inspector.Echart.legend.font')">
189
+ <vyr-col>
190
+ <vyr-color-picker width="all" v-model="descriptor.legendTextStyle.color"></vyr-color-picker>
191
+ </vyr-col>
192
+ </vyr-label>
193
+ </vyr-row>
194
+ <vyr-row>
195
+ <vyr-divider :text="language.get('inspector.Echart.tooltip')"></vyr-divider>
196
+ </vyr-row>
197
+ <vyr-row>
198
+ <vyr-label :label="language.get('inspector.Echart.tooltip.show')">
199
+ <vyr-col>
200
+ <vyr-select v-model="descriptor.tooltipShow" :data="option.stateOptions"></vyr-select>
201
+ </vyr-col>
202
+ </vyr-label>
203
+ </vyr-row>
204
+ <vyr-row>
205
+ <vyr-label :label="language.get('inspector.Echart.tooltip.trigger')">
206
+ <vyr-col>
207
+ <vyr-select v-model="descriptor.tooltipTrigger" :data="Echart.triggerOptions"></vyr-select>
208
+ </vyr-col>
209
+ </vyr-label>
210
+ </vyr-row>
211
+ </vyr-card>
214
212
  </template>
215
213
 
216
214