@emqx/shared-ui-i18n 0.0.4 → 0.0.6

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/index.js CHANGED
@@ -2,7 +2,7 @@ const e = [
2
2
  {
3
3
  title: {
4
4
  zh: "选择指定主题的消息",
5
- en: "Select messages from a topic."
5
+ en: "Select messages from a topic"
6
6
  },
7
7
  scene: {
8
8
  zh: "使用 SQL 选择特定主题,将命中主题的消息载荷筛选出来,可以使用通配符。",
@@ -168,7 +168,11 @@ FROM
168
168
  },
169
169
  outputs: { id: 1 }
170
170
  }
171
- ], a = {
171
+ ], t = {
172
+ common: {
173
+ health_check_interval: "Health Check Interval",
174
+ query_mode: "Query Mode"
175
+ },
172
176
  kafka_producer: {
173
177
  topic: "Kafka Topic",
174
178
  key: "Message Key",
@@ -189,11 +193,26 @@ FROM
189
193
  per_partition_limit: "Per-partition Buffer Limit",
190
194
  segment_bytes: "Segment File Bytes",
191
195
  memory_overload_protection: "Memory Overload Protection",
192
- query_mode: "Query Mode",
193
- sync_query_timeout: "Synchronous Query Timeout",
194
- health_check_interval: "Health Check Interval"
196
+ sync_query_timeout: "Synchronous Query Timeout"
197
+ },
198
+ http: {
199
+ body: "Body",
200
+ headers: "Headers",
201
+ method: "Method",
202
+ path: "URL Path",
203
+ max_retries: "Max Retries",
204
+ worker_pool_size: "Buffer Pool Size",
205
+ start_after_created: "Start After Created",
206
+ start_timeout: "Start Timeout",
207
+ request_ttl: "Request TTL",
208
+ inflight_window: "Inflight Window",
209
+ max_buffer_bytes: "Max Buffer Queue Size"
195
210
  }
196
- }, t = {
211
+ }, a = {
212
+ common: {
213
+ health_check_interval: "健康检查间隔",
214
+ query_mode: "请求模式"
215
+ },
197
216
  kafka_producer: {
198
217
  topic: "Kafka 主题名称",
199
218
  key: "消息的键",
@@ -214,14 +233,27 @@ FROM
214
233
  per_partition_limit: "Kafka 分区缓存上限",
215
234
  segment_bytes: "缓存文件大小",
216
235
  memory_overload_protection: "内存过载保护",
217
- query_mode: "请求模式",
218
- sync_query_timeout: "同步查询超时时间",
219
- health_check_interval: "健康检查间隔"
236
+ sync_query_timeout: "同步查询超时时间"
237
+ },
238
+ http: {
239
+ body: "请求体",
240
+ headers: "请求头",
241
+ method: "请求方法",
242
+ path: "URL 路径",
243
+ max_retries: "最大重试次数",
244
+ worker_pool_size: "缓存池大小",
245
+ start_after_created: "创建后立即启动",
246
+ start_timeout: "启动超时时间",
247
+ request_ttl: "请求超期",
248
+ inflight_window: "请求飞行队列窗口",
249
+ max_buffer_bytes: "缓存队列最大长度"
220
250
  }
221
251
  }, o = {
252
+ common: {
253
+ connect_timeout: "Connect Timeout"
254
+ },
222
255
  kafka_producer: {
223
256
  bootstrap_hosts: "Bootstrap Hosts",
224
- connect_timeout: "Connect Timeout",
225
257
  min_metadata_refresh_interval: "Min Metadata Refresh Interval",
226
258
  metadata_request_timeout: "Metadata Request Timeout",
227
259
  tcp_keepalive: "TCP Keepalive",
@@ -233,11 +265,20 @@ FROM
233
265
  mechanism: "Mechanism",
234
266
  username: "Username",
235
267
  password: "Password"
268
+ },
269
+ http: {
270
+ url: "URL",
271
+ headers: "Headers",
272
+ enable_pipelining: "HTTP Pipelining",
273
+ pool_size: "Connection Pool Size",
274
+ pool_type: "Pool Type"
236
275
  }
237
- }, s = {
276
+ }, r = {
277
+ common: {
278
+ connect_timeout: "连接超时"
279
+ },
238
280
  kafka_producer: {
239
281
  bootstrap_hosts: "主机列表",
240
- connect_timeout: "连接超时",
241
282
  min_metadata_refresh_interval: "元数据刷新最小间隔",
242
283
  metadata_request_timeout: "元数据请求超时",
243
284
  tcp_keepalive: "TCP Keepalive",
@@ -249,12 +290,19 @@ FROM
249
290
  mechanism: "认证方法",
250
291
  username: "用户名",
251
292
  password: "密码"
293
+ },
294
+ http: {
295
+ url: "URL",
296
+ headers: "请求头",
297
+ enable_pipelining: "HTTP 管道",
298
+ pool_size: "连接池大小",
299
+ pool_type: "连接池类型"
252
300
  }
253
301
  };
254
302
  export {
255
303
  e as SQLTemplates,
256
- a as enActionsLabel,
304
+ t as enActionsLabel,
257
305
  o as enConnectorsLabel,
258
- t as zhActionsLabel,
259
- s as zhConnectorsLabel
306
+ a as zhActionsLabel,
307
+ r as zhConnectorsLabel
260
308
  };
@@ -1,4 +1,4 @@
1
- (function(e,a){typeof exports=="object"&&typeof module<"u"?a(exports):typeof define=="function"&&define.amd?define(["exports"],a):(e=typeof globalThis<"u"?globalThis:e||self,a(e["@emqx/shared-ui-i18n"]={}))})(this,function(e){"use strict";const a=[{title:{zh:"选择指定主题的消息",en:"Select messages from a topic."},scene:{zh:"使用 SQL 选择特定主题,将命中主题的消息载荷筛选出来,可以使用通配符。",en:"Use SQL to select a topic, filter out the message payloads that match the topic, and support topic wildcards."},sql:`SELECT
1
+ (function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e["@emqx/shared-ui-i18n"]={}))})(this,function(e){"use strict";const t=[{title:{zh:"选择指定主题的消息",en:"Select messages from a topic"},scene:{zh:"使用 SQL 选择特定主题,将命中主题的消息载荷筛选出来,可以使用通配符。",en:"Use SQL to select a topic, filter out the message payloads that match the topic, and support topic wildcards."},sql:`SELECT
2
2
  payload as p
3
3
  FROM
4
4
  "t/#"`,input:{msg:"hello"},outputs:{p:'{"msg": "hello"}'}},{title:{zh:"同时处理客户端连接、断开连接事件",en:"Handle client connected and disconnect events in one SQL"},scene:{zh:"在一个 SQL 中处理多个主题/事件,避免重复创建规则。",en:"Simultaneous selection of multiple topics/events in one SQL, no need to repeatedly create rules."},sql:`SELECT
@@ -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}}],t={kafka_producer:{topic:"Kafka Topic",key:"Message Key",value:"Message Value",timestamp:"Message Timestamp",compression:"Compression",partition_strategy:"Partition Strategy",kafka_headers:"Kafka Headers",kafka_ext_headers:"More Kafka Headers",kafka_ext_header_key:"Kafka Header Key",kafka_ext_header_value:"Kafka Header 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",query_mode:"Query Mode",sync_query_timeout:"Synchronous Query Timeout",health_check_interval:"Health Check Interval"}},n={kafka_producer:{topic:"Kafka 主题名称",key:"消息的键",value:"消息的值",timestamp:"消息的时间戳",compression:"压缩",partition_strategy:"分区选择策略",kafka_headers:"Kafka Headers",kafka_ext_headers:"更多的 Kafka Headers",kafka_ext_header_key:"Kafka Headers 键",kafka_ext_header_value:"Kafka Headers 值",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:"内存过载保护",query_mode:"请求模式",sync_query_timeout:"同步查询超时时间",health_check_interval:"健康检查间隔"}},o={kafka_producer:{bootstrap_hosts:"Bootstrap Hosts",connect_timeout:"Connect Timeout",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",kerberos_principal:"Kerberos Principal",kerberos_keytab_file:"Kerberos keytab file",mechanism:"Mechanism",username:"Username",password:"Password"}},s={kafka_producer:{bootstrap_hosts:"主机列表",connect_timeout:"连接超时",min_metadata_refresh_interval:"元数据刷新最小间隔",metadata_request_timeout:"元数据请求超时",tcp_keepalive:"TCP Keepalive",sndbuf:"Socket 发送缓存大小",recbuf:"Socket 收包缓存大小",nodelay:"是否关闭延迟发送",kerberos_principal:"Kerberos Principal",kerberos_keytab_file:"Kerberos keytab 文件",mechanism:"认证方法",username:"用户名",password:"密码"}};e.SQLTemplates=a,e.enActionsLabel=t,e.enConnectorsLabel=o,e.zhActionsLabel=n,e.zhConnectorsLabel=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
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"},kafka_producer:{topic:"Kafka Topic",key:"Message Key",value:"Message Value",timestamp:"Message Timestamp",compression:"Compression",partition_strategy:"Partition Strategy",kafka_headers:"Kafka Headers",kafka_ext_headers:"More Kafka Headers",kafka_ext_header_key:"Kafka Header Key",kafka_ext_header_value:"Kafka Header 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"},http:{body:"Body",headers:"Headers",method:"Method",path:"URL Path",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"}},o={common:{health_check_interval:"健康检查间隔",query_mode:"请求模式"},kafka_producer:{topic:"Kafka 主题名称",key:"消息的键",value:"消息的值",timestamp:"消息的时间戳",compression:"压缩",partition_strategy:"分区选择策略",kafka_headers:"Kafka Headers",kafka_ext_headers:"更多的 Kafka Headers",kafka_ext_header_key:"Kafka Headers 键",kafka_ext_header_value:"Kafka Headers 值",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:"同步查询超时时间"},http:{body:"请求体",headers:"请求头",method:"请求方法",path:"URL 路径",max_retries:"最大重试次数",worker_pool_size:"缓存池大小",start_after_created:"创建后立即启动",start_timeout:"启动超时时间",request_ttl:"请求超期",inflight_window:"请求飞行队列窗口",max_buffer_bytes:"缓存队列最大长度"}},n={common:{connect_timeout:"Connect Timeout"},kafka_producer:{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",kerberos_principal:"Kerberos Principal",kerberos_keytab_file:"Kerberos keytab file",mechanism:"Mechanism",username:"Username",password:"Password"},http:{url:"URL",headers:"Headers",enable_pipelining:"HTTP Pipelining",pool_size:"Connection Pool Size",pool_type:"Pool Type"}},i={common:{connect_timeout:"连接超时"},kafka_producer:{bootstrap_hosts:"主机列表",min_metadata_refresh_interval:"元数据刷新最小间隔",metadata_request_timeout:"元数据请求超时",tcp_keepalive:"TCP Keepalive",sndbuf:"Socket 发送缓存大小",recbuf:"Socket 收包缓存大小",nodelay:"是否关闭延迟发送",kerberos_principal:"Kerberos Principal",kerberos_keytab_file:"Kerberos keytab 文件",mechanism:"认证方法",username:"用户名",password:"密码"},http:{url:"URL",headers:"请求头",enable_pipelining:"HTTP 管道",pool_size:"连接池大小",pool_type:"连接池类型"}};e.SQLTemplates=t,e.enActionsLabel=a,e.enConnectorsLabel=n,e.zhActionsLabel=o,e.zhConnectorsLabel=i,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emqx/shared-ui-i18n",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "homepage": "https://emqx.io",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {