@emqx/shared-ui-i18n 0.0.6 → 0.0.8
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/dist/authHelpCodeMap.d.ts +14 -0
- package/dist/index.js +160 -50
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -171,19 +171,25 @@ FROM
|
|
|
171
171
|
], t = {
|
|
172
172
|
common: {
|
|
173
173
|
health_check_interval: "Health Check Interval",
|
|
174
|
-
query_mode: "Query Mode"
|
|
175
|
-
|
|
176
|
-
|
|
174
|
+
query_mode: "Query Mode",
|
|
175
|
+
max_retries: "Max Retries",
|
|
176
|
+
worker_pool_size: "Buffer Pool Size",
|
|
177
|
+
start_after_created: "Start After Created",
|
|
178
|
+
start_timeout: "Start Timeout",
|
|
179
|
+
request_ttl: "Request TTL",
|
|
180
|
+
inflight_window: "Inflight Window",
|
|
181
|
+
max_buffer_bytes: "Max Buffer Queue Size",
|
|
182
|
+
sql: "SQL",
|
|
183
|
+
batch_size: "Batch Size",
|
|
177
184
|
topic: "Kafka Topic",
|
|
178
185
|
key: "Message Key",
|
|
179
186
|
value: "Message Value",
|
|
180
|
-
timestamp: "Message Timestamp",
|
|
181
187
|
compression: "Compression",
|
|
182
188
|
partition_strategy: "Partition Strategy",
|
|
183
189
|
kafka_headers: "Kafka Headers",
|
|
184
190
|
kafka_ext_headers: "More Kafka Headers",
|
|
185
|
-
kafka_ext_header_key: "
|
|
186
|
-
kafka_ext_header_value: "
|
|
191
|
+
kafka_ext_header_key: "Key",
|
|
192
|
+
kafka_ext_header_value: "Value",
|
|
187
193
|
kafka_header_value_encode_mode: "Kafka Header Value Encode Mode",
|
|
188
194
|
max_batch_bytes: "Max Batch Bytes",
|
|
189
195
|
required_acks: "Required Acks",
|
|
@@ -195,35 +201,68 @@ FROM
|
|
|
195
201
|
memory_overload_protection: "Memory Overload Protection",
|
|
196
202
|
sync_query_timeout: "Synchronous Query Timeout"
|
|
197
203
|
},
|
|
204
|
+
kafka_producer: {
|
|
205
|
+
timestamp: "Message Timestamp",
|
|
206
|
+
kafka_ext_header_key: "Kafka Header Key",
|
|
207
|
+
kafka_ext_header_value: "Kafka Header Value"
|
|
208
|
+
},
|
|
198
209
|
http: {
|
|
199
210
|
body: "Body",
|
|
200
211
|
headers: "Headers",
|
|
201
212
|
method: "Method",
|
|
202
|
-
path: "URL Path"
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
213
|
+
path: "URL Path"
|
|
214
|
+
},
|
|
215
|
+
azure_event_hub_producer: {
|
|
216
|
+
topic: "Event Hub Name",
|
|
217
|
+
key: "Message Key",
|
|
218
|
+
value: "Message Value",
|
|
219
|
+
partition_strategy: "Partition Strategy",
|
|
220
|
+
required_acks: "Required Acks",
|
|
221
|
+
kafka_headers: "Azure Event Hubs Headers",
|
|
222
|
+
kafka_ext_headers: "Extra Azure Event Hubs headers",
|
|
223
|
+
kafka_header_value_encode_mode: "Azure Event Hubs headers value encode mode",
|
|
224
|
+
partition_count_refresh_interval: "Partition Count Refresh Interval",
|
|
225
|
+
max_inflight: "Max Inflight",
|
|
226
|
+
mode: "Buffer Mode",
|
|
227
|
+
per_partition_limit: "Per-partition Buffer Limit",
|
|
228
|
+
segment_bytes: "Segment File Bytes",
|
|
229
|
+
memory_overload_protection: "Memory Overload Protection",
|
|
230
|
+
max_batch_bytes: "Max Batch Bytes",
|
|
231
|
+
query_mode: "Query mode"
|
|
232
|
+
},
|
|
233
|
+
gcp_pubsub_producer: {
|
|
234
|
+
attributes_template: "Attributes Template",
|
|
235
|
+
pubsub_topic: "GCP PubSub Topic",
|
|
236
|
+
ordering_key_template: "Ordering Key template",
|
|
237
|
+
payload_template: "Payload Template"
|
|
238
|
+
},
|
|
239
|
+
syskeeper_forwarder: {
|
|
240
|
+
target_topic: "Topic",
|
|
241
|
+
target_qos: "QoS",
|
|
242
|
+
template: '"Message Template'
|
|
210
243
|
}
|
|
211
244
|
}, a = {
|
|
212
245
|
common: {
|
|
213
246
|
health_check_interval: "健康检查间隔",
|
|
214
|
-
query_mode: "请求模式"
|
|
215
|
-
|
|
216
|
-
|
|
247
|
+
query_mode: "请求模式",
|
|
248
|
+
max_retries: "最大重试次数",
|
|
249
|
+
worker_pool_size: "缓存池大小",
|
|
250
|
+
start_after_created: "创建后立即启动",
|
|
251
|
+
start_timeout: "启动超时时间",
|
|
252
|
+
request_ttl: "请求超期",
|
|
253
|
+
inflight_window: "请求飞行队列窗口",
|
|
254
|
+
max_buffer_bytes: "缓存队列最大长度",
|
|
255
|
+
sql: "SQL",
|
|
256
|
+
batch_size: "最大批量请求大小",
|
|
217
257
|
topic: "Kafka 主题名称",
|
|
218
258
|
key: "消息的键",
|
|
219
259
|
value: "消息的值",
|
|
220
|
-
timestamp: "消息的时间戳",
|
|
221
260
|
compression: "压缩",
|
|
222
261
|
partition_strategy: "分区选择策略",
|
|
223
262
|
kafka_headers: "Kafka Headers",
|
|
224
263
|
kafka_ext_headers: "更多的 Kafka Headers",
|
|
225
|
-
kafka_ext_header_key: "
|
|
226
|
-
kafka_ext_header_value: "
|
|
264
|
+
kafka_ext_header_key: "键",
|
|
265
|
+
kafka_ext_header_value: "值",
|
|
227
266
|
kafka_header_value_encode_mode: "Kafka Headers 值编码类型",
|
|
228
267
|
max_batch_bytes: "最大批量字节数",
|
|
229
268
|
required_acks: "Kafka 确认数量",
|
|
@@ -235,24 +274,49 @@ FROM
|
|
|
235
274
|
memory_overload_protection: "内存过载保护",
|
|
236
275
|
sync_query_timeout: "同步查询超时时间"
|
|
237
276
|
},
|
|
277
|
+
kafka_producer: {
|
|
278
|
+
timestamp: "消息的时间戳",
|
|
279
|
+
kafka_ext_header_key: "Kafka Headers 键",
|
|
280
|
+
kafka_ext_header_value: "Kafka Headers 值"
|
|
281
|
+
},
|
|
238
282
|
http: {
|
|
239
283
|
body: "请求体",
|
|
240
284
|
headers: "请求头",
|
|
241
285
|
method: "请求方法",
|
|
242
|
-
path: "URL 路径"
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
286
|
+
path: "URL 路径"
|
|
287
|
+
},
|
|
288
|
+
azure_event_hub_producer: {
|
|
289
|
+
topic: "事件中心名称",
|
|
290
|
+
key: "消息键",
|
|
291
|
+
value: "消息值",
|
|
292
|
+
partition_strategy: "分区策略",
|
|
293
|
+
required_acks: "所需确认",
|
|
294
|
+
kafka_headers: "Azure Event Hubs 头部",
|
|
295
|
+
kafka_ext_headers: "额外的 Azure Event Hubs 头部信息",
|
|
296
|
+
kafka_header_value_encode_mode: "Azure Event Hubs 头部值编码模式",
|
|
297
|
+
partition_count_refresh_interval: "分区数刷新间隔",
|
|
298
|
+
max_inflight: "最大传输数",
|
|
299
|
+
mode: "缓冲区模式",
|
|
300
|
+
per_partition_limit: "每个分区缓冲限制",
|
|
301
|
+
segment_bytes: "段文件字节数",
|
|
302
|
+
memory_overload_protection: "内存过载保护",
|
|
303
|
+
max_batch_bytes: "最大批次字节数",
|
|
304
|
+
query_mode: "查询模式"
|
|
305
|
+
},
|
|
306
|
+
gcp_pubsub_producer: {
|
|
307
|
+
attributes_template: "属性模版",
|
|
308
|
+
pubsub_topic: "GCP PubSub 主题",
|
|
309
|
+
ordering_key_template: "排序键模板",
|
|
310
|
+
payload_template: "HTTP 请求消息体模板"
|
|
311
|
+
},
|
|
312
|
+
syskeeper_forwarder: {
|
|
313
|
+
target_topic: "主题",
|
|
314
|
+
target_qos: "QoS",
|
|
315
|
+
template: "消息模板"
|
|
250
316
|
}
|
|
251
|
-
},
|
|
317
|
+
}, r = {
|
|
252
318
|
common: {
|
|
253
|
-
connect_timeout: "Connect Timeout"
|
|
254
|
-
},
|
|
255
|
-
kafka_producer: {
|
|
319
|
+
connect_timeout: "Connect Timeout",
|
|
256
320
|
bootstrap_hosts: "Bootstrap Hosts",
|
|
257
321
|
min_metadata_refresh_interval: "Min Metadata Refresh Interval",
|
|
258
322
|
metadata_request_timeout: "Metadata Request Timeout",
|
|
@@ -260,24 +324,46 @@ FROM
|
|
|
260
324
|
sndbuf: "Socket Send Buffer Size",
|
|
261
325
|
recbuf: "Socket Receive Buffer Size",
|
|
262
326
|
nodelay: "No Delay",
|
|
327
|
+
username: "Username",
|
|
328
|
+
password: "Password",
|
|
329
|
+
pool_size: "Connection Pool Size",
|
|
330
|
+
pool_type: "Pool Type",
|
|
331
|
+
server: "Server Host",
|
|
332
|
+
database: "Database Name",
|
|
333
|
+
health_check_interval: "Health Check Interval",
|
|
334
|
+
start_timeout: "Start Timeout",
|
|
335
|
+
max_retries: "Max Retries",
|
|
336
|
+
worker_pool_size: "Buffer Pool Size",
|
|
337
|
+
request_ttl: "Request TTL",
|
|
338
|
+
max_buffer_bytes: "Max Buffer Queue Size",
|
|
339
|
+
inflight_window: "Inflight Window"
|
|
340
|
+
},
|
|
341
|
+
kafka_producer: {
|
|
263
342
|
kerberos_principal: "Kerberos Principal",
|
|
264
343
|
kerberos_keytab_file: "Kerberos keytab file",
|
|
265
|
-
mechanism: "Mechanism"
|
|
266
|
-
username: "Username",
|
|
267
|
-
password: "Password"
|
|
344
|
+
mechanism: "Mechanism"
|
|
268
345
|
},
|
|
269
346
|
http: {
|
|
270
347
|
url: "URL",
|
|
271
348
|
headers: "Headers",
|
|
272
|
-
enable_pipelining: "HTTP Pipelining"
|
|
273
|
-
|
|
274
|
-
|
|
349
|
+
enable_pipelining: "HTTP Pipelining"
|
|
350
|
+
},
|
|
351
|
+
gcp_pubsub_producer: {
|
|
352
|
+
pipelining: "HTTP Pipelining",
|
|
353
|
+
service_account_json: "GCP Service Account Credentials",
|
|
354
|
+
query_mode: "Query Mode",
|
|
355
|
+
batch_size: "Batch Size"
|
|
356
|
+
},
|
|
357
|
+
azure_event_hub_producer: {
|
|
358
|
+
bootstrap_hosts: "Bootstrap Hosts"
|
|
359
|
+
},
|
|
360
|
+
syskeeper_forwarder: {
|
|
361
|
+
ack_mode: "ACK Mode",
|
|
362
|
+
ack_timeout: "ACK Timeout"
|
|
275
363
|
}
|
|
276
|
-
},
|
|
364
|
+
}, o = {
|
|
277
365
|
common: {
|
|
278
|
-
connect_timeout: "连接超时"
|
|
279
|
-
},
|
|
280
|
-
kafka_producer: {
|
|
366
|
+
connect_timeout: "连接超时",
|
|
281
367
|
bootstrap_hosts: "主机列表",
|
|
282
368
|
min_metadata_refresh_interval: "元数据刷新最小间隔",
|
|
283
369
|
metadata_request_timeout: "元数据请求超时",
|
|
@@ -285,24 +371,48 @@ FROM
|
|
|
285
371
|
sndbuf: "Socket 发送缓存大小",
|
|
286
372
|
recbuf: "Socket 收包缓存大小",
|
|
287
373
|
nodelay: "是否关闭延迟发送",
|
|
374
|
+
username: "用户名",
|
|
375
|
+
password: "密码",
|
|
376
|
+
pool_size: "连接池大小",
|
|
377
|
+
pool_type: "连接池类型",
|
|
378
|
+
server: "服务器地址",
|
|
379
|
+
database: "数据库名字",
|
|
380
|
+
health_check_interval: "健康检查间隔",
|
|
381
|
+
start_timeout: "启动超时时间",
|
|
382
|
+
max_retries: "最大重试次数",
|
|
383
|
+
worker_pool_size: "缓存池大小",
|
|
384
|
+
request_ttl: "请求超期",
|
|
385
|
+
max_buffer_bytes: "缓存队列最大长度",
|
|
386
|
+
inflight_window: "请求飞行队列窗口"
|
|
387
|
+
},
|
|
388
|
+
kafka_producer: {
|
|
288
389
|
kerberos_principal: "Kerberos Principal",
|
|
289
390
|
kerberos_keytab_file: "Kerberos keytab 文件",
|
|
290
|
-
mechanism: "认证方法"
|
|
291
|
-
username: "用户名",
|
|
292
|
-
password: "密码"
|
|
391
|
+
mechanism: "认证方法"
|
|
293
392
|
},
|
|
294
393
|
http: {
|
|
295
394
|
url: "URL",
|
|
296
395
|
headers: "请求头",
|
|
297
|
-
enable_pipelining: "HTTP 管道"
|
|
298
|
-
|
|
299
|
-
|
|
396
|
+
enable_pipelining: "HTTP 管道"
|
|
397
|
+
},
|
|
398
|
+
gcp_pubsub_producer: {
|
|
399
|
+
pipelining: "HTTP 流水线",
|
|
400
|
+
service_account_json: "GCP 服务账户凭证",
|
|
401
|
+
query_mode: "请求模式",
|
|
402
|
+
batch_size: "最大批量请求大小"
|
|
403
|
+
},
|
|
404
|
+
azure_event_hub_producer: {
|
|
405
|
+
bootstrap_hosts: "引导主机"
|
|
406
|
+
},
|
|
407
|
+
syskeeper_forwarder: {
|
|
408
|
+
ack_mode: "ACK 模式",
|
|
409
|
+
ack_timeout: "ACK 超时"
|
|
300
410
|
}
|
|
301
411
|
};
|
|
302
412
|
export {
|
|
303
413
|
e as SQLTemplates,
|
|
304
414
|
t as enActionsLabel,
|
|
305
|
-
|
|
415
|
+
r as enConnectorsLabel,
|
|
306
416
|
a as zhActionsLabel,
|
|
307
|
-
|
|
417
|
+
o as zhConnectorsLabel
|
|
308
418
|
};
|
package/dist/index.umd.cjs
CHANGED
|
@@ -25,4 +25,4 @@ FROM
|
|
|
25
25
|
"t/#"`,input:{x:8},outputs:{x:7}},{title:{zh:"数组处理 - 从 JSON 格式的 payload 中获取嵌套的值",en:"Array - Get nested values from JSON-formatted payload"},scene:{zh:"处理 JSON 格式的 payload,从嵌套格式中获取所需要的值。",en:"Process JSON-formatted payload and get the values needed from the nested format."},sql:`SELECT
|
|
26
26
|
payload.data[1].id as id
|
|
27
27
|
FROM
|
|
28
|
-
"t/#"`,input:{data:[{id:1,name:"steve"},{id:2,name:"bill"}]},outputs:{id:1}}],a={common:{health_check_interval:"Health Check Interval",query_mode:"Query Mode"
|
|
28
|
+
"t/#"`,input:{data:[{id:1,name:"steve"},{id:2,name:"bill"}]},outputs:{id:1}}],a={common:{health_check_interval:"Health Check Interval",query_mode:"Query Mode",max_retries:"Max Retries",worker_pool_size:"Buffer Pool Size",start_after_created:"Start After Created",start_timeout:"Start Timeout",request_ttl:"Request TTL",inflight_window:"Inflight Window",max_buffer_bytes:"Max Buffer Queue Size",sql:"SQL",batch_size:"Batch Size",topic:"Kafka Topic",key:"Message Key",value:"Message Value",compression:"Compression",partition_strategy:"Partition Strategy",kafka_headers:"Kafka Headers",kafka_ext_headers:"More Kafka Headers",kafka_ext_header_key:"Key",kafka_ext_header_value:"Value",kafka_header_value_encode_mode:"Kafka Header Value Encode Mode",max_batch_bytes:"Max Batch Bytes",required_acks:"Required Acks",partition_count_refresh_interval:"Partition Count Refresh Interval",max_inflight:"Max Inflight",mode:"Buffer Mode",per_partition_limit:"Per-partition Buffer Limit",segment_bytes:"Segment File Bytes",memory_overload_protection:"Memory Overload Protection",sync_query_timeout:"Synchronous Query Timeout"},kafka_producer:{timestamp:"Message Timestamp",kafka_ext_header_key:"Kafka Header Key",kafka_ext_header_value:"Kafka Header Value"},http:{body:"Body",headers:"Headers",method:"Method",path:"URL Path"},azure_event_hub_producer:{topic:"Event Hub Name",key:"Message Key",value:"Message Value",partition_strategy:"Partition Strategy",required_acks:"Required Acks",kafka_headers:"Azure Event Hubs Headers",kafka_ext_headers:"Extra Azure Event Hubs headers",kafka_header_value_encode_mode:"Azure Event Hubs headers value encode mode",partition_count_refresh_interval:"Partition Count Refresh Interval",max_inflight:"Max Inflight",mode:"Buffer Mode",per_partition_limit:"Per-partition Buffer Limit",segment_bytes:"Segment File Bytes",memory_overload_protection:"Memory Overload Protection",max_batch_bytes:"Max Batch Bytes",query_mode:"Query mode"},gcp_pubsub_producer:{attributes_template:"Attributes Template",pubsub_topic:"GCP PubSub Topic",ordering_key_template:"Ordering Key template",payload_template:"Payload Template"},syskeeper_forwarder:{target_topic:"Topic",target_qos:"QoS",template:'"Message Template'}},r={common:{health_check_interval:"健康检查间隔",query_mode:"请求模式",max_retries:"最大重试次数",worker_pool_size:"缓存池大小",start_after_created:"创建后立即启动",start_timeout:"启动超时时间",request_ttl:"请求超期",inflight_window:"请求飞行队列窗口",max_buffer_bytes:"缓存队列最大长度",sql:"SQL",batch_size:"最大批量请求大小",topic:"Kafka 主题名称",key:"消息的键",value:"消息的值",compression:"压缩",partition_strategy:"分区选择策略",kafka_headers:"Kafka Headers",kafka_ext_headers:"更多的 Kafka Headers",kafka_ext_header_key:"键",kafka_ext_header_value:"值",kafka_header_value_encode_mode:"Kafka Headers 值编码类型",max_batch_bytes:"最大批量字节数",required_acks:"Kafka 确认数量",partition_count_refresh_interval:"分区数量刷新间隔",max_inflight:"飞行窗口",mode:"缓存模式",per_partition_limit:"Kafka 分区缓存上限",segment_bytes:"缓存文件大小",memory_overload_protection:"内存过载保护",sync_query_timeout:"同步查询超时时间"},kafka_producer:{timestamp:"消息的时间戳",kafka_ext_header_key:"Kafka Headers 键",kafka_ext_header_value:"Kafka Headers 值"},http:{body:"请求体",headers:"请求头",method:"请求方法",path:"URL 路径"},azure_event_hub_producer:{topic:"事件中心名称",key:"消息键",value:"消息值",partition_strategy:"分区策略",required_acks:"所需确认",kafka_headers:"Azure Event Hubs 头部",kafka_ext_headers:"额外的 Azure Event Hubs 头部信息",kafka_header_value_encode_mode:"Azure Event Hubs 头部值编码模式",partition_count_refresh_interval:"分区数刷新间隔",max_inflight:"最大传输数",mode:"缓冲区模式",per_partition_limit:"每个分区缓冲限制",segment_bytes:"段文件字节数",memory_overload_protection:"内存过载保护",max_batch_bytes:"最大批次字节数",query_mode:"查询模式"},gcp_pubsub_producer:{attributes_template:"属性模版",pubsub_topic:"GCP PubSub 主题",ordering_key_template:"排序键模板",payload_template:"HTTP 请求消息体模板"},syskeeper_forwarder:{target_topic:"主题",target_qos:"QoS",template:"消息模板"}},o={common:{connect_timeout:"Connect Timeout",bootstrap_hosts:"Bootstrap Hosts",min_metadata_refresh_interval:"Min Metadata Refresh Interval",metadata_request_timeout:"Metadata Request Timeout",tcp_keepalive:"TCP Keepalive",sndbuf:"Socket Send Buffer Size",recbuf:"Socket Receive Buffer Size",nodelay:"No Delay",username:"Username",password:"Password",pool_size:"Connection Pool Size",pool_type:"Pool Type",server:"Server Host",database:"Database Name",health_check_interval:"Health Check Interval",start_timeout:"Start Timeout",max_retries:"Max Retries",worker_pool_size:"Buffer Pool Size",request_ttl:"Request TTL",max_buffer_bytes:"Max Buffer Queue Size",inflight_window:"Inflight Window"},kafka_producer:{kerberos_principal:"Kerberos Principal",kerberos_keytab_file:"Kerberos keytab file",mechanism:"Mechanism"},http:{url:"URL",headers:"Headers",enable_pipelining:"HTTP Pipelining"},gcp_pubsub_producer:{pipelining:"HTTP Pipelining",service_account_json:"GCP Service Account Credentials",query_mode:"Query Mode",batch_size:"Batch Size"},azure_event_hub_producer:{bootstrap_hosts:"Bootstrap Hosts"},syskeeper_forwarder:{ack_mode:"ACK Mode",ack_timeout:"ACK Timeout"}},i={common:{connect_timeout:"连接超时",bootstrap_hosts:"主机列表",min_metadata_refresh_interval:"元数据刷新最小间隔",metadata_request_timeout:"元数据请求超时",tcp_keepalive:"TCP Keepalive",sndbuf:"Socket 发送缓存大小",recbuf:"Socket 收包缓存大小",nodelay:"是否关闭延迟发送",username:"用户名",password:"密码",pool_size:"连接池大小",pool_type:"连接池类型",server:"服务器地址",database:"数据库名字",health_check_interval:"健康检查间隔",start_timeout:"启动超时时间",max_retries:"最大重试次数",worker_pool_size:"缓存池大小",request_ttl:"请求超期",max_buffer_bytes:"缓存队列最大长度",inflight_window:"请求飞行队列窗口"},kafka_producer:{kerberos_principal:"Kerberos Principal",kerberos_keytab_file:"Kerberos keytab 文件",mechanism:"认证方法"},http:{url:"URL",headers:"请求头",enable_pipelining:"HTTP 管道"},gcp_pubsub_producer:{pipelining:"HTTP 流水线",service_account_json:"GCP 服务账户凭证",query_mode:"请求模式",batch_size:"最大批量请求大小"},azure_event_hub_producer:{bootstrap_hosts:"引导主机"},syskeeper_forwarder:{ack_mode:"ACK 模式",ack_timeout:"ACK 超时"}};e.SQLTemplates=t,e.enActionsLabel=a,e.enConnectorsLabel=o,e.zhActionsLabel=r,e.zhConnectorsLabel=i,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
|