@flexem/fc-gui 3.0.0-alpha.13 → 3.0.0-alpha.131
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/CHANGELOG.md +439 -1
- package/assets/img/black_first_page.png +0 -0
- package/assets/img/black_last_page.png +0 -0
- package/assets/img/black_next_page.png +0 -0
- package/assets/img/black_previous_page.png +0 -0
- package/bundles/@flexem/fc-gui.umd.js +38522 -34542
- package/bundles/@flexem/fc-gui.umd.js.map +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js +5 -5
- package/bundles/@flexem/fc-gui.umd.min.js.map +1 -1
- package/communication/variable/variable-communicator.d.ts +4 -0
- package/communication/variable/variable-value.d.ts +4 -1
- package/communication/variable/variable-value.js +4 -1
- package/communication/variable/variable-value.metadata.json +1 -1
- package/config/alarm/alarm.store.d.ts +6 -0
- package/config/alarm/alarm.store.js +0 -0
- package/config/alarm/alarm.store.metadata.json +1 -0
- package/config/alarm/get-alarms-args.d.ts +12 -0
- package/config/alarm/get-alarms-args.js +13 -0
- package/config/alarm/get-alarms-args.metadata.json +1 -0
- package/config/alarm/index.d.ts +2 -0
- package/config/alarm/index.js +1 -0
- package/config/alarm/index.metadata.json +1 -0
- package/config/config-store.d.ts +2 -0
- package/config/history-data/get-history-data-args.d.ts +14 -3
- package/config/history-data/get-history-data-args.js +5 -3
- package/config/history-data/get-history-data-args.metadata.json +1 -1
- package/config/history-data/history-data.model.d.ts +7 -1
- package/config/history-data/history-data.model.js +9 -1
- package/config/history-data/history-data.model.metadata.json +1 -1
- package/config/history-data/index.d.ts +1 -1
- package/config/history-data/index.js +1 -1
- package/config/history-data/index.metadata.json +1 -1
- package/config/index.d.ts +1 -0
- package/config/index.js +1 -0
- package/config/index.metadata.json +1 -1
- package/elements/air-quality/air-quality-element.d.ts +31 -0
- package/elements/air-quality/air-quality-element.js +194 -0
- package/elements/air-quality/air-quality-element.metadata.json +1 -0
- package/elements/alarm/alarm-element.d.ts +69 -0
- package/elements/alarm/alarm-element.js +497 -0
- package/elements/alarm/alarm-element.metadata.json +1 -0
- package/elements/bar-graph-element.d.ts +10 -2
- package/elements/bar-graph-element.js +135 -5
- package/elements/bar-graph-element.metadata.json +1 -1
- package/elements/base/readable-element.d.ts +6 -1
- package/elements/base/readable-element.js +64 -2
- package/elements/base/readable-element.metadata.json +1 -1
- package/elements/base/state-control-element.d.ts +3 -1
- package/elements/base/state-control-element.js +3 -0
- package/elements/datetime-display/datetime-display-element.d.ts +1 -0
- package/elements/datetime-display/datetime-display-element.js +10 -2
- package/elements/datetime-display/datetime-display-element.metadata.json +1 -1
- package/elements/datetime-display/time-zone-select-json.d.ts +8 -0
- package/elements/datetime-display/time-zone-select-json.js +558 -0
- package/elements/historical-curve/historical-curve.element.d.ts +39 -3
- package/elements/historical-curve/historical-curve.element.js +509 -43
- package/elements/historical-curve/historical-curve.element.metadata.json +1 -1
- package/elements/main-element.d.ts +1 -0
- package/elements/main-element.js +59 -9
- package/elements/main-element.metadata.json +1 -1
- package/elements/meter-element.d.ts +7 -1
- package/elements/meter-element.js +76 -7
- package/elements/meter-element.metadata.json +1 -1
- package/elements/numerical-display/numerical-display-element.d.ts +16 -3
- package/elements/numerical-display/numerical-display-element.js +83 -11
- package/elements/numerical-display/numerical-display-element.metadata.json +1 -1
- package/elements/per-view-variable-communicator.d.ts +3 -0
- package/elements/per-view-variable-communicator.js +11 -0
- package/elements/per-view-variable-communicator.metadata.json +1 -1
- package/elements/ring-graph/ring-graph-element.d.ts +13 -1
- package/elements/ring-graph/ring-graph-element.js +164 -3
- package/elements/ring-graph/ring-graph-element.metadata.json +1 -1
- package/elements/scroll-alarm/scroll-alarm-element.d.ts +67 -0
- package/elements/scroll-alarm/scroll-alarm-element.js +663 -0
- package/elements/scroll-alarm/scroll-alarm-element.metadata.json +1 -0
- package/elements/shared/graph/graph-state-element.js +0 -3
- package/elements/shared/text/text-element.d.ts +9 -0
- package/elements/shared/text/text-element.js +33 -2
- package/elements/shared/text/text-element.metadata.json +1 -1
- package/elements/shared/text/text-state-element.d.ts +25 -2
- package/elements/shared/text/text-state-element.js +138 -63
- package/elements/shared/text/text-state-element.metadata.json +1 -1
- package/elements/static-elements/hyperlink-element.d.ts +24 -2
- package/elements/static-elements/hyperlink-element.js +101 -3
- package/elements/static-elements/hyperlink-element.metadata.json +1 -1
- package/elements/static-elements/text-element.d.ts +23 -2
- package/elements/static-elements/text-element.js +96 -3
- package/elements/static-elements/text-element.metadata.json +1 -1
- package/elements/switch-indicator-light/bit-switch-operator.d.ts +1 -0
- package/elements/switch-indicator-light/bit-switch-operator.js +19 -0
- package/elements/switch-indicator-light/bit-switch-operator.metadata.json +1 -1
- package/elements/switch-indicator-light/switch-indicator-light-element.d.ts +18 -2
- package/elements/switch-indicator-light/switch-indicator-light-element.js +120 -25
- package/elements/switch-indicator-light/switch-indicator-light-element.metadata.json +1 -1
- package/elements/switch-indicator-light/switch-operator.d.ts +1 -0
- package/elements/switch-indicator-light/word-switch-operator.d.ts +1 -0
- package/elements/switch-indicator-light/word-switch-operator.js +6 -0
- package/elements/switch-indicator-light/word-switch-operator.metadata.json +1 -1
- package/elements/video/video-element.d.ts +4 -0
- package/elements/video/video-element.js +81 -21
- package/elements/video/video-element.metadata.json +1 -1
- package/elements/view-operation/view-operation.element.d.ts +23 -2
- package/elements/view-operation/view-operation.element.js +103 -1
- package/elements/view-operation/view-operation.element.metadata.json +1 -1
- package/elements/weather/weater-element.js +0 -1
- package/gui/gui-context.d.ts +12 -2
- package/gui/gui-host.d.ts +1 -1
- package/gui/gui-view.d.ts +2 -0
- package/gui/gui-view.js +38 -2
- package/gui/gui-view.metadata.json +1 -1
- package/gui/gui.component.d.ts +3 -0
- package/gui/gui.component.js +15 -2
- package/gui/gui.component.metadata.json +1 -1
- package/localization/localization.service.d.ts +7 -0
- package/localization/localization.service.js +10 -3
- package/localization/localization.service.metadata.json +1 -1
- package/localization/localization.service.zh_CN.js +8 -1
- package/localization/localization.service.zh_CN.metadata.json +1 -1
- package/modal/write-value/write-value-modal-args.d.ts +5 -1
- package/modal/write-value/write-value-modal-args.js +3 -1
- package/modal/write-value/write-value-modal-args.metadata.json +1 -1
- package/modal/write-value/write-value-modal.component.d.ts +12 -7
- package/modal/write-value/write-value-modal.component.html +9 -4
- package/modal/write-value/write-value-modal.component.js +73 -15
- package/modal/write-value/write-value-modal.component.metadata.json +1 -1
- package/model/air-quality/air-quality-info.d.ts +23 -0
- package/model/air-quality/air-quality-info.js +4 -0
- package/model/air-quality/air-quality-info.metadata.json +1 -0
- package/model/air-quality/air-quality.model.d.ts +7 -0
- package/model/air-quality/air-quality.model.js +0 -0
- package/model/air-quality/air-quality.model.metadata.json +1 -0
- package/model/alarm/alarm.model.d.ts +13 -0
- package/model/alarm/alarm.model.js +0 -0
- package/model/alarm/alarm.model.metadata.json +1 -0
- package/model/bar-graph/bar-graph.d.ts +4 -0
- package/model/base/font-setting-model.d.ts +6 -0
- package/model/base/font-setting-model.metadata.json +1 -1
- package/model/base/readable-model.d.ts +4 -0
- package/model/datetime-display/datetime-display.d.ts +1 -0
- package/model/historical-curve/historical-curve-axis-settings.d.ts +11 -0
- package/model/historical-curve/historical-curve-axis-settings.js +5 -0
- package/model/historical-curve/historical-curve-axis-settings.metadata.json +1 -1
- package/model/historical-curve/historical-curve-chanel.model.d.ts +8 -0
- package/model/historical-curve/historical-curve.data-settings.d.ts +18 -1
- package/model/historical-curve/historical-curve.data-settings.metadata.json +1 -1
- package/model/meter/meter.d.ts +4 -0
- package/model/ring-graph/ring-graph.model.d.ts +8 -0
- package/model/scroll-alarm/scroll-alarm.model.d.ts +21 -0
- package/model/scroll-alarm/scroll-alarm.model.js +0 -0
- package/model/scroll-alarm/scroll-alarm.model.metadata.json +1 -0
- package/model/switch-indicator-light/bit-switch-operation.d.ts +2 -1
- package/model/switch-indicator-light/bit-switch-operation.js +1 -0
- package/model/switch-indicator-light/bit-switch-operation.metadata.json +1 -1
- package/model/switch-indicator-light/switch-indicator-light.d.ts +2 -0
- package/model/view-operation/view-operation-element.model.d.ts +7 -1
- package/package.json +1 -1
- package/public_api.js +1 -0
- package/remote/communication/variable/remote-variable-communicator.d.ts +22 -0
- package/remote/communication/variable/remote-variable-communicator.js +122 -2
- package/remote/communication/variable/remote-variable-communicator.metadata.json +1 -1
- package/remote/communication/variable/remote-variable-protocol.d.ts +5 -0
- package/service/index.d.ts +4 -0
- package/service/index.js +1 -0
- package/service/index.metadata.json +1 -1
- package/service/language.service.d.ts +37 -0
- package/service/language.service.js +0 -0
- package/service/language.service.metadata.json +1 -0
- package/service/released-variable/index.d.ts +1 -0
- package/service/released-variable/index.js +0 -0
- package/service/released-variable/index.metadata.json +1 -0
- package/service/released-variable/released-variable.service.d.ts +4 -0
- package/service/released-variable/released-variable.service.js +0 -0
- package/service/released-variable/released-variable.service.metadata.json +1 -0
- package/service/system-text-library.service.d.ts +76 -0
- package/service/system-text-library.service.js +28 -0
- package/service/system-text-library.service.metadata.json +1 -0
- package/service/text-library.service.d.ts +49 -0
- package/service/text-library.service.js +0 -0
- package/service/text-library.service.metadata.json +1 -0
- package/service/weather.service.d.ts +1 -0
- package/shared/gui-consts.d.ts +3 -0
- package/shared/gui-consts.js +3 -0
- package/shared/gui-consts.metadata.json +1 -1
- package/utils/data-type/fbox-data-type.service.js +40 -0
|
@@ -0,0 +1,558 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 导出时区json
|
|
3
|
+
*/
|
|
4
|
+
const timeZoneOptions = [
|
|
5
|
+
{
|
|
6
|
+
key: '',
|
|
7
|
+
utcoffset: '08:00'
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
key: 'Dateline Standard Time',
|
|
11
|
+
utcoffset: '-12:00'
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
key: 'UTC-11',
|
|
15
|
+
utcoffset: '-11:00'
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
key: 'Aleutian Standard Time',
|
|
19
|
+
utcoffset: '-10:00'
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
key: 'Hawaiian Standard Time',
|
|
23
|
+
utcoffset: '-10:00'
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
key: 'Marquesas Standard Time',
|
|
27
|
+
utcoffset: '-09:30'
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
key: 'Alaskan Standard Time',
|
|
31
|
+
utcoffset: '-09:00'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
key: 'UTC-09',
|
|
35
|
+
utcoffset: '-09:00'
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
key: 'Pacific Standard Time (Mexico)',
|
|
39
|
+
utcoffset: '-08:00'
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
key: 'Pacific Standard Time',
|
|
43
|
+
utcoffset: '-08:00'
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
key: 'UTC-08',
|
|
47
|
+
utcoffset: '-08:00'
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
key: 'Mountain Standard Time (Mexico)',
|
|
51
|
+
utcoffset: '-07:00'
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
key: 'Mountain Standard Time',
|
|
55
|
+
utcoffset: '-07:00'
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
key: 'US Mountain Standard Time',
|
|
59
|
+
utcoffset: '-07:00'
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
key: 'Canada Central Standard Time',
|
|
63
|
+
utcoffset: '-06:00'
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
key: 'Central America Standard Time',
|
|
67
|
+
utcoffset: '-06:00'
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
key: 'Central Standard Time (Mexico)',
|
|
71
|
+
utcoffset: '-06:00'
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
key: 'Central Standard Time',
|
|
75
|
+
utcoffset: '-06:00'
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
key: 'Easter Island Standard Time',
|
|
79
|
+
utcoffset: '-06:00'
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
key: 'Cuba Standard Time',
|
|
83
|
+
utcoffset: '-05:00'
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
key: 'Eastern Standard Time (Mexico)',
|
|
87
|
+
utcoffset: '-05:00'
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
key: 'Eastern Standard Time',
|
|
91
|
+
utcoffset: '-05:00'
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
key: 'Haiti Standard Time',
|
|
95
|
+
utcoffset: '-05:00'
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
key: 'SA Pacific Standard Time',
|
|
99
|
+
utcoffset: '-05:00'
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
key: 'Turks And Caicos Standard Time',
|
|
103
|
+
utcoffset: '-05:00'
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
key: 'US Eastern Standard Time',
|
|
107
|
+
utcoffset: '-05:00'
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
key: 'Atlantic Standard Time',
|
|
111
|
+
utcoffset: '-04:00'
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
key: 'Central Brazilian Standard Time',
|
|
115
|
+
utcoffset: '-04:00'
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
key: 'Pacific SA Standard Time',
|
|
119
|
+
utcoffset: '-04:00'
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
key: 'Paraguay Standard Time',
|
|
123
|
+
utcoffset: '-04:00'
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
key: 'SA Western Standard Time',
|
|
127
|
+
utcoffset: '-04:00'
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
key: 'Venezuela Standard Time',
|
|
131
|
+
utcoffset: '-04:00'
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
key: 'Newfoundland Standard Time',
|
|
135
|
+
utcoffset: '-03:30'
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
key: 'Argentina Standard Time',
|
|
139
|
+
utcoffset: '-03:00'
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
key: 'Bahia Standard Time',
|
|
143
|
+
utcoffset: '-03:00'
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
key: 'E. South America Standard Time',
|
|
147
|
+
utcoffset: '-03:00'
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
key: 'Greenland Standard Time',
|
|
151
|
+
utcoffset: '-03:00'
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
key: 'Magallanes Standard Time',
|
|
155
|
+
utcoffset: '-03:00'
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
key: 'Montevideo Standard Time',
|
|
159
|
+
utcoffset: '-03:00'
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
key: 'SA Eastern Standard Time',
|
|
163
|
+
utcoffset: '-03:00'
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
key: 'Saint Pierre Standard Time',
|
|
167
|
+
utcoffset: '-03:00'
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
key: 'Tocantins Standard Time',
|
|
171
|
+
utcoffset: '-03:00'
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
key: 'Mid-Atlantic Standard Time',
|
|
175
|
+
utcoffset: '-02:00'
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
key: 'UTC-02',
|
|
179
|
+
utcoffset: '-02:00'
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
key: 'Azores Standard Time',
|
|
183
|
+
utcoffset: '-01:00'
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
key: 'Cape Verde Standard Time',
|
|
187
|
+
utcoffset: '-01:00'
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
key: 'GMT Standard Time',
|
|
191
|
+
utcoffset: '+00:00'
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
key: 'Greenwich Standard Time',
|
|
195
|
+
utcoffset: '+00:00'
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
key: 'Morocco Standard Time',
|
|
199
|
+
utcoffset: '+01:00'
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
key: 'Sao Tome Standard Time',
|
|
203
|
+
utcoffset: '+00:00'
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
key: 'UTC',
|
|
207
|
+
utcoffset: '+00:00'
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
key: 'Central Europe Standard Time',
|
|
211
|
+
utcoffset: '+01:00'
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
key: 'Central European Standard Time',
|
|
215
|
+
utcoffset: '+01:00'
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
key: 'Romance Standard Time',
|
|
219
|
+
utcoffset: '+01:00'
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
key: 'W. Central Africa Standard Time',
|
|
223
|
+
utcoffset: '+01:00'
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
key: 'W. Europe Standard Time',
|
|
227
|
+
utcoffset: '+01:00'
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
key: 'E. Europe Standard Time',
|
|
231
|
+
utcoffset: '+02:00'
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
key: 'Egypt Standard Time',
|
|
235
|
+
utcoffset: '+02:00'
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
key: 'FLE Standard Time',
|
|
239
|
+
utcoffset: '+02:00'
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
key: 'GTB Standard Time',
|
|
243
|
+
utcoffset: '+02:00'
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
key: 'Israel Standard Time',
|
|
247
|
+
utcoffset: '+02:00'
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
key: 'Jordan Standard Time',
|
|
251
|
+
utcoffset: '+02:00'
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
key: 'Kaliningrad Standard Time',
|
|
255
|
+
utcoffset: '+02:00'
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
key: 'Libya Standard Time',
|
|
259
|
+
utcoffset: '+02:00'
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
key: 'Middle East Standard Time',
|
|
263
|
+
utcoffset: '+02:00'
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
key: 'Namibia Standard Time',
|
|
267
|
+
utcoffset: '+02:00'
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
key: 'South Africa Standard Time',
|
|
271
|
+
utcoffset: '+02:00'
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
key: 'Sudan Standard Time',
|
|
275
|
+
utcoffset: '+02:00'
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
key: 'Syria Standard Time',
|
|
279
|
+
utcoffset: '+02:00'
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
key: 'West Bank Standard Time',
|
|
283
|
+
utcoffset: '+02:00'
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
key: 'Arab Standard Time',
|
|
287
|
+
utcoffset: '+03:00'
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
key: 'Arabic Standard Time',
|
|
291
|
+
utcoffset: '+03:00'
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
key: 'Belarus Standard Time',
|
|
295
|
+
utcoffset: '+03:00'
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
key: 'E. Africa Standard Time',
|
|
299
|
+
utcoffset: '+03:00'
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
key: 'Russian Standard Time',
|
|
303
|
+
utcoffset: '+03:00'
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
key: 'Turkey Standard Time',
|
|
307
|
+
utcoffset: '+03:00'
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
key: 'Iran Standard Time',
|
|
311
|
+
utcoffset: '+03:30'
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
key: 'Arabian Standard Time',
|
|
315
|
+
utcoffset: '+04:00'
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
key: 'Astrakhan Standard Time',
|
|
319
|
+
utcoffset: '+04:00'
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
key: 'Azerbaijan Standard Time',
|
|
323
|
+
utcoffset: '+04:00'
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
key: 'Caucasus Standard Time',
|
|
327
|
+
utcoffset: '+04:00'
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
key: 'Georgian Standard Time',
|
|
331
|
+
utcoffset: '+04:00'
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
key: 'Mauritius Standard Time',
|
|
335
|
+
utcoffset: '+04:00'
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
key: 'Russia Time Zone 3',
|
|
339
|
+
utcoffset: '+04:00'
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
key: 'Saratov Standard Time',
|
|
343
|
+
utcoffset: '+04:00'
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
key: 'Afghanistan Standard Time',
|
|
347
|
+
utcoffset: '+04:30'
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
key: 'Ekaterinburg Standard Time',
|
|
351
|
+
utcoffset: '+05:00'
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
key: 'Pakistan Standard Time',
|
|
355
|
+
utcoffset: '+05:00'
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
key: 'West Asia Standard Time',
|
|
359
|
+
utcoffset: '+05:00'
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
key: 'India Standard Time',
|
|
363
|
+
utcoffset: '+05:30'
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
key: 'Sri Lanka Standard Time',
|
|
367
|
+
utcoffset: '+05:30'
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
key: 'Nepal Standard Time',
|
|
371
|
+
utcoffset: '+05:45'
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
key: 'Bangladesh Standard Time',
|
|
375
|
+
utcoffset: '+06:00'
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
key: 'Central Asia Standard Time',
|
|
379
|
+
utcoffset: '+06:00'
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
key: 'Omsk Standard Time',
|
|
383
|
+
utcoffset: '+06:00'
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
key: 'Myanmar Standard Time',
|
|
387
|
+
utcoffset: '+06:30'
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
key: 'Altai Standard Time',
|
|
391
|
+
utcoffset: '+07:00'
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
key: 'N. Central Asia Standard Time',
|
|
395
|
+
utcoffset: '+07:00'
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
key: 'North Asia Standard Time',
|
|
399
|
+
utcoffset: '+07:00'
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
key: 'SE Asia Standard Time',
|
|
403
|
+
utcoffset: '+07:00'
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
key: 'Tomsk Standard Time',
|
|
407
|
+
utcoffset: '+07:00'
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
key: 'W. Mongolia Standard Time',
|
|
411
|
+
utcoffset: '+07:00'
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
key: 'China Standard Time',
|
|
415
|
+
utcoffset: '+08:00'
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
key: 'North Asia East Standard Time',
|
|
419
|
+
utcoffset: '+08:00'
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
key: 'Singapore Standard Time',
|
|
423
|
+
utcoffset: '+08:00'
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
key: 'Taipei Standard Time',
|
|
427
|
+
utcoffset: '+08:00'
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
key: 'Ulaanbaatar Standard Time',
|
|
431
|
+
utcoffset: '+08:00'
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
key: 'W. Australia Standard Time',
|
|
435
|
+
utcoffset: '+08:00'
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
key: 'Aus Central W. Standard Time',
|
|
439
|
+
utcoffset: '+08:45'
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
key: 'Korea Standard Time',
|
|
443
|
+
utcoffset: '+09:00'
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
key: 'North Korea Standard Time',
|
|
447
|
+
utcoffset: '+09:00'
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
key: 'Tokyo Standard Time',
|
|
451
|
+
utcoffset: '+09:00'
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
key: 'Transbaikal Standard Time',
|
|
455
|
+
utcoffset: '+09:00'
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
key: 'Yakutsk Standard Time',
|
|
459
|
+
utcoffset: '+09:00'
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
key: 'AUS Central Standard Time',
|
|
463
|
+
utcoffset: '+09:30'
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
key: 'Cen. Australia Standard Time',
|
|
467
|
+
utcoffset: '+09:30'
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
key: 'AUS Eastern Standard Time',
|
|
471
|
+
utcoffset: '+10:00'
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
key: 'E. Australia Standard Time',
|
|
475
|
+
utcoffset: '+10:00'
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
key: 'Tasmania Standard Time',
|
|
479
|
+
utcoffset: '+10:00'
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
key: 'Vladivostok Standard Time',
|
|
483
|
+
utcoffset: '+10:00'
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
key: 'West Pacific Standard Time',
|
|
487
|
+
utcoffset: '+10:00'
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
key: 'Lord Howe Standard Time',
|
|
491
|
+
utcoffset: '+10:30'
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
key: 'Bougainville Standard Time',
|
|
495
|
+
utcoffset: '+11:00'
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
key: 'Central Pacific Standard Time',
|
|
499
|
+
utcoffset: '+11:00'
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
key: 'Magadan Standard Time',
|
|
503
|
+
utcoffset: '+11:00'
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
key: 'Norfolk Standard Time',
|
|
507
|
+
utcoffset: '+11:00'
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
key: 'Russia Time Zone 10',
|
|
511
|
+
utcoffset: '+11:00'
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
key: 'Sakhalin Standard Time',
|
|
515
|
+
utcoffset: '+11:00'
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
key: 'Fiji Standard Time',
|
|
519
|
+
utcoffset: '+12:00'
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
key: 'Kamchatka Standard Time',
|
|
523
|
+
utcoffset: '+12:00'
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
key: 'New Zealand Standard Time',
|
|
527
|
+
utcoffset: '+12:00'
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
key: 'Russia Time Zone 11',
|
|
531
|
+
utcoffset: '+12:00'
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
key: 'UTC+12',
|
|
535
|
+
utcoffset: '+12:00'
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
key: 'Chatham Islands Standard Time',
|
|
539
|
+
utcoffset: '+12:45'
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
key: 'Samoa Standard Time',
|
|
543
|
+
utcoffset: '+13:00'
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
key: 'Tonga Standard Time',
|
|
547
|
+
utcoffset: '+13:00'
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
key: 'UTC+13',
|
|
551
|
+
utcoffset: '+13:00'
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
key: 'Line Islands Standard Time',
|
|
555
|
+
utcoffset: '+14:00'
|
|
556
|
+
}
|
|
557
|
+
];
|
|
558
|
+
export default timeZoneOptions;
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import { VariableCommunicator } from '../../communication';
|
|
2
2
|
import { HistoryDataStore, VariableStore } from '../../config';
|
|
3
3
|
import { HistoricalCurveModel } from '../../model/historical-curve/historical-curve.model';
|
|
4
|
-
import { PermissionChecker } from '../../service';
|
|
4
|
+
import { PermissionChecker, SystemTextLibraryService, LanguageService } from '../../service';
|
|
5
5
|
import { ConditionalDisplayElement } from '../base/conditional-display-element';
|
|
6
6
|
import { Injector } from '@angular/core';
|
|
7
|
+
import { GuiContext } from '../../gui/gui-context';
|
|
7
8
|
export declare class HistoricalCurveElement extends ConditionalDisplayElement {
|
|
8
9
|
private readonly historyDataStore;
|
|
10
|
+
private readonly systemTextLibraryService?;
|
|
11
|
+
private readonly languageService?;
|
|
12
|
+
private readonly guiContext?;
|
|
9
13
|
readonly model: HistoricalCurveModel;
|
|
10
14
|
private readonly logger;
|
|
11
15
|
private readonly localization;
|
|
12
|
-
private
|
|
16
|
+
private timePeriods;
|
|
17
|
+
private languageChangeSubscription?;
|
|
13
18
|
private readonly displayOption;
|
|
14
19
|
/**
|
|
15
20
|
* 当前时间段的开始时间
|
|
@@ -32,14 +37,45 @@ export declare class HistoricalCurveElement extends ConditionalDisplayElement {
|
|
|
32
37
|
private elementStatus;
|
|
33
38
|
private chartElement;
|
|
34
39
|
private isMobileMode;
|
|
35
|
-
|
|
40
|
+
private data;
|
|
41
|
+
private timer;
|
|
42
|
+
private resizeEventListener;
|
|
43
|
+
private isAndroid;
|
|
44
|
+
private needResize;
|
|
45
|
+
constructor(element: HTMLElement, injector: Injector, permissionChecker: PermissionChecker, variableCommunicator: VariableCommunicator, variableStore: VariableStore, historyDataStore: HistoryDataStore, signalRAppId: string, systemTextLibraryService?: SystemTextLibraryService, languageService?: LanguageService, guiContext?: GuiContext);
|
|
36
46
|
dispose(): void;
|
|
47
|
+
private initKeyboardListener;
|
|
48
|
+
private setNeedResize;
|
|
49
|
+
/**
|
|
50
|
+
* 订阅语种变化事件
|
|
51
|
+
*/
|
|
52
|
+
private subscribeLanguageChange;
|
|
53
|
+
/**
|
|
54
|
+
* 更新语种相关的文案(时间段选择器)
|
|
55
|
+
*/
|
|
56
|
+
private updateLanguageTexts;
|
|
57
|
+
/**
|
|
58
|
+
* 获取当前语种的 culture 代码
|
|
59
|
+
*/
|
|
60
|
+
private getCurrentCulture;
|
|
37
61
|
private getValidTimePeriods;
|
|
62
|
+
/**
|
|
63
|
+
* 获取时间段文案(从系统文本库获取多语种翻译)
|
|
64
|
+
*/
|
|
65
|
+
private getTimePeriodText;
|
|
38
66
|
private updateTimeRange;
|
|
39
67
|
private updateQueryTimeRange;
|
|
40
68
|
private reRenderElement;
|
|
41
69
|
private renderElement;
|
|
70
|
+
private handleQueryResult;
|
|
71
|
+
setupTooltipAutoHide(chart: any): void;
|
|
42
72
|
private renderChart;
|
|
73
|
+
/**
|
|
74
|
+
* 【新格式】多条目独立数据的曲线渲染
|
|
75
|
+
* 每个条目独立保持自己的时间戳,不会出现时间戳混乱的问题
|
|
76
|
+
*/
|
|
77
|
+
private renderChartWithMultiItems;
|
|
78
|
+
initPoint(): void;
|
|
43
79
|
private getLineChart;
|
|
44
80
|
private getMultiBarWithFocusChart;
|
|
45
81
|
private renderCommonProperty;
|