@emqx/shared-ui-i18n 0.0.5 → 0.0.7

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.
@@ -0,0 +1,14 @@
1
+ export declare const authHelpCodeMap: {
2
+ authn: {
3
+ mysql: string;
4
+ postgresql: string;
5
+ mongodb: string;
6
+ redis: string;
7
+ };
8
+ authz: {
9
+ mysql: string;
10
+ postgresql: string;
11
+ mongodb: string;
12
+ redis: string;
13
+ };
14
+ };
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 选择特定主题,将命中主题的消息载荷筛选出来,可以使用通配符。",
@@ -242,7 +242,7 @@ FROM
242
242
  path: "URL 路径",
243
243
  max_retries: "最大重试次数",
244
244
  worker_pool_size: "缓存池大小",
245
- start_after_created: "资源自动启动",
245
+ start_after_created: "创建后立即启动",
246
246
  start_timeout: "启动超时时间",
247
247
  request_ttl: "请求超期",
248
248
  inflight_window: "请求飞行队列窗口",
@@ -250,9 +250,7 @@ FROM
250
250
  }
251
251
  }, o = {
252
252
  common: {
253
- connect_timeout: "Connect Timeout"
254
- },
255
- kafka_producer: {
253
+ connect_timeout: "Connect Timeout",
256
254
  bootstrap_hosts: "Bootstrap Hosts",
257
255
  min_metadata_refresh_interval: "Min Metadata Refresh Interval",
258
256
  metadata_request_timeout: "Metadata Request Timeout",
@@ -260,24 +258,46 @@ FROM
260
258
  sndbuf: "Socket Send Buffer Size",
261
259
  recbuf: "Socket Receive Buffer Size",
262
260
  nodelay: "No Delay",
261
+ username: "Username",
262
+ password: "Password",
263
+ pool_size: "Connection Pool Size",
264
+ pool_type: "Pool Type",
265
+ server: "Server Host",
266
+ database: "Database Name",
267
+ health_check_interval: "Health Check Interval",
268
+ start_timeout: "Start Timeout",
269
+ max_retries: "Max Retries",
270
+ worker_pool_size: "Buffer Pool Size",
271
+ request_ttl: "Request TTL",
272
+ max_buffer_bytes: "Max Buffer Queue Size",
273
+ inflight_window: "Inflight Window"
274
+ },
275
+ kafka_producer: {
263
276
  kerberos_principal: "Kerberos Principal",
264
277
  kerberos_keytab_file: "Kerberos keytab file",
265
- mechanism: "Mechanism",
266
- username: "Username",
267
- password: "Password"
278
+ mechanism: "Mechanism"
268
279
  },
269
280
  http: {
270
281
  url: "URL",
271
282
  headers: "Headers",
272
- enable_pipelining: "HTTP Pipelining",
273
- pool_size: "Connection Pool Size",
274
- pool_type: "Pool Type"
283
+ enable_pipelining: "HTTP Pipelining"
284
+ },
285
+ gcp_pubsub_producer: {
286
+ pipelining: "HTTP Pipelining",
287
+ service_account_json: "GCP Service Account Credentials",
288
+ query_mode: "Query Mode",
289
+ batch_size: "Batch Size"
290
+ },
291
+ azure_event_hub_producer: {
292
+ bootstrap_hosts: "Bootstrap Hosts"
293
+ },
294
+ syskeeper_forwarder: {
295
+ ack_mode: "ACK Mode",
296
+ ack_timeout: "ACK Timeout"
275
297
  }
276
298
  }, r = {
277
299
  common: {
278
- connect_timeout: "连接超时"
279
- },
280
- kafka_producer: {
300
+ connect_timeout: "连接超时",
281
301
  bootstrap_hosts: "主机列表",
282
302
  min_metadata_refresh_interval: "元数据刷新最小间隔",
283
303
  metadata_request_timeout: "元数据请求超时",
@@ -285,18 +305,42 @@ FROM
285
305
  sndbuf: "Socket 发送缓存大小",
286
306
  recbuf: "Socket 收包缓存大小",
287
307
  nodelay: "是否关闭延迟发送",
308
+ username: "用户名",
309
+ password: "密码",
310
+ pool_size: "连接池大小",
311
+ pool_type: "连接池类型",
312
+ server: "服务器地址",
313
+ database: "数据库名字",
314
+ health_check_interval: "健康检查间隔",
315
+ start_timeout: "启动超时时间",
316
+ max_retries: "最大重试次数",
317
+ worker_pool_size: "缓存池大小",
318
+ request_ttl: "请求超期",
319
+ max_buffer_bytes: "缓存队列最大长度",
320
+ inflight_window: "请求飞行队列窗口"
321
+ },
322
+ kafka_producer: {
288
323
  kerberos_principal: "Kerberos Principal",
289
324
  kerberos_keytab_file: "Kerberos keytab 文件",
290
- mechanism: "认证方法",
291
- username: "用户名",
292
- password: "密码"
325
+ mechanism: "认证方法"
293
326
  },
294
327
  http: {
295
328
  url: "URL",
296
329
  headers: "请求头",
297
- enable_pipelining: "HTTP 管道",
298
- pool_size: "连接池大小",
299
- pool_type: "连接池类型"
330
+ enable_pipelining: "HTTP 管道"
331
+ },
332
+ gcp_pubsub_producer: {
333
+ pipelining: "HTTP 流水线",
334
+ service_account_json: "GCP 服务账户凭证",
335
+ query_mode: "请求模式",
336
+ batch_size: "最大批量请求大小"
337
+ },
338
+ azure_event_hub_producer: {
339
+ bootstrap_hosts: "引导主机"
340
+ },
341
+ syskeeper_forwarder: {
342
+ ack_mode: "ACK 模式",
343
+ ack_timeout: "ACK 超时"
300
344
  }
301
345
  };
302
346
  export {
@@ -1,4 +1,4 @@
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
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}}],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"})});
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:"缓存队列最大长度"}},r={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=r,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.5",
3
+ "version": "0.0.7",
4
4
  "homepage": "https://emqx.io",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {